@arbidocs/react 0.5.53 → 0.5.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +15 -0
  2. package/dist/artifacts/index.cjs +9 -9
  3. package/dist/artifacts/index.js +3 -3
  4. package/dist/calls/livekit/index.cjs +48 -48
  5. package/dist/calls/livekit/index.js +3 -3
  6. package/dist/{chunk-ME4TS33T.cjs → chunk-2JQ7QNOO.cjs} +31 -31
  7. package/dist/{chunk-ME4TS33T.cjs.map → chunk-2JQ7QNOO.cjs.map} +1 -1
  8. package/dist/{chunk-W7DQJT4T.cjs → chunk-3CVY5SGY.cjs} +159 -22
  9. package/dist/chunk-3CVY5SGY.cjs.map +1 -0
  10. package/dist/{chunk-KOLCL4KV.js → chunk-4TKNUJKD.js} +3 -3
  11. package/dist/{chunk-KOLCL4KV.js.map → chunk-4TKNUJKD.js.map} +1 -1
  12. package/dist/{chunk-MB34NKBZ.js → chunk-DFZECLD3.js} +2 -2
  13. package/dist/chunk-DFZECLD3.js.map +1 -0
  14. package/dist/{chunk-G3GPVSTA.js → chunk-JFL7BBZ6.js} +3 -3
  15. package/dist/{chunk-G3GPVSTA.js.map → chunk-JFL7BBZ6.js.map} +1 -1
  16. package/dist/{chunk-BIHGAW4G.js → chunk-PVUZULHI.js} +3 -3
  17. package/dist/{chunk-BIHGAW4G.js.map → chunk-PVUZULHI.js.map} +1 -1
  18. package/dist/{chunk-ODGIOGH5.cjs → chunk-UKEUDTOE.cjs} +16 -16
  19. package/dist/{chunk-ODGIOGH5.cjs.map → chunk-UKEUDTOE.cjs.map} +1 -1
  20. package/dist/{chunk-ONGNP4JM.cjs → chunk-V64EETLS.cjs} +4 -4
  21. package/dist/{chunk-ONGNP4JM.cjs.map → chunk-V64EETLS.cjs.map} +1 -1
  22. package/dist/{chunk-JQSHGBNI.js → chunk-WRMA2JYX.js} +139 -8
  23. package/dist/chunk-WRMA2JYX.js.map +1 -0
  24. package/dist/{chunk-YIUUTRMQ.cjs → chunk-YRY6DGRU.cjs} +2 -2
  25. package/dist/chunk-YRY6DGRU.cjs.map +1 -0
  26. package/dist/document-tools/index.cjs +41 -41
  27. package/dist/document-tools/index.js +3 -3
  28. package/dist/index.cjs +770 -780
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.cts +188 -122
  31. package/dist/index.d.ts +188 -122
  32. package/dist/index.js +11 -43
  33. package/dist/index.js.map +1 -1
  34. package/dist/viewers/index.cjs +2 -2
  35. package/dist/viewers/index.js +1 -1
  36. package/package.json +3 -3
  37. package/dist/chunk-JQSHGBNI.js.map +0 -1
  38. package/dist/chunk-MB34NKBZ.js.map +0 -1
  39. package/dist/chunk-W7DQJT4T.cjs.map +0 -1
  40. package/dist/chunk-YIUUTRMQ.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkW7DQJT4T_cjs = require('./chunk-W7DQJT4T.cjs');
4
- var chunkODGIOGH5_cjs = require('./chunk-ODGIOGH5.cjs');
5
- var chunkME4TS33T_cjs = require('./chunk-ME4TS33T.cjs');
6
- var chunkONGNP4JM_cjs = require('./chunk-ONGNP4JM.cjs');
3
+ var chunk3CVY5SGY_cjs = require('./chunk-3CVY5SGY.cjs');
4
+ var chunkUKEUDTOE_cjs = require('./chunk-UKEUDTOE.cjs');
5
+ var chunk2JQ7QNOO_cjs = require('./chunk-2JQ7QNOO.cjs');
6
+ var chunkV64EETLS_cjs = require('./chunk-V64EETLS.cjs');
7
7
  var chunkRRWAX52L_cjs = require('./chunk-RRWAX52L.cjs');
8
8
  var chunkTUPSNW3B_cjs = require('./chunk-TUPSNW3B.cjs');
9
9
  var chunkVAMPYLQ4_cjs = require('./chunk-VAMPYLQ4.cjs');
@@ -19,7 +19,7 @@ var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
19
19
  var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
20
20
  var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
21
21
  var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
22
- var chunkYIUUTRMQ_cjs = require('./chunk-YIUUTRMQ.cjs');
22
+ var chunkYRY6DGRU_cjs = require('./chunk-YRY6DGRU.cjs');
23
23
  var chunkRCKA7BEF_cjs = require('./chunk-RCKA7BEF.cjs');
24
24
  var React = require('react');
25
25
  var reactQuery = require('@tanstack/react-query');
@@ -71,9 +71,9 @@ function holdListPoll(refetch) {
71
71
  };
72
72
  }
73
73
  function useConversationItems() {
74
- const workspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
75
- const open = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
76
- const query = chunkME4TS33T_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
74
+ const workspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
75
+ const open = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
76
+ const query = chunk2JQ7QNOO_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
77
77
  const { refetch } = query;
78
78
  const all = query.data;
79
79
  const tasks = React.useMemo(() => (all ?? []).filter((c) => c.status != null), [all]);
@@ -94,7 +94,7 @@ function useConversationItems() {
94
94
  return { conversations: all ?? [], tasks, isLoading: query.isLoading, refetch };
95
95
  }
96
96
  function useConversationIsShared() {
97
- const id = chunkME4TS33T_cjs.useArbiSessionState((state) => state.conversationId);
97
+ const id = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.conversationId);
98
98
  const { conversations } = useConversationItems();
99
99
  return conversations.find((conversation) => conversation.external_id === id)?.is_shared ?? false;
100
100
  }
@@ -103,9 +103,9 @@ function useWorkItems() {
103
103
  return { tasks, isLoading, refetch };
104
104
  }
105
105
  function useWorkspaceRole() {
106
- const workspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
107
- const me = chunkME4TS33T_cjs.useArbiSession().user?.external_id;
108
- const { data: workspaces } = chunkME4TS33T_cjs.useWorkspaces();
106
+ const workspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
107
+ const me = chunk2JQ7QNOO_cjs.useArbiSession().user?.external_id;
108
+ const { data: workspaces } = chunk2JQ7QNOO_cjs.useWorkspaces();
109
109
  const workspace = workspaces?.find((w) => w.external_id === workspaceId);
110
110
  return workspace?.users?.find((m) => m.user.external_id === me)?.role ?? null;
111
111
  }
@@ -117,13 +117,13 @@ function useIsWorkspaceOwner() {
117
117
  return useWorkspaceRole() === "owner";
118
118
  }
119
119
  function useNotifyConversation() {
120
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
120
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
121
121
  const qc = reactQuery.useQueryClient();
122
122
  return reactQuery.useMutation({
123
123
  mutationFn: ({ conversationId, userIds }) => arbi.conversations.notify(conversationId, userIds),
124
124
  onSuccess: (_data, { conversationId }) => {
125
125
  invalidateConversationActivity(qc, conversationId);
126
- void chunkW7DQJT4T_cjs.invalidateConversationLists(qc);
126
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(qc);
127
127
  }
128
128
  });
129
129
  }
@@ -138,9 +138,9 @@ var TaskThreadPendingError = class extends Error {
138
138
  var THREAD_LOOKUP_ATTEMPTS = 20;
139
139
  var THREAD_LOOKUP_DELAY_MS = 500;
140
140
  function useStartTaskQuery() {
141
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
141
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
142
142
  const queryClient = reactQuery.useQueryClient();
143
- const chatModel = chunkME4TS33T_cjs.useArbiSessionState((s) => s.chatModel);
143
+ const chatModel = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.chatModel);
144
144
  const post = reactQuery.useMutation({
145
145
  mutationFn: (query) => {
146
146
  const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
@@ -173,7 +173,7 @@ function useStartTaskQuery() {
173
173
  }
174
174
  }
175
175
  if (!conversationId) return null;
176
- await chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
176
+ await chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
177
177
  return { conversationId };
178
178
  };
179
179
  return {
@@ -193,7 +193,7 @@ function useStartTaskQuery() {
193
193
  };
194
194
  }
195
195
  function useUpdateConversation() {
196
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
196
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
197
197
  const qc = reactQuery.useQueryClient();
198
198
  return reactQuery.useMutation({
199
199
  mutationFn: ({
@@ -202,47 +202,47 @@ function useUpdateConversation() {
202
202
  }) => arbi.conversations.update(conversationId, patch),
203
203
  // The list takes the server's version of the row; what hangs off it is read again.
204
204
  onSuccess: (updated, { conversationId }) => {
205
- chunkW7DQJT4T_cjs.patchConversation(qc, conversationId, updated);
206
- return chunkW7DQJT4T_cjs.invalidateConversationDetails(qc, conversationId);
205
+ chunk3CVY5SGY_cjs.patchConversation(qc, conversationId, updated);
206
+ return chunk3CVY5SGY_cjs.invalidateConversationDetails(qc, conversationId);
207
207
  }
208
208
  });
209
209
  }
210
210
  function useDeleteConversation() {
211
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
211
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
212
212
  const qc = reactQuery.useQueryClient();
213
213
  return reactQuery.useMutation({
214
214
  mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
215
- onSuccess: (_res, conversationId) => chunkW7DQJT4T_cjs.removeConversationFromLists(qc, conversationId)
215
+ onSuccess: (_res, conversationId) => chunk3CVY5SGY_cjs.removeConversationFromLists(qc, conversationId)
216
216
  });
217
217
  }
218
218
  function useConversationSearch() {
219
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
219
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
220
220
  return reactQuery.useMutation({
221
221
  mutationFn: (body) => arbi.conversations.search(body)
222
222
  });
223
223
  }
224
224
  function useCreateWork() {
225
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
225
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
226
226
  const qc = reactQuery.useQueryClient();
227
227
  return reactQuery.useMutation({
228
228
  mutationFn: (body) => arbi.conversations.createWork(body),
229
- onSuccess: (created) => chunkW7DQJT4T_cjs.addConversationToList(qc, arbi.hasWorkspace ? arbi.getWorkspaceId() : null, created)
229
+ onSuccess: (created) => chunk3CVY5SGY_cjs.addConversationToList(qc, arbi.hasWorkspace ? arbi.getWorkspaceId() : null, created)
230
230
  });
231
231
  }
232
232
  function useRunConversation() {
233
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
233
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
234
234
  const qc = reactQuery.useQueryClient();
235
235
  return reactQuery.useMutation({
236
236
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
237
237
  // The server's version replaces the listed one; everything under the conversation is re-read.
238
238
  onSuccess: (updated) => {
239
- if (updated?.external_id) chunkW7DQJT4T_cjs.patchConversation(qc, updated.external_id, updated);
239
+ if (updated?.external_id) chunk3CVY5SGY_cjs.patchConversation(qc, updated.external_id, updated);
240
240
  return qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allConversations() });
241
241
  }
242
242
  });
243
243
  }
244
244
  function useActOnStep() {
245
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
245
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
246
246
  const qc = reactQuery.useQueryClient();
247
247
  return reactQuery.useMutation({
248
248
  mutationFn: ({
@@ -252,13 +252,13 @@ function useActOnStep() {
252
252
  // The server's version of the conversation replaces the listed one; its history is re-read.
253
253
  onSuccess: (updated) => {
254
254
  if (!updated?.external_id) return;
255
- chunkW7DQJT4T_cjs.patchConversation(qc, updated.external_id, updated);
255
+ chunk3CVY5SGY_cjs.patchConversation(qc, updated.external_id, updated);
256
256
  invalidateConversationActivity(qc, updated.external_id);
257
257
  }
258
258
  });
259
259
  }
260
260
  function useSendBackStep() {
261
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
261
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
262
262
  const qc = reactQuery.useQueryClient();
263
263
  return reactQuery.useMutation({
264
264
  mutationFn: ({
@@ -271,13 +271,13 @@ function useSendBackStep() {
271
271
  });
272
272
  }
273
273
  function usePlanWork() {
274
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
274
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
275
275
  return reactQuery.useMutation({
276
276
  mutationFn: (body) => arbi.conversations.plan(body)
277
277
  });
278
278
  }
279
279
  function useConversationPendingAuth(conversationId, options) {
280
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
280
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
281
281
  return reactQuery.useQuery({
282
282
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.conversationPendingAuth(conversationId ?? ""),
283
283
  queryFn: () => arbi.conversations.pendingAuth(conversationId),
@@ -286,7 +286,7 @@ function useConversationPendingAuth(conversationId, options) {
286
286
  });
287
287
  }
288
288
  function useConversationActivity(conversationId, options) {
289
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
289
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
290
290
  return reactQuery.useQuery({
291
291
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.conversationActivity(conversationId ?? ""),
292
292
  queryFn: () => arbi.conversations.activity(conversationId),
@@ -295,7 +295,7 @@ function useConversationActivity(conversationId, options) {
295
295
  });
296
296
  }
297
297
  function useWorkflows(options) {
298
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
298
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
299
299
  return reactQuery.useQuery({
300
300
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workflows(),
301
301
  queryFn: () => arbi.workflows.list(),
@@ -305,7 +305,7 @@ function useWorkflows(options) {
305
305
  });
306
306
  }
307
307
  function useWorkflowRuns(workflowId) {
308
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
308
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
309
309
  return reactQuery.useQuery({
310
310
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workflowRuns(workflowId ?? ""),
311
311
  queryFn: () => arbi.workflows.runs(workflowId),
@@ -316,7 +316,7 @@ function useWorkflowRuns(workflowId) {
316
316
  });
317
317
  }
318
318
  function useCreateWorkflow() {
319
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
319
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
320
320
  const qc = reactQuery.useQueryClient();
321
321
  return reactQuery.useMutation({
322
322
  mutationFn: (body) => arbi.workflows.create(body),
@@ -324,7 +324,7 @@ function useCreateWorkflow() {
324
324
  });
325
325
  }
326
326
  function useUpdateWorkflow() {
327
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
327
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
328
328
  const qc = reactQuery.useQueryClient();
329
329
  return reactQuery.useMutation({
330
330
  mutationFn: ({
@@ -335,7 +335,7 @@ function useUpdateWorkflow() {
335
335
  });
336
336
  }
337
337
  function useDeleteWorkflow() {
338
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
338
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
339
339
  const qc = reactQuery.useQueryClient();
340
340
  return reactQuery.useMutation({
341
341
  mutationFn: (workflowId) => arbi.workflows.delete(workflowId),
@@ -343,7 +343,7 @@ function useDeleteWorkflow() {
343
343
  });
344
344
  }
345
345
  function useRunWorkflow() {
346
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
346
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
347
347
  const qc = reactQuery.useQueryClient();
348
348
  return reactQuery.useMutation({
349
349
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.runWorkflow(),
@@ -355,7 +355,7 @@ function useRunWorkflow() {
355
355
  });
356
356
  }
357
357
  function useCreateAgent() {
358
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
358
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
359
359
  const qc = reactQuery.useQueryClient();
360
360
  return reactQuery.useMutation({
361
361
  mutationFn: (name) => arbi.agents.create(name),
@@ -363,7 +363,7 @@ function useCreateAgent() {
363
363
  });
364
364
  }
365
365
  function useGenerateAgentAvatar() {
366
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
366
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
367
367
  const qc = reactQuery.useQueryClient();
368
368
  return reactQuery.useMutation({
369
369
  mutationFn: ({ agentExtId, prompt }) => arbi.agents.generateAvatar(agentExtId, prompt),
@@ -371,7 +371,7 @@ function useGenerateAgentAvatar() {
371
371
  });
372
372
  }
373
373
  function useAuthorizeLimits(options) {
374
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
374
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
375
375
  return reactQuery.useQuery({
376
376
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.authorizeLimits(),
377
377
  queryFn: () => arbi.agents.authorizeLimits(),
@@ -379,7 +379,7 @@ function useAuthorizeLimits(options) {
379
379
  });
380
380
  }
381
381
  function useMcpTools(options) {
382
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
382
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
383
383
  return reactQuery.useQuery({
384
384
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.mcpTools(),
385
385
  queryFn: () => arbi.health.mcpTools(),
@@ -387,7 +387,7 @@ function useMcpTools(options) {
387
387
  });
388
388
  }
389
389
  function useAgentConfig(agentExtId, options) {
390
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
390
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
391
391
  return reactQuery.useQuery({
392
392
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.agentConfig(agentExtId),
393
393
  queryFn: async () => agentExtId ? await arbi.agents.getConfig(agentExtId) : await arbi.agentConfig.get("default"),
@@ -395,7 +395,7 @@ function useAgentConfig(agentExtId, options) {
395
395
  });
396
396
  }
397
397
  function useAgentModels(options) {
398
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
398
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
399
399
  return reactQuery.useQuery({
400
400
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.models(),
401
401
  queryFn: async () => (await arbi.agentConfig.getModels()).models.map((m) => m.model_name),
@@ -403,7 +403,7 @@ function useAgentModels(options) {
403
403
  });
404
404
  }
405
405
  function useSaveAgentConfig() {
406
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
406
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
407
407
  const qc = reactQuery.useQueryClient();
408
408
  return reactQuery.useMutation({
409
409
  mutationFn: async ({ agentExtId, title, sections }) => {
@@ -428,7 +428,7 @@ function useSaveAgentConfig() {
428
428
  });
429
429
  }
430
430
  function useAgentWorkspaces(agentExtId, options) {
431
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
431
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
432
432
  return reactQuery.useQuery({
433
433
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.agentWorkspaces(agentExtId ?? ""),
434
434
  queryFn: () => arbi.agents.listWorkspaces(agentExtId),
@@ -436,7 +436,7 @@ function useAgentWorkspaces(agentExtId, options) {
436
436
  });
437
437
  }
438
438
  function useGrantAgentAccess() {
439
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
439
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
440
440
  const qc = reactQuery.useQueryClient();
441
441
  return reactQuery.useMutation({
442
442
  mutationFn: async ({
@@ -459,7 +459,7 @@ function useGrantAgentAccess() {
459
459
  });
460
460
  }
461
461
  function useRevokeAgentAccess() {
462
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
462
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
463
463
  const qc = reactQuery.useQueryClient();
464
464
  return reactQuery.useMutation({
465
465
  mutationFn: ({ agentExtId, workspaceId }) => arbi.workspaces.removeUsers([agentExtId], { workspaceId }),
@@ -467,7 +467,7 @@ function useRevokeAgentAccess() {
467
467
  });
468
468
  }
469
469
  function useSkills(options) {
470
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
470
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
471
471
  return reactQuery.useQuery({
472
472
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.skills(), options?.includeHidden ?? false],
473
473
  queryFn: () => arbi.assistant.listSkills({ includeHidden: options?.includeHidden }),
@@ -477,7 +477,7 @@ function useSkills(options) {
477
477
  });
478
478
  }
479
479
  function useUploadSkillFiles() {
480
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
480
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
481
481
  const qc = reactQuery.useQueryClient();
482
482
  return reactQuery.useMutation({
483
483
  mutationFn: async (entries) => {
@@ -511,7 +511,7 @@ function throwOnSkipped(result) {
511
511
  throw new Error(result.skipped.map((file) => `${file.file_name}: ${file.reason}`).join("; "));
512
512
  }
513
513
  function useSaveSkill() {
514
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
514
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
515
515
  const qc = reactQuery.useQueryClient();
516
516
  return reactQuery.useMutation({
517
517
  mutationFn: async ({
@@ -528,7 +528,7 @@ function useSaveSkill() {
528
528
  });
529
529
  }
530
530
  function useSkillSource(docExtId, options) {
531
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
531
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
532
532
  return reactQuery.useQuery({
533
533
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.skillSource(docExtId ?? ""),
534
534
  queryFn: async () => {
@@ -541,7 +541,7 @@ function useSkillSource(docExtId, options) {
541
541
  });
542
542
  }
543
543
  function useDeleteSkill() {
544
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
544
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
545
545
  const qc = reactQuery.useQueryClient();
546
546
  return reactQuery.useMutation({
547
547
  mutationFn: (docExtId) => arbi.documents.delete([docExtId]),
@@ -549,7 +549,7 @@ function useDeleteSkill() {
549
549
  });
550
550
  }
551
551
  function useSetSkillVisibility() {
552
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
552
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
553
553
  const qc = reactQuery.useQueryClient();
554
554
  return reactQuery.useMutation({
555
555
  mutationFn: ({ docExtId, visibility }) => arbi.documents.update([{ external_id: docExtId, shared: visibility === "global" }]),
@@ -557,7 +557,7 @@ function useSetSkillVisibility() {
557
557
  });
558
558
  }
559
559
  function useAgentSession(agentId, options) {
560
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
560
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
561
561
  return reactQuery.useQuery({
562
562
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.agentSession(agentId ?? ""),
563
563
  queryFn: () => arbi.agents.getSession(agentId),
@@ -566,7 +566,7 @@ function useAgentSession(agentId, options) {
566
566
  });
567
567
  }
568
568
  function useAgentChats(agentId) {
569
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
569
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
570
570
  return reactQuery.useQuery({
571
571
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.agentChats(agentId ?? ""),
572
572
  queryFn: () => arbi.agents.listChats(agentId),
@@ -585,7 +585,7 @@ function refreshAgentSession(qc, agentId) {
585
585
  );
586
586
  }
587
587
  function useStartAgentSession() {
588
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
588
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
589
589
  const qc = reactQuery.useQueryClient();
590
590
  return reactQuery.useMutation({
591
591
  mutationFn: ({ agentId, workspaceId }) => arbi.agents.startSession(agentId, workspaceId),
@@ -593,7 +593,7 @@ function useStartAgentSession() {
593
593
  });
594
594
  }
595
595
  function useCloseAgentSession() {
596
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
596
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
597
597
  const qc = reactQuery.useQueryClient();
598
598
  return reactQuery.useMutation({
599
599
  mutationFn: (agentId) => arbi.agents.closeSession(agentId),
@@ -1264,7 +1264,7 @@ function clearUserInputRequest(queryClient, conversationId, messageId) {
1264
1264
  }
1265
1265
  var MEMBERS_STALE_MS = 15 * 60 * 1e3;
1266
1266
  function useWorkspaceUsers(workspaceId, options) {
1267
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1267
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1268
1268
  const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
1269
1269
  return reactQuery.useQuery({
1270
1270
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceUsers(workspace),
@@ -1285,7 +1285,7 @@ function settleMembership(qc) {
1285
1285
  ]);
1286
1286
  }
1287
1287
  function useAddWorkspaceMembers() {
1288
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1288
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1289
1289
  const qc = reactQuery.useQueryClient();
1290
1290
  return reactQuery.useMutation({
1291
1291
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.workspaceMembership(),
@@ -1297,7 +1297,7 @@ function useAddWorkspaceMembers() {
1297
1297
  });
1298
1298
  }
1299
1299
  function useRemoveWorkspaceMembers() {
1300
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1300
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1301
1301
  const qc = reactQuery.useQueryClient();
1302
1302
  return reactQuery.useMutation({
1303
1303
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.workspaceMembership(),
@@ -1306,7 +1306,7 @@ function useRemoveWorkspaceMembers() {
1306
1306
  });
1307
1307
  }
1308
1308
  function useSetWorkspaceMemberRoles() {
1309
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1309
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1310
1310
  const qc = reactQuery.useQueryClient();
1311
1311
  return reactQuery.useMutation({
1312
1312
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.setWorkspaceMemberRoles(),
@@ -1337,52 +1337,20 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1337
1337
  if (!conversationId) return newMode;
1338
1338
  const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
1339
1339
  if (threads?.assistant_mode) return threads.assistant_mode;
1340
- return chunkW7DQJT4T_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1340
+ return chunk3CVY5SGY_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1341
1341
  }
1342
1342
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1343
1343
  const mentioned = chunkTUPSNW3B_cjs.extractMentions(content, candidates);
1344
1344
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1345
- if (chunkW7DQJT4T_cjs.isConversationShared(queryClient, conversationId)) return true;
1345
+ if (chunk3CVY5SGY_cjs.isConversationShared(queryClient, conversationId)) return true;
1346
1346
  if (mentioned.some((c) => c.kind === "user")) return true;
1347
- return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned" && !chunkW7DQJT4T_cjs.isKnownSoloConversation(queryClient, conversationId);
1347
+ return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned" && !chunk3CVY5SGY_cjs.isKnownSoloConversation(queryClient, conversationId);
1348
1348
  }
1349
1349
  function useMentionCandidates() {
1350
1350
  const { data: users = [] } = useWorkspaceUsers();
1351
- const currentUserId = chunkME4TS33T_cjs.useArbiSession().user?.external_id;
1351
+ const currentUserId = chunk2JQ7QNOO_cjs.useArbiSession().user?.external_id;
1352
1352
  return React.useMemo(() => buildMentionCandidates(users, currentUserId), [users, currentUserId]);
1353
1353
  }
1354
- function useUserSettings(options) {
1355
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1356
- return reactQuery.useQuery({
1357
- queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings(),
1358
- queryFn: () => arbi.settings.get(),
1359
- // Edited about once a month, and every write here patches the cache: no refetch on each mount.
1360
- staleTime: 30 * 60 * 1e3,
1361
- enabled: (options?.enabled ?? true) && arbi.isLoggedIn
1362
- });
1363
- }
1364
- function useUpdateUserSettings() {
1365
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1366
- const qc = reactQuery.useQueryClient();
1367
- return reactQuery.useMutation({
1368
- mutationFn: (patch) => arbi.settings.update(patch),
1369
- onMutate: async (patch) => {
1370
- await qc.cancelQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() });
1371
- const previous = qc.getQueryData(chunkRRWAX52L_cjs.arbiQueryKeys.userSettings());
1372
- qc.setQueryData(
1373
- chunkRRWAX52L_cjs.arbiQueryKeys.userSettings(),
1374
- (old) => old ? { ...old, ...patch } : old
1375
- );
1376
- return { previous };
1377
- },
1378
- onError: (_err, _patch, context) => {
1379
- qc.setQueryData(chunkRRWAX52L_cjs.arbiQueryKeys.userSettings(), context?.previous);
1380
- },
1381
- onSettled: () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() })
1382
- });
1383
- }
1384
-
1385
- // src/config/config-hooks.ts
1386
1354
  function isFullConfig(config) {
1387
1355
  return config != null && "QueryLLM" in config;
1388
1356
  }
@@ -1403,7 +1371,7 @@ function formatConfigValidationError(error) {
1403
1371
  return "Invalid configuration value (out of range)";
1404
1372
  }
1405
1373
  function useConfigSchema() {
1406
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1374
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1407
1375
  return reactQuery.useQuery({
1408
1376
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.configSchema(),
1409
1377
  queryFn: () => arbi.agentConfig.getSchema(),
@@ -1411,7 +1379,7 @@ function useConfigSchema() {
1411
1379
  });
1412
1380
  }
1413
1381
  function useSaveConfig() {
1414
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1382
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1415
1383
  const queryClient = reactQuery.useQueryClient();
1416
1384
  return reactQuery.useMutation({
1417
1385
  mutationFn: (body) => arbi.agentConfig.save(body),
@@ -1427,7 +1395,7 @@ function useSaveConfig() {
1427
1395
  });
1428
1396
  }
1429
1397
  function useDeleteConfig() {
1430
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1398
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1431
1399
  const queryClient = reactQuery.useQueryClient();
1432
1400
  return reactQuery.useMutation({
1433
1401
  mutationFn: (configId) => arbi.agentConfig.delete(configId),
@@ -1468,15 +1436,15 @@ function deltaOnto(changes, active, defaults) {
1468
1436
  return delta;
1469
1437
  }
1470
1438
  function useSaveConfigField(baseConfigId) {
1471
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1439
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1472
1440
  const queryClient = reactQuery.useQueryClient();
1473
1441
  const saveConfig = useSaveConfig();
1474
- const { data: defaultConfig } = chunkME4TS33T_cjs.useConfig("default");
1475
- const chatModel = chunkME4TS33T_cjs.useArbiSessionState((state) => state.chatModel);
1476
- const { data: userSettings } = useUserSettings();
1442
+ const { data: defaultConfig } = chunk2JQ7QNOO_cjs.useConfig("default");
1443
+ const chatModel = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.chatModel);
1444
+ const { data: userSettings } = chunk3CVY5SGY_cjs.useUserSettings();
1477
1445
  const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
1478
- const { data: activeConfigData } = chunkME4TS33T_cjs.useConfig(activeConfigId);
1479
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
1446
+ const { data: activeConfigData } = chunk2JQ7QNOO_cjs.useConfig(activeConfigId);
1447
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
1480
1448
  const chain = React.useRef(null);
1481
1449
  const buildDelta = (changes) => deltaOnto(
1482
1450
  changes,
@@ -1547,8 +1515,8 @@ function pendingChatModelSave(session) {
1547
1515
  return chatModelSaves.get(session);
1548
1516
  }
1549
1517
  function useApplyChatModel() {
1550
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
1551
- const { data: availableModels } = chunkME4TS33T_cjs.useAvailableModels();
1518
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
1519
+ const { data: availableModels } = chunk2JQ7QNOO_cjs.useAvailableModels();
1552
1520
  const configField = useSaveConfigField();
1553
1521
  return React.useCallback(
1554
1522
  async (model, label) => {
@@ -1576,7 +1544,7 @@ function useApplyChatModel() {
1576
1544
  // src/chat/thread-binding.ts
1577
1545
  function threadBinding(queryClient, conversationId) {
1578
1546
  if (!conversationId) return chunkTUPSNW3B_cjs.UNBOUND;
1579
- const row = chunkW7DQJT4T_cjs.findConversation(queryClient, conversationId);
1547
+ const row = chunk3CVY5SGY_cjs.findConversation(queryClient, conversationId);
1580
1548
  if (row) return chunkTUPSNW3B_cjs.bindingOfRow(row);
1581
1549
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1582
1550
  return chunkTUPSNW3B_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
@@ -1589,7 +1557,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
1589
1557
  bound_document_ext_id: binding.documentId,
1590
1558
  bound_document_unavailable: binding.unavailable
1591
1559
  };
1592
- chunkW7DQJT4T_cjs.patchConversation(queryClient, conversationId, fields);
1560
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, conversationId, fields);
1593
1561
  queryClient.setQueryData(
1594
1562
  getThreadsQueryKey(conversationId),
1595
1563
  (old) => old ? { ...old, ...fields } : old
@@ -1603,7 +1571,7 @@ async function bindThreadDocument(arbi, queryClient, conversationId, documentId)
1603
1571
  const saved = await arbi.conversations.update(conversationId, {
1604
1572
  bound_document_ext_id: documentId
1605
1573
  });
1606
- chunkW7DQJT4T_cjs.patchConversation(queryClient, conversationId, saved);
1574
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, conversationId, saved);
1607
1575
  cacheThreadBinding(queryClient, conversationId, chunkTUPSNW3B_cjs.bindingOfRow(saved));
1608
1576
  } catch (error) {
1609
1577
  cacheThreadBinding(queryClient, conversationId, before);
@@ -1663,11 +1631,11 @@ var SNAPSHOT_MS = 500;
1663
1631
  function applyTaskEvent(queryClient, arbi, message, me) {
1664
1632
  const workspaceId = message.workspace_ext_id;
1665
1633
  if (!workspaceId) return;
1666
- if (chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES.has(message.status)) {
1667
- void chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, [message.doc_ext_id]);
1634
+ if (chunkUKEUDTOE_cjs.FINISHED_DOCUMENT_STATUSES.has(message.status)) {
1635
+ void chunkUKEUDTOE_cjs.refreshDocuments(queryClient, arbi, [message.doc_ext_id]);
1668
1636
  return;
1669
1637
  }
1670
- const cached = chunkODGIOGH5_cjs.getCachedDocuments(queryClient, workspaceId);
1638
+ const cached = chunkUKEUDTOE_cjs.getCachedDocuments(queryClient, workspaceId);
1671
1639
  if (!cached || cached.some((d) => d.external_id === message.doc_ext_id)) return;
1672
1640
  const now = (/* @__PURE__ */ new Date()).toISOString();
1673
1641
  const placeholder = {
@@ -1684,7 +1652,7 @@ function applyTaskEvent(queryClient, arbi, message, me) {
1684
1652
  created_at: now,
1685
1653
  updated_at: now
1686
1654
  };
1687
- chunkODGIOGH5_cjs.patchDocuments(
1655
+ chunkUKEUDTOE_cjs.patchDocuments(
1688
1656
  queryClient,
1689
1657
  (old) => old.some((d) => d.external_id === message.doc_ext_id) ? old : [...old, placeholder],
1690
1658
  workspaceId
@@ -1692,15 +1660,15 @@ function applyTaskEvent(queryClient, arbi, message, me) {
1692
1660
  }
1693
1661
  function useWorkspaceProcessing(workspaceId) {
1694
1662
  const queryClient = reactQuery.useQueryClient();
1695
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1696
- const [snapshot, setSnapshot] = React.useState(() => chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks);
1663
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1664
+ const [snapshot, setSnapshot] = React.useState(() => chunkUKEUDTOE_cjs.useArbiWsStore.getState().tasks);
1697
1665
  React.useEffect(() => {
1698
1666
  let timer = null;
1699
- const unsubscribe = chunkODGIOGH5_cjs.useArbiWsStore.subscribe((state, previous) => {
1667
+ const unsubscribe = chunkUKEUDTOE_cjs.useArbiWsStore.subscribe((state, previous) => {
1700
1668
  if (state.tasks === previous.tasks || timer) return;
1701
1669
  timer = setTimeout(() => {
1702
1670
  timer = null;
1703
- setSnapshot(chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks);
1671
+ setSnapshot(chunkUKEUDTOE_cjs.useArbiWsStore.getState().tasks);
1704
1672
  }, SNAPSHOT_MS);
1705
1673
  });
1706
1674
  return () => {
@@ -1710,13 +1678,13 @@ function useWorkspaceProcessing(workspaceId) {
1710
1678
  }, []);
1711
1679
  React.useEffect(() => {
1712
1680
  if (!workspaceId) return;
1713
- const store = chunkODGIOGH5_cjs.useArbiWsStore.getState();
1714
- const documents2 = chunkODGIOGH5_cjs.getCachedDocuments(queryClient, workspaceId) ?? [];
1681
+ const store = chunkUKEUDTOE_cjs.useArbiWsStore.getState();
1682
+ const documents2 = chunkUKEUDTOE_cjs.getCachedDocuments(queryClient, workspaceId) ?? [];
1715
1683
  store.settleTasks(documents2);
1716
1684
  const listed = new Set(documents2.map((d) => d.external_id));
1717
1685
  const now = Date.now();
1718
- for (const task of Object.values(chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks)) {
1719
- if (task.workspace_ext_id !== workspaceId || !chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(task.status))
1686
+ for (const task of Object.values(chunkUKEUDTOE_cjs.useArbiWsStore.getState().tasks)) {
1687
+ if (task.workspace_ext_id !== workspaceId || !chunkUKEUDTOE_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(task.status))
1720
1688
  continue;
1721
1689
  const since = task.startTime ?? task.endTime;
1722
1690
  const age = since == null ? null : now - since;
@@ -1729,16 +1697,16 @@ function useWorkspaceProcessing(workspaceId) {
1729
1697
  if (!workspaceId) return;
1730
1698
  const unsubscribeReads = subscribeDocumentReads(
1731
1699
  queryClient,
1732
- (rows) => chunkODGIOGH5_cjs.useArbiWsStore.getState().settleTasks(rows)
1700
+ (rows) => chunkUKEUDTOE_cjs.useArbiWsStore.getState().settleTasks(rows)
1733
1701
  );
1734
1702
  const recheck = async () => {
1735
- const ids = Object.values(chunkODGIOGH5_cjs.useArbiWsStore.getState().tasks).filter(
1736
- (t) => t.workspace_ext_id === workspaceId && chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(t.status)
1703
+ const ids = Object.values(chunkUKEUDTOE_cjs.useArbiWsStore.getState().tasks).filter(
1704
+ (t) => t.workspace_ext_id === workspaceId && chunkUKEUDTOE_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(t.status)
1737
1705
  ).map((t) => t.doc_ext_id);
1738
- if (ids.length) await chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, ids);
1706
+ if (ids.length) await chunkUKEUDTOE_cjs.refreshDocuments(queryClient, arbi, ids);
1739
1707
  };
1740
- let wasConnected = chunkODGIOGH5_cjs.useArbiWsStore.getState().status === "connected";
1741
- const unsubscribeStatus = chunkODGIOGH5_cjs.useArbiWsStore.subscribe((state) => {
1708
+ let wasConnected = chunkUKEUDTOE_cjs.useArbiWsStore.getState().status === "connected";
1709
+ const unsubscribeStatus = chunkUKEUDTOE_cjs.useArbiWsStore.subscribe((state) => {
1742
1710
  const connected = state.status === "connected";
1743
1711
  if (connected && !wasConnected) void recheck();
1744
1712
  wasConnected = connected;
@@ -1753,11 +1721,11 @@ function useWorkspaceProcessing(workspaceId) {
1753
1721
  const count = (statuses) => allTasks.filter(
1754
1722
  (t) => Array.isArray(statuses) ? statuses.includes(t.status) : statuses.has(t.status)
1755
1723
  ).length;
1756
- const { clearTask, clearFinishedTasks } = chunkODGIOGH5_cjs.useArbiWsStore.getState();
1724
+ const { clearTask, clearFinishedTasks } = chunkUKEUDTOE_cjs.useArbiWsStore.getState();
1757
1725
  return {
1758
1726
  tasks: Object.fromEntries(allTasks.map((t) => [t.doc_ext_id, t])),
1759
1727
  allTasks,
1760
- processingCount: count(chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES),
1728
+ processingCount: count(chunkUKEUDTOE_cjs.IN_FLIGHT_DOCUMENT_STATUSES),
1761
1729
  completedCount: count(["completed", "low-content"]),
1762
1730
  failedCount: count(["failed"]),
1763
1731
  skippedCount: count(["skipped"]),
@@ -1769,7 +1737,7 @@ function useWorkspaceProcessing(workspaceId) {
1769
1737
  function applyOptimisticDocumentEdit(qc, updates) {
1770
1738
  const byId = new Map(updates.map((update) => [update.external_id, update]));
1771
1739
  const previous = [];
1772
- chunkODGIOGH5_cjs.patchDocuments(qc, (old) => {
1740
+ chunkUKEUDTOE_cjs.patchDocuments(qc, (old) => {
1773
1741
  let changed = false;
1774
1742
  const next = old.map((doc) => {
1775
1743
  const update = byId.get(doc.external_id);
@@ -1784,7 +1752,7 @@ function applyOptimisticDocumentEdit(qc, updates) {
1784
1752
  const own = qc.getQueryData(
1785
1753
  chunkRRWAX52L_cjs.arbiQueryKeys.document(update.external_id)
1786
1754
  );
1787
- if (own) chunkODGIOGH5_cjs.setCachedDocument(qc, { ...own, ...update });
1755
+ if (own) chunkUKEUDTOE_cjs.setCachedDocument(qc, { ...own, ...update });
1788
1756
  return [update.external_id, own];
1789
1757
  });
1790
1758
  return { optimistic: true, previous, previousOwn };
@@ -1794,7 +1762,7 @@ function rollbackOptimisticDocumentEdit(qc, context) {
1794
1762
  if (!edit?.optimistic) return;
1795
1763
  if (edit.previous.length) {
1796
1764
  const restore = new Map(edit.previous.map((doc) => [doc.external_id, doc]));
1797
- chunkODGIOGH5_cjs.patchDocuments(
1765
+ chunkUKEUDTOE_cjs.patchDocuments(
1798
1766
  qc,
1799
1767
  (old) => old.some((doc) => restore.has(doc.external_id)) ? old.map((doc) => restore.get(doc.external_id) ?? doc) : old
1800
1768
  );
@@ -1804,19 +1772,19 @@ function rollbackOptimisticDocumentEdit(qc, context) {
1804
1772
  function settleUpdatedDocuments(qc, updated) {
1805
1773
  if (!updated.length) return;
1806
1774
  const byId = new Map(updated.map((doc) => [doc.external_id, doc]));
1807
- chunkODGIOGH5_cjs.patchDocuments(
1775
+ chunkUKEUDTOE_cjs.patchDocuments(
1808
1776
  qc,
1809
1777
  (old) => old.some((doc) => byId.has(doc.external_id)) ? old.map((doc) => byId.get(doc.external_id) ?? doc) : old
1810
1778
  );
1811
- for (const doc of updated) chunkODGIOGH5_cjs.setCachedDocument(qc, doc);
1779
+ for (const doc of updated) chunkUKEUDTOE_cjs.setCachedDocument(qc, doc);
1812
1780
  }
1813
1781
  function patchEachDocument(qc, docIds, reducer) {
1814
1782
  const ids = new Set(docIds);
1815
- chunkODGIOGH5_cjs.patchDocuments(
1783
+ chunkUKEUDTOE_cjs.patchDocuments(
1816
1784
  qc,
1817
1785
  (old) => old.some((doc) => ids.has(doc.external_id)) ? old.map((doc) => ids.has(doc.external_id) ? reducer(doc) : doc) : old
1818
1786
  );
1819
- for (const id of ids) chunkODGIOGH5_cjs.patchCachedDocument(qc, id, reducer);
1787
+ for (const id of ids) chunkUKEUDTOE_cjs.patchCachedDocument(qc, id, reducer);
1820
1788
  }
1821
1789
  function workspaceOf(qc, docId) {
1822
1790
  for (const [, docs] of qc.getQueriesData({
@@ -1843,7 +1811,7 @@ function settleAssignedDocTags(qc, created) {
1843
1811
  ...doc,
1844
1812
  doctags: [...doc.doctags ?? [], ...byDoc.get(doc.external_id) ?? []]
1845
1813
  }));
1846
- for (const [workspaceId, delta] of workspaces) chunkODGIOGH5_cjs.adjustTagCounts(qc, workspaceId, delta);
1814
+ for (const [workspaceId, delta] of workspaces) chunkUKEUDTOE_cjs.adjustTagCounts(qc, workspaceId, delta);
1847
1815
  }
1848
1816
  function settleRemovedDocTags(qc, { tagId, docIds }) {
1849
1817
  const ids = new Set(docIds);
@@ -1865,7 +1833,7 @@ function settleRemovedDocTags(qc, { tagId, docIds }) {
1865
1833
  doctags: (doc.doctags ?? []).filter((dt) => dt.tag_ext_id !== tagId)
1866
1834
  }));
1867
1835
  for (const [workspaceId, removed] of removedByWorkspace)
1868
- chunkODGIOGH5_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
1836
+ chunkUKEUDTOE_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
1869
1837
  }
1870
1838
  function settleUpdatedDocTag(qc, updated) {
1871
1839
  patchEachDocument(qc, [updated.doc_ext_id], (doc) => ({
@@ -1912,7 +1880,7 @@ function useMarkDocumentShared() {
1912
1880
  const qc = reactQuery.useQueryClient();
1913
1881
  return React.useCallback(
1914
1882
  (documentExtId) => {
1915
- chunkODGIOGH5_cjs.patchDocuments(
1883
+ chunkUKEUDTOE_cjs.patchDocuments(
1916
1884
  qc,
1917
1885
  (old) => old.map((doc) => doc.external_id === documentExtId ? { ...doc, shared: true } : doc)
1918
1886
  );
@@ -1922,7 +1890,7 @@ function useMarkDocumentShared() {
1922
1890
  );
1923
1891
  }
1924
1892
  function useUpdateDocuments() {
1925
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1893
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1926
1894
  const qc = reactQuery.useQueryClient();
1927
1895
  return resolvingOffline(
1928
1896
  reactQuery.useMutation({
@@ -1954,7 +1922,7 @@ function useRenameFolder() {
1954
1922
  return folder === void 0 ? [] : [{ external_id: doc.external_id, folder }];
1955
1923
  });
1956
1924
  if (updates.length > 0) await mutateAsync({ documents: updates });
1957
- chunkODGIOGH5_cjs.patchDocuments(qc, (rows) => {
1925
+ chunkUKEUDTOE_cjs.patchDocuments(qc, (rows) => {
1958
1926
  let changed = false;
1959
1927
  const next = rows.map((doc) => {
1960
1928
  const folder = moved(doc.folder);
@@ -1970,30 +1938,30 @@ function useRenameFolder() {
1970
1938
  );
1971
1939
  }
1972
1940
  function useDeleteDocuments() {
1973
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1941
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1974
1942
  const qc = reactQuery.useQueryClient();
1975
1943
  return reactQuery.useMutation({
1976
1944
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.deleteDocuments(),
1977
1945
  mutationFn: (docIds) => arbi.documents.delete(docIds),
1978
1946
  onSuccess: (_data, docIds) => {
1979
1947
  const gone = new Set(docIds);
1980
- chunkODGIOGH5_cjs.patchDocuments(
1948
+ chunkUKEUDTOE_cjs.patchDocuments(
1981
1949
  qc,
1982
1950
  (old) => old.some((doc) => gone.has(doc.external_id)) ? old.filter((doc) => !gone.has(doc.external_id)) : old
1983
1951
  );
1984
- chunkODGIOGH5_cjs.forgetDocuments(qc, docIds);
1985
- const { clearTask } = chunkODGIOGH5_cjs.useArbiWsStore.getState();
1952
+ chunkUKEUDTOE_cjs.forgetDocuments(qc, docIds);
1953
+ const { clearTask } = chunkUKEUDTOE_cjs.useArbiWsStore.getState();
1986
1954
  for (const id of docIds) clearTask(id);
1987
1955
  return qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
1988
1956
  }
1989
1957
  });
1990
1958
  }
1991
1959
  async function settleUpload(qc, arbi, docIds) {
1992
- if (docIds?.length) await chunkODGIOGH5_cjs.refreshDocuments(qc, arbi, docIds);
1960
+ if (docIds?.length) await chunkUKEUDTOE_cjs.refreshDocuments(qc, arbi, docIds);
1993
1961
  await qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
1994
1962
  }
1995
1963
  function useUploadDocuments() {
1996
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1964
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
1997
1965
  const qc = reactQuery.useQueryClient();
1998
1966
  return reactQuery.useMutation({
1999
1967
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.uploadDocuments(),
@@ -2002,7 +1970,7 @@ function useUploadDocuments() {
2002
1970
  });
2003
1971
  }
2004
1972
  function useUploadUrls() {
2005
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1973
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2006
1974
  const qc = reactQuery.useQueryClient();
2007
1975
  return reactQuery.useMutation({
2008
1976
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.uploadUrls(),
@@ -2011,7 +1979,7 @@ function useUploadUrls() {
2011
1979
  });
2012
1980
  }
2013
1981
  function useAssignDocTags() {
2014
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1982
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2015
1983
  const qc = reactQuery.useQueryClient();
2016
1984
  return resolvingOffline(
2017
1985
  reactQuery.useMutation({
@@ -2022,7 +1990,7 @@ function useAssignDocTags() {
2022
1990
  );
2023
1991
  }
2024
1992
  function useRemoveDocTags() {
2025
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
1993
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2026
1994
  const qc = reactQuery.useQueryClient();
2027
1995
  return resolvingOffline(
2028
1996
  reactQuery.useMutation({
@@ -2033,7 +2001,7 @@ function useRemoveDocTags() {
2033
2001
  );
2034
2002
  }
2035
2003
  function useUpdateDocTag() {
2036
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
2004
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2037
2005
  const qc = reactQuery.useQueryClient();
2038
2006
  return resolvingOffline(
2039
2007
  reactQuery.useMutation({
@@ -2044,7 +2012,7 @@ function useUpdateDocTag() {
2044
2012
  );
2045
2013
  }
2046
2014
  function queueProcessing(documents2) {
2047
- const store = chunkODGIOGH5_cjs.useArbiWsStore.getState();
2015
+ const store = chunkUKEUDTOE_cjs.useArbiWsStore.getState();
2048
2016
  const previous = documents2.map(({ docId }) => [docId, store.tasks[docId]]);
2049
2017
  const now = Date.now();
2050
2018
  for (const doc of documents2)
@@ -2057,7 +2025,7 @@ function queueProcessing(documents2) {
2057
2025
  progress: 0,
2058
2026
  startTime: now
2059
2027
  });
2060
- return () => chunkODGIOGH5_cjs.useArbiWsStore.setState((state) => {
2028
+ return () => chunkUKEUDTOE_cjs.useArbiWsStore.setState((state) => {
2061
2029
  const tasks = { ...state.tasks };
2062
2030
  for (const [docId, task] of previous) {
2063
2031
  if (task) tasks[docId] = task;
@@ -2067,7 +2035,7 @@ function queueProcessing(documents2) {
2067
2035
  });
2068
2036
  }
2069
2037
  function useGenerateDocTags() {
2070
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
2038
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2071
2039
  const qc = reactQuery.useQueryClient();
2072
2040
  return reactQuery.useMutation({
2073
2041
  mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.generateDocTags(),
@@ -2076,7 +2044,7 @@ function useGenerateDocTags() {
2076
2044
  if (!docIds.length) return void 0;
2077
2045
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
2078
2046
  const listed = new Map(
2079
- (chunkODGIOGH5_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
2047
+ (chunkUKEUDTOE_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
2080
2048
  );
2081
2049
  return {
2082
2050
  undo: queueProcessing(
@@ -2093,24 +2061,24 @@ function useGenerateDocTags() {
2093
2061
  });
2094
2062
  }
2095
2063
  function useFinaliseTranslation() {
2096
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
2064
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2097
2065
  const qc = reactQuery.useQueryClient();
2098
2066
  return reactQuery.useMutation({
2099
2067
  mutationFn: (docId) => arbi.documents.finaliseTranslation(docId),
2100
- onSuccess: (result) => void chunkODGIOGH5_cjs.refreshDocuments(qc, arbi, [result.document_ext_id])
2068
+ onSuccess: (result) => void chunkUKEUDTOE_cjs.refreshDocuments(qc, arbi, [result.document_ext_id])
2101
2069
  });
2102
2070
  }
2103
2071
 
2104
2072
  // src/documents/support.tsx
2105
2073
  var NO_SUPPORT = {};
2106
2074
  function useDocumentsSupport() {
2107
- return chunkYIUUTRMQ_cjs.useArbiHost().documents ?? NO_SUPPORT;
2075
+ return chunkYRY6DGRU_cjs.useArbiHost().documents ?? NO_SUPPORT;
2108
2076
  }
2109
2077
  function useProcessingTasks() {
2110
- return chunkODGIOGH5_cjs.useArbiWsStore((state) => state.tasks);
2078
+ return chunkUKEUDTOE_cjs.useArbiWsStore((state) => state.tasks);
2111
2079
  }
2112
2080
  function useProcessingTask(docId) {
2113
- return chunkODGIOGH5_cjs.useArbiWsStore((state) => state.tasks[docId]);
2081
+ return chunkUKEUDTOE_cjs.useArbiWsStore((state) => state.tasks[docId]);
2114
2082
  }
2115
2083
  var NO_ACTIONS = {};
2116
2084
  function useDocumentHostActions() {
@@ -2169,11 +2137,11 @@ function archiveName(workspaceName, suffix) {
2169
2137
  return `${date}_${sanitizedName}_${suffix}.zip`;
2170
2138
  }
2171
2139
  function useDownloadDocuments({ workspaceName } = {}) {
2172
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
2140
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2173
2141
  const [isDownloading, setIsDownloading] = React.useState(false);
2174
2142
  const fetchNamedFile = React.useCallback(
2175
2143
  async (doc) => {
2176
- const blob = await chunkONGNP4JM_cjs.fetchDocumentFile(arbi.getClient().fetch, doc.external_id);
2144
+ const blob = await chunkV64EETLS_cjs.fetchDocumentFile(arbi.getClient().fetch, doc.external_id);
2177
2145
  return { blob, name: blob instanceof File && blob.name ? blob.name : fallbackFileName(doc) };
2178
2146
  },
2179
2147
  [arbi]
@@ -2215,7 +2183,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2215
2183
  );
2216
2184
  }
2217
2185
  const zipFileName = archiveName(workspaceName, `${successCount}_documents`);
2218
- chunkONGNP4JM_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
2186
+ chunkV64EETLS_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
2219
2187
  const documentsLabel = `${successCount} document${successCount !== 1 ? "s" : ""}`;
2220
2188
  const contents = includeMetadataCsv ? `${documentsLabel} and index.csv in ${zipFileName}` : `${documentsLabel} in ${zipFileName}`;
2221
2189
  if (failedDocs.length === 0) chunkVAMPYLQ4_cjs.notify.success(`Successfully downloaded ${contents}`);
@@ -2234,7 +2202,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2234
2202
  setIsDownloading(true);
2235
2203
  try {
2236
2204
  const file = await fetchNamedFile(doc);
2237
- chunkONGNP4JM_cjs.downloadBlob(file.blob, file.name);
2205
+ chunkV64EETLS_cjs.downloadBlob(file.blob, file.name);
2238
2206
  chunkVAMPYLQ4_cjs.notify.success(`Successfully downloaded ${file.name}`);
2239
2207
  } catch (error) {
2240
2208
  console.error("Failed to download document", error);
@@ -2250,7 +2218,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2250
2218
  var BATCH_SIZE = 200;
2251
2219
  var IN_PROGRESS = /* @__PURE__ */ new Set(["queued", "parsing", "encrypting", "indexing", "analysing"]);
2252
2220
  function useDocumentThumbnails(visibleIds) {
2253
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
2221
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2254
2222
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
2255
2223
  const tasks = useProcessingTasks();
2256
2224
  const tasksRef = React.useRef(tasks);
@@ -2304,7 +2272,7 @@ function useDocumentThumbnails(visibleIds) {
2304
2272
  for (const id of visibleIds)
2305
2273
  if (IN_PROGRESS.has(tasks[id]?.status ?? "")) resolvedRef.current.delete(id);
2306
2274
  const ready = visibleIds.filter(
2307
- (id) => !resolvedRef.current.has(id) && chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
2275
+ (id) => !resolvedRef.current.has(id) && chunkUKEUDTOE_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
2308
2276
  );
2309
2277
  if (ready.length > 0) void fetchMissing(ready);
2310
2278
  }, [tasks, idsKey, fetchMissing]);
@@ -2318,7 +2286,7 @@ function DocumentCardMenu({
2318
2286
  canDelete = true,
2319
2287
  testId = "document-card-menu"
2320
2288
  }) {
2321
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
2289
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
2322
2290
  const download = reactQuery.useMutation({
2323
2291
  mutationFn: async () => {
2324
2292
  const response = await arbi.documents.download(docId);
@@ -2396,8 +2364,8 @@ function DocumentReview({
2396
2364
  onClose,
2397
2365
  className
2398
2366
  }) {
2399
- const parsedQuery = chunkME4TS33T_cjs.useParsedDocument(docId, stage);
2400
- const tagsQuery = chunkME4TS33T_cjs.useTags(workspaceId);
2367
+ const parsedQuery = chunk2JQ7QNOO_cjs.useParsedDocument(docId, stage);
2368
+ const tagsQuery = chunk2JQ7QNOO_cjs.useTags(workspaceId);
2401
2369
  const tagNameById = React__default.default.useMemo(() => {
2402
2370
  const map = /* @__PURE__ */ new Map();
2403
2371
  for (const t of tagsQuery.data ?? []) {
@@ -3292,10 +3260,10 @@ async function runLimited(tasks, limit) {
3292
3260
  return results;
3293
3261
  }
3294
3262
  function useUploadFiles() {
3295
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
3263
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
3296
3264
  const qc = reactQuery.useQueryClient();
3297
3265
  const { resolveWorkspaceKey } = useDocumentsSupport();
3298
- const { data: settings } = useUserSettings();
3266
+ const { data: settings } = chunk3CVY5SGY_cjs.useUserSettings();
3299
3267
  const { mutateAsync: generateDocTags } = useGenerateDocTags();
3300
3268
  const direct = settings?.use_s3_direct_upload === true;
3301
3269
  return React.useCallback(
@@ -3369,7 +3337,7 @@ function useUploadFiles() {
3369
3337
  if (docIds2.length > 0) {
3370
3338
  for (const docId of docIds2) uploadedFolders.set(docId, { workspaceId, folder });
3371
3339
  const made = new Set(docIds2);
3372
- chunkODGIOGH5_cjs.patchDocuments(
3340
+ chunkUKEUDTOE_cjs.patchDocuments(
3373
3341
  qc,
3374
3342
  (rows) => rows.map((doc) => made.has(doc.external_id) ? { ...doc, folder } : doc),
3375
3343
  workspaceId
@@ -3385,7 +3353,7 @@ function useUploadFiles() {
3385
3353
  const docIds = results.flatMap((result) => result.doc_ext_ids ?? []);
3386
3354
  const skipped = results.flatMap((result) => result.skipped ?? []);
3387
3355
  if (docIds.length > 0) {
3388
- const read = await chunkODGIOGH5_cjs.refreshDocuments(qc, arbi, docIds);
3356
+ const read = await chunkUKEUDTOE_cjs.refreshDocuments(qc, arbi, docIds);
3389
3357
  for (const doc of read) forgetUploadedDocumentFolder(doc.external_id);
3390
3358
  }
3391
3359
  await qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
@@ -3472,7 +3440,7 @@ function getRelatedLabels(related) {
3472
3440
  return parts;
3473
3441
  }
3474
3442
  function useRelatedDocuments(documents2) {
3475
- const { data: similarData } = chunkODGIOGH5_cjs.useSimilarDocuments();
3443
+ const { data: similarData } = chunkUKEUDTOE_cjs.useSimilarDocuments();
3476
3444
  const structuralKey = React.useMemo(() => {
3477
3445
  const parts = [];
3478
3446
  for (const doc of documents2) {
@@ -3552,7 +3520,7 @@ function useRelatedDocuments(documents2) {
3552
3520
  }
3553
3521
  if (similarData?.pairs) {
3554
3522
  for (const pair of similarData.pairs) {
3555
- if (pair.similarity < chunkODGIOGH5_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
3523
+ if (pair.similarity < chunkUKEUDTOE_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
3556
3524
  const docA = docById.get(pair.doc_a.external_id);
3557
3525
  const docB = docById.get(pair.doc_b.external_id);
3558
3526
  if (docA && docB) {
@@ -3572,7 +3540,7 @@ function useRelatedDocuments(documents2) {
3572
3540
  }, [documents2, similarData, structuralKey]);
3573
3541
  }
3574
3542
  var REPLAYABLE = [
3575
- ...chunkODGIOGH5_cjs.replayableTagMutations,
3543
+ ...chunkUKEUDTOE_cjs.replayableTagMutations,
3576
3544
  ...replayableDocumentMutations
3577
3545
  ];
3578
3546
  function isReplayableArbiMutation(mutationKey) {
@@ -3604,7 +3572,7 @@ function isRestorableArbiQueryOnline(queryKey, data) {
3604
3572
  const docs = Array.isArray(data) ? data : [data];
3605
3573
  return !docs.some((doc) => {
3606
3574
  const status = doc?.status;
3607
- return !!status && !chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
3575
+ return !!status && !chunkUKEUDTOE_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
3608
3576
  });
3609
3577
  }
3610
3578
 
@@ -3719,8 +3687,8 @@ var PENDING_SYNC_PREDICATE = (m) => (
3719
3687
  isReplayableArbiMutation(m.options.mutationKey) && (m.state.isPaused || m.state.status === "error")
3720
3688
  );
3721
3689
  function usePendingSyncItems() {
3722
- const { data: documents2 } = chunkODGIOGH5_cjs.useDocuments();
3723
- const { data: tags } = chunkME4TS33T_cjs.useTags();
3690
+ const { data: documents2 } = chunkUKEUDTOE_cjs.useDocuments();
3691
+ const { data: tags } = chunk2JQ7QNOO_cjs.useTags();
3724
3692
  const raw = reactQuery.useMutationState({
3725
3693
  filters: { predicate: PENDING_SYNC_PREDICATE },
3726
3694
  select: (m) => ({
@@ -3873,7 +3841,7 @@ async function keepDocumentsOffline(client$1, docs) {
3873
3841
  if (!keypair) throw new Error("Could not derive an encryption key for the offline copy.");
3874
3842
  for (const doc of docs) {
3875
3843
  const original = chunkFSPLYO52_cjs.usesOriginalBytesForViewer(doc.file_name);
3876
- const blob = original ? await chunkONGNP4JM_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunkONGNP4JM_cjs.fetchDocumentPdf(client$1, doc.external_id);
3844
+ const blob = original ? await chunkV64EETLS_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunkV64EETLS_cjs.fetchDocumentPdf(client$1, doc.external_id);
3877
3845
  const plain = new Uint8Array(await blob.arrayBuffer());
3878
3846
  await putOfflineDocument({
3879
3847
  docExtId: doc.external_id,
@@ -3899,12 +3867,12 @@ function useOfflineDocumentIds() {
3899
3867
  var EMPTY = /* @__PURE__ */ new Set();
3900
3868
  function useKeepDocumentsOffline() {
3901
3869
  const queryClient = reactQuery.useQueryClient();
3902
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
3870
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
3903
3871
  const { onKeptOffline } = useDocumentsSupport();
3904
3872
  return reactQuery.useMutation({
3905
3873
  mutationFn: async (docs) => {
3906
3874
  await keepDocumentsOffline(arbi.getClient().fetch, docs);
3907
- for (const doc of docs) chunkODGIOGH5_cjs.setCachedDocument(queryClient, doc);
3875
+ for (const doc of docs) chunkUKEUDTOE_cjs.setCachedDocument(queryClient, doc);
3908
3876
  await onKeptOffline?.();
3909
3877
  return docs.length;
3910
3878
  },
@@ -3939,11 +3907,11 @@ function createStreamHandlers(ctx, params) {
3939
3907
  const clientId = streamState.queuedClientId;
3940
3908
  if (!clientId || queuedEntryRetired) return;
3941
3909
  queuedEntryRetired = true;
3942
- const entry = chunkME4TS33T_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
3910
+ const entry = chunk2JQ7QNOO_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
3943
3911
  if (!entry) return;
3944
3912
  const remainingVisibility = Math.max(
3945
3913
  0,
3946
- chunkME4TS33T_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
3914
+ chunk2JQ7QNOO_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
3947
3915
  );
3948
3916
  if (remainingVisibility === 0) {
3949
3917
  session.removeQueuedMessage(clientId);
@@ -3959,7 +3927,7 @@ function createStreamHandlers(ctx, params) {
3959
3927
  session.moveConversation("new", serverConversationId);
3960
3928
  const userExtId = ctx.userId();
3961
3929
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
3962
- chunkW7DQJT4T_cjs.patchConversationList(
3930
+ chunk3CVY5SGY_cjs.patchConversationList(
3963
3931
  queryClient,
3964
3932
  session.getState().workspaceId,
3965
3933
  (old) => old.some((c) => c.external_id === serverConversationId) ? old : [
@@ -4081,7 +4049,7 @@ function createStreamHandlers(ctx, params) {
4081
4049
  ensureAssistantMessageLoading(queryClient, conversationId, answerId);
4082
4050
  });
4083
4051
  }
4084
- void chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
4052
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
4085
4053
  session.setCursor(streamState.assistantId);
4086
4054
  };
4087
4055
  let firstTokenSeen = false;
@@ -4280,9 +4248,9 @@ function createStreamHandlers(ctx, params) {
4280
4248
  }
4281
4249
  function useStreamHandlers() {
4282
4250
  const queryClient = reactQuery.useQueryClient();
4283
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
4284
- const config = chunkYIUUTRMQ_cjs.useArbiHost();
4285
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
4251
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
4252
+ const config = chunkYRY6DGRU_cjs.useArbiHost();
4253
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
4286
4254
  return React.useCallback(
4287
4255
  (params) => createStreamHandlers(
4288
4256
  {
@@ -4296,7 +4264,7 @@ function useStreamHandlers() {
4296
4264
  return "";
4297
4265
  }
4298
4266
  },
4299
- refreshDocuments: (ids) => chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, ids)
4267
+ refreshDocuments: (ids) => chunkUKEUDTOE_cjs.refreshDocuments(queryClient, arbi, ids)
4300
4268
  },
4301
4269
  params
4302
4270
  ),
@@ -4373,7 +4341,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
4373
4341
  // src/chat/useConversationActions.ts
4374
4342
  var RECONCILE_TIMEOUT_MS = 5e3;
4375
4343
  function draftAfterSend(queryClient, session, wasComment) {
4376
- const shared = chunkW7DQJT4T_cjs.isConversationShared(queryClient, session.getState().conversationId);
4344
+ const shared = chunk3CVY5SGY_cjs.isConversationShared(queryClient, session.getState().conversationId);
4377
4345
  return shared && !wasComment ? `@${ASSISTANT_MENTION_LABEL} ` : "";
4378
4346
  }
4379
4347
  function failQueuedContinuation(queryClient, session, streamState) {
@@ -4406,15 +4374,15 @@ function useConversationActions({
4406
4374
  lastFailedMessage
4407
4375
  }) {
4408
4376
  const queryClient = reactQuery.useQueryClient();
4409
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
4377
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
4410
4378
  const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
4411
4379
  const invalidateUserWorkspaces = React.useCallback(
4412
4380
  () => void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() }),
4413
4381
  [queryClient]
4414
4382
  );
4415
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
4383
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
4416
4384
  const createHandlers = useStreamHandlers();
4417
- const chatHost = chunkYIUUTRMQ_cjs.useArbiHost().chat;
4385
+ const chatHost = chunkYRY6DGRU_cjs.useArbiHost().chat;
4418
4386
  const mentionCandidates = React.useCallback(
4419
4387
  () => cachedMentionCandidates(queryClient, session.getState().workspaceId, signedInUserId(arbi)),
4420
4388
  [queryClient, session, arbi]
@@ -4462,7 +4430,7 @@ function useConversationActions({
4462
4430
  const bindTo = session.getState().newChatDocumentId;
4463
4431
  session.moveConversation("new", conversationId);
4464
4432
  if (bindTo) session.setNewChatDocumentId(null);
4465
- chunkW7DQJT4T_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4433
+ chunk3CVY5SGY_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4466
4434
  {
4467
4435
  external_id: conversationId,
4468
4436
  title: content.slice(0, 40),
@@ -4484,14 +4452,14 @@ function useConversationActions({
4484
4452
  );
4485
4453
  invalidateUserWorkspaces();
4486
4454
  } else {
4487
- chunkW7DQJT4T_cjs.patchConversation(queryClient, conversationId, (c) => ({
4455
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, conversationId, (c) => ({
4488
4456
  ...c,
4489
4457
  message_count: c.message_count + 1,
4490
4458
  updated_at: nowIso
4491
4459
  }));
4492
4460
  }
4493
4461
  if (mentions.some((m) => m.type === "user")) {
4494
- await chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
4462
+ await chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
4495
4463
  }
4496
4464
  await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
4497
4465
  session.setCursor(saved.external_id);
@@ -4499,7 +4467,7 @@ function useConversationActions({
4499
4467
  chunkVAMPYLQ4_cjs.notify.error(
4500
4468
  error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
4501
4469
  );
4502
- if (!chunkME4TS33T_cjs.selectDraft(session.getState())) session.setDraft(content);
4470
+ if (!chunk2JQ7QNOO_cjs.selectDraft(session.getState())) session.setDraft(content);
4503
4471
  }
4504
4472
  },
4505
4473
  [arbi, session, queryClient, invalidateUserWorkspaces]
@@ -4564,7 +4532,7 @@ function useConversationActions({
4564
4532
  session.setConversationGenerating(convKey, true, abortController);
4565
4533
  }
4566
4534
  if (!queuedContinuation) {
4567
- chunkW7DQJT4T_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4535
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4568
4536
  }
4569
4537
  const streamState = {
4570
4538
  conversationId: convKey,
@@ -4653,7 +4621,7 @@ function useConversationActions({
4653
4621
  void queryClient.invalidateQueries({
4654
4622
  queryKey: getThreadsQueryKey(streamState.conversationId)
4655
4623
  });
4656
- void chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
4624
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
4657
4625
  }
4658
4626
  return;
4659
4627
  }
@@ -4672,7 +4640,7 @@ function useConversationActions({
4672
4640
  }
4673
4641
  if (ownsGeneration) {
4674
4642
  const lastStatus = streamState.serverError ? "failed" : "completed";
4675
- chunkW7DQJT4T_cjs.patchConversation(queryClient, streamState.conversationId, {
4643
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, streamState.conversationId, {
4676
4644
  last_message_status: lastStatus
4677
4645
  });
4678
4646
  }
@@ -4705,7 +4673,7 @@ function useConversationActions({
4705
4673
  });
4706
4674
  if (ownsActiveGeneration()) {
4707
4675
  session.setConversationGenerating(streamState.conversationId, false, null);
4708
- chunkW7DQJT4T_cjs.patchConversation(queryClient, streamState.conversationId, {
4676
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, streamState.conversationId, {
4709
4677
  last_message_status: "completed"
4710
4678
  });
4711
4679
  }
@@ -4728,10 +4696,10 @@ function useConversationActions({
4728
4696
  if (ownsActiveGeneration()) {
4729
4697
  session.setConversationGenerating(streamState.conversationId, false, null);
4730
4698
  }
4731
- void chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
4699
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
4732
4700
  return;
4733
4701
  }
4734
- chunkW7DQJT4T_cjs.patchConversation(queryClient, streamState.conversationId, {
4702
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, streamState.conversationId, {
4735
4703
  last_message_status: "failed"
4736
4704
  });
4737
4705
  const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
@@ -4766,7 +4734,7 @@ function useConversationActions({
4766
4734
  );
4767
4735
  const handleSendMessage = React.useCallback(
4768
4736
  async (options) => {
4769
- const currentMessage = chunkME4TS33T_cjs.selectDraft(session.getState()).trim();
4737
+ const currentMessage = chunk2JQ7QNOO_cjs.selectDraft(session.getState()).trim();
4770
4738
  if (!selectedWorkspaceId || !chunkTUPSNW3B_cjs.hasMessageBody(currentMessage)) return;
4771
4739
  session.setSuggestedQuery(null);
4772
4740
  if (refuseChatWhenOffline()) return;
@@ -4877,7 +4845,7 @@ function useConversationActions({
4877
4845
  if (!replyTo && currentConversationId) {
4878
4846
  try {
4879
4847
  await arbi.conversations.delete(currentConversationId);
4880
- chunkW7DQJT4T_cjs.removeConversationFromLists(queryClient, currentConversationId);
4848
+ chunk3CVY5SGY_cjs.removeConversationFromLists(queryClient, currentConversationId);
4881
4849
  session.startNewConversation();
4882
4850
  } catch (error) {
4883
4851
  console.error("Failed to delete conversation with orphaned first message:", error);
@@ -4945,16 +4913,16 @@ function selectThread(session, leafId) {
4945
4913
  if (session.getState().cursor !== leafId) session.setCursor(leafId);
4946
4914
  }
4947
4915
  function useConversationData() {
4948
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
4949
- const selectedWorkspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
4950
- const currentConversationId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.conversationId);
4951
- const parentMessageId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.cursor);
4952
- const deepLinkMessageId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
4916
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
4917
+ const selectedWorkspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
4918
+ const currentConversationId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.conversationId);
4919
+ const parentMessageId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.cursor);
4920
+ const deepLinkMessageId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
4953
4921
  const {
4954
4922
  data: threadsData,
4955
4923
  isLoading: threadsLoading,
4956
4924
  error: threadsError
4957
- } = chunkME4TS33T_cjs.useConversationThreads(currentConversationId || void 0);
4925
+ } = chunk2JQ7QNOO_cjs.useConversationThreads(currentConversationId || void 0);
4958
4926
  const processedDeepLinkRef = React.useRef(null);
4959
4927
  const prevConversationIdRef = React.useRef(null);
4960
4928
  React.useEffect(() => {
@@ -5147,7 +5115,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
5147
5115
  var RECONNECT_DELAY_MS = 2e3;
5148
5116
  var MAX_RECONNECTS = 5;
5149
5117
  function useConnectRunStream(conversationId, messages) {
5150
- const generation = chunkME4TS33T_cjs.useArbiSessionState(
5118
+ const generation = chunk2JQ7QNOO_cjs.useArbiSessionState(
5151
5119
  (s) => conversationId ? s.generating[conversationId] : void 0
5152
5120
  );
5153
5121
  const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
@@ -5155,8 +5123,8 @@ function useConnectRunStream(conversationId, messages) {
5155
5123
  }
5156
5124
  function useAttachRun(conversationId, responseId) {
5157
5125
  const queryClient = reactQuery.useQueryClient();
5158
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
5159
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
5126
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
5127
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
5160
5128
  const arbiRef = React.useRef(arbi);
5161
5129
  arbiRef.current = arbi;
5162
5130
  React.useEffect(() => {
@@ -5352,16 +5320,16 @@ function toChatMessage(m, branch) {
5352
5320
  }
5353
5321
  function useConversation(options = {}) {
5354
5322
  const { agentId, model, titleLength = 48 } = options;
5355
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
5323
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
5356
5324
  const queryClient = reactQuery.useQueryClient();
5357
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
5358
- const sessionWorkspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
5325
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
5326
+ const sessionWorkspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
5359
5327
  const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
5360
- const conversationId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.conversationId);
5328
+ const conversationId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.conversationId);
5361
5329
  const conversationKey2 = conversationId ?? NEW;
5362
- const generation = chunkME4TS33T_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
5363
- const newConversationMode = chunkME4TS33T_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
5364
- const queuedMessages2 = chunkME4TS33T_cjs.useArbiSessionState((s) => s.queuedMessages);
5330
+ const generation = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
5331
+ const newConversationMode = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
5332
+ const queuedMessages2 = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.queuedMessages);
5365
5333
  const isRunning = !!generation?.isGenerating;
5366
5334
  React.useEffect(() => {
5367
5335
  if (workspaceId && session.getState().workspaceId !== workspaceId)
@@ -5373,8 +5341,8 @@ function useConversation(options = {}) {
5373
5341
  React.useEffect(() => {
5374
5342
  if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
5375
5343
  }, [session, agentId, workspaceId, conversationId]);
5376
- const { data: docs = [], isLoading: isLoadingDocuments } = chunkODGIOGH5_cjs.useDocuments(workspaceId);
5377
- const ordinaryHistory = chunkME4TS33T_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
5344
+ const { data: docs = [], isLoading: isLoadingDocuments } = chunkUKEUDTOE_cjs.useDocuments(workspaceId);
5345
+ const ordinaryHistory = chunk2JQ7QNOO_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
5378
5346
  const agentHistory = useAgentChats(agentId);
5379
5347
  const stored = React.useMemo(
5380
5348
  () => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
@@ -5600,7 +5568,7 @@ function useConversation(options = {}) {
5600
5568
  void (async () => {
5601
5569
  try {
5602
5570
  await arbi.conversations.delete(id);
5603
- chunkW7DQJT4T_cjs.removeConversationFromLists(queryClient, id);
5571
+ chunk3CVY5SGY_cjs.removeConversationFromLists(queryClient, id);
5604
5572
  if (session.getState().conversationId === id) session.startNewConversation();
5605
5573
  } catch (e) {
5606
5574
  setHistoryError(messageOf(e, "The conversation could not be deleted."));
@@ -5635,7 +5603,7 @@ function useConversation(options = {}) {
5635
5603
  } else
5636
5604
  uploaded.push(...(await arbi.documents.uploadFile(file, file.name)).doc_ext_ids ?? []);
5637
5605
  }
5638
- if (uploaded.length) await chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbi, uploaded);
5606
+ if (uploaded.length) await chunkUKEUDTOE_cjs.refreshDocuments(queryClient, arbi, uploaded);
5639
5607
  } catch (e) {
5640
5608
  setUploadError(messageOf(e, "The upload failed."));
5641
5609
  } finally {
@@ -5684,10 +5652,10 @@ function ConversationScope({
5684
5652
  conversationId,
5685
5653
  children
5686
5654
  }) {
5687
- const outerWorkspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
5655
+ const outerWorkspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
5688
5656
  const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
5689
5657
  const [session] = React.useState(
5690
- () => chunkME4TS33T_cjs.createArbiSessionStore({
5658
+ () => chunk2JQ7QNOO_cjs.createArbiSessionStore({
5691
5659
  workspaceId: scopeWorkspaceId,
5692
5660
  conversationId: conversationId ?? null
5693
5661
  })
@@ -5708,11 +5676,11 @@ async function applyConversationEvent(queryClient, event) {
5708
5676
  if (e.type === "response_complete") return applyRunEnded(queryClient, e);
5709
5677
  if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
5710
5678
  if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
5711
- chunkW7DQJT4T_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5679
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5712
5680
  }
5713
5681
  if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
5714
5682
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
5715
- void chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
5683
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
5716
5684
  }
5717
5685
  }
5718
5686
  function applyRunEnded(queryClient, e) {
@@ -5729,10 +5697,10 @@ function applyRunEnded(queryClient, e) {
5729
5697
  );
5730
5698
  }
5731
5699
  if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
5732
- chunkW7DQJT4T_cjs.patchConversation(queryClient, conversationId, {
5700
+ chunk3CVY5SGY_cjs.patchConversation(queryClient, conversationId, {
5733
5701
  last_message_status: failed ? "failed" : "completed"
5734
5702
  });
5735
- void chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
5703
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
5736
5704
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
5737
5705
  if (!failed) void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userUsageToday() });
5738
5706
  }
@@ -5740,7 +5708,7 @@ async function applyMessagePosted(queryClient, e) {
5740
5708
  if (!e.conversation_ext_id) return;
5741
5709
  const queryKey = getThreadsQueryKey(e.conversation_ext_id);
5742
5710
  const refreshed = queryClient.invalidateQueries({ queryKey });
5743
- void chunkW7DQJT4T_cjs.invalidateConversationLists(queryClient);
5711
+ void chunk3CVY5SGY_cjs.invalidateConversationLists(queryClient);
5744
5712
  await refreshed;
5745
5713
  const cached = queryClient.getQueryData(
5746
5714
  queryKey
@@ -5751,12 +5719,12 @@ async function applyMessagePosted(queryClient, e) {
5751
5719
  }
5752
5720
  var migratedWorkspaces = /* @__PURE__ */ new Set();
5753
5721
  function useThreadDocument() {
5754
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
5722
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
5755
5723
  const queryClient = reactQuery.useQueryClient();
5756
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
5757
- const conversationId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.conversationId);
5758
- const workspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
5759
- const newChatDocumentId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.newChatDocumentId);
5724
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
5725
+ const conversationId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.conversationId);
5726
+ const workspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
5727
+ const newChatDocumentId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.newChatDocumentId);
5760
5728
  const subscribe = React.useCallback(
5761
5729
  (onChange) => queryClient.getQueryCache().subscribe(onChange),
5762
5730
  [queryClient]
@@ -5771,7 +5739,7 @@ function useThreadDocument() {
5771
5739
  () => threadBinding(queryClient, conversationId).unavailable,
5772
5740
  () => false
5773
5741
  );
5774
- const { data: conversations, isPlaceholderData } = chunkME4TS33T_cjs.useConversations(workspaceId ?? void 0);
5742
+ const { data: conversations, isPlaceholderData } = chunk2JQ7QNOO_cjs.useConversations(workspaceId ?? void 0);
5775
5743
  React.useEffect(() => {
5776
5744
  if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
5777
5745
  return;
@@ -5808,7 +5776,7 @@ function resolveConfigModel(config) {
5808
5776
  return config.QueryLLM?.MODEL_NAME;
5809
5777
  }
5810
5778
  function useDeleteMessage() {
5811
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
5779
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
5812
5780
  const queryClient = reactQuery.useQueryClient();
5813
5781
  return reactQuery.useMutation({
5814
5782
  mutationFn: (messageId) => arbi.conversations.deleteMessage(messageId),
@@ -5821,9 +5789,9 @@ function useConversationTurn({
5821
5789
  selectedWorkspaceId,
5822
5790
  parentMessageId
5823
5791
  }) {
5824
- const currentConversationId = chunkME4TS33T_cjs.useArbiSessionState((state) => state.conversationId);
5792
+ const currentConversationId = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.conversationId);
5825
5793
  const conversationKey2 = currentConversationId || "new";
5826
- const generationState = chunkME4TS33T_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
5794
+ const generationState = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
5827
5795
  const isGenerating = generationState?.isGenerating ?? false;
5828
5796
  const generationError = generationState?.error ?? null;
5829
5797
  const lastFailedMessage = generationState?.lastFailedMessage ?? null;
@@ -5844,12 +5812,12 @@ function useConversationTurn({
5844
5812
  }
5845
5813
  var EMPTY_DOCS = [];
5846
5814
  function useConversationDocuments() {
5847
- const currentConversationId = chunkME4TS33T_cjs.useArbiSessionState((state) => state.conversationId);
5815
+ const currentConversationId = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.conversationId);
5848
5816
  const convKey = currentConversationId || "new";
5849
- const inConversationDocuments = chunkME4TS33T_cjs.useArbiSessionState(
5817
+ const inConversationDocuments = chunk2JQ7QNOO_cjs.useArbiSessionState(
5850
5818
  (state) => state.conversationDocuments[convKey] || EMPTY_DOCS
5851
5819
  );
5852
- const { data: documents2 = [], isLoading: isLoadingDocs } = chunkODGIOGH5_cjs.useDocuments();
5820
+ const { data: documents2 = [], isLoading: isLoadingDocs } = chunkUKEUDTOE_cjs.useDocuments();
5853
5821
  const conversationDocuments = React__default.default.useMemo(() => {
5854
5822
  if (inConversationDocuments.length === 0) {
5855
5823
  return [];
@@ -5881,8 +5849,8 @@ function useDocumentAutoAdd({
5881
5849
  allWorkspaceDocuments,
5882
5850
  hasContent = false
5883
5851
  }) {
5884
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
5885
- const currentConversationId = chunkME4TS33T_cjs.useArbiSessionState((state) => state.conversationId);
5852
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
5853
+ const currentConversationId = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.conversationId);
5886
5854
  const convKey = currentConversationId || "new";
5887
5855
  const observedRef = React.useRef(null);
5888
5856
  const offeredRef = React.useRef(/* @__PURE__ */ new Set());
@@ -5943,12 +5911,12 @@ function useDocumentAutoAdd({
5943
5911
  }, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
5944
5912
  }
5945
5913
  function useAutoSendDraft(sendDraft, ready = true) {
5946
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
5947
- const autoSendDraft = chunkME4TS33T_cjs.useArbiSessionState((state) => state.autoSendDraft);
5914
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
5915
+ const autoSendDraft = chunk2JQ7QNOO_cjs.useArbiSessionState((state) => state.autoSendDraft);
5948
5916
  React.useEffect(() => {
5949
5917
  if (!autoSendDraft || !ready) return;
5950
5918
  session.setAutoSendDraft(false);
5951
- if (chunkME4TS33T_cjs.selectDraft(session.getState()).trim()) {
5919
+ if (chunk2JQ7QNOO_cjs.selectDraft(session.getState()).trim()) {
5952
5920
  sendDraft();
5953
5921
  }
5954
5922
  }, [autoSendDraft, ready, sendDraft, session]);
@@ -6023,7 +5991,7 @@ function buildPendingFirstTurn(prompt, userExtId) {
6023
5991
  return [question, answer];
6024
5992
  }
6025
5993
  function useAnswerAgentQuestion() {
6026
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
5994
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
6027
5995
  const queryClient = reactQuery.useQueryClient();
6028
5996
  return React.useCallback(
6029
5997
  async (question, answer) => {
@@ -6034,7 +6002,7 @@ function useAnswerAgentQuestion() {
6034
6002
  );
6035
6003
  }
6036
6004
  function useAskAgain(options) {
6037
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
6005
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
6038
6006
  const optionsRef = React.useRef(options);
6039
6007
  React.useEffect(() => {
6040
6008
  optionsRef.current = options;
@@ -6126,11 +6094,11 @@ function useMessageTimer({
6126
6094
  isUser,
6127
6095
  isGenerating
6128
6096
  }) {
6129
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
6097
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
6130
6098
  const convId = conversationId || "new";
6131
6099
  const timerKey = `${convId}:${messageId}`;
6132
- const generationStartTime = chunkME4TS33T_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
6133
- const storedElapsed = chunkME4TS33T_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
6100
+ const generationStartTime = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
6101
+ const storedElapsed = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
6134
6102
  const [elapsedTime, setElapsedTime] = React.useState(0);
6135
6103
  const lastElapsedRef = React.useRef(0);
6136
6104
  React.useEffect(() => {
@@ -6154,8 +6122,8 @@ function useMessageTimer({
6154
6122
  return { elapsedTime };
6155
6123
  }
6156
6124
  function useAgentRunControl(assistantMessageExtId) {
6157
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
6158
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
6125
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
6126
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
6159
6127
  const send = React.useCallback(
6160
6128
  (command) => {
6161
6129
  if (!assistantMessageExtId) return;
@@ -6323,7 +6291,7 @@ var ChatBubble = React.memo(function ChatBubble2({
6323
6291
  });
6324
6292
  var installs = /* @__PURE__ */ new WeakMap();
6325
6293
  function useInstallSkillPack(pack) {
6326
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
6294
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
6327
6295
  const upload = useUploadSkillFiles();
6328
6296
  return reactQuery.useMutation({
6329
6297
  mutationFn: ({ workspaceId }) => {
@@ -6476,7 +6444,7 @@ var NO_MAIL = {
6476
6444
  };
6477
6445
  var ALWAYS = () => ({ enabled: true, sessionKey: "session" });
6478
6446
  function useMailClient() {
6479
- const { mail, arbi } = chunkYIUUTRMQ_cjs.useArbiHost();
6447
+ const { mail, arbi } = chunkYRY6DGRU_cjs.useArbiHost();
6480
6448
  const fallback = React.useMemo(() => arbi ? arbiMailClient(arbi) : null, [arbi]);
6481
6449
  const useStatus = mail ? mail.useStatus ?? ALWAYS : ALWAYS;
6482
6450
  const { enabled, sessionKey } = useStatus();
@@ -6860,19 +6828,19 @@ function ArbiWebSocketProvider({
6860
6828
  onAuthenticated,
6861
6829
  children
6862
6830
  }) {
6863
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
6831
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
6864
6832
  const arbiRef = React.useRef(arbi);
6865
6833
  arbiRef.current = arbi;
6866
6834
  const queryClient = reactQuery.useQueryClient();
6867
6835
  const subscribersRef = React.useRef(/* @__PURE__ */ new Set());
6868
- const setStatus = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.setStatus);
6869
- const applyTaskUpdate = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.applyTaskUpdate);
6870
- const applyPresence = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.applyPresence);
6871
- const reset = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.reset);
6872
- const setEvicted = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.setEvicted);
6836
+ const setStatus = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.setStatus);
6837
+ const applyTaskUpdate = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.applyTaskUpdate);
6838
+ const applyPresence = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.applyPresence);
6839
+ const reset = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.reset);
6840
+ const setEvicted = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.setEvicted);
6873
6841
  const onAuthenticatedRef = React.useRef(onAuthenticated);
6874
6842
  onAuthenticatedRef.current = onAuthenticated;
6875
- const acceptRings = chunkYIUUTRMQ_cjs.useArbiHost().calls?.useEnabled?.() ?? true;
6843
+ const acceptRings = chunk3CVY5SGY_cjs.useFeature("calls");
6876
6844
  const acceptRingsRef = React.useRef(acceptRings);
6877
6845
  acceptRingsRef.current = acceptRings;
6878
6846
  const context = React.useMemo(
@@ -6905,18 +6873,18 @@ function ArbiWebSocketProvider({
6905
6873
  } else if (client.isMessageType(msg, "presence_update")) applyPresence(msg);
6906
6874
  else if (client.isMessageType(msg, "batch_complete")) {
6907
6875
  if (msg.batch_type === "entity_extract") {
6908
- chunkODGIOGH5_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
6876
+ chunkUKEUDTOE_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
6909
6877
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allFacts() });
6910
6878
  }
6911
6879
  if (msg.batch_type === "upload" || msg.batch_type === "entity_extract") {
6912
6880
  if (msg.doc_ext_ids?.length)
6913
- void chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
6881
+ void chunkUKEUDTOE_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
6914
6882
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allTags() });
6915
6883
  }
6916
6884
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
6917
- void chunkW7DQJT4T_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
6885
+ void chunk3CVY5SGY_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
6918
6886
  else if (type.startsWith("call."))
6919
- chunkW7DQJT4T_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
6887
+ chunk3CVY5SGY_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
6920
6888
  else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
6921
6889
  else void applyLiveUpdate(queryClient, msg);
6922
6890
  for (const fn of subscribersRef.current) {
@@ -7022,10 +6990,10 @@ function useArbiWsMessage(type, handler) {
7022
6990
  );
7023
6991
  }
7024
6992
  function useArbiWsStatus() {
7025
- return chunkODGIOGH5_cjs.useArbiWsStore((s) => s.status);
6993
+ return chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.status);
7026
6994
  }
7027
6995
  function useArbiConnected() {
7028
- return chunkODGIOGH5_cjs.useArbiWsStore((s) => s.status === "connected");
6996
+ return chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.status === "connected");
7029
6997
  }
7030
6998
  var WORKSPACE_SCOPED_PACKAGE_KEYS = [
7031
6999
  chunkRRWAX52L_cjs.arbiQueryKeys.allDocuments(),
@@ -7165,10 +7133,10 @@ function createWorkspaceSwitch({
7165
7133
  return { switchWorkspace, clearWorkspace, openSelectedWorkspace, settled: switchesSettled };
7166
7134
  }
7167
7135
  function useSwitchWorkspace() {
7168
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7136
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7169
7137
  const arbiRef = React.useRef(arbi);
7170
7138
  arbiRef.current = arbi;
7171
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
7139
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
7172
7140
  const queryClient = reactQuery.useQueryClient();
7173
7141
  React.useEffect(
7174
7142
  () => arbi.onSigningOut?.(() => {
@@ -7183,11 +7151,11 @@ function useSwitchWorkspace() {
7183
7151
  );
7184
7152
  }
7185
7153
  function useOpenSelectedWorkspace() {
7186
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7154
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7187
7155
  const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
7188
- const workspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
7189
- const status = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceStatus);
7190
- const { data: workspaces, isLoading: listing } = chunkME4TS33T_cjs.useWorkspaces();
7156
+ const workspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
7157
+ const status = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceStatus);
7158
+ const { data: workspaces, isLoading: listing } = chunk2JQ7QNOO_cjs.useWorkspaces();
7191
7159
  const archived = workspaces?.find(
7192
7160
  (w) => w.external_id === workspaceId && w.archive
7193
7161
  );
@@ -7330,8 +7298,8 @@ function useShellWorkspaces(options) {
7330
7298
  };
7331
7299
  }
7332
7300
  function useArbiShellWorkspaces(options = {}) {
7333
- const sessionWorkspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
7334
- const query = chunkME4TS33T_cjs.useWorkspaces();
7301
+ const sessionWorkspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
7302
+ const query = chunk2JQ7QNOO_cjs.useWorkspaces();
7335
7303
  const { switchWorkspace } = useSwitchWorkspace();
7336
7304
  const { select, ...rest } = options;
7337
7305
  const defaultSelect = React.useCallback(
@@ -7351,7 +7319,7 @@ function useArbiShellWorkspaces(options = {}) {
7351
7319
  });
7352
7320
  }
7353
7321
  function useCreateWorkspace() {
7354
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7322
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7355
7323
  const qc = reactQuery.useQueryClient();
7356
7324
  return reactQuery.useMutation({
7357
7325
  mutationFn: ({ name, projectId, description, isPublic }) => arbi.workspaces.create(name, projectId, description, isPublic),
@@ -7368,7 +7336,7 @@ function useCreateWorkspace() {
7368
7336
  });
7369
7337
  }
7370
7338
  function useMoveWorkspaceToProject() {
7371
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7339
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7372
7340
  const qc = reactQuery.useQueryClient();
7373
7341
  return reactQuery.useMutation({
7374
7342
  mutationFn: ({ workspaceId, projectId }) => arbi.workspaces.moveToProject(workspaceId, projectId),
@@ -7379,7 +7347,7 @@ function useMoveWorkspaceToProject() {
7379
7347
  });
7380
7348
  }
7381
7349
  function useUpdateWorkspace() {
7382
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7350
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7383
7351
  const qc = reactQuery.useQueryClient();
7384
7352
  return reactQuery.useMutation({
7385
7353
  mutationFn: (body) => arbi.workspaces.update(body),
@@ -7387,7 +7355,7 @@ function useUpdateWorkspace() {
7387
7355
  });
7388
7356
  }
7389
7357
  function useDeleteWorkspaces() {
7390
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7358
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7391
7359
  const qc = reactQuery.useQueryClient();
7392
7360
  return reactQuery.useMutation({
7393
7361
  mutationFn: (workspaceIds) => arbi.workspaces.delete(workspaceIds),
@@ -7447,7 +7415,7 @@ function openWorkspaceId(arbi) {
7447
7415
  return arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
7448
7416
  }
7449
7417
  function usePlanWorkspaceTransfer(scope, mode, options = {}) {
7450
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7418
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7451
7419
  const workspaceId = openWorkspaceId(arbi);
7452
7420
  return reactQuery.useQuery({
7453
7421
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTransferPlan(workspaceId, JSON.stringify(scope), mode),
@@ -7458,13 +7426,13 @@ function usePlanWorkspaceTransfer(scope, mode, options = {}) {
7458
7426
  });
7459
7427
  }
7460
7428
  function useStartWorkspaceTransfer() {
7461
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7429
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7462
7430
  return reactQuery.useMutation({
7463
7431
  mutationFn: (params) => arbi.workspaces.transfer.start(params)
7464
7432
  });
7465
7433
  }
7466
7434
  function useResumeWorkspaceTransfer() {
7467
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7435
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7468
7436
  return reactQuery.useMutation({
7469
7437
  mutationFn: ({
7470
7438
  transferId,
@@ -7473,13 +7441,13 @@ function useResumeWorkspaceTransfer() {
7473
7441
  });
7474
7442
  }
7475
7443
  function useCancelWorkspaceTransfer() {
7476
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7444
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7477
7445
  return reactQuery.useMutation({
7478
7446
  mutationFn: (transferId) => arbi.workspaces.transfer.cancel(transferId)
7479
7447
  });
7480
7448
  }
7481
7449
  function useWorkspaceTransfer(transferId) {
7482
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7450
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7483
7451
  return reactQuery.useQuery({
7484
7452
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTransfer(transferId ?? ""),
7485
7453
  queryFn: () => arbi.workspaces.transfer.get(transferId ?? ""),
@@ -7489,7 +7457,7 @@ function useWorkspaceTransfer(transferId) {
7489
7457
  });
7490
7458
  }
7491
7459
  function useWorkspaceTransfers(options = {}) {
7492
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7460
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7493
7461
  const workspaceId = openWorkspaceId(arbi);
7494
7462
  return reactQuery.useQuery({
7495
7463
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTransfers(workspaceId),
@@ -7517,7 +7485,7 @@ function useInvalidateAfterTransfer() {
7517
7485
  );
7518
7486
  }
7519
7487
  function useWorkspaceExportDownload({ workspaceName } = {}) {
7520
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7488
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7521
7489
  const [progress, setProgress] = React.useState(null);
7522
7490
  const download = React.useCallback(
7523
7491
  async ({ scope, documents: documents2 = [], csvColumns }) => {
@@ -7538,12 +7506,12 @@ function useWorkspaceExportDownload({ workspaceName } = {}) {
7538
7506
  const client = arbi.getClient().fetch;
7539
7507
  const archive = await buildWorkspaceArchive({
7540
7508
  exportData: data,
7541
- fetchFile: async (docExtId, version, kind) => kind === "markup" ? (await chunkONGNP4JM_cjs.fetchMarkupPdf(client, docExtId, version)).blob : chunkONGNP4JM_cjs.fetchDocumentFile(client, docExtId, { version }),
7509
+ fetchFile: async (docExtId, version, kind) => kind === "markup" ? (await chunkV64EETLS_cjs.fetchMarkupPdf(client, docExtId, version)).blob : chunkV64EETLS_cjs.fetchDocumentFile(client, docExtId, { version }),
7542
7510
  metadataCsv,
7543
7511
  onProgress: (done, total) => setProgress({ done, total })
7544
7512
  });
7545
7513
  const fileName = archiveName(workspaceName, "export");
7546
- chunkONGNP4JM_cjs.downloadBlob(archive.blob, fileName);
7514
+ chunkV64EETLS_cjs.downloadBlob(archive.blob, fileName);
7547
7515
  const files = `${archive.fileCount} file${archive.fileCount !== 1 ? "s" : ""}`;
7548
7516
  if (archive.failed.length === 0) {
7549
7517
  chunkVAMPYLQ4_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
@@ -7576,7 +7544,7 @@ async function openAccessRequest(content, requesterPublicKey) {
7576
7544
  }
7577
7545
  }
7578
7546
  function useRequestWorkspaceAccess() {
7579
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7547
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7580
7548
  const qc = reactQuery.useQueryClient();
7581
7549
  return reactQuery.useMutation({
7582
7550
  mutationFn: ({
@@ -7594,7 +7562,7 @@ function useRequestWorkspaceAccess() {
7594
7562
  var ARCHIVE_POLL_MS = 5e3;
7595
7563
  var isArchiveMoving = (status) => status === "archiving" || status === "restoring";
7596
7564
  function useWorkspaceArchive(workspaceId, enabled = true) {
7597
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7565
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7598
7566
  return reactQuery.useQuery({
7599
7567
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceArchive(workspaceId ?? ""),
7600
7568
  queryFn: () => arbi.workspaces.archiveState(workspaceId),
@@ -7611,7 +7579,7 @@ function invalidateArchive(queryClient) {
7611
7579
  ]);
7612
7580
  }
7613
7581
  function useArchiveWorkspace() {
7614
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7582
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7615
7583
  const queryClient = reactQuery.useQueryClient();
7616
7584
  return reactQuery.useMutation({
7617
7585
  mutationFn: (workspaceId) => arbi.workspaces.archive(workspaceId),
@@ -7619,7 +7587,7 @@ function useArchiveWorkspace() {
7619
7587
  });
7620
7588
  }
7621
7589
  function useUnarchiveWorkspace() {
7622
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7590
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7623
7591
  const queryClient = reactQuery.useQueryClient();
7624
7592
  return reactQuery.useMutation({
7625
7593
  mutationFn: (workspaceId) => arbi.workspaces.unarchive(workspaceId),
@@ -7638,7 +7606,7 @@ function useArchiveProgressPolling(workspaces) {
7638
7606
  }, [moving, queryClient]);
7639
7607
  }
7640
7608
  function useFacts(workspaceId, options) {
7641
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7609
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7642
7610
  const { enabled = true, ...filter } = options ?? {};
7643
7611
  const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
7644
7612
  return reactQuery.useQuery({
@@ -7653,7 +7621,7 @@ function useRefreshFacts() {
7653
7621
  return () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allFacts() });
7654
7622
  }
7655
7623
  function useCreateFact() {
7656
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7624
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7657
7625
  const refresh = useRefreshFacts();
7658
7626
  return reactQuery.useMutation({
7659
7627
  mutationFn: (body) => arbi.facts.create(body),
@@ -7661,7 +7629,7 @@ function useCreateFact() {
7661
7629
  });
7662
7630
  }
7663
7631
  function useCreateFacts() {
7664
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7632
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7665
7633
  const refresh = useRefreshFacts();
7666
7634
  return reactQuery.useMutation({
7667
7635
  mutationFn: (body) => arbi.facts.createBatch(body),
@@ -7669,7 +7637,7 @@ function useCreateFacts() {
7669
7637
  });
7670
7638
  }
7671
7639
  function useUpdateFact() {
7672
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7640
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7673
7641
  const refresh = useRefreshFacts();
7674
7642
  return reactQuery.useMutation({
7675
7643
  mutationFn: ({ factId, patch }) => arbi.facts.update(factId, patch),
@@ -7677,7 +7645,7 @@ function useUpdateFact() {
7677
7645
  });
7678
7646
  }
7679
7647
  function useDeleteFact() {
7680
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7648
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7681
7649
  const refresh = useRefreshFacts();
7682
7650
  return reactQuery.useMutation({
7683
7651
  mutationFn: (factId) => arbi.facts.delete(factId),
@@ -7685,7 +7653,7 @@ function useDeleteFact() {
7685
7653
  });
7686
7654
  }
7687
7655
  function useSearchFacts() {
7688
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7656
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7689
7657
  return reactQuery.useMutation({
7690
7658
  mutationFn: (body) => arbi.facts.search(body)
7691
7659
  });
@@ -7708,7 +7676,7 @@ function useInvalidate() {
7708
7676
  };
7709
7677
  }
7710
7678
  function useDatabases() {
7711
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7679
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7712
7680
  return reactQuery.useQuery({
7713
7681
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.databaseList(),
7714
7682
  queryFn: () => arbi.databases.list(),
@@ -7717,7 +7685,7 @@ function useDatabases() {
7717
7685
  });
7718
7686
  }
7719
7687
  function useDatabase(databaseId) {
7720
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7688
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7721
7689
  return reactQuery.useQuery({
7722
7690
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.database(databaseId ?? ""),
7723
7691
  queryFn: () => arbi.databases.get(databaseId),
@@ -7726,7 +7694,7 @@ function useDatabase(databaseId) {
7726
7694
  });
7727
7695
  }
7728
7696
  function useDatabaseRows(databaseId, q) {
7729
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7697
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7730
7698
  const query = { q: q.trim() || void 0, limit: DATABASE_ROWS_PAGE };
7731
7699
  return reactQuery.useQuery({
7732
7700
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.databaseRows(databaseId ?? "", query),
@@ -7737,14 +7705,14 @@ function useDatabaseRows(databaseId, q) {
7737
7705
  });
7738
7706
  }
7739
7707
  function useSearchDatabaseRows() {
7740
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7708
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7741
7709
  return React.useCallback(
7742
7710
  (databaseId, q) => arbi.databases.rows(databaseId, { q: q.trim() || void 0, limit: DATABASE_RELATION_PICK_LIMIT }).then((page) => page.rows),
7743
7711
  [arbi]
7744
7712
  );
7745
7713
  }
7746
7714
  function useCreateDatabase() {
7747
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7715
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7748
7716
  const invalidate = useInvalidate();
7749
7717
  return reactQuery.useMutation({
7750
7718
  mutationFn: (body) => arbi.databases.create(body),
@@ -7752,7 +7720,7 @@ function useCreateDatabase() {
7752
7720
  });
7753
7721
  }
7754
7722
  function useUpdateDatabase() {
7755
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7723
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7756
7724
  const invalidate = useInvalidate();
7757
7725
  return reactQuery.useMutation({
7758
7726
  mutationFn: ({ databaseId, patch }) => arbi.databases.update(databaseId, patch),
@@ -7760,7 +7728,7 @@ function useUpdateDatabase() {
7760
7728
  });
7761
7729
  }
7762
7730
  function useDeleteDatabase() {
7763
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7731
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7764
7732
  const invalidate = useInvalidate();
7765
7733
  return reactQuery.useMutation({
7766
7734
  mutationFn: (databaseId) => arbi.databases.delete(databaseId),
@@ -7768,7 +7736,7 @@ function useDeleteDatabase() {
7768
7736
  });
7769
7737
  }
7770
7738
  function useAddDatabaseRows() {
7771
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7739
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7772
7740
  const invalidate = useInvalidate();
7773
7741
  return reactQuery.useMutation({
7774
7742
  mutationFn: ({
@@ -7779,7 +7747,7 @@ function useAddDatabaseRows() {
7779
7747
  });
7780
7748
  }
7781
7749
  function useUpdateDatabaseRow() {
7782
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7750
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7783
7751
  const queryClient = reactQuery.useQueryClient();
7784
7752
  return reactQuery.useMutation({
7785
7753
  mutationFn: ({
@@ -7804,7 +7772,7 @@ function useUpdateDatabaseRow() {
7804
7772
  });
7805
7773
  }
7806
7774
  function useDeleteDatabaseRows() {
7807
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7775
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7808
7776
  const invalidate = useInvalidate();
7809
7777
  return reactQuery.useMutation({
7810
7778
  mutationFn: ({ databaseId, ids }) => arbi.databases.deleteRows(databaseId, ids),
@@ -7812,7 +7780,7 @@ function useDeleteDatabaseRows() {
7812
7780
  });
7813
7781
  }
7814
7782
  function useImportDatabase() {
7815
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7783
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7816
7784
  const invalidate = useInvalidate();
7817
7785
  return reactQuery.useMutation({
7818
7786
  mutationFn: ({ file, name }) => arbi.databases.import(file, name),
@@ -7820,7 +7788,7 @@ function useImportDatabase() {
7820
7788
  });
7821
7789
  }
7822
7790
  function useImportDatabaseRows() {
7823
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7791
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7824
7792
  const invalidate = useInvalidate();
7825
7793
  return reactQuery.useMutation({
7826
7794
  mutationFn: ({ databaseId, file }) => arbi.databases.importRows(databaseId, file),
@@ -7828,7 +7796,7 @@ function useImportDatabaseRows() {
7828
7796
  });
7829
7797
  }
7830
7798
  function useExportDatabase() {
7831
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7799
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7832
7800
  return React.useCallback(
7833
7801
  (databaseId, format) => arbi.databases.export(databaseId, format),
7834
7802
  [arbi]
@@ -7845,7 +7813,7 @@ function indexPassages(results) {
7845
7813
  return index;
7846
7814
  }
7847
7815
  function usePassageQuotes(docIds) {
7848
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7816
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7849
7817
  const passages = reactQuery.useQueries({
7850
7818
  queries: [...new Set(docIds ?? [])].map((docId) => ({
7851
7819
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.parsedDoc(docId, "final"),
@@ -7864,7 +7832,7 @@ function usePassageQuotes(docIds) {
7864
7832
  );
7865
7833
  }
7866
7834
  function useFilteredProjects(filters, options) {
7867
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7835
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7868
7836
  return reactQuery.useQuery({
7869
7837
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
7870
7838
  queryFn: () => arbi.projects.list(filters),
@@ -7872,7 +7840,7 @@ function useFilteredProjects(filters, options) {
7872
7840
  });
7873
7841
  }
7874
7842
  function useUpdateProjectFields() {
7875
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7843
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7876
7844
  const qc = reactQuery.useQueryClient();
7877
7845
  return reactQuery.useMutation({
7878
7846
  mutationFn: ({
@@ -7886,7 +7854,7 @@ function useUpdateProjectFields() {
7886
7854
  });
7887
7855
  }
7888
7856
  function useProjectEvents(projectExtId, options) {
7889
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7857
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7890
7858
  return reactQuery.useQuery({
7891
7859
  queryKey: [
7892
7860
  ...chunkRRWAX52L_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
@@ -7898,7 +7866,7 @@ function useProjectEvents(projectExtId, options) {
7898
7866
  });
7899
7867
  }
7900
7868
  function useConversationUsage(conversationId, options) {
7901
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7869
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7902
7870
  return reactQuery.useQuery({
7903
7871
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
7904
7872
  queryFn: () => arbi.conversations.usage(conversationId),
@@ -7907,7 +7875,7 @@ function useConversationUsage(conversationId, options) {
7907
7875
  });
7908
7876
  }
7909
7877
  function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
7910
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7878
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7911
7879
  return reactQuery.useQuery({
7912
7880
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
7913
7881
  queryFn: () => arbi.projects.usageByConversation(projectExtId, monthsBack),
@@ -7989,7 +7957,7 @@ function useInvalidateProjects() {
7989
7957
  return () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.projects() });
7990
7958
  }
7991
7959
  function useProducts(options) {
7992
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7960
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7993
7961
  return reactQuery.useQuery({
7994
7962
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.products(),
7995
7963
  queryFn: () => arbi.projects.products(),
@@ -7998,7 +7966,7 @@ function useProducts(options) {
7998
7966
  });
7999
7967
  }
8000
7968
  function useCreateProject() {
8001
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7969
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8002
7970
  const qc = reactQuery.useQueryClient();
8003
7971
  return reactQuery.useMutation({
8004
7972
  mutationFn: async ({ name, plan, workspace, ...details }) => {
@@ -8034,7 +8002,7 @@ function useCreateProject() {
8034
8002
  });
8035
8003
  }
8036
8004
  function useDeleteProject() {
8037
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8005
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8038
8006
  const qc = reactQuery.useQueryClient();
8039
8007
  return reactQuery.useMutation({
8040
8008
  mutationFn: (projectExtId) => arbi.projects.delete(projectExtId),
@@ -8042,7 +8010,7 @@ function useDeleteProject() {
8042
8010
  });
8043
8011
  }
8044
8012
  function useRefreshProject() {
8045
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8013
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8046
8014
  const qc = reactQuery.useQueryClient();
8047
8015
  return reactQuery.useMutation({
8048
8016
  mutationFn: (projectExtId) => arbi.projects.refresh(projectExtId),
@@ -8050,13 +8018,13 @@ function useRefreshProject() {
8050
8018
  });
8051
8019
  }
8052
8020
  function useCreateProjectCheckout() {
8053
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8021
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8054
8022
  return reactQuery.useMutation({
8055
8023
  mutationFn: ({ projectExtId, body }) => arbi.projects.checkout(projectExtId, body)
8056
8024
  });
8057
8025
  }
8058
8026
  function useChangeProjectPlan() {
8059
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8027
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8060
8028
  const qc = reactQuery.useQueryClient();
8061
8029
  return reactQuery.useMutation({
8062
8030
  mutationFn: ({
@@ -8067,7 +8035,7 @@ function useChangeProjectPlan() {
8067
8035
  });
8068
8036
  }
8069
8037
  function useCancelProjectSubscription() {
8070
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8038
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8071
8039
  const qc = reactQuery.useQueryClient();
8072
8040
  return reactQuery.useMutation({
8073
8041
  mutationFn: (projectExtId) => arbi.projects.cancelSubscription(projectExtId),
@@ -8078,7 +8046,7 @@ function useCancelProjectSubscription() {
8078
8046
  });
8079
8047
  }
8080
8048
  function usePreviewProjectPlanChange(projectExtId, change) {
8081
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8049
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8082
8050
  return reactQuery.useQuery({
8083
8051
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.billingQuotes(), "preview", projectExtId, change],
8084
8052
  queryFn: () => arbi.projects.previewPlanChange(projectExtId, change),
@@ -8088,7 +8056,7 @@ function usePreviewProjectPlanChange(projectExtId, change) {
8088
8056
  });
8089
8057
  }
8090
8058
  function usePlanQuote(projectExtId, body) {
8091
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8059
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8092
8060
  return reactQuery.useQuery({
8093
8061
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.billingQuotes(), "plan", projectExtId ?? null, body],
8094
8062
  queryFn: () => arbi.projects.quotePlan(projectExtId ?? null, body),
@@ -8098,7 +8066,7 @@ function usePlanQuote(projectExtId, body) {
8098
8066
  });
8099
8067
  }
8100
8068
  function useAddonQuote(projectExtId, kind, enabled = true) {
8101
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8069
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8102
8070
  return reactQuery.useQuery({
8103
8071
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.billingQuotes(), "addon", projectExtId, kind],
8104
8072
  queryFn: () => arbi.projects.quoteAddon(projectExtId, kind),
@@ -8108,13 +8076,13 @@ function useAddonQuote(projectExtId, kind, enabled = true) {
8108
8076
  });
8109
8077
  }
8110
8078
  function useProjectBillingPortal() {
8111
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8079
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8112
8080
  return reactQuery.useMutation({
8113
8081
  mutationFn: (projectExtId) => arbi.projects.billingPortal(projectExtId)
8114
8082
  });
8115
8083
  }
8116
8084
  function useAddProjectAddonBlock() {
8117
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8085
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8118
8086
  const qc = reactQuery.useQueryClient();
8119
8087
  return reactQuery.useMutation({
8120
8088
  mutationFn: ({ projectExtId, kind }) => arbi.projects.addAddonBlock(projectExtId, kind),
@@ -8122,7 +8090,7 @@ function useAddProjectAddonBlock() {
8122
8090
  });
8123
8091
  }
8124
8092
  function useUpdateProjectNextPeriodAddons() {
8125
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8093
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8126
8094
  const qc = reactQuery.useQueryClient();
8127
8095
  return reactQuery.useMutation({
8128
8096
  mutationFn: ({
@@ -8133,7 +8101,7 @@ function useUpdateProjectNextPeriodAddons() {
8133
8101
  });
8134
8102
  }
8135
8103
  function useUpdateProjectAddonSettings() {
8136
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8104
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8137
8105
  const qc = reactQuery.useQueryClient();
8138
8106
  return reactQuery.useMutation({
8139
8107
  mutationFn: ({
@@ -8148,7 +8116,7 @@ function dataOrThrow({ data, error }) {
8148
8116
  return data;
8149
8117
  }
8150
8118
  function useStorageProjects(scope = "mine", project) {
8151
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8119
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8152
8120
  const query = { scope, include: ["workspaces"], ...project ? { project } : {} };
8153
8121
  return reactQuery.useQuery({
8154
8122
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.storageProjects(query),
@@ -8159,7 +8127,7 @@ function useStorageProjects(scope = "mine", project) {
8159
8127
  });
8160
8128
  }
8161
8129
  function useStorageItems(query, enabled = true) {
8162
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8130
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8163
8131
  const params = { limit: 50, ...query };
8164
8132
  return reactQuery.useQuery({
8165
8133
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.storageItems(params),
@@ -8172,7 +8140,7 @@ function useStorageItems(query, enabled = true) {
8172
8140
  });
8173
8141
  }
8174
8142
  function useStorageItemNames(items, query) {
8175
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8143
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8176
8144
  const workspaces = [
8177
8145
  ...new Set(
8178
8146
  (items ?? []).filter((i) => i.kind === "document" && i.workspace_ext_id).map((i) => i.workspace_ext_id)
@@ -8206,7 +8174,7 @@ function useStorageItemNames(items, query) {
8206
8174
  });
8207
8175
  }
8208
8176
  function useStorageSnapshots(enabled) {
8209
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8177
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8210
8178
  const query = { limit: 90 };
8211
8179
  return reactQuery.useQuery({
8212
8180
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.storageSnapshots(query),
@@ -8232,7 +8200,7 @@ function fail(fallback, error) {
8232
8200
  throw new StorageActionError(message);
8233
8201
  }
8234
8202
  function useWorkspaceTrash(workspace, enabled = true) {
8235
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8203
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8236
8204
  return reactQuery.useQuery({
8237
8205
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTrash(workspace ?? ""),
8238
8206
  enabled: arbi.isLoggedIn && Boolean(workspace) && enabled,
@@ -8252,7 +8220,7 @@ function useWorkspaceTrash(workspace, enabled = true) {
8252
8220
  });
8253
8221
  }
8254
8222
  function useStorageActions() {
8255
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8223
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8256
8224
  return React.useMemo(() => {
8257
8225
  const client = () => arbi.getClient().fetch;
8258
8226
  return {
@@ -8315,7 +8283,7 @@ function useStorageActions() {
8315
8283
  }, [arbi]);
8316
8284
  }
8317
8285
  function useContacts(options) {
8318
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8286
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8319
8287
  return reactQuery.useQuery({
8320
8288
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.contacts(),
8321
8289
  queryFn: () => arbi.contacts.list(),
@@ -8336,7 +8304,7 @@ function useInvalidateContacts() {
8336
8304
  return () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.contacts() });
8337
8305
  }
8338
8306
  function useInviteContacts() {
8339
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8307
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8340
8308
  const invalidate = useInvalidateContacts();
8341
8309
  return reactQuery.useMutation({
8342
8310
  mutationFn: (emails) => arbi.contacts.invite(emails),
@@ -8344,7 +8312,7 @@ function useInviteContacts() {
8344
8312
  });
8345
8313
  }
8346
8314
  function useCreateContact() {
8347
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8315
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8348
8316
  const invalidate = useInvalidateContacts();
8349
8317
  return reactQuery.useMutation({
8350
8318
  mutationFn: (body) => arbi.contacts.create(body),
@@ -8352,7 +8320,7 @@ function useCreateContact() {
8352
8320
  });
8353
8321
  }
8354
8322
  function useUpdateContact() {
8355
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8323
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8356
8324
  const invalidate = useInvalidateContacts();
8357
8325
  return reactQuery.useMutation({
8358
8326
  mutationFn: ({ id, card }) => arbi.contacts.update(id, card),
@@ -8360,7 +8328,7 @@ function useUpdateContact() {
8360
8328
  });
8361
8329
  }
8362
8330
  function useLinkContact() {
8363
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8331
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8364
8332
  const invalidate = useInvalidateContacts();
8365
8333
  return reactQuery.useMutation({
8366
8334
  mutationFn: ({
@@ -8372,7 +8340,7 @@ function useLinkContact() {
8372
8340
  });
8373
8341
  }
8374
8342
  function useImportContacts() {
8375
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8343
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8376
8344
  const invalidate = useInvalidateContacts();
8377
8345
  return reactQuery.useMutation({
8378
8346
  mutationFn: (file) => arbi.contacts.import(file),
@@ -8380,7 +8348,7 @@ function useImportContacts() {
8380
8348
  });
8381
8349
  }
8382
8350
  function useDeleteContact() {
8383
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8351
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8384
8352
  const invalidate = useInvalidateContacts();
8385
8353
  return reactQuery.useMutation({
8386
8354
  mutationFn: (contactId) => arbi.contacts.delete(contactId),
@@ -8388,7 +8356,7 @@ function useDeleteContact() {
8388
8356
  });
8389
8357
  }
8390
8358
  function useSearchContacts(q, { debounceMs = 200 } = {}) {
8391
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8359
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8392
8360
  const term = useDebounced(q.trim(), debounceMs);
8393
8361
  return reactQuery.useQuery({
8394
8362
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.contacts(), "search", term],
@@ -8442,11 +8410,11 @@ function userFromName(externalId, email, name) {
8442
8410
  return { external_id: externalId, email, given_name: given, family_name: rest.join(" ") };
8443
8411
  }
8444
8412
  function usePeople() {
8445
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8413
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8446
8414
  const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
8447
8415
  const { data: contacts = [] } = useContacts();
8448
- const { data: workspaces = [] } = chunkME4TS33T_cjs.useWorkspaces();
8449
- const { data: agents = [] } = chunkME4TS33T_cjs.useAgents();
8416
+ const { data: workspaces = [] } = chunk2JQ7QNOO_cjs.useWorkspaces();
8417
+ const { data: agents = [] } = chunk2JQ7QNOO_cjs.useAgents();
8450
8418
  return React.useMemo(() => {
8451
8419
  const people = [];
8452
8420
  const contactOf = /* @__PURE__ */ new Map();
@@ -8483,7 +8451,7 @@ function usePeople() {
8483
8451
  }, [contacts, workspaces, agents, meId]);
8484
8452
  }
8485
8453
  function usePeopleSearch(query, { agents = false } = {}) {
8486
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8454
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8487
8455
  const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
8488
8456
  const directory = usePeople();
8489
8457
  const search = useSearchContacts(query);
@@ -8518,7 +8486,7 @@ function usePeopleSearch(query, { agents = false } = {}) {
8518
8486
  return { people, isFetching: search.isFetching };
8519
8487
  }
8520
8488
  function useHouseTemplateCandidates(workspaceId, enabled, staleTime = 6e4) {
8521
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8489
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8522
8490
  return reactQuery.useQuery({
8523
8491
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.houseTemplateCandidates(workspaceId ?? ""),
8524
8492
  enabled: enabled && !!workspaceId && arbi.hasWorkspace,
@@ -8528,7 +8496,7 @@ function useHouseTemplateCandidates(workspaceId, enabled, staleTime = 6e4) {
8528
8496
  });
8529
8497
  }
8530
8498
  function useSetWorkspaceHouseTemplate() {
8531
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8499
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8532
8500
  const queryClient = reactQuery.useQueryClient();
8533
8501
  return reactQuery.useMutation({
8534
8502
  mutationFn: (documentId) => arbi.houseTemplates.setWorkspace(documentId),
@@ -8536,7 +8504,7 @@ function useSetWorkspaceHouseTemplate() {
8536
8504
  });
8537
8505
  }
8538
8506
  function useSetDeploymentHouseTemplate() {
8539
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8507
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8540
8508
  return reactQuery.useMutation({
8541
8509
  mutationFn: (file) => arbi.houseTemplates.setDeployment(file)
8542
8510
  });
@@ -8545,13 +8513,13 @@ var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
8545
8513
  var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
8546
8514
  var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
8547
8515
  function useRequestEmailChange() {
8548
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8516
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8549
8517
  return reactQuery.useMutation({
8550
8518
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
8551
8519
  });
8552
8520
  }
8553
8521
  function useConfirmEmailChange() {
8554
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8522
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8555
8523
  const qc = reactQuery.useQueryClient();
8556
8524
  return reactQuery.useMutation({
8557
8525
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -8619,7 +8587,7 @@ function useEmailChange({
8619
8587
  };
8620
8588
  }
8621
8589
  function usePasswordChange() {
8622
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8590
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8623
8591
  return reactQuery.useMutation({
8624
8592
  mutationFn: (vars) => client.changePassword(vars)
8625
8593
  });
@@ -8713,8 +8681,8 @@ function usePasswordChangeForm({
8713
8681
  }
8714
8682
  function useDismissedTips() {
8715
8683
  const queryClient = reactQuery.useQueryClient();
8716
- const { data: userSettings } = useUserSettings();
8717
- const { mutate: updateUserSettings } = useUpdateUserSettings();
8684
+ const { data: userSettings } = chunk3CVY5SGY_cjs.useUserSettings();
8685
+ const { mutate: updateUserSettings } = chunk3CVY5SGY_cjs.useUpdateUserSettings();
8718
8686
  const loaded = userSettings !== void 0;
8719
8687
  const dismissed = userSettings?.dismissed_tips ?? [];
8720
8688
  const dismissTip = React.useCallback(
@@ -8746,9 +8714,9 @@ function toNotificationPreferences(stored, keys) {
8746
8714
  };
8747
8715
  }
8748
8716
  function useNotificationPreferences(keys, options) {
8749
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8717
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8750
8718
  const qc = reactQuery.useQueryClient();
8751
- const settings = useUserSettings(options);
8719
+ const settings = chunk3CVY5SGY_cjs.useUserSettings(options);
8752
8720
  const stored = settings.data?.email_notifications;
8753
8721
  const save = reactQuery.useMutation({
8754
8722
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
@@ -8786,7 +8754,7 @@ function useNotificationPreferences(keys, options) {
8786
8754
  };
8787
8755
  }
8788
8756
  function useRelevanceSave() {
8789
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8757
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8790
8758
  const qc = reactQuery.useQueryClient();
8791
8759
  return reactQuery.useMutation({
8792
8760
  mutationFn: (patch) => arbi.settings.update(patch),
@@ -8807,7 +8775,7 @@ function useRelevanceSave() {
8807
8775
  }
8808
8776
  function useWorkspaceNotificationLevel(workspaceId, options) {
8809
8777
  const qc = reactQuery.useQueryClient();
8810
- const settings = useUserSettings(options);
8778
+ const settings = chunk3CVY5SGY_cjs.useUserSettings(options);
8811
8779
  const save = useRelevanceSave();
8812
8780
  const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
8813
8781
  const setLevel = React.useCallback(
@@ -8828,7 +8796,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
8828
8796
  }
8829
8797
  function useFollowThread(conversationId, options) {
8830
8798
  const qc = reactQuery.useQueryClient();
8831
- const settings = useUserSettings(options);
8799
+ const settings = chunk3CVY5SGY_cjs.useUserSettings(options);
8832
8800
  const save = useRelevanceSave();
8833
8801
  const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
8834
8802
  const setFollowing = React.useCallback(
@@ -8857,7 +8825,7 @@ function useFollowThread(conversationId, options) {
8857
8825
  };
8858
8826
  }
8859
8827
  function useSessions(options) {
8860
- const { client, enabled } = chunkW7DQJT4T_cjs.useAccountClient();
8828
+ const { client, enabled } = chunk3CVY5SGY_cjs.useAccountClient();
8861
8829
  return reactQuery.useQuery({
8862
8830
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.sessions(),
8863
8831
  queryFn: () => client.listSessions(),
@@ -8865,7 +8833,7 @@ function useSessions(options) {
8865
8833
  });
8866
8834
  }
8867
8835
  function useTerminateSession() {
8868
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8836
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8869
8837
  const qc = reactQuery.useQueryClient();
8870
8838
  return reactQuery.useMutation({
8871
8839
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -8873,7 +8841,7 @@ function useTerminateSession() {
8873
8841
  });
8874
8842
  }
8875
8843
  function useSignOut() {
8876
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8844
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8877
8845
  const qc = reactQuery.useQueryClient();
8878
8846
  return reactQuery.useMutation({
8879
8847
  mutationFn: (options = {}) => client.signOut(options),
@@ -8881,7 +8849,7 @@ function useSignOut() {
8881
8849
  });
8882
8850
  }
8883
8851
  function useCurrentSessionId() {
8884
- return chunkW7DQJT4T_cjs.useAccountClient().client.currentSessionId();
8852
+ return chunk3CVY5SGY_cjs.useAccountClient().client.currentSessionId();
8885
8853
  }
8886
8854
  function parseDeleteAccountBlockers(error) {
8887
8855
  const body = error?.apiError ?? error;
@@ -8896,7 +8864,7 @@ function parseDeleteAccountBlockers(error) {
8896
8864
  return [];
8897
8865
  }
8898
8866
  function useDeleteAccount() {
8899
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8867
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8900
8868
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
8901
8869
  }
8902
8870
  function useDeleteAccountFlow({
@@ -9218,7 +9186,7 @@ function useIdentityVerificationFlow(api, {
9218
9186
  };
9219
9187
  }
9220
9188
  function useIdentityVerification(options = {}) {
9221
- const { client, enabled } = chunkW7DQJT4T_cjs.useAccountClient();
9189
+ const { client, enabled } = chunk3CVY5SGY_cjs.useAccountClient();
9222
9190
  const qc = reactQuery.useQueryClient();
9223
9191
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
9224
9192
  return useIdentityVerificationFlow(client.identity, {
@@ -9240,7 +9208,7 @@ async function downloadRecoveryFile(params) {
9240
9208
  ...params,
9241
9209
  origin: params.origin ?? window.location.origin
9242
9210
  });
9243
- chunkONGNP4JM_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
9211
+ chunkV64EETLS_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
9244
9212
  }
9245
9213
  function useConnectorMutation(mutationFn) {
9246
9214
  const qc = reactQuery.useQueryClient();
@@ -9250,7 +9218,7 @@ function useConnectorMutation(mutationFn) {
9250
9218
  });
9251
9219
  }
9252
9220
  function useConnectorCatalog() {
9253
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9221
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9254
9222
  return reactQuery.useQuery({
9255
9223
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.catalog(),
9256
9224
  queryFn: () => arbi.connectors.catalog(),
@@ -9259,7 +9227,7 @@ function useConnectorCatalog() {
9259
9227
  });
9260
9228
  }
9261
9229
  function useMyConnectors() {
9262
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9230
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9263
9231
  return reactQuery.useQuery({
9264
9232
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.mine(),
9265
9233
  queryFn: () => arbi.connectors.mine(),
@@ -9268,13 +9236,13 @@ function useMyConnectors() {
9268
9236
  });
9269
9237
  }
9270
9238
  function useDisconnectConnector() {
9271
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9239
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9272
9240
  return useConnectorMutation(
9273
9241
  ({ vendorKey }) => arbi.connectors.disconnect(vendorKey)
9274
9242
  );
9275
9243
  }
9276
9244
  function useConnectorVendorVisibility() {
9277
- const { data: settings } = useUserSettings();
9245
+ const { data: settings } = chunk3CVY5SGY_cjs.useUserSettings();
9278
9246
  return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
9279
9247
  }
9280
9248
  function connectorReturnTo(reopen) {
@@ -9287,7 +9255,7 @@ function connectorReturnTo(reopen) {
9287
9255
  return `${window.location.pathname}?${params.toString()}`;
9288
9256
  }
9289
9257
  function useMailboxFolders(vendorKey, enabled) {
9290
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9258
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9291
9259
  return reactQuery.useQuery({
9292
9260
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.mailboxFolders(vendorKey),
9293
9261
  queryFn: () => arbi.connectors.mailboxFolders(vendorKey),
@@ -9296,7 +9264,7 @@ function useMailboxFolders(vendorKey, enabled) {
9296
9264
  });
9297
9265
  }
9298
9266
  function useEnableMailboxSync() {
9299
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9267
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9300
9268
  return useConnectorMutation(
9301
9269
  (v) => arbi.connectors.enableMailboxSync(v.vendorKey, {
9302
9270
  workspace_ext_id: v.workspaceExtId,
@@ -9311,13 +9279,13 @@ function useEnableMailboxSync() {
9311
9279
  );
9312
9280
  }
9313
9281
  function useTriggerMailboxSync() {
9314
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9282
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9315
9283
  return useConnectorMutation(
9316
9284
  ({ vendorKey, workspaceExtId }) => arbi.connectors.syncMailbox(vendorKey, workspaceExtId)
9317
9285
  );
9318
9286
  }
9319
9287
  function useMailboxSyncProgress(vendorKey, workspaceExtId, enabled) {
9320
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9288
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9321
9289
  return reactQuery.useQuery({
9322
9290
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.mailboxSyncProgress(vendorKey, workspaceExtId),
9323
9291
  queryFn: () => arbi.connectors.mailboxSyncProgress(vendorKey, workspaceExtId),
@@ -9327,13 +9295,13 @@ function useMailboxSyncProgress(vendorKey, workspaceExtId, enabled) {
9327
9295
  });
9328
9296
  }
9329
9297
  function useCancelMailboxSync() {
9330
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9298
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9331
9299
  return reactQuery.useMutation({
9332
9300
  mutationFn: ({ vendorKey, workspaceExtId }) => arbi.connectors.cancelMailboxSync(vendorKey, workspaceExtId)
9333
9301
  });
9334
9302
  }
9335
9303
  function useDriveFolders(vendorKey, enabled) {
9336
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9304
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9337
9305
  return reactQuery.useQuery({
9338
9306
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveFolders(vendorKey),
9339
9307
  queryFn: () => arbi.connectors.driveFolders(vendorKey),
@@ -9343,7 +9311,7 @@ function useDriveFolders(vendorKey, enabled) {
9343
9311
  });
9344
9312
  }
9345
9313
  function useDriveFolderChildren(vendorKey, itemId, enabled) {
9346
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9314
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9347
9315
  return reactQuery.useQuery({
9348
9316
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveFolderChildren(vendorKey, itemId),
9349
9317
  queryFn: () => arbi.connectors.driveFolderChildren(vendorKey, itemId),
@@ -9352,7 +9320,7 @@ function useDriveFolderChildren(vendorKey, itemId, enabled) {
9352
9320
  });
9353
9321
  }
9354
9322
  function useDriveFolderDocCount(vendorKey, itemId, enabled) {
9355
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9323
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9356
9324
  return reactQuery.useQuery({
9357
9325
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveFolderDocCount(vendorKey, itemId),
9358
9326
  queryFn: () => arbi.connectors.driveFolderDocCount(vendorKey, itemId),
@@ -9361,7 +9329,7 @@ function useDriveFolderDocCount(vendorKey, itemId, enabled) {
9361
9329
  });
9362
9330
  }
9363
9331
  function useEnableDriveSync() {
9364
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9332
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9365
9333
  return useConnectorMutation(
9366
9334
  (v) => arbi.connectors.enableDriveSync(v.vendorKey, {
9367
9335
  workspace_ext_id: v.workspaceExtId,
@@ -9374,13 +9342,13 @@ function useEnableDriveSync() {
9374
9342
  );
9375
9343
  }
9376
9344
  function useTriggerDriveSync() {
9377
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9345
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9378
9346
  return useConnectorMutation(
9379
9347
  ({ vendorKey }) => arbi.connectors.syncDrive(vendorKey)
9380
9348
  );
9381
9349
  }
9382
9350
  function useDriveSyncEstimate(vendorKey, enabled) {
9383
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9351
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9384
9352
  return reactQuery.useQuery({
9385
9353
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveSyncEstimate(vendorKey),
9386
9354
  queryFn: () => arbi.connectors.driveSyncEstimate(vendorKey),
@@ -9389,7 +9357,7 @@ function useDriveSyncEstimate(vendorKey, enabled) {
9389
9357
  });
9390
9358
  }
9391
9359
  function useDriveSyncProgress(vendorKey, enabled) {
9392
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9360
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9393
9361
  return reactQuery.useQuery({
9394
9362
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveSyncProgress(vendorKey),
9395
9363
  queryFn: () => arbi.connectors.driveSyncProgress(vendorKey),
@@ -9399,13 +9367,13 @@ function useDriveSyncProgress(vendorKey, enabled) {
9399
9367
  });
9400
9368
  }
9401
9369
  function useCancelDriveSync() {
9402
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9370
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9403
9371
  return reactQuery.useMutation({
9404
9372
  mutationFn: ({ vendorKey }) => arbi.connectors.cancelDriveSync(vendorKey)
9405
9373
  });
9406
9374
  }
9407
9375
  function useSlackConnection() {
9408
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9376
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9409
9377
  return reactQuery.useQuery({
9410
9378
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.slack(),
9411
9379
  queryFn: () => arbi.connectors.slack.status(),
@@ -9417,7 +9385,7 @@ function useSlackConnection() {
9417
9385
  });
9418
9386
  }
9419
9387
  function useDisconnectSlack() {
9420
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9388
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9421
9389
  return useConnectorMutation(() => arbi.connectors.slack.disconnect());
9422
9390
  }
9423
9391
  function useRefreshConnectorsOnRunEnd(running) {
@@ -9432,7 +9400,7 @@ function useRefreshConnectorsOnRunEnd(running) {
9432
9400
  }
9433
9401
  var FOCUS_RECHECK_MS = 6e4;
9434
9402
  function useConnectorAutoSync(workspaceExtId, opened) {
9435
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9403
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9436
9404
  const qc = reactQuery.useQueryClient();
9437
9405
  const lastCheck = React.useRef(0);
9438
9406
  React.useEffect(() => {
@@ -9465,8 +9433,8 @@ function isQueuedCalendarWrite(value) {
9465
9433
  }
9466
9434
  var NO_SUPPORT2 = {};
9467
9435
  function useCalendarSupport() {
9468
- const support = chunkYIUUTRMQ_cjs.useArbiHost().calendar ?? NO_SUPPORT2;
9469
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9436
+ const support = chunkYRY6DGRU_cjs.useArbiHost().calendar ?? NO_SUPPORT2;
9437
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9470
9438
  const qc = reactQuery.useQueryClient();
9471
9439
  return React.useMemo(
9472
9440
  () => ({
@@ -9514,7 +9482,7 @@ function useOfflineWrite() {
9514
9482
  };
9515
9483
  }
9516
9484
  function useCalendarSettings(enabled = true) {
9517
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9485
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9518
9486
  const { read, networkMode } = useOfflineRead();
9519
9487
  return reactQuery.useQuery({
9520
9488
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.settings(),
@@ -9526,7 +9494,7 @@ function useCalendarSettings(enabled = true) {
9526
9494
  });
9527
9495
  }
9528
9496
  function useCalendars(enabled = true) {
9529
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9497
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9530
9498
  const { read, networkMode } = useOfflineRead();
9531
9499
  return reactQuery.useQuery({
9532
9500
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.calendars(),
@@ -9538,7 +9506,7 @@ function useCalendars(enabled = true) {
9538
9506
  });
9539
9507
  }
9540
9508
  function useCalendarEvents(params) {
9541
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9509
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9542
9510
  const { read, networkMode } = useOfflineRead();
9543
9511
  return reactQuery.useQuery({
9544
9512
  queryKey: params ? chunkRRWAX52L_cjs.calendarQueryKeys.eventList(params) : chunkRRWAX52L_cjs.calendarQueryKeys.events(),
@@ -9554,7 +9522,7 @@ function useCalendarEvents(params) {
9554
9522
  });
9555
9523
  }
9556
9524
  function useCalendarEvent(id, recurrenceId) {
9557
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9525
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9558
9526
  const { read, networkMode } = useOfflineRead();
9559
9527
  return reactQuery.useQuery({
9560
9528
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.event(id ?? "", recurrenceId),
@@ -9568,7 +9536,7 @@ function useCalendarEvent(id, recurrenceId) {
9568
9536
  });
9569
9537
  }
9570
9538
  function useFetchCalendarEvent() {
9571
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9539
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9572
9540
  const qc = reactQuery.useQueryClient();
9573
9541
  const { read, networkMode } = useOfflineRead();
9574
9542
  return (id, recurrenceId) => qc.fetchQuery({
@@ -9582,7 +9550,7 @@ function useFetchCalendarEvent() {
9582
9550
  });
9583
9551
  }
9584
9552
  function useCalendarOverlays(range, layers) {
9585
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9553
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9586
9554
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
9587
9555
  return reactQuery.useQuery({
9588
9556
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.overlays(workspaceId, range ?? void 0, layers),
@@ -9610,7 +9578,7 @@ function useCalendarOutbox() {
9610
9578
  });
9611
9579
  }
9612
9580
  function useCalendarShares(calId) {
9613
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9581
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9614
9582
  return reactQuery.useQuery({
9615
9583
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.shares(calId ?? ""),
9616
9584
  queryFn: () => arbi.calendar.listShares(calId),
@@ -9619,7 +9587,7 @@ function useCalendarShares(calId) {
9619
9587
  });
9620
9588
  }
9621
9589
  function useHolidayCountries(enabled = true) {
9622
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9590
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9623
9591
  return reactQuery.useQuery({
9624
9592
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.holidayCountries(),
9625
9593
  queryFn: () => arbi.calendar.listHolidayCountries(),
@@ -9629,7 +9597,7 @@ function useHolidayCountries(enabled = true) {
9629
9597
  });
9630
9598
  }
9631
9599
  function useRooms(q) {
9632
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9600
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9633
9601
  return reactQuery.useQuery({
9634
9602
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.rooms(q ?? {}),
9635
9603
  queryFn: () => arbi.calendar.listRooms(q ?? {}),
@@ -9640,7 +9608,7 @@ function useRooms(q) {
9640
9608
  });
9641
9609
  }
9642
9610
  function useFreeBusy(attendees, start, end) {
9643
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9611
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9644
9612
  return reactQuery.useQuery({
9645
9613
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.freebusy(attendees, start ?? "", end ?? ""),
9646
9614
  queryFn: () => arbi.calendar.freeBusy({ attendees, start, end }),
@@ -9651,7 +9619,7 @@ function useFreeBusy(attendees, start, end) {
9651
9619
  });
9652
9620
  }
9653
9621
  function useCalendarInvitations() {
9654
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9622
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9655
9623
  return reactQuery.useQuery({
9656
9624
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.invitations(),
9657
9625
  queryFn: () => arbi.calendar.listInvitations(),
@@ -9662,7 +9630,7 @@ function useCalendarInvitations() {
9662
9630
  });
9663
9631
  }
9664
9632
  function useCalendarEventByUid(uid) {
9665
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9633
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9666
9634
  return reactQuery.useQuery({
9667
9635
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.lookup(uid ?? ""),
9668
9636
  queryFn: () => arbi.calendar.lookupByUid(uid),
@@ -9671,7 +9639,7 @@ function useCalendarEventByUid(uid) {
9671
9639
  });
9672
9640
  }
9673
9641
  function useSaveCalendarSettings() {
9674
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9642
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9675
9643
  const qc = reactQuery.useQueryClient();
9676
9644
  return reactQuery.useMutation({
9677
9645
  mutationFn: (body) => arbi.calendar.putSettings(body),
@@ -9679,7 +9647,7 @@ function useSaveCalendarSettings() {
9679
9647
  });
9680
9648
  }
9681
9649
  function useCreateCalendar() {
9682
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9650
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9683
9651
  const qc = reactQuery.useQueryClient();
9684
9652
  return reactQuery.useMutation({
9685
9653
  mutationFn: (body) => arbi.calendar.createCalendar(body),
@@ -9687,7 +9655,7 @@ function useCreateCalendar() {
9687
9655
  });
9688
9656
  }
9689
9657
  function useUpdateCalendar() {
9690
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9658
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9691
9659
  const qc = reactQuery.useQueryClient();
9692
9660
  return reactQuery.useMutation({
9693
9661
  mutationFn: ({ id, body }) => arbi.calendar.updateCalendar(id, body),
@@ -9695,7 +9663,7 @@ function useUpdateCalendar() {
9695
9663
  });
9696
9664
  }
9697
9665
  function useDeleteCalendar() {
9698
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9666
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9699
9667
  const qc = reactQuery.useQueryClient();
9700
9668
  return reactQuery.useMutation({
9701
9669
  mutationFn: (calId) => arbi.calendar.deleteCalendar(calId),
@@ -9703,7 +9671,7 @@ function useDeleteCalendar() {
9703
9671
  });
9704
9672
  }
9705
9673
  function useCreateEvent() {
9706
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9674
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9707
9675
  const qc = reactQuery.useQueryClient();
9708
9676
  const { write, networkMode } = useOfflineWrite();
9709
9677
  return reactQuery.useMutation({
@@ -9715,7 +9683,7 @@ function useCreateEvent() {
9715
9683
  });
9716
9684
  }
9717
9685
  function useUpdateEvent() {
9718
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9686
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9719
9687
  const qc = reactQuery.useQueryClient();
9720
9688
  const { write, networkMode } = useOfflineWrite();
9721
9689
  return reactQuery.useMutation({
@@ -9727,7 +9695,7 @@ function useUpdateEvent() {
9727
9695
  });
9728
9696
  }
9729
9697
  function useDeleteEvent() {
9730
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9698
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9731
9699
  const qc = reactQuery.useQueryClient();
9732
9700
  const { write, networkMode } = useOfflineWrite();
9733
9701
  return reactQuery.useMutation({
@@ -9739,7 +9707,7 @@ function useDeleteEvent() {
9739
9707
  });
9740
9708
  }
9741
9709
  function useMoveEvent() {
9742
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9710
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9743
9711
  const qc = reactQuery.useQueryClient();
9744
9712
  return reactQuery.useMutation({
9745
9713
  mutationFn: ({ id, calendarId }) => arbi.calendar.moveEvent(id, calendarId),
@@ -9749,7 +9717,7 @@ function useMoveEvent() {
9749
9717
  });
9750
9718
  }
9751
9719
  function useRespondToEvent() {
9752
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9720
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9753
9721
  const qc = reactQuery.useQueryClient();
9754
9722
  const { write, networkMode } = useOfflineWrite();
9755
9723
  return reactQuery.useMutation({
@@ -9761,7 +9729,7 @@ function useRespondToEvent() {
9761
9729
  });
9762
9730
  }
9763
9731
  function useImportCalendar() {
9764
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9732
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9765
9733
  const qc = reactQuery.useQueryClient();
9766
9734
  return reactQuery.useMutation({
9767
9735
  mutationFn: ({ ics, calendarId }) => arbi.calendar.importIcs(ics, calendarId),
@@ -9771,7 +9739,7 @@ function useImportCalendar() {
9771
9739
  });
9772
9740
  }
9773
9741
  function useShareCalendar() {
9774
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9742
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9775
9743
  const qc = reactQuery.useQueryClient();
9776
9744
  return reactQuery.useMutation({
9777
9745
  mutationFn: ({ calId, grantee, role }) => arbi.calendar.share(calId, grantee, role),
@@ -9779,7 +9747,7 @@ function useShareCalendar() {
9779
9747
  });
9780
9748
  }
9781
9749
  function useUnshareCalendar() {
9782
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9750
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9783
9751
  const qc = reactQuery.useQueryClient();
9784
9752
  return reactQuery.useMutation({
9785
9753
  mutationFn: ({ calId, userId }) => arbi.calendar.unshare(calId, userId),
@@ -9787,7 +9755,7 @@ function useUnshareCalendar() {
9787
9755
  });
9788
9756
  }
9789
9757
  function useSubscribeCalendar() {
9790
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9758
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9791
9759
  const qc = reactQuery.useQueryClient();
9792
9760
  return reactQuery.useMutation({
9793
9761
  mutationFn: (body) => arbi.calendar.subscribe(body),
@@ -9795,7 +9763,7 @@ function useSubscribeCalendar() {
9795
9763
  });
9796
9764
  }
9797
9765
  function useRefreshCalendar() {
9798
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9766
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9799
9767
  const qc = reactQuery.useQueryClient();
9800
9768
  return reactQuery.useMutation({
9801
9769
  mutationFn: (calId) => arbi.calendar.refresh(calId),
@@ -9803,7 +9771,7 @@ function useRefreshCalendar() {
9803
9771
  });
9804
9772
  }
9805
9773
  function useAddHolidayCalendar() {
9806
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9774
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9807
9775
  const qc = reactQuery.useQueryClient();
9808
9776
  return reactQuery.useMutation({
9809
9777
  mutationFn: (body) => arbi.calendar.addHolidays(body),
@@ -9811,7 +9779,7 @@ function useAddHolidayCalendar() {
9811
9779
  });
9812
9780
  }
9813
9781
  function useCreateRoom() {
9814
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9782
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9815
9783
  const qc = reactQuery.useQueryClient();
9816
9784
  return reactQuery.useMutation({
9817
9785
  mutationFn: (body) => arbi.calendar.createRoom(body),
@@ -9819,11 +9787,11 @@ function useCreateRoom() {
9819
9787
  });
9820
9788
  }
9821
9789
  function useFindTime() {
9822
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9790
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9823
9791
  return reactQuery.useMutation({ mutationFn: (body) => arbi.calendar.findTime(body) });
9824
9792
  }
9825
9793
  function useDecideCounter() {
9826
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9794
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9827
9795
  const qc = reactQuery.useQueryClient();
9828
9796
  return reactQuery.useMutation({
9829
9797
  mutationFn: ({
@@ -9837,7 +9805,7 @@ function useDecideCounter() {
9837
9805
  });
9838
9806
  }
9839
9807
  function usePublishCalendar() {
9840
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9808
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9841
9809
  const qc = reactQuery.useQueryClient();
9842
9810
  return reactQuery.useMutation({
9843
9811
  mutationFn: ({ accountId, calendarId }) => arbi.calendar.publishToAccount(accountId, calendarId),
@@ -9855,7 +9823,7 @@ function invalidateAccounts(qc) {
9855
9823
  ]);
9856
9824
  }
9857
9825
  function useCalendarAccounts(enabled = true) {
9858
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9826
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9859
9827
  return reactQuery.useQuery({
9860
9828
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.accounts(),
9861
9829
  queryFn: () => arbi.calendar.listAccounts(),
@@ -9865,7 +9833,7 @@ function useCalendarAccounts(enabled = true) {
9865
9833
  });
9866
9834
  }
9867
9835
  function useCalDavProfiles(enabled = true) {
9868
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9836
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9869
9837
  return reactQuery.useQuery({
9870
9838
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.caldavProfiles(),
9871
9839
  queryFn: () => arbi.calendar.listCalDavProfiles(),
@@ -9884,7 +9852,7 @@ async function connectOAuthCalendarAccount(arbi, connectors, kind, backgroundSyn
9884
9852
  }
9885
9853
  }
9886
9854
  function useConnectOAuthAccount() {
9887
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9855
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9888
9856
  const { connectors } = useCalendarSupport();
9889
9857
  const qc = reactQuery.useQueryClient();
9890
9858
  return reactQuery.useMutation({
@@ -9893,7 +9861,7 @@ function useConnectOAuthAccount() {
9893
9861
  });
9894
9862
  }
9895
9863
  function useConnectCalDavAccount() {
9896
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9864
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9897
9865
  const qc = reactQuery.useQueryClient();
9898
9866
  return reactQuery.useMutation({
9899
9867
  mutationFn: (body) => arbi.calendar.connectCalDavAccount(body),
@@ -9901,7 +9869,7 @@ function useConnectCalDavAccount() {
9901
9869
  });
9902
9870
  }
9903
9871
  function useUpdateCalendarAccount() {
9904
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9872
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9905
9873
  const qc = reactQuery.useQueryClient();
9906
9874
  return reactQuery.useMutation({
9907
9875
  mutationFn: ({ id, backgroundSync }) => arbi.calendar.updateAccount(id, backgroundSync),
@@ -9909,7 +9877,7 @@ function useUpdateCalendarAccount() {
9909
9877
  });
9910
9878
  }
9911
9879
  function useSyncCalendarAccount() {
9912
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9880
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9913
9881
  const qc = reactQuery.useQueryClient();
9914
9882
  return reactQuery.useMutation({
9915
9883
  mutationFn: (id) => arbi.calendar.syncAccount(id),
@@ -9917,7 +9885,7 @@ function useSyncCalendarAccount() {
9917
9885
  });
9918
9886
  }
9919
9887
  function useDisconnectCalendarAccount() {
9920
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9888
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9921
9889
  const qc = reactQuery.useQueryClient();
9922
9890
  return reactQuery.useMutation({
9923
9891
  mutationFn: (id) => arbi.calendar.disconnectAccount(id),
@@ -9990,7 +9958,7 @@ function resetCalendarAccountSyncState() {
9990
9958
  syncedThisSession.clear();
9991
9959
  }
9992
9960
  function useSyncAccountsOnOpen(enabled = true) {
9993
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9961
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9994
9962
  const { data: accounts } = useCalendarAccounts(enabled);
9995
9963
  const qc = reactQuery.useQueryClient();
9996
9964
  const [syncing, setSyncing] = React.useState(false);
@@ -10008,7 +9976,7 @@ function useSyncAccountsOnOpen(enabled = true) {
10008
9976
  return { syncing };
10009
9977
  }
10010
9978
  function useBookingPages(enabled = true) {
10011
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9979
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10012
9980
  return reactQuery.useQuery({
10013
9981
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.bookingPages(),
10014
9982
  queryFn: () => arbi.calendar.listBookingPages(),
@@ -10018,7 +9986,7 @@ function useBookingPages(enabled = true) {
10018
9986
  });
10019
9987
  }
10020
9988
  function useSaveBookingPage() {
10021
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9989
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10022
9990
  const qc = reactQuery.useQueryClient();
10023
9991
  return reactQuery.useMutation({
10024
9992
  mutationFn: (body) => arbi.calendar.putBookingPage(body),
@@ -10026,7 +9994,7 @@ function useSaveBookingPage() {
10026
9994
  });
10027
9995
  }
10028
9996
  function useDeleteBookingPage() {
10029
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9997
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10030
9998
  const qc = reactQuery.useQueryClient();
10031
9999
  return reactQuery.useMutation({
10032
10000
  mutationFn: (slug) => arbi.calendar.deleteBookingPage(slug),
@@ -10034,7 +10002,7 @@ function useDeleteBookingPage() {
10034
10002
  });
10035
10003
  }
10036
10004
  function useWorkspaceDocs(workspaceId) {
10037
- const { data: docs = [], isLoading, isError } = chunkODGIOGH5_cjs.useDocuments(workspaceId);
10005
+ const { data: docs = [], isLoading, isError } = chunkUKEUDTOE_cjs.useDocuments(workspaceId);
10038
10006
  const docIds = React.useMemo(
10039
10007
  () => docs.map((d) => d.external_id).filter((id) => !!id),
10040
10008
  [docs]
@@ -10042,7 +10010,7 @@ function useWorkspaceDocs(workspaceId) {
10042
10010
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
10043
10011
  }
10044
10012
  function useAiTask() {
10045
- const mutation = chunkME4TS33T_cjs.useAssistantQuery();
10013
+ const mutation = chunk2JQ7QNOO_cjs.useAssistantQuery();
10046
10014
  const [status, setStatus] = React.useState("idle");
10047
10015
  const [text, setText] = React.useState("");
10048
10016
  const [stepCount, setStepCount] = React.useState(0);
@@ -10546,7 +10514,7 @@ var IDLE = {
10546
10514
  error: null
10547
10515
  };
10548
10516
  function useSemanticSearch(docIds = [], options = {}) {
10549
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
10517
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10550
10518
  const [ownSession] = React.useState(chunkTUPSNW3B_cjs.createSearchSession);
10551
10519
  const session = options.session ?? ownSession;
10552
10520
  const { model, workspaceId } = options;
@@ -11482,7 +11450,7 @@ function ActivityFeed({
11482
11450
  enabled,
11483
11451
  "data-testid": testId = "activity-feed"
11484
11452
  }) {
11485
- const { data, isLoading, isError } = chunkME4TS33T_cjs.useActivity({ limit, enabled });
11453
+ const { data, isLoading, isError } = chunk2JQ7QNOO_cjs.useActivity({ limit, enabled });
11486
11454
  if (isLoading) {
11487
11455
  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: [
11488
11456
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -11532,7 +11500,7 @@ var workTypes = [
11532
11500
  "mail_draft_ready"
11533
11501
  ];
11534
11502
  function useWorkNotifications(options) {
11535
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11503
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11536
11504
  const queries = reactQuery.useQueryClient();
11537
11505
  const queryKey = chunkRRWAX52L_cjs.arbiQueryKeys.typedNotifications("work", options.apiUrl, options.userId);
11538
11506
  const query = reactQuery.useQuery({
@@ -11552,7 +11520,7 @@ function useWorkNotifications(options) {
11552
11520
  return { ...query, markRead: receipt.mutateAsync };
11553
11521
  }
11554
11522
  function useNotifications(options = {}) {
11555
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11523
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11556
11524
  const limit = options.limit ?? 100;
11557
11525
  return reactQuery.useQuery({
11558
11526
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.notifications(limit),
@@ -11561,7 +11529,7 @@ function useNotifications(options = {}) {
11561
11529
  });
11562
11530
  }
11563
11531
  function useDeleteNotifications() {
11564
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11532
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11565
11533
  const queries = reactQuery.useQueryClient();
11566
11534
  return reactQuery.useMutation({
11567
11535
  mutationFn: (ids) => arbi.notifications.delete(ids),
@@ -11569,7 +11537,7 @@ function useDeleteNotifications() {
11569
11537
  });
11570
11538
  }
11571
11539
  function useMarkNotificationsRead() {
11572
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11540
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11573
11541
  const queries = reactQuery.useQueryClient();
11574
11542
  return reactQuery.useMutation({
11575
11543
  mutationFn: (ids) => arbi.notifications.markRead(ids),
@@ -12060,7 +12028,7 @@ function isAgentUser(user) {
12060
12028
  return user.external_id.startsWith("agt-");
12061
12029
  }
12062
12030
  function DmAvatar({ user, className, size = "lg" }) {
12063
- const presence = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
12031
+ const presence = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
12064
12032
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
12065
12033
  return /* @__PURE__ */ jsxRuntime.jsx(
12066
12034
  chunkFSPLYO52_cjs.UserEntity,
@@ -12409,7 +12377,7 @@ function DmComposer({
12409
12377
  );
12410
12378
  }
12411
12379
  function useChats(options = {}) {
12412
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12380
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12413
12381
  return reactQuery.useQuery({
12414
12382
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList(),
12415
12383
  queryFn: () => arbi.chats.list(),
@@ -12431,9 +12399,9 @@ function useChatUnreadTotal() {
12431
12399
  return React.useMemo(() => data.reduce((sum, c) => sum + (c.unread_count ?? 0), 0), [data]);
12432
12400
  }
12433
12401
  function useUnreadByPeer() {
12434
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12402
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12435
12403
  const { data = [] } = useChats();
12436
- const me = chunkW7DQJT4T_cjs.myChatId(arbi);
12404
+ const me = chunk3CVY5SGY_cjs.myChatId(arbi);
12437
12405
  return React.useMemo(() => {
12438
12406
  const out = /* @__PURE__ */ new Map();
12439
12407
  for (const c of data) {
@@ -12445,7 +12413,7 @@ function useUnreadByPeer() {
12445
12413
  }, [data, me]);
12446
12414
  }
12447
12415
  function useChatSummaries(chats2) {
12448
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12416
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12449
12417
  const [summaries, setSummaries] = React.useState({});
12450
12418
  const runId = React.useRef(0);
12451
12419
  const key = chats2.map(
@@ -12471,7 +12439,7 @@ function useChatSummaries(chats2) {
12471
12439
  return summaries;
12472
12440
  }
12473
12441
  function useChatThread(chat) {
12474
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12442
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12475
12443
  const queryClient = reactQuery.useQueryClient();
12476
12444
  const chatExtId = chat?.external_id ?? "";
12477
12445
  const chatRef = React.useRef(chat);
@@ -12516,17 +12484,17 @@ function useChatThread(chat) {
12516
12484
  };
12517
12485
  }
12518
12486
  function useChatPost() {
12519
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12487
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12520
12488
  const queryClient = reactQuery.useQueryClient();
12521
12489
  return React.useCallback(
12522
12490
  async (target, post) => {
12523
- const me = chunkW7DQJT4T_cjs.myChatId(arbi);
12491
+ const me = chunk3CVY5SGY_cjs.myChatId(arbi);
12524
12492
  if (!me) throw new Error("No active session");
12525
12493
  let chat = target.chat;
12526
12494
  if (!chat) {
12527
12495
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
12528
12496
  chat = await arbi.chats.openDirect(target.peerExtId);
12529
- chunkW7DQJT4T_cjs.upsertChat(queryClient, chat);
12497
+ chunk3CVY5SGY_cjs.upsertChat(queryClient, chat);
12530
12498
  queryClient.setQueryData(
12531
12499
  chunkRRWAX52L_cjs.arbiQueryKeys.chatThread(chat.external_id),
12532
12500
  (old) => old ?? { messages: [], hasMore: false }
@@ -12549,7 +12517,7 @@ function useChatPost() {
12549
12517
  updated_at: now,
12550
12518
  optimistic: true
12551
12519
  };
12552
- chunkW7DQJT4T_cjs.appendToThread(queryClient, chat.external_id, optimistic);
12520
+ chunk3CVY5SGY_cjs.appendToThread(queryClient, chat.external_id, optimistic);
12553
12521
  try {
12554
12522
  let attachments = [];
12555
12523
  if (files.length) {
@@ -12569,15 +12537,15 @@ function useChatPost() {
12569
12537
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
12570
12538
  contextOnly: !!post.contextOnly
12571
12539
  });
12572
- chunkW7DQJT4T_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
12573
- chunkW7DQJT4T_cjs.upsertChat(queryClient, {
12540
+ chunk3CVY5SGY_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
12541
+ chunk3CVY5SGY_cjs.upsertChat(queryClient, {
12574
12542
  ...chat,
12575
12543
  last_message: message,
12576
12544
  last_message_at: message.created_at
12577
12545
  });
12578
12546
  return { chat, message };
12579
12547
  } catch (err) {
12580
- chunkW7DQJT4T_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
12548
+ chunk3CVY5SGY_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
12581
12549
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList() });
12582
12550
  throw err;
12583
12551
  }
@@ -12586,19 +12554,19 @@ function useChatPost() {
12586
12554
  );
12587
12555
  }
12588
12556
  function useDeleteChatMessage() {
12589
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12557
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12590
12558
  const queryClient = reactQuery.useQueryClient();
12591
12559
  return React.useCallback(
12592
- (chatExtId, messageExtId) => chunkW7DQJT4T_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
12560
+ (chatExtId, messageExtId) => chunk3CVY5SGY_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
12593
12561
  [arbi, queryClient]
12594
12562
  );
12595
12563
  }
12596
12564
  function useMarkChatRead() {
12597
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12565
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12598
12566
  const queryClient = reactQuery.useQueryClient();
12599
12567
  return React.useCallback(
12600
12568
  (chat, messageExtId) => {
12601
- chunkW7DQJT4T_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
12569
+ chunk3CVY5SGY_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
12602
12570
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
12603
12571
  () => void 0,
12604
12572
  () => void 0
@@ -12608,50 +12576,50 @@ function useMarkChatRead() {
12608
12576
  );
12609
12577
  }
12610
12578
  function useCreateGroupChat() {
12611
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12579
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12612
12580
  const queryClient = reactQuery.useQueryClient();
12613
12581
  return reactQuery.useMutation({
12614
12582
  mutationFn: (params) => arbi.chats.createGroup(params),
12615
- onSuccess: (chat) => chunkW7DQJT4T_cjs.upsertChat(queryClient, chat)
12583
+ onSuccess: (chat) => chunk3CVY5SGY_cjs.upsertChat(queryClient, chat)
12616
12584
  });
12617
12585
  }
12618
12586
  function useRenameChat() {
12619
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12587
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12620
12588
  const queryClient = reactQuery.useQueryClient();
12621
12589
  return reactQuery.useMutation({
12622
12590
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
12623
- onSuccess: (chat) => chunkW7DQJT4T_cjs.upsertChat(queryClient, chat)
12591
+ onSuccess: (chat) => chunk3CVY5SGY_cjs.upsertChat(queryClient, chat)
12624
12592
  });
12625
12593
  }
12626
12594
  function useAddChatMembers() {
12627
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12595
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12628
12596
  const queryClient = reactQuery.useQueryClient();
12629
12597
  return reactQuery.useMutation({
12630
12598
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
12631
- onSuccess: (chat) => chunkW7DQJT4T_cjs.upsertChat(queryClient, chat)
12599
+ onSuccess: (chat) => chunk3CVY5SGY_cjs.upsertChat(queryClient, chat)
12632
12600
  });
12633
12601
  }
12634
12602
  function useRemoveChatMember() {
12635
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12603
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12636
12604
  const queryClient = reactQuery.useQueryClient();
12637
12605
  return reactQuery.useMutation({
12638
12606
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
12639
12607
  onSuccess: (_data, vars) => {
12640
- if (vars.userExtId === chunkW7DQJT4T_cjs.myChatId(arbi)) chunkW7DQJT4T_cjs.removeChat(queryClient, vars.chat.external_id);
12608
+ if (vars.userExtId === chunk3CVY5SGY_cjs.myChatId(arbi)) chunk3CVY5SGY_cjs.removeChat(queryClient, vars.chat.external_id);
12641
12609
  else return queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList() });
12642
12610
  }
12643
12611
  });
12644
12612
  }
12645
12613
  function useChatArrivals(onArrival) {
12646
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12614
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12647
12615
  const queryClient = reactQuery.useQueryClient();
12648
12616
  useArbiWsMessage("chat.message", (message) => {
12649
12617
  const senderId = message.message.sender_ext_id;
12650
- if (!senderId || senderId === chunkW7DQJT4T_cjs.myChatId(arbi)) return;
12651
- if (message.message.kind !== "text" || chunkW7DQJT4T_cjs.getOpenChat() === message.chat_ext_id) return;
12618
+ if (!senderId || senderId === chunk3CVY5SGY_cjs.myChatId(arbi)) return;
12619
+ if (message.message.kind !== "text" || chunk3CVY5SGY_cjs.getOpenChat() === message.chat_ext_id) return;
12652
12620
  const muted = queryClient.getQueriesData({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
12653
12621
  if (muted?.includes(senderId)) return;
12654
- const chat = chunkW7DQJT4T_cjs.cachedChat(queryClient, message.chat_ext_id);
12622
+ const chat = chunk3CVY5SGY_cjs.cachedChat(queryClient, message.chat_ext_id);
12655
12623
  const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
12656
12624
  onArrival({
12657
12625
  chatId: message.chat_ext_id,
@@ -13101,1187 +13069,1211 @@ function CommandPaletteProvider({
13101
13069
 
13102
13070
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
13103
13071
  enumerable: true,
13104
- get: function () { return chunkW7DQJT4T_cjs.AUDIENCE_CHOICES; }
13072
+ get: function () { return chunk3CVY5SGY_cjs.AUDIENCE_CHOICES; }
13105
13073
  });
13106
13074
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
13107
13075
  enumerable: true,
13108
- get: function () { return chunkW7DQJT4T_cjs.CALL_CAPTION_TOPIC; }
13076
+ get: function () { return chunk3CVY5SGY_cjs.CALL_CAPTION_TOPIC; }
13109
13077
  });
13110
13078
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
13111
13079
  enumerable: true,
13112
- get: function () { return chunkW7DQJT4T_cjs.CALL_CHAT_MAX_CHARS; }
13080
+ get: function () { return chunk3CVY5SGY_cjs.CALL_CHAT_MAX_CHARS; }
13113
13081
  });
13114
13082
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
13115
13083
  enumerable: true,
13116
- get: function () { return chunkW7DQJT4T_cjs.CALL_CHAT_TOPIC; }
13084
+ get: function () { return chunk3CVY5SGY_cjs.CALL_CHAT_TOPIC; }
13117
13085
  });
13118
13086
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
13119
13087
  enumerable: true,
13120
- get: function () { return chunkW7DQJT4T_cjs.CALL_MODERATION_TOPIC; }
13088
+ get: function () { return chunk3CVY5SGY_cjs.CALL_MODERATION_TOPIC; }
13121
13089
  });
13122
13090
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
13123
13091
  enumerable: true,
13124
- get: function () { return chunkW7DQJT4T_cjs.CALL_RECORDING_TOPIC; }
13092
+ get: function () { return chunk3CVY5SGY_cjs.CALL_RECORDING_TOPIC; }
13125
13093
  });
13126
13094
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
13127
13095
  enumerable: true,
13128
- get: function () { return chunkW7DQJT4T_cjs.CALL_TRANSCRIPTION_TOPIC; }
13096
+ get: function () { return chunk3CVY5SGY_cjs.CALL_TRANSCRIPTION_TOPIC; }
13129
13097
  });
13130
13098
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
13131
13099
  enumerable: true,
13132
- get: function () { return chunkW7DQJT4T_cjs.CALL_WEBINAR_TOPIC; }
13100
+ get: function () { return chunk3CVY5SGY_cjs.CALL_WEBINAR_TOPIC; }
13133
13101
  });
13134
13102
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
13135
13103
  enumerable: true,
13136
- get: function () { return chunkW7DQJT4T_cjs.CAPTION_MAX_CHARS; }
13104
+ get: function () { return chunk3CVY5SGY_cjs.CAPTION_MAX_CHARS; }
13137
13105
  });
13138
13106
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
13139
13107
  enumerable: true,
13140
- get: function () { return chunkW7DQJT4T_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
13108
+ get: function () { return chunk3CVY5SGY_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
13141
13109
  });
13142
13110
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
13143
13111
  enumerable: true,
13144
- get: function () { return chunkW7DQJT4T_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
13112
+ get: function () { return chunk3CVY5SGY_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
13145
13113
  });
13146
13114
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
13147
13115
  enumerable: true,
13148
- get: function () { return chunkW7DQJT4T_cjs.DEFAULT_JOIN_CHOICES; }
13116
+ get: function () { return chunk3CVY5SGY_cjs.DEFAULT_JOIN_CHOICES; }
13149
13117
  });
13150
13118
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
13151
13119
  enumerable: true,
13152
- get: function () { return chunkW7DQJT4T_cjs.EMPTY_CALL_SESSION; }
13120
+ get: function () { return chunk3CVY5SGY_cjs.EMPTY_CALL_SESSION; }
13153
13121
  });
13154
13122
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
13155
13123
  enumerable: true,
13156
- get: function () { return chunkW7DQJT4T_cjs.EXPORT_SAMPLE_RATE; }
13124
+ get: function () { return chunk3CVY5SGY_cjs.EXPORT_SAMPLE_RATE; }
13157
13125
  });
13158
13126
  Object.defineProperty(exports, "HISTORY_LIMIT", {
13159
13127
  enumerable: true,
13160
- get: function () { return chunkW7DQJT4T_cjs.HISTORY_LIMIT; }
13128
+ get: function () { return chunk3CVY5SGY_cjs.HISTORY_LIMIT; }
13161
13129
  });
13162
13130
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
13163
13131
  enumerable: true,
13164
- get: function () { return chunkW7DQJT4T_cjs.LIVE_SEGMENTER; }
13132
+ get: function () { return chunk3CVY5SGY_cjs.LIVE_SEGMENTER; }
13165
13133
  });
13166
13134
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
13167
13135
  enumerable: true,
13168
- get: function () { return chunkW7DQJT4T_cjs.MAX_AVATAR_FILE_BYTES; }
13136
+ get: function () { return chunk3CVY5SGY_cjs.MAX_AVATAR_FILE_BYTES; }
13169
13137
  });
13170
13138
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
13171
13139
  enumerable: true,
13172
- get: function () { return chunkW7DQJT4T_cjs.MUTED_DEDUPE_MS; }
13140
+ get: function () { return chunk3CVY5SGY_cjs.MUTED_DEDUPE_MS; }
13173
13141
  });
13174
13142
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
13175
13143
  enumerable: true,
13176
- get: function () { return chunkW7DQJT4T_cjs.PLAYBACK_LOOKAHEAD_MS; }
13144
+ get: function () { return chunk3CVY5SGY_cjs.PLAYBACK_LOOKAHEAD_MS; }
13177
13145
  });
13178
13146
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
13179
13147
  enumerable: true,
13180
- get: function () { return chunkW7DQJT4T_cjs.READ_ONLY_MEETING_TEXT; }
13148
+ get: function () { return chunk3CVY5SGY_cjs.READ_ONLY_MEETING_TEXT; }
13181
13149
  });
13182
13150
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
13183
13151
  enumerable: true,
13184
- get: function () { return chunkW7DQJT4T_cjs.RECORDING_CHUNK_MS; }
13152
+ get: function () { return chunk3CVY5SGY_cjs.RECORDING_CHUNK_MS; }
13185
13153
  });
13186
13154
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
13187
13155
  enumerable: true,
13188
- get: function () { return chunkW7DQJT4T_cjs.RECORDING_SEGMENTER; }
13156
+ get: function () { return chunk3CVY5SGY_cjs.RECORDING_SEGMENTER; }
13189
13157
  });
13190
13158
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
13191
13159
  enumerable: true,
13192
- get: function () { return chunkW7DQJT4T_cjs.SEGMENT_FRAME_MS; }
13160
+ get: function () { return chunk3CVY5SGY_cjs.SEGMENT_FRAME_MS; }
13193
13161
  });
13194
13162
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
13195
13163
  enumerable: true,
13196
- get: function () { return chunkW7DQJT4T_cjs.SEGMENT_ID_PATTERN; }
13164
+ get: function () { return chunk3CVY5SGY_cjs.SEGMENT_ID_PATTERN; }
13197
13165
  });
13198
13166
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
13199
13167
  enumerable: true,
13200
- get: function () { return chunkW7DQJT4T_cjs.SEGMENT_PRE_ROLL_MS; }
13168
+ get: function () { return chunk3CVY5SGY_cjs.SEGMENT_PRE_ROLL_MS; }
13201
13169
  });
13202
13170
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
13203
13171
  enumerable: true,
13204
- get: function () { return chunkW7DQJT4T_cjs.SHORT_PIECE_MERGE_GAP_MS; }
13172
+ get: function () { return chunk3CVY5SGY_cjs.SHORT_PIECE_MERGE_GAP_MS; }
13205
13173
  });
13206
13174
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
13207
13175
  enumerable: true,
13208
- get: function () { return chunkW7DQJT4T_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
13176
+ get: function () { return chunk3CVY5SGY_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
13209
13177
  });
13210
13178
  Object.defineProperty(exports, "TrackUploader", {
13211
13179
  enumerable: true,
13212
- get: function () { return chunkW7DQJT4T_cjs.TrackUploader; }
13180
+ get: function () { return chunk3CVY5SGY_cjs.TrackUploader; }
13213
13181
  });
13214
13182
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
13215
13183
  enumerable: true,
13216
- get: function () { return chunkW7DQJT4T_cjs.UPLOAD_ATTEMPTS; }
13184
+ get: function () { return chunk3CVY5SGY_cjs.UPLOAD_ATTEMPTS; }
13217
13185
  });
13218
13186
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
13219
13187
  enumerable: true,
13220
- get: function () { return chunkW7DQJT4T_cjs.UPLOAD_BACKOFF_MS; }
13188
+ get: function () { return chunk3CVY5SGY_cjs.UPLOAD_BACKOFF_MS; }
13221
13189
  });
13222
13190
  Object.defineProperty(exports, "acceptRing", {
13223
13191
  enumerable: true,
13224
- get: function () { return chunkW7DQJT4T_cjs.acceptRing; }
13192
+ get: function () { return chunk3CVY5SGY_cjs.acceptRing; }
13225
13193
  });
13226
13194
  Object.defineProperty(exports, "addConversationToList", {
13227
13195
  enumerable: true,
13228
- get: function () { return chunkW7DQJT4T_cjs.addConversationToList; }
13196
+ get: function () { return chunk3CVY5SGY_cjs.addConversationToList; }
13229
13197
  });
13230
13198
  Object.defineProperty(exports, "appendToThread", {
13231
13199
  enumerable: true,
13232
- get: function () { return chunkW7DQJT4T_cjs.appendToThread; }
13200
+ get: function () { return chunk3CVY5SGY_cjs.appendToThread; }
13233
13201
  });
13234
13202
  Object.defineProperty(exports, "applyAgentDmStatus", {
13235
13203
  enumerable: true,
13236
- get: function () { return chunkW7DQJT4T_cjs.applyAgentDmStatus; }
13204
+ get: function () { return chunk3CVY5SGY_cjs.applyAgentDmStatus; }
13237
13205
  });
13238
13206
  Object.defineProperty(exports, "applyCallEvent", {
13239
13207
  enumerable: true,
13240
- get: function () { return chunkW7DQJT4T_cjs.applyCallEvent; }
13208
+ get: function () { return chunk3CVY5SGY_cjs.applyCallEvent; }
13241
13209
  });
13242
13210
  Object.defineProperty(exports, "applyChatEvent", {
13243
13211
  enumerable: true,
13244
- get: function () { return chunkW7DQJT4T_cjs.applyChatEvent; }
13212
+ get: function () { return chunk3CVY5SGY_cjs.applyChatEvent; }
13245
13213
  });
13246
13214
  Object.defineProperty(exports, "applyChatMessage", {
13247
13215
  enumerable: true,
13248
- get: function () { return chunkW7DQJT4T_cjs.applyChatMessage; }
13216
+ get: function () { return chunk3CVY5SGY_cjs.applyChatMessage; }
13249
13217
  });
13250
13218
  Object.defineProperty(exports, "applyChatRead", {
13251
13219
  enumerable: true,
13252
- get: function () { return chunkW7DQJT4T_cjs.applyChatRead; }
13220
+ get: function () { return chunk3CVY5SGY_cjs.applyChatRead; }
13253
13221
  });
13254
13222
  Object.defineProperty(exports, "applyChatUpdated", {
13255
13223
  enumerable: true,
13256
- get: function () { return chunkW7DQJT4T_cjs.applyChatUpdated; }
13224
+ get: function () { return chunk3CVY5SGY_cjs.applyChatUpdated; }
13257
13225
  });
13258
13226
  Object.defineProperty(exports, "arbiAccountClient", {
13259
13227
  enumerable: true,
13260
- get: function () { return chunkW7DQJT4T_cjs.arbiAccountClient; }
13228
+ get: function () { return chunk3CVY5SGY_cjs.arbiAccountClient; }
13261
13229
  });
13262
13230
  Object.defineProperty(exports, "buildMeetingChatBody", {
13263
13231
  enumerable: true,
13264
- get: function () { return chunkW7DQJT4T_cjs.buildMeetingChatBody; }
13232
+ get: function () { return chunk3CVY5SGY_cjs.buildMeetingChatBody; }
13265
13233
  });
13266
13234
  Object.defineProperty(exports, "cachedChat", {
13267
13235
  enumerable: true,
13268
- get: function () { return chunkW7DQJT4T_cjs.cachedChat; }
13236
+ get: function () { return chunk3CVY5SGY_cjs.cachedChat; }
13269
13237
  });
13270
13238
  Object.defineProperty(exports, "cachedChats", {
13271
13239
  enumerable: true,
13272
- get: function () { return chunkW7DQJT4T_cjs.cachedChats; }
13240
+ get: function () { return chunk3CVY5SGY_cjs.cachedChats; }
13273
13241
  });
13274
13242
  Object.defineProperty(exports, "callLink", {
13275
13243
  enumerable: true,
13276
- get: function () { return chunkW7DQJT4T_cjs.callLink; }
13244
+ get: function () { return chunk3CVY5SGY_cjs.callLink; }
13277
13245
  });
13278
13246
  Object.defineProperty(exports, "callMemberKeys", {
13279
13247
  enumerable: true,
13280
- get: function () { return chunkW7DQJT4T_cjs.callMemberKeys; }
13248
+ get: function () { return chunk3CVY5SGY_cjs.callMemberKeys; }
13281
13249
  });
13282
13250
  Object.defineProperty(exports, "callSession", {
13283
13251
  enumerable: true,
13284
- get: function () { return chunkW7DQJT4T_cjs.callSession; }
13252
+ get: function () { return chunk3CVY5SGY_cjs.callSession; }
13285
13253
  });
13286
13254
  Object.defineProperty(exports, "chatByExtId", {
13287
13255
  enumerable: true,
13288
- get: function () { return chunkW7DQJT4T_cjs.chatByExtId; }
13256
+ get: function () { return chunk3CVY5SGY_cjs.chatByExtId; }
13289
13257
  });
13290
13258
  Object.defineProperty(exports, "chatHasLiveCall", {
13291
13259
  enumerable: true,
13292
- get: function () { return chunkW7DQJT4T_cjs.chatHasLiveCall; }
13260
+ get: function () { return chunk3CVY5SGY_cjs.chatHasLiveCall; }
13293
13261
  });
13294
13262
  Object.defineProperty(exports, "chatLiveCallId", {
13295
13263
  enumerable: true,
13296
- get: function () { return chunkW7DQJT4T_cjs.chatLiveCallId; }
13264
+ get: function () { return chunk3CVY5SGY_cjs.chatLiveCallId; }
13297
13265
  });
13298
13266
  Object.defineProperty(exports, "chatTranscriptRef", {
13299
13267
  enumerable: true,
13300
- get: function () { return chunkW7DQJT4T_cjs.chatTranscriptRef; }
13268
+ get: function () { return chunk3CVY5SGY_cjs.chatTranscriptRef; }
13301
13269
  });
13302
13270
  Object.defineProperty(exports, "clearMeetingChatCache", {
13303
13271
  enumerable: true,
13304
- get: function () { return chunkW7DQJT4T_cjs.clearMeetingChatCache; }
13272
+ get: function () { return chunk3CVY5SGY_cjs.clearMeetingChatCache; }
13305
13273
  });
13306
13274
  Object.defineProperty(exports, "clearTrackUploaders", {
13307
13275
  enumerable: true,
13308
- get: function () { return chunkW7DQJT4T_cjs.clearTrackUploaders; }
13276
+ get: function () { return chunk3CVY5SGY_cjs.clearTrackUploaders; }
13309
13277
  });
13310
13278
  Object.defineProperty(exports, "clockTime", {
13311
13279
  enumerable: true,
13312
- get: function () { return chunkW7DQJT4T_cjs.clockTime; }
13280
+ get: function () { return chunk3CVY5SGY_cjs.clockTime; }
13313
13281
  });
13314
13282
  Object.defineProperty(exports, "compositeFiles", {
13315
13283
  enumerable: true,
13316
- get: function () { return chunkW7DQJT4T_cjs.compositeFiles; }
13284
+ get: function () { return chunk3CVY5SGY_cjs.compositeFiles; }
13317
13285
  });
13318
13286
  Object.defineProperty(exports, "compositeTrack", {
13319
13287
  enumerable: true,
13320
- get: function () { return chunkW7DQJT4T_cjs.compositeTrack; }
13288
+ get: function () { return chunk3CVY5SGY_cjs.compositeTrack; }
13321
13289
  });
13322
13290
  Object.defineProperty(exports, "conversationKeyForCall", {
13323
13291
  enumerable: true,
13324
- get: function () { return chunkW7DQJT4T_cjs.conversationKeyForCall; }
13292
+ get: function () { return chunk3CVY5SGY_cjs.conversationKeyForCall; }
13293
+ });
13294
+ Object.defineProperty(exports, "createLocalFeatureStore", {
13295
+ enumerable: true,
13296
+ get: function () { return chunk3CVY5SGY_cjs.createLocalFeatureStore; }
13325
13297
  });
13326
13298
  Object.defineProperty(exports, "createMutedNotifier", {
13327
13299
  enumerable: true,
13328
- get: function () { return chunkW7DQJT4T_cjs.createMutedNotifier; }
13300
+ get: function () { return chunk3CVY5SGY_cjs.createMutedNotifier; }
13329
13301
  });
13330
13302
  Object.defineProperty(exports, "createTrackCutter", {
13331
13303
  enumerable: true,
13332
- get: function () { return chunkW7DQJT4T_cjs.createTrackCutter; }
13304
+ get: function () { return chunk3CVY5SGY_cjs.createTrackCutter; }
13333
13305
  });
13334
13306
  Object.defineProperty(exports, "cutAtPauses", {
13335
13307
  enumerable: true,
13336
- get: function () { return chunkW7DQJT4T_cjs.cutAtPauses; }
13308
+ get: function () { return chunk3CVY5SGY_cjs.cutAtPauses; }
13337
13309
  });
13338
13310
  Object.defineProperty(exports, "declineRing", {
13339
13311
  enumerable: true,
13340
- get: function () { return chunkW7DQJT4T_cjs.declineRing; }
13312
+ get: function () { return chunk3CVY5SGY_cjs.declineRing; }
13341
13313
  });
13342
13314
  Object.defineProperty(exports, "decodeCallChatPacket", {
13343
13315
  enumerable: true,
13344
- get: function () { return chunkW7DQJT4T_cjs.decodeCallChatPacket; }
13316
+ get: function () { return chunk3CVY5SGY_cjs.decodeCallChatPacket; }
13345
13317
  });
13346
13318
  Object.defineProperty(exports, "decodeCaptionPacket", {
13347
13319
  enumerable: true,
13348
- get: function () { return chunkW7DQJT4T_cjs.decodeCaptionPacket; }
13320
+ get: function () { return chunk3CVY5SGY_cjs.decodeCaptionPacket; }
13349
13321
  });
13350
13322
  Object.defineProperty(exports, "decodeMono16k", {
13351
13323
  enumerable: true,
13352
- get: function () { return chunkW7DQJT4T_cjs.decodeMono16k; }
13324
+ get: function () { return chunk3CVY5SGY_cjs.decodeMono16k; }
13353
13325
  });
13354
13326
  Object.defineProperty(exports, "decryptPart", {
13355
13327
  enumerable: true,
13356
- get: function () { return chunkW7DQJT4T_cjs.decryptPart; }
13328
+ get: function () { return chunk3CVY5SGY_cjs.decryptPart; }
13357
13329
  });
13358
13330
  Object.defineProperty(exports, "encodeCallChatPacket", {
13359
13331
  enumerable: true,
13360
- get: function () { return chunkW7DQJT4T_cjs.encodeCallChatPacket; }
13332
+ get: function () { return chunk3CVY5SGY_cjs.encodeCallChatPacket; }
13361
13333
  });
13362
13334
  Object.defineProperty(exports, "encodeCaptionPacket", {
13363
13335
  enumerable: true,
13364
- get: function () { return chunkW7DQJT4T_cjs.encodeCaptionPacket; }
13336
+ get: function () { return chunk3CVY5SGY_cjs.encodeCaptionPacket; }
13365
13337
  });
13366
13338
  Object.defineProperty(exports, "encodeWav", {
13367
13339
  enumerable: true,
13368
- get: function () { return chunkW7DQJT4T_cjs.encodeWav; }
13340
+ get: function () { return chunk3CVY5SGY_cjs.encodeWav; }
13369
13341
  });
13370
13342
  Object.defineProperty(exports, "encryptPart", {
13371
13343
  enumerable: true,
13372
- get: function () { return chunkW7DQJT4T_cjs.encryptPart; }
13344
+ get: function () { return chunk3CVY5SGY_cjs.encryptPart; }
13373
13345
  });
13374
13346
  Object.defineProperty(exports, "ensureMeetingChat", {
13375
13347
  enumerable: true,
13376
- get: function () { return chunkW7DQJT4T_cjs.ensureMeetingChat; }
13348
+ get: function () { return chunk3CVY5SGY_cjs.ensureMeetingChat; }
13377
13349
  });
13378
13350
  Object.defineProperty(exports, "entitlementRefusal", {
13379
13351
  enumerable: true,
13380
- get: function () { return chunkW7DQJT4T_cjs.entitlementRefusal; }
13352
+ get: function () { return chunk3CVY5SGY_cjs.entitlementRefusal; }
13381
13353
  });
13382
13354
  Object.defineProperty(exports, "extensionFor", {
13383
13355
  enumerable: true,
13384
- get: function () { return chunkW7DQJT4T_cjs.extensionFor; }
13356
+ get: function () { return chunk3CVY5SGY_cjs.extensionFor; }
13385
13357
  });
13386
13358
  Object.defineProperty(exports, "fetchPart", {
13387
13359
  enumerable: true,
13388
- get: function () { return chunkW7DQJT4T_cjs.fetchPart; }
13360
+ get: function () { return chunk3CVY5SGY_cjs.fetchPart; }
13389
13361
  });
13390
13362
  Object.defineProperty(exports, "fileSafe", {
13391
13363
  enumerable: true,
13392
- get: function () { return chunkW7DQJT4T_cjs.fileSafe; }
13364
+ get: function () { return chunk3CVY5SGY_cjs.fileSafe; }
13393
13365
  });
13394
13366
  Object.defineProperty(exports, "findConversation", {
13395
13367
  enumerable: true,
13396
- get: function () { return chunkW7DQJT4T_cjs.findConversation; }
13368
+ get: function () { return chunk3CVY5SGY_cjs.findConversation; }
13397
13369
  });
13398
13370
  Object.defineProperty(exports, "floatToWav", {
13399
13371
  enumerable: true,
13400
- get: function () { return chunkW7DQJT4T_cjs.floatToWav; }
13372
+ get: function () { return chunk3CVY5SGY_cjs.floatToWav; }
13401
13373
  });
13402
13374
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
13403
13375
  enumerable: true,
13404
- get: function () { return chunkW7DQJT4T_cjs.formatTranscriptMarkdown; }
13376
+ get: function () { return chunk3CVY5SGY_cjs.formatTranscriptMarkdown; }
13405
13377
  });
13406
13378
  Object.defineProperty(exports, "getOpenChat", {
13407
13379
  enumerable: true,
13408
- get: function () { return chunkW7DQJT4T_cjs.getOpenChat; }
13380
+ get: function () { return chunk3CVY5SGY_cjs.getOpenChat; }
13409
13381
  });
13410
13382
  Object.defineProperty(exports, "hasRecordingTranscript", {
13411
13383
  enumerable: true,
13412
- get: function () { return chunkW7DQJT4T_cjs.hasRecordingTranscript; }
13384
+ get: function () { return chunk3CVY5SGY_cjs.hasRecordingTranscript; }
13413
13385
  });
13414
13386
  Object.defineProperty(exports, "invalidateCall", {
13415
13387
  enumerable: true,
13416
- get: function () { return chunkW7DQJT4T_cjs.invalidateCall; }
13388
+ get: function () { return chunk3CVY5SGY_cjs.invalidateCall; }
13417
13389
  });
13418
13390
  Object.defineProperty(exports, "invalidateConversationDetails", {
13419
13391
  enumerable: true,
13420
- get: function () { return chunkW7DQJT4T_cjs.invalidateConversationDetails; }
13392
+ get: function () { return chunk3CVY5SGY_cjs.invalidateConversationDetails; }
13421
13393
  });
13422
13394
  Object.defineProperty(exports, "invalidateConversationLists", {
13423
13395
  enumerable: true,
13424
- get: function () { return chunkW7DQJT4T_cjs.invalidateConversationLists; }
13396
+ get: function () { return chunk3CVY5SGY_cjs.invalidateConversationLists; }
13425
13397
  });
13426
13398
  Object.defineProperty(exports, "isConversationListKey", {
13427
13399
  enumerable: true,
13428
- get: function () { return chunkW7DQJT4T_cjs.isConversationListKey; }
13400
+ get: function () { return chunk3CVY5SGY_cjs.isConversationListKey; }
13429
13401
  });
13430
13402
  Object.defineProperty(exports, "isConversationShared", {
13431
13403
  enumerable: true,
13432
- get: function () { return chunkW7DQJT4T_cjs.isConversationShared; }
13404
+ get: function () { return chunk3CVY5SGY_cjs.isConversationShared; }
13433
13405
  });
13434
13406
  Object.defineProperty(exports, "isKnownSoloConversation", {
13435
13407
  enumerable: true,
13436
- get: function () { return chunkW7DQJT4T_cjs.isKnownSoloConversation; }
13408
+ get: function () { return chunk3CVY5SGY_cjs.isKnownSoloConversation; }
13437
13409
  });
13438
13410
  Object.defineProperty(exports, "isRecordingOver", {
13439
13411
  enumerable: true,
13440
- get: function () { return chunkW7DQJT4T_cjs.isRecordingOver; }
13412
+ get: function () { return chunk3CVY5SGY_cjs.isRecordingOver; }
13441
13413
  });
13442
13414
  Object.defineProperty(exports, "isRecordingSegmentId", {
13443
13415
  enumerable: true,
13444
- get: function () { return chunkW7DQJT4T_cjs.isRecordingSegmentId; }
13416
+ get: function () { return chunk3CVY5SGY_cjs.isRecordingSegmentId; }
13445
13417
  });
13446
13418
  Object.defineProperty(exports, "isRetryable", {
13447
13419
  enumerable: true,
13448
- get: function () { return chunkW7DQJT4T_cjs.isRetryable; }
13420
+ get: function () { return chunk3CVY5SGY_cjs.isRetryable; }
13449
13421
  });
13450
13422
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
13451
13423
  enumerable: true,
13452
- get: function () { return chunkW7DQJT4T_cjs.isWorkspaceGuestOf; }
13424
+ get: function () { return chunk3CVY5SGY_cjs.isWorkspaceGuestOf; }
13453
13425
  });
13454
13426
  Object.defineProperty(exports, "joinFromPreJoin", {
13455
13427
  enumerable: true,
13456
- get: function () { return chunkW7DQJT4T_cjs.joinFromPreJoin; }
13428
+ get: function () { return chunk3CVY5SGY_cjs.joinFromPreJoin; }
13457
13429
  });
13458
13430
  Object.defineProperty(exports, "knownMeetingChat", {
13459
13431
  enumerable: true,
13460
- get: function () { return chunkW7DQJT4T_cjs.knownMeetingChat; }
13432
+ get: function () { return chunk3CVY5SGY_cjs.knownMeetingChat; }
13461
13433
  });
13462
13434
  Object.defineProperty(exports, "loadMeetingHistory", {
13463
13435
  enumerable: true,
13464
- get: function () { return chunkW7DQJT4T_cjs.loadMeetingHistory; }
13436
+ get: function () { return chunk3CVY5SGY_cjs.loadMeetingHistory; }
13465
13437
  });
13466
13438
  Object.defineProperty(exports, "markRejoining", {
13467
13439
  enumerable: true,
13468
- get: function () { return chunkW7DQJT4T_cjs.markRejoining; }
13440
+ get: function () { return chunk3CVY5SGY_cjs.markRejoining; }
13469
13441
  });
13470
13442
  Object.defineProperty(exports, "meetingChatRefFrom", {
13471
13443
  enumerable: true,
13472
- get: function () { return chunkW7DQJT4T_cjs.meetingChatRefFrom; }
13444
+ get: function () { return chunk3CVY5SGY_cjs.meetingChatRefFrom; }
13473
13445
  });
13474
13446
  Object.defineProperty(exports, "meetingRefForCall", {
13475
13447
  enumerable: true,
13476
- get: function () { return chunkW7DQJT4T_cjs.meetingRefForCall; }
13448
+ get: function () { return chunk3CVY5SGY_cjs.meetingRefForCall; }
13477
13449
  });
13478
13450
  Object.defineProperty(exports, "mergeChatLines", {
13479
13451
  enumerable: true,
13480
- get: function () { return chunkW7DQJT4T_cjs.mergeChatLines; }
13452
+ get: function () { return chunk3CVY5SGY_cjs.mergeChatLines; }
13481
13453
  });
13482
13454
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
13483
13455
  enumerable: true,
13484
- get: function () { return chunkW7DQJT4T_cjs.mutedNoticeFromEvent; }
13456
+ get: function () { return chunk3CVY5SGY_cjs.mutedNoticeFromEvent; }
13485
13457
  });
13486
13458
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
13487
13459
  enumerable: true,
13488
- get: function () { return chunkW7DQJT4T_cjs.mutedNoticeFromPacket; }
13460
+ get: function () { return chunk3CVY5SGY_cjs.mutedNoticeFromPacket; }
13489
13461
  });
13490
13462
  Object.defineProperty(exports, "mutedNoticeText", {
13491
13463
  enumerable: true,
13492
- get: function () { return chunkW7DQJT4T_cjs.mutedNoticeText; }
13464
+ get: function () { return chunk3CVY5SGY_cjs.mutedNoticeText; }
13493
13465
  });
13494
13466
  Object.defineProperty(exports, "myChatId", {
13495
13467
  enumerable: true,
13496
- get: function () { return chunkW7DQJT4T_cjs.myChatId; }
13468
+ get: function () { return chunk3CVY5SGY_cjs.myChatId; }
13497
13469
  });
13498
13470
  Object.defineProperty(exports, "newPacketId", {
13499
13471
  enumerable: true,
13500
- get: function () { return chunkW7DQJT4T_cjs.newPacketId; }
13472
+ get: function () { return chunk3CVY5SGY_cjs.newPacketId; }
13501
13473
  });
13502
13474
  Object.defineProperty(exports, "newSegmentId", {
13503
13475
  enumerable: true,
13504
- get: function () { return chunkW7DQJT4T_cjs.newSegmentId; }
13476
+ get: function () { return chunk3CVY5SGY_cjs.newSegmentId; }
13505
13477
  });
13506
13478
  Object.defineProperty(exports, "newTrackKey", {
13507
13479
  enumerable: true,
13508
- get: function () { return chunkW7DQJT4T_cjs.newTrackKey; }
13480
+ get: function () { return chunk3CVY5SGY_cjs.newTrackKey; }
13509
13481
  });
13510
13482
  Object.defineProperty(exports, "nextSeqAfter", {
13511
13483
  enumerable: true,
13512
- get: function () { return chunkW7DQJT4T_cjs.nextSeqAfter; }
13484
+ get: function () { return chunk3CVY5SGY_cjs.nextSeqAfter; }
13513
13485
  });
13514
13486
  Object.defineProperty(exports, "onCallEvent", {
13515
13487
  enumerable: true,
13516
- get: function () { return chunkW7DQJT4T_cjs.onCallEvent; }
13488
+ get: function () { return chunk3CVY5SGY_cjs.onCallEvent; }
13517
13489
  });
13518
13490
  Object.defineProperty(exports, "openCall", {
13519
13491
  enumerable: true,
13520
- get: function () { return chunkW7DQJT4T_cjs.openCall; }
13492
+ get: function () { return chunk3CVY5SGY_cjs.openCall; }
13521
13493
  });
13522
13494
  Object.defineProperty(exports, "openQuestion", {
13523
13495
  enumerable: true,
13524
- get: function () { return chunkW7DQJT4T_cjs.openQuestion; }
13496
+ get: function () { return chunk3CVY5SGY_cjs.openQuestion; }
13525
13497
  });
13526
13498
  Object.defineProperty(exports, "openRecording", {
13527
13499
  enumerable: true,
13528
- get: function () { return chunkW7DQJT4T_cjs.openRecording; }
13500
+ get: function () { return chunk3CVY5SGY_cjs.openRecording; }
13529
13501
  });
13530
13502
  Object.defineProperty(exports, "parseWebinarPacket", {
13531
13503
  enumerable: true,
13532
- get: function () { return chunkW7DQJT4T_cjs.parseWebinarPacket; }
13504
+ get: function () { return chunk3CVY5SGY_cjs.parseWebinarPacket; }
13533
13505
  });
13534
13506
  Object.defineProperty(exports, "partKey", {
13535
13507
  enumerable: true,
13536
- get: function () { return chunkW7DQJT4T_cjs.partKey; }
13508
+ get: function () { return chunk3CVY5SGY_cjs.partKey; }
13537
13509
  });
13538
13510
  Object.defineProperty(exports, "partOffsetMs", {
13539
13511
  enumerable: true,
13540
- get: function () { return chunkW7DQJT4T_cjs.partOffsetMs; }
13512
+ get: function () { return chunk3CVY5SGY_cjs.partOffsetMs; }
13541
13513
  });
13542
13514
  Object.defineProperty(exports, "partsDue", {
13543
13515
  enumerable: true,
13544
- get: function () { return chunkW7DQJT4T_cjs.partsDue; }
13516
+ get: function () { return chunk3CVY5SGY_cjs.partsDue; }
13545
13517
  });
13546
13518
  Object.defineProperty(exports, "patchConversation", {
13547
13519
  enumerable: true,
13548
- get: function () { return chunkW7DQJT4T_cjs.patchConversation; }
13520
+ get: function () { return chunk3CVY5SGY_cjs.patchConversation; }
13549
13521
  });
13550
13522
  Object.defineProperty(exports, "patchConversationList", {
13551
13523
  enumerable: true,
13552
- get: function () { return chunkW7DQJT4T_cjs.patchConversationList; }
13524
+ get: function () { return chunk3CVY5SGY_cjs.patchConversationList; }
13553
13525
  });
13554
13526
  Object.defineProperty(exports, "persistMeetingMessage", {
13555
13527
  enumerable: true,
13556
- get: function () { return chunkW7DQJT4T_cjs.persistMeetingMessage; }
13528
+ get: function () { return chunk3CVY5SGY_cjs.persistMeetingMessage; }
13557
13529
  });
13558
13530
  Object.defineProperty(exports, "persistTranscriptSegment", {
13559
13531
  enumerable: true,
13560
- get: function () { return chunkW7DQJT4T_cjs.persistTranscriptSegment; }
13532
+ get: function () { return chunk3CVY5SGY_cjs.persistTranscriptSegment; }
13561
13533
  });
13562
13534
  Object.defineProperty(exports, "playheadAt", {
13563
13535
  enumerable: true,
13564
- get: function () { return chunkW7DQJT4T_cjs.playheadAt; }
13536
+ get: function () { return chunk3CVY5SGY_cjs.playheadAt; }
13565
13537
  });
13566
13538
  Object.defineProperty(exports, "postRecordingDocsToThread", {
13567
13539
  enumerable: true,
13568
- get: function () { return chunkW7DQJT4T_cjs.postRecordingDocsToThread; }
13540
+ get: function () { return chunk3CVY5SGY_cjs.postRecordingDocsToThread; }
13569
13541
  });
13570
13542
  Object.defineProperty(exports, "postTranscriptToThread", {
13571
13543
  enumerable: true,
13572
- get: function () { return chunkW7DQJT4T_cjs.postTranscriptToThread; }
13544
+ get: function () { return chunk3CVY5SGY_cjs.postTranscriptToThread; }
13545
+ });
13546
+ Object.defineProperty(exports, "readLocalFeature", {
13547
+ enumerable: true,
13548
+ get: function () { return chunk3CVY5SGY_cjs.readLocalFeature; }
13573
13549
  });
13574
13550
  Object.defineProperty(exports, "recordingFiles", {
13575
13551
  enumerable: true,
13576
- get: function () { return chunkW7DQJT4T_cjs.recordingFiles; }
13552
+ get: function () { return chunk3CVY5SGY_cjs.recordingFiles; }
13577
13553
  });
13578
13554
  Object.defineProperty(exports, "recordingWindowsOf", {
13579
13555
  enumerable: true,
13580
- get: function () { return chunkW7DQJT4T_cjs.recordingWindowsOf; }
13556
+ get: function () { return chunk3CVY5SGY_cjs.recordingWindowsOf; }
13581
13557
  });
13582
13558
  Object.defineProperty(exports, "rejoinAsAudience", {
13583
13559
  enumerable: true,
13584
- get: function () { return chunkW7DQJT4T_cjs.rejoinAsAudience; }
13560
+ get: function () { return chunk3CVY5SGY_cjs.rejoinAsAudience; }
13585
13561
  });
13586
13562
  Object.defineProperty(exports, "removeChat", {
13587
13563
  enumerable: true,
13588
- get: function () { return chunkW7DQJT4T_cjs.removeChat; }
13564
+ get: function () { return chunk3CVY5SGY_cjs.removeChat; }
13589
13565
  });
13590
13566
  Object.defineProperty(exports, "removeConversationFromLists", {
13591
13567
  enumerable: true,
13592
- get: function () { return chunkW7DQJT4T_cjs.removeConversationFromLists; }
13568
+ get: function () { return chunk3CVY5SGY_cjs.removeConversationFromLists; }
13593
13569
  });
13594
13570
  Object.defineProperty(exports, "resetCallSession", {
13595
13571
  enumerable: true,
13596
- get: function () { return chunkW7DQJT4T_cjs.resetCallSession; }
13572
+ get: function () { return chunk3CVY5SGY_cjs.resetCallSession; }
13597
13573
  });
13598
13574
  Object.defineProperty(exports, "resolveMeetingChat", {
13599
13575
  enumerable: true,
13600
- get: function () { return chunkW7DQJT4T_cjs.resolveMeetingChat; }
13576
+ get: function () { return chunk3CVY5SGY_cjs.resolveMeetingChat; }
13601
13577
  });
13602
13578
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
13603
13579
  enumerable: true,
13604
- get: function () { return chunkW7DQJT4T_cjs.saveRecordingFilesToThread; }
13580
+ get: function () { return chunk3CVY5SGY_cjs.saveRecordingFilesToThread; }
13605
13581
  });
13606
13582
  Object.defineProperty(exports, "schedulePart", {
13607
13583
  enumerable: true,
13608
- get: function () { return chunkW7DQJT4T_cjs.schedulePart; }
13584
+ get: function () { return chunk3CVY5SGY_cjs.schedulePart; }
13609
13585
  });
13610
13586
  Object.defineProperty(exports, "sealQuestionText", {
13611
13587
  enumerable: true,
13612
- get: function () { return chunkW7DQJT4T_cjs.sealQuestionText; }
13588
+ get: function () { return chunk3CVY5SGY_cjs.sealQuestionText; }
13613
13589
  });
13614
13590
  Object.defineProperty(exports, "serverCallsExperimental", {
13615
13591
  enumerable: true,
13616
- get: function () { return chunkW7DQJT4T_cjs.serverCallsExperimental; }
13592
+ get: function () { return chunk3CVY5SGY_cjs.serverCallsExperimental; }
13617
13593
  });
13618
13594
  Object.defineProperty(exports, "setOpenChat", {
13619
13595
  enumerable: true,
13620
- get: function () { return chunkW7DQJT4T_cjs.setOpenChat; }
13596
+ get: function () { return chunk3CVY5SGY_cjs.setOpenChat; }
13621
13597
  });
13622
13598
  Object.defineProperty(exports, "sortTranscriptMessages", {
13623
13599
  enumerable: true,
13624
- get: function () { return chunkW7DQJT4T_cjs.sortTranscriptMessages; }
13600
+ get: function () { return chunk3CVY5SGY_cjs.sortTranscriptMessages; }
13625
13601
  });
13626
13602
  Object.defineProperty(exports, "sortedParts", {
13627
13603
  enumerable: true,
13628
- get: function () { return chunkW7DQJT4T_cjs.sortedParts; }
13604
+ get: function () { return chunk3CVY5SGY_cjs.sortedParts; }
13629
13605
  });
13630
13606
  Object.defineProperty(exports, "speakerTracks", {
13631
13607
  enumerable: true,
13632
- get: function () { return chunkW7DQJT4T_cjs.speakerTracks; }
13608
+ get: function () { return chunk3CVY5SGY_cjs.speakerTracks; }
13633
13609
  });
13634
13610
  Object.defineProperty(exports, "speakerWav", {
13635
13611
  enumerable: true,
13636
- get: function () { return chunkW7DQJT4T_cjs.speakerWav; }
13612
+ get: function () { return chunk3CVY5SGY_cjs.speakerWav; }
13637
13613
  });
13638
13614
  Object.defineProperty(exports, "splitIntoFiles", {
13639
13615
  enumerable: true,
13640
- get: function () { return chunkW7DQJT4T_cjs.splitIntoFiles; }
13616
+ get: function () { return chunk3CVY5SGY_cjs.splitIntoFiles; }
13641
13617
  });
13642
13618
  Object.defineProperty(exports, "standalone", {
13643
13619
  enumerable: true,
13644
- get: function () { return chunkW7DQJT4T_cjs.standalone; }
13620
+ get: function () { return chunk3CVY5SGY_cjs.standalone; }
13645
13621
  });
13646
13622
  Object.defineProperty(exports, "startChatCall", {
13647
13623
  enumerable: true,
13648
- get: function () { return chunkW7DQJT4T_cjs.startChatCall; }
13624
+ get: function () { return chunk3CVY5SGY_cjs.startChatCall; }
13649
13625
  });
13650
13626
  Object.defineProperty(exports, "startContactsCall", {
13651
13627
  enumerable: true,
13652
- get: function () { return chunkW7DQJT4T_cjs.startContactsCall; }
13628
+ get: function () { return chunk3CVY5SGY_cjs.startContactsCall; }
13653
13629
  });
13654
13630
  Object.defineProperty(exports, "startDmCall", {
13655
13631
  enumerable: true,
13656
- get: function () { return chunkW7DQJT4T_cjs.startDmCall; }
13632
+ get: function () { return chunk3CVY5SGY_cjs.startDmCall; }
13657
13633
  });
13658
13634
  Object.defineProperty(exports, "startThreadCall", {
13659
13635
  enumerable: true,
13660
- get: function () { return chunkW7DQJT4T_cjs.startThreadCall; }
13636
+ get: function () { return chunk3CVY5SGY_cjs.startThreadCall; }
13661
13637
  });
13662
13638
  Object.defineProperty(exports, "startsMediaFile", {
13663
13639
  enumerable: true,
13664
- get: function () { return chunkW7DQJT4T_cjs.startsMediaFile; }
13640
+ get: function () { return chunk3CVY5SGY_cjs.startsMediaFile; }
13665
13641
  });
13666
13642
  Object.defineProperty(exports, "storeTranscriptSegment", {
13667
13643
  enumerable: true,
13668
- get: function () { return chunkW7DQJT4T_cjs.storeTranscriptSegment; }
13644
+ get: function () { return chunk3CVY5SGY_cjs.storeTranscriptSegment; }
13669
13645
  });
13670
13646
  Object.defineProperty(exports, "stripSpeakerPrefix", {
13671
13647
  enumerable: true,
13672
- get: function () { return chunkW7DQJT4T_cjs.stripSpeakerPrefix; }
13648
+ get: function () { return chunk3CVY5SGY_cjs.stripSpeakerPrefix; }
13673
13649
  });
13674
13650
  Object.defineProperty(exports, "supersedeLiveTranscript", {
13675
13651
  enumerable: true,
13676
- get: function () { return chunkW7DQJT4T_cjs.supersedeLiveTranscript; }
13652
+ get: function () { return chunk3CVY5SGY_cjs.supersedeLiveTranscript; }
13677
13653
  });
13678
13654
  Object.defineProperty(exports, "supersededTranscriptLines", {
13679
13655
  enumerable: true,
13680
- get: function () { return chunkW7DQJT4T_cjs.supersededTranscriptLines; }
13656
+ get: function () { return chunk3CVY5SGY_cjs.supersededTranscriptLines; }
13681
13657
  });
13682
13658
  Object.defineProperty(exports, "threadHasLiveCall", {
13683
13659
  enumerable: true,
13684
- get: function () { return chunkW7DQJT4T_cjs.threadHasLiveCall; }
13660
+ get: function () { return chunk3CVY5SGY_cjs.threadHasLiveCall; }
13685
13661
  });
13686
13662
  Object.defineProperty(exports, "threadLiveCallId", {
13687
13663
  enumerable: true,
13688
- get: function () { return chunkW7DQJT4T_cjs.threadLiveCallId; }
13664
+ get: function () { return chunk3CVY5SGY_cjs.threadLiveCallId; }
13689
13665
  });
13690
13666
  Object.defineProperty(exports, "threadTranscriptLines", {
13691
13667
  enumerable: true,
13692
- get: function () { return chunkW7DQJT4T_cjs.threadTranscriptLines; }
13668
+ get: function () { return chunk3CVY5SGY_cjs.threadTranscriptLines; }
13693
13669
  });
13694
13670
  Object.defineProperty(exports, "threadTranscriptRef", {
13695
13671
  enumerable: true,
13696
- get: function () { return chunkW7DQJT4T_cjs.threadTranscriptRef; }
13672
+ get: function () { return chunk3CVY5SGY_cjs.threadTranscriptRef; }
13697
13673
  });
13698
13674
  Object.defineProperty(exports, "threadTranscriptText", {
13699
13675
  enumerable: true,
13700
- get: function () { return chunkW7DQJT4T_cjs.threadTranscriptText; }
13676
+ get: function () { return chunk3CVY5SGY_cjs.threadTranscriptText; }
13701
13677
  });
13702
13678
  Object.defineProperty(exports, "timelineDurationMs", {
13703
13679
  enumerable: true,
13704
- get: function () { return chunkW7DQJT4T_cjs.timelineDurationMs; }
13680
+ get: function () { return chunk3CVY5SGY_cjs.timelineDurationMs; }
13705
13681
  });
13706
13682
  Object.defineProperty(exports, "timelineOf", {
13707
13683
  enumerable: true,
13708
- get: function () { return chunkW7DQJT4T_cjs.timelineOf; }
13684
+ get: function () { return chunk3CVY5SGY_cjs.timelineOf; }
13709
13685
  });
13710
13686
  Object.defineProperty(exports, "toProfileView", {
13711
13687
  enumerable: true,
13712
- get: function () { return chunkW7DQJT4T_cjs.toProfileView; }
13688
+ get: function () { return chunk3CVY5SGY_cjs.toProfileView; }
13713
13689
  });
13714
13690
  Object.defineProperty(exports, "trackUploaderFor", {
13715
13691
  enumerable: true,
13716
- get: function () { return chunkW7DQJT4T_cjs.trackUploaderFor; }
13692
+ get: function () { return chunk3CVY5SGY_cjs.trackUploaderFor; }
13717
13693
  });
13718
13694
  Object.defineProperty(exports, "transcribeRecording", {
13719
13695
  enumerable: true,
13720
- get: function () { return chunkW7DQJT4T_cjs.transcribeRecording; }
13696
+ get: function () { return chunk3CVY5SGY_cjs.transcribeRecording; }
13721
13697
  });
13722
13698
  Object.defineProperty(exports, "transcriptPersistRole", {
13723
13699
  enumerable: true,
13724
- get: function () { return chunkW7DQJT4T_cjs.transcriptPersistRole; }
13700
+ get: function () { return chunk3CVY5SGY_cjs.transcriptPersistRole; }
13725
13701
  });
13726
13702
  Object.defineProperty(exports, "transcriptSegmentOf", {
13727
13703
  enumerable: true,
13728
- get: function () { return chunkW7DQJT4T_cjs.transcriptSegmentOf; }
13704
+ get: function () { return chunk3CVY5SGY_cjs.transcriptSegmentOf; }
13729
13705
  });
13730
13706
  Object.defineProperty(exports, "unwrapTrackKey", {
13731
13707
  enumerable: true,
13732
- get: function () { return chunkW7DQJT4T_cjs.unwrapTrackKey; }
13708
+ get: function () { return chunk3CVY5SGY_cjs.unwrapTrackKey; }
13733
13709
  });
13734
13710
  Object.defineProperty(exports, "upsertChat", {
13735
13711
  enumerable: true,
13736
- get: function () { return chunkW7DQJT4T_cjs.upsertChat; }
13712
+ get: function () { return chunk3CVY5SGY_cjs.upsertChat; }
13737
13713
  });
13738
13714
  Object.defineProperty(exports, "useAccountClient", {
13739
13715
  enumerable: true,
13740
- get: function () { return chunkW7DQJT4T_cjs.useAccountClient; }
13716
+ get: function () { return chunk3CVY5SGY_cjs.useAccountClient; }
13741
13717
  });
13742
13718
  Object.defineProperty(exports, "useAvatarCrop", {
13743
13719
  enumerable: true,
13744
- get: function () { return chunkW7DQJT4T_cjs.useAvatarCrop; }
13720
+ get: function () { return chunk3CVY5SGY_cjs.useAvatarCrop; }
13745
13721
  });
13746
13722
  Object.defineProperty(exports, "useCall", {
13747
13723
  enumerable: true,
13748
- get: function () { return chunkW7DQJT4T_cjs.useCall; }
13724
+ get: function () { return chunk3CVY5SGY_cjs.useCall; }
13749
13725
  });
13750
13726
  Object.defineProperty(exports, "useCallInviteLinks", {
13751
13727
  enumerable: true,
13752
- get: function () { return chunkW7DQJT4T_cjs.useCallInviteLinks; }
13728
+ get: function () { return chunk3CVY5SGY_cjs.useCallInviteLinks; }
13753
13729
  });
13754
13730
  Object.defineProperty(exports, "useCallRecording", {
13755
13731
  enumerable: true,
13756
- get: function () { return chunkW7DQJT4T_cjs.useCallRecording; }
13732
+ get: function () { return chunk3CVY5SGY_cjs.useCallRecording; }
13757
13733
  });
13758
13734
  Object.defineProperty(exports, "useCallRecordings", {
13759
13735
  enumerable: true,
13760
- get: function () { return chunkW7DQJT4T_cjs.useCallRecordings; }
13736
+ get: function () { return chunk3CVY5SGY_cjs.useCallRecordings; }
13761
13737
  });
13762
13738
  Object.defineProperty(exports, "useCallSession", {
13763
13739
  enumerable: true,
13764
- get: function () { return chunkW7DQJT4T_cjs.useCallSession; }
13740
+ get: function () { return chunk3CVY5SGY_cjs.useCallSession; }
13765
13741
  });
13766
13742
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
13767
13743
  enumerable: true,
13768
- get: function () { return chunkW7DQJT4T_cjs.useCallTranscriptionAvailable; }
13744
+ get: function () { return chunk3CVY5SGY_cjs.useCallTranscriptionAvailable; }
13769
13745
  });
13770
13746
  Object.defineProperty(exports, "useCallsConfig", {
13771
13747
  enumerable: true,
13772
- get: function () { return chunkW7DQJT4T_cjs.useCallsConfig; }
13748
+ get: function () { return chunk3CVY5SGY_cjs.useCallsConfig; }
13773
13749
  });
13774
13750
  Object.defineProperty(exports, "useCallsEnabled", {
13775
13751
  enumerable: true,
13776
- get: function () { return chunkW7DQJT4T_cjs.useCallsEnabled; }
13752
+ get: function () { return chunk3CVY5SGY_cjs.useCallsEnabled; }
13777
13753
  });
13778
13754
  Object.defineProperty(exports, "useCanHostCalls", {
13779
13755
  enumerable: true,
13780
- get: function () { return chunkW7DQJT4T_cjs.useCanHostCalls; }
13756
+ get: function () { return chunk3CVY5SGY_cjs.useCanHostCalls; }
13781
13757
  });
13782
13758
  Object.defineProperty(exports, "useEntitlements", {
13783
13759
  enumerable: true,
13784
- get: function () { return chunkW7DQJT4T_cjs.useEntitlements; }
13760
+ get: function () { return chunk3CVY5SGY_cjs.useEntitlements; }
13761
+ });
13762
+ Object.defineProperty(exports, "useFeature", {
13763
+ enumerable: true,
13764
+ get: function () { return chunk3CVY5SGY_cjs.useFeature; }
13765
+ });
13766
+ Object.defineProperty(exports, "useFeatureSwitch", {
13767
+ enumerable: true,
13768
+ get: function () { return chunk3CVY5SGY_cjs.useFeatureSwitch; }
13785
13769
  });
13786
13770
  Object.defineProperty(exports, "useIsEntitled", {
13787
13771
  enumerable: true,
13788
- get: function () { return chunkW7DQJT4T_cjs.useIsEntitled; }
13772
+ get: function () { return chunk3CVY5SGY_cjs.useIsEntitled; }
13789
13773
  });
13790
13774
  Object.defineProperty(exports, "useMeetingReadOnly", {
13791
13775
  enumerable: true,
13792
- get: function () { return chunkW7DQJT4T_cjs.useMeetingReadOnly; }
13776
+ get: function () { return chunk3CVY5SGY_cjs.useMeetingReadOnly; }
13793
13777
  });
13794
13778
  Object.defineProperty(exports, "useNameEditor", {
13795
13779
  enumerable: true,
13796
- get: function () { return chunkW7DQJT4T_cjs.useNameEditor; }
13780
+ get: function () { return chunk3CVY5SGY_cjs.useNameEditor; }
13797
13781
  });
13798
13782
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
13799
13783
  enumerable: true,
13800
- get: function () { return chunkW7DQJT4T_cjs.useOpenCallMeetingChat; }
13784
+ get: function () { return chunk3CVY5SGY_cjs.useOpenCallMeetingChat; }
13801
13785
  });
13802
13786
  Object.defineProperty(exports, "useProfile", {
13803
13787
  enumerable: true,
13804
- get: function () { return chunkW7DQJT4T_cjs.useProfile; }
13788
+ get: function () { return chunk3CVY5SGY_cjs.useProfile; }
13805
13789
  });
13806
13790
  Object.defineProperty(exports, "useRecordingActions", {
13807
13791
  enumerable: true,
13808
- get: function () { return chunkW7DQJT4T_cjs.useRecordingActions; }
13792
+ get: function () { return chunk3CVY5SGY_cjs.useRecordingActions; }
13809
13793
  });
13810
13794
  Object.defineProperty(exports, "useRecordingWindows", {
13811
13795
  enumerable: true,
13812
- get: function () { return chunkW7DQJT4T_cjs.useRecordingWindows; }
13796
+ get: function () { return chunk3CVY5SGY_cjs.useRecordingWindows; }
13813
13797
  });
13814
13798
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
13815
13799
  enumerable: true,
13816
- get: function () { return chunkW7DQJT4T_cjs.useRevokeCallInviteLink; }
13800
+ get: function () { return chunk3CVY5SGY_cjs.useRevokeCallInviteLink; }
13817
13801
  });
13818
13802
  Object.defineProperty(exports, "useSaveToThread", {
13819
13803
  enumerable: true,
13820
- get: function () { return chunkW7DQJT4T_cjs.useSaveToThread; }
13804
+ get: function () { return chunk3CVY5SGY_cjs.useSaveToThread; }
13821
13805
  });
13822
13806
  Object.defineProperty(exports, "useServerCallsEnabled", {
13823
13807
  enumerable: true,
13824
- get: function () { return chunkW7DQJT4T_cjs.useServerCallsEnabled; }
13808
+ get: function () { return chunk3CVY5SGY_cjs.useServerCallsEnabled; }
13825
13809
  });
13826
13810
  Object.defineProperty(exports, "useServerCallsExperimental", {
13827
13811
  enumerable: true,
13828
- get: function () { return chunkW7DQJT4T_cjs.useServerCallsExperimental; }
13812
+ get: function () { return chunk3CVY5SGY_cjs.useServerCallsExperimental; }
13829
13813
  });
13830
13814
  Object.defineProperty(exports, "useUpdateProfile", {
13831
13815
  enumerable: true,
13832
- get: function () { return chunkW7DQJT4T_cjs.useUpdateProfile; }
13816
+ get: function () { return chunk3CVY5SGY_cjs.useUpdateProfile; }
13817
+ });
13818
+ Object.defineProperty(exports, "useUpdateUserSettings", {
13819
+ enumerable: true,
13820
+ get: function () { return chunk3CVY5SGY_cjs.useUpdateUserSettings; }
13821
+ });
13822
+ Object.defineProperty(exports, "useUserSettings", {
13823
+ enumerable: true,
13824
+ get: function () { return chunk3CVY5SGY_cjs.useUserSettings; }
13833
13825
  });
13834
13826
  Object.defineProperty(exports, "wrapTrackKey", {
13835
13827
  enumerable: true,
13836
- get: function () { return chunkW7DQJT4T_cjs.wrapTrackKey; }
13828
+ get: function () { return chunk3CVY5SGY_cjs.wrapTrackKey; }
13837
13829
  });
13838
13830
  Object.defineProperty(exports, "writeSamples", {
13839
13831
  enumerable: true,
13840
- get: function () { return chunkW7DQJT4T_cjs.writeSamples; }
13832
+ get: function () { return chunk3CVY5SGY_cjs.writeSamples; }
13841
13833
  });
13842
13834
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
13843
13835
  enumerable: true,
13844
- get: function () { return chunkODGIOGH5_cjs.DISMISSED_TASK_TTL_MS; }
13836
+ get: function () { return chunkUKEUDTOE_cjs.DISMISSED_TASK_TTL_MS; }
13845
13837
  });
13846
13838
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
13847
13839
  enumerable: true,
13848
- get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
13840
+ get: function () { return chunkUKEUDTOE_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
13849
13841
  });
13850
13842
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
13851
13843
  enumerable: true,
13852
- get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
13844
+ get: function () { return chunkUKEUDTOE_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
13853
13845
  });
13854
13846
  Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
13855
13847
  enumerable: true,
13856
- get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_PAGE_SIZE; }
13848
+ get: function () { return chunkUKEUDTOE_cjs.DOCUMENTS_PAGE_SIZE; }
13857
13849
  });
13858
13850
  Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
13859
13851
  enumerable: true,
13860
- get: function () { return chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES; }
13852
+ get: function () { return chunkUKEUDTOE_cjs.FINISHED_DOCUMENT_STATUSES; }
13861
13853
  });
13862
13854
  Object.defineProperty(exports, "IN_FLIGHT_DOCUMENT_STATUSES", {
13863
13855
  enumerable: true,
13864
- get: function () { return chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
13856
+ get: function () { return chunkUKEUDTOE_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
13865
13857
  });
13866
13858
  Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
13867
13859
  enumerable: true,
13868
- get: function () { return chunkODGIOGH5_cjs.SIMILARITY_THRESHOLD; }
13860
+ get: function () { return chunkUKEUDTOE_cjs.SIMILARITY_THRESHOLD; }
13869
13861
  });
13870
13862
  Object.defineProperty(exports, "adjustTagCounts", {
13871
13863
  enumerable: true,
13872
- get: function () { return chunkODGIOGH5_cjs.adjustTagCounts; }
13864
+ get: function () { return chunkUKEUDTOE_cjs.adjustTagCounts; }
13873
13865
  });
13874
13866
  Object.defineProperty(exports, "dropTagFromCachedDocuments", {
13875
13867
  enumerable: true,
13876
- get: function () { return chunkODGIOGH5_cjs.dropTagFromCachedDocuments; }
13868
+ get: function () { return chunkUKEUDTOE_cjs.dropTagFromCachedDocuments; }
13877
13869
  });
13878
13870
  Object.defineProperty(exports, "finishEntityExtraction", {
13879
13871
  enumerable: true,
13880
- get: function () { return chunkODGIOGH5_cjs.finishEntityExtraction; }
13872
+ get: function () { return chunkUKEUDTOE_cjs.finishEntityExtraction; }
13881
13873
  });
13882
13874
  Object.defineProperty(exports, "forgetDocuments", {
13883
13875
  enumerable: true,
13884
- get: function () { return chunkODGIOGH5_cjs.forgetDocuments; }
13876
+ get: function () { return chunkUKEUDTOE_cjs.forgetDocuments; }
13885
13877
  });
13886
13878
  Object.defineProperty(exports, "getCachedDocuments", {
13887
13879
  enumerable: true,
13888
- get: function () { return chunkODGIOGH5_cjs.getCachedDocuments; }
13880
+ get: function () { return chunkUKEUDTOE_cjs.getCachedDocuments; }
13889
13881
  });
13890
13882
  Object.defineProperty(exports, "invalidateTagData", {
13891
13883
  enumerable: true,
13892
- get: function () { return chunkODGIOGH5_cjs.invalidateTagData; }
13884
+ get: function () { return chunkUKEUDTOE_cjs.invalidateTagData; }
13893
13885
  });
13894
13886
  Object.defineProperty(exports, "invalidateTagTables", {
13895
13887
  enumerable: true,
13896
- get: function () { return chunkODGIOGH5_cjs.invalidateTagTables; }
13888
+ get: function () { return chunkUKEUDTOE_cjs.invalidateTagTables; }
13897
13889
  });
13898
13890
  Object.defineProperty(exports, "isDocumentsLoading", {
13899
13891
  enumerable: true,
13900
- get: function () { return chunkODGIOGH5_cjs.isDocumentsLoading; }
13892
+ get: function () { return chunkUKEUDTOE_cjs.isDocumentsLoading; }
13901
13893
  });
13902
13894
  Object.defineProperty(exports, "isRowNewer", {
13903
13895
  enumerable: true,
13904
- get: function () { return chunkODGIOGH5_cjs.isRowNewer; }
13896
+ get: function () { return chunkUKEUDTOE_cjs.isRowNewer; }
13905
13897
  });
13906
13898
  Object.defineProperty(exports, "isStaleTaskUpdate", {
13907
13899
  enumerable: true,
13908
- get: function () { return chunkODGIOGH5_cjs.isStaleTaskUpdate; }
13900
+ get: function () { return chunkUKEUDTOE_cjs.isStaleTaskUpdate; }
13909
13901
  });
13910
13902
  Object.defineProperty(exports, "patchCachedDocument", {
13911
13903
  enumerable: true,
13912
- get: function () { return chunkODGIOGH5_cjs.patchCachedDocument; }
13904
+ get: function () { return chunkUKEUDTOE_cjs.patchCachedDocument; }
13913
13905
  });
13914
13906
  Object.defineProperty(exports, "patchDocuments", {
13915
13907
  enumerable: true,
13916
- get: function () { return chunkODGIOGH5_cjs.patchDocuments; }
13908
+ get: function () { return chunkUKEUDTOE_cjs.patchDocuments; }
13917
13909
  });
13918
13910
  Object.defineProperty(exports, "patchWorkspaceTags", {
13919
13911
  enumerable: true,
13920
- get: function () { return chunkODGIOGH5_cjs.patchWorkspaceTags; }
13912
+ get: function () { return chunkUKEUDTOE_cjs.patchWorkspaceTags; }
13921
13913
  });
13922
13914
  Object.defineProperty(exports, "refreshDocuments", {
13923
13915
  enumerable: true,
13924
- get: function () { return chunkODGIOGH5_cjs.refreshDocuments; }
13916
+ get: function () { return chunkUKEUDTOE_cjs.refreshDocuments; }
13925
13917
  });
13926
13918
  Object.defineProperty(exports, "resolveDocumentStatus", {
13927
13919
  enumerable: true,
13928
- get: function () { return chunkODGIOGH5_cjs.resolveDocumentStatus; }
13920
+ get: function () { return chunkUKEUDTOE_cjs.resolveDocumentStatus; }
13929
13921
  });
13930
13922
  Object.defineProperty(exports, "setCachedDocument", {
13931
13923
  enumerable: true,
13932
- get: function () { return chunkODGIOGH5_cjs.setCachedDocument; }
13924
+ get: function () { return chunkUKEUDTOE_cjs.setCachedDocument; }
13933
13925
  });
13934
13926
  Object.defineProperty(exports, "settledByRows", {
13935
13927
  enumerable: true,
13936
- get: function () { return chunkODGIOGH5_cjs.settledByRows; }
13928
+ get: function () { return chunkUKEUDTOE_cjs.settledByRows; }
13937
13929
  });
13938
13930
  Object.defineProperty(exports, "startEntityExtraction", {
13939
13931
  enumerable: true,
13940
- get: function () { return chunkODGIOGH5_cjs.startEntityExtraction; }
13932
+ get: function () { return chunkUKEUDTOE_cjs.startEntityExtraction; }
13941
13933
  });
13942
13934
  Object.defineProperty(exports, "stopDocumentsLoading", {
13943
13935
  enumerable: true,
13944
- get: function () { return chunkODGIOGH5_cjs.stopDocumentsLoading; }
13936
+ get: function () { return chunkUKEUDTOE_cjs.stopDocumentsLoading; }
13945
13937
  });
13946
13938
  Object.defineProperty(exports, "subscribeDocumentRows", {
13947
13939
  enumerable: true,
13948
- get: function () { return chunkODGIOGH5_cjs.subscribeDocumentRows; }
13940
+ get: function () { return chunkUKEUDTOE_cjs.subscribeDocumentRows; }
13949
13941
  });
13950
13942
  Object.defineProperty(exports, "upsertDocuments", {
13951
13943
  enumerable: true,
13952
- get: function () { return chunkODGIOGH5_cjs.upsertDocuments; }
13944
+ get: function () { return chunkUKEUDTOE_cjs.upsertDocuments; }
13953
13945
  });
13954
13946
  Object.defineProperty(exports, "useArbiWsStore", {
13955
13947
  enumerable: true,
13956
- get: function () { return chunkODGIOGH5_cjs.useArbiWsStore; }
13948
+ get: function () { return chunkUKEUDTOE_cjs.useArbiWsStore; }
13957
13949
  });
13958
13950
  Object.defineProperty(exports, "useCreateTag", {
13959
13951
  enumerable: true,
13960
- get: function () { return chunkODGIOGH5_cjs.useCreateTag; }
13952
+ get: function () { return chunkUKEUDTOE_cjs.useCreateTag; }
13961
13953
  });
13962
13954
  Object.defineProperty(exports, "useDeleteTag", {
13963
13955
  enumerable: true,
13964
- get: function () { return chunkODGIOGH5_cjs.useDeleteTag; }
13956
+ get: function () { return chunkUKEUDTOE_cjs.useDeleteTag; }
13965
13957
  });
13966
13958
  Object.defineProperty(exports, "useDocument", {
13967
13959
  enumerable: true,
13968
- get: function () { return chunkODGIOGH5_cjs.useDocument; }
13960
+ get: function () { return chunkUKEUDTOE_cjs.useDocument; }
13969
13961
  });
13970
13962
  Object.defineProperty(exports, "useDocuments", {
13971
13963
  enumerable: true,
13972
- get: function () { return chunkODGIOGH5_cjs.useDocuments; }
13964
+ get: function () { return chunkUKEUDTOE_cjs.useDocuments; }
13973
13965
  });
13974
13966
  Object.defineProperty(exports, "useDocumentsById", {
13975
13967
  enumerable: true,
13976
- get: function () { return chunkODGIOGH5_cjs.useDocumentsById; }
13968
+ get: function () { return chunkUKEUDTOE_cjs.useDocumentsById; }
13977
13969
  });
13978
13970
  Object.defineProperty(exports, "useDocumentsLoading", {
13979
13971
  enumerable: true,
13980
- get: function () { return chunkODGIOGH5_cjs.useDocumentsLoading; }
13972
+ get: function () { return chunkUKEUDTOE_cjs.useDocumentsLoading; }
13981
13973
  });
13982
13974
  Object.defineProperty(exports, "useEntityExtractionDocIds", {
13983
13975
  enumerable: true,
13984
- get: function () { return chunkODGIOGH5_cjs.useEntityExtractionDocIds; }
13976
+ get: function () { return chunkUKEUDTOE_cjs.useEntityExtractionDocIds; }
13985
13977
  });
13986
13978
  Object.defineProperty(exports, "useExtractEntities", {
13987
13979
  enumerable: true,
13988
- get: function () { return chunkODGIOGH5_cjs.useExtractEntities; }
13980
+ get: function () { return chunkUKEUDTOE_cjs.useExtractEntities; }
13989
13981
  });
13990
13982
  Object.defineProperty(exports, "useInvalidateTagData", {
13991
13983
  enumerable: true,
13992
- get: function () { return chunkODGIOGH5_cjs.useInvalidateTagData; }
13984
+ get: function () { return chunkUKEUDTOE_cjs.useInvalidateTagData; }
13993
13985
  });
13994
13986
  Object.defineProperty(exports, "useIsCreatingTag", {
13995
13987
  enumerable: true,
13996
- get: function () { return chunkODGIOGH5_cjs.useIsCreatingTag; }
13988
+ get: function () { return chunkUKEUDTOE_cjs.useIsCreatingTag; }
13997
13989
  });
13998
13990
  Object.defineProperty(exports, "useRefreshDocuments", {
13999
13991
  enumerable: true,
14000
- get: function () { return chunkODGIOGH5_cjs.useRefreshDocuments; }
13992
+ get: function () { return chunkUKEUDTOE_cjs.useRefreshDocuments; }
14001
13993
  });
14002
13994
  Object.defineProperty(exports, "useSetTagValues", {
14003
13995
  enumerable: true,
14004
- get: function () { return chunkODGIOGH5_cjs.useSetTagValues; }
13996
+ get: function () { return chunkUKEUDTOE_cjs.useSetTagValues; }
14005
13997
  });
14006
13998
  Object.defineProperty(exports, "useSimilarDocuments", {
14007
13999
  enumerable: true,
14008
- get: function () { return chunkODGIOGH5_cjs.useSimilarDocuments; }
14000
+ get: function () { return chunkUKEUDTOE_cjs.useSimilarDocuments; }
14009
14001
  });
14010
14002
  Object.defineProperty(exports, "useTagKindSchema", {
14011
14003
  enumerable: true,
14012
- get: function () { return chunkODGIOGH5_cjs.useTagKindSchema; }
14004
+ get: function () { return chunkUKEUDTOE_cjs.useTagKindSchema; }
14013
14005
  });
14014
14006
  Object.defineProperty(exports, "useUpdateTag", {
14015
14007
  enumerable: true,
14016
- get: function () { return chunkODGIOGH5_cjs.useUpdateTag; }
14008
+ get: function () { return chunkUKEUDTOE_cjs.useUpdateTag; }
14017
14009
  });
14018
14010
  Object.defineProperty(exports, "useUpdateTagKindSchema", {
14019
14011
  enumerable: true,
14020
- get: function () { return chunkODGIOGH5_cjs.useUpdateTagKindSchema; }
14012
+ get: function () { return chunkUKEUDTOE_cjs.useUpdateTagKindSchema; }
14021
14013
  });
14022
14014
  Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
14023
14015
  enumerable: true,
14024
- get: function () { return chunkME4TS33T_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
14016
+ get: function () { return chunk2JQ7QNOO_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
14025
14017
  });
14026
14018
  Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
14027
14019
  enumerable: true,
14028
- get: function () { return chunkME4TS33T_cjs.EMPTY_SESSION_STATE; }
14020
+ get: function () { return chunk2JQ7QNOO_cjs.EMPTY_SESSION_STATE; }
14029
14021
  });
14030
14022
  Object.defineProperty(exports, "MAX_THREAD_TABS", {
14031
14023
  enumerable: true,
14032
- get: function () { return chunkME4TS33T_cjs.MAX_THREAD_TABS; }
14024
+ get: function () { return chunk2JQ7QNOO_cjs.MAX_THREAD_TABS; }
14033
14025
  });
14034
14026
  Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
14035
14027
  enumerable: true,
14036
- get: function () { return chunkME4TS33T_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
14028
+ get: function () { return chunk2JQ7QNOO_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
14037
14029
  });
14038
14030
  Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
14039
14031
  enumerable: true,
14040
- get: function () { return chunkME4TS33T_cjs.PROJECT_CREATION_DENIED_REASON; }
14032
+ get: function () { return chunk2JQ7QNOO_cjs.PROJECT_CREATION_DENIED_REASON; }
14041
14033
  });
14042
14034
  Object.defineProperty(exports, "agentControl", {
14043
14035
  enumerable: true,
14044
- get: function () { return chunkME4TS33T_cjs.agentControl; }
14036
+ get: function () { return chunk2JQ7QNOO_cjs.agentControl; }
14045
14037
  });
14046
14038
  Object.defineProperty(exports, "clearSealedDrafts", {
14047
14039
  enumerable: true,
14048
- get: function () { return chunkME4TS33T_cjs.clearSealedDrafts; }
14040
+ get: function () { return chunk2JQ7QNOO_cjs.clearSealedDrafts; }
14049
14041
  });
14050
14042
  Object.defineProperty(exports, "closePanelIn", {
14051
14043
  enumerable: true,
14052
- get: function () { return chunkME4TS33T_cjs.closePanelIn; }
14044
+ get: function () { return chunk2JQ7QNOO_cjs.closePanelIn; }
14053
14045
  });
14054
14046
  Object.defineProperty(exports, "conversationKey", {
14055
14047
  enumerable: true,
14056
- get: function () { return chunkME4TS33T_cjs.conversationKey; }
14048
+ get: function () { return chunk2JQ7QNOO_cjs.conversationKey; }
14057
14049
  });
14058
14050
  Object.defineProperty(exports, "createArbiLayoutStore", {
14059
14051
  enumerable: true,
14060
- get: function () { return chunkME4TS33T_cjs.createArbiLayoutStore; }
14052
+ get: function () { return chunk2JQ7QNOO_cjs.createArbiLayoutStore; }
14061
14053
  });
14062
14054
  Object.defineProperty(exports, "createArbiSessionStore", {
14063
14055
  enumerable: true,
14064
- get: function () { return chunkME4TS33T_cjs.createArbiSessionStore; }
14056
+ get: function () { return chunk2JQ7QNOO_cjs.createArbiSessionStore; }
14065
14057
  });
14066
14058
  Object.defineProperty(exports, "createDebouncedWriter", {
14067
14059
  enumerable: true,
14068
- get: function () { return chunkME4TS33T_cjs.createDebouncedWriter; }
14060
+ get: function () { return chunk2JQ7QNOO_cjs.createDebouncedWriter; }
14069
14061
  });
14070
14062
  Object.defineProperty(exports, "createSealedDraftStorage", {
14071
14063
  enumerable: true,
14072
- get: function () { return chunkME4TS33T_cjs.createSealedDraftStorage; }
14064
+ get: function () { return chunk2JQ7QNOO_cjs.createSealedDraftStorage; }
14073
14065
  });
14074
14066
  Object.defineProperty(exports, "createStoragePersist", {
14075
14067
  enumerable: true,
14076
- get: function () { return chunkME4TS33T_cjs.createStoragePersist; }
14068
+ get: function () { return chunk2JQ7QNOO_cjs.createStoragePersist; }
14077
14069
  });
14078
14070
  Object.defineProperty(exports, "defaultLayoutState", {
14079
14071
  enumerable: true,
14080
- get: function () { return chunkME4TS33T_cjs.defaultLayoutState; }
14072
+ get: function () { return chunk2JQ7QNOO_cjs.defaultLayoutState; }
14081
14073
  });
14082
14074
  Object.defineProperty(exports, "dmTabId", {
14083
14075
  enumerable: true,
14084
- get: function () { return chunkME4TS33T_cjs.dmTabId; }
14076
+ get: function () { return chunk2JQ7QNOO_cjs.dmTabId; }
14085
14077
  });
14086
14078
  Object.defineProperty(exports, "flushOnPageExit", {
14087
14079
  enumerable: true,
14088
- get: function () { return chunkME4TS33T_cjs.flushOnPageExit; }
14080
+ get: function () { return chunk2JQ7QNOO_cjs.flushOnPageExit; }
14089
14081
  });
14090
14082
  Object.defineProperty(exports, "isPanelOpen", {
14091
14083
  enumerable: true,
14092
- get: function () { return chunkME4TS33T_cjs.isPanelOpen; }
14084
+ get: function () { return chunk2JQ7QNOO_cjs.isPanelOpen; }
14093
14085
  });
14094
14086
  Object.defineProperty(exports, "isUsageMetered", {
14095
14087
  enumerable: true,
14096
- get: function () { return chunkME4TS33T_cjs.isUsageMetered; }
14088
+ get: function () { return chunk2JQ7QNOO_cjs.isUsageMetered; }
14097
14089
  });
14098
14090
  Object.defineProperty(exports, "layoutActionsOf", {
14099
14091
  enumerable: true,
14100
- get: function () { return chunkME4TS33T_cjs.layoutActionsOf; }
14092
+ get: function () { return chunk2JQ7QNOO_cjs.layoutActionsOf; }
14101
14093
  });
14102
14094
  Object.defineProperty(exports, "nextViewingDocument", {
14103
14095
  enumerable: true,
14104
- get: function () { return chunkME4TS33T_cjs.nextViewingDocument; }
14096
+ get: function () { return chunk2JQ7QNOO_cjs.nextViewingDocument; }
14105
14097
  });
14106
14098
  Object.defineProperty(exports, "openPanelIn", {
14107
14099
  enumerable: true,
14108
- get: function () { return chunkME4TS33T_cjs.openPanelIn; }
14100
+ get: function () { return chunk2JQ7QNOO_cjs.openPanelIn; }
14109
14101
  });
14110
14102
  Object.defineProperty(exports, "panelPlace", {
14111
14103
  enumerable: true,
14112
- get: function () { return chunkME4TS33T_cjs.panelPlace; }
14104
+ get: function () { return chunk2JQ7QNOO_cjs.panelPlace; }
14113
14105
  });
14114
14106
  Object.defineProperty(exports, "parseSavedLayout", {
14115
14107
  enumerable: true,
14116
- get: function () { return chunkME4TS33T_cjs.parseSavedLayout; }
14108
+ get: function () { return chunk2JQ7QNOO_cjs.parseSavedLayout; }
14117
14109
  });
14118
14110
  Object.defineProperty(exports, "queuedMessages", {
14119
14111
  enumerable: true,
14120
- get: function () { return chunkME4TS33T_cjs.queuedMessages; }
14112
+ get: function () { return chunk2JQ7QNOO_cjs.queuedMessages; }
14121
14113
  });
14122
14114
  Object.defineProperty(exports, "restoreLayout", {
14123
14115
  enumerable: true,
14124
- get: function () { return chunkME4TS33T_cjs.restoreLayout; }
14116
+ get: function () { return chunk2JQ7QNOO_cjs.restoreLayout; }
14125
14117
  });
14126
14118
  Object.defineProperty(exports, "savedLayoutOf", {
14127
14119
  enumerable: true,
14128
- get: function () { return chunkME4TS33T_cjs.savedLayoutOf; }
14120
+ get: function () { return chunk2JQ7QNOO_cjs.savedLayoutOf; }
14129
14121
  });
14130
14122
  Object.defineProperty(exports, "selectDraft", {
14131
14123
  enumerable: true,
14132
- get: function () { return chunkME4TS33T_cjs.selectDraft; }
14124
+ get: function () { return chunk2JQ7QNOO_cjs.selectDraft; }
14133
14125
  });
14134
14126
  Object.defineProperty(exports, "selectIsGenerating", {
14135
14127
  enumerable: true,
14136
- get: function () { return chunkME4TS33T_cjs.selectIsGenerating; }
14128
+ get: function () { return chunk2JQ7QNOO_cjs.selectIsGenerating; }
14137
14129
  });
14138
14130
  Object.defineProperty(exports, "selectViewingDocumentId", {
14139
14131
  enumerable: true,
14140
- get: function () { return chunkME4TS33T_cjs.selectViewingDocumentId; }
14132
+ get: function () { return chunk2JQ7QNOO_cjs.selectViewingDocumentId; }
14141
14133
  });
14142
14134
  Object.defineProperty(exports, "threadTabId", {
14143
14135
  enumerable: true,
14144
- get: function () { return chunkME4TS33T_cjs.threadTabId; }
14136
+ get: function () { return chunk2JQ7QNOO_cjs.threadTabId; }
14145
14137
  });
14146
14138
  Object.defineProperty(exports, "useActivity", {
14147
14139
  enumerable: true,
14148
- get: function () { return chunkME4TS33T_cjs.useActivity; }
14140
+ get: function () { return chunk2JQ7QNOO_cjs.useActivity; }
14149
14141
  });
14150
14142
  Object.defineProperty(exports, "useAgents", {
14151
14143
  enumerable: true,
14152
- get: function () { return chunkME4TS33T_cjs.useAgents; }
14144
+ get: function () { return chunk2JQ7QNOO_cjs.useAgents; }
14153
14145
  });
14154
14146
  Object.defineProperty(exports, "useArbiSession", {
14155
14147
  enumerable: true,
14156
- get: function () { return chunkME4TS33T_cjs.useArbiSession; }
14148
+ get: function () { return chunk2JQ7QNOO_cjs.useArbiSession; }
14157
14149
  });
14158
14150
  Object.defineProperty(exports, "useArbiSessionState", {
14159
14151
  enumerable: true,
14160
- get: function () { return chunkME4TS33T_cjs.useArbiSessionState; }
14152
+ get: function () { return chunk2JQ7QNOO_cjs.useArbiSessionState; }
14161
14153
  });
14162
14154
  Object.defineProperty(exports, "useArbiSessionStore", {
14163
14155
  enumerable: true,
14164
- get: function () { return chunkME4TS33T_cjs.useArbiSessionStore; }
14156
+ get: function () { return chunk2JQ7QNOO_cjs.useArbiSessionStore; }
14165
14157
  });
14166
14158
  Object.defineProperty(exports, "useAssistantQuery", {
14167
14159
  enumerable: true,
14168
- get: function () { return chunkME4TS33T_cjs.useAssistantQuery; }
14160
+ get: function () { return chunk2JQ7QNOO_cjs.useAssistantQuery; }
14169
14161
  });
14170
14162
  Object.defineProperty(exports, "useAvailableModels", {
14171
14163
  enumerable: true,
14172
- get: function () { return chunkME4TS33T_cjs.useAvailableModels; }
14164
+ get: function () { return chunk2JQ7QNOO_cjs.useAvailableModels; }
14173
14165
  });
14174
14166
  Object.defineProperty(exports, "useBoxRole", {
14175
14167
  enumerable: true,
14176
- get: function () { return chunkME4TS33T_cjs.useBoxRole; }
14168
+ get: function () { return chunk2JQ7QNOO_cjs.useBoxRole; }
14177
14169
  });
14178
14170
  Object.defineProperty(exports, "useBuiltinCommands", {
14179
14171
  enumerable: true,
14180
- get: function () { return chunkME4TS33T_cjs.useBuiltinCommands; }
14172
+ get: function () { return chunk2JQ7QNOO_cjs.useBuiltinCommands; }
14181
14173
  });
14182
14174
  Object.defineProperty(exports, "useCanCreateProjects", {
14183
14175
  enumerable: true,
14184
- get: function () { return chunkME4TS33T_cjs.useCanCreateProjects; }
14176
+ get: function () { return chunk2JQ7QNOO_cjs.useCanCreateProjects; }
14185
14177
  });
14186
14178
  Object.defineProperty(exports, "useConfig", {
14187
14179
  enumerable: true,
14188
- get: function () { return chunkME4TS33T_cjs.useConfig; }
14180
+ get: function () { return chunk2JQ7QNOO_cjs.useConfig; }
14189
14181
  });
14190
14182
  Object.defineProperty(exports, "useConfigs", {
14191
14183
  enumerable: true,
14192
- get: function () { return chunkME4TS33T_cjs.useConfigs; }
14184
+ get: function () { return chunk2JQ7QNOO_cjs.useConfigs; }
14193
14185
  });
14194
14186
  Object.defineProperty(exports, "useConversationThreads", {
14195
14187
  enumerable: true,
14196
- get: function () { return chunkME4TS33T_cjs.useConversationThreads; }
14188
+ get: function () { return chunk2JQ7QNOO_cjs.useConversationThreads; }
14197
14189
  });
14198
14190
  Object.defineProperty(exports, "useConversations", {
14199
14191
  enumerable: true,
14200
- get: function () { return chunkME4TS33T_cjs.useConversations; }
14192
+ get: function () { return chunk2JQ7QNOO_cjs.useConversations; }
14201
14193
  });
14202
14194
  Object.defineProperty(exports, "useCurrentUser", {
14203
14195
  enumerable: true,
14204
- get: function () { return chunkME4TS33T_cjs.useCurrentUser; }
14196
+ get: function () { return chunk2JQ7QNOO_cjs.useCurrentUser; }
14205
14197
  });
14206
14198
  Object.defineProperty(exports, "useDeleteAgents", {
14207
14199
  enumerable: true,
14208
- get: function () { return chunkME4TS33T_cjs.useDeleteAgents; }
14200
+ get: function () { return chunk2JQ7QNOO_cjs.useDeleteAgents; }
14209
14201
  });
14210
14202
  Object.defineProperty(exports, "useDocumentVersionList", {
14211
14203
  enumerable: true,
14212
- get: function () { return chunkME4TS33T_cjs.useDocumentVersionList; }
14204
+ get: function () { return chunk2JQ7QNOO_cjs.useDocumentVersionList; }
14213
14205
  });
14214
14206
  Object.defineProperty(exports, "useFirmPool", {
14215
14207
  enumerable: true,
14216
- get: function () { return chunkME4TS33T_cjs.useFirmPool; }
14208
+ get: function () { return chunk2JQ7QNOO_cjs.useFirmPool; }
14217
14209
  });
14218
14210
  Object.defineProperty(exports, "useHealth", {
14219
14211
  enumerable: true,
14220
- get: function () { return chunkME4TS33T_cjs.useHealth; }
14212
+ get: function () { return chunk2JQ7QNOO_cjs.useHealth; }
14221
14213
  });
14222
14214
  Object.defineProperty(exports, "useMessageDetails", {
14223
14215
  enumerable: true,
14224
- get: function () { return chunkME4TS33T_cjs.useMessageDetails; }
14216
+ get: function () { return chunk2JQ7QNOO_cjs.useMessageDetails; }
14225
14217
  });
14226
14218
  Object.defineProperty(exports, "useParsedDocument", {
14227
14219
  enumerable: true,
14228
- get: function () { return chunkME4TS33T_cjs.useParsedDocument; }
14220
+ get: function () { return chunk2JQ7QNOO_cjs.useParsedDocument; }
14229
14221
  });
14230
14222
  Object.defineProperty(exports, "useProjectInvoices", {
14231
14223
  enumerable: true,
14232
- get: function () { return chunkME4TS33T_cjs.useProjectInvoices; }
14224
+ get: function () { return chunk2JQ7QNOO_cjs.useProjectInvoices; }
14233
14225
  });
14234
14226
  Object.defineProperty(exports, "useProjectUsage", {
14235
14227
  enumerable: true,
14236
- get: function () { return chunkME4TS33T_cjs.useProjectUsage; }
14228
+ get: function () { return chunk2JQ7QNOO_cjs.useProjectUsage; }
14237
14229
  });
14238
14230
  Object.defineProperty(exports, "useProjects", {
14239
14231
  enumerable: true,
14240
- get: function () { return chunkME4TS33T_cjs.useProjects; }
14232
+ get: function () { return chunk2JQ7QNOO_cjs.useProjects; }
14241
14233
  });
14242
14234
  Object.defineProperty(exports, "useProjectsUsage", {
14243
14235
  enumerable: true,
14244
- get: function () { return chunkME4TS33T_cjs.useProjectsUsage; }
14236
+ get: function () { return chunk2JQ7QNOO_cjs.useProjectsUsage; }
14245
14237
  });
14246
14238
  Object.defineProperty(exports, "useSessionPageTab", {
14247
14239
  enumerable: true,
14248
- get: function () { return chunkME4TS33T_cjs.useSessionPageTab; }
14240
+ get: function () { return chunk2JQ7QNOO_cjs.useSessionPageTab; }
14249
14241
  });
14250
14242
  Object.defineProperty(exports, "useSessionView", {
14251
14243
  enumerable: true,
14252
- get: function () { return chunkME4TS33T_cjs.useSessionView; }
14244
+ get: function () { return chunk2JQ7QNOO_cjs.useSessionView; }
14253
14245
  });
14254
14246
  Object.defineProperty(exports, "useSignedInSession", {
14255
14247
  enumerable: true,
14256
- get: function () { return chunkME4TS33T_cjs.useSignedInSession; }
14248
+ get: function () { return chunk2JQ7QNOO_cjs.useSignedInSession; }
14257
14249
  });
14258
14250
  Object.defineProperty(exports, "useTags", {
14259
14251
  enumerable: true,
14260
- get: function () { return chunkME4TS33T_cjs.useTags; }
14252
+ get: function () { return chunk2JQ7QNOO_cjs.useTags; }
14261
14253
  });
14262
14254
  Object.defineProperty(exports, "useThumbnails", {
14263
14255
  enumerable: true,
14264
- get: function () { return chunkME4TS33T_cjs.useThumbnails; }
14256
+ get: function () { return chunk2JQ7QNOO_cjs.useThumbnails; }
14265
14257
  });
14266
14258
  Object.defineProperty(exports, "useTopUpFirmPool", {
14267
14259
  enumerable: true,
14268
- get: function () { return chunkME4TS33T_cjs.useTopUpFirmPool; }
14260
+ get: function () { return chunk2JQ7QNOO_cjs.useTopUpFirmPool; }
14269
14261
  });
14270
14262
  Object.defineProperty(exports, "useTransientView", {
14271
14263
  enumerable: true,
14272
- get: function () { return chunkME4TS33T_cjs.useTransientView; }
14264
+ get: function () { return chunk2JQ7QNOO_cjs.useTransientView; }
14273
14265
  });
14274
14266
  Object.defineProperty(exports, "useUserUsageToday", {
14275
14267
  enumerable: true,
14276
- get: function () { return chunkME4TS33T_cjs.useUserUsageToday; }
14268
+ get: function () { return chunk2JQ7QNOO_cjs.useUserUsageToday; }
14277
14269
  });
14278
14270
  Object.defineProperty(exports, "useWorkspaceActivity", {
14279
14271
  enumerable: true,
14280
- get: function () { return chunkME4TS33T_cjs.useWorkspaceActivity; }
14272
+ get: function () { return chunk2JQ7QNOO_cjs.useWorkspaceActivity; }
14281
14273
  });
14282
14274
  Object.defineProperty(exports, "useWorkspaces", {
14283
14275
  enumerable: true,
14284
- get: function () { return chunkME4TS33T_cjs.useWorkspaces; }
14276
+ get: function () { return chunk2JQ7QNOO_cjs.useWorkspaces; }
14285
14277
  });
14286
14278
  Object.defineProperty(exports, "arbiMutationKeys", {
14287
14279
  enumerable: true,
@@ -15421,15 +15413,15 @@ Object.defineProperty(exports, "cn", {
15421
15413
  });
15422
15414
  Object.defineProperty(exports, "useArbi", {
15423
15415
  enumerable: true,
15424
- get: function () { return chunkYIUUTRMQ_cjs.useArbi; }
15416
+ get: function () { return chunkYRY6DGRU_cjs.useArbi; }
15425
15417
  });
15426
15418
  Object.defineProperty(exports, "useArbiHost", {
15427
15419
  enumerable: true,
15428
- get: function () { return chunkYIUUTRMQ_cjs.useArbiHost; }
15420
+ get: function () { return chunkYRY6DGRU_cjs.useArbiHost; }
15429
15421
  });
15430
15422
  Object.defineProperty(exports, "useDeploymentDomain", {
15431
15423
  enumerable: true,
15432
- get: function () { return chunkYIUUTRMQ_cjs.useDeploymentDomain; }
15424
+ get: function () { return chunkYRY6DGRU_cjs.useDeploymentDomain; }
15433
15425
  });
15434
15426
  Object.defineProperty(exports, "useHostConfigRecord", {
15435
15427
  enumerable: true,
@@ -16045,7 +16037,6 @@ exports.useUpdateMailMessage = useUpdateMailMessage;
16045
16037
  exports.useUpdateProjectAddonSettings = useUpdateProjectAddonSettings;
16046
16038
  exports.useUpdateProjectFields = useUpdateProjectFields;
16047
16039
  exports.useUpdateProjectNextPeriodAddons = useUpdateProjectNextPeriodAddons;
16048
- exports.useUpdateUserSettings = useUpdateUserSettings;
16049
16040
  exports.useUpdateWorkflow = useUpdateWorkflow;
16050
16041
  exports.useUpdateWorkspace = useUpdateWorkspace;
16051
16042
  exports.useUploadDocuments = useUploadDocuments;
@@ -16053,7 +16044,6 @@ exports.useUploadFiles = useUploadFiles;
16053
16044
  exports.useUploadFromUrls = useUploadFromUrls;
16054
16045
  exports.useUploadSkillFiles = useUploadSkillFiles;
16055
16046
  exports.useUploadUrls = useUploadUrls;
16056
- exports.useUserSettings = useUserSettings;
16057
16047
  exports.useVideoRecorder = useVideoRecorder;
16058
16048
  exports.useWorkItems = useWorkItems;
16059
16049
  exports.useWorkNotifications = useWorkNotifications;