@ubnt/store.core 9.36.0-alpha.29 → 9.36.0-alpha.3
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 +1 -105
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/gbe-1u-2.5and10.png +0 -0
- package/lib/assets/gbe-1u.png +0 -0
- package/lib/assets/icons/wizard/plus.svg.js +1 -1
- package/lib/assets/icons/wizard/plus.svg.mjs +2 -2
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus.svg +22 -4
- package/lib/assets/plus2.svg +4 -22
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/plus6.svg +9 -9
- package/lib/components/Button/CartButton.d.ts +1 -3
- package/lib/components/Button/CartButton.js +4 -9
- package/lib/components/Button/CartButton.js.map +1 -1
- package/lib/components/Button/CartButton.mjs +4 -8
- package/lib/components/Button/CartButton.mjs.map +1 -1
- package/lib/components/CardSection/CardSection.styles.d.ts +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.d.ts +1 -3
- package/lib/components/CategoryTabs/CategoryTabs.styles.js +2 -6
- package/lib/components/CategoryTabs/CategoryTabs.styles.js.map +1 -1
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs +3 -5
- package/lib/components/CategoryTabs/CategoryTabs.styles.mjs.map +1 -1
- package/lib/components/Explore/ExploreData.js +9 -9
- package/lib/components/Explore/ExploreData.js.map +1 -1
- package/lib/components/Explore/ExploreData.mjs +9 -9
- package/lib/components/Explore/ExploreData.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/Header/CartModalV2/Item/Item.styles.d.ts +1 -1
- package/lib/components/MeetUniFiVideoPlayer/MeetUniFiVideoPlayer.styles.d.ts +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js +1 -16
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs +1 -16
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.d.ts +0 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js +4 -10
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs +4 -10
- package/lib/components/MicrositeHeader/components/Navigation/Navigation.styles.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.js +1 -2
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.mjs +1 -2
- package/lib/components/MicrositeHeader/components/Navigation/_components/NavigationItem/NavigationItem.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.js +10 -17
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.mjs +10 -17
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.mjs.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js +6 -9
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.js.map +1 -1
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs +6 -9
- package/lib/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.js +2 -2
- package/lib/components/ModelCompareV3/data/products/express.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/express.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/express.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js +2 -2
- package/lib/components/ModelCompareV3/data/products/ucgUltra.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/ucgUltra.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.js +2 -2
- package/lib/components/ModelCompareV3/data/products/udmPro.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udmPro.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.js +2 -2
- package/lib/components/ModelCompareV3/data/products/udmProMax.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udmProMax.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js +2 -2
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udmProSpecial.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.js +40 -4
- package/lib/components/ModelCompareV3/data/products/udr.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udr.mjs +20 -4
- package/lib/components/ModelCompareV3/data/products/udr.mjs.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.js +2 -2
- package/lib/components/ModelCompareV3/data/products/udw.js.map +1 -1
- package/lib/components/ModelCompareV3/data/products/udw.mjs +2 -2
- package/lib/components/ModelCompareV3/data/products/udw.mjs.map +1 -1
- package/lib/components/ProductTechSpecs/ProductTechSpecs.styles.d.ts +1 -1
- package/lib/components/ProductWizard/ProductWizard.js +1 -1
- package/lib/components/ProductWizard/ProductWizard.mjs +1 -1
- package/lib/components/QuantityInput/QuantityInput.js +1 -1
- package/lib/components/QuantityInput/QuantityInput.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/components/ScrollWrapper/ScrollWrapper.d.ts +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.js +8 -16
- package/lib/components/ScrollWrapper/ScrollWrapper.js.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs +8 -16
- package/lib/components/ScrollWrapper/ScrollWrapper.mjs.map +1 -1
- package/lib/components/ScrollWrapper/ScrollWrapper.types.d.ts +0 -2
- package/lib/constants/proStoreCategories/mapping/index.d.ts +2 -3
- package/lib/constants/proStoreCategories/mapping/index.js +0 -8
- package/lib/constants/proStoreCategories/mapping/index.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/index.mjs +0 -8
- package/lib/constants/proStoreCategories/mapping/index.mjs.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.d.ts +0 -2
- package/lib/constants/proStoreCategories/mapping/unifi.js +0 -2
- package/lib/constants/proStoreCategories/mapping/unifi.js.map +1 -1
- package/lib/constants/proStoreCategories/mapping/unifi.mjs +0 -2
- package/lib/constants/proStoreCategories/mapping/unifi.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/ar.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ar.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/ar.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/de.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/de.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/de.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/el.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/el.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/el.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.js +2 -3
- package/lib/constants/proStoreCategories/translations/en.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/en.json.mjs +2 -3
- package/lib/constants/proStoreCategories/translations/en.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/es.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/es.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/es.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/fr.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/fr.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/fr.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/it.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/it.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/it.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/ja.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/ja.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/ja.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/pt-BR.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/pt-BR.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hans.json.mjs.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.js.map +1 -1
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs +3 -2
- package/lib/constants/proStoreCategories/translations/zh-Hant-TW.json.mjs.map +1 -1
- package/lib/contexts/MenuContext/context.js +19 -21
- package/lib/contexts/MenuContext/context.js.map +1 -1
- package/lib/contexts/MenuContext/context.mjs +19 -21
- package/lib/contexts/MenuContext/context.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/assets/{hosting.png.js → gbe-1u-2.5and10.png.js} +6 -6
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u-2.5and10.png.js.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u-2.5and10.png.mjs +3 -0
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u-2.5and10.png.mjs.map +1 -0
- package/lib/{assets/icons/cart-secondary.svg.js → contexts/MicrositeMenuContext/assets/gbe-1u.png.js} +6 -6
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u.png.js.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u.png.mjs +3 -0
- package/lib/contexts/MicrositeMenuContext/assets/gbe-1u.png.mjs.map +1 -0
- package/lib/contexts/MicrositeMenuContext/assets/index.d.ts +2 -3
- package/lib/contexts/MicrositeMenuContext/assets/index.js +2 -3
- package/lib/contexts/MicrositeMenuContext/assets/index.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/assets/index.mjs +2 -3
- package/lib/contexts/MicrositeMenuContext/assets/index.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.d.ts +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.js +21 -34
- package/lib/contexts/MicrositeMenuContext/mapping.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/mapping.mjs +19 -31
- package/lib/contexts/MicrositeMenuContext/mapping.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js +3 -7
- package/lib/contexts/MicrositeMenuContext/translations/en.json.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs +3 -7
- package/lib/contexts/MicrositeMenuContext/translations/en.json.mjs.map +1 -1
- package/lib/contexts/MicrositeMenuContext/translations.d.ts +2 -2
- package/lib/contexts/MicrositeMenuContext/types.d.ts +0 -1
- package/lib/contexts/MicrositeMenuContext/types.js.map +1 -1
- package/lib/contexts/MicrositeMenuContext/types.mjs.map +1 -1
- package/package.json +1 -1
- package/lib/assets/cart-secondary.svg +0 -5
- package/lib/assets/hosting.png +0 -0
- package/lib/assets/icons/cart-secondary.svg.js.map +0 -1
- package/lib/assets/icons/cart-secondary.svg.mjs +0 -3
- package/lib/assets/icons/cart-secondary.svg.mjs.map +0 -1
- package/lib/assets/multi-gbe.png +0 -0
- package/lib/assets/single-gbe.png +0 -0
- package/lib/contexts/MicrositeMenuContext/assets/hosting.png.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/hosting.png.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/hosting.png.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/multi-gbe.png.mjs.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.js +0 -27
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.js.map +0 -1
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.mjs +0 -3
- package/lib/contexts/MicrositeMenuContext/assets/single-gbe.png.mjs.map +0 -1
|
@@ -6,11 +6,11 @@ import { Wrap, MenuWrap, MenuInnerWrap, Container, FlexColumn, SubNavItemsWrappe
|
|
|
6
6
|
import { useMicrositeMenu } from '../../../../../../contexts/MicrositeMenuContext/context.mjs';
|
|
7
7
|
"use strict";
|
|
8
8
|
const CATEGORY_WIDTH_MAP = {
|
|
9
|
-
[MenuCategoryId.CloudGateways]:
|
|
10
|
-
[MenuCategoryId.Switching]:
|
|
11
|
-
[MenuCategoryId.WiFi]:
|
|
12
|
-
[MenuCategoryId.PhysicalSecurity]:
|
|
13
|
-
[MenuCategoryId.
|
|
9
|
+
[MenuCategoryId.CloudGateways]: 178,
|
|
10
|
+
[MenuCategoryId.Switching]: 158,
|
|
11
|
+
[MenuCategoryId.WiFi]: 158,
|
|
12
|
+
[MenuCategoryId.PhysicalSecurity]: 158,
|
|
13
|
+
[MenuCategoryId.NewIntegrations]: 178
|
|
14
14
|
};
|
|
15
15
|
const SubNavigation = ({
|
|
16
16
|
menu,
|
|
@@ -24,20 +24,11 @@ const SubNavigation = ({
|
|
|
24
24
|
formatMessage
|
|
25
25
|
} = useMicrositeMenuTranslations(language);
|
|
26
26
|
const isActiveItem = item => {
|
|
27
|
-
|
|
28
|
-
active
|
|
29
|
-
}) => !active);
|
|
30
|
-
if (isWithoutActiveElement) {
|
|
27
|
+
if (!item.active) {
|
|
31
28
|
return item.isOverview;
|
|
32
29
|
}
|
|
33
30
|
return item.active;
|
|
34
31
|
};
|
|
35
|
-
const getCompareText = item => {
|
|
36
|
-
if (item.shouldHideCompare) {
|
|
37
|
-
return formatMessage("commons.menu.label.explore");
|
|
38
|
-
}
|
|
39
|
-
return item.isOverview ? formatMessage("commons.menu.label.compareAll") : formatMessage("commons.menu.label.compare");
|
|
40
|
-
};
|
|
41
32
|
return /* @__PURE__ */jsx(Wrap, {
|
|
42
33
|
motif: "light",
|
|
43
34
|
children: /* @__PURE__ */jsx(MenuWrap, {
|
|
@@ -71,9 +62,11 @@ const SubNavigation = ({
|
|
|
71
62
|
}), /* @__PURE__ */jsx(CompareExploreAnchor, {
|
|
72
63
|
href: `/`,
|
|
73
64
|
onClick: event => {
|
|
74
|
-
|
|
65
|
+
if (!navItem?.isOverview) {
|
|
66
|
+
event.preventDefault();
|
|
67
|
+
}
|
|
75
68
|
},
|
|
76
|
-
children:
|
|
69
|
+
children: navItem.isOverview ? "" : formatMessage("commons.menu.label.compare")
|
|
77
70
|
})]
|
|
78
71
|
}, navItem.id))
|
|
79
72
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubNavigation.mjs","sources":["../../../../../../../src/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.tsx"],"sourcesContent":["import type { StaticImageData } from \"next/image\";\n\nimport { useMicrositeMenu } from \"../../../../../../contexts/MicrositeMenuContext\";\nimport { MenuCategoryId } from \"../../../../../../contexts/MicrositeMenuContext/mapping\";\nimport { useMicrositeMenuTranslations } from \"../../../../../../contexts/MicrositeMenuContext/translations\";\nimport type { ParsedMicrositeHeaderItem } from \"../../../../../../contexts/MicrositeMenuContext/types\";\nimport * as S from \"./SubNavigation.styles\";\n\nconst CATEGORY_WIDTH_MAP = {\n [MenuCategoryId.CloudGateways]:
|
|
1
|
+
{"version":3,"file":"SubNavigation.mjs","sources":["../../../../../../../src/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.tsx"],"sourcesContent":["import type { StaticImageData } from \"next/image\";\n\nimport { useMicrositeMenu } from \"../../../../../../contexts/MicrositeMenuContext\";\nimport { MenuCategoryId } from \"../../../../../../contexts/MicrositeMenuContext/mapping\";\nimport { useMicrositeMenuTranslations } from \"../../../../../../contexts/MicrositeMenuContext/translations\";\nimport type { ParsedMicrositeHeaderItem } from \"../../../../../../contexts/MicrositeMenuContext/types\";\nimport * as S from \"./SubNavigation.styles\";\n\nconst CATEGORY_WIDTH_MAP = {\n [MenuCategoryId.CloudGateways]: 178,\n [MenuCategoryId.Switching]: 158,\n [MenuCategoryId.WiFi]: 158,\n [MenuCategoryId.PhysicalSecurity]: 158,\n [MenuCategoryId.NewIntegrations]: 178,\n};\n\n// TODO: FIX TYPE CASTING\nexport const SubNavigation = ({\n menu,\n show,\n onMenuItemClick,\n}: {\n show: boolean;\n menu: ParsedMicrositeHeaderItem | null;\n onMenuItemClick: (e: React.MouseEvent<HTMLElement>, url: string) => void;\n}) => {\n const { language } = useMicrositeMenu();\n const { formatMessage } = useMicrositeMenuTranslations(language);\n\n const isActiveItem = (item: ParsedMicrositeHeaderItem) => {\n if (!item.active) {\n return item.isOverview;\n }\n\n return item.active;\n };\n\n return (\n <S.Wrap motif=\"light\">\n <S.MenuWrap motif=\"light\" $slideInView={show}>\n <S.MenuInnerWrap $shouldShow={show}>\n <S.Container size=\"desktop\" noVerticalMargin>\n <S.FlexColumn>\n <S.SubNavItemsWrapper $isVisible={show}>\n {(menu?.items ?? []).map((navItem) => (\n <S.SubNavItem\n key={navItem.id}\n $isActive={isActiveItem(navItem)}\n $maxWidth={CATEGORY_WIDTH_MAP?.[menu?.id as MenuCategoryId]}\n onClick={(e) => onMenuItemClick?.(e, navItem?.url)}\n >\n {!!(navItem?.image as StaticImageData)?.src && (\n <S.StyledImg\n src={(navItem.image as StaticImageData).src}\n $width={(navItem.image as StaticImageData).width}\n $height={(navItem.image as StaticImageData).height}\n alt={navItem.label}\n />\n )}\n <S.Title>\n {formatMessage(\n navItem.label as keyof typeof formatMessage,\n )}\n\n {!!navItem?.isNew && (\n <S.Badge>\n {formatMessage(\"commons.menu.label.new\")}\n </S.Badge>\n )}\n </S.Title>\n\n {!!navItem?.description && (\n <S.Description\n dangerouslySetInnerHTML={{\n __html: formatMessage(\n navItem.description as keyof typeof formatMessage,\n ),\n }}\n />\n )}\n\n <S.CompareExploreAnchor\n href={`/`}\n onClick={(event) => {\n if (!navItem?.isOverview) {\n event.preventDefault();\n }\n }}\n >\n {navItem.isOverview\n ? \"\"\n : formatMessage(\"commons.menu.label.compare\")}\n </S.CompareExploreAnchor>\n </S.SubNavItem>\n ))}\n </S.SubNavItemsWrapper>\n </S.FlexColumn>\n </S.Container>\n </S.MenuInnerWrap>\n </S.MenuWrap>\n </S.Wrap>\n );\n};\n"],"names":["CATEGORY_WIDTH_MAP","MenuCategoryId","CloudGateways","Switching","WiFi","PhysicalSecurity","NewIntegrations","SubNavigation","menu","show","onMenuItemClick","language","useMicrositeMenu","formatMessage","useMicrositeMenuTranslations","isActiveItem","item","active","isOverview","jsx","S.Wrap","motif","children","S.MenuWrap","$slideInView","S.MenuInnerWrap","$shouldShow","S.Container","size","noVerticalMargin","S.FlexColumn","S.SubNavItemsWrapper","$isVisible","items","map","navItem","jsxs","S.SubNavItem","$isActive","$maxWidth","id","onClick","e","url","image","src","S.StyledImg","$width","width","$height","height","alt","label","S.Title","isNew","S.Badge","description","S.Description","dangerouslySetInnerHTML","__html","S.CompareExploreAnchor","href","event","preventDefault"],"mappings":";;;;;;;AAQA,MAAMA,kBAAqB,GAAA;EACzB,CAACC,cAAe,CAAAC,aAAa,GAAG,GAAA;EAChC,CAACD,cAAe,CAAAE,SAAS,GAAG,GAAA;EAC5B,CAACF,cAAe,CAAAG,IAAI,GAAG,GAAA;EACvB,CAACH,cAAe,CAAAI,gBAAgB,GAAG,GAAA;EACnC,CAACJ,cAAe,CAAAK,eAAe,GAAG;AACpC,CAAA;AAGO,MAAMC,gBAAgBA,CAAC;EAC5BC,IAAA;EACAC,IAAA;EACAC;AACF,CAIM,KAAA;EACE,MAAA;IAAEC;GAAS,GAAIC,gBAAiB,EAAA;EACtC,MAAM;IAAEC;EAAA,CAAkB,GAAAC,4BAAA,CAA6BH,QAAQ,CAAA;EAEzD,MAAAI,YAAA,GAAgBC,IAAoC,IAAA;IACpD,IAAA,CAACA,KAAKC,MAAQ,EAAA;MAChB,OAAOD,IAAK,CAAAE,UAAA;IACd;IAEA,OAAOF,IAAK,CA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EAAA;oBACEjC,QAAc,EAAAT,aAAA,CAAA,wBAAwB;mBACzC,CAAA;iBAEJ,CAAA,EAEC,CAAC,CAACsB,OAAA,EAASqB,WACV,mBAAArC,GAAA,CAACsC,WAAE,EAAF;kBACCC,uBAAyB,EAAA;oBACvBC,MAAQ,EAAA9C,aAAA,CACNsB,OAAQ,CAAAqB,WACV;kBACF;gBAAA,CACF,CAAA,EAAA,eAGFrC,GAAA,CAACyC,oBAAE,EAAF;kBACCC,IAAM,EAAA,GAAA;kBACNpB,OAAA,EAAUqB,KAAU,IAAA;oBACd,IAAA,CAAC3B,SAASjB,UAAY,EAAA;sBACxB4C,KAAA,CAAMC,cAAe,CAAA,CAAA;oBACvB;kBACF,CAAA;kBAECzC,QAAQ,EAAAa,OAAA,CAAAjB,UAAA,GACL,EACA,GAAAL,aAAA,CAAc,4BAA4B;gBAAA,CAChD,CAAA;cAAA,CAAA,EA9CKsB,OAAQ,CAAAK,EAAA,CAgDhB;YACH,CAAA;UAAA,CACF;QACF,CAAA;MAAA,CACF;KACF;EACF,CAAA,CAAA;AAEJ,CAAA;"}
|
|
@@ -33,8 +33,7 @@ const MenuWrap = styled__default["default"].nav`
|
|
|
33
33
|
display: flex;
|
|
34
34
|
height: 0;
|
|
35
35
|
opacity: 0;
|
|
36
|
-
|
|
37
|
-
drop-shadow(0px 0px 1px rgba(33, 35, 39, 0.08));
|
|
36
|
+
overflow: hidden;
|
|
38
37
|
position: absolute;
|
|
39
38
|
width: 100%;
|
|
40
39
|
${DropdownMenu_styles.withCssTransition(["height", "opacity"])};
|
|
@@ -43,7 +42,7 @@ const MenuWrap = styled__default["default"].nav`
|
|
|
43
42
|
$slideInView
|
|
44
43
|
}) => $slideInView && styled.css`
|
|
45
44
|
padding-top: 48px;
|
|
46
|
-
height:
|
|
45
|
+
height: 258px;
|
|
47
46
|
opacity: 1;
|
|
48
47
|
`}
|
|
49
48
|
`;
|
|
@@ -65,7 +64,7 @@ const Container = styled__default["default"](Container$1.Container)`
|
|
|
65
64
|
margin: 0;
|
|
66
65
|
padding: 0;
|
|
67
66
|
max-width: 1200px;
|
|
68
|
-
|
|
67
|
+
overflow: hidden;
|
|
69
68
|
|
|
70
69
|
${Container_styles.WrapPadding} {
|
|
71
70
|
flex-direction: row;
|
|
@@ -87,8 +86,8 @@ const SubNavItem = styled__default["default"].button`
|
|
|
87
86
|
animation: fade-in-quick 0.5s linear;
|
|
88
87
|
display: flex;
|
|
89
88
|
background: transparent;
|
|
90
|
-
outline: none;
|
|
91
89
|
border: none;
|
|
90
|
+
outline: none;
|
|
92
91
|
flex-direction: column;
|
|
93
92
|
flex: 1 1 0px;
|
|
94
93
|
max-width: ${({
|
|
@@ -96,12 +95,10 @@ const SubNavItem = styled__default["default"].button`
|
|
|
96
95
|
}) => `${$maxWidth}px`};
|
|
97
96
|
padding: 8px 8px 16px;
|
|
98
97
|
border-radius: 6px;
|
|
99
|
-
transition:
|
|
98
|
+
transition: background 0.2s ease-in-out;
|
|
100
99
|
|
|
101
100
|
&:hover {
|
|
102
|
-
|
|
103
|
-
0 0 1px 0 rgba(33, 35, 39, 0.08),
|
|
104
|
-
0 4px 16px 2px rgba(33, 35, 39, 0.08);
|
|
101
|
+
background: #f9f9fa;
|
|
105
102
|
}
|
|
106
103
|
|
|
107
104
|
${({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubNavigation.styles.js","sources":["../../../../../../../src/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../../../../constants/layout\";\nimport { theme } from \"../../../../../../constants/theme\";\nimport { Container as ContainerBase } from \"../../../../../Container\";\nimport { WrapPadding } from \"../../../../../Container/Container.styles\";\nimport { StyleableSvgImage } from \"../../../../../StyleableSvgImage\";\nimport { withCssTransition } from \"../../../DropdownMenu/DropdownMenu.styles\";\n\nconst MICROSITE_MENU_Z_INDEX = theme.zIndex.header - 1;\n\nexport const HEADER_NAVIGATION_MICROSITE_MENU_HEIGHT = 130;\nexport const TRANSITION_DURATION_MS = 250;\n\nexport const Wrap = styled.div<{\n motif: Motif;\n}>`\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n z-index: ${MICROSITE_MENU_Z_INDEX};\n`;\n\nexport const MenuWrap = styled.nav<{ motif: Motif; $slideInView?: boolean }>`\n background: ${({ motif }) => theme.colors.menu.base[motif]};\n display: flex;\n height: 0;\n opacity: 0;\n
|
|
1
|
+
{"version":3,"file":"SubNavigation.styles.js","sources":["../../../../../../../src/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../../../../constants/layout\";\nimport { theme } from \"../../../../../../constants/theme\";\nimport { Container as ContainerBase } from \"../../../../../Container\";\nimport { WrapPadding } from \"../../../../../Container/Container.styles\";\nimport { StyleableSvgImage } from \"../../../../../StyleableSvgImage\";\nimport { withCssTransition } from \"../../../DropdownMenu/DropdownMenu.styles\";\n\nconst MICROSITE_MENU_Z_INDEX = theme.zIndex.header - 1;\n\nexport const HEADER_NAVIGATION_MICROSITE_MENU_HEIGHT = 130;\nexport const TRANSITION_DURATION_MS = 250;\n\nexport const Wrap = styled.div<{\n motif: Motif;\n}>`\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n z-index: ${MICROSITE_MENU_Z_INDEX};\n`;\n\nexport const MenuWrap = styled.nav<{ motif: Motif; $slideInView?: boolean }>`\n background: ${({ motif }) => theme.colors.menu.base[motif]};\n display: flex;\n height: 0;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n width: 100%;\n ${withCssTransition([\"height\", \"opacity\"])};\n\n ${({ $slideInView }) =>\n $slideInView &&\n css`\n padding-top: 48px;\n height: 258px;\n opacity: 1;\n `}\n`;\n\nexport const MenuInnerWrap = styled.div<{ $shouldShow?: boolean }>`\n display: flex;\n justify-content: center;\n opacity: 0;\n overflow: hidden;\n width: 100%;\n\n ${({ $shouldShow }) =>\n $shouldShow &&\n css`\n opacity: 1;\n padding: 8px 16px 16px;\n `}\n`;\n\nexport const Container = styled(ContainerBase)`\n margin: 0;\n padding: 0;\n max-width: 1200px;\n overflow: hidden;\n\n ${WrapPadding} {\n flex-direction: row;\n align-items: flex-start;\n\n @media ${BREAKPOINTS.SMALL_MOBILE_AND_DOWN} {\n flex-direction: column;\n align-items: stretch;\n }\n }\n`;\n\nexport const SubNavItemsWrapper = styled.div<{\n $isVisible: boolean;\n}>`\n gap: 16px;\n display: flex;\n justify-content: center;\n`;\n\nexport const SubNavItem = styled.button<{\n $maxWidth: number;\n $isActive?: boolean;\n}>`\n align-items: center;\n animation: fade-in-quick 0.5s linear;\n display: flex;\n background: transparent;\n border: none;\n outline: none;\n flex-direction: column;\n flex: 1 1 0px;\n max-width: ${({ $maxWidth }) => `${$maxWidth}px`};\n padding: 8px 8px 16px;\n border-radius: 6px;\n transition: background 0.2s ease-in-out;\n\n &:hover {\n background: #f9f9fa;\n }\n\n ${({ $isActive }) =>\n $isActive &&\n css`\n background: #f9f9fa;\n `}\n\n @keyframes fade-in-quick {\n 0% {\n opacity: 0;\n }\n\n 15% {\n opacity: 0.25;\n }\n\n 70%% {\n opacity: 1;\n }\n\n 100% {\n opacity: 1;\n }\n }\n`;\n\nexport const SvgImage = styled(StyleableSvgImage)`\n color: #808893;\n transition: color 0.2s ease-in-out;\n`;\n\nexport const FlexColumn = styled.div`\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 100%;\n`;\n\nexport const StyledImg = styled.img<{ $width: number; $height: number }>`\n object-fit: contain;\n width: ${({ $width }) => $width}px;\n height: ${({ $height }) => $height}px;\n min-width: ${({ $width }) => $width}px;\n min-height: ${({ $height }) => $height}px;\n`;\n\nexport const Title = styled.h3`\n align-items: center;\n color: #212327;\n display: flex;\n font-size: 16px;\n justify-content: center;\n margin-bottom: 0;\n margin-top: 8px;\n text-align: center;\n`;\n\nexport const Description = styled.p`\n color: #50565e;\n font-size: 12px;\n height: 100%;\n line-height: 14px;\n margin-bottom: 0;\n margin-top: 4px;\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const CompareExploreAnchor = styled.a`\n color: #006fff;\n font-size: 12px;\n line-height: 14px;\n margin-top: 8px;\n min-height: 14px;\n`;\n\nexport const Badge = styled.span`\n align-items: center;\n border-radius: 3px;\n border: 1px solid ${theme.colors.primaryBlue};\n color: ${theme.colors.primaryBlue};\n display: flex;\n font-size: 9px;\n font-style: normal;\n height: 16px;\n justify-content: center;\n letter-spacing: -0.018px;\n margin-left: 4px;\n padding: 2px 3px;\n width: fit-content;\n`;\n"],"names":["MICROSITE_MENU_Z_INDEX","theme","zIndex","header","HEADER_NAVIGATION_MICROSITE_MENU_HEIGHT","TRANSITION_DURATION_MS","Wrap","styled","div","MenuWrap","nav","motif","colors","menu","base","withCssTransition","$slideInView","css","MenuInnerWrap","$shouldShow","Container","ContainerBase","WrapPadding","BREAKPOINTS","SMALL_MOBILE_AND_DOWN","SubNavItemsWrapper","SubNavItem","button","$maxWidth","$isActive","SvgImage","StyleableSvgImage","FlexColumn","StyledImg","img","$width","$height","Title","h3","Description","p","CompareExploreAnchor","a","Badge","span","primaryBlue"],"mappings":";;;;;;;;;;;;;;;;;;AAUA,MAAMA,sBAAA,GAAyBC,KAAM,CAAAA,KAAA,CAAAC,MAAA,CAAOC,MAAS,GAAA,CAAA;AAE9C,MAAMC,uCAA0C,GAAA,GAAA;AAChD,MAAMC,sBAAyB,GAAA,GAAA;AAE/B,MAAMC,OAAOC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aAOdR,sBAAsB;AAAA,CAAA;AAG5B,MAAMS,WAAWF,eAAO,CAAA,SAAA,CAAA,CAAAG,GAAA;AAAA,gBACf,CAAC;EAAEC;AAAM,CAAA,K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;
|
|
28
|
-
|
|
29
|
-
drop-shadow(0px 0px 1px rgba(33, 35, 39, 0.08));
|
|
28
|
+
overflow: hidden;
|
|
30
29
|
position: absolute;
|
|
31
30
|
width: 100%;
|
|
32
31
|
${withCssTransition(["height", "opacity"])};
|
|
@@ -35,7 +34,7 @@ const MenuWrap = styled.nav`
|
|
|
35
34
|
$slideInView
|
|
36
35
|
}) => $slideInView && css`
|
|
37
36
|
padding-top: 48px;
|
|
38
|
-
height:
|
|
37
|
+
height: 258px;
|
|
39
38
|
opacity: 1;
|
|
40
39
|
`}
|
|
41
40
|
`;
|
|
@@ -57,7 +56,7 @@ const Container = styled(Container$1)`
|
|
|
57
56
|
margin: 0;
|
|
58
57
|
padding: 0;
|
|
59
58
|
max-width: 1200px;
|
|
60
|
-
|
|
59
|
+
overflow: hidden;
|
|
61
60
|
|
|
62
61
|
${WrapPadding} {
|
|
63
62
|
flex-direction: row;
|
|
@@ -79,8 +78,8 @@ const SubNavItem = styled.button`
|
|
|
79
78
|
animation: fade-in-quick 0.5s linear;
|
|
80
79
|
display: flex;
|
|
81
80
|
background: transparent;
|
|
82
|
-
outline: none;
|
|
83
81
|
border: none;
|
|
82
|
+
outline: none;
|
|
84
83
|
flex-direction: column;
|
|
85
84
|
flex: 1 1 0px;
|
|
86
85
|
max-width: ${({
|
|
@@ -88,12 +87,10 @@ const SubNavItem = styled.button`
|
|
|
88
87
|
}) => `${$maxWidth}px`};
|
|
89
88
|
padding: 8px 8px 16px;
|
|
90
89
|
border-radius: 6px;
|
|
91
|
-
transition:
|
|
90
|
+
transition: background 0.2s ease-in-out;
|
|
92
91
|
|
|
93
92
|
&:hover {
|
|
94
|
-
|
|
95
|
-
0 0 1px 0 rgba(33, 35, 39, 0.08),
|
|
96
|
-
0 4px 16px 2px rgba(33, 35, 39, 0.08);
|
|
93
|
+
background: #f9f9fa;
|
|
97
94
|
}
|
|
98
95
|
|
|
99
96
|
${({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubNavigation.styles.mjs","sources":["../../../../../../../src/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../../../../constants/layout\";\nimport { theme } from \"../../../../../../constants/theme\";\nimport { Container as ContainerBase } from \"../../../../../Container\";\nimport { WrapPadding } from \"../../../../../Container/Container.styles\";\nimport { StyleableSvgImage } from \"../../../../../StyleableSvgImage\";\nimport { withCssTransition } from \"../../../DropdownMenu/DropdownMenu.styles\";\n\nconst MICROSITE_MENU_Z_INDEX = theme.zIndex.header - 1;\n\nexport const HEADER_NAVIGATION_MICROSITE_MENU_HEIGHT = 130;\nexport const TRANSITION_DURATION_MS = 250;\n\nexport const Wrap = styled.div<{\n motif: Motif;\n}>`\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n z-index: ${MICROSITE_MENU_Z_INDEX};\n`;\n\nexport const MenuWrap = styled.nav<{ motif: Motif; $slideInView?: boolean }>`\n background: ${({ motif }) => theme.colors.menu.base[motif]};\n display: flex;\n height: 0;\n opacity: 0;\n
|
|
1
|
+
{"version":3,"file":"SubNavigation.styles.mjs","sources":["../../../../../../../src/components/MicrositeHeader/components/Navigation/_components/SubNavigation/SubNavigation.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css } from \"styled-components\";\n\nimport { BREAKPOINTS } from \"../../../../../../constants/layout\";\nimport { theme } from \"../../../../../../constants/theme\";\nimport { Container as ContainerBase } from \"../../../../../Container\";\nimport { WrapPadding } from \"../../../../../Container/Container.styles\";\nimport { StyleableSvgImage } from \"../../../../../StyleableSvgImage\";\nimport { withCssTransition } from \"../../../DropdownMenu/DropdownMenu.styles\";\n\nconst MICROSITE_MENU_Z_INDEX = theme.zIndex.header - 1;\n\nexport const HEADER_NAVIGATION_MICROSITE_MENU_HEIGHT = 130;\nexport const TRANSITION_DURATION_MS = 250;\n\nexport const Wrap = styled.div<{\n motif: Motif;\n}>`\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n z-index: ${MICROSITE_MENU_Z_INDEX};\n`;\n\nexport const MenuWrap = styled.nav<{ motif: Motif; $slideInView?: boolean }>`\n background: ${({ motif }) => theme.colors.menu.base[motif]};\n display: flex;\n height: 0;\n opacity: 0;\n overflow: hidden;\n position: absolute;\n width: 100%;\n ${withCssTransition([\"height\", \"opacity\"])};\n\n ${({ $slideInView }) =>\n $slideInView &&\n css`\n padding-top: 48px;\n height: 258px;\n opacity: 1;\n `}\n`;\n\nexport const MenuInnerWrap = styled.div<{ $shouldShow?: boolean }>`\n display: flex;\n justify-content: center;\n opacity: 0;\n overflow: hidden;\n width: 100%;\n\n ${({ $shouldShow }) =>\n $shouldShow &&\n css`\n opacity: 1;\n padding: 8px 16px 16px;\n `}\n`;\n\nexport const Container = styled(ContainerBase)`\n margin: 0;\n padding: 0;\n max-width: 1200px;\n overflow: hidden;\n\n ${WrapPadding} {\n flex-direction: row;\n align-items: flex-start;\n\n @media ${BREAKPOINTS.SMALL_MOBILE_AND_DOWN} {\n flex-direction: column;\n align-items: stretch;\n }\n }\n`;\n\nexport const SubNavItemsWrapper = styled.div<{\n $isVisible: boolean;\n}>`\n gap: 16px;\n display: flex;\n justify-content: center;\n`;\n\nexport const SubNavItem = styled.button<{\n $maxWidth: number;\n $isActive?: boolean;\n}>`\n align-items: center;\n animation: fade-in-quick 0.5s linear;\n display: flex;\n background: transparent;\n border: none;\n outline: none;\n flex-direction: column;\n flex: 1 1 0px;\n max-width: ${({ $maxWidth }) => `${$maxWidth}px`};\n padding: 8px 8px 16px;\n border-radius: 6px;\n transition: background 0.2s ease-in-out;\n\n &:hover {\n background: #f9f9fa;\n }\n\n ${({ $isActive }) =>\n $isActive &&\n css`\n background: #f9f9fa;\n `}\n\n @keyframes fade-in-quick {\n 0% {\n opacity: 0;\n }\n\n 15% {\n opacity: 0.25;\n }\n\n 70%% {\n opacity: 1;\n }\n\n 100% {\n opacity: 1;\n }\n }\n`;\n\nexport const SvgImage = styled(StyleableSvgImage)`\n color: #808893;\n transition: color 0.2s ease-in-out;\n`;\n\nexport const FlexColumn = styled.div`\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 100%;\n`;\n\nexport const StyledImg = styled.img<{ $width: number; $height: number }>`\n object-fit: contain;\n width: ${({ $width }) => $width}px;\n height: ${({ $height }) => $height}px;\n min-width: ${({ $width }) => $width}px;\n min-height: ${({ $height }) => $height}px;\n`;\n\nexport const Title = styled.h3`\n align-items: center;\n color: #212327;\n display: flex;\n font-size: 16px;\n justify-content: center;\n margin-bottom: 0;\n margin-top: 8px;\n text-align: center;\n`;\n\nexport const Description = styled.p`\n color: #50565e;\n font-size: 12px;\n height: 100%;\n line-height: 14px;\n margin-bottom: 0;\n margin-top: 4px;\n text-align: center;\n text-wrap: pretty;\n`;\n\nexport const CompareExploreAnchor = styled.a`\n color: #006fff;\n font-size: 12px;\n line-height: 14px;\n margin-top: 8px;\n min-height: 14px;\n`;\n\nexport const Badge = styled.span`\n align-items: center;\n border-radius: 3px;\n border: 1px solid ${theme.colors.primaryBlue};\n color: ${theme.colors.primaryBlue};\n display: flex;\n font-size: 9px;\n font-style: normal;\n height: 16px;\n justify-content: center;\n letter-spacing: -0.018px;\n margin-left: 4px;\n padding: 2px 3px;\n width: fit-content;\n`;\n"],"names":["MICROSITE_MENU_Z_INDEX","theme","zIndex","header","HEADER_NAVIGATION_MICROSITE_MENU_HEIGHT","TRANSITION_DURATION_MS","Wrap","styled","div","MenuWrap","nav","motif","colors","menu","base","withCssTransition","$slideInView","css","MenuInnerWrap","$shouldShow","Container","ContainerBase","WrapPadding","BREAKPOINTS","SMALL_MOBILE_AND_DOWN","SubNavItemsWrapper","SubNavItem","button","$maxWidth","$isActive","SvgImage","StyleableSvgImage","FlexColumn","StyledImg","img","$width","$height","Title","h3","Description","p","CompareExploreAnchor","a","Badge","span","primaryBlue"],"mapp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../../../../constants/proStoreCategories/index.js');
|
|
6
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
7
6
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
8
7
|
require('../../../StyleableSvgImage/index.js');
|
|
9
8
|
require('../../assets/Consoles/bigCompare/express.jpg.js');
|
|
@@ -21,6 +20,7 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
21
20
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
22
21
|
var wanPorts = require('../properties/wanPorts.js');
|
|
23
22
|
var StyleableSvgImage$1 = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
23
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
24
24
|
var image = require("../../../../assets/express.jpg");
|
|
25
25
|
var applications = require("../../../../assets/wifi-device.svg");
|
|
26
26
|
var nextAiInspection = require('../properties/nextAiInspection.js');
|
|
@@ -42,7 +42,7 @@ const express = {
|
|
|
42
42
|
description: "express.description",
|
|
43
43
|
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.CloudGateways}/ux`],
|
|
44
44
|
storePathParts: {
|
|
45
|
-
category: unifi.
|
|
45
|
+
category: unifi.UniFiCategorySlug.CloudGateways,
|
|
46
46
|
productSlug: "ux"
|
|
47
47
|
},
|
|
48
48
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"express.js","sources":["../../../../../src/components/ModelCompareV3/data/products/express.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"express.js","sources":["../../../../../src/components/ModelCompareV3/data/products/express.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {\n UniFiCategoryId,\n UniFiCategorySlug,\n} from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/express.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nexport const express: Product = {\n id: \"express\",\n title: \"express.title\",\n description: \"express.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/ux`,\n ],\n storePathParts: {\n category: UniFiCategorySlug.CloudGateways,\n productSlug: \"ux\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n notes: [\"express.notes\"],\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"express.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"express.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"express.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"express.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"express.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n // {\n // propertyId: power.id,\n // value: {\n // type: \"string\",\n // value: \"USB type C (5V DC/3A) 10W\",\n // },\n // },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"express.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"express.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","express","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiCategorySlug","productSlug","image","src","width","height","notes","propertyValues","propertyId","unifiAppSuite","value","type","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,iBAAA,GAAoBC,eAAAA,CAAAA,SAAAA,EAAOC,mBAAAA,CAAAA,iBAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,OAAmB,GAAA;EAC9BC,EAAI,EAAA,SAAA;EACJC,KAAO,EAAA,eAAA;EACPC,WAAa,EAAA,qBAAA;EACbC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,aAAa,KAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,KAAkB,CAAAA,iBAAA,CAAAH,aAAA;IAC5BI,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KA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pBoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAQA;IACEF,YAAYa,eAAgB,CAAAA,eAAA,CAAA/B,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,QAAS,CAAAA,QAAA,CAAAhC,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,eAAgB,CAAAA,eAAA,CAAAjC,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import '../../../../constants/proStoreCategories/index.mjs';
|
|
4
|
-
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
5
4
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
6
5
|
import '../../../StyleableSvgImage/index.mjs';
|
|
7
6
|
import '../../assets/Consoles/bigCompare/express.jpg.mjs';
|
|
@@ -19,6 +18,7 @@ import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
|
19
18
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
20
19
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
21
20
|
import { StyleableSvgImage as StyleableSvgImage$1 } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
21
|
+
import { UniFiCategoryId, UniFiCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
22
22
|
import image__default from "../../../../assets/express.jpg";
|
|
23
23
|
import applications__default from "../../../../assets/wifi-device.svg";
|
|
24
24
|
import { nextAiInspection } from '../properties/nextAiInspection.mjs';
|
|
@@ -32,7 +32,7 @@ const express = {
|
|
|
32
32
|
description: "express.description",
|
|
33
33
|
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.CloudGateways}/ux`],
|
|
34
34
|
storePathParts: {
|
|
35
|
-
category:
|
|
35
|
+
category: UniFiCategorySlug.CloudGateways,
|
|
36
36
|
productSlug: "ux"
|
|
37
37
|
},
|
|
38
38
|
image: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"express.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/express.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"express.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/express.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {\n UniFiCategoryId,\n UniFiCategorySlug,\n} from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/bigCompare/express.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nexport const express: Product = {\n id: \"express\",\n title: \"express.title\",\n description: \"express.description\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/ux`,\n ],\n storePathParts: {\n category: UniFiCategorySlug.CloudGateways,\n productSlug: \"ux\",\n },\n image: {\n src: image,\n width: 337,\n height: 130,\n },\n notes: [\"express.notes\"],\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"express.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"express.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"express.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"express.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"express.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n // {\n // propertyId: power.id,\n // value: {\n // type: \"string\",\n // value: \"USB type C (5V DC/3A) 10W\",\n // },\n // },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"express.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"translation\",\n value: \"express.integratedWiFi6\",\n },\n },\n ],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","express","id","title","description","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiCategorySlug","productSlug","image","src","width","height","notes","propertyValues","propertyId","unifiAppSuite","value","type","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,iBAAA,GAAoBC,OAAOC,mBAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,OAAmB,GAAA;EAC9BC,EAAI,EAAA,SAAA;EACJC,KAAO,EAAA,eAAA;EACPC,WAAa,EAAA,qBAAA;EACbC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,aAAa,KAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,iBAAkB,CAAAH,aAAA;IAC5BI,WAAa,EAAA;EACf,CAAA;EACAC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,KAAA,EAAO,CAAC,eAAe,CAAA;EACvBC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAnB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,qBAAQxB,iBAAkB,EAAA;QAAAiB,GAAA,EAAKS;QAAcP,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEI,YAAYK,UAAW,CAAAvB,EAAA;IACvBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYM,gBAAiB,CAAAxB,EAAA;IAC7BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYO,YAAa,CAAAzB,EAAA;IACzBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,QAAS,CAAA3B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,QAAS,CAAA5B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYW,gBAAiB,CAAA7B,EAAA;IAC7BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYY,OAAQ,CAAA9B,EAAA;IACpBoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAAA;EAQA;IACEF,YAAYa,eAAgB,CAAA/B,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,QAAS,CAAAhC,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,eAAgB,CAAAjC,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
var styled = require('styled-components');
|
|
5
5
|
require('../../../../constants/proStoreCategories/index.js');
|
|
6
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
7
6
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
8
7
|
require('../../../StyleableSvgImage/index.js');
|
|
9
8
|
require('../../assets/Consoles/ucgUltra.jpg.js');
|
|
@@ -21,6 +20,7 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
21
20
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
22
21
|
var wanPorts = require('../properties/wanPorts.js');
|
|
23
22
|
var StyleableSvgImage$1 = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
23
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
24
24
|
var image = require("../../../../assets/ucgUltra.jpg");
|
|
25
25
|
var applications = require("../../../../assets/wifi-device.svg");
|
|
26
26
|
var nextAiInspection = require('../properties/nextAiInspection.js');
|
|
@@ -41,7 +41,7 @@ const ucgUltra = {
|
|
|
41
41
|
title: "ucgUltra.title",
|
|
42
42
|
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.CloudGateways}/ucg-ultra`],
|
|
43
43
|
storePathParts: {
|
|
44
|
-
category: unifi.
|
|
44
|
+
category: unifi.UniFiCategorySlug.CloudGateways,
|
|
45
45
|
productSlug: "ucg-ultra"
|
|
46
46
|
},
|
|
47
47
|
description: "ucgUltra.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ucgUltra.js","sources":["../../../../../src/components/ModelCompareV3/data/products/ucgUltra.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"ucgUltra.js","sources":["../../../../../src/components/ModelCompareV3/data/products/ucgUltra.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {\n UniFiCategoryId,\n UniFiCategorySlug,\n} from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/ucgUltra.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nexport const ucgUltra: Product = {\n id: \"ucgUltra\",\n title: \"ucgUltra.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/ucg-ultra`,\n ],\n storePathParts: {\n category: UniFiCategorySlug.CloudGateways,\n productSlug: \"ucg-ultra\",\n },\n description: \"ucgUltra.description\",\n descriptionMaxWidth: 230,\n image: {\n src: image,\n width: 324,\n height: 182,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n ],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","ucgUltra","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiCategorySlug","productSlug","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","unifiAppSuite","value","type","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,iBAAA,GAAoBC,eAAAA,CAAAA,SAAAA,EAAOC,mBAAAA,CAAAA,iBAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,QAAoB,GAAA;EAC/BC,EAAI,EAAA,UAAA;EACJC,KAAO,EAAA,gBAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,aAAa,YAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,KAAkB,CAAAA,iBAAA,CAAAH,aAAA;IAC5BI,WAAa,EAAA;EACf,CAAA;EACAC,WAAa,EAAA,sBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAA,aAAA,CAA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AYa,eAAgB,CAAAA,eAAA,CAAA/B,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,QAAS,CAAAA,QAAA,CAAAhC,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,eAAgB,CAAAA,eAAA,CAAAjC,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import '../../../../constants/proStoreCategories/index.mjs';
|
|
4
|
-
import { UniFiCategoryId, UniFiChildCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
5
4
|
import { SiteId } from '../../../../contexts/MenuContext/mapping.mjs';
|
|
6
5
|
import '../../../StyleableSvgImage/index.mjs';
|
|
7
6
|
import '../../assets/Consoles/ucgUltra.jpg.mjs';
|
|
@@ -19,6 +18,7 @@ import { unifiAppSuite } from '../properties/unifiAppSuite.mjs';
|
|
|
19
18
|
import { unifiDevices } from '../properties/unifiDevices.mjs';
|
|
20
19
|
import { wanPorts } from '../properties/wanPorts.mjs';
|
|
21
20
|
import { StyleableSvgImage as StyleableSvgImage$1 } from '../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
21
|
+
import { UniFiCategoryId, UniFiCategorySlug } from '../../../../constants/proStoreCategories/mapping/unifi.mjs';
|
|
22
22
|
import image__default from "../../../../assets/ucgUltra.jpg";
|
|
23
23
|
import applications__default from "../../../../assets/wifi-device.svg";
|
|
24
24
|
import { nextAiInspection } from '../properties/nextAiInspection.mjs';
|
|
@@ -31,7 +31,7 @@ const ucgUltra = {
|
|
|
31
31
|
title: "ucgUltra.title",
|
|
32
32
|
techspecsPath: [SiteId.TechSpecs, `/unifi/${UniFiCategoryId.CloudGateways}/ucg-ultra`],
|
|
33
33
|
storePathParts: {
|
|
34
|
-
category:
|
|
34
|
+
category: UniFiCategorySlug.CloudGateways,
|
|
35
35
|
productSlug: "ucg-ultra"
|
|
36
36
|
},
|
|
37
37
|
description: "ucgUltra.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ucgUltra.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/ucgUltra.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {
|
|
1
|
+
{"version":3,"file":"ucgUltra.mjs","sources":["../../../../../src/components/ModelCompareV3/data/products/ucgUltra.tsx"],"sourcesContent":["import styled from \"styled-components\";\n\nimport {\n UniFiCategoryId,\n UniFiCategorySlug,\n} from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage as StyleableSvgImageBase } from \"../../../StyleableSvgImage\";\nimport image from \"../../assets/Consoles/ucgUltra.jpg\";\nimport applications from \"../../assets/wifi-device.svg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nconst StyleableSvgImage = styled(StyleableSvgImageBase)`\n max-width: 15.75px;\n`;\n\nexport const ucgUltra: Product = {\n id: \"ucgUltra\",\n title: \"ucgUltra.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/ucg-ultra`,\n ],\n storePathParts: {\n category: UniFiCategorySlug.CloudGateways,\n productSlug: \"ucg-ultra\",\n },\n description: \"ucgUltra.description\",\n descriptionMaxWidth: 230,\n image: {\n src: image,\n width: 324,\n height: 182,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.throughput\",\n },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.idsIpsThroughput\",\n },\n },\n {\n propertyId: unifiDevices.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.unifiDevices\",\n },\n },\n {\n propertyId: clientDevices.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.clientDevices\",\n },\n },\n {\n propertyId: wanPorts.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.wanPorts\",\n },\n },\n {\n propertyId: lanPorts.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.lanPorts\",\n },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: powerRedundancy.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: mounting.id,\n value: {\n type: \"translation\",\n value: \"ucgUltra.mounting\",\n },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n ],\n};\n"],"names":["StyleableSvgImage","styled","StyleableSvgImageBase","ucgUltra","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","category","UniFiCategorySlug","productSlug","description","descriptionMaxWidth","image","src","width","height","propertyValues","propertyId","unifiAppSuite","value","type","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,MAAMA,iBAAA,GAAoBC,OAAOC,mBAAqB,CAAA;AAAA;AAAA,CAAA;AAI/C,MAAMC,QAAoB,GAAA;EAC/BC,EAAI,EAAA,UAAA;EACJC,KAAO,EAAA,gBAAA;EACPC,aAAe,EAAA,CACbC,MAAO,CAAAC,SAAA,EACP,UAAUC,gBAAgBC,aAAa,YAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,UAAUC,iBAAkB,CAAAH,aAAA;IAC5BI,WAAa,EAAA;EACf,CAAA;EACAC,WAAa,EAAA,sBAAA;EACbC,mBAAqB,EAAA,GAAA;EACrBC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAnB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,qBAAQxB,iBAAkB,EAAA;QAAAkB,GAAA,EAAKQ;QAAcN,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEG,YAAYK,UAAW,CAAAvB,EAAA;IACvBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYM,gBAAiB,CAAAxB,EAAA;IAC7BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYO,YAAa,CAAAzB,EAAA;IACzBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYQ,aAAc,CAAA1B,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYS,QAAS,CAAA3B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYU,QAAS,CAAA5B,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYW,gBAAiB,CAAA7B,EAAA;IAC7BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYY,OAAQ,CAAA9B,EAAA;IACpBoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYa,eAAgB,CAAA/B,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYc,QAAS,CAAAhC,EAAA;IACrBoB,KAAO,EAAA;MACLC,IAAM,EAAA,aAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA,EACA;IACEF,YAAYe,eAAgB,CAAAjC,EAAA;IAC5BoB,KAAO,EAAA;MACLC,IAAM,EAAA,SAAA;MACND,KAAO,EAAA;IACT;EACF,CAAA;AAEJ,CAAA;"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
4
|
require('../../../../constants/proStoreCategories/index.js');
|
|
5
|
-
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
6
5
|
var mapping = require('../../../../contexts/MenuContext/mapping.js');
|
|
7
6
|
require('../../../StyleableSvgImage/index.js');
|
|
8
7
|
require('../../assets/applications.svg.js');
|
|
@@ -20,6 +19,7 @@ var unifiAppSuite = require('../properties/unifiAppSuite.js');
|
|
|
20
19
|
var unifiDevices = require('../properties/unifiDevices.js');
|
|
21
20
|
var unifiPowerBackup = require('../properties/unifiPowerBackup.js');
|
|
22
21
|
var wanPorts = require('../properties/wanPorts.js');
|
|
22
|
+
var unifi = require('../../../../constants/proStoreCategories/mapping/unifi.js');
|
|
23
23
|
var image = require("../../../../assets/udmPro2.jpg");
|
|
24
24
|
var StyleableSvgImage = require('../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
25
25
|
var applications = require("../../../../assets/applications.svg");
|
|
@@ -38,7 +38,7 @@ const udmPro = {
|
|
|
38
38
|
techspecsPath: [mapping.SiteId.TechSpecs, `/unifi/${unifi.UniFiCategoryId.CloudGateways}/udm-pro`],
|
|
39
39
|
storePathParts: {
|
|
40
40
|
productSlug: "udm-pro",
|
|
41
|
-
category: unifi.
|
|
41
|
+
category: unifi.UniFiCategorySlug.CloudGateways
|
|
42
42
|
},
|
|
43
43
|
sku: "UDM-Pro",
|
|
44
44
|
description: "udmPro.description",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"udmPro.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udmPro.tsx"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"udmPro.js","sources":["../../../../../src/components/ModelCompareV3/data/products/udmPro.tsx"],"sourcesContent":["import {\n UniFiCategoryId,\n UniFiCategorySlug,\n} from \"../../../../constants/proStoreCategories\";\nimport { SiteId } from \"../../../../contexts/MenuContext/mapping\";\nimport { StyleableSvgImage } from \"../../../StyleableSvgImage\";\nimport applications from \"../../assets/applications.svg\";\nimport image from \"../../assets/Consoles/udmPro.jpg\";\nimport type { Product } from \"../../ModelCompareV3.types\";\nimport { nextAiInspection } from \"../properties\";\nimport { clientDevices } from \"../properties/clientDevices\";\nimport { idsIpsThroughput } from \"../properties/idsIpsThroughput\";\nimport { integratedWiFi6 } from \"../properties/integratedWiFi6\";\nimport { lanPorts } from \"../properties/lanPorts\";\nimport { mounting } from \"../properties/mounting\";\nimport { powerRedundancy } from \"../properties/powerRedundancy\";\nimport { storage } from \"../properties/storage\";\nimport { throughput } from \"../properties/throughput\";\nimport { unifiAppSuite } from \"../properties/unifiAppSuite\";\nimport { unifiDevices } from \"../properties/unifiDevices\";\nimport { unifiPowerBackup } from \"../properties/unifiPowerBackup\";\nimport { wanPorts } from \"../properties/wanPorts\";\n\nexport const udmPro: Product = {\n id: \"udmPro\",\n title: \"udmPro.title\",\n techspecsPath: [\n SiteId.TechSpecs,\n `/unifi/${UniFiCategoryId.CloudGateways}/udm-pro`,\n ],\n storePathParts: {\n productSlug: \"udm-pro\",\n category: UniFiCategorySlug.CloudGateways,\n },\n sku: \"UDM-Pro\",\n description: \"udmPro.description\",\n image: {\n src: image,\n width: 324,\n height: 130,\n },\n propertyValues: [\n {\n propertyId: unifiAppSuite.id,\n value: {\n type: \"custom\",\n value: <StyleableSvgImage src={applications} height={30} width={144} />,\n },\n },\n {\n propertyId: throughput.id,\n value: { type: \"translation\", value: \"udmPro.throughput\" },\n },\n {\n propertyId: idsIpsThroughput.id,\n value: { type: \"translation\", value: \"udmPro.idsIpsThroughput\" },\n },\n {\n propertyId: unifiDevices.id,\n value: { type: \"translation\", value: \"udmPro.unifiDevices\" },\n },\n {\n propertyId: clientDevices.id,\n value: { type: \"translation\", value: \"udmPro.clientDevices\" },\n },\n {\n propertyId: wanPorts.id,\n value: { type: \"translation\", value: \"udmPro.wanPorts\" },\n },\n {\n propertyId: lanPorts.id,\n value: { type: \"translation\", value: \"udmPro.lanPorts\" },\n },\n {\n propertyId: nextAiInspection.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n {\n propertyId: storage.id,\n value: { type: \"translation\", value: \"udmPro.storage\" },\n },\n {\n propertyId: unifiPowerBackup.id,\n value: { type: \"boolean\", value: true },\n },\n {\n propertyId: powerRedundancy.id,\n value: { type: \"translation\", value: \"udmPro.powerRedundancy\" },\n },\n {\n propertyId: mounting.id,\n value: { type: \"translation\", value: \"commons.mounting.rack\" },\n },\n {\n propertyId: integratedWiFi6.id,\n value: {\n type: \"boolean\",\n value: false,\n },\n },\n ],\n};\n"],"names":["udmPro","id","title","techspecsPath","SiteId","TechSpecs","UniFiCategoryId","CloudGateways","storePathParts","productSlug","category","UniFiCategorySlug","sku","description","image","src","width","height","propertyValues","propertyId","unifiAppSuite","value","type","StyleableSvgImage","applications","throughput","idsIpsThroughput","unifiDevices","clientDevices","wanPorts","lanPorts","nextAiInspection","storage","unifiPowerBackup","powerRedundancy","mounting","integratedWiFi6"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBO,MAAMA,MAAkB,GAAA;EAC7BC,EAAI,EAAA,QAAA;EACJC,KAAO,EAAA,cAAA;EACPC,aAAe,EAAA,CACbC,OAAAA,CAAAA,MAAO,CAAAC,SAAA,EACP,UAAUC,KAAAA,CAAAA,gBAAgBC,aAAa,UAAA,CACzC;EACAC,cAAgB,EAAA;IACdC,WAAa,EAAA,SAAA;IACbC,UAAUC,KAAkB,CAAAA,iBAAA,CAAAJ;EAC9B,CAAA;EACAK,GAAK,EAAA,SAAA;EACLC,WAAa,EAAA,oBAAA;EACbC,KAAO,EAAA;IACLC,GAAK,EAAAD,cAAA,CAAA,SAAA,CAAA;IACLE,KAAO,EAAA,GAAA;IACPC,MAAQ,EAAA;EACV,CAAA;EACAC,cAAgB,EAAA,CACd;IACEC,YAAYC,aAAc,CAAAA,aAAA,CAAAnB,EAAA;IAC1BoB,KAAO,EAAA;MACLC,IAAM,EAAA,QAAA;MACND,KAAA,gCAAQE,iBAAkB,CAAAA,iBAAA,EAAA;QAAAR,GAAA,EAAKS;QAAcP,MAAQ,EAAA,EAAA;QAAID,OAAO;OAAK;IACvE;EACF,CAAA,EACA;IACEG,YAAYM,UAAW,CAAAA,UAAA,CAAAxB,EAAA;IACvBoB,KAAO,EAAA;MAAEC,IAAM,EAAA,aAAA;MAAeD,OAAO;IAAoB;EAC3D,CAAA,EACA;IACEF,YAAYO,gBAAiB,CAAAA,gBAAA,CAAAzB,EAAA;IAC7B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