@_solaris/messenger-widget 0.4.12 → 0.4.14

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 Ue, openBlock as c, createElementBlock as u, normalizeStyle as z, normalizeClass as x, toDisplayString as v, resolveComponent as L, createVNode as $, Transition as Fe, withCtx as je, Fragment as I, renderList as F, withKeys as ue, withModifiers as X, createElementVNode as o, createCommentVNode as b, createBlock as R, withDirectives as K, vModelText as ee, createTextVNode as ge, resolveDynamicComponent as Pe, renderSlot as De, vModelCheckbox as He, vModelSelect as ze, markRaw as we } from "vue";
1
+ import { reactive as Fe, openBlock as c, createElementBlock as u, normalizeStyle as z, normalizeClass as x, toDisplayString as v, resolveComponent as L, createVNode as $, Transition as Ue, withCtx as je, Fragment as I, renderList as U, withKeys as ue, withModifiers as X, createElementVNode as o, createCommentVNode as w, createBlock as R, withDirectives as K, vModelText as ee, createTextVNode as ge, resolveDynamicComponent as Pe, renderSlot as De, vModelCheckbox as He, vModelSelect as ze, markRaw as be } from "vue";
2
2
  const qe = [
3
3
  "connected",
4
4
  "message",
@@ -39,8 +39,8 @@ function We(e) {
39
39
  _ && _.forEach((y) => {
40
40
  try {
41
41
  y(f);
42
- } catch (w) {
43
- console.error("[transport] listener", d, w);
42
+ } catch (b) {
43
+ console.error("[transport] listener", d, b);
44
44
  }
45
45
  });
46
46
  }
@@ -61,10 +61,10 @@ function We(e) {
61
61
  body: _ !== void 0 ? JSON.stringify(_) : void 0
62
62
  });
63
63
  if (!y.ok) {
64
- const w = await l(y), S = new Error(
65
- `HTTP ${y.status} ${d} ${f} :: ${(w == null ? void 0 : w.error) || y.statusText}`
64
+ const b = await l(y), S = new Error(
65
+ `HTTP ${y.status} ${d} ${f} :: ${(b == null ? void 0 : b.error) || y.statusText}`
66
66
  );
67
- throw S.status = y.status, S.body = w, S;
67
+ throw S.status = y.status, S.body = b, S;
68
68
  }
69
69
  return y.status === 204 ? null : y.json();
70
70
  }
@@ -173,14 +173,14 @@ function We(e) {
173
173
  const f = (
174
174
  /** @type {File} */
175
175
  d.name || "attachment"
176
- ), _ = d.type || "application/octet-stream", y = d.size || 0, w = (
176
+ ), _ = d.type || "application/octet-stream", y = d.size || 0, b = (
177
177
  /** @type {import('./types.js').AttachmentUploadTicket} */
178
178
  await a("POST", "/attachments", {
179
179
  mime_type: _,
180
180
  size_bytes: y,
181
181
  name: f
182
182
  })
183
- ), S = await fetch(w.upload_url, {
183
+ ), S = await fetch(b.upload_url, {
184
184
  method: "PUT",
185
185
  headers: { "Content-Type": _ },
186
186
  body: d
@@ -189,7 +189,7 @@ function We(e) {
189
189
  throw new Error(`HTTP ${S.status} PUT signed upload`);
190
190
  return {
191
191
  type: Ye(_),
192
- path: w.path,
192
+ path: b.path,
193
193
  mime_type: _,
194
194
  size_bytes: y
195
195
  };
@@ -243,8 +243,8 @@ function We(e) {
243
243
  }
244
244
  async function ce() {
245
245
  try {
246
- const d = await T(), f = d.reduce((y, w) => {
247
- const S = w == null ? void 0 : w.last_message_at;
246
+ const d = await T(), f = d.reduce((y, b) => {
247
+ const S = b == null ? void 0 : b.last_message_at;
248
248
  return S && (!y || S > y) ? S : y;
249
249
  }, null);
250
250
  f && (!t.lastActivityAt || f > t.lastActivityAt) && (t.lastActivityAt = f, i("activity", { conversations: d, latestAt: f }), V());
@@ -279,8 +279,8 @@ function We(e) {
279
279
  try {
280
280
  const f = await T();
281
281
  t.lastActivityAt = f.reduce((_, y) => {
282
- const w = y == null ? void 0 : y.last_message_at;
283
- return w && (!_ || w > _) ? w : _;
282
+ const b = y == null ? void 0 : y.last_message_at;
283
+ return b && (!_ || b > _) ? b : _;
284
284
  }, null);
285
285
  } catch (f) {
286
286
  console.error("[transport] initial /conversations failed", f);
@@ -340,7 +340,7 @@ function Qe() {
340
340
  return t.slice(0, 4).join("") + "-" + t.slice(4, 6).join("") + "-" + t.slice(6, 8).join("") + "-" + t.slice(8, 10).join("") + "-" + t.slice(10, 16).join("");
341
341
  }
342
342
  function Xe(e) {
343
- const t = Ue({
343
+ const t = Fe({
344
344
  ready: !1,
345
345
  error: null,
346
346
  config: null,
@@ -463,9 +463,9 @@ function Xe(e) {
463
463
  const g = await e.listMessages(m, {
464
464
  limit: l
465
465
  }), d = (g == null ? void 0 : g.messages) ?? [], f = t.messagesByConv[m] || [], _ = /* @__PURE__ */ new Set();
466
- for (const w of d)
467
- (w == null ? void 0 : w.id) != null && _.add(`id:${String(w.id)}`), w != null && w.client_msg_id && _.add(`c:${w.client_msg_id}`);
468
- const y = f.filter((w) => !((w == null ? void 0 : w.id) != null && _.has(`id:${String(w.id)}`) || w != null && w.client_msg_id && _.has(`c:${w.client_msg_id}`)));
466
+ for (const b of d)
467
+ (b == null ? void 0 : b.id) != null && _.add(`id:${String(b.id)}`), b != null && b.client_msg_id && _.add(`c:${b.client_msg_id}`);
468
+ const y = f.filter((b) => !((b == null ? void 0 : b.id) != null && _.has(`id:${String(b.id)}`) || b != null && b.client_msg_id && _.has(`c:${b.client_msg_id}`)));
469
469
  t.messagesByConv[m] = [...d, ...y].sort(
470
470
  ce
471
471
  ), k(m, {
@@ -493,11 +493,11 @@ function Xe(e) {
493
493
  const _ = await e.listMessages(m, {
494
494
  before: d,
495
495
  limit: l
496
- }), y = (_ == null ? void 0 : _.messages) ?? [], w = t.messagesByConv[m] || [], S = /* @__PURE__ */ new Set();
497
- for (const O of w)
496
+ }), y = (_ == null ? void 0 : _.messages) ?? [], b = t.messagesByConv[m] || [], S = /* @__PURE__ */ new Set();
497
+ for (const O of b)
498
498
  (O == null ? void 0 : O.id) != null && S.add(`id:${String(O.id)}`), O != null && O.client_msg_id && S.add(`c:${O.client_msg_id}`);
499
- const U = y.filter((O) => !((O == null ? void 0 : O.id) != null && S.has(`id:${String(O.id)}`) || O != null && O.client_msg_id && S.has(`c:${O.client_msg_id}`)));
500
- t.messagesByConv[m] = [...U, ...w], k(m, {
499
+ const F = y.filter((O) => !((O == null ? void 0 : O.id) != null && S.has(`id:${String(O.id)}`) || O != null && O.client_msg_id && S.has(`c:${O.client_msg_id}`)));
500
+ t.messagesByConv[m] = [...F, ...b], k(m, {
501
501
  nextCursor: (_ == null ? void 0 : _.next_cursor) ?? null,
502
502
  loading: !1,
503
503
  loaded: !0
@@ -529,12 +529,12 @@ function Xe(e) {
529
529
  const _ = /* @__PURE__ */ new Set(), y = /* @__PURE__ */ new Set();
530
530
  for (const S of h)
531
531
  (S == null ? void 0 : S.id) != null && _.add(String(S.id)), S != null && S.client_msg_id && y.add(S.client_msg_id);
532
- const w = [];
532
+ const b = [];
533
533
  for (const S of f) {
534
- const U = (S == null ? void 0 : S.id) != null && _.has(String(S.id)) || (S == null ? void 0 : S.client_msg_id) && y.has(S.client_msg_id);
535
- Y(m, S), U || w.push(S);
534
+ const F = (S == null ? void 0 : S.id) != null && _.has(String(S.id)) || (S == null ? void 0 : S.client_msg_id) && y.has(S.client_msg_id);
535
+ Y(m, S), F || b.push(S);
536
536
  }
537
- return w;
537
+ return b;
538
538
  } catch (d) {
539
539
  return console.error("[store] fetchSinceLast failed", d), [];
540
540
  }
@@ -552,10 +552,10 @@ function Xe(e) {
552
552
  }
553
553
  }
554
554
  async function q(m, h, { attachments: g, metadata: d } = {}) {
555
- var U;
555
+ var F;
556
556
  const f = (h || "").trim(), _ = Array.isArray(g) && g.length > 0;
557
557
  if (!m || !f && !_) return;
558
- const y = Qe(), w = se(m), S = {
558
+ const y = Qe(), b = se(m), S = {
559
559
  id: y,
560
560
  client_msg_id: y,
561
561
  conversation_id: m,
@@ -563,9 +563,9 @@ function Xe(e) {
563
563
  text_md: f,
564
564
  author: {
565
565
  type: "user",
566
- id: ((U = t.customer) == null ? void 0 : U.external_id) || null
566
+ id: ((F = t.customer) == null ? void 0 : F.external_id) || null
567
567
  },
568
- created_at: w,
568
+ created_at: b,
569
569
  // Local-only flag — UI may render dimmed until the SSE echo lands.
570
570
  _pending: !0,
571
571
  ..._ ? { payload: { type: "content", attachments: g } } : {},
@@ -576,7 +576,7 @@ function Xe(e) {
576
576
  await e.postMessage(m, {
577
577
  client_msg_id: y,
578
578
  text_md: f,
579
- created_at: w,
579
+ created_at: b,
580
580
  ..._ ? { attachments: g } : {},
581
581
  ...d && typeof d == "object" ? { metadata: d } : {}
582
582
  });
@@ -643,9 +643,9 @@ function Xe(e) {
643
643
  const y = h[_];
644
644
  if (((g = y == null ? void 0 : y.author) == null ? void 0 : g.type) === "user" || (y == null ? void 0 : y.type) === "action" && ((d = y == null ? void 0 : y.payload) == null ? void 0 : d.state) === "pending")
645
645
  return null;
646
- const w = (f = y == null ? void 0 : y.metadata) == null ? void 0 : f.form;
647
- if (w && Array.isArray(w.fields) && w.fields.length > 0)
648
- return { message: y, form: w };
646
+ const b = (f = y == null ? void 0 : y.metadata) == null ? void 0 : f.form;
647
+ if (b && Array.isArray(b.fields) && b.fields.length > 0)
648
+ return { message: y, form: b };
649
649
  }
650
650
  return null;
651
651
  }
@@ -661,21 +661,21 @@ function Xe(e) {
661
661
  var g, d, f, _;
662
662
  const h = t.messagesByConv[m] || [];
663
663
  for (let y = h.length - 1; y >= 0; y--) {
664
- const w = h[y];
665
- if (((g = w == null ? void 0 : w.author) == null ? void 0 : g.type) === "user") return [];
666
- if ((w == null ? void 0 : w.type) === "action" && ((d = w == null ? void 0 : w.payload) == null ? void 0 : d.state) === "pending")
664
+ const b = h[y];
665
+ if (((g = b == null ? void 0 : b.author) == null ? void 0 : g.type) === "user") return [];
666
+ if ((b == null ? void 0 : b.type) === "action" && ((d = b == null ? void 0 : b.payload) == null ? void 0 : d.state) === "pending")
667
667
  return [];
668
- if (((f = w == null ? void 0 : w.author) == null ? void 0 : f.type) !== "agent_ia") continue;
669
- const S = (_ = w == null ? void 0 : w.metadata) == null ? void 0 : _.suggested_replies;
670
- return Array.isArray(S) && S.length ? S.map((U) => {
671
- if (typeof U == "string") {
672
- const O = U.trim();
668
+ if (((f = b == null ? void 0 : b.author) == null ? void 0 : f.type) !== "agent_ia") continue;
669
+ const S = (_ = b == null ? void 0 : b.metadata) == null ? void 0 : _.suggested_replies;
670
+ return Array.isArray(S) && S.length ? S.map((F) => {
671
+ if (typeof F == "string") {
672
+ const O = F.trim();
673
673
  return O ? { label: O, kind: null } : null;
674
674
  }
675
- if (U && typeof U == "object" && typeof U.label == "string") {
676
- const O = U.label.trim();
675
+ if (F && typeof F == "object" && typeof F.label == "string") {
676
+ const O = F.label.trim();
677
677
  if (!O) return null;
678
- const Ne = U.kind === "cta" || U.kind === "choice" || U.kind === "followup" ? U.kind : null;
678
+ const Ne = F.kind === "cta" || F.kind === "choice" || F.kind === "followup" ? F.kind : null;
679
679
  return { label: O, kind: Ne };
680
680
  }
681
681
  return null;
@@ -1644,7 +1644,7 @@ const B = (e, t) => {
1644
1644
  }
1645
1645
  }
1646
1646
  }, yt = ["src", "alt"];
1647
- function bt(e, t, n, i, r, s) {
1647
+ function wt(e, t, n, i, r, s) {
1648
1648
  return c(), u("div", {
1649
1649
  class: x(["wm-huav", { "wm-huav--tail": n.tail }]),
1650
1650
  style: z({
@@ -1664,7 +1664,7 @@ function bt(e, t, n, i, r, s) {
1664
1664
  }, v(s.initials), 5))
1665
1665
  ], 6);
1666
1666
  }
1667
- const Be = /* @__PURE__ */ B(vt, [["render", bt], ["__scopeId", "data-v-14e10c0d"]]), wt = 3, kt = {
1667
+ const Be = /* @__PURE__ */ B(vt, [["render", wt], ["__scopeId", "data-v-14e10c0d"]]), bt = 3, kt = {
1668
1668
  name: "WmLauncher",
1669
1669
  components: { HumanAvatar: Be },
1670
1670
  inject: {
@@ -1687,20 +1687,20 @@ const Be = /* @__PURE__ */ B(vt, [["render", bt], ["__scopeId", "data-v-14e10c0d
1687
1687
  // élément en ordre DOM avec un flex column normal). Les plus
1688
1688
  // anciens remontent dans la pile.
1689
1689
  visiblePeeks() {
1690
- return this.peeks.slice(0, wt).reverse();
1690
+ return this.peeks.slice(0, bt).reverse();
1691
1691
  }
1692
1692
  }
1693
1693
  }, Ct = { class: "wm-launcherWrap" }, At = ["aria-label", "onClick", "onKeydown"], St = ["aria-label", "onClick"], Mt = { class: "wm-peek__avatar" }, Tt = ["aria-label"], xt = { class: "wm-peek__body" }, Ot = { class: "wm-peek__head" }, It = { class: "wm-peek__name" }, Lt = { class: "wm-peek__action" }, Bt = { class: "wm-peek__text" }, Et = ["onClick"], Rt = ["aria-label"], Nt = ["aria-label"];
1694
- function Ut(e, t, n, i, r, s) {
1694
+ function Ft(e, t, n, i, r, s) {
1695
1695
  const a = L("HumanAvatar");
1696
1696
  return c(), u("div", Ct, [
1697
- $(Fe, { name: "wm-peek" }, {
1697
+ $(Ue, { name: "wm-peek" }, {
1698
1698
  default: je(() => [
1699
1699
  s.visiblePeeks.length ? (c(), u("div", {
1700
1700
  key: 0,
1701
1701
  class: x(["wm-peekStack", { "wm-peekStack--multi": s.visiblePeeks.length > 1 }])
1702
1702
  }, [
1703
- (c(!0), u(I, null, F(s.visiblePeeks, (l, p) => (c(), u("div", {
1703
+ (c(!0), u(I, null, U(s.visiblePeeks, (l, p) => (c(), u("div", {
1704
1704
  key: l.convId,
1705
1705
  class: "wm-peek",
1706
1706
  style: z({
@@ -1748,7 +1748,7 @@ function Ut(e, t, n, i, r, s) {
1748
1748
  key: 0,
1749
1749
  class: "wm-peek__avatarBadge",
1750
1750
  "aria-label": s.t("launcher.unreadMessages", { count: l.count })
1751
- }, v(l.count > 9 ? "9+" : l.count), 9, Tt)) : b("", !0)
1751
+ }, v(l.count > 9 ? "9+" : l.count), 9, Tt)) : w("", !0)
1752
1752
  ]),
1753
1753
  o("div", xt, [
1754
1754
  o("div", Ot, [
@@ -1763,7 +1763,7 @@ function Ut(e, t, n, i, r, s) {
1763
1763
  onClick: X((C) => e.$emit("open", l.convId), ["stop"])
1764
1764
  }, v(s.t("common.open")), 9, Et)
1765
1765
  ], 44, At))), 128))
1766
- ], 2)) : b("", !0)
1766
+ ], 2)) : w("", !0)
1767
1767
  ]),
1768
1768
  _: 1
1769
1769
  }),
@@ -1794,11 +1794,11 @@ function Ut(e, t, n, i, r, s) {
1794
1794
  }) : s.t("launcher.unreadConversationsOne", {
1795
1795
  count: n.unreadCount
1796
1796
  })
1797
- }, v(n.unreadCount > 9 ? "9+" : n.unreadCount), 9, Nt)) : b("", !0)
1797
+ }, v(n.unreadCount > 9 ? "9+" : n.unreadCount), 9, Nt)) : w("", !0)
1798
1798
  ], 8, Rt)
1799
1799
  ]);
1800
1800
  }
1801
- const Ft = /* @__PURE__ */ B(kt, [["render", Ut], ["__scopeId", "data-v-5193a529"]]), jt = {
1801
+ const Ut = /* @__PURE__ */ B(kt, [["render", Ft], ["__scopeId", "data-v-5193a529"]]), jt = {
1802
1802
  name: "WmAIAvatar",
1803
1803
  props: {
1804
1804
  size: { type: Number, default: 26 },
@@ -1840,7 +1840,7 @@ function zt(e, t, n, i, r, s) {
1840
1840
  "--wm-avr": n.size * 0.32 + "px"
1841
1841
  })
1842
1842
  }, [
1843
- n.pulse ? (c(), u("div", Pt)) : b("", !0),
1843
+ n.pulse ? (c(), u("div", Pt)) : w("", !0),
1844
1844
  o("div", {
1845
1845
  class: x(["wm-aiav__inner", {
1846
1846
  "wm-aiav__inner--glow": n.pulse,
@@ -1924,7 +1924,7 @@ function Gt(e, t, n, i, r, s) {
1924
1924
  class: "wm-team__stack",
1925
1925
  style: z({ width: s.stackWidth + "px" })
1926
1926
  }, [
1927
- (c(!0), u(I, null, F(n.members.slice(0, 3), (a, l) => (c(), u("div", {
1927
+ (c(!0), u(I, null, U(n.members.slice(0, 3), (a, l) => (c(), u("div", {
1928
1928
  key: l,
1929
1929
  class: "wm-team__pill",
1930
1930
  style: z({
@@ -1940,8 +1940,8 @@ function Gt(e, t, n, i, r, s) {
1940
1940
  }, null, 8, Vt)) : (c(), u("span", Kt, v(s.initialsFor(a)), 1))
1941
1941
  ], 4))), 128))
1942
1942
  ], 4),
1943
- n.responseLabel ? (c(), u("span", Wt, v(n.responseLabel), 1)) : b("", !0)
1944
- ])) : b("", !0);
1943
+ n.responseLabel ? (c(), u("span", Wt, v(n.responseLabel), 1)) : w("", !0)
1944
+ ])) : w("", !0);
1945
1945
  }
1946
1946
  const Yt = /* @__PURE__ */ B(qt, [["render", Gt], ["__scopeId", "data-v-e49a9063"]]), Qt = {
1947
1947
  name: "WmHeader",
@@ -2028,7 +2028,7 @@ function ln(e, t, n, i, r, s) {
2028
2028
  key: 0,
2029
2029
  members: s.displayedTeamMembers,
2030
2030
  "response-label": ""
2031
- }, null, 8, ["members"])) : b("", !0)
2031
+ }, null, 8, ["members"])) : w("", !0)
2032
2032
  ], 64)) : (c(), u("div", sn)),
2033
2033
  o("div", rn, [
2034
2034
  n.showMore ? (c(), u("button", {
@@ -2062,7 +2062,7 @@ function ln(e, t, n, i, r, s) {
2062
2062
  r: "1.6"
2063
2063
  })
2064
2064
  ], -1)
2065
- ])], 10, an)) : b("", !0),
2065
+ ])], 10, an)) : w("", !0),
2066
2066
  n.showClose ? (c(), u("button", {
2067
2067
  key: 1,
2068
2068
  type: "button",
@@ -2084,7 +2084,7 @@ function ln(e, t, n, i, r, s) {
2084
2084
  }, [
2085
2085
  o("path", { d: "M18 6L6 18M6 6l12 12" })
2086
2086
  ], -1)
2087
- ])], 8, on)) : b("", !0)
2087
+ ])], 8, on)) : w("", !0)
2088
2088
  ])
2089
2089
  ]);
2090
2090
  }
@@ -2253,10 +2253,10 @@ const Te = {
2253
2253
  });
2254
2254
  }
2255
2255
  }
2256
- }, fn = { class: "wm-onb" }, _n = { class: "wm-onb__hero" }, gn = { class: "wm-onb__title" }, pn = { class: "wm-onb__sub" }, vn = { class: "wm-onb__cta" }, yn = ["disabled"], bn = {
2256
+ }, fn = { class: "wm-onb" }, _n = { class: "wm-onb__hero" }, gn = { class: "wm-onb__title" }, pn = { class: "wm-onb__sub" }, vn = { class: "wm-onb__cta" }, yn = ["disabled"], wn = {
2257
2257
  key: 0,
2258
2258
  class: "wm-onb__section"
2259
- }, wn = { class: "wm-onb__section-title" }, kn = ["onClick"], Cn = { class: "wm-onb__card-icon" }, An = {
2259
+ }, bn = { class: "wm-onb__section-title" }, kn = ["onClick"], Cn = { class: "wm-onb__card-icon" }, An = {
2260
2260
  width: "16",
2261
2261
  height: "16",
2262
2262
  viewBox: "0 0 24 24",
@@ -2272,7 +2272,7 @@ const Te = {
2272
2272
  }, On = {
2273
2273
  key: 1,
2274
2274
  class: "wm-onb__section"
2275
- }, In = { class: "wm-onb__section-title" }, Ln = { class: "wm-onb__search" }, Bn = ["placeholder", "aria-label"], En = { class: "wm-onb__list" }, Rn = ["onClick"], Nn = ["aria-label"], Un = { class: "wm-onb__thread-body" }, Fn = { class: "wm-onb__thread-title" }, jn = ["innerHTML"], Pn = { class: "wm-onb__thread-meta" }, Dn = {
2275
+ }, In = { class: "wm-onb__section-title" }, Ln = { class: "wm-onb__search" }, Bn = ["placeholder", "aria-label"], En = { class: "wm-onb__list" }, Rn = ["onClick"], Nn = ["aria-label"], Fn = { class: "wm-onb__thread-body" }, Un = { class: "wm-onb__thread-title" }, jn = ["innerHTML"], Pn = { class: "wm-onb__thread-meta" }, Dn = {
2276
2276
  key: 0,
2277
2277
  class: "wm-onb__thread-time"
2278
2278
  }, Hn = {
@@ -2283,9 +2283,42 @@ function zn(e, t, n, i, r, s) {
2283
2283
  const a = L("AIAvatar");
2284
2284
  return c(), u("div", fn, [
2285
2285
  o("div", _n, [
2286
+ t[2] || (t[2] = o("svg", {
2287
+ class: "wm-onb__hero-deco",
2288
+ width: "180",
2289
+ height: "180",
2290
+ viewBox: "0 0 180 180",
2291
+ fill: "none",
2292
+ "aria-hidden": "true"
2293
+ }, [
2294
+ o("circle", {
2295
+ cx: "170",
2296
+ cy: "10",
2297
+ r: "105",
2298
+ stroke: "#5B5FEF",
2299
+ "stroke-width": "1",
2300
+ "stroke-dasharray": "1 5",
2301
+ opacity: "0.35"
2302
+ }),
2303
+ o("circle", {
2304
+ cx: "170",
2305
+ cy: "10",
2306
+ r: "72",
2307
+ stroke: "#5B5FEF",
2308
+ "stroke-width": "1",
2309
+ "stroke-dasharray": "1 5",
2310
+ opacity: "0.5"
2311
+ }),
2312
+ o("circle", {
2313
+ cx: "152",
2314
+ cy: "34",
2315
+ r: "2.5",
2316
+ fill: "#5B5FEF",
2317
+ opacity: "0.65"
2318
+ })
2319
+ ], -1)),
2286
2320
  $(a, {
2287
- size: 56,
2288
- pulse: !0,
2321
+ size: 60,
2289
2322
  "image-url": n.defaultIconUrl
2290
2323
  }, null, 8, ["image-url"]),
2291
2324
  o("div", gn, v(s.heroTitle), 1),
@@ -2298,7 +2331,7 @@ function zn(e, t, n, i, r, s) {
2298
2331
  disabled: n.busy,
2299
2332
  onClick: t[0] || (t[0] = (l) => e.$emit("start"))
2300
2333
  }, [
2301
- t[2] || (t[2] = o("span", { class: "wm-onb__startIcon" }, [
2334
+ t[3] || (t[3] = o("span", { class: "wm-onb__startIcon" }, [
2302
2335
  o("svg", {
2303
2336
  width: "12",
2304
2337
  height: "12",
@@ -2316,12 +2349,12 @@ function zn(e, t, n, i, r, s) {
2316
2349
  o("span", null, v(n.busy ? "…" : s.t("onboarding.start")), 1)
2317
2350
  ], 8, yn)
2318
2351
  ]),
2319
- n.quickLinks.length ? (c(), u("div", bn, [
2320
- o("div", wn, v(s.t("onboarding.quickAccess")), 1),
2352
+ n.quickLinks.length ? (c(), u("div", wn, [
2353
+ o("div", bn, v(s.t("onboarding.quickAccess")), 1),
2321
2354
  o("div", {
2322
2355
  class: x(s.quickLinksLayout)
2323
2356
  }, [
2324
- (c(!0), u(I, null, F(n.quickLinks, (l, p) => (c(), u("button", {
2357
+ (c(!0), u(I, null, U(n.quickLinks, (l, p) => (c(), u("button", {
2325
2358
  key: p,
2326
2359
  type: "button",
2327
2360
  class: x(["wm-onb__card", { "wm-onb__card--row": s.isOddQuickLinks }]),
@@ -2336,15 +2369,15 @@ function zn(e, t, n, i, r, s) {
2336
2369
  ]),
2337
2370
  o("span", Mn, [
2338
2371
  o("span", Tn, v(l.label), 1),
2339
- l.description ? (c(), u("span", xn, v(l.description), 1)) : b("", !0)
2372
+ l.description ? (c(), u("span", xn, v(l.description), 1)) : w("", !0)
2340
2373
  ])
2341
2374
  ], 10, kn))), 128))
2342
2375
  ], 2)
2343
- ])) : b("", !0),
2376
+ ])) : w("", !0),
2344
2377
  n.openThreads.length ? (c(), u("div", On, [
2345
2378
  o("div", In, v(s.t("onboarding.recentConversations")), 1),
2346
2379
  o("div", Ln, [
2347
- t[3] || (t[3] = o("span", { class: "wm-onb__searchIcon" }, [
2380
+ t[4] || (t[4] = o("span", { class: "wm-onb__searchIcon" }, [
2348
2381
  o("svg", {
2349
2382
  width: "12",
2350
2383
  height: "12",
@@ -2369,7 +2402,7 @@ function zn(e, t, n, i, r, s) {
2369
2402
  ])
2370
2403
  ]),
2371
2404
  o("div", En, [
2372
- (c(!0), u(I, null, F(s.filteredThreads, (l) => (c(), u("button", {
2405
+ (c(!0), u(I, null, U(s.filteredThreads, (l) => (c(), u("button", {
2373
2406
  key: l.id,
2374
2407
  type: "button",
2375
2408
  class: "wm-onb__thread",
@@ -2378,7 +2411,7 @@ function zn(e, t, n, i, r, s) {
2378
2411
  o("span", {
2379
2412
  class: x(["wm-onb__thread-icon", { "wm-onb__thread-icon--inverted": !l.unread }])
2380
2413
  }, [
2381
- t[4] || (t[4] = o("svg", {
2414
+ t[5] || (t[5] = o("svg", {
2382
2415
  width: "18",
2383
2416
  height: "18",
2384
2417
  viewBox: "0 0 24 24",
@@ -2395,18 +2428,18 @@ function zn(e, t, n, i, r, s) {
2395
2428
  key: 0,
2396
2429
  class: "wm-onb__thread-dot",
2397
2430
  "aria-label": s.t("onboarding.unread")
2398
- }, null, 8, Nn)) : b("", !0)
2431
+ }, null, 8, Nn)) : w("", !0)
2399
2432
  ], 2),
2400
- o("span", Un, [
2401
- o("span", Fn, v(l.title), 1),
2433
+ o("span", Fn, [
2434
+ o("span", Un, v(l.title), 1),
2402
2435
  o("span", {
2403
2436
  class: "wm-onb__thread-preview",
2404
2437
  innerHTML: s.renderPreview(l.preview)
2405
2438
  }, null, 8, jn)
2406
2439
  ]),
2407
2440
  o("span", Pn, [
2408
- s.formatTs(l._ts) ? (c(), u("span", Dn, v(s.formatTs(l._ts)), 1)) : b("", !0),
2409
- t[5] || (t[5] = o("svg", {
2441
+ s.formatTs(l._ts) ? (c(), u("span", Dn, v(s.formatTs(l._ts)), 1)) : w("", !0),
2442
+ t[6] || (t[6] = o("svg", {
2410
2443
  width: "14",
2411
2444
  height: "14",
2412
2445
  viewBox: "0 0 24 24",
@@ -2422,12 +2455,12 @@ function zn(e, t, n, i, r, s) {
2422
2455
  ], -1))
2423
2456
  ])
2424
2457
  ], 8, Rn))), 128)),
2425
- s.filteredThreads.length ? b("", !0) : (c(), u("div", Hn, v(s.t("onboarding.noResults", { query: r.query })), 1))
2458
+ s.filteredThreads.length ? w("", !0) : (c(), u("div", Hn, v(s.t("onboarding.noResults", { query: r.query })), 1))
2426
2459
  ])
2427
- ])) : b("", !0)
2460
+ ])) : w("", !0)
2428
2461
  ]);
2429
2462
  }
2430
- const qn = /* @__PURE__ */ B(hn, [["render", zn], ["__scopeId", "data-v-900e5f91"]]);
2463
+ const qn = /* @__PURE__ */ B(hn, [["render", zn], ["__scopeId", "data-v-bf4a112f"]]);
2431
2464
  function $n(e) {
2432
2465
  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();
2433
2466
  }
@@ -2528,7 +2561,7 @@ function es(e, t, n, i, r, s) {
2528
2561
  "aria-hidden": "true"
2529
2562
  }, " · ", -1)),
2530
2563
  o("span", Zn, v(s.detailText), 1)
2531
- ], 64)) : b("", !0)
2564
+ ], 64)) : w("", !0)
2532
2565
  ])
2533
2566
  ], 2);
2534
2567
  }
@@ -2571,7 +2604,7 @@ function cs(e, t, n, i, r, s) {
2571
2604
  ])
2572
2605
  ]),
2573
2606
  o("div", os, [
2574
- (c(!0), u(I, null, F(s.fields, (a, l) => (c(), u("div", {
2607
+ (c(!0), u(I, null, U(s.fields, (a, l) => (c(), u("div", {
2575
2608
  key: l,
2576
2609
  class: "wm-art__field"
2577
2610
  }, [
@@ -2610,10 +2643,10 @@ const ds = /* @__PURE__ */ B(ns, [["render", cs], ["__scopeId", "data-v-713aecf1
2610
2643
  }, ys = {
2611
2644
  key: 1,
2612
2645
  class: "wm-art__body"
2613
- }, bs = {
2646
+ }, ws = {
2614
2647
  key: 0,
2615
2648
  class: "wm-art__text"
2616
- }, ws = { class: "wm-art__fieldLabel" };
2649
+ }, bs = { class: "wm-art__fieldLabel" };
2617
2650
  function ks(e, t, n, i, r, s) {
2618
2651
  return c(), u("div", ms, [
2619
2652
  n.data.image_url ? (c(), u("figure", hs, [
@@ -2622,11 +2655,11 @@ function ks(e, t, n, i, r, s) {
2622
2655
  alt: n.data.title || "",
2623
2656
  loading: "lazy"
2624
2657
  }, null, 8, fs)
2625
- ])) : b("", !0),
2658
+ ])) : w("", !0),
2626
2659
  o("div", _s, [
2627
2660
  o("div", gs, [
2628
2661
  o("div", ps, v(n.data.title), 1),
2629
- n.data.subtitle ? (c(), u("div", vs, v(n.data.subtitle), 1)) : b("", !0)
2662
+ n.data.subtitle ? (c(), u("div", vs, v(n.data.subtitle), 1)) : w("", !0)
2630
2663
  ]),
2631
2664
  n.data.badge && n.data.badge.label ? (c(), u("span", {
2632
2665
  key: 0,
@@ -2634,23 +2667,23 @@ function ks(e, t, n, i, r, s) {
2634
2667
  "wm-art__badge",
2635
2668
  `wm-art__badge--${n.data.badge.tone || "neutral"}`
2636
2669
  ])
2637
- }, v(n.data.badge.label), 3)) : b("", !0)
2670
+ }, v(n.data.badge.label), 3)) : w("", !0)
2638
2671
  ]),
2639
2672
  s.hasBody ? (c(), u("div", ys, [
2640
- n.data.body ? (c(), u("div", bs, v(n.data.body), 1)) : b("", !0),
2641
- s.fields.length ? (c(!0), u(I, { key: 1 }, F(s.fields, (a, l) => (c(), u("div", {
2673
+ n.data.body ? (c(), u("div", ws, v(n.data.body), 1)) : w("", !0),
2674
+ s.fields.length ? (c(!0), u(I, { key: 1 }, U(s.fields, (a, l) => (c(), u("div", {
2642
2675
  key: l,
2643
2676
  class: "wm-art__field"
2644
2677
  }, [
2645
- o("div", ws, v(a.label), 1),
2678
+ o("div", bs, v(a.label), 1),
2646
2679
  o("div", {
2647
2680
  class: x([
2648
2681
  "wm-art__fieldValue",
2649
2682
  { "wm-art__fieldValue--multi": a.multiline }
2650
2683
  ])
2651
2684
  }, v(a.value), 3)
2652
- ]))), 128)) : b("", !0)
2653
- ])) : b("", !0)
2685
+ ]))), 128)) : w("", !0)
2686
+ ])) : w("", !0)
2654
2687
  ]);
2655
2688
  }
2656
2689
  const Cs = /* @__PURE__ */ B(us, [["render", ks], ["__scopeId", "data-v-7eae0e4a"]]);
@@ -2732,11 +2765,11 @@ const Ss = {
2732
2765
  "stroke-linecap": "round",
2733
2766
  "stroke-linejoin": "round",
2734
2767
  "aria-hidden": "true"
2735
- }, Us = {
2768
+ }, Fs = {
2736
2769
  key: 1,
2737
2770
  class: "wm-art__footer wm-tk__footer"
2738
2771
  };
2739
- function Fs(e, t, n, i, r, s) {
2772
+ function Us(e, t, n, i, r, s) {
2740
2773
  return c(), u("div", Ms, [
2741
2774
  o("div", Ts, [
2742
2775
  o("div", xs, v(n.data.title), 1),
@@ -2772,10 +2805,10 @@ function Fs(e, t, n, i, r, s) {
2772
2805
  ge(" " + v(n.data.status.label), 1)
2773
2806
  ], 2)
2774
2807
  ]),
2775
- n.data.body ? (c(), u("div", Ls, v(n.data.body), 1)) : b("", !0)
2808
+ n.data.body ? (c(), u("div", Ls, v(n.data.body), 1)) : w("", !0)
2776
2809
  ]),
2777
2810
  s.fields.length ? (c(), u("div", Bs, [
2778
- (c(!0), u(I, null, F(s.fields, (a, l) => (c(), u("div", {
2811
+ (c(!0), u(I, null, U(s.fields, (a, l) => (c(), u("div", {
2779
2812
  key: l,
2780
2813
  class: "wm-art__field"
2781
2814
  }, [
@@ -2825,12 +2858,12 @@ function Fs(e, t, n, i, r, s) {
2825
2858
  rx: "2"
2826
2859
  }, null, -1),
2827
2860
  o("path", { d: "M16 2v4M8 2v4M3 10h18" }, null, -1)
2828
- ])])) : b("", !0),
2861
+ ])])) : w("", !0),
2829
2862
  o("span", null, v(a.value), 1)
2830
2863
  ], 2)
2831
2864
  ]))), 128))
2832
- ])) : b("", !0),
2833
- n.data.created_at ? (c(), u("div", Us, [
2865
+ ])) : w("", !0),
2866
+ n.data.created_at ? (c(), u("div", Fs, [
2834
2867
  t[4] || (t[4] = o("svg", {
2835
2868
  width: "11",
2836
2869
  height: "11",
@@ -2852,10 +2885,10 @@ function Fs(e, t, n, i, r, s) {
2852
2885
  o("path", { d: "M16 2v4M8 2v4M3 10h18" })
2853
2886
  ], -1)),
2854
2887
  o("span", null, v(s.formattedDate), 1)
2855
- ])) : b("", !0)
2888
+ ])) : w("", !0)
2856
2889
  ]);
2857
2890
  }
2858
- const js = /* @__PURE__ */ B(Ss, [["render", Fs], ["__scopeId", "data-v-5f30c914"]]), Ps = {
2891
+ const js = /* @__PURE__ */ B(Ss, [["render", Us], ["__scopeId", "data-v-5f30c914"]]), Ps = {
2859
2892
  form_response: ds,
2860
2893
  info_card: Cs,
2861
2894
  ticket: js
@@ -2878,7 +2911,7 @@ function Hs(e, t, n, i, r, s) {
2878
2911
  return s.component ? (c(), R(Pe(s.component), {
2879
2912
  key: 0,
2880
2913
  data: n.artifact.data
2881
- }, null, 8, ["data"])) : b("", !0);
2914
+ }, null, 8, ["data"])) : w("", !0);
2882
2915
  }
2883
2916
  const zs = /* @__PURE__ */ B(Ds, [["render", Hs]]), qs = {
2884
2917
  name: "WmAttachmentPreview",
@@ -2906,6 +2939,10 @@ const zs = /* @__PURE__ */ B(Ds, [["render", Hs]]), qs = {
2906
2939
  var e, t, n;
2907
2940
  return ((t = (e = this.attachment) == null ? void 0 : e.metadata) == null ? void 0 : t.name) || ((n = this.attachment) == null ? void 0 : n.name) || this.guessNameFromPath() || this.t("attachment.fallbackName");
2908
2941
  },
2942
+ safeHref() {
2943
+ const e = String(this.url || "").trim();
2944
+ return /^(https?:\/\/|blob:|data:image\/)/i.test(e) ? e : "#";
2945
+ },
2909
2946
  sizeLabel() {
2910
2947
  var t;
2911
2948
  const e = (t = this.attachment) == null ? void 0 : t.size_bytes;
@@ -2941,7 +2978,7 @@ const zs = /* @__PURE__ */ B(Ds, [["render", Hs]]), qs = {
2941
2978
  }
2942
2979
  },
2943
2980
  onFileClick(e) {
2944
- this.url || e.preventDefault();
2981
+ this.safeHref === "#" && e.preventDefault();
2945
2982
  }
2946
2983
  }
2947
2984
  }, $s = ["href"], Vs = ["src", "alt"], Ks = ["src"], Ws = ["src"], Gs = ["href", "download"], Ys = { class: "wm-att__main" }, Qs = { class: "wm-att__name" }, Xs = {
@@ -2958,7 +2995,7 @@ function Zs(e, t, n, i, r, s) {
2958
2995
  }, [
2959
2996
  s.kind === "image" && r.url ? (c(), u("a", {
2960
2997
  key: 0,
2961
- href: r.url,
2998
+ href: s.safeHref,
2962
2999
  target: "_blank",
2963
3000
  rel: "noopener",
2964
3001
  class: "wm-att__imgWrap"
@@ -2981,7 +3018,7 @@ function Zs(e, t, n, i, r, s) {
2981
3018
  }, null, 8, Ws)) : (c(), u("a", {
2982
3019
  key: 3,
2983
3020
  class: "wm-att__file",
2984
- href: r.url || "#",
3021
+ href: s.safeHref,
2985
3022
  download: s.displayName,
2986
3023
  target: "_blank",
2987
3024
  rel: "noopener",
@@ -3005,13 +3042,13 @@ function Zs(e, t, n, i, r, s) {
3005
3042
  ], -1)),
3006
3043
  o("span", Ys, [
3007
3044
  o("span", Qs, v(s.displayName), 1),
3008
- s.sizeLabel ? (c(), u("span", Xs, v(s.sizeLabel), 1)) : b("", !0)
3045
+ s.sizeLabel ? (c(), u("span", Xs, v(s.sizeLabel), 1)) : w("", !0)
3009
3046
  ]),
3010
- r.loading ? (c(), u("span", Js)) : b("", !0)
3047
+ r.loading ? (c(), u("span", Js)) : w("", !0)
3011
3048
  ], 8, Gs))
3012
3049
  ], 2);
3013
3050
  }
3014
- const er = /* @__PURE__ */ B(qs, [["render", Zs], ["__scopeId", "data-v-afc7b0d3"]]), tr = {
3051
+ const er = /* @__PURE__ */ B(qs, [["render", Zs], ["__scopeId", "data-v-0c877a62"]]), tr = {
3015
3052
  name: "WmBubble",
3016
3053
  props: {
3017
3054
  role: { type: String, default: "ai" },
@@ -3583,10 +3620,10 @@ const cr = {
3583
3620
  }, pr = { class: "wm-list__sep-label" }, vr = {
3584
3621
  key: 0,
3585
3622
  class: "wm-list__sep wm-list__sep--unread"
3586
- }, yr = { class: "wm-list__sep-label wm-list__sep-label--unread" }, br = {
3623
+ }, yr = { class: "wm-list__sep-label wm-list__sep-label--unread" }, wr = {
3587
3624
  key: 0,
3588
3625
  class: "wm-list__sysep"
3589
- }, wr = { class: "wm-list__sysep-label" }, kr = ["data-row-key"], Cr = {
3626
+ }, br = { class: "wm-list__sysep-label" }, kr = ["data-row-key"], Cr = {
3590
3627
  key: 0,
3591
3628
  class: "wm-list__avatarSlot"
3592
3629
  }, Ar = {
@@ -3612,30 +3649,30 @@ function Ir(e, t, n, i, r, s) {
3612
3649
  "aria-hidden": "true"
3613
3650
  }, null, -1)),
3614
3651
  o("span", fr, v(s.t("messageList.loadingHistory")), 1)
3615
- ])) : s.historyExhausted ? (c(), u("div", _r, v(s.t("messageList.conversationStart")), 1)) : b("", !0),
3652
+ ])) : s.historyExhausted ? (c(), u("div", _r, v(s.t("messageList.conversationStart")), 1)) : w("", !0),
3616
3653
  n.dateLabel ? (c(), u("div", gr, [
3617
3654
  t[2] || (t[2] = o("div", { class: "wm-list__line" }, null, -1)),
3618
3655
  o("span", pr, v(n.dateLabel), 1),
3619
3656
  t[3] || (t[3] = o("div", { class: "wm-list__line" }, null, -1))
3620
- ])) : b("", !0),
3621
- (c(!0), u(I, null, F(s.groups, (A, q) => (c(), u(I, {
3657
+ ])) : w("", !0),
3658
+ (c(!0), u(I, null, U(s.groups, (A, q) => (c(), u(I, {
3622
3659
  key: A.key
3623
3660
  }, [
3624
3661
  A.key === s.unreadGroupKey ? (c(), u("div", vr, [
3625
3662
  t[4] || (t[4] = o("div", { class: "wm-list__line wm-list__line--unread" }, null, -1)),
3626
3663
  o("span", yr, v(s.t("messageList.unread")), 1),
3627
3664
  t[5] || (t[5] = o("div", { class: "wm-list__line wm-list__line--unread" }, null, -1))
3628
- ])) : b("", !0),
3665
+ ])) : w("", !0),
3629
3666
  A.role === "system" || A.items.length ? (c(), u("div", {
3630
3667
  key: 1,
3631
3668
  class: x(["wm-list__group", "wm-list__group--" + A.role])
3632
3669
  }, [
3633
- A.role === "system" ? (c(), u("div", br, [
3670
+ A.role === "system" ? (c(), u("div", wr, [
3634
3671
  t[6] || (t[6] = o("div", { class: "wm-list__line wm-list__line--strong" }, null, -1)),
3635
- o("span", wr, v(A.systemLabel), 1),
3672
+ o("span", br, v(A.systemLabel), 1),
3636
3673
  t[7] || (t[7] = o("div", { class: "wm-list__line wm-list__line--strong" }, null, -1))
3637
3674
  ])) : (c(), u(I, { key: 1 }, [
3638
- (c(!0), u(I, null, F(A.items, (M, P) => (c(), u("div", {
3675
+ (c(!0), u(I, null, U(A.items, (M, P) => (c(), u("div", {
3639
3676
  key: `${s.messageKey(M.message)}-${M.partKey}`,
3640
3677
  "data-row-key": `${s.messageKey(M.message)}-${M.partKey}`,
3641
3678
  class: x(["wm-list__row fade-up", [
@@ -3662,8 +3699,8 @@ function Ir(e, t, n, i, r, s) {
3662
3699
  size: 26,
3663
3700
  tail: !0
3664
3701
  }, null, 8, ["name", "avatar-url"]))
3665
- ], 64)) : b("", !0)
3666
- ])) : b("", !0),
3702
+ ], 64)) : w("", !0)
3703
+ ])) : w("", !0),
3667
3704
  M.renderAs === "action" ? (c(), R(p, {
3668
3705
  key: 1,
3669
3706
  state: M.message.payload.state,
@@ -3685,32 +3722,32 @@ function Ir(e, t, n, i, r, s) {
3685
3722
  key: 0,
3686
3723
  role: A.role,
3687
3724
  text: M.message.text_md
3688
- }, null, 8, ["role", "text"])) : b("", !0),
3725
+ }, null, 8, ["role", "text"])) : w("", !0),
3689
3726
  s.attachmentsOf(M.message).length ? (c(), u("div", {
3690
3727
  key: 1,
3691
3728
  class: x(["wm-list__atts", {
3692
3729
  "wm-list__atts--align-end": A.role === "user"
3693
3730
  }])
3694
3731
  }, [
3695
- (c(!0), u(I, null, F(s.attachmentsOf(
3732
+ (c(!0), u(I, null, U(s.attachmentsOf(
3696
3733
  M.message
3697
3734
  ), (N, H) => (c(), R(T, {
3698
3735
  key: `${s.messageKey(M.message)}-att-${H}`,
3699
3736
  attachment: N
3700
3737
  }, null, 8, ["attachment"]))), 128))
3701
- ], 2)) : b("", !0)
3738
+ ], 2)) : w("", !0)
3702
3739
  ]))
3703
3740
  ], 14, kr))), 128)),
3704
3741
  (A.role !== "user" || s.lastTimeOf(A)) && !s.hasTrailingOverlay(A) ? (c(), u("div", {
3705
3742
  key: 0,
3706
3743
  class: x(["wm-list__meta", { "wm-list__meta--right": A.role === "user" }])
3707
3744
  }, [
3708
- A.role !== "user" ? (c(), u("span", Sr, v(s.roleLabel(A)), 1)) : b("", !0),
3709
- A.role !== "user" && s.lastTimeOf(A) ? (c(), u("span", Mr, "·")) : b("", !0),
3710
- s.lastTimeOf(A) ? (c(), u("span", Tr, v(s.lastTimeOf(A)), 1)) : b("", !0)
3711
- ], 2)) : b("", !0)
3745
+ A.role !== "user" ? (c(), u("span", Sr, v(s.roleLabel(A)), 1)) : w("", !0),
3746
+ A.role !== "user" && s.lastTimeOf(A) ? (c(), u("span", Mr, "·")) : w("", !0),
3747
+ s.lastTimeOf(A) ? (c(), u("span", Tr, v(s.lastTimeOf(A)), 1)) : w("", !0)
3748
+ ], 2)) : w("", !0)
3712
3749
  ], 64))
3713
- ], 2)) : b("", !0)
3750
+ ], 2)) : w("", !0)
3714
3751
  ], 64))), 128)),
3715
3752
  n.streamingActive ? (c(), u("div", xr, [
3716
3753
  o("div", Or, [
@@ -3722,12 +3759,12 @@ function Ir(e, t, n, i, r, s) {
3722
3759
  }, null, 8, ["name", "image-url"])
3723
3760
  ]),
3724
3761
  $(E)
3725
- ])) : b("", !0)
3762
+ ])) : w("", !0)
3726
3763
  ], 34);
3727
3764
  }
3728
- const Lr = /* @__PURE__ */ B(mr, [["render", Ir], ["__scopeId", "data-v-d769b193"]]), me = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", be = typeof window < "u" && typeof window.MediaRecorder < "u";
3765
+ const Lr = /* @__PURE__ */ B(mr, [["render", Ir], ["__scopeId", "data-v-d769b193"]]), me = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", we = typeof window < "u" && typeof window.MediaRecorder < "u";
3729
3766
  function Br() {
3730
- return be && [
3767
+ return we && [
3731
3768
  "video/webm;codecs=vp9,opus",
3732
3769
  "video/webm;codecs=vp8,opus",
3733
3770
  "video/webm",
@@ -3784,7 +3821,7 @@ async function Rr(e) {
3784
3821
  }
3785
3822
  async function Nr(e = {}) {
3786
3823
  var C;
3787
- if (!me || !be) return null;
3824
+ if (!me || !we) return null;
3788
3825
  let t;
3789
3826
  try {
3790
3827
  t = await navigator.mediaDevices.getDisplayMedia(
@@ -3847,7 +3884,7 @@ async function Nr(e = {}) {
3847
3884
  }
3848
3885
  };
3849
3886
  }
3850
- const Ur = [
3887
+ const Fr = [
3851
3888
  {
3852
3889
  action: "file",
3853
3890
  labelKey: "composer.attachFile",
@@ -3863,7 +3900,7 @@ const Ur = [
3863
3900
  labelKey: "composer.recordScreen",
3864
3901
  path: "M23 7l-7 5 7 5V7z M1 5a2 2 0 012-2h12a2 2 0 012 2v14a2 2 0 01-2 2H3a2 2 0 01-2-2V5z"
3865
3902
  }
3866
- ], Fr = {
3903
+ ], Ur = {
3867
3904
  name: "WmComposer",
3868
3905
  inject: {
3869
3906
  // Translator shared by the Messenger shell; French fallback when
@@ -3891,10 +3928,10 @@ const Ur = [
3891
3928
  return !this.disabled && !!this.local.trim();
3892
3929
  },
3893
3930
  attachItems() {
3894
- return Ur.map((e) => ({
3931
+ return Fr.map((e) => ({
3895
3932
  ...e,
3896
3933
  label: this.t(e.labelKey),
3897
- disabled: e.action === "screenshot" && !me || e.action === "record" && (!me || !be)
3934
+ disabled: e.action === "screenshot" && !me || e.action === "record" && (!me || !we)
3898
3935
  }));
3899
3936
  },
3900
3937
  recordingElapsedLabel() {
@@ -4021,7 +4058,7 @@ function Qr(e, t, n, i, r, s) {
4021
4058
  class: "wm-rec__stop",
4022
4059
  onClick: t[0] || (t[0] = (...a) => s.stopRecording && s.stopRecording(...a))
4023
4060
  }, v(s.t("composer.stop")), 1)
4024
- ])) : b("", !0),
4061
+ ])) : w("", !0),
4025
4062
  o("form", {
4026
4063
  class: x(["wm-compose", { "has-attach": r.attachOpen }]),
4027
4064
  onSubmit: t[7] || (t[7] = X((...a) => s.onSubmit && s.onSubmit(...a), ["prevent"]))
@@ -4037,9 +4074,9 @@ function Qr(e, t, n, i, r, s) {
4037
4074
  key: 0,
4038
4075
  class: "wm-compose__overlay",
4039
4076
  onClick: t[2] || (t[2] = (a) => r.attachOpen = !1)
4040
- })) : b("", !0),
4077
+ })) : w("", !0),
4041
4078
  r.attachOpen ? (c(), u("div", Hr, [
4042
- (c(!0), u(I, null, F(s.attachItems, (a) => (c(), u("button", {
4079
+ (c(!0), u(I, null, U(s.attachItems, (a) => (c(), u("button", {
4043
4080
  key: a.action,
4044
4081
  type: "button",
4045
4082
  class: "wm-compose__menuItem",
@@ -4060,7 +4097,7 @@ function Qr(e, t, n, i, r, s) {
4060
4097
  ]),
4061
4098
  o("span", null, v(a.label), 1)
4062
4099
  ], 8, zr))), 128))
4063
- ])) : b("", !0),
4100
+ ])) : w("", !0),
4064
4101
  K(o("textarea", {
4065
4102
  ref: "inputEl",
4066
4103
  "onUpdate:modelValue": t[3] || (t[3] = (a) => r.local = a),
@@ -4120,7 +4157,7 @@ function Qr(e, t, n, i, r, s) {
4120
4157
  ], 34)
4121
4158
  ]);
4122
4159
  }
4123
- const Xr = /* @__PURE__ */ B(Fr, [["render", Qr], ["__scopeId", "data-v-aa81dbb8"]]), Jr = {
4160
+ const Xr = /* @__PURE__ */ B(Ur, [["render", Qr], ["__scopeId", "data-v-aa81dbb8"]]), Jr = {
4124
4161
  name: "WmSuggestionChips",
4125
4162
  props: {
4126
4163
  items: { type: Array, default: () => [] },
@@ -4143,14 +4180,14 @@ function ei(e, t, n, i, r, s) {
4143
4180
  key: s.batchKey,
4144
4181
  class: "wm-chips"
4145
4182
  }, [
4146
- (c(!0), u(I, null, F(n.items, (a, l) => (c(), u("button", {
4183
+ (c(!0), u(I, null, U(n.items, (a, l) => (c(), u("button", {
4147
4184
  key: l,
4148
4185
  type: "button",
4149
4186
  class: "wm-chip",
4150
4187
  style: z({ animationDelay: n.baseDelay + l * n.stepDelay + "ms" }),
4151
4188
  onClick: (p) => e.$emit("select", a)
4152
4189
  }, v(a.label), 13, Zr))), 128))
4153
- ])) : b("", !0);
4190
+ ])) : w("", !0);
4154
4191
  }
4155
4192
  const ti = /* @__PURE__ */ B(Jr, [["render", ei], ["__scopeId", "data-v-47ad8085"]]), ni = {
4156
4193
  name: "WmApprovalCard",
@@ -4213,7 +4250,7 @@ function di(e, t, n, i, r, s) {
4213
4250
  ]),
4214
4251
  o("div", ai, [
4215
4252
  o("div", oi, v(n.action), 1),
4216
- n.detail ? (c(), u("div", li, v(n.detail), 1)) : b("", !0)
4253
+ n.detail ? (c(), u("div", li, v(n.detail), 1)) : w("", !0)
4217
4254
  ])
4218
4255
  ]),
4219
4256
  o("div", ci, [
@@ -4222,13 +4259,13 @@ function di(e, t, n, i, r, s) {
4222
4259
  type: "button",
4223
4260
  class: "wm-approval__btn wm-approval__btn--neutral",
4224
4261
  onClick: t[0] || (t[0] = (l) => e.$emit("callback", s.rejectId))
4225
- }, v(s.rejectLabel), 1)) : b("", !0),
4262
+ }, v(s.rejectLabel), 1)) : w("", !0),
4226
4263
  s.approveId ? (c(), u("button", {
4227
4264
  key: 1,
4228
4265
  type: "button",
4229
4266
  class: "wm-approval__btn wm-approval__btn--primary",
4230
4267
  onClick: t[1] || (t[1] = (l) => e.$emit("callback", s.approveId))
4231
- }, v(s.approveLabel), 1)) : b("", !0)
4268
+ }, v(s.approveLabel), 1)) : w("", !0)
4232
4269
  ])
4233
4270
  ]);
4234
4271
  }
@@ -4328,7 +4365,7 @@ const mi = /* @__PURE__ */ new Set([
4328
4365
  }, fi = { class: "wm-form" }, _i = { class: "wm-form__head" }, gi = { class: "wm-form__icon" }, pi = { class: "wm-form__main" }, vi = { class: "wm-form__title" }, yi = {
4329
4366
  key: 0,
4330
4367
  class: "wm-form__detail"
4331
- }, bi = ["for"], wi = {
4368
+ }, wi = ["for"], bi = {
4332
4369
  key: 0,
4333
4370
  class: "wm-form__req",
4334
4371
  "aria-hidden": "true"
@@ -4348,11 +4385,11 @@ const mi = /* @__PURE__ */ new Set([
4348
4385
  key: 0,
4349
4386
  class: "wm-form__spinner",
4350
4387
  "aria-hidden": "true"
4351
- }, Ui = {
4388
+ }, Fi = {
4352
4389
  key: 2,
4353
4390
  class: "wm-form__doneLbl"
4354
4391
  };
4355
- function Fi(e, t, n, i, r, s) {
4392
+ function Ui(e, t, n, i, r, s) {
4356
4393
  const a = L("AIAvatar");
4357
4394
  return c(), u("div", fi, [
4358
4395
  o("div", _i, [
@@ -4365,14 +4402,14 @@ function Fi(e, t, n, i, r, s) {
4365
4402
  ]),
4366
4403
  o("div", pi, [
4367
4404
  o("div", vi, v(n.form.title || s.t("form.title")), 1),
4368
- n.form.description ? (c(), u("div", yi, v(n.form.description), 1)) : b("", !0)
4405
+ n.form.description ? (c(), u("div", yi, v(n.form.description), 1)) : w("", !0)
4369
4406
  ])
4370
4407
  ]),
4371
4408
  o("form", {
4372
4409
  class: "wm-form__body",
4373
4410
  onSubmit: t[0] || (t[0] = X((...l) => s.onSubmit && s.onSubmit(...l), ["prevent"]))
4374
4411
  }, [
4375
- (c(!0), u(I, null, F(s.normalizedFields, (l) => (c(), u("div", {
4412
+ (c(!0), u(I, null, U(s.normalizedFields, (l) => (c(), u("div", {
4376
4413
  key: l.key,
4377
4414
  class: "wm-form__field"
4378
4415
  }, [
@@ -4381,8 +4418,8 @@ function Fi(e, t, n, i, r, s) {
4381
4418
  class: "wm-form__label"
4382
4419
  }, [
4383
4420
  ge(v(l.label), 1),
4384
- l.required ? (c(), u("span", wi, "*")) : b("", !0)
4385
- ], 8, bi),
4421
+ l.required ? (c(), u("span", bi, "*")) : w("", !0)
4422
+ ], 8, wi),
4386
4423
  l.type === "text" ? K((c(), u("input", {
4387
4424
  key: 0,
4388
4425
  id: `wm-f-${r._uid}-${l.key}`,
@@ -4450,14 +4487,14 @@ function Fi(e, t, n, i, r, s) {
4450
4487
  disabled: n.readOnly || r.busy
4451
4488
  }, [
4452
4489
  o("option", Oi, v(l.placeholder || s.t("form.choose")), 1),
4453
- (c(!0), u(I, null, F(l.options, (p) => (c(), u("option", {
4490
+ (c(!0), u(I, null, U(l.options, (p) => (c(), u("option", {
4454
4491
  key: p.value,
4455
4492
  value: p.value
4456
4493
  }, v(p.label), 9, Ii))), 128))
4457
4494
  ], 8, xi)), [
4458
4495
  [ze, r.values[l.key]]
4459
4496
  ]) : l.type === "multiselect" ? (c(), u("div", Li, [
4460
- (c(!0), u(I, null, F(l.options, (p) => (c(), u("label", {
4497
+ (c(!0), u(I, null, U(l.options, (p) => (c(), u("label", {
4461
4498
  key: p.value,
4462
4499
  class: "wm-form__multiItem"
4463
4500
  }, [
@@ -4474,22 +4511,22 @@ function Fi(e, t, n, i, r, s) {
4474
4511
  }, null, 40, Bi),
4475
4512
  o("span", null, v(p.label), 1)
4476
4513
  ]))), 128))
4477
- ])) : b("", !0)
4514
+ ])) : w("", !0)
4478
4515
  ]))), 128)),
4479
- r.error ? (c(), u("div", Ei, v(r.error), 1)) : b("", !0),
4480
- n.readOnly ? (c(), u("div", Ui, v(s.t("form.responseSent")), 1)) : (c(), u("button", {
4516
+ r.error ? (c(), u("div", Ei, v(r.error), 1)) : w("", !0),
4517
+ n.readOnly ? (c(), u("div", Fi, v(s.t("form.responseSent")), 1)) : (c(), u("button", {
4481
4518
  key: 1,
4482
4519
  type: "submit",
4483
4520
  class: "wm-form__submit",
4484
4521
  disabled: r.busy
4485
4522
  }, [
4486
- r.busy ? (c(), u("span", Ni)) : b("", !0),
4523
+ r.busy ? (c(), u("span", Ni)) : w("", !0),
4487
4524
  o("span", null, v(r.busy ? s.t("common.sending") : n.form.submit_label || s.t("common.send")), 1)
4488
4525
  ], 8, Ri))
4489
4526
  ], 32)
4490
4527
  ]);
4491
4528
  }
4492
- const ji = /* @__PURE__ */ B(hi, [["render", Fi], ["__scopeId", "data-v-fe65cc56"]]), Pi = {
4529
+ const ji = /* @__PURE__ */ B(hi, [["render", Ui], ["__scopeId", "data-v-fe65cc56"]]), Pi = {
4493
4530
  name: "WmFeedback",
4494
4531
  inject: {
4495
4532
  // Translator shared by the Messenger shell; French fallback when
@@ -4551,7 +4588,7 @@ function Xi(e, t, n, i, r, s) {
4551
4588
  o("div", Hi, v(s.t("feedback.question")), 1),
4552
4589
  o("div", zi, v(s.t("feedback.subtitle")), 1),
4553
4590
  o("div", qi, [
4554
- (c(!0), u(I, null, F(s.options, (a) => (c(), u("button", {
4591
+ (c(!0), u(I, null, U(s.options, (a) => (c(), u("button", {
4555
4592
  key: a.v,
4556
4593
  type: "button",
4557
4594
  class: x(["wm-fb__opt", { "is-selected": r.sel === a.v }]),
@@ -4654,7 +4691,7 @@ function ma(e, t, n, i, r, s) {
4654
4691
  ])
4655
4692
  ], -1)),
4656
4693
  o("span", sa, v(s.t("moreMenu.editTitle")), 1)
4657
- ])) : b("", !0),
4694
+ ])) : w("", !0),
4658
4695
  n.canExport ? (c(), u("button", {
4659
4696
  key: 1,
4660
4697
  type: "button",
@@ -4678,9 +4715,9 @@ function ma(e, t, n, i, r, s) {
4678
4715
  ], -1)),
4679
4716
  o("span", ra, v(s.t("moreMenu.exportTranscript")), 1),
4680
4717
  t[9] || (t[9] = o("span", { class: "wm-mm__hint" }, ".txt", -1))
4681
- ])) : b("", !0)
4682
- ])) : b("", !0),
4683
- n.canRename || n.canExport ? (c(), u("div", ia)) : b("", !0),
4718
+ ])) : w("", !0)
4719
+ ])) : w("", !0),
4720
+ n.canRename || n.canExport ? (c(), u("div", ia)) : w("", !0),
4684
4721
  o("div", aa, [
4685
4722
  o("button", {
4686
4723
  type: "button",
@@ -4762,7 +4799,7 @@ function ma(e, t, n, i, r, s) {
4762
4799
  ])
4763
4800
  ], -1)),
4764
4801
  o("span", da, v(s.t("moreMenu.serviceStatus")), 1)
4765
- ])) : b("", !0),
4802
+ ])) : w("", !0),
4766
4803
  n.helpUrl ? (c(), u("button", {
4767
4804
  key: 1,
4768
4805
  type: "button",
@@ -4785,7 +4822,7 @@ function ma(e, t, n, i, r, s) {
4785
4822
  ])
4786
4823
  ], -1)),
4787
4824
  o("span", ua, v(s.t("moreMenu.helpCenter")), 1)
4788
- ])) : b("", !0)
4825
+ ])) : w("", !0)
4789
4826
  ])
4790
4827
  ])
4791
4828
  ]);
@@ -4836,7 +4873,7 @@ const ha = /* @__PURE__ */ B(Zi, [["render", ma], ["__scopeId", "data-v-76281e95
4836
4873
  class: "wm-dialog__card",
4837
4874
  role: "dialog",
4838
4875
  "aria-modal": "true"
4839
- }, pa = { class: "wm-dialog__head" }, va = { class: "wm-dialog__title" }, ya = ["aria-label"], ba = { class: "wm-dialog__body" }, wa = ["placeholder"], ka = { class: "wm-dialog__actions" }, Ca = ["disabled"];
4876
+ }, pa = { class: "wm-dialog__head" }, va = { class: "wm-dialog__title" }, ya = ["aria-label"], wa = { class: "wm-dialog__body" }, ba = ["placeholder"], ka = { class: "wm-dialog__actions" }, Ca = ["disabled"];
4840
4877
  function Aa(e, t, n, i, r, s) {
4841
4878
  return c(), u("div", _a, [
4842
4879
  o("div", {
@@ -4867,7 +4904,7 @@ function Aa(e, t, n, i, r, s) {
4867
4904
  ], -1)
4868
4905
  ])], 8, ya)
4869
4906
  ]),
4870
- o("div", ba, [
4907
+ o("div", wa, [
4871
4908
  K(o("input", {
4872
4909
  ref: "input",
4873
4910
  "onUpdate:modelValue": t[2] || (t[2] = (a) => r.value = a),
@@ -4879,7 +4916,7 @@ function Aa(e, t, n, i, r, s) {
4879
4916
  t[3] || (t[3] = ue(X((...a) => s.onSubmit && s.onSubmit(...a), ["prevent"]), ["enter"])),
4880
4917
  t[4] || (t[4] = ue(X((a) => e.$emit("close"), ["prevent"]), ["esc"]))
4881
4918
  ]
4882
- }, null, 40, wa), [
4919
+ }, null, 40, ba), [
4883
4920
  [ee, r.value]
4884
4921
  ])
4885
4922
  ]),
@@ -4902,7 +4939,7 @@ function Aa(e, t, n, i, r, s) {
4902
4939
  const Sa = /* @__PURE__ */ B(fa, [["render", Aa], ["__scopeId", "data-v-6d5f94a8"]]), Oe = "ww-messenger-tokens", Ma = {
4903
4940
  name: "Messenger",
4904
4941
  components: {
4905
- Launcher: Ft,
4942
+ Launcher: Ut,
4906
4943
  Header: cn,
4907
4944
  Onboarding: qn,
4908
4945
  MessageList: Lr,
@@ -5486,14 +5523,14 @@ const Sa = /* @__PURE__ */ B(fa, [["render", Aa], ["__scopeId", "data-v-6d5f94a8
5486
5523
  return;
5487
5524
  }
5488
5525
  try {
5489
- this.transport = we(
5526
+ this.transport = be(
5490
5527
  We({
5491
5528
  baseUrl: this.baseUrl,
5492
5529
  widgetId: this.widgetId,
5493
5530
  userId: this.userId,
5494
5531
  userHash: this.userHash
5495
5532
  })
5496
- ), this.store = we(Xe(this.transport)), this.hydrateNotifPref();
5533
+ ), this.store = be(Xe(this.transport)), this.hydrateNotifPref();
5497
5534
  const t = (e = this.context) == null ? void 0 : e.customer;
5498
5535
  t && typeof t == "object" && await this.store.applyCustomer(t), await this.store.start(), this.setupLiveReveal();
5499
5536
  } catch (t) {
@@ -5770,7 +5807,7 @@ const Sa = /* @__PURE__ */ B(fa, [["render", Aa], ["__scopeId", "data-v-6d5f94a8
5770
5807
  class: "wm-actionWait",
5771
5808
  role: "status",
5772
5809
  "aria-live": "polite"
5773
- }, Ua = { class: "wm-actionWait__lbl" }, Fa = {
5810
+ }, Fa = { class: "wm-actionWait__lbl" }, Ua = {
5774
5811
  key: 2,
5775
5812
  class: "wm-attached"
5776
5813
  }, ja = ["aria-label", "onClick"];
@@ -5785,16 +5822,20 @@ function Pa(e, t, n, i, r, s) {
5785
5822
  peeks: s.launcherPeeks,
5786
5823
  onOpen: s.openFromPeek,
5787
5824
  onDismiss: s.dismissPeek
5788
- }, null, 8, ["unread-count", "peeks", "onOpen", "onDismiss"])) : b("", !0),
5825
+ }, null, 8, ["unread-count", "peeks", "onOpen", "onDismiss"])) : w("", !0),
5789
5826
  r.isOpen || s.isEmbedded ? (c(), u("section", {
5790
5827
  key: 1,
5791
- class: x(["wm-panel", `wm-panel--${n.displayMode}`]),
5828
+ class: x([
5829
+ "wm-panel",
5830
+ `wm-panel--${n.displayMode}`,
5831
+ { "wm-panel--welcome": s.ready && !s.error && !s.currentConv }
5832
+ ]),
5792
5833
  style: z(r.floatHeight ? { "--wm-float-h": r.floatHeight + "px" } : null),
5793
5834
  role: "dialog",
5794
5835
  "aria-label": "Messenger"
5795
5836
  }, [
5796
5837
  !s.ready && !s.error ? (c(), u("div", Ta, [
5797
- s.isEmbedded ? b("", !0) : (c(), u("button", {
5838
+ s.isEmbedded ? w("", !0) : (c(), u("button", {
5798
5839
  key: 0,
5799
5840
  type: "button",
5800
5841
  class: "wm-loading__close",
@@ -5897,13 +5938,13 @@ function Pa(e, t, n, i, r, s) {
5897
5938
  items: s.suggestions,
5898
5939
  onSelect: s.onSuggestion
5899
5940
  }, null, 8, ["items", "onSelect"]))
5900
- ], 512)) : b("", !0),
5941
+ ], 512)) : w("", !0),
5901
5942
  s.actionInFlight ? (c(), u("div", Na, [
5902
5943
  t[8] || (t[8] = o("span", {
5903
5944
  class: "wm-actionWait__spinner",
5904
5945
  "aria-hidden": "true"
5905
5946
  }, null, -1)),
5906
- o("span", Ua, v(s.t("action.inProgress", {
5947
+ o("span", Fa, v(s.t("action.inProgress", {
5907
5948
  name: s.actionInFlightName
5908
5949
  })), 1)
5909
5950
  ])) : (c(), R(q, {
@@ -5930,16 +5971,16 @@ function Pa(e, t, n, i, r, s) {
5930
5971
  onSoundToggle: e.onSoundToggle,
5931
5972
  onBrowserNotifToggle: e.onBrowserNotifToggle,
5932
5973
  onAction: s.onMoreAction
5933
- }, null, 8, ["can-rename", "can-export", "sound-enabled", "browser-notif-enabled", "status-url", "help-url", "onSoundToggle", "onBrowserNotifToggle", "onAction"])) : b("", !0),
5974
+ }, null, 8, ["can-rename", "can-export", "sound-enabled", "browser-notif-enabled", "status-url", "help-url", "onSoundToggle", "onBrowserNotifToggle", "onAction"])) : w("", !0),
5934
5975
  r.renameDialogOpen && s.currentConv && !s.currentConv._draft ? (c(), R(P, {
5935
5976
  key: 1,
5936
5977
  "initial-value": s.currentConv.name || "",
5937
5978
  title: s.t("rename.dialogTitle"),
5938
5979
  onClose: t[3] || (t[3] = (N) => r.renameDialogOpen = !1),
5939
5980
  onSubmit: s.onRenameSubmit
5940
- }, null, 8, ["initial-value", "title", "onSubmit"])) : b("", !0),
5941
- r.pendingAttachments.length ? (c(), u("div", Fa, [
5942
- (c(!0), u(I, null, F(r.pendingAttachments, (N, H) => (c(), u("div", {
5981
+ }, null, 8, ["initial-value", "title", "onSubmit"])) : w("", !0),
5982
+ r.pendingAttachments.length ? (c(), u("div", Ua, [
5983
+ (c(!0), u(I, null, U(r.pendingAttachments, (N, H) => (c(), u("div", {
5943
5984
  key: H,
5944
5985
  class: "wm-attached__chip"
5945
5986
  }, [
@@ -5977,7 +6018,7 @@ function Pa(e, t, n, i, r, s) {
5977
6018
  ], -1)
5978
6019
  ])], 8, ja)
5979
6020
  ]))), 128))
5980
- ])) : b("", !0)
6021
+ ])) : w("", !0)
5981
6022
  ], 64)) : (c(), R(p, {
5982
6023
  key: 1,
5983
6024
  "welcome-message": s.widgetWelcomeMessage,
@@ -6003,12 +6044,12 @@ function Pa(e, t, n, i, r, s) {
6003
6044
  onSoundToggle: e.onSoundToggle,
6004
6045
  onBrowserNotifToggle: e.onBrowserNotifToggle,
6005
6046
  onAction: s.onMoreAction
6006
- }, null, 8, ["sound-enabled", "browser-notif-enabled", "status-url", "help-url", "onSoundToggle", "onBrowserNotifToggle", "onAction"])) : b("", !0)
6047
+ }, null, 8, ["sound-enabled", "browser-notif-enabled", "status-url", "help-url", "onSoundToggle", "onBrowserNotifToggle", "onAction"])) : w("", !0)
6007
6048
  ], 64))
6008
- ], 6)) : b("", !0)
6049
+ ], 6)) : w("", !0)
6009
6050
  ], 2);
6010
6051
  }
6011
- const za = /* @__PURE__ */ B(Ma, [["render", Pa], ["__scopeId", "data-v-ab81ed67"]]), qa = "0.4.12";
6052
+ const za = /* @__PURE__ */ B(Ma, [["render", Pa], ["__scopeId", "data-v-69c8f416"]]), qa = "0.4.14";
6012
6053
  export {
6013
6054
  le as AIAvatar,
6014
6055
  fe as AVATAR_COLORS,
@@ -6027,8 +6068,8 @@ export {
6027
6068
  ji as FormCard,
6028
6069
  cn as Header,
6029
6070
  Be as HumanAvatar,
6030
- Ft as Launcher,
6031
- be as MEDIA_RECORDER_SUPPORTED,
6071
+ Ut as Launcher,
6072
+ we as MEDIA_RECORDER_SUPPORTED,
6032
6073
  Lr as MessageList,
6033
6074
  za as Messenger,
6034
6075
  ha as MoreMenu,