akpm-knowledge-base-chat 2.0.83 → 2.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CDN/akb-chat.js +400 -397
  2. package/package.json +1 -1
package/CDN/akb-chat.js CHANGED
@@ -1,11 +1,11 @@
1
- /* Version: 2.0.83 */
1
+ /* Version: 2.0.85 */
2
2
  var tu = Object.defineProperty;
3
3
  var Ra = (t) => {
4
4
  throw TypeError(t);
5
5
  };
6
6
  var nu = (t, e, n) => e in t ? tu(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
7
7
  var F = (t, e, n) => nu(t, typeof e != "symbol" ? e + "" : e, n), os = (t, e, n) => e.has(t) || Ra("Cannot " + n);
8
- var C = (t, e, n) => (os(t, e, "read from private field"), n ? n.call(t) : e.get(t)), me = (t, e, n) => e.has(t) ? Ra("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), pe = (t, e, n, r) => (os(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ce = (t, e, n) => (os(t, e, "access private method"), n);
8
+ var T = (t, e, n) => (os(t, e, "read from private field"), n ? n.call(t) : e.get(t)), me = (t, e, n) => e.has(t) ? Ra("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), pe = (t, e, n, r) => (os(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ce = (t, e, n) => (os(t, e, "access private method"), n);
9
9
  const ru = "5";
10
10
  var Lo;
11
11
  typeof window < "u" && ((Lo = window.__svelte ?? (window.__svelte = {})).v ?? (Lo.v = /* @__PURE__ */ new Set())).add(ru);
@@ -463,7 +463,7 @@ const Bi = class Bi {
463
463
  * @param {Effect} effect
464
464
  */
465
465
  skip_effect(e) {
466
- C(this, Wt).has(e) || C(this, Wt).set(e, { d: [], m: [] }), C(this, or).delete(e);
466
+ T(this, Wt).has(e) || T(this, Wt).set(e, { d: [], m: [] }), T(this, or).delete(e);
467
467
  }
468
468
  /**
469
469
  * Remove an effect from the #skipped_branches map and reschedule
@@ -472,15 +472,15 @@ const Bi = class Bi {
472
472
  * @param {(e: Effect) => void} callback
473
473
  */
474
474
  unskip_effect(e, n = (r) => this.schedule(r)) {
475
- var r = C(this, Wt).get(e);
475
+ var r = T(this, Wt).get(e);
476
476
  if (r) {
477
- C(this, Wt).delete(e);
477
+ T(this, Wt).delete(e);
478
478
  for (var i of r.d)
479
479
  je(i, Ve), n(i);
480
480
  for (i of r.m)
481
481
  je(i, Yt), n(i);
482
482
  }
483
- C(this, or).add(e);
483
+ T(this, or).add(e);
484
484
  }
485
485
  /**
486
486
  * Associate a change to a given source with the current
@@ -506,23 +506,23 @@ const Bi = class Bi {
506
506
  }
507
507
  }
508
508
  discard() {
509
- for (const e of C(this, sr)) e(this);
510
- C(this, sr).clear(), C(this, Mn).clear(), Ce(this, $e, er).call(this);
509
+ for (const e of T(this, sr)) e(this);
510
+ T(this, sr).clear(), T(this, Mn).clear(), Ce(this, $e, er).call(this);
511
511
  }
512
512
  /**
513
513
  * @param {Effect} effect
514
514
  */
515
515
  register_created_effect(e) {
516
- C(this, Gr).push(e);
516
+ T(this, Gr).push(e);
517
517
  }
518
518
  /**
519
519
  * @param {boolean} blocking
520
520
  * @param {Effect} effect
521
521
  */
522
522
  increment(e, n) {
523
- if (pe(this, ar, C(this, ar) + 1), e) {
524
- let r = C(this, rn).get(n) ?? 0;
525
- C(this, rn).set(n, r + 1);
523
+ if (pe(this, ar, T(this, ar) + 1), e) {
524
+ let r = T(this, rn).get(n) ?? 0;
525
+ T(this, rn).set(n, r + 1);
526
526
  }
527
527
  }
528
528
  /**
@@ -530,11 +530,11 @@ const Bi = class Bi {
530
530
  * @param {Effect} effect
531
531
  */
532
532
  decrement(e, n) {
533
- if (pe(this, ar, C(this, ar) - 1), e) {
534
- let r = C(this, rn).get(n) ?? 0;
535
- r === 1 ? C(this, rn).delete(n) : C(this, rn).set(n, r - 1);
533
+ if (pe(this, ar, T(this, ar) - 1), e) {
534
+ let r = T(this, rn).get(n) ?? 0;
535
+ r === 1 ? T(this, rn).delete(n) : T(this, rn).set(n, r - 1);
536
536
  }
537
- C(this, Ln) || (pe(this, Ln, !0), Bt(() => {
537
+ T(this, Ln) || (pe(this, Ln, !0), Bt(() => {
538
538
  pe(this, Ln, !1), this.linked && this.flush();
539
539
  }));
540
540
  }
@@ -544,36 +544,36 @@ const Bi = class Bi {
544
544
  */
545
545
  transfer_effects(e, n) {
546
546
  for (const r of e)
547
- C(this, vn).add(r);
547
+ T(this, vn).add(r);
548
548
  for (const r of n)
549
- C(this, Vt).add(r);
549
+ T(this, Vt).add(r);
550
550
  e.clear(), n.clear();
551
551
  }
552
552
  /** @param {(batch: Batch) => void} fn */
553
553
  oncommit(e) {
554
- C(this, ir).add(e);
554
+ T(this, ir).add(e);
555
555
  }
556
556
  /** @param {(batch: Batch) => void} fn */
557
557
  ondiscard(e) {
558
- C(this, sr).add(e);
558
+ T(this, sr).add(e);
559
559
  }
560
560
  /** @param {(batch: Batch) => void} fn */
561
561
  on_fork_commit(e) {
562
- C(this, Mn).add(e);
562
+ T(this, Mn).add(e);
563
563
  }
564
564
  run_fork_commit_callbacks() {
565
- for (const e of C(this, Mn)) e(this);
566
- C(this, Mn).clear();
565
+ for (const e of T(this, Mn)) e(this);
566
+ T(this, Mn).clear();
567
567
  }
568
568
  settled() {
569
- return (C(this, Yr) ?? pe(this, Yr, Uo())).promise;
569
+ return (T(this, Yr) ?? pe(this, Yr, Uo())).promise;
570
570
  }
571
571
  static ensure() {
572
572
  var e;
573
573
  if (oe === null) {
574
574
  const n = oe = new Bi();
575
575
  Ce(e = n, $e, As).call(e), !cs && !Dr && Bt(() => {
576
- C(n, rr) || n.flush();
576
+ T(n, rr) || n.flush();
577
577
  });
578
578
  }
579
579
  return oe;
@@ -605,14 +605,14 @@ const Bi = class Bi {
605
605
  n.f ^= Ge;
606
606
  }
607
607
  }
608
- C(this, bt).push(n);
608
+ T(this, bt).push(n);
609
609
  }
610
610
  };
611
611
  rr = new WeakMap(), gn = new WeakMap(), $n = new WeakMap(), ir = new WeakMap(), sr = new WeakMap(), Mn = new WeakMap(), ar = new WeakMap(), rn = new WeakMap(), Yr = new WeakMap(), bt = new WeakMap(), Gr = new WeakMap(), vn = new WeakMap(), Vt = new WeakMap(), Wt = new WeakMap(), or = new WeakMap(), Ln = new WeakMap(), $e = new WeakSet(), Es = function() {
612
612
  if (this.is_fork) return !0;
613
- for (const r of C(this, rn).keys()) {
613
+ for (const r of T(this, rn).keys()) {
614
614
  for (var e = r, n = !1; e.parent !== null; ) {
615
- if (C(this, Wt).has(e)) {
615
+ if (T(this, Wt).has(e)) {
616
616
  n = !0;
617
617
  break;
618
618
  }
@@ -625,12 +625,12 @@ rr = new WeakMap(), gn = new WeakMap(), $n = new WeakMap(), ir = new WeakMap(),
625
625
  }, Mr = function() {
626
626
  var l, u, c, f;
627
627
  if (pe(this, rr, !0), Fa++ > 1e3 && (Ce(this, $e, er).call(this), Xu()), !Ce(this, $e, Es).call(this)) {
628
- for (const d of C(this, vn))
629
- C(this, Vt).delete(d), je(d, Ve), this.schedule(d);
630
- for (const d of C(this, Vt))
628
+ for (const d of T(this, vn))
629
+ T(this, Vt).delete(d), je(d, Ve), this.schedule(d);
630
+ for (const d of T(this, Vt))
631
631
  je(d, Yt), this.schedule(d);
632
632
  }
633
- const e = C(this, bt);
633
+ const e = T(this, bt);
634
634
  pe(this, bt, []), this.apply();
635
635
  var n = tr = [], r = [], i = xi = [];
636
636
  for (const d of e)
@@ -646,7 +646,7 @@ rr = new WeakMap(), gn = new WeakMap(), $n = new WeakMap(), ir = new WeakMap(),
646
646
  }
647
647
  if (tr = null, xi = null, Ce(this, $e, Es).call(this)) {
648
648
  Ce(this, $e, ki).call(this, r), Ce(this, $e, ki).call(this, n);
649
- for (const [d, h] of C(this, Wt))
649
+ for (const [d, h] of T(this, Wt))
650
650
  rl(d, h);
651
651
  i.length > 0 && /** @type {unknown} */
652
652
  Ce(l = oe, $e, Mr).call(l);
@@ -657,18 +657,18 @@ rr = new WeakMap(), gn = new WeakMap(), $n = new WeakMap(), ir = new WeakMap(),
657
657
  Ce(u = a, $e, tl).call(u, this);
658
658
  return;
659
659
  }
660
- C(this, vn).clear(), C(this, Vt).clear();
661
- for (const d of C(this, ir)) d(this);
662
- C(this, ir).clear(), Rr = this, Oa(r), Oa(n), Rr = null, (c = C(this, Yr)) == null || c.resolve();
660
+ T(this, vn).clear(), T(this, Vt).clear();
661
+ for (const d of T(this, ir)) d(this);
662
+ T(this, ir).clear(), Rr = this, Oa(r), Oa(n), Rr = null, (c = T(this, Yr)) == null || c.resolve();
663
663
  var o = (
664
664
  /** @type {Batch | null} */
665
665
  /** @type {unknown} */
666
666
  oe
667
667
  );
668
- if (this.linked && C(this, ar) === 0 && Ce(this, $e, er).call(this), C(this, bt).length > 0) {
668
+ if (this.linked && T(this, ar) === 0 && Ce(this, $e, er).call(this), T(this, bt).length > 0) {
669
669
  o === null && (o = this, Ce(this, $e, As).call(this));
670
670
  const d = o;
671
- C(d, bt).push(...C(this, bt).filter((h) => !C(d, bt).includes(h)));
671
+ T(d, bt).push(...T(this, bt).filter((h) => !T(d, bt).includes(h)));
672
672
  }
673
673
  o !== null && Ce(f = o, $e, Mr).call(f);
674
674
  }, /**
@@ -681,9 +681,9 @@ rr = new WeakMap(), gn = new WeakMap(), $n = new WeakMap(), ir = new WeakMap(),
681
681
  Is = function(e, n, r) {
682
682
  e.f ^= Ge;
683
683
  for (var i = e.first; i !== null; ) {
684
- var s = i.f, a = (s & (Ht | dn)) !== 0, o = a && (s & Ge) !== 0, l = o || (s & ot) !== 0 || C(this, Wt).has(i);
684
+ var s = i.f, a = (s & (Ht | dn)) !== 0, o = a && (s & Ge) !== 0, l = o || (s & ot) !== 0 || T(this, Wt).has(i);
685
685
  if (!l && i.fn !== null) {
686
- a ? i.f ^= Ge : s & cr ? n.push(i) : kr(i) && (s & At && C(this, Vt).add(i), Yn(i));
686
+ a ? i.f ^= Ge : s & cr ? n.push(i) : kr(i) && (s & At && T(this, Vt).add(i), Yn(i));
687
687
  var u = i.first;
688
688
  if (u !== null) {
689
689
  i = u;
@@ -700,13 +700,13 @@ Is = function(e, n, r) {
700
700
  }
701
701
  }
702
702
  }, el = function() {
703
- for (var e = C(this, gn); e !== null; ) {
703
+ for (var e = T(this, gn); e !== null; ) {
704
704
  if (!e.is_fork) {
705
705
  for (const [n, [, r]] of this.current)
706
706
  if (e.current.has(n) && !r)
707
707
  return e;
708
708
  }
709
- e = C(e, gn);
709
+ e = T(e, gn);
710
710
  }
711
711
  return null;
712
712
  }, /**
@@ -735,7 +735,7 @@ tl = function(e) {
735
735
  /** @type {Effect} */
736
736
  l
737
737
  );
738
- a & (nr | At) && !this.async_deriveds.has(o) && (C(this, Vt).delete(o), je(o, Ve), this.schedule(o));
738
+ a & (nr | At) && !this.async_deriveds.has(o) && (T(this, Vt).delete(o), je(o, Ve), this.schedule(o));
739
739
  }
740
740
  }
741
741
  };
@@ -747,11 +747,11 @@ tl = function(e) {
747
747
  */
748
748
  ki = function(e) {
749
749
  for (var n = 0; n < e.length; n += 1)
750
- Qo(e[n], C(this, vn), C(this, Vt));
750
+ Qo(e[n], T(this, vn), T(this, Vt));
751
751
  }, Zu = function() {
752
752
  var c;
753
753
  Ce(this, $e, er).call(this);
754
- for (let f = ls; f !== null; f = C(f, $n)) {
754
+ for (let f = ls; f !== null; f = T(f, $n)) {
755
755
  var e = f.id < this.id, n = [];
756
756
  for (const [d, [h, g]] of this.current) {
757
757
  if (f.current.has(d)) {
@@ -771,13 +771,13 @@ ki = function(e) {
771
771
  const g = f.async_deriveds.get(d);
772
772
  g && h.promise.then(g.resolve);
773
773
  }
774
- if (C(f, rr)) {
774
+ if (T(f, rr)) {
775
775
  var i = [...f.current.keys()].filter((d) => !this.current.has(d));
776
776
  if (i.length === 0)
777
777
  e && f.discard();
778
778
  else if (n.length > 0) {
779
779
  if (e)
780
- for (const d of C(this, or))
780
+ for (const d of T(this, or))
781
781
  f.unskip_effect(d, (h) => {
782
782
  var g;
783
783
  h.f & (At | nr) ? f.schedule(h) : Ce(g = f, $e, ki).call(g, [h]);
@@ -794,11 +794,11 @@ ki = function(e) {
794
794
  ) : !0
795
795
  );
796
796
  if (l.length > 0)
797
- for (const d of C(this, Gr))
798
- !(d.f & (qt | ot | Ii)) && ia(d, l, a) && (d.f & (nr | At) ? (je(d, Ve), f.schedule(d)) : C(f, vn).add(d));
799
- if (C(f, bt).length > 0 && !C(f, Ln)) {
797
+ for (const d of T(this, Gr))
798
+ !(d.f & (qt | ot | Ii)) && ia(d, l, a) && (d.f & (nr | At) ? (je(d, Ve), f.schedule(d)) : T(f, vn).add(d));
799
+ if (T(f, bt).length > 0 && !T(f, Ln)) {
800
800
  f.apply();
801
- for (var u of C(f, bt))
801
+ for (var u of T(f, bt))
802
802
  Ce(c = f, $e, Is).call(c, u, [], []);
803
803
  pe(f, bt, []);
804
804
  }
@@ -809,7 +809,7 @@ ki = function(e) {
809
809
  }, As = function() {
810
810
  Kn === null ? ls = Kn = this : (pe(Kn, $n, this), pe(this, gn, Kn)), Kn = this;
811
811
  }, er = function() {
812
- var e = C(this, gn), n = C(this, $n);
812
+ var e = T(this, gn), n = T(this, $n);
813
813
  e === null ? ls = n : pe(e, $n, n), n === null ? Kn = e : pe(n, gn, e), this.linked = !1;
814
814
  };
815
815
  let yn = Bi;
@@ -979,7 +979,7 @@ class td {
979
979
  * @type {Source<number> | null}
980
980
  */
981
981
  me(this, an, null);
982
- me(this, Hi, Qu(() => (pe(this, an, _n(C(this, Rn))), () => {
982
+ me(this, Hi, Qu(() => (pe(this, an, _n(T(this, Rn))), () => {
983
983
  pe(this, an, null);
984
984
  })));
985
985
  var s;
@@ -994,7 +994,7 @@ class td {
994
994
  if (xe) {
995
995
  const a = (
996
996
  /** @type {Comment} */
997
- C(this, Jr)
997
+ T(this, Jr)
998
998
  );
999
999
  ur();
1000
1000
  const o = a.data === Qs;
@@ -1011,7 +1011,7 @@ class td {
1011
1011
  * @param {Effect} effect
1012
1012
  */
1013
1013
  defer_effect(e) {
1014
- Qo(e, C(this, Vr), C(this, Wr));
1014
+ Qo(e, T(this, Vr), T(this, Wr));
1015
1015
  }
1016
1016
  /**
1017
1017
  * Returns `false` if the effect exists inside a boundary whose pending snippet is shown
@@ -1021,7 +1021,7 @@ class td {
1021
1021
  return !this.is_pending && (!this.parent || this.parent.is_rendered());
1022
1022
  }
1023
1023
  has_pending_snippet() {
1024
- return !!C(this, Ct).pending;
1024
+ return !!T(this, Ct).pending;
1025
1025
  }
1026
1026
  /**
1027
1027
  * Update the source that powers `$effect.pending()` inside this boundary,
@@ -1031,28 +1031,28 @@ class td {
1031
1031
  * @param {Batch} batch
1032
1032
  */
1033
1033
  update_pending_count(e, n) {
1034
- Ce(this, Fe, Ms).call(this, e, n), pe(this, Rn, C(this, Rn) + e), !(!C(this, an) || C(this, lr)) && (pe(this, lr, !0), Bt(() => {
1035
- pe(this, lr, !1), C(this, an) && hr(C(this, an), C(this, Rn));
1034
+ Ce(this, Fe, Ms).call(this, e, n), pe(this, Rn, T(this, Rn) + e), !(!T(this, an) || T(this, lr)) && (pe(this, lr, !0), Bt(() => {
1035
+ pe(this, lr, !1), T(this, an) && hr(T(this, an), T(this, Rn));
1036
1036
  }));
1037
1037
  }
1038
1038
  get_effect_pending() {
1039
- return C(this, Hi).call(this), p(
1039
+ return T(this, Hi).call(this), p(
1040
1040
  /** @type {Source<number>} */
1041
- C(this, an)
1041
+ T(this, an)
1042
1042
  );
1043
1043
  }
1044
1044
  /** @param {unknown} error */
1045
1045
  error(e) {
1046
- if (!C(this, Ct).onerror && !C(this, Ct).failed)
1046
+ if (!T(this, Ct).onerror && !T(this, Ct).failed)
1047
1047
  throw e;
1048
- oe != null && oe.is_fork ? (C(this, Tt) && oe.skip_effect(C(this, Tt)), C(this, it) && oe.skip_effect(C(this, it)), C(this, xt) && oe.skip_effect(C(this, xt)), oe.on_fork_commit(() => {
1048
+ oe != null && oe.is_fork ? (T(this, Tt) && oe.skip_effect(T(this, Tt)), T(this, it) && oe.skip_effect(T(this, it)), T(this, xt) && oe.skip_effect(T(this, xt)), oe.on_fork_commit(() => {
1049
1049
  Ce(this, Fe, Ls).call(this, e);
1050
1050
  })) : Ce(this, Fe, Ls).call(this, e);
1051
1051
  }
1052
1052
  }
1053
1053
  wt = new WeakMap(), Jr = new WeakMap(), Ct = new WeakMap(), qn = new WeakMap(), ut = new WeakMap(), Tt = new WeakMap(), it = new WeakMap(), xt = new WeakMap(), sn = new WeakMap(), Rn = new WeakMap(), mn = new WeakMap(), lr = new WeakMap(), Vr = new WeakMap(), Wr = new WeakMap(), an = new WeakMap(), Hi = new WeakMap(), Fe = new WeakSet(), sl = function() {
1054
1054
  try {
1055
- pe(this, Tt, ft(() => C(this, qn).call(this, C(this, wt))));
1055
+ pe(this, Tt, ft(() => T(this, qn).call(this, T(this, wt))));
1056
1056
  } catch (e) {
1057
1057
  this.error(e);
1058
1058
  }
@@ -1060,22 +1060,22 @@ wt = new WeakMap(), Jr = new WeakMap(), Ct = new WeakMap(), qn = new WeakMap(),
1060
1060
  * @param {unknown} error The deserialized error from the server's hydration comment
1061
1061
  */
1062
1062
  al = function(e) {
1063
- const n = C(this, Ct).failed;
1063
+ const n = T(this, Ct).failed;
1064
1064
  n && pe(this, xt, ft(() => {
1065
1065
  n(
1066
- C(this, wt),
1066
+ T(this, wt),
1067
1067
  () => e,
1068
1068
  () => () => {
1069
1069
  }
1070
1070
  );
1071
1071
  }));
1072
1072
  }, ol = function() {
1073
- const e = C(this, Ct).pending;
1074
- e && (this.is_pending = !0, pe(this, it, ft(() => e(C(this, wt)))), Bt(() => {
1073
+ const e = T(this, Ct).pending;
1074
+ e && (this.is_pending = !0, pe(this, it, ft(() => e(T(this, wt)))), Bt(() => {
1075
1075
  var n = pe(this, sn, document.createDocumentFragment()), r = pt();
1076
- n.append(r), pe(this, Tt, Ce(this, Fe, _i).call(this, () => ft(() => C(this, qn).call(this, r)))), C(this, mn) === 0 && (C(this, wt).before(n), pe(this, sn, null), jn(
1076
+ n.append(r), pe(this, Tt, Ce(this, Fe, _i).call(this, () => ft(() => T(this, qn).call(this, r)))), T(this, mn) === 0 && (T(this, wt).before(n), pe(this, sn, null), jn(
1077
1077
  /** @type {Effect} */
1078
- C(this, it),
1078
+ T(this, it),
1079
1079
  () => {
1080
1080
  pe(this, it, null);
1081
1081
  }
@@ -1088,15 +1088,15 @@ al = function(e) {
1088
1088
  }, $s = function() {
1089
1089
  try {
1090
1090
  if (this.is_pending = this.has_pending_snippet(), pe(this, mn, 0), pe(this, Rn, 0), pe(this, Tt, ft(() => {
1091
- C(this, qn).call(this, C(this, wt));
1092
- })), C(this, mn) > 0) {
1091
+ T(this, qn).call(this, T(this, wt));
1092
+ })), T(this, mn) > 0) {
1093
1093
  var e = pe(this, sn, document.createDocumentFragment());
1094
- ha(C(this, Tt), e);
1094
+ ha(T(this, Tt), e);
1095
1095
  const n = (
1096
1096
  /** @type {(anchor: Node) => void} */
1097
- C(this, Ct).pending
1097
+ T(this, Ct).pending
1098
1098
  );
1099
- pe(this, it, ft(() => n(C(this, wt))));
1099
+ pe(this, it, ft(() => n(T(this, wt))));
1100
1100
  } else
1101
1101
  Ce(this, Fe, yi).call(
1102
1102
  this,
@@ -1110,14 +1110,14 @@ al = function(e) {
1110
1110
  * @param {Batch} batch
1111
1111
  */
1112
1112
  yi = function(e) {
1113
- this.is_pending = !1, e.transfer_effects(C(this, Vr), C(this, Wr));
1113
+ this.is_pending = !1, e.transfer_effects(T(this, Vr), T(this, Wr));
1114
1114
  }, /**
1115
1115
  * @template T
1116
1116
  * @param {() => T} fn
1117
1117
  */
1118
1118
  _i = function(e) {
1119
1119
  var n = be, r = Se, i = Pe;
1120
- gt(C(this, ut)), Dt(C(this, ut)), dr(C(this, ut).ctx);
1120
+ gt(T(this, ut)), Dt(T(this, ut)), dr(T(this, ut).ctx);
1121
1121
  try {
1122
1122
  return yn.ensure(), e();
1123
1123
  } catch (s) {
@@ -1137,26 +1137,26 @@ Ms = function(e, n) {
1137
1137
  this.parent && Ce(r = this.parent, Fe, Ms).call(r, e, n);
1138
1138
  return;
1139
1139
  }
1140
- pe(this, mn, C(this, mn) + e), C(this, mn) === 0 && (Ce(this, Fe, yi).call(this, n), C(this, it) && jn(C(this, it), () => {
1140
+ pe(this, mn, T(this, mn) + e), T(this, mn) === 0 && (Ce(this, Fe, yi).call(this, n), T(this, it) && jn(T(this, it), () => {
1141
1141
  pe(this, it, null);
1142
- }), C(this, sn) && (C(this, wt).before(C(this, sn)), pe(this, sn, null)));
1142
+ }), T(this, sn) && (T(this, wt).before(T(this, sn)), pe(this, sn, null)));
1143
1143
  }, /**
1144
1144
  * @param {unknown} error
1145
1145
  */
1146
1146
  Ls = function(e) {
1147
- C(this, Tt) && (We(C(this, Tt)), pe(this, Tt, null)), C(this, it) && (We(C(this, it)), pe(this, it, null)), C(this, xt) && (We(C(this, xt)), pe(this, xt, null)), xe && (et(
1147
+ T(this, Tt) && (We(T(this, Tt)), pe(this, Tt, null)), T(this, it) && (We(T(this, it)), pe(this, it, null)), T(this, xt) && (We(T(this, xt)), pe(this, xt, null)), xe && (et(
1148
1148
  /** @type {TemplateNode} */
1149
- C(this, Jr)
1149
+ T(this, Jr)
1150
1150
  ), Bu(), et($i()));
1151
- var n = C(this, Ct).onerror;
1152
- let r = C(this, Ct).failed;
1151
+ var n = T(this, Ct).onerror;
1152
+ let r = T(this, Ct).failed;
1153
1153
  var i = !1, s = !1;
1154
1154
  const a = () => {
1155
1155
  if (i) {
1156
1156
  Uu();
1157
1157
  return;
1158
1158
  }
1159
- i = !0, s && Ou(), C(this, xt) !== null && jn(C(this, xt), () => {
1159
+ i = !0, s && Ou(), T(this, xt) !== null && jn(T(this, xt), () => {
1160
1160
  pe(this, xt, null);
1161
1161
  }), Ce(this, Fe, _i).call(this, () => {
1162
1162
  Ce(this, Fe, $s).call(this);
@@ -1165,7 +1165,7 @@ Ls = function(e) {
1165
1165
  try {
1166
1166
  s = !0, n == null || n(l, a), s = !1;
1167
1167
  } catch (u) {
1168
- bn(u, C(this, ut) && C(this, ut).parent);
1168
+ bn(u, T(this, ut) && T(this, ut).parent);
1169
1169
  }
1170
1170
  r && pe(this, xt, Ce(this, Fe, _i).call(this, () => {
1171
1171
  try {
@@ -1175,7 +1175,7 @@ Ls = function(e) {
1175
1175
  be
1176
1176
  );
1177
1177
  u.b = this, u.f |= ys, r(
1178
- C(this, wt),
1178
+ T(this, wt),
1179
1179
  () => l,
1180
1180
  () => a
1181
1181
  );
@@ -1184,7 +1184,7 @@ Ls = function(e) {
1184
1184
  return bn(
1185
1185
  u,
1186
1186
  /** @type {Effect} */
1187
- C(this, ut).parent
1187
+ T(this, ut).parent
1188
1188
  ), null;
1189
1189
  }
1190
1190
  }));
@@ -1194,14 +1194,14 @@ Ls = function(e) {
1194
1194
  try {
1195
1195
  l = this.transform_error(e);
1196
1196
  } catch (u) {
1197
- bn(u, C(this, ut) && C(this, ut).parent);
1197
+ bn(u, T(this, ut) && T(this, ut).parent);
1198
1198
  return;
1199
1199
  }
1200
1200
  l !== null && typeof l == "object" && typeof /** @type {any} */
1201
1201
  l.then == "function" ? l.then(
1202
1202
  o,
1203
1203
  /** @param {unknown} e */
1204
- (u) => bn(u, C(this, ut) && C(this, ut).parent)
1204
+ (u) => bn(u, T(this, ut) && T(this, ut).parent)
1205
1205
  ) : o(l);
1206
1206
  });
1207
1207
  };
@@ -1619,8 +1619,8 @@ function Ne(t) {
1619
1619
  var x = (
1620
1620
  /** @type {Source<number>} */
1621
1621
  n.get("length")
1622
- ), T = Number(l);
1623
- Number.isInteger(T) && T >= x.v && k(x, T + 1);
1622
+ ), z = Number(l);
1623
+ Number.isInteger(z) && z >= x.v && k(x, z + 1);
1624
1624
  }
1625
1625
  Pr(i);
1626
1626
  }
@@ -2398,17 +2398,17 @@ function Ps(t) {
2398
2398
  s.disabled || // DOM could've been updated already by the time this is reached, so we check this as well
2399
2399
  // -> the target could not have been disabled because it emits the event in the first place
2400
2400
  t.target === s) && v.call(s, t);
2401
- } catch (T) {
2402
- d ? h.push(T) : d = T;
2401
+ } catch (z) {
2402
+ d ? h.push(z) : d = z;
2403
2403
  }
2404
2404
  if (t.cancelBubble || g === e || g === null)
2405
2405
  break;
2406
2406
  s = g;
2407
2407
  }
2408
2408
  if (d) {
2409
- for (let T of h)
2409
+ for (let z of h)
2410
2410
  queueMicrotask(() => {
2411
- throw T;
2411
+ throw z;
2412
2412
  });
2413
2413
  throw d;
2414
2414
  }
@@ -2652,8 +2652,8 @@ function Nl(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
2652
2652
  for (const _ of [e, document]) {
2653
2653
  var x = hi.get(_);
2654
2654
  x === void 0 && (x = /* @__PURE__ */ new Map(), hi.set(_, x));
2655
- var T = x.get(v);
2656
- T === void 0 ? (_.addEventListener(v, Ps, { passive: m }), x.set(v, 1)) : x.set(v, T + 1);
2655
+ var z = x.get(v);
2656
+ z === void 0 ? (_.addEventListener(v, Ps, { passive: m }), x.set(v, 1)) : x.set(v, z + 1);
2657
2657
  }
2658
2658
  }
2659
2659
  }
@@ -2727,34 +2727,34 @@ class Ed {
2727
2727
  * @param {Batch} batch
2728
2728
  */
2729
2729
  me(this, Xr, (e) => {
2730
- if (C(this, Ot).has(e)) {
2730
+ if (T(this, Ot).has(e)) {
2731
2731
  var n = (
2732
2732
  /** @type {Key} */
2733
- C(this, Ot).get(e)
2734
- ), r = C(this, Zt).get(n);
2733
+ T(this, Ot).get(e)
2734
+ ), r = T(this, Zt).get(n);
2735
2735
  if (r)
2736
- fa(r), C(this, Dn).delete(n);
2736
+ fa(r), T(this, Dn).delete(n);
2737
2737
  else {
2738
- var i = C(this, kt).get(n);
2739
- i && (C(this, Zt).set(n, i.effect), C(this, kt).delete(n), i.fragment.lastChild.remove(), this.anchor.before(i.fragment), r = i.effect);
2738
+ var i = T(this, kt).get(n);
2739
+ i && (T(this, Zt).set(n, i.effect), T(this, kt).delete(n), i.fragment.lastChild.remove(), this.anchor.before(i.fragment), r = i.effect);
2740
2740
  }
2741
- for (const [s, a] of C(this, Ot)) {
2742
- if (C(this, Ot).delete(s), s === e)
2741
+ for (const [s, a] of T(this, Ot)) {
2742
+ if (T(this, Ot).delete(s), s === e)
2743
2743
  break;
2744
- const o = C(this, kt).get(a);
2745
- o && (We(o.effect), C(this, kt).delete(a));
2744
+ const o = T(this, kt).get(a);
2745
+ o && (We(o.effect), T(this, kt).delete(a));
2746
2746
  }
2747
- for (const [s, a] of C(this, Zt)) {
2748
- if (s === n || C(this, Dn).has(s)) continue;
2747
+ for (const [s, a] of T(this, Zt)) {
2748
+ if (s === n || T(this, Dn).has(s)) continue;
2749
2749
  const o = () => {
2750
- if (Array.from(C(this, Ot).values()).includes(s)) {
2750
+ if (Array.from(T(this, Ot).values()).includes(s)) {
2751
2751
  var u = document.createDocumentFragment();
2752
- ha(a, u), u.append(pt()), C(this, kt).set(s, { effect: a, fragment: u });
2752
+ ha(a, u), u.append(pt()), T(this, kt).set(s, { effect: a, fragment: u });
2753
2753
  } else
2754
2754
  We(a);
2755
- C(this, Dn).delete(s), C(this, Zt).delete(s);
2755
+ T(this, Dn).delete(s), T(this, Zt).delete(s);
2756
2756
  };
2757
- C(this, Zr) || !r ? (C(this, Dn).add(s), jn(a, o, !1)) : o();
2757
+ T(this, Zr) || !r ? (T(this, Dn).add(s), jn(a, o, !1)) : o();
2758
2758
  }
2759
2759
  }
2760
2760
  });
@@ -2762,10 +2762,10 @@ class Ed {
2762
2762
  * @param {Batch} batch
2763
2763
  */
2764
2764
  me(this, Yi, (e) => {
2765
- C(this, Ot).delete(e);
2766
- const n = Array.from(C(this, Ot).values());
2767
- for (const [r, i] of C(this, kt))
2768
- n.includes(r) || (We(i.effect), C(this, kt).delete(r));
2765
+ T(this, Ot).delete(e);
2766
+ const n = Array.from(T(this, Ot).values());
2767
+ for (const [r, i] of T(this, kt))
2768
+ n.includes(r) || (We(i.effect), T(this, kt).delete(r));
2769
2769
  });
2770
2770
  this.anchor = e, pe(this, Zr, n);
2771
2771
  }
@@ -2779,26 +2779,26 @@ class Ed {
2779
2779
  /** @type {Batch} */
2780
2780
  oe
2781
2781
  ), i = ml();
2782
- if (n && !C(this, Zt).has(e) && !C(this, kt).has(e))
2782
+ if (n && !T(this, Zt).has(e) && !T(this, kt).has(e))
2783
2783
  if (i) {
2784
2784
  var s = document.createDocumentFragment(), a = pt();
2785
- s.append(a), C(this, kt).set(e, {
2785
+ s.append(a), T(this, kt).set(e, {
2786
2786
  effect: ft(() => n(a)),
2787
2787
  fragment: s
2788
2788
  });
2789
2789
  } else
2790
- C(this, Zt).set(
2790
+ T(this, Zt).set(
2791
2791
  e,
2792
2792
  ft(() => n(this.anchor))
2793
2793
  );
2794
- if (C(this, Ot).set(r, e), i) {
2795
- for (const [o, l] of C(this, Zt))
2794
+ if (T(this, Ot).set(r, e), i) {
2795
+ for (const [o, l] of T(this, Zt))
2796
2796
  o === e ? r.unskip_effect(l) : r.skip_effect(l);
2797
- for (const [o, l] of C(this, kt))
2797
+ for (const [o, l] of T(this, kt))
2798
2798
  o === e ? r.unskip_effect(l.effect) : r.skip_effect(l.effect);
2799
- r.oncommit(C(this, Xr)), r.ondiscard(C(this, Yi));
2799
+ r.oncommit(T(this, Xr)), r.ondiscard(T(this, Yi));
2800
2800
  } else
2801
- xe && (this.anchor = ke), C(this, Xr).call(this, r);
2801
+ xe && (this.anchor = ke), T(this, Xr).call(this, r);
2802
2802
  }
2803
2803
  }
2804
2804
  Ot = new WeakMap(), Zt = new WeakMap(), kt = new WeakMap(), Dn = new WeakMap(), Zr = new WeakMap(), Xr = new WeakMap(), Yi = new WeakMap();
@@ -2953,12 +2953,12 @@ function He(t, e, n, r, i, s = null) {
2953
2953
  return Gi(_) ? _ : _ == null ? [] : Ji(_);
2954
2954
  }), d, h = /* @__PURE__ */ new Map(), g = !0;
2955
2955
  function v(_) {
2956
- T.effect.f & qt || (T.pending.delete(_), T.fallback = c, qd(T, d, a, e, r), c !== null && (d.length === 0 ? c.f & Xt ? (c.f ^= Xt, Lr(c, null, a)) : fa(c) : jn(c, () => {
2956
+ z.effect.f & qt || (z.pending.delete(_), z.fallback = c, qd(z, d, a, e, r), c !== null && (d.length === 0 ? c.f & Xt ? (c.f ^= Xt, Lr(c, null, a)) : fa(c) : jn(c, () => {
2957
2957
  c = null;
2958
2958
  })));
2959
2959
  }
2960
2960
  function m(_) {
2961
- T.pending.delete(_);
2961
+ z.pending.delete(_);
2962
2962
  }
2963
2963
  var x = ua(() => {
2964
2964
  d = /** @type {V[]} */
@@ -2966,8 +2966,8 @@ function He(t, e, n, r, i, s = null) {
2966
2966
  var _ = d.length;
2967
2967
  let A = !1;
2968
2968
  if (xe) {
2969
- var z = Yo(a) === Qs;
2970
- z !== (_ === 0) && (a = $i(), et(a), jt(!1), A = !0);
2969
+ var C = Yo(a) === Qs;
2970
+ C !== (_ === 0) && (a = $i(), et(a), jt(!1), A = !0);
2971
2971
  }
2972
2972
  for (var I = /* @__PURE__ */ new Set(), y = (
2973
2973
  /** @type {Batch} */
@@ -2996,7 +2996,7 @@ function He(t, e, n, r, i, s = null) {
2996
2996
  } else
2997
2997
  v(y);
2998
2998
  A && jt(!0), p(f);
2999
- }), T = { effect: x, items: o, pending: h, outrogroups: null, fallback: c };
2999
+ }), z = { effect: x, items: o, pending: h, outrogroups: null, fallback: c };
3000
3000
  g = !1, xe && (a = ke);
3001
3001
  }
3002
3002
  function Sr(t) {
@@ -3020,8 +3020,8 @@ function qd(t, e, n, r, i) {
3020
3020
  if (m.f ^= Xt, m === l)
3021
3021
  Lr(m, null, n);
3022
3022
  else {
3023
- var T = c ? c.next : l;
3024
- m === t.effect.last && (t.effect.last = m.prev), m.prev && (m.prev.next = m.next), m.next && (m.next.prev = m.prev), pn(t, c, m), pn(t, m, T), Lr(m, T, n), c = m, d = [], h = [], l = Sr(c.next);
3023
+ var z = c ? c.next : l;
3024
+ m === t.effect.last && (t.effect.last = m.prev), m.prev && (m.prev.next = m.next), m.next && (m.next.prev = m.prev), pn(t, c, m), pn(t, m, z), Lr(m, z, n), c = m, d = [], h = [], l = Sr(c.next);
3025
3025
  continue;
3026
3026
  }
3027
3027
  if (m !== l) {
@@ -3029,12 +3029,12 @@ function qd(t, e, n, r, i) {
3029
3029
  if (d.length < h.length) {
3030
3030
  var _ = h[0], A;
3031
3031
  c = _.prev;
3032
- var z = d[0], I = d[d.length - 1];
3032
+ var C = d[0], I = d[d.length - 1];
3033
3033
  for (A = 0; A < d.length; A += 1)
3034
3034
  Lr(d[A], _, n);
3035
3035
  for (A = 0; A < h.length; A += 1)
3036
3036
  u.delete(h[A]);
3037
- pn(t, z.prev, I.next), pn(t, c, z), pn(t, I, _), l = _, c = I, x -= 1, d = [], h = [];
3037
+ pn(t, C.prev, I.next), pn(t, c, C), pn(t, I, _), l = _, c = I, x -= 1, d = [], h = [];
3038
3038
  } else
3039
3039
  u.delete(m), Lr(m, l, n), pn(t, m.prev, m.next), pn(t, m, c === null ? t.effect.first : c.next), pn(t, c, m), c = m;
3040
3040
  continue;
@@ -3286,13 +3286,13 @@ function ht(t, e, n, r) {
3286
3286
  if (((_ = m.nodes).t ?? (_.t = [])).push(v), i && Fs) {
3287
3287
  var x = o;
3288
3288
  if (!x) {
3289
- for (var T = (
3289
+ for (var z = (
3290
3290
  /** @type {Effect | null} */
3291
3291
  m.parent
3292
- ); T && T.f & Bn; )
3293
- for (; (T = T.parent) && !(T.f & At); )
3292
+ ); z && z.f & Bn; )
3293
+ for (; (z = z.parent) && !(z.f & At); )
3294
3294
  ;
3295
- x = !T || (T.f & hn) !== 0;
3295
+ x = !z || (z.f & hn) !== 0;
3296
3296
  }
3297
3297
  x && wr(() => {
3298
3298
  Oe(() => v.in());
@@ -3335,24 +3335,24 @@ function Ns(t, e, n, r, i, s) {
3335
3335
  m.cancel(), i();
3336
3336
  var x = (n == null ? void 0 : n.t()) ?? 1 - r;
3337
3337
  n == null || n.abort();
3338
- var T = r - x, _ = (
3338
+ var z = r - x, _ = (
3339
3339
  /** @type {number} */
3340
- e.duration * Math.abs(T)
3340
+ e.duration * Math.abs(z)
3341
3341
  ), A = [];
3342
3342
  if (_ > 0) {
3343
- var z = !1;
3343
+ var C = !1;
3344
3344
  if (c)
3345
3345
  for (var I = Math.ceil(_ / 16.666666666666668), y = 0; y <= I; y += 1) {
3346
- var S = x + T * d(y / I), $ = Ja(c(S, 1 - S));
3347
- A.push($), z || (z = $.overflow === "hidden");
3346
+ var S = x + z * d(y / I), $ = Ja(c(S, 1 - S));
3347
+ A.push($), C || (C = $.overflow === "hidden");
3348
3348
  }
3349
- z && (t.style.overflow = "hidden"), v = () => {
3349
+ C && (t.style.overflow = "hidden"), v = () => {
3350
3350
  var q = (
3351
3351
  /** @type {number} */
3352
3352
  /** @type {globalThis.Animation} */
3353
3353
  m.currentTime
3354
3354
  );
3355
- return x + T * d(q / _);
3355
+ return x + z * d(q / _);
3356
3356
  }, f && Pd(() => {
3357
3357
  if (m.playState !== "running") return !1;
3358
3358
  var q = v();
@@ -3647,9 +3647,9 @@ function Zd(t, e, n, r, i = !1, s = !1) {
3647
3647
  var x = d[I];
3648
3648
  if (!(y === x && !(y === void 0 && t.hasAttribute(I)))) {
3649
3649
  d[I] = y;
3650
- var T = I[0] + I[1];
3651
- if (T !== "$$")
3652
- if (T === "on") {
3650
+ var z = I[0] + I[1];
3651
+ if (z !== "$$")
3652
+ if (z === "on") {
3653
3653
  const S = {}, $ = "$$" + I;
3654
3654
  let q = I.slice(2);
3655
3655
  var _ = kd(q);
@@ -3684,8 +3684,8 @@ function Zd(t, e, n, r, i = !1, s = !1) {
3684
3684
  else {
3685
3685
  var A = I;
3686
3686
  c || (A = _d(A));
3687
- var z = A === "defaultValue" || A === "defaultChecked";
3688
- if (y == null && !u && !z)
3687
+ var C = A === "defaultValue" || A === "defaultChecked";
3688
+ if (y == null && !u && !C)
3689
3689
  if (l[I] = null, A === "value" || A === "checked") {
3690
3690
  let S = (
3691
3691
  /** @type {HTMLInputElement} */
@@ -3701,7 +3701,7 @@ function Zd(t, e, n, r, i = !1, s = !1) {
3701
3701
  }
3702
3702
  } else
3703
3703
  t.removeAttribute(I);
3704
- else z || v.includes(A) && (u || typeof y != "string") ? (t[A] = y, A in l && (l[A] = Ye)) : typeof y != "function" && ae(t, A, y);
3704
+ else C || v.includes(A) && (u || typeof y != "string") ? (t[A] = y, A in l && (l[A] = Ye)) : typeof y != "function" && ae(t, A, y);
3705
3705
  }
3706
3706
  }
3707
3707
  }
@@ -3957,7 +3957,7 @@ function w(t, e, n, r) {
3957
3957
  let f;
3958
3958
  if (s) {
3959
3959
  var d = cn in t || Ho in t;
3960
- f = ((A = Fn(t, e)) == null ? void 0 : A.set) ?? (d && e in t ? (z) => t[e] = z : void 0);
3960
+ f = ((A = Fn(t, e)) == null ? void 0 : A.set) ?? (d && e in t ? (C) => t[e] = C : void 0);
3961
3961
  }
3962
3962
  var h, g = !1;
3963
3963
  s ? [h, g] = Vu(() => (
@@ -3967,43 +3967,43 @@ function w(t, e, n, r) {
3967
3967
  t[e], h === void 0 && r !== void 0 && (h = c(), f && (i && Ru(), f(h)));
3968
3968
  var v;
3969
3969
  if (i ? v = () => {
3970
- var z = (
3970
+ var C = (
3971
3971
  /** @type {V} */
3972
3972
  t[e]
3973
3973
  );
3974
- return z === void 0 ? c() : (l = !0, z);
3974
+ return C === void 0 ? c() : (l = !0, C);
3975
3975
  } : v = () => {
3976
- var z = (
3976
+ var C = (
3977
3977
  /** @type {V} */
3978
3978
  t[e]
3979
3979
  );
3980
- return z !== void 0 && (o = /** @type {V} */
3981
- void 0), z === void 0 ? o : z;
3980
+ return C !== void 0 && (o = /** @type {V} */
3981
+ void 0), C === void 0 ? o : C;
3982
3982
  }, i && !(n & Po))
3983
3983
  return v;
3984
3984
  if (f) {
3985
3985
  var m = t.$$legacy;
3986
3986
  return (
3987
3987
  /** @type {() => V} */
3988
- function(z, I) {
3989
- return arguments.length > 0 ? ((!i || !I || m || g) && f(I ? v() : z), z) : v();
3988
+ function(C, I) {
3989
+ return arguments.length > 0 ? ((!i || !I || m || g) && f(I ? v() : C), C) : v();
3990
3990
  }
3991
3991
  );
3992
3992
  }
3993
- var x = !1, T = (n & lu ? fr : aa)(() => (x = !1, v()));
3994
- s && p(T);
3993
+ var x = !1, z = (n & lu ? fr : aa)(() => (x = !1, v()));
3994
+ s && p(z);
3995
3995
  var _ = (
3996
3996
  /** @type {Effect} */
3997
3997
  be
3998
3998
  );
3999
3999
  return (
4000
4000
  /** @type {() => V} */
4001
- function(z, I) {
4001
+ function(C, I) {
4002
4002
  if (arguments.length > 0) {
4003
- const y = I ? p(T) : i && s ? Ne(z) : z;
4004
- return k(T, y), x = !0, o !== void 0 && (o = y), z;
4003
+ const y = I ? p(z) : i && s ? Ne(C) : C;
4004
+ return k(z, y), x = !0, o !== void 0 && (o = y), C;
4005
4005
  }
4006
- return fn && x || _.f & qt ? T.v : p(T);
4006
+ return fn && x || _.f & qt ? z.v : p(z);
4007
4007
  }
4008
4008
  );
4009
4009
  }
@@ -4050,27 +4050,27 @@ class ef {
4050
4050
  recover: e.recover,
4051
4051
  transformError: e.transformError
4052
4052
  })), (!((s = e == null ? void 0 : e.props) != null && s.$$host) || e.sync === !1) && b(), pe(this, on, i.$$events);
4053
- for (const a of Object.keys(C(this, Et)))
4053
+ for (const a of Object.keys(T(this, Et)))
4054
4054
  a === "$set" || a === "$destroy" || a === "$on" || Nr(this, a, {
4055
4055
  get() {
4056
- return C(this, Et)[a];
4056
+ return T(this, Et)[a];
4057
4057
  },
4058
4058
  /** @param {any} value */
4059
4059
  set(o) {
4060
- C(this, Et)[a] = o;
4060
+ T(this, Et)[a] = o;
4061
4061
  },
4062
4062
  enumerable: !0
4063
4063
  });
4064
- C(this, Et).$set = /** @param {Record<string, any>} next */
4064
+ T(this, Et).$set = /** @param {Record<string, any>} next */
4065
4065
  (a) => {
4066
4066
  Object.assign(i, a);
4067
- }, C(this, Et).$destroy = () => {
4068
- Td(C(this, Et));
4067
+ }, T(this, Et).$destroy = () => {
4068
+ Td(T(this, Et));
4069
4069
  };
4070
4070
  }
4071
4071
  /** @param {Record<string, any>} props */
4072
4072
  $set(e) {
4073
- C(this, Et).$set(e);
4073
+ T(this, Et).$set(e);
4074
4074
  }
4075
4075
  /**
4076
4076
  * @param {string} event
@@ -4078,17 +4078,17 @@ class ef {
4078
4078
  * @returns {any}
4079
4079
  */
4080
4080
  $on(e, n) {
4081
- C(this, on)[e] = C(this, on)[e] || [];
4081
+ T(this, on)[e] = T(this, on)[e] || [];
4082
4082
  const r = (...i) => n.call(this, ...i);
4083
- return C(this, on)[e].push(r), () => {
4084
- C(this, on)[e] = C(this, on)[e].filter(
4083
+ return T(this, on)[e].push(r), () => {
4084
+ T(this, on)[e] = T(this, on)[e].filter(
4085
4085
  /** @param {any} fn */
4086
4086
  (i) => i !== r
4087
4087
  );
4088
4088
  };
4089
4089
  }
4090
4090
  $destroy() {
4091
- C(this, Et).$destroy();
4091
+ T(this, Et).$destroy();
4092
4092
  }
4093
4093
  }
4094
4094
  on = new WeakMap(), Et = new WeakMap();
@@ -5781,7 +5781,7 @@ function cc(t, e) {
5781
5781
  const x = () => {
5782
5782
  tn.update((B) => B === "default" ? "light" : "default"), lc.setColorMode(ri(tn));
5783
5783
  };
5784
- let T = /* @__PURE__ */ Ee(n);
5784
+ let z = /* @__PURE__ */ Ee(n);
5785
5785
  var _ = {
5786
5786
  get show() {
5787
5787
  return s();
@@ -5855,7 +5855,7 @@ function cc(t, e) {
5855
5855
  set toggleReduce(B) {
5856
5856
  m(B), b();
5857
5857
  }
5858
- }, A = Jg(), z = M(A), I = M(z), y = M(I), S = N(y, 2), $ = M(S);
5858
+ }, A = Jg(), C = M(A), I = M(C), y = M(I), S = N(y, 2), $ = M(S);
5859
5859
  $.value = $.__value = "it";
5860
5860
  var q = N($);
5861
5861
  q.value = q.__value = "en", E(S), E(I);
@@ -5864,7 +5864,7 @@ function cc(t, e) {
5864
5864
  var H = (B) => {
5865
5865
  var K = Ug(), Re = M(K, !0);
5866
5866
  E(K), O(() => {
5867
- Z(K, 1, "header-chat-title " + p(T), "svelte-1lc0kb8"), ae(K, "title", l().title), we(Re, l().title);
5867
+ Z(K, 1, "header-chat-title " + p(z), "svelte-1lc0kb8"), ae(K, "title", l().title), we(Re, l().title);
5868
5868
  }), L(B, K);
5869
5869
  };
5870
5870
  le(U, (B) => {
@@ -5876,7 +5876,7 @@ function cc(t, e) {
5876
5876
  {
5877
5877
  var se = (B) => {
5878
5878
  var K = Bg();
5879
- O(() => Z(K, 1, "new-chat " + p(T), "svelte-1lc0kb8")), _e("click", K, () => {
5879
+ O(() => Z(K, 1, "new-chat " + p(z), "svelte-1lc0kb8")), _e("click", K, () => {
5880
5880
  a() && o() === "prompt" ? a(!1) : (a(!0), o("prompt"));
5881
5881
  }), L(B, K);
5882
5882
  };
@@ -5892,7 +5892,7 @@ function cc(t, e) {
5892
5892
  var K = Hg();
5893
5893
  O(
5894
5894
  (Re, Ie) => {
5895
- Z(K, 1, "new-chat " + p(T), "svelte-1lc0kb8"), ae(K, "title", Re), ae(K, "aria-label", Ie);
5895
+ Z(K, 1, "new-chat " + p(z), "svelte-1lc0kb8"), ae(K, "title", Re), ae(K, "aria-label", Ie);
5896
5896
  },
5897
5897
  [() => ms(), () => u() ? ms() : bs()]
5898
5898
  ), _e("click", K, () => u(!u())), L(B, K);
@@ -5900,7 +5900,7 @@ function cc(t, e) {
5900
5900
  var K = Yg();
5901
5901
  O(
5902
5902
  (Re, Ie) => {
5903
- Z(K, 1, "new-chat " + p(T), "svelte-1lc0kb8"), ae(K, "title", Re), ae(K, "aria-label", Ie);
5903
+ Z(K, 1, "new-chat " + p(z), "svelte-1lc0kb8"), ae(K, "title", Re), ae(K, "aria-label", Ie);
5904
5904
  },
5905
5905
  [() => bs(), () => u() ? ms() : bs()]
5906
5906
  ), _e("click", K, () => u(!u())), L(B, K);
@@ -5921,12 +5921,12 @@ function cc(t, e) {
5921
5921
  }
5922
5922
  E(Q);
5923
5923
  var G = N(Q, 2), re = N(G, 2);
5924
- E(Y), E(z), E(A), O(
5924
+ E(Y), E(C), E(A), O(
5925
5925
  (B, K, Re, Ie, te, ee, Le, Xe, Be) => {
5926
- Z(y, 1, es(p(T)), "svelte-1lc0kb8"), Z(V, 1, "color-mode-button " + p(T), "svelte-1lc0kb8"), ae(V, "title", B), Z(P, 1, "new-chat " + p(T), "svelte-1lc0kb8"), ae(P, "aria-label", K), ae(P, "title", Re), Z(Q, 1, "history-button " + p(T), "svelte-1lc0kb8"), ae(Q, "title", Ie), ae(Q, "aria-label", te), Z(G, 1, "reduce-button " + p(T), "svelte-1lc0kb8"), ae(G, "title", ee), ae(G, "aria-label", Le), Z(re, 1, "close-button " + p(T), "svelte-1lc0kb8"), ae(re, "title", Xe), ae(re, "aria-label", Be);
5926
+ Z(y, 1, es(p(z)), "svelte-1lc0kb8"), Z(V, 1, "color-mode-button " + p(z), "svelte-1lc0kb8"), ae(V, "title", B), Z(P, 1, "new-chat " + p(z), "svelte-1lc0kb8"), ae(P, "aria-label", K), ae(P, "title", Re), Z(Q, 1, "history-button " + p(z), "svelte-1lc0kb8"), ae(Q, "title", Ie), ae(Q, "aria-label", te), Z(G, 1, "reduce-button " + p(z), "svelte-1lc0kb8"), ae(G, "title", ee), ae(G, "aria-label", Le), Z(re, 1, "close-button " + p(z), "svelte-1lc0kb8"), ae(re, "title", Xe), ae(re, "aria-label", Be);
5927
5927
  },
5928
5928
  [
5929
- () => p(T) === "default" ? Xp() : eg(),
5929
+ () => p(z) === "default" ? Xp() : eg(),
5930
5930
  () => Bs(),
5931
5931
  () => Bs(),
5932
5932
  () => ec(),
@@ -6518,8 +6518,8 @@ const Tn = async (t) => {
6518
6518
  u = new WebSocket(m), l && l.addEventListener("abort", () => {
6519
6519
  u && u.readyState === WebSocket.OPEN && (u.close(), c = !0);
6520
6520
  });
6521
- const x = 6e4;
6522
- await new Promise((T, _) => {
6521
+ const x = 12e4;
6522
+ await new Promise((z, _) => {
6523
6523
  if (!u) return _(new Error("WebSocket not initialized"));
6524
6524
  let A;
6525
6525
  u.onopen = () => {
@@ -6529,23 +6529,23 @@ const Tn = async (t) => {
6529
6529
  lang: Pi(a)
6530
6530
  })), A = setTimeout(() => {
6531
6531
  u == null || u.close();
6532
- const z = new Error("WebSocket timeout");
6533
- z.name = "WebSocketTimeoutError", _(z);
6532
+ const C = new Error("WebSocket timeout");
6533
+ C.name = "WebSocketTimeoutError", _(C);
6534
6534
  }, x));
6535
- }, u.onmessage = (z) => {
6535
+ }, u.onmessage = (C) => {
6536
6536
  clearTimeout(A), A = void 0;
6537
- let I = JSON.parse(z.data);
6537
+ let I = JSON.parse(C.data);
6538
6538
  s(I.message, I.attachments, I.agent);
6539
6539
  }, u.onerror = () => {
6540
6540
  clearTimeout(A), _(new Error("WebSocket connection error"));
6541
- }, u.onclose = (z) => {
6542
- if (clearTimeout(A), z.wasClean)
6543
- T();
6544
- else if (z.reason) {
6545
- const I = new Error(z.reason);
6541
+ }, u.onclose = (C) => {
6542
+ if (clearTimeout(A), C.wasClean)
6543
+ z();
6544
+ else if (C.reason) {
6545
+ const I = new Error(C.reason);
6546
6546
  I.name = "WebSocketServerError", _(I);
6547
6547
  } else
6548
- _(new Error(`WebSocket closed unexpectedly: ${z.code}`));
6548
+ _(new Error(`WebSocket closed unexpectedly: ${C.code}`));
6549
6549
  };
6550
6550
  });
6551
6551
  } catch (f) {
@@ -7023,13 +7023,13 @@ function Mv(t, e) {
7023
7023
  var v = M(h), m = M(v);
7024
7024
  let x;
7025
7025
  E(v);
7026
- var T = N(v, 2), _ = M(T);
7026
+ var z = N(v, 2), _ = M(z);
7027
7027
  let A;
7028
- E(T);
7029
- var z = N(T, 2), I = M(z);
7030
- let y;
7031
7028
  E(z);
7032
- var S = N(z, 2), $ = M(S);
7029
+ var C = N(z, 2), I = M(C);
7030
+ let y;
7031
+ E(C);
7032
+ var S = N(C, 2), $ = M(S);
7033
7033
  let q;
7034
7034
  return E(S), E(h), E(d), E(f), O(() => {
7035
7035
  ge(f, `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${s() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${o() ?? ""}; --ballBottomRightColor: ${l() ?? ""}; --duration: ${u() ?? ""};`), g = Z(h, 1, "ball-container svelte-1ld5hqc", null, g, { "pause-animation": i() }), x = Z(m, 1, "ball ball-top-left svelte-1ld5hqc", null, x, { "pause-animation": i() }), A = Z(_, 1, "ball ball-top-right svelte-1ld5hqc", null, A, { "pause-animation": i() }), y = Z(I, 1, "ball ball-bottom-left svelte-1ld5hqc", null, y, { "pause-animation": i() }), q = Z($, 1, "ball ball-bottom-right svelte-1ld5hqc", null, q, { "pause-animation": i() });
@@ -8930,7 +8930,7 @@ function gc(t, e) {
8930
8930
  r(!1), k(h, ""), m();
8931
8931
  }, m = () => {
8932
8932
  k(l, [], !0), k(u, [], !0), k(c, [], !0), k(f, [], !0);
8933
- }, x = (D) => n()[D._id] ? (delete n()[D._id], !0) : !1, T = (D) => Object.keys(n()).length >= D ? (alert(op({ count: D })), !1) : !0, _ = (D) => {
8933
+ }, x = (D) => n()[D._id] ? (delete n()[D._id], !0) : !1, z = (D) => Object.keys(n()).length >= D ? (alert(op({ count: D })), !1) : !0, _ = (D) => {
8934
8934
  if (D instanceof Sn)
8935
8935
  return {
8936
8936
  title: D.title,
@@ -8964,8 +8964,8 @@ function gc(t, e) {
8964
8964
  if (x(D))
8965
8965
  return;
8966
8966
  const G = D instanceof Jn || D instanceof Cn ? s.gendoc : s.default;
8967
- T(G) && n(n()[D._id] = _(D), !0);
8968
- }, z = async (D, G, re, ne) => {
8967
+ z(G) && n(n()[D._id] = _(D), !0);
8968
+ }, C = async (D, G, re, ne) => {
8969
8969
  if (D.length < a) {
8970
8970
  re([]);
8971
8971
  return;
@@ -8983,12 +8983,12 @@ function gc(t, e) {
8983
8983
  const G = D.target;
8984
8984
  k(h, G.value, !0);
8985
8985
  const ne = {
8986
- normative: () => z(p(h), () => yt.getForge(p(h), i()), (B) => k(u, B, !0), "Errore nella ricerca forge:"),
8987
- suite: () => z(p(h), () => yt.getForge(p(h), i()), (B) => k(u, B, !0), "Errore nella ricerca forge:"),
8988
- gendoc: () => z(p(h), () => yt.getGenDocs(p(h)), (B) => k(c, B, !0), "Errore nella ricerca gendocs:"),
8989
- transcriptions: () => z(p(h), () => yt.getTranscriptions(p(h)), (B) => k(f, B, !0), "Errore nella ricerca trascrizioni:")
8986
+ normative: () => C(p(h), () => yt.getForge(p(h), i()), (B) => k(u, B, !0), "Errore nella ricerca forge:"),
8987
+ suite: () => C(p(h), () => yt.getForge(p(h), i()), (B) => k(u, B, !0), "Errore nella ricerca forge:"),
8988
+ gendoc: () => C(p(h), () => yt.getGenDocs(p(h)), (B) => k(c, B, !0), "Errore nella ricerca gendocs:"),
8989
+ transcriptions: () => C(p(h), () => yt.getTranscriptions(p(h)), (B) => k(f, B, !0), "Errore nella ricerca trascrizioni:")
8990
8990
  }[i()];
8991
- ne ? ne() : z(p(h), () => yt.getDocuments(p(h)), (B) => k(l, B, !0), "Errore nella ricerca documenti:");
8991
+ ne ? ne() : C(p(h), () => yt.getDocuments(p(h)), (B) => k(l, B, !0), "Errore nella ricerca documenti:");
8992
8992
  };
8993
8993
  var y = {
8994
8994
  get attachments() {
@@ -9152,13 +9152,13 @@ function vc(t, e) {
9152
9152
  var d = N(c, 2);
9153
9153
  {
9154
9154
  var h = (g) => {
9155
- var v = z0(), m = M(v), x = N(M(m), 2), T = M(x);
9155
+ var v = z0(), m = M(v), x = N(M(m), 2), z = M(x);
9156
9156
  E(x), E(m);
9157
- var _ = N(m, 2), A = N(M(_), 2), z = M(A, !0);
9157
+ var _ = N(m, 2), A = N(M(_), 2), C = M(A, !0);
9158
9158
  E(A), E(_), E(v), O(
9159
9159
  (I, y, S, $, q, U, H) => {
9160
- Z(m, 1, I, "svelte-beso1r"), m.disabled = y, we(T, `${S ?? ""}
9161
- ${$ ?? ""}`), Z(_, 1, q, "svelte-beso1r"), _.disabled = U, we(z, H);
9160
+ Z(m, 1, I, "svelte-beso1r"), m.disabled = y, we(z, `${S ?? ""}
9161
+ ${$ ?? ""}`), Z(_, 1, q, "svelte-beso1r"), _.disabled = U, we(C, H);
9162
9162
  },
9163
9163
  [
9164
9164
  () => `dropdown-option ${a.includes(r()) ? "" : "option-disabled"}`,
@@ -9254,12 +9254,12 @@ function mc(t, e) {
9254
9254
  m.value = m.__value = "suite_agent";
9255
9255
  var x = N(m);
9256
9256
  {
9257
- var T = (_) => {
9257
+ var z = (_) => {
9258
9258
  var A = I0();
9259
9259
  A.value = A.__value = "risk_analysis_agent", L(_, A);
9260
9260
  };
9261
9261
  le(x, (_) => {
9262
- r() >= 25 && _(T);
9262
+ r() >= 25 && _(z);
9263
9263
  });
9264
9264
  }
9265
9265
  return E(a), O((_) => we(c, _), [() => zf()]), _e("change", a, function(..._) {
@@ -9319,7 +9319,7 @@ function bc(t, e) {
9319
9319
  }, d = R0();
9320
9320
  return He(d, 21, () => Object.entries(n()), Je, (h, g) => {
9321
9321
  var v = /* @__PURE__ */ Ee(() => zu(p(g), 2));
9322
- let m = () => p(v)[0], x = () => p(v)[1].title, T = () => p(v)[1].ext_id, _ = () => p(v)[1].gendoc_id, A = () => p(v)[1].storage_id, z = () => p(v)[1].isCommon;
9322
+ let m = () => p(v)[0], x = () => p(v)[1].title, z = () => p(v)[1].ext_id, _ = () => p(v)[1].gendoc_id, A = () => p(v)[1].storage_id, C = () => p(v)[1].isCommon;
9323
9323
  var I = q0(), y = M(I), S = N(y, 2);
9324
9324
  {
9325
9325
  var $ = (H) => {
@@ -9332,19 +9332,19 @@ function bc(t, e) {
9332
9332
  ), L(H, Y);
9333
9333
  }, q = (H) => {
9334
9334
  var Y = L0(), ce = M(Y, !0);
9335
- E(Y), O(() => we(ce, x())), _e("click", Y, () => i()(T(), x(), _())), L(H, Y);
9335
+ E(Y), O(() => we(ce, x())), _e("click", Y, () => i()(z(), x(), _())), L(H, Y);
9336
9336
  };
9337
9337
  le(S, (H) => {
9338
- z() ? H($) : H(q, -1);
9338
+ C() ? H($) : H(q, -1);
9339
9339
  });
9340
9340
  }
9341
9341
  var U = N(S, 2);
9342
9342
  E(I), O(
9343
9343
  (H, Y, ce) => {
9344
- Z(I, 1, `attachment-item ${z() ? "common" : ""}`, "svelte-1i2ceqk"), ae(I, "title", H), Z(y, 1, Y, "svelte-1i2ceqk"), ge(y, ce), Z(U, 1, `remove-btn ${z() ? "common" : ""}`, "svelte-1i2ceqk");
9344
+ Z(I, 1, `attachment-item ${C() ? "common" : ""}`, "svelte-1i2ceqk"), ae(I, "title", H), Z(y, 1, Y, "svelte-1i2ceqk"), ge(y, ce), Z(U, 1, `remove-btn ${C() ? "common" : ""}`, "svelte-1i2ceqk");
9345
9345
  },
9346
9346
  [
9347
- () => c(z() ?? !1, x()),
9347
+ () => c(C() ?? !1, x()),
9348
9348
  () => `fa-solid ${Ig(x())}`,
9349
9349
  () => x().toLowerCase().endsWith(".tldv") ? "color: #1d1dff" : ""
9350
9350
  ]
@@ -9558,7 +9558,7 @@ function wc(t, e) {
9558
9558
  var x = (S) => {
9559
9559
  var $ = F0();
9560
9560
  O((q) => ae($, "title", q), [() => jf()]), _e("click", $, h), L(S, $);
9561
- }, T = (S) => {
9561
+ }, z = (S) => {
9562
9562
  var $ = O0(), q = M($);
9563
9563
  Fi(q, { size: "20", color: "white" }), E($), L(S, $);
9564
9564
  }, _ = (S) => {
@@ -9571,12 +9571,12 @@ function wc(t, e) {
9571
9571
  ), _e("click", $, d), L(S, $);
9572
9572
  };
9573
9573
  le(m, (S) => {
9574
- r() ? S(x) : p(c) ? S(T, 1) : S(_, -1);
9574
+ r() ? S(x) : p(c) ? S(z, 1) : S(_, -1);
9575
9575
  });
9576
9576
  }
9577
9577
  var A = N(m, 2);
9578
9578
  {
9579
- var z = (S) => {
9579
+ var C = (S) => {
9580
9580
  var $ = N0();
9581
9581
  O((q) => ae($, "title", q), [() => Vh()]), _e("click", $, function(...q) {
9582
9582
  var U;
@@ -9598,7 +9598,7 @@ function wc(t, e) {
9598
9598
  }), L(S, $);
9599
9599
  };
9600
9600
  le(A, (S) => {
9601
- a() && o() ? S(z) : a() ? S(I, 1) : S(y, -1);
9601
+ a() && o() ? S(C) : a() ? S(I, 1) : S(y, -1);
9602
9602
  });
9603
9603
  }
9604
9604
  return E(v), L(t, v), fe(g);
@@ -9729,9 +9729,9 @@ function kc(t, e) {
9729
9729
  var P;
9730
9730
  g() && (k(v, g(), !0), g(""), (P = p(m)) == null || P.focus());
9731
9731
  });
9732
- let x = /* @__PURE__ */ W(!1), T = /* @__PURE__ */ W(""), _ = /* @__PURE__ */ W(!1), A = /* @__PURE__ */ W(!1), z = null;
9732
+ let x = /* @__PURE__ */ W(!1), z = /* @__PURE__ */ W(""), _ = /* @__PURE__ */ W(!1), A = /* @__PURE__ */ W(!1), C = null;
9733
9733
  ai(() => {
9734
- z = new go({
9734
+ C = new go({
9735
9735
  onProgressUpdate: (P) => {
9736
9736
  d(P.fileName), h(P.progress);
9737
9737
  },
@@ -9754,9 +9754,9 @@ function kc(t, e) {
9754
9754
  }, $ = () => {
9755
9755
  k(_, !1), k(A, !0);
9756
9756
  }, q = () => {
9757
- k(_, !1), z && go.openFileDialog(
9757
+ k(_, !1), C && go.openFileDialog(
9758
9758
  async (P) => {
9759
- P && P.length > 0 && await z.uploadMultipleFiles(P, u(), c(), n());
9759
+ P && P.length > 0 && await C.uploadMultipleFiles(P, u(), c(), n());
9760
9760
  },
9761
9761
  !0
9762
9762
  );
@@ -9856,7 +9856,7 @@ function kc(t, e) {
9856
9856
  return p(x);
9857
9857
  },
9858
9858
  get interimTranscript() {
9859
- return p(T);
9859
+ return p(z);
9860
9860
  },
9861
9861
  get loading() {
9862
9862
  return i();
@@ -9935,10 +9935,10 @@ function kc(t, e) {
9935
9935
  k(x, Ie, !0);
9936
9936
  },
9937
9937
  get interimTranscript() {
9938
- return p(T);
9938
+ return p(z);
9939
9939
  },
9940
9940
  set interimTranscript(Ie) {
9941
- k(T, Ie, !0);
9941
+ k(z, Ie, !0);
9942
9942
  }
9943
9943
  }), E(re), E(G), L(P, Q);
9944
9944
  };
@@ -10289,11 +10289,11 @@ function hb(t, e) {
10289
10289
  };
10290
10290
  let s = n.body;
10291
10291
  [n, r].forEach((v) => {
10292
- const m = [], x = v.hFlip, T = v.vFlip;
10292
+ const m = [], x = v.hFlip, z = v.vFlip;
10293
10293
  let _ = v.rotate;
10294
- x ? T ? _ += 2 : (m.push(
10294
+ x ? z ? _ += 2 : (m.push(
10295
10295
  "translate(" + (i.width + i.left).toString() + " " + (0 - i.top).toString() + ")"
10296
- ), m.push("scale(-1 1)"), i.top = i.left = 0) : T && (m.push(
10296
+ ), m.push("scale(-1 1)"), i.top = i.left = 0) : z && (m.push(
10297
10297
  "translate(" + (0 - i.left).toString() + " " + (i.height + i.top).toString() + ")"
10298
10298
  ), m.push("scale(1 -1)"), i.top = i.left = 0);
10299
10299
  let A;
@@ -10644,7 +10644,7 @@ function Lb(t, e, n, r) {
10644
10644
  abort: v
10645
10645
  };
10646
10646
  }
10647
- function T() {
10647
+ function z() {
10648
10648
  l = "failed", h.forEach((I) => {
10649
10649
  I(void 0, c);
10650
10650
  });
@@ -10667,11 +10667,11 @@ function Lb(t, e, n, r) {
10667
10667
  return;
10668
10668
  }
10669
10669
  if (y === "abort") {
10670
- c = S, T();
10670
+ c = S, z();
10671
10671
  return;
10672
10672
  }
10673
10673
  if ($) {
10674
- c = S, d.length || (a.length ? z() : T());
10674
+ c = S, d.length || (a.length ? C() : z());
10675
10675
  return;
10676
10676
  }
10677
10677
  if (g(), _(), !t.random) {
@@ -10682,7 +10682,7 @@ function Lb(t, e, n, r) {
10682
10682
  q(S);
10683
10683
  });
10684
10684
  }
10685
- function z() {
10685
+ function C() {
10686
10686
  if (l !== "pending")
10687
10687
  return;
10688
10688
  g();
@@ -10690,11 +10690,11 @@ function Lb(t, e, n, r) {
10690
10690
  if (I === void 0) {
10691
10691
  if (d.length) {
10692
10692
  f = setTimeout(() => {
10693
- g(), l === "pending" && (_(), T());
10693
+ g(), l === "pending" && (_(), z());
10694
10694
  }, t.timeout);
10695
10695
  return;
10696
10696
  }
10697
- T();
10697
+ z();
10698
10698
  return;
10699
10699
  }
10700
10700
  const y = {
@@ -10704,9 +10704,9 @@ function Lb(t, e, n, r) {
10704
10704
  A(y, S, $);
10705
10705
  }
10706
10706
  };
10707
- d.push(y), u++, f = setTimeout(z, t.rotate), n(I, e, y.callback);
10707
+ d.push(y), u++, f = setTimeout(C, t.rotate), n(I, e, y.callback);
10708
10708
  }
10709
- return setTimeout(z), x;
10709
+ return setTimeout(C), x;
10710
10710
  }
10711
10711
  function $c(t) {
10712
10712
  const e = {
@@ -10995,8 +10995,8 @@ function Xb(t, e) {
10995
10995
  t.body.indexOf("xlink:") === -1 && delete i["xmlns:xlink"];
10996
10996
  let s = typeof e.style == "string" ? e.style : "";
10997
10997
  for (let x in e) {
10998
- const T = e[x];
10999
- if (T !== void 0)
10998
+ const z = e[x];
10999
+ if (z !== void 0)
11000
11000
  switch (x) {
11001
11001
  case "icon":
11002
11002
  case "style":
@@ -11007,35 +11007,35 @@ function Xb(t, e) {
11007
11007
  case "inline":
11008
11008
  case "hFlip":
11009
11009
  case "vFlip":
11010
- n[x] = T === !0 || T === "true" || T === 1;
11010
+ n[x] = z === !0 || z === "true" || z === 1;
11011
11011
  break;
11012
11012
  case "flip":
11013
- typeof T == "string" && Ub(n, T);
11013
+ typeof z == "string" && Ub(n, z);
11014
11014
  break;
11015
11015
  case "color":
11016
- s = s + (s.length > 0 && s.trim().slice(-1) !== ";" ? ";" : "") + "color: " + T + "; ";
11016
+ s = s + (s.length > 0 && s.trim().slice(-1) !== ";" ? ";" : "") + "color: " + z + "; ";
11017
11017
  break;
11018
11018
  case "rotate":
11019
- typeof T == "string" ? n[x] = Bb(T) : typeof T == "number" && (n[x] = T);
11019
+ typeof z == "string" ? n[x] = Bb(z) : typeof z == "number" && (n[x] = z);
11020
11020
  break;
11021
11021
  case "ariaHidden":
11022
11022
  case "aria-hidden":
11023
- T !== !0 && T !== "true" && delete i["aria-hidden"];
11023
+ z !== !0 && z !== "true" && delete i["aria-hidden"];
11024
11024
  break;
11025
11025
  default:
11026
11026
  if (x.slice(0, 3) === "on:")
11027
11027
  break;
11028
- _o[x] === void 0 && (i[x] = T);
11028
+ _o[x] === void 0 && (i[x] = z);
11029
11029
  }
11030
11030
  }
11031
11031
  const a = hb(t, n), o = a.attributes;
11032
11032
  if (n.inline && (s = "vertical-align: -0.125em; " + s), r === "svg") {
11033
11033
  Object.assign(i, o), s !== "" && (i.style = s);
11034
- let x = 0, T = e.id;
11035
- return typeof T == "string" && (T = T.replace(/-/g, "_")), {
11034
+ let x = 0, z = e.id;
11035
+ return typeof z == "string" && (z = z.replace(/-/g, "_")), {
11036
11036
  svg: !0,
11037
11037
  attributes: i,
11038
- body: mb(a.body, T ? () => T + "ID" + x++ : "iconifySvelte")
11038
+ body: mb(a.body, z ? () => z + "ID" + x++ : "iconifySvelte")
11039
11039
  };
11040
11040
  }
11041
11041
  const { body: l, width: u, height: c } = t, f = r === "mask" || (r === "bg" ? !1 : l.indexOf("currentColor") !== -1), d = Hb(l, {
@@ -11045,8 +11045,8 @@ function Xb(t, e) {
11045
11045
  }), g = {
11046
11046
  "--svg": Jb(d)
11047
11047
  }, v = (x) => {
11048
- const T = o[x];
11049
- T && (g[x] = Zb(T));
11048
+ const z = o[x];
11049
+ z && (g[x] = Zb(z));
11050
11050
  };
11051
11051
  v("width"), v("height"), Object.assign(g, Wb, f ? Ws : Mc);
11052
11052
  let m = "";
@@ -11152,11 +11152,11 @@ function wn(t, e) {
11152
11152
  var h = pr(), g = rt(h);
11153
11153
  {
11154
11154
  var v = (x) => {
11155
- var T = Kb();
11156
- Za(T, () => ({ ...p(a).attributes })), Ki(T, () => (p(a), Oe(() => p(a).body)), !0), E(T), L(x, T);
11155
+ var z = Kb();
11156
+ Za(z, () => ({ ...p(a).attributes })), Ki(z, () => (p(a), Oe(() => p(a).body)), !0), E(z), L(x, z);
11157
11157
  }, m = (x) => {
11158
- var T = e1();
11159
- Za(T, () => ({ ...p(a).attributes })), L(x, T);
11158
+ var z = e1();
11159
+ Za(z, () => ({ ...p(a).attributes })), L(x, z);
11160
11160
  };
11161
11161
  le(g, (x) => {
11162
11162
  p(a), Oe(() => p(a).svg) ? x(v) : x(m, -1);
@@ -11577,22 +11577,22 @@ ${f}` : f;
11577
11577
  break;
11578
11578
  c = n[0], e = e.substring(c.length);
11579
11579
  let d = n[2].split(`
11580
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (T) => " ".repeat(3 * T.length)), h = e.split(`
11580
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (z) => " ".repeat(3 * z.length)), h = e.split(`
11581
11581
  `, 1)[0], g = !d.trim(), v = 0;
11582
11582
  if (this.options.pedantic ? (v = 2, f = d.trimStart()) : g ? v = n[1].length + 1 : (v = n[2].search(this.rules.other.nonSpaceChar), v = v > 4 ? 1 : v, f = d.slice(v), v += n[1].length), g && this.rules.other.blankLine.test(h) && (c += h + `
11583
11583
  `, e = e.substring(h.length + 1), u = !0), !u) {
11584
- const T = this.rules.other.nextBulletRegex(v), _ = this.rules.other.hrRegex(v), A = this.rules.other.fencesBeginRegex(v), z = this.rules.other.headingBeginRegex(v), I = this.rules.other.htmlBeginRegex(v);
11584
+ const z = this.rules.other.nextBulletRegex(v), _ = this.rules.other.hrRegex(v), A = this.rules.other.fencesBeginRegex(v), C = this.rules.other.headingBeginRegex(v), I = this.rules.other.htmlBeginRegex(v);
11585
11585
  for (; e; ) {
11586
11586
  const y = e.split(`
11587
11587
  `, 1)[0];
11588
11588
  let S;
11589
- if (h = y, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), S = h) : S = h.replace(this.rules.other.tabCharGlobal, " "), A.test(h) || z.test(h) || I.test(h) || T.test(h) || _.test(h))
11589
+ if (h = y, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), S = h) : S = h.replace(this.rules.other.tabCharGlobal, " "), A.test(h) || C.test(h) || I.test(h) || z.test(h) || _.test(h))
11590
11590
  break;
11591
11591
  if (S.search(this.rules.other.nonSpaceChar) >= v || !h.trim())
11592
11592
  f += `
11593
11593
  ` + S.slice(v);
11594
11594
  else {
11595
- if (g || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || A.test(d) || z.test(d) || _.test(d))
11595
+ if (g || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || A.test(d) || C.test(d) || _.test(d))
11596
11596
  break;
11597
11597
  f += `
11598
11598
  ` + h;
@@ -12802,12 +12802,12 @@ function Hc(t, e) {
12802
12802
  }
12803
12803
  var g = N(d, 2), v = M(g), m = M(v), x = M(m);
12804
12804
  Ki(x, () => s().html ?? Ae.parseInline(s().content), !0), E(x), E(m);
12805
- var T = N(m, 2), _ = M(T);
12805
+ var z = N(m, 2), _ = M(z);
12806
12806
  {
12807
12807
  var A = (y) => {
12808
12808
  var S = O1();
12809
12809
  O(() => Z(S, 1, `copy-button ${p(u)}`, "svelte-c54l2r")), L(y, S);
12810
- }, z = (y) => {
12810
+ }, C = (y) => {
12811
12811
  var S = U1(), $ = M(S);
12812
12812
  {
12813
12813
  var q = (H) => {
@@ -12829,10 +12829,10 @@ function Hc(t, e) {
12829
12829
  ), _e("click", S, () => l()(s(), o())), L(y, S);
12830
12830
  };
12831
12831
  le(_, (y) => {
12832
- s().pending ? y(A) : y(z, -1);
12832
+ s().pending ? y(A) : y(C, -1);
12833
12833
  });
12834
12834
  }
12835
- E(T), E(v), E(g), E(f), O(() => {
12835
+ E(z), E(v), E(g), E(f), O(() => {
12836
12836
  ae(g, "data-message-index", o()), Z(m, 1, `message-sent ${p(u)} ${s().pending ? "pending" : ""}`, "svelte-c54l2r");
12837
12837
  }), L(t, f);
12838
12838
  var I = fe(c);
@@ -12872,33 +12872,33 @@ function Yc(t, e) {
12872
12872
  const _ = u0(r()), A = d0(r());
12873
12873
  try {
12874
12874
  await f0(_, A), l();
12875
- } catch (z) {
12876
- console.error("Errore durante la copia:", z);
12875
+ } catch (C) {
12876
+ console.error("Errore durante la copia:", C);
12877
12877
  try {
12878
12878
  await navigator.clipboard.writeText(A), l();
12879
12879
  } catch (I) {
12880
12880
  console.error("Errore anche nel fallback:", I);
12881
12881
  }
12882
12882
  }
12883
- }, c = async (_, A, z) => {
12884
- await yt.getDocumentPage(_, A, z);
12885
- }, f = async (_, A, z) => {
12883
+ }, c = async (_, A, C) => {
12884
+ await yt.getDocumentPage(_, A, C);
12885
+ }, f = async (_, A, C) => {
12886
12886
  if (!l0(i(), A)) {
12887
12887
  console.error("L'utente non ha il permesso di scaricare PDF normativi.");
12888
12888
  return;
12889
12889
  }
12890
- const I = vi(_, z);
12890
+ const I = vi(_, C);
12891
12891
  o(I, !0);
12892
12892
  try {
12893
12893
  const y = await yt.downloadForgePdf(_, A), S = window.URL.createObjectURL(y), $ = document.createElement("a");
12894
- $.href = S, $.download = `${z.split(".")[0]}.pdf`, document.body.appendChild($), $.click(), $.remove(), window.URL.revokeObjectURL(S);
12894
+ $.href = S, $.download = `${C.split(".")[0]}.pdf`, document.body.appendChild($), $.click(), $.remove(), window.URL.revokeObjectURL(S);
12895
12895
  } catch (y) {
12896
12896
  console.error("Errore durante il download del PDF:", y);
12897
12897
  } finally {
12898
12898
  o(I, !1);
12899
12899
  }
12900
- }, d = async (_, A, z) => {
12901
- const I = vi(_, z);
12900
+ }, d = async (_, A, C) => {
12901
+ const I = vi(_, C);
12902
12902
  o(I, !0);
12903
12903
  try {
12904
12904
  const y = await yt.getForgeSingle(_, A), S = y.additionalReference || y.url;
@@ -12909,28 +12909,28 @@ function Yc(t, e) {
12909
12909
  o(I, !1);
12910
12910
  }
12911
12911
  }, h = async (_, A) => {
12912
- const z = vi(_, A);
12913
- o(z, !0);
12912
+ const C = vi(_, A);
12913
+ o(C, !0);
12914
12914
  try {
12915
12915
  const I = await yt.getMeetingSingle(_);
12916
12916
  window.open(I.meetingUrl, "_blank");
12917
12917
  } catch (I) {
12918
12918
  console.error("Errore durante il recupero del link TLDV:", I);
12919
12919
  } finally {
12920
- o(z, !1);
12920
+ o(C, !1);
12921
12921
  }
12922
12922
  }, g = async (_) => {
12923
- const { external_id: A, filename: z, gendoc_id: I, isCommon: y, commonType: S } = _;
12923
+ const { external_id: A, filename: C, gendoc_id: I, isCommon: y, commonType: S } = _;
12924
12924
  if (!y) {
12925
- await c(A, z, I);
12925
+ await c(A, C, I);
12926
12926
  return;
12927
12927
  }
12928
12928
  if (S === "trascrizione") {
12929
- await h(A, z);
12929
+ await h(A, C);
12930
12930
  return;
12931
12931
  }
12932
- const $ = rc(z);
12933
- !Sg(z) || $ === "mp3" ? await d(A, S || "", z) : await f(A, S || "", z);
12932
+ const $ = rc(C);
12933
+ !Sg(C) || $ === "mp3" ? await d(A, S || "", C) : await f(A, S || "", C);
12934
12934
  };
12935
12935
  var v = {
12936
12936
  get isDropdownOpen() {
@@ -12953,8 +12953,8 @@ function Yc(t, e) {
12953
12953
  }
12954
12954
  }, m = X1(), x = M(m);
12955
12955
  {
12956
- var T = (_) => {
12957
- var A = Z1(), z = M(A);
12956
+ var z = (_) => {
12957
+ var A = Z1(), C = M(A);
12958
12958
  {
12959
12959
  var I = (y) => {
12960
12960
  var S = W1(), $ = N(M(S), 2);
@@ -13002,14 +13002,14 @@ function Yc(t, e) {
13002
13002
  [() => gi(), () => gi()]
13003
13003
  ), _e("click", U, u), ht(3, S, () => rf, () => ({ duration: 300 })), L(y, S);
13004
13004
  };
13005
- le(z, (y) => {
13005
+ le(C, (y) => {
13006
13006
  n() && y(I);
13007
13007
  });
13008
13008
  }
13009
13009
  E(A), L(_, A);
13010
13010
  };
13011
13011
  le(x, (_) => {
13012
- r().length > 0 && _(T);
13012
+ r().length > 0 && _(z);
13013
13013
  });
13014
13014
  }
13015
13015
  return E(m), L(t, m), fe(v);
@@ -13104,8 +13104,8 @@ function Gc(t, e) {
13104
13104
  set copyMessageToClipboard(P) {
13105
13105
  g(P), b();
13106
13106
  }
13107
- }, x = sw(), T = M(x), _ = M(T), A = M(_), z = M(A);
13108
- Ki(z, () => s().html ?? Ae.parseInline(s().content), !0), E(z), E(A);
13107
+ }, x = sw(), z = M(x), _ = M(z), A = M(_), C = M(A);
13108
+ Ki(C, () => s().html ?? Ae.parseInline(s().content), !0), E(C), E(A);
13109
13109
  var I = N(A, 2), y = M(I);
13110
13110
  {
13111
13111
  var S = (P) => {
@@ -13212,9 +13212,9 @@ function Gc(t, e) {
13212
13212
  s().content != "" && P(ye);
13213
13213
  });
13214
13214
  }
13215
- E(T), E(x), O(
13215
+ E(z), E(x), O(
13216
13216
  (P) => {
13217
- ae(T, "data-message-index", l()), Z(A, 1, `message-received ${p(v)}`, "svelte-18ivoa8"), Z(ce, 1, `copy-button ${p(v)}`, "svelte-18ivoa8"), ae(ce, "title", P);
13217
+ ae(z, "data-message-index", l()), Z(A, 1, `message-received ${p(v)}`, "svelte-18ivoa8"), Z(ce, 1, `copy-button ${p(v)}`, "svelte-18ivoa8"), ae(ce, "title", P);
13218
13218
  },
13219
13219
  [() => u()[l()] || tc()]
13220
13220
  ), _e("click", ce, () => g()(s(), l())), L(t, x);
@@ -13280,11 +13280,11 @@ function Jc(t, e) {
13280
13280
  }
13281
13281
  }, f = lw(), d = M(f), h = M(d), g = M(h);
13282
13282
  Ki(g, s, !0), E(g), E(h);
13283
- var v = N(h, 2), m = M(v), x = M(m), T = N(M(x), 2), _ = M(T, !0);
13284
- E(T), E(x), E(m), E(v), E(d);
13283
+ var v = N(h, 2), m = M(v), x = M(m), z = N(M(x), 2), _ = M(z, !0);
13284
+ E(z), E(x), E(m), E(v), E(d);
13285
13285
  var A = N(d, 2);
13286
13286
  {
13287
- var z = (y) => {
13287
+ var C = (y) => {
13288
13288
  var S = ow(), $ = M(S);
13289
13289
  {
13290
13290
  let q = /* @__PURE__ */ Ee(() => p(u) === "light" ? "#3c4450" : "white");
@@ -13300,7 +13300,7 @@ function Jc(t, e) {
13300
13300
  E(S), O(() => ge(S, `top: ${l().top ?? ""}px; left: ${l().left ?? ""}px;`)), L(y, S);
13301
13301
  };
13302
13302
  le(A, (y) => {
13303
- o() && l() && y(z);
13303
+ o() && l() && y(C);
13304
13304
  });
13305
13305
  }
13306
13306
  E(f), O((y) => we(_, y), [() => ic(a())]), L(t, f);
@@ -13390,11 +13390,11 @@ function fw(t, e, n, r) {
13390
13390
  if (!h.querySelector(".play-button")) return;
13391
13391
  const x = h.querySelector(".message-received");
13392
13392
  if (!x) return;
13393
- const T = g.getBoundingClientRect(), _ = x.getBoundingClientRect(), A = Math.max(_.top, c), z = Math.min(_.bottom, f);
13394
- if (A < f && z > c) {
13395
- const I = (A + z) / 2;
13393
+ const z = g.getBoundingClientRect(), _ = x.getBoundingClientRect(), A = Math.max(_.top, c), C = Math.min(_.bottom, f);
13394
+ if (A < f && C > c) {
13395
+ const I = (A + C) / 2;
13396
13396
  i[m] = {
13397
- top: I - T.top,
13397
+ top: I - z.top,
13398
13398
  left: _.width + 5
13399
13399
  };
13400
13400
  }
@@ -13405,11 +13405,11 @@ function fw(t, e, n, r) {
13405
13405
  if (h) {
13406
13406
  const g = d.getBoundingClientRect(), v = h.getBoundingClientRect(), m = Math.max(v.top, c), x = Math.min(v.bottom, f);
13407
13407
  if (m < f && x > c) {
13408
- const T = (m + x) / 2;
13408
+ const z = (m + x) / 2;
13409
13409
  k(
13410
13410
  s,
13411
13411
  {
13412
- top: T - g.top,
13412
+ top: z - g.top,
13413
13413
  left: v.width + 5
13414
13414
  },
13415
13415
  !0
@@ -13473,8 +13473,8 @@ const bw = {
13473
13473
  function Vc(t, e) {
13474
13474
  de(e, !0), ve(t, bw);
13475
13475
  const n = () => kn(tn, "$colorModeStore", r), [r, i] = Zn();
13476
- let s = w(e, "messages", 15), a = w(e, "loading", 15), o = w(e, "error", 15), l = w(e, "streamMessage", 15), u = w(e, "streamAttachments", 15), c = w(e, "streamedAgent", 15), f = w(e, "languageSelected", 15), d = w(e, "userLevel", 15), h = w(e, "loadingChat", 15), g = w(e, "onQuickReply", 7), v = w(e, "onChangeChat", 7), m = /* @__PURE__ */ Ee(n), x = /* @__PURE__ */ W(void 0), T = /* @__PURE__ */ W(Ne({})), _ = /* @__PURE__ */ W(Ne({}));
13477
- const A = uw(() => f()), z = dw(() => s(), () => h()), I = fw(() => p(x), () => a(), () => l(), () => z.displayMessages);
13476
+ let s = w(e, "messages", 15), a = w(e, "loading", 15), o = w(e, "error", 15), l = w(e, "streamMessage", 15), u = w(e, "streamAttachments", 15), c = w(e, "streamedAgent", 15), f = w(e, "languageSelected", 15), d = w(e, "userLevel", 15), h = w(e, "loadingChat", 15), g = w(e, "onQuickReply", 7), v = w(e, "onChangeChat", 7), m = /* @__PURE__ */ Ee(n), x = /* @__PURE__ */ W(void 0), z = /* @__PURE__ */ W(Ne({})), _ = /* @__PURE__ */ W(Ne({}));
13477
+ const A = uw(() => f()), C = dw(() => s(), () => h()), I = fw(() => p(x), () => a(), () => l(), () => C.displayMessages);
13478
13478
  function y() {
13479
13479
  return p(x) ? p(x).scrollHeight - p(x).scrollTop - p(x).clientHeight < 100 : !1;
13480
13480
  }
@@ -13483,7 +13483,7 @@ function Vc(t, e) {
13483
13483
  p(x) && (p(x).scrollTop = p(x).scrollHeight);
13484
13484
  });
13485
13485
  }), De(() => {
13486
- l(), z.displayMessages, en().then(() => {
13486
+ l(), C.displayMessages, en().then(() => {
13487
13487
  y() && (p(x).scrollTop = p(x).scrollHeight);
13488
13488
  });
13489
13489
  }), De(() => {
@@ -13586,7 +13586,7 @@ function Vc(t, e) {
13586
13586
  {
13587
13587
  var H = (V) => {
13588
13588
  var ie = gw(), ze = N(M(ie), 2);
13589
- He(ze, 17, () => z.displayMessages, Je, (D, G, re) => {
13589
+ He(ze, 17, () => C.displayMessages, Je, (D, G, re) => {
13590
13590
  var ne = pr(), B = rt(ne);
13591
13591
  {
13592
13592
  var K = (Ie) => {
@@ -13609,7 +13609,7 @@ function Vc(t, e) {
13609
13609
  return p(G);
13610
13610
  },
13611
13611
  get openAttachmentsModal() {
13612
- return p(T);
13612
+ return p(z);
13613
13613
  },
13614
13614
  get userLevel() {
13615
13615
  return d();
@@ -13693,11 +13693,11 @@ function Vc(t, e) {
13693
13693
  }
13694
13694
  E(ie), Qt("outroend", ie, function(...D) {
13695
13695
  var G;
13696
- (G = z.handleMessagesOutroEnd) == null || G.apply(this, D);
13696
+ (G = C.handleMessagesOutroEnd) == null || G.apply(this, D);
13697
13697
  }), ht(1, ie, () => Kt, () => ({ duration: 100, delay: 100 })), ht(2, ie, () => Kt, () => ({ duration: 100 })), L(V, ie);
13698
13698
  };
13699
13699
  le(U, (V) => {
13700
- z.showMessages && V(H);
13700
+ C.showMessages && V(H);
13701
13701
  });
13702
13702
  }
13703
13703
  var Y = N(U, 2);
@@ -13711,11 +13711,11 @@ function Vc(t, e) {
13711
13711
  color: "white"
13712
13712
  }), E(ie), Qt("outroend", ie, function(...ye) {
13713
13713
  var Te;
13714
- (Te = z.handleLoaderOutroEnd) == null || Te.apply(this, ye);
13714
+ (Te = C.handleLoaderOutroEnd) == null || Te.apply(this, ye);
13715
13715
  }), ht(1, ie, () => Kt, () => ({ duration: 100, delay: 200 })), ht(2, ie, () => Kt, () => ({ duration: 100 })), L(V, ie);
13716
13716
  };
13717
13717
  le(Y, (V) => {
13718
- z.showLoader && V(ce);
13718
+ C.showLoader && V(ce);
13719
13719
  });
13720
13720
  }
13721
13721
  E($), oi($, (V) => k(x, V), () => p(x)), O(() => q = Z($, 1, "chat-body svelte-1uca092", null, q, { light: p(m) === "light" })), L(t, $);
@@ -13818,11 +13818,11 @@ function Wc(t, e) {
13818
13818
  });
13819
13819
  }
13820
13820
  E(d);
13821
- var x = N(d, 2), T = M(x), _ = N(M(T));
13822
- E(T);
13823
- var A = N(T, 2);
13821
+ var x = N(d, 2), z = M(x), _ = N(M(z));
13822
+ E(z);
13823
+ var A = N(z, 2);
13824
13824
  {
13825
- var z = (y) => {
13825
+ var C = (y) => {
13826
13826
  var S = xw(), $ = N(rt(S), 2), q = N(M($));
13827
13827
  E($), O(
13828
13828
  (U, H) => {
@@ -13835,14 +13835,14 @@ function Wc(t, e) {
13835
13835
  ), L(y, S);
13836
13836
  };
13837
13837
  le(A, (y) => {
13838
- n().lastUpdate && y(z);
13838
+ n().lastUpdate && y(C);
13839
13839
  });
13840
13840
  }
13841
13841
  E(x), E(f), E(c);
13842
13842
  var I = N(c, 2);
13843
13843
  return E(l), O(
13844
13844
  (y, S) => {
13845
- u = Z(l, 1, "chat svelte-14euf0l", null, u, { active: r() }), ae(c, "title", n().title), ae(h, "title", n().title), we(g, n().title), ae(T, "title", y), we(_, ` ${S ?? ""}`);
13845
+ u = Z(l, 1, "chat svelte-14euf0l", null, u, { active: r() }), ae(c, "title", n().title), ae(h, "title", n().title), we(g, n().title), ae(z, "title", y), we(_, ` ${S ?? ""}`);
13846
13846
  },
13847
13847
  [
13848
13848
  () => Up(),
@@ -13978,11 +13978,11 @@ function Zc(t, e) {
13978
13978
  set pagination($) {
13979
13979
  u($), b();
13980
13980
  }
13981
- }, v = Iw(), m = rt(v), x = M(m), T = M(x, !0);
13981
+ }, v = Iw(), m = rt(v), x = M(m), z = M(x, !0);
13982
13982
  E(x);
13983
13983
  var _ = N(x, 2);
13984
13984
  E(m);
13985
- var A = N(m, 2), z = M(A);
13985
+ var A = N(m, 2), C = M(A);
13986
13986
  {
13987
13987
  var I = ($) => {
13988
13988
  var q = _w();
@@ -14034,11 +14034,11 @@ function Zc(t, e) {
14034
14034
  }
14035
14035
  L($, q);
14036
14036
  };
14037
- le(z, ($) => {
14037
+ le(C, ($) => {
14038
14038
  s() ? $(I) : r().length === 0 ? $(y, 1) : $(S, -1);
14039
14039
  });
14040
14040
  }
14041
- return E(A), oi(A, ($) => k(f, $), () => p(f)), O(($) => we(T, $), [() => ec()]), _e("click", _, function(...$) {
14041
+ return E(A), oi(A, ($) => k(f, $), () => p(f)), O(($) => we(z, $), [() => ec()]), _e("click", _, function(...$) {
14042
14042
  var q;
14043
14043
  (q = n()) == null || q.apply(this, $);
14044
14044
  }), Qt("scroll", A, h), L(t, v), fe(g);
@@ -14258,7 +14258,7 @@ function Xc(t, e) {
14258
14258
  });
14259
14259
  }
14260
14260
  E(h);
14261
- var x = N(h, 2), T = M(x);
14261
+ var x = N(h, 2), z = M(x);
14262
14262
  {
14263
14263
  var _ = (y) => {
14264
14264
  var S = jw(), $ = rt(S), q = M($, !0);
@@ -14320,18 +14320,18 @@ function Xc(t, e) {
14320
14320
  }), _e("click", H, () => o(p(q))), L($, U);
14321
14321
  }), E(S), L(y, S);
14322
14322
  };
14323
- le(T, (y) => {
14323
+ le(z, (y) => {
14324
14324
  p(i) ? y(_) : y(A, -1);
14325
14325
  });
14326
14326
  }
14327
14327
  E(x);
14328
- var z = N(x, 2);
14328
+ var C = N(x, 2);
14329
14329
  {
14330
14330
  var I = (y) => {
14331
14331
  var S = Bw(), $ = M(S);
14332
14332
  E(S), O(() => $.disabled = !p(c)), L(y, S);
14333
14333
  };
14334
- le(z, (y) => {
14334
+ le(C, (y) => {
14335
14335
  p(i) && y(I);
14336
14336
  });
14337
14337
  }
@@ -14414,9 +14414,9 @@ function Qc(t, e) {
14414
14414
  }, h = pr(), g = rt(h);
14415
14415
  {
14416
14416
  var v = (m) => {
14417
- var x = Vw(), T = M(x);
14417
+ var x = Vw(), z = M(x);
14418
14418
  {
14419
- var _ = (z) => {
14419
+ var _ = (C) => {
14420
14420
  var I = Gw(), y = M(I);
14421
14421
  Zc(y, {
14422
14422
  get chats() {
@@ -14441,18 +14441,18 @@ function Qc(t, e) {
14441
14441
  return c();
14442
14442
  },
14443
14443
  onClose: () => n(!1)
14444
- }), E(I), ht(3, I, () => Kt, () => ({ duration: 150 })), L(z, I);
14445
- }, A = (z) => {
14444
+ }), E(I), ht(3, I, () => Kt, () => ({ duration: 150 })), L(C, I);
14445
+ }, A = (C) => {
14446
14446
  var I = Jw(), y = M(I);
14447
14447
  Xc(y, {
14448
14448
  get onConfirm() {
14449
14449
  return f();
14450
14450
  },
14451
14451
  onClose: () => n(!1)
14452
- }), E(I), ht(3, I, () => Kt, () => ({ duration: 150 })), L(z, I);
14452
+ }), E(I), ht(3, I, () => Kt, () => ({ duration: 150 })), L(C, I);
14453
14453
  };
14454
- le(T, (z) => {
14455
- r() === "history" ? z(_) : r() === "prompt" && z(A, 1);
14454
+ le(z, (C) => {
14455
+ r() === "history" ? C(_) : r() === "prompt" && C(A, 1);
14456
14456
  });
14457
14457
  }
14458
14458
  E(x), ht(3, x, () => sf, () => ({ duration: 600 })), L(m, x);
@@ -14557,26 +14557,26 @@ function Xw(t) {
14557
14557
  let m = Object.values(t.getAttachments()).map((_) => new ts(_.title, _.ext_id, "", "", !0, "Documento Comune"));
14558
14558
  const x = new un(/* @__PURE__ */ (/* @__PURE__ */ new Date()).getTime(), !0, g, g, m);
14559
14559
  x.pending = !0, k(e, [...p(e), x], !0);
14560
- let T = t.getActChat();
14560
+ let z = t.getActChat();
14561
14561
  if (p(e).length == 2) {
14562
- const _ = await Qe.newChat(T == null ? void 0 : T.state);
14563
- _.messages = p(e), t.setActChat(_), T = _, t.setChats([_, ...t.getChats()]);
14562
+ const _ = await Qe.newChat(z == null ? void 0 : z.state);
14563
+ _.messages = p(e), t.setActChat(_), z = _, t.setChats([_, ...t.getChats()]);
14564
14564
  }
14565
- if (T) {
14565
+ if (z) {
14566
14566
  k(o, new AbortController(), !0);
14567
14567
  try {
14568
14568
  let _ = await Qe.sendMessage(
14569
- T._id,
14569
+ z._id,
14570
14570
  g,
14571
14571
  v,
14572
14572
  m,
14573
- T.state,
14573
+ z.state,
14574
14574
  f,
14575
14575
  t.getLanguageSelected(),
14576
14576
  () => {
14577
14577
  k(
14578
14578
  e,
14579
- p(e).map((z) => z.pending ? new un(z.timeStamp, z.sentByUser, z.content, z.html, z.attachments, z.agentUsed) : z),
14579
+ p(e).map((C) => C.pending ? new un(C.timeStamp, C.sentByUser, C.content, C.html, C.attachments, C.agentUsed) : C),
14580
14580
  !0
14581
14581
  );
14582
14582
  },
@@ -14593,10 +14593,10 @@ function Xw(t) {
14593
14593
  ), k(i, "");
14594
14594
  return;
14595
14595
  }
14596
- const A = await Qe.getChat(T._id);
14596
+ const A = await Qe.getChat(z._id);
14597
14597
  if (t.setActChat(A), t.setChats([
14598
14598
  A,
14599
- ...t.getChats().filter((z) => z._id !== A._id)
14599
+ ...t.getChats().filter((C) => C._id !== A._id)
14600
14600
  ]), k(i, ""), k(s, [], !0), k(
14601
14601
  e,
14602
14602
  [
@@ -14605,9 +14605,9 @@ function Xw(t) {
14605
14605
  ],
14606
14606
  !0
14607
14607
  ), !p(c)) {
14608
- const z = A.messages[A.messages.length - 1];
14608
+ const C = A.messages[A.messages.length - 1];
14609
14609
  try {
14610
- const I = await ka.getAudio(z.content, t.getLanguageSelected());
14610
+ const I = await ka.getAudio(C.content, t.getLanguageSelected());
14611
14611
  l.pause(), l.src = "", u && URL.revokeObjectURL(u), u = I, l = new Audio(I), await l.play();
14612
14612
  } catch (I) {
14613
14613
  console.error("Error playing audio:", I);
@@ -14659,8 +14659,8 @@ function Qw(t) {
14659
14659
  var f;
14660
14660
  !bi.includes(t.getModeSelected()) || (f = t.getActChat()) != null && f.state.blockChat || (c.preventDefault(), c.stopPropagation(), Ur(n, -1), p(n) === 0 && k(e, !1));
14661
14661
  }, u = async (c) => {
14662
- var T, _, A, z;
14663
- if (!bi.includes(t.getModeSelected()) || (T = t.getActChat()) != null && T.state.blockChat) return;
14662
+ var z, _, A, C;
14663
+ if (!bi.includes(t.getModeSelected()) || (z = t.getActChat()) != null && z.state.blockChat) return;
14664
14664
  c.preventDefault(), c.stopPropagation();
14665
14665
  const f = (_ = c.dataTransfer) == null ? void 0 : _.types;
14666
14666
  console.log("[DROP DEBUG] DataTransfer types:", f), k(i, wp(), !0), k(r, 0);
@@ -14708,7 +14708,7 @@ function Qw(t) {
14708
14708
  console.error("Error fetching document from Suite:", $), g && (clearInterval(g), g = null), alert(Hs()), k(e, !1), k(n, 0), k(i, ""), k(r, 0);
14709
14709
  }
14710
14710
  } else {
14711
- const I = (A = c.dataTransfer) == null ? void 0 : A.files, y = I ? Array.from(I) : [], S = t.getActChat(), $ = !!((z = S == null ? void 0 : S.state.info) != null && z.find((q) => q.key === "CLOUDSTORAGE_FILE_UPLOADED"));
14711
+ const I = (A = c.dataTransfer) == null ? void 0 : A.files, y = I ? Array.from(I) : [], S = t.getActChat(), $ = !!((C = S == null ? void 0 : S.state.info) != null && C.find((q) => q.key === "CLOUDSTORAGE_FILE_UPLOADED"));
14712
14712
  try {
14713
14713
  for (const q of y) {
14714
14714
  k(i, q.name, !0);
@@ -14788,25 +14788,25 @@ function Kw(t) {
14788
14788
  const f = l.closest(".resize-handle"), d = l.classList.contains("resize-border-left"), h = l.classList.contains("resize-border-top"), g = (m) => {
14789
14789
  if (!e) return;
14790
14790
  m.preventDefault();
14791
- const x = t.getChatElement(), T = window.innerWidth * 0.75, _ = window.innerHeight * 0.9;
14791
+ const x = t.getChatElement(), z = window.innerWidth * 0.75, _ = window.innerHeight * 0.9;
14792
14792
  if (d) {
14793
- const A = n - m.clientX, z = Math.min(
14793
+ const A = n - m.clientX, C = Math.min(
14794
14794
  Math.max(i + A, 300),
14795
- T
14795
+ z
14796
14796
  );
14797
- x.style.width = `${z}px`;
14797
+ x.style.width = `${C}px`;
14798
14798
  } else if (h) {
14799
- const A = r - m.clientY, z = Math.min(
14799
+ const A = r - m.clientY, C = Math.min(
14800
14800
  Math.max(s + A, 400),
14801
14801
  _
14802
14802
  );
14803
- x.style.height = `${z}px`;
14803
+ x.style.height = `${C}px`;
14804
14804
  } else if (f) {
14805
- const A = n - m.clientX, z = r - m.clientY, I = Math.min(
14805
+ const A = n - m.clientX, C = r - m.clientY, I = Math.min(
14806
14806
  Math.max(i + A, 300),
14807
- T
14807
+ z
14808
14808
  ), y = Math.min(
14809
- Math.max(s + z, 400),
14809
+ Math.max(s + C, 400),
14810
14810
  _
14811
14811
  );
14812
14812
  x.style.width = `${I}px`, x.style.height = `${y}px`;
@@ -14869,7 +14869,7 @@ function ex(t) {
14869
14869
  return;
14870
14870
  }
14871
14871
  const v = await Qe.getChat(h);
14872
- t.getChats().some((x) => x._id === h) ? t.setChats(t.getChats().map((x) => x._id === h ? v : x).sort((x, T) => T.lastUpdate - x.lastUpdate)) : (t.setChats([...t.getChats(), v].sort((x, T) => T.lastUpdate - x.lastUpdate)), k(i, p(i) + 1)), p(a).includes(h) || k(a, [...p(a), h], !0);
14872
+ t.getChats().some((x) => x._id === h) ? t.setChats(t.getChats().map((x) => x._id === h ? v : x).sort((x, z) => z.lastUpdate - x.lastUpdate)) : (t.setChats([...t.getChats(), v].sort((x, z) => z.lastUpdate - x.lastUpdate)), k(i, p(i) + 1)), p(a).includes(h) || k(a, [...p(a), h], !0);
14873
14873
  } catch (g) {
14874
14874
  console.error("Error handling unread chat:", g);
14875
14875
  }
@@ -14880,7 +14880,10 @@ function ex(t) {
14880
14880
  const g = () => {
14881
14881
  h = Qe.subscribeToNotifications({
14882
14882
  onInit: (x) => {
14883
+ var _;
14883
14884
  k(a, x, !0);
14885
+ const z = (_ = t.getActChat()) == null ? void 0 : _._id;
14886
+ z && x.includes(z) && d(z);
14884
14887
  },
14885
14888
  onUnread: d
14886
14889
  });
@@ -14941,8 +14944,8 @@ const lx = {
14941
14944
  function Kc(t, e) {
14942
14945
  de(e, !0), ve(t, lx);
14943
14946
  const n = () => kn(tn, "$colorModeStore", i), r = () => kn(Ys, "$chatCommandStore", i), [i, s] = Zn();
14944
- let a = /* @__PURE__ */ W(!1), o = /* @__PURE__ */ W(!1), l = /* @__PURE__ */ W("history"), u = /* @__PURE__ */ W(!1), c = /* @__PURE__ */ W(""), f = /* @__PURE__ */ W("it"), d = /* @__PURE__ */ W(""), h = /* @__PURE__ */ W(0), g = /* @__PURE__ */ Ee(n), v = /* @__PURE__ */ W(null), m = /* @__PURE__ */ W(Ne([])), x = /* @__PURE__ */ W(!0), T = /* @__PURE__ */ W("auto"), _ = /* @__PURE__ */ W(Ne({})), A = /* @__PURE__ */ W(!1);
14945
- const z = Xw({
14947
+ let a = /* @__PURE__ */ W(!1), o = /* @__PURE__ */ W(!1), l = /* @__PURE__ */ W("history"), u = /* @__PURE__ */ W(!1), c = /* @__PURE__ */ W(""), f = /* @__PURE__ */ W("it"), d = /* @__PURE__ */ W(""), h = /* @__PURE__ */ W(0), g = /* @__PURE__ */ Ee(n), v = /* @__PURE__ */ W(null), m = /* @__PURE__ */ W(Ne([])), x = /* @__PURE__ */ W(!0), z = /* @__PURE__ */ W("auto"), _ = /* @__PURE__ */ W(Ne({})), A = /* @__PURE__ */ W(!1);
14948
+ const C = Xw({
14946
14949
  getActChat: () => p(v),
14947
14950
  setActChat: (j) => {
14948
14951
  k(v, j, !0);
@@ -14954,14 +14957,14 @@ function Kc(t, e) {
14954
14957
  getLanguageSelected: () => p(f),
14955
14958
  getAttachments: () => p(_)
14956
14959
  }), I = Qw({
14957
- getModeSelected: () => p(T),
14960
+ getModeSelected: () => p(z),
14958
14961
  getActChat: () => p(v),
14959
14962
  setAttachment: (j, D) => {
14960
14963
  p(_)[j] = D;
14961
14964
  },
14962
- sendMessage: z.sendMessage,
14965
+ sendMessage: C.sendMessage,
14963
14966
  setError: (j) => {
14964
- z.error = j;
14967
+ C.error = j;
14965
14968
  }
14966
14969
  }), y = (j, D, G) => I.uploadFiles(j, void 0, D, G);
14967
14970
  let S = /* @__PURE__ */ W(null);
@@ -14976,10 +14979,10 @@ function Kc(t, e) {
14976
14979
  k(m, j, !0);
14977
14980
  },
14978
14981
  setMessages: (j) => {
14979
- z.messages = j;
14982
+ C.messages = j;
14980
14983
  },
14981
14984
  setError: (j) => {
14982
- z.error = j;
14985
+ C.error = j;
14983
14986
  },
14984
14987
  setShowHistory: (j) => {
14985
14988
  k(o, j, !0);
@@ -15010,15 +15013,15 @@ function Kc(t, e) {
15010
15013
  info: []
15011
15014
  },
15012
15015
  [
15013
- un.firstMessage(p(f), p(d), p(T))
15016
+ un.firstMessage(p(f), p(d), p(z))
15014
15017
  ]
15015
15018
  ),
15016
15019
  !0
15017
- ), z.streamMessage = "", z.messages = p(v).messages, z.error = "";
15020
+ ), C.streamMessage = "", C.messages = p(v).messages, C.error = "";
15018
15021
  }, ce = () => {
15019
- k(T, "auto"), Y(), U(), k(_, {}, !0);
15022
+ k(z, "auto"), Y(), U(), k(_, {}, !0);
15020
15023
  const j = ri(oc), D = j == null ? void 0 : j.agentId, G = j == null ? void 0 : j.gendocId, re = j == null ? void 0 : j.gendocName;
15021
- D && k(T, D, !0), G && re && (p(_)[G] = {
15024
+ D && k(z, D, !0), G && re && (p(_)[G] = {
15022
15025
  title: re + ".akd",
15023
15026
  ext_id: G,
15024
15027
  gendoc_id: G,
@@ -15027,7 +15030,7 @@ function Kc(t, e) {
15027
15030
  };
15028
15031
  De(() => {
15029
15032
  const j = r();
15030
- j !== null && (Ys.set(null), (async () => j.chatId ? (k(v, await Qe.getChat(j.chatId), !0), z.messages = p(v).messages, p(a) || (k(a, !0), q.loadingChats = !0, await q.loadChats(!0), q.loadingChats = !1), await en(), k(o, !0), k(l, "history")) : ce())());
15033
+ j !== null && (Ys.set(null), (async () => j.chatId ? (k(v, await Qe.getChat(j.chatId), !0), C.messages = p(v).messages, p(a) || (k(a, !0), q.loadingChats = !0, await q.loadChats(!0), q.loadingChats = !1), await en(), k(o, !0), k(l, "history")) : ce())());
15031
15034
  });
15032
15035
  const se = async () => {
15033
15036
  const [j, D, G] = await Promise.all([
@@ -15039,10 +15042,10 @@ function Kc(t, e) {
15039
15042
  const re = new URLSearchParams(window.location.search);
15040
15043
  if (re.has("chatId")) {
15041
15044
  const ne = re.get("chatId");
15042
- k(v, await Qe.getChat(ne), !0), z.messages = p(v).messages, k(a, !0), await en(), k(o, !0), k(l, "history");
15045
+ k(v, await Qe.getChat(ne), !0), C.messages = p(v).messages, k(a, !0), await en(), k(o, !0), k(l, "history");
15043
15046
  } else {
15044
- const ne = un.firstMessage(p(f), p(d), p(T));
15045
- z.messages = [ne], k(
15047
+ const ne = un.firstMessage(p(f), p(d), p(z));
15048
+ C.messages = [ne], k(
15046
15049
  v,
15047
15050
  new Gn(
15048
15051
  "",
@@ -15067,7 +15070,7 @@ function Kc(t, e) {
15067
15070
  try {
15068
15071
  await se();
15069
15072
  } catch (j) {
15070
- console.error("Failed to initialize chat", j), z.error = Uh(), k(x, !1);
15073
+ console.error("Failed to initialize chat", j), C.error = Uh(), k(x, !1);
15071
15074
  }
15072
15075
  });
15073
15076
  var V = ox(), ie = M(V);
@@ -15221,10 +15224,10 @@ function Kc(t, e) {
15221
15224
  k(v, qe, !0);
15222
15225
  },
15223
15226
  get muted() {
15224
- return z.muted;
15227
+ return C.muted;
15225
15228
  },
15226
15229
  set muted(qe) {
15227
- z.muted = qe;
15230
+ C.muted = qe;
15228
15231
  },
15229
15232
  get languageSelected() {
15230
15233
  return p(f);
@@ -15239,10 +15242,10 @@ function Kc(t, e) {
15239
15242
  k(d, qe, !0);
15240
15243
  },
15241
15244
  get error() {
15242
- return z.error;
15245
+ return C.error;
15243
15246
  },
15244
15247
  set error(qe) {
15245
- z.error = qe;
15248
+ C.error = qe;
15246
15249
  },
15247
15250
  get userLevel() {
15248
15251
  return p(h);
@@ -15254,45 +15257,45 @@ function Kc(t, e) {
15254
15257
  }
15255
15258
  var ct = N(St, 2);
15256
15259
  Vc(ct, {
15257
- onQuickReply: (ue) => z.sendMessage(ue, p(T)),
15260
+ onQuickReply: (ue) => C.sendMessage(ue, p(z)),
15258
15261
  get onChangeChat() {
15259
15262
  return q.selectChat;
15260
15263
  },
15261
15264
  get messages() {
15262
- return z.messages;
15265
+ return C.messages;
15263
15266
  },
15264
15267
  set messages(ue) {
15265
- z.messages = ue;
15268
+ C.messages = ue;
15266
15269
  },
15267
15270
  get loading() {
15268
- return z.loading;
15271
+ return C.loading;
15269
15272
  },
15270
15273
  set loading(ue) {
15271
- z.loading = ue;
15274
+ C.loading = ue;
15272
15275
  },
15273
15276
  get error() {
15274
- return z.error;
15277
+ return C.error;
15275
15278
  },
15276
15279
  set error(ue) {
15277
- z.error = ue;
15280
+ C.error = ue;
15278
15281
  },
15279
15282
  get streamMessage() {
15280
- return z.streamMessage;
15283
+ return C.streamMessage;
15281
15284
  },
15282
15285
  set streamMessage(ue) {
15283
- z.streamMessage = ue;
15286
+ C.streamMessage = ue;
15284
15287
  },
15285
15288
  get streamAttachments() {
15286
- return z.streamAttachments;
15289
+ return C.streamAttachments;
15287
15290
  },
15288
15291
  set streamAttachments(ue) {
15289
- z.streamAttachments = ue;
15292
+ C.streamAttachments = ue;
15290
15293
  },
15291
15294
  get streamedAgent() {
15292
- return z.streamedAgent;
15295
+ return C.streamedAgent;
15293
15296
  },
15294
15297
  set streamedAgent(ue) {
15295
- z.streamedAgent = ue;
15298
+ C.streamedAgent = ue;
15296
15299
  },
15297
15300
  get languageSelected() {
15298
15301
  return p(f);
@@ -15316,17 +15319,17 @@ function Kc(t, e) {
15316
15319
  var yr = N(ct, 2);
15317
15320
  kc(yr, {
15318
15321
  get sendMessage() {
15319
- return z.sendMessage;
15322
+ return C.sendMessage;
15320
15323
  },
15321
15324
  get stopMessage() {
15322
- return z.stopMessage;
15325
+ return C.stopMessage;
15323
15326
  },
15324
15327
  uploadFiles: y,
15325
15328
  get loading() {
15326
- return z.loading;
15329
+ return C.loading;
15327
15330
  },
15328
15331
  set loading(ue) {
15329
- z.loading = ue;
15332
+ C.loading = ue;
15330
15333
  },
15331
15334
  get languageSelected() {
15332
15335
  return p(f);
@@ -15335,10 +15338,10 @@ function Kc(t, e) {
15335
15338
  k(f, ue, !0);
15336
15339
  },
15337
15340
  get modeSelected() {
15338
- return p(T);
15341
+ return p(z);
15339
15342
  },
15340
15343
  set modeSelected(ue) {
15341
- k(T, ue, !0);
15344
+ k(z, ue, !0);
15342
15345
  },
15343
15346
  get attachments() {
15344
15347
  return p(_);
@@ -15359,10 +15362,10 @@ function Kc(t, e) {
15359
15362
  k(v, ue, !0);
15360
15363
  },
15361
15364
  get streamMessage() {
15362
- return z.streamMessage;
15365
+ return C.streamMessage;
15363
15366
  },
15364
15367
  set streamMessage(ue) {
15365
- z.streamMessage = ue;
15368
+ C.streamMessage = ue;
15366
15369
  },
15367
15370
  get uploadingFileName() {
15368
15371
  return I.uploadingFileName;