All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.LoggedInPage.0aef8764c045e3ebf925.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"LoggedInPage.0aef8764c045e3ebf925.js","mappings":"wNAyBA,MAAMA,EAAoB,CAAC,CAAE,YAAAC,CAAY,IACvC,gBAAC,QAAK,CAAC,QAAQ,QAAO,0HAGpB,gBAAC,SAAG,EAAE,qGAGN,gBAAC,SAAG,EAAE,qBACY,gBAAC,KAAY,CAAC,KAAK,2CAA0C,gBAAc,EAAe,IAC5G,gBAAC,SAAG,EAAE,kDAELA,GAAe,gBAAC,SAAE,sBAAoB,EACtC,CAACA,GAAe,QAAQ,GAC3B,EAGFD,EAAkB,aAAe,CAC/B,YAAa,MACf,EAEA,QAAeA,C,qEC+BA,MAAME,CAAK,CAGxB,YACEC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACA,CACA,KAAK,OAAS,CACZ,GAAApB,EACA,SAAAC,EACA,SAAAC,EACA,UAAAC,EACA,SAAAC,EACA,MAAAC,EACA,YAAAC,EACA,SAAAC,EACA,YAAAC,EACA,MAAAC,EACA,SAAAC,EACA,SAAAC,EACA,iBAAAC,EACA,UAAAC,EACA,cAAAC,EACA,cAAAC,EACA,aAAAC,EACA,cAAAC,EACA,eAAAE,EACA,eAAAD,EACA,mBAAAE,CACF,CACF,CAEA,IAAI,IAAK,CACP,OAAO,KAAK,OAAO,EACrB,CAEA,IAAI,UAAW,CACb,OAAO,KAAK,OAAO,QACrB,CAEA,IAAI,UAAW,CACb,OAAO,KAAK,OAAO,QACrB,CAEA,IAAI,WAAY,CACd,OAAO,KAAK,OAAO,SACrB,CAEA,IAAI,UAAW,CACb,OAAO,KAAK,OAAO,QACrB,CAEA,IAAI,OAAQ,CACV,OAAO,KAAK,OAAO,KACrB,CAE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,GAAc,KACb,gBAAC,GAAS,IAAC,CACb,CACF,CACF,CACF,CACF,CACF,C","sources":["webpack://graylog-web-interface/./src/logic/telemetry/TelemetryInfoText.tsx","webpack://graylog-web-interface/./src/logic/users/User.ts","webpack://graylog-web-interface/./src/pages/index.jsx","webpack://graylog-web-interface/./src/components/errors/RouterErrorBoundary.jsx","webpack://graylog-web-interface/./src/contexts/GlobalContextProviders.tsx","webpack://graylog-web-interface/./src/routing/AppRouter.tsx","webpack://graylog-web-interface/./src/contexts/CurrentUserPreferencesProvider.tsx","webpack://graylog-web-interface/./src/contexts/CurrentUserProvider.tsx","webpack://graylog-web-interface/./src/contexts/UserDateTimeProvider.tsx","webpack://graylog-web-interface/./src/contexts/ThemeAndUserProvider.jsx","webpack://graylog-web-interface/./src/contexts/StreamsProvider.tsx","webpack://graylog-web-interface/./src/contexts/DefaultQueryClientProvider.tsx","webpack://graylog-web-interface/./src/logic/telemetry/TelemetryInfoModal.tsx","webpack://graylog-web-interface/./src/logic/telemetry/useTelemetryData.tsx","webpack://graylog-web-interface/./src/logic/telemetry/TelemetryProvider.tsx","webpack://graylog-web-interface/./src/contexts/NodesProvider.tsx","webpack://graylog-web-interface/./src/contexts/InputsProvider.tsx","webpack://graylog-web-interface/./src/pages/LoggedInPage.tsx"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport { ExternalLink } from 'components/common';\nimport { Alert } from 'components/bootstrap';\n\ntype Props = {\n  showProfile?: boolean\n}\n\nconst TelemetryInfoText = ({ showProfile }: Props) => (\n  \n    We would like to collect anonymous usage data to help us prioritize improvements\n    and make Graylog better in the future.\n    
\n We do not collect personal data, sensitive information, or content such as logs in your\n instances.\n
\n Learn more on our Privacy Policy.\n
\n You can turn data collection off or on any time\n {showProfile && in the user profile}\n {!showProfile && ' here'}.\n
\n);\n\nTelemetryInfoText.defaultProps = {\n showProfile: undefined,\n};\n\nexport default TelemetryInfoText;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as Immutable from 'immutable';\nimport type { $PropertyType } from 'utility-types';\n\nimport type { PreferencesMap } from 'stores/users/PreferencesStore';\n\nimport type { AccountStatus } from './UserOverview';\n\nexport type StartPage = {\n id: string;\n type: 'dashboard' | 'stream' | 'search'\n};\n\nexport type UserJSON = {\n client_address: string;\n email: string;\n external: boolean;\n full_name: string;\n first_name: string;\n last_name: string;\n id: string;\n last_activity: string | null | undefined;\n permissions: string[];\n grn_permissions?: string[];\n preferences: PreferencesMap;\n read_only: boolean;\n roles: string[];\n session_active: boolean;\n session_timeout_ms: number;\n startpage?: StartPage;\n timezone: string | null | undefined;\n username: string;\n account_status: AccountStatus;\n service_account: boolean;\n auth_service_enabled: boolean;\n};\n\ntype InternalState = {\n id: string;\n username: string;\n fullName: string;\n firstName: string;\n lastName: string;\n email: string;\n grnPermissions: Immutable.List;\n permissions: Immutable.List;\n timezone: string | null | undefined;\n preferences: PreferencesMap;\n roles: Immutable.Set;\n readOnly: boolean;\n external: boolean;\n sessionTimeoutMs: number;\n startpage?: StartPage;\n sessionActive: boolean;\n clientAddress: string;\n lastActivity: string | null | undefined;\n accountStatus: AccountStatus;\n serviceAccount: boolean;\n authServiceEnabled: boolean;\n};\n\nexport default class User {\n _value: InternalState;\n\n constructor(\n id: $PropertyType,\n username: $PropertyType,\n fullName: $PropertyType,\n firstName: $PropertyType,\n lastName: $PropertyType,\n email: $PropertyType,\n permissions: $PropertyType,\n timezone: $PropertyType,\n preferences: $PropertyType,\n roles: $PropertyType,\n readOnly: $PropertyType,\n external: $PropertyType,\n sessionTimeoutMs: $PropertyType,\n startpage: $PropertyType,\n sessionActive: $PropertyType,\n clientAddress: $PropertyType,\n lastActivity: $PropertyType,\n accountStatus: $PropertyType,\n serviceAccount: $PropertyType,\n grnPermissions: $PropertyType,\n authServiceEnabled: $PropertyType,\n ) {\n this._value = {\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n permissions,\n timezone,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n grnPermissions,\n serviceAccount,\n authServiceEnabled,\n };\n }\n\n get id() {\n return this._value.id;\n }\n\n get username() {\n return this._value.username;\n }\n\n get fullName() {\n return this._value.fullName;\n }\n\n get firstName() {\n return this._value.firstName;\n }\n\n get lastName() {\n return this._value.lastName;\n }\n\n get email() {\n return this._value.email;\n }\n\n get grnPermissions() {\n return this._value.grnPermissions;\n }\n\n get permissions() {\n return this._value.permissions;\n }\n\n get timezone() {\n return this._value.timezone;\n }\n\n get preferences() {\n return this._value.preferences;\n }\n\n get roles() {\n return this._value.roles;\n }\n\n get readOnly() {\n return this._value.readOnly;\n }\n\n get external() {\n return this._value.external;\n }\n\n get accountStatus() {\n return this._value.accountStatus;\n }\n\n get serviceAccount() {\n return this._value.serviceAccount;\n }\n\n get sessionTimeoutMs() {\n return this._value.sessionTimeoutMs;\n }\n\n get sessionTimeout() {\n if (!this.sessionTimeoutMs) {\n return undefined;\n }\n\n const MS_DAY = 24 * 60 * 60 * 1000;\n const MS_HOUR = 60 * 60 * 1000;\n const MS_MINUTE = 60 * 1000;\n const MS_SECOND = 1000;\n\n const _estimateUnit = (value): [number, string] => {\n if (value === 0) {\n return [MS_SECOND, 'Seconds'];\n }\n\n if (value % MS_DAY === 0) {\n return [MS_DAY, 'Days'];\n }\n\n if (value % MS_HOUR === 0) {\n return [MS_HOUR, 'Hours'];\n }\n\n if (value % MS_MINUTE === 0) {\n return [MS_MINUTE, 'Minutes'];\n }\n\n return [MS_SECOND, 'Seconds'];\n };\n\n const unit = _estimateUnit(this.sessionTimeoutMs);\n const value = Math.floor(this.sessionTimeoutMs / unit[0]);\n\n return {\n value,\n unitMS: unit[0],\n unitString: unit[1],\n };\n }\n\n get startpage() {\n return this._value.startpage;\n }\n\n get sessionActive() {\n return this._value.sessionActive;\n }\n\n get clientAddress() {\n return this._value.clientAddress;\n }\n\n get lastActivity() {\n return this._value.lastActivity;\n }\n\n get authServiceEnabled() {\n return this._value.authServiceEnabled;\n }\n\n toBuilder() {\n const {\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n permissions,\n grnPermissions,\n timezone,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n serviceAccount,\n authServiceEnabled,\n } = this._value;\n\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder(Immutable.Map({\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n permissions,\n timezone,\n grnPermissions,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n serviceAccount,\n authServiceEnabled,\n }));\n }\n\n static create(\n id: $PropertyType,\n username: $PropertyType,\n fullName: $PropertyType,\n firstName: $PropertyType,\n lastName: $PropertyType,\n email: $PropertyType,\n permissions: $PropertyType,\n timezone: $PropertyType,\n preferences: $PropertyType,\n roles: $PropertyType,\n readOnly: $PropertyType,\n external: $PropertyType,\n sessionTimeoutMs: $PropertyType,\n startpage: $PropertyType,\n sessionActive: $PropertyType,\n clientAddress: $PropertyType,\n lastActivity: $PropertyType,\n accountStatus: $PropertyType,\n serviceAccount: $PropertyType,\n grnPermissions: $PropertyType,\n authServiceEnabled: $PropertyType,\n ) {\n return new User(\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n permissions,\n timezone,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n serviceAccount,\n grnPermissions,\n authServiceEnabled,\n );\n }\n\n static empty() {\n // @ts-ignore\n return User.create('', '', '', '', Immutable.List(), '', {}, Immutable.Set(), false, false, -1, undefined, false, '', '', 'enabled');\n }\n\n toJSON(): UserJSON {\n const {\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n grnPermissions,\n permissions,\n timezone,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n serviceAccount,\n authServiceEnabled,\n } = this._value;\n\n return {\n id,\n username,\n full_name: fullName,\n first_name: firstName,\n last_name: lastName,\n email,\n grn_permissions: grnPermissions ? grnPermissions.toJS() : [],\n permissions: permissions ? permissions.toArray() : [],\n timezone,\n preferences,\n roles: roles ? roles.toArray() : [],\n read_only: readOnly,\n external,\n session_timeout_ms: sessionTimeoutMs,\n startpage,\n session_active: sessionActive,\n client_address: clientAddress,\n last_activity: lastActivity,\n account_status: accountStatus,\n service_account: serviceAccount,\n auth_service_enabled: authServiceEnabled,\n };\n }\n\n static fromJSON(value: UserJSON) {\n const {\n id,\n username,\n full_name,\n first_name,\n last_name,\n email,\n grn_permissions,\n permissions,\n timezone,\n preferences,\n roles,\n read_only,\n external,\n session_timeout_ms,\n startpage,\n session_active,\n client_address,\n last_activity,\n account_status,\n service_account,\n auth_service_enabled,\n } = value;\n\n return User.create(\n id,\n username,\n full_name,\n first_name,\n last_name,\n email,\n Immutable.List(permissions),\n timezone,\n preferences,\n Immutable.Set(roles),\n read_only,\n external,\n session_timeout_ms,\n startpage,\n session_active,\n client_address,\n last_activity,\n account_status,\n service_account,\n Immutable.List(grn_permissions),\n auth_service_enabled,\n );\n }\n\n static builder(): Builder {\n // eslint-disable-next-line @typescript-eslint/no-use-before-define\n return new Builder();\n }\n}\n\ntype BuilderState = Immutable.Map;\n\nclass Builder {\n value: BuilderState;\n\n constructor(value: BuilderState = Immutable.Map()) {\n this.value = value;\n }\n\n id(value: $PropertyType) {\n return new Builder(this.value.set('id', value));\n }\n\n username(value: $PropertyType) {\n return new Builder(this.value.set('username', value));\n }\n\n fullName(value: $PropertyType) {\n return new Builder(this.value.set('fullName', value));\n }\n\n firstName(value: $PropertyType) {\n return new Builder(this.value.set('firstName', value));\n }\n\n lastName(value: $PropertyType) {\n return new Builder(this.value.set('lastName', value));\n }\n\n email(value: $PropertyType) {\n return new Builder(this.value.set('email', value));\n }\n\n grnPermissions(value: $PropertyType) {\n return new Builder(this.value.set('grnPermissions', value));\n }\n\n permissions(value: $PropertyType) {\n return new Builder(this.value.set('permissions', value));\n }\n\n timezone(value: $PropertyType) {\n return new Builder(this.value.set('timezone', value));\n }\n\n preferences(value: $PropertyType) {\n return new Builder(this.value.set('preferences', value));\n }\n\n roles(value: $PropertyType) {\n return new Builder(this.value.set('roles', value));\n }\n\n readOnly(value: $PropertyType) {\n return new Builder(this.value.set('readOnly', value));\n }\n\n external(value: $PropertyType) {\n return new Builder(this.value.set('external', value));\n }\n\n sessionTimeoutMs(value: $PropertyType) {\n return new Builder(this.value.set('sessionTimeoutMs', value));\n }\n\n startpage(value: $PropertyType) {\n return new Builder(this.value.set('startpage', value));\n }\n\n sessionActive(value: $PropertyType) {\n return new Builder(this.value.set('sessionActive', value));\n }\n\n clientAddress(value: $PropertyType) {\n return new Builder(this.value.set('clientAddress', value));\n }\n\n lastActivity(value: $PropertyType) {\n return new Builder(this.value.set('lastActivity', value));\n }\n\n accountStatus(value: $PropertyType) {\n return new Builder(this.value.set('accountStatus', value));\n }\n\n serviceAccount(value: $PropertyType) {\n return new Builder(this.value.set('serviceAccount', value));\n }\n\n authServiceEnabled(value: $PropertyType) {\n return new Builder(this.value.set('authServiceEnabled', value));\n }\n\n build() {\n const {\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n permissions,\n timezone,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n serviceAccount,\n grnPermissions,\n authServiceEnabled,\n } = this.value.toObject();\n\n return new User(\n id,\n username,\n fullName,\n firstName,\n lastName,\n email,\n permissions,\n timezone,\n preferences,\n roles,\n readOnly,\n external,\n sessionTimeoutMs,\n startpage,\n sessionActive,\n clientAddress,\n lastActivity,\n accountStatus,\n serviceAccount,\n grnPermissions,\n authServiceEnabled,\n );\n }\n}\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport loadAsync from 'routing/loadAsync';\n\nconst AuthenticationBackendCreatePage = loadAsync(() => import('./AuthenticationBackendCreatePage'));\nconst AuthenticationBackendDetailsPage = loadAsync(() => import('./AuthenticationBackendDetailsPage'));\nconst AuthenticationBackendEditPage = loadAsync(() => import('./AuthenticationBackendEditPage'));\nconst AuthenticationCreatePage = loadAsync(() => import('./AuthenticationCreatePage'));\nconst AuthenticationOverviewPage = loadAsync(() => import('./AuthenticationOverviewPage'));\nconst AuthenticationPage = loadAsync(() => import('./AuthenticationPage'));\nconst AuthenticatorsPage = loadAsync(() => import('./AuthenticatorsPage'));\nconst AuthenticatorsEditPage = loadAsync(() => import('./AuthenticatorsEditPage'));\nconst ConfigurationsPage = loadAsync(() => import('./ConfigurationsPage'));\nconst ContentPacksPage = loadAsync(() => import('./ContentPacksPage'));\nconst CreateEventDefinitionPage = loadAsync(() => import('./CreateEventDefinitionPage'));\nconst CreateEventNotificationPage = loadAsync(() => import('./CreateEventNotificationPage'));\nconst CreateContentPackPage = loadAsync(() => import('pages/CreateContentPackPage'));\nconst CreateExtractorsPage = loadAsync(() => import('./CreateExtractorsPage'));\nconst DelegatedSearchPage = loadAsync(() => import('./DelegatedSearchPage'));\nconst EditEventDefinitionPage = loadAsync(() => import('./EditEventDefinitionPage'));\nconst EditEventNotificationPage = loadAsync(() => import('./EditEventNotificationPage'));\nconst EditContentPackPage = loadAsync(() => import('pages/EditContentPackPage'));\nconst EditExtractorsPage = loadAsync(() => import('./EditExtractorsPage'));\nconst EnterprisePage = loadAsync(() => import('./EnterprisePage'));\nconst EventDefinitionsPage = loadAsync(() => import('./EventDefinitionsPage'));\nconst EventNotificationsPage = loadAsync(() => import('./EventNotificationsPage'));\nconst EventsPage = loadAsync(() => import('./EventsPage'));\nconst ExportExtractorsPage = loadAsync(() => import('pages/ExportExtractorsPage'));\nconst ExtractorsPage = loadAsync(() => import('./ExtractorsPage'));\nconst WelcomePage = loadAsync(() => import('./WelcomePage'));\nconst GrokPatternsPage = loadAsync(() => import('./GrokPatternsPage'));\nconst ImportExtractorsPage = loadAsync(() => import('./ImportExtractorsPage'));\nconst IndexerFailuresPage = loadAsync(() => import('./IndexerFailuresPage'));\nconst IndexSetConfigurationPage = loadAsync(() => import('./IndexSetConfigurationPage'));\nconst IndexSetCreationPage = loadAsync(() => import('./IndexSetCreationPage'));\nconst IndexSetPage = loadAsync(() => import('./IndexSetPage'));\nconst IndicesPage = loadAsync(() => import('./IndicesPage'));\nconst InputsPage = loadAsync(() => import('./InputsPage'));\nconst LoadingPage = loadAsync(() => import(/* webpackChunkName: \"LoadingPage\" */ 'pages/LoadingPage'));\nconst LoggersPage = loadAsync(() => import('./LoggersPage'));\nconst LoginPage = loadAsync(() => import(/* webpackChunkName: \"LoginPage\" */ 'pages/LoginPage'));\nconst LUTCachesPage = loadAsync(() => import('./LUTCachesPage'));\nconst LUTDataAdaptersPage = loadAsync(() => import('./LUTDataAdaptersPage'));\nconst LUTTablesPage = loadAsync(() => import('./LUTTablesPage'));\nconst NodeInputsPage = loadAsync(() => import('./NodeInputsPage'));\nconst NodesPage = loadAsync(() => import('./NodesPage'));\nconst NotFoundPage = loadAsync(() => import('./NotFoundPage'));\nconst PipelineDetailsPage = loadAsync(() => import('./PipelineDetailsPage'));\nconst PipelinesOverviewPage = loadAsync(() => import('./PipelinesOverviewPage'));\nconst RoleDetailsPage = loadAsync(() => import('./RoleDetailsPage'));\nconst RoleEditPage = loadAsync(() => import('./RoleEditPage'));\nconst RolesOverviewPage = loadAsync(() => import('./RolesOverviewPage'));\nconst RuleDetailsPage = loadAsync(() => import('./RuleDetailsPage'));\nconst RulesPage = loadAsync(() => import('./RulesPage'));\nconst SecurityPage = loadAsync(() => import('./SecurityPage'));\nconst ShowContentPackPage = loadAsync(() => import('pages/ShowContentPackPage'));\nconst ShowEventNotificationPage = loadAsync(() => import('./ShowEventNotificationPage'));\nconst ShowMessagePage = loadAsync(() => import('./ShowMessagePage'));\nconst ShowMetricsPage = loadAsync(() => import('./ShowMetricsPage'));\nconst ShowNodePage = loadAsync(() => import('./ShowNodePage'));\nconst SidecarAdministrationPage = loadAsync(() => import('pages/SidecarAdministrationPage'));\nconst SidecarConfigurationPage = loadAsync(() => import('pages/SidecarConfigurationPage'));\nconst SidecarEditCollectorPage = loadAsync(() => import('pages/SidecarEditCollectorPage'));\nconst SidecarEditConfigurationPage = loadAsync(() => import('pages/SidecarEditConfigurationPage'));\nconst SidecarNewCollectorPage = loadAsync(() => import('pages/SidecarNewCollectorPage'));\nconst SidecarNewConfigurationPage = loadAsync(() => import('pages/SidecarNewConfigurationPage'));\nconst SidecarFailureTrackingPage = loadAsync(() => import('pages/SidecarFailureTrackingPage'));\nconst SidecarsPage = loadAsync(() => import('pages/SidecarsPage'));\nconst SidecarStatusPage = loadAsync(() => import('pages/SidecarStatusPage'));\nconst SimulatorPage = loadAsync(() => import('./SimulatorPage'));\nconst StartPage = loadAsync(() => import('./StartPage'));\nconst StreamEditPage = loadAsync(() => import('./StreamEditPage'));\nconst StreamOutputsPage = loadAsync(() => import('./StreamOutputsPage'));\nconst StreamsPage = loadAsync(() => import('./StreamsPage'));\nconst SystemOutputsPage = loadAsync(() => import('./SystemOutputsPage'));\nconst SystemOverviewPage = loadAsync(() => import('./SystemOverviewPage'));\nconst SystemLogsPage = loadAsync(() => import('./SystemLogsPage'));\nconst ThreadDumpPage = loadAsync(() => import('./ThreadDumpPage'));\nconst ProcessBufferDumpPage = loadAsync(() => import('./ProcessBufferDumpPage'));\nconst UserCreatePage = loadAsync(() => import('./UserCreatePage'));\nconst UserDetailsPage = loadAsync(() => import('./UserDetailsPage'));\nconst UserEditPage = loadAsync(() => import('./UserEditPage'));\nconst UserTokensEditPage = loadAsync(() => import('./UserTokensEditPage'));\nconst UsersOverviewPage = loadAsync(() => import('./UsersOverviewPage'));\nconst ViewEventDefinitionPage = loadAsync(() => import('./ViewEventDefinitionPage'));\n\nexport {\n AuthenticationCreatePage,\n AuthenticationPage,\n AuthenticationBackendCreatePage,\n AuthenticationBackendDetailsPage,\n AuthenticationBackendEditPage,\n AuthenticationOverviewPage,\n AuthenticatorsPage,\n AuthenticatorsEditPage,\n ConfigurationsPage,\n ContentPacksPage,\n CreateEventDefinitionPage,\n CreateEventNotificationPage,\n CreateContentPackPage,\n CreateExtractorsPage,\n DelegatedSearchPage,\n EditEventDefinitionPage,\n EditEventNotificationPage,\n EditContentPackPage,\n EditExtractorsPage,\n EnterprisePage,\n EventDefinitionsPage,\n EventNotificationsPage,\n EventsPage,\n ExportExtractorsPage,\n ExtractorsPage,\n WelcomePage,\n GrokPatternsPage,\n ImportExtractorsPage,\n IndexerFailuresPage,\n IndexSetConfigurationPage,\n IndexSetCreationPage,\n IndexSetPage,\n IndicesPage,\n InputsPage,\n LoadingPage,\n LoggersPage,\n LoginPage,\n LUTCachesPage,\n LUTDataAdaptersPage,\n LUTTablesPage,\n NodeInputsPage,\n NodesPage,\n NotFoundPage,\n PipelineDetailsPage,\n PipelinesOverviewPage,\n ProcessBufferDumpPage,\n RoleDetailsPage,\n RoleEditPage,\n RolesOverviewPage,\n RuleDetailsPage,\n RulesPage,\n SecurityPage,\n ShowContentPackPage,\n ShowEventNotificationPage,\n ShowMessagePage,\n ShowMetricsPage,\n ShowNodePage,\n SidecarAdministrationPage,\n SidecarConfigurationPage,\n SidecarEditCollectorPage,\n SidecarEditConfigurationPage,\n SidecarNewCollectorPage,\n SidecarNewConfigurationPage,\n SidecarFailureTrackingPage,\n SidecarsPage,\n SidecarStatusPage,\n SimulatorPage,\n StartPage,\n StreamEditPage,\n StreamOutputsPage,\n StreamsPage,\n SystemOutputsPage,\n SystemOverviewPage,\n SystemLogsPage,\n ThreadDumpPage,\n UsersOverviewPage,\n UserCreatePage,\n UserDetailsPage,\n UserEditPage,\n UserTokensEditPage,\n ViewEventDefinitionPage,\n};\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport RuntimeErrorPage from 'pages/RuntimeErrorPage';\n\nclass RouterErrorBoundary extends React.Component {\n static propTypes = {\n children: PropTypes.node,\n };\n\n static defaultProps = {\n children: null,\n };\n\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n componentDidCatch(error, info) {\n this.setState({ error, info });\n }\n\n render() {\n const { error, info } = this.state;\n const { children } = this.props;\n\n if (error) {\n return ;\n }\n\n return children;\n }\n}\n\nexport default RouterErrorBoundary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { ErrorBoundary } from 'react-error-boundary';\n\nimport usePluginEntities from 'hooks/usePluginEntities';\n\ntype Props = {\n children: React.ReactElement,\n};\n\nconst GlobalContextProviders = ({ children }: Props) => {\n const contextProviders = usePluginEntities('globalContextProviders');\n\n if (!contextProviders || contextProviders?.length === 0) {\n return children;\n }\n\n return contextProviders.reduce((nestedChildren, GlobalContextProvider) => (\n nestedChildren}>\n \n {nestedChildren}\n \n \n ), children);\n};\n\nexport default GlobalContextProviders;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport { createBrowserRouter, RouterProvider } from 'react-router-dom';\nimport type { PluginRoute } from 'graylog-web-plugin';\n\nimport App from 'routing/App';\nimport PageContentLayout from 'components/layout/PageContentLayout';\nimport AppConfig from 'util/AppConfig';\nimport RoutePaths from 'routing/Routes';\nimport { appPrefixed } from 'util/URLUtils';\nimport {\n AuthenticationCreatePage,\n AuthenticationBackendCreatePage,\n AuthenticationBackendDetailsPage,\n AuthenticationBackendEditPage,\n AuthenticationOverviewPage,\n AuthenticationPage,\n AuthenticatorsPage,\n AuthenticatorsEditPage,\n ConfigurationsPage,\n ContentPacksPage,\n CreateContentPackPage,\n CreateEventDefinitionPage,\n CreateEventNotificationPage,\n CreateExtractorsPage,\n DelegatedSearchPage,\n EditEventDefinitionPage,\n EditEventNotificationPage,\n EditContentPackPage,\n EditExtractorsPage,\n EnterprisePage,\n EventDefinitionsPage,\n EventNotificationsPage,\n EventsPage,\n ExportExtractorsPage,\n ExtractorsPage,\n WelcomePage,\n GrokPatternsPage,\n ImportExtractorsPage,\n IndexerFailuresPage,\n IndexSetConfigurationPage,\n IndexSetCreationPage,\n IndexSetPage,\n IndicesPage,\n InputsPage,\n LoggersPage,\n LUTCachesPage,\n LUTDataAdaptersPage,\n LUTTablesPage,\n NodeInputsPage,\n NodesPage,\n NotFoundPage,\n PipelineDetailsPage,\n PipelinesOverviewPage,\n ProcessBufferDumpPage,\n RoleDetailsPage,\n RoleEditPage,\n RolesOverviewPage,\n RuleDetailsPage,\n RulesPage,\n SecurityPage,\n ShowContentPackPage,\n ShowEventNotificationPage,\n ShowMessagePage,\n ShowMetricsPage,\n ShowNodePage,\n SidecarAdministrationPage,\n SidecarConfigurationPage,\n SidecarEditCollectorPage,\n SidecarEditConfigurationPage,\n SidecarNewCollectorPage,\n SidecarNewConfigurationPage,\n SidecarsPage,\n SidecarStatusPage,\n SimulatorPage,\n StartPage,\n StreamEditPage,\n StreamOutputsPage,\n StreamsPage,\n SystemOutputsPage,\n SystemOverviewPage,\n ThreadDumpPage,\n SystemLogsPage,\n UserDetailsPage,\n UserCreatePage,\n UserEditPage,\n UserTokensEditPage,\n UsersOverviewPage,\n ViewEventDefinitionPage,\n SidecarFailureTrackingPage,\n} from 'pages';\nimport RouterErrorBoundary from 'components/errors/RouterErrorBoundary';\nimport usePluginEntities from 'hooks/usePluginEntities';\nimport GlobalContextProviders from 'contexts/GlobalContextProviders';\n\nconst renderPluginRoute = ({ path, component: Component, parentComponent, requiredFeatureFlag }: PluginRoute) => {\n if (requiredFeatureFlag && !AppConfig.isFeatureEnabled(requiredFeatureFlag)) {\n return null;\n }\n\n const ParentComponent = parentComponent ?? React.Fragment;\n const WrappedComponent = () => (\n \n \n \n );\n\n return {\n path: appPrefixed(path),\n element: ,\n };\n};\n\nconst routeHasAppParent = (route: PluginRoute) => route.parentComponent === App;\n\nconst AppRouter = () => {\n const pluginRoutes = usePluginEntities('routes');\n const pluginRoutesWithNullParent = pluginRoutes.filter((route) => (route.parentComponent === null)).map((route) => renderPluginRoute({ ...route, parentComponent: GlobalContextProviders }));\n const pluginRoutesWithAppParent = pluginRoutes.filter((route) => routeHasAppParent(route)).map((route) => renderPluginRoute({ ...route, parentComponent: null }));\n const pluginRoutesWithParent = pluginRoutes.filter((route) => (route.parentComponent && !routeHasAppParent(route))).map(renderPluginRoute);\n const standardPluginRoutes = pluginRoutes.filter((route) => (route.parentComponent === undefined)).map(renderPluginRoute);\n\n const isCloud = AppConfig.isCloud();\n\n let enableInputsRoute = true;\n\n if (AppConfig.isCloud()) {\n enableInputsRoute = AppConfig.isFeatureEnabled('cloud_inputs');\n }\n\n const router = createBrowserRouter([\n ...pluginRoutesWithNullParent,\n\n {\n path: RoutePaths.STARTPAGE,\n element: ,\n children: [\n { path: RoutePaths.STARTPAGE, element: },\n { path: RoutePaths.SEARCH, element: },\n ...pluginRoutesWithParent,\n ...pluginRoutesWithAppParent,\n {\n path: `${AppConfig.gl2AppPathPrefix()}/`,\n element: ,\n children: [\n { path: RoutePaths.message_show(':index', ':messageId'), element: },\n { path: RoutePaths.WELCOME, element: },\n { path: RoutePaths.STREAMS, element: },\n { path: RoutePaths.stream_edit(':streamId'), element: },\n !isCloud && { path: RoutePaths.stream_outputs(':streamId'), element: },\n\n { path: RoutePaths.ALERTS.LIST, element: },\n { path: RoutePaths.ALERTS.DEFINITIONS.LIST, element: },\n { path: RoutePaths.ALERTS.DEFINITIONS.CREATE, element: },\n {\n path: RoutePaths.ALERTS.DEFINITIONS.edit(':definitionId'),\n element: ,\n },\n {\n path: RoutePaths.ALERTS.DEFINITIONS.show(':definitionId'),\n element: ,\n },\n { path: RoutePaths.ALERTS.NOTIFICATIONS.LIST, element: },\n { path: RoutePaths.ALERTS.NOTIFICATIONS.CREATE, element: },\n {\n path: RoutePaths.ALERTS.NOTIFICATIONS.edit(':notificationId'),\n element: ,\n },\n {\n path: RoutePaths.ALERTS.NOTIFICATIONS.show(':notificationId'),\n element: ,\n },\n\n enableInputsRoute && { path: RoutePaths.SYSTEM.INPUTS, element: },\n !isCloud && { path: RoutePaths.node_inputs(':nodeId'), element: },\n !isCloud && { path: RoutePaths.global_input_extractors(':inputId'), element: },\n !isCloud && { path: RoutePaths.local_input_extractors(':nodeId', ':inputId'), element: },\n !isCloud && { path: RoutePaths.new_extractor(':nodeId', ':inputId'), element: },\n !isCloud && { path: RoutePaths.edit_extractor(':nodeId', ':inputId', ':extractorId'), element: },\n !isCloud && { path: RoutePaths.import_extractors(':nodeId', ':inputId'), element: },\n !isCloud && { path: RoutePaths.export_extractors(':nodeId', ':inputId'), element: },\n\n { path: `${RoutePaths.SYSTEM.CONFIGURATIONS}/*`, element: },\n\n { path: RoutePaths.SYSTEM.CONTENTPACKS.LIST, element: },\n { path: RoutePaths.SYSTEM.CONTENTPACKS.CREATE, element: },\n {\n path: RoutePaths.SYSTEM.CONTENTPACKS.edit(':contentPackId', ':contentPackRev'),\n element: ,\n },\n { path: RoutePaths.SYSTEM.CONTENTPACKS.show(':contentPackId'), element: },\n\n { path: RoutePaths.SYSTEM.GROKPATTERNS, element: },\n\n { path: RoutePaths.SYSTEM.INDEX_SETS.CREATE, element: },\n { path: RoutePaths.SYSTEM.INDEX_SETS.SHOW(':indexSetId'), element: },\n { path: RoutePaths.SYSTEM.INDEX_SETS.CONFIGURATION(':indexSetId'), element: },\n\n { path: RoutePaths.SYSTEM.INDICES.LIST, element: },\n !isCloud && (\n { path: RoutePaths.SYSTEM.INDICES.FAILURES, element: }\n ),\n\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.CREATE, element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.show(':tableName'), element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.edit(':tableName'), element: },\n\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.CACHES.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.CACHES.CREATE, element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.CACHES.show(':cacheName'), element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.CACHES.edit(':cacheName'), element: },\n\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.CREATE, element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.show(':adapterName'), element: },\n { path: RoutePaths.SYSTEM.LOOKUPTABLES.DATA_ADAPTERS.edit(':adapterName'), element: },\n\n { path: RoutePaths.SYSTEM.PIPELINES.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.PIPELINES.RULES, element: },\n { path: RoutePaths.SYSTEM.PIPELINES.RULE(':ruleId'), element: },\n { path: RoutePaths.SYSTEM.PIPELINES.SIMULATOR, element: },\n { path: RoutePaths.SYSTEM.PIPELINES.PIPELINE(':pipelineId'), element: },\n\n !isCloud && { path: RoutePaths.SYSTEM.LOGGING, element: },\n { path: RoutePaths.SYSTEM.METRICS(':nodeId'), element: },\n !isCloud && { path: RoutePaths.SYSTEM.NODES.LIST, element: },\n !isCloud && { path: RoutePaths.SYSTEM.NODES.SHOW(':nodeId'), element: },\n\n !isCloud && { path: RoutePaths.SYSTEM.OUTPUTS, element: },\n\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.BACKENDS.ACTIVE, element: }\n ),\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.BACKENDS.CREATE, element: }\n ),\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.BACKENDS.OVERVIEW, element: }\n ),\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.BACKENDS.show(':backendId'), element: }\n ),\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.BACKENDS.edit(':backendId'), element: }\n ),\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.BACKENDS.createBackend(':name'), element: }\n ),\n\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.AUTHENTICATORS.SHOW, element: }\n ),\n !isCloud && (\n { path: RoutePaths.SYSTEM.AUTHENTICATION.AUTHENTICATORS.EDIT, element: }\n ),\n\n { path: RoutePaths.SYSTEM.USERS.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.USERS.CREATE, element: },\n { path: RoutePaths.SYSTEM.USERS.show(':userId'), element: },\n { path: RoutePaths.SYSTEM.USERS.edit(':userId'), element: },\n { path: RoutePaths.SYSTEM.USERS.TOKENS.edit(':userId'), element: },\n\n { path: RoutePaths.SYSTEM.AUTHZROLES.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.AUTHZROLES.show(':roleId'), element: },\n { path: RoutePaths.SYSTEM.AUTHZROLES.edit(':roleId'), element: },\n\n { path: RoutePaths.SYSTEM.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.PROCESSBUFFERDUMP(':nodeId'), element: },\n { path: RoutePaths.SYSTEM.THREADDUMP(':nodeId'), element: },\n { path: RoutePaths.SYSTEM.SYSTEMLOGS(':nodeId'), element: },\n { path: RoutePaths.SYSTEM.ENTERPRISE, element: },\n { path: RoutePaths.SECURITY, element: },\n\n { path: RoutePaths.SYSTEM.SIDECARS.OVERVIEW, element: },\n { path: RoutePaths.SYSTEM.SIDECARS.STATUS(':sidecarId'), element: },\n { path: RoutePaths.SYSTEM.SIDECARS.ADMINISTRATION, element: },\n { path: RoutePaths.SYSTEM.SIDECARS.CONFIGURATION, element: },\n { path: RoutePaths.SYSTEM.SIDECARS.FAILURE_TRACKING, element: },\n { path: RoutePaths.SYSTEM.SIDECARS.NEW_CONFIGURATION, element: },\n { path: RoutePaths.SYSTEM.SIDECARS.EDIT_CONFIGURATION(':configurationId'), element: },\n { path: RoutePaths.SYSTEM.SIDECARS.NEW_COLLECTOR, element: },\n { path: RoutePaths.SYSTEM.SIDECARS.EDIT_COLLECTOR(':collectorId'), element: },\n ...standardPluginRoutes,\n { path: '*', element: },\n ].filter((route) => !!route),\n },\n { path: RoutePaths.NOTFOUND, element: },\n ],\n },\n ]);\n\n return (\n \n \n \n );\n};\n\nexport default AppRouter;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\n\nimport useCurrentUser from 'hooks/useCurrentUser';\n\nimport UserPreferencesContext from './UserPreferencesContext';\n\nconst CurrentUserPreferencesProvider = ({ children }: { children: React.ReactElement }) => {\n const currentUser = useCurrentUser();\n const preferences = currentUser?.preferences;\n\n return preferences\n ? (\n \n {children}\n \n )\n : children;\n};\n\nCurrentUserPreferencesProvider.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default CurrentUserPreferencesProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport get from 'lodash/get';\n\nimport { useStore } from 'stores/connect';\nimport User from 'logic/users/User';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\n\nimport CurrentUserContext from './CurrentUserContext';\n\nconst CurrentUserProvider = ({ children }) => {\n const currentUserJSON = useStore(CurrentUserStore, (state) => get(state, 'currentUser'));\n const currentUser = currentUserJSON ? User.fromJSON(currentUserJSON) : undefined;\n\n return currentUser\n ? (\n \n {children}\n \n )\n : children;\n};\n\nCurrentUserProvider.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default CurrentUserProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useCallback, useMemo } from 'react';\n\nimport UserDateTimeContext from 'contexts/UserDateTimeContext';\nimport AppConfig from 'util/AppConfig';\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport type { DateTime, DateTimeFormats } from 'util/DateTime';\nimport { DATE_TIME_FORMATS, getBrowserTimezone, toDateObject } from 'util/DateTime';\n\ntype Props = {\n children: React.ReactNode,\n tz?: string,\n};\n\nconst getUserTimezone = (userTimezone: string, tzOverride?: string) => {\n if (tzOverride) {\n return tzOverride;\n }\n\n return userTimezone ?? getBrowserTimezone() ?? AppConfig.rootTimeZone() ?? 'UTC';\n};\n\n/**\n * Provides methods to convert times based on the user time zone.\n * Should be used when displaying times and the related components are not a suitable option.\n *\n * userTimezone - time zone of the current user.\n * formatTime - method which takes a date and optionally a format and returns it as a string in the current user timezone.\n * For example, it transforms `2010-07-30T16:03:25.000Z` to `2010-07-30 17:03:25` for a user with the timezone `Europe/Berlin`.\n * toUserTimezone - method which takes a date and transforms it a moment date object, based on the user timezone.\n */\n\nconst StaticTimezoneProvider = ({ children, tz }: Required) => {\n const toUserTimezone = useCallback((time: DateTime) => toDateObject(time, undefined, tz), [tz]);\n\n const formatTime = useCallback((time: DateTime, format: DateTimeFormats = 'default') => toUserTimezone(time).format(DATE_TIME_FORMATS[format]), [toUserTimezone]);\n\n const contextValue = useMemo(\n () => ({ toUserTimezone, formatTime, userTimezone: tz }),\n [toUserTimezone, formatTime, tz],\n );\n\n return (\n \n {children}\n \n );\n};\n\nconst CurrentUserDateTimeProvider = ({ children }: Omit) => {\n const currentUser = useCurrentUser();\n const userTimezone = useMemo(() => getUserTimezone(currentUser?.timezone), [currentUser?.timezone]);\n\n return (\n \n {children}\n \n );\n};\n\nconst UserDateTimeProvider = ({ children, tz: tzOverride }: Props) => (tzOverride\n ? (\n \n {children}\n \n )\n : (\n \n {children}\n \n )\n);\n\nUserDateTimeProvider.defaultProps = {\n tz: undefined,\n};\n\nexport default UserDateTimeProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport GraylogThemeProvider from 'theme/GraylogThemeProvider';\nimport GlobalThemeStyles from 'theme/GlobalThemeStyles';\n\nimport CurrentUserPreferencesProvider from './CurrentUserPreferencesProvider';\nimport CurrentUserProvider from './CurrentUserProvider';\nimport UserDateTimeProvider from './UserDateTimeProvider';\n\nconst ThemeAndUserProvider = ({ children }) => (\n \n \n \n \n \n {children}\n \n \n \n \n);\n\nThemeAndUserProvider.propTypes = {\n children: PropTypes.any.isRequired,\n};\n\nexport default ThemeAndUserProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect } from 'react';\n\nimport connect from 'stores/connect';\nimport type { Stream } from 'views/stores/StreamsStore';\nimport { StreamsActions, StreamsStore } from 'views/stores/StreamsStore';\n\nimport StreamsContext from './StreamsContext';\n\ntype Props = {\n children: React.ReactElement,\n streams: Array | undefined | null,\n};\n\nconst StreamsProvider = ({ children, streams }: Props) => {\n useEffect(() => {\n StreamsActions.refresh();\n }, []);\n\n return (\n \n {children}\n \n );\n};\n\nexport default connect(StreamsProvider, { streams: StreamsStore }, ({ streams: { streams } = { streams: undefined } }) => ({ streams }));\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useMemo } from 'react';\nimport type { QueryClientConfig } from '@tanstack/react-query';\nimport { QueryClient, QueryClientProvider } from '@tanstack/react-query';\nimport merge from 'lodash/merge';\n\ntype Props = {\n children: React.ReactNode,\n options?: QueryClientConfig\n};\n\nconst defaultOptions = {\n defaultOptions: {\n queries: {\n refetchOnWindowFocus: false,\n networkMode: 'always' as const,\n },\n },\n};\n\nconst DefaultQueryClientProvider = ({ children, options: optionsProp }: Props) => {\n const options = optionsProp ? merge({}, defaultOptions, optionsProp) : defaultOptions;\n const queryClient = useMemo(() => new QueryClient(options), [options]);\n\n return (\n \n {children}\n \n );\n};\n\nDefaultQueryClientProvider.defaultProps = {\n options: undefined,\n};\n\nexport default DefaultQueryClientProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { ConfirmDialog } from 'components/common';\nimport TelemetryInfoText from 'logic/telemetry/TelemetryInfoText';\n\ntype Props = {\n show: boolean,\n onConfirm: () => void,\n}\n\nconst TelemetryInfoModal = ({ show, onConfirm }: Props) => (\n \n \n \n);\n\nTelemetryInfoModal.propTypes = {\n show: PropTypes.bool.isRequired,\n onConfirm: PropTypes.func.isRequired,\n};\n\nexport default TelemetryInfoModal;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport { Telemetry } from '@graylog/server-api';\n\nconst TELEMETRY_CLUSTER_INFO_QUERY_KEY = 'telemetry.cluster.info';\n\nexport type TelemetryDataType = {\n current_user?: {\n [key: string]: string,\n },\n user_telemetry_settings?: {\n [key: string]: boolean,\n },\n cluster?: {\n [key: string]: string,\n },\n license?: {\n [key: string]: string,\n },\n plugin?: {\n [key: string]: string,\n },\n search_cluster?: {\n [key: string]: string,\n },\n data_nodes?: {\n data_nodes_count: number,\n }\n}\n\nconst useTelemetryData = () => useQuery([TELEMETRY_CLUSTER_INFO_QUERY_KEY], () => Telemetry.get() as Promise, {\n retry: 0,\n keepPreviousData: true,\n notifyOnChangeProps: ['data', 'error'],\n});\n\nexport default useTelemetryData;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useMemo, useEffect, useState, useCallback } from 'react';\nimport { usePostHog } from 'posthog-js/react';\nimport { useTheme } from 'styled-components';\n\nimport { getPathnameWithoutId } from 'util/URLUtils';\nimport type { TelemetryEventType, TelemetryEvent } from 'logic/telemetry/TelemetryContext';\nimport TelemetryContext from 'logic/telemetry/TelemetryContext';\nimport { TelemetrySettingsActions } from 'stores/telemetry/TelemetrySettingsStore';\nimport TelemetryInfoModal from 'logic/telemetry/TelemetryInfoModal';\nimport type { TelemetryDataType } from 'logic/telemetry/useTelemetryData';\nimport useTelemetryData from 'logic/telemetry/useTelemetryData';\n\nconst getGlobalProps = (telemetryData: TelemetryDataType) => {\n const {\n cluster: {\n cluster_id,\n cluster_creation_date,\n nodes_count,\n traffic_last_month,\n users_count,\n license_count,\n node_leader_app_version,\n installation_source,\n },\n license,\n current_user,\n } = telemetryData;\n\n return {\n cluster_id,\n cluster_creation_date,\n installation_source,\n nodes_count,\n traffic_last_month,\n users_count,\n license_count,\n node_leader_app_version,\n ...license,\n ...current_user,\n };\n};\n\nconst TelemetryProvider = ({ children }: { children: React.ReactElement }) => {\n const posthog = usePostHog();\n const theme = useTheme();\n\n const isPosthogLoaded = useCallback(() => (posthog?.__loaded === true), [posthog]);\n\n const { data: telemetryData, isSuccess: isTelemetryDataLoaded, refetch: refetchTelemetryData } = useTelemetryData();\n const [showTelemetryInfo, setShowTelemetryInfo] = useState(false);\n const [globalProps, setGlobalProps] = useState(undefined);\n\n useEffect(() => {\n const app_pathname = getPathnameWithoutId(window.location.pathname);\n\n const setGroup = () => {\n if (isTelemetryDataLoaded\n && telemetryData\n && telemetryData.user_telemetry_settings?.telemetry_enabled) {\n const {\n cluster: { cluster_id: clusterId, ...clusterDetails },\n current_user: { user },\n license,\n plugin,\n search_cluster: searchCluster,\n data_nodes: dataNodes,\n user_telemetry_settings: { telemetry_permission_asked: isPermissionAsked },\n } = telemetryData as TelemetryDataType;\n setGlobalProps(getGlobalProps(telemetryData));\n\n posthog.group('cluster', clusterId, {\n app_pathname,\n app_theme: theme.mode,\n ...clusterDetails,\n ...license,\n ...plugin,\n ...searchCluster,\n ...dataNodes,\n ...getGlobalProps(telemetryData),\n });\n\n posthog.identify(user, { ...getGlobalProps(telemetryData) });\n setShowTelemetryInfo(!isPermissionAsked);\n }\n };\n\n if (isPosthogLoaded()) {\n setGroup();\n }\n }, [posthog, isTelemetryDataLoaded, telemetryData, theme.mode, isPosthogLoaded]);\n\n const TelemetryContextValue = useMemo(() => {\n const sendTelemetry = (eventType: TelemetryEventType, event: TelemetryEvent) => {\n if (isPosthogLoaded() && globalProps) {\n try {\n posthog.capture(eventType, {\n ...event,\n ...globalProps,\n app_theme: theme.mode,\n });\n } catch {\n // eslint-disable-next-line no-console\n console.warn('Could not capture telemetry event.');\n }\n }\n };\n\n return ({\n sendTelemetry,\n });\n }, [globalProps, isPosthogLoaded, posthog, theme.mode]);\n\n const handleConfirmTelemetryDialog = () => {\n TelemetrySettingsActions.update({ telemetry_permission_asked: true, telemetry_enabled: true }).then(() => {\n refetchTelemetryData();\n });\n\n setShowTelemetryInfo(false);\n };\n\n return (\n \n {children}\n {showTelemetryInfo\n && handleConfirmTelemetryDialog()} />}\n \n );\n};\n\nexport default TelemetryProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport isEqual from 'lodash/isEqual';\n\nimport NodesContext from 'contexts/NodesContext';\nimport { useStore } from 'stores/connect';\nimport { NodesStore } from 'stores/nodes/NodesStore';\n\nconst MemoNodesProvider = React.memo(({ children, value }: React.PropsWithChildren<{ value: React.ComponentProps['value'] }>) => (\n \n {children}\n \n), isEqual);\n\nconst NodesProvider = ({ children }: React.PropsWithChildren<{}>) => {\n const value = useStore(NodesStore, ({ nodes }) => Object.fromEntries(\n Object.entries(nodes ?? {}).map(([id, { short_node_id, hostname }]) => [id, { id, short_node_id, hostname }]),\n ));\n\n return (\n \n {children}\n \n );\n};\n\nexport default NodesProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport { useEffect } from 'react';\n\nimport type { ExtractStoreState } from 'stores/connect';\nimport { useStore } from 'stores/connect';\nimport InputsContext from 'contexts/InputsContext';\nimport { InputsStore, InputsActions } from 'stores/inputs/InputsStore';\n\nconst mapInputs = (state: ExtractStoreState) => Object.fromEntries(state?.inputs?.map((input) => [input.id, input]) ?? []);\n\nconst useInputs = () => {\n useEffect(() => { InputsActions.list(); }, []);\n\n return useStore(InputsStore, mapInputs);\n};\n\nconst InputsProvider = ({ children }: React.PropsWithChildren<{}>) => {\n const value = useInputs();\n\n return (\n \n {children}\n \n );\n};\n\nexport default InputsProvider;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport AppRouter from 'routing/AppRouter';\nimport ThemeAndUserProvider from 'contexts/ThemeAndUserProvider';\nimport StreamsProvider from 'contexts/StreamsProvider';\nimport DefaultQueryClientProvider from 'contexts/DefaultQueryClientProvider';\nimport TelemetryProvider from 'logic/telemetry/TelemetryProvider';\nimport NodesProvider from 'contexts/NodesProvider';\nimport InputsProvider from 'contexts/InputsProvider';\n\nconst LoggedInPage = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default LoggedInPage;\n"],"names":["TelemetryInfoText","showProfile","User","id","username","fullName","firstName","lastName","email","permissions","timezone","preferences","roles","readOnly","external","sessionTimeoutMs","startpage","sessionActive","clientAddress","lastActivity","accountStatus","serviceAccount","grnPermissions","authServiceEnabled","MS_DAY","MS_HOUR","MS_MINUTE","MS_SECOND","unit","value","Builder","full_name","first_name","last_name","grn_permissions","read_only","session_timeout_ms","session_active","client_address","last_activity","account_status","service_account","auth_service_enabled","AuthenticationBackendCreatePage","loadAsync","AuthenticationBackendDetailsPage","AuthenticationBackendEditPage","AuthenticationCreatePage","AuthenticationOverviewPage","AuthenticationPage","AuthenticatorsPage","AuthenticatorsEditPage","ConfigurationsPage","ContentPacksPage","CreateEventDefinitionPage","CreateEventNotificationPage","CreateContentPackPage","CreateExtractorsPage","DelegatedSearchPage","EditEventDefinitionPage","EditEventNotificationPage","EditContentPackPage","EditExtractorsPage","EnterprisePage","EventDefinitionsPage","EventNotificationsPage","EventsPage","ExportExtractorsPage","ExtractorsPage","WelcomePage","GrokPatternsPage","ImportExtractorsPage","IndexerFailuresPage","IndexSetConfigurationPage","IndexSetCreationPage","IndexSetPage","IndicesPage","InputsPage","LoadingPage","LoggersPage","LoginPage","LUTCachesPage","LUTDataAdaptersPage","LUTTablesPage","NodeInputsPage","NodesPage","NotFoundPage","PipelineDetailsPage","PipelinesOverviewPage","RoleDetailsPage","RoleEditPage","RolesOverviewPage","RuleDetailsPage","RulesPage","SecurityPage","ShowContentPackPage","ShowEventNotificationPage","ShowMessagePage","ShowMetricsPage","ShowNodePage","SidecarAdministrationPage","SidecarConfigurationPage","SidecarEditCollectorPage","SidecarEditConfigurationPage","SidecarNewCollectorPage","SidecarNewConfigurationPage","SidecarFailureTrackingPage","SidecarsPage","SidecarStatusPage","SimulatorPage","StartPage","StreamEditPage","StreamOutputsPage","StreamsPage","SystemOutputsPage","SystemOverviewPage","SystemLogsPage","ThreadDumpPage","ProcessBufferDumpPage","UserCreatePage","UserDetailsPage","UserEditPage","UserTokensEditPage","UsersOverviewPage","ViewEventDefinitionPage","RouterErrorBoundary","props","error","info","children","RuntimeErrorPage","contextProviders","usePluginEntities","nestedChildren","GlobalContextProvider","renderPluginRoute","path","Component","parentComponent","requiredFeatureFlag","AppConfig","ParentComponent","WrappedComponent","routeHasAppParent","route","App","pluginRoutes","pluginRoutesWithNullParent","pluginRoutesWithAppParent","pluginRoutesWithParent","standardPluginRoutes","isCloud","enableInputsRoute","router","PageContentLayout","CurrentUserPreferencesProvider","currentUser","useCurrentUser","UserPreferencesContext","CurrentUserProvider","currentUserJSON","CurrentUserStore","state","CurrentUserContext","getUserTimezone","userTimezone","tzOverride","StaticTimezoneProvider","tz","toUserTimezone","time","formatTime","format","contextValue","UserDateTimeContext","CurrentUserDateTimeProvider","UserDateTimeProvider","ThemeAndUserProvider","GraylogThemeProvider","GlobalThemeStyles","StreamsProvider","streams","StreamsContext","connect","StreamsStore","defaultOptions","DefaultQueryClientProvider","optionsProp","options","queryClient","TelemetryInfoModal","show","onConfirm","TELEMETRY_CLUSTER_INFO_QUERY_KEY","getGlobalProps","telemetryData","cluster_id","cluster_creation_date","nodes_count","traffic_last_month","users_count","license_count","node_leader_app_version","installation_source","license","current_user","posthog","theme","isPosthogLoaded","isTelemetryDataLoaded","refetchTelemetryData","showTelemetryInfo","setShowTelemetryInfo","globalProps","setGlobalProps","app_pathname","setGroup","clusterId","clusterDetails","user","plugin","searchCluster","dataNodes","isPermissionAsked","TelemetryContextValue","eventType","event","handleConfirmTelemetryDialog","TelemetryContext","MemoNodesProvider","NodesContext","NodesStore","nodes","short_node_id","hostname","mapInputs","input","useInputs","InputsStore","InputsContext"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy