@linktr.ee/messaging-react 3.3.6-rc-1781077089 → 3.3.6-rc-1781144689

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/{Card-DlfG-u7M.cjs → Card-2geWIU_O.cjs} +2 -2
  2. package/dist/{Card-DlfG-u7M.cjs.map → Card-2geWIU_O.cjs.map} +1 -1
  3. package/dist/{Card-CMmWc_DV.cjs → Card-B4RdxCmT.cjs} +2 -2
  4. package/dist/{Card-CMmWc_DV.cjs.map → Card-B4RdxCmT.cjs.map} +1 -1
  5. package/dist/{Card-C0w-vE4P.js → Card-CdMpzGPZ.js} +2 -2
  6. package/dist/{Card-C0w-vE4P.js.map → Card-CdMpzGPZ.js.map} +1 -1
  7. package/dist/{Card-BSMnJuUn.js → Card-D1L3wBz6.js} +3 -3
  8. package/dist/{Card-BSMnJuUn.js.map → Card-D1L3wBz6.js.map} +1 -1
  9. package/dist/{Card-B-z03Jey.cjs → Card-n-E-M5pd.cjs} +2 -2
  10. package/dist/{Card-B-z03Jey.cjs.map → Card-n-E-M5pd.cjs.map} +1 -1
  11. package/dist/{Card-BgS405Np.js → Card-vagKHhvf.js} +2 -2
  12. package/dist/{Card-BgS405Np.js.map → Card-vagKHhvf.js.map} +1 -1
  13. package/dist/{LockedThumbnail-jk9UL0Be.js → LockedThumbnail-BAA-3nW0.js} +2 -2
  14. package/dist/{LockedThumbnail-jk9UL0Be.js.map → LockedThumbnail-BAA-3nW0.js.map} +1 -1
  15. package/dist/{LockedThumbnail-Bpqw7YBv.cjs → LockedThumbnail-H3nnbVkP.cjs} +2 -2
  16. package/dist/{LockedThumbnail-Bpqw7YBv.cjs.map → LockedThumbnail-H3nnbVkP.cjs.map} +1 -1
  17. package/dist/assets/index.css +1 -1
  18. package/dist/index-CV-61_np.cjs +2 -0
  19. package/dist/index-CV-61_np.cjs.map +1 -0
  20. package/dist/{index-BpkIKkeQ.js → index-DkqNYdg4.js} +447 -439
  21. package/dist/index-DkqNYdg4.js.map +1 -0
  22. package/dist/index.cjs +1 -1
  23. package/dist/index.js +1 -1
  24. package/package.json +1 -1
  25. package/src/components/ChannelView.tsx +14 -6
  26. package/src/components/CustomTypingIndicator/index.tsx +29 -19
  27. package/src/styles.css +4 -0
  28. package/dist/index-BpkIKkeQ.js.map +0 -1
  29. package/dist/index-CtuiVyk1.cjs +0 -2
  30. package/dist/index-CtuiVyk1.cjs.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import { jsx as n, jsxs as h, Fragment as ne } from "react/jsx-runtime";
2
- import F, { createContext as Ge, useContext as Te, useCallback as Y, useState as O, useRef as G, useEffect as H, useId as En, useMemo as te, Suspense as He, useLayoutEffect as In } from "react";
2
+ import j, { createContext as Ge, useContext as Te, useCallback as Y, useState as O, useRef as G, useEffect as H, useId as En, useMemo as te, Suspense as He, useLayoutEffect as In } from "react";
3
3
  import { StreamChatService as Sn } from "@linktr.ee/messaging-core";
4
- import { Chat as Tn, DateSeparator as An, useChannelStateContext as de, useChatContext as Ye, areMessageUIPropsEqual as Mn, useMessageReminder as Rn, useComponentContext as Ut, Attachment as Ln, EditMessageModal as Dn, MessageBlocked as Pn, MessageBouncePrompt as On, MessageDeleted as zn, MessageIsThreadReplyInChannelButtonIndicator as $n, MessageRepliesCountButton as Fn, ReminderNotification as Bn, StreamedMessageText as Un, messageHasAttachments as jn, messageHasReactions as Vn, isDateSeparatorMessage as Gn, isMessageBlocked as Hn, isMessageBounced as Yn, MessageBounceModal as qn, MessageText as Tt, Poll as Wn, MessageErrorIcon as Xn, useMessageContext as ve, useMessageComposer as Kn, useStateStore as Jn, MessageInput as Zn, useMessageInputContext as Qn, useMessageComposerHasSendableData as es, AttachmentPreviewList as ts, QuotedMessagePreview as ns, TextareaComposer as ss, MessageTimestamp as Le, AIStates as De, useTypingContext as as, useAIState as rs, Channel as is, WithComponents as os, Window as ls, MessageList as cs, ChannelList as ds } from "stream-chat-react";
5
- import { StarIcon as Fe, DotsThreeIcon as us, SpinnerGapIcon as Ce, SignOutIcon as ms, ProhibitInsetIcon as At, FlagIcon as jt, FileIcon as Vt, ImageIcon as hs, SpeakerHighIcon as fs, VideoCameraIcon as Gt, FileMdIcon as gs, FileTextIcon as bs, FileZipIcon as ps, FilePptIcon as vs, FileCsvIcon as xs, FileXlsIcon as ws, FileDocIcon as Ns, FilePdfIcon as _s, CircleNotchIcon as be, PlayIcon as Be, PauseIcon as ys, LinkIcon as Cs, DownloadSimpleIcon as pe, GiftIcon as ks, ThumbsUpIcon as Es, ThumbsDownIcon as Is, TrashSimpleIcon as Ss, XIcon as Ae, ArrowUpIcon as Ts, SparkleIcon as Ue, ProhibitIcon as As, ArrowLeftIcon as Mt, PencilSimpleIcon as Ms, CaretLeftIcon as Rs, CaretRightIcon as Ls } from "@phosphor-icons/react";
4
+ import { Chat as Tn, DateSeparator as An, useChannelStateContext as de, useChatContext as Ye, areMessageUIPropsEqual as Mn, useMessageReminder as Rn, useComponentContext as Ut, Attachment as Ln, EditMessageModal as Dn, MessageBlocked as Pn, MessageBouncePrompt as On, MessageDeleted as zn, MessageIsThreadReplyInChannelButtonIndicator as $n, MessageRepliesCountButton as Fn, ReminderNotification as Bn, StreamedMessageText as Un, messageHasAttachments as jn, messageHasReactions as Vn, isDateSeparatorMessage as Gn, isMessageBlocked as Hn, isMessageBounced as Yn, MessageBounceModal as qn, MessageText as Tt, Poll as Wn, MessageErrorIcon as Xn, useMessageContext as ve, useMessageComposer as Kn, useStateStore as Jn, MessageInput as Zn, useMessageInputContext as Qn, useMessageComposerHasSendableData as es, AttachmentPreviewList as ts, QuotedMessagePreview as ns, TextareaComposer as ss, MessageTimestamp as Le, AIStates as De, useTypingContext as as, useAIState as rs, Channel as is, WithComponents as os, Window as ls, MessageList as cs, defaultRenderMessages as ds, ChannelList as us } from "stream-chat-react";
5
+ import { StarIcon as Fe, DotsThreeIcon as ms, SpinnerGapIcon as Ce, SignOutIcon as hs, ProhibitInsetIcon as At, FlagIcon as jt, FileIcon as Vt, ImageIcon as fs, SpeakerHighIcon as gs, VideoCameraIcon as Gt, FileMdIcon as bs, FileTextIcon as ps, FileZipIcon as vs, FilePptIcon as xs, FileCsvIcon as ws, FileXlsIcon as _s, FileDocIcon as Ns, FilePdfIcon as ys, CircleNotchIcon as be, PlayIcon as Be, PauseIcon as Cs, LinkIcon as ks, DownloadSimpleIcon as pe, GiftIcon as Es, ThumbsUpIcon as Is, ThumbsDownIcon as Ss, TrashSimpleIcon as Ts, XIcon as Ae, ArrowUpIcon as As, SparkleIcon as Ue, ProhibitIcon as Ms, ArrowLeftIcon as Mt, PencilSimpleIcon as Rs, CaretLeftIcon as Ls, CaretRightIcon as Ds } from "@phosphor-icons/react";
6
6
  import C from "classnames";
7
- import { MessageActions as Ds, DefaultDropdownActionButton as Ht } from "stream-chat-react/experimental";
7
+ import { MessageActions as Ps, DefaultDropdownActionButton as Ht } from "stream-chat-react/experimental";
8
8
  import { LinkPreviewsManager as Rt } from "stream-chat";
9
9
  const Yt = Ge({
10
10
  service: null,
@@ -16,7 +16,7 @@ const Yt = Ge({
16
16
  refreshConnection: async () => {
17
17
  },
18
18
  debug: !1
19
- }), qe = () => Te(Yt), yi = ({
19
+ }), qe = () => Te(Yt), Ci = ({
20
20
  children: e,
21
21
  user: t,
22
22
  serviceConfig: s,
@@ -36,7 +36,7 @@ const Yt = Ge({
36
36
  serviceConfig: !!s,
37
37
  capabilities: Object.keys(r)
38
38
  });
39
- const [l, d] = O(null), [m, b] = O(null), [u, f] = O(!1), [c, g] = O(!1), [p, v] = O(null), N = G(!1), x = G({
39
+ const [l, d] = O(null), [m, b] = O(null), [u, f] = O(!1), [c, g] = O(!1), [p, v] = O(null), _ = G(!1), x = G({
40
40
  userId: t == null ? void 0 : t.id,
41
41
  apiKey: a,
42
42
  serviceConfig: s,
@@ -97,23 +97,23 @@ const Yt = Ge({
97
97
  }, [a, s, i, o]);
98
98
  const E = G(null);
99
99
  H(() => {
100
- var T, _;
100
+ var T, N;
101
101
  if (o("🔗 USER CONNECTION EFFECT TRIGGERED", {
102
102
  hasService: !!l,
103
103
  hasUser: !!t,
104
104
  userId: t == null ? void 0 : t.id,
105
- isConnecting: N.current,
105
+ isConnecting: _.current,
106
106
  isConnected: u,
107
107
  dependencies: { service: !!l, userId: t == null ? void 0 : t.id }
108
108
  }), !l || !t) {
109
109
  o("⚠️ USER CONNECTION SKIPPED", "Missing service or user");
110
110
  return;
111
111
  }
112
- if (N.current) {
112
+ if (_.current) {
113
113
  o("⚠️ USER CONNECTION SKIPPED", "Already connecting");
114
114
  return;
115
115
  }
116
- if (((T = E.current) == null ? void 0 : T.serviceId) === l && ((_ = E.current) == null ? void 0 : _.userId) === t.id) {
116
+ if (((T = E.current) == null ? void 0 : T.serviceId) === l && ((N = E.current) == null ? void 0 : N.userId) === t.id) {
117
117
  o(
118
118
  "⚠️ USER CONNECTION SKIPPED",
119
119
  "Already connected this user with this service"
@@ -121,7 +121,7 @@ const Yt = Ge({
121
121
  return;
122
122
  }
123
123
  (async () => {
124
- o("🚀 STARTING USER CONNECTION", { userId: t.id }), N.current = !0, g(!0), v(null);
124
+ o("🚀 STARTING USER CONNECTION", { userId: t.id }), _.current = !0, g(!0), v(null);
125
125
  try {
126
126
  o("📞 CALLING SERVICE.CONNECTUSER", { userId: t.id });
127
127
  const S = await l.connectUser(t);
@@ -136,7 +136,7 @@ const Yt = Ge({
136
136
  error: R
137
137
  });
138
138
  } finally {
139
- g(!1), N.current = !1, o("🔄 USER CONNECTION FINISHED", {
139
+ g(!1), _.current = !1, o("🔄 USER CONNECTION FINISHED", {
140
140
  userId: t.id,
141
141
  isConnected: u
142
142
  });
@@ -176,7 +176,7 @@ const Yt = Ge({
176
176
  } finally {
177
177
  g(!1), o("🔄 CONNECTION REFRESH FINISHED", { userId: t.id });
178
178
  }
179
- }, [l, t, o]), D = F.useMemo(() => (o("💫 CONTEXT VALUE MEMOIZATION", {
179
+ }, [l, t, o]), D = j.useMemo(() => (o("💫 CONTEXT VALUE MEMOIZATION", {
180
180
  hasService: !!l,
181
181
  hasClient: !!m,
182
182
  isConnected: u,
@@ -217,7 +217,7 @@ const Yt = Ge({
217
217
  children: e
218
218
  }
219
219
  ) : e });
220
- }, Ps = () => qe(), qt = (e) => {
220
+ }, Os = () => qe(), qt = (e) => {
221
221
  var a, r;
222
222
  const [t, s] = O(
223
223
  !!((r = (a = e == null ? void 0 : e.state) == null ? void 0 : a.membership) != null && r.pinned_at)
@@ -239,13 +239,13 @@ const Yt = Ge({
239
239
  e.off("member.updated", i);
240
240
  };
241
241
  }, [e]), t;
242
- }, Os = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
243
- function zs(e) {
244
- return Os.test(e.trim());
242
+ }, zs = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
243
+ function $s(e) {
244
+ return zs.test(e.trim());
245
245
  }
246
246
  function Lt(e, t) {
247
247
  const s = e == null ? void 0 : e.trim();
248
- return !s || t && s === t ? !1 : !zs(s);
248
+ return !s || t && s === t ? !1 : !$s(s);
249
249
  }
250
250
  function Wt(e) {
251
251
  return Lt(e == null ? void 0 : e.name, e == null ? void 0 : e.id) ? e.name.trim() : Lt(e == null ? void 0 : e.username, e == null ? void 0 : e.id) ? e.username.trim() : "Unknown member";
@@ -278,7 +278,7 @@ const Dt = [
278
278
  "🍈"
279
279
  // Melon
280
280
  ];
281
- function $s(e) {
281
+ function Fs(e) {
282
282
  let t = 0;
283
283
  for (let s = 0; s < e.length; s++) {
284
284
  const a = e.charCodeAt(s);
@@ -286,8 +286,8 @@ function $s(e) {
286
286
  }
287
287
  return Math.abs(t);
288
288
  }
289
- function Fs(e) {
290
- const s = $s(e) % Dt.length;
289
+ function Bs(e) {
290
+ const s = Fs(e) % Dt.length;
291
291
  return Dt[s];
292
292
  }
293
293
  const re = ({
@@ -299,7 +299,7 @@ const re = ({
299
299
  shape: i = "squircle",
300
300
  dmAgentEnabled: o = !1
301
301
  }) => {
302
- const l = Fs(e), m = s < 32 ? "text-xs" : s < 56 ? "text-sm" : s < 120 ? "text-lg" : "text-4xl", b = s >= 40 ? 2 : 1, u = i === "circle" ? { borderRadius: "50%" } : { borderRadius: "1rem" }, f = /* @__PURE__ */ n("div", { className: "h-full w-full overflow-hidden", style: u, children: t ? /* @__PURE__ */ n(
302
+ const l = Bs(e), m = s < 32 ? "text-xs" : s < 56 ? "text-sm" : s < 120 ? "text-lg" : "text-4xl", b = s >= 40 ? 2 : 1, u = i === "circle" ? { borderRadius: "50%" } : { borderRadius: "1rem" }, f = /* @__PURE__ */ n("div", { className: "h-full w-full overflow-hidden", style: u, children: t ? /* @__PURE__ */ n(
303
303
  "img",
304
304
  {
305
305
  src: t,
@@ -361,7 +361,7 @@ const re = ({
361
361
  ]
362
362
  }
363
363
  );
364
- }, Bs = "https://linktr.ee/s/about/trust-center/report", Us = ({
364
+ }, Us = "https://linktr.ee/s/about/trust-center/report", js = ({
365
365
  channel: e,
366
366
  participant: t,
367
367
  showBlockParticipant: s = !0,
@@ -374,8 +374,8 @@ const re = ({
374
374
  onActionComplete: m,
375
375
  logLabel: b = "useChannelModerationActions"
376
376
  }) => {
377
- var B;
378
- const { service: u, debug: f } = qe(), c = (B = t == null ? void 0 : t.user) == null ? void 0 : B.id, g = !!(a && s && u && c), [p, v] = O(!1), [N, x] = O(null), [I, E] = O(!1), [M, D] = O(!1), k = g && ((N == null ? void 0 : N.participantId) !== c || (N == null ? void 0 : N.service) !== u);
377
+ var F;
378
+ const { service: u, debug: f } = qe(), c = (F = t == null ? void 0 : t.user) == null ? void 0 : F.id, g = !!(a && s && u && c), [p, v] = O(!1), [_, x] = O(null), [I, E] = O(!1), [M, D] = O(!1), k = g && ((_ == null ? void 0 : _.participantId) !== c || (_ == null ? void 0 : _.service) !== u);
379
379
  return H(() => {
380
380
  if (!g || !u || !c) {
381
381
  v(!1), x(null);
@@ -445,7 +445,7 @@ const re = ({
445
445
  }
446
446
  },
447
447
  handleReportUser: () => {
448
- d == null || d(), m == null || m(), window.open(Bs, "_blank", "noopener,noreferrer");
448
+ d == null || d(), m == null || m(), window.open(Us, "_blank", "noopener,noreferrer");
449
449
  }
450
450
  };
451
451
  }, fe = ({
@@ -480,7 +480,7 @@ const re = ({
480
480
  triggerClassName: u
481
481
  }) => {
482
482
  const [f, c] = O(!1), g = G(null), p = En(), v = Y(() => c(!1), []), {
483
- isParticipantBlocked: N,
483
+ isParticipantBlocked: _,
484
484
  isCheckingBlockedStatus: x,
485
485
  isLeaving: I,
486
486
  isUpdatingBlockStatus: E,
@@ -488,7 +488,7 @@ const re = ({
488
488
  handleBlockUser: D,
489
489
  handleUnblockUser: k,
490
490
  handleReportUser: T
491
- } = Us({
491
+ } = js({
492
492
  channel: e,
493
493
  participant: t,
494
494
  showBlockParticipant: a,
@@ -503,10 +503,10 @@ const re = ({
503
503
  });
504
504
  return H(() => {
505
505
  if (!f) return;
506
- const S = (B) => {
507
- g.current && !g.current.contains(B.target) && c(!1);
508
- }, R = (B) => {
509
- B.key === "Escape" && c(!1);
506
+ const S = (F) => {
507
+ g.current && !g.current.contains(F.target) && c(!1);
508
+ }, R = (F) => {
509
+ F.key === "Escape" && c(!1);
510
510
  };
511
511
  return document.addEventListener("mousedown", S), document.addEventListener("keydown", R), () => {
512
512
  document.removeEventListener("mousedown", S), document.removeEventListener("keydown", R);
@@ -522,7 +522,7 @@ const re = ({
522
522
  "aria-controls": f ? p : void 0,
523
523
  onClick: () => c((S) => !S),
524
524
  children: [
525
- /* @__PURE__ */ n(us, { className: "size-5 text-black/90" }),
525
+ /* @__PURE__ */ n(ms, { className: "size-5 text-black/90" }),
526
526
  /* @__PURE__ */ n("span", { className: "sr-only", children: "More options" })
527
527
  ]
528
528
  }
@@ -544,7 +544,7 @@ const re = ({
544
544
  disabled: I,
545
545
  "aria-busy": I,
546
546
  children: [
547
- I ? /* @__PURE__ */ n(Ce, { className: "h-5 w-5 animate-spin" }) : /* @__PURE__ */ n(ms, { className: "h-5 w-5" }),
547
+ I ? /* @__PURE__ */ n(Ce, { className: "h-5 w-5 animate-spin" }) : /* @__PURE__ */ n(hs, { className: "h-5 w-5" }),
548
548
  /* @__PURE__ */ n("span", { children: "Delete Conversation" })
549
549
  ]
550
550
  }
@@ -556,7 +556,7 @@ const re = ({
556
556
  /* @__PURE__ */ n(Ce, { className: "h-5 w-5 animate-spin" }),
557
557
  /* @__PURE__ */ n("span", { children: "Block" })
558
558
  ] })
559
- ) : N ? /* @__PURE__ */ h(
559
+ ) : _ ? /* @__PURE__ */ h(
560
560
  fe,
561
561
  {
562
562
  onClick: k,
@@ -588,13 +588,13 @@ const re = ({
588
588
  }
589
589
  )
590
590
  ] });
591
- }, js = (e) => /* @__PURE__ */ n(An, { ...e, position: "center" }), je = "vote_up", Ve = "vote_down";
592
- function Vs(e) {
591
+ }, Vs = (e) => /* @__PURE__ */ n(An, { ...e, position: "center" }), je = "vote_up", Ve = "vote_down";
592
+ function Gs(e) {
593
593
  return e != null && e.length ? e.some((t) => t.type === Ve) ? "down" : e.some((t) => t.type === je) ? "up" : null : null;
594
594
  }
595
- function Gs(e) {
595
+ function Hs(e) {
596
596
  const { channel: t } = de(), { client: s } = Ye("useMessageVote"), a = te(
597
- () => Vs(e.own_reactions),
597
+ () => Gs(e.own_reactions),
598
598
  [e.own_reactions]
599
599
  ), r = Y(async () => {
600
600
  if (s != null && s.userID)
@@ -619,7 +619,7 @@ function Gs(e) {
619
619
  }, [t, s == null ? void 0 : s.userID, e.id, a]);
620
620
  return { selected: a, voteUp: r, voteDown: i };
621
621
  }
622
- function Hs(e) {
622
+ function Ys(e) {
623
623
  return (e == null ? void 0 : e.trim().toLowerCase().split(/[-_]/)[0]) || void 0;
624
624
  }
625
625
  function Xt({
@@ -627,16 +627,16 @@ function Xt({
627
627
  viewerLanguage: t
628
628
  }) {
629
629
  var r;
630
- const s = e == null ? void 0 : e.text, a = Hs(t);
630
+ const s = e == null ? void 0 : e.text, a = Ys(t);
631
631
  return a ? ((r = e == null ? void 0 : e.i18n) == null ? void 0 : r[`${a}_text`]) ?? s : s;
632
632
  }
633
- const Ys = F.lazy(() => import("./Card-BgS405Np.js")), qs = F.lazy(() => import("./Card-C0w-vE4P.js")), Ws = F.lazy(() => import("./Card-BSMnJuUn.js")), We = () => /* @__PURE__ */ n(
633
+ const qs = j.lazy(() => import("./Card-vagKHhvf.js")), Ws = j.lazy(() => import("./Card-CdMpzGPZ.js")), Xs = j.lazy(() => import("./Card-D1L3wBz6.js")), We = () => /* @__PURE__ */ n(
634
634
  "div",
635
635
  {
636
636
  className: "w-[280px] min-h-[200px] animate-pulse rounded-md bg-black/[0.06] shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.04),0_8px_32px_rgba(0,0,0,0.1)]",
637
637
  "aria-hidden": !0
638
638
  }
639
- ), Xs = (e) => /* @__PURE__ */ n(He, { fallback: /* @__PURE__ */ n(We, {}), children: /* @__PURE__ */ n(Ys, { ...e }) }), Kt = (e) => /* @__PURE__ */ n(He, { fallback: /* @__PURE__ */ n(We, {}), children: /* @__PURE__ */ n(qs, { ...e }) }), Jt = (e) => /* @__PURE__ */ n(He, { fallback: /* @__PURE__ */ n(We, {}), children: /* @__PURE__ */ n(Ws, { ...e }) }), Ks = Kt, Js = Jt, Ot = { Composer: Xs, Sent: Kt, Received: Jt, Creator: Ks, Visitor: Js }, Zs = [
639
+ ), Ks = (e) => /* @__PURE__ */ n(He, { fallback: /* @__PURE__ */ n(We, {}), children: /* @__PURE__ */ n(qs, { ...e }) }), Kt = (e) => /* @__PURE__ */ n(He, { fallback: /* @__PURE__ */ n(We, {}), children: /* @__PURE__ */ n(Ws, { ...e }) }), Jt = (e) => /* @__PURE__ */ n(He, { fallback: /* @__PURE__ */ n(We, {}), children: /* @__PURE__ */ n(Xs, { ...e }) }), Js = Kt, Zs = Jt, Ot = { Composer: Ks, Sent: Kt, Received: Jt, Creator: Js, Visitor: Zs }, Qs = [
640
640
  [/pdf/, "pdf"],
641
641
  [/wordprocessingml|msword|\.doc/, "doc"],
642
642
  [/spreadsheetml|ms-excel|\.xls/, "xls"],
@@ -650,38 +650,38 @@ function se(e) {
650
650
  return e.startsWith("video/") ? "video" : e.startsWith("audio/") ? "audio" : e.startsWith("image/") ? "image" : "document";
651
651
  }
652
652
  function Zt(e) {
653
- const t = Zs.find(
653
+ const t = Qs.find(
654
654
  ([s]) => s.test(e)
655
655
  );
656
656
  return t ? t[1] : "generic";
657
657
  }
658
- const Qs = {
658
+ const ea = {
659
659
  video: Gt,
660
- audio: fs,
661
- image: hs,
660
+ audio: gs,
661
+ image: fs,
662
662
  document: Vt
663
- }, ea = {
664
- pdf: _s,
663
+ }, ta = {
664
+ pdf: ys,
665
665
  doc: Ns,
666
- xls: ws,
667
- csv: xs,
668
- ppt: vs,
669
- zip: ps,
670
- text: bs,
671
- markdown: gs,
666
+ xls: _s,
667
+ csv: ws,
668
+ ppt: xs,
669
+ zip: vs,
670
+ text: ps,
671
+ markdown: bs,
672
672
  generic: Vt
673
673
  };
674
- function ta(e) {
674
+ function na(e) {
675
675
  const t = se(e);
676
- return t !== "document" ? Qs[t] : ea[Zt(e)];
676
+ return t !== "document" ? ea[t] : ta[Zt(e)];
677
677
  }
678
678
  function ce(e, t) {
679
- return F.createElement(ta(e), t);
679
+ return j.createElement(na(e), t);
680
680
  }
681
- const na = (e) => {
681
+ const sa = (e) => {
682
682
  var t, s;
683
683
  return "touches" in e ? ((t = e.touches[0]) == null ? void 0 : t.clientX) ?? ((s = e.changedTouches[0]) == null ? void 0 : s.clientX) ?? 0 : e.clientX;
684
- }, sa = ({
684
+ }, aa = ({
685
685
  source: e,
686
686
  mimeType: t,
687
687
  poster: s,
@@ -693,7 +693,7 @@ const na = (e) => {
693
693
  muted: d = !1,
694
694
  onContainerClick: m
695
695
  }) => {
696
- const b = se(t), u = G(null), f = G(null), c = G(null), g = G(r), [p, v] = O(a), [N, x] = O(0), [I, E] = O(!1), [M, D] = O(!1), [k, T] = O(!1), [_, S] = O(!1), [R, B] = O(!0), [A, P] = O(null), z = Y(() => {
696
+ const b = se(t), u = G(null), f = G(null), c = G(null), g = G(r), [p, v] = O(a), [_, x] = O(0), [I, E] = O(!1), [M, D] = O(!1), [k, T] = O(!1), [N, S] = O(!1), [R, F] = O(!0), [A, P] = O(null), z = Y(() => {
697
697
  T(!1), v(!0);
698
698
  }, []), V = Y((w) => {
699
699
  const y = f.current;
@@ -701,15 +701,15 @@ const na = (e) => {
701
701
  const $ = y.getBoundingClientRect();
702
702
  return Math.max(
703
703
  0,
704
- Math.min(1, (na(w) - $.left) / $.width)
704
+ Math.min(1, (sa(w) - $.left) / $.width)
705
705
  );
706
- }, []), U = Y((w) => {
706
+ }, []), B = Y((w) => {
707
707
  const y = u.current;
708
708
  y && y.duration && (y.currentTime = w * y.duration);
709
- }, []), j = (w) => {
709
+ }, []), U = (w) => {
710
710
  w.stopPropagation(), E(!0);
711
711
  const y = V(w);
712
- x(y), U(y);
712
+ x(y), B(y);
713
713
  };
714
714
  H(() => {
715
715
  r !== void 0 && r !== g.current && (g.current = r, v(r));
@@ -733,13 +733,13 @@ const na = (e) => {
733
733
  }, [p]), H(() => {
734
734
  if (!I) return;
735
735
  const w = ($) => x(V($)), y = ($) => {
736
- E(!1), U(V($));
736
+ E(!1), B(V($));
737
737
  };
738
738
  return window.addEventListener("mousemove", w), window.addEventListener("mouseup", y), window.addEventListener("touchmove", w, { passive: !0 }), window.addEventListener("touchend", y), () => {
739
739
  window.removeEventListener("mousemove", w), window.removeEventListener("mouseup", y), window.removeEventListener("touchmove", w), window.removeEventListener("touchend", y);
740
740
  };
741
- }, [I, V, U]);
742
- const q = A ? { aspectRatio: String(A) } : void 0, W = A ? "" : " aspect-video", L = Math.round(N * 100);
741
+ }, [I, V, B]);
742
+ const q = A ? { aspectRatio: String(A) } : void 0, W = A ? "" : " aspect-video", L = Math.round(_ * 100);
743
743
  return /* @__PURE__ */ h(
744
744
  "div",
745
745
  {
@@ -786,7 +786,7 @@ const na = (e) => {
786
786
  style: { width: "100%", height: "100%" },
787
787
  onLoadStart: () => S(!0),
788
788
  onCanPlay: () => {
789
- S(!1), B(!1);
789
+ S(!1), F(!1);
790
790
  },
791
791
  onWaiting: () => S(!0),
792
792
  onPlay: () => T(!1),
@@ -806,7 +806,7 @@ const na = (e) => {
806
806
  style: { width: "100%", height: "100%" },
807
807
  onLoadStart: () => S(!0),
808
808
  onCanPlay: () => {
809
- S(!1), B(!1);
809
+ S(!1), F(!1);
810
810
  },
811
811
  onWaiting: () => S(!0),
812
812
  onPlay: () => T(!1),
@@ -820,7 +820,7 @@ const na = (e) => {
820
820
  children: /* @__PURE__ */ n("track", { kind: "captions" })
821
821
  }
822
822
  ) }),
823
- _ && !k && /* @__PURE__ */ n("div", { className: "absolute inset-0 z-10 flex items-center justify-center", children: /* @__PURE__ */ n(
823
+ N && !k && /* @__PURE__ */ n("div", { className: "absolute inset-0 z-10 flex items-center justify-center", children: /* @__PURE__ */ n(
824
824
  be,
825
825
  {
826
826
  className: "size-8 animate-spin text-white/80",
@@ -854,11 +854,11 @@ const na = (e) => {
854
854
  tabIndex: 0,
855
855
  ref: f,
856
856
  className: "relative flex h-4 w-full cursor-pointer items-center",
857
- onMouseDown: j,
858
- onTouchStart: j,
857
+ onMouseDown: U,
858
+ onTouchStart: U,
859
859
  onClick: (w) => w.stopPropagation(),
860
860
  onKeyDown: (w) => {
861
- w.key === "ArrowRight" && U(Math.min(1, N + 0.05)), w.key === "ArrowLeft" && U(Math.max(0, N - 0.05));
861
+ w.key === "ArrowRight" && B(Math.min(1, _ + 0.05)), w.key === "ArrowLeft" && B(Math.max(0, _ - 0.05));
862
862
  },
863
863
  children: /* @__PURE__ */ n("div", { className: "w-full overflow-hidden rounded-full bg-white/30 h-1", children: /* @__PURE__ */ n(
864
864
  "div",
@@ -879,7 +879,7 @@ const na = (e) => {
879
879
  },
880
880
  className: "shrink-0 text-white",
881
881
  "aria-label": p ? "Pause" : "Play",
882
- children: p ? /* @__PURE__ */ n(ys, { className: "size-5", weight: "fill" }) : /* @__PURE__ */ n(Be, { className: "size-5 translate-x-px", weight: "fill" })
882
+ children: p ? /* @__PURE__ */ n(Cs, { className: "size-5", weight: "fill" }) : /* @__PURE__ */ n(Be, { className: "size-5 translate-x-px", weight: "fill" })
883
883
  }
884
884
  ),
885
885
  /* @__PURE__ */ h(
@@ -893,13 +893,13 @@ const na = (e) => {
893
893
  tabIndex: 0,
894
894
  ref: f,
895
895
  className: "relative flex h-4 w-full cursor-pointer items-center",
896
- onMouseDown: j,
897
- onTouchStart: j,
896
+ onMouseDown: U,
897
+ onTouchStart: U,
898
898
  onClick: (w) => w.stopPropagation(),
899
899
  onMouseEnter: () => D(!0),
900
900
  onMouseLeave: () => D(!1),
901
901
  onKeyDown: (w) => {
902
- w.key === "ArrowRight" && U(Math.min(1, N + 0.05)), w.key === "ArrowLeft" && U(Math.max(0, N - 0.05));
902
+ w.key === "ArrowRight" && B(Math.min(1, _ + 0.05)), w.key === "ArrowLeft" && B(Math.max(0, _ - 0.05));
903
903
  },
904
904
  children: [
905
905
  /* @__PURE__ */ n(
@@ -929,7 +929,7 @@ const na = (e) => {
929
929
  ]
930
930
  }
931
931
  );
932
- }, zt = (e) => e === "dark" ? "size-12 text-white/20" : "size-12 text-black/20", aa = (e) => e === "dark" ? "aspect-video overflow-hidden bg-white/10" : "aspect-video overflow-hidden bg-black/5", Qt = ({
932
+ }, zt = (e) => e === "dark" ? "size-12 text-white/20" : "size-12 text-black/20", ra = (e) => e === "dark" ? "aspect-video overflow-hidden bg-white/10" : "aspect-video overflow-hidden bg-black/5", Qt = ({
933
933
  mimeType: e,
934
934
  sourceUrl: t,
935
935
  thumbnailUrl: s,
@@ -940,7 +940,7 @@ const na = (e) => {
940
940
  }) => {
941
941
  const l = se(e), [d, m] = O(!1);
942
942
  return t && (l === "video" || l === "audio") ? /* @__PURE__ */ n(
943
- sa,
943
+ aa,
944
944
  {
945
945
  source: t,
946
946
  mimeType: e,
@@ -991,7 +991,7 @@ const na = (e) => {
991
991
  weight: "regular"
992
992
  })
993
993
  }
994
- ) : s ? /* @__PURE__ */ n("div", { className: `relative ${aa(r)}`, children: /* @__PURE__ */ n(
994
+ ) : s ? /* @__PURE__ */ n("div", { className: `relative ${ra(r)}`, children: /* @__PURE__ */ n(
995
995
  "img",
996
996
  {
997
997
  src: s,
@@ -1081,23 +1081,23 @@ function tn(e) {
1081
1081
  function Xe(e) {
1082
1082
  return `w-[280px] select-none overflow-hidden rounded-[24px] ${e ? "bg-[#121110]" : "bg-[#F3F3F1]"} shadow-[0_0_0_1px_rgba(0,0,0,0.04),0_4px_8px_rgba(0,0,0,0.06)]`;
1083
1083
  }
1084
- function ra(e) {
1084
+ function ia(e) {
1085
1085
  return e ? "bg-white/10" : "bg-black/5";
1086
1086
  }
1087
- function ia(e) {
1087
+ function oa(e) {
1088
1088
  return e ? "text-white" : "text-black";
1089
1089
  }
1090
- function oa(e) {
1090
+ function la(e) {
1091
1091
  return e ? "text-white/55" : "text-black/55";
1092
1092
  }
1093
- function la(e) {
1093
+ function ca(e) {
1094
1094
  return e ? "text-white/40" : "text-black/40";
1095
1095
  }
1096
- function ca(e) {
1096
+ function da(e) {
1097
1097
  return e ? "text-white/20" : "text-black/20";
1098
1098
  }
1099
1099
  const Ke = ({ attachment: e, isMyMessage: t }) => {
1100
- const { title: s, text: a, image_url: r, og_scrape_url: i, title_link: o } = e, l = i ?? o, d = typeof l == "string" && l.trim() !== "" ? l : void 0, m = /* @__PURE__ */ h(F.Fragment, { children: [
1100
+ const { title: s, text: a, image_url: r, og_scrape_url: i, title_link: o } = e, l = i ?? o, d = typeof l == "string" && l.trim() !== "" ? l : void 0, m = /* @__PURE__ */ h(j.Fragment, { children: [
1101
1101
  /* @__PURE__ */ n("div", { className: "p-2", children: r ? /* @__PURE__ */ n(
1102
1102
  "img",
1103
1103
  {
@@ -1108,14 +1108,14 @@ const Ke = ({ attachment: e, isMyMessage: t }) => {
1108
1108
  ) : /* @__PURE__ */ n(
1109
1109
  "div",
1110
1110
  {
1111
- className: `aspect-video w-full rounded-[20px] ${ra(t)} flex items-center justify-center`,
1112
- children: /* @__PURE__ */ n(Cs, { className: `size-12 ${ca(t)}` })
1111
+ className: `aspect-video w-full rounded-[20px] ${ia(t)} flex items-center justify-center`,
1112
+ children: /* @__PURE__ */ n(ks, { className: `size-12 ${da(t)}` })
1113
1113
  }
1114
1114
  ) }),
1115
1115
  /* @__PURE__ */ h("div", { className: "px-3 pb-3", children: [
1116
- s && /* @__PURE__ */ n("p", { className: `truncate text-[14px] font-medium leading-5 ${ia(t)}`, children: s }),
1117
- a && /* @__PURE__ */ n("p", { className: `truncate text-[12px] leading-4 ${oa(t)}`, children: a }),
1118
- d && /* @__PURE__ */ n("p", { className: `mt-1 truncate text-[12px] leading-4 ${la(t)}`, children: d })
1116
+ s && /* @__PURE__ */ n("p", { className: `truncate text-[14px] font-medium leading-5 ${oa(t)}`, children: s }),
1117
+ a && /* @__PURE__ */ n("p", { className: `truncate text-[12px] leading-4 ${la(t)}`, children: a }),
1118
+ d && /* @__PURE__ */ n("p", { className: `mt-1 truncate text-[12px] leading-4 ${ca(t)}`, children: d })
1119
1119
  ] })
1120
1120
  ] });
1121
1121
  return d ? /* @__PURE__ */ n("a", { href: d, target: "_blank", rel: "noopener noreferrer", className: "block no-underline", children: m }) : /* @__PURE__ */ n("div", { className: "block", children: m });
@@ -1127,7 +1127,7 @@ function Je(e) {
1127
1127
  var t;
1128
1128
  return (t = e.attachments) == null ? void 0 : t.find(nn);
1129
1129
  }
1130
- async function da(e, t) {
1130
+ async function ua(e, t) {
1131
1131
  let s;
1132
1132
  try {
1133
1133
  s = t ?? new URL(e).pathname.split("/").pop() ?? "download";
@@ -1139,7 +1139,7 @@ async function da(e, t) {
1139
1139
  const r = await a.blob(), i = URL.createObjectURL(r), o = document.createElement("a");
1140
1140
  o.href = i, o.download = s, o.style.display = "none", document.body.appendChild(o), o.click(), document.body.removeChild(o), URL.revokeObjectURL(i);
1141
1141
  }
1142
- const ua = ({
1142
+ const ma = ({
1143
1143
  url: e,
1144
1144
  filename: t
1145
1145
  }) => {
@@ -1151,7 +1151,7 @@ const ua = ({
1151
1151
  onClick: (i) => {
1152
1152
  i.stopPropagation();
1153
1153
  const o = window.open("", "_blank", "noopener,noreferrer");
1154
- a(!0), da(e, t).then(() => {
1154
+ a(!0), ua(e, t).then(() => {
1155
1155
  o == null || o.close();
1156
1156
  }).catch(() => {
1157
1157
  o && (o.location.href = e);
@@ -1159,7 +1159,7 @@ const ua = ({
1159
1159
  },
1160
1160
  disabled: s,
1161
1161
  className: "mt-3 inline-flex h-10 w-full items-center justify-center gap-2 rounded-full bg-[#121110] px-4 text-sm font-medium leading-none text-white hover:bg-[#2a2928] disabled:opacity-70",
1162
- children: s ? /* @__PURE__ */ n(be, { className: "size-4 animate-spin text-white", weight: "bold" }) : /* @__PURE__ */ h(F.Fragment, { children: [
1162
+ children: s ? /* @__PURE__ */ n(be, { className: "size-4 animate-spin text-white", weight: "bold" }) : /* @__PURE__ */ h(j.Fragment, { children: [
1163
1163
  /* @__PURE__ */ n(pe, { className: "size-4 text-white", weight: "bold" }),
1164
1164
  "Download"
1165
1165
  ] })
@@ -1241,10 +1241,10 @@ const sn = ({
1241
1241
  containedImage: i === "image" || i === "document"
1242
1242
  }
1243
1243
  ),
1244
- action: /* @__PURE__ */ n(ua, { url: e, filename: s })
1244
+ action: /* @__PURE__ */ n(ma, { url: e, filename: s })
1245
1245
  }
1246
1246
  );
1247
- }, ma = ({
1247
+ }, ha = ({
1248
1248
  message: e,
1249
1249
  isMyMessage: t = !1
1250
1250
  }) => {
@@ -1275,7 +1275,7 @@ const sn = ({
1275
1275
  }
1276
1276
  )
1277
1277
  ] });
1278
- }, ha = ({
1278
+ }, fa = ({
1279
1279
  message: e
1280
1280
  }) => {
1281
1281
  const t = Je(e);
@@ -1283,7 +1283,7 @@ const sn = ({
1283
1283
  return /* @__PURE__ */ n("div", { className: Xe(!0), children: /* @__PURE__ */ n(Ke, { attachment: t, isMyMessage: !0 }) });
1284
1284
  const s = Ze(e);
1285
1285
  return s ? /* @__PURE__ */ n(sn, { ...s }) : null;
1286
- }, fa = ({
1286
+ }, ga = ({
1287
1287
  message: e
1288
1288
  }) => {
1289
1289
  const t = Je(e);
@@ -1291,18 +1291,18 @@ const sn = ({
1291
1291
  return /* @__PURE__ */ n("div", { className: Xe(!1), children: /* @__PURE__ */ n(Ke, { attachment: t, isMyMessage: !1 }) });
1292
1292
  const s = Ze(e);
1293
1293
  return s ? /* @__PURE__ */ n(an, { ...s }) : null;
1294
- }, Ci = Object.assign(ma, {
1295
- Creator: ha,
1296
- Visitor: fa
1297
- }), ga = {
1294
+ }, ki = Object.assign(ha, {
1295
+ Creator: fa,
1296
+ Visitor: ga
1297
+ }), ba = {
1298
1298
  isUnlocking: () => !1
1299
- }, ba = {
1300
- LockedAttachment: ga
1301
- }, rn = Ge({}), ki = rn.Provider;
1302
- function pa(e) {
1303
- return Te(rn)[e] ?? ba[e];
1299
+ }, pa = {
1300
+ LockedAttachment: ba
1301
+ }, rn = Ge({}), Ei = rn.Provider;
1302
+ function va(e) {
1303
+ return Te(rn)[e] ?? pa[e];
1304
1304
  }
1305
- const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1305
+ const xa = ({ size: e = 15 }) => /* @__PURE__ */ n(
1306
1306
  "svg",
1307
1307
  {
1308
1308
  width: e,
@@ -1319,10 +1319,10 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1319
1319
  }
1320
1320
  )
1321
1321
  }
1322
- ), xa = (e) => {
1322
+ ), wa = (e) => {
1323
1323
  var t;
1324
1324
  return ((t = e.metadata) == null ? void 0 : t.custom_type) === "MESSAGE_TIP";
1325
- }, wa = (e) => {
1325
+ }, _a = (e) => {
1326
1326
  var t;
1327
1327
  return ((t = e.metadata) == null ? void 0 : t.custom_type) === "MESSAGE_PAID";
1328
1328
  }, ke = (e) => {
@@ -1331,7 +1331,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1331
1331
  }, Na = (e) => {
1332
1332
  var t;
1333
1333
  return ((t = e.metadata) == null ? void 0 : t.custom_type) === "MESSAGE_ATTACHMENT";
1334
- }, on = (e) => xa(e) || wa(e), _a = (e) => {
1334
+ }, on = (e) => wa(e) || _a(e), ya = (e) => {
1335
1335
  var t;
1336
1336
  return on(e) && !((t = e.text) != null && t.trim());
1337
1337
  }, Pe = ({
@@ -1349,7 +1349,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1349
1349
  if (!f) return null;
1350
1350
  const c = t ? "message-tip-standalone" : "message-tag message-tag--tip", g = t ? `${f} tip` : `Delivered with ${f} tip`;
1351
1351
  return /* @__PURE__ */ h("div", { className: c, children: [
1352
- /* @__PURE__ */ n(ks, { size: t ? 14 : 12 }),
1352
+ /* @__PURE__ */ n(Es, { size: t ? 14 : 12 }),
1353
1353
  /* @__PURE__ */ n("span", { children: g })
1354
1354
  ] });
1355
1355
  }
@@ -1357,7 +1357,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1357
1357
  "message-chatbot-indicator",
1358
1358
  s ? "message-chatbot-indicator--sender" : "message-chatbot-indicator--receiver",
1359
1359
  o ? "message-chatbot-indicator--attachment" : "message-chatbot-indicator--text"
1360
- ].join(" "), m = /* @__PURE__ */ n("span", { className: "message-chatbot-indicator__label", children: l }), b = /* @__PURE__ */ n("span", { className: "message-chatbot-indicator__icon", children: /* @__PURE__ */ n(va, { size: o ? 12 : 15 }) });
1360
+ ].join(" "), m = /* @__PURE__ */ n("span", { className: "message-chatbot-indicator__label", children: l }), b = /* @__PURE__ */ n("span", { className: "message-chatbot-indicator__icon", children: /* @__PURE__ */ n(xa, { size: o ? 12 : 15 }) });
1361
1361
  return /* @__PURE__ */ n("div", { className: d, "data-testid": "message-chatbot-indicator", children: s && !o ? /* @__PURE__ */ h(ne, { children: [
1362
1362
  m,
1363
1363
  b
@@ -1365,7 +1365,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1365
1365
  b,
1366
1366
  m
1367
1367
  ] }) });
1368
- }, ya = ({
1368
+ }, Ca = ({
1369
1369
  selected: e,
1370
1370
  onVoteUp: t,
1371
1371
  onVoteDown: s
@@ -1381,7 +1381,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1381
1381
  "aria-label": "Good response",
1382
1382
  "aria-pressed": e === "up",
1383
1383
  "data-tooltip": "Good response",
1384
- children: /* @__PURE__ */ n(Es, { size: 16, weight: e === "up" ? "fill" : "regular" })
1384
+ children: /* @__PURE__ */ n(Is, { size: 16, weight: e === "up" ? "fill" : "regular" })
1385
1385
  }
1386
1386
  ),
1387
1387
  /* @__PURE__ */ n(
@@ -1395,11 +1395,11 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1395
1395
  "aria-label": "Bad response",
1396
1396
  "aria-pressed": e === "down",
1397
1397
  "data-tooltip": "Bad response",
1398
- children: /* @__PURE__ */ n(Is, { size: 16, weight: e === "down" ? "fill" : "regular" })
1398
+ children: /* @__PURE__ */ n(Ss, { size: 16, weight: e === "down" ? "fill" : "regular" })
1399
1399
  }
1400
1400
  )
1401
- ] }), Ca = (e) => {
1402
- var ht, ft, gt, bt, pt, vt, xt, wt, Nt, _t, yt, Ct, kt, Et;
1401
+ ] }), ka = (e) => {
1402
+ var ht, ft, gt, bt, pt, vt, xt, wt, _t, Nt, yt, Ct, kt, Et;
1403
1403
  const {
1404
1404
  additionalMessageInputProps: t,
1405
1405
  chatbotVotingEnabled: s,
@@ -1417,13 +1417,13 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1417
1417
  renderText: g,
1418
1418
  threadList: p,
1419
1419
  viewerLanguage: v
1420
- } = e, { client: N } = Ye("CustomMessage"), { channel: x } = de("CustomMessage"), { isUnlocking: I, onUnlockClick: E, onFetchSource: M, onDownloadClick: D } = pa("LockedAttachment"), [k, T] = O(!1), _ = Rn(c.id), { selected: S, voteUp: R, voteDown: B } = Gs(c), {
1420
+ } = e, { client: _ } = Ye("CustomMessage"), { channel: x } = de("CustomMessage"), { isUnlocking: I, onUnlockClick: E, onFetchSource: M, onDownloadClick: D } = va("LockedAttachment"), [k, T] = O(!1), N = Rn(c.id), { selected: S, voteUp: R, voteDown: F } = Hs(c), {
1421
1421
  Attachment: A = Ln,
1422
1422
  EditMessageModal: P = Dn,
1423
1423
  MessageActions: z,
1424
1424
  MessageBlocked: V = Pn,
1425
- MessageBouncePrompt: U = On,
1426
- MessageDeleted: j = zn,
1425
+ MessageBouncePrompt: B = On,
1426
+ MessageDeleted: U = zn,
1427
1427
  MessageIsThreadReplyInChannelButtonIndicator: q = $n,
1428
1428
  MessageRepliesCountButton: W = Fn,
1429
1429
  ReminderNotification: L = Bn,
@@ -1444,7 +1444,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1444
1444
  if (Gn(c))
1445
1445
  return null;
1446
1446
  if (c.deleted_at || c.type === "deleted")
1447
- return /* @__PURE__ */ n(j, { message: c });
1447
+ return /* @__PURE__ */ n(U, { message: c });
1448
1448
  if (Hn(c))
1449
1449
  return /* @__PURE__ */ n(V, {});
1450
1450
  const Z = !p && !!c.reply_count, ae = !p && c.show_in_channel && c.parent_id, ee = c.status === "failed" && ((ht = c.error) == null ? void 0 : ht.status) !== 403, lt = Yn(c);
@@ -1467,7 +1467,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1467
1467
  "str-chat__virtual-message__wrapper--first": i,
1468
1468
  "str-chat__virtual-message__wrapper--group": o
1469
1469
  }
1470
- ), ct = c.poll_id && N.polls.fromState(c.poll_id), dt = _a(c), me = ke(c), ut = Na(c), Re = !!(J != null && J.length && !c.quoted_message), mt = me && ue && Re;
1470
+ ), ct = c.poll_id && _.polls.fromState(c.poll_id), dt = ya(c), me = ke(c), ut = Na(c), Re = !!(J != null && J.length && !c.quoted_message), mt = me && ue && Re;
1471
1471
  return /* @__PURE__ */ h(ne, { children: [
1472
1472
  a && /* @__PURE__ */ n(
1473
1473
  P,
@@ -1478,7 +1478,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1478
1478
  k && /* @__PURE__ */ n(
1479
1479
  qn,
1480
1480
  {
1481
- MessageBouncePrompt: U,
1481
+ MessageBouncePrompt: B,
1482
1482
  onClose: () => T(!1),
1483
1483
  open: k
1484
1484
  }
@@ -1490,7 +1490,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1490
1490
  "data-message-id": c.id,
1491
1491
  children: [
1492
1492
  y && /* @__PURE__ */ n(y, {}),
1493
- !!_ && /* @__PURE__ */ n(L, { reminder: _ }),
1493
+ !!N && /* @__PURE__ */ n(L, { reminder: N }),
1494
1494
  c.user && /* @__PURE__ */ n(
1495
1495
  re,
1496
1496
  {
@@ -1540,8 +1540,8 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1540
1540
  /* @__PURE__ */ n(
1541
1541
  Ot.Received,
1542
1542
  {
1543
- title: (Nt = c.metadata) == null ? void 0 : Nt.attachment_title,
1544
- mimeType: (_t = c.metadata) == null ? void 0 : _t.attachment_mime_type,
1543
+ title: (_t = c.metadata) == null ? void 0 : _t.attachment_title,
1544
+ mimeType: (Nt = c.metadata) == null ? void 0 : Nt.attachment_mime_type,
1545
1545
  thumbnailUrl: (yt = c.metadata) == null ? void 0 : yt.attachment_thumbnail,
1546
1546
  amountText: (Ct = c.metadata) == null ? void 0 : Ct.amount_text,
1547
1547
  detail: (kt = c.metadata) == null ? void 0 : kt.attachment_detail,
@@ -1608,11 +1608,11 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1608
1608
  }
1609
1609
  ),
1610
1610
  s && me && /* @__PURE__ */ n(
1611
- ya,
1611
+ Ca,
1612
1612
  {
1613
1613
  selected: S,
1614
1614
  onVoteUp: R,
1615
- onVoteDown: B
1615
+ onVoteDown: F
1616
1616
  }
1617
1617
  )
1618
1618
  ] }),
@@ -1629,13 +1629,13 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1629
1629
  c.id
1630
1630
  )
1631
1631
  ] });
1632
- }, ka = F.memo(
1633
- Ca,
1632
+ }, Ea = j.memo(
1633
+ ka,
1634
1634
  (e, t) => e.chatbotVotingEnabled !== t.chatbotVotingEnabled || e.viewerLanguage !== t.viewerLanguage ? !1 : Mn(e, t)
1635
- ), Ea = (e) => {
1635
+ ), Ia = (e) => {
1636
1636
  const t = ve("CustomMessage");
1637
- return /* @__PURE__ */ n(ka, { ...t, ...e });
1638
- }, Ia = () => {
1637
+ return /* @__PURE__ */ n(Ea, { ...t, ...e });
1638
+ }, Sa = () => {
1639
1639
  var s;
1640
1640
  const { handleDelete: e, message: t } = ve("CustomMessageActions");
1641
1641
  return ((s = t.metadata) == null ? void 0 : s.payment_status) === "paid" ? null : /* @__PURE__ */ n(
@@ -1645,10 +1645,10 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1645
1645
  "aria-label": "Delete",
1646
1646
  title: "Delete",
1647
1647
  className: "bg-marble rounded-full p-2 hover:bg-sand transition-all",
1648
- children: /* @__PURE__ */ n(Ss, { size: 16, weight: "light", "aria-hidden": !0 })
1648
+ children: /* @__PURE__ */ n(Ts, { size: 16, weight: "light", "aria-hidden": !0 })
1649
1649
  }
1650
1650
  );
1651
- }, Sa = () => {
1651
+ }, Ta = () => {
1652
1652
  const { handleFlag: e } = ve("CustomMessageActions");
1653
1653
  return /* @__PURE__ */ n(
1654
1654
  Ht,
@@ -1660,19 +1660,19 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1660
1660
  children: /* @__PURE__ */ n(jt, { size: 16, weight: "light", "aria-hidden": !0 })
1661
1661
  }
1662
1662
  );
1663
- }, Ta = () => {
1663
+ }, Aa = () => {
1664
1664
  var t;
1665
1665
  const { message: e } = ve("CustomMessageActions");
1666
1666
  return ((t = e.metadata) == null ? void 0 : t.custom_type) !== "MESSAGE_ATTACHMENT" ? null : /* @__PURE__ */ n(
1667
- Ds,
1667
+ Ps,
1668
1668
  {
1669
1669
  messageActionSet: [
1670
- { Component: Ia, placement: "quick", type: "delete" },
1671
- { Component: Sa, placement: "quick", type: "flag" }
1670
+ { Component: Sa, placement: "quick", type: "delete" },
1671
+ { Component: Ta, placement: "quick", type: "flag" }
1672
1672
  ]
1673
1673
  }
1674
1674
  );
1675
- }, Aa = ({
1675
+ }, Ma = ({
1676
1676
  link: e,
1677
1677
  onDismiss: t
1678
1678
  }) => {
@@ -1712,26 +1712,26 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1712
1712
  ]
1713
1713
  }
1714
1714
  );
1715
- }, Ma = (e) => ({
1715
+ }, Ra = (e) => ({
1716
1716
  linkPreviews: Array.from(e.previews.values()).filter(
1717
1717
  (t) => Rt.previewIsLoaded(t) || Rt.previewIsLoading(t)
1718
1718
  )
1719
- }), Ra = () => {
1719
+ }), La = () => {
1720
1720
  const { linkPreviewsManager: e } = Kn(), { linkPreviews: t } = Jn(
1721
1721
  e.state,
1722
- Ma
1722
+ Ra
1723
1723
  ), s = (r) => {
1724
1724
  e.dismissPreview(r);
1725
1725
  };
1726
1726
  return t.length > 0 ? /* @__PURE__ */ n("div", { className: "flex flex-col items-center w-full gap-2 mb-4", children: t.map((r) => /* @__PURE__ */ n(
1727
- Aa,
1727
+ Ma,
1728
1728
  {
1729
1729
  link: r,
1730
1730
  onDismiss: s
1731
1731
  },
1732
1732
  r.og_scrape_url
1733
1733
  )) }) : null;
1734
- }, La = "--messaging-channel-input-spacer-height", Da = typeof window > "u" ? H : In, ln = F.createContext(!1), Pa = ({ sendMessage: e, disabled: t, ...s }) => /* @__PURE__ */ n(
1734
+ }, Da = "--messaging-channel-input-spacer-height", Pa = typeof window > "u" ? H : In, ln = j.createContext(!1), Oa = ({ sendMessage: e, disabled: t, ...s }) => /* @__PURE__ */ n(
1735
1735
  "button",
1736
1736
  {
1737
1737
  ...s,
@@ -1739,16 +1739,16 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1739
1739
  "aria-label": "Send",
1740
1740
  disabled: t,
1741
1741
  onClick: e,
1742
- children: /* @__PURE__ */ n(Ts, { weight: "bold", className: "size-4" })
1742
+ children: /* @__PURE__ */ n(As, { weight: "bold", className: "size-4" })
1743
1743
  }
1744
- ), Oa = () => {
1744
+ ), za = () => {
1745
1745
  const e = Te(ln), { handleSubmit: t } = Qn(), s = es(), a = e || !s, {
1746
- SendButton: r = Pa,
1746
+ SendButton: r = Oa,
1747
1747
  AttachmentPreviewList: i = ts
1748
1748
  } = Ut("CustomMessageInput");
1749
1749
  return /* @__PURE__ */ h("div", { className: "central-container flex flex-col gap-2 min-w-0 w-full p-2 bg-white rounded-[1.5rem] shadow-[0_4px_16px_0_rgba(0,0,0,0.08),0_1px_2px_0_rgba(0,0,0,0.04),0_0_0_1px_rgba(0,0,0,0.04)]", children: [
1750
1750
  /* @__PURE__ */ n(ns, {}),
1751
- /* @__PURE__ */ n(Ra, {}),
1751
+ /* @__PURE__ */ n(La, {}),
1752
1752
  /* @__PURE__ */ n(i, {}),
1753
1753
  /* @__PURE__ */ h("div", { className: "flex", children: [
1754
1754
  /* @__PURE__ */ n("div", { className: "w-full ml-2 mr-4 self-center leading-[0]", children: /* @__PURE__ */ n(
@@ -1775,7 +1775,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1775
1775
  )
1776
1776
  ] })
1777
1777
  ] });
1778
- }, za = ({
1778
+ }, $a = ({
1779
1779
  className: e,
1780
1780
  renderActions: t,
1781
1781
  renderFooter: s,
@@ -1785,7 +1785,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1785
1785
  }) => {
1786
1786
  var b;
1787
1787
  const { channel: o } = de(), l = ((b = o == null ? void 0 : o.data) == null ? void 0 : b.frozen) === !0, d = G(null);
1788
- if (Da(() => {
1788
+ if (Pa(() => {
1789
1789
  if (a)
1790
1790
  return;
1791
1791
  const u = d.current, f = i == null ? void 0 : i.current;
@@ -1793,7 +1793,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1793
1793
  return;
1794
1794
  const c = () => {
1795
1795
  f.style.setProperty(
1796
- La,
1796
+ Da,
1797
1797
  `${u.offsetHeight}px`
1798
1798
  );
1799
1799
  };
@@ -1832,7 +1832,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1832
1832
  className: "message-input flex items-end gap-4 aria-disabled:opacity-40",
1833
1833
  children: [
1834
1834
  m && /* @__PURE__ */ n("div", { className: "flex h-12 shrink-0 items-center justify-center", children: m }),
1835
- /* @__PURE__ */ n(ln.Provider, { value: l, children: /* @__PURE__ */ n(Zn, { Input: Oa }) })
1835
+ /* @__PURE__ */ n(ln.Provider, { value: l, children: /* @__PURE__ */ n(Zn, { Input: za }) })
1836
1836
  ]
1837
1837
  }
1838
1838
  ),
@@ -1840,17 +1840,17 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1840
1840
  ]
1841
1841
  }
1842
1842
  );
1843
- }, $a = [
1843
+ }, Fa = [
1844
1844
  "SYSTEM_DM_AGENT_PAUSED",
1845
1845
  "SYSTEM_DM_AGENT_RESUMED"
1846
- ], Fa = {
1846
+ ], Ba = {
1847
1847
  SYSTEM_DM_AGENT_PAUSED: "DM Agent has left the conversation",
1848
1848
  SYSTEM_DM_AGENT_RESUMED: "DM Agent has rejoined the conversation"
1849
- }, Ba = [
1849
+ }, Ua = [
1850
1850
  "SYSTEM_AGE_SAFETY_BLOCKED"
1851
- ], Ua = {
1851
+ ], ja = {
1852
1852
  SYSTEM_AGE_SAFETY_BLOCKED: "This user isn’t able to reply because they don’t meet our age safety guidelines."
1853
- }, Oe = "age safety guidelines.", ja = "https://linktr.ee/s/about/contact", $t = (e) => $a.includes(e), Va = (e) => Ba.includes(e), Ga = (e) => {
1853
+ }, Oe = "age safety guidelines.", Va = "https://linktr.ee/s/about/contact", $t = (e) => Fa.includes(e), Ga = (e) => Ua.includes(e), Ha = (e) => {
1854
1854
  var a;
1855
1855
  const t = (a = e.metadata) == null ? void 0 : a.custom_type;
1856
1856
  if ($t(t))
@@ -1858,7 +1858,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1858
1858
  kind: "dm-agent",
1859
1859
  type: t
1860
1860
  };
1861
- if (Va(t))
1861
+ if (Ga(t))
1862
1862
  return {
1863
1863
  kind: "age-safety",
1864
1864
  type: t
@@ -1869,7 +1869,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1869
1869
  kind: "dm-agent",
1870
1870
  type: s
1871
1871
  };
1872
- }, Ha = (e) => {
1872
+ }, Ya = (e) => {
1873
1873
  const t = e.indexOf(Oe);
1874
1874
  if (t === -1)
1875
1875
  return e;
@@ -1879,7 +1879,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1879
1879
  /* @__PURE__ */ n(
1880
1880
  "a",
1881
1881
  {
1882
- href: ja,
1882
+ href: Va,
1883
1883
  target: "_blank",
1884
1884
  rel: "noopener noreferrer",
1885
1885
  className: "mes-age-safety-system-message__emphasis font-medium text-inherit underline",
@@ -1888,13 +1888,13 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1888
1888
  ),
1889
1889
  e.slice(s)
1890
1890
  ] });
1891
- }, Ya = (e) => {
1891
+ }, qa = (e) => {
1892
1892
  var a, r;
1893
- const t = e.message.hide_date === !0, s = Ga(
1893
+ const t = e.message.hide_date === !0, s = Ha(
1894
1894
  e.message
1895
1895
  );
1896
1896
  if ((s == null ? void 0 : s.kind) === "dm-agent") {
1897
- const i = ((a = e.message.text) == null ? void 0 : a.trim()) || Fa[s.type];
1897
+ const i = ((a = e.message.text) == null ? void 0 : a.trim()) || Ba[s.type];
1898
1898
  return /* @__PURE__ */ h("div", { className: "str-chat__message--system", "data-testid": "message-system", children: [
1899
1899
  /* @__PURE__ */ h(
1900
1900
  "div",
@@ -1920,7 +1920,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1920
1920
  ] });
1921
1921
  }
1922
1922
  if ((s == null ? void 0 : s.kind) === "age-safety") {
1923
- const i = ((r = e.message.text) == null ? void 0 : r.trim()) || Ua[s.type];
1923
+ const i = ((r = e.message.text) == null ? void 0 : r.trim()) || ja[s.type];
1924
1924
  return /* @__PURE__ */ h("div", { className: "str-chat__message--system", "data-testid": "message-system", children: [
1925
1925
  /* @__PURE__ */ h(
1926
1926
  "div",
@@ -1930,7 +1930,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1930
1930
  "data-age-safety-system-type": s.type,
1931
1931
  children: [
1932
1932
  /* @__PURE__ */ n(
1933
- As,
1933
+ Ms,
1934
1934
  {
1935
1935
  size: 24,
1936
1936
  weight: "duotone",
@@ -1939,7 +1939,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1939
1939
  "data-testid": "age-safety-system-message-icon"
1940
1940
  }
1941
1941
  ),
1942
- /* @__PURE__ */ n("div", { className: "mes-age-safety-system-message__content min-w-0 flex-[1_0_0]", children: /* @__PURE__ */ n("p", { className: "m-0 text-balance text-left text-[12px] font-normal leading-4 tracking-[0.21px] text-[color:var(--text-warning-on-warning,#894b00)]", children: Ha(i) }) })
1942
+ /* @__PURE__ */ n("div", { className: "mes-age-safety-system-message__content min-w-0 flex-[1_0_0]", children: /* @__PURE__ */ n("p", { className: "m-0 text-balance text-left text-[12px] font-normal leading-4 tracking-[0.21px] text-[color:var(--text-warning-on-warning,#894b00)]", children: Ya(i) }) })
1943
1943
  ]
1944
1944
  }
1945
1945
  ),
@@ -1954,7 +1954,7 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1954
1954
  ] }),
1955
1955
  !t && /* @__PURE__ */ n(Le, { message: e.message })
1956
1956
  ] });
1957
- }, cn = Ge(!1), ze = ({ cx: e, index: t }) => /* @__PURE__ */ n("circle", { cx: e, cy: "4", r: "3.9", fill: "#A0A0A0", children: /* @__PURE__ */ n(
1957
+ }, cn = Ge(!1), ze = ({ cx: e, index: t }) => /* @__PURE__ */ n("circle", { cx: e, cy: "6.15", r: "3.9", fill: "#A0A0A0", children: /* @__PURE__ */ n(
1958
1958
  "animateTransform",
1959
1959
  {
1960
1960
  attributeName: "transform",
@@ -1964,15 +1964,15 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1964
1964
  begin: `${120 * t}ms`,
1965
1965
  repeatCount: "indefinite"
1966
1966
  }
1967
- ) }), qa = /* @__PURE__ */ new Set([
1967
+ ) }), Wa = /* @__PURE__ */ new Set([
1968
1968
  De.Thinking,
1969
1969
  De.Generating,
1970
1970
  De.ExternalSources
1971
- ]), Wa = ({ threadList: e }) => {
1971
+ ]), Xa = ({ threadList: e }) => {
1972
1972
  var g, p;
1973
1973
  const { channel: t, channelConfig: s, thread: a } = de(), { client: r } = Ye(), { typing: i = {} } = as(), { aiState: o } = rs(t), l = Te(cn);
1974
- if (!e && l && qa.has(o)) {
1975
- const v = Xa(t, (g = r.user) == null ? void 0 : g.id);
1974
+ if (!e && l && Wa.has(o)) {
1975
+ const v = Ka(t, (g = r.user) == null ? void 0 : g.id);
1976
1976
  return /* @__PURE__ */ n(
1977
1977
  Ft,
1978
1978
  {
@@ -1986,14 +1986,14 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
1986
1986
  if ((s == null ? void 0 : s.typing_events) === !1)
1987
1987
  return null;
1988
1988
  const m = e ? [] : Object.values(i).filter(
1989
- ({ parent_id: v, user: N }) => {
1989
+ ({ parent_id: v, user: _ }) => {
1990
1990
  var x;
1991
- return (N == null ? void 0 : N.id) !== ((x = r.user) == null ? void 0 : x.id) && !v;
1991
+ return (_ == null ? void 0 : _.id) !== ((x = r.user) == null ? void 0 : x.id) && !v;
1992
1992
  }
1993
1993
  ), b = e ? Object.values(i).filter(
1994
- ({ parent_id: v, user: N }) => {
1994
+ ({ parent_id: v, user: _ }) => {
1995
1995
  var x;
1996
- return (N == null ? void 0 : N.id) !== ((x = r.user) == null ? void 0 : x.id) && v === (a == null ? void 0 : a.id);
1996
+ return (_ == null ? void 0 : _.id) !== ((x = r.user) == null ? void 0 : x.id) && v === (a == null ? void 0 : a.id);
1997
1997
  }
1998
1998
  ) : [], u = e ? b : m;
1999
1999
  if (!u.length)
@@ -2013,31 +2013,34 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
2013
2013
  avatarName: t,
2014
2014
  avatarImage: s,
2015
2015
  testId: a
2016
- }) => /* @__PURE__ */ h(
2016
+ }) => /* @__PURE__ */ n(
2017
2017
  "div",
2018
2018
  {
2019
- className: "str-chat__typing-indicator !items-end !bg-transparent",
2019
+ className: "str-chat__li str-chat__li--single str-chat__typing-indicator !static",
2020
2020
  "data-testid": a,
2021
- style: { insetInlineStart: 0, insetInlineEnd: "auto" },
2022
- children: [
2023
- /* @__PURE__ */ n("div", { className: "shrink-0", "aria-hidden": "true", children: /* @__PURE__ */ n(
2021
+ style: {
2022
+ marginBottom: "var(--messaging-channel-input-spacer-height, 80px)"
2023
+ },
2024
+ children: /* @__PURE__ */ h("div", { className: "str-chat__message str-chat__message-simple str-chat__message--regular str-chat__message--received str-chat__message--other str-chat__message--has-text", children: [
2025
+ /* @__PURE__ */ n(
2024
2026
  re,
2025
2027
  {
2028
+ className: "str-chat__avatar str-chat__message-sender-avatar",
2026
2029
  id: e,
2027
2030
  name: t,
2028
2031
  image: s ?? void 0,
2029
2032
  size: 24,
2030
2033
  shape: "circle"
2031
2034
  }
2032
- ) }),
2033
- /* @__PURE__ */ n("div", { className: "px-4 py-3 rounded-lg bg-[#E9EAED] h-12 flex flex-col justify-end", children: /* @__PURE__ */ h(
2035
+ ),
2036
+ /* @__PURE__ */ n("div", { className: "str-chat__message-inner mx-0", children: /* @__PURE__ */ n("div", { className: "str-chat__message-bubble-wrapper", children: /* @__PURE__ */ n("div", { className: "str-chat__message-bubble", children: /* @__PURE__ */ n("div", { className: "str-chat__message-text min-h-11 flex items-center", children: /* @__PURE__ */ n("div", { className: "str-chat__message-text-inner str-chat__message-simple-text-inner", children: /* @__PURE__ */ h(
2034
2037
  "svg",
2035
2038
  {
2036
2039
  "aria-hidden": "true",
2037
- className: "block overflow-visible mb-[0.2rem]",
2038
- viewBox: "0 0 32 8",
2040
+ className: "block overflow-visible",
2041
+ viewBox: "0 0 32 12.3",
2039
2042
  width: "32",
2040
- height: "8",
2043
+ height: "13",
2041
2044
  overflow: "visible",
2042
2045
  children: [
2043
2046
  /* @__PURE__ */ n(ze, { cx: "4", index: 0 }),
@@ -2045,11 +2048,11 @@ const va = ({ size: e = 15 }) => /* @__PURE__ */ n(
2045
2048
  /* @__PURE__ */ n(ze, { cx: "28", index: 2 })
2046
2049
  ]
2047
2050
  }
2048
- ) })
2049
- ]
2051
+ ) }) }) }) }) })
2052
+ ] })
2050
2053
  }
2051
2054
  );
2052
- function Xa(e, t) {
2055
+ function Ka(e, t) {
2053
2056
  var a;
2054
2057
  const s = ((a = e == null ? void 0 : e.state) == null ? void 0 : a.members) ?? {};
2055
2058
  for (const r of Object.values(s)) {
@@ -2058,7 +2061,7 @@ function Xa(e, t) {
2058
2061
  return i;
2059
2062
  }
2060
2063
  }
2061
- const Ka = () => null, Ja = ({ className: e, message: t }) => /* @__PURE__ */ h(
2064
+ const Ja = () => null, Za = ({ className: e, message: t }) => /* @__PURE__ */ h(
2062
2065
  "div",
2063
2066
  {
2064
2067
  className: C("flex items-center justify-center h-full", e),
@@ -2101,12 +2104,12 @@ const Ka = () => null, Ja = ({ className: e, message: t }) => /* @__PURE__ */ h(
2101
2104
  t && /* @__PURE__ */ n("span", { className: "text-stone", children: t })
2102
2105
  ]
2103
2106
  }
2104
- ), Ee = F.memo(() => /* @__PURE__ */ n("div", { className: "messaging-loading-state flex items-center justify-center h-full", children: /* @__PURE__ */ h("div", { className: "flex items-center", children: [
2105
- /* @__PURE__ */ n(Ja, { className: "w-6 h-6" }),
2107
+ ), Ee = j.memo(() => /* @__PURE__ */ n("div", { className: "messaging-loading-state flex items-center justify-center h-full", children: /* @__PURE__ */ h("div", { className: "flex items-center", children: [
2108
+ /* @__PURE__ */ n(Za, { className: "w-6 h-6" }),
2106
2109
  /* @__PURE__ */ n("span", { className: "text-sm text-stone", children: "Loading messages" })
2107
2110
  ] }) }));
2108
2111
  Ee.displayName = "LoadingState";
2109
- const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-center transition-colors duration-150 focus-ring", Bt = "Replies instantly with AI assistant", Za = ({
2112
+ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-center transition-colors duration-150 focus-ring", Bt = "Replies instantly with AI assistant", Qa = ({
2110
2113
  onBack: e,
2111
2114
  showBackButton: t,
2112
2115
  showStarButton: s = !1,
@@ -2123,22 +2126,22 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2123
2126
  showActionsMenu: c = !0
2124
2127
  }) => {
2125
2128
  var E, M, D, k, T;
2126
- const { channel: g } = de(), p = F.useMemo(() => {
2127
- var R, B;
2128
- const _ = (R = g._client) == null ? void 0 : R.userID;
2129
- return _ ? Object.values(((B = g.state) == null ? void 0 : B.members) || {}).find(
2129
+ const { channel: g } = de(), p = j.useMemo(() => {
2130
+ var R, F;
2131
+ const N = (R = g._client) == null ? void 0 : R.userID;
2132
+ return N ? Object.values(((F = g.state) == null ? void 0 : F.members) || {}).find(
2130
2133
  (A) => {
2131
2134
  var P;
2132
- return ((P = A.user) == null ? void 0 : P.id) && A.user.id !== _;
2135
+ return ((P = A.user) == null ? void 0 : P.id) && A.user.id !== N;
2133
2136
  }
2134
2137
  ) : void 0;
2135
- }, [(E = g._client) == null ? void 0 : E.userID, (M = g.state) == null ? void 0 : M.members]), v = Wt(p == null ? void 0 : p.user), N = (D = p == null ? void 0 : p.user) == null ? void 0 : D.image, x = qt(g), I = async () => {
2138
+ }, [(E = g._client) == null ? void 0 : E.userID, (M = g.state) == null ? void 0 : M.members]), v = Wt(p == null ? void 0 : p.user), _ = (D = p == null ? void 0 : p.user) == null ? void 0 : D.image, x = qt(g), I = async () => {
2136
2139
  try {
2137
2140
  x ? await g.unpin() : await g.pin();
2138
- } catch (_) {
2141
+ } catch (N) {
2139
2142
  console.error(
2140
2143
  "[CustomChannelHeader] Failed to update pinned status:",
2141
- _
2144
+ N
2142
2145
  );
2143
2146
  }
2144
2147
  };
@@ -2164,7 +2167,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2164
2167
  {
2165
2168
  id: ((k = p == null ? void 0 : p.user) == null ? void 0 : k.id) || g.id || "unknown",
2166
2169
  name: v,
2167
- image: N,
2170
+ image: _,
2168
2171
  starred: s && x,
2169
2172
  dmAgentEnabled: a,
2170
2173
  size: 48
@@ -2235,7 +2238,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2235
2238
  {
2236
2239
  id: ((T = p == null ? void 0 : p.user) == null ? void 0 : T.id) || g.id || "unknown",
2237
2240
  name: v,
2238
- image: N,
2241
+ image: _,
2239
2242
  starred: s && x,
2240
2243
  dmAgentEnabled: a,
2241
2244
  size: 48
@@ -2289,7 +2292,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2289
2292
  ] })
2290
2293
  ] })
2291
2294
  ] });
2292
- }, Qa = ({
2295
+ }, er = ({
2293
2296
  onBack: e,
2294
2297
  showBackButton: t,
2295
2298
  renderMessageInputActions: s,
@@ -2307,15 +2310,15 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2307
2310
  composerDisabledReason: g,
2308
2311
  showStarButton: p = !1,
2309
2312
  chatbotVotingEnabled: v = !1,
2310
- renderChannelBanner: N,
2313
+ renderChannelBanner: _,
2311
2314
  customChannelActions: x,
2312
2315
  renderMessage: I,
2313
2316
  dmAgentEnabled: E = !1,
2314
2317
  viewerLanguage: M,
2315
2318
  showChannelInfo: D = !0
2316
2319
  }) => {
2317
- var z, V, U, j, q, W;
2318
- const { channel: k } = de(), T = F.useMemo(() => {
2320
+ var z, V, B, U, q, W;
2321
+ const { channel: k } = de(), T = j.useMemo(() => {
2319
2322
  var y, $;
2320
2323
  const L = (y = k._client) == null ? void 0 : y.userID;
2321
2324
  return L ? Object.values((($ = k.state) == null ? void 0 : $.members) || {}).find(
@@ -2324,17 +2327,17 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2324
2327
  return ((K = X.user) == null ? void 0 : K.id) && X.user.id !== L;
2325
2328
  }
2326
2329
  ) : void 0;
2327
- }, [(z = k._client) == null ? void 0 : z.userID, (V = k.state) == null ? void 0 : V.members]), _ = F.useMemo(() => {
2330
+ }, [(z = k._client) == null ? void 0 : z.userID, (V = k.state) == null ? void 0 : V.members]), N = j.useMemo(() => {
2328
2331
  var y, $;
2329
2332
  const L = (y = k._client) == null ? void 0 : y.userID;
2330
2333
  return L ? Object.values((($ = k.state) == null ? void 0 : $.members) || {}).find((X) => {
2331
2334
  var K;
2332
2335
  return ((K = X.user) == null ? void 0 : K.id) === L;
2333
2336
  }) : void 0;
2334
- }, [(U = k._client) == null ? void 0 : U.userID, (j = k.state) == null ? void 0 : j.members]), S = ((q = _ == null ? void 0 : _.user) == null ? void 0 : q.is_account) ?? (_ == null ? void 0 : _.is_account), R = ((W = T == null ? void 0 : T.user) == null ? void 0 : W.is_account) ?? (T == null ? void 0 : T.is_account), B = E && S === !1 && R === !0, A = G(null), P = Y(
2337
+ }, [(B = k._client) == null ? void 0 : B.userID, (U = k.state) == null ? void 0 : U.members]), S = ((q = N == null ? void 0 : N.user) == null ? void 0 : q.is_account) ?? (N == null ? void 0 : N.is_account), R = ((W = T == null ? void 0 : T.user) == null ? void 0 : W.is_account) ?? (T == null ? void 0 : T.is_account), F = E && S === !1 && R === !0, A = G(null), P = Y(
2335
2338
  (L) => {
2336
2339
  const { message: w } = ve("ChannelView"), y = /* @__PURE__ */ n(
2337
- Ea,
2340
+ Ia,
2338
2341
  {
2339
2342
  ...L,
2340
2343
  chatbotVotingEnabled: v,
@@ -2350,17 +2353,17 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2350
2353
  {
2351
2354
  overrides: {
2352
2355
  Message: P,
2353
- MessageActions: Ta
2356
+ MessageActions: Aa
2354
2357
  },
2355
2358
  children: /* @__PURE__ */ h(ls, { children: [
2356
2359
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
2357
- Za,
2360
+ Qa,
2358
2361
  {
2359
2362
  onBack: e,
2360
2363
  showBackButton: t,
2361
2364
  showActionsMenu: D,
2362
2365
  showStarButton: p,
2363
- dmAgentEnabled: B,
2366
+ dmAgentEnabled: F,
2364
2367
  onLeaveConversation: i,
2365
2368
  onBlockParticipant: o,
2366
2369
  showDeleteConversation: l,
@@ -2372,7 +2375,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2372
2375
  customChannelActions: x
2373
2376
  }
2374
2377
  ) }, "lt-channel-header"),
2375
- N ? /* @__PURE__ */ n(F.Fragment, { children: N() }, "lt-channel-banner") : null,
2378
+ _ ? /* @__PURE__ */ n(j.Fragment, { children: _() }, "lt-channel-banner") : null,
2376
2379
  /* @__PURE__ */ n(
2377
2380
  "div",
2378
2381
  {
@@ -2382,17 +2385,22 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2382
2385
  cs,
2383
2386
  {
2384
2387
  hideDeletedMessages: !0,
2385
- hideNewMessageSeparator: !1
2388
+ hideNewMessageSeparator: !1,
2389
+ renderMessages: (L) => {
2390
+ const w = ds(L);
2391
+ return r && w.push(
2392
+ /* @__PURE__ */ n("li", { children: r(k) }, "lt-channel-conversation-footer")
2393
+ ), w;
2394
+ }
2386
2395
  }
2387
2396
  )
2388
2397
  },
2389
2398
  "lt-channel-message-list"
2390
2399
  ),
2391
- r ? /* @__PURE__ */ n(F.Fragment, { children: r(k) }, "lt-channel-conversation-footer") : null,
2392
2400
  /* @__PURE__ */ h("div", { className: "absolute bottom-0 inset-x-0 flex w-full", children: [
2393
2401
  /* @__PURE__ */ n("div", { className: "absolute bottom-0 inset-x-0 w-full h-4/5 backdrop-blur-[16px] [mask-image:linear-gradient(to_top,black_0%,transparent_100%)] [-webkit-mask-image:linear-gradient(to_top,black_0%,transparent_100%)]" }),
2394
2402
  /* @__PURE__ */ n(
2395
- za,
2403
+ $a,
2396
2404
  {
2397
2405
  className: "isolate w-full p-4 pt-1",
2398
2406
  spacerTargetRef: A,
@@ -2407,7 +2415,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2407
2415
  ] })
2408
2416
  }
2409
2417
  ) });
2410
- }, dn = F.memo(
2418
+ }, dn = j.memo(
2411
2419
  ({
2412
2420
  channel: e,
2413
2421
  onBack: t,
@@ -2418,7 +2426,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2418
2426
  onLeaveConversation: o,
2419
2427
  onBlockParticipant: l,
2420
2428
  className: d,
2421
- CustomChannelEmptyState: m = Ka,
2429
+ CustomChannelEmptyState: m = Ja,
2422
2430
  showDeleteConversation: b = !0,
2423
2431
  onDeleteConversationClick: u,
2424
2432
  onBlockParticipantClick: f,
@@ -2426,7 +2434,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2426
2434
  showBlockParticipant: g = !0,
2427
2435
  showReportParticipant: p = !0,
2428
2436
  composerDisabled: v = !1,
2429
- composerDisabledReason: N,
2437
+ composerDisabledReason: _,
2430
2438
  dmAgentEnabled: x,
2431
2439
  messageMetadata: I,
2432
2440
  onMessageSent: E,
@@ -2434,22 +2442,22 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2434
2442
  chatbotVotingEnabled: D = !1,
2435
2443
  renderChannelBanner: k,
2436
2444
  customChannelActions: T,
2437
- renderMessage: _,
2445
+ renderMessage: N,
2438
2446
  onMessageLinkClick: S,
2439
2447
  sendButton: R,
2440
- attachmentPreviewList: B,
2448
+ attachmentPreviewList: F,
2441
2449
  viewerLanguage: A,
2442
2450
  showChannelInfo: P = !0
2443
2451
  }) => {
2444
2452
  const z = Y(
2445
- async (U, j, q) => {
2453
+ async (B, U, q) => {
2446
2454
  var X;
2447
2455
  const W = ((X = e.data) == null ? void 0 : X.chatbot_paused) === !0, L = x && !W, w = {
2448
- ...j,
2456
+ ...U,
2449
2457
  ...L && { silent: !0 },
2450
2458
  ...I && {
2451
2459
  metadata: {
2452
- ...j.metadata ?? {},
2460
+ ...U.metadata ?? {},
2453
2461
  ...I
2454
2462
  }
2455
2463
  }
@@ -2463,15 +2471,15 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2463
2471
  ), V = G(null);
2464
2472
  return H(() => {
2465
2473
  if (!S) return;
2466
- const U = V.current;
2467
- if (!U) return;
2468
- const j = (q) => {
2474
+ const B = V.current;
2475
+ if (!B) return;
2476
+ const U = (q) => {
2469
2477
  const W = q.target, L = W == null ? void 0 : W.closest("a[href]"), w = L == null ? void 0 : L.getAttribute("href");
2470
2478
  if (!w) return;
2471
2479
  const y = L == null ? void 0 : L.closest("[data-message-id]"), $ = y == null ? void 0 : y.getAttribute("data-message-id"), X = $ ? e.state.messages.find((K) => K.id === $) : void 0;
2472
2480
  S(w, X);
2473
2481
  };
2474
- return U.addEventListener("click", j), () => U.removeEventListener("click", j);
2482
+ return B.addEventListener("click", U), () => B.removeEventListener("click", U);
2475
2483
  }, [S, e]), /* @__PURE__ */ n(
2476
2484
  "div",
2477
2485
  {
@@ -2484,16 +2492,16 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2484
2492
  is,
2485
2493
  {
2486
2494
  channel: e,
2487
- MessageSystem: Ya,
2495
+ MessageSystem: qa,
2488
2496
  EmptyStateIndicator: m,
2489
2497
  LoadingIndicator: Ee,
2490
- DateSeparator: js,
2491
- TypingIndicator: Wa,
2498
+ DateSeparator: Vs,
2499
+ TypingIndicator: Xa,
2492
2500
  doSendMessageRequest: z,
2493
2501
  ...R ? { SendButton: R } : {},
2494
- ...B ? { AttachmentPreviewList: B } : {},
2502
+ ...F ? { AttachmentPreviewList: F } : {},
2495
2503
  children: /* @__PURE__ */ n(
2496
- Qa,
2504
+ er,
2497
2505
  {
2498
2506
  onBack: t,
2499
2507
  showBackButton: s,
@@ -2510,13 +2518,13 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2510
2518
  showBlockParticipant: g,
2511
2519
  showReportParticipant: p,
2512
2520
  composerDisabled: v,
2513
- composerDisabledReason: N,
2521
+ composerDisabledReason: _,
2514
2522
  showStarButton: M,
2515
2523
  dmAgentEnabled: x,
2516
2524
  chatbotVotingEnabled: D,
2517
2525
  renderChannelBanner: k,
2518
2526
  customChannelActions: T,
2519
- renderMessage: _,
2527
+ renderMessage: N,
2520
2528
  viewerLanguage: A,
2521
2529
  showChannelInfo: P
2522
2530
  }
@@ -2528,7 +2536,7 @@ const le = "size-10 rounded-full hover:bg-[#E5E4E1] flex items-center justify-ce
2528
2536
  }
2529
2537
  );
2530
2538
  dn.displayName = "ChannelView";
2531
- const ge = F.memo(({ message: e, onBack: t }) => /* @__PURE__ */ n("div", { className: "messaging-error-state flex items-center justify-center h-full p-8", children: /* @__PURE__ */ h("div", { className: "text-center max-w-sm", children: [
2539
+ const ge = j.memo(({ message: e, onBack: t }) => /* @__PURE__ */ n("div", { className: "messaging-error-state flex items-center justify-center h-full p-8", children: /* @__PURE__ */ h("div", { className: "text-center max-w-sm", children: [
2532
2540
  /* @__PURE__ */ n("div", { className: "w-24 h-24 bg-danger-alt/20 rounded-full flex items-center justify-center mx-auto mb-6", children: /* @__PURE__ */ n("span", { className: "text-4xl", children: "⚠️" }) }),
2533
2541
  /* @__PURE__ */ n("h2", { className: "font-semibold text-charcoal mb-2", children: "Oops!" }),
2534
2542
  /* @__PURE__ */ n("p", { className: "text-stone text-sm mb-6", children: e }),
@@ -2543,7 +2551,7 @@ const ge = F.memo(({ message: e, onBack: t }) => /* @__PURE__ */ n("div", { clas
2543
2551
  )
2544
2552
  ] }) }));
2545
2553
  ge.displayName = "ErrorState";
2546
- const Ei = ({
2554
+ const Ii = ({
2547
2555
  capabilities: e = {},
2548
2556
  renderMessageInputActions: t,
2549
2557
  renderConversationFooter: s,
@@ -2561,7 +2569,7 @@ const Ei = ({
2561
2569
  renderChannelBanner: g,
2562
2570
  customChannelActions: p,
2563
2571
  renderMessage: v,
2564
- onMessageLinkClick: N,
2572
+ onMessageLinkClick: _,
2565
2573
  showChannelInfo: x
2566
2574
  }) => {
2567
2575
  const {
@@ -2571,11 +2579,11 @@ const Ei = ({
2571
2579
  error: D,
2572
2580
  refreshConnection: k,
2573
2581
  service: T,
2574
- debug: _
2575
- } = Ps(), [S, R] = O(null), [B, A] = O(null), [P, z] = O(!1), { showDeleteConversation: V = !0 } = e, U = G(o);
2576
- U.current = o;
2577
- const j = G(a);
2578
- j.current = a;
2582
+ debug: N
2583
+ } = Os(), [S, R] = O(null), [F, A] = O(null), [P, z] = O(!1), { showDeleteConversation: V = !0 } = e, B = G(o);
2584
+ B.current = o;
2585
+ const U = G(a);
2586
+ U.current = a;
2579
2587
  const q = G(null), W = G(null);
2580
2588
  H(() => {
2581
2589
  W.current = S;
@@ -2592,7 +2600,7 @@ const Ei = ({
2592
2600
  (async () => {
2593
2601
  var J, ie;
2594
2602
  try {
2595
- _ && console.log(
2603
+ N && console.log(
2596
2604
  "[MessagingShell] Loading initial conversation with:",
2597
2605
  i
2598
2606
  );
@@ -2605,15 +2613,15 @@ const Ei = ({
2605
2613
  { limit: 1 }
2606
2614
  );
2607
2615
  if (Z.length > 0) {
2608
- R(Z[0]), A(null), (J = j.current) == null || J.call(j, Z[0]), _ && console.log(
2616
+ R(Z[0]), A(null), (J = U.current) == null || J.call(U, Z[0]), N && console.log(
2609
2617
  "[MessagingShell] Initial conversation loaded:",
2610
2618
  Z[0].id
2611
2619
  );
2612
2620
  return;
2613
2621
  }
2614
- const ae = U.current;
2622
+ const ae = B.current;
2615
2623
  if (!ae || !T) {
2616
- X(), A("No conversation found with this account"), _ && console.log(
2624
+ X(), A("No conversation found with this account"), N && console.log(
2617
2625
  "[MessagingShell] No conversation found for:",
2618
2626
  i
2619
2627
  );
@@ -2625,7 +2633,7 @@ const Ei = ({
2625
2633
  name: ae.name,
2626
2634
  phone: ae.phone
2627
2635
  });
2628
- R(ee), A(null), (ie = j.current) == null || ie.call(j, ee), _ && console.log(
2636
+ R(ee), A(null), (ie = U.current) == null || ie.call(U, ee), N && console.log(
2629
2637
  "[MessagingShell] Channel created and loaded:",
2630
2638
  ee.id
2631
2639
  );
@@ -2642,7 +2650,7 @@ const Ei = ({
2642
2650
  ), X(), W.current || A("Failed to load conversation");
2643
2651
  }
2644
2652
  })();
2645
- }, [i, I, E, T, _]);
2653
+ }, [i, I, E, T, N]);
2646
2654
  const L = G(r);
2647
2655
  L.current = r;
2648
2656
  const w = Y(() => {
@@ -2655,7 +2663,7 @@ const Ei = ({
2655
2663
  message: "Not connected to messaging service",
2656
2664
  onBack: k
2657
2665
  }
2658
- ) : B ? /* @__PURE__ */ n(ge, { message: B }) : P && !S ? /* @__PURE__ */ n(ge, { message: "Conversation ended" }) : S ? /* @__PURE__ */ n("div", { className: "messaging-shell h-full bg-background-primary overflow-hidden", children: /* @__PURE__ */ n("div", { className: "flex h-full min-h-0 flex-col", children: /* @__PURE__ */ n(
2666
+ ) : F ? /* @__PURE__ */ n(ge, { message: F }) : P && !S ? /* @__PURE__ */ n(ge, { message: "Conversation ended" }) : S ? /* @__PURE__ */ n("div", { className: "messaging-shell h-full bg-background-primary overflow-hidden", children: /* @__PURE__ */ n("div", { className: "flex h-full min-h-0 flex-col", children: /* @__PURE__ */ n(
2659
2667
  dn,
2660
2668
  {
2661
2669
  channel: S,
@@ -2674,37 +2682,37 @@ const Ei = ({
2674
2682
  viewerLanguage: c,
2675
2683
  customChannelActions: p,
2676
2684
  renderMessage: v,
2677
- onMessageLinkClick: N,
2685
+ onMessageLinkClick: _,
2678
2686
  showChannelInfo: x
2679
2687
  },
2680
2688
  S.id
2681
2689
  ) }) }) : /* @__PURE__ */ n(Ee, {});
2682
2690
  };
2683
- function er(e) {
2691
+ function tr(e) {
2684
2692
  const t = e.state.pending_messages;
2685
2693
  if (t != null && t.length)
2686
2694
  for (const s of t)
2687
2695
  e.state.addMessageSorted(s.message);
2688
2696
  }
2689
- const un = F.createContext({
2697
+ const un = j.createContext({
2690
2698
  selectedChannel: void 0,
2691
2699
  onChannelSelect: () => {
2692
2700
  },
2693
2701
  debug: !1,
2694
2702
  renderMessagePreview: void 0,
2695
2703
  viewerLanguage: void 0
2696
- }), tr = un.Provider, nr = () => F.useContext(un), sr = (e, t) => {
2704
+ }), nr = un.Provider, sr = () => j.useContext(un), ar = (e, t) => {
2697
2705
  const s = new Date(
2698
2706
  Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate())
2699
2707
  ), r = new Date(
2700
2708
  Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate())
2701
2709
  ).getTime() - s.getTime();
2702
2710
  return Math.floor(r / (1e3 * 60 * 60 * 24));
2703
- }, ar = (e) => {
2711
+ }, rr = (e) => {
2704
2712
  const t = /* @__PURE__ */ new Date();
2705
2713
  if (Math.floor((t.getTime() - e.getTime()) / 1e3) < 60)
2706
2714
  return "Just now";
2707
- const a = sr(e, t);
2715
+ const a = ar(e, t);
2708
2716
  return a === 0 ? e.toLocaleTimeString([], {
2709
2717
  hour: "numeric",
2710
2718
  minute: "2-digit",
@@ -2714,7 +2722,7 @@ const un = F.createContext({
2714
2722
  day: "numeric",
2715
2723
  year: "2-digit"
2716
2724
  });
2717
- }, mn = F.memo(
2725
+ }, mn = j.memo(
2718
2726
  ({ channel: e, unread: t }) => {
2719
2727
  var D, k, T;
2720
2728
  const {
@@ -2723,42 +2731,42 @@ const un = F.createContext({
2723
2731
  debug: r,
2724
2732
  renderMessagePreview: i,
2725
2733
  viewerLanguage: o
2726
- } = nr(), l = (s == null ? void 0 : s.id) === (e == null ? void 0 : e.id), d = () => {
2734
+ } = sr(), l = (s == null ? void 0 : s.id) === (e == null ? void 0 : e.id), d = () => {
2727
2735
  e && a(e);
2728
- }, m = (_) => {
2729
- const S = _.key === "Enter" || _.key === " ", R = _.repeat;
2730
- !S || R || (_.preventDefault(), d());
2736
+ }, m = (N) => {
2737
+ const S = N.key === "Enter" || N.key === " ", R = N.repeat;
2738
+ !S || R || (N.preventDefault(), d());
2731
2739
  }, u = Object.values(((D = e == null ? void 0 : e.state) == null ? void 0 : D.members) || {}).find(
2732
- (_) => {
2740
+ (N) => {
2733
2741
  var S, R;
2734
- return ((S = _.user) == null ? void 0 : S.id) && _.user.id !== ((R = e == null ? void 0 : e._client) == null ? void 0 : R.userID);
2742
+ return ((S = N.user) == null ? void 0 : S.id) && N.user.id !== ((R = e == null ? void 0 : e._client) == null ? void 0 : R.userID);
2735
2743
  }
2736
2744
  ), f = Wt(u == null ? void 0 : u.user), c = (k = u == null ? void 0 : u.user) == null ? void 0 : k.image, g = (() => {
2737
2745
  var S;
2738
- const _ = (S = e == null ? void 0 : e.state) == null ? void 0 : S.messages;
2739
- if (_ != null && _.length) {
2740
- for (let R = _.length - 1; R >= 0; R--)
2741
- if (_[R].type !== "system") return _[R];
2746
+ const N = (S = e == null ? void 0 : e.state) == null ? void 0 : S.messages;
2747
+ if (N != null && N.length) {
2748
+ for (let R = N.length - 1; R >= 0; R--)
2749
+ if (N[R].type !== "system") return N[R];
2742
2750
  }
2743
2751
  })(), v = (() => {
2744
- var P, z, V, U;
2745
- const _ = Xt({
2752
+ var P, z, V, B;
2753
+ const N = Xt({
2746
2754
  message: g,
2747
2755
  viewerLanguage: o
2748
2756
  });
2749
- if (((P = g == null ? void 0 : g.metadata) == null ? void 0 : P.custom_type) === "MESSAGE_TIP") return _ ? `💵 ${_}` : "💵 Sent a tip";
2750
- if (((z = g == null ? void 0 : g.metadata) == null ? void 0 : z.custom_type) === "MESSAGE_PAID") return _ ? `💰 ${_}` : "💰 Sent a message";
2751
- if (((V = g == null ? void 0 : g.metadata) == null ? void 0 : V.custom_type) === "MESSAGE_ATTACHMENT") return _ ? `📎 ${_}` : "📎 Sent an attachment";
2752
- if (_) return _;
2753
- const A = (U = g == null ? void 0 : g.attachments) == null ? void 0 : U[0];
2757
+ if (((P = g == null ? void 0 : g.metadata) == null ? void 0 : P.custom_type) === "MESSAGE_TIP") return N ? `💵 ${N}` : "💵 Sent a tip";
2758
+ if (((z = g == null ? void 0 : g.metadata) == null ? void 0 : z.custom_type) === "MESSAGE_PAID") return N ? `💰 ${N}` : "💰 Sent a message";
2759
+ if (((V = g == null ? void 0 : g.metadata) == null ? void 0 : V.custom_type) === "MESSAGE_ATTACHMENT") return N ? `📎 ${N}` : "📎 Sent an attachment";
2760
+ if (N) return N;
2761
+ const A = (B = g == null ? void 0 : g.attachments) == null ? void 0 : B[0];
2754
2762
  return A ? A.og_scrape_url ? A.og_scrape_url : A.type === "image" ? "📷 Sent an image" : A.type === "video" ? "🎥 Sent a video" : A.type === "audio" ? "🎵 Sent audio" : A.type === "file" ? "📎 Sent a file" : "📎 Sent an attachment" : "No messages yet";
2755
- })(), N = g != null && g.created_at ? ar(new Date(g.created_at)) : "", x = g ? ke(g) : !1, I = i ? i(g, v) : `${x ? "✨ " : ""}${v}`, E = qt(e), M = t ?? 0;
2763
+ })(), _ = g != null && g.created_at ? rr(new Date(g.created_at)) : "", x = g ? ke(g) : !1, I = i ? i(g, v) : `${x ? "✨ " : ""}${v}`, E = qt(e), M = t ?? 0;
2756
2764
  return r && console.log("📺 [ChannelList] 📋 CHANNEL PREVIEW RENDER", {
2757
2765
  channelId: e == null ? void 0 : e.id,
2758
2766
  isSelected: l,
2759
2767
  participantName: f,
2760
2768
  unreadCount: M,
2761
- hasTimestamp: !!N
2769
+ hasTimestamp: !!_
2762
2770
  }), /* @__PURE__ */ n(
2763
2771
  "div",
2764
2772
  {
@@ -2798,7 +2806,7 @@ const un = F.createContext({
2798
2806
  ]
2799
2807
  }
2800
2808
  ),
2801
- N && /* @__PURE__ */ n("span", { className: "text-xs text-[#717070] flex-shrink-0", children: N })
2809
+ _ && /* @__PURE__ */ n("span", { className: "text-xs text-[#717070] flex-shrink-0", children: _ })
2802
2810
  ] }),
2803
2811
  /* @__PURE__ */ h("div", { className: "flex items-center justify-between gap-2 min-w-0", children: [
2804
2812
  /* @__PURE__ */ n("p", { className: "text-sm text-[#717070] flex-1 line-clamp-1", children: I }),
@@ -2811,25 +2819,25 @@ const un = F.createContext({
2811
2819
  }
2812
2820
  );
2813
2821
  mn.displayName = "CustomChannelPreview";
2814
- const rr = { last_message_at: -1 }, ir = F.memo(
2822
+ const ir = { last_message_at: -1 }, or = j.memo(
2815
2823
  ({
2816
2824
  onChannelSelect: e,
2817
2825
  selectedChannel: t,
2818
2826
  filters: s,
2819
2827
  allowNewMessagesFromUnfilteredChannels: a = !1,
2820
2828
  channelRenderFilterFn: r,
2821
- sort: i = rr,
2829
+ sort: i = ir,
2822
2830
  className: o,
2823
2831
  customEmptyStateIndicator: l,
2824
2832
  renderMessagePreview: d,
2825
2833
  viewerLanguage: m
2826
2834
  }) => {
2827
- const b = F.useRef(0);
2835
+ const b = j.useRef(0);
2828
2836
  b.current++;
2829
- const { debug: u = !1 } = qe(), f = F.useCallback(
2837
+ const { debug: u = !1 } = qe(), f = j.useCallback(
2830
2838
  (g) => {
2831
2839
  for (const p of g)
2832
- er(p);
2840
+ tr(p);
2833
2841
  return r ? r(g) : g;
2834
2842
  },
2835
2843
  [r]
@@ -2839,7 +2847,7 @@ const rr = { last_message_at: -1 }, ir = F.memo(
2839
2847
  selectedChannelId: t == null ? void 0 : t.id,
2840
2848
  filters: s
2841
2849
  });
2842
- const c = F.useMemo(
2850
+ const c = j.useMemo(
2843
2851
  () => ({
2844
2852
  selectedChannel: t,
2845
2853
  onChannelSelect: e,
@@ -2862,8 +2870,8 @@ const rr = { last_message_at: -1 }, ir = F.memo(
2862
2870
  "messaging-channel-list h-full flex flex-col min-w-0 overflow-hidden",
2863
2871
  o
2864
2872
  ),
2865
- children: /* @__PURE__ */ n("div", { className: "flex-1 overflow-hidden min-w-0", children: /* @__PURE__ */ n(tr, { value: c, children: /* @__PURE__ */ n(
2866
- ds,
2873
+ children: /* @__PURE__ */ n("div", { className: "flex-1 overflow-hidden min-w-0", children: /* @__PURE__ */ n(nr, { value: c, children: /* @__PURE__ */ n(
2874
+ us,
2867
2875
  {
2868
2876
  filters: s,
2869
2877
  sort: i,
@@ -2879,26 +2887,26 @@ const rr = { last_message_at: -1 }, ir = F.memo(
2879
2887
  );
2880
2888
  }
2881
2889
  );
2882
- ir.displayName = "ChannelList";
2883
- const or = /^([a-z][a-z0-9+.-]*):/i, lr = /* @__PURE__ */ new Set(["http", "https", "mailto", "tel", "sms"]);
2890
+ or.displayName = "ChannelList";
2891
+ const lr = /^([a-z][a-z0-9+.-]*):/i, cr = /* @__PURE__ */ new Set(["http", "https", "mailto", "tel", "sms"]);
2884
2892
  function Qe(e) {
2885
2893
  if (typeof e != "string") return;
2886
2894
  const t = e.trim();
2887
2895
  if (t === "") return;
2888
- const s = or.exec(t);
2896
+ const s = lr.exec(t);
2889
2897
  if (s) {
2890
2898
  const a = s[1].toLowerCase();
2891
- return lr.has(a) ? t : void 0;
2899
+ return cr.has(a) ? t : void 0;
2892
2900
  }
2893
2901
  return t.startsWith("//") || t.startsWith("/") ? t : `https://${t}`;
2894
2902
  }
2895
- const cr = {
2903
+ const dr = {
2896
2904
  dark: "bg-white text-[#121110] hover:bg-white/90",
2897
2905
  light: "bg-[#121110] text-white hover:bg-[#2a2928]"
2898
- }, dr = ({ variant: e, cta: t }) => {
2906
+ }, ur = ({ variant: e, cta: t }) => {
2899
2907
  const s = C(
2900
2908
  "mt-2 inline-flex h-10 w-full items-center justify-center rounded-full px-4 text-sm font-medium leading-none transition-colors",
2901
- cr[e]
2909
+ dr[e]
2902
2910
  ), a = Qe(t.href);
2903
2911
  return a ? /* @__PURE__ */ n(
2904
2912
  "a",
@@ -2925,10 +2933,10 @@ const cr = {
2925
2933
  children: t.label
2926
2934
  }
2927
2935
  );
2928
- }, ur = {
2936
+ }, mr = {
2929
2937
  dark: "text-white",
2930
2938
  light: "text-black/90"
2931
- }, mr = "text-white/30", hr = {
2939
+ }, hr = "text-white/30", fr = {
2932
2940
  dark: "text-white/55",
2933
2941
  light: "text-black/55"
2934
2942
  }, et = ({
@@ -2945,10 +2953,10 @@ const cr = {
2945
2953
  if (!b && !u && !c && !g) return null;
2946
2954
  const v = C(
2947
2955
  "truncate text-base font-medium leading-6",
2948
- d && !t ? mr : ur[e]
2949
- ), N = C(
2956
+ d && !t ? hr : mr[e]
2957
+ ), _ = C(
2950
2958
  "truncate text-xs leading-4",
2951
- hr[e]
2959
+ fr[e]
2952
2960
  );
2953
2961
  return /* @__PURE__ */ h("div", { className: "px-4 py-3", children: [
2954
2962
  /* @__PURE__ */ h("div", { className: "flex items-end gap-3", children: [
@@ -2958,15 +2966,15 @@ const cr = {
2958
2966
  i ? /* @__PURE__ */ n("span", { className: "shrink-0", children: i }) : null,
2959
2967
  /* @__PURE__ */ n("p", { className: C("min-w-0", v), children: m })
2960
2968
  ] }),
2961
- u && /* @__PURE__ */ n("p", { className: N, children: a })
2969
+ u && /* @__PURE__ */ n("p", { className: _, children: a })
2962
2970
  ] }),
2963
- !g && c && /* @__PURE__ */ n("p", { className: N, children: f })
2971
+ !g && c && /* @__PURE__ */ n("p", { className: _, children: f })
2964
2972
  ] }),
2965
2973
  l && /* @__PURE__ */ n("div", { className: "shrink-0", children: l })
2966
2974
  ] }),
2967
- o && /* @__PURE__ */ n(dr, { variant: e, cta: o })
2975
+ o && /* @__PURE__ */ n(ur, { variant: e, cta: o })
2968
2976
  ] });
2969
- }, fr = C(
2977
+ }, gr = C(
2970
2978
  "relative block w-[280px] select-none overflow-hidden rounded-md",
2971
2979
  // 1px hairline border that sits flush with the card chrome — matches
2972
2980
  // the messaging design system's "small border around link attachments"
@@ -2985,7 +2993,7 @@ const cr = {
2985
2993
  "data-testid": d
2986
2994
  }) => {
2987
2995
  const m = s != null || a != null, b = C(
2988
- fr,
2996
+ gr,
2989
2997
  l ?? (e === "dark" ? "bg-[#121110]" : "bg-white"),
2990
2998
  // `focus-ring` is a design-system utility from the component-library
2991
2999
  // tailwind preset — outline-none + a black 2px focus-visible ring
@@ -3033,10 +3041,10 @@ const cr = {
3033
3041
  ]
3034
3042
  }
3035
3043
  );
3036
- }, gr = {
3044
+ }, br = {
3037
3045
  dark: "bg-white/10",
3038
3046
  light: "bg-black/5"
3039
- }, br = {
3047
+ }, pr = {
3040
3048
  dark: "size-16 text-white/25",
3041
3049
  light: "size-16 text-black/25"
3042
3050
  }, Me = (e, t) => !!t && !!e && se(e) === "audio", hn = (e, t) => {
@@ -3094,10 +3102,10 @@ const cr = {
3094
3102
  {
3095
3103
  className: C(
3096
3104
  "flex h-full w-full items-center justify-center",
3097
- gr[e]
3105
+ br[e]
3098
3106
  ),
3099
3107
  children: ce(r, {
3100
- className: br[e],
3108
+ className: pr[e],
3101
3109
  weight: "regular"
3102
3110
  })
3103
3111
  }
@@ -3107,7 +3115,7 @@ const cr = {
3107
3115
  ]
3108
3116
  }
3109
3117
  );
3110
- }, pr = ({
3118
+ }, vr = ({
3111
3119
  title: e,
3112
3120
  placeholderTitle: t,
3113
3121
  description: s,
@@ -3137,7 +3145,7 @@ const cr = {
3137
3145
  onClick: u,
3138
3146
  "aria-label": "Edit attachment",
3139
3147
  className: "flex size-10 items-center justify-center rounded-full bg-white/10 text-white hover:bg-white/15",
3140
- children: /* @__PURE__ */ n(Ms, { className: "size-5", weight: "regular" })
3148
+ children: /* @__PURE__ */ n(Rs, { className: "size-5", weight: "regular" })
3141
3149
  }
3142
3150
  ) : void 0;
3143
3151
  return c ? /* @__PURE__ */ n(Ie, { variant: "dark", bgClassName: tt, children: /* @__PURE__ */ h("div", { className: "flex items-center gap-2 pr-3", children: [
@@ -3184,7 +3192,7 @@ const cr = {
3184
3192
  ]
3185
3193
  }
3186
3194
  );
3187
- }, vr = ({
3195
+ }, xr = ({
3188
3196
  title: e,
3189
3197
  description: t,
3190
3198
  url: s,
@@ -3237,7 +3245,7 @@ const cr = {
3237
3245
  ]
3238
3246
  }
3239
3247
  );
3240
- }, xr = ({
3248
+ }, wr = ({
3241
3249
  title: e,
3242
3250
  placeholderTitle: t,
3243
3251
  description: s,
@@ -3284,20 +3292,20 @@ const cr = {
3284
3292
  ]
3285
3293
  }
3286
3294
  );
3287
- }, Ii = {
3288
- Composer: pr,
3289
- Sent: xr,
3290
- Received: vr
3291
- }, wr = {
3295
+ }, Si = {
3296
+ Composer: vr,
3297
+ Sent: wr,
3298
+ Received: xr
3299
+ }, _r = {
3292
3300
  dark: "bg-[#121110]",
3293
3301
  light: "bg-[#e9eaed]"
3294
3302
  }, Nr = {
3295
3303
  dark: "text-white",
3296
3304
  light: "text-[#080707]"
3297
- }, _r = {
3305
+ }, yr = {
3298
3306
  dark: "border-white/[0.08]",
3299
3307
  light: "border-black/[0.08]"
3300
- }, yr = (e) => e === "dark" ? "sender" : "receiver", Cr = {
3308
+ }, Cr = (e) => e === "dark" ? "sender" : "receiver", kr = {
3301
3309
  sender: {
3302
3310
  single: "rounded-tl-[18px] rounded-tr-[18px] rounded-bl-[18px] rounded-br-[18px]",
3303
3311
  first: "rounded-tl-[18px] rounded-tr-[18px] rounded-bl-[18px] rounded-br-[4px]",
@@ -3319,7 +3327,7 @@ const cr = {
3319
3327
  children: i,
3320
3328
  "data-testid": o
3321
3329
  }) => {
3322
- const l = t != null && t !== "", d = Cr[yr(e)][a];
3330
+ const l = t != null && t !== "", d = kr[Cr(e)][a];
3323
3331
  return /* @__PURE__ */ h(
3324
3332
  "div",
3325
3333
  {
@@ -3334,10 +3342,10 @@ const cr = {
3334
3342
  // as the surrounding `CustomMessage` text bubbles.
3335
3343
  "relative w-[280px] overflow-hidden px-2 py-2",
3336
3344
  d,
3337
- wr[e],
3345
+ _r[e],
3338
3346
  Nr[e],
3339
3347
  s && "border",
3340
- s && _r[e],
3348
+ s && yr[e],
3341
3349
  r
3342
3350
  ),
3343
3351
  children: [
@@ -3380,16 +3388,16 @@ const cr = {
3380
3388
  ),
3381
3389
  children: /* @__PURE__ */ n(Ae, { className: "size-3", weight: "bold" })
3382
3390
  }
3383
- ), Ne = (e) => e === "received" ? "light" : "dark", Si = ({
3391
+ ), _e = (e) => e === "received" ? "light" : "dark", Ti = ({
3384
3392
  firstOfGroup: e,
3385
3393
  endOfGroup: t,
3386
3394
  groupedByUser: s
3387
- }) => !s || e && t ? "single" : e ? "first" : t ? "end" : "middle", kr = ({
3395
+ }) => !s || e && t ? "single" : e ? "first" : t ? "end" : "middle", Er = ({
3388
3396
  src: e,
3389
3397
  mimeType: t,
3390
3398
  filename: s,
3391
3399
  items: a
3392
- }) => a && a.length > 0 ? a : e ? [{ src: e, mimeType: t, filename: s }] : [], Er = ({ item: e, preload: t, trailingAction: s }) => /* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
3400
+ }) => a && a.length > 0 ? a : e ? [{ src: e, mimeType: t, filename: s }] : [], Ir = ({ item: e, preload: t, trailingAction: s }) => /* @__PURE__ */ h("div", { className: "flex items-center gap-2", children: [
3393
3401
  /* @__PURE__ */ n(
3394
3402
  "audio",
3395
3403
  {
@@ -3412,7 +3420,7 @@ const cr = {
3412
3420
  preload: l,
3413
3421
  onDismiss: d
3414
3422
  }) => {
3415
- const m = Ne(e), b = e === "composer" && !!d, u = kr({ src: t, mimeType: s, filename: a, items: r });
3423
+ const m = _e(e), b = e === "composer" && !!d, u = Er({ src: t, mimeType: s, filename: a, items: r });
3416
3424
  if (u.length === 0)
3417
3425
  return null;
3418
3426
  const f = l ?? (u.length > 1 ? "none" : "metadata");
@@ -3424,7 +3432,7 @@ const cr = {
3424
3432
  groupPosition: o,
3425
3433
  "data-testid": "audio-attachment",
3426
3434
  children: /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: u.map((c, g) => /* @__PURE__ */ n(
3427
- Er,
3435
+ Ir,
3428
3436
  {
3429
3437
  item: c,
3430
3438
  preload: f,
@@ -3438,15 +3446,15 @@ const cr = {
3438
3446
  )) })
3439
3447
  }
3440
3448
  );
3441
- }, Ir = (e) => /* @__PURE__ */ n(nt, { ...e, state: "composer" }), Sr = (e) => /* @__PURE__ */ n(nt, { ...e, state: "sent" }), Tr = (e) => /* @__PURE__ */ n(nt, { ...e, state: "received" }), Ar = {
3442
- Composer: Ir,
3443
- Sent: Sr,
3444
- Received: Tr
3449
+ }, Sr = (e) => /* @__PURE__ */ n(nt, { ...e, state: "composer" }), Tr = (e) => /* @__PURE__ */ n(nt, { ...e, state: "sent" }), Ar = (e) => /* @__PURE__ */ n(nt, { ...e, state: "received" }), Mr = {
3450
+ Composer: Sr,
3451
+ Sent: Tr,
3452
+ Received: Ar
3445
3453
  };
3446
- function Mr(e) {
3454
+ function Rr(e) {
3447
3455
  return !Number.isFinite(e) || e < 0 ? "" : e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : e < 1024 * 1024 * 1024 ? `${(e / (1024 * 1024)).toFixed(2)} MB` : `${(e / (1024 * 1024 * 1024)).toFixed(2)} GB`;
3448
3456
  }
3449
- const Rr = {
3457
+ const Lr = {
3450
3458
  pdf: "PDF",
3451
3459
  doc: "DOC",
3452
3460
  xls: "XLS",
@@ -3456,7 +3464,7 @@ const Rr = {
3456
3464
  text: "TXT",
3457
3465
  markdown: "MD"
3458
3466
  };
3459
- function Lr(e, t) {
3467
+ function Dr(e, t) {
3460
3468
  if (t) {
3461
3469
  const r = t.lastIndexOf(".");
3462
3470
  if (r > 0 && r < t.length - 1) {
@@ -3466,7 +3474,7 @@ function Lr(e, t) {
3466
3474
  }
3467
3475
  if (!e) return;
3468
3476
  if (se(e) === "document") {
3469
- const r = Zt(e), i = Rr[r];
3477
+ const r = Zt(e), i = Lr[r];
3470
3478
  if (i) return i;
3471
3479
  if (e === "application/octet-stream") return;
3472
3480
  }
@@ -3474,8 +3482,8 @@ function Lr(e, t) {
3474
3482
  if (!(!a || a === "*"))
3475
3483
  return a.toUpperCase();
3476
3484
  }
3477
- function Dr(e, t, s) {
3478
- const a = Lr(e, t), r = typeof s == "number" && s > 0 ? Mr(s) : void 0;
3485
+ function Pr(e, t, s) {
3486
+ const a = Dr(e, t), r = typeof s == "number" && s > 0 ? Rr(s) : void 0;
3479
3487
  return [a, r].filter(Boolean).join(" · ") || void 0;
3480
3488
  }
3481
3489
  function Q(e) {
@@ -3486,13 +3494,13 @@ function Q(e) {
3486
3494
  return "download";
3487
3495
  }
3488
3496
  }
3489
- const Pr = {
3497
+ const Or = {
3490
3498
  dark: "text-white/55",
3491
3499
  light: "text-black/65"
3492
- }, Or = {
3500
+ }, zr = {
3493
3501
  dark: "bg-white/10",
3494
3502
  light: "bg-black/5"
3495
- }, zr = {
3503
+ }, $r = {
3496
3504
  dark: "text-white/85",
3497
3505
  light: "text-black/85"
3498
3506
  }, fn = ({
@@ -3505,16 +3513,16 @@ const Pr = {
3505
3513
  activateLabel: o,
3506
3514
  trailingAction: l
3507
3515
  }) => {
3508
- const d = s ?? t ?? "File", m = Dr(a, t, r), b = /* @__PURE__ */ n(
3516
+ const d = s ?? t ?? "File", m = Pr(a, t, r), b = /* @__PURE__ */ n(
3509
3517
  "div",
3510
3518
  {
3511
3519
  className: C(
3512
3520
  "flex size-10 shrink-0 items-center justify-center rounded-sm",
3513
- Or[e]
3521
+ zr[e]
3514
3522
  ),
3515
3523
  "aria-hidden": !0,
3516
3524
  children: ce(a, {
3517
- className: C("size-6", zr[e]),
3525
+ className: C("size-6", $r[e]),
3518
3526
  weight: "regular"
3519
3527
  })
3520
3528
  }
@@ -3525,7 +3533,7 @@ const Pr = {
3525
3533
  {
3526
3534
  className: C(
3527
3535
  "truncate text-xs leading-4",
3528
- Pr[e]
3536
+ Or[e]
3529
3537
  ),
3530
3538
  children: m
3531
3539
  }
@@ -3568,14 +3576,14 @@ async function gn(e, t) {
3568
3576
  }
3569
3577
  }
3570
3578
  }
3571
- const $r = ({
3579
+ const Fr = ({
3572
3580
  src: e,
3573
3581
  filename: t,
3574
3582
  fileSize: s,
3575
3583
  mimeType: a,
3576
3584
  title: r,
3577
3585
  items: i
3578
- }) => i && i.length > 0 ? i : e ? [{ src: e, filename: t, fileSize: s, mimeType: a, title: r }] : [], Fr = ({
3586
+ }) => i && i.length > 0 ? i : e ? [{ src: e, filename: t, fileSize: s, mimeType: a, title: r }] : [], Br = ({
3579
3587
  variant: e,
3580
3588
  item: t,
3581
3589
  index: s,
@@ -3609,7 +3617,7 @@ const $r = ({
3609
3617
  onClick: m,
3610
3618
  onDismiss: b
3611
3619
  }) => {
3612
- const u = Ne(e), f = e === "composer" && !!b, c = $r({
3620
+ const u = _e(e), f = e === "composer" && !!b, c = Fr({
3613
3621
  src: t,
3614
3622
  filename: s,
3615
3623
  fileSize: a,
@@ -3618,10 +3626,10 @@ const $r = ({
3618
3626
  items: o
3619
3627
  }), g = (v) => {
3620
3628
  if ((m == null ? void 0 : m(v)) === !1) return;
3621
- const N = c[v];
3622
- if (!N) return;
3623
- const x = N.filename ?? Q(N.src);
3624
- gn(N.src, x);
3629
+ const _ = c[v];
3630
+ if (!_) return;
3631
+ const x = _.filename ?? Q(_.src);
3632
+ gn(_.src, x);
3625
3633
  };
3626
3634
  if (c.length === 0)
3627
3635
  return null;
@@ -3643,23 +3651,23 @@ const $r = ({
3643
3651
  text: l,
3644
3652
  groupPosition: d,
3645
3653
  "data-testid": "file-attachment",
3646
- children: /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: c.map((v, N) => /* @__PURE__ */ n(
3647
- Fr,
3654
+ children: /* @__PURE__ */ n("div", { className: "flex flex-col gap-2", children: c.map((v, _) => /* @__PURE__ */ n(
3655
+ Br,
3648
3656
  {
3649
3657
  variant: u,
3650
3658
  item: v,
3651
- index: N,
3659
+ index: _,
3652
3660
  onActivate: g,
3653
- trailingAction: f && N === 0 ? /* @__PURE__ */ n(we, { onClick: b, variant: "inline" }) : p
3661
+ trailingAction: f && _ === 0 ? /* @__PURE__ */ n(we, { onClick: b, variant: "inline" }) : p
3654
3662
  },
3655
- `${v.src}-${N}`
3663
+ `${v.src}-${_}`
3656
3664
  )) })
3657
3665
  }
3658
3666
  );
3659
- }, Br = (e) => /* @__PURE__ */ n(st, { ...e, state: "composer" }), Ur = (e) => /* @__PURE__ */ n(st, { ...e, state: "sent" }), jr = (e) => /* @__PURE__ */ n(st, { ...e, state: "received" }), Vr = {
3660
- Composer: Br,
3661
- Sent: Ur,
3662
- Received: jr
3667
+ }, Ur = (e) => /* @__PURE__ */ n(st, { ...e, state: "composer" }), jr = (e) => /* @__PURE__ */ n(st, { ...e, state: "sent" }), Vr = (e) => /* @__PURE__ */ n(st, { ...e, state: "received" }), Gr = {
3668
+ Composer: Ur,
3669
+ Sent: jr,
3670
+ Received: Vr
3663
3671
  }, at = ({
3664
3672
  onPrev: e,
3665
3673
  onNext: t,
@@ -3673,7 +3681,7 @@ const $r = ({
3673
3681
  onClick: e,
3674
3682
  "aria-label": s,
3675
3683
  className: "mes-media-viewer__nav mes-media-viewer__nav--prev",
3676
- children: /* @__PURE__ */ n(Rs, { size: 20, weight: "bold", "aria-hidden": !0 })
3684
+ children: /* @__PURE__ */ n(Ls, { size: 20, weight: "bold", "aria-hidden": !0 })
3677
3685
  }
3678
3686
  ),
3679
3687
  /* @__PURE__ */ n(
@@ -3683,7 +3691,7 @@ const $r = ({
3683
3691
  onClick: t,
3684
3692
  "aria-label": a,
3685
3693
  className: "mes-media-viewer__nav mes-media-viewer__nav--next",
3686
- children: /* @__PURE__ */ n(Ls, { size: 20, weight: "bold", "aria-hidden": !0 })
3694
+ children: /* @__PURE__ */ n(Ds, { size: 20, weight: "bold", "aria-hidden": !0 })
3687
3695
  }
3688
3696
  )
3689
3697
  ] }), bn = ({
@@ -3942,7 +3950,7 @@ const $r = ({
3942
3950
  ]
3943
3951
  }
3944
3952
  ) : null;
3945
- }, Gr = "relative block size-full overflow-hidden bg-black/5 outline-none focus-visible:ring-2 focus-visible:ring-white/80 focus-visible:ring-offset-2 focus-visible:ring-offset-black", vn = ({
3953
+ }, Hr = "relative block size-full overflow-hidden bg-black/5 outline-none focus-visible:ring-2 focus-visible:ring-white/80 focus-visible:ring-offset-2 focus-visible:ring-offset-black", vn = ({
3946
3954
  tiles: e,
3947
3955
  onTileActivate: t,
3948
3956
  maxVisible: s = 4,
@@ -3951,7 +3959,7 @@ const $r = ({
3951
3959
  const r = e.length;
3952
3960
  if (r === 0) return null;
3953
3961
  const i = e.slice(0, Math.min(r, s)), o = r - i.length, l = (d, m, b) => {
3954
- const u = C(Gr, "h-full w-full");
3962
+ const u = C(Hr, "h-full w-full");
3955
3963
  return t ? /* @__PURE__ */ h(
3956
3964
  "button",
3957
3965
  {
@@ -4012,7 +4020,7 @@ const $r = ({
4012
4020
  })
4013
4021
  }
4014
4022
  );
4015
- }, _e = (e) => {
4023
+ }, Ne = (e) => {
4016
4024
  const [t, s] = O(!1), [a, r] = O(0), i = Y(
4017
4025
  (l) => {
4018
4026
  (e == null ? void 0 : e(l)) !== !1 && (r(l), s(!0));
@@ -4020,7 +4028,7 @@ const $r = ({
4020
4028
  [e]
4021
4029
  ), o = Y(() => s(!1), []);
4022
4030
  return { viewerOpen: t, viewerIndex: a, handleActivate: i, closeViewer: o };
4023
- }, Hr = (e, t, s, a) => ({
4031
+ }, Yr = (e, t, s, a) => ({
4024
4032
  ariaLabel: `Open image ${t + 1} of ${s}`,
4025
4033
  content: /* @__PURE__ */ n(
4026
4034
  "img",
@@ -4035,7 +4043,7 @@ const $r = ({
4035
4043
  className: "absolute inset-0 size-full rounded-md object-cover"
4036
4044
  }
4037
4045
  )
4038
- }), Yr = ({
4046
+ }), qr = ({
4039
4047
  src: e,
4040
4048
  alt: t,
4041
4049
  items: s
@@ -4043,8 +4051,8 @@ const $r = ({
4043
4051
  src: s.src,
4044
4052
  alt: s.alt,
4045
4053
  filename: t && e.length === 1 ? t : t ? `${t} (${a + 1})` : void 0
4046
- })), qr = ({ src: e, alt: t, filename: s, loading: a = "lazy", onClick: r, onDismiss: i }) => {
4047
- const { viewerOpen: o, viewerIndex: l, handleActivate: d, closeViewer: m } = _e(
4054
+ })), Wr = ({ src: e, alt: t, filename: s, loading: a = "lazy", onClick: r, onDismiss: i }) => {
4055
+ const { viewerOpen: o, viewerIndex: l, handleActivate: d, closeViewer: m } = Ne(
4048
4056
  r
4049
4057
  );
4050
4058
  return /* @__PURE__ */ h("div", { className: "relative w-fit", children: [
@@ -4090,13 +4098,13 @@ const $r = ({
4090
4098
  loading: l = "lazy",
4091
4099
  onClick: d
4092
4100
  }) => {
4093
- const m = Yr({ src: t, alt: s, items: r }), b = Ne(e), { viewerOpen: u, viewerIndex: f, handleActivate: c, closeViewer: g } = _e(
4101
+ const m = qr({ src: t, alt: s, items: r }), b = _e(e), { viewerOpen: u, viewerIndex: f, handleActivate: c, closeViewer: g } = Ne(
4094
4102
  d
4095
4103
  );
4096
4104
  if (m.length === 0)
4097
4105
  return null;
4098
4106
  const p = m.map(
4099
- (v, N) => Hr(v, N, m.length, l)
4107
+ (v, _) => Yr(v, _, m.length, l)
4100
4108
  );
4101
4109
  return /* @__PURE__ */ h(
4102
4110
  xe,
@@ -4119,11 +4127,11 @@ const $r = ({
4119
4127
  ]
4120
4128
  }
4121
4129
  );
4122
- }, Wr = (e) => /* @__PURE__ */ n(qr, { ...e }), Xr = (e) => /* @__PURE__ */ n(wn, { ...e, state: "sent" }), Kr = (e) => /* @__PURE__ */ n(wn, { ...e, state: "received" }), Jr = {
4123
- Composer: Wr,
4124
- Sent: Xr,
4125
- Received: Kr
4126
- }, Zr = ({
4130
+ }, Xr = (e) => /* @__PURE__ */ n(Wr, { ...e }), Kr = (e) => /* @__PURE__ */ n(wn, { ...e, state: "sent" }), Jr = (e) => /* @__PURE__ */ n(wn, { ...e, state: "received" }), Zr = {
4131
+ Composer: Xr,
4132
+ Sent: Kr,
4133
+ Received: Jr
4134
+ }, Qr = ({
4127
4135
  open: e,
4128
4136
  items: t,
4129
4137
  initialIndex: s = 0,
@@ -4137,7 +4145,7 @@ const $r = ({
4137
4145
  () => (l == null ? void 0 : l.filename) ?? (l ? Q(l.src) : "document"),
4138
4146
  [l]
4139
4147
  ), m = te(
4140
- () => l ? Qr(l.src) : void 0,
4148
+ () => l ? ei(l.src) : void 0,
4141
4149
  [l]
4142
4150
  );
4143
4151
  return !l || !m ? null : /* @__PURE__ */ h(
@@ -4171,16 +4179,16 @@ const $r = ({
4171
4179
  ]
4172
4180
  }
4173
4181
  );
4174
- }, Qr = (e) => {
4182
+ }, ei = (e) => {
4175
4183
  const t = e.indexOf("#"), s = t === -1 ? e : e.slice(0, t), a = t === -1 ? "" : e.slice(t + 1), r = new URLSearchParams(a);
4176
4184
  return r.has("toolbar") || r.set("toolbar", "0"), r.has("navpanes") || r.set("navpanes", "0"), `${s}#${r.toString()}`;
4177
- }, ei = ({
4185
+ }, ti = ({
4178
4186
  src: e,
4179
4187
  filename: t,
4180
4188
  fileSize: s,
4181
4189
  title: a,
4182
4190
  items: r
4183
- }) => r && r.length > 0 ? r : e ? [{ src: e, filename: t, fileSize: s, title: a }] : [], ti = ({
4191
+ }) => r && r.length > 0 ? r : e ? [{ src: e, filename: t, fileSize: s, title: a }] : [], ni = ({
4184
4192
  variant: e,
4185
4193
  item: t,
4186
4194
  index: s,
@@ -4213,12 +4221,12 @@ const $r = ({
4213
4221
  onClick: d,
4214
4222
  onDismiss: m
4215
4223
  }) => {
4216
- const b = Ne(e), u = ei({ src: t, filename: s, fileSize: a, title: r, items: i }), { viewerOpen: f, viewerIndex: c, handleActivate: g, closeViewer: p } = _e(
4224
+ const b = _e(e), u = ti({ src: t, filename: s, fileSize: a, title: r, items: i }), { viewerOpen: f, viewerIndex: c, handleActivate: g, closeViewer: p } = Ne(
4217
4225
  d
4218
4226
  ), v = e === "composer" && !!m;
4219
4227
  if (u.length === 0)
4220
4228
  return null;
4221
- const N = u.map((x) => ({
4229
+ const _ = u.map((x) => ({
4222
4230
  src: x.src,
4223
4231
  filename: x.filename ?? Q(x.src)
4224
4232
  }));
@@ -4242,7 +4250,7 @@ const $r = ({
4242
4250
  }
4243
4251
  );
4244
4252
  return /* @__PURE__ */ n(
4245
- ti,
4253
+ ni,
4246
4254
  {
4247
4255
  variant: b,
4248
4256
  item: x,
@@ -4254,10 +4262,10 @@ const $r = ({
4254
4262
  );
4255
4263
  }) }),
4256
4264
  /* @__PURE__ */ n(
4257
- Zr,
4265
+ Qr,
4258
4266
  {
4259
4267
  open: f,
4260
- items: N,
4268
+ items: _,
4261
4269
  initialIndex: c,
4262
4270
  onClose: p
4263
4271
  }
@@ -4265,11 +4273,11 @@ const $r = ({
4265
4273
  ]
4266
4274
  }
4267
4275
  );
4268
- }, ni = (e) => /* @__PURE__ */ n(ot, { ...e, state: "composer" }), si = (e) => /* @__PURE__ */ n(ot, { ...e, state: "sent" }), ai = (e) => /* @__PURE__ */ n(ot, { ...e, state: "received" }), ri = {
4269
- Composer: ni,
4270
- Sent: si,
4271
- Received: ai
4272
- }, Nn = ({
4276
+ }, si = (e) => /* @__PURE__ */ n(ot, { ...e, state: "composer" }), ai = (e) => /* @__PURE__ */ n(ot, { ...e, state: "sent" }), ri = (e) => /* @__PURE__ */ n(ot, { ...e, state: "received" }), ii = {
4277
+ Composer: si,
4278
+ Sent: ai,
4279
+ Received: ri
4280
+ }, _n = ({
4273
4281
  open: e,
4274
4282
  items: t,
4275
4283
  initialIndex: s = 0,
@@ -4319,7 +4327,7 @@ const $r = ({
4319
4327
  ]
4320
4328
  }
4321
4329
  ) : null;
4322
- }, ii = () => /* @__PURE__ */ n("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ n("span", { className: "flex size-12 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur", children: /* @__PURE__ */ n(Be, { className: "size-6", weight: "fill", "aria-hidden": !0 }) }) }), _n = ({
4330
+ }, oi = () => /* @__PURE__ */ n("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ n("span", { className: "flex size-12 items-center justify-center rounded-full bg-black/55 text-white backdrop-blur", children: /* @__PURE__ */ n(Be, { className: "size-6", weight: "fill", "aria-hidden": !0 }) }) }), Nn = ({
4323
4331
  item: e,
4324
4332
  index: t
4325
4333
  }) => /* @__PURE__ */ h("div", { className: "absolute inset-0 size-full bg-[#0d0d0d]", children: [
@@ -4341,11 +4349,11 @@ const $r = ({
4341
4349
  "aria-hidden": !0
4342
4350
  }
4343
4351
  ) }),
4344
- /* @__PURE__ */ n(ii, {})
4345
- ] }), oi = (e, t, s) => ({
4352
+ /* @__PURE__ */ n(oi, {})
4353
+ ] }), li = (e, t, s) => ({
4346
4354
  ariaLabel: `Play video ${t + 1} of ${s}`,
4347
- content: /* @__PURE__ */ n(_n, { item: e, index: t })
4348
- }), li = ({
4355
+ content: /* @__PURE__ */ n(Nn, { item: e, index: t })
4356
+ }), ci = ({
4349
4357
  src: e,
4350
4358
  poster: t,
4351
4359
  mimeType: s,
@@ -4357,8 +4365,8 @@ const $r = ({
4357
4365
  mimeType: s.mimeType,
4358
4366
  preload: s.preload,
4359
4367
  filename: t && e.length === 1 ? t : t ? `${t} (${a + 1})` : void 0
4360
- })), ci = ({ src: e, poster: t, mimeType: s, filename: a, preload: r, onClick: i, onDismiss: o }) => {
4361
- const { viewerOpen: l, viewerIndex: d, handleActivate: m, closeViewer: b } = _e(
4368
+ })), di = ({ src: e, poster: t, mimeType: s, filename: a, preload: r, onClick: i, onDismiss: o }) => {
4369
+ const { viewerOpen: l, viewerIndex: d, handleActivate: m, closeViewer: b } = Ne(
4362
4370
  i
4363
4371
  );
4364
4372
  return /* @__PURE__ */ h("div", { className: "relative w-fit", children: [
@@ -4369,12 +4377,12 @@ const $r = ({
4369
4377
  onClick: () => m(0),
4370
4378
  "aria-label": "Play video",
4371
4379
  className: "relative block size-[280px] cursor-pointer overflow-hidden rounded-md outline-none focus-visible:ring-2 focus-visible:ring-black/40",
4372
- children: /* @__PURE__ */ n(_n, { item: { src: e, poster: t, mimeType: s }, index: 0 })
4380
+ children: /* @__PURE__ */ n(Nn, { item: { src: e, poster: t, mimeType: s }, index: 0 })
4373
4381
  }
4374
4382
  ),
4375
4383
  o ? /* @__PURE__ */ n("div", { className: "absolute right-2 top-2 z-10", children: /* @__PURE__ */ n(we, { onClick: o }) }) : null,
4376
4384
  /* @__PURE__ */ n(
4377
- Nn,
4385
+ _n,
4378
4386
  {
4379
4387
  open: l,
4380
4388
  items: yn(
@@ -4398,13 +4406,13 @@ const $r = ({
4398
4406
  preload: d,
4399
4407
  onClick: m
4400
4408
  }) => {
4401
- const b = li({ src: t, poster: s, mimeType: a, preload: d, items: i }), u = Ne(e), { viewerOpen: f, viewerIndex: c, handleActivate: g, closeViewer: p } = _e(
4409
+ const b = ci({ src: t, poster: s, mimeType: a, preload: d, items: i }), u = _e(e), { viewerOpen: f, viewerIndex: c, handleActivate: g, closeViewer: p } = Ne(
4402
4410
  m
4403
4411
  );
4404
4412
  if (b.length === 0)
4405
4413
  return null;
4406
4414
  const v = b.map(
4407
- (N, x) => oi(N, x, b.length)
4415
+ (_, x) => li(_, x, b.length)
4408
4416
  );
4409
4417
  return /* @__PURE__ */ h(
4410
4418
  xe,
@@ -4423,7 +4431,7 @@ const $r = ({
4423
4431
  }
4424
4432
  ) }),
4425
4433
  /* @__PURE__ */ n(
4426
- Nn,
4434
+ _n,
4427
4435
  {
4428
4436
  open: f,
4429
4437
  items: yn(b, r),
@@ -4434,17 +4442,17 @@ const $r = ({
4434
4442
  ]
4435
4443
  }
4436
4444
  );
4437
- }, di = (e) => /* @__PURE__ */ n(ci, { ...e }), ui = (e) => /* @__PURE__ */ n(Cn, { ...e, state: "sent" }), mi = (e) => /* @__PURE__ */ n(Cn, { ...e, state: "received" }), hi = {
4438
- Composer: di,
4439
- Sent: ui,
4440
- Received: mi
4441
- }, Ti = {
4442
- Image: Jr,
4443
- Video: hi,
4444
- Audio: Ar,
4445
- Pdf: ri,
4446
- File: Vr
4447
- }, fi = ({
4445
+ }, ui = (e) => /* @__PURE__ */ n(di, { ...e }), mi = (e) => /* @__PURE__ */ n(Cn, { ...e, state: "sent" }), hi = (e) => /* @__PURE__ */ n(Cn, { ...e, state: "received" }), fi = {
4446
+ Composer: ui,
4447
+ Sent: mi,
4448
+ Received: hi
4449
+ }, Ai = {
4450
+ Image: Zr,
4451
+ Video: fi,
4452
+ Audio: Mr,
4453
+ Pdf: ii,
4454
+ File: Gr
4455
+ }, gi = ({
4448
4456
  question: e,
4449
4457
  onClick: t,
4450
4458
  loading: s = !1,
@@ -4466,7 +4474,7 @@ const $r = ({
4466
4474
  ),
4467
4475
  children: e
4468
4476
  }
4469
- ), Ai = ({
4477
+ ), Mi = ({
4470
4478
  faqs: e,
4471
4479
  onFaqClick: t,
4472
4480
  loadingFaqId: s,
@@ -4495,7 +4503,7 @@ const $r = ({
4495
4503
  children: [
4496
4504
  a && /* @__PURE__ */ n("p", { className: "text-md text-charcoal mb-4", children: a }),
4497
4505
  l.map((d) => /* @__PURE__ */ n(
4498
- fi,
4506
+ gi,
4499
4507
  {
4500
4508
  question: d.question,
4501
4509
  onClick: () => t(d.id),
@@ -4510,37 +4518,37 @@ const $r = ({
4510
4518
  };
4511
4519
  export {
4512
4520
  Qt as A,
4513
- Gs as B,
4514
- Ka as C,
4515
- Ps as D,
4516
- Ai as F,
4517
- Ii as L,
4518
- Ci as M,
4521
+ Hs as B,
4522
+ Ja as C,
4523
+ Os as D,
4524
+ Mi as F,
4525
+ Si as L,
4526
+ ki as M,
4519
4527
  fe as a,
4520
4528
  re as b,
4521
- ir as c,
4529
+ or as c,
4522
4530
  dn as d,
4523
- ki as e,
4524
- fi as f,
4531
+ Ei as e,
4532
+ gi as f,
4525
4533
  se as g,
4526
4534
  Ot as h,
4527
- Ti as i,
4528
- ya as j,
4529
- yi as k,
4530
- Ei as l,
4531
- Dr as m,
4532
- Mr as n,
4533
- ar as o,
4534
- Lr as p,
4535
+ Ai as i,
4536
+ Ca as j,
4537
+ Ci as k,
4538
+ Ii as l,
4539
+ Pr as m,
4540
+ Rr as n,
4541
+ rr as o,
4542
+ Dr as p,
4535
4543
  Xt as q,
4536
4544
  ce as r,
4537
4545
  nn as s,
4538
- zs as t,
4539
- Si as u,
4540
- Hs as v,
4546
+ $s as t,
4547
+ Ti as u,
4548
+ Ys as v,
4541
4549
  Je as w,
4542
4550
  Ze as x,
4543
4551
  Wt as y,
4544
- pa as z
4552
+ va as z
4545
4553
  };
4546
- //# sourceMappingURL=index-BpkIKkeQ.js.map
4554
+ //# sourceMappingURL=index-DkqNYdg4.js.map