@burdenoff/fe-libs 2026.926.3 → 2026.926.5

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.
Files changed (66) hide show
  1. package/dist/chrome/ProductPickerSheet.d.ts.map +1 -1
  2. package/dist/chrome/ProductPickerSheet.js +45 -44
  3. package/dist/chrome/ProductSwitcher.d.ts.map +1 -1
  4. package/dist/chrome/ProductSwitcher.js +83 -82
  5. package/dist/shared/assistant/autoRouting.d.ts +1 -0
  6. package/dist/shared/assistant/autoRouting.d.ts.map +1 -1
  7. package/dist/shared/assistant/autoRouting.js +1 -1
  8. package/dist/shared/assistant/conversation.d.ts +29 -0
  9. package/dist/shared/assistant/conversation.d.ts.map +1 -1
  10. package/dist/shared/assistant/guardedStorage.d.ts +32 -0
  11. package/dist/shared/assistant/guardedStorage.d.ts.map +1 -0
  12. package/dist/shared/assistant/guardedStorage.js +36 -0
  13. package/dist/shared/assistant/i18nManifest.d.ts +7 -0
  14. package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
  15. package/dist/shared/assistant/i18nManifest.js +7 -0
  16. package/dist/shared/assistant/index.d.ts +3 -0
  17. package/dist/shared/assistant/index.d.ts.map +1 -1
  18. package/dist/shared/assistant/liveTurns.d.ts +145 -0
  19. package/dist/shared/assistant/liveTurns.d.ts.map +1 -0
  20. package/dist/shared/assistant/liveTurns.js +99 -0
  21. package/dist/shared/assistant/store.d.ts.map +1 -1
  22. package/dist/shared/assistant/store.js +11 -10
  23. package/dist/shared/assistant/turnState.d.ts +12 -0
  24. package/dist/shared/assistant/turnState.d.ts.map +1 -1
  25. package/dist/shared/assistant/turnState.js +4 -1
  26. package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
  27. package/dist/shared/assistant/ui/AssistantChatArea.js +704 -568
  28. package/dist/shared/assistant/ui/AssistantMessageItem.d.ts +19 -0
  29. package/dist/shared/assistant/ui/AssistantMessageItem.d.ts.map +1 -1
  30. package/dist/shared/assistant/ui/AssistantMessageItem.js +92 -88
  31. package/dist/shared/assistant/ui/AssistantMessageList.d.ts +22 -2
  32. package/dist/shared/assistant/ui/AssistantMessageList.d.ts.map +1 -1
  33. package/dist/shared/assistant/ui/AssistantMessageList.js +37 -36
  34. package/dist/shared/assistant/ui/AssistantPendingWriteCard.d.ts +34 -0
  35. package/dist/shared/assistant/ui/AssistantPendingWriteCard.d.ts.map +1 -1
  36. package/dist/shared/assistant/ui/AssistantPendingWriteCard.js +31 -28
  37. package/dist/shared/assistant/ui/useVoiceSession.d.ts +1 -0
  38. package/dist/shared/assistant/ui/useVoiceSession.d.ts.map +1 -1
  39. package/dist/shared/assistant/ui/useVoiceSession.js +119 -117
  40. package/dist/shared/assistant/voice/voiceReopen.d.ts +117 -0
  41. package/dist/shared/assistant/voice/voiceReopen.d.ts.map +1 -0
  42. package/dist/shared/assistant/voice/voiceReopen.js +49 -0
  43. package/dist/shared/config/index.d.ts +3 -1
  44. package/dist/shared/config/index.d.ts.map +1 -1
  45. package/dist/shared/config/productSlug.d.ts +36 -0
  46. package/dist/shared/config/productSlug.d.ts.map +1 -0
  47. package/dist/shared/config/productSlug.js +23 -0
  48. package/dist/shared/config/products.d.ts +8 -1
  49. package/dist/shared/config/products.d.ts.map +1 -1
  50. package/dist/shared/config/products.js +21 -14
  51. package/dist/shared/hooks/shell/useProducts.d.ts +8 -0
  52. package/dist/shared/hooks/shell/useProducts.d.ts.map +1 -1
  53. package/dist/shared/hooks/shell/useProducts.js +46 -42
  54. package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
  55. package/dist/shared/providers/AppShellProvider.js +228 -227
  56. package/dist/shared/providers/shell/ThemeProvider.d.ts +1 -1
  57. package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
  58. package/dist/shared/providers/shell/ThemeProvider.js +58 -57
  59. package/dist/shared/providers/shell/brandAttribute.d.ts +11 -0
  60. package/dist/shared/providers/shell/brandAttribute.d.ts.map +1 -0
  61. package/dist/shared/providers/shell/brandAttribute.js +7 -0
  62. package/dist/shared-assistant.js +101 -98
  63. package/dist/shared-config.js +11 -10
  64. package/dist/shared.js +121 -120
  65. package/package.json +2 -2
  66. package/src/vite/types.ts +4 -1
@@ -1,46 +1,47 @@
1
- import { isShellLessRoute as e } from "../config/shellRoutes.js";
2
- import { readActiveContextValueWithUrlPrecedence as t } from "./shell/ActiveContextStorage.js";
3
- import { BACKEND_ERROR_EVENT as n, CONNECTION_STATUS_EVENT as r, dispatchBackendErrorEvent as i, isBackendErrorDisplay as a, shouldToastBackendError as o } from "../utils/backendErrors.js";
4
- import { SESSION_EXPIRED_EVENT as s, graphqlFetch as c } from "../graphql/fetch.js";
5
- import { attemptTokenRefresh as l, clearAuthSessionStorage as u, getSharedTokenRefreshRefs as d, isAuthNetworkError as f } from "../utils/authErrorHandling.js";
6
- import { AppShellContextProvider as p } from "./shell/AppShellContext.js";
7
- import { AuthProvider as m } from "./shell/AuthProvider.js";
8
- import { ActiveContextProvider as ee } from "./shell/ActiveContextProvider.js";
9
- import { LogManager as te } from "../logger/LogManager.js";
10
- import { ConsoleTransport as ne } from "../logger/ConsoleTransport.js";
1
+ import { legacyProductSlug as e } from "../config/productSlug.js";
2
+ import { isShellLessRoute as t } from "../config/shellRoutes.js";
3
+ import { readActiveContextValueWithUrlPrecedence as n } from "./shell/ActiveContextStorage.js";
4
+ import { BACKEND_ERROR_EVENT as r, CONNECTION_STATUS_EVENT as i, dispatchBackendErrorEvent as a, isBackendErrorDisplay as o, shouldToastBackendError as s } from "../utils/backendErrors.js";
5
+ import { SESSION_EXPIRED_EVENT as c, graphqlFetch as l } from "../graphql/fetch.js";
6
+ import { attemptTokenRefresh as u, clearAuthSessionStorage as d, getSharedTokenRefreshRefs as f, isAuthNetworkError as p } from "../utils/authErrorHandling.js";
7
+ import { AppShellContextProvider as m } from "./shell/AppShellContext.js";
8
+ import { AuthProvider as ee } from "./shell/AuthProvider.js";
9
+ import { ActiveContextProvider as te } from "./shell/ActiveContextProvider.js";
10
+ import { LogManager as ne } from "../logger/LogManager.js";
11
+ import { ConsoleTransport as re } from "../logger/ConsoleTransport.js";
11
12
  import { ThemeProvider as h } from "./shell/ThemeProvider.js";
12
- import { ErrorFallback as re } from "../components/ErrorFallback.js";
13
+ import { ErrorFallback as ie } from "../components/ErrorFallback.js";
13
14
  import { m as g } from "../../node_modules/react-error-boundary/dist/react-error-boundary.js";
14
15
  import { PWAInstallBanner as _ } from "../components/PWAInstallBanner.js";
15
16
  import { FeatureFlagsProvider as v } from "./shell/FeatureFlagsProvider.js";
16
17
  import { FeatureFlagProvider as y } from "../feature-flags/FeatureFlagProvider.js";
17
18
  import { GlobalUiProvider as b } from "./shell/GlobalUiProvider.js";
18
19
  import { ShellUiProvider as x } from "./shell/ShellUiProvider.js";
19
- import { ContextManagerProvider as ie } from "./shell/ContextManagerProvider.js";
20
- import { AuthTokenProvider as ae } from "./shell/AuthTokenProvider.js";
21
- import { MultiGatewayProvider as oe } from "./shell/MultiGatewayProvider.js";
22
- import { G as S, Q as C, j as w, w as se } from "../../node_modules/web-vitals/dist/web-vitals.js";
23
- import { ProfileI18nBridge as ce } from "./shell/ProfileI18nBridge.js";
24
- import { ProfileGeographyBridge as T } from "./shell/ProfileGeographyBridge.js";
25
- import { DesktopUpdateToast as E } from "../components/DesktopUpdateToast.js";
26
- import { DevtoolsSink as D } from "../events/sinks/DevtoolsSink.js";
27
- import { BroadcastChannelSink as O } from "../events/sinks/BroadcastChannelSink.js";
28
- import { BackendAuditSink as k } from "../events/sinks/BackendAuditSink.js";
29
- import { AnalyticsConsentBanner as A, RybbitSink as j } from "../events/sinks/RybbitSink.js";
30
- import { OtelBrowserSink as M } from "../events/sinks/OtelBrowserSink.js";
31
- import { EventBusProvider as le, useEventBus as N } from "../../shared-events.js";
32
- import { useReferralAttribution as P } from "../hooks/useReferralAttribution.js";
33
- import { usePushDeviceRegistration as F } from "../hooks/usePushDeviceRegistration.js";
34
- import { TourPlayerProvider as I } from "../tours/TourPlayerProvider.js";
35
- import { ToursProvider as L, useToursContext as R } from "../tours/ToursContext.js";
36
- import { TourInitializer as z } from "../tours/TourInitializer.js";
37
- import { Suspense as B, useCallback as V, useEffect as H, useMemo as U, useRef as W } from "react";
38
- import { Fragment as G, jsx as K, jsxs as q } from "react/jsx-runtime";
39
- import { BrowserRouter as ue, useLocation as J } from "react-router";
40
- import { Toaster as Y, toast as X } from "sonner";
41
- import { MutationCache as de, QueryCache as fe, QueryClient as pe, QueryClientProvider as me } from "@tanstack/react-query";
20
+ import { ContextManagerProvider as ae } from "./shell/ContextManagerProvider.js";
21
+ import { AuthTokenProvider as oe } from "./shell/AuthTokenProvider.js";
22
+ import { MultiGatewayProvider as se } from "./shell/MultiGatewayProvider.js";
23
+ import { G as S, Q as C, j as ce, w as le } from "../../node_modules/web-vitals/dist/web-vitals.js";
24
+ import { ProfileI18nBridge as ue } from "./shell/ProfileI18nBridge.js";
25
+ import { ProfileGeographyBridge as w } from "./shell/ProfileGeographyBridge.js";
26
+ import { DesktopUpdateToast as T } from "../components/DesktopUpdateToast.js";
27
+ import { DevtoolsSink as E } from "../events/sinks/DevtoolsSink.js";
28
+ import { BroadcastChannelSink as D } from "../events/sinks/BroadcastChannelSink.js";
29
+ import { BackendAuditSink as O } from "../events/sinks/BackendAuditSink.js";
30
+ import { AnalyticsConsentBanner as k, RybbitSink as A } from "../events/sinks/RybbitSink.js";
31
+ import { OtelBrowserSink as j } from "../events/sinks/OtelBrowserSink.js";
32
+ import { EventBusProvider as de, useEventBus as M } from "../../shared-events.js";
33
+ import { useReferralAttribution as N } from "../hooks/useReferralAttribution.js";
34
+ import { usePushDeviceRegistration as P } from "../hooks/usePushDeviceRegistration.js";
35
+ import { TourPlayerProvider as F } from "../tours/TourPlayerProvider.js";
36
+ import { ToursProvider as I, useToursContext as L } from "../tours/ToursContext.js";
37
+ import { TourInitializer as R } from "../tours/TourInitializer.js";
38
+ import { Suspense as z, useCallback as B, useEffect as V, useMemo as H, useRef as U } from "react";
39
+ import { Fragment as W, jsx as G, jsxs as K } from "react/jsx-runtime";
40
+ import { BrowserRouter as fe, useLocation as q } from "react-router";
41
+ import { Toaster as J, toast as Y } from "sonner";
42
+ import { MutationCache as pe, QueryCache as me, QueryClient as he, QueryClientProvider as ge } from "@tanstack/react-query";
42
43
  //#region src/shared/providers/AppShellProvider.tsx
43
- var Z = {
44
+ var X = {
44
45
  artistrybase: { prod: "cfbecacb6002" },
45
46
  atheletebridge: { prod: "c34c6ead7aa8" },
46
47
  adaptercloud: {},
@@ -66,8 +67,8 @@ var Z = {
66
67
  subscriberbot: {},
67
68
  intelwatchtower: {},
68
69
  kadaikodi: {}
69
- }, Q = /* @__PURE__ */ "nav.route.changed,auth.signed_in,auth.signed_out,support.ticket.created,support.ticket.closed,support.ticket.reopened,support.kb.article_rated,conversations.conversation.created,conversations.conversation.archived,notification.item.opened,notification.preference.updated,notification.admin.sent,notification.template.saved,notification.schedule.updated,collabkin.tree.created,collabkin.person.created,collabkin.memory.created,collabkin.story.created,collabkin.member.invited,crewfoundry.page.viewed,crewfoundry.dashboard.viewed,crewfoundry.job_posting.created,crewfoundry.candidate.created,crewfoundry.employee.created,crewfoundry.team.created,crewfoundry.project.created,crewfoundry.course.enrolled,crewfoundry.learning_path.created,crewfoundry.service.listed,crewfoundry.leave.approved,crewfoundry.payroll.processed,crewfoundry.invoice.created,coolandlovely.page.viewed,coolandlovely.brand.created,coolandlovely.collection.created,coolandlovely.style_item.created,coolandlovely.look.created,coolandlovely.collaboration.created,coolandlovely.lookbook.created,coolandlovely.wardrobe.item_added,coolandlovely.search.performed,vibecontrols.agent.registered,atheletebridge.page.viewed,atheletebridge.team.created,atheletebridge.fixture.created,atheletebridge.program.created,atheletebridge.session.completed,atheletebridge.metric.logged,atheletebridge.tournament.created,vibecontrols.agent.gateway_auth_setup,vibecontrols.session.created,vibecontrols.session.started,vibecontrols.session.terminal_opened_in_browser,vibecontrols.session.share_link_created,vibecontrols.session.joined_shared,vibecontrols.tunnel.created,vibecontrols.tunnel.started,vibecontrols.vibedeck.button_executed,vibecontrols.quota.agent_limit_hit,vibecontrols.quota.session_limit_hit,vibecontrols.quota.tunnel_limit_hit,vibecontrols.billing.upgrade_clicked,bigconsole.dashboard.import_clicked,bigconsole.dashboard.imported,bigconsole.dashboard.share_clicked,bigconsole.dashboard.shared,bigconsole.data_sink.import_clicked,bigconsole.data_sink.imported,bigconsole.widget.create_clicked,bigconsole.widget.created,bigconsole.widget.duplicate_clicked,bigconsole.widget.duplicated,bigconsole.ai.generate_clicked,bigconsole.ai.dashboard_generated,bigconsole.ai.create_dashboard_clicked,bigconsole.ai.dashboard_created,assethandler.page.viewed,assethandler.asset.viewed,assethandler.asset.created,assethandler.work_order.viewed,assethandler.work_order.created,assethandler.incident.viewed,assethandler.incident.created,assethandler.change.viewed,assethandler.change.created,assethandler.problem.viewed,assethandler.problem.created,assethandler.maintenance.viewed,assethandler.maintenance.created,assethandler.report.viewed,assethandler.analytics.viewed,movethewheels.page.viewed,movethewheels.shipment.created,movethewheels.shipment.delivered,movethewheels.order.created,movethewheels.route.planned,movethewheels.vehicle.assigned,movethewheels.warehouse.inbound_received,theglobalfuel.dashboard.viewed,theglobalfuel.asset.created,theglobalfuel.production.recorded,theglobalfuel.reserve.created,theglobalfuel.contract.created,theglobalfuel.shipment.scheduled,theglobalfuel.shipment.delivered,theglobalfuel.inventory_lot.created,theglobalfuel.emission.recorded,theglobalfuel.emission.verified,theglobalfuel.compliance_cert.created,housingvista.dashboard.viewed,housingvista.property.created,housingvista.property.updated,housingvista.property.deleted,housingvista.property.viewed,housingvista.shortlist.property_added,housingvista.transaction.created,housingvista.transaction.updated,housingvista.investment.created,housingvista.offer.created,housingvista.viewing.scheduled,housingvista.chat.conversation_opened,housingvista.chat.message_sent,housingvista.analytics.viewed,housingvista.asset.created,housingvista.asset.updated,housingvista.amc.purchased,housingvista.verification.submitted,housingvista.home_loan.apply_clicked,housingvista.market_analytics.viewed,housingvista.search.performed,housingvista.export.requested,manufacturedops.production_order.created,manufacturedops.production_order.updated,manufacturedops.production_order.transitioned,manufacturedops.operation.added,manufacturedops.operation.recorded,manufacturedops.work_center.created,manufacturedops.work_center.updated,manufacturedops.work_center.archived,manufacturedops.material_lot.created,manufacturedops.material_lot.updated,manufacturedops.material_lot.status_updated,manufacturedops.inspection_plan.created,manufacturedops.quality_inspection.recorded,manufacturedops.non_conformance.raised,manufacturedops.non_conformance.updated,manufacturedops.non_conformance.transitioned,manufacturedops.asset.created,manufacturedops.maintenance_work_order.created,manufacturedops.maintenance_work_order.transitioned,manufacturedops.downtime_event.recorded,manufacturedops.page.viewed,subscriberbot.page.viewed,adaptercloud.page.viewed,comradecircle.page.viewed,comradecircle.circle.created,comradecircle.post.created,comradecircle.event.created,comradecircle.member.invited,psw.client.created,psw.client.updated,psw.client.archived,psw.engagement.created,psw.engagement.transitioned,psw.matter.created,psw.matter.closed,psw.timeentry.created,psw.invoice.created,psw.compliance.resolved,psw.conflictcheck.recorded,psw.document.created,psw.practicearea.created,psw.search.performed,psw.export.requested,mybodyshield.page.viewed,mybodyshield.program.created,mybodyshield.program.updated,mybodyshield.program.status_changed,mybodyshield.program.archived,mybodyshield.workout.created,mybodyshield.exercise.created,mybodyshield.session.started,intelwatchtower.page.viewed,intelwatchtower.source.created,intelwatchtower.mission.created,intelwatchtower.mission.assigned,intelwatchtower.mission.completed,intelwatchtower.entity.created,intelwatchtower.entity.linked,intelwatchtower.indicator.created,intelwatchtower.observation.created,intelwatchtower.requirement.created,intelwatchtower.alert.created,intelwatchtower.alert.triaged,intelwatchtower.alert.escalated,intelwatchtower.case.created,intelwatchtower.case.closed,intelwatchtower.report.created,intelwatchtower.report.exported,intelwatchtower.task.created,intelwatchtower.task.completed,intelwatchtower.cop.opened,govcitizenhub.page.viewed,govcitizenhub.dashboard.viewed,govcitizenhub.service.published,govcitizenhub.application.submitted,govcitizenhub.application.decided,govcitizenhub.permit.issued,govcitizenhub.payment.settled,govcitizenhub.grievance.reported,govcitizenhub.grievance.resolved,govcitizenhub.search.performed,cosmicintersection.page.viewed,labsofscience.page.viewed,labsofscience.project.created,labsofscience.experiment.created,labsofscience.protocol.created,labsofscience.dataset.created,labsofscience.inventory_item.created,labsofscience.notebook_entry.signed,labsofscience.pipeline.run_started,hookmovies.page.viewed,headshotmarketing.page.viewed,timecampus.page.viewed,timecampus.dashboard.viewed,timecampus.timer.started,timecampus.timer.stopped,timecampus.time_entry.created,timecampus.timesheet.submitted,timecampus.report.viewed,timecampus.project.viewed,timecampus.meeting.created,timecampus.pomodoro.session.completed,timecampus.focus_score.viewed,kadaikodi.page.viewed,healthybowl.farm.created,healthybowl.crop.created,healthybowl.crop.updated,healthybowl.harvest.recorded,workspaces.page.viewed,workspace.created,project.created,workspace-member.added,project-member.added".split(","), he = 4e3;
70
- function ge(e) {
70
+ }, Z = /* @__PURE__ */ "nav.route.changed,auth.signed_in,auth.signed_out,support.ticket.created,support.ticket.closed,support.ticket.reopened,support.kb.article_rated,conversations.conversation.created,conversations.conversation.archived,notification.item.opened,notification.preference.updated,notification.admin.sent,notification.template.saved,notification.schedule.updated,collabkin.tree.created,collabkin.person.created,collabkin.memory.created,collabkin.story.created,collabkin.member.invited,crewfoundry.page.viewed,crewfoundry.dashboard.viewed,crewfoundry.job_posting.created,crewfoundry.candidate.created,crewfoundry.employee.created,crewfoundry.team.created,crewfoundry.project.created,crewfoundry.course.enrolled,crewfoundry.learning_path.created,crewfoundry.service.listed,crewfoundry.leave.approved,crewfoundry.payroll.processed,crewfoundry.invoice.created,coolandlovely.page.viewed,coolandlovely.brand.created,coolandlovely.collection.created,coolandlovely.style_item.created,coolandlovely.look.created,coolandlovely.collaboration.created,coolandlovely.lookbook.created,coolandlovely.wardrobe.item_added,coolandlovely.search.performed,vibecontrols.agent.registered,atheletebridge.page.viewed,atheletebridge.team.created,atheletebridge.fixture.created,atheletebridge.program.created,atheletebridge.session.completed,atheletebridge.metric.logged,atheletebridge.tournament.created,vibecontrols.agent.gateway_auth_setup,vibecontrols.session.created,vibecontrols.session.started,vibecontrols.session.terminal_opened_in_browser,vibecontrols.session.share_link_created,vibecontrols.session.joined_shared,vibecontrols.tunnel.created,vibecontrols.tunnel.started,vibecontrols.vibedeck.button_executed,vibecontrols.quota.agent_limit_hit,vibecontrols.quota.session_limit_hit,vibecontrols.quota.tunnel_limit_hit,vibecontrols.billing.upgrade_clicked,bigconsole.dashboard.import_clicked,bigconsole.dashboard.imported,bigconsole.dashboard.share_clicked,bigconsole.dashboard.shared,bigconsole.data_sink.import_clicked,bigconsole.data_sink.imported,bigconsole.widget.create_clicked,bigconsole.widget.created,bigconsole.widget.duplicate_clicked,bigconsole.widget.duplicated,bigconsole.ai.generate_clicked,bigconsole.ai.dashboard_generated,bigconsole.ai.create_dashboard_clicked,bigconsole.ai.dashboard_created,assethandler.page.viewed,assethandler.asset.viewed,assethandler.asset.created,assethandler.work_order.viewed,assethandler.work_order.created,assethandler.incident.viewed,assethandler.incident.created,assethandler.change.viewed,assethandler.change.created,assethandler.problem.viewed,assethandler.problem.created,assethandler.maintenance.viewed,assethandler.maintenance.created,assethandler.report.viewed,assethandler.analytics.viewed,movethewheels.page.viewed,movethewheels.shipment.created,movethewheels.shipment.delivered,movethewheels.order.created,movethewheels.route.planned,movethewheels.vehicle.assigned,movethewheels.warehouse.inbound_received,theglobalfuel.dashboard.viewed,theglobalfuel.asset.created,theglobalfuel.production.recorded,theglobalfuel.reserve.created,theglobalfuel.contract.created,theglobalfuel.shipment.scheduled,theglobalfuel.shipment.delivered,theglobalfuel.inventory_lot.created,theglobalfuel.emission.recorded,theglobalfuel.emission.verified,theglobalfuel.compliance_cert.created,housingvista.dashboard.viewed,housingvista.property.created,housingvista.property.updated,housingvista.property.deleted,housingvista.property.viewed,housingvista.shortlist.property_added,housingvista.transaction.created,housingvista.transaction.updated,housingvista.investment.created,housingvista.offer.created,housingvista.viewing.scheduled,housingvista.chat.conversation_opened,housingvista.chat.message_sent,housingvista.analytics.viewed,housingvista.asset.created,housingvista.asset.updated,housingvista.amc.purchased,housingvista.verification.submitted,housingvista.home_loan.apply_clicked,housingvista.market_analytics.viewed,housingvista.search.performed,housingvista.export.requested,manufacturedops.production_order.created,manufacturedops.production_order.updated,manufacturedops.production_order.transitioned,manufacturedops.operation.added,manufacturedops.operation.recorded,manufacturedops.work_center.created,manufacturedops.work_center.updated,manufacturedops.work_center.archived,manufacturedops.material_lot.created,manufacturedops.material_lot.updated,manufacturedops.material_lot.status_updated,manufacturedops.inspection_plan.created,manufacturedops.quality_inspection.recorded,manufacturedops.non_conformance.raised,manufacturedops.non_conformance.updated,manufacturedops.non_conformance.transitioned,manufacturedops.asset.created,manufacturedops.maintenance_work_order.created,manufacturedops.maintenance_work_order.transitioned,manufacturedops.downtime_event.recorded,manufacturedops.page.viewed,subscriberbot.page.viewed,adaptercloud.page.viewed,comradecircle.page.viewed,comradecircle.circle.created,comradecircle.post.created,comradecircle.event.created,comradecircle.member.invited,psw.client.created,psw.client.updated,psw.client.archived,psw.engagement.created,psw.engagement.transitioned,psw.matter.created,psw.matter.closed,psw.timeentry.created,psw.invoice.created,psw.compliance.resolved,psw.conflictcheck.recorded,psw.document.created,psw.practicearea.created,psw.search.performed,psw.export.requested,mybodyshield.page.viewed,mybodyshield.program.created,mybodyshield.program.updated,mybodyshield.program.status_changed,mybodyshield.program.archived,mybodyshield.workout.created,mybodyshield.exercise.created,mybodyshield.session.started,intelwatchtower.page.viewed,intelwatchtower.source.created,intelwatchtower.mission.created,intelwatchtower.mission.assigned,intelwatchtower.mission.completed,intelwatchtower.entity.created,intelwatchtower.entity.linked,intelwatchtower.indicator.created,intelwatchtower.observation.created,intelwatchtower.requirement.created,intelwatchtower.alert.created,intelwatchtower.alert.triaged,intelwatchtower.alert.escalated,intelwatchtower.case.created,intelwatchtower.case.closed,intelwatchtower.report.created,intelwatchtower.report.exported,intelwatchtower.task.created,intelwatchtower.task.completed,intelwatchtower.cop.opened,govcitizenhub.page.viewed,govcitizenhub.dashboard.viewed,govcitizenhub.service.published,govcitizenhub.application.submitted,govcitizenhub.application.decided,govcitizenhub.permit.issued,govcitizenhub.payment.settled,govcitizenhub.grievance.reported,govcitizenhub.grievance.resolved,govcitizenhub.search.performed,cosmicintersection.page.viewed,labsofscience.page.viewed,labsofscience.project.created,labsofscience.experiment.created,labsofscience.protocol.created,labsofscience.dataset.created,labsofscience.inventory_item.created,labsofscience.notebook_entry.signed,labsofscience.pipeline.run_started,hookmovies.page.viewed,headshotmarketing.page.viewed,timecampus.page.viewed,timecampus.dashboard.viewed,timecampus.timer.started,timecampus.timer.stopped,timecampus.time_entry.created,timecampus.timesheet.submitted,timecampus.report.viewed,timecampus.project.viewed,timecampus.meeting.created,timecampus.pomodoro.session.completed,timecampus.focus_score.viewed,kadaikodi.page.viewed,healthybowl.farm.created,healthybowl.crop.created,healthybowl.crop.updated,healthybowl.harvest.recorded,workspaces.page.viewed,workspace.created,project.created,workspace-member.added,project-member.added".split(","), _e = 4e3;
71
+ function ve(e) {
71
72
  let t = e.technicalMessage ?? e.extensions?.technicalMessage, n = {
72
73
  code: e.code,
73
74
  operationName: e.operationName,
@@ -79,13 +80,13 @@ function ge(e) {
79
80
  };
80
81
  console.error("[Burdenoff backend error]", e.message, n);
81
82
  }
82
- function _e(e) {
83
+ function ye(e) {
83
84
  return e === "prod" || e === "production" ? "prod" : e === "alpha" || e === "staging" ? "alpha" : "dev";
84
85
  }
85
- function ve(e, t) {
86
+ function be(e, t) {
86
87
  return e.VITE_DISABLE_ANALYTICS === "true" ? !1 : e.VITE_ENABLE_ANALYTICS === "true" || e.PROD || t !== "dev" ? !0 : e.VITE_ENABLE_ANALYTICS !== "false";
87
88
  }
88
- function ye() {
89
+ function xe() {
89
90
  return {
90
91
  BASE_URL: "/",
91
92
  DEV: !1,
@@ -94,43 +95,43 @@ function ye() {
94
95
  SSR: !1
95
96
  };
96
97
  }
97
- function be(e, t) {
98
- let n = _e(t.VITE_DEPLOY_ENV ?? t.MODE), r = ve(t, n), i = Z[e], a = n === "prod" ? i?.prod : i?.nonProd, o = t.VITE_RYBBIT_SITE_ID || a, s = t.VITE_BACKEND_AUDIT_ENDPOINT || (t.PROD ? "/api/fe-events" : void 0);
98
+ function Q(t, n) {
99
+ let r = ye(n.VITE_DEPLOY_ENV ?? n.MODE), i = be(n, r), a = X[t] ?? X[e(t)], o = r === "prod" ? a?.prod : a?.nonProd, s = n.VITE_RYBBIT_SITE_ID || o, c = n.VITE_BACKEND_AUDIT_ENDPOINT || (n.PROD ? "/api/fe-events" : void 0);
99
100
  return {
100
- enabled: r,
101
- appVersion: t.VITE_APP_VERSION || "0.0.0",
102
- appEnv: n,
103
- devtools: t.DEV === !0,
101
+ enabled: i,
102
+ appVersion: n.VITE_APP_VERSION || "0.0.0",
103
+ appEnv: r,
104
+ devtools: n.DEV === !0,
104
105
  broadcast: !0,
105
106
  rybbit: {
106
- enabled: r && !!o,
107
- siteId: o,
108
- scriptUrl: t.VITE_RYBBIT_SCRIPT_URL,
109
- allowlist: Q,
107
+ enabled: i && !!s,
108
+ siteId: s,
109
+ scriptUrl: n.VITE_RYBBIT_SCRIPT_URL,
110
+ allowlist: Z,
110
111
  identifyOn: "auth.signed_in",
111
112
  rename: { "nav.route.changed": "pageview" }
112
113
  },
113
114
  otel: {
114
- enabled: r && !!t.VITE_OTEL_HTTP_ENDPOINT,
115
- endpoint: t.VITE_OTEL_HTTP_ENDPOINT,
116
- serviceName: `${e}-app`
115
+ enabled: i && !!n.VITE_OTEL_HTTP_ENDPOINT,
116
+ endpoint: n.VITE_OTEL_HTTP_ENDPOINT,
117
+ serviceName: `${t}-app`
117
118
  },
118
119
  backendAudit: {
119
- enabled: r && !!s,
120
- endpoint: s
120
+ enabled: i && !!c,
121
+ endpoint: c
121
122
  }
122
123
  };
123
124
  }
124
- function xe({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
125
- let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = R(), c = V((e, t) => e.steps?.[t], []);
126
- return /* @__PURE__ */ q(I, {
127
- onTourStart: V((e) => {
125
+ function Se({ children: e, enablePWA: t, toasterPosition: n, productName: r, brandInitial: i }) {
126
+ let { trackProgress: a, recordStepCompletion: o, trackEvent: s } = L(), c = B((e, t) => e.steps?.[t], []);
127
+ return /* @__PURE__ */ K(F, {
128
+ onTourStart: B((e) => {
128
129
  a(e.id, "started"), s("TOUR_STARTED", e.id);
129
130
  }, [s, a]),
130
- onTourComplete: V((e) => {
131
+ onTourComplete: B((e) => {
131
132
  a(e.id, "completed"), s("TOUR_COMPLETED", e.id);
132
133
  }, [s, a]),
133
- onTourSkip: V((e, t) => {
134
+ onTourSkip: B((e, t) => {
134
135
  let n = c(e, t);
135
136
  a(e.id, "skipped"), s("TOUR_SKIPPED", e.id, {
136
137
  stepId: n?.id,
@@ -141,14 +142,14 @@ function xe({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
141
142
  s,
142
143
  a
143
144
  ]),
144
- onStepChange: V((e, t) => {
145
+ onStepChange: B((e, t) => {
145
146
  let n = c(e, t);
146
147
  n && s("STEP_VIEWED", e.id, {
147
148
  stepId: n.id,
148
149
  stepOrder: n.stepOrder
149
150
  });
150
151
  }, [c, s]),
151
- onStepComplete: V((e, t) => {
152
+ onStepComplete: B((e, t) => {
152
153
  let n = c(e, t);
153
154
  n && (o(e.id, n.id), s("STEP_COMPLETED", e.id, {
154
155
  stepId: n.id,
@@ -160,19 +161,19 @@ function xe({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
160
161
  s
161
162
  ]),
162
163
  children: [
163
- /* @__PURE__ */ K(z, {}),
164
+ /* @__PURE__ */ G(R, {}),
164
165
  e,
165
- /* @__PURE__ */ K(Se, {}),
166
- /* @__PURE__ */ K(we, {}),
167
- /* @__PURE__ */ K(Y, {
166
+ /* @__PURE__ */ G(Ce, {}),
167
+ /* @__PURE__ */ G(Te, {}),
168
+ /* @__PURE__ */ G(J, {
168
169
  position: n,
169
170
  richColors: !0,
170
171
  closeButton: !0
171
172
  }),
172
- /* @__PURE__ */ K(E, {}),
173
- t && /* @__PURE__ */ K(B, {
173
+ /* @__PURE__ */ G(T, {}),
174
+ t && /* @__PURE__ */ G(z, {
174
175
  fallback: null,
175
- children: /* @__PURE__ */ K(_, {
176
+ children: /* @__PURE__ */ G(_, {
176
177
  productName: r,
177
178
  brandInitial: i
178
179
  })
@@ -180,97 +181,97 @@ function xe({ children: e, enablePWA: t, toasterPosition: n, productName: r, bra
180
181
  ]
181
182
  });
182
183
  }
183
- function Se() {
184
- let e = W(null);
185
- return H(() => {
184
+ function Ce() {
185
+ let e = U(null);
186
+ return V(() => {
186
187
  let t = (t) => {
187
- let n = t instanceof CustomEvent && a(t.detail) ? t.detail : null;
188
- if (!o(n)) return;
189
- ge(n);
190
- let r = `${n.code ?? ""}|${n.message}`, i = Date.now(), s = e.current;
191
- s?.key === r && i - s.shownAt < he || (e.current = {
188
+ let n = t instanceof CustomEvent && o(t.detail) ? t.detail : null;
189
+ if (!s(n)) return;
190
+ ve(n);
191
+ let r = `${n.code ?? ""}|${n.message}`, i = Date.now(), a = e.current;
192
+ a?.key === r && i - a.shownAt < _e || (e.current = {
192
193
  key: r,
193
194
  shownAt: i
194
- }, X.error(n.message, { duration: 7e3 }));
195
+ }, Y.error(n.message, { duration: 7e3 }));
195
196
  };
196
- return window.addEventListener(n, t), () => window.removeEventListener(n, t);
197
+ return window.addEventListener(r, t), () => window.removeEventListener(r, t);
197
198
  }, []), null;
198
199
  }
199
- var $ = "burdenoff-connection-status", Ce = 1500;
200
- function we() {
201
- let e = W(null), t = W(!1);
202
- return H(() => {
200
+ var $ = "burdenoff-connection-status", we = 1500;
201
+ function Te() {
202
+ let e = U(null), t = U(!1);
203
+ return V(() => {
203
204
  let n = () => {
204
- t.current || (t.current = !0, X.error("Connection lost. Trying to reconnect…", {
205
+ t.current || (t.current = !0, Y.error("Connection lost. Trying to reconnect…", {
205
206
  id: $,
206
207
  duration: Infinity
207
208
  }));
208
- }, i = () => {
209
+ }, r = () => {
209
210
  t.current || e.current || (e.current = setTimeout(() => {
210
211
  e.current = null, n();
211
- }, Ce));
212
+ }, we));
212
213
  }, a = (n) => {
213
214
  if (e.current &&= (clearTimeout(e.current), null), !t.current) {
214
- X.dismiss($);
215
+ Y.dismiss($);
215
216
  return;
216
217
  }
217
- t.current = !1, n ? X.success("Back online", {
218
+ t.current = !1, n ? Y.success("Back online", {
218
219
  id: $,
219
220
  duration: 2500
220
- }) : X.dismiss($);
221
+ }) : Y.dismiss($);
221
222
  }, o = (e) => {
222
223
  if (!(e instanceof CustomEvent)) return;
223
224
  let t = e.detail;
224
- t && (t.online ? a(!0) : i());
225
- }, s = () => i(), c = () => {
225
+ t && (t.online ? a(!0) : r());
226
+ }, s = () => r(), c = () => {
226
227
  e.current &&= (clearTimeout(e.current), null);
227
228
  };
228
- return window.addEventListener(r, o), window.addEventListener("offline", s), window.addEventListener("online", c), () => {
229
- window.removeEventListener(r, o), window.removeEventListener("offline", s), window.removeEventListener("online", c), e.current && clearTimeout(e.current);
229
+ return window.addEventListener(i, o), window.addEventListener("offline", s), window.addEventListener("online", c), () => {
230
+ window.removeEventListener(i, o), window.removeEventListener("offline", s), window.removeEventListener("online", c), e.current && clearTimeout(e.current);
230
231
  };
231
232
  }, []), null;
232
233
  }
233
- function Te() {
234
- return F(), null;
234
+ function Ee() {
235
+ return P(), null;
235
236
  }
236
- function Ee({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, defaultMode: i, defaultDensity: a, defaultTypography: o, defaultGlass: s, productName: c, brandInitial: l, enablePWA: u, toasterPosition: d, tourPageIdFromPath: f }) {
237
- let p = J();
238
- P();
239
- let m = /* @__PURE__ */ K(T, { children: /* @__PURE__ */ K(v, { children: /* @__PURE__ */ K(y, {
237
+ function De({ children: e, i18nProductId: t, fallbackTranslations: n, defaultBrand: r, defaultMode: i, defaultDensity: a, defaultTypography: o, defaultGlass: s, productName: c, brandInitial: l, enablePWA: u, toasterPosition: d, tourPageIdFromPath: f }) {
238
+ let p = q();
239
+ N();
240
+ let m = /* @__PURE__ */ G(w, { children: /* @__PURE__ */ G(v, { children: /* @__PURE__ */ G(y, {
240
241
  workspaceId: null,
241
242
  gateway: "global",
242
243
  defaultEnabled: !0,
243
- children: /* @__PURE__ */ K(b, { children: /* @__PURE__ */ K(x, { children: /* @__PURE__ */ K(g, {
244
+ children: /* @__PURE__ */ G(b, { children: /* @__PURE__ */ G(x, { children: /* @__PURE__ */ G(g, {
244
245
  fallback: null,
245
- children: /* @__PURE__ */ K(L, {
246
+ children: /* @__PURE__ */ G(I, {
246
247
  disabled: p.pathname.startsWith("/devportal") || p.pathname.startsWith("/organizations") || p.pathname.startsWith("/workspaces"),
247
248
  getPageIdFromPath: f,
248
- children: /* @__PURE__ */ q(xe, {
249
+ children: /* @__PURE__ */ K(Se, {
249
250
  enablePWA: u,
250
251
  toasterPosition: d,
251
252
  productName: c,
252
253
  brandInitial: l,
253
- children: [/* @__PURE__ */ K(Te, {}), e]
254
+ children: [/* @__PURE__ */ G(Ee, {}), e]
254
255
  })
255
256
  })
256
257
  }) }) })
257
258
  }) }) });
258
- return /* @__PURE__ */ q(h, {
259
+ return /* @__PURE__ */ K(h, {
259
260
  defaultBrand: r,
260
261
  defaultMode: i,
261
262
  defaultDensity: a,
262
263
  defaultTypography: o,
263
264
  defaultGlass: s,
264
- children: [/* @__PURE__ */ K(De, {}), /* @__PURE__ */ K(ce, {
265
+ children: [/* @__PURE__ */ G(Oe, {}), /* @__PURE__ */ G(ue, {
265
266
  i18nProductId: t,
266
267
  fallbackTranslations: n,
267
268
  children: m
268
269
  })]
269
270
  });
270
271
  }
271
- function De() {
272
- let e = J();
273
- return H(() => {
272
+ function Oe() {
273
+ let e = q();
274
+ return V(() => {
274
275
  e.hash || requestAnimationFrame(() => {
275
276
  window.scrollTo({
276
277
  top: 0,
@@ -288,7 +289,7 @@ function De() {
288
289
  e.hash
289
290
  ]), null;
290
291
  }
291
- function Oe(e) {
292
+ function ke(e) {
292
293
  if (e instanceof Error) return e.message;
293
294
  if (typeof e == "string") return e;
294
295
  try {
@@ -297,9 +298,9 @@ function Oe(e) {
297
298
  return String(e);
298
299
  }
299
300
  }
300
- function ke() {
301
- let e = N(), t = J(), n = W(void 0), r = W(void 0), i = W(null);
302
- return H(() => {
301
+ function Ae() {
302
+ let e = M(), t = q(), n = U(void 0), r = U(void 0), i = U(null);
303
+ return V(() => {
303
304
  let a = `${t.pathname}${t.search}${t.hash}`;
304
305
  if (r.current !== a) return i.current && clearTimeout(i.current), i.current = setTimeout(() => {
305
306
  i.current = null;
@@ -319,7 +320,7 @@ function ke() {
319
320
  t.hash,
320
321
  t.pathname,
321
322
  t.search
322
- ]), H(() => {
323
+ ]), V(() => {
323
324
  let t = (t) => {
324
325
  e.emit("error.runtime.caught", {
325
326
  message: t.message || "Runtime error",
@@ -329,12 +330,12 @@ function ke() {
329
330
  errorName: t.error instanceof Error ? t.error.name : void 0
330
331
  });
331
332
  }, n = (t) => {
332
- e.emit("error.unhandledrejection", { reason: Oe(t.reason) });
333
+ e.emit("error.unhandledrejection", { reason: ke(t.reason) });
333
334
  };
334
335
  return window.addEventListener("error", t), window.addEventListener("unhandledrejection", n), () => {
335
336
  window.removeEventListener("error", t), window.removeEventListener("unhandledrejection", n);
336
337
  };
337
- }, [e]), H(() => {
338
+ }, [e]), V(() => {
338
339
  S((t) => {
339
340
  e.emit("perf.lcp.measured", {
340
341
  metric: "LCP",
@@ -342,14 +343,14 @@ function ke() {
342
343
  id: t.id,
343
344
  rating: t.rating
344
345
  });
345
- }), se((t) => {
346
+ }), le((t) => {
346
347
  e.emit("perf.cls.measured", {
347
348
  metric: "CLS",
348
349
  value: t.value,
349
350
  id: t.id,
350
351
  rating: t.rating
351
352
  });
352
- }), w((t) => {
353
+ }), ce((t) => {
353
354
  e.emit("perf.inp.measured", {
354
355
  metric: "INP",
355
356
  value: t.value,
@@ -366,45 +367,45 @@ function ke() {
366
367
  });
367
368
  }, [e]), null;
368
369
  }
369
- function Ae({ config: t, productSlug: n, privacyConsent: r, consentRouteDenylist: i }) {
370
- let { pathname: a } = J(), o = e(a) || i?.(a) === !0;
371
- return /* @__PURE__ */ q(G, { children: [
372
- /* @__PURE__ */ K(ke, {}),
373
- r && !o ? /* @__PURE__ */ K(A, { productName: n }) : null,
374
- t.enabled === !1 ? null : /* @__PURE__ */ q(G, { children: [
375
- t.devtools ? /* @__PURE__ */ K(D, { enabled: !0 }) : null,
376
- t.broadcast === !1 ? null : /* @__PURE__ */ K(O, {}),
377
- t.backendAudit?.enabled && t.backendAudit.endpoint ? /* @__PURE__ */ K(k, { endpoint: t.backendAudit.endpoint }) : null,
378
- t.rybbit?.enabled && t.rybbit.siteId ? /* @__PURE__ */ K(j, {
379
- siteId: t.rybbit.siteId,
380
- scriptUrl: t.rybbit.scriptUrl,
381
- allowlist: t.rybbit.allowlist,
382
- identifyOn: t.rybbit.identifyOn,
383
- rename: t.rybbit.rename
370
+ function je({ config: e, productSlug: n, privacyConsent: r, consentRouteDenylist: i }) {
371
+ let { pathname: a } = q(), o = t(a) || i?.(a) === !0;
372
+ return /* @__PURE__ */ K(W, { children: [
373
+ /* @__PURE__ */ G(Ae, {}),
374
+ r && !o ? /* @__PURE__ */ G(k, { productName: n }) : null,
375
+ e.enabled === !1 ? null : /* @__PURE__ */ K(W, { children: [
376
+ e.devtools ? /* @__PURE__ */ G(E, { enabled: !0 }) : null,
377
+ e.broadcast === !1 ? null : /* @__PURE__ */ G(D, {}),
378
+ e.backendAudit?.enabled && e.backendAudit.endpoint ? /* @__PURE__ */ G(O, { endpoint: e.backendAudit.endpoint }) : null,
379
+ e.rybbit?.enabled && e.rybbit.siteId ? /* @__PURE__ */ G(A, {
380
+ siteId: e.rybbit.siteId,
381
+ scriptUrl: e.rybbit.scriptUrl,
382
+ allowlist: e.rybbit.allowlist,
383
+ identifyOn: e.rybbit.identifyOn,
384
+ rename: e.rybbit.rename
384
385
  }) : null,
385
- t.otel?.enabled && t.otel.endpoint ? /* @__PURE__ */ K(M, {
386
- endpoint: t.otel.endpoint,
387
- serviceName: t.otel.serviceName ?? `${n}-app`,
388
- flushInterval: t.otel.flushInterval
386
+ e.otel?.enabled && e.otel.endpoint ? /* @__PURE__ */ G(j, {
387
+ endpoint: e.otel.endpoint,
388
+ serviceName: e.otel.serviceName ?? `${n}-app`,
389
+ flushInterval: e.otel.flushInterval
389
390
  }) : null
390
391
  ] })
391
392
  ] });
392
393
  }
393
- function je({ config: n, children: r, clearAuthStore: a }) {
394
- let { productName: o, productSlug: h = o.toLowerCase().replace(/\s+/g, ""), tagline: _ = "", domain: v, i18nProductId: y, gatewayUrls: b, authBridge: x, defaultBrand: S = "default", defaultMode: C, defaultDensity: w, defaultTypography: se, defaultGlass: ce, enablePWA: T = !0, brandInitial: E = o.charAt(0), defaultGateway: D = "workspace", enableSubscriptions: O = !0, fallbackTranslations: k, queryClientOptions: A, toasterPosition: j = "bottom-right", observability: M, privacyConsent: N = !1, consentRouteDenylist: P, tourPageIdFromPath: F } = n, I = U(() => M ?? be(h, ye()), [M, h]), L = U(() => ({
394
+ function Me({ config: e, children: r, clearAuthStore: i }) {
395
+ let { productName: o, productSlug: s = o.toLowerCase().replace(/\s+/g, ""), tagline: h = "", domain: _, i18nProductId: v, gatewayUrls: y, authBridge: b, defaultBrand: x = "default", defaultMode: S, defaultDensity: C, defaultTypography: ce, defaultGlass: le, enablePWA: ue = !0, brandInitial: w = o.charAt(0), defaultGateway: T = "workspace", enableSubscriptions: E = !0, fallbackTranslations: D, queryClientOptions: O, toasterPosition: k = "bottom-right", observability: A, privacyConsent: j = !1, consentRouteDenylist: M, tourPageIdFromPath: N } = e, P = H(() => A ?? Q(s, xe()), [A, s]), F = H(() => ({
395
396
  productName: o,
396
- productSlug: h,
397
- brandInitial: E,
398
- tagline: _,
399
- domain: v
397
+ productSlug: s,
398
+ brandInitial: w,
399
+ tagline: h,
400
+ domain: _
400
401
  }), [
401
402
  o,
403
+ s,
404
+ w,
402
405
  h,
403
- E,
404
- _,
405
- v
406
- ]), R = W(!1), z = W(!!x?.url), B = V((t) => {
407
- if (!t?.force && (() => {
406
+ _
407
+ ]), I = U(!1), L = U(!!b?.url), R = B((e) => {
408
+ if (!e?.force && (() => {
408
409
  try {
409
410
  let e = sessionStorage.getItem("bf-active-profile");
410
411
  if (!e) return !1;
@@ -413,25 +414,25 @@ function je({ config: n, children: r, clearAuthStore: a }) {
413
414
  } catch {
414
415
  return !1;
415
416
  }
416
- })() || z.current || R.current) return;
417
- R.current = !0, u(a);
418
- let n = `${window.location.pathname}${window.location.search}`, r = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(n)}`, i = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
419
- if (window.location.pathname.startsWith("/auth/") || e(window.location.pathname) || i) {
420
- R.current = !1;
417
+ })() || L.current || I.current) return;
418
+ I.current = !0, d(i);
419
+ let n = `${window.location.pathname}${window.location.search}`, r = `/auth/login?reason=session-expired&returnTo=${encodeURIComponent(n)}`, a = /^\/vibecontrols\/(share|deck)\//.test(window.location.pathname);
420
+ if (window.location.pathname.startsWith("/auth/") || t(window.location.pathname) || a) {
421
+ I.current = !1;
421
422
  return;
422
423
  }
423
424
  window.location.replace(r);
424
- }, [a]), G = U(() => ({
425
- globalBaseUrl: b.globalBaseUrl,
426
- ...d()
427
- }), [b.globalBaseUrl]), J = V(async () => l(G), [G]), Y = V(async () => {
428
- window.location.pathname.startsWith("/auth/") || await J() || B({ force: !0 });
429
- }, [J, B]), X = V(async (e) => {
430
- f(e) ? await J() || B({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
431
- }, [J, B]), Z = V(async (e) => {
432
- let t = await c({
425
+ }, [i]), z = H(() => ({
426
+ globalBaseUrl: y.globalBaseUrl,
427
+ ...f()
428
+ }), [y.globalBaseUrl]), W = B(async () => u(z), [z]), q = B(async () => {
429
+ window.location.pathname.startsWith("/auth/") || await W() || R({ force: !0 });
430
+ }, [W, R]), J = B(async (e) => {
431
+ p(e) ? await W() || R({ force: !0 }) : console.error("[Network] Backend unreachable:", e.message);
432
+ }, [W, R]), Y = B(async (e) => {
433
+ let t = await l({
433
434
  gateway: "global",
434
- baseUrl: b.globalBaseUrl,
435
+ baseUrl: y.globalBaseUrl,
435
436
  authToken: "",
436
437
  query: "mutation RefreshToken($token: String!) {\n refreshToken(token: $token) {\n accessToken\n refreshToken\n expiresIn\n }\n }",
437
438
  variables: { token: e }
@@ -443,92 +444,92 @@ function je({ config: n, children: r, clearAuthStore: a }) {
443
444
  refreshToken: n.refreshToken,
444
445
  expiresAt: n.expiresIn ? Date.now() + n.expiresIn * 1e3 : void 0
445
446
  };
446
- }, [b.globalBaseUrl]), Q = V(() => t("organization"), []), he = U(() => {
447
- let e = new pe({
448
- queryCache: new fe({ onError: (e) => {
449
- i(e);
447
+ }, [y.globalBaseUrl]), X = B(() => n("organization"), []), Z = H(() => {
448
+ let e = new he({
449
+ queryCache: new me({ onError: (e) => {
450
+ a(e);
450
451
  } }),
451
- mutationCache: new de({
452
+ mutationCache: new pe({
452
453
  onSuccess: () => {
453
454
  e.invalidateQueries();
454
455
  },
455
456
  onError: (e) => {
456
- i(e);
457
+ a(e);
457
458
  }
458
459
  }),
459
460
  defaultOptions: { queries: {
460
- staleTime: A?.staleTime ?? 300 * 1e3,
461
- retry: A?.retry ?? 2,
462
- refetchOnWindowFocus: A?.refetchOnWindowFocus ?? !1
461
+ staleTime: O?.staleTime ?? 300 * 1e3,
462
+ retry: O?.retry ?? 2,
463
+ refetchOnWindowFocus: O?.refetchOnWindowFocus ?? !1
463
464
  } }
464
465
  });
465
466
  return e;
466
- }, [A]);
467
- return H(() => {
467
+ }, [O]);
468
+ return V(() => {
468
469
  let e = () => {
469
- B({ force: !0 });
470
+ R({ force: !0 });
470
471
  };
471
- return window.addEventListener(s, e), () => {
472
- window.removeEventListener(s, e);
472
+ return window.addEventListener(c, e), () => {
473
+ window.removeEventListener(c, e);
473
474
  };
474
- }, [B]), H(() => {
475
- let e = te.getInstance();
476
- e.getLogger("shell") || e.getLogger("shell").addTransport(new ne());
477
- }, []), /* @__PURE__ */ K(p, {
478
- value: L,
479
- children: /* @__PURE__ */ K(le, {
480
- appName: h,
481
- appVersion: I.appVersion,
482
- appEnv: I.appEnv,
483
- sourceMfe: h,
484
- children: /* @__PURE__ */ K(g, {
485
- FallbackComponent: re,
486
- children: /* @__PURE__ */ q(ue, { children: [/* @__PURE__ */ K(Ae, {
487
- config: I,
488
- productSlug: h,
489
- privacyConsent: N,
490
- consentRouteDenylist: P
491
- }), /* @__PURE__ */ K(me, {
492
- client: he,
493
- children: /* @__PURE__ */ K(ae, { children: /* @__PURE__ */ K(oe, {
494
- workspaceBaseUrl: b.workspaceBaseUrl,
495
- globalBaseUrl: b.globalBaseUrl,
496
- organizationId: Q,
497
- productSlug: h,
498
- defaultGateway: D,
499
- enableSubscriptions: O,
500
- onAuthError: Y,
501
- onNetworkError: X,
502
- onRefreshToken: J,
503
- children: /* @__PURE__ */ K(m, {
504
- bridgeUrl: x?.url,
505
- bridgeAllowedOrigins: x?.allowedOrigins,
506
- bridgeDebug: x?.debug,
507
- onRefreshToken: Z,
475
+ }, [R]), V(() => {
476
+ let e = ne.getInstance();
477
+ e.getLogger("shell") || e.getLogger("shell").addTransport(new re());
478
+ }, []), /* @__PURE__ */ G(m, {
479
+ value: F,
480
+ children: /* @__PURE__ */ G(de, {
481
+ appName: s,
482
+ appVersion: P.appVersion,
483
+ appEnv: P.appEnv,
484
+ sourceMfe: s,
485
+ children: /* @__PURE__ */ G(g, {
486
+ FallbackComponent: ie,
487
+ children: /* @__PURE__ */ K(fe, { children: [/* @__PURE__ */ G(je, {
488
+ config: P,
489
+ productSlug: s,
490
+ privacyConsent: j,
491
+ consentRouteDenylist: M
492
+ }), /* @__PURE__ */ G(ge, {
493
+ client: Z,
494
+ children: /* @__PURE__ */ G(oe, { children: /* @__PURE__ */ G(se, {
495
+ workspaceBaseUrl: y.workspaceBaseUrl,
496
+ globalBaseUrl: y.globalBaseUrl,
497
+ organizationId: X,
498
+ productSlug: s,
499
+ defaultGateway: T,
500
+ enableSubscriptions: E,
501
+ onAuthError: q,
502
+ onNetworkError: J,
503
+ onRefreshToken: W,
504
+ children: /* @__PURE__ */ G(ee, {
505
+ bridgeUrl: b?.url,
506
+ bridgeAllowedOrigins: b?.allowedOrigins,
507
+ bridgeDebug: b?.debug,
508
+ onRefreshToken: Y,
508
509
  onBridgeReady: () => {
509
- z.current = !1;
510
+ L.current = !1;
510
511
  },
511
512
  onSessionExpiringSoon: () => {
512
513
  console.warn("[Auth] Session will expire in 5 minutes");
513
514
  },
514
515
  onTokenExpired: () => {
515
- B();
516
+ R();
516
517
  },
517
- children: /* @__PURE__ */ K(ee, {
518
+ children: /* @__PURE__ */ G(te, {
518
519
  syncToUrl: !0,
519
- children: /* @__PURE__ */ K(ie, { children: /* @__PURE__ */ K(Ee, {
520
- i18nProductId: y,
521
- fallbackTranslations: k,
522
- defaultBrand: S,
523
- defaultMode: C,
524
- defaultDensity: w,
525
- defaultTypography: se,
526
- defaultGlass: ce,
520
+ children: /* @__PURE__ */ G(ae, { children: /* @__PURE__ */ G(De, {
521
+ i18nProductId: v,
522
+ fallbackTranslations: D,
523
+ defaultBrand: x,
524
+ defaultMode: S,
525
+ defaultDensity: C,
526
+ defaultTypography: ce,
527
+ defaultGlass: le,
527
528
  productName: o,
528
- brandInitial: E,
529
- enablePWA: T,
530
- toasterPosition: j,
531
- tourPageIdFromPath: F,
529
+ brandInitial: w,
530
+ enablePWA: ue,
531
+ toasterPosition: k,
532
+ tourPageIdFromPath: N,
532
533
  children: r
533
534
  }) })
534
535
  })
@@ -540,4 +541,4 @@ function je({ config: n, children: r, clearAuthStore: a }) {
540
541
  });
541
542
  }
542
543
  //#endregion
543
- export { je as AppShellProvider, be as resolveAppShellObservabilityConfig };
544
+ export { Me as AppShellProvider, Q as resolveAppShellObservabilityConfig };