@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.
- package/dist/chrome/ProductPickerSheet.d.ts.map +1 -1
- package/dist/chrome/ProductPickerSheet.js +45 -44
- package/dist/chrome/ProductSwitcher.d.ts.map +1 -1
- package/dist/chrome/ProductSwitcher.js +83 -82
- package/dist/shared/assistant/autoRouting.d.ts +1 -0
- package/dist/shared/assistant/autoRouting.d.ts.map +1 -1
- package/dist/shared/assistant/autoRouting.js +1 -1
- package/dist/shared/assistant/conversation.d.ts +29 -0
- package/dist/shared/assistant/conversation.d.ts.map +1 -1
- package/dist/shared/assistant/guardedStorage.d.ts +32 -0
- package/dist/shared/assistant/guardedStorage.d.ts.map +1 -0
- package/dist/shared/assistant/guardedStorage.js +36 -0
- package/dist/shared/assistant/i18nManifest.d.ts +7 -0
- package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
- package/dist/shared/assistant/i18nManifest.js +7 -0
- package/dist/shared/assistant/index.d.ts +3 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/liveTurns.d.ts +145 -0
- package/dist/shared/assistant/liveTurns.d.ts.map +1 -0
- package/dist/shared/assistant/liveTurns.js +99 -0
- package/dist/shared/assistant/store.d.ts.map +1 -1
- package/dist/shared/assistant/store.js +11 -10
- package/dist/shared/assistant/turnState.d.ts +12 -0
- package/dist/shared/assistant/turnState.d.ts.map +1 -1
- package/dist/shared/assistant/turnState.js +4 -1
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +704 -568
- package/dist/shared/assistant/ui/AssistantMessageItem.d.ts +19 -0
- package/dist/shared/assistant/ui/AssistantMessageItem.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantMessageItem.js +92 -88
- package/dist/shared/assistant/ui/AssistantMessageList.d.ts +22 -2
- package/dist/shared/assistant/ui/AssistantMessageList.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantMessageList.js +37 -36
- package/dist/shared/assistant/ui/AssistantPendingWriteCard.d.ts +34 -0
- package/dist/shared/assistant/ui/AssistantPendingWriteCard.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantPendingWriteCard.js +31 -28
- package/dist/shared/assistant/ui/useVoiceSession.d.ts +1 -0
- package/dist/shared/assistant/ui/useVoiceSession.d.ts.map +1 -1
- package/dist/shared/assistant/ui/useVoiceSession.js +119 -117
- package/dist/shared/assistant/voice/voiceReopen.d.ts +117 -0
- package/dist/shared/assistant/voice/voiceReopen.d.ts.map +1 -0
- package/dist/shared/assistant/voice/voiceReopen.js +49 -0
- package/dist/shared/config/index.d.ts +3 -1
- package/dist/shared/config/index.d.ts.map +1 -1
- package/dist/shared/config/productSlug.d.ts +36 -0
- package/dist/shared/config/productSlug.d.ts.map +1 -0
- package/dist/shared/config/productSlug.js +23 -0
- package/dist/shared/config/products.d.ts +8 -1
- package/dist/shared/config/products.d.ts.map +1 -1
- package/dist/shared/config/products.js +21 -14
- package/dist/shared/hooks/shell/useProducts.d.ts +8 -0
- package/dist/shared/hooks/shell/useProducts.d.ts.map +1 -1
- package/dist/shared/hooks/shell/useProducts.js +46 -42
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +228 -227
- package/dist/shared/providers/shell/ThemeProvider.d.ts +1 -1
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ThemeProvider.js +58 -57
- package/dist/shared/providers/shell/brandAttribute.d.ts +11 -0
- package/dist/shared/providers/shell/brandAttribute.d.ts.map +1 -0
- package/dist/shared/providers/shell/brandAttribute.js +7 -0
- package/dist/shared-assistant.js +101 -98
- package/dist/shared-config.js +11 -10
- package/dist/shared.js +121 -120
- package/package.json +2 -2
- package/src/vite/types.ts +4 -1
|
@@ -9,7 +9,7 @@ import { ReactNode } from 'react';
|
|
|
9
9
|
export type ThemeMode = 'light' | 'dark' | 'forest' | 'ocean' | 'sunset' | 'high-contrast' | 'system' | 'custom';
|
|
10
10
|
/** The six concrete CSS themes (`data-theme` only ever receives one of these). */
|
|
11
11
|
export type ThemeName = Exclude<ThemeMode, 'system' | 'custom'>;
|
|
12
|
-
export type Brand = 'workspaces' | 'fluidgrids' | 'bigconsole' | 'botlit' | 'vibecontrols' | 'healthybowl' | 'housingvista' | 'adaptercloud' | 'artistrybase' | 'atheletebridge' | 'brainyrich' | 'buildmyiq' | 'collabkin' | 'comradecircle' | 'coolandlovely' | 'cosmicintersection' | 'crewfoundry' | 'ecoimpacthub' | 'eventfullymanaged' | 'ggnomad' | 'govcitizenhub' | 'headshotmarketing' | 'hookmovies' | 'intelwatchtower' | 'kadaikodi' | 'labsofscience' | 'manufacturedops' | 'movethewheels' | 'mybodyshield' | 'planmagnet' | 'proserviceworld' | 'semanticfed' | 'subscriberbot' | 'theculturepost' | 'theglobalfuel' | 'timecampus' | 'default';
|
|
12
|
+
export type Brand = 'workspaces' | 'fluidgrids' | 'bigconsole' | 'botlit' | 'botmanor' | 'vibecontrols' | 'healthybowl' | 'housingvista' | 'adaptercloud' | 'artistrybase' | 'atheletebridge' | 'brainyrich' | 'buildmyiq' | 'collabkin' | 'comradecircle' | 'coolandlovely' | 'cosmicintersection' | 'crewfoundry' | 'ecoimpacthub' | 'eventfullymanaged' | 'ggnomad' | 'govcitizenhub' | 'headshotmarketing' | 'hookmovies' | 'intelwatchtower' | 'kadaikodi' | 'labsofscience' | 'manufacturedops' | 'movethewheels' | 'mybodyshield' | 'planmagnet' | 'proserviceworld' | 'semanticfed' | 'subscriberbot' | 'theculturepost' | 'theglobalfuel' | 'timecampus' | 'default';
|
|
13
13
|
export type Density = 'compact' | 'comfortable' | 'spacious';
|
|
14
14
|
export type Typography = 'default' | 'large' | 'small';
|
|
15
15
|
/** Glass intensity preference (drives `data-glass` → blur + opaque fallback). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAKf;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GACjB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,eAAe,GACf,QAAQ,GACR,QAAQ,CAAC;AACb,kFAAkF;AAClF,MAAM,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,EAAE,QAAQ,GAAG,QAAQ,CAAC,CAAC;AAChE,MAAM,MAAM,KAAK,GAEb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,QAAQ,GAGR,UAAU,GACV,cAAc,GACd,aAAa,GACb,cAAc,GAKd,cAAc,GACd,cAAc,GACd,gBAAgB,GAChB,YAAY,GACZ,WAAW,GACX,WAAW,GACX,eAAe,GACf,eAAe,GACf,oBAAoB,GACpB,aAAa,GACb,cAAc,GACd,mBAAmB,GACnB,SAAS,GACT,eAAe,GACf,mBAAmB,GACnB,YAAY,GACZ,iBAAiB,GACjB,WAAW,GACX,eAAe,GACf,iBAAiB,GACjB,eAAe,GACf,cAAc,GACd,YAAY,GACZ,iBAAiB,GACjB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,eAAe,GACf,YAAY,GACZ,SAAS,CAAC;AAEd,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AACvD,iFAAiF;AACjF,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,cAAc,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;CACvB;AAWD,8DAA8D;AAC9D,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;CAC1B;AACD,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,WAAW,CAOpD,CAAC;AA4BF,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,cAAc,CAAC;IACtB,YAAY,EAAE,OAAO,CAAC;IACtB,4CAA4C;IAC5C,aAAa,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,0FAA0F;IAC1F,iBAAiB,EAAE,SAAS,CAAC;IAC7B,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,aAAa,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IAChD,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC1C,eAAe,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IAE3C,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,iBAAiB,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,KAAK,WAAW,CAAC;IAC/D,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC;IACjF,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,0DAA0D;IAC1D,gBAAgB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAEvC,SAAS,EAAE,OAAO,GAAG,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAID,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,UAAU,CAAC;IAC/B,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,WAAsB,EACtB,YAAwB,EACxB,cAA8B,EAC9B,iBAA6B,EAC7B,YAAqB,EACrB,UAA8B,GAC/B,EAAE,kBAAkB,2CA0RpB;AAED,wBAAgB,QAAQ,sBAMvB;AAED;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,iBAAiB,GAAG,IAAI,CAEzD"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { desktopSetTheme as e } from "../../native/desktop.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { brandAttribute as t } from "./brandAttribute.js";
|
|
3
|
+
import { createContext as n, use as r, useCallback as i, useEffect as a, useMemo as o, useState as s } from "react";
|
|
4
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
4
5
|
//#region src/shared/providers/shell/ThemeProvider.tsx
|
|
5
|
-
var
|
|
6
|
+
var l = new Set([
|
|
6
7
|
"dark",
|
|
7
8
|
"forest",
|
|
8
9
|
"ocean",
|
|
9
10
|
"sunset",
|
|
10
11
|
"high-contrast"
|
|
11
|
-
]),
|
|
12
|
+
]), u = [
|
|
12
13
|
{
|
|
13
14
|
value: "light",
|
|
14
15
|
label: "Light",
|
|
@@ -39,8 +40,8 @@ var c = new Set([
|
|
|
39
40
|
label: "High Contrast",
|
|
40
41
|
family: "dark"
|
|
41
42
|
}
|
|
42
|
-
],
|
|
43
|
-
function
|
|
43
|
+
], d = (e) => l.has(e) ? "dark" : "light";
|
|
44
|
+
function f(e) {
|
|
44
45
|
let t = /^#?([0-9a-f]{6})$/i.exec(e.trim());
|
|
45
46
|
if (!t) return 0;
|
|
46
47
|
let n = parseInt(t[1], 16), r = [
|
|
@@ -53,8 +54,8 @@ function d(e) {
|
|
|
53
54
|
});
|
|
54
55
|
return .2126 * r[0] + .7152 * r[1] + .0722 * r[2];
|
|
55
56
|
}
|
|
56
|
-
var
|
|
57
|
-
function
|
|
57
|
+
var p = (e) => f(e) > .45;
|
|
58
|
+
function m(e, t) {
|
|
58
59
|
if (typeof window > "u") return t;
|
|
59
60
|
try {
|
|
60
61
|
let n = localStorage.getItem(e);
|
|
@@ -63,75 +64,75 @@ function ee(e, t) {
|
|
|
63
64
|
return t;
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
|
-
var
|
|
67
|
-
function
|
|
68
|
-
let
|
|
69
|
-
|
|
67
|
+
var h = n(null);
|
|
68
|
+
function g({ children: n, defaultMode: r = "system", defaultBrand: l = "default", defaultDensity: u = "comfortable", defaultTypography: f = "default", defaultGlass: g = "full", storageKey: _ = "burdenoff-theme" }) {
|
|
69
|
+
let v = (e, t) => typeof window > "u" ? t : localStorage.getItem(`${_}-${e}`) || t, [y, b] = s(() => v("mode", r)), [x, S] = s(() => v("brand", l)), [ee, te] = s(() => v("density", u)), [C, w] = s(() => v("typography", f)), [T, E] = s(() => v("glass", g)), [D, O] = s(() => v("reduce-motion", "") === "1"), [k, A] = s(() => m(`${_}-custom-list`, [])), [j, M] = s(() => v("active-custom", "") || null), N = o(() => y === "custom" ? k.find((e) => e.id === j) ?? null : null, [
|
|
70
|
+
y,
|
|
70
71
|
k,
|
|
71
72
|
j
|
|
72
|
-
]), [P, F] =
|
|
73
|
-
|
|
74
|
-
if (
|
|
73
|
+
]), [P, F] = s(() => y === "custom" ? "light" : y === "system" ? typeof window > "u" ? "light" : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : y);
|
|
74
|
+
a(() => {
|
|
75
|
+
if (y === "system") {
|
|
75
76
|
let e = window.matchMedia("(prefers-color-scheme: dark)"), t = (e) => F(e.matches ? "dark" : "light");
|
|
76
77
|
return e.addEventListener("change", t), F(e.matches ? "dark" : "light"), () => e.removeEventListener("change", t);
|
|
77
78
|
}
|
|
78
|
-
F(
|
|
79
|
-
}, [
|
|
80
|
-
let I =
|
|
81
|
-
|
|
82
|
-
let
|
|
83
|
-
if (
|
|
79
|
+
F(y === "custom" ? N?.base ?? "light" : y);
|
|
80
|
+
}, [y, N]);
|
|
81
|
+
let I = d(P), L = N?.density ?? ee, R = N?.typography ?? C, z = N?.glass ?? T, B = N?.reduceMotion ?? D;
|
|
82
|
+
a(() => {
|
|
83
|
+
let n = document.documentElement;
|
|
84
|
+
if (n.setAttribute("data-theme", P), n.setAttribute("data-brand", t(x)), n.setAttribute("data-density", L), n.setAttribute("data-typography", R), n.setAttribute("data-glass", z), n.toggleAttribute("data-reduce-motion", B), I === "dark" ? n.classList.add("dark") : n.classList.remove("dark"), N) {
|
|
84
85
|
let e = N.accent;
|
|
85
|
-
|
|
86
|
-
} else
|
|
87
|
-
let
|
|
88
|
-
let
|
|
86
|
+
n.style.setProperty("--color-action-primary-bg", e), n.style.setProperty("--color-action-primary-bgHover", `color-mix(in oklab, ${e} 84%, black)`), n.style.setProperty("--color-action-primary-bgActive", `color-mix(in oklab, ${e} 70%, black)`), p(e) ? n.style.setProperty("--color-action-primary-text", "#0a0a0a") : n.style.removeProperty("--color-action-primary-text");
|
|
87
|
+
} else n.style.removeProperty("--color-action-primary-bg"), n.style.removeProperty("--color-action-primary-bgHover"), n.style.removeProperty("--color-action-primary-bgActive"), n.style.removeProperty("--color-action-primary-text");
|
|
88
|
+
let r = () => {
|
|
89
|
+
let t = getComputedStyle(n).getPropertyValue("--color-bg-canvas").trim();
|
|
89
90
|
e({
|
|
90
91
|
scheme: I === "dark" ? "dark" : "light",
|
|
91
|
-
backgroundColor:
|
|
92
|
+
backgroundColor: t || void 0
|
|
92
93
|
});
|
|
93
94
|
};
|
|
94
95
|
if (typeof requestAnimationFrame == "function") {
|
|
95
|
-
let e = requestAnimationFrame(
|
|
96
|
+
let e = requestAnimationFrame(r);
|
|
96
97
|
return () => cancelAnimationFrame(e);
|
|
97
98
|
}
|
|
98
|
-
|
|
99
|
+
r();
|
|
99
100
|
}, [
|
|
100
101
|
P,
|
|
101
102
|
I,
|
|
102
|
-
|
|
103
|
+
x,
|
|
103
104
|
L,
|
|
104
105
|
R,
|
|
105
106
|
z,
|
|
106
107
|
B,
|
|
107
108
|
N
|
|
108
109
|
]);
|
|
109
|
-
let V =
|
|
110
|
-
|
|
111
|
-
}, [V]), U =
|
|
112
|
-
|
|
113
|
-
}, [V]), W =
|
|
114
|
-
|
|
115
|
-
}, [V]), G =
|
|
110
|
+
let V = i((e, t) => localStorage.setItem(`${_}-${e}`, t), [_]), H = i((e) => {
|
|
111
|
+
b(e), V("mode", e);
|
|
112
|
+
}, [V]), U = i((e) => {
|
|
113
|
+
S(e), V("brand", e);
|
|
114
|
+
}, [V]), W = i((e) => {
|
|
115
|
+
te(e), V("density", e);
|
|
116
|
+
}, [V]), G = i((e) => {
|
|
116
117
|
w(e), V("typography", e);
|
|
117
|
-
}, [V]), K =
|
|
118
|
+
}, [V]), K = i((e) => {
|
|
118
119
|
E(e), V("glass", e);
|
|
119
|
-
}, [V]), q =
|
|
120
|
+
}, [V]), q = i((e) => {
|
|
120
121
|
O(e), V("reduce-motion", e ? "1" : "0");
|
|
121
|
-
}, [V]), J =
|
|
122
|
-
A(e), localStorage.setItem(`${
|
|
123
|
-
}, [
|
|
122
|
+
}, [V]), J = i((e) => {
|
|
123
|
+
A(e), localStorage.setItem(`${_}-custom-list`, JSON.stringify(e));
|
|
124
|
+
}, [_]), Y = i((e) => {
|
|
124
125
|
let t = typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `ct-${Date.now()}-${Math.floor(performance.now())}`, n = {
|
|
125
126
|
...e,
|
|
126
127
|
id: t
|
|
127
128
|
};
|
|
128
129
|
return J([...k, n]), n;
|
|
129
|
-
}, [k, J]), X =
|
|
130
|
+
}, [k, J]), X = i((e, t) => {
|
|
130
131
|
J(k.map((n) => n.id === e ? {
|
|
131
132
|
...n,
|
|
132
133
|
...t
|
|
133
134
|
} : n));
|
|
134
|
-
}, [k, J]), Z =
|
|
135
|
+
}, [k, J]), Z = i((e) => {
|
|
135
136
|
J(k.filter((t) => t.id !== e)), j === e && (M(null), V("active-custom", ""), H("system"));
|
|
136
137
|
}, [
|
|
137
138
|
k,
|
|
@@ -139,13 +140,13 @@ function m({ children: t, defaultMode: n = "system", defaultBrand: c = "default"
|
|
|
139
140
|
j,
|
|
140
141
|
V,
|
|
141
142
|
H
|
|
142
|
-
]), Q =
|
|
143
|
+
]), Q = i((e) => {
|
|
143
144
|
M(e), V("active-custom", e), H("custom");
|
|
144
|
-
}, [V, H]), $ =
|
|
145
|
+
}, [V, H]), $ = i(() => {
|
|
145
146
|
H(I === "light" ? "dark" : "light");
|
|
146
|
-
}, [I, H]),
|
|
147
|
-
mode:
|
|
148
|
-
brand:
|
|
147
|
+
}, [I, H]), ne = o(() => ({
|
|
148
|
+
mode: y,
|
|
149
|
+
brand: x,
|
|
149
150
|
density: L,
|
|
150
151
|
typography: R,
|
|
151
152
|
glass: z,
|
|
@@ -167,8 +168,8 @@ function m({ children: t, defaultMode: n = "system", defaultBrand: c = "default"
|
|
|
167
168
|
colorMode: I,
|
|
168
169
|
toggleColorMode: $
|
|
169
170
|
}), [
|
|
170
|
-
_,
|
|
171
171
|
y,
|
|
172
|
+
x,
|
|
172
173
|
L,
|
|
173
174
|
R,
|
|
174
175
|
z,
|
|
@@ -189,18 +190,18 @@ function m({ children: t, defaultMode: n = "system", defaultBrand: c = "default"
|
|
|
189
190
|
Q,
|
|
190
191
|
$
|
|
191
192
|
]);
|
|
192
|
-
return /* @__PURE__ */
|
|
193
|
-
value:
|
|
194
|
-
children:
|
|
193
|
+
return /* @__PURE__ */ c(h.Provider, {
|
|
194
|
+
value: ne,
|
|
195
|
+
children: n
|
|
195
196
|
});
|
|
196
197
|
}
|
|
197
|
-
function
|
|
198
|
-
let e =
|
|
198
|
+
function _() {
|
|
199
|
+
let e = r(h);
|
|
199
200
|
if (!e) throw Error("useTheme must be used within a ThemeProvider");
|
|
200
201
|
return e;
|
|
201
202
|
}
|
|
202
|
-
function
|
|
203
|
-
return
|
|
203
|
+
function v() {
|
|
204
|
+
return r(h);
|
|
204
205
|
}
|
|
205
206
|
//#endregion
|
|
206
|
-
export {
|
|
207
|
+
export { u as THEME_OPTIONS, g as ThemeProvider, _ as useTheme, v as useThemeOrNull };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Brand } from './ThemeProvider';
|
|
2
|
+
/**
|
|
3
|
+
* The `data-brand` attribute value for a brand. Both spellings of a renamed
|
|
4
|
+
* product (`botlit` / `botmanor`) resolve to ONE brand token, so they always
|
|
5
|
+
* get the same theme; every other brand is emitted unchanged.
|
|
6
|
+
*
|
|
7
|
+
* Lives outside ThemeProvider.tsx so that file only exports components/types
|
|
8
|
+
* (React Fast Refresh).
|
|
9
|
+
*/
|
|
10
|
+
export declare function brandAttribute(brand: Brand): string;
|
|
11
|
+
//# sourceMappingURL=brandAttribute.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brandAttribute.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/brandAttribute.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEnD"}
|
package/dist/shared-assistant.js
CHANGED
|
@@ -41,101 +41,104 @@ import { POLL_FAST_MS as ur, POLL_FAST_UNTIL_MS as dr, POLL_SLOW_MS as fr, POLL_
|
|
|
41
41
|
import { toCaptionText as gr } from "./shared/assistant/voice/captionText.js";
|
|
42
42
|
import { ASSISTANT_LANGUAGES as _r, DEFAULT_SPEECH_RATE as vr, findAssistantLanguage as yr, resolveAssistantLanguage as br } from "./shared/assistant/voice/languages.js";
|
|
43
43
|
import { replyFollowsInput as xr, resolveLanguagePair as Sr } from "./shared/assistant/voice/languagePair.js";
|
|
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 {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
131
|
-
import {
|
|
132
|
-
import {
|
|
133
|
-
import {
|
|
134
|
-
import {
|
|
135
|
-
import {
|
|
136
|
-
import {
|
|
137
|
-
import {
|
|
138
|
-
import {
|
|
139
|
-
import {
|
|
140
|
-
import {
|
|
141
|
-
export { hc as ABANDONED_TURN_OUTCOME, Vi as ADMIN_MODE_ACCESS_WAIT_MS, rl as AIAssistantPanel, Z as ASSISTANT_API_AUTH_STRATEGY, il as ASSISTANT_BOTTOM_CHROME_CLEARANCE, al as ASSISTANT_DIALOG_SELECTOR, ol as ASSISTANT_DOCKED_DESKTOP_CLASS, sl as ASSISTANT_DOCK_WIDTH_PX, cl as ASSISTANT_DOCK_WIDTH_VAR, ll as ASSISTANT_FLOATING_DESKTOP_CLASS, ji as ASSISTANT_I18N_COMPUTED_COPY, Mi as ASSISTANT_I18N_LITERAL_COPY, Ni as ASSISTANT_I18N_MANIFEST, _r as ASSISTANT_LANGUAGES, V as ASSISTANT_MODE_FALLBACK_LABELS, H as ASSISTANT_MODE_IDS, Ls as ASSISTANT_MODE_META, Vo as ASSISTANT_OVERLAY_ATTR, ul as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, dl as ASSISTANT_OVERLAY_DESKTOP_QUERY, fl as ASSISTANT_OVERLAY_TOP_VAR, Ho as ASSISTANT_PANEL_ATTR, pl as ASSISTANT_SHEET_BASE_CLASS, ml as ASSISTANT_SHEET_COMPACT_CLASS, hl as ASSISTANT_SHEET_EXPANDED_CLASS, gl as ASSISTANT_TOGGLE_SHORTCUT_LABEL, Gr as ATTACHMENT_ACCEPT, Oi as ATTACHMENT_SOURCES, ua as AUTO_CARRY_OVER_MAX_CHARS, da as AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE, fa as AUTO_CARRY_OVER_MAX_MESSAGES, Rs as AUTO_MODE_OPTION_ID, pa as AUTO_READ_MODE, Us as AUTO_VOICE, ma as AUTO_WRITE_MODE, tl as AssistantApiCallsConsentDialog, Zo as AssistantAttachmentButton, Qo as AssistantAttachmentChips, Oo as AssistantAutoSpeakToggle, Ya as AssistantAvatar, nl as AssistantChatArea, Zc as AssistantComposer, zo as AssistantConnectSourceItem, Fo as AssistantConnectSourceProvider, oc as AssistantConversationList, sc as AssistantEmptyState, Ss as AssistantEntityPreview, ac as AssistantHeader, l as AssistantI18nProvider, jo as AssistantLanguageMenu, Fs as AssistantLanguageSelector, m as AssistantMarkdownImage, _ as AssistantMarkdownRenderer, ko as AssistantMessageAttachments, uc as AssistantMessageItem, dc as AssistantMessageList, zs as AssistantModeSelector, ic as AssistantMoreMenu, v as AssistantNavigateProvider, kl as AssistantOverlay, Al as AssistantOverlayProvider, Ao as AssistantPendingWriteCard, Ns as AssistantPreviewBridgeHost, Ps as AssistantPreviewOverlay, $o as AssistantPreviewProvider, r as AssistantProductProvider, Mo as AssistantReplyLanguageSelector, Be as AssistantRuntimeManager, Ri as AssistantSendRefusal, No as AssistantSpeakButton, mo as AssistantSpeechProvider, Po as AssistantSpokenTurnsNotice, xs as AssistantStepRail, Ga as AssistantToolActivity, cc as AssistantTurnActivity, Hs as AssistantVoiceButton, Gs as AssistantVoiceOrb, Ws as AssistantVoiceSelector, fc as AssistantVoiceSession, Ks as AssistantVoiceSessionButton, Kr as AttachmentRejectedError, Tr as BOILERPLATE_PAGE_SHARE, et as BUILT_IN_MODE_CAPABILITIES, qs as CAPTION_SCROLL_ATTR, j as CHECK_AI_CREDITS, M as CREATE_SANDBOX, qr as DEFAULT_INLINE_LIMITS, Xn as DEFAULT_SPEAKABLE_LABELS, vr as DEFAULT_SPEECH_RATE, ct as DEFAULT_STREAM_BUDGET_MS, Nn as ENDPOINT_GRACE_MS, N as EXTEND_SANDBOX_TTL, Is as FOLLOW_APP_LOCALE, P as GET_ACTIVE_SANDBOXES, F as GET_SANDBOX, Et as HOSTED_DISABLE_MS, Dt as HOSTED_TTS_MAX_CHARS, St as HOSTED_TTS_TIER, Ct as HOSTED_VOICES, Ht as HOSTED_VOICE_RANK, As as HostedPreviewBridgeContext, ms as IDLE_ACTIVE_TAB, aa as IDLE_PLAYBACK, as as IDLE_PREVIEW, ts as IDLE_PREVIEW_STATE, On as IDLE_ROTATION_CLOCK, lt as INCOMPLETE_TURN_NOTICES, Pn as INITIAL_SESSION, Jr as INLINE_IMAGE_MAX_DIM, Yr as INLINE_IMAGE_QUALITY, Fn as INTERRUPT_MAX_MS, In as INTERRUPT_MIN_MS, qi as LEGACY_WRITE_CONSENT_KEY, tt as MAX_ASSISTANT_STREAM_BUDGET_MS, Xr as MAX_ATTACHMENTS, Er as MAX_BOILERPLATE_LINE_CHARS, Zr as MAX_CONFIGURABLE_INLINE_CHARS, Dr as MAX_EXTRACTED_CHARS, Qr as MAX_FILE_BYTES, $r as MAX_INLINE_CHARS_PER_FILE, ei as MAX_INLINE_CHARS_TOTAL, ce as MAX_INLINE_IMAGE_BASE64_BYTES, ti as MAX_INLINE_IMAGE_BASE64_CHARS, ni as MAX_INLINE_IMAGE_PARTS, ri as MAX_INLINE_TURN_BODY_BYTES, Or as MAX_PDF_PAGES_SCANNED, gc as MAX_REPORTED_TURN_MS, le as MAX_REQUEST_BODY_BYTES, Zn as MAX_SPEAKABLE_CHARS, Qn as MAX_SPOKEN_TABLE_ROWS, ii as MAX_TURN_BODY_BYTES, cr as MINI_CAPTION_BUDGET, kr as MIN_PAGE_TEXT_CHARS, Ar as MIN_TEXT_PAGE_SHARE, Ln as NOTHING_HEARD, za as NO_FIRST_TEXT, os as NO_OWNER, Uo as NO_PANEL_OVERLAY, gn as PHRASE_ROTATE_MS, ur as POLL_FAST_MS, dr as POLL_FAST_UNTIL_MS, fr as POLL_SLOW_MS, pr as POLL_STEADY_MS, mr as POLL_STEADY_UNTIL_MS, or as PREVIEW_LANGUAGES, Oc as PREWARM_COOLDOWN_MS, G as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, K as PRODUCT_ASSISTANT_MODE_ID_PATTERN, ai as PROMPT_ENVELOPE_RESERVE_BYTES, oi as PROVIDER_READABLE_FILE_MEDIA_TYPES, I as PROXY_SANDBOX_REQUEST, ws as REDUCED_MOTION_ATTRIBUTE, Ts as REDUCED_MOTION_QUERY, L as REPORT_AI_TOKEN_USAGE, R as REPORT_MY_ASSISTANT_TURN_TIMINGS, ue as REQUEST_TOO_LARGE_REFUSAL, Co as SANDBOX_READY_TTL_MS, Rn as SILENCE_SUBMIT_MS, Ot as SPEAKING_RATE_MAX, kt as SPEAKING_RATE_MAX_STREAMING, At as SPEAKING_RATE_MAX_SYNC, jt as SPEAKING_RATE_MIN, $n as SPEECH_CHUNK_CHARS, er as SPEECH_CHUNK_CJK_CHARS, Ut as SPEECH_LANG, ta as SPOKEN_LABEL_LANGUAGES, _n as STAGE_COPY, e as START_RETRY_COOLDOWN_MS, z as STOP_ASSISTANT_SANDBOX, ut as STREAM_BUDGET_MS, Ji as TAKE_ACTION_ENGLISH, vn as THINKING_PHRASES, si as TURN_BODY_HEADROOM_BYTES, Xa as TURN_MILESTONES, $e as TURN_OUTCOME_COPY, Za as TURN_SEGMENTS, Qa as TURN_TIMELINE_EVENT, Sc as TURN_TIMING_REPORTING, _c as TURN_TIMING_REPORT_FIELDS, vc as TURN_TIMING_STAGES, lc as TurnActivityLine, nt as UNAVAILABLE_MODE_REFUSAL, rt as UNDECLARED_MODE_CAPABILITIES, Wt as VOICE_LIST_TIMEOUT_MS, Cn as VOICE_MUTED_LABEL, wn as VOICE_THINKING_LABEL, Js as VoiceCaption, Ys as VoiceConversationView, $s as VoiceMiniController, ec as VoiceStage, Zs as VoiceStatusLine, Qs as VoiceStatusText, tc as VoiceTranscriptDrawer, Xs as VoiceWaveform, B as WAIT_FOR_SANDBOX_RUNNING, kc as WarmCancelled, de as abortAssistantTurn, _l as aboveAssistantBottomChrome, Wo as activePanelOverlay, it as adminOnlyModeSendRefusal, Hi as adminOnlyModeSendRefusalAfterAccess, zn as advanceHeardClock, kn as advanceRotationClock, Gc as aiCreditsUpdatedEventName, ss as applyPreviewEvent, fe as approvePendingWrite, Pi as assistantI18nSeedCopy, U as assistantModeFallbackLabel, Fi as assistantModeI18nCopy, Bs as assistantModeMeta, vl as assistantOverlayClassName, yl as assistantOverlayEscapeAction, bl as assistantOverlayKeys, Go as assistantPanelOwnsEscape, xl as assistantQuotaKindOf, y as assistantRoutePath, u as assistantTranslationKey, b as assistantUrlTransform, ha as autoCarryOverFor, ga as autoSuggestions, ki as availableAttachmentSources, Mt as base64ToBytes, $a as beginTurn, x as browserShouldHandle, xt as browserSpeechEngine, yc as buildAbandonedTurnReport, Ba as buildAssistantProgress, pe as buildAssistantSandboxEnv, ci as buildAttachmentPromptBlock, _a as buildAutoCarryOver, Ki as buildBoundedAttachmentTurn, qn as buildContinuedFromVoiceNote, Ve as buildProgress, me as buildPromptGatewayRequest, li as buildPromptParts, he as buildPromptRequestBody, ui as buildPromptWithAttachments, Nt as buildRequest, k as buildSandboxContextInput, bc as buildTurnTimingReport, Jn as buildVoiceTranscriptMarkdown, q as builtInModeExtendedBy, mt as chatTurns, ge as checkAssistantAiCredits, Hc as chooseDestinationCopy, tr as chunkForSpeech, S as classifyAssistantHref, va as classifyAssistantIntent, di as classifyAttachment, Pt as classifyHttpFailure, w as classifyQuotaError, zi as classifyTurnFailure, jr as columnLetterToIndex, Tn as composeVoiceStatus, rn as configureSpeechEngine, Bo as connectSourceActivation, Io as connectSourceHrefRenders, Ac as consumeWarm, nr as containsCjk, p as copyToClipboard, fi as countInlineImageCandidates, pi as countInlinedImageParts, qa as countSpokenTurns, Ui as createAdminModeAccessGate, Sl as createAssistantNavigate, cs as createAssistantPreviewSurface, _e as createAssistantSandbox, ve as createAssistantSession, Bt as createHostedTtsEngine, wo as createReadinessTracker, nn as createRoutingSpeechEngine, fs as createRunIdentityCache, Ze as createSandboxAssistantTransport, an as createSpeechEngines, Cc as createTurnTimingNonce, wc as createTurnTimingReporter, ls as currentPreviewOwner, J as declareAssistantMode, Ft as decodeAudioResponse, Mr as decodeXmlEntities, Ii as describePermissionError, T as describeQuotaError, eo as describeTurn, mi as detectDocumentFormat, ra as detectScriptLocale, to as detectTurnDevice, Ai as deviceHasCamera, It as disableDurationMs, Kc as dispatchAssistantQuotaExhausted, Nr as docxXmlToText, ye as downloadAssistantArtifact, nc as downloadFile, Pa as elapsedSince, ya as escalationToUndo, Ko as escapeDismisses, hi as estimateTurnBodyBytes, A as executeSandboxGraphQL, rc as exportConversation, be as extendAssistantSandboxTTL, E as extensionObjectsIn, Yc as extractDocumentText, yr as findAssistantLanguage, at as findAssistantModeConfig, xe as findExistingSandbox, Se as findExistingSandboxWithStatus, Cr as findPendingWrite, Pr as fitPdfPages, qo as focusIsInsidePanel, gi as formatBytes, Fr as formatPageRanges, Ce as forwardsUserTokensToSandbox, _o as getActorId, we as getAssistantArtifacts, Na as getAssistantDisplayContent, He as getAssistantMedia, Te as getAssistantMessages, Ee as getAssistantSession, De as getAssistantStreamAccess, Ue as getAssistantText, _i as getAttachmentSendBlocker, ie as getCapability, vi as getExtension, Q as getImageForMode, $ as getImageTagForMode, vo as getOrganizationId, We as getRawMessageCreatedAt, ee as getResourcesForMode, te as getSandboxImageRegistry, yi as getSendableAttachments, on as getSpeechEngine, Ge as getToolProgress, yo as getWorkspaceId, ht as groupBySession, gt as groupConsecutiveBySession, bi as hasAttachmentWorkInFlight, Lo as hasConnectSource, wt as hostedLocaleFor, Tt as hostedSupportsLanguage, h as imageHostLabel, dt as incompleteTurnNotice, Ic as isAlreadyThere, Y as isAssistantModeId, Cl as isAssistantToggleShortcut, ba as isAutoRoutingOffered, ns as isBlankProse, W as isBuiltInAssistantMode, Bn as isCapturing, no as isComparableTurn, Lc as isCurrentPath, Vn as isEcho, xc as isFinishedTurn, Gt as isHostedVoice, ka as isLegacyFiller, Aa as isLegacyStopped, Ir as isMostlyImagePages, bo as isMultimodalBodyRejection, xo as isNeverRecoverableAssistantError, Qc as isProdRuntime, X as isProductAssistantModeId, xi as isProviderReadableFilePart, D as isQuotaExhaustedError, Ke as isReapedSandboxConnectionError, To as isRecentlyVerified, qe as isRecoverable, So as isRecoverableAssistantError, g as isRemoteImageSrc, rs as isRunningStatus, oa as isSpeakingMessage, Kt as isSpeechBlocked, ja as isStageCopy, Hn as isSubmittable, Ea as isTurnInFlight, ae as isUnknownFieldError, _t as isVoiceTurn, Yi as isWriteModeAcknowledged, Lr as joinSheets, qt as languageDisplayName, Si as largestInlineCharsPerFile, Je as mapSessionToHistory, oe as markSupported, ro as markTurn, se as markUnsupported, Rc as matchLocalUiCommand, Ye as mergeMessagesById, Ca as mergePersistedAssistantState, un as micIsInterrupt, Oe as modeRequiresConfirmWrites, Fa as msUntilNextPhrase, zc as navDestinations, Uc as navigationCommandCopy, hs as nextActiveTab, wl as nextAssistantOpenState, Vs as nextModeIndex, Jo as nextPanelOverlays, is as nextPreviewEvents, Bc as normaliseUtterance, Jt as normalizeLangTag, qc as notifyAiCreditsUpdated, Un as orbMode, Rr as pageMarker, js as panelOwnedPreviewBridge, Yo as panelOwnsEscape, wr as parseConfirmationRefusal, Ci as parseDataUrl, zr as parseSharedStrings, Ka as parseToolActivity, Br as parseWorkbookSheets, Vr as pdfTextItemsToPage, Li as permissionRefusalMessage, gs as pinActiveTab, Da as planAbandonedTurn, Eo as planAfterTransportFailure, Wn as planReplyConsumption, Vc as planThemeChange, Do as planTrustedSandboxFailure, Oa as planTurnAbort, hr as pollDelayMs, jc as prewarmTarget, Yt as primaryLanguageSubtag, ke as promptGatewayRequestBytes, Tl as publishedAssistantDockWidth, sa as publishedChunks, O as quotaExhaustedEventName, Va as readAheadFor, El as readAssistantOverlayFlag, Es as readReducedMotion, sn as readSpeechEngineConfig, io as recentTurnTimelines, Ae as releaseSupersededAssistantSandboxes, xr as replyFollowsInput, je as reportAssistantAiTokenUsage, Dl as requestedAssistantOpenState, ca as requiresCancel, cn as resetSpeechEngine, ao as resetTurnTimelines, Tc as resetTurnTimingReporting, Mc as resetWarmsForTest, wa as resolveActiveModeSandbox, wi as resolveAssistantInlineLimits, br as resolveAssistantLanguage, ot as resolveAssistantModeCapabilities, Wi as resolveAssistantSendModeAfterAccess, xa as resolveAutoRoute, Sr as resolveLanguagePair, i as resolveModeConfig, ne as resolveSandboxAssistantMode, ia as resolveSpeechLocale, oo as restartAttempt, Xi as restoreAcknowledgedWriteModes, Sa as restoreAutoRouting, Vt as retryDelayMs, An as rotationElapsedMs, us as runBelongsTo, ps as runIdentities, ds as sameOwner, re as sandboxBaseModeFor, Me as sandboxStatusOf, Xe as sanitize, so as segmentStats, Ne as selectExistingAssistantSandbox, Pe as selectSupersededAssistantSandboxes, Xt as selectVoiceForLocale, Fe as sendAssistantPromptAsync, Ec as sendAssistantTurnTimings, Ie as sendHeartbeat, Nc as settleWarmBeforeSend, Hr as sheetXmlToRows, Lt as shouldDisableEngine, _s as shouldPinOnMove, vs as shouldPinOnSelect, lr as showPreviousChunk, dn as showsAssistantCaption, fn as showsUserCaption, Ha as snapshotReplyFloor, Rt as speakableChunks, rr as speakableEmail, Zt as speechGate, na as speechLabelsFor, Qt as speechLangForLocale, la as speechPlaybackReducer, zt as splitForVendor, ir as splitTableRow, Gn as spokenSoFar, Ja as spokenTurnText, yn as stageText, t as startIsCoolingDown, Ia as startPhraseTicker, jn as startRotationTicker, Ua as startSessionReadAhead, Dc as startTurnTimingReporting, Pc as startWarm, bn as statusStageCopy, ys as stepsFromToolActivity, Le as stopReapedAssistantSandbox, ft as streamBudgetMs, Ma as stripLegacyFillerPrefix, Ds as subscribeReducedMotion, ln as subscribeSpeechEngine, co as subscribeTurnTimelines, Ur as summarisePageText, lo as summariseTurnTimelines, Mn as syncRotationClock, bs as tabForArrowKey, Wc as themeCommandCopy, xn as thinkingPhrase, Sn as thinkingPhraseEntry, gr as toCaptionText, Ti as toMessageAttachment, ar as toSpeakableText, Wa as trackFirstText, Ei as truncateForInline, Wr as truncatePagesForInline, La as turnActivityCopy, Ra as turnActivityStage, uo as turnClockMs, Bi as turnOutcomeCopy, fo as turnSegments, po as turnTimeline, st as unofferedModeSendRefusal, Gi as unofferedModeSendRefusalAfterAccess, pc as useAssistantApiAccess, Xc as useAssistantAttachments, Ro as useAssistantConnectSource, jl as useAssistantDockWidth, $c as useAssistantHeartbeat, d as useAssistantI18nNamespace, el as useAssistantKeyboardShortcuts, C as useAssistantNavigate, Ml as useAssistantOverlayOrNull, a as useAssistantPageLabel, es as useAssistantPreview, ks as useAssistantPreviewBridge, o as useAssistantProduct, s as useAssistantProductOrNull, Nl as useAssistantQuotaExhausted, ho as useAssistantSpeech, c as useAssistantStorageFolders, Ta as useAssistantStore, f as useAssistantTr, mc as useConversationTurns, Xo as useDropdownEscape, Ms as useHostedAssistantPreviewBridge, Cs as useOverlayFocus, Os as usePrefersReducedMotion, Qe as useSandboxAssistantTransport, n as useVoiceInput, go as useVoiceSession, Jc as useWorkspaceWriteAccess, Di as validateFile, $t as voiceAvailability, vt as voiceMarker, sr as voicePreviewText, en as voiceQualityRank, yt as voiceSessionIdOf, Kn as voiceSessionReducer, pn as voiceStageState, En as voiceStatusParts, Dn as voiceStatusSuffix, Yn as voiceTranscriptFilename, bt as voiceTurnsOnly, tn as voicesForLocale, Re as waitForAssistantServiceReady, ze as waitForSandboxRunning, Fc as warmState, mn as waveformIsActive, hn as waveformIsSettled, pt as withIncompleteTurnNotice, Zi as withWriteModeAcknowledged, Ol as writeAssistantOverlayFlag, Qi as writeModeConsentCopy, $i as writeModeSendRefusal, ea as writeModeSendRefusalReason };
|
|
44
|
+
import { INITIAL_TRANSCRIPT_AUTO_OPEN as Cr, maySendSpokenTurn as wr, planTranscriptAutoOpen as Tr, planVoiceSessionBinding as Er } from "./shared/assistant/voice/voiceReopen.js";
|
|
45
|
+
import { findPendingWrite as Dr, parseConfirmationRefusal as Or } from "./shared/assistant/pendingWrite.js";
|
|
46
|
+
import { PENDING_WRITE_APPROVAL_WINDOW_MS as kr, approvalFollowUpReplyIds as Ar, approvedPendingWriteIds as jr, beginApprovalInFlight as Mr, endApprovalInFlight as Nr, getApprovalInFlight as Pr, goAheadSentReplyIds as Fr, isLiveTurn as Ir, markLiveTurn as Lr, newestModelReplyId as Rr, resolveApprovablePendingWrite as zr, resolveRetryableMessageId as Br, subscribeApprovalInFlight as Vr } from "./shared/assistant/liveTurns.js";
|
|
47
|
+
import { BOILERPLATE_PAGE_SHARE as Hr, MAX_BOILERPLATE_LINE_CHARS as Ur, MAX_EXTRACTED_CHARS as Wr, MAX_PDF_PAGES_SCANNED as Gr, MIN_PAGE_TEXT_CHARS as Kr, MIN_TEXT_PAGE_SHARE as qr, columnLetterToIndex as Jr, decodeXmlEntities as Yr, docxXmlToText as Xr, fitPdfPages as Zr, formatPageRanges as Qr, isMostlyImagePages as $r, joinSheets as ei, pageMarker as ti, parseSharedStrings as ni, parseWorkbookSheets as ri, pdfTextItemsToPage as ii, sheetXmlToRows as ai, summarisePageText as oi, truncatePagesForInline as si } from "./shared/assistant/documentText.js";
|
|
48
|
+
import { ATTACHMENT_ACCEPT as ci, AttachmentRejectedError as li, DEFAULT_INLINE_LIMITS as ui, INLINE_IMAGE_MAX_DIM as di, INLINE_IMAGE_QUALITY as fi, MAX_ATTACHMENTS as pi, MAX_CONFIGURABLE_INLINE_CHARS as mi, MAX_FILE_BYTES as hi, MAX_INLINE_CHARS_PER_FILE as gi, MAX_INLINE_CHARS_TOTAL as _i, MAX_INLINE_IMAGE_BASE64_CHARS as vi, MAX_INLINE_IMAGE_PARTS as yi, MAX_INLINE_TURN_BODY_BYTES as bi, MAX_TURN_BODY_BYTES as xi, PROMPT_ENVELOPE_RESERVE_BYTES as Si, PROVIDER_READABLE_FILE_MEDIA_TYPES as Ci, TURN_BODY_HEADROOM_BYTES as wi, buildAttachmentPromptBlock as Ti, buildPromptParts as Ei, buildPromptWithAttachments as Di, classifyAttachment as Oi, countInlineImageCandidates as ki, countInlinedImageParts as Ai, detectDocumentFormat as ji, estimateTurnBodyBytes as Mi, formatBytes as Ni, getAttachmentSendBlocker as Pi, getExtension as Fi, getSendableAttachments as Ii, hasAttachmentWorkInFlight as Li, isProviderReadableFilePart as Ri, largestInlineCharsPerFile as zi, parseDataUrl as Bi, resolveAssistantInlineLimits as Vi, toMessageAttachment as Hi, truncateForInline as Ui, validateFile as Wi } from "./shared/assistant/attachments.js";
|
|
49
|
+
import { ATTACHMENT_SOURCES as Gi, availableAttachmentSources as Ki, deviceHasCamera as qi } from "./shared/assistant/attachmentSources.js";
|
|
50
|
+
import { ASSISTANT_I18N_COMPUTED_COPY as Ji, ASSISTANT_I18N_LITERAL_COPY as Yi, ASSISTANT_I18N_MANIFEST as Xi, assistantI18nSeedCopy as Zi, assistantModeI18nCopy as Qi } from "./shared/assistant/i18nManifest.js";
|
|
51
|
+
import { describePermissionError as $i, permissionRefusalMessage as ea } from "./shared/assistant/permissionError.js";
|
|
52
|
+
import { AssistantSendRefusal as ta, classifyTurnFailure as na, turnOutcomeCopy as ra } from "./shared/assistant/turnOutcome.js";
|
|
53
|
+
import { ADMIN_MODE_ACCESS_WAIT_MS as ia, adminOnlyModeSendRefusalAfterAccess as aa, createAdminModeAccessGate as oa, resolveAssistantSendModeAfterAccess as sa, unofferedModeSendRefusalAfterAccess as ca } from "./shared/assistant/adminModeSendGate.js";
|
|
54
|
+
import { buildBoundedAttachmentTurn as la } from "./shared/assistant/attachmentTurn.js";
|
|
55
|
+
import { LEGACY_WRITE_CONSENT_KEY as ua, TAKE_ACTION_ENGLISH as da, isWriteModeAcknowledged as fa, restoreAcknowledgedWriteModes as pa, withWriteModeAcknowledged as ma, writeModeConsentCopy as ha, writeModeSendRefusal as ga, writeModeSendRefusalReason as _a } from "./shared/assistant/writeModeConsent.js";
|
|
56
|
+
import { SPOKEN_LABEL_LANGUAGES as va, speechLabelsFor as ya } from "./shared/assistant/voice/speechLabels.js";
|
|
57
|
+
import { detectScriptLocale as ba, resolveSpeechLocale as xa } from "./shared/assistant/voice/replyLanguage.js";
|
|
58
|
+
import { IDLE_PLAYBACK as Sa, isSpeakingMessage as Ca, publishedChunks as wa, requiresCancel as Ta, speechPlaybackReducer as Ea } from "./shared/assistant/voice/speechPlayback.js";
|
|
59
|
+
import { AUTO_CARRY_OVER_MAX_CHARS as Da, AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE as Oa, AUTO_CARRY_OVER_MAX_MESSAGES as ka, AUTO_READ_MODE as Aa, AUTO_WRITE_MODE as ja, autoCarryOverFor as Ma, autoSuggestions as Na, buildAutoCarryOver as Pa, classifyAssistantIntent as Fa, escalationToUndo as Ia, isAutoRoutingOffered as La, resolveAutoRoute as Ra, restoreAutoRouting as za } from "./shared/assistant/autoRouting.js";
|
|
60
|
+
import { createGuardedAssistantStorage as Ba } from "./shared/assistant/guardedStorage.js";
|
|
61
|
+
import { mergePersistedAssistantState as Va, resolveActiveModeSandbox as Ha, useAssistantStore as Ua } from "./shared/assistant/store.js";
|
|
62
|
+
import { isTurnInFlight as Wa, planAbandonedTurn as Ga, planTurnAbort as Ka } from "./shared/assistant/turnState.js";
|
|
63
|
+
import { isLegacyFiller as qa, isLegacyStopped as Ja, isStageCopy as Ya, stripLegacyFillerPrefix as Xa } from "./shared/assistant/legacyFiller.js";
|
|
64
|
+
import { getAssistantDisplayContent as Za } from "./shared/assistant/displayContent.js";
|
|
65
|
+
import { elapsedSince as Qa, msUntilNextPhrase as $a, startPhraseTicker as eo, turnActivityCopy as to, turnActivityStage as no } from "./shared/assistant/turnActivity.js";
|
|
66
|
+
import { NO_FIRST_TEXT as ro, buildAssistantProgress as io, readAheadFor as ao, snapshotReplyFloor as oo, startSessionReadAhead as so, trackFirstText as co } from "./shared/assistant/turnProgress.js";
|
|
67
|
+
import { AssistantToolActivity as lo, parseToolActivity as uo } from "./shared/assistant/ui/AssistantToolActivity.js";
|
|
68
|
+
import { countSpokenTurns as fo, spokenTurnText as po } from "./shared/assistant/spokenTurns.js";
|
|
69
|
+
import { AssistantAvatar as mo } from "./shared/assistant/ui/AssistantAvatar.js";
|
|
70
|
+
import { TURN_MILESTONES as ho, TURN_SEGMENTS as go, TURN_TIMELINE_EVENT as _o, beginTurn as vo, describeTurn as yo, detectTurnDevice as bo, isComparableTurn as xo, markTurn as So, recentTurnTimelines as Co, resetTurnTimelines as wo, restartAttempt as To, segmentStats as Eo, subscribeTurnTimelines as Do, summariseTurnTimelines as Oo, turnClockMs as ko, turnSegments as Ao, turnTimeline as jo } from "./shared/assistant/turnTimeline.js";
|
|
71
|
+
import { AssistantSpeechProvider as Mo, useAssistantSpeech as No } from "./shared/assistant/ui/AssistantSpeechProvider.js";
|
|
72
|
+
import { useVoiceSession as Po } from "./shared/assistant/ui/useVoiceSession.js";
|
|
73
|
+
import { getActorId as Fo, getOrganizationId as Io, getWorkspaceId as Lo } from "./shared/assistant/context.js";
|
|
74
|
+
import { isMultimodalBodyRejection as Ro, isNeverRecoverableAssistantError as zo, isRecoverableAssistantError as Bo } from "./shared/assistant/transportErrors.js";
|
|
75
|
+
import { SANDBOX_READY_TTL_MS as Vo, createReadinessTracker as Ho, isRecentlyVerified as Uo, planAfterTransportFailure as Wo, planTrustedSandboxFailure as Go } from "./shared/assistant/sandboxReadiness.js";
|
|
76
|
+
import { AssistantAutoSpeakToggle as Ko } from "./shared/assistant/ui/AssistantAutoSpeakToggle.js";
|
|
77
|
+
import { AssistantMessageAttachments as qo } from "./shared/assistant/ui/AssistantMessageAttachments.js";
|
|
78
|
+
import { AssistantPendingWriteCard as Jo } from "./shared/assistant/ui/AssistantPendingWriteCard.js";
|
|
79
|
+
import { AssistantLanguageMenu as Yo } from "./shared/assistant/ui/AssistantLanguageMenu.js";
|
|
80
|
+
import { AssistantReplyLanguageSelector as Xo } from "./shared/assistant/ui/AssistantReplyLanguageSelector.js";
|
|
81
|
+
import { AssistantSpeakButton as Zo } from "./shared/assistant/ui/AssistantSpeakButton.js";
|
|
82
|
+
import { AssistantSpokenTurnsNotice as Qo } from "./shared/assistant/ui/AssistantSpokenTurnsNotice.js";
|
|
83
|
+
import { AssistantConnectSourceProvider as $o, connectSourceHrefRenders as es, hasConnectSource as ts, useAssistantConnectSource as ns } from "./shared/assistant/ui/composer/connectSource.js";
|
|
84
|
+
import { AssistantConnectSourceItem as rs, connectSourceActivation as is } from "./shared/assistant/ui/composer/AssistantConnectSourceItem.js";
|
|
85
|
+
import { ASSISTANT_OVERLAY_ATTR as as, ASSISTANT_PANEL_ATTR as os, NO_PANEL_OVERLAY as ss, activePanelOverlay as cs, assistantPanelOwnsEscape as ls, escapeDismisses as us, focusIsInsidePanel as ds, nextPanelOverlays as fs, panelOwnsEscape as ps } from "./shared/assistant/ui/panelOverlays.js";
|
|
86
|
+
import { useDropdownEscape as ms } from "./shared/assistant/ui/useDropdownEscape.js";
|
|
87
|
+
import { AssistantAttachmentButton as hs } from "./shared/assistant/ui/composer/AssistantAttachmentButton.js";
|
|
88
|
+
import { AssistantAttachmentChips as gs } from "./shared/assistant/ui/composer/AssistantAttachmentChips.js";
|
|
89
|
+
import { AssistantPreviewProvider as _s, useAssistantPreview as vs } from "./shared/assistant/preview/context.js";
|
|
90
|
+
import { IDLE_PREVIEW_STATE as ys, isBlankProse as bs, isRunningStatus as xs, nextPreviewEvents as Ss } from "./shared/assistant/preview/previewTransitions.js";
|
|
91
|
+
import { IDLE_PREVIEW as Cs, NO_OWNER as ws, applyPreviewEvent as Ts, createAssistantPreviewSurface as Es, currentPreviewOwner as Ds, runBelongsTo as Os, sameOwner as ks } from "./shared/assistant/preview/surfaceState.js";
|
|
92
|
+
import { createRunIdentityCache as As, runIdentities as js } from "./shared/assistant/preview/runIdentity.js";
|
|
93
|
+
import { IDLE_ACTIVE_TAB as Ms, nextActiveTab as Ns, pinActiveTab as Ps, shouldPinOnMove as Fs, shouldPinOnSelect as Is, stepsFromToolActivity as Ls, tabForArrowKey as Rs } from "./shared/assistant/preview/entity/entityPreviewState.js";
|
|
94
|
+
import { AssistantStepRail as zs } from "./shared/assistant/preview/entity/AssistantStepRail.js";
|
|
95
|
+
import { AssistantEntityPreview as Bs } from "./shared/assistant/preview/entity/AssistantEntityPreview.js";
|
|
96
|
+
import { useOverlayFocus as Vs } from "./shared/assistant/ui/useOverlayFocus.js";
|
|
97
|
+
import { REDUCED_MOTION_ATTRIBUTE as Hs, REDUCED_MOTION_QUERY as Us, readReducedMotion as Ws, subscribeReducedMotion as Gs, usePrefersReducedMotion as Ks } from "./shared/assistant/ui/usePrefersReducedMotion.js";
|
|
98
|
+
import { useAssistantPreviewBridge as qs } from "./shared/assistant/preview/useAssistantPreviewBridge.js";
|
|
99
|
+
import { HostedPreviewBridgeContext as Js, panelOwnedPreviewBridge as Ys, useHostedAssistantPreviewBridge as Xs } from "./shared/assistant/preview/bridgeHostContext.js";
|
|
100
|
+
import { AssistantPreviewBridgeHost as Zs } from "./shared/assistant/preview/bridgeHost.js";
|
|
101
|
+
import { AssistantPreviewOverlay as Qs } from "./shared/assistant/preview/AssistantPreviewOverlay.js";
|
|
102
|
+
import { AssistantLanguageSelector as $s, FOLLOW_APP_LOCALE as ec } from "./shared/assistant/ui/composer/AssistantLanguageSelector.js";
|
|
103
|
+
import { ASSISTANT_MODE_META as tc, AUTO_MODE_OPTION_ID as nc, AssistantModeSelector as rc, assistantModeMeta as ic, nextModeIndex as ac } from "./shared/assistant/ui/composer/AssistantModeSelector.js";
|
|
104
|
+
import { AssistantVoiceButton as oc } from "./shared/assistant/ui/composer/AssistantVoiceButton.js";
|
|
105
|
+
import { AUTO_VOICE as sc, AssistantVoiceSelector as cc } from "./shared/assistant/ui/composer/AssistantVoiceSelector.js";
|
|
106
|
+
import { AssistantVoiceOrb as lc } from "./shared/assistant/ui/voice/AssistantVoiceOrb.js";
|
|
107
|
+
import { AssistantVoiceSessionButton as uc } from "./shared/assistant/ui/voice/AssistantVoiceSessionButton.js";
|
|
108
|
+
import { CAPTION_SCROLL_ATTR as dc, VoiceCaption as fc } from "./shared/assistant/ui/voice/VoiceCaption.js";
|
|
109
|
+
import { VoiceConversationView as pc } from "./shared/assistant/ui/voice/VoiceConversationView.js";
|
|
110
|
+
import { VoiceWaveform as mc } from "./shared/assistant/ui/voice/VoiceWaveform.js";
|
|
111
|
+
import { VoiceStatusLine as hc, VoiceStatusText as gc } from "./shared/assistant/ui/voice/VoiceStatusText.js";
|
|
112
|
+
import { VoiceMiniController as _c } from "./shared/assistant/ui/voice/VoiceMiniController.js";
|
|
113
|
+
import { VoiceStage as vc } from "./shared/assistant/ui/voice/VoiceStage.js";
|
|
114
|
+
import { VoiceTranscriptDrawer as yc } from "./shared/assistant/ui/voice/VoiceTranscriptDrawer.js";
|
|
115
|
+
import { downloadFile as bc, exportConversation as xc } from "./shared/assistant/exportConversation.js";
|
|
116
|
+
import { AssistantMoreMenu as Sc } from "./shared/assistant/ui/AssistantMoreMenu.js";
|
|
117
|
+
import { AssistantHeader as Cc } from "./shared/assistant/ui/AssistantHeader.js";
|
|
118
|
+
import { AssistantConversationList as wc } from "./shared/assistant/ui/AssistantConversationList.js";
|
|
119
|
+
import { AssistantEmptyState as Tc } from "./shared/assistant/ui/AssistantEmptyState.js";
|
|
120
|
+
import { AssistantTurnActivity as Ec, TurnActivityLine as Dc } from "./shared/assistant/ui/AssistantTurnActivity.js";
|
|
121
|
+
import { AssistantMessageItem as Oc } from "./shared/assistant/ui/AssistantMessageItem.js";
|
|
122
|
+
import { AssistantMessageList as kc } from "./shared/assistant/ui/AssistantMessageList.js";
|
|
123
|
+
import { AssistantVoiceSession as Ac } from "./shared/assistant/ui/voice/AssistantVoiceSession.js";
|
|
124
|
+
import { useAssistantApiAccess as jc } from "./shared/assistant/useAssistantApiAccess.js";
|
|
125
|
+
import { useConversationTurns as Mc } from "./shared/assistant/useConversationTurns.js";
|
|
126
|
+
import { ABANDONED_TURN_OUTCOME as Nc, MAX_REPORTED_TURN_MS as Pc, TURN_TIMING_REPORT_FIELDS as Fc, TURN_TIMING_STAGES as Ic, buildAbandonedTurnReport as Lc, buildTurnTimingReport as Rc, isFinishedTurn as zc } from "./shared/assistant/turnTimingReport.js";
|
|
127
|
+
import { TURN_TIMING_REPORTING as Bc, createTurnTimingNonce as Vc, createTurnTimingReporter as Hc, resetTurnTimingReporting as Uc, sendAssistantTurnTimings as Wc, startTurnTimingReporting as Gc } from "./shared/assistant/turnTimingReporter.js";
|
|
128
|
+
import { PREWARM_COOLDOWN_MS as Kc, WarmCancelled as qc, consumeWarm as Jc, prewarmTarget as Yc, resetWarmsForTest as Xc, settleWarmBeforeSend as Zc, startWarm as Qc, warmState as $c } from "./shared/assistant/prewarm.js";
|
|
129
|
+
import { isAlreadyThere as el, isCurrentPath as tl, matchLocalUiCommand as nl, navDestinations as rl, normaliseUtterance as il, planThemeChange as al } from "./shared/assistant/localUiCommands.js";
|
|
130
|
+
import { chooseDestinationCopy as ol, navigationCommandCopy as sl, themeCommandCopy as cl } from "./shared/assistant/localUiCommandCopy.js";
|
|
131
|
+
import { aiCreditsUpdatedEventName as ll, dispatchAssistantQuotaExhausted as ul, notifyAiCreditsUpdated as dl } from "./shared/assistant/aiCredits.js";
|
|
132
|
+
import { useWorkspaceWriteAccess as fl } from "./shared/assistant/useWorkspaceWriteAccess.js";
|
|
133
|
+
import { extractDocumentText as pl } from "./shared/assistant/documentExtract.js";
|
|
134
|
+
import { useAssistantAttachments as ml } from "./shared/assistant/useAssistantAttachments.js";
|
|
135
|
+
import { AssistantComposer as hl } from "./shared/assistant/ui/composer/AssistantComposer.js";
|
|
136
|
+
import { isProdRuntime as gl } from "./shared/assistant/env.js";
|
|
137
|
+
import { useAssistantHeartbeat as _l } from "./shared/assistant/useAssistantHeartbeat.js";
|
|
138
|
+
import { useAssistantKeyboardShortcuts as vl } from "./shared/assistant/useAssistantKeyboardShortcuts.js";
|
|
139
|
+
import { AssistantApiCallsConsentDialog as yl } from "./shared/assistant/ui/AssistantApiCallsConsentDialog.js";
|
|
140
|
+
import { AssistantChatArea as bl } from "./shared/assistant/ui/AssistantChatArea.js";
|
|
141
|
+
import { AIAssistantPanel as xl } from "./shared/assistant/ui/AIAssistantPanel.js";
|
|
142
|
+
import { ASSISTANT_BOTTOM_CHROME_CLEARANCE as Sl, ASSISTANT_DIALOG_SELECTOR as Cl, ASSISTANT_DOCKED_DESKTOP_CLASS as wl, ASSISTANT_DOCK_WIDTH_PX as Tl, ASSISTANT_DOCK_WIDTH_VAR as El, ASSISTANT_FLOATING_DESKTOP_CLASS as Dl, ASSISTANT_OVERLAY_DEFAULT_TOP_PX as Ol, ASSISTANT_OVERLAY_DESKTOP_QUERY as kl, ASSISTANT_OVERLAY_TOP_VAR as Al, ASSISTANT_SHEET_BASE_CLASS as jl, ASSISTANT_SHEET_COMPACT_CLASS as Ml, ASSISTANT_SHEET_EXPANDED_CLASS as Nl, ASSISTANT_TOGGLE_SHORTCUT_LABEL as Pl, aboveAssistantBottomChrome as Fl, assistantOverlayClassName as Il, assistantOverlayEscapeAction as Ll, assistantOverlayKeys as Rl, assistantQuotaKindOf as zl, createAssistantNavigate as Bl, isAssistantToggleShortcut as Vl, nextAssistantOpenState as Hl, publishedAssistantDockWidth as Ul, readAssistantOverlayFlag as Wl, requestedAssistantOpenState as Gl, writeAssistantOverlayFlag as Kl } from "./shared/assistant/ui/assistantOverlayState.js";
|
|
143
|
+
import { AssistantOverlay as ql, AssistantOverlayProvider as Jl, useAssistantDockWidth as Yl, useAssistantOverlayOrNull as Xl, useAssistantQuotaExhausted as Zl } from "./shared/assistant/ui/AssistantOverlay.js";
|
|
144
|
+
export { Nc as ABANDONED_TURN_OUTCOME, ia as ADMIN_MODE_ACCESS_WAIT_MS, xl as AIAssistantPanel, Z as ASSISTANT_API_AUTH_STRATEGY, Sl as ASSISTANT_BOTTOM_CHROME_CLEARANCE, Cl as ASSISTANT_DIALOG_SELECTOR, wl as ASSISTANT_DOCKED_DESKTOP_CLASS, Tl as ASSISTANT_DOCK_WIDTH_PX, El as ASSISTANT_DOCK_WIDTH_VAR, Dl as ASSISTANT_FLOATING_DESKTOP_CLASS, Ji as ASSISTANT_I18N_COMPUTED_COPY, Yi as ASSISTANT_I18N_LITERAL_COPY, Xi as ASSISTANT_I18N_MANIFEST, _r as ASSISTANT_LANGUAGES, V as ASSISTANT_MODE_FALLBACK_LABELS, H as ASSISTANT_MODE_IDS, tc as ASSISTANT_MODE_META, as as ASSISTANT_OVERLAY_ATTR, Ol as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, kl as ASSISTANT_OVERLAY_DESKTOP_QUERY, Al as ASSISTANT_OVERLAY_TOP_VAR, os as ASSISTANT_PANEL_ATTR, jl as ASSISTANT_SHEET_BASE_CLASS, Ml as ASSISTANT_SHEET_COMPACT_CLASS, Nl as ASSISTANT_SHEET_EXPANDED_CLASS, Pl as ASSISTANT_TOGGLE_SHORTCUT_LABEL, ci as ATTACHMENT_ACCEPT, Gi as ATTACHMENT_SOURCES, Da as AUTO_CARRY_OVER_MAX_CHARS, Oa as AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE, ka as AUTO_CARRY_OVER_MAX_MESSAGES, nc as AUTO_MODE_OPTION_ID, Aa as AUTO_READ_MODE, sc as AUTO_VOICE, ja as AUTO_WRITE_MODE, yl as AssistantApiCallsConsentDialog, hs as AssistantAttachmentButton, gs as AssistantAttachmentChips, Ko as AssistantAutoSpeakToggle, mo as AssistantAvatar, bl as AssistantChatArea, hl as AssistantComposer, rs as AssistantConnectSourceItem, $o as AssistantConnectSourceProvider, wc as AssistantConversationList, Tc as AssistantEmptyState, Bs as AssistantEntityPreview, Cc as AssistantHeader, l as AssistantI18nProvider, Yo as AssistantLanguageMenu, $s as AssistantLanguageSelector, m as AssistantMarkdownImage, _ as AssistantMarkdownRenderer, qo as AssistantMessageAttachments, Oc as AssistantMessageItem, kc as AssistantMessageList, rc as AssistantModeSelector, Sc as AssistantMoreMenu, v as AssistantNavigateProvider, ql as AssistantOverlay, Jl as AssistantOverlayProvider, Jo as AssistantPendingWriteCard, Zs as AssistantPreviewBridgeHost, Qs as AssistantPreviewOverlay, _s as AssistantPreviewProvider, r as AssistantProductProvider, Xo as AssistantReplyLanguageSelector, Be as AssistantRuntimeManager, ta as AssistantSendRefusal, Zo as AssistantSpeakButton, Mo as AssistantSpeechProvider, Qo as AssistantSpokenTurnsNotice, zs as AssistantStepRail, lo as AssistantToolActivity, Ec as AssistantTurnActivity, oc as AssistantVoiceButton, lc as AssistantVoiceOrb, cc as AssistantVoiceSelector, Ac as AssistantVoiceSession, uc as AssistantVoiceSessionButton, li as AttachmentRejectedError, Hr as BOILERPLATE_PAGE_SHARE, et as BUILT_IN_MODE_CAPABILITIES, dc as CAPTION_SCROLL_ATTR, j as CHECK_AI_CREDITS, M as CREATE_SANDBOX, ui as DEFAULT_INLINE_LIMITS, Xn as DEFAULT_SPEAKABLE_LABELS, vr as DEFAULT_SPEECH_RATE, ct as DEFAULT_STREAM_BUDGET_MS, Nn as ENDPOINT_GRACE_MS, N as EXTEND_SANDBOX_TTL, ec as FOLLOW_APP_LOCALE, P as GET_ACTIVE_SANDBOXES, F as GET_SANDBOX, Et as HOSTED_DISABLE_MS, Dt as HOSTED_TTS_MAX_CHARS, St as HOSTED_TTS_TIER, Ct as HOSTED_VOICES, Ht as HOSTED_VOICE_RANK, Js as HostedPreviewBridgeContext, Ms as IDLE_ACTIVE_TAB, Sa as IDLE_PLAYBACK, Cs as IDLE_PREVIEW, ys as IDLE_PREVIEW_STATE, On as IDLE_ROTATION_CLOCK, lt as INCOMPLETE_TURN_NOTICES, Pn as INITIAL_SESSION, Cr as INITIAL_TRANSCRIPT_AUTO_OPEN, di as INLINE_IMAGE_MAX_DIM, fi as INLINE_IMAGE_QUALITY, Fn as INTERRUPT_MAX_MS, In as INTERRUPT_MIN_MS, ua as LEGACY_WRITE_CONSENT_KEY, tt as MAX_ASSISTANT_STREAM_BUDGET_MS, pi as MAX_ATTACHMENTS, Ur as MAX_BOILERPLATE_LINE_CHARS, mi as MAX_CONFIGURABLE_INLINE_CHARS, Wr as MAX_EXTRACTED_CHARS, hi as MAX_FILE_BYTES, gi as MAX_INLINE_CHARS_PER_FILE, _i as MAX_INLINE_CHARS_TOTAL, ce as MAX_INLINE_IMAGE_BASE64_BYTES, vi as MAX_INLINE_IMAGE_BASE64_CHARS, yi as MAX_INLINE_IMAGE_PARTS, bi as MAX_INLINE_TURN_BODY_BYTES, Gr as MAX_PDF_PAGES_SCANNED, Pc as MAX_REPORTED_TURN_MS, le as MAX_REQUEST_BODY_BYTES, Zn as MAX_SPEAKABLE_CHARS, Qn as MAX_SPOKEN_TABLE_ROWS, xi as MAX_TURN_BODY_BYTES, cr as MINI_CAPTION_BUDGET, Kr as MIN_PAGE_TEXT_CHARS, qr as MIN_TEXT_PAGE_SHARE, Ln as NOTHING_HEARD, ro as NO_FIRST_TEXT, ws as NO_OWNER, ss as NO_PANEL_OVERLAY, kr as PENDING_WRITE_APPROVAL_WINDOW_MS, gn as PHRASE_ROTATE_MS, ur as POLL_FAST_MS, dr as POLL_FAST_UNTIL_MS, fr as POLL_SLOW_MS, pr as POLL_STEADY_MS, mr as POLL_STEADY_UNTIL_MS, or as PREVIEW_LANGUAGES, Kc as PREWARM_COOLDOWN_MS, G as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, K as PRODUCT_ASSISTANT_MODE_ID_PATTERN, Si as PROMPT_ENVELOPE_RESERVE_BYTES, Ci as PROVIDER_READABLE_FILE_MEDIA_TYPES, I as PROXY_SANDBOX_REQUEST, Hs as REDUCED_MOTION_ATTRIBUTE, Us as REDUCED_MOTION_QUERY, L as REPORT_AI_TOKEN_USAGE, R as REPORT_MY_ASSISTANT_TURN_TIMINGS, ue as REQUEST_TOO_LARGE_REFUSAL, Vo as SANDBOX_READY_TTL_MS, Rn as SILENCE_SUBMIT_MS, Ot as SPEAKING_RATE_MAX, kt as SPEAKING_RATE_MAX_STREAMING, At as SPEAKING_RATE_MAX_SYNC, jt as SPEAKING_RATE_MIN, $n as SPEECH_CHUNK_CHARS, er as SPEECH_CHUNK_CJK_CHARS, Ut as SPEECH_LANG, va as SPOKEN_LABEL_LANGUAGES, _n as STAGE_COPY, e as START_RETRY_COOLDOWN_MS, z as STOP_ASSISTANT_SANDBOX, ut as STREAM_BUDGET_MS, da as TAKE_ACTION_ENGLISH, vn as THINKING_PHRASES, wi as TURN_BODY_HEADROOM_BYTES, ho as TURN_MILESTONES, $e as TURN_OUTCOME_COPY, go as TURN_SEGMENTS, _o as TURN_TIMELINE_EVENT, Bc as TURN_TIMING_REPORTING, Fc as TURN_TIMING_REPORT_FIELDS, Ic as TURN_TIMING_STAGES, Dc as TurnActivityLine, nt as UNAVAILABLE_MODE_REFUSAL, rt as UNDECLARED_MODE_CAPABILITIES, Wt as VOICE_LIST_TIMEOUT_MS, Cn as VOICE_MUTED_LABEL, wn as VOICE_THINKING_LABEL, fc as VoiceCaption, pc as VoiceConversationView, _c as VoiceMiniController, vc as VoiceStage, hc as VoiceStatusLine, gc as VoiceStatusText, yc as VoiceTranscriptDrawer, mc as VoiceWaveform, B as WAIT_FOR_SANDBOX_RUNNING, qc as WarmCancelled, de as abortAssistantTurn, Fl as aboveAssistantBottomChrome, cs as activePanelOverlay, it as adminOnlyModeSendRefusal, aa as adminOnlyModeSendRefusalAfterAccess, zn as advanceHeardClock, kn as advanceRotationClock, ll as aiCreditsUpdatedEventName, Ts as applyPreviewEvent, Ar as approvalFollowUpReplyIds, fe as approvePendingWrite, jr as approvedPendingWriteIds, Zi as assistantI18nSeedCopy, U as assistantModeFallbackLabel, Qi as assistantModeI18nCopy, ic as assistantModeMeta, Il as assistantOverlayClassName, Ll as assistantOverlayEscapeAction, Rl as assistantOverlayKeys, ls as assistantPanelOwnsEscape, zl as assistantQuotaKindOf, y as assistantRoutePath, u as assistantTranslationKey, b as assistantUrlTransform, Ma as autoCarryOverFor, Na as autoSuggestions, Ki as availableAttachmentSources, Mt as base64ToBytes, Mr as beginApprovalInFlight, vo as beginTurn, x as browserShouldHandle, xt as browserSpeechEngine, Lc as buildAbandonedTurnReport, io as buildAssistantProgress, pe as buildAssistantSandboxEnv, Ti as buildAttachmentPromptBlock, Pa as buildAutoCarryOver, la as buildBoundedAttachmentTurn, qn as buildContinuedFromVoiceNote, Ve as buildProgress, me as buildPromptGatewayRequest, Ei as buildPromptParts, he as buildPromptRequestBody, Di as buildPromptWithAttachments, Nt as buildRequest, k as buildSandboxContextInput, Rc as buildTurnTimingReport, Jn as buildVoiceTranscriptMarkdown, q as builtInModeExtendedBy, mt as chatTurns, ge as checkAssistantAiCredits, ol as chooseDestinationCopy, tr as chunkForSpeech, S as classifyAssistantHref, Fa as classifyAssistantIntent, Oi as classifyAttachment, Pt as classifyHttpFailure, w as classifyQuotaError, na as classifyTurnFailure, Jr as columnLetterToIndex, Tn as composeVoiceStatus, rn as configureSpeechEngine, is as connectSourceActivation, es as connectSourceHrefRenders, Jc as consumeWarm, nr as containsCjk, p as copyToClipboard, ki as countInlineImageCandidates, Ai as countInlinedImageParts, fo as countSpokenTurns, oa as createAdminModeAccessGate, Bl as createAssistantNavigate, Es as createAssistantPreviewSurface, _e as createAssistantSandbox, ve as createAssistantSession, Ba as createGuardedAssistantStorage, Bt as createHostedTtsEngine, Ho as createReadinessTracker, nn as createRoutingSpeechEngine, As as createRunIdentityCache, Ze as createSandboxAssistantTransport, an as createSpeechEngines, Vc as createTurnTimingNonce, Hc as createTurnTimingReporter, Ds as currentPreviewOwner, J as declareAssistantMode, Ft as decodeAudioResponse, Yr as decodeXmlEntities, $i as describePermissionError, T as describeQuotaError, yo as describeTurn, ji as detectDocumentFormat, ba as detectScriptLocale, bo as detectTurnDevice, qi as deviceHasCamera, It as disableDurationMs, ul as dispatchAssistantQuotaExhausted, Xr as docxXmlToText, ye as downloadAssistantArtifact, bc as downloadFile, Qa as elapsedSince, Nr as endApprovalInFlight, Ia as escalationToUndo, us as escapeDismisses, Mi as estimateTurnBodyBytes, A as executeSandboxGraphQL, xc as exportConversation, be as extendAssistantSandboxTTL, E as extensionObjectsIn, pl as extractDocumentText, yr as findAssistantLanguage, at as findAssistantModeConfig, xe as findExistingSandbox, Se as findExistingSandboxWithStatus, Dr as findPendingWrite, Zr as fitPdfPages, ds as focusIsInsidePanel, Ni as formatBytes, Qr as formatPageRanges, Ce as forwardsUserTokensToSandbox, Fo as getActorId, Pr as getApprovalInFlight, we as getAssistantArtifacts, Za as getAssistantDisplayContent, He as getAssistantMedia, Te as getAssistantMessages, Ee as getAssistantSession, De as getAssistantStreamAccess, Ue as getAssistantText, Pi as getAttachmentSendBlocker, ie as getCapability, Fi as getExtension, Q as getImageForMode, $ as getImageTagForMode, Io as getOrganizationId, We as getRawMessageCreatedAt, ee as getResourcesForMode, te as getSandboxImageRegistry, Ii as getSendableAttachments, on as getSpeechEngine, Ge as getToolProgress, Lo as getWorkspaceId, Fr as goAheadSentReplyIds, ht as groupBySession, gt as groupConsecutiveBySession, Li as hasAttachmentWorkInFlight, ts as hasConnectSource, wt as hostedLocaleFor, Tt as hostedSupportsLanguage, h as imageHostLabel, dt as incompleteTurnNotice, el as isAlreadyThere, Y as isAssistantModeId, Vl as isAssistantToggleShortcut, La as isAutoRoutingOffered, bs as isBlankProse, W as isBuiltInAssistantMode, Bn as isCapturing, xo as isComparableTurn, tl as isCurrentPath, Vn as isEcho, zc as isFinishedTurn, Gt as isHostedVoice, qa as isLegacyFiller, Ja as isLegacyStopped, Ir as isLiveTurn, $r as isMostlyImagePages, Ro as isMultimodalBodyRejection, zo as isNeverRecoverableAssistantError, gl as isProdRuntime, X as isProductAssistantModeId, Ri as isProviderReadableFilePart, D as isQuotaExhaustedError, Ke as isReapedSandboxConnectionError, Uo as isRecentlyVerified, qe as isRecoverable, Bo as isRecoverableAssistantError, g as isRemoteImageSrc, xs as isRunningStatus, Ca as isSpeakingMessage, Kt as isSpeechBlocked, Ya as isStageCopy, Hn as isSubmittable, Wa as isTurnInFlight, ae as isUnknownFieldError, _t as isVoiceTurn, fa as isWriteModeAcknowledged, ei as joinSheets, qt as languageDisplayName, zi as largestInlineCharsPerFile, Je as mapSessionToHistory, Lr as markLiveTurn, oe as markSupported, So as markTurn, se as markUnsupported, nl as matchLocalUiCommand, wr as maySendSpokenTurn, Ye as mergeMessagesById, Va as mergePersistedAssistantState, un as micIsInterrupt, Oe as modeRequiresConfirmWrites, $a as msUntilNextPhrase, rl as navDestinations, sl as navigationCommandCopy, Rr as newestModelReplyId, Ns as nextActiveTab, Hl as nextAssistantOpenState, ac as nextModeIndex, fs as nextPanelOverlays, Ss as nextPreviewEvents, il as normaliseUtterance, Jt as normalizeLangTag, dl as notifyAiCreditsUpdated, Un as orbMode, ti as pageMarker, Ys as panelOwnedPreviewBridge, ps as panelOwnsEscape, Or as parseConfirmationRefusal, Bi as parseDataUrl, ni as parseSharedStrings, uo as parseToolActivity, ri as parseWorkbookSheets, ii as pdfTextItemsToPage, ea as permissionRefusalMessage, Ps as pinActiveTab, Ga as planAbandonedTurn, Wo as planAfterTransportFailure, Wn as planReplyConsumption, al as planThemeChange, Tr as planTranscriptAutoOpen, Go as planTrustedSandboxFailure, Ka as planTurnAbort, Er as planVoiceSessionBinding, hr as pollDelayMs, Yc as prewarmTarget, Yt as primaryLanguageSubtag, ke as promptGatewayRequestBytes, Ul as publishedAssistantDockWidth, wa as publishedChunks, O as quotaExhaustedEventName, ao as readAheadFor, Wl as readAssistantOverlayFlag, Ws as readReducedMotion, sn as readSpeechEngineConfig, Co as recentTurnTimelines, Ae as releaseSupersededAssistantSandboxes, xr as replyFollowsInput, je as reportAssistantAiTokenUsage, Gl as requestedAssistantOpenState, Ta as requiresCancel, cn as resetSpeechEngine, wo as resetTurnTimelines, Uc as resetTurnTimingReporting, Xc as resetWarmsForTest, Ha as resolveActiveModeSandbox, zr as resolveApprovablePendingWrite, Vi as resolveAssistantInlineLimits, br as resolveAssistantLanguage, ot as resolveAssistantModeCapabilities, sa as resolveAssistantSendModeAfterAccess, Ra as resolveAutoRoute, Sr as resolveLanguagePair, i as resolveModeConfig, Br as resolveRetryableMessageId, ne as resolveSandboxAssistantMode, xa as resolveSpeechLocale, To as restartAttempt, pa as restoreAcknowledgedWriteModes, za as restoreAutoRouting, Vt as retryDelayMs, An as rotationElapsedMs, Os as runBelongsTo, js as runIdentities, ks as sameOwner, re as sandboxBaseModeFor, Me as sandboxStatusOf, Xe as sanitize, Eo as segmentStats, Ne as selectExistingAssistantSandbox, Pe as selectSupersededAssistantSandboxes, Xt as selectVoiceForLocale, Fe as sendAssistantPromptAsync, Wc as sendAssistantTurnTimings, Ie as sendHeartbeat, Zc as settleWarmBeforeSend, ai as sheetXmlToRows, Lt as shouldDisableEngine, Fs as shouldPinOnMove, Is as shouldPinOnSelect, lr as showPreviousChunk, dn as showsAssistantCaption, fn as showsUserCaption, oo as snapshotReplyFloor, Rt as speakableChunks, rr as speakableEmail, Zt as speechGate, ya as speechLabelsFor, Qt as speechLangForLocale, Ea as speechPlaybackReducer, zt as splitForVendor, ir as splitTableRow, Gn as spokenSoFar, po as spokenTurnText, yn as stageText, t as startIsCoolingDown, eo as startPhraseTicker, jn as startRotationTicker, so as startSessionReadAhead, Gc as startTurnTimingReporting, Qc as startWarm, bn as statusStageCopy, Ls as stepsFromToolActivity, Le as stopReapedAssistantSandbox, ft as streamBudgetMs, Xa as stripLegacyFillerPrefix, Vr as subscribeApprovalInFlight, Gs as subscribeReducedMotion, ln as subscribeSpeechEngine, Do as subscribeTurnTimelines, oi as summarisePageText, Oo as summariseTurnTimelines, Mn as syncRotationClock, Rs as tabForArrowKey, cl as themeCommandCopy, xn as thinkingPhrase, Sn as thinkingPhraseEntry, gr as toCaptionText, Hi as toMessageAttachment, ar as toSpeakableText, co as trackFirstText, Ui as truncateForInline, si as truncatePagesForInline, to as turnActivityCopy, no as turnActivityStage, ko as turnClockMs, ra as turnOutcomeCopy, Ao as turnSegments, jo as turnTimeline, st as unofferedModeSendRefusal, ca as unofferedModeSendRefusalAfterAccess, jc as useAssistantApiAccess, ml as useAssistantAttachments, ns as useAssistantConnectSource, Yl as useAssistantDockWidth, _l as useAssistantHeartbeat, d as useAssistantI18nNamespace, vl as useAssistantKeyboardShortcuts, C as useAssistantNavigate, Xl as useAssistantOverlayOrNull, a as useAssistantPageLabel, vs as useAssistantPreview, qs as useAssistantPreviewBridge, o as useAssistantProduct, s as useAssistantProductOrNull, Zl as useAssistantQuotaExhausted, No as useAssistantSpeech, c as useAssistantStorageFolders, Ua as useAssistantStore, f as useAssistantTr, Mc as useConversationTurns, ms as useDropdownEscape, Xs as useHostedAssistantPreviewBridge, Vs as useOverlayFocus, Ks as usePrefersReducedMotion, Qe as useSandboxAssistantTransport, n as useVoiceInput, Po as useVoiceSession, fl as useWorkspaceWriteAccess, Wi as validateFile, $t as voiceAvailability, vt as voiceMarker, sr as voicePreviewText, en as voiceQualityRank, yt as voiceSessionIdOf, Kn as voiceSessionReducer, pn as voiceStageState, En as voiceStatusParts, Dn as voiceStatusSuffix, Yn as voiceTranscriptFilename, bt as voiceTurnsOnly, tn as voicesForLocale, Re as waitForAssistantServiceReady, ze as waitForSandboxRunning, $c as warmState, mn as waveformIsActive, hn as waveformIsSettled, pt as withIncompleteTurnNotice, ma as withWriteModeAcknowledged, Kl as writeAssistantOverlayFlag, ha as writeModeConsentCopy, ga as writeModeSendRefusal, _a as writeModeSendRefusalReason };
|