@arbidocs/react 0.5.120 → 0.5.121
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/PdfViewerImpl-ZVJZ4KNW.cjs +22 -0
- package/dist/PdfViewerImpl-ZVJZ4KNW.cjs.map +1 -0
- package/dist/{PdfViewerImpl.d-B28hLEuj.d.ts → PdfViewerImpl.d-CqnEzQO7.d.ts} +9 -1
- package/dist/annotations/freeze/index.d.ts +1 -1
- package/dist/artifacts/artifact-kind.js +1 -0
- package/dist/artifacts/artifact-kind.js.map +2 -2
- package/dist/artifacts/index.cjs +3 -2
- package/dist/artifacts/index.cjs.map +1 -1
- package/dist/artifacts/index.d.ts +3 -2
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/chat/turn-flush.js +16 -0
- package/dist/chat/turn-flush.js.map +7 -0
- package/dist/chat/useConversationActions.js +3 -0
- package/dist/chat/useConversationActions.js.map +2 -2
- package/dist/{chunk-QP3WQSAA.cjs → chunk-4B2GW3AY.cjs} +3 -3
- package/dist/{chunk-QP3WQSAA.cjs.map → chunk-4B2GW3AY.cjs.map} +1 -1
- package/dist/{chunk-YMB6XUR2.cjs → chunk-7L7QRIQ2.cjs} +11 -7
- package/dist/chunk-7L7QRIQ2.cjs.map +1 -0
- package/dist/{chunk-KDYYAZXP.cjs → chunk-DLEHM4IA.cjs} +227 -155
- package/dist/chunk-DLEHM4IA.cjs.map +1 -0
- package/dist/{PdfViewerImpl-QUSDLNNM.cjs → chunk-ICBT2XGF.cjs} +5 -2
- package/dist/chunk-ICBT2XGF.cjs.map +1 -0
- package/dist/{chunk-AJRYZ3IC.cjs → chunk-K6ELFSG6.cjs} +3 -3
- package/dist/{chunk-AJRYZ3IC.cjs.map → chunk-K6ELFSG6.cjs.map} +1 -1
- package/dist/chunk-MAOGK7IC.cjs +61 -0
- package/dist/chunk-MAOGK7IC.cjs.map +1 -0
- package/dist/{chunk-5TRUFWKT.cjs → chunk-X5OZRLFZ.cjs} +5 -5
- package/dist/{chunk-5TRUFWKT.cjs.map → chunk-X5OZRLFZ.cjs.map} +1 -1
- package/dist/{chunk-C72FSQUE.cjs → chunk-Z3W4XFWB.cjs} +3 -3
- package/dist/{chunk-C72FSQUE.cjs.map → chunk-Z3W4XFWB.cjs.map} +1 -1
- package/dist/datasets/sources/documents.js +1 -1
- package/dist/datasets/sources/documents.js.map +2 -2
- package/dist/document-tools/core.cjs +80 -80
- package/dist/document-tools/images-to-pdf.js +43 -0
- package/dist/document-tools/images-to-pdf.js.map +7 -0
- package/dist/document-tools/index.cjs +184 -80
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.ts +41 -1
- package/dist/document-tools/index.js +6 -1
- package/dist/document-tools/index.js.map +2 -2
- package/dist/document-tools/pdf-attachments.js +63 -0
- package/dist/document-tools/pdf-attachments.js.map +7 -0
- package/dist/entities/DocumentEntity.js +7 -2
- package/dist/entities/DocumentEntity.js.map +2 -2
- package/dist/entities/file-type.js +14 -2
- package/dist/entities/file-type.js.map +2 -2
- package/dist/entities/index.js +9 -1
- package/dist/entities/index.js.map +2 -2
- package/dist/icons/PresIcon.js +53 -0
- package/dist/icons/PresIcon.js.map +7 -0
- package/dist/icons/colors.js +2 -0
- package/dist/icons/colors.js.map +2 -2
- package/dist/icons/file-type.js +3 -0
- package/dist/icons/file-type.js.map +2 -2
- package/dist/icons/index.js +2 -0
- package/dist/icons/index.js.map +2 -2
- package/dist/index.cjs +898 -865
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-DYlUprG9.d.ts → index.d-D2puqWeN.d.ts} +17 -3
- package/dist/index.d.ts +41 -8
- package/dist/index.js +1 -0
- package/dist/index.js.map +2 -2
- package/dist/pdf-region-impl-ZG5G2OX2.cjs +98 -0
- package/dist/pdf-region-impl-ZG5G2OX2.cjs.map +1 -0
- package/dist/session/documents.js +9 -5
- package/dist/session/documents.js.map +2 -2
- package/dist/shell/index.cjs +37 -37
- package/dist/ui/index.cjs +182 -170
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/slider.js +7 -1
- package/dist/ui/slider.js.map +2 -2
- package/dist/viewers/PdfViewer.cjs +3 -3
- package/dist/viewers/PdfViewer.d.ts +2 -2
- package/dist/viewers/PdfViewerImpl.js +4 -1
- package/dist/viewers/PdfViewerImpl.js.map +2 -2
- package/dist/viewers/index.cjs +28 -3
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.ts +68 -2
- package/dist/viewers/index.js +14 -0
- package/dist/viewers/index.js.map +2 -2
- package/dist/viewers/pdf-region-impl.js +96 -0
- package/dist/viewers/pdf-region-impl.js.map +7 -0
- package/dist/viewers/pdf-region.js +57 -0
- package/dist/viewers/pdf-region.js.map +7 -0
- package/package.json +3 -3
- package/dist/PdfViewerImpl-QUSDLNNM.cjs.map +0 -1
- package/dist/chunk-KDYYAZXP.cjs.map +0 -1
- package/dist/chunk-YMB6XUR2.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkX5OZRLFZ_cjs = require('./chunk-X5OZRLFZ.cjs');
|
|
5
5
|
var chunkGKGAPU6T_cjs = require('./chunk-GKGAPU6T.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk7L7QRIQ2_cjs = require('./chunk-7L7QRIQ2.cjs');
|
|
7
7
|
var chunk3JAEX57E_cjs = require('./chunk-3JAEX57E.cjs');
|
|
8
8
|
var chunkO32T7XRD_cjs = require('./chunk-O32T7XRD.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunkZ3W4XFWB_cjs = require('./chunk-Z3W4XFWB.cjs');
|
|
10
10
|
var chunkRLSBRZ6Z_cjs = require('./chunk-RLSBRZ6Z.cjs');
|
|
11
11
|
var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
|
|
12
12
|
var chunkNDIKMOBJ_cjs = require('./chunk-NDIKMOBJ.cjs');
|
|
13
13
|
require('./chunk-VOFNX4P6.cjs');
|
|
14
|
-
var
|
|
15
|
-
var chunkT5FZICXN_cjs = require('./chunk-T5FZICXN.cjs');
|
|
14
|
+
var chunkDLEHM4IA_cjs = require('./chunk-DLEHM4IA.cjs');
|
|
16
15
|
var chunkEEIYXVM4_cjs = require('./chunk-EEIYXVM4.cjs');
|
|
16
|
+
var chunkT5FZICXN_cjs = require('./chunk-T5FZICXN.cjs');
|
|
17
17
|
var chunkMXP4O4DI_cjs = require('./chunk-MXP4O4DI.cjs');
|
|
18
18
|
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
19
19
|
var chunkKC474WVG_cjs = require('./chunk-KC474WVG.cjs');
|
|
20
|
-
var chunk5NOZDH3F_cjs = require('./chunk-5NOZDH3F.cjs');
|
|
21
20
|
var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
|
|
21
|
+
var chunk5NOZDH3F_cjs = require('./chunk-5NOZDH3F.cjs');
|
|
22
22
|
var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
|
|
23
23
|
var React = require('react');
|
|
24
24
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -41,12 +41,12 @@ var ReactMarkdown__default = /*#__PURE__*/_interopDefault(ReactMarkdown);
|
|
|
41
41
|
var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
|
|
42
42
|
|
|
43
43
|
// src/host/index.ts
|
|
44
|
-
var ArbiHost2 =
|
|
44
|
+
var ArbiHost2 = chunkZ3W4XFWB_cjs.ArbiHost;
|
|
45
45
|
function useCurrentWorkspace() {
|
|
46
|
-
const workspaceId =
|
|
47
|
-
const workspaceStatus =
|
|
48
|
-
const userId =
|
|
49
|
-
const { data: workspaces } =
|
|
46
|
+
const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
47
|
+
const workspaceStatus = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
48
|
+
const userId = chunk7L7QRIQ2_cjs.useArbiSession().user?.external_id ?? null;
|
|
49
|
+
const { data: workspaces } = chunk7L7QRIQ2_cjs.useWorkspaces();
|
|
50
50
|
const workspace = workspaceId ? workspaces?.find((w) => w.external_id === workspaceId) : void 0;
|
|
51
51
|
const membership = userId ? workspace?.users?.find((member) => member.user.external_id === userId) : void 0;
|
|
52
52
|
const role = membership?.role ?? null;
|
|
@@ -86,9 +86,9 @@ function holdListPoll(refetch) {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
function useConversationItems() {
|
|
89
|
-
const workspaceId =
|
|
90
|
-
const open =
|
|
91
|
-
const query =
|
|
89
|
+
const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
90
|
+
const open = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
91
|
+
const query = chunk7L7QRIQ2_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
|
|
92
92
|
const { refetch } = query;
|
|
93
93
|
const all = query.data;
|
|
94
94
|
const tasks = React.useMemo(() => (all ?? []).filter((c) => c.status != null), [all]);
|
|
@@ -109,7 +109,7 @@ function useConversationItems() {
|
|
|
109
109
|
return { conversations: all ?? [], tasks, isLoading: query.isLoading, refetch };
|
|
110
110
|
}
|
|
111
111
|
function useConversationIsShared() {
|
|
112
|
-
const id =
|
|
112
|
+
const id = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
113
113
|
const { conversations } = useConversationItems();
|
|
114
114
|
return conversations.find((conversation) => conversation.external_id === id)?.is_shared ?? false;
|
|
115
115
|
}
|
|
@@ -140,7 +140,7 @@ var THREAD_LOOKUP_DELAY_MS = 500;
|
|
|
140
140
|
function useStartTaskQuery() {
|
|
141
141
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
142
142
|
const queryClient = reactQuery.useQueryClient();
|
|
143
|
-
const chatModel =
|
|
143
|
+
const chatModel = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.chatModel);
|
|
144
144
|
const post = reactQuery.useMutation({
|
|
145
145
|
mutationFn: (query) => {
|
|
146
146
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
|
|
@@ -174,7 +174,7 @@ function useStartTaskQuery() {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
if (!conversationId) return null;
|
|
177
|
-
await
|
|
177
|
+
await chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
178
178
|
return { conversationId };
|
|
179
179
|
};
|
|
180
180
|
return {
|
|
@@ -203,8 +203,8 @@ function useUpdateConversation() {
|
|
|
203
203
|
}) => arbi.conversations.update(conversationId, patch),
|
|
204
204
|
// The list takes the server's version of the row; what hangs off it is read again.
|
|
205
205
|
onSuccess: (updated, { conversationId }) => {
|
|
206
|
-
|
|
207
|
-
return
|
|
206
|
+
chunkX5OZRLFZ_cjs.patchConversation(qc, conversationId, updated);
|
|
207
|
+
return chunkX5OZRLFZ_cjs.invalidateConversationDetails(qc, conversationId);
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
210
|
}
|
|
@@ -213,7 +213,7 @@ function useDeleteConversation() {
|
|
|
213
213
|
const qc = reactQuery.useQueryClient();
|
|
214
214
|
return reactQuery.useMutation({
|
|
215
215
|
mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
|
|
216
|
-
onSuccess: (_res, conversationId) =>
|
|
216
|
+
onSuccess: (_res, conversationId) => chunkX5OZRLFZ_cjs.removeConversationFromLists(qc, conversationId)
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
function workWorkspace(arbi, workspaceId) {
|
|
@@ -236,7 +236,7 @@ function useCreateWork(options) {
|
|
|
236
236
|
mutationFn: async (body) => {
|
|
237
237
|
const workspaceId = workWorkspace(arbi, named);
|
|
238
238
|
const created = await arbi.conversations.createWork(body, { workspaceId });
|
|
239
|
-
|
|
239
|
+
chunkX5OZRLFZ_cjs.addConversationToList(qc, workspaceId ?? null, created);
|
|
240
240
|
return created;
|
|
241
241
|
}
|
|
242
242
|
});
|
|
@@ -248,7 +248,7 @@ function useRunConversation() {
|
|
|
248
248
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
249
249
|
// The server's version replaces the listed one; everything under the conversation is re-read.
|
|
250
250
|
onSuccess: (updated) => {
|
|
251
|
-
if (updated?.external_id)
|
|
251
|
+
if (updated?.external_id) chunkX5OZRLFZ_cjs.patchConversation(qc, updated.external_id, updated);
|
|
252
252
|
return qc.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.allConversations() });
|
|
253
253
|
}
|
|
254
254
|
});
|
|
@@ -264,7 +264,7 @@ function useActOnStep() {
|
|
|
264
264
|
// The server's version of the conversation replaces the listed one; its history is re-read.
|
|
265
265
|
onSuccess: (updated) => {
|
|
266
266
|
if (!updated?.external_id) return;
|
|
267
|
-
|
|
267
|
+
chunkX5OZRLFZ_cjs.patchConversation(qc, updated.external_id, updated);
|
|
268
268
|
invalidateConversationActivity(qc, updated.external_id);
|
|
269
269
|
}
|
|
270
270
|
});
|
|
@@ -1270,9 +1270,9 @@ function assistantLabels(assistantName = ASSISTANT_MENTION_LABEL) {
|
|
|
1270
1270
|
return assistantName.toLowerCase() === ASSISTANT_MENTION_LABEL.toLowerCase() ? [assistantName] : [assistantName, ASSISTANT_MENTION_LABEL];
|
|
1271
1271
|
}
|
|
1272
1272
|
function useLinkMentions() {
|
|
1273
|
-
const assistantName =
|
|
1273
|
+
const assistantName = chunkZ3W4XFWB_cjs.useAssistantName();
|
|
1274
1274
|
return React.useCallback(
|
|
1275
|
-
(content, mentions) =>
|
|
1275
|
+
(content, mentions) => chunkZ3W4XFWB_cjs.linkMentions(content, mentions, [assistantName]),
|
|
1276
1276
|
[assistantName]
|
|
1277
1277
|
);
|
|
1278
1278
|
}
|
|
@@ -1294,15 +1294,28 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1294
1294
|
if (!conversationId) return newMode;
|
|
1295
1295
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1296
1296
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1297
|
-
return
|
|
1297
|
+
return chunkX5OZRLFZ_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1298
1298
|
}
|
|
1299
1299
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1300
|
-
const mentioned =
|
|
1300
|
+
const mentioned = chunkZ3W4XFWB_cjs.extractMentions(content, candidates);
|
|
1301
1301
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1302
|
-
if (
|
|
1302
|
+
if (chunkX5OZRLFZ_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1303
1303
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1304
1304
|
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
|
|
1305
1305
|
}
|
|
1306
|
+
|
|
1307
|
+
// src/chat/turn-flush.ts
|
|
1308
|
+
var flushes = /* @__PURE__ */ new Map();
|
|
1309
|
+
function registerDocumentTurnFlush(documentId, flush) {
|
|
1310
|
+
flushes.set(documentId, flush);
|
|
1311
|
+
return () => {
|
|
1312
|
+
if (flushes.get(documentId) === flush) flushes.delete(documentId);
|
|
1313
|
+
};
|
|
1314
|
+
}
|
|
1315
|
+
function flushDocumentForTurn(documentId) {
|
|
1316
|
+
const flush = documentId ? flushes.get(documentId) : void 0;
|
|
1317
|
+
return flush ? flush() : null;
|
|
1318
|
+
}
|
|
1306
1319
|
function isFullConfig(config) {
|
|
1307
1320
|
return config != null && "QueryLLM" in config;
|
|
1308
1321
|
}
|
|
@@ -1391,12 +1404,12 @@ function useSaveConfigField(baseConfigId) {
|
|
|
1391
1404
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
1392
1405
|
const queryClient = reactQuery.useQueryClient();
|
|
1393
1406
|
const saveConfig = useSaveConfig();
|
|
1394
|
-
const { data: defaultConfig } =
|
|
1395
|
-
const chatModel =
|
|
1396
|
-
const { data: userSettings } =
|
|
1407
|
+
const { data: defaultConfig } = chunk7L7QRIQ2_cjs.useConfig("default");
|
|
1408
|
+
const chatModel = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1409
|
+
const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
|
|
1397
1410
|
const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
|
|
1398
|
-
const { data: activeConfigData } =
|
|
1399
|
-
const session =
|
|
1411
|
+
const { data: activeConfigData } = chunk7L7QRIQ2_cjs.useConfig(activeConfigId);
|
|
1412
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
1400
1413
|
const chain2 = React.useRef(null);
|
|
1401
1414
|
const buildDelta = (changes) => deltaOnto(
|
|
1402
1415
|
changes,
|
|
@@ -1467,8 +1480,8 @@ function pendingChatModelSave(session) {
|
|
|
1467
1480
|
return chatModelSaves.get(session);
|
|
1468
1481
|
}
|
|
1469
1482
|
function useApplyChatModel() {
|
|
1470
|
-
const session =
|
|
1471
|
-
const { data: availableModels } =
|
|
1483
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
1484
|
+
const { data: availableModels } = chunk7L7QRIQ2_cjs.useAvailableModels();
|
|
1472
1485
|
const configField = useSaveConfigField();
|
|
1473
1486
|
return React.useCallback(
|
|
1474
1487
|
async (model, label) => {
|
|
@@ -1516,11 +1529,11 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
|
|
|
1516
1529
|
|
|
1517
1530
|
// src/chat/thread-binding.ts
|
|
1518
1531
|
function threadBinding(queryClient, conversationId) {
|
|
1519
|
-
if (!conversationId) return
|
|
1520
|
-
const row =
|
|
1521
|
-
if (row) return
|
|
1532
|
+
if (!conversationId) return chunkZ3W4XFWB_cjs.UNBOUND;
|
|
1533
|
+
const row = chunkX5OZRLFZ_cjs.findConversation(queryClient, conversationId);
|
|
1534
|
+
if (row) return chunkZ3W4XFWB_cjs.bindingOfRow(row);
|
|
1522
1535
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1523
|
-
return
|
|
1536
|
+
return chunkZ3W4XFWB_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
1524
1537
|
}
|
|
1525
1538
|
function boundDocumentOf(queryClient, state) {
|
|
1526
1539
|
return state.conversationId ? threadBinding(queryClient, state.conversationId).documentId : state.newChatDocumentId;
|
|
@@ -1530,7 +1543,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1530
1543
|
bound_document_ext_id: binding.documentId,
|
|
1531
1544
|
bound_document_unavailable: binding.unavailable
|
|
1532
1545
|
};
|
|
1533
|
-
|
|
1546
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1534
1547
|
queryClient.setQueryData(
|
|
1535
1548
|
getThreadsQueryKey(conversationId),
|
|
1536
1549
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1566,8 +1579,8 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
|
|
|
1566
1579
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1567
1580
|
bound_document_ext_id: documentId
|
|
1568
1581
|
});
|
|
1569
|
-
|
|
1570
|
-
cacheThreadBinding(queryClient, conversationId,
|
|
1582
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1583
|
+
cacheThreadBinding(queryClient, conversationId, chunkZ3W4XFWB_cjs.bindingOfRow(saved));
|
|
1571
1584
|
} catch (error) {
|
|
1572
1585
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
1573
1586
|
throw error;
|
|
@@ -1579,14 +1592,14 @@ function adoptNewChatDocument(session, queryClient, conversationId, documentId =
|
|
|
1579
1592
|
if (session.getState().newChatDocumentId === documentId) session.setNewChatDocumentId(null);
|
|
1580
1593
|
}
|
|
1581
1594
|
async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
|
|
1582
|
-
const legacy =
|
|
1595
|
+
const legacy = chunkZ3W4XFWB_cjs.readLegacyThreadDocuments();
|
|
1583
1596
|
const listed = conversations.filter(
|
|
1584
1597
|
(c) => c.external_id in legacy && "bound_document_unavailable" in c
|
|
1585
1598
|
);
|
|
1586
1599
|
if (listed.length === 0) return;
|
|
1587
1600
|
await Promise.all(
|
|
1588
1601
|
listed.map(async (row) => {
|
|
1589
|
-
const server =
|
|
1602
|
+
const server = chunkZ3W4XFWB_cjs.bindingOfRow(row);
|
|
1590
1603
|
if (server.documentId || server.unavailable) return;
|
|
1591
1604
|
try {
|
|
1592
1605
|
await bindThreadDocument(arbi, queryClient, row.external_id, legacy[row.external_id]);
|
|
@@ -1594,7 +1607,7 @@ async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
|
|
|
1594
1607
|
}
|
|
1595
1608
|
})
|
|
1596
1609
|
);
|
|
1597
|
-
|
|
1610
|
+
chunkZ3W4XFWB_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
|
|
1598
1611
|
}
|
|
1599
1612
|
function resolveReplyTarget(queryClient, conversationId, parentId) {
|
|
1600
1613
|
if (!parentId) return null;
|
|
@@ -2211,7 +2224,7 @@ function useOpenViewerDocumentId() {
|
|
|
2211
2224
|
// src/documents/document-download.ts
|
|
2212
2225
|
function fallbackFileName(doc) {
|
|
2213
2226
|
if (doc.file_name) return doc.file_name;
|
|
2214
|
-
const title =
|
|
2227
|
+
const title = chunkDLEHM4IA_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
|
|
2215
2228
|
const extension = doc.file_type || "pdf";
|
|
2216
2229
|
const ext = extension.startsWith(".") ? extension : `.${extension}`;
|
|
2217
2230
|
return title.toLowerCase().endsWith(ext.toLowerCase()) ? title : `${title}${ext}`;
|
|
@@ -2219,11 +2232,11 @@ function fallbackFileName(doc) {
|
|
|
2219
2232
|
var COLUMN_MAPPING = {
|
|
2220
2233
|
file_name: {
|
|
2221
2234
|
header: "File Name",
|
|
2222
|
-
getValue: (d) => d.file_name ||
|
|
2235
|
+
getValue: (d) => d.file_name || chunkDLEHM4IA_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
|
|
2223
2236
|
},
|
|
2224
|
-
title: { header: "Title", getValue: (d) =>
|
|
2237
|
+
title: { header: "Title", getValue: (d) => chunkDLEHM4IA_cjs.getDocumentTitle(d) },
|
|
2225
2238
|
n_pages: { header: "Pages", getValue: (d) => d.n_pages || "" },
|
|
2226
|
-
doc_date: { header: "Document Date", getValue: (d) =>
|
|
2239
|
+
doc_date: { header: "Document Date", getValue: (d) => chunkDLEHM4IA_cjs.getDocumentDate(d) || "" },
|
|
2227
2240
|
doc_id: { header: "Document ID", getValue: (d) => d.external_id },
|
|
2228
2241
|
status: { header: "Status", getValue: (d) => d.status || "" },
|
|
2229
2242
|
uploaded: { header: "Upload Date", getValue: (d) => d.created_at || "" },
|
|
@@ -2285,7 +2298,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
|
|
|
2285
2298
|
downloaded.push(doc);
|
|
2286
2299
|
} catch (error) {
|
|
2287
2300
|
console.error(`Failed to download document ${doc.external_id}:`, error);
|
|
2288
|
-
failedDocs.push(
|
|
2301
|
+
failedDocs.push(chunkDLEHM4IA_cjs.getDocumentTitle(doc, doc.external_id));
|
|
2289
2302
|
}
|
|
2290
2303
|
}
|
|
2291
2304
|
const successCount = downloaded.length;
|
|
@@ -2419,13 +2432,13 @@ function DocumentReview({
|
|
|
2419
2432
|
});
|
|
2420
2433
|
const status = processingInProp ? polled?.status ?? doc?.status : doc?.status;
|
|
2421
2434
|
const noTextYet = stage === "final" && !!status && !PARSED_STATUSES.has(status);
|
|
2422
|
-
const parsedQuery =
|
|
2435
|
+
const parsedQuery = chunk7L7QRIQ2_cjs.useParsedDocument(docId, stage, { enabled: !noTextYet });
|
|
2423
2436
|
const { isError: parsedFailed, refetch: refetchParsed } = parsedQuery;
|
|
2424
2437
|
const readable = !!status && !noTextYet;
|
|
2425
2438
|
React__default.default.useEffect(() => {
|
|
2426
2439
|
if (readable && parsedFailed) void refetchParsed();
|
|
2427
2440
|
}, [readable]);
|
|
2428
|
-
const tagsQuery =
|
|
2441
|
+
const tagsQuery = chunk7L7QRIQ2_cjs.useTags(workspaceId);
|
|
2429
2442
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2430
2443
|
const map = /* @__PURE__ */ new Map();
|
|
2431
2444
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -2492,7 +2505,7 @@ function DocumentReview({
|
|
|
2492
2505
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
2493
2506
|
] })
|
|
2494
2507
|
] }),
|
|
2495
|
-
status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2508
|
+
status ? /* @__PURE__ */ jsxRuntime.jsx(chunkDLEHM4IA_cjs.Badge, { variant: "secondary", children: status }) : null,
|
|
2496
2509
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2497
2510
|
"button",
|
|
2498
2511
|
{
|
|
@@ -2529,7 +2542,7 @@ function DocumentReview({
|
|
|
2529
2542
|
className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2530
2543
|
children: [
|
|
2531
2544
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2532
|
-
|
|
2545
|
+
chunkDLEHM4IA_cjs.TagEntity,
|
|
2533
2546
|
{
|
|
2534
2547
|
size: "sm",
|
|
2535
2548
|
tag: {
|
|
@@ -2581,7 +2594,7 @@ function DocumentReview({
|
|
|
2581
2594
|
),
|
|
2582
2595
|
children: [
|
|
2583
2596
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2584
|
-
|
|
2597
|
+
chunkDLEHM4IA_cjs.TagEntity,
|
|
2585
2598
|
{
|
|
2586
2599
|
size: "sm",
|
|
2587
2600
|
tag: {
|
|
@@ -2610,7 +2623,7 @@ function VoiceNoteRecorder({
|
|
|
2610
2623
|
isSaving = false,
|
|
2611
2624
|
transcribe
|
|
2612
2625
|
}) {
|
|
2613
|
-
const recorder =
|
|
2626
|
+
const recorder = chunkDLEHM4IA_cjs.useAudioRecorder();
|
|
2614
2627
|
const [transcript, setTranscript] = React.useState(null);
|
|
2615
2628
|
const [isTranscribing, setIsTranscribing] = React.useState(false);
|
|
2616
2629
|
React.useEffect(() => {
|
|
@@ -2656,7 +2669,7 @@ function VoiceNoteRecorder({
|
|
|
2656
2669
|
] }),
|
|
2657
2670
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2658
2671
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2659
|
-
|
|
2672
|
+
chunkDLEHM4IA_cjs.MicWaveformIndicator,
|
|
2660
2673
|
{
|
|
2661
2674
|
level: recorder.level,
|
|
2662
2675
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -2778,7 +2791,7 @@ function DraftTitleControls({
|
|
|
2778
2791
|
}
|
|
2779
2792
|
),
|
|
2780
2793
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2781
|
-
|
|
2794
|
+
chunkDLEHM4IA_cjs.IconToggle,
|
|
2782
2795
|
{
|
|
2783
2796
|
icon: lucideReact.Sparkles,
|
|
2784
2797
|
isActive: autoRename,
|
|
@@ -2812,7 +2825,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
2812
2825
|
streamRef.current = media;
|
|
2813
2826
|
setStream(media);
|
|
2814
2827
|
} catch (err) {
|
|
2815
|
-
setError(
|
|
2828
|
+
setError(chunkDLEHM4IA_cjs.classifyMediaError(err, "camera"));
|
|
2816
2829
|
} finally {
|
|
2817
2830
|
setIsStarting(false);
|
|
2818
2831
|
}
|
|
@@ -3048,7 +3061,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
3048
3061
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
3049
3062
|
] }),
|
|
3050
3063
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
3051
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
3064
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkDLEHM4IA_cjs.formatElapsed(recorder.elapsedMs) })
|
|
3052
3065
|
] }),
|
|
3053
3066
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3054
3067
|
chunkWYZJLZ67_cjs.Button,
|
|
@@ -3330,7 +3343,7 @@ function useUploadFiles() {
|
|
|
3330
3343
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
3331
3344
|
const qc = reactQuery.useQueryClient();
|
|
3332
3345
|
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3333
|
-
const { data: settings } =
|
|
3346
|
+
const { data: settings } = chunkX5OZRLFZ_cjs.useUserSettings();
|
|
3334
3347
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3335
3348
|
const direct = settings?.use_s3_direct_upload === true;
|
|
3336
3349
|
return React.useCallback(
|
|
@@ -3791,7 +3804,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
|
|
|
3791
3804
|
);
|
|
3792
3805
|
function usePendingSyncItems() {
|
|
3793
3806
|
const { data: documents2 } = chunkGKGAPU6T_cjs.useDocuments();
|
|
3794
|
-
const { data: tags } =
|
|
3807
|
+
const { data: tags } = chunk7L7QRIQ2_cjs.useTags();
|
|
3795
3808
|
const raw = reactQuery.useMutationState({
|
|
3796
3809
|
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3797
3810
|
select: (m) => ({
|
|
@@ -3807,7 +3820,7 @@ function usePendingSyncItems() {
|
|
|
3807
3820
|
return React.useMemo(() => {
|
|
3808
3821
|
const docNameById = /* @__PURE__ */ new Map();
|
|
3809
3822
|
for (const doc of documents2 ?? [])
|
|
3810
|
-
docNameById.set(doc.external_id,
|
|
3823
|
+
docNameById.set(doc.external_id, chunkDLEHM4IA_cjs.getDocumentTitle(doc, doc.file_name ?? ""));
|
|
3811
3824
|
const tagNameById = /* @__PURE__ */ new Map();
|
|
3812
3825
|
for (const tag of tags ?? []) tagNameById.set(tag.external_id, tag.name);
|
|
3813
3826
|
return raw.map((r) => buildPendingSyncItem(r, docNameById, tagNameById));
|
|
@@ -3944,12 +3957,12 @@ async function keepDocumentsOffline(client$1, docs) {
|
|
|
3944
3957
|
const keypair = await client.getUserEncryptionKeypair();
|
|
3945
3958
|
if (!keypair) throw new Error("Could not derive an encryption key for the offline copy.");
|
|
3946
3959
|
for (const doc of docs) {
|
|
3947
|
-
const original =
|
|
3960
|
+
const original = chunkDLEHM4IA_cjs.usesOriginalBytesForViewer(doc.file_name);
|
|
3948
3961
|
const blob = original ? await chunk3JAEX57E_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunk3JAEX57E_cjs.fetchDocumentPdf(client$1, doc.external_id);
|
|
3949
3962
|
const plain = new Uint8Array(await blob.arrayBuffer());
|
|
3950
3963
|
await putOfflineDocument({
|
|
3951
3964
|
docExtId: doc.external_id,
|
|
3952
|
-
fileName:
|
|
3965
|
+
fileName: chunkDLEHM4IA_cjs.getDocumentTitle(doc, "document"),
|
|
3953
3966
|
kind: original ? "original" : "pdf",
|
|
3954
3967
|
data: client.base64ToBytes(client.sealedBoxEncrypt(plain, keypair.publicKey)),
|
|
3955
3968
|
contentType: blob.type,
|
|
@@ -4011,11 +4024,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
4011
4024
|
const clientId = streamState.queuedClientId;
|
|
4012
4025
|
if (!clientId || queuedEntryRetired) return;
|
|
4013
4026
|
queuedEntryRetired = true;
|
|
4014
|
-
const entry =
|
|
4027
|
+
const entry = chunk7L7QRIQ2_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
4015
4028
|
if (!entry) return;
|
|
4016
4029
|
const remainingVisibility = Math.max(
|
|
4017
4030
|
0,
|
|
4018
|
-
|
|
4031
|
+
chunk7L7QRIQ2_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
4019
4032
|
);
|
|
4020
4033
|
if (remainingVisibility === 0) {
|
|
4021
4034
|
session.removeQueuedMessage(clientId);
|
|
@@ -4031,7 +4044,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4031
4044
|
session.moveConversation("new", serverConversationId);
|
|
4032
4045
|
const userExtId = ctx.userId();
|
|
4033
4046
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4034
|
-
|
|
4047
|
+
chunkX5OZRLFZ_cjs.patchConversationList(
|
|
4035
4048
|
queryClient,
|
|
4036
4049
|
streamState.workspaceId ?? session.getState().workspaceId,
|
|
4037
4050
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -4153,7 +4166,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4153
4166
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
4154
4167
|
});
|
|
4155
4168
|
}
|
|
4156
|
-
void
|
|
4169
|
+
void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
4157
4170
|
session.setCursor(streamState.assistantId);
|
|
4158
4171
|
};
|
|
4159
4172
|
let firstTokenSeen = false;
|
|
@@ -4353,7 +4366,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4353
4366
|
}
|
|
4354
4367
|
function useStreamHandlers() {
|
|
4355
4368
|
const queryClient = reactQuery.useQueryClient();
|
|
4356
|
-
const session =
|
|
4369
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
4357
4370
|
const config = chunkO32T7XRD_cjs.useArbiHost();
|
|
4358
4371
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
4359
4372
|
return React.useCallback(
|
|
@@ -4446,7 +4459,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
4446
4459
|
// src/chat/useConversationActions.ts
|
|
4447
4460
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
4448
4461
|
function draftAfterSend(queryClient, session, wasComment, assistantName) {
|
|
4449
|
-
const shared =
|
|
4462
|
+
const shared = chunkX5OZRLFZ_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
4450
4463
|
return shared && !wasComment ? `@${assistantName} ` : "";
|
|
4451
4464
|
}
|
|
4452
4465
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -4479,7 +4492,7 @@ function useConversationActions({
|
|
|
4479
4492
|
lastFailedMessage
|
|
4480
4493
|
}) {
|
|
4481
4494
|
const queryClient = reactQuery.useQueryClient();
|
|
4482
|
-
const session =
|
|
4495
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
4483
4496
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
4484
4497
|
const invalidateUserWorkspaces = React.useCallback(
|
|
4485
4498
|
() => void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -4489,7 +4502,7 @@ function useConversationActions({
|
|
|
4489
4502
|
React.useState(() => watchConversationWorkspaces(queryClient, session));
|
|
4490
4503
|
const createHandlers = useStreamHandlers();
|
|
4491
4504
|
const chatHost = chunkO32T7XRD_cjs.useArbiHost().chat;
|
|
4492
|
-
const assistantName =
|
|
4505
|
+
const assistantName = chunkZ3W4XFWB_cjs.useAssistantName();
|
|
4493
4506
|
const mentionCandidates = React.useCallback(
|
|
4494
4507
|
() => cachedMentionCandidates(
|
|
4495
4508
|
queryClient,
|
|
@@ -4510,10 +4523,10 @@ function useConversationActions({
|
|
|
4510
4523
|
const convId = conversationId === void 0 ? state.conversationId : conversationId;
|
|
4511
4524
|
const { newConversationAssistantMode } = state;
|
|
4512
4525
|
const candidates = mentionCandidates();
|
|
4513
|
-
const mentioned =
|
|
4526
|
+
const mentioned = chunkZ3W4XFWB_cjs.extractMentions(content, candidates);
|
|
4514
4527
|
const assistantMode = cachedAssistantMode(queryClient, convId, newConversationAssistantMode);
|
|
4515
4528
|
const isComment = isCommentToPeople(queryClient, convId, content, candidates);
|
|
4516
|
-
const mentions =
|
|
4529
|
+
const mentions = chunkZ3W4XFWB_cjs.toMessageMentions(mentioned);
|
|
4517
4530
|
if (!isComment && assistantMode === "mentioned" && !mentions.some((m) => m.type === "assistant")) {
|
|
4518
4531
|
mentions.push({ type: "assistant" });
|
|
4519
4532
|
}
|
|
@@ -4544,7 +4557,7 @@ function useConversationActions({
|
|
|
4544
4557
|
const bindTo = session.getState().newChatDocumentId;
|
|
4545
4558
|
session.moveConversation("new", conversationId);
|
|
4546
4559
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
4547
|
-
|
|
4560
|
+
chunkX5OZRLFZ_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
4548
4561
|
{
|
|
4549
4562
|
external_id: conversationId,
|
|
4550
4563
|
title: content.slice(0, 40),
|
|
@@ -4566,14 +4579,14 @@ function useConversationActions({
|
|
|
4566
4579
|
);
|
|
4567
4580
|
invalidateUserWorkspaces();
|
|
4568
4581
|
} else {
|
|
4569
|
-
|
|
4582
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
4570
4583
|
...c,
|
|
4571
4584
|
message_count: c.message_count + 1,
|
|
4572
4585
|
updated_at: nowIso
|
|
4573
4586
|
}));
|
|
4574
4587
|
}
|
|
4575
4588
|
if (mentions.some((m) => m.type === "user")) {
|
|
4576
|
-
await
|
|
4589
|
+
await chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
4577
4590
|
}
|
|
4578
4591
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
4579
4592
|
session.setCursor(saved.external_id);
|
|
@@ -4581,7 +4594,7 @@ function useConversationActions({
|
|
|
4581
4594
|
chunkRLSBRZ6Z_cjs.notify.error(
|
|
4582
4595
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
4583
4596
|
);
|
|
4584
|
-
if (!
|
|
4597
|
+
if (!chunk7L7QRIQ2_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
4585
4598
|
}
|
|
4586
4599
|
},
|
|
4587
4600
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4621,11 +4634,13 @@ function useConversationActions({
|
|
|
4621
4634
|
const resolvedConfigId = newConfigId || (agentExtId ? void 0 : lastConfigId);
|
|
4622
4635
|
const isPaMode = !agentExtId && state.paMode;
|
|
4623
4636
|
const threadDocumentId = boundDocumentOf(queryClient, { ...state, conversationId: convId });
|
|
4624
|
-
const activeArtifactExtId = isPaMode ? null :
|
|
4637
|
+
const activeArtifactExtId = isPaMode ? null : chunkZ3W4XFWB_cjs.takeDocumentForTurn({
|
|
4625
4638
|
boundDocumentId: threadDocumentId,
|
|
4626
4639
|
conversationId: convId,
|
|
4627
4640
|
workspaceId: turnWorkspaceId
|
|
4628
4641
|
});
|
|
4642
|
+
const flushing = flushDocumentForTurn(activeArtifactExtId);
|
|
4643
|
+
if (flushing) await flushing;
|
|
4629
4644
|
const pendingTools = state.pendingTools;
|
|
4630
4645
|
if (pendingTools) session.setPendingTools(null);
|
|
4631
4646
|
const toolsOverride = options?.toolsOverride ?? pendingTools ?? void 0;
|
|
@@ -4652,7 +4667,7 @@ function useConversationActions({
|
|
|
4652
4667
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4653
4668
|
}
|
|
4654
4669
|
if (!queuedContinuation) {
|
|
4655
|
-
|
|
4670
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4656
4671
|
}
|
|
4657
4672
|
const streamState = {
|
|
4658
4673
|
conversationId: convKey,
|
|
@@ -4763,7 +4778,7 @@ function useConversationActions({
|
|
|
4763
4778
|
void queryClient.invalidateQueries({
|
|
4764
4779
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4765
4780
|
});
|
|
4766
|
-
void
|
|
4781
|
+
void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
4767
4782
|
}
|
|
4768
4783
|
return;
|
|
4769
4784
|
}
|
|
@@ -4791,7 +4806,7 @@ function useConversationActions({
|
|
|
4791
4806
|
}
|
|
4792
4807
|
if (ownsGeneration) {
|
|
4793
4808
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4794
|
-
|
|
4809
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4795
4810
|
last_message_status: lastStatus
|
|
4796
4811
|
});
|
|
4797
4812
|
}
|
|
@@ -4824,7 +4839,7 @@ function useConversationActions({
|
|
|
4824
4839
|
});
|
|
4825
4840
|
if (ownsActiveGeneration()) {
|
|
4826
4841
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4827
|
-
|
|
4842
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4828
4843
|
last_message_status: "completed"
|
|
4829
4844
|
});
|
|
4830
4845
|
}
|
|
@@ -4847,10 +4862,10 @@ function useConversationActions({
|
|
|
4847
4862
|
if (ownsActiveGeneration()) {
|
|
4848
4863
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4849
4864
|
}
|
|
4850
|
-
void
|
|
4865
|
+
void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
4851
4866
|
return;
|
|
4852
4867
|
}
|
|
4853
|
-
|
|
4868
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4854
4869
|
last_message_status: "failed"
|
|
4855
4870
|
});
|
|
4856
4871
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -4885,8 +4900,8 @@ function useConversationActions({
|
|
|
4885
4900
|
);
|
|
4886
4901
|
const handleSendMessage = React.useCallback(
|
|
4887
4902
|
async (options) => {
|
|
4888
|
-
const currentMessage =
|
|
4889
|
-
if (!selectedWorkspaceId || !
|
|
4903
|
+
const currentMessage = chunk7L7QRIQ2_cjs.selectDraft(session.getState()).trim();
|
|
4904
|
+
if (!selectedWorkspaceId || !chunkZ3W4XFWB_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
|
|
4890
4905
|
return;
|
|
4891
4906
|
session.setSuggestedQuery(null);
|
|
4892
4907
|
if (refuseChatWhenOffline()) return;
|
|
@@ -5000,7 +5015,7 @@ function useConversationActions({
|
|
|
5000
5015
|
if (!replyTo && currentConversationId) {
|
|
5001
5016
|
try {
|
|
5002
5017
|
await arbi.conversations.delete(currentConversationId);
|
|
5003
|
-
|
|
5018
|
+
chunkX5OZRLFZ_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
5004
5019
|
session.startNewConversation();
|
|
5005
5020
|
} catch (error) {
|
|
5006
5021
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -5068,16 +5083,16 @@ function selectThread(session, leafId) {
|
|
|
5068
5083
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
5069
5084
|
}
|
|
5070
5085
|
function useConversationData() {
|
|
5071
|
-
const session =
|
|
5072
|
-
const selectedWorkspaceId =
|
|
5073
|
-
const currentConversationId =
|
|
5074
|
-
const parentMessageId =
|
|
5075
|
-
const deepLinkMessageId =
|
|
5086
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
5087
|
+
const selectedWorkspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5088
|
+
const currentConversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5089
|
+
const parentMessageId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.cursor);
|
|
5090
|
+
const deepLinkMessageId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
5076
5091
|
const {
|
|
5077
5092
|
data: threadsData,
|
|
5078
5093
|
isLoading: threadsLoading,
|
|
5079
5094
|
error: threadsError
|
|
5080
|
-
} =
|
|
5095
|
+
} = chunk7L7QRIQ2_cjs.useConversationThreads(currentConversationId || void 0);
|
|
5081
5096
|
const processedDeepLinkRef = React.useRef(null);
|
|
5082
5097
|
const prevConversationIdRef = React.useRef(null);
|
|
5083
5098
|
React.useEffect(() => {
|
|
@@ -5270,7 +5285,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
5270
5285
|
var RECONNECT_DELAY_MS = 2e3;
|
|
5271
5286
|
var MAX_RECONNECTS = 5;
|
|
5272
5287
|
function useConnectRunStream(conversationId, messages) {
|
|
5273
|
-
const generation =
|
|
5288
|
+
const generation = chunk7L7QRIQ2_cjs.useArbiSessionState(
|
|
5274
5289
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
5275
5290
|
);
|
|
5276
5291
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -5278,7 +5293,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
5278
5293
|
}
|
|
5279
5294
|
function useAttachRun(conversationId, responseId) {
|
|
5280
5295
|
const queryClient = reactQuery.useQueryClient();
|
|
5281
|
-
const session =
|
|
5296
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
5282
5297
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
5283
5298
|
const arbiRef = React.useRef(arbi);
|
|
5284
5299
|
arbiRef.current = arbi;
|
|
@@ -5518,14 +5533,14 @@ function useConversation(options = {}) {
|
|
|
5518
5533
|
const { agentId, model, titleLength = 48 } = options;
|
|
5519
5534
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
5520
5535
|
const queryClient = reactQuery.useQueryClient();
|
|
5521
|
-
const session =
|
|
5522
|
-
const sessionWorkspaceId =
|
|
5536
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
5537
|
+
const sessionWorkspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5523
5538
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
5524
|
-
const conversationId =
|
|
5539
|
+
const conversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5525
5540
|
const conversationKey2 = conversationId ?? NEW;
|
|
5526
|
-
const generation =
|
|
5527
|
-
const newConversationMode =
|
|
5528
|
-
const queuedMessages2 =
|
|
5541
|
+
const generation = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5542
|
+
const newConversationMode = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5543
|
+
const queuedMessages2 = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
5529
5544
|
const isRunning = !!generation?.isGenerating;
|
|
5530
5545
|
React.useEffect(() => {
|
|
5531
5546
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -5538,7 +5553,7 @@ function useConversation(options = {}) {
|
|
|
5538
5553
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
5539
5554
|
}, [session, agentId, workspaceId, conversationId]);
|
|
5540
5555
|
const { data: docs = [], isLoading: isLoadingDocuments } = chunkGKGAPU6T_cjs.useDocuments(workspaceId);
|
|
5541
|
-
const ordinaryHistory =
|
|
5556
|
+
const ordinaryHistory = chunk7L7QRIQ2_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
5542
5557
|
const agentHistory = useAgentChats(agentId);
|
|
5543
5558
|
const stored = React.useMemo(
|
|
5544
5559
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5645,7 +5660,7 @@ function useConversation(options = {}) {
|
|
|
5645
5660
|
[agentId, stagedFiles, deselected]
|
|
5646
5661
|
);
|
|
5647
5662
|
const { handleSendMessage, handleCreateBranch } = actions;
|
|
5648
|
-
const assistantName =
|
|
5663
|
+
const assistantName = chunkZ3W4XFWB_cjs.useAssistantName();
|
|
5649
5664
|
const send = React.useCallback(
|
|
5650
5665
|
async (text2) => {
|
|
5651
5666
|
const trimmed = text2.trim();
|
|
@@ -5776,7 +5791,7 @@ function useConversation(options = {}) {
|
|
|
5776
5791
|
void (async () => {
|
|
5777
5792
|
try {
|
|
5778
5793
|
await arbi.conversations.delete(id);
|
|
5779
|
-
|
|
5794
|
+
chunkX5OZRLFZ_cjs.removeConversationFromLists(queryClient, id);
|
|
5780
5795
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5781
5796
|
} catch (e) {
|
|
5782
5797
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -5864,10 +5879,10 @@ function ConversationScope({
|
|
|
5864
5879
|
conversationId,
|
|
5865
5880
|
children
|
|
5866
5881
|
}) {
|
|
5867
|
-
const outerWorkspaceId =
|
|
5882
|
+
const outerWorkspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5868
5883
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
5869
5884
|
const [session] = React.useState(
|
|
5870
|
-
() =>
|
|
5885
|
+
() => chunk7L7QRIQ2_cjs.createArbiSessionStore({
|
|
5871
5886
|
workspaceId: scopeWorkspaceId,
|
|
5872
5887
|
conversationId: conversationId ?? null
|
|
5873
5888
|
})
|
|
@@ -5883,7 +5898,7 @@ function ConversationScope({
|
|
|
5883
5898
|
}
|
|
5884
5899
|
function useConversationWorkspace(conversationId) {
|
|
5885
5900
|
const queryClient = reactQuery.useQueryClient();
|
|
5886
|
-
const sessionWorkspaceId =
|
|
5901
|
+
const sessionWorkspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5887
5902
|
return conversationWorkspaceOf(queryClient, conversationId) ?? sessionWorkspaceId;
|
|
5888
5903
|
}
|
|
5889
5904
|
|
|
@@ -5893,11 +5908,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
5893
5908
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
5894
5909
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
5895
5910
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
5896
|
-
|
|
5911
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
5897
5912
|
}
|
|
5898
5913
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
5899
5914
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
5900
|
-
void
|
|
5915
|
+
void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
5901
5916
|
}
|
|
5902
5917
|
}
|
|
5903
5918
|
function applyRunEnded(queryClient, e) {
|
|
@@ -5914,10 +5929,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
5914
5929
|
);
|
|
5915
5930
|
}
|
|
5916
5931
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
5917
|
-
|
|
5932
|
+
chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, {
|
|
5918
5933
|
last_message_status: failed ? "failed" : "completed"
|
|
5919
5934
|
});
|
|
5920
|
-
void
|
|
5935
|
+
void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
5921
5936
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
5922
5937
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.userUsageToday() });
|
|
5923
5938
|
}
|
|
@@ -5925,7 +5940,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
5925
5940
|
if (!e.conversation_ext_id) return;
|
|
5926
5941
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
5927
5942
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
5928
|
-
void
|
|
5943
|
+
void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
|
|
5929
5944
|
await refreshed;
|
|
5930
5945
|
const cached = queryClient.getQueryData(
|
|
5931
5946
|
queryKey
|
|
@@ -5938,10 +5953,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
5938
5953
|
function useThreadDocument() {
|
|
5939
5954
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
5940
5955
|
const queryClient = reactQuery.useQueryClient();
|
|
5941
|
-
const session =
|
|
5942
|
-
const conversationId =
|
|
5943
|
-
const workspaceId =
|
|
5944
|
-
const newChatDocumentId =
|
|
5956
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
5957
|
+
const conversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5958
|
+
const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5959
|
+
const newChatDocumentId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
5945
5960
|
const subscribe = React.useCallback(
|
|
5946
5961
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
5947
5962
|
[queryClient]
|
|
@@ -5956,7 +5971,7 @@ function useThreadDocument() {
|
|
|
5956
5971
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
5957
5972
|
() => false
|
|
5958
5973
|
);
|
|
5959
|
-
const { data: conversations, isPlaceholderData } =
|
|
5974
|
+
const { data: conversations, isPlaceholderData } = chunk7L7QRIQ2_cjs.useConversations(workspaceId ?? void 0);
|
|
5960
5975
|
React.useEffect(() => {
|
|
5961
5976
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
5962
5977
|
return;
|
|
@@ -6010,9 +6025,9 @@ function useConversationTurn({
|
|
|
6010
6025
|
selectedWorkspaceId,
|
|
6011
6026
|
parentMessageId
|
|
6012
6027
|
}) {
|
|
6013
|
-
const currentConversationId =
|
|
6028
|
+
const currentConversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6014
6029
|
const conversationKey2 = currentConversationId || "new";
|
|
6015
|
-
const generationState =
|
|
6030
|
+
const generationState = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
6016
6031
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
6017
6032
|
const generationError = generationState?.error ?? null;
|
|
6018
6033
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -6032,10 +6047,10 @@ function useConversationTurn({
|
|
|
6032
6047
|
};
|
|
6033
6048
|
}
|
|
6034
6049
|
function useActiveConfigId() {
|
|
6035
|
-
const chatModel =
|
|
6036
|
-
const cursor =
|
|
6050
|
+
const chatModel = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6051
|
+
const cursor = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.cursor);
|
|
6037
6052
|
const { messageHistory } = useConversationData();
|
|
6038
|
-
const { data: userSettings } =
|
|
6053
|
+
const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
|
|
6039
6054
|
return React.useMemo(() => {
|
|
6040
6055
|
if (chatModel) return chatModel;
|
|
6041
6056
|
const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
|
|
@@ -6045,9 +6060,9 @@ function useActiveConfigId() {
|
|
|
6045
6060
|
}
|
|
6046
6061
|
var EMPTY_DOCS = [];
|
|
6047
6062
|
function useConversationDocuments() {
|
|
6048
|
-
const currentConversationId =
|
|
6063
|
+
const currentConversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6049
6064
|
const convKey = currentConversationId || "new";
|
|
6050
|
-
const inConversationDocuments =
|
|
6065
|
+
const inConversationDocuments = chunk7L7QRIQ2_cjs.useArbiSessionState(
|
|
6051
6066
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
6052
6067
|
);
|
|
6053
6068
|
const { data: documents2 = [], isLoading: isLoadingDocs } = chunkGKGAPU6T_cjs.useDocuments();
|
|
@@ -6082,8 +6097,8 @@ function useDocumentAutoAdd({
|
|
|
6082
6097
|
allWorkspaceDocuments,
|
|
6083
6098
|
hasContent = false
|
|
6084
6099
|
}) {
|
|
6085
|
-
const session =
|
|
6086
|
-
const currentConversationId =
|
|
6100
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6101
|
+
const currentConversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6087
6102
|
const convKey = currentConversationId || "new";
|
|
6088
6103
|
const observedRef = React.useRef(null);
|
|
6089
6104
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -6144,12 +6159,12 @@ function useDocumentAutoAdd({
|
|
|
6144
6159
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
6145
6160
|
}
|
|
6146
6161
|
function useAutoSendDraft(sendDraft, ready = true, canSend) {
|
|
6147
|
-
const session =
|
|
6148
|
-
const autoSendDraft =
|
|
6162
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6163
|
+
const autoSendDraft = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
6149
6164
|
React.useEffect(() => {
|
|
6150
6165
|
if (!autoSendDraft || !ready || canSend && !canSend()) return;
|
|
6151
6166
|
session.setAutoSendDraft(false);
|
|
6152
|
-
if (
|
|
6167
|
+
if (chunk7L7QRIQ2_cjs.selectDraft(session.getState()).trim()) {
|
|
6153
6168
|
sendDraft();
|
|
6154
6169
|
}
|
|
6155
6170
|
}, [autoSendDraft, ready, canSend, sendDraft, session]);
|
|
@@ -6236,18 +6251,18 @@ function useAnswerAgentQuestion() {
|
|
|
6236
6251
|
}
|
|
6237
6252
|
var TITLE_MAX = 50;
|
|
6238
6253
|
function useConversationSettings() {
|
|
6239
|
-
const session =
|
|
6240
|
-
const conversationId =
|
|
6241
|
-
const chatModel =
|
|
6242
|
-
const parentMessageId =
|
|
6243
|
-
const currentUser =
|
|
6254
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6255
|
+
const conversationId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
6256
|
+
const chatModel = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6257
|
+
const parentMessageId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.cursor);
|
|
6258
|
+
const currentUser = chunk7L7QRIQ2_cjs.useArbiSession().user;
|
|
6244
6259
|
const { messageHistory } = useConversationData();
|
|
6245
6260
|
const { conversations } = useConversationItems();
|
|
6246
|
-
const { data: userSettings } =
|
|
6261
|
+
const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
|
|
6247
6262
|
const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
|
|
6248
6263
|
const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
|
|
6249
|
-
const { data: activeConfig } =
|
|
6250
|
-
const { refetch: refetchSystemDefaults } =
|
|
6264
|
+
const { data: activeConfig } = chunk7L7QRIQ2_cjs.useConfig(configToLoad);
|
|
6265
|
+
const { refetch: refetchSystemDefaults } = chunk7L7QRIQ2_cjs.useConfig("default");
|
|
6251
6266
|
const conversation = conversations.find((c) => c.external_id === conversationId);
|
|
6252
6267
|
const isOwner = !!conversation && conversation.created_by_ext_id === currentUser?.external_id;
|
|
6253
6268
|
const isShared = conversation?.is_shared ?? false;
|
|
@@ -6300,7 +6315,7 @@ function useConversationSettings() {
|
|
|
6300
6315
|
};
|
|
6301
6316
|
}
|
|
6302
6317
|
function useAskAgain(options) {
|
|
6303
|
-
const session =
|
|
6318
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6304
6319
|
const optionsRef = React.useRef(options);
|
|
6305
6320
|
React.useEffect(() => {
|
|
6306
6321
|
optionsRef.current = options;
|
|
@@ -6392,11 +6407,11 @@ function useMessageTimer({
|
|
|
6392
6407
|
isUser,
|
|
6393
6408
|
isGenerating
|
|
6394
6409
|
}) {
|
|
6395
|
-
const session =
|
|
6410
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6396
6411
|
const convId = conversationId || "new";
|
|
6397
6412
|
const timerKey = `${convId}:${messageId}`;
|
|
6398
|
-
const generationStartTime =
|
|
6399
|
-
const storedElapsed =
|
|
6413
|
+
const generationStartTime = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6414
|
+
const storedElapsed = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
6400
6415
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
6401
6416
|
const lastElapsedRef = React.useRef(0);
|
|
6402
6417
|
React.useEffect(() => {
|
|
@@ -6421,7 +6436,7 @@ function useMessageTimer({
|
|
|
6421
6436
|
}
|
|
6422
6437
|
function useAgentRunControl(assistantMessageExtId) {
|
|
6423
6438
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
6424
|
-
const session =
|
|
6439
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6425
6440
|
const send = React.useCallback(
|
|
6426
6441
|
(command) => {
|
|
6427
6442
|
if (!assistantMessageExtId) return;
|
|
@@ -6781,8 +6796,8 @@ var WORK_OFFLINE_VIEW = "app.workOffline";
|
|
|
6781
6796
|
var isWorkingOffline = (session) => session.getState().views.transient[WORK_OFFLINE_VIEW] === true;
|
|
6782
6797
|
var setWorkOfflineIn = (session, on) => session.setTransientView(WORK_OFFLINE_VIEW, on || void 0);
|
|
6783
6798
|
function useWorkOffline() {
|
|
6784
|
-
const session =
|
|
6785
|
-
const on =
|
|
6799
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6800
|
+
const on = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.views.transient[WORK_OFFLINE_VIEW] === true);
|
|
6786
6801
|
const set2 = React.useCallback((next) => setWorkOfflineIn(session, next), [session]);
|
|
6787
6802
|
return [on, set2];
|
|
6788
6803
|
}
|
|
@@ -6794,9 +6809,9 @@ function computeOnline(wsStatus, isAuthenticated, workOffline, wsEverConnected)
|
|
|
6794
6809
|
return navOnline && wsOnline;
|
|
6795
6810
|
}
|
|
6796
6811
|
function useOnlineSync() {
|
|
6797
|
-
const session =
|
|
6812
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6798
6813
|
const wsStatus = chunkGKGAPU6T_cjs.useArbiWsStore((s) => s.status);
|
|
6799
|
-
const signedIn2 =
|
|
6814
|
+
const signedIn2 = chunk7L7QRIQ2_cjs.useArbiSession().status === "signed-in";
|
|
6800
6815
|
const [workOffline] = useWorkOffline();
|
|
6801
6816
|
const wsEverConnected = React.useRef(false);
|
|
6802
6817
|
if (wsStatus === "connected") wsEverConnected.current = true;
|
|
@@ -6823,7 +6838,7 @@ function useOnlineSync() {
|
|
|
6823
6838
|
}, [session]);
|
|
6824
6839
|
}
|
|
6825
6840
|
function useReconnect() {
|
|
6826
|
-
const session =
|
|
6841
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
6827
6842
|
return React.useCallback(() => {
|
|
6828
6843
|
if (isWorkingOffline(session)) {
|
|
6829
6844
|
setWorkOfflineIn(session, false);
|
|
@@ -7001,53 +7016,53 @@ async function nativeThreadKeys(secret, message) {
|
|
|
7001
7016
|
|
|
7002
7017
|
// src/mail/offline/mailbox.ts
|
|
7003
7018
|
var keyOf = {
|
|
7004
|
-
accounts: () =>
|
|
7005
|
-
policy: () =>
|
|
7006
|
-
folders: (accountId) =>
|
|
7007
|
-
header: (accountId, folderId, messageId) =>
|
|
7008
|
-
body: (accountId, messageId) =>
|
|
7009
|
-
attachment: (accountId, messageId, attachmentId) =>
|
|
7019
|
+
accounts: () => chunkX5OZRLFZ_cjs.blind("accounts"),
|
|
7020
|
+
policy: () => chunkX5OZRLFZ_cjs.blind("policy"),
|
|
7021
|
+
folders: (accountId) => chunkX5OZRLFZ_cjs.blind("folders", accountId),
|
|
7022
|
+
header: (accountId, folderId, messageId) => chunkX5OZRLFZ_cjs.blind("header", accountId, folderId, messageId),
|
|
7023
|
+
body: (accountId, messageId) => chunkX5OZRLFZ_cjs.blind("body", accountId, messageId),
|
|
7024
|
+
attachment: (accountId, messageId, attachmentId) => chunkX5OZRLFZ_cjs.blind("attachment", accountId, messageId, attachmentId)
|
|
7010
7025
|
};
|
|
7011
7026
|
var bucketOf = {
|
|
7012
|
-
global: () =>
|
|
7013
|
-
folder: (accountId, folderId) =>
|
|
7014
|
-
account: (accountId) =>
|
|
7027
|
+
global: () => chunkX5OZRLFZ_cjs.blind("bucket", "global"),
|
|
7028
|
+
folder: (accountId, folderId) => chunkX5OZRLFZ_cjs.blind("bucket", "folder", accountId, folderId),
|
|
7029
|
+
account: (accountId) => chunkX5OZRLFZ_cjs.blind("bucket", "account", accountId)
|
|
7015
7030
|
};
|
|
7016
7031
|
async function put(kind, key, bucket3, data, sortAt = Date.now()) {
|
|
7017
7032
|
const now = Date.now();
|
|
7018
|
-
await
|
|
7033
|
+
await chunkX5OZRLFZ_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
|
|
7019
7034
|
}
|
|
7020
7035
|
async function readJson(record) {
|
|
7021
7036
|
if (!record) return void 0;
|
|
7022
7037
|
try {
|
|
7023
|
-
return await
|
|
7038
|
+
return await chunkX5OZRLFZ_cjs.openJson(record.data);
|
|
7024
7039
|
} catch {
|
|
7025
7040
|
return void 0;
|
|
7026
7041
|
}
|
|
7027
7042
|
}
|
|
7028
7043
|
var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
7029
7044
|
async function saveAccounts(accounts) {
|
|
7030
|
-
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await
|
|
7045
|
+
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkX5OZRLFZ_cjs.sealJson(accounts));
|
|
7031
7046
|
}
|
|
7032
7047
|
async function loadAccounts() {
|
|
7033
|
-
return readJson(await
|
|
7048
|
+
return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.accounts()));
|
|
7034
7049
|
}
|
|
7035
7050
|
async function savePolicy(policy) {
|
|
7036
|
-
await put("policy", await keyOf.policy(), await bucketOf.global(), await
|
|
7051
|
+
await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkX5OZRLFZ_cjs.sealJson(policy));
|
|
7037
7052
|
}
|
|
7038
7053
|
async function loadPolicy() {
|
|
7039
|
-
return readJson(await
|
|
7054
|
+
return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.policy()));
|
|
7040
7055
|
}
|
|
7041
7056
|
async function saveFolders(accountId, folders) {
|
|
7042
7057
|
await put(
|
|
7043
7058
|
"folders",
|
|
7044
7059
|
await keyOf.folders(accountId),
|
|
7045
7060
|
await bucketOf.account(accountId),
|
|
7046
|
-
await
|
|
7061
|
+
await chunkX5OZRLFZ_cjs.sealJson(folders)
|
|
7047
7062
|
);
|
|
7048
7063
|
}
|
|
7049
7064
|
async function loadFolders(accountId) {
|
|
7050
|
-
return readJson(await
|
|
7065
|
+
return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.folders(accountId)));
|
|
7051
7066
|
}
|
|
7052
7067
|
function toHeader(message) {
|
|
7053
7068
|
return {
|
|
@@ -7063,12 +7078,12 @@ async function saveHeader(accountId, folderId, message) {
|
|
|
7063
7078
|
"header",
|
|
7064
7079
|
await keyOf.header(accountId, folderId, message.id),
|
|
7065
7080
|
await bucketOf.folder(accountId, folderId),
|
|
7066
|
-
await
|
|
7081
|
+
await chunkX5OZRLFZ_cjs.sealJson(toHeader(message)),
|
|
7067
7082
|
receivedAt(message)
|
|
7068
7083
|
);
|
|
7069
7084
|
}
|
|
7070
7085
|
async function loadHeaders(accountId, folderId) {
|
|
7071
|
-
const records = await
|
|
7086
|
+
const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
|
|
7072
7087
|
const out = [];
|
|
7073
7088
|
for (const record of records) {
|
|
7074
7089
|
if (record.kind !== "header") continue;
|
|
@@ -7078,7 +7093,7 @@ async function loadHeaders(accountId, folderId) {
|
|
|
7078
7093
|
return out.sort((a, b) => b.sortAt - a.sortAt);
|
|
7079
7094
|
}
|
|
7080
7095
|
async function hasFolder(accountId) {
|
|
7081
|
-
return
|
|
7096
|
+
return chunkX5OZRLFZ_cjs.hasRecord(await keyOf.folders(accountId));
|
|
7082
7097
|
}
|
|
7083
7098
|
async function saveBody(accountId, message) {
|
|
7084
7099
|
const stripped = {
|
|
@@ -7089,42 +7104,42 @@ async function saveBody(accountId, message) {
|
|
|
7089
7104
|
"body",
|
|
7090
7105
|
await keyOf.body(accountId, message.id),
|
|
7091
7106
|
await bucketOf.account(accountId),
|
|
7092
|
-
await
|
|
7107
|
+
await chunkX5OZRLFZ_cjs.sealJson(stripped),
|
|
7093
7108
|
receivedAt(message)
|
|
7094
7109
|
);
|
|
7095
7110
|
}
|
|
7096
7111
|
async function hasBody(accountId, messageId) {
|
|
7097
|
-
return
|
|
7112
|
+
return chunkX5OZRLFZ_cjs.hasRecord(await keyOf.body(accountId, messageId));
|
|
7098
7113
|
}
|
|
7099
7114
|
async function loadBody(accountId, messageId) {
|
|
7100
|
-
return readJson(await
|
|
7115
|
+
return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.body(accountId, messageId)));
|
|
7101
7116
|
}
|
|
7102
7117
|
async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
|
|
7103
7118
|
await put(
|
|
7104
7119
|
"attachment",
|
|
7105
7120
|
await keyOf.attachment(accountId, messageId, attachmentId),
|
|
7106
7121
|
await bucketOf.account(accountId),
|
|
7107
|
-
await
|
|
7122
|
+
await chunkX5OZRLFZ_cjs.sealBytes(bytes),
|
|
7108
7123
|
sortAt || void 0
|
|
7109
7124
|
);
|
|
7110
7125
|
}
|
|
7111
7126
|
async function hasAttachment(accountId, messageId, attachmentId) {
|
|
7112
|
-
return
|
|
7127
|
+
return chunkX5OZRLFZ_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
|
|
7113
7128
|
}
|
|
7114
7129
|
async function loadAttachment(accountId, messageId, attachmentId) {
|
|
7115
7130
|
const key = await keyOf.attachment(accountId, messageId, attachmentId);
|
|
7116
|
-
const record = await
|
|
7131
|
+
const record = await chunkX5OZRLFZ_cjs.getRecord(key);
|
|
7117
7132
|
if (!record) return void 0;
|
|
7118
7133
|
try {
|
|
7119
|
-
const bytes = await
|
|
7120
|
-
void
|
|
7134
|
+
const bytes = await chunkX5OZRLFZ_cjs.openBytes(record.data);
|
|
7135
|
+
void chunkX5OZRLFZ_cjs.touchRecord(key);
|
|
7121
7136
|
return bytes;
|
|
7122
7137
|
} catch {
|
|
7123
7138
|
return void 0;
|
|
7124
7139
|
}
|
|
7125
7140
|
}
|
|
7126
7141
|
async function removeKeys(keys) {
|
|
7127
|
-
await
|
|
7142
|
+
await chunkX5OZRLFZ_cjs.deleteRecords(keys);
|
|
7128
7143
|
}
|
|
7129
7144
|
function bodyText(body) {
|
|
7130
7145
|
const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
|
|
@@ -7169,27 +7184,27 @@ function isBrowserOffline() {
|
|
|
7169
7184
|
// src/mail/offline/changes.ts
|
|
7170
7185
|
var isFiling = (change) => change.kind === "file";
|
|
7171
7186
|
var MAX_ATTEMPTS = 5;
|
|
7172
|
-
var bucket = () =>
|
|
7173
|
-
var keyFor = (id) =>
|
|
7187
|
+
var bucket = () => chunkX5OZRLFZ_cjs.blind("bucket", "changes");
|
|
7188
|
+
var keyFor = (id) => chunkX5OZRLFZ_cjs.blind("change", id);
|
|
7174
7189
|
async function write(item) {
|
|
7175
|
-
await
|
|
7190
|
+
await chunkX5OZRLFZ_cjs.putRecord({
|
|
7176
7191
|
key: await keyFor(item.id),
|
|
7177
7192
|
kind: "change",
|
|
7178
7193
|
bucket: await bucket(),
|
|
7179
7194
|
sortAt: item.seq,
|
|
7180
7195
|
size: 0,
|
|
7181
7196
|
lastAccess: Date.now(),
|
|
7182
|
-
data: await
|
|
7197
|
+
data: await chunkX5OZRLFZ_cjs.sealJson(item)
|
|
7183
7198
|
});
|
|
7184
7199
|
}
|
|
7185
7200
|
async function drop(item) {
|
|
7186
|
-
await
|
|
7201
|
+
await chunkX5OZRLFZ_cjs.deleteRecords([await keyFor(item.id)]);
|
|
7187
7202
|
}
|
|
7188
7203
|
async function readHeader(accountId, folderId, messageId) {
|
|
7189
|
-
const record = await
|
|
7204
|
+
const record = await chunkX5OZRLFZ_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
|
|
7190
7205
|
if (!record) return void 0;
|
|
7191
7206
|
try {
|
|
7192
|
-
return await
|
|
7207
|
+
return await chunkX5OZRLFZ_cjs.openJson(record.data);
|
|
7193
7208
|
} catch {
|
|
7194
7209
|
return void 0;
|
|
7195
7210
|
}
|
|
@@ -7271,9 +7286,9 @@ function combine(pending, next) {
|
|
|
7271
7286
|
}
|
|
7272
7287
|
async function listMailChanges() {
|
|
7273
7288
|
const items = [];
|
|
7274
|
-
for (const record of await
|
|
7289
|
+
for (const record of await chunkX5OZRLFZ_cjs.recordsInBucket(await bucket())) {
|
|
7275
7290
|
try {
|
|
7276
|
-
items.push(await
|
|
7291
|
+
items.push(await chunkX5OZRLFZ_cjs.openJson(record.data));
|
|
7277
7292
|
} catch {
|
|
7278
7293
|
}
|
|
7279
7294
|
}
|
|
@@ -7328,14 +7343,14 @@ function serially(fn) {
|
|
|
7328
7343
|
}
|
|
7329
7344
|
async function queueMailChange(input) {
|
|
7330
7345
|
await serially(() => queue(input));
|
|
7331
|
-
|
|
7332
|
-
|
|
7346
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("changes");
|
|
7347
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("mailbox");
|
|
7333
7348
|
}
|
|
7334
7349
|
async function readChange(id) {
|
|
7335
|
-
const record = await
|
|
7350
|
+
const record = await chunkX5OZRLFZ_cjs.getRecord(await keyFor(id));
|
|
7336
7351
|
if (!record) return void 0;
|
|
7337
7352
|
try {
|
|
7338
|
-
return await
|
|
7353
|
+
return await chunkX5OZRLFZ_cjs.openJson(record.data);
|
|
7339
7354
|
} catch {
|
|
7340
7355
|
return void 0;
|
|
7341
7356
|
}
|
|
@@ -7408,7 +7423,7 @@ async function applyMailChangesOnce(sender, isOnline) {
|
|
|
7408
7423
|
result.interrupted = true;
|
|
7409
7424
|
}
|
|
7410
7425
|
}
|
|
7411
|
-
if (result.applied + result.gone + result.refused.length > 0)
|
|
7426
|
+
if (result.applied + result.gone + result.refused.length > 0) chunkX5OZRLFZ_cjs.notifyOfflineMailChange("changes");
|
|
7412
7427
|
return result;
|
|
7413
7428
|
}
|
|
7414
7429
|
var NO_PRIMER = () => void 0;
|
|
@@ -7524,26 +7539,26 @@ function useConnectedMailFiling(account, messages) {
|
|
|
7524
7539
|
}
|
|
7525
7540
|
|
|
7526
7541
|
// src/mail/offline/drafts.ts
|
|
7527
|
-
var keyFor2 = (id) =>
|
|
7542
|
+
var keyFor2 = (id) => chunkX5OZRLFZ_cjs.blind("draft", id);
|
|
7528
7543
|
async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
|
|
7529
7544
|
const draft = { id, accountId, compose, updatedAt: Date.now() };
|
|
7530
|
-
await
|
|
7545
|
+
await chunkX5OZRLFZ_cjs.putRecord({
|
|
7531
7546
|
key: await keyFor2(id),
|
|
7532
7547
|
kind: "draft",
|
|
7533
|
-
bucket: await
|
|
7548
|
+
bucket: await chunkX5OZRLFZ_cjs.blind("bucket", "drafts", accountId),
|
|
7534
7549
|
sortAt: draft.updatedAt,
|
|
7535
7550
|
size: 0,
|
|
7536
7551
|
lastAccess: draft.updatedAt,
|
|
7537
|
-
data: await
|
|
7552
|
+
data: await chunkX5OZRLFZ_cjs.sealJson(draft)
|
|
7538
7553
|
});
|
|
7539
|
-
|
|
7554
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("drafts");
|
|
7540
7555
|
return draft;
|
|
7541
7556
|
}
|
|
7542
7557
|
async function listLocalDrafts(accountId) {
|
|
7543
7558
|
const drafts = [];
|
|
7544
|
-
for (const record of await
|
|
7559
|
+
for (const record of await chunkX5OZRLFZ_cjs.recordsOfKind("draft")) {
|
|
7545
7560
|
try {
|
|
7546
|
-
const draft = await
|
|
7561
|
+
const draft = await chunkX5OZRLFZ_cjs.openJson(record.data);
|
|
7547
7562
|
if (!accountId || draft.accountId === accountId) drafts.push(draft);
|
|
7548
7563
|
} catch {
|
|
7549
7564
|
}
|
|
@@ -7551,8 +7566,8 @@ async function listLocalDrafts(accountId) {
|
|
|
7551
7566
|
return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
|
|
7552
7567
|
}
|
|
7553
7568
|
async function deleteLocalDraft(id) {
|
|
7554
|
-
await
|
|
7555
|
-
|
|
7569
|
+
await chunkX5OZRLFZ_cjs.deleteRecords([await keyFor2(id)]);
|
|
7570
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("drafts");
|
|
7556
7571
|
}
|
|
7557
7572
|
async function syncLocalDrafts(save) {
|
|
7558
7573
|
let uploaded = 0;
|
|
@@ -7565,27 +7580,27 @@ async function syncLocalDrafts(save) {
|
|
|
7565
7580
|
} catch (error) {
|
|
7566
7581
|
const status = error.status;
|
|
7567
7582
|
if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
|
|
7568
|
-
await
|
|
7583
|
+
await chunkX5OZRLFZ_cjs.putRecord({
|
|
7569
7584
|
key: await keyFor2(draft.id),
|
|
7570
7585
|
kind: "draft",
|
|
7571
|
-
bucket: await
|
|
7586
|
+
bucket: await chunkX5OZRLFZ_cjs.blind("bucket", "drafts", draft.accountId),
|
|
7572
7587
|
sortAt: draft.updatedAt,
|
|
7573
7588
|
size: 0,
|
|
7574
7589
|
lastAccess: Date.now(),
|
|
7575
|
-
data: await
|
|
7590
|
+
data: await chunkX5OZRLFZ_cjs.sealJson({
|
|
7576
7591
|
...draft,
|
|
7577
7592
|
error: error instanceof Error ? error.message : "The server refused this draft"
|
|
7578
7593
|
})
|
|
7579
7594
|
});
|
|
7580
|
-
|
|
7595
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("drafts");
|
|
7581
7596
|
}
|
|
7582
7597
|
}
|
|
7583
7598
|
return uploaded;
|
|
7584
7599
|
}
|
|
7585
7600
|
|
|
7586
7601
|
// src/mail/offline/outbox.ts
|
|
7587
|
-
var bucket2 = () =>
|
|
7588
|
-
var keyFor3 = (id) =>
|
|
7602
|
+
var bucket2 = () => chunkX5OZRLFZ_cjs.blind("bucket", "outbox");
|
|
7603
|
+
var keyFor3 = (id) => chunkX5OZRLFZ_cjs.blind("outbox", id);
|
|
7589
7604
|
function outboxProblem(compose) {
|
|
7590
7605
|
const missing = compose.attachments.find((a) => a.content_base64 == null);
|
|
7591
7606
|
if (missing)
|
|
@@ -7594,22 +7609,22 @@ function outboxProblem(compose) {
|
|
|
7594
7609
|
}
|
|
7595
7610
|
var seqCounter = 0;
|
|
7596
7611
|
async function write2(item) {
|
|
7597
|
-
await
|
|
7612
|
+
await chunkX5OZRLFZ_cjs.putRecord({
|
|
7598
7613
|
key: await keyFor3(item.id),
|
|
7599
7614
|
kind: "outbox",
|
|
7600
7615
|
bucket: await bucket2(),
|
|
7601
7616
|
sortAt: item.seq,
|
|
7602
7617
|
size: 0,
|
|
7603
7618
|
lastAccess: Date.now(),
|
|
7604
|
-
data: await
|
|
7619
|
+
data: await chunkX5OZRLFZ_cjs.sealJson(item)
|
|
7605
7620
|
});
|
|
7606
7621
|
}
|
|
7607
7622
|
async function listOutbox() {
|
|
7608
|
-
const records = await
|
|
7623
|
+
const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucket2());
|
|
7609
7624
|
const items = [];
|
|
7610
7625
|
for (const record of records) {
|
|
7611
7626
|
try {
|
|
7612
|
-
items.push(await
|
|
7627
|
+
items.push(await chunkX5OZRLFZ_cjs.openJson(record.data));
|
|
7613
7628
|
} catch {
|
|
7614
7629
|
}
|
|
7615
7630
|
}
|
|
@@ -7633,18 +7648,18 @@ async function enqueueOutbox(input) {
|
|
|
7633
7648
|
seq: seqCounter
|
|
7634
7649
|
};
|
|
7635
7650
|
await write2(item);
|
|
7636
|
-
|
|
7651
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
|
|
7637
7652
|
return item;
|
|
7638
7653
|
}
|
|
7639
7654
|
async function update(item, patch) {
|
|
7640
7655
|
const next = { ...item, ...patch };
|
|
7641
7656
|
await write2(next);
|
|
7642
|
-
|
|
7657
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
|
|
7643
7658
|
return next;
|
|
7644
7659
|
}
|
|
7645
7660
|
async function deleteOutboxItem(id) {
|
|
7646
|
-
await
|
|
7647
|
-
|
|
7661
|
+
await chunkX5OZRLFZ_cjs.deleteRecords([await keyFor3(id)]);
|
|
7662
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
|
|
7648
7663
|
}
|
|
7649
7664
|
async function retryOutboxItem(id) {
|
|
7650
7665
|
const item = (await listOutbox()).find((i) => i.id === id);
|
|
@@ -7735,14 +7750,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
|
|
|
7735
7750
|
const cutoff = Date.now() - olderThanMs;
|
|
7736
7751
|
const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
|
|
7737
7752
|
if (done.length === 0) return;
|
|
7738
|
-
await
|
|
7739
|
-
|
|
7753
|
+
await chunkX5OZRLFZ_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
|
|
7754
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
|
|
7740
7755
|
}
|
|
7741
7756
|
var STATUS_KEY = "status";
|
|
7742
7757
|
var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
|
|
7743
7758
|
var MAX_PAGES = 200;
|
|
7744
7759
|
async function getOfflineMailStatus() {
|
|
7745
|
-
return await
|
|
7760
|
+
return await chunkX5OZRLFZ_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
|
|
7746
7761
|
}
|
|
7747
7762
|
var MB = 1024 * 1024;
|
|
7748
7763
|
var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
@@ -7833,23 +7848,23 @@ async function collectGarbage(accounts) {
|
|
|
7833
7848
|
expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
|
|
7834
7849
|
}
|
|
7835
7850
|
}
|
|
7836
|
-
const orphans = (await
|
|
7851
|
+
const orphans = (await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
|
|
7837
7852
|
await removeKeys(orphans);
|
|
7838
7853
|
}
|
|
7839
7854
|
}
|
|
7840
7855
|
async function forgetAccount(accountId) {
|
|
7841
7856
|
for (const folder of await loadFolders(accountId) ?? []) {
|
|
7842
|
-
const records2 = await
|
|
7857
|
+
const records2 = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
|
|
7843
7858
|
await removeKeys(records2.map((r) => r.key));
|
|
7844
7859
|
}
|
|
7845
|
-
const records = await
|
|
7860
|
+
const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.account(accountId));
|
|
7846
7861
|
await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
|
|
7847
7862
|
}
|
|
7848
7863
|
async function enforceQuota(quotaBytes) {
|
|
7849
|
-
let used = (await
|
|
7864
|
+
let used = (await chunkX5OZRLFZ_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
|
|
7850
7865
|
if (used <= quotaBytes) return used;
|
|
7851
7866
|
for (const kind of ["attachment", "body"]) {
|
|
7852
|
-
const records = (await
|
|
7867
|
+
const records = (await chunkX5OZRLFZ_cjs.recordsOfKind(kind)).sort(
|
|
7853
7868
|
(a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
|
|
7854
7869
|
);
|
|
7855
7870
|
const evict = [];
|
|
@@ -7865,34 +7880,34 @@ async function enforceQuota(quotaBytes) {
|
|
|
7865
7880
|
}
|
|
7866
7881
|
var CONTENT_KINDS = ["header", "body", "attachment"];
|
|
7867
7882
|
async function trimOfflineMailbox(settings, now = Date.now()) {
|
|
7868
|
-
const windowStart =
|
|
7883
|
+
const windowStart = chunkX5OZRLFZ_cjs.offlineWindowStart(settings, now);
|
|
7869
7884
|
const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
|
|
7870
7885
|
for (const kind of kinds) {
|
|
7871
|
-
const records = await
|
|
7886
|
+
const records = await chunkX5OZRLFZ_cjs.recordsOfKind(kind);
|
|
7872
7887
|
const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
|
|
7873
7888
|
await removeKeys(old.map((r) => r.key));
|
|
7874
7889
|
}
|
|
7875
7890
|
const previous = await getOfflineMailStatus();
|
|
7876
7891
|
const status = {
|
|
7877
7892
|
...previous,
|
|
7878
|
-
messages: (await
|
|
7879
|
-
bytes: (await
|
|
7893
|
+
messages: (await chunkX5OZRLFZ_cjs.recordsOfKind("header")).length,
|
|
7894
|
+
bytes: (await chunkX5OZRLFZ_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7880
7895
|
// A shorter window no longer covers what the last full pass fetched: growing it again (even
|
|
7881
7896
|
// before the next hourly full pass) makes the next pass a full one.
|
|
7882
|
-
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays,
|
|
7897
|
+
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkX5OZRLFZ_cjs.SCOPE_DAYS[settings.scope]) : void 0,
|
|
7883
7898
|
// Off: nothing is saved, so turning it back on starts with a full pass.
|
|
7884
7899
|
...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
|
|
7885
7900
|
};
|
|
7886
|
-
await
|
|
7887
|
-
|
|
7901
|
+
await chunkX5OZRLFZ_cjs.setMeta(STATUS_KEY, status);
|
|
7902
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
|
|
7888
7903
|
return status;
|
|
7889
7904
|
}
|
|
7890
7905
|
async function syncMailbox(transport, settings, options = {}) {
|
|
7891
7906
|
const now = options.now ?? Date.now();
|
|
7892
7907
|
const previous = await getOfflineMailStatus();
|
|
7893
|
-
const days =
|
|
7908
|
+
const days = chunkX5OZRLFZ_cjs.SCOPE_DAYS[settings.scope];
|
|
7894
7909
|
const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
|
|
7895
|
-
const windowStart =
|
|
7910
|
+
const windowStart = chunkX5OZRLFZ_cjs.offlineWindowStart(settings, now);
|
|
7896
7911
|
const quota = settings.quotaMb * MB;
|
|
7897
7912
|
const skipped = [];
|
|
7898
7913
|
let error;
|
|
@@ -7904,7 +7919,7 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7904
7919
|
for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
|
|
7905
7920
|
await forgetAccount(gone.id);
|
|
7906
7921
|
const budget = new Budget(
|
|
7907
|
-
(await
|
|
7922
|
+
(await chunkX5OZRLFZ_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7908
7923
|
quota
|
|
7909
7924
|
);
|
|
7910
7925
|
for (const account of accounts) {
|
|
@@ -7918,12 +7933,12 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7918
7933
|
const oldFolders = await loadFolders(account.id) ?? [];
|
|
7919
7934
|
await saveFolders(account.id, folders);
|
|
7920
7935
|
for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
|
|
7921
|
-
const records = await
|
|
7936
|
+
const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
|
|
7922
7937
|
await removeKeys(records.map((r) => r.key));
|
|
7923
7938
|
}
|
|
7924
7939
|
for (const folder of folders.filter((f) => !isVirtualFolder(f)))
|
|
7925
7940
|
await syncFolder(transport, account, folder, settings, windowStart, full, budget);
|
|
7926
|
-
|
|
7941
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("mailbox");
|
|
7927
7942
|
} catch (accountError) {
|
|
7928
7943
|
if (accountError.status === void 0) throw accountError;
|
|
7929
7944
|
client.logger.warn("[offline-mail] account sync failed", accountError);
|
|
@@ -7941,19 +7956,19 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7941
7956
|
const trimmed = await trimOfflineMailbox(current, now);
|
|
7942
7957
|
if (!current.enabled) return trimmed;
|
|
7943
7958
|
const bytes = await enforceQuota(current.quotaMb * MB);
|
|
7944
|
-
const messages = (await
|
|
7959
|
+
const messages = (await chunkX5OZRLFZ_cjs.recordsOfKind("header")).length;
|
|
7945
7960
|
const fullDone = !error && full;
|
|
7946
7961
|
const status = {
|
|
7947
7962
|
lastSyncedAt: error ? previous.lastSyncedAt : now,
|
|
7948
7963
|
lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
|
|
7949
|
-
windowDays: fullDone ? Math.min(days,
|
|
7964
|
+
windowDays: fullDone ? Math.min(days, chunkX5OZRLFZ_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
|
|
7950
7965
|
messages,
|
|
7951
7966
|
bytes,
|
|
7952
7967
|
error,
|
|
7953
7968
|
skipped
|
|
7954
7969
|
};
|
|
7955
|
-
await
|
|
7956
|
-
|
|
7970
|
+
await chunkX5OZRLFZ_cjs.setMeta(STATUS_KEY, status);
|
|
7971
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
|
|
7957
7972
|
return status;
|
|
7958
7973
|
}
|
|
7959
7974
|
|
|
@@ -8152,20 +8167,20 @@ function isMailSyncRunning() {
|
|
|
8152
8167
|
return syncing;
|
|
8153
8168
|
}
|
|
8154
8169
|
async function syncOfflineMailbox({ arbi }, options = {}) {
|
|
8155
|
-
const latest = () =>
|
|
8170
|
+
const latest = () => chunkX5OZRLFZ_cjs.getOfflineMailSettings(sessionUser(arbi));
|
|
8156
8171
|
const settings = latest();
|
|
8157
8172
|
if (!settings.enabled || !canReachMail(arbi)) return;
|
|
8158
8173
|
void requestPersistentStorage();
|
|
8159
8174
|
await exclusive("arbi-mail-sync", async () => {
|
|
8160
8175
|
syncing = true;
|
|
8161
|
-
|
|
8176
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
|
|
8162
8177
|
try {
|
|
8163
8178
|
await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
|
|
8164
8179
|
} catch (error) {
|
|
8165
8180
|
client.logger.error("[offline-mail] sync failed", error);
|
|
8166
8181
|
} finally {
|
|
8167
8182
|
syncing = false;
|
|
8168
|
-
|
|
8183
|
+
chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
|
|
8169
8184
|
}
|
|
8170
8185
|
});
|
|
8171
8186
|
}
|
|
@@ -8196,9 +8211,9 @@ async function savedFolder(accountId, folderId) {
|
|
|
8196
8211
|
}
|
|
8197
8212
|
function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
|
|
8198
8213
|
const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
|
|
8199
|
-
const settings = () =>
|
|
8214
|
+
const settings = () => chunkX5OZRLFZ_cjs.getOfflineMailSettings(sessionUser(getArbi()));
|
|
8200
8215
|
const storeEnabled = () => settings().enabled;
|
|
8201
|
-
const keeps = (message) =>
|
|
8216
|
+
const keeps = (message) => chunkX5OZRLFZ_cjs.inOfflineWindow(settings(), message.received_at);
|
|
8202
8217
|
const remember = (write3) => {
|
|
8203
8218
|
if (!keepsMail()) return;
|
|
8204
8219
|
write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
|
|
@@ -8801,13 +8816,13 @@ function ArbiWebSocketProvider({
|
|
|
8801
8816
|
onAuthenticatedRef.current = onAuthenticated;
|
|
8802
8817
|
const handlersRef = React.useRef(handlers);
|
|
8803
8818
|
handlersRef.current = handlers;
|
|
8804
|
-
const session =
|
|
8819
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
8805
8820
|
const sessionRef = React.useRef(session);
|
|
8806
8821
|
sessionRef.current = session;
|
|
8807
8822
|
const host = chunkO32T7XRD_cjs.useArbiHost();
|
|
8808
8823
|
const hostRef = React.useRef(host);
|
|
8809
8824
|
hostRef.current = host;
|
|
8810
|
-
const acceptRings =
|
|
8825
|
+
const acceptRings = chunkX5OZRLFZ_cjs.useFeature("calls");
|
|
8811
8826
|
const acceptRingsRef = React.useRef(acceptRings);
|
|
8812
8827
|
acceptRingsRef.current = acceptRings;
|
|
8813
8828
|
useOnlineSync();
|
|
@@ -8860,9 +8875,9 @@ function ArbiWebSocketProvider({
|
|
|
8860
8875
|
void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.allTags() });
|
|
8861
8876
|
}
|
|
8862
8877
|
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
8863
|
-
void
|
|
8878
|
+
void chunkX5OZRLFZ_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
8864
8879
|
else if (type.startsWith("call."))
|
|
8865
|
-
|
|
8880
|
+
chunkX5OZRLFZ_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
8866
8881
|
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
8867
8882
|
else void applyLiveUpdate(queryClient, msg);
|
|
8868
8883
|
try {
|
|
@@ -9153,7 +9168,7 @@ function createWorkspaceSwitch({
|
|
|
9153
9168
|
if (isSame && workspaceStatus === "open") return true;
|
|
9154
9169
|
const listed = listedWorkspace(queryClient, target.id);
|
|
9155
9170
|
const name = target.name || listed?.name || "";
|
|
9156
|
-
const noun =
|
|
9171
|
+
const noun = chunkDLEHM4IA_cjs.getEntityLabel("WORKSPACE");
|
|
9157
9172
|
if (listed?.archive) {
|
|
9158
9173
|
chunkRLSBRZ6Z_cjs.notify.info(archivedWorkspaceMessage(name));
|
|
9159
9174
|
return false;
|
|
@@ -9238,7 +9253,7 @@ function useSwitchWorkspace() {
|
|
|
9238
9253
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
9239
9254
|
const arbiRef = React.useRef(arbi);
|
|
9240
9255
|
arbiRef.current = arbi;
|
|
9241
|
-
const session =
|
|
9256
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
9242
9257
|
const queryClient = reactQuery.useQueryClient();
|
|
9243
9258
|
React.useEffect(
|
|
9244
9259
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -9255,11 +9270,11 @@ function useSwitchWorkspace() {
|
|
|
9255
9270
|
function useOpenSelectedWorkspace() {
|
|
9256
9271
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
9257
9272
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
9258
|
-
const workspaceId =
|
|
9259
|
-
const status =
|
|
9260
|
-
const session =
|
|
9273
|
+
const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
9274
|
+
const status = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
9275
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
9261
9276
|
const queryClient = reactQuery.useQueryClient();
|
|
9262
|
-
const { data: workspaces, isLoading: listing, isFetching } =
|
|
9277
|
+
const { data: workspaces, isLoading: listing, isFetching } = chunk7L7QRIQ2_cjs.useWorkspaces();
|
|
9263
9278
|
const listed = workspaces;
|
|
9264
9279
|
const archived = listed?.find((w) => w.external_id === workspaceId && w.archive);
|
|
9265
9280
|
const reads = queryClient.getQueryState(chunkO32T7XRD_cjs.arbiQueryKeys.workspaces())?.dataUpdateCount ?? 0;
|
|
@@ -9726,9 +9741,9 @@ var EMPTY2 = { query: "", lastQuery: "", hits: null, workspaceId: null };
|
|
|
9726
9741
|
function useFactsSearch(options = {}) {
|
|
9727
9742
|
const { mode = "hybrid", limit = 30 } = options;
|
|
9728
9743
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
9729
|
-
const session =
|
|
9744
|
+
const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
|
|
9730
9745
|
const workspaceId = options.workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : null);
|
|
9731
|
-
const [kept, setKept] =
|
|
9746
|
+
const [kept, setKept] = chunk7L7QRIQ2_cjs.useTransientView(FACTS_SEARCH_VIEW, EMPTY2);
|
|
9732
9747
|
const searchFacts = useSearchFacts(workspaceId);
|
|
9733
9748
|
const run2 = React.useRef(0);
|
|
9734
9749
|
const foreign = !!kept.workspaceId && !!workspaceId && kept.workspaceId !== workspaceId;
|
|
@@ -10320,7 +10335,7 @@ function namesOfWorkspaces(workspaces) {
|
|
|
10320
10335
|
return names;
|
|
10321
10336
|
}
|
|
10322
10337
|
function useNames(enabled = true) {
|
|
10323
|
-
const { data } =
|
|
10338
|
+
const { data } = chunk7L7QRIQ2_cjs.useWorkspaces({ enabled });
|
|
10324
10339
|
return React.useMemo(() => {
|
|
10325
10340
|
const names = namesOfWorkspaces(data);
|
|
10326
10341
|
return (id) => id ? names.get(id) ?? id : null;
|
|
@@ -10381,8 +10396,8 @@ function createWorkflowsSource(labels) {
|
|
|
10381
10396
|
description: l.description,
|
|
10382
10397
|
useFields: staticFields(fields),
|
|
10383
10398
|
useRows(_params, enabled) {
|
|
10384
|
-
const on =
|
|
10385
|
-
const workspaceId =
|
|
10399
|
+
const on = chunkX5OZRLFZ_cjs.useFeature("workflows");
|
|
10400
|
+
const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
10386
10401
|
const query = useWorkflows({ enabled: enabled && on });
|
|
10387
10402
|
const nameOf = useNames(enabled);
|
|
10388
10403
|
const rows = React.useMemo(
|
|
@@ -10450,9 +10465,9 @@ function createActivitySource(labels) {
|
|
|
10450
10465
|
useFields: staticFields(fields),
|
|
10451
10466
|
useRows(_params, enabled) {
|
|
10452
10467
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
10453
|
-
const workspaceId =
|
|
10468
|
+
const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId) ?? void 0;
|
|
10454
10469
|
const { settled, openSelectedWorkspace } = useSwitchWorkspace();
|
|
10455
|
-
const feed =
|
|
10470
|
+
const feed = chunk7L7QRIQ2_cjs.useWorkspaceActivity(workspaceId, {
|
|
10456
10471
|
enabled: enabled && arbi.isLoggedIn,
|
|
10457
10472
|
limit: ENTRIES,
|
|
10458
10473
|
beforeFetch: async () => {
|
|
@@ -10520,7 +10535,7 @@ function createConversationsSource(labels) {
|
|
|
10520
10535
|
useRows(params, enabled) {
|
|
10521
10536
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
10522
10537
|
const workspaceId = typeof params.workspaceId === "string" && params.workspaceId ? params.workspaceId : arbi.hasWorkspace ? arbi.getWorkspaceId() : void 0;
|
|
10523
|
-
const query =
|
|
10538
|
+
const query = chunk7L7QRIQ2_cjs.useConversations(workspaceId, { enabled });
|
|
10524
10539
|
const nameOf = useNames(enabled);
|
|
10525
10540
|
const rows = React.useMemo(() => {
|
|
10526
10541
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -10628,7 +10643,7 @@ function createDatabaseSource(labels) {
|
|
|
10628
10643
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
10629
10644
|
const databaseId = text(params.databaseId);
|
|
10630
10645
|
const viewName = text(params.view);
|
|
10631
|
-
const settings =
|
|
10646
|
+
const settings = chunkX5OZRLFZ_cjs.useUserSettings({ enabled: Boolean(viewName) });
|
|
10632
10647
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10633
10648
|
return React.useMemo(
|
|
10634
10649
|
() => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
|
|
@@ -10710,7 +10725,7 @@ function createDatabaseSource(labels) {
|
|
|
10710
10725
|
useOptions(params) {
|
|
10711
10726
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
10712
10727
|
const databaseId = text(params.databaseId);
|
|
10713
|
-
const settings =
|
|
10728
|
+
const settings = chunkX5OZRLFZ_cjs.useUserSettings({ enabled: Boolean(databaseId) });
|
|
10714
10729
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10715
10730
|
const options = React.useMemo(
|
|
10716
10731
|
() => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
|
|
@@ -10795,7 +10810,7 @@ function createDocumentsSource(labels) {
|
|
|
10795
10810
|
updated: d.updated_at ?? null,
|
|
10796
10811
|
documentDate: d.doc_metadata?.doc_date ?? null,
|
|
10797
10812
|
status: d.status ? l.statuses[d.status] ?? d.status : null,
|
|
10798
|
-
type:
|
|
10813
|
+
type: chunkDLEHM4IA_cjs.friendlyFileType(d.file_type, d.file_name, d.folder) || null,
|
|
10799
10814
|
folder: d.folder || null,
|
|
10800
10815
|
nature: d.doc_metadata?.doc_nature ?? null,
|
|
10801
10816
|
author: d.doc_metadata?.doc_author ?? null,
|
|
@@ -10919,7 +10934,7 @@ function createProjectsSource(options = {}) {
|
|
|
10919
10934
|
label: l.source,
|
|
10920
10935
|
description: l.description,
|
|
10921
10936
|
useFields() {
|
|
10922
|
-
const query =
|
|
10937
|
+
const query = chunk7L7QRIQ2_cjs.useProjects();
|
|
10923
10938
|
const fields = React.useMemo(
|
|
10924
10939
|
() => fieldsOf(query.data),
|
|
10925
10940
|
[query.data]
|
|
@@ -10927,7 +10942,7 @@ function createProjectsSource(options = {}) {
|
|
|
10927
10942
|
return { fields, isLoading: query.isLoading, error: query.error };
|
|
10928
10943
|
},
|
|
10929
10944
|
useRows(_params, enabled) {
|
|
10930
|
-
const query =
|
|
10945
|
+
const query = chunk7L7QRIQ2_cjs.useProjects({ enabled });
|
|
10931
10946
|
const nameOf = useNames(enabled);
|
|
10932
10947
|
const rows = React.useMemo(() => {
|
|
10933
10948
|
const projects = query.data;
|
|
@@ -11004,7 +11019,7 @@ function createTagsSource(labels) {
|
|
|
11004
11019
|
description: l.description,
|
|
11005
11020
|
useFields: staticFields(fields),
|
|
11006
11021
|
useRows(_params, enabled) {
|
|
11007
|
-
const query =
|
|
11022
|
+
const query = chunk7L7QRIQ2_cjs.useTags(void 0, { enabled });
|
|
11008
11023
|
const nameOf = useNames(enabled);
|
|
11009
11024
|
const rows = React.useMemo(
|
|
11010
11025
|
() => query.data?.map((t) => ({
|
|
@@ -11129,8 +11144,8 @@ function useUsageResponses(params, enabled) {
|
|
|
11129
11144
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
11130
11145
|
const monthsBack = monthsBackOf(params);
|
|
11131
11146
|
const only = projectOf(params);
|
|
11132
|
-
const projects =
|
|
11133
|
-
const user =
|
|
11147
|
+
const projects = chunk7L7QRIQ2_cjs.useProjects({ enabled });
|
|
11148
|
+
const user = chunk7L7QRIQ2_cjs.useCurrentUser({ enabled: enabled && arbi.isLoggedIn && !only });
|
|
11134
11149
|
const me = user.data?.external_id;
|
|
11135
11150
|
const list = React.useMemo(() => {
|
|
11136
11151
|
const all = projects.data ?? [];
|
|
@@ -11186,8 +11201,8 @@ function usageParams(l) {
|
|
|
11186
11201
|
placeholder: l.allProjects,
|
|
11187
11202
|
useOptions() {
|
|
11188
11203
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
11189
|
-
const projects =
|
|
11190
|
-
const user =
|
|
11204
|
+
const projects = chunk7L7QRIQ2_cjs.useProjects();
|
|
11205
|
+
const user = chunk7L7QRIQ2_cjs.useCurrentUser({ enabled: arbi.isLoggedIn });
|
|
11191
11206
|
const me = user.data?.external_id;
|
|
11192
11207
|
const options = React.useMemo(
|
|
11193
11208
|
() => ownedBy(projects.data, me).map((p) => ({ value: p.external_id, label: p.name })),
|
|
@@ -11258,7 +11273,7 @@ function createUsageBreakdownSource(labels) {
|
|
|
11258
11273
|
useRows(params, enabled) {
|
|
11259
11274
|
const by = breakdownOf(params);
|
|
11260
11275
|
const { usages, isLoading, error } = useUsageResponses(params, enabled);
|
|
11261
|
-
const workspaces =
|
|
11276
|
+
const workspaces = chunk7L7QRIQ2_cjs.useWorkspaces({
|
|
11262
11277
|
enabled: enabled && (by === "user" || by === "workspace")
|
|
11263
11278
|
});
|
|
11264
11279
|
const names = React.useMemo(
|
|
@@ -11307,8 +11322,8 @@ function createWorkspacesSource(labels) {
|
|
|
11307
11322
|
description: l.description,
|
|
11308
11323
|
useFields: staticFields(fields),
|
|
11309
11324
|
useRows(_params, enabled) {
|
|
11310
|
-
const workspaces =
|
|
11311
|
-
const projects =
|
|
11325
|
+
const workspaces = chunk7L7QRIQ2_cjs.useWorkspaces({ enabled });
|
|
11326
|
+
const projects = chunk7L7QRIQ2_cjs.useProjects({ enabled });
|
|
11312
11327
|
const rows = React.useMemo(() => {
|
|
11313
11328
|
const list = workspaces.data;
|
|
11314
11329
|
if (!list) return void 0;
|
|
@@ -12223,8 +12238,8 @@ function usePeople() {
|
|
|
12223
12238
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
12224
12239
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
12225
12240
|
const { data: contacts = [] } = useContacts();
|
|
12226
|
-
const { data: workspaces = [] } =
|
|
12227
|
-
const { data: agents = [] } =
|
|
12241
|
+
const { data: workspaces = [] } = chunk7L7QRIQ2_cjs.useWorkspaces();
|
|
12242
|
+
const { data: agents = [] } = chunk7L7QRIQ2_cjs.useAgents();
|
|
12228
12243
|
return React.useMemo(() => {
|
|
12229
12244
|
const people = [];
|
|
12230
12245
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -12324,7 +12339,7 @@ var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
|
12324
12339
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
12325
12340
|
function useModelConnections() {
|
|
12326
12341
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
12327
|
-
const userId =
|
|
12342
|
+
const userId = chunk7L7QRIQ2_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12328
12343
|
return reactQuery.useQuery({
|
|
12329
12344
|
queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.modelConnections(userId),
|
|
12330
12345
|
queryFn: () => arbi.modelConnections.list(),
|
|
@@ -12333,7 +12348,7 @@ function useModelConnections() {
|
|
|
12333
12348
|
}
|
|
12334
12349
|
function useDirectModelUsage() {
|
|
12335
12350
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
12336
|
-
const userId =
|
|
12351
|
+
const userId = chunk7L7QRIQ2_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12337
12352
|
return reactQuery.useQuery({
|
|
12338
12353
|
queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.directModelUsage(userId),
|
|
12339
12354
|
queryFn: () => arbi.modelConnections.usage(),
|
|
@@ -12342,7 +12357,7 @@ function useDirectModelUsage() {
|
|
|
12342
12357
|
}
|
|
12343
12358
|
function useRefreshModelConnections() {
|
|
12344
12359
|
const qc = reactQuery.useQueryClient();
|
|
12345
|
-
const userId =
|
|
12360
|
+
const userId = chunk7L7QRIQ2_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12346
12361
|
return async () => {
|
|
12347
12362
|
await qc.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.modelConnections(userId) });
|
|
12348
12363
|
await qc.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.availableModels() });
|
|
@@ -12369,13 +12384,13 @@ function useUnlockModelConnections() {
|
|
|
12369
12384
|
return reactQuery.useMutation({ mutationFn: () => arbi.modelConnections.unlock() });
|
|
12370
12385
|
}
|
|
12371
12386
|
function useRequestEmailChange() {
|
|
12372
|
-
const { client } =
|
|
12387
|
+
const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12373
12388
|
return reactQuery.useMutation({
|
|
12374
12389
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
12375
12390
|
});
|
|
12376
12391
|
}
|
|
12377
12392
|
function useConfirmEmailChange() {
|
|
12378
|
-
const { client } =
|
|
12393
|
+
const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12379
12394
|
const qc = reactQuery.useQueryClient();
|
|
12380
12395
|
return reactQuery.useMutation({
|
|
12381
12396
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -12443,7 +12458,7 @@ function useEmailChange({
|
|
|
12443
12458
|
};
|
|
12444
12459
|
}
|
|
12445
12460
|
function usePasswordChange() {
|
|
12446
|
-
const { client } =
|
|
12461
|
+
const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12447
12462
|
return reactQuery.useMutation({
|
|
12448
12463
|
mutationFn: (vars) => client.changePassword(vars)
|
|
12449
12464
|
});
|
|
@@ -12537,8 +12552,8 @@ function usePasswordChangeForm({
|
|
|
12537
12552
|
}
|
|
12538
12553
|
function useDismissedTips() {
|
|
12539
12554
|
const queryClient = reactQuery.useQueryClient();
|
|
12540
|
-
const { data: userSettings } =
|
|
12541
|
-
const { mutate: updateUserSettings } =
|
|
12555
|
+
const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
|
|
12556
|
+
const { mutate: updateUserSettings } = chunkX5OZRLFZ_cjs.useUpdateUserSettings();
|
|
12542
12557
|
const loaded = userSettings !== void 0;
|
|
12543
12558
|
const dismissed = userSettings?.dismissed_tips ?? [];
|
|
12544
12559
|
const dismissTip = React.useCallback(
|
|
@@ -12572,7 +12587,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
12572
12587
|
function useNotificationPreferences(keys, options) {
|
|
12573
12588
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
12574
12589
|
const qc = reactQuery.useQueryClient();
|
|
12575
|
-
const settings =
|
|
12590
|
+
const settings = chunkX5OZRLFZ_cjs.useUserSettings(options);
|
|
12576
12591
|
const stored = settings.data?.email_notifications;
|
|
12577
12592
|
const save = reactQuery.useMutation({
|
|
12578
12593
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
@@ -12631,7 +12646,7 @@ function useRelevanceSave() {
|
|
|
12631
12646
|
}
|
|
12632
12647
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
12633
12648
|
const qc = reactQuery.useQueryClient();
|
|
12634
|
-
const settings =
|
|
12649
|
+
const settings = chunkX5OZRLFZ_cjs.useUserSettings(options);
|
|
12635
12650
|
const save = useRelevanceSave();
|
|
12636
12651
|
const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
|
|
12637
12652
|
const setLevel = React.useCallback(
|
|
@@ -12652,7 +12667,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
12652
12667
|
}
|
|
12653
12668
|
function useFollowThread(conversationId, options) {
|
|
12654
12669
|
const qc = reactQuery.useQueryClient();
|
|
12655
|
-
const settings =
|
|
12670
|
+
const settings = chunkX5OZRLFZ_cjs.useUserSettings(options);
|
|
12656
12671
|
const save = useRelevanceSave();
|
|
12657
12672
|
const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
|
|
12658
12673
|
const setFollowing = React.useCallback(
|
|
@@ -12681,7 +12696,7 @@ function useFollowThread(conversationId, options) {
|
|
|
12681
12696
|
};
|
|
12682
12697
|
}
|
|
12683
12698
|
function useSessions(options) {
|
|
12684
|
-
const { client, enabled } =
|
|
12699
|
+
const { client, enabled } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12685
12700
|
return reactQuery.useQuery({
|
|
12686
12701
|
queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.sessions(),
|
|
12687
12702
|
queryFn: () => client.listSessions(),
|
|
@@ -12689,7 +12704,7 @@ function useSessions(options) {
|
|
|
12689
12704
|
});
|
|
12690
12705
|
}
|
|
12691
12706
|
function useTerminateSession() {
|
|
12692
|
-
const { client } =
|
|
12707
|
+
const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12693
12708
|
const qc = reactQuery.useQueryClient();
|
|
12694
12709
|
return reactQuery.useMutation({
|
|
12695
12710
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -12697,7 +12712,7 @@ function useTerminateSession() {
|
|
|
12697
12712
|
});
|
|
12698
12713
|
}
|
|
12699
12714
|
function useSignOut() {
|
|
12700
|
-
const { client } =
|
|
12715
|
+
const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12701
12716
|
const qc = reactQuery.useQueryClient();
|
|
12702
12717
|
return reactQuery.useMutation({
|
|
12703
12718
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -12705,7 +12720,7 @@ function useSignOut() {
|
|
|
12705
12720
|
});
|
|
12706
12721
|
}
|
|
12707
12722
|
function useCurrentSessionId() {
|
|
12708
|
-
return
|
|
12723
|
+
return chunkX5OZRLFZ_cjs.useAccountClient().client.currentSessionId();
|
|
12709
12724
|
}
|
|
12710
12725
|
function parseDeleteAccountBlockers(error) {
|
|
12711
12726
|
const body = error?.apiError ?? error;
|
|
@@ -12720,7 +12735,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
12720
12735
|
return [];
|
|
12721
12736
|
}
|
|
12722
12737
|
function useDeleteAccount() {
|
|
12723
|
-
const { client } =
|
|
12738
|
+
const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
12724
12739
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
12725
12740
|
}
|
|
12726
12741
|
function useDeleteAccountFlow({
|
|
@@ -13042,7 +13057,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
13042
13057
|
};
|
|
13043
13058
|
}
|
|
13044
13059
|
function useIdentityVerification(options = {}) {
|
|
13045
|
-
const { client, enabled } =
|
|
13060
|
+
const { client, enabled } = chunkX5OZRLFZ_cjs.useAccountClient();
|
|
13046
13061
|
const qc = reactQuery.useQueryClient();
|
|
13047
13062
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
13048
13063
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -13069,7 +13084,7 @@ async function downloadRecoveryFile(params) {
|
|
|
13069
13084
|
async function documentMailAttachment(arbi, doc, maxBytes, version) {
|
|
13070
13085
|
const older = version && version !== (doc.current_version ?? 1) ? version : null;
|
|
13071
13086
|
if (!reactQuery.onlineManager.isOnline() && !older) return offlineDocumentAttachment(doc, maxBytes);
|
|
13072
|
-
const failed = (cause) => new Error(`Could not download ${
|
|
13087
|
+
const failed = (cause) => new Error(`Could not download ${chunkDLEHM4IA_cjs.getDocumentTitle(doc, "the document")}`, { cause });
|
|
13073
13088
|
const response = await arbi.documents.download(doc.external_id, older ?? void 0).catch((error) => {
|
|
13074
13089
|
throw failed(error);
|
|
13075
13090
|
});
|
|
@@ -13078,11 +13093,11 @@ async function documentMailAttachment(arbi, doc, maxBytes, version) {
|
|
|
13078
13093
|
if (blob.size > maxBytes) throw new Error("Document exceeds the email attachment limit");
|
|
13079
13094
|
const fileName = older ? doc.versions?.find((v) => v.n === older)?.file_name ?? doc.file_name : doc.file_name;
|
|
13080
13095
|
return fileAttachment(
|
|
13081
|
-
new File([blob], fileName ||
|
|
13096
|
+
new File([blob], fileName || chunkDLEHM4IA_cjs.getDocumentTitle(doc, "document"), { type: blob.type })
|
|
13082
13097
|
);
|
|
13083
13098
|
}
|
|
13084
13099
|
async function offlineDocumentAttachment(doc, maxBytes) {
|
|
13085
|
-
const title =
|
|
13100
|
+
const title = chunkDLEHM4IA_cjs.getDocumentTitle(doc, "This document");
|
|
13086
13101
|
const record = await getOfflineDocument(doc.external_id);
|
|
13087
13102
|
const isPdf = /\.pdf$/i.test(doc.file_name ?? "");
|
|
13088
13103
|
if (!record || record.kind === "pdf" && !isPdf)
|
|
@@ -13093,7 +13108,7 @@ async function offlineDocumentAttachment(doc, maxBytes) {
|
|
|
13093
13108
|
if (!blob) throw new Error(`${title} isn't available offline.`);
|
|
13094
13109
|
if (blob.size > maxBytes) throw new Error("Document exceeds the email attachment limit");
|
|
13095
13110
|
return fileAttachment(
|
|
13096
|
-
new File([blob], doc.file_name ||
|
|
13111
|
+
new File([blob], doc.file_name || chunkDLEHM4IA_cjs.getDocumentTitle(doc, "document"), { type: blob.type })
|
|
13097
13112
|
);
|
|
13098
13113
|
}
|
|
13099
13114
|
var BATCH = 50;
|
|
@@ -13140,15 +13155,15 @@ function useNativeThreadKeys(account, messages) {
|
|
|
13140
13155
|
var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13141
13156
|
var NEW_MAIL_DEBOUNCE_MS = 5e3;
|
|
13142
13157
|
function useOfflineMailActive() {
|
|
13143
|
-
const { user, status } =
|
|
13144
|
-
const mailEnabled =
|
|
13145
|
-
const entitled =
|
|
13158
|
+
const { user, status } = chunk7L7QRIQ2_cjs.useArbiSession();
|
|
13159
|
+
const mailEnabled = chunkX5OZRLFZ_cjs.useFeature("mail");
|
|
13160
|
+
const entitled = chunkX5OZRLFZ_cjs.useIsEntitled("mail");
|
|
13146
13161
|
const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
|
|
13147
13162
|
const { data: policy } = useMailPolicy({ enabled: eligible });
|
|
13148
13163
|
return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
|
|
13149
13164
|
}
|
|
13150
13165
|
function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
13151
|
-
const { user, serverSessionKey } =
|
|
13166
|
+
const { user, serverSessionKey } = chunk7L7QRIQ2_cjs.useArbiSession();
|
|
13152
13167
|
const userExtId = user?.external_id;
|
|
13153
13168
|
const hasSession = !!serverSessionKey;
|
|
13154
13169
|
const active = useOfflineMailActive();
|
|
@@ -13158,15 +13173,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13158
13173
|
latest.current = { arbi, queryClient, openOutbox };
|
|
13159
13174
|
React.useEffect(() => {
|
|
13160
13175
|
if (!active || !userExtId) return;
|
|
13161
|
-
|
|
13176
|
+
chunkX5OZRLFZ_cjs.claimOfflineMail(userExtId).catch(
|
|
13162
13177
|
(error) => client.logger.warn("[offline-mail] could not bind the store", error)
|
|
13163
13178
|
);
|
|
13164
13179
|
}, [active, userExtId]);
|
|
13165
13180
|
React.useEffect(() => {
|
|
13166
13181
|
if (!active || !userExtId) return;
|
|
13167
|
-
return
|
|
13182
|
+
return chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
|
|
13168
13183
|
if (change !== "settings") return;
|
|
13169
|
-
trimOfflineMailbox(
|
|
13184
|
+
trimOfflineMailbox(chunkX5OZRLFZ_cjs.getOfflineMailSettings(userExtId)).then(
|
|
13170
13185
|
() => latest.current.queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.mailQueryKeys.allMessages() })
|
|
13171
13186
|
).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
|
|
13172
13187
|
});
|
|
@@ -13191,7 +13206,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13191
13206
|
const interval = setInterval(() => {
|
|
13192
13207
|
if (document.visibilityState === "visible") run2();
|
|
13193
13208
|
}, SYNC_INTERVAL_MS);
|
|
13194
|
-
const enabled = () =>
|
|
13209
|
+
const enabled = () => chunkX5OZRLFZ_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
|
|
13195
13210
|
let newMailTimer = null;
|
|
13196
13211
|
const offCache = queryClient.getQueryCache().subscribe((event) => {
|
|
13197
13212
|
if (event.type !== "updated" || event.action.type !== "invalidate") return;
|
|
@@ -13199,7 +13214,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13199
13214
|
if (newMailTimer) clearTimeout(newMailTimer);
|
|
13200
13215
|
newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
|
|
13201
13216
|
});
|
|
13202
|
-
const offSettings =
|
|
13217
|
+
const offSettings = chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
|
|
13203
13218
|
if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
|
|
13204
13219
|
if (change === "outbox") void flushOutbox(context());
|
|
13205
13220
|
if (change === "changes") void flushOutbox(context());
|
|
@@ -13221,7 +13236,7 @@ function useStoreValue(load, initial, changes) {
|
|
|
13221
13236
|
let alive = true;
|
|
13222
13237
|
const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
|
|
13223
13238
|
void read();
|
|
13224
|
-
const off =
|
|
13239
|
+
const off = chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
|
|
13225
13240
|
if (change === "wiped") setValue(initial);
|
|
13226
13241
|
if (change === "wiped" || key.split(",").includes(change)) void read();
|
|
13227
13242
|
});
|
|
@@ -13233,20 +13248,20 @@ function useStoreValue(load, initial, changes) {
|
|
|
13233
13248
|
return value;
|
|
13234
13249
|
}
|
|
13235
13250
|
function useOfflineMailSettings() {
|
|
13236
|
-
const userExtId =
|
|
13251
|
+
const userExtId = chunk7L7QRIQ2_cjs.useArbiSession().user?.external_id;
|
|
13237
13252
|
const subscribe = React.useCallback(
|
|
13238
|
-
(onChange) =>
|
|
13253
|
+
(onChange) => chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
|
|
13239
13254
|
if (change === "settings") onChange();
|
|
13240
13255
|
}),
|
|
13241
13256
|
[]
|
|
13242
13257
|
);
|
|
13243
13258
|
const raw = React.useSyncExternalStore(
|
|
13244
13259
|
subscribe,
|
|
13245
|
-
() => JSON.stringify([userExtId,
|
|
13260
|
+
() => JSON.stringify([userExtId, chunkX5OZRLFZ_cjs.getOfflineMailSettings(userExtId)])
|
|
13246
13261
|
);
|
|
13247
13262
|
const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
|
|
13248
13263
|
const update2 = React.useCallback(
|
|
13249
|
-
(patch) => void
|
|
13264
|
+
(patch) => void chunkX5OZRLFZ_cjs.setOfflineMailSettings(userExtId, patch),
|
|
13250
13265
|
[userExtId]
|
|
13251
13266
|
);
|
|
13252
13267
|
return [settings, update2];
|
|
@@ -13256,7 +13271,7 @@ function useOfflineMailStatus() {
|
|
|
13256
13271
|
const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
|
|
13257
13272
|
const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
|
|
13258
13273
|
React.useEffect(
|
|
13259
|
-
() =>
|
|
13274
|
+
() => chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
|
|
13260
13275
|
if (change === "status") setSyncing(isMailSyncRunning());
|
|
13261
13276
|
}),
|
|
13262
13277
|
[]
|
|
@@ -13298,7 +13313,7 @@ function useSyncOfflineMailbox() {
|
|
|
13298
13313
|
async function storeExists() {
|
|
13299
13314
|
try {
|
|
13300
13315
|
const databases = await indexedDB.databases?.();
|
|
13301
|
-
return databases ? databases.some((d) => d.name ===
|
|
13316
|
+
return databases ? databases.some((d) => d.name === chunkX5OZRLFZ_cjs.OFFLINE_MAIL_DB) : true;
|
|
13302
13317
|
} catch {
|
|
13303
13318
|
return true;
|
|
13304
13319
|
}
|
|
@@ -13356,7 +13371,7 @@ function useDisconnectConnector() {
|
|
|
13356
13371
|
);
|
|
13357
13372
|
}
|
|
13358
13373
|
function useConnectorVendorVisibility() {
|
|
13359
|
-
const { data: settings } =
|
|
13374
|
+
const { data: settings } = chunkX5OZRLFZ_cjs.useUserSettings();
|
|
13360
13375
|
return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
|
|
13361
13376
|
}
|
|
13362
13377
|
function connectorReturnTo(reopen) {
|
|
@@ -13528,7 +13543,7 @@ function checkNowAndOnFocus(check) {
|
|
|
13528
13543
|
function useConnectorAutoSync(workspaceExtId, opened) {
|
|
13529
13544
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
13530
13545
|
const qc = reactQuery.useQueryClient();
|
|
13531
|
-
const hasMail =
|
|
13546
|
+
const hasMail = chunkX5OZRLFZ_cjs.useIsEntitled("mail");
|
|
13532
13547
|
React.useEffect(() => {
|
|
13533
13548
|
if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
|
|
13534
13549
|
return checkNowAndOnFocus(() => {
|
|
@@ -14146,7 +14161,7 @@ var OfflineCalendarLockedError = class extends Error {
|
|
|
14146
14161
|
this.name = "OfflineCalendarLockedError";
|
|
14147
14162
|
}
|
|
14148
14163
|
};
|
|
14149
|
-
var store =
|
|
14164
|
+
var store = chunkX5OZRLFZ_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
|
|
14150
14165
|
var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
|
|
14151
14166
|
locked: () => new OfflineCalendarLockedError()
|
|
14152
14167
|
});
|
|
@@ -14425,7 +14440,7 @@ async function replay(arbi, queryClient) {
|
|
|
14425
14440
|
);
|
|
14426
14441
|
}
|
|
14427
14442
|
function useCalendarOfflineRuntime() {
|
|
14428
|
-
const { status, serverSessionKey, user } =
|
|
14443
|
+
const { status, serverSessionKey, user } = chunk7L7QRIQ2_cjs.useArbiSession();
|
|
14429
14444
|
const userExtId = user?.external_id;
|
|
14430
14445
|
const authenticated = status === "signed-in";
|
|
14431
14446
|
const hasSession = !!serverSessionKey;
|
|
@@ -14482,7 +14497,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
14482
14497
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
14483
14498
|
}
|
|
14484
14499
|
function useAiTask() {
|
|
14485
|
-
const mutation =
|
|
14500
|
+
const mutation = chunk7L7QRIQ2_cjs.useAssistantQuery();
|
|
14486
14501
|
const [status, setStatus] = React.useState("idle");
|
|
14487
14502
|
const [text2, setText] = React.useState("");
|
|
14488
14503
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -14655,7 +14670,7 @@ function AiAnswer({
|
|
|
14655
14670
|
}
|
|
14656
14671
|
),
|
|
14657
14672
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
14658
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
14673
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkDLEHM4IA_cjs.AiMarkdown, { isStreaming: running, children: text2 }),
|
|
14659
14674
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
14660
14675
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
14661
14676
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -14789,11 +14804,11 @@ function ArtifactCanvas({
|
|
|
14789
14804
|
children: active.title
|
|
14790
14805
|
}
|
|
14791
14806
|
),
|
|
14792
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14807
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkDLEHM4IA_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
14793
14808
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
14794
14809
|
" Redline"
|
|
14795
14810
|
] }),
|
|
14796
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
14811
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkDLEHM4IA_cjs.Badge, { variant: "secondary", children: [
|
|
14797
14812
|
"v",
|
|
14798
14813
|
active.version
|
|
14799
14814
|
] }),
|
|
@@ -14849,7 +14864,7 @@ function ArtifactCanvas({
|
|
|
14849
14864
|
animate: { opacity: 1, y: 0 },
|
|
14850
14865
|
transition: { duration: 0.2 },
|
|
14851
14866
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
14852
|
-
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
14867
|
+
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkDLEHM4IA_cjs.AiMarkdown, { children: active.content })
|
|
14853
14868
|
},
|
|
14854
14869
|
active.doc_ext_id
|
|
14855
14870
|
) }) })
|
|
@@ -14893,7 +14908,7 @@ function MessageArtifactCard({
|
|
|
14893
14908
|
const labels = labelsFor(mode);
|
|
14894
14909
|
const Icon = labels.Icon;
|
|
14895
14910
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14896
|
-
|
|
14911
|
+
chunkDLEHM4IA_cjs.Card,
|
|
14897
14912
|
{
|
|
14898
14913
|
variant: "outline",
|
|
14899
14914
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -15098,7 +15113,7 @@ var CitationPopover = ({
|
|
|
15098
15113
|
return () => {
|
|
15099
15114
|
if (!restoreFocusRef.current) return;
|
|
15100
15115
|
restoreFocusRef.current = false;
|
|
15101
|
-
if (triggerRef.current)
|
|
15116
|
+
if (triggerRef.current) chunkDLEHM4IA_cjs.returnFocusToMark(triggerRef.current);
|
|
15102
15117
|
};
|
|
15103
15118
|
}, [open]);
|
|
15104
15119
|
React.useEffect(() => {
|
|
@@ -15300,7 +15315,7 @@ var CitationLink = ({
|
|
|
15300
15315
|
triggerRef,
|
|
15301
15316
|
children
|
|
15302
15317
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15303
|
-
|
|
15318
|
+
chunkDLEHM4IA_cjs.MarkMenu,
|
|
15304
15319
|
{
|
|
15305
15320
|
triggerRef,
|
|
15306
15321
|
items,
|
|
@@ -15335,7 +15350,7 @@ var IDLE = {
|
|
|
15335
15350
|
};
|
|
15336
15351
|
function useSemanticSearch(docIds = [], options = {}) {
|
|
15337
15352
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
15338
|
-
const [ownSession] = React.useState(
|
|
15353
|
+
const [ownSession] = React.useState(chunkZ3W4XFWB_cjs.createSearchSession);
|
|
15339
15354
|
const session = options.session ?? ownSession;
|
|
15340
15355
|
const { model, workspaceId } = options;
|
|
15341
15356
|
const state = React.useSyncExternalStore(session.subscribe, session.getState, session.getState);
|
|
@@ -15344,7 +15359,7 @@ function useSemanticSearch(docIds = [], options = {}) {
|
|
|
15344
15359
|
if (!workspaceId) return;
|
|
15345
15360
|
const current = session.getState().workspaceId;
|
|
15346
15361
|
if (current !== workspaceId) {
|
|
15347
|
-
if (current)
|
|
15362
|
+
if (current) chunkZ3W4XFWB_cjs.clearSearchSession(workspaceId, session);
|
|
15348
15363
|
else session.setState({ workspaceId });
|
|
15349
15364
|
}
|
|
15350
15365
|
}, [session, workspaceId]);
|
|
@@ -15352,7 +15367,7 @@ function useSemanticSearch(docIds = [], options = {}) {
|
|
|
15352
15367
|
async (query, mode = "hybrid") => {
|
|
15353
15368
|
const trimmed = query.trim();
|
|
15354
15369
|
if (!trimmed) {
|
|
15355
|
-
|
|
15370
|
+
chunkZ3W4XFWB_cjs.clearSearchSession(void 0, session);
|
|
15356
15371
|
return;
|
|
15357
15372
|
}
|
|
15358
15373
|
const run2 = session.getState().run + 1;
|
|
@@ -15383,7 +15398,7 @@ function useSemanticSearch(docIds = [], options = {}) {
|
|
|
15383
15398
|
},
|
|
15384
15399
|
[arbi, docIds, model, session, workspaceId]
|
|
15385
15400
|
);
|
|
15386
|
-
const clear = React.useCallback(() =>
|
|
15401
|
+
const clear = React.useCallback(() => chunkZ3W4XFWB_cjs.clearSearchSession(void 0, session), [session]);
|
|
15387
15402
|
const shown = foreign ? IDLE : state;
|
|
15388
15403
|
return {
|
|
15389
15404
|
query: shown.query,
|
|
@@ -15465,7 +15480,7 @@ var LinkedInIcon = ({
|
|
|
15465
15480
|
);
|
|
15466
15481
|
};
|
|
15467
15482
|
function getNotificationTypeMeta(type) {
|
|
15468
|
-
const WorkspaceIcon =
|
|
15483
|
+
const WorkspaceIcon = chunkDLEHM4IA_cjs.getEntityIcon("WORKSPACE");
|
|
15469
15484
|
switch (type) {
|
|
15470
15485
|
case "support_ticket_received":
|
|
15471
15486
|
case "support_ticket_reviewed":
|
|
@@ -15608,7 +15623,7 @@ function describeActivity(content) {
|
|
|
15608
15623
|
}
|
|
15609
15624
|
default:
|
|
15610
15625
|
return {
|
|
15611
|
-
Icon: parsed.workspace_ext_id ?
|
|
15626
|
+
Icon: parsed.workspace_ext_id ? chunkDLEHM4IA_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
15612
15627
|
iconClassName: "text-muted-foreground",
|
|
15613
15628
|
title: humaniseEvent(parsed.event)
|
|
15614
15629
|
};
|
|
@@ -15638,7 +15653,7 @@ function ActivityFeed({
|
|
|
15638
15653
|
enabled,
|
|
15639
15654
|
"data-testid": testId = "activity-feed"
|
|
15640
15655
|
}) {
|
|
15641
|
-
const { data, isLoading, isError } =
|
|
15656
|
+
const { data, isLoading, isError } = chunk7L7QRIQ2_cjs.useActivity({ limit, enabled });
|
|
15642
15657
|
if (isLoading) {
|
|
15643
15658
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("space-y-2", className), "data-testid": testId, "aria-busy": "true", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 py-1.5", children: [
|
|
15644
15659
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -16248,7 +16263,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
16248
16263
|
const presence = chunkGKGAPU6T_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
|
|
16249
16264
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
16250
16265
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16251
|
-
|
|
16266
|
+
chunkDLEHM4IA_cjs.UserEntity,
|
|
16252
16267
|
{
|
|
16253
16268
|
variant: "icon",
|
|
16254
16269
|
size,
|
|
@@ -16258,7 +16273,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
16258
16273
|
initials: userInitials(user),
|
|
16259
16274
|
displayName: userDisplayName(user),
|
|
16260
16275
|
picture: user.picture,
|
|
16261
|
-
avatarStyle:
|
|
16276
|
+
avatarStyle: chunkDLEHM4IA_cjs.getEntityColorStyles(user.external_id),
|
|
16262
16277
|
isAgent: isAgentUser(user),
|
|
16263
16278
|
displayStatus
|
|
16264
16279
|
}
|
|
@@ -16312,10 +16327,10 @@ function ConversationList({
|
|
|
16312
16327
|
children: c.title ?? userDisplayName(peer)
|
|
16313
16328
|
}
|
|
16314
16329
|
),
|
|
16315
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
16330
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkDLEHM4IA_cjs.AgentBadge, {}) : null)
|
|
16316
16331
|
] }),
|
|
16317
16332
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
16318
|
-
|
|
16333
|
+
chunkDLEHM4IA_cjs.Badge,
|
|
16319
16334
|
{
|
|
16320
16335
|
variant: "outline",
|
|
16321
16336
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -16326,7 +16341,7 @@ function ConversationList({
|
|
|
16326
16341
|
// shouted louder than the message it was counting.
|
|
16327
16342
|
// Enough to catch the eye scanning the list, no more.
|
|
16328
16343
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16329
|
-
|
|
16344
|
+
chunkDLEHM4IA_cjs.Badge,
|
|
16330
16345
|
{
|
|
16331
16346
|
variant: "accent",
|
|
16332
16347
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -16547,7 +16562,7 @@ function DmComposer({
|
|
|
16547
16562
|
)
|
|
16548
16563
|
] }),
|
|
16549
16564
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16550
|
-
|
|
16565
|
+
chunkDLEHM4IA_cjs.Textarea,
|
|
16551
16566
|
{
|
|
16552
16567
|
ref: inputRef,
|
|
16553
16568
|
value: draft,
|
|
@@ -16616,7 +16631,7 @@ function useChatUnreadTotal() {
|
|
|
16616
16631
|
function useUnreadByPeer() {
|
|
16617
16632
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
16618
16633
|
const { data = [] } = useChats();
|
|
16619
|
-
const me =
|
|
16634
|
+
const me = chunkX5OZRLFZ_cjs.myChatId(arbi);
|
|
16620
16635
|
return React.useMemo(() => {
|
|
16621
16636
|
const out = /* @__PURE__ */ new Map();
|
|
16622
16637
|
for (const c of data) {
|
|
@@ -16706,13 +16721,13 @@ function useChatPost() {
|
|
|
16706
16721
|
const queryClient = reactQuery.useQueryClient();
|
|
16707
16722
|
return React.useCallback(
|
|
16708
16723
|
async (target, post) => {
|
|
16709
|
-
const me =
|
|
16724
|
+
const me = chunkX5OZRLFZ_cjs.myChatId(arbi);
|
|
16710
16725
|
if (!me) throw new Error("No active session");
|
|
16711
16726
|
let chat = target.chat;
|
|
16712
16727
|
if (!chat) {
|
|
16713
16728
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
16714
16729
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
16715
|
-
|
|
16730
|
+
chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat);
|
|
16716
16731
|
queryClient.setQueryData(
|
|
16717
16732
|
chunkO32T7XRD_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
16718
16733
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -16735,7 +16750,7 @@ function useChatPost() {
|
|
|
16735
16750
|
updated_at: now,
|
|
16736
16751
|
optimistic: true
|
|
16737
16752
|
};
|
|
16738
|
-
|
|
16753
|
+
chunkX5OZRLFZ_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
16739
16754
|
try {
|
|
16740
16755
|
let attachments = [];
|
|
16741
16756
|
if (files.length) {
|
|
@@ -16755,15 +16770,15 @@ function useChatPost() {
|
|
|
16755
16770
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
16756
16771
|
contextOnly: !!post.contextOnly
|
|
16757
16772
|
});
|
|
16758
|
-
|
|
16759
|
-
|
|
16773
|
+
chunkX5OZRLFZ_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
16774
|
+
chunkX5OZRLFZ_cjs.upsertChat(queryClient, {
|
|
16760
16775
|
...chat,
|
|
16761
16776
|
last_message: message,
|
|
16762
16777
|
last_message_at: message.created_at
|
|
16763
16778
|
});
|
|
16764
16779
|
return { chat, message };
|
|
16765
16780
|
} catch (err) {
|
|
16766
|
-
|
|
16781
|
+
chunkX5OZRLFZ_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
16767
16782
|
void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.chatList() });
|
|
16768
16783
|
throw err;
|
|
16769
16784
|
}
|
|
@@ -16775,7 +16790,7 @@ function useDeleteChatMessage() {
|
|
|
16775
16790
|
const arbi = chunkO32T7XRD_cjs.useArbi();
|
|
16776
16791
|
const queryClient = reactQuery.useQueryClient();
|
|
16777
16792
|
return React.useCallback(
|
|
16778
|
-
(chatExtId, messageExtId) =>
|
|
16793
|
+
(chatExtId, messageExtId) => chunkX5OZRLFZ_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
16779
16794
|
[arbi, queryClient]
|
|
16780
16795
|
);
|
|
16781
16796
|
}
|
|
@@ -16784,7 +16799,7 @@ function useMarkChatRead() {
|
|
|
16784
16799
|
const queryClient = reactQuery.useQueryClient();
|
|
16785
16800
|
return React.useCallback(
|
|
16786
16801
|
(chat, messageExtId) => {
|
|
16787
|
-
|
|
16802
|
+
chunkX5OZRLFZ_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
16788
16803
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
16789
16804
|
() => void 0,
|
|
16790
16805
|
() => void 0
|
|
@@ -16798,7 +16813,7 @@ function useCreateGroupChat() {
|
|
|
16798
16813
|
const queryClient = reactQuery.useQueryClient();
|
|
16799
16814
|
return reactQuery.useMutation({
|
|
16800
16815
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
16801
|
-
onSuccess: (chat) =>
|
|
16816
|
+
onSuccess: (chat) => chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat)
|
|
16802
16817
|
});
|
|
16803
16818
|
}
|
|
16804
16819
|
function useRenameChat() {
|
|
@@ -16806,7 +16821,7 @@ function useRenameChat() {
|
|
|
16806
16821
|
const queryClient = reactQuery.useQueryClient();
|
|
16807
16822
|
return reactQuery.useMutation({
|
|
16808
16823
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
16809
|
-
onSuccess: (chat) =>
|
|
16824
|
+
onSuccess: (chat) => chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat)
|
|
16810
16825
|
});
|
|
16811
16826
|
}
|
|
16812
16827
|
function useAddChatMembers() {
|
|
@@ -16814,7 +16829,7 @@ function useAddChatMembers() {
|
|
|
16814
16829
|
const queryClient = reactQuery.useQueryClient();
|
|
16815
16830
|
return reactQuery.useMutation({
|
|
16816
16831
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
16817
|
-
onSuccess: (chat) =>
|
|
16832
|
+
onSuccess: (chat) => chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat)
|
|
16818
16833
|
});
|
|
16819
16834
|
}
|
|
16820
16835
|
function useRemoveChatMember() {
|
|
@@ -16823,7 +16838,7 @@ function useRemoveChatMember() {
|
|
|
16823
16838
|
return reactQuery.useMutation({
|
|
16824
16839
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
16825
16840
|
onSuccess: (_data, vars) => {
|
|
16826
|
-
if (vars.userExtId ===
|
|
16841
|
+
if (vars.userExtId === chunkX5OZRLFZ_cjs.myChatId(arbi)) chunkX5OZRLFZ_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
16827
16842
|
else return queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.chatList() });
|
|
16828
16843
|
}
|
|
16829
16844
|
});
|
|
@@ -16833,11 +16848,11 @@ function useChatArrivals(onArrival) {
|
|
|
16833
16848
|
const queryClient = reactQuery.useQueryClient();
|
|
16834
16849
|
useArbiWsMessage("chat.message", (message) => {
|
|
16835
16850
|
const senderId = message.message.sender_ext_id;
|
|
16836
|
-
if (!senderId || senderId ===
|
|
16837
|
-
if (message.message.kind !== "text" ||
|
|
16851
|
+
if (!senderId || senderId === chunkX5OZRLFZ_cjs.myChatId(arbi)) return;
|
|
16852
|
+
if (message.message.kind !== "text" || chunkX5OZRLFZ_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
16838
16853
|
const muted = queryClient.getQueriesData({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
16839
16854
|
if (muted?.includes(senderId)) return;
|
|
16840
|
-
const chat =
|
|
16855
|
+
const chat = chunkX5OZRLFZ_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
16841
16856
|
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
16842
16857
|
onArrival({
|
|
16843
16858
|
chatId: message.chat_ext_id,
|
|
@@ -16951,7 +16966,7 @@ function ImageCropper({
|
|
|
16951
16966
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
16952
16967
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
16953
16968
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16954
|
-
|
|
16969
|
+
chunkDLEHM4IA_cjs.Slider,
|
|
16955
16970
|
{
|
|
16956
16971
|
value: [zoom],
|
|
16957
16972
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -17053,7 +17068,7 @@ var REMOTE_CONTROL_VIEW = "actions.remoteControl";
|
|
|
17053
17068
|
var OFF = { enabled: false, pending: null, controllingAgent: null };
|
|
17054
17069
|
var remoteControlStateOf = (state) => state.views.transient[REMOTE_CONTROL_VIEW] ?? OFF;
|
|
17055
17070
|
function useRemoteControl(selector) {
|
|
17056
|
-
return
|
|
17071
|
+
return chunk7L7QRIQ2_cjs.useArbiSessionState((state) => selector(remoteControlStateOf(state)));
|
|
17057
17072
|
}
|
|
17058
17073
|
function remoteControlActions(session) {
|
|
17059
17074
|
const update2 = (change) => {
|
|
@@ -17135,775 +17150,775 @@ function useRateSupportTicket() {
|
|
|
17135
17150
|
|
|
17136
17151
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
17137
17152
|
enumerable: true,
|
|
17138
|
-
get: function () { return
|
|
17153
|
+
get: function () { return chunkX5OZRLFZ_cjs.AUDIENCE_CHOICES; }
|
|
17139
17154
|
});
|
|
17140
17155
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
17141
17156
|
enumerable: true,
|
|
17142
|
-
get: function () { return
|
|
17157
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_CAPTION_TOPIC; }
|
|
17143
17158
|
});
|
|
17144
17159
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
17145
17160
|
enumerable: true,
|
|
17146
|
-
get: function () { return
|
|
17161
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_CHAT_MAX_CHARS; }
|
|
17147
17162
|
});
|
|
17148
17163
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
17149
17164
|
enumerable: true,
|
|
17150
|
-
get: function () { return
|
|
17165
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_CHAT_TOPIC; }
|
|
17151
17166
|
});
|
|
17152
17167
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
17153
17168
|
enumerable: true,
|
|
17154
|
-
get: function () { return
|
|
17169
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_MODERATION_TOPIC; }
|
|
17155
17170
|
});
|
|
17156
17171
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
17157
17172
|
enumerable: true,
|
|
17158
|
-
get: function () { return
|
|
17173
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_RECORDING_TOPIC; }
|
|
17159
17174
|
});
|
|
17160
17175
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
17161
17176
|
enumerable: true,
|
|
17162
|
-
get: function () { return
|
|
17177
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
17163
17178
|
});
|
|
17164
17179
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
17165
17180
|
enumerable: true,
|
|
17166
|
-
get: function () { return
|
|
17181
|
+
get: function () { return chunkX5OZRLFZ_cjs.CALL_WEBINAR_TOPIC; }
|
|
17167
17182
|
});
|
|
17168
17183
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
17169
17184
|
enumerable: true,
|
|
17170
|
-
get: function () { return
|
|
17185
|
+
get: function () { return chunkX5OZRLFZ_cjs.CAPTION_MAX_CHARS; }
|
|
17171
17186
|
});
|
|
17172
17187
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
17173
17188
|
enumerable: true,
|
|
17174
|
-
get: function () { return
|
|
17189
|
+
get: function () { return chunkX5OZRLFZ_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
17175
17190
|
});
|
|
17176
17191
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
17177
17192
|
enumerable: true,
|
|
17178
|
-
get: function () { return
|
|
17193
|
+
get: function () { return chunkX5OZRLFZ_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
17179
17194
|
});
|
|
17180
17195
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
17181
17196
|
enumerable: true,
|
|
17182
|
-
get: function () { return
|
|
17197
|
+
get: function () { return chunkX5OZRLFZ_cjs.DEFAULT_JOIN_CHOICES; }
|
|
17183
17198
|
});
|
|
17184
17199
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
17185
17200
|
enumerable: true,
|
|
17186
|
-
get: function () { return
|
|
17201
|
+
get: function () { return chunkX5OZRLFZ_cjs.EMPTY_CALL_SESSION; }
|
|
17187
17202
|
});
|
|
17188
17203
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
17189
17204
|
enumerable: true,
|
|
17190
|
-
get: function () { return
|
|
17205
|
+
get: function () { return chunkX5OZRLFZ_cjs.EXPORT_SAMPLE_RATE; }
|
|
17191
17206
|
});
|
|
17192
17207
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
17193
17208
|
enumerable: true,
|
|
17194
|
-
get: function () { return
|
|
17209
|
+
get: function () { return chunkX5OZRLFZ_cjs.HISTORY_LIMIT; }
|
|
17195
17210
|
});
|
|
17196
17211
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
17197
17212
|
enumerable: true,
|
|
17198
|
-
get: function () { return
|
|
17213
|
+
get: function () { return chunkX5OZRLFZ_cjs.LIVE_SEGMENTER; }
|
|
17199
17214
|
});
|
|
17200
17215
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
17201
17216
|
enumerable: true,
|
|
17202
|
-
get: function () { return
|
|
17217
|
+
get: function () { return chunkX5OZRLFZ_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
17203
17218
|
});
|
|
17204
17219
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
17205
17220
|
enumerable: true,
|
|
17206
|
-
get: function () { return
|
|
17221
|
+
get: function () { return chunkX5OZRLFZ_cjs.MUTED_DEDUPE_MS; }
|
|
17207
17222
|
});
|
|
17208
17223
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
17209
17224
|
enumerable: true,
|
|
17210
|
-
get: function () { return
|
|
17225
|
+
get: function () { return chunkX5OZRLFZ_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
17211
17226
|
});
|
|
17212
17227
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
17213
17228
|
enumerable: true,
|
|
17214
|
-
get: function () { return
|
|
17229
|
+
get: function () { return chunkX5OZRLFZ_cjs.READ_ONLY_MEETING_TEXT; }
|
|
17215
17230
|
});
|
|
17216
17231
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
17217
17232
|
enumerable: true,
|
|
17218
|
-
get: function () { return
|
|
17233
|
+
get: function () { return chunkX5OZRLFZ_cjs.RECORDING_CHUNK_MS; }
|
|
17219
17234
|
});
|
|
17220
17235
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
17221
17236
|
enumerable: true,
|
|
17222
|
-
get: function () { return
|
|
17237
|
+
get: function () { return chunkX5OZRLFZ_cjs.RECORDING_SEGMENTER; }
|
|
17223
17238
|
});
|
|
17224
17239
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
17225
17240
|
enumerable: true,
|
|
17226
|
-
get: function () { return
|
|
17241
|
+
get: function () { return chunkX5OZRLFZ_cjs.SEGMENT_FRAME_MS; }
|
|
17227
17242
|
});
|
|
17228
17243
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
17229
17244
|
enumerable: true,
|
|
17230
|
-
get: function () { return
|
|
17245
|
+
get: function () { return chunkX5OZRLFZ_cjs.SEGMENT_ID_PATTERN; }
|
|
17231
17246
|
});
|
|
17232
17247
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
17233
17248
|
enumerable: true,
|
|
17234
|
-
get: function () { return
|
|
17249
|
+
get: function () { return chunkX5OZRLFZ_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
17235
17250
|
});
|
|
17236
17251
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
17237
17252
|
enumerable: true,
|
|
17238
|
-
get: function () { return
|
|
17253
|
+
get: function () { return chunkX5OZRLFZ_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
17239
17254
|
});
|
|
17240
17255
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
17241
17256
|
enumerable: true,
|
|
17242
|
-
get: function () { return
|
|
17257
|
+
get: function () { return chunkX5OZRLFZ_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
17243
17258
|
});
|
|
17244
17259
|
Object.defineProperty(exports, "TrackUploader", {
|
|
17245
17260
|
enumerable: true,
|
|
17246
|
-
get: function () { return
|
|
17261
|
+
get: function () { return chunkX5OZRLFZ_cjs.TrackUploader; }
|
|
17247
17262
|
});
|
|
17248
17263
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
17249
17264
|
enumerable: true,
|
|
17250
|
-
get: function () { return
|
|
17265
|
+
get: function () { return chunkX5OZRLFZ_cjs.UPLOAD_ATTEMPTS; }
|
|
17251
17266
|
});
|
|
17252
17267
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
17253
17268
|
enumerable: true,
|
|
17254
|
-
get: function () { return
|
|
17269
|
+
get: function () { return chunkX5OZRLFZ_cjs.UPLOAD_BACKOFF_MS; }
|
|
17255
17270
|
});
|
|
17256
17271
|
Object.defineProperty(exports, "acceptRing", {
|
|
17257
17272
|
enumerable: true,
|
|
17258
|
-
get: function () { return
|
|
17273
|
+
get: function () { return chunkX5OZRLFZ_cjs.acceptRing; }
|
|
17259
17274
|
});
|
|
17260
17275
|
Object.defineProperty(exports, "addConversationToList", {
|
|
17261
17276
|
enumerable: true,
|
|
17262
|
-
get: function () { return
|
|
17277
|
+
get: function () { return chunkX5OZRLFZ_cjs.addConversationToList; }
|
|
17263
17278
|
});
|
|
17264
17279
|
Object.defineProperty(exports, "appendToThread", {
|
|
17265
17280
|
enumerable: true,
|
|
17266
|
-
get: function () { return
|
|
17281
|
+
get: function () { return chunkX5OZRLFZ_cjs.appendToThread; }
|
|
17267
17282
|
});
|
|
17268
17283
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
17269
17284
|
enumerable: true,
|
|
17270
|
-
get: function () { return
|
|
17285
|
+
get: function () { return chunkX5OZRLFZ_cjs.applyAgentDmStatus; }
|
|
17271
17286
|
});
|
|
17272
17287
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
17273
17288
|
enumerable: true,
|
|
17274
|
-
get: function () { return
|
|
17289
|
+
get: function () { return chunkX5OZRLFZ_cjs.applyCallEvent; }
|
|
17275
17290
|
});
|
|
17276
17291
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
17277
17292
|
enumerable: true,
|
|
17278
|
-
get: function () { return
|
|
17293
|
+
get: function () { return chunkX5OZRLFZ_cjs.applyChatEvent; }
|
|
17279
17294
|
});
|
|
17280
17295
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
17281
17296
|
enumerable: true,
|
|
17282
|
-
get: function () { return
|
|
17297
|
+
get: function () { return chunkX5OZRLFZ_cjs.applyChatMessage; }
|
|
17283
17298
|
});
|
|
17284
17299
|
Object.defineProperty(exports, "applyChatRead", {
|
|
17285
17300
|
enumerable: true,
|
|
17286
|
-
get: function () { return
|
|
17301
|
+
get: function () { return chunkX5OZRLFZ_cjs.applyChatRead; }
|
|
17287
17302
|
});
|
|
17288
17303
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
17289
17304
|
enumerable: true,
|
|
17290
|
-
get: function () { return
|
|
17305
|
+
get: function () { return chunkX5OZRLFZ_cjs.applyChatUpdated; }
|
|
17291
17306
|
});
|
|
17292
17307
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
17293
17308
|
enumerable: true,
|
|
17294
|
-
get: function () { return
|
|
17309
|
+
get: function () { return chunkX5OZRLFZ_cjs.arbiAccountClient; }
|
|
17295
17310
|
});
|
|
17296
17311
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
17297
17312
|
enumerable: true,
|
|
17298
|
-
get: function () { return
|
|
17313
|
+
get: function () { return chunkX5OZRLFZ_cjs.buildMeetingChatBody; }
|
|
17299
17314
|
});
|
|
17300
17315
|
Object.defineProperty(exports, "cachedChat", {
|
|
17301
17316
|
enumerable: true,
|
|
17302
|
-
get: function () { return
|
|
17317
|
+
get: function () { return chunkX5OZRLFZ_cjs.cachedChat; }
|
|
17303
17318
|
});
|
|
17304
17319
|
Object.defineProperty(exports, "cachedChats", {
|
|
17305
17320
|
enumerable: true,
|
|
17306
|
-
get: function () { return
|
|
17321
|
+
get: function () { return chunkX5OZRLFZ_cjs.cachedChats; }
|
|
17307
17322
|
});
|
|
17308
17323
|
Object.defineProperty(exports, "callLink", {
|
|
17309
17324
|
enumerable: true,
|
|
17310
|
-
get: function () { return
|
|
17325
|
+
get: function () { return chunkX5OZRLFZ_cjs.callLink; }
|
|
17311
17326
|
});
|
|
17312
17327
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
17313
17328
|
enumerable: true,
|
|
17314
|
-
get: function () { return
|
|
17329
|
+
get: function () { return chunkX5OZRLFZ_cjs.callMemberKeys; }
|
|
17315
17330
|
});
|
|
17316
17331
|
Object.defineProperty(exports, "callSession", {
|
|
17317
17332
|
enumerable: true,
|
|
17318
|
-
get: function () { return
|
|
17333
|
+
get: function () { return chunkX5OZRLFZ_cjs.callSession; }
|
|
17319
17334
|
});
|
|
17320
17335
|
Object.defineProperty(exports, "chatByExtId", {
|
|
17321
17336
|
enumerable: true,
|
|
17322
|
-
get: function () { return
|
|
17337
|
+
get: function () { return chunkX5OZRLFZ_cjs.chatByExtId; }
|
|
17323
17338
|
});
|
|
17324
17339
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
17325
17340
|
enumerable: true,
|
|
17326
|
-
get: function () { return
|
|
17341
|
+
get: function () { return chunkX5OZRLFZ_cjs.chatHasLiveCall; }
|
|
17327
17342
|
});
|
|
17328
17343
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
17329
17344
|
enumerable: true,
|
|
17330
|
-
get: function () { return
|
|
17345
|
+
get: function () { return chunkX5OZRLFZ_cjs.chatLiveCallId; }
|
|
17331
17346
|
});
|
|
17332
17347
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
17333
17348
|
enumerable: true,
|
|
17334
|
-
get: function () { return
|
|
17349
|
+
get: function () { return chunkX5OZRLFZ_cjs.chatTranscriptRef; }
|
|
17335
17350
|
});
|
|
17336
17351
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
17337
17352
|
enumerable: true,
|
|
17338
|
-
get: function () { return
|
|
17353
|
+
get: function () { return chunkX5OZRLFZ_cjs.clearMeetingChatCache; }
|
|
17339
17354
|
});
|
|
17340
17355
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
17341
17356
|
enumerable: true,
|
|
17342
|
-
get: function () { return
|
|
17357
|
+
get: function () { return chunkX5OZRLFZ_cjs.clearTrackUploaders; }
|
|
17343
17358
|
});
|
|
17344
17359
|
Object.defineProperty(exports, "clockTime", {
|
|
17345
17360
|
enumerable: true,
|
|
17346
|
-
get: function () { return
|
|
17361
|
+
get: function () { return chunkX5OZRLFZ_cjs.clockTime; }
|
|
17347
17362
|
});
|
|
17348
17363
|
Object.defineProperty(exports, "compositeFiles", {
|
|
17349
17364
|
enumerable: true,
|
|
17350
|
-
get: function () { return
|
|
17365
|
+
get: function () { return chunkX5OZRLFZ_cjs.compositeFiles; }
|
|
17351
17366
|
});
|
|
17352
17367
|
Object.defineProperty(exports, "compositeTrack", {
|
|
17353
17368
|
enumerable: true,
|
|
17354
|
-
get: function () { return
|
|
17369
|
+
get: function () { return chunkX5OZRLFZ_cjs.compositeTrack; }
|
|
17355
17370
|
});
|
|
17356
17371
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
17357
17372
|
enumerable: true,
|
|
17358
|
-
get: function () { return
|
|
17373
|
+
get: function () { return chunkX5OZRLFZ_cjs.conversationKeyForCall; }
|
|
17359
17374
|
});
|
|
17360
17375
|
Object.defineProperty(exports, "createLocalFeatureStore", {
|
|
17361
17376
|
enumerable: true,
|
|
17362
|
-
get: function () { return
|
|
17377
|
+
get: function () { return chunkX5OZRLFZ_cjs.createLocalFeatureStore; }
|
|
17363
17378
|
});
|
|
17364
17379
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
17365
17380
|
enumerable: true,
|
|
17366
|
-
get: function () { return
|
|
17381
|
+
get: function () { return chunkX5OZRLFZ_cjs.createMutedNotifier; }
|
|
17367
17382
|
});
|
|
17368
17383
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
17369
17384
|
enumerable: true,
|
|
17370
|
-
get: function () { return
|
|
17385
|
+
get: function () { return chunkX5OZRLFZ_cjs.createTrackCutter; }
|
|
17371
17386
|
});
|
|
17372
17387
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
17373
17388
|
enumerable: true,
|
|
17374
|
-
get: function () { return
|
|
17389
|
+
get: function () { return chunkX5OZRLFZ_cjs.cutAtPauses; }
|
|
17375
17390
|
});
|
|
17376
17391
|
Object.defineProperty(exports, "declineRing", {
|
|
17377
17392
|
enumerable: true,
|
|
17378
|
-
get: function () { return
|
|
17393
|
+
get: function () { return chunkX5OZRLFZ_cjs.declineRing; }
|
|
17379
17394
|
});
|
|
17380
17395
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
17381
17396
|
enumerable: true,
|
|
17382
|
-
get: function () { return
|
|
17397
|
+
get: function () { return chunkX5OZRLFZ_cjs.decodeCallChatPacket; }
|
|
17383
17398
|
});
|
|
17384
17399
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
17385
17400
|
enumerable: true,
|
|
17386
|
-
get: function () { return
|
|
17401
|
+
get: function () { return chunkX5OZRLFZ_cjs.decodeCaptionPacket; }
|
|
17387
17402
|
});
|
|
17388
17403
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
17389
17404
|
enumerable: true,
|
|
17390
|
-
get: function () { return
|
|
17405
|
+
get: function () { return chunkX5OZRLFZ_cjs.decodeMono16k; }
|
|
17391
17406
|
});
|
|
17392
17407
|
Object.defineProperty(exports, "decryptPart", {
|
|
17393
17408
|
enumerable: true,
|
|
17394
|
-
get: function () { return
|
|
17409
|
+
get: function () { return chunkX5OZRLFZ_cjs.decryptPart; }
|
|
17395
17410
|
});
|
|
17396
17411
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
17397
17412
|
enumerable: true,
|
|
17398
|
-
get: function () { return
|
|
17413
|
+
get: function () { return chunkX5OZRLFZ_cjs.encodeCallChatPacket; }
|
|
17399
17414
|
});
|
|
17400
17415
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
17401
17416
|
enumerable: true,
|
|
17402
|
-
get: function () { return
|
|
17417
|
+
get: function () { return chunkX5OZRLFZ_cjs.encodeCaptionPacket; }
|
|
17403
17418
|
});
|
|
17404
17419
|
Object.defineProperty(exports, "encodeWav", {
|
|
17405
17420
|
enumerable: true,
|
|
17406
|
-
get: function () { return
|
|
17421
|
+
get: function () { return chunkX5OZRLFZ_cjs.encodeWav; }
|
|
17407
17422
|
});
|
|
17408
17423
|
Object.defineProperty(exports, "encryptPart", {
|
|
17409
17424
|
enumerable: true,
|
|
17410
|
-
get: function () { return
|
|
17425
|
+
get: function () { return chunkX5OZRLFZ_cjs.encryptPart; }
|
|
17411
17426
|
});
|
|
17412
17427
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
17413
17428
|
enumerable: true,
|
|
17414
|
-
get: function () { return
|
|
17429
|
+
get: function () { return chunkX5OZRLFZ_cjs.ensureMeetingChat; }
|
|
17415
17430
|
});
|
|
17416
17431
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
17417
17432
|
enumerable: true,
|
|
17418
|
-
get: function () { return
|
|
17433
|
+
get: function () { return chunkX5OZRLFZ_cjs.entitlementRefusal; }
|
|
17419
17434
|
});
|
|
17420
17435
|
Object.defineProperty(exports, "extensionFor", {
|
|
17421
17436
|
enumerable: true,
|
|
17422
|
-
get: function () { return
|
|
17437
|
+
get: function () { return chunkX5OZRLFZ_cjs.extensionFor; }
|
|
17423
17438
|
});
|
|
17424
17439
|
Object.defineProperty(exports, "fetchPart", {
|
|
17425
17440
|
enumerable: true,
|
|
17426
|
-
get: function () { return
|
|
17441
|
+
get: function () { return chunkX5OZRLFZ_cjs.fetchPart; }
|
|
17427
17442
|
});
|
|
17428
17443
|
Object.defineProperty(exports, "fileSafe", {
|
|
17429
17444
|
enumerable: true,
|
|
17430
|
-
get: function () { return
|
|
17445
|
+
get: function () { return chunkX5OZRLFZ_cjs.fileSafe; }
|
|
17431
17446
|
});
|
|
17432
17447
|
Object.defineProperty(exports, "findConversation", {
|
|
17433
17448
|
enumerable: true,
|
|
17434
|
-
get: function () { return
|
|
17449
|
+
get: function () { return chunkX5OZRLFZ_cjs.findConversation; }
|
|
17435
17450
|
});
|
|
17436
17451
|
Object.defineProperty(exports, "floatToWav", {
|
|
17437
17452
|
enumerable: true,
|
|
17438
|
-
get: function () { return
|
|
17453
|
+
get: function () { return chunkX5OZRLFZ_cjs.floatToWav; }
|
|
17439
17454
|
});
|
|
17440
17455
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
17441
17456
|
enumerable: true,
|
|
17442
|
-
get: function () { return
|
|
17457
|
+
get: function () { return chunkX5OZRLFZ_cjs.formatTranscriptMarkdown; }
|
|
17443
17458
|
});
|
|
17444
17459
|
Object.defineProperty(exports, "getOpenChat", {
|
|
17445
17460
|
enumerable: true,
|
|
17446
|
-
get: function () { return
|
|
17461
|
+
get: function () { return chunkX5OZRLFZ_cjs.getOpenChat; }
|
|
17447
17462
|
});
|
|
17448
17463
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
17449
17464
|
enumerable: true,
|
|
17450
|
-
get: function () { return
|
|
17465
|
+
get: function () { return chunkX5OZRLFZ_cjs.hasRecordingTranscript; }
|
|
17451
17466
|
});
|
|
17452
17467
|
Object.defineProperty(exports, "invalidateCall", {
|
|
17453
17468
|
enumerable: true,
|
|
17454
|
-
get: function () { return
|
|
17469
|
+
get: function () { return chunkX5OZRLFZ_cjs.invalidateCall; }
|
|
17455
17470
|
});
|
|
17456
17471
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
17457
17472
|
enumerable: true,
|
|
17458
|
-
get: function () { return
|
|
17473
|
+
get: function () { return chunkX5OZRLFZ_cjs.invalidateConversationDetails; }
|
|
17459
17474
|
});
|
|
17460
17475
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
17461
17476
|
enumerable: true,
|
|
17462
|
-
get: function () { return
|
|
17477
|
+
get: function () { return chunkX5OZRLFZ_cjs.invalidateConversationLists; }
|
|
17463
17478
|
});
|
|
17464
17479
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
17465
17480
|
enumerable: true,
|
|
17466
|
-
get: function () { return
|
|
17481
|
+
get: function () { return chunkX5OZRLFZ_cjs.isConversationListKey; }
|
|
17467
17482
|
});
|
|
17468
17483
|
Object.defineProperty(exports, "isConversationShared", {
|
|
17469
17484
|
enumerable: true,
|
|
17470
|
-
get: function () { return
|
|
17485
|
+
get: function () { return chunkX5OZRLFZ_cjs.isConversationShared; }
|
|
17471
17486
|
});
|
|
17472
17487
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
17473
17488
|
enumerable: true,
|
|
17474
|
-
get: function () { return
|
|
17489
|
+
get: function () { return chunkX5OZRLFZ_cjs.isRecordingOver; }
|
|
17475
17490
|
});
|
|
17476
17491
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
17477
17492
|
enumerable: true,
|
|
17478
|
-
get: function () { return
|
|
17493
|
+
get: function () { return chunkX5OZRLFZ_cjs.isRecordingSegmentId; }
|
|
17479
17494
|
});
|
|
17480
17495
|
Object.defineProperty(exports, "isRetryable", {
|
|
17481
17496
|
enumerable: true,
|
|
17482
|
-
get: function () { return
|
|
17497
|
+
get: function () { return chunkX5OZRLFZ_cjs.isRetryable; }
|
|
17483
17498
|
});
|
|
17484
17499
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
17485
17500
|
enumerable: true,
|
|
17486
|
-
get: function () { return
|
|
17501
|
+
get: function () { return chunkX5OZRLFZ_cjs.isWorkspaceGuestOf; }
|
|
17487
17502
|
});
|
|
17488
17503
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
17489
17504
|
enumerable: true,
|
|
17490
|
-
get: function () { return
|
|
17505
|
+
get: function () { return chunkX5OZRLFZ_cjs.joinFromPreJoin; }
|
|
17491
17506
|
});
|
|
17492
17507
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
17493
17508
|
enumerable: true,
|
|
17494
|
-
get: function () { return
|
|
17509
|
+
get: function () { return chunkX5OZRLFZ_cjs.knownMeetingChat; }
|
|
17495
17510
|
});
|
|
17496
17511
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
17497
17512
|
enumerable: true,
|
|
17498
|
-
get: function () { return
|
|
17513
|
+
get: function () { return chunkX5OZRLFZ_cjs.loadMeetingHistory; }
|
|
17499
17514
|
});
|
|
17500
17515
|
Object.defineProperty(exports, "markRejoining", {
|
|
17501
17516
|
enumerable: true,
|
|
17502
|
-
get: function () { return
|
|
17517
|
+
get: function () { return chunkX5OZRLFZ_cjs.markRejoining; }
|
|
17503
17518
|
});
|
|
17504
17519
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
17505
17520
|
enumerable: true,
|
|
17506
|
-
get: function () { return
|
|
17521
|
+
get: function () { return chunkX5OZRLFZ_cjs.meetingChatRefFrom; }
|
|
17507
17522
|
});
|
|
17508
17523
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
17509
17524
|
enumerable: true,
|
|
17510
|
-
get: function () { return
|
|
17525
|
+
get: function () { return chunkX5OZRLFZ_cjs.meetingRefForCall; }
|
|
17511
17526
|
});
|
|
17512
17527
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
17513
17528
|
enumerable: true,
|
|
17514
|
-
get: function () { return
|
|
17529
|
+
get: function () { return chunkX5OZRLFZ_cjs.mergeChatLines; }
|
|
17515
17530
|
});
|
|
17516
17531
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
17517
17532
|
enumerable: true,
|
|
17518
|
-
get: function () { return
|
|
17533
|
+
get: function () { return chunkX5OZRLFZ_cjs.mutedNoticeFromEvent; }
|
|
17519
17534
|
});
|
|
17520
17535
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
17521
17536
|
enumerable: true,
|
|
17522
|
-
get: function () { return
|
|
17537
|
+
get: function () { return chunkX5OZRLFZ_cjs.mutedNoticeFromPacket; }
|
|
17523
17538
|
});
|
|
17524
17539
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
17525
17540
|
enumerable: true,
|
|
17526
|
-
get: function () { return
|
|
17541
|
+
get: function () { return chunkX5OZRLFZ_cjs.mutedNoticeText; }
|
|
17527
17542
|
});
|
|
17528
17543
|
Object.defineProperty(exports, "myChatId", {
|
|
17529
17544
|
enumerable: true,
|
|
17530
|
-
get: function () { return
|
|
17545
|
+
get: function () { return chunkX5OZRLFZ_cjs.myChatId; }
|
|
17531
17546
|
});
|
|
17532
17547
|
Object.defineProperty(exports, "newPacketId", {
|
|
17533
17548
|
enumerable: true,
|
|
17534
|
-
get: function () { return
|
|
17549
|
+
get: function () { return chunkX5OZRLFZ_cjs.newPacketId; }
|
|
17535
17550
|
});
|
|
17536
17551
|
Object.defineProperty(exports, "newSegmentId", {
|
|
17537
17552
|
enumerable: true,
|
|
17538
|
-
get: function () { return
|
|
17553
|
+
get: function () { return chunkX5OZRLFZ_cjs.newSegmentId; }
|
|
17539
17554
|
});
|
|
17540
17555
|
Object.defineProperty(exports, "newTrackKey", {
|
|
17541
17556
|
enumerable: true,
|
|
17542
|
-
get: function () { return
|
|
17557
|
+
get: function () { return chunkX5OZRLFZ_cjs.newTrackKey; }
|
|
17543
17558
|
});
|
|
17544
17559
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
17545
17560
|
enumerable: true,
|
|
17546
|
-
get: function () { return
|
|
17561
|
+
get: function () { return chunkX5OZRLFZ_cjs.nextSeqAfter; }
|
|
17547
17562
|
});
|
|
17548
17563
|
Object.defineProperty(exports, "onCallEvent", {
|
|
17549
17564
|
enumerable: true,
|
|
17550
|
-
get: function () { return
|
|
17565
|
+
get: function () { return chunkX5OZRLFZ_cjs.onCallEvent; }
|
|
17551
17566
|
});
|
|
17552
17567
|
Object.defineProperty(exports, "openCall", {
|
|
17553
17568
|
enumerable: true,
|
|
17554
|
-
get: function () { return
|
|
17569
|
+
get: function () { return chunkX5OZRLFZ_cjs.openCall; }
|
|
17555
17570
|
});
|
|
17556
17571
|
Object.defineProperty(exports, "openQuestion", {
|
|
17557
17572
|
enumerable: true,
|
|
17558
|
-
get: function () { return
|
|
17573
|
+
get: function () { return chunkX5OZRLFZ_cjs.openQuestion; }
|
|
17559
17574
|
});
|
|
17560
17575
|
Object.defineProperty(exports, "openRecording", {
|
|
17561
17576
|
enumerable: true,
|
|
17562
|
-
get: function () { return
|
|
17577
|
+
get: function () { return chunkX5OZRLFZ_cjs.openRecording; }
|
|
17563
17578
|
});
|
|
17564
17579
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
17565
17580
|
enumerable: true,
|
|
17566
|
-
get: function () { return
|
|
17581
|
+
get: function () { return chunkX5OZRLFZ_cjs.parseWebinarPacket; }
|
|
17567
17582
|
});
|
|
17568
17583
|
Object.defineProperty(exports, "partKey", {
|
|
17569
17584
|
enumerable: true,
|
|
17570
|
-
get: function () { return
|
|
17585
|
+
get: function () { return chunkX5OZRLFZ_cjs.partKey; }
|
|
17571
17586
|
});
|
|
17572
17587
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
17573
17588
|
enumerable: true,
|
|
17574
|
-
get: function () { return
|
|
17589
|
+
get: function () { return chunkX5OZRLFZ_cjs.partOffsetMs; }
|
|
17575
17590
|
});
|
|
17576
17591
|
Object.defineProperty(exports, "partsDue", {
|
|
17577
17592
|
enumerable: true,
|
|
17578
|
-
get: function () { return
|
|
17593
|
+
get: function () { return chunkX5OZRLFZ_cjs.partsDue; }
|
|
17579
17594
|
});
|
|
17580
17595
|
Object.defineProperty(exports, "patchConversation", {
|
|
17581
17596
|
enumerable: true,
|
|
17582
|
-
get: function () { return
|
|
17597
|
+
get: function () { return chunkX5OZRLFZ_cjs.patchConversation; }
|
|
17583
17598
|
});
|
|
17584
17599
|
Object.defineProperty(exports, "patchConversationList", {
|
|
17585
17600
|
enumerable: true,
|
|
17586
|
-
get: function () { return
|
|
17601
|
+
get: function () { return chunkX5OZRLFZ_cjs.patchConversationList; }
|
|
17587
17602
|
});
|
|
17588
17603
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
17589
17604
|
enumerable: true,
|
|
17590
|
-
get: function () { return
|
|
17605
|
+
get: function () { return chunkX5OZRLFZ_cjs.persistMeetingMessage; }
|
|
17591
17606
|
});
|
|
17592
17607
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
17593
17608
|
enumerable: true,
|
|
17594
|
-
get: function () { return
|
|
17609
|
+
get: function () { return chunkX5OZRLFZ_cjs.persistTranscriptSegment; }
|
|
17595
17610
|
});
|
|
17596
17611
|
Object.defineProperty(exports, "playheadAt", {
|
|
17597
17612
|
enumerable: true,
|
|
17598
|
-
get: function () { return
|
|
17613
|
+
get: function () { return chunkX5OZRLFZ_cjs.playheadAt; }
|
|
17599
17614
|
});
|
|
17600
17615
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
17601
17616
|
enumerable: true,
|
|
17602
|
-
get: function () { return
|
|
17617
|
+
get: function () { return chunkX5OZRLFZ_cjs.postRecordingDocsToThread; }
|
|
17603
17618
|
});
|
|
17604
17619
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
17605
17620
|
enumerable: true,
|
|
17606
|
-
get: function () { return
|
|
17621
|
+
get: function () { return chunkX5OZRLFZ_cjs.postTranscriptToThread; }
|
|
17607
17622
|
});
|
|
17608
17623
|
Object.defineProperty(exports, "readLocalFeature", {
|
|
17609
17624
|
enumerable: true,
|
|
17610
|
-
get: function () { return
|
|
17625
|
+
get: function () { return chunkX5OZRLFZ_cjs.readLocalFeature; }
|
|
17611
17626
|
});
|
|
17612
17627
|
Object.defineProperty(exports, "recordingFiles", {
|
|
17613
17628
|
enumerable: true,
|
|
17614
|
-
get: function () { return
|
|
17629
|
+
get: function () { return chunkX5OZRLFZ_cjs.recordingFiles; }
|
|
17615
17630
|
});
|
|
17616
17631
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
17617
17632
|
enumerable: true,
|
|
17618
|
-
get: function () { return
|
|
17633
|
+
get: function () { return chunkX5OZRLFZ_cjs.recordingWindowsOf; }
|
|
17619
17634
|
});
|
|
17620
17635
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
17621
17636
|
enumerable: true,
|
|
17622
|
-
get: function () { return
|
|
17637
|
+
get: function () { return chunkX5OZRLFZ_cjs.rejoinAsAudience; }
|
|
17623
17638
|
});
|
|
17624
17639
|
Object.defineProperty(exports, "removeChat", {
|
|
17625
17640
|
enumerable: true,
|
|
17626
|
-
get: function () { return
|
|
17641
|
+
get: function () { return chunkX5OZRLFZ_cjs.removeChat; }
|
|
17627
17642
|
});
|
|
17628
17643
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
17629
17644
|
enumerable: true,
|
|
17630
|
-
get: function () { return
|
|
17645
|
+
get: function () { return chunkX5OZRLFZ_cjs.removeConversationFromLists; }
|
|
17631
17646
|
});
|
|
17632
17647
|
Object.defineProperty(exports, "resetCallSession", {
|
|
17633
17648
|
enumerable: true,
|
|
17634
|
-
get: function () { return
|
|
17649
|
+
get: function () { return chunkX5OZRLFZ_cjs.resetCallSession; }
|
|
17635
17650
|
});
|
|
17636
17651
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
17637
17652
|
enumerable: true,
|
|
17638
|
-
get: function () { return
|
|
17653
|
+
get: function () { return chunkX5OZRLFZ_cjs.resolveMeetingChat; }
|
|
17639
17654
|
});
|
|
17640
17655
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
17641
17656
|
enumerable: true,
|
|
17642
|
-
get: function () { return
|
|
17657
|
+
get: function () { return chunkX5OZRLFZ_cjs.saveRecordingFilesToThread; }
|
|
17643
17658
|
});
|
|
17644
17659
|
Object.defineProperty(exports, "schedulePart", {
|
|
17645
17660
|
enumerable: true,
|
|
17646
|
-
get: function () { return
|
|
17661
|
+
get: function () { return chunkX5OZRLFZ_cjs.schedulePart; }
|
|
17647
17662
|
});
|
|
17648
17663
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
17649
17664
|
enumerable: true,
|
|
17650
|
-
get: function () { return
|
|
17665
|
+
get: function () { return chunkX5OZRLFZ_cjs.sealQuestionText; }
|
|
17651
17666
|
});
|
|
17652
17667
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
17653
17668
|
enumerable: true,
|
|
17654
|
-
get: function () { return
|
|
17669
|
+
get: function () { return chunkX5OZRLFZ_cjs.serverCallsExperimental; }
|
|
17655
17670
|
});
|
|
17656
17671
|
Object.defineProperty(exports, "setOpenChat", {
|
|
17657
17672
|
enumerable: true,
|
|
17658
|
-
get: function () { return
|
|
17673
|
+
get: function () { return chunkX5OZRLFZ_cjs.setOpenChat; }
|
|
17659
17674
|
});
|
|
17660
17675
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
17661
17676
|
enumerable: true,
|
|
17662
|
-
get: function () { return
|
|
17677
|
+
get: function () { return chunkX5OZRLFZ_cjs.sortTranscriptMessages; }
|
|
17663
17678
|
});
|
|
17664
17679
|
Object.defineProperty(exports, "sortedParts", {
|
|
17665
17680
|
enumerable: true,
|
|
17666
|
-
get: function () { return
|
|
17681
|
+
get: function () { return chunkX5OZRLFZ_cjs.sortedParts; }
|
|
17667
17682
|
});
|
|
17668
17683
|
Object.defineProperty(exports, "speakerTracks", {
|
|
17669
17684
|
enumerable: true,
|
|
17670
|
-
get: function () { return
|
|
17685
|
+
get: function () { return chunkX5OZRLFZ_cjs.speakerTracks; }
|
|
17671
17686
|
});
|
|
17672
17687
|
Object.defineProperty(exports, "speakerWav", {
|
|
17673
17688
|
enumerable: true,
|
|
17674
|
-
get: function () { return
|
|
17689
|
+
get: function () { return chunkX5OZRLFZ_cjs.speakerWav; }
|
|
17675
17690
|
});
|
|
17676
17691
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
17677
17692
|
enumerable: true,
|
|
17678
|
-
get: function () { return
|
|
17693
|
+
get: function () { return chunkX5OZRLFZ_cjs.splitIntoFiles; }
|
|
17679
17694
|
});
|
|
17680
17695
|
Object.defineProperty(exports, "standalone", {
|
|
17681
17696
|
enumerable: true,
|
|
17682
|
-
get: function () { return
|
|
17697
|
+
get: function () { return chunkX5OZRLFZ_cjs.standalone; }
|
|
17683
17698
|
});
|
|
17684
17699
|
Object.defineProperty(exports, "startChatCall", {
|
|
17685
17700
|
enumerable: true,
|
|
17686
|
-
get: function () { return
|
|
17701
|
+
get: function () { return chunkX5OZRLFZ_cjs.startChatCall; }
|
|
17687
17702
|
});
|
|
17688
17703
|
Object.defineProperty(exports, "startContactsCall", {
|
|
17689
17704
|
enumerable: true,
|
|
17690
|
-
get: function () { return
|
|
17705
|
+
get: function () { return chunkX5OZRLFZ_cjs.startContactsCall; }
|
|
17691
17706
|
});
|
|
17692
17707
|
Object.defineProperty(exports, "startDmCall", {
|
|
17693
17708
|
enumerable: true,
|
|
17694
|
-
get: function () { return
|
|
17709
|
+
get: function () { return chunkX5OZRLFZ_cjs.startDmCall; }
|
|
17695
17710
|
});
|
|
17696
17711
|
Object.defineProperty(exports, "startThreadCall", {
|
|
17697
17712
|
enumerable: true,
|
|
17698
|
-
get: function () { return
|
|
17713
|
+
get: function () { return chunkX5OZRLFZ_cjs.startThreadCall; }
|
|
17699
17714
|
});
|
|
17700
17715
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
17701
17716
|
enumerable: true,
|
|
17702
|
-
get: function () { return
|
|
17717
|
+
get: function () { return chunkX5OZRLFZ_cjs.startsMediaFile; }
|
|
17703
17718
|
});
|
|
17704
17719
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
17705
17720
|
enumerable: true,
|
|
17706
|
-
get: function () { return
|
|
17721
|
+
get: function () { return chunkX5OZRLFZ_cjs.storeTranscriptSegment; }
|
|
17707
17722
|
});
|
|
17708
17723
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
17709
17724
|
enumerable: true,
|
|
17710
|
-
get: function () { return
|
|
17725
|
+
get: function () { return chunkX5OZRLFZ_cjs.stripSpeakerPrefix; }
|
|
17711
17726
|
});
|
|
17712
17727
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
17713
17728
|
enumerable: true,
|
|
17714
|
-
get: function () { return
|
|
17729
|
+
get: function () { return chunkX5OZRLFZ_cjs.supersedeLiveTranscript; }
|
|
17715
17730
|
});
|
|
17716
17731
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
17717
17732
|
enumerable: true,
|
|
17718
|
-
get: function () { return
|
|
17733
|
+
get: function () { return chunkX5OZRLFZ_cjs.supersededTranscriptLines; }
|
|
17719
17734
|
});
|
|
17720
17735
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
17721
17736
|
enumerable: true,
|
|
17722
|
-
get: function () { return
|
|
17737
|
+
get: function () { return chunkX5OZRLFZ_cjs.threadHasLiveCall; }
|
|
17723
17738
|
});
|
|
17724
17739
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
17725
17740
|
enumerable: true,
|
|
17726
|
-
get: function () { return
|
|
17741
|
+
get: function () { return chunkX5OZRLFZ_cjs.threadLiveCallId; }
|
|
17727
17742
|
});
|
|
17728
17743
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
17729
17744
|
enumerable: true,
|
|
17730
|
-
get: function () { return
|
|
17745
|
+
get: function () { return chunkX5OZRLFZ_cjs.threadTranscriptLines; }
|
|
17731
17746
|
});
|
|
17732
17747
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
17733
17748
|
enumerable: true,
|
|
17734
|
-
get: function () { return
|
|
17749
|
+
get: function () { return chunkX5OZRLFZ_cjs.threadTranscriptRef; }
|
|
17735
17750
|
});
|
|
17736
17751
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
17737
17752
|
enumerable: true,
|
|
17738
|
-
get: function () { return
|
|
17753
|
+
get: function () { return chunkX5OZRLFZ_cjs.threadTranscriptText; }
|
|
17739
17754
|
});
|
|
17740
17755
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
17741
17756
|
enumerable: true,
|
|
17742
|
-
get: function () { return
|
|
17757
|
+
get: function () { return chunkX5OZRLFZ_cjs.timelineDurationMs; }
|
|
17743
17758
|
});
|
|
17744
17759
|
Object.defineProperty(exports, "timelineOf", {
|
|
17745
17760
|
enumerable: true,
|
|
17746
|
-
get: function () { return
|
|
17761
|
+
get: function () { return chunkX5OZRLFZ_cjs.timelineOf; }
|
|
17747
17762
|
});
|
|
17748
17763
|
Object.defineProperty(exports, "toProfileView", {
|
|
17749
17764
|
enumerable: true,
|
|
17750
|
-
get: function () { return
|
|
17765
|
+
get: function () { return chunkX5OZRLFZ_cjs.toProfileView; }
|
|
17751
17766
|
});
|
|
17752
17767
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
17753
17768
|
enumerable: true,
|
|
17754
|
-
get: function () { return
|
|
17769
|
+
get: function () { return chunkX5OZRLFZ_cjs.trackUploaderFor; }
|
|
17755
17770
|
});
|
|
17756
17771
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
17757
17772
|
enumerable: true,
|
|
17758
|
-
get: function () { return
|
|
17773
|
+
get: function () { return chunkX5OZRLFZ_cjs.transcribeRecording; }
|
|
17759
17774
|
});
|
|
17760
17775
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
17761
17776
|
enumerable: true,
|
|
17762
|
-
get: function () { return
|
|
17777
|
+
get: function () { return chunkX5OZRLFZ_cjs.transcriptPersistRole; }
|
|
17763
17778
|
});
|
|
17764
17779
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
17765
17780
|
enumerable: true,
|
|
17766
|
-
get: function () { return
|
|
17781
|
+
get: function () { return chunkX5OZRLFZ_cjs.transcriptSegmentOf; }
|
|
17767
17782
|
});
|
|
17768
17783
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
17769
17784
|
enumerable: true,
|
|
17770
|
-
get: function () { return
|
|
17785
|
+
get: function () { return chunkX5OZRLFZ_cjs.unwrapTrackKey; }
|
|
17771
17786
|
});
|
|
17772
17787
|
Object.defineProperty(exports, "upsertChat", {
|
|
17773
17788
|
enumerable: true,
|
|
17774
|
-
get: function () { return
|
|
17789
|
+
get: function () { return chunkX5OZRLFZ_cjs.upsertChat; }
|
|
17775
17790
|
});
|
|
17776
17791
|
Object.defineProperty(exports, "useAccountClient", {
|
|
17777
17792
|
enumerable: true,
|
|
17778
|
-
get: function () { return
|
|
17793
|
+
get: function () { return chunkX5OZRLFZ_cjs.useAccountClient; }
|
|
17779
17794
|
});
|
|
17780
17795
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
17781
17796
|
enumerable: true,
|
|
17782
|
-
get: function () { return
|
|
17797
|
+
get: function () { return chunkX5OZRLFZ_cjs.useAvatarCrop; }
|
|
17783
17798
|
});
|
|
17784
17799
|
Object.defineProperty(exports, "useCall", {
|
|
17785
17800
|
enumerable: true,
|
|
17786
|
-
get: function () { return
|
|
17801
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCall; }
|
|
17787
17802
|
});
|
|
17788
17803
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
17789
17804
|
enumerable: true,
|
|
17790
|
-
get: function () { return
|
|
17805
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallInviteLinks; }
|
|
17791
17806
|
});
|
|
17792
17807
|
Object.defineProperty(exports, "useCallRecording", {
|
|
17793
17808
|
enumerable: true,
|
|
17794
|
-
get: function () { return
|
|
17809
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallRecording; }
|
|
17795
17810
|
});
|
|
17796
17811
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
17797
17812
|
enumerable: true,
|
|
17798
|
-
get: function () { return
|
|
17813
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallRecordings; }
|
|
17799
17814
|
});
|
|
17800
17815
|
Object.defineProperty(exports, "useCallSession", {
|
|
17801
17816
|
enumerable: true,
|
|
17802
|
-
get: function () { return
|
|
17817
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallSession; }
|
|
17803
17818
|
});
|
|
17804
17819
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
17805
17820
|
enumerable: true,
|
|
17806
|
-
get: function () { return
|
|
17821
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallTranscriptionAvailable; }
|
|
17807
17822
|
});
|
|
17808
17823
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
17809
17824
|
enumerable: true,
|
|
17810
|
-
get: function () { return
|
|
17825
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallsConfig; }
|
|
17811
17826
|
});
|
|
17812
17827
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
17813
17828
|
enumerable: true,
|
|
17814
|
-
get: function () { return
|
|
17829
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCallsEnabled; }
|
|
17815
17830
|
});
|
|
17816
17831
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
17817
17832
|
enumerable: true,
|
|
17818
|
-
get: function () { return
|
|
17833
|
+
get: function () { return chunkX5OZRLFZ_cjs.useCanHostCalls; }
|
|
17819
17834
|
});
|
|
17820
17835
|
Object.defineProperty(exports, "useEntitlements", {
|
|
17821
17836
|
enumerable: true,
|
|
17822
|
-
get: function () { return
|
|
17837
|
+
get: function () { return chunkX5OZRLFZ_cjs.useEntitlements; }
|
|
17823
17838
|
});
|
|
17824
17839
|
Object.defineProperty(exports, "useFeature", {
|
|
17825
17840
|
enumerable: true,
|
|
17826
|
-
get: function () { return
|
|
17841
|
+
get: function () { return chunkX5OZRLFZ_cjs.useFeature; }
|
|
17827
17842
|
});
|
|
17828
17843
|
Object.defineProperty(exports, "useFeatureCheck", {
|
|
17829
17844
|
enumerable: true,
|
|
17830
|
-
get: function () { return
|
|
17845
|
+
get: function () { return chunkX5OZRLFZ_cjs.useFeatureCheck; }
|
|
17831
17846
|
});
|
|
17832
17847
|
Object.defineProperty(exports, "useFeatureSwitch", {
|
|
17833
17848
|
enumerable: true,
|
|
17834
|
-
get: function () { return
|
|
17849
|
+
get: function () { return chunkX5OZRLFZ_cjs.useFeatureSwitch; }
|
|
17835
17850
|
});
|
|
17836
17851
|
Object.defineProperty(exports, "useInvalidateEntitlements", {
|
|
17837
17852
|
enumerable: true,
|
|
17838
|
-
get: function () { return
|
|
17853
|
+
get: function () { return chunkX5OZRLFZ_cjs.useInvalidateEntitlements; }
|
|
17839
17854
|
});
|
|
17840
17855
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
17841
17856
|
enumerable: true,
|
|
17842
|
-
get: function () { return
|
|
17857
|
+
get: function () { return chunkX5OZRLFZ_cjs.useIsEntitled; }
|
|
17843
17858
|
});
|
|
17844
17859
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
17845
17860
|
enumerable: true,
|
|
17846
|
-
get: function () { return
|
|
17861
|
+
get: function () { return chunkX5OZRLFZ_cjs.useMeetingReadOnly; }
|
|
17847
17862
|
});
|
|
17848
17863
|
Object.defineProperty(exports, "useNameEditor", {
|
|
17849
17864
|
enumerable: true,
|
|
17850
|
-
get: function () { return
|
|
17865
|
+
get: function () { return chunkX5OZRLFZ_cjs.useNameEditor; }
|
|
17851
17866
|
});
|
|
17852
17867
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
17853
17868
|
enumerable: true,
|
|
17854
|
-
get: function () { return
|
|
17869
|
+
get: function () { return chunkX5OZRLFZ_cjs.useOpenCallMeetingChat; }
|
|
17855
17870
|
});
|
|
17856
17871
|
Object.defineProperty(exports, "useProfile", {
|
|
17857
17872
|
enumerable: true,
|
|
17858
|
-
get: function () { return
|
|
17873
|
+
get: function () { return chunkX5OZRLFZ_cjs.useProfile; }
|
|
17859
17874
|
});
|
|
17860
17875
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
17861
17876
|
enumerable: true,
|
|
17862
|
-
get: function () { return
|
|
17877
|
+
get: function () { return chunkX5OZRLFZ_cjs.useRecordingActions; }
|
|
17863
17878
|
});
|
|
17864
17879
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
17865
17880
|
enumerable: true,
|
|
17866
|
-
get: function () { return
|
|
17881
|
+
get: function () { return chunkX5OZRLFZ_cjs.useRecordingWindows; }
|
|
17867
17882
|
});
|
|
17868
17883
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
17869
17884
|
enumerable: true,
|
|
17870
|
-
get: function () { return
|
|
17885
|
+
get: function () { return chunkX5OZRLFZ_cjs.useRevokeCallInviteLink; }
|
|
17871
17886
|
});
|
|
17872
17887
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
17873
17888
|
enumerable: true,
|
|
17874
|
-
get: function () { return
|
|
17889
|
+
get: function () { return chunkX5OZRLFZ_cjs.useSaveToThread; }
|
|
17875
17890
|
});
|
|
17876
17891
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
17877
17892
|
enumerable: true,
|
|
17878
|
-
get: function () { return
|
|
17893
|
+
get: function () { return chunkX5OZRLFZ_cjs.useServerCallsEnabled; }
|
|
17879
17894
|
});
|
|
17880
17895
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
17881
17896
|
enumerable: true,
|
|
17882
|
-
get: function () { return
|
|
17897
|
+
get: function () { return chunkX5OZRLFZ_cjs.useServerCallsExperimental; }
|
|
17883
17898
|
});
|
|
17884
17899
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
17885
17900
|
enumerable: true,
|
|
17886
|
-
get: function () { return
|
|
17901
|
+
get: function () { return chunkX5OZRLFZ_cjs.useUpdateProfile; }
|
|
17887
17902
|
});
|
|
17888
17903
|
Object.defineProperty(exports, "useUpdateUserSettings", {
|
|
17889
17904
|
enumerable: true,
|
|
17890
|
-
get: function () { return
|
|
17905
|
+
get: function () { return chunkX5OZRLFZ_cjs.useUpdateUserSettings; }
|
|
17891
17906
|
});
|
|
17892
17907
|
Object.defineProperty(exports, "useUserSettings", {
|
|
17893
17908
|
enumerable: true,
|
|
17894
|
-
get: function () { return
|
|
17909
|
+
get: function () { return chunkX5OZRLFZ_cjs.useUserSettings; }
|
|
17895
17910
|
});
|
|
17896
17911
|
Object.defineProperty(exports, "wipeOfflineMail", {
|
|
17897
17912
|
enumerable: true,
|
|
17898
|
-
get: function () { return
|
|
17913
|
+
get: function () { return chunkX5OZRLFZ_cjs.wipeOfflineMail; }
|
|
17899
17914
|
});
|
|
17900
17915
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
17901
17916
|
enumerable: true,
|
|
17902
|
-
get: function () { return
|
|
17917
|
+
get: function () { return chunkX5OZRLFZ_cjs.wrapTrackKey; }
|
|
17903
17918
|
});
|
|
17904
17919
|
Object.defineProperty(exports, "writeSamples", {
|
|
17905
17920
|
enumerable: true,
|
|
17906
|
-
get: function () { return
|
|
17921
|
+
get: function () { return chunkX5OZRLFZ_cjs.writeSamples; }
|
|
17907
17922
|
});
|
|
17908
17923
|
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
17909
17924
|
enumerable: true,
|
|
@@ -18083,323 +18098,323 @@ Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
|
18083
18098
|
});
|
|
18084
18099
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
18085
18100
|
enumerable: true,
|
|
18086
|
-
get: function () { return
|
|
18101
|
+
get: function () { return chunk7L7QRIQ2_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
18087
18102
|
});
|
|
18088
18103
|
Object.defineProperty(exports, "DOCUMENT_VIEWER_PANEL", {
|
|
18089
18104
|
enumerable: true,
|
|
18090
|
-
get: function () { return
|
|
18105
|
+
get: function () { return chunk7L7QRIQ2_cjs.DOCUMENT_VIEWER_PANEL; }
|
|
18091
18106
|
});
|
|
18092
18107
|
Object.defineProperty(exports, "EMPTY_CHAT_STATE", {
|
|
18093
18108
|
enumerable: true,
|
|
18094
|
-
get: function () { return
|
|
18109
|
+
get: function () { return chunk7L7QRIQ2_cjs.EMPTY_CHAT_STATE; }
|
|
18095
18110
|
});
|
|
18096
18111
|
Object.defineProperty(exports, "EMPTY_DOCUMENT_STATE", {
|
|
18097
18112
|
enumerable: true,
|
|
18098
|
-
get: function () { return
|
|
18113
|
+
get: function () { return chunk7L7QRIQ2_cjs.EMPTY_DOCUMENT_STATE; }
|
|
18099
18114
|
});
|
|
18100
18115
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
18101
18116
|
enumerable: true,
|
|
18102
|
-
get: function () { return
|
|
18117
|
+
get: function () { return chunk7L7QRIQ2_cjs.EMPTY_SESSION_STATE; }
|
|
18103
18118
|
});
|
|
18104
18119
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
18105
18120
|
enumerable: true,
|
|
18106
|
-
get: function () { return
|
|
18121
|
+
get: function () { return chunk7L7QRIQ2_cjs.MAX_THREAD_TABS; }
|
|
18107
18122
|
});
|
|
18108
18123
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
18109
18124
|
enumerable: true,
|
|
18110
|
-
get: function () { return
|
|
18125
|
+
get: function () { return chunk7L7QRIQ2_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
18111
18126
|
});
|
|
18112
18127
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
18113
18128
|
enumerable: true,
|
|
18114
|
-
get: function () { return
|
|
18129
|
+
get: function () { return chunk7L7QRIQ2_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
18115
18130
|
});
|
|
18116
18131
|
Object.defineProperty(exports, "WORKSPACE_LAST_OPENED_KEY", {
|
|
18117
18132
|
enumerable: true,
|
|
18118
|
-
get: function () { return
|
|
18133
|
+
get: function () { return chunk7L7QRIQ2_cjs.WORKSPACE_LAST_OPENED_KEY; }
|
|
18119
18134
|
});
|
|
18120
18135
|
Object.defineProperty(exports, "WORKSPACE_STORAGE_KEY", {
|
|
18121
18136
|
enumerable: true,
|
|
18122
|
-
get: function () { return
|
|
18137
|
+
get: function () { return chunk7L7QRIQ2_cjs.WORKSPACE_STORAGE_KEY; }
|
|
18123
18138
|
});
|
|
18124
18139
|
Object.defineProperty(exports, "agentControl", {
|
|
18125
18140
|
enumerable: true,
|
|
18126
|
-
get: function () { return
|
|
18141
|
+
get: function () { return chunk7L7QRIQ2_cjs.agentControl; }
|
|
18127
18142
|
});
|
|
18128
18143
|
Object.defineProperty(exports, "browserWorkspaceStorage", {
|
|
18129
18144
|
enumerable: true,
|
|
18130
|
-
get: function () { return
|
|
18145
|
+
get: function () { return chunk7L7QRIQ2_cjs.browserWorkspaceStorage; }
|
|
18131
18146
|
});
|
|
18132
18147
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
18133
18148
|
enumerable: true,
|
|
18134
|
-
get: function () { return
|
|
18149
|
+
get: function () { return chunk7L7QRIQ2_cjs.clearSealedDrafts; }
|
|
18135
18150
|
});
|
|
18136
18151
|
Object.defineProperty(exports, "closePanelIn", {
|
|
18137
18152
|
enumerable: true,
|
|
18138
|
-
get: function () { return
|
|
18153
|
+
get: function () { return chunk7L7QRIQ2_cjs.closePanelIn; }
|
|
18139
18154
|
});
|
|
18140
18155
|
Object.defineProperty(exports, "composeArbiSessionStore", {
|
|
18141
18156
|
enumerable: true,
|
|
18142
|
-
get: function () { return
|
|
18157
|
+
get: function () { return chunk7L7QRIQ2_cjs.composeArbiSessionStore; }
|
|
18143
18158
|
});
|
|
18144
18159
|
Object.defineProperty(exports, "conversationKey", {
|
|
18145
18160
|
enumerable: true,
|
|
18146
|
-
get: function () { return
|
|
18161
|
+
get: function () { return chunk7L7QRIQ2_cjs.conversationKey; }
|
|
18147
18162
|
});
|
|
18148
18163
|
Object.defineProperty(exports, "createArbiChatStore", {
|
|
18149
18164
|
enumerable: true,
|
|
18150
|
-
get: function () { return
|
|
18165
|
+
get: function () { return chunk7L7QRIQ2_cjs.createArbiChatStore; }
|
|
18151
18166
|
});
|
|
18152
18167
|
Object.defineProperty(exports, "createArbiDocumentSessionStore", {
|
|
18153
18168
|
enumerable: true,
|
|
18154
|
-
get: function () { return
|
|
18169
|
+
get: function () { return chunk7L7QRIQ2_cjs.createArbiDocumentSessionStore; }
|
|
18155
18170
|
});
|
|
18156
18171
|
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
18157
18172
|
enumerable: true,
|
|
18158
|
-
get: function () { return
|
|
18173
|
+
get: function () { return chunk7L7QRIQ2_cjs.createArbiLayoutStore; }
|
|
18159
18174
|
});
|
|
18160
18175
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
18161
18176
|
enumerable: true,
|
|
18162
|
-
get: function () { return
|
|
18177
|
+
get: function () { return chunk7L7QRIQ2_cjs.createArbiSessionStore; }
|
|
18163
18178
|
});
|
|
18164
18179
|
Object.defineProperty(exports, "createArbiWorkspaceStore", {
|
|
18165
18180
|
enumerable: true,
|
|
18166
|
-
get: function () { return
|
|
18181
|
+
get: function () { return chunk7L7QRIQ2_cjs.createArbiWorkspaceStore; }
|
|
18167
18182
|
});
|
|
18168
18183
|
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
18169
18184
|
enumerable: true,
|
|
18170
|
-
get: function () { return
|
|
18185
|
+
get: function () { return chunk7L7QRIQ2_cjs.createDebouncedWriter; }
|
|
18171
18186
|
});
|
|
18172
18187
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
18173
18188
|
enumerable: true,
|
|
18174
|
-
get: function () { return
|
|
18189
|
+
get: function () { return chunk7L7QRIQ2_cjs.createSealedDraftStorage; }
|
|
18175
18190
|
});
|
|
18176
18191
|
Object.defineProperty(exports, "createStoragePersist", {
|
|
18177
18192
|
enumerable: true,
|
|
18178
|
-
get: function () { return
|
|
18193
|
+
get: function () { return chunk7L7QRIQ2_cjs.createStoragePersist; }
|
|
18179
18194
|
});
|
|
18180
18195
|
Object.defineProperty(exports, "createUiStateStorage", {
|
|
18181
18196
|
enumerable: true,
|
|
18182
|
-
get: function () { return
|
|
18197
|
+
get: function () { return chunk7L7QRIQ2_cjs.createUiStateStorage; }
|
|
18183
18198
|
});
|
|
18184
18199
|
Object.defineProperty(exports, "defaultLayoutState", {
|
|
18185
18200
|
enumerable: true,
|
|
18186
|
-
get: function () { return
|
|
18201
|
+
get: function () { return chunk7L7QRIQ2_cjs.defaultLayoutState; }
|
|
18187
18202
|
});
|
|
18188
18203
|
Object.defineProperty(exports, "dmTabId", {
|
|
18189
18204
|
enumerable: true,
|
|
18190
|
-
get: function () { return
|
|
18205
|
+
get: function () { return chunk7L7QRIQ2_cjs.dmTabId; }
|
|
18191
18206
|
});
|
|
18192
18207
|
Object.defineProperty(exports, "flushOnPageExit", {
|
|
18193
18208
|
enumerable: true,
|
|
18194
|
-
get: function () { return
|
|
18209
|
+
get: function () { return chunk7L7QRIQ2_cjs.flushOnPageExit; }
|
|
18195
18210
|
});
|
|
18196
18211
|
Object.defineProperty(exports, "isPanelOpen", {
|
|
18197
18212
|
enumerable: true,
|
|
18198
|
-
get: function () { return
|
|
18213
|
+
get: function () { return chunk7L7QRIQ2_cjs.isPanelOpen; }
|
|
18199
18214
|
});
|
|
18200
18215
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
18201
18216
|
enumerable: true,
|
|
18202
|
-
get: function () { return
|
|
18217
|
+
get: function () { return chunk7L7QRIQ2_cjs.isUsageMetered; }
|
|
18203
18218
|
});
|
|
18204
18219
|
Object.defineProperty(exports, "layoutActionsOf", {
|
|
18205
18220
|
enumerable: true,
|
|
18206
|
-
get: function () { return
|
|
18221
|
+
get: function () { return chunk7L7QRIQ2_cjs.layoutActionsOf; }
|
|
18207
18222
|
});
|
|
18208
18223
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
18209
18224
|
enumerable: true,
|
|
18210
|
-
get: function () { return
|
|
18225
|
+
get: function () { return chunk7L7QRIQ2_cjs.nextViewingDocument; }
|
|
18211
18226
|
});
|
|
18212
18227
|
Object.defineProperty(exports, "openPanelIn", {
|
|
18213
18228
|
enumerable: true,
|
|
18214
|
-
get: function () { return
|
|
18229
|
+
get: function () { return chunk7L7QRIQ2_cjs.openPanelIn; }
|
|
18215
18230
|
});
|
|
18216
18231
|
Object.defineProperty(exports, "panelPlace", {
|
|
18217
18232
|
enumerable: true,
|
|
18218
|
-
get: function () { return
|
|
18233
|
+
get: function () { return chunk7L7QRIQ2_cjs.panelPlace; }
|
|
18219
18234
|
});
|
|
18220
18235
|
Object.defineProperty(exports, "parseSavedChat", {
|
|
18221
18236
|
enumerable: true,
|
|
18222
|
-
get: function () { return
|
|
18237
|
+
get: function () { return chunk7L7QRIQ2_cjs.parseSavedChat; }
|
|
18223
18238
|
});
|
|
18224
18239
|
Object.defineProperty(exports, "parseSavedDocuments", {
|
|
18225
18240
|
enumerable: true,
|
|
18226
|
-
get: function () { return
|
|
18241
|
+
get: function () { return chunk7L7QRIQ2_cjs.parseSavedDocuments; }
|
|
18227
18242
|
});
|
|
18228
18243
|
Object.defineProperty(exports, "parseSavedLayout", {
|
|
18229
18244
|
enumerable: true,
|
|
18230
|
-
get: function () { return
|
|
18245
|
+
get: function () { return chunk7L7QRIQ2_cjs.parseSavedLayout; }
|
|
18231
18246
|
});
|
|
18232
18247
|
Object.defineProperty(exports, "queuedMessages", {
|
|
18233
18248
|
enumerable: true,
|
|
18234
|
-
get: function () { return
|
|
18249
|
+
get: function () { return chunk7L7QRIQ2_cjs.queuedMessages; }
|
|
18235
18250
|
});
|
|
18236
18251
|
Object.defineProperty(exports, "readWorkspaceLastOpened", {
|
|
18237
18252
|
enumerable: true,
|
|
18238
|
-
get: function () { return
|
|
18253
|
+
get: function () { return chunk7L7QRIQ2_cjs.readWorkspaceLastOpened; }
|
|
18239
18254
|
});
|
|
18240
18255
|
Object.defineProperty(exports, "restoreLayout", {
|
|
18241
18256
|
enumerable: true,
|
|
18242
|
-
get: function () { return
|
|
18257
|
+
get: function () { return chunk7L7QRIQ2_cjs.restoreLayout; }
|
|
18243
18258
|
});
|
|
18244
18259
|
Object.defineProperty(exports, "restoreSavedDocuments", {
|
|
18245
18260
|
enumerable: true,
|
|
18246
|
-
get: function () { return
|
|
18261
|
+
get: function () { return chunk7L7QRIQ2_cjs.restoreSavedDocuments; }
|
|
18247
18262
|
});
|
|
18248
18263
|
Object.defineProperty(exports, "savedChatOf", {
|
|
18249
18264
|
enumerable: true,
|
|
18250
|
-
get: function () { return
|
|
18265
|
+
get: function () { return chunk7L7QRIQ2_cjs.savedChatOf; }
|
|
18251
18266
|
});
|
|
18252
18267
|
Object.defineProperty(exports, "savedDocumentsOf", {
|
|
18253
18268
|
enumerable: true,
|
|
18254
|
-
get: function () { return
|
|
18269
|
+
get: function () { return chunk7L7QRIQ2_cjs.savedDocumentsOf; }
|
|
18255
18270
|
});
|
|
18256
18271
|
Object.defineProperty(exports, "savedLayoutOf", {
|
|
18257
18272
|
enumerable: true,
|
|
18258
|
-
get: function () { return
|
|
18273
|
+
get: function () { return chunk7L7QRIQ2_cjs.savedLayoutOf; }
|
|
18259
18274
|
});
|
|
18260
18275
|
Object.defineProperty(exports, "selectDraft", {
|
|
18261
18276
|
enumerable: true,
|
|
18262
|
-
get: function () { return
|
|
18277
|
+
get: function () { return chunk7L7QRIQ2_cjs.selectDraft; }
|
|
18263
18278
|
});
|
|
18264
18279
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
18265
18280
|
enumerable: true,
|
|
18266
|
-
get: function () { return
|
|
18281
|
+
get: function () { return chunk7L7QRIQ2_cjs.selectIsGenerating; }
|
|
18267
18282
|
});
|
|
18268
18283
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
18269
18284
|
enumerable: true,
|
|
18270
|
-
get: function () { return
|
|
18285
|
+
get: function () { return chunk7L7QRIQ2_cjs.selectViewingDocumentId; }
|
|
18271
18286
|
});
|
|
18272
18287
|
Object.defineProperty(exports, "threadTabId", {
|
|
18273
18288
|
enumerable: true,
|
|
18274
|
-
get: function () { return
|
|
18289
|
+
get: function () { return chunk7L7QRIQ2_cjs.threadTabId; }
|
|
18275
18290
|
});
|
|
18276
18291
|
Object.defineProperty(exports, "useActivity", {
|
|
18277
18292
|
enumerable: true,
|
|
18278
|
-
get: function () { return
|
|
18293
|
+
get: function () { return chunk7L7QRIQ2_cjs.useActivity; }
|
|
18279
18294
|
});
|
|
18280
18295
|
Object.defineProperty(exports, "useAgents", {
|
|
18281
18296
|
enumerable: true,
|
|
18282
|
-
get: function () { return
|
|
18297
|
+
get: function () { return chunk7L7QRIQ2_cjs.useAgents; }
|
|
18283
18298
|
});
|
|
18284
18299
|
Object.defineProperty(exports, "useArbiSession", {
|
|
18285
18300
|
enumerable: true,
|
|
18286
|
-
get: function () { return
|
|
18301
|
+
get: function () { return chunk7L7QRIQ2_cjs.useArbiSession; }
|
|
18287
18302
|
});
|
|
18288
18303
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
18289
18304
|
enumerable: true,
|
|
18290
|
-
get: function () { return
|
|
18305
|
+
get: function () { return chunk7L7QRIQ2_cjs.useArbiSessionState; }
|
|
18291
18306
|
});
|
|
18292
18307
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
18293
18308
|
enumerable: true,
|
|
18294
|
-
get: function () { return
|
|
18309
|
+
get: function () { return chunk7L7QRIQ2_cjs.useArbiSessionStore; }
|
|
18295
18310
|
});
|
|
18296
18311
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
18297
18312
|
enumerable: true,
|
|
18298
|
-
get: function () { return
|
|
18313
|
+
get: function () { return chunk7L7QRIQ2_cjs.useAssistantQuery; }
|
|
18299
18314
|
});
|
|
18300
18315
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
18301
18316
|
enumerable: true,
|
|
18302
|
-
get: function () { return
|
|
18317
|
+
get: function () { return chunk7L7QRIQ2_cjs.useAvailableModels; }
|
|
18303
18318
|
});
|
|
18304
18319
|
Object.defineProperty(exports, "useBoxRole", {
|
|
18305
18320
|
enumerable: true,
|
|
18306
|
-
get: function () { return
|
|
18321
|
+
get: function () { return chunk7L7QRIQ2_cjs.useBoxRole; }
|
|
18307
18322
|
});
|
|
18308
18323
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
18309
18324
|
enumerable: true,
|
|
18310
|
-
get: function () { return
|
|
18325
|
+
get: function () { return chunk7L7QRIQ2_cjs.useBuiltinCommands; }
|
|
18311
18326
|
});
|
|
18312
18327
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
18313
18328
|
enumerable: true,
|
|
18314
|
-
get: function () { return
|
|
18329
|
+
get: function () { return chunk7L7QRIQ2_cjs.useCanCreateProjects; }
|
|
18315
18330
|
});
|
|
18316
18331
|
Object.defineProperty(exports, "useConfig", {
|
|
18317
18332
|
enumerable: true,
|
|
18318
|
-
get: function () { return
|
|
18333
|
+
get: function () { return chunk7L7QRIQ2_cjs.useConfig; }
|
|
18319
18334
|
});
|
|
18320
18335
|
Object.defineProperty(exports, "useConfigs", {
|
|
18321
18336
|
enumerable: true,
|
|
18322
|
-
get: function () { return
|
|
18337
|
+
get: function () { return chunk7L7QRIQ2_cjs.useConfigs; }
|
|
18323
18338
|
});
|
|
18324
18339
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
18325
18340
|
enumerable: true,
|
|
18326
|
-
get: function () { return
|
|
18341
|
+
get: function () { return chunk7L7QRIQ2_cjs.useConversationThreads; }
|
|
18327
18342
|
});
|
|
18328
18343
|
Object.defineProperty(exports, "useConversations", {
|
|
18329
18344
|
enumerable: true,
|
|
18330
|
-
get: function () { return
|
|
18345
|
+
get: function () { return chunk7L7QRIQ2_cjs.useConversations; }
|
|
18331
18346
|
});
|
|
18332
18347
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
18333
18348
|
enumerable: true,
|
|
18334
|
-
get: function () { return
|
|
18349
|
+
get: function () { return chunk7L7QRIQ2_cjs.useCurrentUser; }
|
|
18335
18350
|
});
|
|
18336
18351
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
18337
18352
|
enumerable: true,
|
|
18338
|
-
get: function () { return
|
|
18353
|
+
get: function () { return chunk7L7QRIQ2_cjs.useDeleteAgents; }
|
|
18339
18354
|
});
|
|
18340
18355
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
18341
18356
|
enumerable: true,
|
|
18342
|
-
get: function () { return
|
|
18357
|
+
get: function () { return chunk7L7QRIQ2_cjs.useDocumentVersionList; }
|
|
18343
18358
|
});
|
|
18344
18359
|
Object.defineProperty(exports, "useHealth", {
|
|
18345
18360
|
enumerable: true,
|
|
18346
|
-
get: function () { return
|
|
18361
|
+
get: function () { return chunk7L7QRIQ2_cjs.useHealth; }
|
|
18347
18362
|
});
|
|
18348
18363
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
18349
18364
|
enumerable: true,
|
|
18350
|
-
get: function () { return
|
|
18365
|
+
get: function () { return chunk7L7QRIQ2_cjs.useMessageDetails; }
|
|
18351
18366
|
});
|
|
18352
18367
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
18353
18368
|
enumerable: true,
|
|
18354
|
-
get: function () { return
|
|
18369
|
+
get: function () { return chunk7L7QRIQ2_cjs.useParsedDocument; }
|
|
18355
18370
|
});
|
|
18356
18371
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
18357
18372
|
enumerable: true,
|
|
18358
|
-
get: function () { return
|
|
18373
|
+
get: function () { return chunk7L7QRIQ2_cjs.useProjectInvoices; }
|
|
18359
18374
|
});
|
|
18360
18375
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
18361
18376
|
enumerable: true,
|
|
18362
|
-
get: function () { return
|
|
18377
|
+
get: function () { return chunk7L7QRIQ2_cjs.useProjectUsage; }
|
|
18363
18378
|
});
|
|
18364
18379
|
Object.defineProperty(exports, "useProjects", {
|
|
18365
18380
|
enumerable: true,
|
|
18366
|
-
get: function () { return
|
|
18381
|
+
get: function () { return chunk7L7QRIQ2_cjs.useProjects; }
|
|
18367
18382
|
});
|
|
18368
18383
|
Object.defineProperty(exports, "useSessionPageTab", {
|
|
18369
18384
|
enumerable: true,
|
|
18370
|
-
get: function () { return
|
|
18385
|
+
get: function () { return chunk7L7QRIQ2_cjs.useSessionPageTab; }
|
|
18371
18386
|
});
|
|
18372
18387
|
Object.defineProperty(exports, "useSessionView", {
|
|
18373
18388
|
enumerable: true,
|
|
18374
|
-
get: function () { return
|
|
18389
|
+
get: function () { return chunk7L7QRIQ2_cjs.useSessionView; }
|
|
18375
18390
|
});
|
|
18376
18391
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
18377
18392
|
enumerable: true,
|
|
18378
|
-
get: function () { return
|
|
18393
|
+
get: function () { return chunk7L7QRIQ2_cjs.useSignedInSession; }
|
|
18379
18394
|
});
|
|
18380
18395
|
Object.defineProperty(exports, "useTags", {
|
|
18381
18396
|
enumerable: true,
|
|
18382
|
-
get: function () { return
|
|
18397
|
+
get: function () { return chunk7L7QRIQ2_cjs.useTags; }
|
|
18383
18398
|
});
|
|
18384
18399
|
Object.defineProperty(exports, "useThumbnails", {
|
|
18385
18400
|
enumerable: true,
|
|
18386
|
-
get: function () { return
|
|
18401
|
+
get: function () { return chunk7L7QRIQ2_cjs.useThumbnails; }
|
|
18387
18402
|
});
|
|
18388
18403
|
Object.defineProperty(exports, "useTransientView", {
|
|
18389
18404
|
enumerable: true,
|
|
18390
|
-
get: function () { return
|
|
18405
|
+
get: function () { return chunk7L7QRIQ2_cjs.useTransientView; }
|
|
18391
18406
|
});
|
|
18392
18407
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
18393
18408
|
enumerable: true,
|
|
18394
|
-
get: function () { return
|
|
18409
|
+
get: function () { return chunk7L7QRIQ2_cjs.useUserUsageToday; }
|
|
18395
18410
|
});
|
|
18396
18411
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
18397
18412
|
enumerable: true,
|
|
18398
|
-
get: function () { return
|
|
18413
|
+
get: function () { return chunk7L7QRIQ2_cjs.useWorkspaceActivity; }
|
|
18399
18414
|
});
|
|
18400
18415
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
18401
18416
|
enumerable: true,
|
|
18402
|
-
get: function () { return
|
|
18417
|
+
get: function () { return chunk7L7QRIQ2_cjs.useWorkspaces; }
|
|
18403
18418
|
});
|
|
18404
18419
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
18405
18420
|
enumerable: true,
|
|
@@ -18443,139 +18458,139 @@ Object.defineProperty(exports, "useDeploymentDomain", {
|
|
|
18443
18458
|
});
|
|
18444
18459
|
Object.defineProperty(exports, "DEFAULT_ASSISTANT_NAME", {
|
|
18445
18460
|
enumerable: true,
|
|
18446
|
-
get: function () { return
|
|
18461
|
+
get: function () { return chunkZ3W4XFWB_cjs.DEFAULT_ASSISTANT_NAME; }
|
|
18447
18462
|
});
|
|
18448
18463
|
Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
|
|
18449
18464
|
enumerable: true,
|
|
18450
|
-
get: function () { return
|
|
18465
|
+
get: function () { return chunkZ3W4XFWB_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
|
|
18451
18466
|
});
|
|
18452
18467
|
Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
|
|
18453
18468
|
enumerable: true,
|
|
18454
|
-
get: function () { return
|
|
18469
|
+
get: function () { return chunkZ3W4XFWB_cjs.MENTION_HREF_PREFIX; }
|
|
18455
18470
|
});
|
|
18456
18471
|
Object.defineProperty(exports, "NotificationBell", {
|
|
18457
18472
|
enumerable: true,
|
|
18458
|
-
get: function () { return
|
|
18473
|
+
get: function () { return chunkZ3W4XFWB_cjs.NotificationBell; }
|
|
18459
18474
|
});
|
|
18460
18475
|
Object.defineProperty(exports, "Toaster", {
|
|
18461
18476
|
enumerable: true,
|
|
18462
|
-
get: function () { return
|
|
18477
|
+
get: function () { return chunkZ3W4XFWB_cjs.Toaster; }
|
|
18463
18478
|
});
|
|
18464
18479
|
Object.defineProperty(exports, "UNBOUND", {
|
|
18465
18480
|
enumerable: true,
|
|
18466
|
-
get: function () { return
|
|
18481
|
+
get: function () { return chunkZ3W4XFWB_cjs.UNBOUND; }
|
|
18467
18482
|
});
|
|
18468
18483
|
Object.defineProperty(exports, "assistantCopy", {
|
|
18469
18484
|
enumerable: true,
|
|
18470
|
-
get: function () { return
|
|
18485
|
+
get: function () { return chunkZ3W4XFWB_cjs.assistantCopy; }
|
|
18471
18486
|
});
|
|
18472
18487
|
Object.defineProperty(exports, "bindingOfRow", {
|
|
18473
18488
|
enumerable: true,
|
|
18474
|
-
get: function () { return
|
|
18489
|
+
get: function () { return chunkZ3W4XFWB_cjs.bindingOfRow; }
|
|
18475
18490
|
});
|
|
18476
18491
|
Object.defineProperty(exports, "clearSearchSession", {
|
|
18477
18492
|
enumerable: true,
|
|
18478
|
-
get: function () { return
|
|
18493
|
+
get: function () { return chunkZ3W4XFWB_cjs.clearSearchSession; }
|
|
18479
18494
|
});
|
|
18480
18495
|
Object.defineProperty(exports, "createSearchSession", {
|
|
18481
18496
|
enumerable: true,
|
|
18482
|
-
get: function () { return
|
|
18497
|
+
get: function () { return chunkZ3W4XFWB_cjs.createSearchSession; }
|
|
18483
18498
|
});
|
|
18484
18499
|
Object.defineProperty(exports, "extractMentions", {
|
|
18485
18500
|
enumerable: true,
|
|
18486
|
-
get: function () { return
|
|
18501
|
+
get: function () { return chunkZ3W4XFWB_cjs.extractMentions; }
|
|
18487
18502
|
});
|
|
18488
18503
|
Object.defineProperty(exports, "filterMentionCandidates", {
|
|
18489
18504
|
enumerable: true,
|
|
18490
|
-
get: function () { return
|
|
18505
|
+
get: function () { return chunkZ3W4XFWB_cjs.filterMentionCandidates; }
|
|
18491
18506
|
});
|
|
18492
18507
|
Object.defineProperty(exports, "findMentionQuery", {
|
|
18493
18508
|
enumerable: true,
|
|
18494
|
-
get: function () { return
|
|
18509
|
+
get: function () { return chunkZ3W4XFWB_cjs.findMentionQuery; }
|
|
18495
18510
|
});
|
|
18496
18511
|
Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
|
|
18497
18512
|
enumerable: true,
|
|
18498
|
-
get: function () { return
|
|
18513
|
+
get: function () { return chunkZ3W4XFWB_cjs.forgetLegacyThreadDocuments; }
|
|
18499
18514
|
});
|
|
18500
18515
|
Object.defineProperty(exports, "hasMessageBody", {
|
|
18501
18516
|
enumerable: true,
|
|
18502
|
-
get: function () { return
|
|
18517
|
+
get: function () { return chunkZ3W4XFWB_cjs.hasMessageBody; }
|
|
18503
18518
|
});
|
|
18504
18519
|
Object.defineProperty(exports, "insertMention", {
|
|
18505
18520
|
enumerable: true,
|
|
18506
|
-
get: function () { return
|
|
18521
|
+
get: function () { return chunkZ3W4XFWB_cjs.insertMention; }
|
|
18507
18522
|
});
|
|
18508
18523
|
Object.defineProperty(exports, "latestThreadOfDocument", {
|
|
18509
18524
|
enumerable: true,
|
|
18510
|
-
get: function () { return
|
|
18525
|
+
get: function () { return chunkZ3W4XFWB_cjs.latestThreadOfDocument; }
|
|
18511
18526
|
});
|
|
18512
18527
|
Object.defineProperty(exports, "linkMentions", {
|
|
18513
18528
|
enumerable: true,
|
|
18514
|
-
get: function () { return
|
|
18529
|
+
get: function () { return chunkZ3W4XFWB_cjs.linkMentions; }
|
|
18515
18530
|
});
|
|
18516
18531
|
Object.defineProperty(exports, "mentionFromHref", {
|
|
18517
18532
|
enumerable: true,
|
|
18518
|
-
get: function () { return
|
|
18533
|
+
get: function () { return chunkZ3W4XFWB_cjs.mentionFromHref; }
|
|
18519
18534
|
});
|
|
18520
18535
|
Object.defineProperty(exports, "openDocumentId", {
|
|
18521
18536
|
enumerable: true,
|
|
18522
|
-
get: function () { return
|
|
18537
|
+
get: function () { return chunkZ3W4XFWB_cjs.openDocumentId; }
|
|
18523
18538
|
});
|
|
18524
18539
|
Object.defineProperty(exports, "opensInWord", {
|
|
18525
18540
|
enumerable: true,
|
|
18526
|
-
get: function () { return
|
|
18541
|
+
get: function () { return chunkZ3W4XFWB_cjs.opensInWord; }
|
|
18527
18542
|
});
|
|
18528
18543
|
Object.defineProperty(exports, "persistSearchSession", {
|
|
18529
18544
|
enumerable: true,
|
|
18530
|
-
get: function () { return
|
|
18545
|
+
get: function () { return chunkZ3W4XFWB_cjs.persistSearchSession; }
|
|
18531
18546
|
});
|
|
18532
18547
|
Object.defineProperty(exports, "readLegacyThreadDocuments", {
|
|
18533
18548
|
enumerable: true,
|
|
18534
|
-
get: function () { return
|
|
18549
|
+
get: function () { return chunkZ3W4XFWB_cjs.readLegacyThreadDocuments; }
|
|
18535
18550
|
});
|
|
18536
18551
|
Object.defineProperty(exports, "requestSearch", {
|
|
18537
18552
|
enumerable: true,
|
|
18538
|
-
get: function () { return
|
|
18553
|
+
get: function () { return chunkZ3W4XFWB_cjs.requestSearch; }
|
|
18539
18554
|
});
|
|
18540
18555
|
Object.defineProperty(exports, "savedDocumentIdFor", {
|
|
18541
18556
|
enumerable: true,
|
|
18542
|
-
get: function () { return
|
|
18557
|
+
get: function () { return chunkZ3W4XFWB_cjs.savedDocumentIdFor; }
|
|
18543
18558
|
});
|
|
18544
18559
|
Object.defineProperty(exports, "sharedSearchSession", {
|
|
18545
18560
|
enumerable: true,
|
|
18546
|
-
get: function () { return
|
|
18561
|
+
get: function () { return chunkZ3W4XFWB_cjs.sharedSearchSession; }
|
|
18547
18562
|
});
|
|
18548
18563
|
Object.defineProperty(exports, "takeDocumentForTurn", {
|
|
18549
18564
|
enumerable: true,
|
|
18550
|
-
get: function () { return
|
|
18565
|
+
get: function () { return chunkZ3W4XFWB_cjs.takeDocumentForTurn; }
|
|
18551
18566
|
});
|
|
18552
18567
|
Object.defineProperty(exports, "takePendingSearch", {
|
|
18553
18568
|
enumerable: true,
|
|
18554
|
-
get: function () { return
|
|
18569
|
+
get: function () { return chunkZ3W4XFWB_cjs.takePendingSearch; }
|
|
18555
18570
|
});
|
|
18556
18571
|
Object.defineProperty(exports, "toMessageMentions", {
|
|
18557
18572
|
enumerable: true,
|
|
18558
|
-
get: function () { return
|
|
18573
|
+
get: function () { return chunkZ3W4XFWB_cjs.toMessageMentions; }
|
|
18559
18574
|
});
|
|
18560
18575
|
Object.defineProperty(exports, "useAssistantCopy", {
|
|
18561
18576
|
enumerable: true,
|
|
18562
|
-
get: function () { return
|
|
18577
|
+
get: function () { return chunkZ3W4XFWB_cjs.useAssistantCopy; }
|
|
18563
18578
|
});
|
|
18564
18579
|
Object.defineProperty(exports, "useAssistantName", {
|
|
18565
18580
|
enumerable: true,
|
|
18566
|
-
get: function () { return
|
|
18581
|
+
get: function () { return chunkZ3W4XFWB_cjs.useAssistantName; }
|
|
18567
18582
|
});
|
|
18568
18583
|
Object.defineProperty(exports, "useOpenDocumentId", {
|
|
18569
18584
|
enumerable: true,
|
|
18570
|
-
get: function () { return
|
|
18585
|
+
get: function () { return chunkZ3W4XFWB_cjs.useOpenDocumentId; }
|
|
18571
18586
|
});
|
|
18572
18587
|
Object.defineProperty(exports, "useRegisterOpenDocument", {
|
|
18573
18588
|
enumerable: true,
|
|
18574
|
-
get: function () { return
|
|
18589
|
+
get: function () { return chunkZ3W4XFWB_cjs.useRegisterOpenDocument; }
|
|
18575
18590
|
});
|
|
18576
18591
|
Object.defineProperty(exports, "useTurnDocumentId", {
|
|
18577
18592
|
enumerable: true,
|
|
18578
|
-
get: function () { return
|
|
18593
|
+
get: function () { return chunkZ3W4XFWB_cjs.useTurnDocumentId; }
|
|
18579
18594
|
});
|
|
18580
18595
|
Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
|
|
18581
18596
|
enumerable: true,
|
|
@@ -18675,707 +18690,711 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
|
18675
18690
|
});
|
|
18676
18691
|
Object.defineProperty(exports, "ARBI_MARK_SRC", {
|
|
18677
18692
|
enumerable: true,
|
|
18678
|
-
get: function () { return
|
|
18693
|
+
get: function () { return chunkDLEHM4IA_cjs.ARBI_MARK_SRC; }
|
|
18679
18694
|
});
|
|
18680
18695
|
Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
|
|
18681
18696
|
enumerable: true,
|
|
18682
|
-
get: function () { return
|
|
18697
|
+
get: function () { return chunkDLEHM4IA_cjs.AUDIO_MIME_PREFERENCE; }
|
|
18683
18698
|
});
|
|
18684
18699
|
Object.defineProperty(exports, "AgentBadge", {
|
|
18685
18700
|
enumerable: true,
|
|
18686
|
-
get: function () { return
|
|
18701
|
+
get: function () { return chunkDLEHM4IA_cjs.AgentBadge; }
|
|
18687
18702
|
});
|
|
18688
18703
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
18689
18704
|
enumerable: true,
|
|
18690
|
-
get: function () { return
|
|
18705
|
+
get: function () { return chunkDLEHM4IA_cjs.AiMarkdown; }
|
|
18691
18706
|
});
|
|
18692
18707
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
18693
18708
|
enumerable: true,
|
|
18694
|
-
get: function () { return
|
|
18709
|
+
get: function () { return chunkDLEHM4IA_cjs.ArbiBotHeadIcon; }
|
|
18695
18710
|
});
|
|
18696
18711
|
Object.defineProperty(exports, "ArbiIcon", {
|
|
18697
18712
|
enumerable: true,
|
|
18698
|
-
get: function () { return
|
|
18713
|
+
get: function () { return chunkDLEHM4IA_cjs.ArbiIcon; }
|
|
18699
18714
|
});
|
|
18700
18715
|
Object.defineProperty(exports, "AudIcon", {
|
|
18701
18716
|
enumerable: true,
|
|
18702
|
-
get: function () { return
|
|
18717
|
+
get: function () { return chunkDLEHM4IA_cjs.AudIcon; }
|
|
18703
18718
|
});
|
|
18704
18719
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
18705
18720
|
enumerable: true,
|
|
18706
|
-
get: function () { return
|
|
18721
|
+
get: function () { return chunkDLEHM4IA_cjs.BASE_COLORS; }
|
|
18707
18722
|
});
|
|
18708
18723
|
Object.defineProperty(exports, "Badge", {
|
|
18709
18724
|
enumerable: true,
|
|
18710
|
-
get: function () { return
|
|
18725
|
+
get: function () { return chunkDLEHM4IA_cjs.Badge; }
|
|
18711
18726
|
});
|
|
18712
18727
|
Object.defineProperty(exports, "COLUMN_LABEL_FALLBACKS", {
|
|
18713
18728
|
enumerable: true,
|
|
18714
|
-
get: function () { return
|
|
18729
|
+
get: function () { return chunkDLEHM4IA_cjs.COLUMN_LABEL_FALLBACKS; }
|
|
18715
18730
|
});
|
|
18716
18731
|
Object.defineProperty(exports, "Card", {
|
|
18717
18732
|
enumerable: true,
|
|
18718
|
-
get: function () { return
|
|
18733
|
+
get: function () { return chunkDLEHM4IA_cjs.Card; }
|
|
18719
18734
|
});
|
|
18720
18735
|
Object.defineProperty(exports, "CardContent", {
|
|
18721
18736
|
enumerable: true,
|
|
18722
|
-
get: function () { return
|
|
18737
|
+
get: function () { return chunkDLEHM4IA_cjs.CardContent; }
|
|
18723
18738
|
});
|
|
18724
18739
|
Object.defineProperty(exports, "CardDescription", {
|
|
18725
18740
|
enumerable: true,
|
|
18726
|
-
get: function () { return
|
|
18741
|
+
get: function () { return chunkDLEHM4IA_cjs.CardDescription; }
|
|
18727
18742
|
});
|
|
18728
18743
|
Object.defineProperty(exports, "CardFooter", {
|
|
18729
18744
|
enumerable: true,
|
|
18730
|
-
get: function () { return
|
|
18745
|
+
get: function () { return chunkDLEHM4IA_cjs.CardFooter; }
|
|
18731
18746
|
});
|
|
18732
18747
|
Object.defineProperty(exports, "CardHeader", {
|
|
18733
18748
|
enumerable: true,
|
|
18734
|
-
get: function () { return
|
|
18749
|
+
get: function () { return chunkDLEHM4IA_cjs.CardHeader; }
|
|
18735
18750
|
});
|
|
18736
18751
|
Object.defineProperty(exports, "CardTitle", {
|
|
18737
18752
|
enumerable: true,
|
|
18738
|
-
get: function () { return
|
|
18753
|
+
get: function () { return chunkDLEHM4IA_cjs.CardTitle; }
|
|
18739
18754
|
});
|
|
18740
18755
|
Object.defineProperty(exports, "Checkbox", {
|
|
18741
18756
|
enumerable: true,
|
|
18742
|
-
get: function () { return
|
|
18757
|
+
get: function () { return chunkDLEHM4IA_cjs.Checkbox; }
|
|
18743
18758
|
});
|
|
18744
18759
|
Object.defineProperty(exports, "ClaudeIcon", {
|
|
18745
18760
|
enumerable: true,
|
|
18746
|
-
get: function () { return
|
|
18761
|
+
get: function () { return chunkDLEHM4IA_cjs.ClaudeIcon; }
|
|
18747
18762
|
});
|
|
18748
18763
|
Object.defineProperty(exports, "Collapsible", {
|
|
18749
18764
|
enumerable: true,
|
|
18750
|
-
get: function () { return
|
|
18765
|
+
get: function () { return chunkDLEHM4IA_cjs.Collapsible; }
|
|
18751
18766
|
});
|
|
18752
18767
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
18753
18768
|
enumerable: true,
|
|
18754
|
-
get: function () { return
|
|
18769
|
+
get: function () { return chunkDLEHM4IA_cjs.CollapsibleContent; }
|
|
18755
18770
|
});
|
|
18756
18771
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
18757
18772
|
enumerable: true,
|
|
18758
|
-
get: function () { return
|
|
18773
|
+
get: function () { return chunkDLEHM4IA_cjs.CollapsibleTrigger; }
|
|
18759
18774
|
});
|
|
18760
18775
|
Object.defineProperty(exports, "Command", {
|
|
18761
18776
|
enumerable: true,
|
|
18762
|
-
get: function () { return
|
|
18777
|
+
get: function () { return chunkDLEHM4IA_cjs.Command; }
|
|
18763
18778
|
});
|
|
18764
18779
|
Object.defineProperty(exports, "CommandDialog", {
|
|
18765
18780
|
enumerable: true,
|
|
18766
|
-
get: function () { return
|
|
18781
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandDialog; }
|
|
18767
18782
|
});
|
|
18768
18783
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
18769
18784
|
enumerable: true,
|
|
18770
|
-
get: function () { return
|
|
18785
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandEmpty; }
|
|
18771
18786
|
});
|
|
18772
18787
|
Object.defineProperty(exports, "CommandGroup", {
|
|
18773
18788
|
enumerable: true,
|
|
18774
|
-
get: function () { return
|
|
18789
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandGroup; }
|
|
18775
18790
|
});
|
|
18776
18791
|
Object.defineProperty(exports, "CommandInput", {
|
|
18777
18792
|
enumerable: true,
|
|
18778
|
-
get: function () { return
|
|
18793
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandInput; }
|
|
18779
18794
|
});
|
|
18780
18795
|
Object.defineProperty(exports, "CommandItem", {
|
|
18781
18796
|
enumerable: true,
|
|
18782
|
-
get: function () { return
|
|
18797
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandItem; }
|
|
18783
18798
|
});
|
|
18784
18799
|
Object.defineProperty(exports, "CommandList", {
|
|
18785
18800
|
enumerable: true,
|
|
18786
|
-
get: function () { return
|
|
18801
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandList; }
|
|
18787
18802
|
});
|
|
18788
18803
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
18789
18804
|
enumerable: true,
|
|
18790
|
-
get: function () { return
|
|
18805
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandSeparator; }
|
|
18791
18806
|
});
|
|
18792
18807
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
18793
18808
|
enumerable: true,
|
|
18794
|
-
get: function () { return
|
|
18809
|
+
get: function () { return chunkDLEHM4IA_cjs.CommandShortcut; }
|
|
18795
18810
|
});
|
|
18796
18811
|
Object.defineProperty(exports, "DEFAULT_METADATA_TAGS", {
|
|
18797
18812
|
enumerable: true,
|
|
18798
|
-
get: function () { return
|
|
18813
|
+
get: function () { return chunkDLEHM4IA_cjs.DEFAULT_METADATA_TAGS; }
|
|
18799
18814
|
});
|
|
18800
18815
|
Object.defineProperty(exports, "DebouncedInput", {
|
|
18801
18816
|
enumerable: true,
|
|
18802
|
-
get: function () { return
|
|
18817
|
+
get: function () { return chunkDLEHM4IA_cjs.DebouncedInput; }
|
|
18803
18818
|
});
|
|
18804
18819
|
Object.defineProperty(exports, "DocIcon", {
|
|
18805
18820
|
enumerable: true,
|
|
18806
|
-
get: function () { return
|
|
18821
|
+
get: function () { return chunkDLEHM4IA_cjs.DocIcon; }
|
|
18807
18822
|
});
|
|
18808
18823
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
18809
18824
|
enumerable: true,
|
|
18810
|
-
get: function () { return
|
|
18825
|
+
get: function () { return chunkDLEHM4IA_cjs.DocumentEntity; }
|
|
18811
18826
|
});
|
|
18812
18827
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
18813
18828
|
enumerable: true,
|
|
18814
|
-
get: function () { return
|
|
18829
|
+
get: function () { return chunkDLEHM4IA_cjs.ENTITY_MAPPINGS; }
|
|
18815
18830
|
});
|
|
18816
18831
|
Object.defineProperty(exports, "EmlIcon", {
|
|
18817
18832
|
enumerable: true,
|
|
18818
|
-
get: function () { return
|
|
18833
|
+
get: function () { return chunkDLEHM4IA_cjs.EmlIcon; }
|
|
18819
18834
|
});
|
|
18820
18835
|
Object.defineProperty(exports, "EntityIcon", {
|
|
18821
18836
|
enumerable: true,
|
|
18822
|
-
get: function () { return
|
|
18837
|
+
get: function () { return chunkDLEHM4IA_cjs.EntityIcon; }
|
|
18823
18838
|
});
|
|
18824
18839
|
Object.defineProperty(exports, "EntityPill", {
|
|
18825
18840
|
enumerable: true,
|
|
18826
|
-
get: function () { return
|
|
18841
|
+
get: function () { return chunkDLEHM4IA_cjs.EntityPill; }
|
|
18827
18842
|
});
|
|
18828
18843
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
18829
18844
|
enumerable: true,
|
|
18830
|
-
get: function () { return
|
|
18845
|
+
get: function () { return chunkDLEHM4IA_cjs.FILE_TYPE_COLORS; }
|
|
18831
18846
|
});
|
|
18832
18847
|
Object.defineProperty(exports, "FireworksIcon", {
|
|
18833
18848
|
enumerable: true,
|
|
18834
|
-
get: function () { return
|
|
18849
|
+
get: function () { return chunkDLEHM4IA_cjs.FireworksIcon; }
|
|
18835
18850
|
});
|
|
18836
18851
|
Object.defineProperty(exports, "GeminiIcon", {
|
|
18837
18852
|
enumerable: true,
|
|
18838
|
-
get: function () { return
|
|
18853
|
+
get: function () { return chunkDLEHM4IA_cjs.GeminiIcon; }
|
|
18839
18854
|
});
|
|
18840
18855
|
Object.defineProperty(exports, "GoogleIcon", {
|
|
18841
18856
|
enumerable: true,
|
|
18842
|
-
get: function () { return
|
|
18857
|
+
get: function () { return chunkDLEHM4IA_cjs.GoogleIcon; }
|
|
18843
18858
|
});
|
|
18844
18859
|
Object.defineProperty(exports, "HoverCard", {
|
|
18845
18860
|
enumerable: true,
|
|
18846
|
-
get: function () { return
|
|
18861
|
+
get: function () { return chunkDLEHM4IA_cjs.HoverCard; }
|
|
18847
18862
|
});
|
|
18848
18863
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
18849
18864
|
enumerable: true,
|
|
18850
|
-
get: function () { return
|
|
18865
|
+
get: function () { return chunkDLEHM4IA_cjs.HoverCardContent; }
|
|
18851
18866
|
});
|
|
18852
18867
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
18853
18868
|
enumerable: true,
|
|
18854
|
-
get: function () { return
|
|
18869
|
+
get: function () { return chunkDLEHM4IA_cjs.HoverCardTrigger; }
|
|
18855
18870
|
});
|
|
18856
18871
|
Object.defineProperty(exports, "HtmlIcon", {
|
|
18857
18872
|
enumerable: true,
|
|
18858
|
-
get: function () { return
|
|
18873
|
+
get: function () { return chunkDLEHM4IA_cjs.HtmlIcon; }
|
|
18859
18874
|
});
|
|
18860
18875
|
Object.defineProperty(exports, "IconToggle", {
|
|
18861
18876
|
enumerable: true,
|
|
18862
|
-
get: function () { return
|
|
18877
|
+
get: function () { return chunkDLEHM4IA_cjs.IconToggle; }
|
|
18863
18878
|
});
|
|
18864
18879
|
Object.defineProperty(exports, "ImgIcon", {
|
|
18865
18880
|
enumerable: true,
|
|
18866
|
-
get: function () { return
|
|
18881
|
+
get: function () { return chunkDLEHM4IA_cjs.ImgIcon; }
|
|
18867
18882
|
});
|
|
18868
18883
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
18869
18884
|
enumerable: true,
|
|
18870
|
-
get: function () { return
|
|
18885
|
+
get: function () { return chunkDLEHM4IA_cjs.InlineMicButton; }
|
|
18871
18886
|
});
|
|
18872
18887
|
Object.defineProperty(exports, "Input", {
|
|
18873
18888
|
enumerable: true,
|
|
18874
|
-
get: function () { return
|
|
18889
|
+
get: function () { return chunkDLEHM4IA_cjs.Input; }
|
|
18875
18890
|
});
|
|
18876
18891
|
Object.defineProperty(exports, "Label", {
|
|
18877
18892
|
enumerable: true,
|
|
18878
|
-
get: function () { return
|
|
18893
|
+
get: function () { return chunkDLEHM4IA_cjs.Label; }
|
|
18879
18894
|
});
|
|
18880
18895
|
Object.defineProperty(exports, "MarkMenu", {
|
|
18881
18896
|
enumerable: true,
|
|
18882
|
-
get: function () { return
|
|
18897
|
+
get: function () { return chunkDLEHM4IA_cjs.MarkMenu; }
|
|
18883
18898
|
});
|
|
18884
18899
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
18885
18900
|
enumerable: true,
|
|
18886
|
-
get: function () { return
|
|
18901
|
+
get: function () { return chunkDLEHM4IA_cjs.MicRecordingOverlay; }
|
|
18887
18902
|
});
|
|
18888
18903
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
18889
18904
|
enumerable: true,
|
|
18890
|
-
get: function () { return
|
|
18905
|
+
get: function () { return chunkDLEHM4IA_cjs.MicWaveformIndicator; }
|
|
18891
18906
|
});
|
|
18892
18907
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
18893
18908
|
enumerable: true,
|
|
18894
|
-
get: function () { return
|
|
18909
|
+
get: function () { return chunkDLEHM4IA_cjs.NEUTRAL_GRAY; }
|
|
18895
18910
|
});
|
|
18896
18911
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
18897
18912
|
enumerable: true,
|
|
18898
|
-
get: function () { return
|
|
18913
|
+
get: function () { return chunkDLEHM4IA_cjs.OpenAIIcon; }
|
|
18899
18914
|
});
|
|
18900
18915
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
18901
18916
|
enumerable: true,
|
|
18902
|
-
get: function () { return
|
|
18917
|
+
get: function () { return chunkDLEHM4IA_cjs.PLACEHOLDER_COLOR; }
|
|
18918
|
+
});
|
|
18919
|
+
Object.defineProperty(exports, "PRESENTATIONS_FOLDER", {
|
|
18920
|
+
enumerable: true,
|
|
18921
|
+
get: function () { return chunkDLEHM4IA_cjs.PRESENTATIONS_FOLDER; }
|
|
18922
|
+
});
|
|
18923
|
+
Object.defineProperty(exports, "PRESENTATION_TEMPLATES_FOLDER", {
|
|
18924
|
+
enumerable: true,
|
|
18925
|
+
get: function () { return chunkDLEHM4IA_cjs.PRESENTATION_TEMPLATES_FOLDER; }
|
|
18903
18926
|
});
|
|
18904
18927
|
Object.defineProperty(exports, "PassageCard", {
|
|
18905
18928
|
enumerable: true,
|
|
18906
|
-
get: function () { return
|
|
18929
|
+
get: function () { return chunkDLEHM4IA_cjs.PassageCard; }
|
|
18907
18930
|
});
|
|
18908
18931
|
Object.defineProperty(exports, "PdfIcon", {
|
|
18909
18932
|
enumerable: true,
|
|
18910
|
-
get: function () { return
|
|
18933
|
+
get: function () { return chunkDLEHM4IA_cjs.PdfIcon; }
|
|
18911
18934
|
});
|
|
18912
18935
|
Object.defineProperty(exports, "Popover", {
|
|
18913
18936
|
enumerable: true,
|
|
18914
|
-
get: function () { return
|
|
18937
|
+
get: function () { return chunkDLEHM4IA_cjs.Popover; }
|
|
18915
18938
|
});
|
|
18916
18939
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
18917
18940
|
enumerable: true,
|
|
18918
|
-
get: function () { return
|
|
18941
|
+
get: function () { return chunkDLEHM4IA_cjs.PopoverAnchor; }
|
|
18919
18942
|
});
|
|
18920
18943
|
Object.defineProperty(exports, "PopoverClose", {
|
|
18921
18944
|
enumerable: true,
|
|
18922
|
-
get: function () { return
|
|
18945
|
+
get: function () { return chunkDLEHM4IA_cjs.PopoverClose; }
|
|
18923
18946
|
});
|
|
18924
18947
|
Object.defineProperty(exports, "PopoverContent", {
|
|
18925
18948
|
enumerable: true,
|
|
18926
|
-
get: function () { return
|
|
18949
|
+
get: function () { return chunkDLEHM4IA_cjs.PopoverContent; }
|
|
18927
18950
|
});
|
|
18928
18951
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
18929
18952
|
enumerable: true,
|
|
18930
|
-
get: function () { return
|
|
18953
|
+
get: function () { return chunkDLEHM4IA_cjs.PopoverTrigger; }
|
|
18954
|
+
});
|
|
18955
|
+
Object.defineProperty(exports, "PresIcon", {
|
|
18956
|
+
enumerable: true,
|
|
18957
|
+
get: function () { return chunkDLEHM4IA_cjs.PresIcon; }
|
|
18931
18958
|
});
|
|
18932
18959
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
18933
18960
|
enumerable: true,
|
|
18934
|
-
get: function () { return
|
|
18961
|
+
get: function () { return chunkDLEHM4IA_cjs.PresenceLabel; }
|
|
18935
18962
|
});
|
|
18936
18963
|
Object.defineProperty(exports, "Progress", {
|
|
18937
18964
|
enumerable: true,
|
|
18938
|
-
get: function () { return
|
|
18965
|
+
get: function () { return chunkDLEHM4IA_cjs.Progress; }
|
|
18939
18966
|
});
|
|
18940
18967
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
18941
18968
|
enumerable: true,
|
|
18942
|
-
get: function () { return
|
|
18969
|
+
get: function () { return chunkDLEHM4IA_cjs.ProjectEntity; }
|
|
18943
18970
|
});
|
|
18944
18971
|
Object.defineProperty(exports, "ProviderIcon", {
|
|
18945
18972
|
enumerable: true,
|
|
18946
|
-
get: function () { return
|
|
18973
|
+
get: function () { return chunkDLEHM4IA_cjs.ProviderIcon; }
|
|
18947
18974
|
});
|
|
18948
18975
|
Object.defineProperty(exports, "RadioGroup", {
|
|
18949
18976
|
enumerable: true,
|
|
18950
|
-
get: function () { return
|
|
18977
|
+
get: function () { return chunkDLEHM4IA_cjs.RadioGroup; }
|
|
18951
18978
|
});
|
|
18952
18979
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
18953
18980
|
enumerable: true,
|
|
18954
|
-
get: function () { return
|
|
18981
|
+
get: function () { return chunkDLEHM4IA_cjs.RadioGroupItem; }
|
|
18955
18982
|
});
|
|
18956
18983
|
Object.defineProperty(exports, "SHARING_LABELS", {
|
|
18957
18984
|
enumerable: true,
|
|
18958
|
-
get: function () { return
|
|
18985
|
+
get: function () { return chunkDLEHM4IA_cjs.SHARING_LABELS; }
|
|
18959
18986
|
});
|
|
18960
18987
|
Object.defineProperty(exports, "Select", {
|
|
18961
18988
|
enumerable: true,
|
|
18962
|
-
get: function () { return
|
|
18989
|
+
get: function () { return chunkDLEHM4IA_cjs.Select; }
|
|
18963
18990
|
});
|
|
18964
18991
|
Object.defineProperty(exports, "SelectContent", {
|
|
18965
18992
|
enumerable: true,
|
|
18966
|
-
get: function () { return
|
|
18993
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectContent; }
|
|
18967
18994
|
});
|
|
18968
18995
|
Object.defineProperty(exports, "SelectGroup", {
|
|
18969
18996
|
enumerable: true,
|
|
18970
|
-
get: function () { return
|
|
18997
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectGroup; }
|
|
18971
18998
|
});
|
|
18972
18999
|
Object.defineProperty(exports, "SelectItem", {
|
|
18973
19000
|
enumerable: true,
|
|
18974
|
-
get: function () { return
|
|
19001
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectItem; }
|
|
18975
19002
|
});
|
|
18976
19003
|
Object.defineProperty(exports, "SelectLabel", {
|
|
18977
19004
|
enumerable: true,
|
|
18978
|
-
get: function () { return
|
|
19005
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectLabel; }
|
|
18979
19006
|
});
|
|
18980
19007
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
18981
19008
|
enumerable: true,
|
|
18982
|
-
get: function () { return
|
|
19009
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectScrollDownButton; }
|
|
18983
19010
|
});
|
|
18984
19011
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
18985
19012
|
enumerable: true,
|
|
18986
|
-
get: function () { return
|
|
19013
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectScrollUpButton; }
|
|
18987
19014
|
});
|
|
18988
19015
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
18989
19016
|
enumerable: true,
|
|
18990
|
-
get: function () { return
|
|
19017
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectSeparator; }
|
|
18991
19018
|
});
|
|
18992
19019
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
18993
19020
|
enumerable: true,
|
|
18994
|
-
get: function () { return
|
|
19021
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectTrigger; }
|
|
18995
19022
|
});
|
|
18996
19023
|
Object.defineProperty(exports, "SelectValue", {
|
|
18997
19024
|
enumerable: true,
|
|
18998
|
-
get: function () { return
|
|
19025
|
+
get: function () { return chunkDLEHM4IA_cjs.SelectValue; }
|
|
18999
19026
|
});
|
|
19000
19027
|
Object.defineProperty(exports, "Separator", {
|
|
19001
19028
|
enumerable: true,
|
|
19002
|
-
get: function () { return
|
|
19029
|
+
get: function () { return chunkDLEHM4IA_cjs.Separator; }
|
|
19003
19030
|
});
|
|
19004
19031
|
Object.defineProperty(exports, "SharingEntity", {
|
|
19005
19032
|
enumerable: true,
|
|
19006
|
-
get: function () { return
|
|
19033
|
+
get: function () { return chunkDLEHM4IA_cjs.SharingEntity; }
|
|
19007
19034
|
});
|
|
19008
19035
|
Object.defineProperty(exports, "ShieldIcon", {
|
|
19009
19036
|
enumerable: true,
|
|
19010
|
-
get: function () { return
|
|
19037
|
+
get: function () { return chunkDLEHM4IA_cjs.ShieldIcon; }
|
|
19011
19038
|
});
|
|
19012
19039
|
Object.defineProperty(exports, "Slider", {
|
|
19013
19040
|
enumerable: true,
|
|
19014
|
-
get: function () { return
|
|
19041
|
+
get: function () { return chunkDLEHM4IA_cjs.Slider; }
|
|
19015
19042
|
});
|
|
19016
19043
|
Object.defineProperty(exports, "StatusPill", {
|
|
19017
19044
|
enumerable: true,
|
|
19018
|
-
get: function () { return
|
|
19045
|
+
get: function () { return chunkDLEHM4IA_cjs.StatusPill; }
|
|
19019
19046
|
});
|
|
19020
19047
|
Object.defineProperty(exports, "Switch", {
|
|
19021
19048
|
enumerable: true,
|
|
19022
|
-
get: function () { return
|
|
19049
|
+
get: function () { return chunkDLEHM4IA_cjs.Switch; }
|
|
19023
19050
|
});
|
|
19024
19051
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
19025
19052
|
enumerable: true,
|
|
19026
|
-
get: function () { return
|
|
19053
|
+
get: function () { return chunkDLEHM4IA_cjs.TAG_TYPE_ICONS; }
|
|
19027
19054
|
});
|
|
19028
19055
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
19029
19056
|
enumerable: true,
|
|
19030
|
-
get: function () { return
|
|
19057
|
+
get: function () { return chunkDLEHM4IA_cjs.TAG_TYPE_LABELS; }
|
|
19031
19058
|
});
|
|
19032
19059
|
Object.defineProperty(exports, "Table", {
|
|
19033
19060
|
enumerable: true,
|
|
19034
|
-
get: function () { return
|
|
19061
|
+
get: function () { return chunkDLEHM4IA_cjs.Table; }
|
|
19035
19062
|
});
|
|
19036
19063
|
Object.defineProperty(exports, "TableBody", {
|
|
19037
19064
|
enumerable: true,
|
|
19038
|
-
get: function () { return
|
|
19065
|
+
get: function () { return chunkDLEHM4IA_cjs.TableBody; }
|
|
19039
19066
|
});
|
|
19040
19067
|
Object.defineProperty(exports, "TableCaption", {
|
|
19041
19068
|
enumerable: true,
|
|
19042
|
-
get: function () { return
|
|
19069
|
+
get: function () { return chunkDLEHM4IA_cjs.TableCaption; }
|
|
19043
19070
|
});
|
|
19044
19071
|
Object.defineProperty(exports, "TableCell", {
|
|
19045
19072
|
enumerable: true,
|
|
19046
|
-
get: function () { return
|
|
19073
|
+
get: function () { return chunkDLEHM4IA_cjs.TableCell; }
|
|
19047
19074
|
});
|
|
19048
19075
|
Object.defineProperty(exports, "TableFooter", {
|
|
19049
19076
|
enumerable: true,
|
|
19050
|
-
get: function () { return
|
|
19077
|
+
get: function () { return chunkDLEHM4IA_cjs.TableFooter; }
|
|
19051
19078
|
});
|
|
19052
19079
|
Object.defineProperty(exports, "TableHead", {
|
|
19053
19080
|
enumerable: true,
|
|
19054
|
-
get: function () { return
|
|
19081
|
+
get: function () { return chunkDLEHM4IA_cjs.TableHead; }
|
|
19055
19082
|
});
|
|
19056
19083
|
Object.defineProperty(exports, "TableHeader", {
|
|
19057
19084
|
enumerable: true,
|
|
19058
|
-
get: function () { return
|
|
19085
|
+
get: function () { return chunkDLEHM4IA_cjs.TableHeader; }
|
|
19059
19086
|
});
|
|
19060
19087
|
Object.defineProperty(exports, "TableRow", {
|
|
19061
19088
|
enumerable: true,
|
|
19062
|
-
get: function () { return
|
|
19089
|
+
get: function () { return chunkDLEHM4IA_cjs.TableRow; }
|
|
19063
19090
|
});
|
|
19064
19091
|
Object.defineProperty(exports, "Tabs", {
|
|
19065
19092
|
enumerable: true,
|
|
19066
|
-
get: function () { return
|
|
19093
|
+
get: function () { return chunkDLEHM4IA_cjs.Tabs; }
|
|
19067
19094
|
});
|
|
19068
19095
|
Object.defineProperty(exports, "TabsContent", {
|
|
19069
19096
|
enumerable: true,
|
|
19070
|
-
get: function () { return
|
|
19097
|
+
get: function () { return chunkDLEHM4IA_cjs.TabsContent; }
|
|
19071
19098
|
});
|
|
19072
19099
|
Object.defineProperty(exports, "TabsList", {
|
|
19073
19100
|
enumerable: true,
|
|
19074
|
-
get: function () { return
|
|
19101
|
+
get: function () { return chunkDLEHM4IA_cjs.TabsList; }
|
|
19075
19102
|
});
|
|
19076
19103
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
19077
19104
|
enumerable: true,
|
|
19078
|
-
get: function () { return
|
|
19105
|
+
get: function () { return chunkDLEHM4IA_cjs.TabsTrigger; }
|
|
19079
19106
|
});
|
|
19080
19107
|
Object.defineProperty(exports, "TagEntity", {
|
|
19081
19108
|
enumerable: true,
|
|
19082
|
-
get: function () { return
|
|
19109
|
+
get: function () { return chunkDLEHM4IA_cjs.TagEntity; }
|
|
19083
19110
|
});
|
|
19084
19111
|
Object.defineProperty(exports, "Textarea", {
|
|
19085
19112
|
enumerable: true,
|
|
19086
|
-
get: function () { return
|
|
19113
|
+
get: function () { return chunkDLEHM4IA_cjs.Textarea; }
|
|
19087
19114
|
});
|
|
19088
19115
|
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
19089
19116
|
enumerable: true,
|
|
19090
|
-
get: function () { return
|
|
19117
|
+
get: function () { return chunkDLEHM4IA_cjs.ThreadVisibilityIcon; }
|
|
19091
19118
|
});
|
|
19092
19119
|
Object.defineProperty(exports, "Toggle", {
|
|
19093
19120
|
enumerable: true,
|
|
19094
|
-
get: function () { return
|
|
19121
|
+
get: function () { return chunkDLEHM4IA_cjs.Toggle; }
|
|
19095
19122
|
});
|
|
19096
19123
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
19097
19124
|
enumerable: true,
|
|
19098
|
-
get: function () { return
|
|
19125
|
+
get: function () { return chunkDLEHM4IA_cjs.ToggleGroup; }
|
|
19099
19126
|
});
|
|
19100
19127
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
19101
19128
|
enumerable: true,
|
|
19102
|
-
get: function () { return
|
|
19129
|
+
get: function () { return chunkDLEHM4IA_cjs.ToggleGroupItem; }
|
|
19103
19130
|
});
|
|
19104
19131
|
Object.defineProperty(exports, "Tooltip", {
|
|
19105
19132
|
enumerable: true,
|
|
19106
|
-
get: function () { return
|
|
19133
|
+
get: function () { return chunkDLEHM4IA_cjs.Tooltip; }
|
|
19107
19134
|
});
|
|
19108
19135
|
Object.defineProperty(exports, "TooltipContent", {
|
|
19109
19136
|
enumerable: true,
|
|
19110
|
-
get: function () { return
|
|
19137
|
+
get: function () { return chunkDLEHM4IA_cjs.TooltipContent; }
|
|
19111
19138
|
});
|
|
19112
19139
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
19113
19140
|
enumerable: true,
|
|
19114
|
-
get: function () { return
|
|
19141
|
+
get: function () { return chunkDLEHM4IA_cjs.TooltipProvider; }
|
|
19115
19142
|
});
|
|
19116
19143
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
19117
19144
|
enumerable: true,
|
|
19118
|
-
get: function () { return
|
|
19145
|
+
get: function () { return chunkDLEHM4IA_cjs.TooltipTrigger; }
|
|
19119
19146
|
});
|
|
19120
19147
|
Object.defineProperty(exports, "TxtIcon", {
|
|
19121
19148
|
enumerable: true,
|
|
19122
|
-
get: function () { return
|
|
19149
|
+
get: function () { return chunkDLEHM4IA_cjs.TxtIcon; }
|
|
19123
19150
|
});
|
|
19124
19151
|
Object.defineProperty(exports, "UserEntity", {
|
|
19125
19152
|
enumerable: true,
|
|
19126
|
-
get: function () { return
|
|
19153
|
+
get: function () { return chunkDLEHM4IA_cjs.UserEntity; }
|
|
19127
19154
|
});
|
|
19128
19155
|
Object.defineProperty(exports, "UserMenu", {
|
|
19129
19156
|
enumerable: true,
|
|
19130
|
-
get: function () { return
|
|
19157
|
+
get: function () { return chunkDLEHM4IA_cjs.UserMenu; }
|
|
19131
19158
|
});
|
|
19132
19159
|
Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
|
|
19133
19160
|
enumerable: true,
|
|
19134
|
-
get: function () { return
|
|
19161
|
+
get: function () { return chunkDLEHM4IA_cjs.VIDEO_MIME_PREFERENCE; }
|
|
19135
19162
|
});
|
|
19136
19163
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
19137
19164
|
enumerable: true,
|
|
19138
|
-
get: function () { return
|
|
19165
|
+
get: function () { return chunkDLEHM4IA_cjs.VISIBILITY_ICONS; }
|
|
19139
19166
|
});
|
|
19140
19167
|
Object.defineProperty(exports, "VerifiedBadge", {
|
|
19141
19168
|
enumerable: true,
|
|
19142
|
-
get: function () { return
|
|
19169
|
+
get: function () { return chunkDLEHM4IA_cjs.VerifiedBadge; }
|
|
19143
19170
|
});
|
|
19144
19171
|
Object.defineProperty(exports, "VerifiedToggle", {
|
|
19145
19172
|
enumerable: true,
|
|
19146
|
-
get: function () { return
|
|
19173
|
+
get: function () { return chunkDLEHM4IA_cjs.VerifiedToggle; }
|
|
19147
19174
|
});
|
|
19148
19175
|
Object.defineProperty(exports, "VidIcon", {
|
|
19149
19176
|
enumerable: true,
|
|
19150
|
-
get: function () { return
|
|
19177
|
+
get: function () { return chunkDLEHM4IA_cjs.VidIcon; }
|
|
19151
19178
|
});
|
|
19152
19179
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
19153
19180
|
enumerable: true,
|
|
19154
|
-
get: function () { return
|
|
19181
|
+
get: function () { return chunkDLEHM4IA_cjs.VisibilityIcon; }
|
|
19155
19182
|
});
|
|
19156
19183
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
19157
19184
|
enumerable: true,
|
|
19158
|
-
get: function () { return
|
|
19185
|
+
get: function () { return chunkDLEHM4IA_cjs.VisibilityToggle; }
|
|
19159
19186
|
});
|
|
19160
19187
|
Object.defineProperty(exports, "XlsIcon", {
|
|
19161
19188
|
enumerable: true,
|
|
19162
|
-
get: function () { return
|
|
19189
|
+
get: function () { return chunkDLEHM4IA_cjs.XlsIcon; }
|
|
19163
19190
|
});
|
|
19164
19191
|
Object.defineProperty(exports, "agentAvatarColors", {
|
|
19165
19192
|
enumerable: true,
|
|
19166
|
-
get: function () { return
|
|
19193
|
+
get: function () { return chunkDLEHM4IA_cjs.agentAvatarColors; }
|
|
19167
19194
|
});
|
|
19168
19195
|
Object.defineProperty(exports, "badgeVariants", {
|
|
19169
19196
|
enumerable: true,
|
|
19170
|
-
get: function () { return
|
|
19197
|
+
get: function () { return chunkDLEHM4IA_cjs.badgeVariants; }
|
|
19171
19198
|
});
|
|
19172
19199
|
Object.defineProperty(exports, "buildFolderTree", {
|
|
19173
19200
|
enumerable: true,
|
|
19174
|
-
get: function () { return
|
|
19201
|
+
get: function () { return chunkDLEHM4IA_cjs.buildFolderTree; }
|
|
19175
19202
|
});
|
|
19176
19203
|
Object.defineProperty(exports, "canonicalFolderPath", {
|
|
19177
19204
|
enumerable: true,
|
|
19178
|
-
get: function () { return
|
|
19205
|
+
get: function () { return chunkDLEHM4IA_cjs.canonicalFolderPath; }
|
|
19179
19206
|
});
|
|
19180
19207
|
Object.defineProperty(exports, "cardVariants", {
|
|
19181
19208
|
enumerable: true,
|
|
19182
|
-
get: function () { return
|
|
19209
|
+
get: function () { return chunkDLEHM4IA_cjs.cardVariants; }
|
|
19183
19210
|
});
|
|
19184
19211
|
Object.defineProperty(exports, "classifyMediaError", {
|
|
19185
19212
|
enumerable: true,
|
|
19186
|
-
get: function () { return
|
|
19213
|
+
get: function () { return chunkDLEHM4IA_cjs.classifyMediaError; }
|
|
19187
19214
|
});
|
|
19188
19215
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
19189
19216
|
enumerable: true,
|
|
19190
|
-
get: function () { return
|
|
19217
|
+
get: function () { return chunkDLEHM4IA_cjs.configureEntityRegistry; }
|
|
19191
19218
|
});
|
|
19192
19219
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
19193
19220
|
enumerable: true,
|
|
19194
|
-
get: function () { return
|
|
19221
|
+
get: function () { return chunkDLEHM4IA_cjs.configureRagLabels; }
|
|
19195
19222
|
});
|
|
19196
19223
|
Object.defineProperty(exports, "configureSharingMembers", {
|
|
19197
19224
|
enumerable: true,
|
|
19198
|
-
get: function () { return
|
|
19225
|
+
get: function () { return chunkDLEHM4IA_cjs.configureSharingMembers; }
|
|
19199
19226
|
});
|
|
19200
19227
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
19201
19228
|
enumerable: true,
|
|
19202
|
-
get: function () { return
|
|
19229
|
+
get: function () { return chunkDLEHM4IA_cjs.configureStatusRegistry; }
|
|
19203
19230
|
});
|
|
19204
19231
|
Object.defineProperty(exports, "createChunkedRecorder", {
|
|
19205
19232
|
enumerable: true,
|
|
19206
|
-
get: function () { return
|
|
19233
|
+
get: function () { return chunkDLEHM4IA_cjs.createChunkedRecorder; }
|
|
19207
19234
|
});
|
|
19208
19235
|
Object.defineProperty(exports, "entityNoun", {
|
|
19209
19236
|
enumerable: true,
|
|
19210
|
-
get: function () { return
|
|
19237
|
+
get: function () { return chunkDLEHM4IA_cjs.entityNoun; }
|
|
19211
19238
|
});
|
|
19212
19239
|
Object.defineProperty(exports, "extensionFromMime", {
|
|
19213
19240
|
enumerable: true,
|
|
19214
|
-
get: function () { return
|
|
19241
|
+
get: function () { return chunkDLEHM4IA_cjs.extensionFromMime; }
|
|
19215
19242
|
});
|
|
19216
19243
|
Object.defineProperty(exports, "formatCompactLastSeen", {
|
|
19217
19244
|
enumerable: true,
|
|
19218
|
-
get: function () { return
|
|
19245
|
+
get: function () { return chunkDLEHM4IA_cjs.formatCompactLastSeen; }
|
|
19219
19246
|
});
|
|
19220
19247
|
Object.defineProperty(exports, "formatDocDate", {
|
|
19221
19248
|
enumerable: true,
|
|
19222
|
-
get: function () { return
|
|
19249
|
+
get: function () { return chunkDLEHM4IA_cjs.formatDocDate; }
|
|
19223
19250
|
});
|
|
19224
19251
|
Object.defineProperty(exports, "formatElapsed", {
|
|
19225
19252
|
enumerable: true,
|
|
19226
|
-
get: function () { return
|
|
19253
|
+
get: function () { return chunkDLEHM4IA_cjs.formatElapsed; }
|
|
19227
19254
|
});
|
|
19228
19255
|
Object.defineProperty(exports, "formatFolderLabel", {
|
|
19229
19256
|
enumerable: true,
|
|
19230
|
-
get: function () { return
|
|
19257
|
+
get: function () { return chunkDLEHM4IA_cjs.formatFolderLabel; }
|
|
19231
19258
|
});
|
|
19232
19259
|
Object.defineProperty(exports, "formatFriendlyDate", {
|
|
19233
19260
|
enumerable: true,
|
|
19234
|
-
get: function () { return
|
|
19261
|
+
get: function () { return chunkDLEHM4IA_cjs.formatFriendlyDate; }
|
|
19235
19262
|
});
|
|
19236
19263
|
Object.defineProperty(exports, "friendlyFileType", {
|
|
19237
19264
|
enumerable: true,
|
|
19238
|
-
get: function () { return
|
|
19265
|
+
get: function () { return chunkDLEHM4IA_cjs.friendlyFileType; }
|
|
19239
19266
|
});
|
|
19240
19267
|
Object.defineProperty(exports, "getDocIcon", {
|
|
19241
19268
|
enumerable: true,
|
|
19242
|
-
get: function () { return
|
|
19269
|
+
get: function () { return chunkDLEHM4IA_cjs.getDocIcon; }
|
|
19243
19270
|
});
|
|
19244
19271
|
Object.defineProperty(exports, "getDocumentAuthor", {
|
|
19245
19272
|
enumerable: true,
|
|
19246
|
-
get: function () { return
|
|
19273
|
+
get: function () { return chunkDLEHM4IA_cjs.getDocumentAuthor; }
|
|
19247
19274
|
});
|
|
19248
19275
|
Object.defineProperty(exports, "getDocumentDate", {
|
|
19249
19276
|
enumerable: true,
|
|
19250
|
-
get: function () { return
|
|
19277
|
+
get: function () { return chunkDLEHM4IA_cjs.getDocumentDate; }
|
|
19251
19278
|
});
|
|
19252
19279
|
Object.defineProperty(exports, "getDocumentNature", {
|
|
19253
19280
|
enumerable: true,
|
|
19254
|
-
get: function () { return
|
|
19281
|
+
get: function () { return chunkDLEHM4IA_cjs.getDocumentNature; }
|
|
19255
19282
|
});
|
|
19256
19283
|
Object.defineProperty(exports, "getDocumentSubject", {
|
|
19257
19284
|
enumerable: true,
|
|
19258
|
-
get: function () { return
|
|
19285
|
+
get: function () { return chunkDLEHM4IA_cjs.getDocumentSubject; }
|
|
19259
19286
|
});
|
|
19260
19287
|
Object.defineProperty(exports, "getDocumentTitle", {
|
|
19261
19288
|
enumerable: true,
|
|
19262
|
-
get: function () { return
|
|
19289
|
+
get: function () { return chunkDLEHM4IA_cjs.getDocumentTitle; }
|
|
19263
19290
|
});
|
|
19264
19291
|
Object.defineProperty(exports, "getEntityColor", {
|
|
19265
19292
|
enumerable: true,
|
|
19266
|
-
get: function () { return
|
|
19293
|
+
get: function () { return chunkDLEHM4IA_cjs.getEntityColor; }
|
|
19267
19294
|
});
|
|
19268
19295
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
19269
19296
|
enumerable: true,
|
|
19270
|
-
get: function () { return
|
|
19297
|
+
get: function () { return chunkDLEHM4IA_cjs.getEntityColorStyles; }
|
|
19271
19298
|
});
|
|
19272
19299
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
19273
19300
|
enumerable: true,
|
|
19274
|
-
get: function () { return
|
|
19301
|
+
get: function () { return chunkDLEHM4IA_cjs.getEntityIcon; }
|
|
19275
19302
|
});
|
|
19276
19303
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
19277
19304
|
enumerable: true,
|
|
19278
|
-
get: function () { return
|
|
19305
|
+
get: function () { return chunkDLEHM4IA_cjs.getEntityLabel; }
|
|
19279
19306
|
});
|
|
19280
19307
|
Object.defineProperty(exports, "getFileExtension", {
|
|
19281
19308
|
enumerable: true,
|
|
19282
|
-
get: function () { return
|
|
19309
|
+
get: function () { return chunkDLEHM4IA_cjs.getFileExtension; }
|
|
19283
19310
|
});
|
|
19284
19311
|
Object.defineProperty(exports, "getFileTypeIcon", {
|
|
19285
19312
|
enumerable: true,
|
|
19286
|
-
get: function () { return
|
|
19313
|
+
get: function () { return chunkDLEHM4IA_cjs.getFileTypeIcon; }
|
|
19287
19314
|
});
|
|
19288
19315
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
19289
19316
|
enumerable: true,
|
|
19290
|
-
get: function () { return
|
|
19317
|
+
get: function () { return chunkDLEHM4IA_cjs.getStatusVariant; }
|
|
19291
19318
|
});
|
|
19292
19319
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
19293
19320
|
enumerable: true,
|
|
19294
|
-
get: function () { return
|
|
19321
|
+
get: function () { return chunkDLEHM4IA_cjs.getTagTypeIcon; }
|
|
19295
19322
|
});
|
|
19296
19323
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
19297
19324
|
enumerable: true,
|
|
19298
|
-
get: function () { return
|
|
19325
|
+
get: function () { return chunkDLEHM4IA_cjs.getTagTypeLabel; }
|
|
19299
19326
|
});
|
|
19300
19327
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
19301
19328
|
enumerable: true,
|
|
19302
|
-
get: function () { return
|
|
19329
|
+
get: function () { return chunkDLEHM4IA_cjs.getWorkspaceColor; }
|
|
19303
19330
|
});
|
|
19304
19331
|
Object.defineProperty(exports, "isAudioFile", {
|
|
19305
19332
|
enumerable: true,
|
|
19306
|
-
get: function () { return
|
|
19333
|
+
get: function () { return chunkDLEHM4IA_cjs.isAudioFile; }
|
|
19307
19334
|
});
|
|
19308
19335
|
Object.defineProperty(exports, "isDocumentAddableToConversation", {
|
|
19309
19336
|
enumerable: true,
|
|
19310
|
-
get: function () { return
|
|
19337
|
+
get: function () { return chunkDLEHM4IA_cjs.isDocumentAddableToConversation; }
|
|
19311
19338
|
});
|
|
19312
19339
|
Object.defineProperty(exports, "isDownloadOnlyFile", {
|
|
19313
19340
|
enumerable: true,
|
|
19314
|
-
get: function () { return
|
|
19341
|
+
get: function () { return chunkDLEHM4IA_cjs.isDownloadOnlyFile; }
|
|
19315
19342
|
});
|
|
19316
19343
|
Object.defineProperty(exports, "isImageDocument", {
|
|
19317
19344
|
enumerable: true,
|
|
19318
|
-
get: function () { return
|
|
19345
|
+
get: function () { return chunkDLEHM4IA_cjs.isImageDocument; }
|
|
19319
19346
|
});
|
|
19320
19347
|
Object.defineProperty(exports, "isImageFile", {
|
|
19321
19348
|
enumerable: true,
|
|
19322
|
-
get: function () { return
|
|
19349
|
+
get: function () { return chunkDLEHM4IA_cjs.isImageFile; }
|
|
19323
19350
|
});
|
|
19324
19351
|
Object.defineProperty(exports, "isMediaFile", {
|
|
19325
19352
|
enumerable: true,
|
|
19326
|
-
get: function () { return
|
|
19353
|
+
get: function () { return chunkDLEHM4IA_cjs.isMediaFile; }
|
|
19354
|
+
});
|
|
19355
|
+
Object.defineProperty(exports, "isPresentationFileName", {
|
|
19356
|
+
enumerable: true,
|
|
19357
|
+
get: function () { return chunkDLEHM4IA_cjs.isPresentationFileName; }
|
|
19327
19358
|
});
|
|
19328
19359
|
Object.defineProperty(exports, "isVideoFile", {
|
|
19329
19360
|
enumerable: true,
|
|
19330
|
-
get: function () { return
|
|
19361
|
+
get: function () { return chunkDLEHM4IA_cjs.isVideoFile; }
|
|
19331
19362
|
});
|
|
19332
19363
|
Object.defineProperty(exports, "markdownToPlainText", {
|
|
19333
19364
|
enumerable: true,
|
|
19334
|
-
get: function () { return
|
|
19365
|
+
get: function () { return chunkDLEHM4IA_cjs.markdownToPlainText; }
|
|
19335
19366
|
});
|
|
19336
19367
|
Object.defineProperty(exports, "markdownToPlainTextBlocks", {
|
|
19337
19368
|
enumerable: true,
|
|
19338
|
-
get: function () { return
|
|
19369
|
+
get: function () { return chunkDLEHM4IA_cjs.markdownToPlainTextBlocks; }
|
|
19339
19370
|
});
|
|
19340
19371
|
Object.defineProperty(exports, "pickRecorderMimeType", {
|
|
19341
19372
|
enumerable: true,
|
|
19342
|
-
get: function () { return
|
|
19373
|
+
get: function () { return chunkDLEHM4IA_cjs.pickRecorderMimeType; }
|
|
19343
19374
|
});
|
|
19344
19375
|
Object.defineProperty(exports, "tagKindNouns", {
|
|
19345
19376
|
enumerable: true,
|
|
19346
|
-
get: function () { return
|
|
19377
|
+
get: function () { return chunkDLEHM4IA_cjs.tagKindNouns; }
|
|
19347
19378
|
});
|
|
19348
19379
|
Object.defineProperty(exports, "tagKindTitle", {
|
|
19349
19380
|
enumerable: true,
|
|
19350
|
-
get: function () { return
|
|
19381
|
+
get: function () { return chunkDLEHM4IA_cjs.tagKindTitle; }
|
|
19351
19382
|
});
|
|
19352
19383
|
Object.defineProperty(exports, "toggleVariants", {
|
|
19353
19384
|
enumerable: true,
|
|
19354
|
-
get: function () { return
|
|
19385
|
+
get: function () { return chunkDLEHM4IA_cjs.toggleVariants; }
|
|
19355
19386
|
});
|
|
19356
19387
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
19357
19388
|
enumerable: true,
|
|
19358
|
-
get: function () { return
|
|
19389
|
+
get: function () { return chunkDLEHM4IA_cjs.useAudioRecorder; }
|
|
19359
19390
|
});
|
|
19360
19391
|
Object.defineProperty(exports, "useDictateContext", {
|
|
19361
19392
|
enumerable: true,
|
|
19362
|
-
get: function () { return
|
|
19393
|
+
get: function () { return chunkDLEHM4IA_cjs.useDictateContext; }
|
|
19363
19394
|
});
|
|
19364
19395
|
Object.defineProperty(exports, "usesOriginalBytesForViewer", {
|
|
19365
19396
|
enumerable: true,
|
|
19366
|
-
get: function () { return
|
|
19367
|
-
});
|
|
19368
|
-
Object.defineProperty(exports, "lazyChunk", {
|
|
19369
|
-
enumerable: true,
|
|
19370
|
-
get: function () { return chunkT5FZICXN_cjs.lazyChunk; }
|
|
19371
|
-
});
|
|
19372
|
-
Object.defineProperty(exports, "lazyComponent", {
|
|
19373
|
-
enumerable: true,
|
|
19374
|
-
get: function () { return chunkT5FZICXN_cjs.lazyComponent; }
|
|
19375
|
-
});
|
|
19376
|
-
Object.defineProperty(exports, "preloadChunks", {
|
|
19377
|
-
enumerable: true,
|
|
19378
|
-
get: function () { return chunkT5FZICXN_cjs.preloadChunks; }
|
|
19397
|
+
get: function () { return chunkDLEHM4IA_cjs.usesOriginalBytesForViewer; }
|
|
19379
19398
|
});
|
|
19380
19399
|
Object.defineProperty(exports, "Avatar", {
|
|
19381
19400
|
enumerable: true,
|
|
@@ -19429,6 +19448,18 @@ Object.defineProperty(exports, "stepSegmenter", {
|
|
|
19429
19448
|
enumerable: true,
|
|
19430
19449
|
get: function () { return chunkEEIYXVM4_cjs.stepSegmenter; }
|
|
19431
19450
|
});
|
|
19451
|
+
Object.defineProperty(exports, "lazyChunk", {
|
|
19452
|
+
enumerable: true,
|
|
19453
|
+
get: function () { return chunkT5FZICXN_cjs.lazyChunk; }
|
|
19454
|
+
});
|
|
19455
|
+
Object.defineProperty(exports, "lazyComponent", {
|
|
19456
|
+
enumerable: true,
|
|
19457
|
+
get: function () { return chunkT5FZICXN_cjs.lazyComponent; }
|
|
19458
|
+
});
|
|
19459
|
+
Object.defineProperty(exports, "preloadChunks", {
|
|
19460
|
+
enumerable: true,
|
|
19461
|
+
get: function () { return chunkT5FZICXN_cjs.preloadChunks; }
|
|
19462
|
+
});
|
|
19432
19463
|
Object.defineProperty(exports, "MarkdownCode", {
|
|
19433
19464
|
enumerable: true,
|
|
19434
19465
|
get: function () { return chunkMXP4O4DI_cjs.MarkdownCode; }
|
|
@@ -19521,22 +19552,6 @@ Object.defineProperty(exports, "formatRelativeTime", {
|
|
|
19521
19552
|
enumerable: true,
|
|
19522
19553
|
get: function () { return chunkKC474WVG_cjs.formatRelativeTime; }
|
|
19523
19554
|
});
|
|
19524
|
-
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
19525
|
-
enumerable: true,
|
|
19526
|
-
get: function () { return chunk5NOZDH3F_cjs.closeOpenEmphasis; }
|
|
19527
|
-
});
|
|
19528
|
-
Object.defineProperty(exports, "normalizeCitationMarkup", {
|
|
19529
|
-
enumerable: true,
|
|
19530
|
-
get: function () { return chunk5NOZDH3F_cjs.normalizeCitationMarkup; }
|
|
19531
|
-
});
|
|
19532
|
-
Object.defineProperty(exports, "trimOpenCitation", {
|
|
19533
|
-
enumerable: true,
|
|
19534
|
-
get: function () { return chunk5NOZDH3F_cjs.trimOpenCitation; }
|
|
19535
|
-
});
|
|
19536
|
-
Object.defineProperty(exports, "useHostConfigRecord", {
|
|
19537
|
-
enumerable: true,
|
|
19538
|
-
get: function () { return chunk5NOZDH3F_cjs.useHostConfigRecord; }
|
|
19539
|
-
});
|
|
19540
19555
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
19541
19556
|
enumerable: true,
|
|
19542
19557
|
get: function () { return chunkHJDR5HEO_cjs.DropdownMenu; }
|
|
@@ -19605,6 +19620,22 @@ Object.defineProperty(exports, "usePortalContainer", {
|
|
|
19605
19620
|
enumerable: true,
|
|
19606
19621
|
get: function () { return chunkHJDR5HEO_cjs.usePortalContainer; }
|
|
19607
19622
|
});
|
|
19623
|
+
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
19624
|
+
enumerable: true,
|
|
19625
|
+
get: function () { return chunk5NOZDH3F_cjs.closeOpenEmphasis; }
|
|
19626
|
+
});
|
|
19627
|
+
Object.defineProperty(exports, "normalizeCitationMarkup", {
|
|
19628
|
+
enumerable: true,
|
|
19629
|
+
get: function () { return chunk5NOZDH3F_cjs.normalizeCitationMarkup; }
|
|
19630
|
+
});
|
|
19631
|
+
Object.defineProperty(exports, "trimOpenCitation", {
|
|
19632
|
+
enumerable: true,
|
|
19633
|
+
get: function () { return chunk5NOZDH3F_cjs.trimOpenCitation; }
|
|
19634
|
+
});
|
|
19635
|
+
Object.defineProperty(exports, "useHostConfigRecord", {
|
|
19636
|
+
enumerable: true,
|
|
19637
|
+
get: function () { return chunk5NOZDH3F_cjs.useHostConfigRecord; }
|
|
19638
|
+
});
|
|
19608
19639
|
Object.defineProperty(exports, "cn", {
|
|
19609
19640
|
enumerable: true,
|
|
19610
19641
|
get: function () { return chunkS6A6FSG7_cjs.cn; }
|
|
@@ -19878,6 +19909,7 @@ exports.fileAttachment = fileAttachment;
|
|
|
19878
19909
|
exports.filesFromDrop = filesFromDrop;
|
|
19879
19910
|
exports.fillTimeGaps = fillTimeGaps;
|
|
19880
19911
|
exports.filterRows = filterRows;
|
|
19912
|
+
exports.flushDocumentForTurn = flushDocumentForTurn;
|
|
19881
19913
|
exports.flushStreamingTokens = flushStreamingTokens;
|
|
19882
19914
|
exports.forgetUploadedDocumentFolder = forgetUploadedDocumentFolder;
|
|
19883
19915
|
exports.formatConfigValidationError = formatConfigValidationError;
|
|
@@ -19953,6 +19985,7 @@ exports.redlineStats = redlineStats;
|
|
|
19953
19985
|
exports.refuseChatWhenOffline = refuseChatWhenOffline;
|
|
19954
19986
|
exports.registerArbiMutationDefaults = registerArbiMutationDefaults;
|
|
19955
19987
|
exports.registerAttachedRun = registerAttachedRun;
|
|
19988
|
+
exports.registerDocumentTurnFlush = registerDocumentTurnFlush;
|
|
19956
19989
|
exports.remoteControlActions = remoteControlActions;
|
|
19957
19990
|
exports.remoteControlStateOf = remoteControlStateOf;
|
|
19958
19991
|
exports.removeSettledNarration = removeSettledNarration;
|