@arbidocs/react 0.5.130 → 0.5.132
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/artifacts/index.cjs +2 -2
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/{chunk-PH3RGDYE.cjs → chunk-MDSWUCCL.cjs} +28 -4
- package/dist/chunk-MDSWUCCL.cjs.map +1 -0
- package/dist/{chunk-NT3SMYRP.cjs → chunk-VUU32OVP.cjs} +5 -5
- package/dist/{chunk-NT3SMYRP.cjs.map → chunk-VUU32OVP.cjs.map} +1 -1
- package/dist/contacts.js +11 -0
- package/dist/contacts.js.map +2 -2
- package/dist/hooks.js +26 -2
- package/dist/hooks.js.map +2 -2
- package/dist/index.cjs +586 -567
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +134 -105
- package/dist/index.js +6 -0
- package/dist/index.js.map +2 -2
- package/package.json +3 -3
- package/dist/chunk-PH3RGDYE.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkVUU32OVP_cjs = require('./chunk-VUU32OVP.cjs');
|
|
5
5
|
var chunkPDE246CA_cjs = require('./chunk-PDE246CA.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkMDSWUCCL_cjs = require('./chunk-MDSWUCCL.cjs');
|
|
7
7
|
var chunkFDYZA6NO_cjs = require('./chunk-FDYZA6NO.cjs');
|
|
8
8
|
var chunkFE6ZSNZE_cjs = require('./chunk-FE6ZSNZE.cjs');
|
|
9
9
|
var chunk6RRKO4ZK_cjs = require('./chunk-6RRKO4ZK.cjs');
|
|
@@ -43,10 +43,10 @@ var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
|
|
|
43
43
|
// src/host/index.ts
|
|
44
44
|
var ArbiHost2 = chunk6RRKO4ZK_cjs.ArbiHost;
|
|
45
45
|
function useCurrentWorkspace() {
|
|
46
|
-
const workspaceId =
|
|
47
|
-
const workspaceStatus =
|
|
48
|
-
const userId =
|
|
49
|
-
const { data: workspaces } =
|
|
46
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
47
|
+
const workspaceStatus = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
48
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? null;
|
|
49
|
+
const { data: workspaces } = chunkMDSWUCCL_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 = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
90
|
+
const open = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
91
|
+
const query = chunkMDSWUCCL_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 = chunkMDSWUCCL_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 = chunkFE6ZSNZE_cjs.useArbi();
|
|
142
142
|
const queryClient = reactQuery.useQueryClient();
|
|
143
|
-
const chatModel =
|
|
143
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.chatModel);
|
|
144
144
|
const post = reactQuery.useMutation({
|
|
145
145
|
mutationFn: (query) => {
|
|
146
146
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkFE6ZSNZE_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 chunkVUU32OVP_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
|
+
chunkVUU32OVP_cjs.patchConversation(qc, conversationId, updated);
|
|
207
|
+
return chunkVUU32OVP_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) => chunkVUU32OVP_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
|
+
chunkVUU32OVP_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) chunkVUU32OVP_cjs.patchConversation(qc, updated.external_id, updated);
|
|
252
252
|
return qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_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
|
+
chunkVUU32OVP_cjs.patchConversation(qc, updated.external_id, updated);
|
|
268
268
|
invalidateConversationActivity(qc, updated.external_id);
|
|
269
269
|
}
|
|
270
270
|
});
|
|
@@ -1298,12 +1298,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1298
1298
|
if (!conversationId) return newMode;
|
|
1299
1299
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1300
1300
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1301
|
-
return
|
|
1301
|
+
return chunkVUU32OVP_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1302
1302
|
}
|
|
1303
1303
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1304
1304
|
const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
|
|
1305
1305
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1306
|
-
if (
|
|
1306
|
+
if (chunkVUU32OVP_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1307
1307
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1308
1308
|
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
|
|
1309
1309
|
}
|
|
@@ -1395,12 +1395,12 @@ function useSaveConfigField(baseConfigId) {
|
|
|
1395
1395
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
1396
1396
|
const queryClient = reactQuery.useQueryClient();
|
|
1397
1397
|
const saveConfig = useSaveConfig();
|
|
1398
|
-
const { data: defaultConfig } =
|
|
1399
|
-
const chatModel =
|
|
1400
|
-
const { data: userSettings } =
|
|
1398
|
+
const { data: defaultConfig } = chunkMDSWUCCL_cjs.useConfig("default");
|
|
1399
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1400
|
+
const { data: userSettings } = chunkVUU32OVP_cjs.useUserSettings();
|
|
1401
1401
|
const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
|
|
1402
|
-
const { data: activeConfigData } =
|
|
1403
|
-
const session =
|
|
1402
|
+
const { data: activeConfigData } = chunkMDSWUCCL_cjs.useConfig(activeConfigId);
|
|
1403
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
1404
1404
|
const chain2 = React.useRef(null);
|
|
1405
1405
|
const buildDelta = (changes) => deltaOnto(
|
|
1406
1406
|
changes,
|
|
@@ -1471,8 +1471,8 @@ function pendingChatModelSave(session) {
|
|
|
1471
1471
|
return chatModelSaves.get(session);
|
|
1472
1472
|
}
|
|
1473
1473
|
function useApplyChatModel() {
|
|
1474
|
-
const session =
|
|
1475
|
-
const { data: availableModels } =
|
|
1474
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
1475
|
+
const { data: availableModels } = chunkMDSWUCCL_cjs.useAvailableModels();
|
|
1476
1476
|
const configField = useSaveConfigField();
|
|
1477
1477
|
return React.useCallback(
|
|
1478
1478
|
async (model, label) => {
|
|
@@ -1521,7 +1521,7 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
|
|
|
1521
1521
|
// src/chat/thread-binding.ts
|
|
1522
1522
|
function threadBinding(queryClient, conversationId) {
|
|
1523
1523
|
if (!conversationId) return chunk6RRKO4ZK_cjs.UNBOUND;
|
|
1524
|
-
const row =
|
|
1524
|
+
const row = chunkVUU32OVP_cjs.findConversation(queryClient, conversationId);
|
|
1525
1525
|
if (row) return chunk6RRKO4ZK_cjs.bindingOfRow(row);
|
|
1526
1526
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1527
1527
|
return chunk6RRKO4ZK_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
@@ -1534,7 +1534,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1534
1534
|
bound_document_ext_id: binding.documentId,
|
|
1535
1535
|
bound_document_unavailable: binding.unavailable
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1537
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1538
1538
|
queryClient.setQueryData(
|
|
1539
1539
|
getThreadsQueryKey(conversationId),
|
|
1540
1540
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1570,7 +1570,7 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
|
|
|
1570
1570
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1571
1571
|
bound_document_ext_id: documentId
|
|
1572
1572
|
});
|
|
1573
|
-
|
|
1573
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1574
1574
|
cacheThreadBinding(queryClient, conversationId, chunk6RRKO4ZK_cjs.bindingOfRow(saved));
|
|
1575
1575
|
} catch (error) {
|
|
1576
1576
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
@@ -2423,13 +2423,13 @@ function DocumentReview({
|
|
|
2423
2423
|
});
|
|
2424
2424
|
const status = processingInProp ? polled?.status ?? doc?.status : doc?.status;
|
|
2425
2425
|
const noTextYet = stage === "final" && !!status && !PARSED_STATUSES.has(status);
|
|
2426
|
-
const parsedQuery =
|
|
2426
|
+
const parsedQuery = chunkMDSWUCCL_cjs.useParsedDocument(docId, stage, { enabled: !noTextYet });
|
|
2427
2427
|
const { isError: parsedFailed, refetch: refetchParsed } = parsedQuery;
|
|
2428
2428
|
const readable = !!status && !noTextYet;
|
|
2429
2429
|
React__default.default.useEffect(() => {
|
|
2430
2430
|
if (readable && parsedFailed) void refetchParsed();
|
|
2431
2431
|
}, [readable]);
|
|
2432
|
-
const tagsQuery =
|
|
2432
|
+
const tagsQuery = chunkMDSWUCCL_cjs.useTags(workspaceId);
|
|
2433
2433
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2434
2434
|
const map = /* @__PURE__ */ new Map();
|
|
2435
2435
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -3334,7 +3334,7 @@ function useUploadFiles() {
|
|
|
3334
3334
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
3335
3335
|
const qc = reactQuery.useQueryClient();
|
|
3336
3336
|
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3337
|
-
const { data: settings } =
|
|
3337
|
+
const { data: settings } = chunkVUU32OVP_cjs.useUserSettings();
|
|
3338
3338
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3339
3339
|
const direct = settings?.use_s3_direct_upload === true;
|
|
3340
3340
|
return React.useCallback(
|
|
@@ -3795,7 +3795,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
|
|
|
3795
3795
|
);
|
|
3796
3796
|
function usePendingSyncItems() {
|
|
3797
3797
|
const { data: documents2 } = chunkPDE246CA_cjs.useDocuments();
|
|
3798
|
-
const { data: tags } =
|
|
3798
|
+
const { data: tags } = chunkMDSWUCCL_cjs.useTags();
|
|
3799
3799
|
const raw = reactQuery.useMutationState({
|
|
3800
3800
|
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3801
3801
|
select: (m) => ({
|
|
@@ -4015,11 +4015,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
4015
4015
|
const clientId = streamState.queuedClientId;
|
|
4016
4016
|
if (!clientId || queuedEntryRetired) return;
|
|
4017
4017
|
queuedEntryRetired = true;
|
|
4018
|
-
const entry =
|
|
4018
|
+
const entry = chunkMDSWUCCL_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
4019
4019
|
if (!entry) return;
|
|
4020
4020
|
const remainingVisibility = Math.max(
|
|
4021
4021
|
0,
|
|
4022
|
-
|
|
4022
|
+
chunkMDSWUCCL_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
4023
4023
|
);
|
|
4024
4024
|
if (remainingVisibility === 0) {
|
|
4025
4025
|
session.removeQueuedMessage(clientId);
|
|
@@ -4035,7 +4035,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4035
4035
|
session.moveConversation("new", serverConversationId);
|
|
4036
4036
|
const userExtId = ctx.userId();
|
|
4037
4037
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4038
|
-
|
|
4038
|
+
chunkVUU32OVP_cjs.patchConversationList(
|
|
4039
4039
|
queryClient,
|
|
4040
4040
|
streamState.workspaceId ?? session.getState().workspaceId,
|
|
4041
4041
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -4157,7 +4157,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4157
4157
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
4158
4158
|
});
|
|
4159
4159
|
}
|
|
4160
|
-
void
|
|
4160
|
+
void chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
4161
4161
|
session.setCursor(streamState.assistantId);
|
|
4162
4162
|
};
|
|
4163
4163
|
let firstTokenSeen = false;
|
|
@@ -4357,7 +4357,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4357
4357
|
}
|
|
4358
4358
|
function useStreamHandlers() {
|
|
4359
4359
|
const queryClient = reactQuery.useQueryClient();
|
|
4360
|
-
const session =
|
|
4360
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
4361
4361
|
const config = chunkFE6ZSNZE_cjs.useArbiHost();
|
|
4362
4362
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
4363
4363
|
return React.useCallback(
|
|
@@ -4450,7 +4450,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
4450
4450
|
// src/chat/useConversationActions.ts
|
|
4451
4451
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
4452
4452
|
function draftAfterSend(queryClient, session, wasComment, assistantName) {
|
|
4453
|
-
const shared =
|
|
4453
|
+
const shared = chunkVUU32OVP_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
4454
4454
|
return shared && !wasComment ? `@${assistantName} ` : "";
|
|
4455
4455
|
}
|
|
4456
4456
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -4483,7 +4483,7 @@ function useConversationActions({
|
|
|
4483
4483
|
lastFailedMessage
|
|
4484
4484
|
}) {
|
|
4485
4485
|
const queryClient = reactQuery.useQueryClient();
|
|
4486
|
-
const session =
|
|
4486
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
4487
4487
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
4488
4488
|
const invalidateUserWorkspaces = React.useCallback(
|
|
4489
4489
|
() => void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -4548,7 +4548,7 @@ function useConversationActions({
|
|
|
4548
4548
|
const bindTo = session.getState().newChatDocumentId;
|
|
4549
4549
|
session.moveConversation("new", conversationId);
|
|
4550
4550
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
4551
|
-
|
|
4551
|
+
chunkVUU32OVP_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
4552
4552
|
{
|
|
4553
4553
|
external_id: conversationId,
|
|
4554
4554
|
title: content.slice(0, 40),
|
|
@@ -4570,14 +4570,14 @@ function useConversationActions({
|
|
|
4570
4570
|
);
|
|
4571
4571
|
invalidateUserWorkspaces();
|
|
4572
4572
|
} else {
|
|
4573
|
-
|
|
4573
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
4574
4574
|
...c,
|
|
4575
4575
|
message_count: c.message_count + 1,
|
|
4576
4576
|
updated_at: nowIso
|
|
4577
4577
|
}));
|
|
4578
4578
|
}
|
|
4579
4579
|
if (mentions.some((m) => m.type === "user")) {
|
|
4580
|
-
await
|
|
4580
|
+
await chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
4581
4581
|
}
|
|
4582
4582
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
4583
4583
|
session.setCursor(saved.external_id);
|
|
@@ -4585,7 +4585,7 @@ function useConversationActions({
|
|
|
4585
4585
|
chunkIX4HOS5Z_cjs.notify.error(
|
|
4586
4586
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
4587
4587
|
);
|
|
4588
|
-
if (!
|
|
4588
|
+
if (!chunkMDSWUCCL_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
4589
4589
|
}
|
|
4590
4590
|
},
|
|
4591
4591
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4658,7 +4658,7 @@ function useConversationActions({
|
|
|
4658
4658
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4659
4659
|
}
|
|
4660
4660
|
if (!queuedContinuation) {
|
|
4661
|
-
|
|
4661
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4662
4662
|
}
|
|
4663
4663
|
const streamState = {
|
|
4664
4664
|
conversationId: convKey,
|
|
@@ -4769,7 +4769,7 @@ function useConversationActions({
|
|
|
4769
4769
|
void queryClient.invalidateQueries({
|
|
4770
4770
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4771
4771
|
});
|
|
4772
|
-
void
|
|
4772
|
+
void chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
4773
4773
|
}
|
|
4774
4774
|
return;
|
|
4775
4775
|
}
|
|
@@ -4797,7 +4797,7 @@ function useConversationActions({
|
|
|
4797
4797
|
}
|
|
4798
4798
|
if (ownsGeneration) {
|
|
4799
4799
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4800
|
-
|
|
4800
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4801
4801
|
last_message_status: lastStatus
|
|
4802
4802
|
});
|
|
4803
4803
|
}
|
|
@@ -4830,7 +4830,7 @@ function useConversationActions({
|
|
|
4830
4830
|
});
|
|
4831
4831
|
if (ownsActiveGeneration()) {
|
|
4832
4832
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4833
|
-
|
|
4833
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4834
4834
|
last_message_status: "completed"
|
|
4835
4835
|
});
|
|
4836
4836
|
}
|
|
@@ -4853,10 +4853,10 @@ function useConversationActions({
|
|
|
4853
4853
|
if (ownsActiveGeneration()) {
|
|
4854
4854
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4855
4855
|
}
|
|
4856
|
-
void
|
|
4856
|
+
void chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
4857
4857
|
return;
|
|
4858
4858
|
}
|
|
4859
|
-
|
|
4859
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4860
4860
|
last_message_status: "failed"
|
|
4861
4861
|
});
|
|
4862
4862
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -4891,7 +4891,7 @@ function useConversationActions({
|
|
|
4891
4891
|
);
|
|
4892
4892
|
const handleSendMessage = React.useCallback(
|
|
4893
4893
|
async (options) => {
|
|
4894
|
-
const currentMessage =
|
|
4894
|
+
const currentMessage = chunkMDSWUCCL_cjs.selectDraft(session.getState()).trim();
|
|
4895
4895
|
if (!selectedWorkspaceId || !chunk6RRKO4ZK_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
|
|
4896
4896
|
return;
|
|
4897
4897
|
session.setSuggestedQuery(null);
|
|
@@ -5006,7 +5006,7 @@ function useConversationActions({
|
|
|
5006
5006
|
if (!replyTo && currentConversationId) {
|
|
5007
5007
|
try {
|
|
5008
5008
|
await arbi.conversations.delete(currentConversationId);
|
|
5009
|
-
|
|
5009
|
+
chunkVUU32OVP_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
5010
5010
|
session.startNewConversation();
|
|
5011
5011
|
} catch (error) {
|
|
5012
5012
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -5074,16 +5074,16 @@ function selectThread(session, leafId) {
|
|
|
5074
5074
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
5075
5075
|
}
|
|
5076
5076
|
function useConversationData() {
|
|
5077
|
-
const session =
|
|
5078
|
-
const selectedWorkspaceId =
|
|
5079
|
-
const currentConversationId =
|
|
5080
|
-
const parentMessageId =
|
|
5081
|
-
const deepLinkMessageId =
|
|
5077
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5078
|
+
const selectedWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5079
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5080
|
+
const parentMessageId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.cursor);
|
|
5081
|
+
const deepLinkMessageId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
5082
5082
|
const {
|
|
5083
5083
|
data: threadsData,
|
|
5084
5084
|
isLoading: threadsLoading,
|
|
5085
5085
|
error: threadsError
|
|
5086
|
-
} =
|
|
5086
|
+
} = chunkMDSWUCCL_cjs.useConversationThreads(currentConversationId || void 0);
|
|
5087
5087
|
const processedDeepLinkRef = React.useRef(null);
|
|
5088
5088
|
const prevConversationIdRef = React.useRef(null);
|
|
5089
5089
|
React.useEffect(() => {
|
|
@@ -5276,7 +5276,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
5276
5276
|
var RECONNECT_DELAY_MS = 2e3;
|
|
5277
5277
|
var MAX_RECONNECTS = 5;
|
|
5278
5278
|
function useConnectRunStream(conversationId, messages) {
|
|
5279
|
-
const generation =
|
|
5279
|
+
const generation = chunkMDSWUCCL_cjs.useArbiSessionState(
|
|
5280
5280
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
5281
5281
|
);
|
|
5282
5282
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -5284,7 +5284,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
5284
5284
|
}
|
|
5285
5285
|
function useAttachRun(conversationId, responseId) {
|
|
5286
5286
|
const queryClient = reactQuery.useQueryClient();
|
|
5287
|
-
const session =
|
|
5287
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5288
5288
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5289
5289
|
const arbiRef = React.useRef(arbi);
|
|
5290
5290
|
arbiRef.current = arbi;
|
|
@@ -5524,14 +5524,14 @@ function useConversation(options = {}) {
|
|
|
5524
5524
|
const { agentId, model, titleLength = 48 } = options;
|
|
5525
5525
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5526
5526
|
const queryClient = reactQuery.useQueryClient();
|
|
5527
|
-
const session =
|
|
5528
|
-
const sessionWorkspaceId =
|
|
5527
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5528
|
+
const sessionWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5529
5529
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
5530
|
-
const conversationId =
|
|
5530
|
+
const conversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5531
5531
|
const conversationKey2 = conversationId ?? NEW;
|
|
5532
|
-
const generation =
|
|
5533
|
-
const newConversationMode =
|
|
5534
|
-
const queuedMessages2 =
|
|
5532
|
+
const generation = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5533
|
+
const newConversationMode = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5534
|
+
const queuedMessages2 = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
5535
5535
|
const isRunning = !!generation?.isGenerating;
|
|
5536
5536
|
React.useEffect(() => {
|
|
5537
5537
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -5544,7 +5544,7 @@ function useConversation(options = {}) {
|
|
|
5544
5544
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
5545
5545
|
}, [session, agentId, workspaceId, conversationId]);
|
|
5546
5546
|
const { data: docs = [], isLoading: isLoadingDocuments } = chunkPDE246CA_cjs.useDocuments(workspaceId);
|
|
5547
|
-
const ordinaryHistory =
|
|
5547
|
+
const ordinaryHistory = chunkMDSWUCCL_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
5548
5548
|
const agentHistory = useAgentChats(agentId);
|
|
5549
5549
|
const stored = React.useMemo(
|
|
5550
5550
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5782,7 +5782,7 @@ function useConversation(options = {}) {
|
|
|
5782
5782
|
void (async () => {
|
|
5783
5783
|
try {
|
|
5784
5784
|
await arbi.conversations.delete(id);
|
|
5785
|
-
|
|
5785
|
+
chunkVUU32OVP_cjs.removeConversationFromLists(queryClient, id);
|
|
5786
5786
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5787
5787
|
} catch (e) {
|
|
5788
5788
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -5870,10 +5870,10 @@ function ConversationScope({
|
|
|
5870
5870
|
conversationId,
|
|
5871
5871
|
children
|
|
5872
5872
|
}) {
|
|
5873
|
-
const outerWorkspaceId =
|
|
5873
|
+
const outerWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5874
5874
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
5875
5875
|
const [session] = React.useState(
|
|
5876
|
-
() =>
|
|
5876
|
+
() => chunkMDSWUCCL_cjs.createArbiSessionStore({
|
|
5877
5877
|
workspaceId: scopeWorkspaceId,
|
|
5878
5878
|
conversationId: conversationId ?? null
|
|
5879
5879
|
})
|
|
@@ -5889,7 +5889,7 @@ function ConversationScope({
|
|
|
5889
5889
|
}
|
|
5890
5890
|
function useConversationWorkspace(conversationId) {
|
|
5891
5891
|
const queryClient = reactQuery.useQueryClient();
|
|
5892
|
-
const sessionWorkspaceId =
|
|
5892
|
+
const sessionWorkspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5893
5893
|
return conversationWorkspaceOf(queryClient, conversationId) ?? sessionWorkspaceId;
|
|
5894
5894
|
}
|
|
5895
5895
|
|
|
@@ -5899,11 +5899,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
5899
5899
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
5900
5900
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
5901
5901
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
5902
|
-
|
|
5902
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
5903
5903
|
}
|
|
5904
5904
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
5905
5905
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
5906
|
-
void
|
|
5906
|
+
void chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
function applyRunEnded(queryClient, e) {
|
|
@@ -5920,10 +5920,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
5920
5920
|
);
|
|
5921
5921
|
}
|
|
5922
5922
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
5923
|
-
|
|
5923
|
+
chunkVUU32OVP_cjs.patchConversation(queryClient, conversationId, {
|
|
5924
5924
|
last_message_status: failed ? "failed" : "completed"
|
|
5925
5925
|
});
|
|
5926
|
-
void
|
|
5926
|
+
void chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
5927
5927
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
5928
5928
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userUsageToday() });
|
|
5929
5929
|
}
|
|
@@ -5931,7 +5931,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
5931
5931
|
if (!e.conversation_ext_id) return;
|
|
5932
5932
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
5933
5933
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
5934
|
-
void
|
|
5934
|
+
void chunkVUU32OVP_cjs.invalidateConversationLists(queryClient);
|
|
5935
5935
|
await refreshed;
|
|
5936
5936
|
const cached = queryClient.getQueryData(
|
|
5937
5937
|
queryKey
|
|
@@ -5944,10 +5944,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
5944
5944
|
function useThreadDocument() {
|
|
5945
5945
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5946
5946
|
const queryClient = reactQuery.useQueryClient();
|
|
5947
|
-
const session =
|
|
5948
|
-
const conversationId =
|
|
5949
|
-
const workspaceId =
|
|
5950
|
-
const newChatDocumentId =
|
|
5947
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
5948
|
+
const conversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5949
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5950
|
+
const newChatDocumentId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
5951
5951
|
const subscribe = React.useCallback(
|
|
5952
5952
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
5953
5953
|
[queryClient]
|
|
@@ -5962,7 +5962,7 @@ function useThreadDocument() {
|
|
|
5962
5962
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
5963
5963
|
() => false
|
|
5964
5964
|
);
|
|
5965
|
-
const { data: conversations, isPlaceholderData } =
|
|
5965
|
+
const { data: conversations, isPlaceholderData } = chunkMDSWUCCL_cjs.useConversations(workspaceId ?? void 0);
|
|
5966
5966
|
React.useEffect(() => {
|
|
5967
5967
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
5968
5968
|
return;
|
|
@@ -6016,9 +6016,9 @@ function useConversationTurn({
|
|
|
6016
6016
|
selectedWorkspaceId,
|
|
6017
6017
|
parentMessageId
|
|
6018
6018
|
}) {
|
|
6019
|
-
const currentConversationId =
|
|
6019
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6020
6020
|
const conversationKey2 = currentConversationId || "new";
|
|
6021
|
-
const generationState =
|
|
6021
|
+
const generationState = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
6022
6022
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
6023
6023
|
const generationError = generationState?.error ?? null;
|
|
6024
6024
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -6038,10 +6038,10 @@ function useConversationTurn({
|
|
|
6038
6038
|
};
|
|
6039
6039
|
}
|
|
6040
6040
|
function useActiveConfigId() {
|
|
6041
|
-
const chatModel =
|
|
6042
|
-
const cursor =
|
|
6041
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6042
|
+
const cursor = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.cursor);
|
|
6043
6043
|
const { messageHistory } = useConversationData();
|
|
6044
|
-
const { data: userSettings } =
|
|
6044
|
+
const { data: userSettings } = chunkVUU32OVP_cjs.useUserSettings();
|
|
6045
6045
|
return React.useMemo(() => {
|
|
6046
6046
|
if (chatModel) return chatModel;
|
|
6047
6047
|
const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
|
|
@@ -6051,9 +6051,9 @@ function useActiveConfigId() {
|
|
|
6051
6051
|
}
|
|
6052
6052
|
var EMPTY_DOCS = [];
|
|
6053
6053
|
function useConversationDocuments() {
|
|
6054
|
-
const currentConversationId =
|
|
6054
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6055
6055
|
const convKey = currentConversationId || "new";
|
|
6056
|
-
const inConversationDocuments =
|
|
6056
|
+
const inConversationDocuments = chunkMDSWUCCL_cjs.useArbiSessionState(
|
|
6057
6057
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
6058
6058
|
);
|
|
6059
6059
|
const { data: documents2 = [], isLoading: isLoadingDocs } = chunkPDE246CA_cjs.useDocuments();
|
|
@@ -6088,8 +6088,8 @@ function useDocumentAutoAdd({
|
|
|
6088
6088
|
allWorkspaceDocuments,
|
|
6089
6089
|
hasContent = false
|
|
6090
6090
|
}) {
|
|
6091
|
-
const session =
|
|
6092
|
-
const currentConversationId =
|
|
6091
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6092
|
+
const currentConversationId = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6093
6093
|
const convKey = currentConversationId || "new";
|
|
6094
6094
|
const observedRef = React.useRef(null);
|
|
6095
6095
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -6150,12 +6150,12 @@ function useDocumentAutoAdd({
|
|
|
6150
6150
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
6151
6151
|
}
|
|
6152
6152
|
function useAutoSendDraft(sendDraft, ready = true, canSend) {
|
|
6153
|
-
const session =
|
|
6154
|
-
const autoSendDraft =
|
|
6153
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6154
|
+
const autoSendDraft = chunkMDSWUCCL_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
6155
6155
|
React.useEffect(() => {
|
|
6156
6156
|
if (!autoSendDraft || !ready || canSend && !canSend()) return;
|
|
6157
6157
|
session.setAutoSendDraft(false);
|
|
6158
|
-
if (
|
|
6158
|
+
if (chunkMDSWUCCL_cjs.selectDraft(session.getState()).trim()) {
|
|
6159
6159
|
sendDraft();
|
|
6160
6160
|
}
|
|
6161
6161
|
}, [autoSendDraft, ready, canSend, sendDraft, session]);
|
|
@@ -6242,18 +6242,18 @@ function useAnswerAgentQuestion() {
|
|
|
6242
6242
|
}
|
|
6243
6243
|
var TITLE_MAX = 50;
|
|
6244
6244
|
function useConversationSettings() {
|
|
6245
|
-
const session =
|
|
6246
|
-
const conversationId =
|
|
6247
|
-
const chatModel =
|
|
6248
|
-
const parentMessageId =
|
|
6249
|
-
const currentUser =
|
|
6245
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6246
|
+
const conversationId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.conversationId);
|
|
6247
|
+
const chatModel = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6248
|
+
const parentMessageId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.cursor);
|
|
6249
|
+
const currentUser = chunkMDSWUCCL_cjs.useArbiSession().user;
|
|
6250
6250
|
const { messageHistory } = useConversationData();
|
|
6251
6251
|
const { conversations } = useConversationItems();
|
|
6252
|
-
const { data: userSettings } =
|
|
6252
|
+
const { data: userSettings } = chunkVUU32OVP_cjs.useUserSettings();
|
|
6253
6253
|
const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
|
|
6254
6254
|
const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
|
|
6255
|
-
const { data: activeConfig } =
|
|
6256
|
-
const { refetch: refetchSystemDefaults } =
|
|
6255
|
+
const { data: activeConfig } = chunkMDSWUCCL_cjs.useConfig(configToLoad);
|
|
6256
|
+
const { refetch: refetchSystemDefaults } = chunkMDSWUCCL_cjs.useConfig("default");
|
|
6257
6257
|
const conversation = conversations.find((c) => c.external_id === conversationId);
|
|
6258
6258
|
const isOwner = !!conversation && conversation.created_by_ext_id === currentUser?.external_id;
|
|
6259
6259
|
const isShared = conversation?.is_shared ?? false;
|
|
@@ -6306,7 +6306,7 @@ function useConversationSettings() {
|
|
|
6306
6306
|
};
|
|
6307
6307
|
}
|
|
6308
6308
|
function useAskAgain(options) {
|
|
6309
|
-
const session =
|
|
6309
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6310
6310
|
const optionsRef = React.useRef(options);
|
|
6311
6311
|
React.useEffect(() => {
|
|
6312
6312
|
optionsRef.current = options;
|
|
@@ -6398,11 +6398,11 @@ function useMessageTimer({
|
|
|
6398
6398
|
isUser,
|
|
6399
6399
|
isGenerating
|
|
6400
6400
|
}) {
|
|
6401
|
-
const session =
|
|
6401
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6402
6402
|
const convId = conversationId || "new";
|
|
6403
6403
|
const timerKey = `${convId}:${messageId}`;
|
|
6404
|
-
const generationStartTime =
|
|
6405
|
-
const storedElapsed =
|
|
6404
|
+
const generationStartTime = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6405
|
+
const storedElapsed = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
6406
6406
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
6407
6407
|
const lastElapsedRef = React.useRef(0);
|
|
6408
6408
|
React.useEffect(() => {
|
|
@@ -6427,7 +6427,7 @@ function useMessageTimer({
|
|
|
6427
6427
|
}
|
|
6428
6428
|
function useAgentRunControl(assistantMessageExtId) {
|
|
6429
6429
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
6430
|
-
const session =
|
|
6430
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6431
6431
|
const send = React.useCallback(
|
|
6432
6432
|
(command) => {
|
|
6433
6433
|
if (!assistantMessageExtId) return;
|
|
@@ -6787,8 +6787,8 @@ var WORK_OFFLINE_VIEW = "app.workOffline";
|
|
|
6787
6787
|
var isWorkingOffline = (session) => session.getState().views.transient[WORK_OFFLINE_VIEW] === true;
|
|
6788
6788
|
var setWorkOfflineIn = (session, on) => session.setTransientView(WORK_OFFLINE_VIEW, on || void 0);
|
|
6789
6789
|
function useWorkOffline() {
|
|
6790
|
-
const session =
|
|
6791
|
-
const on =
|
|
6790
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6791
|
+
const on = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.views.transient[WORK_OFFLINE_VIEW] === true);
|
|
6792
6792
|
const set2 = React.useCallback((next) => setWorkOfflineIn(session, next), [session]);
|
|
6793
6793
|
return [on, set2];
|
|
6794
6794
|
}
|
|
@@ -6800,9 +6800,9 @@ function computeOnline(wsStatus, isAuthenticated, workOffline, wsEverConnected)
|
|
|
6800
6800
|
return navOnline && wsOnline;
|
|
6801
6801
|
}
|
|
6802
6802
|
function useOnlineSync() {
|
|
6803
|
-
const session =
|
|
6803
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6804
6804
|
const wsStatus = chunkPDE246CA_cjs.useArbiWsStore((s) => s.status);
|
|
6805
|
-
const signedIn2 =
|
|
6805
|
+
const signedIn2 = chunkMDSWUCCL_cjs.useArbiSession().status === "signed-in";
|
|
6806
6806
|
const [workOffline] = useWorkOffline();
|
|
6807
6807
|
const wsEverConnected = React.useRef(false);
|
|
6808
6808
|
if (wsStatus === "connected") wsEverConnected.current = true;
|
|
@@ -6829,7 +6829,7 @@ function useOnlineSync() {
|
|
|
6829
6829
|
}, [session]);
|
|
6830
6830
|
}
|
|
6831
6831
|
function useReconnect() {
|
|
6832
|
-
const session =
|
|
6832
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
6833
6833
|
return React.useCallback(() => {
|
|
6834
6834
|
if (isWorkingOffline(session)) {
|
|
6835
6835
|
setWorkOfflineIn(session, false);
|
|
@@ -7007,53 +7007,53 @@ async function nativeThreadKeys(secret, message) {
|
|
|
7007
7007
|
|
|
7008
7008
|
// src/mail/offline/mailbox.ts
|
|
7009
7009
|
var keyOf = {
|
|
7010
|
-
accounts: () =>
|
|
7011
|
-
policy: () =>
|
|
7012
|
-
folders: (accountId) =>
|
|
7013
|
-
header: (accountId, folderId, messageId) =>
|
|
7014
|
-
body: (accountId, messageId) =>
|
|
7015
|
-
attachment: (accountId, messageId, attachmentId) =>
|
|
7010
|
+
accounts: () => chunkVUU32OVP_cjs.blind("accounts"),
|
|
7011
|
+
policy: () => chunkVUU32OVP_cjs.blind("policy"),
|
|
7012
|
+
folders: (accountId) => chunkVUU32OVP_cjs.blind("folders", accountId),
|
|
7013
|
+
header: (accountId, folderId, messageId) => chunkVUU32OVP_cjs.blind("header", accountId, folderId, messageId),
|
|
7014
|
+
body: (accountId, messageId) => chunkVUU32OVP_cjs.blind("body", accountId, messageId),
|
|
7015
|
+
attachment: (accountId, messageId, attachmentId) => chunkVUU32OVP_cjs.blind("attachment", accountId, messageId, attachmentId)
|
|
7016
7016
|
};
|
|
7017
7017
|
var bucketOf = {
|
|
7018
|
-
global: () =>
|
|
7019
|
-
folder: (accountId, folderId) =>
|
|
7020
|
-
account: (accountId) =>
|
|
7018
|
+
global: () => chunkVUU32OVP_cjs.blind("bucket", "global"),
|
|
7019
|
+
folder: (accountId, folderId) => chunkVUU32OVP_cjs.blind("bucket", "folder", accountId, folderId),
|
|
7020
|
+
account: (accountId) => chunkVUU32OVP_cjs.blind("bucket", "account", accountId)
|
|
7021
7021
|
};
|
|
7022
7022
|
async function put(kind, key, bucket3, data, sortAt = Date.now()) {
|
|
7023
7023
|
const now = Date.now();
|
|
7024
|
-
await
|
|
7024
|
+
await chunkVUU32OVP_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
|
|
7025
7025
|
}
|
|
7026
7026
|
async function readJson(record) {
|
|
7027
7027
|
if (!record) return void 0;
|
|
7028
7028
|
try {
|
|
7029
|
-
return await
|
|
7029
|
+
return await chunkVUU32OVP_cjs.openJson(record.data);
|
|
7030
7030
|
} catch {
|
|
7031
7031
|
return void 0;
|
|
7032
7032
|
}
|
|
7033
7033
|
}
|
|
7034
7034
|
var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
7035
7035
|
async function saveAccounts(accounts) {
|
|
7036
|
-
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await
|
|
7036
|
+
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkVUU32OVP_cjs.sealJson(accounts));
|
|
7037
7037
|
}
|
|
7038
7038
|
async function loadAccounts() {
|
|
7039
|
-
return readJson(await
|
|
7039
|
+
return readJson(await chunkVUU32OVP_cjs.getRecord(await keyOf.accounts()));
|
|
7040
7040
|
}
|
|
7041
7041
|
async function savePolicy(policy) {
|
|
7042
|
-
await put("policy", await keyOf.policy(), await bucketOf.global(), await
|
|
7042
|
+
await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkVUU32OVP_cjs.sealJson(policy));
|
|
7043
7043
|
}
|
|
7044
7044
|
async function loadPolicy() {
|
|
7045
|
-
return readJson(await
|
|
7045
|
+
return readJson(await chunkVUU32OVP_cjs.getRecord(await keyOf.policy()));
|
|
7046
7046
|
}
|
|
7047
7047
|
async function saveFolders(accountId, folders) {
|
|
7048
7048
|
await put(
|
|
7049
7049
|
"folders",
|
|
7050
7050
|
await keyOf.folders(accountId),
|
|
7051
7051
|
await bucketOf.account(accountId),
|
|
7052
|
-
await
|
|
7052
|
+
await chunkVUU32OVP_cjs.sealJson(folders)
|
|
7053
7053
|
);
|
|
7054
7054
|
}
|
|
7055
7055
|
async function loadFolders(accountId) {
|
|
7056
|
-
return readJson(await
|
|
7056
|
+
return readJson(await chunkVUU32OVP_cjs.getRecord(await keyOf.folders(accountId)));
|
|
7057
7057
|
}
|
|
7058
7058
|
function toHeader(message) {
|
|
7059
7059
|
return {
|
|
@@ -7069,12 +7069,12 @@ async function saveHeader(accountId, folderId, message) {
|
|
|
7069
7069
|
"header",
|
|
7070
7070
|
await keyOf.header(accountId, folderId, message.id),
|
|
7071
7071
|
await bucketOf.folder(accountId, folderId),
|
|
7072
|
-
await
|
|
7072
|
+
await chunkVUU32OVP_cjs.sealJson(toHeader(message)),
|
|
7073
7073
|
receivedAt(message)
|
|
7074
7074
|
);
|
|
7075
7075
|
}
|
|
7076
7076
|
async function loadHeaders(accountId, folderId) {
|
|
7077
|
-
const records = await
|
|
7077
|
+
const records = await chunkVUU32OVP_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
|
|
7078
7078
|
const out = [];
|
|
7079
7079
|
for (const record of records) {
|
|
7080
7080
|
if (record.kind !== "header") continue;
|
|
@@ -7084,7 +7084,7 @@ async function loadHeaders(accountId, folderId) {
|
|
|
7084
7084
|
return out.sort((a, b) => b.sortAt - a.sortAt);
|
|
7085
7085
|
}
|
|
7086
7086
|
async function hasFolder(accountId) {
|
|
7087
|
-
return
|
|
7087
|
+
return chunkVUU32OVP_cjs.hasRecord(await keyOf.folders(accountId));
|
|
7088
7088
|
}
|
|
7089
7089
|
async function saveBody(accountId, message) {
|
|
7090
7090
|
const stripped = {
|
|
@@ -7095,42 +7095,42 @@ async function saveBody(accountId, message) {
|
|
|
7095
7095
|
"body",
|
|
7096
7096
|
await keyOf.body(accountId, message.id),
|
|
7097
7097
|
await bucketOf.account(accountId),
|
|
7098
|
-
await
|
|
7098
|
+
await chunkVUU32OVP_cjs.sealJson(stripped),
|
|
7099
7099
|
receivedAt(message)
|
|
7100
7100
|
);
|
|
7101
7101
|
}
|
|
7102
7102
|
async function hasBody(accountId, messageId) {
|
|
7103
|
-
return
|
|
7103
|
+
return chunkVUU32OVP_cjs.hasRecord(await keyOf.body(accountId, messageId));
|
|
7104
7104
|
}
|
|
7105
7105
|
async function loadBody(accountId, messageId) {
|
|
7106
|
-
return readJson(await
|
|
7106
|
+
return readJson(await chunkVUU32OVP_cjs.getRecord(await keyOf.body(accountId, messageId)));
|
|
7107
7107
|
}
|
|
7108
7108
|
async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
|
|
7109
7109
|
await put(
|
|
7110
7110
|
"attachment",
|
|
7111
7111
|
await keyOf.attachment(accountId, messageId, attachmentId),
|
|
7112
7112
|
await bucketOf.account(accountId),
|
|
7113
|
-
await
|
|
7113
|
+
await chunkVUU32OVP_cjs.sealBytes(bytes),
|
|
7114
7114
|
sortAt || void 0
|
|
7115
7115
|
);
|
|
7116
7116
|
}
|
|
7117
7117
|
async function hasAttachment(accountId, messageId, attachmentId) {
|
|
7118
|
-
return
|
|
7118
|
+
return chunkVUU32OVP_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
|
|
7119
7119
|
}
|
|
7120
7120
|
async function loadAttachment(accountId, messageId, attachmentId) {
|
|
7121
7121
|
const key = await keyOf.attachment(accountId, messageId, attachmentId);
|
|
7122
|
-
const record = await
|
|
7122
|
+
const record = await chunkVUU32OVP_cjs.getRecord(key);
|
|
7123
7123
|
if (!record) return void 0;
|
|
7124
7124
|
try {
|
|
7125
|
-
const bytes = await
|
|
7126
|
-
void
|
|
7125
|
+
const bytes = await chunkVUU32OVP_cjs.openBytes(record.data);
|
|
7126
|
+
void chunkVUU32OVP_cjs.touchRecord(key);
|
|
7127
7127
|
return bytes;
|
|
7128
7128
|
} catch {
|
|
7129
7129
|
return void 0;
|
|
7130
7130
|
}
|
|
7131
7131
|
}
|
|
7132
7132
|
async function removeKeys(keys) {
|
|
7133
|
-
await
|
|
7133
|
+
await chunkVUU32OVP_cjs.deleteRecords(keys);
|
|
7134
7134
|
}
|
|
7135
7135
|
function bodyText(body) {
|
|
7136
7136
|
const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
|
|
@@ -7175,27 +7175,27 @@ function isBrowserOffline() {
|
|
|
7175
7175
|
// src/mail/offline/changes.ts
|
|
7176
7176
|
var isFiling = (change) => change.kind === "file";
|
|
7177
7177
|
var MAX_ATTEMPTS = 5;
|
|
7178
|
-
var bucket = () =>
|
|
7179
|
-
var keyFor = (id) =>
|
|
7178
|
+
var bucket = () => chunkVUU32OVP_cjs.blind("bucket", "changes");
|
|
7179
|
+
var keyFor = (id) => chunkVUU32OVP_cjs.blind("change", id);
|
|
7180
7180
|
async function write(item) {
|
|
7181
|
-
await
|
|
7181
|
+
await chunkVUU32OVP_cjs.putRecord({
|
|
7182
7182
|
key: await keyFor(item.id),
|
|
7183
7183
|
kind: "change",
|
|
7184
7184
|
bucket: await bucket(),
|
|
7185
7185
|
sortAt: item.seq,
|
|
7186
7186
|
size: 0,
|
|
7187
7187
|
lastAccess: Date.now(),
|
|
7188
|
-
data: await
|
|
7188
|
+
data: await chunkVUU32OVP_cjs.sealJson(item)
|
|
7189
7189
|
});
|
|
7190
7190
|
}
|
|
7191
7191
|
async function drop(item) {
|
|
7192
|
-
await
|
|
7192
|
+
await chunkVUU32OVP_cjs.deleteRecords([await keyFor(item.id)]);
|
|
7193
7193
|
}
|
|
7194
7194
|
async function readHeader(accountId, folderId, messageId) {
|
|
7195
|
-
const record = await
|
|
7195
|
+
const record = await chunkVUU32OVP_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
|
|
7196
7196
|
if (!record) return void 0;
|
|
7197
7197
|
try {
|
|
7198
|
-
return await
|
|
7198
|
+
return await chunkVUU32OVP_cjs.openJson(record.data);
|
|
7199
7199
|
} catch {
|
|
7200
7200
|
return void 0;
|
|
7201
7201
|
}
|
|
@@ -7277,9 +7277,9 @@ function combine(pending, next) {
|
|
|
7277
7277
|
}
|
|
7278
7278
|
async function listMailChanges() {
|
|
7279
7279
|
const items = [];
|
|
7280
|
-
for (const record of await
|
|
7280
|
+
for (const record of await chunkVUU32OVP_cjs.recordsInBucket(await bucket())) {
|
|
7281
7281
|
try {
|
|
7282
|
-
items.push(await
|
|
7282
|
+
items.push(await chunkVUU32OVP_cjs.openJson(record.data));
|
|
7283
7283
|
} catch {
|
|
7284
7284
|
}
|
|
7285
7285
|
}
|
|
@@ -7334,14 +7334,14 @@ function serially(fn) {
|
|
|
7334
7334
|
}
|
|
7335
7335
|
async function queueMailChange(input) {
|
|
7336
7336
|
await serially(() => queue(input));
|
|
7337
|
-
|
|
7338
|
-
|
|
7337
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("changes");
|
|
7338
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("mailbox");
|
|
7339
7339
|
}
|
|
7340
7340
|
async function readChange(id) {
|
|
7341
|
-
const record = await
|
|
7341
|
+
const record = await chunkVUU32OVP_cjs.getRecord(await keyFor(id));
|
|
7342
7342
|
if (!record) return void 0;
|
|
7343
7343
|
try {
|
|
7344
|
-
return await
|
|
7344
|
+
return await chunkVUU32OVP_cjs.openJson(record.data);
|
|
7345
7345
|
} catch {
|
|
7346
7346
|
return void 0;
|
|
7347
7347
|
}
|
|
@@ -7414,7 +7414,7 @@ async function applyMailChangesOnce(sender, isOnline) {
|
|
|
7414
7414
|
result.interrupted = true;
|
|
7415
7415
|
}
|
|
7416
7416
|
}
|
|
7417
|
-
if (result.applied + result.gone + result.refused.length > 0)
|
|
7417
|
+
if (result.applied + result.gone + result.refused.length > 0) chunkVUU32OVP_cjs.notifyOfflineMailChange("changes");
|
|
7418
7418
|
return result;
|
|
7419
7419
|
}
|
|
7420
7420
|
var NO_PRIMER = () => void 0;
|
|
@@ -7530,26 +7530,26 @@ function useConnectedMailFiling(account, messages) {
|
|
|
7530
7530
|
}
|
|
7531
7531
|
|
|
7532
7532
|
// src/mail/offline/drafts.ts
|
|
7533
|
-
var keyFor2 = (id) =>
|
|
7533
|
+
var keyFor2 = (id) => chunkVUU32OVP_cjs.blind("draft", id);
|
|
7534
7534
|
async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
|
|
7535
7535
|
const draft = { id, accountId, compose, updatedAt: Date.now() };
|
|
7536
|
-
await
|
|
7536
|
+
await chunkVUU32OVP_cjs.putRecord({
|
|
7537
7537
|
key: await keyFor2(id),
|
|
7538
7538
|
kind: "draft",
|
|
7539
|
-
bucket: await
|
|
7539
|
+
bucket: await chunkVUU32OVP_cjs.blind("bucket", "drafts", accountId),
|
|
7540
7540
|
sortAt: draft.updatedAt,
|
|
7541
7541
|
size: 0,
|
|
7542
7542
|
lastAccess: draft.updatedAt,
|
|
7543
|
-
data: await
|
|
7543
|
+
data: await chunkVUU32OVP_cjs.sealJson(draft)
|
|
7544
7544
|
});
|
|
7545
|
-
|
|
7545
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("drafts");
|
|
7546
7546
|
return draft;
|
|
7547
7547
|
}
|
|
7548
7548
|
async function listLocalDrafts(accountId) {
|
|
7549
7549
|
const drafts = [];
|
|
7550
|
-
for (const record of await
|
|
7550
|
+
for (const record of await chunkVUU32OVP_cjs.recordsOfKind("draft")) {
|
|
7551
7551
|
try {
|
|
7552
|
-
const draft = await
|
|
7552
|
+
const draft = await chunkVUU32OVP_cjs.openJson(record.data);
|
|
7553
7553
|
if (!accountId || draft.accountId === accountId) drafts.push(draft);
|
|
7554
7554
|
} catch {
|
|
7555
7555
|
}
|
|
@@ -7557,8 +7557,8 @@ async function listLocalDrafts(accountId) {
|
|
|
7557
7557
|
return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
|
|
7558
7558
|
}
|
|
7559
7559
|
async function deleteLocalDraft(id) {
|
|
7560
|
-
await
|
|
7561
|
-
|
|
7560
|
+
await chunkVUU32OVP_cjs.deleteRecords([await keyFor2(id)]);
|
|
7561
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("drafts");
|
|
7562
7562
|
}
|
|
7563
7563
|
async function syncLocalDrafts(save) {
|
|
7564
7564
|
let uploaded = 0;
|
|
@@ -7571,27 +7571,27 @@ async function syncLocalDrafts(save) {
|
|
|
7571
7571
|
} catch (error) {
|
|
7572
7572
|
const status = error.status;
|
|
7573
7573
|
if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
|
|
7574
|
-
await
|
|
7574
|
+
await chunkVUU32OVP_cjs.putRecord({
|
|
7575
7575
|
key: await keyFor2(draft.id),
|
|
7576
7576
|
kind: "draft",
|
|
7577
|
-
bucket: await
|
|
7577
|
+
bucket: await chunkVUU32OVP_cjs.blind("bucket", "drafts", draft.accountId),
|
|
7578
7578
|
sortAt: draft.updatedAt,
|
|
7579
7579
|
size: 0,
|
|
7580
7580
|
lastAccess: Date.now(),
|
|
7581
|
-
data: await
|
|
7581
|
+
data: await chunkVUU32OVP_cjs.sealJson({
|
|
7582
7582
|
...draft,
|
|
7583
7583
|
error: error instanceof Error ? error.message : "The server refused this draft"
|
|
7584
7584
|
})
|
|
7585
7585
|
});
|
|
7586
|
-
|
|
7586
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("drafts");
|
|
7587
7587
|
}
|
|
7588
7588
|
}
|
|
7589
7589
|
return uploaded;
|
|
7590
7590
|
}
|
|
7591
7591
|
|
|
7592
7592
|
// src/mail/offline/outbox.ts
|
|
7593
|
-
var bucket2 = () =>
|
|
7594
|
-
var keyFor3 = (id) =>
|
|
7593
|
+
var bucket2 = () => chunkVUU32OVP_cjs.blind("bucket", "outbox");
|
|
7594
|
+
var keyFor3 = (id) => chunkVUU32OVP_cjs.blind("outbox", id);
|
|
7595
7595
|
function outboxProblem(compose) {
|
|
7596
7596
|
const missing = compose.attachments.find((a) => a.content_base64 == null);
|
|
7597
7597
|
if (missing)
|
|
@@ -7600,22 +7600,22 @@ function outboxProblem(compose) {
|
|
|
7600
7600
|
}
|
|
7601
7601
|
var seqCounter = 0;
|
|
7602
7602
|
async function write2(item) {
|
|
7603
|
-
await
|
|
7603
|
+
await chunkVUU32OVP_cjs.putRecord({
|
|
7604
7604
|
key: await keyFor3(item.id),
|
|
7605
7605
|
kind: "outbox",
|
|
7606
7606
|
bucket: await bucket2(),
|
|
7607
7607
|
sortAt: item.seq,
|
|
7608
7608
|
size: 0,
|
|
7609
7609
|
lastAccess: Date.now(),
|
|
7610
|
-
data: await
|
|
7610
|
+
data: await chunkVUU32OVP_cjs.sealJson(item)
|
|
7611
7611
|
});
|
|
7612
7612
|
}
|
|
7613
7613
|
async function listOutbox() {
|
|
7614
|
-
const records = await
|
|
7614
|
+
const records = await chunkVUU32OVP_cjs.recordsInBucket(await bucket2());
|
|
7615
7615
|
const items = [];
|
|
7616
7616
|
for (const record of records) {
|
|
7617
7617
|
try {
|
|
7618
|
-
items.push(await
|
|
7618
|
+
items.push(await chunkVUU32OVP_cjs.openJson(record.data));
|
|
7619
7619
|
} catch {
|
|
7620
7620
|
}
|
|
7621
7621
|
}
|
|
@@ -7639,18 +7639,18 @@ async function enqueueOutbox(input) {
|
|
|
7639
7639
|
seq: seqCounter
|
|
7640
7640
|
};
|
|
7641
7641
|
await write2(item);
|
|
7642
|
-
|
|
7642
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("outbox");
|
|
7643
7643
|
return item;
|
|
7644
7644
|
}
|
|
7645
7645
|
async function update(item, patch) {
|
|
7646
7646
|
const next = { ...item, ...patch };
|
|
7647
7647
|
await write2(next);
|
|
7648
|
-
|
|
7648
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("outbox");
|
|
7649
7649
|
return next;
|
|
7650
7650
|
}
|
|
7651
7651
|
async function deleteOutboxItem(id) {
|
|
7652
|
-
await
|
|
7653
|
-
|
|
7652
|
+
await chunkVUU32OVP_cjs.deleteRecords([await keyFor3(id)]);
|
|
7653
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("outbox");
|
|
7654
7654
|
}
|
|
7655
7655
|
async function retryOutboxItem(id) {
|
|
7656
7656
|
const item = (await listOutbox()).find((i) => i.id === id);
|
|
@@ -7741,14 +7741,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
|
|
|
7741
7741
|
const cutoff = Date.now() - olderThanMs;
|
|
7742
7742
|
const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
|
|
7743
7743
|
if (done.length === 0) return;
|
|
7744
|
-
await
|
|
7745
|
-
|
|
7744
|
+
await chunkVUU32OVP_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
|
|
7745
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("outbox");
|
|
7746
7746
|
}
|
|
7747
7747
|
var STATUS_KEY = "status";
|
|
7748
7748
|
var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
|
|
7749
7749
|
var MAX_PAGES = 200;
|
|
7750
7750
|
async function getOfflineMailStatus() {
|
|
7751
|
-
return await
|
|
7751
|
+
return await chunkVUU32OVP_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
|
|
7752
7752
|
}
|
|
7753
7753
|
var MB = 1024 * 1024;
|
|
7754
7754
|
var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
@@ -7839,23 +7839,23 @@ async function collectGarbage(accounts) {
|
|
|
7839
7839
|
expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
|
|
7840
7840
|
}
|
|
7841
7841
|
}
|
|
7842
|
-
const orphans = (await
|
|
7842
|
+
const orphans = (await chunkVUU32OVP_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
|
|
7843
7843
|
await removeKeys(orphans);
|
|
7844
7844
|
}
|
|
7845
7845
|
}
|
|
7846
7846
|
async function forgetAccount(accountId) {
|
|
7847
7847
|
for (const folder of await loadFolders(accountId) ?? []) {
|
|
7848
|
-
const records2 = await
|
|
7848
|
+
const records2 = await chunkVUU32OVP_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
|
|
7849
7849
|
await removeKeys(records2.map((r) => r.key));
|
|
7850
7850
|
}
|
|
7851
|
-
const records = await
|
|
7851
|
+
const records = await chunkVUU32OVP_cjs.recordsInBucket(await bucketOf.account(accountId));
|
|
7852
7852
|
await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
|
|
7853
7853
|
}
|
|
7854
7854
|
async function enforceQuota(quotaBytes) {
|
|
7855
|
-
let used = (await
|
|
7855
|
+
let used = (await chunkVUU32OVP_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
|
|
7856
7856
|
if (used <= quotaBytes) return used;
|
|
7857
7857
|
for (const kind of ["attachment", "body"]) {
|
|
7858
|
-
const records = (await
|
|
7858
|
+
const records = (await chunkVUU32OVP_cjs.recordsOfKind(kind)).sort(
|
|
7859
7859
|
(a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
|
|
7860
7860
|
);
|
|
7861
7861
|
const evict = [];
|
|
@@ -7871,34 +7871,34 @@ async function enforceQuota(quotaBytes) {
|
|
|
7871
7871
|
}
|
|
7872
7872
|
var CONTENT_KINDS = ["header", "body", "attachment"];
|
|
7873
7873
|
async function trimOfflineMailbox(settings, now = Date.now()) {
|
|
7874
|
-
const windowStart =
|
|
7874
|
+
const windowStart = chunkVUU32OVP_cjs.offlineWindowStart(settings, now);
|
|
7875
7875
|
const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
|
|
7876
7876
|
for (const kind of kinds) {
|
|
7877
|
-
const records = await
|
|
7877
|
+
const records = await chunkVUU32OVP_cjs.recordsOfKind(kind);
|
|
7878
7878
|
const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
|
|
7879
7879
|
await removeKeys(old.map((r) => r.key));
|
|
7880
7880
|
}
|
|
7881
7881
|
const previous = await getOfflineMailStatus();
|
|
7882
7882
|
const status = {
|
|
7883
7883
|
...previous,
|
|
7884
|
-
messages: (await
|
|
7885
|
-
bytes: (await
|
|
7884
|
+
messages: (await chunkVUU32OVP_cjs.recordsOfKind("header")).length,
|
|
7885
|
+
bytes: (await chunkVUU32OVP_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7886
7886
|
// A shorter window no longer covers what the last full pass fetched: growing it again (even
|
|
7887
7887
|
// before the next hourly full pass) makes the next pass a full one.
|
|
7888
|
-
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays,
|
|
7888
|
+
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkVUU32OVP_cjs.SCOPE_DAYS[settings.scope]) : void 0,
|
|
7889
7889
|
// Off: nothing is saved, so turning it back on starts with a full pass.
|
|
7890
7890
|
...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
|
|
7891
7891
|
};
|
|
7892
|
-
await
|
|
7893
|
-
|
|
7892
|
+
await chunkVUU32OVP_cjs.setMeta(STATUS_KEY, status);
|
|
7893
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("status");
|
|
7894
7894
|
return status;
|
|
7895
7895
|
}
|
|
7896
7896
|
async function syncMailbox(transport, settings, options = {}) {
|
|
7897
7897
|
const now = options.now ?? Date.now();
|
|
7898
7898
|
const previous = await getOfflineMailStatus();
|
|
7899
|
-
const days =
|
|
7899
|
+
const days = chunkVUU32OVP_cjs.SCOPE_DAYS[settings.scope];
|
|
7900
7900
|
const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
|
|
7901
|
-
const windowStart =
|
|
7901
|
+
const windowStart = chunkVUU32OVP_cjs.offlineWindowStart(settings, now);
|
|
7902
7902
|
const quota = settings.quotaMb * MB;
|
|
7903
7903
|
const skipped = [];
|
|
7904
7904
|
let error;
|
|
@@ -7910,7 +7910,7 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7910
7910
|
for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
|
|
7911
7911
|
await forgetAccount(gone.id);
|
|
7912
7912
|
const budget = new Budget(
|
|
7913
|
-
(await
|
|
7913
|
+
(await chunkVUU32OVP_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7914
7914
|
quota
|
|
7915
7915
|
);
|
|
7916
7916
|
for (const account of accounts) {
|
|
@@ -7924,12 +7924,12 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7924
7924
|
const oldFolders = await loadFolders(account.id) ?? [];
|
|
7925
7925
|
await saveFolders(account.id, folders);
|
|
7926
7926
|
for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
|
|
7927
|
-
const records = await
|
|
7927
|
+
const records = await chunkVUU32OVP_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
|
|
7928
7928
|
await removeKeys(records.map((r) => r.key));
|
|
7929
7929
|
}
|
|
7930
7930
|
for (const folder of folders.filter((f) => !isVirtualFolder(f)))
|
|
7931
7931
|
await syncFolder(transport, account, folder, settings, windowStart, full, budget);
|
|
7932
|
-
|
|
7932
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("mailbox");
|
|
7933
7933
|
} catch (accountError) {
|
|
7934
7934
|
if (accountError.status === void 0) throw accountError;
|
|
7935
7935
|
client.logger.warn("[offline-mail] account sync failed", accountError);
|
|
@@ -7947,19 +7947,19 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7947
7947
|
const trimmed = await trimOfflineMailbox(current, now);
|
|
7948
7948
|
if (!current.enabled) return trimmed;
|
|
7949
7949
|
const bytes = await enforceQuota(current.quotaMb * MB);
|
|
7950
|
-
const messages = (await
|
|
7950
|
+
const messages = (await chunkVUU32OVP_cjs.recordsOfKind("header")).length;
|
|
7951
7951
|
const fullDone = !error && full;
|
|
7952
7952
|
const status = {
|
|
7953
7953
|
lastSyncedAt: error ? previous.lastSyncedAt : now,
|
|
7954
7954
|
lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
|
|
7955
|
-
windowDays: fullDone ? Math.min(days,
|
|
7955
|
+
windowDays: fullDone ? Math.min(days, chunkVUU32OVP_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
|
|
7956
7956
|
messages,
|
|
7957
7957
|
bytes,
|
|
7958
7958
|
error,
|
|
7959
7959
|
skipped
|
|
7960
7960
|
};
|
|
7961
|
-
await
|
|
7962
|
-
|
|
7961
|
+
await chunkVUU32OVP_cjs.setMeta(STATUS_KEY, status);
|
|
7962
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("status");
|
|
7963
7963
|
return status;
|
|
7964
7964
|
}
|
|
7965
7965
|
|
|
@@ -8158,20 +8158,20 @@ function isMailSyncRunning() {
|
|
|
8158
8158
|
return syncing;
|
|
8159
8159
|
}
|
|
8160
8160
|
async function syncOfflineMailbox({ arbi }, options = {}) {
|
|
8161
|
-
const latest = () =>
|
|
8161
|
+
const latest = () => chunkVUU32OVP_cjs.getOfflineMailSettings(sessionUser(arbi));
|
|
8162
8162
|
const settings = latest();
|
|
8163
8163
|
if (!settings.enabled || !canReachMail(arbi)) return;
|
|
8164
8164
|
void requestPersistentStorage();
|
|
8165
8165
|
await exclusive("arbi-mail-sync", async () => {
|
|
8166
8166
|
syncing = true;
|
|
8167
|
-
|
|
8167
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("status");
|
|
8168
8168
|
try {
|
|
8169
8169
|
await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
|
|
8170
8170
|
} catch (error) {
|
|
8171
8171
|
client.logger.error("[offline-mail] sync failed", error);
|
|
8172
8172
|
} finally {
|
|
8173
8173
|
syncing = false;
|
|
8174
|
-
|
|
8174
|
+
chunkVUU32OVP_cjs.notifyOfflineMailChange("status");
|
|
8175
8175
|
}
|
|
8176
8176
|
});
|
|
8177
8177
|
}
|
|
@@ -8202,9 +8202,9 @@ async function savedFolder(accountId, folderId) {
|
|
|
8202
8202
|
}
|
|
8203
8203
|
function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
|
|
8204
8204
|
const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
|
|
8205
|
-
const settings = () =>
|
|
8205
|
+
const settings = () => chunkVUU32OVP_cjs.getOfflineMailSettings(sessionUser(getArbi()));
|
|
8206
8206
|
const storeEnabled = () => settings().enabled;
|
|
8207
|
-
const keeps = (message) =>
|
|
8207
|
+
const keeps = (message) => chunkVUU32OVP_cjs.inOfflineWindow(settings(), message.received_at);
|
|
8208
8208
|
const remember = (write3) => {
|
|
8209
8209
|
if (!keepsMail()) return;
|
|
8210
8210
|
write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
|
|
@@ -8807,13 +8807,13 @@ function ArbiWebSocketProvider({
|
|
|
8807
8807
|
onAuthenticatedRef.current = onAuthenticated;
|
|
8808
8808
|
const handlersRef = React.useRef(handlers);
|
|
8809
8809
|
handlersRef.current = handlers;
|
|
8810
|
-
const session =
|
|
8810
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
8811
8811
|
const sessionRef = React.useRef(session);
|
|
8812
8812
|
sessionRef.current = session;
|
|
8813
8813
|
const host = chunkFE6ZSNZE_cjs.useArbiHost();
|
|
8814
8814
|
const hostRef = React.useRef(host);
|
|
8815
8815
|
hostRef.current = host;
|
|
8816
|
-
const acceptRings =
|
|
8816
|
+
const acceptRings = chunkVUU32OVP_cjs.useFeature("calls");
|
|
8817
8817
|
const acceptRingsRef = React.useRef(acceptRings);
|
|
8818
8818
|
acceptRingsRef.current = acceptRings;
|
|
8819
8819
|
useOnlineSync();
|
|
@@ -8866,9 +8866,9 @@ function ArbiWebSocketProvider({
|
|
|
8866
8866
|
void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.allTags() });
|
|
8867
8867
|
}
|
|
8868
8868
|
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
8869
|
-
void
|
|
8869
|
+
void chunkVUU32OVP_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
8870
8870
|
else if (type.startsWith("call."))
|
|
8871
|
-
|
|
8871
|
+
chunkVUU32OVP_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
8872
8872
|
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
8873
8873
|
else void applyLiveUpdate(queryClient, msg);
|
|
8874
8874
|
try {
|
|
@@ -9244,7 +9244,7 @@ function useSwitchWorkspace() {
|
|
|
9244
9244
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9245
9245
|
const arbiRef = React.useRef(arbi);
|
|
9246
9246
|
arbiRef.current = arbi;
|
|
9247
|
-
const session =
|
|
9247
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
9248
9248
|
const queryClient = reactQuery.useQueryClient();
|
|
9249
9249
|
React.useEffect(
|
|
9250
9250
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -9261,11 +9261,11 @@ function useSwitchWorkspace() {
|
|
|
9261
9261
|
function useOpenSelectedWorkspace() {
|
|
9262
9262
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9263
9263
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
9264
|
-
const workspaceId =
|
|
9265
|
-
const status =
|
|
9266
|
-
const session =
|
|
9264
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
9265
|
+
const status = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
9266
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
9267
9267
|
const queryClient = reactQuery.useQueryClient();
|
|
9268
|
-
const { data: workspaces, isLoading: listing, isFetching } =
|
|
9268
|
+
const { data: workspaces, isLoading: listing, isFetching } = chunkMDSWUCCL_cjs.useWorkspaces();
|
|
9269
9269
|
const listed = workspaces;
|
|
9270
9270
|
const archived = listed?.find((w) => w.external_id === workspaceId && w.archive);
|
|
9271
9271
|
const reads = queryClient.getQueryState(chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces())?.dataUpdateCount ?? 0;
|
|
@@ -9732,9 +9732,9 @@ var EMPTY2 = { query: "", lastQuery: "", hits: null, workspaceId: null };
|
|
|
9732
9732
|
function useFactsSearch(options = {}) {
|
|
9733
9733
|
const { mode = "hybrid", limit = 30 } = options;
|
|
9734
9734
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9735
|
-
const session =
|
|
9735
|
+
const session = chunkMDSWUCCL_cjs.useArbiSessionStore();
|
|
9736
9736
|
const workspaceId = options.workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : null);
|
|
9737
|
-
const [kept, setKept] =
|
|
9737
|
+
const [kept, setKept] = chunkMDSWUCCL_cjs.useTransientView(FACTS_SEARCH_VIEW, EMPTY2);
|
|
9738
9738
|
const searchFacts = useSearchFacts(workspaceId);
|
|
9739
9739
|
const run2 = React.useRef(0);
|
|
9740
9740
|
const foreign = !!kept.workspaceId && !!workspaceId && kept.workspaceId !== workspaceId;
|
|
@@ -10326,7 +10326,7 @@ function namesOfWorkspaces(workspaces) {
|
|
|
10326
10326
|
return names;
|
|
10327
10327
|
}
|
|
10328
10328
|
function useNames(enabled = true) {
|
|
10329
|
-
const { data } =
|
|
10329
|
+
const { data } = chunkMDSWUCCL_cjs.useWorkspaces({ enabled });
|
|
10330
10330
|
return React.useMemo(() => {
|
|
10331
10331
|
const names = namesOfWorkspaces(data);
|
|
10332
10332
|
return (id) => id ? names.get(id) ?? id : null;
|
|
@@ -10387,8 +10387,8 @@ function createWorkflowsSource(labels) {
|
|
|
10387
10387
|
description: l.description,
|
|
10388
10388
|
useFields: staticFields(fields),
|
|
10389
10389
|
useRows(_params, enabled) {
|
|
10390
|
-
const on =
|
|
10391
|
-
const workspaceId =
|
|
10390
|
+
const on = chunkVUU32OVP_cjs.useFeature("workflows");
|
|
10391
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
10392
10392
|
const query = useWorkflows({ enabled: enabled && on });
|
|
10393
10393
|
const nameOf = useNames(enabled);
|
|
10394
10394
|
const rows = React.useMemo(
|
|
@@ -10456,9 +10456,9 @@ function createActivitySource(labels) {
|
|
|
10456
10456
|
useFields: staticFields(fields),
|
|
10457
10457
|
useRows(_params, enabled) {
|
|
10458
10458
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10459
|
-
const workspaceId =
|
|
10459
|
+
const workspaceId = chunkMDSWUCCL_cjs.useArbiSessionState((s) => s.workspaceId) ?? void 0;
|
|
10460
10460
|
const { settled, openSelectedWorkspace } = useSwitchWorkspace();
|
|
10461
|
-
const feed =
|
|
10461
|
+
const feed = chunkMDSWUCCL_cjs.useWorkspaceActivity(workspaceId, {
|
|
10462
10462
|
enabled: enabled && arbi.isLoggedIn,
|
|
10463
10463
|
limit: ENTRIES,
|
|
10464
10464
|
beforeFetch: async () => {
|
|
@@ -10526,7 +10526,7 @@ function createConversationsSource(labels) {
|
|
|
10526
10526
|
useRows(params, enabled) {
|
|
10527
10527
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10528
10528
|
const workspaceId = typeof params.workspaceId === "string" && params.workspaceId ? params.workspaceId : arbi.hasWorkspace ? arbi.getWorkspaceId() : void 0;
|
|
10529
|
-
const query =
|
|
10529
|
+
const query = chunkMDSWUCCL_cjs.useConversations(workspaceId, { enabled });
|
|
10530
10530
|
const nameOf = useNames(enabled);
|
|
10531
10531
|
const rows = React.useMemo(() => {
|
|
10532
10532
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -10634,7 +10634,7 @@ function createDatabaseSource(labels) {
|
|
|
10634
10634
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10635
10635
|
const databaseId = text(params.databaseId);
|
|
10636
10636
|
const viewName = text(params.view);
|
|
10637
|
-
const settings =
|
|
10637
|
+
const settings = chunkVUU32OVP_cjs.useUserSettings({ enabled: Boolean(viewName) });
|
|
10638
10638
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10639
10639
|
return React.useMemo(
|
|
10640
10640
|
() => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
|
|
@@ -10716,7 +10716,7 @@ function createDatabaseSource(labels) {
|
|
|
10716
10716
|
useOptions(params) {
|
|
10717
10717
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10718
10718
|
const databaseId = text(params.databaseId);
|
|
10719
|
-
const settings =
|
|
10719
|
+
const settings = chunkVUU32OVP_cjs.useUserSettings({ enabled: Boolean(databaseId) });
|
|
10720
10720
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10721
10721
|
const options = React.useMemo(
|
|
10722
10722
|
() => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
|
|
@@ -10925,7 +10925,7 @@ function createProjectsSource(options = {}) {
|
|
|
10925
10925
|
label: l.source,
|
|
10926
10926
|
description: l.description,
|
|
10927
10927
|
useFields() {
|
|
10928
|
-
const query =
|
|
10928
|
+
const query = chunkMDSWUCCL_cjs.useProjects();
|
|
10929
10929
|
const fields = React.useMemo(
|
|
10930
10930
|
() => fieldsOf(query.data),
|
|
10931
10931
|
[query.data]
|
|
@@ -10933,7 +10933,7 @@ function createProjectsSource(options = {}) {
|
|
|
10933
10933
|
return { fields, isLoading: query.isLoading, error: query.error };
|
|
10934
10934
|
},
|
|
10935
10935
|
useRows(_params, enabled) {
|
|
10936
|
-
const query =
|
|
10936
|
+
const query = chunkMDSWUCCL_cjs.useProjects({ enabled });
|
|
10937
10937
|
const nameOf = useNames(enabled);
|
|
10938
10938
|
const rows = React.useMemo(() => {
|
|
10939
10939
|
const projects = query.data;
|
|
@@ -11010,7 +11010,7 @@ function createTagsSource(labels) {
|
|
|
11010
11010
|
description: l.description,
|
|
11011
11011
|
useFields: staticFields(fields),
|
|
11012
11012
|
useRows(_params, enabled) {
|
|
11013
|
-
const query =
|
|
11013
|
+
const query = chunkMDSWUCCL_cjs.useTags(void 0, { enabled });
|
|
11014
11014
|
const nameOf = useNames(enabled);
|
|
11015
11015
|
const rows = React.useMemo(
|
|
11016
11016
|
() => query.data?.map((t) => ({
|
|
@@ -11135,8 +11135,8 @@ function useUsageResponses(params, enabled) {
|
|
|
11135
11135
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11136
11136
|
const monthsBack = monthsBackOf(params);
|
|
11137
11137
|
const only = projectOf(params);
|
|
11138
|
-
const projects =
|
|
11139
|
-
const user =
|
|
11138
|
+
const projects = chunkMDSWUCCL_cjs.useProjects({ enabled });
|
|
11139
|
+
const user = chunkMDSWUCCL_cjs.useCurrentUser({ enabled: enabled && arbi.isLoggedIn && !only });
|
|
11140
11140
|
const me = user.data?.external_id;
|
|
11141
11141
|
const list = React.useMemo(() => {
|
|
11142
11142
|
const all = projects.data ?? [];
|
|
@@ -11192,8 +11192,8 @@ function usageParams(l) {
|
|
|
11192
11192
|
placeholder: l.allProjects,
|
|
11193
11193
|
useOptions() {
|
|
11194
11194
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11195
|
-
const projects =
|
|
11196
|
-
const user =
|
|
11195
|
+
const projects = chunkMDSWUCCL_cjs.useProjects();
|
|
11196
|
+
const user = chunkMDSWUCCL_cjs.useCurrentUser({ enabled: arbi.isLoggedIn });
|
|
11197
11197
|
const me = user.data?.external_id;
|
|
11198
11198
|
const options = React.useMemo(
|
|
11199
11199
|
() => ownedBy(projects.data, me).map((p) => ({ value: p.external_id, label: p.name })),
|
|
@@ -11264,7 +11264,7 @@ function createUsageBreakdownSource(labels) {
|
|
|
11264
11264
|
useRows(params, enabled) {
|
|
11265
11265
|
const by = breakdownOf(params);
|
|
11266
11266
|
const { usages, isLoading, error } = useUsageResponses(params, enabled);
|
|
11267
|
-
const workspaces =
|
|
11267
|
+
const workspaces = chunkMDSWUCCL_cjs.useWorkspaces({
|
|
11268
11268
|
enabled: enabled && (by === "user" || by === "workspace")
|
|
11269
11269
|
});
|
|
11270
11270
|
const names = React.useMemo(
|
|
@@ -11313,8 +11313,8 @@ function createWorkspacesSource(labels) {
|
|
|
11313
11313
|
description: l.description,
|
|
11314
11314
|
useFields: staticFields(fields),
|
|
11315
11315
|
useRows(_params, enabled) {
|
|
11316
|
-
const workspaces =
|
|
11317
|
-
const projects =
|
|
11316
|
+
const workspaces = chunkMDSWUCCL_cjs.useWorkspaces({ enabled });
|
|
11317
|
+
const projects = chunkMDSWUCCL_cjs.useProjects({ enabled });
|
|
11318
11318
|
const rows = React.useMemo(() => {
|
|
11319
11319
|
const list = workspaces.data;
|
|
11320
11320
|
if (!list) return void 0;
|
|
@@ -12115,6 +12115,16 @@ function useContacts(options) {
|
|
|
12115
12115
|
staleTime: 3e4
|
|
12116
12116
|
});
|
|
12117
12117
|
}
|
|
12118
|
+
function useReferralSummary(currentUserExtId) {
|
|
12119
|
+
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12120
|
+
return reactQuery.useQuery({
|
|
12121
|
+
queryKey: [...chunkFE6ZSNZE_cjs.arbiQueryKeys.contacts(), "referrals", currentUserExtId],
|
|
12122
|
+
queryFn: () => arbi.contacts.referrals(),
|
|
12123
|
+
enabled: arbi.isLoggedIn,
|
|
12124
|
+
retry: false,
|
|
12125
|
+
staleTime: 3e4
|
|
12126
|
+
});
|
|
12127
|
+
}
|
|
12118
12128
|
function useInvalidateContacts() {
|
|
12119
12129
|
const qc = reactQuery.useQueryClient();
|
|
12120
12130
|
return () => qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.contacts() });
|
|
@@ -12229,8 +12239,8 @@ function usePeople() {
|
|
|
12229
12239
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12230
12240
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
12231
12241
|
const { data: contacts = [] } = useContacts();
|
|
12232
|
-
const { data: workspaces = [] } =
|
|
12233
|
-
const { data: agents = [] } =
|
|
12242
|
+
const { data: workspaces = [] } = chunkMDSWUCCL_cjs.useWorkspaces();
|
|
12243
|
+
const { data: agents = [] } = chunkMDSWUCCL_cjs.useAgents();
|
|
12234
12244
|
return React.useMemo(() => {
|
|
12235
12245
|
const people = [];
|
|
12236
12246
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -12330,7 +12340,7 @@ var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
|
12330
12340
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
12331
12341
|
function useModelConnections() {
|
|
12332
12342
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12333
|
-
const userId =
|
|
12343
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12334
12344
|
return reactQuery.useQuery({
|
|
12335
12345
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.modelConnections(userId),
|
|
12336
12346
|
queryFn: () => arbi.modelConnections.list(),
|
|
@@ -12339,7 +12349,7 @@ function useModelConnections() {
|
|
|
12339
12349
|
}
|
|
12340
12350
|
function useDirectModelUsage() {
|
|
12341
12351
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12342
|
-
const userId =
|
|
12352
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12343
12353
|
return reactQuery.useQuery({
|
|
12344
12354
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.directModelUsage(userId),
|
|
12345
12355
|
queryFn: () => arbi.modelConnections.usage(),
|
|
@@ -12348,7 +12358,7 @@ function useDirectModelUsage() {
|
|
|
12348
12358
|
}
|
|
12349
12359
|
function useRefreshModelConnections() {
|
|
12350
12360
|
const qc = reactQuery.useQueryClient();
|
|
12351
|
-
const userId =
|
|
12361
|
+
const userId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12352
12362
|
return async () => {
|
|
12353
12363
|
await qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.modelConnections(userId) });
|
|
12354
12364
|
await qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.availableModels() });
|
|
@@ -12467,13 +12477,13 @@ function useAssistantStatus(workspaceExtId) {
|
|
|
12467
12477
|
return query;
|
|
12468
12478
|
}
|
|
12469
12479
|
function useRequestEmailChange() {
|
|
12470
|
-
const { client } =
|
|
12480
|
+
const { client } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12471
12481
|
return reactQuery.useMutation({
|
|
12472
12482
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
12473
12483
|
});
|
|
12474
12484
|
}
|
|
12475
12485
|
function useConfirmEmailChange() {
|
|
12476
|
-
const { client } =
|
|
12486
|
+
const { client } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12477
12487
|
const qc = reactQuery.useQueryClient();
|
|
12478
12488
|
return reactQuery.useMutation({
|
|
12479
12489
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -12541,7 +12551,7 @@ function useEmailChange({
|
|
|
12541
12551
|
};
|
|
12542
12552
|
}
|
|
12543
12553
|
function usePasswordChange() {
|
|
12544
|
-
const { client } =
|
|
12554
|
+
const { client } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12545
12555
|
return reactQuery.useMutation({
|
|
12546
12556
|
mutationFn: (vars) => client.changePassword(vars)
|
|
12547
12557
|
});
|
|
@@ -12635,8 +12645,8 @@ function usePasswordChangeForm({
|
|
|
12635
12645
|
}
|
|
12636
12646
|
function useDismissedTips() {
|
|
12637
12647
|
const queryClient = reactQuery.useQueryClient();
|
|
12638
|
-
const { data: userSettings } =
|
|
12639
|
-
const { mutate: updateUserSettings } =
|
|
12648
|
+
const { data: userSettings } = chunkVUU32OVP_cjs.useUserSettings();
|
|
12649
|
+
const { mutate: updateUserSettings } = chunkVUU32OVP_cjs.useUpdateUserSettings();
|
|
12640
12650
|
const loaded = userSettings !== void 0;
|
|
12641
12651
|
const dismissed = userSettings?.dismissed_tips ?? [];
|
|
12642
12652
|
const dismissTip = React.useCallback(
|
|
@@ -12670,7 +12680,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
12670
12680
|
function useNotificationPreferences(keys, options) {
|
|
12671
12681
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12672
12682
|
const qc = reactQuery.useQueryClient();
|
|
12673
|
-
const settings =
|
|
12683
|
+
const settings = chunkVUU32OVP_cjs.useUserSettings(options);
|
|
12674
12684
|
const stored = settings.data?.email_notifications;
|
|
12675
12685
|
const save = reactQuery.useMutation({
|
|
12676
12686
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
@@ -12729,7 +12739,7 @@ function useRelevanceSave() {
|
|
|
12729
12739
|
}
|
|
12730
12740
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
12731
12741
|
const qc = reactQuery.useQueryClient();
|
|
12732
|
-
const settings =
|
|
12742
|
+
const settings = chunkVUU32OVP_cjs.useUserSettings(options);
|
|
12733
12743
|
const save = useRelevanceSave();
|
|
12734
12744
|
const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
|
|
12735
12745
|
const setLevel = React.useCallback(
|
|
@@ -12750,7 +12760,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
12750
12760
|
}
|
|
12751
12761
|
function useFollowThread(conversationId, options) {
|
|
12752
12762
|
const qc = reactQuery.useQueryClient();
|
|
12753
|
-
const settings =
|
|
12763
|
+
const settings = chunkVUU32OVP_cjs.useUserSettings(options);
|
|
12754
12764
|
const save = useRelevanceSave();
|
|
12755
12765
|
const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
|
|
12756
12766
|
const setFollowing = React.useCallback(
|
|
@@ -12779,7 +12789,7 @@ function useFollowThread(conversationId, options) {
|
|
|
12779
12789
|
};
|
|
12780
12790
|
}
|
|
12781
12791
|
function useSessions(options) {
|
|
12782
|
-
const { client, enabled } =
|
|
12792
|
+
const { client, enabled } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12783
12793
|
return reactQuery.useQuery({
|
|
12784
12794
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.sessions(),
|
|
12785
12795
|
queryFn: () => client.listSessions(),
|
|
@@ -12787,7 +12797,7 @@ function useSessions(options) {
|
|
|
12787
12797
|
});
|
|
12788
12798
|
}
|
|
12789
12799
|
function useTerminateSession() {
|
|
12790
|
-
const { client } =
|
|
12800
|
+
const { client } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12791
12801
|
const qc = reactQuery.useQueryClient();
|
|
12792
12802
|
return reactQuery.useMutation({
|
|
12793
12803
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -12795,7 +12805,7 @@ function useTerminateSession() {
|
|
|
12795
12805
|
});
|
|
12796
12806
|
}
|
|
12797
12807
|
function useSignOut() {
|
|
12798
|
-
const { client } =
|
|
12808
|
+
const { client } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12799
12809
|
const qc = reactQuery.useQueryClient();
|
|
12800
12810
|
return reactQuery.useMutation({
|
|
12801
12811
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -12803,7 +12813,7 @@ function useSignOut() {
|
|
|
12803
12813
|
});
|
|
12804
12814
|
}
|
|
12805
12815
|
function useCurrentSessionId() {
|
|
12806
|
-
return
|
|
12816
|
+
return chunkVUU32OVP_cjs.useAccountClient().client.currentSessionId();
|
|
12807
12817
|
}
|
|
12808
12818
|
function parseDeleteAccountBlockers(error) {
|
|
12809
12819
|
const body = error?.apiError ?? error;
|
|
@@ -12818,7 +12828,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
12818
12828
|
return [];
|
|
12819
12829
|
}
|
|
12820
12830
|
function useDeleteAccount() {
|
|
12821
|
-
const { client } =
|
|
12831
|
+
const { client } = chunkVUU32OVP_cjs.useAccountClient();
|
|
12822
12832
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
12823
12833
|
}
|
|
12824
12834
|
function useDeleteAccountFlow({
|
|
@@ -13140,7 +13150,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
13140
13150
|
};
|
|
13141
13151
|
}
|
|
13142
13152
|
function useIdentityVerification(options = {}) {
|
|
13143
|
-
const { client, enabled } =
|
|
13153
|
+
const { client, enabled } = chunkVUU32OVP_cjs.useAccountClient();
|
|
13144
13154
|
const qc = reactQuery.useQueryClient();
|
|
13145
13155
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
13146
13156
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -13238,15 +13248,15 @@ function useNativeThreadKeys(account, messages) {
|
|
|
13238
13248
|
var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13239
13249
|
var NEW_MAIL_DEBOUNCE_MS = 5e3;
|
|
13240
13250
|
function useOfflineMailActive() {
|
|
13241
|
-
const { user, status } =
|
|
13242
|
-
const mailEnabled =
|
|
13243
|
-
const entitled =
|
|
13251
|
+
const { user, status } = chunkMDSWUCCL_cjs.useArbiSession();
|
|
13252
|
+
const mailEnabled = chunkVUU32OVP_cjs.useFeature("mail");
|
|
13253
|
+
const entitled = chunkVUU32OVP_cjs.useIsEntitled("mail");
|
|
13244
13254
|
const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
|
|
13245
13255
|
const { data: policy } = useMailPolicy({ enabled: eligible });
|
|
13246
13256
|
return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
|
|
13247
13257
|
}
|
|
13248
13258
|
function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
13249
|
-
const { user, serverSessionKey } =
|
|
13259
|
+
const { user, serverSessionKey } = chunkMDSWUCCL_cjs.useArbiSession();
|
|
13250
13260
|
const userExtId = user?.external_id;
|
|
13251
13261
|
const hasSession = !!serverSessionKey;
|
|
13252
13262
|
const active = useOfflineMailActive();
|
|
@@ -13256,15 +13266,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13256
13266
|
latest.current = { arbi, queryClient, openOutbox };
|
|
13257
13267
|
React.useEffect(() => {
|
|
13258
13268
|
if (!active || !userExtId) return;
|
|
13259
|
-
|
|
13269
|
+
chunkVUU32OVP_cjs.claimOfflineMail(userExtId).catch(
|
|
13260
13270
|
(error) => client.logger.warn("[offline-mail] could not bind the store", error)
|
|
13261
13271
|
);
|
|
13262
13272
|
}, [active, userExtId]);
|
|
13263
13273
|
React.useEffect(() => {
|
|
13264
13274
|
if (!active || !userExtId) return;
|
|
13265
|
-
return
|
|
13275
|
+
return chunkVUU32OVP_cjs.onOfflineMailChange((change) => {
|
|
13266
13276
|
if (change !== "settings") return;
|
|
13267
|
-
trimOfflineMailbox(
|
|
13277
|
+
trimOfflineMailbox(chunkVUU32OVP_cjs.getOfflineMailSettings(userExtId)).then(
|
|
13268
13278
|
() => latest.current.queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.mailQueryKeys.allMessages() })
|
|
13269
13279
|
).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
|
|
13270
13280
|
});
|
|
@@ -13289,7 +13299,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13289
13299
|
const interval = setInterval(() => {
|
|
13290
13300
|
if (document.visibilityState === "visible") run2();
|
|
13291
13301
|
}, SYNC_INTERVAL_MS);
|
|
13292
|
-
const enabled = () =>
|
|
13302
|
+
const enabled = () => chunkVUU32OVP_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
|
|
13293
13303
|
let newMailTimer = null;
|
|
13294
13304
|
const offCache = queryClient.getQueryCache().subscribe((event) => {
|
|
13295
13305
|
if (event.type !== "updated" || event.action.type !== "invalidate") return;
|
|
@@ -13297,7 +13307,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13297
13307
|
if (newMailTimer) clearTimeout(newMailTimer);
|
|
13298
13308
|
newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
|
|
13299
13309
|
});
|
|
13300
|
-
const offSettings =
|
|
13310
|
+
const offSettings = chunkVUU32OVP_cjs.onOfflineMailChange((change) => {
|
|
13301
13311
|
if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
|
|
13302
13312
|
if (change === "outbox") void flushOutbox(context());
|
|
13303
13313
|
if (change === "changes") void flushOutbox(context());
|
|
@@ -13319,7 +13329,7 @@ function useStoreValue(load, initial, changes) {
|
|
|
13319
13329
|
let alive = true;
|
|
13320
13330
|
const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
|
|
13321
13331
|
void read();
|
|
13322
|
-
const off =
|
|
13332
|
+
const off = chunkVUU32OVP_cjs.onOfflineMailChange((change) => {
|
|
13323
13333
|
if (change === "wiped") setValue(initial);
|
|
13324
13334
|
if (change === "wiped" || key.split(",").includes(change)) void read();
|
|
13325
13335
|
});
|
|
@@ -13331,20 +13341,20 @@ function useStoreValue(load, initial, changes) {
|
|
|
13331
13341
|
return value;
|
|
13332
13342
|
}
|
|
13333
13343
|
function useOfflineMailSettings() {
|
|
13334
|
-
const userExtId =
|
|
13344
|
+
const userExtId = chunkMDSWUCCL_cjs.useArbiSession().user?.external_id;
|
|
13335
13345
|
const subscribe = React.useCallback(
|
|
13336
|
-
(onChange) =>
|
|
13346
|
+
(onChange) => chunkVUU32OVP_cjs.onOfflineMailChange((change) => {
|
|
13337
13347
|
if (change === "settings") onChange();
|
|
13338
13348
|
}),
|
|
13339
13349
|
[]
|
|
13340
13350
|
);
|
|
13341
13351
|
const raw = React.useSyncExternalStore(
|
|
13342
13352
|
subscribe,
|
|
13343
|
-
() => JSON.stringify([userExtId,
|
|
13353
|
+
() => JSON.stringify([userExtId, chunkVUU32OVP_cjs.getOfflineMailSettings(userExtId)])
|
|
13344
13354
|
);
|
|
13345
13355
|
const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
|
|
13346
13356
|
const update2 = React.useCallback(
|
|
13347
|
-
(patch) => void
|
|
13357
|
+
(patch) => void chunkVUU32OVP_cjs.setOfflineMailSettings(userExtId, patch),
|
|
13348
13358
|
[userExtId]
|
|
13349
13359
|
);
|
|
13350
13360
|
return [settings, update2];
|
|
@@ -13354,7 +13364,7 @@ function useOfflineMailStatus() {
|
|
|
13354
13364
|
const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
|
|
13355
13365
|
const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
|
|
13356
13366
|
React.useEffect(
|
|
13357
|
-
() =>
|
|
13367
|
+
() => chunkVUU32OVP_cjs.onOfflineMailChange((change) => {
|
|
13358
13368
|
if (change === "status") setSyncing(isMailSyncRunning());
|
|
13359
13369
|
}),
|
|
13360
13370
|
[]
|
|
@@ -13396,7 +13406,7 @@ function useSyncOfflineMailbox() {
|
|
|
13396
13406
|
async function storeExists() {
|
|
13397
13407
|
try {
|
|
13398
13408
|
const databases = await indexedDB.databases?.();
|
|
13399
|
-
return databases ? databases.some((d) => d.name ===
|
|
13409
|
+
return databases ? databases.some((d) => d.name === chunkVUU32OVP_cjs.OFFLINE_MAIL_DB) : true;
|
|
13400
13410
|
} catch {
|
|
13401
13411
|
return true;
|
|
13402
13412
|
}
|
|
@@ -13454,7 +13464,7 @@ function useDisconnectConnector() {
|
|
|
13454
13464
|
);
|
|
13455
13465
|
}
|
|
13456
13466
|
function useConnectorVendorVisibility() {
|
|
13457
|
-
const { data: settings } =
|
|
13467
|
+
const { data: settings } = chunkVUU32OVP_cjs.useUserSettings();
|
|
13458
13468
|
return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
|
|
13459
13469
|
}
|
|
13460
13470
|
function connectorReturnTo(reopen) {
|
|
@@ -13632,7 +13642,7 @@ function checkNowAndOnFocus(check) {
|
|
|
13632
13642
|
function useConnectorAutoSync(workspaceExtId, opened) {
|
|
13633
13643
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
13634
13644
|
const qc = reactQuery.useQueryClient();
|
|
13635
|
-
const hasMail =
|
|
13645
|
+
const hasMail = chunkVUU32OVP_cjs.useIsEntitled("mail");
|
|
13636
13646
|
React.useEffect(() => {
|
|
13637
13647
|
if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
|
|
13638
13648
|
return checkNowAndOnFocus(() => {
|
|
@@ -14250,7 +14260,7 @@ var OfflineCalendarLockedError = class extends Error {
|
|
|
14250
14260
|
this.name = "OfflineCalendarLockedError";
|
|
14251
14261
|
}
|
|
14252
14262
|
};
|
|
14253
|
-
var store =
|
|
14263
|
+
var store = chunkVUU32OVP_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
|
|
14254
14264
|
var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
|
|
14255
14265
|
locked: () => new OfflineCalendarLockedError()
|
|
14256
14266
|
});
|
|
@@ -14529,7 +14539,7 @@ async function replay(arbi, queryClient) {
|
|
|
14529
14539
|
);
|
|
14530
14540
|
}
|
|
14531
14541
|
function useCalendarOfflineRuntime() {
|
|
14532
|
-
const { status, serverSessionKey, user } =
|
|
14542
|
+
const { status, serverSessionKey, user } = chunkMDSWUCCL_cjs.useArbiSession();
|
|
14533
14543
|
const userExtId = user?.external_id;
|
|
14534
14544
|
const authenticated = status === "signed-in";
|
|
14535
14545
|
const hasSession = !!serverSessionKey;
|
|
@@ -14586,7 +14596,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
14586
14596
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
14587
14597
|
}
|
|
14588
14598
|
function useAiTask() {
|
|
14589
|
-
const mutation =
|
|
14599
|
+
const mutation = chunkMDSWUCCL_cjs.useAssistantQuery();
|
|
14590
14600
|
const [status, setStatus] = React.useState("idle");
|
|
14591
14601
|
const [text2, setText] = React.useState("");
|
|
14592
14602
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -15750,7 +15760,7 @@ function ActivityFeed({
|
|
|
15750
15760
|
enabled,
|
|
15751
15761
|
"data-testid": testId = "activity-feed"
|
|
15752
15762
|
}) {
|
|
15753
|
-
const { data, isLoading, isError } =
|
|
15763
|
+
const { data, isLoading, isError } = chunkMDSWUCCL_cjs.useActivity({ limit, enabled });
|
|
15754
15764
|
if (isLoading) {
|
|
15755
15765
|
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: [
|
|
15756
15766
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -16728,7 +16738,7 @@ function useChatUnreadTotal() {
|
|
|
16728
16738
|
function useUnreadByPeer() {
|
|
16729
16739
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
16730
16740
|
const { data = [] } = useChats();
|
|
16731
|
-
const me =
|
|
16741
|
+
const me = chunkVUU32OVP_cjs.myChatId(arbi);
|
|
16732
16742
|
return React.useMemo(() => {
|
|
16733
16743
|
const out = /* @__PURE__ */ new Map();
|
|
16734
16744
|
for (const c of data) {
|
|
@@ -16818,13 +16828,13 @@ function useChatPost() {
|
|
|
16818
16828
|
const queryClient = reactQuery.useQueryClient();
|
|
16819
16829
|
return React.useCallback(
|
|
16820
16830
|
async (target, post) => {
|
|
16821
|
-
const me =
|
|
16831
|
+
const me = chunkVUU32OVP_cjs.myChatId(arbi);
|
|
16822
16832
|
if (!me) throw new Error("No active session");
|
|
16823
16833
|
let chat = target.chat;
|
|
16824
16834
|
if (!chat) {
|
|
16825
16835
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
16826
16836
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
16827
|
-
|
|
16837
|
+
chunkVUU32OVP_cjs.upsertChat(queryClient, chat);
|
|
16828
16838
|
queryClient.setQueryData(
|
|
16829
16839
|
chunkFE6ZSNZE_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
16830
16840
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -16847,7 +16857,7 @@ function useChatPost() {
|
|
|
16847
16857
|
updated_at: now,
|
|
16848
16858
|
optimistic: true
|
|
16849
16859
|
};
|
|
16850
|
-
|
|
16860
|
+
chunkVUU32OVP_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
16851
16861
|
try {
|
|
16852
16862
|
let attachments = [];
|
|
16853
16863
|
if (files.length) {
|
|
@@ -16867,15 +16877,15 @@ function useChatPost() {
|
|
|
16867
16877
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
16868
16878
|
contextOnly: !!post.contextOnly
|
|
16869
16879
|
});
|
|
16870
|
-
|
|
16871
|
-
|
|
16880
|
+
chunkVUU32OVP_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
16881
|
+
chunkVUU32OVP_cjs.upsertChat(queryClient, {
|
|
16872
16882
|
...chat,
|
|
16873
16883
|
last_message: message,
|
|
16874
16884
|
last_message_at: message.created_at
|
|
16875
16885
|
});
|
|
16876
16886
|
return { chat, message };
|
|
16877
16887
|
} catch (err) {
|
|
16878
|
-
|
|
16888
|
+
chunkVUU32OVP_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
16879
16889
|
void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.chatList() });
|
|
16880
16890
|
throw err;
|
|
16881
16891
|
}
|
|
@@ -16887,7 +16897,7 @@ function useDeleteChatMessage() {
|
|
|
16887
16897
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
16888
16898
|
const queryClient = reactQuery.useQueryClient();
|
|
16889
16899
|
return React.useCallback(
|
|
16890
|
-
(chatExtId, messageExtId) =>
|
|
16900
|
+
(chatExtId, messageExtId) => chunkVUU32OVP_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
16891
16901
|
[arbi, queryClient]
|
|
16892
16902
|
);
|
|
16893
16903
|
}
|
|
@@ -16896,7 +16906,7 @@ function useMarkChatRead() {
|
|
|
16896
16906
|
const queryClient = reactQuery.useQueryClient();
|
|
16897
16907
|
return React.useCallback(
|
|
16898
16908
|
(chat, messageExtId) => {
|
|
16899
|
-
|
|
16909
|
+
chunkVUU32OVP_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
16900
16910
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
16901
16911
|
() => void 0,
|
|
16902
16912
|
() => void 0
|
|
@@ -16910,7 +16920,7 @@ function useCreateGroupChat() {
|
|
|
16910
16920
|
const queryClient = reactQuery.useQueryClient();
|
|
16911
16921
|
return reactQuery.useMutation({
|
|
16912
16922
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
16913
|
-
onSuccess: (chat) =>
|
|
16923
|
+
onSuccess: (chat) => chunkVUU32OVP_cjs.upsertChat(queryClient, chat)
|
|
16914
16924
|
});
|
|
16915
16925
|
}
|
|
16916
16926
|
function useRenameChat() {
|
|
@@ -16918,7 +16928,7 @@ function useRenameChat() {
|
|
|
16918
16928
|
const queryClient = reactQuery.useQueryClient();
|
|
16919
16929
|
return reactQuery.useMutation({
|
|
16920
16930
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
16921
|
-
onSuccess: (chat) =>
|
|
16931
|
+
onSuccess: (chat) => chunkVUU32OVP_cjs.upsertChat(queryClient, chat)
|
|
16922
16932
|
});
|
|
16923
16933
|
}
|
|
16924
16934
|
function useAddChatMembers() {
|
|
@@ -16926,7 +16936,7 @@ function useAddChatMembers() {
|
|
|
16926
16936
|
const queryClient = reactQuery.useQueryClient();
|
|
16927
16937
|
return reactQuery.useMutation({
|
|
16928
16938
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
16929
|
-
onSuccess: (chat) =>
|
|
16939
|
+
onSuccess: (chat) => chunkVUU32OVP_cjs.upsertChat(queryClient, chat)
|
|
16930
16940
|
});
|
|
16931
16941
|
}
|
|
16932
16942
|
function useRemoveChatMember() {
|
|
@@ -16935,7 +16945,7 @@ function useRemoveChatMember() {
|
|
|
16935
16945
|
return reactQuery.useMutation({
|
|
16936
16946
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
16937
16947
|
onSuccess: (_data, vars) => {
|
|
16938
|
-
if (vars.userExtId ===
|
|
16948
|
+
if (vars.userExtId === chunkVUU32OVP_cjs.myChatId(arbi)) chunkVUU32OVP_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
16939
16949
|
else return queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.chatList() });
|
|
16940
16950
|
}
|
|
16941
16951
|
});
|
|
@@ -16945,11 +16955,11 @@ function useChatArrivals(onArrival) {
|
|
|
16945
16955
|
const queryClient = reactQuery.useQueryClient();
|
|
16946
16956
|
useArbiWsMessage("chat.message", (message) => {
|
|
16947
16957
|
const senderId = message.message.sender_ext_id;
|
|
16948
|
-
if (!senderId || senderId ===
|
|
16949
|
-
if (message.message.kind !== "text" ||
|
|
16958
|
+
if (!senderId || senderId === chunkVUU32OVP_cjs.myChatId(arbi)) return;
|
|
16959
|
+
if (message.message.kind !== "text" || chunkVUU32OVP_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
16950
16960
|
const muted = queryClient.getQueriesData({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
16951
16961
|
if (muted?.includes(senderId)) return;
|
|
16952
|
-
const chat =
|
|
16962
|
+
const chat = chunkVUU32OVP_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
16953
16963
|
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
16954
16964
|
onArrival({
|
|
16955
16965
|
chatId: message.chat_ext_id,
|
|
@@ -17165,7 +17175,7 @@ var REMOTE_CONTROL_VIEW = "actions.remoteControl";
|
|
|
17165
17175
|
var OFF = { enabled: false, pending: null, controllingAgent: null };
|
|
17166
17176
|
var remoteControlStateOf = (state) => state.views.transient[REMOTE_CONTROL_VIEW] ?? OFF;
|
|
17167
17177
|
function useRemoteControl(selector) {
|
|
17168
|
-
return
|
|
17178
|
+
return chunkMDSWUCCL_cjs.useArbiSessionState((state) => selector(remoteControlStateOf(state)));
|
|
17169
17179
|
}
|
|
17170
17180
|
function remoteControlActions(session) {
|
|
17171
17181
|
const update2 = (change) => {
|
|
@@ -17257,775 +17267,775 @@ function useRateSupportTicket() {
|
|
|
17257
17267
|
|
|
17258
17268
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
17259
17269
|
enumerable: true,
|
|
17260
|
-
get: function () { return
|
|
17270
|
+
get: function () { return chunkVUU32OVP_cjs.AUDIENCE_CHOICES; }
|
|
17261
17271
|
});
|
|
17262
17272
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
17263
17273
|
enumerable: true,
|
|
17264
|
-
get: function () { return
|
|
17274
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_CAPTION_TOPIC; }
|
|
17265
17275
|
});
|
|
17266
17276
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
17267
17277
|
enumerable: true,
|
|
17268
|
-
get: function () { return
|
|
17278
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_CHAT_MAX_CHARS; }
|
|
17269
17279
|
});
|
|
17270
17280
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
17271
17281
|
enumerable: true,
|
|
17272
|
-
get: function () { return
|
|
17282
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_CHAT_TOPIC; }
|
|
17273
17283
|
});
|
|
17274
17284
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
17275
17285
|
enumerable: true,
|
|
17276
|
-
get: function () { return
|
|
17286
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_MODERATION_TOPIC; }
|
|
17277
17287
|
});
|
|
17278
17288
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
17279
17289
|
enumerable: true,
|
|
17280
|
-
get: function () { return
|
|
17290
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_RECORDING_TOPIC; }
|
|
17281
17291
|
});
|
|
17282
17292
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
17283
17293
|
enumerable: true,
|
|
17284
|
-
get: function () { return
|
|
17294
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
17285
17295
|
});
|
|
17286
17296
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
17287
17297
|
enumerable: true,
|
|
17288
|
-
get: function () { return
|
|
17298
|
+
get: function () { return chunkVUU32OVP_cjs.CALL_WEBINAR_TOPIC; }
|
|
17289
17299
|
});
|
|
17290
17300
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
17291
17301
|
enumerable: true,
|
|
17292
|
-
get: function () { return
|
|
17302
|
+
get: function () { return chunkVUU32OVP_cjs.CAPTION_MAX_CHARS; }
|
|
17293
17303
|
});
|
|
17294
17304
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
17295
17305
|
enumerable: true,
|
|
17296
|
-
get: function () { return
|
|
17306
|
+
get: function () { return chunkVUU32OVP_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
17297
17307
|
});
|
|
17298
17308
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
17299
17309
|
enumerable: true,
|
|
17300
|
-
get: function () { return
|
|
17310
|
+
get: function () { return chunkVUU32OVP_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
17301
17311
|
});
|
|
17302
17312
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
17303
17313
|
enumerable: true,
|
|
17304
|
-
get: function () { return
|
|
17314
|
+
get: function () { return chunkVUU32OVP_cjs.DEFAULT_JOIN_CHOICES; }
|
|
17305
17315
|
});
|
|
17306
17316
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
17307
17317
|
enumerable: true,
|
|
17308
|
-
get: function () { return
|
|
17318
|
+
get: function () { return chunkVUU32OVP_cjs.EMPTY_CALL_SESSION; }
|
|
17309
17319
|
});
|
|
17310
17320
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
17311
17321
|
enumerable: true,
|
|
17312
|
-
get: function () { return
|
|
17322
|
+
get: function () { return chunkVUU32OVP_cjs.EXPORT_SAMPLE_RATE; }
|
|
17313
17323
|
});
|
|
17314
17324
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
17315
17325
|
enumerable: true,
|
|
17316
|
-
get: function () { return
|
|
17326
|
+
get: function () { return chunkVUU32OVP_cjs.HISTORY_LIMIT; }
|
|
17317
17327
|
});
|
|
17318
17328
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
17319
17329
|
enumerable: true,
|
|
17320
|
-
get: function () { return
|
|
17330
|
+
get: function () { return chunkVUU32OVP_cjs.LIVE_SEGMENTER; }
|
|
17321
17331
|
});
|
|
17322
17332
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
17323
17333
|
enumerable: true,
|
|
17324
|
-
get: function () { return
|
|
17334
|
+
get: function () { return chunkVUU32OVP_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
17325
17335
|
});
|
|
17326
17336
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
17327
17337
|
enumerable: true,
|
|
17328
|
-
get: function () { return
|
|
17338
|
+
get: function () { return chunkVUU32OVP_cjs.MUTED_DEDUPE_MS; }
|
|
17329
17339
|
});
|
|
17330
17340
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
17331
17341
|
enumerable: true,
|
|
17332
|
-
get: function () { return
|
|
17342
|
+
get: function () { return chunkVUU32OVP_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
17333
17343
|
});
|
|
17334
17344
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
17335
17345
|
enumerable: true,
|
|
17336
|
-
get: function () { return
|
|
17346
|
+
get: function () { return chunkVUU32OVP_cjs.READ_ONLY_MEETING_TEXT; }
|
|
17337
17347
|
});
|
|
17338
17348
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
17339
17349
|
enumerable: true,
|
|
17340
|
-
get: function () { return
|
|
17350
|
+
get: function () { return chunkVUU32OVP_cjs.RECORDING_CHUNK_MS; }
|
|
17341
17351
|
});
|
|
17342
17352
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
17343
17353
|
enumerable: true,
|
|
17344
|
-
get: function () { return
|
|
17354
|
+
get: function () { return chunkVUU32OVP_cjs.RECORDING_SEGMENTER; }
|
|
17345
17355
|
});
|
|
17346
17356
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
17347
17357
|
enumerable: true,
|
|
17348
|
-
get: function () { return
|
|
17358
|
+
get: function () { return chunkVUU32OVP_cjs.SEGMENT_FRAME_MS; }
|
|
17349
17359
|
});
|
|
17350
17360
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
17351
17361
|
enumerable: true,
|
|
17352
|
-
get: function () { return
|
|
17362
|
+
get: function () { return chunkVUU32OVP_cjs.SEGMENT_ID_PATTERN; }
|
|
17353
17363
|
});
|
|
17354
17364
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
17355
17365
|
enumerable: true,
|
|
17356
|
-
get: function () { return
|
|
17366
|
+
get: function () { return chunkVUU32OVP_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
17357
17367
|
});
|
|
17358
17368
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
17359
17369
|
enumerable: true,
|
|
17360
|
-
get: function () { return
|
|
17370
|
+
get: function () { return chunkVUU32OVP_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
17361
17371
|
});
|
|
17362
17372
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
17363
17373
|
enumerable: true,
|
|
17364
|
-
get: function () { return
|
|
17374
|
+
get: function () { return chunkVUU32OVP_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
17365
17375
|
});
|
|
17366
17376
|
Object.defineProperty(exports, "TrackUploader", {
|
|
17367
17377
|
enumerable: true,
|
|
17368
|
-
get: function () { return
|
|
17378
|
+
get: function () { return chunkVUU32OVP_cjs.TrackUploader; }
|
|
17369
17379
|
});
|
|
17370
17380
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
17371
17381
|
enumerable: true,
|
|
17372
|
-
get: function () { return
|
|
17382
|
+
get: function () { return chunkVUU32OVP_cjs.UPLOAD_ATTEMPTS; }
|
|
17373
17383
|
});
|
|
17374
17384
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
17375
17385
|
enumerable: true,
|
|
17376
|
-
get: function () { return
|
|
17386
|
+
get: function () { return chunkVUU32OVP_cjs.UPLOAD_BACKOFF_MS; }
|
|
17377
17387
|
});
|
|
17378
17388
|
Object.defineProperty(exports, "acceptRing", {
|
|
17379
17389
|
enumerable: true,
|
|
17380
|
-
get: function () { return
|
|
17390
|
+
get: function () { return chunkVUU32OVP_cjs.acceptRing; }
|
|
17381
17391
|
});
|
|
17382
17392
|
Object.defineProperty(exports, "addConversationToList", {
|
|
17383
17393
|
enumerable: true,
|
|
17384
|
-
get: function () { return
|
|
17394
|
+
get: function () { return chunkVUU32OVP_cjs.addConversationToList; }
|
|
17385
17395
|
});
|
|
17386
17396
|
Object.defineProperty(exports, "appendToThread", {
|
|
17387
17397
|
enumerable: true,
|
|
17388
|
-
get: function () { return
|
|
17398
|
+
get: function () { return chunkVUU32OVP_cjs.appendToThread; }
|
|
17389
17399
|
});
|
|
17390
17400
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
17391
17401
|
enumerable: true,
|
|
17392
|
-
get: function () { return
|
|
17402
|
+
get: function () { return chunkVUU32OVP_cjs.applyAgentDmStatus; }
|
|
17393
17403
|
});
|
|
17394
17404
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
17395
17405
|
enumerable: true,
|
|
17396
|
-
get: function () { return
|
|
17406
|
+
get: function () { return chunkVUU32OVP_cjs.applyCallEvent; }
|
|
17397
17407
|
});
|
|
17398
17408
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
17399
17409
|
enumerable: true,
|
|
17400
|
-
get: function () { return
|
|
17410
|
+
get: function () { return chunkVUU32OVP_cjs.applyChatEvent; }
|
|
17401
17411
|
});
|
|
17402
17412
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
17403
17413
|
enumerable: true,
|
|
17404
|
-
get: function () { return
|
|
17414
|
+
get: function () { return chunkVUU32OVP_cjs.applyChatMessage; }
|
|
17405
17415
|
});
|
|
17406
17416
|
Object.defineProperty(exports, "applyChatRead", {
|
|
17407
17417
|
enumerable: true,
|
|
17408
|
-
get: function () { return
|
|
17418
|
+
get: function () { return chunkVUU32OVP_cjs.applyChatRead; }
|
|
17409
17419
|
});
|
|
17410
17420
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
17411
17421
|
enumerable: true,
|
|
17412
|
-
get: function () { return
|
|
17422
|
+
get: function () { return chunkVUU32OVP_cjs.applyChatUpdated; }
|
|
17413
17423
|
});
|
|
17414
17424
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
17415
17425
|
enumerable: true,
|
|
17416
|
-
get: function () { return
|
|
17426
|
+
get: function () { return chunkVUU32OVP_cjs.arbiAccountClient; }
|
|
17417
17427
|
});
|
|
17418
17428
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
17419
17429
|
enumerable: true,
|
|
17420
|
-
get: function () { return
|
|
17430
|
+
get: function () { return chunkVUU32OVP_cjs.buildMeetingChatBody; }
|
|
17421
17431
|
});
|
|
17422
17432
|
Object.defineProperty(exports, "cachedChat", {
|
|
17423
17433
|
enumerable: true,
|
|
17424
|
-
get: function () { return
|
|
17434
|
+
get: function () { return chunkVUU32OVP_cjs.cachedChat; }
|
|
17425
17435
|
});
|
|
17426
17436
|
Object.defineProperty(exports, "cachedChats", {
|
|
17427
17437
|
enumerable: true,
|
|
17428
|
-
get: function () { return
|
|
17438
|
+
get: function () { return chunkVUU32OVP_cjs.cachedChats; }
|
|
17429
17439
|
});
|
|
17430
17440
|
Object.defineProperty(exports, "callLink", {
|
|
17431
17441
|
enumerable: true,
|
|
17432
|
-
get: function () { return
|
|
17442
|
+
get: function () { return chunkVUU32OVP_cjs.callLink; }
|
|
17433
17443
|
});
|
|
17434
17444
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
17435
17445
|
enumerable: true,
|
|
17436
|
-
get: function () { return
|
|
17446
|
+
get: function () { return chunkVUU32OVP_cjs.callMemberKeys; }
|
|
17437
17447
|
});
|
|
17438
17448
|
Object.defineProperty(exports, "callSession", {
|
|
17439
17449
|
enumerable: true,
|
|
17440
|
-
get: function () { return
|
|
17450
|
+
get: function () { return chunkVUU32OVP_cjs.callSession; }
|
|
17441
17451
|
});
|
|
17442
17452
|
Object.defineProperty(exports, "chatByExtId", {
|
|
17443
17453
|
enumerable: true,
|
|
17444
|
-
get: function () { return
|
|
17454
|
+
get: function () { return chunkVUU32OVP_cjs.chatByExtId; }
|
|
17445
17455
|
});
|
|
17446
17456
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
17447
17457
|
enumerable: true,
|
|
17448
|
-
get: function () { return
|
|
17458
|
+
get: function () { return chunkVUU32OVP_cjs.chatHasLiveCall; }
|
|
17449
17459
|
});
|
|
17450
17460
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
17451
17461
|
enumerable: true,
|
|
17452
|
-
get: function () { return
|
|
17462
|
+
get: function () { return chunkVUU32OVP_cjs.chatLiveCallId; }
|
|
17453
17463
|
});
|
|
17454
17464
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
17455
17465
|
enumerable: true,
|
|
17456
|
-
get: function () { return
|
|
17466
|
+
get: function () { return chunkVUU32OVP_cjs.chatTranscriptRef; }
|
|
17457
17467
|
});
|
|
17458
17468
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
17459
17469
|
enumerable: true,
|
|
17460
|
-
get: function () { return
|
|
17470
|
+
get: function () { return chunkVUU32OVP_cjs.clearMeetingChatCache; }
|
|
17461
17471
|
});
|
|
17462
17472
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
17463
17473
|
enumerable: true,
|
|
17464
|
-
get: function () { return
|
|
17474
|
+
get: function () { return chunkVUU32OVP_cjs.clearTrackUploaders; }
|
|
17465
17475
|
});
|
|
17466
17476
|
Object.defineProperty(exports, "clockTime", {
|
|
17467
17477
|
enumerable: true,
|
|
17468
|
-
get: function () { return
|
|
17478
|
+
get: function () { return chunkVUU32OVP_cjs.clockTime; }
|
|
17469
17479
|
});
|
|
17470
17480
|
Object.defineProperty(exports, "compositeFiles", {
|
|
17471
17481
|
enumerable: true,
|
|
17472
|
-
get: function () { return
|
|
17482
|
+
get: function () { return chunkVUU32OVP_cjs.compositeFiles; }
|
|
17473
17483
|
});
|
|
17474
17484
|
Object.defineProperty(exports, "compositeTrack", {
|
|
17475
17485
|
enumerable: true,
|
|
17476
|
-
get: function () { return
|
|
17486
|
+
get: function () { return chunkVUU32OVP_cjs.compositeTrack; }
|
|
17477
17487
|
});
|
|
17478
17488
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
17479
17489
|
enumerable: true,
|
|
17480
|
-
get: function () { return
|
|
17490
|
+
get: function () { return chunkVUU32OVP_cjs.conversationKeyForCall; }
|
|
17481
17491
|
});
|
|
17482
17492
|
Object.defineProperty(exports, "createLocalFeatureStore", {
|
|
17483
17493
|
enumerable: true,
|
|
17484
|
-
get: function () { return
|
|
17494
|
+
get: function () { return chunkVUU32OVP_cjs.createLocalFeatureStore; }
|
|
17485
17495
|
});
|
|
17486
17496
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
17487
17497
|
enumerable: true,
|
|
17488
|
-
get: function () { return
|
|
17498
|
+
get: function () { return chunkVUU32OVP_cjs.createMutedNotifier; }
|
|
17489
17499
|
});
|
|
17490
17500
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
17491
17501
|
enumerable: true,
|
|
17492
|
-
get: function () { return
|
|
17502
|
+
get: function () { return chunkVUU32OVP_cjs.createTrackCutter; }
|
|
17493
17503
|
});
|
|
17494
17504
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
17495
17505
|
enumerable: true,
|
|
17496
|
-
get: function () { return
|
|
17506
|
+
get: function () { return chunkVUU32OVP_cjs.cutAtPauses; }
|
|
17497
17507
|
});
|
|
17498
17508
|
Object.defineProperty(exports, "declineRing", {
|
|
17499
17509
|
enumerable: true,
|
|
17500
|
-
get: function () { return
|
|
17510
|
+
get: function () { return chunkVUU32OVP_cjs.declineRing; }
|
|
17501
17511
|
});
|
|
17502
17512
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
17503
17513
|
enumerable: true,
|
|
17504
|
-
get: function () { return
|
|
17514
|
+
get: function () { return chunkVUU32OVP_cjs.decodeCallChatPacket; }
|
|
17505
17515
|
});
|
|
17506
17516
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
17507
17517
|
enumerable: true,
|
|
17508
|
-
get: function () { return
|
|
17518
|
+
get: function () { return chunkVUU32OVP_cjs.decodeCaptionPacket; }
|
|
17509
17519
|
});
|
|
17510
17520
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
17511
17521
|
enumerable: true,
|
|
17512
|
-
get: function () { return
|
|
17522
|
+
get: function () { return chunkVUU32OVP_cjs.decodeMono16k; }
|
|
17513
17523
|
});
|
|
17514
17524
|
Object.defineProperty(exports, "decryptPart", {
|
|
17515
17525
|
enumerable: true,
|
|
17516
|
-
get: function () { return
|
|
17526
|
+
get: function () { return chunkVUU32OVP_cjs.decryptPart; }
|
|
17517
17527
|
});
|
|
17518
17528
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
17519
17529
|
enumerable: true,
|
|
17520
|
-
get: function () { return
|
|
17530
|
+
get: function () { return chunkVUU32OVP_cjs.encodeCallChatPacket; }
|
|
17521
17531
|
});
|
|
17522
17532
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
17523
17533
|
enumerable: true,
|
|
17524
|
-
get: function () { return
|
|
17534
|
+
get: function () { return chunkVUU32OVP_cjs.encodeCaptionPacket; }
|
|
17525
17535
|
});
|
|
17526
17536
|
Object.defineProperty(exports, "encodeWav", {
|
|
17527
17537
|
enumerable: true,
|
|
17528
|
-
get: function () { return
|
|
17538
|
+
get: function () { return chunkVUU32OVP_cjs.encodeWav; }
|
|
17529
17539
|
});
|
|
17530
17540
|
Object.defineProperty(exports, "encryptPart", {
|
|
17531
17541
|
enumerable: true,
|
|
17532
|
-
get: function () { return
|
|
17542
|
+
get: function () { return chunkVUU32OVP_cjs.encryptPart; }
|
|
17533
17543
|
});
|
|
17534
17544
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
17535
17545
|
enumerable: true,
|
|
17536
|
-
get: function () { return
|
|
17546
|
+
get: function () { return chunkVUU32OVP_cjs.ensureMeetingChat; }
|
|
17537
17547
|
});
|
|
17538
17548
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
17539
17549
|
enumerable: true,
|
|
17540
|
-
get: function () { return
|
|
17550
|
+
get: function () { return chunkVUU32OVP_cjs.entitlementRefusal; }
|
|
17541
17551
|
});
|
|
17542
17552
|
Object.defineProperty(exports, "extensionFor", {
|
|
17543
17553
|
enumerable: true,
|
|
17544
|
-
get: function () { return
|
|
17554
|
+
get: function () { return chunkVUU32OVP_cjs.extensionFor; }
|
|
17545
17555
|
});
|
|
17546
17556
|
Object.defineProperty(exports, "fetchPart", {
|
|
17547
17557
|
enumerable: true,
|
|
17548
|
-
get: function () { return
|
|
17558
|
+
get: function () { return chunkVUU32OVP_cjs.fetchPart; }
|
|
17549
17559
|
});
|
|
17550
17560
|
Object.defineProperty(exports, "fileSafe", {
|
|
17551
17561
|
enumerable: true,
|
|
17552
|
-
get: function () { return
|
|
17562
|
+
get: function () { return chunkVUU32OVP_cjs.fileSafe; }
|
|
17553
17563
|
});
|
|
17554
17564
|
Object.defineProperty(exports, "findConversation", {
|
|
17555
17565
|
enumerable: true,
|
|
17556
|
-
get: function () { return
|
|
17566
|
+
get: function () { return chunkVUU32OVP_cjs.findConversation; }
|
|
17557
17567
|
});
|
|
17558
17568
|
Object.defineProperty(exports, "floatToWav", {
|
|
17559
17569
|
enumerable: true,
|
|
17560
|
-
get: function () { return
|
|
17570
|
+
get: function () { return chunkVUU32OVP_cjs.floatToWav; }
|
|
17561
17571
|
});
|
|
17562
17572
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
17563
17573
|
enumerable: true,
|
|
17564
|
-
get: function () { return
|
|
17574
|
+
get: function () { return chunkVUU32OVP_cjs.formatTranscriptMarkdown; }
|
|
17565
17575
|
});
|
|
17566
17576
|
Object.defineProperty(exports, "getOpenChat", {
|
|
17567
17577
|
enumerable: true,
|
|
17568
|
-
get: function () { return
|
|
17578
|
+
get: function () { return chunkVUU32OVP_cjs.getOpenChat; }
|
|
17569
17579
|
});
|
|
17570
17580
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
17571
17581
|
enumerable: true,
|
|
17572
|
-
get: function () { return
|
|
17582
|
+
get: function () { return chunkVUU32OVP_cjs.hasRecordingTranscript; }
|
|
17573
17583
|
});
|
|
17574
17584
|
Object.defineProperty(exports, "invalidateCall", {
|
|
17575
17585
|
enumerable: true,
|
|
17576
|
-
get: function () { return
|
|
17586
|
+
get: function () { return chunkVUU32OVP_cjs.invalidateCall; }
|
|
17577
17587
|
});
|
|
17578
17588
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
17579
17589
|
enumerable: true,
|
|
17580
|
-
get: function () { return
|
|
17590
|
+
get: function () { return chunkVUU32OVP_cjs.invalidateConversationDetails; }
|
|
17581
17591
|
});
|
|
17582
17592
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
17583
17593
|
enumerable: true,
|
|
17584
|
-
get: function () { return
|
|
17594
|
+
get: function () { return chunkVUU32OVP_cjs.invalidateConversationLists; }
|
|
17585
17595
|
});
|
|
17586
17596
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
17587
17597
|
enumerable: true,
|
|
17588
|
-
get: function () { return
|
|
17598
|
+
get: function () { return chunkVUU32OVP_cjs.isConversationListKey; }
|
|
17589
17599
|
});
|
|
17590
17600
|
Object.defineProperty(exports, "isConversationShared", {
|
|
17591
17601
|
enumerable: true,
|
|
17592
|
-
get: function () { return
|
|
17602
|
+
get: function () { return chunkVUU32OVP_cjs.isConversationShared; }
|
|
17593
17603
|
});
|
|
17594
17604
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
17595
17605
|
enumerable: true,
|
|
17596
|
-
get: function () { return
|
|
17606
|
+
get: function () { return chunkVUU32OVP_cjs.isRecordingOver; }
|
|
17597
17607
|
});
|
|
17598
17608
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
17599
17609
|
enumerable: true,
|
|
17600
|
-
get: function () { return
|
|
17610
|
+
get: function () { return chunkVUU32OVP_cjs.isRecordingSegmentId; }
|
|
17601
17611
|
});
|
|
17602
17612
|
Object.defineProperty(exports, "isRetryable", {
|
|
17603
17613
|
enumerable: true,
|
|
17604
|
-
get: function () { return
|
|
17614
|
+
get: function () { return chunkVUU32OVP_cjs.isRetryable; }
|
|
17605
17615
|
});
|
|
17606
17616
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
17607
17617
|
enumerable: true,
|
|
17608
|
-
get: function () { return
|
|
17618
|
+
get: function () { return chunkVUU32OVP_cjs.isWorkspaceGuestOf; }
|
|
17609
17619
|
});
|
|
17610
17620
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
17611
17621
|
enumerable: true,
|
|
17612
|
-
get: function () { return
|
|
17622
|
+
get: function () { return chunkVUU32OVP_cjs.joinFromPreJoin; }
|
|
17613
17623
|
});
|
|
17614
17624
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
17615
17625
|
enumerable: true,
|
|
17616
|
-
get: function () { return
|
|
17626
|
+
get: function () { return chunkVUU32OVP_cjs.knownMeetingChat; }
|
|
17617
17627
|
});
|
|
17618
17628
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
17619
17629
|
enumerable: true,
|
|
17620
|
-
get: function () { return
|
|
17630
|
+
get: function () { return chunkVUU32OVP_cjs.loadMeetingHistory; }
|
|
17621
17631
|
});
|
|
17622
17632
|
Object.defineProperty(exports, "markRejoining", {
|
|
17623
17633
|
enumerable: true,
|
|
17624
|
-
get: function () { return
|
|
17634
|
+
get: function () { return chunkVUU32OVP_cjs.markRejoining; }
|
|
17625
17635
|
});
|
|
17626
17636
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
17627
17637
|
enumerable: true,
|
|
17628
|
-
get: function () { return
|
|
17638
|
+
get: function () { return chunkVUU32OVP_cjs.meetingChatRefFrom; }
|
|
17629
17639
|
});
|
|
17630
17640
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
17631
17641
|
enumerable: true,
|
|
17632
|
-
get: function () { return
|
|
17642
|
+
get: function () { return chunkVUU32OVP_cjs.meetingRefForCall; }
|
|
17633
17643
|
});
|
|
17634
17644
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
17635
17645
|
enumerable: true,
|
|
17636
|
-
get: function () { return
|
|
17646
|
+
get: function () { return chunkVUU32OVP_cjs.mergeChatLines; }
|
|
17637
17647
|
});
|
|
17638
17648
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
17639
17649
|
enumerable: true,
|
|
17640
|
-
get: function () { return
|
|
17650
|
+
get: function () { return chunkVUU32OVP_cjs.mutedNoticeFromEvent; }
|
|
17641
17651
|
});
|
|
17642
17652
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
17643
17653
|
enumerable: true,
|
|
17644
|
-
get: function () { return
|
|
17654
|
+
get: function () { return chunkVUU32OVP_cjs.mutedNoticeFromPacket; }
|
|
17645
17655
|
});
|
|
17646
17656
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
17647
17657
|
enumerable: true,
|
|
17648
|
-
get: function () { return
|
|
17658
|
+
get: function () { return chunkVUU32OVP_cjs.mutedNoticeText; }
|
|
17649
17659
|
});
|
|
17650
17660
|
Object.defineProperty(exports, "myChatId", {
|
|
17651
17661
|
enumerable: true,
|
|
17652
|
-
get: function () { return
|
|
17662
|
+
get: function () { return chunkVUU32OVP_cjs.myChatId; }
|
|
17653
17663
|
});
|
|
17654
17664
|
Object.defineProperty(exports, "newPacketId", {
|
|
17655
17665
|
enumerable: true,
|
|
17656
|
-
get: function () { return
|
|
17666
|
+
get: function () { return chunkVUU32OVP_cjs.newPacketId; }
|
|
17657
17667
|
});
|
|
17658
17668
|
Object.defineProperty(exports, "newSegmentId", {
|
|
17659
17669
|
enumerable: true,
|
|
17660
|
-
get: function () { return
|
|
17670
|
+
get: function () { return chunkVUU32OVP_cjs.newSegmentId; }
|
|
17661
17671
|
});
|
|
17662
17672
|
Object.defineProperty(exports, "newTrackKey", {
|
|
17663
17673
|
enumerable: true,
|
|
17664
|
-
get: function () { return
|
|
17674
|
+
get: function () { return chunkVUU32OVP_cjs.newTrackKey; }
|
|
17665
17675
|
});
|
|
17666
17676
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
17667
17677
|
enumerable: true,
|
|
17668
|
-
get: function () { return
|
|
17678
|
+
get: function () { return chunkVUU32OVP_cjs.nextSeqAfter; }
|
|
17669
17679
|
});
|
|
17670
17680
|
Object.defineProperty(exports, "onCallEvent", {
|
|
17671
17681
|
enumerable: true,
|
|
17672
|
-
get: function () { return
|
|
17682
|
+
get: function () { return chunkVUU32OVP_cjs.onCallEvent; }
|
|
17673
17683
|
});
|
|
17674
17684
|
Object.defineProperty(exports, "openCall", {
|
|
17675
17685
|
enumerable: true,
|
|
17676
|
-
get: function () { return
|
|
17686
|
+
get: function () { return chunkVUU32OVP_cjs.openCall; }
|
|
17677
17687
|
});
|
|
17678
17688
|
Object.defineProperty(exports, "openQuestion", {
|
|
17679
17689
|
enumerable: true,
|
|
17680
|
-
get: function () { return
|
|
17690
|
+
get: function () { return chunkVUU32OVP_cjs.openQuestion; }
|
|
17681
17691
|
});
|
|
17682
17692
|
Object.defineProperty(exports, "openRecording", {
|
|
17683
17693
|
enumerable: true,
|
|
17684
|
-
get: function () { return
|
|
17694
|
+
get: function () { return chunkVUU32OVP_cjs.openRecording; }
|
|
17685
17695
|
});
|
|
17686
17696
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
17687
17697
|
enumerable: true,
|
|
17688
|
-
get: function () { return
|
|
17698
|
+
get: function () { return chunkVUU32OVP_cjs.parseWebinarPacket; }
|
|
17689
17699
|
});
|
|
17690
17700
|
Object.defineProperty(exports, "partKey", {
|
|
17691
17701
|
enumerable: true,
|
|
17692
|
-
get: function () { return
|
|
17702
|
+
get: function () { return chunkVUU32OVP_cjs.partKey; }
|
|
17693
17703
|
});
|
|
17694
17704
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
17695
17705
|
enumerable: true,
|
|
17696
|
-
get: function () { return
|
|
17706
|
+
get: function () { return chunkVUU32OVP_cjs.partOffsetMs; }
|
|
17697
17707
|
});
|
|
17698
17708
|
Object.defineProperty(exports, "partsDue", {
|
|
17699
17709
|
enumerable: true,
|
|
17700
|
-
get: function () { return
|
|
17710
|
+
get: function () { return chunkVUU32OVP_cjs.partsDue; }
|
|
17701
17711
|
});
|
|
17702
17712
|
Object.defineProperty(exports, "patchConversation", {
|
|
17703
17713
|
enumerable: true,
|
|
17704
|
-
get: function () { return
|
|
17714
|
+
get: function () { return chunkVUU32OVP_cjs.patchConversation; }
|
|
17705
17715
|
});
|
|
17706
17716
|
Object.defineProperty(exports, "patchConversationList", {
|
|
17707
17717
|
enumerable: true,
|
|
17708
|
-
get: function () { return
|
|
17718
|
+
get: function () { return chunkVUU32OVP_cjs.patchConversationList; }
|
|
17709
17719
|
});
|
|
17710
17720
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
17711
17721
|
enumerable: true,
|
|
17712
|
-
get: function () { return
|
|
17722
|
+
get: function () { return chunkVUU32OVP_cjs.persistMeetingMessage; }
|
|
17713
17723
|
});
|
|
17714
17724
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
17715
17725
|
enumerable: true,
|
|
17716
|
-
get: function () { return
|
|
17726
|
+
get: function () { return chunkVUU32OVP_cjs.persistTranscriptSegment; }
|
|
17717
17727
|
});
|
|
17718
17728
|
Object.defineProperty(exports, "playheadAt", {
|
|
17719
17729
|
enumerable: true,
|
|
17720
|
-
get: function () { return
|
|
17730
|
+
get: function () { return chunkVUU32OVP_cjs.playheadAt; }
|
|
17721
17731
|
});
|
|
17722
17732
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
17723
17733
|
enumerable: true,
|
|
17724
|
-
get: function () { return
|
|
17734
|
+
get: function () { return chunkVUU32OVP_cjs.postRecordingDocsToThread; }
|
|
17725
17735
|
});
|
|
17726
17736
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
17727
17737
|
enumerable: true,
|
|
17728
|
-
get: function () { return
|
|
17738
|
+
get: function () { return chunkVUU32OVP_cjs.postTranscriptToThread; }
|
|
17729
17739
|
});
|
|
17730
17740
|
Object.defineProperty(exports, "readLocalFeature", {
|
|
17731
17741
|
enumerable: true,
|
|
17732
|
-
get: function () { return
|
|
17742
|
+
get: function () { return chunkVUU32OVP_cjs.readLocalFeature; }
|
|
17733
17743
|
});
|
|
17734
17744
|
Object.defineProperty(exports, "recordingFiles", {
|
|
17735
17745
|
enumerable: true,
|
|
17736
|
-
get: function () { return
|
|
17746
|
+
get: function () { return chunkVUU32OVP_cjs.recordingFiles; }
|
|
17737
17747
|
});
|
|
17738
17748
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
17739
17749
|
enumerable: true,
|
|
17740
|
-
get: function () { return
|
|
17750
|
+
get: function () { return chunkVUU32OVP_cjs.recordingWindowsOf; }
|
|
17741
17751
|
});
|
|
17742
17752
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
17743
17753
|
enumerable: true,
|
|
17744
|
-
get: function () { return
|
|
17754
|
+
get: function () { return chunkVUU32OVP_cjs.rejoinAsAudience; }
|
|
17745
17755
|
});
|
|
17746
17756
|
Object.defineProperty(exports, "removeChat", {
|
|
17747
17757
|
enumerable: true,
|
|
17748
|
-
get: function () { return
|
|
17758
|
+
get: function () { return chunkVUU32OVP_cjs.removeChat; }
|
|
17749
17759
|
});
|
|
17750
17760
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
17751
17761
|
enumerable: true,
|
|
17752
|
-
get: function () { return
|
|
17762
|
+
get: function () { return chunkVUU32OVP_cjs.removeConversationFromLists; }
|
|
17753
17763
|
});
|
|
17754
17764
|
Object.defineProperty(exports, "resetCallSession", {
|
|
17755
17765
|
enumerable: true,
|
|
17756
|
-
get: function () { return
|
|
17766
|
+
get: function () { return chunkVUU32OVP_cjs.resetCallSession; }
|
|
17757
17767
|
});
|
|
17758
17768
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
17759
17769
|
enumerable: true,
|
|
17760
|
-
get: function () { return
|
|
17770
|
+
get: function () { return chunkVUU32OVP_cjs.resolveMeetingChat; }
|
|
17761
17771
|
});
|
|
17762
17772
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
17763
17773
|
enumerable: true,
|
|
17764
|
-
get: function () { return
|
|
17774
|
+
get: function () { return chunkVUU32OVP_cjs.saveRecordingFilesToThread; }
|
|
17765
17775
|
});
|
|
17766
17776
|
Object.defineProperty(exports, "schedulePart", {
|
|
17767
17777
|
enumerable: true,
|
|
17768
|
-
get: function () { return
|
|
17778
|
+
get: function () { return chunkVUU32OVP_cjs.schedulePart; }
|
|
17769
17779
|
});
|
|
17770
17780
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
17771
17781
|
enumerable: true,
|
|
17772
|
-
get: function () { return
|
|
17782
|
+
get: function () { return chunkVUU32OVP_cjs.sealQuestionText; }
|
|
17773
17783
|
});
|
|
17774
17784
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
17775
17785
|
enumerable: true,
|
|
17776
|
-
get: function () { return
|
|
17786
|
+
get: function () { return chunkVUU32OVP_cjs.serverCallsExperimental; }
|
|
17777
17787
|
});
|
|
17778
17788
|
Object.defineProperty(exports, "setOpenChat", {
|
|
17779
17789
|
enumerable: true,
|
|
17780
|
-
get: function () { return
|
|
17790
|
+
get: function () { return chunkVUU32OVP_cjs.setOpenChat; }
|
|
17781
17791
|
});
|
|
17782
17792
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
17783
17793
|
enumerable: true,
|
|
17784
|
-
get: function () { return
|
|
17794
|
+
get: function () { return chunkVUU32OVP_cjs.sortTranscriptMessages; }
|
|
17785
17795
|
});
|
|
17786
17796
|
Object.defineProperty(exports, "sortedParts", {
|
|
17787
17797
|
enumerable: true,
|
|
17788
|
-
get: function () { return
|
|
17798
|
+
get: function () { return chunkVUU32OVP_cjs.sortedParts; }
|
|
17789
17799
|
});
|
|
17790
17800
|
Object.defineProperty(exports, "speakerTracks", {
|
|
17791
17801
|
enumerable: true,
|
|
17792
|
-
get: function () { return
|
|
17802
|
+
get: function () { return chunkVUU32OVP_cjs.speakerTracks; }
|
|
17793
17803
|
});
|
|
17794
17804
|
Object.defineProperty(exports, "speakerWav", {
|
|
17795
17805
|
enumerable: true,
|
|
17796
|
-
get: function () { return
|
|
17806
|
+
get: function () { return chunkVUU32OVP_cjs.speakerWav; }
|
|
17797
17807
|
});
|
|
17798
17808
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
17799
17809
|
enumerable: true,
|
|
17800
|
-
get: function () { return
|
|
17810
|
+
get: function () { return chunkVUU32OVP_cjs.splitIntoFiles; }
|
|
17801
17811
|
});
|
|
17802
17812
|
Object.defineProperty(exports, "standalone", {
|
|
17803
17813
|
enumerable: true,
|
|
17804
|
-
get: function () { return
|
|
17814
|
+
get: function () { return chunkVUU32OVP_cjs.standalone; }
|
|
17805
17815
|
});
|
|
17806
17816
|
Object.defineProperty(exports, "startChatCall", {
|
|
17807
17817
|
enumerable: true,
|
|
17808
|
-
get: function () { return
|
|
17818
|
+
get: function () { return chunkVUU32OVP_cjs.startChatCall; }
|
|
17809
17819
|
});
|
|
17810
17820
|
Object.defineProperty(exports, "startContactsCall", {
|
|
17811
17821
|
enumerable: true,
|
|
17812
|
-
get: function () { return
|
|
17822
|
+
get: function () { return chunkVUU32OVP_cjs.startContactsCall; }
|
|
17813
17823
|
});
|
|
17814
17824
|
Object.defineProperty(exports, "startDmCall", {
|
|
17815
17825
|
enumerable: true,
|
|
17816
|
-
get: function () { return
|
|
17826
|
+
get: function () { return chunkVUU32OVP_cjs.startDmCall; }
|
|
17817
17827
|
});
|
|
17818
17828
|
Object.defineProperty(exports, "startThreadCall", {
|
|
17819
17829
|
enumerable: true,
|
|
17820
|
-
get: function () { return
|
|
17830
|
+
get: function () { return chunkVUU32OVP_cjs.startThreadCall; }
|
|
17821
17831
|
});
|
|
17822
17832
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
17823
17833
|
enumerable: true,
|
|
17824
|
-
get: function () { return
|
|
17834
|
+
get: function () { return chunkVUU32OVP_cjs.startsMediaFile; }
|
|
17825
17835
|
});
|
|
17826
17836
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
17827
17837
|
enumerable: true,
|
|
17828
|
-
get: function () { return
|
|
17838
|
+
get: function () { return chunkVUU32OVP_cjs.storeTranscriptSegment; }
|
|
17829
17839
|
});
|
|
17830
17840
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
17831
17841
|
enumerable: true,
|
|
17832
|
-
get: function () { return
|
|
17842
|
+
get: function () { return chunkVUU32OVP_cjs.stripSpeakerPrefix; }
|
|
17833
17843
|
});
|
|
17834
17844
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
17835
17845
|
enumerable: true,
|
|
17836
|
-
get: function () { return
|
|
17846
|
+
get: function () { return chunkVUU32OVP_cjs.supersedeLiveTranscript; }
|
|
17837
17847
|
});
|
|
17838
17848
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
17839
17849
|
enumerable: true,
|
|
17840
|
-
get: function () { return
|
|
17850
|
+
get: function () { return chunkVUU32OVP_cjs.supersededTranscriptLines; }
|
|
17841
17851
|
});
|
|
17842
17852
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
17843
17853
|
enumerable: true,
|
|
17844
|
-
get: function () { return
|
|
17854
|
+
get: function () { return chunkVUU32OVP_cjs.threadHasLiveCall; }
|
|
17845
17855
|
});
|
|
17846
17856
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
17847
17857
|
enumerable: true,
|
|
17848
|
-
get: function () { return
|
|
17858
|
+
get: function () { return chunkVUU32OVP_cjs.threadLiveCallId; }
|
|
17849
17859
|
});
|
|
17850
17860
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
17851
17861
|
enumerable: true,
|
|
17852
|
-
get: function () { return
|
|
17862
|
+
get: function () { return chunkVUU32OVP_cjs.threadTranscriptLines; }
|
|
17853
17863
|
});
|
|
17854
17864
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
17855
17865
|
enumerable: true,
|
|
17856
|
-
get: function () { return
|
|
17866
|
+
get: function () { return chunkVUU32OVP_cjs.threadTranscriptRef; }
|
|
17857
17867
|
});
|
|
17858
17868
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
17859
17869
|
enumerable: true,
|
|
17860
|
-
get: function () { return
|
|
17870
|
+
get: function () { return chunkVUU32OVP_cjs.threadTranscriptText; }
|
|
17861
17871
|
});
|
|
17862
17872
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
17863
17873
|
enumerable: true,
|
|
17864
|
-
get: function () { return
|
|
17874
|
+
get: function () { return chunkVUU32OVP_cjs.timelineDurationMs; }
|
|
17865
17875
|
});
|
|
17866
17876
|
Object.defineProperty(exports, "timelineOf", {
|
|
17867
17877
|
enumerable: true,
|
|
17868
|
-
get: function () { return
|
|
17878
|
+
get: function () { return chunkVUU32OVP_cjs.timelineOf; }
|
|
17869
17879
|
});
|
|
17870
17880
|
Object.defineProperty(exports, "toProfileView", {
|
|
17871
17881
|
enumerable: true,
|
|
17872
|
-
get: function () { return
|
|
17882
|
+
get: function () { return chunkVUU32OVP_cjs.toProfileView; }
|
|
17873
17883
|
});
|
|
17874
17884
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
17875
17885
|
enumerable: true,
|
|
17876
|
-
get: function () { return
|
|
17886
|
+
get: function () { return chunkVUU32OVP_cjs.trackUploaderFor; }
|
|
17877
17887
|
});
|
|
17878
17888
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
17879
17889
|
enumerable: true,
|
|
17880
|
-
get: function () { return
|
|
17890
|
+
get: function () { return chunkVUU32OVP_cjs.transcribeRecording; }
|
|
17881
17891
|
});
|
|
17882
17892
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
17883
17893
|
enumerable: true,
|
|
17884
|
-
get: function () { return
|
|
17894
|
+
get: function () { return chunkVUU32OVP_cjs.transcriptPersistRole; }
|
|
17885
17895
|
});
|
|
17886
17896
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
17887
17897
|
enumerable: true,
|
|
17888
|
-
get: function () { return
|
|
17898
|
+
get: function () { return chunkVUU32OVP_cjs.transcriptSegmentOf; }
|
|
17889
17899
|
});
|
|
17890
17900
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
17891
17901
|
enumerable: true,
|
|
17892
|
-
get: function () { return
|
|
17902
|
+
get: function () { return chunkVUU32OVP_cjs.unwrapTrackKey; }
|
|
17893
17903
|
});
|
|
17894
17904
|
Object.defineProperty(exports, "upsertChat", {
|
|
17895
17905
|
enumerable: true,
|
|
17896
|
-
get: function () { return
|
|
17906
|
+
get: function () { return chunkVUU32OVP_cjs.upsertChat; }
|
|
17897
17907
|
});
|
|
17898
17908
|
Object.defineProperty(exports, "useAccountClient", {
|
|
17899
17909
|
enumerable: true,
|
|
17900
|
-
get: function () { return
|
|
17910
|
+
get: function () { return chunkVUU32OVP_cjs.useAccountClient; }
|
|
17901
17911
|
});
|
|
17902
17912
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
17903
17913
|
enumerable: true,
|
|
17904
|
-
get: function () { return
|
|
17914
|
+
get: function () { return chunkVUU32OVP_cjs.useAvatarCrop; }
|
|
17905
17915
|
});
|
|
17906
17916
|
Object.defineProperty(exports, "useCall", {
|
|
17907
17917
|
enumerable: true,
|
|
17908
|
-
get: function () { return
|
|
17918
|
+
get: function () { return chunkVUU32OVP_cjs.useCall; }
|
|
17909
17919
|
});
|
|
17910
17920
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
17911
17921
|
enumerable: true,
|
|
17912
|
-
get: function () { return
|
|
17922
|
+
get: function () { return chunkVUU32OVP_cjs.useCallInviteLinks; }
|
|
17913
17923
|
});
|
|
17914
17924
|
Object.defineProperty(exports, "useCallRecording", {
|
|
17915
17925
|
enumerable: true,
|
|
17916
|
-
get: function () { return
|
|
17926
|
+
get: function () { return chunkVUU32OVP_cjs.useCallRecording; }
|
|
17917
17927
|
});
|
|
17918
17928
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
17919
17929
|
enumerable: true,
|
|
17920
|
-
get: function () { return
|
|
17930
|
+
get: function () { return chunkVUU32OVP_cjs.useCallRecordings; }
|
|
17921
17931
|
});
|
|
17922
17932
|
Object.defineProperty(exports, "useCallSession", {
|
|
17923
17933
|
enumerable: true,
|
|
17924
|
-
get: function () { return
|
|
17934
|
+
get: function () { return chunkVUU32OVP_cjs.useCallSession; }
|
|
17925
17935
|
});
|
|
17926
17936
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
17927
17937
|
enumerable: true,
|
|
17928
|
-
get: function () { return
|
|
17938
|
+
get: function () { return chunkVUU32OVP_cjs.useCallTranscriptionAvailable; }
|
|
17929
17939
|
});
|
|
17930
17940
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
17931
17941
|
enumerable: true,
|
|
17932
|
-
get: function () { return
|
|
17942
|
+
get: function () { return chunkVUU32OVP_cjs.useCallsConfig; }
|
|
17933
17943
|
});
|
|
17934
17944
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
17935
17945
|
enumerable: true,
|
|
17936
|
-
get: function () { return
|
|
17946
|
+
get: function () { return chunkVUU32OVP_cjs.useCallsEnabled; }
|
|
17937
17947
|
});
|
|
17938
17948
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
17939
17949
|
enumerable: true,
|
|
17940
|
-
get: function () { return
|
|
17950
|
+
get: function () { return chunkVUU32OVP_cjs.useCanHostCalls; }
|
|
17941
17951
|
});
|
|
17942
17952
|
Object.defineProperty(exports, "useEntitlements", {
|
|
17943
17953
|
enumerable: true,
|
|
17944
|
-
get: function () { return
|
|
17954
|
+
get: function () { return chunkVUU32OVP_cjs.useEntitlements; }
|
|
17945
17955
|
});
|
|
17946
17956
|
Object.defineProperty(exports, "useFeature", {
|
|
17947
17957
|
enumerable: true,
|
|
17948
|
-
get: function () { return
|
|
17958
|
+
get: function () { return chunkVUU32OVP_cjs.useFeature; }
|
|
17949
17959
|
});
|
|
17950
17960
|
Object.defineProperty(exports, "useFeatureCheck", {
|
|
17951
17961
|
enumerable: true,
|
|
17952
|
-
get: function () { return
|
|
17962
|
+
get: function () { return chunkVUU32OVP_cjs.useFeatureCheck; }
|
|
17953
17963
|
});
|
|
17954
17964
|
Object.defineProperty(exports, "useFeatureSwitch", {
|
|
17955
17965
|
enumerable: true,
|
|
17956
|
-
get: function () { return
|
|
17966
|
+
get: function () { return chunkVUU32OVP_cjs.useFeatureSwitch; }
|
|
17957
17967
|
});
|
|
17958
17968
|
Object.defineProperty(exports, "useInvalidateEntitlements", {
|
|
17959
17969
|
enumerable: true,
|
|
17960
|
-
get: function () { return
|
|
17970
|
+
get: function () { return chunkVUU32OVP_cjs.useInvalidateEntitlements; }
|
|
17961
17971
|
});
|
|
17962
17972
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
17963
17973
|
enumerable: true,
|
|
17964
|
-
get: function () { return
|
|
17974
|
+
get: function () { return chunkVUU32OVP_cjs.useIsEntitled; }
|
|
17965
17975
|
});
|
|
17966
17976
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
17967
17977
|
enumerable: true,
|
|
17968
|
-
get: function () { return
|
|
17978
|
+
get: function () { return chunkVUU32OVP_cjs.useMeetingReadOnly; }
|
|
17969
17979
|
});
|
|
17970
17980
|
Object.defineProperty(exports, "useNameEditor", {
|
|
17971
17981
|
enumerable: true,
|
|
17972
|
-
get: function () { return
|
|
17982
|
+
get: function () { return chunkVUU32OVP_cjs.useNameEditor; }
|
|
17973
17983
|
});
|
|
17974
17984
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
17975
17985
|
enumerable: true,
|
|
17976
|
-
get: function () { return
|
|
17986
|
+
get: function () { return chunkVUU32OVP_cjs.useOpenCallMeetingChat; }
|
|
17977
17987
|
});
|
|
17978
17988
|
Object.defineProperty(exports, "useProfile", {
|
|
17979
17989
|
enumerable: true,
|
|
17980
|
-
get: function () { return
|
|
17990
|
+
get: function () { return chunkVUU32OVP_cjs.useProfile; }
|
|
17981
17991
|
});
|
|
17982
17992
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
17983
17993
|
enumerable: true,
|
|
17984
|
-
get: function () { return
|
|
17994
|
+
get: function () { return chunkVUU32OVP_cjs.useRecordingActions; }
|
|
17985
17995
|
});
|
|
17986
17996
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
17987
17997
|
enumerable: true,
|
|
17988
|
-
get: function () { return
|
|
17998
|
+
get: function () { return chunkVUU32OVP_cjs.useRecordingWindows; }
|
|
17989
17999
|
});
|
|
17990
18000
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
17991
18001
|
enumerable: true,
|
|
17992
|
-
get: function () { return
|
|
18002
|
+
get: function () { return chunkVUU32OVP_cjs.useRevokeCallInviteLink; }
|
|
17993
18003
|
});
|
|
17994
18004
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
17995
18005
|
enumerable: true,
|
|
17996
|
-
get: function () { return
|
|
18006
|
+
get: function () { return chunkVUU32OVP_cjs.useSaveToThread; }
|
|
17997
18007
|
});
|
|
17998
18008
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
17999
18009
|
enumerable: true,
|
|
18000
|
-
get: function () { return
|
|
18010
|
+
get: function () { return chunkVUU32OVP_cjs.useServerCallsEnabled; }
|
|
18001
18011
|
});
|
|
18002
18012
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
18003
18013
|
enumerable: true,
|
|
18004
|
-
get: function () { return
|
|
18014
|
+
get: function () { return chunkVUU32OVP_cjs.useServerCallsExperimental; }
|
|
18005
18015
|
});
|
|
18006
18016
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
18007
18017
|
enumerable: true,
|
|
18008
|
-
get: function () { return
|
|
18018
|
+
get: function () { return chunkVUU32OVP_cjs.useUpdateProfile; }
|
|
18009
18019
|
});
|
|
18010
18020
|
Object.defineProperty(exports, "useUpdateUserSettings", {
|
|
18011
18021
|
enumerable: true,
|
|
18012
|
-
get: function () { return
|
|
18022
|
+
get: function () { return chunkVUU32OVP_cjs.useUpdateUserSettings; }
|
|
18013
18023
|
});
|
|
18014
18024
|
Object.defineProperty(exports, "useUserSettings", {
|
|
18015
18025
|
enumerable: true,
|
|
18016
|
-
get: function () { return
|
|
18026
|
+
get: function () { return chunkVUU32OVP_cjs.useUserSettings; }
|
|
18017
18027
|
});
|
|
18018
18028
|
Object.defineProperty(exports, "wipeOfflineMail", {
|
|
18019
18029
|
enumerable: true,
|
|
18020
|
-
get: function () { return
|
|
18030
|
+
get: function () { return chunkVUU32OVP_cjs.wipeOfflineMail; }
|
|
18021
18031
|
});
|
|
18022
18032
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
18023
18033
|
enumerable: true,
|
|
18024
|
-
get: function () { return
|
|
18034
|
+
get: function () { return chunkVUU32OVP_cjs.wrapTrackKey; }
|
|
18025
18035
|
});
|
|
18026
18036
|
Object.defineProperty(exports, "writeSamples", {
|
|
18027
18037
|
enumerable: true,
|
|
18028
|
-
get: function () { return
|
|
18038
|
+
get: function () { return chunkVUU32OVP_cjs.writeSamples; }
|
|
18029
18039
|
});
|
|
18030
18040
|
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
18031
18041
|
enumerable: true,
|
|
@@ -18213,323 +18223,331 @@ Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
|
18213
18223
|
});
|
|
18214
18224
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
18215
18225
|
enumerable: true,
|
|
18216
|
-
get: function () { return
|
|
18226
|
+
get: function () { return chunkMDSWUCCL_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
18217
18227
|
});
|
|
18218
18228
|
Object.defineProperty(exports, "DOCUMENT_VIEWER_PANEL", {
|
|
18219
18229
|
enumerable: true,
|
|
18220
|
-
get: function () { return
|
|
18230
|
+
get: function () { return chunkMDSWUCCL_cjs.DOCUMENT_VIEWER_PANEL; }
|
|
18221
18231
|
});
|
|
18222
18232
|
Object.defineProperty(exports, "EMPTY_CHAT_STATE", {
|
|
18223
18233
|
enumerable: true,
|
|
18224
|
-
get: function () { return
|
|
18234
|
+
get: function () { return chunkMDSWUCCL_cjs.EMPTY_CHAT_STATE; }
|
|
18225
18235
|
});
|
|
18226
18236
|
Object.defineProperty(exports, "EMPTY_DOCUMENT_STATE", {
|
|
18227
18237
|
enumerable: true,
|
|
18228
|
-
get: function () { return
|
|
18238
|
+
get: function () { return chunkMDSWUCCL_cjs.EMPTY_DOCUMENT_STATE; }
|
|
18229
18239
|
});
|
|
18230
18240
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
18231
18241
|
enumerable: true,
|
|
18232
|
-
get: function () { return
|
|
18242
|
+
get: function () { return chunkMDSWUCCL_cjs.EMPTY_SESSION_STATE; }
|
|
18233
18243
|
});
|
|
18234
18244
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
18235
18245
|
enumerable: true,
|
|
18236
|
-
get: function () { return
|
|
18246
|
+
get: function () { return chunkMDSWUCCL_cjs.MAX_THREAD_TABS; }
|
|
18237
18247
|
});
|
|
18238
18248
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
18239
18249
|
enumerable: true,
|
|
18240
|
-
get: function () { return
|
|
18250
|
+
get: function () { return chunkMDSWUCCL_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
18241
18251
|
});
|
|
18242
18252
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
18243
18253
|
enumerable: true,
|
|
18244
|
-
get: function () { return
|
|
18254
|
+
get: function () { return chunkMDSWUCCL_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
18245
18255
|
});
|
|
18246
18256
|
Object.defineProperty(exports, "WORKSPACE_LAST_OPENED_KEY", {
|
|
18247
18257
|
enumerable: true,
|
|
18248
|
-
get: function () { return
|
|
18258
|
+
get: function () { return chunkMDSWUCCL_cjs.WORKSPACE_LAST_OPENED_KEY; }
|
|
18249
18259
|
});
|
|
18250
18260
|
Object.defineProperty(exports, "WORKSPACE_STORAGE_KEY", {
|
|
18251
18261
|
enumerable: true,
|
|
18252
|
-
get: function () { return
|
|
18262
|
+
get: function () { return chunkMDSWUCCL_cjs.WORKSPACE_STORAGE_KEY; }
|
|
18253
18263
|
});
|
|
18254
18264
|
Object.defineProperty(exports, "agentControl", {
|
|
18255
18265
|
enumerable: true,
|
|
18256
|
-
get: function () { return
|
|
18266
|
+
get: function () { return chunkMDSWUCCL_cjs.agentControl; }
|
|
18257
18267
|
});
|
|
18258
18268
|
Object.defineProperty(exports, "browserWorkspaceStorage", {
|
|
18259
18269
|
enumerable: true,
|
|
18260
|
-
get: function () { return
|
|
18270
|
+
get: function () { return chunkMDSWUCCL_cjs.browserWorkspaceStorage; }
|
|
18261
18271
|
});
|
|
18262
18272
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
18263
18273
|
enumerable: true,
|
|
18264
|
-
get: function () { return
|
|
18274
|
+
get: function () { return chunkMDSWUCCL_cjs.clearSealedDrafts; }
|
|
18265
18275
|
});
|
|
18266
18276
|
Object.defineProperty(exports, "closePanelIn", {
|
|
18267
18277
|
enumerable: true,
|
|
18268
|
-
get: function () { return
|
|
18278
|
+
get: function () { return chunkMDSWUCCL_cjs.closePanelIn; }
|
|
18269
18279
|
});
|
|
18270
18280
|
Object.defineProperty(exports, "composeArbiSessionStore", {
|
|
18271
18281
|
enumerable: true,
|
|
18272
|
-
get: function () { return
|
|
18282
|
+
get: function () { return chunkMDSWUCCL_cjs.composeArbiSessionStore; }
|
|
18273
18283
|
});
|
|
18274
18284
|
Object.defineProperty(exports, "conversationKey", {
|
|
18275
18285
|
enumerable: true,
|
|
18276
|
-
get: function () { return
|
|
18286
|
+
get: function () { return chunkMDSWUCCL_cjs.conversationKey; }
|
|
18277
18287
|
});
|
|
18278
18288
|
Object.defineProperty(exports, "createArbiChatStore", {
|
|
18279
18289
|
enumerable: true,
|
|
18280
|
-
get: function () { return
|
|
18290
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiChatStore; }
|
|
18281
18291
|
});
|
|
18282
18292
|
Object.defineProperty(exports, "createArbiDocumentSessionStore", {
|
|
18283
18293
|
enumerable: true,
|
|
18284
|
-
get: function () { return
|
|
18294
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiDocumentSessionStore; }
|
|
18285
18295
|
});
|
|
18286
18296
|
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
18287
18297
|
enumerable: true,
|
|
18288
|
-
get: function () { return
|
|
18298
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiLayoutStore; }
|
|
18289
18299
|
});
|
|
18290
18300
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
18291
18301
|
enumerable: true,
|
|
18292
|
-
get: function () { return
|
|
18302
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiSessionStore; }
|
|
18293
18303
|
});
|
|
18294
18304
|
Object.defineProperty(exports, "createArbiWorkspaceStore", {
|
|
18295
18305
|
enumerable: true,
|
|
18296
|
-
get: function () { return
|
|
18306
|
+
get: function () { return chunkMDSWUCCL_cjs.createArbiWorkspaceStore; }
|
|
18297
18307
|
});
|
|
18298
18308
|
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
18299
18309
|
enumerable: true,
|
|
18300
|
-
get: function () { return
|
|
18310
|
+
get: function () { return chunkMDSWUCCL_cjs.createDebouncedWriter; }
|
|
18301
18311
|
});
|
|
18302
18312
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
18303
18313
|
enumerable: true,
|
|
18304
|
-
get: function () { return
|
|
18314
|
+
get: function () { return chunkMDSWUCCL_cjs.createSealedDraftStorage; }
|
|
18305
18315
|
});
|
|
18306
18316
|
Object.defineProperty(exports, "createStoragePersist", {
|
|
18307
18317
|
enumerable: true,
|
|
18308
|
-
get: function () { return
|
|
18318
|
+
get: function () { return chunkMDSWUCCL_cjs.createStoragePersist; }
|
|
18309
18319
|
});
|
|
18310
18320
|
Object.defineProperty(exports, "createUiStateStorage", {
|
|
18311
18321
|
enumerable: true,
|
|
18312
|
-
get: function () { return
|
|
18322
|
+
get: function () { return chunkMDSWUCCL_cjs.createUiStateStorage; }
|
|
18313
18323
|
});
|
|
18314
18324
|
Object.defineProperty(exports, "defaultLayoutState", {
|
|
18315
18325
|
enumerable: true,
|
|
18316
|
-
get: function () { return
|
|
18326
|
+
get: function () { return chunkMDSWUCCL_cjs.defaultLayoutState; }
|
|
18317
18327
|
});
|
|
18318
18328
|
Object.defineProperty(exports, "dmTabId", {
|
|
18319
18329
|
enumerable: true,
|
|
18320
|
-
get: function () { return
|
|
18330
|
+
get: function () { return chunkMDSWUCCL_cjs.dmTabId; }
|
|
18321
18331
|
});
|
|
18322
18332
|
Object.defineProperty(exports, "flushOnPageExit", {
|
|
18323
18333
|
enumerable: true,
|
|
18324
|
-
get: function () { return
|
|
18334
|
+
get: function () { return chunkMDSWUCCL_cjs.flushOnPageExit; }
|
|
18325
18335
|
});
|
|
18326
18336
|
Object.defineProperty(exports, "isPanelOpen", {
|
|
18327
18337
|
enumerable: true,
|
|
18328
|
-
get: function () { return
|
|
18338
|
+
get: function () { return chunkMDSWUCCL_cjs.isPanelOpen; }
|
|
18329
18339
|
});
|
|
18330
18340
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
18331
18341
|
enumerable: true,
|
|
18332
|
-
get: function () { return
|
|
18342
|
+
get: function () { return chunkMDSWUCCL_cjs.isUsageMetered; }
|
|
18333
18343
|
});
|
|
18334
18344
|
Object.defineProperty(exports, "layoutActionsOf", {
|
|
18335
18345
|
enumerable: true,
|
|
18336
|
-
get: function () { return
|
|
18346
|
+
get: function () { return chunkMDSWUCCL_cjs.layoutActionsOf; }
|
|
18337
18347
|
});
|
|
18338
18348
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
18339
18349
|
enumerable: true,
|
|
18340
|
-
get: function () { return
|
|
18350
|
+
get: function () { return chunkMDSWUCCL_cjs.nextViewingDocument; }
|
|
18341
18351
|
});
|
|
18342
18352
|
Object.defineProperty(exports, "openPanelIn", {
|
|
18343
18353
|
enumerable: true,
|
|
18344
|
-
get: function () { return
|
|
18354
|
+
get: function () { return chunkMDSWUCCL_cjs.openPanelIn; }
|
|
18345
18355
|
});
|
|
18346
18356
|
Object.defineProperty(exports, "panelPlace", {
|
|
18347
18357
|
enumerable: true,
|
|
18348
|
-
get: function () { return
|
|
18358
|
+
get: function () { return chunkMDSWUCCL_cjs.panelPlace; }
|
|
18349
18359
|
});
|
|
18350
18360
|
Object.defineProperty(exports, "parseSavedChat", {
|
|
18351
18361
|
enumerable: true,
|
|
18352
|
-
get: function () { return
|
|
18362
|
+
get: function () { return chunkMDSWUCCL_cjs.parseSavedChat; }
|
|
18353
18363
|
});
|
|
18354
18364
|
Object.defineProperty(exports, "parseSavedDocuments", {
|
|
18355
18365
|
enumerable: true,
|
|
18356
|
-
get: function () { return
|
|
18366
|
+
get: function () { return chunkMDSWUCCL_cjs.parseSavedDocuments; }
|
|
18357
18367
|
});
|
|
18358
18368
|
Object.defineProperty(exports, "parseSavedLayout", {
|
|
18359
18369
|
enumerable: true,
|
|
18360
|
-
get: function () { return
|
|
18370
|
+
get: function () { return chunkMDSWUCCL_cjs.parseSavedLayout; }
|
|
18361
18371
|
});
|
|
18362
18372
|
Object.defineProperty(exports, "queuedMessages", {
|
|
18363
18373
|
enumerable: true,
|
|
18364
|
-
get: function () { return
|
|
18374
|
+
get: function () { return chunkMDSWUCCL_cjs.queuedMessages; }
|
|
18365
18375
|
});
|
|
18366
18376
|
Object.defineProperty(exports, "readWorkspaceLastOpened", {
|
|
18367
18377
|
enumerable: true,
|
|
18368
|
-
get: function () { return
|
|
18378
|
+
get: function () { return chunkMDSWUCCL_cjs.readWorkspaceLastOpened; }
|
|
18369
18379
|
});
|
|
18370
18380
|
Object.defineProperty(exports, "restoreLayout", {
|
|
18371
18381
|
enumerable: true,
|
|
18372
|
-
get: function () { return
|
|
18382
|
+
get: function () { return chunkMDSWUCCL_cjs.restoreLayout; }
|
|
18373
18383
|
});
|
|
18374
18384
|
Object.defineProperty(exports, "restoreSavedDocuments", {
|
|
18375
18385
|
enumerable: true,
|
|
18376
|
-
get: function () { return
|
|
18386
|
+
get: function () { return chunkMDSWUCCL_cjs.restoreSavedDocuments; }
|
|
18377
18387
|
});
|
|
18378
18388
|
Object.defineProperty(exports, "savedChatOf", {
|
|
18379
18389
|
enumerable: true,
|
|
18380
|
-
get: function () { return
|
|
18390
|
+
get: function () { return chunkMDSWUCCL_cjs.savedChatOf; }
|
|
18381
18391
|
});
|
|
18382
18392
|
Object.defineProperty(exports, "savedDocumentsOf", {
|
|
18383
18393
|
enumerable: true,
|
|
18384
|
-
get: function () { return
|
|
18394
|
+
get: function () { return chunkMDSWUCCL_cjs.savedDocumentsOf; }
|
|
18385
18395
|
});
|
|
18386
18396
|
Object.defineProperty(exports, "savedLayoutOf", {
|
|
18387
18397
|
enumerable: true,
|
|
18388
|
-
get: function () { return
|
|
18398
|
+
get: function () { return chunkMDSWUCCL_cjs.savedLayoutOf; }
|
|
18389
18399
|
});
|
|
18390
18400
|
Object.defineProperty(exports, "selectDraft", {
|
|
18391
18401
|
enumerable: true,
|
|
18392
|
-
get: function () { return
|
|
18402
|
+
get: function () { return chunkMDSWUCCL_cjs.selectDraft; }
|
|
18393
18403
|
});
|
|
18394
18404
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
18395
18405
|
enumerable: true,
|
|
18396
|
-
get: function () { return
|
|
18406
|
+
get: function () { return chunkMDSWUCCL_cjs.selectIsGenerating; }
|
|
18397
18407
|
});
|
|
18398
18408
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
18399
18409
|
enumerable: true,
|
|
18400
|
-
get: function () { return
|
|
18410
|
+
get: function () { return chunkMDSWUCCL_cjs.selectViewingDocumentId; }
|
|
18401
18411
|
});
|
|
18402
18412
|
Object.defineProperty(exports, "threadTabId", {
|
|
18403
18413
|
enumerable: true,
|
|
18404
|
-
get: function () { return
|
|
18414
|
+
get: function () { return chunkMDSWUCCL_cjs.threadTabId; }
|
|
18405
18415
|
});
|
|
18406
18416
|
Object.defineProperty(exports, "useActivity", {
|
|
18407
18417
|
enumerable: true,
|
|
18408
|
-
get: function () { return
|
|
18418
|
+
get: function () { return chunkMDSWUCCL_cjs.useActivity; }
|
|
18409
18419
|
});
|
|
18410
18420
|
Object.defineProperty(exports, "useAgents", {
|
|
18411
18421
|
enumerable: true,
|
|
18412
|
-
get: function () { return
|
|
18422
|
+
get: function () { return chunkMDSWUCCL_cjs.useAgents; }
|
|
18413
18423
|
});
|
|
18414
18424
|
Object.defineProperty(exports, "useArbiSession", {
|
|
18415
18425
|
enumerable: true,
|
|
18416
|
-
get: function () { return
|
|
18426
|
+
get: function () { return chunkMDSWUCCL_cjs.useArbiSession; }
|
|
18417
18427
|
});
|
|
18418
18428
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
18419
18429
|
enumerable: true,
|
|
18420
|
-
get: function () { return
|
|
18430
|
+
get: function () { return chunkMDSWUCCL_cjs.useArbiSessionState; }
|
|
18421
18431
|
});
|
|
18422
18432
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
18423
18433
|
enumerable: true,
|
|
18424
|
-
get: function () { return
|
|
18434
|
+
get: function () { return chunkMDSWUCCL_cjs.useArbiSessionStore; }
|
|
18425
18435
|
});
|
|
18426
18436
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
18427
18437
|
enumerable: true,
|
|
18428
|
-
get: function () { return
|
|
18438
|
+
get: function () { return chunkMDSWUCCL_cjs.useAssistantQuery; }
|
|
18429
18439
|
});
|
|
18430
18440
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
18431
18441
|
enumerable: true,
|
|
18432
|
-
get: function () { return
|
|
18442
|
+
get: function () { return chunkMDSWUCCL_cjs.useAvailableModels; }
|
|
18433
18443
|
});
|
|
18434
18444
|
Object.defineProperty(exports, "useBoxRole", {
|
|
18435
18445
|
enumerable: true,
|
|
18436
|
-
get: function () { return
|
|
18446
|
+
get: function () { return chunkMDSWUCCL_cjs.useBoxRole; }
|
|
18437
18447
|
});
|
|
18438
18448
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
18439
18449
|
enumerable: true,
|
|
18440
|
-
get: function () { return
|
|
18450
|
+
get: function () { return chunkMDSWUCCL_cjs.useBuiltinCommands; }
|
|
18441
18451
|
});
|
|
18442
18452
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
18443
18453
|
enumerable: true,
|
|
18444
|
-
get: function () { return
|
|
18454
|
+
get: function () { return chunkMDSWUCCL_cjs.useCanCreateProjects; }
|
|
18455
|
+
});
|
|
18456
|
+
Object.defineProperty(exports, "useCanCreateWorkspaces", {
|
|
18457
|
+
enumerable: true,
|
|
18458
|
+
get: function () { return chunkMDSWUCCL_cjs.useCanCreateWorkspaces; }
|
|
18445
18459
|
});
|
|
18446
18460
|
Object.defineProperty(exports, "useConfig", {
|
|
18447
18461
|
enumerable: true,
|
|
18448
|
-
get: function () { return
|
|
18462
|
+
get: function () { return chunkMDSWUCCL_cjs.useConfig; }
|
|
18449
18463
|
});
|
|
18450
18464
|
Object.defineProperty(exports, "useConfigs", {
|
|
18451
18465
|
enumerable: true,
|
|
18452
|
-
get: function () { return
|
|
18466
|
+
get: function () { return chunkMDSWUCCL_cjs.useConfigs; }
|
|
18453
18467
|
});
|
|
18454
18468
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
18455
18469
|
enumerable: true,
|
|
18456
|
-
get: function () { return
|
|
18470
|
+
get: function () { return chunkMDSWUCCL_cjs.useConversationThreads; }
|
|
18457
18471
|
});
|
|
18458
18472
|
Object.defineProperty(exports, "useConversations", {
|
|
18459
18473
|
enumerable: true,
|
|
18460
|
-
get: function () { return
|
|
18474
|
+
get: function () { return chunkMDSWUCCL_cjs.useConversations; }
|
|
18461
18475
|
});
|
|
18462
18476
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
18463
18477
|
enumerable: true,
|
|
18464
|
-
get: function () { return
|
|
18478
|
+
get: function () { return chunkMDSWUCCL_cjs.useCurrentUser; }
|
|
18465
18479
|
});
|
|
18466
18480
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
18467
18481
|
enumerable: true,
|
|
18468
|
-
get: function () { return
|
|
18482
|
+
get: function () { return chunkMDSWUCCL_cjs.useDeleteAgents; }
|
|
18469
18483
|
});
|
|
18470
18484
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
18471
18485
|
enumerable: true,
|
|
18472
|
-
get: function () { return
|
|
18486
|
+
get: function () { return chunkMDSWUCCL_cjs.useDocumentVersionList; }
|
|
18473
18487
|
});
|
|
18474
18488
|
Object.defineProperty(exports, "useHealth", {
|
|
18475
18489
|
enumerable: true,
|
|
18476
|
-
get: function () { return
|
|
18490
|
+
get: function () { return chunkMDSWUCCL_cjs.useHealth; }
|
|
18477
18491
|
});
|
|
18478
18492
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
18479
18493
|
enumerable: true,
|
|
18480
|
-
get: function () { return
|
|
18494
|
+
get: function () { return chunkMDSWUCCL_cjs.useMessageDetails; }
|
|
18481
18495
|
});
|
|
18482
18496
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
18483
18497
|
enumerable: true,
|
|
18484
|
-
get: function () { return
|
|
18498
|
+
get: function () { return chunkMDSWUCCL_cjs.useParsedDocument; }
|
|
18499
|
+
});
|
|
18500
|
+
Object.defineProperty(exports, "useProjectCreationDenial", {
|
|
18501
|
+
enumerable: true,
|
|
18502
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjectCreationDenial; }
|
|
18485
18503
|
});
|
|
18486
18504
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
18487
18505
|
enumerable: true,
|
|
18488
|
-
get: function () { return
|
|
18506
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjectInvoices; }
|
|
18489
18507
|
});
|
|
18490
18508
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
18491
18509
|
enumerable: true,
|
|
18492
|
-
get: function () { return
|
|
18510
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjectUsage; }
|
|
18493
18511
|
});
|
|
18494
18512
|
Object.defineProperty(exports, "useProjects", {
|
|
18495
18513
|
enumerable: true,
|
|
18496
|
-
get: function () { return
|
|
18514
|
+
get: function () { return chunkMDSWUCCL_cjs.useProjects; }
|
|
18497
18515
|
});
|
|
18498
18516
|
Object.defineProperty(exports, "useSessionPageTab", {
|
|
18499
18517
|
enumerable: true,
|
|
18500
|
-
get: function () { return
|
|
18518
|
+
get: function () { return chunkMDSWUCCL_cjs.useSessionPageTab; }
|
|
18501
18519
|
});
|
|
18502
18520
|
Object.defineProperty(exports, "useSessionView", {
|
|
18503
18521
|
enumerable: true,
|
|
18504
|
-
get: function () { return
|
|
18522
|
+
get: function () { return chunkMDSWUCCL_cjs.useSessionView; }
|
|
18505
18523
|
});
|
|
18506
18524
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
18507
18525
|
enumerable: true,
|
|
18508
|
-
get: function () { return
|
|
18526
|
+
get: function () { return chunkMDSWUCCL_cjs.useSignedInSession; }
|
|
18509
18527
|
});
|
|
18510
18528
|
Object.defineProperty(exports, "useTags", {
|
|
18511
18529
|
enumerable: true,
|
|
18512
|
-
get: function () { return
|
|
18530
|
+
get: function () { return chunkMDSWUCCL_cjs.useTags; }
|
|
18513
18531
|
});
|
|
18514
18532
|
Object.defineProperty(exports, "useThumbnails", {
|
|
18515
18533
|
enumerable: true,
|
|
18516
|
-
get: function () { return
|
|
18534
|
+
get: function () { return chunkMDSWUCCL_cjs.useThumbnails; }
|
|
18517
18535
|
});
|
|
18518
18536
|
Object.defineProperty(exports, "useTransientView", {
|
|
18519
18537
|
enumerable: true,
|
|
18520
|
-
get: function () { return
|
|
18538
|
+
get: function () { return chunkMDSWUCCL_cjs.useTransientView; }
|
|
18521
18539
|
});
|
|
18522
18540
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
18523
18541
|
enumerable: true,
|
|
18524
|
-
get: function () { return
|
|
18542
|
+
get: function () { return chunkMDSWUCCL_cjs.useUserUsageToday; }
|
|
18525
18543
|
});
|
|
18526
18544
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
18527
18545
|
enumerable: true,
|
|
18528
|
-
get: function () { return
|
|
18546
|
+
get: function () { return chunkMDSWUCCL_cjs.useWorkspaceActivity; }
|
|
18529
18547
|
});
|
|
18530
18548
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
18531
18549
|
enumerable: true,
|
|
18532
|
-
get: function () { return
|
|
18550
|
+
get: function () { return chunkMDSWUCCL_cjs.useWorkspaces; }
|
|
18533
18551
|
});
|
|
18534
18552
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
18535
18553
|
enumerable: true,
|
|
@@ -20395,6 +20413,7 @@ exports.usePublishCalendar = usePublishCalendar;
|
|
|
20395
20413
|
exports.useRateSupportTicket = useRateSupportTicket;
|
|
20396
20414
|
exports.useReadMailMessage = useReadMailMessage;
|
|
20397
20415
|
exports.useReconnect = useReconnect;
|
|
20416
|
+
exports.useReferralSummary = useReferralSummary;
|
|
20398
20417
|
exports.useRefreshCalendar = useRefreshCalendar;
|
|
20399
20418
|
exports.useRefreshConnectorsOnRunEnd = useRefreshConnectorsOnRunEnd;
|
|
20400
20419
|
exports.useRefreshProject = useRefreshProject;
|