@ubnt/store.core 9.71.0-beta.4 → 10.0.0-beta.0

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 (1516) hide show
  1. package/CHANGELOG.md +99 -5063
  2. package/lib/_virtual/_virtual_multi-entry.js +110 -126
  3. package/lib/_virtual/_virtual_multi-entry.js.map +1 -1
  4. package/lib/_virtual/_virtual_multi-entry.mjs +110 -126
  5. package/lib/_virtual/_virtual_multi-entry.mjs.map +1 -1
  6. package/lib/apis/smartcat.js +124 -133
  7. package/lib/apis/smartcat.js.map +1 -1
  8. package/lib/apis/smartcat.mjs +124 -133
  9. package/lib/apis/smartcat.mjs.map +1 -1
  10. package/lib/assets/box.svg +3 -4
  11. package/lib/assets/close2.svg +2 -3
  12. package/lib/assets/express.jpg +0 -0
  13. package/lib/assets/express2.jpg +0 -0
  14. package/lib/assets/express7.jpg +0 -0
  15. package/lib/assets/express72.jpg +0 -0
  16. package/lib/assets/hand.svg +5 -4
  17. package/lib/assets/icons/wizard/index.d.ts +0 -4
  18. package/lib/assets/icons/wizard/index.js +0 -4
  19. package/lib/assets/icons/wizard/index.js.map +1 -1
  20. package/lib/assets/icons/wizard/index.mjs +0 -4
  21. package/lib/assets/icons/wizard/index.mjs.map +1 -1
  22. package/lib/assets/icons/wizard/minus.svg.js +1 -1
  23. package/lib/assets/icons/wizard/minus.svg.mjs +2 -2
  24. package/lib/assets/keyFeatures/box.svg.js +1 -1
  25. package/lib/assets/keyFeatures/box.svg.mjs +2 -2
  26. package/lib/assets/keyFeatures/reload.svg.js +1 -1
  27. package/lib/assets/keyFeatures/reload.svg.mjs +2 -2
  28. package/lib/assets/minus.svg +1 -14
  29. package/lib/assets/minus2.svg +3 -1
  30. package/lib/assets/minus3.svg +13 -2
  31. package/lib/assets/payment-card.svg +4 -11
  32. package/lib/assets/plus.svg +1 -4
  33. package/lib/assets/plus3.svg +16 -1
  34. package/lib/assets/plus4.svg +15 -2
  35. package/lib/assets/reload.svg +2 -2
  36. package/lib/assets/reload2.svg +2 -2
  37. package/lib/assets/udmProSpecial.jpg +0 -0
  38. package/lib/assets/udmProSpecial2.jpg +0 -0
  39. package/lib/assets/udr2.jpg +0 -0
  40. package/lib/assets/udr3.jpg +0 -0
  41. package/lib/assets/udr7.jpg +0 -0
  42. package/lib/assets/udr72.jpg +0 -0
  43. package/lib/components/Header/AccountMenu/megaphone.http.service.js +33 -41
  44. package/lib/components/Header/AccountMenu/megaphone.http.service.js.map +1 -1
  45. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs +33 -41
  46. package/lib/components/Header/AccountMenu/megaphone.http.service.mjs.map +1 -1
  47. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.js +6 -6
  48. package/lib/components/Header/CartIcon/CartIcon.js.map +1 -0
  49. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.mjs +6 -6
  50. package/lib/components/Header/CartIcon/CartIcon.mjs.map +1 -0
  51. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.js +1 -1
  52. package/lib/components/Header/CartIcon/CartIcon.styles.js.map +1 -0
  53. package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.mjs +1 -1
  54. package/lib/components/Header/CartIcon/CartIcon.styles.mjs.map +1 -0
  55. package/lib/components/Header/CartModalV2/Item/Item.js +6 -6
  56. package/lib/components/Header/CartModalV2/Item/Item.mjs +4 -4
  57. package/lib/components/Header/Header.js +0 -4
  58. package/lib/components/Header/Header.js.map +1 -1
  59. package/lib/components/Header/Header.mjs +0 -4
  60. package/lib/components/Header/Header.mjs.map +1 -1
  61. package/lib/components/Header/Header.stories.d.ts +2 -3
  62. package/lib/components/Header/Header.styles.d.ts +1 -1
  63. package/lib/components/Header/Header.styles.js +2 -2
  64. package/lib/components/Header/Header.styles.js.map +1 -1
  65. package/lib/components/Header/Header.styles.mjs +2 -2
  66. package/lib/components/Header/Header.styles.mjs.map +1 -1
  67. package/lib/components/Header/Header.types.d.ts +0 -2
  68. package/lib/components/Header/Header.types.js.map +1 -1
  69. package/lib/components/Header/Header.types.mjs.map +1 -1
  70. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.d.ts +0 -1
  71. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -2
  72. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
  73. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -2
  74. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
  75. package/lib/components/Header/Navigation/MobileMenu/MobileMenu.types.d.ts +1 -3
  76. package/lib/components/Header/ProHeader/ProHeader.d.ts +2 -1
  77. package/lib/components/Header/ProHeader/ProHeader.js +5 -3
  78. package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
  79. package/lib/components/Header/ProHeader/ProHeader.mjs +5 -4
  80. package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
  81. package/lib/components/Header/ProHeader/ProHeader.styles.js +1 -1
  82. package/lib/components/Header/ProHeader/ProHeader.styles.js.map +1 -1
  83. package/lib/components/Header/ProHeader/ProHeader.styles.mjs +1 -1
  84. package/lib/components/Header/ProHeader/ProHeader.styles.mjs.map +1 -1
  85. package/lib/components/MicrositeBanner/MicrositeBanner.d.ts +2 -0
  86. package/lib/components/{Banner/Banner.js → MicrositeBanner/MicrositeBanner.js} +11 -11
  87. package/lib/components/MicrositeBanner/MicrositeBanner.js.map +1 -0
  88. package/lib/components/{Banner/Banner.mjs → MicrositeBanner/MicrositeBanner.mjs} +4 -4
  89. package/lib/components/MicrositeBanner/MicrositeBanner.mjs.map +1 -0
  90. package/lib/components/{Banner/Banner.styles.js → MicrositeBanner/MicrositeBanner.styles.js} +1 -1
  91. package/lib/components/MicrositeBanner/MicrositeBanner.styles.js.map +1 -0
  92. package/lib/components/{Banner/Banner.styles.mjs → MicrositeBanner/MicrositeBanner.styles.mjs} +1 -1
  93. package/lib/components/MicrositeBanner/MicrositeBanner.styles.mjs.map +1 -0
  94. package/lib/components/{Banner/Banner.types.d.ts → MicrositeBanner/MicrositeBanner.types.d.ts} +1 -1
  95. package/lib/components/MicrositeBanner/index.d.ts +1 -0
  96. package/lib/components/MicrositeBanner/index.js +6 -0
  97. package/lib/components/MicrositeBanner/index.mjs +3 -0
  98. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.d.ts +2 -0
  99. package/lib/components/{ProgressCircle/ProgressCircle.js → MicrositeProgressCircle/MicrositeProgressCircle.js} +3 -3
  100. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.js.map +1 -0
  101. package/lib/components/{ProgressCircle/ProgressCircle.mjs → MicrositeProgressCircle/MicrositeProgressCircle.mjs} +3 -3
  102. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.mjs.map +1 -0
  103. package/lib/components/MicrositeProgressCircle/MicrositeProgressCircle.stories.d.ts +5 -0
  104. package/lib/components/{ProgressCircle/ProgressCircle.types.d.ts → MicrositeProgressCircle/MicrositeProgressCircle.types.d.ts} +1 -1
  105. package/lib/components/MicrositeProgressCircle/index.d.ts +1 -0
  106. package/lib/components/MicrositeProgressCircle/index.js +6 -0
  107. package/lib/components/MicrositeProgressCircle/index.mjs +3 -0
  108. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.d.ts +1 -1
  109. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js +3 -3
  110. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.js.map +1 -1
  111. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs +3 -3
  112. package/lib/components/MicrositeVideoSlideshow/MicrositeVideoSlideshow.styles.mjs.map +1 -1
  113. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.js +1 -1
  114. package/lib/components/ModelCompareV3/ModelComparePropertyValueGridItem.mjs +1 -1
  115. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.js +5 -5
  116. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express.jpg.mjs +2 -2
  117. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.js +5 -5
  118. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/express7.jpg.mjs +2 -2
  119. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.js +5 -5
  120. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmProSpecial.jpg.mjs +2 -2
  121. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.js +5 -5
  122. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
  123. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.js +5 -5
  124. package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udr7.jpg.mjs +2 -2
  125. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.js +1 -1
  126. package/lib/components/ModelCompareV3/assets/Consoles/express.jpg.mjs +2 -2
  127. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.js +1 -1
  128. package/lib/components/ModelCompareV3/assets/Consoles/express7.jpg.mjs +2 -2
  129. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.js +1 -1
  130. package/lib/components/ModelCompareV3/assets/Consoles/udmProSpecial.jpg.mjs +2 -2
  131. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.js +1 -1
  132. package/lib/components/ModelCompareV3/assets/Consoles/udr.jpg.mjs +2 -2
  133. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.js +1 -1
  134. package/lib/components/ModelCompareV3/assets/Consoles/udr7.jpg.mjs +2 -2
  135. package/lib/components/ModelCompareV3/assets/hand.svg.js +1 -1
  136. package/lib/components/ModelCompareV3/assets/hand.svg.mjs +2 -2
  137. package/lib/components/ModelCompareV3/assets/minus.svg.js +1 -1
  138. package/lib/components/ModelCompareV3/assets/minus.svg.mjs +2 -2
  139. package/lib/components/ModelCompareV3/assets/payment-card.svg.js +1 -1
  140. package/lib/components/ModelCompareV3/assets/payment-card.svg.mjs +2 -2
  141. package/lib/components/ModelCompareV3/assets/reload.svg.js +1 -1
  142. package/lib/components/ModelCompareV3/assets/reload.svg.mjs +2 -2
  143. package/lib/components/ModelCompareV3/data/CloudGateways.js +9 -9
  144. package/lib/components/ModelCompareV3/data/CloudGateways.mjs +6 -6
  145. package/lib/components/ModelCompareV3/data/products/express.js +1 -1
  146. package/lib/components/ModelCompareV3/data/products/express.mjs +1 -1
  147. package/lib/components/ModelCompareV3/data/products/express7.js +1 -1
  148. package/lib/components/ModelCompareV3/data/products/express7.mjs +1 -1
  149. package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +1 -1
  150. package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +1 -1
  151. package/lib/components/ModelCompareV3/data/products/udr.js +1 -1
  152. package/lib/components/ModelCompareV3/data/products/udr.mjs +1 -1
  153. package/lib/components/ModelCompareV3/data/products/udr7.js +1 -1
  154. package/lib/components/ModelCompareV3/data/products/udr7.mjs +1 -1
  155. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.js +1 -1
  156. package/lib/components/ModelCompareV3/data/properties/dyingGaspSupport.mjs +1 -1
  157. package/lib/components/ModelCompareV3/data/properties/hand.js +1 -1
  158. package/lib/components/ModelCompareV3/data/properties/hand.mjs +1 -1
  159. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.js +1 -1
  160. package/lib/components/ModelCompareV3/data/properties/paymentTerminalSupport.mjs +1 -1
  161. package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
  162. package/lib/components/ProductTechSpecs/ProductTechSpecs.d.ts +1 -1
  163. package/lib/components/ProductTechSpecs/ProductTechSpecs.js +55 -0
  164. package/lib/components/ProductTechSpecs/ProductTechSpecs.js.map +1 -0
  165. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs +53 -0
  166. package/lib/components/ProductTechSpecs/ProductTechSpecs.mjs.map +1 -0
  167. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +0 -1
  168. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js +0 -6
  169. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.js.map +1 -1
  170. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs +1 -6
  171. package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.mjs.map +1 -1
  172. package/lib/components/ProductTechSpecs/index.js +8 -0
  173. package/lib/components/ProductTechSpecs/index.mjs +4 -0
  174. package/lib/components/QuantityInput/QuantityInput.js +1 -1
  175. package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
  176. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
  177. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
  178. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
  179. package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
  180. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
  181. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
  182. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
  183. package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
  184. package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
  185. package/lib/components/VideoPlayerNew/VideoPlayer.js +1 -1
  186. package/lib/components/VideoPlayerNew/VideoPlayer.mjs +1 -1
  187. package/lib/components/VideoPlayerNew/assets/close.svg.js +1 -1
  188. package/lib/components/VideoPlayerNew/assets/close.svg.mjs +2 -2
  189. package/lib/components/index.d.ts +32 -38
  190. package/lib/components/index.js +98 -110
  191. package/lib/components/index.js.map +1 -1
  192. package/lib/components/index.mjs +98 -110
  193. package/lib/components/index.mjs.map +1 -1
  194. package/lib/constants/icons/generic/index.js +6 -6
  195. package/lib/constants/icons/generic/index.mjs +2 -2
  196. package/lib/constants/icons/generic/minus.svg.js +5 -5
  197. package/lib/constants/icons/generic/minus.svg.mjs +2 -2
  198. package/lib/constants/icons/generic/plus.svg.js +5 -5
  199. package/lib/constants/icons/generic/plus.svg.mjs +2 -2
  200. package/lib/constants/icons/index.d.ts +0 -1
  201. package/lib/constants/icons/index.js +0 -2
  202. package/lib/constants/icons/index.js.map +1 -1
  203. package/lib/constants/icons/index.mjs +0 -2
  204. package/lib/constants/icons/index.mjs.map +1 -1
  205. package/lib/constants/mixin.d.ts +0 -1
  206. package/lib/constants/mixin.js +0 -6
  207. package/lib/constants/mixin.js.map +1 -1
  208. package/lib/constants/mixin.mjs +1 -6
  209. package/lib/constants/mixin.mjs.map +1 -1
  210. package/lib/constants/shopify/keyFeatureIcons.js +2 -2
  211. package/lib/constants/shopify/keyFeatureIcons.js.map +1 -1
  212. package/lib/constants/shopify/keyFeatureIcons.mjs +2 -2
  213. package/lib/constants/shopify/keyFeatureIcons.mjs.map +1 -1
  214. package/lib/helpers/shopify/iconParsing.js.map +1 -1
  215. package/lib/helpers/shopify/iconParsing.mjs.map +1 -1
  216. package/lib/utils/index.d.ts +1 -3
  217. package/lib/utils/index.js +6 -10
  218. package/lib/utils/index.js.map +1 -1
  219. package/lib/utils/index.mjs +6 -10
  220. package/lib/utils/index.mjs.map +1 -1
  221. package/lib/utils/money/allocators/fixedAmount.js +9 -17
  222. package/lib/utils/money/allocators/fixedAmount.js.map +1 -1
  223. package/lib/utils/money/allocators/fixedAmount.mjs +9 -17
  224. package/lib/utils/money/allocators/fixedAmount.mjs.map +1 -1
  225. package/lib/utils/money/allocators/productAmount.js +38 -61
  226. package/lib/utils/money/allocators/productAmount.js.map +1 -1
  227. package/lib/utils/money/allocators/productAmount.mjs +38 -61
  228. package/lib/utils/money/allocators/productAmount.mjs.map +1 -1
  229. package/lib/utils/nextjs/legacy-image-loader/image-loader.js +1 -11
  230. package/lib/utils/nextjs/legacy-image-loader/image-loader.js.map +1 -1
  231. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs +1 -11
  232. package/lib/utils/nextjs/legacy-image-loader/image-loader.mjs.map +1 -1
  233. package/package.json +1 -1
  234. package/lib/assets/accessApplication.svg +0 -394
  235. package/lib/assets/addToCart.svg +0 -3
  236. package/lib/assets/arrowRightMicro.svg +0 -3
  237. package/lib/assets/black.svg +0 -14
  238. package/lib/assets/blackFabric.png +0 -0
  239. package/lib/assets/blue.svg +0 -14
  240. package/lib/assets/box2.svg +0 -3
  241. package/lib/assets/camo.png +0 -0
  242. package/lib/assets/check3.svg +0 -3
  243. package/lib/assets/close3.svg +0 -3
  244. package/lib/assets/compare/fov-bullet.png.js +0 -27
  245. package/lib/assets/compare/fov-bullet.png.js.map +0 -1
  246. package/lib/assets/compare/fov-bullet.png.mjs +0 -3
  247. package/lib/assets/compare/fov-bullet.png.mjs.map +0 -1
  248. package/lib/assets/concrete.png +0 -0
  249. package/lib/assets/darkGrey.svg +0 -14
  250. package/lib/assets/design-uisp-mobile.png +0 -0
  251. package/lib/assets/design-uisp.png +0 -0
  252. package/lib/assets/design-unifi-mobile.png +0 -0
  253. package/lib/assets/design-unifi.png +0 -0
  254. package/lib/assets/fov-bullet.png +0 -0
  255. package/lib/assets/grey.svg +0 -13
  256. package/lib/assets/hand2.svg +0 -5
  257. package/lib/assets/icons/accessApplication.svg.js +0 -27
  258. package/lib/assets/icons/accessApplication.svg.js.map +0 -1
  259. package/lib/assets/icons/accessApplication.svg.mjs +0 -3
  260. package/lib/assets/icons/accessApplication.svg.mjs.map +0 -1
  261. package/lib/assets/icons/addToCart.svg.js +0 -27
  262. package/lib/assets/icons/addToCart.svg.js.map +0 -1
  263. package/lib/assets/icons/addToCart.svg.mjs +0 -3
  264. package/lib/assets/icons/addToCart.svg.mjs.map +0 -1
  265. package/lib/assets/icons/arrowRightMicro.svg.js +0 -27
  266. package/lib/assets/icons/arrowRightMicro.svg.js.map +0 -1
  267. package/lib/assets/icons/arrowRightMicro.svg.mjs +0 -3
  268. package/lib/assets/icons/arrowRightMicro.svg.mjs.map +0 -1
  269. package/lib/assets/icons/link.svg.js +0 -27
  270. package/lib/assets/icons/link.svg.js.map +0 -1
  271. package/lib/assets/icons/link.svg.mjs +0 -3
  272. package/lib/assets/icons/link.svg.mjs.map +0 -1
  273. package/lib/assets/icons/networkApplication.svg.js +0 -27
  274. package/lib/assets/icons/networkApplication.svg.js.map +0 -1
  275. package/lib/assets/icons/networkApplication.svg.mjs +0 -3
  276. package/lib/assets/icons/networkApplication.svg.mjs.map +0 -1
  277. package/lib/assets/icons/payment-apple-pay.svg.js +0 -27
  278. package/lib/assets/icons/payment-apple-pay.svg.js.map +0 -1
  279. package/lib/assets/icons/payment-apple-pay.svg.mjs +0 -3
  280. package/lib/assets/icons/payment-apple-pay.svg.mjs.map +0 -1
  281. package/lib/assets/icons/payment-card.svg.js +0 -27
  282. package/lib/assets/icons/payment-card.svg.js.map +0 -1
  283. package/lib/assets/icons/payment-card.svg.mjs +0 -3
  284. package/lib/assets/icons/payment-card.svg.mjs.map +0 -1
  285. package/lib/assets/icons/payment-google-pay.svg.js +0 -27
  286. package/lib/assets/icons/payment-google-pay.svg.js.map +0 -1
  287. package/lib/assets/icons/payment-google-pay.svg.mjs +0 -3
  288. package/lib/assets/icons/payment-google-pay.svg.mjs.map +0 -1
  289. package/lib/assets/icons/play-big.svg.js +0 -27
  290. package/lib/assets/icons/play-big.svg.js.map +0 -1
  291. package/lib/assets/icons/play-big.svg.mjs +0 -3
  292. package/lib/assets/icons/play-big.svg.mjs.map +0 -1
  293. package/lib/assets/icons/previouslyPurchasedStar.svg.js +0 -27
  294. package/lib/assets/icons/previouslyPurchasedStar.svg.js.map +0 -1
  295. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs +0 -3
  296. package/lib/assets/icons/previouslyPurchasedStar.svg.mjs.map +0 -1
  297. package/lib/assets/icons/protectApplication.svg.js +0 -27
  298. package/lib/assets/icons/protectApplication.svg.js.map +0 -1
  299. package/lib/assets/icons/protectApplication.svg.mjs +0 -3
  300. package/lib/assets/icons/protectApplication.svg.mjs.map +0 -1
  301. package/lib/assets/icons/reload.svg.js +0 -27
  302. package/lib/assets/icons/reload.svg.js.map +0 -1
  303. package/lib/assets/icons/reload.svg.mjs +0 -3
  304. package/lib/assets/icons/reload.svg.mjs.map +0 -1
  305. package/lib/assets/icons/sliderThumb.svg.js +0 -27
  306. package/lib/assets/icons/sliderThumb.svg.js.map +0 -1
  307. package/lib/assets/icons/sliderThumb.svg.mjs +0 -3
  308. package/lib/assets/icons/sliderThumb.svg.mjs.map +0 -1
  309. package/lib/assets/icons/talkApplication.svg.js +0 -27
  310. package/lib/assets/icons/talkApplication.svg.js.map +0 -1
  311. package/lib/assets/icons/talkApplication.svg.mjs +0 -3
  312. package/lib/assets/icons/talkApplication.svg.mjs.map +0 -1
  313. package/lib/assets/icons/wizard/box.svg.js +0 -27
  314. package/lib/assets/icons/wizard/box.svg.js.map +0 -1
  315. package/lib/assets/icons/wizard/box.svg.mjs +0 -3
  316. package/lib/assets/icons/wizard/box.svg.mjs.map +0 -1
  317. package/lib/assets/icons/wizard/hand.svg.js +0 -27
  318. package/lib/assets/icons/wizard/hand.svg.js.map +0 -1
  319. package/lib/assets/icons/wizard/hand.svg.mjs +0 -3
  320. package/lib/assets/icons/wizard/hand.svg.mjs.map +0 -1
  321. package/lib/assets/icons/wizard/popoverPointer.svg.js +0 -27
  322. package/lib/assets/icons/wizard/popoverPointer.svg.js.map +0 -1
  323. package/lib/assets/icons/wizard/popoverPointer.svg.mjs +0 -3
  324. package/lib/assets/icons/wizard/popoverPointer.svg.mjs.map +0 -1
  325. package/lib/assets/icons/wizard/warranty.svg.js +0 -27
  326. package/lib/assets/icons/wizard/warranty.svg.js.map +0 -1
  327. package/lib/assets/icons/wizard/warranty.svg.mjs +0 -3
  328. package/lib/assets/icons/wizard/warranty.svg.mjs.map +0 -1
  329. package/lib/assets/landingPage/design-uisp-mobile.png.js +0 -27
  330. package/lib/assets/landingPage/design-uisp-mobile.png.js.map +0 -1
  331. package/lib/assets/landingPage/design-uisp-mobile.png.mjs +0 -3
  332. package/lib/assets/landingPage/design-uisp-mobile.png.mjs.map +0 -1
  333. package/lib/assets/landingPage/design-uisp.png.js +0 -27
  334. package/lib/assets/landingPage/design-uisp.png.js.map +0 -1
  335. package/lib/assets/landingPage/design-uisp.png.mjs +0 -3
  336. package/lib/assets/landingPage/design-uisp.png.mjs.map +0 -1
  337. package/lib/assets/landingPage/design-unifi-mobile.png.js +0 -27
  338. package/lib/assets/landingPage/design-unifi-mobile.png.js.map +0 -1
  339. package/lib/assets/landingPage/design-unifi-mobile.png.mjs +0 -3
  340. package/lib/assets/landingPage/design-unifi-mobile.png.mjs.map +0 -1
  341. package/lib/assets/landingPage/design-unifi.png.js +0 -27
  342. package/lib/assets/landingPage/design-unifi.png.js.map +0 -1
  343. package/lib/assets/landingPage/design-unifi.png.mjs +0 -3
  344. package/lib/assets/landingPage/design-unifi.png.mjs.map +0 -1
  345. package/lib/assets/landingPage/support-expert.png.js +0 -27
  346. package/lib/assets/landingPage/support-expert.png.js.map +0 -1
  347. package/lib/assets/landingPage/support-expert.png.mjs +0 -3
  348. package/lib/assets/landingPage/support-expert.png.mjs.map +0 -1
  349. package/lib/assets/landingPage/support-help.png.js +0 -27
  350. package/lib/assets/landingPage/support-help.png.js.map +0 -1
  351. package/lib/assets/landingPage/support-help.png.mjs +0 -3
  352. package/lib/assets/landingPage/support-help.png.mjs.map +0 -1
  353. package/lib/assets/lightGrey.svg +0 -13
  354. package/lib/assets/link.svg +0 -3
  355. package/lib/assets/marble.png +0 -0
  356. package/lib/assets/networkApplication.svg +0 -21
  357. package/lib/assets/payment-apple-pay.svg +0 -12
  358. package/lib/assets/payment-card2.svg +0 -5
  359. package/lib/assets/payment-google-pay.svg +0 -1
  360. package/lib/assets/play-big.svg +0 -4
  361. package/lib/assets/plus5.svg +0 -16
  362. package/lib/assets/plus6.svg +0 -16
  363. package/lib/assets/popoverPointer.svg +0 -12
  364. package/lib/assets/previouslyPurchasedStar.svg +0 -3
  365. package/lib/assets/protectApplication.svg +0 -418
  366. package/lib/assets/reload3.svg +0 -3
  367. package/lib/assets/sliderThumb.svg +0 -5
  368. package/lib/assets/support-expert.png +0 -0
  369. package/lib/assets/support-help.png +0 -0
  370. package/lib/assets/talkApplication.svg +0 -45
  371. package/lib/assets/warranty.svg +0 -2
  372. package/lib/assets/white.svg +0 -13
  373. package/lib/assets/wood.png +0 -0
  374. package/lib/components/AppDownloadBanner/AppDownloadBanner.d.ts +0 -2
  375. package/lib/components/AppDownloadBanner/AppDownloadBanner.styles.d.ts +0 -23
  376. package/lib/components/AppDownloadBanner/AppDownloadBanner.types.d.ts +0 -30
  377. package/lib/components/AppDownloadBanner/index.d.ts +0 -1
  378. package/lib/components/Banner/Banner.d.ts +0 -2
  379. package/lib/components/Banner/Banner.js.map +0 -1
  380. package/lib/components/Banner/Banner.mjs.map +0 -1
  381. package/lib/components/Banner/Banner.styles.js.map +0 -1
  382. package/lib/components/Banner/Banner.styles.mjs.map +0 -1
  383. package/lib/components/Banner/index.d.ts +0 -1
  384. package/lib/components/Banner/index.js +0 -6
  385. package/lib/components/Banner/index.mjs +0 -3
  386. package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
  387. package/lib/components/Breadcrumbs/Breadcrumbs.styles.d.ts +0 -2
  388. package/lib/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -16
  389. package/lib/components/Breadcrumbs/index.d.ts +0 -1
  390. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.d.ts +0 -2
  391. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.styles.d.ts +0 -9
  392. package/lib/components/BuiltFeaturesSection/BuiltFeaturesSection.types.d.ts +0 -10
  393. package/lib/components/BuiltFeaturesSection/index.d.ts +0 -1
  394. package/lib/components/CarouselGallery/CarouselGallery.d.ts +0 -2
  395. package/lib/components/CarouselGallery/CarouselGallery.styles.d.ts +0 -17
  396. package/lib/components/CarouselGallery/CarouselGallery.types.d.ts +0 -12
  397. package/lib/components/CarouselGallery/index.d.ts +0 -1
  398. package/lib/components/CartIcon/CartIcon.js.map +0 -1
  399. package/lib/components/CartIcon/CartIcon.mjs.map +0 -1
  400. package/lib/components/CartIcon/CartIcon.styles.js.map +0 -1
  401. package/lib/components/CartIcon/CartIcon.styles.mjs.map +0 -1
  402. package/lib/components/CartSummary/CartSummary.d.ts +0 -2
  403. package/lib/components/CartSummary/CartSummary.js +0 -58
  404. package/lib/components/CartSummary/CartSummary.js.map +0 -1
  405. package/lib/components/CartSummary/CartSummary.mjs +0 -56
  406. package/lib/components/CartSummary/CartSummary.mjs.map +0 -1
  407. package/lib/components/CartSummary/CartSummary.styles.d.ts +0 -21
  408. package/lib/components/CartSummary/CartSummary.styles.js +0 -133
  409. package/lib/components/CartSummary/CartSummary.styles.js.map +0 -1
  410. package/lib/components/CartSummary/CartSummary.styles.mjs +0 -115
  411. package/lib/components/CartSummary/CartSummary.styles.mjs.map +0 -1
  412. package/lib/components/CartSummary/CartSummary.types.d.ts +0 -11
  413. package/lib/components/CartSummary/index.d.ts +0 -1
  414. package/lib/components/CartSummary/index.js +0 -6
  415. package/lib/components/CartSummary/index.mjs +0 -3
  416. package/lib/components/CloserLookSection/CloserLookSection.constants.d.ts +0 -19
  417. package/lib/components/CloserLookSection/CloserLookSection.constants.js +0 -25
  418. package/lib/components/CloserLookSection/CloserLookSection.constants.js.map +0 -1
  419. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs +0 -24
  420. package/lib/components/CloserLookSection/CloserLookSection.constants.mjs.map +0 -1
  421. package/lib/components/CloserLookSection/CloserLookSection.d.ts +0 -15
  422. package/lib/components/CloserLookSection/CloserLookSection.js +0 -233
  423. package/lib/components/CloserLookSection/CloserLookSection.js.map +0 -1
  424. package/lib/components/CloserLookSection/CloserLookSection.mjs +0 -224
  425. package/lib/components/CloserLookSection/CloserLookSection.mjs.map +0 -1
  426. package/lib/components/CloserLookSection/CloserLookSection.styles.d.ts +0 -14
  427. package/lib/components/CloserLookSection/CloserLookSection.styles.js +0 -58
  428. package/lib/components/CloserLookSection/CloserLookSection.styles.js.map +0 -1
  429. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs +0 -43
  430. package/lib/components/CloserLookSection/CloserLookSection.styles.mjs.map +0 -1
  431. package/lib/components/CloserLookSection/CloserLookSection.types.d.ts +0 -35
  432. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.d.ts +0 -10
  433. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js +0 -15
  434. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.js.map +0 -1
  435. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs +0 -14
  436. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.constants.mjs.map +0 -1
  437. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.d.ts +0 -2
  438. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js +0 -53
  439. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.js.map +0 -1
  440. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs +0 -45
  441. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.mjs.map +0 -1
  442. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.d.ts +0 -5
  443. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js +0 -32
  444. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.js.map +0 -1
  445. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs +0 -20
  446. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.styles.mjs.map +0 -1
  447. package/lib/components/CloserLookSection/RecommendedAddons/RecommendedAddons.types.d.ts +0 -10
  448. package/lib/components/CloserLookSection/RecommendedAddons/index.d.ts +0 -1
  449. package/lib/components/CloserLookSection/RecommendedAddons/index.js +0 -6
  450. package/lib/components/CloserLookSection/RecommendedAddons/index.js.map +0 -1
  451. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs +0 -3
  452. package/lib/components/CloserLookSection/RecommendedAddons/index.mjs.map +0 -1
  453. package/lib/components/CloserLookSection/index.d.ts +0 -1
  454. package/lib/components/CloserLookSection/index.js +0 -7
  455. package/lib/components/CloserLookSection/index.js.map +0 -1
  456. package/lib/components/CloserLookSection/index.mjs +0 -3
  457. package/lib/components/CloserLookSection/index.mjs.map +0 -1
  458. package/lib/components/Compare/Compare.d.ts +0 -2
  459. package/lib/components/Compare/Compare.styles.d.ts +0 -38
  460. package/lib/components/Compare/Compare.types.d.ts +0 -34
  461. package/lib/components/Compare/CompareData.d.ts +0 -22
  462. package/lib/components/Compare/ProductTable.d.ts +0 -6
  463. package/lib/components/Compare/index.d.ts +0 -2
  464. package/lib/components/CompareChart/CompareChart.d.ts +0 -2
  465. package/lib/components/CompareChart/CompareChart.styles.d.ts +0 -41
  466. package/lib/components/CompareChart/CompareChart.types.d.ts +0 -17
  467. package/lib/components/CompareChart/CompareChartData.d.ts +0 -69
  468. package/lib/components/CompareChart/index.d.ts +0 -2
  469. package/lib/components/CompareSection/CompareSection.d.ts +0 -5
  470. package/lib/components/CompareSection/CompareSection.data.d.ts +0 -10
  471. package/lib/components/CompareSection/CompareSection.styles.d.ts +0 -19
  472. package/lib/components/CompareSection/CompareSection.types.d.ts +0 -20
  473. package/lib/components/CompareSection/index.d.ts +0 -1
  474. package/lib/components/DeploymentGallery/DeploymentGallery.d.ts +0 -2
  475. package/lib/components/DeploymentGallery/DeploymentGallery.styles.d.ts +0 -4
  476. package/lib/components/DeploymentGallery/DeploymentGallery.types.d.ts +0 -6
  477. package/lib/components/DeploymentGallery/index.d.ts +0 -1
  478. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.d.ts +0 -2
  479. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +0 -36
  480. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js.map +0 -1
  481. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +0 -28
  482. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs.map +0 -1
  483. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.d.ts +0 -6
  484. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js +0 -29
  485. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.js.map +0 -1
  486. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs +0 -20
  487. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.styles.mjs.map +0 -1
  488. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.types.d.ts +0 -4
  489. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.d.ts +0 -1
  490. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js +0 -6
  491. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.js.map +0 -1
  492. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs +0 -3
  493. package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/index.mjs.map +0 -1
  494. package/lib/components/FeaturesSection_deprecated/Features/Features.d.ts +0 -2
  495. package/lib/components/FeaturesSection_deprecated/Features/Features.js +0 -58
  496. package/lib/components/FeaturesSection_deprecated/Features/Features.js.map +0 -1
  497. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs +0 -56
  498. package/lib/components/FeaturesSection_deprecated/Features/Features.mjs.map +0 -1
  499. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.d.ts +0 -24
  500. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js +0 -242
  501. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.js.map +0 -1
  502. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs +0 -220
  503. package/lib/components/FeaturesSection_deprecated/Features/Features.styles.mjs.map +0 -1
  504. package/lib/components/FeaturesSection_deprecated/Features/Features.types.d.ts +0 -18
  505. package/lib/components/FeaturesSection_deprecated/Features/index.d.ts +0 -1
  506. package/lib/components/FeaturesSection_deprecated/Features/index.js +0 -6
  507. package/lib/components/FeaturesSection_deprecated/Features/index.js.map +0 -1
  508. package/lib/components/FeaturesSection_deprecated/Features/index.mjs +0 -3
  509. package/lib/components/FeaturesSection_deprecated/Features/index.mjs.map +0 -1
  510. package/lib/components/FeaturesSection_deprecated/FeaturesSection.d.ts +0 -11
  511. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js +0 -388
  512. package/lib/components/FeaturesSection_deprecated/FeaturesSection.js.map +0 -1
  513. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs +0 -379
  514. package/lib/components/FeaturesSection_deprecated/FeaturesSection.mjs.map +0 -1
  515. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.d.ts +0 -36
  516. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js +0 -360
  517. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.js.map +0 -1
  518. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs +0 -337
  519. package/lib/components/FeaturesSection_deprecated/FeaturesSection.styles.mjs.map +0 -1
  520. package/lib/components/FeaturesSection_deprecated/FeaturesSection.types.d.ts +0 -89
  521. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js +0 -27
  522. package/lib/components/FeaturesSection_deprecated/assets/close.svg.js.map +0 -1
  523. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs +0 -3
  524. package/lib/components/FeaturesSection_deprecated/assets/close.svg.mjs.map +0 -1
  525. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +0 -27
  526. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js.map +0 -1
  527. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +0 -3
  528. package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs.map +0 -1
  529. package/lib/components/FeaturesSection_deprecated/index.d.ts +0 -1
  530. package/lib/components/FeaturesSection_deprecated/index.js +0 -7
  531. package/lib/components/FeaturesSection_deprecated/index.js.map +0 -1
  532. package/lib/components/FeaturesSection_deprecated/index.mjs +0 -3
  533. package/lib/components/FeaturesSection_deprecated/index.mjs.map +0 -1
  534. package/lib/components/Gallery/Gallery.context.js +0 -141
  535. package/lib/components/Gallery/Gallery.context.js.map +0 -1
  536. package/lib/components/Gallery/Gallery.context.mjs +0 -138
  537. package/lib/components/Gallery/Gallery.context.mjs.map +0 -1
  538. package/lib/components/Gallery/Gallery.js +0 -123
  539. package/lib/components/Gallery/Gallery.js.map +0 -1
  540. package/lib/components/Gallery/Gallery.mjs +0 -120
  541. package/lib/components/Gallery/Gallery.mjs.map +0 -1
  542. package/lib/components/Gallery/Gallery.styles.js +0 -86
  543. package/lib/components/Gallery/Gallery.styles.js.map +0 -1
  544. package/lib/components/Gallery/Gallery.styles.mjs +0 -73
  545. package/lib/components/Gallery/Gallery.styles.mjs.map +0 -1
  546. package/lib/components/Gallery/Gallery.types.js +0 -11
  547. package/lib/components/Gallery/Gallery.types.js.map +0 -1
  548. package/lib/components/Gallery/Gallery.types.mjs +0 -10
  549. package/lib/components/Gallery/Gallery.types.mjs.map +0 -1
  550. package/lib/components/Gallery/GalleryControls/GalleryControls.js +0 -101
  551. package/lib/components/Gallery/GalleryControls/GalleryControls.js.map +0 -1
  552. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs +0 -90
  553. package/lib/components/Gallery/GalleryControls/GalleryControls.mjs.map +0 -1
  554. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js +0 -108
  555. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.js.map +0 -1
  556. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs +0 -95
  557. package/lib/components/Gallery/GalleryControls/GalleryControls.styles.mjs.map +0 -1
  558. package/lib/components/Gallery/GalleryControls/index.js +0 -9
  559. package/lib/components/Gallery/GalleryControls/index.js.map +0 -1
  560. package/lib/components/Gallery/GalleryControls/index.mjs +0 -3
  561. package/lib/components/Gallery/GalleryControls/index.mjs.map +0 -1
  562. package/lib/components/Gallery/GalleryItem/GalleryItem.js +0 -94
  563. package/lib/components/Gallery/GalleryItem/GalleryItem.js.map +0 -1
  564. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs +0 -92
  565. package/lib/components/Gallery/GalleryItem/GalleryItem.mjs.map +0 -1
  566. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js +0 -78
  567. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.js.map +0 -1
  568. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs +0 -68
  569. package/lib/components/Gallery/GalleryItem/GalleryItem.styles.mjs.map +0 -1
  570. package/lib/components/Gallery/GalleryItem/index.js +0 -6
  571. package/lib/components/Gallery/GalleryItem/index.js.map +0 -1
  572. package/lib/components/Gallery/GalleryItem/index.mjs +0 -3
  573. package/lib/components/Gallery/GalleryItem/index.mjs.map +0 -1
  574. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js +0 -86
  575. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.js.map +0 -1
  576. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs +0 -84
  577. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.mjs.map +0 -1
  578. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js +0 -177
  579. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.js.map +0 -1
  580. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs +0 -161
  581. package/lib/components/Gallery/GalleryThumbnails/GalleryThumbnails.styles.mjs.map +0 -1
  582. package/lib/components/Gallery/GalleryThumbnails/index.js +0 -6
  583. package/lib/components/Gallery/GalleryThumbnails/index.js.map +0 -1
  584. package/lib/components/Gallery/GalleryThumbnails/index.mjs +0 -3
  585. package/lib/components/Gallery/GalleryThumbnails/index.mjs.map +0 -1
  586. package/lib/components/Gallery/index.js +0 -8
  587. package/lib/components/Gallery/index.mjs +0 -4
  588. package/lib/components/Gallery/utils.js +0 -9
  589. package/lib/components/Gallery/utils.js.map +0 -1
  590. package/lib/components/Gallery/utils.mjs +0 -8
  591. package/lib/components/Gallery/utils.mjs.map +0 -1
  592. package/lib/components/GridGallery/GridGallery.js +0 -197
  593. package/lib/components/GridGallery/GridGallery.js.map +0 -1
  594. package/lib/components/GridGallery/GridGallery.mjs +0 -189
  595. package/lib/components/GridGallery/GridGallery.mjs.map +0 -1
  596. package/lib/components/GridGallery/GridGallery.styles.js +0 -132
  597. package/lib/components/GridGallery/GridGallery.styles.js.map +0 -1
  598. package/lib/components/GridGallery/GridGallery.styles.mjs +0 -114
  599. package/lib/components/GridGallery/GridGallery.styles.mjs.map +0 -1
  600. package/lib/components/GridGallery/GridGallery.types.js +0 -12
  601. package/lib/components/GridGallery/GridGallery.types.js.map +0 -1
  602. package/lib/components/GridGallery/GridGallery.types.mjs +0 -11
  603. package/lib/components/GridGallery/GridGallery.types.mjs.map +0 -1
  604. package/lib/components/GridGallery/index.js +0 -6
  605. package/lib/components/GridGallery/index.js.map +0 -1
  606. package/lib/components/GridGallery/index.mjs +0 -3
  607. package/lib/components/GridGallery/index.mjs.map +0 -1
  608. package/lib/components/Header/SearchTab/SearchTab.d.ts +0 -2
  609. package/lib/components/Header/SearchTab/SearchTab.styles.d.ts +0 -4
  610. package/lib/components/Header/SearchTab/SearchTab.types.d.ts +0 -13
  611. package/lib/components/Header/SearchTab/index.d.ts +0 -1
  612. package/lib/components/Hero/Hero.d.ts +0 -2
  613. package/lib/components/Hero/Hero.js +0 -158
  614. package/lib/components/Hero/Hero.js.map +0 -1
  615. package/lib/components/Hero/Hero.mjs +0 -146
  616. package/lib/components/Hero/Hero.mjs.map +0 -1
  617. package/lib/components/Hero/Hero.styles.d.ts +0 -44
  618. package/lib/components/Hero/Hero.styles.js +0 -349
  619. package/lib/components/Hero/Hero.styles.js.map +0 -1
  620. package/lib/components/Hero/Hero.styles.mjs +0 -320
  621. package/lib/components/Hero/Hero.styles.mjs.map +0 -1
  622. package/lib/components/Hero/Hero.types.d.ts +0 -31
  623. package/lib/components/Hero/Hero.types.js +0 -12
  624. package/lib/components/Hero/Hero.types.js.map +0 -1
  625. package/lib/components/Hero/Hero.types.mjs +0 -11
  626. package/lib/components/Hero/Hero.types.mjs.map +0 -1
  627. package/lib/components/Hero/index.d.ts +0 -1
  628. package/lib/components/Hero/index.js +0 -6
  629. package/lib/components/Hero/index.js.map +0 -1
  630. package/lib/components/Hero/index.mjs +0 -3
  631. package/lib/components/Hero/index.mjs.map +0 -1
  632. package/lib/components/HeroFadeGallery/HeroFadeGallery.d.ts +0 -2
  633. package/lib/components/HeroFadeGallery/HeroFadeGallery.styles.d.ts +0 -12
  634. package/lib/components/HeroFadeGallery/HeroFadeGallery.types.d.ts +0 -20
  635. package/lib/components/HeroFadeGallery/index.d.ts +0 -1
  636. package/lib/components/HowToUseSection/HowToUseSection.d.ts +0 -2
  637. package/lib/components/HowToUseSection/HowToUseSection.data.d.ts +0 -13
  638. package/lib/components/HowToUseSection/HowToUseSection.data.old.d.ts +0 -46
  639. package/lib/components/HowToUseSection/HowToUseSection.stories.d.ts +0 -9
  640. package/lib/components/HowToUseSection/HowToUseSection.styles.d.ts +0 -15
  641. package/lib/components/HowToUseSection/HowToUseSection.types.d.ts +0 -11
  642. package/lib/components/HowToUseSection/index.d.ts +0 -1
  643. package/lib/components/ImageModal/ImageModal.d.ts +0 -2
  644. package/lib/components/ImageModal/ImageModal.js +0 -42
  645. package/lib/components/ImageModal/ImageModal.js.map +0 -1
  646. package/lib/components/ImageModal/ImageModal.mjs +0 -40
  647. package/lib/components/ImageModal/ImageModal.mjs.map +0 -1
  648. package/lib/components/ImageModal/ImageModal.styles.d.ts +0 -9
  649. package/lib/components/ImageModal/ImageModal.styles.js +0 -64
  650. package/lib/components/ImageModal/ImageModal.styles.js.map +0 -1
  651. package/lib/components/ImageModal/ImageModal.styles.mjs +0 -52
  652. package/lib/components/ImageModal/ImageModal.styles.mjs.map +0 -1
  653. package/lib/components/ImageModal/ImageModal.types.d.ts +0 -10
  654. package/lib/components/ImageModal/index.d.ts +0 -1
  655. package/lib/components/ImageModal/index.js +0 -6
  656. package/lib/components/ImageModal/index.js.map +0 -1
  657. package/lib/components/ImageModal/index.mjs +0 -3
  658. package/lib/components/ImageModal/index.mjs.map +0 -1
  659. package/lib/components/LandingPage/Block/Block.d.ts +0 -2
  660. package/lib/components/LandingPage/Block/Block.js +0 -38
  661. package/lib/components/LandingPage/Block/Block.js.map +0 -1
  662. package/lib/components/LandingPage/Block/Block.mjs +0 -36
  663. package/lib/components/LandingPage/Block/Block.mjs.map +0 -1
  664. package/lib/components/LandingPage/Block/Block.styles.d.ts +0 -4
  665. package/lib/components/LandingPage/Block/Block.styles.js +0 -37
  666. package/lib/components/LandingPage/Block/Block.styles.js.map +0 -1
  667. package/lib/components/LandingPage/Block/Block.styles.mjs +0 -26
  668. package/lib/components/LandingPage/Block/Block.styles.mjs.map +0 -1
  669. package/lib/components/LandingPage/Block/Block.types.d.ts +0 -11
  670. package/lib/components/LandingPage/Block/index.d.ts +0 -1
  671. package/lib/components/LandingPage/Block/index.js +0 -6
  672. package/lib/components/LandingPage/Block/index.js.map +0 -1
  673. package/lib/components/LandingPage/Block/index.mjs +0 -3
  674. package/lib/components/LandingPage/Block/index.mjs.map +0 -1
  675. package/lib/components/LandingPage/Cards/Card/Card.d.ts +0 -2
  676. package/lib/components/LandingPage/Cards/Card/Card.js +0 -78
  677. package/lib/components/LandingPage/Cards/Card/Card.js.map +0 -1
  678. package/lib/components/LandingPage/Cards/Card/Card.mjs +0 -76
  679. package/lib/components/LandingPage/Cards/Card/Card.mjs.map +0 -1
  680. package/lib/components/LandingPage/Cards/Card/Card.styles.d.ts +0 -26
  681. package/lib/components/LandingPage/Cards/Card/Card.styles.js +0 -455
  682. package/lib/components/LandingPage/Cards/Card/Card.styles.js.map +0 -1
  683. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs +0 -435
  684. package/lib/components/LandingPage/Cards/Card/Card.styles.mjs.map +0 -1
  685. package/lib/components/LandingPage/Cards/Card/Card.types.d.ts +0 -19
  686. package/lib/components/LandingPage/Cards/Card/index.d.ts +0 -1
  687. package/lib/components/LandingPage/Cards/Card/index.js +0 -6
  688. package/lib/components/LandingPage/Cards/Card/index.js.map +0 -1
  689. package/lib/components/LandingPage/Cards/Card/index.mjs +0 -3
  690. package/lib/components/LandingPage/Cards/Card/index.mjs.map +0 -1
  691. package/lib/components/LandingPage/Cards/Cards.constants.d.ts +0 -2
  692. package/lib/components/LandingPage/Cards/Cards.constants.js +0 -8
  693. package/lib/components/LandingPage/Cards/Cards.constants.js.map +0 -1
  694. package/lib/components/LandingPage/Cards/Cards.constants.mjs +0 -6
  695. package/lib/components/LandingPage/Cards/Cards.constants.mjs.map +0 -1
  696. package/lib/components/LandingPage/Cards/Cards.d.ts +0 -2
  697. package/lib/components/LandingPage/Cards/Cards.js +0 -127
  698. package/lib/components/LandingPage/Cards/Cards.js.map +0 -1
  699. package/lib/components/LandingPage/Cards/Cards.mjs +0 -119
  700. package/lib/components/LandingPage/Cards/Cards.mjs.map +0 -1
  701. package/lib/components/LandingPage/Cards/Cards.styles.d.ts +0 -23
  702. package/lib/components/LandingPage/Cards/Cards.styles.js +0 -160
  703. package/lib/components/LandingPage/Cards/Cards.styles.js.map +0 -1
  704. package/lib/components/LandingPage/Cards/Cards.styles.mjs +0 -144
  705. package/lib/components/LandingPage/Cards/Cards.styles.mjs.map +0 -1
  706. package/lib/components/LandingPage/Cards/Cards.types.d.ts +0 -19
  707. package/lib/components/LandingPage/Cards/index.d.ts +0 -2
  708. package/lib/components/LandingPage/Cards/index.js +0 -8
  709. package/lib/components/LandingPage/Cards/index.js.map +0 -1
  710. package/lib/components/LandingPage/Cards/index.mjs +0 -4
  711. package/lib/components/LandingPage/Cards/index.mjs.map +0 -1
  712. package/lib/components/LandingPage/LandingPage.constants.d.ts +0 -35
  713. package/lib/components/LandingPage/LandingPage.constants.js +0 -40
  714. package/lib/components/LandingPage/LandingPage.constants.js.map +0 -1
  715. package/lib/components/LandingPage/LandingPage.constants.mjs +0 -39
  716. package/lib/components/LandingPage/LandingPage.constants.mjs.map +0 -1
  717. package/lib/components/LandingPage/LandingPage.d.ts +0 -2
  718. package/lib/components/LandingPage/LandingPage.js +0 -116
  719. package/lib/components/LandingPage/LandingPage.js.map +0 -1
  720. package/lib/components/LandingPage/LandingPage.mjs +0 -102
  721. package/lib/components/LandingPage/LandingPage.mjs.map +0 -1
  722. package/lib/components/LandingPage/LandingPage.styles.d.ts +0 -5
  723. package/lib/components/LandingPage/LandingPage.styles.js +0 -66
  724. package/lib/components/LandingPage/LandingPage.styles.js.map +0 -1
  725. package/lib/components/LandingPage/LandingPage.styles.mjs +0 -54
  726. package/lib/components/LandingPage/LandingPage.styles.mjs.map +0 -1
  727. package/lib/components/LandingPage/LandingPage.types.d.ts +0 -16
  728. package/lib/components/LandingPage/index.d.ts +0 -1
  729. package/lib/components/LandingPage/index.js +0 -6
  730. package/lib/components/LandingPage/index.js.map +0 -1
  731. package/lib/components/LandingPage/index.mjs +0 -3
  732. package/lib/components/LandingPage/index.mjs.map +0 -1
  733. package/lib/components/LandingPagePro/LandingPagePro.d.ts +0 -24
  734. package/lib/components/LandingPagePro/LandingPagePro.js +0 -262
  735. package/lib/components/LandingPagePro/LandingPagePro.js.map +0 -1
  736. package/lib/components/LandingPagePro/LandingPagePro.mjs +0 -260
  737. package/lib/components/LandingPagePro/LandingPagePro.mjs.map +0 -1
  738. package/lib/components/LandingPagePro/LandingPagePro.styles.d.ts +0 -3
  739. package/lib/components/LandingPagePro/LandingPagePro.styles.js +0 -49
  740. package/lib/components/LandingPagePro/LandingPagePro.styles.js.map +0 -1
  741. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs +0 -39
  742. package/lib/components/LandingPagePro/LandingPagePro.styles.mjs.map +0 -1
  743. package/lib/components/LandingPagePro/LandingPagePro.types.d.ts +0 -39
  744. package/lib/components/LandingPagePro/index.d.ts +0 -1
  745. package/lib/components/LandingPagePro/index.js +0 -6
  746. package/lib/components/LandingPagePro/index.js.map +0 -1
  747. package/lib/components/LandingPagePro/index.mjs +0 -3
  748. package/lib/components/LandingPagePro/index.mjs.map +0 -1
  749. package/lib/components/LandingPagePro/utils.d.ts +0 -12
  750. package/lib/components/LandingPagePro/utils.js +0 -26
  751. package/lib/components/LandingPagePro/utils.js.map +0 -1
  752. package/lib/components/LandingPagePro/utils.mjs +0 -24
  753. package/lib/components/LandingPagePro/utils.mjs.map +0 -1
  754. package/lib/components/LandingPageSearch/LandingPageSearch.d.ts +0 -2
  755. package/lib/components/LandingPageSearch/LandingPageSearch.js +0 -57
  756. package/lib/components/LandingPageSearch/LandingPageSearch.js.map +0 -1
  757. package/lib/components/LandingPageSearch/LandingPageSearch.mjs +0 -55
  758. package/lib/components/LandingPageSearch/LandingPageSearch.mjs.map +0 -1
  759. package/lib/components/LandingPageSearch/LandingPageSearch.stories.d.ts +0 -5
  760. package/lib/components/LandingPageSearch/LandingPageSearch.styles.d.ts +0 -2
  761. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js +0 -28
  762. package/lib/components/LandingPageSearch/LandingPageSearch.styles.js.map +0 -1
  763. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs +0 -19
  764. package/lib/components/LandingPageSearch/LandingPageSearch.styles.mjs.map +0 -1
  765. package/lib/components/LandingPageSearch/LandingPageSearch.types.d.ts +0 -49
  766. package/lib/components/LandingPageSearch/LandingPageSearch.types.js +0 -15
  767. package/lib/components/LandingPageSearch/LandingPageSearch.types.js.map +0 -1
  768. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs +0 -14
  769. package/lib/components/LandingPageSearch/LandingPageSearch.types.mjs.map +0 -1
  770. package/lib/components/LandingPageSearch/Modal/Modal.d.ts +0 -2
  771. package/lib/components/LandingPageSearch/Modal/Modal.js +0 -131
  772. package/lib/components/LandingPageSearch/Modal/Modal.js.map +0 -1
  773. package/lib/components/LandingPageSearch/Modal/Modal.mjs +0 -129
  774. package/lib/components/LandingPageSearch/Modal/Modal.mjs.map +0 -1
  775. package/lib/components/LandingPageSearch/Modal/Modal.styles.d.ts +0 -34
  776. package/lib/components/LandingPageSearch/Modal/Modal.styles.js +0 -212
  777. package/lib/components/LandingPageSearch/Modal/Modal.styles.js.map +0 -1
  778. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs +0 -189
  779. package/lib/components/LandingPageSearch/Modal/Modal.styles.mjs.map +0 -1
  780. package/lib/components/LandingPageSearch/Modal/Modal.types.d.ts +0 -20
  781. package/lib/components/LandingPageSearch/Modal/index.d.ts +0 -1
  782. package/lib/components/LandingPageSearch/Modal/index.js +0 -6
  783. package/lib/components/LandingPageSearch/Modal/index.js.map +0 -1
  784. package/lib/components/LandingPageSearch/Modal/index.mjs +0 -3
  785. package/lib/components/LandingPageSearch/Modal/index.mjs.map +0 -1
  786. package/lib/components/LandingPageSearch/index.d.ts +0 -1
  787. package/lib/components/LandingPageSearch/index.js +0 -6
  788. package/lib/components/LandingPageSearch/index.js.map +0 -1
  789. package/lib/components/LandingPageSearch/index.mjs +0 -3
  790. package/lib/components/LandingPageSearch/index.mjs.map +0 -1
  791. package/lib/components/LandingPageSidebar/LandingPageSidebar.d.ts +0 -2
  792. package/lib/components/LandingPageSidebar/LandingPageSidebar.js +0 -330
  793. package/lib/components/LandingPageSidebar/LandingPageSidebar.js.map +0 -1
  794. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs +0 -320
  795. package/lib/components/LandingPageSidebar/LandingPageSidebar.mjs.map +0 -1
  796. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.d.ts +0 -28
  797. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js +0 -252
  798. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.js.map +0 -1
  799. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs +0 -227
  800. package/lib/components/LandingPageSidebar/LandingPageSidebar.styles.mjs.map +0 -1
  801. package/lib/components/LandingPageSidebar/LandingPageSidebar.types.d.ts +0 -92
  802. package/lib/components/LandingPageSidebar/index.d.ts +0 -1
  803. package/lib/components/LandingPageSidebar/index.js +0 -6
  804. package/lib/components/LandingPageSidebar/index.js.map +0 -1
  805. package/lib/components/LandingPageSidebar/index.mjs +0 -3
  806. package/lib/components/LandingPageSidebar/index.mjs.map +0 -1
  807. package/lib/components/LayoutRenderer/LayoutRenderer.d.ts +0 -5
  808. package/lib/components/LayoutRenderer/LayoutRenderer.js +0 -188
  809. package/lib/components/LayoutRenderer/LayoutRenderer.js.map +0 -1
  810. package/lib/components/LayoutRenderer/LayoutRenderer.mjs +0 -180
  811. package/lib/components/LayoutRenderer/LayoutRenderer.mjs.map +0 -1
  812. package/lib/components/LayoutRenderer/LayoutRenderer.styles.d.ts +0 -28
  813. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js +0 -197
  814. package/lib/components/LayoutRenderer/LayoutRenderer.styles.js.map +0 -1
  815. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs +0 -173
  816. package/lib/components/LayoutRenderer/LayoutRenderer.styles.mjs.map +0 -1
  817. package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +0 -263
  818. package/lib/components/LayoutRenderer/LayoutRenderer.types.js +0 -6
  819. package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +0 -1
  820. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs +0 -5
  821. package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +0 -1
  822. package/lib/components/LayoutRenderer/index.d.ts +0 -2
  823. package/lib/components/LayoutRenderer/index.js +0 -6
  824. package/lib/components/LayoutRenderer/index.js.map +0 -1
  825. package/lib/components/LayoutRenderer/index.mjs +0 -3
  826. package/lib/components/LayoutRenderer/index.mjs.map +0 -1
  827. package/lib/components/LayoutRendererV1/LayoutRenderer.d.ts +0 -9
  828. package/lib/components/LayoutRendererV1/LayoutRenderer.old.d.ts +0 -120
  829. package/lib/components/LayoutRendererV1/LayoutRenderer.styles.d.ts +0 -71
  830. package/lib/components/LayoutRendererV1/LayoutRenderer.types.d.ts +0 -91
  831. package/lib/components/LayoutRendererV1/index.d.ts +0 -1
  832. package/lib/components/LayoutRendererV2/LayoutRenderer.d.ts +0 -6
  833. package/lib/components/LayoutRendererV2/LayoutRenderer.styles.d.ts +0 -63
  834. package/lib/components/LayoutRendererV2/LayoutRenderer.types.d.ts +0 -93
  835. package/lib/components/LayoutRendererV2/index.d.ts +0 -1
  836. package/lib/components/NewToUnifiBox/NewToUnifiBox.d.ts +0 -11
  837. package/lib/components/NewToUnifiBox/NewToUnifiBox.styles.d.ts +0 -5
  838. package/lib/components/NewToUnifiBox/index.d.ts +0 -1
  839. package/lib/components/NormalisedImage/NormalisedImage.d.ts +0 -6
  840. package/lib/components/NormalisedImage/NormalisedImage.js +0 -23
  841. package/lib/components/NormalisedImage/NormalisedImage.js.map +0 -1
  842. package/lib/components/NormalisedImage/NormalisedImage.mjs +0 -21
  843. package/lib/components/NormalisedImage/NormalisedImage.mjs.map +0 -1
  844. package/lib/components/NormalisedImage/NormalisedImage.types.d.ts +0 -15
  845. package/lib/components/NormalisedImage/NormalisedImage.types.js +0 -3
  846. package/lib/components/NormalisedImage/NormalisedImage.types.js.map +0 -1
  847. package/lib/components/NormalisedImage/NormalisedImage.types.mjs +0 -2
  848. package/lib/components/NormalisedImage/NormalisedImage.types.mjs.map +0 -1
  849. package/lib/components/NormalisedImage/index.d.ts +0 -2
  850. package/lib/components/NormalisedImage/index.js +0 -7
  851. package/lib/components/NormalisedImage/index.js.map +0 -1
  852. package/lib/components/NormalisedImage/index.mjs +0 -4
  853. package/lib/components/NormalisedImage/index.mjs.map +0 -1
  854. package/lib/components/Pagination/Pagination.d.ts +0 -2
  855. package/lib/components/Pagination/Pagination.js +0 -71
  856. package/lib/components/Pagination/Pagination.js.map +0 -1
  857. package/lib/components/Pagination/Pagination.mjs +0 -69
  858. package/lib/components/Pagination/Pagination.mjs.map +0 -1
  859. package/lib/components/Pagination/Pagination.styles.d.ts +0 -5
  860. package/lib/components/Pagination/Pagination.styles.js +0 -51
  861. package/lib/components/Pagination/Pagination.styles.js.map +0 -1
  862. package/lib/components/Pagination/Pagination.styles.mjs +0 -41
  863. package/lib/components/Pagination/Pagination.styles.mjs.map +0 -1
  864. package/lib/components/Pagination/Pagination.types.d.ts +0 -5
  865. package/lib/components/Pagination/index.d.ts +0 -2
  866. package/lib/components/Pagination/index.js +0 -6
  867. package/lib/components/Pagination/index.js.map +0 -1
  868. package/lib/components/Pagination/index.mjs +0 -3
  869. package/lib/components/Pagination/index.mjs.map +0 -1
  870. package/lib/components/Popover/Popover.d.ts +0 -20
  871. package/lib/components/Popover/Popover.js +0 -37
  872. package/lib/components/Popover/Popover.js.map +0 -1
  873. package/lib/components/Popover/Popover.mjs +0 -29
  874. package/lib/components/Popover/Popover.mjs.map +0 -1
  875. package/lib/components/Popover/Popover.styles.d.ts +0 -15
  876. package/lib/components/Popover/Popover.styles.js +0 -122
  877. package/lib/components/Popover/Popover.styles.js.map +0 -1
  878. package/lib/components/Popover/Popover.styles.mjs +0 -111
  879. package/lib/components/Popover/Popover.styles.mjs.map +0 -1
  880. package/lib/components/Popover/Popover.types.d.ts +0 -8
  881. package/lib/components/Popover/index.d.ts +0 -1
  882. package/lib/components/Popover/index.js +0 -6
  883. package/lib/components/Popover/index.js.map +0 -1
  884. package/lib/components/Popover/index.mjs +0 -3
  885. package/lib/components/Popover/index.mjs.map +0 -1
  886. package/lib/components/PriceRangeSlider/PriceRangeSlider.d.ts +0 -2
  887. package/lib/components/PriceRangeSlider/PriceRangeSlider.js +0 -203
  888. package/lib/components/PriceRangeSlider/PriceRangeSlider.js.map +0 -1
  889. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs +0 -195
  890. package/lib/components/PriceRangeSlider/PriceRangeSlider.mjs.map +0 -1
  891. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.d.ts +0 -7
  892. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js +0 -77
  893. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.js.map +0 -1
  894. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs +0 -63
  895. package/lib/components/PriceRangeSlider/PriceRangeSlider.styles.mjs.map +0 -1
  896. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.d.ts +0 -23
  897. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js +0 -10
  898. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.js.map +0 -1
  899. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs +0 -9
  900. package/lib/components/PriceRangeSlider/PriceRangeSlider.types.mjs.map +0 -1
  901. package/lib/components/PriceRangeSlider/index.d.ts +0 -1
  902. package/lib/components/PriceRangeSlider/index.js +0 -6
  903. package/lib/components/PriceRangeSlider/index.js.map +0 -1
  904. package/lib/components/PriceRangeSlider/index.mjs +0 -3
  905. package/lib/components/PriceRangeSlider/index.mjs.map +0 -1
  906. package/lib/components/ProductCard/ProductCard.constants.d.ts +0 -13
  907. package/lib/components/ProductCard/ProductCard.constants.js +0 -18
  908. package/lib/components/ProductCard/ProductCard.constants.js.map +0 -1
  909. package/lib/components/ProductCard/ProductCard.constants.mjs +0 -17
  910. package/lib/components/ProductCard/ProductCard.constants.mjs.map +0 -1
  911. package/lib/components/ProductCard/ProductCard.d.ts +0 -2
  912. package/lib/components/ProductCard/ProductCard.js +0 -139
  913. package/lib/components/ProductCard/ProductCard.js.map +0 -1
  914. package/lib/components/ProductCard/ProductCard.mjs +0 -130
  915. package/lib/components/ProductCard/ProductCard.mjs.map +0 -1
  916. package/lib/components/ProductCard/ProductCard.styles.d.ts +0 -20
  917. package/lib/components/ProductCard/ProductCard.styles.js +0 -178
  918. package/lib/components/ProductCard/ProductCard.styles.js.map +0 -1
  919. package/lib/components/ProductCard/ProductCard.styles.mjs +0 -155
  920. package/lib/components/ProductCard/ProductCard.styles.mjs.map +0 -1
  921. package/lib/components/ProductCard/ProductCard.types.d.ts +0 -9
  922. package/lib/components/ProductCard/index.d.ts +0 -1
  923. package/lib/components/ProductCard/index.js +0 -6
  924. package/lib/components/ProductCard/index.js.map +0 -1
  925. package/lib/components/ProductCard/index.mjs +0 -3
  926. package/lib/components/ProductCard/index.mjs.map +0 -1
  927. package/lib/components/ProductCardPopup/ProductCardPopup.d.ts +0 -2
  928. package/lib/components/ProductCardPopup/ProductCardPopup.js +0 -247
  929. package/lib/components/ProductCardPopup/ProductCardPopup.js.map +0 -1
  930. package/lib/components/ProductCardPopup/ProductCardPopup.mjs +0 -245
  931. package/lib/components/ProductCardPopup/ProductCardPopup.mjs.map +0 -1
  932. package/lib/components/ProductCardPopup/ProductCardPopup.stories.d.ts +0 -21
  933. package/lib/components/ProductCardPopup/ProductCardPopup.styles.d.ts +0 -60
  934. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js +0 -346
  935. package/lib/components/ProductCardPopup/ProductCardPopup.styles.js.map +0 -1
  936. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs +0 -305
  937. package/lib/components/ProductCardPopup/ProductCardPopup.styles.mjs.map +0 -1
  938. package/lib/components/ProductCardPopup/ProductCardPopup.types.d.ts +0 -36
  939. package/lib/components/ProductCardPopup/index.d.ts +0 -1
  940. package/lib/components/ProductCardPopup/index.js +0 -6
  941. package/lib/components/ProductCardPopup/index.js.map +0 -1
  942. package/lib/components/ProductCardPopup/index.mjs +0 -3
  943. package/lib/components/ProductCardPopup/index.mjs.map +0 -1
  944. package/lib/components/ProductCompare/ProductCompare.constants.d.ts +0 -9
  945. package/lib/components/ProductCompare/ProductCompare.constants.js +0 -14
  946. package/lib/components/ProductCompare/ProductCompare.constants.js.map +0 -1
  947. package/lib/components/ProductCompare/ProductCompare.constants.mjs +0 -13
  948. package/lib/components/ProductCompare/ProductCompare.constants.mjs.map +0 -1
  949. package/lib/components/ProductCompare/ProductCompare.d.ts +0 -2
  950. package/lib/components/ProductCompare/ProductCompare.js +0 -158
  951. package/lib/components/ProductCompare/ProductCompare.js.map +0 -1
  952. package/lib/components/ProductCompare/ProductCompare.mjs +0 -150
  953. package/lib/components/ProductCompare/ProductCompare.mjs.map +0 -1
  954. package/lib/components/ProductCompare/ProductCompare.styles.d.ts +0 -20
  955. package/lib/components/ProductCompare/ProductCompare.styles.js +0 -152
  956. package/lib/components/ProductCompare/ProductCompare.styles.js.map +0 -1
  957. package/lib/components/ProductCompare/ProductCompare.styles.mjs +0 -127
  958. package/lib/components/ProductCompare/ProductCompare.styles.mjs.map +0 -1
  959. package/lib/components/ProductCompare/ProductCompare.types.d.ts +0 -17
  960. package/lib/components/ProductCompare/ProductCompare.utils.d.ts +0 -2
  961. package/lib/components/ProductCompare/ProductCompare.utils.js +0 -20
  962. package/lib/components/ProductCompare/ProductCompare.utils.js.map +0 -1
  963. package/lib/components/ProductCompare/ProductCompare.utils.mjs +0 -18
  964. package/lib/components/ProductCompare/ProductCompare.utils.mjs.map +0 -1
  965. package/lib/components/ProductCompare/index.d.ts +0 -1
  966. package/lib/components/ProductCompare/index.js +0 -6
  967. package/lib/components/ProductCompare/index.js.map +0 -1
  968. package/lib/components/ProductCompare/index.mjs +0 -3
  969. package/lib/components/ProductCompare/index.mjs.map +0 -1
  970. package/lib/components/ProductCompare/mapping.d.ts +0 -62
  971. package/lib/components/ProductCompare/mapping.js +0 -1107
  972. package/lib/components/ProductCompare/mapping.js.map +0 -1
  973. package/lib/components/ProductCompare/mapping.mjs +0 -1098
  974. package/lib/components/ProductCompare/mapping.mjs.map +0 -1
  975. package/lib/components/ProductCompare/mapping.test.d.ts +0 -1
  976. package/lib/components/ProductDetails/ProductDetails.d.ts +0 -2
  977. package/lib/components/ProductDetails/ProductDetails.js +0 -53
  978. package/lib/components/ProductDetails/ProductDetails.js.map +0 -1
  979. package/lib/components/ProductDetails/ProductDetails.mjs +0 -51
  980. package/lib/components/ProductDetails/ProductDetails.mjs.map +0 -1
  981. package/lib/components/ProductDetails/ProductDetails.styles.d.ts +0 -2
  982. package/lib/components/ProductDetails/ProductDetails.styles.js +0 -101
  983. package/lib/components/ProductDetails/ProductDetails.styles.js.map +0 -1
  984. package/lib/components/ProductDetails/ProductDetails.styles.mjs +0 -92
  985. package/lib/components/ProductDetails/ProductDetails.styles.mjs.map +0 -1
  986. package/lib/components/ProductDetails/ProductDetails.types.d.ts +0 -6
  987. package/lib/components/ProductDetails/index.d.ts +0 -2
  988. package/lib/components/ProductDetails/index.js +0 -8
  989. package/lib/components/ProductDetails/index.js.map +0 -1
  990. package/lib/components/ProductDetails/index.mjs +0 -4
  991. package/lib/components/ProductDetails/index.mjs.map +0 -1
  992. package/lib/components/ProductGrid/ProductGrid.d.ts +0 -2
  993. package/lib/components/ProductGrid/ProductGrid.js +0 -168
  994. package/lib/components/ProductGrid/ProductGrid.js.map +0 -1
  995. package/lib/components/ProductGrid/ProductGrid.mjs +0 -166
  996. package/lib/components/ProductGrid/ProductGrid.mjs.map +0 -1
  997. package/lib/components/ProductGrid/ProductGrid.styles.d.ts +0 -10
  998. package/lib/components/ProductGrid/ProductGrid.styles.js +0 -111
  999. package/lib/components/ProductGrid/ProductGrid.styles.js.map +0 -1
  1000. package/lib/components/ProductGrid/ProductGrid.styles.mjs +0 -94
  1001. package/lib/components/ProductGrid/ProductGrid.styles.mjs.map +0 -1
  1002. package/lib/components/ProductGrid/ProductGrid.types.d.ts +0 -100
  1003. package/lib/components/ProductGrid/ProductGrid.types.js +0 -12
  1004. package/lib/components/ProductGrid/ProductGrid.types.js.map +0 -1
  1005. package/lib/components/ProductGrid/ProductGrid.types.mjs +0 -11
  1006. package/lib/components/ProductGrid/ProductGrid.types.mjs.map +0 -1
  1007. package/lib/components/ProductGrid/index.d.ts +0 -1
  1008. package/lib/components/ProductGrid/index.js +0 -6
  1009. package/lib/components/ProductGrid/index.js.map +0 -1
  1010. package/lib/components/ProductGrid/index.mjs +0 -3
  1011. package/lib/components/ProductGrid/index.mjs.map +0 -1
  1012. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.d.ts +0 -2
  1013. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js +0 -72
  1014. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.js.map +0 -1
  1015. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs +0 -70
  1016. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.mjs.map +0 -1
  1017. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.d.ts +0 -7
  1018. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js +0 -89
  1019. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.js.map +0 -1
  1020. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs +0 -75
  1021. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.styles.mjs.map +0 -1
  1022. package/lib/components/ProductKeyFeatures/ProductKeyFeatures.types.d.ts +0 -19
  1023. package/lib/components/ProductKeyFeatures/index.d.ts +0 -1
  1024. package/lib/components/ProductKeyFeatures/index.js +0 -6
  1025. package/lib/components/ProductKeyFeatures/index.js.map +0 -1
  1026. package/lib/components/ProductKeyFeatures/index.mjs +0 -3
  1027. package/lib/components/ProductKeyFeatures/index.mjs.map +0 -1
  1028. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.d.ts +0 -2
  1029. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js +0 -44
  1030. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.js.map +0 -1
  1031. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs +0 -42
  1032. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.mjs.map +0 -1
  1033. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.d.ts +0 -12
  1034. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js +0 -83
  1035. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.js.map +0 -1
  1036. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs +0 -68
  1037. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.styles.mjs.map +0 -1
  1038. package/lib/components/ProductRecommendedAccessories/ProductRecommendedAccessories.types.d.ts +0 -17
  1039. package/lib/components/ProductRecommendedAccessories/index.d.ts +0 -1
  1040. package/lib/components/ProductRecommendedAccessories/index.js +0 -6
  1041. package/lib/components/ProductRecommendedAccessories/index.js.map +0 -1
  1042. package/lib/components/ProductRecommendedAccessories/index.mjs +0 -3
  1043. package/lib/components/ProductRecommendedAccessories/index.mjs.map +0 -1
  1044. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.d.ts +0 -2
  1045. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.styles.d.ts +0 -10
  1046. package/lib/components/ProductSectionNavigation/ProductSectionNavigation.types.d.ts +0 -25
  1047. package/lib/components/ProductSectionNavigation/index.d.ts +0 -1
  1048. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.d.ts +0 -2
  1049. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.styles.d.ts +0 -10
  1050. package/lib/components/ProductSectionNavigationV2/ProductSectionNavigation.types.d.ts +0 -21
  1051. package/lib/components/ProductSectionNavigationV2/index.d.ts +0 -2
  1052. package/lib/components/ProductSectionTabs/ProductSectionTabs.d.ts +0 -2
  1053. package/lib/components/ProductSectionTabs/ProductSectionTabs.js +0 -80
  1054. package/lib/components/ProductSectionTabs/ProductSectionTabs.js.map +0 -1
  1055. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs +0 -78
  1056. package/lib/components/ProductSectionTabs/ProductSectionTabs.mjs.map +0 -1
  1057. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.d.ts +0 -16
  1058. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js +0 -147
  1059. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.js.map +0 -1
  1060. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs +0 -135
  1061. package/lib/components/ProductSectionTabs/ProductSectionTabs.styles.mjs.map +0 -1
  1062. package/lib/components/ProductSectionTabs/ProductSectionTabs.types.d.ts +0 -25
  1063. package/lib/components/ProductSectionTabs/index.d.ts +0 -2
  1064. package/lib/components/ProductSectionTabs/index.js +0 -6
  1065. package/lib/components/ProductSectionTabs/index.js.map +0 -1
  1066. package/lib/components/ProductSectionTabs/index.mjs +0 -3
  1067. package/lib/components/ProductSectionTabs/index.mjs.map +0 -1
  1068. package/lib/components/ProductUpsell/ProductUpsell.d.ts +0 -2
  1069. package/lib/components/ProductUpsell/ProductUpsell.styles.d.ts +0 -21
  1070. package/lib/components/ProductUpsell/ProductUpsell.types.d.ts +0 -38
  1071. package/lib/components/ProductUpsell/index.d.ts +0 -1
  1072. package/lib/components/ProductWizard/Options/Options.d.ts +0 -2
  1073. package/lib/components/ProductWizard/Options/Options.js +0 -77
  1074. package/lib/components/ProductWizard/Options/Options.js.map +0 -1
  1075. package/lib/components/ProductWizard/Options/Options.mjs +0 -75
  1076. package/lib/components/ProductWizard/Options/Options.mjs.map +0 -1
  1077. package/lib/components/ProductWizard/Options/Options.styles.d.ts +0 -2
  1078. package/lib/components/ProductWizard/Options/Options.styles.js +0 -24
  1079. package/lib/components/ProductWizard/Options/Options.styles.js.map +0 -1
  1080. package/lib/components/ProductWizard/Options/Options.styles.mjs +0 -15
  1081. package/lib/components/ProductWizard/Options/Options.styles.mjs.map +0 -1
  1082. package/lib/components/ProductWizard/Options/Options.types.d.ts +0 -8
  1083. package/lib/components/ProductWizard/Options/index.d.ts +0 -1
  1084. package/lib/components/ProductWizard/Options/index.js +0 -6
  1085. package/lib/components/ProductWizard/Options/index.js.map +0 -1
  1086. package/lib/components/ProductWizard/Options/index.mjs +0 -3
  1087. package/lib/components/ProductWizard/Options/index.mjs.map +0 -1
  1088. package/lib/components/ProductWizard/ProductWizard.d.ts +0 -5
  1089. package/lib/components/ProductWizard/ProductWizard.js +0 -114
  1090. package/lib/components/ProductWizard/ProductWizard.js.map +0 -1
  1091. package/lib/components/ProductWizard/ProductWizard.mjs +0 -105
  1092. package/lib/components/ProductWizard/ProductWizard.mjs.map +0 -1
  1093. package/lib/components/ProductWizard/ProductWizard.styles.d.ts +0 -29
  1094. package/lib/components/ProductWizard/ProductWizard.styles.js +0 -147
  1095. package/lib/components/ProductWizard/ProductWizard.styles.js.map +0 -1
  1096. package/lib/components/ProductWizard/ProductWizard.styles.mjs +0 -130
  1097. package/lib/components/ProductWizard/ProductWizard.styles.mjs.map +0 -1
  1098. package/lib/components/ProductWizard/ProductWizard.types.d.ts +0 -99
  1099. package/lib/components/ProductWizard/index.d.ts +0 -1
  1100. package/lib/components/ProductWizard/index.js +0 -6
  1101. package/lib/components/ProductWizard/index.js.map +0 -1
  1102. package/lib/components/ProductWizard/index.mjs +0 -3
  1103. package/lib/components/ProductWizard/index.mjs.map +0 -1
  1104. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.d.ts +0 -2
  1105. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js +0 -163
  1106. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.js.map +0 -1
  1107. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs +0 -151
  1108. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.mjs.map +0 -1
  1109. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.d.ts +0 -9
  1110. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js +0 -67
  1111. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.js.map +0 -1
  1112. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs +0 -51
  1113. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.styles.mjs.map +0 -1
  1114. package/lib/components/ProductWizardFootnotes/ProductWizardFootnotes.types.d.ts +0 -7
  1115. package/lib/components/ProductWizardFootnotes/index.d.ts +0 -1
  1116. package/lib/components/ProductWizardFootnotes/index.js +0 -6
  1117. package/lib/components/ProductWizardFootnotes/index.js.map +0 -1
  1118. package/lib/components/ProductWizardFootnotes/index.mjs +0 -3
  1119. package/lib/components/ProductWizardFootnotes/index.mjs.map +0 -1
  1120. package/lib/components/ProgressCircle/ProgressCircle.d.ts +0 -2
  1121. package/lib/components/ProgressCircle/ProgressCircle.js.map +0 -1
  1122. package/lib/components/ProgressCircle/ProgressCircle.mjs.map +0 -1
  1123. package/lib/components/ProgressCircle/index.d.ts +0 -1
  1124. package/lib/components/ProgressCircle/index.js +0 -6
  1125. package/lib/components/ProgressCircle/index.js.map +0 -1
  1126. package/lib/components/ProgressCircle/index.mjs +0 -3
  1127. package/lib/components/ProgressCircle/index.mjs.map +0 -1
  1128. package/lib/components/RelatedProducts/RelatedProducts.d.ts +0 -10
  1129. package/lib/components/RelatedProducts/RelatedProducts.js +0 -89
  1130. package/lib/components/RelatedProducts/RelatedProducts.js.map +0 -1
  1131. package/lib/components/RelatedProducts/RelatedProducts.mjs +0 -81
  1132. package/lib/components/RelatedProducts/RelatedProducts.mjs.map +0 -1
  1133. package/lib/components/RelatedProducts/RelatedProducts.styles.d.ts +0 -15
  1134. package/lib/components/RelatedProducts/RelatedProducts.styles.js +0 -125
  1135. package/lib/components/RelatedProducts/RelatedProducts.styles.js.map +0 -1
  1136. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs +0 -105
  1137. package/lib/components/RelatedProducts/RelatedProducts.styles.mjs.map +0 -1
  1138. package/lib/components/RelatedProducts/RelatedProducts.types.d.ts +0 -32
  1139. package/lib/components/RelatedProducts/index.d.ts +0 -1
  1140. package/lib/components/RelatedProducts/index.js +0 -6
  1141. package/lib/components/RelatedProducts/index.js.map +0 -1
  1142. package/lib/components/RelatedProducts/index.mjs +0 -3
  1143. package/lib/components/RelatedProducts/index.mjs.map +0 -1
  1144. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.d.ts +0 -11
  1145. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.styles.d.ts +0 -27
  1146. package/lib/components/RelatedProductsVariantSelector/RelatedProductsVariantSelector.types.d.ts +0 -32
  1147. package/lib/components/RelatedProductsVariantSelector/index.d.ts +0 -1
  1148. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.d.ts +0 -13
  1149. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.styles.d.ts +0 -40
  1150. package/lib/components/RelatedProductsVariantSelectorV1/RelatedProductsVariantSelector.types.d.ts +0 -30
  1151. package/lib/components/RelatedProductsVariantSelectorV1/index.d.ts +0 -1
  1152. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.d.ts +0 -13
  1153. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.styles.d.ts +0 -44
  1154. package/lib/components/RelatedProductsVariantSelectorV2/RelatedProductsVariantSelector.types.d.ts +0 -31
  1155. package/lib/components/RelatedProductsVariantSelectorV2/index.d.ts +0 -1
  1156. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.d.ts +0 -2
  1157. package/lib/components/RelatedProductsVariantSelectorsV1/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1158. package/lib/components/RelatedProductsVariantSelectorsV1/index.d.ts +0 -1
  1159. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.d.ts +0 -2
  1160. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.styles.d.ts +0 -1
  1161. package/lib/components/RelatedProductsVariantSelectorsV2/RelatedProductsVariantSelectors.types.d.ts +0 -19
  1162. package/lib/components/RelatedProductsVariantSelectorsV2/index.d.ts +0 -1
  1163. package/lib/components/SearchInput/Input.styles.d.ts +0 -20
  1164. package/lib/components/SkeletonFootnote/SkeletonFootnote.d.ts +0 -6
  1165. package/lib/components/SkeletonFootnote/SkeletonFootnote.js +0 -48
  1166. package/lib/components/SkeletonFootnote/SkeletonFootnote.js.map +0 -1
  1167. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs +0 -39
  1168. package/lib/components/SkeletonFootnote/SkeletonFootnote.mjs.map +0 -1
  1169. package/lib/components/SkeletonFootnote/index.d.ts +0 -1
  1170. package/lib/components/SkeletonFootnote/index.js +0 -6
  1171. package/lib/components/SkeletonFootnote/index.js.map +0 -1
  1172. package/lib/components/SkeletonFootnote/index.mjs +0 -3
  1173. package/lib/components/SkeletonFootnote/index.mjs.map +0 -1
  1174. package/lib/components/StorageSliders/Slider/Slider.d.ts +0 -2
  1175. package/lib/components/StorageSliders/Slider/Slider.js +0 -41
  1176. package/lib/components/StorageSliders/Slider/Slider.js.map +0 -1
  1177. package/lib/components/StorageSliders/Slider/Slider.mjs +0 -39
  1178. package/lib/components/StorageSliders/Slider/Slider.mjs.map +0 -1
  1179. package/lib/components/StorageSliders/Slider/Slider.styles.d.ts +0 -12
  1180. package/lib/components/StorageSliders/Slider/Slider.styles.js +0 -76
  1181. package/lib/components/StorageSliders/Slider/Slider.styles.js.map +0 -1
  1182. package/lib/components/StorageSliders/Slider/Slider.styles.mjs +0 -63
  1183. package/lib/components/StorageSliders/Slider/Slider.styles.mjs.map +0 -1
  1184. package/lib/components/StorageSliders/Slider/Slider.types.d.ts +0 -5
  1185. package/lib/components/StorageSliders/Slider/index.d.ts +0 -1
  1186. package/lib/components/StorageSliders/Slider/index.js +0 -6
  1187. package/lib/components/StorageSliders/Slider/index.js.map +0 -1
  1188. package/lib/components/StorageSliders/Slider/index.mjs +0 -3
  1189. package/lib/components/StorageSliders/Slider/index.mjs.map +0 -1
  1190. package/lib/components/StorageSliders/StorageSliders.constants.d.ts +0 -19
  1191. package/lib/components/StorageSliders/StorageSliders.constants.js +0 -41
  1192. package/lib/components/StorageSliders/StorageSliders.constants.js.map +0 -1
  1193. package/lib/components/StorageSliders/StorageSliders.constants.mjs +0 -38
  1194. package/lib/components/StorageSliders/StorageSliders.constants.mjs.map +0 -1
  1195. package/lib/components/StorageSliders/StorageSliders.context.d.ts +0 -7
  1196. package/lib/components/StorageSliders/StorageSliders.context.js +0 -148
  1197. package/lib/components/StorageSliders/StorageSliders.context.js.map +0 -1
  1198. package/lib/components/StorageSliders/StorageSliders.context.mjs +0 -145
  1199. package/lib/components/StorageSliders/StorageSliders.context.mjs.map +0 -1
  1200. package/lib/components/StorageSliders/StorageSliders.d.ts +0 -2
  1201. package/lib/components/StorageSliders/StorageSliders.js +0 -102
  1202. package/lib/components/StorageSliders/StorageSliders.js.map +0 -1
  1203. package/lib/components/StorageSliders/StorageSliders.mjs +0 -94
  1204. package/lib/components/StorageSliders/StorageSliders.mjs.map +0 -1
  1205. package/lib/components/StorageSliders/StorageSliders.styles.d.ts +0 -16
  1206. package/lib/components/StorageSliders/StorageSliders.styles.js +0 -154
  1207. package/lib/components/StorageSliders/StorageSliders.styles.js.map +0 -1
  1208. package/lib/components/StorageSliders/StorageSliders.styles.mjs +0 -137
  1209. package/lib/components/StorageSliders/StorageSliders.styles.mjs.map +0 -1
  1210. package/lib/components/StorageSliders/StorageSliders.types.d.ts +0 -25
  1211. package/lib/components/StorageSliders/StorageSliders.types.js +0 -10
  1212. package/lib/components/StorageSliders/StorageSliders.types.js.map +0 -1
  1213. package/lib/components/StorageSliders/StorageSliders.types.mjs +0 -9
  1214. package/lib/components/StorageSliders/StorageSliders.types.mjs.map +0 -1
  1215. package/lib/components/StorageSliders/StorageSliders.utils.d.ts +0 -11
  1216. package/lib/components/StorageSliders/StorageSliders.utils.js +0 -45
  1217. package/lib/components/StorageSliders/StorageSliders.utils.js.map +0 -1
  1218. package/lib/components/StorageSliders/StorageSliders.utils.mjs +0 -42
  1219. package/lib/components/StorageSliders/StorageSliders.utils.mjs.map +0 -1
  1220. package/lib/components/StorageSliders/index.d.ts +0 -1
  1221. package/lib/components/StorageSliders/index.js +0 -6
  1222. package/lib/components/StorageSliders/index.js.map +0 -1
  1223. package/lib/components/StorageSliders/index.mjs +0 -3
  1224. package/lib/components/StorageSliders/index.mjs.map +0 -1
  1225. package/lib/components/TabinationButtons/TabinationButtons.d.ts +0 -2
  1226. package/lib/components/TabinationButtons/TabinationButtons.styles.d.ts +0 -13
  1227. package/lib/components/TabinationButtons/TabinationButtons.types.d.ts +0 -22
  1228. package/lib/components/TabinationButtons/index.d.ts +0 -1
  1229. package/lib/components/TopologyScheme/TopologyScheme.d.ts +0 -2
  1230. package/lib/components/TopologyScheme/TopologyScheme.styles.d.ts +0 -20
  1231. package/lib/components/TopologyScheme/TopologyScheme.types.d.ts +0 -35
  1232. package/lib/components/TopologyScheme/index.d.ts +0 -2
  1233. package/lib/components/VariantSelector/CheckBox/CheckBox.d.ts +0 -6
  1234. package/lib/components/VariantSelector/CheckBox/CheckBox.js +0 -44
  1235. package/lib/components/VariantSelector/CheckBox/CheckBox.js.map +0 -1
  1236. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs +0 -35
  1237. package/lib/components/VariantSelector/CheckBox/CheckBox.mjs.map +0 -1
  1238. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.d.ts +0 -10
  1239. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js +0 -77
  1240. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.js.map +0 -1
  1241. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs +0 -66
  1242. package/lib/components/VariantSelector/CheckBox/CheckBox.styles.mjs.map +0 -1
  1243. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js +0 -27
  1244. package/lib/components/VariantSelector/CheckBox/assets/check.svg.js.map +0 -1
  1245. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs +0 -3
  1246. package/lib/components/VariantSelector/CheckBox/assets/check.svg.mjs.map +0 -1
  1247. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js +0 -27
  1248. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.js.map +0 -1
  1249. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs +0 -3
  1250. package/lib/components/VariantSelector/CheckBox/assets/plus.svg.mjs.map +0 -1
  1251. package/lib/components/VariantSelector/CheckBox/index.d.ts +0 -1
  1252. package/lib/components/VariantSelector/CheckBox/index.js +0 -6
  1253. package/lib/components/VariantSelector/CheckBox/index.js.map +0 -1
  1254. package/lib/components/VariantSelector/CheckBox/index.mjs +0 -3
  1255. package/lib/components/VariantSelector/CheckBox/index.mjs.map +0 -1
  1256. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.d.ts +0 -5
  1257. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js +0 -109
  1258. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.js.map +0 -1
  1259. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs +0 -87
  1260. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.mjs.map +0 -1
  1261. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.d.ts +0 -7
  1262. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js +0 -71
  1263. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.js.map +0 -1
  1264. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs +0 -57
  1265. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.styles.mjs.map +0 -1
  1266. package/lib/components/VariantSelector/Variant/BundleOffer/BundleOffer.types.d.ts +0 -6
  1267. package/lib/components/VariantSelector/Variant/BundleOffer/index.d.ts +0 -1
  1268. package/lib/components/VariantSelector/Variant/BundleOffer/index.js +0 -6
  1269. package/lib/components/VariantSelector/Variant/BundleOffer/index.js.map +0 -1
  1270. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs +0 -3
  1271. package/lib/components/VariantSelector/Variant/BundleOffer/index.mjs.map +0 -1
  1272. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js +0 -37
  1273. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.js.map +0 -1
  1274. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs +0 -23
  1275. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ar.json.mjs.map +0 -1
  1276. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js +0 -37
  1277. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.js.map +0 -1
  1278. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs +0 -23
  1279. package/lib/components/VariantSelector/Variant/BundleOffer/translations/de.json.mjs.map +0 -1
  1280. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js +0 -37
  1281. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.js.map +0 -1
  1282. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs +0 -23
  1283. package/lib/components/VariantSelector/Variant/BundleOffer/translations/el.json.mjs.map +0 -1
  1284. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js +0 -30
  1285. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.js.map +0 -1
  1286. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs +0 -18
  1287. package/lib/components/VariantSelector/Variant/BundleOffer/translations/en.json.mjs.map +0 -1
  1288. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js +0 -37
  1289. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.js.map +0 -1
  1290. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs +0 -23
  1291. package/lib/components/VariantSelector/Variant/BundleOffer/translations/es.json.mjs.map +0 -1
  1292. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js +0 -37
  1293. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.js.map +0 -1
  1294. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs +0 -23
  1295. package/lib/components/VariantSelector/Variant/BundleOffer/translations/fr.json.mjs.map +0 -1
  1296. package/lib/components/VariantSelector/Variant/BundleOffer/translations/index.d.ts +0 -11
  1297. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js +0 -37
  1298. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.js.map +0 -1
  1299. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs +0 -23
  1300. package/lib/components/VariantSelector/Variant/BundleOffer/translations/it.json.mjs.map +0 -1
  1301. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js +0 -37
  1302. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.js.map +0 -1
  1303. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs +0 -23
  1304. package/lib/components/VariantSelector/Variant/BundleOffer/translations/ja.json.mjs.map +0 -1
  1305. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js +0 -37
  1306. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.js.map +0 -1
  1307. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs +0 -23
  1308. package/lib/components/VariantSelector/Variant/BundleOffer/translations/pt-BR.json.mjs.map +0 -1
  1309. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js +0 -37
  1310. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.js.map +0 -1
  1311. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs +0 -23
  1312. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hans.json.mjs.map +0 -1
  1313. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js +0 -37
  1314. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.js.map +0 -1
  1315. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs +0 -23
  1316. package/lib/components/VariantSelector/Variant/BundleOffer/translations/zh-Hant-TW.json.mjs.map +0 -1
  1317. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.d.ts +0 -2
  1318. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js +0 -22
  1319. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.js.map +0 -1
  1320. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs +0 -21
  1321. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.mjs.map +0 -1
  1322. package/lib/components/VariantSelector/Variant/BundleOffer/utils/getBundleOfferQuantity.test.d.ts +0 -1
  1323. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.d.ts +0 -2
  1324. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js +0 -124
  1325. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.js.map +0 -1
  1326. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs +0 -116
  1327. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.mjs.map +0 -1
  1328. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.d.ts +0 -24
  1329. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js +0 -158
  1330. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.js.map +0 -1
  1331. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs +0 -135
  1332. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.styles.mjs.map +0 -1
  1333. package/lib/components/VariantSelector/Variant/Compatibility/Compatibility.types.d.ts +0 -11
  1334. package/lib/components/VariantSelector/Variant/Compatibility/index.d.ts +0 -1
  1335. package/lib/components/VariantSelector/Variant/Compatibility/index.js +0 -6
  1336. package/lib/components/VariantSelector/Variant/Compatibility/index.js.map +0 -1
  1337. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs +0 -3
  1338. package/lib/components/VariantSelector/Variant/Compatibility/index.mjs.map +0 -1
  1339. package/lib/components/VariantSelector/Variant/Variant.d.ts +0 -2
  1340. package/lib/components/VariantSelector/Variant/Variant.js +0 -699
  1341. package/lib/components/VariantSelector/Variant/Variant.js.map +0 -1
  1342. package/lib/components/VariantSelector/Variant/Variant.mjs +0 -691
  1343. package/lib/components/VariantSelector/Variant/Variant.mjs.map +0 -1
  1344. package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +0 -87
  1345. package/lib/components/VariantSelector/Variant/Variant.styles.js +0 -527
  1346. package/lib/components/VariantSelector/Variant/Variant.styles.js.map +0 -1
  1347. package/lib/components/VariantSelector/Variant/Variant.styles.mjs +0 -465
  1348. package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +0 -1
  1349. package/lib/components/VariantSelector/Variant/Variant.types.d.ts +0 -18
  1350. package/lib/components/VariantSelector/Variant/index.d.ts +0 -1
  1351. package/lib/components/VariantSelector/Variant/index.js +0 -6
  1352. package/lib/components/VariantSelector/Variant/index.js.map +0 -1
  1353. package/lib/components/VariantSelector/Variant/index.mjs +0 -3
  1354. package/lib/components/VariantSelector/Variant/index.mjs.map +0 -1
  1355. package/lib/components/VariantSelector/VariantSelector.constants.d.ts +0 -50
  1356. package/lib/components/VariantSelector/VariantSelector.constants.js +0 -87
  1357. package/lib/components/VariantSelector/VariantSelector.constants.js.map +0 -1
  1358. package/lib/components/VariantSelector/VariantSelector.constants.mjs +0 -84
  1359. package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +0 -1
  1360. package/lib/components/VariantSelector/VariantSelector.d.ts +0 -7
  1361. package/lib/components/VariantSelector/VariantSelector.js +0 -162
  1362. package/lib/components/VariantSelector/VariantSelector.js.map +0 -1
  1363. package/lib/components/VariantSelector/VariantSelector.mjs +0 -153
  1364. package/lib/components/VariantSelector/VariantSelector.mjs.map +0 -1
  1365. package/lib/components/VariantSelector/VariantSelector.styles.d.ts +0 -20
  1366. package/lib/components/VariantSelector/VariantSelector.styles.js +0 -112
  1367. package/lib/components/VariantSelector/VariantSelector.styles.js.map +0 -1
  1368. package/lib/components/VariantSelector/VariantSelector.styles.mjs +0 -95
  1369. package/lib/components/VariantSelector/VariantSelector.styles.mjs.map +0 -1
  1370. package/lib/components/VariantSelector/VariantSelector.types.d.ts +0 -38
  1371. package/lib/components/VariantSelector/index.d.ts +0 -1
  1372. package/lib/components/VariantSelector/index.js +0 -6
  1373. package/lib/components/VariantSelector/index.js.map +0 -1
  1374. package/lib/components/VariantSelector/index.mjs +0 -3
  1375. package/lib/components/VariantSelector/index.mjs.map +0 -1
  1376. package/lib/components/VariantSelector/utils.d.ts +0 -11
  1377. package/lib/components/VariantSelectorItem/VariantSelectorItem.d.ts +0 -3
  1378. package/lib/components/VariantSelectorItem/VariantSelectorItem.js +0 -18
  1379. package/lib/components/VariantSelectorItem/VariantSelectorItem.js.map +0 -1
  1380. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs +0 -16
  1381. package/lib/components/VariantSelectorItem/VariantSelectorItem.mjs.map +0 -1
  1382. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.d.ts +0 -4
  1383. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js +0 -47
  1384. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.js.map +0 -1
  1385. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs +0 -38
  1386. package/lib/components/VariantSelectorItem/VariantSelectorItem.styles.mjs.map +0 -1
  1387. package/lib/components/VariantSelectorItem/VariantSelectorItem.types.d.ts +0 -5
  1388. package/lib/components/VariantSelectorItem/index.d.ts +0 -1
  1389. package/lib/components/VariantSelectorItem/index.js +0 -6
  1390. package/lib/components/VariantSelectorItem/index.js.map +0 -1
  1391. package/lib/components/VariantSelectorItem/index.mjs +0 -3
  1392. package/lib/components/VariantSelectorItem/index.mjs.map +0 -1
  1393. package/lib/components/VariantSelectorV1/VariantSelector.d.ts +0 -2
  1394. package/lib/components/VariantSelectorV1/VariantSelector.styles.d.ts +0 -39
  1395. package/lib/components/VariantSelectorV1/VariantSelector.types.d.ts +0 -66
  1396. package/lib/components/VariantSelectorV1/index.d.ts +0 -1
  1397. package/lib/components/VariantSelectorV2/VariantSelector.d.ts +0 -2
  1398. package/lib/components/VariantSelectorV2/VariantSelector.styles.d.ts +0 -25
  1399. package/lib/components/VariantSelectorV2/VariantSelector.types.d.ts +0 -66
  1400. package/lib/components/VariantSelectorV2/index.d.ts +0 -1
  1401. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.d.ts +0 -7
  1402. package/lib/components/VideoCookiesConsent/VideoCookiesConsent.styles.d.ts +0 -9
  1403. package/lib/components/VideoCookiesConsent/index.d.ts +0 -1
  1404. package/lib/components/VideoPlayer/VideoPlayer.d.ts +0 -8
  1405. package/lib/components/VideoPlayer/VideoPlayer.styles.d.ts +0 -7
  1406. package/lib/components/VideoPlayer/index.d.ts +0 -1
  1407. package/lib/components/YouTubePlayer/YouTubePlayer.d.ts +0 -2
  1408. package/lib/components/YouTubePlayer/YouTubePlayer.types.d.ts +0 -18
  1409. package/lib/components/YouTubePlayer/index.d.ts +0 -1
  1410. package/lib/constants/icons/options/colors/black.svg.js +0 -27
  1411. package/lib/constants/icons/options/colors/black.svg.js.map +0 -1
  1412. package/lib/constants/icons/options/colors/black.svg.mjs +0 -3
  1413. package/lib/constants/icons/options/colors/black.svg.mjs.map +0 -1
  1414. package/lib/constants/icons/options/colors/blue.svg.js +0 -27
  1415. package/lib/constants/icons/options/colors/blue.svg.js.map +0 -1
  1416. package/lib/constants/icons/options/colors/blue.svg.mjs +0 -3
  1417. package/lib/constants/icons/options/colors/blue.svg.mjs.map +0 -1
  1418. package/lib/constants/icons/options/colors/darkGrey.svg.js +0 -27
  1419. package/lib/constants/icons/options/colors/darkGrey.svg.js.map +0 -1
  1420. package/lib/constants/icons/options/colors/darkGrey.svg.mjs +0 -3
  1421. package/lib/constants/icons/options/colors/darkGrey.svg.mjs.map +0 -1
  1422. package/lib/constants/icons/options/colors/grey.svg.js +0 -27
  1423. package/lib/constants/icons/options/colors/grey.svg.js.map +0 -1
  1424. package/lib/constants/icons/options/colors/grey.svg.mjs +0 -3
  1425. package/lib/constants/icons/options/colors/grey.svg.mjs.map +0 -1
  1426. package/lib/constants/icons/options/colors/index.d.ts +0 -6
  1427. package/lib/constants/icons/options/colors/index.js +0 -63
  1428. package/lib/constants/icons/options/colors/index.js.map +0 -1
  1429. package/lib/constants/icons/options/colors/index.mjs +0 -14
  1430. package/lib/constants/icons/options/colors/index.mjs.map +0 -1
  1431. package/lib/constants/icons/options/colors/lightGrey.svg.js +0 -27
  1432. package/lib/constants/icons/options/colors/lightGrey.svg.js.map +0 -1
  1433. package/lib/constants/icons/options/colors/lightGrey.svg.mjs +0 -3
  1434. package/lib/constants/icons/options/colors/lightGrey.svg.mjs.map +0 -1
  1435. package/lib/constants/icons/options/colors/white.svg.js +0 -27
  1436. package/lib/constants/icons/options/colors/white.svg.js.map +0 -1
  1437. package/lib/constants/icons/options/colors/white.svg.mjs +0 -3
  1438. package/lib/constants/icons/options/colors/white.svg.mjs.map +0 -1
  1439. package/lib/constants/icons/options/index.d.ts +0 -2
  1440. package/lib/constants/icons/options/index.js +0 -8
  1441. package/lib/constants/icons/options/index.js.map +0 -1
  1442. package/lib/constants/icons/options/index.mjs +0 -6
  1443. package/lib/constants/icons/options/index.mjs.map +0 -1
  1444. package/lib/constants/icons/options/styles/black.svg.js +0 -27
  1445. package/lib/constants/icons/options/styles/black.svg.js.map +0 -1
  1446. package/lib/constants/icons/options/styles/black.svg.mjs +0 -3
  1447. package/lib/constants/icons/options/styles/black.svg.mjs.map +0 -1
  1448. package/lib/constants/icons/options/styles/blackFabric.png.js +0 -27
  1449. package/lib/constants/icons/options/styles/blackFabric.png.js.map +0 -1
  1450. package/lib/constants/icons/options/styles/blackFabric.png.mjs +0 -3
  1451. package/lib/constants/icons/options/styles/blackFabric.png.mjs.map +0 -1
  1452. package/lib/constants/icons/options/styles/camo.png.js +0 -27
  1453. package/lib/constants/icons/options/styles/camo.png.js.map +0 -1
  1454. package/lib/constants/icons/options/styles/camo.png.mjs +0 -3
  1455. package/lib/constants/icons/options/styles/camo.png.mjs.map +0 -1
  1456. package/lib/constants/icons/options/styles/concrete.png.js +0 -27
  1457. package/lib/constants/icons/options/styles/concrete.png.js.map +0 -1
  1458. package/lib/constants/icons/options/styles/concrete.png.mjs +0 -3
  1459. package/lib/constants/icons/options/styles/concrete.png.mjs.map +0 -1
  1460. package/lib/constants/icons/options/styles/index.d.ts +0 -6
  1461. package/lib/constants/icons/options/styles/index.js +0 -63
  1462. package/lib/constants/icons/options/styles/index.js.map +0 -1
  1463. package/lib/constants/icons/options/styles/index.mjs +0 -14
  1464. package/lib/constants/icons/options/styles/index.mjs.map +0 -1
  1465. package/lib/constants/icons/options/styles/marble.png.js +0 -27
  1466. package/lib/constants/icons/options/styles/marble.png.js.map +0 -1
  1467. package/lib/constants/icons/options/styles/marble.png.mjs +0 -3
  1468. package/lib/constants/icons/options/styles/marble.png.mjs.map +0 -1
  1469. package/lib/constants/icons/options/styles/wood.png.js +0 -27
  1470. package/lib/constants/icons/options/styles/wood.png.js.map +0 -1
  1471. package/lib/constants/icons/options/styles/wood.png.mjs +0 -3
  1472. package/lib/constants/icons/options/styles/wood.png.mjs.map +0 -1
  1473. package/lib/constants/optionIcons.d.ts +0 -23
  1474. package/lib/constants/optionIcons.js +0 -97
  1475. package/lib/constants/optionIcons.js.map +0 -1
  1476. package/lib/constants/optionIcons.mjs +0 -76
  1477. package/lib/constants/optionIcons.mjs.map +0 -1
  1478. package/lib/helpers/shopify/product.d.ts +0 -5
  1479. package/lib/helpers/shopify/product.js +0 -52
  1480. package/lib/helpers/shopify/product.js.map +0 -1
  1481. package/lib/helpers/shopify/product.mjs +0 -50
  1482. package/lib/helpers/shopify/product.mjs.map +0 -1
  1483. package/lib/utils/cdn.d.ts +0 -5
  1484. package/lib/utils/collectionSlug.d.ts +0 -5
  1485. package/lib/utils/collectionSlug.js +0 -13
  1486. package/lib/utils/collectionSlug.js.map +0 -1
  1487. package/lib/utils/collectionSlug.mjs +0 -12
  1488. package/lib/utils/collectionSlug.mjs.map +0 -1
  1489. package/lib/utils/collectionSlug.test.d.ts +0 -1
  1490. package/lib/utils/variant.d.ts +0 -8
  1491. package/lib/utils/variant.js +0 -20
  1492. package/lib/utils/variant.js.map +0 -1
  1493. package/lib/utils/variant.mjs +0 -18
  1494. package/lib/utils/variant.mjs.map +0 -1
  1495. package/lib/utils/variant.test.d.ts +0 -1
  1496. package/lib/utils/wattage.d.ts +0 -11
  1497. package/lib/utils/wattage.js +0 -20
  1498. package/lib/utils/wattage.js.map +0 -1
  1499. package/lib/utils/wattage.mjs +0 -18
  1500. package/lib/utils/wattage.mjs.map +0 -1
  1501. package/lib/utils/wattage.test.d.ts +0 -1
  1502. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.d.ts +0 -0
  1503. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.styles.d.ts +0 -0
  1504. /package/lib/components/{CartIcon → Header/CartIcon}/CartIcon.types.d.ts +0 -0
  1505. /package/lib/components/{CartIcon → Header/CartIcon}/index.d.ts +0 -0
  1506. /package/lib/components/{CartIcon → Header/CartIcon}/index.js +0 -0
  1507. /package/lib/components/{Banner → Header/CartIcon}/index.js.map +0 -0
  1508. /package/lib/components/{CartIcon → Header/CartIcon}/index.mjs +0 -0
  1509. /package/lib/components/{Banner → Header/CartIcon}/index.mjs.map +0 -0
  1510. /package/lib/components/{Banner/Banner.styles.d.ts → MicrositeBanner/MicrositeBanner.styles.d.ts} +0 -0
  1511. /package/lib/components/{CartIcon → MicrositeBanner}/index.js.map +0 -0
  1512. /package/lib/components/{CartIcon → MicrositeBanner}/index.mjs.map +0 -0
  1513. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.js.map +0 -0
  1514. /package/lib/components/{CartSummary → MicrositeProgressCircle}/index.mjs.map +0 -0
  1515. /package/lib/components/{Gallery → ProductTechSpecs}/index.js.map +0 -0
  1516. /package/lib/components/{Gallery → ProductTechSpecs}/index.mjs.map +0 -0
@@ -75,9 +75,7 @@ const GlobalHeader = React.memo(function GlobalHeader2({
75
75
  onModalOpen,
76
76
  onMenuItemLinkClick,
77
77
  onMenuSubItemLinkClick,
78
- onSearchResultsAction,
79
78
  account,
80
- search,
81
79
  cart,
82
80
  onCartClick,
83
81
  sticky: stickyInitial,
@@ -554,9 +552,7 @@ const GlobalHeader = React.memo(function GlobalHeader2({
554
552
  }), !isSsr && activeModal === types.ModalId.MobileMenu && /* @__PURE__ */jsxRuntime.jsx(MobileMenu.NavigationMobileMenu, {
555
553
  translations,
556
554
  onClose: handleModalClose,
557
- onSearchResultsAction,
558
555
  renderImage,
559
- search,
560
556
  storeLink,
561
557
  hasMicrositeMenu: !!micrositeMenu
562
558
  }), /* @__PURE__ */jsxRuntime.jsx(Carousel.NavigationCarousel, {
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n onSearchResultsAction,\n account,\n search,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // // Callback ref used to get child component reference\n // // @see https://reactjs.org/docs/refs-and-the-dom.html#callback-refs\n // const [searchInputRef, setSearchInputRef] = useState<HTMLInputElement | null>(\n // null\n // );\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // const handleShowSearchTab = useCallback(\n // (e: React.MouseEvent<HTMLElement>) => {\n // // Open search modal\n // handleModalOpen(e, ModalId.Search);\n\n // if (searchInputRef) {\n // // * search input focus triggered via a user action so keyboard visible on ios onFocus\n // // @see https://stackoverflow.com/questions/4609765/manually-triggering-the-iphone-ipad-ipod-keyboard-from-javascript\n // searchInputRef.focus();\n // }\n // },\n // [handleModalOpen, searchInputRef]\n // );\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchTabWrap\n data-test-id=\"search-input\"\n hide={activeModal !== ModalId.Search}\n >\n <SearchTab\n translations={translations}\n onClose={handleModalClose}\n setInputRef={setSearchInputRef}\n showSearchTab={activeModal === ModalId.Search}\n motif={headerBarMotif}\n onSearchResultsAction={onSearchResultsAction}\n search={search}\n />\n </S.SearchTabWrap> */}\n\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n onSearchResultsAction={onSearchResultsAction}\n renderImage={renderImage}\n search={search}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","onSearchResultsAction","account","search","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","IconWrap","onClick","Account","S.SvgIcon","SvgIcon","src","icons.header.account","width","HEADER_ICON_SIZE","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","Wrap","ref","S.HeaderWrap","HeaderWrap","noWrapHeight","S.Header","Header","transparent","S.Container","Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Anchor","Uisp","Ui","onTouchEnd","LogoIconWrap","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","InnerLeftWrap","$center","S.MenuItemWrap","MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,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AAA,CACF,CAAA,EAEC9G,aACC,mBAAAsH,UAAA,CAAAA,GAAA,CAACiI,aAAA,CAAAA,uBAAA,EAAA;MACE,GAAGvP,aAAA;MACJmF,IAAM,EAAAL,iBAAA;MACN8D,OAAA,EAASA,CAAA,KAAMnE,yBAAA,CAA0B,KAAK,CAAA;MAC9C6K,YAAc,EAAA7P;IAAA,CAChB,CAAA,EAGD,CAACiB,KACA,IAAA,eAAA4G,UAAA,CAAAA,GAAA,CAACkI,OAAA,CAAAA,aAAA,EAAA;MACCC,YAAc,EAAAvJ,mBAAA;MACd0C,OAAS,EAAAhF;IAAA,CAAA,CAAA;GAGf,CAAA;AAEJ,CAAC,CAAA;"}
1
+ {"version":3,"file":"Header.js","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n account,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n renderImage={renderImage}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","account","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","Promise","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","resolve","require","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","IconWrap","onClick","Account","S.SvgIcon","SvgIcon","src","icons.header.account","width","HEADER_ICON_SIZE","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","Wrap","ref","S.HeaderWrap","HeaderWrap","noWrapHeight","S.Header","Header","transparent","S.Container","Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Anchor","Uisp","Ui","onTouchEnd","LogoIconWrap","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","InnerLeftWrap","$center","S.MenuItemWrap","MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CACF,CAAA,EAEC9G,aACC,mBAAAsH,UAAA,CAAAA,GAAA,CAACiI,aAAA,CAAAA,uBAAA,EAAA;MACE,GAAGvP,aAAA;MACJmF,IAAM,EAAAL,iBAAA;MACN8D,OAAA,EAASA,CAAA,KAAMnE,yBAAA,CAA0B,KAAK,CAAA;MAC9C6K,YAAc,EAAA7P;IAAA,CAChB,CAAA,EAGD,CAACiB,KACA,IAAA,eAAA4G,UAAA,CAAAA,GAAA,CAACkI,OAAA,CAAAA,aAAA,EAAA;MACCC,YAAc,EAAAvJ,mBAAA;MACd0C,OAAS,EAAAhF;IAAA,CAAA,CAAA;GAGf,CAAA;AAEJ,CAAC,CAAA;"}
@@ -60,9 +60,7 @@ const GlobalHeader = memo(function GlobalHeader2({
60
60
  onModalOpen,
61
61
  onMenuItemLinkClick,
62
62
  onMenuSubItemLinkClick,
63
- onSearchResultsAction,
64
63
  account,
65
- search,
66
64
  cart,
67
65
  onCartClick,
68
66
  sticky: stickyInitial,
@@ -519,9 +517,7 @@ const GlobalHeader = memo(function GlobalHeader2({
519
517
  }), !isSsr && activeModal === ModalId.MobileMenu && /* @__PURE__ */jsx(NavigationMobileMenu, {
520
518
  translations,
521
519
  onClose: handleModalClose,
522
- onSearchResultsAction,
523
520
  renderImage,
524
- search,
525
521
  storeLink,
526
522
  hasMicrositeMenu: !!micrositeMenu
527
523
  }), /* @__PURE__ */jsx(NavigationCarousel, {
@@ -1 +1 @@
1
- {"version":3,"file":"Header.mjs","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n onSearchResultsAction,\n account,\n search,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // // Callback ref used to get child component reference\n // // @see https://reactjs.org/docs/refs-and-the-dom.html#callback-refs\n // const [searchInputRef, setSearchInputRef] = useState<HTMLInputElement | null>(\n // null\n // );\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n /** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */\n // const handleShowSearchTab = useCallback(\n // (e: React.MouseEvent<HTMLElement>) => {\n // // Open search modal\n // handleModalOpen(e, ModalId.Search);\n\n // if (searchInputRef) {\n // // * search input focus triggered via a user action so keyboard visible on ios onFocus\n // // @see https://stackoverflow.com/questions/4609765/manually-triggering-the-iphone-ipad-ipod-keyboard-from-javascript\n // searchInputRef.focus();\n // }\n // },\n // [handleModalOpen, searchInputRef]\n // );\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.SearchTabWrap\n data-test-id=\"search-input\"\n hide={activeModal !== ModalId.Search}\n >\n <SearchTab\n translations={translations}\n onClose={handleModalClose}\n setInputRef={setSearchInputRef}\n showSearchTab={activeModal === ModalId.Search}\n motif={headerBarMotif}\n onSearchResultsAction={onSearchResultsAction}\n search={search}\n />\n </S.SearchTabWrap> */}\n\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n onSearchResultsAction={onSearchResultsAction}\n renderImage={renderImage}\n search={search}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","onSearchResultsAction","account","search","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","onClick","Account","S.SvgIcon","src","icons.header.account","width","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","ref","S.HeaderWrap","noWrapHeight","S.Header","transparent","S.Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Uisp","Ui","onTouchEnd","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","$center","S.MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,IAAK,CAAA,SAASD,aAAaE,CAAA;EACrDC,SAAA;EACAC,KAAO,EAAAC,SAAA;EACPC,YAAc,E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,EAAI,IAAC;YAAAX,MAAA,EAAQjK,QAAQyE,OACrC;YAAAL,QAAA,iBAAAH,GAAA,CAAC6G,aAAA,EAAA;cAMCX,IAAI,EAAA,IAAA;cACJhF,OAAS,EAAA5E,gBAAA;cACTzE;YAAA;WAEJ;QACF,CAAA,CAAA,CAAA;MAAA,CAAA;KAGR,CAAA,EAEC,CAAC0B,KAAS,IAAAoF,iBAAA,IAAqBvG,IAC9B,mBAAA4H,GAAA,CAAC8G,SAAA,EAAA;MACCrP,YAAA;MACAE,WAAA;MACAuJ,OAAS,EAAA5E,gBAAA;MACTlE;IAAA,CACF,CAAA,EAGD,CAACmB,KAAA,IAASG,WAAgB,KAAAqC,OAAA,CAAQgB,UACjC,IAAA,eAAAiD,GAAA,CAAC+G,oBAAA,EAAA;MACCtP,YAAA;MACAyJ,OAAS,EAAA5E,gBAAA;MACTrE,qBAAA;MACAN,WAAA;MACAQ,MAAA;MACA4G,SAAA;MACAiI,gBAAA,EAAkB,CAAC,CAACnO;IAAA,CACtB,CAAA,EAAA,eAGFmH,GAAA,CAACiH,kBAAA,EAAA;MACCjP,sBAAA;MACAkP,YAAc,EAAA5O,MAAA;MACdA,MAAQ,EAAAE,cAAA;MACRgH;IAAA,CACF,CAAA,EAEC3G,aACC,mBAAAmH,GAAA,CAACmH,uBAAA,EAAA;MACE,GAAGtO,aAAA;MACJgF,IAAM,EAAAL,iBAAA;MACN0D,OAAA,EAASA,CAAA,KAAM/D,yBAAA,CAA0B,KAAK,CAAA;MAC9C+J,YAAc,EAAA5O;IAAA,CAChB,CAAA,EAGD,CAACiB,KACA,IAAA,eAAAyG,GAAA,CAACoH,aAAA,EAAA;MACCC,YAAc,EAAAzI,mBAAA;MACdsC,OAAS,EAAA5E;IAAA,CAAA,CAAA;GAGf,CAAA;AAEJ,CAAC,CAAA;"}
1
+ {"version":3,"file":"Header.mjs","sources":["../../../src/components/Header/Header.tsx"],"sourcesContent":["import { LineLoader } from \"@ubnt/ui-components/LineLoader\";\nimport type { Motif } from \"@ubnt/ui-components/utils\";\nimport merge from \"lodash/merge\";\nimport type { TouchEvent } from \"react\";\nimport type React from \"react\";\nimport {\n cloneElement,\n isValidElement,\n memo,\n useCallback,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n useHoverDirty,\n useKeyPressEvent,\n useMedia,\n useWindowScroll,\n} from \"react-use\";\n\nimport * as icons from \"../../constants/icons\";\nimport { BREAKPOINTS } from \"../../constants/layout\";\nimport {\n UISPCategorySlug,\n UniFiCategorySlug,\n} from \"../../constants/proStoreCategories/mapping\";\nimport { ExternalUrl } from \"../../constants/url\";\nimport { useMenu } from \"../../contexts/MenuContext\";\nimport { Language, SiteId } from \"../../contexts/MenuContext/mapping\";\nimport { ModalId } from \"../../contexts/MenuContext/types\";\nimport { filterOutUnrenderableItems } from \"../../contexts/MenuContext/utils\";\nimport { useTranslation } from \"../../hooks/useTranslation\";\nimport { MobileModal } from \"../MobileModal\";\nimport { StyleableSvgImage } from \"../StyleableSvgImage\";\nimport { AccountFrameMobile } from \"./AccountFrame/Mobile\";\nimport type { AccountMenuProps } from \"./AccountMenu/AccountMenu.types\";\nimport { EmptyCartModal } from \"./CartModal/Empty\";\nimport { CartModal } from \"./CartModalV2\";\nimport * as S from \"./Header.styles\";\nimport type { HeaderProps } from \"./Header.types\";\nimport { defaultHeaderTranslations } from \"./Header.types\";\nimport { LanguageFrame } from \"./LanguageFrame\";\nimport { LanguageFrameMobile } from \"./LanguageFrame/Mobile\";\nimport { MenuItem } from \"./MenuItem\";\nimport { MenuButton } from \"./MenuItem/MenuItem\";\nimport {\n NavigationCarousel,\n NavigationMicrositeMenu,\n NavigationMobileMenu,\n} from \"./Navigation\";\nimport { HeaderOverlay } from \"./Overlay\";\nimport { en as EN_TRANSLATION } from \"./translations\";\n\n/**\n * NOTE: use MenuContext.ModalId, handleModalOpen and handleModalClose when adding new\n * modals to header\n */\n\nexport const GlobalHeader = memo(function GlobalHeader({\n className,\n motif: propMotif,\n translations: initialTranslations,\n renderImage,\n showLineLoader,\n onLanguageChange,\n onModalOpen,\n onMenuItemLinkClick,\n onMenuSubItemLinkClick,\n account,\n cart,\n onCartClick,\n sticky: stickyInitial,\n stickyCarousel,\n initialActiveModal,\n onActiveModal,\n trackStoreSearchClick,\n transparentHeader,\n micrositeMenu,\n embedConfig,\n accountMenu,\n}: HeaderProps) {\n const isMobile = useMedia(BREAKPOINTS.TOP_NAV_MOBILE_AND_DOWN, false);\n\n // #############################################################################\n // Merge translations\n // #############################################################################\n const translations = useMemo(() => {\n return merge(defaultHeaderTranslations, initialTranslations);\n }, [initialTranslations]);\n\n // #############################################################################\n // Menu\n // #############################################################################\n const {\n /**\n * NOTE: We use isSsr in the render to make the HTML lighter by not returning elements we don't need for initial\n * viewing such as modals etc. This results in lighter document size.\n * TODO: use next/dynamic to lazy load the non-critical elements after initial page load, we can't do it now as we\n * have microsites that don't have next/dynamic\n */\n isSsr,\n motif,\n context,\n setMotif,\n activeModal,\n prevActiveModal,\n setActiveModal,\n activeNavigationSection,\n // inactiveNavigationSection,\n setNavigationOutOfView,\n createSiteUrl,\n isMicrositeContext,\n isMultiLanguage,\n } = useMenu();\n\n const { formatMessage } = useTranslation({\n defaultTranslation: EN_TRANSLATION,\n additionalTranslations: {\n [Language.Ja]: () =>\n import(\"./translations/ja.json\").then((res) => res.default),\n [Language.Ar]: () =>\n import(\"./translations/ar.json\").then((res) => res.default),\n [Language.De]: () =>\n import(\"./translations/de.json\").then((res) => res.default),\n [Language.Es]: () =>\n import(\"./translations/es.json\").then((res) => res.default),\n [Language.El]: () =>\n import(\"./translations/el.json\").then((res) => res.default),\n [Language.It]: () =>\n import(\"./translations/it.json\").then((res) => res.default),\n [Language.Pt]: () =>\n import(\"./translations/pt-BR.json\").then((res) => res.default),\n [Language.Zh]: () =>\n import(\"./translations/zh-Hans.json\").then((res) => res.default),\n [Language.Fr]: () =>\n import(\"./translations/fr.json\").then((res) => res.default),\n [Language.Tw]: () =>\n import(\"./translations/zh-Hant-TW.json\").then((res) => res.default),\n },\n });\n\n /**\n * Update motif based on given props, it might vary by page\n */\n useEffect(() => {\n // Force dark motif for UISP\n setMotif(propMotif);\n }, [propMotif, setMotif]);\n\n // Set initial active modal\n const [initialActiveModalDone, setInitialActiveModalDone] = useState(false);\n\n useEffect(() => {\n if (!initialActiveModal || initialActiveModalDone) return;\n\n setActiveModal(initialActiveModal);\n setInitialActiveModalDone(true);\n }, [initialActiveModal, initialActiveModalDone, setActiveModal]);\n\n // Handle active modal event\n useEffect(() => {\n if (activeModal === prevActiveModal) return;\n\n onActiveModal?.(activeModal, prevActiveModal);\n }, [activeModal, onActiveModal, prevActiveModal]);\n\n // #############################################################################\n // Actions\n // #############################################################################\n const handleModalOpen = useCallback(\n (e?: React.MouseEvent<HTMLElement>, id?: ModalId) => {\n e?.stopPropagation();\n\n // Remove all toasts on modal open\n if (activeModal != id) {\n onModalOpen?.();\n }\n\n // Cart modal overwrite\n if (id === ModalId.Cart) {\n if (onCartClick) {\n // If callback-provided will execute it\n onCartClick();\n } else {\n // Otherwise navigate to store\n window.location.href = createSiteUrl([SiteId.Store, \"/checkout\"]);\n }\n return;\n }\n\n setActiveModal(!id || activeModal === id ? null : id);\n },\n [activeModal, onCartClick, setActiveModal, onModalOpen, createSiteUrl],\n );\n\n const handleModalClose = useCallback(() => {\n setActiveModal(null);\n }, [setActiveModal]);\n\n // close modal when pressing escape\n useKeyPressEvent(\"Escape\", handleModalClose);\n\n const cartQuantity = useMemo(() => {\n return cart?.items.reduce((sum, item) => sum + item.quantity, 0) ?? 0;\n }, [cart?.items]);\n\n const handleHamburgerClick = useCallback(() => {\n if (!isMobile) return;\n\n if (activeModal === ModalId.MobileMenu) {\n setActiveModal(null);\n } else {\n setActiveModal(ModalId.MobileMenu);\n }\n }, [activeModal, isMobile, setActiveModal]);\n\n // #############################################################################\n // Header bar motif override\n // #############################################################################\n const headerBarMotif = useMemo((): Motif => {\n // Force dark on search\n if (activeModal === ModalId.Search) {\n return \"dark\";\n }\n\n // Return actual motif\n return motif;\n }, [activeModal, motif]);\n\n // #############################################################################\n // Show microsite menu\n // #############################################################################\n const [showTouchMicrositeMenu, setShowTouchMicrositeMenu] = useState(false);\n\n const logoRef = useRef<HTMLDivElement>(null);\n const logoHover = useHoverDirty(logoRef);\n\n // Must separate both show states to prevent flicker\n const showMicrositeMenu = useMemo(() => {\n return logoHover || showTouchMicrositeMenu;\n }, [logoHover, showTouchMicrositeMenu]);\n\n const onLogoAnchorTouchEnd = useCallback(\n (ev: TouchEvent) => {\n // Ignore if not a microsite menu context\n if (!micrositeMenu && !embedConfig?.homeLinkClickHandler) return;\n\n ev.preventDefault();\n\n if (embedConfig?.homeLinkClickHandler) {\n embedConfig.homeLinkClickHandler();\n\n return;\n }\n\n setShowTouchMicrositeMenu((show) => !show);\n },\n [embedConfig, micrositeMenu],\n );\n\n // #############################################################################\n // Out of view handler\n // #############################################################################\n const wrapRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n // If there's no navigation, it's not visible\n if (!wrapRef.current) {\n setNavigationOutOfView(true);\n return;\n }\n\n // Use intersection observer to see if it's in the view\n const observer = new IntersectionObserver(([entry]) =>\n setNavigationOutOfView(!entry?.isIntersecting),\n );\n\n observer.observe(wrapRef.current);\n\n // Cleanup\n return () => {\n observer.disconnect();\n };\n }, [setNavigationOutOfView]);\n\n // #############################################################################\n // Sticky header\n // #############################################################################\n const { y: scrollY } = useWindowScroll();\n\n const sticky = useMemo(() => {\n return (\n // Set as sticky if mobile menu is open\n activeModal === ModalId.MobileMenu ||\n // Fallback to the default\n (stickyInitial && scrollY > 0)\n );\n }, [activeModal, scrollY, stickyInitial]);\n\n // #############################################################################\n // Modals and overlay\n // #############################################################################\n const showEmptyCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const showFullCartModal = useMemo(() => {\n return activeModal === ModalId.Cart && !onCartClick && !!cart?.items.length;\n }, [activeModal, cart?.items.length, onCartClick]);\n\n const overlayShowForModal = useMemo((): ModalId | null => {\n const overlayModals = [ModalId.Search, ModalId.Cart];\n\n if (!activeModal || !overlayModals.includes(activeModal)) {\n return null;\n }\n\n // Show modal only if the full cart modal is active\n if (activeModal === ModalId.Cart && !showFullCartModal) {\n return null;\n }\n\n return activeModal;\n }, [activeModal, showFullCartModal]);\n\n const storeLink = useMemo(() => {\n const storeLinkSearchParams = (() => {\n let category: UniFiCategorySlug | UISPCategorySlug;\n switch (activeNavigationSection.type) {\n case \"secondary\": {\n category = UISPCategorySlug[\"60GhzWireless\"];\n break;\n }\n case \"primary\": {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n default: {\n category = UniFiCategorySlug.CloudGateways;\n break;\n }\n }\n\n /** To make url's cleaner only add type if it's non-default */\n return category === UniFiCategorySlug.CloudGateways\n ? undefined\n : {\n // TODO: improve typesafety to use query key enum (that doesn't exist now) for \"type\"\n category,\n };\n })();\n\n return createSiteUrl([SiteId.Store, \"/\", storeLinkSearchParams]);\n }, [activeNavigationSection, createSiteUrl]);\n\n const handleStoreSearchClick = useCallback(() => {\n trackStoreSearchClick?.();\n }, [trackStoreSearchClick]);\n\n // #############################################################################\n // Header wrap offset for sticky carousel\n // #############################################################################\n const headerWrapRef = useRef<HTMLDivElement>(null);\n const [headerWrapScrollTop, setHeaderWrapScrollTop] = useState(0);\n\n useEffect(() => {\n // Ignore if not sticky carousel\n if (!stickyCarousel) return;\n if (sticky) {\n // Set as 0 if header is sticky\n setHeaderWrapScrollTop(0);\n } else {\n // Set negative offset top\n const headerWrapEl = headerWrapRef.current;\n if (!headerWrapEl) return;\n setHeaderWrapScrollTop(headerWrapEl.getBoundingClientRect().top);\n }\n }, [\n // HACK: needed scrollY to retrigger the effect\n scrollY,\n // #############################################################################\n sticky,\n stickyCarousel,\n ]);\n\n const avatarHtml = useMemo(() => {\n if (embedConfig?.hideAvatarIcon) {\n return null;\n }\n\n if (account?.loading) {\n return (\n <S.IconWrap $motif={motif}>\n <S.SkeletonCircleLoader diameter={S.HEADER_ICON_SIZE} />\n </S.IconWrap>\n );\n }\n\n return (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"avatar\"\n onClick={(e) => handleModalOpen(e, ModalId.Account)}\n >\n <S.SvgIcon\n src={icons.header.account}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n );\n }, [account?.loading, embedConfig?.hideAvatarIcon, handleModalOpen, motif]);\n\n const accountItem = useMemo(() => {\n if (!accountMenu) {\n return avatarHtml;\n }\n\n /**\n * We try to inject the onOpen and onClose props to the accountMenu component\n * if it's a valid React element. In most of the cases, it will\n * be <AccountMenu /> component.\n */\n if (isValidElement<AccountMenuProps>(accountMenu)) {\n return cloneElement(accountMenu, {\n /**\n * We are setting state to null to close all other modals because\n * the AccountMenu open state is not controlled by the Header component\n */\n onOpen: handleModalClose,\n onClose: handleModalClose,\n });\n }\n\n return accountMenu;\n }, [accountMenu, avatarHtml, handleModalClose]);\n\n /**\n * Due to how Account menu works, when it is opened, we have to add adding to header when\n * it is sticky otherwise it the header will jump.\n */\n const [documentPaddingRight, setDocumentPaddingRight] = useState<\n string | null\n >(null);\n\n useEffect(() => {\n // Callback function to execute when mutations are observed\n const mutationCallback: MutationCallback = (mutationsList) => {\n for (const mutation of mutationsList) {\n if (\n mutation.type === \"attributes\" &&\n mutation.attributeName === \"style\"\n ) {\n // Accessing the new style\n const paddingRight = (mutation.target as HTMLElement).style\n .paddingRight;\n setDocumentPaddingRight(paddingRight);\n }\n }\n };\n\n // Create a MutationObserver instance\n const observer = new MutationObserver(mutationCallback);\n\n // Options for the observer (which mutations to observe)\n const config: MutationObserverInit = {\n attributes: true,\n attributeFilter: [\"style\"],\n };\n\n // Start observing the target node for configured mutations\n const targetNode = document.documentElement;\n observer.observe(targetNode, config);\n\n // Cleanup function to disconnect the observer when the component unmounts\n return () => {\n observer.disconnect();\n };\n }, []);\n\n const stickyPadding = useMemo(() => {\n if (sticky && documentPaddingRight) {\n return documentPaddingRight;\n }\n\n return undefined;\n }, [documentPaddingRight, sticky]);\n\n // #############################################################################\n // Render\n // #############################################################################\n return (\n <S.Wrap ref={wrapRef}>\n <S.HeaderWrap ref={headerWrapRef} noWrapHeight={transparentHeader}>\n <S.Header\n transparent={transparentHeader}\n className={className}\n motif={headerBarMotif}\n sticky={sticky}\n stickyPadding={stickyPadding}\n >\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.MenuItemsWrap>\n <MenuItem\n hideOnDesktop\n motif={motif}\n onClick={handleHamburgerClick}\n >\n <S.LogoIconWrap $motif={motif} $burger>\n {activeModal === ModalId.MobileMenu ? (\n <StyleableSvgImage\n src={icons.generic.close}\n width={14}\n height={14}\n />\n ) : (\n <StyleableSvgImage\n src={icons.generic.hamburger}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.LogoIconWrap>\n </MenuItem>\n\n <S.LeftWrap>\n {activeModal !== ModalId.Search && (\n <S.Anchor\n href={createSiteUrl([\n context === SiteId.Uisp ? SiteId.Uisp : SiteId.Ui,\n \"/\",\n ])}\n onTouchEnd={onLogoAnchorTouchEnd}\n >\n <S.LogoIconWrap $motif={motif} ref={logoRef}>\n {(() => {\n switch (context) {\n case SiteId.Ui:\n case SiteId.Uwc:\n return (\n <StyleableSvgImage\n src={icons.header.logoUnifi}\n width={58.5}\n height={18}\n />\n );\n case SiteId.Uisp:\n return (\n <StyleableSvgImage\n src={icons.header.logoUisp}\n width={56.5}\n height={18}\n />\n );\n default:\n return (\n <StyleableSvgImage\n src={icons.header.logo}\n width={17.86}\n height={18}\n />\n );\n }\n })()}\n </S.LogoIconWrap>\n </S.Anchor>\n )}\n\n <S.InnerLeftWrap $center={activeModal === ModalId.Search}>\n {/* Hide menu items when search active */}\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $hideOnMobile>\n {filterOutUnrenderableItems(\n activeNavigationSection.items,\n ).map((item) => (\n <MenuItem\n key={item.id}\n as=\"a\"\n href={item.url}\n active={item.active}\n onClick={(e) => onMenuItemLinkClick?.(e, item)}\n motif={motif}\n >\n <S.MenuItemLabel>\n {item.icon && <S.SvgIcon {...item.icon} />}\n {/* FIXME: improve type-safety */}\n {/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}\n {formatMessage(item.id as unknown as any)}\n </S.MenuItemLabel>\n </MenuItem>\n ))}\n </S.MenuItemWrap>\n )}\n </S.InnerLeftWrap>\n </S.LeftWrap>\n\n {activeModal !== ModalId.Search && (\n <S.MenuItemWrap $narrow>\n {/* <MenuItem\n as=\"a\"\n href={inactiveNavigationSection.url}\n hideOnMobile\n motif={motif}\n >\n {inactiveNavigationSection[\"label\"]}\n </MenuItem> */}\n\n <MenuButton\n href={\n [SiteId.ExpertsUisp, SiteId.Uisp].includes(context)\n ? ExternalUrl.SUPPORT_UISP\n : ExternalUrl.SUPPORT\n }\n hideOnMobile\n motif={motif}\n secondary\n dataTestId=\"support-btn\"\n // Special request by Sam to open the link in new tab - only on ui.com/uisp.com microsites\n openInNewTab={[SiteId.Ui, SiteId.Uisp].includes(context)}\n >\n {formatMessage(\n translations.support as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <MenuButton\n href={storeLink}\n onClick={handleStoreSearchClick}\n hideOnMobile\n motif={motif}\n dataTestId=\"store-btn\"\n >\n {formatMessage(\n translations.store as keyof typeof EN_TRANSLATION,\n )}\n </MenuButton>\n\n <S.IconsWrap>\n {/** @see https://ubiquiti.atlassian.net/browse/NEP-1781 */}\n {/* <S.IconWrap\n hideOnMobile\n motif={motif}\n data-test-id=\"search-icon\"\n onClick={handleShowSearchTab}\n >\n <S.SvgIcon\n src={icons.generic.search}\n width={14}\n height={14}\n />\n </S.IconWrap> */}\n\n {/* Language Picker */}\n {isMultiLanguage && !embedConfig?.hideLanguagePicker && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"language\"\n onClick={(e) => handleModalOpen(e, ModalId.Language)}\n >\n <S.SvgIcon\n src={icons.header.globe}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n </S.IconWrap>\n )}\n\n {!isMicrositeContext && (\n <S.IconWrap\n $motif={motif}\n data-test-id=\"cart-btn\"\n onClick={(e) => handleModalOpen(e, ModalId.Cart)}\n >\n {cart?.loading ? (\n <S.SkeletonCircleLoader\n diameter={S.HEADER_ICON_SIZE}\n />\n ) : (\n <S.CartIcon\n itemCount={cartQuantity}\n motif={motif}\n width={S.HEADER_ICON_SIZE}\n height={S.HEADER_ICON_SIZE}\n />\n )}\n </S.IconWrap>\n )}\n\n {accountItem}\n </S.IconsWrap>\n </S.MenuItemWrap>\n )}\n </S.MenuItemsWrap>\n\n {!isSsr && (\n <LineLoader placement=\"bottom\" isLoading={!!showLineLoader} />\n )}\n </S.Container>\n\n {!isSsr && showEmptyCartModal && (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $modal={ModalId.Cart}>\n <EmptyCartModal\n translations={translations}\n open\n onClose={handleModalClose}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n )}\n\n {!isSsr &&\n activeModal === ModalId.Account &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Account}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <AccountFrameMobile\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n // renderImage={renderImage}\n onClose={handleModalClose}\n account={account}\n />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap\n $pro\n $modal={ModalId.Account}\n ></S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n\n {/* Language picker component */}\n {!isSsr &&\n activeModal === ModalId.Language &&\n (isMobile ? (\n <MobileModal\n isOpen={activeModal === ModalId.Language}\n handleClose={handleModalClose}\n lockScroll\n closeButtonProps={{\n value: formatMessage(\"Close\"),\n variant: \"cancel\",\n }}\n >\n <LanguageFrameMobile onLanguageChange={onLanguageChange} />\n </MobileModal>\n ) : (\n <S.ModalWrap size=\"desktop\">\n <S.ModalInnerWrap $pro $modal={ModalId.Account}>\n <LanguageFrame\n /**\n * HACK: Disabled custom rendering as the account.stg.ui.com hasn't been whitelisted by our image\n * optimisation CDN\n * @see https://ubiquiti.atlassian.net/browse/NEP-1689\n */\n open\n onClose={handleModalClose}\n onLanguageChange={onLanguageChange}\n />\n </S.ModalInnerWrap>\n </S.ModalWrap>\n ))}\n </S.Header>\n </S.HeaderWrap>\n\n {!isSsr && showFullCartModal && cart && (\n <CartModal\n translations={translations}\n renderImage={renderImage}\n onClose={handleModalClose}\n cart={cart}\n />\n )}\n\n {!isSsr && activeModal === ModalId.MobileMenu && (\n <NavigationMobileMenu\n translations={translations}\n onClose={handleModalClose}\n renderImage={renderImage}\n storeLink={storeLink}\n hasMicrositeMenu={!!micrositeMenu}\n />\n )}\n\n <NavigationCarousel\n onMenuSubItemLinkClick={onMenuSubItemLinkClick}\n stickyHeader={sticky}\n sticky={stickyCarousel}\n headerWrapScrollTop={headerWrapScrollTop}\n />\n\n {micrositeMenu && (\n <NavigationMicrositeMenu\n {...micrositeMenu}\n show={showMicrositeMenu}\n onClose={() => setShowTouchMicrositeMenu(false)}\n stickyHeader={sticky}\n />\n )}\n\n {!isSsr && (\n <HeaderOverlay\n showForModal={overlayShowForModal}\n onClose={handleModalClose}\n />\n )}\n </S.Wrap>\n );\n});\n"],"names":["GlobalHeader","memo","GlobalHeader2","className","motif","propMotif","translations","initialTranslations","renderImage","showLineLoader","onLanguageChange","onModalOpen","onMenuItemLinkClick","onMenuSubItemLinkClick","account","cart","onCartClick","sticky","stickyInitial","stickyCarousel","initialActiveModal","onActiveModal","trackStoreSearchClick","transparentHeader","micrositeMenu","embedConfig","accountMenu","isMobile","useMedia","BREAKPOINTS","TOP_NAV_MOBILE_AND_DOWN","useMemo","merge","defaultHeaderTranslations","isSsr","context","setMotif","activeModal","prevActiveModal","setActiveModal","activeNavigationSection","setNavigationOutOfView","createSiteUrl","isMicrositeContext","isMultiLanguage","useMenu","formatMessage","useTranslation","defaultTranslation","EN_TRANSLATION","additionalTranslations","Language","Ja","then","res","default","Ar","De","Es","El","It","Pt","Zh","Fr","Tw","useEffect","initialActiveModalDone","setInitialActiveModalDone","useState","handleModalOpen","useCallback","e","id","stopPropagation","ModalId","Cart","window","location","href","SiteId","Store","handleModalClose","useKeyPressEvent","cartQuantity","items","reduce","sum","item","quantity","handleHamburgerClick","MobileMenu","headerBarMotif","Search","showTouchMicrositeMenu","setShowTouchMicrositeMenu","logoRef","useRef","logoHover","useHoverDirty","showMicrositeMenu","onLogoAnchorTouchEnd","ev","homeLinkClickHandler","preventDefault","show","wrapRef","current","observer","IntersectionObserver","entry","isIntersecting","observe","disconnect","y","scrollY","useWindowScroll","showEmptyCartModal","length","showFullCartModal","overlayShowForModal","overlayModals","includes","storeLink","storeLinkSearchParams","category","type","UISPCategorySlug","UniFiCategorySlug","CloudGateways","handleStoreSearchClick","headerWrapRef","headerWrapScrollTop","setHeaderWrapScrollTop","headerWrapEl","getBoundingClientRect","top","avatarHtml","hideAvatarIcon","loading","jsx","S.IconWrap","$motif","children","S.SkeletonCircleLoader","diameter","S.HEADER_ICON_SIZE","onClick","Account","S.SvgIcon","src","icons.header.account","width","height","accountItem","isValidElement","cloneElement","onOpen","onClose","documentPaddingRight","setDocumentPaddingRight","mutationCallback","mutationsList","mutation","attributeName","paddingRight","target","style","MutationObserver","config","attributes","attributeFilter","targetNode","document","documentElement","stickyPadding","jsxs","S.Wrap","ref","S.HeaderWrap","noWrapHeight","S.Header","transparent","S.Container","size","noVerticalMargin","S.MenuItemsWrap","MenuItem","hideOnDesktop","S.LogoIconWrap","$burger","StyleableSvgImage","icons.generic.close","icons.generic.hamburger","S.LeftWrap","S.Anchor","Uisp","Ui","onTouchEnd","Uwc","icons.header.logoUnifi","icons.header.logoUisp","icons.header.logo","S.InnerLeftWrap","$center","S.MenuItemWrap","$hideOnMobile","filterOutUnrenderableItems","map","as","url","active","S.MenuItemLabel","icon","$narrow","MenuButton","ExpertsUisp","ExternalUrl","SUPPORT_UISP","SUPPORT","hideOnMobile","secondary","dataTestId","openInNewTab","support","store","S.IconsWrap","hideLanguagePicker","icons.header.globe","S.CartIcon","itemCount","LineLoader","placement","isLoading","S.ModalWrap","S.ModalInnerWrap","$modal","EmptyCartModal","open","MobileModal","isOpen","handleClose","lockScroll","closeButtonProps","value","variant","AccountFrameMobile","$pro","LanguageFrameMobile","LanguageFrame","CartModal","NavigationMobileMenu","hasMicrositeMenu","NavigationCarousel","stickyHeader","NavigationMicrositeMenu","HeaderOverlay","showForModal"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4Da,MAAAA,YAAA,GAAeC,IAAK,CAAA,SAASD,aAAaE,CAAA;EACrDC,SAAA;EACAC,KAAO,EAAAC,SAAA;EACPC,YAAc,EAAAC,mBAAA;EACdC,WAAA;EACAC,cAAA;EACAC,gBAAA;EACAC,WAAA;EACAC,mBAAA;EACAC,sBAAA;EACAC,OAAA;EACAC,IAAA;EACAC,WAAA;EACAC,MAAQ,EAAAC,aAAA;EACRC,cAAA;EACAC,kBAAA;EACAC,aAAA;EACAC,qBAAA;EACAC,iBAAA;EACAC,aAAA;EACAC,WAAA;EACAC;AACF,CAAgB,EAAA;EACd,MAAMC,QAAW,GAAAC,QAAA,CAASC,WAAY,CAAAC,uBAAA,EAAyB,KAAK,CAAA;EAK9D,MAAAxB,YAAA,GAAeyB,QAAQ,MAAM;IAC1B,OAAAC,KAAA,CAAMC,2BAA2B1B,mBAAmB,CAAA;EAAA,CAC7D,EAAG,CAACA,mBAAmB,CAAC,CAAA;EAKlB,MAAA;IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAOJ2B,KAAA;IACA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CAACnO;IAAA,CACtB,CAAA,EAAA,eAGFmH,GAAA,CAACiH,kBAAA,EAAA;MACC/O,sBAAA;MACAgP,YAAc,EAAA5O,MAAA;MACdA,MAAQ,EAAAE,cAAA;MACRgH;IAAA,CACF,CAAA,EAEC3G,aACC,mBAAAmH,GAAA,CAACmH,uBAAA,EAAA;MACE,GAAGtO,aAAA;MACJgF,IAAM,EAAAL,iBAAA;MACN0D,OAAA,EAASA,CAAA,KAAM/D,yBAAA,CAA0B,KAAK,CAAA;MAC9C+J,YAAc,EAAA5O;IAAA,CAChB,CAAA,EAGD,CAACiB,KACA,IAAA,eAAAyG,GAAA,CAACoH,aAAA,EAAA;MACCC,YAAc,EAAAzI,mBAAA;MACdsC,OAAS,EAAA5E;IAAA,CAAA,CAAA;GAGf,CAAA;AAEJ,CAAC,CAAA;"}
@@ -47,7 +47,6 @@ export declare const Experts_UI: import("@storybook/core/csf").AnnotatedStoryFn<
47
47
  export declare const Experts_UISP: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
48
48
  export declare const UWC: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
49
49
  export declare const NavigationLoading: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
50
- export declare const SearchLoading: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, CustomHeaderProps>;
51
50
  export declare const StoreCartModal: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Header.types").HeaderProps>;
52
51
  export declare const Isolated: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {
53
52
  className?: string;
@@ -63,7 +62,7 @@ export declare const Isolated: import("@storybook/core/csf").AnnotatedStoryFn<im
63
62
  };
64
63
  logo?: import("./Header.types").HeaderLogo;
65
64
  } & Pick<import("./Header.types").HeaderProps, "embedConfig">>;
66
- export declare const Pro: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "motif" | "cart" | "account" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
65
+ export declare const Pro: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "account" | "cart" | "motif" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
67
66
  cartPreview?: React.ReactNode;
68
67
  embedConfig?: import("./Header.types").HeaderEmbedConfig;
69
68
  handleStorePickerClick?: () => void;
@@ -87,7 +86,7 @@ export declare const Pro: import("@storybook/core/csf").AnnotatedStoryFn<import(
87
86
  hideInlineCategories?: boolean;
88
87
  logo?: import("./Header.types").HeaderLogo;
89
88
  }>;
90
- export declare const ProEmbedded: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "motif" | "cart" | "account" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
89
+ export declare const ProEmbedded: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, Pick<import("./Header.types").HeaderProps, "className" | "account" | "cart" | "motif" | "translations" | "onModalOpen" | "onCartClick" | "showLineLoader" | "accountMenu"> & {
91
90
  cartPreview?: React.ReactNode;
92
91
  embedConfig?: import("./Header.types").HeaderEmbedConfig;
93
92
  handleStorePickerClick?: () => void;