@_solaris/messenger-widget 0.5.31 → 0.5.33

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
@@ -903,8 +903,6 @@ const Xe = `
903
903
  "onboarding.heroSub": `Posez-moi n'importe quelle question.
904
904
  Je réponds en quelques secondes.`,
905
905
  "onboarding.newMessage": "Nouveau message",
906
- "onboarding.statusInProgress": "En cours",
907
- "onboarding.resume": "Reprendre",
908
906
  // ── Composer ─────────────────────────────────────────────────────
909
907
  "composer.placeholder": "Écrivez votre message…",
910
908
  "composer.replyTo": "Répondre à {name}…",
@@ -1026,8 +1024,6 @@ Je réponds en quelques secondes.`,
1026
1024
  "onboarding.heroSub": `Ask me anything.
1027
1025
  I reply within seconds.`,
1028
1026
  "onboarding.newMessage": "New message",
1029
- "onboarding.statusInProgress": "In progress",
1030
- "onboarding.resume": "Resume",
1031
1027
  // ── Composer ─────────────────────────────────────────────────────
1032
1028
  "composer.placeholder": "Type your message…",
1033
1029
  "composer.replyTo": "Reply to {name}…",
@@ -2117,7 +2113,7 @@ function on(e, t, n, i, r, s) {
2117
2113
  ])
2118
2114
  ]);
2119
2115
  }
2120
- const ln = /* @__PURE__ */ N(Yt, [["render", on], ["__scopeId", "data-v-0da6fbcd"]]);
2116
+ const ln = /* @__PURE__ */ N(Yt, [["render", on], ["__scopeId", "data-v-925c9e94"]]);
2121
2117
  function Ne(e) {
2122
2118
  return String(e).replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
2123
2119
  }
@@ -2284,7 +2280,7 @@ const xe = {
2284
2280
  }
2285
2281
  }, mn = { class: "wm-onb" }, fn = { class: "wm-onb__hero" }, gn = { class: "wm-onb__hero-text" }, _n = { class: "wm-onb__title" }, pn = { class: "wm-onb__sub" }, vn = { class: "wm-onb__cta" }, yn = ["disabled"], wn = {
2286
2282
  key: 0,
2287
- class: "wm-onb__section wm-onb__section--card"
2283
+ class: "wm-onb__section"
2288
2284
  }, bn = { class: "wm-onb__section-title" }, kn = ["onClick"], Cn = { class: "wm-onb__card-icon" }, An = {
2289
2285
  width: "16",
2290
2286
  height: "16",
@@ -2300,18 +2296,15 @@ const xe = {
2300
2296
  class: "wm-onb__card-sub"
2301
2297
  }, On = {
2302
2298
  key: 1,
2303
- class: "wm-onb__section wm-onb__section--card"
2304
- }, Ln = { class: "wm-onb__section-title" }, In = { class: "wm-onb__search" }, En = ["placeholder", "aria-label"], Bn = { class: "wm-onb__list" }, Rn = { class: "wm-onb__thread-body" }, Nn = { class: "wm-onb__thread-status" }, Pn = { class: "wm-onb__thread-statusLabel" }, Fn = {
2299
+ class: "wm-onb__section"
2300
+ }, Ln = { class: "wm-onb__section-title" }, In = { class: "wm-onb__search" }, En = ["placeholder", "aria-label"], Bn = { class: "wm-onb__list" }, Rn = ["onClick"], Nn = ["aria-label"], Pn = { class: "wm-onb__thread-body" }, Fn = { class: "wm-onb__thread-title" }, Un = ["innerHTML"], Dn = { class: "wm-onb__thread-meta" }, jn = {
2305
2301
  key: 0,
2306
- class: "wm-onb__thread-statusSep"
2307
- }, Un = {
2308
- key: 1,
2309
2302
  class: "wm-onb__thread-time"
2310
- }, Dn = { class: "wm-onb__thread-title" }, jn = ["innerHTML"], Hn = ["onClick"], zn = {
2303
+ }, Hn = {
2311
2304
  key: 0,
2312
2305
  class: "wm-onb__empty"
2313
2306
  };
2314
- function qn(e, t, n, i, r, s) {
2307
+ function zn(e, t, n, i, r, s) {
2315
2308
  const a = R("AIAvatar");
2316
2309
  return c(), u("div", mn, [
2317
2310
  o("div", fn, [
@@ -2436,12 +2429,16 @@ function qn(e, t, n, i, r, s) {
2436
2429
  ])
2437
2430
  ]),
2438
2431
  o("div", Bn, [
2439
- (c(!0), u(B, null, D(s.filteredThreads, (l) => (c(), u("div", {
2432
+ (c(!0), u(B, null, D(s.filteredThreads, (l) => (c(), u("button", {
2440
2433
  key: l.id,
2441
- class: "wm-onb__thread"
2434
+ type: "button",
2435
+ class: "wm-onb__thread",
2436
+ onClick: (p) => e.$emit("resume", l)
2442
2437
  }, [
2443
- t[5] || (t[5] = o("span", { class: "wm-onb__thread-icon" }, [
2444
- o("svg", {
2438
+ o("span", {
2439
+ class: O(["wm-onb__thread-icon", { "wm-onb__thread-icon--inverted": !l.unread }])
2440
+ }, [
2441
+ t[5] || (t[5] = o("svg", {
2445
2442
  width: "18",
2446
2443
  height: "18",
2447
2444
  viewBox: "0 0 24 24",
@@ -2453,36 +2450,48 @@ function qn(e, t, n, i, r, s) {
2453
2450
  fill: "currentColor",
2454
2451
  opacity: "0.92"
2455
2452
  })
2456
- ])
2457
- ], -1)),
2458
- o("span", Rn, [
2459
- o("span", Nn, [
2460
- o("span", Pn, v(s.t("onboarding.statusInProgress")), 1),
2461
- s.formatTs(l._ts) ? (c(), u("span", Fn, "·")) : y("", !0),
2462
- s.formatTs(l._ts) ? (c(), u("span", Un, v(s.formatTs(l._ts)), 1)) : y("", !0)
2463
- ]),
2464
- o("span", Dn, v(l.title), 1),
2453
+ ], -1)),
2454
+ l.unread ? (c(), u("span", {
2455
+ key: 0,
2456
+ class: "wm-onb__thread-dot",
2457
+ "aria-label": s.t("onboarding.unread")
2458
+ }, null, 8, Nn)) : y("", !0)
2459
+ ], 2),
2460
+ o("span", Pn, [
2461
+ o("span", Fn, v(l.title), 1),
2465
2462
  o("span", {
2466
2463
  class: "wm-onb__thread-preview",
2467
2464
  innerHTML: s.renderPreview(l.preview)
2468
- }, null, 8, jn)
2465
+ }, null, 8, Un)
2469
2466
  ]),
2470
- o("button", {
2471
- type: "button",
2472
- class: "wm-onb__thread-resume",
2473
- onClick: (p) => e.$emit("resume", l)
2474
- }, v(s.t("onboarding.resume")), 9, Hn)
2475
- ]))), 128)),
2476
- s.filteredThreads.length ? y("", !0) : (c(), u("div", zn, v(s.t("onboarding.noResults", { query: r.query })), 1))
2467
+ o("span", Dn, [
2468
+ s.formatTs(l._ts) ? (c(), u("span", jn, v(s.formatTs(l._ts)), 1)) : y("", !0),
2469
+ t[6] || (t[6] = o("svg", {
2470
+ width: "14",
2471
+ height: "14",
2472
+ viewBox: "0 0 24 24",
2473
+ fill: "none",
2474
+ stroke: "currentColor",
2475
+ "stroke-width": "1.8",
2476
+ "stroke-linecap": "round",
2477
+ "stroke-linejoin": "round",
2478
+ class: "wm-onb__thread-chev",
2479
+ "aria-hidden": "true"
2480
+ }, [
2481
+ o("path", { d: "M5 12h14M13 5l7 7-7 7" })
2482
+ ], -1))
2483
+ ])
2484
+ ], 8, Rn))), 128)),
2485
+ s.filteredThreads.length ? y("", !0) : (c(), u("div", Hn, v(s.t("onboarding.noResults", { query: r.query })), 1))
2477
2486
  ])
2478
2487
  ])) : y("", !0)
2479
2488
  ]);
2480
2489
  }
2481
- const $n = /* @__PURE__ */ N(hn, [["render", qn], ["__scopeId", "data-v-a3b35a29"]]);
2482
- function Kn(e) {
2490
+ const qn = /* @__PURE__ */ N(hn, [["render", zn], ["__scopeId", "data-v-a85aae63"]]);
2491
+ function $n(e) {
2483
2492
  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();
2484
2493
  }
2485
- const Vn = {
2494
+ const Kn = {
2486
2495
  name: "WmActionResult",
2487
2496
  props: {
2488
2497
  state: { type: String, default: "success" },
@@ -2492,13 +2501,13 @@ const Vn = {
2492
2501
  },
2493
2502
  computed: {
2494
2503
  detailText() {
2495
- return Kn(this.detail);
2504
+ return $n(this.detail);
2496
2505
  }
2497
2506
  }
2498
- }, Wn = {
2507
+ }, Vn = {
2499
2508
  class: "wm-result__icon",
2500
2509
  "aria-hidden": "true"
2501
- }, Gn = {
2510
+ }, Wn = {
2502
2511
  key: 0,
2503
2512
  width: "11",
2504
2513
  height: "11",
@@ -2508,7 +2517,7 @@ const Vn = {
2508
2517
  "stroke-width": "2.8",
2509
2518
  "stroke-linecap": "round",
2510
2519
  "stroke-linejoin": "round"
2511
- }, Yn = {
2520
+ }, Gn = {
2512
2521
  key: 1,
2513
2522
  width: "11",
2514
2523
  height: "11",
@@ -2518,7 +2527,7 @@ const Vn = {
2518
2527
  "stroke-width": "2.6",
2519
2528
  "stroke-linecap": "round",
2520
2529
  "stroke-linejoin": "round"
2521
- }, Jn = {
2530
+ }, Yn = {
2522
2531
  key: 2,
2523
2532
  width: "11",
2524
2533
  height: "11",
@@ -2528,7 +2537,7 @@ const Vn = {
2528
2537
  "stroke-width": "2.4",
2529
2538
  "stroke-linecap": "round",
2530
2539
  "stroke-linejoin": "round"
2531
- }, Qn = {
2540
+ }, Jn = {
2532
2541
  key: 3,
2533
2542
  width: "12",
2534
2543
  height: "12",
@@ -2538,24 +2547,24 @@ const Vn = {
2538
2547
  "stroke-width": "2.2",
2539
2548
  "stroke-linecap": "round",
2540
2549
  "stroke-linejoin": "round"
2541
- }, Xn = { class: "wm-result__body" }, Zn = { class: "wm-result__label" }, es = { class: "wm-result__detail" };
2542
- function ts(e, t, n, i, r, s) {
2550
+ }, Qn = { class: "wm-result__body" }, Xn = { class: "wm-result__label" }, Zn = { class: "wm-result__detail" };
2551
+ function es(e, t, n, i, r, s) {
2543
2552
  return c(), u("div", {
2544
2553
  class: O(["wm-result", `wm-result--${n.state}`])
2545
2554
  }, [
2546
- o("span", Wn, [
2547
- n.state === "success" ? (c(), u("svg", Gn, [...t[0] || (t[0] = [
2555
+ o("span", Vn, [
2556
+ n.state === "success" ? (c(), u("svg", Wn, [...t[0] || (t[0] = [
2548
2557
  o("path", { d: "M20 6L9 17l-5-5" }, null, -1)
2549
- ])])) : n.state === "rejected" ? (c(), u("svg", Yn, [...t[1] || (t[1] = [
2558
+ ])])) : n.state === "rejected" ? (c(), u("svg", Gn, [...t[1] || (t[1] = [
2550
2559
  o("path", { d: "M18 6L6 18M6 6l12 12" }, null, -1)
2551
- ])])) : n.state === "awaiting" ? (c(), u("svg", Jn, [...t[2] || (t[2] = [
2560
+ ])])) : n.state === "awaiting" ? (c(), u("svg", Yn, [...t[2] || (t[2] = [
2552
2561
  o("circle", {
2553
2562
  cx: "12",
2554
2563
  cy: "12",
2555
2564
  r: "10"
2556
2565
  }, null, -1),
2557
2566
  o("polyline", { points: "12 7 12 12 15 14" }, null, -1)
2558
- ])])) : (c(), u("svg", Qn, [...t[3] || (t[3] = [
2567
+ ])])) : (c(), u("svg", Jn, [...t[3] || (t[3] = [
2559
2568
  o("path", { d: "M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z" }, null, -1),
2560
2569
  o("line", {
2561
2570
  x1: "12",
@@ -2571,19 +2580,19 @@ function ts(e, t, n, i, r, s) {
2571
2580
  }, null, -1)
2572
2581
  ])]))
2573
2582
  ]),
2574
- o("span", Xn, [
2575
- o("span", Zn, v(n.label), 1),
2583
+ o("span", Qn, [
2584
+ o("span", Xn, v(n.label), 1),
2576
2585
  s.detailText ? (c(), u(B, { key: 0 }, [
2577
2586
  t[4] || (t[4] = o("span", {
2578
2587
  class: "wm-result__sep",
2579
2588
  "aria-hidden": "true"
2580
2589
  }, " · ", -1)),
2581
- o("span", es, v(s.detailText), 1)
2590
+ o("span", Zn, v(s.detailText), 1)
2582
2591
  ], 64)) : y("", !0)
2583
2592
  ])
2584
2593
  ], 2);
2585
2594
  }
2586
- const ns = /* @__PURE__ */ N(Vn, [["render", ts], ["__scopeId", "data-v-7284acd0"]]), ss = {
2595
+ const ts = /* @__PURE__ */ N(Kn, [["render", es], ["__scopeId", "data-v-7284acd0"]]), ns = {
2587
2596
  name: "WmArtifactFormResponse",
2588
2597
  inject: {
2589
2598
  // Translator shared by the Messenger shell; French fallback when
@@ -2599,12 +2608,12 @@ const ns = /* @__PURE__ */ N(Vn, [["render", ts], ["__scopeId", "data-v-7284acd0
2599
2608
  return Array.isArray((e = this.data) == null ? void 0 : e.fields) ? this.data.fields : [];
2600
2609
  }
2601
2610
  }
2602
- }, rs = { class: "wm-art wm-art--formResponse" }, is = { class: "wm-art__head" }, as = { class: "wm-art__title" }, os = { class: "wm-art__badge wm-art__badge--success" }, ls = { class: "wm-art__body" }, cs = { class: "wm-art__fieldLabel" };
2603
- function ds(e, t, n, i, r, s) {
2604
- return c(), u("div", rs, [
2605
- o("div", is, [
2606
- o("div", as, v(n.data.title || s.t("form.title")), 1),
2607
- o("span", os, [
2611
+ }, ss = { class: "wm-art wm-art--formResponse" }, rs = { class: "wm-art__head" }, is = { class: "wm-art__title" }, as = { class: "wm-art__badge wm-art__badge--success" }, os = { class: "wm-art__body" }, ls = { class: "wm-art__fieldLabel" };
2612
+ function cs(e, t, n, i, r, s) {
2613
+ return c(), u("div", ss, [
2614
+ o("div", rs, [
2615
+ o("div", is, v(n.data.title || s.t("form.title")), 1),
2616
+ o("span", as, [
2608
2617
  t[0] || (t[0] = o("svg", {
2609
2618
  width: "11",
2610
2619
  height: "11",
@@ -2621,12 +2630,12 @@ function ds(e, t, n, i, r, s) {
2621
2630
  ve(" " + v(s.t("form.sent")), 1)
2622
2631
  ])
2623
2632
  ]),
2624
- o("div", ls, [
2633
+ o("div", os, [
2625
2634
  (c(!0), u(B, null, D(s.fields, (a, l) => (c(), u("div", {
2626
2635
  key: l,
2627
2636
  class: "wm-art__field"
2628
2637
  }, [
2629
- o("div", cs, v(a.label), 1),
2638
+ o("div", ls, v(a.label), 1),
2630
2639
  o("div", {
2631
2640
  class: O([
2632
2641
  "wm-art__fieldValue",
@@ -2637,7 +2646,7 @@ function ds(e, t, n, i, r, s) {
2637
2646
  ])
2638
2647
  ]);
2639
2648
  }
2640
- const us = /* @__PURE__ */ N(ss, [["render", ds], ["__scopeId", "data-v-713aecf1"]]), hs = {
2649
+ const ds = /* @__PURE__ */ N(ns, [["render", cs], ["__scopeId", "data-v-713aecf1"]]), us = {
2641
2650
  name: "WmArtifactInfoCard",
2642
2651
  props: {
2643
2652
  data: { type: Object, required: !0 }
@@ -2652,32 +2661,32 @@ const us = /* @__PURE__ */ N(ss, [["render", ds], ["__scopeId", "data-v-713aecf1
2652
2661
  return !!((e = this.data) != null && e.body) || this.fields.length > 0;
2653
2662
  }
2654
2663
  }
2655
- }, ms = { class: "wm-art wm-art--infoCard" }, fs = {
2664
+ }, hs = { class: "wm-art wm-art--infoCard" }, ms = {
2656
2665
  key: 0,
2657
2666
  class: "wm-art__image"
2658
- }, gs = ["src", "alt"], _s = { class: "wm-art__head" }, ps = { class: "wm-art__headMain" }, vs = { class: "wm-art__title" }, ys = {
2667
+ }, fs = ["src", "alt"], gs = { class: "wm-art__head" }, _s = { class: "wm-art__headMain" }, ps = { class: "wm-art__title" }, vs = {
2659
2668
  key: 0,
2660
2669
  class: "wm-art__subtitle"
2661
- }, ws = {
2670
+ }, ys = {
2662
2671
  key: 1,
2663
2672
  class: "wm-art__body"
2664
- }, bs = {
2673
+ }, ws = {
2665
2674
  key: 0,
2666
2675
  class: "wm-art__text"
2667
- }, ks = { class: "wm-art__fieldLabel" };
2668
- function Cs(e, t, n, i, r, s) {
2669
- return c(), u("div", ms, [
2670
- n.data.image_url ? (c(), u("figure", fs, [
2676
+ }, bs = { class: "wm-art__fieldLabel" };
2677
+ function ks(e, t, n, i, r, s) {
2678
+ return c(), u("div", hs, [
2679
+ n.data.image_url ? (c(), u("figure", ms, [
2671
2680
  o("img", {
2672
2681
  src: n.data.image_url,
2673
2682
  alt: n.data.title || "",
2674
2683
  loading: "lazy"
2675
- }, null, 8, gs)
2684
+ }, null, 8, fs)
2676
2685
  ])) : y("", !0),
2677
- o("div", _s, [
2678
- o("div", ps, [
2679
- o("div", vs, v(n.data.title), 1),
2680
- n.data.subtitle ? (c(), u("div", ys, v(n.data.subtitle), 1)) : y("", !0)
2686
+ o("div", gs, [
2687
+ o("div", _s, [
2688
+ o("div", ps, v(n.data.title), 1),
2689
+ n.data.subtitle ? (c(), u("div", vs, v(n.data.subtitle), 1)) : y("", !0)
2681
2690
  ]),
2682
2691
  n.data.badge && n.data.badge.label ? (c(), u("span", {
2683
2692
  key: 0,
@@ -2687,13 +2696,13 @@ function Cs(e, t, n, i, r, s) {
2687
2696
  ])
2688
2697
  }, v(n.data.badge.label), 3)) : y("", !0)
2689
2698
  ]),
2690
- s.hasBody ? (c(), u("div", ws, [
2691
- n.data.body ? (c(), u("div", bs, v(n.data.body), 1)) : y("", !0),
2699
+ s.hasBody ? (c(), u("div", ys, [
2700
+ n.data.body ? (c(), u("div", ws, v(n.data.body), 1)) : y("", !0),
2692
2701
  s.fields.length ? (c(!0), u(B, { key: 1 }, D(s.fields, (a, l) => (c(), u("div", {
2693
2702
  key: l,
2694
2703
  class: "wm-art__field"
2695
2704
  }, [
2696
- o("div", ks, v(a.label), 1),
2705
+ o("div", bs, v(a.label), 1),
2697
2706
  o("div", {
2698
2707
  class: O([
2699
2708
  "wm-art__fieldValue",
@@ -2704,8 +2713,8 @@ function Cs(e, t, n, i, r, s) {
2704
2713
  ])) : y("", !0)
2705
2714
  ]);
2706
2715
  }
2707
- const As = /* @__PURE__ */ N(hs, [["render", Cs], ["__scopeId", "data-v-7eae0e4a"]]);
2708
- function Ss(e, t, n) {
2716
+ const Cs = /* @__PURE__ */ N(us, [["render", ks], ["__scopeId", "data-v-7eae0e4a"]]);
2717
+ function As(e, t, n) {
2709
2718
  if (!e) return "";
2710
2719
  const i = new Date(e);
2711
2720
  if (Number.isNaN(i.getTime())) return e;
@@ -2719,7 +2728,7 @@ function Ss(e, t, n) {
2719
2728
  });
2720
2729
  return `${r}${n}${s}`;
2721
2730
  }
2722
- const Ms = {
2731
+ const Ss = {
2723
2732
  name: "WmArtifactTicket",
2724
2733
  inject: {
2725
2734
  // Translator + resolved-language getter shared by the Messenger
@@ -2737,7 +2746,7 @@ const Ms = {
2737
2746
  },
2738
2747
  formattedDate() {
2739
2748
  var e;
2740
- return Ss(
2749
+ return As(
2741
2750
  (e = this.data) == null ? void 0 : e.created_at,
2742
2751
  re(this.wmLocale()),
2743
2752
  this.t("ticket.dateAt")
@@ -2765,13 +2774,13 @@ const Ms = {
2765
2774
  return /high|haute|élev|elev|critic|critiq|urgent/.test(t) ? 3 : /low|basse|faible|minor/.test(t) ? 1 : 2;
2766
2775
  }
2767
2776
  }
2768
- }, Ts = { class: "wm-art wm-art--ticket" }, xs = { class: "wm-art__head wm-tk__head" }, Os = { class: "wm-art__title wm-tk__title" }, Ls = { class: "wm-tk__sub" }, Is = { class: "wm-tk__ref" }, Es = {
2777
+ }, Ms = { class: "wm-art wm-art--ticket" }, Ts = { class: "wm-art__head wm-tk__head" }, xs = { class: "wm-art__title wm-tk__title" }, Os = { class: "wm-tk__sub" }, Ls = { class: "wm-tk__ref" }, Is = {
2769
2778
  key: 0,
2770
2779
  class: "wm-tk__text"
2771
- }, Bs = {
2780
+ }, Es = {
2772
2781
  key: 0,
2773
2782
  class: "wm-art__body"
2774
- }, Rs = { class: "wm-art__fieldLabel" }, Ns = ["data-level"], Ps = {
2783
+ }, Bs = { class: "wm-art__fieldLabel" }, Rs = ["data-level"], Ns = {
2775
2784
  key: 1,
2776
2785
  class: "wm-tk__date",
2777
2786
  width: "12",
@@ -2783,16 +2792,16 @@ const Ms = {
2783
2792
  "stroke-linecap": "round",
2784
2793
  "stroke-linejoin": "round",
2785
2794
  "aria-hidden": "true"
2786
- }, Fs = {
2795
+ }, Ps = {
2787
2796
  key: 1,
2788
2797
  class: "wm-art__footer wm-tk__footer"
2789
2798
  };
2790
- function Us(e, t, n, i, r, s) {
2791
- return c(), u("div", Ts, [
2792
- o("div", xs, [
2793
- o("div", Os, v(n.data.title), 1),
2794
- o("div", Ls, [
2795
- o("div", Is, [
2799
+ function Fs(e, t, n, i, r, s) {
2800
+ return c(), u("div", Ms, [
2801
+ o("div", Ts, [
2802
+ o("div", xs, v(n.data.title), 1),
2803
+ o("div", Os, [
2804
+ o("div", Ls, [
2796
2805
  t[0] || (t[0] = o("svg", {
2797
2806
  width: "11",
2798
2807
  height: "11",
@@ -2823,14 +2832,14 @@ function Us(e, t, n, i, r, s) {
2823
2832
  ve(" " + v(n.data.status.label), 1)
2824
2833
  ], 2)
2825
2834
  ]),
2826
- n.data.body ? (c(), u("div", Es, v(n.data.body), 1)) : y("", !0)
2835
+ n.data.body ? (c(), u("div", Is, v(n.data.body), 1)) : y("", !0)
2827
2836
  ]),
2828
- s.fields.length ? (c(), u("div", Bs, [
2837
+ s.fields.length ? (c(), u("div", Es, [
2829
2838
  (c(!0), u(B, null, D(s.fields, (a, l) => (c(), u("div", {
2830
2839
  key: l,
2831
2840
  class: "wm-art__field"
2832
2841
  }, [
2833
- o("div", Rs, v(a.label), 1),
2842
+ o("div", Bs, v(a.label), 1),
2834
2843
  o("div", {
2835
2844
  class: O([
2836
2845
  "wm-art__fieldValue",
@@ -2867,7 +2876,7 @@ function Us(e, t, n, i, r, s) {
2867
2876
  height: "9",
2868
2877
  rx: "0.5"
2869
2878
  }, null, -1)
2870
- ])], 8, Ns)) : s.isDate(a.label) ? (c(), u("svg", Ps, [...t[3] || (t[3] = [
2879
+ ])], 8, Rs)) : s.isDate(a.label) ? (c(), u("svg", Ns, [...t[3] || (t[3] = [
2871
2880
  o("rect", {
2872
2881
  x: "3",
2873
2882
  y: "4",
@@ -2881,7 +2890,7 @@ function Us(e, t, n, i, r, s) {
2881
2890
  ], 2)
2882
2891
  ]))), 128))
2883
2892
  ])) : y("", !0),
2884
- n.data.created_at ? (c(), u("div", Fs, [
2893
+ n.data.created_at ? (c(), u("div", Ps, [
2885
2894
  t[4] || (t[4] = o("svg", {
2886
2895
  width: "11",
2887
2896
  height: "11",
@@ -2906,11 +2915,11 @@ function Us(e, t, n, i, r, s) {
2906
2915
  ])) : y("", !0)
2907
2916
  ]);
2908
2917
  }
2909
- const Ds = /* @__PURE__ */ N(Ms, [["render", Us], ["__scopeId", "data-v-5f30c914"]]), js = {
2910
- form_response: us,
2911
- info_card: As,
2912
- ticket: Ds
2913
- }, Hs = {
2918
+ const Us = /* @__PURE__ */ N(Ss, [["render", Fs], ["__scopeId", "data-v-5f30c914"]]), Ds = {
2919
+ form_response: ds,
2920
+ info_card: Cs,
2921
+ ticket: Us
2922
+ }, js = {
2914
2923
  name: "WmArtifactRenderer",
2915
2924
  props: {
2916
2925
  // Forme : { kind: string, data: any } (le `data` est validé
@@ -2921,17 +2930,17 @@ const Ds = /* @__PURE__ */ N(Ms, [["render", Us], ["__scopeId", "data-v-5f30c914
2921
2930
  component() {
2922
2931
  var t;
2923
2932
  const e = (t = this.artifact) == null ? void 0 : t.kind;
2924
- return e && js[e] || null;
2933
+ return e && Ds[e] || null;
2925
2934
  }
2926
2935
  }
2927
2936
  };
2928
- function zs(e, t, n, i, r, s) {
2937
+ function Hs(e, t, n, i, r, s) {
2929
2938
  return s.component ? (c(), F(De(s.component), {
2930
2939
  key: 0,
2931
2940
  data: n.artifact.data
2932
2941
  }, null, 8, ["data"])) : y("", !0);
2933
2942
  }
2934
- const qs = /* @__PURE__ */ N(Hs, [["render", zs]]), $s = {
2943
+ const zs = /* @__PURE__ */ N(js, [["render", Hs]]), qs = {
2935
2944
  name: "WmAttachmentPreview",
2936
2945
  inject: {
2937
2946
  signAttachmentFn: { default: null },
@@ -2999,15 +3008,15 @@ const qs = /* @__PURE__ */ N(Hs, [["render", zs]]), $s = {
2999
3008
  this.safeHref === "#" && e.preventDefault();
3000
3009
  }
3001
3010
  }
3002
- }, Ks = ["href"], Vs = ["src", "alt"], Ws = ["src"], Gs = ["src"], Ys = ["href", "download"], Js = { class: "wm-att__main" }, Qs = { class: "wm-att__name" }, Xs = {
3011
+ }, $s = ["href"], Ks = ["src", "alt"], Vs = ["src"], Ws = ["src"], Gs = ["href", "download"], Ys = { class: "wm-att__main" }, Js = { class: "wm-att__name" }, Qs = {
3003
3012
  key: 0,
3004
3013
  class: "wm-att__meta"
3005
- }, Zs = {
3014
+ }, Xs = {
3006
3015
  key: 0,
3007
3016
  class: "wm-att__spin",
3008
3017
  "aria-hidden": "true"
3009
3018
  };
3010
- function er(e, t, n, i, r, s) {
3019
+ function Zs(e, t, n, i, r, s) {
3011
3020
  return c(), u("div", {
3012
3021
  class: O(["wm-att", ["wm-att--" + (s.kind || "file")]])
3013
3022
  }, [
@@ -3022,18 +3031,18 @@ function er(e, t, n, i, r, s) {
3022
3031
  src: r.url,
3023
3032
  alt: s.displayName,
3024
3033
  loading: "lazy"
3025
- }, null, 8, Vs)
3026
- ], 8, Ks)) : s.kind === "audio" && r.url ? (c(), u("audio", {
3034
+ }, null, 8, Ks)
3035
+ ], 8, $s)) : s.kind === "audio" && r.url ? (c(), u("audio", {
3027
3036
  key: 1,
3028
3037
  src: r.url,
3029
3038
  controls: "",
3030
3039
  preload: "metadata"
3031
- }, null, 8, Ws)) : s.kind === "video" && r.url ? (c(), u("video", {
3040
+ }, null, 8, Vs)) : s.kind === "video" && r.url ? (c(), u("video", {
3032
3041
  key: 2,
3033
3042
  src: r.url,
3034
3043
  controls: "",
3035
3044
  preload: "metadata"
3036
- }, null, 8, Gs)) : (c(), u("a", {
3045
+ }, null, 8, Ws)) : (c(), u("a", {
3037
3046
  key: 3,
3038
3047
  class: "wm-att__file",
3039
3048
  href: s.safeHref,
@@ -3058,15 +3067,15 @@ function er(e, t, n, i, r, s) {
3058
3067
  o("path", { d: "M14 2v6h6" })
3059
3068
  ])
3060
3069
  ], -1)),
3061
- o("span", Js, [
3062
- o("span", Qs, v(s.displayName), 1),
3063
- s.sizeLabel ? (c(), u("span", Xs, v(s.sizeLabel), 1)) : y("", !0)
3070
+ o("span", Ys, [
3071
+ o("span", Js, v(s.displayName), 1),
3072
+ s.sizeLabel ? (c(), u("span", Qs, v(s.sizeLabel), 1)) : y("", !0)
3064
3073
  ]),
3065
- r.loading ? (c(), u("span", Zs)) : y("", !0)
3066
- ], 8, Ys))
3074
+ r.loading ? (c(), u("span", Xs)) : y("", !0)
3075
+ ], 8, Gs))
3067
3076
  ], 2);
3068
3077
  }
3069
- const tr = /* @__PURE__ */ N($s, [["render", er], ["__scopeId", "data-v-0c877a62"]]), nr = {
3078
+ const er = /* @__PURE__ */ N(qs, [["render", Zs], ["__scopeId", "data-v-0c877a62"]]), tr = {
3070
3079
  name: "WmBubble",
3071
3080
  props: {
3072
3081
  role: { type: String, default: "ai" },
@@ -3078,45 +3087,45 @@ const tr = /* @__PURE__ */ N($s, [["render", er], ["__scopeId", "data-v-0c877a62
3078
3087
  return un(this.text);
3079
3088
  }
3080
3089
  }
3081
- }, sr = ["innerHTML"];
3082
- function rr(e, t, n, i, r, s) {
3090
+ }, nr = ["innerHTML"];
3091
+ function sr(e, t, n, i, r, s) {
3083
3092
  return c(), u("div", {
3084
3093
  class: O(["wm-bubble", "wm-bubble--" + n.role])
3085
3094
  }, [
3086
3095
  je(e.$slots, "default", {}, () => [
3087
- o("span", { innerHTML: s.rendered }, null, 8, sr)
3096
+ o("span", { innerHTML: s.rendered }, null, 8, nr)
3088
3097
  ], !0)
3089
3098
  ], 2);
3090
3099
  }
3091
- const ir = /* @__PURE__ */ N(nr, [["render", rr], ["__scopeId", "data-v-7ab13147"]]), ar = { name: "WmTyping" }, or = { class: "wm-typing" };
3092
- function lr(e, t, n, i, r, s) {
3093
- return c(), u("div", or, [...t[0] || (t[0] = [
3100
+ const rr = /* @__PURE__ */ N(tr, [["render", sr], ["__scopeId", "data-v-7ab13147"]]), ir = { name: "WmTyping" }, ar = { class: "wm-typing" };
3101
+ function or(e, t, n, i, r, s) {
3102
+ return c(), u("div", ar, [...t[0] || (t[0] = [
3094
3103
  o("span", { style: { "animation-delay": "0s" } }, null, -1),
3095
3104
  o("span", { style: { "animation-delay": "0.2s" } }, null, -1),
3096
3105
  o("span", { style: { "animation-delay": "0.4s" } }, null, -1)
3097
3106
  ])]);
3098
3107
  }
3099
- const cr = /* @__PURE__ */ N(ar, [["render", lr], ["__scopeId", "data-v-df2447fd"]]);
3108
+ const lr = /* @__PURE__ */ N(ir, [["render", or], ["__scopeId", "data-v-df2447fd"]]);
3100
3109
  function Q(e) {
3101
3110
  return e ? e.client_msg_id || e.id : "";
3102
3111
  }
3103
- const dr = {
3112
+ const cr = {
3104
3113
  transferred_to_human: "system.transferredToHuman",
3105
3114
  assigned: "system.assigned",
3106
3115
  unassigned: "system.unassigned",
3107
3116
  resolved: "system.resolved",
3108
3117
  reopened: "system.reopened",
3109
3118
  idle: "system.idle"
3110
- }, ur = 80, hr = 200, mr = {
3119
+ }, dr = 80, ur = 200, hr = {
3111
3120
  name: "WmMessageList",
3112
3121
  components: {
3113
3122
  AIAvatar: le,
3114
3123
  HumanAvatar: Re,
3115
- Bubble: ir,
3116
- Typing: cr,
3117
- ActionResult: ns,
3118
- AttachmentPreview: tr,
3119
- ArtifactRenderer: qs
3124
+ Bubble: rr,
3125
+ Typing: lr,
3126
+ ActionResult: ts,
3127
+ AttachmentPreview: er,
3128
+ ArtifactRenderer: zs
3120
3129
  },
3121
3130
  inject: {
3122
3131
  // Translator + resolved-language getter shared by the Messenger
@@ -3306,11 +3315,11 @@ const dr = {
3306
3315
  return `g-${n}`;
3307
3316
  },
3308
3317
  isAtBottom(e) {
3309
- return e.scrollHeight - e.scrollTop - e.clientHeight <= ur;
3318
+ return e.scrollHeight - e.scrollTop - e.clientHeight <= dr;
3310
3319
  },
3311
3320
  onScroll() {
3312
3321
  const e = this.$refs.scrollEl;
3313
- e && (this.showScrollDown = !this.isAtBottom(e), !(this.loadingMore || !this.hasMore) && (this._pendingLoadMore || e.scrollTop <= hr && (this._pendingLoadMore = !0, this.$emit("load-more"))));
3322
+ e && (this.showScrollDown = !this.isAtBottom(e), !(this.loadingMore || !this.hasMore) && (this._pendingLoadMore || e.scrollTop <= ur && (this._pendingLoadMore = !0, this.$emit("load-more"))));
3314
3323
  },
3315
3324
  // Capture pre-patch scroll state and restore it on the next tick.
3316
3325
  //
@@ -3648,7 +3657,7 @@ const dr = {
3648
3657
  },
3649
3658
  systemLabel(e) {
3650
3659
  var r, s, a;
3651
- const t = (r = e == null ? void 0 : e.payload) == null ? void 0 : r.event, n = dr[t], i = ((s = e == null ? void 0 : e.metadata) == null ? void 0 : s.agent_name) || ((a = e == null ? void 0 : e.author) == null ? void 0 : a.name) || this.t("messageList.anAgent");
3660
+ const t = (r = e == null ? void 0 : e.payload) == null ? void 0 : r.event, n = cr[t], i = ((s = e == null ? void 0 : e.metadata) == null ? void 0 : s.agent_name) || ((a = e == null ? void 0 : e.author) == null ? void 0 : a.name) || this.t("messageList.anAgent");
3652
3661
  return n ? this.t(n, { name: i }) : (e == null ? void 0 : e.text_md) || this.t("messageList.conversationUpdate");
3653
3662
  },
3654
3663
  scrollToBottom() {
@@ -3663,74 +3672,74 @@ const dr = {
3663
3672
  e && (typeof e.scrollTo == "function" ? e.scrollTo({ top: e.scrollHeight, behavior: "smooth" }) : e.scrollTop = e.scrollHeight, this.showScrollDown = !1);
3664
3673
  }
3665
3674
  }
3666
- }, fr = { class: "wm-list__wrap" }, gr = {
3675
+ }, mr = { class: "wm-list__wrap" }, fr = {
3667
3676
  key: 0,
3668
3677
  class: "wm-list__loadMore",
3669
3678
  role: "status",
3670
3679
  "aria-live": "polite"
3671
- }, _r = { class: "wm-list__loadMore-lbl" }, pr = {
3680
+ }, gr = { class: "wm-list__loadMore-lbl" }, _r = {
3672
3681
  key: 1,
3673
3682
  class: "wm-list__historyEnd"
3674
- }, vr = {
3683
+ }, pr = {
3675
3684
  key: 2,
3676
3685
  class: "wm-list__sep"
3677
- }, yr = { class: "wm-list__sep-label" }, wr = {
3686
+ }, vr = { class: "wm-list__sep-label" }, yr = {
3678
3687
  key: 0,
3679
3688
  class: "wm-list__sep wm-list__sep--unread"
3680
- }, br = { class: "wm-list__sep-label wm-list__sep-label--unread" }, kr = {
3689
+ }, wr = { class: "wm-list__sep-label wm-list__sep-label--unread" }, br = {
3681
3690
  key: 0,
3682
3691
  class: "wm-list__sysep"
3683
- }, Cr = { class: "wm-list__sysep-label" }, Ar = ["data-row-key", "onPointerdown"], Sr = {
3692
+ }, kr = { class: "wm-list__sysep-label" }, Cr = ["data-row-key", "onPointerdown"], Ar = {
3684
3693
  key: 0,
3685
3694
  class: "wm-list__avatarSlot"
3686
- }, Mr = {
3695
+ }, Sr = {
3687
3696
  key: 5,
3688
3697
  class: "wm-list__body"
3689
- }, Tr = { key: 0 }, xr = {
3698
+ }, Mr = { key: 0 }, Tr = {
3690
3699
  key: 1,
3691
3700
  "aria-hidden": "true"
3692
- }, Or = { key: 2 }, Lr = { key: 0 }, Ir = {
3701
+ }, xr = { key: 2 }, Or = { key: 0 }, Lr = {
3693
3702
  key: 1,
3694
3703
  "aria-hidden": "true"
3695
- }, Er = { key: 2 }, Br = {
3704
+ }, Ir = { key: 2 }, Er = {
3696
3705
  key: 3,
3697
3706
  class: "wm-list__row wm-list__row--ai fade-up"
3698
- }, Rr = { class: "wm-list__avatarSlot" }, Nr = ["aria-label", "title"];
3699
- function Pr(e, t, n, i, r, s) {
3707
+ }, Br = { class: "wm-list__avatarSlot" }, Rr = ["aria-label", "title"];
3708
+ function Nr(e, t, n, i, r, s) {
3700
3709
  const a = R("AIAvatar"), l = R("HumanAvatar"), p = R("ActionResult"), k = R("ArtifactRenderer"), b = R("Bubble"), T = R("AttachmentPreview"), E = R("Typing");
3701
- return c(), u("div", fr, [
3710
+ return c(), u("div", mr, [
3702
3711
  o("div", {
3703
3712
  ref: "scrollEl",
3704
3713
  class: O(["wm-list", { "wm-list--silent": r.silentFades }]),
3705
3714
  onScrollPassive: t[4] || (t[4] = (...A) => s.onScroll && s.onScroll(...A))
3706
3715
  }, [
3707
- n.loadingMore ? (c(), u("div", gr, [
3716
+ n.loadingMore ? (c(), u("div", fr, [
3708
3717
  t[6] || (t[6] = o("span", {
3709
3718
  class: "wm-list__loadMore-spinner",
3710
3719
  "aria-hidden": "true"
3711
3720
  }, null, -1)),
3712
- o("span", _r, v(s.t("messageList.loadingHistory")), 1)
3713
- ])) : s.historyExhausted ? (c(), u("div", pr, v(s.t("messageList.conversationStart")), 1)) : y("", !0),
3714
- n.dateLabel ? (c(), u("div", vr, [
3721
+ o("span", gr, v(s.t("messageList.loadingHistory")), 1)
3722
+ ])) : s.historyExhausted ? (c(), u("div", _r, v(s.t("messageList.conversationStart")), 1)) : y("", !0),
3723
+ n.dateLabel ? (c(), u("div", pr, [
3715
3724
  t[7] || (t[7] = o("div", { class: "wm-list__line" }, null, -1)),
3716
- o("span", yr, v(n.dateLabel), 1),
3725
+ o("span", vr, v(n.dateLabel), 1),
3717
3726
  t[8] || (t[8] = o("div", { class: "wm-list__line" }, null, -1))
3718
3727
  ])) : y("", !0),
3719
3728
  (c(!0), u(B, null, D(s.groups, (A, H) => (c(), u(B, {
3720
3729
  key: A.key
3721
3730
  }, [
3722
- A.key === s.unreadGroupKey ? (c(), u("div", wr, [
3731
+ A.key === s.unreadGroupKey ? (c(), u("div", yr, [
3723
3732
  t[9] || (t[9] = o("div", { class: "wm-list__line wm-list__line--unread" }, null, -1)),
3724
- o("span", br, v(s.t("messageList.unread")), 1),
3733
+ o("span", wr, v(s.t("messageList.unread")), 1),
3725
3734
  t[10] || (t[10] = o("div", { class: "wm-list__line wm-list__line--unread" }, null, -1))
3726
3735
  ])) : y("", !0),
3727
3736
  A.role === "system" || A.items.length ? (c(), u("div", {
3728
3737
  key: 1,
3729
3738
  class: O(["wm-list__group", "wm-list__group--" + A.role])
3730
3739
  }, [
3731
- A.role === "system" ? (c(), u("div", kr, [
3740
+ A.role === "system" ? (c(), u("div", br, [
3732
3741
  t[11] || (t[11] = o("div", { class: "wm-list__line wm-list__line--strong" }, null, -1)),
3733
- o("span", Cr, v(A.systemLabel), 1),
3742
+ o("span", kr, v(A.systemLabel), 1),
3734
3743
  t[12] || (t[12] = o("div", { class: "wm-list__line wm-list__line--strong" }, null, -1))
3735
3744
  ])) : (c(), u(B, { key: 1 }, [
3736
3745
  (c(!0), u(B, null, D(A.items, (S, P) => (c(), u(B, {
@@ -3753,7 +3762,7 @@ function Pr(e, t, n, i, r, s) {
3753
3762
  onContextmenu: t[3] || (t[3] = G(() => {
3754
3763
  }, ["prevent"]))
3755
3764
  }, [
3756
- A.role !== "user" ? (c(), u("div", Sr, [
3765
+ A.role !== "user" ? (c(), u("div", Ar, [
3757
3766
  P === A.items.length - 1 ? (c(), u(B, { key: 0 }, [
3758
3767
  A.role === "ai" ? (c(), F(a, {
3759
3768
  key: 0,
@@ -3786,7 +3795,7 @@ function Pr(e, t, n, i, r, s) {
3786
3795
  }, null, 8, ["artifact"])) : S.renderAs === "artifact" ? (c(), F(k, {
3787
3796
  key: 4,
3788
3797
  artifact: s.artifactOf(S.message)
3789
- }, null, 8, ["artifact"])) : (c(), u("div", Mr, [
3798
+ }, null, 8, ["artifact"])) : (c(), u("div", Sr, [
3790
3799
  S.message.text_md ? (c(), F(b, {
3791
3800
  key: 0,
3792
3801
  role: A.role,
@@ -3806,29 +3815,29 @@ function Pr(e, t, n, i, r, s) {
3806
3815
  }, null, 8, ["attachment"]))), 128))
3807
3816
  ], 2)) : y("", !0)
3808
3817
  ]))
3809
- ], 46, Ar),
3818
+ ], 46, Cr),
3810
3819
  P < A.items.length - 1 && r.pressedItemKey === `${s.messageKey(S.message)}-${S.partKey}` && (A.role !== "user" || s.timeOf(S.message)) ? (c(), u("div", {
3811
3820
  key: 0,
3812
3821
  class: O(["wm-list__meta wm-list__meta--press", { "wm-list__meta--right": A.role === "user" }])
3813
3822
  }, [
3814
- A.role !== "user" ? (c(), u("span", Tr, v(s.roleLabel(A)), 1)) : y("", !0),
3815
- A.role !== "user" && s.timeOf(S.message) ? (c(), u("span", xr, "·")) : y("", !0),
3816
- s.timeOf(S.message) ? (c(), u("span", Or, v(s.timeOf(S.message)), 1)) : y("", !0)
3823
+ A.role !== "user" ? (c(), u("span", Mr, v(s.roleLabel(A)), 1)) : y("", !0),
3824
+ A.role !== "user" && s.timeOf(S.message) ? (c(), u("span", Tr, "·")) : y("", !0),
3825
+ s.timeOf(S.message) ? (c(), u("span", xr, v(s.timeOf(S.message)), 1)) : y("", !0)
3817
3826
  ], 2)) : y("", !0)
3818
3827
  ], 64))), 128)),
3819
3828
  (A.role !== "user" || s.lastTimeOf(A)) && !s.hasTrailingOverlay(A) ? (c(), u("div", {
3820
3829
  key: 0,
3821
3830
  class: O(["wm-list__meta", { "wm-list__meta--right": A.role === "user" }])
3822
3831
  }, [
3823
- A.role !== "user" ? (c(), u("span", Lr, v(s.roleLabel(A)), 1)) : y("", !0),
3824
- A.role !== "user" && s.lastTimeOf(A) ? (c(), u("span", Ir, "·")) : y("", !0),
3825
- s.lastTimeOf(A) ? (c(), u("span", Er, v(s.lastTimeOf(A)), 1)) : y("", !0)
3832
+ A.role !== "user" ? (c(), u("span", Or, v(s.roleLabel(A)), 1)) : y("", !0),
3833
+ A.role !== "user" && s.lastTimeOf(A) ? (c(), u("span", Lr, "·")) : y("", !0),
3834
+ s.lastTimeOf(A) ? (c(), u("span", Ir, v(s.lastTimeOf(A)), 1)) : y("", !0)
3826
3835
  ], 2)) : y("", !0)
3827
3836
  ], 64))
3828
3837
  ], 2)) : y("", !0)
3829
3838
  ], 64))), 128)),
3830
- n.streamingActive ? (c(), u("div", Br, [
3831
- o("div", Rr, [
3839
+ n.streamingActive ? (c(), u("div", Er, [
3840
+ o("div", Br, [
3832
3841
  $(a, {
3833
3842
  size: 26,
3834
3843
  tail: !0,
@@ -3862,14 +3871,14 @@ function Pr(e, t, n, i, r, s) {
3862
3871
  }, [
3863
3872
  o("path", { d: "M6 9l6 6 6-6" })
3864
3873
  ], -1)
3865
- ])], 8, Nr)) : y("", !0)
3874
+ ])], 8, Rr)) : y("", !0)
3866
3875
  ]),
3867
3876
  _: 1
3868
3877
  })
3869
3878
  ]);
3870
3879
  }
3871
- const Fr = /* @__PURE__ */ N(mr, [["render", Pr], ["__scopeId", "data-v-9ddbd0e3"]]), he = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", ke = typeof window < "u" && typeof window.MediaRecorder < "u";
3872
- function Ur() {
3880
+ const Pr = /* @__PURE__ */ N(hr, [["render", Nr], ["__scopeId", "data-v-9ddbd0e3"]]), he = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", ke = typeof window < "u" && typeof window.MediaRecorder < "u";
3881
+ function Fr() {
3873
3882
  return ke && [
3874
3883
  "video/webm;codecs=vp9,opus",
3875
3884
  "video/webm;codecs=vp8,opus",
@@ -3889,10 +3898,10 @@ function Pe({ audio: e }) {
3889
3898
  systemAudio: e ? "include" : "exclude"
3890
3899
  };
3891
3900
  }
3892
- function Va(e) {
3901
+ function Ka(e) {
3893
3902
  return e ? e.startsWith("image/") ? "image" : e.startsWith("video/") ? "video" : "file" : "file";
3894
3903
  }
3895
- async function Dr() {
3904
+ async function Ur() {
3896
3905
  if (!he) return null;
3897
3906
  let e;
3898
3907
  try {
@@ -3903,7 +3912,7 @@ async function Dr() {
3903
3912
  return (t == null ? void 0 : t.name) !== "NotAllowedError" && console.error("[media] screenshot picker", t), null;
3904
3913
  }
3905
3914
  try {
3906
- return await jr(e);
3915
+ return await Dr(e);
3907
3916
  } catch (t) {
3908
3917
  return console.error("[media] screenshot capture", t), null;
3909
3918
  } finally {
@@ -3912,7 +3921,7 @@ async function Dr() {
3912
3921
  });
3913
3922
  }
3914
3923
  }
3915
- async function jr(e) {
3924
+ async function Dr(e) {
3916
3925
  const t = document.createElement("video");
3917
3926
  t.muted = !0, t.playsInline = !0, t.srcObject = e, await t.play(), await new Promise((l) => requestAnimationFrame(l));
3918
3927
  const n = t.videoWidth || 1280, i = t.videoHeight || 720, r = document.createElement("canvas");
@@ -3925,7 +3934,7 @@ async function jr(e) {
3925
3934
  }), a = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-").slice(0, 19);
3926
3935
  return new File([s], `capture-${a}.png`, { type: "image/png" });
3927
3936
  }
3928
- async function Hr(e = {}) {
3937
+ async function jr(e = {}) {
3929
3938
  var k;
3930
3939
  if (!he || !ke) return null;
3931
3940
  let t;
@@ -3936,7 +3945,7 @@ async function Hr(e = {}) {
3936
3945
  } catch (b) {
3937
3946
  return (b == null ? void 0 : b.name) !== "NotAllowedError" && console.error("[media] record picker", b), null;
3938
3947
  }
3939
- const n = Ur();
3948
+ const n = Fr();
3940
3949
  let i;
3941
3950
  try {
3942
3951
  i = n ? new window.MediaRecorder(t, { mimeType: n }) : new window.MediaRecorder(t);
@@ -3990,7 +3999,7 @@ async function Hr(e = {}) {
3990
3999
  }
3991
4000
  };
3992
4001
  }
3993
- const zr = [
4002
+ const Hr = [
3994
4003
  {
3995
4004
  action: "file",
3996
4005
  labelKey: "composer.attachFile",
@@ -4006,7 +4015,7 @@ const zr = [
4006
4015
  labelKey: "composer.recordScreen",
4007
4016
  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"
4008
4017
  }
4009
- ], qr = {
4018
+ ], zr = {
4010
4019
  name: "WmComposer",
4011
4020
  inject: {
4012
4021
  // Translator shared by the Messenger shell; French fallback when
@@ -4040,7 +4049,7 @@ const zr = [
4040
4049
  return !this.disabled && !!this.local.trim();
4041
4050
  },
4042
4051
  attachItems() {
4043
- return zr.map((e) => ({
4052
+ return Hr.map((e) => ({
4044
4053
  ...e,
4045
4054
  label: this.t(e.labelKey),
4046
4055
  disabled: e.action === "screenshot" && !he || e.action === "record" && (!he || !ke)
@@ -4114,13 +4123,13 @@ const zr = [
4114
4123
  },
4115
4124
  async captureScreenshot() {
4116
4125
  if (this.disabled) return;
4117
- const e = await Dr();
4126
+ const e = await Ur();
4118
4127
  e && this.$emit("attach", e);
4119
4128
  },
4120
4129
  async startRecording() {
4121
4130
  if (this.recording || this.disabled) return;
4122
4131
  this.recordingElapsed = 0;
4123
- const e = await Hr({
4132
+ const e = await jr({
4124
4133
  onstart: () => {
4125
4134
  this.recording = !0;
4126
4135
  },
@@ -4162,30 +4171,30 @@ const zr = [
4162
4171
  !e || !this._vvHandler || (e.removeEventListener("resize", this._vvHandler), e.removeEventListener("scroll", this._vvHandler), this._vvHandler = null);
4163
4172
  }
4164
4173
  }
4165
- }, $r = {
4174
+ }, qr = {
4166
4175
  key: 0,
4167
4176
  class: "wm-rec"
4168
- }, Kr = { class: "wm-rec__lbl" }, Vr = {
4177
+ }, $r = { class: "wm-rec__lbl" }, Kr = {
4169
4178
  key: 1,
4170
4179
  class: "wm-compose__menu",
4171
4180
  role: "menu"
4172
- }, Wr = ["disabled", "onClick"], Gr = { class: "wm-compose__menuIcon" }, Yr = {
4181
+ }, Vr = ["disabled", "onClick"], Wr = { class: "wm-compose__menuIcon" }, Gr = {
4173
4182
  viewBox: "0 0 24 24",
4174
4183
  width: "14",
4175
4184
  height: "14",
4176
4185
  "aria-hidden": "true"
4177
- }, Jr = ["d"], Qr = ["placeholder", "disabled"], Xr = { class: "wm-compose__actions" }, Zr = ["title", "aria-label", "disabled"], ei = ["disabled", "aria-label"];
4178
- function ti(e, t, n, i, r, s) {
4186
+ }, Yr = ["d"], Jr = ["placeholder", "disabled"], Qr = { class: "wm-compose__actions" }, Xr = ["title", "aria-label", "disabled"], Zr = ["disabled", "aria-label"];
4187
+ function ei(e, t, n, i, r, s) {
4179
4188
  return c(), u("div", {
4180
4189
  class: O(["wm-compose-wrap", { "wm-compose-wrap--sheet": n.displayMode === "sheet" }]),
4181
4190
  style: q(r.kbOffset ? { transform: `translateY(-${r.kbOffset}px)` } : null)
4182
4191
  }, [
4183
- r.recording ? (c(), u("div", $r, [
4192
+ r.recording ? (c(), u("div", qr, [
4184
4193
  t[8] || (t[8] = o("span", {
4185
4194
  class: "wm-rec__dot",
4186
4195
  "aria-hidden": "true"
4187
4196
  }, null, -1)),
4188
- o("span", Kr, v(s.t("composer.recording", { time: s.recordingElapsedLabel })), 1),
4197
+ o("span", $r, v(s.t("composer.recording", { time: s.recordingElapsedLabel })), 1),
4189
4198
  o("button", {
4190
4199
  type: "button",
4191
4200
  class: "wm-rec__stop",
@@ -4208,7 +4217,7 @@ function ti(e, t, n, i, r, s) {
4208
4217
  class: "wm-compose__overlay",
4209
4218
  onClick: t[2] || (t[2] = (a) => r.attachOpen = !1)
4210
4219
  })) : y("", !0),
4211
- r.attachOpen ? (c(), u("div", Vr, [
4220
+ r.attachOpen ? (c(), u("div", Kr, [
4212
4221
  (c(!0), u(B, null, D(s.attachItems, (a) => (c(), u("button", {
4213
4222
  key: a.action,
4214
4223
  type: "button",
@@ -4216,8 +4225,8 @@ function ti(e, t, n, i, r, s) {
4216
4225
  disabled: a.disabled,
4217
4226
  onClick: (l) => s.onAttachAction(a.action)
4218
4227
  }, [
4219
- o("span", Gr, [
4220
- (c(), u("svg", Yr, [
4228
+ o("span", Wr, [
4229
+ (c(), u("svg", Gr, [
4221
4230
  o("path", {
4222
4231
  d: a.path,
4223
4232
  stroke: "currentColor",
@@ -4225,11 +4234,11 @@ function ti(e, t, n, i, r, s) {
4225
4234
  "stroke-linecap": "round",
4226
4235
  "stroke-linejoin": "round",
4227
4236
  fill: "none"
4228
- }, null, 8, Jr)
4237
+ }, null, 8, Yr)
4229
4238
  ]))
4230
4239
  ]),
4231
4240
  o("span", null, v(a.label), 1)
4232
- ], 8, Wr))), 128))
4241
+ ], 8, Vr))), 128))
4233
4242
  ])) : y("", !0),
4234
4243
  V(o("textarea", {
4235
4244
  ref: "inputEl",
@@ -4240,10 +4249,10 @@ function ti(e, t, n, i, r, s) {
4240
4249
  disabled: n.disabled,
4241
4250
  onKeydown: t[4] || (t[4] = (...a) => s.onKeydown && s.onKeydown(...a)),
4242
4251
  onInput: t[5] || (t[5] = (...a) => s.autosize && s.autosize(...a))
4243
- }, null, 40, Qr), [
4252
+ }, null, 40, Jr), [
4244
4253
  [X, r.local]
4245
4254
  ]),
4246
- o("div", Xr, [
4255
+ o("div", Qr, [
4247
4256
  o("button", {
4248
4257
  type: "button",
4249
4258
  class: O(["wm-compose__icon", { "is-open": r.attachOpen }]),
@@ -4265,7 +4274,7 @@ function ti(e, t, n, i, r, s) {
4265
4274
  }, [
4266
4275
  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" })
4267
4276
  ], -1)
4268
- ])], 10, Zr),
4277
+ ])], 10, Xr),
4269
4278
  o("button", {
4270
4279
  type: "submit",
4271
4280
  class: O(["wm-compose__send", { "is-empty": !s.canSend }]),
@@ -4285,12 +4294,12 @@ function ti(e, t, n, i, r, s) {
4285
4294
  }, [
4286
4295
  o("path", { d: "M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z" })
4287
4296
  ], -1)
4288
- ])], 10, ei)
4297
+ ])], 10, Zr)
4289
4298
  ])
4290
4299
  ], 34)
4291
4300
  ], 6);
4292
4301
  }
4293
- const ni = /* @__PURE__ */ N(qr, [["render", ti], ["__scopeId", "data-v-01e81a27"]]), si = {
4302
+ const ti = /* @__PURE__ */ N(zr, [["render", ei], ["__scopeId", "data-v-01e81a27"]]), ni = {
4294
4303
  name: "WmSuggestionChips",
4295
4304
  props: {
4296
4305
  items: { type: Array, default: () => [] },
@@ -4307,8 +4316,8 @@ const ni = /* @__PURE__ */ N(qr, [["render", ti], ["__scopeId", "data-v-01e81a27
4307
4316
  return this.items.map((e) => (e == null ? void 0 : e.label) || (e == null ? void 0 : e.text) || "").join("§");
4308
4317
  }
4309
4318
  }
4310
- }, ri = ["onClick"];
4311
- function ii(e, t, n, i, r, s) {
4319
+ }, si = ["onClick"];
4320
+ function ri(e, t, n, i, r, s) {
4312
4321
  return n.items.length ? (c(), u("div", {
4313
4322
  key: s.batchKey,
4314
4323
  class: "wm-chips"
@@ -4319,10 +4328,10 @@ function ii(e, t, n, i, r, s) {
4319
4328
  class: "wm-chip",
4320
4329
  style: q({ animationDelay: n.baseDelay + l * n.stepDelay + "ms" }),
4321
4330
  onClick: (p) => e.$emit("select", a)
4322
- }, v(a.label), 13, ri))), 128))
4331
+ }, v(a.label), 13, si))), 128))
4323
4332
  ])) : y("", !0);
4324
4333
  }
4325
- const ai = /* @__PURE__ */ N(si, [["render", ii], ["__scopeId", "data-v-47ad8085"]]), oi = {
4334
+ const ii = /* @__PURE__ */ N(ni, [["render", ri], ["__scopeId", "data-v-47ad8085"]]), ai = {
4326
4335
  name: "WmApprovalCard",
4327
4336
  components: { AIAvatar: le },
4328
4337
  inject: {
@@ -4366,27 +4375,27 @@ const ai = /* @__PURE__ */ N(si, [["render", ii], ["__scopeId", "data-v-47ad8085
4366
4375
  return ((e = this.rejectCallback) == null ? void 0 : e.label) || this.t("approval.reject");
4367
4376
  }
4368
4377
  }
4369
- }, li = { class: "wm-approval" }, ci = { class: "wm-approval__head" }, di = { class: "wm-approval__icon" }, ui = { class: "wm-approval__main" }, hi = { class: "wm-approval__title" }, mi = {
4378
+ }, oi = { class: "wm-approval" }, li = { class: "wm-approval__head" }, ci = { class: "wm-approval__icon" }, di = { class: "wm-approval__main" }, ui = { class: "wm-approval__title" }, hi = {
4370
4379
  key: 0,
4371
4380
  class: "wm-approval__detail"
4372
- }, fi = { class: "wm-approval__actions" };
4373
- function gi(e, t, n, i, r, s) {
4381
+ }, mi = { class: "wm-approval__actions" };
4382
+ function fi(e, t, n, i, r, s) {
4374
4383
  const a = R("AIAvatar");
4375
- return c(), u("div", li, [
4376
- o("div", ci, [
4377
- o("div", di, [
4384
+ return c(), u("div", oi, [
4385
+ o("div", li, [
4386
+ o("div", ci, [
4378
4387
  $(a, {
4379
4388
  size: 24,
4380
4389
  name: n.agentName,
4381
4390
  "image-url": n.agentAvatarUrl
4382
4391
  }, null, 8, ["name", "image-url"])
4383
4392
  ]),
4384
- o("div", ui, [
4385
- o("div", hi, v(n.action), 1),
4386
- n.detail ? (c(), u("div", mi, v(n.detail), 1)) : y("", !0)
4393
+ o("div", di, [
4394
+ o("div", ui, v(n.action), 1),
4395
+ n.detail ? (c(), u("div", hi, v(n.detail), 1)) : y("", !0)
4387
4396
  ])
4388
4397
  ]),
4389
- o("div", fi, [
4398
+ o("div", mi, [
4390
4399
  s.rejectId ? (c(), u("button", {
4391
4400
  key: 0,
4392
4401
  type: "button",
@@ -4402,9 +4411,9 @@ function gi(e, t, n, i, r, s) {
4402
4411
  ])
4403
4412
  ]);
4404
4413
  }
4405
- const _i = /* @__PURE__ */ N(oi, [["render", gi], ["__scopeId", "data-v-a2bed37e"]]);
4414
+ const gi = /* @__PURE__ */ N(ai, [["render", fi], ["__scopeId", "data-v-a2bed37e"]]);
4406
4415
  let Oe = 0;
4407
- const pi = /* @__PURE__ */ new Set([
4416
+ const _i = /* @__PURE__ */ new Set([
4408
4417
  "text",
4409
4418
  "textarea",
4410
4419
  "number",
@@ -4412,7 +4421,7 @@ const pi = /* @__PURE__ */ new Set([
4412
4421
  "select",
4413
4422
  "multiselect",
4414
4423
  "date"
4415
- ]), vi = {
4424
+ ]), pi = {
4416
4425
  name: "WmFormCard",
4417
4426
  components: { AIAvatar: le },
4418
4427
  inject: {
@@ -4442,7 +4451,7 @@ const pi = /* @__PURE__ */ new Set([
4442
4451
  // douteux.
4443
4452
  normalizedFields() {
4444
4453
  var t;
4445
- return (Array.isArray((t = this.form) == null ? void 0 : t.fields) ? this.form.fields : []).filter((n) => !(!(n != null && n.key) || !(n != null && n.label) || !pi.has(n == null ? void 0 : n.type) || (n.type === "select" || n.type === "multiselect") && (!Array.isArray(n.options) || n.options.length === 0)));
4454
+ return (Array.isArray((t = this.form) == null ? void 0 : t.fields) ? this.form.fields : []).filter((n) => !(!(n != null && n.key) || !(n != null && n.label) || !_i.has(n == null ? void 0 : n.type) || (n.type === "select" || n.type === "multiselect") && (!Array.isArray(n.options) || n.options.length === 0)));
4446
4455
  }
4447
4456
  },
4448
4457
  created() {
@@ -4495,47 +4504,47 @@ const pi = /* @__PURE__ */ new Set([
4495
4504
  }
4496
4505
  }
4497
4506
  }
4498
- }, yi = { class: "wm-form" }, wi = { class: "wm-form__head" }, bi = { class: "wm-form__icon" }, ki = { class: "wm-form__main" }, Ci = { class: "wm-form__title" }, Ai = {
4507
+ }, vi = { class: "wm-form" }, yi = { class: "wm-form__head" }, wi = { class: "wm-form__icon" }, bi = { class: "wm-form__main" }, ki = { class: "wm-form__title" }, Ci = {
4499
4508
  key: 0,
4500
4509
  class: "wm-form__detail"
4501
- }, Si = ["for"], Mi = {
4510
+ }, Ai = ["for"], Si = {
4502
4511
  key: 0,
4503
4512
  class: "wm-form__req",
4504
4513
  "aria-hidden": "true"
4505
- }, Ti = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], xi = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Oi = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Li = ["id", "onUpdate:modelValue", "required", "disabled"], Ii = {
4514
+ }, Mi = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Ti = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], xi = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Oi = ["id", "onUpdate:modelValue", "required", "disabled"], Li = {
4506
4515
  key: 4,
4507
4516
  class: "wm-form__bool"
4508
- }, Ei = ["id", "onUpdate:modelValue", "disabled"], Bi = ["id", "onUpdate:modelValue", "required", "disabled"], Ri = {
4517
+ }, Ii = ["id", "onUpdate:modelValue", "disabled"], Ei = ["id", "onUpdate:modelValue", "required", "disabled"], Bi = {
4509
4518
  value: "",
4510
4519
  disabled: ""
4511
- }, Ni = ["value"], Pi = {
4520
+ }, Ri = ["value"], Ni = {
4512
4521
  key: 6,
4513
4522
  class: "wm-form__multi"
4514
- }, Fi = ["value", "checked", "disabled", "onChange"], Ui = {
4523
+ }, Pi = ["value", "checked", "disabled", "onChange"], Fi = {
4515
4524
  key: 0,
4516
4525
  class: "wm-form__err"
4517
- }, Di = ["disabled"], ji = {
4526
+ }, Ui = ["disabled"], Di = {
4518
4527
  key: 0,
4519
4528
  class: "wm-form__spinner",
4520
4529
  "aria-hidden": "true"
4521
- }, Hi = {
4530
+ }, ji = {
4522
4531
  key: 2,
4523
4532
  class: "wm-form__doneLbl"
4524
4533
  };
4525
- function zi(e, t, n, i, r, s) {
4534
+ function Hi(e, t, n, i, r, s) {
4526
4535
  const a = R("AIAvatar");
4527
- return c(), u("div", yi, [
4528
- o("div", wi, [
4529
- o("div", bi, [
4536
+ return c(), u("div", vi, [
4537
+ o("div", yi, [
4538
+ o("div", wi, [
4530
4539
  $(a, {
4531
4540
  size: 24,
4532
4541
  name: n.agentName,
4533
4542
  "image-url": n.agentAvatarUrl
4534
4543
  }, null, 8, ["name", "image-url"])
4535
4544
  ]),
4536
- o("div", ki, [
4537
- o("div", Ci, v(n.form.title || s.t("form.title")), 1),
4538
- n.form.description ? (c(), u("div", Ai, v(n.form.description), 1)) : y("", !0)
4545
+ o("div", bi, [
4546
+ o("div", ki, v(n.form.title || s.t("form.title")), 1),
4547
+ n.form.description ? (c(), u("div", Ci, v(n.form.description), 1)) : y("", !0)
4539
4548
  ])
4540
4549
  ]),
4541
4550
  o("form", {
@@ -4551,8 +4560,8 @@ function zi(e, t, n, i, r, s) {
4551
4560
  class: "wm-form__label"
4552
4561
  }, [
4553
4562
  ve(v(l.label), 1),
4554
- l.required ? (c(), u("span", Mi, "*")) : y("", !0)
4555
- ], 8, Si),
4563
+ l.required ? (c(), u("span", Si, "*")) : y("", !0)
4564
+ ], 8, Ai),
4556
4565
  l.type === "text" ? V((c(), u("input", {
4557
4566
  key: 0,
4558
4567
  id: `wm-f-${r._uid}-${l.key}`,
@@ -4562,7 +4571,7 @@ function zi(e, t, n, i, r, s) {
4562
4571
  placeholder: l.placeholder || "",
4563
4572
  required: l.required,
4564
4573
  disabled: n.readOnly || r.busy
4565
- }, null, 8, Ti)), [
4574
+ }, null, 8, Mi)), [
4566
4575
  [X, r.values[l.key]]
4567
4576
  ]) : l.type === "textarea" ? V((c(), u("textarea", {
4568
4577
  key: 1,
@@ -4573,7 +4582,7 @@ function zi(e, t, n, i, r, s) {
4573
4582
  placeholder: l.placeholder || "",
4574
4583
  required: l.required,
4575
4584
  disabled: n.readOnly || r.busy
4576
- }, null, 8, xi)), [
4585
+ }, null, 8, Ti)), [
4577
4586
  [X, r.values[l.key]]
4578
4587
  ]) : l.type === "number" ? V((c(), u("input", {
4579
4588
  key: 2,
@@ -4584,7 +4593,7 @@ function zi(e, t, n, i, r, s) {
4584
4593
  placeholder: l.placeholder || "",
4585
4594
  required: l.required,
4586
4595
  disabled: n.readOnly || r.busy
4587
- }, null, 8, Oi)), [
4596
+ }, null, 8, xi)), [
4588
4597
  [
4589
4598
  X,
4590
4599
  r.values[l.key],
@@ -4599,15 +4608,15 @@ function zi(e, t, n, i, r, s) {
4599
4608
  class: "wm-form__input",
4600
4609
  required: l.required,
4601
4610
  disabled: n.readOnly || r.busy
4602
- }, null, 8, Li)), [
4611
+ }, null, 8, Oi)), [
4603
4612
  [X, r.values[l.key]]
4604
- ]) : l.type === "boolean" ? (c(), u("label", Ii, [
4613
+ ]) : l.type === "boolean" ? (c(), u("label", Li, [
4605
4614
  V(o("input", {
4606
4615
  id: `wm-f-${r._uid}-${l.key}`,
4607
4616
  "onUpdate:modelValue": (p) => r.values[l.key] = p,
4608
4617
  type: "checkbox",
4609
4618
  disabled: n.readOnly || r.busy
4610
- }, null, 8, Ei), [
4619
+ }, null, 8, Ii), [
4611
4620
  [He, r.values[l.key]]
4612
4621
  ]),
4613
4622
  o("span", null, v(l.placeholder || s.t("common.yes")), 1)
@@ -4619,14 +4628,14 @@ function zi(e, t, n, i, r, s) {
4619
4628
  required: l.required,
4620
4629
  disabled: n.readOnly || r.busy
4621
4630
  }, [
4622
- o("option", Ri, v(l.placeholder || s.t("form.choose")), 1),
4631
+ o("option", Bi, v(l.placeholder || s.t("form.choose")), 1),
4623
4632
  (c(!0), u(B, null, D(l.options, (p) => (c(), u("option", {
4624
4633
  key: p.value,
4625
4634
  value: p.value
4626
- }, v(p.label), 9, Ni))), 128))
4627
- ], 8, Bi)), [
4635
+ }, v(p.label), 9, Ri))), 128))
4636
+ ], 8, Ei)), [
4628
4637
  [ze, r.values[l.key]]
4629
- ]) : l.type === "multiselect" ? (c(), u("div", Pi, [
4638
+ ]) : l.type === "multiselect" ? (c(), u("div", Ni, [
4630
4639
  (c(!0), u(B, null, D(l.options, (p) => (c(), u("label", {
4631
4640
  key: p.value,
4632
4641
  class: "wm-form__multiItem"
@@ -4641,25 +4650,25 @@ function zi(e, t, n, i, r, s) {
4641
4650
  p.value,
4642
4651
  k.target.checked
4643
4652
  )
4644
- }, null, 40, Fi),
4653
+ }, null, 40, Pi),
4645
4654
  o("span", null, v(p.label), 1)
4646
4655
  ]))), 128))
4647
4656
  ])) : y("", !0)
4648
4657
  ]))), 128)),
4649
- r.error ? (c(), u("div", Ui, v(r.error), 1)) : y("", !0),
4650
- n.readOnly ? (c(), u("div", Hi, v(s.t("form.responseSent")), 1)) : (c(), u("button", {
4658
+ r.error ? (c(), u("div", Fi, v(r.error), 1)) : y("", !0),
4659
+ n.readOnly ? (c(), u("div", ji, v(s.t("form.responseSent")), 1)) : (c(), u("button", {
4651
4660
  key: 1,
4652
4661
  type: "submit",
4653
4662
  class: "wm-form__submit",
4654
4663
  disabled: r.busy
4655
4664
  }, [
4656
- r.busy ? (c(), u("span", ji)) : y("", !0),
4665
+ r.busy ? (c(), u("span", Di)) : y("", !0),
4657
4666
  o("span", null, v(r.busy ? s.t("common.sending") : n.form.submit_label || s.t("common.send")), 1)
4658
- ], 8, Di))
4667
+ ], 8, Ui))
4659
4668
  ], 32)
4660
4669
  ]);
4661
4670
  }
4662
- const qi = /* @__PURE__ */ N(vi, [["render", zi], ["__scopeId", "data-v-fe65cc56"]]), $i = {
4671
+ const zi = /* @__PURE__ */ N(pi, [["render", Hi], ["__scopeId", "data-v-fe65cc56"]]), qi = {
4663
4672
  name: "WmFeedback",
4664
4673
  inject: {
4665
4674
  // Translator shared by the Messenger shell; French fallback when
@@ -4693,13 +4702,13 @@ const qi = /* @__PURE__ */ N(vi, [["render", zi], ["__scopeId", "data-v-fe65cc56
4693
4702
  !this.sel || this.busy || this.$emit("submit", { rating: this.sel });
4694
4703
  }
4695
4704
  }
4696
- }, Ki = { class: "wm-fb" }, Vi = { class: "wm-fb__title" }, Wi = { class: "wm-fb__sub" }, Gi = { class: "wm-fb__row" }, Yi = ["onClick"], Ji = { class: "wm-fb__emoji" }, Qi = { class: "wm-fb__label" }, Xi = ["disabled"], Zi = {
4705
+ }, $i = { class: "wm-fb" }, Ki = { class: "wm-fb__title" }, Vi = { class: "wm-fb__sub" }, Wi = { class: "wm-fb__row" }, Gi = ["onClick"], Yi = { class: "wm-fb__emoji" }, Ji = { class: "wm-fb__label" }, Qi = ["disabled"], Xi = {
4697
4706
  key: 1,
4698
4707
  class: "wm-fb__done"
4699
- }, ea = { class: "wm-fb__doneTitle" }, ta = { class: "wm-fb__doneSub" };
4700
- function na(e, t, n, i, r, s) {
4701
- return c(), u("div", Ki, [
4702
- n.done ? (c(), u("div", Zi, [
4708
+ }, Zi = { class: "wm-fb__doneTitle" }, ea = { class: "wm-fb__doneSub" };
4709
+ function ta(e, t, n, i, r, s) {
4710
+ return c(), u("div", $i, [
4711
+ n.done ? (c(), u("div", Xi, [
4703
4712
  t[1] || (t[1] = o("div", { class: "wm-fb__check" }, [
4704
4713
  o("svg", {
4705
4714
  width: "16",
@@ -4715,32 +4724,32 @@ function na(e, t, n, i, r, s) {
4715
4724
  o("path", { d: "M20 6L9 17l-5-5" })
4716
4725
  ])
4717
4726
  ], -1)),
4718
- o("div", ea, v(s.t("feedback.doneTitle")), 1),
4719
- o("div", ta, v(s.t("feedback.doneSubtitle")), 1)
4727
+ o("div", Zi, v(s.t("feedback.doneTitle")), 1),
4728
+ o("div", ea, v(s.t("feedback.doneSubtitle")), 1)
4720
4729
  ])) : (c(), u(B, { key: 0 }, [
4721
- o("div", Vi, v(s.t("feedback.question")), 1),
4722
- o("div", Wi, v(s.t("feedback.subtitle")), 1),
4723
- o("div", Gi, [
4730
+ o("div", Ki, v(s.t("feedback.question")), 1),
4731
+ o("div", Vi, v(s.t("feedback.subtitle")), 1),
4732
+ o("div", Wi, [
4724
4733
  (c(!0), u(B, null, D(s.options, (a) => (c(), u("button", {
4725
4734
  key: a.v,
4726
4735
  type: "button",
4727
4736
  class: O(["wm-fb__opt", { "is-selected": r.sel === a.v }]),
4728
4737
  onClick: (l) => r.sel = a.v
4729
4738
  }, [
4730
- o("span", Ji, v(a.e), 1),
4731
- o("span", Qi, v(a.l), 1)
4732
- ], 10, Yi))), 128))
4739
+ o("span", Yi, v(a.e), 1),
4740
+ o("span", Ji, v(a.l), 1)
4741
+ ], 10, Gi))), 128))
4733
4742
  ]),
4734
4743
  o("button", {
4735
4744
  type: "button",
4736
4745
  class: "wm-fb__send",
4737
4746
  disabled: !r.sel || n.busy,
4738
4747
  onClick: t[0] || (t[0] = (...a) => s.onSend && s.onSend(...a))
4739
- }, v(n.busy ? s.t("common.sending") : s.t("feedback.submit")), 9, Xi)
4748
+ }, v(n.busy ? s.t("common.sending") : s.t("feedback.submit")), 9, Qi)
4740
4749
  ], 64))
4741
4750
  ]);
4742
4751
  }
4743
- const sa = /* @__PURE__ */ N($i, [["render", na], ["__scopeId", "data-v-9b630564"]]), ra = {
4752
+ const na = /* @__PURE__ */ N(qi, [["render", ta], ["__scopeId", "data-v-9b630564"]]), sa = {
4744
4753
  name: "WmMoreMenu",
4745
4754
  inject: {
4746
4755
  // Translator shared by the Messenger shell; French fallback when
@@ -4783,24 +4792,24 @@ const sa = /* @__PURE__ */ N($i, [["render", na], ["__scopeId", "data-v-9b630564
4783
4792
  this.browserNotifOn = !this.browserNotifOn, this.$emit("browser-notif-toggle", this.browserNotifOn);
4784
4793
  }
4785
4794
  }
4786
- }, ia = { class: "wm-mm" }, aa = {
4795
+ }, ra = { class: "wm-mm" }, ia = {
4787
4796
  class: "wm-mm__pop",
4788
4797
  role: "menu"
4789
- }, oa = {
4798
+ }, aa = {
4790
4799
  key: 0,
4791
4800
  class: "wm-mm__section"
4792
- }, la = { class: "wm-mm__label" }, ca = { class: "wm-mm__label" }, da = {
4801
+ }, oa = { class: "wm-mm__label" }, la = { class: "wm-mm__label" }, ca = {
4793
4802
  key: 1,
4794
4803
  class: "wm-mm__sep"
4795
- }, ua = { class: "wm-mm__section" }, ha = { class: "wm-mm__label" }, ma = { class: "wm-mm__label" }, fa = { class: "wm-mm__section" }, ga = { class: "wm-mm__label" }, _a = { class: "wm-mm__label" };
4796
- function pa(e, t, n, i, r, s) {
4797
- return c(), u("div", ia, [
4804
+ }, da = { class: "wm-mm__section" }, ua = { class: "wm-mm__label" }, ha = { class: "wm-mm__label" }, ma = { class: "wm-mm__section" }, fa = { class: "wm-mm__label" }, ga = { class: "wm-mm__label" };
4805
+ function _a(e, t, n, i, r, s) {
4806
+ return c(), u("div", ra, [
4798
4807
  o("div", {
4799
4808
  class: "wm-mm__scrim",
4800
4809
  onClick: t[0] || (t[0] = (a) => e.$emit("close"))
4801
4810
  }),
4802
- o("div", aa, [
4803
- n.canRename || n.canExport ? (c(), u("div", oa, [
4811
+ o("div", ia, [
4812
+ n.canRename || n.canExport ? (c(), u("div", aa, [
4804
4813
  n.canRename ? (c(), u("button", {
4805
4814
  key: 0,
4806
4815
  type: "button",
@@ -4823,7 +4832,7 @@ function pa(e, t, n, i, r, s) {
4823
4832
  o("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z" })
4824
4833
  ])
4825
4834
  ], -1)),
4826
- o("span", la, v(s.t("moreMenu.editTitle")), 1)
4835
+ o("span", oa, v(s.t("moreMenu.editTitle")), 1)
4827
4836
  ])) : y("", !0),
4828
4837
  n.canExport ? (c(), u("button", {
4829
4838
  key: 1,
@@ -4846,12 +4855,12 @@ function pa(e, t, n, i, r, s) {
4846
4855
  o("path", { d: "M4 12v8a2 2 0 002 2h12a2 2 0 002-2v-8M16 6l-4-4-4 4M12 2v13" })
4847
4856
  ])
4848
4857
  ], -1)),
4849
- o("span", ca, v(s.t("moreMenu.exportTranscript")), 1),
4858
+ o("span", la, v(s.t("moreMenu.exportTranscript")), 1),
4850
4859
  t[9] || (t[9] = o("span", { class: "wm-mm__hint" }, ".txt", -1))
4851
4860
  ])) : y("", !0)
4852
4861
  ])) : y("", !0),
4853
- n.canRename || n.canExport ? (c(), u("div", da)) : y("", !0),
4854
- o("div", ua, [
4862
+ n.canRename || n.canExport ? (c(), u("div", ca)) : y("", !0),
4863
+ o("div", da, [
4855
4864
  o("button", {
4856
4865
  type: "button",
4857
4866
  class: "wm-mm__item",
@@ -4873,7 +4882,7 @@ function pa(e, t, n, i, r, s) {
4873
4882
  o("path", { d: "M15.54 8.46a5 5 0 010 7.07M19.07 4.93a10 10 0 010 14.14" })
4874
4883
  ])
4875
4884
  ], -1)),
4876
- o("span", ha, v(s.t("moreMenu.sound")), 1),
4885
+ o("span", ua, v(s.t("moreMenu.sound")), 1),
4877
4886
  o("span", {
4878
4887
  class: O(["wm-mm__toggle", { "wm-mm__toggle--on": r.soundOn }])
4879
4888
  }, [...t[10] || (t[10] = [
@@ -4900,7 +4909,7 @@ function pa(e, t, n, i, r, s) {
4900
4909
  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" })
4901
4910
  ])
4902
4911
  ], -1)),
4903
- o("span", ma, v(s.t("moreMenu.browserNotifications")), 1),
4912
+ o("span", ha, v(s.t("moreMenu.browserNotifications")), 1),
4904
4913
  o("span", {
4905
4914
  class: O(["wm-mm__toggle", { "wm-mm__toggle--on": r.browserNotifOn }])
4906
4915
  }, [...t[12] || (t[12] = [
@@ -4909,7 +4918,7 @@ function pa(e, t, n, i, r, s) {
4909
4918
  ])
4910
4919
  ]),
4911
4920
  t[16] || (t[16] = o("div", { class: "wm-mm__sep" }, null, -1)),
4912
- o("div", fa, [
4921
+ o("div", ma, [
4913
4922
  n.statusUrl ? (c(), u("button", {
4914
4923
  key: 0,
4915
4924
  type: "button",
@@ -4931,7 +4940,7 @@ function pa(e, t, n, i, r, s) {
4931
4940
  o("path", { d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zM10 6v4l3 2" })
4932
4941
  ])
4933
4942
  ], -1)),
4934
- o("span", ga, v(s.t("moreMenu.serviceStatus")), 1)
4943
+ o("span", fa, v(s.t("moreMenu.serviceStatus")), 1)
4935
4944
  ])) : y("", !0),
4936
4945
  n.helpUrl ? (c(), u("button", {
4937
4946
  key: 1,
@@ -4954,13 +4963,13 @@ function pa(e, t, n, i, r, s) {
4954
4963
  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" })
4955
4964
  ])
4956
4965
  ], -1)),
4957
- o("span", _a, v(s.t("moreMenu.helpCenter")), 1)
4966
+ o("span", ga, v(s.t("moreMenu.helpCenter")), 1)
4958
4967
  ])) : y("", !0)
4959
4968
  ])
4960
4969
  ])
4961
4970
  ]);
4962
4971
  }
4963
- const va = /* @__PURE__ */ N(ra, [["render", pa], ["__scopeId", "data-v-76281e95"]]), ya = {
4972
+ const pa = /* @__PURE__ */ N(sa, [["render", _a], ["__scopeId", "data-v-76281e95"]]), va = {
4964
4973
  name: "WmRenameDialog",
4965
4974
  inject: {
4966
4975
  // Translator shared by the Messenger shell; French fallback when
@@ -5002,20 +5011,20 @@ const va = /* @__PURE__ */ N(ra, [["render", pa], ["__scopeId", "data-v-76281e95
5002
5011
  this.canSubmit && this.$emit("submit", this.value.trim());
5003
5012
  }
5004
5013
  }
5005
- }, wa = { class: "wm-dialog" }, ba = {
5014
+ }, ya = { class: "wm-dialog" }, wa = {
5006
5015
  class: "wm-dialog__card",
5007
5016
  role: "dialog",
5008
5017
  "aria-modal": "true"
5009
- }, ka = { class: "wm-dialog__head" }, Ca = { class: "wm-dialog__title" }, Aa = ["aria-label"], Sa = { class: "wm-dialog__body" }, Ma = ["placeholder"], Ta = { class: "wm-dialog__actions" }, xa = ["disabled"];
5010
- function Oa(e, t, n, i, r, s) {
5011
- return c(), u("div", wa, [
5018
+ }, ba = { class: "wm-dialog__head" }, ka = { class: "wm-dialog__title" }, Ca = ["aria-label"], Aa = { class: "wm-dialog__body" }, Sa = ["placeholder"], Ma = { class: "wm-dialog__actions" }, Ta = ["disabled"];
5019
+ function xa(e, t, n, i, r, s) {
5020
+ return c(), u("div", ya, [
5012
5021
  o("div", {
5013
5022
  class: "wm-dialog__scrim",
5014
5023
  onClick: t[0] || (t[0] = (a) => e.$emit("close"))
5015
5024
  }),
5016
- o("div", ba, [
5017
- o("div", ka, [
5018
- o("div", Ca, v(n.title || s.t("rename.title")), 1),
5025
+ o("div", wa, [
5026
+ o("div", ba, [
5027
+ o("div", ka, v(n.title || s.t("rename.title")), 1),
5019
5028
  o("button", {
5020
5029
  type: "button",
5021
5030
  class: "wm-dialog__close",
@@ -5035,9 +5044,9 @@ function Oa(e, t, n, i, r, s) {
5035
5044
  }, [
5036
5045
  o("path", { d: "M18 6L6 18M6 6l12 12" })
5037
5046
  ], -1)
5038
- ])], 8, Aa)
5047
+ ])], 8, Ca)
5039
5048
  ]),
5040
- o("div", Sa, [
5049
+ o("div", Aa, [
5041
5050
  V(o("input", {
5042
5051
  ref: "input",
5043
5052
  "onUpdate:modelValue": t[2] || (t[2] = (a) => r.value = a),
@@ -5049,11 +5058,11 @@ function Oa(e, t, n, i, r, s) {
5049
5058
  t[3] || (t[3] = ue(G((...a) => s.onSubmit && s.onSubmit(...a), ["prevent"]), ["enter"])),
5050
5059
  t[4] || (t[4] = ue(G((a) => e.$emit("close"), ["prevent"]), ["esc"]))
5051
5060
  ]
5052
- }, null, 40, Ma), [
5061
+ }, null, 40, Sa), [
5053
5062
  [X, r.value]
5054
5063
  ])
5055
5064
  ]),
5056
- o("div", Ta, [
5065
+ o("div", Ma, [
5057
5066
  o("button", {
5058
5067
  type: "button",
5059
5068
  class: "wm-dialog__btn",
@@ -5064,25 +5073,25 @@ function Oa(e, t, n, i, r, s) {
5064
5073
  class: "wm-dialog__btn wm-dialog__btn--primary",
5065
5074
  disabled: !s.canSubmit,
5066
5075
  onClick: t[6] || (t[6] = (...a) => s.onSubmit && s.onSubmit(...a))
5067
- }, v(s.t("common.save")), 9, xa)
5076
+ }, v(s.t("common.save")), 9, Ta)
5068
5077
  ])
5069
5078
  ])
5070
5079
  ]);
5071
5080
  }
5072
- const La = /* @__PURE__ */ N(ya, [["render", Oa], ["__scopeId", "data-v-6d5f94a8"]]), Le = "ww-messenger-tokens", Ia = {
5081
+ const Oa = /* @__PURE__ */ N(va, [["render", xa], ["__scopeId", "data-v-6d5f94a8"]]), Le = "ww-messenger-tokens", La = {
5073
5082
  name: "Messenger",
5074
5083
  components: {
5075
5084
  Launcher: Pt,
5076
5085
  Header: ln,
5077
- Onboarding: $n,
5078
- MessageList: Fr,
5079
- Composer: ni,
5080
- SuggestionChips: ai,
5081
- ApprovalCard: _i,
5082
- FormCard: qi,
5083
- Feedback: sa,
5084
- MoreMenu: va,
5085
- RenameDialog: La
5086
+ Onboarding: qn,
5087
+ MessageList: Pr,
5088
+ Composer: ti,
5089
+ SuggestionChips: ii,
5090
+ ApprovalCard: gi,
5091
+ FormCard: zi,
5092
+ Feedback: na,
5093
+ MoreMenu: pa,
5094
+ RenameDialog: Oa
5086
5095
  },
5087
5096
  mixins: [
5088
5097
  ot,
@@ -6071,28 +6080,28 @@ const La = /* @__PURE__ */ N(ya, [["render", Oa], ["__scopeId", "data-v-6d5f94a8
6071
6080
  }
6072
6081
  }
6073
6082
  }
6074
- }, Ea = {
6083
+ }, Ia = {
6075
6084
  key: 0,
6076
6085
  class: "wm-loading",
6077
6086
  "aria-busy": "true",
6078
6087
  "aria-live": "polite"
6079
- }, Ba = ["aria-label"], Ra = {
6088
+ }, Ea = ["aria-label"], Ba = {
6080
6089
  key: 0,
6081
6090
  class: "wm-state"
6082
- }, Na = { class: "wm-state__err" }, Pa = { class: "wm-state__errTitle" }, Fa = { class: "wm-state__errSub" }, Ua = { class: "wm-bottom" }, Da = {
6091
+ }, Ra = { class: "wm-state__err" }, Na = { class: "wm-state__errTitle" }, Pa = { class: "wm-state__errSub" }, Fa = { class: "wm-bottom" }, Ua = {
6083
6092
  key: 0,
6084
6093
  ref: "floatEl",
6085
6094
  class: "wm-float"
6086
- }, ja = {
6095
+ }, Da = {
6087
6096
  key: 1,
6088
6097
  class: "wm-actionWait",
6089
6098
  role: "status",
6090
6099
  "aria-live": "polite"
6091
- }, Ha = { class: "wm-actionWait__lbl" }, za = {
6100
+ }, ja = { class: "wm-actionWait__lbl" }, Ha = {
6092
6101
  key: 2,
6093
6102
  class: "wm-attached"
6094
- }, qa = ["aria-label", "onClick"];
6095
- function $a(e, t, n, i, r, s) {
6103
+ }, za = ["aria-label", "onClick"];
6104
+ function qa(e, t, n, i, r, s) {
6096
6105
  const a = R("Launcher"), l = R("Header"), p = R("Onboarding"), k = R("MessageList"), b = R("ApprovalCard"), T = R("FormCard"), E = R("Feedback"), A = R("SuggestionChips"), H = R("Composer"), S = R("MoreMenu"), P = R("RenameDialog");
6097
6106
  return c(), u("div", {
6098
6107
  class: O(["wm-root", `wm-root--${n.displayMode}`])
@@ -6117,7 +6126,7 @@ function $a(e, t, n, i, r, s) {
6117
6126
  "aria-label": "Messenger",
6118
6127
  onClick: t[5] || (t[5] = (...I) => s.onPanelClick && s.onPanelClick(...I))
6119
6128
  }, [
6120
- !s.ready && !s.error ? (c(), u("div", Ea, [
6129
+ !s.ready && !s.error ? (c(), u("div", Ia, [
6121
6130
  s.isEmbedded ? y("", !0) : (c(), u("button", {
6122
6131
  key: 0,
6123
6132
  type: "button",
@@ -6138,7 +6147,7 @@ function $a(e, t, n, i, r, s) {
6138
6147
  }, [
6139
6148
  o("path", { d: "M18 6L6 18M6 6l12 12" })
6140
6149
  ], -1)
6141
- ])], 8, Ba)),
6150
+ ])], 8, Ea)),
6142
6151
  t[7] || (t[7] = o("div", {
6143
6152
  class: "wm-loading__spinner",
6144
6153
  "aria-hidden": "true"
@@ -6158,8 +6167,8 @@ function $a(e, t, n, i, r, s) {
6158
6167
  onMore: s.toggleMore,
6159
6168
  onClose: s.close
6160
6169
  }, null, 8, ["title", "team-members", "response-label", "show-identity", "show-back", "show-close", "more-active", "agent-name", "agent-avatar-url", "onBack", "onMore", "onClose"]),
6161
- s.error ? (c(), u("div", Ra, [
6162
- o("div", Na, [
6170
+ s.error ? (c(), u("div", Ba, [
6171
+ o("div", Ra, [
6163
6172
  t[8] || (t[8] = o("div", { class: "wm-state__errIcon" }, [
6164
6173
  o("svg", {
6165
6174
  width: "14",
@@ -6176,8 +6185,8 @@ function $a(e, t, n, i, r, s) {
6176
6185
  ])
6177
6186
  ], -1)),
6178
6187
  o("div", null, [
6179
- o("div", Pa, v(s.t("error.connectionFailed")), 1),
6180
- o("div", Fa, v(s.error), 1)
6188
+ o("div", Na, v(s.t("error.connectionFailed")), 1),
6189
+ o("div", Pa, v(s.error), 1)
6181
6190
  ])
6182
6191
  ])
6183
6192
  ])) : s.currentConv ? (c(), u(B, { key: 2 }, [
@@ -6195,8 +6204,8 @@ function $a(e, t, n, i, r, s) {
6195
6204
  "ai-agent-avatar-url": s.agentAvatarUrl,
6196
6205
  onLoadMore: s.onLoadMore
6197
6206
  }, 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"]),
6198
- o("div", Ua, [
6199
- s.floatVisible ? (c(), u("div", Da, [
6207
+ o("div", Fa, [
6208
+ s.floatVisible ? (c(), u("div", Ua, [
6200
6209
  s.approvalReady ? (c(), F(b, {
6201
6210
  key: 0,
6202
6211
  action: s.approvalTitle,
@@ -6222,12 +6231,12 @@ function $a(e, t, n, i, r, s) {
6222
6231
  onSelect: s.onSuggestion
6223
6232
  }, null, 8, ["items", "onSelect"]))
6224
6233
  ], 512)) : y("", !0),
6225
- s.actionInFlight ? (c(), u("div", ja, [
6234
+ s.actionInFlight ? (c(), u("div", Da, [
6226
6235
  t[9] || (t[9] = o("span", {
6227
6236
  class: "wm-actionWait__spinner",
6228
6237
  "aria-hidden": "true"
6229
6238
  }, null, -1)),
6230
- o("span", Ha, v(s.t("action.inProgress", {
6239
+ o("span", ja, v(s.t("action.inProgress", {
6231
6240
  name: s.actionInFlightName
6232
6241
  })), 1)
6233
6242
  ])) : (c(), F(H, {
@@ -6263,7 +6272,7 @@ function $a(e, t, n, i, r, s) {
6263
6272
  onClose: t[3] || (t[3] = (I) => r.renameDialogOpen = !1),
6264
6273
  onSubmit: s.onRenameSubmit
6265
6274
  }, null, 8, ["initial-value", "title", "onSubmit"])) : y("", !0),
6266
- r.pendingAttachments.length ? (c(), u("div", za, [
6275
+ r.pendingAttachments.length ? (c(), u("div", Ha, [
6267
6276
  (c(!0), u(B, null, D(r.pendingAttachments, (I, U) => (c(), u("div", {
6268
6277
  key: U,
6269
6278
  class: "wm-attached__chip"
@@ -6300,7 +6309,7 @@ function $a(e, t, n, i, r, s) {
6300
6309
  }, [
6301
6310
  o("path", { d: "M18 6L6 18M6 6l12 12" })
6302
6311
  ], -1)
6303
- ])], 8, qa)
6312
+ ])], 8, za)
6304
6313
  ]))), 128))
6305
6314
  ])) : y("", !0)
6306
6315
  ], 64)) : (c(), F(p, {
@@ -6333,53 +6342,53 @@ function $a(e, t, n, i, r, s) {
6333
6342
  ], 6)) : y("", !0)
6334
6343
  ], 2);
6335
6344
  }
6336
- const Wa = /* @__PURE__ */ N(Ia, [["render", $a], ["__scopeId", "data-v-7f3d28ad"]]), Ga = "0.5.31";
6345
+ const Va = /* @__PURE__ */ N(La, [["render", qa], ["__scopeId", "data-v-7f3d28ad"]]), Wa = "0.5.33";
6337
6346
  export {
6338
6347
  le as AIAvatar,
6339
6348
  ge as AVATAR_COLORS,
6340
- ns as ActionResult,
6341
- _i as ApprovalCard,
6342
- us as ArtifactFormResponse,
6343
- As as ArtifactInfoCard,
6344
- qs as ArtifactRenderer,
6345
- Ds as ArtifactTicket,
6346
- tr as AttachmentPreview,
6347
- ir as Bubble,
6348
- ni as Composer,
6349
+ ts as ActionResult,
6350
+ gi as ApprovalCard,
6351
+ ds as ArtifactFormResponse,
6352
+ Cs as ArtifactInfoCard,
6353
+ zs as ArtifactRenderer,
6354
+ Us as ArtifactTicket,
6355
+ er as AttachmentPreview,
6356
+ rr as Bubble,
6357
+ ti as Composer,
6349
6358
  Ze as DEFAULT_BASE_URL,
6350
6359
  ae as DEFAULT_LANGUAGE,
6351
- sa as Feedback,
6352
- qi as FormCard,
6360
+ na as Feedback,
6361
+ zi as FormCard,
6353
6362
  ln as Header,
6354
6363
  Re as HumanAvatar,
6355
6364
  Pt as Launcher,
6356
6365
  ke as MEDIA_RECORDER_SUPPORTED,
6357
- Fr as MessageList,
6358
- Wa as Messenger,
6359
- va as MoreMenu,
6360
- $n as Onboarding,
6366
+ Pr as MessageList,
6367
+ Va as Messenger,
6368
+ pa as MoreMenu,
6369
+ qn as Onboarding,
6361
6370
  he as SCREEN_CAPTURE_SUPPORTED,
6362
6371
  et as SUPPORTED_LANGUAGES,
6363
- ai as SuggestionChips,
6372
+ ii as SuggestionChips,
6364
6373
  Gt as TeamAvatars,
6365
- cr as Typing,
6366
- Ga as VERSION,
6374
+ lr as Typing,
6375
+ Wa as VERSION,
6367
6376
  ye as avatarColor,
6368
6377
  we as avatarInitials,
6369
- Dr as captureScreenshotFile,
6378
+ Ur as captureScreenshotFile,
6370
6379
  z as colors,
6371
6380
  Qe as createStore,
6372
6381
  j as createTranslator,
6373
6382
  We as createTransport,
6374
6383
  re as dateLocale,
6375
- Wa as default,
6384
+ Va as default,
6376
6385
  pe as formatTime,
6377
- Va as guessAttachmentKind,
6378
- Ur as pickRecorderMime,
6386
+ Ka as guessAttachmentKind,
6387
+ Fr as pickRecorderMime,
6379
6388
  dn as renderInlineMarkdown,
6380
6389
  un as renderMarkdown,
6381
6390
  be as resolveLanguage,
6382
- Hr as startScreenRecording,
6391
+ jr as startScreenRecording,
6383
6392
  Xe as tokensCss,
6384
6393
  Je as uuid,
6385
6394
  Je as v4