@arbidocs/react 0.5.53 → 0.5.55

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 +797 -780
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.cts +202 -122
  31. package/dist/index.d.ts +202 -122
  32. package/dist/index.js +37 -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;
@@ -6321,9 +6289,35 @@ var ChatBubble = React.memo(function ChatBubble2({
6321
6289
  }
6322
6290
  );
6323
6291
  });
6292
+ function hashText(text) {
6293
+ let h = 5381;
6294
+ for (let i = 0; i < text.length; i++) h = h * 33 ^ text.charCodeAt(i);
6295
+ return (h >>> 0).toString(36);
6296
+ }
6297
+ function createSkillPack({ id, skills, marker }) {
6298
+ const version = hashText(skills.map((skill) => skill.markdown).join("\n"));
6299
+ const slug = marker?.slug ?? `${id}-version`;
6300
+ const note = marker?.note ?? "The version of the skills installed here. Not for use.";
6301
+ return {
6302
+ id,
6303
+ version,
6304
+ marker: {
6305
+ slug,
6306
+ markdown: `---
6307
+ name: ${slug}
6308
+ description: ${version}
6309
+ user-invocable: false
6310
+ ---
6311
+
6312
+ ${note}
6313
+ `
6314
+ },
6315
+ skills
6316
+ };
6317
+ }
6324
6318
  var installs = /* @__PURE__ */ new WeakMap();
6325
6319
  function useInstallSkillPack(pack) {
6326
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
6320
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
6327
6321
  const upload = useUploadSkillFiles();
6328
6322
  return reactQuery.useMutation({
6329
6323
  mutationFn: ({ workspaceId }) => {
@@ -6476,7 +6470,7 @@ var NO_MAIL = {
6476
6470
  };
6477
6471
  var ALWAYS = () => ({ enabled: true, sessionKey: "session" });
6478
6472
  function useMailClient() {
6479
- const { mail, arbi } = chunkYIUUTRMQ_cjs.useArbiHost();
6473
+ const { mail, arbi } = chunkYRY6DGRU_cjs.useArbiHost();
6480
6474
  const fallback = React.useMemo(() => arbi ? arbiMailClient(arbi) : null, [arbi]);
6481
6475
  const useStatus = mail ? mail.useStatus ?? ALWAYS : ALWAYS;
6482
6476
  const { enabled, sessionKey } = useStatus();
@@ -6860,19 +6854,19 @@ function ArbiWebSocketProvider({
6860
6854
  onAuthenticated,
6861
6855
  children
6862
6856
  }) {
6863
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
6857
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
6864
6858
  const arbiRef = React.useRef(arbi);
6865
6859
  arbiRef.current = arbi;
6866
6860
  const queryClient = reactQuery.useQueryClient();
6867
6861
  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);
6862
+ const setStatus = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.setStatus);
6863
+ const applyTaskUpdate = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.applyTaskUpdate);
6864
+ const applyPresence = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.applyPresence);
6865
+ const reset = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.reset);
6866
+ const setEvicted = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.setEvicted);
6873
6867
  const onAuthenticatedRef = React.useRef(onAuthenticated);
6874
6868
  onAuthenticatedRef.current = onAuthenticated;
6875
- const acceptRings = chunkYIUUTRMQ_cjs.useArbiHost().calls?.useEnabled?.() ?? true;
6869
+ const acceptRings = chunk3CVY5SGY_cjs.useFeature("calls");
6876
6870
  const acceptRingsRef = React.useRef(acceptRings);
6877
6871
  acceptRingsRef.current = acceptRings;
6878
6872
  const context = React.useMemo(
@@ -6905,18 +6899,18 @@ function ArbiWebSocketProvider({
6905
6899
  } else if (client.isMessageType(msg, "presence_update")) applyPresence(msg);
6906
6900
  else if (client.isMessageType(msg, "batch_complete")) {
6907
6901
  if (msg.batch_type === "entity_extract") {
6908
- chunkODGIOGH5_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
6902
+ chunkUKEUDTOE_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
6909
6903
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allFacts() });
6910
6904
  }
6911
6905
  if (msg.batch_type === "upload" || msg.batch_type === "entity_extract") {
6912
6906
  if (msg.doc_ext_ids?.length)
6913
- void chunkODGIOGH5_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
6907
+ void chunkUKEUDTOE_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
6914
6908
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allTags() });
6915
6909
  }
6916
6910
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
6917
- void chunkW7DQJT4T_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
6911
+ void chunk3CVY5SGY_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
6918
6912
  else if (type.startsWith("call."))
6919
- chunkW7DQJT4T_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
6913
+ chunk3CVY5SGY_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
6920
6914
  else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
6921
6915
  else void applyLiveUpdate(queryClient, msg);
6922
6916
  for (const fn of subscribersRef.current) {
@@ -7022,10 +7016,10 @@ function useArbiWsMessage(type, handler) {
7022
7016
  );
7023
7017
  }
7024
7018
  function useArbiWsStatus() {
7025
- return chunkODGIOGH5_cjs.useArbiWsStore((s) => s.status);
7019
+ return chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.status);
7026
7020
  }
7027
7021
  function useArbiConnected() {
7028
- return chunkODGIOGH5_cjs.useArbiWsStore((s) => s.status === "connected");
7022
+ return chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.status === "connected");
7029
7023
  }
7030
7024
  var WORKSPACE_SCOPED_PACKAGE_KEYS = [
7031
7025
  chunkRRWAX52L_cjs.arbiQueryKeys.allDocuments(),
@@ -7165,10 +7159,10 @@ function createWorkspaceSwitch({
7165
7159
  return { switchWorkspace, clearWorkspace, openSelectedWorkspace, settled: switchesSettled };
7166
7160
  }
7167
7161
  function useSwitchWorkspace() {
7168
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7162
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7169
7163
  const arbiRef = React.useRef(arbi);
7170
7164
  arbiRef.current = arbi;
7171
- const session = chunkME4TS33T_cjs.useArbiSessionStore();
7165
+ const session = chunk2JQ7QNOO_cjs.useArbiSessionStore();
7172
7166
  const queryClient = reactQuery.useQueryClient();
7173
7167
  React.useEffect(
7174
7168
  () => arbi.onSigningOut?.(() => {
@@ -7183,11 +7177,11 @@ function useSwitchWorkspace() {
7183
7177
  );
7184
7178
  }
7185
7179
  function useOpenSelectedWorkspace() {
7186
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7180
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7187
7181
  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();
7182
+ const workspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
7183
+ const status = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceStatus);
7184
+ const { data: workspaces, isLoading: listing } = chunk2JQ7QNOO_cjs.useWorkspaces();
7191
7185
  const archived = workspaces?.find(
7192
7186
  (w) => w.external_id === workspaceId && w.archive
7193
7187
  );
@@ -7330,8 +7324,8 @@ function useShellWorkspaces(options) {
7330
7324
  };
7331
7325
  }
7332
7326
  function useArbiShellWorkspaces(options = {}) {
7333
- const sessionWorkspaceId = chunkME4TS33T_cjs.useArbiSessionState((s) => s.workspaceId);
7334
- const query = chunkME4TS33T_cjs.useWorkspaces();
7327
+ const sessionWorkspaceId = chunk2JQ7QNOO_cjs.useArbiSessionState((s) => s.workspaceId);
7328
+ const query = chunk2JQ7QNOO_cjs.useWorkspaces();
7335
7329
  const { switchWorkspace } = useSwitchWorkspace();
7336
7330
  const { select, ...rest } = options;
7337
7331
  const defaultSelect = React.useCallback(
@@ -7351,7 +7345,7 @@ function useArbiShellWorkspaces(options = {}) {
7351
7345
  });
7352
7346
  }
7353
7347
  function useCreateWorkspace() {
7354
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7348
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7355
7349
  const qc = reactQuery.useQueryClient();
7356
7350
  return reactQuery.useMutation({
7357
7351
  mutationFn: ({ name, projectId, description, isPublic }) => arbi.workspaces.create(name, projectId, description, isPublic),
@@ -7368,7 +7362,7 @@ function useCreateWorkspace() {
7368
7362
  });
7369
7363
  }
7370
7364
  function useMoveWorkspaceToProject() {
7371
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7365
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7372
7366
  const qc = reactQuery.useQueryClient();
7373
7367
  return reactQuery.useMutation({
7374
7368
  mutationFn: ({ workspaceId, projectId }) => arbi.workspaces.moveToProject(workspaceId, projectId),
@@ -7379,7 +7373,7 @@ function useMoveWorkspaceToProject() {
7379
7373
  });
7380
7374
  }
7381
7375
  function useUpdateWorkspace() {
7382
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7376
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7383
7377
  const qc = reactQuery.useQueryClient();
7384
7378
  return reactQuery.useMutation({
7385
7379
  mutationFn: (body) => arbi.workspaces.update(body),
@@ -7387,7 +7381,7 @@ function useUpdateWorkspace() {
7387
7381
  });
7388
7382
  }
7389
7383
  function useDeleteWorkspaces() {
7390
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7384
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7391
7385
  const qc = reactQuery.useQueryClient();
7392
7386
  return reactQuery.useMutation({
7393
7387
  mutationFn: (workspaceIds) => arbi.workspaces.delete(workspaceIds),
@@ -7447,7 +7441,7 @@ function openWorkspaceId(arbi) {
7447
7441
  return arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
7448
7442
  }
7449
7443
  function usePlanWorkspaceTransfer(scope, mode, options = {}) {
7450
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7444
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7451
7445
  const workspaceId = openWorkspaceId(arbi);
7452
7446
  return reactQuery.useQuery({
7453
7447
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTransferPlan(workspaceId, JSON.stringify(scope), mode),
@@ -7458,13 +7452,13 @@ function usePlanWorkspaceTransfer(scope, mode, options = {}) {
7458
7452
  });
7459
7453
  }
7460
7454
  function useStartWorkspaceTransfer() {
7461
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7455
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7462
7456
  return reactQuery.useMutation({
7463
7457
  mutationFn: (params) => arbi.workspaces.transfer.start(params)
7464
7458
  });
7465
7459
  }
7466
7460
  function useResumeWorkspaceTransfer() {
7467
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7461
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7468
7462
  return reactQuery.useMutation({
7469
7463
  mutationFn: ({
7470
7464
  transferId,
@@ -7473,13 +7467,13 @@ function useResumeWorkspaceTransfer() {
7473
7467
  });
7474
7468
  }
7475
7469
  function useCancelWorkspaceTransfer() {
7476
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7470
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7477
7471
  return reactQuery.useMutation({
7478
7472
  mutationFn: (transferId) => arbi.workspaces.transfer.cancel(transferId)
7479
7473
  });
7480
7474
  }
7481
7475
  function useWorkspaceTransfer(transferId) {
7482
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7476
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7483
7477
  return reactQuery.useQuery({
7484
7478
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTransfer(transferId ?? ""),
7485
7479
  queryFn: () => arbi.workspaces.transfer.get(transferId ?? ""),
@@ -7489,7 +7483,7 @@ function useWorkspaceTransfer(transferId) {
7489
7483
  });
7490
7484
  }
7491
7485
  function useWorkspaceTransfers(options = {}) {
7492
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7486
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7493
7487
  const workspaceId = openWorkspaceId(arbi);
7494
7488
  return reactQuery.useQuery({
7495
7489
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTransfers(workspaceId),
@@ -7517,7 +7511,7 @@ function useInvalidateAfterTransfer() {
7517
7511
  );
7518
7512
  }
7519
7513
  function useWorkspaceExportDownload({ workspaceName } = {}) {
7520
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7514
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7521
7515
  const [progress, setProgress] = React.useState(null);
7522
7516
  const download = React.useCallback(
7523
7517
  async ({ scope, documents: documents2 = [], csvColumns }) => {
@@ -7538,12 +7532,12 @@ function useWorkspaceExportDownload({ workspaceName } = {}) {
7538
7532
  const client = arbi.getClient().fetch;
7539
7533
  const archive = await buildWorkspaceArchive({
7540
7534
  exportData: data,
7541
- fetchFile: async (docExtId, version, kind) => kind === "markup" ? (await chunkONGNP4JM_cjs.fetchMarkupPdf(client, docExtId, version)).blob : chunkONGNP4JM_cjs.fetchDocumentFile(client, docExtId, { version }),
7535
+ fetchFile: async (docExtId, version, kind) => kind === "markup" ? (await chunkV64EETLS_cjs.fetchMarkupPdf(client, docExtId, version)).blob : chunkV64EETLS_cjs.fetchDocumentFile(client, docExtId, { version }),
7542
7536
  metadataCsv,
7543
7537
  onProgress: (done, total) => setProgress({ done, total })
7544
7538
  });
7545
7539
  const fileName = archiveName(workspaceName, "export");
7546
- chunkONGNP4JM_cjs.downloadBlob(archive.blob, fileName);
7540
+ chunkV64EETLS_cjs.downloadBlob(archive.blob, fileName);
7547
7541
  const files = `${archive.fileCount} file${archive.fileCount !== 1 ? "s" : ""}`;
7548
7542
  if (archive.failed.length === 0) {
7549
7543
  chunkVAMPYLQ4_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
@@ -7576,7 +7570,7 @@ async function openAccessRequest(content, requesterPublicKey) {
7576
7570
  }
7577
7571
  }
7578
7572
  function useRequestWorkspaceAccess() {
7579
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7573
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7580
7574
  const qc = reactQuery.useQueryClient();
7581
7575
  return reactQuery.useMutation({
7582
7576
  mutationFn: ({
@@ -7594,7 +7588,7 @@ function useRequestWorkspaceAccess() {
7594
7588
  var ARCHIVE_POLL_MS = 5e3;
7595
7589
  var isArchiveMoving = (status) => status === "archiving" || status === "restoring";
7596
7590
  function useWorkspaceArchive(workspaceId, enabled = true) {
7597
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7591
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7598
7592
  return reactQuery.useQuery({
7599
7593
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceArchive(workspaceId ?? ""),
7600
7594
  queryFn: () => arbi.workspaces.archiveState(workspaceId),
@@ -7611,7 +7605,7 @@ function invalidateArchive(queryClient) {
7611
7605
  ]);
7612
7606
  }
7613
7607
  function useArchiveWorkspace() {
7614
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7608
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7615
7609
  const queryClient = reactQuery.useQueryClient();
7616
7610
  return reactQuery.useMutation({
7617
7611
  mutationFn: (workspaceId) => arbi.workspaces.archive(workspaceId),
@@ -7619,7 +7613,7 @@ function useArchiveWorkspace() {
7619
7613
  });
7620
7614
  }
7621
7615
  function useUnarchiveWorkspace() {
7622
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7616
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7623
7617
  const queryClient = reactQuery.useQueryClient();
7624
7618
  return reactQuery.useMutation({
7625
7619
  mutationFn: (workspaceId) => arbi.workspaces.unarchive(workspaceId),
@@ -7638,7 +7632,7 @@ function useArchiveProgressPolling(workspaces) {
7638
7632
  }, [moving, queryClient]);
7639
7633
  }
7640
7634
  function useFacts(workspaceId, options) {
7641
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7635
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7642
7636
  const { enabled = true, ...filter } = options ?? {};
7643
7637
  const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
7644
7638
  return reactQuery.useQuery({
@@ -7653,7 +7647,7 @@ function useRefreshFacts() {
7653
7647
  return () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allFacts() });
7654
7648
  }
7655
7649
  function useCreateFact() {
7656
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7650
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7657
7651
  const refresh = useRefreshFacts();
7658
7652
  return reactQuery.useMutation({
7659
7653
  mutationFn: (body) => arbi.facts.create(body),
@@ -7661,7 +7655,7 @@ function useCreateFact() {
7661
7655
  });
7662
7656
  }
7663
7657
  function useCreateFacts() {
7664
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7658
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7665
7659
  const refresh = useRefreshFacts();
7666
7660
  return reactQuery.useMutation({
7667
7661
  mutationFn: (body) => arbi.facts.createBatch(body),
@@ -7669,7 +7663,7 @@ function useCreateFacts() {
7669
7663
  });
7670
7664
  }
7671
7665
  function useUpdateFact() {
7672
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7666
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7673
7667
  const refresh = useRefreshFacts();
7674
7668
  return reactQuery.useMutation({
7675
7669
  mutationFn: ({ factId, patch }) => arbi.facts.update(factId, patch),
@@ -7677,7 +7671,7 @@ function useUpdateFact() {
7677
7671
  });
7678
7672
  }
7679
7673
  function useDeleteFact() {
7680
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7674
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7681
7675
  const refresh = useRefreshFacts();
7682
7676
  return reactQuery.useMutation({
7683
7677
  mutationFn: (factId) => arbi.facts.delete(factId),
@@ -7685,7 +7679,7 @@ function useDeleteFact() {
7685
7679
  });
7686
7680
  }
7687
7681
  function useSearchFacts() {
7688
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7682
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7689
7683
  return reactQuery.useMutation({
7690
7684
  mutationFn: (body) => arbi.facts.search(body)
7691
7685
  });
@@ -7708,7 +7702,7 @@ function useInvalidate() {
7708
7702
  };
7709
7703
  }
7710
7704
  function useDatabases() {
7711
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7705
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7712
7706
  return reactQuery.useQuery({
7713
7707
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.databaseList(),
7714
7708
  queryFn: () => arbi.databases.list(),
@@ -7717,7 +7711,7 @@ function useDatabases() {
7717
7711
  });
7718
7712
  }
7719
7713
  function useDatabase(databaseId) {
7720
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7714
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7721
7715
  return reactQuery.useQuery({
7722
7716
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.database(databaseId ?? ""),
7723
7717
  queryFn: () => arbi.databases.get(databaseId),
@@ -7726,7 +7720,7 @@ function useDatabase(databaseId) {
7726
7720
  });
7727
7721
  }
7728
7722
  function useDatabaseRows(databaseId, q) {
7729
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7723
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7730
7724
  const query = { q: q.trim() || void 0, limit: DATABASE_ROWS_PAGE };
7731
7725
  return reactQuery.useQuery({
7732
7726
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.databaseRows(databaseId ?? "", query),
@@ -7737,14 +7731,14 @@ function useDatabaseRows(databaseId, q) {
7737
7731
  });
7738
7732
  }
7739
7733
  function useSearchDatabaseRows() {
7740
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7734
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7741
7735
  return React.useCallback(
7742
7736
  (databaseId, q) => arbi.databases.rows(databaseId, { q: q.trim() || void 0, limit: DATABASE_RELATION_PICK_LIMIT }).then((page) => page.rows),
7743
7737
  [arbi]
7744
7738
  );
7745
7739
  }
7746
7740
  function useCreateDatabase() {
7747
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7741
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7748
7742
  const invalidate = useInvalidate();
7749
7743
  return reactQuery.useMutation({
7750
7744
  mutationFn: (body) => arbi.databases.create(body),
@@ -7752,7 +7746,7 @@ function useCreateDatabase() {
7752
7746
  });
7753
7747
  }
7754
7748
  function useUpdateDatabase() {
7755
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7749
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7756
7750
  const invalidate = useInvalidate();
7757
7751
  return reactQuery.useMutation({
7758
7752
  mutationFn: ({ databaseId, patch }) => arbi.databases.update(databaseId, patch),
@@ -7760,7 +7754,7 @@ function useUpdateDatabase() {
7760
7754
  });
7761
7755
  }
7762
7756
  function useDeleteDatabase() {
7763
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7757
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7764
7758
  const invalidate = useInvalidate();
7765
7759
  return reactQuery.useMutation({
7766
7760
  mutationFn: (databaseId) => arbi.databases.delete(databaseId),
@@ -7768,7 +7762,7 @@ function useDeleteDatabase() {
7768
7762
  });
7769
7763
  }
7770
7764
  function useAddDatabaseRows() {
7771
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7765
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7772
7766
  const invalidate = useInvalidate();
7773
7767
  return reactQuery.useMutation({
7774
7768
  mutationFn: ({
@@ -7779,7 +7773,7 @@ function useAddDatabaseRows() {
7779
7773
  });
7780
7774
  }
7781
7775
  function useUpdateDatabaseRow() {
7782
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7776
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7783
7777
  const queryClient = reactQuery.useQueryClient();
7784
7778
  return reactQuery.useMutation({
7785
7779
  mutationFn: ({
@@ -7804,7 +7798,7 @@ function useUpdateDatabaseRow() {
7804
7798
  });
7805
7799
  }
7806
7800
  function useDeleteDatabaseRows() {
7807
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7801
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7808
7802
  const invalidate = useInvalidate();
7809
7803
  return reactQuery.useMutation({
7810
7804
  mutationFn: ({ databaseId, ids }) => arbi.databases.deleteRows(databaseId, ids),
@@ -7812,7 +7806,7 @@ function useDeleteDatabaseRows() {
7812
7806
  });
7813
7807
  }
7814
7808
  function useImportDatabase() {
7815
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7809
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7816
7810
  const invalidate = useInvalidate();
7817
7811
  return reactQuery.useMutation({
7818
7812
  mutationFn: ({ file, name }) => arbi.databases.import(file, name),
@@ -7820,7 +7814,7 @@ function useImportDatabase() {
7820
7814
  });
7821
7815
  }
7822
7816
  function useImportDatabaseRows() {
7823
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7817
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7824
7818
  const invalidate = useInvalidate();
7825
7819
  return reactQuery.useMutation({
7826
7820
  mutationFn: ({ databaseId, file }) => arbi.databases.importRows(databaseId, file),
@@ -7828,7 +7822,7 @@ function useImportDatabaseRows() {
7828
7822
  });
7829
7823
  }
7830
7824
  function useExportDatabase() {
7831
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7825
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7832
7826
  return React.useCallback(
7833
7827
  (databaseId, format) => arbi.databases.export(databaseId, format),
7834
7828
  [arbi]
@@ -7845,7 +7839,7 @@ function indexPassages(results) {
7845
7839
  return index;
7846
7840
  }
7847
7841
  function usePassageQuotes(docIds) {
7848
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7842
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7849
7843
  const passages = reactQuery.useQueries({
7850
7844
  queries: [...new Set(docIds ?? [])].map((docId) => ({
7851
7845
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.parsedDoc(docId, "final"),
@@ -7864,7 +7858,7 @@ function usePassageQuotes(docIds) {
7864
7858
  );
7865
7859
  }
7866
7860
  function useFilteredProjects(filters, options) {
7867
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7861
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7868
7862
  return reactQuery.useQuery({
7869
7863
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.projectsFiltered(filters.stage, filters.leadUser),
7870
7864
  queryFn: () => arbi.projects.list(filters),
@@ -7872,7 +7866,7 @@ function useFilteredProjects(filters, options) {
7872
7866
  });
7873
7867
  }
7874
7868
  function useUpdateProjectFields() {
7875
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7869
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7876
7870
  const qc = reactQuery.useQueryClient();
7877
7871
  return reactQuery.useMutation({
7878
7872
  mutationFn: ({
@@ -7886,7 +7880,7 @@ function useUpdateProjectFields() {
7886
7880
  });
7887
7881
  }
7888
7882
  function useProjectEvents(projectExtId, options) {
7889
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7883
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7890
7884
  return reactQuery.useQuery({
7891
7885
  queryKey: [
7892
7886
  ...chunkRRWAX52L_cjs.arbiQueryKeys.projectEvents(projectExtId ?? ""),
@@ -7898,7 +7892,7 @@ function useProjectEvents(projectExtId, options) {
7898
7892
  });
7899
7893
  }
7900
7894
  function useConversationUsage(conversationId, options) {
7901
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7895
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7902
7896
  return reactQuery.useQuery({
7903
7897
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.conversationUsage(conversationId ?? ""),
7904
7898
  queryFn: () => arbi.conversations.usage(conversationId),
@@ -7907,7 +7901,7 @@ function useConversationUsage(conversationId, options) {
7907
7901
  });
7908
7902
  }
7909
7903
  function useProjectConversationUsage(projectExtId, monthsBack = 0, options) {
7910
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7904
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7911
7905
  return reactQuery.useQuery({
7912
7906
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.projectConversationUsage(projectExtId ?? "", monthsBack),
7913
7907
  queryFn: () => arbi.projects.usageByConversation(projectExtId, monthsBack),
@@ -7989,7 +7983,7 @@ function useInvalidateProjects() {
7989
7983
  return () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.projects() });
7990
7984
  }
7991
7985
  function useProducts(options) {
7992
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7986
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
7993
7987
  return reactQuery.useQuery({
7994
7988
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.products(),
7995
7989
  queryFn: () => arbi.projects.products(),
@@ -7998,7 +7992,7 @@ function useProducts(options) {
7998
7992
  });
7999
7993
  }
8000
7994
  function useCreateProject() {
8001
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
7995
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8002
7996
  const qc = reactQuery.useQueryClient();
8003
7997
  return reactQuery.useMutation({
8004
7998
  mutationFn: async ({ name, plan, workspace, ...details }) => {
@@ -8034,7 +8028,7 @@ function useCreateProject() {
8034
8028
  });
8035
8029
  }
8036
8030
  function useDeleteProject() {
8037
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8031
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8038
8032
  const qc = reactQuery.useQueryClient();
8039
8033
  return reactQuery.useMutation({
8040
8034
  mutationFn: (projectExtId) => arbi.projects.delete(projectExtId),
@@ -8042,7 +8036,7 @@ function useDeleteProject() {
8042
8036
  });
8043
8037
  }
8044
8038
  function useRefreshProject() {
8045
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8039
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8046
8040
  const qc = reactQuery.useQueryClient();
8047
8041
  return reactQuery.useMutation({
8048
8042
  mutationFn: (projectExtId) => arbi.projects.refresh(projectExtId),
@@ -8050,13 +8044,13 @@ function useRefreshProject() {
8050
8044
  });
8051
8045
  }
8052
8046
  function useCreateProjectCheckout() {
8053
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8047
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8054
8048
  return reactQuery.useMutation({
8055
8049
  mutationFn: ({ projectExtId, body }) => arbi.projects.checkout(projectExtId, body)
8056
8050
  });
8057
8051
  }
8058
8052
  function useChangeProjectPlan() {
8059
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8053
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8060
8054
  const qc = reactQuery.useQueryClient();
8061
8055
  return reactQuery.useMutation({
8062
8056
  mutationFn: ({
@@ -8067,7 +8061,7 @@ function useChangeProjectPlan() {
8067
8061
  });
8068
8062
  }
8069
8063
  function useCancelProjectSubscription() {
8070
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8064
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8071
8065
  const qc = reactQuery.useQueryClient();
8072
8066
  return reactQuery.useMutation({
8073
8067
  mutationFn: (projectExtId) => arbi.projects.cancelSubscription(projectExtId),
@@ -8078,7 +8072,7 @@ function useCancelProjectSubscription() {
8078
8072
  });
8079
8073
  }
8080
8074
  function usePreviewProjectPlanChange(projectExtId, change) {
8081
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8075
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8082
8076
  return reactQuery.useQuery({
8083
8077
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.billingQuotes(), "preview", projectExtId, change],
8084
8078
  queryFn: () => arbi.projects.previewPlanChange(projectExtId, change),
@@ -8088,7 +8082,7 @@ function usePreviewProjectPlanChange(projectExtId, change) {
8088
8082
  });
8089
8083
  }
8090
8084
  function usePlanQuote(projectExtId, body) {
8091
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8085
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8092
8086
  return reactQuery.useQuery({
8093
8087
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.billingQuotes(), "plan", projectExtId ?? null, body],
8094
8088
  queryFn: () => arbi.projects.quotePlan(projectExtId ?? null, body),
@@ -8098,7 +8092,7 @@ function usePlanQuote(projectExtId, body) {
8098
8092
  });
8099
8093
  }
8100
8094
  function useAddonQuote(projectExtId, kind, enabled = true) {
8101
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8095
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8102
8096
  return reactQuery.useQuery({
8103
8097
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.billingQuotes(), "addon", projectExtId, kind],
8104
8098
  queryFn: () => arbi.projects.quoteAddon(projectExtId, kind),
@@ -8108,13 +8102,13 @@ function useAddonQuote(projectExtId, kind, enabled = true) {
8108
8102
  });
8109
8103
  }
8110
8104
  function useProjectBillingPortal() {
8111
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8105
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8112
8106
  return reactQuery.useMutation({
8113
8107
  mutationFn: (projectExtId) => arbi.projects.billingPortal(projectExtId)
8114
8108
  });
8115
8109
  }
8116
8110
  function useAddProjectAddonBlock() {
8117
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8111
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8118
8112
  const qc = reactQuery.useQueryClient();
8119
8113
  return reactQuery.useMutation({
8120
8114
  mutationFn: ({ projectExtId, kind }) => arbi.projects.addAddonBlock(projectExtId, kind),
@@ -8122,7 +8116,7 @@ function useAddProjectAddonBlock() {
8122
8116
  });
8123
8117
  }
8124
8118
  function useUpdateProjectNextPeriodAddons() {
8125
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8119
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8126
8120
  const qc = reactQuery.useQueryClient();
8127
8121
  return reactQuery.useMutation({
8128
8122
  mutationFn: ({
@@ -8133,7 +8127,7 @@ function useUpdateProjectNextPeriodAddons() {
8133
8127
  });
8134
8128
  }
8135
8129
  function useUpdateProjectAddonSettings() {
8136
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8130
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8137
8131
  const qc = reactQuery.useQueryClient();
8138
8132
  return reactQuery.useMutation({
8139
8133
  mutationFn: ({
@@ -8148,7 +8142,7 @@ function dataOrThrow({ data, error }) {
8148
8142
  return data;
8149
8143
  }
8150
8144
  function useStorageProjects(scope = "mine", project) {
8151
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8145
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8152
8146
  const query = { scope, include: ["workspaces"], ...project ? { project } : {} };
8153
8147
  return reactQuery.useQuery({
8154
8148
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.storageProjects(query),
@@ -8159,7 +8153,7 @@ function useStorageProjects(scope = "mine", project) {
8159
8153
  });
8160
8154
  }
8161
8155
  function useStorageItems(query, enabled = true) {
8162
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8156
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8163
8157
  const params = { limit: 50, ...query };
8164
8158
  return reactQuery.useQuery({
8165
8159
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.storageItems(params),
@@ -8172,7 +8166,7 @@ function useStorageItems(query, enabled = true) {
8172
8166
  });
8173
8167
  }
8174
8168
  function useStorageItemNames(items, query) {
8175
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8169
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8176
8170
  const workspaces = [
8177
8171
  ...new Set(
8178
8172
  (items ?? []).filter((i) => i.kind === "document" && i.workspace_ext_id).map((i) => i.workspace_ext_id)
@@ -8206,7 +8200,7 @@ function useStorageItemNames(items, query) {
8206
8200
  });
8207
8201
  }
8208
8202
  function useStorageSnapshots(enabled) {
8209
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8203
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8210
8204
  const query = { limit: 90 };
8211
8205
  return reactQuery.useQuery({
8212
8206
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.storageSnapshots(query),
@@ -8232,7 +8226,7 @@ function fail(fallback, error) {
8232
8226
  throw new StorageActionError(message);
8233
8227
  }
8234
8228
  function useWorkspaceTrash(workspace, enabled = true) {
8235
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8229
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8236
8230
  return reactQuery.useQuery({
8237
8231
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaceTrash(workspace ?? ""),
8238
8232
  enabled: arbi.isLoggedIn && Boolean(workspace) && enabled,
@@ -8252,7 +8246,7 @@ function useWorkspaceTrash(workspace, enabled = true) {
8252
8246
  });
8253
8247
  }
8254
8248
  function useStorageActions() {
8255
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8249
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8256
8250
  return React.useMemo(() => {
8257
8251
  const client = () => arbi.getClient().fetch;
8258
8252
  return {
@@ -8315,7 +8309,7 @@ function useStorageActions() {
8315
8309
  }, [arbi]);
8316
8310
  }
8317
8311
  function useContacts(options) {
8318
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8312
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8319
8313
  return reactQuery.useQuery({
8320
8314
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.contacts(),
8321
8315
  queryFn: () => arbi.contacts.list(),
@@ -8336,7 +8330,7 @@ function useInvalidateContacts() {
8336
8330
  return () => qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.contacts() });
8337
8331
  }
8338
8332
  function useInviteContacts() {
8339
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8333
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8340
8334
  const invalidate = useInvalidateContacts();
8341
8335
  return reactQuery.useMutation({
8342
8336
  mutationFn: (emails) => arbi.contacts.invite(emails),
@@ -8344,7 +8338,7 @@ function useInviteContacts() {
8344
8338
  });
8345
8339
  }
8346
8340
  function useCreateContact() {
8347
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8341
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8348
8342
  const invalidate = useInvalidateContacts();
8349
8343
  return reactQuery.useMutation({
8350
8344
  mutationFn: (body) => arbi.contacts.create(body),
@@ -8352,7 +8346,7 @@ function useCreateContact() {
8352
8346
  });
8353
8347
  }
8354
8348
  function useUpdateContact() {
8355
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8349
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8356
8350
  const invalidate = useInvalidateContacts();
8357
8351
  return reactQuery.useMutation({
8358
8352
  mutationFn: ({ id, card }) => arbi.contacts.update(id, card),
@@ -8360,7 +8354,7 @@ function useUpdateContact() {
8360
8354
  });
8361
8355
  }
8362
8356
  function useLinkContact() {
8363
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8357
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8364
8358
  const invalidate = useInvalidateContacts();
8365
8359
  return reactQuery.useMutation({
8366
8360
  mutationFn: ({
@@ -8372,7 +8366,7 @@ function useLinkContact() {
8372
8366
  });
8373
8367
  }
8374
8368
  function useImportContacts() {
8375
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8369
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8376
8370
  const invalidate = useInvalidateContacts();
8377
8371
  return reactQuery.useMutation({
8378
8372
  mutationFn: (file) => arbi.contacts.import(file),
@@ -8380,7 +8374,7 @@ function useImportContacts() {
8380
8374
  });
8381
8375
  }
8382
8376
  function useDeleteContact() {
8383
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8377
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8384
8378
  const invalidate = useInvalidateContacts();
8385
8379
  return reactQuery.useMutation({
8386
8380
  mutationFn: (contactId) => arbi.contacts.delete(contactId),
@@ -8388,7 +8382,7 @@ function useDeleteContact() {
8388
8382
  });
8389
8383
  }
8390
8384
  function useSearchContacts(q, { debounceMs = 200 } = {}) {
8391
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8385
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8392
8386
  const term = useDebounced(q.trim(), debounceMs);
8393
8387
  return reactQuery.useQuery({
8394
8388
  queryKey: [...chunkRRWAX52L_cjs.arbiQueryKeys.contacts(), "search", term],
@@ -8442,11 +8436,11 @@ function userFromName(externalId, email, name) {
8442
8436
  return { external_id: externalId, email, given_name: given, family_name: rest.join(" ") };
8443
8437
  }
8444
8438
  function usePeople() {
8445
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8439
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8446
8440
  const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
8447
8441
  const { data: contacts = [] } = useContacts();
8448
- const { data: workspaces = [] } = chunkME4TS33T_cjs.useWorkspaces();
8449
- const { data: agents = [] } = chunkME4TS33T_cjs.useAgents();
8442
+ const { data: workspaces = [] } = chunk2JQ7QNOO_cjs.useWorkspaces();
8443
+ const { data: agents = [] } = chunk2JQ7QNOO_cjs.useAgents();
8450
8444
  return React.useMemo(() => {
8451
8445
  const people = [];
8452
8446
  const contactOf = /* @__PURE__ */ new Map();
@@ -8483,7 +8477,7 @@ function usePeople() {
8483
8477
  }, [contacts, workspaces, agents, meId]);
8484
8478
  }
8485
8479
  function usePeopleSearch(query, { agents = false } = {}) {
8486
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8480
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8487
8481
  const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
8488
8482
  const directory = usePeople();
8489
8483
  const search = useSearchContacts(query);
@@ -8518,7 +8512,7 @@ function usePeopleSearch(query, { agents = false } = {}) {
8518
8512
  return { people, isFetching: search.isFetching };
8519
8513
  }
8520
8514
  function useHouseTemplateCandidates(workspaceId, enabled, staleTime = 6e4) {
8521
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8515
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8522
8516
  return reactQuery.useQuery({
8523
8517
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.houseTemplateCandidates(workspaceId ?? ""),
8524
8518
  enabled: enabled && !!workspaceId && arbi.hasWorkspace,
@@ -8528,7 +8522,7 @@ function useHouseTemplateCandidates(workspaceId, enabled, staleTime = 6e4) {
8528
8522
  });
8529
8523
  }
8530
8524
  function useSetWorkspaceHouseTemplate() {
8531
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8525
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8532
8526
  const queryClient = reactQuery.useQueryClient();
8533
8527
  return reactQuery.useMutation({
8534
8528
  mutationFn: (documentId) => arbi.houseTemplates.setWorkspace(documentId),
@@ -8536,7 +8530,7 @@ function useSetWorkspaceHouseTemplate() {
8536
8530
  });
8537
8531
  }
8538
8532
  function useSetDeploymentHouseTemplate() {
8539
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8533
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8540
8534
  return reactQuery.useMutation({
8541
8535
  mutationFn: (file) => arbi.houseTemplates.setDeployment(file)
8542
8536
  });
@@ -8545,13 +8539,13 @@ var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
8545
8539
  var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
8546
8540
  var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
8547
8541
  function useRequestEmailChange() {
8548
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8542
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8549
8543
  return reactQuery.useMutation({
8550
8544
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
8551
8545
  });
8552
8546
  }
8553
8547
  function useConfirmEmailChange() {
8554
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8548
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8555
8549
  const qc = reactQuery.useQueryClient();
8556
8550
  return reactQuery.useMutation({
8557
8551
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -8619,7 +8613,7 @@ function useEmailChange({
8619
8613
  };
8620
8614
  }
8621
8615
  function usePasswordChange() {
8622
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8616
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8623
8617
  return reactQuery.useMutation({
8624
8618
  mutationFn: (vars) => client.changePassword(vars)
8625
8619
  });
@@ -8713,8 +8707,8 @@ function usePasswordChangeForm({
8713
8707
  }
8714
8708
  function useDismissedTips() {
8715
8709
  const queryClient = reactQuery.useQueryClient();
8716
- const { data: userSettings } = useUserSettings();
8717
- const { mutate: updateUserSettings } = useUpdateUserSettings();
8710
+ const { data: userSettings } = chunk3CVY5SGY_cjs.useUserSettings();
8711
+ const { mutate: updateUserSettings } = chunk3CVY5SGY_cjs.useUpdateUserSettings();
8718
8712
  const loaded = userSettings !== void 0;
8719
8713
  const dismissed = userSettings?.dismissed_tips ?? [];
8720
8714
  const dismissTip = React.useCallback(
@@ -8746,9 +8740,9 @@ function toNotificationPreferences(stored, keys) {
8746
8740
  };
8747
8741
  }
8748
8742
  function useNotificationPreferences(keys, options) {
8749
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8743
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8750
8744
  const qc = reactQuery.useQueryClient();
8751
- const settings = useUserSettings(options);
8745
+ const settings = chunk3CVY5SGY_cjs.useUserSettings(options);
8752
8746
  const stored = settings.data?.email_notifications;
8753
8747
  const save = reactQuery.useMutation({
8754
8748
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
@@ -8786,7 +8780,7 @@ function useNotificationPreferences(keys, options) {
8786
8780
  };
8787
8781
  }
8788
8782
  function useRelevanceSave() {
8789
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
8783
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
8790
8784
  const qc = reactQuery.useQueryClient();
8791
8785
  return reactQuery.useMutation({
8792
8786
  mutationFn: (patch) => arbi.settings.update(patch),
@@ -8807,7 +8801,7 @@ function useRelevanceSave() {
8807
8801
  }
8808
8802
  function useWorkspaceNotificationLevel(workspaceId, options) {
8809
8803
  const qc = reactQuery.useQueryClient();
8810
- const settings = useUserSettings(options);
8804
+ const settings = chunk3CVY5SGY_cjs.useUserSettings(options);
8811
8805
  const save = useRelevanceSave();
8812
8806
  const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
8813
8807
  const setLevel = React.useCallback(
@@ -8828,7 +8822,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
8828
8822
  }
8829
8823
  function useFollowThread(conversationId, options) {
8830
8824
  const qc = reactQuery.useQueryClient();
8831
- const settings = useUserSettings(options);
8825
+ const settings = chunk3CVY5SGY_cjs.useUserSettings(options);
8832
8826
  const save = useRelevanceSave();
8833
8827
  const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
8834
8828
  const setFollowing = React.useCallback(
@@ -8857,7 +8851,7 @@ function useFollowThread(conversationId, options) {
8857
8851
  };
8858
8852
  }
8859
8853
  function useSessions(options) {
8860
- const { client, enabled } = chunkW7DQJT4T_cjs.useAccountClient();
8854
+ const { client, enabled } = chunk3CVY5SGY_cjs.useAccountClient();
8861
8855
  return reactQuery.useQuery({
8862
8856
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.sessions(),
8863
8857
  queryFn: () => client.listSessions(),
@@ -8865,7 +8859,7 @@ function useSessions(options) {
8865
8859
  });
8866
8860
  }
8867
8861
  function useTerminateSession() {
8868
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8862
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8869
8863
  const qc = reactQuery.useQueryClient();
8870
8864
  return reactQuery.useMutation({
8871
8865
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -8873,7 +8867,7 @@ function useTerminateSession() {
8873
8867
  });
8874
8868
  }
8875
8869
  function useSignOut() {
8876
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8870
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8877
8871
  const qc = reactQuery.useQueryClient();
8878
8872
  return reactQuery.useMutation({
8879
8873
  mutationFn: (options = {}) => client.signOut(options),
@@ -8881,7 +8875,7 @@ function useSignOut() {
8881
8875
  });
8882
8876
  }
8883
8877
  function useCurrentSessionId() {
8884
- return chunkW7DQJT4T_cjs.useAccountClient().client.currentSessionId();
8878
+ return chunk3CVY5SGY_cjs.useAccountClient().client.currentSessionId();
8885
8879
  }
8886
8880
  function parseDeleteAccountBlockers(error) {
8887
8881
  const body = error?.apiError ?? error;
@@ -8896,7 +8890,7 @@ function parseDeleteAccountBlockers(error) {
8896
8890
  return [];
8897
8891
  }
8898
8892
  function useDeleteAccount() {
8899
- const { client } = chunkW7DQJT4T_cjs.useAccountClient();
8893
+ const { client } = chunk3CVY5SGY_cjs.useAccountClient();
8900
8894
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
8901
8895
  }
8902
8896
  function useDeleteAccountFlow({
@@ -9218,7 +9212,7 @@ function useIdentityVerificationFlow(api, {
9218
9212
  };
9219
9213
  }
9220
9214
  function useIdentityVerification(options = {}) {
9221
- const { client, enabled } = chunkW7DQJT4T_cjs.useAccountClient();
9215
+ const { client, enabled } = chunk3CVY5SGY_cjs.useAccountClient();
9222
9216
  const qc = reactQuery.useQueryClient();
9223
9217
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
9224
9218
  return useIdentityVerificationFlow(client.identity, {
@@ -9240,7 +9234,7 @@ async function downloadRecoveryFile(params) {
9240
9234
  ...params,
9241
9235
  origin: params.origin ?? window.location.origin
9242
9236
  });
9243
- chunkONGNP4JM_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
9237
+ chunkV64EETLS_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
9244
9238
  }
9245
9239
  function useConnectorMutation(mutationFn) {
9246
9240
  const qc = reactQuery.useQueryClient();
@@ -9250,7 +9244,7 @@ function useConnectorMutation(mutationFn) {
9250
9244
  });
9251
9245
  }
9252
9246
  function useConnectorCatalog() {
9253
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9247
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9254
9248
  return reactQuery.useQuery({
9255
9249
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.catalog(),
9256
9250
  queryFn: () => arbi.connectors.catalog(),
@@ -9259,7 +9253,7 @@ function useConnectorCatalog() {
9259
9253
  });
9260
9254
  }
9261
9255
  function useMyConnectors() {
9262
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9256
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9263
9257
  return reactQuery.useQuery({
9264
9258
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.mine(),
9265
9259
  queryFn: () => arbi.connectors.mine(),
@@ -9268,13 +9262,13 @@ function useMyConnectors() {
9268
9262
  });
9269
9263
  }
9270
9264
  function useDisconnectConnector() {
9271
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9265
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9272
9266
  return useConnectorMutation(
9273
9267
  ({ vendorKey }) => arbi.connectors.disconnect(vendorKey)
9274
9268
  );
9275
9269
  }
9276
9270
  function useConnectorVendorVisibility() {
9277
- const { data: settings } = useUserSettings();
9271
+ const { data: settings } = chunk3CVY5SGY_cjs.useUserSettings();
9278
9272
  return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
9279
9273
  }
9280
9274
  function connectorReturnTo(reopen) {
@@ -9287,7 +9281,7 @@ function connectorReturnTo(reopen) {
9287
9281
  return `${window.location.pathname}?${params.toString()}`;
9288
9282
  }
9289
9283
  function useMailboxFolders(vendorKey, enabled) {
9290
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9284
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9291
9285
  return reactQuery.useQuery({
9292
9286
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.mailboxFolders(vendorKey),
9293
9287
  queryFn: () => arbi.connectors.mailboxFolders(vendorKey),
@@ -9296,7 +9290,7 @@ function useMailboxFolders(vendorKey, enabled) {
9296
9290
  });
9297
9291
  }
9298
9292
  function useEnableMailboxSync() {
9299
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9293
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9300
9294
  return useConnectorMutation(
9301
9295
  (v) => arbi.connectors.enableMailboxSync(v.vendorKey, {
9302
9296
  workspace_ext_id: v.workspaceExtId,
@@ -9311,13 +9305,13 @@ function useEnableMailboxSync() {
9311
9305
  );
9312
9306
  }
9313
9307
  function useTriggerMailboxSync() {
9314
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9308
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9315
9309
  return useConnectorMutation(
9316
9310
  ({ vendorKey, workspaceExtId }) => arbi.connectors.syncMailbox(vendorKey, workspaceExtId)
9317
9311
  );
9318
9312
  }
9319
9313
  function useMailboxSyncProgress(vendorKey, workspaceExtId, enabled) {
9320
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9314
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9321
9315
  return reactQuery.useQuery({
9322
9316
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.mailboxSyncProgress(vendorKey, workspaceExtId),
9323
9317
  queryFn: () => arbi.connectors.mailboxSyncProgress(vendorKey, workspaceExtId),
@@ -9327,13 +9321,13 @@ function useMailboxSyncProgress(vendorKey, workspaceExtId, enabled) {
9327
9321
  });
9328
9322
  }
9329
9323
  function useCancelMailboxSync() {
9330
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9324
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9331
9325
  return reactQuery.useMutation({
9332
9326
  mutationFn: ({ vendorKey, workspaceExtId }) => arbi.connectors.cancelMailboxSync(vendorKey, workspaceExtId)
9333
9327
  });
9334
9328
  }
9335
9329
  function useDriveFolders(vendorKey, enabled) {
9336
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9330
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9337
9331
  return reactQuery.useQuery({
9338
9332
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveFolders(vendorKey),
9339
9333
  queryFn: () => arbi.connectors.driveFolders(vendorKey),
@@ -9343,7 +9337,7 @@ function useDriveFolders(vendorKey, enabled) {
9343
9337
  });
9344
9338
  }
9345
9339
  function useDriveFolderChildren(vendorKey, itemId, enabled) {
9346
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9340
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9347
9341
  return reactQuery.useQuery({
9348
9342
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveFolderChildren(vendorKey, itemId),
9349
9343
  queryFn: () => arbi.connectors.driveFolderChildren(vendorKey, itemId),
@@ -9352,7 +9346,7 @@ function useDriveFolderChildren(vendorKey, itemId, enabled) {
9352
9346
  });
9353
9347
  }
9354
9348
  function useDriveFolderDocCount(vendorKey, itemId, enabled) {
9355
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9349
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9356
9350
  return reactQuery.useQuery({
9357
9351
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveFolderDocCount(vendorKey, itemId),
9358
9352
  queryFn: () => arbi.connectors.driveFolderDocCount(vendorKey, itemId),
@@ -9361,7 +9355,7 @@ function useDriveFolderDocCount(vendorKey, itemId, enabled) {
9361
9355
  });
9362
9356
  }
9363
9357
  function useEnableDriveSync() {
9364
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9358
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9365
9359
  return useConnectorMutation(
9366
9360
  (v) => arbi.connectors.enableDriveSync(v.vendorKey, {
9367
9361
  workspace_ext_id: v.workspaceExtId,
@@ -9374,13 +9368,13 @@ function useEnableDriveSync() {
9374
9368
  );
9375
9369
  }
9376
9370
  function useTriggerDriveSync() {
9377
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9371
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9378
9372
  return useConnectorMutation(
9379
9373
  ({ vendorKey }) => arbi.connectors.syncDrive(vendorKey)
9380
9374
  );
9381
9375
  }
9382
9376
  function useDriveSyncEstimate(vendorKey, enabled) {
9383
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9377
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9384
9378
  return reactQuery.useQuery({
9385
9379
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveSyncEstimate(vendorKey),
9386
9380
  queryFn: () => arbi.connectors.driveSyncEstimate(vendorKey),
@@ -9389,7 +9383,7 @@ function useDriveSyncEstimate(vendorKey, enabled) {
9389
9383
  });
9390
9384
  }
9391
9385
  function useDriveSyncProgress(vendorKey, enabled) {
9392
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9386
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9393
9387
  return reactQuery.useQuery({
9394
9388
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.driveSyncProgress(vendorKey),
9395
9389
  queryFn: () => arbi.connectors.driveSyncProgress(vendorKey),
@@ -9399,13 +9393,13 @@ function useDriveSyncProgress(vendorKey, enabled) {
9399
9393
  });
9400
9394
  }
9401
9395
  function useCancelDriveSync() {
9402
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9396
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9403
9397
  return reactQuery.useMutation({
9404
9398
  mutationFn: ({ vendorKey }) => arbi.connectors.cancelDriveSync(vendorKey)
9405
9399
  });
9406
9400
  }
9407
9401
  function useSlackConnection() {
9408
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9402
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9409
9403
  return reactQuery.useQuery({
9410
9404
  queryKey: chunkRRWAX52L_cjs.connectorQueryKeys.slack(),
9411
9405
  queryFn: () => arbi.connectors.slack.status(),
@@ -9417,7 +9411,7 @@ function useSlackConnection() {
9417
9411
  });
9418
9412
  }
9419
9413
  function useDisconnectSlack() {
9420
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9414
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9421
9415
  return useConnectorMutation(() => arbi.connectors.slack.disconnect());
9422
9416
  }
9423
9417
  function useRefreshConnectorsOnRunEnd(running) {
@@ -9432,7 +9426,7 @@ function useRefreshConnectorsOnRunEnd(running) {
9432
9426
  }
9433
9427
  var FOCUS_RECHECK_MS = 6e4;
9434
9428
  function useConnectorAutoSync(workspaceExtId, opened) {
9435
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9429
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9436
9430
  const qc = reactQuery.useQueryClient();
9437
9431
  const lastCheck = React.useRef(0);
9438
9432
  React.useEffect(() => {
@@ -9465,8 +9459,8 @@ function isQueuedCalendarWrite(value) {
9465
9459
  }
9466
9460
  var NO_SUPPORT2 = {};
9467
9461
  function useCalendarSupport() {
9468
- const support = chunkYIUUTRMQ_cjs.useArbiHost().calendar ?? NO_SUPPORT2;
9469
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9462
+ const support = chunkYRY6DGRU_cjs.useArbiHost().calendar ?? NO_SUPPORT2;
9463
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9470
9464
  const qc = reactQuery.useQueryClient();
9471
9465
  return React.useMemo(
9472
9466
  () => ({
@@ -9514,7 +9508,7 @@ function useOfflineWrite() {
9514
9508
  };
9515
9509
  }
9516
9510
  function useCalendarSettings(enabled = true) {
9517
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9511
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9518
9512
  const { read, networkMode } = useOfflineRead();
9519
9513
  return reactQuery.useQuery({
9520
9514
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.settings(),
@@ -9526,7 +9520,7 @@ function useCalendarSettings(enabled = true) {
9526
9520
  });
9527
9521
  }
9528
9522
  function useCalendars(enabled = true) {
9529
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9523
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9530
9524
  const { read, networkMode } = useOfflineRead();
9531
9525
  return reactQuery.useQuery({
9532
9526
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.calendars(),
@@ -9538,7 +9532,7 @@ function useCalendars(enabled = true) {
9538
9532
  });
9539
9533
  }
9540
9534
  function useCalendarEvents(params) {
9541
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9535
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9542
9536
  const { read, networkMode } = useOfflineRead();
9543
9537
  return reactQuery.useQuery({
9544
9538
  queryKey: params ? chunkRRWAX52L_cjs.calendarQueryKeys.eventList(params) : chunkRRWAX52L_cjs.calendarQueryKeys.events(),
@@ -9554,7 +9548,7 @@ function useCalendarEvents(params) {
9554
9548
  });
9555
9549
  }
9556
9550
  function useCalendarEvent(id, recurrenceId) {
9557
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9551
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9558
9552
  const { read, networkMode } = useOfflineRead();
9559
9553
  return reactQuery.useQuery({
9560
9554
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.event(id ?? "", recurrenceId),
@@ -9568,7 +9562,7 @@ function useCalendarEvent(id, recurrenceId) {
9568
9562
  });
9569
9563
  }
9570
9564
  function useFetchCalendarEvent() {
9571
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9565
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9572
9566
  const qc = reactQuery.useQueryClient();
9573
9567
  const { read, networkMode } = useOfflineRead();
9574
9568
  return (id, recurrenceId) => qc.fetchQuery({
@@ -9582,7 +9576,7 @@ function useFetchCalendarEvent() {
9582
9576
  });
9583
9577
  }
9584
9578
  function useCalendarOverlays(range, layers) {
9585
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9579
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9586
9580
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
9587
9581
  return reactQuery.useQuery({
9588
9582
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.overlays(workspaceId, range ?? void 0, layers),
@@ -9610,7 +9604,7 @@ function useCalendarOutbox() {
9610
9604
  });
9611
9605
  }
9612
9606
  function useCalendarShares(calId) {
9613
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9607
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9614
9608
  return reactQuery.useQuery({
9615
9609
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.shares(calId ?? ""),
9616
9610
  queryFn: () => arbi.calendar.listShares(calId),
@@ -9619,7 +9613,7 @@ function useCalendarShares(calId) {
9619
9613
  });
9620
9614
  }
9621
9615
  function useHolidayCountries(enabled = true) {
9622
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9616
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9623
9617
  return reactQuery.useQuery({
9624
9618
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.holidayCountries(),
9625
9619
  queryFn: () => arbi.calendar.listHolidayCountries(),
@@ -9629,7 +9623,7 @@ function useHolidayCountries(enabled = true) {
9629
9623
  });
9630
9624
  }
9631
9625
  function useRooms(q) {
9632
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9626
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9633
9627
  return reactQuery.useQuery({
9634
9628
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.rooms(q ?? {}),
9635
9629
  queryFn: () => arbi.calendar.listRooms(q ?? {}),
@@ -9640,7 +9634,7 @@ function useRooms(q) {
9640
9634
  });
9641
9635
  }
9642
9636
  function useFreeBusy(attendees, start, end) {
9643
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9637
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9644
9638
  return reactQuery.useQuery({
9645
9639
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.freebusy(attendees, start ?? "", end ?? ""),
9646
9640
  queryFn: () => arbi.calendar.freeBusy({ attendees, start, end }),
@@ -9651,7 +9645,7 @@ function useFreeBusy(attendees, start, end) {
9651
9645
  });
9652
9646
  }
9653
9647
  function useCalendarInvitations() {
9654
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9648
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9655
9649
  return reactQuery.useQuery({
9656
9650
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.invitations(),
9657
9651
  queryFn: () => arbi.calendar.listInvitations(),
@@ -9662,7 +9656,7 @@ function useCalendarInvitations() {
9662
9656
  });
9663
9657
  }
9664
9658
  function useCalendarEventByUid(uid) {
9665
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9659
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9666
9660
  return reactQuery.useQuery({
9667
9661
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.lookup(uid ?? ""),
9668
9662
  queryFn: () => arbi.calendar.lookupByUid(uid),
@@ -9671,7 +9665,7 @@ function useCalendarEventByUid(uid) {
9671
9665
  });
9672
9666
  }
9673
9667
  function useSaveCalendarSettings() {
9674
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9668
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9675
9669
  const qc = reactQuery.useQueryClient();
9676
9670
  return reactQuery.useMutation({
9677
9671
  mutationFn: (body) => arbi.calendar.putSettings(body),
@@ -9679,7 +9673,7 @@ function useSaveCalendarSettings() {
9679
9673
  });
9680
9674
  }
9681
9675
  function useCreateCalendar() {
9682
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9676
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9683
9677
  const qc = reactQuery.useQueryClient();
9684
9678
  return reactQuery.useMutation({
9685
9679
  mutationFn: (body) => arbi.calendar.createCalendar(body),
@@ -9687,7 +9681,7 @@ function useCreateCalendar() {
9687
9681
  });
9688
9682
  }
9689
9683
  function useUpdateCalendar() {
9690
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9684
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9691
9685
  const qc = reactQuery.useQueryClient();
9692
9686
  return reactQuery.useMutation({
9693
9687
  mutationFn: ({ id, body }) => arbi.calendar.updateCalendar(id, body),
@@ -9695,7 +9689,7 @@ function useUpdateCalendar() {
9695
9689
  });
9696
9690
  }
9697
9691
  function useDeleteCalendar() {
9698
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9692
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9699
9693
  const qc = reactQuery.useQueryClient();
9700
9694
  return reactQuery.useMutation({
9701
9695
  mutationFn: (calId) => arbi.calendar.deleteCalendar(calId),
@@ -9703,7 +9697,7 @@ function useDeleteCalendar() {
9703
9697
  });
9704
9698
  }
9705
9699
  function useCreateEvent() {
9706
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9700
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9707
9701
  const qc = reactQuery.useQueryClient();
9708
9702
  const { write, networkMode } = useOfflineWrite();
9709
9703
  return reactQuery.useMutation({
@@ -9715,7 +9709,7 @@ function useCreateEvent() {
9715
9709
  });
9716
9710
  }
9717
9711
  function useUpdateEvent() {
9718
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9712
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9719
9713
  const qc = reactQuery.useQueryClient();
9720
9714
  const { write, networkMode } = useOfflineWrite();
9721
9715
  return reactQuery.useMutation({
@@ -9727,7 +9721,7 @@ function useUpdateEvent() {
9727
9721
  });
9728
9722
  }
9729
9723
  function useDeleteEvent() {
9730
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9724
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9731
9725
  const qc = reactQuery.useQueryClient();
9732
9726
  const { write, networkMode } = useOfflineWrite();
9733
9727
  return reactQuery.useMutation({
@@ -9739,7 +9733,7 @@ function useDeleteEvent() {
9739
9733
  });
9740
9734
  }
9741
9735
  function useMoveEvent() {
9742
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9736
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9743
9737
  const qc = reactQuery.useQueryClient();
9744
9738
  return reactQuery.useMutation({
9745
9739
  mutationFn: ({ id, calendarId }) => arbi.calendar.moveEvent(id, calendarId),
@@ -9749,7 +9743,7 @@ function useMoveEvent() {
9749
9743
  });
9750
9744
  }
9751
9745
  function useRespondToEvent() {
9752
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9746
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9753
9747
  const qc = reactQuery.useQueryClient();
9754
9748
  const { write, networkMode } = useOfflineWrite();
9755
9749
  return reactQuery.useMutation({
@@ -9761,7 +9755,7 @@ function useRespondToEvent() {
9761
9755
  });
9762
9756
  }
9763
9757
  function useImportCalendar() {
9764
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9758
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9765
9759
  const qc = reactQuery.useQueryClient();
9766
9760
  return reactQuery.useMutation({
9767
9761
  mutationFn: ({ ics, calendarId }) => arbi.calendar.importIcs(ics, calendarId),
@@ -9771,7 +9765,7 @@ function useImportCalendar() {
9771
9765
  });
9772
9766
  }
9773
9767
  function useShareCalendar() {
9774
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9768
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9775
9769
  const qc = reactQuery.useQueryClient();
9776
9770
  return reactQuery.useMutation({
9777
9771
  mutationFn: ({ calId, grantee, role }) => arbi.calendar.share(calId, grantee, role),
@@ -9779,7 +9773,7 @@ function useShareCalendar() {
9779
9773
  });
9780
9774
  }
9781
9775
  function useUnshareCalendar() {
9782
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9776
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9783
9777
  const qc = reactQuery.useQueryClient();
9784
9778
  return reactQuery.useMutation({
9785
9779
  mutationFn: ({ calId, userId }) => arbi.calendar.unshare(calId, userId),
@@ -9787,7 +9781,7 @@ function useUnshareCalendar() {
9787
9781
  });
9788
9782
  }
9789
9783
  function useSubscribeCalendar() {
9790
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9784
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9791
9785
  const qc = reactQuery.useQueryClient();
9792
9786
  return reactQuery.useMutation({
9793
9787
  mutationFn: (body) => arbi.calendar.subscribe(body),
@@ -9795,7 +9789,7 @@ function useSubscribeCalendar() {
9795
9789
  });
9796
9790
  }
9797
9791
  function useRefreshCalendar() {
9798
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9792
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9799
9793
  const qc = reactQuery.useQueryClient();
9800
9794
  return reactQuery.useMutation({
9801
9795
  mutationFn: (calId) => arbi.calendar.refresh(calId),
@@ -9803,7 +9797,7 @@ function useRefreshCalendar() {
9803
9797
  });
9804
9798
  }
9805
9799
  function useAddHolidayCalendar() {
9806
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9800
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9807
9801
  const qc = reactQuery.useQueryClient();
9808
9802
  return reactQuery.useMutation({
9809
9803
  mutationFn: (body) => arbi.calendar.addHolidays(body),
@@ -9811,7 +9805,7 @@ function useAddHolidayCalendar() {
9811
9805
  });
9812
9806
  }
9813
9807
  function useCreateRoom() {
9814
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9808
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9815
9809
  const qc = reactQuery.useQueryClient();
9816
9810
  return reactQuery.useMutation({
9817
9811
  mutationFn: (body) => arbi.calendar.createRoom(body),
@@ -9819,11 +9813,11 @@ function useCreateRoom() {
9819
9813
  });
9820
9814
  }
9821
9815
  function useFindTime() {
9822
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9816
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9823
9817
  return reactQuery.useMutation({ mutationFn: (body) => arbi.calendar.findTime(body) });
9824
9818
  }
9825
9819
  function useDecideCounter() {
9826
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9820
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9827
9821
  const qc = reactQuery.useQueryClient();
9828
9822
  return reactQuery.useMutation({
9829
9823
  mutationFn: ({
@@ -9837,7 +9831,7 @@ function useDecideCounter() {
9837
9831
  });
9838
9832
  }
9839
9833
  function usePublishCalendar() {
9840
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9834
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9841
9835
  const qc = reactQuery.useQueryClient();
9842
9836
  return reactQuery.useMutation({
9843
9837
  mutationFn: ({ accountId, calendarId }) => arbi.calendar.publishToAccount(accountId, calendarId),
@@ -9855,7 +9849,7 @@ function invalidateAccounts(qc) {
9855
9849
  ]);
9856
9850
  }
9857
9851
  function useCalendarAccounts(enabled = true) {
9858
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9852
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9859
9853
  return reactQuery.useQuery({
9860
9854
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.accounts(),
9861
9855
  queryFn: () => arbi.calendar.listAccounts(),
@@ -9865,7 +9859,7 @@ function useCalendarAccounts(enabled = true) {
9865
9859
  });
9866
9860
  }
9867
9861
  function useCalDavProfiles(enabled = true) {
9868
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9862
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9869
9863
  return reactQuery.useQuery({
9870
9864
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.caldavProfiles(),
9871
9865
  queryFn: () => arbi.calendar.listCalDavProfiles(),
@@ -9884,7 +9878,7 @@ async function connectOAuthCalendarAccount(arbi, connectors, kind, backgroundSyn
9884
9878
  }
9885
9879
  }
9886
9880
  function useConnectOAuthAccount() {
9887
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9881
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9888
9882
  const { connectors } = useCalendarSupport();
9889
9883
  const qc = reactQuery.useQueryClient();
9890
9884
  return reactQuery.useMutation({
@@ -9893,7 +9887,7 @@ function useConnectOAuthAccount() {
9893
9887
  });
9894
9888
  }
9895
9889
  function useConnectCalDavAccount() {
9896
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9890
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9897
9891
  const qc = reactQuery.useQueryClient();
9898
9892
  return reactQuery.useMutation({
9899
9893
  mutationFn: (body) => arbi.calendar.connectCalDavAccount(body),
@@ -9901,7 +9895,7 @@ function useConnectCalDavAccount() {
9901
9895
  });
9902
9896
  }
9903
9897
  function useUpdateCalendarAccount() {
9904
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9898
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9905
9899
  const qc = reactQuery.useQueryClient();
9906
9900
  return reactQuery.useMutation({
9907
9901
  mutationFn: ({ id, backgroundSync }) => arbi.calendar.updateAccount(id, backgroundSync),
@@ -9909,7 +9903,7 @@ function useUpdateCalendarAccount() {
9909
9903
  });
9910
9904
  }
9911
9905
  function useSyncCalendarAccount() {
9912
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9906
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9913
9907
  const qc = reactQuery.useQueryClient();
9914
9908
  return reactQuery.useMutation({
9915
9909
  mutationFn: (id) => arbi.calendar.syncAccount(id),
@@ -9917,7 +9911,7 @@ function useSyncCalendarAccount() {
9917
9911
  });
9918
9912
  }
9919
9913
  function useDisconnectCalendarAccount() {
9920
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9914
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9921
9915
  const qc = reactQuery.useQueryClient();
9922
9916
  return reactQuery.useMutation({
9923
9917
  mutationFn: (id) => arbi.calendar.disconnectAccount(id),
@@ -9990,7 +9984,7 @@ function resetCalendarAccountSyncState() {
9990
9984
  syncedThisSession.clear();
9991
9985
  }
9992
9986
  function useSyncAccountsOnOpen(enabled = true) {
9993
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
9987
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
9994
9988
  const { data: accounts } = useCalendarAccounts(enabled);
9995
9989
  const qc = reactQuery.useQueryClient();
9996
9990
  const [syncing, setSyncing] = React.useState(false);
@@ -10008,7 +10002,7 @@ function useSyncAccountsOnOpen(enabled = true) {
10008
10002
  return { syncing };
10009
10003
  }
10010
10004
  function useBookingPages(enabled = true) {
10011
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
10005
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10012
10006
  return reactQuery.useQuery({
10013
10007
  queryKey: chunkRRWAX52L_cjs.calendarQueryKeys.bookingPages(),
10014
10008
  queryFn: () => arbi.calendar.listBookingPages(),
@@ -10018,7 +10012,7 @@ function useBookingPages(enabled = true) {
10018
10012
  });
10019
10013
  }
10020
10014
  function useSaveBookingPage() {
10021
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
10015
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10022
10016
  const qc = reactQuery.useQueryClient();
10023
10017
  return reactQuery.useMutation({
10024
10018
  mutationFn: (body) => arbi.calendar.putBookingPage(body),
@@ -10026,7 +10020,7 @@ function useSaveBookingPage() {
10026
10020
  });
10027
10021
  }
10028
10022
  function useDeleteBookingPage() {
10029
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
10023
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10030
10024
  const qc = reactQuery.useQueryClient();
10031
10025
  return reactQuery.useMutation({
10032
10026
  mutationFn: (slug) => arbi.calendar.deleteBookingPage(slug),
@@ -10034,7 +10028,7 @@ function useDeleteBookingPage() {
10034
10028
  });
10035
10029
  }
10036
10030
  function useWorkspaceDocs(workspaceId) {
10037
- const { data: docs = [], isLoading, isError } = chunkODGIOGH5_cjs.useDocuments(workspaceId);
10031
+ const { data: docs = [], isLoading, isError } = chunkUKEUDTOE_cjs.useDocuments(workspaceId);
10038
10032
  const docIds = React.useMemo(
10039
10033
  () => docs.map((d) => d.external_id).filter((id) => !!id),
10040
10034
  [docs]
@@ -10042,7 +10036,7 @@ function useWorkspaceDocs(workspaceId) {
10042
10036
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
10043
10037
  }
10044
10038
  function useAiTask() {
10045
- const mutation = chunkME4TS33T_cjs.useAssistantQuery();
10039
+ const mutation = chunk2JQ7QNOO_cjs.useAssistantQuery();
10046
10040
  const [status, setStatus] = React.useState("idle");
10047
10041
  const [text, setText] = React.useState("");
10048
10042
  const [stepCount, setStepCount] = React.useState(0);
@@ -10546,7 +10540,7 @@ var IDLE = {
10546
10540
  error: null
10547
10541
  };
10548
10542
  function useSemanticSearch(docIds = [], options = {}) {
10549
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
10543
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
10550
10544
  const [ownSession] = React.useState(chunkTUPSNW3B_cjs.createSearchSession);
10551
10545
  const session = options.session ?? ownSession;
10552
10546
  const { model, workspaceId } = options;
@@ -11482,7 +11476,7 @@ function ActivityFeed({
11482
11476
  enabled,
11483
11477
  "data-testid": testId = "activity-feed"
11484
11478
  }) {
11485
- const { data, isLoading, isError } = chunkME4TS33T_cjs.useActivity({ limit, enabled });
11479
+ const { data, isLoading, isError } = chunk2JQ7QNOO_cjs.useActivity({ limit, enabled });
11486
11480
  if (isLoading) {
11487
11481
  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
11482
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -11532,7 +11526,7 @@ var workTypes = [
11532
11526
  "mail_draft_ready"
11533
11527
  ];
11534
11528
  function useWorkNotifications(options) {
11535
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11529
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11536
11530
  const queries = reactQuery.useQueryClient();
11537
11531
  const queryKey = chunkRRWAX52L_cjs.arbiQueryKeys.typedNotifications("work", options.apiUrl, options.userId);
11538
11532
  const query = reactQuery.useQuery({
@@ -11552,7 +11546,7 @@ function useWorkNotifications(options) {
11552
11546
  return { ...query, markRead: receipt.mutateAsync };
11553
11547
  }
11554
11548
  function useNotifications(options = {}) {
11555
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11549
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11556
11550
  const limit = options.limit ?? 100;
11557
11551
  return reactQuery.useQuery({
11558
11552
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.notifications(limit),
@@ -11561,7 +11555,7 @@ function useNotifications(options = {}) {
11561
11555
  });
11562
11556
  }
11563
11557
  function useDeleteNotifications() {
11564
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11558
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11565
11559
  const queries = reactQuery.useQueryClient();
11566
11560
  return reactQuery.useMutation({
11567
11561
  mutationFn: (ids) => arbi.notifications.delete(ids),
@@ -11569,7 +11563,7 @@ function useDeleteNotifications() {
11569
11563
  });
11570
11564
  }
11571
11565
  function useMarkNotificationsRead() {
11572
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
11566
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
11573
11567
  const queries = reactQuery.useQueryClient();
11574
11568
  return reactQuery.useMutation({
11575
11569
  mutationFn: (ids) => arbi.notifications.markRead(ids),
@@ -12060,7 +12054,7 @@ function isAgentUser(user) {
12060
12054
  return user.external_id.startsWith("agt-");
12061
12055
  }
12062
12056
  function DmAvatar({ user, className, size = "lg" }) {
12063
- const presence = chunkODGIOGH5_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
12057
+ const presence = chunkUKEUDTOE_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
12064
12058
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
12065
12059
  return /* @__PURE__ */ jsxRuntime.jsx(
12066
12060
  chunkFSPLYO52_cjs.UserEntity,
@@ -12409,7 +12403,7 @@ function DmComposer({
12409
12403
  );
12410
12404
  }
12411
12405
  function useChats(options = {}) {
12412
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12406
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12413
12407
  return reactQuery.useQuery({
12414
12408
  queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList(),
12415
12409
  queryFn: () => arbi.chats.list(),
@@ -12431,9 +12425,9 @@ function useChatUnreadTotal() {
12431
12425
  return React.useMemo(() => data.reduce((sum, c) => sum + (c.unread_count ?? 0), 0), [data]);
12432
12426
  }
12433
12427
  function useUnreadByPeer() {
12434
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12428
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12435
12429
  const { data = [] } = useChats();
12436
- const me = chunkW7DQJT4T_cjs.myChatId(arbi);
12430
+ const me = chunk3CVY5SGY_cjs.myChatId(arbi);
12437
12431
  return React.useMemo(() => {
12438
12432
  const out = /* @__PURE__ */ new Map();
12439
12433
  for (const c of data) {
@@ -12445,7 +12439,7 @@ function useUnreadByPeer() {
12445
12439
  }, [data, me]);
12446
12440
  }
12447
12441
  function useChatSummaries(chats2) {
12448
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12442
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12449
12443
  const [summaries, setSummaries] = React.useState({});
12450
12444
  const runId = React.useRef(0);
12451
12445
  const key = chats2.map(
@@ -12471,7 +12465,7 @@ function useChatSummaries(chats2) {
12471
12465
  return summaries;
12472
12466
  }
12473
12467
  function useChatThread(chat) {
12474
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12468
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12475
12469
  const queryClient = reactQuery.useQueryClient();
12476
12470
  const chatExtId = chat?.external_id ?? "";
12477
12471
  const chatRef = React.useRef(chat);
@@ -12516,17 +12510,17 @@ function useChatThread(chat) {
12516
12510
  };
12517
12511
  }
12518
12512
  function useChatPost() {
12519
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12513
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12520
12514
  const queryClient = reactQuery.useQueryClient();
12521
12515
  return React.useCallback(
12522
12516
  async (target, post) => {
12523
- const me = chunkW7DQJT4T_cjs.myChatId(arbi);
12517
+ const me = chunk3CVY5SGY_cjs.myChatId(arbi);
12524
12518
  if (!me) throw new Error("No active session");
12525
12519
  let chat = target.chat;
12526
12520
  if (!chat) {
12527
12521
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
12528
12522
  chat = await arbi.chats.openDirect(target.peerExtId);
12529
- chunkW7DQJT4T_cjs.upsertChat(queryClient, chat);
12523
+ chunk3CVY5SGY_cjs.upsertChat(queryClient, chat);
12530
12524
  queryClient.setQueryData(
12531
12525
  chunkRRWAX52L_cjs.arbiQueryKeys.chatThread(chat.external_id),
12532
12526
  (old) => old ?? { messages: [], hasMore: false }
@@ -12549,7 +12543,7 @@ function useChatPost() {
12549
12543
  updated_at: now,
12550
12544
  optimistic: true
12551
12545
  };
12552
- chunkW7DQJT4T_cjs.appendToThread(queryClient, chat.external_id, optimistic);
12546
+ chunk3CVY5SGY_cjs.appendToThread(queryClient, chat.external_id, optimistic);
12553
12547
  try {
12554
12548
  let attachments = [];
12555
12549
  if (files.length) {
@@ -12569,15 +12563,15 @@ function useChatPost() {
12569
12563
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
12570
12564
  contextOnly: !!post.contextOnly
12571
12565
  });
12572
- chunkW7DQJT4T_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
12573
- chunkW7DQJT4T_cjs.upsertChat(queryClient, {
12566
+ chunk3CVY5SGY_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
12567
+ chunk3CVY5SGY_cjs.upsertChat(queryClient, {
12574
12568
  ...chat,
12575
12569
  last_message: message,
12576
12570
  last_message_at: message.created_at
12577
12571
  });
12578
12572
  return { chat, message };
12579
12573
  } catch (err) {
12580
- chunkW7DQJT4T_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
12574
+ chunk3CVY5SGY_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
12581
12575
  void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList() });
12582
12576
  throw err;
12583
12577
  }
@@ -12586,19 +12580,19 @@ function useChatPost() {
12586
12580
  );
12587
12581
  }
12588
12582
  function useDeleteChatMessage() {
12589
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12583
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12590
12584
  const queryClient = reactQuery.useQueryClient();
12591
12585
  return React.useCallback(
12592
- (chatExtId, messageExtId) => chunkW7DQJT4T_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
12586
+ (chatExtId, messageExtId) => chunk3CVY5SGY_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
12593
12587
  [arbi, queryClient]
12594
12588
  );
12595
12589
  }
12596
12590
  function useMarkChatRead() {
12597
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12591
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12598
12592
  const queryClient = reactQuery.useQueryClient();
12599
12593
  return React.useCallback(
12600
12594
  (chat, messageExtId) => {
12601
- chunkW7DQJT4T_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
12595
+ chunk3CVY5SGY_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
12602
12596
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
12603
12597
  () => void 0,
12604
12598
  () => void 0
@@ -12608,50 +12602,50 @@ function useMarkChatRead() {
12608
12602
  );
12609
12603
  }
12610
12604
  function useCreateGroupChat() {
12611
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12605
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12612
12606
  const queryClient = reactQuery.useQueryClient();
12613
12607
  return reactQuery.useMutation({
12614
12608
  mutationFn: (params) => arbi.chats.createGroup(params),
12615
- onSuccess: (chat) => chunkW7DQJT4T_cjs.upsertChat(queryClient, chat)
12609
+ onSuccess: (chat) => chunk3CVY5SGY_cjs.upsertChat(queryClient, chat)
12616
12610
  });
12617
12611
  }
12618
12612
  function useRenameChat() {
12619
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12613
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12620
12614
  const queryClient = reactQuery.useQueryClient();
12621
12615
  return reactQuery.useMutation({
12622
12616
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
12623
- onSuccess: (chat) => chunkW7DQJT4T_cjs.upsertChat(queryClient, chat)
12617
+ onSuccess: (chat) => chunk3CVY5SGY_cjs.upsertChat(queryClient, chat)
12624
12618
  });
12625
12619
  }
12626
12620
  function useAddChatMembers() {
12627
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12621
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12628
12622
  const queryClient = reactQuery.useQueryClient();
12629
12623
  return reactQuery.useMutation({
12630
12624
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
12631
- onSuccess: (chat) => chunkW7DQJT4T_cjs.upsertChat(queryClient, chat)
12625
+ onSuccess: (chat) => chunk3CVY5SGY_cjs.upsertChat(queryClient, chat)
12632
12626
  });
12633
12627
  }
12634
12628
  function useRemoveChatMember() {
12635
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12629
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12636
12630
  const queryClient = reactQuery.useQueryClient();
12637
12631
  return reactQuery.useMutation({
12638
12632
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
12639
12633
  onSuccess: (_data, vars) => {
12640
- if (vars.userExtId === chunkW7DQJT4T_cjs.myChatId(arbi)) chunkW7DQJT4T_cjs.removeChat(queryClient, vars.chat.external_id);
12634
+ if (vars.userExtId === chunk3CVY5SGY_cjs.myChatId(arbi)) chunk3CVY5SGY_cjs.removeChat(queryClient, vars.chat.external_id);
12641
12635
  else return queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList() });
12642
12636
  }
12643
12637
  });
12644
12638
  }
12645
12639
  function useChatArrivals(onArrival) {
12646
- const arbi = chunkYIUUTRMQ_cjs.useArbi();
12640
+ const arbi = chunkYRY6DGRU_cjs.useArbi();
12647
12641
  const queryClient = reactQuery.useQueryClient();
12648
12642
  useArbiWsMessage("chat.message", (message) => {
12649
12643
  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;
12644
+ if (!senderId || senderId === chunk3CVY5SGY_cjs.myChatId(arbi)) return;
12645
+ if (message.message.kind !== "text" || chunk3CVY5SGY_cjs.getOpenChat() === message.chat_ext_id) return;
12652
12646
  const muted = queryClient.getQueriesData({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
12653
12647
  if (muted?.includes(senderId)) return;
12654
- const chat = chunkW7DQJT4T_cjs.cachedChat(queryClient, message.chat_ext_id);
12648
+ const chat = chunk3CVY5SGY_cjs.cachedChat(queryClient, message.chat_ext_id);
12655
12649
  const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
12656
12650
  onArrival({
12657
12651
  chatId: message.chat_ext_id,
@@ -13101,1187 +13095,1211 @@ function CommandPaletteProvider({
13101
13095
 
13102
13096
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
13103
13097
  enumerable: true,
13104
- get: function () { return chunkW7DQJT4T_cjs.AUDIENCE_CHOICES; }
13098
+ get: function () { return chunk3CVY5SGY_cjs.AUDIENCE_CHOICES; }
13105
13099
  });
13106
13100
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
13107
13101
  enumerable: true,
13108
- get: function () { return chunkW7DQJT4T_cjs.CALL_CAPTION_TOPIC; }
13102
+ get: function () { return chunk3CVY5SGY_cjs.CALL_CAPTION_TOPIC; }
13109
13103
  });
13110
13104
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
13111
13105
  enumerable: true,
13112
- get: function () { return chunkW7DQJT4T_cjs.CALL_CHAT_MAX_CHARS; }
13106
+ get: function () { return chunk3CVY5SGY_cjs.CALL_CHAT_MAX_CHARS; }
13113
13107
  });
13114
13108
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
13115
13109
  enumerable: true,
13116
- get: function () { return chunkW7DQJT4T_cjs.CALL_CHAT_TOPIC; }
13110
+ get: function () { return chunk3CVY5SGY_cjs.CALL_CHAT_TOPIC; }
13117
13111
  });
13118
13112
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
13119
13113
  enumerable: true,
13120
- get: function () { return chunkW7DQJT4T_cjs.CALL_MODERATION_TOPIC; }
13114
+ get: function () { return chunk3CVY5SGY_cjs.CALL_MODERATION_TOPIC; }
13121
13115
  });
13122
13116
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
13123
13117
  enumerable: true,
13124
- get: function () { return chunkW7DQJT4T_cjs.CALL_RECORDING_TOPIC; }
13118
+ get: function () { return chunk3CVY5SGY_cjs.CALL_RECORDING_TOPIC; }
13125
13119
  });
13126
13120
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
13127
13121
  enumerable: true,
13128
- get: function () { return chunkW7DQJT4T_cjs.CALL_TRANSCRIPTION_TOPIC; }
13122
+ get: function () { return chunk3CVY5SGY_cjs.CALL_TRANSCRIPTION_TOPIC; }
13129
13123
  });
13130
13124
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
13131
13125
  enumerable: true,
13132
- get: function () { return chunkW7DQJT4T_cjs.CALL_WEBINAR_TOPIC; }
13126
+ get: function () { return chunk3CVY5SGY_cjs.CALL_WEBINAR_TOPIC; }
13133
13127
  });
13134
13128
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
13135
13129
  enumerable: true,
13136
- get: function () { return chunkW7DQJT4T_cjs.CAPTION_MAX_CHARS; }
13130
+ get: function () { return chunk3CVY5SGY_cjs.CAPTION_MAX_CHARS; }
13137
13131
  });
13138
13132
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
13139
13133
  enumerable: true,
13140
- get: function () { return chunkW7DQJT4T_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
13134
+ get: function () { return chunk3CVY5SGY_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
13141
13135
  });
13142
13136
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
13143
13137
  enumerable: true,
13144
- get: function () { return chunkW7DQJT4T_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
13138
+ get: function () { return chunk3CVY5SGY_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
13145
13139
  });
13146
13140
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
13147
13141
  enumerable: true,
13148
- get: function () { return chunkW7DQJT4T_cjs.DEFAULT_JOIN_CHOICES; }
13142
+ get: function () { return chunk3CVY5SGY_cjs.DEFAULT_JOIN_CHOICES; }
13149
13143
  });
13150
13144
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
13151
13145
  enumerable: true,
13152
- get: function () { return chunkW7DQJT4T_cjs.EMPTY_CALL_SESSION; }
13146
+ get: function () { return chunk3CVY5SGY_cjs.EMPTY_CALL_SESSION; }
13153
13147
  });
13154
13148
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
13155
13149
  enumerable: true,
13156
- get: function () { return chunkW7DQJT4T_cjs.EXPORT_SAMPLE_RATE; }
13150
+ get: function () { return chunk3CVY5SGY_cjs.EXPORT_SAMPLE_RATE; }
13157
13151
  });
13158
13152
  Object.defineProperty(exports, "HISTORY_LIMIT", {
13159
13153
  enumerable: true,
13160
- get: function () { return chunkW7DQJT4T_cjs.HISTORY_LIMIT; }
13154
+ get: function () { return chunk3CVY5SGY_cjs.HISTORY_LIMIT; }
13161
13155
  });
13162
13156
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
13163
13157
  enumerable: true,
13164
- get: function () { return chunkW7DQJT4T_cjs.LIVE_SEGMENTER; }
13158
+ get: function () { return chunk3CVY5SGY_cjs.LIVE_SEGMENTER; }
13165
13159
  });
13166
13160
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
13167
13161
  enumerable: true,
13168
- get: function () { return chunkW7DQJT4T_cjs.MAX_AVATAR_FILE_BYTES; }
13162
+ get: function () { return chunk3CVY5SGY_cjs.MAX_AVATAR_FILE_BYTES; }
13169
13163
  });
13170
13164
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
13171
13165
  enumerable: true,
13172
- get: function () { return chunkW7DQJT4T_cjs.MUTED_DEDUPE_MS; }
13166
+ get: function () { return chunk3CVY5SGY_cjs.MUTED_DEDUPE_MS; }
13173
13167
  });
13174
13168
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
13175
13169
  enumerable: true,
13176
- get: function () { return chunkW7DQJT4T_cjs.PLAYBACK_LOOKAHEAD_MS; }
13170
+ get: function () { return chunk3CVY5SGY_cjs.PLAYBACK_LOOKAHEAD_MS; }
13177
13171
  });
13178
13172
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
13179
13173
  enumerable: true,
13180
- get: function () { return chunkW7DQJT4T_cjs.READ_ONLY_MEETING_TEXT; }
13174
+ get: function () { return chunk3CVY5SGY_cjs.READ_ONLY_MEETING_TEXT; }
13181
13175
  });
13182
13176
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
13183
13177
  enumerable: true,
13184
- get: function () { return chunkW7DQJT4T_cjs.RECORDING_CHUNK_MS; }
13178
+ get: function () { return chunk3CVY5SGY_cjs.RECORDING_CHUNK_MS; }
13185
13179
  });
13186
13180
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
13187
13181
  enumerable: true,
13188
- get: function () { return chunkW7DQJT4T_cjs.RECORDING_SEGMENTER; }
13182
+ get: function () { return chunk3CVY5SGY_cjs.RECORDING_SEGMENTER; }
13189
13183
  });
13190
13184
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
13191
13185
  enumerable: true,
13192
- get: function () { return chunkW7DQJT4T_cjs.SEGMENT_FRAME_MS; }
13186
+ get: function () { return chunk3CVY5SGY_cjs.SEGMENT_FRAME_MS; }
13193
13187
  });
13194
13188
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
13195
13189
  enumerable: true,
13196
- get: function () { return chunkW7DQJT4T_cjs.SEGMENT_ID_PATTERN; }
13190
+ get: function () { return chunk3CVY5SGY_cjs.SEGMENT_ID_PATTERN; }
13197
13191
  });
13198
13192
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
13199
13193
  enumerable: true,
13200
- get: function () { return chunkW7DQJT4T_cjs.SEGMENT_PRE_ROLL_MS; }
13194
+ get: function () { return chunk3CVY5SGY_cjs.SEGMENT_PRE_ROLL_MS; }
13201
13195
  });
13202
13196
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
13203
13197
  enumerable: true,
13204
- get: function () { return chunkW7DQJT4T_cjs.SHORT_PIECE_MERGE_GAP_MS; }
13198
+ get: function () { return chunk3CVY5SGY_cjs.SHORT_PIECE_MERGE_GAP_MS; }
13205
13199
  });
13206
13200
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
13207
13201
  enumerable: true,
13208
- get: function () { return chunkW7DQJT4T_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
13202
+ get: function () { return chunk3CVY5SGY_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
13209
13203
  });
13210
13204
  Object.defineProperty(exports, "TrackUploader", {
13211
13205
  enumerable: true,
13212
- get: function () { return chunkW7DQJT4T_cjs.TrackUploader; }
13206
+ get: function () { return chunk3CVY5SGY_cjs.TrackUploader; }
13213
13207
  });
13214
13208
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
13215
13209
  enumerable: true,
13216
- get: function () { return chunkW7DQJT4T_cjs.UPLOAD_ATTEMPTS; }
13210
+ get: function () { return chunk3CVY5SGY_cjs.UPLOAD_ATTEMPTS; }
13217
13211
  });
13218
13212
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
13219
13213
  enumerable: true,
13220
- get: function () { return chunkW7DQJT4T_cjs.UPLOAD_BACKOFF_MS; }
13214
+ get: function () { return chunk3CVY5SGY_cjs.UPLOAD_BACKOFF_MS; }
13221
13215
  });
13222
13216
  Object.defineProperty(exports, "acceptRing", {
13223
13217
  enumerable: true,
13224
- get: function () { return chunkW7DQJT4T_cjs.acceptRing; }
13218
+ get: function () { return chunk3CVY5SGY_cjs.acceptRing; }
13225
13219
  });
13226
13220
  Object.defineProperty(exports, "addConversationToList", {
13227
13221
  enumerable: true,
13228
- get: function () { return chunkW7DQJT4T_cjs.addConversationToList; }
13222
+ get: function () { return chunk3CVY5SGY_cjs.addConversationToList; }
13229
13223
  });
13230
13224
  Object.defineProperty(exports, "appendToThread", {
13231
13225
  enumerable: true,
13232
- get: function () { return chunkW7DQJT4T_cjs.appendToThread; }
13226
+ get: function () { return chunk3CVY5SGY_cjs.appendToThread; }
13233
13227
  });
13234
13228
  Object.defineProperty(exports, "applyAgentDmStatus", {
13235
13229
  enumerable: true,
13236
- get: function () { return chunkW7DQJT4T_cjs.applyAgentDmStatus; }
13230
+ get: function () { return chunk3CVY5SGY_cjs.applyAgentDmStatus; }
13237
13231
  });
13238
13232
  Object.defineProperty(exports, "applyCallEvent", {
13239
13233
  enumerable: true,
13240
- get: function () { return chunkW7DQJT4T_cjs.applyCallEvent; }
13234
+ get: function () { return chunk3CVY5SGY_cjs.applyCallEvent; }
13241
13235
  });
13242
13236
  Object.defineProperty(exports, "applyChatEvent", {
13243
13237
  enumerable: true,
13244
- get: function () { return chunkW7DQJT4T_cjs.applyChatEvent; }
13238
+ get: function () { return chunk3CVY5SGY_cjs.applyChatEvent; }
13245
13239
  });
13246
13240
  Object.defineProperty(exports, "applyChatMessage", {
13247
13241
  enumerable: true,
13248
- get: function () { return chunkW7DQJT4T_cjs.applyChatMessage; }
13242
+ get: function () { return chunk3CVY5SGY_cjs.applyChatMessage; }
13249
13243
  });
13250
13244
  Object.defineProperty(exports, "applyChatRead", {
13251
13245
  enumerable: true,
13252
- get: function () { return chunkW7DQJT4T_cjs.applyChatRead; }
13246
+ get: function () { return chunk3CVY5SGY_cjs.applyChatRead; }
13253
13247
  });
13254
13248
  Object.defineProperty(exports, "applyChatUpdated", {
13255
13249
  enumerable: true,
13256
- get: function () { return chunkW7DQJT4T_cjs.applyChatUpdated; }
13250
+ get: function () { return chunk3CVY5SGY_cjs.applyChatUpdated; }
13257
13251
  });
13258
13252
  Object.defineProperty(exports, "arbiAccountClient", {
13259
13253
  enumerable: true,
13260
- get: function () { return chunkW7DQJT4T_cjs.arbiAccountClient; }
13254
+ get: function () { return chunk3CVY5SGY_cjs.arbiAccountClient; }
13261
13255
  });
13262
13256
  Object.defineProperty(exports, "buildMeetingChatBody", {
13263
13257
  enumerable: true,
13264
- get: function () { return chunkW7DQJT4T_cjs.buildMeetingChatBody; }
13258
+ get: function () { return chunk3CVY5SGY_cjs.buildMeetingChatBody; }
13265
13259
  });
13266
13260
  Object.defineProperty(exports, "cachedChat", {
13267
13261
  enumerable: true,
13268
- get: function () { return chunkW7DQJT4T_cjs.cachedChat; }
13262
+ get: function () { return chunk3CVY5SGY_cjs.cachedChat; }
13269
13263
  });
13270
13264
  Object.defineProperty(exports, "cachedChats", {
13271
13265
  enumerable: true,
13272
- get: function () { return chunkW7DQJT4T_cjs.cachedChats; }
13266
+ get: function () { return chunk3CVY5SGY_cjs.cachedChats; }
13273
13267
  });
13274
13268
  Object.defineProperty(exports, "callLink", {
13275
13269
  enumerable: true,
13276
- get: function () { return chunkW7DQJT4T_cjs.callLink; }
13270
+ get: function () { return chunk3CVY5SGY_cjs.callLink; }
13277
13271
  });
13278
13272
  Object.defineProperty(exports, "callMemberKeys", {
13279
13273
  enumerable: true,
13280
- get: function () { return chunkW7DQJT4T_cjs.callMemberKeys; }
13274
+ get: function () { return chunk3CVY5SGY_cjs.callMemberKeys; }
13281
13275
  });
13282
13276
  Object.defineProperty(exports, "callSession", {
13283
13277
  enumerable: true,
13284
- get: function () { return chunkW7DQJT4T_cjs.callSession; }
13278
+ get: function () { return chunk3CVY5SGY_cjs.callSession; }
13285
13279
  });
13286
13280
  Object.defineProperty(exports, "chatByExtId", {
13287
13281
  enumerable: true,
13288
- get: function () { return chunkW7DQJT4T_cjs.chatByExtId; }
13282
+ get: function () { return chunk3CVY5SGY_cjs.chatByExtId; }
13289
13283
  });
13290
13284
  Object.defineProperty(exports, "chatHasLiveCall", {
13291
13285
  enumerable: true,
13292
- get: function () { return chunkW7DQJT4T_cjs.chatHasLiveCall; }
13286
+ get: function () { return chunk3CVY5SGY_cjs.chatHasLiveCall; }
13293
13287
  });
13294
13288
  Object.defineProperty(exports, "chatLiveCallId", {
13295
13289
  enumerable: true,
13296
- get: function () { return chunkW7DQJT4T_cjs.chatLiveCallId; }
13290
+ get: function () { return chunk3CVY5SGY_cjs.chatLiveCallId; }
13297
13291
  });
13298
13292
  Object.defineProperty(exports, "chatTranscriptRef", {
13299
13293
  enumerable: true,
13300
- get: function () { return chunkW7DQJT4T_cjs.chatTranscriptRef; }
13294
+ get: function () { return chunk3CVY5SGY_cjs.chatTranscriptRef; }
13301
13295
  });
13302
13296
  Object.defineProperty(exports, "clearMeetingChatCache", {
13303
13297
  enumerable: true,
13304
- get: function () { return chunkW7DQJT4T_cjs.clearMeetingChatCache; }
13298
+ get: function () { return chunk3CVY5SGY_cjs.clearMeetingChatCache; }
13305
13299
  });
13306
13300
  Object.defineProperty(exports, "clearTrackUploaders", {
13307
13301
  enumerable: true,
13308
- get: function () { return chunkW7DQJT4T_cjs.clearTrackUploaders; }
13302
+ get: function () { return chunk3CVY5SGY_cjs.clearTrackUploaders; }
13309
13303
  });
13310
13304
  Object.defineProperty(exports, "clockTime", {
13311
13305
  enumerable: true,
13312
- get: function () { return chunkW7DQJT4T_cjs.clockTime; }
13306
+ get: function () { return chunk3CVY5SGY_cjs.clockTime; }
13313
13307
  });
13314
13308
  Object.defineProperty(exports, "compositeFiles", {
13315
13309
  enumerable: true,
13316
- get: function () { return chunkW7DQJT4T_cjs.compositeFiles; }
13310
+ get: function () { return chunk3CVY5SGY_cjs.compositeFiles; }
13317
13311
  });
13318
13312
  Object.defineProperty(exports, "compositeTrack", {
13319
13313
  enumerable: true,
13320
- get: function () { return chunkW7DQJT4T_cjs.compositeTrack; }
13314
+ get: function () { return chunk3CVY5SGY_cjs.compositeTrack; }
13321
13315
  });
13322
13316
  Object.defineProperty(exports, "conversationKeyForCall", {
13323
13317
  enumerable: true,
13324
- get: function () { return chunkW7DQJT4T_cjs.conversationKeyForCall; }
13318
+ get: function () { return chunk3CVY5SGY_cjs.conversationKeyForCall; }
13319
+ });
13320
+ Object.defineProperty(exports, "createLocalFeatureStore", {
13321
+ enumerable: true,
13322
+ get: function () { return chunk3CVY5SGY_cjs.createLocalFeatureStore; }
13325
13323
  });
13326
13324
  Object.defineProperty(exports, "createMutedNotifier", {
13327
13325
  enumerable: true,
13328
- get: function () { return chunkW7DQJT4T_cjs.createMutedNotifier; }
13326
+ get: function () { return chunk3CVY5SGY_cjs.createMutedNotifier; }
13329
13327
  });
13330
13328
  Object.defineProperty(exports, "createTrackCutter", {
13331
13329
  enumerable: true,
13332
- get: function () { return chunkW7DQJT4T_cjs.createTrackCutter; }
13330
+ get: function () { return chunk3CVY5SGY_cjs.createTrackCutter; }
13333
13331
  });
13334
13332
  Object.defineProperty(exports, "cutAtPauses", {
13335
13333
  enumerable: true,
13336
- get: function () { return chunkW7DQJT4T_cjs.cutAtPauses; }
13334
+ get: function () { return chunk3CVY5SGY_cjs.cutAtPauses; }
13337
13335
  });
13338
13336
  Object.defineProperty(exports, "declineRing", {
13339
13337
  enumerable: true,
13340
- get: function () { return chunkW7DQJT4T_cjs.declineRing; }
13338
+ get: function () { return chunk3CVY5SGY_cjs.declineRing; }
13341
13339
  });
13342
13340
  Object.defineProperty(exports, "decodeCallChatPacket", {
13343
13341
  enumerable: true,
13344
- get: function () { return chunkW7DQJT4T_cjs.decodeCallChatPacket; }
13342
+ get: function () { return chunk3CVY5SGY_cjs.decodeCallChatPacket; }
13345
13343
  });
13346
13344
  Object.defineProperty(exports, "decodeCaptionPacket", {
13347
13345
  enumerable: true,
13348
- get: function () { return chunkW7DQJT4T_cjs.decodeCaptionPacket; }
13346
+ get: function () { return chunk3CVY5SGY_cjs.decodeCaptionPacket; }
13349
13347
  });
13350
13348
  Object.defineProperty(exports, "decodeMono16k", {
13351
13349
  enumerable: true,
13352
- get: function () { return chunkW7DQJT4T_cjs.decodeMono16k; }
13350
+ get: function () { return chunk3CVY5SGY_cjs.decodeMono16k; }
13353
13351
  });
13354
13352
  Object.defineProperty(exports, "decryptPart", {
13355
13353
  enumerable: true,
13356
- get: function () { return chunkW7DQJT4T_cjs.decryptPart; }
13354
+ get: function () { return chunk3CVY5SGY_cjs.decryptPart; }
13357
13355
  });
13358
13356
  Object.defineProperty(exports, "encodeCallChatPacket", {
13359
13357
  enumerable: true,
13360
- get: function () { return chunkW7DQJT4T_cjs.encodeCallChatPacket; }
13358
+ get: function () { return chunk3CVY5SGY_cjs.encodeCallChatPacket; }
13361
13359
  });
13362
13360
  Object.defineProperty(exports, "encodeCaptionPacket", {
13363
13361
  enumerable: true,
13364
- get: function () { return chunkW7DQJT4T_cjs.encodeCaptionPacket; }
13362
+ get: function () { return chunk3CVY5SGY_cjs.encodeCaptionPacket; }
13365
13363
  });
13366
13364
  Object.defineProperty(exports, "encodeWav", {
13367
13365
  enumerable: true,
13368
- get: function () { return chunkW7DQJT4T_cjs.encodeWav; }
13366
+ get: function () { return chunk3CVY5SGY_cjs.encodeWav; }
13369
13367
  });
13370
13368
  Object.defineProperty(exports, "encryptPart", {
13371
13369
  enumerable: true,
13372
- get: function () { return chunkW7DQJT4T_cjs.encryptPart; }
13370
+ get: function () { return chunk3CVY5SGY_cjs.encryptPart; }
13373
13371
  });
13374
13372
  Object.defineProperty(exports, "ensureMeetingChat", {
13375
13373
  enumerable: true,
13376
- get: function () { return chunkW7DQJT4T_cjs.ensureMeetingChat; }
13374
+ get: function () { return chunk3CVY5SGY_cjs.ensureMeetingChat; }
13377
13375
  });
13378
13376
  Object.defineProperty(exports, "entitlementRefusal", {
13379
13377
  enumerable: true,
13380
- get: function () { return chunkW7DQJT4T_cjs.entitlementRefusal; }
13378
+ get: function () { return chunk3CVY5SGY_cjs.entitlementRefusal; }
13381
13379
  });
13382
13380
  Object.defineProperty(exports, "extensionFor", {
13383
13381
  enumerable: true,
13384
- get: function () { return chunkW7DQJT4T_cjs.extensionFor; }
13382
+ get: function () { return chunk3CVY5SGY_cjs.extensionFor; }
13385
13383
  });
13386
13384
  Object.defineProperty(exports, "fetchPart", {
13387
13385
  enumerable: true,
13388
- get: function () { return chunkW7DQJT4T_cjs.fetchPart; }
13386
+ get: function () { return chunk3CVY5SGY_cjs.fetchPart; }
13389
13387
  });
13390
13388
  Object.defineProperty(exports, "fileSafe", {
13391
13389
  enumerable: true,
13392
- get: function () { return chunkW7DQJT4T_cjs.fileSafe; }
13390
+ get: function () { return chunk3CVY5SGY_cjs.fileSafe; }
13393
13391
  });
13394
13392
  Object.defineProperty(exports, "findConversation", {
13395
13393
  enumerable: true,
13396
- get: function () { return chunkW7DQJT4T_cjs.findConversation; }
13394
+ get: function () { return chunk3CVY5SGY_cjs.findConversation; }
13397
13395
  });
13398
13396
  Object.defineProperty(exports, "floatToWav", {
13399
13397
  enumerable: true,
13400
- get: function () { return chunkW7DQJT4T_cjs.floatToWav; }
13398
+ get: function () { return chunk3CVY5SGY_cjs.floatToWav; }
13401
13399
  });
13402
13400
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
13403
13401
  enumerable: true,
13404
- get: function () { return chunkW7DQJT4T_cjs.formatTranscriptMarkdown; }
13402
+ get: function () { return chunk3CVY5SGY_cjs.formatTranscriptMarkdown; }
13405
13403
  });
13406
13404
  Object.defineProperty(exports, "getOpenChat", {
13407
13405
  enumerable: true,
13408
- get: function () { return chunkW7DQJT4T_cjs.getOpenChat; }
13406
+ get: function () { return chunk3CVY5SGY_cjs.getOpenChat; }
13409
13407
  });
13410
13408
  Object.defineProperty(exports, "hasRecordingTranscript", {
13411
13409
  enumerable: true,
13412
- get: function () { return chunkW7DQJT4T_cjs.hasRecordingTranscript; }
13410
+ get: function () { return chunk3CVY5SGY_cjs.hasRecordingTranscript; }
13413
13411
  });
13414
13412
  Object.defineProperty(exports, "invalidateCall", {
13415
13413
  enumerable: true,
13416
- get: function () { return chunkW7DQJT4T_cjs.invalidateCall; }
13414
+ get: function () { return chunk3CVY5SGY_cjs.invalidateCall; }
13417
13415
  });
13418
13416
  Object.defineProperty(exports, "invalidateConversationDetails", {
13419
13417
  enumerable: true,
13420
- get: function () { return chunkW7DQJT4T_cjs.invalidateConversationDetails; }
13418
+ get: function () { return chunk3CVY5SGY_cjs.invalidateConversationDetails; }
13421
13419
  });
13422
13420
  Object.defineProperty(exports, "invalidateConversationLists", {
13423
13421
  enumerable: true,
13424
- get: function () { return chunkW7DQJT4T_cjs.invalidateConversationLists; }
13422
+ get: function () { return chunk3CVY5SGY_cjs.invalidateConversationLists; }
13425
13423
  });
13426
13424
  Object.defineProperty(exports, "isConversationListKey", {
13427
13425
  enumerable: true,
13428
- get: function () { return chunkW7DQJT4T_cjs.isConversationListKey; }
13426
+ get: function () { return chunk3CVY5SGY_cjs.isConversationListKey; }
13429
13427
  });
13430
13428
  Object.defineProperty(exports, "isConversationShared", {
13431
13429
  enumerable: true,
13432
- get: function () { return chunkW7DQJT4T_cjs.isConversationShared; }
13430
+ get: function () { return chunk3CVY5SGY_cjs.isConversationShared; }
13433
13431
  });
13434
13432
  Object.defineProperty(exports, "isKnownSoloConversation", {
13435
13433
  enumerable: true,
13436
- get: function () { return chunkW7DQJT4T_cjs.isKnownSoloConversation; }
13434
+ get: function () { return chunk3CVY5SGY_cjs.isKnownSoloConversation; }
13437
13435
  });
13438
13436
  Object.defineProperty(exports, "isRecordingOver", {
13439
13437
  enumerable: true,
13440
- get: function () { return chunkW7DQJT4T_cjs.isRecordingOver; }
13438
+ get: function () { return chunk3CVY5SGY_cjs.isRecordingOver; }
13441
13439
  });
13442
13440
  Object.defineProperty(exports, "isRecordingSegmentId", {
13443
13441
  enumerable: true,
13444
- get: function () { return chunkW7DQJT4T_cjs.isRecordingSegmentId; }
13442
+ get: function () { return chunk3CVY5SGY_cjs.isRecordingSegmentId; }
13445
13443
  });
13446
13444
  Object.defineProperty(exports, "isRetryable", {
13447
13445
  enumerable: true,
13448
- get: function () { return chunkW7DQJT4T_cjs.isRetryable; }
13446
+ get: function () { return chunk3CVY5SGY_cjs.isRetryable; }
13449
13447
  });
13450
13448
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
13451
13449
  enumerable: true,
13452
- get: function () { return chunkW7DQJT4T_cjs.isWorkspaceGuestOf; }
13450
+ get: function () { return chunk3CVY5SGY_cjs.isWorkspaceGuestOf; }
13453
13451
  });
13454
13452
  Object.defineProperty(exports, "joinFromPreJoin", {
13455
13453
  enumerable: true,
13456
- get: function () { return chunkW7DQJT4T_cjs.joinFromPreJoin; }
13454
+ get: function () { return chunk3CVY5SGY_cjs.joinFromPreJoin; }
13457
13455
  });
13458
13456
  Object.defineProperty(exports, "knownMeetingChat", {
13459
13457
  enumerable: true,
13460
- get: function () { return chunkW7DQJT4T_cjs.knownMeetingChat; }
13458
+ get: function () { return chunk3CVY5SGY_cjs.knownMeetingChat; }
13461
13459
  });
13462
13460
  Object.defineProperty(exports, "loadMeetingHistory", {
13463
13461
  enumerable: true,
13464
- get: function () { return chunkW7DQJT4T_cjs.loadMeetingHistory; }
13462
+ get: function () { return chunk3CVY5SGY_cjs.loadMeetingHistory; }
13465
13463
  });
13466
13464
  Object.defineProperty(exports, "markRejoining", {
13467
13465
  enumerable: true,
13468
- get: function () { return chunkW7DQJT4T_cjs.markRejoining; }
13466
+ get: function () { return chunk3CVY5SGY_cjs.markRejoining; }
13469
13467
  });
13470
13468
  Object.defineProperty(exports, "meetingChatRefFrom", {
13471
13469
  enumerable: true,
13472
- get: function () { return chunkW7DQJT4T_cjs.meetingChatRefFrom; }
13470
+ get: function () { return chunk3CVY5SGY_cjs.meetingChatRefFrom; }
13473
13471
  });
13474
13472
  Object.defineProperty(exports, "meetingRefForCall", {
13475
13473
  enumerable: true,
13476
- get: function () { return chunkW7DQJT4T_cjs.meetingRefForCall; }
13474
+ get: function () { return chunk3CVY5SGY_cjs.meetingRefForCall; }
13477
13475
  });
13478
13476
  Object.defineProperty(exports, "mergeChatLines", {
13479
13477
  enumerable: true,
13480
- get: function () { return chunkW7DQJT4T_cjs.mergeChatLines; }
13478
+ get: function () { return chunk3CVY5SGY_cjs.mergeChatLines; }
13481
13479
  });
13482
13480
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
13483
13481
  enumerable: true,
13484
- get: function () { return chunkW7DQJT4T_cjs.mutedNoticeFromEvent; }
13482
+ get: function () { return chunk3CVY5SGY_cjs.mutedNoticeFromEvent; }
13485
13483
  });
13486
13484
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
13487
13485
  enumerable: true,
13488
- get: function () { return chunkW7DQJT4T_cjs.mutedNoticeFromPacket; }
13486
+ get: function () { return chunk3CVY5SGY_cjs.mutedNoticeFromPacket; }
13489
13487
  });
13490
13488
  Object.defineProperty(exports, "mutedNoticeText", {
13491
13489
  enumerable: true,
13492
- get: function () { return chunkW7DQJT4T_cjs.mutedNoticeText; }
13490
+ get: function () { return chunk3CVY5SGY_cjs.mutedNoticeText; }
13493
13491
  });
13494
13492
  Object.defineProperty(exports, "myChatId", {
13495
13493
  enumerable: true,
13496
- get: function () { return chunkW7DQJT4T_cjs.myChatId; }
13494
+ get: function () { return chunk3CVY5SGY_cjs.myChatId; }
13497
13495
  });
13498
13496
  Object.defineProperty(exports, "newPacketId", {
13499
13497
  enumerable: true,
13500
- get: function () { return chunkW7DQJT4T_cjs.newPacketId; }
13498
+ get: function () { return chunk3CVY5SGY_cjs.newPacketId; }
13501
13499
  });
13502
13500
  Object.defineProperty(exports, "newSegmentId", {
13503
13501
  enumerable: true,
13504
- get: function () { return chunkW7DQJT4T_cjs.newSegmentId; }
13502
+ get: function () { return chunk3CVY5SGY_cjs.newSegmentId; }
13505
13503
  });
13506
13504
  Object.defineProperty(exports, "newTrackKey", {
13507
13505
  enumerable: true,
13508
- get: function () { return chunkW7DQJT4T_cjs.newTrackKey; }
13506
+ get: function () { return chunk3CVY5SGY_cjs.newTrackKey; }
13509
13507
  });
13510
13508
  Object.defineProperty(exports, "nextSeqAfter", {
13511
13509
  enumerable: true,
13512
- get: function () { return chunkW7DQJT4T_cjs.nextSeqAfter; }
13510
+ get: function () { return chunk3CVY5SGY_cjs.nextSeqAfter; }
13513
13511
  });
13514
13512
  Object.defineProperty(exports, "onCallEvent", {
13515
13513
  enumerable: true,
13516
- get: function () { return chunkW7DQJT4T_cjs.onCallEvent; }
13514
+ get: function () { return chunk3CVY5SGY_cjs.onCallEvent; }
13517
13515
  });
13518
13516
  Object.defineProperty(exports, "openCall", {
13519
13517
  enumerable: true,
13520
- get: function () { return chunkW7DQJT4T_cjs.openCall; }
13518
+ get: function () { return chunk3CVY5SGY_cjs.openCall; }
13521
13519
  });
13522
13520
  Object.defineProperty(exports, "openQuestion", {
13523
13521
  enumerable: true,
13524
- get: function () { return chunkW7DQJT4T_cjs.openQuestion; }
13522
+ get: function () { return chunk3CVY5SGY_cjs.openQuestion; }
13525
13523
  });
13526
13524
  Object.defineProperty(exports, "openRecording", {
13527
13525
  enumerable: true,
13528
- get: function () { return chunkW7DQJT4T_cjs.openRecording; }
13526
+ get: function () { return chunk3CVY5SGY_cjs.openRecording; }
13529
13527
  });
13530
13528
  Object.defineProperty(exports, "parseWebinarPacket", {
13531
13529
  enumerable: true,
13532
- get: function () { return chunkW7DQJT4T_cjs.parseWebinarPacket; }
13530
+ get: function () { return chunk3CVY5SGY_cjs.parseWebinarPacket; }
13533
13531
  });
13534
13532
  Object.defineProperty(exports, "partKey", {
13535
13533
  enumerable: true,
13536
- get: function () { return chunkW7DQJT4T_cjs.partKey; }
13534
+ get: function () { return chunk3CVY5SGY_cjs.partKey; }
13537
13535
  });
13538
13536
  Object.defineProperty(exports, "partOffsetMs", {
13539
13537
  enumerable: true,
13540
- get: function () { return chunkW7DQJT4T_cjs.partOffsetMs; }
13538
+ get: function () { return chunk3CVY5SGY_cjs.partOffsetMs; }
13541
13539
  });
13542
13540
  Object.defineProperty(exports, "partsDue", {
13543
13541
  enumerable: true,
13544
- get: function () { return chunkW7DQJT4T_cjs.partsDue; }
13542
+ get: function () { return chunk3CVY5SGY_cjs.partsDue; }
13545
13543
  });
13546
13544
  Object.defineProperty(exports, "patchConversation", {
13547
13545
  enumerable: true,
13548
- get: function () { return chunkW7DQJT4T_cjs.patchConversation; }
13546
+ get: function () { return chunk3CVY5SGY_cjs.patchConversation; }
13549
13547
  });
13550
13548
  Object.defineProperty(exports, "patchConversationList", {
13551
13549
  enumerable: true,
13552
- get: function () { return chunkW7DQJT4T_cjs.patchConversationList; }
13550
+ get: function () { return chunk3CVY5SGY_cjs.patchConversationList; }
13553
13551
  });
13554
13552
  Object.defineProperty(exports, "persistMeetingMessage", {
13555
13553
  enumerable: true,
13556
- get: function () { return chunkW7DQJT4T_cjs.persistMeetingMessage; }
13554
+ get: function () { return chunk3CVY5SGY_cjs.persistMeetingMessage; }
13557
13555
  });
13558
13556
  Object.defineProperty(exports, "persistTranscriptSegment", {
13559
13557
  enumerable: true,
13560
- get: function () { return chunkW7DQJT4T_cjs.persistTranscriptSegment; }
13558
+ get: function () { return chunk3CVY5SGY_cjs.persistTranscriptSegment; }
13561
13559
  });
13562
13560
  Object.defineProperty(exports, "playheadAt", {
13563
13561
  enumerable: true,
13564
- get: function () { return chunkW7DQJT4T_cjs.playheadAt; }
13562
+ get: function () { return chunk3CVY5SGY_cjs.playheadAt; }
13565
13563
  });
13566
13564
  Object.defineProperty(exports, "postRecordingDocsToThread", {
13567
13565
  enumerable: true,
13568
- get: function () { return chunkW7DQJT4T_cjs.postRecordingDocsToThread; }
13566
+ get: function () { return chunk3CVY5SGY_cjs.postRecordingDocsToThread; }
13569
13567
  });
13570
13568
  Object.defineProperty(exports, "postTranscriptToThread", {
13571
13569
  enumerable: true,
13572
- get: function () { return chunkW7DQJT4T_cjs.postTranscriptToThread; }
13570
+ get: function () { return chunk3CVY5SGY_cjs.postTranscriptToThread; }
13571
+ });
13572
+ Object.defineProperty(exports, "readLocalFeature", {
13573
+ enumerable: true,
13574
+ get: function () { return chunk3CVY5SGY_cjs.readLocalFeature; }
13573
13575
  });
13574
13576
  Object.defineProperty(exports, "recordingFiles", {
13575
13577
  enumerable: true,
13576
- get: function () { return chunkW7DQJT4T_cjs.recordingFiles; }
13578
+ get: function () { return chunk3CVY5SGY_cjs.recordingFiles; }
13577
13579
  });
13578
13580
  Object.defineProperty(exports, "recordingWindowsOf", {
13579
13581
  enumerable: true,
13580
- get: function () { return chunkW7DQJT4T_cjs.recordingWindowsOf; }
13582
+ get: function () { return chunk3CVY5SGY_cjs.recordingWindowsOf; }
13581
13583
  });
13582
13584
  Object.defineProperty(exports, "rejoinAsAudience", {
13583
13585
  enumerable: true,
13584
- get: function () { return chunkW7DQJT4T_cjs.rejoinAsAudience; }
13586
+ get: function () { return chunk3CVY5SGY_cjs.rejoinAsAudience; }
13585
13587
  });
13586
13588
  Object.defineProperty(exports, "removeChat", {
13587
13589
  enumerable: true,
13588
- get: function () { return chunkW7DQJT4T_cjs.removeChat; }
13590
+ get: function () { return chunk3CVY5SGY_cjs.removeChat; }
13589
13591
  });
13590
13592
  Object.defineProperty(exports, "removeConversationFromLists", {
13591
13593
  enumerable: true,
13592
- get: function () { return chunkW7DQJT4T_cjs.removeConversationFromLists; }
13594
+ get: function () { return chunk3CVY5SGY_cjs.removeConversationFromLists; }
13593
13595
  });
13594
13596
  Object.defineProperty(exports, "resetCallSession", {
13595
13597
  enumerable: true,
13596
- get: function () { return chunkW7DQJT4T_cjs.resetCallSession; }
13598
+ get: function () { return chunk3CVY5SGY_cjs.resetCallSession; }
13597
13599
  });
13598
13600
  Object.defineProperty(exports, "resolveMeetingChat", {
13599
13601
  enumerable: true,
13600
- get: function () { return chunkW7DQJT4T_cjs.resolveMeetingChat; }
13602
+ get: function () { return chunk3CVY5SGY_cjs.resolveMeetingChat; }
13601
13603
  });
13602
13604
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
13603
13605
  enumerable: true,
13604
- get: function () { return chunkW7DQJT4T_cjs.saveRecordingFilesToThread; }
13606
+ get: function () { return chunk3CVY5SGY_cjs.saveRecordingFilesToThread; }
13605
13607
  });
13606
13608
  Object.defineProperty(exports, "schedulePart", {
13607
13609
  enumerable: true,
13608
- get: function () { return chunkW7DQJT4T_cjs.schedulePart; }
13610
+ get: function () { return chunk3CVY5SGY_cjs.schedulePart; }
13609
13611
  });
13610
13612
  Object.defineProperty(exports, "sealQuestionText", {
13611
13613
  enumerable: true,
13612
- get: function () { return chunkW7DQJT4T_cjs.sealQuestionText; }
13614
+ get: function () { return chunk3CVY5SGY_cjs.sealQuestionText; }
13613
13615
  });
13614
13616
  Object.defineProperty(exports, "serverCallsExperimental", {
13615
13617
  enumerable: true,
13616
- get: function () { return chunkW7DQJT4T_cjs.serverCallsExperimental; }
13618
+ get: function () { return chunk3CVY5SGY_cjs.serverCallsExperimental; }
13617
13619
  });
13618
13620
  Object.defineProperty(exports, "setOpenChat", {
13619
13621
  enumerable: true,
13620
- get: function () { return chunkW7DQJT4T_cjs.setOpenChat; }
13622
+ get: function () { return chunk3CVY5SGY_cjs.setOpenChat; }
13621
13623
  });
13622
13624
  Object.defineProperty(exports, "sortTranscriptMessages", {
13623
13625
  enumerable: true,
13624
- get: function () { return chunkW7DQJT4T_cjs.sortTranscriptMessages; }
13626
+ get: function () { return chunk3CVY5SGY_cjs.sortTranscriptMessages; }
13625
13627
  });
13626
13628
  Object.defineProperty(exports, "sortedParts", {
13627
13629
  enumerable: true,
13628
- get: function () { return chunkW7DQJT4T_cjs.sortedParts; }
13630
+ get: function () { return chunk3CVY5SGY_cjs.sortedParts; }
13629
13631
  });
13630
13632
  Object.defineProperty(exports, "speakerTracks", {
13631
13633
  enumerable: true,
13632
- get: function () { return chunkW7DQJT4T_cjs.speakerTracks; }
13634
+ get: function () { return chunk3CVY5SGY_cjs.speakerTracks; }
13633
13635
  });
13634
13636
  Object.defineProperty(exports, "speakerWav", {
13635
13637
  enumerable: true,
13636
- get: function () { return chunkW7DQJT4T_cjs.speakerWav; }
13638
+ get: function () { return chunk3CVY5SGY_cjs.speakerWav; }
13637
13639
  });
13638
13640
  Object.defineProperty(exports, "splitIntoFiles", {
13639
13641
  enumerable: true,
13640
- get: function () { return chunkW7DQJT4T_cjs.splitIntoFiles; }
13642
+ get: function () { return chunk3CVY5SGY_cjs.splitIntoFiles; }
13641
13643
  });
13642
13644
  Object.defineProperty(exports, "standalone", {
13643
13645
  enumerable: true,
13644
- get: function () { return chunkW7DQJT4T_cjs.standalone; }
13646
+ get: function () { return chunk3CVY5SGY_cjs.standalone; }
13645
13647
  });
13646
13648
  Object.defineProperty(exports, "startChatCall", {
13647
13649
  enumerable: true,
13648
- get: function () { return chunkW7DQJT4T_cjs.startChatCall; }
13650
+ get: function () { return chunk3CVY5SGY_cjs.startChatCall; }
13649
13651
  });
13650
13652
  Object.defineProperty(exports, "startContactsCall", {
13651
13653
  enumerable: true,
13652
- get: function () { return chunkW7DQJT4T_cjs.startContactsCall; }
13654
+ get: function () { return chunk3CVY5SGY_cjs.startContactsCall; }
13653
13655
  });
13654
13656
  Object.defineProperty(exports, "startDmCall", {
13655
13657
  enumerable: true,
13656
- get: function () { return chunkW7DQJT4T_cjs.startDmCall; }
13658
+ get: function () { return chunk3CVY5SGY_cjs.startDmCall; }
13657
13659
  });
13658
13660
  Object.defineProperty(exports, "startThreadCall", {
13659
13661
  enumerable: true,
13660
- get: function () { return chunkW7DQJT4T_cjs.startThreadCall; }
13662
+ get: function () { return chunk3CVY5SGY_cjs.startThreadCall; }
13661
13663
  });
13662
13664
  Object.defineProperty(exports, "startsMediaFile", {
13663
13665
  enumerable: true,
13664
- get: function () { return chunkW7DQJT4T_cjs.startsMediaFile; }
13666
+ get: function () { return chunk3CVY5SGY_cjs.startsMediaFile; }
13665
13667
  });
13666
13668
  Object.defineProperty(exports, "storeTranscriptSegment", {
13667
13669
  enumerable: true,
13668
- get: function () { return chunkW7DQJT4T_cjs.storeTranscriptSegment; }
13670
+ get: function () { return chunk3CVY5SGY_cjs.storeTranscriptSegment; }
13669
13671
  });
13670
13672
  Object.defineProperty(exports, "stripSpeakerPrefix", {
13671
13673
  enumerable: true,
13672
- get: function () { return chunkW7DQJT4T_cjs.stripSpeakerPrefix; }
13674
+ get: function () { return chunk3CVY5SGY_cjs.stripSpeakerPrefix; }
13673
13675
  });
13674
13676
  Object.defineProperty(exports, "supersedeLiveTranscript", {
13675
13677
  enumerable: true,
13676
- get: function () { return chunkW7DQJT4T_cjs.supersedeLiveTranscript; }
13678
+ get: function () { return chunk3CVY5SGY_cjs.supersedeLiveTranscript; }
13677
13679
  });
13678
13680
  Object.defineProperty(exports, "supersededTranscriptLines", {
13679
13681
  enumerable: true,
13680
- get: function () { return chunkW7DQJT4T_cjs.supersededTranscriptLines; }
13682
+ get: function () { return chunk3CVY5SGY_cjs.supersededTranscriptLines; }
13681
13683
  });
13682
13684
  Object.defineProperty(exports, "threadHasLiveCall", {
13683
13685
  enumerable: true,
13684
- get: function () { return chunkW7DQJT4T_cjs.threadHasLiveCall; }
13686
+ get: function () { return chunk3CVY5SGY_cjs.threadHasLiveCall; }
13685
13687
  });
13686
13688
  Object.defineProperty(exports, "threadLiveCallId", {
13687
13689
  enumerable: true,
13688
- get: function () { return chunkW7DQJT4T_cjs.threadLiveCallId; }
13690
+ get: function () { return chunk3CVY5SGY_cjs.threadLiveCallId; }
13689
13691
  });
13690
13692
  Object.defineProperty(exports, "threadTranscriptLines", {
13691
13693
  enumerable: true,
13692
- get: function () { return chunkW7DQJT4T_cjs.threadTranscriptLines; }
13694
+ get: function () { return chunk3CVY5SGY_cjs.threadTranscriptLines; }
13693
13695
  });
13694
13696
  Object.defineProperty(exports, "threadTranscriptRef", {
13695
13697
  enumerable: true,
13696
- get: function () { return chunkW7DQJT4T_cjs.threadTranscriptRef; }
13698
+ get: function () { return chunk3CVY5SGY_cjs.threadTranscriptRef; }
13697
13699
  });
13698
13700
  Object.defineProperty(exports, "threadTranscriptText", {
13699
13701
  enumerable: true,
13700
- get: function () { return chunkW7DQJT4T_cjs.threadTranscriptText; }
13702
+ get: function () { return chunk3CVY5SGY_cjs.threadTranscriptText; }
13701
13703
  });
13702
13704
  Object.defineProperty(exports, "timelineDurationMs", {
13703
13705
  enumerable: true,
13704
- get: function () { return chunkW7DQJT4T_cjs.timelineDurationMs; }
13706
+ get: function () { return chunk3CVY5SGY_cjs.timelineDurationMs; }
13705
13707
  });
13706
13708
  Object.defineProperty(exports, "timelineOf", {
13707
13709
  enumerable: true,
13708
- get: function () { return chunkW7DQJT4T_cjs.timelineOf; }
13710
+ get: function () { return chunk3CVY5SGY_cjs.timelineOf; }
13709
13711
  });
13710
13712
  Object.defineProperty(exports, "toProfileView", {
13711
13713
  enumerable: true,
13712
- get: function () { return chunkW7DQJT4T_cjs.toProfileView; }
13714
+ get: function () { return chunk3CVY5SGY_cjs.toProfileView; }
13713
13715
  });
13714
13716
  Object.defineProperty(exports, "trackUploaderFor", {
13715
13717
  enumerable: true,
13716
- get: function () { return chunkW7DQJT4T_cjs.trackUploaderFor; }
13718
+ get: function () { return chunk3CVY5SGY_cjs.trackUploaderFor; }
13717
13719
  });
13718
13720
  Object.defineProperty(exports, "transcribeRecording", {
13719
13721
  enumerable: true,
13720
- get: function () { return chunkW7DQJT4T_cjs.transcribeRecording; }
13722
+ get: function () { return chunk3CVY5SGY_cjs.transcribeRecording; }
13721
13723
  });
13722
13724
  Object.defineProperty(exports, "transcriptPersistRole", {
13723
13725
  enumerable: true,
13724
- get: function () { return chunkW7DQJT4T_cjs.transcriptPersistRole; }
13726
+ get: function () { return chunk3CVY5SGY_cjs.transcriptPersistRole; }
13725
13727
  });
13726
13728
  Object.defineProperty(exports, "transcriptSegmentOf", {
13727
13729
  enumerable: true,
13728
- get: function () { return chunkW7DQJT4T_cjs.transcriptSegmentOf; }
13730
+ get: function () { return chunk3CVY5SGY_cjs.transcriptSegmentOf; }
13729
13731
  });
13730
13732
  Object.defineProperty(exports, "unwrapTrackKey", {
13731
13733
  enumerable: true,
13732
- get: function () { return chunkW7DQJT4T_cjs.unwrapTrackKey; }
13734
+ get: function () { return chunk3CVY5SGY_cjs.unwrapTrackKey; }
13733
13735
  });
13734
13736
  Object.defineProperty(exports, "upsertChat", {
13735
13737
  enumerable: true,
13736
- get: function () { return chunkW7DQJT4T_cjs.upsertChat; }
13738
+ get: function () { return chunk3CVY5SGY_cjs.upsertChat; }
13737
13739
  });
13738
13740
  Object.defineProperty(exports, "useAccountClient", {
13739
13741
  enumerable: true,
13740
- get: function () { return chunkW7DQJT4T_cjs.useAccountClient; }
13742
+ get: function () { return chunk3CVY5SGY_cjs.useAccountClient; }
13741
13743
  });
13742
13744
  Object.defineProperty(exports, "useAvatarCrop", {
13743
13745
  enumerable: true,
13744
- get: function () { return chunkW7DQJT4T_cjs.useAvatarCrop; }
13746
+ get: function () { return chunk3CVY5SGY_cjs.useAvatarCrop; }
13745
13747
  });
13746
13748
  Object.defineProperty(exports, "useCall", {
13747
13749
  enumerable: true,
13748
- get: function () { return chunkW7DQJT4T_cjs.useCall; }
13750
+ get: function () { return chunk3CVY5SGY_cjs.useCall; }
13749
13751
  });
13750
13752
  Object.defineProperty(exports, "useCallInviteLinks", {
13751
13753
  enumerable: true,
13752
- get: function () { return chunkW7DQJT4T_cjs.useCallInviteLinks; }
13754
+ get: function () { return chunk3CVY5SGY_cjs.useCallInviteLinks; }
13753
13755
  });
13754
13756
  Object.defineProperty(exports, "useCallRecording", {
13755
13757
  enumerable: true,
13756
- get: function () { return chunkW7DQJT4T_cjs.useCallRecording; }
13758
+ get: function () { return chunk3CVY5SGY_cjs.useCallRecording; }
13757
13759
  });
13758
13760
  Object.defineProperty(exports, "useCallRecordings", {
13759
13761
  enumerable: true,
13760
- get: function () { return chunkW7DQJT4T_cjs.useCallRecordings; }
13762
+ get: function () { return chunk3CVY5SGY_cjs.useCallRecordings; }
13761
13763
  });
13762
13764
  Object.defineProperty(exports, "useCallSession", {
13763
13765
  enumerable: true,
13764
- get: function () { return chunkW7DQJT4T_cjs.useCallSession; }
13766
+ get: function () { return chunk3CVY5SGY_cjs.useCallSession; }
13765
13767
  });
13766
13768
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
13767
13769
  enumerable: true,
13768
- get: function () { return chunkW7DQJT4T_cjs.useCallTranscriptionAvailable; }
13770
+ get: function () { return chunk3CVY5SGY_cjs.useCallTranscriptionAvailable; }
13769
13771
  });
13770
13772
  Object.defineProperty(exports, "useCallsConfig", {
13771
13773
  enumerable: true,
13772
- get: function () { return chunkW7DQJT4T_cjs.useCallsConfig; }
13774
+ get: function () { return chunk3CVY5SGY_cjs.useCallsConfig; }
13773
13775
  });
13774
13776
  Object.defineProperty(exports, "useCallsEnabled", {
13775
13777
  enumerable: true,
13776
- get: function () { return chunkW7DQJT4T_cjs.useCallsEnabled; }
13778
+ get: function () { return chunk3CVY5SGY_cjs.useCallsEnabled; }
13777
13779
  });
13778
13780
  Object.defineProperty(exports, "useCanHostCalls", {
13779
13781
  enumerable: true,
13780
- get: function () { return chunkW7DQJT4T_cjs.useCanHostCalls; }
13782
+ get: function () { return chunk3CVY5SGY_cjs.useCanHostCalls; }
13781
13783
  });
13782
13784
  Object.defineProperty(exports, "useEntitlements", {
13783
13785
  enumerable: true,
13784
- get: function () { return chunkW7DQJT4T_cjs.useEntitlements; }
13786
+ get: function () { return chunk3CVY5SGY_cjs.useEntitlements; }
13787
+ });
13788
+ Object.defineProperty(exports, "useFeature", {
13789
+ enumerable: true,
13790
+ get: function () { return chunk3CVY5SGY_cjs.useFeature; }
13791
+ });
13792
+ Object.defineProperty(exports, "useFeatureSwitch", {
13793
+ enumerable: true,
13794
+ get: function () { return chunk3CVY5SGY_cjs.useFeatureSwitch; }
13785
13795
  });
13786
13796
  Object.defineProperty(exports, "useIsEntitled", {
13787
13797
  enumerable: true,
13788
- get: function () { return chunkW7DQJT4T_cjs.useIsEntitled; }
13798
+ get: function () { return chunk3CVY5SGY_cjs.useIsEntitled; }
13789
13799
  });
13790
13800
  Object.defineProperty(exports, "useMeetingReadOnly", {
13791
13801
  enumerable: true,
13792
- get: function () { return chunkW7DQJT4T_cjs.useMeetingReadOnly; }
13802
+ get: function () { return chunk3CVY5SGY_cjs.useMeetingReadOnly; }
13793
13803
  });
13794
13804
  Object.defineProperty(exports, "useNameEditor", {
13795
13805
  enumerable: true,
13796
- get: function () { return chunkW7DQJT4T_cjs.useNameEditor; }
13806
+ get: function () { return chunk3CVY5SGY_cjs.useNameEditor; }
13797
13807
  });
13798
13808
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
13799
13809
  enumerable: true,
13800
- get: function () { return chunkW7DQJT4T_cjs.useOpenCallMeetingChat; }
13810
+ get: function () { return chunk3CVY5SGY_cjs.useOpenCallMeetingChat; }
13801
13811
  });
13802
13812
  Object.defineProperty(exports, "useProfile", {
13803
13813
  enumerable: true,
13804
- get: function () { return chunkW7DQJT4T_cjs.useProfile; }
13814
+ get: function () { return chunk3CVY5SGY_cjs.useProfile; }
13805
13815
  });
13806
13816
  Object.defineProperty(exports, "useRecordingActions", {
13807
13817
  enumerable: true,
13808
- get: function () { return chunkW7DQJT4T_cjs.useRecordingActions; }
13818
+ get: function () { return chunk3CVY5SGY_cjs.useRecordingActions; }
13809
13819
  });
13810
13820
  Object.defineProperty(exports, "useRecordingWindows", {
13811
13821
  enumerable: true,
13812
- get: function () { return chunkW7DQJT4T_cjs.useRecordingWindows; }
13822
+ get: function () { return chunk3CVY5SGY_cjs.useRecordingWindows; }
13813
13823
  });
13814
13824
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
13815
13825
  enumerable: true,
13816
- get: function () { return chunkW7DQJT4T_cjs.useRevokeCallInviteLink; }
13826
+ get: function () { return chunk3CVY5SGY_cjs.useRevokeCallInviteLink; }
13817
13827
  });
13818
13828
  Object.defineProperty(exports, "useSaveToThread", {
13819
13829
  enumerable: true,
13820
- get: function () { return chunkW7DQJT4T_cjs.useSaveToThread; }
13830
+ get: function () { return chunk3CVY5SGY_cjs.useSaveToThread; }
13821
13831
  });
13822
13832
  Object.defineProperty(exports, "useServerCallsEnabled", {
13823
13833
  enumerable: true,
13824
- get: function () { return chunkW7DQJT4T_cjs.useServerCallsEnabled; }
13834
+ get: function () { return chunk3CVY5SGY_cjs.useServerCallsEnabled; }
13825
13835
  });
13826
13836
  Object.defineProperty(exports, "useServerCallsExperimental", {
13827
13837
  enumerable: true,
13828
- get: function () { return chunkW7DQJT4T_cjs.useServerCallsExperimental; }
13838
+ get: function () { return chunk3CVY5SGY_cjs.useServerCallsExperimental; }
13829
13839
  });
13830
13840
  Object.defineProperty(exports, "useUpdateProfile", {
13831
13841
  enumerable: true,
13832
- get: function () { return chunkW7DQJT4T_cjs.useUpdateProfile; }
13842
+ get: function () { return chunk3CVY5SGY_cjs.useUpdateProfile; }
13843
+ });
13844
+ Object.defineProperty(exports, "useUpdateUserSettings", {
13845
+ enumerable: true,
13846
+ get: function () { return chunk3CVY5SGY_cjs.useUpdateUserSettings; }
13847
+ });
13848
+ Object.defineProperty(exports, "useUserSettings", {
13849
+ enumerable: true,
13850
+ get: function () { return chunk3CVY5SGY_cjs.useUserSettings; }
13833
13851
  });
13834
13852
  Object.defineProperty(exports, "wrapTrackKey", {
13835
13853
  enumerable: true,
13836
- get: function () { return chunkW7DQJT4T_cjs.wrapTrackKey; }
13854
+ get: function () { return chunk3CVY5SGY_cjs.wrapTrackKey; }
13837
13855
  });
13838
13856
  Object.defineProperty(exports, "writeSamples", {
13839
13857
  enumerable: true,
13840
- get: function () { return chunkW7DQJT4T_cjs.writeSamples; }
13858
+ get: function () { return chunk3CVY5SGY_cjs.writeSamples; }
13841
13859
  });
13842
13860
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
13843
13861
  enumerable: true,
13844
- get: function () { return chunkODGIOGH5_cjs.DISMISSED_TASK_TTL_MS; }
13862
+ get: function () { return chunkUKEUDTOE_cjs.DISMISSED_TASK_TTL_MS; }
13845
13863
  });
13846
13864
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
13847
13865
  enumerable: true,
13848
- get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
13866
+ get: function () { return chunkUKEUDTOE_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
13849
13867
  });
13850
13868
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
13851
13869
  enumerable: true,
13852
- get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
13870
+ get: function () { return chunkUKEUDTOE_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
13853
13871
  });
13854
13872
  Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
13855
13873
  enumerable: true,
13856
- get: function () { return chunkODGIOGH5_cjs.DOCUMENTS_PAGE_SIZE; }
13874
+ get: function () { return chunkUKEUDTOE_cjs.DOCUMENTS_PAGE_SIZE; }
13857
13875
  });
13858
13876
  Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
13859
13877
  enumerable: true,
13860
- get: function () { return chunkODGIOGH5_cjs.FINISHED_DOCUMENT_STATUSES; }
13878
+ get: function () { return chunkUKEUDTOE_cjs.FINISHED_DOCUMENT_STATUSES; }
13861
13879
  });
13862
13880
  Object.defineProperty(exports, "IN_FLIGHT_DOCUMENT_STATUSES", {
13863
13881
  enumerable: true,
13864
- get: function () { return chunkODGIOGH5_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
13882
+ get: function () { return chunkUKEUDTOE_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
13865
13883
  });
13866
13884
  Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
13867
13885
  enumerable: true,
13868
- get: function () { return chunkODGIOGH5_cjs.SIMILARITY_THRESHOLD; }
13886
+ get: function () { return chunkUKEUDTOE_cjs.SIMILARITY_THRESHOLD; }
13869
13887
  });
13870
13888
  Object.defineProperty(exports, "adjustTagCounts", {
13871
13889
  enumerable: true,
13872
- get: function () { return chunkODGIOGH5_cjs.adjustTagCounts; }
13890
+ get: function () { return chunkUKEUDTOE_cjs.adjustTagCounts; }
13873
13891
  });
13874
13892
  Object.defineProperty(exports, "dropTagFromCachedDocuments", {
13875
13893
  enumerable: true,
13876
- get: function () { return chunkODGIOGH5_cjs.dropTagFromCachedDocuments; }
13894
+ get: function () { return chunkUKEUDTOE_cjs.dropTagFromCachedDocuments; }
13877
13895
  });
13878
13896
  Object.defineProperty(exports, "finishEntityExtraction", {
13879
13897
  enumerable: true,
13880
- get: function () { return chunkODGIOGH5_cjs.finishEntityExtraction; }
13898
+ get: function () { return chunkUKEUDTOE_cjs.finishEntityExtraction; }
13881
13899
  });
13882
13900
  Object.defineProperty(exports, "forgetDocuments", {
13883
13901
  enumerable: true,
13884
- get: function () { return chunkODGIOGH5_cjs.forgetDocuments; }
13902
+ get: function () { return chunkUKEUDTOE_cjs.forgetDocuments; }
13885
13903
  });
13886
13904
  Object.defineProperty(exports, "getCachedDocuments", {
13887
13905
  enumerable: true,
13888
- get: function () { return chunkODGIOGH5_cjs.getCachedDocuments; }
13906
+ get: function () { return chunkUKEUDTOE_cjs.getCachedDocuments; }
13889
13907
  });
13890
13908
  Object.defineProperty(exports, "invalidateTagData", {
13891
13909
  enumerable: true,
13892
- get: function () { return chunkODGIOGH5_cjs.invalidateTagData; }
13910
+ get: function () { return chunkUKEUDTOE_cjs.invalidateTagData; }
13893
13911
  });
13894
13912
  Object.defineProperty(exports, "invalidateTagTables", {
13895
13913
  enumerable: true,
13896
- get: function () { return chunkODGIOGH5_cjs.invalidateTagTables; }
13914
+ get: function () { return chunkUKEUDTOE_cjs.invalidateTagTables; }
13897
13915
  });
13898
13916
  Object.defineProperty(exports, "isDocumentsLoading", {
13899
13917
  enumerable: true,
13900
- get: function () { return chunkODGIOGH5_cjs.isDocumentsLoading; }
13918
+ get: function () { return chunkUKEUDTOE_cjs.isDocumentsLoading; }
13901
13919
  });
13902
13920
  Object.defineProperty(exports, "isRowNewer", {
13903
13921
  enumerable: true,
13904
- get: function () { return chunkODGIOGH5_cjs.isRowNewer; }
13922
+ get: function () { return chunkUKEUDTOE_cjs.isRowNewer; }
13905
13923
  });
13906
13924
  Object.defineProperty(exports, "isStaleTaskUpdate", {
13907
13925
  enumerable: true,
13908
- get: function () { return chunkODGIOGH5_cjs.isStaleTaskUpdate; }
13926
+ get: function () { return chunkUKEUDTOE_cjs.isStaleTaskUpdate; }
13909
13927
  });
13910
13928
  Object.defineProperty(exports, "patchCachedDocument", {
13911
13929
  enumerable: true,
13912
- get: function () { return chunkODGIOGH5_cjs.patchCachedDocument; }
13930
+ get: function () { return chunkUKEUDTOE_cjs.patchCachedDocument; }
13913
13931
  });
13914
13932
  Object.defineProperty(exports, "patchDocuments", {
13915
13933
  enumerable: true,
13916
- get: function () { return chunkODGIOGH5_cjs.patchDocuments; }
13934
+ get: function () { return chunkUKEUDTOE_cjs.patchDocuments; }
13917
13935
  });
13918
13936
  Object.defineProperty(exports, "patchWorkspaceTags", {
13919
13937
  enumerable: true,
13920
- get: function () { return chunkODGIOGH5_cjs.patchWorkspaceTags; }
13938
+ get: function () { return chunkUKEUDTOE_cjs.patchWorkspaceTags; }
13921
13939
  });
13922
13940
  Object.defineProperty(exports, "refreshDocuments", {
13923
13941
  enumerable: true,
13924
- get: function () { return chunkODGIOGH5_cjs.refreshDocuments; }
13942
+ get: function () { return chunkUKEUDTOE_cjs.refreshDocuments; }
13925
13943
  });
13926
13944
  Object.defineProperty(exports, "resolveDocumentStatus", {
13927
13945
  enumerable: true,
13928
- get: function () { return chunkODGIOGH5_cjs.resolveDocumentStatus; }
13946
+ get: function () { return chunkUKEUDTOE_cjs.resolveDocumentStatus; }
13929
13947
  });
13930
13948
  Object.defineProperty(exports, "setCachedDocument", {
13931
13949
  enumerable: true,
13932
- get: function () { return chunkODGIOGH5_cjs.setCachedDocument; }
13950
+ get: function () { return chunkUKEUDTOE_cjs.setCachedDocument; }
13933
13951
  });
13934
13952
  Object.defineProperty(exports, "settledByRows", {
13935
13953
  enumerable: true,
13936
- get: function () { return chunkODGIOGH5_cjs.settledByRows; }
13954
+ get: function () { return chunkUKEUDTOE_cjs.settledByRows; }
13937
13955
  });
13938
13956
  Object.defineProperty(exports, "startEntityExtraction", {
13939
13957
  enumerable: true,
13940
- get: function () { return chunkODGIOGH5_cjs.startEntityExtraction; }
13958
+ get: function () { return chunkUKEUDTOE_cjs.startEntityExtraction; }
13941
13959
  });
13942
13960
  Object.defineProperty(exports, "stopDocumentsLoading", {
13943
13961
  enumerable: true,
13944
- get: function () { return chunkODGIOGH5_cjs.stopDocumentsLoading; }
13962
+ get: function () { return chunkUKEUDTOE_cjs.stopDocumentsLoading; }
13945
13963
  });
13946
13964
  Object.defineProperty(exports, "subscribeDocumentRows", {
13947
13965
  enumerable: true,
13948
- get: function () { return chunkODGIOGH5_cjs.subscribeDocumentRows; }
13966
+ get: function () { return chunkUKEUDTOE_cjs.subscribeDocumentRows; }
13949
13967
  });
13950
13968
  Object.defineProperty(exports, "upsertDocuments", {
13951
13969
  enumerable: true,
13952
- get: function () { return chunkODGIOGH5_cjs.upsertDocuments; }
13970
+ get: function () { return chunkUKEUDTOE_cjs.upsertDocuments; }
13953
13971
  });
13954
13972
  Object.defineProperty(exports, "useArbiWsStore", {
13955
13973
  enumerable: true,
13956
- get: function () { return chunkODGIOGH5_cjs.useArbiWsStore; }
13974
+ get: function () { return chunkUKEUDTOE_cjs.useArbiWsStore; }
13957
13975
  });
13958
13976
  Object.defineProperty(exports, "useCreateTag", {
13959
13977
  enumerable: true,
13960
- get: function () { return chunkODGIOGH5_cjs.useCreateTag; }
13978
+ get: function () { return chunkUKEUDTOE_cjs.useCreateTag; }
13961
13979
  });
13962
13980
  Object.defineProperty(exports, "useDeleteTag", {
13963
13981
  enumerable: true,
13964
- get: function () { return chunkODGIOGH5_cjs.useDeleteTag; }
13982
+ get: function () { return chunkUKEUDTOE_cjs.useDeleteTag; }
13965
13983
  });
13966
13984
  Object.defineProperty(exports, "useDocument", {
13967
13985
  enumerable: true,
13968
- get: function () { return chunkODGIOGH5_cjs.useDocument; }
13986
+ get: function () { return chunkUKEUDTOE_cjs.useDocument; }
13969
13987
  });
13970
13988
  Object.defineProperty(exports, "useDocuments", {
13971
13989
  enumerable: true,
13972
- get: function () { return chunkODGIOGH5_cjs.useDocuments; }
13990
+ get: function () { return chunkUKEUDTOE_cjs.useDocuments; }
13973
13991
  });
13974
13992
  Object.defineProperty(exports, "useDocumentsById", {
13975
13993
  enumerable: true,
13976
- get: function () { return chunkODGIOGH5_cjs.useDocumentsById; }
13994
+ get: function () { return chunkUKEUDTOE_cjs.useDocumentsById; }
13977
13995
  });
13978
13996
  Object.defineProperty(exports, "useDocumentsLoading", {
13979
13997
  enumerable: true,
13980
- get: function () { return chunkODGIOGH5_cjs.useDocumentsLoading; }
13998
+ get: function () { return chunkUKEUDTOE_cjs.useDocumentsLoading; }
13981
13999
  });
13982
14000
  Object.defineProperty(exports, "useEntityExtractionDocIds", {
13983
14001
  enumerable: true,
13984
- get: function () { return chunkODGIOGH5_cjs.useEntityExtractionDocIds; }
14002
+ get: function () { return chunkUKEUDTOE_cjs.useEntityExtractionDocIds; }
13985
14003
  });
13986
14004
  Object.defineProperty(exports, "useExtractEntities", {
13987
14005
  enumerable: true,
13988
- get: function () { return chunkODGIOGH5_cjs.useExtractEntities; }
14006
+ get: function () { return chunkUKEUDTOE_cjs.useExtractEntities; }
13989
14007
  });
13990
14008
  Object.defineProperty(exports, "useInvalidateTagData", {
13991
14009
  enumerable: true,
13992
- get: function () { return chunkODGIOGH5_cjs.useInvalidateTagData; }
14010
+ get: function () { return chunkUKEUDTOE_cjs.useInvalidateTagData; }
13993
14011
  });
13994
14012
  Object.defineProperty(exports, "useIsCreatingTag", {
13995
14013
  enumerable: true,
13996
- get: function () { return chunkODGIOGH5_cjs.useIsCreatingTag; }
14014
+ get: function () { return chunkUKEUDTOE_cjs.useIsCreatingTag; }
13997
14015
  });
13998
14016
  Object.defineProperty(exports, "useRefreshDocuments", {
13999
14017
  enumerable: true,
14000
- get: function () { return chunkODGIOGH5_cjs.useRefreshDocuments; }
14018
+ get: function () { return chunkUKEUDTOE_cjs.useRefreshDocuments; }
14001
14019
  });
14002
14020
  Object.defineProperty(exports, "useSetTagValues", {
14003
14021
  enumerable: true,
14004
- get: function () { return chunkODGIOGH5_cjs.useSetTagValues; }
14022
+ get: function () { return chunkUKEUDTOE_cjs.useSetTagValues; }
14005
14023
  });
14006
14024
  Object.defineProperty(exports, "useSimilarDocuments", {
14007
14025
  enumerable: true,
14008
- get: function () { return chunkODGIOGH5_cjs.useSimilarDocuments; }
14026
+ get: function () { return chunkUKEUDTOE_cjs.useSimilarDocuments; }
14009
14027
  });
14010
14028
  Object.defineProperty(exports, "useTagKindSchema", {
14011
14029
  enumerable: true,
14012
- get: function () { return chunkODGIOGH5_cjs.useTagKindSchema; }
14030
+ get: function () { return chunkUKEUDTOE_cjs.useTagKindSchema; }
14013
14031
  });
14014
14032
  Object.defineProperty(exports, "useUpdateTag", {
14015
14033
  enumerable: true,
14016
- get: function () { return chunkODGIOGH5_cjs.useUpdateTag; }
14034
+ get: function () { return chunkUKEUDTOE_cjs.useUpdateTag; }
14017
14035
  });
14018
14036
  Object.defineProperty(exports, "useUpdateTagKindSchema", {
14019
14037
  enumerable: true,
14020
- get: function () { return chunkODGIOGH5_cjs.useUpdateTagKindSchema; }
14038
+ get: function () { return chunkUKEUDTOE_cjs.useUpdateTagKindSchema; }
14021
14039
  });
14022
14040
  Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
14023
14041
  enumerable: true,
14024
- get: function () { return chunkME4TS33T_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
14042
+ get: function () { return chunk2JQ7QNOO_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
14025
14043
  });
14026
14044
  Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
14027
14045
  enumerable: true,
14028
- get: function () { return chunkME4TS33T_cjs.EMPTY_SESSION_STATE; }
14046
+ get: function () { return chunk2JQ7QNOO_cjs.EMPTY_SESSION_STATE; }
14029
14047
  });
14030
14048
  Object.defineProperty(exports, "MAX_THREAD_TABS", {
14031
14049
  enumerable: true,
14032
- get: function () { return chunkME4TS33T_cjs.MAX_THREAD_TABS; }
14050
+ get: function () { return chunk2JQ7QNOO_cjs.MAX_THREAD_TABS; }
14033
14051
  });
14034
14052
  Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
14035
14053
  enumerable: true,
14036
- get: function () { return chunkME4TS33T_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
14054
+ get: function () { return chunk2JQ7QNOO_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
14037
14055
  });
14038
14056
  Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
14039
14057
  enumerable: true,
14040
- get: function () { return chunkME4TS33T_cjs.PROJECT_CREATION_DENIED_REASON; }
14058
+ get: function () { return chunk2JQ7QNOO_cjs.PROJECT_CREATION_DENIED_REASON; }
14041
14059
  });
14042
14060
  Object.defineProperty(exports, "agentControl", {
14043
14061
  enumerable: true,
14044
- get: function () { return chunkME4TS33T_cjs.agentControl; }
14062
+ get: function () { return chunk2JQ7QNOO_cjs.agentControl; }
14045
14063
  });
14046
14064
  Object.defineProperty(exports, "clearSealedDrafts", {
14047
14065
  enumerable: true,
14048
- get: function () { return chunkME4TS33T_cjs.clearSealedDrafts; }
14066
+ get: function () { return chunk2JQ7QNOO_cjs.clearSealedDrafts; }
14049
14067
  });
14050
14068
  Object.defineProperty(exports, "closePanelIn", {
14051
14069
  enumerable: true,
14052
- get: function () { return chunkME4TS33T_cjs.closePanelIn; }
14070
+ get: function () { return chunk2JQ7QNOO_cjs.closePanelIn; }
14053
14071
  });
14054
14072
  Object.defineProperty(exports, "conversationKey", {
14055
14073
  enumerable: true,
14056
- get: function () { return chunkME4TS33T_cjs.conversationKey; }
14074
+ get: function () { return chunk2JQ7QNOO_cjs.conversationKey; }
14057
14075
  });
14058
14076
  Object.defineProperty(exports, "createArbiLayoutStore", {
14059
14077
  enumerable: true,
14060
- get: function () { return chunkME4TS33T_cjs.createArbiLayoutStore; }
14078
+ get: function () { return chunk2JQ7QNOO_cjs.createArbiLayoutStore; }
14061
14079
  });
14062
14080
  Object.defineProperty(exports, "createArbiSessionStore", {
14063
14081
  enumerable: true,
14064
- get: function () { return chunkME4TS33T_cjs.createArbiSessionStore; }
14082
+ get: function () { return chunk2JQ7QNOO_cjs.createArbiSessionStore; }
14065
14083
  });
14066
14084
  Object.defineProperty(exports, "createDebouncedWriter", {
14067
14085
  enumerable: true,
14068
- get: function () { return chunkME4TS33T_cjs.createDebouncedWriter; }
14086
+ get: function () { return chunk2JQ7QNOO_cjs.createDebouncedWriter; }
14069
14087
  });
14070
14088
  Object.defineProperty(exports, "createSealedDraftStorage", {
14071
14089
  enumerable: true,
14072
- get: function () { return chunkME4TS33T_cjs.createSealedDraftStorage; }
14090
+ get: function () { return chunk2JQ7QNOO_cjs.createSealedDraftStorage; }
14073
14091
  });
14074
14092
  Object.defineProperty(exports, "createStoragePersist", {
14075
14093
  enumerable: true,
14076
- get: function () { return chunkME4TS33T_cjs.createStoragePersist; }
14094
+ get: function () { return chunk2JQ7QNOO_cjs.createStoragePersist; }
14077
14095
  });
14078
14096
  Object.defineProperty(exports, "defaultLayoutState", {
14079
14097
  enumerable: true,
14080
- get: function () { return chunkME4TS33T_cjs.defaultLayoutState; }
14098
+ get: function () { return chunk2JQ7QNOO_cjs.defaultLayoutState; }
14081
14099
  });
14082
14100
  Object.defineProperty(exports, "dmTabId", {
14083
14101
  enumerable: true,
14084
- get: function () { return chunkME4TS33T_cjs.dmTabId; }
14102
+ get: function () { return chunk2JQ7QNOO_cjs.dmTabId; }
14085
14103
  });
14086
14104
  Object.defineProperty(exports, "flushOnPageExit", {
14087
14105
  enumerable: true,
14088
- get: function () { return chunkME4TS33T_cjs.flushOnPageExit; }
14106
+ get: function () { return chunk2JQ7QNOO_cjs.flushOnPageExit; }
14089
14107
  });
14090
14108
  Object.defineProperty(exports, "isPanelOpen", {
14091
14109
  enumerable: true,
14092
- get: function () { return chunkME4TS33T_cjs.isPanelOpen; }
14110
+ get: function () { return chunk2JQ7QNOO_cjs.isPanelOpen; }
14093
14111
  });
14094
14112
  Object.defineProperty(exports, "isUsageMetered", {
14095
14113
  enumerable: true,
14096
- get: function () { return chunkME4TS33T_cjs.isUsageMetered; }
14114
+ get: function () { return chunk2JQ7QNOO_cjs.isUsageMetered; }
14097
14115
  });
14098
14116
  Object.defineProperty(exports, "layoutActionsOf", {
14099
14117
  enumerable: true,
14100
- get: function () { return chunkME4TS33T_cjs.layoutActionsOf; }
14118
+ get: function () { return chunk2JQ7QNOO_cjs.layoutActionsOf; }
14101
14119
  });
14102
14120
  Object.defineProperty(exports, "nextViewingDocument", {
14103
14121
  enumerable: true,
14104
- get: function () { return chunkME4TS33T_cjs.nextViewingDocument; }
14122
+ get: function () { return chunk2JQ7QNOO_cjs.nextViewingDocument; }
14105
14123
  });
14106
14124
  Object.defineProperty(exports, "openPanelIn", {
14107
14125
  enumerable: true,
14108
- get: function () { return chunkME4TS33T_cjs.openPanelIn; }
14126
+ get: function () { return chunk2JQ7QNOO_cjs.openPanelIn; }
14109
14127
  });
14110
14128
  Object.defineProperty(exports, "panelPlace", {
14111
14129
  enumerable: true,
14112
- get: function () { return chunkME4TS33T_cjs.panelPlace; }
14130
+ get: function () { return chunk2JQ7QNOO_cjs.panelPlace; }
14113
14131
  });
14114
14132
  Object.defineProperty(exports, "parseSavedLayout", {
14115
14133
  enumerable: true,
14116
- get: function () { return chunkME4TS33T_cjs.parseSavedLayout; }
14134
+ get: function () { return chunk2JQ7QNOO_cjs.parseSavedLayout; }
14117
14135
  });
14118
14136
  Object.defineProperty(exports, "queuedMessages", {
14119
14137
  enumerable: true,
14120
- get: function () { return chunkME4TS33T_cjs.queuedMessages; }
14138
+ get: function () { return chunk2JQ7QNOO_cjs.queuedMessages; }
14121
14139
  });
14122
14140
  Object.defineProperty(exports, "restoreLayout", {
14123
14141
  enumerable: true,
14124
- get: function () { return chunkME4TS33T_cjs.restoreLayout; }
14142
+ get: function () { return chunk2JQ7QNOO_cjs.restoreLayout; }
14125
14143
  });
14126
14144
  Object.defineProperty(exports, "savedLayoutOf", {
14127
14145
  enumerable: true,
14128
- get: function () { return chunkME4TS33T_cjs.savedLayoutOf; }
14146
+ get: function () { return chunk2JQ7QNOO_cjs.savedLayoutOf; }
14129
14147
  });
14130
14148
  Object.defineProperty(exports, "selectDraft", {
14131
14149
  enumerable: true,
14132
- get: function () { return chunkME4TS33T_cjs.selectDraft; }
14150
+ get: function () { return chunk2JQ7QNOO_cjs.selectDraft; }
14133
14151
  });
14134
14152
  Object.defineProperty(exports, "selectIsGenerating", {
14135
14153
  enumerable: true,
14136
- get: function () { return chunkME4TS33T_cjs.selectIsGenerating; }
14154
+ get: function () { return chunk2JQ7QNOO_cjs.selectIsGenerating; }
14137
14155
  });
14138
14156
  Object.defineProperty(exports, "selectViewingDocumentId", {
14139
14157
  enumerable: true,
14140
- get: function () { return chunkME4TS33T_cjs.selectViewingDocumentId; }
14158
+ get: function () { return chunk2JQ7QNOO_cjs.selectViewingDocumentId; }
14141
14159
  });
14142
14160
  Object.defineProperty(exports, "threadTabId", {
14143
14161
  enumerable: true,
14144
- get: function () { return chunkME4TS33T_cjs.threadTabId; }
14162
+ get: function () { return chunk2JQ7QNOO_cjs.threadTabId; }
14145
14163
  });
14146
14164
  Object.defineProperty(exports, "useActivity", {
14147
14165
  enumerable: true,
14148
- get: function () { return chunkME4TS33T_cjs.useActivity; }
14166
+ get: function () { return chunk2JQ7QNOO_cjs.useActivity; }
14149
14167
  });
14150
14168
  Object.defineProperty(exports, "useAgents", {
14151
14169
  enumerable: true,
14152
- get: function () { return chunkME4TS33T_cjs.useAgents; }
14170
+ get: function () { return chunk2JQ7QNOO_cjs.useAgents; }
14153
14171
  });
14154
14172
  Object.defineProperty(exports, "useArbiSession", {
14155
14173
  enumerable: true,
14156
- get: function () { return chunkME4TS33T_cjs.useArbiSession; }
14174
+ get: function () { return chunk2JQ7QNOO_cjs.useArbiSession; }
14157
14175
  });
14158
14176
  Object.defineProperty(exports, "useArbiSessionState", {
14159
14177
  enumerable: true,
14160
- get: function () { return chunkME4TS33T_cjs.useArbiSessionState; }
14178
+ get: function () { return chunk2JQ7QNOO_cjs.useArbiSessionState; }
14161
14179
  });
14162
14180
  Object.defineProperty(exports, "useArbiSessionStore", {
14163
14181
  enumerable: true,
14164
- get: function () { return chunkME4TS33T_cjs.useArbiSessionStore; }
14182
+ get: function () { return chunk2JQ7QNOO_cjs.useArbiSessionStore; }
14165
14183
  });
14166
14184
  Object.defineProperty(exports, "useAssistantQuery", {
14167
14185
  enumerable: true,
14168
- get: function () { return chunkME4TS33T_cjs.useAssistantQuery; }
14186
+ get: function () { return chunk2JQ7QNOO_cjs.useAssistantQuery; }
14169
14187
  });
14170
14188
  Object.defineProperty(exports, "useAvailableModels", {
14171
14189
  enumerable: true,
14172
- get: function () { return chunkME4TS33T_cjs.useAvailableModels; }
14190
+ get: function () { return chunk2JQ7QNOO_cjs.useAvailableModels; }
14173
14191
  });
14174
14192
  Object.defineProperty(exports, "useBoxRole", {
14175
14193
  enumerable: true,
14176
- get: function () { return chunkME4TS33T_cjs.useBoxRole; }
14194
+ get: function () { return chunk2JQ7QNOO_cjs.useBoxRole; }
14177
14195
  });
14178
14196
  Object.defineProperty(exports, "useBuiltinCommands", {
14179
14197
  enumerable: true,
14180
- get: function () { return chunkME4TS33T_cjs.useBuiltinCommands; }
14198
+ get: function () { return chunk2JQ7QNOO_cjs.useBuiltinCommands; }
14181
14199
  });
14182
14200
  Object.defineProperty(exports, "useCanCreateProjects", {
14183
14201
  enumerable: true,
14184
- get: function () { return chunkME4TS33T_cjs.useCanCreateProjects; }
14202
+ get: function () { return chunk2JQ7QNOO_cjs.useCanCreateProjects; }
14185
14203
  });
14186
14204
  Object.defineProperty(exports, "useConfig", {
14187
14205
  enumerable: true,
14188
- get: function () { return chunkME4TS33T_cjs.useConfig; }
14206
+ get: function () { return chunk2JQ7QNOO_cjs.useConfig; }
14189
14207
  });
14190
14208
  Object.defineProperty(exports, "useConfigs", {
14191
14209
  enumerable: true,
14192
- get: function () { return chunkME4TS33T_cjs.useConfigs; }
14210
+ get: function () { return chunk2JQ7QNOO_cjs.useConfigs; }
14193
14211
  });
14194
14212
  Object.defineProperty(exports, "useConversationThreads", {
14195
14213
  enumerable: true,
14196
- get: function () { return chunkME4TS33T_cjs.useConversationThreads; }
14214
+ get: function () { return chunk2JQ7QNOO_cjs.useConversationThreads; }
14197
14215
  });
14198
14216
  Object.defineProperty(exports, "useConversations", {
14199
14217
  enumerable: true,
14200
- get: function () { return chunkME4TS33T_cjs.useConversations; }
14218
+ get: function () { return chunk2JQ7QNOO_cjs.useConversations; }
14201
14219
  });
14202
14220
  Object.defineProperty(exports, "useCurrentUser", {
14203
14221
  enumerable: true,
14204
- get: function () { return chunkME4TS33T_cjs.useCurrentUser; }
14222
+ get: function () { return chunk2JQ7QNOO_cjs.useCurrentUser; }
14205
14223
  });
14206
14224
  Object.defineProperty(exports, "useDeleteAgents", {
14207
14225
  enumerable: true,
14208
- get: function () { return chunkME4TS33T_cjs.useDeleteAgents; }
14226
+ get: function () { return chunk2JQ7QNOO_cjs.useDeleteAgents; }
14209
14227
  });
14210
14228
  Object.defineProperty(exports, "useDocumentVersionList", {
14211
14229
  enumerable: true,
14212
- get: function () { return chunkME4TS33T_cjs.useDocumentVersionList; }
14230
+ get: function () { return chunk2JQ7QNOO_cjs.useDocumentVersionList; }
14213
14231
  });
14214
14232
  Object.defineProperty(exports, "useFirmPool", {
14215
14233
  enumerable: true,
14216
- get: function () { return chunkME4TS33T_cjs.useFirmPool; }
14234
+ get: function () { return chunk2JQ7QNOO_cjs.useFirmPool; }
14217
14235
  });
14218
14236
  Object.defineProperty(exports, "useHealth", {
14219
14237
  enumerable: true,
14220
- get: function () { return chunkME4TS33T_cjs.useHealth; }
14238
+ get: function () { return chunk2JQ7QNOO_cjs.useHealth; }
14221
14239
  });
14222
14240
  Object.defineProperty(exports, "useMessageDetails", {
14223
14241
  enumerable: true,
14224
- get: function () { return chunkME4TS33T_cjs.useMessageDetails; }
14242
+ get: function () { return chunk2JQ7QNOO_cjs.useMessageDetails; }
14225
14243
  });
14226
14244
  Object.defineProperty(exports, "useParsedDocument", {
14227
14245
  enumerable: true,
14228
- get: function () { return chunkME4TS33T_cjs.useParsedDocument; }
14246
+ get: function () { return chunk2JQ7QNOO_cjs.useParsedDocument; }
14229
14247
  });
14230
14248
  Object.defineProperty(exports, "useProjectInvoices", {
14231
14249
  enumerable: true,
14232
- get: function () { return chunkME4TS33T_cjs.useProjectInvoices; }
14250
+ get: function () { return chunk2JQ7QNOO_cjs.useProjectInvoices; }
14233
14251
  });
14234
14252
  Object.defineProperty(exports, "useProjectUsage", {
14235
14253
  enumerable: true,
14236
- get: function () { return chunkME4TS33T_cjs.useProjectUsage; }
14254
+ get: function () { return chunk2JQ7QNOO_cjs.useProjectUsage; }
14237
14255
  });
14238
14256
  Object.defineProperty(exports, "useProjects", {
14239
14257
  enumerable: true,
14240
- get: function () { return chunkME4TS33T_cjs.useProjects; }
14258
+ get: function () { return chunk2JQ7QNOO_cjs.useProjects; }
14241
14259
  });
14242
14260
  Object.defineProperty(exports, "useProjectsUsage", {
14243
14261
  enumerable: true,
14244
- get: function () { return chunkME4TS33T_cjs.useProjectsUsage; }
14262
+ get: function () { return chunk2JQ7QNOO_cjs.useProjectsUsage; }
14245
14263
  });
14246
14264
  Object.defineProperty(exports, "useSessionPageTab", {
14247
14265
  enumerable: true,
14248
- get: function () { return chunkME4TS33T_cjs.useSessionPageTab; }
14266
+ get: function () { return chunk2JQ7QNOO_cjs.useSessionPageTab; }
14249
14267
  });
14250
14268
  Object.defineProperty(exports, "useSessionView", {
14251
14269
  enumerable: true,
14252
- get: function () { return chunkME4TS33T_cjs.useSessionView; }
14270
+ get: function () { return chunk2JQ7QNOO_cjs.useSessionView; }
14253
14271
  });
14254
14272
  Object.defineProperty(exports, "useSignedInSession", {
14255
14273
  enumerable: true,
14256
- get: function () { return chunkME4TS33T_cjs.useSignedInSession; }
14274
+ get: function () { return chunk2JQ7QNOO_cjs.useSignedInSession; }
14257
14275
  });
14258
14276
  Object.defineProperty(exports, "useTags", {
14259
14277
  enumerable: true,
14260
- get: function () { return chunkME4TS33T_cjs.useTags; }
14278
+ get: function () { return chunk2JQ7QNOO_cjs.useTags; }
14261
14279
  });
14262
14280
  Object.defineProperty(exports, "useThumbnails", {
14263
14281
  enumerable: true,
14264
- get: function () { return chunkME4TS33T_cjs.useThumbnails; }
14282
+ get: function () { return chunk2JQ7QNOO_cjs.useThumbnails; }
14265
14283
  });
14266
14284
  Object.defineProperty(exports, "useTopUpFirmPool", {
14267
14285
  enumerable: true,
14268
- get: function () { return chunkME4TS33T_cjs.useTopUpFirmPool; }
14286
+ get: function () { return chunk2JQ7QNOO_cjs.useTopUpFirmPool; }
14269
14287
  });
14270
14288
  Object.defineProperty(exports, "useTransientView", {
14271
14289
  enumerable: true,
14272
- get: function () { return chunkME4TS33T_cjs.useTransientView; }
14290
+ get: function () { return chunk2JQ7QNOO_cjs.useTransientView; }
14273
14291
  });
14274
14292
  Object.defineProperty(exports, "useUserUsageToday", {
14275
14293
  enumerable: true,
14276
- get: function () { return chunkME4TS33T_cjs.useUserUsageToday; }
14294
+ get: function () { return chunk2JQ7QNOO_cjs.useUserUsageToday; }
14277
14295
  });
14278
14296
  Object.defineProperty(exports, "useWorkspaceActivity", {
14279
14297
  enumerable: true,
14280
- get: function () { return chunkME4TS33T_cjs.useWorkspaceActivity; }
14298
+ get: function () { return chunk2JQ7QNOO_cjs.useWorkspaceActivity; }
14281
14299
  });
14282
14300
  Object.defineProperty(exports, "useWorkspaces", {
14283
14301
  enumerable: true,
14284
- get: function () { return chunkME4TS33T_cjs.useWorkspaces; }
14302
+ get: function () { return chunk2JQ7QNOO_cjs.useWorkspaces; }
14285
14303
  });
14286
14304
  Object.defineProperty(exports, "arbiMutationKeys", {
14287
14305
  enumerable: true,
@@ -15421,15 +15439,15 @@ Object.defineProperty(exports, "cn", {
15421
15439
  });
15422
15440
  Object.defineProperty(exports, "useArbi", {
15423
15441
  enumerable: true,
15424
- get: function () { return chunkYIUUTRMQ_cjs.useArbi; }
15442
+ get: function () { return chunkYRY6DGRU_cjs.useArbi; }
15425
15443
  });
15426
15444
  Object.defineProperty(exports, "useArbiHost", {
15427
15445
  enumerable: true,
15428
- get: function () { return chunkYIUUTRMQ_cjs.useArbiHost; }
15446
+ get: function () { return chunkYRY6DGRU_cjs.useArbiHost; }
15429
15447
  });
15430
15448
  Object.defineProperty(exports, "useDeploymentDomain", {
15431
15449
  enumerable: true,
15432
- get: function () { return chunkYIUUTRMQ_cjs.useDeploymentDomain; }
15450
+ get: function () { return chunkYRY6DGRU_cjs.useDeploymentDomain; }
15433
15451
  });
15434
15452
  Object.defineProperty(exports, "useHostConfigRecord", {
15435
15453
  enumerable: true,
@@ -15636,6 +15654,7 @@ exports.connectOAuthCalendarAccount = connectOAuthCalendarAccount;
15636
15654
  exports.connectorErrorStatus = connectorErrorStatus;
15637
15655
  exports.connectorReturnTo = connectorReturnTo;
15638
15656
  exports.createMailClient = createMailClient;
15657
+ exports.createSkillPack = createSkillPack;
15639
15658
  exports.createStreamHandlers = createStreamHandlers;
15640
15659
  exports.createWorkspaceSwitch = createWorkspaceSwitch;
15641
15660
  exports.cropImage = cropImage;
@@ -16045,7 +16064,6 @@ exports.useUpdateMailMessage = useUpdateMailMessage;
16045
16064
  exports.useUpdateProjectAddonSettings = useUpdateProjectAddonSettings;
16046
16065
  exports.useUpdateProjectFields = useUpdateProjectFields;
16047
16066
  exports.useUpdateProjectNextPeriodAddons = useUpdateProjectNextPeriodAddons;
16048
- exports.useUpdateUserSettings = useUpdateUserSettings;
16049
16067
  exports.useUpdateWorkflow = useUpdateWorkflow;
16050
16068
  exports.useUpdateWorkspace = useUpdateWorkspace;
16051
16069
  exports.useUploadDocuments = useUploadDocuments;
@@ -16053,7 +16071,6 @@ exports.useUploadFiles = useUploadFiles;
16053
16071
  exports.useUploadFromUrls = useUploadFromUrls;
16054
16072
  exports.useUploadSkillFiles = useUploadSkillFiles;
16055
16073
  exports.useUploadUrls = useUploadUrls;
16056
- exports.useUserSettings = useUserSettings;
16057
16074
  exports.useVideoRecorder = useVideoRecorder;
16058
16075
  exports.useWorkItems = useWorkItems;
16059
16076
  exports.useWorkNotifications = useWorkNotifications;