@burdenoff/fe-libs 2026.1115.13 → 2026.1116.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shared/assistant/history/useHistoryRowControls.d.ts +16 -0
- package/dist/shared/assistant/history/useHistoryRowControls.js +38 -14
- package/dist/shared/assistant/i18nManifest.d.ts +9 -0
- package/dist/shared/assistant/i18nManifest.js +9 -0
- package/dist/shared/assistant/index.d.ts +2 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts +16 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.js +247 -223
- package/dist/shared/assistant/ui/AssistantChatArea.js +1355 -1347
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts +6 -0
- package/dist/shared/assistant/ui/AssistantOverlay.js +4 -2
- package/dist/shared/assistant/ui/AssistantPageHost.d.ts +14 -1
- package/dist/shared/assistant/ui/AssistantPageHost.js +32 -19
- package/dist/shared/assistant/ui/AssistantRenameConversationDialog.d.ts +33 -0
- package/dist/shared/assistant/ui/AssistantRenameConversationDialog.js +70 -0
- package/dist/shared/assistant/ui/assistantPageBar.d.ts +33 -0
- package/dist/shared/assistant/ui/assistantPageBar.js +53 -0
- package/dist/shared/assistant/ui/assistantPageLayout.d.ts +20 -0
- package/dist/shared/assistant/ui/assistantPageLayout.js +10 -2
- package/dist/shared/assistant/ui/assistantPageStart.d.ts +17 -0
- package/dist/shared/assistant/ui/assistantPageStart.js +7 -4
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.d.ts +30 -0
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.js +174 -53
- package/dist/shared/assistant/ui/compact/AssistantPageBar.d.ts +19 -0
- package/dist/shared/assistant/ui/compact/AssistantPageBar.js +24 -19
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +2 -0
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +347 -340
- package/dist/shared/assistant/ui/composer/AssistantDictation.d.ts +5 -0
- package/dist/shared/assistant/ui/composer/AssistantDictation.js +41 -40
- package/dist/shared/assistant/ui/composer/pageBoxClass.d.ts +28 -1
- package/dist/shared/assistant/ui/composer/pageBoxClass.js +17 -1
- package/dist/shared/assistant/ui/conversationDeleteDialog.d.ts +14 -4
- package/dist/shared/assistant/ui/conversationDeleteDialog.js +7 -6
- package/dist/shared/assistant/ui/voice/AssistantVoiceSessionButton.js +1 -1
- package/dist/shared/assistant/ui/voice/LiveWaveform.js +1 -1
- package/dist/shared/events/index.d.ts +7 -2
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts +5 -0
- package/dist/shared/events/sinks/WebVitalsSink.d.ts +25 -0
- package/dist/shared/events/sinks/WebVitalsSink.js +51 -0
- package/dist/shared/events/sinks/index.d.ts +3 -0
- package/dist/shared/events/sinks/index.js +2 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/providers/AppShellProvider.d.ts +16 -0
- package/dist/shared/providers/AppShellProvider.js +291 -292
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +6 -6
- package/dist/shared/rum/context.d.ts +24 -0
- package/dist/shared/rum/context.js +40 -0
- package/dist/shared/rum/index.d.ts +14 -0
- package/dist/shared/rum/mount.d.ts +12 -0
- package/dist/shared/rum/mount.js +5 -0
- package/dist/shared/rum/reporter.d.ts +22 -0
- package/dist/shared/rum/reporter.js +166 -0
- package/dist/shared/rum/types.d.ts +56 -0
- package/dist/shared-assistant.js +256 -254
- package/dist/shared-events.js +29 -28
- package/dist/shared.js +78 -74
- package/dist/ui/glass-card.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,64 +1,67 @@
|
|
|
1
1
|
import { ErrorBoundary as e } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
|
|
2
|
-
import { onCLS as t,
|
|
3
|
-
import { AuthProvider as
|
|
4
|
-
import { AuthTokenProvider as
|
|
5
|
-
import { readActiveContextValueWithUrlPrecedence as
|
|
6
|
-
import { MultiGatewayProvider as
|
|
7
|
-
import { useIdentityQueryReset as
|
|
8
|
-
import { IdentityScopedQueryReset as
|
|
9
|
-
import { WorkspaceWriteRefusedToastListener as
|
|
10
|
-
import { useShellLabel as
|
|
11
|
-
import { ActiveContextProvider as
|
|
12
|
-
import { TourPermissionsBoundary as
|
|
13
|
-
import { ContextManagerProvider as
|
|
14
|
-
import { ThemeProvider as
|
|
15
|
-
import { ProfileI18nBridge as
|
|
16
|
-
import { resolveBrowserDirectionMode as
|
|
17
|
-
import { ProfileGeographyBridge as
|
|
18
|
-
import { FeatureFlagsProvider as
|
|
19
|
-
import { GlobalUiProvider as
|
|
20
|
-
import { ShellUiProvider as
|
|
21
|
-
import { FeatureFlagProvider as
|
|
22
|
-
import { TourInitializer as
|
|
23
|
-
import { TourPlayerProvider as
|
|
24
|
-
import { ToursProvider as
|
|
25
|
-
import { tourRouteBootstrap as
|
|
26
|
-
import { BUILDMYIQ_RYBBIT_EVENTS as E } from "../events/buildmyiq.js";
|
|
27
|
-
import { GGNOMAD_RYBBIT_EVENTS as re } from "../events/ggnomad.js";
|
|
2
|
+
import { onCLS as t, onFCP as n, onINP as r, onLCP as i, onTTFB as a } from "../../node_modules/web-vitals/dist/web-vitals.js";
|
|
3
|
+
import { AuthProvider as o } from "./shell/AuthProvider.js";
|
|
4
|
+
import { AuthTokenProvider as s, useAuthToken as c } from "./shell/AuthTokenProvider.js";
|
|
5
|
+
import { readActiveContextValueWithUrlPrecedence as l } from "./shell/ActiveContextStorage.js";
|
|
6
|
+
import { MultiGatewayProvider as u } from "./shell/MultiGatewayProvider.js";
|
|
7
|
+
import { useIdentityQueryReset as d } from "./shell/identityQueryReset.js";
|
|
8
|
+
import { IdentityScopedQueryReset as f } from "./shell/identityScopedQueryReset.js";
|
|
9
|
+
import { WorkspaceWriteRefusedToastListener as p } from "./shell/WorkspaceWriteRefusedToastListener.js";
|
|
10
|
+
import { useShellLabel as m } from "./shell/useShellLabel.js";
|
|
11
|
+
import { ActiveContextProvider as h } from "./shell/ActiveContextProvider.js";
|
|
12
|
+
import { TourPermissionsBoundary as g } from "../tours/TourPermissionsBoundary.js";
|
|
13
|
+
import { ContextManagerProvider as _ } from "./shell/ContextManagerProvider.js";
|
|
14
|
+
import { ThemeProvider as v } from "./shell/ThemeProvider.js";
|
|
15
|
+
import { ProfileI18nBridge as y } from "./shell/ProfileI18nBridge.js";
|
|
16
|
+
import { resolveBrowserDirectionMode as b } from "./shell/directionMode.js";
|
|
17
|
+
import { ProfileGeographyBridge as x } from "./shell/ProfileGeographyBridge.js";
|
|
18
|
+
import { FeatureFlagsProvider as ee } from "./shell/FeatureFlagsProvider.js";
|
|
19
|
+
import { GlobalUiProvider as te } from "./shell/GlobalUiProvider.js";
|
|
20
|
+
import { ShellUiProvider as ne } from "./shell/ShellUiProvider.js";
|
|
21
|
+
import { FeatureFlagProvider as re } from "../feature-flags/FeatureFlagProvider.js";
|
|
22
|
+
import { TourInitializer as S } from "../tours/TourInitializer.js";
|
|
23
|
+
import { TourPlayerProvider as C } from "../tours/TourPlayerProvider.js";
|
|
24
|
+
import { ToursProvider as w, useToursContext as T } from "../tours/ToursContext.js";
|
|
25
|
+
import { tourRouteBootstrap as E } from "../tours/routeBootstrap.js";
|
|
28
26
|
import { ErrorFallback as ie } from "../components/ErrorFallback.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
27
|
+
import { BUILDMYIQ_RYBBIT_EVENTS as D } from "../events/buildmyiq.js";
|
|
28
|
+
import { GGNOMAD_RYBBIT_EVENTS as O } from "../events/ggnomad.js";
|
|
29
|
+
import { emitProductSlug as ae, legacyProductSlug as oe } from "../config/productSlug.js";
|
|
30
|
+
import { TIMECAMPUS_RYBBIT_EVENTS as k } from "../events/timecampus.js";
|
|
31
|
+
import { THECULTUREPOST_RYBBIT_EVENTS as se } from "../events/theculturepost.js";
|
|
32
|
+
import { FLUIDGRIDS_RYBBIT_EVENTS as ce } from "../events/fluidgrids.js";
|
|
33
|
+
import { DevtoolsSink as le } from "../events/sinks/DevtoolsSink.js";
|
|
34
|
+
import { BroadcastChannelSink as ue } from "../events/sinks/BroadcastChannelSink.js";
|
|
35
|
+
import { BackendAuditSink as A } from "../events/sinks/BackendAuditSink.js";
|
|
36
|
+
import { OtelBrowserSink as de } from "../events/sinks/OtelBrowserSink.js";
|
|
37
|
+
import { WebVitalsSink as fe } from "../events/sinks/WebVitalsSink.js";
|
|
38
|
+
import { setAssistantProductId as pe } from "../assistant/productContext.js";
|
|
39
|
+
import { PWAInstallBanner as me } from "../components/PWAInstallBanner.js";
|
|
40
|
+
import { DesktopUpdateToast as he } from "../components/DesktopUpdateToast.js";
|
|
41
|
+
import { EventBusProvider as ge, useEventBus as _e } from "../../shared-events.js";
|
|
42
|
+
import { getGatewayUrl as ve } from "../../shared-config.js";
|
|
43
|
+
import { shouldMountWebVitalsSink as ye } from "../rum/mount.js";
|
|
44
|
+
import { AnalyticsConsentBanner as j, DEFAULT_RYBBIT_ALLOWLIST as M, RybbitSink as N } from "../events/sinks/RybbitSink.js";
|
|
45
|
+
import { SEMANTICFED_ANALYTICS_ROUTES as P, SEMANTICFED_RYBBIT_EVENTS as F } from "../events/semanticfed.js";
|
|
46
|
+
import { COMRADECIRCLE_ANALYTICS_ROUTES as I, COMRADECIRCLE_RYBBIT_EVENTS as L } from "../events/comradecircle.js";
|
|
47
|
+
import { ATHELETEBRIDGE_ANALYTICS_ROUTES as R, ATHELETEBRIDGE_RYBBIT_EVENTS as z } from "../events/atheletebridge.js";
|
|
48
|
+
import { attemptTokenRefresh as be, clearAuthSessionStorage as xe, getSharedTokenRefreshRefs as Se, isAuthNetworkError as Ce } from "../utils/authErrorHandling.js";
|
|
49
|
+
import { SESSION_EXPIRED_EVENT as we, getStoredAuthToken as Te, graphqlFetch as Ee } from "../graphql/fetch.js";
|
|
50
|
+
import { AppShellContextProvider as De } from "./shell/AppShellContext.js";
|
|
51
|
+
import { useReferralAttribution as Oe } from "../hooks/useReferralAttribution.js";
|
|
52
|
+
import { ConsoleTransport as ke } from "../logger/ConsoleTransport.js";
|
|
53
|
+
import { LogManager as Ae } from "../logger/LogManager.js";
|
|
54
|
+
import { isShellLessRoute as je } from "../config/shellRoutes.js";
|
|
55
|
+
import { useRegisterTourRouteCatalog as Me } from "../tours/useTourRouteCatalog.js";
|
|
56
|
+
import { BACKEND_ERROR_EVENT as B, CONNECTION_STATUS_EVENT as V, dispatchBackendErrorEvent as Ne, getBackendErrorToastDedupe as Pe, isBackendErrorDisplay as Fe, shouldToastBackendError as Ie } from "../utils/backendErrors.js";
|
|
57
|
+
import { usePushDeviceRegistration as H } from "../hooks/usePushDeviceRegistration.js";
|
|
58
|
+
import { Suspense as U, useCallback as W, useEffect as G, useMemo as K, useRef as q, useState as Le } from "react";
|
|
59
|
+
import { Fragment as Re, jsx as J, jsxs as Y } from "react/jsx-runtime";
|
|
60
|
+
import { BrowserRouter as ze, useLocation as X } from "react-router";
|
|
61
|
+
import { Toaster as Be, toast as Z } from "sonner";
|
|
62
|
+
import { MutationCache as Ve, QueryCache as He, QueryClient as Ue, QueryClientProvider as We } from "@tanstack/react-query";
|
|
60
63
|
// src/shared/providers/AppShellProvider.tsx
|
|
61
|
-
var
|
|
64
|
+
var Ge = {
|
|
62
65
|
artistrybase: { prod: "cfbecacb6002" },
|
|
63
66
|
atheletebridge: { prod: "c34c6ead7aa8" },
|
|
64
67
|
adaptercloud: {},
|
|
@@ -87,7 +90,7 @@ var Re = {
|
|
|
87
90
|
subscriberbot: {},
|
|
88
91
|
intelwatchtower: {},
|
|
89
92
|
kadaikodi: {}
|
|
90
|
-
},
|
|
93
|
+
}, Ke = [
|
|
91
94
|
"nav.route.changed",
|
|
92
95
|
"auth.signed_in",
|
|
93
96
|
"auth.signed_out",
|
|
@@ -130,11 +133,11 @@ var Re = {
|
|
|
130
133
|
"coolandlovely.wardrobe.item_added",
|
|
131
134
|
"coolandlovely.search.performed",
|
|
132
135
|
"vibecontrols.agent.registered",
|
|
133
|
-
...
|
|
134
|
-
...
|
|
136
|
+
...ce,
|
|
137
|
+
...D,
|
|
138
|
+
...se,
|
|
135
139
|
...O,
|
|
136
|
-
...
|
|
137
|
-
...L,
|
|
140
|
+
...z,
|
|
138
141
|
"vibecontrols.agent.gateway_auth_setup",
|
|
139
142
|
"vibecontrols.session.created",
|
|
140
143
|
"vibecontrols.session.started",
|
|
@@ -310,7 +313,7 @@ var Re = {
|
|
|
310
313
|
"labsofscience.pipeline.run_started",
|
|
311
314
|
"hookmovies.page.viewed",
|
|
312
315
|
"headshotmarketing.page.viewed",
|
|
313
|
-
...
|
|
316
|
+
...k,
|
|
314
317
|
"kadaikodi.page.viewed",
|
|
315
318
|
"kadaikodi.discover.viewed",
|
|
316
319
|
"kadaikodi.discover.searched",
|
|
@@ -330,7 +333,7 @@ var Re = {
|
|
|
330
333
|
"project.created",
|
|
331
334
|
"workspace-member.added",
|
|
332
335
|
"project-member.added"
|
|
333
|
-
],
|
|
336
|
+
], qe = {
|
|
334
337
|
"--success-bg": "var(--color-status-success-bgSubtle)",
|
|
335
338
|
"--success-border": "var(--color-status-success-border)",
|
|
336
339
|
"--success-text": "var(--color-status-success-text)",
|
|
@@ -344,7 +347,7 @@ var Re = {
|
|
|
344
347
|
"--error-border": "var(--color-status-error-border)",
|
|
345
348
|
"--error-text": "var(--color-status-error-text)"
|
|
346
349
|
};
|
|
347
|
-
function
|
|
350
|
+
function Je(e) {
|
|
348
351
|
let t = e.technicalMessage ?? e.extensions?.technicalMessage, n = {
|
|
349
352
|
code: e.code,
|
|
350
353
|
operationName: e.operationName,
|
|
@@ -356,13 +359,13 @@ function Ve(e) {
|
|
|
356
359
|
};
|
|
357
360
|
console.error("[Burdenoff backend error]", e.message, n);
|
|
358
361
|
}
|
|
359
|
-
function
|
|
362
|
+
function Ye(e) {
|
|
360
363
|
return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
|
|
361
364
|
}
|
|
362
|
-
function
|
|
365
|
+
function Xe(e, t) {
|
|
363
366
|
return e.VITE_DISABLE_ANALYTICS === "true" ? !1 : e.VITE_ENABLE_ANALYTICS === "true" || e.PROD || t !== "dev" ? !0 : e.VITE_ENABLE_ANALYTICS !== "false";
|
|
364
367
|
}
|
|
365
|
-
function
|
|
368
|
+
function Ze() {
|
|
366
369
|
return {
|
|
367
370
|
BASE_URL: "/",
|
|
368
371
|
DEV: !1,
|
|
@@ -371,9 +374,9 @@ function We() {
|
|
|
371
374
|
SSR: !1
|
|
372
375
|
};
|
|
373
376
|
}
|
|
374
|
-
function
|
|
377
|
+
function Q(e, t) {
|
|
375
378
|
if (!t || t.length === 0 || !e.rybbit) return e;
|
|
376
|
-
let n = e.rybbit.allowlist ??
|
|
379
|
+
let n = e.rybbit.allowlist ?? M, r = [.../* @__PURE__ */ new Set([...n, ...t])];
|
|
377
380
|
return {
|
|
378
381
|
...e,
|
|
379
382
|
rybbit: {
|
|
@@ -382,22 +385,22 @@ function Ge(e, t) {
|
|
|
382
385
|
}
|
|
383
386
|
};
|
|
384
387
|
}
|
|
385
|
-
var
|
|
388
|
+
var Qe = {
|
|
386
389
|
comradecircle: {
|
|
387
|
-
routes:
|
|
388
|
-
events:
|
|
390
|
+
routes: I,
|
|
391
|
+
events: L
|
|
389
392
|
},
|
|
390
393
|
semanticfed: {
|
|
391
|
-
routes:
|
|
392
|
-
events:
|
|
394
|
+
routes: P,
|
|
395
|
+
events: F
|
|
393
396
|
},
|
|
394
397
|
atheletebridge: {
|
|
395
|
-
routes:
|
|
396
|
-
events:
|
|
398
|
+
routes: R,
|
|
399
|
+
events: z
|
|
397
400
|
}
|
|
398
401
|
};
|
|
399
|
-
function
|
|
400
|
-
let n =
|
|
402
|
+
function $e(e, t) {
|
|
403
|
+
let n = Ye(t.VITE_DEPLOY_ENV ?? t.MODE), r = Xe(t, n), i = Ge[e] ?? Ge[oe(e)], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = Qe[e], c = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
|
|
401
404
|
return {
|
|
402
405
|
enabled: r,
|
|
403
406
|
appVersion: t.VITE_APP_VERSION || "0.0.0",
|
|
@@ -410,7 +413,7 @@ function qe(e, t) {
|
|
|
410
413
|
scriptUrl: t.VITE_RYBBIT_SCRIPT_URL,
|
|
411
414
|
eventEndpoint: s ? "https://app.rybbit.io/api/track" : void 0,
|
|
412
415
|
routeTemplates: s?.routes,
|
|
413
|
-
allowlist: s ? [...s.events] :
|
|
416
|
+
allowlist: s ? [...s.events] : Ke,
|
|
414
417
|
identifyOn: "auth.signed_in",
|
|
415
418
|
rename: { "nav.route.changed": "pageview" }
|
|
416
419
|
},
|
|
@@ -425,12 +428,12 @@ function qe(e, t) {
|
|
|
425
428
|
}
|
|
426
429
|
};
|
|
427
430
|
}
|
|
428
|
-
function
|
|
429
|
-
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } =
|
|
431
|
+
function et({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
|
|
432
|
+
let { trackProgress: a, recordStepCompletion: o, trackEvent: s, progressScopeKey: c } = T(), l = W((e, t) => e.steps?.[t], []), u = W((e) => {
|
|
430
433
|
a(e.id, "started"), s("TOUR_STARTED", e.id);
|
|
431
|
-
}, [s, a]),
|
|
434
|
+
}, [s, a]), d = W((e) => {
|
|
432
435
|
a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
|
|
433
|
-
}, [s, a]),
|
|
436
|
+
}, [s, a]), f = W((e, t) => {
|
|
434
437
|
let n = l(e, t);
|
|
435
438
|
a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
|
|
436
439
|
stepId: n?.id,
|
|
@@ -440,13 +443,13 @@ function Je({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
440
443
|
l,
|
|
441
444
|
s,
|
|
442
445
|
a
|
|
443
|
-
]), m =
|
|
446
|
+
]), m = W((e, t) => {
|
|
444
447
|
let n = l(e, t);
|
|
445
448
|
n && s("STEP_VIEWED", e.id, {
|
|
446
449
|
stepId: n.id,
|
|
447
450
|
stepOrder: n.stepOrder
|
|
448
451
|
});
|
|
449
|
-
}, [l, s]), h =
|
|
452
|
+
}, [l, s]), h = W((e, t) => {
|
|
450
453
|
let n = l(e, t);
|
|
451
454
|
n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
|
|
452
455
|
stepId: n.id,
|
|
@@ -457,29 +460,29 @@ function Je({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
457
460
|
o,
|
|
458
461
|
s
|
|
459
462
|
]);
|
|
460
|
-
return /* @__PURE__ */
|
|
463
|
+
return /* @__PURE__ */ Y(C, {
|
|
461
464
|
scopeKey: c,
|
|
462
465
|
onTourStart: u,
|
|
463
|
-
onTourComplete:
|
|
464
|
-
onTourSkip:
|
|
466
|
+
onTourComplete: d,
|
|
467
|
+
onTourSkip: f,
|
|
465
468
|
onStepChange: m,
|
|
466
469
|
onStepComplete: h,
|
|
467
470
|
children: [
|
|
468
|
-
/* @__PURE__ */
|
|
471
|
+
/* @__PURE__ */ J(S, {}),
|
|
469
472
|
e,
|
|
470
|
-
/* @__PURE__ */
|
|
471
|
-
/* @__PURE__ */
|
|
472
|
-
/* @__PURE__ */
|
|
473
|
-
/* @__PURE__ */
|
|
473
|
+
/* @__PURE__ */ J(tt, {}),
|
|
474
|
+
/* @__PURE__ */ J(p, {}),
|
|
475
|
+
/* @__PURE__ */ J(rt, {}),
|
|
476
|
+
/* @__PURE__ */ J(Be, {
|
|
474
477
|
position: n,
|
|
475
478
|
richColors: !0,
|
|
476
479
|
closeButton: !0,
|
|
477
|
-
style:
|
|
480
|
+
style: qe
|
|
478
481
|
}),
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
t && /* @__PURE__ */
|
|
482
|
+
/* @__PURE__ */ J(he, {}),
|
|
483
|
+
t && /* @__PURE__ */ J(U, {
|
|
481
484
|
fallback: null,
|
|
482
|
-
children: /* @__PURE__ */
|
|
485
|
+
children: /* @__PURE__ */ J(me, {
|
|
483
486
|
productName: r,
|
|
484
487
|
brandInitial: i
|
|
485
488
|
})
|
|
@@ -487,43 +490,43 @@ function Je({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
|
|
|
487
490
|
]
|
|
488
491
|
});
|
|
489
492
|
}
|
|
490
|
-
function
|
|
491
|
-
let e =
|
|
492
|
-
return
|
|
493
|
+
function tt() {
|
|
494
|
+
let e = q(null), t = m();
|
|
495
|
+
return G(() => {
|
|
493
496
|
let n = (n) => {
|
|
494
|
-
let r = n instanceof CustomEvent &&
|
|
495
|
-
if (!
|
|
496
|
-
|
|
497
|
-
let { key: i, windowMs: a } =
|
|
497
|
+
let r = n instanceof CustomEvent && Fe(n.detail) ? n.detail : null;
|
|
498
|
+
if (!Ie(r)) return;
|
|
499
|
+
Je(r);
|
|
500
|
+
let { key: i, windowMs: a } = Pe(r), o = Date.now(), s = e.current;
|
|
498
501
|
if (s?.key === i && o - s.shownAt < a) return;
|
|
499
502
|
e.current = {
|
|
500
503
|
key: i,
|
|
501
504
|
shownAt: o
|
|
502
505
|
};
|
|
503
506
|
let c = r.messageKey ? t(r.messageKey, r.message) : r.message;
|
|
504
|
-
|
|
507
|
+
Z.error(c, { duration: 7e3 });
|
|
505
508
|
};
|
|
506
|
-
return window.addEventListener(
|
|
509
|
+
return window.addEventListener(B, n), () => window.removeEventListener(B, n);
|
|
507
510
|
}, [t]), null;
|
|
508
511
|
}
|
|
509
|
-
var $ = "burdenoff-connection-status",
|
|
510
|
-
function
|
|
511
|
-
let e =
|
|
512
|
-
return
|
|
512
|
+
var $ = "burdenoff-connection-status", nt = 1500;
|
|
513
|
+
function rt() {
|
|
514
|
+
let e = q(null), t = q(!1);
|
|
515
|
+
return G(() => {
|
|
513
516
|
let n = () => {
|
|
514
|
-
t.current || (t.current = !0,
|
|
517
|
+
t.current || (t.current = !0, Z.error("Connection lost. Trying to reconnect…", {
|
|
515
518
|
id: $,
|
|
516
519
|
duration: Infinity
|
|
517
520
|
}));
|
|
518
521
|
}, r = () => {
|
|
519
522
|
t.current || e.current || (e.current = setTimeout(() => {
|
|
520
523
|
e.current = null, n();
|
|
521
|
-
},
|
|
524
|
+
}, nt));
|
|
522
525
|
}, i = (n) => {
|
|
523
|
-
e.current &&= (clearTimeout(e.current), null), t.current ? (t.current = !1, n ?
|
|
526
|
+
e.current &&= (clearTimeout(e.current), null), t.current ? (t.current = !1, n ? Z.success("Back online", {
|
|
524
527
|
id: $,
|
|
525
528
|
duration: 2500
|
|
526
|
-
}) :
|
|
529
|
+
}) : Z.dismiss($)) : Z.dismiss($);
|
|
527
530
|
}, a = (e) => {
|
|
528
531
|
if (!(e instanceof CustomEvent)) return;
|
|
529
532
|
let t = e.detail;
|
|
@@ -531,58 +534,58 @@ function Ze() {
|
|
|
531
534
|
}, o = () => r(), s = () => {
|
|
532
535
|
e.current &&= (clearTimeout(e.current), null);
|
|
533
536
|
};
|
|
534
|
-
return window.addEventListener(
|
|
535
|
-
window.removeEventListener(
|
|
537
|
+
return window.addEventListener(V, a), window.addEventListener("offline", o), window.addEventListener("online", s), () => {
|
|
538
|
+
window.removeEventListener(V, a), window.removeEventListener("offline", o), window.removeEventListener("online", s), e.current && clearTimeout(e.current);
|
|
536
539
|
};
|
|
537
540
|
}, []), null;
|
|
538
541
|
}
|
|
539
|
-
function
|
|
540
|
-
return
|
|
542
|
+
function it() {
|
|
543
|
+
return H(), null;
|
|
541
544
|
}
|
|
542
|
-
function
|
|
543
|
-
let
|
|
544
|
-
|
|
545
|
-
let
|
|
545
|
+
function at({ children: t, i18nProductId: n, platformI18nProductId: r, directionMode: i, fallbackTranslations: a, defaultBrand: o, defaultMode: s, defaultDensity: c, defaultTypography: l, defaultGlass: u, productName: d, brandInitial: f, enablePWA: p, toasterPosition: m, tourPageIdFromPath: h, enableWorkspaceTourPermissions: _ }) {
|
|
546
|
+
let b = X();
|
|
547
|
+
Oe();
|
|
548
|
+
let S = E(b.pathname, !!_), C = /* @__PURE__ */ J(x, { children: /* @__PURE__ */ J(ee, { children: /* @__PURE__ */ J(re, {
|
|
546
549
|
workspaceId: null,
|
|
547
550
|
gateway: "global",
|
|
548
551
|
defaultEnabled: !0,
|
|
549
|
-
children: /* @__PURE__ */
|
|
552
|
+
children: /* @__PURE__ */ J(te, { children: /* @__PURE__ */ J(ne, { children: /* @__PURE__ */ J(e, {
|
|
550
553
|
fallback: null,
|
|
551
|
-
children: /* @__PURE__ */
|
|
552
|
-
enabled:
|
|
553
|
-
children: /* @__PURE__ */
|
|
554
|
-
requireWorkspace:
|
|
555
|
-
disabled:
|
|
556
|
-
getPageIdFromPath:
|
|
557
|
-
children: /* @__PURE__ */
|
|
554
|
+
children: /* @__PURE__ */ J(g, {
|
|
555
|
+
enabled: S.workspacePermissions,
|
|
556
|
+
children: /* @__PURE__ */ J(w, {
|
|
557
|
+
requireWorkspace: S.requireWorkspace,
|
|
558
|
+
disabled: S.toursDisabled,
|
|
559
|
+
getPageIdFromPath: h,
|
|
560
|
+
children: /* @__PURE__ */ Y(et, {
|
|
558
561
|
enablePWA: p,
|
|
559
|
-
toasterPosition:
|
|
562
|
+
toasterPosition: m,
|
|
560
563
|
productName: d,
|
|
561
564
|
brandInitial: f,
|
|
562
|
-
children: [/* @__PURE__ */
|
|
565
|
+
children: [/* @__PURE__ */ J(it, {}), t]
|
|
563
566
|
})
|
|
564
567
|
})
|
|
565
568
|
})
|
|
566
569
|
}) }) })
|
|
567
570
|
}) }) });
|
|
568
|
-
return /* @__PURE__ */
|
|
571
|
+
return /* @__PURE__ */ Y(v, {
|
|
569
572
|
defaultBrand: o,
|
|
570
573
|
defaultMode: s,
|
|
571
574
|
defaultDensity: c,
|
|
572
575
|
defaultTypography: l,
|
|
573
576
|
defaultGlass: u,
|
|
574
|
-
children: [/* @__PURE__ */
|
|
577
|
+
children: [/* @__PURE__ */ J(ot, {}), /* @__PURE__ */ J(y, {
|
|
575
578
|
i18nProductId: n,
|
|
576
579
|
platformI18nProductId: r,
|
|
577
580
|
directionMode: i,
|
|
578
581
|
fallbackTranslations: a,
|
|
579
|
-
children:
|
|
582
|
+
children: C
|
|
580
583
|
})]
|
|
581
584
|
});
|
|
582
585
|
}
|
|
583
|
-
function
|
|
584
|
-
let e =
|
|
585
|
-
return
|
|
586
|
+
function ot() {
|
|
587
|
+
let e = X();
|
|
588
|
+
return G(() => {
|
|
586
589
|
e.hash || requestAnimationFrame(() => {
|
|
587
590
|
window.scrollTo({
|
|
588
591
|
top: 0,
|
|
@@ -600,7 +603,7 @@ function et() {
|
|
|
600
603
|
e.hash
|
|
601
604
|
]), null;
|
|
602
605
|
}
|
|
603
|
-
function
|
|
606
|
+
function st(e) {
|
|
604
607
|
if (e instanceof Error) return e.message;
|
|
605
608
|
if (typeof e == "string") return e;
|
|
606
609
|
try {
|
|
@@ -609,29 +612,29 @@ function tt(e) {
|
|
|
609
612
|
return String(e);
|
|
610
613
|
}
|
|
611
614
|
}
|
|
612
|
-
function
|
|
613
|
-
let e =
|
|
614
|
-
return
|
|
615
|
-
let t = `${
|
|
616
|
-
if (
|
|
617
|
-
|
|
615
|
+
function ct() {
|
|
616
|
+
let e = _e(), o = X(), s = q(void 0), c = q(void 0), l = q(null);
|
|
617
|
+
return G(() => {
|
|
618
|
+
let t = `${o.pathname}${o.search}${o.hash}`;
|
|
619
|
+
if (c.current !== t) return l.current && clearTimeout(l.current), l.current = setTimeout(() => {
|
|
620
|
+
l.current = null;
|
|
618
621
|
let n = typeof window < "u" ? `${window.location.pathname}${window.location.search}${window.location.hash}` : t;
|
|
619
|
-
|
|
620
|
-
pathname: typeof window < "u" ? window.location.pathname :
|
|
621
|
-
search: typeof window < "u" ? window.location.search :
|
|
622
|
-
hash: typeof window < "u" ? window.location.hash :
|
|
622
|
+
c.current !== n && (e.emit("nav.route.changed", {
|
|
623
|
+
pathname: typeof window < "u" ? window.location.pathname : o.pathname,
|
|
624
|
+
search: typeof window < "u" ? window.location.search : o.search,
|
|
625
|
+
hash: typeof window < "u" ? window.location.hash : o.hash,
|
|
623
626
|
title: typeof document < "u" ? document.title : void 0,
|
|
624
|
-
from:
|
|
625
|
-
}),
|
|
627
|
+
from: s.current
|
|
628
|
+
}), s.current = n, c.current = n);
|
|
626
629
|
}, 120), () => {
|
|
627
|
-
|
|
630
|
+
l.current &&= (clearTimeout(l.current), null);
|
|
628
631
|
};
|
|
629
632
|
}, [
|
|
630
633
|
e,
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
]),
|
|
634
|
+
o.hash,
|
|
635
|
+
o.pathname,
|
|
636
|
+
o.search
|
|
637
|
+
]), G(() => {
|
|
635
638
|
let t = (t) => {
|
|
636
639
|
e.emit("error.runtime.caught", {
|
|
637
640
|
message: t.message || "Runtime error",
|
|
@@ -641,57 +644,40 @@ function nt() {
|
|
|
641
644
|
errorName: t.error instanceof Error ? t.error.name : void 0
|
|
642
645
|
});
|
|
643
646
|
}, n = (t) => {
|
|
644
|
-
e.emit("error.unhandledrejection", { reason:
|
|
647
|
+
e.emit("error.unhandledrejection", { reason: st(t.reason) });
|
|
645
648
|
};
|
|
646
649
|
return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
|
|
647
650
|
window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
|
|
648
651
|
};
|
|
649
|
-
}, [e]),
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
});
|
|
657
|
-
}), t((t) => {
|
|
658
|
-
e.emit("perf.cls.measured", {
|
|
659
|
-
metric: "CLS",
|
|
660
|
-
value: t.value,
|
|
661
|
-
id: t.id,
|
|
662
|
-
rating: t.rating
|
|
663
|
-
});
|
|
664
|
-
}), n((t) => {
|
|
665
|
-
e.emit("perf.inp.measured", {
|
|
666
|
-
metric: "INP",
|
|
667
|
-
value: t.value,
|
|
668
|
-
id: t.id,
|
|
669
|
-
rating: t.rating
|
|
670
|
-
});
|
|
671
|
-
}), i((t) => {
|
|
672
|
-
e.emit("perf.ttfb.measured", {
|
|
673
|
-
metric: "TTFB",
|
|
674
|
-
value: t.value,
|
|
675
|
-
id: t.id,
|
|
676
|
-
rating: t.rating
|
|
677
|
-
});
|
|
652
|
+
}, [e]), G(() => {
|
|
653
|
+
let o = (e, t) => ({
|
|
654
|
+
metric: t,
|
|
655
|
+
value: e.value,
|
|
656
|
+
id: e.id,
|
|
657
|
+
rating: e.rating,
|
|
658
|
+
navigationType: e.navigationType
|
|
678
659
|
});
|
|
660
|
+
i((t) => e.emit("perf.lcp.measured", o(t, "LCP"))), t((t) => e.emit("perf.cls.measured", o(t, "CLS"))), r((t) => e.emit("perf.inp.measured", o(t, "INP"))), a((t) => e.emit("perf.ttfb.measured", o(t, "TTFB"))), n((t) => e.emit("perf.fcp.measured", o(t, "FCP")));
|
|
679
661
|
}, [e]), null;
|
|
680
662
|
}
|
|
681
|
-
function
|
|
682
|
-
let {
|
|
683
|
-
return
|
|
684
|
-
|
|
685
|
-
|
|
663
|
+
function lt({ register: e }) {
|
|
664
|
+
let { getAccessToken: t } = c();
|
|
665
|
+
return G(() => (e(t), () => e(null)), [t, e]), null;
|
|
666
|
+
}
|
|
667
|
+
function ut({ config: e, productSlug: t, productName: n, privacyConsent: r, privacyConsentReopen: i, privacyConsentPlacement: a, consentRouteDenylist: o, rybbitSkipRoutes: s, globalGraphqlUrl: c, getAccessToken: l }) {
|
|
668
|
+
let { pathname: u } = X(), d = je(u) || o?.(u) === !0;
|
|
669
|
+
return /* @__PURE__ */ Y(Re, { children: [
|
|
670
|
+
/* @__PURE__ */ J(ct, {}),
|
|
671
|
+
r && !d ? /* @__PURE__ */ J(j, {
|
|
686
672
|
productName: n,
|
|
687
673
|
reopenable: i,
|
|
688
674
|
placement: a
|
|
689
675
|
}) : null,
|
|
690
|
-
e.enabled === !1 ? null : /* @__PURE__ */
|
|
691
|
-
e.devtools ? /* @__PURE__ */
|
|
692
|
-
e.broadcast === !1 ? null : /* @__PURE__ */
|
|
693
|
-
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */
|
|
694
|
-
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */
|
|
676
|
+
e.enabled === !1 ? null : /* @__PURE__ */ Y(Re, { children: [
|
|
677
|
+
e.devtools ? /* @__PURE__ */ J(le, { enabled: !0 }) : null,
|
|
678
|
+
e.broadcast === !1 ? null : /* @__PURE__ */ J(ue, {}),
|
|
679
|
+
e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ J(A, { endpoint: e.backendAudit.endpoint }) : null,
|
|
680
|
+
e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ J(N, {
|
|
695
681
|
siteId: e.rybbit.siteId,
|
|
696
682
|
scriptUrl: e.rybbit.scriptUrl,
|
|
697
683
|
eventEndpoint: e.rybbit.eventEndpoint,
|
|
@@ -700,9 +686,15 @@ function rt({ config: e, productSlug: t, productName: n, privacyConsent: r, priv
|
|
|
700
686
|
identifyOn: e.rybbit.identifyOn,
|
|
701
687
|
rename: e.rybbit.rename,
|
|
702
688
|
skipRoutes: s,
|
|
703
|
-
pathname:
|
|
689
|
+
pathname: u
|
|
690
|
+
}) : null,
|
|
691
|
+
ye(e) ? /* @__PURE__ */ J(fe, {
|
|
692
|
+
product: ae(t),
|
|
693
|
+
endpoint: e.rum?.endpoint || c,
|
|
694
|
+
getAccessToken: l,
|
|
695
|
+
config: e.rum
|
|
704
696
|
}) : null,
|
|
705
|
-
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */
|
|
697
|
+
e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ J(de, {
|
|
706
698
|
endpoint: e.otel.endpoint,
|
|
707
699
|
serviceName: e.otel.serviceName ?? `${t}-app`,
|
|
708
700
|
flushInterval: e.otel.flushInterval
|
|
@@ -710,29 +702,29 @@ function rt({ config: e, productSlug: t, productName: n, privacyConsent: r, priv
|
|
|
710
702
|
] })
|
|
711
703
|
] });
|
|
712
704
|
}
|
|
713
|
-
function
|
|
714
|
-
let { productName: i, productSlug:
|
|
715
|
-
|
|
716
|
-
let [
|
|
705
|
+
function dt({ config: t, children: n, clearAuthStore: r }) {
|
|
706
|
+
let { productName: i, productSlug: a = i.toLowerCase().replace(/\s+/g, ""), tagline: c = "", domain: p, i18nProductId: m, platformI18nProductId: g, rtl: v, gatewayUrls: y, authBridge: x, defaultBrand: ee = "default", defaultMode: te, defaultDensity: ne, defaultTypography: re, defaultGlass: S, enablePWA: C = !0, brandInitial: w = i.charAt(0), defaultGateway: T = "workspace", enableSubscriptions: E = !0, fallbackTranslations: D, queryClientOptions: O, toasterPosition: oe = "bottom-right", observability: k, privacyConsent: se = !1, privacyConsentReopen: ce = !1, privacyConsentPlacement: le = "start", consentRouteDenylist: ue, rybbitEvents: A, rybbitSkipRoutes: de, tourPageIdFromPath: fe, tourRouteCatalog: me, enableWorkspaceTourPermissions: he = !1, workspaceOperationGuard: _e = "off" } = t;
|
|
707
|
+
Me(a, me), G(() => pe(ae(a)), [a]);
|
|
708
|
+
let [ye] = Le(() => b({
|
|
717
709
|
enabled: v?.enabled,
|
|
718
710
|
allowPreview: v?.preview
|
|
719
|
-
})),
|
|
711
|
+
})), j = K(() => Q(k ?? $e(a, Ze()), A), [
|
|
720
712
|
k,
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
]),
|
|
713
|
+
a,
|
|
714
|
+
A
|
|
715
|
+
]), M = K(() => ({
|
|
724
716
|
productName: i,
|
|
725
|
-
productSlug:
|
|
726
|
-
brandInitial:
|
|
727
|
-
tagline:
|
|
728
|
-
domain:
|
|
717
|
+
productSlug: a,
|
|
718
|
+
brandInitial: w,
|
|
719
|
+
tagline: c,
|
|
720
|
+
domain: p
|
|
729
721
|
}), [
|
|
730
722
|
i,
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
]),
|
|
723
|
+
a,
|
|
724
|
+
w,
|
|
725
|
+
c,
|
|
726
|
+
p
|
|
727
|
+
]), N = q(!1), P = q(!!x?.url), F = W((e) => {
|
|
736
728
|
if (!e?.force && (() => {
|
|
737
729
|
try {
|
|
738
730
|
let e = sessionStorage.getItem("bf-active-profile");
|
|
@@ -742,19 +734,19 @@ function it({ config: t, children: n, clearAuthStore: r }) {
|
|
|
742
734
|
} catch {
|
|
743
735
|
return !1;
|
|
744
736
|
}
|
|
745
|
-
})() ||
|
|
746
|
-
|
|
737
|
+
})() || P.current || N.current) return;
|
|
738
|
+
N.current = !0, xe(r);
|
|
747
739
|
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);
|
|
748
|
-
window.location.pathname.startsWith("/auth/") ||
|
|
749
|
-
}, [r]),
|
|
740
|
+
window.location.pathname.startsWith("/auth/") || je(window.location.pathname) || i ? N.current = !1 : window.location.replace(n);
|
|
741
|
+
}, [r]), I = K(() => ({
|
|
750
742
|
globalBaseUrl: y.globalBaseUrl,
|
|
751
|
-
...
|
|
752
|
-
}), [y.globalBaseUrl]),
|
|
753
|
-
window.location.pathname.startsWith("/auth/") || await
|
|
754
|
-
}, [
|
|
755
|
-
|
|
756
|
-
}, [
|
|
757
|
-
let t = await
|
|
743
|
+
...Se()
|
|
744
|
+
}), [y.globalBaseUrl]), L = W(async () => be(I), [I]), R = W(async () => {
|
|
745
|
+
window.location.pathname.startsWith("/auth/") || await L() || F({ force: !0 });
|
|
746
|
+
}, [L, F]), z = W(async (e) => {
|
|
747
|
+
Ce(e) ? await L() || F({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
|
|
748
|
+
}, [L, F]), Oe = W(async (e) => {
|
|
749
|
+
let t = await Ee({
|
|
758
750
|
gateway: "global",
|
|
759
751
|
baseUrl: y.globalBaseUrl,
|
|
760
752
|
authToken: "",
|
|
@@ -768,17 +760,22 @@ function it({ config: t, children: n, clearAuthStore: r }) {
|
|
|
768
760
|
refreshToken: n.refreshToken,
|
|
769
761
|
expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
|
|
770
762
|
};
|
|
771
|
-
}, [y.globalBaseUrl]),
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
763
|
+
}, [y.globalBaseUrl]), B = q(null), V = W((e) => {
|
|
764
|
+
B.current = e;
|
|
765
|
+
}, []), Pe = W(() => {
|
|
766
|
+
let e = B.current;
|
|
767
|
+
return e ? e() : Te();
|
|
768
|
+
}, []), Fe = K(() => ve(y.globalBaseUrl, "global"), [y.globalBaseUrl]), Ie = W(() => l("organization"), []), H = K(() => {
|
|
769
|
+
let e = new Ue({
|
|
770
|
+
queryCache: new He({ onError: (e) => {
|
|
771
|
+
Ne(e);
|
|
775
772
|
} }),
|
|
776
|
-
mutationCache: new
|
|
773
|
+
mutationCache: new Ve({
|
|
777
774
|
onSuccess: () => {
|
|
778
775
|
e.invalidateQueries();
|
|
779
776
|
},
|
|
780
777
|
onError: (e) => {
|
|
781
|
-
|
|
778
|
+
Ne(e);
|
|
782
779
|
}
|
|
783
780
|
}),
|
|
784
781
|
defaultOptions: { queries: {
|
|
@@ -788,89 +785,91 @@ function it({ config: t, children: n, clearAuthStore: r }) {
|
|
|
788
785
|
} }
|
|
789
786
|
});
|
|
790
787
|
return e;
|
|
791
|
-
}, [O]),
|
|
792
|
-
return
|
|
788
|
+
}, [O]), U = d(H);
|
|
789
|
+
return G(() => {
|
|
793
790
|
let e = () => {
|
|
794
|
-
|
|
791
|
+
F({ force: !0 });
|
|
795
792
|
};
|
|
796
|
-
return window.addEventListener(
|
|
797
|
-
window.removeEventListener(
|
|
793
|
+
return window.addEventListener(we, e), () => {
|
|
794
|
+
window.removeEventListener(we, e);
|
|
798
795
|
};
|
|
799
|
-
}, [
|
|
800
|
-
let e =
|
|
801
|
-
e.getLogger("shell") || e.getLogger("shell").addTransport(new
|
|
802
|
-
}, []), /* @__PURE__ */
|
|
803
|
-
value:
|
|
804
|
-
children: /* @__PURE__ */
|
|
805
|
-
appName:
|
|
806
|
-
appVersion:
|
|
807
|
-
appEnv:
|
|
808
|
-
sourceMfe:
|
|
809
|
-
children: /* @__PURE__ */
|
|
796
|
+
}, [F]), G(() => {
|
|
797
|
+
let e = Ae.getInstance();
|
|
798
|
+
e.getLogger("shell") || e.getLogger("shell").addTransport(new ke());
|
|
799
|
+
}, []), /* @__PURE__ */ J(De, {
|
|
800
|
+
value: M,
|
|
801
|
+
children: /* @__PURE__ */ J(ge, {
|
|
802
|
+
appName: a,
|
|
803
|
+
appVersion: j.appVersion,
|
|
804
|
+
appEnv: j.appEnv,
|
|
805
|
+
sourceMfe: a,
|
|
806
|
+
children: /* @__PURE__ */ J(e, {
|
|
810
807
|
FallbackComponent: ie,
|
|
811
|
-
children: /* @__PURE__ */
|
|
812
|
-
config:
|
|
813
|
-
productSlug:
|
|
808
|
+
children: /* @__PURE__ */ Y(ze, { children: [/* @__PURE__ */ J(ut, {
|
|
809
|
+
config: j,
|
|
810
|
+
productSlug: a,
|
|
811
|
+
globalGraphqlUrl: Fe,
|
|
812
|
+
getAccessToken: Pe,
|
|
814
813
|
productName: i,
|
|
815
|
-
privacyConsent:
|
|
816
|
-
privacyConsentReopen:
|
|
817
|
-
privacyConsentPlacement:
|
|
818
|
-
consentRouteDenylist:
|
|
819
|
-
rybbitSkipRoutes:
|
|
820
|
-
}), /* @__PURE__ */
|
|
821
|
-
client:
|
|
822
|
-
children: /* @__PURE__ */ Y(
|
|
814
|
+
privacyConsent: se,
|
|
815
|
+
privacyConsentReopen: ce,
|
|
816
|
+
privacyConsentPlacement: le,
|
|
817
|
+
consentRouteDenylist: ue,
|
|
818
|
+
rybbitSkipRoutes: de
|
|
819
|
+
}), /* @__PURE__ */ J(We, {
|
|
820
|
+
client: H,
|
|
821
|
+
children: /* @__PURE__ */ Y(s, { children: [/* @__PURE__ */ J(lt, { register: V }), /* @__PURE__ */ J(u, {
|
|
823
822
|
workspaceBaseUrl: y.workspaceBaseUrl,
|
|
824
823
|
globalBaseUrl: y.globalBaseUrl,
|
|
825
|
-
organizationId:
|
|
826
|
-
productSlug:
|
|
827
|
-
defaultGateway:
|
|
828
|
-
enableSubscriptions:
|
|
829
|
-
onAuthError:
|
|
830
|
-
onNetworkError:
|
|
831
|
-
onRefreshToken:
|
|
832
|
-
workspaceOperationGuard:
|
|
833
|
-
children: /* @__PURE__ */
|
|
834
|
-
bridgeUrl:
|
|
835
|
-
bridgeAllowedOrigins:
|
|
836
|
-
bridgeDebug:
|
|
824
|
+
organizationId: Ie,
|
|
825
|
+
productSlug: a,
|
|
826
|
+
defaultGateway: T,
|
|
827
|
+
enableSubscriptions: E,
|
|
828
|
+
onAuthError: R,
|
|
829
|
+
onNetworkError: z,
|
|
830
|
+
onRefreshToken: L,
|
|
831
|
+
workspaceOperationGuard: _e,
|
|
832
|
+
children: /* @__PURE__ */ Y(o, {
|
|
833
|
+
bridgeUrl: x?.url,
|
|
834
|
+
bridgeAllowedOrigins: x?.allowedOrigins,
|
|
835
|
+
bridgeDebug: x?.debug,
|
|
837
836
|
onRefreshToken: Oe,
|
|
838
837
|
onBridgeReady: () => {
|
|
839
|
-
|
|
838
|
+
P.current = !1;
|
|
840
839
|
},
|
|
841
840
|
onSessionExpiringSoon: () => {
|
|
842
841
|
console.warn("[Auth] Session will expire in 5 minutes");
|
|
843
842
|
},
|
|
844
843
|
onTokenExpired: () => {
|
|
845
|
-
|
|
844
|
+
F();
|
|
846
845
|
},
|
|
847
|
-
onBeforeIdentityChange:
|
|
848
|
-
children: [/* @__PURE__ */
|
|
846
|
+
onBeforeIdentityChange: U.onBeforeIdentityChange,
|
|
847
|
+
children: [/* @__PURE__ */ J(f, { announcementsRef: U.announcementsRef }), /* @__PURE__ */ J(h, {
|
|
849
848
|
syncToUrl: !0,
|
|
850
|
-
children: /* @__PURE__ */
|
|
851
|
-
i18nProductId:
|
|
852
|
-
platformI18nProductId:
|
|
853
|
-
directionMode:
|
|
849
|
+
children: /* @__PURE__ */ J(_, { children: /* @__PURE__ */ J(at, {
|
|
850
|
+
i18nProductId: m,
|
|
851
|
+
platformI18nProductId: g,
|
|
852
|
+
directionMode: ye,
|
|
854
853
|
fallbackTranslations: D,
|
|
855
|
-
defaultBrand:
|
|
856
|
-
defaultMode:
|
|
857
|
-
defaultDensity:
|
|
858
|
-
defaultTypography:
|
|
859
|
-
defaultGlass:
|
|
854
|
+
defaultBrand: ee,
|
|
855
|
+
defaultMode: te,
|
|
856
|
+
defaultDensity: ne,
|
|
857
|
+
defaultTypography: re,
|
|
858
|
+
defaultGlass: S,
|
|
860
859
|
productName: i,
|
|
861
|
-
brandInitial:
|
|
862
|
-
enablePWA:
|
|
863
|
-
toasterPosition:
|
|
860
|
+
brandInitial: w,
|
|
861
|
+
enablePWA: C,
|
|
862
|
+
toasterPosition: oe,
|
|
864
863
|
tourPageIdFromPath: fe,
|
|
865
|
-
enableWorkspaceTourPermissions:
|
|
864
|
+
enableWorkspaceTourPermissions: he,
|
|
866
865
|
children: n
|
|
867
866
|
}) })
|
|
868
867
|
})]
|
|
869
868
|
})
|
|
870
|
-
}) })
|
|
869
|
+
})] })
|
|
871
870
|
})] })
|
|
872
871
|
})
|
|
873
872
|
})
|
|
874
873
|
});
|
|
875
874
|
}
|
|
876
|
-
export {
|
|
875
|
+
export { dt as AppShellProvider, qe as RICH_TOAST_TOKEN_STYLE, $e as resolveAppShellObservabilityConfig, Q as withShellRybbitEvents };
|