@ubnt/store.core 9.9.0-alpha.13 → 9.9.0-alpha.2
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.
- package/CHANGELOG.md +2220 -369
- package/lib/assets/arrow-left-right.svg +3 -0
- package/lib/assets/efg.png +0 -0
- package/lib/assets/firewall.svg +12 -0
- package/lib/assets/globe-shield.svg +3 -0
- package/lib/assets/icon-location.svg +5 -0
- package/lib/assets/icons/menu/icon-location.svg.js +27 -0
- package/lib/assets/icons/menu/icon-location.svg.js.map +1 -0
- package/lib/assets/icons/menu/icon-location.svg.mjs +3 -0
- package/lib/assets/icons/menu/icon-location.svg.mjs.map +1 -0
- package/lib/assets/keylock.svg +3 -0
- package/lib/assets/magnifying-glass.svg +10 -0
- package/lib/assets/plus2.svg +1 -4
- package/lib/assets/plus3.svg +4 -1
- package/lib/assets/sfpAndCable.svg +9 -0
- package/lib/assets/ucg-max.png +0 -0
- package/lib/components/Container/Container.styles.js +2 -0
- package/lib/components/Container/Container.styles.js.map +1 -1
- package/lib/components/Container/Container.styles.mjs +2 -0
- package/lib/components/Container/Container.styles.mjs.map +1 -1
- package/lib/components/Container/Container.types.d.ts +1 -1
- package/lib/components/Explore/Explore.js +1 -1
- package/lib/components/Explore/Explore.js.map +1 -1
- package/lib/components/Explore/Explore.mjs +1 -1
- package/lib/components/Explore/Explore.mjs.map +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.js +1 -1
- package/lib/components/FeaturesSection_deprecated/AllFeaturesButton/AllFeaturesButton.mjs +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.js +1 -1
- package/lib/components/FeaturesSection_deprecated/assets/plus.svg.mjs +2 -2
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.js +164 -133
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mjs +166 -133
- package/lib/components/Footer/Footer.mjs.map +1 -1
- package/lib/components/Footer/Footer.styles.d.ts +3 -7
- package/lib/components/Footer/Footer.styles.js +45 -61
- package/lib/components/Footer/Footer.styles.js.map +1 -1
- package/lib/components/Footer/Footer.styles.mjs +46 -59
- package/lib/components/Footer/Footer.styles.mjs.map +1 -1
- package/lib/components/Footer/Footer.types.d.ts +4 -2
- package/lib/components/Footer/Footer.types.js.map +1 -1
- package/lib/components/Footer/Footer.types.mjs.map +1 -1
- package/lib/components/Footer/hooks/useFooterContent.d.ts +22 -10
- package/lib/components/Footer/hooks/useFooterContent.js +53 -57
- package/lib/components/Footer/hooks/useFooterContent.js.map +1 -1
- package/lib/components/Footer/hooks/useFooterContent.mjs +51 -55
- package/lib/components/Footer/hooks/useFooterContent.mjs.map +1 -1
- package/lib/components/Footer/translations/ar.json.js +7 -8
- package/lib/components/Footer/translations/ar.json.js.map +1 -1
- package/lib/components/Footer/translations/ar.json.mjs +7 -8
- package/lib/components/Footer/translations/ar.json.mjs.map +1 -1
- package/lib/components/Footer/translations/de.json.js +9 -10
- package/lib/components/Footer/translations/de.json.js.map +1 -1
- package/lib/components/Footer/translations/de.json.mjs +9 -10
- package/lib/components/Footer/translations/de.json.mjs.map +1 -1
- package/lib/components/Footer/translations/el.json.js +7 -8
- package/lib/components/Footer/translations/el.json.js.map +1 -1
- package/lib/components/Footer/translations/el.json.mjs +7 -8
- package/lib/components/Footer/translations/el.json.mjs.map +1 -1
- package/lib/components/Footer/translations/en.json.js +11 -11
- package/lib/components/Footer/translations/en.json.mjs +11 -11
- package/lib/components/Footer/translations/es.json.js +7 -8
- package/lib/components/Footer/translations/es.json.js.map +1 -1
- package/lib/components/Footer/translations/es.json.mjs +7 -8
- package/lib/components/Footer/translations/es.json.mjs.map +1 -1
- package/lib/components/Footer/translations/fr.json.js +10 -11
- package/lib/components/Footer/translations/fr.json.js.map +1 -1
- package/lib/components/Footer/translations/fr.json.mjs +10 -11
- package/lib/components/Footer/translations/fr.json.mjs.map +1 -1
- package/lib/components/Footer/translations/it.json.js +20 -21
- package/lib/components/Footer/translations/it.json.js.map +1 -1
- package/lib/components/Footer/translations/it.json.mjs +20 -21
- package/lib/components/Footer/translations/it.json.mjs.map +1 -1
- package/lib/components/Footer/translations/ja.json.js +7 -8
- package/lib/components/Footer/translations/ja.json.js.map +1 -1
- package/lib/components/Footer/translations/ja.json.mjs +7 -8
- package/lib/components/Footer/translations/ja.json.mjs.map +1 -1
- package/lib/components/Footer/translations/pt-BR.json.js +7 -8
- package/lib/components/Footer/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Footer/translations/pt-BR.json.mjs +7 -8
- package/lib/components/Footer/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Footer/translations/zh-Hans.json.js +7 -8
- package/lib/components/Footer/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Footer/translations/zh-Hans.json.mjs +7 -8
- package/lib/components/Footer/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.js +3 -5
- package/lib/components/Header/AccountMenu/AccountMenu.js.map +1 -1
- package/lib/components/Header/AccountMenu/AccountMenu.mjs +4 -6
- package/lib/components/Header/AccountMenu/AccountMenu.mjs.map +1 -1
- package/lib/components/Header/CartModalV2/Item/Item.js +3 -3
- package/lib/components/Header/CartModalV2/Item/Item.mjs +2 -2
- package/lib/components/Header/Header.js +8 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mjs +8 -1
- package/lib/components/Header/Header.mjs.map +1 -1
- package/lib/components/Header/Header.styles.js +4 -0
- package/lib/components/Header/Header.styles.js.map +1 -1
- package/lib/components/Header/Header.styles.mjs +4 -0
- package/lib/components/Header/Header.styles.mjs.map +1 -1
- package/lib/components/Header/Header.types.d.ts +3 -1
- package/lib/components/Header/Header.types.js +3 -1
- package/lib/components/Header/Header.types.js.map +1 -1
- package/lib/components/Header/Header.types.mjs +3 -1
- package/lib/components/Header/Header.types.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js +8 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs +8 -5
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.d.ts +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js +12 -21
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs +12 -21
- package/lib/components/Header/Navigation/MicrositeMenu/MicrositeMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.d.ts +7 -1
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.js +32 -23
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.js.map +1 -1
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.mjs +32 -23
- package/lib/components/Header/Navigation/MicrositeMenu/mapping.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.d.ts +1 -0
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js +4 -0
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.js.map +1 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs +4 -1
- package/lib/components/Header/Navigation/MobileMenu/MobileMenu.styles.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js +65 -55
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.js.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs +65 -55
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.mjs.map +1 -1
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +3 -1
- package/lib/components/Header/ProHeader/ProHeader.js +67 -50
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +67 -50
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/translations/ar.json.js +34 -37
- package/lib/components/Header/translations/ar.json.js.map +1 -1
- package/lib/components/Header/translations/ar.json.mjs +35 -37
- package/lib/components/Header/translations/ar.json.mjs.map +1 -1
- package/lib/components/Header/translations/de.json.js +34 -37
- package/lib/components/Header/translations/de.json.js.map +1 -1
- package/lib/components/Header/translations/de.json.mjs +35 -37
- package/lib/components/Header/translations/de.json.mjs.map +1 -1
- package/lib/components/Header/translations/el.json.js +34 -37
- package/lib/components/Header/translations/el.json.js.map +1 -1
- package/lib/components/Header/translations/el.json.mjs +35 -37
- package/lib/components/Header/translations/el.json.mjs.map +1 -1
- package/lib/components/Header/translations/en.json.js +4 -3
- package/lib/components/Header/translations/en.json.js.map +1 -1
- package/lib/components/Header/translations/en.json.mjs +4 -3
- package/lib/components/Header/translations/en.json.mjs.map +1 -1
- package/lib/components/Header/translations/es.json.js +34 -37
- package/lib/components/Header/translations/es.json.js.map +1 -1
- package/lib/components/Header/translations/es.json.mjs +35 -37
- package/lib/components/Header/translations/es.json.mjs.map +1 -1
- package/lib/components/Header/translations/fr.json.js +35 -38
- package/lib/components/Header/translations/fr.json.js.map +1 -1
- package/lib/components/Header/translations/fr.json.mjs +36 -38
- package/lib/components/Header/translations/fr.json.mjs.map +1 -1
- package/lib/components/Header/translations/it.json.js +34 -37
- package/lib/components/Header/translations/it.json.js.map +1 -1
- package/lib/components/Header/translations/it.json.mjs +35 -37
- package/lib/components/Header/translations/it.json.mjs.map +1 -1
- package/lib/components/Header/translations/ja.json.js +34 -37
- package/lib/components/Header/translations/ja.json.js.map +1 -1
- package/lib/components/Header/translations/ja.json.mjs +35 -37
- package/lib/components/Header/translations/ja.json.mjs.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.js +34 -37
- package/lib/components/Header/translations/pt-BR.json.js.map +1 -1
- package/lib/components/Header/translations/pt-BR.json.mjs +35 -37
- package/lib/components/Header/translations/pt-BR.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.js +34 -37
- package/lib/components/Header/translations/zh-Hans.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hans.json.mjs +35 -37
- package/lib/components/Header/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.js +34 -37
- package/lib/components/Header/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs +35 -37
- package/lib/components/Header/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.d.ts +2 -0
- package/lib/components/LayoutRenderer/LayoutRenderer.types.js.map +1 -1
- package/lib/components/LayoutRenderer/LayoutRenderer.types.mjs.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.d.ts +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.js +13 -3
- package/lib/components/MicrositeHero/MicrositeHero.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.mjs +14 -4
- package/lib/components/MicrositeHero/MicrositeHero.mjs.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.types.d.ts +1 -0
- package/lib/components/MicrositeHero/MicrositeHero.types.js.map +1 -1
- package/lib/components/MicrositeHero/MicrositeHero.types.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js +59 -40
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs +61 -42
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.d.ts +15 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js +35 -6
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs +35 -7
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.styles.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.d.ts +9 -0
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.js.map +1 -1
- package/lib/components/MicrositeMediaGrid/MicrositeMediaGrid.types.mjs.map +1 -1
- package/lib/components/MicrositeMediaGrid/components/MobileItem.d.ts +14 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.js +60 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.js.map +1 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.mjs +58 -0
- package/lib/components/MicrositeMediaGrid/components/MobileItem.mjs.map +1 -0
- package/lib/components/Microsites/MicrositeProductPage.js +2 -1
- package/lib/components/Microsites/MicrositeProductPage.js.map +1 -1
- package/lib/components/Microsites/MicrositeProductPage.mjs +2 -1
- package/lib/components/Microsites/MicrositeProductPage.mjs.map +1 -1
- package/lib/components/Microsites/Microsites.types.d.ts +3 -1
- package/lib/components/Microsites/Microsites.types.js.map +1 -1
- package/lib/components/Microsites/Microsites.types.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js +1 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.js.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs +1 -0
- package/lib/components/ModelCompareV3/ModelCompareV3.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/ModelCompareV3.types.d.ts +21 -9
- package/lib/components/ModelCompareV3/assets/Consoles/bigCompare/udmPro.jpg.js +5 -5
- package/lib/{assets/icons/menu/icon-globe.svg.js → components/ModelCompareV3/assets/arrow-left-right.svg.js} +6 -6
- package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/arrow-left-right.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{packets.svg.js → firewall.svg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/firewall.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/firewall.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/firewall.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/globe-shield.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/{clock.svg.js → keylock.svg.js} +2 -2
- package/lib/components/ModelCompareV3/assets/keylock.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/keylock.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/keylock.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.js +27 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.js.map +1 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.mjs +3 -0
- package/lib/components/ModelCompareV3/assets/magnifying-glass.svg.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/CloudGateways.js +11 -11
- package/lib/components/ModelCompareV3/data/CloudGateways.js.map +1 -1
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs +8 -8
- package/lib/components/ModelCompareV3/data/CloudGateways.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/index.d.ts +18 -17
- package/lib/components/ModelCompareV3/data/index.js +37 -34
- package/lib/components/ModelCompareV3/data/index.js.map +1 -1
- package/lib/components/ModelCompareV3/data/index.mjs +37 -34
- package/lib/components/ModelCompareV3/data/index.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.js +89 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.mjs +81 -0
- package/lib/components/ModelCompareV3/data/products/gatewayLiteTechnologyVertical.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.js +90 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.mjs +82 -0
- package/lib/components/ModelCompareV3/data/products/gatewayProfessionalTechnologyVertical.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/products/udm.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/products/udm.js +89 -0
- package/lib/components/ModelCompareV3/data/products/udm.js.map +1 -0
- package/lib/components/ModelCompareV3/data/products/udm.mjs +81 -0
- package/lib/components/ModelCompareV3/data/products/udm.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/applicationAwareFirewall.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/intrusionPreventionSystem.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/ipsThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/ipsVpnThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/openVpnThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/routingThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspection.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/sslInspectionPerformance.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.js +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelLatency.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.js +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelPackets.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.js +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.js.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.mjs +2 -2
- package/lib/components/ModelCompareV3/data/properties/swivelSpectralEfficiency.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.js +18 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.js.map +1 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.mjs +10 -0
- package/lib/components/ModelCompareV3/data/properties/wireGuardVpnThroughput.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.d.ts +2 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.js +26 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.js.map +1 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.mjs +24 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare1.mjs.map +1 -0
- package/lib/components/ModelCompareV3/data/technologyVerticals/Cybersecurity/Compare2.d.ts +1 -0
- package/lib/components/ModelCompareV3/translations/en.json.js +27 -1
- package/lib/components/ModelCompareV3/translations/en.json.js.map +1 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs +27 -1
- package/lib/components/ModelCompareV3/translations/en.json.mjs.map +1 -1
- package/lib/components/ModelCompareV3/translations/useModelCompareTranslation.d.ts +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js +312 -21
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs +310 -21
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.constants.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js +38 -22
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs +38 -22
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.d.ts +10 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js +2 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs +2 -0
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/ComputeResourceCalculator.types.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.d.ts +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js +5 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs +5 -4
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/HddSlots/HddSlots.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/useComputeResourceCalculator.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/efg.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js +27 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.js.map +1 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs +3 -0
- package/lib/components/ResourceCalculatorV1/assets/consoles/ucg-max.png.mjs.map +1 -0
- package/lib/components/ResourceCalculatorV1/translations/en.json.js +4 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.js.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs +4 -1
- package/lib/components/ResourceCalculatorV1/translations/en.json.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/translations/useResourceCalculatorTranslation.d.ts +2 -2
- package/lib/components/ScrollWrapper/ScrollWrapper.js +6 -7
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +6 -7
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.js +33 -29
- package/lib/components/VariantSelector/Variant/Variant.js.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.mjs +34 -30
- package/lib/components/VariantSelector/Variant/Variant.mjs.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.d.ts +2 -0
- package/lib/components/VariantSelector/Variant/Variant.styles.js +20 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.js.map +1 -1
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs +19 -2
- package/lib/components/VariantSelector/Variant/Variant.styles.mjs.map +1 -1
- package/lib/components/VariantSelector/VariantSelector.constants.d.ts +1 -0
- package/lib/components/VariantSelector/VariantSelector.constants.js +1 -0
- package/lib/components/VariantSelector/VariantSelector.constants.js.map +1 -1
- package/lib/components/VariantSelector/VariantSelector.constants.mjs +1 -0
- package/lib/components/VariantSelector/VariantSelector.constants.mjs.map +1 -1
- package/lib/constants/icons/generic/index.js +3 -3
- package/lib/constants/icons/generic/index.mjs +1 -1
- package/lib/constants/icons/generic/plus.svg.js +5 -5
- package/lib/constants/icons/generic/plus.svg.mjs +2 -2
- package/lib/constants/icons/menu/index.d.ts +2 -1
- package/lib/constants/icons/menu/index.js +18 -9
- package/lib/constants/icons/menu/index.js.map +1 -1
- package/lib/constants/icons/menu/index.mjs +4 -2
- package/lib/constants/icons/menu/index.mjs.map +1 -1
- package/lib/constants/icons/menu/sfpAndCable.svg.js +27 -0
- package/lib/constants/icons/menu/sfpAndCable.svg.js.map +1 -0
- package/lib/constants/icons/menu/sfpAndCable.svg.mjs +3 -0
- package/lib/constants/icons/menu/sfpAndCable.svg.mjs.map +1 -0
- package/lib/constants/layout.d.ts +1 -0
- package/lib/constants/layout.js +3 -1
- package/lib/constants/layout.js.map +1 -1
- package/lib/constants/layout.mjs +3 -1
- package/lib/constants/layout.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.d.ts +1 -0
- package/lib/constants/proStoreCategories/mapping/index.js +1 -1
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +2 -2
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +2 -2
- package/lib/constants/proStoreCategories/translations/en.json.js +3 -0
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +3 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +2 -2
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +2 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +1 -1
- package/lib/constants/url.d.ts +1 -1
- package/lib/constants/url.js +1 -1
- package/lib/constants/url.js.map +1 -1
- package/lib/constants/url.mjs +1 -1
- package/lib/constants/url.mjs.map +1 -1
- package/lib/contexts/MenuContext/mapping.js +45 -41
- package/lib/contexts/MenuContext/mapping.js.map +1 -1
- package/lib/contexts/MenuContext/mapping.mjs +43 -40
- package/lib/contexts/MenuContext/mapping.mjs.map +1 -1
- package/lib/utils/address.d.ts +61 -61
- package/package.json +52 -52
- package/lib/assets/clock.svg +0 -4
- package/lib/assets/icons/menu/icon-globe.svg.js.map +0 -1
- package/lib/assets/icons/menu/icon-globe.svg.mjs +0 -3
- package/lib/assets/icons/menu/icon-globe.svg.mjs.map +0 -1
- package/lib/assets/packets.svg +0 -3
- package/lib/components/Footer/translations/zh-Hant-TW.json.js +0 -47
- package/lib/components/Footer/translations/zh-Hant-TW.json.js.map +0 -1
- package/lib/components/Footer/translations/zh-Hant-TW.json.mjs +0 -42
- package/lib/components/Footer/translations/zh-Hant-TW.json.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/clock.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/clock.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/clock.svg.mjs.map +0 -1
- package/lib/components/ModelCompareV3/assets/packets.svg.js.map +0 -1
- package/lib/components/ModelCompareV3/assets/packets.svg.mjs +0 -3
- package/lib/components/ModelCompareV3/assets/packets.svg.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Variant.styles.mjs","sources":["../../../../src/components/VariantSelector/Variant/Variant.styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { Button } from \"../../Button\";\nimport { ProductKeyFeatures as ProductKeyFeaturesBase } from \"../../ProductKeyFeatures\";\nimport { SpecData } from \"../../ProductTechSpecs/ProductTechSpecs.styles\";\nimport {\n Item,\n ScrollContainer,\n} from \"../../ScrollWrapper/ScrollWrapper.styles\";\nimport { VariantSelectorItem as VariantSelectorItemBase } from \"../../VariantSelectorItem\";\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const VariantSelectorItem = styled(VariantSelectorItemBase)<{\n selected?: boolean;\n}>`\n cursor: ${({ selected }) => (selected ? \"default\" : \"pointer\")};\n`;\n\nexport const VariantDetailsWrap = styled.div`\n display: flex;\n gap: 20px;\n align-items: center;\n\n /**\n * @see https://ui.slack.com/archives/C048BS24H5H/p1680535799691019?thread_ts=1680535106.515319&cid=C048BS24H5H\n */\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 10px;\n }\n`;\n\nexport const Image = styled.div<{\n $isInactive?: boolean;\n}>`\n height: 60px;\n width: 60px;\n\n ${({ $isInactive }) =>\n $isInactive &&\n css`\n opacity: 0.5;\n `}\n`;\n\nexport const Details = styled.div`\n flex-grow: 1;\n\n overflow: hidden;\n display: flex;\n flex-direction: column;\n justify-content: center;\n`;\n\nexport const ProductFeatureText = styled.div<{\n $isInactive?: boolean;\n $hidden?: boolean;\n}>`\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.02em;\n font-weight: ${theme.fontWeight.bold};\n color: ${theme.colors.geebung};\n margin-bottom: 2px;\n\n ${({ $isInactive }) =>\n $isInactive &&\n css`\n opacity: 0.5;\n `}\n\n ${({ $hidden }) =>\n $hidden &&\n css`\n opacity: 0;\n user-select: none;\n pointer-events: none;\n `}\n`;\n\nexport const ProductTitle = styled.div`\n font-size: 18px;\n line-height: 22px;\n font-weight: 700;\n letter-spacing: -0.02em;\n color: ${theme.colors.black85};\n width: 100%;\n`;\n\nexport const Subtitle = styled.div<{ selected?: boolean }>`\n font-size: ${theme.font.size12};\n line-height: 14px;\n letter-spacing: -0.02em;\n margin-top: 2px;\n\n /* @see https://ui.slack.com/archives/G01B4G8GF2S/p1683192527748009 */\n color: ${({ selected }) => (selected ? \"#c5c5c6\" : theme.colors.shuttleGray)};\n`;\n\nexport const PriceWrapper = styled.div`\n display: flex;\n gap: 10px;\n align-items: center;\n margin-top: 12px;\n`;\n\nexport const Price = styled.div`\n font-size: ${theme.font.size18};\n line-height: 22px;\n color: ${theme.colors.black65};\n letter-spacing: -0.02em;\n`;\n\nexport const PriceWithVAT = styled.div`\n font-size: ${theme.font.size12};\n color: #b6b9c4;\n line-height: 14px;\n letter-spacing: -0.02em;\n`;\n\nexport const BadgeWrapper = styled.div`\n display: flex;\n flex-wrap: wrap;\n gap: 4px 10px;\n`;\n\nexport const MetaWrap = styled.div<{ enableDivider?: boolean }>`\n display: flex;\n flex-direction: column;\n\n ${({ enableDivider }) =>\n enableDivider &&\n css`\n padding-top: 20px;\n margin-top: 20px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n `}\n`;\n\nexport const Description = styled.div`\n font-size: ${theme.font.size14};\n line-height: 20px;\n color: ${theme.colors.black65};\n margin-bottom: 20px;\n`;\n\nexport const ProductKeyFeatures = styled(ProductKeyFeaturesBase)`\n flex-grow: 1;\n`;\n\nexport const QuantityWrap = styled.div`\n flex-shrink: 0;\n margin-left: auto;\n`;\n\n// #############################################################################\n// Upsell\n// #############################################################################\nexport const UpsellImage = styled.div`\n width: 38px;\n height: 38px;\n`;\n\nexport const UpsellDetailsMeta = styled.div`\n display: flex;\n flex-direction: column;\n gap: 2px;\n`;\n\nexport const UpsellDetails = styled.div`\n display: flex;\n align-items: center;\n gap: 12px;\n`;\n\nexport const ReloadIcon = styled.div`\n cursor: pointer;\n padding: 10px;\n color: ${theme.colors.waterloo};\n transition: transform 0.2s ease-in-out;\n\n &:hover {\n color: ${theme.colors.shuttleGray};\n transform: rotate(180deg);\n }\n`;\n\nexport const UpsellHeader = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n`;\n\nexport const TotalPriceWrap = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const TotalPrice = styled.div`\n color: ${theme.colors.black65};\n font-size: ${theme.font.size18};\n line-height: 22px;\n letter-spacing: -0.02em;\n`;\n\nexport const TotalPriceWithVat = styled.div`\n font-size: ${theme.font.size12};\n color: #b6b9c4;\n line-height: 14px;\n letter-spacing: -0.02em;\n`;\n\nexport const VariantFooterBIS = styled.div<{ $compact?: boolean }>`\n margin-top: ${({ $compact }) => ($compact ? 0 : 20)}px;\n`;\n\nexport const VariantFooterAvailableIn = styled.div`\n font-size: ${theme.font.size14};\n line-height: 1.22;\n letter-spacing: -0.02em;\n color: ${theme.colors.black45};\n`;\n\nexport const AvailableInButton = styled(Button)`\n padding: 10px 15px;\n`;\n\nexport const AvailableInFooter = styled.div`\n flex-shrink: 0;\n display: flex;\n`;\n\nexport const VariantFooter = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n gap: 10px;\n margin-top: 20px;\n`;\n\nexport const UpsellBody = styled.div``;\n\nexport const UpsellWrap = styled.div`\n margin-top: 20px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n padding-top: 20px;\n\n display: flex;\n flex-direction: column;\n gap: 10px;\n`;\n\nexport const CategoryWrap = styled.div`\n margin-top: 20px;\n`;\n\nexport const SectionTabsWrap = styled(CategoryWrap)`\n margin-right: -18px;\n margin-left: -18px;\n\n ${ScrollContainer} {\n padding: 0 18px;\n\n ${Item} {\n flex: 1;\n }\n }\n`;\n\nexport const UpsellTitle = styled.div`\n font-size: ${theme.font.size20};\n line-height: 28px;\n font-weight: 700;\n color: ${theme.colors.black85};\n`;\n\nexport const UpsellSku = styled.div`\n font-size: ${theme.font.size12};\n line-height: 16px;\n color: ${theme.colors.black45};\n margin-top: 8px;\n`;\n\nexport const UpsellDescription = styled.div`\n font-size: ${theme.font.size14};\n line-height: 20px;\n color: ${theme.colors.black65};\n margin-top: 12px;\n`;\n\nexport const UpsellTechSpecs = styled.div`\n margin-top: 23px;\n padding-top: 23px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n color: ${theme.colors.black65};\n`;\n\nexport const UpsellTechSpecsTitle = styled.div`\n font-size: ${theme.font.size14};\n line-height: 36px;\n font-weight: 400;\n color: ${theme.colors.black65};\n`;\n\nexport const UpsellTechSpecsContent = styled(SpecData)`\n margin-top: 20px;\n color: ${theme.colors.black65};\n\n table {\n tr {\n &:first-child {\n th {\n font-weight: 700;\n font-size: ${theme.font.size14};\n line-height: 20px;\n padding: 0 10px 10px 0;\n }\n }\n\n td {\n font-size: ${theme.font.size14};\n line-height: 20px;\n padding: 10px 25px 10px 0;\n\n &:nth-child(1) {\n font-weight: 400;\n min-width: 175px;\n }\n\n &:last-child {\n padding-right: 0;\n }\n }\n }\n\n tr:hover {\n td {\n background: rgba(0 0 0 / 0.02);\n }\n }\n }\n`;\n\n// #############################################################################\n// Inline accessories\n// #############################################################################\n\nexport const InlineAccessories = styled.div`\n padding-bottom: 20px;\n border-bottom: 1px solid rgb(33 33 36 / 0.06);\n margin-bottom: 20px;\n`;\n\nexport const InlineAccessoryItem = styled.div`\n display: flex;\n align-items: center;\n gap: 16px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n padding-top: 20px;\n margin-top: 20px;\n`;\n\nexport const InlineAccessoryImage = styled.div`\n width: 40px;\n height: 40px;\n`;\n\nexport const InlineAccessoryDetails = styled.div`\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex-grow: 1;\n overflow: hidden;\n align-items: flex-start;\n`;\n\nexport const InlinePriceWrapper = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n min-width: 80px;\n flex-shrink: 0;\n`;\n\nexport const InlinePrice = styled.div`\n font-size: ${theme.font.size16};\n line-height: 19px;\n color: ${theme.colors.black65};\n`;\n\nexport const InlinePriceWithVAT = styled.div`\n text-align: right;\n font-size: ${theme.font.size10};\n color: #b9b9b9;\n line-height: 14px;\n`;\n\nexport const InlineAccessoryDescription = styled.div`\n font-weight: 400;\n font-size: 12px;\n line-height: 14px;\n color: ${theme.colors.shuttleGray};\n`;\n\nexport const InlineAccessoryAction = styled.div`\n display: flex;\n flex-shrink: 0;\n margin-right: 4px;\n`;\n\nexport const LearnMore = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n font-size: 14px;\n line-height: 17px;\n`;\n\nexport const SubscriptionButton = styled.a<{\n disabled?: boolean;\n}>`\n display: inline-block;\n padding: 6px 16px;\n cursor: pointer;\n font-family: inherit;\n background: ${theme.colors.primaryBlue};\n color: ${theme.colors.white};\n border: 1px solid ${theme.colors.primaryBlue};\n transition: background 0.3s;\n font-size: ${theme.font.size14};\n line-height: 21px;\n font-weight: normal;\n border-radius: 4px;\n text-decoration: none;\n\n ${({ disabled }) =>\n disabled\n ? css`\n background: #eee;\n color: #8e8e8e;\n cursor: not-allowed;\n border-color: #eee;\n `\n : `\n &:hover {\n color: ${theme.colors.white};\n border-color: ${theme.colors.dodgerblue};\n background-color: ${theme.colors.dodgerblue};\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const SubscriptionFooter = styled.div`\n display: flex;\n justify-content: flex-end;\n width: 100%;\n padding-top: 20px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nexport const RegionNotAvailableFooter = styled(SubscriptionFooter)`\n border-top: 0;\n padding-top: 0;\n`;\n\nexport const FooterSection = styled.div<{\n $isInteractive?: boolean;\n $inLine?: boolean;\n}>`\n border-top: 1px solid ${theme.colors.athensGreyDark};\n background: transparent;\n margin: 20px 0 -18px;\n border-radius: 0 0 6px 6px;\n padding: 14px 18px;\n text-align: center;\n transition: background 0.3s;\n\n ${({ $isInteractive }) =>\n $isInteractive &&\n css`\n &:hover {\n cursor: pointer;\n background: ${theme.colors.alabaste};\n }\n `}\n\n ${({ $inLine }) =>\n $inLine &&\n css`\n margin: 0 0 -10px;\n border-radius: 6px;\n border: none;\n `}\n`;\n\nexport const FooterSectionTitle = styled.div`\n color: #393939;\n font-size: ${theme.font.size12};\n font-weight: 400;\n line-height: 16px;\n white-space: pre-wrap;\n\n span {\n font-weight: 700;\n font-size: ${theme.font.size14};\n background: linear-gradient(129deg, #2e89ff 0%, #96c4ff 100%);\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n`;\n\nexport const FooterSectionNote = styled.div`\n color: #c5c5c6;\n font-size: 13px;\n font-weight: 400;\n line-height: 16px;\n margin-top: 4px;\n`;\n\nexport const OriginalPrice = styled.div`\n color: ${theme.colors.black65};\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.28px;\n text-decoration: line-through;\n`;\n"],"names":["VariantSelectorItem","styled","VariantSelectorItemBase","selected","VariantDetailsWrap","div","BREAKPOINTS","TABLET_AND_DOWN","Image","$isInactive","css","Details","ProductFeatureText","theme","fontWeight","bold","colors","geebung","$hidden","ProductTitle","black85","Subtitle","font","size12","shuttleGray","PriceWrapper","Price","size18","black65","PriceWithVAT","BadgeWrapper","MetaWrap","enableDivider","athensGreyDark","Description","size14","ProductKeyFeatures","ProductKeyFeaturesBase","QuantityWrap","UpsellImage","UpsellDetailsMeta","UpsellDetails","ReloadIcon","waterloo","UpsellHeader","TotalPriceWrap","TotalPrice","TotalPriceWithVat","VariantFooterBIS","$compact","VariantFooterAvailableIn","black45","AvailableInButton","Button","AvailableInFooter","VariantFooter","UpsellBody","UpsellWrap","CategoryWrap","SectionTabsWrap","ScrollContainer","Item","UpsellTitle","size20","UpsellSku","UpsellDescription","UpsellTechSpecs","UpsellTechSpecsTitle","UpsellTechSpecsContent","SpecData","InlineAccessories","InlineAccessoryItem","InlineAccessoryImage","InlineAccessoryDetails","InlinePriceWrapper","InlinePrice","size16","InlinePriceWithVAT","size10","InlineAccessoryDescription","InlineAccessoryAction","LearnMore","primaryBlue","SubscriptionButton","a","white","disabled","dodgerblue","SubscriptionFooter","RegionNotAvailableFooter","FooterSection","$isInteractive","alabaste","$inLine","F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;AAAA;AAAA;AAAA,CAAA;AAQ3B,MAAM4D,oBAAoB9F,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQjC,MAAM2F,gBAAgB/F,MAAO,CAAAI,GAAA;AAAA,WACzBQ,KAAA,CAAMG,OAAOY,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
1
|
+
{"version":3,"file":"Variant.styles.mjs","sources":["../../../../src/components/VariantSelector/Variant/Variant.styles.ts"],"sourcesContent":["import styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../constants/layout\";\nimport { theme } from \"../../../constants/theme\";\nimport { Button } from \"../../Button\";\nimport { ProductKeyFeatures as ProductKeyFeaturesBase } from \"../../ProductKeyFeatures\";\nimport { SpecData } from \"../../ProductTechSpecs/ProductTechSpecs.styles\";\nimport {\n Item,\n ScrollContainer,\n} from \"../../ScrollWrapper/ScrollWrapper.styles\";\nimport { VariantSelectorItem as VariantSelectorItemBase } from \"../../VariantSelectorItem\";\n\n// #############################################################################\n// Components\n// #############################################################################\nexport const VariantSelectorItem = styled(VariantSelectorItemBase)<{\n selected?: boolean;\n}>`\n cursor: ${({ selected }) => (selected ? \"default\" : \"pointer\")};\n`;\n\nexport const VariantDetailsWrap = styled.div`\n display: flex;\n gap: 20px;\n align-items: center;\n\n /**\n * @see https://ui.slack.com/archives/C048BS24H5H/p1680535799691019?thread_ts=1680535106.515319&cid=C048BS24H5H\n */\n @media ${BREAKPOINTS.TABLET_AND_DOWN} {\n gap: 10px;\n }\n`;\n\nexport const Image = styled.div<{\n $isInactive?: boolean;\n}>`\n height: 60px;\n width: 60px;\n\n ${({ $isInactive }) =>\n $isInactive &&\n css`\n opacity: 0.5;\n `}\n`;\n\nexport const Details = styled.div`\n flex-grow: 1;\n\n overflow: hidden;\n display: flex;\n flex-direction: column;\n justify-content: center;\n`;\n\nexport const ProductFeatureText = styled.div<{\n $isInactive?: boolean;\n $hidden?: boolean;\n}>`\n font-size: 12px;\n line-height: 20px;\n letter-spacing: -0.02em;\n font-weight: ${theme.fontWeight.bold};\n color: ${theme.colors.geebung};\n margin-bottom: 2px;\n\n ${({ $isInactive }) =>\n $isInactive &&\n css`\n opacity: 0.5;\n `}\n\n ${({ $hidden }) =>\n $hidden &&\n css`\n opacity: 0;\n user-select: none;\n pointer-events: none;\n `}\n`;\n\nexport const ProductTitle = styled.div`\n font-size: 18px;\n line-height: 22px;\n font-weight: 700;\n letter-spacing: -0.02em;\n color: ${theme.colors.black85};\n width: 100%;\n`;\n\nexport const Subtitle = styled.div<{ selected?: boolean }>`\n font-size: ${theme.font.size12};\n line-height: 14px;\n letter-spacing: -0.02em;\n margin-top: 2px;\n\n /* @see https://ui.slack.com/archives/G01B4G8GF2S/p1683192527748009 */\n color: ${({ selected }) => (selected ? \"#c5c5c6\" : theme.colors.shuttleGray)};\n`;\n\nexport const PriceWrapper = styled.div`\n display: flex;\n gap: 10px;\n align-items: center;\n`;\n\nexport const Price = styled.div`\n font-size: ${theme.font.size18};\n line-height: 22px;\n color: ${theme.colors.black65};\n letter-spacing: -0.02em;\n`;\n\nexport const PriceWithVAT = styled.div`\n font-size: ${theme.font.size12};\n color: #b6b9c4;\n line-height: 14px;\n letter-spacing: -0.02em;\n`;\n\nexport const BadgeWrapper = styled.div`\n display: flex;\n flex-wrap: wrap;\n gap: 4px 10px;\n`;\n\nexport const MetaWrap = styled.div<{ enableDivider?: boolean }>`\n display: flex;\n flex-direction: column;\n\n ${({ enableDivider }) =>\n enableDivider &&\n css`\n padding-top: 20px;\n margin-top: 20px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n `}\n`;\n\nexport const Description = styled.div`\n font-size: ${theme.font.size14};\n line-height: 20px;\n color: ${theme.colors.black65};\n margin-bottom: 20px;\n`;\n\nexport const ProductKeyFeatures = styled(ProductKeyFeaturesBase)`\n flex-grow: 1;\n`;\n\nexport const QuantityWrap = styled.div`\n flex-shrink: 0;\n margin-left: auto;\n`;\n\n// #############################################################################\n// Upsell\n// #############################################################################\nexport const UpsellImage = styled.div`\n width: 38px;\n height: 38px;\n`;\n\nexport const UpsellDetailsMeta = styled.div`\n display: flex;\n flex-direction: column;\n gap: 2px;\n`;\n\nexport const UpsellDetails = styled.div`\n display: flex;\n align-items: center;\n gap: 12px;\n`;\n\nexport const ReloadIcon = styled.div`\n cursor: pointer;\n padding: 10px;\n color: ${theme.colors.waterloo};\n transition: transform 0.2s ease-in-out;\n\n &:hover {\n color: ${theme.colors.shuttleGray};\n transform: rotate(180deg);\n }\n`;\n\nexport const UpsellHeader = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n`;\n\nexport const TotalPriceWrap = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nexport const TotalPrice = styled.div`\n color: ${theme.colors.black65};\n font-size: ${theme.font.size18};\n line-height: 22px;\n letter-spacing: -0.02em;\n`;\n\nexport const TotalPriceWithVat = styled.div`\n font-size: ${theme.font.size12};\n color: #b6b9c4;\n line-height: 14px;\n letter-spacing: -0.02em;\n`;\n\nexport const VariantFooterBIS = styled.div<{ $compact?: boolean }>`\n margin-top: ${({ $compact }) => ($compact ? 0 : 20)}px;\n`;\n\nexport const VariantFooterAvailableIn = styled.div`\n font-size: ${theme.font.size14};\n line-height: 1.22;\n letter-spacing: -0.02em;\n color: ${theme.colors.black45};\n`;\n\nexport const AvailableInButton = styled(Button)`\n padding: 10px 15px;\n`;\n\nexport const AvailableInFooter = styled.div`\n flex-shrink: 0;\n display: flex;\n`;\n\nexport const VariantFooter = styled.div`\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n gap: 10px;\n margin-top: 20px;\n`;\n\nexport const UpsellBody = styled.div``;\n\nexport const UpsellWrap = styled.div`\n margin-top: 20px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n padding-top: 20px;\n\n display: flex;\n flex-direction: column;\n gap: 10px;\n`;\n\nexport const CategoryWrap = styled.div`\n margin-top: 20px;\n`;\n\nexport const SectionTabsWrap = styled(CategoryWrap)`\n margin-right: -18px;\n margin-left: -18px;\n\n ${ScrollContainer} {\n padding: 0 18px;\n\n ${Item} {\n flex: 1;\n }\n }\n`;\n\nexport const UpsellTitle = styled.div`\n font-size: ${theme.font.size20};\n line-height: 28px;\n font-weight: 700;\n color: ${theme.colors.black85};\n`;\n\nexport const UpsellSku = styled.div`\n font-size: ${theme.font.size12};\n line-height: 16px;\n color: ${theme.colors.black45};\n margin-top: 8px;\n`;\n\nexport const UpsellDescription = styled.div`\n font-size: ${theme.font.size14};\n line-height: 20px;\n color: ${theme.colors.black65};\n margin-top: 12px;\n`;\n\nexport const UpsellTechSpecs = styled.div`\n margin-top: 23px;\n padding-top: 23px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n color: ${theme.colors.black65};\n`;\n\nexport const UpsellTechSpecsTitle = styled.div`\n font-size: ${theme.font.size14};\n line-height: 36px;\n font-weight: 400;\n color: ${theme.colors.black65};\n`;\n\nexport const UpsellTechSpecsContent = styled(SpecData)`\n margin-top: 20px;\n color: ${theme.colors.black65};\n\n table {\n tr {\n &:first-child {\n th {\n font-weight: 700;\n font-size: ${theme.font.size14};\n line-height: 20px;\n padding: 0 10px 10px 0;\n }\n }\n\n td {\n font-size: ${theme.font.size14};\n line-height: 20px;\n padding: 10px 25px 10px 0;\n\n &:nth-child(1) {\n font-weight: 400;\n min-width: 175px;\n }\n\n &:last-child {\n padding-right: 0;\n }\n }\n }\n\n tr:hover {\n td {\n background: rgba(0 0 0 / 0.02);\n }\n }\n }\n`;\n\n// #############################################################################\n// Inline accessories\n// #############################################################################\n\nexport const InlineAccessories = styled.div`\n padding-bottom: 20px;\n border-bottom: 1px solid rgb(33 33 36 / 0.06);\n margin-bottom: 20px;\n`;\n\nexport const InlineAccessoryItem = styled.div`\n display: flex;\n align-items: center;\n gap: 16px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n padding-top: 20px;\n margin-top: 20px;\n`;\n\nexport const InlineAccessoryImage = styled.div`\n width: 40px;\n height: 40px;\n`;\n\nexport const InlineAccessoryDetails = styled.div`\n display: flex;\n flex-direction: column;\n gap: 2px;\n flex-grow: 1;\n overflow: hidden;\n align-items: flex-start;\n`;\n\nexport const InlinePriceWrapper = styled.div`\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n min-width: 80px;\n flex-shrink: 0;\n`;\n\nexport const InlinePrice = styled.div`\n font-size: ${theme.font.size16};\n line-height: 19px;\n color: ${theme.colors.black65};\n`;\n\nexport const InlinePriceWithVAT = styled.div`\n text-align: right;\n font-size: ${theme.font.size10};\n color: #b9b9b9;\n line-height: 14px;\n`;\n\nexport const InlineAccessoryDescription = styled.div`\n font-weight: 400;\n font-size: 12px;\n line-height: 14px;\n color: ${theme.colors.shuttleGray};\n`;\n\nexport const InlineAccessoryAction = styled.div`\n display: flex;\n flex-shrink: 0;\n margin-right: 4px;\n`;\n\nexport const LearnMore = styled.div`\n cursor: pointer;\n color: ${theme.colors.primaryBlue};\n font-size: 14px;\n line-height: 17px;\n`;\n\nexport const SubscriptionButton = styled.a<{\n disabled?: boolean;\n}>`\n display: inline-block;\n padding: 6px 16px;\n cursor: pointer;\n font-family: inherit;\n background: ${theme.colors.primaryBlue};\n color: ${theme.colors.white};\n border: 1px solid ${theme.colors.primaryBlue};\n transition: background 0.3s;\n font-size: ${theme.font.size14};\n line-height: 21px;\n font-weight: normal;\n border-radius: 4px;\n text-decoration: none;\n\n ${({ disabled }) =>\n disabled\n ? css`\n background: #eee;\n color: #8e8e8e;\n cursor: not-allowed;\n border-color: #eee;\n `\n : `\n &:hover {\n color: ${theme.colors.white};\n border-color: ${theme.colors.dodgerblue};\n background-color: ${theme.colors.dodgerblue};\n text-decoration: none;\n }\n\n &:focus {\n color: ${theme.colors.white};\n }\n `}\n`;\n\nexport const SubscriptionFooter = styled.div`\n display: flex;\n justify-content: flex-end;\n width: 100%;\n padding-top: 20px;\n border-top: 1px solid ${theme.colors.athensGreyDark};\n`;\n\nexport const RegionNotAvailableFooter = styled(SubscriptionFooter)`\n border-top: 0;\n padding-top: 0;\n`;\n\nexport const FooterSection = styled.div<{\n $isInteractive?: boolean;\n $inLine?: boolean;\n}>`\n border-top: 1px solid ${theme.colors.athensGreyDark};\n background: transparent;\n margin: 20px 0 -18px;\n border-radius: 0 0 6px 6px;\n padding: 14px 18px;\n text-align: center;\n transition: background 0.3s;\n\n ${({ $isInteractive }) =>\n $isInteractive &&\n css`\n &:hover {\n cursor: pointer;\n background: ${theme.colors.alabaste};\n }\n `}\n\n ${({ $inLine }) =>\n $inLine &&\n css`\n margin: 0 0 -10px;\n border-radius: 6px;\n border: none;\n `}\n`;\n\nexport const FooterSectionTitle = styled.div`\n color: #393939;\n font-size: ${theme.font.size12};\n font-weight: 400;\n line-height: 16px;\n white-space: pre-wrap;\n\n span {\n font-weight: 700;\n font-size: ${theme.font.size14};\n background: linear-gradient(129deg, #2e89ff 0%, #96c4ff 100%);\n background-clip: text;\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n`;\n\nexport const FooterSectionNote = styled.div`\n color: #c5c5c6;\n font-size: 13px;\n font-weight: 400;\n line-height: 16px;\n margin-top: 4px;\n`;\n\nexport const OriginalPrice = styled.div`\n color: ${theme.colors.black65};\n font-size: 14px;\n line-height: 22px;\n letter-spacing: -0.28px;\n text-decoration: line-through;\n`;\n\nexport const PriceAndDiscountWrap = styled.div`\n margin-top: 12px;\n display: flex;\n align-items: center;\n`;\n\nexport const DiscountNearPrice = styled.div`\n display: flex;\n justify-content: center;\n flex-grow: 1;\n\n ${FooterSection} {\n margin: 0;\n padding: 0 5px;\n border: none;\n max-width: 200px;\n background-color: transparent;\n }\n`;\n"],"names":["VariantSelectorItem","styled","VariantSelectorItemBase","selected","VariantDetailsWrap","div","BREAKPOINTS","TABLET_AND_DOWN","Image","$isInactive","css","Details","ProductFeatureText","theme","fontWeight","bold","colors","geebung","$hidden","ProductTitle","black85","Subtitle","font","size12","shuttleGray","PriceWrapper","Price","size18","black65","PriceWithVAT","BadgeWrapper","MetaWrap","enableDivider","athensGreyDark","Description","size14","ProductKeyFeatures","ProductKeyFeaturesBase","QuantityWrap","UpsellImage","UpsellDetailsMeta","UpsellDetails","ReloadIcon","waterloo","UpsellHeader","TotalPriceWrap","TotalPrice","TotalPriceWithVat","VariantFooterBIS","$compact","VariantFooterAvailableIn","black45","AvailableInButton","Button","AvailableInFooter","VariantFooter","UpsellBody","UpsellWrap","CategoryWrap","SectionTabsWrap","ScrollContainer","Item","UpsellTitle","size20","UpsellSku","UpsellDescription","UpsellTechSpecs","UpsellTechSpecsTitle","UpsellTechSpecsContent","SpecData","InlineAccessories","InlineAccessoryItem","InlineAccessoryImage","InlineAccessoryDetails","InlinePriceWrapper","InlinePrice","size16","InlinePriceWithVAT","size10","InlineAccessoryDescription","InlineAccessoryAction","LearnMore","primaryBlue","SubscriptionButton","a","white","disabled","dodgerblue","SubscriptionFooter","RegionNotAvailableFooter","FooterSection","$isInteractive","alabaste","$inLine","FooterSectionTitle","FooterSectionNote","OriginalPrice","PriceAndDiscountWrap","DiscountNearPrice"],"mappings":";;;;;;;;;;;;AAgBa,MAAAA,mBAAA,GAAsBC,OAAOC,qBAAuB,CAAA;AAAA,YAGrD,CAAC;EAAEC;AAAA,CAAgB,KAAAA,QAAA,GAAW,YAAY,SAAU;AAAA,CAAA;AAGzD,MAAMC,qBAAqBH,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAQ9BC,YAAYC,eAAe;AAAA;AAAA;AAAA,CAAA;AAK/B,MAAMC,QAAQP,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA,IAMxB,CAAC;EAAEI;CAAY,KACfA,WACA,IAAAC,GAAA;AAAA;AAAA,KAEC;AAAA,CAAA;AAGE,MAAMC,UAAUV,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AASvB,MAAMO,qBAAqBX,MAAO,CAAAI,GAAA;AA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D,wBAAA,GAA2BxF,OAAOuF,kBAAkB,CAAA;AAAA;AAAA;AAAA,CAAA;AAK1D,MAAME,gBAAgBzF,MAAO,CAAAI,GAAA;AAAA,0BAIVQ,KAAA,CAAMG,OAAOiB,cAAc;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQjD,CAAC;EAAE0D;CAAe,KAClBA,cACA,IAAAjF,GAAA;AAAA;AAAA;AAAA,sBAGkBG,KAAA,CAAMG,OAAO4E,QAAQ;AAAA;AAAA,KAEtC;AAAA;AAAA,IAED,CAAC;EAAEC;CAAQ,KACXA,OACA,IAAAnF,GAAA;AAAA;AAAA;AAAA;AAAA,KAIC;AAAA,CAAA;AAGE,MAAMoF,qBAAqB7F,MAAO,CAAAI,GAAA;AAAA;AAAA,eAE1BQ,KAAA,CAAMS,KAAKC,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAOfV,KAAA,CAAMS,KAAKa,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQ3B,MAAM4D,oBAAoB9F,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAQjC,MAAM2F,gBAAgB/F,MAAO,CAAAI,GAAA;AAAA,WACzBQ,KAAA,CAAMG,OAAOY,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAOxB,MAAMqE,uBAAuBhG,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAMpC,MAAM6F,oBAAoBjG,MAAO,CAAAI,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKpCqF,aAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantSelector.constants.js","sources":["../../../src/components/VariantSelector/VariantSelector.constants.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nexport type VariantSelectorTranslations = {\n inStock: string;\n soldOut: string;\n earlyAccess: string;\n comingSoon: string;\n available: string;\n topPerformer: string;\n bestPricePerformance: string;\n mostVersatile: string;\n highestClientCapacity: string;\n topPerformanceHighDensity: string;\n newerModels: string;\n olderModels: string;\n eaModels: string;\n subscription: string;\n save: string;\n month: string;\n from: string;\n VATincluded: string;\n priceVatIncluded: (price: string) => ReactNode;\n fromPrice: (price: string) => ReactNode;\n fromPriceVatIncluded: (price: string) => ReactNode;\n totalPrice: (price: string) => ReactNode;\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => ReactNode;\n discountPrice: (price: string) => ReactNode;\n discountMaxUnits: (maxUnits: string) => ReactNode;\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => ReactNode;\n discountPriceUpsell: (price: string) => ReactNode;\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) => ReactNode;\n theseDevices: string;\n upsellTitle: string;\n learnMore: string;\n productCardPopup: {\n learnMore: string;\n quantity: string;\n qty: string;\n select: string;\n VATincluded: string;\n };\n technicalSpecifications: string;\n showAll: string;\n addToCart: string;\n productAvailableIn: (storeName: string) => ReactNode;\n};\n\nexport const defaultVariantSelectorTranslations = {\n inStock: \"In Stock\",\n soldOut: \"Sold out\",\n earlyAccess: \"Early access\",\n comingSoon: \"Coming soon\",\n available: \"Available\",\n topPerformer: \"Top Performer\",\n bestPricePerformance: \"Best Price Performance\",\n mostVersatile: \"Most Versatile\",\n highestClientCapacity: \"Highest Client Capacity\",\n topPerformanceHighDensity: \"Top Performance / High Client Density\",\n newerModels: \"General Access products\",\n olderModels: \"Older models\",\n eaModels: \"Early Access products\",\n subscription: \"Subscription\",\n save: \"Save\",\n month: \"month\",\n from: \"From\",\n VATincluded: \"VAT Incl.\",\n priceVatIncluded: (price: string) => `(${price} VAT incl.)`,\n fromPrice: (price: string) => `From ${price}`,\n fromPriceVatIncluded: (price: string) => `(From ${price} VAT incl.)`,\n totalPrice: (price: string) => (\n <>\n <strong>{\"Total price: \"}</strong>\n {price}\n </>\n ),\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => (\n <>\n {`Save `}\n <span>{`${percentage}%`}</span>\n {` by buying ${minQuantity} or more ${shortTitle}.`}\n </>\n ),\n discountPrice: (price: string) => (\n <>\n {`You will save `}\n <span>{price}</span>\n {` with this purchase.`}\n </>\n ),\n discountMaxUnits: (maxUnits: string) =>\n `Offer available for up to ${maxUnits} units, one time only.`,\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => (\n <>\n {`Save `}\n <span>{price}</span>\n {` per ${upsellProductTitle} when you add ${minQuantity} or more to this ${productTitle}.`}\n </>\n ),\n discountPriceUpsell: (price: string) => (\n <>\n {`You’re saving `}\n <span>{price}</span>\n {` on this purchase.`}\n </>\n ),\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) =>\n `Offer available for up to ${maxUnits} ${upsellProductTitle}s per ${productTitle}.`,\n theseDevices: \"these devices\",\n upsellTitle: \"Storage Drives\",\n learnMore: \"Learn more\",\n productCardPopup: {\n learnMore: \"Learn more\",\n quantity: \"Quantity\",\n qty: \"Qty\",\n select: \"Select\",\n VATincluded: \"VAT Incl.\",\n },\n technicalSpecifications: \"Technical Specifications\",\n showAll: \"Show all\",\n addToCart: \"Add to cart\",\n productAvailableIn: (storeName: string) => (\n <>\n {\"This product is available in the \"}\n <strong style={{ whiteSpace: \"nowrap\" }}>{storeName}</strong>\n {\".\"}\n </>\n ),\n} as VariantSelectorTranslations;\n\ntype OlderModelButtonTextData = {\n [collectionSlug: string]: {\n [language: string]: {\n title: string;\n subtitle?: string;\n };\n };\n};\n\nconst OLDER_MODELS_BUTTON_TEXT: OlderModelButtonTextData = {\n \"unifi-switching-standard-power-over-ethernet\": {\n en: {\n title: \"First Generation PoE Switching\",\n subtitle: \"High-Capacity PoE+ and 24V support\",\n },\n },\n};\n\nexport const getOlderModelsButtonText = (\n collectionSlug?: string,\n language?: string,\n) => OLDER_MODELS_BUTTON_TEXT?.[collectionSlug || \"\"]?.[language || \"en\"];\n"],"names":["defaultVariantSelectorTranslations","inStock","soldOut","earlyAccess","comingSoon","available","topPerformer","bestPricePerformance","mostVersatile","highestClientCapacity","topPerformanceHighDensity","newerModels","olderModels","eaModels","subscription","save","month","from","VATincluded","priceVatIncluded","price","fromPrice","fromPriceVatIncluded","totalPrice","jsxs","Fragment","children","jsx","discountPercentage","percentage","minQuantity","shortTitle","discountPrice","discountMaxUnits","maxUnits","discountPriceMinUpsell","upsellProductTitle","productTitle","discountPriceUpsell","discountUpsellMaxUnits","theseDevices","upsellTitle","learnMore","productCardPopup","quantity","qty","select","technicalSpecifications","showAll","addToCart","productAvailableIn","storeName","style","whiteSpace","OLDER_MODELS_BUTTON_TEXT","en","title","subtitle","getOlderModelsButtonText","collectionSlug","language"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"VariantSelector.constants.js","sources":["../../../src/components/VariantSelector/VariantSelector.constants.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nexport type VariantSelectorTranslations = {\n inStock: string;\n soldOut: string;\n earlyAccess: string;\n specialOffer: string;\n comingSoon: string;\n available: string;\n topPerformer: string;\n bestPricePerformance: string;\n mostVersatile: string;\n highestClientCapacity: string;\n topPerformanceHighDensity: string;\n newerModels: string;\n olderModels: string;\n eaModels: string;\n subscription: string;\n save: string;\n month: string;\n from: string;\n VATincluded: string;\n priceVatIncluded: (price: string) => ReactNode;\n fromPrice: (price: string) => ReactNode;\n fromPriceVatIncluded: (price: string) => ReactNode;\n totalPrice: (price: string) => ReactNode;\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => ReactNode;\n discountPrice: (price: string) => ReactNode;\n discountMaxUnits: (maxUnits: string) => ReactNode;\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => ReactNode;\n discountPriceUpsell: (price: string) => ReactNode;\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) => ReactNode;\n theseDevices: string;\n upsellTitle: string;\n learnMore: string;\n productCardPopup: {\n learnMore: string;\n quantity: string;\n qty: string;\n select: string;\n VATincluded: string;\n };\n technicalSpecifications: string;\n showAll: string;\n addToCart: string;\n productAvailableIn: (storeName: string) => ReactNode;\n};\n\nexport const defaultVariantSelectorTranslations = {\n inStock: \"In Stock\",\n soldOut: \"Sold out\",\n earlyAccess: \"Early access\",\n specialOffer: \"Special Offer\",\n comingSoon: \"Coming soon\",\n available: \"Available\",\n topPerformer: \"Top Performer\",\n bestPricePerformance: \"Best Price Performance\",\n mostVersatile: \"Most Versatile\",\n highestClientCapacity: \"Highest Client Capacity\",\n topPerformanceHighDensity: \"Top Performance / High Client Density\",\n newerModels: \"General Access products\",\n olderModels: \"Older models\",\n eaModels: \"Early Access products\",\n subscription: \"Subscription\",\n save: \"Save\",\n month: \"month\",\n from: \"From\",\n VATincluded: \"VAT Incl.\",\n priceVatIncluded: (price: string) => `(${price} VAT incl.)`,\n fromPrice: (price: string) => `From ${price}`,\n fromPriceVatIncluded: (price: string) => `(From ${price} VAT incl.)`,\n totalPrice: (price: string) => (\n <>\n <strong>{\"Total price: \"}</strong>\n {price}\n </>\n ),\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => (\n <>\n {`Save `}\n <span>{`${percentage}%`}</span>\n {` by buying ${minQuantity} or more ${shortTitle}.`}\n </>\n ),\n discountPrice: (price: string) => (\n <>\n {`You will save `}\n <span>{price}</span>\n {` with this purchase.`}\n </>\n ),\n discountMaxUnits: (maxUnits: string) =>\n `Offer available for up to ${maxUnits} units, one time only.`,\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => (\n <>\n {`Save `}\n <span>{price}</span>\n {` per ${upsellProductTitle} when you add ${minQuantity} or more to this ${productTitle}.`}\n </>\n ),\n discountPriceUpsell: (price: string) => (\n <>\n {`You’re saving `}\n <span>{price}</span>\n {` on this purchase.`}\n </>\n ),\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) =>\n `Offer available for up to ${maxUnits} ${upsellProductTitle}s per ${productTitle}.`,\n theseDevices: \"these devices\",\n upsellTitle: \"Storage Drives\",\n learnMore: \"Learn more\",\n productCardPopup: {\n learnMore: \"Learn more\",\n quantity: \"Quantity\",\n qty: \"Qty\",\n select: \"Select\",\n VATincluded: \"VAT Incl.\",\n },\n technicalSpecifications: \"Technical Specifications\",\n showAll: \"Show all\",\n addToCart: \"Add to cart\",\n productAvailableIn: (storeName: string) => (\n <>\n {\"This product is available in the \"}\n <strong style={{ whiteSpace: \"nowrap\" }}>{storeName}</strong>\n {\".\"}\n </>\n ),\n} as VariantSelectorTranslations;\n\ntype OlderModelButtonTextData = {\n [collectionSlug: string]: {\n [language: string]: {\n title: string;\n subtitle?: string;\n };\n };\n};\n\nconst OLDER_MODELS_BUTTON_TEXT: OlderModelButtonTextData = {\n \"unifi-switching-standard-power-over-ethernet\": {\n en: {\n title: \"First Generation PoE Switching\",\n subtitle: \"High-Capacity PoE+ and 24V support\",\n },\n },\n};\n\nexport const getOlderModelsButtonText = (\n collectionSlug?: string,\n language?: string,\n) => OLDER_MODELS_BUTTON_TEXT?.[collectionSlug || \"\"]?.[language || \"en\"];\n"],"names":["defaultVariantSelectorTranslations","inStock","soldOut","earlyAccess","specialOffer","comingSoon","available","topPerformer","bestPricePerformance","mostVersatile","highestClientCapacity","topPerformanceHighDensity","newerModels","olderModels","eaModels","subscription","save","month","from","VATincluded","priceVatIncluded","price","fromPrice","fromPriceVatIncluded","totalPrice","jsxs","Fragment","children","jsx","discountPercentage","percentage","minQuantity","shortTitle","discountPrice","discountMaxUnits","maxUnits","discountPriceMinUpsell","upsellProductTitle","productTitle","discountPriceUpsell","discountUpsellMaxUnits","theseDevices","upsellTitle","learnMore","productCardPopup","quantity","qty","select","technicalSpecifications","showAll","addToCart","productAvailableIn","storeName","style","whiteSpace","OLDER_MODELS_BUTTON_TEXT","en","title","subtitle","getOlderModelsButtonText","collectionSlug","language"],"mappings":";;;;AA6DO,MAAMA,kCAAqC,GAAA;EAChDC,OAAS,EAAA,UAAA;EACTC,OAAS,EAAA,UAAA;EACTC,WAAa,EAAA,cAAA;EACbC,YAAc,EAAA,eAAA;EACdC,UAAY,EAAA,aAAA;EACZC,SAAW,EAAA,WAAA;EACXC,YAAc,EAAA,eAAA;EACdC,oBAAsB,EAAA,wBAAA;EACtBC,aAAe,EAAA,gBAAA;EACfC,qBAAuB,EAAA,yBAAA;EACvBC,yBAA2B,EAAA,uCAAA;EAC3BC,WAAa,EAAA,yBAAA;EACbC,WAAa,EAAA,cAAA;EACbC,QAAU,EAAA,uBAAA;EACVC,YAAc,EAAA,cAAA;EACdC,IAAM,EAAA,MAAA;EACNC,KAAO,EAAA,OAAA;EACPC,IAAM,EAAA,MAAA;EACNC,WAAa,EAAA,WAAA;EACbC,gBAAkB,EAACC,KAAkB,IAAA,IAAIA,KAAK,aAAA;EAC9CC,SAAW,EAACD,KAAkB,IAAA,QAAQA,KAAK,EAAA;EAC3CE,oBAAsB,EAACF,KAAkB,IAAA,SAASA,KAAK,aAAA;EACvDG,UAAA,EAAaH,KAAA,IAAA,eAETI,UAAA,CAAAA,IAAA,CAAAC,UAAA,CAAAA,QAAA,EAAA;IAAAC,QAAA,EAAA,CAAAC,eAAAA,UAAAA,CAAAA,GAAA,CAAC;MAAQD,QAAgB,EAAA;IAAA,CAAA,CAAA,EACxBN,KAAA;GACH,CAAA;EAEFQ,kBAAoB,EAAAA,CAClBC,UACA,EAAAC,WAAA,EACAC,8BAGGP,eAAA,CAAAC,UAAAA,CAAAA,QAAA,EAAA;IAAAC,QAAA,EAAA,CAAA,OAAA,EAAA,eACAC,UAAA,CAAA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ACR5B,WAAa,EAAA;EACf,CAAA;EACA6B,uBAAyB,EAAA,0BAAA;EACzBC,OAAS,EAAA,UAAA;EACTC,SAAW,EAAA,aAAA;EACXC,kBAAA,EAAqBC,SAAA,IAAA,eAEhB3B,UAAA,CAAAA,IAAA,CAAAC,UAAA,CAAAA,QAAA,EAAA;IAAAC,QAAA,EAAA,CAAA,mCAAA,EAAA,8BACA,QAAO,EAAA;MAAA0B,KAAA,EAAO;QAAEC,UAAY,EAAA;;MAAa3B,QAAU,EAAAyB;KAAA,CAAA,EACnD,GAAA;GACH;AAEJ,CAAA;AAWA,MAAMG,wBAAqD,GAAA;EACzD,8CAAgD,EAAA;IAC9CC,EAAI,EAAA;MACFC,KAAO,EAAA,gCAAA;MACPC,QAAU,EAAA;IACZ;EACF;AACF,CAAA;AAEa,MAAAC,wBAAA,GAA2BA,CACtCC,cACA,EAAAC,QAAA,KACGN,2BAA2BK,cAAkB,IAAA,EAAE,CAAI,GAAAC,QAAA,IAAY,IAAI,CAAA;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariantSelector.constants.mjs","sources":["../../../src/components/VariantSelector/VariantSelector.constants.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nexport type VariantSelectorTranslations = {\n inStock: string;\n soldOut: string;\n earlyAccess: string;\n comingSoon: string;\n available: string;\n topPerformer: string;\n bestPricePerformance: string;\n mostVersatile: string;\n highestClientCapacity: string;\n topPerformanceHighDensity: string;\n newerModels: string;\n olderModels: string;\n eaModels: string;\n subscription: string;\n save: string;\n month: string;\n from: string;\n VATincluded: string;\n priceVatIncluded: (price: string) => ReactNode;\n fromPrice: (price: string) => ReactNode;\n fromPriceVatIncluded: (price: string) => ReactNode;\n totalPrice: (price: string) => ReactNode;\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => ReactNode;\n discountPrice: (price: string) => ReactNode;\n discountMaxUnits: (maxUnits: string) => ReactNode;\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => ReactNode;\n discountPriceUpsell: (price: string) => ReactNode;\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) => ReactNode;\n theseDevices: string;\n upsellTitle: string;\n learnMore: string;\n productCardPopup: {\n learnMore: string;\n quantity: string;\n qty: string;\n select: string;\n VATincluded: string;\n };\n technicalSpecifications: string;\n showAll: string;\n addToCart: string;\n productAvailableIn: (storeName: string) => ReactNode;\n};\n\nexport const defaultVariantSelectorTranslations = {\n inStock: \"In Stock\",\n soldOut: \"Sold out\",\n earlyAccess: \"Early access\",\n comingSoon: \"Coming soon\",\n available: \"Available\",\n topPerformer: \"Top Performer\",\n bestPricePerformance: \"Best Price Performance\",\n mostVersatile: \"Most Versatile\",\n highestClientCapacity: \"Highest Client Capacity\",\n topPerformanceHighDensity: \"Top Performance / High Client Density\",\n newerModels: \"General Access products\",\n olderModels: \"Older models\",\n eaModels: \"Early Access products\",\n subscription: \"Subscription\",\n save: \"Save\",\n month: \"month\",\n from: \"From\",\n VATincluded: \"VAT Incl.\",\n priceVatIncluded: (price: string) => `(${price} VAT incl.)`,\n fromPrice: (price: string) => `From ${price}`,\n fromPriceVatIncluded: (price: string) => `(From ${price} VAT incl.)`,\n totalPrice: (price: string) => (\n <>\n <strong>{\"Total price: \"}</strong>\n {price}\n </>\n ),\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => (\n <>\n {`Save `}\n <span>{`${percentage}%`}</span>\n {` by buying ${minQuantity} or more ${shortTitle}.`}\n </>\n ),\n discountPrice: (price: string) => (\n <>\n {`You will save `}\n <span>{price}</span>\n {` with this purchase.`}\n </>\n ),\n discountMaxUnits: (maxUnits: string) =>\n `Offer available for up to ${maxUnits} units, one time only.`,\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => (\n <>\n {`Save `}\n <span>{price}</span>\n {` per ${upsellProductTitle} when you add ${minQuantity} or more to this ${productTitle}.`}\n </>\n ),\n discountPriceUpsell: (price: string) => (\n <>\n {`You’re saving `}\n <span>{price}</span>\n {` on this purchase.`}\n </>\n ),\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) =>\n `Offer available for up to ${maxUnits} ${upsellProductTitle}s per ${productTitle}.`,\n theseDevices: \"these devices\",\n upsellTitle: \"Storage Drives\",\n learnMore: \"Learn more\",\n productCardPopup: {\n learnMore: \"Learn more\",\n quantity: \"Quantity\",\n qty: \"Qty\",\n select: \"Select\",\n VATincluded: \"VAT Incl.\",\n },\n technicalSpecifications: \"Technical Specifications\",\n showAll: \"Show all\",\n addToCart: \"Add to cart\",\n productAvailableIn: (storeName: string) => (\n <>\n {\"This product is available in the \"}\n <strong style={{ whiteSpace: \"nowrap\" }}>{storeName}</strong>\n {\".\"}\n </>\n ),\n} as VariantSelectorTranslations;\n\ntype OlderModelButtonTextData = {\n [collectionSlug: string]: {\n [language: string]: {\n title: string;\n subtitle?: string;\n };\n };\n};\n\nconst OLDER_MODELS_BUTTON_TEXT: OlderModelButtonTextData = {\n \"unifi-switching-standard-power-over-ethernet\": {\n en: {\n title: \"First Generation PoE Switching\",\n subtitle: \"High-Capacity PoE+ and 24V support\",\n },\n },\n};\n\nexport const getOlderModelsButtonText = (\n collectionSlug?: string,\n language?: string,\n) => OLDER_MODELS_BUTTON_TEXT?.[collectionSlug || \"\"]?.[language || \"en\"];\n"],"names":["defaultVariantSelectorTranslations","inStock","soldOut","earlyAccess","comingSoon","available","topPerformer","bestPricePerformance","mostVersatile","highestClientCapacity","topPerformanceHighDensity","newerModels","olderModels","eaModels","subscription","save","month","from","VATincluded","priceVatIncluded","price","fromPrice","fromPriceVatIncluded","totalPrice","jsxs","Fragment","children","jsx","discountPercentage","percentage","minQuantity","shortTitle","discountPrice","discountMaxUnits","maxUnits","discountPriceMinUpsell","upsellProductTitle","productTitle","discountPriceUpsell","discountUpsellMaxUnits","theseDevices","upsellTitle","learnMore","productCardPopup","quantity","qty","select","technicalSpecifications","showAll","addToCart","productAvailableIn","storeName","style","whiteSpace","OLDER_MODELS_BUTTON_TEXT","en","title","subtitle","getOlderModelsButtonText","collectionSlug","language"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"VariantSelector.constants.mjs","sources":["../../../src/components/VariantSelector/VariantSelector.constants.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\n\nexport type VariantSelectorTranslations = {\n inStock: string;\n soldOut: string;\n earlyAccess: string;\n specialOffer: string;\n comingSoon: string;\n available: string;\n topPerformer: string;\n bestPricePerformance: string;\n mostVersatile: string;\n highestClientCapacity: string;\n topPerformanceHighDensity: string;\n newerModels: string;\n olderModels: string;\n eaModels: string;\n subscription: string;\n save: string;\n month: string;\n from: string;\n VATincluded: string;\n priceVatIncluded: (price: string) => ReactNode;\n fromPrice: (price: string) => ReactNode;\n fromPriceVatIncluded: (price: string) => ReactNode;\n totalPrice: (price: string) => ReactNode;\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => ReactNode;\n discountPrice: (price: string) => ReactNode;\n discountMaxUnits: (maxUnits: string) => ReactNode;\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => ReactNode;\n discountPriceUpsell: (price: string) => ReactNode;\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) => ReactNode;\n theseDevices: string;\n upsellTitle: string;\n learnMore: string;\n productCardPopup: {\n learnMore: string;\n quantity: string;\n qty: string;\n select: string;\n VATincluded: string;\n };\n technicalSpecifications: string;\n showAll: string;\n addToCart: string;\n productAvailableIn: (storeName: string) => ReactNode;\n};\n\nexport const defaultVariantSelectorTranslations = {\n inStock: \"In Stock\",\n soldOut: \"Sold out\",\n earlyAccess: \"Early access\",\n specialOffer: \"Special Offer\",\n comingSoon: \"Coming soon\",\n available: \"Available\",\n topPerformer: \"Top Performer\",\n bestPricePerformance: \"Best Price Performance\",\n mostVersatile: \"Most Versatile\",\n highestClientCapacity: \"Highest Client Capacity\",\n topPerformanceHighDensity: \"Top Performance / High Client Density\",\n newerModels: \"General Access products\",\n olderModels: \"Older models\",\n eaModels: \"Early Access products\",\n subscription: \"Subscription\",\n save: \"Save\",\n month: \"month\",\n from: \"From\",\n VATincluded: \"VAT Incl.\",\n priceVatIncluded: (price: string) => `(${price} VAT incl.)`,\n fromPrice: (price: string) => `From ${price}`,\n fromPriceVatIncluded: (price: string) => `(From ${price} VAT incl.)`,\n totalPrice: (price: string) => (\n <>\n <strong>{\"Total price: \"}</strong>\n {price}\n </>\n ),\n discountPercentage: (\n percentage: string,\n minQuantity: string,\n shortTitle: string,\n ) => (\n <>\n {`Save `}\n <span>{`${percentage}%`}</span>\n {` by buying ${minQuantity} or more ${shortTitle}.`}\n </>\n ),\n discountPrice: (price: string) => (\n <>\n {`You will save `}\n <span>{price}</span>\n {` with this purchase.`}\n </>\n ),\n discountMaxUnits: (maxUnits: string) =>\n `Offer available for up to ${maxUnits} units, one time only.`,\n discountPriceMinUpsell: (\n price: string,\n upsellProductTitle: string,\n productTitle: string,\n minQuantity: string,\n ) => (\n <>\n {`Save `}\n <span>{price}</span>\n {` per ${upsellProductTitle} when you add ${minQuantity} or more to this ${productTitle}.`}\n </>\n ),\n discountPriceUpsell: (price: string) => (\n <>\n {`You’re saving `}\n <span>{price}</span>\n {` on this purchase.`}\n </>\n ),\n discountUpsellMaxUnits: (\n maxUnits: string,\n upsellProductTitle: string,\n productTitle: string,\n ) =>\n `Offer available for up to ${maxUnits} ${upsellProductTitle}s per ${productTitle}.`,\n theseDevices: \"these devices\",\n upsellTitle: \"Storage Drives\",\n learnMore: \"Learn more\",\n productCardPopup: {\n learnMore: \"Learn more\",\n quantity: \"Quantity\",\n qty: \"Qty\",\n select: \"Select\",\n VATincluded: \"VAT Incl.\",\n },\n technicalSpecifications: \"Technical Specifications\",\n showAll: \"Show all\",\n addToCart: \"Add to cart\",\n productAvailableIn: (storeName: string) => (\n <>\n {\"This product is available in the \"}\n <strong style={{ whiteSpace: \"nowrap\" }}>{storeName}</strong>\n {\".\"}\n </>\n ),\n} as VariantSelectorTranslations;\n\ntype OlderModelButtonTextData = {\n [collectionSlug: string]: {\n [language: string]: {\n title: string;\n subtitle?: string;\n };\n };\n};\n\nconst OLDER_MODELS_BUTTON_TEXT: OlderModelButtonTextData = {\n \"unifi-switching-standard-power-over-ethernet\": {\n en: {\n title: \"First Generation PoE Switching\",\n subtitle: \"High-Capacity PoE+ and 24V support\",\n },\n },\n};\n\nexport const getOlderModelsButtonText = (\n collectionSlug?: string,\n language?: string,\n) => OLDER_MODELS_BUTTON_TEXT?.[collectionSlug || \"\"]?.[language || \"en\"];\n"],"names":["defaultVariantSelectorTranslations","inStock","soldOut","earlyAccess","specialOffer","comingSoon","available","topPerformer","bestPricePerformance","mostVersatile","highestClientCapacity","topPerformanceHighDensity","newerModels","olderModels","eaModels","subscription","save","month","from","VATincluded","priceVatIncluded","price","fromPrice","fromPriceVatIncluded","totalPrice","jsxs","Fragment","children","jsx","discountPercentage","percentage","minQuantity","shortTitle","discountPrice","discountMaxUnits","maxUnits","discountPriceMinUpsell","upsellProductTitle","productTitle","discountPriceUpsell","discountUpsellMaxUnits","theseDevices","upsellTitle","learnMore","productCardPopup","quantity","qty","select","technicalSpecifications","showAll","addToCart","productAvailableIn","storeName","style","whiteSpace","OLDER_MODELS_BUTTON_TEXT","en","title","subtitle","getOlderModelsButtonText","collectionSlug","language"],"mappings":";;AA6DO,MAAMA,kCAAqC,GAAA;EAChDC,OAAS,EAAA,UAAA;EACTC,OAAS,EAAA,UAAA;EACTC,WAAa,EAAA,cAAA;EACbC,YAAc,EAAA,eAAA;EACdC,UAAY,EAAA,aAAA;EACZC,SAAW,EAAA,WAAA;EACXC,YAAc,EAAA,eAAA;EACdC,oBAAsB,EAAA,wBAAA;EACtBC,aAAe,EAAA,gBAAA;E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ets_BAXELvSy = require("../../../assets/collapseArrow.svg");
|
|
|
20
20
|
var _externalAssets_CzDCu21b = require("../../../assets/hamburger.svg");
|
|
21
21
|
var _externalAssets_CrL$Ujdd = require("../../../assets/minus2.svg");
|
|
22
22
|
var _externalAssets_DSmVXVR0 = require("../../../assets/playCircle.svg");
|
|
23
|
-
var
|
|
23
|
+
var _externalAssets_DEWS_Wz_ = require("../../../assets/plus2.svg");
|
|
24
24
|
var _externalAssets_g50k1DIN = require("../../../assets/search.svg");
|
|
25
25
|
var _externalAssets_DjBpKbb4 = require("../../../assets/playback2.svg");
|
|
26
26
|
var _externalAssets_CwVZcmz1 = require("../../../assets/filter.svg");
|
|
@@ -37,7 +37,7 @@ var _externalAssets_BAXELvSy__default = /*#__PURE__*/_interopDefault(_externalAs
|
|
|
37
37
|
var _externalAssets_CzDCu21b__default = /*#__PURE__*/_interopDefault(_externalAssets_CzDCu21b);
|
|
38
38
|
var _externalAssets_CrL$Ujdd__default = /*#__PURE__*/_interopDefault(_externalAssets_CrL$Ujdd);
|
|
39
39
|
var _externalAssets_DSmVXVR0__default = /*#__PURE__*/_interopDefault(_externalAssets_DSmVXVR0);
|
|
40
|
-
var
|
|
40
|
+
var _externalAssets_DEWS_Wz___default = /*#__PURE__*/_interopDefault(_externalAssets_DEWS_Wz_);
|
|
41
41
|
var _externalAssets_g50k1DIN__default = /*#__PURE__*/_interopDefault(_externalAssets_g50k1DIN);
|
|
42
42
|
var _externalAssets_DjBpKbb4__default = /*#__PURE__*/_interopDefault(_externalAssets_DjBpKbb4);
|
|
43
43
|
var _externalAssets_CwVZcmz1__default = /*#__PURE__*/_interopDefault(_externalAssets_CwVZcmz1);
|
|
@@ -93,7 +93,7 @@ Object.defineProperty(exports, "playCircle", {
|
|
|
93
93
|
Object.defineProperty(exports, "plus", {
|
|
94
94
|
enumerable: true,
|
|
95
95
|
get: function () {
|
|
96
|
-
return
|
|
96
|
+
return _externalAssets_DEWS_Wz___default["default"];
|
|
97
97
|
}
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "search", {
|
|
@@ -18,7 +18,7 @@ export { default as collapseArrow } from "../../../assets/collapseArrow.svg";
|
|
|
18
18
|
export { default as hamburger } from "../../../assets/hamburger.svg";
|
|
19
19
|
export { default as minus } from "../../../assets/minus2.svg";
|
|
20
20
|
export { default as playCircle } from "../../../assets/playCircle.svg";
|
|
21
|
-
export { default as plus } from "../../../assets/
|
|
21
|
+
export { default as plus } from "../../../assets/plus2.svg";
|
|
22
22
|
export { default as search } from "../../../assets/search.svg";
|
|
23
23
|
export { default as playback } from "../../../assets/playback2.svg";
|
|
24
24
|
export { default as filter } from "../../../assets/filter.svg";
|
|
@@ -3,24 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
6
|
+
var _externalAssets_DEWS_Wz_ = require("../../../assets/plus2.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
|
-
var
|
|
12
|
+
var _externalAssets_DEWS_Wz___default = /*#__PURE__*/_interopDefault(_externalAssets_DEWS_Wz_);
|
|
13
13
|
Object.defineProperty(exports, "default", {
|
|
14
14
|
enumerable: true,
|
|
15
15
|
get: function () {
|
|
16
|
-
return
|
|
16
|
+
return _externalAssets_DEWS_Wz___default["default"];
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
-
Object.keys(
|
|
19
|
+
Object.keys(_externalAssets_DEWS_Wz_).forEach(function (k) {
|
|
20
20
|
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
21
|
enumerable: true,
|
|
22
22
|
get: function () {
|
|
23
|
-
return
|
|
23
|
+
return _externalAssets_DEWS_Wz_[k];
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
26
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../assets/
|
|
2
|
-
export { default } from "../../../assets/
|
|
1
|
+
export * from "../../../assets/plus2.svg";
|
|
2
|
+
export { default } from "../../../assets/plus2.svg";
|
|
3
3
|
//# sourceMappingURL=plus.svg.mjs.map
|
|
@@ -25,9 +25,9 @@ export { default as dreamMachineStumpy } from "./dreamMachineStumpy.svg";
|
|
|
25
25
|
export { default as dreamMachineStacked } from "./dreamMachineStacked.svg";
|
|
26
26
|
export { default as dreamRouter } from "./dreamRouter.svg";
|
|
27
27
|
export { default as dreamWall } from "./dreamWall.svg";
|
|
28
|
+
export { default as evCharging } from "./evCharging.svg";
|
|
28
29
|
export { default as efg } from "./efg.svg";
|
|
29
30
|
export { default as efgStacked } from "./efgStacked.svg";
|
|
30
|
-
export { default as evCharging } from "./evCharging.svg";
|
|
31
31
|
export { default as express } from "./express.svg";
|
|
32
32
|
export { default as flagship } from "./flagship.svg";
|
|
33
33
|
export { default as flex } from "./flex.svg";
|
|
@@ -102,4 +102,5 @@ export { default as airMax24ghz } from "./airMax24ghz.svg";
|
|
|
102
102
|
export { default as airFiberPtP } from "./airFiberPtP.svg";
|
|
103
103
|
export { default as gpon } from "./gpon.svg";
|
|
104
104
|
export { default as xgsPon } from "./xgsPon.svg";
|
|
105
|
+
export { default as sfpAndCable } from "./sfpAndCable.svg";
|
|
105
106
|
export { default as cloudGatewayUltra } from "./ultra-cloud-gateway.svg";
|
|
@@ -22,9 +22,9 @@ require('./dreamMachineStumpy.svg.js');
|
|
|
22
22
|
require('./dreamMachineStacked.svg.js');
|
|
23
23
|
require('./dreamRouter.svg.js');
|
|
24
24
|
require('./dreamWall.svg.js');
|
|
25
|
+
require('./evCharging.svg.js');
|
|
25
26
|
require('./efg.svg.js');
|
|
26
27
|
require('./efgStacked.svg.js');
|
|
27
|
-
require('./evCharging.svg.js');
|
|
28
28
|
require('./express.svg.js');
|
|
29
29
|
require('./flagship.svg.js');
|
|
30
30
|
require('./flex.svg.js');
|
|
@@ -99,6 +99,7 @@ require('./airMax24ghz.svg.js');
|
|
|
99
99
|
require('./airFiberPtP.svg.js');
|
|
100
100
|
require('./gpon.svg.js');
|
|
101
101
|
require('./xgsPon.svg.js');
|
|
102
|
+
require('./sfpAndCable.svg.js');
|
|
102
103
|
require('./ultra-cloud-gateway.svg.js');
|
|
103
104
|
var _externalAssets_DrXsNFyi = require("../../../assets/access.svg");
|
|
104
105
|
var _externalAssets_DnZUGHoA = require("../../../assets/antennasWireless.svg");
|
|
@@ -122,9 +123,9 @@ var _externalAssets_DkQ8o0Qe = require("../../../assets/dreamMachineStumpy.svg")
|
|
|
122
123
|
var _externalAssets_C$asv5Oy = require("../../../assets/dreamMachineStacked.svg");
|
|
123
124
|
var _externalAssets_DYuD7OP_ = require("../../../assets/dreamRouter.svg");
|
|
124
125
|
var _externalAssets_DcaTZUSz = require("../../../assets/dreamWall.svg");
|
|
126
|
+
var _externalAssets_ChdEjBXM = require("../../../assets/evCharging.svg");
|
|
125
127
|
var _externalAssets_Zpt8loyO = require("../../../assets/efg.svg");
|
|
126
128
|
var _externalAssets_DlooEO87 = require("../../../assets/efgStacked.svg");
|
|
127
|
-
var _externalAssets_ChdEjBXM = require("../../../assets/evCharging.svg");
|
|
128
129
|
var _externalAssets_DA6H_Emm = require("../../../assets/express.svg");
|
|
129
130
|
var _externalAssets_BpAHE3Kz = require("../../../assets/flagship.svg");
|
|
130
131
|
var _externalAssets_UJD$M$PE = require("../../../assets/flex.svg");
|
|
@@ -199,6 +200,7 @@ var _externalAssets_BOy2ygw4 = require("../../../assets/airMax24ghz.svg");
|
|
|
199
200
|
var _externalAssets_CpudPnX7 = require("../../../assets/airFiberPtP.svg");
|
|
200
201
|
var _externalAssets_IeLPrGjf = require("../../../assets/gpon.svg");
|
|
201
202
|
var _externalAssets_C6aD4TiH = require("../../../assets/xgsPon.svg");
|
|
203
|
+
var _externalAssets_DGFkGwIz = require("../../../assets/sfpAndCable.svg");
|
|
202
204
|
var _externalAssets_BRM6VTe5 = require("../../../assets/ultra-cloud-gateway.svg");
|
|
203
205
|
function _interopDefault(e) {
|
|
204
206
|
return e && e.__esModule ? e : {
|
|
@@ -227,9 +229,9 @@ var _externalAssets_DkQ8o0Qe__default = /*#__PURE__*/_interopDefault(_externalAs
|
|
|
227
229
|
var _externalAssets_C$asv5Oy__default = /*#__PURE__*/_interopDefault(_externalAssets_C$asv5Oy);
|
|
228
230
|
var _externalAssets_DYuD7OP___default = /*#__PURE__*/_interopDefault(_externalAssets_DYuD7OP_);
|
|
229
231
|
var _externalAssets_DcaTZUSz__default = /*#__PURE__*/_interopDefault(_externalAssets_DcaTZUSz);
|
|
232
|
+
var _externalAssets_ChdEjBXM__default = /*#__PURE__*/_interopDefault(_externalAssets_ChdEjBXM);
|
|
230
233
|
var _externalAssets_Zpt8loyO__default = /*#__PURE__*/_interopDefault(_externalAssets_Zpt8loyO);
|
|
231
234
|
var _externalAssets_DlooEO87__default = /*#__PURE__*/_interopDefault(_externalAssets_DlooEO87);
|
|
232
|
-
var _externalAssets_ChdEjBXM__default = /*#__PURE__*/_interopDefault(_externalAssets_ChdEjBXM);
|
|
233
235
|
var _externalAssets_DA6H_Emm__default = /*#__PURE__*/_interopDefault(_externalAssets_DA6H_Emm);
|
|
234
236
|
var _externalAssets_BpAHE3Kz__default = /*#__PURE__*/_interopDefault(_externalAssets_BpAHE3Kz);
|
|
235
237
|
var _externalAssets_UJD$M$PE__default = /*#__PURE__*/_interopDefault(_externalAssets_UJD$M$PE);
|
|
@@ -304,6 +306,7 @@ var _externalAssets_BOy2ygw4__default = /*#__PURE__*/_interopDefault(_externalAs
|
|
|
304
306
|
var _externalAssets_CpudPnX7__default = /*#__PURE__*/_interopDefault(_externalAssets_CpudPnX7);
|
|
305
307
|
var _externalAssets_IeLPrGjf__default = /*#__PURE__*/_interopDefault(_externalAssets_IeLPrGjf);
|
|
306
308
|
var _externalAssets_C6aD4TiH__default = /*#__PURE__*/_interopDefault(_externalAssets_C6aD4TiH);
|
|
309
|
+
var _externalAssets_DGFkGwIz__default = /*#__PURE__*/_interopDefault(_externalAssets_DGFkGwIz);
|
|
307
310
|
var _externalAssets_BRM6VTe5__default = /*#__PURE__*/_interopDefault(_externalAssets_BRM6VTe5);
|
|
308
311
|
"use strict";
|
|
309
312
|
Object.defineProperty(exports, "access", {
|
|
@@ -438,22 +441,22 @@ Object.defineProperty(exports, "dreamWall", {
|
|
|
438
441
|
return _externalAssets_DcaTZUSz__default["default"];
|
|
439
442
|
}
|
|
440
443
|
});
|
|
441
|
-
Object.defineProperty(exports, "
|
|
444
|
+
Object.defineProperty(exports, "evCharging", {
|
|
442
445
|
enumerable: true,
|
|
443
446
|
get: function () {
|
|
444
|
-
return
|
|
447
|
+
return _externalAssets_ChdEjBXM__default["default"];
|
|
445
448
|
}
|
|
446
449
|
});
|
|
447
|
-
Object.defineProperty(exports, "
|
|
450
|
+
Object.defineProperty(exports, "efg", {
|
|
448
451
|
enumerable: true,
|
|
449
452
|
get: function () {
|
|
450
|
-
return
|
|
453
|
+
return _externalAssets_Zpt8loyO__default["default"];
|
|
451
454
|
}
|
|
452
455
|
});
|
|
453
|
-
Object.defineProperty(exports, "
|
|
456
|
+
Object.defineProperty(exports, "efgStacked", {
|
|
454
457
|
enumerable: true,
|
|
455
458
|
get: function () {
|
|
456
|
-
return
|
|
459
|
+
return _externalAssets_DlooEO87__default["default"];
|
|
457
460
|
}
|
|
458
461
|
});
|
|
459
462
|
Object.defineProperty(exports, "express", {
|
|
@@ -900,6 +903,12 @@ Object.defineProperty(exports, "xgsPon", {
|
|
|
900
903
|
return _externalAssets_C6aD4TiH__default["default"];
|
|
901
904
|
}
|
|
902
905
|
});
|
|
906
|
+
Object.defineProperty(exports, "sfpAndCable", {
|
|
907
|
+
enumerable: true,
|
|
908
|
+
get: function () {
|
|
909
|
+
return _externalAssets_DGFkGwIz__default["default"];
|
|
910
|
+
}
|
|
911
|
+
});
|
|
903
912
|
Object.defineProperty(exports, "cloudGatewayUltra", {
|
|
904
913
|
enumerable: true,
|
|
905
914
|
get: function () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -20,9 +20,9 @@ import './dreamMachineStumpy.svg.mjs';
|
|
|
20
20
|
import './dreamMachineStacked.svg.mjs';
|
|
21
21
|
import './dreamRouter.svg.mjs';
|
|
22
22
|
import './dreamWall.svg.mjs';
|
|
23
|
+
import './evCharging.svg.mjs';
|
|
23
24
|
import './efg.svg.mjs';
|
|
24
25
|
import './efgStacked.svg.mjs';
|
|
25
|
-
import './evCharging.svg.mjs';
|
|
26
26
|
import './express.svg.mjs';
|
|
27
27
|
import './flagship.svg.mjs';
|
|
28
28
|
import './flex.svg.mjs';
|
|
@@ -97,6 +97,7 @@ import './airMax24ghz.svg.mjs';
|
|
|
97
97
|
import './airFiberPtP.svg.mjs';
|
|
98
98
|
import './gpon.svg.mjs';
|
|
99
99
|
import './xgsPon.svg.mjs';
|
|
100
|
+
import './sfpAndCable.svg.mjs';
|
|
100
101
|
import './ultra-cloud-gateway.svg.mjs';
|
|
101
102
|
export { default as access } from "../../../assets/access.svg";
|
|
102
103
|
export { default as antennasWireless } from "../../../assets/antennasWireless.svg";
|
|
@@ -120,9 +121,9 @@ export { default as dreamMachineStumpy } from "../../../assets/dreamMachineStump
|
|
|
120
121
|
export { default as dreamMachineStacked } from "../../../assets/dreamMachineStacked.svg";
|
|
121
122
|
export { default as dreamRouter } from "../../../assets/dreamRouter.svg";
|
|
122
123
|
export { default as dreamWall } from "../../../assets/dreamWall.svg";
|
|
124
|
+
export { default as evCharging } from "../../../assets/evCharging.svg";
|
|
123
125
|
export { default as efg } from "../../../assets/efg.svg";
|
|
124
126
|
export { default as efgStacked } from "../../../assets/efgStacked.svg";
|
|
125
|
-
export { default as evCharging } from "../../../assets/evCharging.svg";
|
|
126
127
|
export { default as express } from "../../../assets/express.svg";
|
|
127
128
|
export { default as flagship } from "../../../assets/flagship.svg";
|
|
128
129
|
export { default as flex } from "../../../assets/flex.svg";
|
|
@@ -197,6 +198,7 @@ export { default as airMax24ghz } from "../../../assets/airMax24ghz.svg";
|
|
|
197
198
|
export { default as airFiberPtP } from "../../../assets/airFiberPtP.svg";
|
|
198
199
|
export { default as gpon } from "../../../assets/gpon.svg";
|
|
199
200
|
export { default as xgsPon } from "../../../assets/xgsPon.svg";
|
|
201
|
+
export { default as sfpAndCable } from "../../../assets/sfpAndCable.svg";
|
|
200
202
|
export { default as cloudGatewayUltra } from "../../../assets/ultra-cloud-gateway.svg";
|
|
201
203
|
"use strict";
|
|
202
204
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _externalAssets_DGFkGwIz = require("../../../assets/sfpAndCable.svg");
|
|
7
|
+
function _interopDefault(e) {
|
|
8
|
+
return e && e.__esModule ? e : {
|
|
9
|
+
default: e
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
var _externalAssets_DGFkGwIz__default = /*#__PURE__*/_interopDefault(_externalAssets_DGFkGwIz);
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return _externalAssets_DGFkGwIz__default["default"];
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.keys(_externalAssets_DGFkGwIz).forEach(function (k) {
|
|
20
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return _externalAssets_DGFkGwIz[k];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=sfpAndCable.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sfpAndCable.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sfpAndCable.svg.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/lib/constants/layout.js
CHANGED
|
@@ -19,7 +19,9 @@ const CONTAINER_WIDTH = {
|
|
|
19
19
|
ACCOUNTS_CUSTOM: 832,
|
|
20
20
|
// custom width for accounts screen
|
|
21
21
|
DESKTOP: 1196,
|
|
22
|
-
PRODUCT_PAGE: 980
|
|
22
|
+
PRODUCT_PAGE: 980,
|
|
23
|
+
MICROSITE_VERTICALS: 900
|
|
24
|
+
// custom width for Microsite technology verticals
|
|
23
25
|
};
|
|
24
26
|
const CONTAINER_PADDING = {
|
|
25
27
|
MOBILE: 16,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.js","sources":["../../src/constants/layout.ts"],"sourcesContent":["export const CUSTOM_WIDTH = {\n /**\n * - was 940 before AmpliFi was added to the navigation\n * - was 1038 before the UI.com redesign (change nav item copy and added icon)\n * - was 1095 before Greek was added as a language option\n */\n TOP_NAV_MOBILE: 1104,\n /**\n * Value that is bigger then `TOP_NAV_MOBILE` to show a more compact spacing on header to\n */\n TOP_NAV_DESKTOP_COMPACT: 1140,\n} as const;\n\n/**\n * Note: don't use it for detecting if you're in a certain screen range! Use Breakpoints instead!\n *\n * @example\n * // DON\"T DO THIS!\n * const { width } = useWindowSize();\n * const isMobileView = useMemo(() => {\n * return width <= CONTAINER_WIDTH.MOBILE;\n * }, [width]);\n *\n * // INSTEAD DO THIS!\n * const isMobileView = useMedia(BREAKPOINTS.MOBILE, false);\n */\nexport const CONTAINER_WIDTH = {\n MOBILE: 460,\n TABLET: 768,\n ACCOUNTS_CUSTOM: 832, // custom width for accounts screen\n DESKTOP: 1196,\n PRODUCT_PAGE: 980,\n} as const;\n\nexport const CONTAINER_PADDING = {\n MOBILE: 16,\n TABLET: 32,\n DESKTOP: 32,\n} as const;\n\n/**\n * Total container consists of the width of the content + the side padding\n * TODO: need to refactor min-max breakpoints MOBILE_MAX -> TABLET_MIN = MOBILE_MAX + 1px\n */\nexport const BREAKPOINTS = {\n /**\n * Used only to target pretty-old or tiny mobile phones\n *\n * ! 9/10 times you should be using `BREAKPOINTS.MOBILE_AND_DOWN` instead !\n */\n SMALL_MOBILE_AND_DOWN: `(max-width: 376px)`,\n MOBILE_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.MOBILE + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n MOBILE_UP: `(min-width: ${\n CONTAINER_WIDTH.MOBILE + 1 + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n TABLET_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.TABLET + CONTAINER_PADDING.TABLET * 2\n }px)`,\n TABLET_UP: `(min-width: ${\n CONTAINER_WIDTH.TABLET + 1 + CONTAINER_PADDING.TABLET * 2\n }px)`,\n DESKTOP_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.DESKTOP + CONTAINER_PADDING.DESKTOP * 2\n }px)`,\n TOP_NAV_MOBILE_AND_DOWN: `(max-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE}px)`,\n TOP_NAV_MOBILE_UP: `(min-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE + 1}px)`,\n /** Custom width for upsell tablet/medium */\n UPSELL_TABLET_AND_DOWN: `(max-width: 834px)`,\n CUSTOM_CHECKOUT_MOBILE_AND_DOWN: `(max-width: 850px)`,\n} as const;\n\nexport const PRODUCT_CARD = {\n DESKTOP: {\n WIDTH: 278,\n HEIGHT: 483,\n },\n MOBILE: {\n WIDTH: 171,\n HEIGHT: 336,\n },\n} as const;\n\nexport const CHECKOUT_SUMMARY = {\n DESKTOP: {\n WIDTH: 408,\n },\n} as const;\n"],"names":["CUSTOM_WIDTH","TOP_NAV_MOBILE","TOP_NAV_DESKTOP_COMPACT","CONTAINER_WIDTH","MOBILE","TABLET","ACCOUNTS_CUSTOM","DESKTOP","PRODUCT_PAGE","CONTAINER_PADDING","BREAKPOINTS","SMALL_MOBILE_AND_DOWN","MOBILE_AND_DOWN","MOBILE_UP","TABLET_AND_DOWN","TABLET_UP","DESKTOP_AND_DOWN","TOP_NAV_MOBILE_AND_DOWN","TOP_NAV_MOBILE_UP","UPSELL_TABLET_AND_DOWN","CUSTOM_CHECKOUT_MOBILE_AND_DOWN","PRODUCT_CARD","WIDTH","HEIGHT","CHECKOUT_SUMMARY"],"mappings":";;;AAAO,MAAMA,YAAe,GAAA;EAAA;AAAA;AAAA;AAAA;AAAA;EAM1BC,cAAgB,EAAA,IAAA;EAAA;AAAA;AAAA;EAIhBC,uBAAyB,EAAA;AAC3B,CAAA;AAeO,MAAMC,eAAkB,GAAA;EAC7BC,MAAQ,EAAA,GAAA;EACRC,MAAQ,EAAA,GAAA;EACRC,eAAiB,EAAA,GAAA;EAAA;EACjBC,OAAS,EAAA,IAAA;EACTC,YAAc,EAAA;
|
|
1
|
+
{"version":3,"file":"layout.js","sources":["../../src/constants/layout.ts"],"sourcesContent":["export const CUSTOM_WIDTH = {\n /**\n * - was 940 before AmpliFi was added to the navigation\n * - was 1038 before the UI.com redesign (change nav item copy and added icon)\n * - was 1095 before Greek was added as a language option\n */\n TOP_NAV_MOBILE: 1104,\n /**\n * Value that is bigger then `TOP_NAV_MOBILE` to show a more compact spacing on header to\n */\n TOP_NAV_DESKTOP_COMPACT: 1140,\n} as const;\n\n/**\n * Note: don't use it for detecting if you're in a certain screen range! Use Breakpoints instead!\n *\n * @example\n * // DON\"T DO THIS!\n * const { width } = useWindowSize();\n * const isMobileView = useMemo(() => {\n * return width <= CONTAINER_WIDTH.MOBILE;\n * }, [width]);\n *\n * // INSTEAD DO THIS!\n * const isMobileView = useMedia(BREAKPOINTS.MOBILE, false);\n */\nexport const CONTAINER_WIDTH = {\n MOBILE: 460,\n TABLET: 768,\n ACCOUNTS_CUSTOM: 832, // custom width for accounts screen\n DESKTOP: 1196,\n PRODUCT_PAGE: 980,\n MICROSITE_VERTICALS: 900, // custom width for Microsite technology verticals\n} as const;\n\nexport const CONTAINER_PADDING = {\n MOBILE: 16,\n TABLET: 32,\n DESKTOP: 32,\n} as const;\n\n/**\n * Total container consists of the width of the content + the side padding\n * TODO: need to refactor min-max breakpoints MOBILE_MAX -> TABLET_MIN = MOBILE_MAX + 1px\n */\nexport const BREAKPOINTS = {\n /**\n * Used only to target pretty-old or tiny mobile phones\n *\n * ! 9/10 times you should be using `BREAKPOINTS.MOBILE_AND_DOWN` instead !\n */\n SMALL_MOBILE_AND_DOWN: `(max-width: 376px)`,\n MOBILE_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.MOBILE + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n MOBILE_UP: `(min-width: ${\n CONTAINER_WIDTH.MOBILE + 1 + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n TABLET_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.TABLET + CONTAINER_PADDING.TABLET * 2\n }px)`,\n TABLET_UP: `(min-width: ${\n CONTAINER_WIDTH.TABLET + 1 + CONTAINER_PADDING.TABLET * 2\n }px)`,\n DESKTOP_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.DESKTOP + CONTAINER_PADDING.DESKTOP * 2\n }px)`,\n TOP_NAV_MOBILE_AND_DOWN: `(max-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE}px)`,\n TOP_NAV_MOBILE_UP: `(min-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE + 1}px)`,\n /** Custom width for upsell tablet/medium */\n UPSELL_TABLET_AND_DOWN: `(max-width: 834px)`,\n CUSTOM_CHECKOUT_MOBILE_AND_DOWN: `(max-width: 850px)`,\n} as const;\n\nexport const PRODUCT_CARD = {\n DESKTOP: {\n WIDTH: 278,\n HEIGHT: 483,\n },\n MOBILE: {\n WIDTH: 171,\n HEIGHT: 336,\n },\n} as const;\n\nexport const CHECKOUT_SUMMARY = {\n DESKTOP: {\n WIDTH: 408,\n },\n} as const;\n"],"names":["CUSTOM_WIDTH","TOP_NAV_MOBILE","TOP_NAV_DESKTOP_COMPACT","CONTAINER_WIDTH","MOBILE","TABLET","ACCOUNTS_CUSTOM","DESKTOP","PRODUCT_PAGE","MICROSITE_VERTICALS","CONTAINER_PADDING","BREAKPOINTS","SMALL_MOBILE_AND_DOWN","MOBILE_AND_DOWN","MOBILE_UP","TABLET_AND_DOWN","TABLET_UP","DESKTOP_AND_DOWN","TOP_NAV_MOBILE_AND_DOWN","TOP_NAV_MOBILE_UP","UPSELL_TABLET_AND_DOWN","CUSTOM_CHECKOUT_MOBILE_AND_DOWN","PRODUCT_CARD","WIDTH","HEIGHT","CHECKOUT_SUMMARY"],"mappings":";;;AAAO,MAAMA,YAAe,GAAA;EAAA;AAAA;AAAA;AAAA;AAAA;EAM1BC,cAAgB,EAAA,IAAA;EAAA;AAAA;AAAA;EAIhBC,uBAAyB,EAAA;AAC3B,CAAA;AAeO,MAAMC,eAAkB,GAAA;EAC7BC,MAAQ,EAAA,GAAA;EACRC,MAAQ,EAAA,GAAA;EACRC,eAAiB,EAAA,GAAA;EAAA;EACjBC,OAAS,EAAA,IAAA;EACTC,YAAc,EAAA,GAAA;EACdC,mBAAqB,EAAA;EAAA;AACvB,CAAA;AAEO,MAAMC,iBAAoB,GAAA;EAC/BN,MAAQ,EAAA,EAAA;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CT_PAGE: 980,
|
|
22
|
+
MICROSITE_VERTICALS: 900
|
|
23
|
+
// custom width for Microsite technology verticals
|
|
22
24
|
};
|
|
23
25
|
const CONTAINER_PADDING = {
|
|
24
26
|
MOBILE: 16,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.mjs","sources":["../../src/constants/layout.ts"],"sourcesContent":["export const CUSTOM_WIDTH = {\n /**\n * - was 940 before AmpliFi was added to the navigation\n * - was 1038 before the UI.com redesign (change nav item copy and added icon)\n * - was 1095 before Greek was added as a language option\n */\n TOP_NAV_MOBILE: 1104,\n /**\n * Value that is bigger then `TOP_NAV_MOBILE` to show a more compact spacing on header to\n */\n TOP_NAV_DESKTOP_COMPACT: 1140,\n} as const;\n\n/**\n * Note: don't use it for detecting if you're in a certain screen range! Use Breakpoints instead!\n *\n * @example\n * // DON\"T DO THIS!\n * const { width } = useWindowSize();\n * const isMobileView = useMemo(() => {\n * return width <= CONTAINER_WIDTH.MOBILE;\n * }, [width]);\n *\n * // INSTEAD DO THIS!\n * const isMobileView = useMedia(BREAKPOINTS.MOBILE, false);\n */\nexport const CONTAINER_WIDTH = {\n MOBILE: 460,\n TABLET: 768,\n ACCOUNTS_CUSTOM: 832, // custom width for accounts screen\n DESKTOP: 1196,\n PRODUCT_PAGE: 980,\n} as const;\n\nexport const CONTAINER_PADDING = {\n MOBILE: 16,\n TABLET: 32,\n DESKTOP: 32,\n} as const;\n\n/**\n * Total container consists of the width of the content + the side padding\n * TODO: need to refactor min-max breakpoints MOBILE_MAX -> TABLET_MIN = MOBILE_MAX + 1px\n */\nexport const BREAKPOINTS = {\n /**\n * Used only to target pretty-old or tiny mobile phones\n *\n * ! 9/10 times you should be using `BREAKPOINTS.MOBILE_AND_DOWN` instead !\n */\n SMALL_MOBILE_AND_DOWN: `(max-width: 376px)`,\n MOBILE_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.MOBILE + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n MOBILE_UP: `(min-width: ${\n CONTAINER_WIDTH.MOBILE + 1 + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n TABLET_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.TABLET + CONTAINER_PADDING.TABLET * 2\n }px)`,\n TABLET_UP: `(min-width: ${\n CONTAINER_WIDTH.TABLET + 1 + CONTAINER_PADDING.TABLET * 2\n }px)`,\n DESKTOP_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.DESKTOP + CONTAINER_PADDING.DESKTOP * 2\n }px)`,\n TOP_NAV_MOBILE_AND_DOWN: `(max-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE}px)`,\n TOP_NAV_MOBILE_UP: `(min-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE + 1}px)`,\n /** Custom width for upsell tablet/medium */\n UPSELL_TABLET_AND_DOWN: `(max-width: 834px)`,\n CUSTOM_CHECKOUT_MOBILE_AND_DOWN: `(max-width: 850px)`,\n} as const;\n\nexport const PRODUCT_CARD = {\n DESKTOP: {\n WIDTH: 278,\n HEIGHT: 483,\n },\n MOBILE: {\n WIDTH: 171,\n HEIGHT: 336,\n },\n} as const;\n\nexport const CHECKOUT_SUMMARY = {\n DESKTOP: {\n WIDTH: 408,\n },\n} as const;\n"],"names":["CUSTOM_WIDTH","TOP_NAV_MOBILE","TOP_NAV_DESKTOP_COMPACT","CONTAINER_WIDTH","MOBILE","TABLET","ACCOUNTS_CUSTOM","DESKTOP","PRODUCT_PAGE","CONTAINER_PADDING","BREAKPOINTS","SMALL_MOBILE_AND_DOWN","MOBILE_AND_DOWN","MOBILE_UP","TABLET_AND_DOWN","TABLET_UP","DESKTOP_AND_DOWN","TOP_NAV_MOBILE_AND_DOWN","TOP_NAV_MOBILE_UP","UPSELL_TABLET_AND_DOWN","CUSTOM_CHECKOUT_MOBILE_AND_DOWN","PRODUCT_CARD","WIDTH","HEIGHT","CHECKOUT_SUMMARY"],"mappings":";;AAAO,MAAMA,YAAe,GAAA;EAAA;AAAA;AAAA;AAAA;AAAA;EAM1BC,cAAgB,EAAA,IAAA;EAAA;AAAA;AAAA;EAIhBC,uBAAyB,EAAA;AAC3B,CAAA;AAeO,MAAMC,eAAkB,GAAA;EAC7BC,MAAQ,EAAA,GAAA;EACRC,MAAQ,EAAA,GAAA;EACRC,eAAiB,EAAA,GAAA;EAAA;EACjBC,OAAS,EAAA,IAAA;EACTC,YAAc,EAAA;
|
|
1
|
+
{"version":3,"file":"layout.mjs","sources":["../../src/constants/layout.ts"],"sourcesContent":["export const CUSTOM_WIDTH = {\n /**\n * - was 940 before AmpliFi was added to the navigation\n * - was 1038 before the UI.com redesign (change nav item copy and added icon)\n * - was 1095 before Greek was added as a language option\n */\n TOP_NAV_MOBILE: 1104,\n /**\n * Value that is bigger then `TOP_NAV_MOBILE` to show a more compact spacing on header to\n */\n TOP_NAV_DESKTOP_COMPACT: 1140,\n} as const;\n\n/**\n * Note: don't use it for detecting if you're in a certain screen range! Use Breakpoints instead!\n *\n * @example\n * // DON\"T DO THIS!\n * const { width } = useWindowSize();\n * const isMobileView = useMemo(() => {\n * return width <= CONTAINER_WIDTH.MOBILE;\n * }, [width]);\n *\n * // INSTEAD DO THIS!\n * const isMobileView = useMedia(BREAKPOINTS.MOBILE, false);\n */\nexport const CONTAINER_WIDTH = {\n MOBILE: 460,\n TABLET: 768,\n ACCOUNTS_CUSTOM: 832, // custom width for accounts screen\n DESKTOP: 1196,\n PRODUCT_PAGE: 980,\n MICROSITE_VERTICALS: 900, // custom width for Microsite technology verticals\n} as const;\n\nexport const CONTAINER_PADDING = {\n MOBILE: 16,\n TABLET: 32,\n DESKTOP: 32,\n} as const;\n\n/**\n * Total container consists of the width of the content + the side padding\n * TODO: need to refactor min-max breakpoints MOBILE_MAX -> TABLET_MIN = MOBILE_MAX + 1px\n */\nexport const BREAKPOINTS = {\n /**\n * Used only to target pretty-old or tiny mobile phones\n *\n * ! 9/10 times you should be using `BREAKPOINTS.MOBILE_AND_DOWN` instead !\n */\n SMALL_MOBILE_AND_DOWN: `(max-width: 376px)`,\n MOBILE_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.MOBILE + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n MOBILE_UP: `(min-width: ${\n CONTAINER_WIDTH.MOBILE + 1 + CONTAINER_PADDING.MOBILE * 2\n }px)`,\n TABLET_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.TABLET + CONTAINER_PADDING.TABLET * 2\n }px)`,\n TABLET_UP: `(min-width: ${\n CONTAINER_WIDTH.TABLET + 1 + CONTAINER_PADDING.TABLET * 2\n }px)`,\n DESKTOP_AND_DOWN: `(max-width: ${\n CONTAINER_WIDTH.DESKTOP + CONTAINER_PADDING.DESKTOP * 2\n }px)`,\n TOP_NAV_MOBILE_AND_DOWN: `(max-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE}px)`,\n TOP_NAV_MOBILE_UP: `(min-width: ${CUSTOM_WIDTH.TOP_NAV_MOBILE + 1}px)`,\n /** Custom width for upsell tablet/medium */\n UPSELL_TABLET_AND_DOWN: `(max-width: 834px)`,\n CUSTOM_CHECKOUT_MOBILE_AND_DOWN: `(max-width: 850px)`,\n} as const;\n\nexport const PRODUCT_CARD = {\n DESKTOP: {\n WIDTH: 278,\n HEIGHT: 483,\n },\n MOBILE: {\n WIDTH: 171,\n HEIGHT: 336,\n },\n} as const;\n\nexport const CHECKOUT_SUMMARY = {\n DESKTOP: {\n WIDTH: 408,\n },\n} as const;\n"],"names":["CUSTOM_WIDTH","TOP_NAV_MOBILE","TOP_NAV_DESKTOP_COMPACT","CONTAINER_WIDTH","MOBILE","TABLET","ACCOUNTS_CUSTOM","DESKTOP","PRODUCT_PAGE","MICROSITE_VERTICALS","CONTAINER_PADDING","BREAKPOINTS","SMALL_MOBILE_AND_DOWN","MOBILE_AND_DOWN","MOBILE_UP","TABLET_AND_DOWN","TABLET_UP","DESKTOP_AND_DOWN","TOP_NAV_MOBILE_AND_DOWN","TOP_NAV_MOBILE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