tenable-universal-layout 0.0.1-security → 7.20.13
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.
Potentially problematic release.
This version of tenable-universal-layout might be problematic. Click here for more details.
- package/dist/_entrypoints/client.d.ts +5 -0
- package/dist/_entrypoints/client.js +26 -0
- package/dist/_entrypoints/client.js.map +1 -0
- package/dist/_entrypoints/server.d.ts +13 -0
- package/dist/_entrypoints/server.js +43 -0
- package/dist/_entrypoints/server.js.map +1 -0
- package/dist/appSample/data.d.ts +253 -0
- package/dist/appSample/data.js +396 -0
- package/dist/appSample/data.js.map +1 -0
- package/dist/appSample/getAppSampleTulConfig.d.ts +9 -0
- package/dist/appSample/getAppSampleTulConfig.js +393 -0
- package/dist/appSample/getAppSampleTulConfig.js.map +1 -0
- package/dist/appSample/index.d.ts +1 -0
- package/dist/appSample/index.js +64 -0
- package/dist/appSample/index.js.map +1 -0
- package/dist/appSample/renderAppSample.d.ts +7 -0
- package/dist/appSample/renderAppSample.js +136 -0
- package/dist/appSample/renderAppSample.js.map +1 -0
- package/dist/appSample/slot-data.d.ts +50 -0
- package/dist/appSample/slot-data.js +116 -0
- package/dist/appSample/slot-data.js.map +1 -0
- package/dist/assets/fonts/Barlow-Medium.woff +0 -0
- package/dist/assets/fonts/Barlow-Medium.woff2 +0 -0
- package/dist/assets/fonts/Barlow-Regular.woff +0 -0
- package/dist/assets/fonts/Barlow-Regular.woff2 +0 -0
- package/dist/assets/fonts/Barlow-SemiBold.woff +0 -0
- package/dist/assets/fonts/Barlow-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/BarlowCondensed-Light.woff +0 -0
- package/dist/assets/fonts/BarlowCondensed-Light.woff2 +0 -0
- package/dist/assets/fonts/BarlowCondensed-Medium.woff +0 -0
- package/dist/assets/fonts/BarlowCondensed-Medium.woff2 +0 -0
- package/dist/assets/fonts/BarlowCondensed-Regular.woff +0 -0
- package/dist/assets/fonts/BarlowCondensed-Regular.woff2 +0 -0
- package/dist/assets/fonts/fonts.css +71 -0
- package/dist/assets/images/Tenable_Logo.png +0 -0
- package/dist/assets/images/dev/test.png +0 -0
- package/dist/assets/images/logos/ASM-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/ASM-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/ASM-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/ASM-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/CS-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/CS-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/CS-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/CS-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/IE-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/IE-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/IE-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/IE-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Lumin-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Lumin-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Lumin-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Lumin-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Essentials-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Essentials-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Essentials-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Essentials-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Expert-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Expert-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Expert-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Expert-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Pro-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Pro-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Pro-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-Pro-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Nessus-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/OT-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/OT-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/OT-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/OT-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/PCI-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/PCI-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/PCI-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/PCI-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Director-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Director-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Director-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Director-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Plus-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Plus-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Plus-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-Plus-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/SC-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Tenable-One-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Tenable-One-White-RGB-logo.svg +88 -0
- package/dist/assets/images/logos/Tenable-One-tagline-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/Tenable-One-tagline-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/TenableLogo_FullColor_RGB.svg +11 -0
- package/dist/assets/images/logos/TerrascanTM_BY_Logo.svg +83 -0
- package/dist/assets/images/logos/TerrascanTM_BY_Logo_WHITE.svg +135 -0
- package/dist/assets/images/logos/TerrascanTM_BY_TALL_Logo.svg +83 -0
- package/dist/assets/images/logos/TerrascanTM_BY_TALL_Logo_WHITE.svg +136 -0
- package/dist/assets/images/logos/VM-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/VM-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/VM-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/VM-stacked-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/WAS-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/WAS-White-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/WAS-stacked-FullColor-RGB-logo.svg +1 -0
- package/dist/assets/images/logos/WAS-stacked-White-RGB-logo.svg +1 -0
- package/dist/components/GlobalHeader/GlobalHeader.d.ts +14 -0
- package/dist/components/GlobalHeader/GlobalHeader.js +198 -0
- package/dist/components/GlobalHeader/GlobalHeader.js.map +1 -0
- package/dist/components/GlobalHeader/controller/MenuKeyboardController.d.ts +21 -0
- package/dist/components/GlobalHeader/controller/MenuKeyboardController.js +165 -0
- package/dist/components/GlobalHeader/controller/MenuKeyboardController.js.map +1 -0
- package/dist/components/GlobalHeader/controller/NavigationMenuKeyboardController.d.ts +4 -0
- package/dist/components/GlobalHeader/controller/NavigationMenuKeyboardController.js +25 -0
- package/dist/components/GlobalHeader/controller/NavigationMenuKeyboardController.js.map +1 -0
- package/dist/components/GlobalHeader/controller/TelemetryController.d.ts +13 -0
- package/dist/components/GlobalHeader/controller/TelemetryController.js +26 -0
- package/dist/components/GlobalHeader/controller/TelemetryController.js.map +1 -0
- package/dist/components/GlobalHeader/controller/UniversalNavigationController.d.ts +15 -0
- package/dist/components/GlobalHeader/controller/UniversalNavigationController.js +60 -0
- package/dist/components/GlobalHeader/controller/UniversalNavigationController.js.map +1 -0
- package/dist/components/GlobalHeader/index.d.ts +77 -0
- package/dist/components/GlobalHeader/index.js +80 -0
- package/dist/components/GlobalHeader/index.js.map +1 -0
- package/dist/components/GlobalHeader/styles.d.ts +9 -0
- package/dist/components/GlobalHeader/styles.js +14 -0
- package/dist/components/GlobalHeader/styles.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/AppSettingsData.d.ts +2 -0
- package/dist/components/GlobalHeader/utils/data/AppSettingsData.js +19 -0
- package/dist/components/GlobalHeader/utils/data/AppSettingsData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/BreadCrumbsData.d.ts +3 -0
- package/dist/components/GlobalHeader/utils/data/BreadCrumbsData.js +38 -0
- package/dist/components/GlobalHeader/utils/data/BreadCrumbsData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/NavigationData.d.ts +2 -0
- package/dist/components/GlobalHeader/utils/data/NavigationData.js +88 -0
- package/dist/components/GlobalHeader/utils/data/NavigationData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/PlatformSettingsData.d.ts +2 -0
- package/dist/components/GlobalHeader/utils/data/PlatformSettingsData.js +30 -0
- package/dist/components/GlobalHeader/utils/data/PlatformSettingsData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/QuickActionsData.d.ts +2 -0
- package/dist/components/GlobalHeader/utils/data/QuickActionsData.js +47 -0
- package/dist/components/GlobalHeader/utils/data/QuickActionsData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/UserProfileMenuData.d.ts +3 -0
- package/dist/components/GlobalHeader/utils/data/UserProfileMenuData.js +56 -0
- package/dist/components/GlobalHeader/utils/data/UserProfileMenuData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/data/WorskspaceAppsData.d.ts +8 -0
- package/dist/components/GlobalHeader/utils/data/WorskspaceAppsData.js +54 -0
- package/dist/components/GlobalHeader/utils/data/WorskspaceAppsData.js.map +1 -0
- package/dist/components/GlobalHeader/utils/mergeMenuItems.d.ts +6 -0
- package/dist/components/GlobalHeader/utils/mergeMenuItems.js +12 -0
- package/dist/components/GlobalHeader/utils/mergeMenuItems.js.map +1 -0
- package/dist/components/GlobalHeader/utils/renderer.d.ts +5 -0
- package/dist/components/GlobalHeader/utils/renderer.js +63 -0
- package/dist/components/GlobalHeader/utils/renderer.js.map +1 -0
- package/dist/components/GlobalHeader/utils/slot.d.ts +7 -0
- package/dist/components/GlobalHeader/utils/slot.js +14 -0
- package/dist/components/GlobalHeader/utils/slot.js.map +1 -0
- package/dist/components/GlobalHeader/utils/uuid.d.ts +4 -0
- package/dist/components/GlobalHeader/utils/uuid.js +27 -0
- package/dist/components/GlobalHeader/utils/uuid.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/ActionController.d.ts +15 -0
- package/dist/components/GlobalHeader/views/ActionPanel/ActionController.js +66 -0
- package/dist/components/GlobalHeader/views/ActionPanel/ActionController.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/ActionPanel.d.ts +17 -0
- package/dist/components/GlobalHeader/views/ActionPanel/ActionPanel.js +42 -0
- package/dist/components/GlobalHeader/views/ActionPanel/ActionPanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Body/ActionPanelBody.d.ts +23 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Body/ActionPanelBody.js +81 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Body/ActionPanelBody.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Body/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Body/styles.js +17 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Body/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Header/ActionPanelHeader.d.ts +18 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Header/ActionPanelHeader.js +54 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Header/ActionPanelHeader.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Header/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Header/styles.js +32 -0
- package/dist/components/GlobalHeader/views/ActionPanel/Header/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/ActionPanel/styles.js +34 -0
- package/dist/components/GlobalHeader/views/ActionPanel/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/AppSpecificActions/AppActions.d.ts +18 -0
- package/dist/components/GlobalHeader/views/AppSpecificActions/AppActions.js +78 -0
- package/dist/components/GlobalHeader/views/AppSpecificActions/AppActions.js.map +1 -0
- package/dist/components/GlobalHeader/views/AppSpecificActions/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/AppSpecificActions/styles.js +10 -0
- package/dist/components/GlobalHeader/views/AppSpecificActions/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/AssistMode/AssistMode.d.ts +15 -0
- package/dist/components/GlobalHeader/views/AssistMode/AssistMode.js +96 -0
- package/dist/components/GlobalHeader/views/AssistMode/AssistMode.js.map +1 -0
- package/dist/components/GlobalHeader/views/AssistMode/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/AssistMode/styles.js +68 -0
- package/dist/components/GlobalHeader/views/AssistMode/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Avatar/Avatar.d.ts +18 -0
- package/dist/components/GlobalHeader/views/Avatar/Avatar.js +102 -0
- package/dist/components/GlobalHeader/views/Avatar/Avatar.js.map +1 -0
- package/dist/components/GlobalHeader/views/Badge/Badge.d.ts +19 -0
- package/dist/components/GlobalHeader/views/Badge/Badge.js +55 -0
- package/dist/components/GlobalHeader/views/Badge/Badge.js.map +1 -0
- package/dist/components/GlobalHeader/views/Badge/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Badge/styles.js +100 -0
- package/dist/components/GlobalHeader/views/Badge/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Badge/types.d.ts +6 -0
- package/dist/components/GlobalHeader/views/Badge/types.js +3 -0
- package/dist/components/GlobalHeader/views/Badge/types.js.map +1 -0
- package/dist/components/GlobalHeader/views/BaseEvent.d.ts +4 -0
- package/dist/components/GlobalHeader/views/BaseEvent.js +12 -0
- package/dist/components/GlobalHeader/views/BaseEvent.js.map +1 -0
- package/dist/components/GlobalHeader/views/BaseStyles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/BaseStyles.js +23 -0
- package/dist/components/GlobalHeader/views/BaseStyles.js.map +1 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumb/BreadCrumb.d.ts +12 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumb/BreadCrumb.js +45 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumb/BreadCrumb.js.map +1 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumb/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumb/styles.js +16 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumb/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumbItem/BreadCrumbItem.d.ts +19 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumbItem/BreadCrumbItem.js +119 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumbItem/BreadCrumbItem.js.map +1 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumbItem/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumbItem/styles.js +37 -0
- package/dist/components/GlobalHeader/views/BreadCrumbs/BreadCrumbItem/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Button/Button.d.ts +34 -0
- package/dist/components/GlobalHeader/views/Button/Button.js +134 -0
- package/dist/components/GlobalHeader/views/Button/Button.js.map +1 -0
- package/dist/components/GlobalHeader/views/Button/LinkButton/LinkButton.d.ts +20 -0
- package/dist/components/GlobalHeader/views/Button/LinkButton/LinkButton.js +64 -0
- package/dist/components/GlobalHeader/views/Button/LinkButton/LinkButton.js.map +1 -0
- package/dist/components/GlobalHeader/views/Button/LinkButton/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Button/LinkButton/styles.js +85 -0
- package/dist/components/GlobalHeader/views/Button/LinkButton/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Button/SecondaryButton/SecondaryButton.d.ts +9 -0
- package/dist/components/GlobalHeader/views/Button/SecondaryButton/SecondaryButton.js +21 -0
- package/dist/components/GlobalHeader/views/Button/SecondaryButton/SecondaryButton.js.map +1 -0
- package/dist/components/GlobalHeader/views/Button/SecondaryButton/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Button/SecondaryButton/styles.js +67 -0
- package/dist/components/GlobalHeader/views/Button/SecondaryButton/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Button/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Button/styles.js +127 -0
- package/dist/components/GlobalHeader/views/Button/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Chat/ChatAction.d.ts +22 -0
- package/dist/components/GlobalHeader/views/Chat/ChatAction.js +96 -0
- package/dist/components/GlobalHeader/views/Chat/ChatAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/Chat/ChatPanel.d.ts +19 -0
- package/dist/components/GlobalHeader/views/Chat/ChatPanel.js +50 -0
- package/dist/components/GlobalHeader/views/Chat/ChatPanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/Chat/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Chat/styles.js +14 -0
- package/dist/components/GlobalHeader/views/Chat/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/FloatingButton/FloatingButton.d.ts +23 -0
- package/dist/components/GlobalHeader/views/FloatingButton/FloatingButton.js +88 -0
- package/dist/components/GlobalHeader/views/FloatingButton/FloatingButton.js.map +1 -0
- package/dist/components/GlobalHeader/views/FloatingButton/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/FloatingButton/styles.js +83 -0
- package/dist/components/GlobalHeader/views/FloatingButton/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/FloatingTextButton/FloatingTextButton.d.ts +23 -0
- package/dist/components/GlobalHeader/views/FloatingTextButton/FloatingTextButton.js +99 -0
- package/dist/components/GlobalHeader/views/FloatingTextButton/FloatingTextButton.js.map +1 -0
- package/dist/components/GlobalHeader/views/FloatingTextButton/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/FloatingTextButton/styles.js +92 -0
- package/dist/components/GlobalHeader/views/FloatingTextButton/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Header/Header.d.ts +46 -0
- package/dist/components/GlobalHeader/views/Header/Header.js +264 -0
- package/dist/components/GlobalHeader/views/Header/Header.js.map +1 -0
- package/dist/components/GlobalHeader/views/Header/HeaderEvent.d.ts +5 -0
- package/dist/components/GlobalHeader/views/Header/HeaderEvent.js +10 -0
- package/dist/components/GlobalHeader/views/Header/HeaderEvent.js.map +1 -0
- package/dist/components/GlobalHeader/views/Header/NavigationEvent.d.ts +8 -0
- package/dist/components/GlobalHeader/views/Header/NavigationEvent.js +13 -0
- package/dist/components/GlobalHeader/views/Header/NavigationEvent.js.map +1 -0
- package/dist/components/GlobalHeader/views/Header/ToggleSwitchEvent.d.ts +4 -0
- package/dist/components/GlobalHeader/views/Header/ToggleSwitchEvent.js +9 -0
- package/dist/components/GlobalHeader/views/Header/ToggleSwitchEvent.js.map +1 -0
- package/dist/components/GlobalHeader/views/Header/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Header/styles.js +129 -0
- package/dist/components/GlobalHeader/views/Header/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Help/HelpAction.d.ts +21 -0
- package/dist/components/GlobalHeader/views/Help/HelpAction.js +83 -0
- package/dist/components/GlobalHeader/views/Help/HelpAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/Help/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Help/styles.js +29 -0
- package/dist/components/GlobalHeader/views/Help/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/AccessControl.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/AccessControl.js +63 -0
- package/dist/components/GlobalHeader/views/Icon/AccessControl.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/ActivityLogs.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/ActivityLogs.js +95 -0
- package/dist/components/GlobalHeader/views/Icon/ActivityLogs.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Announcement.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Announcement.js +57 -0
- package/dist/components/GlobalHeader/views/Icon/Announcement.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/AsmApp.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/AsmApp.js +110 -0
- package/dist/components/GlobalHeader/views/Icon/AsmApp.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/AssetInventory.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/AssetInventory.js +81 -0
- package/dist/components/GlobalHeader/views/Icon/AssetInventory.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/AttackPathApp.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/AttackPathApp.js +74 -0
- package/dist/components/GlobalHeader/views/Icon/AttackPathApp.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Bell.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Bell.js +52 -0
- package/dist/components/GlobalHeader/views/Icon/Bell.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Book.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Book.js +51 -0
- package/dist/components/GlobalHeader/views/Icon/Book.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Chat.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Chat.js +46 -0
- package/dist/components/GlobalHeader/views/Icon/Chat.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronDown.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronDown.js +46 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronDown.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronLeft.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronLeft.js +46 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronLeft.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronRight.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronRight.js +46 -0
- package/dist/components/GlobalHeader/views/Icon/ChevronRight.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/CloseLarge.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/CloseLarge.js +53 -0
- package/dist/components/GlobalHeader/views/Icon/CloseLarge.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/CloseSmall.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/CloseSmall.js +60 -0
- package/dist/components/GlobalHeader/views/Icon/CloseSmall.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/CloudSecurityApp.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/CloudSecurityApp.js +45 -0
- package/dist/components/GlobalHeader/views/Icon/CloudSecurityApp.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/ContainerSecurity.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/ContainerSecurity.js +58 -0
- package/dist/components/GlobalHeader/views/Icon/ContainerSecurity.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Ecosystem.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Ecosystem.js +74 -0
- package/dist/components/GlobalHeader/views/Icon/Ecosystem.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/HamburgerOpen.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/HamburgerOpen.js +60 -0
- package/dist/components/GlobalHeader/views/Icon/HamburgerOpen.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Help.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Help.js +60 -0
- package/dist/components/GlobalHeader/views/Icon/Help.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/IconBase.d.ts +7 -0
- package/dist/components/GlobalHeader/views/Icon/IconBase.js +144 -0
- package/dist/components/GlobalHeader/views/Icon/IconBase.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/IdentityExposure.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/IdentityExposure.js +53 -0
- package/dist/components/GlobalHeader/views/Icon/IdentityExposure.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Info.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Info.js +61 -0
- package/dist/components/GlobalHeader/views/Icon/Info.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/LicenseInformation.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/LicenseInformation.js +95 -0
- package/dist/components/GlobalHeader/views/Icon/LicenseInformation.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/LuminApp.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/LuminApp.js +57 -0
- package/dist/components/GlobalHeader/views/Icon/LuminApp.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/LuminExposureView.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/LuminExposureView.js +53 -0
- package/dist/components/GlobalHeader/views/Icon/LuminExposureView.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Moon.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Moon.js +45 -0
- package/dist/components/GlobalHeader/views/Icon/Moon.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/PCIASV.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/PCIASV.js +60 -0
- package/dist/components/GlobalHeader/views/Icon/PCIASV.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Reports.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Reports.js +44 -0
- package/dist/components/GlobalHeader/views/Icon/Reports.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/SecurityCenter.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/SecurityCenter.js +45 -0
- package/dist/components/GlobalHeader/views/Icon/SecurityCenter.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Settings.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Settings.js +51 -0
- package/dist/components/GlobalHeader/views/Icon/Settings.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/SignOut.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/SignOut.js +53 -0
- package/dist/components/GlobalHeader/views/Icon/SignOut.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/Star.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/Star.js +52 -0
- package/dist/components/GlobalHeader/views/Icon/Star.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/UserProfile.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/UserProfile.js +52 -0
- package/dist/components/GlobalHeader/views/Icon/UserProfile.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/VMApp.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/VMApp.js +46 -0
- package/dist/components/GlobalHeader/views/Icon/VMApp.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/WASApp.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/WASApp.js +63 -0
- package/dist/components/GlobalHeader/views/Icon/WASApp.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/WorkspaceApps.d.ts +12 -0
- package/dist/components/GlobalHeader/views/Icon/WorkspaceApps.js +102 -0
- package/dist/components/GlobalHeader/views/Icon/WorkspaceApps.js.map +1 -0
- package/dist/components/GlobalHeader/views/Icon/types.d.ts +11 -0
- package/dist/components/GlobalHeader/views/Icon/types.js +34 -0
- package/dist/components/GlobalHeader/views/Icon/types.js.map +1 -0
- package/dist/components/GlobalHeader/views/MenuGroupHeading/NavigationMenuHeading.d.ts +20 -0
- package/dist/components/GlobalHeader/views/MenuGroupHeading/NavigationMenuHeading.js +65 -0
- package/dist/components/GlobalHeader/views/MenuGroupHeading/NavigationMenuHeading.js.map +1 -0
- package/dist/components/GlobalHeader/views/MenuGroupHeading/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/MenuGroupHeading/styles.js +82 -0
- package/dist/components/GlobalHeader/views/MenuGroupHeading/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/Menu/NavigationMenu.d.ts +21 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/Menu/NavigationMenu.js +63 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/Menu/NavigationMenu.js.map +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/Menu/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/Menu/styles.js +20 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/Menu/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/MenuItem/NavigationMenuItem.d.ts +42 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/MenuItem/NavigationMenuItem.js +274 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/MenuItem/NavigationMenuItem.js.map +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/MenuItem/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/MenuItem/styles.js +110 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/MenuItem/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/SubMenu/SubMenu.d.ts +20 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/SubMenu/SubMenu.js +65 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/SubMenu/SubMenu.js.map +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/SubMenu/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/SubMenu/styles.js +10 -0
- package/dist/components/GlobalHeader/views/NavigationMenu/SubMenu/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/NotificationBadge/NotificationBadge.d.ts +15 -0
- package/dist/components/GlobalHeader/views/NotificationBadge/NotificationBadge.js +60 -0
- package/dist/components/GlobalHeader/views/NotificationBadge/NotificationBadge.js.map +1 -0
- package/dist/components/GlobalHeader/views/Notifications/NotificationPanel.d.ts +19 -0
- package/dist/components/GlobalHeader/views/Notifications/NotificationPanel.js +50 -0
- package/dist/components/GlobalHeader/views/Notifications/NotificationPanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/Notifications/NotificationsAction.d.ts +22 -0
- package/dist/components/GlobalHeader/views/Notifications/NotificationsAction.js +96 -0
- package/dist/components/GlobalHeader/views/Notifications/NotificationsAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/Notifications/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Notifications/styles.js +14 -0
- package/dist/components/GlobalHeader/views/Notifications/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOver.d.ts +43 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOver.js +292 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOver.js.map +1 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOverEvent.d.ts +13 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOverEvent.js +10 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOverEvent.js.map +1 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOverStateController.d.ts +36 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOverStateController.js +116 -0
- package/dist/components/GlobalHeader/views/PopOver/PopOverStateController.js.map +1 -0
- package/dist/components/GlobalHeader/views/PopOver/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/PopOver/styles.js +34 -0
- package/dist/components/GlobalHeader/views/PopOver/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/QuickActions/QuickAction.d.ts +20 -0
- package/dist/components/GlobalHeader/views/QuickActions/QuickAction.js +75 -0
- package/dist/components/GlobalHeader/views/QuickActions/QuickAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/QuickActions/QuickActionPanel.d.ts +28 -0
- package/dist/components/GlobalHeader/views/QuickActions/QuickActionPanel.js +78 -0
- package/dist/components/GlobalHeader/views/QuickActions/QuickActionPanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/QuickActions/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/QuickActions/styles.js +13 -0
- package/dist/components/GlobalHeader/views/QuickActions/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Settings/SettingsAction.d.ts +20 -0
- package/dist/components/GlobalHeader/views/Settings/SettingsAction.js +95 -0
- package/dist/components/GlobalHeader/views/Settings/SettingsAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/Settings/SettingsPanel.d.ts +36 -0
- package/dist/components/GlobalHeader/views/Settings/SettingsPanel.js +199 -0
- package/dist/components/GlobalHeader/views/Settings/SettingsPanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/Settings/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Settings/styles.js +17 -0
- package/dist/components/GlobalHeader/views/Settings/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/ToggleSwitch/ToggleSwitch.d.ts +24 -0
- package/dist/components/GlobalHeader/views/ToggleSwitch/ToggleSwitch.js +102 -0
- package/dist/components/GlobalHeader/views/ToggleSwitch/ToggleSwitch.js.map +1 -0
- package/dist/components/GlobalHeader/views/ToggleSwitch/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/ToggleSwitch/styles.js +106 -0
- package/dist/components/GlobalHeader/views/ToggleSwitch/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Tooltip/Tooltip.d.ts +42 -0
- package/dist/components/GlobalHeader/views/Tooltip/Tooltip.js +219 -0
- package/dist/components/GlobalHeader/views/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/GlobalHeader/views/Tooltip/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Tooltip/styles.js +57 -0
- package/dist/components/GlobalHeader/views/Tooltip/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Typography/Heading3.d.ts +16 -0
- package/dist/components/GlobalHeader/views/Typography/Heading3.js +57 -0
- package/dist/components/GlobalHeader/views/Typography/Heading3.js.map +1 -0
- package/dist/components/GlobalHeader/views/Typography/SmallText.d.ts +17 -0
- package/dist/components/GlobalHeader/views/Typography/SmallText.js +68 -0
- package/dist/components/GlobalHeader/views/Typography/SmallText.js.map +1 -0
- package/dist/components/GlobalHeader/views/Typography/Text.d.ts +17 -0
- package/dist/components/GlobalHeader/views/Typography/Text.js +69 -0
- package/dist/components/GlobalHeader/views/Typography/Text.js.map +1 -0
- package/dist/components/GlobalHeader/views/UniversalNavigation/UniversalNavigation.d.ts +49 -0
- package/dist/components/GlobalHeader/views/UniversalNavigation/UniversalNavigation.js +321 -0
- package/dist/components/GlobalHeader/views/UniversalNavigation/UniversalNavigation.js.map +1 -0
- package/dist/components/GlobalHeader/views/UniversalNavigation/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/UniversalNavigation/styles.js +108 -0
- package/dist/components/GlobalHeader/views/UniversalNavigation/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/UserProfile/UserAction.d.ts +20 -0
- package/dist/components/GlobalHeader/views/UserProfile/UserAction.js +70 -0
- package/dist/components/GlobalHeader/views/UserProfile/UserAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/UserProfile/UserPanel.d.ts +25 -0
- package/dist/components/GlobalHeader/views/UserProfile/UserPanel.js +106 -0
- package/dist/components/GlobalHeader/views/UserProfile/UserPanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/WorkspaceCard/WorkspaceCard.d.ts +30 -0
- package/dist/components/GlobalHeader/views/WorkspaceCard/WorkspaceCard.js +142 -0
- package/dist/components/GlobalHeader/views/WorkspaceCard/WorkspaceCard.js.map +1 -0
- package/dist/components/GlobalHeader/views/WorkspaceCard/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/WorkspaceCard/styles.js +96 -0
- package/dist/components/GlobalHeader/views/WorkspaceCard/styles.js.map +1 -0
- package/dist/components/GlobalHeader/views/Workspaces/WorkspaceAction.d.ts +19 -0
- package/dist/components/GlobalHeader/views/Workspaces/WorkspaceAction.js +68 -0
- package/dist/components/GlobalHeader/views/Workspaces/WorkspaceAction.js.map +1 -0
- package/dist/components/GlobalHeader/views/Workspaces/WorkspacePanel.d.ts +48 -0
- package/dist/components/GlobalHeader/views/Workspaces/WorkspacePanel.js +242 -0
- package/dist/components/GlobalHeader/views/Workspaces/WorkspacePanel.js.map +1 -0
- package/dist/components/GlobalHeader/views/Workspaces/styles.d.ts +1 -0
- package/dist/components/GlobalHeader/views/Workspaces/styles.js +19 -0
- package/dist/components/GlobalHeader/views/Workspaces/styles.js.map +1 -0
- package/dist/components/TulHeader/index.d.ts +12 -0
- package/dist/components/TulHeader/index.js +30 -0
- package/dist/components/TulHeader/index.js.map +1 -0
- package/dist/consts.d.ts +7 -0
- package/dist/consts.js +13 -0
- package/dist/consts.js.map +1 -0
- package/dist/entities/EntityApp.d.ts +92 -0
- package/dist/entities/EntityApp.js +194 -0
- package/dist/entities/EntityApp.js.map +1 -0
- package/dist/entities/EntitySession.d.ts +100 -0
- package/dist/entities/EntitySession.js +192 -0
- package/dist/entities/EntitySession.js.map +1 -0
- package/dist/entities/consts.d.ts +2 -0
- package/dist/entities/consts.js +11 -0
- package/dist/entities/consts.js.map +1 -0
- package/dist/framework-browser-telemetry-0efeb35e.mjs +725 -0
- package/dist/framework-browser-telemetry-0efeb35e.mjs.map +1 -0
- package/dist/framework-browser-telemetry-17e06fd1.js +2 -0
- package/dist/framework-browser-telemetry-17e06fd1.js.map +1 -0
- package/dist/init/initTul.d.ts +11 -0
- package/dist/init/initTul.js +105 -0
- package/dist/init/initTul.js.map +1 -0
- package/dist/libs/Environment/Authentication/helpers.d.ts +10 -0
- package/dist/libs/Environment/Authentication/helpers.js +19 -0
- package/dist/libs/Environment/Authentication/helpers.js.map +1 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/index.d.ts +16 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/index.js +47 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/index.js.map +1 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/stubs/SessionResourceApiStub.d.ts +8 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/stubs/SessionResourceApiStub.js +26 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/stubs/SessionResourceApiStub.js.map +1 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/stubs/WugServerConfigResourceApiStub.d.ts +10 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/stubs/WugServerConfigResourceApiStub.js +31 -0
- package/dist/libs/Environment/OpenApiClients/OpenApiClientsStub/stubs/WugServerConfigResourceApiStub.js.map +1 -0
- package/dist/libs/Environment/OpenApiClients/index.d.ts +29 -0
- package/dist/libs/Environment/OpenApiClients/index.js +63 -0
- package/dist/libs/Environment/OpenApiClients/index.js.map +1 -0
- package/dist/libs/Environment/OpenApiClients/types.d.ts +14 -0
- package/dist/libs/Environment/OpenApiClients/types.js +9 -0
- package/dist/libs/Environment/OpenApiClients/types.js.map +1 -0
- package/dist/libs/Environment/createEnvironment.d.ts +6 -0
- package/dist/libs/Environment/createEnvironment.js +34 -0
- package/dist/libs/Environment/createEnvironment.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/DocumentStub.d.ts +7 -0
- package/dist/libs/Environment/createEnvironmentStub/DocumentStub.js +13 -0
- package/dist/libs/Environment/createEnvironmentStub/DocumentStub.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/PendoStub.d.ts +49 -0
- package/dist/libs/Environment/createEnvironmentStub/PendoStub.js +157 -0
- package/dist/libs/Environment/createEnvironmentStub/PendoStub.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/WindowStub.d.ts +8 -0
- package/dist/libs/Environment/createEnvironmentStub/WindowStub.js +14 -0
- package/dist/libs/Environment/createEnvironmentStub/WindowStub.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/configStub.d.ts +6 -0
- package/dist/libs/Environment/createEnvironmentStub/configStub.js +148 -0
- package/dist/libs/Environment/createEnvironmentStub/configStub.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/eventStub.d.ts +5 -0
- package/dist/libs/Environment/createEnvironmentStub/eventStub.js +10 -0
- package/dist/libs/Environment/createEnvironmentStub/eventStub.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/index.d.ts +6 -0
- package/dist/libs/Environment/createEnvironmentStub/index.js +31 -0
- package/dist/libs/Environment/createEnvironmentStub/index.js.map +1 -0
- package/dist/libs/Environment/createEnvironmentStub/types.d.ts +6 -0
- package/dist/libs/Environment/createEnvironmentStub/types.js +3 -0
- package/dist/libs/Environment/createEnvironmentStub/types.js.map +1 -0
- package/dist/libs/Environment/index.d.ts +4 -0
- package/dist/libs/Environment/index.js +11 -0
- package/dist/libs/Environment/index.js.map +1 -0
- package/dist/libs/FetchClient/FetchClient.d.ts +70 -0
- package/dist/libs/FetchClient/FetchClient.js +148 -0
- package/dist/libs/FetchClient/FetchClient.js.map +1 -0
- package/dist/libs/FetchClient/FetchClientStub.d.ts +36 -0
- package/dist/libs/FetchClient/FetchClientStub.js +80 -0
- package/dist/libs/FetchClient/FetchClientStub.js.map +1 -0
- package/dist/libs/FetchClient/handleFetchClientError.d.ts +6 -0
- package/dist/libs/FetchClient/handleFetchClientError.js +34 -0
- package/dist/libs/FetchClient/handleFetchClientError.js.map +1 -0
- package/dist/libs/FetchClient/index.d.ts +2 -0
- package/dist/libs/FetchClient/index.js +11 -0
- package/dist/libs/FetchClient/index.js.map +1 -0
- package/dist/libs/FetchClient/statusCodes.d.ts +66 -0
- package/dist/libs/FetchClient/statusCodes.js +134 -0
- package/dist/libs/FetchClient/statusCodes.js.map +1 -0
- package/dist/libs/FetchClient/types.d.ts +46 -0
- package/dist/libs/FetchClient/types.js +16 -0
- package/dist/libs/FetchClient/types.js.map +1 -0
- package/dist/libs/MobxLitElement/MobxReactionUpdate.d.ts +7 -0
- package/dist/libs/MobxLitElement/MobxReactionUpdate.js +43 -0
- package/dist/libs/MobxLitElement/MobxReactionUpdate.js.map +1 -0
- package/dist/libs/MobxLitElement/index.d.ts +65 -0
- package/dist/libs/MobxLitElement/index.js +92 -0
- package/dist/libs/MobxLitElement/index.js.map +1 -0
- package/dist/libs/OpenApiResponsesMocker/index.d.ts +13 -0
- package/dist/libs/OpenApiResponsesMocker/index.js +45 -0
- package/dist/libs/OpenApiResponsesMocker/index.js.map +1 -0
- package/dist/libs/OpenApiResponsesMocker/types.d.ts +7 -0
- package/dist/libs/OpenApiResponsesMocker/types.js +3 -0
- package/dist/libs/OpenApiResponsesMocker/types.js.map +1 -0
- package/dist/libs/authentication/parseCookie.d.ts +7 -0
- package/dist/libs/authentication/parseCookie.js +31 -0
- package/dist/libs/authentication/parseCookie.js.map +1 -0
- package/dist/libs/errors/CustomError.d.ts +11 -0
- package/dist/libs/errors/CustomError.js +33 -0
- package/dist/libs/errors/CustomError.js.map +1 -0
- package/dist/libs/errors/index.d.ts +7 -0
- package/dist/libs/errors/index.js +16 -0
- package/dist/libs/errors/index.js.map +1 -0
- package/dist/libs/errors/types.d.ts +4 -0
- package/dist/libs/errors/types.js +11 -0
- package/dist/libs/errors/types.js.map +1 -0
- package/dist/libs/helpers/map/indexEntitiesToMap.d.ts +8 -0
- package/dist/libs/helpers/map/indexEntitiesToMap.js +34 -0
- package/dist/libs/helpers/map/indexEntitiesToMap.js.map +1 -0
- package/dist/libs/helpers/map/setValuesToMap.d.ts +10 -0
- package/dist/libs/helpers/map/setValuesToMap.js +40 -0
- package/dist/libs/helpers/map/setValuesToMap.js.map +1 -0
- package/dist/libs/helpers/nullable/index.d.ts +6 -0
- package/dist/libs/helpers/nullable/index.js +15 -0
- package/dist/libs/helpers/nullable/index.js.map +1 -0
- package/dist/libs/helpers/objects/filterNullOrUndefinedValues.d.ts +5 -0
- package/dist/libs/helpers/objects/filterNullOrUndefinedValues.js +18 -0
- package/dist/libs/helpers/objects/filterNullOrUndefinedValues.js.map +1 -0
- package/dist/libs/i18n/index.d.ts +224 -0
- package/dist/libs/i18n/index.js +13 -0
- package/dist/libs/i18n/index.js.map +1 -0
- package/dist/libs/i18n/interpolateTemplate/index.d.ts +7 -0
- package/dist/libs/i18n/interpolateTemplate/index.js +37 -0
- package/dist/libs/i18n/interpolateTemplate/index.js.map +1 -0
- package/dist/libs/i18n/translate/helpers.d.ts +18 -0
- package/dist/libs/i18n/translate/helpers.js +101 -0
- package/dist/libs/i18n/translate/helpers.js.map +1 -0
- package/dist/libs/i18n/translate/index.d.ts +177 -0
- package/dist/libs/i18n/translate/index.js +37 -0
- package/dist/libs/i18n/translate/index.js.map +1 -0
- package/dist/libs/i18n/translations/en.json +53 -0
- package/dist/libs/i18n/translations/fr.json +53 -0
- package/dist/libs/i18n/translations/index.d.ts +5 -0
- package/dist/libs/i18n/translations/index.js +35 -0
- package/dist/libs/i18n/translations/index.js.map +1 -0
- package/dist/libs/i18n/translations/ja.json +53 -0
- package/dist/libs/i18n/translations/to.json +53 -0
- package/dist/libs/i18n/types.d.ts +8 -0
- package/dist/libs/i18n/types.js +3 -0
- package/dist/libs/i18n/types.js.map +1 -0
- package/dist/libs/json/index.d.ts +10 -0
- package/dist/libs/json/index.js +62 -0
- package/dist/libs/json/index.js.map +1 -0
- package/dist/libs/logger/index.d.ts +50 -0
- package/dist/libs/logger/index.js +24 -0
- package/dist/libs/logger/index.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/apis/DefaultApi.d.ts +57 -0
- package/dist/libs/openapi/session/sessionResource/apis/DefaultApi.js +144 -0
- package/dist/libs/openapi/session/sessionResource/apis/DefaultApi.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/apis/index.d.ts +1 -0
- package/dist/libs/openapi/session/sessionResource/apis/index.js +20 -0
- package/dist/libs/openapi/session/sessionResource/apis/index.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/index.d.ts +3 -0
- package/dist/libs/openapi/session/sessionResource/index.js +22 -0
- package/dist/libs/openapi/session/sessionResource/index.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/Features.d.ts +361 -0
- package/dist/libs/openapi/session/sessionResource/models/Features.js +268 -0
- package/dist/libs/openapi/session/sessionResource/models/Features.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/Group.d.ts +61 -0
- package/dist/libs/openapi/session/sessionResource/models/Group.js +68 -0
- package/dist/libs/openapi/session/sessionResource/models/Group.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/Preferences.d.ts +73 -0
- package/dist/libs/openapi/session/sessionResource/models/Preferences.js +62 -0
- package/dist/libs/openapi/session/sessionResource/models/Preferences.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/Session.d.ts +175 -0
- package/dist/libs/openapi/session/sessionResource/models/Session.js +132 -0
- package/dist/libs/openapi/session/sessionResource/models/Session.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/SessionTimeout.d.ts +37 -0
- package/dist/libs/openapi/session/sessionResource/models/SessionTimeout.js +48 -0
- package/dist/libs/openapi/session/sessionResource/models/SessionTimeout.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/UserPermissions.d.ts +93 -0
- package/dist/libs/openapi/session/sessionResource/models/UserPermissions.js +107 -0
- package/dist/libs/openapi/session/sessionResource/models/UserPermissions.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/models/index.d.ts +6 -0
- package/dist/libs/openapi/session/sessionResource/models/index.js +25 -0
- package/dist/libs/openapi/session/sessionResource/models/index.js.map +1 -0
- package/dist/libs/openapi/session/sessionResource/runtime.d.ts +181 -0
- package/dist/libs/openapi/session/sessionResource/runtime.js +342 -0
- package/dist/libs/openapi/session/sessionResource/runtime.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/apis/DefaultApi.d.ts +48 -0
- package/dist/libs/openapi/wug/serverConfigResource/apis/DefaultApi.js +115 -0
- package/dist/libs/openapi/wug/serverConfigResource/apis/DefaultApi.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/apis/index.d.ts +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/apis/index.js +20 -0
- package/dist/libs/openapi/wug/serverConfigResource/apis/index.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/index.d.ts +3 -0
- package/dist/libs/openapi/wug/serverConfigResource/index.js +22 -0
- package/dist/libs/openapi/wug/serverConfigResource/index.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/Analytics.d.ts +43 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/Analytics.js +56 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/Analytics.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/AppLicense.d.ts +67 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/AppLicense.js +66 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/AppLicense.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/Evaluation.d.ts +43 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/Evaluation.js +56 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/Evaluation.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/License.d.ts +75 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/License.js +78 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/License.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/LicenseApps.d.ts +128 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/LicenseApps.js +79 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/LicenseApps.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/LicenseType.d.ts +24 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/LicenseType.js +38 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/LicenseType.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/ServerProperties.d.ts +124 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/ServerProperties.js +105 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/ServerProperties.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/index.d.ts +7 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/index.js +26 -0
- package/dist/libs/openapi/wug/serverConfigResource/models/index.js.map +1 -0
- package/dist/libs/openapi/wug/serverConfigResource/runtime.d.ts +181 -0
- package/dist/libs/openapi/wug/serverConfigResource/runtime.js +342 -0
- package/dist/libs/openapi/wug/serverConfigResource/runtime.js.map +1 -0
- package/dist/libs/pendo/addPendoScript/getPendoScriptContent.d.ts +13 -0
- package/dist/libs/pendo/addPendoScript/getPendoScriptContent.js +64 -0
- package/dist/libs/pendo/addPendoScript/getPendoScriptContent.js.map +1 -0
- package/dist/libs/pendo/addPendoScript/index.d.ts +5 -0
- package/dist/libs/pendo/addPendoScript/index.js +15 -0
- package/dist/libs/pendo/addPendoScript/index.js.map +1 -0
- package/dist/libs/pendo/consts.d.ts +4 -0
- package/dist/libs/pendo/consts.js +8 -0
- package/dist/libs/pendo/consts.js.map +1 -0
- package/dist/libs/pendo/createAccount.d.ts +7 -0
- package/dist/libs/pendo/createAccount.js +24 -0
- package/dist/libs/pendo/createAccount.js.map +1 -0
- package/dist/libs/pendo/createVisitor.d.ts +7 -0
- package/dist/libs/pendo/createVisitor.js +24 -0
- package/dist/libs/pendo/createVisitor.js.map +1 -0
- package/dist/libs/pendo/helpers.d.ts +2 -0
- package/dist/libs/pendo/helpers.js +11 -0
- package/dist/libs/pendo/helpers.js.map +1 -0
- package/dist/libs/pendo/types.d.ts +23 -0
- package/dist/libs/pendo/types.js +3 -0
- package/dist/libs/pendo/types.js.map +1 -0
- package/dist/libs/rbac/roles.d.ts +11 -0
- package/dist/libs/rbac/roles.js +35 -0
- package/dist/libs/rbac/roles.js.map +1 -0
- package/dist/libs/servicesConfiguration/index.d.ts +8 -0
- package/dist/libs/servicesConfiguration/index.js +180 -0
- package/dist/libs/servicesConfiguration/index.js.map +1 -0
- package/dist/libs/servicesConfiguration/types.d.ts +21 -0
- package/dist/libs/servicesConfiguration/types.js +15 -0
- package/dist/libs/servicesConfiguration/types.js.map +1 -0
- package/dist/libs/styles/index.d.ts +14 -0
- package/dist/libs/styles/index.js +32 -0
- package/dist/libs/styles/index.js.map +1 -0
- package/dist/libs/telemetry/addLocalTelemetry.d.ts +4 -0
- package/dist/libs/telemetry/addLocalTelemetry.js +58 -0
- package/dist/libs/telemetry/addLocalTelemetry.js.map +1 -0
- package/dist/libs/telemetry/framework-browser-telemetry.d.ts +0 -0
- package/dist/libs/telemetry/framework-browser-telemetry.js +233 -0
- package/dist/libs/telemetry/framework-browser-telemetry.js.map +1 -0
- package/dist/libs/telemetry/index.d.ts +5 -0
- package/dist/libs/telemetry/index.js +38 -0
- package/dist/libs/telemetry/index.js.map +1 -0
- package/dist/libs/tests-helpers/config/CSSStub.d.ts +0 -0
- package/dist/libs/tests-helpers/config/CSSStub.js +3 -0
- package/dist/libs/tests-helpers/config/CSSStub.js.map +1 -0
- package/dist/libs/tests-helpers/createStoreRootWithStubs.d.ts +13 -0
- package/dist/libs/tests-helpers/createStoreRootWithStubs.js +21 -0
- package/dist/libs/tests-helpers/createStoreRootWithStubs.js.map +1 -0
- package/dist/libs/tests-helpers/data/properties-data.d.ts +117 -0
- package/dist/libs/tests-helpers/data/properties-data.js +121 -0
- package/dist/libs/tests-helpers/data/properties-data.js.map +1 -0
- package/dist/libs/tests-helpers/data/quickaction-data.d.ts +2 -0
- package/dist/libs/tests-helpers/data/quickaction-data.js +47 -0
- package/dist/libs/tests-helpers/data/quickaction-data.js.map +1 -0
- package/dist/libs/tests-helpers/data/session-data.d.ts +109 -0
- package/dist/libs/tests-helpers/data/session-data.js +206 -0
- package/dist/libs/tests-helpers/data/session-data.js.map +1 -0
- package/dist/libs/tests-helpers/data/tio-navigation-data.d.ts +18 -0
- package/dist/libs/tests-helpers/data/tio-navigation-data.js +68 -0
- package/dist/libs/tests-helpers/data/tio-navigation-data.js.map +1 -0
- package/dist/libs/tests-helpers/fixtures/properties/properties.d.ts +2 -0
- package/dist/libs/tests-helpers/fixtures/properties/properties.js +123 -0
- package/dist/libs/tests-helpers/fixtures/properties/properties.js.map +1 -0
- package/dist/libs/tests-helpers/fixtures/sessions/adminSession.d.ts +2 -0
- package/dist/libs/tests-helpers/fixtures/sessions/adminSession.js +43 -0
- package/dist/libs/tests-helpers/fixtures/sessions/adminSession.js.map +1 -0
- package/dist/libs/validators/compileJsonSchemasToJs.d.ts +4 -0
- package/dist/libs/validators/compileJsonSchemasToJs.js +90 -0
- package/dist/libs/validators/compileJsonSchemasToJs.js.map +1 -0
- package/dist/libs/validators/configSchema.d.ts +434 -0
- package/dist/libs/validators/configSchema.js +442 -0
- package/dist/libs/validators/configSchema.js.map +1 -0
- package/dist/libs/validators/generatedValidators/validateConfigSchema.cjs.d.ts +7 -0
- package/dist/libs/validators/generatedValidators/validateConfigSchema.cjs.js +1643 -0
- package/dist/libs/validators/generatedValidators/validateConfigSchema.cjs.js.map +1 -0
- package/dist/libs/validators/generatedValidators/validateConfigSchema.d.ts +6 -0
- package/dist/libs/validators/generatedValidators/validateConfigSchema.js +1645 -0
- package/dist/libs/validators/generatedValidators/validateConfigSchema.js.map +1 -0
- package/dist/libs/validators/generatedValidators/validateServerProperties.cjs.d.ts +7 -0
- package/dist/libs/validators/generatedValidators/validateServerProperties.cjs.js +1441 -0
- package/dist/libs/validators/generatedValidators/validateServerProperties.cjs.js.map +1 -0
- package/dist/libs/validators/generatedValidators/validateServerProperties.d.ts +6 -0
- package/dist/libs/validators/generatedValidators/validateServerProperties.js +1443 -0
- package/dist/libs/validators/generatedValidators/validateServerProperties.js.map +1 -0
- package/dist/libs/validators/generatedValidators/validateSessionSchema.cjs.d.ts +7 -0
- package/dist/libs/validators/generatedValidators/validateSessionSchema.cjs.js +140 -0
- package/dist/libs/validators/generatedValidators/validateSessionSchema.cjs.js.map +1 -0
- package/dist/libs/validators/generatedValidators/validateSessionSchema.d.ts +6 -0
- package/dist/libs/validators/generatedValidators/validateSessionSchema.js +142 -0
- package/dist/libs/validators/generatedValidators/validateSessionSchema.js.map +1 -0
- package/dist/libs/validators/serverPropertiesSchema.d.ts +58 -0
- package/dist/libs/validators/serverPropertiesSchema.js +78 -0
- package/dist/libs/validators/serverPropertiesSchema.js.map +1 -0
- package/dist/libs/validators/sessionSchema.d.ts +36 -0
- package/dist/libs/validators/sessionSchema.js +45 -0
- package/dist/libs/validators/sessionSchema.js.map +1 -0
- package/dist/libs/validators/validateConfig.d.ts +5 -0
- package/dist/libs/validators/validateConfig.js +82 -0
- package/dist/libs/validators/validateConfig.js.map +1 -0
- package/dist/libs/validators/validators.d.ts +20 -0
- package/dist/libs/validators/validators.js +64 -0
- package/dist/libs/validators/validators.js.map +1 -0
- package/dist/manifest.json +36 -0
- package/dist/mocks/featureFlags/index.d.ts +1 -0
- package/dist/mocks/featureFlags/index.js +37 -0
- package/dist/mocks/featureFlags/index.js.map +1 -0
- package/dist/mocks/featureFlags/responses.d.ts +3 -0
- package/dist/mocks/featureFlags/responses.js +7 -0
- package/dist/mocks/featureFlags/responses.js.map +1 -0
- package/dist/mocks/server.d.ts +1 -0
- package/dist/mocks/server.js +39 -0
- package/dist/mocks/server.js.map +1 -0
- package/dist/mocks/session/consec-session-onprem.d.ts +47 -0
- package/dist/mocks/session/consec-session-onprem.js +77 -0
- package/dist/mocks/session/consec-session-onprem.js.map +1 -0
- package/dist/mocks/session/index.d.ts +1 -0
- package/dist/mocks/session/index.js +53 -0
- package/dist/mocks/session/index.js.map +1 -0
- package/dist/mocks/session/otherResponses.d.ts +0 -0
- package/dist/mocks/session/otherResponses.js +373 -0
- package/dist/mocks/session/otherResponses.js.map +1 -0
- package/dist/mocks/session/responses.d.ts +48 -0
- package/dist/mocks/session/responses.js +78 -0
- package/dist/mocks/session/responses.js.map +1 -0
- package/dist/mocks/wug/index.d.ts +1 -0
- package/dist/mocks/wug/index.js +37 -0
- package/dist/mocks/wug/index.js.map +1 -0
- package/dist/mocks/wug/responses.d.ts +39 -0
- package/dist/mocks/wug/responses.js +174 -0
- package/dist/mocks/wug/responses.js.map +1 -0
- package/dist/server-968402f2.js +9 -0
- package/dist/server-968402f2.js.map +1 -0
- package/dist/server-be52b4bb.mjs +9330 -0
- package/dist/server-be52b4bb.mjs.map +1 -0
- package/dist/stores/Base/EnvironmentBase/index.d.ts +11 -0
- package/dist/stores/Base/EnvironmentBase/index.js +15 -0
- package/dist/stores/Base/EnvironmentBase/index.js.map +1 -0
- package/dist/stores/Base/StoreBase/index.d.ts +14 -0
- package/dist/stores/Base/StoreBase/index.js +20 -0
- package/dist/stores/Base/StoreBase/index.js.map +1 -0
- package/dist/stores/Base/StoreRootBase/index.d.ts +8 -0
- package/dist/stores/Base/StoreRootBase/index.js +11 -0
- package/dist/stores/Base/StoreRootBase/index.js.map +1 -0
- package/dist/stores/Base/types.d.ts +48 -0
- package/dist/stores/Base/types.js +3 -0
- package/dist/stores/Base/types.js.map +1 -0
- package/dist/stores/StoreAssistMode.d.ts +29 -0
- package/dist/stores/StoreAssistMode.js +113 -0
- package/dist/stores/StoreAssistMode.js.map +1 -0
- package/dist/stores/StoreAuthentication.d.ts +73 -0
- package/dist/stores/StoreAuthentication.js +264 -0
- package/dist/stores/StoreAuthentication.js.map +1 -0
- package/dist/stores/StoreDrawer.d.ts +51 -0
- package/dist/stores/StoreDrawer.js +118 -0
- package/dist/stores/StoreDrawer.js.map +1 -0
- package/dist/stores/StoreFlags/helpers.d.ts +10 -0
- package/dist/stores/StoreFlags/helpers.js +43 -0
- package/dist/stores/StoreFlags/helpers.js.map +1 -0
- package/dist/stores/StoreFlags/index.d.ts +48 -0
- package/dist/stores/StoreFlags/index.js +149 -0
- package/dist/stores/StoreFlags/index.js.map +1 -0
- package/dist/stores/StoreFlags/types.d.ts +7 -0
- package/dist/stores/StoreFlags/types.js +3 -0
- package/dist/stores/StoreFlags/types.js.map +1 -0
- package/dist/stores/StoreLayout/consts.d.ts +11 -0
- package/dist/stores/StoreLayout/consts.js +85 -0
- package/dist/stores/StoreLayout/consts.js.map +1 -0
- package/dist/stores/StoreLayout/index.d.ts +207 -0
- package/dist/stores/StoreLayout/index.js +492 -0
- package/dist/stores/StoreLayout/index.js.map +1 -0
- package/dist/stores/StoreLayout/types.d.ts +6 -0
- package/dist/stores/StoreLayout/types.js +3 -0
- package/dist/stores/StoreLayout/types.js.map +1 -0
- package/dist/stores/StorePendo/handlers.d.ts +5 -0
- package/dist/stores/StorePendo/handlers.js +20 -0
- package/dist/stores/StorePendo/handlers.js.map +1 -0
- package/dist/stores/StorePendo/index.d.ts +27 -0
- package/dist/stores/StorePendo/index.js +155 -0
- package/dist/stores/StorePendo/index.js.map +1 -0
- package/dist/stores/StorePendo/types.d.ts +13 -0
- package/dist/stores/StorePendo/types.js +7 -0
- package/dist/stores/StorePendo/types.js.map +1 -0
- package/dist/stores/StoreRoot/index.d.ts +106 -0
- package/dist/stores/StoreRoot/index.js +398 -0
- package/dist/stores/StoreRoot/index.js.map +1 -0
- package/dist/stores/StoreTelemetry/index.d.ts +112 -0
- package/dist/stores/StoreTelemetry/index.js +408 -0
- package/dist/stores/StoreTelemetry/index.js.map +1 -0
- package/dist/stores/StoreTelemetry/types.d.ts +99 -0
- package/dist/stores/StoreTelemetry/types.js +21 -0
- package/dist/stores/StoreTelemetry/types.js.map +1 -0
- package/dist/stores/storeAlerts/index.d.ts +7 -0
- package/dist/stores/storeAlerts/index.js +15 -0
- package/dist/stores/storeAlerts/index.js.map +1 -0
- package/dist/stores/storeFeatureFlags/index.d.ts +24 -0
- package/dist/stores/storeFeatureFlags/index.js +60 -0
- package/dist/stores/storeFeatureFlags/index.js.map +1 -0
- package/dist/stores/storeFeatureFlags/types.d.ts +10 -0
- package/dist/stores/storeFeatureFlags/types.js +11 -0
- package/dist/stores/storeFeatureFlags/types.js.map +1 -0
- package/dist/stores/types.d.ts +19 -0
- package/dist/stores/types.js +3 -0
- package/dist/stores/types.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/styles/themes/default.d.ts +12 -0
- package/dist/styles/themes/default.js +16 -0
- package/dist/styles/themes/default.js.map +1 -0
- package/dist/styles/themes/index.d.ts +18 -0
- package/dist/styles/themes/index.js +10 -0
- package/dist/styles/themes/index.js.map +1 -0
- package/dist/styles/themes/tio.d.ts +2 -0
- package/dist/styles/themes/tio.js +12 -0
- package/dist/styles/themes/tio.js.map +1 -0
- package/dist/styles/themes/types.d.ts +5 -0
- package/dist/styles/themes/types.js +3 -0
- package/dist/styles/themes/types.js.map +1 -0
- package/dist/tul.client.cjs.js +3784 -0
- package/dist/tul.client.cjs.js.map +1 -0
- package/dist/tul.client.es.js +14357 -0
- package/dist/tul.client.es.js.map +1 -0
- package/dist/tul.server.cjs.js +2 -0
- package/dist/tul.server.cjs.js.map +1 -0
- package/dist/tul.server.es.js +21 -0
- package/dist/tul.server.es.js.map +1 -0
- package/dist/types/helpers.d.ts +14 -0
- package/dist/types/helpers.js +3 -0
- package/dist/types/helpers.js.map +1 -0
- package/dist/types/index.d.ts +38 -0
- package/dist/types/index.js +47 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/logos.d.ts +75 -0
- package/dist/types/logos.js +80 -0
- package/dist/types/logos.js.map +1 -0
- package/dist/types/openapi.d.ts +10 -0
- package/dist/types/openapi.js +3 -0
- package/dist/types/openapi.js.map +1 -0
- package/dist/types/tul.d.ts +629 -0
- package/dist/types/tul.js +47 -0
- package/dist/types/tul.js.map +1 -0
- package/package.json +106 -4
- package/scripts/postinstall.js +67 -0
- package/README.md +0 -5
|
@@ -0,0 +1,3784 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./server-968402f2.js");/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2019 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/const Zn=window,Ho=Zn.ShadowRoot&&(Zn.ShadyCSS===void 0||Zn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Fo=Symbol(),Pi=new WeakMap;let ya=class{constructor(t,n,r){if(this._$cssResult$=!0,r!==Fo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=n}get styleSheet(){let t=this.o;const n=this.t;if(Ho&&t===void 0){const r=n!==void 0&&n.length===1;r&&(t=Pi.get(n)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&Pi.set(n,t))}return t}toString(){return this.cssText}};const wa=e=>new ya(typeof e=="string"?e:e+"",void 0,Fo),k=(e,...t)=>{const n=e.length===1?e[0]:t.reduce((r,o,i)=>r+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+e[i+1],e[0]);return new ya(n,e,Fo)},eu=(e,t)=>{Ho?e.adoptedStyleSheets=t.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet):t.forEach(n=>{const r=document.createElement("style"),o=Zn.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=n.cssText,e.appendChild(r)})},Ei=Ho?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let n="";for(const r of t.cssRules)n+=r.cssText;return wa(n)})(e):e;/**
|
|
6
|
+
* @license
|
|
7
|
+
* Copyright 2017 Google LLC
|
|
8
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
9
|
+
*/var Yr;const er=window,ki=er.trustedTypes,tu=ki?ki.emptyScript:"",Ti=er.reactiveElementPolyfillSupport,uo={toAttribute(e,t){switch(t){case Boolean:e=e?tu:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},$a=(e,t)=>t!==e&&(t==t||e==e),eo={attribute:!0,type:String,converter:uo,reflect:!1,hasChanged:$a},po="finalized";let It=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this.u()}static addInitializer(t){var n;this.finalize(),((n=this.h)!==null&&n!==void 0?n:this.h=[]).push(t)}static get observedAttributes(){this.finalize();const t=[];return this.elementProperties.forEach((n,r)=>{const o=this._$Ep(r,n);o!==void 0&&(this._$Ev.set(o,r),t.push(o))}),t}static createProperty(t,n=eo){if(n.state&&(n.attribute=!1),this.finalize(),this.elementProperties.set(t,n),!n.noAccessor&&!this.prototype.hasOwnProperty(t)){const r=typeof t=="symbol"?Symbol():"__"+t,o=this.getPropertyDescriptor(t,r,n);o!==void 0&&Object.defineProperty(this.prototype,t,o)}}static getPropertyDescriptor(t,n,r){return{get(){return this[n]},set(o){const i=this[t];this[n]=o,this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||eo}static finalize(){if(this.hasOwnProperty(po))return!1;this[po]=!0;const t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const n=this.properties,r=[...Object.getOwnPropertyNames(n),...Object.getOwnPropertySymbols(n)];for(const o of r)this.createProperty(o,n[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){const n=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const o of r)n.unshift(Ei(o))}else t!==void 0&&n.push(Ei(t));return n}static _$Ep(t,n){const r=n.attribute;return r===!1?void 0:typeof r=="string"?r:typeof t=="string"?t.toLowerCase():void 0}u(){var t;this._$E_=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(n=>n(this))}addController(t){var n,r;((n=this._$ES)!==null&&n!==void 0?n:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((r=t.hostConnected)===null||r===void 0||r.call(t))}removeController(t){var n;(n=this._$ES)===null||n===void 0||n.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,n)=>{this.hasOwnProperty(n)&&(this._$Ei.set(n,this[n]),delete this[n])})}createRenderRoot(){var t;const n=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return eu(n,this.constructor.elementStyles),n}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(n=>{var r;return(r=n.hostConnected)===null||r===void 0?void 0:r.call(n)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(n=>{var r;return(r=n.hostDisconnected)===null||r===void 0?void 0:r.call(n)})}attributeChangedCallback(t,n,r){this._$AK(t,r)}_$EO(t,n,r=eo){var o;const i=this.constructor._$Ep(t,r);if(i!==void 0&&r.reflect===!0){const s=(((o=r.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?r.converter:uo).toAttribute(n,r.type);this._$El=t,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$El=null}}_$AK(t,n){var r;const o=this.constructor,i=o._$Ev.get(t);if(i!==void 0&&this._$El!==i){const s=o.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:((r=s.converter)===null||r===void 0?void 0:r.fromAttribute)!==void 0?s.converter:uo;this._$El=i,this[i]=a.fromAttribute(n,s.type),this._$El=null}}requestUpdate(t,n,r){let o=!0;t!==void 0&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||$a)(this[t],n)?(this._$AL.has(t)||this._$AL.set(t,n),r.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,r))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(n){Promise.reject(n)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((o,i)=>this[i]=o),this._$Ei=void 0);let n=!1;const r=this._$AL;try{n=this.shouldUpdate(r),n?(this.willUpdate(r),(t=this._$ES)===null||t===void 0||t.forEach(o=>{var i;return(i=o.hostUpdate)===null||i===void 0?void 0:i.call(o)}),this.update(r)):this._$Ek()}catch(o){throw n=!1,this._$Ek(),o}n&&this._$AE(r)}willUpdate(t){}_$AE(t){var n;(n=this._$ES)===null||n===void 0||n.forEach(r=>{var o;return(o=r.hostUpdated)===null||o===void 0?void 0:o.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((n,r)=>this._$EO(r,this[r],n)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};It[po]=!0,It.elementProperties=new Map,It.elementStyles=[],It.shadowRootOptions={mode:"open"},Ti==null||Ti({ReactiveElement:It}),((Yr=er.reactiveElementVersions)!==null&&Yr!==void 0?Yr:er.reactiveElementVersions=[]).push("1.6.2");/**
|
|
10
|
+
* @license
|
|
11
|
+
* Copyright 2017 Google LLC
|
|
12
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
13
|
+
*/var to;const tr=window,Vt=tr.trustedTypes,Ii=Vt?Vt.createPolicy("lit-html",{createHTML:e=>e}):void 0,nr="$lit$",Be=`lit$${(Math.random()+"").slice(9)}$`,zo="?"+Be,nu=`<${zo}>`,_t=document,dn=()=>_t.createComment(""),pn=e=>e===null||typeof e!="object"&&typeof e!="function",Ca=Array.isArray,Sa=e=>Ca(e)||typeof(e==null?void 0:e[Symbol.iterator])=="function",no=`[
|
|
14
|
+
\f\r]`,on=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Di=/-->/g,Li=/>/g,dt=RegExp(`>|${no}(?:([^\\s"'>=/]+)(${no}*=${no}*(?:[^
|
|
15
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Mi=/'/g,Ri=/"/g,xa=/^(?:script|style|textarea|title)$/i,ru=e=>(t,...n)=>({_$litType$:e,strings:t,values:n}),f=ru(1),Le=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),Ni=new WeakMap,vt=_t.createTreeWalker(_t,129,null,!1),Aa=(e,t)=>{const n=e.length-1,r=[];let o,i=t===2?"<svg>":"",s=on;for(let l=0;l<n;l++){const c=e[l];let d,p,h=-1,v=0;for(;v<c.length&&(s.lastIndex=v,p=s.exec(c),p!==null);)v=s.lastIndex,s===on?p[1]==="!--"?s=Di:p[1]!==void 0?s=Li:p[2]!==void 0?(xa.test(p[2])&&(o=RegExp("</"+p[2],"g")),s=dt):p[3]!==void 0&&(s=dt):s===dt?p[0]===">"?(s=o!=null?o:on,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?dt:p[3]==='"'?Ri:Mi):s===Ri||s===Mi?s=dt:s===Di||s===Li?s=on:(s=dt,o=void 0);const m=s===dt&&e[l+1].startsWith("/>")?" ":"";i+=s===on?c+nu:h>=0?(r.push(d),c.slice(0,h)+nr+c.slice(h)+Be+m):c+Be+(h===-2?(r.push(void 0),l):m)}const a=i+(e[n]||"<?>")+(t===2?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[Ii!==void 0?Ii.createHTML(a):a,r]};let ho=class Oa{constructor({strings:t,_$litType$:n},r){let o;this.parts=[];let i=0,s=0;const a=t.length-1,l=this.parts,[c,d]=Aa(t,n);if(this.el=Oa.createElement(c,r),vt.currentNode=this.el.content,n===2){const p=this.el.content,h=p.firstChild;h.remove(),p.append(...h.childNodes)}for(;(o=vt.nextNode())!==null&&l.length<a;){if(o.nodeType===1){if(o.hasAttributes()){const p=[];for(const h of o.getAttributeNames())if(h.endsWith(nr)||h.startsWith(Be)){const v=d[s++];if(p.push(h),v!==void 0){const m=o.getAttribute(v.toLowerCase()+nr).split(Be),g=/([.?@])?(.*)/.exec(v);l.push({type:1,index:i,name:g[2],strings:m,ctor:g[1]==="."?ka:g[1]==="?"?Ta:g[1]==="@"?Ia:xn})}else l.push({type:6,index:i})}for(const h of p)o.removeAttribute(h)}if(xa.test(o.tagName)){const p=o.textContent.split(Be),h=p.length-1;if(h>0){o.textContent=Vt?Vt.emptyScript:"";for(let v=0;v<h;v++)o.append(p[v],dn()),vt.nextNode(),l.push({type:2,index:++i});o.append(p[h],dn())}}}else if(o.nodeType===8)if(o.data===zo)l.push({type:2,index:i});else{let p=-1;for(;(p=o.data.indexOf(Be,p+1))!==-1;)l.push({type:7,index:i}),p+=Be.length-1}i++}}static createElement(t,n){const r=_t.createElement("template");return r.innerHTML=t,r}};function yt(e,t,n=e,r){var o,i,s,a;if(t===Le)return t;let l=r!==void 0?(o=n._$Co)===null||o===void 0?void 0:o[r]:n._$Cl;const c=pn(t)?void 0:t._$litDirective$;return(l==null?void 0:l.constructor)!==c&&((i=l==null?void 0:l._$AO)===null||i===void 0||i.call(l,!1),c===void 0?l=void 0:(l=new c(e),l._$AT(e,n,r)),r!==void 0?((s=(a=n)._$Co)!==null&&s!==void 0?s:a._$Co=[])[r]=l:n._$Cl=l),l!==void 0&&(t=yt(e,l._$AS(e,t.values),l,r)),t}let Pa=class{constructor(t,n){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var n;const{el:{content:r},parts:o}=this._$AD,i=((n=t==null?void 0:t.creationScope)!==null&&n!==void 0?n:_t).importNode(r,!0);vt.currentNode=i;let s=vt.nextNode(),a=0,l=0,c=o[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new Ir(s,s.nextSibling,this,t):c.type===1?d=new c.ctor(s,c.name,c.strings,this,t):c.type===6&&(d=new Da(s,this,t)),this._$AV.push(d),c=o[++l]}a!==(c==null?void 0:c.index)&&(s=vt.nextNode(),a++)}return vt.currentNode=_t,i}v(t){let n=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(t,r,n),n+=r.strings.length-2):r._$AI(t[n])),n++}},Ir=class Ea{constructor(t,n,r,o){var i;this.type=2,this._$AH=Q,this._$AN=void 0,this._$AA=t,this._$AB=n,this._$AM=r,this.options=o,this._$Cp=(i=o==null?void 0:o.isConnected)===null||i===void 0||i}get _$AU(){var t,n;return(n=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&n!==void 0?n:this._$Cp}get parentNode(){let t=this._$AA.parentNode;const n=this._$AM;return n!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=n.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,n=this){t=yt(this,t,n),pn(t)?t===Q||t==null||t===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):t!==this._$AH&&t!==Le&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Sa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==Q&&pn(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){var n;const{values:r,_$litType$:o}=t,i=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=ho.createElement(o.h,this.options)),o);if(((n=this._$AH)===null||n===void 0?void 0:n._$AD)===i)this._$AH.v(r);else{const s=new Pa(i,this),a=s.u(this.options);s.v(r),this.$(a),this._$AH=s}}_$AC(t){let n=Ni.get(t.strings);return n===void 0&&Ni.set(t.strings,n=new ho(t)),n}T(t){Ca(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let r,o=0;for(const i of t)o===n.length?n.push(r=new Ea(this.k(dn()),this.k(dn()),this,this.options)):r=n[o],r._$AI(i),o++;o<n.length&&(this._$AR(r&&r._$AB.nextSibling,o),n.length=o)}_$AR(t=this._$AA.nextSibling,n){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,n);t&&t!==this._$AB;){const o=t.nextSibling;t.remove(),t=o}}setConnected(t){var n;this._$AM===void 0&&(this._$Cp=t,(n=this._$AP)===null||n===void 0||n.call(this,t))}},xn=class{constructor(t,n,r,o,i){this.type=1,this._$AH=Q,this._$AN=void 0,this.element=t,this.name=n,this._$AM=o,this.options=i,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Q}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,n=this,r,o){const i=this.strings;let s=!1;if(i===void 0)t=yt(this,t,n,0),s=!pn(t)||t!==this._$AH&&t!==Le,s&&(this._$AH=t);else{const a=t;let l,c;for(t=i[0],l=0;l<i.length-1;l++)c=yt(this,a[r+l],n,l),c===Le&&(c=this._$AH[l]),s||(s=!pn(c)||c!==this._$AH[l]),c===Q?t=Q:t!==Q&&(t+=(c!=null?c:"")+i[l+1]),this._$AH[l]=c}s&&!o&&this.j(t)}j(t){t===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}},ka=class extends xn{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===Q?void 0:t}};const ou=Vt?Vt.emptyScript:"";class Ta extends xn{constructor(){super(...arguments),this.type=4}j(t){t&&t!==Q?this.element.setAttribute(this.name,ou):this.element.removeAttribute(this.name)}}let Ia=class extends xn{constructor(t,n,r,o,i){super(t,n,r,o,i),this.type=5}_$AI(t,n=this){var r;if((t=(r=yt(this,t,n,0))!==null&&r!==void 0?r:Q)===Le)return;const o=this._$AH,i=t===Q&&o!==Q||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,s=t!==Q&&(o===Q||i);i&&this.element.removeEventListener(this.name,this,o),s&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var n,r;typeof this._$AH=="function"?this._$AH.call((r=(n=this.options)===null||n===void 0?void 0:n.host)!==null&&r!==void 0?r:this.element,t):this._$AH.handleEvent(t)}},Da=class{constructor(t,n,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){yt(this,t)}};const iu={O:nr,P:Be,A:zo,C:1,M:Aa,L:Pa,D:Sa,R:yt,I:Ir,V:xn,H:Ta,N:Ia,U:ka,F:Da},ji=tr.litHtmlPolyfillSupport;ji==null||ji(ho,Ir),((to=tr.litHtmlVersions)!==null&&to!==void 0?to:tr.litHtmlVersions=[]).push("2.7.4");const su=(e,t,n)=>{var r,o;const i=(r=n==null?void 0:n.renderBefore)!==null&&r!==void 0?r:t;let s=i._$litPart$;if(s===void 0){const a=(o=n==null?void 0:n.renderBefore)!==null&&o!==void 0?o:null;i._$litPart$=s=new Ir(t.insertBefore(dn(),a),a,void 0,n!=null?n:{})}return s._$AI(e),s};/**
|
|
16
|
+
* @license
|
|
17
|
+
* Copyright 2017 Google LLC
|
|
18
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
19
|
+
*/var ro,oo;let ln=class extends It{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,n;const r=super.createRenderRoot();return(t=(n=this.renderOptions).renderBefore)!==null&&t!==void 0||(n.renderBefore=r.firstChild),r}update(t){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=su(n,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Le}};ln.finalized=!0,ln._$litElement$=!0,(ro=globalThis.litElementHydrateSupport)===null||ro===void 0||ro.call(globalThis,{LitElement:ln});const Bi=globalThis.litElementPolyfillSupport;Bi==null||Bi({LitElement:ln});((oo=globalThis.litElementVersions)!==null&&oo!==void 0?oo:globalThis.litElementVersions=[]).push("3.3.2");/**
|
|
20
|
+
* @license
|
|
21
|
+
* Copyright 2017 Google LLC
|
|
22
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
23
|
+
*/const w=e=>t=>typeof t=="function"?((n,r)=>(customElements.define(n,r),r))(e,t):((n,r)=>{const{kind:o,elements:i}=r;return{kind:o,elements:i,finisher(s){customElements.define(n,s)}}})(e,t);/**
|
|
24
|
+
* @license
|
|
25
|
+
* Copyright 2017 Google LLC
|
|
26
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
27
|
+
*/const au=(e,t)=>t.kind==="method"&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(n){n.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){typeof t.initializer=="function"&&(this[t.key]=t.initializer.call(this))},finisher(n){n.createProperty(t.key,e)}},lu=(e,t,n)=>{t.constructor.createProperty(n,e)};function b(e){return(t,n)=>n!==void 0?lu(e,t,n):au(e,t)}/**
|
|
28
|
+
* @license
|
|
29
|
+
* Copyright 2017 Google LLC
|
|
30
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
|
+
*/function ot(e){return b({...e,state:!0})}/**
|
|
32
|
+
* @license
|
|
33
|
+
* Copyright 2017 Google LLC
|
|
34
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
35
|
+
*/const cu=({finisher:e,descriptor:t})=>(n,r)=>{var o;if(r===void 0){const i=(o=n.originalKey)!==null&&o!==void 0?o:n.key,s=t!=null?{kind:"method",placement:"prototype",key:i,descriptor:t(n.key)}:{...n,key:i};return e!=null&&(s.finisher=function(a){e(a,i)}),s}{const i=n.constructor;t!==void 0&&Object.defineProperty(n,r,t(r)),e==null||e(i,r)}};/**
|
|
36
|
+
* @license
|
|
37
|
+
* Copyright 2017 Google LLC
|
|
38
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
39
|
+
*/function Zt(e,t){return cu({descriptor:n=>{const r={get(){var o,i;return(i=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector(e))!==null&&i!==void 0?i:null},enumerable:!0,configurable:!0};if(t){const o=typeof n=="symbol"?Symbol():"__"+n;r.get=function(){var i,s;return this[o]===void 0&&(this[o]=(s=(i=this.renderRoot)===null||i===void 0?void 0:i.querySelector(e))!==null&&s!==void 0?s:null),this[o]}}return r}})}/**
|
|
40
|
+
* @license
|
|
41
|
+
* Copyright 2021 Google LLC
|
|
42
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
43
|
+
*/var io;((io=window.HTMLSlotElement)===null||io===void 0?void 0:io.prototype.assignedElements)!=null;/**
|
|
44
|
+
* @license
|
|
45
|
+
* Copyright 2018 Google LLC
|
|
46
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
+
*/const te=e=>e!=null?e:Q;function uu(e){return e===void 0?null:e}function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error(typeof e=="number"?"[MobX] minified error nr: "+e+(n.length?" "+n.map(String).join(","):"")+". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts":"[MobX] "+e)}var du={};function Go(){return typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:du}var pu=Object.assign,rr=Object.getOwnPropertyDescriptor,Ue=Object.defineProperty,An=Object.prototype,fo=[];Object.freeze(fo);var La={};Object.freeze(La);var hu=typeof Proxy!="undefined",fu=Object.toString();function Ma(){hu||D("Proxy not available")}function Ra(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var Lt=function(){};function xe(e){return typeof e=="function"}function wt(e){var t=typeof e;switch(t){case"string":case"symbol":case"number":return!0}return!1}function Dr(e){return e!==null&&typeof e=="object"}function Ye(e){if(!Dr(e))return!1;var t=Object.getPrototypeOf(e);if(t==null)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n.toString()===fu}function Na(e){var t=e==null?void 0:e.constructor;return t?t.name==="GeneratorFunction"||t.displayName==="GeneratorFunction":!1}function Lr(e,t,n){Ue(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function ja(e,t,n){Ue(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function it(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(r){return Dr(r)&&r[n]===!0}}function Jt(e){return e instanceof Map}function On(e){return e instanceof Set}var Ba=typeof Object.getOwnPropertySymbols!="undefined";function vu(e){var t=Object.keys(e);if(!Ba)return t;var n=Object.getOwnPropertySymbols(e);return n.length?[].concat(t,n.filter(function(r){return An.propertyIsEnumerable.call(e,r)})):t}var Mr=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Ba?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function Va(e){return e===null?null:typeof e=="object"?""+e:e}function He(e,t){return An.hasOwnProperty.call(e,t)}var bu=Object.getOwnPropertyDescriptors||function(t){var n={};return Mr(t).forEach(function(r){n[r]=rr(t,r)}),n};function Vi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ko(e,t,n){return t&&Vi(e.prototype,t),n&&Vi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ut(){return Ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ut.apply(this,arguments)}function Ua(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,vo(e,t)}function vo(e,t){return vo=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},vo(e,t)}function so(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gu(e,t){if(e){if(typeof e=="string")return Ui(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ui(e,t)}}function Ui(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mt(e,t){var n=typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=gu(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
48
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ke=Symbol("mobx-stored-annotations");function Ie(e){function t(n,r){Pn(n,r,e)}return Object.assign(t,e)}function Pn(e,t,n){He(e,ke)||Lr(e,ke,Ut({},e[ke])),Au(n)||(e[ke][t]=n)}function mu(e){return He(e,ke)||Lr(e,ke,Ut({},e[ke])),e[ke]}var A=Symbol("mobx administration"),En=function(){function e(n){n===void 0&&(n="Atom"),this.name_=void 0,this.isPendingUnobservation_=!1,this.isBeingObserved_=!1,this.observers_=new Set,this.diffValue_=0,this.lastAccessedBy_=0,this.lowestObserverState_=j.NOT_TRACKING_,this.onBOL=void 0,this.onBUOL=void 0,this.name_=n}var t=e.prototype;return t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(r){return r()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(r){return r()})},t.reportObserved=function(){return ll(this)},t.reportChanged=function(){pe(),cl(this),he()},t.toString=function(){return this.name_},e}(),qo=it("Atom",En);function Ha(e,t,n){t===void 0&&(t=Lt),n===void 0&&(n=Lt);var r=new En(e);return t!==Lt&&Ad(r,t),n!==Lt&&gl(r,n),r}function _u(e,t){return e===t}function yu(e,t){return ei(e,t)}function wu(e,t){return ei(e,t,1)}function $u(e,t){return Object.is?Object.is(e,t):e===t?e!==0||1/e===1/t:e!==e&&t!==t}var or={identity:_u,structural:yu,default:$u,shallow:wu};function Ht(e,t,n){return Xo(e)?e:Array.isArray(e)?R.array(e,{name:n}):Ye(e)?R.object(e,void 0,{name:n}):Jt(e)?R.map(e,{name:n}):On(e)?R.set(e,{name:n}):typeof e=="function"&&!Jo(e)&&!cr(e)?Na(e)?vn(e):fn(n,e):e}function Cu(e,t,n){if(e==null||zt(e)||Rn(e)||at(e)||Ot(e))return e;if(Array.isArray(e))return R.array(e,{name:n,deep:!1});if(Ye(e))return R.object(e,void 0,{name:n,deep:!1});if(Jt(e))return R.map(e,{name:n,deep:!1});if(On(e))return R.set(e,{name:n,deep:!1})}function Rr(e){return e}function Su(e,t){return ei(e,t)?t:e}var xu="override";function Au(e){return e.annotationType_===xu}function kn(e,t){return{annotationType_:e,options_:t,make_:Ou,extend_:Pu}}function Ou(e,t,n,r){var o;if((o=this.options_)!=null&&o.bound)return this.extend_(e,t,n,!1)===null?0:1;if(r===e.target_)return this.extend_(e,t,n,!1)===null?0:2;if(Jo(n.value))return 1;var i=Fa(e,this,t,n,!1);return Ue(r,t,i),2}function Pu(e,t,n,r){var o=Fa(e,this,t,n);return e.defineProperty_(t,o,r)}function Eu(e,t,n,r){t.annotationType_,r.value}function Fa(e,t,n,r,o){var i,s,a,l,c,d,p;o===void 0&&(o=y.safeDescriptors),Eu(e,t,n,r);var h=r.value;if((i=t.options_)!=null&&i.bound){var v;h=h.bind((v=e.proxy_)!=null?v:e.target_)}return{value:Ft((s=(a=t.options_)==null?void 0:a.name)!=null?s:n.toString(),h,(l=(c=t.options_)==null?void 0:c.autoAction)!=null?l:!1,(d=t.options_)!=null&&d.bound?(p=e.proxy_)!=null?p:e.target_:void 0),configurable:o?e.isPlainObject_:!0,enumerable:!1,writable:!o}}function za(e,t){return{annotationType_:e,options_:t,make_:ku,extend_:Tu}}function ku(e,t,n,r){var o;if(r===e.target_)return this.extend_(e,t,n,!1)===null?0:2;if((o=this.options_)!=null&&o.bound&&(!He(e.target_,t)||!cr(e.target_[t]))&&this.extend_(e,t,n,!1)===null)return 0;if(cr(n.value))return 1;var i=Ga(e,this,t,n,!1,!1);return Ue(r,t,i),2}function Tu(e,t,n,r){var o,i=Ga(e,this,t,n,(o=this.options_)==null?void 0:o.bound);return e.defineProperty_(t,i,r)}function Iu(e,t,n,r){t.annotationType_,r.value}function Ga(e,t,n,r,o,i){i===void 0&&(i=y.safeDescriptors),Iu(e,t,n,r);var s=r.value;if(cr(s)||(s=vn(s)),o){var a;s=s.bind((a=e.proxy_)!=null?a:e.target_),s.isMobXFlow=!0}return{value:s,configurable:i?e.isPlainObject_:!0,enumerable:!1,writable:!i}}function Wo(e,t){return{annotationType_:e,options_:t,make_:Du,extend_:Lu}}function Du(e,t,n){return this.extend_(e,t,n,!1)===null?0:1}function Lu(e,t,n,r){return Mu(e,this,t,n),e.defineComputedProperty_(t,Ut({},this.options_,{get:n.get,set:n.set}),r)}function Mu(e,t,n,r){t.annotationType_,r.get}function Nr(e,t){return{annotationType_:e,options_:t,make_:Ru,extend_:Nu}}function Ru(e,t,n){return this.extend_(e,t,n,!1)===null?0:1}function Nu(e,t,n,r){var o,i;return ju(e,this),e.defineObservableProperty_(t,n.value,(o=(i=this.options_)==null?void 0:i.enhancer)!=null?o:Ht,r)}function ju(e,t,n,r){t.annotationType_}var Bu="true",Vu=Ka();function Ka(e){return{annotationType_:Bu,options_:e,make_:Uu,extend_:Hu}}function Uu(e,t,n,r){var o,i;if(n.get)return N.make_(e,t,n,r);if(n.set){var s=Ft(t.toString(),n.set);return r===e.target_?e.defineProperty_(t,{configurable:y.safeDescriptors?e.isPlainObject_:!0,set:s})===null?0:2:(Ue(r,t,{configurable:!0,set:s}),2)}if(r!==e.target_&&typeof n.value=="function"){var a;if(Na(n.value)){var l,c=(l=this.options_)!=null&&l.autoBind?vn.bound:vn;return c.make_(e,t,n,r)}var d=(a=this.options_)!=null&&a.autoBind?fn.bound:fn;return d.make_(e,t,n,r)}var p=((o=this.options_)==null?void 0:o.deep)===!1?R.ref:R;if(typeof n.value=="function"&&(i=this.options_)!=null&&i.autoBind){var h;n.value=n.value.bind((h=e.proxy_)!=null?h:e.target_)}return p.make_(e,t,n,r)}function Hu(e,t,n,r){var o,i;if(n.get)return N.extend_(e,t,n,r);if(n.set)return e.defineProperty_(t,{configurable:y.safeDescriptors?e.isPlainObject_:!0,set:Ft(t.toString(),n.set)},r);if(typeof n.value=="function"&&(o=this.options_)!=null&&o.autoBind){var s;n.value=n.value.bind((s=e.proxy_)!=null?s:e.target_)}var a=((i=this.options_)==null?void 0:i.deep)===!1?R.ref:R;return a.extend_(e,t,n,r)}var Fu="observable",zu="observable.ref",Gu="observable.shallow",Ku="observable.struct",qa={deep:!0,name:void 0,defaultDecorator:void 0,proxy:!0};Object.freeze(qa);function Fn(e){return e||qa}var Wa=Nr(Fu),qu=Nr(zu,{enhancer:Rr}),Wu=Nr(Gu,{enhancer:Cu}),Zu=Nr(Ku,{enhancer:Su}),Za=Ie(Wa);function zn(e){return e.deep===!0?Ht:e.deep===!1?Rr:Xu(e.defaultDecorator)}function Ju(e){var t;return e?(t=e.defaultDecorator)!=null?t:Ka(e):void 0}function Xu(e){var t,n;return e&&(t=(n=e.options_)==null?void 0:n.enhancer)!=null?t:Ht}function Ja(e,t,n){if(wt(t)){Pn(e,t,Wa);return}return Xo(e)?e:Ye(e)?R.object(e,t,n):Array.isArray(e)?R.array(e,t):Jt(e)?R.map(e,t):On(e)?R.set(e,t):typeof e=="object"&&e!==null?e:R.box(e,t)}Object.assign(Ja,Za);var Qu={box:function(t,n){var r=Fn(n);return new bt(t,zn(r),r.name,!0,r.equals)},array:function(t,n){var r=Fn(n);return(y.useProxies===!1||r.proxy===!1?Xd:Hd)(t,zn(r),r.name)},map:function(t,n){var r=Fn(n);return new Cl(t,zn(r),r.name)},set:function(t,n){var r=Fn(n);return new Al(t,zn(r),r.name)},object:function(t,n,r){return kd(y.useProxies===!1||(r==null?void 0:r.proxy)===!1?Br({},r):Bd({},r),t,n)},ref:Ie(qu),shallow:Ie(Wu),deep:Za,struct:Ie(Zu)},R=pu(Ja,Qu),Xa="computed",Yu="computed.struct",Qa=Wo(Xa),ed=Wo(Yu,{equals:or.structural}),N=function(t,n){if(wt(n))return Pn(t,n,Qa);if(Ye(t))return Ie(Wo(Xa,t));var r=Ye(n)?n:{};return r.get=t,r.name||(r.name=t.name||""),new hn(r)};Object.assign(N,Qa);N.struct=Ie(ed);var Hi,Fi,ir=0,td=1,nd=(Hi=(Fi=rr(function(){},"name"))==null?void 0:Fi.configurable)!=null?Hi:!1,zi={value:"action",configurable:!0,writable:!1,enumerable:!1};function Ft(e,t,n,r){n===void 0&&(n=!1);function o(){return Ya(e,n,t,r||this,arguments)}return o.isMobxAction=!0,nd&&(zi.value=e,Object.defineProperty(o,"name",zi)),o}function Ya(e,t,n,r,o){var i=rd(e,t);try{return n.apply(r,o)}catch(s){throw i.error_=s,s}finally{od(i)}}function rd(e,t,n,r){var o=!1,i=0,s=y.trackingDerivation,a=!t||!s;pe();var l=y.allowStateChanges;a&&(Xt(),l=Tn(!0));var c=Zo(!0),d={runAsAction_:a,prevDerivation_:s,prevAllowStateChanges_:l,prevAllowStateReads_:c,notifySpy_:o,startTime_:i,actionId_:td++,parentActionId_:ir};return ir=d.actionId_,d}function od(e){ir!==e.actionId_&&D(30),ir=e.parentActionId_,e.error_!==void 0&&(y.suppressReactionErrors=!0),In(e.prevAllowStateChanges_),cn(e.prevAllowStateReads_),he(),e.runAsAction_&&Qe(e.prevDerivation_),y.suppressReactionErrors=!1}function id(e,t){var n=Tn(e);try{return t()}finally{In(n)}}function Tn(e){var t=y.allowStateChanges;return y.allowStateChanges=e,t}function In(e){y.allowStateChanges=e}var el;el=Symbol.toPrimitive;var bt=function(e){Ua(t,e);function t(r,o,i,s,a){var l;return i===void 0&&(i="ObservableValue"),a===void 0&&(a=or.default),l=e.call(this,i)||this,l.enhancer=void 0,l.name_=void 0,l.equals=void 0,l.hasUnreportedChange_=!1,l.interceptors_=void 0,l.changeListeners_=void 0,l.value_=void 0,l.dehancer=void 0,l.enhancer=o,l.name_=i,l.equals=a,l.value_=o(r,void 0,i),l}var n=t.prototype;return n.dehanceValue=function(o){return this.dehancer!==void 0?this.dehancer(o):o},n.set=function(o){this.value_,o=this.prepareNewValue_(o),o!==y.UNCHANGED&&this.setNewValue_(o)},n.prepareNewValue_=function(o){if(ge(this)){var i=me(this,{object:this,type:De,newValue:o});if(!i)return y.UNCHANGED;o=i.newValue}return o=this.enhancer(o,this.value_,this.name_),this.equals(this.value_,o)?y.UNCHANGED:o},n.setNewValue_=function(o){var i=this.value_;this.value_=o,this.reportChanged(),$e(this)&&Ce(this,{type:De,object:this,newValue:o,oldValue:i})},n.get=function(){return this.reportObserved(),this.dehanceValue(this.value_)},n.intercept_=function(o){return Ln(this,o)},n.observe_=function(o,i){return i&&o({observableKind:"value",debugObjectName:this.name_,object:this,type:De,newValue:this.value_,oldValue:void 0}),Mn(this,o)},n.raw=function(){return this.value_},n.toJSON=function(){return this.get()},n.toString=function(){return this.name_+"["+this.value_+"]"},n.valueOf=function(){return Va(this.get())},n[el]=function(){return this.valueOf()},t}(En),sd=it("ObservableValue",bt),tl;tl=Symbol.toPrimitive;var hn=function(){function e(n){this.dependenciesState_=j.NOT_TRACKING_,this.observing_=[],this.newObserving_=null,this.isBeingObserved_=!1,this.isPendingUnobservation_=!1,this.observers_=new Set,this.diffValue_=0,this.runId_=0,this.lastAccessedBy_=0,this.lowestObserverState_=j.UP_TO_DATE_,this.unboundDepsCount_=0,this.value_=new sr(null),this.name_=void 0,this.triggeredBy_=void 0,this.isComputing_=!1,this.isRunningSetter_=!1,this.derivation=void 0,this.setter_=void 0,this.isTracing_=gt.NONE,this.scope_=void 0,this.equals_=void 0,this.requiresReaction_=void 0,this.keepAlive_=void 0,this.onBOL=void 0,this.onBUOL=void 0,n.get||D(31),this.derivation=n.get,this.name_=n.name||"ComputedValue",n.set&&(this.setter_=Ft("ComputedValue-setter",n.set)),this.equals_=n.equals||(n.compareStructural||n.struct?or.structural:or.default),this.scope_=n.context,this.requiresReaction_=n.requiresReaction,this.keepAlive_=!!n.keepAlive}var t=e.prototype;return t.onBecomeStale_=function(){dd(this)},t.onBO=function(){this.onBOL&&this.onBOL.forEach(function(r){return r()})},t.onBUO=function(){this.onBUOL&&this.onBUOL.forEach(function(r){return r()})},t.get=function(){if(this.isComputing_&&D(32,this.name_,this.derivation),y.inBatch===0&&this.observers_.size===0&&!this.keepAlive_)bo(this)&&(this.warnAboutUntrackedRead_(),pe(),this.value_=this.computeValue_(!1),he());else if(ll(this),bo(this)){var r=y.trackingContext;this.keepAlive_&&!r&&(y.trackingContext=this),this.trackAndCompute()&&ud(this),y.trackingContext=r}var o=this.value_;if(Jn(o))throw o.cause;return o},t.set=function(r){if(this.setter_){this.isRunningSetter_&&D(33,this.name_),this.isRunningSetter_=!0;try{this.setter_.call(this.scope_,r)}finally{this.isRunningSetter_=!1}}else D(34,this.name_)},t.trackAndCompute=function(){var r=this.value_,o=this.dependenciesState_===j.NOT_TRACKING_,i=this.computeValue_(!0),s=o||Jn(r)||Jn(i)||!this.equals_(r,i);return s&&(this.value_=i),s},t.computeValue_=function(r){this.isComputing_=!0;var o=Tn(!1),i;if(r)i=nl(this,this.derivation,this.scope_);else if(y.disableErrorBoundaries===!0)i=this.derivation.call(this.scope_);else try{i=this.derivation.call(this.scope_)}catch(s){i=new sr(s)}return In(o),this.isComputing_=!1,i},t.suspend_=function(){this.keepAlive_||(go(this),this.value_=void 0)},t.observe_=function(r,o){var i=this,s=!0,a=void 0;return wd(function(){var l=i.get();if(!s||o){var c=Xt();r({observableKind:"computed",debugObjectName:i.name_,type:De,object:i,newValue:l,oldValue:a}),Qe(c)}s=!1,a=l})},t.warnAboutUntrackedRead_=function(){},t.toString=function(){return this.name_+"["+this.derivation.toString()+"]"},t.valueOf=function(){return Va(this.get())},t[tl]=function(){return this.valueOf()},e}(),Dn=it("ComputedValue",hn),j;(function(e){e[e.NOT_TRACKING_=-1]="NOT_TRACKING_",e[e.UP_TO_DATE_=0]="UP_TO_DATE_",e[e.POSSIBLY_STALE_=1]="POSSIBLY_STALE_",e[e.STALE_=2]="STALE_"})(j||(j={}));var gt;(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"})(gt||(gt={}));var sr=function(t){this.cause=void 0,this.cause=t};function Jn(e){return e instanceof sr}function bo(e){switch(e.dependenciesState_){case j.UP_TO_DATE_:return!1;case j.NOT_TRACKING_:case j.STALE_:return!0;case j.POSSIBLY_STALE_:{for(var t=Zo(!0),n=Xt(),r=e.observing_,o=r.length,i=0;i<o;i++){var s=r[i];if(Dn(s)){if(y.disableErrorBoundaries)s.get();else try{s.get()}catch{return Qe(n),cn(t),!0}if(e.dependenciesState_===j.STALE_)return Qe(n),cn(t),!0}}return ol(e),Qe(n),cn(t),!1}}}function nl(e,t,n){var r=Zo(!0);ol(e),e.newObserving_=new Array(e.observing_.length+100),e.unboundDepsCount_=0,e.runId_=++y.runId;var o=y.trackingDerivation;y.trackingDerivation=e,y.inBatch++;var i;if(y.disableErrorBoundaries===!0)i=t.call(n);else try{i=t.call(n)}catch(s){i=new sr(s)}return y.inBatch--,y.trackingDerivation=o,ad(e),cn(r),i}function ad(e){for(var t=e.observing_,n=e.observing_=e.newObserving_,r=j.UP_TO_DATE_,o=0,i=e.unboundDepsCount_,s=0;s<i;s++){var a=n[s];a.diffValue_===0&&(a.diffValue_=1,o!==s&&(n[o]=a),o++),a.dependenciesState_>r&&(r=a.dependenciesState_)}for(n.length=o,e.newObserving_=null,i=t.length;i--;){var l=t[i];l.diffValue_===0&&sl(l,e),l.diffValue_=0}for(;o--;){var c=n[o];c.diffValue_===1&&(c.diffValue_=0,cd(c,e))}r!==j.UP_TO_DATE_&&(e.dependenciesState_=r,e.onBecomeStale_())}function go(e){var t=e.observing_;e.observing_=[];for(var n=t.length;n--;)sl(t[n],e);e.dependenciesState_=j.NOT_TRACKING_}function rl(e){var t=Xt();try{return e()}finally{Qe(t)}}function Xt(){var e=y.trackingDerivation;return y.trackingDerivation=null,e}function Qe(e){y.trackingDerivation=e}function Zo(e){var t=y.allowStateReads;return y.allowStateReads=e,t}function cn(e){y.allowStateReads=e}function ol(e){if(e.dependenciesState_!==j.UP_TO_DATE_){e.dependenciesState_=j.UP_TO_DATE_;for(var t=e.observing_,n=t.length;n--;)t[n].lowestObserverState_=j.UP_TO_DATE_}}var Xn=function(){this.version=6,this.UNCHANGED={},this.trackingDerivation=null,this.trackingContext=null,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!1,this.allowStateReads=!0,this.enforceActions=!0,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1,this.useProxies=!0,this.verifyProxies=!1,this.safeDescriptors=!0},Qn=!0,il=!1,y=function(){var e=Go();return e.__mobxInstanceCount>0&&!e.__mobxGlobals&&(Qn=!1),e.__mobxGlobals&&e.__mobxGlobals.version!==new Xn().version&&(Qn=!1),Qn?e.__mobxGlobals?(e.__mobxInstanceCount+=1,e.__mobxGlobals.UNCHANGED||(e.__mobxGlobals.UNCHANGED={}),e.__mobxGlobals):(e.__mobxInstanceCount=1,e.__mobxGlobals=new Xn):(setTimeout(function(){il||D(35)},1),new Xn)}();function ld(){if((y.pendingReactions.length||y.inBatch||y.isRunningReactions)&&D(36),il=!0,Qn){var e=Go();--e.__mobxInstanceCount===0&&(e.__mobxGlobals=void 0),y=new Xn}}function cd(e,t){e.observers_.add(t),e.lowestObserverState_>t.dependenciesState_&&(e.lowestObserverState_=t.dependenciesState_)}function sl(e,t){e.observers_.delete(t),e.observers_.size===0&&al(e)}function al(e){e.isPendingUnobservation_===!1&&(e.isPendingUnobservation_=!0,y.pendingUnobservations.push(e))}function pe(){y.inBatch++}function he(){if(--y.inBatch===0){ul();for(var e=y.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation_=!1,n.observers_.size===0&&(n.isBeingObserved_&&(n.isBeingObserved_=!1,n.onBUO()),n instanceof hn&&n.suspend_())}y.pendingUnobservations=[]}}function ll(e){var t=y.trackingDerivation;return t!==null?(t.runId_!==e.lastAccessedBy_&&(e.lastAccessedBy_=t.runId_,t.newObserving_[t.unboundDepsCount_++]=e,!e.isBeingObserved_&&y.trackingContext&&(e.isBeingObserved_=!0,e.onBO())),e.isBeingObserved_):(e.observers_.size===0&&y.inBatch>0&&al(e),!1)}function cl(e){e.lowestObserverState_!==j.STALE_&&(e.lowestObserverState_=j.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===j.UP_TO_DATE_&&t.onBecomeStale_(),t.dependenciesState_=j.STALE_}))}function ud(e){e.lowestObserverState_!==j.STALE_&&(e.lowestObserverState_=j.STALE_,e.observers_.forEach(function(t){t.dependenciesState_===j.POSSIBLY_STALE_?t.dependenciesState_=j.STALE_:t.dependenciesState_===j.UP_TO_DATE_&&(e.lowestObserverState_=j.UP_TO_DATE_)}))}function dd(e){e.lowestObserverState_===j.UP_TO_DATE_&&(e.lowestObserverState_=j.POSSIBLY_STALE_,e.observers_.forEach(function(t){t.dependenciesState_===j.UP_TO_DATE_&&(t.dependenciesState_=j.POSSIBLY_STALE_,t.onBecomeStale_())}))}var ar=function(){function e(n,r,o,i){n===void 0&&(n="Reaction"),this.name_=void 0,this.onInvalidate_=void 0,this.errorHandler_=void 0,this.requiresObservable_=void 0,this.observing_=[],this.newObserving_=[],this.dependenciesState_=j.NOT_TRACKING_,this.diffValue_=0,this.runId_=0,this.unboundDepsCount_=0,this.isDisposed_=!1,this.isScheduled_=!1,this.isTrackPending_=!1,this.isRunning_=!1,this.isTracing_=gt.NONE,this.name_=n,this.onInvalidate_=r,this.errorHandler_=o,this.requiresObservable_=i}var t=e.prototype;return t.onBecomeStale_=function(){this.schedule_()},t.schedule_=function(){this.isScheduled_||(this.isScheduled_=!0,y.pendingReactions.push(this),ul())},t.isScheduled=function(){return this.isScheduled_},t.runReaction_=function(){if(!this.isDisposed_){pe(),this.isScheduled_=!1;var r=y.trackingContext;if(y.trackingContext=this,bo(this)){this.isTrackPending_=!0;try{this.onInvalidate_()}catch(o){this.reportExceptionInDerivation_(o)}}y.trackingContext=r,he()}},t.track=function(r){if(!this.isDisposed_){pe(),this.isRunning_=!0;var o=y.trackingContext;y.trackingContext=this;var i=nl(this,r,void 0);y.trackingContext=o,this.isRunning_=!1,this.isTrackPending_=!1,this.isDisposed_&&go(this),Jn(i)&&this.reportExceptionInDerivation_(i.cause),he()}},t.reportExceptionInDerivation_=function(r){var o=this;if(this.errorHandler_){this.errorHandler_(r,this);return}if(y.disableErrorBoundaries)throw r;var i="[mobx] uncaught error in '"+this+"'";y.suppressReactionErrors||console.error(i,r),y.globalReactionErrorHandlers.forEach(function(s){return s(r,o)})},t.dispose=function(){this.isDisposed_||(this.isDisposed_=!0,this.isRunning_||(pe(),go(this),he()))},t.getDisposer_=function(){var r=this.dispose.bind(this);return r[A]=this,r},t.toString=function(){return"Reaction["+this.name_+"]"},t.trace=function(r){r===void 0&&(r=!1),Rd(this,r)},e}(),pd=100,mo=function(t){return t()};function ul(){y.inBatch>0||y.isRunningReactions||mo(hd)}function hd(){y.isRunningReactions=!0;for(var e=y.pendingReactions,t=0;e.length>0;){++t===pd&&(console.error("[mobx] cycle in reaction: "+e[0]),e.splice(0));for(var n=e.splice(0),r=0,o=n.length;r<o;r++)n[r].runReaction_()}y.isRunningReactions=!1}var lr=it("Reaction",ar);function fd(e){var t=mo;mo=function(r){return e(function(){return t(r)})}}function un(){return!1}function vd(e){return console.warn("[mobx.spy] Is a no-op in production builds"),function(){}}var dl="action",bd="action.bound",pl="autoAction",gd="autoAction.bound",hl="<unnamed action>",fl=kn(dl),md=kn(bd,{bound:!0}),vl=kn(pl,{autoAction:!0}),_d=kn(gd,{autoAction:!0,bound:!0});function bl(e){var t=function(r,o){if(xe(r))return Ft(r.name||hl,r,e);if(xe(o))return Ft(r,o,e);if(wt(o))return Pn(r,o,e?vl:fl);if(wt(r))return Ie(kn(e?pl:dl,{name:r,autoAction:e}))};return t}var H=bl(!1);Object.assign(H,fl);var fn=bl(!0);Object.assign(fn,vl);H.bound=Ie(md);fn.bound=Ie(_d);function yd(e){return Ya(e.name||hl,!1,e,this,void 0)}function Jo(e){return xe(e)&&e.isMobxAction===!0}function wd(e,t){var n,r;t===void 0&&(t=La);var o=(n=(r=t)==null?void 0:r.name)!=null?n:"Autorun",i=!t.scheduler&&!t.delay,s;if(i)s=new ar(o,function(){this.track(c)},t.onError,t.requiresObservable);else{var a=Cd(t),l=!1;s=new ar(o,function(){l||(l=!0,a(function(){l=!1,s.isDisposed_||s.track(c)}))},t.onError,t.requiresObservable)}function c(){e(s)}return s.schedule_(),s.getDisposer_()}var $d=function(t){return t()};function Cd(e){return e.scheduler?e.scheduler:e.delay?function(t){return setTimeout(t,e.delay)}:$d}var Sd="onBO",xd="onBUO";function Ad(e,t,n){return ml(Sd,e,t,n)}function gl(e,t,n){return ml(xd,e,t,n)}function ml(e,t,n,r){var o=typeof r=="function"?$t(t,n):$t(t),i=xe(r)?r:n,s=e+"L";return o[s]?o[s].add(i):o[s]=new Set([i]),function(){var a=o[s];a&&(a.delete(i),a.size===0&&delete o[s])}}var Od="never",Gn="always",Pd="observed";function Ed(e){e.isolateGlobalState===!0&&ld();var t=e.useProxies,n=e.enforceActions;if(t!==void 0&&(y.useProxies=t===Gn?!0:t===Od?!1:typeof Proxy!="undefined"),t==="ifavailable"&&(y.verifyProxies=!0),n!==void 0){var r=n===Gn?Gn:n===Pd;y.enforceActions=r,y.allowStateChanges=!(r===!0||r===Gn)}["computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","disableErrorBoundaries","safeDescriptors"].forEach(function(o){o in e&&(y[o]=!!e[o])}),y.allowStateReads=!y.observableRequiresReaction,e.reactionScheduler&&fd(e.reactionScheduler)}function kd(e,t,n,r){var o=bu(t),i=Br(e,r)[A];pe();try{Mr(o).forEach(function(s){i.extend_(s,o[s],n&&s in n?n[s]:!0)})}finally{he()}return e}var Td=0;function _l(){this.message="FLOW_CANCELLED"}_l.prototype=Object.create(Error.prototype);var Gi=za("flow"),Id=za("flow.bound",{bound:!0}),vn=Object.assign(function(t,n){if(wt(n))return Pn(t,n,Gi);var r=t,o=r.name||"<unnamed flow>",i=function(){var a=this,l=arguments,c=++Td,d=H(o+" - runid: "+c+" - init",r).apply(a,l),p,h=void 0,v=new Promise(function(m,g){var _=0;p=g;function S(V){h=void 0;var L;try{L=H(o+" - runid: "+c+" - yield "+_++,d.next).call(d,V)}catch(z){return g(z)}B(L)}function O(V){h=void 0;var L;try{L=H(o+" - runid: "+c+" - yield "+_++,d.throw).call(d,V)}catch(z){return g(z)}B(L)}function B(V){if(xe(V==null?void 0:V.then)){V.then(B,g);return}return V.done?m(V.value):(h=Promise.resolve(V.value),h.then(S,O))}S(void 0)});return v.cancel=H(o+" - runid: "+c+" - cancel",function(){try{h&&Ki(h);var m=d.return(void 0),g=Promise.resolve(m.value);g.then(Lt,Lt),Ki(g),p(new _l)}catch(_){p(_)}}),v};return i.isMobXFlow=!0,i},Gi);vn.bound=Ie(Id);function Ki(e){xe(e.cancel)&&e.cancel()}function cr(e){return(e==null?void 0:e.isMobXFlow)===!0}function Dd(e,t){return e?t!==void 0?zt(e)?e[A].values_.has(t):!1:zt(e)||!!e[A]||qo(e)||lr(e)||Dn(e):!1}function Xo(e){return Dd(e)}function Ld(e){if(zt(e))return e[A].ownKeys_();D(38)}function Kn(e,t,n){return e.set(t,n),n}function Dt(e,t){if(e==null||typeof e!="object"||e instanceof Date||!Xo(e))return e;if(sd(e)||Dn(e))return Dt(e.get(),t);if(t.has(e))return t.get(e);if(Rn(e)){var n=Kn(t,e,new Array(e.length));return e.forEach(function(s,a){n[a]=Dt(s,t)}),n}if(Ot(e)){var r=Kn(t,e,new Set);return e.forEach(function(s){r.add(Dt(s,t))}),r}if(at(e)){var o=Kn(t,e,new Map);return e.forEach(function(s,a){o.set(a,Dt(s,t))}),o}else{var i=Kn(t,e,{});return Ld(e).forEach(function(s){An.propertyIsEnumerable.call(e,s)&&(i[s]=Dt(e[s],t))}),i}}function Md(e,t){return Dt(e,new Map)}function Rd(){D("trace() is not available in production builds");for(var e=!1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];typeof n[n.length-1]=="boolean"&&(e=n.pop());var o=Nd(n);if(!o)return D("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");o.isTracing_===gt.NONE&&console.log("[mobx.trace] '"+o.name_+"' tracing enabled"),o.isTracing_=e?gt.BREAK:gt.LOG}function Nd(e){switch(e.length){case 0:return y.trackingDerivation;case 1:return $t(e[0]);case 2:return $t(e[0],e[1])}}function Ve(e,t){t===void 0&&(t=void 0),pe();try{return e.apply(t)}finally{he()}}function kt(e){return e[A]}var jd={has:function(t,n){return kt(t).has_(n)},get:function(t,n){return kt(t).get_(n)},set:function(t,n,r){var o;return wt(n)?(o=kt(t).set_(n,r,!0))!=null?o:!0:!1},deleteProperty:function(t,n){var r;return wt(n)?(r=kt(t).delete_(n,!0))!=null?r:!0:!1},defineProperty:function(t,n,r){var o;return(o=kt(t).defineProperty_(n,r))!=null?o:!0},ownKeys:function(t){return kt(t).ownKeys_()},preventExtensions:function(t){D(13)}};function Bd(e,t){var n,r;return Ma(),e=Br(e,t),(r=(n=e[A]).proxy_)!=null?r:n.proxy_=new Proxy(e,jd)}function ge(e){return e.interceptors_!==void 0&&e.interceptors_.length>0}function Ln(e,t){var n=e.interceptors_||(e.interceptors_=[]);return n.push(t),Ra(function(){var r=n.indexOf(t);r!==-1&&n.splice(r,1)})}function me(e,t){var n=Xt();try{for(var r=[].concat(e.interceptors_||[]),o=0,i=r.length;o<i&&(t=r[o](t),t&&!t.type&&D(14),!!t);o++);return t}finally{Qe(n)}}function $e(e){return e.changeListeners_!==void 0&&e.changeListeners_.length>0}function Mn(e,t){var n=e.changeListeners_||(e.changeListeners_=[]);return n.push(t),Ra(function(){var r=n.indexOf(t);r!==-1&&n.splice(r,1)})}function Ce(e,t){var n=Xt(),r=e.changeListeners_;if(r){r=r.slice();for(var o=0,i=r.length;o<i;o++)r[o](t);Qe(n)}}function jr(e,t,n){var r=Br(e,n)[A];pe();try{var o;(o=t)!=null||(t=mu(e)),Mr(t).forEach(function(i){return r.make_(i,t[i])})}finally{he()}return e}var qi="splice",De="update",Vd=1e4,Ud={get:function(t,n){var r=t[A];return n===A?r:n==="length"?r.getArrayLength_():typeof n=="string"&&!isNaN(n)?r.get_(parseInt(n)):He(ur,n)?ur[n]:t[n]},set:function(t,n,r){var o=t[A];return n==="length"&&o.setArrayLength_(r),typeof n=="symbol"||isNaN(n)?t[n]=r:o.set_(parseInt(n),r),!0},preventExtensions:function(){D(15)}},Qo=function(){function e(n,r,o,i){n===void 0&&(n="ObservableArray"),this.owned_=void 0,this.legacyMode_=void 0,this.atom_=void 0,this.values_=[],this.interceptors_=void 0,this.changeListeners_=void 0,this.enhancer_=void 0,this.dehancer=void 0,this.proxy_=void 0,this.lastKnownLength_=0,this.owned_=o,this.legacyMode_=i,this.atom_=new En(n),this.enhancer_=function(s,a){return r(s,a,"ObservableArray[..]")}}var t=e.prototype;return t.dehanceValue_=function(r){return this.dehancer!==void 0?this.dehancer(r):r},t.dehanceValues_=function(r){return this.dehancer!==void 0&&r.length>0?r.map(this.dehancer):r},t.intercept_=function(r){return Ln(this,r)},t.observe_=function(r,o){return o===void 0&&(o=!1),o&&r({observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:"splice",index:0,added:this.values_.slice(),addedCount:this.values_.length,removed:[],removedCount:0}),Mn(this,r)},t.getArrayLength_=function(){return this.atom_.reportObserved(),this.values_.length},t.setArrayLength_=function(r){(typeof r!="number"||isNaN(r)||r<0)&&D("Out of range: "+r);var o=this.values_.length;if(r!==o)if(r>o){for(var i=new Array(r-o),s=0;s<r-o;s++)i[s]=void 0;this.spliceWithArray_(o,0,i)}else this.spliceWithArray_(r,o-r)},t.updateArrayLength_=function(r,o){r!==this.lastKnownLength_&&D(16),this.lastKnownLength_+=o,this.legacyMode_&&o>0&&kl(r+o+1)},t.spliceWithArray_=function(r,o,i){var s=this;this.atom_;var a=this.values_.length;if(r===void 0?r=0:r>a?r=a:r<0&&(r=Math.max(0,a+r)),arguments.length===1?o=a-r:o==null?o=0:o=Math.max(0,Math.min(o,a-r)),i===void 0&&(i=fo),ge(this)){var l=me(this,{object:this.proxy_,type:qi,index:r,removedCount:o,added:i});if(!l)return fo;o=l.removedCount,i=l.added}if(i=i.length===0?i:i.map(function(p){return s.enhancer_(p,void 0)}),this.legacyMode_){var c=i.length-o;this.updateArrayLength_(a,c)}var d=this.spliceItemsIntoValues_(r,o,i);return(o!==0||i.length!==0)&&this.notifyArraySplice_(r,i,d),this.dehanceValues_(d)},t.spliceItemsIntoValues_=function(r,o,i){if(i.length<Vd){var s;return(s=this.values_).splice.apply(s,[r,o].concat(i))}else{var a=this.values_.slice(r,r+o),l=this.values_.slice(r+o);this.values_.length+=i.length-o;for(var c=0;c<i.length;c++)this.values_[r+c]=i[c];for(var d=0;d<l.length;d++)this.values_[r+i.length+d]=l[d];return a}},t.notifyArrayChildUpdate_=function(r,o,i){var s=!this.owned_&&un(),a=$e(this),l=a||s?{observableKind:"array",object:this.proxy_,type:De,debugObjectName:this.atom_.name_,index:r,newValue:o,oldValue:i}:null;this.atom_.reportChanged(),a&&Ce(this,l)},t.notifyArraySplice_=function(r,o,i){var s=!this.owned_&&un(),a=$e(this),l=a||s?{observableKind:"array",object:this.proxy_,debugObjectName:this.atom_.name_,type:qi,index:r,removed:i,added:o,removedCount:i.length,addedCount:o.length}:null;this.atom_.reportChanged(),a&&Ce(this,l)},t.get_=function(r){if(this.legacyMode_&&r>=this.values_.length){console.warn("[mobx] Out of bounds read: "+r);return}return this.atom_.reportObserved(),this.dehanceValue_(this.values_[r])},t.set_=function(r,o){var i=this.values_;if(this.legacyMode_&&r>i.length&&D(17,r,i.length),r<i.length){this.atom_;var s=i[r];if(ge(this)){var a=me(this,{type:De,object:this.proxy_,index:r,newValue:o});if(!a)return;o=a.newValue}o=this.enhancer_(o,s);var l=o!==s;l&&(i[r]=o,this.notifyArrayChildUpdate_(r,o,s))}else{for(var c=new Array(r+1-i.length),d=0;d<c.length-1;d++)c[d]=void 0;c[c.length-1]=o,this.spliceWithArray_(i.length,0,c)}},e}();function Hd(e,t,n,r){n===void 0&&(n="ObservableArray"),r===void 0&&(r=!1),Ma();var o=new Qo(n,t,r,!1);ja(o.values_,A,o);var i=new Proxy(o.values_,Ud);if(o.proxy_=i,e&&e.length){var s=Tn(!0);o.spliceWithArray_(0,0,e),In(s)}return i}var ur={clear:function(){return this.splice(0)},replace:function(t){var n=this[A];return n.spliceWithArray_(0,n.values_.length,t)},toJSON:function(){return this.slice()},splice:function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var s=this[A];switch(arguments.length){case 0:return[];case 1:return s.spliceWithArray_(t);case 2:return s.spliceWithArray_(t,n)}return s.spliceWithArray_(t,n,o)},spliceWithArray:function(t,n,r){return this[A].spliceWithArray_(t,n,r)},push:function(){for(var t=this[A],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.spliceWithArray_(t.values_.length,0,r),t.values_.length},pop:function(){return this.splice(Math.max(this[A].values_.length-1,0),1)[0]},shift:function(){return this.splice(0,1)[0]},unshift:function(){for(var t=this[A],n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.spliceWithArray_(0,0,r),t.values_.length},reverse:function(){return y.trackingDerivation&&D(37,"reverse"),this.replace(this.slice().reverse()),this},sort:function(){y.trackingDerivation&&D(37,"sort");var t=this.slice();return t.sort.apply(t,arguments),this.replace(t),this},remove:function(t){var n=this[A],r=n.dehanceValues_(n.values_).indexOf(t);return r>-1?(this.splice(r,1),!0):!1}};re("concat",Ke);re("flat",Ke);re("includes",Ke);re("indexOf",Ke);re("join",Ke);re("lastIndexOf",Ke);re("slice",Ke);re("toString",Ke);re("toLocaleString",Ke);re("every",st);re("filter",st);re("find",st);re("findIndex",st);re("flatMap",st);re("forEach",st);re("map",st);re("some",st);re("reduce",yl);re("reduceRight",yl);function re(e,t){typeof Array.prototype[e]=="function"&&(ur[e]=t(e))}function Ke(e){return function(){var t=this[A];t.atom_.reportObserved();var n=t.dehanceValues_(t.values_);return n[e].apply(n,arguments)}}function st(e){return function(t,n){var r=this,o=this[A];o.atom_.reportObserved();var i=o.dehanceValues_(o.values_);return i[e](function(s,a){return t.call(n,s,a,r)})}}function yl(e){return function(){var t=this,n=this[A];n.atom_.reportObserved();var r=n.dehanceValues_(n.values_),o=arguments[0];return arguments[0]=function(i,s,a){return o(i,s,a,t)},r[e].apply(r,arguments)}}var Fd=it("ObservableArrayAdministration",Qo);function Rn(e){return Dr(e)&&Fd(e[A])}var wl,$l,zd={},Je="add",dr="delete";wl=Symbol.iterator;$l=Symbol.toStringTag;var Cl=function(){function e(n,r,o){var i=this;r===void 0&&(r=Ht),o===void 0&&(o="ObservableMap"),this.enhancer_=void 0,this.name_=void 0,this[A]=zd,this.data_=void 0,this.hasMap_=void 0,this.keysAtom_=void 0,this.interceptors_=void 0,this.changeListeners_=void 0,this.dehancer=void 0,this.enhancer_=r,this.name_=o,xe(Map)||D(18),this.keysAtom_=Ha("ObservableMap.keys()"),this.data_=new Map,this.hasMap_=new Map,id(!0,function(){i.merge(n)})}var t=e.prototype;return t.has_=function(r){return this.data_.has(r)},t.has=function(r){var o=this;if(!y.trackingDerivation)return this.has_(r);var i=this.hasMap_.get(r);if(!i){var s=i=new bt(this.has_(r),Rr,"ObservableMap.key?",!1);this.hasMap_.set(r,s),gl(s,function(){return o.hasMap_.delete(r)})}return i.get()},t.set=function(r,o){var i=this.has_(r);if(ge(this)){var s=me(this,{type:i?De:Je,object:this,newValue:o,name:r});if(!s)return this;o=s.newValue}return i?this.updateValue_(r,o):this.addValue_(r,o),this},t.delete=function(r){var o=this;if(this.keysAtom_,ge(this)){var i=me(this,{type:dr,object:this,name:r});if(!i)return!1}if(this.has_(r)){var s=un(),a=$e(this),l=a||s?{observableKind:"map",debugObjectName:this.name_,type:dr,object:this,oldValue:this.data_.get(r).value_,name:r}:null;return Ve(function(){var c;o.keysAtom_.reportChanged(),(c=o.hasMap_.get(r))==null||c.setNewValue_(!1);var d=o.data_.get(r);d.setNewValue_(void 0),o.data_.delete(r)}),a&&Ce(this,l),!0}return!1},t.updateValue_=function(r,o){var i=this.data_.get(r);if(o=i.prepareNewValue_(o),o!==y.UNCHANGED){var s=un(),a=$e(this),l=a||s?{observableKind:"map",debugObjectName:this.name_,type:De,object:this,oldValue:i.value_,name:r,newValue:o}:null;i.setNewValue_(o),a&&Ce(this,l)}},t.addValue_=function(r,o){var i=this;this.keysAtom_,Ve(function(){var c,d=new bt(o,i.enhancer_,"ObservableMap.key",!1);i.data_.set(r,d),o=d.value_,(c=i.hasMap_.get(r))==null||c.setNewValue_(!0),i.keysAtom_.reportChanged()});var s=un(),a=$e(this),l=a||s?{observableKind:"map",debugObjectName:this.name_,type:Je,object:this,name:r,newValue:o}:null;a&&Ce(this,l)},t.get=function(r){return this.has(r)?this.dehanceValue_(this.data_.get(r).get()):this.dehanceValue_(void 0)},t.dehanceValue_=function(r){return this.dehancer!==void 0?this.dehancer(r):r},t.keys=function(){return this.keysAtom_.reportObserved(),this.data_.keys()},t.values=function(){var r=this,o=this.keys();return bn({next:function(){var s=o.next(),a=s.done,l=s.value;return{done:a,value:a?void 0:r.get(l)}}})},t.entries=function(){var r=this,o=this.keys();return bn({next:function(){var s=o.next(),a=s.done,l=s.value;return{done:a,value:a?void 0:[l,r.get(l)]}}})},t[wl]=function(){return this.entries()},t.forEach=function(r,o){for(var i=Mt(this),s;!(s=i()).done;){var a=s.value,l=a[0],c=a[1];r.call(o,c,l,this)}},t.merge=function(r){var o=this;return at(r)&&(r=new Map(r)),Ve(function(){Ye(r)?vu(r).forEach(function(i){return o.set(i,r[i])}):Array.isArray(r)?r.forEach(function(i){var s=i[0],a=i[1];return o.set(s,a)}):Jt(r)?(r.constructor!==Map&&D(19,r),r.forEach(function(i,s){return o.set(s,i)})):r!=null&&D(20,r)}),this},t.clear=function(){var r=this;Ve(function(){rl(function(){for(var o=Mt(r.keys()),i;!(i=o()).done;){var s=i.value;r.delete(s)}})})},t.replace=function(r){var o=this;return Ve(function(){for(var i=Gd(r),s=new Map,a=!1,l=Mt(o.data_.keys()),c;!(c=l()).done;){var d=c.value;if(!i.has(d)){var p=o.delete(d);if(p)a=!0;else{var h=o.data_.get(d);s.set(d,h)}}}for(var v=Mt(i.entries()),m;!(m=v()).done;){var g=m.value,_=g[0],S=g[1],O=o.data_.has(_);if(o.set(_,S),o.data_.has(_)){var B=o.data_.get(_);s.set(_,B),O||(a=!0)}}if(!a)if(o.data_.size!==s.size)o.keysAtom_.reportChanged();else for(var V=o.data_.keys(),L=s.keys(),z=V.next(),G=L.next();!z.done;){if(z.value!==G.value){o.keysAtom_.reportChanged();break}z=V.next(),G=L.next()}o.data_=s}),this},t.toString=function(){return"[object ObservableMap]"},t.toJSON=function(){return Array.from(this)},t.observe_=function(r,o){return Mn(this,r)},t.intercept_=function(r){return Ln(this,r)},Ko(e,[{key:"size",get:function(){return this.keysAtom_.reportObserved(),this.data_.size}},{key:$l,get:function(){return"Map"}}]),e}(),at=it("ObservableMap",Cl);function Gd(e){if(Jt(e)||at(e))return e;if(Array.isArray(e))return new Map(e);if(Ye(e)){var t=new Map;for(var n in e)t.set(n,e[n]);return t}else return D(21,e)}var Sl,xl,Kd={};Sl=Symbol.iterator;xl=Symbol.toStringTag;var Al=function(){function e(n,r,o){r===void 0&&(r=Ht),o===void 0&&(o="ObservableSet"),this.name_=void 0,this[A]=Kd,this.data_=new Set,this.atom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.dehancer=void 0,this.enhancer_=void 0,this.name_=o,xe(Set)||D(22),this.atom_=Ha(this.name_),this.enhancer_=function(i,s){return r(i,s,o)},n&&this.replace(n)}var t=e.prototype;return t.dehanceValue_=function(r){return this.dehancer!==void 0?this.dehancer(r):r},t.clear=function(){var r=this;Ve(function(){rl(function(){for(var o=Mt(r.data_.values()),i;!(i=o()).done;){var s=i.value;r.delete(s)}})})},t.forEach=function(r,o){for(var i=Mt(this),s;!(s=i()).done;){var a=s.value;r.call(o,a,a,this)}},t.add=function(r){var o=this;if(this.atom_,ge(this)){var i=me(this,{type:Je,object:this,newValue:r});if(!i)return this}if(!this.has(r)){Ve(function(){o.data_.add(o.enhancer_(r,void 0)),o.atom_.reportChanged()});var s=!1,a=$e(this),l=a||s?{observableKind:"set",debugObjectName:this.name_,type:Je,object:this,newValue:r}:null;a&&Ce(this,l)}return this},t.delete=function(r){var o=this;if(ge(this)){var i=me(this,{type:dr,object:this,oldValue:r});if(!i)return!1}if(this.has(r)){var s=!1,a=$e(this),l=a||s?{observableKind:"set",debugObjectName:this.name_,type:dr,object:this,oldValue:r}:null;return Ve(function(){o.atom_.reportChanged(),o.data_.delete(r)}),a&&Ce(this,l),!0}return!1},t.has=function(r){return this.atom_.reportObserved(),this.data_.has(this.dehanceValue_(r))},t.entries=function(){var r=0,o=Array.from(this.keys()),i=Array.from(this.values());return bn({next:function(){var a=r;return r+=1,a<i.length?{value:[o[a],i[a]],done:!1}:{done:!0}}})},t.keys=function(){return this.values()},t.values=function(){this.atom_.reportObserved();var r=this,o=0,i=Array.from(this.data_.values());return bn({next:function(){return o<i.length?{value:r.dehanceValue_(i[o++]),done:!1}:{done:!0}}})},t.replace=function(r){var o=this;return Ot(r)&&(r=new Set(r)),Ve(function(){Array.isArray(r)?(o.clear(),r.forEach(function(i){return o.add(i)})):On(r)?(o.clear(),r.forEach(function(i){return o.add(i)})):r!=null&&D("Cannot initialize set from "+r)}),this},t.observe_=function(r,o){return Mn(this,r)},t.intercept_=function(r){return Ln(this,r)},t.toJSON=function(){return Array.from(this)},t.toString=function(){return"[object ObservableSet]"},t[Sl]=function(){return this.values()},Ko(e,[{key:"size",get:function(){return this.atom_.reportObserved(),this.data_.size}},{key:xl,get:function(){return"Set"}}]),e}(),Ot=it("ObservableSet",Al),Wi=Object.create(null),Zi="remove",Ol=function(){function e(n,r,o,i){r===void 0&&(r=new Map),i===void 0&&(i=Vu),this.target_=void 0,this.values_=void 0,this.name_=void 0,this.defaultAnnotation_=void 0,this.keysAtom_=void 0,this.changeListeners_=void 0,this.interceptors_=void 0,this.proxy_=void 0,this.isPlainObject_=void 0,this.appliedAnnotations_=void 0,this.pendingKeys_=void 0,this.target_=n,this.values_=r,this.name_=o,this.defaultAnnotation_=i,this.keysAtom_=new En("ObservableObject.keys"),this.isPlainObject_=Ye(this.target_)}var t=e.prototype;return t.getObservablePropValue_=function(r){return this.values_.get(r).get()},t.setObservablePropValue_=function(r,o){var i=this.values_.get(r);if(i instanceof hn)return i.set(o),!0;if(ge(this)){var s=me(this,{type:De,object:this.proxy_||this.target_,name:r,newValue:o});if(!s)return null;o=s.newValue}if(o=i.prepareNewValue_(o),o!==y.UNCHANGED){var a=$e(this),l=!1,c=a||l?{type:De,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,oldValue:i.value_,name:r,newValue:o}:null;i.setNewValue_(o),a&&Ce(this,c)}return!0},t.get_=function(r){return y.trackingDerivation&&!He(this.target_,r)&&this.has_(r),this.target_[r]},t.set_=function(r,o,i){return i===void 0&&(i=!1),He(this.target_,r)?this.values_.has(r)?this.setObservablePropValue_(r,o):i?Reflect.set(this.target_,r,o):(this.target_[r]=o,!0):this.extend_(r,{value:o,enumerable:!0,writable:!0,configurable:!0},this.defaultAnnotation_,i)},t.has_=function(r){if(!y.trackingDerivation)return r in this.target_;this.pendingKeys_||(this.pendingKeys_=new Map);var o=this.pendingKeys_.get(r);return o||(o=new bt(r in this.target_,Rr,"ObservableObject.key?",!1),this.pendingKeys_.set(r,o)),o.get()},t.make_=function(r,o){if(o===!0&&(o=this.defaultAnnotation_),o!==!1){if(!(r in this.target_)){var i;if((i=this.target_[ke])!=null&&i[r])return;D(1,o.annotationType_,this.name_+"."+r.toString())}for(var s=this.target_;s&&s!==An;){var a=rr(s,r);if(a){var l=o.make_(this,r,a,s);if(l===0)return;if(l===1)break}s=Object.getPrototypeOf(s)}Xi(this,o,r)}},t.extend_=function(r,o,i,s){if(s===void 0&&(s=!1),i===!0&&(i=this.defaultAnnotation_),i===!1)return this.defineProperty_(r,o,s);var a=i.extend_(this,r,o,s);return a&&Xi(this,i,r),a},t.defineProperty_=function(r,o,i){i===void 0&&(i=!1);try{pe();var s=this.delete_(r);if(!s)return s;if(ge(this)){var a=me(this,{object:this.proxy_||this.target_,name:r,type:Je,newValue:o.value});if(!a)return null;var l=a.newValue;o.value!==l&&(o=Ut({},o,{value:l}))}if(i){if(!Reflect.defineProperty(this.target_,r,o))return!1}else Ue(this.target_,r,o);this.notifyPropertyAddition_(r,o.value)}finally{he()}return!0},t.defineObservableProperty_=function(r,o,i,s){s===void 0&&(s=!1);try{pe();var a=this.delete_(r);if(!a)return a;if(ge(this)){var l=me(this,{object:this.proxy_||this.target_,name:r,type:Je,newValue:o});if(!l)return null;o=l.newValue}var c=Ji(r),d={configurable:y.safeDescriptors?this.isPlainObject_:!0,enumerable:!0,get:c.get,set:c.set};if(s){if(!Reflect.defineProperty(this.target_,r,d))return!1}else Ue(this.target_,r,d);var p=new bt(o,i,"ObservableObject.key",!1);this.values_.set(r,p),this.notifyPropertyAddition_(r,p.value_)}finally{he()}return!0},t.defineComputedProperty_=function(r,o,i){i===void 0&&(i=!1);try{pe();var s=this.delete_(r);if(!s)return s;if(ge(this)){var a=me(this,{object:this.proxy_||this.target_,name:r,type:Je,newValue:void 0});if(!a)return null}o.name||(o.name="ObservableObject.key"),o.context=this.proxy_||this.target_;var l=Ji(r),c={configurable:y.safeDescriptors?this.isPlainObject_:!0,enumerable:!1,get:l.get,set:l.set};if(i){if(!Reflect.defineProperty(this.target_,r,c))return!1}else Ue(this.target_,r,c);this.values_.set(r,new hn(o)),this.notifyPropertyAddition_(r,void 0)}finally{he()}return!0},t.delete_=function(r,o){if(o===void 0&&(o=!1),!He(this.target_,r))return!0;if(ge(this)){var i=me(this,{object:this.proxy_||this.target_,name:r,type:Zi});if(!i)return null}try{var s,a;pe();var l=$e(this),c=!1,d=this.values_.get(r),p=void 0;if(!d&&(l||c)){var h;p=(h=rr(this.target_,r))==null?void 0:h.value}if(o){if(!Reflect.deleteProperty(this.target_,r))return!1}else delete this.target_[r];if(d&&(this.values_.delete(r),d instanceof bt&&(p=d.value_),cl(d)),this.keysAtom_.reportChanged(),(s=this.pendingKeys_)==null||(a=s.get(r))==null||a.set(r in this.target_),l||c){var v={type:Zi,observableKind:"object",object:this.proxy_||this.target_,debugObjectName:this.name_,oldValue:p,name:r};l&&Ce(this,v)}}finally{he()}return!0},t.observe_=function(r,o){return Mn(this,r)},t.intercept_=function(r){return Ln(this,r)},t.notifyPropertyAddition_=function(r,o){var i,s,a=$e(this),l=!1;if(a||l){var c=a||l?{type:Je,observableKind:"object",debugObjectName:this.name_,object:this.proxy_||this.target_,name:r,newValue:o}:null;a&&Ce(this,c)}(i=this.pendingKeys_)==null||(s=i.get(r))==null||s.set(!0),this.keysAtom_.reportChanged()},t.ownKeys_=function(){return this.keysAtom_.reportObserved(),Mr(this.target_)},t.keys_=function(){return this.keysAtom_.reportObserved(),Object.keys(this.target_)},e}();function Br(e,t){var n;if(He(e,A))return e;var r=(n=t==null?void 0:t.name)!=null?n:"ObservableObject",o=new Ol(e,new Map,String(r),Ju(t));return Lr(e,A,o),e}var qd=it("ObservableObjectAdministration",Ol);function Ji(e){return Wi[e]||(Wi[e]={get:function(){return this[A].getObservablePropValue_(e)},set:function(n){return this[A].setObservablePropValue_(e,n)}})}function zt(e){return Dr(e)?qd(e[A]):!1}function Xi(e,t,n){var r;(r=e.target_[ke])==null||delete r[n]}var Wd=El(0),ao=0,Pl=function(){};function Zd(e,t){Object.setPrototypeOf?Object.setPrototypeOf(e.prototype,t):e.prototype.__proto__!==void 0?e.prototype.__proto__=t:e.prototype=t}Zd(Pl,Array.prototype);var Yo=function(e,t,n){Ua(r,e);function r(i,s,a,l){var c;a===void 0&&(a="ObservableArray"),l===void 0&&(l=!1),c=e.call(this)||this;var d=new Qo(a,s,l,!0);if(d.proxy_=so(c),ja(so(c),A,d),i&&i.length){var p=Tn(!0);c.spliceWithArray(0,0,i),In(p)}return Object.defineProperty(so(c),"0",Wd),c}var o=r.prototype;return o.concat=function(){this[A].atom_.reportObserved();for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return Array.prototype.concat.apply(this.slice(),a.map(function(c){return Rn(c)?c.slice():c}))},o[n]=function(){var i=this,s=0;return bn({next:function(){return s<i.length?{value:i[s++],done:!1}:{done:!0,value:void 0}}})},Ko(r,[{key:"length",get:function(){return this[A].getArrayLength_()},set:function(s){this[A].setArrayLength_(s)}},{key:t,get:function(){return"Array"}}]),r}(Pl,Symbol.toStringTag,Symbol.iterator);Object.entries(ur).forEach(function(e){var t=e[0],n=e[1];t!=="concat"&&Lr(Yo.prototype,t,n)});function El(e){return{enumerable:!1,configurable:!0,get:function(){return this[A].get_(e)},set:function(n){this[A].set_(e,n)}}}function Jd(e){Ue(Yo.prototype,""+e,El(e))}function kl(e){if(e>ao){for(var t=ao;t<e+100;t++)Jd(t);ao=e}}kl(1e3);function Xd(e,t,n){return new Yo(e,t,n)}function $t(e,t){if(typeof e=="object"&&e!==null){if(Rn(e))return t!==void 0&&D(23),e[A].atom_;if(Ot(e))return e[A];if(at(e)){if(t===void 0)return e.keysAtom_;var n=e.data_.get(t)||e.hasMap_.get(t);return n||D(25,t,_o(e)),n}if(zt(e)){if(!t)return D(26);var r=e[A].values_.get(t);return r||D(27,t,_o(e)),r}if(qo(e)||Dn(e)||lr(e))return e}else if(xe(e)&&lr(e[A]))return e[A];D(28)}function Tl(e,t){if(e||D(29),t!==void 0)return Tl($t(e,t));if(qo(e)||Dn(e)||lr(e)||at(e)||Ot(e))return e;if(e[A])return e[A];D(24,e)}function _o(e,t){var n;if(t!==void 0)n=$t(e,t);else{if(Jo(e))return e.name;zt(e)||at(e)||Ot(e)?n=Tl(e):n=$t(e)}return n.name_}var Qi=An.toString;function ei(e,t,n){return n===void 0&&(n=-1),yo(e,t,n)}function yo(e,t,n,r,o){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var i=typeof e;if(i!=="function"&&i!=="object"&&typeof t!="object")return!1;var s=Qi.call(e);if(s!==Qi.call(t))return!1;switch(s){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:+e==0?1/+e===1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return typeof Symbol!="undefined"&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t);case"[object Map]":case"[object Set]":n>=0&&n++;break}e=Yi(e),t=Yi(t);var a=s==="[object Array]";if(!a){if(typeof e!="object"||typeof t!="object")return!1;var l=e.constructor,c=t.constructor;if(l!==c&&!(xe(l)&&l instanceof l&&xe(c)&&c instanceof c)&&"constructor"in e&&"constructor"in t)return!1}if(n===0)return!1;n<0&&(n=-1),r=r||[],o=o||[];for(var d=r.length;d--;)if(r[d]===e)return o[d]===t;if(r.push(e),o.push(t),a){if(d=e.length,d!==t.length)return!1;for(;d--;)if(!yo(e[d],t[d],n-1,r,o))return!1}else{var p=Object.keys(e),h;if(d=p.length,Object.keys(t).length!==d)return!1;for(;d--;)if(h=p[d],!(He(t,h)&&yo(e[h],t[h],n-1,r,o)))return!1}return r.pop(),o.pop(),!0}function Yi(e){return Rn(e)?e.slice():Jt(e)||at(e)||On(e)||Ot(e)?Array.from(e.entries()):e}function bn(e){return e[Symbol.iterator]=Qd,e}function Qd(){return this}["Symbol","Map","Set"].forEach(function(e){var t=Go();typeof t[e]=="undefined"&&D("MobX requires global '"+e+"' to be available or polyfilled")});typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__=="object"&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:vd,extras:{getDebugName:_o},$mobx:A});var Yd=u._ListCache;function ep(){this.__data__=new Yd,this.size=0}var tp=ep;function np(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var rp=np;function op(e){return this.__data__.get(e)}var ip=op;function sp(e){return this.__data__.has(e)}var ap=sp,lp=u._ListCache,cp=u._Map,up=u._MapCache,dp=200;function pp(e,t){var n=this.__data__;if(n instanceof lp){var r=n.__data__;if(!cp||r.length<dp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new up(r)}return n.set(e,t),this.size=n.size,this}var hp=pp,fp=u._ListCache,vp=tp,bp=rp,gp=ip,mp=ap,_p=hp;function Qt(e){var t=this.__data__=new fp(e);this.size=t.size}Qt.prototype.clear=vp;Qt.prototype.delete=bp;Qt.prototype.get=gp;Qt.prototype.has=mp;Qt.prototype.set=_p;var yp=Qt;function wp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var $p=wp,Cp=u._getNative,Sp=function(){try{var e=Cp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Il=Sp,es=Il;function xp(e,t,n){t=="__proto__"&&es?es(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Dl=xp,Ap=Dl,Op=u.eq_1,Pp=Object.prototype,Ep=Pp.hasOwnProperty;function kp(e,t,n){var r=e[t];(!(Ep.call(e,t)&&Op(r,n))||n===void 0&&!(t in e))&&Ap(e,t,n)}var Ll=kp,Tp=Ll,Ip=Dl;function Dp(e,t,n,r){var o=!n;n||(n={});for(var i=-1,s=t.length;++i<s;){var a=t[i],l=r?r(n[a],e[a],a,n,e):void 0;l===void 0&&(l=e[a]),o?Ip(n,a,l):Tp(n,a,l)}return n}var Nn=Dp;function Lp(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Mp=Lp,Rp=u._baseGetTag,Np=u.isObjectLike_1,jp="[object Arguments]";function Bp(e){return Np(e)&&Rp(e)==jp}var Vp=Bp,ts=Vp,Up=u.isObjectLike_1,Ml=Object.prototype,Hp=Ml.hasOwnProperty,Fp=Ml.propertyIsEnumerable,zp=ts(function(){return arguments}())?ts:function(e){return Up(e)&&Hp.call(e,"callee")&&!Fp.call(e,"callee")},Rl=zp,pr={exports:{}};function Gp(){return!1}var Kp=Gp;pr.exports;(function(e,t){var n=u._root,r=Kp,o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===o,a=s?n.Buffer:void 0,l=a?a.isBuffer:void 0,c=l||r;e.exports=c})(pr,pr.exports);var Nl=pr.exports,qp=9007199254740991,Wp=/^(?:0|[1-9]\d*)$/;function Zp(e,t){var n=typeof e;return t=t==null?qp:t,!!t&&(n=="number"||n!="symbol"&&Wp.test(e))&&e>-1&&e%1==0&&e<t}var Jp=Zp,Xp=9007199254740991;function Qp(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Xp}var jl=Qp,Yp=u._baseGetTag,eh=jl,th=u.isObjectLike_1,nh="[object Arguments]",rh="[object Array]",oh="[object Boolean]",ih="[object Date]",sh="[object Error]",ah="[object Function]",lh="[object Map]",ch="[object Number]",uh="[object Object]",dh="[object RegExp]",ph="[object Set]",hh="[object String]",fh="[object WeakMap]",vh="[object ArrayBuffer]",bh="[object DataView]",gh="[object Float32Array]",mh="[object Float64Array]",_h="[object Int8Array]",yh="[object Int16Array]",wh="[object Int32Array]",$h="[object Uint8Array]",Ch="[object Uint8ClampedArray]",Sh="[object Uint16Array]",xh="[object Uint32Array]",Z={};Z[gh]=Z[mh]=Z[_h]=Z[yh]=Z[wh]=Z[$h]=Z[Ch]=Z[Sh]=Z[xh]=!0;Z[nh]=Z[rh]=Z[vh]=Z[oh]=Z[bh]=Z[ih]=Z[sh]=Z[ah]=Z[lh]=Z[ch]=Z[uh]=Z[dh]=Z[ph]=Z[hh]=Z[fh]=!1;function Ah(e){return th(e)&&eh(e.length)&&!!Z[Yp(e)]}var Oh=Ah;function Ph(e){return function(t){return e(t)}}var ti=Ph,hr={exports:{}};hr.exports;(function(e,t){var n=u._freeGlobal,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===r,s=i&&n.process,a=function(){try{var l=o&&o.require&&o.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=a})(hr,hr.exports);var ni=hr.exports,Eh=Oh,kh=ti,ns=ni,rs=ns&&ns.isTypedArray,Th=rs?kh(rs):Eh,Ih=Th,Dh=Mp,Lh=Rl,Mh=u.isArray_1,Rh=Nl,Nh=Jp,jh=Ih,Bh=Object.prototype,Vh=Bh.hasOwnProperty;function Uh(e,t){var n=Mh(e),r=!n&&Lh(e),o=!n&&!r&&Rh(e),i=!n&&!r&&!o&&jh(e),s=n||r||o||i,a=s?Dh(e.length,String):[],l=a.length;for(var c in e)(t||Vh.call(e,c))&&!(s&&(c=="length"||o&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Nh(c,l)))&&a.push(c);return a}var Bl=Uh,Hh=Object.prototype;function Fh(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Hh;return e===n}var ri=Fh;function zh(e,t){return function(n){return e(t(n))}}var Vl=zh,Gh=Vl,Kh=Gh(Object.keys,Object),qh=Kh,Wh=ri,Zh=qh,Jh=Object.prototype,Xh=Jh.hasOwnProperty;function Qh(e){if(!Wh(e))return Zh(e);var t=[];for(var n in Object(e))Xh.call(e,n)&&n!="constructor"&&t.push(n);return t}var Yh=Qh,ef=u.isFunction_1,tf=jl;function nf(e){return e!=null&&tf(e.length)&&!ef(e)}var Ul=nf,rf=Bl,of=Yh,sf=Ul;function af(e){return sf(e)?rf(e):of(e)}var oi=af,lf=Nn,cf=oi;function uf(e,t){return e&&lf(t,cf(t),e)}var df=uf;function pf(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var hf=pf,ff=u.isObject_1,vf=ri,bf=hf,gf=Object.prototype,mf=gf.hasOwnProperty;function _f(e){if(!ff(e))return bf(e);var t=vf(e),n=[];for(var r in e)r=="constructor"&&(t||!mf.call(e,r))||n.push(r);return n}var yf=_f,wf=Bl,$f=yf,Cf=Ul;function Sf(e){return Cf(e)?wf(e,!0):$f(e)}var ii=Sf,xf=Nn,Af=ii;function Of(e,t){return e&&xf(t,Af(t),e)}var Pf=Of,fr={exports:{}};fr.exports;(function(e,t){var n=u._root,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,i=o&&o.exports===r,s=i?n.Buffer:void 0,a=s?s.allocUnsafe:void 0;function l(c,d){if(d)return c.slice();var p=c.length,h=a?a(p):new c.constructor(p);return c.copy(h),h}e.exports=l})(fr,fr.exports);var Ef=fr.exports;function kf(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Tf=kf;function If(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var s=e[n];t(s,n,e)&&(i[o++]=s)}return i}var Df=If;function Lf(){return[]}var Hl=Lf,Mf=Df,Rf=Hl,Nf=Object.prototype,jf=Nf.propertyIsEnumerable,os=Object.getOwnPropertySymbols,Bf=os?function(e){return e==null?[]:(e=Object(e),Mf(os(e),function(t){return jf.call(e,t)}))}:Rf,si=Bf,Vf=Nn,Uf=si;function Hf(e,t){return Vf(e,Uf(e),t)}var Ff=Hf;function zf(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var ai=zf,Gf=Vl,Kf=Gf(Object.getPrototypeOf,Object),li=Kf,qf=ai,Wf=li,Zf=si,Jf=Hl,Xf=Object.getOwnPropertySymbols,Qf=Xf?function(e){for(var t=[];e;)qf(t,Zf(e)),e=Wf(e);return t}:Jf,Fl=Qf,Yf=Nn,e1=Fl;function t1(e,t){return Yf(e,e1(e),t)}var n1=t1,r1=ai,o1=u.isArray_1;function i1(e,t,n){var r=t(e);return o1(e)?r:r1(r,n(e))}var zl=i1,s1=zl,a1=si,l1=oi;function c1(e){return s1(e,l1,a1)}var u1=c1,d1=zl,p1=Fl,h1=ii;function f1(e){return d1(e,h1,p1)}var Gl=f1,v1=u._getNative,b1=u._root,g1=v1(b1,"DataView"),m1=g1,_1=u._getNative,y1=u._root,w1=_1(y1,"Promise"),$1=w1,C1=u._getNative,S1=u._root,x1=C1(S1,"Set"),A1=x1,O1=u._getNative,P1=u._root,E1=O1(P1,"WeakMap"),k1=E1,wo=m1,$o=u._Map,Co=$1,So=A1,xo=k1,Kl=u._baseGetTag,Yt=u._toSource,is="[object Map]",T1="[object Object]",ss="[object Promise]",as="[object Set]",ls="[object WeakMap]",cs="[object DataView]",I1=Yt(wo),D1=Yt($o),L1=Yt(Co),M1=Yt(So),R1=Yt(xo),ft=Kl;(wo&&ft(new wo(new ArrayBuffer(1)))!=cs||$o&&ft(new $o)!=is||Co&&ft(Co.resolve())!=ss||So&&ft(new So)!=as||xo&&ft(new xo)!=ls)&&(ft=function(e){var t=Kl(e),n=t==T1?e.constructor:void 0,r=n?Yt(n):"";if(r)switch(r){case I1:return cs;case D1:return is;case L1:return ss;case M1:return as;case R1:return ls}return t});var ci=ft,N1=Object.prototype,j1=N1.hasOwnProperty;function B1(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&j1.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var V1=B1,U1=u._root,H1=U1.Uint8Array,F1=H1,us=F1;function z1(e){var t=new e.constructor(e.byteLength);return new us(t).set(new us(e)),t}var ui=z1,G1=ui;function K1(e,t){var n=t?G1(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var q1=K1,W1=/\w*$/;function Z1(e){var t=new e.constructor(e.source,W1.exec(e));return t.lastIndex=e.lastIndex,t}var J1=Z1,ds=u._Symbol,ps=ds?ds.prototype:void 0,hs=ps?ps.valueOf:void 0;function X1(e){return hs?Object(hs.call(e)):{}}var Q1=X1,Y1=ui;function ev(e,t){var n=t?Y1(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var tv=ev,nv=ui,rv=q1,ov=J1,iv=Q1,sv=tv,av="[object Boolean]",lv="[object Date]",cv="[object Map]",uv="[object Number]",dv="[object RegExp]",pv="[object Set]",hv="[object String]",fv="[object Symbol]",vv="[object ArrayBuffer]",bv="[object DataView]",gv="[object Float32Array]",mv="[object Float64Array]",_v="[object Int8Array]",yv="[object Int16Array]",wv="[object Int32Array]",$v="[object Uint8Array]",Cv="[object Uint8ClampedArray]",Sv="[object Uint16Array]",xv="[object Uint32Array]";function Av(e,t,n){var r=e.constructor;switch(t){case vv:return nv(e);case av:case lv:return new r(+e);case bv:return rv(e,n);case gv:case mv:case _v:case yv:case wv:case $v:case Cv:case Sv:case xv:return sv(e,n);case cv:return new r;case uv:case hv:return new r(e);case dv:return ov(e);case pv:return new r;case fv:return iv(e)}}var Ov=Av,Pv=u.isObject_1,fs=Object.create,Ev=function(){function e(){}return function(t){if(!Pv(t))return{};if(fs)return fs(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),kv=Ev,Tv=kv,Iv=li,Dv=ri;function Lv(e){return typeof e.constructor=="function"&&!Dv(e)?Tv(Iv(e)):{}}var Mv=Lv,Rv=ci,Nv=u.isObjectLike_1,jv="[object Map]";function Bv(e){return Nv(e)&&Rv(e)==jv}var Vv=Bv,Uv=Vv,Hv=ti,vs=ni,bs=vs&&vs.isMap,Fv=bs?Hv(bs):Uv,zv=Fv,Gv=ci,Kv=u.isObjectLike_1,qv="[object Set]";function Wv(e){return Kv(e)&&Gv(e)==qv}var Zv=Wv,Jv=Zv,Xv=ti,gs=ni,ms=gs&&gs.isSet,Qv=ms?Xv(ms):Jv,Yv=Qv,eb=yp,tb=$p,nb=Ll,rb=df,ob=Pf,ib=Ef,sb=Tf,ab=Ff,lb=n1,cb=u1,ub=Gl,db=ci,pb=V1,hb=Ov,fb=Mv,vb=u.isArray_1,bb=Nl,gb=zv,mb=u.isObject_1,_b=Yv,yb=oi,wb=ii,$b=1,Cb=2,Sb=4,ql="[object Arguments]",xb="[object Array]",Ab="[object Boolean]",Ob="[object Date]",Pb="[object Error]",Wl="[object Function]",Eb="[object GeneratorFunction]",kb="[object Map]",Tb="[object Number]",Zl="[object Object]",Ib="[object RegExp]",Db="[object Set]",Lb="[object String]",Mb="[object Symbol]",Rb="[object WeakMap]",Nb="[object ArrayBuffer]",jb="[object DataView]",Bb="[object Float32Array]",Vb="[object Float64Array]",Ub="[object Int8Array]",Hb="[object Int16Array]",Fb="[object Int32Array]",zb="[object Uint8Array]",Gb="[object Uint8ClampedArray]",Kb="[object Uint16Array]",qb="[object Uint32Array]",q={};q[ql]=q[xb]=q[Nb]=q[jb]=q[Ab]=q[Ob]=q[Bb]=q[Vb]=q[Ub]=q[Hb]=q[Fb]=q[kb]=q[Tb]=q[Zl]=q[Ib]=q[Db]=q[Lb]=q[Mb]=q[zb]=q[Gb]=q[Kb]=q[qb]=!0;q[Pb]=q[Wl]=q[Rb]=!1;function Yn(e,t,n,r,o,i){var s,a=t&$b,l=t&Cb,c=t&Sb;if(n&&(s=o?n(e,r,o,i):n(e)),s!==void 0)return s;if(!mb(e))return e;var d=vb(e);if(d){if(s=pb(e),!a)return sb(e,s)}else{var p=db(e),h=p==Wl||p==Eb;if(bb(e))return ib(e,a);if(p==Zl||p==ql||h&&!o){if(s=l||h?{}:fb(e),!a)return l?lb(e,ob(s,e)):ab(e,rb(s,e))}else{if(!q[p])return o?e:{};s=hb(e,p,a)}}i||(i=new eb);var v=i.get(e);if(v)return v;i.set(e,s),_b(e)?e.forEach(function(_){s.add(Yn(_,t,n,_,e,i))}):gb(e)&&e.forEach(function(_,S){s.set(S,Yn(_,t,n,S,e,i))});var m=c?l?ub:cb:l?wb:yb,g=d?void 0:m(e);return tb(g||e,function(_,S){g&&(S=_,_=e[S]),nb(s,S,Yn(_,t,n,S,e,i))}),s}var Wb=Yn;function Zb(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var Jb=Zb,Xb=u._baseGet,Qb=u._baseSlice;function Yb(e,t){return t.length<2?e:Xb(e,Qb(t,0,-1))}var eg=Yb,tg=u._castPath,ng=Jb,rg=eg,og=u._toKey;function ig(e,t){return t=tg(t,e),e=rg(e,t),e==null||delete e[og(ng(t))]}var sg=ig,ag=u._baseGetTag,lg=li,cg=u.isObjectLike_1,ug="[object Object]",dg=Function.prototype,pg=Object.prototype,Jl=dg.toString,hg=pg.hasOwnProperty,fg=Jl.call(Object);function vg(e){if(!cg(e)||ag(e)!=ug)return!1;var t=lg(e);if(t===null)return!0;var n=hg.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Jl.call(n)==fg}var bg=vg,gg=bg;function mg(e){return gg(e)?void 0:e}var _g=mg,_s=u._Symbol,yg=Rl,wg=u.isArray_1,ys=_s?_s.isConcatSpreadable:void 0;function $g(e){return wg(e)||yg(e)||!!(ys&&e&&e[ys])}var Cg=$g,Sg=ai,xg=Cg;function Xl(e,t,n,r,o){var i=-1,s=e.length;for(n||(n=xg),o||(o=[]);++i<s;){var a=e[i];t>0&&n(a)?t>1?Xl(a,t-1,n,r,o):Sg(o,a):r||(o[o.length]=a)}return o}var Ag=Xl,Og=Ag;function Pg(e){var t=e==null?0:e.length;return t?Og(e,1):[]}var Eg=Pg;function kg(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Tg=kg,Ig=Tg,ws=Math.max;function Dg(e,t,n){return t=ws(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=ws(r.length-t,0),s=Array(i);++o<i;)s[o]=r[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=r[o];return a[t]=n(s),Ig(e,this,a)}}var Lg=Dg;function Mg(e){return function(){return e}}var Rg=Mg;function Ng(e){return e}var jg=Ng,Bg=Rg,$s=Il,Vg=jg,Ug=$s?function(e,t){return $s(e,"toString",{configurable:!0,enumerable:!1,value:Bg(t),writable:!0})}:Vg,Hg=Ug,Fg=800,zg=16,Gg=Date.now;function Kg(e){var t=0,n=0;return function(){var r=Gg(),o=zg-(r-n);if(n=r,o>0){if(++t>=Fg)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var qg=Kg,Wg=Hg,Zg=qg,Jg=Zg(Wg),Xg=Jg,Qg=Eg,Yg=Lg,em=Xg;function tm(e){return em(Yg(e,void 0,Qg),e+"")}var nm=tm,rm=u._arrayMap,om=Wb,im=sg,sm=u._castPath,am=Nn,lm=_g,cm=nm,um=Gl,dm=1,pm=2,hm=4,fm=cm(function(e,t){var n={};if(e==null)return n;var r=!1;t=rm(t,function(i){return i=sm(i,e),r||(r=i.length>1),i}),am(e,um(e),n),r&&(n=om(n,dm|pm|hm,lm));for(var o=t.length;o--;)im(n,t[o]);return n}),vm=fm;const bm=u.getDefaultExportFromCjs(vm);var an=(e=>(e.GET="GET",e.POST="POST",e.PATCH="PATCH",e.PUT="PUT",e.DELETE="DELETE",e))(an||{}),Ql=(e=>(e.postQuery="postQuery",e))(Ql||{});class gm{constructor(t,n={}){this.fetchFunction=t,this.context=n,this._stats=!1,this._queriesStats=new Set,this._hooks=new Map}get(t,n={}){const r={...n,method:an.GET};return this.fetch(t,r)}post(t,n,r={}){const o={...r,method:an.POST,headers:{"Content-Type":"application/json",...r.headers},body:JSON.stringify(n)};return this.fetch(t,o)}patch(t,n,r={}){const o={...r,method:an.PATCH,headers:{"Content-Type":"application/json",...r.headers},body:JSON.stringify(n)};return this.fetch(t,o)}put(t,n,r={}){const o={...r,method:"PUT",headers:{"Content-Type":"application/json",...r.headers},body:JSON.stringify(n)};return this.fetch(t,o)}delete(t,n,r={}){const o={...r,method:an.DELETE,headers:{"Content-Type":"application/json",...r.headers},body:JSON.stringify(n)};return this.fetch(t,o)}fetch(t,n={}){return this.context.headers&&(n.headers={...n.headers||{},...this.context.headers}),typeof t=="string"&&this.context.baseURL&&(t=this.context.baseURL+t),n.credentials="same-origin",this.fetchFunction(t,n).then(r=>(this._applyPostQueryHooks(t,n,r),this._addToStats(t,n,r),r))}setHeaders(t){return this.context.headers={...this.context.headers,...t},this}removeHeader(t){return this.context.headers=bm(this.context.headers,t),this}getContext(){return this.context}getHooks(t){return this._hooks.get(t)||new Set}on(t,n){const r=this.getHooks(t);return this._hooks.set(t,r.add(n)),this}enableStats(t){return this._stats=t,t||this._queriesStats.clear(),this}getStats(){return this._queriesStats}_applyPostQueryHooks(t,n,r){Array.from(this.getHooks(Ql.postQuery)).forEach(o=>{o(t,n,r)})}_addToStats(t,n,r){this._stats&&this._queriesStats.add({date:new Date().toISOString(),url:String(t),method:n.method||"",statusCode:r.status})}}class mm{constructor(t){this.envName=t.envName,this.window=t.window,this.document=t.document,this.localStorage=t.localStorage,this.config=t.config,this.fetchClient=t.fetchClient,this.openApiClients=t.openApiClients}}class _m extends mm{}function ym(e){return wm(e)}function wm(e,t){return e==null?e:{accessGroups:e.access_groups,accessGroupsMigration:e.access_groups_migration,advancedSearchV2:e.advanced_search_v2,agentTriageM2:e.agent_triage_m2,agentUpdates:e.agent_updates,analytics:e.analytics,analyticsV2:e.analytics_v2,assetDeletingUi:e.asset_deleting_ui,assetManagement:e.asset_management,auditsWorkbench:e.audits_workbench,awsConnectorV1:e.aws_connector_v1,cflCoreSsor:e.cfl_core_ssor,connectorsGen2:e.connectors_gen2,containerSecurity:e.container_security,containerSecurityGen2:e.container_security_gen2,credentialsMgmt:e.credentials_mgmt,credentialsMgmtV2:e.credentials_mgmt_v2,dashboardsGen2:e.dashboards_gen2,dashboardsGen2BlankCanvas:e.dashboards_gen2_blank_canvas,dashboardsGen2Export:e.dashboards_gen2_export,dashboardsGen2ExportPng:e.dashboards_gen2_export_png,dashboardsGen2LuminEnabled:e.dashboards_gen2_lumin_enabled,dashboardsGen2Schedule:e.dashboards_gen2_schedule,dashboardsGen2TagFilter:e.dashboards_gen2_tag_filter,dashboardsGen2WidgetFilters:e.dashboards_gen2_widget_filters,dashboardsGen2WidgetLibrary:e.dashboards_gen2_widget_library,dynamicTagging:e.dynamic_tagging,environmentManagement:e.environment_management,exportDashboard:e.export_dashboard,exportDashboardPdf:e.export_dashboard_pdf,generalDataProtectionCompliance:e.general_data_protection_compliance,importData:e.import_data,indexingV2:e.indexing_v2,luminBetaAllowed:e.lumin_beta_allowed,luminBetaEnabled:e.lumin_beta_enabled,modifyVulnerability:e.modify_vulnerability,pciMultiscan:e.pci_multiscan,qualysConnector:e.qualys_connector,qualysVulnConnector:e.qualys_vuln_connector,rbac:e.rbac,recastRules:e.recast_rules,reporting:e.reporting,scanService:e.scan_service,scansGen2:e.scans_gen2,state:e.state,suggestFeature:e.suggest_feature,tagging:e.tagging,vmServiceQuery:e.vm_service_query,vulnerabilityManagementGen2:e.vulnerability_management_gen2,wasDiscovery:e.was_discovery,wasMultiScanning:e.was_multi_scanning,wasPluginSelection:e.was_plugin_selection,wasScanProgress:e.was_scan_progress,webappScanning:e.webapp_scanning,webappScanningGen2:e.webapp_scanning_gen2,system:e.system}}function $m(e){return Cm(e)}function Cm(e,t){return e==null?e:{uuid:e.uuid,immutable:e.immutable,membershipFixed:e.membership_fixed,name:e.name,id:e.id,containerUuid:e.container_uuid}}function Sm(e){return xm(e)}function xm(e,t){return e==null?e:{defaultApp:e.defaultApp==null?void 0:e.defaultApp,enableAssetWorkbench:e.enableAssetWorkbench==null?void 0:e.enableAssetWorkbench,enableExplore:e.enableExplore,enableVMWorkbench:e.enableVMWorkbench==null?void 0:e.enableVMWorkbench,enableWebAppWorkbench:e.enableWebAppWorkbench==null?void 0:e.enableWebAppWorkbench,pinnedExposureInitiatives:e.pinnedExposureInitiatives==null?void 0:e.pinnedExposureInitiatives,tenableGridState:e.tenableGridState==null?void 0:e.tenableGridState,vmDefaultDashboard:e.vmDefaultDashboard==null?void 0:e.vmDefaultDashboard}}function Cs(e){return Am(e)}function Am(e,t){return e==null?e:{id:e.id,uuid:e.uuid,uuidId:e.uuid_id,username:e.username==null?void 0:e.username,userName:e.user_name==null?void 0:e.user_name,email:e.email==null?void 0:e.email,name:e.name==null?void 0:e.name,type:e.type,permissions:e.permissions,userPermissions:e.user_permissions==null?void 0:e.user_permissions.map(u.UserPermissionsFromJSON),preferences:Sm(e.preferences),enabled:e.enabled,lastLoginAttempt:e.last_login_attempt,loginFailCount:e.login_fail_count,loginFailTotal:e.login_fail_total,containerId:e.container_id,containerUuid:e.container_uuid,containerName:e.container_name,containerType:e.container_type,features:ym(e.features),apps:e.apps,groupUuids:e.group_uuids,groups:e.groups==null?void 0:e.groups.map($m),lastlogin:new Date(e.lastlogin)}}function Om(e){return Pm(e)}function Pm(e,t){return e==null?e:{code:e.code==null?void 0:e.code,status:e.status==null?void 0:e.status}}let Em=class extends u.BaseAPI{async heartbeatRaw(t,n){const r={},o={};o["Content-Type"]="application/json";const i=await this.request({path:"/server/heartbeat",method:"GET",headers:o,query:r,body:t.body},n);return new u.JSONApiResponse(i,s=>Om(s))}async heartbeat(t={},n){return await(await this.heartbeatRaw(t,n)).value()}async putSessionRaw(t,n){const r={},o={};o["Content-Type"]="application/json";const i=await this.request({path:"/session",method:"PUT",headers:o,query:r,body:t.body},n);return new u.JSONApiResponse(i,s=>Cs(s))}async putSession(t={},n){return await(await this.putSessionRaw(t,n)).value()}async sessionRaw(t,n){const r={},o={};o["Content-Type"]="application/json";const i=await this.request({path:"/session",method:"GET",headers:o,query:r,body:t.body},n);return new u.JSONApiResponse(i,s=>Cs(s))}async session(t={},n){return await(await this.sessionRaw(t,n)).value()}};const km="http://localhost".replace(/\/+$/,"");class Yl{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:km}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||nc}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const Tm=new Yl,ec=class tc{constructor(t=Tm){this.configuration=t,this.fetchApi=async(n,r)=>{let o={url:n,init:r};for(const s of this.middleware)s.pre&&(o=await s.pre({fetch:this.fetchApi,...o})||o);let i;try{i=await(this.configuration.fetchApi||fetch)(o.url,o.init)}catch(s){for(const a of this.middleware)a.onError&&(i=await a.onError({fetch:this.fetchApi,url:o.url,init:o.init,error:s,response:i?i.clone():void 0})||i);if(i===void 0)throw s instanceof Error?new Rm(s,"The request failed and the interceptors did not return an alternative response"):s}for(const s of this.middleware)s.post&&(i=await s.post({fetch:this.fetchApi,url:o.url,init:o.init,response:i.clone()})||i);return i},this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?tc.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:o}=await this.createFetchParams(t,n),i=await this.fetchApi(r,o);if(i&&i.status>=200&&i.status<300)return i;throw new Mm(i,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const o=Object.assign({},this.configuration.headers,t.headers);Object.keys(o).forEach(d=>o[d]===void 0?delete o[d]:{});const i=typeof n=="function"?n:async()=>n,s={method:t.method,headers:o,body:t.body,credentials:this.configuration.credentials},a={...s,...await i({init:s,context:t})};let l;Lm(a.body)||a.body instanceof URLSearchParams||Dm(a.body)?l=a.body:this.isJsonMime(o["Content-Type"])?l=JSON.stringify(a.body):l=a.body;const c={...a,body:l};return{url:r,init:c}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};ec.jsonRegex=new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i");let Im=ec;function Dm(e){return typeof Blob!="undefined"&&e instanceof Blob}function Lm(e){return typeof FormData!="undefined"&&e instanceof FormData}class Mm extends Error{constructor(t,n){super(n),this.response=t,this.name="ResponseError"}}class Rm extends Error{constructor(t,n){super(n),this.cause=t,this.name="FetchError"}}function nc(e,t=""){return Object.keys(e).map(n=>rc(n,e[n],t)).filter(n=>n.length>0).join("&")}function rc(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const o=t.map(i=>encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${o}`}if(t instanceof Set){const o=Array.from(t);return rc(e,o,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?nc(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}class Ss{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}function Nm(e){return jm(e)}function jm(e,t){return e==null?e:{enabled:e.enabled,key:e.key,siteId:e.site_id}}function ie(e){return Bm(e)}function Bm(e,t){return e==null?e:{displayName:e.display_name,enabled:e.enabled,expirationDate:e.expiration_date==null?void 0:e.expiration_date,expired:e.expired==null?void 0:e.expired,link:e.link,mode:e.mode,icon:e.icon==null?void 0:e.icon}}function Vm(e){return Um(e)}function Um(e,t){return e==null?e:{limitEnabled:e.limitEnabled,scans:e.scans,targets:e.targets}}function Hm(e){return Fm(e)}function Fm(e,t){return e==null?e:{ad:e.ad==null?void 0:ie(e.ad),aiv:e.aiv==null?void 0:ie(e.aiv),cnapp:e.cnapp==null?void 0:ie(e.cnapp),cns:e.cns==null?void 0:ie(e.cns),ec:e.ec==null?void 0:ie(e.ec),lumin:e.lumin==null?void 0:ie(e.lumin),pci:e.pci==null?void 0:ie(e.pci),tio:e.tio==null?void 0:ie(e.tio),was:e.was==null?void 0:ie(e.was),asm:e.asm==null?void 0:ie(e.asm),apa:e.apa==null?void 0:ie(e.apa),workspace:e.workspace==null?void 0:ie(e.workspace),one:e.one==null?void 0:ie(e.one),tpc:e.tpc==null?void 0:ie(e.tpc),tpcSc:e.tpcSc==null?void 0:ie(e.tpcSc),tpcConsec:e.tpcConsec==null?void 0:ie(e.tpcConsec),reports:e.reports==null?void 0:ie(e.reports)}}function zm(e){return Gm(e)}function Gm(e,t){return e}function Km(e){return qm(e)}function qm(e,t){return e==null?e:{apps:Hm(e.apps),agents:e.agents,evaluation:e.evaluation,expirationDate:e.expiration_date,ips:e.ips,scanners:e.scanners,type:zm(e.type),users:e.users}}function Wm(e){return Zm(e)}function Zm(e,t){return e==null?e:{license:Km(e.license),nessusType:e.nessus_type,enterprise:e.enterprise,analytics:Nm(e.analytics),msp:e.msp,forceUiReload:e.force_ui_reload,nessusUiBuild:e.nessus_ui_build,nessusUiVersion:e.nessus_ui_version,serverBuild:e.server_build,serverVersion:e.server_version,scannerBoottime:e.scanner_boottime,containerDbVersion:e.container_db_version,evaluation:Vm(e.evaluation),loadedPluginSet:e.loaded_plugin_set==null?void 0:e.loaded_plugin_set,pluginSet:e.plugin_set==null?void 0:e.plugin_set,region:e.region==null?void 0:e.region}}class Jm extends Im{async getFeatureFlagsRaw(t,n){const r={},o={};o["Content-Type"]="application/json";const i=await this.request({path:"/feature-flags",method:"POST",headers:o,query:r,body:t.requestBody},n);return new Ss(i)}async getFeatureFlags(t={},n){return await(await this.getFeatureFlagsRaw(t,n)).value()}async getServerPropertiesRaw(t,n){const r={},o={};o["Content-Type"]="application/json";const i=await this.request({path:"/server/properties",method:"GET",headers:o,query:r,body:t.body},n);return new Ss(i,s=>Wm(s))}async getServerProperties(t={},n){return await(await this.getServerPropertiesRaw(t,n)).value()}}class Xm{constructor(t){this._config=t,this._wugServerConfigResourceApi=null,this._sessionResourceApi=null,this._defaultConfiguration={fetchApi:window.fetch,headers:{}},this.createClients()}setAuthToken(t){return this._defaultConfiguration.headers=t,this.createClients(),this}unsetAuthToken(){return this._defaultConfiguration.headers={},this.createClients(),this}createClients(){var t,n,r,o;return this._wugServerConfigResourceApi=new Jm(new Yl({...this._defaultConfiguration,basePath:((n=(t=this._config.services.serverProperties)==null?void 0:t.parameters)==null?void 0:n.serviceBasePath)||document.location.origin})),this._sessionResourceApi=new Em(new u.Configuration({...this._defaultConfiguration,basePath:((o=(r=this._config.services.session)==null?void 0:r.parameters)==null?void 0:o.serviceBasePath)||document.location.origin})),this}get wugServerConfigResourceApi(){if(!this._wugServerConfigResourceApi)throw new Error("WUG OpenAPI client is not available. Is config.services.server enabled?");return this._wugServerConfigResourceApi}get sessionResourceApi(){if(!this._sessionResourceApi)throw new Error("Service-account OpenAPI client is not available. Is config.services.session enabled?");return this._sessionResourceApi}}function oc(e){var a,l;const t=(a=e.services.pendo)==null?void 0:a.enabled,n=(l=e.services.telemetry)==null?void 0:l.enabled,r=Object.assign(window,{pendo:t?void 0:window.pendo,telemetry:n?void 0:window.telemetry}),o=new gm(fetch.bind(window)).setHeaders({"Accept-Language":e.i18n.language}),i=new Xm(e),s={envName:"inapp",window:r,document,localStorage,config:e,fetchClient:o,openApiClients:i};return new _m(s)}const ic={PanelApps:{Workspaces:"Workspaces",Workspace:"Workspaces"},PanelUserProfile:{"My Profile":"My Profile","Sign out":"Sign out","What's new":"What's new","View Documentation":"View Documentation"},PanelSettings:{Settings:"Settings and Information","Activity Logs":"Activity Logs","Access Control":"Access Control","License Information":"License Information"},UserAssist:{"Logged in as":"Logged in as","User assist mode":"User assist mode","Close this frame to leave the user.":"Close this frame to leave the user.","Close this frame to return to MSSP.":"Close this frame to return to MSSP.",Custom:"Custom",Basic:"Basic","Scan Operator":"Scan Operator",Standard:"Standard","Scan Manager":"Scan Manager",Administrator:" Administrator","System Administrator":"System Administrator","N/A":"N/A"},QuickActions:{Actions:"Quick Actions"}},sc={Interpolation:{"X identities":"<%= X %> identities"},Markdown:{"X identities":"**<%= X %>** identities"},Plural:{"X identities":{0:"No identity",1:"One identity",2:"Two identities",n:"Some identities"}}},Qm={Header:ic,Tests:sc},Ym=Object.freeze(Object.defineProperty({__proto__:null,Header:ic,Tests:sc,default:Qm},Symbol.toStringTag,{value:"Module"})),ac={PanelApps:{Workspaces:"Espaces de travail",Workspace:"Espaces de travail"},PanelUserProfile:{"My Profile":"Mon profil","Sign out":"Déconnexion","What's new":"Nouveautés","View Documentation":"Afficher la documentation"},PanelSettings:{Settings:"Paramètres et informations","Activity Logs":"Journaux d'activité","Access Control":"Contrôle d'accès","License Information":"Informations de licence"},UserAssist:{"Logged in as":"Connecté en tant que","User assist mode":"Mode assistance utilisateur","Close this frame to leave the user.":"Fermez ce cadre pour quitter l'utilisateur.","Close this frame to return to MSSP.":"Fermez ce cadre pour revenir au MSSP.",Custom:"Personnalisées",Basic:"Standard","Scan Operator":"Opérateur de scan",Standard:"Standard","Scan Manager":"Gestionnaire de scan",Administrator:" Administrateur","System Administrator":"Administrateur système","N/A":"N/A"},QuickActions:{Actions:"Actions rapides"}},lc={Interpolation:{"X identities":"<%= X %> identités"},Markdown:{"X identities":"**<%= X %>** identités"},Plural:{"X identities":{0:"Aucune identité",1:"Une identité",2:"Deux identités",n:"Quelques identités"}}},e_={Header:ac,Tests:lc},t_=Object.freeze(Object.defineProperty({__proto__:null,Header:ac,Tests:lc,default:e_},Symbol.toStringTag,{value:"Module"})),cc={PanelApps:{Workspaces:"ワークスペース",Workspace:"ワークスペース"},PanelUserProfile:{"My Profile":"マイプロファイル","Sign out":"サインアウト","What's new":"新機能","View Documentation":"ドキュメントの表示"},PanelSettings:{Settings:"設定と情報","Activity Logs":"アクティビティログ","Access Control":"アクセス制御","License Information":"ライセンス情報"},UserAssist:{"Logged in as":"次のユーザーとしてログイン:","User assist mode":"ユーザーアシストモード","Close this frame to leave the user.":"このフレームを閉じて、ユーザーを離れます。","Close this frame to return to MSSP.":"このフレームを閉じて MSSP に戻ります。",Custom:"カスタム",Basic:"基本","Scan Operator":"スキャンオペレーター",Standard:"標準","Scan Manager":"スキャンマネージャー",Administrator:" 管理者","System Administrator":"システム管理者","N/A":"該当なし"},QuickActions:{Actions:"クイックアクション"}},uc={Interpolation:{"X identities":"<%= X %> 個のアイデンティティ"},Markdown:{"X identities":"**<%= X %>** 個のアイデンティティ"},Plural:{"X identities":{0:"アイデンティティなし",1:"1 つのアイデンティティ",2:"2 つのアイデンティティ",n:"複数のアイデンティティ"}}},n_={Header:cc,Tests:uc},r_=Object.freeze(Object.defineProperty({__proto__:null,Header:cc,Tests:uc,default:n_},Symbol.toStringTag,{value:"Module"})),dc={PanelApps:{Workspaces:"[Ɯǒɾķšρăĉȅšxxx]",Workspace:"[Ɯǒɾķšρăĉȅšxxx]"},PanelUserProfile:{"My Profile":"[ʍɣ Ƥɾǒƒɨļȅxxx]","Sign out":"[Ѕɨɠƞ ǒʊƭxx]","What's new":"[Ɯɧăƭ'š ƞȅɯxxx]","View Documentation":"[Ѷɨȅɯ Ďǒĉʊɱȅƞƭăƭɨǒƞxxxxx]"},PanelSettings:{Settings:"[Ѕȅƭƭɨƞɠš ăƞɗ Ĩƞƒǒɾɱăƭɨǒƞxxxxxxx]","Activity Logs":"[Ăĉƭɨʋɨƭɣ Ľǒɠšxxx]","Access Control":"[Ăĉĉȅšš Ĉǒƞƭɾǒļxxxx]","License Information":"[Ľɨĉȅƞšȅ Ĩƞƒǒɾɱăƭɨǒƞxxxxx]"},UserAssist:{"Logged in as":"[Ľǒɠɠȅɗ ɨƞ ăšxxx]","User assist mode":"[Ǔšȅɾ ăššɨšƭ ɱǒɗȅxxxx]","Close this frame to leave the user.":"[Ĉļǒšȅ ƭɧɨš ƒɾăɱȅ ƭǒ ļȅăʋȅ ƭɧȅ ʊšȅɾ.xxxxxxxxxx]","Close this frame to return to MSSP.":"[Ĉļǒšȅ ƭɧɨš ƒɾăɱȅ ƭǒ ɾȅƭʊɾƞ ƭǒ ʍЅЅƤ.xxxxxxxxxx]",Custom:"[Ĉʊšƭǒɱx]",Basic:"[ßăšɨĉx]","Scan Operator":"[Ѕĉăƞ Ǒρȅɾăƭǒɾxxx]",Standard:"[Ѕƭăƞɗăɾɗxx]","Scan Manager":"[Ѕĉăƞ ʍăƞăɠȅɾxxx]",Administrator:"[ Ăɗɱɨƞɨšƭɾăƭǒɾxxxx]","System Administrator":"[Ѕɣšƭȅɱ Ăɗɱɨƞɨšƭɾăƭǒɾxxxxxx]","N/A":"[Ɲ/Ă]"},QuickActions:{Actions:"[Ǭʊɨĉķ Ăĉƭɨǒƞšxxx]"}},pc={Interpolation:{"X identities":"[<%= X %> ɨɗȅƞƭɨƭɨȅšxxxxx]"},Markdown:{"X identities":"[**<%= X %>** ɨɗȅƞƭɨƭɨȅšxxxxxx]"},Plural:{"X identities":{0:"[Ɲǒ ɨɗȅƞƭɨƭɣxxx]",1:"[Ǒƞȅ ɨɗȅƞƭɨƭɣxxx]",2:"[Ҭɯǒ ɨɗȅƞƭɨƭɨȅšxxxx]",n:"[Ѕǒɱȅ ɨɗȅƞƭɨƭɨȅšxxxx]"}}},o_={Header:dc,Tests:pc},i_=Object.freeze(Object.defineProperty({__proto__:null,Header:dc,Tests:pc,default:o_},Symbol.toStringTag,{value:"Module"})),qn={en:Ym,fr:t_,ja:r_,to:i_},s_="en";function a_(e){return t=>n=>r=>{var o,i,s,a;return(a=(s=(i=(o=qn==null?void 0:qn[e])==null?void 0:o[t])==null?void 0:i[n])==null?void 0:s[r])!=null?a:qn[s_][t][n][r]}}class l_{constructor(t){this.storeRoot=this,this.environment=t,this.stores=this._instanciateStores()}}class qe{constructor(t,n){this.storeRoot=t,this.options={...n}}setOptions(t){return this.options={...this.options,...t},this}}var c_=Object.defineProperty,u_=Object.getOwnPropertyDescriptor,we=(e,t,n,r)=>{for(var o=r>1?void 0:r?u_(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&c_(t,n,o),o};class ne extends qe{constructor(t,n){super(t,n),this.$flags=0,jr(this)}reset(){return this.$flags&=-2,this.$flags&=-3,this.$flags&=-5,this.$flags&=-9,this}loading(){return this.$flags|=1,this.$flags&=-3,this.$flags&=-5,this.$flags&=-9,this}stopLoading(){return this.$flags&=-2,this}success(){return this.$flags|=8,this.$flags&=-2,this.$flags&=-3,this.$flags&=-5,this}fail(){return this.$flags|=2,this.$flags&=-2,this.$flags&=-5,this.$flags&=-9,this}forbidden(){return this.$flags|=4,this.$flags&=-2,this.$flags&=-3,this.$flags&=-9,this}get isLoading(){return!!(this.$flags&1)}get isError(){return!!(this.$flags&2)}get isForbidden(){return!!(this.$flags&4)}get isSuccess(){return!!(this.$flags&8)}get flags(){return{flags:!0,isLoading:this.isLoading,isError:this.isError,isForbidden:this.isForbidden,isSuccess:this.isSuccess}}}we([R],ne.prototype,"$flags",2);we([H],ne.prototype,"reset",1);we([H],ne.prototype,"loading",1);we([H],ne.prototype,"stopLoading",1);we([H],ne.prototype,"success",1);we([H],ne.prototype,"fail",1);we([H],ne.prototype,"forbidden",1);we([N],ne.prototype,"isLoading",1);we([N],ne.prototype,"isError",1);we([N],ne.prototype,"isForbidden",1);we([N],ne.prototype,"isSuccess",1);we([N],ne.prototype,"flags",1);class d_ extends qe{constructor(){super(...arguments),this.storeFlagsInitAlerts=new ne(this.storeRoot,{})}}function p_(e){var t;return(t=e.match(/localStorage.setItem\(([^()]+)\)/g))==null?void 0:t.map(n=>n.match(/'[^']+'/g)).map(n=>n.map(r=>r.split("'").join("")))}class h_ extends qe{constructor(){super(...arguments),this.storeFlagsStopImpersonation=new ne(this.storeRoot,{}),this._logger=this.storeRoot.logger}get localStorage(){return this.storeRoot.environment.localStorage}stopMsspImpersonation(){return this.storeRoot.environment.fetchClient.post("/mssp/accounts/logout",{}).then(t=>t.json()).then(t=>fetch(`/saml/login/${t.saml_config_id}`,{method:"POST",body:`SAMLResponse=${encodeURIComponent(t.saml_response)}`,headers:{"content-type":"application/x-www-form-urlencoded"}})).then(t=>t.text()).then(t=>{var n,r,o;this.storeFlagsStopImpersonation.success(),(n=this.localStorage)==null||n.removeItem(u.LocalStorageKey.isMsspParent),(r=this.localStorage)==null||r.removeItem(u.LocalStorageKey.IronImpersonate),(o=p_(t))==null||o.forEach(([i,s])=>{var a;return(a=this.localStorage)==null?void 0:a.setItem(i,s)}),this.storeRoot.redirectToTio("mssp/accounts")}).catch(t=>{this.storeFlagsStopImpersonation.fail(),this._logger("error")(t)}),this}stopAdminImpersonation(){return this.storeRoot.environment.fetchClient.post("/session/restore",{}).then(()=>{var t;this.storeFlagsStopImpersonation.success(),(t=this.localStorage)==null||t.removeItem(u.LocalStorageKey.IronImpersonate),this.storeRoot.redirectToTio("settings/access-control/users",u.LocalStorageSelectedApplication.settings)}).catch(t=>{this.storeFlagsStopImpersonation.fail(),this._logger("error")(t)}),this}stopImpersonation(){return this.isMsspChild?this.stopMsspImpersonation():this.stopAdminImpersonation()}get isImpersonating(){var t;return((t=this.localStorage)==null?void 0:t.getItem(u.LocalStorageKey.IronImpersonate))==="true"}get isMsspImpersonation(){var t;return u.j((t=this.localStorage)==null?void 0:t.getItem(u.LocalStorageKey.isMsspParent))}get isMsspChild(){var t,n;return!!(((t=this.storeRoot.stores.storeAuthentication.session)==null?void 0:t.rawSession.containerType)==="local"&&((n=this.storeRoot.stores.storeAuthentication.session)==null?void 0:n.rawSession.type)==="mssp"&&this.isMsspImpersonation)}get isMsspParent(){var t;return((t=this.storeRoot.stores.storeAuthentication.session)==null?void 0:t.rawSession.containerType)==="mssp"}get isImpersonation(){var t;return((t=this.storeRoot.stores.storeAuthentication.session)==null?void 0:t.rawSession.containerType)==="mssp"}get isNormalUser(){var t,n;return((t=this.storeRoot.stores.storeAuthentication.session)==null?void 0:t.rawSession.containerType)==="local"&&((n=this.storeRoot.stores.storeAuthentication.session)==null?void 0:n.rawSession.type)==="local"}}function f_(e){return e.split(";").filter(v_).map(t=>t.split("=")).reduce((t,n)=>(t[decodeURIComponent(n[0].trim())]=decodeURIComponent(n[1].trim()),t),{})}function v_(e){return!(!u.j(e)||String(e.trim())==="")}function b_(e){return`token=${e}`}var g_=Object.defineProperty,m_=Object.getOwnPropertyDescriptor,di=(e,t,n,r)=>{for(var o=r>1?void 0:r?m_(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&g_(t,n,o),o};class Vr extends qe{constructor(t,n){super(t,n),this.storeFlagsFetchSession=new ne(this.storeRoot,{}),this.storeFlagsFetchServerProperties=new ne(this.storeRoot,{}),this._serverProperties=null,this._logger=this.storeRoot.logger,this.$session=R.box(null),jr(this)}setupSessionTimeoutPoll(){var s,a;const{services:t}=this.storeRoot.environment.config,{sessionResourceApi:n}=this.storeRoot.environment.openApiClients;if(((s=t.session)==null?void 0:s.checkSessionTimeout)===!1)return;const o=(a=t.session)!=null&&a.checkSessionTimeout?t.session.checkSessionTimeout:n.heartbeatRaw.bind(n),i=3e4;this.storeRoot.environment.config.app.production&&setInterval(()=>{o({}).then(l=>{l.raw.ok||this.redirectToTioLogout(l.raw)}).catch(l=>{this.redirectToTioLogout(l)})},i)}redirectToTioLogout(t){this._logger("error")(`Session timeout detected, redirecting to t.io logout page.
|
|
49
|
+
${t}`),this.storeRoot.redirectToTio("logout")}fetchSession(){var r,o;const{services:t}=this.storeRoot.environment.config,n=(r=t.session)!=null&&r.sessionDataGetter?(o=t.session)==null?void 0:o.sessionDataGetter():this.storeRoot.environment.openApiClients.sessionResourceApi.session();return this.storeFlagsFetchSession.loading(),n.then(i=>{var s;if(!u.isValidSession(i))throw new Error("Invalid session");this.setSession(u.EntitySession.createFromObject(i)),this.storeFlagsFetchSession.success(),(s=this.storeRoot.environment.config.app.handlers)!=null&&s.onTulSessionFetched&&this.storeRoot.environment.config.app.handlers.onTulSessionFetched({tulApi:this.storeRoot.tulApi,session:this.session})}).catch(i=>{var s;throw this._logger("error")("Cant retrieve the session from the backend (%o)",i),this.storeFlagsFetchSession.fail(),(s=this.storeRoot.environment.config.app.handlers)!=null&&s.onTulSessionFetched&&this.storeRoot.environment.config.app.handlers.onTulSessionFetched({tulApi:this.storeRoot.tulApi,session:null}),i})}fetchServerProperties(){var r,o;const{services:t}=this.storeRoot.environment.config,n=(r=t.serverProperties)!=null&&r.serverPropertiesDataGetter?(o=t.serverProperties)==null?void 0:o.serverPropertiesDataGetter():this.storeRoot.environment.openApiClients.wugServerConfigResourceApi.getServerProperties();return this.storeFlagsFetchServerProperties.loading(),n.then(i=>{var s,a;if(!u.isValidServerProperties(i))throw new Error("Invalid server properties");this._serverProperties=i,(s=this.storeRoot.environment.config.app.handlers)!=null&&s.onTulServerPropertiesFetched&&this.storeRoot.environment.config.app.handlers.onTulServerPropertiesFetched({tulApi:this.storeRoot.tulApi,serverProperties:this.serverProperties}),i.license&&(this.storeRoot.stores.storeLayout.initApps(i.license.apps),(a=this.storeRoot.environment.config.app.handlers)!=null&&a.onTulLicensedAppsSet&&this.storeRoot.environment.config.app.handlers.onTulLicensedAppsSet({tulApi:this.storeRoot.tulApi,apps:this.storeRoot.stores.storeLayout.apps})),this.storeFlagsFetchServerProperties.success()}).catch(i=>{var s;throw this._logger("error")("Cant retrieve the server properties from the backend (%s)",i),(s=this.storeRoot.environment.config.app.handlers)!=null&&s.onTulServerPropertiesFetched&&this.storeRoot.environment.config.app.handlers.onTulServerPropertiesFetched({tulApi:this.storeRoot.tulApi,serverProperties:null}),this.storeFlagsFetchServerProperties.fail(),i})}saveAndApplyIronToken(t){var o;const n=(t==null?void 0:t.token)||this.getIronToken();if(!n)throw new Error("Missing authentication token");(o=this.storeRoot.environment.localStorage)==null||o.setItem(u.LocalStorageKey.IronToken,n);const r=this.forgeXCookieHeader();if(!r)throw new Error("Missing x-cookie header");return this.storeRoot.environment.fetchClient.setHeaders(r),this.storeRoot.environment.openApiClients.setAuthToken(r),this}forgeXCookieHeader(){const t=this.getIronToken();return t?{"x-cookie":b_(t)}:null}getIronToken(){var n;return f_(this.storeRoot.environment.document.cookie)[u.LocalStorageKey.IronToken]||((n=this.storeRoot.environment.localStorage)==null?void 0:n.getItem(u.LocalStorageKey.IronToken))||null}isFedramp(){var n,r;const t=(r=(n=this.serverProperties)==null?void 0:n.analytics)==null?void 0:r.siteId;return t==="qa-gov01"||t==="gov01"}get serverProperties(){return this._serverProperties}setSession(t){return this.$session.set(t),this}get session(){return Md(this.$session.get())}get userInitials(){var t;return((t=this.$session.get())==null?void 0:t.initials)||"?"}}di([H],Vr.prototype,"setSession",1);di([N],Vr.prototype,"session",1);di([N],Vr.prototype,"userInitials",1);var hc=(e=>(e["t-one-product-renaming"]="t-one-product-renaming",e))(hc||{});class __ extends qe{constructor(){super(...arguments),this.storeFlagsFetchFeatureFlags=new ne(this.storeRoot,{}),this._featureFlags=new Set}fetchFeatureFlags(){this.storeFlagsFetchFeatureFlags.loading();const t=Object.values(hc);return this.storeRoot.environment.openApiClients.wugServerConfigResourceApi.getFeatureFlags({requestBody:t}).then(n=>{const r=t.map(o=>u.get(n,o)==="true"?o:null).filter(u.j);this._featureFlags=new Set(r),this.storeFlagsFetchFeatureFlags.success()}).catch(n=>{throw this.storeFlagsFetchFeatureFlags.fail(),n})}isFeatureFlagEnabled(t){return this._featureFlags.has(t)}get featureFlags(){return Array.from(this._featureFlags)}}const y_=[{id:"dashboards",name:"Dashboards",url:"/dashboards",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>",menuItems:[]},{id:"scans",name:"Scans",url:"/",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>",menuItems:[{id:"scans-1",name:"Scans Item 1",url:"/scans/1",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>"},{id:"scans-2",name:"Scans Item 2",url:"/scans/2"},{id:"scans-3",name:"Scans Item 3",url:"/scans/3"},{id:"scans-4",name:"Scans Item 4",url:"/scans/4"}]},{id:"findings",name:"Findings",url:"/",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>",menuItems:[{id:"findings-1",name:"Findings Item 1",url:"/findings/1",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>"},{id:"findings-2",name:"Findings Item 2",url:"/findings/2",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>"},{id:"findings-3",name:"Findings Item 3",url:"/findings/3",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>"}]},{id:"assets",name:"Assets",url:"/assets",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>",menuItems:[]},{id:"remediation",name:"Remediation",url:"/remediation",icon:"<tenable-workspace-app-vm color='accent-idle' size='medium'></tenable-workspace-app-vm>"},{id:"reports",name:"Reports",url:"/reports",icon:"<img src='../../assets/images/dev/test.png' alt='warning'/>",menuItems:[]}],w_=[{id:"licenseInfo",name:"License Information",url:"/platform-settings/#/license/assets",rbac:e=>e==null?void 0:e.hasAccessToLicense,icon:"<tenable-settings-license color='accent-idle' size='medium'></tenable-settings-license>",target:"_self"},{id:"accessControl",name:"Access Control",url:"/platform-settings/#/access-control/users",rbac:e=>e==null?void 0:e.hasAccessToAccessControl,icon:"<tenable-settings-access-control color='accent-idle' size='medium'></tenable-settings-access-control>",target:"_self"},{id:"activityLogs",name:"Activity Logs",url:"/platform-settings/#/activity-logs",rbac:e=>e==null?void 0:e.hasAccessToActivityLogs,icon:"<tenable-settings-activity-logs color='accent-idle' size='medium'></tenable-settings-activity-logs>",target:"_self"}],$_={selectedApplication:u.LocalStorageSelectedApplication.platformSettings,selectedApplicationTitleNew:"PlatformSettings",selectedAppConfig:null},C_=btoa(JSON.stringify($_)),xs=[{id:u.UserManagementMenuKeys.MyAccount,name:"My Profile",url:`/tio/app.html#/settings/my-account/update-account?appConfig=${C_}`,target:"_self",icon:"<tenable-user-profile color='accent-idle' size='medium'></tenable-user-profile>"},{id:u.UserManagementMenuKeys.SignOut,name:"Sign out",url:"/tio/app.html#/logout",target:"_self",icon:"<tenable-sign-out color='accent-idle' size='medium'></tenable-sign-out>"},{id:u.UserManagementMenuKeys.WhatsNew,name:"What's new",url:"https://docs.tenable.com/release-notes/Content/vulnerability-management/tenableio.htm",icon:"<tenable-announcement color='accent-idle' size='medium'></tenable-announcement>"},{id:u.UserManagementMenuKeys.ViewDocumentation,name:"View Documentation",url:"https://docs.tenable.com/vulnerability-management.htm",icon:"<tenable-book color='accent-idle' size='medium'></tenable-book>"}],S_=(e,t,n="id")=>{const r=e,o=t;return r.filter(i=>!o.find(s=>i[n]===s[n])).concat(o)};class Ur extends Event{constructor(t="tenableBaseEvent",n,r){const o={bubbles:!0,cancelable:!1,composed:!0,...r};super(t,o),this.payload=n}}class ee extends Ur{}ee.UNIVERSAL_NAVIGATION_BUTTON_CLICKED="tenable-navigation-button-clicked";ee.UNIVERSAL_NAVIGATION_MENU_COLLAPSED="tenable-universal-navigation-menu-collapsed";ee.UNIVERSAL_NAVIGATION_ITEM_CLICKED="tenable-navigation-item-clicked";ee.UNIVERSAL_NAVIGATION_MENU_ITEM_CLICKED="tenable-navigation-menu-item-clicked";ee.UNIVERSAL_NAVIGATION_POPOVER_OPENED="tenable-universal-navigation-popover-opened";function x_(e,t){return e.reduce((n,r)=>{const o=r[t];return o&&n.set(o,r),n},new Map)}const A_={"tul-header/height":"64px","tul-header/background":"var(--tenb-colors-background-page)","tul-floating-button-hover/background":"var(--tenb-colors-background-button-floating-hover)","tul-title/color":"var(--tenb-colors-text-brand)","tul-title/fontFamily":"var(--tenb-fonts-brand-medium)","tul-title/fontSize":"var(--tenb-fontSizes-24)"},O_={"tul-header/height":"64px","tul-header/background":"var(--tenb-colors-background-page)","tul-floating-button-hover/background":"var(--tenb-colors-background-button-floating-hover)","tul-title/color":"var(--tenb-colors-text-brand)","tul-title/fontFamily":"var(--tenb-fonts-brand-medium)","tul-title/fontSize":"var(--tenb-fontSizes-24)"},P_={default:A_,Tio:O_};var E_=Object.defineProperty,k_=Object.getOwnPropertyDescriptor,Pt=(e,t,n,r)=>{for(var o=r>1?void 0:r?k_(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&E_(t,n,o),o};class lt extends qe{constructor(t,n){super(t,n),this.$data=R.box(null),this.$drawerState=0,jr(this)}getDataValue(t){const n=this.$data.get();return n&&n[t]||null}reset(){return this.closeDrawer(),this.clearData(),this}clearData(){return this.$data.set(null),this}setData(t){return this.$data.set({...this.$data.get(),...t}),this}openDrawer(){return this.$drawerState|=1,this}closeDrawer(){return this.$drawerState&=-2,this.$data.set(null),this}get isDrawerOpened(){return!!(this.$drawerState&1)}get data(){return this.$data.get()}}Pt([R],lt.prototype,"$drawerState",2);Pt([H],lt.prototype,"clearData",1);Pt([H],lt.prototype,"setData",1);Pt([H],lt.prototype,"openDrawer",1);Pt([H],lt.prototype,"closeDrawer",1);Pt([N],lt.prototype,"isDrawerOpened",1);Pt([N],lt.prototype,"data",1);const T_={workspace:new u.EntityApp("workspace"),one:new u.EntityApp("one"),cns:new u.EntityApp("cns"),lumin:new u.EntityApp("lumin").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.lumin),ec:new u.EntityApp("ec"),was:new u.EntityApp("was").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.was),tio:new u.EntityApp("tio").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.tenable_io),ad:new u.EntityApp("ad").forceSamlRedirection(!0),apa:new u.EntityApp("apa"),aiv:new u.EntityApp("aiv").setUrl("/one/#/assets-new"),pci:new u.EntityApp("pci").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.pci),asm:new u.EntityApp("asm"),cnapp:new u.EntityApp("cnapp"),tpc:new u.EntityApp("tpc"),tpcConsec:new u.EntityApp("tpcConsec"),tpcSc:new u.EntityApp("tpcSc"),reports:new u.EntityApp("reports")},I_={Datasources:new u.EntityApp("Datasources").setUrl("/one/#/data-sources"),MyAccount:new u.EntityApp("MyAccount").setUrl("/tio/app.html#/settings/my-account/update-account").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.myAccount),SystemSettings:new u.EntityApp("SystemSettings").setUrl("/tio/app.html#/settings").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.settings),License:new u.EntityApp("License").setUrl("/tio/app.html#/settings/license").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.license),UserManagement:new u.EntityApp("UserManagement").setUrl("/tio/app.html#/settings/access-control/users").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.accessControl),Roles:new u.EntityApp("Roles").setUrl("/tio/app.html#/settings/access-control/roles").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.accessControl),Authentication:new u.EntityApp("Authentication").setUrl("/tio/app.html#/settings/my-account/update-account").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.myAccount),ActivityLogs:new u.EntityApp("ActivityLogs").setUrl("/tio/app.html#/settings/activity-logs").setLocalStorageSelectedApplication(u.LocalStorageSelectedApplication.settings).setLocalStorageSelectedTioSettingsPage(u.SelectedTioSettingsPage.activityLogs),Logout:new u.EntityApp("Logout").setUrl("/tio/app.html#/logout")};var D_=Object.defineProperty,L_=Object.getOwnPropertyDescriptor,F=(e,t,n,r)=>{for(var o=r>1?void 0:r?L_(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&D_(t,n,o),o};class U extends qe{constructor(t,n){super(t,n),this.storeDrawerMainNavigation=new lt(this.storeRoot,{}),this.$apps=R.map(),this.$currentAppSelected=R.box(null),this.$selectedSideBarMenuItem=R.box(""),this.$selectedSettingsMenuItem=R.box(""),this.$selectedUserProfileMenuItem=R.box(""),this.$selectedQuickActionsMenuItem=R.box(""),this.$logo=R.box(""),this.$notificationsCount=R.box(),this.$chatCount=R.box(),this.$language=R.box("en"),this.$breadcrumbs=R.box([]),this._layoutPreferences={mainNavigation:"closed"},jr(this)}initApps(t){this._setProductsApps(t),this._setPagesApps()}openMainNavigation(){this.storeDrawerMainNavigation.openDrawer(),this._layoutPreferences.mainNavigation="opened",this._saveLayoutPreferencesInLocalStorage(this._layoutPreferences)}closeMainNavigation(){this.storeDrawerMainNavigation.closeDrawer(),this._layoutPreferences.mainNavigation="closed",this._saveLayoutPreferencesInLocalStorage(this._layoutPreferences)}toggleMainNavigation(){this.storeDrawerMainNavigation.isDrawerOpened?this.closeMainNavigation():this.openMainNavigation()}_setPagesApps(){return u.H.entries(I_).forEach(([t,n])=>this._setApp(t,n)),this}_setProductsApps(t){return u.H.entries(T_).forEach(([n,r])=>{if(!r)return;const o=t[n];o&&(!o.enabled&&n!=="one"||this._setApp(n,r,o))}),this}_saveLayoutPreferencesInLocalStorage(t){var n;return(n=this.storeRoot.environment.localStorage)==null||n.setItem(u.LocalStorageKey.Layout,JSON.stringify(t)),this}_setApp(t,n,r){var o,i,s;n.setAppLicense(r).setWorkspaceDomain((s=(i=(o=this.storeRoot.config.services.serverProperties)==null?void 0:o.parameters)==null?void 0:i.workspaceDomain)!=null?s:null).setNavigateFn(a=>{var l,c;n.localStorageSelectedApplication&&((l=this.storeRoot.environment.localStorage)==null||l.setItem(u.LocalStorageKey.selectedApplication,n.localStorageSelectedApplication)),(c=this.storeRoot.environment.config.app.handlers)!=null&&c.onTulNavigate&&(this.storeRoot.environment.config.app.handlers.onTulNavigate({tulApi:this.storeRoot.tulApi,url:a}),this.storeRoot.stores.storeLayout.storeDrawerMainNavigation.closeDrawer())}),this.$apps.set(t,n)}setCurrentAppSelected(t){return this.$currentAppSelected.set(t),this}setToggleMainNavigation(t){var l,c,d;if(this.storeDrawerMainNavigation.isDrawerOpened===t)return this;t?this.openMainNavigation():this.closeMainNavigation();const n={isNavigationOpen:this.isNavigationOpened,nativeEvent:void 0},r={bubbles:!0,composed:!0},o=new ee(ee.UNIVERSAL_NAVIGATION_BUTTON_CLICKED,n,r);document.dispatchEvent(o);const i={eventName:u.TulEvent.onTulEventHamburgerClick,detail:{nativeEvent:void 0,navigationOpened:this.isNavigationOpened,tulApi:this.storeRoot.tulApi}},s={detail:{...i.detail,tulApi:this.storeRoot.tulApi},bubbles:!0,composed:!0},a=new CustomEvent(i.eventName,s);return(l=this.storeRoot.tulRoot)==null||l.dispatchEvent(a),(d=(c=this.storeRoot.environment.config.app.handlers)==null?void 0:c.onTulHamburgerClick)==null||d.call(c,{tulEvent:i}),this}setSelectedUserProfileMenuItem(t){return this.$selectedUserProfileMenuItem.set(t),this}setSelectedQuickActionsMenuItem(t){return this.$selectedQuickActionsMenuItem.set(t),this}setSelectedSettingsMenuItem(t){return this.$selectedSettingsMenuItem.set(t),this}setSelectedSideBarMenuItem(t){return this.$selectedSideBarMenuItem.set(t),this}setNotificationsCount(t){return this.$notificationsCount.set(t),this}setChatCount(t){return this.$chatCount.set(t),this}setLanguage(t){return this.$language.set(t),this}setBreadcrumbs(t){return this.$breadcrumbs.set(t),this}setLogo(t){return this.$logo.set(t),this}get userMenuData(){var r,o;const t=!!this.storeRoot.config.app.userProfile,n=t&&!!((o=(r=this.storeRoot.config.app.userProfile)==null?void 0:r.menu)!=null&&o.length);return this.storeRoot.config.app.userProfile&&t&&n?this.storeRoot.isInSass?S_(xs,this.storeRoot.config.app.userProfile.menu):this.storeRoot.config.app.userProfile.menu:xs}get navigationData(){return y_}get settingsMenuData(){return w_}get allApps(){return this.$apps}get apps(){const t=Array.from(this.$apps.values()).filter(n=>n.isEnabled()||n.appName==="one");return x_(t,"appName")}get isNavigationOpened(){return this.storeDrawerMainNavigation.isDrawerOpened}get theme(){var r,o,i;const{app:t}=this.storeRoot.environment.config,n=P_[(o=(r=t.theme)==null?void 0:r.base)!=null?o:"default"];return u.Q([n,(i=t.theme)==null?void 0:i.overrides])}get currentAppSelected(){return this.$currentAppSelected.get()}get notificationsCount(){return this.$notificationsCount.get()}get selectedSideBarMenuItem(){return this.$selectedSideBarMenuItem.get()}get selectedSettingsMenuItem(){return this.$selectedSettingsMenuItem.get()}get selectedUserProfileMenuItem(){return this.$selectedUserProfileMenuItem.get()}get selectedQuickActionsMenuItem(){return this.$selectedQuickActionsMenuItem.get()}get chatCount(){return this.$chatCount.get()}get language(){return this.$language.get()}get breadcrumbs(){return this.$breadcrumbs.get()}get logo(){return this.$logo.get()}}F([H],U.prototype,"_setApp",1);F([H],U.prototype,"setCurrentAppSelected",1);F([H],U.prototype,"setToggleMainNavigation",1);F([H],U.prototype,"setSelectedUserProfileMenuItem",1);F([H],U.prototype,"setSelectedQuickActionsMenuItem",1);F([H],U.prototype,"setSelectedSettingsMenuItem",1);F([H],U.prototype,"setSelectedSideBarMenuItem",1);F([H],U.prototype,"setNotificationsCount",1);F([H],U.prototype,"setChatCount",1);F([H],U.prototype,"setLanguage",1);F([H],U.prototype,"setBreadcrumbs",1);F([H],U.prototype,"setLogo",1);F([N],U.prototype,"userMenuData",1);F([N],U.prototype,"navigationData",1);F([N],U.prototype,"settingsMenuData",1);F([N],U.prototype,"allApps",1);F([N],U.prototype,"apps",1);F([N],U.prototype,"isNavigationOpened",1);F([N],U.prototype,"theme",1);F([N],U.prototype,"currentAppSelected",1);F([N],U.prototype,"notificationsCount",1);F([N],U.prototype,"selectedSideBarMenuItem",1);F([N],U.prototype,"selectedSettingsMenuItem",1);F([N],U.prototype,"selectedUserProfileMenuItem",1);F([N],U.prototype,"selectedQuickActionsMenuItem",1);F([N],U.prototype,"chatCount",1);F([N],U.prototype,"language",1);F([N],U.prototype,"breadcrumbs",1);F([N],U.prototype,"logo",1);function As(e,t){return Array.from(Object.entries(e)).reduce((n,[r,o])=>!(t&&t.includes(r))&&!u.j(o)?n:{...n,[r]:o},{})}function M_(e,t,n="https://cdn.pendo.io/agent/static/"){var o;const r=document.querySelector("script[src^='"+n+"']");return r&&((o=t.pendo)==null||o.clearSession(),delete t.pendo,r.remove()),new Promise(i=>{function s(a,l,c,d,p){let h,v,m,g,_;for(p=a[d]=a[d]||{},p._q=[],h=["initialize","identify","updateOptions","pageLoad"],v=0,m=h.length;v<m;++v)(function(S){p[S]=p[S]||function(){p._q[S===h[0]?"unshift":"push"]([S].concat([].slice.call(arguments,0)))}})(h[v]);g=l.createElement(c),g.async=!0,g.src=`${n}${e}/pendo.js`,g.addEventListener("load",i),_=l.getElementsByTagName(c)[0],_.parentNode.insertBefore(g,_)}return s(t,document,"script","pendo",{})})}function Os(e,t,n){e.environment.envName!=="stubbed"&&M_(t,e.environment.window,n)}const vr="99999999-9999-9999-9999-999999999999";function fc(e){return u.D(e).reduce((t,n)=>({...t,[n.name]:n.value}),{})}function R_(e,t){const{optOut:n=!1,userUuid:r,containerUuid:o,site:i=null}=e,s=fc(t),a={id:`${vr}-1`,user_uuid:"N/A",container_uuid:`${vr}-2`,site:"N/A",...s};return n?a:!o||!r||!i?null:{id:o,user_uuid:r,container_uuid:o,site:i,...s}}function N_(e,t){const{optOut:n=!1,userUuid:r,containerUuid:o,role:i="N/A"}=e,s=fc(t),a={id:`${vr}-1`,user_uuid:"N/A",container_uuid:`${vr}-2`,role:"N/A",...s};return n?a:!r||!o||!i?null:{id:`${o}-${r}`,user_uuid:r,container_uuid:o,role:i,...s}}class j_ extends qe{constructor(){super(...arguments),this.storeFlagsFetchPendoData=new ne(this.storeRoot,{}),this._pendoData=null,this._logger=u.newLogger("tul")("pendo"),this.closeResourceCenter=t=>{var s;if(!((s=this.storeRoot.environment.config.services.pendo)!=null&&s.enabled))return;const n="pendo-resource-center-container",r=document.getElementById(n),{pendo:o}=this.storeRoot.environment.window;if(t instanceof CustomEvent){o&&r&&o.BuildingBlocks.BuildingBlockResourceCenter.dismissResourceCenter();return}const i=t.target.closest(`#${n}`);o&&r&&!i&&o.BuildingBlocks.BuildingBlockResourceCenter.dismissResourceCenter()}}initPendo(){var n;if(((n=this.storeRoot.environment.config.services.pendo)==null?void 0:n.enabled)!==!0)return Promise.resolve();const{parameters:t}=this.storeRoot.environment.config.services.pendo;return t?this._fetchInitPendoData().then(()=>t.scriptUrl?Os(this.storeRoot,t.apikey,t.scriptUrl):Os(this.storeRoot,t.apikey)).then(()=>{var l,c,d,p,h;const{pendo:r}=this.storeRoot.environment.window;if(!r)throw new Error("Pendo is not defined. Script loading has failed?");if(!this.pendoData)throw new Error("Unable to get Pendo init data, check the session and/or Pendo fetched data if defined");const o=N_(As({optOut:!1,userUuid:this.pendoData.uuid,containerUuid:this.pendoData.containerUuid,role:u.getRoleNameFromPermission(this.pendoData.permissions)}),(c=(l=this.storeRoot.environment.config.services.pendo)==null?void 0:l.metadata)==null?void 0:c.visitor),i=R_(As({optOut:!1,userUuid:this.pendoData.uuid,containerUuid:this.pendoData.containerUuid,site:this.pendoData.siteId}),(p=(d=this.storeRoot.environment.config.services.pendo)==null?void 0:d.metadata)==null?void 0:p.account);if(!o||!i)throw new Error("Unable to build visitor and account identities. Check Pendo init data.");const s={disablePersistence:!0,visitor:o,account:i},a=u.Q([s,(h=this.storeRoot.environment.config.services.pendo)==null?void 0:h.initOptions]);r.initialize(a),this._logger("info")("Init done with options %o",s)}).catch(r=>{throw this._logger("warn")("Error during Pendo initialization: %o",r.message),r}):(this._logger("error")("Missing Pendo parameters in TUL configuration"),Promise.resolve())}get pendoData(){var n,r;const t=(n=this.storeRoot.stores.storeAuthentication.session)==null?void 0:n.rawSession;if(this._pendoData)return{containerUuid:this._pendoData.containerUuid,uuid:this._pendoData.uuid,siteId:this._pendoData.siteId,permissions:this._pendoData.permissions};if(t){const o=(r=this.storeRoot.stores.storeAuthentication.serverProperties)==null?void 0:r.analytics.siteId;return{containerUuid:t.containerUuid,uuid:t.uuid,siteId:o!=null?o:"",permissions:t.permissions}}return null}_fetchInitPendoData(){var n;const{services:t}=this.storeRoot.environment.config;return(n=t.pendo)!=null&&n.pendoDataGetter?(this.storeFlagsFetchPendoData.loading(),t.pendo.pendoDataGetter().then(r=>{this._pendoData=r,this.storeFlagsFetchPendoData.success()}).catch(r=>{throw this.storeFlagsFetchPendoData.fail(),r})):Promise.resolve()}}function B_(e){return e.environment.envName==="stubbed"?Promise.resolve():Promise.resolve().then(()=>require("./framework-browser-telemetry-17e06fd1.js"))}class V_ extends qe{constructor(){super(...arguments),this.storeFlagsInitTelemetry=new ne(this.storeRoot,{}),this.licenseMode={core:"core",properties:"properties",license:"license",apps:"apps",expired:"expired",type:"type",standard:"standard",evaluation:"evaluation",none:"none",mode:"mode",hideClassicUI:"hide_classic_ui"},this._logger=u.newLogger("tul")("telemetry"),this._lastDatePageVisited=new Date,this._unixDateToIso=t=>new Date(parseInt(t)*1e3).toISOString().split("T")[0],this._dateDiffInDays=(t=new Date,n=new Date)=>{const a=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()),l=Date.UTC(n.getFullYear(),n.getMonth(),n.getDate());return Math.floor((l-a)/864e5)},this._convertUnixTimeToDate=t=>{const n=new Date(t);return n.getDate()+"-"+n.getMonth()+"-"+n.getFullYear()},this._checkUserExpirationAndGetDate=(t,n=!1)=>{const r=(t==null?void 0:t.expiration_date)||(t==null?void 0:t.expiration_data);return n?t&&r?this._unixDateToIso(r):"":!!(!t||r&&this._dateDiffInDays(new Date(this._convertUnixTimeToDate(parseInt(r))))>0)},this._getUserProperties=({consec:t,lumin:n,pci:r,was:o,cns:i,type:s,expirationDate:a,evaluation:l})=>{let c=s==="ep"?this.licenseMode.standard:this.licenseMode.none,d=l?this.licenseMode.evaluation:this.licenseMode.standard,p=r?r.mode:this.licenseMode.none,h=n?n.mode:this.licenseMode.none,v=t?t.mode:this.licenseMode.none,m=o?o.mode:this.licenseMode.none,g=i?i==null?void 0:i.mode:this.licenseMode.none;return a&&(s&&this._dateDiffInDays(new Date(this._convertUnixTimeToDate(a)))>0&&(c=this.licenseMode.expired),this._dateDiffInDays(new Date(this._convertUnixTimeToDate(a)))>0&&(d=this.licenseMode.expired)),this._checkUserExpirationAndGetDate(t)&&(v=this.licenseMode.expired),this._checkUserExpirationAndGetDate(r)&&(p=this.licenseMode.expired),this._checkUserExpirationAndGetDate(n)&&(h=this.licenseMode.expired),this._checkUserExpirationAndGetDate(o)&&(m=this.licenseMode.expired),this._checkUserExpirationAndGetDate(i)&&(g=this.licenseMode.expired),{licenseTep:c,licenseVm:d,licenseConsec:v,licensePci:p,licenseLumin:h,licenseWas:m,licenseCns:g,tepExpirationDate:s&&a?this._unixDateToIso(a):"",vmExpirationDate:a?this._unixDateToIso(a):"",pciExpirationDate:this._checkUserExpirationAndGetDate(r,!0),consecExpirationDate:this._checkUserExpirationAndGetDate(t,!0),luminExpirationDate:this._checkUserExpirationAndGetDate(n,!0),wasExpirationDate:this._checkUserExpirationAndGetDate(o,!0),cnsExpirationDate:this._checkUserExpirationAndGetDate(i,!0)}},this._extractTraitsForTelemetry=t=>{var d;const{containerName:n,permissions:r,uuid:o,containerUuid:i}=t.session,{isMsspParent:s}=this.storeRoot.stores.storeAssistMode,a=(d=document==null?void 0:document.documentElement)==null?void 0:d.getAttribute("data-theme"),l=this._getUserProperties(t.properties),c={container_id:i,site_id:t.properties.analytics.siteId,role:u.getRoleNameFromPermission(r),is_mssp_account:s?"Yes":"No",license_vm:l.licenseVm,theme:a!=null?a:"light",eval:/Eval/gi.test(n),vm_expiration_date:l.vmExpirationDate,...l.licenseTep!==this.licenseMode.none&&{license_tep:l.licenseTep,tep_expiration_date:l.tepExpirationDate},...l.licensePci!==this.licenseMode.none&&{license_pci:l.licensePci,pci_expiration_date:l.pciExpirationDate},...l.licenseLumin!==this.licenseMode.none&&{license_lumin:l.licenseLumin,lumin_expiration_date:l.luminExpirationDate},...l.licenseConsec!==this.licenseMode.none&&{license_consec:l.licenseConsec,consec_expiration_date:l.consecExpirationDate},...l.licenseWas!==this.licenseMode.none&&{license_was:l.licenseWas,was_expiration_date:l.wasExpirationDate},...l.licenseCns!==this.licenseMode.none&&{"license_cloud-security":l.licenseCns,"cloud-security_expiration_date":l.cnsExpirationDate}};return{userUuid:o,traits:c}}}initTelemetry(){var n;if(!((n=this.storeRoot.environment.config.services.telemetry)!=null&&n.enabled))return Promise.resolve();const{parameters:t}=this.storeRoot.environment.config.services.telemetry;return t?B_(this.storeRoot).then(()=>{var c,d;if(!((c=this.storeRoot.environment.config.services.telemetry)!=null&&c.enabled))return;const r=(d=this.storeRoot.stores.storeAuthentication.session)==null?void 0:d.rawSession;if(!this.storeRoot.stores.storeAuthentication.serverProperties||!r)throw new Error("Init failed - Some metadata is missing");const{analytics:{siteId:o}}=this.storeRoot.stores.storeAuthentication.serverProperties,{containerName:i,permissions:s,uuid:a,containerUuid:l}=r;if(!i||!s||!a||!l)throw new Error("Init failed - Some metadata is missing");this.enableTelemetry({parameters:t,siteId:o}),this.identifyTelemetry({session:r,properties:this.storeRoot.stores.storeAuthentication.serverProperties})}).catch(r=>{throw this._logger("warn")("Error during initialization"),this._logger("debug")(r.message),r}):(this._logger("error")("Missing Telemetry parameters in TUL configuration"),Promise.resolve())}enableTelemetry(t){const{parameters:n,siteId:r}=t,o=!!r.match(/qa-|us-2b/gi);if(!this._telemetry)return this;const i={namespace:"tenable-io/webui-frontend-nextgen",development:!1,autotrack:!0,debug:!1,properties:{product:this.storeRoot.appId,component:"webui-frontend",internal:o}},s=u.Q([i,n]);return this._telemetry.enable(s.namespace,s),this}identifyTelemetrySimple(t){const{userUuid:n,containerUuid:r,containerName:o,siteId:i,permissions:s}=t;if(!this._telemetry)return this;const a=/Eval/gi.test(o);return this._telemetry.identify(n,{container_id:r,site_id:i,role:u.getRoleNameFromPermission(s),eval:a}),this}identifyTelemetry(t){if(!this._telemetry)return this;const{userUuid:n,traits:r}=this._extractTraitsForTelemetry(t);return this._telemetry.identify(n,r),this}trackTelemetry(t,n){var o,i,s;const r=(i=(o=document==null?void 0:document.documentElement)==null?void 0:o.getAttribute("data-theme"))!=null?i:"light";return this._logEvent(t,{...n,language:(s=this.storeRoot.stores.storeLayout.language)!=null?s:"en",theme:r!=null?r:"light"}),this}logCustomPageVisited(t){const n={pageName:t,href:window.location.href};return this._logPageVisitedEvent(n)&&(this._lastDatePageVisited=new Date,this._logger("debug")("🚀 Log page visited:",n)),this}logCustomPageLeft(t){const n=this._getTimeSpent(),r={pageName:t,href:window.location.href,timeSpent:n};return this._logPageLeftEvent(r)&&this._logger("debug")("⌛ Log page left:",r),this}logCustomFormSubmitted(t){const n={formName:t};return this._logFormSubmittedEvent(n)&&this._logger("debug")("Form submitted",n),this}logPageVisited(t){return this._logPageEvent(t)&&this._logger("debug")("🚀 Log Browser Page visited",t),this}get _telemetry(){var i;const{window:t,envName:n}=this.storeRoot.environment,r=(i=this.storeRoot.environment.config.services.telemetry)==null?void 0:i.enabled;let o=null;return r?o=t.telemetry:o=window.telemetry,n=="stubbed"?(this._logger("info")("Telemetry framework is not imported for tests"),null):o&&o.enable?o:(this._logger("warn")("Cannot enable telemetry - Missing framework"),null)}_getTimeSpent(){const t=this._lastDatePageVisited;return Math.round((new Date().getTime()-t.getTime())/1e3)}_logPageVisitedEvent(t){return this._logEvent("page visited",t)}_logPageLeftEvent(t){return this._logEvent("page left",t)}_logFormSubmittedEvent(t){return this._logEvent("tone / form / submitted",t)}_logEvent(t,n){return!this._telemetry||!this.storeRoot.stores.storeAuthentication.session?!1:(this._telemetry.event(t,n),!0)}_logPageEvent(t){return!this._telemetry||!this.storeRoot.stores.storeAuthentication.session?!1:(this._telemetry.page(t),!0)}}var U_=Object.defineProperty,H_=Object.getOwnPropertyDescriptor,pi=(e,t,n,r)=>{for(var o=r>1?void 0:r?H_(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&U_(t,n,o),o};const F_=["/asset-inventory","/cyber-asset-management","/exposure-view","/apa","/cns","/webapp"],Hr=class vc extends l_{constructor(){super(...arguments),this.$tulRoot=R.box()}async init(t){try{return await this._initSession(t),await Promise.all([this._initServerProperties(t),this._initFeatureFlags(t)]),this._initPendo(t),this._initTelemetry(t),this._initLanguage(t),this._initAppLogo(t),this.logger("debug")("Initialization done with: %o",t),this.tulApi}catch(n){throw n instanceof Error&&(this.logger("error")("Initialization failed: %s",n.message),n.stack&&this.logger("debug")(n.stack)),n}}async _initFeatureFlags(t){var n;return((n=t.services.featureFlags)==null?void 0:n.enabled)!==!0?this:(await this.stores.storeFeatureFlags.fetchFeatureFlags(),this)}async _initSession(t){var r,o,i,s;return((r=t.services.session)==null?void 0:r.enabled)===!1?this:(((s=(i=(o=t.services.session)==null?void 0:o.parameters)==null?void 0:i.disableIronToken)!=null?s:!1)||this.stores.storeAuthentication.saveAndApplyIronToken(),await this.stores.storeAuthentication.fetchSession(),this.stores.storeAuthentication.setupSessionTimeoutPoll(),this)}async _initServerProperties(t){var n;return((n=t.services.serverProperties)==null?void 0:n.enabled)===!1?this:(await this.stores.storeAuthentication.fetchServerProperties(),this)}async _initPendo(t){var n;return this.stores.storeAuthentication.isFedramp()?(this.logger("info")("Pendo cant be enabled on Fedramp platforms."),this):((n=t.services.pendo)==null?void 0:n.enabled)===!1?this:(await this.stores.storePendo.initPendo(),this)}async _initLanguage(t){var n;if(this.stores.storeLayout.language){const{language:r}=(n=t.i18n)!=null?n:"en";return this.stores.storeLayout.setLanguage(r),this}return this}async _initAppLogo(t){const{name:n,directory:r,source:o}=t.app.logo;if(n){if(!r&&!o)throw new Error("At least directory or source field has to be valid.");if(this.isLogoFromDirectory)this.stores.storeLayout.setLogo(`${r}/${n}.svg`);else if(this.isLogoFromSource)this.stores.storeLayout.setLogo(o);else throw this.isLogoFromDirectory?new Error("The source of the logo has not been set properly in config"):new Error("The directory of the logo has not been set properly in config")}else throw new Error("The name of the logo has not been set properly in config");return this}async _initTelemetry(t){var n;return this.stores.storeAuthentication.isFedramp()?(this.logger("info")("Telemetry cant be enabled on Fedramp platforms."),this):((n=t.services.telemetry)==null?void 0:n.enabled)===!1?this:(await this.stores.storeTelemetry.initTelemetry(),this)}redirectToClickedApp(t,n,r=!1){var o,i;if(n?(o=this.environment.localStorage)==null||o.setItem(u.LocalStorageKey.selectedApplication,n):(i=this.environment.localStorage)==null||i.removeItem(u.LocalStorageKey.selectedApplication),r&&window){window.open(t,"_blank");return}window&&(window.document.location.href=`${t}`,F_.filter(s=>t.includes(s)).length===0&&setTimeout(()=>{window.location.reload()},500))}redirectToTio(t,n=u.LocalStorageSelectedApplication.tenable_io){var r;(r=this.environment.localStorage)==null||r.setItem(u.LocalStorageKey.selectedApplication,n),window.document.location.href=`/tio/app.html#/${t}`}setTulRoot(t){return this.$tulRoot.set(t),this}get config(){return this.environment.config}get logger(){return u.newLogger("tul")("runtime")}get tulRoot(){return this.$tulRoot.get()}get translator(){return a_}get tulApi(){return{_storeRoot:this,_tulRoot:this.tulRoot,trackTelemetry:this.stores.storeTelemetry.trackTelemetry.bind(this.stores.storeTelemetry),logCustomPageVisited:this.stores.storeTelemetry.logCustomPageVisited.bind(this.stores.storeTelemetry),logCustomPageLeft:this.stores.storeTelemetry.logCustomPageLeft.bind(this.stores.storeTelemetry),logPageVisited:this.stores.storeTelemetry.logPageVisited.bind(this.stores.storeTelemetry),setCurrentAppSelected:this.stores.storeLayout.setCurrentAppSelected.bind(this.stores.storeLayout),setNotificationsCount:this.stores.storeLayout.setNotificationsCount.bind(this.stores.storeLayout),setChatCount:this.stores.storeLayout.setChatCount.bind(this.stores.storeLayout),setSelectedSideBarMenuItem:this.stores.storeLayout.setSelectedSideBarMenuItem.bind(this.stores.storeLayout),setSelectedSettingsMenuItem:this.stores.storeLayout.setSelectedSettingsMenuItem.bind(this.stores.storeLayout),setSelectedUserProfileMenuItem:this.stores.storeLayout.setSelectedUserProfileMenuItem.bind(this.stores.storeLayout),setSelectedQuickActionsMenuItem:this.stores.storeLayout.setSelectedQuickActionsMenuItem.bind(this.stores.storeLayout),setLanguage:this.stores.storeLayout.setLanguage.bind(this.stores.storeLayout),setLogo:this.stores.storeLayout.setLogo.bind(this.stores.storeLayout),setToggleMainNavigation:this.stores.storeLayout.setToggleMainNavigation.bind(this.stores.storeLayout),setBreadcrumbs:this.stores.storeLayout.setBreadcrumbs.bind(this.stores.storeLayout)}}get appId(){return this.config.app.id}get disableImpersonation(){var t,n,r;return!!((r=(n=(t=this.config)==null?void 0:t.impersonation)==null?void 0:n.disable)!=null&&r)}_instanciateStores(){return{storeRoot:this,storeLayout:new U(this,{}),storeAuthentication:new Vr(this,{}),storeAlerts:new d_(this,{}),storePendo:new j_(this,{}),storeTelemetry:new V_(this,{}),storeAssistMode:new h_(this,{}),storeFeatureFlags:new __(this,{})}}static createRootStore(t,n={override:!1}){if(this.instance&&n.override===!1)return this.instance;const r=oc(t);return this.instance=new vc(r),this.instance}static getStores(t){if(t&&(this.instance=t),!this.instance)throw new Error("StoreRoot has not been created");return this.instance.stores}get isLogoFromDirectory(){const{directory:t}=this.storeRoot.environment.config.app.logo;return!!t}get isLogoFromSource(){const{source:t}=this.storeRoot.environment.config.app.logo;return!!(t&&u.HTML_AS_STRING_REGEX.test(t))}get isInSass(){const{as:t}=this.storeRoot.config;return t==="saas"}};pi([N],Hr.prototype,"isLogoFromDirectory",1);pi([N],Hr.prototype,"isLogoFromSource",1);pi([N],Hr.prototype,"isInSass",1);let Nt=Hr;function Ao(e){return wa(`var(${bc(e)})`)}function z_(e,t){Object.keys(t).forEach(r=>{const o=t[r];o&&e.setProperty(bc(r),o)})}function bc(e){return`--${e.replace("/","__")}`}const Tt=Symbol("LitMobxRenderReaction"),Ps=Symbol("LitMobxRequestUpdate");function G_(e,t){var n,r;return r=class extends e{constructor(){super(...arguments),this[n]=()=>{this.requestUpdate()}}connectedCallback(){super.connectedCallback();const o=this.constructor.name||this.nodeName;this[Tt]=new t(`${o}.update()`,this[Ps]),this.hasUpdated&&this.requestUpdate()}disconnectedCallback(){super.disconnectedCallback(),this[Tt]&&(this[Tt].dispose(),this[Tt]=void 0)}update(o){if(this[Tt]){this[Tt].track(super.update.bind(this,o));return}super.update(o)}},n=Ps,r}class x extends G_(ln,ar){constructor(){super(...arguments),this.__translator=this.__getStores().storeRoot.translator}__getStores(){return Nt.getStores(x.storeRoot)}__applyThemeProperties(t){const{storeLayout:n}=Nt.getStores(),r=u.Q([n.theme,t]);z_(this.style,r)}__dispatchTulEvent(t){var i;const{storeRoot:n}=Nt.getStores(),r={detail:{...t.detail,tulApi:n.tulApi},bubbles:!0,composed:!0},o=new CustomEvent(t.eventName,r);(i=n.tulRoot)==null||i.dispatchEvent(o)}static __setRootStore(t){x.storeRoot=t}}class K_{constructor(t,n){this.host=t,t.addController(this),this._config=n}hostConnected(){document.addEventListener(ee.UNIVERSAL_NAVIGATION_ITEM_CLICKED,t=>this.handleNavigationItemClicked(t))}hostDisconnected(){document.removeEventListener(ee.UNIVERSAL_NAVIGATION_ITEM_CLICKED,t=>this.handleNavigationItemClicked(t))}handleNavigationItemClicked(t){this.determineEventForMenuItem(t)}determineEventForMenuItem(t){var o,i,s,a,l,c,d,p,h,v,m,g,_,S;const{storeRoot:n,storeLayout:r}=Nt.getStores();switch(t.detail.host){case u.GlobalHeaderPanels.Settings:r.setSelectedSettingsMenuItem(t.detail.itemId),(s=(i=(o=n.config.app.settings)==null?void 0:o.config)==null?void 0:i.navigate)==null||s.call(i,t.detail);break;case u.GlobalHeaderPanels.Sidebar:r.setSelectedSideBarMenuItem(t.detail.itemId),(c=(l=(a=n.config.app.sidebar)==null?void 0:a.config)==null?void 0:l.navigate)==null||c.call(l,t.detail);break;case u.GlobalHeaderPanels.UserProfile:r.setSelectedUserProfileMenuItem(t.detail.itemId),(h=(p=(d=n.config.app.userProfile)==null?void 0:d.config)==null?void 0:p.navigate)==null||h.call(p,t.detail);break;case u.GlobalHeaderPanels.QuickActions:r.setSelectedQuickActionsMenuItem(t.detail.itemId),(g=(m=(v=n.config.app.quickActions)==null?void 0:v.config)==null?void 0:m.navigate)==null||g.call(m,t.detail);break;default:(S=(_=this._config)==null?void 0:_.navigate)==null||S.call(_,t.detail);break}}}const q_=k``;/**
|
|
50
|
+
* @license
|
|
51
|
+
* Copyright 2017 Google LLC
|
|
52
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
+
*/const Fr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},zr=e=>(...t)=>({_$litDirective$:e,values:t});let Gr=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,n,r){this._$Ct=t,this._$AM=n,this._$Ci=r}_$AS(t,n){return this.update(t,n)}update(t,n){return this.render(...n)}};/**
|
|
54
|
+
* @license
|
|
55
|
+
* Copyright 2017 Google LLC
|
|
56
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
57
|
+
*/let Oo=class extends Gr{constructor(t){if(super(t),this.et=Q,t.type!==Fr.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Q||t==null)return this.ft=void 0,this.et=t;if(t===Le)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.ft;this.et=t;const n=[t];return n.raw=n,this.ft={_$litType$:this.constructor.resultType,strings:n,values:[]}}};Oo.directiveName="unsafeHTML",Oo.resultType=1;const Rt=zr(Oo);/**
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright 2018 Google LLC
|
|
60
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
61
|
+
*/const gc="important",W_=" !"+gc,Z_=zr(class extends Gr{constructor(e){var t;if(super(e),e.type!==Fr.ATTRIBUTE||e.name!=="style"||((t=e.strings)===null||t===void 0?void 0:t.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return r==null?t:t+`${n=n.includes("-")?n:n.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${r};`},"")}update(e,[t]){const{style:n}=e.element;if(this.ut===void 0){this.ut=new Set;for(const r in t)this.ut.add(r);return this.render(t)}this.ut.forEach(r=>{t[r]==null&&(this.ut.delete(r),r.includes("-")?n.removeProperty(r):n[r]="")});for(const r in t){const o=t[r];if(o!=null){this.ut.add(r);const i=typeof o=="string"&&o.endsWith(W_);r.includes("-")||i?n.setProperty(r,i?o.slice(0,-11):o,i?gc:""):n[r]=o}}return Le}});function pt(e,t,n,r){const o=e.services[t];return o?o.enabled===!1||r===!1?null:r===!0?f`${n}`:r&&r instanceof Function?Rt(`${r()}`):f`${n}`:f`${n}`}function Me(e){return e?f`<i
|
|
62
|
+
slot="icon"
|
|
63
|
+
style=${Z_({display:"flex",alignItems:"center"})}
|
|
64
|
+
part="panel-menu-item-icon"
|
|
65
|
+
>${Rt(e)}</i
|
|
66
|
+
>`:f``}var J_=Object.defineProperty,X_=Object.getOwnPropertyDescriptor,Q_=(e,t,n,r)=>{for(var o=r>1?void 0:r?X_(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&J_(t,n,o),o};let Po=class extends x{constructor(){super(...arguments),this._universalNavigationController=null,this.createUniversalNavigationController=()=>{var s,a,l,c;const{storeRoot:e}=this.__getStores(),t=(s=e.config.app.sidebar)==null?void 0:s.config,n=(a=e.config.app.settings)==null?void 0:a.config,r=(l=e.config.app.quickActions)==null?void 0:l.config,o=(c=e.config.app.userProfile)==null?void 0:c.config,i=t||r||n||o;i&&(this._universalNavigationController=new K_(this,i))}}connectedCallback(){super.connectedCallback(),this.createUniversalNavigationController()}updated(){this._universalNavigationController===null&&this.createUniversalNavigationController()}render(){var L,z,G,oe,ae,de,K,Y,J;const{storeRoot:e,storeLayout:t,storeAuthentication:n,storeAssistMode:r}=this.__getStores();this.__applyThemeProperties();const o=((L=e.config.app.sidebar)==null?void 0:L.hamburger)===!1,i=u.j((z=e.config.app.sidebar)==null?void 0:z.menu)===!1,s=(G=e.config.app.sidebar)==null?void 0:G.menu,a=(oe=e.config.app.sidebar)==null?void 0:oe.config,l=(ae=e.config.custom)==null?void 0:ae.icons,c=(K=(de=e.config.app.settings)==null?void 0:de.menu)!=null?K:[],d=(Y=e.config.app.quickActions)==null?void 0:Y.menu,p=!!(n.session&&r.isImpersonating&&!e.disableImpersonation),h=!((J=e.stores.storeAuthentication.session)!=null&&J.isMsspParent),v=()=>{var P,E,X,ve,be;return pt(e.config,"session",f` <tenable-universal-header-user-action
|
|
67
|
+
slot="user-action"
|
|
68
|
+
avatar=${te((P=n.session)==null?void 0:P.name)}
|
|
69
|
+
>
|
|
70
|
+
<tenable-universal-header-user-panel
|
|
71
|
+
panelTitle=${te((E=n.session)==null?void 0:E.name)}
|
|
72
|
+
panelSubTitle=${te((X=n.session)==null?void 0:X.email)}
|
|
73
|
+
.menuItems="${t.userMenuData}"
|
|
74
|
+
.selectedMenuItem="${t.selectedUserProfileMenuItem}"
|
|
75
|
+
>
|
|
76
|
+
</tenable-universal-header-user-panel>
|
|
77
|
+
</tenable-universal-header-user-action>`,(be=(ve=e.config.services.session)==null?void 0:ve.renderComponents)==null?void 0:be.accountPanel)},m=()=>{var P,E;return h?pt(e.config,"serverProperties",f`<tenable-universal-header-workspace-action slot="workspace-action">
|
|
78
|
+
<tenable-universal-header-workspace-panel>
|
|
79
|
+
</tenable-universal-header-workspace-panel>
|
|
80
|
+
</tenable-universal-header-workspace-action>`,(E=(P=e.config.services.serverProperties)==null?void 0:P.renderComponents)==null?void 0:E.appsPanel):""},g=()=>{var P,E;return pt(e.config,"settings",f` <tenable-universal-header-settings-action slot="settings-action">
|
|
81
|
+
<tenable-universal-header-settings-panel
|
|
82
|
+
.menuItems="${t.settingsMenuData}"
|
|
83
|
+
.appSpecificItems="${c}"
|
|
84
|
+
.selectedMenuItem="${t.selectedSettingsMenuItem}"
|
|
85
|
+
>
|
|
86
|
+
</tenable-universal-header-settings-panel>
|
|
87
|
+
</tenable-universal-header-settings-action>`,(E=(P=e.config.services.settings)==null?void 0:P.renderComponents)==null?void 0:E.settingsPanel)},_=()=>{var P,E;return pt(e.config,"alerts",f` <tenable-universal-header-notifications-action
|
|
88
|
+
slot="notifications-action"
|
|
89
|
+
notificationCount=${t==null?void 0:t.notificationsCount}
|
|
90
|
+
>
|
|
91
|
+
</tenable-universal-header-notifications-action>`,(E=(P=e.config.services.alerts)==null?void 0:P.renderComponents)==null?void 0:E.alertsPanel)},S=()=>{var P,E;return pt(e.config,"chats",f`<tenable-universal-header-chat-action
|
|
92
|
+
slot="chats-action"
|
|
93
|
+
chatCount=${t==null?void 0:t.chatCount}
|
|
94
|
+
>
|
|
95
|
+
</tenable-universal-header-chat-action>`,(E=(P=e.config.services.chats)==null?void 0:P.renderComponents)==null?void 0:E.chatsPanel)},O=()=>{var P,E;return n.isFedramp()?"":pt(e.config,"pendo",f`
|
|
96
|
+
<tenable-universal-header-help-action
|
|
97
|
+
slot="help-action"
|
|
98
|
+
></tenable-universal-header-help-action>
|
|
99
|
+
`,(E=(P=e.config.services.pendo)==null?void 0:P.renderComponents)==null?void 0:E.infoPanel)},B=()=>{var P,E,X;return(P=e.config.services.appSpecific)!=null&&P.enabled||l?pt(e.config,"appSpecific",f` <tenable-universal-header-app-specific-actions
|
|
100
|
+
slot="app-specific-actions"
|
|
101
|
+
></tenable-universal-header-app-specific-actions>`,(X=(E=e.config.services.appSpecific)==null?void 0:E.renderComponents)==null?void 0:X.appSpecificPanel):""},V=()=>d!=null&&d.length?f`
|
|
102
|
+
<div slot="custom-actions">
|
|
103
|
+
<tenable-universal-header-quick-actions>
|
|
104
|
+
<tenable-universal-header-quick-actions-panel
|
|
105
|
+
.menuItems="${d}"
|
|
106
|
+
.selectedMenuItem="${t.selectedQuickActionsMenuItem}"
|
|
107
|
+
>
|
|
108
|
+
</tenable-universal-header-quick-actions-panel>
|
|
109
|
+
</tenable-universal-header-quick-actions>
|
|
110
|
+
</div>
|
|
111
|
+
`:"";return f`
|
|
112
|
+
${p?f`<tenable-assist-mode></tenable-assist-mode>`:""}
|
|
113
|
+
<tenable-universal-header .hideNavigationButton=${o}>
|
|
114
|
+
${B()} ${S()}
|
|
115
|
+
${_()} ${O()}
|
|
116
|
+
${g()} ${m()}
|
|
117
|
+
${v()} ${V()}
|
|
118
|
+
</tenable-universal-header>
|
|
119
|
+
|
|
120
|
+
${i?"":f`<tenable-universal-navigation
|
|
121
|
+
.isClosed="${!t.isNavigationOpened}"
|
|
122
|
+
.menuItems="${u.D(s)}"
|
|
123
|
+
.navigationConfig="${uu(a)}"
|
|
124
|
+
.selectedMenuItem="${t.selectedSideBarMenuItem}"
|
|
125
|
+
>
|
|
126
|
+
</tenable-universal-navigation>`}
|
|
127
|
+
`}};Po.styles=[q_];Po=Q_([w("tenable-global-header")],Po);/**
|
|
128
|
+
* @license
|
|
129
|
+
* Copyright 2018 Google LLC
|
|
130
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
131
|
+
*/const C=zr(class extends Gr{constructor(e){var t;if(super(e),e.type!==Fr.ATTRIBUTE||e.name!=="class"||((t=e.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var n,r;if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(const i in t)t[i]&&!(!((n=this.nt)===null||n===void 0)&&n.has(i))&&this.it.add(i);return this.render(t)}const o=e.element.classList;this.it.forEach(i=>{i in t||(o.remove(i),this.it.delete(i))});for(const i in t){const s=!!t[i];s===this.it.has(i)||!((r=this.nt)===null||r===void 0)&&r.has(i)||(s?(o.add(i),this.it.add(i)):(o.remove(i),this.it.delete(i)))}return Le}}),ce=k`
|
|
132
|
+
:host {
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
// -webkit-font-smoothing: antialiased;
|
|
135
|
+
// -moz-osx-font-smoothing: grayscale;
|
|
136
|
+
// font-smoothing: antialiased;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:host *,
|
|
140
|
+
:host *::before,
|
|
141
|
+
:host *::after {
|
|
142
|
+
box-sizing: inherit;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
[hidden] {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
148
|
+
`,Y_=k`
|
|
149
|
+
${ce}
|
|
150
|
+
|
|
151
|
+
.tenable-panel-root {
|
|
152
|
+
display: grid;
|
|
153
|
+
grid-template-columns: 1fr;
|
|
154
|
+
grid-template-rows: 56px 1fr;
|
|
155
|
+
gap: 0px 0px;
|
|
156
|
+
grid-template-areas:
|
|
157
|
+
'MenuHeaderRegion'
|
|
158
|
+
'MenuContentRegion';
|
|
159
|
+
box-sizing: border-box;
|
|
160
|
+
background-color: var(--tenb-colors-background-component);
|
|
161
|
+
color: var(--tenb-colors-text-body);
|
|
162
|
+
box-sizing: border-box;
|
|
163
|
+
border: 1px solid var(--tenb-colors-border-base);
|
|
164
|
+
border-radius: 6px;
|
|
165
|
+
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
|
|
166
|
+
overflow: auto;
|
|
167
|
+
width: 273px;
|
|
168
|
+
height: auto;
|
|
169
|
+
max-height: 550px;
|
|
170
|
+
}
|
|
171
|
+
.tenable-panel-root-no-header {
|
|
172
|
+
grid-template-rows: 1fr;
|
|
173
|
+
grid-template-areas: 'MenuContentRegion';
|
|
174
|
+
}
|
|
175
|
+
`;var e0=Object.defineProperty,t0=Object.getOwnPropertyDescriptor,mc=(e,t,n,r)=>{for(var o=r>1?void 0:r?t0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&e0(t,n,o),o};let br=class extends x{constructor(){super(...arguments),this.header=!0}render(){const e={"tenable-panel-root-no-header":this.header===!1};return f`
|
|
176
|
+
<div class="tenable-panel-root ${C(e)}" part="base">
|
|
177
|
+
<slot></slot>
|
|
178
|
+
</div>
|
|
179
|
+
`}};br.styles=[Y_];mc([b({type:Boolean})],br.prototype,"header",2);br=mc([w("tenable-universal-header-action-panel")],br);var _c={exports:{}};/**
|
|
180
|
+
* what-input - A global utility for tracking the current input method (mouse, keyboard or touch).
|
|
181
|
+
* @version v5.2.12
|
|
182
|
+
* @link https://github.com/ten1seven/what-input
|
|
183
|
+
* @license MIT
|
|
184
|
+
*/(function(e,t){(function(r,o){e.exports=o()})(u.commonjsGlobal,function(){return function(n){var r={};function o(i){if(r[i])return r[i].exports;var s=r[i]={exports:{},id:i,loaded:!1};return n[i].call(s.exports,s,s.exports,o),s.loaded=!0,s.exports}return o.m=n,o.c=r,o.p="",o(0)}([function(n,r){n.exports=function(){if(typeof document=="undefined"||typeof window=="undefined")return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var o=document.documentElement,i=null,s="initial",a=s,l=Date.now(),c=!1,d=["button","input","select","textarea"],p=[],h=[16,17,18,91,93],v=[],m={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},g=!1,_={x:null,y:null},S={2:"touch",3:"touch",4:"mouse"},O=!1;try{var B=Object.defineProperty({},"passive",{get:function(){O=!0}});window.addEventListener("test",null,B)}catch{}var V=function(){m[E()]="mouse",L()},L=function(){var $=O?{passive:!0,capture:!0}:!0;document.addEventListener("DOMContentLoaded",z,!0),window.PointerEvent?(window.addEventListener("pointerdown",G,!0),window.addEventListener("pointermove",ae,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",G,!0),window.addEventListener("MSPointerMove",ae,!0)):(window.addEventListener("mousedown",G,!0),window.addEventListener("mousemove",ae,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",G,$),window.addEventListener("touchend",G,!0))),window.addEventListener(E(),ae,$),window.addEventListener("keydown",G,!0),window.addEventListener("keyup",G,!0),window.addEventListener("focusin",de,!0),window.addEventListener("focusout",K,!0)},z=function(){if(c=!(o.getAttribute("data-whatpersist")==="false"||document.body.getAttribute("data-whatpersist")==="false"),c)try{window.sessionStorage.getItem("what-input")&&(s=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(a=window.sessionStorage.getItem("what-intent"))}catch{}oe("input"),oe("intent")},G=function($){var I=$.which,W=m[$.type];W==="pointer"&&(W=J($));var Xc=!v.length&&h.indexOf(I)===-1,Qc=v.length&&v.indexOf(I)!==-1,Qr=W==="keyboard"&&I&&(Xc||Qc)||W==="mouse"||W==="touch";if(P(W)&&(Qr=!1),Qr&&s!==W&&(s=W,Y("input",s),oe("input")),Qr&&a!==W){var rn=document.activeElement,Yc=rn&&rn.nodeName&&(d.indexOf(rn.nodeName.toLowerCase())===-1||rn.nodeName.toLowerCase()==="button"&&!Xr(rn,"form"));Yc&&(a=W,Y("intent",a),oe("intent"))}},oe=function($){o.setAttribute("data-what"+$,$==="input"?s:a),X($)},ae=function($){var I=m[$.type];I==="pointer"&&(I=J($)),be($),(!g&&!P(I)||g&&$.type==="wheel"||$.type==="mousewheel"||$.type==="DOMMouseScroll")&&a!==I&&(a=I,Y("intent",a),oe("intent"))},de=function($){if(!$.target.nodeName){K();return}i=$.target.nodeName.toLowerCase(),o.setAttribute("data-whatelement",i),$.target.classList&&$.target.classList.length&&o.setAttribute("data-whatclasses",$.target.classList.toString().replace(" ",","))},K=function(){i=null,o.removeAttribute("data-whatelement"),o.removeAttribute("data-whatclasses")},Y=function($,I){if(c)try{window.sessionStorage.setItem("what-"+$,I)}catch{}},J=function($){return typeof $.pointerType=="number"?S[$.pointerType]:$.pointerType==="pen"?"touch":$.pointerType},P=function($){var I=Date.now(),W=$==="mouse"&&s==="touch"&&I-l<200;return l=I,W},E=function(){var $=null;return"onwheel"in document.createElement("div")?$="wheel":$=document.onmousewheel!==void 0?"mousewheel":"DOMMouseScroll",$},X=function($){for(var I=0,W=p.length;I<W;I++)p[I].type===$&&p[I].fn.call(void 0,$==="input"?s:a)},ve=function($){for(var I=0,W=p.length;I<W;I++)if(p[I].fn===$)return I},be=function($){_.x!==$.screenX||_.y!==$.screenY?(g=!1,_.x=$.screenX,_.y=$.screenY):g=!0},Xr=function($,I){var W=window.Element.prototype;if(W.matches||(W.matches=W.msMatchesSelector||W.webkitMatchesSelector),W.closest)return $.closest(I);do{if($.matches(I))return $;$=$.parentElement||$.parentNode}while($!==null&&$.nodeType===1);return null};return"addEventListener"in window&&Array.prototype.indexOf&&V(),{ask:function($){return $==="intent"?a:s},element:function(){return i},ignoreKeys:function($){h=$},specificKeys:function($){v=$},registerOnChange:function($,I){p.push({fn:$,type:I||"input"})},unRegisterOnChange:function($){var I=ve($);(I||I===0)&&p.splice(I,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])})})(_c);var n0=_c.exports;const r0=u.getDefaultExportFromCjs(n0);class o0{constructor(t){this._selected=0,this.menuItemsElements=[],this.queryMenuItemElements=n=>{let r=[];if(r=Array.from(this.host.querySelectorAll(n)),r.length===0){const o=this.host.querySelector("slot");o&&(r=Array.from(o.assignedElements().filter(i=>i.tagName.toLowerCase()===n)))}return r},this.handleMenuItemFocus=n=>{var r;if(r0.ask()==="keyboard"){const o=n.composedPath()[0];o.shadowRoot&&((r=o.shadowRoot.children)==null||r[0].classList.add("focus-visible"))}},this.handleMenuItemBlur=n=>{var o;const r=n.composedPath()[0];r.shadowRoot&&((o=r.shadowRoot.children)==null||o[0].classList.remove("focus-visible"))},this.handleKeyDown=n=>{switch(n.code){case"ArrowUp":case"ArrowLeft":{n.preventDefault(),n.stopPropagation(),this.selected===0?this.selected=this.menuItemsElements.length-1:this.selected-=1;return}case"ArrowDown":case"ArrowRight":{n.preventDefault(),n.stopPropagation(),this.selected+1>=this.menuItemsElements.length?this.selected=0:this.selected+=1;return}case"Enter":case"Space":{n.preventDefault(),n.stopPropagation();const r=this.menuItemsElements[this.selected];if(r.shadowRoot){const o=r.shadowRoot.children[0];o.click&&o.click()}return}}},this.host=t,t.addController(this)}hostConnected(){this.initMenuItems(),this.host.addEventListener("keydown",this.handleKeyDown)}hostDisconnected(){this._slotChangeInterval&&clearInterval(this._slotChangeInterval),this.menuItemsElements.forEach(t=>{t.removeEventListener("focus",this.handleMenuItemFocus),t.removeEventListener("blur",this.handleMenuItemBlur)}),this.host.removeEventListener("keydown",this.handleKeyDown)}set selected(t){const n=this.menuItemsElements[this.selected];n&&(n.tabIndex=-1);const r=this.menuItemsElements[t];r&&(r.tabIndex=0,r.focus()),this._selected=t}get selected(){return this._selected}applyMenuItemListenersAndAttributes(){var t;this.menuItemsElements.forEach(n=>{n.setAttribute("tabindex","-1"),n.addEventListener("focus",this.handleMenuItemFocus),n.addEventListener("blur",this.handleMenuItemBlur)}),this.menuItemsElements.length>0&&((t=this.menuItemsElements[this.selected])==null||t.setAttribute("tabindex","0"))}initMenuItems(t=[]){this.menuItemsElements=[...t],this.menuItemsElements.length===0&&(this.menuItemsElements=this.queryMenuItemElements("tenb-menu-item")),this.applyMenuItemListenersAndAttributes()}onSlotChange(){let n=0;this._slotChangeInterval||(this._slotChangeInterval=setInterval(()=>{this.menuItemsElements.length===0&&n<=5?(this.initMenuItems(),n++):(n>5||this.menuItemsElements.length>0)&&clearInterval(this._slotChangeInterval)},250))}}class hi extends o0{initMenuItems(t=[]){this.menuItemsElements=[...t],this.menuItemsElements.length===0&&(this.menuItemsElements=this.queryMenuItemElements("tenable-navigation-menu-item")),this.menuItemsElements.length===0&&(this.menuItemsElements=this.queryMenuItemElements("tenable-workspace-card")),this.menuItemsElements.length===0&&(this.menuItemsElements=this.queryMenuItemElements("tenable-notification-item")),this.applyMenuItemListenersAndAttributes()}}class Xe extends Ur{}Xe.UNIVERSAL_HEADER_POPOVER_CLICKED="universalHeaderPopoverClicked";Xe.UNIVERSAL_HEADER_POPOVER_OPENED="universalHeaderPopoverOpened";const i0=k`
|
|
185
|
+
:host {
|
|
186
|
+
grid-area: MenuContentRegion;
|
|
187
|
+
overflow: auto;
|
|
188
|
+
padding-bottom: 8px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* If not use with panel-header, show extra padding */
|
|
192
|
+
.action-panel-body__root_standalone {
|
|
193
|
+
padding-top: 8px;
|
|
194
|
+
}
|
|
195
|
+
`;var s0=Object.defineProperty,a0=Object.getOwnPropertyDescriptor,yc=(e,t,n,r)=>{for(var o=r>1?void 0:r?a0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&s0(t,n,o),o};let gr=class extends x{constructor(){super(...arguments),this.standalone=!1,this._menuKeyboardController=null,this.queryMenuItemElements=e=>{var t,n,r;return(t=this.shadowRoot)!=null&&t.children.length?Array.from((r=(n=this.shadowRoot)==null?void 0:n.children)==null?void 0:r[0].querySelectorAll(e)):[]},this.handleMenuOpen=()=>{this._menuKeyboardController!==null&&(this._menuKeyboardController.selected=0)}}connectedCallback(){var t,n;super.connectedCallback(),this._menuKeyboardController=new hi(this);const e=(n=((t=this.parentElement)==null?void 0:t.getRootNode()).host)==null?void 0:n.parentElement;e==null||e.addEventListener(Xe.UNIVERSAL_HEADER_POPOVER_OPENED,this.handleMenuOpen)}disconnectedCallback(){var t,n;super.disconnectedCallback();const e=(n=((t=this.parentElement)==null?void 0:t.getRootNode()).host)==null?void 0:n.parentElement;e==null||e.removeEventListener(Xe.UNIVERSAL_HEADER_POPOVER_OPENED,this.handleMenuOpen)}handleSlotChange(){this._menuKeyboardController!==null&&this._menuKeyboardController.onSlotChange()}render(){const e={"action-panel-body__root":!0,"action-panel-body__root_standalone":this.standalone};return f`
|
|
196
|
+
<div part="base" class="${C(e)}">
|
|
197
|
+
<slot @slotchange="${this.handleSlotChange}"></slot>
|
|
198
|
+
</div>
|
|
199
|
+
`}};gr.styles=[i0];yc([b({type:Boolean})],gr.prototype,"standalone",2);gr=yc([w("tenable-universal-header-action-panel-body")],gr);const l0=k`
|
|
200
|
+
:host {
|
|
201
|
+
grid-area: MenuHeaderRegion;
|
|
202
|
+
border-bottom: 1px solid var(--tenb-colors-border-base);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.tenable-panel-header {
|
|
206
|
+
display: grid;
|
|
207
|
+
grid-template-columns: 1fr auto;
|
|
208
|
+
grid-template-rows: 1fr;
|
|
209
|
+
gap: 0px 0px;
|
|
210
|
+
grid-template-areas: 'left-content-region right-content-region';
|
|
211
|
+
align-items: center;
|
|
212
|
+
padding-left: 16px;
|
|
213
|
+
padding-right: 16px;
|
|
214
|
+
height: 56px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.tenable-panel-header-left {
|
|
218
|
+
grid-area: left-content-region;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.tenable-panel-header-right {
|
|
222
|
+
grid-area: right-content-region;
|
|
223
|
+
width: 32px;
|
|
224
|
+
}
|
|
225
|
+
`;var c0=Object.defineProperty,u0=Object.getOwnPropertyDescriptor,d0=(e,t,n,r)=>{for(var o=r>1?void 0:r?u0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&c0(t,n,o),o};let Eo=class extends x{constructor(){super(...arguments),this.handleClick=e=>{const t=e.target;t.localName!=="tenable-close-large-icon"&&t.localName!=="tenable-floating-button"&&(e.preventDefault(),e.stopPropagation())}}render(){return f`
|
|
226
|
+
<div part="base" class="tenable-panel-header" @click=${this.handleClick}>
|
|
227
|
+
<div part="header-content-left" class="tenable-panel-header-left">
|
|
228
|
+
<slot></slot>
|
|
229
|
+
</div>
|
|
230
|
+
<div part="header-content-right" class="tenable-panel-header-right">
|
|
231
|
+
<tenable-floating-button id="panel-close-button">
|
|
232
|
+
<tenable-close-large-icon color="accent-idle">
|
|
233
|
+
</tenable-close-large-icon>
|
|
234
|
+
</tenable-floating-button>
|
|
235
|
+
</div>
|
|
236
|
+
</div>
|
|
237
|
+
`}};Eo.styles=[l0];Eo=d0([w("tenable-universal-header-action-panel-header")],Eo);/**
|
|
238
|
+
* @license
|
|
239
|
+
* Copyright 2020 Google LLC
|
|
240
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
241
|
+
*/const{I:p0}=iu,Es=()=>document.createComment(""),sn=(e,t,n)=>{var r;const o=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(n===void 0){const s=o.insertBefore(Es(),i),a=o.insertBefore(Es(),i);n=new p0(s,a,e,e.options)}else{const s=n._$AB.nextSibling,a=n._$AM,l=a!==e;if(l){let c;(r=n._$AQ)===null||r===void 0||r.call(n,e),n._$AM=e,n._$AP!==void 0&&(c=e._$AU)!==a._$AU&&n._$AP(c)}if(s!==i||l){let c=n._$AA;for(;c!==s;){const d=c.nextSibling;o.insertBefore(c,i),c=d}}}return n},ht=(e,t,n=e)=>(e._$AI(t,n),e),h0={},f0=(e,t=h0)=>e._$AH=t,v0=e=>e._$AH,lo=e=>{var t;(t=e._$AP)===null||t===void 0||t.call(e,!1,!0);let n=e._$AA;const r=e._$AB.nextSibling;for(;n!==r;){const o=n.nextSibling;n.remove(),n=o}};/**
|
|
242
|
+
* @license
|
|
243
|
+
* Copyright 2017 Google LLC
|
|
244
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
245
|
+
*/const ks=(e,t,n)=>{const r=new Map;for(let o=t;o<=n;o++)r.set(e[o],o);return r},et=zr(class extends Gr{constructor(e){if(super(e),e.type!==Fr.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,n){let r;n===void 0?n=t:t!==void 0&&(r=t);const o=[],i=[];let s=0;for(const a of e)o[s]=r?r(a,s):s,i[s]=n(a,s),s++;return{values:i,keys:o}}render(e,t,n){return this.dt(e,t,n).values}update(e,[t,n,r]){var o;const i=v0(e),{values:s,keys:a}=this.dt(t,n,r);if(!Array.isArray(i))return this.ht=a,s;const l=(o=this.ht)!==null&&o!==void 0?o:this.ht=[],c=[];let d,p,h=0,v=i.length-1,m=0,g=s.length-1;for(;h<=v&&m<=g;)if(i[h]===null)h++;else if(i[v]===null)v--;else if(l[h]===a[m])c[m]=ht(i[h],s[m]),h++,m++;else if(l[v]===a[g])c[g]=ht(i[v],s[g]),v--,g--;else if(l[h]===a[g])c[g]=ht(i[h],s[g]),sn(e,c[g+1],i[h]),h++,g--;else if(l[v]===a[m])c[m]=ht(i[v],s[m]),sn(e,i[h],i[v]),v--,m++;else if(d===void 0&&(d=ks(a,m,g),p=ks(l,h,v)),d.has(l[h]))if(d.has(l[v])){const _=p.get(a[m]),S=_!==void 0?i[_]:null;if(S===null){const O=sn(e,i[h]);ht(O,s[m]),c[m]=O}else c[m]=ht(S,s[m]),sn(e,i[h],S),i[_]=null;m++}else lo(i[v]),v--;else lo(i[h]),h++;for(;m<=g;){const _=sn(e,c[g+1]);ht(_,s[m]),c[m++]=_}for(;h<=v;){const _=i[h++];_!==null&&lo(_)}return this.ht=a,f0(e,c),Le}});var le=(e=>(e.AppSwitcherClicked="app switcher clicked",e.HelpIconClicked="help clicked",e.LogoClicked="header logo clicked",e.HeaderUserProfileClicked="header account clicked",e.HeaderSettingsClicked="header settings clicked",e.HeaderQuickActionsClicked="header actions clicked",e.LinkClicked="link clicked",e.MainNavClicked="main nav clicked",e.NotificationClicked="notifications clicked",e.ChatClicked="chats clicked",e.CustomIconClicked="custom icon clicked",e.BreadCrumbItemClicked="breadcrumbs clicked",e.DarkModeClicked="dark mode switch clicked",e.ViewChanged="view changed",e))(le||{});function We(){let e=new Date().getTime(),t=typeof performance!="undefined"&&performance.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(n==="x"?r:r&7|8).toString(16)})}const b0=k`
|
|
246
|
+
.app_specific_actions__trigger {
|
|
247
|
+
margin-left: var(--tenb-space-8);
|
|
248
|
+
}
|
|
249
|
+
`;var g0=Object.defineProperty,m0=Object.getOwnPropertyDescriptor,_0=(e,t,n,r)=>{for(var o=r>1?void 0:r?m0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&g0(t,n,o),o};const y0="universal-header-app-specific-actions";let ko=class extends x{constructor(){super(...arguments),this.onClickHandler=(e,t)=>{var i,s;const{storeRoot:n,storeTelemetry:r}=this.__getStores(),o={eventName:u.TulEvent.onTulEventAppSpecificIconClick,detail:{nativeEvent:e,icon:t,tulApi:n.tulApi}};this.__dispatchTulEvent(o),(s=(i=n.environment.config.app.handlers)==null?void 0:i.onTulAppSpecificIconClick)==null||s.call(i,{tulEvent:o}),r.trackTelemetry(le.CustomIconClicked)}}render(){var r,o;const{storeRoot:e}=this.__getStores(),t=()=>`${y0}-${We()}`,n=(o=(r=e.config)==null?void 0:r.custom)==null?void 0:o.icons;return f`
|
|
250
|
+
${n&&et(n,i=>i.name,i=>f`
|
|
251
|
+
<tenable-floating-button
|
|
252
|
+
class="app_specific_actions__trigger"
|
|
253
|
+
.allowSelectedClick=${!0}
|
|
254
|
+
id=${t()}
|
|
255
|
+
aria-label="App-Action"
|
|
256
|
+
slot="anchor"
|
|
257
|
+
part="trigger"
|
|
258
|
+
data-icon-name=${i.name}
|
|
259
|
+
@click=${s=>this.onClickHandler(s,i)}
|
|
260
|
+
>
|
|
261
|
+
<div class="app-specific-logo" data-icon-name=${i.name}>
|
|
262
|
+
<i> ${Me(`${i.source}`)} </i>
|
|
263
|
+
</div>
|
|
264
|
+
</tenable-floating-button>
|
|
265
|
+
`)}
|
|
266
|
+
`}};ko.styles=[b0];ko=_0([w("tenable-universal-header-app-specific-actions")],ko);const w0=k`
|
|
267
|
+
${ce}
|
|
268
|
+
:host {
|
|
269
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
270
|
+
}
|
|
271
|
+
.tenable-assist-mode-user-holder {
|
|
272
|
+
padding: 5px;
|
|
273
|
+
position: fixed;
|
|
274
|
+
border-radius: 5px;
|
|
275
|
+
background: var(--tenb-colors-teal-02);
|
|
276
|
+
width: fit-content;
|
|
277
|
+
height: 50px;
|
|
278
|
+
top: 0px;
|
|
279
|
+
left: 0px;
|
|
280
|
+
right: 0px;
|
|
281
|
+
z-index: 3;
|
|
282
|
+
margin: auto;
|
|
283
|
+
color: var(--tenb-colors-text-white);
|
|
284
|
+
display: flex;
|
|
285
|
+
-webkit-box-align: center;
|
|
286
|
+
align-items: center;
|
|
287
|
+
-webkit-box-pack: start;
|
|
288
|
+
justify-content: start;
|
|
289
|
+
flex-wrap: wrap;
|
|
290
|
+
gap: 10px;
|
|
291
|
+
}
|
|
292
|
+
.tenable-assist-mode-user-details {
|
|
293
|
+
display: flex;
|
|
294
|
+
flex-flow: column;
|
|
295
|
+
}
|
|
296
|
+
.tenable-assist-mode-user-details-title {
|
|
297
|
+
display: flex;
|
|
298
|
+
flex-wrap: wrap;
|
|
299
|
+
gap: 5px;
|
|
300
|
+
}
|
|
301
|
+
.tenable-assist-mode-user-details-title
|
|
302
|
+
span.tenable-assist-mode-user-details-title-heading {
|
|
303
|
+
display: block;
|
|
304
|
+
font-size: var(--tenb-fontSizes-14);
|
|
305
|
+
font-weight: 700;
|
|
306
|
+
text-transform: uppercase;
|
|
307
|
+
}
|
|
308
|
+
.tenable-assist-mode-user-details-subtitle {
|
|
309
|
+
display: block;
|
|
310
|
+
font-size: var(--tenb-fontSizes-14);
|
|
311
|
+
font-weight: 500;
|
|
312
|
+
}
|
|
313
|
+
.tenable-assist-mode-border-indicator {
|
|
314
|
+
position: fixed;
|
|
315
|
+
border: 5px solid var(--tenb-colors-teal-02);
|
|
316
|
+
inset: 0px;
|
|
317
|
+
/* using tooltip to make sure this is more than navigation overlay's */
|
|
318
|
+
z-index: var(--tenb-zIndices-tooltip);
|
|
319
|
+
pointer-events: none;
|
|
320
|
+
}
|
|
321
|
+
tenable-floating-button::part(base) {
|
|
322
|
+
color: var(--tenb-colors-text-inverse);
|
|
323
|
+
}
|
|
324
|
+
tenable-floating-button::part(base):hover {
|
|
325
|
+
color: var(--tenb-colors-text-body);
|
|
326
|
+
}
|
|
327
|
+
`;var $0=Object.defineProperty,C0=Object.getOwnPropertyDescriptor,S0=(e,t,n,r)=>{for(var o=r>1?void 0:r?C0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&$0(t,n,o),o};let To=class extends x{render(){var c,d,p,h,v,m;const{storeAuthentication:e,storeAssistMode:t,storeLayout:n}=this.__getStores(),{language:r}=n,o=this.__translator(r)("Header")("UserAssist");if(!e.session||!t.isImpersonating)return null;const{name:i,userName:s,email:a,permissions:l}=e.session.rawSession;return f`
|
|
328
|
+
<div
|
|
329
|
+
name="AssistMode"
|
|
330
|
+
data-attr-name="AssistMode"
|
|
331
|
+
class="tenable-assist-mode-user-holder"
|
|
332
|
+
>
|
|
333
|
+
<tenable-floating-button
|
|
334
|
+
.allowSelectedClick=${!0}
|
|
335
|
+
id="user-assist-close-button"
|
|
336
|
+
slot="anchor"
|
|
337
|
+
aria-label="User Assist Close"
|
|
338
|
+
@click="${()=>t.stopImpersonation()}"
|
|
339
|
+
>
|
|
340
|
+
<tenable-close-large-icon
|
|
341
|
+
color="brand"
|
|
342
|
+
size="medium"
|
|
343
|
+
></tenable-close-large-icon>
|
|
344
|
+
</tenable-floating-button>
|
|
345
|
+
|
|
346
|
+
<div
|
|
347
|
+
name="AssistModeDetails"
|
|
348
|
+
data-attr-name="AssistModeDetails"
|
|
349
|
+
class="tenable-assist-mode-user-details"
|
|
350
|
+
>
|
|
351
|
+
<div
|
|
352
|
+
name="AssistModeTitle"
|
|
353
|
+
data-attr-name="AssistModeTitle"
|
|
354
|
+
class="tenable-assist-mode-user-details-title"
|
|
355
|
+
>
|
|
356
|
+
<span
|
|
357
|
+
data-attr-name="AssistModeHeading"
|
|
358
|
+
class="tenable-assist-mode-user-details-title-heading"
|
|
359
|
+
>
|
|
360
|
+
${t.isMsspChild?(c=o("Logged in as"))!=null?c:"Logged in as":(d=o("User assist mode"))!=null?d:"User assist mode"}
|
|
361
|
+
</span>
|
|
362
|
+
<span
|
|
363
|
+
title=${t.isMsspChild?(p=o("Close this frame to return to MSSP."))!=null?p:"Close this frame to return to MSSP.":(h=o("Close this frame to leave the user."))!=null?h:"Close this frame to leave the user."}
|
|
364
|
+
>
|
|
365
|
+
<tenable-info-icon></tenable-info-icon
|
|
366
|
+
></span>
|
|
367
|
+
</div>
|
|
368
|
+
<span
|
|
369
|
+
data-attr-name="Typography"
|
|
370
|
+
class="tenable-assist-mode-user-details-subtitle"
|
|
371
|
+
>
|
|
372
|
+
${(v=a!=null?a:i)!=null?v:s} |
|
|
373
|
+
${(m=o(u.getRoleNameFromPermission(l)))!=null?m:u.getRoleNameFromPermission(l)}
|
|
374
|
+
</span>
|
|
375
|
+
</div>
|
|
376
|
+
</div>
|
|
377
|
+
<div
|
|
378
|
+
data-attr-name="AssistModeBorderIndicator"
|
|
379
|
+
class="tenable-assist-mode-border-indicator"
|
|
380
|
+
></div>
|
|
381
|
+
`}};To.styles=[w0];To=S0([w("tenable-assist-mode")],To);var x0=Object.defineProperty,A0=Object.getOwnPropertyDescriptor,jn=(e,t,n,r)=>{for(var o=r>1?void 0:r?A0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&x0(t,n,o),o};let Ct=class extends x{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.allowSelectedClick=!1,this.autofocus=!1,this.onClickHandler=e=>{(this.disabled||this.selected&&!this.allowSelectedClick)&&e.stopImmediatePropagation()}}render(){const e={selected:this.selected};return f`
|
|
382
|
+
<button
|
|
383
|
+
class="tenb-avatar ${C(e)}"
|
|
384
|
+
type="button"
|
|
385
|
+
?autofocus=${this.autofocus}
|
|
386
|
+
?selected=${this.selected}
|
|
387
|
+
?disabled=${this.disabled}
|
|
388
|
+
@click=${this.onClickHandler}
|
|
389
|
+
>
|
|
390
|
+
<slot></slot>
|
|
391
|
+
</button>
|
|
392
|
+
`}};Ct.styles=k`
|
|
393
|
+
:host {
|
|
394
|
+
display: flex;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
button {
|
|
398
|
+
background-color: var(--tenb-colors-background-avatar-idle);
|
|
399
|
+
border: 0;
|
|
400
|
+
border-radius: 100px;
|
|
401
|
+
box-sizing: border-box;
|
|
402
|
+
color: var(--tenb-colors-text-white);
|
|
403
|
+
cursor: pointer;
|
|
404
|
+
width: 32px;
|
|
405
|
+
height: 32px;
|
|
406
|
+
text-align: center;
|
|
407
|
+
vertical-align: center;
|
|
408
|
+
// margin-left: var(--tenb-space-4);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
:focus-visible {
|
|
412
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
413
|
+
var(--tenb-colors-outline-focus);
|
|
414
|
+
outline-offset: 1px;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
:hover {
|
|
418
|
+
background-color: var(--tenb-colors-background-avatar-hover);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
button.selected {
|
|
422
|
+
background-color: var(--tenb-colors-background-avatar-selected);
|
|
423
|
+
}
|
|
424
|
+
`;jn([b({type:Boolean})],Ct.prototype,"disabled",2);jn([b({type:Boolean})],Ct.prototype,"selected",2);jn([b({type:Boolean})],Ct.prototype,"allowSelectedClick",2);jn([b({type:Boolean})],Ct.prototype,"autofocus",2);Ct=jn([w("tenable-avatar")],Ct);const O0=k`
|
|
425
|
+
${ce}
|
|
426
|
+
|
|
427
|
+
:host {
|
|
428
|
+
display: inline-block;
|
|
429
|
+
}
|
|
430
|
+
.tenable-badge__root {
|
|
431
|
+
display: flex;
|
|
432
|
+
align-items: center;
|
|
433
|
+
width: fit-content;
|
|
434
|
+
font-family: var(--tenb-fonts-base);
|
|
435
|
+
font-style: normal;
|
|
436
|
+
font-weight: 400;
|
|
437
|
+
font-size: var(--tenb-fontSizes-10);
|
|
438
|
+
background-color: var(--tenb-colors-background-container);
|
|
439
|
+
border: 1px solid var(--tenb-colors-border-base);
|
|
440
|
+
border-radius: 3px;
|
|
441
|
+
color: var(--tenb-colors-text-alt);
|
|
442
|
+
line-height: 10px;
|
|
443
|
+
text-transform: uppercase;
|
|
444
|
+
min-height: 10px;
|
|
445
|
+
min-width: 14px;
|
|
446
|
+
margin-right: 0px;
|
|
447
|
+
padding: 4px;
|
|
448
|
+
width: auto;
|
|
449
|
+
text-align: center;
|
|
450
|
+
user-select: none;
|
|
451
|
+
-webkit-user-select: none; /* safari */
|
|
452
|
+
}
|
|
453
|
+
/* Fixes text alignment issue in Firefox */
|
|
454
|
+
@-moz-document url-prefix() {
|
|
455
|
+
.tenable-badge__root {
|
|
456
|
+
padding-top: 5px;
|
|
457
|
+
padding-bottom: 3px;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
.tenable-badge__variant_severity {
|
|
461
|
+
color: var(--tenb-colors-text-inverse);
|
|
462
|
+
font-weight: 700;
|
|
463
|
+
font-size: var(--tenb-fontSizes-12);
|
|
464
|
+
line-height: 14px;
|
|
465
|
+
min-height: 14px;
|
|
466
|
+
padding: 2px 7px;
|
|
467
|
+
}
|
|
468
|
+
/* Fixes text alignment issue in Firefox */
|
|
469
|
+
@-moz-document url-prefix() {
|
|
470
|
+
.tenable-badge__variant_severity {
|
|
471
|
+
padding-top: 3px;
|
|
472
|
+
padding-bottom: 1px;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
.tenable-badge__variant-critical {
|
|
476
|
+
color: var(--tenb-colors-text-white);
|
|
477
|
+
background-color: var(--tenb-colors-chart-severity-critical);
|
|
478
|
+
border-color: var(--tenb-colors-chart-severity-critical);
|
|
479
|
+
}
|
|
480
|
+
.tenable-badge__variant-high {
|
|
481
|
+
color: var(--tenb-colors-text-white);
|
|
482
|
+
background-color: var(--tenb-colors-chart-severity-high);
|
|
483
|
+
border-color: var(--tenb-colors-chart-severity-high);
|
|
484
|
+
}
|
|
485
|
+
/* "Bad" shares styles from "High" */
|
|
486
|
+
.tenable-badge__variant-bad {
|
|
487
|
+
color: var(--tenb-colors-text-white);
|
|
488
|
+
background-color: var(--tenb-colors-chart-severity-high);
|
|
489
|
+
border-color: var(--tenb-colors-chart-severity-high);
|
|
490
|
+
}
|
|
491
|
+
.tenable-badge__variant-medium {
|
|
492
|
+
color: var(--tenb-colors-text-white);
|
|
493
|
+
background-color: var(--tenb-colors-chart-severity-medium);
|
|
494
|
+
border-color: var(--tenb-colors-chart-severity-medium);
|
|
495
|
+
}
|
|
496
|
+
/* "Warning" shares styles from "Medium" */
|
|
497
|
+
.tenable-badge__variant-warning {
|
|
498
|
+
color: var(--tenb-colors-text-white);
|
|
499
|
+
background-color: var(--tenb-colors-chart-severity-medium);
|
|
500
|
+
border-color: var(--tenb-colors-chart-severity-medium);
|
|
501
|
+
}
|
|
502
|
+
.tenable-badge__variant-low {
|
|
503
|
+
color: var(--tenb-colors-text-dark);
|
|
504
|
+
background-color: var(--tenb-colors-chart-severity-low);
|
|
505
|
+
border-color: var(--tenb-colors-chart-severity-low);
|
|
506
|
+
}
|
|
507
|
+
.tenable-badge__variant-info {
|
|
508
|
+
color: var(--tenb-colors-text-inverse);
|
|
509
|
+
background-color: var(--tenb-colors-chart-sequential-segment-01);
|
|
510
|
+
border-color: var(--tenb-colors-chart-sequential-segment-01);
|
|
511
|
+
}
|
|
512
|
+
.tenable-badge__variant-good {
|
|
513
|
+
color: var(--tenb-colors-text-dark);
|
|
514
|
+
background-color: var(--tenb-colors-chart-status-good);
|
|
515
|
+
border-color: var(--tenb-colors-chart-status-good);
|
|
516
|
+
}
|
|
517
|
+
`;var P0=Object.defineProperty,E0=Object.getOwnPropertyDescriptor,wc=(e,t,n,r)=>{for(var o=r>1?void 0:r?E0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&P0(t,n,o),o};let mr=class extends x{constructor(){super(...arguments),this.variant=""}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}render(){const e=`tenable-badge__variant-${this.variant}`;return f`
|
|
518
|
+
<div
|
|
519
|
+
part="base"
|
|
520
|
+
class=${C({"tenable-badge__root":!0,"tenable-badge__variant_severity":this.variant!=="",[e]:this.variant!==""})}
|
|
521
|
+
>
|
|
522
|
+
<slot></slot>
|
|
523
|
+
</div>
|
|
524
|
+
`}};mr.styles=[O0];wc([b({type:String})],mr.prototype,"variant",2);mr=wc([w("tenable-badge")],mr);const k0=k`
|
|
525
|
+
${ce}
|
|
526
|
+
|
|
527
|
+
:host {
|
|
528
|
+
display: inline-flex;
|
|
529
|
+
|
|
530
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
531
|
+
pointer-events: none;
|
|
532
|
+
}
|
|
533
|
+
`;var T0=Object.defineProperty,I0=Object.getOwnPropertyDescriptor,$c=(e,t,n,r)=>{for(var o=r>1?void 0:r?I0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&T0(t,n,o),o};let _r=class extends x{constructor(){super(...arguments),this.breadcrumbs=[]}render(){return f`
|
|
534
|
+
<div class="tenable-breadcrumb-menu" part="base">
|
|
535
|
+
${this.breadcrumbs&&et(this.breadcrumbs,e=>e.id,(e,t)=>f`
|
|
536
|
+
<tenable-breadcrumb-item
|
|
537
|
+
.items="${this.breadcrumbs}"
|
|
538
|
+
title=${e==null?void 0:e.name}
|
|
539
|
+
.item=${e}
|
|
540
|
+
.hideChevron=${this.breadcrumbs.length-1===t}
|
|
541
|
+
>
|
|
542
|
+
</tenable-breadcrumb-item>
|
|
543
|
+
`)}
|
|
544
|
+
</div>
|
|
545
|
+
`}};_r.styles=[k0];$c([b({type:Array})],_r.prototype,"breadcrumbs",2);_r=$c([w("tenable-breadcrumbs")],_r);const D0=k`
|
|
546
|
+
${ce}
|
|
547
|
+
|
|
548
|
+
:host {
|
|
549
|
+
display: inline-flex;
|
|
550
|
+
|
|
551
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
552
|
+
pointer-events: none;
|
|
553
|
+
}
|
|
554
|
+
tenable-link-button::part(base) {
|
|
555
|
+
align-items: center;
|
|
556
|
+
}
|
|
557
|
+
tenable-link-button::part(base):hover {
|
|
558
|
+
border: 0;
|
|
559
|
+
}
|
|
560
|
+
tenable-chevron-right {
|
|
561
|
+
color: var(--tenb-colors-icon-alt);
|
|
562
|
+
display: flex;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.last-link::part(base) {
|
|
566
|
+
color: var(--tenb-colors-text-body);
|
|
567
|
+
cursor: auto;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
// Removing this due to a hover issue on last-link
|
|
571
|
+
// .last-link::part(base):hover {
|
|
572
|
+
// cursor: none;
|
|
573
|
+
// border: 0;
|
|
574
|
+
// }
|
|
575
|
+
`;var L0=Object.defineProperty,M0=Object.getOwnPropertyDescriptor,Kr=(e,t,n,r)=>{for(var o=r>1?void 0:r?M0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&L0(t,n,o),o};let Gt=class extends x{constructor(){super(...arguments),this.items=[],this.item=null,this.hideChevron=!1,this.handleClick=e=>{var o,i,s,a;if((o=this.item)!=null&&o.disabled){e.stopImmediatePropagation();return}const{storeRoot:t,storeTelemetry:n}=this.__getStores(),r={eventName:u.TulEvent.onTulEventBreadCrumbClick,detail:{nativeEvent:e,breadcrumb:{...this.item},tulApi:t.tulApi}};n.trackTelemetry(le.BreadCrumbItemClicked,{name:(i=this.item)==null?void 0:i.name}),this.__dispatchTulEvent(r),(a=(s=t.environment.config.app.handlers)==null?void 0:s.onTulBreadCrumbClick)==null||a.call(s,{tulEvent:r})},this._truncateName=(e="")=>e,this._prepareIdForBreadcrumb=(e="")=>{var t,n;return((n=(t=e==null?void 0:e.toLocaleLowerCase())==null?void 0:t.split(" "))==null?void 0:n.join("-"))||We()},this._renderLink=()=>{var e,t,n,r,o,i;return f`
|
|
576
|
+
<tenable-link-button
|
|
577
|
+
?disabled=${(e=this.item)==null?void 0:e.disabled}
|
|
578
|
+
?autofocus=${(t=this.item)==null?void 0:t.autofocus}
|
|
579
|
+
@click=${this.handleClick}
|
|
580
|
+
>
|
|
581
|
+
${(n=this.item)!=null&&n.icon?f`<i slot="icon-left">
|
|
582
|
+
${Me(`${(r=this.item)==null?void 0:r.icon}`)}
|
|
583
|
+
</i>`:""}
|
|
584
|
+
<span
|
|
585
|
+
id="tul-breadcrumb-item-for-${this._prepareIdForBreadcrumb((o=this.item)==null?void 0:o.name)}"
|
|
586
|
+
>${this._truncateName((i=this.item)==null?void 0:i.name)}</span
|
|
587
|
+
>
|
|
588
|
+
${this.hideChevron?"":f`<tenable-chevron-right slot="icon-right">
|
|
589
|
+
</tenable-chevron-right>`}
|
|
590
|
+
</tenable-link-button>
|
|
591
|
+
`},this._renderText=()=>{var e,t,n;return f`
|
|
592
|
+
<tenable-link-button class="last-link" tabindex="-1">
|
|
593
|
+
<span
|
|
594
|
+
class="tul-last-breadcrumb-item"
|
|
595
|
+
id="tul-breadcrumb-item-for-${this._prepareIdForBreadcrumb((e=this.item)==null?void 0:e.name)}"
|
|
596
|
+
>${this.items.length>1?this._truncateName((t=this.item)==null?void 0:t.name):(n=this.item)==null?void 0:n.name}</span
|
|
597
|
+
>
|
|
598
|
+
</tenable-link-button>
|
|
599
|
+
`}}render(){return this.hideChevron?this._renderText():this._renderLink()}};Gt.styles=[D0];Kr([b({type:Array})],Gt.prototype,"items",2);Kr([b({type:Object})],Gt.prototype,"item",2);Kr([b({type:Boolean,reflect:!0})],Gt.prototype,"hideChevron",2);Gt=Kr([w("tenable-breadcrumb-item")],Gt);class R0{constructor(t,n){this.dataAttr=null,this.host=t,this.dataAttr=n,this.host.addController(this)}setAttributes(t=this.dataAttr){for(const n in t)this.host.setAttribute(n,t[n])}hostConnected(){this.setAttributes()}hostUpdate(){this.dataAttr=this.host.dataAttr,this.setAttributes()}}const Cc=k`
|
|
600
|
+
:host {
|
|
601
|
+
display: inline-block;
|
|
602
|
+
|
|
603
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
604
|
+
pointer-events: none;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
.tenable-button {
|
|
608
|
+
display: inline-flex;
|
|
609
|
+
align-items: stretch;
|
|
610
|
+
border: 1px solid var(--tenb-colors-border-idle);
|
|
611
|
+
border-radius: 100px;
|
|
612
|
+
box-sizing: border-box;
|
|
613
|
+
box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
|
|
614
|
+
color: var(--tenb-colors-text-white);
|
|
615
|
+
cursor: pointer;
|
|
616
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
617
|
+
font-size: var(--tenb-fontSizes-16);
|
|
618
|
+
padding: 7px 12px;
|
|
619
|
+
height: var(--tenb-sizes-32);
|
|
620
|
+
width: auto;
|
|
621
|
+
|
|
622
|
+
/* Prevents radius curve of button from being clickable when disabled */
|
|
623
|
+
pointer-events: auto;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.tenable-button.small,
|
|
627
|
+
.tenable-button.selected.small {
|
|
628
|
+
font-size: var(--tenb-fontSizes-14);
|
|
629
|
+
padding: 5px 12px;
|
|
630
|
+
height: 28px;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.tenable-button.large,
|
|
634
|
+
.tenable-button.selected.large {
|
|
635
|
+
padding: 7px 12px;
|
|
636
|
+
height: 32px;
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.tenable-button.xlarge,
|
|
640
|
+
.tenable-button.selected.xlarge {
|
|
641
|
+
padding: 11px 16px;
|
|
642
|
+
height: 40px;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.tenable-button .icon-left {
|
|
646
|
+
display: inline-flex;
|
|
647
|
+
padding-right: 4px;
|
|
648
|
+
color: var(--tenb-colors-icon-white);
|
|
649
|
+
|
|
650
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
651
|
+
pointer-events: none;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.tenable-button .icon-right {
|
|
655
|
+
display: inline-flex;
|
|
656
|
+
padding-left: 4px;
|
|
657
|
+
color: var(--tenb-colors-icon-white);
|
|
658
|
+
|
|
659
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
660
|
+
pointer-events: none;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.tenable-button .label {
|
|
664
|
+
display: inline-flex;
|
|
665
|
+
line-height: 16px;
|
|
666
|
+
user-select: none;
|
|
667
|
+
-webkit-user-select: none; /* safari */
|
|
668
|
+
|
|
669
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
670
|
+
pointer-events: none;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.tenable-button:focus-visible {
|
|
674
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
675
|
+
var(--tenb-colors-outline-focus);
|
|
676
|
+
outline-offset: 2px;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
.tenable-button:hover {
|
|
680
|
+
border: 1px solid var(--tenb-colors-border-hover);
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.tenable-button:active {
|
|
684
|
+
border: 1px solid var(--tenb-colors-border-active);
|
|
685
|
+
color: var(--tenb-colors-text-interactive-idle);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.tenable-button:active .icon-left,
|
|
689
|
+
.tenable-button:active .icon-right {
|
|
690
|
+
color: var(--tenb-colors-icon-accent-idle);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.tenable-button:disabled {
|
|
694
|
+
border: 1px solid var(--tenb-colors-border-form-disabled);
|
|
695
|
+
box-shadow: none;
|
|
696
|
+
color: var(--tenb-colors-text-white);
|
|
697
|
+
cursor: default;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.tenable-button:disabled .icon-left,
|
|
701
|
+
.tenable-button:disabled .icon-right {
|
|
702
|
+
color: var(--tenb-colors-icon-white);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
.tenable-button.selected {
|
|
706
|
+
border: 1px solid var(--tenb-colors-border-selected);
|
|
707
|
+
color: var(--tenb-colors-text-white);
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.tenable-button.selected:active {
|
|
711
|
+
color: var(--tenb-colors-text-white);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.tenable-button.selected .icon-left,
|
|
715
|
+
.tenable-button.selected:active .icon-left,
|
|
716
|
+
.tenable-button.selected .icon-right,
|
|
717
|
+
.tenable-button.selected:active .icon-right {
|
|
718
|
+
color: var(--tenb-colors-icon-white);
|
|
719
|
+
}
|
|
720
|
+
`;var N0=Object.defineProperty,j0=Object.getOwnPropertyDescriptor,ue=(e,t,n,r)=>{for(var o=r>1?void 0:r?j0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&N0(t,n,o),o};let se=class extends x{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.allowSelectedClick=!1,this.type="button",this.size="large",this.value="",this.name="",this.form="",this.formMethod="",this.formAction="",this.formTarget="",this.autofocus=!1,this.dataAttr=null,this.telemetryController=null,this.onClickHandler=e=>{(this.disabled||this.selected&&!this.allowSelectedClick)&&e.stopImmediatePropagation()}}connectedCallback(){super.connectedCallback(),this.telemetryController=new R0(this,this.dataAttr)}render(){const e={selected:this.selected,[this.size]:!0};return this.type==="submit"||this.type==="reset"||(this.form=null,this.formMethod=null,this.formAction=null,this.formTarget=null),f`
|
|
721
|
+
<button
|
|
722
|
+
part="base"
|
|
723
|
+
class="tenable-button ${C(e)}"
|
|
724
|
+
type=${this.type}
|
|
725
|
+
form=${te(this.form)}
|
|
726
|
+
formmethod=${te(this.formMethod)}
|
|
727
|
+
formaction=${te(this.formAction)}
|
|
728
|
+
formtarget=${te(this.formTarget)}
|
|
729
|
+
name=${te(this.name)}
|
|
730
|
+
value="${te(this.value)}"
|
|
731
|
+
?autofocus=${this.autofocus}
|
|
732
|
+
?selected=${this.selected}
|
|
733
|
+
?disabled=${this.disabled}
|
|
734
|
+
@click=${this.onClickHandler}
|
|
735
|
+
>
|
|
736
|
+
<div part="icon-left" class="icon-left">
|
|
737
|
+
<slot name="icon-left"></slot>
|
|
738
|
+
</div>
|
|
739
|
+
<span part="label" class="label"><slot></slot></span>
|
|
740
|
+
<div part="icon-right" class="icon-right">
|
|
741
|
+
<slot name="icon-right"></slot>
|
|
742
|
+
</div>
|
|
743
|
+
</button>
|
|
744
|
+
`}};se.styles=[Cc];ue([b({type:Boolean,reflect:!0})],se.prototype,"disabled",2);ue([b({type:Boolean,reflect:!0})],se.prototype,"selected",2);ue([b({type:Boolean})],se.prototype,"allowSelectedClick",2);ue([b({reflect:!0})],se.prototype,"type",2);ue([b()],se.prototype,"size",2);ue([b({reflect:!0})],se.prototype,"value",2);ue([b()],se.prototype,"name",2);ue([b()],se.prototype,"form",2);ue([b()],se.prototype,"formMethod",2);ue([b()],se.prototype,"formAction",2);ue([b()],se.prototype,"formTarget",2);ue([b({type:Boolean,reflect:!0})],se.prototype,"autofocus",2);ue([b({type:Object})],se.prototype,"dataAttr",2);se=ue([w("tenable-button")],se);const B0=k`
|
|
745
|
+
${ce}
|
|
746
|
+
|
|
747
|
+
:host {
|
|
748
|
+
display: inline-flex;
|
|
749
|
+
|
|
750
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
751
|
+
pointer-events: none;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.tenable-link-button {
|
|
755
|
+
display: inline-flex;
|
|
756
|
+
align-items: stretch;
|
|
757
|
+
background-color: transparent;
|
|
758
|
+
border: 0;
|
|
759
|
+
border-bottom: 1px solid var(--tenb-colors-transparent);
|
|
760
|
+
border-radius: 0;
|
|
761
|
+
box-sizing: border-box;
|
|
762
|
+
color: var(--tenb-colors-text-interactive-idle);
|
|
763
|
+
cursor: pointer;
|
|
764
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
765
|
+
font-size: var(--tenb-fontSizes-16);
|
|
766
|
+
padding: 0px;
|
|
767
|
+
height: 21px;
|
|
768
|
+
width: auto;
|
|
769
|
+
|
|
770
|
+
/* Prevents radius curve of button from being clickable when disabled */
|
|
771
|
+
pointer-events: auto;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
.tenable-link-button .icon-left {
|
|
775
|
+
display: inline-flex;
|
|
776
|
+
padding-right: 4px;
|
|
777
|
+
|
|
778
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
779
|
+
pointer-events: none;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
.tenable-link-button .icon-right {
|
|
783
|
+
display: inline-flex;
|
|
784
|
+
padding-left: 4px;
|
|
785
|
+
|
|
786
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
787
|
+
pointer-events: none;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.tenable-link-button .label {
|
|
791
|
+
display: inline-flex;
|
|
792
|
+
line-height: 16px;
|
|
793
|
+
user-select: none;
|
|
794
|
+
-webkit-user-select: none; /* safari */
|
|
795
|
+
|
|
796
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
797
|
+
pointer-events: none;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.tenable-link-button:focus-visible {
|
|
801
|
+
border-radius: 3px;
|
|
802
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
803
|
+
var(--tenb-colors-outline-focus);
|
|
804
|
+
outline-offset: 2px;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.tenable-link-button:hover {
|
|
808
|
+
border-bottom: 1px solid var(--tenb-colors-text-interactive-idle);
|
|
809
|
+
color: var(--tenb-colors-text-interactive-idle);
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.tenable-link-button:active {
|
|
813
|
+
border-bottom: 1px solid var(--tenb-colors-text-interactive-active);
|
|
814
|
+
color: var(--tenb-colors-text-interactive-active);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.tenable-link-button:disabled {
|
|
818
|
+
border-bottom: none;
|
|
819
|
+
color: var(--tenb-colors-background-button-primary-disabled);
|
|
820
|
+
cursor: default;
|
|
821
|
+
}
|
|
822
|
+
`;var V0=Object.defineProperty,U0=Object.getOwnPropertyDescriptor,fi=(e,t,n,r)=>{for(var o=r>1?void 0:r?U0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&V0(t,n,o),o};let gn=class extends x{constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this.handleClick=e=>{this.disabled&&e.stopImmediatePropagation()}}render(){return f`
|
|
823
|
+
<button
|
|
824
|
+
part="base"
|
|
825
|
+
class="tenable-link-button"
|
|
826
|
+
type="button"
|
|
827
|
+
?autofocus=${this.autofocus}
|
|
828
|
+
?disabled=${this.disabled}
|
|
829
|
+
@click=${this.handleClick}
|
|
830
|
+
>
|
|
831
|
+
<div part="icon-left" class="icon-left">
|
|
832
|
+
<slot name="icon-left"></slot>
|
|
833
|
+
</div>
|
|
834
|
+
<span part="label" class="label"><slot></slot></span>
|
|
835
|
+
<div part="icon-right" class="icon-right">
|
|
836
|
+
<slot name="icon-right"></slot>
|
|
837
|
+
</div>
|
|
838
|
+
</button>
|
|
839
|
+
`}};gn.styles=[B0];fi([b({type:Boolean})],gn.prototype,"disabled",2);fi([b({type:Boolean})],gn.prototype,"autofocus",2);gn=fi([w("tenable-link-button")],gn);const H0=k`
|
|
840
|
+
.tenable-button {
|
|
841
|
+
background-color: var(--tenb-colors-background-button-secondary-idle);
|
|
842
|
+
border: 1px solid var(--tenb-colors-border-interactive);
|
|
843
|
+
color: var(--tenb-colors-text-body);
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.tenable-button .icon-left {
|
|
847
|
+
color: var(--tenb-colors-icon-accent-idle);
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.tenable-button .icon-right {
|
|
851
|
+
color: var(--tenb-colors-icon-default);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
.tenable-button:hover {
|
|
855
|
+
background-color: var(--tenb-colors-background-button-secondary-hover);
|
|
856
|
+
border: 1px solid var(--tenb-colors-border-interactive);
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.tenable-button:active {
|
|
860
|
+
background-color: var(--tenb-colors-background-button-secondary-active);
|
|
861
|
+
border: 1px solid var(--tenb-colors-border-active);
|
|
862
|
+
color: var(--tenb-colors-text-interactive-idle);
|
|
863
|
+
box-shadow: 0px 0px 3px var(--tenb-colors-shadow-button-secondary);
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.tenable-button:active .icon-left,
|
|
867
|
+
.tenable-button:active .icon-right {
|
|
868
|
+
color: var(--tenb-colors-icon-accent-idle);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.tenable-button:disabled {
|
|
872
|
+
background-color: var(--tenb-colors-background-button-secondary-disabled);
|
|
873
|
+
border: 1px solid var(--tenb-colors-border-form-disabled);
|
|
874
|
+
color: var(--tenb-colors-text-disabled);
|
|
875
|
+
box-shadow: none;
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
.tenable-button:disabled .icon-left,
|
|
879
|
+
.tenable-button:disabled .icon-right {
|
|
880
|
+
color: var(--tenb-colors-icon-disabled);
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
.tenable-button.selected {
|
|
884
|
+
background-color: var(--tenb-colors-background-button-secondary-selected);
|
|
885
|
+
border: 1px solid var(--tenb-colors-border-active);
|
|
886
|
+
color: var(--tenb-colors-text-interactive-idle);
|
|
887
|
+
box-shadow: 0px 0px 3px var(--tenb-colors-shadow-button-secondary);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.tenable-button.selected:active {
|
|
891
|
+
color: var(--tenb-colors-text-interactive-idle);
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
.tenable-button.selected .icon-left,
|
|
895
|
+
.tenable-button.selected:active .icon-left,
|
|
896
|
+
.tenable-button.selected .icon-right,
|
|
897
|
+
.tenable-button.selected:active .icon-right {
|
|
898
|
+
color: var(--tenb-colors-icon-accent-idle);
|
|
899
|
+
}
|
|
900
|
+
`;var F0=Object.defineProperty,z0=Object.getOwnPropertyDescriptor,G0=(e,t,n,r)=>{for(var o=r>1?void 0:r?z0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&F0(t,n,o),o};let Io=class extends se{};Io.styles=[Cc,H0];Io=G0([w("tenable-secondary-button")],Io);class en{constructor(t){this.onPopoverClicked=n=>{const{storePendo:r}=Nt.getStores(),o=this.host!==n.detail.hostClicked||!!this.isMenuOpen;r==null||r.closeResourceCenter(n),this.updatePopover(o)},this.closePopover=()=>{this.updatePopover(!0)},this.updatePopover=n=>{if(!this.isMenuOpen&&this._headerActionsPopover){const r={detail:{hostOpened:this},bubbles:!0,composed:!0},o=new CustomEvent(Xe.UNIVERSAL_HEADER_POPOVER_OPENED,r);this.host.dispatchEvent(o)}this.isMenuOpen=!n,n&&this._headerActionsPopover&&this._headerActionsPopover.closePopover(),this.host.requestUpdate()},this.host=t,this.host.addController(this)}hostConnected(){document.addEventListener("click",this.closePopover),document.addEventListener(Xe.UNIVERSAL_HEADER_POPOVER_CLICKED,t=>this.onPopoverClicked(t))}hostDisconnected(){document.removeEventListener("click",this.closePopover),document.removeEventListener(Xe.UNIVERSAL_HEADER_POPOVER_CLICKED,t=>this.onPopoverClicked(t))}onPopoverTriggerClicked(t,n){this._headerActionsPopover=n;const r={detail:{hostClicked:t},bubbles:!0,composed:!0},o=new CustomEvent(Xe.UNIVERSAL_HEADER_POPOVER_CLICKED,r);document.dispatchEvent(o)}}var K0=Object.defineProperty,q0=Object.getOwnPropertyDescriptor,vi=(e,t,n,r)=>{for(var o=r>1?void 0:r?q0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&K0(t,n,o),o};const W0="universal-header-chat-action",Z0=`${We()}`,Sc=`${W0}-${Z0}`;let yr=class extends x{constructor(){super(...arguments),this.chatCount=0,this._actionController=new en(this),this.onPopoverTriggerClicked=e=>{var o,i;const{storeRoot:t,storeTelemetry:n}=this.__getStores();this._actionController.onPopoverTriggerClicked(this,this.popover);const r={eventName:u.TulEvent.onTulEventChatClick,detail:{nativeEvent:e,tulApi:t.tulApi}};this.__dispatchTulEvent(r),(i=(o=t.environment.config.app.handlers)==null?void 0:o.onTulChatClick)==null||i.call(o,{tulEvent:r}),n.trackTelemetry(le.ChatClicked)},this.renderBadge=()=>{if(this.chatCount>0)return f`<tenable-notification-badge
|
|
901
|
+
>${this.chatCount}</tenable-notification-badge
|
|
902
|
+
>`}}render(){return f`
|
|
903
|
+
<tenable-popover
|
|
904
|
+
part="base"
|
|
905
|
+
id="${Sc}"
|
|
906
|
+
label="Chat Menu"
|
|
907
|
+
?is-open=${this._actionController.isMenuOpen}
|
|
908
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
909
|
+
>
|
|
910
|
+
<tenable-floating-button
|
|
911
|
+
class="chat__trigger"
|
|
912
|
+
?selected=${this._actionController.isMenuOpen}
|
|
913
|
+
.allowSelectedClick=${!0}
|
|
914
|
+
id="chat-menu-button"
|
|
915
|
+
aria-label="Chat"
|
|
916
|
+
aria-haspopup="true"
|
|
917
|
+
slot="anchor"
|
|
918
|
+
part="trigger"
|
|
919
|
+
>
|
|
920
|
+
<tenable-chat color="brand" size="medium"></tenable-chat>
|
|
921
|
+
|
|
922
|
+
${this.renderBadge()}
|
|
923
|
+
</tenable-floating-button>
|
|
924
|
+
|
|
925
|
+
<slot></slot>
|
|
926
|
+
</tenable-popover>
|
|
927
|
+
`}};vi([Zt(`#${Sc}`)],yr.prototype,"popover",2);vi([b({type:Number})],yr.prototype,"chatCount",2);yr=vi([w("tenable-universal-header-chat-action")],yr);const J0=k`
|
|
928
|
+
#chat-view {
|
|
929
|
+
display: grid;
|
|
930
|
+
grid-template-columns: 1fr;
|
|
931
|
+
grid-template-rows: 1fr;
|
|
932
|
+
gap: 16px 16px;
|
|
933
|
+
margin: 16px;
|
|
934
|
+
}
|
|
935
|
+
`;var X0=Object.defineProperty,Q0=Object.getOwnPropertyDescriptor,xc=(e,t,n,r)=>{for(var o=r>1?void 0:r?Q0(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&X0(t,n,o),o};let wr=class extends x{constructor(){super(...arguments),this.panelTitle="Chat"}render(){return f`
|
|
936
|
+
<tenable-universal-header-action-panel part="base">
|
|
937
|
+
<tenable-universal-header-action-panel-header part="panel-header">
|
|
938
|
+
<tenable-heading3 part="panel-header-title"
|
|
939
|
+
>${this.panelTitle}</tenable-heading3
|
|
940
|
+
>
|
|
941
|
+
</tenable-universal-header-action-panel-header>
|
|
942
|
+
<tenable-universal-header-action-panel-body part="panel-body">
|
|
943
|
+
<slot></slot>
|
|
944
|
+
</tenable-universal-header-action-panel-body>
|
|
945
|
+
</tenable-universal-header-action-panel>
|
|
946
|
+
`}};wr.styles=[J0];xc([b({type:String})],wr.prototype,"panelTitle",2);wr=xc([w("tenable-universal-header-chat-panel")],wr);const Y0=k`
|
|
947
|
+
${ce}
|
|
948
|
+
|
|
949
|
+
:host {
|
|
950
|
+
display: flex;
|
|
951
|
+
width: 32px;
|
|
952
|
+
height: 32px;
|
|
953
|
+
|
|
954
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
955
|
+
pointer-events: none;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.tenable-floating-button {
|
|
959
|
+
background-color: transparent;
|
|
960
|
+
border: 0;
|
|
961
|
+
border-radius: 100px;
|
|
962
|
+
box-sizing: border-box;
|
|
963
|
+
color: var(--tenb-colors-text-body);
|
|
964
|
+
cursor: pointer;
|
|
965
|
+
width: 32px;
|
|
966
|
+
height: 32px;
|
|
967
|
+
text-align: center;
|
|
968
|
+
vertical-align: center;
|
|
969
|
+
user-select: none;
|
|
970
|
+
padding-inline: 4px;
|
|
971
|
+
-webkit-user-select: none; /* safari */
|
|
972
|
+
|
|
973
|
+
/* Prevents radius curve of button from being clickable when disabled */
|
|
974
|
+
pointer-events: auto;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
.tenable-floating-button.medium,
|
|
978
|
+
:host([size='medium']) {
|
|
979
|
+
width: 24px;
|
|
980
|
+
height: 24px;
|
|
981
|
+
padding: 0;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.tenable-floating-button.small,
|
|
985
|
+
:host([size='small']) {
|
|
986
|
+
width: 20px;
|
|
987
|
+
height: 20px;
|
|
988
|
+
padding: 0;
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.tenable-floating-button .icon {
|
|
992
|
+
display: flex;
|
|
993
|
+
align-items: center;
|
|
994
|
+
justify-content: center;
|
|
995
|
+
width: 1.5rem;
|
|
996
|
+
height: 1.5rem;
|
|
997
|
+
|
|
998
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
999
|
+
pointer-events: none;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
.tenable-floating-button:focus-visible {
|
|
1003
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
1004
|
+
var(--tenb-colors-outline-focus);
|
|
1005
|
+
outline-offset: 2px;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.tenable-floating-button:hover {
|
|
1009
|
+
background-color: ${Ao("tul-floating-button-hover/background")};
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
.tenable-floating-button:disabled {
|
|
1013
|
+
cursor: default;
|
|
1014
|
+
background-color: transparent;
|
|
1015
|
+
color: var(--tenb-colors-icon-disabled);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
.tenable-floating-button.selected {
|
|
1019
|
+
background-color: var(--tenb-colors-background-button-floating-selected);
|
|
1020
|
+
}
|
|
1021
|
+
`;var e2=Object.defineProperty,t2=Object.getOwnPropertyDescriptor,ct=(e,t,n,r)=>{for(var o=r>1?void 0:r?t2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&e2(t,n,o),o};let Re=class extends x{constructor(){super(...arguments),this.size="large",this.disabled=!1,this.selected=!1,this.allowSelectedClick=!1,this.autofocus=!1,this["aria-haspopup"]="",this["aria-label"]="null",this.handleClick=e=>{(this.disabled||this.selected&&!this.allowSelectedClick)&&e.stopImmediatePropagation()}}render(){const e={selected:this.selected,[this.size]:!0};return f`
|
|
1022
|
+
<button
|
|
1023
|
+
part="base"
|
|
1024
|
+
class="tenable-floating-button ${C(e)}"
|
|
1025
|
+
role="button"
|
|
1026
|
+
type="button"
|
|
1027
|
+
aria-haspopup=${!!this["aria-haspopup"]}
|
|
1028
|
+
aria-label=${te(this["aria-label"])}
|
|
1029
|
+
?autofocus=${this.autofocus}
|
|
1030
|
+
?selected=${this.selected}
|
|
1031
|
+
?disabled=${this.disabled}
|
|
1032
|
+
@click=${this.handleClick}
|
|
1033
|
+
>
|
|
1034
|
+
<div part="icon" class="icon">
|
|
1035
|
+
<slot></slot>
|
|
1036
|
+
</div>
|
|
1037
|
+
</button>
|
|
1038
|
+
`}};Re.styles=[Y0];ct([b({type:String,reflect:!0})],Re.prototype,"size",2);ct([b({type:Boolean,reflect:!0})],Re.prototype,"disabled",2);ct([b({type:Boolean,reflect:!0})],Re.prototype,"selected",2);ct([b({type:Boolean})],Re.prototype,"allowSelectedClick",2);ct([b({type:Boolean,reflect:!0})],Re.prototype,"autofocus",2);ct([b()],Re.prototype,"aria-haspopup",2);ct([b()],Re.prototype,"aria-label",2);Re=ct([w("tenable-floating-button")],Re);const Ts=(e,t)=>e.querySelector(`*[slot='${t}']`)!==null,n2=k`
|
|
1039
|
+
${ce}
|
|
1040
|
+
|
|
1041
|
+
:host {
|
|
1042
|
+
height: 32px;
|
|
1043
|
+
|
|
1044
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
1045
|
+
pointer-events: none;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.tenable-floating-text-button {
|
|
1049
|
+
display: inline-flex;
|
|
1050
|
+
flex-flow: row nowrap;
|
|
1051
|
+
align-items: center;
|
|
1052
|
+
background-color: transparent;
|
|
1053
|
+
border: 0;
|
|
1054
|
+
border-radius: 100px;
|
|
1055
|
+
box-sizing: border-box;
|
|
1056
|
+
color: var(--tenb-colors-text-body);
|
|
1057
|
+
cursor: pointer;
|
|
1058
|
+
height: 32px;
|
|
1059
|
+
text-align: center;
|
|
1060
|
+
vertical-align: middle;
|
|
1061
|
+
|
|
1062
|
+
/* apply tenb-text styling */
|
|
1063
|
+
font-family: var(--tenb-fonts-base);
|
|
1064
|
+
font-size: var(--tenb-fontSizes-14);
|
|
1065
|
+
font-weight: 400;
|
|
1066
|
+
|
|
1067
|
+
/* Prevents radius curve of button from being clickable when disabled */
|
|
1068
|
+
pointer-events: auto;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.tenable-floating-text-button_small {
|
|
1072
|
+
height: 24px;
|
|
1073
|
+
|
|
1074
|
+
/* apply tenb-small-text styling */
|
|
1075
|
+
font-size: var(--tenb-fontSizes-12);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
.tenable-floating-text-button__icon-left_enabled {
|
|
1079
|
+
padding-top: 4px;
|
|
1080
|
+
padding-right: 4px;
|
|
1081
|
+
|
|
1082
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
1083
|
+
pointer-events: none;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.tenable-floating-text-button__icon-right_enabled {
|
|
1087
|
+
padding-top: 4px;
|
|
1088
|
+
padding-left: 4px;
|
|
1089
|
+
|
|
1090
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
1091
|
+
pointer-events: none;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.tenable-floating-text-button__label {
|
|
1095
|
+
user-select: none;
|
|
1096
|
+
-webkit-user-select: none; /* safari */
|
|
1097
|
+
|
|
1098
|
+
/* Prevents html onclick events from bubbling when disabled */
|
|
1099
|
+
pointer-events: none;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
.tenable-floating-text-button:focus-visible {
|
|
1103
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
1104
|
+
var(--tenb-colors-outline-focus);
|
|
1105
|
+
outline-offset: 2px;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.tenable-floating-text-button:hover {
|
|
1109
|
+
background-color: var(--tenb-colors-background-button-floating-hover);
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.tenable-floating-text-button:disabled {
|
|
1113
|
+
cursor: default;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.tenable-floating-text-button:disabled:hover {
|
|
1117
|
+
background-color: transparent;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.tenable-floating-text-button.selected {
|
|
1121
|
+
background-color: var(--tenb-colors-background-button-floating-selected);
|
|
1122
|
+
}
|
|
1123
|
+
`;var r2=Object.defineProperty,o2=Object.getOwnPropertyDescriptor,Et=(e,t,n,r)=>{for(var o=r>1?void 0:r?o2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&r2(t,n,o),o};let Ge=class extends x{constructor(){super(...arguments),this.disabled=!1,this.selected=!1,this.allowSelectedClick=!1,this.autofocus=!1,this.size="medium",this["aria-haspopup"]="",this.handleClick=e=>{(this.disabled||this.selected&&!this.allowSelectedClick)&&e.stopImmediatePropagation()}}render(){const e={"tenable-floating-text-button":!0,"tenable-floating-text-button_small":this.size==="small",selected:this.selected},t=C({"tenable-floating-text-button__icon-left":!0,"tenable-floating-text-button__icon-left_enabled":Ts(this,"icon-left")}),n=C({"tenable-floating-text-button__icon-right":!0,"tenable-floating-text-button__icon-right_enabled":Ts(this,"icon-right")});return f`
|
|
1124
|
+
<button
|
|
1125
|
+
part="base"
|
|
1126
|
+
class="${C(e)}"
|
|
1127
|
+
type="button"
|
|
1128
|
+
?autofocus=${this.autofocus}
|
|
1129
|
+
?selected=${this.selected}
|
|
1130
|
+
?disabled=${this.disabled}
|
|
1131
|
+
aria-haspopup=${!!te(this["aria-haspopup"])}
|
|
1132
|
+
@click=${this.handleClick}
|
|
1133
|
+
>
|
|
1134
|
+
<div part="icon-left" .class=${t}>
|
|
1135
|
+
<slot name="icon-left"></slot>
|
|
1136
|
+
</div>
|
|
1137
|
+
<div part="label" class="tenable-floating-text-button__label">
|
|
1138
|
+
<slot></slot>
|
|
1139
|
+
</div>
|
|
1140
|
+
<div part="icon-right" .class=${n}>
|
|
1141
|
+
<slot name="icon-right"></slot>
|
|
1142
|
+
</div>
|
|
1143
|
+
</button>
|
|
1144
|
+
`}};Ge.styles=[n2];Et([b({type:Boolean})],Ge.prototype,"disabled",2);Et([b({type:Boolean})],Ge.prototype,"selected",2);Et([b({type:Boolean})],Ge.prototype,"allowSelectedClick",2);Et([b({type:Boolean})],Ge.prototype,"autofocus",2);Et([b()],Ge.prototype,"size",2);Et([b()],Ge.prototype,"aria-haspopup",2);Ge=Et([w("tenable-floating-text-button")],Ge);const i2=k`
|
|
1145
|
+
.universal-header {
|
|
1146
|
+
background-color: ${Ao("tul-header/background")};
|
|
1147
|
+
box-sizing: border-box;
|
|
1148
|
+
border-bottom: 1px solid var(--tenb-colors-border-base);
|
|
1149
|
+
color: var(--tenb-colors-text-body);
|
|
1150
|
+
font-size: 1.875rem;
|
|
1151
|
+
height: ${Ao("tul-header/height")};
|
|
1152
|
+
width: 100%;
|
|
1153
|
+
min-width: 1200px;
|
|
1154
|
+
|
|
1155
|
+
display: flex;
|
|
1156
|
+
align-items: center;
|
|
1157
|
+
justify-content: space-between;
|
|
1158
|
+
flex-flow: row nowrap;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
.universal-header .left-content-region {
|
|
1162
|
+
flex: 3 1;
|
|
1163
|
+
box-sizing: border-box;
|
|
1164
|
+
width: 100%;
|
|
1165
|
+
font-size: 0.875rem;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.universal-header .right-content-region {
|
|
1169
|
+
flex: 2 1;
|
|
1170
|
+
box-sizing: border-box;
|
|
1171
|
+
width: 100%;
|
|
1172
|
+
padding-right: 16px;
|
|
1173
|
+
font-size: 0.875rem;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.universal-header .left-content-region .left-content {
|
|
1177
|
+
display: flex;
|
|
1178
|
+
flex-flow: row nowrap;
|
|
1179
|
+
align-items: center;
|
|
1180
|
+
text-align: left;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.universal-header .left-content-region .navigation-button-container {
|
|
1184
|
+
width: 32px;
|
|
1185
|
+
height: inherit;
|
|
1186
|
+
padding-left: 12px;
|
|
1187
|
+
padding-right: 8px;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.universal-header .left-content-region tenable-floating-button::part(base) {
|
|
1191
|
+
// can be done for all icons, but added only where needed
|
|
1192
|
+
display: flex;
|
|
1193
|
+
align-items: center;
|
|
1194
|
+
justify-content: center;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.universal-header .right-content-region .right-content {
|
|
1198
|
+
display: flex;
|
|
1199
|
+
flex-flow: row nowrap;
|
|
1200
|
+
align-items: center;
|
|
1201
|
+
justify-content: flex-end;
|
|
1202
|
+
height: inherit;
|
|
1203
|
+
|
|
1204
|
+
> div {
|
|
1205
|
+
flex: 1;
|
|
1206
|
+
height: inherit;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.universal-header .right-content-region .right-content > div {
|
|
1211
|
+
flex: 1;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.universal-header .right-content-region .right-content ::slotted(*) {
|
|
1215
|
+
margin-left: var(--tenb-space-8);
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
div.divider {
|
|
1219
|
+
margin: 8px 17px;
|
|
1220
|
+
height: 17px;
|
|
1221
|
+
width: 1px;
|
|
1222
|
+
background-color: var(--tenb-colors-border-base);
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.left-content .universal-header-title {
|
|
1226
|
+
display: inline-flex;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
// .left-content .universal-header-logo {
|
|
1230
|
+
// min-width: 400px;
|
|
1231
|
+
// }
|
|
1232
|
+
|
|
1233
|
+
.universal-header-logo {
|
|
1234
|
+
height: 2.0625rem;
|
|
1235
|
+
max-width: 22rem;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.left-content .universal-header-logo.clickable {
|
|
1239
|
+
cursor: pointer;
|
|
1240
|
+
}
|
|
1241
|
+
.left-content .universal-header-logo.no-hamburger {
|
|
1242
|
+
margin-left: 12px;
|
|
1243
|
+
}
|
|
1244
|
+
.left-content .universal-header-logo:focus-visible {
|
|
1245
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
1246
|
+
var(--tenb-colors-outline-focus);
|
|
1247
|
+
outline-offset: 2px;
|
|
1248
|
+
border-radius: 6px;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.left-content .universal-header-logo-image {
|
|
1252
|
+
height: 33px;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
.universal-header-logo.clickable:focus-visible {
|
|
1256
|
+
border-radius: 10px;
|
|
1257
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
1258
|
+
var(--tenb-colors-outline-focus);
|
|
1259
|
+
outline-offset: 1px;
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
::slotted(*) {
|
|
1263
|
+
display: flex;
|
|
1264
|
+
align-items: center;
|
|
1265
|
+
}
|
|
1266
|
+
`;var s2=Object.defineProperty,a2=Object.getOwnPropertyDescriptor,bi=(e,t,n,r)=>{for(var o=r>1?void 0:r?a2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&s2(t,n,o),o};let mn=class extends x{constructor(){super(...arguments),this.hideActions=!1,this.hideNavigationButton=!1,this.closeMenu=e=>{e.composedPath().some(n=>(n==null?void 0:n.id)==="navigation-button")||(this.__getStores().storeLayout.closeMainNavigation(),this.dispatchHamburgerEvent(e))},this._handleNavigationButtonClick=e=>{const{storeLayout:t}=this.__getStores();t.toggleMainNavigation();const n={isNavigationOpen:t.isNavigationOpened,nativeEvent:e},r={bubbles:!0,composed:!0},o=new ee(ee.UNIVERSAL_NAVIGATION_BUTTON_CLICKED,n,r);this.dispatchEvent(o),this.dispatchHamburgerEvent(e)},this.renderHamburgerIcon=()=>{const{storeLayout:e}=this.__getStores();return e.isNavigationOpened?f`<tenable-close-large-icon
|
|
1267
|
+
color="brand"
|
|
1268
|
+
size="medium"
|
|
1269
|
+
></tenable-close-large-icon>`:f`<tenable-hamburger-open
|
|
1270
|
+
color="brand"
|
|
1271
|
+
size="medium"
|
|
1272
|
+
></tenable-hamburger-open>`},this._renderNavigationButton=()=>{const{storeLayout:e}=this.__getStores();if(!this.hideNavigationButton)return f`
|
|
1273
|
+
<div
|
|
1274
|
+
part="navigation-button-container"
|
|
1275
|
+
id="navigation-button-container"
|
|
1276
|
+
class="navigation-button-container"
|
|
1277
|
+
@click="${t=>this._handleNavigationButtonClick(t)}"
|
|
1278
|
+
>
|
|
1279
|
+
<tenable-floating-button
|
|
1280
|
+
id="navigation-button"
|
|
1281
|
+
?selected=${e.isNavigationOpened}
|
|
1282
|
+
.allowSelectedClick=${!0}
|
|
1283
|
+
data-test=${e.isNavigationOpened?"hamburger-close":"hamburger-open"}
|
|
1284
|
+
>
|
|
1285
|
+
${this.renderHamburgerIcon()}
|
|
1286
|
+
</tenable-floating-button>
|
|
1287
|
+
</div>
|
|
1288
|
+
`},this.handleKeyDown=e=>{const t=e.target;switch(e.code){case"Enter":case"Space":e.preventDefault(),t==null||t.click();break}},this._renderLogo=()=>{var s,a,l,c,d;const{storeRoot:e,storeLayout:t}=this.__getStores(),n=(a=(s=e.config.app)==null?void 0:s.logo)==null?void 0:a.defaultRoute,r=((c=(l=e.config.app)==null?void 0:l.sidebar)==null?void 0:c.hamburger)===!1,o=u.j((d=e.environment.config.app.handlers)==null?void 0:d.onTulApplicationLogoClick);return f`
|
|
1289
|
+
<div
|
|
1290
|
+
class="universal-header-logo ${C({clickable:!0,"no-hamburger":r})}"
|
|
1291
|
+
@click="${this._handleLogoOnClick}"
|
|
1292
|
+
tabindex="${n||o?0:-1}"
|
|
1293
|
+
@keydown="${this.handleKeyDown}"
|
|
1294
|
+
>
|
|
1295
|
+
${t.logo&&u.HTML_AS_STRING_REGEX.test(t.logo)?"":f`<img
|
|
1296
|
+
class="universal-header-logo-image"
|
|
1297
|
+
src=${t.logo}
|
|
1298
|
+
/>`}
|
|
1299
|
+
${t.logo&&u.HTML_AS_STRING_REGEX.test(t.logo)?f`<i>${Me(`${t.logo}`)} </i>`:""}
|
|
1300
|
+
</div>
|
|
1301
|
+
`},this._renderHeaderActions=()=>{if(!this.hideActions)return f`
|
|
1302
|
+
<slot name="custom-actions"></slot>
|
|
1303
|
+
<slot name="app-specific-actions"></slot>
|
|
1304
|
+
<slot name="chats-action"></slot>
|
|
1305
|
+
<slot name="help-action"></slot>
|
|
1306
|
+
<slot name="notifications-action"></slot>
|
|
1307
|
+
<slot name="settings-action"></slot>
|
|
1308
|
+
<slot name="workspace-action"></slot>
|
|
1309
|
+
<slot name="user-action"></slot>
|
|
1310
|
+
`},this._renderBreadCrumbs=()=>{const e=this.__getStores().storeLayout.breadcrumbs;return e!=null&&e.length?f`<div class="divider"></div>
|
|
1311
|
+
<tenable-breadcrumbs
|
|
1312
|
+
.breadcrumbs=${e}
|
|
1313
|
+
></tenable-breadcrumbs>`:""},this._renderLeftContentRegion=()=>f`
|
|
1314
|
+
<div part="left-content-region" class="left-content-region">
|
|
1315
|
+
<div part="left-content" class="left-content">
|
|
1316
|
+
${this._renderNavigationButton()} ${this._renderLogo()}
|
|
1317
|
+
${this._renderBreadCrumbs()}
|
|
1318
|
+
</div>
|
|
1319
|
+
</div>
|
|
1320
|
+
`,this._renderRightContentRegion=()=>f`
|
|
1321
|
+
<div part="right-content-region" class="right-content-region">
|
|
1322
|
+
<div part="right-content" class="right-content">
|
|
1323
|
+
${this._renderHeaderActions()}
|
|
1324
|
+
</div>
|
|
1325
|
+
</div>
|
|
1326
|
+
`}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.closeMenu),document.addEventListener(ee.UNIVERSAL_NAVIGATION_MENU_COLLAPSED,this.closeMenu)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.closeMenu)}dispatchHamburgerEvent(e){var o,i;const{storeRoot:t,storeLayout:n}=this.__getStores(),r={eventName:u.TulEvent.onTulEventHamburgerClick,detail:{nativeEvent:e,navigationOpened:n.isNavigationOpened,tulApi:t.tulApi}};this.__dispatchTulEvent(r),(i=(o=t.environment.config.app.handlers)==null?void 0:o.onTulHamburgerClick)==null||i.call(o,{tulEvent:r})}render(){return f`
|
|
1327
|
+
<div part="base" class="universal-header">
|
|
1328
|
+
${this._renderLeftContentRegion()} ${this._renderRightContentRegion()}
|
|
1329
|
+
</div>
|
|
1330
|
+
`}_handleLogoOnClick(){var i,s,a,l,c;const{storeRoot:e,storeTelemetry:t}=this.__getStores(),n=(s=(i=e.config.app)==null?void 0:i.logo)==null?void 0:s.defaultRoute,r=!((a=e.environment.config.app.handlers)!=null&&a.onTulApplicationLogoClick);t.trackTelemetry(le.LogoClicked);const o={eventName:u.TulEvent.onTulEventApplicationLogoClick,detail:{url:"/",tulApi:e.tulApi}};n?window.document.location.href=n:r?this.__dispatchTulEvent(o):(this.__dispatchTulEvent(o),(c=(l=e.environment.config.app.handlers)==null?void 0:l.onTulApplicationLogoClick)==null||c.call(l,{tulEvent:o}))}};mn.styles=[i2];bi([b({type:Boolean})],mn.prototype,"hideActions",2);bi([b({type:Boolean})],mn.prototype,"hideNavigationButton",2);mn=bi([w("tenable-universal-header")],mn);const l2=k`
|
|
1331
|
+
/* Added to address the Resource Center notification bubble postiion shift after agent 2.90.0 */
|
|
1332
|
+
#help-menu-button {
|
|
1333
|
+
position: relative;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
#help-menu-button > div.pendo-resource-center-badge-notification-bubble {
|
|
1337
|
+
position: absolute !important;
|
|
1338
|
+
top: -5px !important;
|
|
1339
|
+
left: 20px !important;
|
|
1340
|
+
height: 20px !important;
|
|
1341
|
+
width: 20px !important;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
#help-menu-button
|
|
1345
|
+
> div.pendo-resource-center-badge-notification-bubble
|
|
1346
|
+
> div.pendo-notification-bubble-unread-count {
|
|
1347
|
+
line-height: 18px !important;
|
|
1348
|
+
width: 20px !important;
|
|
1349
|
+
top: 1px !important;
|
|
1350
|
+
font-family: var(--tenb-fonts-base) !important;
|
|
1351
|
+
font-size: var(--tenb-fontSizes-12) !important;
|
|
1352
|
+
}
|
|
1353
|
+
`;var c2=Object.defineProperty,u2=Object.getOwnPropertyDescriptor,d2=(e,t,n,r)=>{for(var o=r>1?void 0:r?u2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&c2(t,n,o),o};let Do=class extends x{constructor(){super(...arguments),this._preventPendoClose=!1,this._handleMouseUp=e=>{const{storePendo:t}=this.__getStores();this._preventPendoClose||t.closeResourceCenter(e),this._preventPendoClose=!1},this._handleHelpIconClick=e=>{var o,i;this._preventPendoClose=!0;const{storeRoot:t,storeTelemetry:n}=this.__getStores(),r={eventName:u.TulEvent.onTulEventHelpClick,detail:{nativeEvent:e,tulApi:t.tulApi}};this.__dispatchTulEvent(r),(i=(o=t.environment.config.app.handlers)==null?void 0:o.onTulHelpIconClick)==null||i.call(o,{tulEvent:r}),n.trackTelemetry(le.HelpIconClicked)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this._handleMouseUp)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this._handleMouseUp)}render(){return f`
|
|
1354
|
+
<tenable-floating-button
|
|
1355
|
+
part="base"
|
|
1356
|
+
id="help-menu-button"
|
|
1357
|
+
aria-haspopup="true"
|
|
1358
|
+
aria-label="Resource Center"
|
|
1359
|
+
.allowSelectedClick=${!0}
|
|
1360
|
+
@click="${this._handleHelpIconClick}"
|
|
1361
|
+
>
|
|
1362
|
+
<tenable-help-icon color="brand" size="medium"></tenable-help-icon>
|
|
1363
|
+
</tenable-floating-button>
|
|
1364
|
+
`}};Do.styles=[l2];Do=d2([w("tenable-universal-header-help-action")],Do);var p2=Object.defineProperty,h2=Object.getOwnPropertyDescriptor,Ac=(e,t,n,r)=>{for(var o=r>1?void 0:r?h2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&p2(t,n,o),o};class T extends x{constructor(){super(...arguments),this.color="default",this.size="small"}}T.styles=[k`
|
|
1365
|
+
${ce}
|
|
1366
|
+
|
|
1367
|
+
:host {
|
|
1368
|
+
/* Prevents radius curve of button wrapper from being clickable when disabled */
|
|
1369
|
+
pointer-events: none;
|
|
1370
|
+
|
|
1371
|
+
/* Default size 'small' */
|
|
1372
|
+
height: 16px;
|
|
1373
|
+
width: 16px;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
svg {
|
|
1377
|
+
height: inherit;
|
|
1378
|
+
width: inherit;
|
|
1379
|
+
stroke: currentcolor;
|
|
1380
|
+
/* Ensure the stroke thickness is not scaled proportionally with the width/height */
|
|
1381
|
+
vector-effect: non-scaling-stroke;
|
|
1382
|
+
stroke-width: 1px;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
svg.size-icon-large,
|
|
1386
|
+
svg.size-icon-xlarge {
|
|
1387
|
+
stroke-width: 1.5px;
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
circle,
|
|
1391
|
+
ellipse,
|
|
1392
|
+
g,
|
|
1393
|
+
line,
|
|
1394
|
+
path,
|
|
1395
|
+
polygon,
|
|
1396
|
+
polyline,
|
|
1397
|
+
rect {
|
|
1398
|
+
stroke: currentcolor;
|
|
1399
|
+
vector-effect: inherit;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
/* Icon Sizes */
|
|
1403
|
+
/* This list should match the names defined in Icon's types.ts */
|
|
1404
|
+
:host([size='small']) {
|
|
1405
|
+
height: 16px;
|
|
1406
|
+
width: 16px;
|
|
1407
|
+
}
|
|
1408
|
+
:host([size='medium']) {
|
|
1409
|
+
height: 24px;
|
|
1410
|
+
width: 24px;
|
|
1411
|
+
}
|
|
1412
|
+
:host([size='large']) {
|
|
1413
|
+
height: 32px;
|
|
1414
|
+
width: 32px;
|
|
1415
|
+
}
|
|
1416
|
+
:host([size='xlarge']) {
|
|
1417
|
+
height: 40px;
|
|
1418
|
+
width: 40px;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
/* Icon colors (based on design token names available in light/dark color-variables.css) */
|
|
1422
|
+
/* This list should match names defined in Icon's types.ts */
|
|
1423
|
+
.color-icon-default {
|
|
1424
|
+
color: var(--tenb-colors-icon-default);
|
|
1425
|
+
}
|
|
1426
|
+
.color-icon-alt {
|
|
1427
|
+
color: var(--tenb-colors-icon-alt);
|
|
1428
|
+
}
|
|
1429
|
+
.color-icon-brand {
|
|
1430
|
+
color: var(--tenb-colors-icon-brand);
|
|
1431
|
+
}
|
|
1432
|
+
.color-icon-accent-idle {
|
|
1433
|
+
color: var(--tenb-colors-icon-accent-idle);
|
|
1434
|
+
}
|
|
1435
|
+
.color-icon-accent-hover {
|
|
1436
|
+
color: var(--tenb-colors-icon-accent-hover);
|
|
1437
|
+
}
|
|
1438
|
+
.color-icon-accent-active {
|
|
1439
|
+
color: var(--tenb-colors-icon-accent-active);
|
|
1440
|
+
}
|
|
1441
|
+
.color-icon-white {
|
|
1442
|
+
color: var(--tenb-colors-icon-white);
|
|
1443
|
+
}
|
|
1444
|
+
.color-icon-disabled {
|
|
1445
|
+
color: var(--tenb-colors-icon-disabled);
|
|
1446
|
+
}
|
|
1447
|
+
.color-icon-severity-critical {
|
|
1448
|
+
color: var(--tenb-colors-icon-severity-critical);
|
|
1449
|
+
}
|
|
1450
|
+
.color-icon-severity-high {
|
|
1451
|
+
color: var(--tenb-colors-icon-severity-high);
|
|
1452
|
+
}
|
|
1453
|
+
.color-icon-severity-medium {
|
|
1454
|
+
color: var(--tenb-colors-icon-severity-medium);
|
|
1455
|
+
}
|
|
1456
|
+
.color-icon-severity-low {
|
|
1457
|
+
color: var(--tenb-colors-icon-severity-low);
|
|
1458
|
+
}
|
|
1459
|
+
.color-icon-status-bad {
|
|
1460
|
+
color: var(--tenb-colors-icon-status-bad);
|
|
1461
|
+
}
|
|
1462
|
+
.color-icon-status-warning {
|
|
1463
|
+
color: var(--tenb-colors-icon-status-warning);
|
|
1464
|
+
}
|
|
1465
|
+
.color-icon-status-good {
|
|
1466
|
+
color: var(--tenb-colors-icon-status-good);
|
|
1467
|
+
}
|
|
1468
|
+
.color-icon-status-info {
|
|
1469
|
+
color: var(--tenb-colors-icon-status-info);
|
|
1470
|
+
}
|
|
1471
|
+
.color-icon-error-idle {
|
|
1472
|
+
color: var(--tenb-colors-icon-error-idle);
|
|
1473
|
+
}
|
|
1474
|
+
.color-icon-error-disabled {
|
|
1475
|
+
color: var(--tenb-colors-icon-error-disabled);
|
|
1476
|
+
}
|
|
1477
|
+
`];Ac([b()],T.prototype,"color",2);Ac([b()],T.prototype,"size",2);var f2=Object.defineProperty,v2=Object.getOwnPropertyDescriptor,b2=(e,t,n,r)=>{for(var o=r>1?void 0:r?v2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&f2(t,n,o),o};let Is=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1478
|
+
<svg
|
|
1479
|
+
class=${e}
|
|
1480
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1481
|
+
width="20"
|
|
1482
|
+
height="20"
|
|
1483
|
+
viewBox="0 0 20 20"
|
|
1484
|
+
fill="none"
|
|
1485
|
+
>
|
|
1486
|
+
<path
|
|
1487
|
+
d="M3.07324 3.87287C4.27779 2.67485 5.87546 1.74799 7.73246 1.28051C8.07241 1.19493 8.412 1.12703 8.74995 1.07617"
|
|
1488
|
+
stroke="#026EDD"
|
|
1489
|
+
stroke-miterlimit="10"
|
|
1490
|
+
stroke-linecap="round"
|
|
1491
|
+
/>
|
|
1492
|
+
<path
|
|
1493
|
+
d="M15.537 10.5956C15.1708 7.9417 12.8935 5.89795 10.139 5.89795C7.12928 5.89795 4.68945 8.33777 4.68945 11.3474C4.68945 13.2077 5.62154 14.8502 7.04417 15.8335C7.66369 16.2817 8.07764 16.4725 8.92452 16.5727C10.588 16.7696 11.4746 15.403 11.4746 13.9601C11.4746 12.8779 10.9417 11.8244 10.004 11.4278"
|
|
1494
|
+
stroke="#026EDD"
|
|
1495
|
+
stroke-miterlimit="10"
|
|
1496
|
+
stroke-linecap="round"
|
|
1497
|
+
/>
|
|
1498
|
+
<path
|
|
1499
|
+
d="M8.87355 13.9623C7.87191 13.4417 7.06276 12.5196 7.06276 11.3127C7.06276 9.58684 8.46187 8.18773 10.1878 8.18773C11.7399 8.18773 13.0277 9.31929 13.2555 10.8029C13.3792 12.5002 14.4871 13.6968 15.7173 13.8231C17.0722 13.9623 18.0494 12.6486 18.0592 11.1953C18.0646 10.5741 17.9918 9.94305 17.8334 9.31388C16.8128 5.25952 12.4464 2.61542 8.28673 3.61367C4.38735 4.54947 1.88264 8.1113 2.17096 11.7406"
|
|
1500
|
+
stroke="#026EDD"
|
|
1501
|
+
stroke-miterlimit="10"
|
|
1502
|
+
stroke-linecap="round"
|
|
1503
|
+
/>
|
|
1504
|
+
<path
|
|
1505
|
+
d="M11.8572 18.7956C9.05681 19.5005 6.23734 18.6176 4.38672 16.7222"
|
|
1506
|
+
stroke="#026EDD"
|
|
1507
|
+
stroke-miterlimit="10"
|
|
1508
|
+
stroke-linecap="round"
|
|
1509
|
+
/>
|
|
1510
|
+
</svg>
|
|
1511
|
+
`}};Is=b2([w("tenable-settings-access-control")],Is);var g2=Object.defineProperty,m2=Object.getOwnPropertyDescriptor,_2=(e,t,n,r)=>{for(var o=r>1?void 0:r?m2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&g2(t,n,o),o};let Ds=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1512
|
+
<svg
|
|
1513
|
+
class=${e}
|
|
1514
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1515
|
+
width="20"
|
|
1516
|
+
height="20"
|
|
1517
|
+
viewBox="0 0 20 20"
|
|
1518
|
+
fill="none"
|
|
1519
|
+
>
|
|
1520
|
+
<path
|
|
1521
|
+
d="M6.875 8.125H15.625"
|
|
1522
|
+
stroke="#026EDD"
|
|
1523
|
+
stroke-miterlimit="10"
|
|
1524
|
+
stroke-linecap="round"
|
|
1525
|
+
stroke-linejoin="round"
|
|
1526
|
+
/>
|
|
1527
|
+
<path
|
|
1528
|
+
d="M6.875 11.875H15.625"
|
|
1529
|
+
stroke="#026EDD"
|
|
1530
|
+
stroke-miterlimit="10"
|
|
1531
|
+
stroke-linecap="round"
|
|
1532
|
+
stroke-linejoin="round"
|
|
1533
|
+
/>
|
|
1534
|
+
<path
|
|
1535
|
+
d="M6.875 15.625H15.625"
|
|
1536
|
+
stroke="#026EDD"
|
|
1537
|
+
stroke-miterlimit="10"
|
|
1538
|
+
stroke-linecap="round"
|
|
1539
|
+
stroke-linejoin="round"
|
|
1540
|
+
/>
|
|
1541
|
+
<path
|
|
1542
|
+
d="M6.875 4.375H15.625"
|
|
1543
|
+
stroke="#026EDD"
|
|
1544
|
+
stroke-miterlimit="10"
|
|
1545
|
+
stroke-linecap="round"
|
|
1546
|
+
stroke-linejoin="round"
|
|
1547
|
+
/>
|
|
1548
|
+
<path
|
|
1549
|
+
d="M4.3875 15.6123L4.375 15.6248"
|
|
1550
|
+
stroke="#026EDD"
|
|
1551
|
+
stroke-miterlimit="10"
|
|
1552
|
+
stroke-linecap="round"
|
|
1553
|
+
stroke-linejoin="round"
|
|
1554
|
+
/>
|
|
1555
|
+
<path
|
|
1556
|
+
d="M4.3875 11.8623L4.375 11.8748"
|
|
1557
|
+
stroke="#026EDD"
|
|
1558
|
+
stroke-miterlimit="10"
|
|
1559
|
+
stroke-linecap="round"
|
|
1560
|
+
stroke-linejoin="round"
|
|
1561
|
+
/>
|
|
1562
|
+
<path
|
|
1563
|
+
d="M4.3875 8.1123L4.375 8.12481"
|
|
1564
|
+
stroke="#026EDD"
|
|
1565
|
+
stroke-miterlimit="10"
|
|
1566
|
+
stroke-linecap="round"
|
|
1567
|
+
stroke-linejoin="round"
|
|
1568
|
+
/>
|
|
1569
|
+
<path
|
|
1570
|
+
d="M4.3875 4.3623L4.375 4.3748"
|
|
1571
|
+
stroke="#026EDD"
|
|
1572
|
+
stroke-miterlimit="10"
|
|
1573
|
+
stroke-linecap="round"
|
|
1574
|
+
stroke-linejoin="round"
|
|
1575
|
+
/>
|
|
1576
|
+
</svg>
|
|
1577
|
+
`}};Ds=_2([w("tenable-settings-activity-logs")],Ds);var y2=Object.defineProperty,w2=Object.getOwnPropertyDescriptor,$2=(e,t,n,r)=>{for(var o=r>1?void 0:r?w2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&y2(t,n,o),o};let Ls=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1578
|
+
<svg
|
|
1579
|
+
class=${e}
|
|
1580
|
+
width="20"
|
|
1581
|
+
height="20"
|
|
1582
|
+
viewBox="0 0 20 20"
|
|
1583
|
+
fill="none"
|
|
1584
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1585
|
+
>
|
|
1586
|
+
<path
|
|
1587
|
+
d="M15.625 3.5994V16.4009C15.625 16.9121 15.0463 17.2085 14.6315 16.9098L9.70277 13.3612C9.48966 13.2077 9.23371 13.1252 8.97111 13.1252H3.11514C2.43023 13.1252 1.875 12.5699 1.875 11.885V8.1153C1.875 7.43039 2.43023 6.87516 3.11514 6.87516H8.97111C9.23371 6.87516 9.48966 6.7926 9.70277 6.63916L14.6315 3.09049C15.0463 2.79182 15.625 3.08825 15.625 3.5994Z"
|
|
1588
|
+
stroke="#026EDD"
|
|
1589
|
+
stroke-miterlimit="10"
|
|
1590
|
+
stroke-linecap="round"
|
|
1591
|
+
/>
|
|
1592
|
+
<path
|
|
1593
|
+
d="M4.19727 13.2109L5.37188 17.2522C5.52217 17.7693 5.99591 18.1249 6.53438 18.1249H6.53438C7.33451 18.1249 7.91455 17.3625 7.70114 16.5914L6.76559 13.2109"
|
|
1594
|
+
stroke="#026EDD"
|
|
1595
|
+
stroke-miterlimit="10"
|
|
1596
|
+
stroke-linecap="round"
|
|
1597
|
+
/>
|
|
1598
|
+
<path
|
|
1599
|
+
d="M17.998 7.40869C18.8293 7.97028 19.3758 8.92131 19.3758 10C19.3758 11.0232 18.8841 11.9316 18.124 12.5016"
|
|
1600
|
+
stroke="#026EDD"
|
|
1601
|
+
stroke-miterlimit="10"
|
|
1602
|
+
stroke-linecap="round"
|
|
1603
|
+
/>
|
|
1604
|
+
</svg>
|
|
1605
|
+
`}};Ls=$2([w("tenable-announcement")],Ls);var C2=Object.defineProperty,S2=Object.getOwnPropertyDescriptor,x2=(e,t,n,r)=>{for(var o=r>1?void 0:r?S2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&C2(t,n,o),o};let Ms=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1606
|
+
<svg
|
|
1607
|
+
class=${e}
|
|
1608
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1609
|
+
width="21"
|
|
1610
|
+
height="20"
|
|
1611
|
+
viewBox="0 0 21 20"
|
|
1612
|
+
fill="none"
|
|
1613
|
+
>
|
|
1614
|
+
<path
|
|
1615
|
+
d="M4.26758 5.625C5.30311 5.625 6.14258 4.78553 6.14258 3.75C6.14258 2.71447 5.30311 1.875 4.26758 1.875C3.23204 1.875 2.39258 2.71447 2.39258 3.75C2.39258 4.78553 3.23204 5.625 4.26758 5.625Z"
|
|
1616
|
+
stroke="#026EDD"
|
|
1617
|
+
stroke-miterlimit="10"
|
|
1618
|
+
/>
|
|
1619
|
+
<path
|
|
1620
|
+
d="M14.9159 4.6042C15.7086 4.6042 16.3513 3.96155 16.3513 3.1688C16.3513 2.37605 15.7086 1.7334 14.9159 1.7334C14.1231 1.7334 13.4805 2.37605 13.4805 3.1688C13.4805 3.96155 14.1231 4.6042 14.9159 4.6042Z"
|
|
1621
|
+
stroke="#026EDD"
|
|
1622
|
+
stroke-miterlimit="10"
|
|
1623
|
+
/>
|
|
1624
|
+
<path
|
|
1625
|
+
d="M6.07993 18.2663C6.87268 18.2663 7.51533 17.6237 7.51533 16.8309C7.51533 16.0382 6.87268 15.3955 6.07993 15.3955C5.28718 15.3955 4.64453 16.0382 4.64453 16.8309C4.64453 17.6237 5.28718 18.2663 6.07993 18.2663Z"
|
|
1626
|
+
stroke="#026EDD"
|
|
1627
|
+
stroke-miterlimit="10"
|
|
1628
|
+
/>
|
|
1629
|
+
<path
|
|
1630
|
+
d="M17.3319 16.8312C18.1246 16.8312 18.7673 16.1886 18.7673 15.3958C18.7673 14.6031 18.1246 13.9604 17.3319 13.9604C16.5391 13.9604 15.8965 14.6031 15.8965 15.3958C15.8965 16.1886 16.5391 16.8312 17.3319 16.8312Z"
|
|
1631
|
+
stroke="#026EDD"
|
|
1632
|
+
stroke-miterlimit="10"
|
|
1633
|
+
/>
|
|
1634
|
+
<path
|
|
1635
|
+
d="M13.6297 9.55244C14.4225 9.55244 15.0651 8.90979 15.0651 8.11704C15.0651 7.32429 14.4225 6.68164 13.6297 6.68164C12.837 6.68164 12.1943 7.32429 12.1943 8.11704C12.1943 8.90979 12.837 9.55244 13.6297 9.55244Z"
|
|
1636
|
+
stroke="#026EDD"
|
|
1637
|
+
stroke-miterlimit="10"
|
|
1638
|
+
/>
|
|
1639
|
+
<path
|
|
1640
|
+
d="M13.0074 9.40674C11.4562 12.2636 9.22494 14.8805 7.34766 16.1718"
|
|
1641
|
+
stroke="#026EDD"
|
|
1642
|
+
stroke-miterlimit="10"
|
|
1643
|
+
/>
|
|
1644
|
+
<path
|
|
1645
|
+
d="M14.7887 4.59375C14.6674 5.31015 14.4631 6.05068 14.1934 6.79692"
|
|
1646
|
+
stroke="#026EDD"
|
|
1647
|
+
stroke-miterlimit="10"
|
|
1648
|
+
/>
|
|
1649
|
+
<path
|
|
1650
|
+
d="M12.6357 7.08264C11.5127 6.08706 10.187 5.24265 8.65527 4.67432"
|
|
1651
|
+
stroke="#026EDD"
|
|
1652
|
+
stroke-miterlimit="10"
|
|
1653
|
+
stroke-linecap="round"
|
|
1654
|
+
/>
|
|
1655
|
+
<path
|
|
1656
|
+
d="M17.0069 13.9998C16.5754 12.4845 15.768 10.7699 14.5752 9.18945"
|
|
1657
|
+
stroke="#026EDD"
|
|
1658
|
+
stroke-miterlimit="10"
|
|
1659
|
+
stroke-linecap="round"
|
|
1660
|
+
/>
|
|
1661
|
+
<path
|
|
1662
|
+
d="M4.96487 15.9318C3.3818 14.4492 2.39258 12.3402 2.39258 10.0002C2.39258 9.3548 2.46783 8.72696 2.61004 8.125"
|
|
1663
|
+
stroke="#026EDD"
|
|
1664
|
+
stroke-miterlimit="10"
|
|
1665
|
+
stroke-linecap="round"
|
|
1666
|
+
/>
|
|
1667
|
+
<path
|
|
1668
|
+
d="M16.0209 15.9771C14.5734 17.3106 12.6404 18.125 10.5171 18.125C9.39528 18.125 8.32655 17.8977 7.35449 17.4865"
|
|
1669
|
+
stroke="#026EDD"
|
|
1670
|
+
stroke-miterlimit="10"
|
|
1671
|
+
stroke-linecap="round"
|
|
1672
|
+
/>
|
|
1673
|
+
<path
|
|
1674
|
+
d="M16.0449 4.04492C17.6426 5.52865 18.6423 7.64752 18.6423 9.99988C18.6423 11.442 18.2666 12.7963 17.6077 13.9704"
|
|
1675
|
+
stroke="#026EDD"
|
|
1676
|
+
stroke-miterlimit="10"
|
|
1677
|
+
stroke-linecap="round"
|
|
1678
|
+
/>
|
|
1679
|
+
<path
|
|
1680
|
+
d="M8.59082 2.10488C9.20853 1.95464 9.85387 1.875 10.5178 1.875C11.6264 1.875 12.6832 2.09703 13.646 2.49905"
|
|
1681
|
+
stroke="#026EDD"
|
|
1682
|
+
stroke-miterlimit="10"
|
|
1683
|
+
stroke-linecap="round"
|
|
1684
|
+
/>
|
|
1685
|
+
</svg>
|
|
1686
|
+
`}};Ms=x2([w("tenable-workspace-app-asm")],Ms);var A2=Object.defineProperty,O2=Object.getOwnPropertyDescriptor,P2=(e,t,n,r)=>{for(var o=r>1?void 0:r?O2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&A2(t,n,o),o};let Rs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1687
|
+
<svg
|
|
1688
|
+
class=${e}
|
|
1689
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1690
|
+
width="21"
|
|
1691
|
+
height="20"
|
|
1692
|
+
viewBox="0 0 21 20"
|
|
1693
|
+
fill="none"
|
|
1694
|
+
>
|
|
1695
|
+
<path
|
|
1696
|
+
d="M5.51758 5.625H3.01758C2.6724 5.625 2.39258 5.34518 2.39258 5V2.5C2.39258 2.15482 2.6724 1.875 3.01758 1.875H5.51758C5.86276 1.875 6.14258 2.15482 6.14258 2.5V5C6.14258 5.34518 5.86276 5.625 5.51758 5.625Z"
|
|
1697
|
+
stroke="#026EDD"
|
|
1698
|
+
stroke-miterlimit="10"
|
|
1699
|
+
stroke-linecap="round"
|
|
1700
|
+
stroke-linejoin="round"
|
|
1701
|
+
/>
|
|
1702
|
+
<path
|
|
1703
|
+
d="M5.51758 11.875H3.01758C2.6724 11.875 2.39258 11.5952 2.39258 11.25V8.75C2.39258 8.40482 2.6724 8.125 3.01758 8.125H5.51758C5.86276 8.125 6.14258 8.40482 6.14258 8.75V11.25C6.14258 11.5952 5.86276 11.875 5.51758 11.875Z"
|
|
1704
|
+
stroke="#026EDD"
|
|
1705
|
+
stroke-miterlimit="10"
|
|
1706
|
+
stroke-linecap="round"
|
|
1707
|
+
stroke-linejoin="round"
|
|
1708
|
+
/>
|
|
1709
|
+
<path
|
|
1710
|
+
d="M5.51758 18.125H3.01758C2.6724 18.125 2.39258 17.8452 2.39258 17.5V15C2.39258 14.6548 2.6724 14.375 3.01758 14.375H5.51758C5.86276 14.375 6.14258 14.6548 6.14258 15V17.5C6.14258 17.8452 5.86276 18.125 5.51758 18.125Z"
|
|
1711
|
+
stroke="#026EDD"
|
|
1712
|
+
stroke-miterlimit="10"
|
|
1713
|
+
stroke-linecap="round"
|
|
1714
|
+
stroke-linejoin="round"
|
|
1715
|
+
/>
|
|
1716
|
+
<path
|
|
1717
|
+
d="M18.0176 5.625H9.26758C8.9224 5.625 8.64258 5.34518 8.64258 5V2.5C8.64258 2.15482 8.9224 1.875 9.26758 1.875H18.0176C18.3628 1.875 18.6426 2.15482 18.6426 2.5V5C18.6426 5.34518 18.3628 5.625 18.0176 5.625Z"
|
|
1718
|
+
stroke="#026EDD"
|
|
1719
|
+
stroke-miterlimit="10"
|
|
1720
|
+
stroke-linecap="round"
|
|
1721
|
+
stroke-linejoin="round"
|
|
1722
|
+
/>
|
|
1723
|
+
<path
|
|
1724
|
+
d="M18.0176 11.875H9.26758C8.9224 11.875 8.64258 11.5952 8.64258 11.25V8.75C8.64258 8.40482 8.9224 8.125 9.26758 8.125H18.0176C18.3628 8.125 18.6426 8.40482 18.6426 8.75V11.25C18.6426 11.5952 18.3628 11.875 18.0176 11.875Z"
|
|
1725
|
+
stroke="#026EDD"
|
|
1726
|
+
stroke-miterlimit="10"
|
|
1727
|
+
stroke-linecap="round"
|
|
1728
|
+
stroke-linejoin="round"
|
|
1729
|
+
/>
|
|
1730
|
+
<path
|
|
1731
|
+
d="M18.0176 18.125H9.26758C8.9224 18.125 8.64258 17.8452 8.64258 17.5V15C8.64258 14.6548 8.9224 14.375 9.26758 14.375H18.0176C18.3628 14.375 18.6426 14.6548 18.6426 15V17.5C18.6426 17.8452 18.3628 18.125 18.0176 18.125Z"
|
|
1732
|
+
stroke="#026EDD"
|
|
1733
|
+
stroke-miterlimit="10"
|
|
1734
|
+
stroke-linecap="round"
|
|
1735
|
+
stroke-linejoin="round"
|
|
1736
|
+
/>
|
|
1737
|
+
</svg>
|
|
1738
|
+
`}};Rs=P2([w("tenable-workspace-app-aiv")],Rs);var E2=Object.defineProperty,k2=Object.getOwnPropertyDescriptor,T2=(e,t,n,r)=>{for(var o=r>1?void 0:r?k2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&E2(t,n,o),o};let Ns=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1739
|
+
<svg
|
|
1740
|
+
class=${e}
|
|
1741
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1742
|
+
width="21"
|
|
1743
|
+
height="20"
|
|
1744
|
+
viewBox="0 0 21 20"
|
|
1745
|
+
fill="none"
|
|
1746
|
+
>
|
|
1747
|
+
<path
|
|
1748
|
+
d="M17.5352 5.625H7.53516C7.18998 5.625 6.91016 5.34518 6.91016 5V2.5C6.91016 2.15482 7.18998 1.875 7.53516 1.875H17.5352C17.8803 1.875 18.1602 2.15482 18.1602 2.5V5C18.1602 5.34518 17.8803 5.625 17.5352 5.625Z"
|
|
1749
|
+
stroke="#026EDD"
|
|
1750
|
+
stroke-miterlimit="10"
|
|
1751
|
+
stroke-linecap="round"
|
|
1752
|
+
stroke-linejoin="round"
|
|
1753
|
+
/>
|
|
1754
|
+
<path
|
|
1755
|
+
d="M10.0352 11.875H1.28516C0.939979 11.875 0.660156 11.5952 0.660156 11.25V10C0.660156 9.65482 0.939979 9.375 1.28516 9.375H10.0352C10.3803 9.375 10.6602 9.65482 10.6602 10V11.25C10.6602 11.5952 10.3803 11.875 10.0352 11.875Z"
|
|
1756
|
+
stroke="#026EDD"
|
|
1757
|
+
stroke-miterlimit="10"
|
|
1758
|
+
stroke-linecap="round"
|
|
1759
|
+
stroke-linejoin="round"
|
|
1760
|
+
/>
|
|
1761
|
+
<path
|
|
1762
|
+
d="M17.5352 18.125H12.5352C12.19 18.125 11.9102 17.8452 11.9102 17.5V16.25C11.9102 15.9048 12.19 15.625 12.5352 15.625H17.5352C17.8803 15.625 18.1602 15.9048 18.1602 16.25V17.5C18.1602 17.8452 17.8803 18.125 17.5352 18.125Z"
|
|
1763
|
+
stroke="#026EDD"
|
|
1764
|
+
stroke-miterlimit="10"
|
|
1765
|
+
stroke-linecap="round"
|
|
1766
|
+
stroke-linejoin="round"
|
|
1767
|
+
/>
|
|
1768
|
+
<path
|
|
1769
|
+
d="M3.16016 9.37515C3.16016 6.81252 4.70245 4.61011 6.90946 3.64551"
|
|
1770
|
+
stroke="#026EDD"
|
|
1771
|
+
stroke-miterlimit="10"
|
|
1772
|
+
stroke-linecap="round"
|
|
1773
|
+
stroke-linejoin="round"
|
|
1774
|
+
/>
|
|
1775
|
+
<path
|
|
1776
|
+
d="M11.9101 16.8752C8.88983 16.8752 6.3699 14.7328 5.78711 11.8848"
|
|
1777
|
+
stroke="#026EDD"
|
|
1778
|
+
stroke-miterlimit="10"
|
|
1779
|
+
stroke-linecap="round"
|
|
1780
|
+
stroke-linejoin="round"
|
|
1781
|
+
/>
|
|
1782
|
+
</svg>
|
|
1783
|
+
`}};Ns=T2([w("tenable-workspace-app-apa")],Ns);var I2=Object.defineProperty,D2=Object.getOwnPropertyDescriptor,L2=(e,t,n,r)=>{for(var o=r>1?void 0:r?D2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&I2(t,n,o),o};let js=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1784
|
+
<svg
|
|
1785
|
+
class=${e}
|
|
1786
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1787
|
+
width="24"
|
|
1788
|
+
height="24"
|
|
1789
|
+
viewBox="0 0 24 24"
|
|
1790
|
+
fill="none"
|
|
1791
|
+
>
|
|
1792
|
+
<path
|
|
1793
|
+
d="M8.63946 18.7719C4.7519 18.6443 1.66303 18.287 2.25007 17.7C3.75007 16.2 5.25007 13.5 5.25007 9.75C5.25007 6.78218 7.14293 4.28412 9.78048 3.37114C9.96042 2.31023 10.8856 1.5 12.0001 1.5C13.1145 1.5 14.0397 2.31023 14.2188 3.37377C16.8572 4.28412 18.7501 6.78218 18.7501 9.75C18.7501 13.5 20.2501 16.2 21.7501 17.7C22.663 18.613 14.6854 18.9703 8.63946 18.7719Z"
|
|
1794
|
+
stroke="currentColor"
|
|
1795
|
+
stroke-miterlimit="10"
|
|
1796
|
+
stroke-linecap="round"
|
|
1797
|
+
stroke-linejoin="round"
|
|
1798
|
+
/>
|
|
1799
|
+
<path
|
|
1800
|
+
d="M13.6746 21.7529C13.2627 22.2116 12.6651 22.5001 12.0001 22.5001C11.3346 22.5001 10.7366 22.2112 10.3247 21.752"
|
|
1801
|
+
stroke="currentColor"
|
|
1802
|
+
stroke-miterlimit="10"
|
|
1803
|
+
stroke-linecap="round"
|
|
1804
|
+
/>
|
|
1805
|
+
</svg>
|
|
1806
|
+
`}};js=L2([w("tenable-bell")],js);var M2=Object.defineProperty,R2=Object.getOwnPropertyDescriptor,N2=(e,t,n,r)=>{for(var o=r>1?void 0:r?R2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&M2(t,n,o),o};let Bs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1807
|
+
<svg
|
|
1808
|
+
class=${e}
|
|
1809
|
+
width="20"
|
|
1810
|
+
height="20"
|
|
1811
|
+
viewBox="0 0 20 20"
|
|
1812
|
+
fill="none"
|
|
1813
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1814
|
+
>
|
|
1815
|
+
<path
|
|
1816
|
+
d="M4.375 3.125C4.37692 3.89094 4.375 14.4375 4.375 14.4375C5.03824 14.0533 5.91445 13.8125 6.875 13.8125C8.17936 13.8125 9.32817 14.2565 9.99892 14.9312C10.6706 14.2569 11.8199 13.8125 13.125 13.8125C14.0893 13.8125 14.9686 14.0551 15.625 14.4375C15.625 14.4375 15.6208 3.5686 15.625 3.125C14.9611 2.72765 14.0875 2.5 13.125 2.5C11.8199 2.5 10.6706 2.94444 9.99892 3.61867C9.32817 2.94396 8.17936 2.5 6.875 2.5C5.91358 2.5 5.03858 2.69685 4.375 3.125Z"
|
|
1817
|
+
stroke="#026EDD"
|
|
1818
|
+
stroke-miterlimit="10"
|
|
1819
|
+
stroke-linejoin="round"
|
|
1820
|
+
/>
|
|
1821
|
+
<path
|
|
1822
|
+
d="M15.625 4.375H18.125V16.875C18.125 16.875 14.7769 16.875 12.9336 16.875C12.5119 17.6061 11.357 18.125 10 18.125C8.64305 18.125 7.4881 17.6061 7.06636 16.875C5.338 16.875 1.875 16.875 1.875 16.875V4.375H4.37501"
|
|
1823
|
+
stroke="#026EDD"
|
|
1824
|
+
stroke-miterlimit="10"
|
|
1825
|
+
stroke-linejoin="round"
|
|
1826
|
+
/>
|
|
1827
|
+
</svg>
|
|
1828
|
+
`}};Bs=N2([w("tenable-book")],Bs);var j2=Object.defineProperty,B2=Object.getOwnPropertyDescriptor,V2=(e,t,n,r)=>{for(var o=r>1?void 0:r?B2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&j2(t,n,o),o};let Vs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1829
|
+
<svg
|
|
1830
|
+
class=${e}
|
|
1831
|
+
width="24"
|
|
1832
|
+
height="24"
|
|
1833
|
+
viewBox="0 0 24 24"
|
|
1834
|
+
fill="none"
|
|
1835
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1836
|
+
>
|
|
1837
|
+
<path
|
|
1838
|
+
d="M20.25 17.25H7.5L2.25 20.25V5.25C2.25 4.42157 2.92157 3.75 3.75 3.75H20.25C21.0784 3.75 21.75 4.42157 21.75 5.25V15.75C21.75 16.5784 21.0784 17.25 20.25 17.25Z"
|
|
1839
|
+
stroke="currentColor"
|
|
1840
|
+
stroke-miterlimit="10"
|
|
1841
|
+
stroke-linecap="round"
|
|
1842
|
+
stroke-linejoin="round"
|
|
1843
|
+
/>
|
|
1844
|
+
</svg>
|
|
1845
|
+
`}};Vs=V2([w("tenable-chat")],Vs);var U2=Object.defineProperty,H2=Object.getOwnPropertyDescriptor,F2=(e,t,n,r)=>{for(var o=r>1?void 0:r?H2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&U2(t,n,o),o};let Us=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1846
|
+
<svg
|
|
1847
|
+
class=${e}
|
|
1848
|
+
width="16"
|
|
1849
|
+
height="16"
|
|
1850
|
+
viewBox="0 0 16 16"
|
|
1851
|
+
fill="none"
|
|
1852
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1853
|
+
>
|
|
1854
|
+
<path
|
|
1855
|
+
d="M3.5 6.5L8 11L12.48 6.5"
|
|
1856
|
+
stroke="currentColor"
|
|
1857
|
+
stroke-miterlimit="10"
|
|
1858
|
+
stroke-linecap="round"
|
|
1859
|
+
stroke-linejoin="round"
|
|
1860
|
+
/>
|
|
1861
|
+
</svg>
|
|
1862
|
+
`}};Us=F2([w("tenable-chevron-down")],Us);var z2=Object.defineProperty,G2=Object.getOwnPropertyDescriptor,K2=(e,t,n,r)=>{for(var o=r>1?void 0:r?G2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&z2(t,n,o),o};let Hs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1863
|
+
<svg
|
|
1864
|
+
class=${e}
|
|
1865
|
+
width="16"
|
|
1866
|
+
height="17"
|
|
1867
|
+
viewBox="0 0 16 17"
|
|
1868
|
+
fill="none"
|
|
1869
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1870
|
+
>
|
|
1871
|
+
<path
|
|
1872
|
+
d="M9.5 13.1963L5 8.69629L9.5 4.19629"
|
|
1873
|
+
stroke="currentColor"
|
|
1874
|
+
stroke-miterlimit="10"
|
|
1875
|
+
stroke-linecap="round"
|
|
1876
|
+
stroke-linejoin="round"
|
|
1877
|
+
/>
|
|
1878
|
+
</svg>
|
|
1879
|
+
`}};Hs=K2([w("tenable-chevron-left")],Hs);var q2=Object.defineProperty,W2=Object.getOwnPropertyDescriptor,Z2=(e,t,n,r)=>{for(var o=r>1?void 0:r?W2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&q2(t,n,o),o};let Fs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1880
|
+
<svg
|
|
1881
|
+
class=${e}
|
|
1882
|
+
width="16"
|
|
1883
|
+
height="17"
|
|
1884
|
+
viewBox="0 0 16 17"
|
|
1885
|
+
fill="none"
|
|
1886
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1887
|
+
>
|
|
1888
|
+
<path
|
|
1889
|
+
d="M6.5 13.2939L11 8.79395L6.5 4.29395"
|
|
1890
|
+
stroke="currentColor"
|
|
1891
|
+
stroke-miterlimit="10"
|
|
1892
|
+
stroke-linecap="round"
|
|
1893
|
+
stroke-linejoin="round"
|
|
1894
|
+
/>
|
|
1895
|
+
</svg>
|
|
1896
|
+
`}};Fs=Z2([w("tenable-chevron-right")],Fs);var J2=Object.defineProperty,X2=Object.getOwnPropertyDescriptor,Q2=(e,t,n,r)=>{for(var o=r>1?void 0:r?X2(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&J2(t,n,o),o};let zs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1897
|
+
<svg
|
|
1898
|
+
class=${e}
|
|
1899
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1900
|
+
width="24"
|
|
1901
|
+
height="24"
|
|
1902
|
+
viewBox="0 0 24 24"
|
|
1903
|
+
fill="none"
|
|
1904
|
+
>
|
|
1905
|
+
<path
|
|
1906
|
+
d="M5.25 5.25L18.75 18.75"
|
|
1907
|
+
stroke="#041E42"
|
|
1908
|
+
stroke-miterlimit="10"
|
|
1909
|
+
stroke-linecap="round"
|
|
1910
|
+
stroke-linejoin="round"
|
|
1911
|
+
/>
|
|
1912
|
+
<path
|
|
1913
|
+
d="M5.25 18.75L18.75 5.25"
|
|
1914
|
+
stroke="#041E42"
|
|
1915
|
+
stroke-miterlimit="10"
|
|
1916
|
+
stroke-linecap="round"
|
|
1917
|
+
stroke-linejoin="round"
|
|
1918
|
+
/>
|
|
1919
|
+
</svg>
|
|
1920
|
+
`}};zs=Q2([w("tenable-close-large-icon")],zs);var Y2=Object.defineProperty,e5=Object.getOwnPropertyDescriptor,t5=(e,t,n,r)=>{for(var o=r>1?void 0:r?e5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Y2(t,n,o),o};let Gs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1921
|
+
<svg
|
|
1922
|
+
class=${e}
|
|
1923
|
+
width="16"
|
|
1924
|
+
height="16"
|
|
1925
|
+
viewBox="0 0 16 16"
|
|
1926
|
+
fill="none"
|
|
1927
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1928
|
+
>
|
|
1929
|
+
<g clip-path="url(#clip0_2978_35816)">
|
|
1930
|
+
<path
|
|
1931
|
+
d="M3.5 3.5L12.5 12.5"
|
|
1932
|
+
stroke="#026EDD"
|
|
1933
|
+
stroke-miterlimit="10"
|
|
1934
|
+
stroke-linecap="round"
|
|
1935
|
+
stroke-linejoin="round"
|
|
1936
|
+
/>
|
|
1937
|
+
<path
|
|
1938
|
+
d="M3.5 12.5L12.5 3.5"
|
|
1939
|
+
stroke="#026EDD"
|
|
1940
|
+
stroke-miterlimit="10"
|
|
1941
|
+
stroke-linecap="round"
|
|
1942
|
+
stroke-linejoin="round"
|
|
1943
|
+
/>
|
|
1944
|
+
</g>
|
|
1945
|
+
<defs>
|
|
1946
|
+
<clipPath id="clip0_2978_35816">
|
|
1947
|
+
<rect width="16" height="16" fill="white" />
|
|
1948
|
+
</clipPath>
|
|
1949
|
+
</defs>
|
|
1950
|
+
</svg>
|
|
1951
|
+
`}};Gs=t5([w("tenable-close-small-icon")],Gs);var n5=Object.defineProperty,r5=Object.getOwnPropertyDescriptor,o5=(e,t,n,r)=>{for(var o=r>1?void 0:r?r5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&n5(t,n,o),o};let Ks=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1952
|
+
<svg
|
|
1953
|
+
class=${e}
|
|
1954
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1955
|
+
width="21"
|
|
1956
|
+
height="20"
|
|
1957
|
+
viewBox="0 0 21 20"
|
|
1958
|
+
fill="none"
|
|
1959
|
+
>
|
|
1960
|
+
<path
|
|
1961
|
+
d="M6.28516 16.875C3.86891 16.875 1.91016 14.9162 1.91016 12.5C1.91016 11.1487 2.52283 9.94041 3.47828 9.14089C3.27313 8.63418 3.16016 8.08028 3.16016 7.5C3.16016 5.08375 5.11891 3.125 7.53516 3.125C9.76348 3.125 11.6027 4.79091 11.8753 6.94523C12.0845 6.89946 12.307 6.875 12.5352 6.875C14.261 6.875 15.6602 8.27411 15.6602 10C15.6602 10.2341 15.6344 10.4621 15.5856 10.6815C17.0497 10.9342 18.1602 12.2124 18.1602 13.75C18.1602 15.4759 16.761 16.875 15.0352 16.875H6.28516Z"
|
|
1962
|
+
stroke="#026EDD"
|
|
1963
|
+
stroke-miterlimit="10"
|
|
1964
|
+
stroke-linejoin="round"
|
|
1965
|
+
/>
|
|
1966
|
+
</svg>
|
|
1967
|
+
`}};Ks=o5([w("tenable-workspace-app-cs")],Ks);var i5=Object.defineProperty,s5=Object.getOwnPropertyDescriptor,a5=(e,t,n,r)=>{for(var o=r>1?void 0:r?s5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&i5(t,n,o),o};let qs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
1968
|
+
<svg
|
|
1969
|
+
class=${e}
|
|
1970
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1971
|
+
width="21"
|
|
1972
|
+
height="20"
|
|
1973
|
+
viewBox="0 0 21 20"
|
|
1974
|
+
fill="none"
|
|
1975
|
+
>
|
|
1976
|
+
<path
|
|
1977
|
+
d="M18.6426 10.5924V16.8697C18.6426 17.563 18.0806 18.125 17.3873 18.125H3.64784C2.95458 18.125 2.39258 17.563 2.39258 16.8697V3.13026C2.39258 2.437 2.95458 1.875 3.64784 1.875H9.9013"
|
|
1978
|
+
stroke="#026EDD"
|
|
1979
|
+
stroke-miterlimit="10"
|
|
1980
|
+
stroke-linecap="round"
|
|
1981
|
+
stroke-linejoin="round"
|
|
1982
|
+
/>
|
|
1983
|
+
<path
|
|
1984
|
+
d="M8.22591 8.125H6.55924C6.32913 8.125 6.14258 7.93845 6.14258 7.70833V6.04167C6.14258 5.81155 6.32913 5.625 6.55924 5.625H8.22591C8.45603 5.625 8.64258 5.81155 8.64258 6.04167V7.70833C8.64258 7.93845 8.45603 8.125 8.22591 8.125Z"
|
|
1985
|
+
stroke="#026EDD"
|
|
1986
|
+
stroke-miterlimit="10"
|
|
1987
|
+
stroke-linecap="round"
|
|
1988
|
+
stroke-linejoin="round"
|
|
1989
|
+
/>
|
|
1990
|
+
<path
|
|
1991
|
+
d="M8.22591 14.375H6.55924C6.32913 14.375 6.14258 14.1885 6.14258 13.9583V12.2917C6.14258 12.0615 6.32913 11.875 6.55924 11.875H8.22591C8.45603 11.875 8.64258 12.0615 8.64258 12.2917V13.9583C8.64258 14.1885 8.45603 14.375 8.22591 14.375Z"
|
|
1992
|
+
stroke="#026EDD"
|
|
1993
|
+
stroke-miterlimit="10"
|
|
1994
|
+
stroke-linecap="round"
|
|
1995
|
+
stroke-linejoin="round"
|
|
1996
|
+
/>
|
|
1997
|
+
<path
|
|
1998
|
+
d="M14.4759 8.125H12.8092C12.5791 8.125 12.3926 7.93845 12.3926 7.70833V6.04167C12.3926 5.81155 12.5791 5.625 12.8092 5.625H14.4759C14.706 5.625 14.8926 5.81155 14.8926 6.04167V7.70833C14.8926 7.93845 14.706 8.125 14.4759 8.125Z"
|
|
1999
|
+
stroke="#026EDD"
|
|
2000
|
+
stroke-miterlimit="10"
|
|
2001
|
+
stroke-linecap="round"
|
|
2002
|
+
stroke-linejoin="round"
|
|
2003
|
+
/>
|
|
2004
|
+
<path
|
|
2005
|
+
d="M14.4759 14.375H12.8092C12.5791 14.375 12.3926 14.1885 12.3926 13.9583V12.2917C12.3926 12.0615 12.5791 11.875 12.8092 11.875H14.4759C14.706 11.875 14.8926 12.0615 14.8926 12.2917V13.9583C14.8926 14.1885 14.706 14.375 14.4759 14.375Z"
|
|
2006
|
+
stroke="#026EDD"
|
|
2007
|
+
stroke-miterlimit="10"
|
|
2008
|
+
stroke-linecap="round"
|
|
2009
|
+
stroke-linejoin="round"
|
|
2010
|
+
/>
|
|
2011
|
+
</svg>
|
|
2012
|
+
`}};qs=a5([w("tenable-workspace-app-eco")],qs);var l5=Object.defineProperty,c5=Object.getOwnPropertyDescriptor,u5=(e,t,n,r)=>{for(var o=r>1?void 0:r?c5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&l5(t,n,o),o};let Ws=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2013
|
+
<svg
|
|
2014
|
+
class=${e}
|
|
2015
|
+
width="24"
|
|
2016
|
+
height="24"
|
|
2017
|
+
viewBox="0 0 24 24"
|
|
2018
|
+
fill="none"
|
|
2019
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2020
|
+
>
|
|
2021
|
+
<path
|
|
2022
|
+
d="M2.25 6.75H21.75"
|
|
2023
|
+
stroke="currentColor"
|
|
2024
|
+
stroke-miterlimit="10"
|
|
2025
|
+
stroke-linecap="round"
|
|
2026
|
+
stroke-linejoin="round"
|
|
2027
|
+
/>
|
|
2028
|
+
<path
|
|
2029
|
+
d="M2.25 12.75H21.75"
|
|
2030
|
+
stroke="currentColor"
|
|
2031
|
+
stroke-miterlimit="10"
|
|
2032
|
+
stroke-linecap="round"
|
|
2033
|
+
stroke-linejoin="round"
|
|
2034
|
+
/>
|
|
2035
|
+
<path
|
|
2036
|
+
d="M2.25 18.75H21.75"
|
|
2037
|
+
stroke="currentColor"
|
|
2038
|
+
stroke-miterlimit="10"
|
|
2039
|
+
stroke-linecap="round"
|
|
2040
|
+
stroke-linejoin="round"
|
|
2041
|
+
/>
|
|
2042
|
+
</svg>
|
|
2043
|
+
`}};Ws=u5([w("tenable-hamburger-open")],Ws);var d5=Object.defineProperty,p5=Object.getOwnPropertyDescriptor,h5=(e,t,n,r)=>{for(var o=r>1?void 0:r?p5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&d5(t,n,o),o};let Zs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2044
|
+
<svg
|
|
2045
|
+
class=${e}
|
|
2046
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2047
|
+
width="24"
|
|
2048
|
+
height="24"
|
|
2049
|
+
viewBox="0 0 24 24"
|
|
2050
|
+
fill="none"
|
|
2051
|
+
>
|
|
2052
|
+
<path
|
|
2053
|
+
d="M12 21.75C17.3848 21.75 21.75 17.3848 21.75 12C21.75 6.61522 17.3848 2.25 12 2.25C6.61522 2.25 2.25 6.61522 2.25 12C2.25 17.3848 6.61522 21.75 12 21.75Z"
|
|
2054
|
+
stroke="currentColor"
|
|
2055
|
+
stroke-miterlimit="10"
|
|
2056
|
+
stroke-linecap="round"
|
|
2057
|
+
stroke-linejoin="round"
|
|
2058
|
+
/>
|
|
2059
|
+
<path
|
|
2060
|
+
d="M12.015 16.5L12 16.515"
|
|
2061
|
+
stroke="currentColor"
|
|
2062
|
+
stroke-width="1.25"
|
|
2063
|
+
stroke-miterlimit="10"
|
|
2064
|
+
stroke-linecap="round"
|
|
2065
|
+
stroke-linejoin="round"
|
|
2066
|
+
/>
|
|
2067
|
+
<path
|
|
2068
|
+
d="M11.9999 13.02V12.75C11.9999 10.89 14.7449 11.16 14.7449 9.00004C14.7449 7.65004 12.9299 5.88004 10.0122 7.93393"
|
|
2069
|
+
stroke="currentColor"
|
|
2070
|
+
stroke-miterlimit="10"
|
|
2071
|
+
stroke-linecap="round"
|
|
2072
|
+
/>
|
|
2073
|
+
</svg>
|
|
2074
|
+
`}};Zs=h5([w("tenable-help-icon")],Zs);var f5=Object.defineProperty,v5=Object.getOwnPropertyDescriptor,b5=(e,t,n,r)=>{for(var o=r>1?void 0:r?v5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&f5(t,n,o),o};let Js=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2075
|
+
<svg
|
|
2076
|
+
class=${e}
|
|
2077
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2078
|
+
width="21"
|
|
2079
|
+
height="20"
|
|
2080
|
+
viewBox="0 0 21 20"
|
|
2081
|
+
fill="none"
|
|
2082
|
+
>
|
|
2083
|
+
<path
|
|
2084
|
+
d="M9.98196 2.12659L2.4447 12.6307C2.27408 12.9099 2.34651 13.2733 2.61112 13.4658L10.1484 18.1065C10.3685 18.2666 10.6667 18.2666 10.8868 18.1065L18.4241 13.4658C18.6887 13.2733 18.7612 12.9099 18.5905 12.6307L11.0533 2.12659C10.8085 1.72603 10.2267 1.72603 9.98196 2.12659Z"
|
|
2085
|
+
stroke="#026EDD"
|
|
2086
|
+
stroke-miterlimit="10"
|
|
2087
|
+
stroke-linecap="round"
|
|
2088
|
+
stroke-linejoin="round"
|
|
2089
|
+
/>
|
|
2090
|
+
<path
|
|
2091
|
+
d="M10.5176 1.9375V18.0625"
|
|
2092
|
+
stroke="#026EDD"
|
|
2093
|
+
stroke-miterlimit="10"
|
|
2094
|
+
stroke-linecap="round"
|
|
2095
|
+
stroke-linejoin="round"
|
|
2096
|
+
/>
|
|
2097
|
+
</svg>
|
|
2098
|
+
`}};Js=b5([w("tenable-workspace-app-ad")],Js);var g5=Object.defineProperty,m5=Object.getOwnPropertyDescriptor,_5=(e,t,n,r)=>{for(var o=r>1?void 0:r?m5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&g5(t,n,o),o};let Xs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2099
|
+
<svg
|
|
2100
|
+
class=${e}
|
|
2101
|
+
width="16"
|
|
2102
|
+
height="16"
|
|
2103
|
+
viewBox="0 0 16 16"
|
|
2104
|
+
fill="none"
|
|
2105
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2106
|
+
>
|
|
2107
|
+
<path
|
|
2108
|
+
d="M8 14.5C11.5899 14.5 14.5 11.5899 14.5 8C14.5 4.41015 11.5899 1.5 8 1.5C4.41015 1.5 1.5 4.41015 1.5 8C1.5 11.5899 4.41015 14.5 8 14.5Z"
|
|
2109
|
+
stroke="currentColor"
|
|
2110
|
+
stroke-miterlimit="10"
|
|
2111
|
+
stroke-linecap="round"
|
|
2112
|
+
stroke-linejoin="round"
|
|
2113
|
+
/>
|
|
2114
|
+
<path
|
|
2115
|
+
d="M8.01 5L8 5.01"
|
|
2116
|
+
stroke="currentColor"
|
|
2117
|
+
stroke-width="1.25"
|
|
2118
|
+
stroke-miterlimit="10"
|
|
2119
|
+
stroke-linecap="round"
|
|
2120
|
+
stroke-linejoin="round"
|
|
2121
|
+
/>
|
|
2122
|
+
<path
|
|
2123
|
+
d="M8 7.45V11.45"
|
|
2124
|
+
stroke="currentColor"
|
|
2125
|
+
stroke-width="1.25"
|
|
2126
|
+
stroke-miterlimit="10"
|
|
2127
|
+
stroke-linecap="round"
|
|
2128
|
+
/>
|
|
2129
|
+
</svg>
|
|
2130
|
+
`}};Xs=_5([w("tenable-info-icon")],Xs);var y5=Object.defineProperty,w5=Object.getOwnPropertyDescriptor,$5=(e,t,n,r)=>{for(var o=r>1?void 0:r?w5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&y5(t,n,o),o};let Qs=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2131
|
+
<svg
|
|
2132
|
+
class=${e}
|
|
2133
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2134
|
+
width="20"
|
|
2135
|
+
height="20"
|
|
2136
|
+
viewBox="0 0 20 20"
|
|
2137
|
+
fill="none"
|
|
2138
|
+
>
|
|
2139
|
+
<path
|
|
2140
|
+
d="M14.375 10.625C15.7557 10.625 16.875 9.50571 16.875 8.125C16.875 6.74429 15.7557 5.625 14.375 5.625C12.9943 5.625 11.875 6.74429 11.875 8.125C11.875 9.50571 12.9943 10.625 14.375 10.625Z"
|
|
2141
|
+
stroke="#026EDD"
|
|
2142
|
+
stroke-miterlimit="10"
|
|
2143
|
+
stroke-linecap="round"
|
|
2144
|
+
stroke-linejoin="round"
|
|
2145
|
+
/>
|
|
2146
|
+
<path
|
|
2147
|
+
d="M13.125 3.1236C13.125 2.43402 12.566 1.875 11.8764 1.875H3.12207C2.43333 1.875 1.875 2.43333 1.875 3.12207V16.8779C1.875 17.5667 2.43333 18.125 3.12207 18.125H11.8764C12.566 18.125 13.125 17.566 13.125 16.8764"
|
|
2148
|
+
stroke="#026EDD"
|
|
2149
|
+
stroke-miterlimit="10"
|
|
2150
|
+
stroke-linecap="round"
|
|
2151
|
+
stroke-linejoin="round"
|
|
2152
|
+
/>
|
|
2153
|
+
<path
|
|
2154
|
+
d="M10.625 15V14.3758C10.625 13.685 11.185 13.125 11.8758 13.125H16.8742C17.565 13.125 18.125 13.685 18.125 14.3758V15"
|
|
2155
|
+
stroke="#026EDD"
|
|
2156
|
+
stroke-miterlimit="10"
|
|
2157
|
+
stroke-linecap="round"
|
|
2158
|
+
stroke-linejoin="round"
|
|
2159
|
+
/>
|
|
2160
|
+
<path
|
|
2161
|
+
d="M4.375 5.625H9.375"
|
|
2162
|
+
stroke="#026EDD"
|
|
2163
|
+
stroke-miterlimit="10"
|
|
2164
|
+
stroke-linecap="round"
|
|
2165
|
+
stroke-linejoin="round"
|
|
2166
|
+
/>
|
|
2167
|
+
<path
|
|
2168
|
+
d="M4.375 8.125H9.375"
|
|
2169
|
+
stroke="#026EDD"
|
|
2170
|
+
stroke-miterlimit="10"
|
|
2171
|
+
stroke-linecap="round"
|
|
2172
|
+
stroke-linejoin="round"
|
|
2173
|
+
/>
|
|
2174
|
+
<path
|
|
2175
|
+
d="M4.375 10.625H9.375"
|
|
2176
|
+
stroke="#026EDD"
|
|
2177
|
+
stroke-miterlimit="10"
|
|
2178
|
+
stroke-linecap="round"
|
|
2179
|
+
stroke-linejoin="round"
|
|
2180
|
+
/>
|
|
2181
|
+
<path
|
|
2182
|
+
d="M4.375 13.125H8.125"
|
|
2183
|
+
stroke="#026EDD"
|
|
2184
|
+
stroke-miterlimit="10"
|
|
2185
|
+
stroke-linecap="round"
|
|
2186
|
+
stroke-linejoin="round"
|
|
2187
|
+
/>
|
|
2188
|
+
<path
|
|
2189
|
+
d="M4.375 15.625H8.125"
|
|
2190
|
+
stroke="#026EDD"
|
|
2191
|
+
stroke-miterlimit="10"
|
|
2192
|
+
stroke-linecap="round"
|
|
2193
|
+
stroke-linejoin="round"
|
|
2194
|
+
/>
|
|
2195
|
+
</svg>
|
|
2196
|
+
`}};Qs=$5([w("tenable-settings-license")],Qs);var C5=Object.defineProperty,S5=Object.getOwnPropertyDescriptor,x5=(e,t,n,r)=>{for(var o=r>1?void 0:r?S5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&C5(t,n,o),o};let Ys=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2197
|
+
<svg
|
|
2198
|
+
class=${e}
|
|
2199
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2200
|
+
width="21"
|
|
2201
|
+
height="20"
|
|
2202
|
+
viewBox="0 0 21 20"
|
|
2203
|
+
fill="none"
|
|
2204
|
+
>
|
|
2205
|
+
<path
|
|
2206
|
+
d="M7.38184 4.1127V7.14065C7.38184 7.35987 7.49722 7.5629 7.68557 7.67508L10.1989 9.17207C10.395 9.2889 10.6394 9.2889 10.8355 9.17207L13.3488 7.67508C13.5371 7.5629 13.6525 7.35987 13.6525 7.14065V4.1127C13.6525 3.89348 13.5371 3.69044 13.3488 3.57826L10.8355 2.08127C10.6394 1.96445 10.395 1.96445 10.1989 2.08127L7.68557 3.57826C7.49723 3.69044 7.38184 3.89348 7.38184 4.1127Z"
|
|
2207
|
+
stroke="#026EDD"
|
|
2208
|
+
stroke-miterlimit="10"
|
|
2209
|
+
stroke-linecap="round"
|
|
2210
|
+
/>
|
|
2211
|
+
<path
|
|
2212
|
+
d="M2.38086 12.8596V15.8871C2.38086 16.1063 2.49626 16.3094 2.68461 16.4216L5.19791 17.9184C5.39404 18.0352 5.63838 18.0352 5.83451 17.9184L8.3478 16.4216C8.53616 16.3094 8.65156 16.1063 8.65156 15.8871V12.8596C8.65156 12.6404 8.53616 12.4373 8.3478 12.3252L5.83451 10.8283C5.63838 10.7115 5.39404 10.7115 5.19791 10.8283L2.68462 12.3252C2.49626 12.4373 2.38086 12.6404 2.38086 12.8596Z"
|
|
2213
|
+
stroke="#026EDD"
|
|
2214
|
+
stroke-miterlimit="10"
|
|
2215
|
+
stroke-linecap="round"
|
|
2216
|
+
/>
|
|
2217
|
+
<path
|
|
2218
|
+
d="M12.375 12.8596V15.8871C12.375 16.1063 12.4904 16.3094 12.6788 16.4216L15.192 17.9184C15.3882 18.0352 15.6325 18.0352 15.8286 17.9184L18.3419 16.4216C18.5303 16.3094 18.6457 16.1063 18.6457 15.8871V12.8596C18.6457 12.6404 18.5303 12.4373 18.3419 12.3252L15.8286 10.8283C15.6325 10.7115 15.3882 10.7115 15.192 10.8283L12.6788 12.3252C12.4904 12.4373 12.375 12.6404 12.375 12.8596Z"
|
|
2219
|
+
stroke="#026EDD"
|
|
2220
|
+
stroke-miterlimit="10"
|
|
2221
|
+
stroke-linecap="round"
|
|
2222
|
+
/>
|
|
2223
|
+
</svg>
|
|
2224
|
+
`}};Ys=x5([w("tenable-workspace-app-lumin")],Ys);var A5=Object.defineProperty,O5=Object.getOwnPropertyDescriptor,P5=(e,t,n,r)=>{for(var o=r>1?void 0:r?O5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&A5(t,n,o),o};let ea=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2225
|
+
<svg
|
|
2226
|
+
class=${e}
|
|
2227
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2228
|
+
width="21"
|
|
2229
|
+
height="20"
|
|
2230
|
+
viewBox="0 0 21 20"
|
|
2231
|
+
fill="none"
|
|
2232
|
+
>
|
|
2233
|
+
<path
|
|
2234
|
+
d="M10.0352 18.125C14.5225 18.125 18.1602 14.4873 18.1602 10C18.1602 5.51269 14.5225 1.875 10.0352 1.875C5.54784 1.875 1.91016 5.51269 1.91016 10C1.91016 14.4873 5.54784 18.125 10.0352 18.125Z"
|
|
2235
|
+
stroke="#026EDD"
|
|
2236
|
+
stroke-miterlimit="10"
|
|
2237
|
+
stroke-linecap="round"
|
|
2238
|
+
stroke-linejoin="round"
|
|
2239
|
+
/>
|
|
2240
|
+
<path
|
|
2241
|
+
d="M10.0352 13.125C11.761 13.125 13.1602 11.7259 13.1602 10C13.1602 8.27411 11.761 6.875 10.0352 6.875C8.30927 6.875 6.91016 8.27411 6.91016 10C6.91016 11.7259 8.30927 13.125 10.0352 13.125Z"
|
|
2242
|
+
stroke="#026EDD"
|
|
2243
|
+
stroke-miterlimit="10"
|
|
2244
|
+
stroke-linecap="round"
|
|
2245
|
+
stroke-linejoin="round"
|
|
2246
|
+
/>
|
|
2247
|
+
</svg>
|
|
2248
|
+
`}};ea=P5([w("tenable-workspace-app-ec")],ea);var E5=Object.defineProperty,k5=Object.getOwnPropertyDescriptor,T5=(e,t,n,r)=>{for(var o=r>1?void 0:r?k5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&E5(t,n,o),o};let ta=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2249
|
+
<svg
|
|
2250
|
+
class=${e}
|
|
2251
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2252
|
+
width="20"
|
|
2253
|
+
height="20"
|
|
2254
|
+
viewBox="0 0 20 20"
|
|
2255
|
+
fill="none"
|
|
2256
|
+
>
|
|
2257
|
+
<path
|
|
2258
|
+
d="M14.375 14.375C10.9232 14.375 8.125 11.5768 8.125 8.125C8.125 5.37567 9.91188 3.06702 12.3787 2.23068C11.6261 2.00058 10.8279 1.875 10 1.875C5.5127 1.875 1.875 5.5127 1.875 10C1.875 14.4873 5.5127 18.125 10 18.125C13.1768 18.125 15.9205 16.2975 17.2563 13.6404C16.3905 14.094 15.4202 14.375 14.375 14.375Z"
|
|
2259
|
+
stroke="#026EDD"
|
|
2260
|
+
stroke-miterlimit="10"
|
|
2261
|
+
stroke-linejoin="round"
|
|
2262
|
+
/>
|
|
2263
|
+
</svg>
|
|
2264
|
+
`}};ta=T5([w("tenable-moon-icon")],ta);var I5=Object.defineProperty,D5=Object.getOwnPropertyDescriptor,L5=(e,t,n,r)=>{for(var o=r>1?void 0:r?D5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&I5(t,n,o),o};let na=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2265
|
+
<svg
|
|
2266
|
+
class=${e}
|
|
2267
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2268
|
+
width="21"
|
|
2269
|
+
height="20"
|
|
2270
|
+
viewBox="0 0 21 20"
|
|
2271
|
+
fill="none"
|
|
2272
|
+
>
|
|
2273
|
+
<path
|
|
2274
|
+
d="M17.5312 15.625H2.53906C2.19173 15.625 1.91016 15.3434 1.91016 14.9961V5.00391C1.91016 4.65657 2.19173 4.375 2.53906 4.375H17.5312C17.8786 4.375 18.1602 4.65657 18.1602 5.00391V14.9961C18.1602 15.3434 17.8786 15.625 17.5312 15.625Z"
|
|
2275
|
+
stroke="#026EDD"
|
|
2276
|
+
stroke-miterlimit="10"
|
|
2277
|
+
stroke-linecap="round"
|
|
2278
|
+
stroke-linejoin="round"
|
|
2279
|
+
/>
|
|
2280
|
+
<path
|
|
2281
|
+
d="M1.91016 8.125H18.1602"
|
|
2282
|
+
stroke="#026EDD"
|
|
2283
|
+
stroke-miterlimit="10"
|
|
2284
|
+
stroke-linecap="round"
|
|
2285
|
+
stroke-linejoin="round"
|
|
2286
|
+
/>
|
|
2287
|
+
<path
|
|
2288
|
+
d="M11.9102 13.125H15.6602"
|
|
2289
|
+
stroke="#026EDD"
|
|
2290
|
+
stroke-miterlimit="10"
|
|
2291
|
+
stroke-linecap="round"
|
|
2292
|
+
stroke-linejoin="round"
|
|
2293
|
+
/>
|
|
2294
|
+
</svg>
|
|
2295
|
+
`}};na=L5([w("tenable-workspace-app-pci")],na);var M5=Object.defineProperty,R5=Object.getOwnPropertyDescriptor,N5=(e,t,n,r)=>{for(var o=r>1?void 0:r?R5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&M5(t,n,o),o};let ra=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2296
|
+
<svg
|
|
2297
|
+
class=${e}
|
|
2298
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2299
|
+
width="25"
|
|
2300
|
+
height="24"
|
|
2301
|
+
viewBox="0 0 25 24"
|
|
2302
|
+
fill="none"
|
|
2303
|
+
>
|
|
2304
|
+
<g clip-path="url(#clip0_250_8901)">
|
|
2305
|
+
<path
|
|
2306
|
+
d="M20.2762 12V17.25L12.0262 21.72L3.77625 17.25V12M3.77625 6.75003L12.0262 2.28003L20.2762 6.75003M12.0262 11.25L3.77625 6.78003L0.776245 10.11L9.02625 15L12.0262 11.25ZM12.0262 11.25L20.2762 6.78003L23.2762 10.11L15.0262 15L12.0262 11.25Z"
|
|
2307
|
+
stroke="#0066CC"
|
|
2308
|
+
stroke-miterlimit="10"
|
|
2309
|
+
stroke-linecap="round"
|
|
2310
|
+
stroke-linejoin="round"
|
|
2311
|
+
/>
|
|
2312
|
+
</g>
|
|
2313
|
+
<defs>
|
|
2314
|
+
<clipPath id="clip0_250_8901">
|
|
2315
|
+
<rect
|
|
2316
|
+
width="24"
|
|
2317
|
+
height="24"
|
|
2318
|
+
fill="white"
|
|
2319
|
+
transform="translate(0.0262451)"
|
|
2320
|
+
/>
|
|
2321
|
+
</clipPath>
|
|
2322
|
+
</defs>
|
|
2323
|
+
</svg>
|
|
2324
|
+
`}};ra=N5([w("tenable-workspace-app-consec")],ra);var j5=Object.defineProperty,B5=Object.getOwnPropertyDescriptor,V5=(e,t,n,r)=>{for(var o=r>1?void 0:r?B5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&j5(t,n,o),o};let oa=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2325
|
+
<svg
|
|
2326
|
+
class=${e}
|
|
2327
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2328
|
+
width="25"
|
|
2329
|
+
height="24"
|
|
2330
|
+
viewBox="0 0 25 24"
|
|
2331
|
+
fill="none"
|
|
2332
|
+
>
|
|
2333
|
+
<path
|
|
2334
|
+
d="M2.33445 20.2346H9.76956M5.29444 17.249V9.76113M9.76956 17.249V9.76113M14.2805 11.2293V9.76113M18.7763 11.2293V9.76113M14.323 17.1213V16.6927C14.323 16.0431 14.5173 15.4202 14.9389 14.9609C15.3604 14.5016 15.9322 14.2436 16.5284 14.2436C17.1246 14.2436 17.7389 14.5016 18.1604 14.9609C18.582 15.4202 18.8188 16.0431 18.8188 16.6927V17.1213M12.0702 2.25488L21.7842 6.80297H2.31363L12.0702 2.25488ZM13.5837 17.2488H19.457C19.9204 17.2488 20.296 17.6245 20.296 18.0879V20.8972C20.296 21.3606 19.9204 21.7363 19.457 21.7363H13.5837C13.1203 21.7363 12.7446 21.3606 12.7446 20.8972V18.0879C12.7446 17.6245 13.1203 17.2488 13.5837 17.2488Z"
|
|
2335
|
+
stroke="#0066CC"
|
|
2336
|
+
stroke-linecap="round"
|
|
2337
|
+
stroke-linejoin="round"
|
|
2338
|
+
/>
|
|
2339
|
+
</svg>
|
|
2340
|
+
`}};oa=V5([w("tenable-workspace-app-sc")],oa);var U5=Object.defineProperty,H5=Object.getOwnPropertyDescriptor,F5=(e,t,n,r)=>{for(var o=r>1?void 0:r?H5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&U5(t,n,o),o};let ia=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2341
|
+
<svg
|
|
2342
|
+
class=${e}
|
|
2343
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2344
|
+
width="25"
|
|
2345
|
+
height="24"
|
|
2346
|
+
viewBox="0 0 25 24"
|
|
2347
|
+
fill="none"
|
|
2348
|
+
>
|
|
2349
|
+
<path
|
|
2350
|
+
d="M9.80499 12.005L9.30569 12.0315L9.30569 12.0315L9.80499 12.005ZM10.5873 12.005L10.0889 12.0442L10.5873 12.005ZM7.58607 18.4224L7.29601 18.0151L7.296 18.0151L7.58607 18.4224ZM13.5155 16.1206L13.4323 16.6137L13.4323 16.6137L13.5155 16.1206ZM13.4142 17.0505L13.5101 16.5598L13.5101 16.5598L13.4142 17.0505ZM13.2264 2.25L13.5799 1.89645C13.4862 1.80268 13.359 1.75 13.2264 1.75V2.25ZM20.2764 9.3H20.7764C20.7764 9.16739 20.7237 9.04021 20.6299 8.94645L20.2764 9.3ZM10.3043 11.9785C10.2906 11.7198 10.3219 11.5475 10.3544 11.457C10.3708 11.4115 10.3812 11.4043 10.3705 11.4164C10.3598 11.4287 10.3077 11.4817 10.2072 11.4976C10.1572 11.5055 10.1078 11.5018 10.0635 11.4891C10.0204 11.4768 9.99002 11.4584 9.97195 11.4448C9.93946 11.4204 9.94244 11.4087 9.96299 11.4487C9.98188 11.4855 10.0075 11.5506 10.0317 11.6527C10.0556 11.7535 10.0762 11.8829 10.0889 12.0442L11.0858 11.9659C11.0546 11.5692 10.9787 11.2377 10.8526 10.9921C10.7437 10.7798 10.4836 10.4415 10.0511 10.5099C9.67003 10.5701 9.48878 10.9093 9.4135 11.1184C9.32328 11.3692 9.28719 11.6826 9.30569 12.0315L10.3043 11.9785ZM10.0889 12.0442C10.1139 12.3633 10.0358 12.8484 9.85516 13.4462C9.67816 14.0318 9.41647 14.6816 9.11317 15.3118C8.80994 15.9418 8.47007 16.5419 8.14084 17.029C7.80254 17.5297 7.50513 17.8662 7.29601 18.0151L7.87613 18.8297C8.23808 18.5719 8.61759 18.1096 8.96939 17.589C9.33026 17.055 9.69367 16.4115 10.0142 15.7455C10.3347 15.0797 10.6173 14.381 10.8124 13.7355C11.0038 13.1021 11.1257 12.4734 11.0858 11.9659L10.0889 12.0442ZM7.296 18.0151C7.15631 18.1146 7.03386 18.1856 6.93089 18.2341C6.82688 18.283 6.74954 18.3058 6.69909 18.3147C6.64573 18.3241 6.64124 18.3148 6.66866 18.323C6.68416 18.3277 6.70976 18.338 6.73835 18.3597C6.76775 18.382 6.79428 18.4118 6.81389 18.4472C6.83318 18.482 6.84134 18.5142 6.8442 18.5376C6.84696 18.5602 6.8447 18.5732 6.84459 18.5738C6.84447 18.5745 6.84594 18.5661 6.85331 18.5482C6.8606 18.5305 6.87264 18.506 6.89176 18.475C6.97169 18.3453 7.14411 18.1516 7.45647 17.9246L6.86862 17.1156C6.49044 17.3904 6.21056 17.6743 6.04045 17.9503C5.88966 18.195 5.74326 18.578 5.93907 18.9316C6.15632 19.324 6.59276 19.3488 6.87245 19.2995C7.17966 19.2455 7.52196 19.0819 7.87613 18.8297L7.296 18.0151ZM7.45647 17.9246C8.05916 17.4866 9.18007 17.0895 10.3863 16.8367C11.5898 16.5845 12.7601 16.5003 13.4323 16.6137L13.5986 15.6276C12.7424 15.4832 11.4269 15.5969 10.1812 15.858C8.93836 16.1185 7.64699 16.55 6.86862 17.1156L7.45647 17.9246ZM13.4323 16.6137C13.5979 16.6416 13.7366 16.6784 13.8495 16.7187C13.963 16.7593 14.0462 16.8017 14.1032 16.8389C14.1314 16.8573 14.1514 16.8732 14.1648 16.8854C14.1784 16.8977 14.1834 16.9046 14.1833 16.9045C14.1833 16.9044 14.1761 16.8946 14.1691 16.8743C14.1618 16.8534 14.1548 16.8216 14.1565 16.7816C14.1582 16.7407 14.1689 16.7004 14.1869 16.6646C14.2044 16.6297 14.2252 16.6066 14.2398 16.5935C14.254 16.5808 14.2623 16.5775 14.2585 16.5793C14.2547 16.5811 14.2422 16.5865 14.2181 16.5926C14.1686 16.6051 14.0864 16.6163 13.9646 16.6138C13.8441 16.6113 13.6932 16.5956 13.5101 16.5598L13.3182 17.5413C13.7675 17.6291 14.1569 17.6393 14.4624 17.5623C14.7438 17.4914 15.1359 17.2818 15.1555 16.8246C15.1725 16.4301 14.8818 16.1527 14.6492 16.0011C14.3851 15.829 14.0272 15.6999 13.5986 15.6276L13.4323 16.6137ZM13.5101 16.5598C13.2128 16.5017 12.8637 16.3162 12.4918 16.0011C12.1244 15.6899 11.7624 15.2756 11.4396 14.807C10.7846 13.8563 10.346 12.7644 10.3043 11.9785L9.30569 12.0315C9.36071 13.0689 9.90261 14.3387 10.6161 15.3743C10.9775 15.8989 11.3966 16.384 11.8454 16.7641C12.2895 17.1404 12.7916 17.4383 13.3182 17.5413L13.5101 16.5598ZM18.3264 21.25H5.72637V22.25H18.3264V21.25ZM5.72637 21.25C4.92555 21.25 4.27637 20.6008 4.27637 19.8H3.27637C3.27637 21.1531 4.37327 22.25 5.72637 22.25V21.25ZM4.27637 19.8V4.2H3.27637V19.8H4.27637ZM4.27637 4.2C4.27637 3.39919 4.92555 2.75 5.72637 2.75V1.75C4.37327 1.75 3.27637 2.8469 3.27637 4.2H4.27637ZM5.72637 2.75H13.2264V1.75H5.72637V2.75ZM12.8728 2.60355L19.9228 9.65355L20.6299 8.94645L13.5799 1.89645L12.8728 2.60355ZM19.7764 9.3V19.8H20.7764V9.3H19.7764ZM19.7764 19.8C19.7764 20.6008 19.1272 21.25 18.3264 21.25V22.25C19.6795 22.25 20.7764 21.1531 20.7764 19.8H19.7764ZM12.2764 2.25V8.25H13.2764V2.25H12.2764ZM12.2764 8.25C12.2764 9.35457 13.1718 10.25 14.2764 10.25V9.25C13.7241 9.25 13.2764 8.80229 13.2764 8.25H12.2764ZM14.2764 10.25H20.2764V9.25H14.2764V10.25Z"
|
|
2351
|
+
fill="currentColor"
|
|
2352
|
+
stroke-width="0"
|
|
2353
|
+
/>
|
|
2354
|
+
</svg>
|
|
2355
|
+
`}};ia=F5([w("tenable-workspace-app-reports")],ia);var z5=Object.defineProperty,G5=Object.getOwnPropertyDescriptor,K5=(e,t,n,r)=>{for(var o=r>1?void 0:r?G5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&z5(t,n,o),o};let sa=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2356
|
+
<svg
|
|
2357
|
+
class=${e}
|
|
2358
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2359
|
+
width="24"
|
|
2360
|
+
height="24"
|
|
2361
|
+
viewBox="0 0 24 24"
|
|
2362
|
+
fill="none"
|
|
2363
|
+
>
|
|
2364
|
+
<path
|
|
2365
|
+
d="M15.9738 18.3619C15.2798 18.7963 14.5096 19.1203 13.6878 19.3093C13.6835 19.3641 13.5533 21.0566 13.5533 21.0566C13.5232 21.4479 13.197 21.75 12.8046 21.75H11.1954C10.803 21.75 10.4768 21.4479 10.4467 21.0566C10.4467 21.0566 10.3165 19.3641 10.3122 19.3093C9.49014 19.1203 8.71973 18.7961 8.02555 18.3615C7.97565 18.4041 6.69436 19.5024 6.69436 19.5024C6.39643 19.7578 5.95212 19.7407 5.67465 19.4632L4.53677 18.3254C4.25931 18.0479 4.24224 17.6036 4.49761 17.3056C4.49761 17.3056 5.59568 16.0246 5.6385 15.9745C5.20388 15.2803 4.87973 14.5099 4.69068 13.6878C4.63621 13.6836 2.94335 13.5533 2.94335 13.5533C2.55211 13.5232 2.25 13.197 2.25 12.8046V11.1954C2.25 10.803 2.55211 10.4768 2.94335 10.4467C2.94335 10.4467 4.63561 10.3165 4.6912 10.3122C4.87973 9.49014 5.20388 8.71973 5.6385 8.02555C5.59615 7.97599 4.49761 6.69436 4.49761 6.69436C4.24224 6.39643 4.2593 5.95211 4.53677 5.67465L5.67465 4.53677C5.95211 4.2593 6.39643 4.24224 6.69435 4.49761C6.69435 4.49761 7.97427 5.59468 8.02582 5.63886C8.71974 5.20387 9.49015 4.87973 10.3122 4.69128C10.316 4.6415 10.4467 2.94335 10.4467 2.94335C10.4768 2.55211 10.803 2.25 11.1954 2.25H12.8046C13.197 2.25 13.5232 2.55211 13.5533 2.94335C13.5533 2.94335 13.6842 4.64516 13.6878 4.69068C14.5098 4.87973 15.2803 5.20387 15.9745 5.63849C16.0244 5.59586 17.3056 4.49761 17.3056 4.49761C17.6036 4.24224 18.0479 4.2593 18.3254 4.53677L19.4632 5.67465C19.7407 5.95211 19.7578 6.39643 19.5024 6.69435C19.5024 6.69435 18.3797 8.00417 18.3603 8.0268C18.7962 8.71991 19.1203 9.49026 19.3087 10.3122C19.3404 10.3146 21.0567 10.4467 21.0567 10.4467C21.4479 10.4768 21.75 10.803 21.75 11.1954V12.8046C21.75 13.197 21.4479 13.5232 21.0566 13.5533C21.0566 13.5533 19.3629 13.6836 19.3093 13.6878C19.1203 14.5099 18.7961 15.2803 18.3615 15.9745C18.4043 16.0246 19.5024 17.3056 19.5024 17.3056C19.7578 17.6036 19.7407 18.0479 19.4632 18.3254L18.3254 19.4632C18.0479 19.7407 17.6036 19.7578 17.3056 19.5024C17.3056 19.5024 16.024 18.4038 15.9738 18.3619Z"
|
|
2366
|
+
stroke="currentColor"
|
|
2367
|
+
stroke-miterlimit="10"
|
|
2368
|
+
stroke-linejoin="round"
|
|
2369
|
+
/>
|
|
2370
|
+
<path
|
|
2371
|
+
d="M12 15.75C14.0711 15.75 15.75 14.0711 15.75 12C15.75 9.92893 14.0711 8.25 12 8.25C9.92893 8.25 8.25 9.92893 8.25 12C8.25 14.0711 9.92893 15.75 12 15.75Z"
|
|
2372
|
+
stroke="currentColor"
|
|
2373
|
+
stroke-miterlimit="10"
|
|
2374
|
+
stroke-linejoin="round"
|
|
2375
|
+
/>
|
|
2376
|
+
</svg>
|
|
2377
|
+
`}};sa=K5([w("tenable-settings-app")],sa);var q5=Object.defineProperty,W5=Object.getOwnPropertyDescriptor,Z5=(e,t,n,r)=>{for(var o=r>1?void 0:r?W5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&q5(t,n,o),o};let aa=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2378
|
+
<svg
|
|
2379
|
+
class=${e}
|
|
2380
|
+
width="20"
|
|
2381
|
+
height="20"
|
|
2382
|
+
viewBox="0 0 20 20"
|
|
2383
|
+
fill="none"
|
|
2384
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2385
|
+
>
|
|
2386
|
+
<path
|
|
2387
|
+
d="M13.1309 14.3813L16.8934 10.0063L13.1309 5.63135"
|
|
2388
|
+
stroke="#026EDD"
|
|
2389
|
+
stroke-miterlimit="10"
|
|
2390
|
+
stroke-linecap="round"
|
|
2391
|
+
stroke-linejoin="round"
|
|
2392
|
+
/>
|
|
2393
|
+
<path
|
|
2394
|
+
d="M3.13086 10.0063H16.8934"
|
|
2395
|
+
stroke="#026EDD"
|
|
2396
|
+
stroke-miterlimit="10"
|
|
2397
|
+
stroke-linecap="round"
|
|
2398
|
+
stroke-linejoin="round"
|
|
2399
|
+
/>
|
|
2400
|
+
</svg>
|
|
2401
|
+
`}};aa=Z5([w("tenable-sign-out")],aa);var J5=Object.defineProperty,X5=Object.getOwnPropertyDescriptor,Q5=(e,t,n,r)=>{for(var o=r>1?void 0:r?X5(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&J5(t,n,o),o};let la=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2402
|
+
<svg
|
|
2403
|
+
class=${e}
|
|
2404
|
+
width="16"
|
|
2405
|
+
height="16"
|
|
2406
|
+
viewBox="0 0 16 16"
|
|
2407
|
+
fill="none"
|
|
2408
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2409
|
+
>
|
|
2410
|
+
<g clip-path="url(#clip0_3906_15653)">
|
|
2411
|
+
<path
|
|
2412
|
+
d="M8 1.22754L10 5.90008L15 6.4013L11.2361 9.71718L12.3262 14.7726L8 12.0763L3.67376 14.7726L4.76393 9.71718L1 6.4013L6 5.90008L8 1.22754Z"
|
|
2413
|
+
stroke="#0254A7"
|
|
2414
|
+
stroke-miterlimit="10"
|
|
2415
|
+
stroke-linejoin="round"
|
|
2416
|
+
/>
|
|
2417
|
+
</g>
|
|
2418
|
+
<defs>
|
|
2419
|
+
<clipPath id="clip0_3906_15653">
|
|
2420
|
+
<rect width="16" height="16" fill="white" />
|
|
2421
|
+
</clipPath>
|
|
2422
|
+
</defs>
|
|
2423
|
+
</svg>
|
|
2424
|
+
`}};la=Q5([w("tenable-star")],la);var Y5=Object.defineProperty,ey=Object.getOwnPropertyDescriptor,ty=(e,t,n,r)=>{for(var o=r>1?void 0:r?ey(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Y5(t,n,o),o};let ca=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2425
|
+
<svg
|
|
2426
|
+
class=${e}
|
|
2427
|
+
width="20"
|
|
2428
|
+
height="20"
|
|
2429
|
+
viewBox="0 0 20 20"
|
|
2430
|
+
fill="none"
|
|
2431
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2432
|
+
>
|
|
2433
|
+
<path
|
|
2434
|
+
d="M10 9.375C11.7259 9.375 13.125 7.97589 13.125 6.25C13.125 4.52411 11.7259 3.125 10 3.125C8.27411 3.125 6.875 4.52411 6.875 6.25C6.875 7.97589 8.27411 9.375 10 9.375Z"
|
|
2435
|
+
stroke="#026EDD"
|
|
2436
|
+
stroke-miterlimit="10"
|
|
2437
|
+
stroke-linejoin="round"
|
|
2438
|
+
/>
|
|
2439
|
+
<path
|
|
2440
|
+
d="M4.375 15.625V15.625C4.375 13.5539 6.05393 11.875 8.125 11.875H11.875C13.9461 11.875 15.625 13.5539 15.625 15.625V15.625"
|
|
2441
|
+
stroke="#026EDD"
|
|
2442
|
+
stroke-miterlimit="10"
|
|
2443
|
+
stroke-linecap="round"
|
|
2444
|
+
stroke-linejoin="round"
|
|
2445
|
+
/>
|
|
2446
|
+
</svg>
|
|
2447
|
+
`}};ca=ty([w("tenable-user-profile")],ca);var ny=Object.defineProperty,ry=Object.getOwnPropertyDescriptor,oy=(e,t,n,r)=>{for(var o=r>1?void 0:r?ry(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&ny(t,n,o),o};let ua=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2448
|
+
<svg
|
|
2449
|
+
class=${e}
|
|
2450
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2451
|
+
width="21"
|
|
2452
|
+
height="20"
|
|
2453
|
+
viewBox="0 0 21 20"
|
|
2454
|
+
fill="none"
|
|
2455
|
+
>
|
|
2456
|
+
<path
|
|
2457
|
+
d="M12.3926 11.875L14.8926 9.375L12.3926 8.15L14.8551 5.6625L12.3926 4.375C12.3926 4.375 13.7815 2.98607 14.4461 2.32141C13.1795 1.97599 10.5176 1.25 10.5176 1.25L3.64258 3.125V11.9143C3.64258 15.625 7.30981 17.7719 10.3896 19.0729C10.4715 19.1075 10.5637 19.1075 10.6456 19.0729C13.7252 17.772 17.3926 15.625 17.3926 11.9115V3.125"
|
|
2458
|
+
stroke="#026EDD"
|
|
2459
|
+
stroke-miterlimit="10"
|
|
2460
|
+
stroke-linecap="round"
|
|
2461
|
+
stroke-linejoin="round"
|
|
2462
|
+
/>
|
|
2463
|
+
</svg>
|
|
2464
|
+
`}};ua=oy([w("tenable-workspace-app-vm")],ua);var iy=Object.defineProperty,sy=Object.getOwnPropertyDescriptor,ay=(e,t,n,r)=>{for(var o=r>1?void 0:r?sy(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&iy(t,n,o),o};let da=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2465
|
+
<svg
|
|
2466
|
+
class=${e}
|
|
2467
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2468
|
+
width="21"
|
|
2469
|
+
height="20"
|
|
2470
|
+
viewBox="0 0 21 20"
|
|
2471
|
+
fill="none"
|
|
2472
|
+
>
|
|
2473
|
+
<path
|
|
2474
|
+
d="M10.0352 18.125C14.5225 18.125 18.1602 14.4873 18.1602 10C18.1602 5.51269 14.5225 1.875 10.0352 1.875C5.54784 1.875 1.91016 5.51269 1.91016 10C1.91016 14.4873 5.54784 18.125 10.0352 18.125Z"
|
|
2475
|
+
stroke="#026EDD"
|
|
2476
|
+
stroke-miterlimit="10"
|
|
2477
|
+
stroke-linecap="round"
|
|
2478
|
+
/>
|
|
2479
|
+
<path
|
|
2480
|
+
d="M12.954 11.1159C14.5562 6.92437 14.5483 3.02691 12.9361 2.41066C11.324 1.7944 8.71825 4.69272 7.11599 8.88423C5.51373 13.0757 5.52172 16.9732 7.13384 17.5895C8.74596 18.2057 11.3517 15.3074 12.954 11.1159Z"
|
|
2481
|
+
stroke="#026EDD"
|
|
2482
|
+
stroke-miterlimit="10"
|
|
2483
|
+
stroke-linecap="round"
|
|
2484
|
+
/>
|
|
2485
|
+
<path
|
|
2486
|
+
d="M3.61621 5.13716C5.44727 4.49889 17.5574 9.12816 18.0616 10.6591"
|
|
2487
|
+
stroke="#026EDD"
|
|
2488
|
+
stroke-miterlimit="10"
|
|
2489
|
+
stroke-linecap="round"
|
|
2490
|
+
/>
|
|
2491
|
+
<path
|
|
2492
|
+
d="M2.00879 9.34082C2.94719 11.0377 15.0574 15.667 16.4542 14.8628"
|
|
2493
|
+
stroke="#026EDD"
|
|
2494
|
+
stroke-miterlimit="10"
|
|
2495
|
+
stroke-linecap="round"
|
|
2496
|
+
/>
|
|
2497
|
+
</svg>
|
|
2498
|
+
`}};da=ay([w("tenable-workspace-app-was")],da);var ly=Object.defineProperty,cy=Object.getOwnPropertyDescriptor,uy=(e,t,n,r)=>{for(var o=r>1?void 0:r?cy(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&ly(t,n,o),o};let pa=class extends T{render(){const e=C({[`color-icon-${this.color}`]:!0,[`size-icon-${this.size}`]:!0});return f`
|
|
2499
|
+
<svg
|
|
2500
|
+
class=${e}
|
|
2501
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2502
|
+
width="24"
|
|
2503
|
+
height="24"
|
|
2504
|
+
viewBox="0 0 24 24"
|
|
2505
|
+
fill="none"
|
|
2506
|
+
>
|
|
2507
|
+
<path
|
|
2508
|
+
d="M6 6.75H3C2.58579 6.75 2.25 6.41421 2.25 6V3C2.25 2.58579 2.58579 2.25 3 2.25H6C6.41421 2.25 6.75 2.58579 6.75 3V6C6.75 6.41421 6.41421 6.75 6 6.75Z"
|
|
2509
|
+
stroke="currentColor"
|
|
2510
|
+
stroke-miterlimit="10"
|
|
2511
|
+
stroke-linecap="round"
|
|
2512
|
+
stroke-linejoin="round"
|
|
2513
|
+
/>
|
|
2514
|
+
<path
|
|
2515
|
+
d="M13.5 6.75H10.5C10.0858 6.75 9.75 6.41421 9.75 6V3C9.75 2.58579 10.0858 2.25 10.5 2.25H13.5C13.9142 2.25 14.25 2.58579 14.25 3V6C14.25 6.41421 13.9142 6.75 13.5 6.75Z"
|
|
2516
|
+
stroke="currentColor"
|
|
2517
|
+
stroke-miterlimit="10"
|
|
2518
|
+
stroke-linecap="round"
|
|
2519
|
+
stroke-linejoin="round"
|
|
2520
|
+
/>
|
|
2521
|
+
<path
|
|
2522
|
+
d="M21 6.75H18C17.5858 6.75 17.25 6.41421 17.25 6V3C17.25 2.58579 17.5858 2.25 18 2.25H21C21.4142 2.25 21.75 2.58579 21.75 3V6C21.75 6.41421 21.4142 6.75 21 6.75Z"
|
|
2523
|
+
stroke="currentColor"
|
|
2524
|
+
stroke-miterlimit="10"
|
|
2525
|
+
stroke-linecap="round"
|
|
2526
|
+
stroke-linejoin="round"
|
|
2527
|
+
/>
|
|
2528
|
+
<path
|
|
2529
|
+
d="M6 14.25H3C2.58579 14.25 2.25 13.9142 2.25 13.5V10.5C2.25 10.0858 2.58579 9.75 3 9.75H6C6.41421 9.75 6.75 10.0858 6.75 10.5V13.5C6.75 13.9142 6.41421 14.25 6 14.25Z"
|
|
2530
|
+
stroke="currentColor"
|
|
2531
|
+
stroke-miterlimit="10"
|
|
2532
|
+
stroke-linecap="round"
|
|
2533
|
+
stroke-linejoin="round"
|
|
2534
|
+
/>
|
|
2535
|
+
<path
|
|
2536
|
+
d="M13.5 14.25H10.5C10.0858 14.25 9.75 13.9142 9.75 13.5V10.5C9.75 10.0858 10.0858 9.75 10.5 9.75H13.5C13.9142 9.75 14.25 10.0858 14.25 10.5V13.5C14.25 13.9142 13.9142 14.25 13.5 14.25Z"
|
|
2537
|
+
stroke="currentColor"
|
|
2538
|
+
stroke-miterlimit="10"
|
|
2539
|
+
stroke-linecap="round"
|
|
2540
|
+
stroke-linejoin="round"
|
|
2541
|
+
/>
|
|
2542
|
+
<path
|
|
2543
|
+
d="M21 14.25H18C17.5858 14.25 17.25 13.9142 17.25 13.5V10.5C17.25 10.0858 17.5858 9.75 18 9.75H21C21.4142 9.75 21.75 10.0858 21.75 10.5V13.5C21.75 13.9142 21.4142 14.25 21 14.25Z"
|
|
2544
|
+
stroke="currentColor"
|
|
2545
|
+
stroke-miterlimit="10"
|
|
2546
|
+
stroke-linecap="round"
|
|
2547
|
+
stroke-linejoin="round"
|
|
2548
|
+
/>
|
|
2549
|
+
<path
|
|
2550
|
+
d="M6 21.75H3C2.58579 21.75 2.25 21.4142 2.25 21V18C2.25 17.5858 2.58579 17.25 3 17.25H6C6.41421 17.25 6.75 17.5858 6.75 18V21C6.75 21.4142 6.41421 21.75 6 21.75Z"
|
|
2551
|
+
stroke="currentColor"
|
|
2552
|
+
stroke-miterlimit="10"
|
|
2553
|
+
stroke-linecap="round"
|
|
2554
|
+
stroke-linejoin="round"
|
|
2555
|
+
/>
|
|
2556
|
+
<path
|
|
2557
|
+
d="M13.5 21.75H10.5C10.0858 21.75 9.75 21.4142 9.75 21V18C9.75 17.5858 10.0858 17.25 10.5 17.25H13.5C13.9142 17.25 14.25 17.5858 14.25 18V21C14.25 21.4142 13.9142 21.75 13.5 21.75Z"
|
|
2558
|
+
stroke="currentColor"
|
|
2559
|
+
stroke-miterlimit="10"
|
|
2560
|
+
stroke-linecap="round"
|
|
2561
|
+
stroke-linejoin="round"
|
|
2562
|
+
/>
|
|
2563
|
+
<path
|
|
2564
|
+
d="M21 21.75H18C17.5858 21.75 17.25 21.4142 17.25 21V18C17.25 17.5858 17.5858 17.25 18 17.25H21C21.4142 17.25 21.75 17.5858 21.75 18V21C21.75 21.4142 21.4142 21.75 21 21.75Z"
|
|
2565
|
+
stroke="currentColor"
|
|
2566
|
+
stroke-miterlimit="10"
|
|
2567
|
+
stroke-linecap="round"
|
|
2568
|
+
stroke-linejoin="round"
|
|
2569
|
+
/>
|
|
2570
|
+
</svg>
|
|
2571
|
+
`}};pa=uy([w("tenable-workspace-apps")],pa);const dy=k`
|
|
2572
|
+
${ce}
|
|
2573
|
+
|
|
2574
|
+
:host(:focus-visible) {
|
|
2575
|
+
outline: none;
|
|
2576
|
+
}
|
|
2577
|
+
|
|
2578
|
+
.tenable-navigation-menu-group-item-root {
|
|
2579
|
+
display: flex;
|
|
2580
|
+
flex-wrap: nowrap;
|
|
2581
|
+
flex-direction: row;
|
|
2582
|
+
align-items: center;
|
|
2583
|
+
justify-content: flex-start;
|
|
2584
|
+
background-color: var(--tenb-colors-background-component);
|
|
2585
|
+
border-radius: 0px;
|
|
2586
|
+
box-sizing: border-box;
|
|
2587
|
+
border: 0;
|
|
2588
|
+
color: var(--tenb-colors-text-body);
|
|
2589
|
+
// cursor: pointer;
|
|
2590
|
+
height: 56px;
|
|
2591
|
+
width: 100%;
|
|
2592
|
+
padding-left: var(--tenb-space-16);
|
|
2593
|
+
padding-right: var(--tenb-space-16);
|
|
2594
|
+
gap: 0px var(--tenb-space-8);
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
.tenable-navigation-menu-group-item-root.small {
|
|
2598
|
+
height: 32px;
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
.tenable-navigation-menu-group-item-root.small
|
|
2602
|
+
.tenable-navigation-menu-group-item-label {
|
|
2603
|
+
font-family: var(--fonts-base);
|
|
2604
|
+
font-size: var(--font-size-14);
|
|
2605
|
+
}
|
|
2606
|
+
|
|
2607
|
+
.tenable-navigation-menu-group-item-root.focus-visible {
|
|
2608
|
+
border-radius: 6px;
|
|
2609
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
2610
|
+
var(--tenb-colors-outline-focus);
|
|
2611
|
+
outline-offset: -1px;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
// .tenable-navigation-menu-group-item-root:hover {
|
|
2615
|
+
// background-color: var(--tenb-colors-background-hover);
|
|
2616
|
+
// }
|
|
2617
|
+
|
|
2618
|
+
.tenable-navigation-menu-group-item-root:active {
|
|
2619
|
+
background-color: var(--tenb-colors-background-selected-alt);
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
.tenable-navigation-menu-group-item-label {
|
|
2623
|
+
display: inline-flex;
|
|
2624
|
+
color: var(--tenb-colors-text-body);
|
|
2625
|
+
cursor: inherit;
|
|
2626
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
2627
|
+
font-size: var(--tenb-fontSizes-18);
|
|
2628
|
+
line-height: 22px;
|
|
2629
|
+
opacity: 1;
|
|
2630
|
+
visibility: visible;
|
|
2631
|
+
margin-bottom: 0;
|
|
2632
|
+
margin-top: 0;
|
|
2633
|
+
transition:
|
|
2634
|
+
visibility 0.5s,
|
|
2635
|
+
opacity 0.5s ease-in;
|
|
2636
|
+
width: 100%;
|
|
2637
|
+
// -moz-osx-font-smoothing: grayscale;
|
|
2638
|
+
// -webkit-font-smoothing: antialiased;
|
|
2639
|
+
user-select: none;
|
|
2640
|
+
-webkit-user-select: none; /* safari */
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
.tenable-navigation-menu-group-item-label.alt {
|
|
2644
|
+
color: var(--tenb-colors-text-inverse);
|
|
2645
|
+
}
|
|
2646
|
+
`;var py=Object.defineProperty,hy=Object.getOwnPropertyDescriptor,gi=(e,t,n,r)=>{for(var o=r>1?void 0:r?hy(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&py(t,n,o),o};let _n=class extends x{constructor(){super(...arguments),this.itemId="",this.label="",this.renderLabel=()=>f`
|
|
2647
|
+
<slot name="label">
|
|
2648
|
+
<tenable-text
|
|
2649
|
+
part="label"
|
|
2650
|
+
class="tenable-navigation-menu-group-item-label"
|
|
2651
|
+
bold
|
|
2652
|
+
>${this.label}</tenable-text
|
|
2653
|
+
>
|
|
2654
|
+
</slot>
|
|
2655
|
+
`}render(){return f`
|
|
2656
|
+
<div
|
|
2657
|
+
part="base"
|
|
2658
|
+
id=${this.itemId}
|
|
2659
|
+
class="tenable-navigation-menu-group-item-root"
|
|
2660
|
+
aria-label=${te(this.label)}
|
|
2661
|
+
>
|
|
2662
|
+
${this.renderLabel()}
|
|
2663
|
+
</div>
|
|
2664
|
+
`}};_n.styles=[dy];gi([b({attribute:"item-id",type:String})],_n.prototype,"itemId",2);gi([b({type:String})],_n.prototype,"label",2);_n=gi([w("tenable-navigation-menu-group-heading")],_n);const fy=k`
|
|
2665
|
+
${ce}
|
|
2666
|
+
|
|
2667
|
+
.tenable-navigation-menu-root {
|
|
2668
|
+
background: var(--tenb-colors-background-component);
|
|
2669
|
+
border: 1px solid var(--tenb-colors-border-base);
|
|
2670
|
+
border-radius: 6px;
|
|
2671
|
+
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
|
|
2672
|
+
width: 308px;
|
|
2673
|
+
height: auto;
|
|
2674
|
+
padding-top: 4px;
|
|
2675
|
+
padding-bottom: 4px;
|
|
2676
|
+
}
|
|
2677
|
+
`;var vy=Object.defineProperty,by=Object.getOwnPropertyDescriptor,Oc=(e,t,n,r)=>{for(var o=r>1?void 0:r?by(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&vy(t,n,o),o};let $r=class extends x{constructor(){super(...arguments),this.compact=!1,this._menuKeyboardController=null,this.handleMenuOpen=()=>{this._menuKeyboardController!==null&&(this._menuKeyboardController.selected=0)}}connectedCallback(){super.connectedCallback(),this._menuKeyboardController=new hi(this),document.addEventListener(ee.UNIVERSAL_NAVIGATION_POPOVER_OPENED,this.handleMenuOpen)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener(ee.UNIVERSAL_NAVIGATION_POPOVER_OPENED,this.handleMenuOpen)}handleSlotChange(){this._menuKeyboardController!==null&&this._menuKeyboardController.onSlotChange()}render(){return f`
|
|
2678
|
+
<div part="base" class="tenable-navigation-menu-root">
|
|
2679
|
+
<slot @slotchange="${this.handleSlotChange}"></slot>
|
|
2680
|
+
</div>
|
|
2681
|
+
`}};$r.styles=[fy];Oc([b({type:Boolean,reflect:!0})],$r.prototype,"compact",2);$r=Oc([w("tenable-navigation-menu")],$r);const gy=k`
|
|
2682
|
+
${ce}
|
|
2683
|
+
|
|
2684
|
+
:host(:focus-visible) {
|
|
2685
|
+
outline: none;
|
|
2686
|
+
}
|
|
2687
|
+
|
|
2688
|
+
.tenable-navigation-menu-item-root {
|
|
2689
|
+
display: flex;
|
|
2690
|
+
flex-wrap: nowrap;
|
|
2691
|
+
flex-direction: row;
|
|
2692
|
+
align-items: center;
|
|
2693
|
+
justify-content: flex-start;
|
|
2694
|
+
background-color: var(--tenb-colors-background-component);
|
|
2695
|
+
border-radius: 0px;
|
|
2696
|
+
box-sizing: border-box;
|
|
2697
|
+
border-left: 2px solid var(--tenb-colors-transparent);
|
|
2698
|
+
color: var(--tenb-colors-text-body);
|
|
2699
|
+
cursor: pointer;
|
|
2700
|
+
height: 56px;
|
|
2701
|
+
width: 100%;
|
|
2702
|
+
padding-left: 14px;
|
|
2703
|
+
padding-right: var(--tenb-space-16);
|
|
2704
|
+
gap: 0px var(--tenb-space-8);
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
.tenable-navigation-menu-item-root.small {
|
|
2708
|
+
height: 32px;
|
|
2709
|
+
}
|
|
2710
|
+
|
|
2711
|
+
.tenable-navigation-menu-item-root.small .tenable-navigation-menu-item-label {
|
|
2712
|
+
font-family: var(--fonts-base);
|
|
2713
|
+
font-size: var(--font-size-14);
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
.tenable-navigation-menu-item-root.focus-visible {
|
|
2717
|
+
border-radius: 3px;
|
|
2718
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
2719
|
+
var(--tenb-colors-outline-focus);
|
|
2720
|
+
outline-offset: -1px;
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
.tenable-navigation-menu-item-root:hover {
|
|
2724
|
+
background-color: var(--tenb-colors-background-hover);
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
.tenable-navigation-menu-item-root:active {
|
|
2728
|
+
background-color: var(--tenb-colors-background-selected-alt);
|
|
2729
|
+
}
|
|
2730
|
+
|
|
2731
|
+
.tenable-navigation-menu-item-root.opened,
|
|
2732
|
+
.tenable-navigation-menu-item-root.selected {
|
|
2733
|
+
background-color: var(--tenb-colors-background-selected);
|
|
2734
|
+
}
|
|
2735
|
+
|
|
2736
|
+
.tenable-navigation-menu-item-root.selected {
|
|
2737
|
+
border-left-color: var(--tenb-colors-accent);
|
|
2738
|
+
padding-left: 14px;
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
.tenable-navigation-menu-item-root.round-bottom-border,
|
|
2742
|
+
.tenable-navigation-menu-item-root.round-bottom-border.opened,
|
|
2743
|
+
.tenable-navigation-menu-item-root.round-bottom-border.selected {
|
|
2744
|
+
border-radius: 6px;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
.tenable-navigation-menu-item-label {
|
|
2748
|
+
display: inline-flex;
|
|
2749
|
+
color: var(--tenb-colors-text-body);
|
|
2750
|
+
cursor: inherit;
|
|
2751
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
2752
|
+
font-size: var(--tenb-fontSizes-16);
|
|
2753
|
+
line-height: 22px;
|
|
2754
|
+
opacity: 1;
|
|
2755
|
+
visibility: visible;
|
|
2756
|
+
margin-bottom: 0;
|
|
2757
|
+
margin-top: 0;
|
|
2758
|
+
// transition-delay: 250ms;
|
|
2759
|
+
transition:
|
|
2760
|
+
visibility 0.2s,
|
|
2761
|
+
opacity 0.5s ease-in;
|
|
2762
|
+
width: 100%;
|
|
2763
|
+
// -moz-osx-font-smoothing: grayscale;
|
|
2764
|
+
// -webkit-font-smoothing: antialiased;
|
|
2765
|
+
user-select: none;
|
|
2766
|
+
-webkit-user-select: none; /* safari */
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
.tenable-navigation-menu-item-label.hidden {
|
|
2770
|
+
visibility: hidden;
|
|
2771
|
+
opacity: 0;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
.tenable-navigation-menu-item-label.alt {
|
|
2775
|
+
color: var(--tenb-colors-text-inverse);
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
tenable-toggle-switch::part(base) {
|
|
2779
|
+
margin-bottom: 0;
|
|
2780
|
+
}
|
|
2781
|
+
.tenable-navigation-menu-item-label-for-sidebar {
|
|
2782
|
+
white-space: nowrap;
|
|
2783
|
+
}
|
|
2784
|
+
`;var my=Object.defineProperty,_y=Object.getOwnPropertyDescriptor,Pe=(e,t,n,r)=>{for(var o=r>1?void 0:r?_y(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&my(t,n,o),o};let fe=class extends x{constructor(){super(...arguments),this.itemId="",this.label="",this.url=null,this.host="",this.newTab=!1,this.opened=!1,this.selected=!1,this.labelVisible=!0,this.hasChildren=!1,this.item=null,this.addToLocalStorage=()=>{var t,n,r;const{storeRoot:{environment:e}}=this.__getStores();if(this.host===u.GlobalHeaderPanels.UserProfile)switch((t=this.item)==null?void 0:t.id){case u.UserManagementMenuKeys.MyAccount:(n=e.localStorage)==null||n.setItem(u.LocalStorageKey.selectedApplication,u.LocalStorageSelectedApplication.platformSettings);break;case u.UserManagementMenuKeys.SignOut:(r=e.localStorage)==null||r.setItem(u.LocalStorageKey.selectedApplication,u.LocalStorageSelectedApplication.tenable_io);break}},this.logTelemetry=()=>{var r;const{storeTelemetry:e,storeRoot:t}=this.__getStores();if(!((r=t.environment.config.services.telemetry)!=null&&r.enabled))return;let n=le.MainNavClicked;switch(this.host){case u.GlobalHeaderPanels.UserProfile:n=le.HeaderUserProfileClicked;break;case u.GlobalHeaderPanels.Settings:n=le.HeaderSettingsClicked;break;case u.GlobalHeaderPanels.Sidebar:n=le.MainNavClicked;break;case u.GlobalHeaderPanels.QuickActions:n=le.HeaderQuickActionsClicked;break;default:n=le.MainNavClicked;break}e.trackTelemetry(n,{name:this.label})},this.shouldBlockEvent=e=>{const t=e.target;return t.parentElement instanceof HTMLSlotElement&&t.parentElement.name=="clickable"},this.onClick=e=>{var s,a,l;const{storeRoot:t}=this.__getStores();if(this.shouldBlockEvent(e)){e.stopImmediatePropagation();return}if(!this.url)return;if(this.addToLocalStorage(),this.logTelemetry(),window&&this.newTab===!0){window.open(this.url,"_blank");return}const n={detail:{itemId:this.itemId,url:this.url,item:this.item,host:this.host,tulApi:t.tulApi},bubbles:!0,composed:!0},r=new CustomEvent(ee.UNIVERSAL_NAVIGATION_MENU_ITEM_CLICKED,n);this.dispatchEvent(r);const o=new CustomEvent(ee.UNIVERSAL_NAVIGATION_ITEM_CLICKED,n),i=this.determineEventForMenuItem();if(i){const c={eventName:i,detail:{nativeEvent:e,item:this.item,tulApi:t.tulApi}};this.__dispatchTulEvent(c)}document.dispatchEvent(o),(s=window==null?void 0:window.document)!=null&&s.location&&((a=this.item)==null?void 0:a.target)==="_self"&&((l=this.url)!=null&&l.includes("settings/my-account")?t.redirectToClickedApp(this.url,u.LocalStorageSelectedApplication.platformSettings):window.document.location.href=`${this.url}`)},this.renderSubMenuIcon=()=>{if(this.labelVisible&&this.hasChildren)return f` <tenable-chevron-right></tenable-chevron-right> `},this.renderToggleSwitch=()=>{if(this.labelVisible)return f` <tenable-toggle-switch></tenable-toggle-switch> `},this.renderLabel=()=>{const e={"tenable-navigation-menu-item-label-for-sidebar":this.host===u.GlobalHeaderPanels.Sidebar,hidden:!this.labelVisible};return f`
|
|
2785
|
+
<slot name="label">
|
|
2786
|
+
<label
|
|
2787
|
+
part="label"
|
|
2788
|
+
class="tenable-navigation-menu-item-label ${C(e)}"
|
|
2789
|
+
>
|
|
2790
|
+
${this.label}
|
|
2791
|
+
</label>
|
|
2792
|
+
</slot>
|
|
2793
|
+
`}}determineEventForMenuItem(){let e=null;switch(this.host){case u.GlobalHeaderPanels.Settings:e=u.TulEvent.onTulEventSettingsMenuItemClick;break;case u.GlobalHeaderPanels.Sidebar:e=u.TulEvent.onTulEventSidebarMenuItemClick;break;case u.GlobalHeaderPanels.UserProfile:e=u.TulEvent.onTulEventUserProfileMenuItemClick;break;case u.GlobalHeaderPanels.QuickActions:e=u.TulEvent.onTulEventQuickActionsMenuItemClick;break}return e}render(){var t,n,r;const e={opened:this.opened,selected:this.selected,"toggle-switch":(n=(t=this.item)==null?void 0:t.toggle)!=null?n:!1};return f`
|
|
2794
|
+
<div
|
|
2795
|
+
part="base"
|
|
2796
|
+
class="tenable-navigation-menu-item-root ${C(e)}"
|
|
2797
|
+
@click=${this.onClick}
|
|
2798
|
+
aria-label=${te(this.label)}
|
|
2799
|
+
>
|
|
2800
|
+
<div part="icon" class="tenable-navigation-menu-item__icon">
|
|
2801
|
+
<slot name="icon"></slot>
|
|
2802
|
+
</div>
|
|
2803
|
+
${this.renderLabel()}
|
|
2804
|
+
${this.item&&((r=this.item)!=null&&r.toggle)?f` <div
|
|
2805
|
+
part="clickable-elements"
|
|
2806
|
+
class="tenable-navigation-menu-item__clickable"
|
|
2807
|
+
>
|
|
2808
|
+
<slot name="clickable"> ${this.renderToggleSwitch()} </slot>
|
|
2809
|
+
</div>`:""}
|
|
2810
|
+
${this.renderSubMenuIcon()}
|
|
2811
|
+
</div>
|
|
2812
|
+
`}};fe.styles=[gy];Pe([b({attribute:"item-id",type:String})],fe.prototype,"itemId",2);Pe([b({type:String})],fe.prototype,"label",2);Pe([b({type:String})],fe.prototype,"url",2);Pe([b({type:String})],fe.prototype,"host",2);Pe([b({type:Boolean})],fe.prototype,"newTab",2);Pe([b({reflect:!0,type:Boolean})],fe.prototype,"opened",2);Pe([b({reflect:!0,type:Boolean})],fe.prototype,"selected",2);Pe([b({type:Boolean})],fe.prototype,"labelVisible",2);Pe([b({type:Boolean})],fe.prototype,"hasChildren",2);Pe([b({type:Object})],fe.prototype,"item",2);fe=Pe([w("tenable-navigation-menu-item")],fe);const yy=k`
|
|
2813
|
+
:host {
|
|
2814
|
+
background-color: var(--tenb-colors-background-component);
|
|
2815
|
+
}
|
|
2816
|
+
`;var wy=Object.defineProperty,$y=Object.getOwnPropertyDescriptor,qr=(e,t,n,r)=>{for(var o=r>1?void 0:r?$y(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&wy(t,n,o),o};let Kt=class extends x{constructor(){super(...arguments),this.itemId="",this.menuItems=[],this.host="navigation"}render(){return f`
|
|
2817
|
+
<tenable-navigation-menu part="base">
|
|
2818
|
+
${this.menuItems&&et(this.menuItems,e=>e.name,e=>{var t;return f`
|
|
2819
|
+
<tenable-navigation-menu-item
|
|
2820
|
+
item-id=${te(this.itemId)}
|
|
2821
|
+
url=${te(e.url)}
|
|
2822
|
+
host=${this.host}
|
|
2823
|
+
label=${e.name}
|
|
2824
|
+
.item=${e}
|
|
2825
|
+
?newTab=${((t=e.url)==null?void 0:t.startsWith("http"))===!0}
|
|
2826
|
+
>
|
|
2827
|
+
${Me(e.icon)}
|
|
2828
|
+
</tenable-navigation-menu-item>
|
|
2829
|
+
`})}
|
|
2830
|
+
</tenable-navigation-menu>
|
|
2831
|
+
`}};Kt.styles=[yy];qr([b({attribute:"item-id",type:String})],Kt.prototype,"itemId",2);qr([b({type:Array})],Kt.prototype,"menuItems",2);qr([b({type:String})],Kt.prototype,"host",2);Kt=qr([w("tenable-universal-navigation-menu-submenu")],Kt);var Cy=Object.defineProperty,Sy=Object.getOwnPropertyDescriptor,xy=(e,t,n,r)=>{for(var o=r>1?void 0:r?Sy(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Cy(t,n,o),o};let Lo=class extends x{render(){return f`
|
|
2832
|
+
<div part="base" class="tenable-notification-badge">
|
|
2833
|
+
<div>
|
|
2834
|
+
<slot></slot>
|
|
2835
|
+
</div>
|
|
2836
|
+
</div>
|
|
2837
|
+
`}};Lo.styles=k`
|
|
2838
|
+
:host {
|
|
2839
|
+
position: absolute;
|
|
2840
|
+
top: -5px;
|
|
2841
|
+
// left: 20px;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
.tenable-notification-badge {
|
|
2845
|
+
position: absolute;
|
|
2846
|
+
background-color: var(--tenb-colors-icon-status-bad);
|
|
2847
|
+
border: 0;
|
|
2848
|
+
border-radius: 100px;
|
|
2849
|
+
box-sizing: border-box;
|
|
2850
|
+
color: var(--tenb-colors-text-white);
|
|
2851
|
+
cursor: pointer;
|
|
2852
|
+
text-align: center;
|
|
2853
|
+
vertical-align: center;
|
|
2854
|
+
width: 1.25rem;
|
|
2855
|
+
height: 1.25rem;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
.tenable-notification-badge div {
|
|
2859
|
+
padding-top: 3px;
|
|
2860
|
+
font-family: var(--tenb-fonts-base);
|
|
2861
|
+
font-size: var(--tenb-fontSizes-12);
|
|
2862
|
+
}
|
|
2863
|
+
`;Lo=xy([w("tenable-notification-badge")],Lo);const Ay=k`
|
|
2864
|
+
#notifications-view {
|
|
2865
|
+
display: grid;
|
|
2866
|
+
grid-template-columns: 1fr;
|
|
2867
|
+
grid-template-rows: 1fr;
|
|
2868
|
+
gap: 16px 16px;
|
|
2869
|
+
margin: 16px;
|
|
2870
|
+
}
|
|
2871
|
+
`;var Oy=Object.defineProperty,Py=Object.getOwnPropertyDescriptor,Pc=(e,t,n,r)=>{for(var o=r>1?void 0:r?Py(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Oy(t,n,o),o};let Cr=class extends x{constructor(){super(...arguments),this.panelTitle="Notifications"}render(){return f`
|
|
2872
|
+
<tenable-universal-header-action-panel part="base">
|
|
2873
|
+
<tenable-universal-header-action-panel-header part="panel-header">
|
|
2874
|
+
<tenable-heading3 part="panel-header-title"
|
|
2875
|
+
>${this.panelTitle}</tenable-heading3
|
|
2876
|
+
>
|
|
2877
|
+
</tenable-universal-header-action-panel-header>
|
|
2878
|
+
<tenable-universal-header-action-panel-body part="panel-body">
|
|
2879
|
+
<slot></slot>
|
|
2880
|
+
</tenable-universal-header-action-panel-body>
|
|
2881
|
+
</tenable-universal-header-action-panel>
|
|
2882
|
+
`}};Cr.styles=[Ay];Pc([b({type:String})],Cr.prototype,"panelTitle",2);Cr=Pc([w("tenable-universal-header-notifications-panel")],Cr);var Ey=Object.defineProperty,ky=Object.getOwnPropertyDescriptor,mi=(e,t,n,r)=>{for(var o=r>1?void 0:r?ky(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Ey(t,n,o),o};const Ty="universal-header-notifications-action",Iy=`${We()}`,Ec=`${Ty}-${Iy}`;let Sr=class extends x{constructor(){super(...arguments),this.notificationCount=0,this._actionController=new en(this),this.onPopoverTriggerClicked=e=>{var o,i;const{storeRoot:t,storeTelemetry:n}=this.__getStores();this._actionController.onPopoverTriggerClicked(this,this.popover);const r={eventName:u.TulEvent.onTulEventNotificationClick,detail:{nativeEvent:e,tulApi:t.tulApi}};this.__dispatchTulEvent(r),(i=(o=t.environment.config.app.handlers)==null?void 0:o.onTulNotificationsClick)==null||i.call(o,{tulEvent:r}),n.trackTelemetry(le.NotificationClicked)},this.renderBadge=()=>{if(this.notificationCount>0)return f`<tenable-notification-badge
|
|
2883
|
+
>${this.notificationCount}</tenable-notification-badge
|
|
2884
|
+
>`}}render(){return f`
|
|
2885
|
+
<tenable-popover
|
|
2886
|
+
part="base"
|
|
2887
|
+
id="${Ec}"
|
|
2888
|
+
label="Notifications Menu"
|
|
2889
|
+
?is-open=${this._actionController.isMenuOpen}
|
|
2890
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
2891
|
+
>
|
|
2892
|
+
<tenable-floating-button
|
|
2893
|
+
class="notification__trigger"
|
|
2894
|
+
?selected=${this._actionController.isMenuOpen}
|
|
2895
|
+
.allowSelectedClick=${!0}
|
|
2896
|
+
id="notifications-menu-button"
|
|
2897
|
+
aria-label="Notifications"
|
|
2898
|
+
aria-haspopup="true"
|
|
2899
|
+
slot="anchor"
|
|
2900
|
+
part="trigger"
|
|
2901
|
+
>
|
|
2902
|
+
<tenable-bell color="brand" size="medium"></tenable-bell>
|
|
2903
|
+
|
|
2904
|
+
${this.renderBadge()}
|
|
2905
|
+
</tenable-floating-button>
|
|
2906
|
+
|
|
2907
|
+
<slot></slot>
|
|
2908
|
+
</tenable-popover>
|
|
2909
|
+
`}};mi([Zt(`#${Ec}`)],Sr.prototype,"popover",2);mi([b({type:Number})],Sr.prototype,"notificationCount",2);Sr=mi([w("tenable-universal-header-notifications-action")],Sr);function Bn(e){return e.split("-")[1]}function _i(e){return e==="y"?"height":"width"}function mt(e){return e.split("-")[0]}function Vn(e){return["top","bottom"].includes(mt(e))?"x":"y"}function ha(e,t,n){let{reference:r,floating:o}=e;const i=r.x+r.width/2-o.width/2,s=r.y+r.height/2-o.height/2,a=Vn(t),l=_i(a),c=r[l]/2-o[l]/2,d=a==="x";let p;switch(mt(t)){case"top":p={x:i,y:r.y-o.height};break;case"bottom":p={x:i,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:s};break;case"left":p={x:r.x-o.width,y:s};break;default:p={x:r.x,y:r.y}}switch(Bn(t)){case"start":p[a]-=c*(n&&d?-1:1);break;case"end":p[a]+=c*(n&&d?-1:1)}return p}const Dy=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=ha(c,r,l),h=r,v={},m=0;for(let g=0;g<a.length;g++){const{name:_,fn:S}=a[g],{x:O,y:B,data:V,reset:L}=await S({x:d,y:p,initialPlacement:r,placement:h,strategy:o,middlewareData:v,rects:c,platform:s,elements:{reference:e,floating:t}});d=O!=null?O:d,p=B!=null?B:p,v={...v,[_]:{...v[_],...V}},L&&m<=50&&(m++,typeof L=="object"&&(L.placement&&(h=L.placement),L.rects&&(c=L.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):L.rects),{x:d,y:p}=ha(c,h,l)),g=-1)}return{x:d,y:p,placement:h,strategy:o,middlewareData:v}};function Un(e,t){return typeof e=="function"?e(t):e}function kc(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function xr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Tc(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:h=!1,padding:v=0}=Un(t,e),m=kc(v),g=a[h?p==="floating"?"reference":"floating":p],_=xr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),S=p==="floating"?{...s.floating,x:r,y:o}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),B=await(i.isElement==null?void 0:i.isElement(O))&&await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1},V=xr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:S,offsetParent:O,strategy:l}):S);return{top:(_.top-V.top+m.top)/B.y,bottom:(V.bottom-_.bottom+m.bottom)/B.y,left:(_.left-V.left+m.left)/B.x,right:(V.right-_.right+m.right)/B.x}}const Mo=Math.min,Ly=Math.max;function Ro(e,t,n){return Ly(e,Mo(t,n))}const My=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a}=t,{element:l,padding:c=0}=Un(e,t)||{};if(l==null)return{};const d=kc(c),p={x:n,y:r},h=Vn(o),v=_i(h),m=await s.getDimensions(l),g=h==="y",_=g?"top":"left",S=g?"bottom":"right",O=g?"clientHeight":"clientWidth",B=i.reference[v]+i.reference[h]-p[h]-i.floating[v],V=p[h]-i.reference[h],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let z=L?L[O]:0;z&&await(s.isElement==null?void 0:s.isElement(L))||(z=a.floating[O]||i.floating[v]);const G=B/2-V/2,oe=z/2-m[v]/2-1,ae=Mo(d[_],oe),de=Mo(d[S],oe),K=ae,Y=z-m[v]-de,J=z/2-m[v]/2+G,P=Ro(K,J,Y),E=Bn(o)!=null&&J!=P&&i.reference[v]/2-(J<K?ae:de)-m[v]/2<0?J<K?K-J:Y-J:0;return{[h]:p[h]-E,data:{[h]:P,centerOffset:J-P+E}}}}),Ry=["top","right","bottom","left"];Ry.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]);const Ny={left:"right",right:"left",bottom:"top",top:"bottom"};function Ar(e){return e.replace(/left|right|bottom|top/g,t=>Ny[t])}function jy(e,t,n){n===void 0&&(n=!1);const r=Bn(e),o=Vn(e),i=_i(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ar(s)),{main:s,cross:Ar(s)}}const By={start:"end",end:"start"};function co(e){return e.replace(/start|end/g,t=>By[t])}const Ic=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:i,initialPlacement:s,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...g}=Un(e,t),_=mt(r),S=mt(s)===s,O=await(a.isRTL==null?void 0:a.isRTL(l.floating)),B=p||(S||!m?[Ar(s)]:function(K){const Y=Ar(K);return[co(K),Y,co(Y)]}(s));p||v==="none"||B.push(...function(K,Y,J,P){const E=Bn(K);let X=function(ve,be,Xr){const M=["left","right"],$=["right","left"],I=["top","bottom"],W=["bottom","top"];switch(ve){case"top":case"bottom":return Xr?be?$:M:be?M:$;case"left":case"right":return be?I:W;default:return[]}}(mt(K),J==="start",P);return E&&(X=X.map(ve=>ve+"-"+E),Y&&(X=X.concat(X.map(co)))),X}(s,m,v,O));const V=[s,...B],L=await Tc(t,g),z=[];let G=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&z.push(L[_]),d){const{main:K,cross:Y}=jy(r,i,O);z.push(L[K],L[Y])}if(G=[...G,{placement:r,overflows:z}],!z.every(K=>K<=0)){var oe,ae;const K=(((oe=o.flip)==null?void 0:oe.index)||0)+1,Y=V[K];if(Y)return{data:{index:K,overflows:G},reset:{placement:Y}};let J=(ae=G.filter(P=>P.overflows[0]<=0).sort((P,E)=>P.overflows[1]-E.overflows[1])[0])==null?void 0:ae.placement;if(!J)switch(h){case"bestFit":{var de;const P=(de=G.map(E=>[E.placement,E.overflows.filter(X=>X>0).reduce((X,ve)=>X+ve,0)]).sort((E,X)=>E[1]-X[1])[0])==null?void 0:de[0];P&&(J=P);break}case"initialPlacement":J=s}if(r!==J)return{reset:{placement:J}}}return{}}}},Dc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await async function(i,s){const{placement:a,platform:l,elements:c}=i,d=await(l.isRTL==null?void 0:l.isRTL(c.floating)),p=mt(a),h=Bn(a),v=Vn(a)==="x",m=["left","top"].includes(p)?-1:1,g=d&&v?-1:1,_=Un(s,i);let{mainAxis:S,crossAxis:O,alignmentAxis:B}=typeof _=="number"?{mainAxis:_,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,..._};return h&&typeof B=="number"&&(O=h==="end"?-1*B:B),v?{x:O*g,y:S*m}:{x:S*m,y:O*g}}(t,e);return{x:n+o.x,y:r+o.y,data:o}}}};function Vy(e){return e==="x"?"y":"x"}const Lc=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:_=>{let{x:S,y:O}=_;return{x:S,y:O}}},...l}=Un(e,t),c={x:n,y:r},d=await Tc(t,l),p=Vn(mt(o)),h=Vy(p);let v=c[p],m=c[h];if(i){const _=p==="y"?"bottom":"right";v=Ro(v+d[p==="y"?"top":"left"],v,v-d[_])}if(s){const _=h==="y"?"bottom":"right";m=Ro(m+d[h==="y"?"top":"left"],m,m-d[_])}const g=a.fn({...t,[p]:v,[h]:m});return{...g,data:{x:g.x-n,y:g.y-r}}}}};function _e(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Se(e){return _e(e).getComputedStyle(e)}function Mc(e){return e instanceof _e(e).Node}function tt(e){return Mc(e)?(e.nodeName||"").toLowerCase():"#document"}function Ae(e){return e instanceof _e(e).HTMLElement}function Fe(e){return e instanceof _e(e).Element}function fa(e){return typeof ShadowRoot!="undefined"&&(e instanceof _e(e).ShadowRoot||e instanceof ShadowRoot)}function yn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Se(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Uy(e){return["table","td","th"].includes(tt(e))}function No(e){const t=yi(),n=Se(e);return n.transform!=="none"||n.perspective!=="none"||!t&&!!n.backdropFilter&&n.backdropFilter!=="none"||!t&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function yi(){return!(typeof CSS=="undefined"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Wr(e){return["html","body","#document"].includes(tt(e))}const jo=Math.min,jt=Math.max,Or=Math.round,Wn=Math.floor,St=e=>({x:e,y:e});function Rc(e){const t=Se(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ae(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Or(n)!==i||Or(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function wi(e){return Fe(e)?e:e.contextElement}function Bt(e){const t=wi(e);if(!Ae(t))return St(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Rc(t);let s=(i?Or(n.width):n.width)/r,a=(i?Or(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const va=St(0);function Nc(e,t,n){var r,o;if(t===void 0&&(t=!0),!yi())return va;const i=e?_e(e):window;return!n||t&&n!==i?va:{x:((r=i.visualViewport)==null?void 0:r.offsetLeft)||0,y:((o=i.visualViewport)==null?void 0:o.offsetTop)||0}}function xt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=wi(e);let s=St(1);t&&(r?Fe(r)&&(s=Bt(r)):s=Bt(e));const a=Nc(i,n,r);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,d=o.width/s.x,p=o.height/s.y;if(i){const h=_e(i),v=r&&Fe(r)?_e(r):r;let m=h.frameElement;for(;m&&r&&v!==h;){const g=Bt(m),_=m.getBoundingClientRect(),S=getComputedStyle(m),O=_.left+(m.clientLeft+parseFloat(S.paddingLeft))*g.x,B=_.top+(m.clientTop+parseFloat(S.paddingTop))*g.y;l*=g.x,c*=g.y,d*=g.x,p*=g.y,l+=O,c+=B,m=_e(m).frameElement}}return xr({width:d,height:p,x:l,y:c})}function ze(e){return((Mc(e)?e.ownerDocument:e.document)||window.document).documentElement}function Zr(e){return Fe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function jc(e){return xt(ze(e)).left+Zr(e).scrollLeft}function qt(e){if(tt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fa(e)&&e.host||ze(e);return fa(t)?t.host:t}function Bc(e){const t=qt(e);return Wr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ae(t)&&yn(t)?t:Bc(t)}function Pr(e,t){var n;t===void 0&&(t=[]);const r=Bc(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=_e(r);return o?t.concat(i,i.visualViewport||[],yn(r)?r:[]):t.concat(r,Pr(r))}function ba(e,t,n){let r;if(t==="viewport")r=function(o,i){const s=_e(o),a=ze(o),l=s.visualViewport;let c=a.clientWidth,d=a.clientHeight,p=0,h=0;if(l){c=l.width,d=l.height;const v=yi();(!v||v&&i==="fixed")&&(p=l.offsetLeft,h=l.offsetTop)}return{width:c,height:d,x:p,y:h}}(e,n);else if(t==="document")r=function(o){const i=ze(o),s=Zr(o),a=o.ownerDocument.body,l=jt(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),c=jt(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let d=-s.scrollLeft+jc(o);const p=-s.scrollTop;return Se(a).direction==="rtl"&&(d+=jt(i.clientWidth,a.clientWidth)-l),{width:l,height:c,x:d,y:p}}(ze(e));else if(Fe(t))r=function(o,i){const s=xt(o,!0,i==="fixed"),a=s.top+o.clientTop,l=s.left+o.clientLeft,c=Ae(o)?Bt(o):St(1);return{width:o.clientWidth*c.x,height:o.clientHeight*c.y,x:l*c.x,y:a*c.y}}(t,n);else{const o=Nc(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return xr(r)}function Vc(e,t){const n=qt(e);return!(n===t||!Fe(n)||Wr(n))&&(Se(n).position==="fixed"||Vc(n,t))}function ga(e,t){return Ae(e)&&Se(e).position!=="fixed"?t?t(e):e.offsetParent:null}function ma(e,t){const n=_e(e);if(!Ae(e))return n;let r=ga(e,t);for(;r&&Uy(r)&&Se(r).position==="static";)r=ga(r,t);return r&&(tt(r)==="html"||tt(r)==="body"&&Se(r).position==="static"&&!No(r))?n:r||function(o){let i=qt(o);for(;Ae(i)&&!Wr(i);){if(No(i))return i;i=qt(i)}return null}(e)||n}function Hy(e,t,n){const r=Ae(t),o=ze(t),i=n==="fixed",s=xt(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=St(0);if(r||!r&&!i)if((tt(t)!=="body"||yn(o))&&(a=Zr(t)),Ae(t)){const c=xt(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=jc(o));return{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}const Fy={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,d){const p=d.get(c);if(p)return p;let h=Pr(c).filter(_=>Fe(_)&&tt(_)!=="body"),v=null;const m=Se(c).position==="fixed";let g=m?qt(c):c;for(;Fe(g)&&!Wr(g);){const _=Se(g),S=No(g);S||_.position!=="fixed"||(v=null),(m?!S&&!v:!S&&_.position==="static"&&v&&["absolute","fixed"].includes(v.position)||yn(g)&&!S&&Vc(c,g))?h=h.filter(O=>O!==g):v=_,g=qt(g)}return d.set(c,h),h}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce((c,d)=>{const p=ba(t,d,o);return c.top=jt(p.top,c.top),c.right=jo(p.right,c.right),c.bottom=jo(p.bottom,c.bottom),c.left=jt(p.left,c.left),c},ba(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=Ae(n),i=ze(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a=St(1);const l=St(0);if((o||!o&&r!=="fixed")&&((tt(n)!=="body"||yn(i))&&(s=Zr(n)),Ae(n))){const c=xt(n);a=Bt(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:Fe,getDimensions:function(e){return Rc(e)},getOffsetParent:ma,getDocumentElement:ze,getScale:Bt,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||ma,i=this.getDimensions;return{reference:Hy(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Se(e).direction==="rtl"};function Uc(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=!0,layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,c=wi(e),d=o||i?[...c?Pr(c):[],...Pr(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const p=c&&a?function(g,_){let S,O=null;const B=ze(g);function V(){clearTimeout(S),O&&O.disconnect(),O=null}return function L(z,G){z===void 0&&(z=!1),G===void 0&&(G=1),V();const{left:oe,top:ae,width:de,height:K}=g.getBoundingClientRect();if(z||_(),!de||!K)return;const Y=Wn(ae),J=Wn(B.clientWidth-(oe+de)),P=Wn(B.clientHeight-(ae+K)),E=Wn(oe);let X=!0;O=new IntersectionObserver(ve=>{const be=ve[0].intersectionRatio;if(be!==G){if(!X)return L();be?L(!1,be):S=setTimeout(()=>{L(!1,1e-7)},100)}X=!1},{rootMargin:-Y+"px "+-J+"px "+-P+"px "+-E+"px",threshold:jt(0,jo(1,G))||1}),O.observe(g)}(!0),V}(c,n):null;let h,v=null;s&&(v=new ResizeObserver(n),c&&!l&&v.observe(c),v.observe(t));let m=l?xt(e):null;return l&&function g(){const _=xt(e);!m||_.x===m.x&&_.y===m.y&&_.width===m.width&&_.height===m.height||n(),m=_,h=requestAnimationFrame(g)}(),n(),()=>{d.forEach(g=>{o&&g.removeEventListener("scroll",n),i&&g.removeEventListener("resize",n)}),p&&p(),v&&v.disconnect(),v=null,l&&cancelAnimationFrame(h)}}const Hc=(e,t,n)=>{const r=new Map,o={platform:Fy,...n},i={...o.platform,_c:r};return Dy(e,t,{...o,platform:i})};class Te extends Ur{}Te.TENABLE_POPOVER_ANCHOR_CLICKED="tenable-popover-anchor-clicked";Te.TENABLE_POPOVER_DIALOG_CLICKED="tenable-popover-dialog-clicked";const zy=k`
|
|
2910
|
+
:host {
|
|
2911
|
+
position: relative;
|
|
2912
|
+
}
|
|
2913
|
+
|
|
2914
|
+
.tenable-popover__anchor {
|
|
2915
|
+
display: inline-block;
|
|
2916
|
+
position: relative;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
.tenable-popover__dialog {
|
|
2920
|
+
background-color: var(--tenb-colors-background-component);
|
|
2921
|
+
border-radius: 6px;
|
|
2922
|
+
color: var(--tenb-colors-text-body);
|
|
2923
|
+
left: 0;
|
|
2924
|
+
isolation: isolate;
|
|
2925
|
+
position: absolute;
|
|
2926
|
+
top: 0;
|
|
2927
|
+
z-index: var(--tenb-zIndices-popover);
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
.tenable-popover__dialog.fixed {
|
|
2931
|
+
position: fixed;
|
|
2932
|
+
}
|
|
2933
|
+
|
|
2934
|
+
.tenable-popover__dialog:not(.open) {
|
|
2935
|
+
display: none;
|
|
2936
|
+
}
|
|
2937
|
+
`;var Gy=Object.defineProperty,Ky=Object.getOwnPropertyDescriptor,ut=(e,t,n,r)=>{for(var o=r>1?void 0:r?Ky(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Gy(t,n,o),o};let Ne=class extends x{constructor(){super(...arguments),this.anchorId="",this.dialogId="",this.anchorSelector="",this.disabled=!1,this.hasPopup="menu",this.isFixed=!1,this.isOpen=!1,this.label="",this.placement="bottom-end"}get anchor(){let e=this.querySelector('[slot="anchor"]');if(e instanceof HTMLSlotElement&&(e=e.assignedElements({flatten:!0})[0]),this.anchorSelector){let t=e==null?void 0:e.querySelector(this.anchorSelector);return!t&&(e!=null&&e.shadowRoot)&&(t=e.shadowRoot.querySelector(this.anchorSelector)),t!=null?t:null}return e}get dialog(){var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".tenable-popover__dialog")}async connectedCallback(){super.connectedCallback(),this.anchorId=`${this.id}-anchor`,this.dialogId=`${this.id}-dialog`}disconnectedCallback(){super.disconnectedCallback(),this._stopPositioner()}async updated(e){super.updated(e),e.has("isOpen")&&(this.isOpen?this._startPositioner():this._stopPositioner()),this.isOpen&&(await this.updateComplete,this._reposition())}openPopover(){this.isOpen=!0}closePopover(){this.isOpen=!1}render(){return f`
|
|
2938
|
+
<div
|
|
2939
|
+
aria-controls=${this.dialogId}
|
|
2940
|
+
aria-expanded=${this.isOpen}
|
|
2941
|
+
aria-haspopup=${!!this.hasPopup}
|
|
2942
|
+
aria-label=${this.label}
|
|
2943
|
+
class="tenb-popover__anchor"
|
|
2944
|
+
@click=${this._handleAnchorClicked}
|
|
2945
|
+
id=${this.anchorId}
|
|
2946
|
+
part="anchor"
|
|
2947
|
+
role="button"
|
|
2948
|
+
>
|
|
2949
|
+
<slot name="anchor" @slotchange=${this._onSlotChange}></slot>
|
|
2950
|
+
</div>
|
|
2951
|
+
<div
|
|
2952
|
+
aria-labeledby=${this.anchorId}
|
|
2953
|
+
class=${C({"tenable-popover__dialog":!0,fixed:this.isFixed,open:this.isOpen})}
|
|
2954
|
+
@click=${this._handleDialogClicked}
|
|
2955
|
+
id=${this.dialogId}
|
|
2956
|
+
part="dialog"
|
|
2957
|
+
role="dialog"
|
|
2958
|
+
>
|
|
2959
|
+
<slot></slot>
|
|
2960
|
+
</div>
|
|
2961
|
+
`}_startPositioner(){this.anchor&&(this._cleanup=Uc(this.anchor,this.dialog,()=>this._reposition(),{elementResize:!1}))}async _stopPositioner(){return new Promise(e=>{this._cleanup?(this._cleanup(),this._cleanup=void 0,requestAnimationFrame(()=>e())):e()})}_reposition(){!this.isOpen||!this.anchor||!this.dialog||Hc(this.anchor,this.dialog,{placement:this.placement,middleware:[Ic({fallbackStrategy:"initialPlacement"}),Dc(5),Lc()],strategy:this.isFixed?"fixed":"absolute"}).then(({x:e,y:t})=>{this.dialog.style.left=`${e}px`,this.dialog.style.top=`${t}px`})}_onSlotChange(){this._startPositioner()}_handleAnchorClicked(e){if(this.anchorSelector&&!e.composedPath().some(o=>{var i;return(i=o.matches)==null?void 0:i.call(o,this.anchorSelector)})||(e.preventDefault(),e.stopPropagation(),this.disabled))return;const t={detail:{isOpen:!this.isOpen,popoverId:this.id,nativeEvent:e}},n=new Te(Te.TENABLE_POPOVER_ANCHOR_CLICKED,t);this.dispatchEvent(n)}_handleDialogClicked(e){if(e.composedPath().some(o=>"tagName"in o?o.tagName.toLowerCase()==="a":!1)||e.preventDefault(),this.disabled)return;const n={detail:{isOpen:!this.isOpen,popoverId:this.id,nativeEvent:e}},r=new Te(Te.TENABLE_POPOVER_DIALOG_CLICKED,n);this.dispatchEvent(r)}};Ne.styles=[zy];ut([b({attribute:"anchor-selector"})],Ne.prototype,"anchorSelector",2);ut([b({reflect:!0,type:Boolean})],Ne.prototype,"disabled",2);ut([b({attribute:"has-popup",reflect:!0})],Ne.prototype,"hasPopup",2);ut([b({type:Boolean,attribute:"is-fixed",reflect:!0})],Ne.prototype,"isFixed",2);ut([b({type:Boolean,attribute:"is-open",reflect:!0})],Ne.prototype,"isOpen",2);ut([b()],Ne.prototype,"label",2);ut([b()],Ne.prototype,"placement",2);Ne=ut([w("tenable-popover")],Ne);const qy=k`
|
|
2962
|
+
#quick-actions-menu-button::part(label) {
|
|
2963
|
+
color: var(--tenb-colors-text-brand);
|
|
2964
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
2965
|
+
font-size: var(--tenb-fontSizes-16);
|
|
2966
|
+
font-weight: 500;
|
|
2967
|
+
}
|
|
2968
|
+
`;var Wy=Object.defineProperty,Zy=Object.getOwnPropertyDescriptor,$i=(e,t,n,r)=>{for(var o=r>1?void 0:r?Zy(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Wy(t,n,o),o};const Jy="universal-header-quick-actions",Xy=`${We()}`,Fc=`${Jy}-${Xy}`;let wn=class extends x{constructor(){super(...arguments),this._actionController=new en(this),this.label="Actions",this.onPopoverTriggerClicked=()=>{this._actionController.onPopoverTriggerClicked(this,this.popover)}}render(){var n;const{language:e}=this.__getStores().storeLayout,t=this.__translator(e)("Header")("QuickActions");return f`
|
|
2969
|
+
<tenable-popover
|
|
2970
|
+
part="base"
|
|
2971
|
+
id="${Fc}"
|
|
2972
|
+
label="Quick Actions Menu"
|
|
2973
|
+
?is-open=${this._actionController.isMenuOpen}
|
|
2974
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
2975
|
+
>
|
|
2976
|
+
<tenable-secondary-button
|
|
2977
|
+
id="quick-actions-menu-button"
|
|
2978
|
+
part="action-trigger-button"
|
|
2979
|
+
?selected=${this._actionController.isMenuOpen}
|
|
2980
|
+
.allowSelectedClick=${!0}
|
|
2981
|
+
aria-haspopup="true"
|
|
2982
|
+
slot="anchor"
|
|
2983
|
+
>
|
|
2984
|
+
${(n=t(this.label))!=null?n:this.label}
|
|
2985
|
+
|
|
2986
|
+
<tenable-star color="accent-idle" slot="icon-left"> </tenable-star>
|
|
2987
|
+
<tenable-chevron-down slot="icon-right"> </tenable-chevron-down>
|
|
2988
|
+
</tenable-secondary-button>
|
|
2989
|
+
<slot></slot>
|
|
2990
|
+
</tenable-popover>
|
|
2991
|
+
`}};wn.styles=[qy];$i([Zt(`#${Fc}`)],wn.prototype,"popover",2);$i([b()],wn.prototype,"label",2);wn=$i([w("tenable-universal-header-quick-actions")],wn);var Qy=Object.defineProperty,Yy=Object.getOwnPropertyDescriptor,Ci=(e,t,n,r)=>{for(var o=r>1?void 0:r?Yy(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Qy(t,n,o),o};let Er=class extends x{constructor(){super(...arguments),this.menuItems=[],this.selectedMenuItem="",this.render=()=>f`
|
|
2992
|
+
<tenable-universal-header-action-panel .header=${!1}>
|
|
2993
|
+
<tenable-universal-header-action-panel-body standalone>
|
|
2994
|
+
<div id="quick-actions-view">
|
|
2995
|
+
${this.menuItems&&et(this.menuItems,e=>e.name,e=>{var t;return f`
|
|
2996
|
+
<tenable-navigation-menu-item
|
|
2997
|
+
part="panel-menu-item"
|
|
2998
|
+
id=${"universal-quick-actions-menu-item"+e.id}
|
|
2999
|
+
.item=${e}
|
|
3000
|
+
item-id=${e.id}
|
|
3001
|
+
?selected=${this.selectedMenuItem===e.id}
|
|
3002
|
+
url=${te(e.url)}
|
|
3003
|
+
label=${e.name}
|
|
3004
|
+
host=${u.GlobalHeaderPanels.QuickActions}
|
|
3005
|
+
?newTab=${((t=e.url)==null?void 0:t.startsWith("http"))===!0}
|
|
3006
|
+
>
|
|
3007
|
+
${Me(e.icon)}
|
|
3008
|
+
</tenable-navigation-menu-item>
|
|
3009
|
+
`})}
|
|
3010
|
+
</div>
|
|
3011
|
+
</tenable-universal-header-action-panel-body>
|
|
3012
|
+
</tenable-universal-header-action-panel>
|
|
3013
|
+
`}};Ci([b({type:Array})],Er.prototype,"menuItems",2);Ci([b({attribute:"selected-menu-item",reflect:!0,type:String})],Er.prototype,"selectedMenuItem",2);Er=Ci([w("tenable-universal-header-quick-actions-panel")],Er);var ew=Object.defineProperty,tw=Object.getOwnPropertyDescriptor,zc=(e,t,n,r)=>{for(var o=r>1?void 0:r?tw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&ew(t,n,o),o};const nw="universal-header-settings-action",rw=`${We()}`,Gc=`${nw}-${rw}`;let Bo=class extends x{constructor(){super(...arguments),this._actionController=new en(this),this.onPopoverTriggerClicked=e=>{var t;if(((t=e.payload.detail)==null?void 0:t.popoverId)===this.popover.id){const{storeRoot:n}=this.__getStores();if(n.isInSass){let r=u.LocalStorageSelectedApplication.settings;switch(n.appId){case u.LocalStorageSelectedApplication.tio:r=u.LocalStorageSelectedApplication.tenable_io;break;case u.LocalStorageSelectedApplication.pci:r=u.LocalStorageSelectedApplication.pci;break;case u.LocalStorageSelectedApplication.lumin:r=u.LocalStorageSelectedApplication.lumin;break;default:r=u.LocalStorageSelectedApplication.settings;break}n.redirectToClickedApp("/tio/app.html#/settings",r)}else this._actionController.onPopoverTriggerClicked(this,this.popover)}}}render(){return f`
|
|
3014
|
+
<tenable-popover
|
|
3015
|
+
part="base"
|
|
3016
|
+
id="${Gc}"
|
|
3017
|
+
label="Settings Menu"
|
|
3018
|
+
?is-open=${this._actionController.isMenuOpen}
|
|
3019
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
3020
|
+
>
|
|
3021
|
+
<tenable-floating-button
|
|
3022
|
+
?selected=${this._actionController.isMenuOpen}
|
|
3023
|
+
.allowSelectedClick=${!0}
|
|
3024
|
+
id="settings-menu-button"
|
|
3025
|
+
slot="anchor"
|
|
3026
|
+
part="trigger"
|
|
3027
|
+
aria-label="Settings"
|
|
3028
|
+
aria-haspopup="true"
|
|
3029
|
+
>
|
|
3030
|
+
<tenable-settings-app
|
|
3031
|
+
color="brand"
|
|
3032
|
+
size="medium"
|
|
3033
|
+
></tenable-settings-app>
|
|
3034
|
+
</tenable-floating-button>
|
|
3035
|
+
<slot></slot>
|
|
3036
|
+
</tenable-popover>
|
|
3037
|
+
`}};zc([Zt(`#${Gc}`)],Bo.prototype,"popover",2);Bo=zc([w("tenable-universal-header-settings-action")],Bo);class Kc{constructor(t,n={}){this.popoverList=null;const{anchorCallback:r,closeOnAnchorClicked:o=!0,closeOnDialogClicked:i=!0,hasMultiplePopovers:s=!1,dialogCallback:a}=n;this.host=t,this.closeOnAnchorClicked=o,this.closeOnDialogClicked=i,this.hasMultiplePopovers=s,this.popoverAnchorClickedCallback=r==null?void 0:r.bind(t),this.popoverDialogClickedCallback=a==null?void 0:a.bind(t),this.prevPopoverOpen=t.popoverOpen,this.host.addController(this)}hostConnected(){this.handleDocumentEvent=this.handleDocumentEvent.bind(this),this.handlePopoverAnchorClicked=this.handlePopoverAnchorClicked.bind(this),this.handlePopoverDialogClicked=this.handlePopoverDialogClicked.bind(this),this.host.addEventListener(Te.TENABLE_POPOVER_ANCHOR_CLICKED,t=>this.handlePopoverAnchorClicked(t)),this.host.addEventListener(Te.TENABLE_POPOVER_DIALOG_CLICKED,t=>this.handlePopoverDialogClicked(t))}hostDisconnected(){this.host.removeEventListener(Te.TENABLE_POPOVER_ANCHOR_CLICKED,t=>this.handlePopoverAnchorClicked(t)),this.host.removeEventListener(Te.TENABLE_POPOVER_DIALOG_CLICKED,t=>this.handlePopoverDialogClicked(t)),this.removeOpenListeners()}hostUpdated(){this.host.popoverOpen!==this.prevPopoverOpen&&(this.host.popoverOpen?this.addOpenListeners():this.removeOpenListeners(),this.prevPopoverOpen=this.host.popoverOpen)}setCloseOnAnchorClicked(t){this.closeOnAnchorClicked=t}setCloseOnDialogClicked(t){this.closeOnDialogClicked=t}addOpenListeners(){var n;document.addEventListener("mousedown",this.handleDocumentEvent),document.addEventListener("keydown",this.handleDocumentEvent);const t=((n=this.host)==null?void 0:n.shadowRoot)&&this.host.shadowRoot.querySelectorAll("tenable-popover");t&&(this.popoverList=Array.from(t))}removeOpenListeners(){document.removeEventListener("mousedown",this.handleDocumentEvent),document.removeEventListener("keydown",this.handleDocumentEvent),this.popoverList=null}handleDocumentEvent(t){t.composedPath().some(r=>{var o;return(o=this.popoverList)==null?void 0:o.includes(r)})||(this.host.popoverOpen=this.hasMultiplePopovers?null:!1,this.removeOpenListeners())}handlePopoverAnchorClicked(t){var s;const{popoverId:n,isOpen:r}=t.payload.detail,o=this.hasMultiplePopovers?n:!!n,i=this.hasMultiplePopovers?null:!1;if(!r&&!this.closeOnAnchorClicked)return!0;this.host.popoverOpen=r?o:i,(s=this.popoverAnchorClickedCallback)==null||s.call(this,t)}handlePopoverDialogClicked(t){var n;this.closeOnDialogClicked&&(this.host.popoverOpen=this.hasMultiplePopovers?null:!1,(n=this.popoverDialogClickedCallback)==null||n.call(this,t))}}const ow=k`
|
|
3038
|
+
.tenable-universal-header-settings-panel-divider {
|
|
3039
|
+
height: 1px;
|
|
3040
|
+
background-color: var(--tenb-colors-border-interactive);
|
|
3041
|
+
border: none;
|
|
3042
|
+
margin: 0;
|
|
3043
|
+
}
|
|
3044
|
+
|
|
3045
|
+
tenable-universal-header-action-panel::part(base) {
|
|
3046
|
+
width: 350px;
|
|
3047
|
+
}
|
|
3048
|
+
`;var iw=Object.defineProperty,sw=Object.getOwnPropertyDescriptor,tn=(e,t,n,r)=>{for(var o=r>1?void 0:r?sw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&iw(t,n,o),o};let nt=class extends x{constructor(){super(...arguments),this.menuItems=[],this.appSpecificItems=[],this.panelTitle="Settings",this.selectedMenuItem="",this.popoverOpen=null,this.popoverStateController=null,this.platformSettingsLabel="Platform Settings & Information",this.appSettingsLabel="App Settings",this.handleKeyDown=e=>{e.code==="Escape"&&(e.preventDefault(),this.popoverOpen=null)},this.queryMenuItemElements=e=>{var t;return(t=this.shadowRoot)!=null&&t.children.length?Array.from(this.shadowRoot.children[0].querySelectorAll(e)):[]},this.renderMenuItemNoSubmenu=e=>{var i,s,a;const n=`universal-settings-menu-item-${((i=e==null?void 0:e.id)==null?void 0:i.toLowerCase())||"unknown"}`,{language:r}=this.__getStores().storeLayout,o=this.__translator(r)("Header")("PanelSettings");return f`
|
|
3049
|
+
<tenable-navigation-menu-item
|
|
3050
|
+
id=${n}
|
|
3051
|
+
part="panel-menu-item"
|
|
3052
|
+
item-id=${e.id}
|
|
3053
|
+
host=${u.GlobalHeaderPanels.Settings}
|
|
3054
|
+
url=${te(e.url)}
|
|
3055
|
+
label=${(s=o(e.name))!=null?s:e.name}
|
|
3056
|
+
?selected=${this.selectedMenuItem===e.id}
|
|
3057
|
+
.item=${e}
|
|
3058
|
+
?newTab=${((a=e.url)==null?void 0:a.startsWith("http"))===!0}
|
|
3059
|
+
>
|
|
3060
|
+
${Me(e.icon)}
|
|
3061
|
+
</tenable-navigation-menu-item>
|
|
3062
|
+
`},this.renderMenuItemWithSubmenu=e=>{var i,s,a,l;const n=`universal-settings-menu-item-${((i=e==null?void 0:e.id)==null?void 0:i.toLowerCase())||"unknown"}`,{language:r}=this.__getStores().storeLayout,o=this.__translator(r)("Header")("PanelSettings");return f`
|
|
3063
|
+
<tenable-popover
|
|
3064
|
+
id="${n}"
|
|
3065
|
+
label=${(s=o(e.name))!=null?s:e.name}
|
|
3066
|
+
is-fixed
|
|
3067
|
+
placement="right-start"
|
|
3068
|
+
?is-open=${this.popoverOpen===n}
|
|
3069
|
+
>
|
|
3070
|
+
<tenable-navigation-menu-item
|
|
3071
|
+
id="universal-navigation-menu-item-for-${u.GlobalHeaderPanels.Settings}-${e.id||"unknown"}"
|
|
3072
|
+
item-id=${e.id}
|
|
3073
|
+
.item=${e}
|
|
3074
|
+
host=${u.GlobalHeaderPanels.Settings}
|
|
3075
|
+
?selected=${this.selectedMenuItem===e.id}
|
|
3076
|
+
?opened=${this.popoverOpen===n}
|
|
3077
|
+
.hasChildren=${Number((a=e.menuItems)==null?void 0:a.length)>0}
|
|
3078
|
+
slot="anchor"
|
|
3079
|
+
label=${(l=o(e.name))!=null?l:e.name}
|
|
3080
|
+
>
|
|
3081
|
+
${Me(e.icon)}
|
|
3082
|
+
</tenable-navigation-menu-item>
|
|
3083
|
+
<tenable-universal-navigation-menu-submenu
|
|
3084
|
+
.menuItems=${u.D(e.menuItems)}
|
|
3085
|
+
item-id=${e.id}
|
|
3086
|
+
host=${u.GlobalHeaderPanels.Settings}
|
|
3087
|
+
>
|
|
3088
|
+
</tenable-universal-navigation-menu-submenu>
|
|
3089
|
+
</tenable-popover>
|
|
3090
|
+
`},this.renderMenuItem=e=>{var t;return(t=e.menuItems)!=null&&t.length?this.renderMenuItemWithSubmenu(e):this.renderMenuItemNoSubmenu(e)}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.handleKeyDown),this.popoverStateController=new Kc(this,{hasMultiplePopovers:!0})}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this.handleKeyDown)}render(){var l,c,d,p,h;const{storeRoot:e}=this.__getStores(),t=((l=e.stores.storeAuthentication.session)==null?void 0:l.hasAccessToPlatformSettings)&&Number((c=this.menuItems)==null?void 0:c.length)>0,n=Number((d=this.appSpecificItems)==null?void 0:d.length)>0,r=t&&n,o=t===!1&&n===!1,{language:i}=this.__getStores().storeLayout,s=this.__translator(i)("Header")("PanelSettings");if(o)return"";const a=(p=this.menuItems)==null?void 0:p.filter(v=>!v.rbac||!e.stores.storeAuthentication.session?!1:v.rbac(e.stores.storeAuthentication.session));return f`
|
|
3091
|
+
<tenable-universal-header-action-panel part="base">
|
|
3092
|
+
<tenable-universal-header-action-panel-header part="panel-header">
|
|
3093
|
+
<tenable-heading3 part="panel-header-title"
|
|
3094
|
+
>${(h=s(this.panelTitle))!=null?h:this.panelTitle}</tenable-heading3
|
|
3095
|
+
>
|
|
3096
|
+
</tenable-universal-header-action-panel-header>
|
|
3097
|
+
<tenable-universal-header-action-panel-body part="panel-body">
|
|
3098
|
+
${t?f`
|
|
3099
|
+
${a&&et(a,v=>v.name,v=>this.renderMenuItem(v))}
|
|
3100
|
+
`:""}
|
|
3101
|
+
${r?f`
|
|
3102
|
+
<hr class="tenable-universal-header-settings-panel-divider" />
|
|
3103
|
+
`:""}
|
|
3104
|
+
${n?f`
|
|
3105
|
+
${this.appSpecificItems&&et(this.appSpecificItems,v=>v.name,v=>this.renderMenuItem(v))}
|
|
3106
|
+
`:""}
|
|
3107
|
+
</tenable-universal-header-action-panel-body>
|
|
3108
|
+
</tenable-universal-header-action-panel>
|
|
3109
|
+
`}};nt.styles=[ow];tn([b({type:Array})],nt.prototype,"menuItems",2);tn([b({type:Array})],nt.prototype,"appSpecificItems",2);tn([b({type:String})],nt.prototype,"panelTitle",2);tn([b({attribute:"selected-menu-item",reflect:!0,type:String})],nt.prototype,"selectedMenuItem",2);tn([ot()],nt.prototype,"popoverOpen",2);nt=tn([w("tenable-universal-header-settings-panel")],nt);class Vo extends Ur{}Vo.TOGGLE_SWITCH_CHANGED="tenable-universal-header-toggle-switch-change";const aw=k`
|
|
3110
|
+
:host {
|
|
3111
|
+
display: inline-block;
|
|
3112
|
+
width: fit-content;
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
.tenable-toggle-switch__root {
|
|
3116
|
+
flex: 1 1 auto;
|
|
3117
|
+
width: 100%;
|
|
3118
|
+
margin-bottom: 8px;
|
|
3119
|
+
margin-right: 8px;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
/* Toggle Slider */
|
|
3123
|
+
|
|
3124
|
+
.tenable-toggle-switch__switch {
|
|
3125
|
+
position: relative;
|
|
3126
|
+
display: inline-block;
|
|
3127
|
+
width: 40px;
|
|
3128
|
+
height: 20px;
|
|
3129
|
+
}
|
|
3130
|
+
|
|
3131
|
+
.tenable-toggle-switch__switch input {
|
|
3132
|
+
opacity: 0;
|
|
3133
|
+
width: 0;
|
|
3134
|
+
height: 0;
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
.tenable-toggle-switch__slider {
|
|
3138
|
+
position: absolute;
|
|
3139
|
+
cursor: pointer;
|
|
3140
|
+
top: 0;
|
|
3141
|
+
left: 0;
|
|
3142
|
+
right: 0;
|
|
3143
|
+
bottom: 0;
|
|
3144
|
+
background-color: var(--tenb-colors-background-toggle-off-idle);
|
|
3145
|
+
-webkit-transition: 0.4s;
|
|
3146
|
+
transition: 0.4s;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
.tenable-toggle-switch__slider:hover {
|
|
3150
|
+
background-color: var(--tenb-colors-background-toggle-off-hover);
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
.tenable-toggle-switch__checkbox:disabled + .tenb-toggle-switch__slider {
|
|
3154
|
+
background-color: var(--tenb-colors-background-toggle-off-disabled);
|
|
3155
|
+
cursor: default;
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
.tenable-toggle-switch__slider:before {
|
|
3159
|
+
position: absolute;
|
|
3160
|
+
content: '';
|
|
3161
|
+
height: 16px;
|
|
3162
|
+
width: 16px;
|
|
3163
|
+
left: 2px;
|
|
3164
|
+
bottom: 2px;
|
|
3165
|
+
background-color: var(--tenb-colors-white);
|
|
3166
|
+
-webkit-transition: 0.4s;
|
|
3167
|
+
transition: 0.4s;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
/* Checkbox */
|
|
3171
|
+
|
|
3172
|
+
.tenable-toggle-switch__checkbox:checked + .tenable-toggle-switch__slider {
|
|
3173
|
+
background-color: var(--tenb-colors-background-toggle-on-idle);
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
.tenable-toggle-switch__checkbox:checked
|
|
3177
|
+
+ .tenable-toggle-switch__slider:hover {
|
|
3178
|
+
background-color: var(--tenb-colors-background-toggle-on-hover);
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3181
|
+
.tenable-toggle-switch__checkbox[disabled]:checked
|
|
3182
|
+
+ .tenable-toggle-switch__slider {
|
|
3183
|
+
background-color: var(--tenb-colors-background-toggle-on-disabled);
|
|
3184
|
+
}
|
|
3185
|
+
|
|
3186
|
+
.tenable-toggle-switch__checkbox:checked
|
|
3187
|
+
+ .tenable-toggle-switch__slider:before {
|
|
3188
|
+
-webkit-transform: translateX(20px);
|
|
3189
|
+
-ms-transform: translateX(20px);
|
|
3190
|
+
transform: translateX(20px);
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
/* Focus (keyboard only) */
|
|
3194
|
+
.tenable-toggle-switch__checkbox:focus-visible
|
|
3195
|
+
+ .tenable-toggle-switch__slider {
|
|
3196
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
3197
|
+
var(--tenb-colors-outline-focus);
|
|
3198
|
+
outline-offset: 2px;
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
/* Rounded sliders */
|
|
3202
|
+
.tenable-toggle-switch__slider.tenable-toggle-switch__slider-round {
|
|
3203
|
+
border-radius: 100px;
|
|
3204
|
+
}
|
|
3205
|
+
|
|
3206
|
+
.tenable-toggle-switch__slider.tenable-toggle-switch__slider-round:before {
|
|
3207
|
+
border-radius: 50%;
|
|
3208
|
+
}
|
|
3209
|
+
`;var lw=Object.defineProperty,cw=Object.getOwnPropertyDescriptor,Jr=(e,t,n,r)=>{for(var o=r>1?void 0:r?cw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&lw(t,n,o),o};let Wt=class extends x{constructor(){super(...arguments),this.id=`${We()}`,this.checked=!1,this.disabled=!1,this.onClickHandler=e=>{var l,c;e.stopImmediatePropagation();const t=!this.checked;this.checked=t;const n={value:t},r={bubbles:!0,cancelable:!0,composed:!0},o=new Vo(Vo.TOGGLE_SWITCH_CHANGED,n,r),{storeRoot:i,storeTelemetry:s}=this.__getStores(),a={eventName:u.TulEvent.onTulEventToggleSwitchClick,detail:{nativeEvent:e,tulApi:i.tulApi,checked:this.checked}};this.__dispatchTulEvent(a),(c=(l=i.environment.config.app.handlers)==null?void 0:l.onTulToggleSwitchClick)==null||c.call(l,{tulEvent:a}),s.trackTelemetry(le.DarkModeClicked),this.dispatchEvent(o)}}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}render(){return f`
|
|
3210
|
+
<div part="base" class="tenable-toggle-switch__root">
|
|
3211
|
+
<label class="tenable-toggle-switch__switch">
|
|
3212
|
+
<input
|
|
3213
|
+
part="input"
|
|
3214
|
+
class="tenable-toggle-switch__checkbox"
|
|
3215
|
+
type="checkbox"
|
|
3216
|
+
id="tenable-toggle-switch-${this.id}"
|
|
3217
|
+
?disabled=${this.disabled}
|
|
3218
|
+
?checked=${this.checked}
|
|
3219
|
+
@click=${this.onClickHandler}
|
|
3220
|
+
/>
|
|
3221
|
+
<span
|
|
3222
|
+
class="tenable-toggle-switch__slider tenable-toggle-switch__slider-round"
|
|
3223
|
+
></span>
|
|
3224
|
+
</label>
|
|
3225
|
+
</div>
|
|
3226
|
+
`}};Wt.styles=[aw];Jr([b()],Wt.prototype,"id",2);Jr([b({type:Boolean,reflect:!0})],Wt.prototype,"checked",2);Jr([b({type:Boolean,reflect:!0})],Wt.prototype,"disabled",2);Wt=Jr([w("tenable-toggle-switch")],Wt);const uw=k`
|
|
3227
|
+
:host {
|
|
3228
|
+
display: contents;
|
|
3229
|
+
}
|
|
3230
|
+
|
|
3231
|
+
.tenable-tooltip-root {
|
|
3232
|
+
display: contents;
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
.tenable-tooltip-overlay {
|
|
3236
|
+
background-color: var(--tenb-colors-background-component);
|
|
3237
|
+
border: 1px solid transparent;
|
|
3238
|
+
border-radius: 3px;
|
|
3239
|
+
color: var(--tenb-colors-text-body);
|
|
3240
|
+
|
|
3241
|
+
display: flex;
|
|
3242
|
+
justify-content: center;
|
|
3243
|
+
align-items: center;
|
|
3244
|
+
min-height: 16px;
|
|
3245
|
+
/* Need a minimum width to prevent arrow mis-alignment for short text length */
|
|
3246
|
+
min-width: 24px;
|
|
3247
|
+
padding: 8px 12px;
|
|
3248
|
+
pointer-events: none;
|
|
3249
|
+
position: absolute;
|
|
3250
|
+
z-index: var(--tenb-zIndices-tooltip);
|
|
3251
|
+
|
|
3252
|
+
filter: drop-shadow(0px 1px 10px var(--tenb-colors-shadow-25));
|
|
3253
|
+
}
|
|
3254
|
+
|
|
3255
|
+
.tenable-tooltip-overlay_fixed {
|
|
3256
|
+
position: fixed;
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3259
|
+
.tenable-tooltip-arrow {
|
|
3260
|
+
background-color: var(--tenb-colors-background-component);
|
|
3261
|
+
border: 1px solid transparent;
|
|
3262
|
+
position: absolute;
|
|
3263
|
+
/* Arrow is created by making a square and rotating so that only one corner is visible */
|
|
3264
|
+
/* The proper positioning of the arrow is set in _computePosition() in tenb-tooltip.ts */
|
|
3265
|
+
transform: rotate(45deg);
|
|
3266
|
+
width: 12px;
|
|
3267
|
+
height: 12px;
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
.tenable-tooltip-arrow_hidden {
|
|
3271
|
+
display: none;
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
[hidden] {
|
|
3275
|
+
display: none !important;
|
|
3276
|
+
}
|
|
3277
|
+
`;var dw=Object.defineProperty,pw=Object.getOwnPropertyDescriptor,Ze=(e,t,n,r)=>{for(var o=r>1?void 0:r?pw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&dw(t,n,o),o};let Oe=class extends x{constructor(){super(...arguments),this.placement="top",this.type="hover",this.fixed=!1,this.offset=0,this.forceHide=!1,this.hideArrow=!1,this.text="",this.hidden=!0,this._getTooltipTrigger=()=>{var n;return((n=this.shadowRoot)==null?void 0:n.querySelector("slot:not([name])")).assignedElements()[0]},this._getTooltipOverlay=()=>{var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".tenable-tooltip-overlay")},this._getTooltipArrow=()=>{var e;return(e=this.shadowRoot)==null?void 0:e.querySelector(".tenable-tooltip-arrow")},this._setArrowPosition=(e,t,n,r)=>{e.style.left=n!=null?`${n}px`:"",e.style.top=r!=null?`${r}px`:"",e.style.right="",e.style.bottom="";const o=this.placement.split("-")[0],i={top:"bottom",right:"left",bottom:"top",left:"right"}[o];i&&(e.style[i]=`${-t/2}px`)},this._computePosition=()=>{const e=this._getTooltipTrigger(),t=this._getTooltipOverlay(),n=this._getTooltipArrow();if(e&&t){const r=n.offsetWidth;let o=Math.sqrt(2*r**2)/2;this.hideArrow&&(o=0);const i=o+this.offset;Hc(e,t,{placement:this.placement,middleware:[Dc(i),Ic({crossAxis:!1}),Lc(),My({element:n,padding:8})]}).then(({middlewareData:s,x:a,y:l})=>{t.style.left=`${a}px`,t.style.top=`${l}px`,s.arrow&&this._setArrowPosition(n,r,s.arrow.x,s.arrow.y)})}},this.showTooltip=()=>{this.forceHide||(this.hidden=!1)},this.hideTooltip=()=>{this.hidden=!0},this.handleClick=()=>{this.type==="click"&&(this.hidden?this.showTooltip():this.hideTooltip())},this.handleMouseOver=()=>{this.type==="hover"&&this.showTooltip()},this.handleMouseOut=()=>{this.type==="hover"&&this.hideTooltip()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClick),this.addEventListener("mouseover",this.handleMouseOver),this.addEventListener("mouseout",this.handleMouseOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClick),this.removeEventListener("mouseover",this.handleMouseOver),this.removeEventListener("mouseout",this.handleMouseOut)}firstUpdated(){Uc(this._getTooltipTrigger(),this._getTooltipOverlay(),this._computePosition)}render(){return f`
|
|
3278
|
+
<div class="tenable-tooltip-root" part="base" role="tooltip">
|
|
3279
|
+
<div
|
|
3280
|
+
class=${C({"tenable-tooltip-overlay":!0,"tenable-tooltip-overlay_fixed":this.fixed})}
|
|
3281
|
+
part="overlay"
|
|
3282
|
+
?hidden=${this.hidden||this.forceHide}
|
|
3283
|
+
>
|
|
3284
|
+
<span
|
|
3285
|
+
part="arrow"
|
|
3286
|
+
class=${C({"tenable-tooltip-arrow":!0,[`tenable-tooltip-arrow_placement-${this.placement}`]:!0,"tenable-tooltip-arrow_hidden":this.hideArrow})}
|
|
3287
|
+
></span>
|
|
3288
|
+
<slot name="text">
|
|
3289
|
+
<!-- prettier-ignore -- Ensure there is no whitespace added inside the <tenable-text> children -->
|
|
3290
|
+
<tenable-text>${this.text}</tenable-text>
|
|
3291
|
+
</slot>
|
|
3292
|
+
</div>
|
|
3293
|
+
<slot></slot>
|
|
3294
|
+
</div>
|
|
3295
|
+
`}};Oe.styles=[uw];Ze([b({reflect:!0})],Oe.prototype,"placement",2);Ze([b({reflect:!0})],Oe.prototype,"type",2);Ze([b({type:Boolean,reflect:!0})],Oe.prototype,"fixed",2);Ze([b({type:Number})],Oe.prototype,"offset",2);Ze([b({attribute:"force-hide",type:Boolean,reflect:!0})],Oe.prototype,"forceHide",2);Ze([b({attribute:"hide-arrow",type:Boolean,reflect:!0})],Oe.prototype,"hideArrow",2);Ze([b()],Oe.prototype,"text",2);Ze([ot()],Oe.prototype,"hidden",2);Oe=Ze([w("tenable-tooltip")],Oe);var hw=Object.defineProperty,fw=Object.getOwnPropertyDescriptor,qc=(e,t,n,r)=>{for(var o=r>1?void 0:r?fw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&hw(t,n,o),o};let kr=class extends x{constructor(){super(...arguments),this.color=""}render(){const e={[this.color]:!0};return f`
|
|
3296
|
+
<h3 part="base" class=${C(e)}>
|
|
3297
|
+
<slot></slot>
|
|
3298
|
+
</h3>
|
|
3299
|
+
`}};kr.styles=k`
|
|
3300
|
+
h3 {
|
|
3301
|
+
color: var(--tenb-colors-text-brand);
|
|
3302
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
3303
|
+
font-size: var(--tenb-fontSizes-18);
|
|
3304
|
+
font-weight: 500;
|
|
3305
|
+
line-height: var(--tenb-fontSizes-22);
|
|
3306
|
+
margin-bottom: 0;
|
|
3307
|
+
margin-top: 0;
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
.alt {
|
|
3311
|
+
color: var(--tenb-colors-text-inverse);
|
|
3312
|
+
}
|
|
3313
|
+
`;qc([b()],kr.prototype,"color",2);kr=qc([w("tenable-heading3")],kr);var vw=Object.defineProperty,bw=Object.getOwnPropertyDescriptor,Si=(e,t,n,r)=>{for(var o=r>1?void 0:r?bw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&vw(t,n,o),o};let $n=class extends x{constructor(){super(...arguments),this.color="body",this.bold=!1}render(){const e={"tenb-small-text__root":!0,bold:this.bold,[this.color]:!0};return f`
|
|
3314
|
+
<!-- prettier-ignore -- Ensure there is no whitespace added inside the <p> children -->
|
|
3315
|
+
<p part="base" class=${C(e)}><slot></slot></p>
|
|
3316
|
+
`}};$n.styles=k`
|
|
3317
|
+
${ce}
|
|
3318
|
+
|
|
3319
|
+
/* Note: Any future changes here need to be reflected in floating-text-button styles */
|
|
3320
|
+
.tenb-small-text__root {
|
|
3321
|
+
color: var(--tenb-colors-text-body);
|
|
3322
|
+
font-family: var(--tenb-fonts-base);
|
|
3323
|
+
font-size: var(--tenb-fontSizes-12);
|
|
3324
|
+
font-weight: 400;
|
|
3325
|
+
line-height: 14px;
|
|
3326
|
+
margin-bottom: 0;
|
|
3327
|
+
margin-top: 0;
|
|
3328
|
+
white-space: pre-wrap;
|
|
3329
|
+
word-break: normal;
|
|
3330
|
+
}
|
|
3331
|
+
|
|
3332
|
+
.bold {
|
|
3333
|
+
font-weight: 700;
|
|
3334
|
+
}
|
|
3335
|
+
`;Si([b({type:String})],$n.prototype,"color",2);Si([b({type:Boolean})],$n.prototype,"bold",2);$n=Si([w("tenable-small-text")],$n);var gw=Object.defineProperty,mw=Object.getOwnPropertyDescriptor,xi=(e,t,n,r)=>{for(var o=r>1?void 0:r?mw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&gw(t,n,o),o};let Cn=class extends x{constructor(){super(...arguments),this.color="body",this.bold=!1}render(){const e={"tenable-text__root":!0,bold:this.bold,[this.color]:!0};return f`
|
|
3336
|
+
<!-- prettier-ignore -- Ensure there is no whitespace added inside the <p> children -->
|
|
3337
|
+
<p part="base" class=${C(e)}><slot></slot></p>
|
|
3338
|
+
`}};Cn.styles=k`
|
|
3339
|
+
${ce}
|
|
3340
|
+
|
|
3341
|
+
/* Note: Any future changes here need to be reflected in floating-text-button styles */
|
|
3342
|
+
/* white-space changing this to no wrap from pre-wrap as this is cramping */
|
|
3343
|
+
.tenable-text__root {
|
|
3344
|
+
color: var(--tenb-colors-text-body);
|
|
3345
|
+
font-family: var(--tenb-fonts-base);
|
|
3346
|
+
font-size: var(--tenb-fontSizes-14);
|
|
3347
|
+
font-weight: 400;
|
|
3348
|
+
line-height: 20px;
|
|
3349
|
+
margin-bottom: 0;
|
|
3350
|
+
margin-top: 0;
|
|
3351
|
+
white-space: nowrap;
|
|
3352
|
+
word-break: normal;
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
.bold {
|
|
3356
|
+
font-weight: 700;
|
|
3357
|
+
}
|
|
3358
|
+
`;xi([b()],Cn.prototype,"color",2);xi([b({type:Boolean})],Cn.prototype,"bold",2);Cn=xi([w("tenable-text")],Cn);const _w=k`
|
|
3359
|
+
:host {
|
|
3360
|
+
display: grid;
|
|
3361
|
+
grid-template-columns: 1fr;
|
|
3362
|
+
grid-template-rows: 1fr;
|
|
3363
|
+
gap: 0px 0px;
|
|
3364
|
+
position: absolute;
|
|
3365
|
+
top: 0;
|
|
3366
|
+
z-index: var(--tenb-zIndices-universal-navigation);
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3369
|
+
.tenable-universal-navigation-root {
|
|
3370
|
+
background-color: var(--tenb-colors-background-component);
|
|
3371
|
+
box-shadow: 0px 15px 30px -2px rgba(0, 0, 0, 0);
|
|
3372
|
+
box-sizing: border-box;
|
|
3373
|
+
border-right: 1px solid var(--tenb-colors-border-base);
|
|
3374
|
+
color: var(--tenb-colors-text-body);
|
|
3375
|
+
height: calc(100vh - var(--tenb-navigation-top-offset, 64px));
|
|
3376
|
+
width: 56px;
|
|
3377
|
+
|
|
3378
|
+
position: absolute;
|
|
3379
|
+
top: var(--tenb-navigation-top-offset, 64px);
|
|
3380
|
+
left: 0px;
|
|
3381
|
+
bottom: 0px;
|
|
3382
|
+
overflow-y: auto;
|
|
3383
|
+
overflow-x: clip;
|
|
3384
|
+
|
|
3385
|
+
scrollbar-width: none;
|
|
3386
|
+
|
|
3387
|
+
transition:
|
|
3388
|
+
width 0.3s ease-in,
|
|
3389
|
+
box-shadow 0.3s ease-in;
|
|
3390
|
+
}
|
|
3391
|
+
|
|
3392
|
+
/* Scrollbar support for Safari TODO: Remove when Safari supports scrollbar-width */
|
|
3393
|
+
.tenable-universal-navigation-root::-webkit-scrollbar {
|
|
3394
|
+
width: 0;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
.tenable-universal-navigation-root_expanded {
|
|
3398
|
+
width: 300px;
|
|
3399
|
+
box-shadow: 0px 15px 30px -2px rgba(0, 0, 0, 0.25);
|
|
3400
|
+
|
|
3401
|
+
scrollbar-width: thin;
|
|
3402
|
+
}
|
|
3403
|
+
|
|
3404
|
+
/* Scrollbar support for Safari TODO: Remove when Safari supports scrollbar-width */
|
|
3405
|
+
.tenable-universal-navigation-root_expanded::-webkit-scrollbar {
|
|
3406
|
+
width: 10px;
|
|
3407
|
+
}
|
|
3408
|
+
.tenable-universal-navigation-root_expanded::-webkit-scrollbar-track {
|
|
3409
|
+
background-color: var(--tenb-colors-background-container);
|
|
3410
|
+
}
|
|
3411
|
+
.tenable-universal-navigation-root_expanded::-webkit-scrollbar-thumb {
|
|
3412
|
+
background-color: var(--tenb-colors-background-hover-alt);
|
|
3413
|
+
border: 2px solid var(--tenb-colors-background-container);
|
|
3414
|
+
border-radius: 9999px;
|
|
3415
|
+
}
|
|
3416
|
+
|
|
3417
|
+
.tenable-universal-navigation-root_scroll-indicator {
|
|
3418
|
+
position: fixed;
|
|
3419
|
+
left: 0px;
|
|
3420
|
+
width: 55px;
|
|
3421
|
+
height: 16px;
|
|
3422
|
+
z-index: var(--tenb-zIndices-universal-navigation);
|
|
3423
|
+
|
|
3424
|
+
display: flex;
|
|
3425
|
+
align-items: center;
|
|
3426
|
+
justify-content: center;
|
|
3427
|
+
background: var(--tenb-colors-background-container);
|
|
3428
|
+
opacity: 1;
|
|
3429
|
+
|
|
3430
|
+
transition:
|
|
3431
|
+
width 0.3s ease-in,
|
|
3432
|
+
opacity 0.3s ease-in;
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
.tenable-universal-navigation-root_scroll-indicator_expanded {
|
|
3436
|
+
opacity: 0;
|
|
3437
|
+
width: 300px;
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
.tenable-universal-navigation-root_scroll-indicator_hidden {
|
|
3441
|
+
opacity: 0;
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
.tenable-universal-navigation-root_scroll-indicator_top {
|
|
3445
|
+
top: var(--tenb-navigation-top-offset, 64px);
|
|
3446
|
+
}
|
|
3447
|
+
|
|
3448
|
+
.tenable-universal-navigation-root_scroll-indicator_top
|
|
3449
|
+
> tenable-chevron-down {
|
|
3450
|
+
transform: rotate(180deg);
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
.tenable-universal-navigation-root_scroll-indicator_bottom {
|
|
3454
|
+
bottom: 0px;
|
|
3455
|
+
}
|
|
3456
|
+
|
|
3457
|
+
tenable-popover::part(anchor) {
|
|
3458
|
+
display: block;
|
|
3459
|
+
}
|
|
3460
|
+
`;var yw=Object.defineProperty,ww=Object.getOwnPropertyDescriptor,je=(e,t,n,r)=>{for(var o=r>1?void 0:r?ww(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&yw(t,n,o),o};const _a=16;let ye=class extends x{constructor(){super(...arguments),this.isClosed=!0,this.menuItems=[],this.navigationConfig=null,this.selectedMenuItem="",this.popoverOpen=null,this.isPanelVisible=!1,this.isOverflowing=!1,this.showTopScrollIndicator=!1,this.showBottomScrollIndicator=!1,this.popoverStateController=null,this._menuKeyboardController=null,this.handleKeyDown=e=>{if(e.code==="Escape"){e.preventDefault(),this.isClosed=!0,this.popoverOpen=null;const n={},r={bubbles:!0,composed:!0},o=new ee(ee.UNIVERSAL_NAVIGATION_MENU_COLLAPSED,n,r);this.dispatchEvent(o)}},this.handleTransitionStart=()=>{this.isPanelVisible||(this.isPanelVisible=!0)},this.handleTransitionEnd=()=>{this.isClosed&&(this.isPanelVisible=!1)},this.queryMenuItemElements=e=>{var t;return(t=this.shadowRoot)!=null&&t.children.length?Array.from(this.shadowRoot.children[0].querySelectorAll(e)):[]},this.closeMenu=e=>{e.composedPath().some(n=>"id"in n?n.id==="navigation-button":!1)||(this.isClosed=!0,this.popoverOpen=null)},this.onNavigationButtonClicked=()=>{this.isClosed=!this.isClosed,this.popoverOpen=null,this._menuKeyboardController&&(this._menuKeyboardController.selected=0)},this.onPopoverTriggerClicked=e=>{var o;const{detail:{isOpen:t,popoverId:n}}=e.payload;if(!t)return;const r=(o=this.shadowRoot)==null?void 0:o.querySelector(`tenable-popover#${n}`);if(r){const i={detail:{hostClicked:r},bubbles:!0,composed:!0},s=new CustomEvent(ee.UNIVERSAL_NAVIGATION_POPOVER_OPENED,i);document.dispatchEvent(s)}},this.renderMenuItemNoSubmenu=e=>{var t;return f`
|
|
3461
|
+
<tenable-tooltip
|
|
3462
|
+
.forceHide=${!this.isClosed||this.isPanelVisible}
|
|
3463
|
+
fixed
|
|
3464
|
+
offset=${-4}
|
|
3465
|
+
placement="right"
|
|
3466
|
+
text=${e.name}
|
|
3467
|
+
>
|
|
3468
|
+
<tenable-navigation-menu-item
|
|
3469
|
+
id="universal-navigation-menu-item-for-${u.GlobalHeaderPanels.Sidebar}-${e.id}"
|
|
3470
|
+
item-id=${e.id}
|
|
3471
|
+
host=${u.GlobalHeaderPanels.Sidebar}
|
|
3472
|
+
url=${te(e.url)}
|
|
3473
|
+
label=${e.name}
|
|
3474
|
+
?selected=${this.selectedMenuItem===e.id}
|
|
3475
|
+
.item=${e}
|
|
3476
|
+
.labelVisible=${!this.isClosed}
|
|
3477
|
+
?newTab=${((t=e.url)==null?void 0:t.startsWith("http"))===!0}
|
|
3478
|
+
>
|
|
3479
|
+
${Me(e.icon)}
|
|
3480
|
+
</tenable-navigation-menu-item>
|
|
3481
|
+
</tenable-tooltip>
|
|
3482
|
+
`},this.renderMenuItemWithSubmenu=e=>{var r,o;const n=`universal-navigation-menu-item-${((r=e==null?void 0:e.id)==null?void 0:r.toLowerCase())||"unknown"}`;return f`
|
|
3483
|
+
<tenable-tooltip
|
|
3484
|
+
.forceHide=${!this.isClosed||this.isPanelVisible}
|
|
3485
|
+
fixed
|
|
3486
|
+
offset=${-4}
|
|
3487
|
+
placement="right"
|
|
3488
|
+
text=${e.name}
|
|
3489
|
+
>
|
|
3490
|
+
<tenable-popover
|
|
3491
|
+
id="${n}"
|
|
3492
|
+
label="${e.name}"
|
|
3493
|
+
is-fixed
|
|
3494
|
+
?is-open=${this.popoverOpen===n}
|
|
3495
|
+
placement="right-start"
|
|
3496
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
3497
|
+
>
|
|
3498
|
+
<tenable-navigation-menu-item
|
|
3499
|
+
id="universal-navigation-menu-item-for-${u.GlobalHeaderPanels.Sidebar}-${e.id||"unknown"}"
|
|
3500
|
+
item-id=${e.id}
|
|
3501
|
+
.item=${e}
|
|
3502
|
+
host=${u.GlobalHeaderPanels.Sidebar}
|
|
3503
|
+
?selected=${this.selectedMenuItem===e.id}
|
|
3504
|
+
?opened=${this.popoverOpen===n}
|
|
3505
|
+
.labelVisible=${!this.isClosed}
|
|
3506
|
+
.hasChildren=${Number((o=e.menuItems)==null?void 0:o.length)>0}
|
|
3507
|
+
slot="anchor"
|
|
3508
|
+
label=${e.name}
|
|
3509
|
+
>
|
|
3510
|
+
${Me(e.icon)}
|
|
3511
|
+
</tenable-navigation-menu-item>
|
|
3512
|
+
${e.menuItems&&e.menuItems.length>0?f`
|
|
3513
|
+
<tenable-universal-navigation-menu-submenu
|
|
3514
|
+
.menuItems=${u.D(e.menuItems)}
|
|
3515
|
+
item-id=${e.id}
|
|
3516
|
+
host=${u.GlobalHeaderPanels.Sidebar}
|
|
3517
|
+
>
|
|
3518
|
+
</tenable-universal-navigation-menu-submenu>
|
|
3519
|
+
`:""}
|
|
3520
|
+
</tenable-popover>
|
|
3521
|
+
</tenable-tooltip>
|
|
3522
|
+
`},this.renderMenuItem=e=>e&&e.menuItems&&e.menuItems.length?this.renderMenuItemWithSubmenu(e):this.renderMenuItemNoSubmenu(e)}connectedCallback(){super.connectedCallback(),document.addEventListener(ee.UNIVERSAL_NAVIGATION_BUTTON_CLICKED,this.onNavigationButtonClicked),this.popoverStateController=new Kc(this,{hasMultiplePopovers:!0}),this._menuKeyboardController=new hi(this),document.addEventListener("closeUniversalNavigation",this.closeMenu),document.addEventListener("click",this.closeMenu),this.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener(ee.UNIVERSAL_NAVIGATION_BUTTON_CLICKED,this.onNavigationButtonClicked),document.removeEventListener("closeUniversalNavigation",this.closeMenu),document.removeEventListener("click",this.closeMenu),this.removeEventListener("keydown",this.handleKeyDown)}firstUpdated(){var n,r;const e=(n=this.shadowRoot)==null?void 0:n.querySelector(".tenable-universal-navigation-root");e==null||e.addEventListener("transitionstart",this.handleTransitionStart),e==null||e.addEventListener("transitionend",this.handleTransitionEnd);const t=(r=this.shadowRoot)==null?void 0:r.children[0];window==null||window.addEventListener("resize",()=>{this.setOverflow(),this.setScrollIndicatorStates()}),t==null||t.addEventListener("scroll",()=>this.setScrollIndicatorStates())}setOverflow(){var t;const e=(t=this.shadowRoot)==null?void 0:t.children[0];e&&(this.isOverflowing=e.scrollHeight>e.clientHeight)}setScrollIndicatorStates(){var t;const e=(t=this.shadowRoot)==null?void 0:t.children[0];e&&(this.showTopScrollIndicator=this.isOverflowing&&e.scrollTop>_a,this.showBottomScrollIndicator=this.isOverflowing&&!(e.scrollHeight-e.scrollTop<e.clientHeight+_a))}updated(){var e;(e=this._menuKeyboardController)==null||e.initMenuItems(this.queryMenuItemElements("tenable-navigation-menu-item")),this.setOverflow(),this.setScrollIndicatorStates()}render(){const e=C({"tenable-universal-navigation-root":!0,"tenable-universal-navigation-root_expanded":!this.isClosed}),t=C({"tenable-universal-navigation-root_scroll-indicator":!0,"tenable-universal-navigation-root_scroll-indicator_top":!0,"tenable-universal-navigation-root_scroll-indicator_expanded":!this.isClosed,"tenable-universal-navigation-root_scroll-indicator_hidden":!this.showTopScrollIndicator}),n=C({"tenable-universal-navigation-root_scroll-indicator":!0,"tenable-universal-navigation-root_scroll-indicator_bottom":!0,"tenable-universal-navigation-root_scroll-indicator_expanded":!this.isClosed,"tenable-universal-navigation-root_scroll-indicator_hidden":!this.showBottomScrollIndicator});return f`
|
|
3523
|
+
<div part="base" class=${e}>
|
|
3524
|
+
<div class=${t}>
|
|
3525
|
+
<tenable-chevron-down></tenable-chevron-down>
|
|
3526
|
+
</div>
|
|
3527
|
+
|
|
3528
|
+
${this.menuItems&&et(this.menuItems,r=>r.name,r=>this.renderMenuItem(r))}
|
|
3529
|
+
|
|
3530
|
+
<div class=${n}>
|
|
3531
|
+
<tenable-chevron-down></tenable-chevron-down>
|
|
3532
|
+
</div>
|
|
3533
|
+
</div>
|
|
3534
|
+
`}};ye.styles=[_w];je([b({type:Boolean})],ye.prototype,"isClosed",2);je([b({type:Array})],ye.prototype,"menuItems",2);je([b({type:Object})],ye.prototype,"navigationConfig",2);je([b({attribute:"selected-menu-item",reflect:!0,type:String})],ye.prototype,"selectedMenuItem",2);je([ot()],ye.prototype,"popoverOpen",2);je([ot()],ye.prototype,"isPanelVisible",2);je([ot()],ye.prototype,"isOverflowing",2);je([ot()],ye.prototype,"showTopScrollIndicator",2);je([ot()],ye.prototype,"showBottomScrollIndicator",2);ye=je([w("tenable-universal-navigation")],ye);var $w=Object.defineProperty,Cw=Object.getOwnPropertyDescriptor,Ai=(e,t,n,r)=>{for(var o=r>1?void 0:r?Cw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&$w(t,n,o),o};const Sw="universal-header-user-action",xw=`${We()}`,Wc=`${Sw}-${xw}`;let Tr=class extends x{constructor(){super(...arguments),this.avatar="??",this._actionController=new en(this),this.onPopoverTriggerClicked=()=>{this._actionController.onPopoverTriggerClicked(this,this.popover)}}render(){var e,t;return f`
|
|
3535
|
+
<tenable-popover
|
|
3536
|
+
part="base"
|
|
3537
|
+
id="${Wc}"
|
|
3538
|
+
label="Profile Menu"
|
|
3539
|
+
?is-open=${this._actionController.isMenuOpen}
|
|
3540
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
3541
|
+
>
|
|
3542
|
+
<tenable-avatar
|
|
3543
|
+
?selected=${this._actionController.isMenuOpen}
|
|
3544
|
+
.allowSelectedClick=${!0}
|
|
3545
|
+
id="profile-menu-button"
|
|
3546
|
+
slot="anchor"
|
|
3547
|
+
part="trigger"
|
|
3548
|
+
aria-label="Avatar"
|
|
3549
|
+
aria-haspopup="true"
|
|
3550
|
+
>
|
|
3551
|
+
${(t=(e=this.avatar)==null?void 0:e.slice(0,2))==null?void 0:t.toUpperCase()}
|
|
3552
|
+
</tenable-avatar>
|
|
3553
|
+
<slot></slot>
|
|
3554
|
+
</tenable-popover>
|
|
3555
|
+
`}};Ai([Zt(`#${Wc}`)],Tr.prototype,"popover",2);Ai([b()],Tr.prototype,"avatar",2);Tr=Ai([w("tenable-universal-header-user-action")],Tr);var Aw=Object.defineProperty,Ow=Object.getOwnPropertyDescriptor,Hn=(e,t,n,r)=>{for(var o=r>1?void 0:r?Ow(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Aw(t,n,o),o};let At=class extends x{constructor(){super(...arguments),this.panelTitle="Title",this.panelSubTitle="Sub Title",this.menuItems=[],this.selectedMenuItem=""}render(){const{language:e}=this.__getStores().storeLayout,t=this.__translator(e)("Header")("PanelUserProfile");return f`
|
|
3556
|
+
<tenable-universal-header-action-panel part="base">
|
|
3557
|
+
<tenable-universal-header-action-panel-header part="panel-header">
|
|
3558
|
+
<div class="tenable-navigation-menu-header-user">
|
|
3559
|
+
<tenable-heading3
|
|
3560
|
+
part="panel-header-title"
|
|
3561
|
+
class="user-panel-user-name"
|
|
3562
|
+
title="${this.panelTitle}"
|
|
3563
|
+
>
|
|
3564
|
+
${this.panelTitle}
|
|
3565
|
+
</tenable-heading3>
|
|
3566
|
+
<!-- prettier-ignore -- Ensure there is no whitespace added inside the <tenable-small-text> children -->
|
|
3567
|
+
<tenable-small-text part="panel-header-subtitle"
|
|
3568
|
+
>${this.panelSubTitle}</tenable-small-text
|
|
3569
|
+
>
|
|
3570
|
+
</div>
|
|
3571
|
+
</tenable-universal-header-action-panel-header>
|
|
3572
|
+
|
|
3573
|
+
<tenable-universal-header-action-panel-body part="panel-body">
|
|
3574
|
+
${this.menuItems&&et(this.menuItems,n=>n.name,n=>{var r,o;return f`
|
|
3575
|
+
<tenable-navigation-menu-item
|
|
3576
|
+
part="panel-menu-item"
|
|
3577
|
+
host=${u.GlobalHeaderPanels.UserProfile}
|
|
3578
|
+
item-id=${n.id}
|
|
3579
|
+
url=${te(n.url)}
|
|
3580
|
+
?selected=${this.selectedMenuItem===n.id}
|
|
3581
|
+
label=${(r=t(n.name))!=null?r:n.name}
|
|
3582
|
+
.item=${n}
|
|
3583
|
+
?newTab=${((o=n.url)==null?void 0:o.startsWith("http"))===!0}
|
|
3584
|
+
>
|
|
3585
|
+
${Me(n.icon)}
|
|
3586
|
+
</tenable-navigation-menu-item>
|
|
3587
|
+
`})}
|
|
3588
|
+
</tenable-universal-header-action-panel-body>
|
|
3589
|
+
</tenable-universal-header-action-panel>
|
|
3590
|
+
`}};At.styles=[k`
|
|
3591
|
+
.user-panel-user-name::part(base) {
|
|
3592
|
+
overflow: hidden;
|
|
3593
|
+
max-width: 200px;
|
|
3594
|
+
text-overflow: ellipsis;
|
|
3595
|
+
white-space: nowrap;
|
|
3596
|
+
}
|
|
3597
|
+
`];Hn([b({type:String})],At.prototype,"panelTitle",2);Hn([b({type:String})],At.prototype,"panelSubTitle",2);Hn([b({type:Array})],At.prototype,"menuItems",2);Hn([b({attribute:"selected-menu-item",reflect:!0,type:String})],At.prototype,"selectedMenuItem",2);At=Hn([w("tenable-universal-header-user-panel")],At);const Pw=k`
|
|
3598
|
+
${ce}
|
|
3599
|
+
|
|
3600
|
+
:host(:focus-visible) {
|
|
3601
|
+
outline: none;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
.workspace-card__root {
|
|
3605
|
+
display: flex;
|
|
3606
|
+
flex-wrap: nowrap;
|
|
3607
|
+
flex-direction: row;
|
|
3608
|
+
align-items: center;
|
|
3609
|
+
justify-content: flex-start;
|
|
3610
|
+
background-color: var(--tenb-colors-background-component);
|
|
3611
|
+
border-radius: 8px;
|
|
3612
|
+
box-sizing: border-box;
|
|
3613
|
+
border: 1px solid var(--tenb-colors-gray-06);
|
|
3614
|
+
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.25);
|
|
3615
|
+
color: var(--tenb-colors-text-body);
|
|
3616
|
+
cursor: pointer;
|
|
3617
|
+
height: 48px;
|
|
3618
|
+
min-width: 184px;
|
|
3619
|
+
position: relative;
|
|
3620
|
+
padding-left: var(--tenb-space-16);
|
|
3621
|
+
gap: 0px 8px;
|
|
3622
|
+
}
|
|
3623
|
+
|
|
3624
|
+
.workspace-card__root.focus-visible {
|
|
3625
|
+
outline: var(--tenb-borderWidths-outline) dashed
|
|
3626
|
+
var(--tenb-colors-outline-focus);
|
|
3627
|
+
outline-offset: 2px;
|
|
3628
|
+
}
|
|
3629
|
+
|
|
3630
|
+
.workspace-card__root:hover {
|
|
3631
|
+
box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.25);
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
.workspace-card__root:active {
|
|
3635
|
+
border-color: var(--tenb-colors-border-active);
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3638
|
+
.workspace-card__root.selected {
|
|
3639
|
+
background-color: var(--tenb-colors-background-selected);
|
|
3640
|
+
border-color: var(--tenb-colors-outline-focus);
|
|
3641
|
+
box-shadow: 0px 1px 4px rgba(82, 162, 239, 0.25);
|
|
3642
|
+
&:hover {
|
|
3643
|
+
box-shadow: rgba(4, 30, 66, 0.25) 0px 0px 8px;
|
|
3644
|
+
}
|
|
3645
|
+
}
|
|
3646
|
+
|
|
3647
|
+
.workspace-card__root.unavailable {
|
|
3648
|
+
background-color: transparent;
|
|
3649
|
+
border: 1px solid rgb(223, 227, 230);
|
|
3650
|
+
cursor: default;
|
|
3651
|
+
opacity: 0.3;
|
|
3652
|
+
}
|
|
3653
|
+
|
|
3654
|
+
div.workspace-card__icon {
|
|
3655
|
+
height: 24px;
|
|
3656
|
+
width: 24px;
|
|
3657
|
+
}
|
|
3658
|
+
|
|
3659
|
+
.workspace-card__label {
|
|
3660
|
+
color: var(--tenb-colors-text-body);
|
|
3661
|
+
cursor: inherit;
|
|
3662
|
+
font-family: var(--tenb-fonts-brand-medium);
|
|
3663
|
+
font-size: var(--tenb-fontSizes-18);
|
|
3664
|
+
font-weight: 400;
|
|
3665
|
+
line-height: 22px;
|
|
3666
|
+
margin-bottom: 0;
|
|
3667
|
+
margin-top: 0;
|
|
3668
|
+
text-align: left;
|
|
3669
|
+
// -moz-osx-font-smoothing: grayscale;
|
|
3670
|
+
-webkit-font-smoothing: antialiased;
|
|
3671
|
+
}
|
|
3672
|
+
|
|
3673
|
+
.workspace-card__label.alt {
|
|
3674
|
+
color: var(--tenb-colors-text-inverse);
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
div.workspace-card__badge {
|
|
3678
|
+
position: absolute;
|
|
3679
|
+
right: 10px;
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
/* Links wrapping app cards to get "real" links */
|
|
3683
|
+
a {
|
|
3684
|
+
text-decoration: none;
|
|
3685
|
+
}
|
|
3686
|
+
`;var Ew=Object.defineProperty,kw=Object.getOwnPropertyDescriptor,nn=(e,t,n,r)=>{for(var o=r>1?void 0:r?kw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Ew(t,n,o),o};let rt=class extends x{constructor(){super(...arguments),this.label="",this.url="",this.newTab=!1,this.currentApp=new u.EntityApp("tio"),this.isAppActive=!1,this.selectedApplication=()=>{var e;switch(this.currentApp.appName){case"workspace":return"";case"tio":return u.LocalStorageSelectedApplication.tenable_io;case"was":return u.LocalStorageSelectedApplication.was;case"lumin":return u.LocalStorageSelectedApplication.lumin;case"pci":return u.LocalStorageSelectedApplication.pci;default:return(e=this.currentApp.appName)!=null?e:"default"}},this.onClickHandler=()=>{var n,r,o,i,s;const{storeRoot:e,storeTelemetry:t}=this.__getStores();if(t.trackTelemetry(le.AppSwitcherClicked,{name:this.label}),(r=(n=e.config.services.serverProperties)==null?void 0:n.parameters)!=null&&r.inAppNavigation){(o=this.currentApp)==null||o.redirect(e);return}if(this.url.length!==0){if(this.currentApp&&((i=this.currentApp)!=null&&i.isUnavailable()))return!0;if(this.newTab){e.redirectToClickedApp(this.url,this.selectedApplication(),!0);return}this.newTab||((s=this.currentApp)==null||s.redirect(e),e.redirectToClickedApp(this.url,this.selectedApplication()))}}}render(){var n;const e=(n=this.currentApp)==null?void 0:n.isUnavailable(),t=f`
|
|
3687
|
+
<div
|
|
3688
|
+
part="base"
|
|
3689
|
+
class=${C({"workspace-card__root":!0,selected:this.isAppActive,unavailable:e})}
|
|
3690
|
+
@click=${this.onClickHandler}
|
|
3691
|
+
>
|
|
3692
|
+
<div part="icon" class="workspace-card__icon">
|
|
3693
|
+
<slot name="icon"></slot>
|
|
3694
|
+
</div>
|
|
3695
|
+
<slot name="label">
|
|
3696
|
+
<label part="label" class="workspace-card__label">
|
|
3697
|
+
${this.label}
|
|
3698
|
+
</label>
|
|
3699
|
+
</slot>
|
|
3700
|
+
<div part="badge" class="workspace-card__badge">
|
|
3701
|
+
<slot name="badge"></slot>
|
|
3702
|
+
</div>
|
|
3703
|
+
</div>
|
|
3704
|
+
`;return e?t:f` <a
|
|
3705
|
+
href="${this.url}"
|
|
3706
|
+
@click="${r=>r.preventDefault()}"
|
|
3707
|
+
>
|
|
3708
|
+
${t}
|
|
3709
|
+
</a>`}};rt.styles=[Pw];nn([b({type:String})],rt.prototype,"label",2);nn([b({type:String})],rt.prototype,"url",2);nn([b({type:Boolean})],rt.prototype,"newTab",2);nn([b({attribute:!1})],rt.prototype,"currentApp",2);nn([b({type:Boolean})],rt.prototype,"isAppActive",2);rt=nn([w("tenable-workspace-card")],rt);var Tw=Object.defineProperty,Iw=Object.getOwnPropertyDescriptor,Zc=(e,t,n,r)=>{for(var o=r>1?void 0:r?Iw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Tw(t,n,o),o};const Dw="universal-header-workspace-action",Lw=`${We()}`,Jc=`${Dw}-${Lw}`;let Uo=class extends x{constructor(){super(...arguments),this._actionController=new en(this),this.onPopoverTriggerClicked=()=>{this._actionController.onPopoverTriggerClicked(this,this.popover)}}render(){return f`
|
|
3710
|
+
<tenable-popover
|
|
3711
|
+
part="base"
|
|
3712
|
+
id="${Jc}"
|
|
3713
|
+
label="Workspace Menu"
|
|
3714
|
+
?is-open=${this._actionController.isMenuOpen}
|
|
3715
|
+
@tenable-popover-anchor-clicked=${this.onPopoverTriggerClicked}
|
|
3716
|
+
>
|
|
3717
|
+
<tenable-floating-button
|
|
3718
|
+
?selected=${this._actionController.isMenuOpen}
|
|
3719
|
+
.allowSelectedClick=${!0}
|
|
3720
|
+
id="workspace-menu-button"
|
|
3721
|
+
slot="anchor"
|
|
3722
|
+
part="trigger"
|
|
3723
|
+
aria-label="Workspaces"
|
|
3724
|
+
aria-haspopup="true"
|
|
3725
|
+
>
|
|
3726
|
+
<tenable-workspace-apps
|
|
3727
|
+
size="medium"
|
|
3728
|
+
color="brand"
|
|
3729
|
+
></tenable-workspace-apps>
|
|
3730
|
+
</tenable-floating-button>
|
|
3731
|
+
<slot></slot>
|
|
3732
|
+
</tenable-popover>
|
|
3733
|
+
`}};Zc([Zt(`#${Jc}`)],Uo.prototype,"popover",2);Uo=Zc([w("tenable-universal-header-workspace-action")],Uo);const Mw=k`
|
|
3734
|
+
#workspaces-view {
|
|
3735
|
+
display: grid;
|
|
3736
|
+
grid-template-columns: 1fr 1fr;
|
|
3737
|
+
grid-template-rows: 1fr 1fr;
|
|
3738
|
+
gap: 16px 16px;
|
|
3739
|
+
margin: 16px;
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
.tenb-universal-header-action-panel__root::part(base) {
|
|
3743
|
+
width: 630px;
|
|
3744
|
+
z-index: 100;
|
|
3745
|
+
}
|
|
3746
|
+
`;var Rw=Object.defineProperty,Nw=Object.getOwnPropertyDescriptor,Oi=(e,t,n,r)=>{for(var o=r>1?void 0:r?Nw(t,n):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(o=(r?s(t,n,o):s(o))||o);return r&&o&&Rw(t,n,o),o};let Sn=class extends x{constructor(){var e,t;super(),this.panelTitle=(e=this.__translator("en")("Header")("PanelApps")("Workspaces"))!=null?e:"Workspaces",this._isSelectedAppFound=!1,this.storeRoot=this.__getStores().storeRoot,this.storeLayout=(t=this.storeRoot.stores)==null?void 0:t.storeLayout}_getAppDetails(e,t){var s;const{session:n}=this.storeRoot.stores.storeAuthentication,r=this.__translator(this.storeLayout.language)("Header")("PanelApps"),o={entityApp:t,appName:e,name:"",displayName:(t.displayName||(t==null?void 0:t.appName))==="Workspace"?(s=r("Workspaces"))!=null?s:"Workspaces":t.displayName||(t==null?void 0:t.appName),mode:t.mode,url:t.workspaceUrl,enabled:t.isEnabled(),isLicenseExpired:t.isLicenseExpired(),expirationDate:t.expirationDate,isAppUnavailable:t.isUnavailable(),badgeInfo:t.badgeInformation,icon:t.icon};let i="";switch(e){case"workspace":case"tpc":i="tenable-workspace-apps";break;case"ad":i="tenable-workspace-app-ad";break;case"asm":i="tenable-workspace-app-asm";break;case"cns":case"cnapp":i="tenable-workspace-app-cs";break;case"tio":i="tenable-workspace-app-vm";break;case"was":i="tenable-workspace-app-was";break;case"lumin":i="tenable-workspace-app-lumin";break;case"pci":i="tenable-workspace-app-pci",o.rbac=n==null?void 0:n.hasAccessToPciAsv;break;case"aiv":i="tenable-workspace-app-aiv",o.rbac=n==null?void 0:n.hasAccessToAssetInventory;break;case"apa":i="tenable-workspace-app-apa",o.rbac=n==null?void 0:n.hasAccessToAttackPath;break;case"ec":i="tenable-workspace-app-ec",o.rbac=n==null?void 0:n.hasAccessToExposureView;break;case"eco":i="tenable-workspace-app-eco";break;case"tpcConsec":i="tenable-workspace-app-consec";break;case"tpcSc":i="tenable-workspace-app-sc";break;case"reports":i="tenable-workspace-app-reports";break;default:i="tenable-workspace-apps-eco"}return o.name=i,o}_getWorkspaceOptionsApps(){const e=[];for(const[t,n]of this.storeLayout.apps){const r=this._getAppDetails(t,n);r.enabled&&t!=="one"&&e.push(r)}return e.filter(t=>(t==null?void 0:t.name)!=="")}_badgeNode(e){var t,n,r;return(t=e==null?void 0:e.badgeInfo)!=null&&t.isBadgeRequired?f`${Rt(`
|
|
3747
|
+
<tenable-badge variant='${(n=e==null?void 0:e.badgeInfo)==null?void 0:n.variant}'
|
|
3748
|
+
slot="badge"
|
|
3749
|
+
part="panel-menu-item-badge"
|
|
3750
|
+
>${(r=e==null?void 0:e.badgeInfo)==null?void 0:r.badgeText}</tenable-badge>
|
|
3751
|
+
`)}`:Q}_findSelectedAppInSwitcher(e){var r,o;const t=e.entityApp;let n=null;return this._isSelectedAppFound&&(n=!1),this.storeLayout.currentAppSelected?this.storeLayout.currentAppSelected===(t==null?void 0:t.appName)&&(n=!0):(r=this.storeRoot)!=null&&r.appId?((o=this.storeRoot)==null?void 0:o.appId)===(t==null?void 0:t.appName)&&(n=!0):t!=null&&t.isCurrent()&&(n=!0),!this._isSelectedAppFound&&n?(this._isSelectedAppFound=!0,n):!1}render(){var n;const e=this.__translator(this.storeLayout.language)("Header")("PanelApps");this._isSelectedAppFound=!1;const t=this._getWorkspaceOptionsApps();return f`
|
|
3752
|
+
<tenable-universal-header-action-panel
|
|
3753
|
+
class="tenb-universal-header-action-panel__root"
|
|
3754
|
+
part="base"
|
|
3755
|
+
>
|
|
3756
|
+
<tenable-universal-header-action-panel-header part="panel-header">
|
|
3757
|
+
<tenable-heading3 part="panel-header-title">
|
|
3758
|
+
${(n=e(this.panelTitle))!=null?n:"Workspaces"}</tenable-heading3
|
|
3759
|
+
>
|
|
3760
|
+
</tenable-universal-header-action-panel-header>
|
|
3761
|
+
|
|
3762
|
+
<tenable-universal-header-action-panel-body part="panel-body">
|
|
3763
|
+
<div id="workspaces-view" part="panel-content">
|
|
3764
|
+
${u.D(t).map(r=>{var i,s,a,l;if(!u.j(r)||!r.entityApp)return;const o=this._findSelectedAppInSwitcher(r);return f` <tenable-workspace-card
|
|
3765
|
+
part="panel-menu-item"
|
|
3766
|
+
label=${r.displayName}
|
|
3767
|
+
url=${r.url}
|
|
3768
|
+
.currentApp=${r.entityApp}
|
|
3769
|
+
.isAppActive=${o}
|
|
3770
|
+
?newTab=${((i=r.url)==null?void 0:i.startsWith("http"))===!0}
|
|
3771
|
+
>
|
|
3772
|
+
${r.icon?Rt(r.icon):Rt(`<${r.name} size="medium" color="accent-idle" slot="icon" part="panel-menu-item-icon" ></${r.name}>`)}
|
|
3773
|
+
${this._badgeNode(r)}
|
|
3774
|
+
${((s=r==null?void 0:r.badgeInfo)==null?void 0:s.isBadgeRequired)&&`${Rt(`
|
|
3775
|
+
<tenable-badge variant='${(a=r==null?void 0:r.badgeInfo)==null?void 0:a.variant}' slot="badge" part="panel-menu-item-badge" >
|
|
3776
|
+
${(l=r==null?void 0:r.badgeInfo)==null?void 0:l.badgeText}
|
|
3777
|
+
</tenable-badge>
|
|
3778
|
+
`)}`}
|
|
3779
|
+
</tenable-workspace-card>`}).filter(u.j)}
|
|
3780
|
+
</div>
|
|
3781
|
+
</tenable-universal-header-action-panel-body>
|
|
3782
|
+
</tenable-universal-header-action-panel>
|
|
3783
|
+
`}};Sn.styles=[Mw];Oi([b({type:String})],Sn.prototype,"panelTitle",2);Oi([ot()],Sn.prototype,"_isSelectedAppFound",2);Sn=Oi([w("tenable-universal-header-workspace-panel")],Sn);const Ee=u.newLogger("tul")("init");function jw(e){return u.configSchema(e)?e.app.handlers?u.j(e.app.handlers.onTulNavigate)&&typeof e.app.handlers.onTulNavigate!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulNavigate` is not a function."),!1):u.j(e.app.handlers.onTulSessionFetched)&&typeof e.app.handlers.onTulSessionFetched!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulSessionFetched` is not a function."),!1):u.j(e.app.handlers.onTulServerPropertiesFetched)&&typeof e.app.handlers.onTulServerPropertiesFetched!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulServerPropertiesFetched` is not a function."),!1):u.j(e.app.handlers.onTulHamburgerClick)&&typeof e.app.handlers.onTulHamburgerClick!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulHamburgerClick` is not a function."),!1):u.j(e.app.handlers.onTulNotificationsClick)&&typeof e.app.handlers.onTulNotificationsClick!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulNotificationsClick` is not a function."),!1):u.j(e.app.handlers.onTulChatClick)&&typeof e.app.handlers.onTulChatClick!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulChatClick` is not a function."),!1):u.j(e.app.handlers.onTulApplicationLogoClick)&&typeof e.app.handlers.onTulApplicationLogoClick!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulApplicationLogoClick` is not a function."),!1):u.j(e.app.handlers.onTulAppSpecificIconClick)&&typeof e.app.handlers.onTulAppSpecificIconClick!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulAppSpecificIconClick` is not a function."),!1):u.j(e.app.handlers.onTulLicensedAppsSet)&&typeof e.app.handlers.onTulLicensedAppsSet!="function"?(Ee("error")("The initialization object is invalid: `config.app.handlers.onTulLicensedAppsSet` is not a function."),!1):!0:!0:(Ee("error")("The initialization object is invalid",u.get(u.configSchema,"errors")),!1)}async function Bw(e,t,n="<tenable-global-header></tenable-global-header>"){const r=u.newLogger("tul")("init");if(!jw(t))throw new Error("Invalid TUL configuration");Ed({enforceActions:"always",useProxies:"always",isolateGlobalState:!0});try{const o=oc(t),i=Vw(o);if(await i.init(t),!i.appId)throw new Error("The application id has not been found, Please pass in tulConfig.app.id");if(x.__setRootStore(i),!e)return i.tulApi;const a=document.getElementById(e);if(!a)throw new Error(`The HTML tag with the ID "${e}" has not been found!`);return a.innerHTML=n,yd(()=>{i.setTulRoot(a)}),i.tulApi}catch(o){throw o instanceof Error&&(r("error")("TUL initialization failed: %s",o.message),r("debug")("Error details: %o",o.stack)),o}}function Vw(e){window.localStorage.getItem(u.LocalStorageKey.debug)||window.localStorage.setItem(u.LocalStorageKey.debug,"tul:*");const{storeRoot:n}=Nt.createRootStore(e.config,{override:!0});return window.TUL={...window.TUL,storeRoot:n},n}exports.EntityApp=u.EntityApp;exports.EntitySession=u.EntitySession;exports.GlobalHeaderPanels=u.GlobalHeaderPanels;exports.HTML_AS_STRING_REGEX=u.HTML_AS_STRING_REGEX;exports.RolesEnum=u.RolesEnum;exports.TenableProductLogo=u.TenableProductLogo;exports.TulEvent=u.TulEvent;exports.UserManagementMenuKeys=u.UserManagementMenuKeys;exports.camelCaseToSnakeCaseJson=u.camelCaseToSnakeCaseJson;exports.configSchema=u.configSchema$1;exports.getRoleNameFromPermission=u.getRoleNameFromPermission;exports.isValidServerProperties=u.isValidServerProperties;exports.isValidSession=u.isValidSession;exports.isValidTulConfiguration=u.isValidTulConfiguration;exports.serverPropertiesSchema=u.serverPropertiesSchema;exports.sessionSchema=u.sessionSchema;exports.snakeCaseToCamelCaseJson=u.snakeCaseToCamelCaseJson;exports.initTul=Bw;
|
|
3784
|
+
//# sourceMappingURL=tul.client.cjs.js.map
|