@_solaris/messenger-widget 0.5.49 → 0.5.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/messenger.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reactive as He, openBlock as c, createElementBlock as d, normalizeStyle as z, normalizeClass as I, toDisplayString as v, resolveComponent as B, createVNode as V, Transition as Ne, withCtx as Pe, Fragment as E, renderList as F, withKeys as fe, withModifiers as X, createElementVNode as o, createCommentVNode as b, createBlock as N, withDirectives as G, vModelText as te, resolveDynamicComponent as Ue, mergeProps as ze, createTextVNode as be, renderSlot as $e, vModelCheckbox as qe, vModelSelect as Ve, markRaw as Te } from "vue";
1
+ import { reactive as He, openBlock as c, createElementBlock as d, normalizeStyle as z, normalizeClass as I, toDisplayString as v, resolveComponent as R, createVNode as V, Transition as Pe, withCtx as Ne, Fragment as E, renderList as j, withKeys as fe, withModifiers as X, createElementVNode as o, createCommentVNode as b, createBlock as P, withDirectives as G, vModelText as te, resolveDynamicComponent as Ue, mergeProps as ze, createTextVNode as be, renderSlot as $e, vModelCheckbox as qe, vModelSelect as Ve, markRaw as Te } from "vue";
2
2
  const Ke = [
3
3
  "connected",
4
4
  "message",
@@ -185,7 +185,7 @@ function Xe(e) {
185
185
  { message_id: g }
186
186
  );
187
187
  }
188
- async function j(u, g = {}) {
188
+ async function F(u, g = {}) {
189
189
  const p = new URLSearchParams();
190
190
  g.before && p.set("before", g.before), g.since && p.set("since", g.since), g.limit && p.set("limit", String(g.limit));
191
191
  const S = p.toString() ? `?${p.toString()}` : "";
@@ -194,7 +194,7 @@ function Xe(e) {
194
194
  `/conversations/${encodeURIComponent(u)}/messages${S}`
195
195
  );
196
196
  }
197
- async function P(u, g) {
197
+ async function N(u, g) {
198
198
  ie();
199
199
  const p = {
200
200
  client_msg_id: g.client_msg_id,
@@ -342,8 +342,8 @@ function Xe(e) {
342
342
  getConversation: $,
343
343
  patchConversation: M,
344
344
  markConversationRead: U,
345
- listMessages: j,
346
- postMessage: P,
345
+ listMessages: F,
346
+ postMessage: N,
347
347
  postCallback: K,
348
348
  uploadAttachment: Q,
349
349
  signAttachment: ne,
@@ -631,7 +631,7 @@ function et(e) {
631
631
  }
632
632
  }
633
633
  const U = /* @__PURE__ */ new Map();
634
- async function j(h) {
634
+ async function F(h) {
635
635
  if (!h) return null;
636
636
  const m = U.get(h);
637
637
  if (m != null && m.url) {
@@ -650,7 +650,7 @@ function et(e) {
650
650
  }
651
651
  return null;
652
652
  }
653
- async function P(h, { rating: m, comment: f } = {}) {
653
+ async function N(h, { rating: m, comment: f } = {}) {
654
654
  const y = t.conversations.find((g) => g.id === h), u = {
655
655
  ...(y == null ? void 0 : y.metadata) || {},
656
656
  feedback: {
@@ -786,8 +786,8 @@ function et(e) {
786
786
  markConversationRead: A,
787
787
  send: $,
788
788
  clickCallback: M,
789
- signAttachment: j,
790
- submitFeedback: P,
789
+ signAttachment: F,
790
+ submitFeedback: N,
791
791
  getPendingApproval: K,
792
792
  getActionInFlight: ne,
793
793
  getLatestSuggestions: se,
@@ -978,7 +978,6 @@ Je réponds en quelques secondes.`,
978
978
  "moreMenu.editTitle": "Modifier le titre",
979
979
  "moreMenu.exportTranscript": "Exporter la transcription",
980
980
  "moreMenu.sound": "Son",
981
- "moreMenu.browserNotifications": "Notifications navigateur",
982
981
  "moreMenu.serviceStatus": "Statut des services",
983
982
  "moreMenu.helpCenter": "Centre d'aide",
984
983
  // ── Feedback ─────────────────────────────────────────────────────
@@ -1104,7 +1103,6 @@ I reply within seconds.`,
1104
1103
  "moreMenu.editTitle": "Edit title",
1105
1104
  "moreMenu.exportTranscript": "Export transcript",
1106
1105
  "moreMenu.sound": "Sound",
1107
- "moreMenu.browserNotifications": "Browser notifications",
1108
1106
  "moreMenu.serviceStatus": "Service status",
1109
1107
  "moreMenu.helpCenter": "Help center",
1110
1108
  // ── Feedback ─────────────────────────────────────────────────────
@@ -1167,7 +1165,7 @@ function Oe(e, t) {
1167
1165
  const n = e.options.find((i) => (i == null ? void 0 : i.value) === t);
1168
1166
  return (n == null ? void 0 : n.label) || t;
1169
1167
  }
1170
- function je(e, t, n) {
1168
+ function Fe(e, t, n) {
1171
1169
  return Array.isArray(t) ? t.map((i) => Oe(e, String(i))).join(", ") : typeof t == "boolean" ? n(t ? "common.yes" : "common.no") : Oe(e, String(t));
1172
1170
  }
1173
1171
  function ct(e, t, n = D()) {
@@ -1177,7 +1175,7 @@ function ct(e, t, n = D()) {
1177
1175
  if (!(s != null && s.key) || !(s != null && s.label)) continue;
1178
1176
  const a = t[s.key];
1179
1177
  if (a == null || a === "") continue;
1180
- const l = je(s, a, n);
1178
+ const l = Fe(s, a, n);
1181
1179
  l && r.push(`${s.label} :
1182
1180
  ${l}`);
1183
1181
  }
@@ -1191,7 +1189,7 @@ function dt(e, t, n = D()) {
1191
1189
  if (!(s != null && s.key) || !(s != null && s.label)) continue;
1192
1190
  const a = t == null ? void 0 : t[s.key];
1193
1191
  if (a == null || a === "") continue;
1194
- const l = je(s, a, n);
1192
+ const l = Fe(s, a, n);
1195
1193
  if (!l) continue;
1196
1194
  const _ = s.type === "textarea" || typeof l == "string" && (l.length > 60 || l.includes(`
1197
1195
  `));
@@ -1205,7 +1203,7 @@ function dt(e, t, n = D()) {
1205
1203
  }
1206
1204
  };
1207
1205
  }
1208
- function Fe(e) {
1206
+ function je(e) {
1209
1207
  return String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
1210
1208
  }
1211
1209
  function me(e) {
@@ -1223,11 +1221,11 @@ function le(e) {
1223
1221
  function ut(e) {
1224
1222
  if (!e) return "";
1225
1223
  const t = String(e).replace(/\[([^\]\n]+)\]\([^)\s]+\)/g, "$1");
1226
- return le(Fe(t));
1224
+ return le(je(t));
1227
1225
  }
1228
1226
  function ht(e) {
1229
1227
  if (!e) return "";
1230
- const t = Fe(e).split(`
1228
+ const t = je(e).split(`
1231
1229
  `), n = [];
1232
1230
  let i = 0;
1233
1231
  for (; i < t.length; ) {
@@ -1769,7 +1767,7 @@ function Tt(e) {
1769
1767
  }
1770
1768
  return null;
1771
1769
  }
1772
- const R = (e, t) => {
1770
+ const B = (e, t) => {
1773
1771
  const n = e.__vccOpts || e;
1774
1772
  for (const [i, r] of t)
1775
1773
  n[i] = r;
@@ -1815,7 +1813,7 @@ function It(e, t, n, i, r, s) {
1815
1813
  }, v(s.initials), 5))
1816
1814
  ], 6);
1817
1815
  }
1818
- const Se = /* @__PURE__ */ R(xt, [["render", It], ["__scopeId", "data-v-14e10c0d"]]), Et = 3, Lt = {
1816
+ const Se = /* @__PURE__ */ B(xt, [["render", It], ["__scopeId", "data-v-14e10c0d"]]), Et = 3, Lt = {
1819
1817
  name: "WmLauncher",
1820
1818
  components: { HumanAvatar: Se },
1821
1819
  inject: {
@@ -1841,9 +1839,9 @@ const Se = /* @__PURE__ */ R(xt, [["render", It], ["__scopeId", "data-v-14e10c0d
1841
1839
  return this.peeks.slice(0, Et).reverse();
1842
1840
  }
1843
1841
  }
1844
- }, Bt = ["aria-label", "onClick", "onKeydown"], Rt = ["aria-label", "onClick"], Nt = { class: "wm-peek__avatar" }, Pt = ["aria-label"], Ut = { class: "wm-peek__body" }, jt = { class: "wm-peek__head" }, Ft = { class: "wm-peek__name" }, Dt = { class: "wm-peek__action" }, Ht = { class: "wm-peek__text" }, zt = ["onClick"], $t = ["aria-label"], qt = ["aria-label"];
1842
+ }, Rt = ["aria-label", "onClick", "onKeydown"], Bt = ["aria-label", "onClick"], Pt = { class: "wm-peek__avatar" }, Nt = ["aria-label"], Ut = { class: "wm-peek__body" }, Ft = { class: "wm-peek__head" }, jt = { class: "wm-peek__name" }, Dt = { class: "wm-peek__action" }, Ht = { class: "wm-peek__text" }, zt = ["onClick"], $t = ["aria-label"], qt = ["aria-label"];
1845
1843
  function Vt(e, t, n, i, r, s) {
1846
- const a = B("HumanAvatar");
1844
+ const a = R("HumanAvatar");
1847
1845
  return c(), d("div", {
1848
1846
  class: "wm-launcherWrap",
1849
1847
  onMouseenter: t[1] || (t[1] = (l) => e.$emit("hover", !0)),
@@ -1851,13 +1849,13 @@ function Vt(e, t, n, i, r, s) {
1851
1849
  onFocusin: t[3] || (t[3] = (l) => e.$emit("hover", !0)),
1852
1850
  onFocusout: t[4] || (t[4] = (l) => e.$emit("hover", !1))
1853
1851
  }, [
1854
- V(Ne, { name: "wm-peek" }, {
1855
- default: Pe(() => [
1852
+ V(Pe, { name: "wm-peek" }, {
1853
+ default: Ne(() => [
1856
1854
  s.visiblePeeks.length ? (c(), d("div", {
1857
1855
  key: 0,
1858
1856
  class: I(["wm-peekStack", { "wm-peekStack--multi": s.visiblePeeks.length > 1 }])
1859
1857
  }, [
1860
- (c(!0), d(E, null, F(s.visiblePeeks, (l, _) => (c(), d("div", {
1858
+ (c(!0), d(E, null, j(s.visiblePeeks, (l, _) => (c(), d("div", {
1861
1859
  key: l.convId,
1862
1860
  class: "wm-peek",
1863
1861
  style: z({
@@ -1894,8 +1892,8 @@ function Vt(e, t, n, i, r, s) {
1894
1892
  }, [
1895
1893
  o("path", { d: "M18 6L6 18M6 6l12 12" })
1896
1894
  ], -1)
1897
- ])], 8, Rt),
1898
- o("div", Nt, [
1895
+ ])], 8, Bt),
1896
+ o("div", Pt, [
1899
1897
  V(a, {
1900
1898
  name: l.senderName,
1901
1899
  "avatar-url": l.senderAvatarUrl,
@@ -1905,11 +1903,11 @@ function Vt(e, t, n, i, r, s) {
1905
1903
  key: 0,
1906
1904
  class: "wm-peek__avatarBadge",
1907
1905
  "aria-label": s.t("launcher.unreadMessages", { count: l.count })
1908
- }, v(l.count > 9 ? "9+" : l.count), 9, Pt)) : b("", !0)
1906
+ }, v(l.count > 9 ? "9+" : l.count), 9, Nt)) : b("", !0)
1909
1907
  ]),
1910
1908
  o("div", Ut, [
1911
- o("div", jt, [
1912
- o("span", Ft, v(l.senderName || s.t("common.agent")), 1),
1909
+ o("div", Ft, [
1910
+ o("span", jt, v(l.senderName || s.t("common.agent")), 1),
1913
1911
  o("span", Dt, v(s.t("launcher.repliedToYou")), 1)
1914
1912
  ]),
1915
1913
  o("p", Ht, v(l.preview), 1)
@@ -1919,7 +1917,7 @@ function Vt(e, t, n, i, r, s) {
1919
1917
  class: "wm-peek__open",
1920
1918
  onClick: X((k) => e.$emit("open", l.convId), ["stop"])
1921
1919
  }, v(s.t("common.open")), 9, zt)
1922
- ], 44, Bt))), 128))
1920
+ ], 44, Rt))), 128))
1923
1921
  ], 2)) : b("", !0)
1924
1922
  ]),
1925
1923
  _: 1
@@ -1955,7 +1953,7 @@ function Vt(e, t, n, i, r, s) {
1955
1953
  ], 8, $t)
1956
1954
  ], 32);
1957
1955
  }
1958
- const Kt = /* @__PURE__ */ R(Lt, [["render", Vt], ["__scopeId", "data-v-44ddf1a1"]]), Wt = {
1956
+ const Kt = /* @__PURE__ */ B(Lt, [["render", Vt], ["__scopeId", "data-v-44ddf1a1"]]), Wt = {
1959
1957
  name: "WmAIAvatar",
1960
1958
  props: {
1961
1959
  size: { type: Number, default: 26 },
@@ -2046,7 +2044,7 @@ function Jt(e, t, n, i, r, s) {
2046
2044
  ], 6)
2047
2045
  ], 6);
2048
2046
  }
2049
- const oe = /* @__PURE__ */ R(Wt, [["render", Jt], ["__scopeId", "data-v-6f7f685d"]]), Qt = {
2047
+ const oe = /* @__PURE__ */ B(Wt, [["render", Jt], ["__scopeId", "data-v-6f7f685d"]]), Qt = {
2050
2048
  name: "WmTeamAvatars",
2051
2049
  props: {
2052
2050
  members: { type: Array, default: () => [] },
@@ -2081,7 +2079,7 @@ function sn(e, t, n, i, r, s) {
2081
2079
  class: "wm-team__stack",
2082
2080
  style: z({ width: s.stackWidth + "px" })
2083
2081
  }, [
2084
- (c(!0), d(E, null, F(n.members.slice(0, 3), (a, l) => (c(), d("div", {
2082
+ (c(!0), d(E, null, j(n.members.slice(0, 3), (a, l) => (c(), d("div", {
2085
2083
  key: l,
2086
2084
  class: "wm-team__pill",
2087
2085
  style: z({
@@ -2100,7 +2098,7 @@ function sn(e, t, n, i, r, s) {
2100
2098
  n.responseLabel ? (c(), d("span", nn, v(n.responseLabel), 1)) : b("", !0)
2101
2099
  ])) : b("", !0);
2102
2100
  }
2103
- const rn = /* @__PURE__ */ R(Qt, [["render", sn], ["__scopeId", "data-v-e49a9063"]]), an = {
2101
+ const rn = /* @__PURE__ */ B(Qt, [["render", sn], ["__scopeId", "data-v-e49a9063"]]), an = {
2104
2102
  name: "WmHeader",
2105
2103
  components: { AIAvatar: oe, TeamAvatars: rn },
2106
2104
  inject: {
@@ -2147,7 +2145,7 @@ const rn = /* @__PURE__ */ R(Qt, [["render", sn], ["__scopeId", "data-v-e49a9063
2147
2145
  class: "wm-header__fill"
2148
2146
  }, fn = { class: "wm-header__actions" }, gn = ["aria-label", "title"], _n = ["aria-label", "title"];
2149
2147
  function pn(e, t, n, i, r, s) {
2150
- const a = B("AIAvatar"), l = B("TeamAvatars");
2148
+ const a = R("AIAvatar"), l = R("TeamAvatars");
2151
2149
  return c(), d("div", on, [
2152
2150
  n.showBack ? (c(), d("button", {
2153
2151
  key: 0,
@@ -2181,7 +2179,7 @@ function pn(e, t, n, i, r, s) {
2181
2179
  o("div", un, [
2182
2180
  o("div", hn, v(n.title), 1)
2183
2181
  ]),
2184
- s.hasTeam ? (c(), N(l, {
2182
+ s.hasTeam ? (c(), P(l, {
2185
2183
  key: 0,
2186
2184
  members: s.displayedTeamMembers,
2187
2185
  "response-label": ""
@@ -2245,7 +2243,7 @@ function pn(e, t, n, i, r, s) {
2245
2243
  ])
2246
2244
  ]);
2247
2245
  }
2248
- const vn = /* @__PURE__ */ R(an, [["render", pn], ["__scopeId", "data-v-7af4c118"]]), Le = {
2246
+ const vn = /* @__PURE__ */ B(an, [["render", pn], ["__scopeId", "data-v-7af4c118"]]), Le = {
2249
2247
  book: "M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253",
2250
2248
  changelog: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2",
2251
2249
  status: "M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z",
@@ -2317,7 +2315,7 @@ const vn = /* @__PURE__ */ R(an, [["render", pn], ["__scopeId", "data-v-7af4c118
2317
2315
  "stroke-linecap": "round",
2318
2316
  "stroke-linejoin": "round",
2319
2317
  "aria-hidden": "true"
2320
- }, Ln = ["d"], Bn = { class: "wm-onb__btn-label" }, Rn = {
2318
+ }, Ln = ["d"], Rn = { class: "wm-onb__btn-label" }, Bn = {
2321
2319
  key: 0,
2322
2320
  class: "wm-onb__btn-trail",
2323
2321
  width: "13",
@@ -2329,7 +2327,7 @@ const vn = /* @__PURE__ */ R(an, [["render", pn], ["__scopeId", "data-v-7af4c118
2329
2327
  "stroke-linecap": "round",
2330
2328
  "stroke-linejoin": "round",
2331
2329
  "aria-hidden": "true"
2332
- }, Nn = ["onClick"], Pn = { class: "wm-onb__btn-label" }, Un = ["aria-label"], jn = { class: "wm-onb__btn-icon" }, Fn = {
2330
+ }, Pn = ["onClick"], Nn = { class: "wm-onb__btn-label" }, Un = ["aria-label"], Fn = { class: "wm-onb__btn-icon" }, jn = {
2333
2331
  width: "18",
2334
2332
  height: "18",
2335
2333
  viewBox: "0 0 24 24",
@@ -2341,7 +2339,7 @@ const vn = /* @__PURE__ */ R(an, [["render", pn], ["__scopeId", "data-v-7af4c118
2341
2339
  "aria-hidden": "true"
2342
2340
  }, Dn = ["d"], Hn = { class: "wm-onb__btn-label" }, zn = { class: "wm-onb__btn-count" };
2343
2341
  function $n(e, t, n, i, r, s) {
2344
- const a = B("AIAvatar");
2342
+ const a = R("AIAvatar");
2345
2343
  return c(), d("div", wn, [
2346
2344
  o("div", bn, [
2347
2345
  t[2] || (t[2] = o("svg", {
@@ -2411,7 +2409,7 @@ function $n(e, t, n, i, r, s) {
2411
2409
  ], -1)),
2412
2410
  o("span", Tn, v(n.busy ? "…" : s.t("onboarding.start")), 1)
2413
2411
  ], 8, Mn),
2414
- (c(!0), d(E, null, F(n.quickLinks, (l, _) => (c(), d("button", {
2412
+ (c(!0), d(E, null, j(n.quickLinks, (l, _) => (c(), d("button", {
2415
2413
  key: "ql-" + _,
2416
2414
  type: "button",
2417
2415
  class: "wm-onb__btn",
@@ -2430,12 +2428,12 @@ function $n(e, t, n, i, r, s) {
2430
2428
  }, null, 8, Ln)
2431
2429
  ]))
2432
2430
  ]),
2433
- o("span", Bn, v(l.label), 1),
2434
- s.isExternalLink(l) ? (c(), d("svg", Rn, [...t[4] || (t[4] = [
2431
+ o("span", Rn, v(l.label), 1),
2432
+ s.isExternalLink(l) ? (c(), d("svg", Bn, [...t[4] || (t[4] = [
2435
2433
  o("path", { d: "M7 17L17 7M9 7h8v8" }, null, -1)
2436
2434
  ])])) : b("", !0)
2437
2435
  ], 8, xn))), 128)),
2438
- (c(!0), d(E, null, F(s.unreadThreads, (l) => (c(), d("button", {
2436
+ (c(!0), d(E, null, j(s.unreadThreads, (l) => (c(), d("button", {
2439
2437
  key: "un-" + l.id,
2440
2438
  type: "button",
2441
2439
  class: "wm-onb__btn wm-onb__btn--unread",
@@ -2456,20 +2454,20 @@ function $n(e, t, n, i, r, s) {
2456
2454
  o("path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" })
2457
2455
  ])
2458
2456
  ], -1)),
2459
- o("span", Pn, v(l.title), 1),
2457
+ o("span", Nn, v(l.title), 1),
2460
2458
  o("span", {
2461
2459
  class: "wm-onb__btn-dot",
2462
2460
  "aria-label": s.t("onboarding.unread")
2463
2461
  }, null, 8, Un)
2464
- ], 8, Nn))), 128)),
2462
+ ], 8, Pn))), 128)),
2465
2463
  n.openThreads.length ? (c(), d("button", {
2466
2464
  key: 0,
2467
2465
  type: "button",
2468
2466
  class: "wm-onb__btn",
2469
2467
  onClick: t[1] || (t[1] = (l) => e.$emit("view-history"))
2470
2468
  }, [
2471
- o("span", jn, [
2472
- (c(), d("svg", Fn, [
2469
+ o("span", Fn, [
2470
+ (c(), d("svg", jn, [
2473
2471
  o("path", {
2474
2472
  d: s.iconPath("chat")
2475
2473
  }, null, 8, Dn)
@@ -2495,7 +2493,7 @@ function $n(e, t, n, i, r, s) {
2495
2493
  ])
2496
2494
  ]);
2497
2495
  }
2498
- const qn = /* @__PURE__ */ R(yn, [["render", $n], ["__scopeId", "data-v-8b4ef2e1"]]), Vn = {
2496
+ const qn = /* @__PURE__ */ B(yn, [["render", $n], ["__scopeId", "data-v-0a0574a9"]]), Vn = {
2499
2497
  name: "WmHistory",
2500
2498
  components: { AIAvatar: oe, HumanAvatar: Se },
2501
2499
  inject: {
@@ -2602,7 +2600,7 @@ function is(e, t, n, i, r, s) {
2602
2600
  ])
2603
2601
  ]),
2604
2602
  o("div", Yn, [
2605
- (c(!0), d(E, null, F(s.filteredThreads, (a) => (c(), d("button", {
2603
+ (c(!0), d(E, null, j(s.filteredThreads, (a) => (c(), d("button", {
2606
2604
  key: a.id,
2607
2605
  type: "button",
2608
2606
  class: I(["wm-hist__thread", { "wm-hist__thread--unread": a.unread }]),
@@ -2625,7 +2623,7 @@ function is(e, t, n, i, r, s) {
2625
2623
  }, [
2626
2624
  o("path", { d: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z" })
2627
2625
  ], -1)
2628
- ])])) : (c(), N(Ue(s.avatarComponent(a)), ze({
2626
+ ])])) : (c(), P(Ue(s.avatarComponent(a)), ze({
2629
2627
  key: 1,
2630
2628
  ref_for: !0
2631
2629
  }, s.avatarProps(a)), null, 16)),
@@ -2664,7 +2662,7 @@ function is(e, t, n, i, r, s) {
2664
2662
  ])
2665
2663
  ]);
2666
2664
  }
2667
- const as = /* @__PURE__ */ R(Vn, [["render", is], ["__scopeId", "data-v-0d31869d"]]);
2665
+ const as = /* @__PURE__ */ B(Vn, [["render", is], ["__scopeId", "data-v-0d31869d"]]);
2668
2666
  function os(e) {
2669
2667
  return typeof e != "string" ? "" : e.replace(/`([^`]+)`/g, "$1").replace(/\*\*([^*]+)\*\*/g, "$1").replace(new RegExp("(?<!\\*)\\*([^*]+)\\*(?!\\*)", "g"), "$1").replace(/__([^_]+)__/g, "$1").replace(/\[([^\]]+)\]\([^)]+\)/g, "$1").replace(/\s+/g, " ").trim();
2670
2668
  }
@@ -2769,7 +2767,7 @@ function ps(e, t, n, i, r, s) {
2769
2767
  ])
2770
2768
  ], 2);
2771
2769
  }
2772
- const vs = /* @__PURE__ */ R(ls, [["render", ps], ["__scopeId", "data-v-7284acd0"]]), ys = {
2770
+ const vs = /* @__PURE__ */ B(ls, [["render", ps], ["__scopeId", "data-v-7284acd0"]]), ys = {
2773
2771
  name: "WmArtifactFormResponse",
2774
2772
  inject: {
2775
2773
  // Translator shared by the Messenger shell; French fallback when
@@ -2808,7 +2806,7 @@ function Ms(e, t, n, i, r, s) {
2808
2806
  ])
2809
2807
  ]),
2810
2808
  o("div", As, [
2811
- (c(!0), d(E, null, F(s.fields, (a, l) => (c(), d("div", {
2809
+ (c(!0), d(E, null, j(s.fields, (a, l) => (c(), d("div", {
2812
2810
  key: l,
2813
2811
  class: "wm-art__field"
2814
2812
  }, [
@@ -2823,7 +2821,7 @@ function Ms(e, t, n, i, r, s) {
2823
2821
  ])
2824
2822
  ]);
2825
2823
  }
2826
- const Ts = /* @__PURE__ */ R(ys, [["render", Ms], ["__scopeId", "data-v-713aecf1"]]), xs = {
2824
+ const Ts = /* @__PURE__ */ B(ys, [["render", Ms], ["__scopeId", "data-v-713aecf1"]]), xs = {
2827
2825
  name: "WmArtifactInfoCard",
2828
2826
  props: {
2829
2827
  data: { type: Object, required: !0 }
@@ -2841,17 +2839,17 @@ const Ts = /* @__PURE__ */ R(ys, [["render", Ms], ["__scopeId", "data-v-713aecf1
2841
2839
  }, Os = { class: "wm-art wm-art--infoCard" }, Is = {
2842
2840
  key: 0,
2843
2841
  class: "wm-art__image"
2844
- }, Es = ["src", "alt"], Ls = { class: "wm-art__head" }, Bs = { class: "wm-art__headMain" }, Rs = { class: "wm-art__title" }, Ns = {
2842
+ }, Es = ["src", "alt"], Ls = { class: "wm-art__head" }, Rs = { class: "wm-art__headMain" }, Bs = { class: "wm-art__title" }, Ps = {
2845
2843
  key: 0,
2846
2844
  class: "wm-art__subtitle"
2847
- }, Ps = {
2845
+ }, Ns = {
2848
2846
  key: 1,
2849
2847
  class: "wm-art__body"
2850
2848
  }, Us = {
2851
2849
  key: 0,
2852
2850
  class: "wm-art__text"
2853
- }, js = { class: "wm-art__fieldLabel" };
2854
- function Fs(e, t, n, i, r, s) {
2851
+ }, Fs = { class: "wm-art__fieldLabel" };
2852
+ function js(e, t, n, i, r, s) {
2855
2853
  return c(), d("div", Os, [
2856
2854
  n.data.image_url ? (c(), d("figure", Is, [
2857
2855
  o("img", {
@@ -2861,9 +2859,9 @@ function Fs(e, t, n, i, r, s) {
2861
2859
  }, null, 8, Es)
2862
2860
  ])) : b("", !0),
2863
2861
  o("div", Ls, [
2864
- o("div", Bs, [
2865
- o("div", Rs, v(n.data.title), 1),
2866
- n.data.subtitle ? (c(), d("div", Ns, v(n.data.subtitle), 1)) : b("", !0)
2862
+ o("div", Rs, [
2863
+ o("div", Bs, v(n.data.title), 1),
2864
+ n.data.subtitle ? (c(), d("div", Ps, v(n.data.subtitle), 1)) : b("", !0)
2867
2865
  ]),
2868
2866
  n.data.badge && n.data.badge.label ? (c(), d("span", {
2869
2867
  key: 0,
@@ -2873,13 +2871,13 @@ function Fs(e, t, n, i, r, s) {
2873
2871
  ])
2874
2872
  }, v(n.data.badge.label), 3)) : b("", !0)
2875
2873
  ]),
2876
- s.hasBody ? (c(), d("div", Ps, [
2874
+ s.hasBody ? (c(), d("div", Ns, [
2877
2875
  n.data.body ? (c(), d("div", Us, v(n.data.body), 1)) : b("", !0),
2878
- s.fields.length ? (c(!0), d(E, { key: 1 }, F(s.fields, (a, l) => (c(), d("div", {
2876
+ s.fields.length ? (c(!0), d(E, { key: 1 }, j(s.fields, (a, l) => (c(), d("div", {
2879
2877
  key: l,
2880
2878
  class: "wm-art__field"
2881
2879
  }, [
2882
- o("div", js, v(a.label), 1),
2880
+ o("div", Fs, v(a.label), 1),
2883
2881
  o("div", {
2884
2882
  class: I([
2885
2883
  "wm-art__fieldValue",
@@ -2890,7 +2888,7 @@ function Fs(e, t, n, i, r, s) {
2890
2888
  ])) : b("", !0)
2891
2889
  ]);
2892
2890
  }
2893
- const Ds = /* @__PURE__ */ R(xs, [["render", Fs], ["__scopeId", "data-v-7eae0e4a"]]);
2891
+ const Ds = /* @__PURE__ */ B(xs, [["render", js], ["__scopeId", "data-v-7eae0e4a"]]);
2894
2892
  function Hs(e, t, n) {
2895
2893
  if (!e) return "";
2896
2894
  const i = new Date(e);
@@ -3012,7 +3010,7 @@ function er(e, t, n, i, r, s) {
3012
3010
  n.data.body ? (c(), d("div", Gs, v(n.data.body), 1)) : b("", !0)
3013
3011
  ]),
3014
3012
  s.fields.length ? (c(), d("div", Ys, [
3015
- (c(!0), d(E, null, F(s.fields, (a, l) => (c(), d("div", {
3013
+ (c(!0), d(E, null, j(s.fields, (a, l) => (c(), d("div", {
3016
3014
  key: l,
3017
3015
  class: "wm-art__field"
3018
3016
  }, [
@@ -3092,7 +3090,7 @@ function er(e, t, n, i, r, s) {
3092
3090
  ])) : b("", !0)
3093
3091
  ]);
3094
3092
  }
3095
- const tr = /* @__PURE__ */ R(zs, [["render", er], ["__scopeId", "data-v-5f30c914"]]), nr = {
3093
+ const tr = /* @__PURE__ */ B(zs, [["render", er], ["__scopeId", "data-v-5f30c914"]]), nr = {
3096
3094
  form_response: Ts,
3097
3095
  info_card: Ds,
3098
3096
  ticket: tr
@@ -3112,12 +3110,12 @@ const tr = /* @__PURE__ */ R(zs, [["render", er], ["__scopeId", "data-v-5f30c914
3112
3110
  }
3113
3111
  };
3114
3112
  function rr(e, t, n, i, r, s) {
3115
- return s.component ? (c(), N(Ue(s.component), {
3113
+ return s.component ? (c(), P(Ue(s.component), {
3116
3114
  key: 0,
3117
3115
  data: n.artifact.data
3118
3116
  }, null, 8, ["data"])) : b("", !0);
3119
3117
  }
3120
- const ir = /* @__PURE__ */ R(sr, [["render", rr]]), ar = {
3118
+ const ir = /* @__PURE__ */ B(sr, [["render", rr]]), ar = {
3121
3119
  name: "WmAttachmentPreview",
3122
3120
  inject: {
3123
3121
  signAttachmentFn: { default: null },
@@ -3252,7 +3250,7 @@ function _r(e, t, n, i, r, s) {
3252
3250
  ], 8, ur))
3253
3251
  ], 2);
3254
3252
  }
3255
- const pr = /* @__PURE__ */ R(ar, [["render", _r], ["__scopeId", "data-v-0c877a62"]]), vr = {
3253
+ const pr = /* @__PURE__ */ B(ar, [["render", _r], ["__scopeId", "data-v-0c877a62"]]), vr = {
3256
3254
  name: "WmBubble",
3257
3255
  props: {
3258
3256
  role: { type: String, default: "ai" },
@@ -3274,7 +3272,7 @@ function wr(e, t, n, i, r, s) {
3274
3272
  ], !0)
3275
3273
  ], 2);
3276
3274
  }
3277
- const br = /* @__PURE__ */ R(vr, [["render", wr], ["__scopeId", "data-v-7ab13147"]]), kr = { name: "WmTyping" }, Cr = { class: "wm-typing" };
3275
+ const br = /* @__PURE__ */ B(vr, [["render", wr], ["__scopeId", "data-v-7ab13147"]]), kr = { name: "WmTyping" }, Cr = { class: "wm-typing" };
3278
3276
  function Ar(e, t, n, i, r, s) {
3279
3277
  return c(), d("div", Cr, [...t[0] || (t[0] = [
3280
3278
  o("span", { style: { "animation-delay": "0s" } }, null, -1),
@@ -3282,7 +3280,7 @@ function Ar(e, t, n, i, r, s) {
3282
3280
  o("span", { style: { "animation-delay": "0.4s" } }, null, -1)
3283
3281
  ])]);
3284
3282
  }
3285
- const Sr = /* @__PURE__ */ R(kr, [["render", Ar], ["__scopeId", "data-v-df2447fd"]]);
3283
+ const Sr = /* @__PURE__ */ B(kr, [["render", Ar], ["__scopeId", "data-v-df2447fd"]]);
3286
3284
  function ee(e) {
3287
3285
  return e ? e.client_msg_id || e.id : "";
3288
3286
  }
@@ -3698,8 +3696,8 @@ const Mr = {
3698
3696
  cornersFor(e, t) {
3699
3697
  var Q, ne, se;
3700
3698
  const n = e.items, i = (Q = n[t]) == null ? void 0 : Q.kind, r = (ne = n[t - 1]) == null ? void 0 : ne.kind, s = (se = n[t + 1]) == null ? void 0 : se.kind, a = e.role === "user", l = 14, _ = 4, k = r == null ? void 0 : r.bottom, w = s == null ? void 0 : s.top, x = this.widthByKey[this.rowKeyOf(e, t)], L = this.widthByKey[this.rowKeyOf(e, t - 1)], A = this.widthByKey[this.rowKeyOf(e, t + 1)], $ = 0.5, M = (W, re, J) => W != null && x != null ? W + $ >= x : re === J || re === "card" && J === "bubble";
3701
- let U = l, j = l, P = l, K = l;
3702
- return a ? (k && (j = _), (w || !s) && (P = _), k && M(L, k, i == null ? void 0 : i.top) && (U = _), w && M(A, w, i == null ? void 0 : i.bottom) && (K = _)) : (k && (U = _), (w || !s) && (K = _), k && M(L, k, i == null ? void 0 : i.top) && (j = _), w && M(A, w, i == null ? void 0 : i.bottom) && (P = _)), { tl: U, tr: j, br: P, bl: K };
3699
+ let U = l, F = l, N = l, K = l;
3700
+ return a ? (k && (F = _), (w || !s) && (N = _), k && M(L, k, i == null ? void 0 : i.top) && (U = _), w && M(A, w, i == null ? void 0 : i.bottom) && (K = _)) : (k && (U = _), (w || !s) && (K = _), k && M(L, k, i == null ? void 0 : i.top) && (F = _), w && M(A, w, i == null ? void 0 : i.bottom) && (N = _)), { tl: U, tr: F, br: N, bl: K };
3703
3701
  },
3704
3702
  // Inline style emitting the four corner CSS variables. Set on
3705
3703
  // `.wm-list__row` so they cascade to Bubble/ActionResult/
@@ -3854,19 +3852,19 @@ const Mr = {
3854
3852
  class: "wm-list__loadMore",
3855
3853
  role: "status",
3856
3854
  "aria-live": "polite"
3857
- }, Lr = { class: "wm-list__loadMore-lbl" }, Br = {
3855
+ }, Lr = { class: "wm-list__loadMore-lbl" }, Rr = {
3858
3856
  key: 1,
3859
3857
  class: "wm-list__historyEnd"
3860
- }, Rr = {
3858
+ }, Br = {
3861
3859
  key: 2,
3862
3860
  class: "wm-list__sep"
3863
- }, Nr = { class: "wm-list__sep-label" }, Pr = {
3861
+ }, Pr = { class: "wm-list__sep-label" }, Nr = {
3864
3862
  key: 0,
3865
3863
  class: "wm-list__sep wm-list__sep--unread"
3866
- }, Ur = { class: "wm-list__sep-label wm-list__sep-label--unread" }, jr = {
3864
+ }, Ur = { class: "wm-list__sep-label wm-list__sep-label--unread" }, Fr = {
3867
3865
  key: 0,
3868
3866
  class: "wm-list__sysep"
3869
- }, Fr = { class: "wm-list__sysep-label" }, Dr = ["data-row-key", "onPointerdown"], Hr = {
3867
+ }, jr = { class: "wm-list__sysep-label" }, Dr = ["data-row-key", "onPointerdown"], Hr = {
3870
3868
  key: 0,
3871
3869
  class: "wm-list__avatarSlot"
3872
3870
  }, zr = {
@@ -3883,7 +3881,7 @@ const Mr = {
3883
3881
  class: "wm-list__row wm-list__row--ai fade-up"
3884
3882
  }, Xr = { class: "wm-list__avatarSlot" }, Jr = ["aria-label", "title"];
3885
3883
  function Qr(e, t, n, i, r, s) {
3886
- const a = B("AIAvatar"), l = B("HumanAvatar"), _ = B("ActionResult"), k = B("ArtifactRenderer"), w = B("Bubble"), x = B("AttachmentPreview"), L = B("Typing");
3884
+ const a = R("AIAvatar"), l = R("HumanAvatar"), _ = R("ActionResult"), k = R("ArtifactRenderer"), w = R("Bubble"), x = R("AttachmentPreview"), L = R("Typing");
3887
3885
  return c(), d("div", Ir, [
3888
3886
  o("div", {
3889
3887
  ref: "scrollEl",
@@ -3896,16 +3894,16 @@ function Qr(e, t, n, i, r, s) {
3896
3894
  "aria-hidden": "true"
3897
3895
  }, null, -1)),
3898
3896
  o("span", Lr, v(s.t("messageList.loadingHistory")), 1)
3899
- ])) : s.historyExhausted ? (c(), d("div", Br, v(s.t("messageList.conversationStart")), 1)) : b("", !0),
3900
- n.dateLabel ? (c(), d("div", Rr, [
3897
+ ])) : s.historyExhausted ? (c(), d("div", Rr, v(s.t("messageList.conversationStart")), 1)) : b("", !0),
3898
+ n.dateLabel ? (c(), d("div", Br, [
3901
3899
  t[7] || (t[7] = o("div", { class: "wm-list__line" }, null, -1)),
3902
- o("span", Nr, v(n.dateLabel), 1),
3900
+ o("span", Pr, v(n.dateLabel), 1),
3903
3901
  t[8] || (t[8] = o("div", { class: "wm-list__line" }, null, -1))
3904
3902
  ])) : b("", !0),
3905
- (c(!0), d(E, null, F(s.groups, (A, $) => (c(), d(E, {
3903
+ (c(!0), d(E, null, j(s.groups, (A, $) => (c(), d(E, {
3906
3904
  key: A.key
3907
3905
  }, [
3908
- A.key === s.unreadGroupKey ? (c(), d("div", Pr, [
3906
+ A.key === s.unreadGroupKey ? (c(), d("div", Nr, [
3909
3907
  t[9] || (t[9] = o("div", { class: "wm-list__line wm-list__line--unread" }, null, -1)),
3910
3908
  o("span", Ur, v(s.t("messageList.unread")), 1),
3911
3909
  t[10] || (t[10] = o("div", { class: "wm-list__line wm-list__line--unread" }, null, -1))
@@ -3914,12 +3912,12 @@ function Qr(e, t, n, i, r, s) {
3914
3912
  key: 1,
3915
3913
  class: I(["wm-list__group", "wm-list__group--" + A.role])
3916
3914
  }, [
3917
- A.role === "system" ? (c(), d("div", jr, [
3915
+ A.role === "system" ? (c(), d("div", Fr, [
3918
3916
  t[11] || (t[11] = o("div", { class: "wm-list__line wm-list__line--strong" }, null, -1)),
3919
- o("span", Fr, v(A.systemLabel), 1),
3917
+ o("span", jr, v(A.systemLabel), 1),
3920
3918
  t[12] || (t[12] = o("div", { class: "wm-list__line wm-list__line--strong" }, null, -1))
3921
3919
  ])) : (c(), d(E, { key: 1 }, [
3922
- (c(!0), d(E, null, F(A.items, (M, U) => (c(), d(E, {
3920
+ (c(!0), d(E, null, j(A.items, (M, U) => (c(), d(E, {
3923
3921
  key: `${s.messageKey(M.message)}-${M.partKey}`
3924
3922
  }, [
3925
3923
  o("div", {
@@ -3932,22 +3930,22 @@ function Qr(e, t, n, i, r, s) {
3932
3930
  }
3933
3931
  ]]),
3934
3932
  style: z(s.cornersStyle(A, U)),
3935
- onPointerdown: (j) => s.onPressStart(`${s.messageKey(M.message)}-${M.partKey}`),
3936
- onPointerup: t[0] || (t[0] = (j) => s.onPressEnd()),
3937
- onPointercancel: t[1] || (t[1] = (j) => s.onPressEnd()),
3938
- onPointerleave: t[2] || (t[2] = (j) => s.onPressEnd()),
3933
+ onPointerdown: (F) => s.onPressStart(`${s.messageKey(M.message)}-${M.partKey}`),
3934
+ onPointerup: t[0] || (t[0] = (F) => s.onPressEnd()),
3935
+ onPointercancel: t[1] || (t[1] = (F) => s.onPressEnd()),
3936
+ onPointerleave: t[2] || (t[2] = (F) => s.onPressEnd()),
3939
3937
  onContextmenu: t[3] || (t[3] = X(() => {
3940
3938
  }, ["prevent"]))
3941
3939
  }, [
3942
3940
  A.role !== "user" ? (c(), d("div", Hr, [
3943
3941
  U === A.items.length - 1 ? (c(), d(E, { key: 0 }, [
3944
- A.role === "ai" ? (c(), N(a, {
3942
+ A.role === "ai" ? (c(), P(a, {
3945
3943
  key: 0,
3946
3944
  size: 26,
3947
3945
  tail: !0,
3948
3946
  name: n.aiAgentName,
3949
3947
  "image-url": n.aiAgentAvatarUrl
3950
- }, null, 8, ["name", "image-url"])) : (c(), N(l, {
3948
+ }, null, 8, ["name", "image-url"])) : (c(), P(l, {
3951
3949
  key: 1,
3952
3950
  name: A.agentName,
3953
3951
  "avatar-url": A.agentAvatarUrl,
@@ -3956,24 +3954,24 @@ function Qr(e, t, n, i, r, s) {
3956
3954
  }, null, 8, ["name", "avatar-url"]))
3957
3955
  ], 64)) : b("", !0)
3958
3956
  ])) : b("", !0),
3959
- M.renderAs === "action" ? (c(), N(_, {
3957
+ M.renderAs === "action" ? (c(), P(_, {
3960
3958
  key: 1,
3961
3959
  state: M.message.payload.state,
3962
3960
  label: s.actionLabel(M.message),
3963
3961
  detail: s.actionDetail(M.message)
3964
- }, null, 8, ["state", "label", "detail"])) : M.renderAs === "admin-pending" ? (c(), N(_, {
3962
+ }, null, 8, ["state", "label", "detail"])) : M.renderAs === "admin-pending" ? (c(), P(_, {
3965
3963
  key: 2,
3966
3964
  state: "awaiting",
3967
3965
  label: s.t("messageList.approvalRequestSent"),
3968
3966
  detail: M.message.text_md || ""
3969
- }, null, 8, ["label", "detail"])) : M.renderAs === "artifact-of-action" ? (c(), N(k, {
3967
+ }, null, 8, ["label", "detail"])) : M.renderAs === "artifact-of-action" ? (c(), P(k, {
3970
3968
  key: 3,
3971
3969
  artifact: s.actionArtifact(M.message)
3972
- }, null, 8, ["artifact"])) : M.renderAs === "artifact" ? (c(), N(k, {
3970
+ }, null, 8, ["artifact"])) : M.renderAs === "artifact" ? (c(), P(k, {
3973
3971
  key: 4,
3974
3972
  artifact: s.artifactOf(M.message)
3975
3973
  }, null, 8, ["artifact"])) : (c(), d("div", zr, [
3976
- M.message.text_md ? (c(), N(w, {
3974
+ M.message.text_md ? (c(), P(w, {
3977
3975
  key: 0,
3978
3976
  role: A.role,
3979
3977
  text: M.message.text_md
@@ -3984,11 +3982,11 @@ function Qr(e, t, n, i, r, s) {
3984
3982
  "wm-list__atts--align-end": A.role === "user"
3985
3983
  }])
3986
3984
  }, [
3987
- (c(!0), d(E, null, F(s.attachmentsOf(
3985
+ (c(!0), d(E, null, j(s.attachmentsOf(
3988
3986
  M.message
3989
- ), (j, P) => (c(), N(x, {
3990
- key: `${s.messageKey(M.message)}-att-${P}`,
3991
- attachment: j
3987
+ ), (F, N) => (c(), P(x, {
3988
+ key: `${s.messageKey(M.message)}-att-${N}`,
3989
+ attachment: F
3992
3990
  }, null, 8, ["attachment"]))), 128))
3993
3991
  ], 2)) : b("", !0)
3994
3992
  ]))
@@ -4025,8 +4023,8 @@ function Qr(e, t, n, i, r, s) {
4025
4023
  V(L)
4026
4024
  ])) : b("", !0)
4027
4025
  ], 34),
4028
- V(Ne, { name: "wm-scrollDown" }, {
4029
- default: Pe(() => [
4026
+ V(Pe, { name: "wm-scrollDown" }, {
4027
+ default: Ne(() => [
4030
4028
  r.showScrollDown ? (c(), d("button", {
4031
4029
  key: 0,
4032
4030
  type: "button",
@@ -4054,7 +4052,7 @@ function Qr(e, t, n, i, r, s) {
4054
4052
  })
4055
4053
  ]);
4056
4054
  }
4057
- const Zr = /* @__PURE__ */ R(Or, [["render", Qr], ["__scopeId", "data-v-cf20685c"]]), ge = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", Me = typeof window < "u" && typeof window.MediaRecorder < "u";
4055
+ const Zr = /* @__PURE__ */ B(Or, [["render", Qr], ["__scopeId", "data-v-cf20685c"]]), ge = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", Me = typeof window < "u" && typeof window.MediaRecorder < "u";
4058
4056
  function ei() {
4059
4057
  return Me && [
4060
4058
  "video/webm;codecs=vp9,opus",
@@ -4075,7 +4073,7 @@ function De({ audio: e }) {
4075
4073
  systemAudio: e ? "include" : "exclude"
4076
4074
  };
4077
4075
  }
4078
- function lo(e) {
4076
+ function oo(e) {
4079
4077
  return e ? e.startsWith("image/") ? "image" : e.startsWith("video/") ? "video" : "file" : "file";
4080
4078
  }
4081
4079
  async function ti() {
@@ -4395,7 +4393,7 @@ function pi(e, t, n, i, r, s) {
4395
4393
  onClick: t[2] || (t[2] = (a) => r.attachOpen = !1)
4396
4394
  })) : b("", !0),
4397
4395
  r.attachOpen ? (c(), d("div", li, [
4398
- (c(!0), d(E, null, F(s.attachItems, (a) => (c(), d("button", {
4396
+ (c(!0), d(E, null, j(s.attachItems, (a) => (c(), d("button", {
4399
4397
  key: a.action,
4400
4398
  type: "button",
4401
4399
  class: "wm-compose__menuItem",
@@ -4476,7 +4474,7 @@ function pi(e, t, n, i, r, s) {
4476
4474
  ], 34)
4477
4475
  ], 6);
4478
4476
  }
4479
- const vi = /* @__PURE__ */ R(ii, [["render", pi], ["__scopeId", "data-v-01e81a27"]]), yi = {
4477
+ const vi = /* @__PURE__ */ B(ii, [["render", pi], ["__scopeId", "data-v-01e81a27"]]), yi = {
4480
4478
  name: "WmSuggestionChips",
4481
4479
  props: {
4482
4480
  items: { type: Array, default: () => [] },
@@ -4499,7 +4497,7 @@ function bi(e, t, n, i, r, s) {
4499
4497
  key: s.batchKey,
4500
4498
  class: "wm-chips"
4501
4499
  }, [
4502
- (c(!0), d(E, null, F(n.items, (a, l) => (c(), d("button", {
4500
+ (c(!0), d(E, null, j(n.items, (a, l) => (c(), d("button", {
4503
4501
  key: l,
4504
4502
  type: "button",
4505
4503
  class: "wm-chip",
@@ -4508,7 +4506,7 @@ function bi(e, t, n, i, r, s) {
4508
4506
  }, v(a.label), 13, wi))), 128))
4509
4507
  ])) : b("", !0);
4510
4508
  }
4511
- const ki = /* @__PURE__ */ R(yi, [["render", bi], ["__scopeId", "data-v-47ad8085"]]), Ci = {
4509
+ const ki = /* @__PURE__ */ B(yi, [["render", bi], ["__scopeId", "data-v-47ad8085"]]), Ci = {
4512
4510
  name: "WmApprovalCard",
4513
4511
  components: { AIAvatar: oe },
4514
4512
  inject: {
@@ -4557,7 +4555,7 @@ const ki = /* @__PURE__ */ R(yi, [["render", bi], ["__scopeId", "data-v-47ad8085
4557
4555
  class: "wm-approval__detail"
4558
4556
  }, Ii = { class: "wm-approval__actions" };
4559
4557
  function Ei(e, t, n, i, r, s) {
4560
- const a = B("AIAvatar");
4558
+ const a = R("AIAvatar");
4561
4559
  return c(), d("div", Ai, [
4562
4560
  o("div", Si, [
4563
4561
  o("div", Mi, [
@@ -4588,9 +4586,9 @@ function Ei(e, t, n, i, r, s) {
4588
4586
  ])
4589
4587
  ]);
4590
4588
  }
4591
- const Li = /* @__PURE__ */ R(Ci, [["render", Ei], ["__scopeId", "data-v-a2bed37e"]]);
4592
- let Be = 0;
4593
- const Bi = /* @__PURE__ */ new Set([
4589
+ const Li = /* @__PURE__ */ B(Ci, [["render", Ei], ["__scopeId", "data-v-a2bed37e"]]);
4590
+ let Re = 0;
4591
+ const Ri = /* @__PURE__ */ new Set([
4594
4592
  "text",
4595
4593
  "textarea",
4596
4594
  "number",
@@ -4598,7 +4596,7 @@ const Bi = /* @__PURE__ */ new Set([
4598
4596
  "select",
4599
4597
  "multiselect",
4600
4598
  "date"
4601
- ]), Ri = {
4599
+ ]), Bi = {
4602
4600
  name: "WmFormCard",
4603
4601
  components: { AIAvatar: oe },
4604
4602
  inject: {
@@ -4615,8 +4613,8 @@ const Bi = /* @__PURE__ */ new Set([
4615
4613
  },
4616
4614
  emits: ["submit"],
4617
4615
  data() {
4618
- return Be += 1, {
4619
- _uid: Be,
4616
+ return Re += 1, {
4617
+ _uid: Re,
4620
4618
  values: {},
4621
4619
  busy: !1,
4622
4620
  error: ""
@@ -4628,7 +4626,7 @@ const Bi = /* @__PURE__ */ new Set([
4628
4626
  // douteux.
4629
4627
  normalizedFields() {
4630
4628
  var t;
4631
- return (Array.isArray((t = this.form) == null ? void 0 : t.fields) ? this.form.fields : []).filter((n) => !(!(n != null && n.key) || !(n != null && n.label) || !Bi.has(n == null ? void 0 : n.type) || (n.type === "select" || n.type === "multiselect") && (!Array.isArray(n.options) || n.options.length === 0)));
4629
+ return (Array.isArray((t = this.form) == null ? void 0 : t.fields) ? this.form.fields : []).filter((n) => !(!(n != null && n.key) || !(n != null && n.label) || !Ri.has(n == null ? void 0 : n.type) || (n.type === "select" || n.type === "multiselect") && (!Array.isArray(n.options) || n.options.length === 0)));
4632
4630
  }
4633
4631
  },
4634
4632
  created() {
@@ -4681,7 +4679,7 @@ const Bi = /* @__PURE__ */ new Set([
4681
4679
  }
4682
4680
  }
4683
4681
  }
4684
- }, Ni = { class: "wm-form" }, Pi = { class: "wm-form__head" }, Ui = { class: "wm-form__icon" }, ji = { class: "wm-form__main" }, Fi = { class: "wm-form__title" }, Di = {
4682
+ }, Pi = { class: "wm-form" }, Ni = { class: "wm-form__head" }, Ui = { class: "wm-form__icon" }, Fi = { class: "wm-form__main" }, ji = { class: "wm-form__title" }, Di = {
4685
4683
  key: 0,
4686
4684
  class: "wm-form__detail"
4687
4685
  }, Hi = ["for"], zi = {
@@ -4709,9 +4707,9 @@ const Bi = /* @__PURE__ */ new Set([
4709
4707
  class: "wm-form__doneLbl"
4710
4708
  };
4711
4709
  function ra(e, t, n, i, r, s) {
4712
- const a = B("AIAvatar");
4713
- return c(), d("div", Ni, [
4714
- o("div", Pi, [
4710
+ const a = R("AIAvatar");
4711
+ return c(), d("div", Pi, [
4712
+ o("div", Ni, [
4715
4713
  o("div", Ui, [
4716
4714
  V(a, {
4717
4715
  size: 24,
@@ -4719,8 +4717,8 @@ function ra(e, t, n, i, r, s) {
4719
4717
  "image-url": n.agentAvatarUrl
4720
4718
  }, null, 8, ["name", "image-url"])
4721
4719
  ]),
4722
- o("div", ji, [
4723
- o("div", Fi, v(n.form.title || s.t("form.title")), 1),
4720
+ o("div", Fi, [
4721
+ o("div", ji, v(n.form.title || s.t("form.title")), 1),
4724
4722
  n.form.description ? (c(), d("div", Di, v(n.form.description), 1)) : b("", !0)
4725
4723
  ])
4726
4724
  ]),
@@ -4728,7 +4726,7 @@ function ra(e, t, n, i, r, s) {
4728
4726
  class: "wm-form__body",
4729
4727
  onSubmit: t[0] || (t[0] = X((...l) => s.onSubmit && s.onSubmit(...l), ["prevent"]))
4730
4728
  }, [
4731
- (c(!0), d(E, null, F(s.normalizedFields, (l) => (c(), d("div", {
4729
+ (c(!0), d(E, null, j(s.normalizedFields, (l) => (c(), d("div", {
4732
4730
  key: l.key,
4733
4731
  class: "wm-form__field"
4734
4732
  }, [
@@ -4806,14 +4804,14 @@ function ra(e, t, n, i, r, s) {
4806
4804
  disabled: n.readOnly || r.busy
4807
4805
  }, [
4808
4806
  o("option", Xi, v(l.placeholder || s.t("form.choose")), 1),
4809
- (c(!0), d(E, null, F(l.options, (_) => (c(), d("option", {
4807
+ (c(!0), d(E, null, j(l.options, (_) => (c(), d("option", {
4810
4808
  key: _.value,
4811
4809
  value: _.value
4812
4810
  }, v(_.label), 9, Ji))), 128))
4813
4811
  ], 8, Yi)), [
4814
4812
  [Ve, r.values[l.key]]
4815
4813
  ]) : l.type === "multiselect" ? (c(), d("div", Qi, [
4816
- (c(!0), d(E, null, F(l.options, (_) => (c(), d("label", {
4814
+ (c(!0), d(E, null, j(l.options, (_) => (c(), d("label", {
4817
4815
  key: _.value,
4818
4816
  class: "wm-form__multiItem"
4819
4817
  }, [
@@ -4845,7 +4843,7 @@ function ra(e, t, n, i, r, s) {
4845
4843
  ], 32)
4846
4844
  ]);
4847
4845
  }
4848
- const ia = /* @__PURE__ */ R(Ri, [["render", ra], ["__scopeId", "data-v-fe65cc56"]]), aa = {
4846
+ const ia = /* @__PURE__ */ B(Bi, [["render", ra], ["__scopeId", "data-v-fe65cc56"]]), aa = {
4849
4847
  name: "WmFeedback",
4850
4848
  inject: {
4851
4849
  // Translator shared by the Messenger shell; French fallback when
@@ -4907,7 +4905,7 @@ function va(e, t, n, i, r, s) {
4907
4905
  o("div", la, v(s.t("feedback.question")), 1),
4908
4906
  o("div", ca, v(s.t("feedback.subtitle")), 1),
4909
4907
  o("div", da, [
4910
- (c(!0), d(E, null, F(s.options, (a) => (c(), d("button", {
4908
+ (c(!0), d(E, null, j(s.options, (a) => (c(), d("button", {
4911
4909
  key: a.v,
4912
4910
  type: "button",
4913
4911
  class: I(["wm-fb__opt", { "is-selected": r.sel === a.v }]),
@@ -4926,7 +4924,7 @@ function va(e, t, n, i, r, s) {
4926
4924
  ], 64))
4927
4925
  ]);
4928
4926
  }
4929
- const ya = /* @__PURE__ */ R(aa, [["render", va], ["__scopeId", "data-v-9b630564"]]), wa = {
4927
+ const ya = /* @__PURE__ */ B(aa, [["render", va], ["__scopeId", "data-v-9b630564"]]), wa = {
4930
4928
  name: "WmMoreMenu",
4931
4929
  inject: {
4932
4930
  // Translator shared by the Messenger shell; French fallback when
@@ -4937,15 +4935,13 @@ const ya = /* @__PURE__ */ R(aa, [["render", va], ["__scopeId", "data-v-9b630564
4937
4935
  canRename: { type: Boolean, default: !0 },
4938
4936
  canExport: { type: Boolean, default: !0 },
4939
4937
  soundEnabled: { type: Boolean, default: !0 },
4940
- browserNotifEnabled: { type: Boolean, default: !1 },
4941
4938
  statusUrl: { type: String, default: "" },
4942
4939
  helpUrl: { type: String, default: "" }
4943
4940
  },
4944
- emits: ["close", "action", "sound-toggle", "browser-notif-toggle"],
4941
+ emits: ["close", "action", "sound-toggle"],
4945
4942
  data() {
4946
4943
  return {
4947
- soundOn: this.soundEnabled,
4948
- browserNotifOn: this.browserNotifEnabled
4944
+ soundOn: this.soundEnabled
4949
4945
  };
4950
4946
  },
4951
4947
  watch: {
@@ -4953,9 +4949,6 @@ const ya = /* @__PURE__ */ R(aa, [["render", va], ["__scopeId", "data-v-9b630564
4953
4949
  // local optimistic flip with the authoritative value.
4954
4950
  soundEnabled(e) {
4955
4951
  this.soundOn = !!e;
4956
- },
4957
- browserNotifEnabled(e) {
4958
- this.browserNotifOn = !!e;
4959
4952
  }
4960
4953
  },
4961
4954
  methods: {
@@ -4964,9 +4957,6 @@ const ya = /* @__PURE__ */ R(aa, [["render", va], ["__scopeId", "data-v-9b630564
4964
4957
  },
4965
4958
  toggleSound() {
4966
4959
  this.soundOn = !this.soundOn, this.$emit("sound-toggle", this.soundOn);
4967
- },
4968
- toggleBrowserNotif() {
4969
- this.browserNotifOn = !this.browserNotifOn, this.$emit("browser-notif-toggle", this.browserNotifOn);
4970
4960
  }
4971
4961
  }
4972
4962
  }, ba = { class: "wm-mm" }, ka = {
@@ -4978,8 +4968,8 @@ const ya = /* @__PURE__ */ R(aa, [["render", va], ["__scopeId", "data-v-9b630564
4978
4968
  }, Aa = { class: "wm-mm__label" }, Sa = { class: "wm-mm__label" }, Ma = {
4979
4969
  key: 1,
4980
4970
  class: "wm-mm__sep"
4981
- }, Ta = { class: "wm-mm__section" }, xa = { class: "wm-mm__label" }, Oa = { class: "wm-mm__label" }, Ia = { class: "wm-mm__section" }, Ea = { class: "wm-mm__label" }, La = { class: "wm-mm__label" };
4982
- function Ba(e, t, n, i, r, s) {
4971
+ }, Ta = { class: "wm-mm__section" }, xa = { class: "wm-mm__label" }, Oa = { class: "wm-mm__section" }, Ia = { class: "wm-mm__label" }, Ea = { class: "wm-mm__label" };
4972
+ function La(e, t, n, i, r, s) {
4983
4973
  return c(), d("div", ba, [
4984
4974
  o("div", {
4985
4975
  class: "wm-mm__scrim",
@@ -4993,7 +4983,7 @@ function Ba(e, t, n, i, r, s) {
4993
4983
  class: "wm-mm__item",
4994
4984
  onClick: t[1] || (t[1] = (a) => s.emit("rename"))
4995
4985
  }, [
4996
- t[7] || (t[7] = o("span", { class: "wm-mm__icon" }, [
4986
+ t[6] || (t[6] = o("span", { class: "wm-mm__icon" }, [
4997
4987
  o("svg", {
4998
4988
  width: "12",
4999
4989
  height: "12",
@@ -5017,7 +5007,7 @@ function Ba(e, t, n, i, r, s) {
5017
5007
  class: "wm-mm__item",
5018
5008
  onClick: t[2] || (t[2] = (a) => s.emit("export"))
5019
5009
  }, [
5020
- t[8] || (t[8] = o("span", { class: "wm-mm__icon" }, [
5010
+ t[7] || (t[7] = o("span", { class: "wm-mm__icon" }, [
5021
5011
  o("svg", {
5022
5012
  width: "12",
5023
5013
  height: "12",
@@ -5033,7 +5023,7 @@ function Ba(e, t, n, i, r, s) {
5033
5023
  ])
5034
5024
  ], -1)),
5035
5025
  o("span", Sa, v(s.t("moreMenu.exportTranscript")), 1),
5036
- t[9] || (t[9] = o("span", { class: "wm-mm__hint" }, ".txt", -1))
5026
+ t[8] || (t[8] = o("span", { class: "wm-mm__hint" }, ".txt", -1))
5037
5027
  ])) : b("", !0)
5038
5028
  ])) : b("", !0),
5039
5029
  n.canRename || n.canExport ? (c(), d("div", Ma)) : b("", !0),
@@ -5043,7 +5033,7 @@ function Ba(e, t, n, i, r, s) {
5043
5033
  class: "wm-mm__item",
5044
5034
  onClick: t[3] || (t[3] = (...a) => s.toggleSound && s.toggleSound(...a))
5045
5035
  }, [
5046
- t[11] || (t[11] = o("span", { class: "wm-mm__icon" }, [
5036
+ t[10] || (t[10] = o("span", { class: "wm-mm__icon" }, [
5047
5037
  o("svg", {
5048
5038
  width: "12",
5049
5039
  height: "12",
@@ -5062,47 +5052,20 @@ function Ba(e, t, n, i, r, s) {
5062
5052
  o("span", xa, v(s.t("moreMenu.sound")), 1),
5063
5053
  o("span", {
5064
5054
  class: I(["wm-mm__toggle", { "wm-mm__toggle--on": r.soundOn }])
5065
- }, [...t[10] || (t[10] = [
5066
- o("span", { class: "wm-mm__knob" }, null, -1)
5067
- ])], 2)
5068
- ]),
5069
- o("button", {
5070
- type: "button",
5071
- class: "wm-mm__item",
5072
- onClick: t[4] || (t[4] = (...a) => s.toggleBrowserNotif && s.toggleBrowserNotif(...a))
5073
- }, [
5074
- t[13] || (t[13] = o("span", { class: "wm-mm__icon" }, [
5075
- o("svg", {
5076
- width: "12",
5077
- height: "12",
5078
- viewBox: "0 0 24 24",
5079
- fill: "none",
5080
- stroke: "currentColor",
5081
- "stroke-width": "1.8",
5082
- "stroke-linecap": "round",
5083
- "stroke-linejoin": "round",
5084
- "aria-hidden": "true"
5085
- }, [
5086
- o("path", { d: "M15 17h5l-1.4-1.4A2 2 0 0118 14.2V11a6 6 0 10-12 0v3.2c0 .5-.2 1-.6 1.4L4 17h5m6 0a3 3 0 11-6 0" })
5087
- ])
5088
- ], -1)),
5089
- o("span", Oa, v(s.t("moreMenu.browserNotifications")), 1),
5090
- o("span", {
5091
- class: I(["wm-mm__toggle", { "wm-mm__toggle--on": r.browserNotifOn }])
5092
- }, [...t[12] || (t[12] = [
5055
+ }, [...t[9] || (t[9] = [
5093
5056
  o("span", { class: "wm-mm__knob" }, null, -1)
5094
5057
  ])], 2)
5095
5058
  ])
5096
5059
  ]),
5097
- t[16] || (t[16] = o("div", { class: "wm-mm__sep" }, null, -1)),
5098
- o("div", Ia, [
5060
+ t[13] || (t[13] = o("div", { class: "wm-mm__sep" }, null, -1)),
5061
+ o("div", Oa, [
5099
5062
  n.statusUrl ? (c(), d("button", {
5100
5063
  key: 0,
5101
5064
  type: "button",
5102
5065
  class: "wm-mm__item",
5103
- onClick: t[5] || (t[5] = (a) => s.emit("status"))
5066
+ onClick: t[4] || (t[4] = (a) => s.emit("status"))
5104
5067
  }, [
5105
- t[14] || (t[14] = o("span", { class: "wm-mm__icon" }, [
5068
+ t[11] || (t[11] = o("span", { class: "wm-mm__icon" }, [
5106
5069
  o("svg", {
5107
5070
  width: "12",
5108
5071
  height: "12",
@@ -5117,15 +5080,15 @@ function Ba(e, t, n, i, r, s) {
5117
5080
  o("path", { d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zM10 6v4l3 2" })
5118
5081
  ])
5119
5082
  ], -1)),
5120
- o("span", Ea, v(s.t("moreMenu.serviceStatus")), 1)
5083
+ o("span", Ia, v(s.t("moreMenu.serviceStatus")), 1)
5121
5084
  ])) : b("", !0),
5122
5085
  n.helpUrl ? (c(), d("button", {
5123
5086
  key: 1,
5124
5087
  type: "button",
5125
5088
  class: "wm-mm__item",
5126
- onClick: t[6] || (t[6] = (a) => s.emit("help"))
5089
+ onClick: t[5] || (t[5] = (a) => s.emit("help"))
5127
5090
  }, [
5128
- t[15] || (t[15] = o("span", { class: "wm-mm__icon" }, [
5091
+ t[12] || (t[12] = o("span", { class: "wm-mm__icon" }, [
5129
5092
  o("svg", {
5130
5093
  width: "12",
5131
5094
  height: "12",
@@ -5140,13 +5103,13 @@ function Ba(e, t, n, i, r, s) {
5140
5103
  o("path", { d: "M9 11a3 3 0 116 0c0 2-3 2-3 5M12 19h.01M12 22a10 10 0 110-20 10 10 0 010 20z" })
5141
5104
  ])
5142
5105
  ], -1)),
5143
- o("span", La, v(s.t("moreMenu.helpCenter")), 1)
5106
+ o("span", Ea, v(s.t("moreMenu.helpCenter")), 1)
5144
5107
  ])) : b("", !0)
5145
5108
  ])
5146
5109
  ])
5147
5110
  ]);
5148
5111
  }
5149
- const Ra = /* @__PURE__ */ R(wa, [["render", Ba], ["__scopeId", "data-v-76281e95"]]), Na = {
5112
+ const Ra = /* @__PURE__ */ B(wa, [["render", La], ["__scopeId", "data-v-4cf6d578"]]), Ba = {
5150
5113
  name: "WmRenameDialog",
5151
5114
  inject: {
5152
5115
  // Translator shared by the Messenger shell; French fallback when
@@ -5188,19 +5151,19 @@ const Ra = /* @__PURE__ */ R(wa, [["render", Ba], ["__scopeId", "data-v-76281e95
5188
5151
  this.canSubmit && this.$emit("submit", this.value.trim());
5189
5152
  }
5190
5153
  }
5191
- }, Pa = { class: "wm-dialog" }, Ua = {
5154
+ }, Pa = { class: "wm-dialog" }, Na = {
5192
5155
  class: "wm-dialog__card",
5193
5156
  role: "dialog",
5194
5157
  "aria-modal": "true"
5195
- }, ja = { class: "wm-dialog__head" }, Fa = { class: "wm-dialog__title" }, Da = ["aria-label"], Ha = { class: "wm-dialog__body" }, za = ["placeholder"], $a = { class: "wm-dialog__actions" }, qa = ["disabled"];
5196
- function Va(e, t, n, i, r, s) {
5158
+ }, Ua = { class: "wm-dialog__head" }, Fa = { class: "wm-dialog__title" }, ja = ["aria-label"], Da = { class: "wm-dialog__body" }, Ha = ["placeholder"], za = { class: "wm-dialog__actions" }, $a = ["disabled"];
5159
+ function qa(e, t, n, i, r, s) {
5197
5160
  return c(), d("div", Pa, [
5198
5161
  o("div", {
5199
5162
  class: "wm-dialog__scrim",
5200
5163
  onClick: t[0] || (t[0] = (a) => e.$emit("close"))
5201
5164
  }),
5202
- o("div", Ua, [
5203
- o("div", ja, [
5165
+ o("div", Na, [
5166
+ o("div", Ua, [
5204
5167
  o("div", Fa, v(n.title || s.t("rename.title")), 1),
5205
5168
  o("button", {
5206
5169
  type: "button",
@@ -5221,9 +5184,9 @@ function Va(e, t, n, i, r, s) {
5221
5184
  }, [
5222
5185
  o("path", { d: "M18 6L6 18M6 6l12 12" })
5223
5186
  ], -1)
5224
- ])], 8, Da)
5187
+ ])], 8, ja)
5225
5188
  ]),
5226
- o("div", Ha, [
5189
+ o("div", Da, [
5227
5190
  G(o("input", {
5228
5191
  ref: "input",
5229
5192
  "onUpdate:modelValue": t[2] || (t[2] = (a) => r.value = a),
@@ -5235,11 +5198,11 @@ function Va(e, t, n, i, r, s) {
5235
5198
  t[3] || (t[3] = fe(X((...a) => s.onSubmit && s.onSubmit(...a), ["prevent"]), ["enter"])),
5236
5199
  t[4] || (t[4] = fe(X((a) => e.$emit("close"), ["prevent"]), ["esc"]))
5237
5200
  ]
5238
- }, null, 40, za), [
5201
+ }, null, 40, Ha), [
5239
5202
  [te, r.value]
5240
5203
  ])
5241
5204
  ]),
5242
- o("div", $a, [
5205
+ o("div", za, [
5243
5206
  o("button", {
5244
5207
  type: "button",
5245
5208
  class: "wm-dialog__btn",
@@ -5250,12 +5213,12 @@ function Va(e, t, n, i, r, s) {
5250
5213
  class: "wm-dialog__btn wm-dialog__btn--primary",
5251
5214
  disabled: !s.canSubmit,
5252
5215
  onClick: t[6] || (t[6] = (...a) => s.onSubmit && s.onSubmit(...a))
5253
- }, v(s.t("common.save")), 9, qa)
5216
+ }, v(s.t("common.save")), 9, $a)
5254
5217
  ])
5255
5218
  ])
5256
5219
  ]);
5257
5220
  }
5258
- const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8"]]), Re = "ww-messenger-tokens", Wa = {
5221
+ const Va = /* @__PURE__ */ B(Ba, [["render", qa], ["__scopeId", "data-v-6d5f94a8"]]), Be = "ww-messenger-tokens", Ka = {
5259
5222
  name: "Messenger",
5260
5223
  components: {
5261
5224
  Launcher: Kt,
@@ -5269,7 +5232,7 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
5269
5232
  FormCard: ia,
5270
5233
  Feedback: ya,
5271
5234
  MoreMenu: Ra,
5272
- RenameDialog: Ka
5235
+ RenameDialog: Va
5273
5236
  },
5274
5237
  mixins: [
5275
5238
  pt,
@@ -5359,6 +5322,11 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
5359
5322
  // / pick — anything that should land the user back on the home
5360
5323
  // screen or in a thread.
5361
5324
  showHistory: !1,
5325
+ // Tracks whether the active conversation was opened from the
5326
+ // History view, so the header back button can return there
5327
+ // instead of the Onboarding home. Set by `onDrawerPick`, read
5328
+ // (and cleared) by `goHome`.
5329
+ backToHistory: !1,
5362
5330
  // convId → ISO ts of the unread batch the user has dismissed
5363
5331
  // (×) on the closed-launcher notification stack. A new message
5364
5332
  // on the same thread bumps the ts, which makes the comparison
@@ -5866,9 +5834,9 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
5866
5834
  }
5867
5835
  },
5868
5836
  async mounted() {
5869
- if (typeof document < "u" && !document.getElementById(Re)) {
5837
+ if (typeof document < "u" && !document.getElementById(Be)) {
5870
5838
  const e = document.createElement("style");
5871
- e.id = Re, e.textContent = tt, document.head.appendChild(e);
5839
+ e.id = Be, e.textContent = tt, document.head.appendChild(e);
5872
5840
  }
5873
5841
  this._parentMessageHandler = this.onParentMessage.bind(this), window.addEventListener("message", this._parentMessageHandler), window.parent && window.parent !== window && window.parent.postMessage({ type: "READY" }, "*"), this.isEmbedded ? (await this.boot(), this.store && await this.open()) : (await this.$nextTick(), this.sendCurrentLauncherSize(), this.observeLauncherSize());
5874
5842
  },
@@ -5958,7 +5926,7 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
5958
5926
  }
5959
5927
  },
5960
5928
  async refresh() {
5961
- this.store && this.store.destroy(), this.cancelReveals(), this.teardownLiveReveal(), this.teardownNotifications(), this.convOpenedAt = 0, this.transport = null, this.store = null, this.isOpen = !1, this.draft = "", this.busy = !1, this.bootError = null, this.pendingAttachments = [], this.feedbackBusy = !1, this.feedbackDone = !1, this.moreOpen = !1, this.renameDialogOpen = !1, this.draftConv = null, this.activeConvId = null, this.showOnboarding = !1, this.showHistory = !1, await this.boot(), this.isEmbedded && this.store && await this.open();
5929
+ this.store && this.store.destroy(), this.cancelReveals(), this.teardownLiveReveal(), this.teardownNotifications(), this.convOpenedAt = 0, this.transport = null, this.store = null, this.isOpen = !1, this.draft = "", this.busy = !1, this.bootError = null, this.pendingAttachments = [], this.feedbackBusy = !1, this.feedbackDone = !1, this.moreOpen = !1, this.renameDialogOpen = !1, this.draftConv = null, this.activeConvId = null, this.showOnboarding = !1, this.showHistory = !1, this.backToHistory = !1, await this.boot(), this.isEmbedded && this.store && await this.open();
5962
5930
  },
5963
5931
  // ── Float overlay measurement ────────────────────────────────────
5964
5932
  syncFloatObserver(e) {
@@ -6043,12 +6011,12 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
6043
6011
  const n = (((L = this.launcherPeeks) == null ? void 0 : L.length) ?? 0) > 0, i = 16, r = Math.ceil(t.width), s = Math.ceil(t.height), a = ($ = (A = this.$el) == null ? void 0 : A.querySelector) == null ? void 0 : $.call(A, ".wm-launcher"), l = (U = (M = this.$el) == null ? void 0 : M.querySelectorAll) == null ? void 0 : U.call(M, ".wm-peek"), _ = l && l.length ? l[l.length - 1] : null;
6044
6012
  let k = null;
6045
6013
  if (_) {
6046
- const j = _.getBoundingClientRect();
6014
+ const F = _.getBoundingClientRect();
6047
6015
  k = {
6048
- width: Math.ceil(j.width),
6049
- height: Math.ceil(j.height),
6050
- rightOffset: Math.max(0, Math.ceil(t.right - j.right)),
6051
- bottomOffset: Math.max(0, Math.ceil(t.bottom - j.bottom))
6016
+ width: Math.ceil(F.width),
6017
+ height: Math.ceil(F.height),
6018
+ rightOffset: Math.max(0, Math.ceil(t.right - F.right)),
6019
+ bottomOffset: Math.max(0, Math.ceil(t.bottom - F.bottom))
6052
6020
  };
6053
6021
  }
6054
6022
  this.notifyParentResize("closed", {
@@ -6077,7 +6045,7 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
6077
6045
  async openFromPeek(e) {
6078
6046
  var n, i;
6079
6047
  const t = e || ((n = this.latestUnreads[0]) == null ? void 0 : n.convId);
6080
- t && t !== ((i = this.currentConv) == null ? void 0 : i.id) && (this.draftConv = null, this.activeConvId = t, this.showOnboarding = !1, this.showHistory = !1), await this.open();
6048
+ t && t !== ((i = this.currentConv) == null ? void 0 : i.id) && (this.draftConv = null, this.activeConvId = t, this.showOnboarding = !1, this.showHistory = !1, this.backToHistory = !1), await this.open();
6081
6049
  },
6082
6050
  // Stamp the dismissed batch ts for a single conv so its card
6083
6051
  // disappears from the stack until a fresher message arrives.
@@ -6096,7 +6064,7 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
6096
6064
  _draft: !0,
6097
6065
  name: "",
6098
6066
  created_at: (/* @__PURE__ */ new Date()).toISOString()
6099
- }, this.activeConvId = null, this.showOnboarding = !1, this.showHistory = !1, this.focusComposer();
6067
+ }, this.activeConvId = null, this.showOnboarding = !1, this.showHistory = !1, this.backToHistory = !1, this.focusComposer();
6100
6068
  },
6101
6069
  // Materialize the draft into a real server-side conversation. Returns
6102
6070
  // the freshly-created conv (so callers can `send` against its id) or
@@ -6131,18 +6099,19 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
6131
6099
  this.moreOpen = !this.moreOpen;
6132
6100
  },
6133
6101
  goHome() {
6134
- this.moreOpen = !1, this.draftConv = null, this.activeConvId = null, this.showOnboarding = !0, this.showHistory = !1;
6102
+ this.moreOpen = !1, this.draftConv = null, this.activeConvId = null, this.backToHistory ? (this.showOnboarding = !1, this.showHistory = !0, this.backToHistory = !1) : (this.showOnboarding = !0, this.showHistory = !1);
6135
6103
  },
6136
6104
  async onDrawerPick(e) {
6137
6105
  if (!(e != null && e.id) || !this.store) return;
6138
- this.draftConv = null, this.activeConvId = e.id, this.showOnboarding = !1, this.showHistory = !1;
6106
+ const t = this.showHistory;
6107
+ this.draftConv = null, this.activeConvId = e.id, this.showOnboarding = !1, this.showHistory = !1, this.backToHistory = t;
6139
6108
  try {
6140
6109
  await this.store.openConversation(e.id);
6141
- } catch (n) {
6142
- console.error("[ww-messenger] open conv failed", n);
6110
+ } catch (i) {
6111
+ console.error("[ww-messenger] open conv failed", i);
6143
6112
  }
6144
- const t = this.allConversations.find((n) => n.id === e.id);
6145
- t && this.markConvRead(t);
6113
+ const n = this.allConversations.find((i) => i.id === e.id);
6114
+ n && this.markConvRead(n);
6146
6115
  },
6147
6116
  async onMoreAction(e) {
6148
6117
  var t, n;
@@ -6303,34 +6272,34 @@ const Ka = /* @__PURE__ */ R(Na, [["render", Va], ["__scopeId", "data-v-6d5f94a8
6303
6272
  }
6304
6273
  }
6305
6274
  }
6306
- }, Ga = {
6275
+ }, Wa = {
6307
6276
  key: 0,
6308
6277
  class: "wm-loading",
6309
6278
  "aria-busy": "true",
6310
6279
  "aria-live": "polite"
6311
- }, Ya = ["aria-label"], Xa = {
6280
+ }, Ga = ["aria-label"], Ya = {
6312
6281
  key: 0,
6313
6282
  class: "wm-state"
6314
- }, Ja = { class: "wm-state__err" }, Qa = { class: "wm-state__errTitle" }, Za = { class: "wm-state__errSub" }, eo = { class: "wm-bottom" }, to = {
6283
+ }, Xa = { class: "wm-state__err" }, Ja = { class: "wm-state__errTitle" }, Qa = { class: "wm-state__errSub" }, Za = { class: "wm-bottom" }, eo = {
6315
6284
  key: 0,
6316
6285
  ref: "floatEl",
6317
6286
  class: "wm-float"
6318
- }, no = {
6287
+ }, to = {
6319
6288
  key: 1,
6320
6289
  class: "wm-actionWait",
6321
6290
  role: "status",
6322
6291
  "aria-live": "polite"
6323
- }, so = { class: "wm-actionWait__lbl" }, ro = {
6292
+ }, no = { class: "wm-actionWait__lbl" }, so = {
6324
6293
  key: 2,
6325
6294
  class: "wm-attached"
6326
- }, io = ["aria-label", "onClick"];
6327
- function ao(e, t, n, i, r, s) {
6328
- const a = B("Launcher"), l = B("Header"), _ = B("History"), k = B("Onboarding"), w = B("MessageList"), x = B("ApprovalCard"), L = B("FormCard"), A = B("Feedback"), $ = B("SuggestionChips"), M = B("Composer"), U = B("MoreMenu"), j = B("RenameDialog");
6295
+ }, ro = ["aria-label", "onClick"];
6296
+ function io(e, t, n, i, r, s) {
6297
+ const a = R("Launcher"), l = R("Header"), _ = R("History"), k = R("Onboarding"), w = R("MessageList"), x = R("ApprovalCard"), L = R("FormCard"), A = R("Feedback"), $ = R("SuggestionChips"), M = R("Composer"), U = R("MoreMenu"), F = R("RenameDialog");
6329
6298
  return c(), d("div", {
6330
6299
  class: I(["wm-root", `wm-root--${n.displayMode}`]),
6331
6300
  style: z(s.rootStyle)
6332
6301
  }, [
6333
- !r.isOpen && !s.isEmbedded ? (c(), N(a, {
6302
+ !r.isOpen && !s.isEmbedded ? (c(), P(a, {
6334
6303
  key: 0,
6335
6304
  "unread-count": s.unreadCount,
6336
6305
  peeks: s.launcherPeeks,
@@ -6348,15 +6317,15 @@ function ao(e, t, n, i, r, s) {
6348
6317
  style: z(r.floatHeight ? { "--wm-float-h": r.floatHeight + "px" } : null),
6349
6318
  role: "dialog",
6350
6319
  "aria-label": "Messenger",
6351
- onClick: t[6] || (t[6] = (...P) => s.onPanelClick && s.onPanelClick(...P))
6320
+ onClick: t[6] || (t[6] = (...N) => s.onPanelClick && s.onPanelClick(...N))
6352
6321
  }, [
6353
- !s.ready && !s.error ? (c(), d("div", Ga, [
6322
+ !s.ready && !s.error ? (c(), d("div", Wa, [
6354
6323
  s.isEmbedded ? b("", !0) : (c(), d("button", {
6355
6324
  key: 0,
6356
6325
  type: "button",
6357
6326
  class: "wm-loading__close",
6358
6327
  "aria-label": s.t("loading.minimize"),
6359
- onClick: t[0] || (t[0] = (...P) => s.close && s.close(...P))
6328
+ onClick: t[0] || (t[0] = (...N) => s.close && s.close(...N))
6360
6329
  }, [...t[7] || (t[7] = [
6361
6330
  o("svg", {
6362
6331
  width: "13",
@@ -6371,7 +6340,7 @@ function ao(e, t, n, i, r, s) {
6371
6340
  }, [
6372
6341
  o("path", { d: "M18 6L6 18M6 6l12 12" })
6373
6342
  ], -1)
6374
- ])], 8, Ya)),
6343
+ ])], 8, Ga)),
6375
6344
  t[8] || (t[8] = o("div", {
6376
6345
  class: "wm-loading__spinner",
6377
6346
  "aria-hidden": "true"
@@ -6391,8 +6360,8 @@ function ao(e, t, n, i, r, s) {
6391
6360
  onMore: s.toggleMore,
6392
6361
  onClose: s.close
6393
6362
  }, null, 8, ["title", "team-members", "response-label", "show-identity", "show-back", "show-close", "more-active", "agent-name", "agent-avatar-url", "onBack", "onMore", "onClose"]),
6394
- s.error ? (c(), d("div", Xa, [
6395
- o("div", Ja, [
6363
+ s.error ? (c(), d("div", Ya, [
6364
+ o("div", Xa, [
6396
6365
  t[9] || (t[9] = o("div", { class: "wm-state__errIcon" }, [
6397
6366
  o("svg", {
6398
6367
  width: "14",
@@ -6409,11 +6378,11 @@ function ao(e, t, n, i, r, s) {
6409
6378
  ])
6410
6379
  ], -1)),
6411
6380
  o("div", null, [
6412
- o("div", Qa, v(s.t("error.connectionFailed")), 1),
6413
- o("div", Za, v(s.error), 1)
6381
+ o("div", Ja, v(s.t("error.connectionFailed")), 1),
6382
+ o("div", Qa, v(s.error), 1)
6414
6383
  ])
6415
6384
  ])
6416
- ])) : !s.currentConv && r.showHistory ? (c(), N(_, {
6385
+ ])) : !s.currentConv && r.showHistory ? (c(), P(_, {
6417
6386
  key: 1,
6418
6387
  threads: s.openThreads,
6419
6388
  onResume: s.onDrawerPick
@@ -6432,9 +6401,9 @@ function ao(e, t, n, i, r, s) {
6432
6401
  "ai-agent-avatar-url": s.agentAvatarUrl,
6433
6402
  onLoadMore: s.onLoadMore
6434
6403
  }, null, 8, ["messages", "streaming-active", "date-label", "conversation-id", "loading-more", "has-more", "unread-anchor-id", "unread-boundary-ts", "ai-agent-name", "ai-agent-avatar-url", "onLoadMore"]),
6435
- o("div", eo, [
6436
- s.floatVisible ? (c(), d("div", to, [
6437
- s.approvalReady ? (c(), N(x, {
6404
+ o("div", Za, [
6405
+ s.floatVisible ? (c(), d("div", eo, [
6406
+ s.approvalReady ? (c(), P(x, {
6438
6407
  key: 0,
6439
6408
  action: s.approvalTitle,
6440
6409
  detail: s.approvalDetail,
@@ -6442,36 +6411,36 @@ function ao(e, t, n, i, r, s) {
6442
6411
  "agent-name": s.agentName,
6443
6412
  "agent-avatar-url": s.agentAvatarUrl,
6444
6413
  onCallback: s.onApprovalCallback
6445
- }, null, 8, ["action", "detail", "callbacks", "agent-name", "agent-avatar-url", "onCallback"])) : s.pendingForm ? (c(), N(L, {
6414
+ }, null, 8, ["action", "detail", "callbacks", "agent-name", "agent-avatar-url", "onCallback"])) : s.pendingForm ? (c(), P(L, {
6446
6415
  key: s.pendingForm.message && s.pendingForm.message.id,
6447
6416
  form: s.pendingForm.form,
6448
6417
  "agent-name": s.agentName,
6449
6418
  "agent-avatar-url": s.agentAvatarUrl,
6450
6419
  onSubmit: s.onFormSubmit
6451
- }, null, 8, ["form", "agent-name", "agent-avatar-url", "onSubmit"])) : s.showFeedback ? (c(), N(A, {
6420
+ }, null, 8, ["form", "agent-name", "agent-avatar-url", "onSubmit"])) : s.showFeedback ? (c(), P(A, {
6452
6421
  key: 2,
6453
6422
  busy: r.feedbackBusy,
6454
6423
  done: r.feedbackDone,
6455
6424
  onSubmit: s.onFeedback
6456
- }, null, 8, ["busy", "done", "onSubmit"])) : (c(), N($, {
6425
+ }, null, 8, ["busy", "done", "onSubmit"])) : (c(), P($, {
6457
6426
  key: 3,
6458
6427
  items: s.suggestions,
6459
6428
  onSelect: s.onSuggestion
6460
6429
  }, null, 8, ["items", "onSelect"]))
6461
6430
  ], 512)) : b("", !0),
6462
- s.actionInFlight ? (c(), d("div", no, [
6431
+ s.actionInFlight ? (c(), d("div", to, [
6463
6432
  t[10] || (t[10] = o("span", {
6464
6433
  class: "wm-actionWait__spinner",
6465
6434
  "aria-hidden": "true"
6466
6435
  }, null, -1)),
6467
- o("span", so, v(s.t("action.inProgress", {
6436
+ o("span", no, v(s.t("action.inProgress", {
6468
6437
  name: s.actionInFlightName
6469
6438
  })), 1)
6470
- ])) : (c(), N(M, {
6439
+ ])) : (c(), P(M, {
6471
6440
  key: 2,
6472
6441
  ref: "composer",
6473
6442
  modelValue: r.draft,
6474
- "onUpdate:modelValue": t[2] || (t[2] = (P) => r.draft = P),
6443
+ "onUpdate:modelValue": t[2] || (t[2] = (N) => r.draft = N),
6475
6444
  placeholder: s.composerPlaceholder,
6476
6445
  disabled: !!s.pendingApproval,
6477
6446
  "attach-label": s.t("composer.attachFile"),
@@ -6480,28 +6449,26 @@ function ao(e, t, n, i, r, s) {
6480
6449
  onAttach: s.onAttach
6481
6450
  }, null, 8, ["modelValue", "placeholder", "disabled", "attach-label", "display-mode", "onSend", "onAttach"]))
6482
6451
  ]),
6483
- r.moreOpen ? (c(), N(U, {
6452
+ r.moreOpen ? (c(), P(U, {
6484
6453
  key: 0,
6485
6454
  "can-rename": !!s.currentConv && !s.currentConv._draft,
6486
6455
  "can-export": !!s.currentConv && !s.currentConv._draft,
6487
6456
  "sound-enabled": e.soundEnabled,
6488
- "browser-notif-enabled": e.browserNotifEnabled,
6489
6457
  "status-url": s.statusUrl,
6490
6458
  "help-url": s.helpUrl,
6491
- onClose: t[3] || (t[3] = (P) => r.moreOpen = !1),
6459
+ onClose: t[3] || (t[3] = (N) => r.moreOpen = !1),
6492
6460
  onSoundToggle: e.onSoundToggle,
6493
- onBrowserNotifToggle: e.onBrowserNotifToggle,
6494
6461
  onAction: s.onMoreAction
6495
- }, null, 8, ["can-rename", "can-export", "sound-enabled", "browser-notif-enabled", "status-url", "help-url", "onSoundToggle", "onBrowserNotifToggle", "onAction"])) : b("", !0),
6496
- r.renameDialogOpen && s.currentConv && !s.currentConv._draft ? (c(), N(j, {
6462
+ }, null, 8, ["can-rename", "can-export", "sound-enabled", "status-url", "help-url", "onSoundToggle", "onAction"])) : b("", !0),
6463
+ r.renameDialogOpen && s.currentConv && !s.currentConv._draft ? (c(), P(F, {
6497
6464
  key: 1,
6498
6465
  "initial-value": s.currentConv.name || "",
6499
6466
  title: s.t("rename.dialogTitle"),
6500
- onClose: t[4] || (t[4] = (P) => r.renameDialogOpen = !1),
6467
+ onClose: t[4] || (t[4] = (N) => r.renameDialogOpen = !1),
6501
6468
  onSubmit: s.onRenameSubmit
6502
6469
  }, null, 8, ["initial-value", "title", "onSubmit"])) : b("", !0),
6503
- r.pendingAttachments.length ? (c(), d("div", ro, [
6504
- (c(!0), d(E, null, F(r.pendingAttachments, (P, K) => (c(), d("div", {
6470
+ r.pendingAttachments.length ? (c(), d("div", so, [
6471
+ (c(!0), d(E, null, j(r.pendingAttachments, (N, K) => (c(), d("div", {
6505
6472
  key: K,
6506
6473
  class: "wm-attached__chip"
6507
6474
  }, [
@@ -6518,7 +6485,7 @@ function ao(e, t, n, i, r, s) {
6518
6485
  }, [
6519
6486
  o("path", { d: "M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48" })
6520
6487
  ], -1)),
6521
- o("span", null, v(P.name), 1),
6488
+ o("span", null, v(N.name), 1),
6522
6489
  o("button", {
6523
6490
  type: "button",
6524
6491
  "aria-label": s.t("attachment.remove"),
@@ -6537,10 +6504,10 @@ function ao(e, t, n, i, r, s) {
6537
6504
  }, [
6538
6505
  o("path", { d: "M18 6L6 18M6 6l12 12" })
6539
6506
  ], -1)
6540
- ])], 8, io)
6507
+ ])], 8, ro)
6541
6508
  ]))), 128))
6542
6509
  ])) : b("", !0)
6543
- ], 64)) : (c(), N(k, {
6510
+ ], 64)) : (c(), P(k, {
6544
6511
  key: 2,
6545
6512
  "welcome-message": s.widgetWelcomeMessage,
6546
6513
  subtitle: s.widgetSubtitle,
@@ -6552,26 +6519,24 @@ function ao(e, t, n, i, r, s) {
6552
6519
  onStart: s.startConv,
6553
6520
  onSelect: s.onQuickLink,
6554
6521
  onResume: s.onDrawerPick,
6555
- onViewHistory: t[1] || (t[1] = (P) => r.showHistory = !0)
6522
+ onViewHistory: t[1] || (t[1] = (N) => r.showHistory = !0)
6556
6523
  }, null, 8, ["welcome-message", "subtitle", "agent-name", "default-icon-url", "quick-links", "open-threads", "busy", "onStart", "onSelect", "onResume"])),
6557
- r.moreOpen && !s.currentConv ? (c(), N(U, {
6524
+ r.moreOpen && !s.currentConv ? (c(), P(U, {
6558
6525
  key: 4,
6559
6526
  "can-rename": !1,
6560
6527
  "can-export": !1,
6561
6528
  "sound-enabled": e.soundEnabled,
6562
- "browser-notif-enabled": e.browserNotifEnabled,
6563
6529
  "status-url": s.statusUrl,
6564
6530
  "help-url": s.helpUrl,
6565
- onClose: t[5] || (t[5] = (P) => r.moreOpen = !1),
6531
+ onClose: t[5] || (t[5] = (N) => r.moreOpen = !1),
6566
6532
  onSoundToggle: e.onSoundToggle,
6567
- onBrowserNotifToggle: e.onBrowserNotifToggle,
6568
6533
  onAction: s.onMoreAction
6569
- }, null, 8, ["sound-enabled", "browser-notif-enabled", "status-url", "help-url", "onSoundToggle", "onBrowserNotifToggle", "onAction"])) : b("", !0)
6534
+ }, null, 8, ["sound-enabled", "status-url", "help-url", "onSoundToggle", "onAction"])) : b("", !0)
6570
6535
  ], 64))
6571
6536
  ], 6)) : b("", !0)
6572
6537
  ], 6);
6573
6538
  }
6574
- const co = /* @__PURE__ */ R(Wa, [["render", ao], ["__scopeId", "data-v-543e7817"]]), uo = "0.5.49";
6539
+ const lo = /* @__PURE__ */ B(Ka, [["render", io], ["__scopeId", "data-v-77e30aba"]]), co = "0.5.50";
6575
6540
  export {
6576
6541
  oe as AIAvatar,
6577
6542
  ve as AVATAR_COLORS,
@@ -6593,7 +6558,7 @@ export {
6593
6558
  Kt as Launcher,
6594
6559
  Me as MEDIA_RECORDER_SUPPORTED,
6595
6560
  Zr as MessageList,
6596
- co as Messenger,
6561
+ lo as Messenger,
6597
6562
  Ra as MoreMenu,
6598
6563
  qn as Onboarding,
6599
6564
  ge as SCREEN_CAPTURE_SUPPORTED,
@@ -6601,7 +6566,7 @@ export {
6601
6566
  ki as SuggestionChips,
6602
6567
  rn as TeamAvatars,
6603
6568
  Sr as Typing,
6604
- uo as VERSION,
6569
+ co as VERSION,
6605
6570
  ke as avatarColor,
6606
6571
  Ce as avatarInitials,
6607
6572
  ti as captureScreenshotFile,
@@ -6610,9 +6575,9 @@ export {
6610
6575
  D as createTranslator,
6611
6576
  Xe as createTransport,
6612
6577
  ae as dateLocale,
6613
- co as default,
6578
+ lo as default,
6614
6579
  we as formatTime,
6615
- lo as guessAttachmentKind,
6580
+ oo as guessAttachmentKind,
6616
6581
  ei as pickRecorderMime,
6617
6582
  ut as renderInlineMarkdown,
6618
6583
  ht as renderMarkdown,