@arbidocs/react 0.4.168 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunk3J7MEBOW_cjs = require('./chunk-3J7MEBOW.cjs');
4
- var chunkS4PCA3ES_cjs = require('./chunk-S4PCA3ES.cjs');
5
- var chunk5B4PPJNW_cjs = require('./chunk-5B4PPJNW.cjs');
3
+ var chunkZGW7PN4G_cjs = require('./chunk-ZGW7PN4G.cjs');
4
+ var chunkSBWEI3BO_cjs = require('./chunk-SBWEI3BO.cjs');
5
+ var chunkGGLRX4X6_cjs = require('./chunk-GGLRX4X6.cjs');
6
6
  var chunkZI2VJOID_cjs = require('./chunk-ZI2VJOID.cjs');
7
7
  var chunkVAMPYLQ4_cjs = require('./chunk-VAMPYLQ4.cjs');
8
8
  var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
@@ -71,9 +71,9 @@ function holdListPoll(refetch) {
71
71
  };
72
72
  }
73
73
  function useConversationItems() {
74
- const workspaceId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
75
- const open = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
76
- const query = chunk5B4PPJNW_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
74
+ const workspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
75
+ const open = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
76
+ const query = chunkGGLRX4X6_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 = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.conversationId);
97
+ const id = chunkGGLRX4X6_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 = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
107
- const me = chunk5B4PPJNW_cjs.useArbiSession().user?.external_id;
108
- const { data: workspaces } = chunk5B4PPJNW_cjs.useWorkspaces();
106
+ const workspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
107
+ const me = chunkGGLRX4X6_cjs.useArbiSession().user?.external_id;
108
+ const { data: workspaces } = chunkGGLRX4X6_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
  }
@@ -123,7 +123,7 @@ function useNotifyConversation() {
123
123
  mutationFn: ({ conversationId, userIds }) => arbi.conversations.notify(conversationId, userIds),
124
124
  onSuccess: (_data, { conversationId }) => {
125
125
  invalidateConversationActivity(qc, conversationId);
126
- void chunk3J7MEBOW_cjs.invalidateConversationLists(qc);
126
+ void chunkZGW7PN4G_cjs.invalidateConversationLists(qc);
127
127
  }
128
128
  });
129
129
  }
@@ -140,7 +140,7 @@ var THREAD_LOOKUP_DELAY_MS = 500;
140
140
  function useStartTaskQuery() {
141
141
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
142
142
  const queryClient = reactQuery.useQueryClient();
143
- const chatModel = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.chatModel);
143
+ const chatModel = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.chatModel);
144
144
  const post = reactQuery.useMutation({
145
145
  mutationFn: (query) => {
146
146
  const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
@@ -165,7 +165,7 @@ function useStartTaskQuery() {
165
165
  }
166
166
  }
167
167
  if (!conversationId) return null;
168
- await chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
168
+ await chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
169
169
  return { conversationId };
170
170
  };
171
171
  return {
@@ -190,8 +190,8 @@ function useUpdateConversation() {
190
190
  }) => arbi.conversations.update(conversationId, patch),
191
191
  // The list takes the server's version of the row; what hangs off it is read again.
192
192
  onSuccess: (updated, { conversationId }) => {
193
- chunk3J7MEBOW_cjs.patchConversation(qc, conversationId, updated);
194
- return chunk3J7MEBOW_cjs.invalidateConversationDetails(qc, conversationId);
193
+ chunkZGW7PN4G_cjs.patchConversation(qc, conversationId, updated);
194
+ return chunkZGW7PN4G_cjs.invalidateConversationDetails(qc, conversationId);
195
195
  }
196
196
  });
197
197
  }
@@ -200,7 +200,7 @@ function useCreateWork() {
200
200
  const qc = reactQuery.useQueryClient();
201
201
  return reactQuery.useMutation({
202
202
  mutationFn: (body) => arbi.conversations.createWork(body),
203
- onSuccess: (created) => chunk3J7MEBOW_cjs.addConversationToList(qc, arbi.hasWorkspace ? arbi.getWorkspaceId() : null, created)
203
+ onSuccess: (created) => chunkZGW7PN4G_cjs.addConversationToList(qc, arbi.hasWorkspace ? arbi.getWorkspaceId() : null, created)
204
204
  });
205
205
  }
206
206
  function useRunConversation() {
@@ -210,7 +210,7 @@ function useRunConversation() {
210
210
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
211
211
  // The server's version replaces the listed one; everything under the conversation is re-read.
212
212
  onSuccess: (updated) => {
213
- if (updated?.external_id) chunk3J7MEBOW_cjs.patchConversation(qc, updated.external_id, updated);
213
+ if (updated?.external_id) chunkZGW7PN4G_cjs.patchConversation(qc, updated.external_id, updated);
214
214
  return qc.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.allConversations() });
215
215
  }
216
216
  });
@@ -226,7 +226,7 @@ function useActOnStep() {
226
226
  // The server's version of the conversation replaces the listed one; its history is re-read.
227
227
  onSuccess: (updated) => {
228
228
  if (!updated?.external_id) return;
229
- chunk3J7MEBOW_cjs.patchConversation(qc, updated.external_id, updated);
229
+ chunkZGW7PN4G_cjs.patchConversation(qc, updated.external_id, updated);
230
230
  invalidateConversationActivity(qc, updated.external_id);
231
231
  }
232
232
  });
@@ -1237,8 +1237,7 @@ function useWorkspaceUsers(workspaceId, options) {
1237
1237
  enabled: !!workspace && (options?.enabled ?? arbi.hasWorkspace),
1238
1238
  queryFn: async () => {
1239
1239
  await options?.beforeFetch?.();
1240
- if (arbi.getWorkspaceId() !== workspace) throw new Error("The selected workspace changed.");
1241
- return arbi.workspaces.listUsers();
1240
+ return arbi.readInWorkspace(workspace, () => arbi.workspaces.listUsers());
1242
1241
  },
1243
1242
  staleTime: MEMBERS_STALE_MS
1244
1243
  });
@@ -1304,18 +1303,18 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1304
1303
  if (!conversationId) return newMode;
1305
1304
  const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
1306
1305
  if (threads?.assistant_mode) return threads.assistant_mode;
1307
- return chunk3J7MEBOW_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1306
+ return chunkZGW7PN4G_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1308
1307
  }
1309
1308
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1310
1309
  const mentioned = chunkZI2VJOID_cjs.extractMentions(content, candidates);
1311
1310
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1312
- if (chunk3J7MEBOW_cjs.isConversationShared(queryClient, conversationId)) return true;
1311
+ if (chunkZGW7PN4G_cjs.isConversationShared(queryClient, conversationId)) return true;
1313
1312
  if (mentioned.some((c) => c.kind === "user")) return true;
1314
- return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned" && !chunk3J7MEBOW_cjs.isKnownSoloConversation(queryClient, conversationId);
1313
+ return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned" && !chunkZGW7PN4G_cjs.isKnownSoloConversation(queryClient, conversationId);
1315
1314
  }
1316
1315
  function useMentionCandidates() {
1317
1316
  const { data: users = [] } = useWorkspaceUsers();
1318
- const currentUserId = chunk5B4PPJNW_cjs.useArbiSession().user?.external_id;
1317
+ const currentUserId = chunkGGLRX4X6_cjs.useArbiSession().user?.external_id;
1319
1318
  return React.useMemo(() => buildMentionCandidates(users, currentUserId), [users, currentUserId]);
1320
1319
  }
1321
1320
  function useUserSettings(options) {
@@ -1419,11 +1418,11 @@ function configDelta(active, defaults) {
1419
1418
  }
1420
1419
  function useSaveConfigField() {
1421
1420
  const saveConfig = useSaveConfig();
1422
- const { data: defaultConfig } = chunk5B4PPJNW_cjs.useConfig("default");
1423
- const chatModel = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.chatModel);
1421
+ const { data: defaultConfig } = chunkGGLRX4X6_cjs.useConfig("default");
1422
+ const chatModel = chunkGGLRX4X6_cjs.useArbiSessionState((state) => state.chatModel);
1424
1423
  const { data: userSettings } = useUserSettings();
1425
1424
  const activeConfigId = chatModel || userSettings?.last_config || "default";
1426
- const { data: activeConfigData } = chunk5B4PPJNW_cjs.useConfig(activeConfigId);
1425
+ const { data: activeConfigData } = chunkGGLRX4X6_cjs.useConfig(activeConfigId);
1427
1426
  const buildDelta = (changes) => {
1428
1427
  const defaults = defaultConfig ?? {};
1429
1428
  const active = activeConfigData ?? {};
@@ -1461,8 +1460,8 @@ function pendingChatModelSave(session) {
1461
1460
  return chatModelSaves.get(session);
1462
1461
  }
1463
1462
  function useApplyChatModel() {
1464
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
1465
- const { data: availableModels } = chunk5B4PPJNW_cjs.useAvailableModels();
1463
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
1464
+ const { data: availableModels } = chunkGGLRX4X6_cjs.useAvailableModels();
1466
1465
  const configField = useSaveConfigField();
1467
1466
  return React.useCallback(
1468
1467
  async (model, label) => {
@@ -1517,10 +1516,10 @@ var useArbiWsStore = zustand.create((set) => ({
1517
1516
  presence: {},
1518
1517
  setStatus: (status) => set({ status }),
1519
1518
  applyTaskUpdate: (msg) => set(
1520
- (s) => chunkS4PCA3ES_cjs.isStaleTaskUpdate(s.tasks[msg.doc_ext_id], msg) ? s : { tasks: { ...s.tasks, [msg.doc_ext_id]: msg }, lastTaskUpdate: msg }
1519
+ (s) => chunkSBWEI3BO_cjs.isStaleTaskUpdate(s.tasks[msg.doc_ext_id], msg) ? s : { tasks: { ...s.tasks, [msg.doc_ext_id]: msg }, lastTaskUpdate: msg }
1521
1520
  ),
1522
1521
  settleTasks: (rows) => set((s) => {
1523
- const settled = chunkS4PCA3ES_cjs.settledByRows(s.tasks, rows);
1522
+ const settled = chunkSBWEI3BO_cjs.settledByRows(s.tasks, rows);
1524
1523
  if (!settled.length) return s;
1525
1524
  const tasks = { ...s.tasks };
1526
1525
  for (const task of settled) tasks[task.doc_ext_id] = task;
@@ -1570,7 +1569,7 @@ function useDocumentPendingSync(docId) {
1570
1569
  function applyOptimisticDocumentEdit(qc, updates) {
1571
1570
  const byId = new Map(updates.map((update) => [update.external_id, update]));
1572
1571
  const previous = [];
1573
- chunkS4PCA3ES_cjs.patchDocuments(qc, (old) => {
1572
+ chunkSBWEI3BO_cjs.patchDocuments(qc, (old) => {
1574
1573
  let changed = false;
1575
1574
  const next = old.map((doc) => {
1576
1575
  const update = byId.get(doc.external_id);
@@ -1585,7 +1584,7 @@ function applyOptimisticDocumentEdit(qc, updates) {
1585
1584
  const own = qc.getQueryData(
1586
1585
  chunkVLK52VXC_cjs.arbiQueryKeys.document(update.external_id)
1587
1586
  );
1588
- if (own) chunkS4PCA3ES_cjs.setCachedDocument(qc, { ...own, ...update });
1587
+ if (own) chunkSBWEI3BO_cjs.setCachedDocument(qc, { ...own, ...update });
1589
1588
  return [update.external_id, own];
1590
1589
  });
1591
1590
  return { optimistic: true, previous, previousOwn };
@@ -1595,7 +1594,7 @@ function rollbackOptimisticDocumentEdit(qc, context) {
1595
1594
  if (!edit?.optimistic) return;
1596
1595
  if (edit.previous.length) {
1597
1596
  const restore = new Map(edit.previous.map((doc) => [doc.external_id, doc]));
1598
- chunkS4PCA3ES_cjs.patchDocuments(
1597
+ chunkSBWEI3BO_cjs.patchDocuments(
1599
1598
  qc,
1600
1599
  (old) => old.some((doc) => restore.has(doc.external_id)) ? old.map((doc) => restore.get(doc.external_id) ?? doc) : old
1601
1600
  );
@@ -1605,19 +1604,19 @@ function rollbackOptimisticDocumentEdit(qc, context) {
1605
1604
  function settleUpdatedDocuments(qc, updated) {
1606
1605
  if (!updated.length) return;
1607
1606
  const byId = new Map(updated.map((doc) => [doc.external_id, doc]));
1608
- chunkS4PCA3ES_cjs.patchDocuments(
1607
+ chunkSBWEI3BO_cjs.patchDocuments(
1609
1608
  qc,
1610
1609
  (old) => old.some((doc) => byId.has(doc.external_id)) ? old.map((doc) => byId.get(doc.external_id) ?? doc) : old
1611
1610
  );
1612
- for (const doc of updated) chunkS4PCA3ES_cjs.setCachedDocument(qc, doc);
1611
+ for (const doc of updated) chunkSBWEI3BO_cjs.setCachedDocument(qc, doc);
1613
1612
  }
1614
1613
  function patchEachDocument(qc, docIds, reducer) {
1615
1614
  const ids = new Set(docIds);
1616
- chunkS4PCA3ES_cjs.patchDocuments(
1615
+ chunkSBWEI3BO_cjs.patchDocuments(
1617
1616
  qc,
1618
1617
  (old) => old.some((doc) => ids.has(doc.external_id)) ? old.map((doc) => ids.has(doc.external_id) ? reducer(doc) : doc) : old
1619
1618
  );
1620
- for (const id of ids) chunkS4PCA3ES_cjs.patchCachedDocument(qc, id, reducer);
1619
+ for (const id of ids) chunkSBWEI3BO_cjs.patchCachedDocument(qc, id, reducer);
1621
1620
  }
1622
1621
  function workspaceOf(qc, docId) {
1623
1622
  for (const [, docs] of qc.getQueriesData({
@@ -1644,7 +1643,7 @@ function settleAssignedDocTags(qc, created) {
1644
1643
  ...doc,
1645
1644
  doctags: [...doc.doctags ?? [], ...byDoc.get(doc.external_id) ?? []]
1646
1645
  }));
1647
- for (const [workspaceId, delta] of workspaces) chunkS4PCA3ES_cjs.adjustTagCounts(qc, workspaceId, delta);
1646
+ for (const [workspaceId, delta] of workspaces) chunkSBWEI3BO_cjs.adjustTagCounts(qc, workspaceId, delta);
1648
1647
  }
1649
1648
  function settleRemovedDocTags(qc, { tagId, docIds }) {
1650
1649
  const ids = new Set(docIds);
@@ -1666,7 +1665,7 @@ function settleRemovedDocTags(qc, { tagId, docIds }) {
1666
1665
  doctags: (doc.doctags ?? []).filter((dt) => dt.tag_ext_id !== tagId)
1667
1666
  }));
1668
1667
  for (const [workspaceId, removed] of removedByWorkspace)
1669
- chunkS4PCA3ES_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
1668
+ chunkSBWEI3BO_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
1670
1669
  }
1671
1670
  function settleUpdatedDocTag(qc, updated) {
1672
1671
  patchEachDocument(qc, [updated.doc_ext_id], (doc) => ({
@@ -1742,7 +1741,7 @@ function useRenameFolder() {
1742
1741
  return folder === void 0 ? [] : [{ external_id: doc.external_id, folder }];
1743
1742
  });
1744
1743
  if (updates.length > 0) await mutateAsync({ documents: updates });
1745
- chunkS4PCA3ES_cjs.patchDocuments(qc, (rows) => {
1744
+ chunkSBWEI3BO_cjs.patchDocuments(qc, (rows) => {
1746
1745
  let changed = false;
1747
1746
  const next = rows.map((doc) => {
1748
1747
  const folder = moved(doc.folder);
@@ -1766,18 +1765,18 @@ function useDeleteDocuments() {
1766
1765
  mutationFn: (docIds) => arbi.documents.delete(docIds),
1767
1766
  onSuccess: (_data, docIds) => {
1768
1767
  const gone = new Set(docIds);
1769
- chunkS4PCA3ES_cjs.patchDocuments(
1768
+ chunkSBWEI3BO_cjs.patchDocuments(
1770
1769
  qc,
1771
1770
  (old) => old.some((doc) => gone.has(doc.external_id)) ? old.filter((doc) => !gone.has(doc.external_id)) : old
1772
1771
  );
1773
- chunkS4PCA3ES_cjs.forgetDocuments(qc, docIds);
1772
+ chunkSBWEI3BO_cjs.forgetDocuments(qc, docIds);
1774
1773
  onDocumentsDeleted?.(docIds);
1775
1774
  return qc.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.workspaces() });
1776
1775
  }
1777
1776
  });
1778
1777
  }
1779
1778
  async function settleUpload(qc, arbi, docIds, processingTask) {
1780
- if (docIds?.length) await chunkS4PCA3ES_cjs.refreshDocuments(qc, arbi, docIds, { processingTask });
1779
+ if (docIds?.length) await chunkSBWEI3BO_cjs.refreshDocuments(qc, arbi, docIds, { processingTask });
1781
1780
  await qc.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.workspaces() });
1782
1781
  }
1783
1782
  function useUploadDocuments() {
@@ -1844,7 +1843,7 @@ function useGenerateDocTags() {
1844
1843
  if (!onProcessingQueued || !docIds.length) return void 0;
1845
1844
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
1846
1845
  const listed = new Map(
1847
- (chunkS4PCA3ES_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
1846
+ (chunkSBWEI3BO_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
1848
1847
  );
1849
1848
  return {
1850
1849
  undo: onProcessingQueued(
@@ -1866,7 +1865,7 @@ function useFinaliseTranslation() {
1866
1865
  const { processingTask } = useDocumentsSupport();
1867
1866
  return reactQuery.useMutation({
1868
1867
  mutationFn: (docId) => arbi.documents.finaliseTranslation(docId),
1869
- onSuccess: (result) => void chunkS4PCA3ES_cjs.refreshDocuments(qc, arbi, [result.document_ext_id], { processingTask })
1868
+ onSuccess: (result) => void chunkSBWEI3BO_cjs.refreshDocuments(qc, arbi, [result.document_ext_id], { processingTask })
1870
1869
  });
1871
1870
  }
1872
1871
 
@@ -2052,7 +2051,7 @@ function useDocumentThumbnails(visibleIds) {
2052
2051
  for (const id of visibleIds)
2053
2052
  if (IN_PROGRESS.has(tasks[id]?.status ?? "")) resolvedRef.current.delete(id);
2054
2053
  const ready = visibleIds.filter(
2055
- (id) => !resolvedRef.current.has(id) && chunkS4PCA3ES_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
2054
+ (id) => !resolvedRef.current.has(id) && chunkSBWEI3BO_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
2056
2055
  );
2057
2056
  if (ready.length > 0) void fetchMissing(ready);
2058
2057
  }, [tasks, idsKey, fetchMissing]);
@@ -2144,8 +2143,8 @@ function DocumentReview({
2144
2143
  onClose,
2145
2144
  className
2146
2145
  }) {
2147
- const parsedQuery = chunk5B4PPJNW_cjs.useParsedDocument(docId, stage);
2148
- const tagsQuery = chunk5B4PPJNW_cjs.useTags(workspaceId);
2146
+ const parsedQuery = chunkGGLRX4X6_cjs.useParsedDocument(docId, stage);
2147
+ const tagsQuery = chunkGGLRX4X6_cjs.useTags(workspaceId);
2149
2148
  const tagNameById = React__default.default.useMemo(() => {
2150
2149
  const map = /* @__PURE__ */ new Map();
2151
2150
  for (const t of tagsQuery.data ?? []) {
@@ -3115,7 +3114,7 @@ function useUploadFiles() {
3115
3114
  if (docIds2.length > 0) {
3116
3115
  for (const docId of docIds2) uploadedFolders.set(docId, { workspaceId, folder });
3117
3116
  const made = new Set(docIds2);
3118
- chunkS4PCA3ES_cjs.patchDocuments(
3117
+ chunkSBWEI3BO_cjs.patchDocuments(
3119
3118
  qc,
3120
3119
  (rows) => rows.map((doc) => made.has(doc.external_id) ? { ...doc, folder } : doc),
3121
3120
  workspaceId
@@ -3131,7 +3130,7 @@ function useUploadFiles() {
3131
3130
  const docIds = results.flatMap((result) => result.doc_ext_ids ?? []);
3132
3131
  const skipped = results.flatMap((result) => result.skipped ?? []);
3133
3132
  if (docIds.length > 0) {
3134
- const read = await chunkS4PCA3ES_cjs.refreshDocuments(qc, arbi, docIds, { processingTask });
3133
+ const read = await chunkSBWEI3BO_cjs.refreshDocuments(qc, arbi, docIds, { processingTask });
3135
3134
  for (const doc of read) forgetUploadedDocumentFolder(doc.external_id);
3136
3135
  }
3137
3136
  await qc.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.workspaces() });
@@ -3218,7 +3217,7 @@ function getRelatedLabels(related) {
3218
3217
  return parts;
3219
3218
  }
3220
3219
  function useRelatedDocuments(documents2) {
3221
- const { data: similarData } = chunkS4PCA3ES_cjs.useSimilarDocuments();
3220
+ const { data: similarData } = chunkSBWEI3BO_cjs.useSimilarDocuments();
3222
3221
  const structuralKey = React.useMemo(() => {
3223
3222
  const parts = [];
3224
3223
  for (const doc of documents2) {
@@ -3298,7 +3297,7 @@ function useRelatedDocuments(documents2) {
3298
3297
  }
3299
3298
  if (similarData?.pairs) {
3300
3299
  for (const pair of similarData.pairs) {
3301
- if (pair.similarity < chunkS4PCA3ES_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
3300
+ if (pair.similarity < chunkSBWEI3BO_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
3302
3301
  const docA = docById.get(pair.doc_a.external_id);
3303
3302
  const docB = docById.get(pair.doc_b.external_id);
3304
3303
  if (docA && docB) {
@@ -3331,11 +3330,11 @@ function createStreamHandlers(ctx, params) {
3331
3330
  const clientId = streamState.queuedClientId;
3332
3331
  if (!clientId || queuedEntryRetired) return;
3333
3332
  queuedEntryRetired = true;
3334
- const entry = chunk5B4PPJNW_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
3333
+ const entry = chunkGGLRX4X6_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
3335
3334
  if (!entry) return;
3336
3335
  const remainingVisibility = Math.max(
3337
3336
  0,
3338
- chunk5B4PPJNW_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
3337
+ chunkGGLRX4X6_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
3339
3338
  );
3340
3339
  if (remainingVisibility === 0) {
3341
3340
  session.removeQueuedMessage(clientId);
@@ -3351,7 +3350,7 @@ function createStreamHandlers(ctx, params) {
3351
3350
  session.moveConversation("new", serverConversationId);
3352
3351
  const userExtId = ctx.userId();
3353
3352
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
3354
- chunk3J7MEBOW_cjs.patchConversationList(
3353
+ chunkZGW7PN4G_cjs.patchConversationList(
3355
3354
  queryClient,
3356
3355
  session.getState().workspaceId,
3357
3356
  (old) => old.some((c) => c.external_id === serverConversationId) ? old : [
@@ -3467,7 +3466,7 @@ function createStreamHandlers(ctx, params) {
3467
3466
  ensureAssistantMessageLoading(queryClient, conversationId, answerId);
3468
3467
  });
3469
3468
  }
3470
- void chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
3469
+ void chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
3471
3470
  session.setCursor(streamState.assistantId);
3472
3471
  };
3473
3472
  let firstTokenSeen = false;
@@ -3666,7 +3665,7 @@ function createStreamHandlers(ctx, params) {
3666
3665
  }
3667
3666
  function useStreamHandlers() {
3668
3667
  const queryClient = reactQuery.useQueryClient();
3669
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
3668
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
3670
3669
  const config = chunkQQ7SCJRY_cjs.useArbiHost();
3671
3670
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
3672
3671
  return React.useCallback(
@@ -3682,7 +3681,7 @@ function useStreamHandlers() {
3682
3681
  return "";
3683
3682
  }
3684
3683
  },
3685
- refreshDocuments: (ids) => chunkS4PCA3ES_cjs.refreshDocuments(queryClient, arbi, ids, config.documents)
3684
+ refreshDocuments: (ids) => chunkSBWEI3BO_cjs.refreshDocuments(queryClient, arbi, ids, config.documents)
3686
3685
  },
3687
3686
  params
3688
3687
  ),
@@ -3759,7 +3758,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
3759
3758
  // src/chat/useConversationActions.ts
3760
3759
  var RECONCILE_TIMEOUT_MS = 5e3;
3761
3760
  function draftAfterSend(queryClient, session, wasComment) {
3762
- const shared = chunk3J7MEBOW_cjs.isConversationShared(queryClient, session.getState().conversationId);
3761
+ const shared = chunkZGW7PN4G_cjs.isConversationShared(queryClient, session.getState().conversationId);
3763
3762
  return shared && !wasComment ? `@${ASSISTANT_MENTION_LABEL} ` : "";
3764
3763
  }
3765
3764
  function failQueuedContinuation(queryClient, session, streamState) {
@@ -3792,7 +3791,7 @@ function useConversationActions({
3792
3791
  lastFailedMessage
3793
3792
  }) {
3794
3793
  const queryClient = reactQuery.useQueryClient();
3795
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
3794
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
3796
3795
  const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
3797
3796
  const invalidateUserWorkspaces = React.useCallback(
3798
3797
  () => void queryClient.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.workspaces() }),
@@ -3846,7 +3845,7 @@ function useConversationActions({
3846
3845
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
3847
3846
  if (!convId) {
3848
3847
  session.moveConversation("new", conversationId);
3849
- chunk3J7MEBOW_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
3848
+ chunkZGW7PN4G_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
3850
3849
  {
3851
3850
  external_id: conversationId,
3852
3851
  title: content.slice(0, 40),
@@ -3864,14 +3863,14 @@ function useConversationActions({
3864
3863
  ]);
3865
3864
  invalidateUserWorkspaces();
3866
3865
  } else {
3867
- chunk3J7MEBOW_cjs.patchConversation(queryClient, conversationId, (c) => ({
3866
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, conversationId, (c) => ({
3868
3867
  ...c,
3869
3868
  message_count: c.message_count + 1,
3870
3869
  updated_at: nowIso
3871
3870
  }));
3872
3871
  }
3873
3872
  if (mentions.some((m) => m.type === "user")) {
3874
- await chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
3873
+ await chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
3875
3874
  }
3876
3875
  await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
3877
3876
  session.setCursor(saved.external_id);
@@ -3879,7 +3878,7 @@ function useConversationActions({
3879
3878
  chunkVAMPYLQ4_cjs.notify.error(
3880
3879
  error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
3881
3880
  );
3882
- if (!chunk5B4PPJNW_cjs.selectDraft(session.getState())) session.setDraft(content);
3881
+ if (!chunkGGLRX4X6_cjs.selectDraft(session.getState())) session.setDraft(content);
3883
3882
  }
3884
3883
  },
3885
3884
  [arbi, session, queryClient, invalidateUserWorkspaces]
@@ -3937,7 +3936,7 @@ function useConversationActions({
3937
3936
  session.setConversationGenerating(convKey, true, abortController);
3938
3937
  }
3939
3938
  if (!queuedContinuation) {
3940
- chunk3J7MEBOW_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
3939
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
3941
3940
  }
3942
3941
  const streamState = {
3943
3942
  conversationId: convKey,
@@ -4024,7 +4023,7 @@ function useConversationActions({
4024
4023
  void queryClient.invalidateQueries({
4025
4024
  queryKey: getThreadsQueryKey(streamState.conversationId)
4026
4025
  });
4027
- void chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
4026
+ void chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
4028
4027
  }
4029
4028
  return;
4030
4029
  }
@@ -4043,7 +4042,7 @@ function useConversationActions({
4043
4042
  }
4044
4043
  if (ownsGeneration) {
4045
4044
  const lastStatus = streamState.serverError ? "failed" : "completed";
4046
- chunk3J7MEBOW_cjs.patchConversation(queryClient, streamState.conversationId, {
4045
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, streamState.conversationId, {
4047
4046
  last_message_status: lastStatus
4048
4047
  });
4049
4048
  }
@@ -4075,7 +4074,7 @@ function useConversationActions({
4075
4074
  });
4076
4075
  if (ownsActiveGeneration()) {
4077
4076
  session.setConversationGenerating(streamState.conversationId, false, null);
4078
- chunk3J7MEBOW_cjs.patchConversation(queryClient, streamState.conversationId, {
4077
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, streamState.conversationId, {
4079
4078
  last_message_status: "completed"
4080
4079
  });
4081
4080
  }
@@ -4098,10 +4097,10 @@ function useConversationActions({
4098
4097
  if (ownsActiveGeneration()) {
4099
4098
  session.setConversationGenerating(streamState.conversationId, false, null);
4100
4099
  }
4101
- void chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
4100
+ void chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
4102
4101
  return;
4103
4102
  }
4104
- chunk3J7MEBOW_cjs.patchConversation(queryClient, streamState.conversationId, {
4103
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, streamState.conversationId, {
4105
4104
  last_message_status: "failed"
4106
4105
  });
4107
4106
  const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
@@ -4136,7 +4135,7 @@ function useConversationActions({
4136
4135
  );
4137
4136
  const handleSendMessage = React.useCallback(
4138
4137
  async (options) => {
4139
- const currentMessage = chunk5B4PPJNW_cjs.selectDraft(session.getState()).trim();
4138
+ const currentMessage = chunkGGLRX4X6_cjs.selectDraft(session.getState()).trim();
4140
4139
  if (!selectedWorkspaceId || !chunkZI2VJOID_cjs.hasMessageBody(currentMessage)) return;
4141
4140
  session.setSuggestedQuery(null);
4142
4141
  if (refuseChatWhenOffline()) return;
@@ -4247,7 +4246,7 @@ function useConversationActions({
4247
4246
  if (!replyTo && currentConversationId) {
4248
4247
  try {
4249
4248
  await arbi.conversations.delete(currentConversationId);
4250
- chunk3J7MEBOW_cjs.removeConversationFromLists(queryClient, currentConversationId);
4249
+ chunkZGW7PN4G_cjs.removeConversationFromLists(queryClient, currentConversationId);
4251
4250
  session.startNewConversation();
4252
4251
  } catch (error) {
4253
4252
  console.error("Failed to delete conversation with orphaned first message:", error);
@@ -4315,16 +4314,16 @@ function selectThread(session, leafId) {
4315
4314
  if (session.getState().cursor !== leafId) session.setCursor(leafId);
4316
4315
  }
4317
4316
  function useConversationData() {
4318
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
4319
- const selectedWorkspaceId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
4320
- const currentConversationId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.conversationId);
4321
- const parentMessageId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.cursor);
4322
- const deepLinkMessageId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
4317
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
4318
+ const selectedWorkspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
4319
+ const currentConversationId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.conversationId);
4320
+ const parentMessageId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.cursor);
4321
+ const deepLinkMessageId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
4323
4322
  const {
4324
4323
  data: threadsData,
4325
4324
  isLoading: threadsLoading,
4326
4325
  error: threadsError
4327
- } = chunk5B4PPJNW_cjs.useConversationThreads(currentConversationId || void 0);
4326
+ } = chunkGGLRX4X6_cjs.useConversationThreads(currentConversationId || void 0);
4328
4327
  const processedDeepLinkRef = React.useRef(null);
4329
4328
  const prevConversationIdRef = React.useRef(null);
4330
4329
  React.useEffect(() => {
@@ -4517,7 +4516,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
4517
4516
  var RECONNECT_DELAY_MS = 2e3;
4518
4517
  var MAX_RECONNECTS = 5;
4519
4518
  function useConnectRunStream(conversationId, messages) {
4520
- const generation = chunk5B4PPJNW_cjs.useArbiSessionState(
4519
+ const generation = chunkGGLRX4X6_cjs.useArbiSessionState(
4521
4520
  (s) => conversationId ? s.generating[conversationId] : void 0
4522
4521
  );
4523
4522
  const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
@@ -4525,7 +4524,7 @@ function useConnectRunStream(conversationId, messages) {
4525
4524
  }
4526
4525
  function useAttachRun(conversationId, responseId) {
4527
4526
  const queryClient = reactQuery.useQueryClient();
4528
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
4527
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
4529
4528
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
4530
4529
  const arbiRef = React.useRef(arbi);
4531
4530
  arbiRef.current = arbi;
@@ -4723,14 +4722,14 @@ function useConversation(options = {}) {
4723
4722
  const { agentId, model, titleLength = 48 } = options;
4724
4723
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
4725
4724
  const queryClient = reactQuery.useQueryClient();
4726
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
4727
- const sessionWorkspaceId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
4725
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
4726
+ const sessionWorkspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
4728
4727
  const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
4729
- const conversationId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.conversationId);
4728
+ const conversationId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.conversationId);
4730
4729
  const conversationKey2 = conversationId ?? NEW;
4731
- const generation = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
4732
- const newConversationMode = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
4733
- const queuedMessages2 = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.queuedMessages);
4730
+ const generation = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
4731
+ const newConversationMode = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
4732
+ const queuedMessages2 = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.queuedMessages);
4734
4733
  const isRunning = !!generation?.isGenerating;
4735
4734
  React.useEffect(() => {
4736
4735
  if (workspaceId && session.getState().workspaceId !== workspaceId)
@@ -4742,8 +4741,8 @@ function useConversation(options = {}) {
4742
4741
  React.useEffect(() => {
4743
4742
  if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
4744
4743
  }, [session, agentId, workspaceId, conversationId]);
4745
- const { data: docs = [], isLoading: isLoadingDocuments } = chunkS4PCA3ES_cjs.useDocuments(workspaceId);
4746
- const ordinaryHistory = chunk5B4PPJNW_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
4744
+ const { data: docs = [], isLoading: isLoadingDocuments } = chunkSBWEI3BO_cjs.useDocuments(workspaceId);
4745
+ const ordinaryHistory = chunkGGLRX4X6_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
4747
4746
  const agentHistory = useAgentChats(agentId);
4748
4747
  const stored = React.useMemo(
4749
4748
  () => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
@@ -4969,7 +4968,7 @@ function useConversation(options = {}) {
4969
4968
  void (async () => {
4970
4969
  try {
4971
4970
  await arbi.conversations.delete(id);
4972
- chunk3J7MEBOW_cjs.removeConversationFromLists(queryClient, id);
4971
+ chunkZGW7PN4G_cjs.removeConversationFromLists(queryClient, id);
4973
4972
  if (session.getState().conversationId === id) session.startNewConversation();
4974
4973
  } catch (e) {
4975
4974
  setHistoryError(messageOf(e, "The conversation could not be deleted."));
@@ -5004,7 +5003,7 @@ function useConversation(options = {}) {
5004
5003
  } else
5005
5004
  uploaded.push(...(await arbi.documents.uploadFile(file, file.name)).doc_ext_ids ?? []);
5006
5005
  }
5007
- if (uploaded.length) await chunkS4PCA3ES_cjs.refreshDocuments(queryClient, arbi, uploaded);
5006
+ if (uploaded.length) await chunkSBWEI3BO_cjs.refreshDocuments(queryClient, arbi, uploaded);
5008
5007
  } catch (e) {
5009
5008
  setUploadError(messageOf(e, "The upload failed."));
5010
5009
  } finally {
@@ -5053,10 +5052,10 @@ function ConversationScope({
5053
5052
  conversationId,
5054
5053
  children
5055
5054
  }) {
5056
- const outerWorkspaceId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
5055
+ const outerWorkspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
5057
5056
  const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
5058
5057
  const [session] = React.useState(
5059
- () => chunk5B4PPJNW_cjs.createArbiSessionStore({
5058
+ () => chunkGGLRX4X6_cjs.createArbiSessionStore({
5060
5059
  workspaceId: scopeWorkspaceId,
5061
5060
  conversationId: conversationId ?? null
5062
5061
  })
@@ -5077,7 +5076,7 @@ async function applyConversationEvent(queryClient, event) {
5077
5076
  if (e.type === "response_complete") return applyRunEnded(queryClient, e);
5078
5077
  if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
5079
5078
  if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
5080
- chunk3J7MEBOW_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5079
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5081
5080
  }
5082
5081
  }
5083
5082
  function applyRunEnded(queryClient, e) {
@@ -5094,10 +5093,10 @@ function applyRunEnded(queryClient, e) {
5094
5093
  );
5095
5094
  }
5096
5095
  if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
5097
- chunk3J7MEBOW_cjs.patchConversation(queryClient, conversationId, {
5096
+ chunkZGW7PN4G_cjs.patchConversation(queryClient, conversationId, {
5098
5097
  last_message_status: failed ? "failed" : "completed"
5099
5098
  });
5100
- void chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
5099
+ void chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
5101
5100
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
5102
5101
  if (!failed) void queryClient.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.userUsageToday() });
5103
5102
  }
@@ -5105,7 +5104,7 @@ async function applyMessagePosted(queryClient, e) {
5105
5104
  if (!e.conversation_ext_id) return;
5106
5105
  const queryKey = getThreadsQueryKey(e.conversation_ext_id);
5107
5106
  const refreshed = queryClient.invalidateQueries({ queryKey });
5108
- void chunk3J7MEBOW_cjs.invalidateConversationLists(queryClient);
5107
+ void chunkZGW7PN4G_cjs.invalidateConversationLists(queryClient);
5109
5108
  await refreshed;
5110
5109
  const cached = queryClient.getQueryData(
5111
5110
  queryKey
@@ -5136,9 +5135,9 @@ function useConversationTurn({
5136
5135
  selectedWorkspaceId,
5137
5136
  parentMessageId
5138
5137
  }) {
5139
- const currentConversationId = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.conversationId);
5138
+ const currentConversationId = chunkGGLRX4X6_cjs.useArbiSessionState((state) => state.conversationId);
5140
5139
  const conversationKey2 = currentConversationId || "new";
5141
- const generationState = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
5140
+ const generationState = chunkGGLRX4X6_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
5142
5141
  const isGenerating = generationState?.isGenerating ?? false;
5143
5142
  const generationError = generationState?.error ?? null;
5144
5143
  const lastFailedMessage = generationState?.lastFailedMessage ?? null;
@@ -5159,12 +5158,12 @@ function useConversationTurn({
5159
5158
  }
5160
5159
  var EMPTY_DOCS = [];
5161
5160
  function useConversationDocuments() {
5162
- const currentConversationId = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.conversationId);
5161
+ const currentConversationId = chunkGGLRX4X6_cjs.useArbiSessionState((state) => state.conversationId);
5163
5162
  const convKey = currentConversationId || "new";
5164
- const inConversationDocuments = chunk5B4PPJNW_cjs.useArbiSessionState(
5163
+ const inConversationDocuments = chunkGGLRX4X6_cjs.useArbiSessionState(
5165
5164
  (state) => state.conversationDocuments[convKey] || EMPTY_DOCS
5166
5165
  );
5167
- const { data: documents2 = [], isLoading: isLoadingDocs } = chunkS4PCA3ES_cjs.useDocuments();
5166
+ const { data: documents2 = [], isLoading: isLoadingDocs } = chunkSBWEI3BO_cjs.useDocuments();
5168
5167
  const conversationDocuments = React__default.default.useMemo(() => {
5169
5168
  if (inConversationDocuments.length === 0) {
5170
5169
  return [];
@@ -5196,8 +5195,8 @@ function useDocumentAutoAdd({
5196
5195
  allWorkspaceDocuments,
5197
5196
  hasContent = false
5198
5197
  }) {
5199
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
5200
- const currentConversationId = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.conversationId);
5198
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
5199
+ const currentConversationId = chunkGGLRX4X6_cjs.useArbiSessionState((state) => state.conversationId);
5201
5200
  const convKey = currentConversationId || "new";
5202
5201
  const observedRef = React.useRef(null);
5203
5202
  const offeredRef = React.useRef(/* @__PURE__ */ new Set());
@@ -5258,12 +5257,12 @@ function useDocumentAutoAdd({
5258
5257
  }, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
5259
5258
  }
5260
5259
  function useAutoSendDraft(sendDraft, ready = true) {
5261
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
5262
- const autoSendDraft = chunk5B4PPJNW_cjs.useArbiSessionState((state) => state.autoSendDraft);
5260
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
5261
+ const autoSendDraft = chunkGGLRX4X6_cjs.useArbiSessionState((state) => state.autoSendDraft);
5263
5262
  React.useEffect(() => {
5264
5263
  if (!autoSendDraft || !ready) return;
5265
5264
  session.setAutoSendDraft(false);
5266
- if (chunk5B4PPJNW_cjs.selectDraft(session.getState()).trim()) {
5265
+ if (chunkGGLRX4X6_cjs.selectDraft(session.getState()).trim()) {
5267
5266
  sendDraft();
5268
5267
  }
5269
5268
  }, [autoSendDraft, ready, sendDraft, session]);
@@ -5349,7 +5348,7 @@ function useAnswerAgentQuestion() {
5349
5348
  );
5350
5349
  }
5351
5350
  function useAskAgain(options) {
5352
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
5351
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
5353
5352
  const optionsRef = React.useRef(options);
5354
5353
  React.useEffect(() => {
5355
5354
  optionsRef.current = options;
@@ -5441,11 +5440,11 @@ function useMessageTimer({
5441
5440
  isUser,
5442
5441
  isGenerating
5443
5442
  }) {
5444
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
5443
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
5445
5444
  const convId = conversationId || "new";
5446
5445
  const timerKey = `${convId}:${messageId}`;
5447
- const generationStartTime = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
5448
- const storedElapsed = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
5446
+ const generationStartTime = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
5447
+ const storedElapsed = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
5449
5448
  const [elapsedTime, setElapsedTime] = React.useState(0);
5450
5449
  const lastElapsedRef = React.useRef(0);
5451
5450
  React.useEffect(() => {
@@ -5470,7 +5469,7 @@ function useMessageTimer({
5470
5469
  }
5471
5470
  function useAgentRunControl(assistantMessageExtId) {
5472
5471
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
5473
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
5472
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
5474
5473
  const send = React.useCallback(
5475
5474
  (command) => {
5476
5475
  if (!assistantMessageExtId) return;
@@ -5665,7 +5664,7 @@ function ArbiWebSocketProvider({ enabled = true, children }) {
5665
5664
  if (client.isMessageType(msg, "task_update")) applyTaskUpdate(msg);
5666
5665
  else if (client.isMessageType(msg, "presence_update")) applyPresence(msg);
5667
5666
  else if (client.isMessageType(msg, "batch_complete") && msg.batch_type === "entity_extract")
5668
- chunkS4PCA3ES_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
5667
+ chunkSBWEI3BO_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
5669
5668
  for (const fn of subscribersRef.current) {
5670
5669
  try {
5671
5670
  fn(msg);
@@ -5707,16 +5706,16 @@ function ArbiWebSocketProvider({ enabled = true, children }) {
5707
5706
  reset();
5708
5707
  };
5709
5708
  }, [enabled, arbi, setStatus, applyTaskUpdate, applyPresence, reset]);
5710
- return /* @__PURE__ */ jsxRuntime.jsx(chunk3J7MEBOW_cjs.ArbiWsContext.Provider, { value: context, children });
5709
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkZGW7PN4G_cjs.ArbiWsContext.Provider, { value: context, children });
5711
5710
  }
5712
5711
  function useArbiWebSocket(onMessage) {
5713
- const { subscribe } = chunk3J7MEBOW_cjs.useArbiWsContext();
5712
+ const { subscribe } = chunkZGW7PN4G_cjs.useArbiWsContext();
5714
5713
  const handlerRef = React.useRef(onMessage);
5715
5714
  handlerRef.current = onMessage;
5716
5715
  React.useEffect(() => subscribe((msg) => handlerRef.current(msg)), [subscribe]);
5717
5716
  }
5718
5717
  function useArbiWsMessage(type, handler) {
5719
- const { subscribe } = chunk3J7MEBOW_cjs.useArbiWsContext();
5718
+ const { subscribe } = chunkZGW7PN4G_cjs.useArbiWsContext();
5720
5719
  const handlerRef = React.useRef(handler);
5721
5720
  handlerRef.current = handler;
5722
5721
  React.useEffect(
@@ -5749,14 +5748,14 @@ function useArbiDocumentSync(workspaceId) {
5749
5748
  if (!workspaceId) return;
5750
5749
  if (client.isMessageType(msg, "batch_complete")) {
5751
5750
  if (msg.workspace_ext_id !== workspaceId) return;
5752
- if (msg.doc_ext_ids?.length) void chunkS4PCA3ES_cjs.refreshDocuments(queryClient, arbi, msg.doc_ext_ids);
5751
+ if (msg.doc_ext_ids?.length) void chunkSBWEI3BO_cjs.refreshDocuments(queryClient, arbi, msg.doc_ext_ids);
5753
5752
  void queryClient.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.tags(workspaceId) });
5754
5753
  return;
5755
5754
  }
5756
5755
  if (client.isMessageType(msg, "task_update")) {
5757
5756
  if (msg.workspace_ext_id !== workspaceId) return;
5758
- if (chunkS4PCA3ES_cjs.FINISHED_DOCUMENT_STATUSES.has(msg.status))
5759
- void chunkS4PCA3ES_cjs.refreshDocuments(queryClient, arbi, [msg.doc_ext_id]);
5757
+ if (chunkSBWEI3BO_cjs.FINISHED_DOCUMENT_STATUSES.has(msg.status))
5758
+ void chunkSBWEI3BO_cjs.refreshDocuments(queryClient, arbi, [msg.doc_ext_id]);
5760
5759
  }
5761
5760
  });
5762
5761
  }
@@ -5787,12 +5786,22 @@ function isWorkspaceArchivedError(error) {
5787
5786
  var archivedWorkspaceMessage = (name) => `"${name}" is archived. Its owner can unarchive it from the workspace list.`;
5788
5787
  var listedWorkspace = (queryClient, workspaceId) => queryClient.getQueryData(chunkVLK52VXC_cjs.arbiQueryKeys.workspaces())?.find((w) => w.external_id === workspaceId);
5789
5788
  var switchEpoch = 0;
5789
+ var switching = /* @__PURE__ */ new Set();
5790
+ async function switchesSettled() {
5791
+ while (switching.size > 0) await Promise.allSettled([...switching]);
5792
+ }
5790
5793
  function createWorkspaceSwitch({
5791
5794
  arbi,
5792
5795
  session,
5793
5796
  queryClient
5794
5797
  }) {
5795
- const switchWorkspace = async (target) => {
5798
+ const switchWorkspace = (target) => {
5799
+ const run = runSwitch(target);
5800
+ switching.add(run);
5801
+ void run.finally(() => switching.delete(run));
5802
+ return run;
5803
+ };
5804
+ const runSwitch = async (target) => {
5796
5805
  const { workspaceId: previousId, workspaceStatus } = session.getState();
5797
5806
  const isSame = previousId === target.id;
5798
5807
  if (isSame && workspaceStatus === "open") return true;
@@ -5822,8 +5831,12 @@ function createWorkspaceSwitch({
5822
5831
  try {
5823
5832
  opened = await arbi().selectWorkspace(target.id);
5824
5833
  } catch (error) {
5825
- console.error("[switchWorkspace] /open failed:", error);
5826
- if (epoch === switchEpoch) {
5834
+ const superseded = error instanceof browser.ArbiWorkspaceSupersededError;
5835
+ if (!superseded) console.error("[switchWorkspace] /open failed:", error);
5836
+ if (superseded && epoch === switchEpoch) {
5837
+ if (previousId) session.setWorkspaceId(previousId);
5838
+ session.setWorkspaceStatus("closed");
5839
+ } else if (epoch === switchEpoch) {
5827
5840
  if (previousId) session.setWorkspaceId(previousId);
5828
5841
  session.setWorkspaceStatus("closed");
5829
5842
  if (isWorkspaceArchivedError(error)) {
@@ -5857,7 +5870,9 @@ function createWorkspaceSwitch({
5857
5870
  try {
5858
5871
  opened = await arbi().selectWorkspace(workspaceId);
5859
5872
  } catch (error) {
5860
- console.error("[openSelectedWorkspace] /open failed:", error);
5873
+ if (!(error instanceof browser.ArbiWorkspaceSupersededError)) {
5874
+ console.error("[openSelectedWorkspace] /open failed:", error);
5875
+ }
5861
5876
  return false;
5862
5877
  }
5863
5878
  if (epoch !== switchEpoch || session.getState().workspaceId !== workspaceId) return false;
@@ -5866,13 +5881,13 @@ function createWorkspaceSwitch({
5866
5881
  session.setWorkspaceStatus("open");
5867
5882
  return true;
5868
5883
  };
5869
- return { switchWorkspace, clearWorkspace, openSelectedWorkspace };
5884
+ return { switchWorkspace, clearWorkspace, openSelectedWorkspace, settled: switchesSettled };
5870
5885
  }
5871
5886
  function useSwitchWorkspace() {
5872
5887
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
5873
5888
  const arbiRef = React.useRef(arbi);
5874
5889
  arbiRef.current = arbi;
5875
- const session = chunk5B4PPJNW_cjs.useArbiSessionStore();
5890
+ const session = chunkGGLRX4X6_cjs.useArbiSessionStore();
5876
5891
  const queryClient = reactQuery.useQueryClient();
5877
5892
  return React.useMemo(
5878
5893
  () => createWorkspaceSwitch({ arbi: () => arbiRef.current, session, queryClient }),
@@ -5882,9 +5897,9 @@ function useSwitchWorkspace() {
5882
5897
  function useOpenSelectedWorkspace() {
5883
5898
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
5884
5899
  const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
5885
- const workspaceId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
5886
- const status = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceStatus);
5887
- const { data: workspaces, isLoading: listing } = chunk5B4PPJNW_cjs.useWorkspaces();
5900
+ const workspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
5901
+ const status = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceStatus);
5902
+ const { data: workspaces, isLoading: listing } = chunkGGLRX4X6_cjs.useWorkspaces();
5888
5903
  const archived = workspaces?.find(
5889
5904
  (w) => w.external_id === workspaceId && w.archive
5890
5905
  );
@@ -6027,8 +6042,8 @@ function useShellWorkspaces(options) {
6027
6042
  };
6028
6043
  }
6029
6044
  function useArbiShellWorkspaces(options = {}) {
6030
- const sessionWorkspaceId = chunk5B4PPJNW_cjs.useArbiSessionState((s) => s.workspaceId);
6031
- const query = chunk5B4PPJNW_cjs.useWorkspaces();
6045
+ const sessionWorkspaceId = chunkGGLRX4X6_cjs.useArbiSessionState((s) => s.workspaceId);
6046
+ const query = chunkGGLRX4X6_cjs.useWorkspaces();
6032
6047
  const { switchWorkspace } = useSwitchWorkspace();
6033
6048
  const { select, ...rest } = options;
6034
6049
  const defaultSelect = React.useCallback(
@@ -6266,7 +6281,7 @@ function useFacts(workspaceId, options) {
6266
6281
  const workspace = workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : "");
6267
6282
  return reactQuery.useQuery({
6268
6283
  queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.factList(workspace, filter),
6269
- queryFn: () => arbi.facts.list(filter),
6284
+ queryFn: () => arbi.readInWorkspace(workspace, () => arbi.facts.list(filter)),
6270
6285
  enabled: enabled && !!workspace && arbi.hasWorkspace,
6271
6286
  staleTime: 3e4
6272
6287
  });
@@ -6343,7 +6358,7 @@ function usePassageQuotes(docIds) {
6343
6358
  );
6344
6359
  }
6345
6360
  var REPLAYABLE = [
6346
- ...chunkS4PCA3ES_cjs.replayableTagMutations,
6361
+ ...chunkSBWEI3BO_cjs.replayableTagMutations,
6347
6362
  ...replayableDocumentMutations
6348
6363
  ];
6349
6364
  function isReplayableArbiMutation(mutationKey) {
@@ -6375,7 +6390,7 @@ function isRestorableArbiQueryOnline(queryKey, data) {
6375
6390
  const docs = Array.isArray(data) ? data : [data];
6376
6391
  return !docs.some((doc) => {
6377
6392
  const status = doc?.status;
6378
- return !!status && !chunkS4PCA3ES_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
6393
+ return !!status && !chunkSBWEI3BO_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
6379
6394
  });
6380
6395
  }
6381
6396
  function useFilteredProjects(filters, options) {
@@ -6761,8 +6776,8 @@ function usePeople() {
6761
6776
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
6762
6777
  const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
6763
6778
  const { data: contacts = [] } = useContacts();
6764
- const { data: workspaces = [] } = chunk5B4PPJNW_cjs.useWorkspaces();
6765
- const { data: agents = [] } = chunk5B4PPJNW_cjs.useAgents();
6779
+ const { data: workspaces = [] } = chunkGGLRX4X6_cjs.useWorkspaces();
6780
+ const { data: agents = [] } = chunkGGLRX4X6_cjs.useAgents();
6766
6781
  return React.useMemo(() => {
6767
6782
  const people = [];
6768
6783
  const contactOf = /* @__PURE__ */ new Map();
@@ -6854,13 +6869,13 @@ var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
6854
6869
  var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
6855
6870
  var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
6856
6871
  function useRequestEmailChange() {
6857
- const { client } = chunk3J7MEBOW_cjs.useAccountClient();
6872
+ const { client } = chunkZGW7PN4G_cjs.useAccountClient();
6858
6873
  return reactQuery.useMutation({
6859
6874
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
6860
6875
  });
6861
6876
  }
6862
6877
  function useConfirmEmailChange() {
6863
- const { client } = chunk3J7MEBOW_cjs.useAccountClient();
6878
+ const { client } = chunkZGW7PN4G_cjs.useAccountClient();
6864
6879
  const qc = reactQuery.useQueryClient();
6865
6880
  return reactQuery.useMutation({
6866
6881
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -6928,7 +6943,7 @@ function useEmailChange({
6928
6943
  };
6929
6944
  }
6930
6945
  function usePasswordChange() {
6931
- const { client } = chunk3J7MEBOW_cjs.useAccountClient();
6946
+ const { client } = chunkZGW7PN4G_cjs.useAccountClient();
6932
6947
  return reactQuery.useMutation({
6933
6948
  mutationFn: (vars) => client.changePassword(vars)
6934
6949
  });
@@ -7141,7 +7156,7 @@ function useFollowThread(conversationId, options) {
7141
7156
  };
7142
7157
  }
7143
7158
  function useSessions(options) {
7144
- const { client, enabled } = chunk3J7MEBOW_cjs.useAccountClient();
7159
+ const { client, enabled } = chunkZGW7PN4G_cjs.useAccountClient();
7145
7160
  return reactQuery.useQuery({
7146
7161
  queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.sessions(),
7147
7162
  queryFn: () => client.listSessions(),
@@ -7149,7 +7164,7 @@ function useSessions(options) {
7149
7164
  });
7150
7165
  }
7151
7166
  function useTerminateSession() {
7152
- const { client } = chunk3J7MEBOW_cjs.useAccountClient();
7167
+ const { client } = chunkZGW7PN4G_cjs.useAccountClient();
7153
7168
  const qc = reactQuery.useQueryClient();
7154
7169
  return reactQuery.useMutation({
7155
7170
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -7157,7 +7172,7 @@ function useTerminateSession() {
7157
7172
  });
7158
7173
  }
7159
7174
  function useSignOut() {
7160
- const { client } = chunk3J7MEBOW_cjs.useAccountClient();
7175
+ const { client } = chunkZGW7PN4G_cjs.useAccountClient();
7161
7176
  const qc = reactQuery.useQueryClient();
7162
7177
  return reactQuery.useMutation({
7163
7178
  mutationFn: (options = {}) => client.signOut(options),
@@ -7165,7 +7180,7 @@ function useSignOut() {
7165
7180
  });
7166
7181
  }
7167
7182
  function useCurrentSessionId() {
7168
- return chunk3J7MEBOW_cjs.useAccountClient().client.currentSessionId();
7183
+ return chunkZGW7PN4G_cjs.useAccountClient().client.currentSessionId();
7169
7184
  }
7170
7185
  function parseDeleteAccountBlockers(error) {
7171
7186
  const body = error?.apiError ?? error;
@@ -7180,7 +7195,7 @@ function parseDeleteAccountBlockers(error) {
7180
7195
  return [];
7181
7196
  }
7182
7197
  function useDeleteAccount() {
7183
- const { client } = chunk3J7MEBOW_cjs.useAccountClient();
7198
+ const { client } = chunkZGW7PN4G_cjs.useAccountClient();
7184
7199
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
7185
7200
  }
7186
7201
  function useDeleteAccountFlow({
@@ -7502,7 +7517,7 @@ function useIdentityVerificationFlow(api, {
7502
7517
  };
7503
7518
  }
7504
7519
  function useIdentityVerification(options = {}) {
7505
- const { client, enabled } = chunk3J7MEBOW_cjs.useAccountClient();
7520
+ const { client, enabled } = chunkZGW7PN4G_cjs.useAccountClient();
7506
7521
  const qc = reactQuery.useQueryClient();
7507
7522
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
7508
7523
  return useIdentityVerificationFlow(client.identity, {
@@ -8714,7 +8729,7 @@ function useDeleteBookingPage() {
8714
8729
  });
8715
8730
  }
8716
8731
  function useWorkspaceDocs(workspaceId) {
8717
- const { data: docs = [], isLoading, isError } = chunkS4PCA3ES_cjs.useDocuments(workspaceId);
8732
+ const { data: docs = [], isLoading, isError } = chunkSBWEI3BO_cjs.useDocuments(workspaceId);
8718
8733
  const docIds = React.useMemo(
8719
8734
  () => docs.map((d) => d.external_id).filter((id) => !!id),
8720
8735
  [docs]
@@ -8722,7 +8737,7 @@ function useWorkspaceDocs(workspaceId) {
8722
8737
  return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
8723
8738
  }
8724
8739
  function useAiTask() {
8725
- const mutation = chunk5B4PPJNW_cjs.useAssistantQuery();
8740
+ const mutation = chunkGGLRX4X6_cjs.useAssistantQuery();
8726
8741
  const [status, setStatus] = React.useState("idle");
8727
8742
  const [text, setText] = React.useState("");
8728
8743
  const [stepCount, setStepCount] = React.useState(0);
@@ -10160,7 +10175,7 @@ function ActivityFeed({
10160
10175
  enabled,
10161
10176
  "data-testid": testId = "activity-feed"
10162
10177
  }) {
10163
- const { data, isLoading, isError } = chunk5B4PPJNW_cjs.useActivity({ limit, enabled });
10178
+ const { data, isLoading, isError } = chunkGGLRX4X6_cjs.useActivity({ limit, enabled });
10164
10179
  if (isLoading) {
10165
10180
  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: [
10166
10181
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
@@ -10233,7 +10248,7 @@ function useNotifications(options = {}) {
10233
10248
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
10234
10249
  const queries = reactQuery.useQueryClient();
10235
10250
  const limit = options.limit ?? 100;
10236
- const ws = React.useContext(chunk3J7MEBOW_cjs.ArbiWsContext);
10251
+ const ws = React.useContext(chunkZGW7PN4G_cjs.ArbiWsContext);
10237
10252
  React.useEffect(
10238
10253
  () => ws?.subscribe((message) => {
10239
10254
  if ("sender" in message && "recipient" in message)
@@ -10653,13 +10668,13 @@ function useChats(options = {}) {
10653
10668
  function useChatLiveUpdates() {
10654
10669
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
10655
10670
  const queryClient = reactQuery.useQueryClient();
10656
- const ws = React.useContext(chunk3J7MEBOW_cjs.ArbiWsContext);
10671
+ const ws = React.useContext(chunkZGW7PN4G_cjs.ArbiWsContext);
10657
10672
  const arbiRef = React.useRef(arbi);
10658
10673
  arbiRef.current = arbi;
10659
10674
  React.useEffect(
10660
10675
  () => ws?.subscribe((message) => {
10661
10676
  if (message.type.startsWith("chat.") || message.type === "agent_dm_status")
10662
- void chunk3J7MEBOW_cjs.applyChatEvent(arbiRef.current, queryClient, message);
10677
+ void chunkZGW7PN4G_cjs.applyChatEvent(arbiRef.current, queryClient, message);
10663
10678
  }),
10664
10679
  [ws, queryClient]
10665
10680
  );
@@ -10681,7 +10696,7 @@ function useChatUnreadTotal() {
10681
10696
  function useUnreadByPeer() {
10682
10697
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
10683
10698
  const { data = [] } = useChats();
10684
- const me = chunk3J7MEBOW_cjs.myChatId(arbi);
10699
+ const me = chunkZGW7PN4G_cjs.myChatId(arbi);
10685
10700
  return React.useMemo(() => {
10686
10701
  const out = /* @__PURE__ */ new Map();
10687
10702
  for (const c of data) {
@@ -10768,13 +10783,13 @@ function useChatPost() {
10768
10783
  const queryClient = reactQuery.useQueryClient();
10769
10784
  return React.useCallback(
10770
10785
  async (target, post) => {
10771
- const me = chunk3J7MEBOW_cjs.myChatId(arbi);
10786
+ const me = chunkZGW7PN4G_cjs.myChatId(arbi);
10772
10787
  if (!me) throw new Error("No active session");
10773
10788
  let chat = target.chat;
10774
10789
  if (!chat) {
10775
10790
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
10776
10791
  chat = await arbi.chats.openDirect(target.peerExtId);
10777
- chunk3J7MEBOW_cjs.upsertChat(queryClient, chat);
10792
+ chunkZGW7PN4G_cjs.upsertChat(queryClient, chat);
10778
10793
  queryClient.setQueryData(
10779
10794
  chunkVLK52VXC_cjs.arbiQueryKeys.chatThread(chat.external_id),
10780
10795
  (old) => old ?? { messages: [], hasMore: false }
@@ -10797,7 +10812,7 @@ function useChatPost() {
10797
10812
  updated_at: now,
10798
10813
  optimistic: true
10799
10814
  };
10800
- chunk3J7MEBOW_cjs.appendToThread(queryClient, chat.external_id, optimistic);
10815
+ chunkZGW7PN4G_cjs.appendToThread(queryClient, chat.external_id, optimistic);
10801
10816
  try {
10802
10817
  let attachments = [];
10803
10818
  if (files.length) {
@@ -10817,15 +10832,15 @@ function useChatPost() {
10817
10832
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
10818
10833
  contextOnly: !!post.contextOnly
10819
10834
  });
10820
- chunk3J7MEBOW_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
10821
- chunk3J7MEBOW_cjs.upsertChat(queryClient, {
10835
+ chunkZGW7PN4G_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
10836
+ chunkZGW7PN4G_cjs.upsertChat(queryClient, {
10822
10837
  ...chat,
10823
10838
  last_message: message,
10824
10839
  last_message_at: message.created_at
10825
10840
  });
10826
10841
  return { chat, message };
10827
10842
  } catch (err) {
10828
- chunk3J7MEBOW_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
10843
+ chunkZGW7PN4G_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
10829
10844
  void queryClient.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.chatList() });
10830
10845
  throw err;
10831
10846
  }
@@ -10837,7 +10852,7 @@ function useDeleteChatMessage() {
10837
10852
  const arbi = chunkQQ7SCJRY_cjs.useArbi();
10838
10853
  const queryClient = reactQuery.useQueryClient();
10839
10854
  return React.useCallback(
10840
- (chatExtId, messageExtId) => chunk3J7MEBOW_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
10855
+ (chatExtId, messageExtId) => chunkZGW7PN4G_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
10841
10856
  [arbi, queryClient]
10842
10857
  );
10843
10858
  }
@@ -10846,7 +10861,7 @@ function useMarkChatRead() {
10846
10861
  const queryClient = reactQuery.useQueryClient();
10847
10862
  return React.useCallback(
10848
10863
  (chat, messageExtId) => {
10849
- chunk3J7MEBOW_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
10864
+ chunkZGW7PN4G_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
10850
10865
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
10851
10866
  () => void 0,
10852
10867
  () => void 0
@@ -10860,7 +10875,7 @@ function useCreateGroupChat() {
10860
10875
  const queryClient = reactQuery.useQueryClient();
10861
10876
  return reactQuery.useMutation({
10862
10877
  mutationFn: (params) => arbi.chats.createGroup(params),
10863
- onSuccess: (chat) => chunk3J7MEBOW_cjs.upsertChat(queryClient, chat)
10878
+ onSuccess: (chat) => chunkZGW7PN4G_cjs.upsertChat(queryClient, chat)
10864
10879
  });
10865
10880
  }
10866
10881
  function useRenameChat() {
@@ -10868,7 +10883,7 @@ function useRenameChat() {
10868
10883
  const queryClient = reactQuery.useQueryClient();
10869
10884
  return reactQuery.useMutation({
10870
10885
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
10871
- onSuccess: (chat) => chunk3J7MEBOW_cjs.upsertChat(queryClient, chat)
10886
+ onSuccess: (chat) => chunkZGW7PN4G_cjs.upsertChat(queryClient, chat)
10872
10887
  });
10873
10888
  }
10874
10889
  function useAddChatMembers() {
@@ -10876,7 +10891,7 @@ function useAddChatMembers() {
10876
10891
  const queryClient = reactQuery.useQueryClient();
10877
10892
  return reactQuery.useMutation({
10878
10893
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
10879
- onSuccess: (chat) => chunk3J7MEBOW_cjs.upsertChat(queryClient, chat)
10894
+ onSuccess: (chat) => chunkZGW7PN4G_cjs.upsertChat(queryClient, chat)
10880
10895
  });
10881
10896
  }
10882
10897
  function useRemoveChatMember() {
@@ -10885,7 +10900,7 @@ function useRemoveChatMember() {
10885
10900
  return reactQuery.useMutation({
10886
10901
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
10887
10902
  onSuccess: (_data, vars) => {
10888
- if (vars.userExtId === chunk3J7MEBOW_cjs.myChatId(arbi)) chunk3J7MEBOW_cjs.removeChat(queryClient, vars.chat.external_id);
10903
+ if (vars.userExtId === chunkZGW7PN4G_cjs.myChatId(arbi)) chunkZGW7PN4G_cjs.removeChat(queryClient, vars.chat.external_id);
10889
10904
  else return queryClient.invalidateQueries({ queryKey: chunkVLK52VXC_cjs.arbiQueryKeys.chatList() });
10890
10905
  }
10891
10906
  });
@@ -10976,7 +10991,7 @@ function useDirectMessages(options) {
10976
10991
  queryFn: () => arbi.contacts.list(),
10977
10992
  enabled
10978
10993
  });
10979
- const myExtId = chunk3J7MEBOW_cjs.myChatId(arbi);
10994
+ const myExtId = chunkZGW7PN4G_cjs.myChatId(arbi);
10980
10995
  const conversations = React.useMemo(() => {
10981
10996
  const rows = direct.map((chat, i) => toConversation(chat, threads.data[i], myExtId)).filter((c) => c !== null);
10982
10997
  return mergeContacts(rows, contactsQuery.data ?? []);
@@ -10990,7 +11005,7 @@ function useDirectMessages(options) {
10990
11005
  setSending((n) => n + 1);
10991
11006
  setSendError(null);
10992
11007
  try {
10993
- const chat = chunk3J7MEBOW_cjs.cachedChats(queryClient).find(
11008
+ const chat = chunkZGW7PN4G_cjs.cachedChats(queryClient).find(
10994
11009
  (c) => c.kind === "direct" && directPeerId(c, myExtId) === peerExtId
10995
11010
  ) ?? null;
10996
11011
  return (await post({ chat, peerExtId }, { text })).message;
@@ -12105,1103 +12120,1103 @@ function CommandPaletteProvider({
12105
12120
 
12106
12121
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
12107
12122
  enumerable: true,
12108
- get: function () { return chunk3J7MEBOW_cjs.AUDIENCE_CHOICES; }
12123
+ get: function () { return chunkZGW7PN4G_cjs.AUDIENCE_CHOICES; }
12109
12124
  });
12110
12125
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
12111
12126
  enumerable: true,
12112
- get: function () { return chunk3J7MEBOW_cjs.CALL_CAPTION_TOPIC; }
12127
+ get: function () { return chunkZGW7PN4G_cjs.CALL_CAPTION_TOPIC; }
12113
12128
  });
12114
12129
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
12115
12130
  enumerable: true,
12116
- get: function () { return chunk3J7MEBOW_cjs.CALL_CHAT_MAX_CHARS; }
12131
+ get: function () { return chunkZGW7PN4G_cjs.CALL_CHAT_MAX_CHARS; }
12117
12132
  });
12118
12133
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
12119
12134
  enumerable: true,
12120
- get: function () { return chunk3J7MEBOW_cjs.CALL_CHAT_TOPIC; }
12135
+ get: function () { return chunkZGW7PN4G_cjs.CALL_CHAT_TOPIC; }
12121
12136
  });
12122
12137
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
12123
12138
  enumerable: true,
12124
- get: function () { return chunk3J7MEBOW_cjs.CALL_MODERATION_TOPIC; }
12139
+ get: function () { return chunkZGW7PN4G_cjs.CALL_MODERATION_TOPIC; }
12125
12140
  });
12126
12141
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
12127
12142
  enumerable: true,
12128
- get: function () { return chunk3J7MEBOW_cjs.CALL_RECORDING_TOPIC; }
12143
+ get: function () { return chunkZGW7PN4G_cjs.CALL_RECORDING_TOPIC; }
12129
12144
  });
12130
12145
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
12131
12146
  enumerable: true,
12132
- get: function () { return chunk3J7MEBOW_cjs.CALL_TRANSCRIPTION_TOPIC; }
12147
+ get: function () { return chunkZGW7PN4G_cjs.CALL_TRANSCRIPTION_TOPIC; }
12133
12148
  });
12134
12149
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
12135
12150
  enumerable: true,
12136
- get: function () { return chunk3J7MEBOW_cjs.CALL_WEBINAR_TOPIC; }
12151
+ get: function () { return chunkZGW7PN4G_cjs.CALL_WEBINAR_TOPIC; }
12137
12152
  });
12138
12153
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
12139
12154
  enumerable: true,
12140
- get: function () { return chunk3J7MEBOW_cjs.CAPTION_MAX_CHARS; }
12155
+ get: function () { return chunkZGW7PN4G_cjs.CAPTION_MAX_CHARS; }
12141
12156
  });
12142
12157
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
12143
12158
  enumerable: true,
12144
- get: function () { return chunk3J7MEBOW_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
12159
+ get: function () { return chunkZGW7PN4G_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
12145
12160
  });
12146
12161
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
12147
12162
  enumerable: true,
12148
- get: function () { return chunk3J7MEBOW_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
12163
+ get: function () { return chunkZGW7PN4G_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
12149
12164
  });
12150
12165
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
12151
12166
  enumerable: true,
12152
- get: function () { return chunk3J7MEBOW_cjs.DEFAULT_JOIN_CHOICES; }
12167
+ get: function () { return chunkZGW7PN4G_cjs.DEFAULT_JOIN_CHOICES; }
12153
12168
  });
12154
12169
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
12155
12170
  enumerable: true,
12156
- get: function () { return chunk3J7MEBOW_cjs.EMPTY_CALL_SESSION; }
12171
+ get: function () { return chunkZGW7PN4G_cjs.EMPTY_CALL_SESSION; }
12157
12172
  });
12158
12173
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
12159
12174
  enumerable: true,
12160
- get: function () { return chunk3J7MEBOW_cjs.EXPORT_SAMPLE_RATE; }
12175
+ get: function () { return chunkZGW7PN4G_cjs.EXPORT_SAMPLE_RATE; }
12161
12176
  });
12162
12177
  Object.defineProperty(exports, "HISTORY_LIMIT", {
12163
12178
  enumerable: true,
12164
- get: function () { return chunk3J7MEBOW_cjs.HISTORY_LIMIT; }
12179
+ get: function () { return chunkZGW7PN4G_cjs.HISTORY_LIMIT; }
12165
12180
  });
12166
12181
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
12167
12182
  enumerable: true,
12168
- get: function () { return chunk3J7MEBOW_cjs.LIVE_SEGMENTER; }
12183
+ get: function () { return chunkZGW7PN4G_cjs.LIVE_SEGMENTER; }
12169
12184
  });
12170
12185
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
12171
12186
  enumerable: true,
12172
- get: function () { return chunk3J7MEBOW_cjs.MAX_AVATAR_FILE_BYTES; }
12187
+ get: function () { return chunkZGW7PN4G_cjs.MAX_AVATAR_FILE_BYTES; }
12173
12188
  });
12174
12189
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
12175
12190
  enumerable: true,
12176
- get: function () { return chunk3J7MEBOW_cjs.MUTED_DEDUPE_MS; }
12191
+ get: function () { return chunkZGW7PN4G_cjs.MUTED_DEDUPE_MS; }
12177
12192
  });
12178
12193
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
12179
12194
  enumerable: true,
12180
- get: function () { return chunk3J7MEBOW_cjs.PLAYBACK_LOOKAHEAD_MS; }
12195
+ get: function () { return chunkZGW7PN4G_cjs.PLAYBACK_LOOKAHEAD_MS; }
12181
12196
  });
12182
12197
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
12183
12198
  enumerable: true,
12184
- get: function () { return chunk3J7MEBOW_cjs.READ_ONLY_MEETING_TEXT; }
12199
+ get: function () { return chunkZGW7PN4G_cjs.READ_ONLY_MEETING_TEXT; }
12185
12200
  });
12186
12201
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
12187
12202
  enumerable: true,
12188
- get: function () { return chunk3J7MEBOW_cjs.RECORDING_CHUNK_MS; }
12203
+ get: function () { return chunkZGW7PN4G_cjs.RECORDING_CHUNK_MS; }
12189
12204
  });
12190
12205
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
12191
12206
  enumerable: true,
12192
- get: function () { return chunk3J7MEBOW_cjs.RECORDING_SEGMENTER; }
12207
+ get: function () { return chunkZGW7PN4G_cjs.RECORDING_SEGMENTER; }
12193
12208
  });
12194
12209
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
12195
12210
  enumerable: true,
12196
- get: function () { return chunk3J7MEBOW_cjs.SEGMENT_FRAME_MS; }
12211
+ get: function () { return chunkZGW7PN4G_cjs.SEGMENT_FRAME_MS; }
12197
12212
  });
12198
12213
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
12199
12214
  enumerable: true,
12200
- get: function () { return chunk3J7MEBOW_cjs.SEGMENT_ID_PATTERN; }
12215
+ get: function () { return chunkZGW7PN4G_cjs.SEGMENT_ID_PATTERN; }
12201
12216
  });
12202
12217
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
12203
12218
  enumerable: true,
12204
- get: function () { return chunk3J7MEBOW_cjs.SEGMENT_PRE_ROLL_MS; }
12219
+ get: function () { return chunkZGW7PN4G_cjs.SEGMENT_PRE_ROLL_MS; }
12205
12220
  });
12206
12221
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
12207
12222
  enumerable: true,
12208
- get: function () { return chunk3J7MEBOW_cjs.SHORT_PIECE_MERGE_GAP_MS; }
12223
+ get: function () { return chunkZGW7PN4G_cjs.SHORT_PIECE_MERGE_GAP_MS; }
12209
12224
  });
12210
12225
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
12211
12226
  enumerable: true,
12212
- get: function () { return chunk3J7MEBOW_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
12227
+ get: function () { return chunkZGW7PN4G_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
12213
12228
  });
12214
12229
  Object.defineProperty(exports, "TrackUploader", {
12215
12230
  enumerable: true,
12216
- get: function () { return chunk3J7MEBOW_cjs.TrackUploader; }
12231
+ get: function () { return chunkZGW7PN4G_cjs.TrackUploader; }
12217
12232
  });
12218
12233
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
12219
12234
  enumerable: true,
12220
- get: function () { return chunk3J7MEBOW_cjs.UPLOAD_ATTEMPTS; }
12235
+ get: function () { return chunkZGW7PN4G_cjs.UPLOAD_ATTEMPTS; }
12221
12236
  });
12222
12237
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
12223
12238
  enumerable: true,
12224
- get: function () { return chunk3J7MEBOW_cjs.UPLOAD_BACKOFF_MS; }
12239
+ get: function () { return chunkZGW7PN4G_cjs.UPLOAD_BACKOFF_MS; }
12225
12240
  });
12226
12241
  Object.defineProperty(exports, "acceptRing", {
12227
12242
  enumerable: true,
12228
- get: function () { return chunk3J7MEBOW_cjs.acceptRing; }
12243
+ get: function () { return chunkZGW7PN4G_cjs.acceptRing; }
12229
12244
  });
12230
12245
  Object.defineProperty(exports, "addConversationToList", {
12231
12246
  enumerable: true,
12232
- get: function () { return chunk3J7MEBOW_cjs.addConversationToList; }
12247
+ get: function () { return chunkZGW7PN4G_cjs.addConversationToList; }
12233
12248
  });
12234
12249
  Object.defineProperty(exports, "appendToThread", {
12235
12250
  enumerable: true,
12236
- get: function () { return chunk3J7MEBOW_cjs.appendToThread; }
12251
+ get: function () { return chunkZGW7PN4G_cjs.appendToThread; }
12237
12252
  });
12238
12253
  Object.defineProperty(exports, "applyAgentDmStatus", {
12239
12254
  enumerable: true,
12240
- get: function () { return chunk3J7MEBOW_cjs.applyAgentDmStatus; }
12255
+ get: function () { return chunkZGW7PN4G_cjs.applyAgentDmStatus; }
12241
12256
  });
12242
12257
  Object.defineProperty(exports, "applyCallEvent", {
12243
12258
  enumerable: true,
12244
- get: function () { return chunk3J7MEBOW_cjs.applyCallEvent; }
12259
+ get: function () { return chunkZGW7PN4G_cjs.applyCallEvent; }
12245
12260
  });
12246
12261
  Object.defineProperty(exports, "applyChatEvent", {
12247
12262
  enumerable: true,
12248
- get: function () { return chunk3J7MEBOW_cjs.applyChatEvent; }
12263
+ get: function () { return chunkZGW7PN4G_cjs.applyChatEvent; }
12249
12264
  });
12250
12265
  Object.defineProperty(exports, "applyChatMessage", {
12251
12266
  enumerable: true,
12252
- get: function () { return chunk3J7MEBOW_cjs.applyChatMessage; }
12267
+ get: function () { return chunkZGW7PN4G_cjs.applyChatMessage; }
12253
12268
  });
12254
12269
  Object.defineProperty(exports, "applyChatRead", {
12255
12270
  enumerable: true,
12256
- get: function () { return chunk3J7MEBOW_cjs.applyChatRead; }
12271
+ get: function () { return chunkZGW7PN4G_cjs.applyChatRead; }
12257
12272
  });
12258
12273
  Object.defineProperty(exports, "applyChatUpdated", {
12259
12274
  enumerable: true,
12260
- get: function () { return chunk3J7MEBOW_cjs.applyChatUpdated; }
12275
+ get: function () { return chunkZGW7PN4G_cjs.applyChatUpdated; }
12261
12276
  });
12262
12277
  Object.defineProperty(exports, "arbiAccountClient", {
12263
12278
  enumerable: true,
12264
- get: function () { return chunk3J7MEBOW_cjs.arbiAccountClient; }
12279
+ get: function () { return chunkZGW7PN4G_cjs.arbiAccountClient; }
12265
12280
  });
12266
12281
  Object.defineProperty(exports, "buildMeetingChatBody", {
12267
12282
  enumerable: true,
12268
- get: function () { return chunk3J7MEBOW_cjs.buildMeetingChatBody; }
12283
+ get: function () { return chunkZGW7PN4G_cjs.buildMeetingChatBody; }
12269
12284
  });
12270
12285
  Object.defineProperty(exports, "cachedChat", {
12271
12286
  enumerable: true,
12272
- get: function () { return chunk3J7MEBOW_cjs.cachedChat; }
12287
+ get: function () { return chunkZGW7PN4G_cjs.cachedChat; }
12273
12288
  });
12274
12289
  Object.defineProperty(exports, "cachedChats", {
12275
12290
  enumerable: true,
12276
- get: function () { return chunk3J7MEBOW_cjs.cachedChats; }
12291
+ get: function () { return chunkZGW7PN4G_cjs.cachedChats; }
12277
12292
  });
12278
12293
  Object.defineProperty(exports, "callLink", {
12279
12294
  enumerable: true,
12280
- get: function () { return chunk3J7MEBOW_cjs.callLink; }
12295
+ get: function () { return chunkZGW7PN4G_cjs.callLink; }
12281
12296
  });
12282
12297
  Object.defineProperty(exports, "callMemberKeys", {
12283
12298
  enumerable: true,
12284
- get: function () { return chunk3J7MEBOW_cjs.callMemberKeys; }
12299
+ get: function () { return chunkZGW7PN4G_cjs.callMemberKeys; }
12285
12300
  });
12286
12301
  Object.defineProperty(exports, "callSession", {
12287
12302
  enumerable: true,
12288
- get: function () { return chunk3J7MEBOW_cjs.callSession; }
12303
+ get: function () { return chunkZGW7PN4G_cjs.callSession; }
12289
12304
  });
12290
12305
  Object.defineProperty(exports, "chatByExtId", {
12291
12306
  enumerable: true,
12292
- get: function () { return chunk3J7MEBOW_cjs.chatByExtId; }
12307
+ get: function () { return chunkZGW7PN4G_cjs.chatByExtId; }
12293
12308
  });
12294
12309
  Object.defineProperty(exports, "chatHasLiveCall", {
12295
12310
  enumerable: true,
12296
- get: function () { return chunk3J7MEBOW_cjs.chatHasLiveCall; }
12311
+ get: function () { return chunkZGW7PN4G_cjs.chatHasLiveCall; }
12297
12312
  });
12298
12313
  Object.defineProperty(exports, "chatLiveCallId", {
12299
12314
  enumerable: true,
12300
- get: function () { return chunk3J7MEBOW_cjs.chatLiveCallId; }
12315
+ get: function () { return chunkZGW7PN4G_cjs.chatLiveCallId; }
12301
12316
  });
12302
12317
  Object.defineProperty(exports, "chatTranscriptRef", {
12303
12318
  enumerable: true,
12304
- get: function () { return chunk3J7MEBOW_cjs.chatTranscriptRef; }
12319
+ get: function () { return chunkZGW7PN4G_cjs.chatTranscriptRef; }
12305
12320
  });
12306
12321
  Object.defineProperty(exports, "clearMeetingChatCache", {
12307
12322
  enumerable: true,
12308
- get: function () { return chunk3J7MEBOW_cjs.clearMeetingChatCache; }
12323
+ get: function () { return chunkZGW7PN4G_cjs.clearMeetingChatCache; }
12309
12324
  });
12310
12325
  Object.defineProperty(exports, "clearTrackUploaders", {
12311
12326
  enumerable: true,
12312
- get: function () { return chunk3J7MEBOW_cjs.clearTrackUploaders; }
12327
+ get: function () { return chunkZGW7PN4G_cjs.clearTrackUploaders; }
12313
12328
  });
12314
12329
  Object.defineProperty(exports, "clockTime", {
12315
12330
  enumerable: true,
12316
- get: function () { return chunk3J7MEBOW_cjs.clockTime; }
12331
+ get: function () { return chunkZGW7PN4G_cjs.clockTime; }
12317
12332
  });
12318
12333
  Object.defineProperty(exports, "compositeFiles", {
12319
12334
  enumerable: true,
12320
- get: function () { return chunk3J7MEBOW_cjs.compositeFiles; }
12335
+ get: function () { return chunkZGW7PN4G_cjs.compositeFiles; }
12321
12336
  });
12322
12337
  Object.defineProperty(exports, "compositeTrack", {
12323
12338
  enumerable: true,
12324
- get: function () { return chunk3J7MEBOW_cjs.compositeTrack; }
12339
+ get: function () { return chunkZGW7PN4G_cjs.compositeTrack; }
12325
12340
  });
12326
12341
  Object.defineProperty(exports, "conversationKeyForCall", {
12327
12342
  enumerable: true,
12328
- get: function () { return chunk3J7MEBOW_cjs.conversationKeyForCall; }
12343
+ get: function () { return chunkZGW7PN4G_cjs.conversationKeyForCall; }
12329
12344
  });
12330
12345
  Object.defineProperty(exports, "createMutedNotifier", {
12331
12346
  enumerable: true,
12332
- get: function () { return chunk3J7MEBOW_cjs.createMutedNotifier; }
12347
+ get: function () { return chunkZGW7PN4G_cjs.createMutedNotifier; }
12333
12348
  });
12334
12349
  Object.defineProperty(exports, "createTrackCutter", {
12335
12350
  enumerable: true,
12336
- get: function () { return chunk3J7MEBOW_cjs.createTrackCutter; }
12351
+ get: function () { return chunkZGW7PN4G_cjs.createTrackCutter; }
12337
12352
  });
12338
12353
  Object.defineProperty(exports, "cutAtPauses", {
12339
12354
  enumerable: true,
12340
- get: function () { return chunk3J7MEBOW_cjs.cutAtPauses; }
12355
+ get: function () { return chunkZGW7PN4G_cjs.cutAtPauses; }
12341
12356
  });
12342
12357
  Object.defineProperty(exports, "declineRing", {
12343
12358
  enumerable: true,
12344
- get: function () { return chunk3J7MEBOW_cjs.declineRing; }
12359
+ get: function () { return chunkZGW7PN4G_cjs.declineRing; }
12345
12360
  });
12346
12361
  Object.defineProperty(exports, "decodeCallChatPacket", {
12347
12362
  enumerable: true,
12348
- get: function () { return chunk3J7MEBOW_cjs.decodeCallChatPacket; }
12363
+ get: function () { return chunkZGW7PN4G_cjs.decodeCallChatPacket; }
12349
12364
  });
12350
12365
  Object.defineProperty(exports, "decodeCaptionPacket", {
12351
12366
  enumerable: true,
12352
- get: function () { return chunk3J7MEBOW_cjs.decodeCaptionPacket; }
12367
+ get: function () { return chunkZGW7PN4G_cjs.decodeCaptionPacket; }
12353
12368
  });
12354
12369
  Object.defineProperty(exports, "decodeMono16k", {
12355
12370
  enumerable: true,
12356
- get: function () { return chunk3J7MEBOW_cjs.decodeMono16k; }
12371
+ get: function () { return chunkZGW7PN4G_cjs.decodeMono16k; }
12357
12372
  });
12358
12373
  Object.defineProperty(exports, "decryptPart", {
12359
12374
  enumerable: true,
12360
- get: function () { return chunk3J7MEBOW_cjs.decryptPart; }
12375
+ get: function () { return chunkZGW7PN4G_cjs.decryptPart; }
12361
12376
  });
12362
12377
  Object.defineProperty(exports, "encodeCallChatPacket", {
12363
12378
  enumerable: true,
12364
- get: function () { return chunk3J7MEBOW_cjs.encodeCallChatPacket; }
12379
+ get: function () { return chunkZGW7PN4G_cjs.encodeCallChatPacket; }
12365
12380
  });
12366
12381
  Object.defineProperty(exports, "encodeCaptionPacket", {
12367
12382
  enumerable: true,
12368
- get: function () { return chunk3J7MEBOW_cjs.encodeCaptionPacket; }
12383
+ get: function () { return chunkZGW7PN4G_cjs.encodeCaptionPacket; }
12369
12384
  });
12370
12385
  Object.defineProperty(exports, "encodeWav", {
12371
12386
  enumerable: true,
12372
- get: function () { return chunk3J7MEBOW_cjs.encodeWav; }
12387
+ get: function () { return chunkZGW7PN4G_cjs.encodeWav; }
12373
12388
  });
12374
12389
  Object.defineProperty(exports, "encryptPart", {
12375
12390
  enumerable: true,
12376
- get: function () { return chunk3J7MEBOW_cjs.encryptPart; }
12391
+ get: function () { return chunkZGW7PN4G_cjs.encryptPart; }
12377
12392
  });
12378
12393
  Object.defineProperty(exports, "ensureMeetingChat", {
12379
12394
  enumerable: true,
12380
- get: function () { return chunk3J7MEBOW_cjs.ensureMeetingChat; }
12395
+ get: function () { return chunkZGW7PN4G_cjs.ensureMeetingChat; }
12381
12396
  });
12382
12397
  Object.defineProperty(exports, "entitlementRefusal", {
12383
12398
  enumerable: true,
12384
- get: function () { return chunk3J7MEBOW_cjs.entitlementRefusal; }
12399
+ get: function () { return chunkZGW7PN4G_cjs.entitlementRefusal; }
12385
12400
  });
12386
12401
  Object.defineProperty(exports, "extensionFor", {
12387
12402
  enumerable: true,
12388
- get: function () { return chunk3J7MEBOW_cjs.extensionFor; }
12403
+ get: function () { return chunkZGW7PN4G_cjs.extensionFor; }
12389
12404
  });
12390
12405
  Object.defineProperty(exports, "fetchPart", {
12391
12406
  enumerable: true,
12392
- get: function () { return chunk3J7MEBOW_cjs.fetchPart; }
12407
+ get: function () { return chunkZGW7PN4G_cjs.fetchPart; }
12393
12408
  });
12394
12409
  Object.defineProperty(exports, "fileSafe", {
12395
12410
  enumerable: true,
12396
- get: function () { return chunk3J7MEBOW_cjs.fileSafe; }
12411
+ get: function () { return chunkZGW7PN4G_cjs.fileSafe; }
12397
12412
  });
12398
12413
  Object.defineProperty(exports, "findConversation", {
12399
12414
  enumerable: true,
12400
- get: function () { return chunk3J7MEBOW_cjs.findConversation; }
12415
+ get: function () { return chunkZGW7PN4G_cjs.findConversation; }
12401
12416
  });
12402
12417
  Object.defineProperty(exports, "floatToWav", {
12403
12418
  enumerable: true,
12404
- get: function () { return chunk3J7MEBOW_cjs.floatToWav; }
12419
+ get: function () { return chunkZGW7PN4G_cjs.floatToWav; }
12405
12420
  });
12406
12421
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
12407
12422
  enumerable: true,
12408
- get: function () { return chunk3J7MEBOW_cjs.formatTranscriptMarkdown; }
12423
+ get: function () { return chunkZGW7PN4G_cjs.formatTranscriptMarkdown; }
12409
12424
  });
12410
12425
  Object.defineProperty(exports, "getOpenChat", {
12411
12426
  enumerable: true,
12412
- get: function () { return chunk3J7MEBOW_cjs.getOpenChat; }
12427
+ get: function () { return chunkZGW7PN4G_cjs.getOpenChat; }
12413
12428
  });
12414
12429
  Object.defineProperty(exports, "hasRecordingTranscript", {
12415
12430
  enumerable: true,
12416
- get: function () { return chunk3J7MEBOW_cjs.hasRecordingTranscript; }
12431
+ get: function () { return chunkZGW7PN4G_cjs.hasRecordingTranscript; }
12417
12432
  });
12418
12433
  Object.defineProperty(exports, "invalidateCall", {
12419
12434
  enumerable: true,
12420
- get: function () { return chunk3J7MEBOW_cjs.invalidateCall; }
12435
+ get: function () { return chunkZGW7PN4G_cjs.invalidateCall; }
12421
12436
  });
12422
12437
  Object.defineProperty(exports, "invalidateConversationDetails", {
12423
12438
  enumerable: true,
12424
- get: function () { return chunk3J7MEBOW_cjs.invalidateConversationDetails; }
12439
+ get: function () { return chunkZGW7PN4G_cjs.invalidateConversationDetails; }
12425
12440
  });
12426
12441
  Object.defineProperty(exports, "invalidateConversationLists", {
12427
12442
  enumerable: true,
12428
- get: function () { return chunk3J7MEBOW_cjs.invalidateConversationLists; }
12443
+ get: function () { return chunkZGW7PN4G_cjs.invalidateConversationLists; }
12429
12444
  });
12430
12445
  Object.defineProperty(exports, "isConversationListKey", {
12431
12446
  enumerable: true,
12432
- get: function () { return chunk3J7MEBOW_cjs.isConversationListKey; }
12447
+ get: function () { return chunkZGW7PN4G_cjs.isConversationListKey; }
12433
12448
  });
12434
12449
  Object.defineProperty(exports, "isConversationShared", {
12435
12450
  enumerable: true,
12436
- get: function () { return chunk3J7MEBOW_cjs.isConversationShared; }
12451
+ get: function () { return chunkZGW7PN4G_cjs.isConversationShared; }
12437
12452
  });
12438
12453
  Object.defineProperty(exports, "isKnownSoloConversation", {
12439
12454
  enumerable: true,
12440
- get: function () { return chunk3J7MEBOW_cjs.isKnownSoloConversation; }
12455
+ get: function () { return chunkZGW7PN4G_cjs.isKnownSoloConversation; }
12441
12456
  });
12442
12457
  Object.defineProperty(exports, "isRecordingOver", {
12443
12458
  enumerable: true,
12444
- get: function () { return chunk3J7MEBOW_cjs.isRecordingOver; }
12459
+ get: function () { return chunkZGW7PN4G_cjs.isRecordingOver; }
12445
12460
  });
12446
12461
  Object.defineProperty(exports, "isRecordingSegmentId", {
12447
12462
  enumerable: true,
12448
- get: function () { return chunk3J7MEBOW_cjs.isRecordingSegmentId; }
12463
+ get: function () { return chunkZGW7PN4G_cjs.isRecordingSegmentId; }
12449
12464
  });
12450
12465
  Object.defineProperty(exports, "isRetryable", {
12451
12466
  enumerable: true,
12452
- get: function () { return chunk3J7MEBOW_cjs.isRetryable; }
12467
+ get: function () { return chunkZGW7PN4G_cjs.isRetryable; }
12453
12468
  });
12454
12469
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
12455
12470
  enumerable: true,
12456
- get: function () { return chunk3J7MEBOW_cjs.isWorkspaceGuestOf; }
12471
+ get: function () { return chunkZGW7PN4G_cjs.isWorkspaceGuestOf; }
12457
12472
  });
12458
12473
  Object.defineProperty(exports, "joinFromPreJoin", {
12459
12474
  enumerable: true,
12460
- get: function () { return chunk3J7MEBOW_cjs.joinFromPreJoin; }
12475
+ get: function () { return chunkZGW7PN4G_cjs.joinFromPreJoin; }
12461
12476
  });
12462
12477
  Object.defineProperty(exports, "knownMeetingChat", {
12463
12478
  enumerable: true,
12464
- get: function () { return chunk3J7MEBOW_cjs.knownMeetingChat; }
12479
+ get: function () { return chunkZGW7PN4G_cjs.knownMeetingChat; }
12465
12480
  });
12466
12481
  Object.defineProperty(exports, "loadMeetingHistory", {
12467
12482
  enumerable: true,
12468
- get: function () { return chunk3J7MEBOW_cjs.loadMeetingHistory; }
12483
+ get: function () { return chunkZGW7PN4G_cjs.loadMeetingHistory; }
12469
12484
  });
12470
12485
  Object.defineProperty(exports, "markRejoining", {
12471
12486
  enumerable: true,
12472
- get: function () { return chunk3J7MEBOW_cjs.markRejoining; }
12487
+ get: function () { return chunkZGW7PN4G_cjs.markRejoining; }
12473
12488
  });
12474
12489
  Object.defineProperty(exports, "meetingChatRefFrom", {
12475
12490
  enumerable: true,
12476
- get: function () { return chunk3J7MEBOW_cjs.meetingChatRefFrom; }
12491
+ get: function () { return chunkZGW7PN4G_cjs.meetingChatRefFrom; }
12477
12492
  });
12478
12493
  Object.defineProperty(exports, "meetingRefForCall", {
12479
12494
  enumerable: true,
12480
- get: function () { return chunk3J7MEBOW_cjs.meetingRefForCall; }
12495
+ get: function () { return chunkZGW7PN4G_cjs.meetingRefForCall; }
12481
12496
  });
12482
12497
  Object.defineProperty(exports, "mergeChatLines", {
12483
12498
  enumerable: true,
12484
- get: function () { return chunk3J7MEBOW_cjs.mergeChatLines; }
12499
+ get: function () { return chunkZGW7PN4G_cjs.mergeChatLines; }
12485
12500
  });
12486
12501
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
12487
12502
  enumerable: true,
12488
- get: function () { return chunk3J7MEBOW_cjs.mutedNoticeFromEvent; }
12503
+ get: function () { return chunkZGW7PN4G_cjs.mutedNoticeFromEvent; }
12489
12504
  });
12490
12505
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
12491
12506
  enumerable: true,
12492
- get: function () { return chunk3J7MEBOW_cjs.mutedNoticeFromPacket; }
12507
+ get: function () { return chunkZGW7PN4G_cjs.mutedNoticeFromPacket; }
12493
12508
  });
12494
12509
  Object.defineProperty(exports, "mutedNoticeText", {
12495
12510
  enumerable: true,
12496
- get: function () { return chunk3J7MEBOW_cjs.mutedNoticeText; }
12511
+ get: function () { return chunkZGW7PN4G_cjs.mutedNoticeText; }
12497
12512
  });
12498
12513
  Object.defineProperty(exports, "myChatId", {
12499
12514
  enumerable: true,
12500
- get: function () { return chunk3J7MEBOW_cjs.myChatId; }
12515
+ get: function () { return chunkZGW7PN4G_cjs.myChatId; }
12501
12516
  });
12502
12517
  Object.defineProperty(exports, "newPacketId", {
12503
12518
  enumerable: true,
12504
- get: function () { return chunk3J7MEBOW_cjs.newPacketId; }
12519
+ get: function () { return chunkZGW7PN4G_cjs.newPacketId; }
12505
12520
  });
12506
12521
  Object.defineProperty(exports, "newSegmentId", {
12507
12522
  enumerable: true,
12508
- get: function () { return chunk3J7MEBOW_cjs.newSegmentId; }
12523
+ get: function () { return chunkZGW7PN4G_cjs.newSegmentId; }
12509
12524
  });
12510
12525
  Object.defineProperty(exports, "newTrackKey", {
12511
12526
  enumerable: true,
12512
- get: function () { return chunk3J7MEBOW_cjs.newTrackKey; }
12527
+ get: function () { return chunkZGW7PN4G_cjs.newTrackKey; }
12513
12528
  });
12514
12529
  Object.defineProperty(exports, "nextSeqAfter", {
12515
12530
  enumerable: true,
12516
- get: function () { return chunk3J7MEBOW_cjs.nextSeqAfter; }
12531
+ get: function () { return chunkZGW7PN4G_cjs.nextSeqAfter; }
12517
12532
  });
12518
12533
  Object.defineProperty(exports, "onCallEvent", {
12519
12534
  enumerable: true,
12520
- get: function () { return chunk3J7MEBOW_cjs.onCallEvent; }
12535
+ get: function () { return chunkZGW7PN4G_cjs.onCallEvent; }
12521
12536
  });
12522
12537
  Object.defineProperty(exports, "openCall", {
12523
12538
  enumerable: true,
12524
- get: function () { return chunk3J7MEBOW_cjs.openCall; }
12539
+ get: function () { return chunkZGW7PN4G_cjs.openCall; }
12525
12540
  });
12526
12541
  Object.defineProperty(exports, "openQuestion", {
12527
12542
  enumerable: true,
12528
- get: function () { return chunk3J7MEBOW_cjs.openQuestion; }
12543
+ get: function () { return chunkZGW7PN4G_cjs.openQuestion; }
12529
12544
  });
12530
12545
  Object.defineProperty(exports, "openRecording", {
12531
12546
  enumerable: true,
12532
- get: function () { return chunk3J7MEBOW_cjs.openRecording; }
12547
+ get: function () { return chunkZGW7PN4G_cjs.openRecording; }
12533
12548
  });
12534
12549
  Object.defineProperty(exports, "parseWebinarPacket", {
12535
12550
  enumerable: true,
12536
- get: function () { return chunk3J7MEBOW_cjs.parseWebinarPacket; }
12551
+ get: function () { return chunkZGW7PN4G_cjs.parseWebinarPacket; }
12537
12552
  });
12538
12553
  Object.defineProperty(exports, "partKey", {
12539
12554
  enumerable: true,
12540
- get: function () { return chunk3J7MEBOW_cjs.partKey; }
12555
+ get: function () { return chunkZGW7PN4G_cjs.partKey; }
12541
12556
  });
12542
12557
  Object.defineProperty(exports, "partOffsetMs", {
12543
12558
  enumerable: true,
12544
- get: function () { return chunk3J7MEBOW_cjs.partOffsetMs; }
12559
+ get: function () { return chunkZGW7PN4G_cjs.partOffsetMs; }
12545
12560
  });
12546
12561
  Object.defineProperty(exports, "partsDue", {
12547
12562
  enumerable: true,
12548
- get: function () { return chunk3J7MEBOW_cjs.partsDue; }
12563
+ get: function () { return chunkZGW7PN4G_cjs.partsDue; }
12549
12564
  });
12550
12565
  Object.defineProperty(exports, "patchConversation", {
12551
12566
  enumerable: true,
12552
- get: function () { return chunk3J7MEBOW_cjs.patchConversation; }
12567
+ get: function () { return chunkZGW7PN4G_cjs.patchConversation; }
12553
12568
  });
12554
12569
  Object.defineProperty(exports, "patchConversationList", {
12555
12570
  enumerable: true,
12556
- get: function () { return chunk3J7MEBOW_cjs.patchConversationList; }
12571
+ get: function () { return chunkZGW7PN4G_cjs.patchConversationList; }
12557
12572
  });
12558
12573
  Object.defineProperty(exports, "persistMeetingMessage", {
12559
12574
  enumerable: true,
12560
- get: function () { return chunk3J7MEBOW_cjs.persistMeetingMessage; }
12575
+ get: function () { return chunkZGW7PN4G_cjs.persistMeetingMessage; }
12561
12576
  });
12562
12577
  Object.defineProperty(exports, "persistTranscriptSegment", {
12563
12578
  enumerable: true,
12564
- get: function () { return chunk3J7MEBOW_cjs.persistTranscriptSegment; }
12579
+ get: function () { return chunkZGW7PN4G_cjs.persistTranscriptSegment; }
12565
12580
  });
12566
12581
  Object.defineProperty(exports, "playheadAt", {
12567
12582
  enumerable: true,
12568
- get: function () { return chunk3J7MEBOW_cjs.playheadAt; }
12583
+ get: function () { return chunkZGW7PN4G_cjs.playheadAt; }
12569
12584
  });
12570
12585
  Object.defineProperty(exports, "postRecordingDocsToThread", {
12571
12586
  enumerable: true,
12572
- get: function () { return chunk3J7MEBOW_cjs.postRecordingDocsToThread; }
12587
+ get: function () { return chunkZGW7PN4G_cjs.postRecordingDocsToThread; }
12573
12588
  });
12574
12589
  Object.defineProperty(exports, "postTranscriptToThread", {
12575
12590
  enumerable: true,
12576
- get: function () { return chunk3J7MEBOW_cjs.postTranscriptToThread; }
12591
+ get: function () { return chunkZGW7PN4G_cjs.postTranscriptToThread; }
12577
12592
  });
12578
12593
  Object.defineProperty(exports, "recordingFiles", {
12579
12594
  enumerable: true,
12580
- get: function () { return chunk3J7MEBOW_cjs.recordingFiles; }
12595
+ get: function () { return chunkZGW7PN4G_cjs.recordingFiles; }
12581
12596
  });
12582
12597
  Object.defineProperty(exports, "recordingWindowsOf", {
12583
12598
  enumerable: true,
12584
- get: function () { return chunk3J7MEBOW_cjs.recordingWindowsOf; }
12599
+ get: function () { return chunkZGW7PN4G_cjs.recordingWindowsOf; }
12585
12600
  });
12586
12601
  Object.defineProperty(exports, "rejoinAsAudience", {
12587
12602
  enumerable: true,
12588
- get: function () { return chunk3J7MEBOW_cjs.rejoinAsAudience; }
12603
+ get: function () { return chunkZGW7PN4G_cjs.rejoinAsAudience; }
12589
12604
  });
12590
12605
  Object.defineProperty(exports, "removeChat", {
12591
12606
  enumerable: true,
12592
- get: function () { return chunk3J7MEBOW_cjs.removeChat; }
12607
+ get: function () { return chunkZGW7PN4G_cjs.removeChat; }
12593
12608
  });
12594
12609
  Object.defineProperty(exports, "removeConversationFromLists", {
12595
12610
  enumerable: true,
12596
- get: function () { return chunk3J7MEBOW_cjs.removeConversationFromLists; }
12611
+ get: function () { return chunkZGW7PN4G_cjs.removeConversationFromLists; }
12597
12612
  });
12598
12613
  Object.defineProperty(exports, "resetCallSession", {
12599
12614
  enumerable: true,
12600
- get: function () { return chunk3J7MEBOW_cjs.resetCallSession; }
12615
+ get: function () { return chunkZGW7PN4G_cjs.resetCallSession; }
12601
12616
  });
12602
12617
  Object.defineProperty(exports, "resolveMeetingChat", {
12603
12618
  enumerable: true,
12604
- get: function () { return chunk3J7MEBOW_cjs.resolveMeetingChat; }
12619
+ get: function () { return chunkZGW7PN4G_cjs.resolveMeetingChat; }
12605
12620
  });
12606
12621
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
12607
12622
  enumerable: true,
12608
- get: function () { return chunk3J7MEBOW_cjs.saveRecordingFilesToThread; }
12623
+ get: function () { return chunkZGW7PN4G_cjs.saveRecordingFilesToThread; }
12609
12624
  });
12610
12625
  Object.defineProperty(exports, "schedulePart", {
12611
12626
  enumerable: true,
12612
- get: function () { return chunk3J7MEBOW_cjs.schedulePart; }
12627
+ get: function () { return chunkZGW7PN4G_cjs.schedulePart; }
12613
12628
  });
12614
12629
  Object.defineProperty(exports, "sealQuestionText", {
12615
12630
  enumerable: true,
12616
- get: function () { return chunk3J7MEBOW_cjs.sealQuestionText; }
12631
+ get: function () { return chunkZGW7PN4G_cjs.sealQuestionText; }
12617
12632
  });
12618
12633
  Object.defineProperty(exports, "setOpenChat", {
12619
12634
  enumerable: true,
12620
- get: function () { return chunk3J7MEBOW_cjs.setOpenChat; }
12635
+ get: function () { return chunkZGW7PN4G_cjs.setOpenChat; }
12621
12636
  });
12622
12637
  Object.defineProperty(exports, "sortTranscriptMessages", {
12623
12638
  enumerable: true,
12624
- get: function () { return chunk3J7MEBOW_cjs.sortTranscriptMessages; }
12639
+ get: function () { return chunkZGW7PN4G_cjs.sortTranscriptMessages; }
12625
12640
  });
12626
12641
  Object.defineProperty(exports, "sortedParts", {
12627
12642
  enumerable: true,
12628
- get: function () { return chunk3J7MEBOW_cjs.sortedParts; }
12643
+ get: function () { return chunkZGW7PN4G_cjs.sortedParts; }
12629
12644
  });
12630
12645
  Object.defineProperty(exports, "speakerTracks", {
12631
12646
  enumerable: true,
12632
- get: function () { return chunk3J7MEBOW_cjs.speakerTracks; }
12647
+ get: function () { return chunkZGW7PN4G_cjs.speakerTracks; }
12633
12648
  });
12634
12649
  Object.defineProperty(exports, "speakerWav", {
12635
12650
  enumerable: true,
12636
- get: function () { return chunk3J7MEBOW_cjs.speakerWav; }
12651
+ get: function () { return chunkZGW7PN4G_cjs.speakerWav; }
12637
12652
  });
12638
12653
  Object.defineProperty(exports, "splitIntoFiles", {
12639
12654
  enumerable: true,
12640
- get: function () { return chunk3J7MEBOW_cjs.splitIntoFiles; }
12655
+ get: function () { return chunkZGW7PN4G_cjs.splitIntoFiles; }
12641
12656
  });
12642
12657
  Object.defineProperty(exports, "standalone", {
12643
12658
  enumerable: true,
12644
- get: function () { return chunk3J7MEBOW_cjs.standalone; }
12659
+ get: function () { return chunkZGW7PN4G_cjs.standalone; }
12645
12660
  });
12646
12661
  Object.defineProperty(exports, "startChatCall", {
12647
12662
  enumerable: true,
12648
- get: function () { return chunk3J7MEBOW_cjs.startChatCall; }
12663
+ get: function () { return chunkZGW7PN4G_cjs.startChatCall; }
12649
12664
  });
12650
12665
  Object.defineProperty(exports, "startContactsCall", {
12651
12666
  enumerable: true,
12652
- get: function () { return chunk3J7MEBOW_cjs.startContactsCall; }
12667
+ get: function () { return chunkZGW7PN4G_cjs.startContactsCall; }
12653
12668
  });
12654
12669
  Object.defineProperty(exports, "startDmCall", {
12655
12670
  enumerable: true,
12656
- get: function () { return chunk3J7MEBOW_cjs.startDmCall; }
12671
+ get: function () { return chunkZGW7PN4G_cjs.startDmCall; }
12657
12672
  });
12658
12673
  Object.defineProperty(exports, "startThreadCall", {
12659
12674
  enumerable: true,
12660
- get: function () { return chunk3J7MEBOW_cjs.startThreadCall; }
12675
+ get: function () { return chunkZGW7PN4G_cjs.startThreadCall; }
12661
12676
  });
12662
12677
  Object.defineProperty(exports, "startsMediaFile", {
12663
12678
  enumerable: true,
12664
- get: function () { return chunk3J7MEBOW_cjs.startsMediaFile; }
12679
+ get: function () { return chunkZGW7PN4G_cjs.startsMediaFile; }
12665
12680
  });
12666
12681
  Object.defineProperty(exports, "storeTranscriptSegment", {
12667
12682
  enumerable: true,
12668
- get: function () { return chunk3J7MEBOW_cjs.storeTranscriptSegment; }
12683
+ get: function () { return chunkZGW7PN4G_cjs.storeTranscriptSegment; }
12669
12684
  });
12670
12685
  Object.defineProperty(exports, "stripSpeakerPrefix", {
12671
12686
  enumerable: true,
12672
- get: function () { return chunk3J7MEBOW_cjs.stripSpeakerPrefix; }
12687
+ get: function () { return chunkZGW7PN4G_cjs.stripSpeakerPrefix; }
12673
12688
  });
12674
12689
  Object.defineProperty(exports, "supersedeLiveTranscript", {
12675
12690
  enumerable: true,
12676
- get: function () { return chunk3J7MEBOW_cjs.supersedeLiveTranscript; }
12691
+ get: function () { return chunkZGW7PN4G_cjs.supersedeLiveTranscript; }
12677
12692
  });
12678
12693
  Object.defineProperty(exports, "supersededTranscriptLines", {
12679
12694
  enumerable: true,
12680
- get: function () { return chunk3J7MEBOW_cjs.supersededTranscriptLines; }
12695
+ get: function () { return chunkZGW7PN4G_cjs.supersededTranscriptLines; }
12681
12696
  });
12682
12697
  Object.defineProperty(exports, "threadHasLiveCall", {
12683
12698
  enumerable: true,
12684
- get: function () { return chunk3J7MEBOW_cjs.threadHasLiveCall; }
12699
+ get: function () { return chunkZGW7PN4G_cjs.threadHasLiveCall; }
12685
12700
  });
12686
12701
  Object.defineProperty(exports, "threadLiveCallId", {
12687
12702
  enumerable: true,
12688
- get: function () { return chunk3J7MEBOW_cjs.threadLiveCallId; }
12703
+ get: function () { return chunkZGW7PN4G_cjs.threadLiveCallId; }
12689
12704
  });
12690
12705
  Object.defineProperty(exports, "threadTranscriptLines", {
12691
12706
  enumerable: true,
12692
- get: function () { return chunk3J7MEBOW_cjs.threadTranscriptLines; }
12707
+ get: function () { return chunkZGW7PN4G_cjs.threadTranscriptLines; }
12693
12708
  });
12694
12709
  Object.defineProperty(exports, "threadTranscriptRef", {
12695
12710
  enumerable: true,
12696
- get: function () { return chunk3J7MEBOW_cjs.threadTranscriptRef; }
12711
+ get: function () { return chunkZGW7PN4G_cjs.threadTranscriptRef; }
12697
12712
  });
12698
12713
  Object.defineProperty(exports, "threadTranscriptText", {
12699
12714
  enumerable: true,
12700
- get: function () { return chunk3J7MEBOW_cjs.threadTranscriptText; }
12715
+ get: function () { return chunkZGW7PN4G_cjs.threadTranscriptText; }
12701
12716
  });
12702
12717
  Object.defineProperty(exports, "timelineDurationMs", {
12703
12718
  enumerable: true,
12704
- get: function () { return chunk3J7MEBOW_cjs.timelineDurationMs; }
12719
+ get: function () { return chunkZGW7PN4G_cjs.timelineDurationMs; }
12705
12720
  });
12706
12721
  Object.defineProperty(exports, "timelineOf", {
12707
12722
  enumerable: true,
12708
- get: function () { return chunk3J7MEBOW_cjs.timelineOf; }
12723
+ get: function () { return chunkZGW7PN4G_cjs.timelineOf; }
12709
12724
  });
12710
12725
  Object.defineProperty(exports, "toProfileView", {
12711
12726
  enumerable: true,
12712
- get: function () { return chunk3J7MEBOW_cjs.toProfileView; }
12727
+ get: function () { return chunkZGW7PN4G_cjs.toProfileView; }
12713
12728
  });
12714
12729
  Object.defineProperty(exports, "trackUploaderFor", {
12715
12730
  enumerable: true,
12716
- get: function () { return chunk3J7MEBOW_cjs.trackUploaderFor; }
12731
+ get: function () { return chunkZGW7PN4G_cjs.trackUploaderFor; }
12717
12732
  });
12718
12733
  Object.defineProperty(exports, "transcribeRecording", {
12719
12734
  enumerable: true,
12720
- get: function () { return chunk3J7MEBOW_cjs.transcribeRecording; }
12735
+ get: function () { return chunkZGW7PN4G_cjs.transcribeRecording; }
12721
12736
  });
12722
12737
  Object.defineProperty(exports, "transcriptPersistRole", {
12723
12738
  enumerable: true,
12724
- get: function () { return chunk3J7MEBOW_cjs.transcriptPersistRole; }
12739
+ get: function () { return chunkZGW7PN4G_cjs.transcriptPersistRole; }
12725
12740
  });
12726
12741
  Object.defineProperty(exports, "transcriptSegmentOf", {
12727
12742
  enumerable: true,
12728
- get: function () { return chunk3J7MEBOW_cjs.transcriptSegmentOf; }
12743
+ get: function () { return chunkZGW7PN4G_cjs.transcriptSegmentOf; }
12729
12744
  });
12730
12745
  Object.defineProperty(exports, "unwrapTrackKey", {
12731
12746
  enumerable: true,
12732
- get: function () { return chunk3J7MEBOW_cjs.unwrapTrackKey; }
12747
+ get: function () { return chunkZGW7PN4G_cjs.unwrapTrackKey; }
12733
12748
  });
12734
12749
  Object.defineProperty(exports, "upsertChat", {
12735
12750
  enumerable: true,
12736
- get: function () { return chunk3J7MEBOW_cjs.upsertChat; }
12751
+ get: function () { return chunkZGW7PN4G_cjs.upsertChat; }
12737
12752
  });
12738
12753
  Object.defineProperty(exports, "useAccountClient", {
12739
12754
  enumerable: true,
12740
- get: function () { return chunk3J7MEBOW_cjs.useAccountClient; }
12755
+ get: function () { return chunkZGW7PN4G_cjs.useAccountClient; }
12741
12756
  });
12742
12757
  Object.defineProperty(exports, "useArbiWsContext", {
12743
12758
  enumerable: true,
12744
- get: function () { return chunk3J7MEBOW_cjs.useArbiWsContext; }
12759
+ get: function () { return chunkZGW7PN4G_cjs.useArbiWsContext; }
12745
12760
  });
12746
12761
  Object.defineProperty(exports, "useAvatarCrop", {
12747
12762
  enumerable: true,
12748
- get: function () { return chunk3J7MEBOW_cjs.useAvatarCrop; }
12763
+ get: function () { return chunkZGW7PN4G_cjs.useAvatarCrop; }
12749
12764
  });
12750
12765
  Object.defineProperty(exports, "useCall", {
12751
12766
  enumerable: true,
12752
- get: function () { return chunk3J7MEBOW_cjs.useCall; }
12767
+ get: function () { return chunkZGW7PN4G_cjs.useCall; }
12753
12768
  });
12754
12769
  Object.defineProperty(exports, "useCallInviteLinks", {
12755
12770
  enumerable: true,
12756
- get: function () { return chunk3J7MEBOW_cjs.useCallInviteLinks; }
12771
+ get: function () { return chunkZGW7PN4G_cjs.useCallInviteLinks; }
12757
12772
  });
12758
12773
  Object.defineProperty(exports, "useCallLiveUpdates", {
12759
12774
  enumerable: true,
12760
- get: function () { return chunk3J7MEBOW_cjs.useCallLiveUpdates; }
12775
+ get: function () { return chunkZGW7PN4G_cjs.useCallLiveUpdates; }
12761
12776
  });
12762
12777
  Object.defineProperty(exports, "useCallRecording", {
12763
12778
  enumerable: true,
12764
- get: function () { return chunk3J7MEBOW_cjs.useCallRecording; }
12779
+ get: function () { return chunkZGW7PN4G_cjs.useCallRecording; }
12765
12780
  });
12766
12781
  Object.defineProperty(exports, "useCallRecordings", {
12767
12782
  enumerable: true,
12768
- get: function () { return chunk3J7MEBOW_cjs.useCallRecordings; }
12783
+ get: function () { return chunkZGW7PN4G_cjs.useCallRecordings; }
12769
12784
  });
12770
12785
  Object.defineProperty(exports, "useCallSession", {
12771
12786
  enumerable: true,
12772
- get: function () { return chunk3J7MEBOW_cjs.useCallSession; }
12787
+ get: function () { return chunkZGW7PN4G_cjs.useCallSession; }
12773
12788
  });
12774
12789
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
12775
12790
  enumerable: true,
12776
- get: function () { return chunk3J7MEBOW_cjs.useCallTranscriptionAvailable; }
12791
+ get: function () { return chunkZGW7PN4G_cjs.useCallTranscriptionAvailable; }
12777
12792
  });
12778
12793
  Object.defineProperty(exports, "useCallsConfig", {
12779
12794
  enumerable: true,
12780
- get: function () { return chunk3J7MEBOW_cjs.useCallsConfig; }
12795
+ get: function () { return chunkZGW7PN4G_cjs.useCallsConfig; }
12781
12796
  });
12782
12797
  Object.defineProperty(exports, "useCallsEnabled", {
12783
12798
  enumerable: true,
12784
- get: function () { return chunk3J7MEBOW_cjs.useCallsEnabled; }
12799
+ get: function () { return chunkZGW7PN4G_cjs.useCallsEnabled; }
12785
12800
  });
12786
12801
  Object.defineProperty(exports, "useCanHostCalls", {
12787
12802
  enumerable: true,
12788
- get: function () { return chunk3J7MEBOW_cjs.useCanHostCalls; }
12803
+ get: function () { return chunkZGW7PN4G_cjs.useCanHostCalls; }
12789
12804
  });
12790
12805
  Object.defineProperty(exports, "useEntitlements", {
12791
12806
  enumerable: true,
12792
- get: function () { return chunk3J7MEBOW_cjs.useEntitlements; }
12807
+ get: function () { return chunkZGW7PN4G_cjs.useEntitlements; }
12793
12808
  });
12794
12809
  Object.defineProperty(exports, "useIsEntitled", {
12795
12810
  enumerable: true,
12796
- get: function () { return chunk3J7MEBOW_cjs.useIsEntitled; }
12811
+ get: function () { return chunkZGW7PN4G_cjs.useIsEntitled; }
12797
12812
  });
12798
12813
  Object.defineProperty(exports, "useMeetingReadOnly", {
12799
12814
  enumerable: true,
12800
- get: function () { return chunk3J7MEBOW_cjs.useMeetingReadOnly; }
12815
+ get: function () { return chunkZGW7PN4G_cjs.useMeetingReadOnly; }
12801
12816
  });
12802
12817
  Object.defineProperty(exports, "useNameEditor", {
12803
12818
  enumerable: true,
12804
- get: function () { return chunk3J7MEBOW_cjs.useNameEditor; }
12819
+ get: function () { return chunkZGW7PN4G_cjs.useNameEditor; }
12805
12820
  });
12806
12821
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
12807
12822
  enumerable: true,
12808
- get: function () { return chunk3J7MEBOW_cjs.useOpenCallMeetingChat; }
12823
+ get: function () { return chunkZGW7PN4G_cjs.useOpenCallMeetingChat; }
12809
12824
  });
12810
12825
  Object.defineProperty(exports, "useProfile", {
12811
12826
  enumerable: true,
12812
- get: function () { return chunk3J7MEBOW_cjs.useProfile; }
12827
+ get: function () { return chunkZGW7PN4G_cjs.useProfile; }
12813
12828
  });
12814
12829
  Object.defineProperty(exports, "useRecordingActions", {
12815
12830
  enumerable: true,
12816
- get: function () { return chunk3J7MEBOW_cjs.useRecordingActions; }
12831
+ get: function () { return chunkZGW7PN4G_cjs.useRecordingActions; }
12817
12832
  });
12818
12833
  Object.defineProperty(exports, "useRecordingWindows", {
12819
12834
  enumerable: true,
12820
- get: function () { return chunk3J7MEBOW_cjs.useRecordingWindows; }
12835
+ get: function () { return chunkZGW7PN4G_cjs.useRecordingWindows; }
12821
12836
  });
12822
12837
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
12823
12838
  enumerable: true,
12824
- get: function () { return chunk3J7MEBOW_cjs.useRevokeCallInviteLink; }
12839
+ get: function () { return chunkZGW7PN4G_cjs.useRevokeCallInviteLink; }
12825
12840
  });
12826
12841
  Object.defineProperty(exports, "useSaveToThread", {
12827
12842
  enumerable: true,
12828
- get: function () { return chunk3J7MEBOW_cjs.useSaveToThread; }
12843
+ get: function () { return chunkZGW7PN4G_cjs.useSaveToThread; }
12829
12844
  });
12830
12845
  Object.defineProperty(exports, "useServerCallsEnabled", {
12831
12846
  enumerable: true,
12832
- get: function () { return chunk3J7MEBOW_cjs.useServerCallsEnabled; }
12847
+ get: function () { return chunkZGW7PN4G_cjs.useServerCallsEnabled; }
12833
12848
  });
12834
12849
  Object.defineProperty(exports, "useUpdateProfile", {
12835
12850
  enumerable: true,
12836
- get: function () { return chunk3J7MEBOW_cjs.useUpdateProfile; }
12851
+ get: function () { return chunkZGW7PN4G_cjs.useUpdateProfile; }
12837
12852
  });
12838
12853
  Object.defineProperty(exports, "wrapTrackKey", {
12839
12854
  enumerable: true,
12840
- get: function () { return chunk3J7MEBOW_cjs.wrapTrackKey; }
12855
+ get: function () { return chunkZGW7PN4G_cjs.wrapTrackKey; }
12841
12856
  });
12842
12857
  Object.defineProperty(exports, "writeSamples", {
12843
12858
  enumerable: true,
12844
- get: function () { return chunk3J7MEBOW_cjs.writeSamples; }
12859
+ get: function () { return chunkZGW7PN4G_cjs.writeSamples; }
12845
12860
  });
12846
12861
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
12847
12862
  enumerable: true,
12848
- get: function () { return chunkS4PCA3ES_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
12863
+ get: function () { return chunkSBWEI3BO_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
12849
12864
  });
12850
12865
  Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
12851
12866
  enumerable: true,
12852
- get: function () { return chunkS4PCA3ES_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
12867
+ get: function () { return chunkSBWEI3BO_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
12853
12868
  });
12854
12869
  Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
12855
12870
  enumerable: true,
12856
- get: function () { return chunkS4PCA3ES_cjs.DOCUMENTS_PAGE_SIZE; }
12871
+ get: function () { return chunkSBWEI3BO_cjs.DOCUMENTS_PAGE_SIZE; }
12857
12872
  });
12858
12873
  Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
12859
12874
  enumerable: true,
12860
- get: function () { return chunkS4PCA3ES_cjs.FINISHED_DOCUMENT_STATUSES; }
12875
+ get: function () { return chunkSBWEI3BO_cjs.FINISHED_DOCUMENT_STATUSES; }
12861
12876
  });
12862
12877
  Object.defineProperty(exports, "IN_FLIGHT_DOCUMENT_STATUSES", {
12863
12878
  enumerable: true,
12864
- get: function () { return chunkS4PCA3ES_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
12879
+ get: function () { return chunkSBWEI3BO_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
12865
12880
  });
12866
12881
  Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
12867
12882
  enumerable: true,
12868
- get: function () { return chunkS4PCA3ES_cjs.SIMILARITY_THRESHOLD; }
12883
+ get: function () { return chunkSBWEI3BO_cjs.SIMILARITY_THRESHOLD; }
12869
12884
  });
12870
12885
  Object.defineProperty(exports, "adjustTagCounts", {
12871
12886
  enumerable: true,
12872
- get: function () { return chunkS4PCA3ES_cjs.adjustTagCounts; }
12887
+ get: function () { return chunkSBWEI3BO_cjs.adjustTagCounts; }
12873
12888
  });
12874
12889
  Object.defineProperty(exports, "dropTagFromCachedDocuments", {
12875
12890
  enumerable: true,
12876
- get: function () { return chunkS4PCA3ES_cjs.dropTagFromCachedDocuments; }
12891
+ get: function () { return chunkSBWEI3BO_cjs.dropTagFromCachedDocuments; }
12877
12892
  });
12878
12893
  Object.defineProperty(exports, "finishEntityExtraction", {
12879
12894
  enumerable: true,
12880
- get: function () { return chunkS4PCA3ES_cjs.finishEntityExtraction; }
12895
+ get: function () { return chunkSBWEI3BO_cjs.finishEntityExtraction; }
12881
12896
  });
12882
12897
  Object.defineProperty(exports, "forgetDocuments", {
12883
12898
  enumerable: true,
12884
- get: function () { return chunkS4PCA3ES_cjs.forgetDocuments; }
12899
+ get: function () { return chunkSBWEI3BO_cjs.forgetDocuments; }
12885
12900
  });
12886
12901
  Object.defineProperty(exports, "getCachedDocuments", {
12887
12902
  enumerable: true,
12888
- get: function () { return chunkS4PCA3ES_cjs.getCachedDocuments; }
12903
+ get: function () { return chunkSBWEI3BO_cjs.getCachedDocuments; }
12889
12904
  });
12890
12905
  Object.defineProperty(exports, "invalidateTagData", {
12891
12906
  enumerable: true,
12892
- get: function () { return chunkS4PCA3ES_cjs.invalidateTagData; }
12907
+ get: function () { return chunkSBWEI3BO_cjs.invalidateTagData; }
12893
12908
  });
12894
12909
  Object.defineProperty(exports, "invalidateTagTables", {
12895
12910
  enumerable: true,
12896
- get: function () { return chunkS4PCA3ES_cjs.invalidateTagTables; }
12911
+ get: function () { return chunkSBWEI3BO_cjs.invalidateTagTables; }
12897
12912
  });
12898
12913
  Object.defineProperty(exports, "isDocumentsLoading", {
12899
12914
  enumerable: true,
12900
- get: function () { return chunkS4PCA3ES_cjs.isDocumentsLoading; }
12915
+ get: function () { return chunkSBWEI3BO_cjs.isDocumentsLoading; }
12901
12916
  });
12902
12917
  Object.defineProperty(exports, "isRowNewer", {
12903
12918
  enumerable: true,
12904
- get: function () { return chunkS4PCA3ES_cjs.isRowNewer; }
12919
+ get: function () { return chunkSBWEI3BO_cjs.isRowNewer; }
12905
12920
  });
12906
12921
  Object.defineProperty(exports, "isStaleTaskUpdate", {
12907
12922
  enumerable: true,
12908
- get: function () { return chunkS4PCA3ES_cjs.isStaleTaskUpdate; }
12923
+ get: function () { return chunkSBWEI3BO_cjs.isStaleTaskUpdate; }
12909
12924
  });
12910
12925
  Object.defineProperty(exports, "patchCachedDocument", {
12911
12926
  enumerable: true,
12912
- get: function () { return chunkS4PCA3ES_cjs.patchCachedDocument; }
12927
+ get: function () { return chunkSBWEI3BO_cjs.patchCachedDocument; }
12913
12928
  });
12914
12929
  Object.defineProperty(exports, "patchDocuments", {
12915
12930
  enumerable: true,
12916
- get: function () { return chunkS4PCA3ES_cjs.patchDocuments; }
12931
+ get: function () { return chunkSBWEI3BO_cjs.patchDocuments; }
12917
12932
  });
12918
12933
  Object.defineProperty(exports, "patchWorkspaceTags", {
12919
12934
  enumerable: true,
12920
- get: function () { return chunkS4PCA3ES_cjs.patchWorkspaceTags; }
12935
+ get: function () { return chunkSBWEI3BO_cjs.patchWorkspaceTags; }
12921
12936
  });
12922
12937
  Object.defineProperty(exports, "refreshDocuments", {
12923
12938
  enumerable: true,
12924
- get: function () { return chunkS4PCA3ES_cjs.refreshDocuments; }
12939
+ get: function () { return chunkSBWEI3BO_cjs.refreshDocuments; }
12925
12940
  });
12926
12941
  Object.defineProperty(exports, "resolveDocumentStatus", {
12927
12942
  enumerable: true,
12928
- get: function () { return chunkS4PCA3ES_cjs.resolveDocumentStatus; }
12943
+ get: function () { return chunkSBWEI3BO_cjs.resolveDocumentStatus; }
12929
12944
  });
12930
12945
  Object.defineProperty(exports, "setCachedDocument", {
12931
12946
  enumerable: true,
12932
- get: function () { return chunkS4PCA3ES_cjs.setCachedDocument; }
12947
+ get: function () { return chunkSBWEI3BO_cjs.setCachedDocument; }
12933
12948
  });
12934
12949
  Object.defineProperty(exports, "settledByRows", {
12935
12950
  enumerable: true,
12936
- get: function () { return chunkS4PCA3ES_cjs.settledByRows; }
12951
+ get: function () { return chunkSBWEI3BO_cjs.settledByRows; }
12937
12952
  });
12938
12953
  Object.defineProperty(exports, "startEntityExtraction", {
12939
12954
  enumerable: true,
12940
- get: function () { return chunkS4PCA3ES_cjs.startEntityExtraction; }
12955
+ get: function () { return chunkSBWEI3BO_cjs.startEntityExtraction; }
12941
12956
  });
12942
12957
  Object.defineProperty(exports, "stopDocumentsLoading", {
12943
12958
  enumerable: true,
12944
- get: function () { return chunkS4PCA3ES_cjs.stopDocumentsLoading; }
12959
+ get: function () { return chunkSBWEI3BO_cjs.stopDocumentsLoading; }
12945
12960
  });
12946
12961
  Object.defineProperty(exports, "subscribeDocumentRows", {
12947
12962
  enumerable: true,
12948
- get: function () { return chunkS4PCA3ES_cjs.subscribeDocumentRows; }
12963
+ get: function () { return chunkSBWEI3BO_cjs.subscribeDocumentRows; }
12949
12964
  });
12950
12965
  Object.defineProperty(exports, "upsertDocuments", {
12951
12966
  enumerable: true,
12952
- get: function () { return chunkS4PCA3ES_cjs.upsertDocuments; }
12967
+ get: function () { return chunkSBWEI3BO_cjs.upsertDocuments; }
12953
12968
  });
12954
12969
  Object.defineProperty(exports, "useCreateTag", {
12955
12970
  enumerable: true,
12956
- get: function () { return chunkS4PCA3ES_cjs.useCreateTag; }
12971
+ get: function () { return chunkSBWEI3BO_cjs.useCreateTag; }
12957
12972
  });
12958
12973
  Object.defineProperty(exports, "useDeleteTag", {
12959
12974
  enumerable: true,
12960
- get: function () { return chunkS4PCA3ES_cjs.useDeleteTag; }
12975
+ get: function () { return chunkSBWEI3BO_cjs.useDeleteTag; }
12961
12976
  });
12962
12977
  Object.defineProperty(exports, "useDocument", {
12963
12978
  enumerable: true,
12964
- get: function () { return chunkS4PCA3ES_cjs.useDocument; }
12979
+ get: function () { return chunkSBWEI3BO_cjs.useDocument; }
12965
12980
  });
12966
12981
  Object.defineProperty(exports, "useDocuments", {
12967
12982
  enumerable: true,
12968
- get: function () { return chunkS4PCA3ES_cjs.useDocuments; }
12983
+ get: function () { return chunkSBWEI3BO_cjs.useDocuments; }
12969
12984
  });
12970
12985
  Object.defineProperty(exports, "useDocumentsById", {
12971
12986
  enumerable: true,
12972
- get: function () { return chunkS4PCA3ES_cjs.useDocumentsById; }
12987
+ get: function () { return chunkSBWEI3BO_cjs.useDocumentsById; }
12973
12988
  });
12974
12989
  Object.defineProperty(exports, "useDocumentsLoading", {
12975
12990
  enumerable: true,
12976
- get: function () { return chunkS4PCA3ES_cjs.useDocumentsLoading; }
12991
+ get: function () { return chunkSBWEI3BO_cjs.useDocumentsLoading; }
12977
12992
  });
12978
12993
  Object.defineProperty(exports, "useEntityExtractionDocIds", {
12979
12994
  enumerable: true,
12980
- get: function () { return chunkS4PCA3ES_cjs.useEntityExtractionDocIds; }
12995
+ get: function () { return chunkSBWEI3BO_cjs.useEntityExtractionDocIds; }
12981
12996
  });
12982
12997
  Object.defineProperty(exports, "useExtractEntities", {
12983
12998
  enumerable: true,
12984
- get: function () { return chunkS4PCA3ES_cjs.useExtractEntities; }
12999
+ get: function () { return chunkSBWEI3BO_cjs.useExtractEntities; }
12985
13000
  });
12986
13001
  Object.defineProperty(exports, "useInvalidateTagData", {
12987
13002
  enumerable: true,
12988
- get: function () { return chunkS4PCA3ES_cjs.useInvalidateTagData; }
13003
+ get: function () { return chunkSBWEI3BO_cjs.useInvalidateTagData; }
12989
13004
  });
12990
13005
  Object.defineProperty(exports, "useIsCreatingTag", {
12991
13006
  enumerable: true,
12992
- get: function () { return chunkS4PCA3ES_cjs.useIsCreatingTag; }
13007
+ get: function () { return chunkSBWEI3BO_cjs.useIsCreatingTag; }
12993
13008
  });
12994
13009
  Object.defineProperty(exports, "useSetTagValues", {
12995
13010
  enumerable: true,
12996
- get: function () { return chunkS4PCA3ES_cjs.useSetTagValues; }
13011
+ get: function () { return chunkSBWEI3BO_cjs.useSetTagValues; }
12997
13012
  });
12998
13013
  Object.defineProperty(exports, "useSimilarDocuments", {
12999
13014
  enumerable: true,
13000
- get: function () { return chunkS4PCA3ES_cjs.useSimilarDocuments; }
13015
+ get: function () { return chunkSBWEI3BO_cjs.useSimilarDocuments; }
13001
13016
  });
13002
13017
  Object.defineProperty(exports, "useTagKindSchema", {
13003
13018
  enumerable: true,
13004
- get: function () { return chunkS4PCA3ES_cjs.useTagKindSchema; }
13019
+ get: function () { return chunkSBWEI3BO_cjs.useTagKindSchema; }
13005
13020
  });
13006
13021
  Object.defineProperty(exports, "useUpdateTag", {
13007
13022
  enumerable: true,
13008
- get: function () { return chunkS4PCA3ES_cjs.useUpdateTag; }
13023
+ get: function () { return chunkSBWEI3BO_cjs.useUpdateTag; }
13009
13024
  });
13010
13025
  Object.defineProperty(exports, "useUpdateTagKindSchema", {
13011
13026
  enumerable: true,
13012
- get: function () { return chunkS4PCA3ES_cjs.useUpdateTagKindSchema; }
13027
+ get: function () { return chunkSBWEI3BO_cjs.useUpdateTagKindSchema; }
13013
13028
  });
13014
13029
  Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
13015
13030
  enumerable: true,
13016
- get: function () { return chunk5B4PPJNW_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
13031
+ get: function () { return chunkGGLRX4X6_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
13017
13032
  });
13018
13033
  Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
13019
13034
  enumerable: true,
13020
- get: function () { return chunk5B4PPJNW_cjs.EMPTY_SESSION_STATE; }
13035
+ get: function () { return chunkGGLRX4X6_cjs.EMPTY_SESSION_STATE; }
13021
13036
  });
13022
13037
  Object.defineProperty(exports, "MAX_THREAD_TABS", {
13023
13038
  enumerable: true,
13024
- get: function () { return chunk5B4PPJNW_cjs.MAX_THREAD_TABS; }
13039
+ get: function () { return chunkGGLRX4X6_cjs.MAX_THREAD_TABS; }
13025
13040
  });
13026
13041
  Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
13027
13042
  enumerable: true,
13028
- get: function () { return chunk5B4PPJNW_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
13043
+ get: function () { return chunkGGLRX4X6_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
13029
13044
  });
13030
13045
  Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
13031
13046
  enumerable: true,
13032
- get: function () { return chunk5B4PPJNW_cjs.PROJECT_CREATION_DENIED_REASON; }
13047
+ get: function () { return chunkGGLRX4X6_cjs.PROJECT_CREATION_DENIED_REASON; }
13033
13048
  });
13034
13049
  Object.defineProperty(exports, "agentControl", {
13035
13050
  enumerable: true,
13036
- get: function () { return chunk5B4PPJNW_cjs.agentControl; }
13051
+ get: function () { return chunkGGLRX4X6_cjs.agentControl; }
13037
13052
  });
13038
13053
  Object.defineProperty(exports, "clearSealedDrafts", {
13039
13054
  enumerable: true,
13040
- get: function () { return chunk5B4PPJNW_cjs.clearSealedDrafts; }
13055
+ get: function () { return chunkGGLRX4X6_cjs.clearSealedDrafts; }
13041
13056
  });
13042
13057
  Object.defineProperty(exports, "conversationKey", {
13043
13058
  enumerable: true,
13044
- get: function () { return chunk5B4PPJNW_cjs.conversationKey; }
13059
+ get: function () { return chunkGGLRX4X6_cjs.conversationKey; }
13045
13060
  });
13046
13061
  Object.defineProperty(exports, "createArbiSessionStore", {
13047
13062
  enumerable: true,
13048
- get: function () { return chunk5B4PPJNW_cjs.createArbiSessionStore; }
13063
+ get: function () { return chunkGGLRX4X6_cjs.createArbiSessionStore; }
13049
13064
  });
13050
13065
  Object.defineProperty(exports, "createSealedDraftStorage", {
13051
13066
  enumerable: true,
13052
- get: function () { return chunk5B4PPJNW_cjs.createSealedDraftStorage; }
13067
+ get: function () { return chunkGGLRX4X6_cjs.createSealedDraftStorage; }
13053
13068
  });
13054
13069
  Object.defineProperty(exports, "isUsageMetered", {
13055
13070
  enumerable: true,
13056
- get: function () { return chunk5B4PPJNW_cjs.isUsageMetered; }
13071
+ get: function () { return chunkGGLRX4X6_cjs.isUsageMetered; }
13057
13072
  });
13058
13073
  Object.defineProperty(exports, "nextViewingDocument", {
13059
13074
  enumerable: true,
13060
- get: function () { return chunk5B4PPJNW_cjs.nextViewingDocument; }
13075
+ get: function () { return chunkGGLRX4X6_cjs.nextViewingDocument; }
13061
13076
  });
13062
13077
  Object.defineProperty(exports, "queuedMessages", {
13063
13078
  enumerable: true,
13064
- get: function () { return chunk5B4PPJNW_cjs.queuedMessages; }
13079
+ get: function () { return chunkGGLRX4X6_cjs.queuedMessages; }
13065
13080
  });
13066
13081
  Object.defineProperty(exports, "selectDraft", {
13067
13082
  enumerable: true,
13068
- get: function () { return chunk5B4PPJNW_cjs.selectDraft; }
13083
+ get: function () { return chunkGGLRX4X6_cjs.selectDraft; }
13069
13084
  });
13070
13085
  Object.defineProperty(exports, "selectIsGenerating", {
13071
13086
  enumerable: true,
13072
- get: function () { return chunk5B4PPJNW_cjs.selectIsGenerating; }
13087
+ get: function () { return chunkGGLRX4X6_cjs.selectIsGenerating; }
13073
13088
  });
13074
13089
  Object.defineProperty(exports, "selectViewingDocumentId", {
13075
13090
  enumerable: true,
13076
- get: function () { return chunk5B4PPJNW_cjs.selectViewingDocumentId; }
13091
+ get: function () { return chunkGGLRX4X6_cjs.selectViewingDocumentId; }
13077
13092
  });
13078
13093
  Object.defineProperty(exports, "threadTabId", {
13079
13094
  enumerable: true,
13080
- get: function () { return chunk5B4PPJNW_cjs.threadTabId; }
13095
+ get: function () { return chunkGGLRX4X6_cjs.threadTabId; }
13081
13096
  });
13082
13097
  Object.defineProperty(exports, "useActivity", {
13083
13098
  enumerable: true,
13084
- get: function () { return chunk5B4PPJNW_cjs.useActivity; }
13099
+ get: function () { return chunkGGLRX4X6_cjs.useActivity; }
13085
13100
  });
13086
13101
  Object.defineProperty(exports, "useAgents", {
13087
13102
  enumerable: true,
13088
- get: function () { return chunk5B4PPJNW_cjs.useAgents; }
13103
+ get: function () { return chunkGGLRX4X6_cjs.useAgents; }
13089
13104
  });
13090
13105
  Object.defineProperty(exports, "useArbiSession", {
13091
13106
  enumerable: true,
13092
- get: function () { return chunk5B4PPJNW_cjs.useArbiSession; }
13107
+ get: function () { return chunkGGLRX4X6_cjs.useArbiSession; }
13093
13108
  });
13094
13109
  Object.defineProperty(exports, "useArbiSessionState", {
13095
13110
  enumerable: true,
13096
- get: function () { return chunk5B4PPJNW_cjs.useArbiSessionState; }
13111
+ get: function () { return chunkGGLRX4X6_cjs.useArbiSessionState; }
13097
13112
  });
13098
13113
  Object.defineProperty(exports, "useArbiSessionStore", {
13099
13114
  enumerable: true,
13100
- get: function () { return chunk5B4PPJNW_cjs.useArbiSessionStore; }
13115
+ get: function () { return chunkGGLRX4X6_cjs.useArbiSessionStore; }
13101
13116
  });
13102
13117
  Object.defineProperty(exports, "useAssistantQuery", {
13103
13118
  enumerable: true,
13104
- get: function () { return chunk5B4PPJNW_cjs.useAssistantQuery; }
13119
+ get: function () { return chunkGGLRX4X6_cjs.useAssistantQuery; }
13105
13120
  });
13106
13121
  Object.defineProperty(exports, "useAvailableModels", {
13107
13122
  enumerable: true,
13108
- get: function () { return chunk5B4PPJNW_cjs.useAvailableModels; }
13123
+ get: function () { return chunkGGLRX4X6_cjs.useAvailableModels; }
13109
13124
  });
13110
13125
  Object.defineProperty(exports, "useBuiltinCommands", {
13111
13126
  enumerable: true,
13112
- get: function () { return chunk5B4PPJNW_cjs.useBuiltinCommands; }
13127
+ get: function () { return chunkGGLRX4X6_cjs.useBuiltinCommands; }
13113
13128
  });
13114
13129
  Object.defineProperty(exports, "useCanCreateProjects", {
13115
13130
  enumerable: true,
13116
- get: function () { return chunk5B4PPJNW_cjs.useCanCreateProjects; }
13131
+ get: function () { return chunkGGLRX4X6_cjs.useCanCreateProjects; }
13117
13132
  });
13118
13133
  Object.defineProperty(exports, "useConfig", {
13119
13134
  enumerable: true,
13120
- get: function () { return chunk5B4PPJNW_cjs.useConfig; }
13135
+ get: function () { return chunkGGLRX4X6_cjs.useConfig; }
13121
13136
  });
13122
13137
  Object.defineProperty(exports, "useConfigs", {
13123
13138
  enumerable: true,
13124
- get: function () { return chunk5B4PPJNW_cjs.useConfigs; }
13139
+ get: function () { return chunkGGLRX4X6_cjs.useConfigs; }
13125
13140
  });
13126
13141
  Object.defineProperty(exports, "useConversationThreads", {
13127
13142
  enumerable: true,
13128
- get: function () { return chunk5B4PPJNW_cjs.useConversationThreads; }
13143
+ get: function () { return chunkGGLRX4X6_cjs.useConversationThreads; }
13129
13144
  });
13130
13145
  Object.defineProperty(exports, "useConversations", {
13131
13146
  enumerable: true,
13132
- get: function () { return chunk5B4PPJNW_cjs.useConversations; }
13147
+ get: function () { return chunkGGLRX4X6_cjs.useConversations; }
13133
13148
  });
13134
13149
  Object.defineProperty(exports, "useCurrentUser", {
13135
13150
  enumerable: true,
13136
- get: function () { return chunk5B4PPJNW_cjs.useCurrentUser; }
13151
+ get: function () { return chunkGGLRX4X6_cjs.useCurrentUser; }
13137
13152
  });
13138
13153
  Object.defineProperty(exports, "useDeleteAgents", {
13139
13154
  enumerable: true,
13140
- get: function () { return chunk5B4PPJNW_cjs.useDeleteAgents; }
13155
+ get: function () { return chunkGGLRX4X6_cjs.useDeleteAgents; }
13141
13156
  });
13142
13157
  Object.defineProperty(exports, "useDocumentVersionList", {
13143
13158
  enumerable: true,
13144
- get: function () { return chunk5B4PPJNW_cjs.useDocumentVersionList; }
13159
+ get: function () { return chunkGGLRX4X6_cjs.useDocumentVersionList; }
13145
13160
  });
13146
13161
  Object.defineProperty(exports, "useFirmPool", {
13147
13162
  enumerable: true,
13148
- get: function () { return chunk5B4PPJNW_cjs.useFirmPool; }
13163
+ get: function () { return chunkGGLRX4X6_cjs.useFirmPool; }
13149
13164
  });
13150
13165
  Object.defineProperty(exports, "useHealth", {
13151
13166
  enumerable: true,
13152
- get: function () { return chunk5B4PPJNW_cjs.useHealth; }
13167
+ get: function () { return chunkGGLRX4X6_cjs.useHealth; }
13153
13168
  });
13154
13169
  Object.defineProperty(exports, "useMessageDetails", {
13155
13170
  enumerable: true,
13156
- get: function () { return chunk5B4PPJNW_cjs.useMessageDetails; }
13171
+ get: function () { return chunkGGLRX4X6_cjs.useMessageDetails; }
13157
13172
  });
13158
13173
  Object.defineProperty(exports, "useParsedDocument", {
13159
13174
  enumerable: true,
13160
- get: function () { return chunk5B4PPJNW_cjs.useParsedDocument; }
13175
+ get: function () { return chunkGGLRX4X6_cjs.useParsedDocument; }
13161
13176
  });
13162
13177
  Object.defineProperty(exports, "useProjectInvoices", {
13163
13178
  enumerable: true,
13164
- get: function () { return chunk5B4PPJNW_cjs.useProjectInvoices; }
13179
+ get: function () { return chunkGGLRX4X6_cjs.useProjectInvoices; }
13165
13180
  });
13166
13181
  Object.defineProperty(exports, "useProjectUsage", {
13167
13182
  enumerable: true,
13168
- get: function () { return chunk5B4PPJNW_cjs.useProjectUsage; }
13183
+ get: function () { return chunkGGLRX4X6_cjs.useProjectUsage; }
13169
13184
  });
13170
13185
  Object.defineProperty(exports, "useProjects", {
13171
13186
  enumerable: true,
13172
- get: function () { return chunk5B4PPJNW_cjs.useProjects; }
13187
+ get: function () { return chunkGGLRX4X6_cjs.useProjects; }
13173
13188
  });
13174
13189
  Object.defineProperty(exports, "useProjectsUsage", {
13175
13190
  enumerable: true,
13176
- get: function () { return chunk5B4PPJNW_cjs.useProjectsUsage; }
13191
+ get: function () { return chunkGGLRX4X6_cjs.useProjectsUsage; }
13177
13192
  });
13178
13193
  Object.defineProperty(exports, "useSignedInSession", {
13179
13194
  enumerable: true,
13180
- get: function () { return chunk5B4PPJNW_cjs.useSignedInSession; }
13195
+ get: function () { return chunkGGLRX4X6_cjs.useSignedInSession; }
13181
13196
  });
13182
13197
  Object.defineProperty(exports, "useTags", {
13183
13198
  enumerable: true,
13184
- get: function () { return chunk5B4PPJNW_cjs.useTags; }
13199
+ get: function () { return chunkGGLRX4X6_cjs.useTags; }
13185
13200
  });
13186
13201
  Object.defineProperty(exports, "useThumbnails", {
13187
13202
  enumerable: true,
13188
- get: function () { return chunk5B4PPJNW_cjs.useThumbnails; }
13203
+ get: function () { return chunkGGLRX4X6_cjs.useThumbnails; }
13189
13204
  });
13190
13205
  Object.defineProperty(exports, "useTopUpFirmPool", {
13191
13206
  enumerable: true,
13192
- get: function () { return chunk5B4PPJNW_cjs.useTopUpFirmPool; }
13207
+ get: function () { return chunkGGLRX4X6_cjs.useTopUpFirmPool; }
13193
13208
  });
13194
13209
  Object.defineProperty(exports, "useUserUsageToday", {
13195
13210
  enumerable: true,
13196
- get: function () { return chunk5B4PPJNW_cjs.useUserUsageToday; }
13211
+ get: function () { return chunkGGLRX4X6_cjs.useUserUsageToday; }
13197
13212
  });
13198
13213
  Object.defineProperty(exports, "useWorkspaceActivity", {
13199
13214
  enumerable: true,
13200
- get: function () { return chunk5B4PPJNW_cjs.useWorkspaceActivity; }
13215
+ get: function () { return chunkGGLRX4X6_cjs.useWorkspaceActivity; }
13201
13216
  });
13202
13217
  Object.defineProperty(exports, "useWorkspaces", {
13203
13218
  enumerable: true,
13204
- get: function () { return chunk5B4PPJNW_cjs.useWorkspaces; }
13219
+ get: function () { return chunkGGLRX4X6_cjs.useWorkspaces; }
13205
13220
  });
13206
13221
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
13207
13222
  enumerable: true,