@arbidocs/react 0.5.92 → 0.5.93

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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
4
- var chunkX4HGUBWU_cjs = require('./chunk-X4HGUBWU.cjs');
4
+ var chunkCSYZ3YI4_cjs = require('./chunk-CSYZ3YI4.cjs');
5
5
  var chunkNR6PUE5O_cjs = require('./chunk-NR6PUE5O.cjs');
6
6
  var chunk7RUVJZZG_cjs = require('./chunk-7RUVJZZG.cjs');
7
7
  var chunkNJDVQIJR_cjs = require('./chunk-NJDVQIJR.cjs');
@@ -173,7 +173,7 @@ function useStartTaskQuery() {
173
173
  }
174
174
  }
175
175
  if (!conversationId) return null;
176
- await chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
176
+ await chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
177
177
  return { conversationId };
178
178
  };
179
179
  return {
@@ -202,8 +202,8 @@ function useUpdateConversation() {
202
202
  }) => arbi.conversations.update(conversationId, patch),
203
203
  // The list takes the server's version of the row; what hangs off it is read again.
204
204
  onSuccess: (updated, { conversationId }) => {
205
- chunkX4HGUBWU_cjs.patchConversation(qc, conversationId, updated);
206
- return chunkX4HGUBWU_cjs.invalidateConversationDetails(qc, conversationId);
205
+ chunkCSYZ3YI4_cjs.patchConversation(qc, conversationId, updated);
206
+ return chunkCSYZ3YI4_cjs.invalidateConversationDetails(qc, conversationId);
207
207
  }
208
208
  });
209
209
  }
@@ -212,7 +212,7 @@ function useDeleteConversation() {
212
212
  const qc = reactQuery.useQueryClient();
213
213
  return reactQuery.useMutation({
214
214
  mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
215
- onSuccess: (_res, conversationId) => chunkX4HGUBWU_cjs.removeConversationFromLists(qc, conversationId)
215
+ onSuccess: (_res, conversationId) => chunkCSYZ3YI4_cjs.removeConversationFromLists(qc, conversationId)
216
216
  });
217
217
  }
218
218
  function workWorkspace(arbi, workspaceId) {
@@ -235,7 +235,7 @@ function useCreateWork(options) {
235
235
  mutationFn: async (body) => {
236
236
  const workspaceId = workWorkspace(arbi, named);
237
237
  const created = await arbi.conversations.createWork(body, { workspaceId });
238
- chunkX4HGUBWU_cjs.addConversationToList(qc, workspaceId ?? null, created);
238
+ chunkCSYZ3YI4_cjs.addConversationToList(qc, workspaceId ?? null, created);
239
239
  return created;
240
240
  }
241
241
  });
@@ -247,7 +247,7 @@ function useRunConversation() {
247
247
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
248
248
  // The server's version replaces the listed one; everything under the conversation is re-read.
249
249
  onSuccess: (updated) => {
250
- if (updated?.external_id) chunkX4HGUBWU_cjs.patchConversation(qc, updated.external_id, updated);
250
+ if (updated?.external_id) chunkCSYZ3YI4_cjs.patchConversation(qc, updated.external_id, updated);
251
251
  return qc.invalidateQueries({ queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.allConversations() });
252
252
  }
253
253
  });
@@ -263,7 +263,7 @@ function useActOnStep() {
263
263
  // The server's version of the conversation replaces the listed one; its history is re-read.
264
264
  onSuccess: (updated) => {
265
265
  if (!updated?.external_id) return;
266
- chunkX4HGUBWU_cjs.patchConversation(qc, updated.external_id, updated);
266
+ chunkCSYZ3YI4_cjs.patchConversation(qc, updated.external_id, updated);
267
267
  invalidateConversationActivity(qc, updated.external_id);
268
268
  }
269
269
  });
@@ -1296,12 +1296,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1296
1296
  if (!conversationId) return newMode;
1297
1297
  const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
1298
1298
  if (threads?.assistant_mode) return threads.assistant_mode;
1299
- return chunkX4HGUBWU_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1299
+ return chunkCSYZ3YI4_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1300
1300
  }
1301
1301
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1302
1302
  const mentioned = chunkHEVPIVF2_cjs.extractMentions(content, candidates);
1303
1303
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1304
- if (chunkX4HGUBWU_cjs.isConversationShared(queryClient, conversationId)) return true;
1304
+ if (chunkCSYZ3YI4_cjs.isConversationShared(queryClient, conversationId)) return true;
1305
1305
  if (mentioned.some((c) => c.kind === "user")) return true;
1306
1306
  return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
1307
1307
  }
@@ -1395,7 +1395,7 @@ function useSaveConfigField(baseConfigId) {
1395
1395
  const saveConfig = useSaveConfig();
1396
1396
  const { data: defaultConfig } = chunk7RUVJZZG_cjs.useConfig("default");
1397
1397
  const chatModel = chunk7RUVJZZG_cjs.useArbiSessionState((state) => state.chatModel);
1398
- const { data: userSettings } = chunkX4HGUBWU_cjs.useUserSettings();
1398
+ const { data: userSettings } = chunkCSYZ3YI4_cjs.useUserSettings();
1399
1399
  const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
1400
1400
  const { data: activeConfigData } = chunk7RUVJZZG_cjs.useConfig(activeConfigId);
1401
1401
  const session = chunk7RUVJZZG_cjs.useArbiSessionStore();
@@ -1519,7 +1519,7 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
1519
1519
  // src/chat/thread-binding.ts
1520
1520
  function threadBinding(queryClient, conversationId) {
1521
1521
  if (!conversationId) return chunkHEVPIVF2_cjs.UNBOUND;
1522
- const row = chunkX4HGUBWU_cjs.findConversation(queryClient, conversationId);
1522
+ const row = chunkCSYZ3YI4_cjs.findConversation(queryClient, conversationId);
1523
1523
  if (row) return chunkHEVPIVF2_cjs.bindingOfRow(row);
1524
1524
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1525
1525
  return chunkHEVPIVF2_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
@@ -1532,7 +1532,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
1532
1532
  bound_document_ext_id: binding.documentId,
1533
1533
  bound_document_unavailable: binding.unavailable
1534
1534
  };
1535
- chunkX4HGUBWU_cjs.patchConversation(queryClient, conversationId, fields);
1535
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, conversationId, fields);
1536
1536
  queryClient.setQueryData(
1537
1537
  getThreadsQueryKey(conversationId),
1538
1538
  (old) => old ? { ...old, ...fields } : old
@@ -1546,7 +1546,7 @@ async function bindThreadDocument(arbi, queryClient, conversationId, documentId)
1546
1546
  const saved = await arbi.conversations.update(conversationId, {
1547
1547
  bound_document_ext_id: documentId
1548
1548
  });
1549
- chunkX4HGUBWU_cjs.patchConversation(queryClient, conversationId, saved);
1549
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, conversationId, saved);
1550
1550
  cacheThreadBinding(queryClient, conversationId, chunkHEVPIVF2_cjs.bindingOfRow(saved));
1551
1551
  } catch (error) {
1552
1552
  cacheThreadBinding(queryClient, conversationId, before);
@@ -3310,7 +3310,7 @@ function useUploadFiles() {
3310
3310
  const arbi = chunkBRFRQWAY_cjs.useArbi();
3311
3311
  const qc = reactQuery.useQueryClient();
3312
3312
  const { resolveWorkspaceKey } = useDocumentsSupport();
3313
- const { data: settings } = chunkX4HGUBWU_cjs.useUserSettings();
3313
+ const { data: settings } = chunkCSYZ3YI4_cjs.useUserSettings();
3314
3314
  const { mutateAsync: generateDocTags } = useGenerateDocTags();
3315
3315
  const direct = settings?.use_s3_direct_upload === true;
3316
3316
  return React.useCallback(
@@ -3996,7 +3996,7 @@ function createStreamHandlers(ctx, params) {
3996
3996
  session.moveConversation("new", serverConversationId);
3997
3997
  const userExtId = ctx.userId();
3998
3998
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
3999
- chunkX4HGUBWU_cjs.patchConversationList(
3999
+ chunkCSYZ3YI4_cjs.patchConversationList(
4000
4000
  queryClient,
4001
4001
  streamState.workspaceId ?? session.getState().workspaceId,
4002
4002
  (old) => old.some((c) => c.external_id === serverConversationId) ? old : [
@@ -4118,7 +4118,7 @@ function createStreamHandlers(ctx, params) {
4118
4118
  ensureAssistantMessageLoading(queryClient, conversationId, answerId);
4119
4119
  });
4120
4120
  }
4121
- void chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
4121
+ void chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
4122
4122
  session.setCursor(streamState.assistantId);
4123
4123
  };
4124
4124
  let firstTokenSeen = false;
@@ -4411,7 +4411,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
4411
4411
  // src/chat/useConversationActions.ts
4412
4412
  var RECONCILE_TIMEOUT_MS = 5e3;
4413
4413
  function draftAfterSend(queryClient, session, wasComment, assistantName) {
4414
- const shared = chunkX4HGUBWU_cjs.isConversationShared(queryClient, session.getState().conversationId);
4414
+ const shared = chunkCSYZ3YI4_cjs.isConversationShared(queryClient, session.getState().conversationId);
4415
4415
  return shared && !wasComment ? `@${assistantName} ` : "";
4416
4416
  }
4417
4417
  function failQueuedContinuation(queryClient, session, streamState) {
@@ -4509,7 +4509,7 @@ function useConversationActions({
4509
4509
  const bindTo = session.getState().newChatDocumentId;
4510
4510
  session.moveConversation("new", conversationId);
4511
4511
  if (bindTo) session.setNewChatDocumentId(null);
4512
- chunkX4HGUBWU_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4512
+ chunkCSYZ3YI4_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4513
4513
  {
4514
4514
  external_id: conversationId,
4515
4515
  title: content.slice(0, 40),
@@ -4531,14 +4531,14 @@ function useConversationActions({
4531
4531
  );
4532
4532
  invalidateUserWorkspaces();
4533
4533
  } else {
4534
- chunkX4HGUBWU_cjs.patchConversation(queryClient, conversationId, (c) => ({
4534
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, conversationId, (c) => ({
4535
4535
  ...c,
4536
4536
  message_count: c.message_count + 1,
4537
4537
  updated_at: nowIso
4538
4538
  }));
4539
4539
  }
4540
4540
  if (mentions.some((m) => m.type === "user")) {
4541
- await chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
4541
+ await chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
4542
4542
  }
4543
4543
  await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
4544
4544
  session.setCursor(saved.external_id);
@@ -4617,7 +4617,7 @@ function useConversationActions({
4617
4617
  session.setConversationGenerating(convKey, true, abortController);
4618
4618
  }
4619
4619
  if (!queuedContinuation) {
4620
- chunkX4HGUBWU_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4620
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4621
4621
  }
4622
4622
  const streamState = {
4623
4623
  conversationId: convKey,
@@ -4728,7 +4728,7 @@ function useConversationActions({
4728
4728
  void queryClient.invalidateQueries({
4729
4729
  queryKey: getThreadsQueryKey(streamState.conversationId)
4730
4730
  });
4731
- void chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
4731
+ void chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
4732
4732
  }
4733
4733
  return;
4734
4734
  }
@@ -4756,7 +4756,7 @@ function useConversationActions({
4756
4756
  }
4757
4757
  if (ownsGeneration) {
4758
4758
  const lastStatus = streamState.serverError ? "failed" : "completed";
4759
- chunkX4HGUBWU_cjs.patchConversation(queryClient, streamState.conversationId, {
4759
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, streamState.conversationId, {
4760
4760
  last_message_status: lastStatus
4761
4761
  });
4762
4762
  }
@@ -4789,7 +4789,7 @@ function useConversationActions({
4789
4789
  });
4790
4790
  if (ownsActiveGeneration()) {
4791
4791
  session.setConversationGenerating(streamState.conversationId, false, null);
4792
- chunkX4HGUBWU_cjs.patchConversation(queryClient, streamState.conversationId, {
4792
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, streamState.conversationId, {
4793
4793
  last_message_status: "completed"
4794
4794
  });
4795
4795
  }
@@ -4812,10 +4812,10 @@ function useConversationActions({
4812
4812
  if (ownsActiveGeneration()) {
4813
4813
  session.setConversationGenerating(streamState.conversationId, false, null);
4814
4814
  }
4815
- void chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
4815
+ void chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
4816
4816
  return;
4817
4817
  }
4818
- chunkX4HGUBWU_cjs.patchConversation(queryClient, streamState.conversationId, {
4818
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, streamState.conversationId, {
4819
4819
  last_message_status: "failed"
4820
4820
  });
4821
4821
  const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
@@ -4965,7 +4965,7 @@ function useConversationActions({
4965
4965
  if (!replyTo && currentConversationId) {
4966
4966
  try {
4967
4967
  await arbi.conversations.delete(currentConversationId);
4968
- chunkX4HGUBWU_cjs.removeConversationFromLists(queryClient, currentConversationId);
4968
+ chunkCSYZ3YI4_cjs.removeConversationFromLists(queryClient, currentConversationId);
4969
4969
  session.startNewConversation();
4970
4970
  } catch (error) {
4971
4971
  console.error("Failed to delete conversation with orphaned first message:", error);
@@ -5695,7 +5695,7 @@ function useConversation(options = {}) {
5695
5695
  void (async () => {
5696
5696
  try {
5697
5697
  await arbi.conversations.delete(id);
5698
- chunkX4HGUBWU_cjs.removeConversationFromLists(queryClient, id);
5698
+ chunkCSYZ3YI4_cjs.removeConversationFromLists(queryClient, id);
5699
5699
  if (session.getState().conversationId === id) session.startNewConversation();
5700
5700
  } catch (e) {
5701
5701
  setHistoryError(messageOf(e, "The conversation could not be deleted."));
@@ -5812,11 +5812,11 @@ async function applyConversationEvent(queryClient, event) {
5812
5812
  if (e.type === "response_complete") return applyRunEnded(queryClient, e);
5813
5813
  if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
5814
5814
  if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
5815
- chunkX4HGUBWU_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5815
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5816
5816
  }
5817
5817
  if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
5818
5818
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
5819
- void chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
5819
+ void chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
5820
5820
  }
5821
5821
  }
5822
5822
  function applyRunEnded(queryClient, e) {
@@ -5833,10 +5833,10 @@ function applyRunEnded(queryClient, e) {
5833
5833
  );
5834
5834
  }
5835
5835
  if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
5836
- chunkX4HGUBWU_cjs.patchConversation(queryClient, conversationId, {
5836
+ chunkCSYZ3YI4_cjs.patchConversation(queryClient, conversationId, {
5837
5837
  last_message_status: failed ? "failed" : "completed"
5838
5838
  });
5839
- void chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
5839
+ void chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
5840
5840
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
5841
5841
  if (!failed) void queryClient.invalidateQueries({ queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.userUsageToday() });
5842
5842
  }
@@ -5844,7 +5844,7 @@ async function applyMessagePosted(queryClient, e) {
5844
5844
  if (!e.conversation_ext_id) return;
5845
5845
  const queryKey = getThreadsQueryKey(e.conversation_ext_id);
5846
5846
  const refreshed = queryClient.invalidateQueries({ queryKey });
5847
- void chunkX4HGUBWU_cjs.invalidateConversationLists(queryClient);
5847
+ void chunkCSYZ3YI4_cjs.invalidateConversationLists(queryClient);
5848
5848
  await refreshed;
5849
5849
  const cached = queryClient.getQueryData(
5850
5850
  queryKey
@@ -5950,7 +5950,7 @@ function useActiveConfigId() {
5950
5950
  const chatModel = chunk7RUVJZZG_cjs.useArbiSessionState((s) => s.chatModel);
5951
5951
  const cursor = chunk7RUVJZZG_cjs.useArbiSessionState((s) => s.cursor);
5952
5952
  const { messageHistory } = useConversationData();
5953
- const { data: userSettings } = chunkX4HGUBWU_cjs.useUserSettings();
5953
+ const { data: userSettings } = chunkCSYZ3YI4_cjs.useUserSettings();
5954
5954
  return React.useMemo(() => {
5955
5955
  if (chatModel) return chatModel;
5956
5956
  const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
@@ -6158,7 +6158,7 @@ function useConversationSettings() {
6158
6158
  const currentUser = chunk7RUVJZZG_cjs.useArbiSession().user;
6159
6159
  const { messageHistory } = useConversationData();
6160
6160
  const { conversations } = useConversationItems();
6161
- const { data: userSettings } = chunkX4HGUBWU_cjs.useUserSettings();
6161
+ const { data: userSettings } = chunkCSYZ3YI4_cjs.useUserSettings();
6162
6162
  const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
6163
6163
  const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
6164
6164
  const { data: activeConfig } = chunk7RUVJZZG_cjs.useConfig(configToLoad);
@@ -6731,53 +6731,53 @@ function mailDraftIdFromContent(content) {
6731
6731
 
6732
6732
  // src/mail/offline/mailbox.ts
6733
6733
  var keyOf = {
6734
- accounts: () => chunkX4HGUBWU_cjs.blind("accounts"),
6735
- policy: () => chunkX4HGUBWU_cjs.blind("policy"),
6736
- folders: (accountId) => chunkX4HGUBWU_cjs.blind("folders", accountId),
6737
- header: (accountId, folderId, messageId) => chunkX4HGUBWU_cjs.blind("header", accountId, folderId, messageId),
6738
- body: (accountId, messageId) => chunkX4HGUBWU_cjs.blind("body", accountId, messageId),
6739
- attachment: (accountId, messageId, attachmentId) => chunkX4HGUBWU_cjs.blind("attachment", accountId, messageId, attachmentId)
6734
+ accounts: () => chunkCSYZ3YI4_cjs.blind("accounts"),
6735
+ policy: () => chunkCSYZ3YI4_cjs.blind("policy"),
6736
+ folders: (accountId) => chunkCSYZ3YI4_cjs.blind("folders", accountId),
6737
+ header: (accountId, folderId, messageId) => chunkCSYZ3YI4_cjs.blind("header", accountId, folderId, messageId),
6738
+ body: (accountId, messageId) => chunkCSYZ3YI4_cjs.blind("body", accountId, messageId),
6739
+ attachment: (accountId, messageId, attachmentId) => chunkCSYZ3YI4_cjs.blind("attachment", accountId, messageId, attachmentId)
6740
6740
  };
6741
6741
  var bucketOf = {
6742
- global: () => chunkX4HGUBWU_cjs.blind("bucket", "global"),
6743
- folder: (accountId, folderId) => chunkX4HGUBWU_cjs.blind("bucket", "folder", accountId, folderId),
6744
- account: (accountId) => chunkX4HGUBWU_cjs.blind("bucket", "account", accountId)
6742
+ global: () => chunkCSYZ3YI4_cjs.blind("bucket", "global"),
6743
+ folder: (accountId, folderId) => chunkCSYZ3YI4_cjs.blind("bucket", "folder", accountId, folderId),
6744
+ account: (accountId) => chunkCSYZ3YI4_cjs.blind("bucket", "account", accountId)
6745
6745
  };
6746
6746
  async function put(kind, key, bucket3, data, sortAt = Date.now()) {
6747
6747
  const now = Date.now();
6748
- await chunkX4HGUBWU_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
6748
+ await chunkCSYZ3YI4_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
6749
6749
  }
6750
6750
  async function readJson(record) {
6751
6751
  if (!record) return void 0;
6752
6752
  try {
6753
- return await chunkX4HGUBWU_cjs.openJson(record.data);
6753
+ return await chunkCSYZ3YI4_cjs.openJson(record.data);
6754
6754
  } catch {
6755
6755
  return void 0;
6756
6756
  }
6757
6757
  }
6758
6758
  var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
6759
6759
  async function saveAccounts(accounts) {
6760
- await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkX4HGUBWU_cjs.sealJson(accounts));
6760
+ await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkCSYZ3YI4_cjs.sealJson(accounts));
6761
6761
  }
6762
6762
  async function loadAccounts() {
6763
- return readJson(await chunkX4HGUBWU_cjs.getRecord(await keyOf.accounts()));
6763
+ return readJson(await chunkCSYZ3YI4_cjs.getRecord(await keyOf.accounts()));
6764
6764
  }
6765
6765
  async function savePolicy(policy) {
6766
- await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkX4HGUBWU_cjs.sealJson(policy));
6766
+ await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkCSYZ3YI4_cjs.sealJson(policy));
6767
6767
  }
6768
6768
  async function loadPolicy() {
6769
- return readJson(await chunkX4HGUBWU_cjs.getRecord(await keyOf.policy()));
6769
+ return readJson(await chunkCSYZ3YI4_cjs.getRecord(await keyOf.policy()));
6770
6770
  }
6771
6771
  async function saveFolders(accountId, folders) {
6772
6772
  await put(
6773
6773
  "folders",
6774
6774
  await keyOf.folders(accountId),
6775
6775
  await bucketOf.account(accountId),
6776
- await chunkX4HGUBWU_cjs.sealJson(folders)
6776
+ await chunkCSYZ3YI4_cjs.sealJson(folders)
6777
6777
  );
6778
6778
  }
6779
6779
  async function loadFolders(accountId) {
6780
- return readJson(await chunkX4HGUBWU_cjs.getRecord(await keyOf.folders(accountId)));
6780
+ return readJson(await chunkCSYZ3YI4_cjs.getRecord(await keyOf.folders(accountId)));
6781
6781
  }
6782
6782
  function toHeader(message) {
6783
6783
  return {
@@ -6793,12 +6793,12 @@ async function saveHeader(accountId, folderId, message) {
6793
6793
  "header",
6794
6794
  await keyOf.header(accountId, folderId, message.id),
6795
6795
  await bucketOf.folder(accountId, folderId),
6796
- await chunkX4HGUBWU_cjs.sealJson(toHeader(message)),
6796
+ await chunkCSYZ3YI4_cjs.sealJson(toHeader(message)),
6797
6797
  receivedAt(message)
6798
6798
  );
6799
6799
  }
6800
6800
  async function loadHeaders(accountId, folderId) {
6801
- const records = await chunkX4HGUBWU_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
6801
+ const records = await chunkCSYZ3YI4_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
6802
6802
  const out = [];
6803
6803
  for (const record of records) {
6804
6804
  if (record.kind !== "header") continue;
@@ -6808,7 +6808,7 @@ async function loadHeaders(accountId, folderId) {
6808
6808
  return out.sort((a, b) => b.sortAt - a.sortAt);
6809
6809
  }
6810
6810
  async function hasFolder(accountId) {
6811
- return chunkX4HGUBWU_cjs.hasRecord(await keyOf.folders(accountId));
6811
+ return chunkCSYZ3YI4_cjs.hasRecord(await keyOf.folders(accountId));
6812
6812
  }
6813
6813
  async function saveBody(accountId, message) {
6814
6814
  const stripped = {
@@ -6819,42 +6819,42 @@ async function saveBody(accountId, message) {
6819
6819
  "body",
6820
6820
  await keyOf.body(accountId, message.id),
6821
6821
  await bucketOf.account(accountId),
6822
- await chunkX4HGUBWU_cjs.sealJson(stripped),
6822
+ await chunkCSYZ3YI4_cjs.sealJson(stripped),
6823
6823
  receivedAt(message)
6824
6824
  );
6825
6825
  }
6826
6826
  async function hasBody(accountId, messageId) {
6827
- return chunkX4HGUBWU_cjs.hasRecord(await keyOf.body(accountId, messageId));
6827
+ return chunkCSYZ3YI4_cjs.hasRecord(await keyOf.body(accountId, messageId));
6828
6828
  }
6829
6829
  async function loadBody(accountId, messageId) {
6830
- return readJson(await chunkX4HGUBWU_cjs.getRecord(await keyOf.body(accountId, messageId)));
6830
+ return readJson(await chunkCSYZ3YI4_cjs.getRecord(await keyOf.body(accountId, messageId)));
6831
6831
  }
6832
6832
  async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
6833
6833
  await put(
6834
6834
  "attachment",
6835
6835
  await keyOf.attachment(accountId, messageId, attachmentId),
6836
6836
  await bucketOf.account(accountId),
6837
- await chunkX4HGUBWU_cjs.sealBytes(bytes),
6837
+ await chunkCSYZ3YI4_cjs.sealBytes(bytes),
6838
6838
  sortAt || void 0
6839
6839
  );
6840
6840
  }
6841
6841
  async function hasAttachment(accountId, messageId, attachmentId) {
6842
- return chunkX4HGUBWU_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
6842
+ return chunkCSYZ3YI4_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
6843
6843
  }
6844
6844
  async function loadAttachment(accountId, messageId, attachmentId) {
6845
6845
  const key = await keyOf.attachment(accountId, messageId, attachmentId);
6846
- const record = await chunkX4HGUBWU_cjs.getRecord(key);
6846
+ const record = await chunkCSYZ3YI4_cjs.getRecord(key);
6847
6847
  if (!record) return void 0;
6848
6848
  try {
6849
- const bytes = await chunkX4HGUBWU_cjs.openBytes(record.data);
6850
- void chunkX4HGUBWU_cjs.touchRecord(key);
6849
+ const bytes = await chunkCSYZ3YI4_cjs.openBytes(record.data);
6850
+ void chunkCSYZ3YI4_cjs.touchRecord(key);
6851
6851
  return bytes;
6852
6852
  } catch {
6853
6853
  return void 0;
6854
6854
  }
6855
6855
  }
6856
6856
  async function removeKeys(keys) {
6857
- await chunkX4HGUBWU_cjs.deleteRecords(keys);
6857
+ await chunkCSYZ3YI4_cjs.deleteRecords(keys);
6858
6858
  }
6859
6859
  function bodyText(body) {
6860
6860
  const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
@@ -6888,27 +6888,27 @@ function isBrowserOffline() {
6888
6888
 
6889
6889
  // src/mail/offline/changes.ts
6890
6890
  var MAX_ATTEMPTS = 5;
6891
- var bucket = () => chunkX4HGUBWU_cjs.blind("bucket", "changes");
6892
- var keyFor = (id) => chunkX4HGUBWU_cjs.blind("change", id);
6891
+ var bucket = () => chunkCSYZ3YI4_cjs.blind("bucket", "changes");
6892
+ var keyFor = (id) => chunkCSYZ3YI4_cjs.blind("change", id);
6893
6893
  async function write(item) {
6894
- await chunkX4HGUBWU_cjs.putRecord({
6894
+ await chunkCSYZ3YI4_cjs.putRecord({
6895
6895
  key: await keyFor(item.id),
6896
6896
  kind: "change",
6897
6897
  bucket: await bucket(),
6898
6898
  sortAt: item.seq,
6899
6899
  size: 0,
6900
6900
  lastAccess: Date.now(),
6901
- data: await chunkX4HGUBWU_cjs.sealJson(item)
6901
+ data: await chunkCSYZ3YI4_cjs.sealJson(item)
6902
6902
  });
6903
6903
  }
6904
6904
  async function drop(item) {
6905
- await chunkX4HGUBWU_cjs.deleteRecords([await keyFor(item.id)]);
6905
+ await chunkCSYZ3YI4_cjs.deleteRecords([await keyFor(item.id)]);
6906
6906
  }
6907
6907
  async function readHeader(accountId, folderId, messageId) {
6908
- const record = await chunkX4HGUBWU_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
6908
+ const record = await chunkCSYZ3YI4_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
6909
6909
  if (!record) return void 0;
6910
6910
  try {
6911
- return await chunkX4HGUBWU_cjs.openJson(record.data);
6911
+ return await chunkCSYZ3YI4_cjs.openJson(record.data);
6912
6912
  } catch {
6913
6913
  return void 0;
6914
6914
  }
@@ -6969,9 +6969,9 @@ function combine(pending, next) {
6969
6969
  }
6970
6970
  async function listMailChanges() {
6971
6971
  const items = [];
6972
- for (const record of await chunkX4HGUBWU_cjs.recordsInBucket(await bucket())) {
6972
+ for (const record of await chunkCSYZ3YI4_cjs.recordsInBucket(await bucket())) {
6973
6973
  try {
6974
- items.push(await chunkX4HGUBWU_cjs.openJson(record.data));
6974
+ items.push(await chunkCSYZ3YI4_cjs.openJson(record.data));
6975
6975
  } catch {
6976
6976
  }
6977
6977
  }
@@ -7025,14 +7025,14 @@ function serially(fn) {
7025
7025
  }
7026
7026
  async function queueMailChange(input) {
7027
7027
  await serially(() => queue(input));
7028
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("changes");
7029
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("mailbox");
7028
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("changes");
7029
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("mailbox");
7030
7030
  }
7031
7031
  async function readChange(id) {
7032
- const record = await chunkX4HGUBWU_cjs.getRecord(await keyFor(id));
7032
+ const record = await chunkCSYZ3YI4_cjs.getRecord(await keyFor(id));
7033
7033
  if (!record) return void 0;
7034
7034
  try {
7035
- return await chunkX4HGUBWU_cjs.openJson(record.data);
7035
+ return await chunkCSYZ3YI4_cjs.openJson(record.data);
7036
7036
  } catch {
7037
7037
  return void 0;
7038
7038
  }
@@ -7105,31 +7105,31 @@ async function applyMailChangesOnce(sender, isOnline) {
7105
7105
  result.interrupted = true;
7106
7106
  }
7107
7107
  }
7108
- if (result.applied + result.gone + result.refused.length > 0) chunkX4HGUBWU_cjs.notifyOfflineMailChange("changes");
7108
+ if (result.applied + result.gone + result.refused.length > 0) chunkCSYZ3YI4_cjs.notifyOfflineMailChange("changes");
7109
7109
  return result;
7110
7110
  }
7111
7111
 
7112
7112
  // src/mail/offline/drafts.ts
7113
- var keyFor2 = (id) => chunkX4HGUBWU_cjs.blind("draft", id);
7113
+ var keyFor2 = (id) => chunkCSYZ3YI4_cjs.blind("draft", id);
7114
7114
  async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
7115
7115
  const draft = { id, accountId, compose, updatedAt: Date.now() };
7116
- await chunkX4HGUBWU_cjs.putRecord({
7116
+ await chunkCSYZ3YI4_cjs.putRecord({
7117
7117
  key: await keyFor2(id),
7118
7118
  kind: "draft",
7119
- bucket: await chunkX4HGUBWU_cjs.blind("bucket", "drafts", accountId),
7119
+ bucket: await chunkCSYZ3YI4_cjs.blind("bucket", "drafts", accountId),
7120
7120
  sortAt: draft.updatedAt,
7121
7121
  size: 0,
7122
7122
  lastAccess: draft.updatedAt,
7123
- data: await chunkX4HGUBWU_cjs.sealJson(draft)
7123
+ data: await chunkCSYZ3YI4_cjs.sealJson(draft)
7124
7124
  });
7125
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("drafts");
7125
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("drafts");
7126
7126
  return draft;
7127
7127
  }
7128
7128
  async function listLocalDrafts(accountId) {
7129
7129
  const drafts = [];
7130
- for (const record of await chunkX4HGUBWU_cjs.recordsOfKind("draft")) {
7130
+ for (const record of await chunkCSYZ3YI4_cjs.recordsOfKind("draft")) {
7131
7131
  try {
7132
- const draft = await chunkX4HGUBWU_cjs.openJson(record.data);
7132
+ const draft = await chunkCSYZ3YI4_cjs.openJson(record.data);
7133
7133
  if (!accountId || draft.accountId === accountId) drafts.push(draft);
7134
7134
  } catch {
7135
7135
  }
@@ -7137,8 +7137,8 @@ async function listLocalDrafts(accountId) {
7137
7137
  return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
7138
7138
  }
7139
7139
  async function deleteLocalDraft(id) {
7140
- await chunkX4HGUBWU_cjs.deleteRecords([await keyFor2(id)]);
7141
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("drafts");
7140
+ await chunkCSYZ3YI4_cjs.deleteRecords([await keyFor2(id)]);
7141
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("drafts");
7142
7142
  }
7143
7143
  async function syncLocalDrafts(save) {
7144
7144
  let uploaded = 0;
@@ -7151,27 +7151,27 @@ async function syncLocalDrafts(save) {
7151
7151
  } catch (error) {
7152
7152
  const status = error.status;
7153
7153
  if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
7154
- await chunkX4HGUBWU_cjs.putRecord({
7154
+ await chunkCSYZ3YI4_cjs.putRecord({
7155
7155
  key: await keyFor2(draft.id),
7156
7156
  kind: "draft",
7157
- bucket: await chunkX4HGUBWU_cjs.blind("bucket", "drafts", draft.accountId),
7157
+ bucket: await chunkCSYZ3YI4_cjs.blind("bucket", "drafts", draft.accountId),
7158
7158
  sortAt: draft.updatedAt,
7159
7159
  size: 0,
7160
7160
  lastAccess: Date.now(),
7161
- data: await chunkX4HGUBWU_cjs.sealJson({
7161
+ data: await chunkCSYZ3YI4_cjs.sealJson({
7162
7162
  ...draft,
7163
7163
  error: error instanceof Error ? error.message : "The server refused this draft"
7164
7164
  })
7165
7165
  });
7166
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("drafts");
7166
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("drafts");
7167
7167
  }
7168
7168
  }
7169
7169
  return uploaded;
7170
7170
  }
7171
7171
 
7172
7172
  // src/mail/offline/outbox.ts
7173
- var bucket2 = () => chunkX4HGUBWU_cjs.blind("bucket", "outbox");
7174
- var keyFor3 = (id) => chunkX4HGUBWU_cjs.blind("outbox", id);
7173
+ var bucket2 = () => chunkCSYZ3YI4_cjs.blind("bucket", "outbox");
7174
+ var keyFor3 = (id) => chunkCSYZ3YI4_cjs.blind("outbox", id);
7175
7175
  function outboxProblem(compose) {
7176
7176
  const missing = compose.attachments.find((a) => a.content_base64 == null);
7177
7177
  if (missing)
@@ -7180,22 +7180,22 @@ function outboxProblem(compose) {
7180
7180
  }
7181
7181
  var seqCounter = 0;
7182
7182
  async function write2(item) {
7183
- await chunkX4HGUBWU_cjs.putRecord({
7183
+ await chunkCSYZ3YI4_cjs.putRecord({
7184
7184
  key: await keyFor3(item.id),
7185
7185
  kind: "outbox",
7186
7186
  bucket: await bucket2(),
7187
7187
  sortAt: item.seq,
7188
7188
  size: 0,
7189
7189
  lastAccess: Date.now(),
7190
- data: await chunkX4HGUBWU_cjs.sealJson(item)
7190
+ data: await chunkCSYZ3YI4_cjs.sealJson(item)
7191
7191
  });
7192
7192
  }
7193
7193
  async function listOutbox() {
7194
- const records = await chunkX4HGUBWU_cjs.recordsInBucket(await bucket2());
7194
+ const records = await chunkCSYZ3YI4_cjs.recordsInBucket(await bucket2());
7195
7195
  const items = [];
7196
7196
  for (const record of records) {
7197
7197
  try {
7198
- items.push(await chunkX4HGUBWU_cjs.openJson(record.data));
7198
+ items.push(await chunkCSYZ3YI4_cjs.openJson(record.data));
7199
7199
  } catch {
7200
7200
  }
7201
7201
  }
@@ -7219,18 +7219,18 @@ async function enqueueOutbox(input) {
7219
7219
  seq: seqCounter
7220
7220
  };
7221
7221
  await write2(item);
7222
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("outbox");
7222
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("outbox");
7223
7223
  return item;
7224
7224
  }
7225
7225
  async function update(item, patch) {
7226
7226
  const next = { ...item, ...patch };
7227
7227
  await write2(next);
7228
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("outbox");
7228
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("outbox");
7229
7229
  return next;
7230
7230
  }
7231
7231
  async function deleteOutboxItem(id) {
7232
- await chunkX4HGUBWU_cjs.deleteRecords([await keyFor3(id)]);
7233
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("outbox");
7232
+ await chunkCSYZ3YI4_cjs.deleteRecords([await keyFor3(id)]);
7233
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("outbox");
7234
7234
  }
7235
7235
  async function retryOutboxItem(id) {
7236
7236
  const item = (await listOutbox()).find((i) => i.id === id);
@@ -7321,14 +7321,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
7321
7321
  const cutoff = Date.now() - olderThanMs;
7322
7322
  const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
7323
7323
  if (done.length === 0) return;
7324
- await chunkX4HGUBWU_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7325
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("outbox");
7324
+ await chunkCSYZ3YI4_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7325
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("outbox");
7326
7326
  }
7327
7327
  var STATUS_KEY = "status";
7328
7328
  var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
7329
7329
  var MAX_PAGES = 200;
7330
7330
  async function getOfflineMailStatus() {
7331
- return await chunkX4HGUBWU_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7331
+ return await chunkCSYZ3YI4_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7332
7332
  }
7333
7333
  var MB = 1024 * 1024;
7334
7334
  var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
@@ -7419,23 +7419,23 @@ async function collectGarbage(accounts) {
7419
7419
  expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
7420
7420
  }
7421
7421
  }
7422
- const orphans = (await chunkX4HGUBWU_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
7422
+ const orphans = (await chunkCSYZ3YI4_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
7423
7423
  await removeKeys(orphans);
7424
7424
  }
7425
7425
  }
7426
7426
  async function forgetAccount(accountId) {
7427
7427
  for (const folder of await loadFolders(accountId) ?? []) {
7428
- const records2 = await chunkX4HGUBWU_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
7428
+ const records2 = await chunkCSYZ3YI4_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
7429
7429
  await removeKeys(records2.map((r) => r.key));
7430
7430
  }
7431
- const records = await chunkX4HGUBWU_cjs.recordsInBucket(await bucketOf.account(accountId));
7431
+ const records = await chunkCSYZ3YI4_cjs.recordsInBucket(await bucketOf.account(accountId));
7432
7432
  await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
7433
7433
  }
7434
7434
  async function enforceQuota(quotaBytes) {
7435
- let used = (await chunkX4HGUBWU_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
7435
+ let used = (await chunkCSYZ3YI4_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
7436
7436
  if (used <= quotaBytes) return used;
7437
7437
  for (const kind of ["attachment", "body"]) {
7438
- const records = (await chunkX4HGUBWU_cjs.recordsOfKind(kind)).sort(
7438
+ const records = (await chunkCSYZ3YI4_cjs.recordsOfKind(kind)).sort(
7439
7439
  (a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
7440
7440
  );
7441
7441
  const evict = [];
@@ -7451,34 +7451,34 @@ async function enforceQuota(quotaBytes) {
7451
7451
  }
7452
7452
  var CONTENT_KINDS = ["header", "body", "attachment"];
7453
7453
  async function trimOfflineMailbox(settings, now = Date.now()) {
7454
- const windowStart = chunkX4HGUBWU_cjs.offlineWindowStart(settings, now);
7454
+ const windowStart = chunkCSYZ3YI4_cjs.offlineWindowStart(settings, now);
7455
7455
  const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
7456
7456
  for (const kind of kinds) {
7457
- const records = await chunkX4HGUBWU_cjs.recordsOfKind(kind);
7457
+ const records = await chunkCSYZ3YI4_cjs.recordsOfKind(kind);
7458
7458
  const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
7459
7459
  await removeKeys(old.map((r) => r.key));
7460
7460
  }
7461
7461
  const previous = await getOfflineMailStatus();
7462
7462
  const status = {
7463
7463
  ...previous,
7464
- messages: (await chunkX4HGUBWU_cjs.recordsOfKind("header")).length,
7465
- bytes: (await chunkX4HGUBWU_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7464
+ messages: (await chunkCSYZ3YI4_cjs.recordsOfKind("header")).length,
7465
+ bytes: (await chunkCSYZ3YI4_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7466
7466
  // A shorter window no longer covers what the last full pass fetched: growing it again (even
7467
7467
  // before the next hourly full pass) makes the next pass a full one.
7468
- windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkX4HGUBWU_cjs.SCOPE_DAYS[settings.scope]) : void 0,
7468
+ windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkCSYZ3YI4_cjs.SCOPE_DAYS[settings.scope]) : void 0,
7469
7469
  // Off: nothing is saved, so turning it back on starts with a full pass.
7470
7470
  ...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
7471
7471
  };
7472
- await chunkX4HGUBWU_cjs.setMeta(STATUS_KEY, status);
7473
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("status");
7472
+ await chunkCSYZ3YI4_cjs.setMeta(STATUS_KEY, status);
7473
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("status");
7474
7474
  return status;
7475
7475
  }
7476
7476
  async function syncMailbox(transport, settings, options = {}) {
7477
7477
  const now = options.now ?? Date.now();
7478
7478
  const previous = await getOfflineMailStatus();
7479
- const days = chunkX4HGUBWU_cjs.SCOPE_DAYS[settings.scope];
7479
+ const days = chunkCSYZ3YI4_cjs.SCOPE_DAYS[settings.scope];
7480
7480
  const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
7481
- const windowStart = chunkX4HGUBWU_cjs.offlineWindowStart(settings, now);
7481
+ const windowStart = chunkCSYZ3YI4_cjs.offlineWindowStart(settings, now);
7482
7482
  const quota = settings.quotaMb * MB;
7483
7483
  const skipped = [];
7484
7484
  let error;
@@ -7490,7 +7490,7 @@ async function syncMailbox(transport, settings, options = {}) {
7490
7490
  for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
7491
7491
  await forgetAccount(gone.id);
7492
7492
  const budget = new Budget(
7493
- (await chunkX4HGUBWU_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7493
+ (await chunkCSYZ3YI4_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7494
7494
  quota
7495
7495
  );
7496
7496
  for (const account of accounts) {
@@ -7504,12 +7504,12 @@ async function syncMailbox(transport, settings, options = {}) {
7504
7504
  const oldFolders = await loadFolders(account.id) ?? [];
7505
7505
  await saveFolders(account.id, folders);
7506
7506
  for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
7507
- const records = await chunkX4HGUBWU_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
7507
+ const records = await chunkCSYZ3YI4_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
7508
7508
  await removeKeys(records.map((r) => r.key));
7509
7509
  }
7510
7510
  for (const folder of folders)
7511
7511
  await syncFolder(transport, account, folder, settings, windowStart, full, budget);
7512
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("mailbox");
7512
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("mailbox");
7513
7513
  } catch (accountError) {
7514
7514
  if (accountError.status === void 0) throw accountError;
7515
7515
  client.logger.warn("[offline-mail] account sync failed", accountError);
@@ -7527,19 +7527,19 @@ async function syncMailbox(transport, settings, options = {}) {
7527
7527
  const trimmed = await trimOfflineMailbox(current, now);
7528
7528
  if (!current.enabled) return trimmed;
7529
7529
  const bytes = await enforceQuota(current.quotaMb * MB);
7530
- const messages = (await chunkX4HGUBWU_cjs.recordsOfKind("header")).length;
7530
+ const messages = (await chunkCSYZ3YI4_cjs.recordsOfKind("header")).length;
7531
7531
  const fullDone = !error && full;
7532
7532
  const status = {
7533
7533
  lastSyncedAt: error ? previous.lastSyncedAt : now,
7534
7534
  lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
7535
- windowDays: fullDone ? Math.min(days, chunkX4HGUBWU_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
7535
+ windowDays: fullDone ? Math.min(days, chunkCSYZ3YI4_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
7536
7536
  messages,
7537
7537
  bytes,
7538
7538
  error,
7539
7539
  skipped
7540
7540
  };
7541
- await chunkX4HGUBWU_cjs.setMeta(STATUS_KEY, status);
7542
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("status");
7541
+ await chunkCSYZ3YI4_cjs.setMeta(STATUS_KEY, status);
7542
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("status");
7543
7543
  return status;
7544
7544
  }
7545
7545
 
@@ -7727,20 +7727,20 @@ function isMailSyncRunning() {
7727
7727
  return syncing;
7728
7728
  }
7729
7729
  async function syncOfflineMailbox({ arbi }, options = {}) {
7730
- const latest = () => chunkX4HGUBWU_cjs.getOfflineMailSettings(sessionUser(arbi));
7730
+ const latest = () => chunkCSYZ3YI4_cjs.getOfflineMailSettings(sessionUser(arbi));
7731
7731
  const settings = latest();
7732
7732
  if (!settings.enabled || !canReachMail(arbi)) return;
7733
7733
  void requestPersistentStorage();
7734
7734
  await exclusive("arbi-mail-sync", async () => {
7735
7735
  syncing = true;
7736
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("status");
7736
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("status");
7737
7737
  try {
7738
7738
  await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
7739
7739
  } catch (error) {
7740
7740
  client.logger.error("[offline-mail] sync failed", error);
7741
7741
  } finally {
7742
7742
  syncing = false;
7743
- chunkX4HGUBWU_cjs.notifyOfflineMailChange("status");
7743
+ chunkCSYZ3YI4_cjs.notifyOfflineMailChange("status");
7744
7744
  }
7745
7745
  });
7746
7746
  }
@@ -7761,9 +7761,9 @@ async function onlineFirst(online, offline, unavailable) {
7761
7761
  }
7762
7762
  function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
7763
7763
  const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
7764
- const settings = () => chunkX4HGUBWU_cjs.getOfflineMailSettings(sessionUser(getArbi()));
7764
+ const settings = () => chunkCSYZ3YI4_cjs.getOfflineMailSettings(sessionUser(getArbi()));
7765
7765
  const storeEnabled = () => settings().enabled;
7766
- const keeps = (message) => chunkX4HGUBWU_cjs.inOfflineWindow(settings(), message.received_at);
7766
+ const keeps = (message) => chunkCSYZ3YI4_cjs.inOfflineWindow(settings(), message.received_at);
7767
7767
  const remember = (write3) => {
7768
7768
  if (!keepsMail()) return;
7769
7769
  write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
@@ -8282,7 +8282,7 @@ function ArbiWebSocketProvider({
8282
8282
  const host = chunkBRFRQWAY_cjs.useArbiHost();
8283
8283
  const hostRef = React.useRef(host);
8284
8284
  hostRef.current = host;
8285
- const acceptRings = chunkX4HGUBWU_cjs.useFeature("calls");
8285
+ const acceptRings = chunkCSYZ3YI4_cjs.useFeature("calls");
8286
8286
  const acceptRingsRef = React.useRef(acceptRings);
8287
8287
  acceptRingsRef.current = acceptRings;
8288
8288
  useOnlineSync();
@@ -8335,9 +8335,9 @@ function ArbiWebSocketProvider({
8335
8335
  void queryClient.invalidateQueries({ queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.allTags() });
8336
8336
  }
8337
8337
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
8338
- void chunkX4HGUBWU_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
8338
+ void chunkCSYZ3YI4_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
8339
8339
  else if (type.startsWith("call."))
8340
- chunkX4HGUBWU_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
8340
+ chunkCSYZ3YI4_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
8341
8341
  else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
8342
8342
  else void applyLiveUpdate(queryClient, msg);
8343
8343
  try {
@@ -9945,7 +9945,7 @@ function createDatabaseSource(labels) {
9945
9945
  const arbi = chunkBRFRQWAY_cjs.useArbi();
9946
9946
  const databaseId = text(params.databaseId);
9947
9947
  const viewName = text(params.view);
9948
- const settings = chunkX4HGUBWU_cjs.useUserSettings({ enabled: Boolean(viewName) });
9948
+ const settings = chunkCSYZ3YI4_cjs.useUserSettings({ enabled: Boolean(viewName) });
9949
9949
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
9950
9950
  return React.useMemo(
9951
9951
  () => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
@@ -10009,7 +10009,7 @@ function createDatabaseSource(labels) {
10009
10009
  useOptions(params) {
10010
10010
  const arbi = chunkBRFRQWAY_cjs.useArbi();
10011
10011
  const databaseId = text(params.databaseId);
10012
- const settings = chunkX4HGUBWU_cjs.useUserSettings({ enabled: Boolean(databaseId) });
10012
+ const settings = chunkCSYZ3YI4_cjs.useUserSettings({ enabled: Boolean(databaseId) });
10013
10013
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
10014
10014
  const options = React.useMemo(
10015
10015
  () => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
@@ -11343,13 +11343,13 @@ function useUnlockModelConnections() {
11343
11343
  return reactQuery.useMutation({ mutationFn: () => arbi.modelConnections.unlock() });
11344
11344
  }
11345
11345
  function useRequestEmailChange() {
11346
- const { client } = chunkX4HGUBWU_cjs.useAccountClient();
11346
+ const { client } = chunkCSYZ3YI4_cjs.useAccountClient();
11347
11347
  return reactQuery.useMutation({
11348
11348
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
11349
11349
  });
11350
11350
  }
11351
11351
  function useConfirmEmailChange() {
11352
- const { client } = chunkX4HGUBWU_cjs.useAccountClient();
11352
+ const { client } = chunkCSYZ3YI4_cjs.useAccountClient();
11353
11353
  const qc = reactQuery.useQueryClient();
11354
11354
  return reactQuery.useMutation({
11355
11355
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -11417,7 +11417,7 @@ function useEmailChange({
11417
11417
  };
11418
11418
  }
11419
11419
  function usePasswordChange() {
11420
- const { client } = chunkX4HGUBWU_cjs.useAccountClient();
11420
+ const { client } = chunkCSYZ3YI4_cjs.useAccountClient();
11421
11421
  return reactQuery.useMutation({
11422
11422
  mutationFn: (vars) => client.changePassword(vars)
11423
11423
  });
@@ -11511,8 +11511,8 @@ function usePasswordChangeForm({
11511
11511
  }
11512
11512
  function useDismissedTips() {
11513
11513
  const queryClient = reactQuery.useQueryClient();
11514
- const { data: userSettings } = chunkX4HGUBWU_cjs.useUserSettings();
11515
- const { mutate: updateUserSettings } = chunkX4HGUBWU_cjs.useUpdateUserSettings();
11514
+ const { data: userSettings } = chunkCSYZ3YI4_cjs.useUserSettings();
11515
+ const { mutate: updateUserSettings } = chunkCSYZ3YI4_cjs.useUpdateUserSettings();
11516
11516
  const loaded = userSettings !== void 0;
11517
11517
  const dismissed = userSettings?.dismissed_tips ?? [];
11518
11518
  const dismissTip = React.useCallback(
@@ -11546,7 +11546,7 @@ function toNotificationPreferences(stored, keys) {
11546
11546
  function useNotificationPreferences(keys, options) {
11547
11547
  const arbi = chunkBRFRQWAY_cjs.useArbi();
11548
11548
  const qc = reactQuery.useQueryClient();
11549
- const settings = chunkX4HGUBWU_cjs.useUserSettings(options);
11549
+ const settings = chunkCSYZ3YI4_cjs.useUserSettings(options);
11550
11550
  const stored = settings.data?.email_notifications;
11551
11551
  const save = reactQuery.useMutation({
11552
11552
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
@@ -11605,7 +11605,7 @@ function useRelevanceSave() {
11605
11605
  }
11606
11606
  function useWorkspaceNotificationLevel(workspaceId, options) {
11607
11607
  const qc = reactQuery.useQueryClient();
11608
- const settings = chunkX4HGUBWU_cjs.useUserSettings(options);
11608
+ const settings = chunkCSYZ3YI4_cjs.useUserSettings(options);
11609
11609
  const save = useRelevanceSave();
11610
11610
  const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
11611
11611
  const setLevel = React.useCallback(
@@ -11626,7 +11626,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
11626
11626
  }
11627
11627
  function useFollowThread(conversationId, options) {
11628
11628
  const qc = reactQuery.useQueryClient();
11629
- const settings = chunkX4HGUBWU_cjs.useUserSettings(options);
11629
+ const settings = chunkCSYZ3YI4_cjs.useUserSettings(options);
11630
11630
  const save = useRelevanceSave();
11631
11631
  const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
11632
11632
  const setFollowing = React.useCallback(
@@ -11655,7 +11655,7 @@ function useFollowThread(conversationId, options) {
11655
11655
  };
11656
11656
  }
11657
11657
  function useSessions(options) {
11658
- const { client, enabled } = chunkX4HGUBWU_cjs.useAccountClient();
11658
+ const { client, enabled } = chunkCSYZ3YI4_cjs.useAccountClient();
11659
11659
  return reactQuery.useQuery({
11660
11660
  queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.sessions(),
11661
11661
  queryFn: () => client.listSessions(),
@@ -11663,7 +11663,7 @@ function useSessions(options) {
11663
11663
  });
11664
11664
  }
11665
11665
  function useTerminateSession() {
11666
- const { client } = chunkX4HGUBWU_cjs.useAccountClient();
11666
+ const { client } = chunkCSYZ3YI4_cjs.useAccountClient();
11667
11667
  const qc = reactQuery.useQueryClient();
11668
11668
  return reactQuery.useMutation({
11669
11669
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -11671,7 +11671,7 @@ function useTerminateSession() {
11671
11671
  });
11672
11672
  }
11673
11673
  function useSignOut() {
11674
- const { client } = chunkX4HGUBWU_cjs.useAccountClient();
11674
+ const { client } = chunkCSYZ3YI4_cjs.useAccountClient();
11675
11675
  const qc = reactQuery.useQueryClient();
11676
11676
  return reactQuery.useMutation({
11677
11677
  mutationFn: (options = {}) => client.signOut(options),
@@ -11679,7 +11679,7 @@ function useSignOut() {
11679
11679
  });
11680
11680
  }
11681
11681
  function useCurrentSessionId() {
11682
- return chunkX4HGUBWU_cjs.useAccountClient().client.currentSessionId();
11682
+ return chunkCSYZ3YI4_cjs.useAccountClient().client.currentSessionId();
11683
11683
  }
11684
11684
  function parseDeleteAccountBlockers(error) {
11685
11685
  const body = error?.apiError ?? error;
@@ -11694,7 +11694,7 @@ function parseDeleteAccountBlockers(error) {
11694
11694
  return [];
11695
11695
  }
11696
11696
  function useDeleteAccount() {
11697
- const { client } = chunkX4HGUBWU_cjs.useAccountClient();
11697
+ const { client } = chunkCSYZ3YI4_cjs.useAccountClient();
11698
11698
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
11699
11699
  }
11700
11700
  function useDeleteAccountFlow({
@@ -12016,7 +12016,7 @@ function useIdentityVerificationFlow(api, {
12016
12016
  };
12017
12017
  }
12018
12018
  function useIdentityVerification(options = {}) {
12019
- const { client, enabled } = chunkX4HGUBWU_cjs.useAccountClient();
12019
+ const { client, enabled } = chunkCSYZ3YI4_cjs.useAccountClient();
12020
12020
  const qc = reactQuery.useQueryClient();
12021
12021
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
12022
12022
  return useIdentityVerificationFlow(client.identity, {
@@ -12074,8 +12074,8 @@ var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
12074
12074
  var NEW_MAIL_DEBOUNCE_MS = 5e3;
12075
12075
  function useOfflineMailActive() {
12076
12076
  const { user, status } = chunk7RUVJZZG_cjs.useArbiSession();
12077
- const mailEnabled = chunkX4HGUBWU_cjs.useFeature("mail");
12078
- const entitled = chunkX4HGUBWU_cjs.useIsEntitled("mail");
12077
+ const mailEnabled = chunkCSYZ3YI4_cjs.useFeature("mail");
12078
+ const entitled = chunkCSYZ3YI4_cjs.useIsEntitled("mail");
12079
12079
  const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
12080
12080
  const { data: policy } = useMailPolicy({ enabled: eligible });
12081
12081
  return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
@@ -12091,15 +12091,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
12091
12091
  latest.current = { arbi, queryClient, openOutbox };
12092
12092
  React.useEffect(() => {
12093
12093
  if (!active || !userExtId) return;
12094
- chunkX4HGUBWU_cjs.claimOfflineMail(userExtId).catch(
12094
+ chunkCSYZ3YI4_cjs.claimOfflineMail(userExtId).catch(
12095
12095
  (error) => client.logger.warn("[offline-mail] could not bind the store", error)
12096
12096
  );
12097
12097
  }, [active, userExtId]);
12098
12098
  React.useEffect(() => {
12099
12099
  if (!active || !userExtId) return;
12100
- return chunkX4HGUBWU_cjs.onOfflineMailChange((change) => {
12100
+ return chunkCSYZ3YI4_cjs.onOfflineMailChange((change) => {
12101
12101
  if (change !== "settings") return;
12102
- trimOfflineMailbox(chunkX4HGUBWU_cjs.getOfflineMailSettings(userExtId)).then(
12102
+ trimOfflineMailbox(chunkCSYZ3YI4_cjs.getOfflineMailSettings(userExtId)).then(
12103
12103
  () => latest.current.queryClient.invalidateQueries({ queryKey: chunkBRFRQWAY_cjs.mailQueryKeys.allMessages() })
12104
12104
  ).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
12105
12105
  });
@@ -12124,7 +12124,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
12124
12124
  const interval = setInterval(() => {
12125
12125
  if (document.visibilityState === "visible") run2();
12126
12126
  }, SYNC_INTERVAL_MS);
12127
- const enabled = () => chunkX4HGUBWU_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
12127
+ const enabled = () => chunkCSYZ3YI4_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
12128
12128
  let newMailTimer = null;
12129
12129
  const offCache = queryClient.getQueryCache().subscribe((event) => {
12130
12130
  if (event.type !== "updated" || event.action.type !== "invalidate") return;
@@ -12132,7 +12132,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
12132
12132
  if (newMailTimer) clearTimeout(newMailTimer);
12133
12133
  newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
12134
12134
  });
12135
- const offSettings = chunkX4HGUBWU_cjs.onOfflineMailChange((change) => {
12135
+ const offSettings = chunkCSYZ3YI4_cjs.onOfflineMailChange((change) => {
12136
12136
  if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
12137
12137
  if (change === "outbox") void flushOutbox(context());
12138
12138
  if (change === "changes") void flushOutbox(context());
@@ -12154,7 +12154,7 @@ function useStoreValue(load, initial, changes) {
12154
12154
  let alive = true;
12155
12155
  const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
12156
12156
  void read();
12157
- const off = chunkX4HGUBWU_cjs.onOfflineMailChange((change) => {
12157
+ const off = chunkCSYZ3YI4_cjs.onOfflineMailChange((change) => {
12158
12158
  if (change === "wiped") setValue(initial);
12159
12159
  if (change === "wiped" || key.split(",").includes(change)) void read();
12160
12160
  });
@@ -12168,18 +12168,18 @@ function useStoreValue(load, initial, changes) {
12168
12168
  function useOfflineMailSettings() {
12169
12169
  const userExtId = chunk7RUVJZZG_cjs.useArbiSession().user?.external_id;
12170
12170
  const subscribe = React.useCallback(
12171
- (onChange) => chunkX4HGUBWU_cjs.onOfflineMailChange((change) => {
12171
+ (onChange) => chunkCSYZ3YI4_cjs.onOfflineMailChange((change) => {
12172
12172
  if (change === "settings") onChange();
12173
12173
  }),
12174
12174
  []
12175
12175
  );
12176
12176
  const raw = React.useSyncExternalStore(
12177
12177
  subscribe,
12178
- () => JSON.stringify([userExtId, chunkX4HGUBWU_cjs.getOfflineMailSettings(userExtId)])
12178
+ () => JSON.stringify([userExtId, chunkCSYZ3YI4_cjs.getOfflineMailSettings(userExtId)])
12179
12179
  );
12180
12180
  const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
12181
12181
  const update2 = React.useCallback(
12182
- (patch) => void chunkX4HGUBWU_cjs.setOfflineMailSettings(userExtId, patch),
12182
+ (patch) => void chunkCSYZ3YI4_cjs.setOfflineMailSettings(userExtId, patch),
12183
12183
  [userExtId]
12184
12184
  );
12185
12185
  return [settings, update2];
@@ -12189,7 +12189,7 @@ function useOfflineMailStatus() {
12189
12189
  const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
12190
12190
  const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
12191
12191
  React.useEffect(
12192
- () => chunkX4HGUBWU_cjs.onOfflineMailChange((change) => {
12192
+ () => chunkCSYZ3YI4_cjs.onOfflineMailChange((change) => {
12193
12193
  if (change === "status") setSyncing(isMailSyncRunning());
12194
12194
  }),
12195
12195
  []
@@ -12231,7 +12231,7 @@ function useSyncOfflineMailbox() {
12231
12231
  async function storeExists() {
12232
12232
  try {
12233
12233
  const databases = await indexedDB.databases?.();
12234
- return databases ? databases.some((d) => d.name === chunkX4HGUBWU_cjs.OFFLINE_MAIL_DB) : true;
12234
+ return databases ? databases.some((d) => d.name === chunkCSYZ3YI4_cjs.OFFLINE_MAIL_DB) : true;
12235
12235
  } catch {
12236
12236
  return true;
12237
12237
  }
@@ -12289,7 +12289,7 @@ function useDisconnectConnector() {
12289
12289
  );
12290
12290
  }
12291
12291
  function useConnectorVendorVisibility() {
12292
- const { data: settings } = chunkX4HGUBWU_cjs.useUserSettings();
12292
+ const { data: settings } = chunkCSYZ3YI4_cjs.useUserSettings();
12293
12293
  return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
12294
12294
  }
12295
12295
  function connectorReturnTo(reopen) {
@@ -13068,7 +13068,7 @@ var OfflineCalendarLockedError = class extends Error {
13068
13068
  this.name = "OfflineCalendarLockedError";
13069
13069
  }
13070
13070
  };
13071
- var store = chunkX4HGUBWU_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
13071
+ var store = chunkCSYZ3YI4_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
13072
13072
  var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
13073
13073
  locked: () => new OfflineCalendarLockedError()
13074
13074
  });
@@ -15490,7 +15490,7 @@ function useChatUnreadTotal() {
15490
15490
  function useUnreadByPeer() {
15491
15491
  const arbi = chunkBRFRQWAY_cjs.useArbi();
15492
15492
  const { data = [] } = useChats();
15493
- const me = chunkX4HGUBWU_cjs.myChatId(arbi);
15493
+ const me = chunkCSYZ3YI4_cjs.myChatId(arbi);
15494
15494
  return React.useMemo(() => {
15495
15495
  const out = /* @__PURE__ */ new Map();
15496
15496
  for (const c of data) {
@@ -15580,13 +15580,13 @@ function useChatPost() {
15580
15580
  const queryClient = reactQuery.useQueryClient();
15581
15581
  return React.useCallback(
15582
15582
  async (target, post) => {
15583
- const me = chunkX4HGUBWU_cjs.myChatId(arbi);
15583
+ const me = chunkCSYZ3YI4_cjs.myChatId(arbi);
15584
15584
  if (!me) throw new Error("No active session");
15585
15585
  let chat = target.chat;
15586
15586
  if (!chat) {
15587
15587
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
15588
15588
  chat = await arbi.chats.openDirect(target.peerExtId);
15589
- chunkX4HGUBWU_cjs.upsertChat(queryClient, chat);
15589
+ chunkCSYZ3YI4_cjs.upsertChat(queryClient, chat);
15590
15590
  queryClient.setQueryData(
15591
15591
  chunkBRFRQWAY_cjs.arbiQueryKeys.chatThread(chat.external_id),
15592
15592
  (old) => old ?? { messages: [], hasMore: false }
@@ -15609,7 +15609,7 @@ function useChatPost() {
15609
15609
  updated_at: now,
15610
15610
  optimistic: true
15611
15611
  };
15612
- chunkX4HGUBWU_cjs.appendToThread(queryClient, chat.external_id, optimistic);
15612
+ chunkCSYZ3YI4_cjs.appendToThread(queryClient, chat.external_id, optimistic);
15613
15613
  try {
15614
15614
  let attachments = [];
15615
15615
  if (files.length) {
@@ -15629,15 +15629,15 @@ function useChatPost() {
15629
15629
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
15630
15630
  contextOnly: !!post.contextOnly
15631
15631
  });
15632
- chunkX4HGUBWU_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
15633
- chunkX4HGUBWU_cjs.upsertChat(queryClient, {
15632
+ chunkCSYZ3YI4_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
15633
+ chunkCSYZ3YI4_cjs.upsertChat(queryClient, {
15634
15634
  ...chat,
15635
15635
  last_message: message,
15636
15636
  last_message_at: message.created_at
15637
15637
  });
15638
15638
  return { chat, message };
15639
15639
  } catch (err) {
15640
- chunkX4HGUBWU_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
15640
+ chunkCSYZ3YI4_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
15641
15641
  void queryClient.invalidateQueries({ queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.chatList() });
15642
15642
  throw err;
15643
15643
  }
@@ -15649,7 +15649,7 @@ function useDeleteChatMessage() {
15649
15649
  const arbi = chunkBRFRQWAY_cjs.useArbi();
15650
15650
  const queryClient = reactQuery.useQueryClient();
15651
15651
  return React.useCallback(
15652
- (chatExtId, messageExtId) => chunkX4HGUBWU_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
15652
+ (chatExtId, messageExtId) => chunkCSYZ3YI4_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
15653
15653
  [arbi, queryClient]
15654
15654
  );
15655
15655
  }
@@ -15658,7 +15658,7 @@ function useMarkChatRead() {
15658
15658
  const queryClient = reactQuery.useQueryClient();
15659
15659
  return React.useCallback(
15660
15660
  (chat, messageExtId) => {
15661
- chunkX4HGUBWU_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
15661
+ chunkCSYZ3YI4_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
15662
15662
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
15663
15663
  () => void 0,
15664
15664
  () => void 0
@@ -15672,7 +15672,7 @@ function useCreateGroupChat() {
15672
15672
  const queryClient = reactQuery.useQueryClient();
15673
15673
  return reactQuery.useMutation({
15674
15674
  mutationFn: (params) => arbi.chats.createGroup(params),
15675
- onSuccess: (chat) => chunkX4HGUBWU_cjs.upsertChat(queryClient, chat)
15675
+ onSuccess: (chat) => chunkCSYZ3YI4_cjs.upsertChat(queryClient, chat)
15676
15676
  });
15677
15677
  }
15678
15678
  function useRenameChat() {
@@ -15680,7 +15680,7 @@ function useRenameChat() {
15680
15680
  const queryClient = reactQuery.useQueryClient();
15681
15681
  return reactQuery.useMutation({
15682
15682
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
15683
- onSuccess: (chat) => chunkX4HGUBWU_cjs.upsertChat(queryClient, chat)
15683
+ onSuccess: (chat) => chunkCSYZ3YI4_cjs.upsertChat(queryClient, chat)
15684
15684
  });
15685
15685
  }
15686
15686
  function useAddChatMembers() {
@@ -15688,7 +15688,7 @@ function useAddChatMembers() {
15688
15688
  const queryClient = reactQuery.useQueryClient();
15689
15689
  return reactQuery.useMutation({
15690
15690
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
15691
- onSuccess: (chat) => chunkX4HGUBWU_cjs.upsertChat(queryClient, chat)
15691
+ onSuccess: (chat) => chunkCSYZ3YI4_cjs.upsertChat(queryClient, chat)
15692
15692
  });
15693
15693
  }
15694
15694
  function useRemoveChatMember() {
@@ -15697,7 +15697,7 @@ function useRemoveChatMember() {
15697
15697
  return reactQuery.useMutation({
15698
15698
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
15699
15699
  onSuccess: (_data, vars) => {
15700
- if (vars.userExtId === chunkX4HGUBWU_cjs.myChatId(arbi)) chunkX4HGUBWU_cjs.removeChat(queryClient, vars.chat.external_id);
15700
+ if (vars.userExtId === chunkCSYZ3YI4_cjs.myChatId(arbi)) chunkCSYZ3YI4_cjs.removeChat(queryClient, vars.chat.external_id);
15701
15701
  else return queryClient.invalidateQueries({ queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.chatList() });
15702
15702
  }
15703
15703
  });
@@ -15707,11 +15707,11 @@ function useChatArrivals(onArrival) {
15707
15707
  const queryClient = reactQuery.useQueryClient();
15708
15708
  useArbiWsMessage("chat.message", (message) => {
15709
15709
  const senderId = message.message.sender_ext_id;
15710
- if (!senderId || senderId === chunkX4HGUBWU_cjs.myChatId(arbi)) return;
15711
- if (message.message.kind !== "text" || chunkX4HGUBWU_cjs.getOpenChat() === message.chat_ext_id) return;
15710
+ if (!senderId || senderId === chunkCSYZ3YI4_cjs.myChatId(arbi)) return;
15711
+ if (message.message.kind !== "text" || chunkCSYZ3YI4_cjs.getOpenChat() === message.chat_ext_id) return;
15712
15712
  const muted = queryClient.getQueriesData({ queryKey: chunkBRFRQWAY_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
15713
15713
  if (muted?.includes(senderId)) return;
15714
- const chat = chunkX4HGUBWU_cjs.cachedChat(queryClient, message.chat_ext_id);
15714
+ const chat = chunkCSYZ3YI4_cjs.cachedChat(queryClient, message.chat_ext_id);
15715
15715
  const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
15716
15716
  onArrival({
15717
15717
  chatId: message.chat_ext_id,
@@ -16182,771 +16182,771 @@ function useRateSupportTicket() {
16182
16182
 
16183
16183
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
16184
16184
  enumerable: true,
16185
- get: function () { return chunkX4HGUBWU_cjs.AUDIENCE_CHOICES; }
16185
+ get: function () { return chunkCSYZ3YI4_cjs.AUDIENCE_CHOICES; }
16186
16186
  });
16187
16187
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
16188
16188
  enumerable: true,
16189
- get: function () { return chunkX4HGUBWU_cjs.CALL_CAPTION_TOPIC; }
16189
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_CAPTION_TOPIC; }
16190
16190
  });
16191
16191
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
16192
16192
  enumerable: true,
16193
- get: function () { return chunkX4HGUBWU_cjs.CALL_CHAT_MAX_CHARS; }
16193
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_CHAT_MAX_CHARS; }
16194
16194
  });
16195
16195
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
16196
16196
  enumerable: true,
16197
- get: function () { return chunkX4HGUBWU_cjs.CALL_CHAT_TOPIC; }
16197
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_CHAT_TOPIC; }
16198
16198
  });
16199
16199
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
16200
16200
  enumerable: true,
16201
- get: function () { return chunkX4HGUBWU_cjs.CALL_MODERATION_TOPIC; }
16201
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_MODERATION_TOPIC; }
16202
16202
  });
16203
16203
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
16204
16204
  enumerable: true,
16205
- get: function () { return chunkX4HGUBWU_cjs.CALL_RECORDING_TOPIC; }
16205
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_RECORDING_TOPIC; }
16206
16206
  });
16207
16207
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
16208
16208
  enumerable: true,
16209
- get: function () { return chunkX4HGUBWU_cjs.CALL_TRANSCRIPTION_TOPIC; }
16209
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_TRANSCRIPTION_TOPIC; }
16210
16210
  });
16211
16211
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
16212
16212
  enumerable: true,
16213
- get: function () { return chunkX4HGUBWU_cjs.CALL_WEBINAR_TOPIC; }
16213
+ get: function () { return chunkCSYZ3YI4_cjs.CALL_WEBINAR_TOPIC; }
16214
16214
  });
16215
16215
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
16216
16216
  enumerable: true,
16217
- get: function () { return chunkX4HGUBWU_cjs.CAPTION_MAX_CHARS; }
16217
+ get: function () { return chunkCSYZ3YI4_cjs.CAPTION_MAX_CHARS; }
16218
16218
  });
16219
16219
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
16220
16220
  enumerable: true,
16221
- get: function () { return chunkX4HGUBWU_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
16221
+ get: function () { return chunkCSYZ3YI4_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
16222
16222
  });
16223
16223
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
16224
16224
  enumerable: true,
16225
- get: function () { return chunkX4HGUBWU_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
16225
+ get: function () { return chunkCSYZ3YI4_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
16226
16226
  });
16227
16227
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
16228
16228
  enumerable: true,
16229
- get: function () { return chunkX4HGUBWU_cjs.DEFAULT_JOIN_CHOICES; }
16229
+ get: function () { return chunkCSYZ3YI4_cjs.DEFAULT_JOIN_CHOICES; }
16230
16230
  });
16231
16231
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
16232
16232
  enumerable: true,
16233
- get: function () { return chunkX4HGUBWU_cjs.EMPTY_CALL_SESSION; }
16233
+ get: function () { return chunkCSYZ3YI4_cjs.EMPTY_CALL_SESSION; }
16234
16234
  });
16235
16235
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
16236
16236
  enumerable: true,
16237
- get: function () { return chunkX4HGUBWU_cjs.EXPORT_SAMPLE_RATE; }
16237
+ get: function () { return chunkCSYZ3YI4_cjs.EXPORT_SAMPLE_RATE; }
16238
16238
  });
16239
16239
  Object.defineProperty(exports, "HISTORY_LIMIT", {
16240
16240
  enumerable: true,
16241
- get: function () { return chunkX4HGUBWU_cjs.HISTORY_LIMIT; }
16241
+ get: function () { return chunkCSYZ3YI4_cjs.HISTORY_LIMIT; }
16242
16242
  });
16243
16243
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
16244
16244
  enumerable: true,
16245
- get: function () { return chunkX4HGUBWU_cjs.LIVE_SEGMENTER; }
16245
+ get: function () { return chunkCSYZ3YI4_cjs.LIVE_SEGMENTER; }
16246
16246
  });
16247
16247
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
16248
16248
  enumerable: true,
16249
- get: function () { return chunkX4HGUBWU_cjs.MAX_AVATAR_FILE_BYTES; }
16249
+ get: function () { return chunkCSYZ3YI4_cjs.MAX_AVATAR_FILE_BYTES; }
16250
16250
  });
16251
16251
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
16252
16252
  enumerable: true,
16253
- get: function () { return chunkX4HGUBWU_cjs.MUTED_DEDUPE_MS; }
16253
+ get: function () { return chunkCSYZ3YI4_cjs.MUTED_DEDUPE_MS; }
16254
16254
  });
16255
16255
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
16256
16256
  enumerable: true,
16257
- get: function () { return chunkX4HGUBWU_cjs.PLAYBACK_LOOKAHEAD_MS; }
16257
+ get: function () { return chunkCSYZ3YI4_cjs.PLAYBACK_LOOKAHEAD_MS; }
16258
16258
  });
16259
16259
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
16260
16260
  enumerable: true,
16261
- get: function () { return chunkX4HGUBWU_cjs.READ_ONLY_MEETING_TEXT; }
16261
+ get: function () { return chunkCSYZ3YI4_cjs.READ_ONLY_MEETING_TEXT; }
16262
16262
  });
16263
16263
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
16264
16264
  enumerable: true,
16265
- get: function () { return chunkX4HGUBWU_cjs.RECORDING_CHUNK_MS; }
16265
+ get: function () { return chunkCSYZ3YI4_cjs.RECORDING_CHUNK_MS; }
16266
16266
  });
16267
16267
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
16268
16268
  enumerable: true,
16269
- get: function () { return chunkX4HGUBWU_cjs.RECORDING_SEGMENTER; }
16269
+ get: function () { return chunkCSYZ3YI4_cjs.RECORDING_SEGMENTER; }
16270
16270
  });
16271
16271
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
16272
16272
  enumerable: true,
16273
- get: function () { return chunkX4HGUBWU_cjs.SEGMENT_FRAME_MS; }
16273
+ get: function () { return chunkCSYZ3YI4_cjs.SEGMENT_FRAME_MS; }
16274
16274
  });
16275
16275
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
16276
16276
  enumerable: true,
16277
- get: function () { return chunkX4HGUBWU_cjs.SEGMENT_ID_PATTERN; }
16277
+ get: function () { return chunkCSYZ3YI4_cjs.SEGMENT_ID_PATTERN; }
16278
16278
  });
16279
16279
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
16280
16280
  enumerable: true,
16281
- get: function () { return chunkX4HGUBWU_cjs.SEGMENT_PRE_ROLL_MS; }
16281
+ get: function () { return chunkCSYZ3YI4_cjs.SEGMENT_PRE_ROLL_MS; }
16282
16282
  });
16283
16283
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
16284
16284
  enumerable: true,
16285
- get: function () { return chunkX4HGUBWU_cjs.SHORT_PIECE_MERGE_GAP_MS; }
16285
+ get: function () { return chunkCSYZ3YI4_cjs.SHORT_PIECE_MERGE_GAP_MS; }
16286
16286
  });
16287
16287
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
16288
16288
  enumerable: true,
16289
- get: function () { return chunkX4HGUBWU_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
16289
+ get: function () { return chunkCSYZ3YI4_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
16290
16290
  });
16291
16291
  Object.defineProperty(exports, "TrackUploader", {
16292
16292
  enumerable: true,
16293
- get: function () { return chunkX4HGUBWU_cjs.TrackUploader; }
16293
+ get: function () { return chunkCSYZ3YI4_cjs.TrackUploader; }
16294
16294
  });
16295
16295
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
16296
16296
  enumerable: true,
16297
- get: function () { return chunkX4HGUBWU_cjs.UPLOAD_ATTEMPTS; }
16297
+ get: function () { return chunkCSYZ3YI4_cjs.UPLOAD_ATTEMPTS; }
16298
16298
  });
16299
16299
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
16300
16300
  enumerable: true,
16301
- get: function () { return chunkX4HGUBWU_cjs.UPLOAD_BACKOFF_MS; }
16301
+ get: function () { return chunkCSYZ3YI4_cjs.UPLOAD_BACKOFF_MS; }
16302
16302
  });
16303
16303
  Object.defineProperty(exports, "acceptRing", {
16304
16304
  enumerable: true,
16305
- get: function () { return chunkX4HGUBWU_cjs.acceptRing; }
16305
+ get: function () { return chunkCSYZ3YI4_cjs.acceptRing; }
16306
16306
  });
16307
16307
  Object.defineProperty(exports, "addConversationToList", {
16308
16308
  enumerable: true,
16309
- get: function () { return chunkX4HGUBWU_cjs.addConversationToList; }
16309
+ get: function () { return chunkCSYZ3YI4_cjs.addConversationToList; }
16310
16310
  });
16311
16311
  Object.defineProperty(exports, "appendToThread", {
16312
16312
  enumerable: true,
16313
- get: function () { return chunkX4HGUBWU_cjs.appendToThread; }
16313
+ get: function () { return chunkCSYZ3YI4_cjs.appendToThread; }
16314
16314
  });
16315
16315
  Object.defineProperty(exports, "applyAgentDmStatus", {
16316
16316
  enumerable: true,
16317
- get: function () { return chunkX4HGUBWU_cjs.applyAgentDmStatus; }
16317
+ get: function () { return chunkCSYZ3YI4_cjs.applyAgentDmStatus; }
16318
16318
  });
16319
16319
  Object.defineProperty(exports, "applyCallEvent", {
16320
16320
  enumerable: true,
16321
- get: function () { return chunkX4HGUBWU_cjs.applyCallEvent; }
16321
+ get: function () { return chunkCSYZ3YI4_cjs.applyCallEvent; }
16322
16322
  });
16323
16323
  Object.defineProperty(exports, "applyChatEvent", {
16324
16324
  enumerable: true,
16325
- get: function () { return chunkX4HGUBWU_cjs.applyChatEvent; }
16325
+ get: function () { return chunkCSYZ3YI4_cjs.applyChatEvent; }
16326
16326
  });
16327
16327
  Object.defineProperty(exports, "applyChatMessage", {
16328
16328
  enumerable: true,
16329
- get: function () { return chunkX4HGUBWU_cjs.applyChatMessage; }
16329
+ get: function () { return chunkCSYZ3YI4_cjs.applyChatMessage; }
16330
16330
  });
16331
16331
  Object.defineProperty(exports, "applyChatRead", {
16332
16332
  enumerable: true,
16333
- get: function () { return chunkX4HGUBWU_cjs.applyChatRead; }
16333
+ get: function () { return chunkCSYZ3YI4_cjs.applyChatRead; }
16334
16334
  });
16335
16335
  Object.defineProperty(exports, "applyChatUpdated", {
16336
16336
  enumerable: true,
16337
- get: function () { return chunkX4HGUBWU_cjs.applyChatUpdated; }
16337
+ get: function () { return chunkCSYZ3YI4_cjs.applyChatUpdated; }
16338
16338
  });
16339
16339
  Object.defineProperty(exports, "arbiAccountClient", {
16340
16340
  enumerable: true,
16341
- get: function () { return chunkX4HGUBWU_cjs.arbiAccountClient; }
16341
+ get: function () { return chunkCSYZ3YI4_cjs.arbiAccountClient; }
16342
16342
  });
16343
16343
  Object.defineProperty(exports, "buildMeetingChatBody", {
16344
16344
  enumerable: true,
16345
- get: function () { return chunkX4HGUBWU_cjs.buildMeetingChatBody; }
16345
+ get: function () { return chunkCSYZ3YI4_cjs.buildMeetingChatBody; }
16346
16346
  });
16347
16347
  Object.defineProperty(exports, "cachedChat", {
16348
16348
  enumerable: true,
16349
- get: function () { return chunkX4HGUBWU_cjs.cachedChat; }
16349
+ get: function () { return chunkCSYZ3YI4_cjs.cachedChat; }
16350
16350
  });
16351
16351
  Object.defineProperty(exports, "cachedChats", {
16352
16352
  enumerable: true,
16353
- get: function () { return chunkX4HGUBWU_cjs.cachedChats; }
16353
+ get: function () { return chunkCSYZ3YI4_cjs.cachedChats; }
16354
16354
  });
16355
16355
  Object.defineProperty(exports, "callLink", {
16356
16356
  enumerable: true,
16357
- get: function () { return chunkX4HGUBWU_cjs.callLink; }
16357
+ get: function () { return chunkCSYZ3YI4_cjs.callLink; }
16358
16358
  });
16359
16359
  Object.defineProperty(exports, "callMemberKeys", {
16360
16360
  enumerable: true,
16361
- get: function () { return chunkX4HGUBWU_cjs.callMemberKeys; }
16361
+ get: function () { return chunkCSYZ3YI4_cjs.callMemberKeys; }
16362
16362
  });
16363
16363
  Object.defineProperty(exports, "callSession", {
16364
16364
  enumerable: true,
16365
- get: function () { return chunkX4HGUBWU_cjs.callSession; }
16365
+ get: function () { return chunkCSYZ3YI4_cjs.callSession; }
16366
16366
  });
16367
16367
  Object.defineProperty(exports, "chatByExtId", {
16368
16368
  enumerable: true,
16369
- get: function () { return chunkX4HGUBWU_cjs.chatByExtId; }
16369
+ get: function () { return chunkCSYZ3YI4_cjs.chatByExtId; }
16370
16370
  });
16371
16371
  Object.defineProperty(exports, "chatHasLiveCall", {
16372
16372
  enumerable: true,
16373
- get: function () { return chunkX4HGUBWU_cjs.chatHasLiveCall; }
16373
+ get: function () { return chunkCSYZ3YI4_cjs.chatHasLiveCall; }
16374
16374
  });
16375
16375
  Object.defineProperty(exports, "chatLiveCallId", {
16376
16376
  enumerable: true,
16377
- get: function () { return chunkX4HGUBWU_cjs.chatLiveCallId; }
16377
+ get: function () { return chunkCSYZ3YI4_cjs.chatLiveCallId; }
16378
16378
  });
16379
16379
  Object.defineProperty(exports, "chatTranscriptRef", {
16380
16380
  enumerable: true,
16381
- get: function () { return chunkX4HGUBWU_cjs.chatTranscriptRef; }
16381
+ get: function () { return chunkCSYZ3YI4_cjs.chatTranscriptRef; }
16382
16382
  });
16383
16383
  Object.defineProperty(exports, "clearMeetingChatCache", {
16384
16384
  enumerable: true,
16385
- get: function () { return chunkX4HGUBWU_cjs.clearMeetingChatCache; }
16385
+ get: function () { return chunkCSYZ3YI4_cjs.clearMeetingChatCache; }
16386
16386
  });
16387
16387
  Object.defineProperty(exports, "clearTrackUploaders", {
16388
16388
  enumerable: true,
16389
- get: function () { return chunkX4HGUBWU_cjs.clearTrackUploaders; }
16389
+ get: function () { return chunkCSYZ3YI4_cjs.clearTrackUploaders; }
16390
16390
  });
16391
16391
  Object.defineProperty(exports, "clockTime", {
16392
16392
  enumerable: true,
16393
- get: function () { return chunkX4HGUBWU_cjs.clockTime; }
16393
+ get: function () { return chunkCSYZ3YI4_cjs.clockTime; }
16394
16394
  });
16395
16395
  Object.defineProperty(exports, "compositeFiles", {
16396
16396
  enumerable: true,
16397
- get: function () { return chunkX4HGUBWU_cjs.compositeFiles; }
16397
+ get: function () { return chunkCSYZ3YI4_cjs.compositeFiles; }
16398
16398
  });
16399
16399
  Object.defineProperty(exports, "compositeTrack", {
16400
16400
  enumerable: true,
16401
- get: function () { return chunkX4HGUBWU_cjs.compositeTrack; }
16401
+ get: function () { return chunkCSYZ3YI4_cjs.compositeTrack; }
16402
16402
  });
16403
16403
  Object.defineProperty(exports, "conversationKeyForCall", {
16404
16404
  enumerable: true,
16405
- get: function () { return chunkX4HGUBWU_cjs.conversationKeyForCall; }
16405
+ get: function () { return chunkCSYZ3YI4_cjs.conversationKeyForCall; }
16406
16406
  });
16407
16407
  Object.defineProperty(exports, "createLocalFeatureStore", {
16408
16408
  enumerable: true,
16409
- get: function () { return chunkX4HGUBWU_cjs.createLocalFeatureStore; }
16409
+ get: function () { return chunkCSYZ3YI4_cjs.createLocalFeatureStore; }
16410
16410
  });
16411
16411
  Object.defineProperty(exports, "createMutedNotifier", {
16412
16412
  enumerable: true,
16413
- get: function () { return chunkX4HGUBWU_cjs.createMutedNotifier; }
16413
+ get: function () { return chunkCSYZ3YI4_cjs.createMutedNotifier; }
16414
16414
  });
16415
16415
  Object.defineProperty(exports, "createTrackCutter", {
16416
16416
  enumerable: true,
16417
- get: function () { return chunkX4HGUBWU_cjs.createTrackCutter; }
16417
+ get: function () { return chunkCSYZ3YI4_cjs.createTrackCutter; }
16418
16418
  });
16419
16419
  Object.defineProperty(exports, "cutAtPauses", {
16420
16420
  enumerable: true,
16421
- get: function () { return chunkX4HGUBWU_cjs.cutAtPauses; }
16421
+ get: function () { return chunkCSYZ3YI4_cjs.cutAtPauses; }
16422
16422
  });
16423
16423
  Object.defineProperty(exports, "declineRing", {
16424
16424
  enumerable: true,
16425
- get: function () { return chunkX4HGUBWU_cjs.declineRing; }
16425
+ get: function () { return chunkCSYZ3YI4_cjs.declineRing; }
16426
16426
  });
16427
16427
  Object.defineProperty(exports, "decodeCallChatPacket", {
16428
16428
  enumerable: true,
16429
- get: function () { return chunkX4HGUBWU_cjs.decodeCallChatPacket; }
16429
+ get: function () { return chunkCSYZ3YI4_cjs.decodeCallChatPacket; }
16430
16430
  });
16431
16431
  Object.defineProperty(exports, "decodeCaptionPacket", {
16432
16432
  enumerable: true,
16433
- get: function () { return chunkX4HGUBWU_cjs.decodeCaptionPacket; }
16433
+ get: function () { return chunkCSYZ3YI4_cjs.decodeCaptionPacket; }
16434
16434
  });
16435
16435
  Object.defineProperty(exports, "decodeMono16k", {
16436
16436
  enumerable: true,
16437
- get: function () { return chunkX4HGUBWU_cjs.decodeMono16k; }
16437
+ get: function () { return chunkCSYZ3YI4_cjs.decodeMono16k; }
16438
16438
  });
16439
16439
  Object.defineProperty(exports, "decryptPart", {
16440
16440
  enumerable: true,
16441
- get: function () { return chunkX4HGUBWU_cjs.decryptPart; }
16441
+ get: function () { return chunkCSYZ3YI4_cjs.decryptPart; }
16442
16442
  });
16443
16443
  Object.defineProperty(exports, "encodeCallChatPacket", {
16444
16444
  enumerable: true,
16445
- get: function () { return chunkX4HGUBWU_cjs.encodeCallChatPacket; }
16445
+ get: function () { return chunkCSYZ3YI4_cjs.encodeCallChatPacket; }
16446
16446
  });
16447
16447
  Object.defineProperty(exports, "encodeCaptionPacket", {
16448
16448
  enumerable: true,
16449
- get: function () { return chunkX4HGUBWU_cjs.encodeCaptionPacket; }
16449
+ get: function () { return chunkCSYZ3YI4_cjs.encodeCaptionPacket; }
16450
16450
  });
16451
16451
  Object.defineProperty(exports, "encodeWav", {
16452
16452
  enumerable: true,
16453
- get: function () { return chunkX4HGUBWU_cjs.encodeWav; }
16453
+ get: function () { return chunkCSYZ3YI4_cjs.encodeWav; }
16454
16454
  });
16455
16455
  Object.defineProperty(exports, "encryptPart", {
16456
16456
  enumerable: true,
16457
- get: function () { return chunkX4HGUBWU_cjs.encryptPart; }
16457
+ get: function () { return chunkCSYZ3YI4_cjs.encryptPart; }
16458
16458
  });
16459
16459
  Object.defineProperty(exports, "ensureMeetingChat", {
16460
16460
  enumerable: true,
16461
- get: function () { return chunkX4HGUBWU_cjs.ensureMeetingChat; }
16461
+ get: function () { return chunkCSYZ3YI4_cjs.ensureMeetingChat; }
16462
16462
  });
16463
16463
  Object.defineProperty(exports, "entitlementRefusal", {
16464
16464
  enumerable: true,
16465
- get: function () { return chunkX4HGUBWU_cjs.entitlementRefusal; }
16465
+ get: function () { return chunkCSYZ3YI4_cjs.entitlementRefusal; }
16466
16466
  });
16467
16467
  Object.defineProperty(exports, "extensionFor", {
16468
16468
  enumerable: true,
16469
- get: function () { return chunkX4HGUBWU_cjs.extensionFor; }
16469
+ get: function () { return chunkCSYZ3YI4_cjs.extensionFor; }
16470
16470
  });
16471
16471
  Object.defineProperty(exports, "fetchPart", {
16472
16472
  enumerable: true,
16473
- get: function () { return chunkX4HGUBWU_cjs.fetchPart; }
16473
+ get: function () { return chunkCSYZ3YI4_cjs.fetchPart; }
16474
16474
  });
16475
16475
  Object.defineProperty(exports, "fileSafe", {
16476
16476
  enumerable: true,
16477
- get: function () { return chunkX4HGUBWU_cjs.fileSafe; }
16477
+ get: function () { return chunkCSYZ3YI4_cjs.fileSafe; }
16478
16478
  });
16479
16479
  Object.defineProperty(exports, "findConversation", {
16480
16480
  enumerable: true,
16481
- get: function () { return chunkX4HGUBWU_cjs.findConversation; }
16481
+ get: function () { return chunkCSYZ3YI4_cjs.findConversation; }
16482
16482
  });
16483
16483
  Object.defineProperty(exports, "floatToWav", {
16484
16484
  enumerable: true,
16485
- get: function () { return chunkX4HGUBWU_cjs.floatToWav; }
16485
+ get: function () { return chunkCSYZ3YI4_cjs.floatToWav; }
16486
16486
  });
16487
16487
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
16488
16488
  enumerable: true,
16489
- get: function () { return chunkX4HGUBWU_cjs.formatTranscriptMarkdown; }
16489
+ get: function () { return chunkCSYZ3YI4_cjs.formatTranscriptMarkdown; }
16490
16490
  });
16491
16491
  Object.defineProperty(exports, "getOpenChat", {
16492
16492
  enumerable: true,
16493
- get: function () { return chunkX4HGUBWU_cjs.getOpenChat; }
16493
+ get: function () { return chunkCSYZ3YI4_cjs.getOpenChat; }
16494
16494
  });
16495
16495
  Object.defineProperty(exports, "hasRecordingTranscript", {
16496
16496
  enumerable: true,
16497
- get: function () { return chunkX4HGUBWU_cjs.hasRecordingTranscript; }
16497
+ get: function () { return chunkCSYZ3YI4_cjs.hasRecordingTranscript; }
16498
16498
  });
16499
16499
  Object.defineProperty(exports, "invalidateCall", {
16500
16500
  enumerable: true,
16501
- get: function () { return chunkX4HGUBWU_cjs.invalidateCall; }
16501
+ get: function () { return chunkCSYZ3YI4_cjs.invalidateCall; }
16502
16502
  });
16503
16503
  Object.defineProperty(exports, "invalidateConversationDetails", {
16504
16504
  enumerable: true,
16505
- get: function () { return chunkX4HGUBWU_cjs.invalidateConversationDetails; }
16505
+ get: function () { return chunkCSYZ3YI4_cjs.invalidateConversationDetails; }
16506
16506
  });
16507
16507
  Object.defineProperty(exports, "invalidateConversationLists", {
16508
16508
  enumerable: true,
16509
- get: function () { return chunkX4HGUBWU_cjs.invalidateConversationLists; }
16509
+ get: function () { return chunkCSYZ3YI4_cjs.invalidateConversationLists; }
16510
16510
  });
16511
16511
  Object.defineProperty(exports, "isConversationListKey", {
16512
16512
  enumerable: true,
16513
- get: function () { return chunkX4HGUBWU_cjs.isConversationListKey; }
16513
+ get: function () { return chunkCSYZ3YI4_cjs.isConversationListKey; }
16514
16514
  });
16515
16515
  Object.defineProperty(exports, "isConversationShared", {
16516
16516
  enumerable: true,
16517
- get: function () { return chunkX4HGUBWU_cjs.isConversationShared; }
16517
+ get: function () { return chunkCSYZ3YI4_cjs.isConversationShared; }
16518
16518
  });
16519
16519
  Object.defineProperty(exports, "isRecordingOver", {
16520
16520
  enumerable: true,
16521
- get: function () { return chunkX4HGUBWU_cjs.isRecordingOver; }
16521
+ get: function () { return chunkCSYZ3YI4_cjs.isRecordingOver; }
16522
16522
  });
16523
16523
  Object.defineProperty(exports, "isRecordingSegmentId", {
16524
16524
  enumerable: true,
16525
- get: function () { return chunkX4HGUBWU_cjs.isRecordingSegmentId; }
16525
+ get: function () { return chunkCSYZ3YI4_cjs.isRecordingSegmentId; }
16526
16526
  });
16527
16527
  Object.defineProperty(exports, "isRetryable", {
16528
16528
  enumerable: true,
16529
- get: function () { return chunkX4HGUBWU_cjs.isRetryable; }
16529
+ get: function () { return chunkCSYZ3YI4_cjs.isRetryable; }
16530
16530
  });
16531
16531
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
16532
16532
  enumerable: true,
16533
- get: function () { return chunkX4HGUBWU_cjs.isWorkspaceGuestOf; }
16533
+ get: function () { return chunkCSYZ3YI4_cjs.isWorkspaceGuestOf; }
16534
16534
  });
16535
16535
  Object.defineProperty(exports, "joinFromPreJoin", {
16536
16536
  enumerable: true,
16537
- get: function () { return chunkX4HGUBWU_cjs.joinFromPreJoin; }
16537
+ get: function () { return chunkCSYZ3YI4_cjs.joinFromPreJoin; }
16538
16538
  });
16539
16539
  Object.defineProperty(exports, "knownMeetingChat", {
16540
16540
  enumerable: true,
16541
- get: function () { return chunkX4HGUBWU_cjs.knownMeetingChat; }
16541
+ get: function () { return chunkCSYZ3YI4_cjs.knownMeetingChat; }
16542
16542
  });
16543
16543
  Object.defineProperty(exports, "loadMeetingHistory", {
16544
16544
  enumerable: true,
16545
- get: function () { return chunkX4HGUBWU_cjs.loadMeetingHistory; }
16545
+ get: function () { return chunkCSYZ3YI4_cjs.loadMeetingHistory; }
16546
16546
  });
16547
16547
  Object.defineProperty(exports, "markRejoining", {
16548
16548
  enumerable: true,
16549
- get: function () { return chunkX4HGUBWU_cjs.markRejoining; }
16549
+ get: function () { return chunkCSYZ3YI4_cjs.markRejoining; }
16550
16550
  });
16551
16551
  Object.defineProperty(exports, "meetingChatRefFrom", {
16552
16552
  enumerable: true,
16553
- get: function () { return chunkX4HGUBWU_cjs.meetingChatRefFrom; }
16553
+ get: function () { return chunkCSYZ3YI4_cjs.meetingChatRefFrom; }
16554
16554
  });
16555
16555
  Object.defineProperty(exports, "meetingRefForCall", {
16556
16556
  enumerable: true,
16557
- get: function () { return chunkX4HGUBWU_cjs.meetingRefForCall; }
16557
+ get: function () { return chunkCSYZ3YI4_cjs.meetingRefForCall; }
16558
16558
  });
16559
16559
  Object.defineProperty(exports, "mergeChatLines", {
16560
16560
  enumerable: true,
16561
- get: function () { return chunkX4HGUBWU_cjs.mergeChatLines; }
16561
+ get: function () { return chunkCSYZ3YI4_cjs.mergeChatLines; }
16562
16562
  });
16563
16563
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
16564
16564
  enumerable: true,
16565
- get: function () { return chunkX4HGUBWU_cjs.mutedNoticeFromEvent; }
16565
+ get: function () { return chunkCSYZ3YI4_cjs.mutedNoticeFromEvent; }
16566
16566
  });
16567
16567
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
16568
16568
  enumerable: true,
16569
- get: function () { return chunkX4HGUBWU_cjs.mutedNoticeFromPacket; }
16569
+ get: function () { return chunkCSYZ3YI4_cjs.mutedNoticeFromPacket; }
16570
16570
  });
16571
16571
  Object.defineProperty(exports, "mutedNoticeText", {
16572
16572
  enumerable: true,
16573
- get: function () { return chunkX4HGUBWU_cjs.mutedNoticeText; }
16573
+ get: function () { return chunkCSYZ3YI4_cjs.mutedNoticeText; }
16574
16574
  });
16575
16575
  Object.defineProperty(exports, "myChatId", {
16576
16576
  enumerable: true,
16577
- get: function () { return chunkX4HGUBWU_cjs.myChatId; }
16577
+ get: function () { return chunkCSYZ3YI4_cjs.myChatId; }
16578
16578
  });
16579
16579
  Object.defineProperty(exports, "newPacketId", {
16580
16580
  enumerable: true,
16581
- get: function () { return chunkX4HGUBWU_cjs.newPacketId; }
16581
+ get: function () { return chunkCSYZ3YI4_cjs.newPacketId; }
16582
16582
  });
16583
16583
  Object.defineProperty(exports, "newSegmentId", {
16584
16584
  enumerable: true,
16585
- get: function () { return chunkX4HGUBWU_cjs.newSegmentId; }
16585
+ get: function () { return chunkCSYZ3YI4_cjs.newSegmentId; }
16586
16586
  });
16587
16587
  Object.defineProperty(exports, "newTrackKey", {
16588
16588
  enumerable: true,
16589
- get: function () { return chunkX4HGUBWU_cjs.newTrackKey; }
16589
+ get: function () { return chunkCSYZ3YI4_cjs.newTrackKey; }
16590
16590
  });
16591
16591
  Object.defineProperty(exports, "nextSeqAfter", {
16592
16592
  enumerable: true,
16593
- get: function () { return chunkX4HGUBWU_cjs.nextSeqAfter; }
16593
+ get: function () { return chunkCSYZ3YI4_cjs.nextSeqAfter; }
16594
16594
  });
16595
16595
  Object.defineProperty(exports, "onCallEvent", {
16596
16596
  enumerable: true,
16597
- get: function () { return chunkX4HGUBWU_cjs.onCallEvent; }
16597
+ get: function () { return chunkCSYZ3YI4_cjs.onCallEvent; }
16598
16598
  });
16599
16599
  Object.defineProperty(exports, "openCall", {
16600
16600
  enumerable: true,
16601
- get: function () { return chunkX4HGUBWU_cjs.openCall; }
16601
+ get: function () { return chunkCSYZ3YI4_cjs.openCall; }
16602
16602
  });
16603
16603
  Object.defineProperty(exports, "openQuestion", {
16604
16604
  enumerable: true,
16605
- get: function () { return chunkX4HGUBWU_cjs.openQuestion; }
16605
+ get: function () { return chunkCSYZ3YI4_cjs.openQuestion; }
16606
16606
  });
16607
16607
  Object.defineProperty(exports, "openRecording", {
16608
16608
  enumerable: true,
16609
- get: function () { return chunkX4HGUBWU_cjs.openRecording; }
16609
+ get: function () { return chunkCSYZ3YI4_cjs.openRecording; }
16610
16610
  });
16611
16611
  Object.defineProperty(exports, "parseWebinarPacket", {
16612
16612
  enumerable: true,
16613
- get: function () { return chunkX4HGUBWU_cjs.parseWebinarPacket; }
16613
+ get: function () { return chunkCSYZ3YI4_cjs.parseWebinarPacket; }
16614
16614
  });
16615
16615
  Object.defineProperty(exports, "partKey", {
16616
16616
  enumerable: true,
16617
- get: function () { return chunkX4HGUBWU_cjs.partKey; }
16617
+ get: function () { return chunkCSYZ3YI4_cjs.partKey; }
16618
16618
  });
16619
16619
  Object.defineProperty(exports, "partOffsetMs", {
16620
16620
  enumerable: true,
16621
- get: function () { return chunkX4HGUBWU_cjs.partOffsetMs; }
16621
+ get: function () { return chunkCSYZ3YI4_cjs.partOffsetMs; }
16622
16622
  });
16623
16623
  Object.defineProperty(exports, "partsDue", {
16624
16624
  enumerable: true,
16625
- get: function () { return chunkX4HGUBWU_cjs.partsDue; }
16625
+ get: function () { return chunkCSYZ3YI4_cjs.partsDue; }
16626
16626
  });
16627
16627
  Object.defineProperty(exports, "patchConversation", {
16628
16628
  enumerable: true,
16629
- get: function () { return chunkX4HGUBWU_cjs.patchConversation; }
16629
+ get: function () { return chunkCSYZ3YI4_cjs.patchConversation; }
16630
16630
  });
16631
16631
  Object.defineProperty(exports, "patchConversationList", {
16632
16632
  enumerable: true,
16633
- get: function () { return chunkX4HGUBWU_cjs.patchConversationList; }
16633
+ get: function () { return chunkCSYZ3YI4_cjs.patchConversationList; }
16634
16634
  });
16635
16635
  Object.defineProperty(exports, "persistMeetingMessage", {
16636
16636
  enumerable: true,
16637
- get: function () { return chunkX4HGUBWU_cjs.persistMeetingMessage; }
16637
+ get: function () { return chunkCSYZ3YI4_cjs.persistMeetingMessage; }
16638
16638
  });
16639
16639
  Object.defineProperty(exports, "persistTranscriptSegment", {
16640
16640
  enumerable: true,
16641
- get: function () { return chunkX4HGUBWU_cjs.persistTranscriptSegment; }
16641
+ get: function () { return chunkCSYZ3YI4_cjs.persistTranscriptSegment; }
16642
16642
  });
16643
16643
  Object.defineProperty(exports, "playheadAt", {
16644
16644
  enumerable: true,
16645
- get: function () { return chunkX4HGUBWU_cjs.playheadAt; }
16645
+ get: function () { return chunkCSYZ3YI4_cjs.playheadAt; }
16646
16646
  });
16647
16647
  Object.defineProperty(exports, "postRecordingDocsToThread", {
16648
16648
  enumerable: true,
16649
- get: function () { return chunkX4HGUBWU_cjs.postRecordingDocsToThread; }
16649
+ get: function () { return chunkCSYZ3YI4_cjs.postRecordingDocsToThread; }
16650
16650
  });
16651
16651
  Object.defineProperty(exports, "postTranscriptToThread", {
16652
16652
  enumerable: true,
16653
- get: function () { return chunkX4HGUBWU_cjs.postTranscriptToThread; }
16653
+ get: function () { return chunkCSYZ3YI4_cjs.postTranscriptToThread; }
16654
16654
  });
16655
16655
  Object.defineProperty(exports, "readLocalFeature", {
16656
16656
  enumerable: true,
16657
- get: function () { return chunkX4HGUBWU_cjs.readLocalFeature; }
16657
+ get: function () { return chunkCSYZ3YI4_cjs.readLocalFeature; }
16658
16658
  });
16659
16659
  Object.defineProperty(exports, "recordingFiles", {
16660
16660
  enumerable: true,
16661
- get: function () { return chunkX4HGUBWU_cjs.recordingFiles; }
16661
+ get: function () { return chunkCSYZ3YI4_cjs.recordingFiles; }
16662
16662
  });
16663
16663
  Object.defineProperty(exports, "recordingWindowsOf", {
16664
16664
  enumerable: true,
16665
- get: function () { return chunkX4HGUBWU_cjs.recordingWindowsOf; }
16665
+ get: function () { return chunkCSYZ3YI4_cjs.recordingWindowsOf; }
16666
16666
  });
16667
16667
  Object.defineProperty(exports, "rejoinAsAudience", {
16668
16668
  enumerable: true,
16669
- get: function () { return chunkX4HGUBWU_cjs.rejoinAsAudience; }
16669
+ get: function () { return chunkCSYZ3YI4_cjs.rejoinAsAudience; }
16670
16670
  });
16671
16671
  Object.defineProperty(exports, "removeChat", {
16672
16672
  enumerable: true,
16673
- get: function () { return chunkX4HGUBWU_cjs.removeChat; }
16673
+ get: function () { return chunkCSYZ3YI4_cjs.removeChat; }
16674
16674
  });
16675
16675
  Object.defineProperty(exports, "removeConversationFromLists", {
16676
16676
  enumerable: true,
16677
- get: function () { return chunkX4HGUBWU_cjs.removeConversationFromLists; }
16677
+ get: function () { return chunkCSYZ3YI4_cjs.removeConversationFromLists; }
16678
16678
  });
16679
16679
  Object.defineProperty(exports, "resetCallSession", {
16680
16680
  enumerable: true,
16681
- get: function () { return chunkX4HGUBWU_cjs.resetCallSession; }
16681
+ get: function () { return chunkCSYZ3YI4_cjs.resetCallSession; }
16682
16682
  });
16683
16683
  Object.defineProperty(exports, "resolveMeetingChat", {
16684
16684
  enumerable: true,
16685
- get: function () { return chunkX4HGUBWU_cjs.resolveMeetingChat; }
16685
+ get: function () { return chunkCSYZ3YI4_cjs.resolveMeetingChat; }
16686
16686
  });
16687
16687
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
16688
16688
  enumerable: true,
16689
- get: function () { return chunkX4HGUBWU_cjs.saveRecordingFilesToThread; }
16689
+ get: function () { return chunkCSYZ3YI4_cjs.saveRecordingFilesToThread; }
16690
16690
  });
16691
16691
  Object.defineProperty(exports, "schedulePart", {
16692
16692
  enumerable: true,
16693
- get: function () { return chunkX4HGUBWU_cjs.schedulePart; }
16693
+ get: function () { return chunkCSYZ3YI4_cjs.schedulePart; }
16694
16694
  });
16695
16695
  Object.defineProperty(exports, "sealQuestionText", {
16696
16696
  enumerable: true,
16697
- get: function () { return chunkX4HGUBWU_cjs.sealQuestionText; }
16697
+ get: function () { return chunkCSYZ3YI4_cjs.sealQuestionText; }
16698
16698
  });
16699
16699
  Object.defineProperty(exports, "serverCallsExperimental", {
16700
16700
  enumerable: true,
16701
- get: function () { return chunkX4HGUBWU_cjs.serverCallsExperimental; }
16701
+ get: function () { return chunkCSYZ3YI4_cjs.serverCallsExperimental; }
16702
16702
  });
16703
16703
  Object.defineProperty(exports, "setOpenChat", {
16704
16704
  enumerable: true,
16705
- get: function () { return chunkX4HGUBWU_cjs.setOpenChat; }
16705
+ get: function () { return chunkCSYZ3YI4_cjs.setOpenChat; }
16706
16706
  });
16707
16707
  Object.defineProperty(exports, "sortTranscriptMessages", {
16708
16708
  enumerable: true,
16709
- get: function () { return chunkX4HGUBWU_cjs.sortTranscriptMessages; }
16709
+ get: function () { return chunkCSYZ3YI4_cjs.sortTranscriptMessages; }
16710
16710
  });
16711
16711
  Object.defineProperty(exports, "sortedParts", {
16712
16712
  enumerable: true,
16713
- get: function () { return chunkX4HGUBWU_cjs.sortedParts; }
16713
+ get: function () { return chunkCSYZ3YI4_cjs.sortedParts; }
16714
16714
  });
16715
16715
  Object.defineProperty(exports, "speakerTracks", {
16716
16716
  enumerable: true,
16717
- get: function () { return chunkX4HGUBWU_cjs.speakerTracks; }
16717
+ get: function () { return chunkCSYZ3YI4_cjs.speakerTracks; }
16718
16718
  });
16719
16719
  Object.defineProperty(exports, "speakerWav", {
16720
16720
  enumerable: true,
16721
- get: function () { return chunkX4HGUBWU_cjs.speakerWav; }
16721
+ get: function () { return chunkCSYZ3YI4_cjs.speakerWav; }
16722
16722
  });
16723
16723
  Object.defineProperty(exports, "splitIntoFiles", {
16724
16724
  enumerable: true,
16725
- get: function () { return chunkX4HGUBWU_cjs.splitIntoFiles; }
16725
+ get: function () { return chunkCSYZ3YI4_cjs.splitIntoFiles; }
16726
16726
  });
16727
16727
  Object.defineProperty(exports, "standalone", {
16728
16728
  enumerable: true,
16729
- get: function () { return chunkX4HGUBWU_cjs.standalone; }
16729
+ get: function () { return chunkCSYZ3YI4_cjs.standalone; }
16730
16730
  });
16731
16731
  Object.defineProperty(exports, "startChatCall", {
16732
16732
  enumerable: true,
16733
- get: function () { return chunkX4HGUBWU_cjs.startChatCall; }
16733
+ get: function () { return chunkCSYZ3YI4_cjs.startChatCall; }
16734
16734
  });
16735
16735
  Object.defineProperty(exports, "startContactsCall", {
16736
16736
  enumerable: true,
16737
- get: function () { return chunkX4HGUBWU_cjs.startContactsCall; }
16737
+ get: function () { return chunkCSYZ3YI4_cjs.startContactsCall; }
16738
16738
  });
16739
16739
  Object.defineProperty(exports, "startDmCall", {
16740
16740
  enumerable: true,
16741
- get: function () { return chunkX4HGUBWU_cjs.startDmCall; }
16741
+ get: function () { return chunkCSYZ3YI4_cjs.startDmCall; }
16742
16742
  });
16743
16743
  Object.defineProperty(exports, "startThreadCall", {
16744
16744
  enumerable: true,
16745
- get: function () { return chunkX4HGUBWU_cjs.startThreadCall; }
16745
+ get: function () { return chunkCSYZ3YI4_cjs.startThreadCall; }
16746
16746
  });
16747
16747
  Object.defineProperty(exports, "startsMediaFile", {
16748
16748
  enumerable: true,
16749
- get: function () { return chunkX4HGUBWU_cjs.startsMediaFile; }
16749
+ get: function () { return chunkCSYZ3YI4_cjs.startsMediaFile; }
16750
16750
  });
16751
16751
  Object.defineProperty(exports, "storeTranscriptSegment", {
16752
16752
  enumerable: true,
16753
- get: function () { return chunkX4HGUBWU_cjs.storeTranscriptSegment; }
16753
+ get: function () { return chunkCSYZ3YI4_cjs.storeTranscriptSegment; }
16754
16754
  });
16755
16755
  Object.defineProperty(exports, "stripSpeakerPrefix", {
16756
16756
  enumerable: true,
16757
- get: function () { return chunkX4HGUBWU_cjs.stripSpeakerPrefix; }
16757
+ get: function () { return chunkCSYZ3YI4_cjs.stripSpeakerPrefix; }
16758
16758
  });
16759
16759
  Object.defineProperty(exports, "supersedeLiveTranscript", {
16760
16760
  enumerable: true,
16761
- get: function () { return chunkX4HGUBWU_cjs.supersedeLiveTranscript; }
16761
+ get: function () { return chunkCSYZ3YI4_cjs.supersedeLiveTranscript; }
16762
16762
  });
16763
16763
  Object.defineProperty(exports, "supersededTranscriptLines", {
16764
16764
  enumerable: true,
16765
- get: function () { return chunkX4HGUBWU_cjs.supersededTranscriptLines; }
16765
+ get: function () { return chunkCSYZ3YI4_cjs.supersededTranscriptLines; }
16766
16766
  });
16767
16767
  Object.defineProperty(exports, "threadHasLiveCall", {
16768
16768
  enumerable: true,
16769
- get: function () { return chunkX4HGUBWU_cjs.threadHasLiveCall; }
16769
+ get: function () { return chunkCSYZ3YI4_cjs.threadHasLiveCall; }
16770
16770
  });
16771
16771
  Object.defineProperty(exports, "threadLiveCallId", {
16772
16772
  enumerable: true,
16773
- get: function () { return chunkX4HGUBWU_cjs.threadLiveCallId; }
16773
+ get: function () { return chunkCSYZ3YI4_cjs.threadLiveCallId; }
16774
16774
  });
16775
16775
  Object.defineProperty(exports, "threadTranscriptLines", {
16776
16776
  enumerable: true,
16777
- get: function () { return chunkX4HGUBWU_cjs.threadTranscriptLines; }
16777
+ get: function () { return chunkCSYZ3YI4_cjs.threadTranscriptLines; }
16778
16778
  });
16779
16779
  Object.defineProperty(exports, "threadTranscriptRef", {
16780
16780
  enumerable: true,
16781
- get: function () { return chunkX4HGUBWU_cjs.threadTranscriptRef; }
16781
+ get: function () { return chunkCSYZ3YI4_cjs.threadTranscriptRef; }
16782
16782
  });
16783
16783
  Object.defineProperty(exports, "threadTranscriptText", {
16784
16784
  enumerable: true,
16785
- get: function () { return chunkX4HGUBWU_cjs.threadTranscriptText; }
16785
+ get: function () { return chunkCSYZ3YI4_cjs.threadTranscriptText; }
16786
16786
  });
16787
16787
  Object.defineProperty(exports, "timelineDurationMs", {
16788
16788
  enumerable: true,
16789
- get: function () { return chunkX4HGUBWU_cjs.timelineDurationMs; }
16789
+ get: function () { return chunkCSYZ3YI4_cjs.timelineDurationMs; }
16790
16790
  });
16791
16791
  Object.defineProperty(exports, "timelineOf", {
16792
16792
  enumerable: true,
16793
- get: function () { return chunkX4HGUBWU_cjs.timelineOf; }
16793
+ get: function () { return chunkCSYZ3YI4_cjs.timelineOf; }
16794
16794
  });
16795
16795
  Object.defineProperty(exports, "toProfileView", {
16796
16796
  enumerable: true,
16797
- get: function () { return chunkX4HGUBWU_cjs.toProfileView; }
16797
+ get: function () { return chunkCSYZ3YI4_cjs.toProfileView; }
16798
16798
  });
16799
16799
  Object.defineProperty(exports, "trackUploaderFor", {
16800
16800
  enumerable: true,
16801
- get: function () { return chunkX4HGUBWU_cjs.trackUploaderFor; }
16801
+ get: function () { return chunkCSYZ3YI4_cjs.trackUploaderFor; }
16802
16802
  });
16803
16803
  Object.defineProperty(exports, "transcribeRecording", {
16804
16804
  enumerable: true,
16805
- get: function () { return chunkX4HGUBWU_cjs.transcribeRecording; }
16805
+ get: function () { return chunkCSYZ3YI4_cjs.transcribeRecording; }
16806
16806
  });
16807
16807
  Object.defineProperty(exports, "transcriptPersistRole", {
16808
16808
  enumerable: true,
16809
- get: function () { return chunkX4HGUBWU_cjs.transcriptPersistRole; }
16809
+ get: function () { return chunkCSYZ3YI4_cjs.transcriptPersistRole; }
16810
16810
  });
16811
16811
  Object.defineProperty(exports, "transcriptSegmentOf", {
16812
16812
  enumerable: true,
16813
- get: function () { return chunkX4HGUBWU_cjs.transcriptSegmentOf; }
16813
+ get: function () { return chunkCSYZ3YI4_cjs.transcriptSegmentOf; }
16814
16814
  });
16815
16815
  Object.defineProperty(exports, "unwrapTrackKey", {
16816
16816
  enumerable: true,
16817
- get: function () { return chunkX4HGUBWU_cjs.unwrapTrackKey; }
16817
+ get: function () { return chunkCSYZ3YI4_cjs.unwrapTrackKey; }
16818
16818
  });
16819
16819
  Object.defineProperty(exports, "upsertChat", {
16820
16820
  enumerable: true,
16821
- get: function () { return chunkX4HGUBWU_cjs.upsertChat; }
16821
+ get: function () { return chunkCSYZ3YI4_cjs.upsertChat; }
16822
16822
  });
16823
16823
  Object.defineProperty(exports, "useAccountClient", {
16824
16824
  enumerable: true,
16825
- get: function () { return chunkX4HGUBWU_cjs.useAccountClient; }
16825
+ get: function () { return chunkCSYZ3YI4_cjs.useAccountClient; }
16826
16826
  });
16827
16827
  Object.defineProperty(exports, "useAvatarCrop", {
16828
16828
  enumerable: true,
16829
- get: function () { return chunkX4HGUBWU_cjs.useAvatarCrop; }
16829
+ get: function () { return chunkCSYZ3YI4_cjs.useAvatarCrop; }
16830
16830
  });
16831
16831
  Object.defineProperty(exports, "useCall", {
16832
16832
  enumerable: true,
16833
- get: function () { return chunkX4HGUBWU_cjs.useCall; }
16833
+ get: function () { return chunkCSYZ3YI4_cjs.useCall; }
16834
16834
  });
16835
16835
  Object.defineProperty(exports, "useCallInviteLinks", {
16836
16836
  enumerable: true,
16837
- get: function () { return chunkX4HGUBWU_cjs.useCallInviteLinks; }
16837
+ get: function () { return chunkCSYZ3YI4_cjs.useCallInviteLinks; }
16838
16838
  });
16839
16839
  Object.defineProperty(exports, "useCallRecording", {
16840
16840
  enumerable: true,
16841
- get: function () { return chunkX4HGUBWU_cjs.useCallRecording; }
16841
+ get: function () { return chunkCSYZ3YI4_cjs.useCallRecording; }
16842
16842
  });
16843
16843
  Object.defineProperty(exports, "useCallRecordings", {
16844
16844
  enumerable: true,
16845
- get: function () { return chunkX4HGUBWU_cjs.useCallRecordings; }
16845
+ get: function () { return chunkCSYZ3YI4_cjs.useCallRecordings; }
16846
16846
  });
16847
16847
  Object.defineProperty(exports, "useCallSession", {
16848
16848
  enumerable: true,
16849
- get: function () { return chunkX4HGUBWU_cjs.useCallSession; }
16849
+ get: function () { return chunkCSYZ3YI4_cjs.useCallSession; }
16850
16850
  });
16851
16851
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
16852
16852
  enumerable: true,
16853
- get: function () { return chunkX4HGUBWU_cjs.useCallTranscriptionAvailable; }
16853
+ get: function () { return chunkCSYZ3YI4_cjs.useCallTranscriptionAvailable; }
16854
16854
  });
16855
16855
  Object.defineProperty(exports, "useCallsConfig", {
16856
16856
  enumerable: true,
16857
- get: function () { return chunkX4HGUBWU_cjs.useCallsConfig; }
16857
+ get: function () { return chunkCSYZ3YI4_cjs.useCallsConfig; }
16858
16858
  });
16859
16859
  Object.defineProperty(exports, "useCallsEnabled", {
16860
16860
  enumerable: true,
16861
- get: function () { return chunkX4HGUBWU_cjs.useCallsEnabled; }
16861
+ get: function () { return chunkCSYZ3YI4_cjs.useCallsEnabled; }
16862
16862
  });
16863
16863
  Object.defineProperty(exports, "useCanHostCalls", {
16864
16864
  enumerable: true,
16865
- get: function () { return chunkX4HGUBWU_cjs.useCanHostCalls; }
16865
+ get: function () { return chunkCSYZ3YI4_cjs.useCanHostCalls; }
16866
16866
  });
16867
16867
  Object.defineProperty(exports, "useEntitlements", {
16868
16868
  enumerable: true,
16869
- get: function () { return chunkX4HGUBWU_cjs.useEntitlements; }
16869
+ get: function () { return chunkCSYZ3YI4_cjs.useEntitlements; }
16870
16870
  });
16871
16871
  Object.defineProperty(exports, "useFeature", {
16872
16872
  enumerable: true,
16873
- get: function () { return chunkX4HGUBWU_cjs.useFeature; }
16873
+ get: function () { return chunkCSYZ3YI4_cjs.useFeature; }
16874
16874
  });
16875
16875
  Object.defineProperty(exports, "useFeatureSwitch", {
16876
16876
  enumerable: true,
16877
- get: function () { return chunkX4HGUBWU_cjs.useFeatureSwitch; }
16877
+ get: function () { return chunkCSYZ3YI4_cjs.useFeatureSwitch; }
16878
16878
  });
16879
16879
  Object.defineProperty(exports, "useInvalidateEntitlements", {
16880
16880
  enumerable: true,
16881
- get: function () { return chunkX4HGUBWU_cjs.useInvalidateEntitlements; }
16881
+ get: function () { return chunkCSYZ3YI4_cjs.useInvalidateEntitlements; }
16882
16882
  });
16883
16883
  Object.defineProperty(exports, "useIsEntitled", {
16884
16884
  enumerable: true,
16885
- get: function () { return chunkX4HGUBWU_cjs.useIsEntitled; }
16885
+ get: function () { return chunkCSYZ3YI4_cjs.useIsEntitled; }
16886
16886
  });
16887
16887
  Object.defineProperty(exports, "useMeetingReadOnly", {
16888
16888
  enumerable: true,
16889
- get: function () { return chunkX4HGUBWU_cjs.useMeetingReadOnly; }
16889
+ get: function () { return chunkCSYZ3YI4_cjs.useMeetingReadOnly; }
16890
16890
  });
16891
16891
  Object.defineProperty(exports, "useNameEditor", {
16892
16892
  enumerable: true,
16893
- get: function () { return chunkX4HGUBWU_cjs.useNameEditor; }
16893
+ get: function () { return chunkCSYZ3YI4_cjs.useNameEditor; }
16894
16894
  });
16895
16895
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
16896
16896
  enumerable: true,
16897
- get: function () { return chunkX4HGUBWU_cjs.useOpenCallMeetingChat; }
16897
+ get: function () { return chunkCSYZ3YI4_cjs.useOpenCallMeetingChat; }
16898
16898
  });
16899
16899
  Object.defineProperty(exports, "useProfile", {
16900
16900
  enumerable: true,
16901
- get: function () { return chunkX4HGUBWU_cjs.useProfile; }
16901
+ get: function () { return chunkCSYZ3YI4_cjs.useProfile; }
16902
16902
  });
16903
16903
  Object.defineProperty(exports, "useRecordingActions", {
16904
16904
  enumerable: true,
16905
- get: function () { return chunkX4HGUBWU_cjs.useRecordingActions; }
16905
+ get: function () { return chunkCSYZ3YI4_cjs.useRecordingActions; }
16906
16906
  });
16907
16907
  Object.defineProperty(exports, "useRecordingWindows", {
16908
16908
  enumerable: true,
16909
- get: function () { return chunkX4HGUBWU_cjs.useRecordingWindows; }
16909
+ get: function () { return chunkCSYZ3YI4_cjs.useRecordingWindows; }
16910
16910
  });
16911
16911
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
16912
16912
  enumerable: true,
16913
- get: function () { return chunkX4HGUBWU_cjs.useRevokeCallInviteLink; }
16913
+ get: function () { return chunkCSYZ3YI4_cjs.useRevokeCallInviteLink; }
16914
16914
  });
16915
16915
  Object.defineProperty(exports, "useSaveToThread", {
16916
16916
  enumerable: true,
16917
- get: function () { return chunkX4HGUBWU_cjs.useSaveToThread; }
16917
+ get: function () { return chunkCSYZ3YI4_cjs.useSaveToThread; }
16918
16918
  });
16919
16919
  Object.defineProperty(exports, "useServerCallsEnabled", {
16920
16920
  enumerable: true,
16921
- get: function () { return chunkX4HGUBWU_cjs.useServerCallsEnabled; }
16921
+ get: function () { return chunkCSYZ3YI4_cjs.useServerCallsEnabled; }
16922
16922
  });
16923
16923
  Object.defineProperty(exports, "useServerCallsExperimental", {
16924
16924
  enumerable: true,
16925
- get: function () { return chunkX4HGUBWU_cjs.useServerCallsExperimental; }
16925
+ get: function () { return chunkCSYZ3YI4_cjs.useServerCallsExperimental; }
16926
16926
  });
16927
16927
  Object.defineProperty(exports, "useUpdateProfile", {
16928
16928
  enumerable: true,
16929
- get: function () { return chunkX4HGUBWU_cjs.useUpdateProfile; }
16929
+ get: function () { return chunkCSYZ3YI4_cjs.useUpdateProfile; }
16930
16930
  });
16931
16931
  Object.defineProperty(exports, "useUpdateUserSettings", {
16932
16932
  enumerable: true,
16933
- get: function () { return chunkX4HGUBWU_cjs.useUpdateUserSettings; }
16933
+ get: function () { return chunkCSYZ3YI4_cjs.useUpdateUserSettings; }
16934
16934
  });
16935
16935
  Object.defineProperty(exports, "useUserSettings", {
16936
16936
  enumerable: true,
16937
- get: function () { return chunkX4HGUBWU_cjs.useUserSettings; }
16937
+ get: function () { return chunkCSYZ3YI4_cjs.useUserSettings; }
16938
16938
  });
16939
16939
  Object.defineProperty(exports, "wipeOfflineMail", {
16940
16940
  enumerable: true,
16941
- get: function () { return chunkX4HGUBWU_cjs.wipeOfflineMail; }
16941
+ get: function () { return chunkCSYZ3YI4_cjs.wipeOfflineMail; }
16942
16942
  });
16943
16943
  Object.defineProperty(exports, "wrapTrackKey", {
16944
16944
  enumerable: true,
16945
- get: function () { return chunkX4HGUBWU_cjs.wrapTrackKey; }
16945
+ get: function () { return chunkCSYZ3YI4_cjs.wrapTrackKey; }
16946
16946
  });
16947
16947
  Object.defineProperty(exports, "writeSamples", {
16948
16948
  enumerable: true,
16949
- get: function () { return chunkX4HGUBWU_cjs.writeSamples; }
16949
+ get: function () { return chunkCSYZ3YI4_cjs.writeSamples; }
16950
16950
  });
16951
16951
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
16952
16952
  enumerable: true,