@_solaris/messenger-widget 0.5.0 → 0.5.1

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
@@ -2324,10 +2324,10 @@ const Ie = {
2324
2324
  });
2325
2325
  }
2326
2326
  }
2327
- }, gn = { class: "wm-onb" }, pn = { class: "wm-onb__hero" }, vn = { class: "wm-onb__title" }, yn = { class: "wm-onb__sub" }, wn = { class: "wm-onb__cta" }, bn = ["disabled"], kn = {
2327
+ }, gn = { class: "wm-onb" }, pn = { class: "wm-onb__hero" }, vn = { class: "wm-onb__hero-text" }, yn = { class: "wm-onb__title" }, wn = { class: "wm-onb__sub" }, bn = { class: "wm-onb__cta" }, kn = ["disabled"], Cn = {
2328
2328
  key: 0,
2329
2329
  class: "wm-onb__section"
2330
- }, Cn = { class: "wm-onb__section-title" }, An = ["onClick"], Sn = { class: "wm-onb__card-icon" }, Mn = {
2330
+ }, An = { class: "wm-onb__section-title" }, Sn = ["onClick"], Mn = { class: "wm-onb__card-icon" }, Tn = {
2331
2331
  width: "16",
2332
2332
  height: "16",
2333
2333
  viewBox: "0 0 24 24",
@@ -2337,20 +2337,20 @@ const Ie = {
2337
2337
  "stroke-linecap": "round",
2338
2338
  "stroke-linejoin": "round",
2339
2339
  "aria-hidden": "true"
2340
- }, Tn = ["d"], xn = { class: "wm-onb__card-body" }, On = { class: "wm-onb__card-title" }, In = {
2340
+ }, xn = ["d"], On = { class: "wm-onb__card-body" }, In = { class: "wm-onb__card-title" }, Bn = {
2341
2341
  key: 0,
2342
2342
  class: "wm-onb__card-sub"
2343
- }, Bn = {
2343
+ }, Ln = {
2344
2344
  key: 1,
2345
2345
  class: "wm-onb__section"
2346
- }, Ln = { class: "wm-onb__section-title" }, En = { class: "wm-onb__search" }, Rn = ["placeholder", "aria-label"], Nn = { class: "wm-onb__list" }, Fn = ["onClick"], Un = ["aria-label"], jn = { class: "wm-onb__thread-body" }, Pn = { class: "wm-onb__thread-title" }, Dn = ["innerHTML"], zn = { class: "wm-onb__thread-meta" }, qn = {
2346
+ }, En = { class: "wm-onb__section-title" }, Rn = { class: "wm-onb__search" }, Nn = ["placeholder", "aria-label"], Fn = { class: "wm-onb__list" }, Un = ["onClick"], jn = ["aria-label"], Pn = { class: "wm-onb__thread-body" }, Dn = { class: "wm-onb__thread-title" }, zn = ["innerHTML"], qn = { class: "wm-onb__thread-meta" }, Hn = {
2347
2347
  key: 0,
2348
2348
  class: "wm-onb__thread-time"
2349
- }, Hn = {
2349
+ }, $n = {
2350
2350
  key: 0,
2351
2351
  class: "wm-onb__empty"
2352
2352
  };
2353
- function $n(e, t, n, i, r, s) {
2353
+ function Vn(e, t, n, i, r, s) {
2354
2354
  const o = L("AIAvatar");
2355
2355
  return c(), d("div", gn, [
2356
2356
  a("div", pn, [
@@ -2389,13 +2389,15 @@ function $n(e, t, n, i, r, s) {
2389
2389
  })
2390
2390
  ], -1)),
2391
2391
  V(o, {
2392
- size: 60,
2392
+ size: 52,
2393
2393
  "image-url": n.defaultIconUrl
2394
2394
  }, null, 8, ["image-url"]),
2395
- a("div", vn, p(s.heroTitle), 1),
2396
- a("div", yn, p(s.heroSub), 1)
2395
+ a("div", vn, [
2396
+ a("div", yn, p(s.heroTitle), 1),
2397
+ a("div", wn, p(s.heroSub), 1)
2398
+ ])
2397
2399
  ]),
2398
- a("div", wn, [
2400
+ a("div", bn, [
2399
2401
  a("button", {
2400
2402
  type: "button",
2401
2403
  class: "wm-onb__startBtn",
@@ -2418,10 +2420,10 @@ function $n(e, t, n, i, r, s) {
2418
2420
  ])
2419
2421
  ], -1)),
2420
2422
  a("span", null, p(n.busy ? "…" : s.t("onboarding.start")), 1)
2421
- ], 8, bn)
2423
+ ], 8, kn)
2422
2424
  ]),
2423
- n.quickLinks.length ? (c(), d("div", kn, [
2424
- a("div", Cn, p(s.t("onboarding.quickAccess")), 1),
2425
+ n.quickLinks.length ? (c(), d("div", Cn, [
2426
+ a("div", An, p(s.t("onboarding.quickAccess")), 1),
2425
2427
  a("div", {
2426
2428
  class: I(s.quickLinksLayout)
2427
2429
  }, [
@@ -2431,23 +2433,23 @@ function $n(e, t, n, i, r, s) {
2431
2433
  class: I(["wm-onb__card", { "wm-onb__card--row": s.isOddQuickLinks }]),
2432
2434
  onClick: (w) => e.$emit("select", l)
2433
2435
  }, [
2434
- a("span", Sn, [
2435
- (c(), d("svg", Mn, [
2436
+ a("span", Mn, [
2437
+ (c(), d("svg", Tn, [
2436
2438
  a("path", {
2437
2439
  d: s.iconPath(l.icon)
2438
- }, null, 8, Tn)
2440
+ }, null, 8, xn)
2439
2441
  ]))
2440
2442
  ]),
2441
- a("span", xn, [
2442
- a("span", On, p(l.label), 1),
2443
- l.description ? (c(), d("span", In, p(l.description), 1)) : k("", !0)
2443
+ a("span", On, [
2444
+ a("span", In, p(l.label), 1),
2445
+ l.description ? (c(), d("span", Bn, p(l.description), 1)) : k("", !0)
2444
2446
  ])
2445
- ], 10, An))), 128))
2447
+ ], 10, Sn))), 128))
2446
2448
  ], 2)
2447
2449
  ])) : k("", !0),
2448
- n.openThreads.length ? (c(), d("div", Bn, [
2449
- a("div", Ln, p(s.t("onboarding.recentConversations")), 1),
2450
- a("div", En, [
2450
+ n.openThreads.length ? (c(), d("div", Ln, [
2451
+ a("div", En, p(s.t("onboarding.recentConversations")), 1),
2452
+ a("div", Rn, [
2451
2453
  t[4] || (t[4] = a("span", { class: "wm-onb__searchIcon" }, [
2452
2454
  a("svg", {
2453
2455
  width: "12",
@@ -2468,11 +2470,11 @@ function $n(e, t, n, i, r, s) {
2468
2470
  type: "text",
2469
2471
  placeholder: s.t("onboarding.search"),
2470
2472
  "aria-label": s.t("onboarding.search")
2471
- }, null, 8, Rn), [
2473
+ }, null, 8, Nn), [
2472
2474
  [Z, r.query]
2473
2475
  ])
2474
2476
  ]),
2475
- a("div", Nn, [
2477
+ a("div", Fn, [
2476
2478
  (c(!0), d(B, null, U(s.filteredThreads, (l) => (c(), d("button", {
2477
2479
  key: l.id,
2478
2480
  type: "button",
@@ -2499,17 +2501,17 @@ function $n(e, t, n, i, r, s) {
2499
2501
  key: 0,
2500
2502
  class: "wm-onb__thread-dot",
2501
2503
  "aria-label": s.t("onboarding.unread")
2502
- }, null, 8, Un)) : k("", !0)
2504
+ }, null, 8, jn)) : k("", !0)
2503
2505
  ], 2),
2504
- a("span", jn, [
2505
- a("span", Pn, p(l.title), 1),
2506
+ a("span", Pn, [
2507
+ a("span", Dn, p(l.title), 1),
2506
2508
  a("span", {
2507
2509
  class: "wm-onb__thread-preview",
2508
2510
  innerHTML: s.renderPreview(l.preview)
2509
- }, null, 8, Dn)
2511
+ }, null, 8, zn)
2510
2512
  ]),
2511
- a("span", zn, [
2512
- s.formatTs(l._ts) ? (c(), d("span", qn, p(s.formatTs(l._ts)), 1)) : k("", !0),
2513
+ a("span", qn, [
2514
+ s.formatTs(l._ts) ? (c(), d("span", Hn, p(s.formatTs(l._ts)), 1)) : k("", !0),
2513
2515
  t[6] || (t[6] = a("svg", {
2514
2516
  width: "14",
2515
2517
  height: "14",
@@ -2525,17 +2527,17 @@ function $n(e, t, n, i, r, s) {
2525
2527
  a("path", { d: "M5 12h14M13 5l7 7-7 7" })
2526
2528
  ], -1))
2527
2529
  ])
2528
- ], 8, Fn))), 128)),
2529
- s.filteredThreads.length ? k("", !0) : (c(), d("div", Hn, p(s.t("onboarding.noResults", { query: r.query })), 1))
2530
+ ], 8, Un))), 128)),
2531
+ s.filteredThreads.length ? k("", !0) : (c(), d("div", $n, p(s.t("onboarding.noResults", { query: r.query })), 1))
2530
2532
  ])
2531
2533
  ])) : k("", !0)
2532
2534
  ]);
2533
2535
  }
2534
- const Vn = /* @__PURE__ */ E(_n, [["render", $n], ["__scopeId", "data-v-bf4a112f"]]);
2535
- function Kn(e) {
2536
+ const Kn = /* @__PURE__ */ E(_n, [["render", Vn], ["__scopeId", "data-v-28c0780b"]]);
2537
+ function Wn(e) {
2536
2538
  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();
2537
2539
  }
2538
- const Wn = {
2540
+ const Gn = {
2539
2541
  name: "WmActionResult",
2540
2542
  props: {
2541
2543
  state: { type: String, default: "success" },
@@ -2545,13 +2547,13 @@ const Wn = {
2545
2547
  },
2546
2548
  computed: {
2547
2549
  detailText() {
2548
- return Kn(this.detail);
2550
+ return Wn(this.detail);
2549
2551
  }
2550
2552
  }
2551
- }, Gn = {
2553
+ }, Yn = {
2552
2554
  class: "wm-result__icon",
2553
2555
  "aria-hidden": "true"
2554
- }, Yn = {
2556
+ }, Jn = {
2555
2557
  key: 0,
2556
2558
  width: "11",
2557
2559
  height: "11",
@@ -2561,7 +2563,7 @@ const Wn = {
2561
2563
  "stroke-width": "2.8",
2562
2564
  "stroke-linecap": "round",
2563
2565
  "stroke-linejoin": "round"
2564
- }, Jn = {
2566
+ }, Qn = {
2565
2567
  key: 1,
2566
2568
  width: "11",
2567
2569
  height: "11",
@@ -2571,7 +2573,7 @@ const Wn = {
2571
2573
  "stroke-width": "2.6",
2572
2574
  "stroke-linecap": "round",
2573
2575
  "stroke-linejoin": "round"
2574
- }, Qn = {
2576
+ }, Xn = {
2575
2577
  key: 2,
2576
2578
  width: "11",
2577
2579
  height: "11",
@@ -2581,7 +2583,7 @@ const Wn = {
2581
2583
  "stroke-width": "2.4",
2582
2584
  "stroke-linecap": "round",
2583
2585
  "stroke-linejoin": "round"
2584
- }, Xn = {
2586
+ }, Zn = {
2585
2587
  key: 3,
2586
2588
  width: "12",
2587
2589
  height: "12",
@@ -2591,24 +2593,24 @@ const Wn = {
2591
2593
  "stroke-width": "2.2",
2592
2594
  "stroke-linecap": "round",
2593
2595
  "stroke-linejoin": "round"
2594
- }, Zn = { class: "wm-result__body" }, es = { class: "wm-result__label" }, ts = { class: "wm-result__detail" };
2595
- function ns(e, t, n, i, r, s) {
2596
+ }, es = { class: "wm-result__body" }, ts = { class: "wm-result__label" }, ns = { class: "wm-result__detail" };
2597
+ function ss(e, t, n, i, r, s) {
2596
2598
  return c(), d("div", {
2597
2599
  class: I(["wm-result", `wm-result--${n.state}`])
2598
2600
  }, [
2599
- a("span", Gn, [
2600
- n.state === "success" ? (c(), d("svg", Yn, [...t[0] || (t[0] = [
2601
+ a("span", Yn, [
2602
+ n.state === "success" ? (c(), d("svg", Jn, [...t[0] || (t[0] = [
2601
2603
  a("path", { d: "M20 6L9 17l-5-5" }, null, -1)
2602
- ])])) : n.state === "rejected" ? (c(), d("svg", Jn, [...t[1] || (t[1] = [
2604
+ ])])) : n.state === "rejected" ? (c(), d("svg", Qn, [...t[1] || (t[1] = [
2603
2605
  a("path", { d: "M18 6L6 18M6 6l12 12" }, null, -1)
2604
- ])])) : n.state === "awaiting" ? (c(), d("svg", Qn, [...t[2] || (t[2] = [
2606
+ ])])) : n.state === "awaiting" ? (c(), d("svg", Xn, [...t[2] || (t[2] = [
2605
2607
  a("circle", {
2606
2608
  cx: "12",
2607
2609
  cy: "12",
2608
2610
  r: "10"
2609
2611
  }, null, -1),
2610
2612
  a("polyline", { points: "12 7 12 12 15 14" }, null, -1)
2611
- ])])) : (c(), d("svg", Xn, [...t[3] || (t[3] = [
2613
+ ])])) : (c(), d("svg", Zn, [...t[3] || (t[3] = [
2612
2614
  a("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),
2613
2615
  a("line", {
2614
2616
  x1: "12",
@@ -2624,19 +2626,19 @@ function ns(e, t, n, i, r, s) {
2624
2626
  }, null, -1)
2625
2627
  ])]))
2626
2628
  ]),
2627
- a("span", Zn, [
2628
- a("span", es, p(n.label), 1),
2629
+ a("span", es, [
2630
+ a("span", ts, p(n.label), 1),
2629
2631
  s.detailText ? (c(), d(B, { key: 0 }, [
2630
2632
  t[4] || (t[4] = a("span", {
2631
2633
  class: "wm-result__sep",
2632
2634
  "aria-hidden": "true"
2633
2635
  }, " · ", -1)),
2634
- a("span", ts, p(s.detailText), 1)
2636
+ a("span", ns, p(s.detailText), 1)
2635
2637
  ], 64)) : k("", !0)
2636
2638
  ])
2637
2639
  ], 2);
2638
2640
  }
2639
- const ss = /* @__PURE__ */ E(Wn, [["render", ns], ["__scopeId", "data-v-7284acd0"]]), rs = {
2641
+ const rs = /* @__PURE__ */ E(Gn, [["render", ss], ["__scopeId", "data-v-7284acd0"]]), is = {
2640
2642
  name: "WmArtifactFormResponse",
2641
2643
  inject: {
2642
2644
  // Translator shared by the Messenger shell; French fallback when
@@ -2652,12 +2654,12 @@ const ss = /* @__PURE__ */ E(Wn, [["render", ns], ["__scopeId", "data-v-7284acd0
2652
2654
  return Array.isArray((e = this.data) == null ? void 0 : e.fields) ? this.data.fields : [];
2653
2655
  }
2654
2656
  }
2655
- }, is = { class: "wm-art wm-art--formResponse" }, as = { class: "wm-art__head" }, os = { class: "wm-art__title" }, ls = { class: "wm-art__badge wm-art__badge--success" }, cs = { class: "wm-art__body" }, ds = { class: "wm-art__fieldLabel" };
2656
- function us(e, t, n, i, r, s) {
2657
- return c(), d("div", is, [
2658
- a("div", as, [
2659
- a("div", os, p(n.data.title || s.t("form.title")), 1),
2660
- a("span", ls, [
2657
+ }, as = { class: "wm-art wm-art--formResponse" }, os = { class: "wm-art__head" }, ls = { class: "wm-art__title" }, cs = { class: "wm-art__badge wm-art__badge--success" }, ds = { class: "wm-art__body" }, us = { class: "wm-art__fieldLabel" };
2658
+ function ms(e, t, n, i, r, s) {
2659
+ return c(), d("div", as, [
2660
+ a("div", os, [
2661
+ a("div", ls, p(n.data.title || s.t("form.title")), 1),
2662
+ a("span", cs, [
2661
2663
  t[0] || (t[0] = a("svg", {
2662
2664
  width: "11",
2663
2665
  height: "11",
@@ -2674,12 +2676,12 @@ function us(e, t, n, i, r, s) {
2674
2676
  ye(" " + p(s.t("form.sent")), 1)
2675
2677
  ])
2676
2678
  ]),
2677
- a("div", cs, [
2679
+ a("div", ds, [
2678
2680
  (c(!0), d(B, null, U(s.fields, (o, l) => (c(), d("div", {
2679
2681
  key: l,
2680
2682
  class: "wm-art__field"
2681
2683
  }, [
2682
- a("div", ds, p(o.label), 1),
2684
+ a("div", us, p(o.label), 1),
2683
2685
  a("div", {
2684
2686
  class: I([
2685
2687
  "wm-art__fieldValue",
@@ -2690,7 +2692,7 @@ function us(e, t, n, i, r, s) {
2690
2692
  ])
2691
2693
  ]);
2692
2694
  }
2693
- const ms = /* @__PURE__ */ E(rs, [["render", us], ["__scopeId", "data-v-713aecf1"]]), hs = {
2695
+ const hs = /* @__PURE__ */ E(is, [["render", ms], ["__scopeId", "data-v-713aecf1"]]), fs = {
2694
2696
  name: "WmArtifactInfoCard",
2695
2697
  props: {
2696
2698
  data: { type: Object, required: !0 }
@@ -2705,32 +2707,32 @@ const ms = /* @__PURE__ */ E(rs, [["render", us], ["__scopeId", "data-v-713aecf1
2705
2707
  return !!((e = this.data) != null && e.body) || this.fields.length > 0;
2706
2708
  }
2707
2709
  }
2708
- }, fs = { class: "wm-art wm-art--infoCard" }, _s = {
2710
+ }, _s = { class: "wm-art wm-art--infoCard" }, gs = {
2709
2711
  key: 0,
2710
2712
  class: "wm-art__image"
2711
- }, gs = ["src", "alt"], ps = { class: "wm-art__head" }, vs = { class: "wm-art__headMain" }, ys = { class: "wm-art__title" }, ws = {
2713
+ }, ps = ["src", "alt"], vs = { class: "wm-art__head" }, ys = { class: "wm-art__headMain" }, ws = { class: "wm-art__title" }, bs = {
2712
2714
  key: 0,
2713
2715
  class: "wm-art__subtitle"
2714
- }, bs = {
2716
+ }, ks = {
2715
2717
  key: 1,
2716
2718
  class: "wm-art__body"
2717
- }, ks = {
2719
+ }, Cs = {
2718
2720
  key: 0,
2719
2721
  class: "wm-art__text"
2720
- }, Cs = { class: "wm-art__fieldLabel" };
2721
- function As(e, t, n, i, r, s) {
2722
- return c(), d("div", fs, [
2723
- n.data.image_url ? (c(), d("figure", _s, [
2722
+ }, As = { class: "wm-art__fieldLabel" };
2723
+ function Ss(e, t, n, i, r, s) {
2724
+ return c(), d("div", _s, [
2725
+ n.data.image_url ? (c(), d("figure", gs, [
2724
2726
  a("img", {
2725
2727
  src: n.data.image_url,
2726
2728
  alt: n.data.title || "",
2727
2729
  loading: "lazy"
2728
- }, null, 8, gs)
2730
+ }, null, 8, ps)
2729
2731
  ])) : k("", !0),
2730
- a("div", ps, [
2731
- a("div", vs, [
2732
- a("div", ys, p(n.data.title), 1),
2733
- n.data.subtitle ? (c(), d("div", ws, p(n.data.subtitle), 1)) : k("", !0)
2732
+ a("div", vs, [
2733
+ a("div", ys, [
2734
+ a("div", ws, p(n.data.title), 1),
2735
+ n.data.subtitle ? (c(), d("div", bs, p(n.data.subtitle), 1)) : k("", !0)
2734
2736
  ]),
2735
2737
  n.data.badge && n.data.badge.label ? (c(), d("span", {
2736
2738
  key: 0,
@@ -2740,13 +2742,13 @@ function As(e, t, n, i, r, s) {
2740
2742
  ])
2741
2743
  }, p(n.data.badge.label), 3)) : k("", !0)
2742
2744
  ]),
2743
- s.hasBody ? (c(), d("div", bs, [
2744
- n.data.body ? (c(), d("div", ks, p(n.data.body), 1)) : k("", !0),
2745
+ s.hasBody ? (c(), d("div", ks, [
2746
+ n.data.body ? (c(), d("div", Cs, p(n.data.body), 1)) : k("", !0),
2745
2747
  s.fields.length ? (c(!0), d(B, { key: 1 }, U(s.fields, (o, l) => (c(), d("div", {
2746
2748
  key: l,
2747
2749
  class: "wm-art__field"
2748
2750
  }, [
2749
- a("div", Cs, p(o.label), 1),
2751
+ a("div", As, p(o.label), 1),
2750
2752
  a("div", {
2751
2753
  class: I([
2752
2754
  "wm-art__fieldValue",
@@ -2757,8 +2759,8 @@ function As(e, t, n, i, r, s) {
2757
2759
  ])) : k("", !0)
2758
2760
  ]);
2759
2761
  }
2760
- const Ss = /* @__PURE__ */ E(hs, [["render", As], ["__scopeId", "data-v-7eae0e4a"]]);
2761
- function Ms(e, t, n) {
2762
+ const Ms = /* @__PURE__ */ E(fs, [["render", Ss], ["__scopeId", "data-v-7eae0e4a"]]);
2763
+ function Ts(e, t, n) {
2762
2764
  if (!e) return "";
2763
2765
  const i = new Date(e);
2764
2766
  if (Number.isNaN(i.getTime())) return e;
@@ -2772,7 +2774,7 @@ function Ms(e, t, n) {
2772
2774
  });
2773
2775
  return `${r}${n}${s}`;
2774
2776
  }
2775
- const Ts = {
2777
+ const xs = {
2776
2778
  name: "WmArtifactTicket",
2777
2779
  inject: {
2778
2780
  // Translator + resolved-language getter shared by the Messenger
@@ -2790,7 +2792,7 @@ const Ts = {
2790
2792
  },
2791
2793
  formattedDate() {
2792
2794
  var e;
2793
- return Ms(
2795
+ return Ts(
2794
2796
  (e = this.data) == null ? void 0 : e.created_at,
2795
2797
  ce(this.wmLocale()),
2796
2798
  this.t("ticket.dateAt")
@@ -2818,13 +2820,13 @@ const Ts = {
2818
2820
  return /high|haute|élev|elev|critic|critiq|urgent/.test(t) ? 3 : /low|basse|faible|minor/.test(t) ? 1 : 2;
2819
2821
  }
2820
2822
  }
2821
- }, xs = { class: "wm-art wm-art--ticket" }, Os = { class: "wm-art__head wm-tk__head" }, Is = { class: "wm-art__title wm-tk__title" }, Bs = { class: "wm-tk__sub" }, Ls = { class: "wm-tk__ref" }, Es = {
2823
+ }, Os = { class: "wm-art wm-art--ticket" }, Is = { class: "wm-art__head wm-tk__head" }, Bs = { class: "wm-art__title wm-tk__title" }, Ls = { class: "wm-tk__sub" }, Es = { class: "wm-tk__ref" }, Rs = {
2822
2824
  key: 0,
2823
2825
  class: "wm-tk__text"
2824
- }, Rs = {
2826
+ }, Ns = {
2825
2827
  key: 0,
2826
2828
  class: "wm-art__body"
2827
- }, Ns = { class: "wm-art__fieldLabel" }, Fs = ["data-level"], Us = {
2829
+ }, Fs = { class: "wm-art__fieldLabel" }, Us = ["data-level"], js = {
2828
2830
  key: 1,
2829
2831
  class: "wm-tk__date",
2830
2832
  width: "12",
@@ -2836,16 +2838,16 @@ const Ts = {
2836
2838
  "stroke-linecap": "round",
2837
2839
  "stroke-linejoin": "round",
2838
2840
  "aria-hidden": "true"
2839
- }, js = {
2841
+ }, Ps = {
2840
2842
  key: 1,
2841
2843
  class: "wm-art__footer wm-tk__footer"
2842
2844
  };
2843
- function Ps(e, t, n, i, r, s) {
2844
- return c(), d("div", xs, [
2845
- a("div", Os, [
2846
- a("div", Is, p(n.data.title), 1),
2847
- a("div", Bs, [
2848
- a("div", Ls, [
2845
+ function Ds(e, t, n, i, r, s) {
2846
+ return c(), d("div", Os, [
2847
+ a("div", Is, [
2848
+ a("div", Bs, p(n.data.title), 1),
2849
+ a("div", Ls, [
2850
+ a("div", Es, [
2849
2851
  t[0] || (t[0] = a("svg", {
2850
2852
  width: "11",
2851
2853
  height: "11",
@@ -2876,14 +2878,14 @@ function Ps(e, t, n, i, r, s) {
2876
2878
  ye(" " + p(n.data.status.label), 1)
2877
2879
  ], 2)
2878
2880
  ]),
2879
- n.data.body ? (c(), d("div", Es, p(n.data.body), 1)) : k("", !0)
2881
+ n.data.body ? (c(), d("div", Rs, p(n.data.body), 1)) : k("", !0)
2880
2882
  ]),
2881
- s.fields.length ? (c(), d("div", Rs, [
2883
+ s.fields.length ? (c(), d("div", Ns, [
2882
2884
  (c(!0), d(B, null, U(s.fields, (o, l) => (c(), d("div", {
2883
2885
  key: l,
2884
2886
  class: "wm-art__field"
2885
2887
  }, [
2886
- a("div", Ns, p(o.label), 1),
2888
+ a("div", Fs, p(o.label), 1),
2887
2889
  a("div", {
2888
2890
  class: I([
2889
2891
  "wm-art__fieldValue",
@@ -2920,7 +2922,7 @@ function Ps(e, t, n, i, r, s) {
2920
2922
  height: "9",
2921
2923
  rx: "0.5"
2922
2924
  }, null, -1)
2923
- ])], 8, Fs)) : s.isDate(o.label) ? (c(), d("svg", Us, [...t[3] || (t[3] = [
2925
+ ])], 8, Us)) : s.isDate(o.label) ? (c(), d("svg", js, [...t[3] || (t[3] = [
2924
2926
  a("rect", {
2925
2927
  x: "3",
2926
2928
  y: "4",
@@ -2934,7 +2936,7 @@ function Ps(e, t, n, i, r, s) {
2934
2936
  ], 2)
2935
2937
  ]))), 128))
2936
2938
  ])) : k("", !0),
2937
- n.data.created_at ? (c(), d("div", js, [
2939
+ n.data.created_at ? (c(), d("div", Ps, [
2938
2940
  t[4] || (t[4] = a("svg", {
2939
2941
  width: "11",
2940
2942
  height: "11",
@@ -2959,11 +2961,11 @@ function Ps(e, t, n, i, r, s) {
2959
2961
  ])) : k("", !0)
2960
2962
  ]);
2961
2963
  }
2962
- const Ds = /* @__PURE__ */ E(Ts, [["render", Ps], ["__scopeId", "data-v-5f30c914"]]), zs = {
2963
- form_response: ms,
2964
- info_card: Ss,
2965
- ticket: Ds
2966
- }, qs = {
2964
+ const zs = /* @__PURE__ */ E(xs, [["render", Ds], ["__scopeId", "data-v-5f30c914"]]), qs = {
2965
+ form_response: hs,
2966
+ info_card: Ms,
2967
+ ticket: zs
2968
+ }, Hs = {
2967
2969
  name: "WmArtifactRenderer",
2968
2970
  props: {
2969
2971
  // Forme : { kind: string, data: any } (le `data` est validé
@@ -2974,17 +2976,17 @@ const Ds = /* @__PURE__ */ E(Ts, [["render", Ps], ["__scopeId", "data-v-5f30c914
2974
2976
  component() {
2975
2977
  var t;
2976
2978
  const e = (t = this.artifact) == null ? void 0 : t.kind;
2977
- return e && zs[e] || null;
2979
+ return e && qs[e] || null;
2978
2980
  }
2979
2981
  }
2980
2982
  };
2981
- function Hs(e, t, n, i, r, s) {
2983
+ function $s(e, t, n, i, r, s) {
2982
2984
  return s.component ? (c(), N(ze(s.component), {
2983
2985
  key: 0,
2984
2986
  data: n.artifact.data
2985
2987
  }, null, 8, ["data"])) : k("", !0);
2986
2988
  }
2987
- const $s = /* @__PURE__ */ E(qs, [["render", Hs]]), Vs = {
2989
+ const Vs = /* @__PURE__ */ E(Hs, [["render", $s]]), Ks = {
2988
2990
  name: "WmAttachmentPreview",
2989
2991
  inject: {
2990
2992
  signAttachmentFn: { default: null },
@@ -3052,15 +3054,15 @@ const $s = /* @__PURE__ */ E(qs, [["render", Hs]]), Vs = {
3052
3054
  this.safeHref === "#" && e.preventDefault();
3053
3055
  }
3054
3056
  }
3055
- }, Ks = ["href"], Ws = ["src", "alt"], Gs = ["src"], Ys = ["src"], Js = ["href", "download"], Qs = { class: "wm-att__main" }, Xs = { class: "wm-att__name" }, Zs = {
3057
+ }, Ws = ["href"], Gs = ["src", "alt"], Ys = ["src"], Js = ["src"], Qs = ["href", "download"], Xs = { class: "wm-att__main" }, Zs = { class: "wm-att__name" }, er = {
3056
3058
  key: 0,
3057
3059
  class: "wm-att__meta"
3058
- }, er = {
3060
+ }, tr = {
3059
3061
  key: 0,
3060
3062
  class: "wm-att__spin",
3061
3063
  "aria-hidden": "true"
3062
3064
  };
3063
- function tr(e, t, n, i, r, s) {
3065
+ function nr(e, t, n, i, r, s) {
3064
3066
  return c(), d("div", {
3065
3067
  class: I(["wm-att", ["wm-att--" + (s.kind || "file")]])
3066
3068
  }, [
@@ -3075,18 +3077,18 @@ function tr(e, t, n, i, r, s) {
3075
3077
  src: r.url,
3076
3078
  alt: s.displayName,
3077
3079
  loading: "lazy"
3078
- }, null, 8, Ws)
3079
- ], 8, Ks)) : s.kind === "audio" && r.url ? (c(), d("audio", {
3080
+ }, null, 8, Gs)
3081
+ ], 8, Ws)) : s.kind === "audio" && r.url ? (c(), d("audio", {
3080
3082
  key: 1,
3081
3083
  src: r.url,
3082
3084
  controls: "",
3083
3085
  preload: "metadata"
3084
- }, null, 8, Gs)) : s.kind === "video" && r.url ? (c(), d("video", {
3086
+ }, null, 8, Ys)) : s.kind === "video" && r.url ? (c(), d("video", {
3085
3087
  key: 2,
3086
3088
  src: r.url,
3087
3089
  controls: "",
3088
3090
  preload: "metadata"
3089
- }, null, 8, Ys)) : (c(), d("a", {
3091
+ }, null, 8, Js)) : (c(), d("a", {
3090
3092
  key: 3,
3091
3093
  class: "wm-att__file",
3092
3094
  href: s.safeHref,
@@ -3111,15 +3113,15 @@ function tr(e, t, n, i, r, s) {
3111
3113
  a("path", { d: "M14 2v6h6" })
3112
3114
  ])
3113
3115
  ], -1)),
3114
- a("span", Qs, [
3115
- a("span", Xs, p(s.displayName), 1),
3116
- s.sizeLabel ? (c(), d("span", Zs, p(s.sizeLabel), 1)) : k("", !0)
3116
+ a("span", Xs, [
3117
+ a("span", Zs, p(s.displayName), 1),
3118
+ s.sizeLabel ? (c(), d("span", er, p(s.sizeLabel), 1)) : k("", !0)
3117
3119
  ]),
3118
- r.loading ? (c(), d("span", er)) : k("", !0)
3119
- ], 8, Js))
3120
+ r.loading ? (c(), d("span", tr)) : k("", !0)
3121
+ ], 8, Qs))
3120
3122
  ], 2);
3121
3123
  }
3122
- const nr = /* @__PURE__ */ E(Vs, [["render", tr], ["__scopeId", "data-v-0c877a62"]]), sr = {
3124
+ const sr = /* @__PURE__ */ E(Ks, [["render", nr], ["__scopeId", "data-v-0c877a62"]]), rr = {
3123
3125
  name: "WmBubble",
3124
3126
  props: {
3125
3127
  role: { type: String, default: "ai" },
@@ -3131,45 +3133,45 @@ const nr = /* @__PURE__ */ E(Vs, [["render", tr], ["__scopeId", "data-v-0c877a62
3131
3133
  return fn(this.text);
3132
3134
  }
3133
3135
  }
3134
- }, rr = ["innerHTML"];
3135
- function ir(e, t, n, i, r, s) {
3136
+ }, ir = ["innerHTML"];
3137
+ function ar(e, t, n, i, r, s) {
3136
3138
  return c(), d("div", {
3137
3139
  class: I(["wm-bubble", "wm-bubble--" + n.role])
3138
3140
  }, [
3139
3141
  qe(e.$slots, "default", {}, () => [
3140
- a("span", { innerHTML: s.rendered }, null, 8, rr)
3142
+ a("span", { innerHTML: s.rendered }, null, 8, ir)
3141
3143
  ], !0)
3142
3144
  ], 2);
3143
3145
  }
3144
- const ar = /* @__PURE__ */ E(sr, [["render", ir], ["__scopeId", "data-v-7ab13147"]]), or = { name: "WmTyping" }, lr = { class: "wm-typing" };
3145
- function cr(e, t, n, i, r, s) {
3146
- return c(), d("div", lr, [...t[0] || (t[0] = [
3146
+ const or = /* @__PURE__ */ E(rr, [["render", ar], ["__scopeId", "data-v-7ab13147"]]), lr = { name: "WmTyping" }, cr = { class: "wm-typing" };
3147
+ function dr(e, t, n, i, r, s) {
3148
+ return c(), d("div", cr, [...t[0] || (t[0] = [
3147
3149
  a("span", { style: { "animation-delay": "0s" } }, null, -1),
3148
3150
  a("span", { style: { "animation-delay": "0.2s" } }, null, -1),
3149
3151
  a("span", { style: { "animation-delay": "0.4s" } }, null, -1)
3150
3152
  ])]);
3151
3153
  }
3152
- const dr = /* @__PURE__ */ E(or, [["render", cr], ["__scopeId", "data-v-df2447fd"]]);
3154
+ const ur = /* @__PURE__ */ E(lr, [["render", dr], ["__scopeId", "data-v-df2447fd"]]);
3153
3155
  function X(e) {
3154
3156
  return e ? e.client_msg_id || e.id : "";
3155
3157
  }
3156
- const ur = {
3158
+ const mr = {
3157
3159
  transferred_to_human: "system.transferredToHuman",
3158
3160
  assigned: "system.assigned",
3159
3161
  unassigned: "system.unassigned",
3160
3162
  resolved: "system.resolved",
3161
3163
  reopened: "system.reopened",
3162
3164
  idle: "system.idle"
3163
- }, mr = 80, hr = 200, fr = {
3165
+ }, hr = 80, fr = 200, _r = {
3164
3166
  name: "WmMessageList",
3165
3167
  components: {
3166
3168
  AIAvatar: de,
3167
3169
  HumanAvatar: Ne,
3168
- Bubble: ar,
3169
- Typing: dr,
3170
- ActionResult: ss,
3171
- AttachmentPreview: nr,
3172
- ArtifactRenderer: $s
3170
+ Bubble: or,
3171
+ Typing: ur,
3172
+ ActionResult: rs,
3173
+ AttachmentPreview: sr,
3174
+ ArtifactRenderer: Vs
3173
3175
  },
3174
3176
  inject: {
3175
3177
  // Translator + resolved-language getter shared by the Messenger
@@ -3349,11 +3351,11 @@ const ur = {
3349
3351
  return `g-${n}`;
3350
3352
  },
3351
3353
  isAtBottom(e) {
3352
- return e.scrollHeight - e.scrollTop - e.clientHeight <= mr;
3354
+ return e.scrollHeight - e.scrollTop - e.clientHeight <= hr;
3353
3355
  },
3354
3356
  onScroll() {
3355
3357
  const e = this.$refs.scrollEl;
3356
- e && (this.loadingMore || !this.hasMore || this._pendingLoadMore || e.scrollTop <= hr && (this._pendingLoadMore = !0, this.$emit("load-more")));
3358
+ e && (this.loadingMore || !this.hasMore || this._pendingLoadMore || e.scrollTop <= fr && (this._pendingLoadMore = !0, this.$emit("load-more")));
3357
3359
  },
3358
3360
  // Capture pre-patch scroll state and restore it on the next tick.
3359
3361
  //
@@ -3669,7 +3671,7 @@ const ur = {
3669
3671
  },
3670
3672
  systemLabel(e) {
3671
3673
  var r, s, o;
3672
- const t = (r = e == null ? void 0 : e.payload) == null ? void 0 : r.event, n = ur[t], i = ((s = e == null ? void 0 : e.metadata) == null ? void 0 : s.agent_name) || ((o = e == null ? void 0 : e.author) == null ? void 0 : o.name) || this.t("messageList.anAgent");
3674
+ const t = (r = e == null ? void 0 : e.payload) == null ? void 0 : r.event, n = mr[t], i = ((s = e == null ? void 0 : e.metadata) == null ? void 0 : s.agent_name) || ((o = e == null ? void 0 : e.author) == null ? void 0 : o.name) || this.t("messageList.anAgent");
3673
3675
  return n ? this.t(n, { name: i }) : (e == null ? void 0 : e.text_md) || this.t("messageList.conversationUpdate");
3674
3676
  },
3675
3677
  scrollToBottom() {
@@ -3677,70 +3679,70 @@ const ur = {
3677
3679
  e && (e.scrollTop = e.scrollHeight);
3678
3680
  }
3679
3681
  }
3680
- }, _r = {
3682
+ }, gr = {
3681
3683
  key: 0,
3682
3684
  class: "wm-list__loadMore",
3683
3685
  role: "status",
3684
3686
  "aria-live": "polite"
3685
- }, gr = { class: "wm-list__loadMore-lbl" }, pr = {
3687
+ }, pr = { class: "wm-list__loadMore-lbl" }, vr = {
3686
3688
  key: 1,
3687
3689
  class: "wm-list__historyEnd"
3688
- }, vr = {
3690
+ }, yr = {
3689
3691
  key: 2,
3690
3692
  class: "wm-list__sep"
3691
- }, yr = { class: "wm-list__sep-label" }, wr = {
3693
+ }, wr = { class: "wm-list__sep-label" }, br = {
3692
3694
  key: 0,
3693
3695
  class: "wm-list__sep wm-list__sep--unread"
3694
- }, br = { class: "wm-list__sep-label wm-list__sep-label--unread" }, kr = {
3696
+ }, kr = { class: "wm-list__sep-label wm-list__sep-label--unread" }, Cr = {
3695
3697
  key: 0,
3696
3698
  class: "wm-list__sysep"
3697
- }, Cr = { class: "wm-list__sysep-label" }, Ar = ["data-row-key"], Sr = {
3699
+ }, Ar = { class: "wm-list__sysep-label" }, Sr = ["data-row-key"], Mr = {
3698
3700
  key: 0,
3699
3701
  class: "wm-list__avatarSlot"
3700
- }, Mr = {
3702
+ }, Tr = {
3701
3703
  key: 5,
3702
3704
  class: "wm-list__body"
3703
- }, Tr = { key: 0 }, xr = {
3705
+ }, xr = { key: 0 }, Or = {
3704
3706
  key: 1,
3705
3707
  "aria-hidden": "true"
3706
- }, Or = { key: 2 }, Ir = {
3708
+ }, Ir = { key: 2 }, Br = {
3707
3709
  key: 3,
3708
3710
  class: "wm-list__row wm-list__row--ai fade-up"
3709
- }, Br = { class: "wm-list__avatarSlot" };
3710
- function Lr(e, t, n, i, r, s) {
3711
+ }, Lr = { class: "wm-list__avatarSlot" };
3712
+ function Er(e, t, n, i, r, s) {
3711
3713
  const o = L("AIAvatar"), l = L("HumanAvatar"), g = L("ActionResult"), w = L("ArtifactRenderer"), C = L("Bubble"), O = L("AttachmentPreview"), R = L("Typing");
3712
3714
  return c(), d("div", {
3713
3715
  ref: "scrollEl",
3714
3716
  class: I(["wm-list", { "wm-list--silent": r.silentFades }]),
3715
3717
  onScrollPassive: t[0] || (t[0] = (...T) => s.onScroll && s.onScroll(...T))
3716
3718
  }, [
3717
- n.loadingMore ? (c(), d("div", _r, [
3719
+ n.loadingMore ? (c(), d("div", gr, [
3718
3720
  t[1] || (t[1] = a("span", {
3719
3721
  class: "wm-list__loadMore-spinner",
3720
3722
  "aria-hidden": "true"
3721
3723
  }, null, -1)),
3722
- a("span", gr, p(s.t("messageList.loadingHistory")), 1)
3723
- ])) : s.historyExhausted ? (c(), d("div", pr, p(s.t("messageList.conversationStart")), 1)) : k("", !0),
3724
- n.dateLabel ? (c(), d("div", vr, [
3724
+ a("span", pr, p(s.t("messageList.loadingHistory")), 1)
3725
+ ])) : s.historyExhausted ? (c(), d("div", vr, p(s.t("messageList.conversationStart")), 1)) : k("", !0),
3726
+ n.dateLabel ? (c(), d("div", yr, [
3725
3727
  t[2] || (t[2] = a("div", { class: "wm-list__line" }, null, -1)),
3726
- a("span", yr, p(n.dateLabel), 1),
3728
+ a("span", wr, p(n.dateLabel), 1),
3727
3729
  t[3] || (t[3] = a("div", { class: "wm-list__line" }, null, -1))
3728
3730
  ])) : k("", !0),
3729
3731
  (c(!0), d(B, null, U(s.groups, (T, q) => (c(), d(B, {
3730
3732
  key: T.key
3731
3733
  }, [
3732
- T.key === s.unreadGroupKey ? (c(), d("div", wr, [
3734
+ T.key === s.unreadGroupKey ? (c(), d("div", br, [
3733
3735
  t[4] || (t[4] = a("div", { class: "wm-list__line wm-list__line--unread" }, null, -1)),
3734
- a("span", br, p(s.t("messageList.unread")), 1),
3736
+ a("span", kr, p(s.t("messageList.unread")), 1),
3735
3737
  t[5] || (t[5] = a("div", { class: "wm-list__line wm-list__line--unread" }, null, -1))
3736
3738
  ])) : k("", !0),
3737
3739
  T.role === "system" || T.items.length ? (c(), d("div", {
3738
3740
  key: 1,
3739
3741
  class: I(["wm-list__group", "wm-list__group--" + T.role])
3740
3742
  }, [
3741
- T.role === "system" ? (c(), d("div", kr, [
3743
+ T.role === "system" ? (c(), d("div", Cr, [
3742
3744
  t[6] || (t[6] = a("div", { class: "wm-list__line wm-list__line--strong" }, null, -1)),
3743
- a("span", Cr, p(T.systemLabel), 1),
3745
+ a("span", Ar, p(T.systemLabel), 1),
3744
3746
  t[7] || (t[7] = a("div", { class: "wm-list__line wm-list__line--strong" }, null, -1))
3745
3747
  ])) : (c(), d(B, { key: 1 }, [
3746
3748
  (c(!0), d(B, null, U(T.items, (x, D) => (c(), d("div", {
@@ -3755,7 +3757,7 @@ function Lr(e, t, n, i, r, s) {
3755
3757
  ]]),
3756
3758
  style: $(s.cornersStyle(T, D))
3757
3759
  }, [
3758
- T.role !== "user" ? (c(), d("div", Sr, [
3760
+ T.role !== "user" ? (c(), d("div", Mr, [
3759
3761
  D === T.items.length - 1 ? (c(), d(B, { key: 0 }, [
3760
3762
  T.role === "ai" ? (c(), N(o, {
3761
3763
  key: 0,
@@ -3788,7 +3790,7 @@ function Lr(e, t, n, i, r, s) {
3788
3790
  }, null, 8, ["artifact"])) : x.renderAs === "artifact" ? (c(), N(w, {
3789
3791
  key: 4,
3790
3792
  artifact: s.artifactOf(x.message)
3791
- }, null, 8, ["artifact"])) : (c(), d("div", Mr, [
3793
+ }, null, 8, ["artifact"])) : (c(), d("div", Tr, [
3792
3794
  x.message.text_md ? (c(), N(C, {
3793
3795
  key: 0,
3794
3796
  role: T.role,
@@ -3808,20 +3810,20 @@ function Lr(e, t, n, i, r, s) {
3808
3810
  }, null, 8, ["attachment"]))), 128))
3809
3811
  ], 2)) : k("", !0)
3810
3812
  ]))
3811
- ], 14, Ar))), 128)),
3813
+ ], 14, Sr))), 128)),
3812
3814
  (T.role !== "user" || s.lastTimeOf(T)) && !s.hasTrailingOverlay(T) ? (c(), d("div", {
3813
3815
  key: 0,
3814
3816
  class: I(["wm-list__meta", { "wm-list__meta--right": T.role === "user" }])
3815
3817
  }, [
3816
- T.role !== "user" ? (c(), d("span", Tr, p(s.roleLabel(T)), 1)) : k("", !0),
3817
- T.role !== "user" && s.lastTimeOf(T) ? (c(), d("span", xr, "·")) : k("", !0),
3818
- s.lastTimeOf(T) ? (c(), d("span", Or, p(s.lastTimeOf(T)), 1)) : k("", !0)
3818
+ T.role !== "user" ? (c(), d("span", xr, p(s.roleLabel(T)), 1)) : k("", !0),
3819
+ T.role !== "user" && s.lastTimeOf(T) ? (c(), d("span", Or, "·")) : k("", !0),
3820
+ s.lastTimeOf(T) ? (c(), d("span", Ir, p(s.lastTimeOf(T)), 1)) : k("", !0)
3819
3821
  ], 2)) : k("", !0)
3820
3822
  ], 64))
3821
3823
  ], 2)) : k("", !0)
3822
3824
  ], 64))), 128)),
3823
- n.streamingActive ? (c(), d("div", Ir, [
3824
- a("div", Br, [
3825
+ n.streamingActive ? (c(), d("div", Br, [
3826
+ a("div", Lr, [
3825
3827
  V(o, {
3826
3828
  size: 26,
3827
3829
  tail: !0,
@@ -3833,8 +3835,8 @@ function Lr(e, t, n, i, r, s) {
3833
3835
  ])) : k("", !0)
3834
3836
  ], 34);
3835
3837
  }
3836
- const Er = /* @__PURE__ */ E(fr, [["render", Lr], ["__scopeId", "data-v-d769b193"]]), me = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", Ce = typeof window < "u" && typeof window.MediaRecorder < "u";
3837
- function Rr() {
3838
+ const Rr = /* @__PURE__ */ E(_r, [["render", Er], ["__scopeId", "data-v-d769b193"]]), me = typeof navigator < "u" && !!navigator.mediaDevices && typeof navigator.mediaDevices.getDisplayMedia == "function", Ce = typeof window < "u" && typeof window.MediaRecorder < "u";
3839
+ function Nr() {
3838
3840
  return Ce && [
3839
3841
  "video/webm;codecs=vp9,opus",
3840
3842
  "video/webm;codecs=vp8,opus",
@@ -3854,10 +3856,10 @@ function Ue({ audio: e }) {
3854
3856
  systemAudio: e ? "include" : "exclude"
3855
3857
  };
3856
3858
  }
3857
- function Ha(e) {
3859
+ function $a(e) {
3858
3860
  return e ? e.startsWith("image/") ? "image" : e.startsWith("video/") ? "video" : "file" : "file";
3859
3861
  }
3860
- async function Nr() {
3862
+ async function Fr() {
3861
3863
  if (!me) return null;
3862
3864
  let e;
3863
3865
  try {
@@ -3868,7 +3870,7 @@ async function Nr() {
3868
3870
  return (t == null ? void 0 : t.name) !== "NotAllowedError" && console.error("[media] screenshot picker", t), null;
3869
3871
  }
3870
3872
  try {
3871
- return await Fr(e);
3873
+ return await Ur(e);
3872
3874
  } catch (t) {
3873
3875
  return console.error("[media] screenshot capture", t), null;
3874
3876
  } finally {
@@ -3877,7 +3879,7 @@ async function Nr() {
3877
3879
  });
3878
3880
  }
3879
3881
  }
3880
- async function Fr(e) {
3882
+ async function Ur(e) {
3881
3883
  const t = document.createElement("video");
3882
3884
  t.muted = !0, t.playsInline = !0, t.srcObject = e, await t.play(), await new Promise((l) => requestAnimationFrame(l));
3883
3885
  const n = t.videoWidth || 1280, i = t.videoHeight || 720, r = document.createElement("canvas");
@@ -3890,7 +3892,7 @@ async function Fr(e) {
3890
3892
  }), o = (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-").slice(0, 19);
3891
3893
  return new File([s], `capture-${o}.png`, { type: "image/png" });
3892
3894
  }
3893
- async function Ur(e = {}) {
3895
+ async function jr(e = {}) {
3894
3896
  var w;
3895
3897
  if (!me || !Ce) return null;
3896
3898
  let t;
@@ -3901,7 +3903,7 @@ async function Ur(e = {}) {
3901
3903
  } catch (C) {
3902
3904
  return (C == null ? void 0 : C.name) !== "NotAllowedError" && console.error("[media] record picker", C), null;
3903
3905
  }
3904
- const n = Rr();
3906
+ const n = Nr();
3905
3907
  let i;
3906
3908
  try {
3907
3909
  i = n ? new window.MediaRecorder(t, { mimeType: n }) : new window.MediaRecorder(t);
@@ -3955,7 +3957,7 @@ async function Ur(e = {}) {
3955
3957
  }
3956
3958
  };
3957
3959
  }
3958
- const jr = [
3960
+ const Pr = [
3959
3961
  {
3960
3962
  action: "file",
3961
3963
  labelKey: "composer.attachFile",
@@ -3971,7 +3973,7 @@ const jr = [
3971
3973
  labelKey: "composer.recordScreen",
3972
3974
  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"
3973
3975
  }
3974
- ], Pr = {
3976
+ ], Dr = {
3975
3977
  name: "WmComposer",
3976
3978
  inject: {
3977
3979
  // Translator shared by the Messenger shell; French fallback when
@@ -3999,7 +4001,7 @@ const jr = [
3999
4001
  return !this.disabled && !!this.local.trim();
4000
4002
  },
4001
4003
  attachItems() {
4002
- return jr.map((e) => ({
4004
+ return Pr.map((e) => ({
4003
4005
  ...e,
4004
4006
  label: this.t(e.labelKey),
4005
4007
  disabled: e.action === "screenshot" && !me || e.action === "record" && (!me || !Ce)
@@ -4072,13 +4074,13 @@ const jr = [
4072
4074
  },
4073
4075
  async captureScreenshot() {
4074
4076
  if (this.disabled) return;
4075
- const e = await Nr();
4077
+ const e = await Fr();
4076
4078
  e && this.$emit("attach", e);
4077
4079
  },
4078
4080
  async startRecording() {
4079
4081
  if (this.recording || this.disabled) return;
4080
4082
  this.recordingElapsed = 0;
4081
- const e = await Ur({
4083
+ const e = await jr({
4082
4084
  onstart: () => {
4083
4085
  this.recording = !0;
4084
4086
  },
@@ -4103,27 +4105,27 @@ const jr = [
4103
4105
  }
4104
4106
  }
4105
4107
  }
4106
- }, Dr = { class: "wm-compose-wrap" }, zr = {
4108
+ }, zr = { class: "wm-compose-wrap" }, qr = {
4107
4109
  key: 0,
4108
4110
  class: "wm-rec"
4109
- }, qr = { class: "wm-rec__lbl" }, Hr = {
4111
+ }, Hr = { class: "wm-rec__lbl" }, $r = {
4110
4112
  key: 1,
4111
4113
  class: "wm-compose__menu",
4112
4114
  role: "menu"
4113
- }, $r = ["disabled", "onClick"], Vr = { class: "wm-compose__menuIcon" }, Kr = {
4115
+ }, Vr = ["disabled", "onClick"], Kr = { class: "wm-compose__menuIcon" }, Wr = {
4114
4116
  viewBox: "0 0 24 24",
4115
4117
  width: "14",
4116
4118
  height: "14",
4117
4119
  "aria-hidden": "true"
4118
- }, Wr = ["d"], Gr = ["placeholder", "disabled"], Yr = { class: "wm-compose__actions" }, Jr = ["title", "aria-label", "disabled"], Qr = ["disabled", "aria-label"];
4119
- function Xr(e, t, n, i, r, s) {
4120
- return c(), d("div", Dr, [
4121
- r.recording ? (c(), d("div", zr, [
4120
+ }, Gr = ["d"], Yr = ["placeholder", "disabled"], Jr = { class: "wm-compose__actions" }, Qr = ["title", "aria-label", "disabled"], Xr = ["disabled", "aria-label"];
4121
+ function Zr(e, t, n, i, r, s) {
4122
+ return c(), d("div", zr, [
4123
+ r.recording ? (c(), d("div", qr, [
4122
4124
  t[8] || (t[8] = a("span", {
4123
4125
  class: "wm-rec__dot",
4124
4126
  "aria-hidden": "true"
4125
4127
  }, null, -1)),
4126
- a("span", qr, p(s.t("composer.recording", { time: s.recordingElapsedLabel })), 1),
4128
+ a("span", Hr, p(s.t("composer.recording", { time: s.recordingElapsedLabel })), 1),
4127
4129
  a("button", {
4128
4130
  type: "button",
4129
4131
  class: "wm-rec__stop",
@@ -4146,7 +4148,7 @@ function Xr(e, t, n, i, r, s) {
4146
4148
  class: "wm-compose__overlay",
4147
4149
  onClick: t[2] || (t[2] = (o) => r.attachOpen = !1)
4148
4150
  })) : k("", !0),
4149
- r.attachOpen ? (c(), d("div", Hr, [
4151
+ r.attachOpen ? (c(), d("div", $r, [
4150
4152
  (c(!0), d(B, null, U(s.attachItems, (o) => (c(), d("button", {
4151
4153
  key: o.action,
4152
4154
  type: "button",
@@ -4154,8 +4156,8 @@ function Xr(e, t, n, i, r, s) {
4154
4156
  disabled: o.disabled,
4155
4157
  onClick: (l) => s.onAttachAction(o.action)
4156
4158
  }, [
4157
- a("span", Vr, [
4158
- (c(), d("svg", Kr, [
4159
+ a("span", Kr, [
4160
+ (c(), d("svg", Wr, [
4159
4161
  a("path", {
4160
4162
  d: o.path,
4161
4163
  stroke: "currentColor",
@@ -4163,11 +4165,11 @@ function Xr(e, t, n, i, r, s) {
4163
4165
  "stroke-linecap": "round",
4164
4166
  "stroke-linejoin": "round",
4165
4167
  fill: "none"
4166
- }, null, 8, Wr)
4168
+ }, null, 8, Gr)
4167
4169
  ]))
4168
4170
  ]),
4169
4171
  a("span", null, p(o.label), 1)
4170
- ], 8, $r))), 128))
4172
+ ], 8, Vr))), 128))
4171
4173
  ])) : k("", !0),
4172
4174
  K(a("textarea", {
4173
4175
  ref: "inputEl",
@@ -4178,10 +4180,10 @@ function Xr(e, t, n, i, r, s) {
4178
4180
  disabled: n.disabled,
4179
4181
  onKeydown: t[4] || (t[4] = (...o) => s.onKeydown && s.onKeydown(...o)),
4180
4182
  onInput: t[5] || (t[5] = (...o) => s.autosize && s.autosize(...o))
4181
- }, null, 40, Gr), [
4183
+ }, null, 40, Yr), [
4182
4184
  [Z, r.local]
4183
4185
  ]),
4184
- a("div", Yr, [
4186
+ a("div", Jr, [
4185
4187
  a("button", {
4186
4188
  type: "button",
4187
4189
  class: I(["wm-compose__icon", { "is-open": r.attachOpen }]),
@@ -4203,7 +4205,7 @@ function Xr(e, t, n, i, r, s) {
4203
4205
  }, [
4204
4206
  a("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" })
4205
4207
  ], -1)
4206
- ])], 10, Jr),
4208
+ ])], 10, Qr),
4207
4209
  a("button", {
4208
4210
  type: "submit",
4209
4211
  class: I(["wm-compose__send", { "is-empty": !s.canSend }]),
@@ -4223,12 +4225,12 @@ function Xr(e, t, n, i, r, s) {
4223
4225
  }, [
4224
4226
  a("path", { d: "M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z" })
4225
4227
  ], -1)
4226
- ])], 10, Qr)
4228
+ ])], 10, Xr)
4227
4229
  ])
4228
4230
  ], 34)
4229
4231
  ]);
4230
4232
  }
4231
- const Zr = /* @__PURE__ */ E(Pr, [["render", Xr], ["__scopeId", "data-v-aa81dbb8"]]), ei = {
4233
+ const ei = /* @__PURE__ */ E(Dr, [["render", Zr], ["__scopeId", "data-v-aa81dbb8"]]), ti = {
4232
4234
  name: "WmSuggestionChips",
4233
4235
  props: {
4234
4236
  items: { type: Array, default: () => [] },
@@ -4245,8 +4247,8 @@ const Zr = /* @__PURE__ */ E(Pr, [["render", Xr], ["__scopeId", "data-v-aa81dbb8
4245
4247
  return this.items.map((e) => (e == null ? void 0 : e.label) || (e == null ? void 0 : e.text) || "").join("§");
4246
4248
  }
4247
4249
  }
4248
- }, ti = ["onClick"];
4249
- function ni(e, t, n, i, r, s) {
4250
+ }, ni = ["onClick"];
4251
+ function si(e, t, n, i, r, s) {
4250
4252
  return n.items.length ? (c(), d("div", {
4251
4253
  key: s.batchKey,
4252
4254
  class: "wm-chips"
@@ -4257,10 +4259,10 @@ function ni(e, t, n, i, r, s) {
4257
4259
  class: "wm-chip",
4258
4260
  style: $({ animationDelay: n.baseDelay + l * n.stepDelay + "ms" }),
4259
4261
  onClick: (g) => e.$emit("select", o)
4260
- }, p(o.label), 13, ti))), 128))
4262
+ }, p(o.label), 13, ni))), 128))
4261
4263
  ])) : k("", !0);
4262
4264
  }
4263
- const si = /* @__PURE__ */ E(ei, [["render", ni], ["__scopeId", "data-v-47ad8085"]]), ri = {
4265
+ const ri = /* @__PURE__ */ E(ti, [["render", si], ["__scopeId", "data-v-47ad8085"]]), ii = {
4264
4266
  name: "WmApprovalCard",
4265
4267
  components: { AIAvatar: de },
4266
4268
  inject: {
@@ -4304,27 +4306,27 @@ const si = /* @__PURE__ */ E(ei, [["render", ni], ["__scopeId", "data-v-47ad8085
4304
4306
  return ((e = this.rejectCallback) == null ? void 0 : e.label) || this.t("approval.reject");
4305
4307
  }
4306
4308
  }
4307
- }, ii = { class: "wm-approval" }, ai = { class: "wm-approval__head" }, oi = { class: "wm-approval__icon" }, li = { class: "wm-approval__main" }, ci = { class: "wm-approval__title" }, di = {
4309
+ }, ai = { class: "wm-approval" }, oi = { class: "wm-approval__head" }, li = { class: "wm-approval__icon" }, ci = { class: "wm-approval__main" }, di = { class: "wm-approval__title" }, ui = {
4308
4310
  key: 0,
4309
4311
  class: "wm-approval__detail"
4310
- }, ui = { class: "wm-approval__actions" };
4311
- function mi(e, t, n, i, r, s) {
4312
+ }, mi = { class: "wm-approval__actions" };
4313
+ function hi(e, t, n, i, r, s) {
4312
4314
  const o = L("AIAvatar");
4313
- return c(), d("div", ii, [
4314
- a("div", ai, [
4315
- a("div", oi, [
4315
+ return c(), d("div", ai, [
4316
+ a("div", oi, [
4317
+ a("div", li, [
4316
4318
  V(o, {
4317
4319
  size: 24,
4318
4320
  name: n.agentName,
4319
4321
  "image-url": n.agentAvatarUrl
4320
4322
  }, null, 8, ["name", "image-url"])
4321
4323
  ]),
4322
- a("div", li, [
4323
- a("div", ci, p(n.action), 1),
4324
- n.detail ? (c(), d("div", di, p(n.detail), 1)) : k("", !0)
4324
+ a("div", ci, [
4325
+ a("div", di, p(n.action), 1),
4326
+ n.detail ? (c(), d("div", ui, p(n.detail), 1)) : k("", !0)
4325
4327
  ])
4326
4328
  ]),
4327
- a("div", ui, [
4329
+ a("div", mi, [
4328
4330
  s.rejectId ? (c(), d("button", {
4329
4331
  key: 0,
4330
4332
  type: "button",
@@ -4340,9 +4342,9 @@ function mi(e, t, n, i, r, s) {
4340
4342
  ])
4341
4343
  ]);
4342
4344
  }
4343
- const hi = /* @__PURE__ */ E(ri, [["render", mi], ["__scopeId", "data-v-a2bed37e"]]);
4345
+ const fi = /* @__PURE__ */ E(ii, [["render", hi], ["__scopeId", "data-v-a2bed37e"]]);
4344
4346
  let Be = 0;
4345
- const fi = /* @__PURE__ */ new Set([
4347
+ const _i = /* @__PURE__ */ new Set([
4346
4348
  "text",
4347
4349
  "textarea",
4348
4350
  "number",
@@ -4350,7 +4352,7 @@ const fi = /* @__PURE__ */ new Set([
4350
4352
  "select",
4351
4353
  "multiselect",
4352
4354
  "date"
4353
- ]), _i = {
4355
+ ]), gi = {
4354
4356
  name: "WmFormCard",
4355
4357
  components: { AIAvatar: de },
4356
4358
  inject: {
@@ -4380,7 +4382,7 @@ const fi = /* @__PURE__ */ new Set([
4380
4382
  // douteux.
4381
4383
  normalizedFields() {
4382
4384
  var t;
4383
- return (Array.isArray((t = this.form) == null ? void 0 : t.fields) ? this.form.fields : []).filter((n) => !(!(n != null && n.key) || !(n != null && n.label) || !fi.has(n == null ? void 0 : n.type) || (n.type === "select" || n.type === "multiselect") && (!Array.isArray(n.options) || n.options.length === 0)));
4385
+ 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)));
4384
4386
  }
4385
4387
  },
4386
4388
  created() {
@@ -4433,47 +4435,47 @@ const fi = /* @__PURE__ */ new Set([
4433
4435
  }
4434
4436
  }
4435
4437
  }
4436
- }, gi = { class: "wm-form" }, pi = { class: "wm-form__head" }, vi = { class: "wm-form__icon" }, yi = { class: "wm-form__main" }, wi = { class: "wm-form__title" }, bi = {
4438
+ }, pi = { class: "wm-form" }, vi = { class: "wm-form__head" }, yi = { class: "wm-form__icon" }, wi = { class: "wm-form__main" }, bi = { class: "wm-form__title" }, ki = {
4437
4439
  key: 0,
4438
4440
  class: "wm-form__detail"
4439
- }, ki = ["for"], Ci = {
4441
+ }, Ci = ["for"], Ai = {
4440
4442
  key: 0,
4441
4443
  class: "wm-form__req",
4442
4444
  "aria-hidden": "true"
4443
- }, Ai = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Si = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Mi = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Ti = ["id", "onUpdate:modelValue", "required", "disabled"], xi = {
4445
+ }, Si = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Mi = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], Ti = ["id", "onUpdate:modelValue", "placeholder", "required", "disabled"], xi = ["id", "onUpdate:modelValue", "required", "disabled"], Oi = {
4444
4446
  key: 4,
4445
4447
  class: "wm-form__bool"
4446
- }, Oi = ["id", "onUpdate:modelValue", "disabled"], Ii = ["id", "onUpdate:modelValue", "required", "disabled"], Bi = {
4448
+ }, Ii = ["id", "onUpdate:modelValue", "disabled"], Bi = ["id", "onUpdate:modelValue", "required", "disabled"], Li = {
4447
4449
  value: "",
4448
4450
  disabled: ""
4449
- }, Li = ["value"], Ei = {
4451
+ }, Ei = ["value"], Ri = {
4450
4452
  key: 6,
4451
4453
  class: "wm-form__multi"
4452
- }, Ri = ["value", "checked", "disabled", "onChange"], Ni = {
4454
+ }, Ni = ["value", "checked", "disabled", "onChange"], Fi = {
4453
4455
  key: 0,
4454
4456
  class: "wm-form__err"
4455
- }, Fi = ["disabled"], Ui = {
4457
+ }, Ui = ["disabled"], ji = {
4456
4458
  key: 0,
4457
4459
  class: "wm-form__spinner",
4458
4460
  "aria-hidden": "true"
4459
- }, ji = {
4461
+ }, Pi = {
4460
4462
  key: 2,
4461
4463
  class: "wm-form__doneLbl"
4462
4464
  };
4463
- function Pi(e, t, n, i, r, s) {
4465
+ function Di(e, t, n, i, r, s) {
4464
4466
  const o = L("AIAvatar");
4465
- return c(), d("div", gi, [
4466
- a("div", pi, [
4467
- a("div", vi, [
4467
+ return c(), d("div", pi, [
4468
+ a("div", vi, [
4469
+ a("div", yi, [
4468
4470
  V(o, {
4469
4471
  size: 24,
4470
4472
  name: n.agentName,
4471
4473
  "image-url": n.agentAvatarUrl
4472
4474
  }, null, 8, ["name", "image-url"])
4473
4475
  ]),
4474
- a("div", yi, [
4475
- a("div", wi, p(n.form.title || s.t("form.title")), 1),
4476
- n.form.description ? (c(), d("div", bi, p(n.form.description), 1)) : k("", !0)
4476
+ a("div", wi, [
4477
+ a("div", bi, p(n.form.title || s.t("form.title")), 1),
4478
+ n.form.description ? (c(), d("div", ki, p(n.form.description), 1)) : k("", !0)
4477
4479
  ])
4478
4480
  ]),
4479
4481
  a("form", {
@@ -4489,8 +4491,8 @@ function Pi(e, t, n, i, r, s) {
4489
4491
  class: "wm-form__label"
4490
4492
  }, [
4491
4493
  ye(p(l.label), 1),
4492
- l.required ? (c(), d("span", Ci, "*")) : k("", !0)
4493
- ], 8, ki),
4494
+ l.required ? (c(), d("span", Ai, "*")) : k("", !0)
4495
+ ], 8, Ci),
4494
4496
  l.type === "text" ? K((c(), d("input", {
4495
4497
  key: 0,
4496
4498
  id: `wm-f-${r._uid}-${l.key}`,
@@ -4500,7 +4502,7 @@ function Pi(e, t, n, i, r, s) {
4500
4502
  placeholder: l.placeholder || "",
4501
4503
  required: l.required,
4502
4504
  disabled: n.readOnly || r.busy
4503
- }, null, 8, Ai)), [
4505
+ }, null, 8, Si)), [
4504
4506
  [Z, r.values[l.key]]
4505
4507
  ]) : l.type === "textarea" ? K((c(), d("textarea", {
4506
4508
  key: 1,
@@ -4511,7 +4513,7 @@ function Pi(e, t, n, i, r, s) {
4511
4513
  placeholder: l.placeholder || "",
4512
4514
  required: l.required,
4513
4515
  disabled: n.readOnly || r.busy
4514
- }, null, 8, Si)), [
4516
+ }, null, 8, Mi)), [
4515
4517
  [Z, r.values[l.key]]
4516
4518
  ]) : l.type === "number" ? K((c(), d("input", {
4517
4519
  key: 2,
@@ -4522,7 +4524,7 @@ function Pi(e, t, n, i, r, s) {
4522
4524
  placeholder: l.placeholder || "",
4523
4525
  required: l.required,
4524
4526
  disabled: n.readOnly || r.busy
4525
- }, null, 8, Mi)), [
4527
+ }, null, 8, Ti)), [
4526
4528
  [
4527
4529
  Z,
4528
4530
  r.values[l.key],
@@ -4537,15 +4539,15 @@ function Pi(e, t, n, i, r, s) {
4537
4539
  class: "wm-form__input",
4538
4540
  required: l.required,
4539
4541
  disabled: n.readOnly || r.busy
4540
- }, null, 8, Ti)), [
4542
+ }, null, 8, xi)), [
4541
4543
  [Z, r.values[l.key]]
4542
- ]) : l.type === "boolean" ? (c(), d("label", xi, [
4544
+ ]) : l.type === "boolean" ? (c(), d("label", Oi, [
4543
4545
  K(a("input", {
4544
4546
  id: `wm-f-${r._uid}-${l.key}`,
4545
4547
  "onUpdate:modelValue": (g) => r.values[l.key] = g,
4546
4548
  type: "checkbox",
4547
4549
  disabled: n.readOnly || r.busy
4548
- }, null, 8, Oi), [
4550
+ }, null, 8, Ii), [
4549
4551
  [He, r.values[l.key]]
4550
4552
  ]),
4551
4553
  a("span", null, p(l.placeholder || s.t("common.yes")), 1)
@@ -4557,14 +4559,14 @@ function Pi(e, t, n, i, r, s) {
4557
4559
  required: l.required,
4558
4560
  disabled: n.readOnly || r.busy
4559
4561
  }, [
4560
- a("option", Bi, p(l.placeholder || s.t("form.choose")), 1),
4562
+ a("option", Li, p(l.placeholder || s.t("form.choose")), 1),
4561
4563
  (c(!0), d(B, null, U(l.options, (g) => (c(), d("option", {
4562
4564
  key: g.value,
4563
4565
  value: g.value
4564
- }, p(g.label), 9, Li))), 128))
4565
- ], 8, Ii)), [
4566
+ }, p(g.label), 9, Ei))), 128))
4567
+ ], 8, Bi)), [
4566
4568
  [$e, r.values[l.key]]
4567
- ]) : l.type === "multiselect" ? (c(), d("div", Ei, [
4569
+ ]) : l.type === "multiselect" ? (c(), d("div", Ri, [
4568
4570
  (c(!0), d(B, null, U(l.options, (g) => (c(), d("label", {
4569
4571
  key: g.value,
4570
4572
  class: "wm-form__multiItem"
@@ -4579,25 +4581,25 @@ function Pi(e, t, n, i, r, s) {
4579
4581
  g.value,
4580
4582
  w.target.checked
4581
4583
  )
4582
- }, null, 40, Ri),
4584
+ }, null, 40, Ni),
4583
4585
  a("span", null, p(g.label), 1)
4584
4586
  ]))), 128))
4585
4587
  ])) : k("", !0)
4586
4588
  ]))), 128)),
4587
- r.error ? (c(), d("div", Ni, p(r.error), 1)) : k("", !0),
4588
- n.readOnly ? (c(), d("div", ji, p(s.t("form.responseSent")), 1)) : (c(), d("button", {
4589
+ r.error ? (c(), d("div", Fi, p(r.error), 1)) : k("", !0),
4590
+ n.readOnly ? (c(), d("div", Pi, p(s.t("form.responseSent")), 1)) : (c(), d("button", {
4589
4591
  key: 1,
4590
4592
  type: "submit",
4591
4593
  class: "wm-form__submit",
4592
4594
  disabled: r.busy
4593
4595
  }, [
4594
- r.busy ? (c(), d("span", Ui)) : k("", !0),
4596
+ r.busy ? (c(), d("span", ji)) : k("", !0),
4595
4597
  a("span", null, p(r.busy ? s.t("common.sending") : n.form.submit_label || s.t("common.send")), 1)
4596
- ], 8, Fi))
4598
+ ], 8, Ui))
4597
4599
  ], 32)
4598
4600
  ]);
4599
4601
  }
4600
- const Di = /* @__PURE__ */ E(_i, [["render", Pi], ["__scopeId", "data-v-fe65cc56"]]), zi = {
4602
+ const zi = /* @__PURE__ */ E(gi, [["render", Di], ["__scopeId", "data-v-fe65cc56"]]), qi = {
4601
4603
  name: "WmFeedback",
4602
4604
  inject: {
4603
4605
  // Translator shared by the Messenger shell; French fallback when
@@ -4631,13 +4633,13 @@ const Di = /* @__PURE__ */ E(_i, [["render", Pi], ["__scopeId", "data-v-fe65cc56
4631
4633
  !this.sel || this.busy || this.$emit("submit", { rating: this.sel });
4632
4634
  }
4633
4635
  }
4634
- }, qi = { class: "wm-fb" }, Hi = { class: "wm-fb__title" }, $i = { class: "wm-fb__sub" }, Vi = { class: "wm-fb__row" }, Ki = ["onClick"], Wi = { class: "wm-fb__emoji" }, Gi = { class: "wm-fb__label" }, Yi = ["disabled"], Ji = {
4636
+ }, Hi = { class: "wm-fb" }, $i = { class: "wm-fb__title" }, Vi = { class: "wm-fb__sub" }, Ki = { class: "wm-fb__row" }, Wi = ["onClick"], Gi = { class: "wm-fb__emoji" }, Yi = { class: "wm-fb__label" }, Ji = ["disabled"], Qi = {
4635
4637
  key: 1,
4636
4638
  class: "wm-fb__done"
4637
- }, Qi = { class: "wm-fb__doneTitle" }, Xi = { class: "wm-fb__doneSub" };
4638
- function Zi(e, t, n, i, r, s) {
4639
- return c(), d("div", qi, [
4640
- n.done ? (c(), d("div", Ji, [
4639
+ }, Xi = { class: "wm-fb__doneTitle" }, Zi = { class: "wm-fb__doneSub" };
4640
+ function ea(e, t, n, i, r, s) {
4641
+ return c(), d("div", Hi, [
4642
+ n.done ? (c(), d("div", Qi, [
4641
4643
  t[1] || (t[1] = a("div", { class: "wm-fb__check" }, [
4642
4644
  a("svg", {
4643
4645
  width: "16",
@@ -4653,32 +4655,32 @@ function Zi(e, t, n, i, r, s) {
4653
4655
  a("path", { d: "M20 6L9 17l-5-5" })
4654
4656
  ])
4655
4657
  ], -1)),
4656
- a("div", Qi, p(s.t("feedback.doneTitle")), 1),
4657
- a("div", Xi, p(s.t("feedback.doneSubtitle")), 1)
4658
+ a("div", Xi, p(s.t("feedback.doneTitle")), 1),
4659
+ a("div", Zi, p(s.t("feedback.doneSubtitle")), 1)
4658
4660
  ])) : (c(), d(B, { key: 0 }, [
4659
- a("div", Hi, p(s.t("feedback.question")), 1),
4660
- a("div", $i, p(s.t("feedback.subtitle")), 1),
4661
- a("div", Vi, [
4661
+ a("div", $i, p(s.t("feedback.question")), 1),
4662
+ a("div", Vi, p(s.t("feedback.subtitle")), 1),
4663
+ a("div", Ki, [
4662
4664
  (c(!0), d(B, null, U(s.options, (o) => (c(), d("button", {
4663
4665
  key: o.v,
4664
4666
  type: "button",
4665
4667
  class: I(["wm-fb__opt", { "is-selected": r.sel === o.v }]),
4666
4668
  onClick: (l) => r.sel = o.v
4667
4669
  }, [
4668
- a("span", Wi, p(o.e), 1),
4669
- a("span", Gi, p(o.l), 1)
4670
- ], 10, Ki))), 128))
4670
+ a("span", Gi, p(o.e), 1),
4671
+ a("span", Yi, p(o.l), 1)
4672
+ ], 10, Wi))), 128))
4671
4673
  ]),
4672
4674
  a("button", {
4673
4675
  type: "button",
4674
4676
  class: "wm-fb__send",
4675
4677
  disabled: !r.sel || n.busy,
4676
4678
  onClick: t[0] || (t[0] = (...o) => s.onSend && s.onSend(...o))
4677
- }, p(n.busy ? s.t("common.sending") : s.t("feedback.submit")), 9, Yi)
4679
+ }, p(n.busy ? s.t("common.sending") : s.t("feedback.submit")), 9, Ji)
4678
4680
  ], 64))
4679
4681
  ]);
4680
4682
  }
4681
- const ea = /* @__PURE__ */ E(zi, [["render", Zi], ["__scopeId", "data-v-9b630564"]]), ta = {
4683
+ const ta = /* @__PURE__ */ E(qi, [["render", ea], ["__scopeId", "data-v-9b630564"]]), na = {
4682
4684
  name: "WmMoreMenu",
4683
4685
  inject: {
4684
4686
  // Translator shared by the Messenger shell; French fallback when
@@ -4721,24 +4723,24 @@ const ea = /* @__PURE__ */ E(zi, [["render", Zi], ["__scopeId", "data-v-9b630564
4721
4723
  this.browserNotifOn = !this.browserNotifOn, this.$emit("browser-notif-toggle", this.browserNotifOn);
4722
4724
  }
4723
4725
  }
4724
- }, na = { class: "wm-mm" }, sa = {
4726
+ }, sa = { class: "wm-mm" }, ra = {
4725
4727
  class: "wm-mm__pop",
4726
4728
  role: "menu"
4727
- }, ra = {
4729
+ }, ia = {
4728
4730
  key: 0,
4729
4731
  class: "wm-mm__section"
4730
- }, ia = { class: "wm-mm__label" }, aa = { class: "wm-mm__label" }, oa = {
4732
+ }, aa = { class: "wm-mm__label" }, oa = { class: "wm-mm__label" }, la = {
4731
4733
  key: 1,
4732
4734
  class: "wm-mm__sep"
4733
- }, la = { class: "wm-mm__section" }, ca = { class: "wm-mm__label" }, da = { class: "wm-mm__label" }, ua = { class: "wm-mm__section" }, ma = { class: "wm-mm__label" }, ha = { class: "wm-mm__label" };
4734
- function fa(e, t, n, i, r, s) {
4735
- return c(), d("div", na, [
4735
+ }, ca = { class: "wm-mm__section" }, da = { class: "wm-mm__label" }, ua = { class: "wm-mm__label" }, ma = { class: "wm-mm__section" }, ha = { class: "wm-mm__label" }, fa = { class: "wm-mm__label" };
4736
+ function _a(e, t, n, i, r, s) {
4737
+ return c(), d("div", sa, [
4736
4738
  a("div", {
4737
4739
  class: "wm-mm__scrim",
4738
4740
  onClick: t[0] || (t[0] = (o) => e.$emit("close"))
4739
4741
  }),
4740
- a("div", sa, [
4741
- n.canRename || n.canExport ? (c(), d("div", ra, [
4742
+ a("div", ra, [
4743
+ n.canRename || n.canExport ? (c(), d("div", ia, [
4742
4744
  n.canRename ? (c(), d("button", {
4743
4745
  key: 0,
4744
4746
  type: "button",
@@ -4761,7 +4763,7 @@ function fa(e, t, n, i, r, s) {
4761
4763
  a("path", { d: "M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z" })
4762
4764
  ])
4763
4765
  ], -1)),
4764
- a("span", ia, p(s.t("moreMenu.editTitle")), 1)
4766
+ a("span", aa, p(s.t("moreMenu.editTitle")), 1)
4765
4767
  ])) : k("", !0),
4766
4768
  n.canExport ? (c(), d("button", {
4767
4769
  key: 1,
@@ -4784,12 +4786,12 @@ function fa(e, t, n, i, r, s) {
4784
4786
  a("path", { d: "M4 12v8a2 2 0 002 2h12a2 2 0 002-2v-8M16 6l-4-4-4 4M12 2v13" })
4785
4787
  ])
4786
4788
  ], -1)),
4787
- a("span", aa, p(s.t("moreMenu.exportTranscript")), 1),
4789
+ a("span", oa, p(s.t("moreMenu.exportTranscript")), 1),
4788
4790
  t[9] || (t[9] = a("span", { class: "wm-mm__hint" }, ".txt", -1))
4789
4791
  ])) : k("", !0)
4790
4792
  ])) : k("", !0),
4791
- n.canRename || n.canExport ? (c(), d("div", oa)) : k("", !0),
4792
- a("div", la, [
4793
+ n.canRename || n.canExport ? (c(), d("div", la)) : k("", !0),
4794
+ a("div", ca, [
4793
4795
  a("button", {
4794
4796
  type: "button",
4795
4797
  class: "wm-mm__item",
@@ -4811,7 +4813,7 @@ function fa(e, t, n, i, r, s) {
4811
4813
  a("path", { d: "M15.54 8.46a5 5 0 010 7.07M19.07 4.93a10 10 0 010 14.14" })
4812
4814
  ])
4813
4815
  ], -1)),
4814
- a("span", ca, p(s.t("moreMenu.sound")), 1),
4816
+ a("span", da, p(s.t("moreMenu.sound")), 1),
4815
4817
  a("span", {
4816
4818
  class: I(["wm-mm__toggle", { "wm-mm__toggle--on": r.soundOn }])
4817
4819
  }, [...t[10] || (t[10] = [
@@ -4838,7 +4840,7 @@ function fa(e, t, n, i, r, s) {
4838
4840
  a("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" })
4839
4841
  ])
4840
4842
  ], -1)),
4841
- a("span", da, p(s.t("moreMenu.browserNotifications")), 1),
4843
+ a("span", ua, p(s.t("moreMenu.browserNotifications")), 1),
4842
4844
  a("span", {
4843
4845
  class: I(["wm-mm__toggle", { "wm-mm__toggle--on": r.browserNotifOn }])
4844
4846
  }, [...t[12] || (t[12] = [
@@ -4847,7 +4849,7 @@ function fa(e, t, n, i, r, s) {
4847
4849
  ])
4848
4850
  ]),
4849
4851
  t[16] || (t[16] = a("div", { class: "wm-mm__sep" }, null, -1)),
4850
- a("div", ua, [
4852
+ a("div", ma, [
4851
4853
  n.statusUrl ? (c(), d("button", {
4852
4854
  key: 0,
4853
4855
  type: "button",
@@ -4869,7 +4871,7 @@ function fa(e, t, n, i, r, s) {
4869
4871
  a("path", { d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zM10 6v4l3 2" })
4870
4872
  ])
4871
4873
  ], -1)),
4872
- a("span", ma, p(s.t("moreMenu.serviceStatus")), 1)
4874
+ a("span", ha, p(s.t("moreMenu.serviceStatus")), 1)
4873
4875
  ])) : k("", !0),
4874
4876
  n.helpUrl ? (c(), d("button", {
4875
4877
  key: 1,
@@ -4892,13 +4894,13 @@ function fa(e, t, n, i, r, s) {
4892
4894
  a("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" })
4893
4895
  ])
4894
4896
  ], -1)),
4895
- a("span", ha, p(s.t("moreMenu.helpCenter")), 1)
4897
+ a("span", fa, p(s.t("moreMenu.helpCenter")), 1)
4896
4898
  ])) : k("", !0)
4897
4899
  ])
4898
4900
  ])
4899
4901
  ]);
4900
4902
  }
4901
- const _a = /* @__PURE__ */ E(ta, [["render", fa], ["__scopeId", "data-v-76281e95"]]), ga = {
4903
+ const ga = /* @__PURE__ */ E(na, [["render", _a], ["__scopeId", "data-v-76281e95"]]), pa = {
4902
4904
  name: "WmRenameDialog",
4903
4905
  inject: {
4904
4906
  // Translator shared by the Messenger shell; French fallback when
@@ -4940,20 +4942,20 @@ const _a = /* @__PURE__ */ E(ta, [["render", fa], ["__scopeId", "data-v-76281e95
4940
4942
  this.canSubmit && this.$emit("submit", this.value.trim());
4941
4943
  }
4942
4944
  }
4943
- }, pa = { class: "wm-dialog" }, va = {
4945
+ }, va = { class: "wm-dialog" }, ya = {
4944
4946
  class: "wm-dialog__card",
4945
4947
  role: "dialog",
4946
4948
  "aria-modal": "true"
4947
- }, ya = { class: "wm-dialog__head" }, wa = { class: "wm-dialog__title" }, ba = ["aria-label"], ka = { class: "wm-dialog__body" }, Ca = ["placeholder"], Aa = { class: "wm-dialog__actions" }, Sa = ["disabled"];
4948
- function Ma(e, t, n, i, r, s) {
4949
- return c(), d("div", pa, [
4949
+ }, wa = { class: "wm-dialog__head" }, ba = { class: "wm-dialog__title" }, ka = ["aria-label"], Ca = { class: "wm-dialog__body" }, Aa = ["placeholder"], Sa = { class: "wm-dialog__actions" }, Ma = ["disabled"];
4950
+ function Ta(e, t, n, i, r, s) {
4951
+ return c(), d("div", va, [
4950
4952
  a("div", {
4951
4953
  class: "wm-dialog__scrim",
4952
4954
  onClick: t[0] || (t[0] = (o) => e.$emit("close"))
4953
4955
  }),
4954
- a("div", va, [
4955
- a("div", ya, [
4956
- a("div", wa, p(n.title || s.t("rename.title")), 1),
4956
+ a("div", ya, [
4957
+ a("div", wa, [
4958
+ a("div", ba, p(n.title || s.t("rename.title")), 1),
4957
4959
  a("button", {
4958
4960
  type: "button",
4959
4961
  class: "wm-dialog__close",
@@ -4973,9 +4975,9 @@ function Ma(e, t, n, i, r, s) {
4973
4975
  }, [
4974
4976
  a("path", { d: "M18 6L6 18M6 6l12 12" })
4975
4977
  ], -1)
4976
- ])], 8, ba)
4978
+ ])], 8, ka)
4977
4979
  ]),
4978
- a("div", ka, [
4980
+ a("div", Ca, [
4979
4981
  K(a("input", {
4980
4982
  ref: "input",
4981
4983
  "onUpdate:modelValue": t[2] || (t[2] = (o) => r.value = o),
@@ -4987,11 +4989,11 @@ function Ma(e, t, n, i, r, s) {
4987
4989
  t[3] || (t[3] = ue(J((...o) => s.onSubmit && s.onSubmit(...o), ["prevent"]), ["enter"])),
4988
4990
  t[4] || (t[4] = ue(J((o) => e.$emit("close"), ["prevent"]), ["esc"]))
4989
4991
  ]
4990
- }, null, 40, Ca), [
4992
+ }, null, 40, Aa), [
4991
4993
  [Z, r.value]
4992
4994
  ])
4993
4995
  ]),
4994
- a("div", Aa, [
4996
+ a("div", Sa, [
4995
4997
  a("button", {
4996
4998
  type: "button",
4997
4999
  class: "wm-dialog__btn",
@@ -5002,25 +5004,25 @@ function Ma(e, t, n, i, r, s) {
5002
5004
  class: "wm-dialog__btn wm-dialog__btn--primary",
5003
5005
  disabled: !s.canSubmit,
5004
5006
  onClick: t[6] || (t[6] = (...o) => s.onSubmit && s.onSubmit(...o))
5005
- }, p(s.t("common.save")), 9, Sa)
5007
+ }, p(s.t("common.save")), 9, Ma)
5006
5008
  ])
5007
5009
  ])
5008
5010
  ]);
5009
5011
  }
5010
- const Ta = /* @__PURE__ */ E(ga, [["render", Ma], ["__scopeId", "data-v-6d5f94a8"]]), Le = "ww-messenger-tokens", xa = {
5012
+ const xa = /* @__PURE__ */ E(pa, [["render", Ta], ["__scopeId", "data-v-6d5f94a8"]]), Le = "ww-messenger-tokens", Oa = {
5011
5013
  name: "Messenger",
5012
5014
  components: {
5013
5015
  Launcher: Pt,
5014
5016
  Header: un,
5015
- Onboarding: Vn,
5016
- MessageList: Er,
5017
- Composer: Zr,
5018
- SuggestionChips: si,
5019
- ApprovalCard: hi,
5020
- FormCard: Di,
5021
- Feedback: ea,
5022
- MoreMenu: _a,
5023
- RenameDialog: Ta
5017
+ Onboarding: Kn,
5018
+ MessageList: Rr,
5019
+ Composer: ei,
5020
+ SuggestionChips: ri,
5021
+ ApprovalCard: fi,
5022
+ FormCard: zi,
5023
+ Feedback: ta,
5024
+ MoreMenu: ga,
5025
+ RenameDialog: xa
5024
5026
  },
5025
5027
  mixins: [
5026
5028
  ct,
@@ -5864,28 +5866,28 @@ const Ta = /* @__PURE__ */ E(ga, [["render", Ma], ["__scopeId", "data-v-6d5f94a8
5864
5866
  }
5865
5867
  }
5866
5868
  }
5867
- }, Oa = {
5869
+ }, Ia = {
5868
5870
  key: 0,
5869
5871
  class: "wm-loading",
5870
5872
  "aria-busy": "true",
5871
5873
  "aria-live": "polite"
5872
- }, Ia = ["aria-label"], Ba = {
5874
+ }, Ba = ["aria-label"], La = {
5873
5875
  key: 0,
5874
5876
  class: "wm-state"
5875
- }, La = { class: "wm-state__err" }, Ea = { class: "wm-state__errTitle" }, Ra = { class: "wm-state__errSub" }, Na = { class: "wm-bottom" }, Fa = {
5877
+ }, Ea = { class: "wm-state__err" }, Ra = { class: "wm-state__errTitle" }, Na = { class: "wm-state__errSub" }, Fa = { class: "wm-bottom" }, Ua = {
5876
5878
  key: 0,
5877
5879
  ref: "floatEl",
5878
5880
  class: "wm-float"
5879
- }, Ua = {
5881
+ }, ja = {
5880
5882
  key: 1,
5881
5883
  class: "wm-actionWait",
5882
5884
  role: "status",
5883
5885
  "aria-live": "polite"
5884
- }, ja = { class: "wm-actionWait__lbl" }, Pa = {
5886
+ }, Pa = { class: "wm-actionWait__lbl" }, Da = {
5885
5887
  key: 2,
5886
5888
  class: "wm-attached"
5887
- }, Da = ["aria-label", "onClick"];
5888
- function za(e, t, n, i, r, s) {
5889
+ }, za = ["aria-label", "onClick"];
5890
+ function qa(e, t, n, i, r, s) {
5889
5891
  const o = L("Launcher"), l = L("Header"), g = L("Onboarding"), w = L("MessageList"), C = L("ApprovalCard"), O = L("FormCard"), R = L("Feedback"), T = L("SuggestionChips"), q = L("Composer"), x = L("MoreMenu"), D = L("RenameDialog");
5890
5892
  return c(), d("div", {
5891
5893
  class: I(["wm-root", `wm-root--${n.displayMode}`])
@@ -5908,7 +5910,7 @@ function za(e, t, n, i, r, s) {
5908
5910
  role: "dialog",
5909
5911
  "aria-label": "Messenger"
5910
5912
  }, [
5911
- !s.ready && !s.error ? (c(), d("div", Oa, [
5913
+ !s.ready && !s.error ? (c(), d("div", Ia, [
5912
5914
  s.isEmbedded ? k("", !0) : (c(), d("button", {
5913
5915
  key: 0,
5914
5916
  type: "button",
@@ -5929,7 +5931,7 @@ function za(e, t, n, i, r, s) {
5929
5931
  }, [
5930
5932
  a("path", { d: "M18 6L6 18M6 6l12 12" })
5931
5933
  ], -1)
5932
- ])], 8, Ia)),
5934
+ ])], 8, Ba)),
5933
5935
  t[6] || (t[6] = a("div", {
5934
5936
  class: "wm-loading__spinner",
5935
5937
  "aria-hidden": "true"
@@ -5949,8 +5951,8 @@ function za(e, t, n, i, r, s) {
5949
5951
  onMore: s.toggleMore,
5950
5952
  onClose: s.close
5951
5953
  }, null, 8, ["title", "team-members", "response-label", "show-identity", "show-back", "show-close", "more-active", "agent-name", "agent-avatar-url", "onBack", "onMore", "onClose"]),
5952
- s.error ? (c(), d("div", Ba, [
5953
- a("div", La, [
5954
+ s.error ? (c(), d("div", La, [
5955
+ a("div", Ea, [
5954
5956
  t[7] || (t[7] = a("div", { class: "wm-state__errIcon" }, [
5955
5957
  a("svg", {
5956
5958
  width: "14",
@@ -5967,8 +5969,8 @@ function za(e, t, n, i, r, s) {
5967
5969
  ])
5968
5970
  ], -1)),
5969
5971
  a("div", null, [
5970
- a("div", Ea, p(s.t("error.connectionFailed")), 1),
5971
- a("div", Ra, p(s.error), 1)
5972
+ a("div", Ra, p(s.t("error.connectionFailed")), 1),
5973
+ a("div", Na, p(s.error), 1)
5972
5974
  ])
5973
5975
  ])
5974
5976
  ])) : s.currentConv ? (c(), d(B, { key: 2 }, [
@@ -5986,8 +5988,8 @@ function za(e, t, n, i, r, s) {
5986
5988
  "ai-agent-avatar-url": s.agentAvatarUrl,
5987
5989
  onLoadMore: s.onLoadMore
5988
5990
  }, 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"]),
5989
- a("div", Na, [
5990
- s.floatVisible ? (c(), d("div", Fa, [
5991
+ a("div", Fa, [
5992
+ s.floatVisible ? (c(), d("div", Ua, [
5991
5993
  s.approvalReady ? (c(), N(C, {
5992
5994
  key: 0,
5993
5995
  action: s.approvalTitle,
@@ -6013,12 +6015,12 @@ function za(e, t, n, i, r, s) {
6013
6015
  onSelect: s.onSuggestion
6014
6016
  }, null, 8, ["items", "onSelect"]))
6015
6017
  ], 512)) : k("", !0),
6016
- s.actionInFlight ? (c(), d("div", Ua, [
6018
+ s.actionInFlight ? (c(), d("div", ja, [
6017
6019
  t[8] || (t[8] = a("span", {
6018
6020
  class: "wm-actionWait__spinner",
6019
6021
  "aria-hidden": "true"
6020
6022
  }, null, -1)),
6021
- a("span", ja, p(s.t("action.inProgress", {
6023
+ a("span", Pa, p(s.t("action.inProgress", {
6022
6024
  name: s.actionInFlightName
6023
6025
  })), 1)
6024
6026
  ])) : (c(), N(q, {
@@ -6053,7 +6055,7 @@ function za(e, t, n, i, r, s) {
6053
6055
  onClose: t[3] || (t[3] = (F) => r.renameDialogOpen = !1),
6054
6056
  onSubmit: s.onRenameSubmit
6055
6057
  }, null, 8, ["initial-value", "title", "onSubmit"])) : k("", !0),
6056
- r.pendingAttachments.length ? (c(), d("div", Pa, [
6058
+ r.pendingAttachments.length ? (c(), d("div", Da, [
6057
6059
  (c(!0), d(B, null, U(r.pendingAttachments, (F, H) => (c(), d("div", {
6058
6060
  key: H,
6059
6061
  class: "wm-attached__chip"
@@ -6090,7 +6092,7 @@ function za(e, t, n, i, r, s) {
6090
6092
  }, [
6091
6093
  a("path", { d: "M18 6L6 18M6 6l12 12" })
6092
6094
  ], -1)
6093
- ])], 8, Da)
6095
+ ])], 8, za)
6094
6096
  ]))), 128))
6095
6097
  ])) : k("", !0)
6096
6098
  ], 64)) : (c(), N(g, {
@@ -6123,53 +6125,53 @@ function za(e, t, n, i, r, s) {
6123
6125
  ], 6)) : k("", !0)
6124
6126
  ], 2);
6125
6127
  }
6126
- const $a = /* @__PURE__ */ E(xa, [["render", za], ["__scopeId", "data-v-966f7d8a"]]), Va = "0.5.0";
6128
+ const Va = /* @__PURE__ */ E(Oa, [["render", qa], ["__scopeId", "data-v-966f7d8a"]]), Ka = "0.5.1";
6127
6129
  export {
6128
6130
  de as AIAvatar,
6129
6131
  pe as AVATAR_COLORS,
6130
- ss as ActionResult,
6131
- hi as ApprovalCard,
6132
- ms as ArtifactFormResponse,
6133
- Ss as ArtifactInfoCard,
6134
- $s as ArtifactRenderer,
6135
- Ds as ArtifactTicket,
6136
- nr as AttachmentPreview,
6137
- ar as Bubble,
6138
- Zr as Composer,
6132
+ rs as ActionResult,
6133
+ fi as ApprovalCard,
6134
+ hs as ArtifactFormResponse,
6135
+ Ms as ArtifactInfoCard,
6136
+ Vs as ArtifactRenderer,
6137
+ zs as ArtifactTicket,
6138
+ sr as AttachmentPreview,
6139
+ or as Bubble,
6140
+ ei as Composer,
6139
6141
  tt as DEFAULT_BASE_URL,
6140
6142
  oe as DEFAULT_LANGUAGE,
6141
- ea as Feedback,
6142
- Di as FormCard,
6143
+ ta as Feedback,
6144
+ zi as FormCard,
6143
6145
  un as Header,
6144
6146
  Ne as HumanAvatar,
6145
6147
  Pt as Launcher,
6146
6148
  Ce as MEDIA_RECORDER_SUPPORTED,
6147
- Er as MessageList,
6148
- $a as Messenger,
6149
- _a as MoreMenu,
6150
- Vn as Onboarding,
6149
+ Rr as MessageList,
6150
+ Va as Messenger,
6151
+ ga as MoreMenu,
6152
+ Kn as Onboarding,
6151
6153
  me as SCREEN_CAPTURE_SUPPORTED,
6152
6154
  nt as SUPPORTED_LANGUAGES,
6153
- si as SuggestionChips,
6155
+ ri as SuggestionChips,
6154
6156
  Qt as TeamAvatars,
6155
- dr as Typing,
6156
- Va as VERSION,
6157
+ ur as Typing,
6158
+ Ka as VERSION,
6157
6159
  we as avatarColor,
6158
6160
  be as avatarInitials,
6159
- Nr as captureScreenshotFile,
6161
+ Fr as captureScreenshotFile,
6160
6162
  z as colors,
6161
6163
  Ze as createStore,
6162
6164
  j as createTranslator,
6163
6165
  Ye as createTransport,
6164
6166
  ce as dateLocale,
6165
- $a as default,
6167
+ Va as default,
6166
6168
  Ee as formatTime,
6167
- Ha as guessAttachmentKind,
6168
- Rr as pickRecorderMime,
6169
+ $a as guessAttachmentKind,
6170
+ Nr as pickRecorderMime,
6169
6171
  hn as renderInlineMarkdown,
6170
6172
  fn as renderMarkdown,
6171
6173
  ke as resolveLanguage,
6172
- Ur as startScreenRecording,
6174
+ jr as startScreenRecording,
6173
6175
  et as tokensCss,
6174
6176
  Xe as uuid,
6175
6177
  Xe as v4