@burdenoff/fe-libs 2026.1119.5 → 2026.1119.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chrome/HeaderThemeSwitcher.js +1 -1
- package/dist/chrome/PersonaSurfaceControls.js +82 -189
- package/dist/chrome/PersonaViewsList.d.ts +28 -0
- package/dist/chrome/PersonaViewsList.js +139 -0
- package/dist/chrome/ThemePreferences.js +16 -16
- package/dist/chrome/appearance/AppearanceColourSection.d.ts +17 -0
- package/dist/chrome/appearance/AppearanceColourSection.js +337 -0
- package/dist/chrome/appearance/AppearanceDisplaySection.d.ts +7 -0
- package/dist/chrome/appearance/AppearanceDisplaySection.js +137 -0
- package/dist/chrome/appearance/AppearanceModeDepth.d.ts +11 -0
- package/dist/chrome/appearance/AppearanceModeDepth.js +158 -0
- package/dist/chrome/appearance/AppearancePreferences.d.ts +13 -0
- package/dist/chrome/appearance/AppearancePreferences.js +308 -0
- package/dist/chrome/appearance/AppearancePreview.d.ts +23 -0
- package/dist/chrome/appearance/AppearancePreview.js +218 -0
- package/dist/chrome/appearance/AppearanceThemeSection.d.ts +14 -0
- package/dist/chrome/appearance/AppearanceThemeSection.js +162 -0
- package/dist/chrome/appearance/ColourPanel.d.ts +37 -0
- package/dist/chrome/appearance/ColourPanel.js +264 -0
- package/dist/chrome/appearance/ThemeDialog.d.ts +21 -0
- package/dist/chrome/appearance/ThemeDialog.js +378 -0
- package/dist/chrome/appearance/appearanceShared.d.ts +24 -0
- package/dist/chrome/appearance/appearanceShared.js +46 -0
- package/dist/chrome/appearance/appearanceUi.d.ts +49 -0
- package/dist/chrome/appearance/appearanceUi.js +98 -0
- package/dist/chrome/appearance/useAppearanceLabels.d.ts +181 -0
- package/dist/chrome/appearance/useAppearanceLabels.js +259 -0
- package/dist/chrome/index.d.ts +1 -0
- package/dist/chrome/personaViewOptions.d.ts +8 -0
- package/dist/chrome/personaViewOptions.js +14 -0
- package/dist/chrome/shell/NewMenu.d.ts +13 -1
- package/dist/chrome/shell/NewMenu.js +27 -14
- package/dist/chrome/shell/ShellSidebar.js +2 -0
- package/dist/chrome/shell/SidebarProfileMenu.d.ts +36 -4
- package/dist/chrome/shell/SidebarProfileMenu.js +423 -331
- package/dist/chrome/shell/WorkspaceAccountCard.d.ts +22 -0
- package/dist/chrome/shell/WorkspaceAccountCard.js +102 -0
- package/dist/chrome/shell/pageHost.d.ts +19 -0
- package/dist/chrome/shell/pageHost.js +21 -0
- package/dist/chrome/shell/pageWidth.d.ts +39 -0
- package/dist/chrome/shell/pageWidth.js +18 -0
- package/dist/chrome/shellLabelManifest.d.ts +6 -0
- package/dist/chrome.js +26 -25
- package/dist/platform-pages/AppearanceSettingsPage.d.ts +11 -1
- package/dist/platform-pages/AppearanceSettingsPage.js +15 -8
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +346 -345
- package/dist/shared/backgrounds/BackgroundSettingsSection.d.ts +11 -0
- package/dist/shared/backgrounds/BackgroundSettingsSection.js +67 -0
- package/dist/shared/backgrounds/backgroundSectionLabels.d.ts +14 -0
- package/dist/shared/backgrounds/backgroundSectionLabels.js +36 -0
- package/dist/shared/backgrounds/index.d.ts +3 -0
- package/dist/shared/backgrounds/useBackgroundColors.js +3 -2
- package/dist/shared/backgrounds/useStartPageBackground.d.ts +12 -0
- package/dist/shared/backgrounds/useStartPageBackground.js +23 -0
- package/dist/shared/providers/AppShellProvider.d.ts +20 -1
- package/dist/shared/providers/AppShellProvider.js +230 -222
- package/dist/shared/providers/shell/PaletteThemeProvider.d.ts +13 -0
- package/dist/shared/providers/shell/PaletteThemeProvider.js +366 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts +9 -76
- package/dist/shared/providers/shell/ThemeProvider.js +63 -55
- package/dist/shared/providers/shell/appearance/colour.d.ts +29 -0
- package/dist/shared/providers/shell/appearance/colour.js +79 -0
- package/dist/shared/providers/shell/appearance/contrastFix.d.ts +70 -0
- package/dist/shared/providers/shell/appearance/contrastFix.js +117 -0
- package/dist/shared/providers/shell/appearance/index.d.ts +9 -0
- package/dist/shared/providers/shell/appearance/model.d.ts +68 -0
- package/dist/shared/providers/shell/appearance/model.js +92 -0
- package/dist/shared/providers/shell/appearance/operations.d.ts +70 -0
- package/dist/shared/providers/shell/appearance/operations.js +160 -0
- package/dist/shared/providers/shell/appearance/palettes.d.ts +111 -0
- package/dist/shared/providers/shell/appearance/palettes.js +460 -0
- package/dist/shared/providers/shell/appearance/storage.d.ts +39 -0
- package/dist/shared/providers/shell/appearance/storage.js +186 -0
- package/dist/shared/providers/shell/appearance/tokens.d.ts +5 -0
- package/dist/shared/providers/shell/appearance/tokens.js +43 -0
- package/dist/shared/providers/shell/appearance/types.d.ts +80 -0
- package/dist/shared/providers/shell/appearance/types.js +28 -0
- package/dist/shared/providers/shell/index.d.ts +1 -1
- package/dist/shared/providers/shell/responsiveDisplaySettings.d.ts +27 -0
- package/dist/shared/providers/shell/responsiveDisplaySettings.js +6 -0
- package/dist/shared/providers/shell/themeContext.d.ts +162 -0
- package/dist/shared/providers/shell/themeContext.js +4 -0
- package/dist/shared-backgrounds.js +4 -1
- package/dist/shell-native/system-bars.d.ts +5 -1
- package/dist/shell-native/system-bars.js +1 -1
- package/dist/ui/dropdown-menu.js +2 -0
- package/dist/ui/popover.js +1 -0
- package/dist/ui/select.js +1 -0
- package/package.json +5 -1
- package/src/shared/styles/page-widths.css +38 -0
- package/src/shared/tokens/build/brands/healthybowl.css +25 -3
- package/src/shared/tokens/build/themes.css +266 -0
- package/src/shared/tokens/display-settings.css +569 -0
- package/src/shared/tokens/tokens.css +4 -0
|
@@ -9,57 +9,57 @@ import { IdentityScopedQueryReset as f } from "./shell/identityScopedQueryReset.
|
|
|
9
9
|
import { WorkspaceWriteRefusedToastListener as p } from "./shell/WorkspaceWriteRefusedToastListener.js";
|
|
10
10
|
import { useShellLabel as m } from "./shell/useShellLabel.js";
|
|
11
11
|
import { ActiveContextProvider as h } from "./shell/ActiveContextProvider.js";
|
|
12
|
-
import { TourPermissionsBoundary as
|
|
13
|
-
import { ContextManagerProvider as
|
|
14
|
-
import { ThemeProvider as
|
|
15
|
-
import { ProfileI18nBridge as
|
|
16
|
-
import { ThemedSelectProvider as
|
|
17
|
-
import { resolveBrowserDirectionMode as
|
|
18
|
-
import { ProfileGeographyBridge as
|
|
19
|
-
import { FeatureFlagsProvider as
|
|
20
|
-
import { GlobalUiProvider as
|
|
21
|
-
import { ShellUiProvider as
|
|
22
|
-
import { FeatureFlagProvider as
|
|
23
|
-
import { TourInitializer as
|
|
24
|
-
import { TourPlayerProvider as
|
|
25
|
-
import { ToursProvider as
|
|
26
|
-
import { tourRouteBootstrap as
|
|
27
|
-
import { ErrorFallback as
|
|
28
|
-
import { BUILDMYIQ_RYBBIT_EVENTS as
|
|
29
|
-
import { GGNOMAD_RYBBIT_EVENTS as
|
|
30
|
-
import { emitProductSlug as D, legacyProductSlug as
|
|
31
|
-
import { TIMECAMPUS_RYBBIT_EVENTS as
|
|
32
|
-
import { THECULTUREPOST_RYBBIT_EVENTS as
|
|
33
|
-
import { FLUIDGRIDS_RYBBIT_EVENTS as
|
|
34
|
-
import { DevtoolsSink as
|
|
35
|
-
import { BroadcastChannelSink as
|
|
36
|
-
import { BackendAuditSink as
|
|
37
|
-
import { OtelBrowserSink as
|
|
38
|
-
import { WebVitalsSink as
|
|
39
|
-
import { setAssistantProductId as
|
|
40
|
-
import { PWAInstallBanner as
|
|
41
|
-
import { DesktopUpdateToast as
|
|
42
|
-
import { EventBusProvider as
|
|
43
|
-
import { getGatewayUrl as
|
|
44
|
-
import { shouldMountWebVitalsSink as
|
|
45
|
-
import { AnalyticsConsentBanner as
|
|
46
|
-
import { SEMANTICFED_ANALYTICS_ROUTES as
|
|
47
|
-
import { COMRADECIRCLE_ANALYTICS_ROUTES as
|
|
48
|
-
import { ATHELETEBRIDGE_ANALYTICS_ROUTES as
|
|
49
|
-
import { attemptTokenRefresh as
|
|
50
|
-
import { SESSION_EXPIRED_EVENT as
|
|
51
|
-
import { AppShellContextProvider as
|
|
52
|
-
import { useReferralAttribution as
|
|
53
|
-
import { ConsoleTransport as
|
|
54
|
-
import { LogManager as
|
|
55
|
-
import { isShellLessRoute as
|
|
56
|
-
import { useRegisterTourRouteCatalog as
|
|
57
|
-
import { BACKEND_ERROR_EVENT as
|
|
58
|
-
import { usePushDeviceRegistration as
|
|
59
|
-
import { Suspense as
|
|
60
|
-
import { Fragment as
|
|
61
|
-
import { BrowserRouter as
|
|
62
|
-
import { Toaster as
|
|
12
|
+
import { TourPermissionsBoundary as ee } from "../tours/TourPermissionsBoundary.js";
|
|
13
|
+
import { ContextManagerProvider as te } from "./shell/ContextManagerProvider.js";
|
|
14
|
+
import { ThemeProvider as g } from "./shell/ThemeProvider.js";
|
|
15
|
+
import { ProfileI18nBridge as _ } from "./shell/ProfileI18nBridge.js";
|
|
16
|
+
import { ThemedSelectProvider as v } from "../../ui/themed-select-context.js";
|
|
17
|
+
import { resolveBrowserDirectionMode as ne } from "./shell/directionMode.js";
|
|
18
|
+
import { ProfileGeographyBridge as re } from "./shell/ProfileGeographyBridge.js";
|
|
19
|
+
import { FeatureFlagsProvider as ie } from "./shell/FeatureFlagsProvider.js";
|
|
20
|
+
import { GlobalUiProvider as y } from "./shell/GlobalUiProvider.js";
|
|
21
|
+
import { ShellUiProvider as ae } from "./shell/ShellUiProvider.js";
|
|
22
|
+
import { FeatureFlagProvider as oe } from "../feature-flags/FeatureFlagProvider.js";
|
|
23
|
+
import { TourInitializer as b } from "../tours/TourInitializer.js";
|
|
24
|
+
import { TourPlayerProvider as x } from "../tours/TourPlayerProvider.js";
|
|
25
|
+
import { ToursProvider as se, useToursContext as S } from "../tours/ToursContext.js";
|
|
26
|
+
import { tourRouteBootstrap as C } from "../tours/routeBootstrap.js";
|
|
27
|
+
import { ErrorFallback as w } from "../components/ErrorFallback.js";
|
|
28
|
+
import { BUILDMYIQ_RYBBIT_EVENTS as T } from "../events/buildmyiq.js";
|
|
29
|
+
import { GGNOMAD_RYBBIT_EVENTS as E } from "../events/ggnomad.js";
|
|
30
|
+
import { emitProductSlug as D, legacyProductSlug as ce } from "../config/productSlug.js";
|
|
31
|
+
import { TIMECAMPUS_RYBBIT_EVENTS as O } from "../events/timecampus.js";
|
|
32
|
+
import { THECULTUREPOST_RYBBIT_EVENTS as le } from "../events/theculturepost.js";
|
|
33
|
+
import { FLUIDGRIDS_RYBBIT_EVENTS as k } from "../events/fluidgrids.js";
|
|
34
|
+
import { DevtoolsSink as ue } from "../events/sinks/DevtoolsSink.js";
|
|
35
|
+
import { BroadcastChannelSink as de } from "../events/sinks/BroadcastChannelSink.js";
|
|
36
|
+
import { BackendAuditSink as fe } from "../events/sinks/BackendAuditSink.js";
|
|
37
|
+
import { OtelBrowserSink as pe } from "../events/sinks/OtelBrowserSink.js";
|
|
38
|
+
import { WebVitalsSink as A } from "../events/sinks/WebVitalsSink.js";
|
|
39
|
+
import { setAssistantProductId as me } from "../assistant/productContext.js";
|
|
40
|
+
import { PWAInstallBanner as he } from "../components/PWAInstallBanner.js";
|
|
41
|
+
import { DesktopUpdateToast as ge } from "../components/DesktopUpdateToast.js";
|
|
42
|
+
import { EventBusProvider as _e, useEventBus as ve } from "../../shared-events.js";
|
|
43
|
+
import { getGatewayUrl as ye } from "../../shared-config.js";
|
|
44
|
+
import { shouldMountWebVitalsSink as be } from "../rum/mount.js";
|
|
45
|
+
import { AnalyticsConsentBanner as xe, DEFAULT_RYBBIT_ALLOWLIST as Se, RybbitSink as j } from "../events/sinks/RybbitSink.js";
|
|
46
|
+
import { SEMANTICFED_ANALYTICS_ROUTES as M, SEMANTICFED_RYBBIT_EVENTS as N } from "../events/semanticfed.js";
|
|
47
|
+
import { COMRADECIRCLE_ANALYTICS_ROUTES as P, COMRADECIRCLE_RYBBIT_EVENTS as F } from "../events/comradecircle.js";
|
|
48
|
+
import { ATHELETEBRIDGE_ANALYTICS_ROUTES as I, ATHELETEBRIDGE_RYBBIT_EVENTS as L } from "../events/atheletebridge.js";
|
|
49
|
+
import { attemptTokenRefresh as Ce, clearAuthSessionStorage as we, getSharedTokenRefreshRefs as Te, isAuthNetworkError as Ee } from "../utils/authErrorHandling.js";
|
|
50
|
+
import { SESSION_EXPIRED_EVENT as R, getStoredAuthToken as De, graphqlFetch as Oe } from "../graphql/fetch.js";
|
|
51
|
+
import { AppShellContextProvider as ke } from "./shell/AppShellContext.js";
|
|
52
|
+
import { useReferralAttribution as z } from "../hooks/useReferralAttribution.js";
|
|
53
|
+
import { ConsoleTransport as Ae } from "../logger/ConsoleTransport.js";
|
|
54
|
+
import { LogManager as je } from "../logger/LogManager.js";
|
|
55
|
+
import { isShellLessRoute as Me } from "../config/shellRoutes.js";
|
|
56
|
+
import { useRegisterTourRouteCatalog as Ne } from "../tours/useTourRouteCatalog.js";
|
|
57
|
+
import { BACKEND_ERROR_EVENT as B, CONNECTION_STATUS_EVENT as V, dispatchBackendErrorEvent as Pe, getBackendErrorToastDedupe as Fe, isBackendErrorDisplay as Ie, shouldToastBackendError as H } from "../utils/backendErrors.js";
|
|
58
|
+
import { usePushDeviceRegistration as Le } from "../hooks/usePushDeviceRegistration.js";
|
|
59
|
+
import { Suspense as Re, useCallback as U, useEffect as W, useMemo as G, useRef as K, useState as ze } from "react";
|
|
60
|
+
import { Fragment as q, jsx as J, jsxs as Y } from "react/jsx-runtime";
|
|
61
|
+
import { BrowserRouter as Be, useLocation as X } from "react-router";
|
|
62
|
+
import { Toaster as Z, toast as Q } from "sonner";
|
|
63
63
|
import { MutationCache as Ve, QueryCache as He, QueryClient as Ue, QueryClientProvider as We } from "@tanstack/react-query";
|
|
64
64
|
// src/shared/providers/AppShellProvider.tsx
|
|
65
65
|
var Ge = {
|
|
@@ -134,11 +134,11 @@ var Ge = {
|
|
|
134
134
|
"coolandlovely.wardrobe.item_added",
|
|
135
135
|
"coolandlovely.search.performed",
|
|
136
136
|
"vibecontrols.agent.registered",
|
|
137
|
-
...
|
|
137
|
+
...k,
|
|
138
|
+
...T,
|
|
139
|
+
...le,
|
|
138
140
|
...E,
|
|
139
|
-
...
|
|
140
|
-
...se,
|
|
141
|
-
...B,
|
|
141
|
+
...L,
|
|
142
142
|
"vibecontrols.agent.gateway_auth_setup",
|
|
143
143
|
"vibecontrols.session.created",
|
|
144
144
|
"vibecontrols.session.started",
|
|
@@ -314,7 +314,7 @@ var Ge = {
|
|
|
314
314
|
"labsofscience.pipeline.run_started",
|
|
315
315
|
"hookmovies.page.viewed",
|
|
316
316
|
"headshotmarketing.page.viewed",
|
|
317
|
-
...
|
|
317
|
+
...O,
|
|
318
318
|
"kadaikodi.page.viewed",
|
|
319
319
|
"kadaikodi.discover.viewed",
|
|
320
320
|
"kadaikodi.discover.searched",
|
|
@@ -377,7 +377,7 @@ function Ze() {
|
|
|
377
377
|
}
|
|
378
378
|
function Qe(e, t) {
|
|
379
379
|
if (!t || t.length === 0 || !e.rybbit) return e;
|
|
380
|
-
let n = e.rybbit.allowlist ??
|
|
380
|
+
let n = e.rybbit.allowlist ?? Se, r = [.../* @__PURE__ */ new Set([...n, ...t])];
|
|
381
381
|
return {
|
|
382
382
|
...e,
|
|
383
383
|
rybbit: {
|
|
@@ -388,20 +388,20 @@ function Qe(e, t) {
|
|
|
388
388
|
}
|
|
389
389
|
var $e = {
|
|
390
390
|
comradecircle: {
|
|
391
|
-
routes:
|
|
392
|
-
events:
|
|
391
|
+
routes: P,
|
|
392
|
+
events: F
|
|
393
393
|
},
|
|
394
394
|
semanticfed: {
|
|
395
|
-
routes:
|
|
396
|
-
events:
|
|
395
|
+
routes: M,
|
|
396
|
+
events: N
|
|
397
397
|
},
|
|
398
398
|
atheletebridge: {
|
|
399
|
-
routes:
|
|
400
|
-
events:
|
|
399
|
+
routes: I,
|
|
400
|
+
events: L
|
|
401
401
|
}
|
|
402
402
|
};
|
|
403
403
|
function et(e, t) {
|
|
404
|
-
let n = Ye(t.VITE_DEPLOY_ENV ?? t.MODE), r = Xe(t, n), i = Ge[e] ?? Ge[
|
|
404
|
+
let n = Ye(t.VITE_DEPLOY_ENV ?? t.MODE), r = Xe(t, n), i = Ge[e] ?? Ge[ce(e)], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = $e[e], c = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
|
|
405
405
|
return {
|
|
406
406
|
enabled: r,
|
|
407
407
|
appVersion: t.VITE_APP_VERSION || "0.0.0",
|
|
@@ -430,11 +430,11 @@ function et(e, t) {
|
|
|
430
430
|
};
|
|
431
431
|
}
|
|
432
432
|
function tt({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
|
|
433
|
-
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } =
|
|
433
|
+
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } = S(), l = U((e, t) => e.steps?.[t], []), u = U((e) => {
|
|
434
434
|
a(e.id, "started"), s("TOUR_STARTED", e.id);
|
|
435
|
-
}, [s, a]), d =
|
|
435
|
+
}, [s, a]), d = U((e) => {
|
|
436
436
|
a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
|
|
437
|
-
}, [s, a]), f =
|
|
437
|
+
}, [s, a]), f = U((e, t) => {
|
|
438
438
|
let n = l(e, t);
|
|
439
439
|
a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
|
|
440
440
|
stepId: n?.id,
|
|
@@ -444,13 +444,13 @@ function tt({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
444
444
|
l,
|
|
445
445
|
s,
|
|
446
446
|
a
|
|
447
|
-
]), m =
|
|
447
|
+
]), m = U((e, t) => {
|
|
448
448
|
let n = l(e, t);
|
|
449
449
|
n && s("STEP_VIEWED", e.id, {
|
|
450
450
|
stepId: n.id,
|
|
451
451
|
stepOrder: n.stepOrder
|
|
452
452
|
});
|
|
453
|
-
}, [l, s]), h =
|
|
453
|
+
}, [l, s]), h = U((e, t) => {
|
|
454
454
|
let n = l(e, t);
|
|
455
455
|
n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
|
|
456
456
|
stepId: n.id,
|
|
@@ -461,7 +461,7 @@ function tt({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
461
461
|
o,
|
|
462
462
|
s
|
|
463
463
|
]);
|
|
464
|
-
return /* @__PURE__ */
|
|
464
|
+
return /* @__PURE__ */ Y(x, {
|
|
465
465
|
scopeKey: c,
|
|
466
466
|
onTourStart: u,
|
|
467
467
|
onTourComplete: d,
|
|
@@ -469,21 +469,21 @@ function tt({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
469
469
|
onStepChange: m,
|
|
470
470
|
onStepComplete: h,
|
|
471
471
|
children: [
|
|
472
|
-
/* @__PURE__ */
|
|
472
|
+
/* @__PURE__ */ J(b, {}),
|
|
473
473
|
e,
|
|
474
|
-
/* @__PURE__ */
|
|
475
|
-
/* @__PURE__ */
|
|
476
|
-
/* @__PURE__ */
|
|
477
|
-
/* @__PURE__ */
|
|
474
|
+
/* @__PURE__ */ J(nt, {}),
|
|
475
|
+
/* @__PURE__ */ J(p, {}),
|
|
476
|
+
/* @__PURE__ */ J(it, {}),
|
|
477
|
+
/* @__PURE__ */ J(Z, {
|
|
478
478
|
position: n,
|
|
479
479
|
richColors: !0,
|
|
480
480
|
closeButton: !0,
|
|
481
481
|
style: qe
|
|
482
482
|
}),
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
-
t && /* @__PURE__ */
|
|
483
|
+
/* @__PURE__ */ J(ge, {}),
|
|
484
|
+
t && /* @__PURE__ */ J(Re, {
|
|
485
485
|
fallback: null,
|
|
486
|
-
children: /* @__PURE__ */
|
|
486
|
+
children: /* @__PURE__ */ J(he, {
|
|
487
487
|
productName: r,
|
|
488
488
|
brandInitial: i
|
|
489
489
|
})
|
|
@@ -492,13 +492,13 @@ function tt({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
494
|
function nt() {
|
|
495
|
-
let e =
|
|
496
|
-
return
|
|
495
|
+
let e = K(null), t = m();
|
|
496
|
+
return W(() => {
|
|
497
497
|
let n = (n) => {
|
|
498
|
-
let r = n instanceof CustomEvent &&
|
|
499
|
-
if (!
|
|
498
|
+
let r = n instanceof CustomEvent && Ie(n.detail) ? n.detail : null;
|
|
499
|
+
if (!H(r)) return;
|
|
500
500
|
Je(r);
|
|
501
|
-
let { key: i, windowMs: a } =
|
|
501
|
+
let { key: i, windowMs: a } = Fe(r), o = Date.now(), s = e.current;
|
|
502
502
|
if (s?.key === i && o - s.shownAt < a) return;
|
|
503
503
|
e.current = {
|
|
504
504
|
key: i,
|
|
@@ -507,13 +507,13 @@ function nt() {
|
|
|
507
507
|
let c = r.messageKey ? t(r.messageKey, r.message) : r.message;
|
|
508
508
|
Q.error(c, { duration: 7e3 });
|
|
509
509
|
};
|
|
510
|
-
return window.addEventListener(
|
|
510
|
+
return window.addEventListener(B, n), () => window.removeEventListener(B, n);
|
|
511
511
|
}, [t]), null;
|
|
512
512
|
}
|
|
513
513
|
var $ = "burdenoff-connection-status", rt = 1500;
|
|
514
514
|
function it() {
|
|
515
|
-
let e =
|
|
516
|
-
return
|
|
515
|
+
let e = K(null), t = K(!1);
|
|
516
|
+
return W(() => {
|
|
517
517
|
let n = () => {
|
|
518
518
|
t.current || (t.current = !0, Q.error("Connection lost. Trying to reconnect…", {
|
|
519
519
|
id: $,
|
|
@@ -535,62 +535,66 @@ function it() {
|
|
|
535
535
|
}, o = () => r(), s = () => {
|
|
536
536
|
e.current &&= (clearTimeout(e.current), null);
|
|
537
537
|
};
|
|
538
|
-
return window.addEventListener(
|
|
539
|
-
window.removeEventListener(
|
|
538
|
+
return window.addEventListener(V, a), window.addEventListener("offline", o), window.addEventListener("online", s), () => {
|
|
539
|
+
window.removeEventListener(V, a), window.removeEventListener("offline", o), window.removeEventListener("online", s), e.current && clearTimeout(e.current);
|
|
540
540
|
};
|
|
541
541
|
}, []), null;
|
|
542
542
|
}
|
|
543
543
|
function at() {
|
|
544
|
-
return
|
|
544
|
+
return Le(), null;
|
|
545
545
|
}
|
|
546
|
-
function ot({ children: t, i18nProductId: n, platformI18nProductId: r, directionMode: i, fallbackTranslations: a, defaultBrand: o, defaultMode: s, defaultDensity: c, defaultTypography: l, defaultGlass: u,
|
|
547
|
-
let
|
|
548
|
-
|
|
549
|
-
let
|
|
546
|
+
function ot({ children: t, i18nProductId: n, platformI18nProductId: r, directionMode: i, fallbackTranslations: a, defaultBrand: o, defaultMode: s, defaultDensity: c, defaultTypography: l, defaultGlass: u, paletteAppearance: d, defaultPalette: f, defaultDarkDepth: p, productName: m, brandInitial: h, enablePWA: te, toasterPosition: ne, tourPageIdFromPath: b, enableWorkspaceTourPermissions: x, themedNativeControls: S, responsiveDisplaySettings: w }) {
|
|
547
|
+
let T = X();
|
|
548
|
+
z();
|
|
549
|
+
let E = C(T.pathname, !!x), D = /* @__PURE__ */ J(re, { children: /* @__PURE__ */ J(ie, { children: /* @__PURE__ */ J(oe, {
|
|
550
550
|
workspaceId: null,
|
|
551
551
|
gateway: "global",
|
|
552
552
|
defaultEnabled: !0,
|
|
553
|
-
children: /* @__PURE__ */
|
|
553
|
+
children: /* @__PURE__ */ J(y, { children: /* @__PURE__ */ J(ae, { children: /* @__PURE__ */ J(e, {
|
|
554
554
|
fallback: null,
|
|
555
|
-
children: /* @__PURE__ */
|
|
556
|
-
enabled:
|
|
557
|
-
children: /* @__PURE__ */
|
|
558
|
-
requireWorkspace:
|
|
559
|
-
disabled:
|
|
560
|
-
getPageIdFromPath:
|
|
561
|
-
children: /* @__PURE__ */
|
|
562
|
-
enablePWA:
|
|
563
|
-
toasterPosition:
|
|
564
|
-
productName:
|
|
565
|
-
brandInitial:
|
|
566
|
-
children: [/* @__PURE__ */
|
|
555
|
+
children: /* @__PURE__ */ J(ee, {
|
|
556
|
+
enabled: E.workspacePermissions,
|
|
557
|
+
children: /* @__PURE__ */ J(se, {
|
|
558
|
+
requireWorkspace: E.requireWorkspace,
|
|
559
|
+
disabled: E.toursDisabled,
|
|
560
|
+
getPageIdFromPath: b,
|
|
561
|
+
children: /* @__PURE__ */ Y(tt, {
|
|
562
|
+
enablePWA: te,
|
|
563
|
+
toasterPosition: ne,
|
|
564
|
+
productName: m,
|
|
565
|
+
brandInitial: h,
|
|
566
|
+
children: [/* @__PURE__ */ J(at, {}), t]
|
|
567
567
|
})
|
|
568
568
|
})
|
|
569
569
|
})
|
|
570
570
|
}) }) })
|
|
571
571
|
}) }) });
|
|
572
|
-
return /* @__PURE__ */
|
|
572
|
+
return /* @__PURE__ */ Y(g, {
|
|
573
573
|
defaultBrand: o,
|
|
574
574
|
defaultMode: s,
|
|
575
575
|
defaultDensity: c,
|
|
576
576
|
defaultTypography: l,
|
|
577
577
|
defaultGlass: u,
|
|
578
|
-
themedNativeControls:
|
|
579
|
-
|
|
578
|
+
themedNativeControls: S,
|
|
579
|
+
responsiveDisplaySettings: w,
|
|
580
|
+
paletteAppearance: d,
|
|
581
|
+
defaultPalette: f,
|
|
582
|
+
defaultDarkDepth: p,
|
|
583
|
+
children: [/* @__PURE__ */ J(st, {}), /* @__PURE__ */ J(_, {
|
|
580
584
|
i18nProductId: n,
|
|
581
585
|
platformI18nProductId: r,
|
|
582
586
|
directionMode: i,
|
|
583
587
|
fallbackTranslations: a,
|
|
584
|
-
children: /* @__PURE__ */
|
|
585
|
-
enabled:
|
|
586
|
-
children:
|
|
588
|
+
children: /* @__PURE__ */ J(v, {
|
|
589
|
+
enabled: S,
|
|
590
|
+
children: D
|
|
587
591
|
})
|
|
588
592
|
})]
|
|
589
593
|
});
|
|
590
594
|
}
|
|
591
595
|
function st() {
|
|
592
|
-
let e =
|
|
593
|
-
return
|
|
596
|
+
let e = X();
|
|
597
|
+
return W(() => {
|
|
594
598
|
e.hash || requestAnimationFrame(() => {
|
|
595
599
|
window.scrollTo({
|
|
596
600
|
top: 0,
|
|
@@ -618,8 +622,8 @@ function ct(e) {
|
|
|
618
622
|
}
|
|
619
623
|
}
|
|
620
624
|
function lt() {
|
|
621
|
-
let e =
|
|
622
|
-
return
|
|
625
|
+
let e = ve(), o = X(), s = K(void 0), c = K(void 0), l = K(null);
|
|
626
|
+
return W(() => {
|
|
623
627
|
let t = `${o.pathname}${o.search}${o.hash}`;
|
|
624
628
|
if (c.current !== t) return l.current && clearTimeout(l.current), l.current = setTimeout(() => {
|
|
625
629
|
l.current = null;
|
|
@@ -639,7 +643,7 @@ function lt() {
|
|
|
639
643
|
o.hash,
|
|
640
644
|
o.pathname,
|
|
641
645
|
o.search
|
|
642
|
-
]),
|
|
646
|
+
]), W(() => {
|
|
643
647
|
let t = (t) => {
|
|
644
648
|
e.emit("error.runtime.caught", {
|
|
645
649
|
message: t.message || "Runtime error",
|
|
@@ -654,7 +658,7 @@ function lt() {
|
|
|
654
658
|
return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
|
|
655
659
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
656
660
|
};
|
|
657
|
-
}, [e]),
|
|
661
|
+
}, [e]), W(() => {
|
|
658
662
|
let o = (e, t) => ({
|
|
659
663
|
metric: t,
|
|
660
664
|
value: e.value,
|
|
@@ -667,22 +671,22 @@ function lt() {
|
|
|
667
671
|
}
|
|
668
672
|
function ut({ register: e }) {
|
|
669
673
|
let { getAccessToken: t } = c();
|
|
670
|
-
return
|
|
674
|
+
return W(() => (e(t), () => e(null)), [t, e]), null;
|
|
671
675
|
}
|
|
672
676
|
function dt({ config: e, productSlug: t, productName: n, privacyConsent: r, privacyConsentReopen: i, privacyConsentPlacement: a, consentRouteDenylist: o, rybbitSkipRoutes: s, globalGraphqlUrl: c, getAccessToken: l }) {
|
|
673
|
-
let { pathname: u } =
|
|
674
|
-
return /* @__PURE__ */
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
r && !d ? /* @__PURE__ */
|
|
677
|
+
let { pathname: u } = X(), d = Me(u) || o?.(u) === !0;
|
|
678
|
+
return /* @__PURE__ */ Y(q, { children: [
|
|
679
|
+
/* @__PURE__ */ J(lt, {}),
|
|
680
|
+
r && !d ? /* @__PURE__ */ J(xe, {
|
|
677
681
|
productName: n,
|
|
678
682
|
reopenable: i,
|
|
679
683
|
placement: a
|
|
680
684
|
}) : null,
|
|
681
|
-
e.enabled === !1 ? null : /* @__PURE__ */
|
|
682
|
-
e.devtools ? /* @__PURE__ */
|
|
683
|
-
e.broadcast === !1 ? null : /* @__PURE__ */
|
|
684
|
-
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */
|
|
685
|
-
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */
|
|
685
|
+
e.enabled === !1 ? null : /* @__PURE__ */ Y(q, { children: [
|
|
686
|
+
e.devtools ? /* @__PURE__ */ J(ue, { enabled: !0 }) : null,
|
|
687
|
+
e.broadcast === !1 ? null : /* @__PURE__ */ J(de, {}),
|
|
688
|
+
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ J(fe, { endpoint: e.backendAudit.endpoint }) : null,
|
|
689
|
+
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ J(j, {
|
|
686
690
|
siteId: e.rybbit.siteId,
|
|
687
691
|
scriptUrl: e.rybbit.scriptUrl,
|
|
688
692
|
eventEndpoint: e.rybbit.eventEndpoint,
|
|
@@ -693,13 +697,13 @@ function dt({ config: e, productSlug: t, productName: n, privacyConsent: r, priv
|
|
|
693
697
|
skipRoutes: s,
|
|
694
698
|
pathname: u
|
|
695
699
|
}) : null,
|
|
696
|
-
|
|
700
|
+
be(e) ? /* @__PURE__ */ J(A, {
|
|
697
701
|
product: D(t),
|
|
698
702
|
endpoint: e.rum?.endpoint || c,
|
|
699
703
|
getAccessToken: l,
|
|
700
704
|
config: e.rum
|
|
701
705
|
}) : null,
|
|
702
|
-
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */
|
|
706
|
+
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ J(pe, {
|
|
703
707
|
endpoint: e.otel.endpoint,
|
|
704
708
|
serviceName: e.otel.serviceName ?? `${t}-app`,
|
|
705
709
|
flushInterval: e.otel.flushInterval
|
|
@@ -708,16 +712,16 @@ function dt({ config: e, productSlug: t, productName: n, privacyConsent: r, priv
|
|
|
708
712
|
] });
|
|
709
713
|
}
|
|
710
714
|
function ft({ config: t, children: n, clearAuthStore: r }) {
|
|
711
|
-
let { productName: i, productSlug: a = i.toLowerCase().replace(/\s+/g, ""), tagline: c = "", domain: p, i18nProductId: m, platformI18nProductId:
|
|
712
|
-
|
|
713
|
-
let [
|
|
714
|
-
enabled:
|
|
715
|
-
allowPreview:
|
|
716
|
-
})),
|
|
717
|
-
|
|
715
|
+
let { productName: i, productSlug: a = i.toLowerCase().replace(/\s+/g, ""), tagline: c = "", domain: p, i18nProductId: m, platformI18nProductId: ee, rtl: g, gatewayUrls: _, authBridge: v, defaultBrand: re = "default", defaultMode: ie, defaultDensity: y, defaultTypography: ae, defaultGlass: oe, paletteAppearance: b = !1, defaultPalette: x, defaultDarkDepth: se, enablePWA: S = !0, brandInitial: C = i.charAt(0), defaultGateway: T = "workspace", enableSubscriptions: E = !0, fallbackTranslations: ce, queryClientOptions: O, toasterPosition: le = "bottom-right", observability: k, privacyConsent: ue = !1, privacyConsentReopen: de = !1, privacyConsentPlacement: fe = "start", consentRouteDenylist: pe, rybbitEvents: A, rybbitSkipRoutes: he, tourPageIdFromPath: ge, tourRouteCatalog: ve, enableWorkspaceTourPermissions: be = !1, workspaceOperationGuard: xe = "off", themedNativeControls: Se = !1, responsiveDisplaySettings: j = !1 } = t;
|
|
716
|
+
Ne(a, ve), W(() => me(D(a)), [a]);
|
|
717
|
+
let [M] = ze(() => ne({
|
|
718
|
+
enabled: g?.enabled,
|
|
719
|
+
allowPreview: g?.preview
|
|
720
|
+
})), N = G(() => Qe(k ?? et(a, Ze()), A), [
|
|
721
|
+
k,
|
|
718
722
|
a,
|
|
719
|
-
|
|
720
|
-
]),
|
|
723
|
+
A
|
|
724
|
+
]), P = G(() => ({
|
|
721
725
|
productName: i,
|
|
722
726
|
productSlug: a,
|
|
723
727
|
brandInitial: C,
|
|
@@ -729,7 +733,7 @@ function ft({ config: t, children: n, clearAuthStore: r }) {
|
|
|
729
733
|
C,
|
|
730
734
|
c,
|
|
731
735
|
p
|
|
732
|
-
]),
|
|
736
|
+
]), F = K(!1), I = K(!!v?.url), L = U((e) => {
|
|
733
737
|
if (!e?.force && (() => {
|
|
734
738
|
try {
|
|
735
739
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -739,21 +743,21 @@ function ft({ config: t, children: n, clearAuthStore: r }) {
|
|
|
739
743
|
} catch {
|
|
740
744
|
return !1;
|
|
741
745
|
}
|
|
742
|
-
})() ||
|
|
743
|
-
|
|
746
|
+
})() || I.current || F.current) return;
|
|
747
|
+
F.current = !0, we(r);
|
|
744
748
|
let t = `${window.location.pathname}${window.location.search}`, n = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(t)}`, i = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
|
|
745
|
-
window.location.pathname.startsWith("/auth/") ||
|
|
746
|
-
}, [r]),
|
|
747
|
-
globalBaseUrl:
|
|
748
|
-
...
|
|
749
|
-
}), [
|
|
750
|
-
window.location.pathname.startsWith("/auth/") || await
|
|
751
|
-
}, [
|
|
752
|
-
|
|
753
|
-
}, [
|
|
754
|
-
let t = await
|
|
749
|
+
window.location.pathname.startsWith("/auth/") || Me(window.location.pathname) || i ? F.current = !1 : window.location.replace(n);
|
|
750
|
+
}, [r]), z = G(() => ({
|
|
751
|
+
globalBaseUrl: _.globalBaseUrl,
|
|
752
|
+
...Te()
|
|
753
|
+
}), [_.globalBaseUrl]), B = U(async () => Ce(z), [z]), V = U(async () => {
|
|
754
|
+
window.location.pathname.startsWith("/auth/") || await B() || L({ force: !0 });
|
|
755
|
+
}, [B, L]), Fe = U(async (e) => {
|
|
756
|
+
Ee(e) ? await B() || L({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
757
|
+
}, [B, L]), Ie = U(async (e) => {
|
|
758
|
+
let t = await Oe({
|
|
755
759
|
gateway: "global",
|
|
756
|
-
baseUrl:
|
|
760
|
+
baseUrl: _.globalBaseUrl,
|
|
757
761
|
authToken: "",
|
|
758
762
|
query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
|
|
759
763
|
variables: { token: e }
|
|
@@ -765,109 +769,113 @@ function ft({ config: t, children: n, clearAuthStore: r }) {
|
|
|
765
769
|
refreshToken: n.refreshToken,
|
|
766
770
|
expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
|
|
767
771
|
};
|
|
768
|
-
}, [
|
|
769
|
-
|
|
770
|
-
}, []),
|
|
771
|
-
let e =
|
|
772
|
-
return e ? e() :
|
|
773
|
-
}, []),
|
|
772
|
+
}, [_.globalBaseUrl]), H = K(null), Le = U((e) => {
|
|
773
|
+
H.current = e;
|
|
774
|
+
}, []), Re = U(() => {
|
|
775
|
+
let e = H.current;
|
|
776
|
+
return e ? e() : De();
|
|
777
|
+
}, []), q = G(() => ye(_.globalBaseUrl, "global"), [_.globalBaseUrl]), X = U(() => l("organization"), []), Z = G(() => {
|
|
774
778
|
let e = new Ue({
|
|
775
779
|
queryCache: new He({ onError: (e) => {
|
|
776
|
-
|
|
780
|
+
Pe(e);
|
|
777
781
|
} }),
|
|
778
782
|
mutationCache: new Ve({
|
|
779
783
|
onSuccess: () => {
|
|
780
784
|
e.invalidateQueries();
|
|
781
785
|
},
|
|
782
786
|
onError: (e) => {
|
|
783
|
-
|
|
787
|
+
Pe(e);
|
|
784
788
|
}
|
|
785
789
|
}),
|
|
786
790
|
defaultOptions: { queries: {
|
|
787
|
-
staleTime:
|
|
788
|
-
retry:
|
|
789
|
-
refetchOnWindowFocus:
|
|
791
|
+
staleTime: O?.staleTime ?? 3e5,
|
|
792
|
+
retry: O?.retry ?? 2,
|
|
793
|
+
refetchOnWindowFocus: O?.refetchOnWindowFocus ?? !1
|
|
790
794
|
} }
|
|
791
795
|
});
|
|
792
796
|
return e;
|
|
793
|
-
}, [
|
|
794
|
-
return
|
|
797
|
+
}, [O]), Q = d(Z);
|
|
798
|
+
return W(() => {
|
|
795
799
|
let e = () => {
|
|
796
|
-
|
|
800
|
+
L({ force: !0 });
|
|
797
801
|
};
|
|
798
|
-
return window.addEventListener(
|
|
799
|
-
window.removeEventListener(
|
|
802
|
+
return window.addEventListener(R, e), () => {
|
|
803
|
+
window.removeEventListener(R, e);
|
|
800
804
|
};
|
|
801
|
-
}, [
|
|
802
|
-
let e =
|
|
803
|
-
e.getLogger("shell") || e.getLogger("shell").addTransport(new
|
|
804
|
-
}, []), /* @__PURE__ */
|
|
805
|
-
value:
|
|
806
|
-
children: /* @__PURE__ */
|
|
805
|
+
}, [L]), W(() => {
|
|
806
|
+
let e = je.getInstance();
|
|
807
|
+
e.getLogger("shell") || e.getLogger("shell").addTransport(new Ae());
|
|
808
|
+
}, []), /* @__PURE__ */ J(ke, {
|
|
809
|
+
value: P,
|
|
810
|
+
children: /* @__PURE__ */ J(_e, {
|
|
807
811
|
appName: a,
|
|
808
|
-
appVersion:
|
|
809
|
-
appEnv:
|
|
812
|
+
appVersion: N.appVersion,
|
|
813
|
+
appEnv: N.appEnv,
|
|
810
814
|
sourceMfe: a,
|
|
811
|
-
children: /* @__PURE__ */
|
|
812
|
-
FallbackComponent:
|
|
813
|
-
children: /* @__PURE__ */
|
|
814
|
-
config:
|
|
815
|
+
children: /* @__PURE__ */ J(e, {
|
|
816
|
+
FallbackComponent: w,
|
|
817
|
+
children: /* @__PURE__ */ Y(Be, { children: [/* @__PURE__ */ J(dt, {
|
|
818
|
+
config: N,
|
|
815
819
|
productSlug: a,
|
|
816
|
-
globalGraphqlUrl:
|
|
817
|
-
getAccessToken:
|
|
820
|
+
globalGraphqlUrl: q,
|
|
821
|
+
getAccessToken: Re,
|
|
818
822
|
productName: i,
|
|
819
|
-
privacyConsent:
|
|
820
|
-
privacyConsentReopen:
|
|
821
|
-
privacyConsentPlacement:
|
|
822
|
-
consentRouteDenylist:
|
|
823
|
-
rybbitSkipRoutes:
|
|
824
|
-
}), /* @__PURE__ */
|
|
825
|
-
client:
|
|
826
|
-
children: /* @__PURE__ */
|
|
827
|
-
workspaceBaseUrl:
|
|
828
|
-
globalBaseUrl:
|
|
829
|
-
organizationId:
|
|
823
|
+
privacyConsent: ue,
|
|
824
|
+
privacyConsentReopen: de,
|
|
825
|
+
privacyConsentPlacement: fe,
|
|
826
|
+
consentRouteDenylist: pe,
|
|
827
|
+
rybbitSkipRoutes: he
|
|
828
|
+
}), /* @__PURE__ */ J(We, {
|
|
829
|
+
client: Z,
|
|
830
|
+
children: /* @__PURE__ */ Y(s, { children: [/* @__PURE__ */ J(ut, { register: Le }), /* @__PURE__ */ J(u, {
|
|
831
|
+
workspaceBaseUrl: _.workspaceBaseUrl,
|
|
832
|
+
globalBaseUrl: _.globalBaseUrl,
|
|
833
|
+
organizationId: X,
|
|
830
834
|
productSlug: a,
|
|
831
|
-
defaultGateway:
|
|
832
|
-
enableSubscriptions:
|
|
833
|
-
onAuthError:
|
|
834
|
-
onNetworkError:
|
|
835
|
-
onRefreshToken:
|
|
836
|
-
workspaceOperationGuard:
|
|
837
|
-
children: /* @__PURE__ */
|
|
838
|
-
bridgeUrl:
|
|
839
|
-
bridgeAllowedOrigins:
|
|
840
|
-
bridgeDebug:
|
|
841
|
-
onRefreshToken:
|
|
835
|
+
defaultGateway: T,
|
|
836
|
+
enableSubscriptions: E,
|
|
837
|
+
onAuthError: V,
|
|
838
|
+
onNetworkError: Fe,
|
|
839
|
+
onRefreshToken: B,
|
|
840
|
+
workspaceOperationGuard: xe,
|
|
841
|
+
children: /* @__PURE__ */ Y(o, {
|
|
842
|
+
bridgeUrl: v?.url,
|
|
843
|
+
bridgeAllowedOrigins: v?.allowedOrigins,
|
|
844
|
+
bridgeDebug: v?.debug,
|
|
845
|
+
onRefreshToken: Ie,
|
|
842
846
|
onBridgeReady: () => {
|
|
843
|
-
|
|
847
|
+
I.current = !1;
|
|
844
848
|
},
|
|
845
849
|
onSessionExpiringSoon: () => {
|
|
846
850
|
console.warn("[Auth] Session will expire in 5 minutes");
|
|
847
851
|
},
|
|
848
852
|
onTokenExpired: () => {
|
|
849
|
-
|
|
853
|
+
L();
|
|
850
854
|
},
|
|
851
|
-
onBeforeIdentityChange:
|
|
852
|
-
children: [/* @__PURE__ */
|
|
855
|
+
onBeforeIdentityChange: Q.onBeforeIdentityChange,
|
|
856
|
+
children: [/* @__PURE__ */ J(f, { announcementsRef: Q.announcementsRef }), /* @__PURE__ */ J(h, {
|
|
853
857
|
syncToUrl: !0,
|
|
854
|
-
children: /* @__PURE__ */
|
|
858
|
+
children: /* @__PURE__ */ J(te, { children: /* @__PURE__ */ J(ot, {
|
|
855
859
|
i18nProductId: m,
|
|
856
|
-
platformI18nProductId:
|
|
857
|
-
directionMode:
|
|
858
|
-
fallbackTranslations:
|
|
859
|
-
defaultBrand:
|
|
860
|
-
defaultMode:
|
|
861
|
-
defaultDensity:
|
|
862
|
-
defaultTypography:
|
|
863
|
-
defaultGlass:
|
|
860
|
+
platformI18nProductId: ee,
|
|
861
|
+
directionMode: M,
|
|
862
|
+
fallbackTranslations: ce,
|
|
863
|
+
defaultBrand: re,
|
|
864
|
+
defaultMode: ie,
|
|
865
|
+
defaultDensity: y,
|
|
866
|
+
defaultTypography: ae,
|
|
867
|
+
defaultGlass: oe,
|
|
868
|
+
paletteAppearance: b,
|
|
869
|
+
defaultPalette: x,
|
|
870
|
+
defaultDarkDepth: se,
|
|
864
871
|
productName: i,
|
|
865
872
|
brandInitial: C,
|
|
866
873
|
enablePWA: S,
|
|
867
|
-
toasterPosition:
|
|
868
|
-
tourPageIdFromPath:
|
|
869
|
-
enableWorkspaceTourPermissions:
|
|
870
|
-
themedNativeControls:
|
|
874
|
+
toasterPosition: le,
|
|
875
|
+
tourPageIdFromPath: ge,
|
|
876
|
+
enableWorkspaceTourPermissions: be,
|
|
877
|
+
themedNativeControls: Se,
|
|
878
|
+
responsiveDisplaySettings: j,
|
|
871
879
|
children: n
|
|
872
880
|
}) })
|
|
873
881
|
})]
|