akpm-knowledge-base-chat 2.0.30 → 2.0.31

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 +1098 -1089
  2. package/package.json +1 -1
package/CDN/akb-chat.js CHANGED
@@ -1,4 +1,4 @@
1
- /* Version: 2.0.30 */
1
+ /* Version: 2.0.31 */
2
2
  var mo = Object.defineProperty;
3
3
  var ra = (t) => {
4
4
  throw TypeError(t);
@@ -8,7 +8,7 @@ var I = (t, e, n) => bo(t, typeof e != "symbol" ? e + "" : e, n), sa = (t, e, n)
8
8
  var ht = (t, e, n) => (sa(t, e, "read from private field"), n ? n.call(t) : e.get(t)), Xr = (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), Qr = (t, e, n, r) => (sa(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n);
9
9
  const wo = "5";
10
10
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wo);
11
- const $s = 1, Ss = 2, Ua = 4, xo = 8, _o = 16, ko = 1, yo = 2, qa = 4, zo = 8, To = 16, $o = 1, So = 2, Co = 4, Eo = 1, Io = 2, Ba = "[", Cs = "[!", Es = "]", zn = {}, vt = Symbol();
11
+ const $s = 1, Ss = 2, Ua = 4, xo = 8, _o = 16, ko = 1, yo = 2, qa = 4, zo = 8, To = 16, $o = 1, So = 2, Eo = 4, Co = 1, Io = 2, Ba = "[", Es = "[!", Cs = "]", zn = {}, vt = Symbol();
12
12
  function Ao(t) {
13
13
  return t.endsWith("capture") && t !== "gotpointercapture" && t !== "lostpointercapture";
14
14
  }
@@ -72,7 +72,7 @@ function wr(t) {
72
72
  for (var e = 0; e < t.length; e++)
73
73
  t[e]();
74
74
  }
75
- const Tt = 2, Ya = 4, Kn = 8, Rr = 16, Bt = 32, bn = 64, xr = 128, wn = 256, _r = 512, ot = 1024, Vt = 2048, xn = 4096, Ot = 8192, In = 16384, Ga = 32768, Dr = 65536, Bo = 1 << 17, Ho = 1 << 19, Ja = 1 << 20, Zt = Symbol("$state"), Wa = Symbol("legacy props"), Yo = Symbol("");
75
+ const Tt = 2, Ya = 4, Kn = 8, Rr = 16, Bt = 32, bn = 64, xr = 128, wn = 256, _r = 512, lt = 1024, Vt = 2048, xn = 4096, Ot = 8192, In = 16384, Ga = 32768, Dr = 65536, Bo = 1 << 17, Ho = 1 << 19, Ja = 1 << 20, Zt = Symbol("$state"), Wa = Symbol("legacy props"), Yo = Symbol("");
76
76
  function Za(t) {
77
77
  return t === this.v;
78
78
  }
@@ -135,7 +135,7 @@ function Y(t) {
135
135
  function jr(t, e = !1) {
136
136
  var r;
137
137
  const n = gt(t);
138
- return e || (n.equals = Ls), An && Ie !== null && Ie.l !== null && ((r = Ie.l).s ?? (r.s = [])).push(n), n;
138
+ return e || (n.equals = Ls), An && Ae !== null && Ae.l !== null && ((r = Ae.l).s ?? (r.s = [])).push(n), n;
139
139
  }
140
140
  function Kt(t, e = !1) {
141
141
  return /* @__PURE__ */ Va(/* @__PURE__ */ jr(t, e));
@@ -156,14 +156,14 @@ function m(t, e) {
156
156
  (Mt === null || !Mt.includes(t)) && nl(), os(t, e);
157
157
  }
158
158
  function os(t, e) {
159
- return t.equals(e) || (t.v, t.v = e, t.wv = vi(), Xa(t, Vt), nr() && ve !== null && ve.f & ot && !(ve.f & (Bt | bn)) && (Yt === null ? bl([t]) : Yt.push(t))), e;
159
+ return t.equals(e) || (t.v, t.v = e, t.wv = vi(), Xa(t, Vt), nr() && ve !== null && ve.f & lt && !(ve.f & (Bt | bn)) && (Yt === null ? bl([t]) : Yt.push(t))), e;
160
160
  }
161
161
  function Xa(t, e) {
162
162
  var n = t.reactions;
163
163
  if (n !== null)
164
164
  for (var r = nr(), s = n.length, a = 0; a < s; a++) {
165
165
  var i = n[a], o = i.f;
166
- o & Vt || !r && i === ve || (At(i, e), o & (ot | wn) && (o & Tt ? Xa(
166
+ o & Vt || !r && i === ve || (At(i, e), o & (lt | wn) && (o & Tt ? Xa(
167
167
  /** @type {Derived} */
168
168
  i,
169
169
  xn
@@ -206,10 +206,10 @@ function ls() {
206
206
  /** @type {Comment} */
207
207
  e.data
208
208
  );
209
- if (n === Es) {
209
+ if (n === Cs) {
210
210
  if (t === 0) return e;
211
211
  t -= 1;
212
- } else (n === Ba || n === Cs) && (t += 1);
212
+ } else (n === Ba || n === Es) && (t += 1);
213
213
  }
214
214
  var r = (
215
215
  /** @type {TemplateNode} */
@@ -297,7 +297,7 @@ function C(t, e = null, n) {
297
297
  return f;
298
298
  },
299
299
  set(c, l, u, f) {
300
- var T;
300
+ var $;
301
301
  var p = s.get(l), h = l in c;
302
302
  if (a && l === "length")
303
303
  for (var w = u; w < /** @type {Source<number>} */
@@ -305,7 +305,7 @@ function C(t, e = null, n) {
305
305
  var x = s.get(w + "");
306
306
  x !== void 0 ? m(x, vt) : w in c && (x = gt(vt), s.set(w + "", x));
307
307
  }
308
- p === void 0 ? (!h || (T = hn(c, l)) != null && T.writable) && (p = gt(void 0), m(p, C(u, o)), s.set(l, p)) : (h = p.v !== vt, m(p, C(u, o)));
308
+ p === void 0 ? (!h || ($ = hn(c, l)) != null && $.writable) && (p = gt(void 0), m(p, C(u, o)), s.set(l, p)) : (h = p.v !== vt, m(p, C(u, o)));
309
309
  var k = Reflect.getOwnPropertyDescriptor(c, l);
310
310
  if (k != null && k.set && k.set.call(f, u), !h) {
311
311
  if (a && typeof l == "string") {
@@ -363,7 +363,7 @@ function bt(t) {
363
363
  function Xt(t) {
364
364
  return Ka.call(t);
365
365
  }
366
- function z(t, e) {
366
+ function T(t, e) {
367
367
  if (!he)
368
368
  return /* @__PURE__ */ bt(t);
369
369
  var n = (
@@ -378,7 +378,7 @@ function z(t, e) {
378
378
  }
379
379
  return zt(n), n;
380
380
  }
381
- function it(t, e) {
381
+ function ot(t, e) {
382
382
  if (!he) {
383
383
  var n = (
384
384
  /** @type {DocumentFragment} */
@@ -419,7 +419,7 @@ function Ze(t) {
419
419
  ) : null;
420
420
  const r = {
421
421
  children: null,
422
- ctx: Ie,
422
+ ctx: Ae,
423
423
  deps: null,
424
424
  equals: Za,
425
425
  f: e,
@@ -478,7 +478,7 @@ function ni(t) {
478
478
  return e;
479
479
  }
480
480
  function ri(t) {
481
- var e = ni(t), n = (pn || t.f & wn) && t.deps !== null ? xn : ot;
481
+ var e = ni(t), n = (pn || t.f & wn) && t.deps !== null ? xn : lt;
482
482
  At(t, n), t.equals(e) || (t.v = e, t.wv = vi());
483
483
  }
484
484
  function Rs(t) {
@@ -493,7 +493,7 @@ function ol(t, e) {
493
493
  }
494
494
  function _n(t, e, n, r = !0) {
495
495
  var s = (t & bn) !== 0, a = ve, i = {
496
- ctx: Ie,
496
+ ctx: Ae,
497
497
  deps: null,
498
498
  deriveds: null,
499
499
  nodes_start: null,
@@ -531,15 +531,15 @@ function _n(t, e, n, r = !0) {
531
531
  }
532
532
  function ll(t) {
533
533
  const e = _n(Kn, null, !1);
534
- return At(e, ot), e.teardown = t, e;
534
+ return At(e, lt), e.teardown = t, e;
535
535
  }
536
536
  function Ft(t) {
537
537
  si();
538
- var e = ve !== null && (ve.f & Bt) !== 0 && Ie !== null && !Ie.m;
538
+ var e = ve !== null && (ve.f & Bt) !== 0 && Ae !== null && !Ae.m;
539
539
  if (e) {
540
540
  var n = (
541
541
  /** @type {ComponentContext} */
542
- Ie
542
+ Ae
543
543
  );
544
544
  (n.e ?? (n.e = [])).push({
545
545
  fn: t,
@@ -574,7 +574,7 @@ function Ln(t) {
574
574
  function er(t, e) {
575
575
  var n = (
576
576
  /** @type {ComponentContextLegacy} */
577
- Ie
577
+ Ae
578
578
  ), r = { effect: null, ran: !1 };
579
579
  n.l.r1.push(r), r.effect = Fn(() => {
580
580
  t(), !r.ran && (r.ran = !0, m(n.l.r2, !0), qt(e));
@@ -583,13 +583,13 @@ function er(t, e) {
583
583
  function tr() {
584
584
  var t = (
585
585
  /** @type {ComponentContextLegacy} */
586
- Ie
586
+ Ae
587
587
  );
588
588
  Fn(() => {
589
589
  if (d(t.l.r2)) {
590
590
  for (var e of t.l.r1) {
591
591
  var n = e.effect;
592
- n.f & ot && At(n, xn), Dn(n) && Nr(n), e.ran = !1;
592
+ n.f & lt && At(n, xn), Dn(n) && Nr(n), e.ran = !1;
593
593
  }
594
594
  t.l.r2.v = !1;
595
595
  }
@@ -605,7 +605,7 @@ function P(t, e = [], n = Ze) {
605
605
  function Or(t, e = 0) {
606
606
  return _n(Kn | Rr | e, t, !0);
607
607
  }
608
- function Cn(t, e = !0) {
608
+ function En(t, e = !0) {
609
609
  return _n(Kn | Bt, t, !0, e);
610
610
  }
611
611
  function ai(t) {
@@ -697,7 +697,7 @@ function yr(t) {
697
697
  }
698
698
  function ui(t, e) {
699
699
  if (t.f & Ot) {
700
- t.f ^= Ot, t.f & ot || (t.f ^= ot), Dn(t) && (At(t, Vt), Ur(t));
700
+ t.f ^= Ot, t.f & lt || (t.f ^= lt), Dn(t) && (At(t, Vt), Ur(t));
701
701
  for (var n = t.first; n !== null; ) {
702
702
  var r = n.next, s = (n.f & Dr) !== 0 || (n.f & Bt) !== 0;
703
703
  ui(n, s ? e : !1), n = r;
@@ -756,12 +756,12 @@ let mt = null, xt = 0, Yt = null;
756
756
  function bl(t) {
757
757
  Yt = t;
758
758
  }
759
- let hi = 1, $r = 0, pn = !1, Ie = null;
759
+ let hi = 1, $r = 0, pn = !1, Ae = null;
760
760
  function vi() {
761
761
  return ++hi;
762
762
  }
763
763
  function nr() {
764
- return !An || Ie !== null && Ie.l === null;
764
+ return !An || Ae !== null && Ae.l === null;
765
765
  }
766
766
  function Dn(t) {
767
767
  var l;
@@ -787,7 +787,7 @@ function Dn(t) {
787
787
  ), a.wv > t.wv)
788
788
  return !0;
789
789
  }
790
- (!r || ve !== null && !pn) && At(t, ot);
790
+ (!r || ve !== null && !pn) && At(t, lt);
791
791
  }
792
792
  return !1;
793
793
  }
@@ -829,7 +829,7 @@ function gi(t, e, n = 0) {
829
829
  a,
830
830
  e,
831
831
  n + 1
832
- ) : e === a && (n === 0 ? At(a, Vt) : a.f & ot && At(a, xn), Ur(
832
+ ) : e === a && (n === 0 ? At(a, Vt) : a.f & lt && At(a, xn), Ur(
833
833
  /** @type {Effect} */
834
834
  a
835
835
  ));
@@ -837,9 +837,9 @@ function gi(t, e, n = 0) {
837
837
  }
838
838
  function mi(t) {
839
839
  var h;
840
- var e = mt, n = xt, r = Yt, s = De, a = pn, i = Mt, o = Ie, c = sn, l = t.f;
840
+ var e = mt, n = xt, r = Yt, s = De, a = pn, i = Mt, o = Ae, c = sn, l = t.f;
841
841
  mt = /** @type {null | Value[]} */
842
- null, xt = 0, Yt = null, De = l & (Bt | bn) ? null : t, pn = !Tn && (l & wn) !== 0, Mt = null, Ie = t.ctx, sn = !1, $r++;
842
+ null, xt = 0, Yt = null, De = l & (Bt | bn) ? null : t, pn = !Tn && (l & wn) !== 0, Mt = null, Ae = t.ctx, sn = !1, $r++;
843
843
  try {
844
844
  var u = (
845
845
  /** @type {Function} */
@@ -866,7 +866,7 @@ function mi(t) {
866
866
  );
867
867
  return s !== null && $r++, u;
868
868
  } finally {
869
- mt = e, xt = n, Yt = r, De = s, pn = a, Mt = i, Ie = o, sn = c;
869
+ mt = e, xt = n, Yt = r, De = s, pn = a, Mt = i, Ae = o, sn = c;
870
870
  }
871
871
  }
872
872
  function _l(t, e) {
@@ -896,8 +896,8 @@ function Vn(t, e) {
896
896
  function Nr(t) {
897
897
  var e = t.f;
898
898
  if (!(e & In)) {
899
- At(t, ot);
900
- var n = ve, r = Ie;
899
+ At(t, lt);
900
+ var n = ve, r = Ae;
901
901
  ve = t;
902
902
  try {
903
903
  e & Rr ? fl(t) : oi(t), ii(t), ai(t);
@@ -935,7 +935,7 @@ function wi(t) {
935
935
  try {
936
936
  for (var r = 0; r < e; r++) {
937
937
  var s = t[r];
938
- s.f & ot || (s.f ^= ot);
938
+ s.f & lt || (s.f ^= lt);
939
939
  var a = [];
940
940
  xi(s, a), kl(a);
941
941
  }
@@ -969,8 +969,8 @@ function Ur(t) {
969
969
  e = e.parent;
970
970
  var n = e.f;
971
971
  if (n & (bn | Bt)) {
972
- if (!(n & ot)) return;
973
- e.f ^= ot;
972
+ if (!(n & lt)) return;
973
+ e.f ^= lt;
974
974
  }
975
975
  }
976
976
  fn.push(e);
@@ -978,11 +978,11 @@ function Ur(t) {
978
978
  function xi(t, e) {
979
979
  var n = t.first, r = [];
980
980
  e: for (; n !== null; ) {
981
- var s = n.f, a = (s & Bt) !== 0, i = a && (s & ot) !== 0, o = n.next;
981
+ var s = n.f, a = (s & Bt) !== 0, i = a && (s & lt) !== 0, o = n.next;
982
982
  if (!i && !(s & Ot))
983
983
  if (s & Kn) {
984
984
  if (a)
985
- n.f ^= ot;
985
+ n.f ^= lt;
986
986
  else
987
987
  try {
988
988
  Dn(n) && Nr(n);
@@ -1084,24 +1084,24 @@ function Xn(t, e = 1) {
1084
1084
  var n = d(t), r = e === 1 ? n++ : n--;
1085
1085
  return m(t, n), r;
1086
1086
  }
1087
- function ae(t, e = !1, n) {
1088
- Ie = {
1089
- p: Ie,
1087
+ function ie(t, e = !1, n) {
1088
+ Ae = {
1089
+ p: Ae,
1090
1090
  c: null,
1091
1091
  e: null,
1092
1092
  m: !1,
1093
1093
  s: t,
1094
1094
  x: null,
1095
1095
  l: null
1096
- }, An && !e && (Ie.l = {
1096
+ }, An && !e && (Ae.l = {
1097
1097
  s: null,
1098
1098
  u: null,
1099
1099
  r1: [],
1100
1100
  r2: gt(!1)
1101
1101
  });
1102
1102
  }
1103
- function ie(t) {
1104
- const e = Ie;
1103
+ function oe(t) {
1104
+ const e = Ae;
1105
1105
  if (e !== null) {
1106
1106
  t !== void 0 && (e.x = t);
1107
1107
  const i = e.e;
@@ -1117,7 +1117,7 @@ function ie(t) {
1117
1117
  It(n), Ut(r);
1118
1118
  }
1119
1119
  }
1120
- Ie = e.p, e.m = !0;
1120
+ Ae = e.p, e.m = !0;
1121
1121
  }
1122
1122
  return t || /** @type {T} */
1123
1123
  {};
@@ -1269,17 +1269,17 @@ function Hn(t) {
1269
1269
  k.apply(a, [t, ...b]);
1270
1270
  } else
1271
1271
  x.call(a, t);
1272
- } catch (T) {
1273
- p ? h.push(T) : p = T;
1272
+ } catch ($) {
1273
+ p ? h.push($) : p = $;
1274
1274
  }
1275
1275
  if (t.cancelBubble || w === e || w === null)
1276
1276
  break;
1277
1277
  a = w;
1278
1278
  }
1279
1279
  if (p) {
1280
- for (let T of h)
1280
+ for (let $ of h)
1281
1281
  queueMicrotask(() => {
1282
- throw T;
1282
+ throw $;
1283
1283
  });
1284
1284
  throw p;
1285
1285
  }
@@ -1292,7 +1292,7 @@ function Os(t) {
1292
1292
  var e = document.createElement("template");
1293
1293
  return e.innerHTML = t, e.content;
1294
1294
  }
1295
- function Et(t, e) {
1295
+ function Ct(t, e) {
1296
1296
  var n = (
1297
1297
  /** @type {Effect} */
1298
1298
  ve
@@ -1301,10 +1301,10 @@ function Et(t, e) {
1301
1301
  }
1302
1302
  // @__NO_SIDE_EFFECTS__
1303
1303
  function F(t, e) {
1304
- var n = (e & Eo) !== 0, r = (e & Io) !== 0, s, a = !t.startsWith("<!>");
1304
+ var n = (e & Co) !== 0, r = (e & Io) !== 0, s, a = !t.startsWith("<!>");
1305
1305
  return () => {
1306
1306
  if (he)
1307
- return Et(we, null), we;
1307
+ return Ct(we, null), we;
1308
1308
  s === void 0 && (s = Os(a ? t : "<!>" + t), n || (s = /** @type {Node} */
1309
1309
  /* @__PURE__ */ bt(s)));
1310
1310
  var i = (
@@ -1319,9 +1319,9 @@ function F(t, e) {
1319
1319
  /** @type {TemplateNode} */
1320
1320
  i.lastChild
1321
1321
  );
1322
- Et(o, c);
1322
+ Ct(o, c);
1323
1323
  } else
1324
- Et(i, i);
1324
+ Ct(i, i);
1325
1325
  return i;
1326
1326
  };
1327
1327
  }
@@ -1330,7 +1330,7 @@ function Sl(t, e, n = "svg") {
1330
1330
  var r = !t.startsWith("<!>"), s = `<${n}>${r ? t : "<!>" + t}</${n}>`, a;
1331
1331
  return () => {
1332
1332
  if (he)
1333
- return Et(we, null), we;
1333
+ return Ct(we, null), we;
1334
1334
  if (!a) {
1335
1335
  var i = (
1336
1336
  /** @type {DocumentFragment} */
@@ -1346,24 +1346,24 @@ function Sl(t, e, n = "svg") {
1346
1346
  /** @type {TemplateNode} */
1347
1347
  a.cloneNode(!0)
1348
1348
  );
1349
- return Et(c, c), c;
1349
+ return Ct(c, c), c;
1350
1350
  };
1351
1351
  }
1352
1352
  function or(t = "") {
1353
1353
  if (!he) {
1354
1354
  var e = an(t + "");
1355
- return Et(e, e), e;
1355
+ return Ct(e, e), e;
1356
1356
  }
1357
1357
  var n = we;
1358
- return n.nodeType !== 3 && (n.before(n = an()), zt(n)), Et(n, n), n;
1358
+ return n.nodeType !== 3 && (n.before(n = an()), zt(n)), Ct(n, n), n;
1359
1359
  }
1360
1360
  function yt() {
1361
1361
  if (he)
1362
- return Et(we, null), we;
1362
+ return Ct(we, null), we;
1363
1363
  var t = document.createDocumentFragment(), e = document.createComment(""), n = an();
1364
- return t.append(e, n), Et(e, n), t;
1364
+ return t.append(e, n), Ct(e, n), t;
1365
1365
  }
1366
- function S(t, e) {
1366
+ function E(t, e) {
1367
1367
  if (he) {
1368
1368
  ve.nodes_end = we, Sn();
1369
1369
  return;
@@ -1374,14 +1374,14 @@ function S(t, e) {
1374
1374
  );
1375
1375
  }
1376
1376
  let hs = !0;
1377
- function Te(t, e) {
1377
+ function Se(t, e) {
1378
1378
  var n = e == null ? "" : typeof e == "object" ? e + "" : e;
1379
1379
  n !== (t.__t ?? (t.__t = t.nodeValue)) && (t.__t = n, t.nodeValue = n == null ? "" : n + "");
1380
1380
  }
1381
1381
  function $i(t, e) {
1382
1382
  return Si(t, e);
1383
1383
  }
1384
- function Cl(t, e) {
1384
+ function El(t, e) {
1385
1385
  cs(), e.intro = e.intro ?? !1;
1386
1386
  const n = e.target, r = he, s = we;
1387
1387
  try {
@@ -1400,7 +1400,7 @@ function Cl(t, e) {
1400
1400
  ), Sn();
1401
1401
  const i = Si(t, { ...e, anchor: a });
1402
1402
  if (we === null || we.nodeType !== 8 || /** @type {Comment} */
1403
- we.data !== Es)
1403
+ we.data !== Cs)
1404
1404
  throw Pr(), zn;
1405
1405
  return Wt(!1), /** @type {Exports} */
1406
1406
  i;
@@ -1430,20 +1430,20 @@ function Si(t, { target: e, anchor: n, props: r = {}, events: s, context: a, int
1430
1430
  c(Is(zi)), ps.add(c);
1431
1431
  var l = void 0, u = dl(() => {
1432
1432
  var f = n ?? e.appendChild(an());
1433
- return Cn(() => {
1433
+ return En(() => {
1434
1434
  if (a) {
1435
- ae({});
1435
+ ie({});
1436
1436
  var p = (
1437
1437
  /** @type {ComponentContext} */
1438
- Ie
1438
+ Ae
1439
1439
  );
1440
1440
  p.c = a;
1441
1441
  }
1442
- s && (r.$$events = s), he && Et(
1442
+ s && (r.$$events = s), he && Ct(
1443
1443
  /** @type {TemplateNode} */
1444
1444
  f,
1445
1445
  null
1446
- ), hs = i, l = t(f, r) || {}, hs = !0, he && (ve.nodes_end = we), a && ie();
1446
+ ), hs = i, l = t(f, r) || {}, hs = !0, he && (ve.nodes_end = we), a && oe();
1447
1447
  }), () => {
1448
1448
  var w;
1449
1449
  for (var p of o) {
@@ -1460,7 +1460,7 @@ function Si(t, { target: e, anchor: n, props: r = {}, events: s, context: a, int
1460
1460
  return vs.set(l, u), l;
1461
1461
  }
1462
1462
  let vs = /* @__PURE__ */ new WeakMap();
1463
- function El(t, e) {
1463
+ function Cl(t, e) {
1464
1464
  const n = vs.get(t);
1465
1465
  return n ? (vs.delete(t), n(e)) : Promise.resolve();
1466
1466
  }
@@ -1475,13 +1475,13 @@ function X(t, e, n = !1) {
1475
1475
  if (he) {
1476
1476
  const w = (
1477
1477
  /** @type {Comment} */
1478
- r.data === Cs
1478
+ r.data === Es
1479
1479
  );
1480
1480
  !!i === w && (r = ls(), zt(r), Wt(!1), h = !0);
1481
1481
  }
1482
- i ? (s ? yr(s) : p && (s = Cn(() => p(r))), a && kr(a, () => {
1482
+ i ? (s ? yr(s) : p && (s = En(() => p(r))), a && kr(a, () => {
1483
1483
  a = null;
1484
- })) : (a ? yr(a) : p && (a = Cn(() => p(r))), s && kr(s, () => {
1484
+ })) : (a ? yr(a) : p && (a = En(() => p(r))), s && kr(s, () => {
1485
1485
  s = null;
1486
1486
  })), h && Wt(!0);
1487
1487
  };
@@ -1489,7 +1489,7 @@ function X(t, e, n = !1) {
1489
1489
  c = !1, e(l), c || u(null, null);
1490
1490
  }, o), he && (r = we);
1491
1491
  }
1492
- function st(t, e) {
1492
+ function rt(t, e) {
1493
1493
  return e;
1494
1494
  }
1495
1495
  function Il(t, e, n, r) {
@@ -1514,7 +1514,7 @@ function Il(t, e, n, r) {
1514
1514
  }
1515
1515
  });
1516
1516
  }
1517
- function at(t, e, n, r, s, a = null) {
1517
+ function st(t, e, n, r, s, a = null) {
1518
1518
  var i = t, o = { flags: e, items: /* @__PURE__ */ new Map(), first: null }, c = (e & Ua) !== 0;
1519
1519
  if (c) {
1520
1520
  var l = (
@@ -1540,30 +1540,30 @@ function at(t, e, n, r, s, a = null) {
1540
1540
  if (he) {
1541
1541
  var k = (
1542
1542
  /** @type {Comment} */
1543
- i.data === Cs
1543
+ i.data === Es
1544
1544
  );
1545
1545
  k !== (w === 0) && (i = ls(), zt(i), Wt(!1), x = !0);
1546
1546
  }
1547
1547
  if (he) {
1548
- for (var b = null, _, T = 0; T < w; T++) {
1548
+ for (var b = null, _, $ = 0; $ < w; $++) {
1549
1549
  if (we.nodeType === 8 && /** @type {Comment} */
1550
- we.data === Es) {
1550
+ we.data === Cs) {
1551
1551
  i = /** @type {Comment} */
1552
1552
  we, x = !0, Wt(!1);
1553
1553
  break;
1554
1554
  }
1555
- var A = h[T], $ = r(A, T);
1556
- _ = Ci(
1555
+ var A = h[$], S = r(A, $);
1556
+ _ = Ei(
1557
1557
  we,
1558
1558
  o,
1559
1559
  b,
1560
1560
  null,
1561
1561
  A,
1562
+ S,
1562
1563
  $,
1563
- T,
1564
1564
  s,
1565
1565
  e
1566
- ), o.items.set($, _), b = _;
1566
+ ), o.items.set(S, _), b = _;
1567
1567
  }
1568
1568
  w > 0 && zt(ls());
1569
1569
  }
@@ -1582,29 +1582,29 @@ function at(t, e, n, r, s, a = null) {
1582
1582
  r
1583
1583
  );
1584
1584
  }
1585
- a !== null && (w === 0 ? u ? yr(u) : u = Cn(() => a(i)) : u !== null && kr(u, () => {
1585
+ a !== null && (w === 0 ? u ? yr(u) : u = En(() => a(i)) : u !== null && kr(u, () => {
1586
1586
  u = null;
1587
1587
  })), x && Wt(!0), d(p);
1588
1588
  }), he && (i = we);
1589
1589
  }
1590
1590
  function Al(t, e, n, r, s, a, i, o) {
1591
- var Xe, Qe, lt, ft;
1592
- var c = (s & xo) !== 0, l = (s & ($s | Ss)) !== 0, u = t.length, f = e.items, p = e.first, h = p, w, x = null, k, b = [], _ = [], T, A, $, L;
1591
+ var Xe, Qe, ct, ft;
1592
+ var c = (s & xo) !== 0, l = (s & ($s | Ss)) !== 0, u = t.length, f = e.items, p = e.first, h = p, w, x = null, k, b = [], _ = [], $, A, S, L;
1593
1593
  if (c)
1594
1594
  for (L = 0; L < u; L += 1)
1595
- T = t[L], A = i(T, L), $ = f.get(A), $ !== void 0 && ((Xe = $.a) == null || Xe.measure(), (k ?? (k = /* @__PURE__ */ new Set())).add($));
1595
+ $ = t[L], A = i($, L), S = f.get(A), S !== void 0 && ((Xe = S.a) == null || Xe.measure(), (k ?? (k = /* @__PURE__ */ new Set())).add(S));
1596
1596
  for (L = 0; L < u; L += 1) {
1597
- if (T = t[L], A = i(T, L), $ = f.get(A), $ === void 0) {
1597
+ if ($ = t[L], A = i($, L), S = f.get(A), S === void 0) {
1598
1598
  var D = h ? (
1599
1599
  /** @type {TemplateNode} */
1600
1600
  h.e.nodes_start
1601
1601
  ) : n;
1602
- x = Ci(
1602
+ x = Ei(
1603
1603
  D,
1604
1604
  e,
1605
1605
  x,
1606
1606
  x === null ? e.first : x.next,
1607
- T,
1607
+ $,
1608
1608
  A,
1609
1609
  L,
1610
1610
  r,
@@ -1612,49 +1612,49 @@ function Al(t, e, n, r, s, a, i, o) {
1612
1612
  ), f.set(A, x), b = [], _ = [], h = x.next;
1613
1613
  continue;
1614
1614
  }
1615
- if (l && Ll($, T, L, s), $.e.f & Ot && (yr($.e), c && ((Qe = $.a) == null || Qe.unfix(), (k ?? (k = /* @__PURE__ */ new Set())).delete($))), $ !== h) {
1616
- if (w !== void 0 && w.has($)) {
1615
+ if (l && Ll(S, $, L, s), S.e.f & Ot && (yr(S.e), c && ((Qe = S.a) == null || Qe.unfix(), (k ?? (k = /* @__PURE__ */ new Set())).delete(S))), S !== h) {
1616
+ if (w !== void 0 && w.has(S)) {
1617
1617
  if (b.length < _.length) {
1618
1618
  var M = _[0], G;
1619
1619
  x = M.prev;
1620
- var ge = b[0], nt = b[b.length - 1];
1620
+ var ge = b[0], tt = b[b.length - 1];
1621
1621
  for (G = 0; G < b.length; G += 1)
1622
1622
  da(b[G], M, n);
1623
1623
  for (G = 0; G < _.length; G += 1)
1624
1624
  w.delete(_[G]);
1625
- Qt(e, ge.prev, nt.next), Qt(e, x, ge), Qt(e, nt, M), h = M, x = nt, L -= 1, b = [], _ = [];
1625
+ Qt(e, ge.prev, tt.next), Qt(e, x, ge), Qt(e, tt, M), h = M, x = tt, L -= 1, b = [], _ = [];
1626
1626
  } else
1627
- w.delete($), da($, h, n), Qt(e, $.prev, $.next), Qt(e, $, x === null ? e.first : x.next), Qt(e, x, $), x = $;
1627
+ w.delete(S), da(S, h, n), Qt(e, S.prev, S.next), Qt(e, S, x === null ? e.first : x.next), Qt(e, x, S), x = S;
1628
1628
  continue;
1629
1629
  }
1630
1630
  for (b = [], _ = []; h !== null && h.k !== A; )
1631
1631
  (a || !(h.e.f & Ot)) && (w ?? (w = /* @__PURE__ */ new Set())).add(h), _.push(h), h = h.next;
1632
1632
  if (h === null)
1633
1633
  continue;
1634
- $ = h;
1634
+ S = h;
1635
1635
  }
1636
- b.push($), x = $, h = $.next;
1636
+ b.push(S), x = S, h = S.next;
1637
1637
  }
1638
1638
  if (h !== null || w !== void 0) {
1639
- for (var Ae = w === void 0 ? [] : Is(w); h !== null; )
1640
- (a || !(h.e.f & Ot)) && Ae.push(h), h = h.next;
1641
- var $e = Ae.length;
1642
- if ($e > 0) {
1643
- var se = s & Ua && u === 0 ? n : null;
1639
+ for (var Ee = w === void 0 ? [] : Is(w); h !== null; )
1640
+ (a || !(h.e.f & Ot)) && Ee.push(h), h = h.next;
1641
+ var Ce = Ee.length;
1642
+ if (Ce > 0) {
1643
+ var ae = s & Ua && u === 0 ? n : null;
1644
1644
  if (c) {
1645
- for (L = 0; L < $e; L += 1)
1646
- (lt = Ae[L].a) == null || lt.measure();
1647
- for (L = 0; L < $e; L += 1)
1648
- (ft = Ae[L].a) == null || ft.fix();
1645
+ for (L = 0; L < Ce; L += 1)
1646
+ (ct = Ee[L].a) == null || ct.measure();
1647
+ for (L = 0; L < Ce; L += 1)
1648
+ (ft = Ee[L].a) == null || ft.fix();
1649
1649
  }
1650
- Il(e, Ae, se, f);
1650
+ Il(e, Ee, ae, f);
1651
1651
  }
1652
1652
  }
1653
1653
  c && Rn(() => {
1654
1654
  var R;
1655
1655
  if (k !== void 0)
1656
- for ($ of k)
1657
- (R = $.a) == null || R.apply();
1656
+ for (S of k)
1657
+ (R = S.a) == null || R.apply();
1658
1658
  }), ve.first = e.first && e.first.e, ve.last = x && x.e;
1659
1659
  }
1660
1660
  function Ll(t, e, n, r) {
@@ -1664,7 +1664,7 @@ function Ll(t, e, n, r) {
1664
1664
  n
1665
1665
  ) : t.i = n;
1666
1666
  }
1667
- function Ci(t, e, n, r, s, a, i, o, c, l) {
1667
+ function Ei(t, e, n, r, s, a, i, o, c, l) {
1668
1668
  var u = (c & $s) !== 0, f = (c & _o) === 0, p = u ? f ? /* @__PURE__ */ jr(s) : gt(s) : s, h = c & Ss ? gt(i) : i, w = {
1669
1669
  i: h,
1670
1670
  v: p,
@@ -1676,7 +1676,7 @@ function Ci(t, e, n, r, s, a, i, o, c, l) {
1676
1676
  next: r
1677
1677
  };
1678
1678
  try {
1679
- return w.e = Cn(() => o(t, p, h), he), w.e.prev = n && n.e, w.e.next = r && r.e, n === null ? e.first = w : (n.next = w, n.e.next = w.e), r !== null && (r.prev = w, r.e.prev = w.e), w;
1679
+ return w.e = En(() => o(t, p, h), he), w.e.prev = n && n.e, w.e.next = r && r.e, n === null ? e.first = w : (n.next = w, n.e.next = w.e), r !== null && (r.prev = w, r.e.prev = w.e), w;
1680
1680
  } finally {
1681
1681
  }
1682
1682
  }
@@ -1708,7 +1708,7 @@ function gs(t, e, n, r, s) {
1708
1708
  he && Sn();
1709
1709
  return;
1710
1710
  }
1711
- o !== void 0 && (Nt(o), o = void 0), i !== "" && (o = Cn(() => {
1711
+ o !== void 0 && (Nt(o), o = void 0), i !== "" && (o = En(() => {
1712
1712
  if (he) {
1713
1713
  we.data;
1714
1714
  for (var c = Sn(), l = c; c !== null && (c.nodeType !== 8 || /** @type {Comment} */
@@ -1717,14 +1717,14 @@ function gs(t, e, n, r, s) {
1717
1717
  /* @__PURE__ */ Xt(c);
1718
1718
  if (c === null)
1719
1719
  throw Pr(), zn;
1720
- Et(we, l), a = zt(c);
1720
+ Ct(we, l), a = zt(c);
1721
1721
  return;
1722
1722
  }
1723
1723
  var u = i + "";
1724
1724
  n && (u = `<svg>${u}</svg>`);
1725
1725
  var f = Os(u);
1726
1726
  if ((n || r) && (f = /** @type {Element} */
1727
- /* @__PURE__ */ bt(f)), Et(
1727
+ /* @__PURE__ */ bt(f)), Ct(
1728
1728
  /** @type {TemplateNode} */
1729
1729
  /* @__PURE__ */ bt(f),
1730
1730
  /** @type {TemplateNode} */
@@ -1759,17 +1759,17 @@ function de(t, e) {
1759
1759
  }
1760
1760
  });
1761
1761
  }
1762
- function Ei(t) {
1762
+ function Ci(t) {
1763
1763
  var e, n, r = "";
1764
1764
  if (typeof t == "string" || typeof t == "number") r += t;
1765
1765
  else if (typeof t == "object") if (Array.isArray(t)) {
1766
1766
  var s = t.length;
1767
- for (e = 0; e < s; e++) t[e] && (n = Ei(t[e])) && (r && (r += " "), r += n);
1767
+ for (e = 0; e < s; e++) t[e] && (n = Ci(t[e])) && (r && (r += " "), r += n);
1768
1768
  } else for (n in t) t[n] && (r && (r += " "), r += n);
1769
1769
  return r;
1770
1770
  }
1771
1771
  function Fl() {
1772
- for (var t, e, n = 0, r = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (e = Ei(t)) && (r && (r += " "), r += e);
1772
+ for (var t, e, n = 0, r = "", s = arguments.length; n < s; n++) (t = arguments[n]) && (e = Ci(t)) && (r && (r += " "), r += e);
1773
1773
  return r;
1774
1774
  }
1775
1775
  function qr(t) {
@@ -1827,23 +1827,23 @@ function fa(t, e, n, r, s = !1, a = !1, i = !1) {
1827
1827
  var h = b[0] + b[1];
1828
1828
  if (h !== "$$") {
1829
1829
  if (h === "on") {
1830
- const T = {}, A = "$$" + b;
1831
- let $ = b.slice(2);
1832
- var w = Fo($);
1833
- if (Ao($) && ($ = $.slice(0, -7), T.capture = !0), !w && p) {
1830
+ const $ = {}, A = "$$" + b;
1831
+ let S = b.slice(2);
1832
+ var w = Fo(S);
1833
+ if (Ao(S) && (S = S.slice(0, -7), $.capture = !0), !w && p) {
1834
1834
  if (_ != null) continue;
1835
- t.removeEventListener($, o[A], T), o[A] = null;
1835
+ t.removeEventListener(S, o[A], $), o[A] = null;
1836
1836
  }
1837
1837
  if (_ != null)
1838
1838
  if (w)
1839
- t[`__${$}`] = _, un([$]);
1839
+ t[`__${S}`] = _, un([S]);
1840
1840
  else {
1841
1841
  let L = function(D) {
1842
1842
  o[b].call(this, D);
1843
1843
  };
1844
- o[A] = Ti($, t, L, T);
1844
+ o[A] = Ti(S, t, L, $);
1845
1845
  }
1846
- else w && (t[`__${$}`] = void 0);
1846
+ else w && (t[`__${S}`] = void 0);
1847
1847
  } else if (b === "style" && _ != null)
1848
1848
  t.style.cssText = _ + "";
1849
1849
  else if (b === "autofocus")
@@ -1866,16 +1866,16 @@ function fa(t, e, n, r, s = !1, a = !1, i = !1) {
1866
1866
  var k = x === "defaultValue" || x === "defaultChecked";
1867
1867
  if (_ == null && !a && !k)
1868
1868
  if (f[b] = null, x === "value" || x === "checked") {
1869
- let T = (
1869
+ let $ = (
1870
1870
  /** @type {HTMLInputElement} */
1871
1871
  t
1872
1872
  );
1873
1873
  if (x === "value") {
1874
- let A = T.defaultValue;
1875
- T.removeAttribute(x), T.defaultValue = A;
1874
+ let A = $.defaultValue;
1875
+ $.removeAttribute(x), $.defaultValue = A;
1876
1876
  } else {
1877
- let A = T.defaultChecked;
1878
- T.removeAttribute(x), T.defaultChecked = A;
1877
+ let A = $.defaultChecked;
1878
+ $.removeAttribute(x), $.defaultChecked = A;
1879
1879
  }
1880
1880
  } else
1881
1881
  t.removeAttribute(b);
@@ -1907,7 +1907,7 @@ function ut(t, e, n) {
1907
1907
  function Pl(t, e) {
1908
1908
  return (t ?? "") + (e ? " " + e : "");
1909
1909
  }
1910
- function ce(t, e, n) {
1910
+ function ue(t, e, n) {
1911
1911
  if (n) {
1912
1912
  if (t.classList.contains(e)) return;
1913
1913
  t.classList.add(e);
@@ -1969,9 +1969,9 @@ function ha(t) {
1969
1969
  }
1970
1970
  const Ul = (t) => t;
1971
1971
  function Rt(t, e, n, r) {
1972
- var s = (t & $o) !== 0, a = (t & So) !== 0, i = s && a, o = (t & Co) !== 0, c = i ? "both" : s ? "in" : "out", l, u = e.inert, f = e.style.overflow, p, h;
1972
+ var s = (t & $o) !== 0, a = (t & So) !== 0, i = s && a, o = (t & Eo) !== 0, c = i ? "both" : s ? "in" : "out", l, u = e.inert, f = e.style.overflow, p, h;
1973
1973
  function w() {
1974
- var T = De, A = ve;
1974
+ var $ = De, A = ve;
1975
1975
  Ut(null), It(null);
1976
1976
  try {
1977
1977
  return l ?? (l = n()(e, (r == null ? void 0 : r()) ?? /** @type {P} */
@@ -1979,28 +1979,28 @@ function Rt(t, e, n, r) {
1979
1979
  direction: c
1980
1980
  }));
1981
1981
  } finally {
1982
- Ut(T), It(A);
1982
+ Ut($), It(A);
1983
1983
  }
1984
1984
  }
1985
1985
  var x = {
1986
1986
  is_global: o,
1987
1987
  in() {
1988
- var T;
1988
+ var $;
1989
1989
  if (e.inert = u, !s) {
1990
- h == null || h.abort(), (T = h == null ? void 0 : h.reset) == null || T.call(h);
1990
+ h == null || h.abort(), ($ = h == null ? void 0 : h.reset) == null || $.call(h);
1991
1991
  return;
1992
1992
  }
1993
1993
  a || p == null || p.abort(), lr(e, "introstart"), p = ms(e, w(), h, 1, () => {
1994
1994
  lr(e, "introend"), p == null || p.abort(), p = l = void 0, e.style.overflow = f;
1995
1995
  });
1996
1996
  },
1997
- out(T) {
1997
+ out($) {
1998
1998
  if (!a) {
1999
- T == null || T(), l = void 0;
1999
+ $ == null || $(), l = void 0;
2000
2000
  return;
2001
2001
  }
2002
2002
  e.inert = !0, lr(e, "outrostart"), h = ms(e, w(), p, 0, () => {
2003
- lr(e, "outroend"), T == null || T();
2003
+ lr(e, "outroend"), $ == null || $();
2004
2004
  });
2005
2005
  },
2006
2006
  stop: () => {
@@ -2064,13 +2064,13 @@ function ms(t, e, n, r, s) {
2064
2064
  var b = r - k, _ = (
2065
2065
  /** @type {number} */
2066
2066
  e.duration * Math.abs(b)
2067
- ), T = [];
2067
+ ), $ = [];
2068
2068
  if (_ > 0) {
2069
2069
  var A = !1;
2070
2070
  if (l)
2071
- for (var $ = Math.ceil(_ / 16.666666666666668), L = 0; L <= $; L += 1) {
2072
- var D = k + b * f(L / $), M = ha(l(D, 1 - D));
2073
- T.push(M), A || (A = M.overflow === "hidden");
2071
+ for (var S = Math.ceil(_ / 16.666666666666668), L = 0; L <= S; L += 1) {
2072
+ var D = k + b * f(L / S), M = ha(l(D, 1 - D));
2073
+ $.push(M), A || (A = M.overflow === "hidden");
2074
2074
  }
2075
2075
  A && (t.style.overflow = "hidden"), w = () => {
2076
2076
  var G = (
@@ -2085,7 +2085,7 @@ function ms(t, e, n, r, s) {
2085
2085
  return u(G, 1 - G), !0;
2086
2086
  });
2087
2087
  }
2088
- x = t.animate(T, { duration: _, fill: "forwards" }), x.onfinish = () => {
2088
+ x = t.animate($, { duration: _, fill: "forwards" }), x.onfinish = () => {
2089
2089
  w = () => r, u == null || u(r, 1 - r), s();
2090
2090
  };
2091
2091
  }, {
@@ -2206,7 +2206,7 @@ function bs(t = {}, e, n, r) {
2206
2206
  function wt(t = !1) {
2207
2207
  const e = (
2208
2208
  /** @type {ComponentContextLegacy} */
2209
- Ie
2209
+ Ae
2210
2210
  ), n = e.l.u;
2211
2211
  if (!n) return;
2212
2212
  let r = () => jn(e.s);
@@ -2242,7 +2242,7 @@ function ga(t, e) {
2242
2242
  e();
2243
2243
  }
2244
2244
  function Br(t) {
2245
- Ie === null && js(), An && Ie.l !== null ? Wl(Ie).m.push(t) : Ft(() => {
2245
+ Ae === null && js(), An && Ae.l !== null ? Wl(Ae).m.push(t) : Ft(() => {
2246
2246
  const e = qt(t);
2247
2247
  if (typeof e == "function") return (
2248
2248
  /** @type {() => void} */
@@ -2251,13 +2251,13 @@ function Br(t) {
2251
2251
  });
2252
2252
  }
2253
2253
  function Yl(t) {
2254
- Ie === null && js(), Br(() => () => qt(t));
2254
+ Ae === null && js(), Br(() => () => qt(t));
2255
2255
  }
2256
2256
  function Gl(t, e, { bubbles: n = !1, cancelable: r = !1 } = {}) {
2257
2257
  return new CustomEvent(t, { detail: e, bubbles: n, cancelable: r });
2258
2258
  }
2259
2259
  function Jl() {
2260
- const t = Ie;
2260
+ const t = Ae;
2261
2261
  return t === null && js(), (e, n, r) => {
2262
2262
  var a;
2263
2263
  const s = (
@@ -2391,16 +2391,16 @@ function g(t, e, n, r) {
2391
2391
  return arguments.length > 0 ? ((!a || !G || _ || c) && f(G ? k() : M), M) : k();
2392
2392
  };
2393
2393
  }
2394
- var T = !1, A = !1, $ = /* @__PURE__ */ jr(l), L = ma(
2394
+ var $ = !1, A = !1, S = /* @__PURE__ */ jr(l), L = ma(
2395
2395
  () => /* @__PURE__ */ Ze(() => {
2396
- var M = k(), G = d($);
2397
- return T ? (T = !1, A = !0, G) : (A = !1, $.v = M);
2396
+ var M = k(), G = d(S);
2397
+ return $ ? ($ = !1, A = !0, G) : (A = !1, S.v = M);
2398
2398
  })
2399
2399
  );
2400
2400
  return s || (L.equals = Ls), function(M, G) {
2401
2401
  if (arguments.length > 0) {
2402
2402
  const ge = G ? d(L) : a && i ? C(M) : M;
2403
- return L.equals(ge) || (T = !0, m($, ge), w && p !== void 0 && (p = ge), qt(() => d(L))), M;
2403
+ return L.equals(ge) || ($ = !0, m(S, ge), w && p !== void 0 && (p = ge), qt(() => d(L))), M;
2404
2404
  }
2405
2405
  return d(L);
2406
2406
  };
@@ -2439,7 +2439,7 @@ class Kl {
2439
2439
  }
2440
2440
  }
2441
2441
  );
2442
- Qr(this, $t, (e.hydrate ? Cl : $i)(e.component, {
2442
+ Qr(this, $t, (e.hydrate ? El : $i)(e.component, {
2443
2443
  target: e.target,
2444
2444
  anchor: e.anchor,
2445
2445
  props: s,
@@ -2462,7 +2462,7 @@ class Kl {
2462
2462
  (i) => {
2463
2463
  Object.assign(s, i);
2464
2464
  }, ht(this, $t).$destroy = () => {
2465
- El(ht(this, $t));
2465
+ Cl(ht(this, $t));
2466
2466
  };
2467
2467
  }
2468
2468
  /** @param {Record<string, any>} props */
@@ -2548,7 +2548,7 @@ typeof HTMLElement == "function" && (Ri = class extends HTMLElement {
2548
2548
  let e = function(s) {
2549
2549
  return (a) => {
2550
2550
  const i = document.createElement("slot");
2551
- s !== "default" && (i.name = s), S(a, i);
2551
+ s !== "default" && (i.name = s), E(a, i);
2552
2552
  };
2553
2553
  };
2554
2554
  if (await Promise.resolve(), !this.$$cn || this.$$c)
@@ -2660,7 +2660,7 @@ function ec(t) {
2660
2660
  ] = !0;
2661
2661
  }), e;
2662
2662
  }
2663
- function oe(t, e, n, r, s, a) {
2663
+ function le(t, e, n, r, s, a) {
2664
2664
  let i = class extends Ri {
2665
2665
  constructor() {
2666
2666
  super(t, n, s), this.$$p_d = e;
@@ -2882,9 +2882,9 @@ const ac = "it", ic = (
2882
2882
  /** @type {const} */
2883
2883
  ["it", "en"]
2884
2884
  );
2885
- let K = () => ac;
2885
+ let Q = () => ac;
2886
2886
  const oc = (t) => {
2887
- typeof t == "function" ? K = wa(t) : K = wa(() => t);
2887
+ typeof t == "function" ? Q = wa(t) : Q = wa(() => t);
2888
2888
  };
2889
2889
  function wa(t) {
2890
2890
  return () => {
@@ -2897,136 +2897,136 @@ function wa(t) {
2897
2897
  function lc(t) {
2898
2898
  return ic.includes(t);
2899
2899
  }
2900
- const cc = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", uc = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", dc = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", fc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", pc = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Carica file", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", xc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, _c = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", Cc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", Ec = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", Ic = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", Ac = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", Lc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", Fc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", Rc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", Dc = /* @__NO_SIDE_EFFECTS__ */ () => "Riproduci", jc = /* @__NO_SIDE_EFFECTS__ */ () => "Pausa", Pc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante l'invio del messaggio. Riprova.", Oc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna chat attiva. Crea una nuova chat per iniziare.", Mc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante il caricamento del nome utente.", Nc = /* @__NO_SIDE_EFFECTS__ */ () => "Manuale Suite", Uc = /* @__NO_SIDE_EFFECTS__ */ () => "Ferma", qc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia elenco fonti", Bc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti copiate!", Hc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia", Yc = /* @__NO_SIDE_EFFECTS__ */ () => "Copiato!", Gc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Hai raggiunto il numero massimo di ${t.count} allegati consentiti.`, Jc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun gendoc trovato", Wc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna trascrizione trovata", Zc = /* @__NO_SIDE_EFFECTS__ */ () => "Trascina i file qui", Vc = /* @__NO_SIDE_EFFECTS__ */ () => "Caricamento in corso...", Xc = /* @__NO_SIDE_EFFECTS__ */ () => "Operazione in corso... Non è possibile inviare messaggi in questa chat fino al completamento.", Qc = /* @__NO_SIDE_EFFECTS__ */ () => "AI Assistant", Kc = /* @__NO_SIDE_EFFECTS__ */ () => "Type your message here...", eu = /* @__NO_SIDE_EFFECTS__ */ () => "Add attachment", tu = /* @__NO_SIDE_EFFECTS__ */ () => "Normatives", nu = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", ru = /* @__NO_SIDE_EFFECTS__ */ () => "Choose", su = /* @__NO_SIDE_EFFECTS__ */ () => "Upload file", au = /* @__NO_SIDE_EFFECTS__ */ () => "Common Document", iu = /* @__NO_SIDE_EFFECTS__ */ () => "Stop recording", ou = /* @__NO_SIDE_EFFECTS__ */ () => "Start recording", lu = /* @__NO_SIDE_EFFECTS__ */ () => "Send message", cu = /* @__NO_SIDE_EFFECTS__ */ (t) => `Are you sure you want to delete the chat: ${t.chatTitle}?`, uu = /* @__NO_SIDE_EFFECTS__ */ () => "New Chat", du = /* @__NO_SIDE_EFFECTS__ */ () => "History", fu = /* @__NO_SIDE_EFFECTS__ */ () => "Unmute", pu = /* @__NO_SIDE_EFFECTS__ */ () => "Mute", hu = /* @__NO_SIDE_EFFECTS__ */ () => "Show history", vu = /* @__NO_SIDE_EFFECTS__ */ () => "Close", gu = /* @__NO_SIDE_EFFECTS__ */ () => "Sources", mu = /* @__NO_SIDE_EFFECTS__ */ () => "View attachment", bu = /* @__NO_SIDE_EFFECTS__ */ () => "Search", wu = /* @__NO_SIDE_EFFECTS__ */ () => "Documents", xu = /* @__NO_SIDE_EFFECTS__ */ () => "Search in progress...", _u = /* @__NO_SIDE_EFFECTS__ */ () => "Please enter at least 3 characters to start the search", ku = /* @__NO_SIDE_EFFECTS__ */ () => "No normative found", yu = /* @__NO_SIDE_EFFECTS__ */ () => "No document found", zu = /* @__NO_SIDE_EFFECTS__ */ () => "Play", Tu = /* @__NO_SIDE_EFFECTS__ */ () => "Pause", $u = /* @__NO_SIDE_EFFECTS__ */ () => "Error sending message. Please try again.", Su = /* @__NO_SIDE_EFFECTS__ */ () => "No active chat. Please create a new chat to get started.", Cu = /* @__NO_SIDE_EFFECTS__ */ () => "Error loading username.", Eu = /* @__NO_SIDE_EFFECTS__ */ () => "Suite Manual", Iu = /* @__NO_SIDE_EFFECTS__ */ () => "Stop", Au = /* @__NO_SIDE_EFFECTS__ */ () => "Copy sources list", Lu = /* @__NO_SIDE_EFFECTS__ */ () => "Sources copied!", Fu = /* @__NO_SIDE_EFFECTS__ */ () => "Copy", Ru = /* @__NO_SIDE_EFFECTS__ */ () => "Copied!", Du = /* @__NO_SIDE_EFFECTS__ */ (t) => `You have reached the maximum number of ${t.count} attachments allowed.`, ju = /* @__NO_SIDE_EFFECTS__ */ () => "No gendoc found", Pu = /* @__NO_SIDE_EFFECTS__ */ () => "No transcription found", Ou = /* @__NO_SIDE_EFFECTS__ */ () => "Drop files here", Mu = /* @__NO_SIDE_EFFECTS__ */ () => "Uploading...", Nu = /* @__NO_SIDE_EFFECTS__ */ () => "Operation in progress... You cannot send messages in this chat until completion.", Uu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2900
+ const cc = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", uc = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", dc = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", fc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", pc = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Carica file", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", xc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, _c = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", Ec = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", Cc = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", Ic = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", Ac = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", Lc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", Fc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", Rc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", Dc = /* @__NO_SIDE_EFFECTS__ */ () => "Riproduci", jc = /* @__NO_SIDE_EFFECTS__ */ () => "Pausa", Pc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante l'invio del messaggio. Riprova.", Oc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna chat attiva. Crea una nuova chat per iniziare.", Mc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante il caricamento del nome utente.", Nc = /* @__NO_SIDE_EFFECTS__ */ () => "Manuale Suite", Uc = /* @__NO_SIDE_EFFECTS__ */ () => "Ferma", qc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia elenco fonti", Bc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti copiate!", Hc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia", Yc = /* @__NO_SIDE_EFFECTS__ */ () => "Copiato!", Gc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Hai raggiunto il numero massimo di ${t.count} allegati consentiti.`, Jc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun gendoc trovato", Wc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna trascrizione trovata", Zc = /* @__NO_SIDE_EFFECTS__ */ () => "Trascina i file qui", Vc = /* @__NO_SIDE_EFFECTS__ */ () => "Caricamento in corso...", Xc = /* @__NO_SIDE_EFFECTS__ */ () => "Operazione in corso... Non è possibile inviare messaggi in questa chat fino al completamento.", Qc = /* @__NO_SIDE_EFFECTS__ */ () => "AI Assistant", Kc = /* @__NO_SIDE_EFFECTS__ */ () => "Type your message here...", eu = /* @__NO_SIDE_EFFECTS__ */ () => "Add attachment", tu = /* @__NO_SIDE_EFFECTS__ */ () => "Normatives", nu = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", ru = /* @__NO_SIDE_EFFECTS__ */ () => "Choose", su = /* @__NO_SIDE_EFFECTS__ */ () => "Upload file", au = /* @__NO_SIDE_EFFECTS__ */ () => "Common Document", iu = /* @__NO_SIDE_EFFECTS__ */ () => "Stop recording", ou = /* @__NO_SIDE_EFFECTS__ */ () => "Start recording", lu = /* @__NO_SIDE_EFFECTS__ */ () => "Send message", cu = /* @__NO_SIDE_EFFECTS__ */ (t) => `Are you sure you want to delete the chat: ${t.chatTitle}?`, uu = /* @__NO_SIDE_EFFECTS__ */ () => "New Chat", du = /* @__NO_SIDE_EFFECTS__ */ () => "History", fu = /* @__NO_SIDE_EFFECTS__ */ () => "Unmute", pu = /* @__NO_SIDE_EFFECTS__ */ () => "Mute", hu = /* @__NO_SIDE_EFFECTS__ */ () => "Show history", vu = /* @__NO_SIDE_EFFECTS__ */ () => "Close", gu = /* @__NO_SIDE_EFFECTS__ */ () => "Sources", mu = /* @__NO_SIDE_EFFECTS__ */ () => "View attachment", bu = /* @__NO_SIDE_EFFECTS__ */ () => "Search", wu = /* @__NO_SIDE_EFFECTS__ */ () => "Documents", xu = /* @__NO_SIDE_EFFECTS__ */ () => "Search in progress...", _u = /* @__NO_SIDE_EFFECTS__ */ () => "Please enter at least 3 characters to start the search", ku = /* @__NO_SIDE_EFFECTS__ */ () => "No normative found", yu = /* @__NO_SIDE_EFFECTS__ */ () => "No document found", zu = /* @__NO_SIDE_EFFECTS__ */ () => "Play", Tu = /* @__NO_SIDE_EFFECTS__ */ () => "Pause", $u = /* @__NO_SIDE_EFFECTS__ */ () => "Error sending message. Please try again.", Su = /* @__NO_SIDE_EFFECTS__ */ () => "No active chat. Please create a new chat to get started.", Eu = /* @__NO_SIDE_EFFECTS__ */ () => "Error loading username.", Cu = /* @__NO_SIDE_EFFECTS__ */ () => "Suite Manual", Iu = /* @__NO_SIDE_EFFECTS__ */ () => "Stop", Au = /* @__NO_SIDE_EFFECTS__ */ () => "Copy sources list", Lu = /* @__NO_SIDE_EFFECTS__ */ () => "Sources copied!", Fu = /* @__NO_SIDE_EFFECTS__ */ () => "Copy", Ru = /* @__NO_SIDE_EFFECTS__ */ () => "Copied!", Du = /* @__NO_SIDE_EFFECTS__ */ (t) => `You have reached the maximum number of ${t.count} attachments allowed.`, ju = /* @__NO_SIDE_EFFECTS__ */ () => "No gendoc found", Pu = /* @__NO_SIDE_EFFECTS__ */ () => "No transcription found", Ou = /* @__NO_SIDE_EFFECTS__ */ () => "Drop files here", Mu = /* @__NO_SIDE_EFFECTS__ */ () => "Uploading...", Nu = /* @__NO_SIDE_EFFECTS__ */ () => "Operation in progress... You cannot send messages in this chat until completion.", Uu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2901
2901
  en: Qc,
2902
2902
  it: cc
2903
- })[e.languageTag ?? K()](), qu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2903
+ })[e.languageTag ?? Q()](), qu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2904
2904
  en: Kc,
2905
2905
  it: uc
2906
- })[e.languageTag ?? K()](), Bu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2906
+ })[e.languageTag ?? Q()](), Bu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2907
2907
  en: eu,
2908
2908
  it: dc
2909
- })[e.languageTag ?? K()](), Hu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2909
+ })[e.languageTag ?? Q()](), Hu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2910
2910
  en: tu,
2911
2911
  it: fc
2912
- })[e.languageTag ?? K()](), Yu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2912
+ })[e.languageTag ?? Q()](), Yu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2913
2913
  en: nu,
2914
2914
  it: pc
2915
- })[e.languageTag ?? K()](), Gu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2915
+ })[e.languageTag ?? Q()](), Gu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2916
2916
  en: ru,
2917
2917
  it: hc
2918
- })[e.languageTag ?? K()](), Ju = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2918
+ })[e.languageTag ?? Q()](), Ju = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2919
2919
  en: su,
2920
2920
  it: vc
2921
- })[e.languageTag ?? K()](), Wu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2921
+ })[e.languageTag ?? Q()](), Wu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2922
2922
  en: au,
2923
2923
  it: gc
2924
- })[e.languageTag ?? K()](), Zu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2924
+ })[e.languageTag ?? Q()](), Zu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2925
2925
  en: iu,
2926
2926
  it: mc
2927
- })[e.languageTag ?? K()](), Vu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2927
+ })[e.languageTag ?? Q()](), Vu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2928
2928
  en: ou,
2929
2929
  it: bc
2930
- })[e.languageTag ?? K()](), Xu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2930
+ })[e.languageTag ?? Q()](), Xu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2931
2931
  en: lu,
2932
2932
  it: wc
2933
- })[e.languageTag ?? K()](), Qu = /* @__NO_SIDE_EFFECTS__ */ (t, e = {}) => ({
2933
+ })[e.languageTag ?? Q()](), Qu = /* @__NO_SIDE_EFFECTS__ */ (t, e = {}) => ({
2934
2934
  en: cu,
2935
2935
  it: xc
2936
- })[e.languageTag ?? K()](t), Di = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2936
+ })[e.languageTag ?? Q()](t), Di = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2937
2937
  en: uu,
2938
2938
  it: _c
2939
- })[e.languageTag ?? K()](), ji = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2939
+ })[e.languageTag ?? Q()](), ji = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2940
2940
  en: du,
2941
2941
  it: kc
2942
- })[e.languageTag ?? K()](), Ku = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2942
+ })[e.languageTag ?? Q()](), Ku = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2943
2943
  en: fu,
2944
2944
  it: yc
2945
- })[e.languageTag ?? K()](), ed = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2945
+ })[e.languageTag ?? Q()](), ed = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2946
2946
  en: pu,
2947
2947
  it: zc
2948
- })[e.languageTag ?? K()](), td = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2948
+ })[e.languageTag ?? Q()](), td = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2949
2949
  en: hu,
2950
2950
  it: Tc
2951
- })[e.languageTag ?? K()](), nd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2951
+ })[e.languageTag ?? Q()](), nd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2952
2952
  en: vu,
2953
2953
  it: $c
2954
- })[e.languageTag ?? K()](), rd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2954
+ })[e.languageTag ?? Q()](), rd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2955
2955
  en: gu,
2956
2956
  it: Sc
2957
- })[e.languageTag ?? K()](), xa = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2957
+ })[e.languageTag ?? Q()](), xa = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2958
2958
  en: mu,
2959
- it: Cc
2960
- })[e.languageTag ?? K()](), sd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2961
- en: bu,
2962
2959
  it: Ec
2963
- })[e.languageTag ?? K()](), _a = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2960
+ })[e.languageTag ?? Q()](), sd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2961
+ en: bu,
2962
+ it: Cc
2963
+ })[e.languageTag ?? Q()](), _a = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2964
2964
  en: wu,
2965
2965
  it: Ic
2966
- })[e.languageTag ?? K()](), ad = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2966
+ })[e.languageTag ?? Q()](), ad = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2967
2967
  en: xu,
2968
2968
  it: Ac
2969
- })[e.languageTag ?? K()](), id = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2969
+ })[e.languageTag ?? Q()](), id = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2970
2970
  en: _u,
2971
2971
  it: Lc
2972
- })[e.languageTag ?? K()](), od = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2972
+ })[e.languageTag ?? Q()](), od = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2973
2973
  en: ku,
2974
2974
  it: Fc
2975
- })[e.languageTag ?? K()](), ws = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2975
+ })[e.languageTag ?? Q()](), ws = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2976
2976
  en: yu,
2977
2977
  it: Rc
2978
- })[e.languageTag ?? K()](), ld = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2978
+ })[e.languageTag ?? Q()](), ld = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2979
2979
  en: zu,
2980
2980
  it: Dc
2981
- })[e.languageTag ?? K()](), cd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2981
+ })[e.languageTag ?? Q()](), cd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2982
2982
  en: Tu,
2983
2983
  it: jc
2984
- })[e.languageTag ?? K()](), ka = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2984
+ })[e.languageTag ?? Q()](), ka = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2985
2985
  en: $u,
2986
2986
  it: Pc
2987
- })[e.languageTag ?? K()](), ud = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2987
+ })[e.languageTag ?? Q()](), ud = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2988
2988
  en: Su,
2989
2989
  it: Oc
2990
- })[e.languageTag ?? K()](), dd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2991
- en: Cu,
2992
- it: Mc
2993
- })[e.languageTag ?? K()](), fd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2990
+ })[e.languageTag ?? Q()](), dd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2994
2991
  en: Eu,
2992
+ it: Mc
2993
+ })[e.languageTag ?? Q()](), fd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2994
+ en: Cu,
2995
2995
  it: Nc
2996
- })[e.languageTag ?? K()](), pd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2996
+ })[e.languageTag ?? Q()](), pd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2997
2997
  en: Iu,
2998
2998
  it: Uc
2999
- })[e.languageTag ?? K()](), rs = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
2999
+ })[e.languageTag ?? Q()](), rs = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3000
3000
  en: Au,
3001
3001
  it: qc
3002
- })[e.languageTag ?? K()](), hd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3002
+ })[e.languageTag ?? Q()](), hd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3003
3003
  en: Lu,
3004
3004
  it: Bc
3005
- })[e.languageTag ?? K()](), vd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3005
+ })[e.languageTag ?? Q()](), vd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3006
3006
  en: Fu,
3007
3007
  it: Hc
3008
- })[e.languageTag ?? K()](), ya = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3008
+ })[e.languageTag ?? Q()](), ya = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3009
3009
  en: Ru,
3010
3010
  it: Yc
3011
- })[e.languageTag ?? K()](), gd = /* @__NO_SIDE_EFFECTS__ */ (t, e = {}) => ({
3011
+ })[e.languageTag ?? Q()](), gd = /* @__NO_SIDE_EFFECTS__ */ (t, e = {}) => ({
3012
3012
  en: Du,
3013
3013
  it: Gc
3014
- })[e.languageTag ?? K()](t), md = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3014
+ })[e.languageTag ?? Q()](t), md = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3015
3015
  en: ju,
3016
3016
  it: Jc
3017
- })[e.languageTag ?? K()](), bd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3017
+ })[e.languageTag ?? Q()](), bd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3018
3018
  en: Pu,
3019
3019
  it: Wc
3020
- })[e.languageTag ?? K()](), wd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3020
+ })[e.languageTag ?? Q()](), wd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3021
3021
  en: Ou,
3022
3022
  it: Zc
3023
- })[e.languageTag ?? K()](), xd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3023
+ })[e.languageTag ?? Q()](), xd = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3024
3024
  en: Mu,
3025
3025
  it: Vc
3026
- })[e.languageTag ?? K()](), _d = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3026
+ })[e.languageTag ?? Q()](), _d = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
3027
3027
  en: Nu,
3028
3028
  it: Xc
3029
- })[e.languageTag ?? K()]();
3029
+ })[e.languageTag ?? Q()]();
3030
3030
  var kd = (t, e) => e(!e()), yd = /* @__PURE__ */ F('<button class="new-chat svelte-ib8fo5"><i class="fa-solid fa-volume-xmark"></i></button>'), zd = (t, e) => e(!e()), Td = /* @__PURE__ */ F('<button class="new-chat svelte-ib8fo5" aria-label="Mute"><i class="fa-solid fa-volume-high"></i></button>'), $d = (t, e) => e(!e()), Sd = (t, e, n) => {
3031
3031
  e() ? (e(!1), setTimeout(
3032
3032
  () => {
@@ -3034,21 +3034,21 @@ var kd = (t, e) => e(!e()), yd = /* @__PURE__ */ F('<button class="new-chat svel
3034
3034
  },
3035
3035
  450
3036
3036
  )) : n(!1);
3037
- }, Cd = /* @__PURE__ */ F('<header class="svelte-ib8fo5"><section class="svelte-ib8fo5"><div class="header-left svelte-ib8fo5"><h1 class="svelte-ib8fo5">Chat</h1> <select class="language-select svelte-ib8fo5" aria-label="Select language"><option>IT</option><option>EN</option></select></div> <div class="buttons svelte-ib8fo5"><!> <button class="new-chat svelte-ib8fo5" aria-label="New chat"><i class="fa-solid fa-comment-medical"></i></button> <button class="history-button svelte-ib8fo5"><i class="fa-solid fa-clock-rotate-left"></i></button> <button class="close-button svelte-ib8fo5"><i class="fa-solid fa-xmark"></i></button></div></section></header>');
3038
- const Ed = {
3037
+ }, Ed = /* @__PURE__ */ F('<header class="svelte-ib8fo5"><section class="svelte-ib8fo5"><div class="header-left svelte-ib8fo5"><h1 class="svelte-ib8fo5">Chat</h1> <select class="language-select svelte-ib8fo5" aria-label="Select language"><option>IT</option><option>EN</option></select></div> <div class="buttons svelte-ib8fo5"><!> <button class="new-chat svelte-ib8fo5" aria-label="New chat"><i class="fa-solid fa-comment-medical"></i></button> <button class="history-button svelte-ib8fo5"><i class="fa-solid fa-clock-rotate-left"></i></button> <button class="close-button svelte-ib8fo5"><i class="fa-solid fa-xmark"></i></button></div></section></header>');
3038
+ const Cd = {
3039
3039
  hash: "svelte-ib8fo5",
3040
3040
  code: "header.svelte-ib8fo5 {display:flex;justify-content:center;align-items:center;height:50px;border-radius:30px 30px 0 0;}.header-left.svelte-ib8fo5 {display:flex;align-items:center;gap:12px;}h1.svelte-ib8fo5 {font-size:1.5rem;color:#fff;}.language-select.svelte-ib8fo5 {padding:5px;border-radius:5px;border:none;background:#3c4450;color:white;font-size:20px;font-weight:900;transition:200ms;}.language-select.svelte-ib8fo5:hover {background:#576374;cursor:pointer;}section.svelte-ib8fo5 {display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px;}.buttons.svelte-ib8fo5 {display:flex;gap:10px;}button.svelte-ib8fo5 {display:flex;justify-content:center;align-items:center;border:none;cursor:pointer;border-radius:30px;transition:200ms;}.new-chat.svelte-ib8fo5 {font-size:large;width:30px;height:30px;background:#295dcf;color:white;padding:0;}.new-chat.svelte-ib8fo5:hover {background:#1e3a8a;}.history-button.svelte-ib8fo5 {font-size:large;width:30px;height:30px;background:#295dcf;color:white;font-weight:bold;}.history-button.svelte-ib8fo5:hover {background:#1e3a8a;}.close-button.svelte-ib8fo5 {font-size:large;width:30px;height:30px;background:#295dcf;color:white;}.close-button.svelte-ib8fo5:hover {background:red;}"
3041
3041
  };
3042
3042
  function Pi(t, e) {
3043
- ae(e, !0), de(t, Ed);
3043
+ ie(e, !0), de(t, Cd);
3044
3044
  let n = g(e, "show", 15, !1), r = g(e, "showHistory", 15), s = g(e, "actChat", 15), a = g(e, "muted", 15), i = g(e, "languageSelected", 15), o = g(e, "username", 15), c = g(e, "error", 15), l = g(e, "newChat", 7);
3045
3045
  Br(() => {
3046
3046
  });
3047
- var u = Cd(), f = z(u), p = z(f), h = O(z(p), 2), w = z(h);
3047
+ var u = Ed(), f = T(u), p = T(f), h = O(T(p), 2), w = T(h);
3048
3048
  w.value = (w.__value = "it") == null ? "" : "it";
3049
3049
  var x = O(w);
3050
3050
  x.value = (x.__value = "en") == null ? "" : "en", y(h), y(p);
3051
- var k = O(p, 2), b = z(k);
3051
+ var k = O(p, 2), b = T(k);
3052
3052
  {
3053
3053
  var _ = (D) => {
3054
3054
  var M = yd();
@@ -3057,13 +3057,13 @@ function Pi(t, e) {
3057
3057
  q(M, "title", G), q(M, "aria-label", a() ? "Unmute" : "Mute");
3058
3058
  },
3059
3059
  [() => /* @__PURE__ */ Ku()]
3060
- ), S(D, M);
3061
- }, T = (D) => {
3060
+ ), E(D, M);
3061
+ }, $ = (D) => {
3062
3062
  var M = Td();
3063
- M.__click = [zd, a], P((G) => q(M, "title", G), [() => /* @__PURE__ */ ed()]), S(D, M);
3063
+ M.__click = [zd, a], P((G) => q(M, "title", G), [() => /* @__PURE__ */ ed()]), E(D, M);
3064
3064
  };
3065
3065
  X(b, (D) => {
3066
- a() ? D(_) : D(T, !1);
3066
+ a() ? D(_) : D($, !1);
3067
3067
  });
3068
3068
  }
3069
3069
  var A = O(b, 2);
@@ -3071,12 +3071,12 @@ function Pi(t, e) {
3071
3071
  var M;
3072
3072
  (M = l()) == null || M.apply(this, D);
3073
3073
  };
3074
- var $ = O(A, 2);
3075
- $.__click = [$d, r];
3076
- var L = O($, 2);
3074
+ var S = O(A, 2);
3075
+ S.__click = [$d, r];
3076
+ var L = O(S, 2);
3077
3077
  return L.__click = [Sd, r, n], y(k), y(f), y(u), P(
3078
3078
  (D, M, G, ge) => {
3079
- q(A, "title", D), q($, "title", M), q($, "aria-label", G), q(L, "title", ge), q(L, "aria-label", ge);
3079
+ q(A, "title", D), q(S, "title", M), q(S, "aria-label", G), q(L, "title", ge), q(L, "aria-label", ge);
3080
3080
  },
3081
3081
  [
3082
3082
  () => /* @__PURE__ */ Di(),
@@ -3084,7 +3084,7 @@ function Pi(t, e) {
3084
3084
  () => /* @__PURE__ */ td(),
3085
3085
  () => /* @__PURE__ */ nd()
3086
3086
  ]
3087
- ), Fi(h, i), Rt(3, u, () => tn, () => ({ duration: 300 })), S(t, u), ie({
3087
+ ), Fi(h, i), Rt(3, u, () => tn, () => ({ duration: 300 })), E(t, u), oe({
3088
3088
  get show() {
3089
3089
  return n();
3090
3090
  },
@@ -3136,7 +3136,7 @@ function Pi(t, e) {
3136
3136
  });
3137
3137
  }
3138
3138
  un(["click"]);
3139
- oe(
3139
+ le(
3140
3140
  Pi,
3141
3141
  {
3142
3142
  show: {},
@@ -3723,12 +3723,12 @@ const af = {
3723
3723
  }`
3724
3724
  };
3725
3725
  function of(t, e) {
3726
- ae(e, !1), de(t, af);
3726
+ ie(e, !1), de(t, af);
3727
3727
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.75s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
3728
3728
  var o = sf();
3729
3729
  return P(() => {
3730
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`), ce(o, "pause-animation", i());
3731
- }), S(t, o), ie({
3730
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`), ue(o, "pause-animation", i());
3731
+ }), E(t, o), oe({
3732
3732
  get color() {
3733
3733
  return n();
3734
3734
  },
@@ -3761,7 +3761,7 @@ function of(t, e) {
3761
3761
  }
3762
3762
  });
3763
3763
  }
3764
- oe(
3764
+ le(
3765
3765
  of,
3766
3766
  {
3767
3767
  color: {},
@@ -3795,12 +3795,12 @@ const cf = {
3795
3795
  }`
3796
3796
  };
3797
3797
  function uf(t, e) {
3798
- ae(e, !1), de(t, cf);
3798
+ ie(e, !1), de(t, cf);
3799
3799
  let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), s = g(e, "pause", 12, !1), a = g(e, "colorOuter", 12, "#FF3E00"), i = g(e, "colorCenter", 12, "#40B3FF"), o = g(e, "colorInner", 12, "#676778"), c = g(e, "durationMultiplier", 12, 1), l = g(e, "durationOuter", 28, () => `${c() * 2}s`), u = g(e, "durationInner", 28, () => `${c() * 1.5}s`), f = g(e, "durationCenter", 28, () => `${c() * 3}s`);
3800
3800
  var p = lf();
3801
3801
  return P(() => {
3802
- q(p, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${o() ?? ""}; --colorCenter: ${i() ?? ""}; --colorOuter: ${a() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${f() ?? ""}; --durationOuter: ${l() ?? ""};`), ce(p, "pause-animation", s());
3803
- }), S(t, p), ie({
3802
+ q(p, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${o() ?? ""}; --colorCenter: ${i() ?? ""}; --colorOuter: ${a() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${f() ?? ""}; --durationOuter: ${l() ?? ""};`), ue(p, "pause-animation", s());
3803
+ }), E(t, p), oe({
3804
3804
  get size() {
3805
3805
  return n();
3806
3806
  },
@@ -3863,7 +3863,7 @@ function uf(t, e) {
3863
3863
  }
3864
3864
  });
3865
3865
  }
3866
- oe(
3866
+ le(
3867
3867
  uf,
3868
3868
  {
3869
3869
  size: {},
@@ -3914,69 +3914,69 @@ const ff = {
3914
3914
  }`
3915
3915
  };
3916
3916
  function pf(t, e) {
3917
- ae(e, !1), de(t, ff);
3917
+ ie(e, !1), de(t, ff);
3918
3918
  let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), s = g(e, "pause", 12, !1), a = g(e, "ballTopLeft", 12, "#FF3E00"), i = g(e, "ballTopRight", 12, "#F8B334"), o = g(e, "ballBottomLeft", 12, "#40B3FF"), c = g(e, "ballBottomRight", 12, "#676778"), l = g(e, "duration", 12, "1.5s");
3919
- var u = df(), f = z(u), p = z(f), h = z(p), w = z(h);
3919
+ var u = df(), f = T(u), p = T(f), h = T(p), w = T(h);
3920
3920
  y(h);
3921
- var x = O(h, 2), k = z(x);
3921
+ var x = O(h, 2), k = T(x);
3922
3922
  y(x);
3923
- var b = O(x, 2), _ = z(b);
3923
+ var b = O(x, 2), _ = T(b);
3924
3924
  y(b);
3925
- var T = O(b, 2), A = z(T);
3926
- return y(T), y(p), y(f), y(u), P(() => {
3927
- q(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${a() ?? ""}; --ballTopRightColor: ${i() ?? ""}; --ballBottomLeftColor: ${o() ?? ""}; --ballBottomRightColor: ${c() ?? ""}; --duration: ${l() ?? ""};`), ce(p, "pause-animation", s()), ce(w, "pause-animation", s()), ce(k, "pause-animation", s()), ce(_, "pause-animation", s()), ce(A, "pause-animation", s());
3928
- }), S(t, u), ie({
3925
+ var $ = O(b, 2), A = T($);
3926
+ return y($), y(p), y(f), y(u), P(() => {
3927
+ q(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${a() ?? ""}; --ballTopRightColor: ${i() ?? ""}; --ballBottomLeftColor: ${o() ?? ""}; --ballBottomRightColor: ${c() ?? ""}; --duration: ${l() ?? ""};`), ue(p, "pause-animation", s()), ue(w, "pause-animation", s()), ue(k, "pause-animation", s()), ue(_, "pause-animation", s()), ue(A, "pause-animation", s());
3928
+ }), E(t, u), oe({
3929
3929
  get size() {
3930
3930
  return n();
3931
3931
  },
3932
- set size($) {
3933
- n($), v();
3932
+ set size(S) {
3933
+ n(S), v();
3934
3934
  },
3935
3935
  get unit() {
3936
3936
  return r();
3937
3937
  },
3938
- set unit($) {
3939
- r($), v();
3938
+ set unit(S) {
3939
+ r(S), v();
3940
3940
  },
3941
3941
  get pause() {
3942
3942
  return s();
3943
3943
  },
3944
- set pause($) {
3945
- s($), v();
3944
+ set pause(S) {
3945
+ s(S), v();
3946
3946
  },
3947
3947
  get ballTopLeft() {
3948
3948
  return a();
3949
3949
  },
3950
- set ballTopLeft($) {
3951
- a($), v();
3950
+ set ballTopLeft(S) {
3951
+ a(S), v();
3952
3952
  },
3953
3953
  get ballTopRight() {
3954
3954
  return i();
3955
3955
  },
3956
- set ballTopRight($) {
3957
- i($), v();
3956
+ set ballTopRight(S) {
3957
+ i(S), v();
3958
3958
  },
3959
3959
  get ballBottomLeft() {
3960
3960
  return o();
3961
3961
  },
3962
- set ballBottomLeft($) {
3963
- o($), v();
3962
+ set ballBottomLeft(S) {
3963
+ o(S), v();
3964
3964
  },
3965
3965
  get ballBottomRight() {
3966
3966
  return c();
3967
3967
  },
3968
- set ballBottomRight($) {
3969
- c($), v();
3968
+ set ballBottomRight(S) {
3969
+ c(S), v();
3970
3970
  },
3971
3971
  get duration() {
3972
3972
  return l();
3973
3973
  },
3974
- set duration($) {
3975
- l($), v();
3974
+ set duration(S) {
3975
+ l(S), v();
3976
3976
  }
3977
3977
  });
3978
3978
  }
3979
- oe(
3979
+ le(
3980
3980
  pf,
3981
3981
  {
3982
3982
  size: {},
@@ -3992,7 +3992,7 @@ oe(
3992
3992
  [],
3993
3993
  !0
3994
3994
  );
3995
- const tt = /[a-zA-Z]/, qs = (t, e) => {
3995
+ const et = /[a-zA-Z]/, qs = (t, e) => {
3996
3996
  if (t[0] === "#" && (t = t.slice(1)), t.length === 3) {
3997
3997
  let r = "";
3998
3998
  t.split("").forEach((s) => {
@@ -4018,16 +4018,16 @@ const gf = {
4018
4018
  };
4019
4019
  function mf(t, e) {
4020
4020
  var u;
4021
- ae(e, !1), de(t, gf);
4022
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
4021
+ ie(e, !1), de(t, gf);
4022
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
4023
4023
  wt();
4024
4024
  var l = vf();
4025
- return at(l, 5, () => Dt(2, 1), st, (f, p) => {
4025
+ return st(l, 5, () => Dt(2, 1), rt, (f, p) => {
4026
4026
  var h = hf();
4027
4027
  P(() => {
4028
- q(h, "style", `animation: ${s() ?? ""} ${(d(p) === 1 ? `${(+c - 0.1) / 2}${o}` : "0s") ?? ""} infinite ease-in-out`), ce(h, "pause-animation", i());
4029
- }), S(f, h);
4030
- }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)), S(t, l), ie({
4028
+ q(h, "style", `animation: ${s() ?? ""} ${(d(p) === 1 ? `${(+c - 0.1) / 2}${o}` : "0s") ?? ""} infinite ease-in-out`), ue(h, "pause-animation", i());
4029
+ }), E(f, h);
4030
+ }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)), E(t, l), oe({
4031
4031
  get color() {
4032
4032
  return n();
4033
4033
  },
@@ -4060,7 +4060,7 @@ function mf(t, e) {
4060
4060
  }
4061
4061
  });
4062
4062
  }
4063
- oe(
4063
+ le(
4064
4064
  mf,
4065
4065
  {
4066
4066
  color: {},
@@ -4247,7 +4247,7 @@ const wf = {
4247
4247
  }`
4248
4248
  };
4249
4249
  function xf(t, e) {
4250
- ae(e, !1), de(t, wf);
4250
+ ie(e, !1), de(t, wf);
4251
4251
  const n = Kt();
4252
4252
  let r = g(e, "size", 12, "40px"), s = g(e, "duration", 12, "3s"), a = g(e, "pause", 12, !1);
4253
4253
  er(() => jn(r()), () => {
@@ -4258,8 +4258,8 @@ function xf(t, e) {
4258
4258
  }), tr(), wt();
4259
4259
  var i = bf();
4260
4260
  return P(() => {
4261
- q(i, "style", `--duration: ${s() ?? ""}; ${d(n) ?? ""}`), ce(i, "pause-animation", a());
4262
- }), S(t, i), ie({
4261
+ q(i, "style", `--duration: ${s() ?? ""}; ${d(n) ?? ""}`), ue(i, "pause-animation", a());
4262
+ }), E(t, i), oe({
4263
4263
  get size() {
4264
4264
  return r();
4265
4265
  },
@@ -4280,7 +4280,7 @@ function xf(t, e) {
4280
4280
  }
4281
4281
  });
4282
4282
  }
4283
- oe(xf, { size: {}, duration: {}, pause: {} }, [], [], !0);
4283
+ le(xf, { size: {}, duration: {}, pause: {} }, [], [], !0);
4284
4284
  var _f = /* @__PURE__ */ F('<div class="wrapper svelte-1w1ueev"><div class="circle svelte-1w1ueev"></div></div>');
4285
4285
  const kf = {
4286
4286
  hash: "svelte-1w1ueev",
@@ -4297,12 +4297,12 @@ const kf = {
4297
4297
  }`
4298
4298
  };
4299
4299
  function yf(t, e) {
4300
- ae(e, !1), de(t, kf);
4300
+ ie(e, !1), de(t, kf);
4301
4301
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
4302
- var o = _f(), c = z(o);
4302
+ var o = _f(), c = T(o);
4303
4303
  return y(o), P(() => {
4304
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}; --duration: ${s() ?? ""};`), ce(c, "pause-animation", i());
4305
- }), S(t, o), ie({
4304
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}; --duration: ${s() ?? ""};`), ue(c, "pause-animation", i());
4305
+ }), E(t, o), oe({
4306
4306
  get color() {
4307
4307
  return n();
4308
4308
  },
@@ -4335,7 +4335,7 @@ function yf(t, e) {
4335
4335
  }
4336
4336
  });
4337
4337
  }
4338
- oe(
4338
+ le(
4339
4339
  yf,
4340
4340
  {
4341
4341
  color: {},
@@ -4410,12 +4410,12 @@ const Tf = {
4410
4410
  }`
4411
4411
  };
4412
4412
  function $f(t, e) {
4413
- ae(e, !1), de(t, Tf);
4413
+ ie(e, !1), de(t, Tf);
4414
4414
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "4s"), a = g(e, "size", 12, "60"), i = g(e, "stroke", 28, () => +a() / 12 + r()), o = g(e, "pause", 12, !1);
4415
- var c = zf(), l = z(c);
4415
+ var c = zf(), l = T(c);
4416
4416
  return y(c), P(() => {
4417
- q(c, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${i() ?? ""}; --floatSize: ${a() ?? ""}; --duration: ${s() ?? ""}`), ce(l, "pause-animation", o());
4418
- }), S(t, c), ie({
4417
+ q(c, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${i() ?? ""}; --floatSize: ${a() ?? ""}; --duration: ${s() ?? ""}`), ue(l, "pause-animation", o());
4418
+ }), E(t, c), oe({
4419
4419
  get color() {
4420
4420
  return n();
4421
4421
  },
@@ -4454,7 +4454,7 @@ function $f(t, e) {
4454
4454
  }
4455
4455
  });
4456
4456
  }
4457
- oe(
4457
+ le(
4458
4458
  $f,
4459
4459
  {
4460
4460
  color: {},
@@ -4468,8 +4468,8 @@ oe(
4468
4468
  [],
4469
4469
  !0
4470
4470
  );
4471
- var Sf = /* @__PURE__ */ F('<div class="rect svelte-cihful"></div>'), Cf = /* @__PURE__ */ F('<div class="wrapper svelte-cihful"></div>');
4472
- const Ef = {
4471
+ var Sf = /* @__PURE__ */ F('<div class="rect svelte-cihful"></div>'), Ef = /* @__PURE__ */ F('<div class="wrapper svelte-cihful"></div>');
4472
+ const Cf = {
4473
4473
  hash: "svelte-cihful",
4474
4474
  code: `.wrapper.svelte-cihful {height:var(--size);width:var(--size);display:inline-block;text-align:center;font-size:10px;}.rect.svelte-cihful {height:100%;width:10%;display:inline-block;margin-right:4px;transform:scaleY(0.4);background-color:var(--color);
4475
4475
  animation: svelte-cihful-stretch var(--duration) ease-in-out infinite;}.pause-animation.svelte-cihful {animation-play-state:paused;}
@@ -4486,16 +4486,16 @@ const Ef = {
4486
4486
  };
4487
4487
  function If(t, e) {
4488
4488
  var u;
4489
- ae(e, !1), de(t, Ef);
4490
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.2s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
4489
+ ie(e, !1), de(t, Cf);
4490
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.2s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
4491
4491
  wt();
4492
- var l = Cf();
4493
- return at(l, 5, () => Dt(5, 1), st, (f, p) => {
4492
+ var l = Ef();
4493
+ return st(l, 5, () => Dt(5, 1), rt, (f, p) => {
4494
4494
  var h = Sf();
4495
4495
  P(() => {
4496
- q(h, "style", `animation-delay: ${(d(p) - 1) * (+c / 12)}${o ?? ""}`), ce(h, "pause-animation", i());
4497
- }), S(f, h);
4498
- }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)), S(t, l), ie({
4496
+ q(h, "style", `animation-delay: ${(d(p) - 1) * (+c / 12)}${o ?? ""}`), ue(h, "pause-animation", i());
4497
+ }), E(f, h);
4498
+ }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)), E(t, l), oe({
4499
4499
  get color() {
4500
4500
  return n();
4501
4501
  },
@@ -4528,7 +4528,7 @@ function If(t, e) {
4528
4528
  }
4529
4529
  });
4530
4530
  }
4531
- oe(
4531
+ le(
4532
4532
  If,
4533
4533
  {
4534
4534
  color: {},
@@ -4580,7 +4580,7 @@ const Ff = {
4580
4580
  }`
4581
4581
  };
4582
4582
  function Rf(t, e) {
4583
- ae(e, !1), de(t, Ff);
4583
+ ie(e, !1), de(t, Ff);
4584
4584
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = Kt();
4585
4585
  er(
4586
4586
  () => jn(n()),
@@ -4589,12 +4589,12 @@ function Rf(t, e) {
4589
4589
  }
4590
4590
  ), tr(), wt();
4591
4591
  var c = Lf();
4592
- return at(c, 5, () => Dt(2, 1), st, (l, u) => {
4592
+ return st(c, 5, () => Dt(2, 1), rt, (l, u) => {
4593
4593
  var f = Af();
4594
4594
  P(() => {
4595
- ut(f, `lines small-lines ${d(u) ?? ""} svelte-bnawe9`), q(f, "style", `--color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(f, "pause-animation", i());
4596
- }), S(l, f);
4597
- }), y(c), P(() => q(c, "style", `--size: ${a() ?? ""}${r() ?? ""}; --rgba:${d(o) ?? ""}`)), S(t, c), ie({
4595
+ ut(f, `lines small-lines ${d(u) ?? ""} svelte-bnawe9`), q(f, "style", `--color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(f, "pause-animation", i());
4596
+ }), E(l, f);
4597
+ }), y(c), P(() => q(c, "style", `--size: ${a() ?? ""}${r() ?? ""}; --rgba:${d(o) ?? ""}`)), E(t, c), oe({
4598
4598
  get color() {
4599
4599
  return n();
4600
4600
  },
@@ -4627,7 +4627,7 @@ function Rf(t, e) {
4627
4627
  }
4628
4628
  });
4629
4629
  }
4630
- oe(
4630
+ le(
4631
4631
  Rf,
4632
4632
  {
4633
4633
  color: {},
@@ -4661,16 +4661,16 @@ const Pf = {
4661
4661
  };
4662
4662
  function Of(t, e) {
4663
4663
  var u;
4664
- ae(e, !1), de(t, Pf);
4665
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
4664
+ ie(e, !1), de(t, Pf);
4665
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
4666
4666
  wt();
4667
4667
  var l = jf();
4668
- return at(l, 5, () => Dt(3, 1), st, (f, p) => {
4668
+ return st(l, 5, () => Dt(3, 1), rt, (f, p) => {
4669
4669
  var h = Df();
4670
4670
  P(() => {
4671
- q(h, "style", `animation-delay: ${+c / 3 * (d(p) - 1) + o};`), ce(h, "pause-animation", i());
4672
- }), S(f, h);
4673
- }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), S(t, l), ie({
4671
+ q(h, "style", `animation-delay: ${+c / 3 * (d(p) - 1) + o};`), ue(h, "pause-animation", i());
4672
+ }), E(f, h);
4673
+ }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), E(t, l), oe({
4674
4674
  get color() {
4675
4675
  return n();
4676
4676
  },
@@ -4703,7 +4703,7 @@ function Of(t, e) {
4703
4703
  }
4704
4704
  });
4705
4705
  }
4706
- oe(
4706
+ le(
4707
4707
  Of,
4708
4708
  {
4709
4709
  color: {},
@@ -4741,16 +4741,16 @@ const Uf = {
4741
4741
  }`
4742
4742
  };
4743
4743
  function qf(t, e) {
4744
- ae(e, !1), de(t, Uf);
4744
+ ie(e, !1), de(t, Uf);
4745
4745
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
4746
4746
  wt();
4747
4747
  var o = Nf();
4748
- return at(o, 5, () => Dt(2, 1), st, (c, l) => {
4748
+ return st(o, 5, () => Dt(2, 1), rt, (c, l) => {
4749
4749
  var u = Mf();
4750
4750
  P(() => {
4751
- ut(u, `border ${d(l) ?? ""} svelte-kxapcj`), ce(u, "pause-animation", i());
4752
- }), S(c, u);
4753
- }), y(o), P(() => q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), S(t, o), ie({
4751
+ ut(u, `border ${d(l) ?? ""} svelte-kxapcj`), ue(u, "pause-animation", i());
4752
+ }), E(c, u);
4753
+ }), y(o), P(() => q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), E(t, o), oe({
4754
4754
  get color() {
4755
4755
  return n();
4756
4756
  },
@@ -4783,7 +4783,7 @@ function qf(t, e) {
4783
4783
  }
4784
4784
  });
4785
4785
  }
4786
- oe(
4786
+ le(
4787
4787
  qf,
4788
4788
  {
4789
4789
  color: {},
@@ -4833,16 +4833,16 @@ const Yf = {
4833
4833
  };
4834
4834
  function Gf(t, e) {
4835
4835
  var u;
4836
- ae(e, !1), de(t, Yf);
4837
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.6s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
4836
+ ie(e, !1), de(t, Yf);
4837
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.6s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
4838
4838
  wt();
4839
4839
  var l = Hf();
4840
- return at(l, 5, () => Dt(3, 1), st, (f, p) => {
4840
+ return st(l, 5, () => Dt(3, 1), rt, (f, p) => {
4841
4841
  var h = Bf();
4842
4842
  P(() => {
4843
- q(h, "style", `--dotSize:${+a() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${d(p) * (+c / 10)}${o ?? ""};`), ce(h, "pause-animation", i());
4844
- }), S(f, h);
4845
- }), y(l), P(() => q(l, "style", `--size:${a() ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`)), S(t, l), ie({
4843
+ q(h, "style", `--dotSize:${+a() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${d(p) * (+c / 10)}${o ?? ""};`), ue(h, "pause-animation", i());
4844
+ }), E(f, h);
4845
+ }), y(l), P(() => q(l, "style", `--size:${a() ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`)), E(t, l), oe({
4846
4846
  get color() {
4847
4847
  return n();
4848
4848
  },
@@ -4875,7 +4875,7 @@ function Gf(t, e) {
4875
4875
  }
4876
4876
  });
4877
4877
  }
4878
- oe(
4878
+ le(
4879
4879
  Gf,
4880
4880
  {
4881
4881
  color: {},
@@ -4913,12 +4913,12 @@ const Wf = {
4913
4913
  }`
4914
4914
  };
4915
4915
  function Zf(t, e) {
4916
- ae(e, !1), de(t, Wf);
4916
+ ie(e, !1), de(t, Wf);
4917
4917
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "3s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
4918
- var o = Jf(), c = z(o);
4918
+ var o = Jf(), c = T(o);
4919
4919
  return y(o), P(() => {
4920
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(c, "pause-animation", i());
4921
- }), S(t, o), ie({
4920
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(c, "pause-animation", i());
4921
+ }), E(t, o), oe({
4922
4922
  get color() {
4923
4923
  return n();
4924
4924
  },
@@ -4951,7 +4951,7 @@ function Zf(t, e) {
4951
4951
  }
4952
4952
  });
4953
4953
  }
4954
- oe(
4954
+ le(
4955
4955
  Zf,
4956
4956
  {
4957
4957
  color: {},
@@ -4985,12 +4985,12 @@ const Xf = {
4985
4985
  }`
4986
4986
  };
4987
4987
  function Qf(t, e) {
4988
- ae(e, !1), de(t, Xf);
4988
+ ie(e, !1), de(t, Xf);
4989
4989
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.25s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
4990
- var o = Vf(), c = z(o);
4990
+ var o = Vf(), c = T(o);
4991
4991
  return y(o), P(() => {
4992
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(c, "pause-animation", i());
4993
- }), S(t, o), ie({
4992
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(c, "pause-animation", i());
4993
+ }), E(t, o), oe({
4994
4994
  get color() {
4995
4995
  return n();
4996
4996
  },
@@ -5023,7 +5023,7 @@ function Qf(t, e) {
5023
5023
  }
5024
5024
  });
5025
5025
  }
5026
- oe(
5026
+ le(
5027
5027
  Qf,
5028
5028
  {
5029
5029
  color: {},
@@ -5053,18 +5053,18 @@ const tp = {
5053
5053
  }
5054
5054
  }`
5055
5055
  };
5056
- function Cr(t, e) {
5056
+ function Er(t, e) {
5057
5057
  var u;
5058
- ae(e, !1), de(t, tp);
5059
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.5s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
5058
+ ie(e, !1), de(t, tp);
5059
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.5s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
5060
5060
  wt();
5061
5061
  var l = ep();
5062
- return at(l, 5, () => Dt(3, 0), st, (f, p) => {
5062
+ return st(l, 5, () => Dt(3, 0), rt, (f, p) => {
5063
5063
  var h = Kf();
5064
5064
  P(() => {
5065
- q(h, "style", `animation-delay: ${d(p) * (+c / 10)}${o ?? ""}; left: ${d(p) * (+a() / 3 + +a() / 15) + r()};`), ce(h, "pause-animation", i());
5066
- }), S(f, h);
5067
- }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)), S(t, l), ie({
5065
+ q(h, "style", `animation-delay: ${d(p) * (+c / 10)}${o ?? ""}; left: ${d(p) * (+a() / 3 + +a() / 15) + r()};`), ue(h, "pause-animation", i());
5066
+ }), E(f, h);
5067
+ }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)), E(t, l), oe({
5068
5068
  get color() {
5069
5069
  return n();
5070
5070
  },
@@ -5097,8 +5097,8 @@ function Cr(t, e) {
5097
5097
  }
5098
5098
  });
5099
5099
  }
5100
- oe(
5101
- Cr,
5100
+ le(
5101
+ Er,
5102
5102
  {
5103
5103
  color: {},
5104
5104
  unit: {},
@@ -5129,16 +5129,16 @@ const sp = {
5129
5129
  };
5130
5130
  function ap(t, e) {
5131
5131
  var u;
5132
- ae(e, !1), de(t, sp);
5133
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.5s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
5132
+ ie(e, !1), de(t, sp);
5133
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2.5s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
5134
5134
  wt();
5135
5135
  var l = rp();
5136
- return at(l, 5, () => Dt(6, 0), st, (f, p) => {
5136
+ return st(l, 5, () => Dt(6, 0), rt, (f, p) => {
5137
5137
  var h = np();
5138
5138
  P(() => {
5139
- q(h, "style", `animation-delay: ${d(p) * (+c / 25)}${o ?? ""}; width: ${d(p) * (+a() / 6) + r()}; height: ${d(p) * (+a() / 6) / 2 + r()}; `), ce(h, "pause-animation", i());
5140
- }), S(f, h);
5141
- }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-a() / 5}${r() ?? ""}; --motionTwo: ${+a() / 4}${r() ?? ""}; --motionThree: ${-a() / 5}${r() ?? ""}; --duration: ${s() ?? ""};`)), S(t, l), ie({
5139
+ q(h, "style", `animation-delay: ${d(p) * (+c / 25)}${o ?? ""}; width: ${d(p) * (+a() / 6) + r()}; height: ${d(p) * (+a() / 6) / 2 + r()}; `), ue(h, "pause-animation", i());
5140
+ }), E(f, h);
5141
+ }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-a() / 5}${r() ?? ""}; --motionTwo: ${+a() / 4}${r() ?? ""}; --motionThree: ${-a() / 5}${r() ?? ""}; --duration: ${s() ?? ""};`)), E(t, l), oe({
5142
5142
  get color() {
5143
5143
  return n();
5144
5144
  },
@@ -5171,7 +5171,7 @@ function ap(t, e) {
5171
5171
  }
5172
5172
  });
5173
5173
  }
5174
- oe(
5174
+ le(
5175
5175
  ap,
5176
5176
  {
5177
5177
  color: {},
@@ -5208,18 +5208,18 @@ const lp = {
5208
5208
  };
5209
5209
  function cp(t, e) {
5210
5210
  var f;
5211
- ae(e, !1), de(t, lp);
5212
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((f = s().match(tt)) == null ? void 0 : f[0]) ?? "s", c = s().replace(tt, "");
5211
+ ie(e, !1), de(t, lp);
5212
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((f = s().match(et)) == null ? void 0 : f[0]) ?? "s", c = s().replace(et, "");
5213
5213
  wt();
5214
- var l = op(), u = z(l);
5215
- return at(u, 5, () => Dt(2, 0), st, (p, h) => {
5214
+ var l = op(), u = T(l);
5215
+ return st(u, 5, () => Dt(2, 0), rt, (p, h) => {
5216
5216
  var w = ip();
5217
5217
  P(() => {
5218
- q(w, "style", `animation-delay: ${(d(h) === 1 ? `${+c / 2}${o}` : "0s") ?? ""}; ${(d(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(d(h) === 1 ? "top: auto;" : "") ?? ""}`), ce(w, "pause-animation", i());
5219
- }), S(p, w);
5218
+ q(w, "style", `animation-delay: ${(d(h) === 1 ? `${+c / 2}${o}` : "0s") ?? ""}; ${(d(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(d(h) === 1 ? "top: auto;" : "") ?? ""}`), ue(w, "pause-animation", i());
5219
+ }), E(p, w);
5220
5220
  }), y(u), y(l), P(() => {
5221
- q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(u, "pause-animation", i());
5222
- }), S(t, l), ie({
5221
+ q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(u, "pause-animation", i());
5222
+ }), E(t, l), oe({
5223
5223
  get color() {
5224
5224
  return n();
5225
5225
  },
@@ -5252,7 +5252,7 @@ function cp(t, e) {
5252
5252
  }
5253
5253
  });
5254
5254
  }
5255
- oe(
5255
+ le(
5256
5256
  cp,
5257
5257
  {
5258
5258
  color: {},
@@ -5290,12 +5290,12 @@ const dp = {
5290
5290
  }`
5291
5291
  };
5292
5292
  function fp(t, e) {
5293
- ae(e, !1), de(t, dp);
5293
+ ie(e, !1), de(t, dp);
5294
5294
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "3s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
5295
5295
  var o = up();
5296
5296
  return P(() => {
5297
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(o, "pause-animation", i());
5298
- }), S(t, o), ie({
5297
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(o, "pause-animation", i());
5298
+ }), E(t, o), oe({
5299
5299
  get color() {
5300
5300
  return n();
5301
5301
  },
@@ -5328,7 +5328,7 @@ function fp(t, e) {
5328
5328
  }
5329
5329
  });
5330
5330
  }
5331
- oe(
5331
+ le(
5332
5332
  fp,
5333
5333
  {
5334
5334
  color: {},
@@ -5384,12 +5384,12 @@ const hp = {
5384
5384
  }`
5385
5385
  };
5386
5386
  function vp(t, e) {
5387
- ae(e, !1), de(t, hp);
5387
+ ie(e, !1), de(t, hp);
5388
5388
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.7s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
5389
- var o = pp(), c = z(o);
5389
+ var o = pp(), c = T(o);
5390
5390
  return y(o), P(() => {
5391
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(c, "pause-animation", i());
5392
- }), S(t, o), ie({
5391
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(c, "pause-animation", i());
5392
+ }), E(t, o), oe({
5393
5393
  get color() {
5394
5394
  return n();
5395
5395
  },
@@ -5422,7 +5422,7 @@ function vp(t, e) {
5422
5422
  }
5423
5423
  });
5424
5424
  }
5425
- oe(
5425
+ le(
5426
5426
  vp,
5427
5427
  {
5428
5428
  color: {},
@@ -5448,12 +5448,12 @@ const mp = {
5448
5448
  }`
5449
5449
  };
5450
5450
  function bp(t, e) {
5451
- ae(e, !1), de(t, mp);
5451
+ ie(e, !1), de(t, mp);
5452
5452
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.6s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = +a() / 7, c = +a() / 2 - o / 2;
5453
- var l = gp(), u = z(l), f = O(u, 2);
5453
+ var l = gp(), u = T(l), f = O(u, 2);
5454
5454
  return y(l), P(() => {
5455
- q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${c ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`), ce(l, "pause-animation", i()), ce(u, "pause-animation", i()), ce(f, "pause-animation", i());
5456
- }), S(t, l), ie({
5455
+ q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${c ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`), ue(l, "pause-animation", i()), ue(u, "pause-animation", i()), ue(f, "pause-animation", i());
5456
+ }), E(t, l), oe({
5457
5457
  get color() {
5458
5458
  return n();
5459
5459
  },
@@ -5486,7 +5486,7 @@ function bp(t, e) {
5486
5486
  }
5487
5487
  });
5488
5488
  }
5489
- oe(
5489
+ le(
5490
5490
  bp,
5491
5491
  {
5492
5492
  color: {},
@@ -5533,7 +5533,7 @@ const xp = {
5533
5533
  }`
5534
5534
  };
5535
5535
  function _p(t, e) {
5536
- ae(e, !1), de(t, xp);
5536
+ ie(e, !1), de(t, xp);
5537
5537
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.3s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = Kt();
5538
5538
  er(
5539
5539
  () => jn(n()),
@@ -5541,10 +5541,10 @@ function _p(t, e) {
5541
5541
  m(o, qs(n(), 0.6));
5542
5542
  }
5543
5543
  ), tr(), wt();
5544
- var c = wp(), l = z(c);
5544
+ var c = wp(), l = T(c);
5545
5545
  return y(c), P(() => {
5546
- q(c, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${d(o) ?? ""}; --duration: ${s() ?? ""};`), ce(l, "pause-animation", i());
5547
- }), S(t, c), ie({
5546
+ q(c, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${d(o) ?? ""}; --duration: ${s() ?? ""};`), ue(l, "pause-animation", i());
5547
+ }), E(t, c), oe({
5548
5548
  get color() {
5549
5549
  return n();
5550
5550
  },
@@ -5577,7 +5577,7 @@ function _p(t, e) {
5577
5577
  }
5578
5578
  });
5579
5579
  }
5580
- oe(
5580
+ le(
5581
5581
  _p,
5582
5582
  {
5583
5583
  color: {},
@@ -5608,12 +5608,12 @@ const yp = {
5608
5608
  }`
5609
5609
  };
5610
5610
  function zp(t, e) {
5611
- ae(e, !1), de(t, yp);
5611
+ ie(e, !1), de(t, yp);
5612
5612
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.5s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
5613
5613
  var o = kp();
5614
5614
  return P(() => {
5615
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${s() ?? ""};`), ce(o, "pause-animation", i());
5616
- }), S(t, o), ie({
5615
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${s() ?? ""};`), ue(o, "pause-animation", i());
5616
+ }), E(t, o), oe({
5617
5617
  get color() {
5618
5618
  return n();
5619
5619
  },
@@ -5646,7 +5646,7 @@ function zp(t, e) {
5646
5646
  }
5647
5647
  });
5648
5648
  }
5649
- oe(
5649
+ le(
5650
5650
  zp,
5651
5651
  {
5652
5652
  color: {},
@@ -5675,12 +5675,12 @@ const $p = {
5675
5675
  }`
5676
5676
  };
5677
5677
  function Sp(t, e) {
5678
- ae(e, !1), de(t, $p);
5678
+ ie(e, !1), de(t, $p);
5679
5679
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "8s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1);
5680
5680
  var o = Tp();
5681
5681
  return P(() => {
5682
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${s() ?? ""}`), ce(o, "pause-animation", i());
5683
- }), S(t, o), ie({
5682
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${s() ?? ""}`), ue(o, "pause-animation", i());
5683
+ }), E(t, o), oe({
5684
5684
  get color() {
5685
5685
  return n();
5686
5686
  },
@@ -5713,7 +5713,7 @@ function Sp(t, e) {
5713
5713
  }
5714
5714
  });
5715
5715
  }
5716
- oe(
5716
+ le(
5717
5717
  Sp,
5718
5718
  {
5719
5719
  color: {},
@@ -5726,7 +5726,7 @@ oe(
5726
5726
  [],
5727
5727
  !0
5728
5728
  );
5729
- var Cp = /* @__PURE__ */ F('<div class="bar svelte-1vzsw15"></div>'), Ep = /* @__PURE__ */ F('<div class="wrapper svelte-1vzsw15"></div>');
5729
+ var Ep = /* @__PURE__ */ F('<div class="bar svelte-1vzsw15"></div>'), Cp = /* @__PURE__ */ F('<div class="wrapper svelte-1vzsw15"></div>');
5730
5730
  const Ip = {
5731
5731
  hash: "svelte-1vzsw15",
5732
5732
  code: `.wrapper.svelte-1vzsw15 {position:relative;display:flex;justify-content:center;align-items:center;width:calc(var(--size) * 2.5);height:var(--size);overflow:hidden;}.bar.svelte-1vzsw15 {position:absolute;top:calc(var(--size) / 10);width:calc(var(--size) / 5);height:calc(var(--size) / 10);margin-top:calc(var(--size) - var(--size) / 10);transform:skewY(0deg);background-color:var(--color);
@@ -5746,16 +5746,16 @@ const Ip = {
5746
5746
  };
5747
5747
  function Ap(t, e) {
5748
5748
  var u;
5749
- ae(e, !1), de(t, Ip);
5750
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.25s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(tt)) == null ? void 0 : u[0]) ?? "s", c = s().replace(tt, "");
5749
+ ie(e, !1), de(t, Ip);
5750
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1.25s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((u = s().match(et)) == null ? void 0 : u[0]) ?? "s", c = s().replace(et, "");
5751
5751
  wt();
5752
- var l = Ep();
5753
- return at(l, 5, () => Dt(10, 0), st, (f, p) => {
5754
- var h = Cp();
5752
+ var l = Cp();
5753
+ return st(l, 5, () => Dt(10, 0), rt, (f, p) => {
5754
+ var h = Ep();
5755
5755
  P(() => {
5756
- q(h, "style", `left: ${d(p) * (+a() / 5 + (+a() / 15 - +a() / 100)) + r()}; animation-delay: ${d(p) * (+c / 8.3)}${o ?? ""};`), ce(h, "pause-animation", i());
5757
- }), S(f, h);
5758
- }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), S(t, l), ie({
5756
+ q(h, "style", `left: ${d(p) * (+a() / 5 + (+a() / 15 - +a() / 100)) + r()}; animation-delay: ${d(p) * (+c / 8.3)}${o ?? ""};`), ue(h, "pause-animation", i());
5757
+ }), E(f, h);
5758
+ }), y(l), P(() => q(l, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), E(t, l), oe({
5759
5759
  get color() {
5760
5760
  return n();
5761
5761
  },
@@ -5788,7 +5788,7 @@ function Ap(t, e) {
5788
5788
  }
5789
5789
  });
5790
5790
  }
5791
- oe(
5791
+ le(
5792
5792
  Ap,
5793
5793
  {
5794
5794
  color: {},
@@ -5825,8 +5825,8 @@ const Rp = {
5825
5825
  };
5826
5826
  function Dp(t, e) {
5827
5827
  var f;
5828
- ae(e, !1), de(t, Rp);
5829
- let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((f = s().match(tt)) == null ? void 0 : f[0]) ?? "s", c = s().replace(tt, ""), l = Kt();
5828
+ ie(e, !1), de(t, Rp);
5829
+ let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "1s"), a = g(e, "size", 12, "60"), i = g(e, "pause", 12, !1), o = ((f = s().match(et)) == null ? void 0 : f[0]) ?? "s", c = s().replace(et, ""), l = Kt();
5830
5830
  er(
5831
5831
  () => jn(n()),
5832
5832
  () => {
@@ -5834,12 +5834,12 @@ function Dp(t, e) {
5834
5834
  }
5835
5835
  ), tr(), wt();
5836
5836
  var u = Fp();
5837
- return at(u, 5, () => Dt(2, 1), st, (p, h) => {
5837
+ return st(u, 5, () => Dt(2, 1), rt, (p, h) => {
5838
5838
  var w = Lp();
5839
5839
  P(() => {
5840
- q(w, "style", `animation-delay: ${(d(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +c + o};`), ce(w, "pause-animation", i());
5841
- }), S(p, w);
5842
- }), y(u), P(() => q(u, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${d(l) ?? ""}; --duration: ${s() ?? ""}`)), S(t, u), ie({
5840
+ q(w, "style", `animation-delay: ${(d(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +c + o};`), ue(w, "pause-animation", i());
5841
+ }), E(p, w);
5842
+ }), y(u), P(() => q(u, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${d(l) ?? ""}; --duration: ${s() ?? ""}`)), E(t, u), oe({
5843
5843
  get color() {
5844
5844
  return n();
5845
5845
  },
@@ -5872,7 +5872,7 @@ function Dp(t, e) {
5872
5872
  }
5873
5873
  });
5874
5874
  }
5875
- oe(
5875
+ le(
5876
5876
  Dp,
5877
5877
  {
5878
5878
  color: {},
@@ -5900,12 +5900,12 @@ const Pp = {
5900
5900
  }`
5901
5901
  };
5902
5902
  function Op(t, e) {
5903
- ae(e, !1), de(t, Pp);
5903
+ ie(e, !1), de(t, Pp);
5904
5904
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.4s"), a = g(e, "size", 12, "15"), i = g(e, "pause", 12, !1);
5905
5905
  var o = jp();
5906
5906
  return P(() => {
5907
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(o, "pause-animation", i());
5908
- }), S(t, o), ie({
5907
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(o, "pause-animation", i());
5908
+ }), E(t, o), oe({
5909
5909
  get color() {
5910
5910
  return n();
5911
5911
  },
@@ -5938,7 +5938,7 @@ function Op(t, e) {
5938
5938
  }
5939
5939
  });
5940
5940
  }
5941
- oe(
5941
+ le(
5942
5942
  Op,
5943
5943
  {
5944
5944
  color: {},
@@ -5966,12 +5966,12 @@ const Np = {
5966
5966
  }`
5967
5967
  };
5968
5968
  function Up(t, e) {
5969
- ae(e, !1), de(t, Np);
5969
+ ie(e, !1), de(t, Np);
5970
5970
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.4s"), a = g(e, "size", 12, "15"), i = g(e, "pause", 12, !1);
5971
5971
  var o = Mp();
5972
5972
  return P(() => {
5973
- q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ce(o, "pause-animation", i());
5974
- }), S(t, o), ie({
5973
+ q(o, "style", `--size: ${a() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ue(o, "pause-animation", i());
5974
+ }), E(t, o), oe({
5975
5975
  get color() {
5976
5976
  return n();
5977
5977
  },
@@ -6004,7 +6004,7 @@ function Up(t, e) {
6004
6004
  }
6005
6005
  });
6006
6006
  }
6007
- oe(
6007
+ le(
6008
6008
  Up,
6009
6009
  {
6010
6010
  color: {},
@@ -6158,7 +6158,7 @@ const fh = {
6158
6158
  /* Stili per la modale di ricerca documenti */.modal-overlay.svelte-zrlk2s {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center;z-index:1050;}.document-search-modal.svelte-zrlk2s {background:white;border-radius:12px;box-shadow:0 8px 32px rgba(0, 0, 0, 0.2);width:90%;max-width:500px;max-height:80vh;display:flex;flex-direction:column;}.modal-header.svelte-zrlk2s {display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e9ecef;}.modal-header.svelte-zrlk2s h5:where(.svelte-zrlk2s) {margin:0;font-weight:600;color:#295dcf;}.modal-body.svelte-zrlk2s {padding:20px;flex:1;overflow:hidden;display:flex;flex-direction:column;}.search-container.svelte-zrlk2s {margin-bottom:20px;}.documents-container.svelte-zrlk2s {flex:1;overflow:hidden;display:flex;flex-direction:column;}.documents-list.svelte-zrlk2s {overflow-y:auto;max-height:300px;border:1px solid #e9ecef;border-radius:8px;}.document-item.svelte-zrlk2s {display:flex;align-items:flex-start;width:100%;padding:12px 15px;border:none;background:white;color:#333;cursor:pointer;transition:all 0.2s;border-bottom:1px solid #f0f0f0;text-align:left;}.document-item.svelte-zrlk2s:last-child {border-bottom:none;}.document-item.svelte-zrlk2s:hover {background:#f8f9fa;color:#295dcf;}.document-icon.svelte-zrlk2s {margin-right:12px;color:#6c757d;width:20px;flex-shrink:0;margin-top:2px;}.document-title.svelte-zrlk2s {font-weight:500;margin-bottom:4px;word-wrap:break-word;}.document-path.svelte-zrlk2s {font-size:0.85em;color:#6c757d;word-wrap:break-word;}.input-group-text.svelte-zrlk2s {background:#f8f9fa;border-color:#e9ecef;color:#6c757d;}.document-item.selected.svelte-zrlk2s {background:#e7f3ff;border-left:3px solid #295dcf;}.document-item.selected.svelte-zrlk2s:hover {background:#d0e8ff;}.selected-indicator.svelte-zrlk2s {margin-left:auto;color:#28a745;font-size:1.2em;display:flex;align-items:center;}`
6159
6159
  };
6160
6160
  function qi(t, e) {
6161
- ae(e, !0), de(t, fh);
6161
+ ie(e, !0), de(t, fh);
6162
6162
  let n = g(e, "attachments", 15), r = g(e, "showDocumentSearchModal", 15), s = g(e, "modeSelected", 15);
6163
6163
  const a = { default: 3, gendoc: 1, transcriptions: 1 }, i = 3;
6164
6164
  let o = /* @__PURE__ */ Ze(() => rr(s())), c = Y(C([])), l = Y(C([])), u = Y(C([])), f = Y(C([])), p = Y(!1), h = Y(""), w = /* @__PURE__ */ Ze(() => s() === "normative" || s() === "suite" ? d(l) : s() === "gendoc" ? d(u) : s() === "transcriptions" ? d(f) : d(c));
@@ -6194,19 +6194,19 @@ function qi(t, e) {
6194
6194
  isCommon: !0
6195
6195
  };
6196
6196
  throw new Error("Unknown document type");
6197
- }, T = (R) => {
6197
+ }, $ = (R) => {
6198
6198
  if (k(R))
6199
6199
  return;
6200
- const ee = R instanceof gn || R instanceof cn ? a.gendoc : a.default;
6201
- b(ee) && n(n()[R._id] = _(R), !0);
6202
- }, A = async (R, ee, Le, Pe) => {
6200
+ const K = R instanceof gn || R instanceof cn ? a.gendoc : a.default;
6201
+ b(K) && n(n()[R._id] = _(R), !0);
6202
+ }, A = async (R, K, Le, Pe) => {
6203
6203
  if (R.length < i) {
6204
6204
  Le([]);
6205
6205
  return;
6206
6206
  }
6207
6207
  m(p, !0);
6208
6208
  try {
6209
- const Ye = await ee();
6209
+ const Ye = await K();
6210
6210
  Le(Ye);
6211
6211
  } catch (Ye) {
6212
6212
  console.error(Pe, Ye), Le([]);
@@ -6214,7 +6214,7 @@ function qi(t, e) {
6214
6214
  m(p, !1);
6215
6215
  }
6216
6216
  };
6217
- var $ = dh(), L = z($), D = z(L), M = z(D), G = z(M);
6217
+ var S = dh(), L = T(S), D = T(L), M = T(D), G = T(M);
6218
6218
  y(M);
6219
6219
  var ge = O(M, 2);
6220
6220
  ge.__click = [
@@ -6223,8 +6223,8 @@ function qi(t, e) {
6223
6223
  h,
6224
6224
  x
6225
6225
  ], y(D);
6226
- var nt = O(D, 2), Ae = z(nt), $e = z(Ae), se = O(z($e), 2);
6227
- Rl(se), se.__input = [
6226
+ var tt = O(D, 2), Ee = T(tt), Ce = T(Ee), ae = O(T(Ce), 2);
6227
+ Rl(ae), ae.__input = [
6228
6228
  nh,
6229
6229
  h,
6230
6230
  A,
@@ -6233,141 +6233,141 @@ function qi(t, e) {
6233
6233
  u,
6234
6234
  f,
6235
6235
  c
6236
- ], y($e), y(Ae);
6237
- var Xe = O(Ae, 2), Qe = z(Xe);
6236
+ ], y(Ce), y(Ee);
6237
+ var Xe = O(Ee, 2), Qe = T(Xe);
6238
6238
  {
6239
- var lt = (R) => {
6240
- var ee = rh(), Le = z(ee);
6241
- Cr(Le, { size: "30", color: "#295dcf" });
6242
- var Pe = O(Le, 2), Ye = z(Pe, !0);
6243
- y(Pe), y(ee), P((Me) => Te(Ye, Me), [() => /* @__PURE__ */ ad()]), S(R, ee);
6239
+ var ct = (R) => {
6240
+ var K = rh(), Le = T(K);
6241
+ Er(Le, { size: "30", color: "#295dcf" });
6242
+ var Pe = O(Le, 2), Ye = T(Pe, !0);
6243
+ y(Pe), y(K), P((Oe) => Se(Ye, Oe), [() => /* @__PURE__ */ ad()]), E(R, K);
6244
6244
  }, ft = (R) => {
6245
- var ee = yt(), Le = it(ee);
6245
+ var K = yt(), Le = ot(K);
6246
6246
  {
6247
- var Pe = (Me) => {
6248
- var Ne = sh(), Ge = O(z(Ne), 2), ke = z(Ge, !0);
6249
- y(Ge), y(Ne), P((W) => Te(ke, W), [() => /* @__PURE__ */ id()]), S(Me, Ne);
6250
- }, Ye = (Me) => {
6251
- var Ne = yt(), Ge = it(Ne);
6247
+ var Pe = (Oe) => {
6248
+ var Me = sh(), Ge = O(T(Me), 2), ke = T(Ge, !0);
6249
+ y(Ge), y(Me), P((W) => Se(ke, W), [() => /* @__PURE__ */ id()]), E(Oe, Me);
6250
+ }, Ye = (Oe) => {
6251
+ var Me = yt(), Ge = ot(Me);
6252
6252
  {
6253
- var ke = (Se) => {
6254
- var le = ah(), j = O(z(le), 2), H = z(j);
6253
+ var ke = (Ie) => {
6254
+ var ce = ah(), j = O(T(ce), 2), H = T(j);
6255
6255
  {
6256
6256
  var re = (je) => {
6257
- var qe = or();
6258
- P((Fe) => Te(qe, Fe), [() => /* @__PURE__ */ od()]), S(je, qe);
6257
+ var Ue = or();
6258
+ P((Re) => Se(Ue, Re), [() => /* @__PURE__ */ od()]), E(je, Ue);
6259
6259
  }, ye = (je) => {
6260
- var qe = yt(), Fe = it(qe);
6260
+ var Ue = yt(), Re = ot(Ue);
6261
6261
  {
6262
6262
  var fe = (N) => {
6263
6263
  var B = or();
6264
- P((te) => Te(B, te), [() => /* @__PURE__ */ md()]), S(N, B);
6264
+ P((te) => Se(B, te), [() => /* @__PURE__ */ md()]), E(N, B);
6265
6265
  }, Ve = (N) => {
6266
- var B = yt(), te = it(B);
6266
+ var B = yt(), te = ot(B);
6267
6267
  {
6268
- var V = (Q) => {
6269
- var Ce = or();
6270
- P((Ee) => Te(Ce, Ee), [() => /* @__PURE__ */ bd()]), S(Q, Ce);
6271
- }, J = (Q) => {
6272
- var Ce = or();
6273
- P((Ee) => Te(Ce, Ee), [() => /* @__PURE__ */ ws()]), S(Q, Ce);
6268
+ var Z = (V) => {
6269
+ var ze = or();
6270
+ P((Te) => Se(ze, Te), [() => /* @__PURE__ */ bd()]), E(V, ze);
6271
+ }, J = (V) => {
6272
+ var ze = or();
6273
+ P((Te) => Se(ze, Te), [() => /* @__PURE__ */ ws()]), E(V, ze);
6274
6274
  };
6275
6275
  X(
6276
6276
  te,
6277
- (Q) => {
6278
- s() === "transcriptions" ? Q(V) : Q(J, !1);
6277
+ (V) => {
6278
+ s() === "transcriptions" ? V(Z) : V(J, !1);
6279
6279
  },
6280
6280
  !0
6281
6281
  );
6282
6282
  }
6283
- S(N, B);
6283
+ E(N, B);
6284
6284
  };
6285
6285
  X(
6286
- Fe,
6286
+ Re,
6287
6287
  (N) => {
6288
6288
  s() === "gendoc" ? N(fe) : N(Ve, !1);
6289
6289
  },
6290
6290
  !0
6291
6291
  );
6292
6292
  }
6293
- S(je, qe);
6293
+ E(je, Ue);
6294
6294
  };
6295
6295
  X(H, (je) => {
6296
6296
  s() === "normative" || s() === "suite" ? je(re) : je(ye, !1);
6297
6297
  });
6298
6298
  }
6299
- y(j), y(le), S(Se, le);
6300
- }, W = (Se) => {
6301
- var le = uh();
6302
- at(le, 21, () => d(w), st, (j, H) => {
6299
+ y(j), y(ce), E(Ie, ce);
6300
+ }, W = (Ie) => {
6301
+ var ce = uh();
6302
+ st(ce, 21, () => d(w), rt, (j, H) => {
6303
6303
  var re = ch();
6304
- const ye = /* @__PURE__ */ Ze(() => Qp(d(H), d(o))), je = /* @__PURE__ */ Ze(() => Kp(d(H))), qe = /* @__PURE__ */ Ze(() => eh(d(H)));
6305
- re.__click = [ih, T, H];
6306
- var Fe = z(re), fe = z(Fe);
6307
- y(Fe);
6308
- var Ve = O(Fe, 2), N = z(Ve), B = z(N, !0);
6304
+ const ye = /* @__PURE__ */ Ze(() => Qp(d(H), d(o))), je = /* @__PURE__ */ Ze(() => Kp(d(H))), Ue = /* @__PURE__ */ Ze(() => eh(d(H)));
6305
+ re.__click = [ih, $, H];
6306
+ var Re = T(re), fe = T(Re);
6307
+ y(Re);
6308
+ var Ve = O(Re, 2), N = T(Ve), B = T(N, !0);
6309
6309
  y(N);
6310
6310
  var te = O(N, 2);
6311
6311
  {
6312
- var V = (Ce) => {
6313
- var Ee = oh(), rt = z(Ee, !0);
6314
- y(Ee), P(() => Te(rt, d(qe))), S(Ce, Ee);
6312
+ var Z = (ze) => {
6313
+ var Te = oh(), nt = T(Te, !0);
6314
+ y(Te), P(() => Se(nt, d(Ue))), E(ze, Te);
6315
6315
  };
6316
- X(te, (Ce) => {
6317
- d(qe) && Ce(V);
6316
+ X(te, (ze) => {
6317
+ d(Ue) && ze(Z);
6318
6318
  });
6319
6319
  }
6320
6320
  y(Ve);
6321
6321
  var J = O(Ve, 2);
6322
6322
  {
6323
- var Q = (Ce) => {
6324
- var Ee = lh();
6325
- S(Ce, Ee);
6323
+ var V = (ze) => {
6324
+ var Te = lh();
6325
+ E(ze, Te);
6326
6326
  };
6327
- X(J, (Ce) => {
6328
- n()[d(H)._id] && Ce(Q);
6327
+ X(J, (ze) => {
6328
+ n()[d(H)._id] && ze(V);
6329
6329
  });
6330
6330
  }
6331
6331
  y(re), P(() => {
6332
- ce(re, "selected", n()[d(H)._id]), ut(fe, qr(d(ye).class), "svelte-zrlk2s"), q(fe, "style", `color: ${d(ye).color}`), Te(B, d(je));
6333
- }), S(j, re);
6334
- }), y(le), S(Se, le);
6332
+ ue(re, "selected", n()[d(H)._id]), ut(fe, qr(d(ye).class), "svelte-zrlk2s"), q(fe, "style", `color: ${d(ye).color}`), Se(B, d(je));
6333
+ }), E(j, re);
6334
+ }), y(ce), E(Ie, ce);
6335
6335
  };
6336
6336
  X(
6337
6337
  Ge,
6338
- (Se) => {
6339
- d(w).length === 0 ? Se(ke) : Se(W, !1);
6338
+ (Ie) => {
6339
+ d(w).length === 0 ? Ie(ke) : Ie(W, !1);
6340
6340
  },
6341
6341
  !0
6342
6342
  );
6343
6343
  }
6344
- S(Me, Ne);
6344
+ E(Oe, Me);
6345
6345
  };
6346
6346
  X(
6347
6347
  Le,
6348
- (Me) => {
6349
- d(h).length < i ? Me(Pe) : Me(Ye, !1);
6348
+ (Oe) => {
6349
+ d(h).length < i ? Oe(Pe) : Oe(Ye, !1);
6350
6350
  },
6351
6351
  !0
6352
6352
  );
6353
6353
  }
6354
- S(R, ee);
6354
+ E(R, K);
6355
6355
  };
6356
6356
  X(Qe, (R) => {
6357
- d(p) ? R(lt) : R(ft, !1);
6357
+ d(p) ? R(ct) : R(ft, !1);
6358
6358
  });
6359
6359
  }
6360
- return y(Xe), y(nt), y(L), y($), P(
6361
- (R, ee, Le) => {
6362
- Te(G, `${R ?? ""}
6363
- ${ee ?? ""}`), q(se, "placeholder", `${R ?? ""} ${Le ?? ""} (min 3 caratteri)...`), Dl(se, d(h));
6360
+ return y(Xe), y(tt), y(L), y(S), P(
6361
+ (R, K, Le) => {
6362
+ Se(G, `${R ?? ""}
6363
+ ${K ?? ""}`), q(ae, "placeholder", `${R ?? ""} ${Le ?? ""} (min 3 caratteri)...`), Dl(ae, d(h));
6364
6364
  },
6365
6365
  [
6366
6366
  () => /* @__PURE__ */ sd(),
6367
6367
  () => s() == "normative" || s() == "suite" ? d(o).name : s() == "transcriptions" ? "Meeting" : /* @__PURE__ */ _a(),
6368
6368
  () => s() == "normative" || s() == "suite" ? d(o).name : s() == "transcriptions" ? "Meeting" : /* @__PURE__ */ _a()
6369
6369
  ]
6370
- ), S(t, $), ie({
6370
+ ), E(t, S), oe({
6371
6371
  get attachments() {
6372
6372
  return n();
6373
6373
  },
@@ -6389,7 +6389,7 @@ function qi(t, e) {
6389
6389
  });
6390
6390
  }
6391
6391
  un(["click", "input"]);
6392
- oe(
6392
+ le(
6393
6393
  qi,
6394
6394
  {
6395
6395
  attachments: {},
@@ -6610,10 +6610,10 @@ const gh = async (t) => {
6610
6610
  e(r.value), n({});
6611
6611
  }, Sh = (t, e) => {
6612
6612
  m(e, !d(e));
6613
- }, Ch = (t, e, n) => {
6613
+ }, Eh = (t, e, n) => {
6614
6614
  m(e, !1), m(n, !0);
6615
6615
  };
6616
- var Eh = /* @__PURE__ */ F('<div class="chat-blocked-message svelte-1v0h2p0"><i class="fa-solid fa-clock-rotate-left svelte-1v0h2p0"></i> <span class="svelte-1v0h2p0"> </span></div>'), Ih = /* @__PURE__ */ F('<div class="dropdown-content svelte-1v0h2p0"><button><i class="fa-solid fa-file-circle-plus svelte-1v0h2p0"></i> <span class="svelte-1v0h2p0"> </span></button> <button><i class="fa-solid fa-upload svelte-1v0h2p0"></i> <span class="svelte-1v0h2p0"> </span></button></div>'), Ah = /* @__PURE__ */ F('<option class="svelte-1v0h2p0">Generatore di Normative</option>'), Lh = /* @__PURE__ */ F('<div class="attachment-title noopen-file-button svelte-1v0h2p0"> </div>'), Fh = (t, e, n, r, s) => e(n(), r(), s()), Rh = /* @__PURE__ */ F('<button class="attachment-title open-file-button svelte-1v0h2p0"> </button>'), Dh = (t, e, n, r, s) => e(n(), r(), s()), jh = /* @__PURE__ */ F('<div><i></i> <!> <button aria-label="Remove attachment"><i class="fa-solid fa-xmark svelte-1v0h2p0"></i></button></div>'), Ph = /* @__PURE__ */ F('<button class="btn send-button stop-recording-btn svelte-1v0h2p0" aria-label="Stop recording"><i class="fa-solid fa-stop svelte-1v0h2p0"></i></button>'), Oh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer svelte-1v0h2p0" aria-label="Synthesizing" disabled><!></button>'), Mh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer svelte-1v0h2p0" aria-label="Start recording"><i class="fa-solid fa-microphone svelte-1v0h2p0"></i></button>'), Nh = /* @__PURE__ */ F('<button class="btn send-button stop-stream-btn svelte-1v0h2p0" aria-label="Stop message"><i class="fa-solid fa-stop svelte-1v0h2p0"></i></button>'), Uh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer svelte-1v0h2p0" aria-label="Loading" disabled><!></button>'), qh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer send-message-btn svelte-1v0h2p0" aria-label="Send message"><i class="fa-solid fa-paper-plane svelte-1v0h2p0"></i></button>'), Bh = /* @__PURE__ */ F('<div class="top svelte-1v0h2p0"><textarea style="color: black !important;" class="form-control form-control-sm svelte-1v0h2p0" rows="2"></textarea></div> <div class="bottom svelte-1v0h2p0"><div class="controls-row svelte-1v0h2p0"><div class="plus-button-container svelte-1v0h2p0"><button><i></i></button> <!></div> <select class="mode-select svelte-1v0h2p0" aria-label="Select mode"><option class="svelte-1v0h2p0">Auto</option><option class="svelte-1v0h2p0">Manuale Suite</option><option class="svelte-1v0h2p0"> </option><option class="svelte-1v0h2p0">Knowledge Base</option><option class="svelte-1v0h2p0">GenDoc</option><option class="svelte-1v0h2p0">Trascrizioni</option><!><option class="svelte-1v0h2p0">Agente Suite</option></select> <div class="attachments-container svelte-1v0h2p0"></div> <div class="send-buttons svelte-1v0h2p0"><!> <!></div></div></div>', 1), Hh = /* @__PURE__ */ F('<div class="input svelte-1v0h2p0"><!></div> <!>', 1);
6616
+ var Ch = /* @__PURE__ */ F('<div class="chat-blocked-message svelte-1v0h2p0"><i class="fa-solid fa-clock-rotate-left svelte-1v0h2p0"></i> <span class="svelte-1v0h2p0"> </span></div>'), Ih = /* @__PURE__ */ F('<div class="dropdown-content svelte-1v0h2p0"><button><i class="fa-solid fa-file-circle-plus svelte-1v0h2p0"></i> <span class="svelte-1v0h2p0"> </span></button> <button><i class="fa-solid fa-upload svelte-1v0h2p0"></i> <span class="svelte-1v0h2p0"> </span></button></div>'), Ah = /* @__PURE__ */ F('<option class="svelte-1v0h2p0">Generatore di Normative</option>'), Lh = /* @__PURE__ */ F('<div class="attachment-title noopen-file-button svelte-1v0h2p0"> </div>'), Fh = (t, e, n, r, s) => e(n(), r(), s()), Rh = /* @__PURE__ */ F('<button class="attachment-title open-file-button svelte-1v0h2p0"> </button>'), Dh = (t, e, n, r, s) => e(n(), r(), s()), jh = /* @__PURE__ */ F('<div><i></i> <!> <button aria-label="Remove attachment"><i class="fa-solid fa-xmark svelte-1v0h2p0"></i></button></div>'), Ph = /* @__PURE__ */ F('<button class="btn send-button stop-recording-btn svelte-1v0h2p0" aria-label="Stop recording"><i class="fa-solid fa-stop svelte-1v0h2p0"></i></button>'), Oh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer svelte-1v0h2p0" aria-label="Synthesizing" disabled><!></button>'), Mh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer svelte-1v0h2p0" aria-label="Start recording"><i class="fa-solid fa-microphone svelte-1v0h2p0"></i></button>'), Nh = /* @__PURE__ */ F('<button class="btn send-button stop-stream-btn svelte-1v0h2p0" aria-label="Stop message"><i class="fa-solid fa-stop svelte-1v0h2p0"></i></button>'), Uh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer svelte-1v0h2p0" aria-label="Loading" disabled><!></button>'), qh = /* @__PURE__ */ F('<button class="btn send-button aks-btn-answer send-message-btn svelte-1v0h2p0" aria-label="Send message"><i class="fa-solid fa-paper-plane svelte-1v0h2p0"></i></button>'), Bh = /* @__PURE__ */ F('<div class="top svelte-1v0h2p0"><textarea style="color: black !important;" class="form-control form-control-sm svelte-1v0h2p0" rows="2"></textarea></div> <div class="bottom svelte-1v0h2p0"><div class="controls-row svelte-1v0h2p0"><div class="plus-button-container svelte-1v0h2p0"><button><i></i></button> <!></div> <select class="mode-select svelte-1v0h2p0" aria-label="Select mode"><option class="svelte-1v0h2p0">Auto</option><option class="svelte-1v0h2p0">Manuale Suite</option><option class="svelte-1v0h2p0"> </option><option class="svelte-1v0h2p0">Knowledge Base</option><option class="svelte-1v0h2p0">GenDoc</option><option class="svelte-1v0h2p0">Trascrizioni</option><!><option class="svelte-1v0h2p0">Agente Suite</option></select> <div class="attachments-container svelte-1v0h2p0"></div> <div class="send-buttons svelte-1v0h2p0"><!> <!></div></div></div>', 1), Hh = /* @__PURE__ */ F('<div class="input svelte-1v0h2p0"><!></div> <!>', 1);
6617
6617
  const Yh = {
6618
6618
  hash: "svelte-1v0h2p0",
6619
6619
  code: `textarea.svelte-1v0h2p0 {border:none;overflow-y:auto;resize:none;transition:height 0.1s ease;max-height:120px; /* 5 righe circa */}.noopen-file-button.svelte-1v0h2p0 {background:none;border:none;padding:0;font-size:0.875rem;color:black;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left;min-width:0;}.open-file-button.svelte-1v0h2p0 {background:none;border:none;cursor:pointer;padding:0;font-size:0.875rem;color:white;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:left;min-width:0;}.open-file-button.svelte-1v0h2p0:hover {background-color:transparent;text-decoration:underline;}.mode-select.svelte-1v0h2p0 {flex-shrink:0;height:32px;padding:0 8px;border-radius:16px;border:2px solid #e9ecef;background-color:#f8f9fa;color:#295dcf;font-size:0.8rem;font-weight:500;cursor:pointer;transition:all 0.2s ease;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);outline:none;max-width:120px;}.mode-select.svelte-1v0h2p0:hover {background-color:#e9ecef;border-color:#295dcf;}.mode-select.svelte-1v0h2p0:focus {border-color:#295dcf;box-shadow:0 0 0 3px rgba(41, 93, 207, 0.1);}.plus-button-container.svelte-1v0h2p0 {position:relative;flex-shrink:0;}.plus-button.svelte-1v0h2p0 {display:flex;justify-content:center;align-items:center;padding:0;width:38px;height:38px;border-radius:50%;background-color:#f8f9fa;color:#295dcf;border:2px solid #e9ecef;transition:all 0.2s ease;font-size:1.1rem;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.plus-button.svelte-1v0h2p0:hover {background-color:#295dcf;color:white;border-color:#295dcf;transform:scale(1.05);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);}.plus-button.svelte-1v0h2p0:active {transform:scale(0.95);}.plus-button-active.svelte-1v0h2p0 {background-color:#295dcf;color:white;border-color:#295dcf;}.plus-button-active.svelte-1v0h2p0:hover {background-color:#1d4a9e;border-color:#1d4a9e;transform:scale(1.05);}.controls-row.svelte-1v0h2p0 {display:flex;align-items:center;width:100%;gap:5px;min-width:0;}.attachments-container.svelte-1v0h2p0 {display:flex;gap:5px;overflow-x:auto;min-width:0;flex:1;padding:2px 0;\r
@@ -6635,19 +6635,19 @@ const Yh = {
6635
6635
  }`
6636
6636
  };
6637
6637
  function Hi(t, e) {
6638
- ae(e, !0), de(t, Yh);
6639
- let n = g(e, "sendMessage", 7), r = g(e, "stopMessage", 7), s = g(e, "loading", 15), a = g(e, "languageSelected", 15), i = g(e, "modeSelected", 15), o = g(e, "attachments", 15), c = g(e, "userLevel", 15), l = g(e, "uploadFiles", 7), u = g(e, "actChat", 15), f = g(e, "streamMessage", 15), p = g(e, "uploadingFileName", 15), h = g(e, "uploadProgress", 15), w = Y(""), x = Y(null), k, b = Y(C([])), _ = Y(!1), T = Y(!1), A = Y(!1), $ = Y(!1), L = Y(null), D = /* @__PURE__ */ Ze(() => rr(i()));
6638
+ ie(e, !0), de(t, Yh);
6639
+ let n = g(e, "sendMessage", 7), r = g(e, "stopMessage", 7), s = g(e, "loading", 15), a = g(e, "languageSelected", 15), i = g(e, "modeSelected", 15), o = g(e, "attachments", 15), c = g(e, "userLevel", 15), l = g(e, "uploadFiles", 7), u = g(e, "actChat", 15), f = g(e, "streamMessage", 15), p = g(e, "uploadingFileName", 15), h = g(e, "uploadProgress", 15), w = Y(""), x = Y(null), k, b = Y(C([])), _ = Y(!1), $ = Y(!1), A = Y(!1), S = Y(!1), L = Y(null), D = /* @__PURE__ */ Ze(() => rr(i()));
6640
6640
  const M = 20, G = 5, ge = 0.5;
6641
- function nt(j, H) {
6641
+ function tt(j, H) {
6642
6642
  return j ? i() === "normative" || i() === "suite" ? d(D).name : "" : H;
6643
6643
  }
6644
- function Ae() {
6644
+ function Ee() {
6645
6645
  m(w, ""), o({}), d(x) && (d(x).style.height = "auto");
6646
6646
  }
6647
- function $e() {
6647
+ function Ce() {
6648
6648
  k != null && k.stream && k.stream.getTracks().forEach((j) => j.stop());
6649
6649
  }
6650
- const se = () => {
6650
+ const ae = () => {
6651
6651
  if (!d(x)) return;
6652
6652
  d(x).style.height = "auto";
6653
6653
  const j = d(x).scrollHeight, H = M * G;
@@ -6661,40 +6661,40 @@ function Hi(t, e) {
6661
6661
  behavior: "smooth"
6662
6662
  });
6663
6663
  }, Qe = () => {
6664
- s() || !d(w).trim() || (n()(d(w), i()), Ae());
6665
- }, lt = async () => {
6664
+ s() || !d(w).trim() || (n()(d(w), i()), Ee());
6665
+ }, ct = async () => {
6666
6666
  if (!s())
6667
6667
  try {
6668
6668
  const j = await navigator.mediaDevices.getUserMedia({ audio: !0 });
6669
6669
  k = new MediaRecorder(j, { mimeType: "audio/webm" }), k.ondataavailable = (H) => {
6670
6670
  H.data.size > 0 && d(b).push(H.data);
6671
6671
  }, k.onstop = async () => {
6672
- m(T, !0);
6672
+ m($, !0);
6673
6673
  const H = new Blob(d(b), { type: "audio/webm" });
6674
6674
  try {
6675
6675
  const re = await Us.getText(H, a());
6676
6676
  re && (m(w, C(re)), Qe());
6677
6677
  } finally {
6678
- m(T, !1);
6678
+ m($, !1);
6679
6679
  }
6680
6680
  }, m(_, !0), k.start();
6681
6681
  } catch (j) {
6682
6682
  console.error("Failed to start recording:", j);
6683
6683
  }
6684
6684
  }, ft = () => {
6685
- k && (k.stop(), $e(), m(_, !1), m(b, C([])));
6685
+ k && (k.stop(), Ce(), m(_, !1), m(b, C([])));
6686
6686
  }, R = () => {
6687
6687
  m(A, !1);
6688
6688
  const j = document.createElement("input");
6689
6689
  j.type = "file", j.multiple = !1, j.onchange = async (H) => {
6690
- var ye, je, qe;
6690
+ var ye, je, Ue;
6691
6691
  const re = H.target;
6692
6692
  if (re.files && re.files.length > 0) {
6693
- const Fe = Array.from(re.files);
6693
+ const Re = Array.from(re.files);
6694
6694
  let fe = null;
6695
6695
  const Ve = !!((je = (ye = u()) == null ? void 0 : ye.state.info) != null && je.find((N) => N.key === "CLOUDSTORAGE_FILE_UPLOADED"));
6696
6696
  try {
6697
- for (const N of Fe) {
6697
+ for (const N of Re) {
6698
6698
  p(N.name), h(0);
6699
6699
  let B = 0, te = 0;
6700
6700
  fe = setInterval(
@@ -6703,24 +6703,24 @@ function Hi(t, e) {
6703
6703
  },
6704
6704
  300
6705
6705
  );
6706
- const V = await l()(N, fe, (Q) => {
6707
- te = Q, Q > 50 && fe && (clearInterval(fe), fe = null, h(75 + Q * 0.25));
6706
+ const Z = await l()(N, fe, (V) => {
6707
+ te = V, V > 50 && fe && (clearInterval(fe), fe = null, h(75 + V * 0.25));
6708
6708
  });
6709
6709
  fe && (clearInterval(fe), fe = null), p(""), h(0);
6710
6710
  let J = {
6711
- id: V.fileId,
6711
+ id: Z.fileId,
6712
6712
  filename: N.name,
6713
6713
  suiteUrl: window.location.origin
6714
6714
  };
6715
- if ((qe = u()) != null && qe.state.info) {
6716
- let Q = !1;
6717
- !Ve && Fe.indexOf(N) === Fe.length - 1 && (Q = !0), u().state.info.push({
6715
+ if ((Ue = u()) != null && Ue.state.info) {
6716
+ let V = !1;
6717
+ !Ve && Re.indexOf(N) === Re.length - 1 && (V = !0), u().state.info.push({
6718
6718
  key: "CLOUDSTORAGE_FILE_UPLOADED",
6719
6719
  value: JSON.stringify(J)
6720
6720
  }), u().state.info.push({
6721
6721
  key: "AI_FILE_ID",
6722
- value: V.aiFileId
6723
- }), Q && n()("", "__file_uploaded__");
6722
+ value: Z.aiFileId
6723
+ }), V && n()("", "__file_uploaded__");
6724
6724
  }
6725
6725
  }
6726
6726
  } catch (N) {
@@ -6728,7 +6728,7 @@ function Hi(t, e) {
6728
6728
  }
6729
6729
  }
6730
6730
  }, j.click();
6731
- }, ee = (j, H, re) => {
6731
+ }, K = (j, H, re) => {
6732
6732
  delete o()[j], re && _t.deleteFile(re, H);
6733
6733
  }, Le = async (j, H, re) => {
6734
6734
  await kt.getDocumentPage(j, H, re);
@@ -6745,38 +6745,38 @@ function Hi(t, e) {
6745
6745
  "suite_agent"
6746
6746
  ];
6747
6747
  Ft(() => {
6748
- d(w) !== void 0 && se();
6748
+ d(w) !== void 0 && ae();
6749
6749
  });
6750
- var Me = Hh(), Ne = it(Me), Ge = z(Ne);
6750
+ var Oe = Hh(), Me = ot(Oe), Ge = T(Me);
6751
6751
  {
6752
6752
  var ke = (j) => {
6753
- var H = Eh(), re = O(z(H), 2), ye = z(re, !0);
6754
- y(re), y(H), P((je) => Te(ye, je), [() => /* @__PURE__ */ _d()]), S(j, H);
6753
+ var H = Ch(), re = O(T(H), 2), ye = T(re, !0);
6754
+ y(re), y(H), P((je) => Se(ye, je), [() => /* @__PURE__ */ _d()]), E(j, H);
6755
6755
  }, W = (j) => {
6756
- var H = Bh(), re = it(H), ye = z(re);
6757
- $l(ye), ye.__input = se, bs(ye, (E) => m(x, E), () => d(x)), y(re);
6758
- var je = O(re, 2), qe = z(je), Fe = z(qe), fe = z(Fe);
6756
+ var H = Bh(), re = ot(H), ye = T(re);
6757
+ $l(ye), ye.__input = ae, bs(ye, (z) => m(x, z), () => d(x)), y(re);
6758
+ var je = O(re, 2), Ue = T(je), Re = T(Ue), fe = T(Re);
6759
6759
  fe.__click = [Sh, A];
6760
- var Ve = z(fe);
6760
+ var Ve = T(fe);
6761
6761
  y(fe);
6762
6762
  var N = O(fe, 2);
6763
6763
  {
6764
- var B = (E) => {
6765
- var ne = Ih(), be = z(ne);
6764
+ var B = (z) => {
6765
+ var ne = Ih(), be = T(ne);
6766
6766
  be.__click = [
6767
- Ch,
6767
+ Eh,
6768
6768
  A,
6769
- $
6769
+ S
6770
6770
  ];
6771
- var Be = O(z(be), 2), dn = z(Be);
6771
+ var Be = O(T(be), 2), dn = T(Be);
6772
6772
  y(Be), y(be);
6773
6773
  var He = O(be, 2);
6774
6774
  He.__click = R;
6775
- var Ue = O(z(He), 2), pt = z(Ue, !0);
6776
- y(Ue), y(He), y(ne), P(
6775
+ var Ne = O(T(He), 2), pt = T(Ne, !0);
6776
+ y(Ne), y(He), y(ne), P(
6777
6777
  (Ht, Pn, ar, Zr, Vr, ir, jt) => {
6778
- ut(be, `${Ht ?? ""} svelte-1v0h2p0`), be.disabled = Pn, Te(dn, `${ar ?? ""}
6779
- ${Zr ?? ""}`), ut(He, `${Vr ?? ""} svelte-1v0h2p0`), He.disabled = ir, Te(pt, jt);
6778
+ ut(be, `${Ht ?? ""} svelte-1v0h2p0`), be.disabled = Pn, Se(dn, `${ar ?? ""}
6779
+ ${Zr ?? ""}`), ut(He, `${Vr ?? ""} svelte-1v0h2p0`), He.disabled = ir, Se(pt, jt);
6780
6780
  },
6781
6781
  [
6782
6782
  () => `dropdown-option ${Pe.includes(i()) ? "" : "option-disabled"}`,
@@ -6787,54 +6787,54 @@ function Hi(t, e) {
6787
6787
  () => !Ye.includes(i()),
6788
6788
  () => /* @__PURE__ */ Ju()
6789
6789
  ]
6790
- ), S(E, ne);
6790
+ ), E(z, ne);
6791
6791
  };
6792
- X(N, (E) => {
6793
- d(A) && E(B);
6792
+ X(N, (z) => {
6793
+ d(A) && z(B);
6794
6794
  });
6795
6795
  }
6796
- y(Fe);
6797
- var te = O(Fe, 2);
6796
+ y(Re);
6797
+ var te = O(Re, 2);
6798
6798
  te.__change = [$h, i, o];
6799
- var V = z(te);
6800
- V.value = (V.__value = "auto") == null ? "" : "auto";
6801
- var J = O(V);
6799
+ var Z = T(te);
6800
+ Z.value = (Z.__value = "auto") == null ? "" : "auto";
6801
+ var J = O(Z);
6802
6802
  J.value = (J.__value = "suite") == null ? "" : "suite";
6803
- var Q = O(J);
6804
- Q.value = (Q.__value = "normative") == null ? "" : "normative";
6805
- var Ce = z(Q, !0);
6806
- y(Q);
6807
- var Ee = O(Q);
6808
- Ee.value = (Ee.__value = "kb") == null ? "" : "kb";
6809
- var rt = O(Ee);
6810
- rt.value = (rt.__value = "gendoc") == null ? "" : "gendoc";
6811
- var pe = O(rt);
6803
+ var V = O(J);
6804
+ V.value = (V.__value = "normative") == null ? "" : "normative";
6805
+ var ze = T(V, !0);
6806
+ y(V);
6807
+ var Te = O(V);
6808
+ Te.value = (Te.__value = "kb") == null ? "" : "kb";
6809
+ var nt = O(Te);
6810
+ nt.value = (nt.__value = "gendoc") == null ? "" : "gendoc";
6811
+ var pe = O(nt);
6812
6812
  pe.value = (pe.__value = "transcriptions") == null ? "" : "transcriptions";
6813
- var ze = O(pe);
6813
+ var $e = O(pe);
6814
6814
  {
6815
- var Je = (E) => {
6815
+ var Je = (z) => {
6816
6816
  var ne = Ah();
6817
- ne.value = (ne.__value = "audit_handler") == null ? "" : "audit_handler", S(E, ne);
6817
+ ne.value = (ne.__value = "audit_handler") == null ? "" : "audit_handler", E(z, ne);
6818
6818
  };
6819
- X(ze, (E) => {
6820
- c() >= 50 && E(Je);
6819
+ X($e, (z) => {
6820
+ c() >= 50 && z(Je);
6821
6821
  });
6822
6822
  }
6823
- var Ke = O(ze);
6823
+ var Ke = O($e);
6824
6824
  Ke.value = (Ke.__value = "suite_agent") == null ? "" : "suite_agent", y(te);
6825
6825
  var me = O(te, 2);
6826
- at(me, 21, () => Object.entries(o()), st, (E, ne) => {
6827
- let be = () => d(ne)[0], Be = () => d(ne)[1].title, dn = () => d(ne)[1].ext_id, He = () => d(ne)[1].gendoc_id, Ue = () => d(ne)[1].storage_id, pt = () => d(ne)[1].isCommon;
6828
- var Ht = jh(), Pn = z(Ht), ar = O(Pn, 2);
6826
+ st(me, 21, () => Object.entries(o()), rt, (z, ne) => {
6827
+ let be = () => d(ne)[0], Be = () => d(ne)[1].title, dn = () => d(ne)[1].ext_id, He = () => d(ne)[1].gendoc_id, Ne = () => d(ne)[1].storage_id, pt = () => d(ne)[1].isCommon;
6828
+ var Ht = jh(), Pn = T(Ht), ar = O(Pn, 2);
6829
6829
  {
6830
6830
  var Zr = (jt) => {
6831
- var Lt = Lh(), On = z(Lt, !0);
6831
+ var Lt = Lh(), On = T(Lt, !0);
6832
6832
  y(Lt), P(
6833
6833
  (na) => {
6834
- q(Lt, "title", na), Te(On, na);
6834
+ q(Lt, "title", na), Se(On, na);
6835
6835
  },
6836
6836
  [() => Be().split(".")[0]]
6837
- ), S(jt, Lt);
6837
+ ), E(jt, Lt);
6838
6838
  }, Vr = (jt) => {
6839
6839
  var Lt = Rh();
6840
6840
  Lt.__click = [
@@ -6844,8 +6844,8 @@ function Hi(t, e) {
6844
6844
  Be,
6845
6845
  He
6846
6846
  ];
6847
- var On = z(Lt, !0);
6848
- y(Lt), P(() => Te(On, Be())), S(jt, Lt);
6847
+ var On = T(Lt, !0);
6848
+ y(Lt), P(() => Se(On, Be())), E(jt, Lt);
6849
6849
  };
6850
6850
  X(ar, (jt) => {
6851
6851
  pt() ? jt(Zr) : jt(Vr, !1);
@@ -6854,80 +6854,80 @@ function Hi(t, e) {
6854
6854
  var ir = O(ar, 2);
6855
6855
  ir.__click = [
6856
6856
  Dh,
6857
- ee,
6857
+ K,
6858
6858
  be,
6859
6859
  Be,
6860
- Ue
6860
+ Ne
6861
6861
  ], y(Ht), P(
6862
6862
  (jt, Lt, On) => {
6863
6863
  ut(Ht, `${`attachment-item ${pt() ? "common" : ""}` ?? ""} svelte-1v0h2p0`), q(Ht, "title", jt), ut(Pn, `${Lt ?? ""} svelte-1v0h2p0`), q(Pn, "style", On), ut(ir, `${`remove-btn ${pt() ? "common" : ""}` ?? ""} svelte-1v0h2p0`);
6864
6864
  },
6865
6865
  [
6866
- () => nt(pt() ?? !1, Be()),
6866
+ () => tt(pt() ?? !1, Be()),
6867
6867
  () => `fa-solid ${hh(Be())}`,
6868
6868
  () => Be().toLowerCase().endsWith(".tldv") ? "color: #1d1dff" : ""
6869
6869
  ]
6870
- ), S(E, Ht);
6871
- }), y(me), bs(me, (E) => m(L, E), () => d(L));
6872
- var Oe = O(me, 2), We = z(Oe);
6870
+ ), E(z, Ht);
6871
+ }), y(me), bs(me, (z) => m(L, z), () => d(L));
6872
+ var We = O(me, 2), qe = T(We);
6873
6873
  {
6874
- var ct = (E) => {
6874
+ var at = (z) => {
6875
6875
  var ne = Ph();
6876
- ne.__click = ft, P((be) => q(ne, "title", be), [() => /* @__PURE__ */ Zu()]), S(E, ne);
6877
- }, Z = (E) => {
6878
- var ne = yt(), be = it(ne);
6876
+ ne.__click = ft, P((be) => q(ne, "title", be), [() => /* @__PURE__ */ Zu()]), E(z, ne);
6877
+ }, se = (z) => {
6878
+ var ne = yt(), be = ot(ne);
6879
6879
  {
6880
6880
  var Be = (He) => {
6881
- var Ue = Oh(), pt = z(Ue);
6882
- Cr(pt, { size: "20", color: "white" }), y(Ue), S(He, Ue);
6881
+ var Ne = Oh(), pt = T(Ne);
6882
+ Er(pt, { size: "20", color: "white" }), y(Ne), E(He, Ne);
6883
6883
  }, dn = (He) => {
6884
- var Ue = Mh();
6885
- Ue.__click = lt, P(
6884
+ var Ne = Mh();
6885
+ Ne.__click = ct, P(
6886
6886
  (pt) => {
6887
- q(Ue, "title", pt), Ue.disabled = s();
6887
+ q(Ne, "title", pt), Ne.disabled = s();
6888
6888
  },
6889
6889
  [() => /* @__PURE__ */ Vu()]
6890
- ), S(He, Ue);
6890
+ ), E(He, Ne);
6891
6891
  };
6892
6892
  X(
6893
6893
  be,
6894
6894
  (He) => {
6895
- d(T) ? He(Be) : He(dn, !1);
6895
+ d($) ? He(Be) : He(dn, !1);
6896
6896
  },
6897
6897
  !0
6898
6898
  );
6899
6899
  }
6900
- S(E, ne);
6900
+ E(z, ne);
6901
6901
  };
6902
- X(We, (E) => {
6903
- d(_) ? E(ct) : E(Z, !1);
6902
+ X(qe, (z) => {
6903
+ d(_) ? z(at) : z(se, !1);
6904
6904
  });
6905
6905
  }
6906
- var ue = O(We, 2);
6906
+ var ee = O(qe, 2);
6907
6907
  {
6908
- var Re = (E) => {
6908
+ var Fe = (z) => {
6909
6909
  var ne = Nh();
6910
6910
  ne.__click = function(...be) {
6911
6911
  var Be;
6912
6912
  (Be = r()) == null || Be.apply(this, be);
6913
- }, P((be) => q(ne, "title", be), [() => /* @__PURE__ */ pd()]), S(E, ne);
6914
- }, et = (E) => {
6915
- var ne = yt(), be = it(ne);
6913
+ }, P((be) => q(ne, "title", be), [() => /* @__PURE__ */ pd()]), E(z, ne);
6914
+ }, it = (z) => {
6915
+ var ne = yt(), be = ot(ne);
6916
6916
  {
6917
6917
  var Be = (He) => {
6918
- var Ue = Uh(), pt = z(Ue);
6919
- Cr(pt, { size: "20", color: "white" }), y(Ue), S(He, Ue);
6918
+ var Ne = Uh(), pt = T(Ne);
6919
+ Er(pt, { size: "20", color: "white" }), y(Ne), E(He, Ne);
6920
6920
  }, dn = (He) => {
6921
- var Ue = qh();
6922
- Ue.__click = Qe, P(
6921
+ var Ne = qh();
6922
+ Ne.__click = Qe, P(
6923
6923
  (pt, Ht) => {
6924
- q(Ue, "title", pt), Ue.disabled = Ht;
6924
+ q(Ne, "title", pt), Ne.disabled = Ht;
6925
6925
  },
6926
6926
  [
6927
6927
  () => /* @__PURE__ */ Xu(),
6928
6928
  () => !d(w).trim()
6929
6929
  ]
6930
- ), S(He, Ue);
6930
+ ), E(He, Ne);
6931
6931
  };
6932
6932
  X(
6933
6933
  be,
@@ -6937,34 +6937,34 @@ function Hi(t, e) {
6937
6937
  !0
6938
6938
  );
6939
6939
  }
6940
- S(E, ne);
6940
+ E(z, ne);
6941
6941
  };
6942
- X(ue, (E) => {
6943
- s() && f() ? E(Re) : E(et, !1);
6942
+ X(ee, (z) => {
6943
+ s() && f() ? z(Fe) : z(it, !1);
6944
6944
  });
6945
6945
  }
6946
- y(Oe), y(qe), y(je), P(
6947
- (E, ne, be) => {
6948
- q(ye, "placeholder", E), ut(fe, `${`btn plus-button ${d(A) ? "plus-button-active" : ""}` ?? ""} svelte-1v0h2p0`), q(fe, "aria-label", ne), q(fe, "title", ne), ut(Ve, `${`fa-solid ${d(A) ? "fa-xmark" : "fa-plus"}` ?? ""} svelte-1v0h2p0`), Te(Ce, be);
6946
+ y(We), y(Ue), y(je), P(
6947
+ (z, ne, be) => {
6948
+ q(ye, "placeholder", z), ut(fe, `${`btn plus-button ${d(A) ? "plus-button-active" : ""}` ?? ""} svelte-1v0h2p0`), q(fe, "aria-label", ne), q(fe, "title", ne), ut(Ve, `${`fa-solid ${d(A) ? "fa-xmark" : "fa-plus"}` ?? ""} svelte-1v0h2p0`), Se(ze, be);
6949
6949
  },
6950
6950
  [
6951
6951
  () => /* @__PURE__ */ qu(),
6952
6952
  () => /* @__PURE__ */ Bu(),
6953
6953
  () => /* @__PURE__ */ Hu()
6954
6954
  ]
6955
- ), en("keypress", ye, (E) => {
6956
- E.key === "Enter" && !E.shiftKey && (E.preventDefault(), Qe());
6957
- }), ql(ye, () => d(w), (E) => m(w, E)), Fi(te, i), en("wheel", me, Xe), S(j, H);
6955
+ ), en("keypress", ye, (z) => {
6956
+ z.key === "Enter" && !z.shiftKey && (z.preventDefault(), Qe());
6957
+ }), ql(ye, () => d(w), (z) => m(w, z)), Fi(te, i), en("wheel", me, Xe), E(j, H);
6958
6958
  };
6959
6959
  X(Ge, (j) => {
6960
6960
  var H;
6961
6961
  (H = u()) != null && H.state.blockChat ? j(ke) : j(W, !1);
6962
6962
  });
6963
6963
  }
6964
- y(Ne);
6965
- var Se = O(Ne, 2);
6964
+ y(Me);
6965
+ var Ie = O(Me, 2);
6966
6966
  {
6967
- var le = (j) => {
6967
+ var ce = (j) => {
6968
6968
  qi(j, {
6969
6969
  get attachments() {
6970
6970
  return o();
@@ -6973,10 +6973,10 @@ function Hi(t, e) {
6973
6973
  o(H);
6974
6974
  },
6975
6975
  get showDocumentSearchModal() {
6976
- return d($);
6976
+ return d(S);
6977
6977
  },
6978
6978
  set showDocumentSearchModal(H) {
6979
- m($, C(H));
6979
+ m(S, C(H));
6980
6980
  },
6981
6981
  get modeSelected() {
6982
6982
  return i();
@@ -6986,11 +6986,11 @@ function Hi(t, e) {
6986
6986
  }
6987
6987
  });
6988
6988
  };
6989
- X(Se, (j) => {
6990
- d($) && j(le);
6989
+ X(Ie, (j) => {
6990
+ d(S) && j(ce);
6991
6991
  });
6992
6992
  }
6993
- return Rt(3, Ne, () => tn, () => ({ duration: 300, delay: 200 })), S(t, Me), ie({
6993
+ return Rt(3, Me, () => tn, () => ({ duration: 300, delay: 200 })), E(t, Oe), oe({
6994
6994
  get sendMessage() {
6995
6995
  return n();
6996
6996
  },
@@ -7066,7 +7066,7 @@ function Hi(t, e) {
7066
7066
  });
7067
7067
  }
7068
7068
  un(["input", "click", "change"]);
7069
- oe(
7069
+ le(
7070
7070
  Hi,
7071
7071
  {
7072
7072
  sendMessage: {},
@@ -7131,13 +7131,13 @@ const Yi = /^[a-z0-9]+(-[a-z0-9]+)*$/, Yr = (t, e, n, r = "") => {
7131
7131
  width: 16,
7132
7132
  height: 16
7133
7133
  }
7134
- ), Er = Object.freeze({
7134
+ ), Cr = Object.freeze({
7135
7135
  rotate: 0,
7136
7136
  vFlip: !1,
7137
7137
  hFlip: !1
7138
7138
  }), Gr = Object.freeze({
7139
7139
  ...Gi,
7140
- ...Er
7140
+ ...Cr
7141
7141
  }), xs = Object.freeze({
7142
7142
  ...Gr,
7143
7143
  body: "",
@@ -7152,7 +7152,7 @@ function Gh(t, e) {
7152
7152
  function Ta(t, e) {
7153
7153
  const n = Gh(t, e);
7154
7154
  for (const r in xs)
7155
- r in Er ? r in t && !(r in n) && (n[r] = Er[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
7155
+ r in Cr ? r in t && !(r in n) && (n[r] = Cr[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
7156
7156
  return n;
7157
7157
  }
7158
7158
  function Jh(t, e) {
@@ -7251,7 +7251,7 @@ function Vh(t, e) {
7251
7251
  missing: /* @__PURE__ */ new Set()
7252
7252
  };
7253
7253
  }
7254
- function En(t, e) {
7254
+ function Cn(t, e) {
7255
7255
  const n = $a[t] || ($a[t] = /* @__PURE__ */ Object.create(null));
7256
7256
  return n[e] || (n[e] = Vh(t, e));
7257
7257
  }
@@ -7275,7 +7275,7 @@ function Vi(t) {
7275
7275
  function Qh(t) {
7276
7276
  const e = typeof t == "string" ? Yr(t, !0, Qn) : t;
7277
7277
  if (e) {
7278
- const n = En(e.provider, e.prefix), r = e.name;
7278
+ const n = Cn(e.provider, e.prefix), r = e.name;
7279
7279
  return n.icons[r] || (n.missing.has(r) ? null : void 0);
7280
7280
  }
7281
7281
  }
@@ -7283,7 +7283,7 @@ function Kh(t, e) {
7283
7283
  const n = Yr(t, !0, Qn);
7284
7284
  if (!n)
7285
7285
  return !1;
7286
- const r = En(n.provider, n.prefix);
7286
+ const r = Cn(n.provider, n.prefix);
7287
7287
  return e ? Xh(r, n.name, e) : (r.missing.add(n.name), !0);
7288
7288
  }
7289
7289
  function ev(t, e) {
@@ -7302,7 +7302,7 @@ function ev(t, e) {
7302
7302
  name: "a"
7303
7303
  }))
7304
7304
  return !1;
7305
- const r = En(e, n);
7305
+ const r = Cn(e, n);
7306
7306
  return !!Zi(r, t);
7307
7307
  }
7308
7308
  const Xi = Object.freeze({
@@ -7312,7 +7312,7 @@ const Xi = Object.freeze({
7312
7312
  // Dimensions
7313
7313
  ...Xi,
7314
7314
  // Transformations
7315
- ...Er
7315
+ ...Cr
7316
7316
  }), tv = /(-?[0-9.]*[0-9]+[0-9.]*)/g, nv = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
7317
7317
  function Sa(t, e, n) {
7318
7318
  if (e === 1)
@@ -7378,14 +7378,14 @@ function ov(t, e) {
7378
7378
  let a = n.body;
7379
7379
  [n, r].forEach((x) => {
7380
7380
  const k = [], b = x.hFlip, _ = x.vFlip;
7381
- let T = x.rotate;
7382
- b ? _ ? T += 2 : (k.push(
7381
+ let $ = x.rotate;
7382
+ b ? _ ? $ += 2 : (k.push(
7383
7383
  "translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
7384
7384
  ), k.push("scale(-1 1)"), s.top = s.left = 0) : _ && (k.push(
7385
7385
  "translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
7386
7386
  ), k.push("scale(1 -1)"), s.top = s.left = 0);
7387
7387
  let A;
7388
- switch (T < 0 && (T -= Math.floor(T / 4) * 4), T = T % 4, T) {
7388
+ switch ($ < 0 && ($ -= Math.floor($ / 4) * 4), $ = $ % 4, $) {
7389
7389
  case 1:
7390
7390
  A = s.height / 2 + s.top, k.unshift(
7391
7391
  "rotate(90 " + A.toString() + " " + A.toString() + ")"
@@ -7402,7 +7402,7 @@ function ov(t, e) {
7402
7402
  );
7403
7403
  break;
7404
7404
  }
7405
- T % 2 === 1 && (s.left !== s.top && (A = s.left, s.left = s.top, s.top = A), s.width !== s.height && (A = s.width, s.width = s.height, s.height = A)), k.length && (a = av(
7405
+ $ % 2 === 1 && (s.left !== s.top && (A = s.left, s.left = s.top, s.top = A), s.width !== s.height && (A = s.width, s.width = s.height, s.height = A)), k.length && (a = av(
7406
7406
  a,
7407
7407
  '<g transform="' + k.join(" ") + '">',
7408
7408
  "</g>"
@@ -7498,7 +7498,7 @@ const hv = () => {
7498
7498
  } catch {
7499
7499
  }
7500
7500
  };
7501
- let Ca = hv();
7501
+ let Ea = hv();
7502
7502
  function vv(t, e) {
7503
7503
  const n = Gs(t);
7504
7504
  if (!n)
@@ -7545,7 +7545,7 @@ function bv(t) {
7545
7545
  return "/";
7546
7546
  }
7547
7547
  const wv = (t, e, n) => {
7548
- if (!Ca) {
7548
+ if (!Ea) {
7549
7549
  n("abort", 424);
7550
7550
  return;
7551
7551
  }
@@ -7568,7 +7568,7 @@ const wv = (t, e, n) => {
7568
7568
  return;
7569
7569
  }
7570
7570
  let s = 503;
7571
- Ca(t + r).then((a) => {
7571
+ Ea(t + r).then((a) => {
7572
7572
  const i = a.status;
7573
7573
  if (i !== 200) {
7574
7574
  setTimeout(() => {
@@ -7610,7 +7610,7 @@ function _v(t) {
7610
7610
  if (r.name === s.name && r.prefix === s.prefix && r.provider === s.provider)
7611
7611
  return;
7612
7612
  r = s;
7613
- const a = s.provider, i = s.prefix, o = s.name, c = n[a] || (n[a] = /* @__PURE__ */ Object.create(null)), l = c[i] || (c[i] = En(a, i));
7613
+ const a = s.provider, i = s.prefix, o = s.name, c = n[a] || (n[a] = /* @__PURE__ */ Object.create(null)), l = c[i] || (c[i] = Cn(a, i));
7614
7614
  let u;
7615
7615
  o in l.icons ? u = e.loaded : i === "" || l.missing.has(o) ? u = e.missing : u = e.pending;
7616
7616
  const f = {
@@ -7737,7 +7737,7 @@ function Sv(t, e, n, r) {
7737
7737
  L(void 0, u);
7738
7738
  });
7739
7739
  }
7740
- function T() {
7740
+ function $() {
7741
7741
  p.forEach((L) => {
7742
7742
  L.status === "pending" && (L.status = "aborted");
7743
7743
  }), p = [];
@@ -7759,10 +7759,10 @@ function Sv(t, e, n, r) {
7759
7759
  return;
7760
7760
  }
7761
7761
  if (G) {
7762
- u = M, p.length || (i.length ? $() : _());
7762
+ u = M, p.length || (i.length ? S() : _());
7763
7763
  return;
7764
7764
  }
7765
- if (w(), T(), !t.random) {
7765
+ if (w(), $(), !t.random) {
7766
7766
  const ge = t.resources.indexOf(L.resource);
7767
7767
  ge !== -1 && ge !== t.index && (t.index = ge);
7768
7768
  }
@@ -7770,7 +7770,7 @@ function Sv(t, e, n, r) {
7770
7770
  ge(M);
7771
7771
  });
7772
7772
  }
7773
- function $() {
7773
+ function S() {
7774
7774
  if (c !== "pending")
7775
7775
  return;
7776
7776
  w();
@@ -7778,7 +7778,7 @@ function Sv(t, e, n, r) {
7778
7778
  if (L === void 0) {
7779
7779
  if (p.length) {
7780
7780
  f = setTimeout(() => {
7781
- w(), c === "pending" && (T(), _());
7781
+ w(), c === "pending" && ($(), _());
7782
7782
  }, t.timeout);
7783
7783
  return;
7784
7784
  }
@@ -7792,9 +7792,9 @@ function Sv(t, e, n, r) {
7792
7792
  A(D, M, G);
7793
7793
  }
7794
7794
  };
7795
- p.push(D), l++, f = setTimeout($, t.rotate), n(L, e, D.callback);
7795
+ p.push(D), l++, f = setTimeout(S, t.rotate), n(L, e, D.callback);
7796
7796
  }
7797
- return setTimeout($), b;
7797
+ return setTimeout(S), b;
7798
7798
  }
7799
7799
  function eo(t) {
7800
7800
  const e = {
@@ -7829,10 +7829,10 @@ function eo(t) {
7829
7829
  cleanup: r
7830
7830
  };
7831
7831
  }
7832
- function Ea() {
7832
+ function Ca() {
7833
7833
  }
7834
7834
  const as = /* @__PURE__ */ Object.create(null);
7835
- function Cv(t) {
7835
+ function Ev(t) {
7836
7836
  if (!as[t]) {
7837
7837
  const e = Gs(t);
7838
7838
  if (!e)
@@ -7845,14 +7845,14 @@ function Cv(t) {
7845
7845
  }
7846
7846
  return as[t];
7847
7847
  }
7848
- function Ev(t, e, n) {
7848
+ function Cv(t, e, n) {
7849
7849
  let r, s;
7850
7850
  if (typeof t == "string") {
7851
7851
  const a = ks(t);
7852
7852
  if (!a)
7853
- return n(void 0, 424), Ea;
7853
+ return n(void 0, 424), Ca;
7854
7854
  s = a.send;
7855
- const i = Cv(t);
7855
+ const i = Ev(t);
7856
7856
  i && (r = i.redundancy);
7857
7857
  } else {
7858
7858
  const a = Hs(t);
@@ -7862,7 +7862,7 @@ function Ev(t, e, n) {
7862
7862
  o && (s = o.send);
7863
7863
  }
7864
7864
  }
7865
- return !r || !s ? (n(void 0, 424), Ea) : r.query(e, s, n)().abort;
7865
+ return !r || !s ? (n(void 0, 424), Ca) : r.query(e, s, n)().abort;
7866
7866
  }
7867
7867
  function Ia() {
7868
7868
  }
@@ -7945,7 +7945,7 @@ function Lv(t, e) {
7945
7945
  return;
7946
7946
  }
7947
7947
  c.prepare(n, r, i).forEach((u) => {
7948
- Ev(n, u, (f) => {
7948
+ Cv(n, u, (f) => {
7949
7949
  Un(t, u.icons, f);
7950
7950
  });
7951
7951
  });
@@ -7972,11 +7972,11 @@ const Fv = (t, e) => {
7972
7972
  const { provider: l, prefix: u } = c;
7973
7973
  if (u === o && l === i)
7974
7974
  return;
7975
- i = l, o = u, a.push(En(l, u));
7975
+ i = l, o = u, a.push(Cn(l, u));
7976
7976
  const f = s[l] || (s[l] = /* @__PURE__ */ Object.create(null));
7977
7977
  f[u] || (f[u] = []);
7978
7978
  }), r.pending.forEach((c) => {
7979
- const { provider: l, prefix: u, name: f } = c, p = En(l, u), h = p.pendingIcons || (p.pendingIcons = /* @__PURE__ */ new Set());
7979
+ const { provider: l, prefix: u, name: f } = c, p = Cn(l, u), h = p.pendingIcons || (p.pendingIcons = /* @__PURE__ */ new Set());
7980
7980
  h.has(f) || (h.add(f), s[l][u].push(f));
7981
7981
  }), a.forEach((c) => {
7982
7982
  const l = s[c.provider][c.prefix];
@@ -8212,7 +8212,7 @@ function rn(t, e) {
8212
8212
  "$$legacy",
8213
8213
  "$$host"
8214
8214
  ]);
8215
- ae(e, !1);
8215
+ ie(e, !1);
8216
8216
  const r = Kt({
8217
8217
  // Last icon name
8218
8218
  name: "",
@@ -8240,34 +8240,34 @@ function rn(t, e) {
8240
8240
  m(i, h ? Da(h.data, n) : null), d(i) && h.classes && Kr(i, d(i).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
8241
8241
  }
8242
8242
  ), tr(), wt();
8243
- var l = yt(), u = it(l);
8243
+ var l = yt(), u = ot(l);
8244
8244
  {
8245
8245
  var f = (p) => {
8246
- var h = yt(), w = it(h);
8246
+ var h = yt(), w = ot(h);
8247
8247
  {
8248
8248
  var x = (b) => {
8249
8249
  var _ = Jv();
8250
- let T;
8251
- var A = z(_);
8252
- gs(A, () => d(i).body, !0, !1), y(_), P(() => T = fa(_, T, { ...d(i).attributes }, void 0, !0)), S(b, _);
8250
+ let $;
8251
+ var A = T(_);
8252
+ gs(A, () => d(i).body, !0, !1), y(_), P(() => $ = fa(_, $, { ...d(i).attributes }, void 0, !0)), E(b, _);
8253
8253
  }, k = (b) => {
8254
8254
  var _ = Wv();
8255
- let T;
8256
- P(() => T = fa(_, T, { ...d(i).attributes })), S(b, _);
8255
+ let $;
8256
+ P(() => $ = fa(_, $, { ...d(i).attributes })), E(b, _);
8257
8257
  };
8258
8258
  X(w, (b) => {
8259
8259
  d(i).svg ? b(x) : b(k, !1);
8260
8260
  });
8261
8261
  }
8262
- S(p, h);
8262
+ E(p, h);
8263
8263
  };
8264
8264
  X(u, (p) => {
8265
8265
  d(i) && p(f);
8266
8266
  });
8267
8267
  }
8268
- S(t, l), ie();
8268
+ E(t, l), oe();
8269
8269
  }
8270
- oe(rn, {}, [], [], !0);
8270
+ le(rn, {}, [], [], !0);
8271
8271
  function Js() {
8272
8272
  return {
8273
8273
  async: !1,
@@ -8481,7 +8481,7 @@ function Bn(t, e, n) {
8481
8481
  s++;
8482
8482
  return t.slice(0, r - s);
8483
8483
  }
8484
- function Cg(t, e) {
8484
+ function Eg(t, e) {
8485
8485
  if (t.indexOf(e[1]) === -1)
8486
8486
  return -1;
8487
8487
  let n = 0;
@@ -8516,7 +8516,7 @@ function Na(t, e, n, r, s) {
8516
8516
  text: o
8517
8517
  };
8518
8518
  }
8519
- function Eg(t, e, n) {
8519
+ function Cg(t, e, n) {
8520
8520
  const r = t.match(n.other.indentCodeCompensation);
8521
8521
  if (r === null)
8522
8522
  return e;
@@ -8564,7 +8564,7 @@ class Ar {
8564
8564
  fences(e) {
8565
8565
  const n = this.rules.block.fences.exec(e);
8566
8566
  if (n) {
8567
- const r = n[0], s = Eg(r, n[3] || "", this.rules);
8567
+ const r = n[0], s = Cg(r, n[3] || "", this.rules);
8568
8568
  return {
8569
8569
  type: "code",
8570
8570
  raw: r,
@@ -8678,18 +8678,18 @@ ${f}` : f;
8678
8678
  `, 1)[0], w = !p.trim(), x = 0;
8679
8679
  if (this.options.pedantic ? (x = 2, f = p.trimStart()) : w ? x = n[1].length + 1 : (x = n[2].search(this.rules.other.nonSpaceChar), x = x > 4 ? 1 : x, f = p.slice(x), x += n[1].length), w && this.rules.other.blankLine.test(h) && (u += h + `
8680
8680
  `, e = e.substring(h.length + 1), l = !0), !l) {
8681
- const _ = this.rules.other.nextBulletRegex(x), T = this.rules.other.hrRegex(x), A = this.rules.other.fencesBeginRegex(x), $ = this.rules.other.headingBeginRegex(x), L = this.rules.other.htmlBeginRegex(x);
8681
+ const _ = this.rules.other.nextBulletRegex(x), $ = this.rules.other.hrRegex(x), A = this.rules.other.fencesBeginRegex(x), S = this.rules.other.headingBeginRegex(x), L = this.rules.other.htmlBeginRegex(x);
8682
8682
  for (; e; ) {
8683
8683
  const D = e.split(`
8684
8684
  `, 1)[0];
8685
8685
  let M;
8686
- if (h = D, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), M = h) : M = h.replace(this.rules.other.tabCharGlobal, " "), A.test(h) || $.test(h) || L.test(h) || _.test(h) || T.test(h))
8686
+ if (h = D, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), M = h) : M = h.replace(this.rules.other.tabCharGlobal, " "), A.test(h) || S.test(h) || L.test(h) || _.test(h) || $.test(h))
8687
8687
  break;
8688
8688
  if (M.search(this.rules.other.nonSpaceChar) >= x || !h.trim())
8689
8689
  f += `
8690
8690
  ` + M.slice(x);
8691
8691
  else {
8692
- if (w || p.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || A.test(p) || $.test(p) || T.test(p))
8692
+ if (w || p.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || A.test(p) || S.test(p) || $.test(p))
8693
8693
  break;
8694
8694
  f += `
8695
8695
  ` + h;
@@ -8850,7 +8850,7 @@ ${f}` : f;
8850
8850
  if ((r.length - i.length) % 2 === 0)
8851
8851
  return;
8852
8852
  } else {
8853
- const i = Cg(n[2], "()");
8853
+ const i = Eg(n[2], "()");
8854
8854
  if (i > -1) {
8855
8855
  const c = (n[0].indexOf("!") === 0 ? 5 : 4) + n[1].length + i;
8856
8856
  n[2] = n[2].substring(0, i), n[0] = n[0].substring(0, c).trim(), n[3] = "";
@@ -9425,7 +9425,7 @@ class ta {
9425
9425
  return "";
9426
9426
  }
9427
9427
  }
9428
- class Ct {
9428
+ class Et {
9429
9429
  constructor(e) {
9430
9430
  I(this, "options");
9431
9431
  I(this, "renderer");
@@ -9436,13 +9436,13 @@ class Ct {
9436
9436
  * Static Parse Method
9437
9437
  */
9438
9438
  static parse(e, n) {
9439
- return new Ct(n).parse(e);
9439
+ return new Et(n).parse(e);
9440
9440
  }
9441
9441
  /**
9442
9442
  * Static Parse Inline Method
9443
9443
  */
9444
9444
  static parseInline(e, n) {
9445
- return new Ct(n).parseInline(e);
9445
+ return new Et(n).parseInline(e);
9446
9446
  }
9447
9447
  /**
9448
9448
  * Parse Loop
@@ -9622,7 +9622,7 @@ class Jn {
9622
9622
  * Provide function to parse tokens
9623
9623
  */
9624
9624
  provideParser() {
9625
- return this.block ? Ct.parse : Ct.parseInline;
9625
+ return this.block ? Et.parse : Et.parseInline;
9626
9626
  }
9627
9627
  }
9628
9628
  I(Jn, "passThroughHooks", /* @__PURE__ */ new Set([
@@ -9636,7 +9636,7 @@ class Ig {
9636
9636
  I(this, "options", this.setOptions);
9637
9637
  I(this, "parse", this.parseMarkdown(!0));
9638
9638
  I(this, "parseInline", this.parseMarkdown(!1));
9639
- I(this, "Parser", Ct);
9639
+ I(this, "Parser", Et);
9640
9640
  I(this, "Renderer", Lr);
9641
9641
  I(this, "TextRenderer", ta);
9642
9642
  I(this, "Lexer", St);
@@ -9764,7 +9764,7 @@ class Ig {
9764
9764
  return St.lex(e, n ?? this.defaults);
9765
9765
  }
9766
9766
  parser(e, n) {
9767
- return Ct.parse(e, n ?? this.defaults);
9767
+ return Et.parse(e, n ?? this.defaults);
9768
9768
  }
9769
9769
  parseMarkdown(e) {
9770
9770
  return (r, s) => {
@@ -9776,7 +9776,7 @@ class Ig {
9776
9776
  if (typeof r != "string")
9777
9777
  return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(r) + ", string expected"));
9778
9778
  i.hooks && (i.hooks.options = i, i.hooks.block = e);
9779
- const c = i.hooks ? i.hooks.provideLexer() : e ? St.lex : St.lexInline, l = i.hooks ? i.hooks.provideParser() : e ? Ct.parse : Ct.parseInline;
9779
+ const c = i.hooks ? i.hooks.provideLexer() : e ? St.lex : St.lexInline, l = i.hooks ? i.hooks.provideParser() : e ? Et.parse : Et.parseInline;
9780
9780
  if (i.async)
9781
9781
  return Promise.resolve(i.hooks ? i.hooks.preprocess(r) : r).then((u) => c(u, i)).then((u) => i.hooks ? i.hooks.processAllTokens(u) : u).then((u) => i.walkTokens ? Promise.all(this.walkTokens(u, i.walkTokens)).then(() => u) : u).then((u) => l(u, i)).then((u) => i.hooks ? i.hooks.postprocess(u) : u).catch(o);
9782
9782
  try {
@@ -9819,8 +9819,8 @@ xe.walkTokens = function(t, e) {
9819
9819
  return mn.walkTokens(t, e);
9820
9820
  };
9821
9821
  xe.parseInline = mn.parseInline;
9822
- xe.Parser = Ct;
9823
- xe.parser = Ct.parse;
9822
+ xe.Parser = Et;
9823
+ xe.parser = Et.parse;
9824
9824
  xe.Renderer = Lr;
9825
9825
  xe.TextRenderer = ta;
9826
9826
  xe.Lexer = St;
@@ -9833,7 +9833,7 @@ xe.setOptions;
9833
9833
  xe.use;
9834
9834
  xe.walkTokens;
9835
9835
  xe.parseInline;
9836
- Ct.parse;
9836
+ Et.parse;
9837
9837
  St.lex;
9838
9838
  const Ag = async (t, e, n) => {
9839
9839
  const r = Zp(e()), s = Vp(e());
@@ -9854,7 +9854,7 @@ const Ng = {
9854
9854
  code: ".sources-container.svelte-qsu1yu {display:flex;flex-direction:column;width:100%;}.sources-expanded.svelte-qsu1yu {background:rgba(255, 255, 255, 0.2);border-radius:0 0 8px 0;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);margin-top:-10px;overflow:hidden;width:80%;min-width:350px;}.sources-header.svelte-qsu1yu {height:10px;}.sources-footer.svelte-qsu1yu {display:flex;justify-content:flex-end;align-items:center;padding:0 10px 10px 10px;}.sources-title.svelte-qsu1yu {margin:0;font-size:16px;font-weight:600;color:#333;}.copy-sources-btn.svelte-qsu1yu {display:flex;align-items:center;gap:6px;padding:8px 12px;background:rgba(255, 255, 255, 0.9);color:#295dcf;border:1px solid rgba(255, 255, 255, 0.3);border-radius:8px;cursor:pointer;font-size:13px;transition:all 0.2s;white-space:nowrap;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.copy-sources-btn.svelte-qsu1yu:hover {background:white;box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);transform:translateY(-1px);}.copy-sources-btn.svelte-qsu1yu i:where(.svelte-qsu1yu) {font-size:12px;}.sources-list.svelte-qsu1yu {display:flex;flex-wrap:wrap;gap:10px;padding:10px;}.dropdown-option.svelte-qsu1yu {display:flex;align-items:center;flex:0 1 calc(50% - 5px);min-width:250px;padding:12px 15px;border:1px solid rgba(255, 255, 255, 0.5);border-radius:8px;background:white;color:#333;cursor:pointer;transition:all 0.2s;box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);}.dropdown-option.svelte-qsu1yu:disabled {cursor:wait;opacity:0.7;}.dropdown-option.common.svelte-qsu1yu {color:#8fa1c9;cursor:default;opacity:0.8;}.dropdown-option.svelte-qsu1yu:hover {background:white;color:#295dcf;border-color:rgba(41, 93, 207, 0.3);box-shadow:0 4px 8px rgba(0, 0, 0, 0.15);transform:translateY(-1px);}.dropdown-option.common.svelte-qsu1yu:hover {background:white;color:#8fa1c9;border-color:rgba(255, 255, 255, 0.5);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);transform:none;}.dropdown-option.svelte-qsu1yu i:where(.svelte-qsu1yu) {margin-right:10px;width:16px;text-align:center;}.dropdown-option.svelte-qsu1yu span:where(.svelte-qsu1yu) {font-size:14px;}.document-info.svelte-qsu1yu {display:flex;flex-direction:column;align-items:flex-start;flex:1;}.document-title.svelte-qsu1yu {font-weight:500;margin-bottom:4px;text-align:left;word-break:break-word;}.document-path.svelte-qsu1yu {font-size:0.85em;color:#6c757d;text-align:left;word-break:break-word;}"
9855
9855
  };
9856
9856
  function Ts(t, e) {
9857
- ae(e, !0), de(t, Ng);
9857
+ ie(e, !0), de(t, Ng);
9858
9858
  let n = g(e, "isDropdownOpen", 15), r = g(e, "attachmentList", 15), s = g(e, "userLevel", 15), a = Y(C({})), i = Y(C(/* @__PURE__ */ rs()));
9859
9859
  const o = (b, _) => {
9860
9860
  d(a)[b] = _;
@@ -9865,134 +9865,134 @@ function Ts(t, e) {
9865
9865
  },
9866
9866
  2e3
9867
9867
  );
9868
- }, l = async (b, _, T) => {
9869
- await kt.getDocumentPage(b, _, T);
9870
- }, u = async (b, _, T) => {
9868
+ }, l = async (b, _, $) => {
9869
+ await kt.getDocumentPage(b, _, $);
9870
+ }, u = async (b, _, $) => {
9871
9871
  if (!Jp(s(), _)) {
9872
9872
  console.error("L'utente non ha il permesso di scaricare PDF normativi.");
9873
9873
  return;
9874
9874
  }
9875
- const A = ur(b, T);
9875
+ const A = ur(b, $);
9876
9876
  o(A, !0);
9877
9877
  try {
9878
- const $ = await kt.downloadForgePdf(b, _), L = window.URL.createObjectURL($), D = document.createElement("a");
9879
- D.href = L, D.download = `${T.split(".")[0]}.pdf`, document.body.appendChild(D), D.click(), D.remove(), window.URL.revokeObjectURL(L);
9880
- } catch ($) {
9881
- console.error("Errore durante il download del PDF:", $);
9878
+ const S = await kt.downloadForgePdf(b, _), L = window.URL.createObjectURL(S), D = document.createElement("a");
9879
+ D.href = L, D.download = `${$.split(".")[0]}.pdf`, document.body.appendChild(D), D.click(), D.remove(), window.URL.revokeObjectURL(L);
9880
+ } catch (S) {
9881
+ console.error("Errore durante il download del PDF:", S);
9882
9882
  } finally {
9883
9883
  o(A, !1);
9884
9884
  }
9885
- }, f = async (b, _, T) => {
9886
- const A = ur(b, T);
9885
+ }, f = async (b, _, $) => {
9886
+ const A = ur(b, $);
9887
9887
  o(A, !0);
9888
9888
  try {
9889
- const $ = await kt.getForgeSingle(b, _), L = $.additionalReference || $.url;
9889
+ const S = await kt.getForgeSingle(b, _), L = S.additionalReference || S.url;
9890
9890
  window.open(L, "_blank");
9891
- } catch ($) {
9892
- console.error("Errore durante il recupero del link:", $);
9891
+ } catch (S) {
9892
+ console.error("Errore durante il recupero del link:", S);
9893
9893
  } finally {
9894
9894
  o(A, !1);
9895
9895
  }
9896
9896
  }, p = async (b, _) => {
9897
- const T = ur(b, _);
9898
- o(T, !0);
9897
+ const $ = ur(b, _);
9898
+ o($, !0);
9899
9899
  try {
9900
9900
  const A = await kt.getMeetingSingle(b);
9901
9901
  window.open(A.meetingUrl, "_blank");
9902
9902
  } catch (A) {
9903
9903
  console.error("Errore durante il recupero del link TLDV:", A);
9904
9904
  } finally {
9905
- o(T, !1);
9905
+ o($, !1);
9906
9906
  }
9907
9907
  }, h = async (b) => {
9908
9908
  const {
9909
9909
  external_id: _,
9910
- filename: T,
9910
+ filename: $,
9911
9911
  gendoc_id: A,
9912
- isCommon: $,
9912
+ isCommon: S,
9913
9913
  commonType: L
9914
9914
  } = b;
9915
- if (!$) {
9916
- await l(_, T, A);
9915
+ if (!S) {
9916
+ await l(_, $, A);
9917
9917
  return;
9918
9918
  }
9919
9919
  if (L === "trascrizione") {
9920
- await p(_, T);
9920
+ await p(_, $);
9921
9921
  return;
9922
9922
  }
9923
- const D = Oi(T);
9924
- !qp(T) || D === "mp3" ? await f(_, L || "", T) : await u(_, L || "", T);
9923
+ const D = Oi($);
9924
+ !qp($) || D === "mp3" ? await f(_, L || "", $) : await u(_, L || "", $);
9925
9925
  };
9926
- var w = Mg(), x = z(w);
9926
+ var w = Mg(), x = T(w);
9927
9927
  {
9928
9928
  var k = (b) => {
9929
- var _ = Og(), T = z(_);
9929
+ var _ = Og(), $ = T(_);
9930
9930
  {
9931
- var A = ($) => {
9932
- var L = Pg(), D = O(z(L), 2);
9933
- at(D, 21, r, st, (Ae, $e) => {
9934
- var se = jg();
9935
- const Xe = /* @__PURE__ */ Ze(() => ur(d($e).external_id, d($e).filename)), Qe = /* @__PURE__ */ Ze(() => Gp(d($e))), lt = /* @__PURE__ */ Ze(() => d(a)[d(Xe)]), ft = /* @__PURE__ */ Ze(() => Wp(d($e), s())), R = /* @__PURE__ */ Ze(() => Mi(d($e))), ee = /* @__PURE__ */ Ze(() => Ni(d($e))), Le = /* @__PURE__ */ Ze(() => d($e).isCommon ? rr(d($e).commonType).name : /* @__PURE__ */ xa());
9936
- se.__click = [Lg, h, $e];
9937
- var Pe = z(se);
9931
+ var A = (S) => {
9932
+ var L = Pg(), D = O(T(L), 2);
9933
+ st(D, 21, r, rt, (Ee, Ce) => {
9934
+ var ae = jg();
9935
+ const Xe = /* @__PURE__ */ Ze(() => ur(d(Ce).external_id, d(Ce).filename)), Qe = /* @__PURE__ */ Ze(() => Gp(d(Ce))), ct = /* @__PURE__ */ Ze(() => d(a)[d(Xe)]), ft = /* @__PURE__ */ Ze(() => Wp(d(Ce), s())), R = /* @__PURE__ */ Ze(() => Mi(d(Ce))), K = /* @__PURE__ */ Ze(() => Ni(d(Ce))), Le = /* @__PURE__ */ Ze(() => d(Ce).isCommon ? rr(d(Ce).commonType).name : /* @__PURE__ */ xa());
9936
+ ae.__click = [Lg, h, Ce];
9937
+ var Pe = T(ae);
9938
9938
  {
9939
- var Ye = (le) => {
9939
+ var Ye = (ce) => {
9940
9940
  var j = Fg();
9941
- S(le, j);
9942
- }, Me = (le) => {
9941
+ E(ce, j);
9942
+ }, Oe = (ce) => {
9943
9943
  var j = Rg();
9944
9944
  P(() => {
9945
9945
  ut(j, qr(d(Qe).icon), "svelte-qsu1yu"), q(j, "style", d(Qe).color ? `color: ${d(Qe).color}` : "");
9946
- }), S(le, j);
9946
+ }), E(ce, j);
9947
9947
  };
9948
- X(Pe, (le) => {
9949
- d(lt) ? le(Ye) : le(Me, !1);
9948
+ X(Pe, (ce) => {
9949
+ d(ct) ? ce(Ye) : ce(Oe, !1);
9950
9950
  });
9951
9951
  }
9952
- var Ne = O(Pe, 2), Ge = z(Ne), ke = z(Ge, !0);
9952
+ var Me = O(Pe, 2), Ge = T(Me), ke = T(Ge, !0);
9953
9953
  y(Ge);
9954
9954
  var W = O(Ge, 2);
9955
9955
  {
9956
- var Se = (le) => {
9957
- var j = Dg(), H = z(j, !0);
9958
- y(j), P(() => Te(H, d(ee))), S(le, j);
9956
+ var Ie = (ce) => {
9957
+ var j = Dg(), H = T(j, !0);
9958
+ y(j), P(() => Se(H, d(K))), E(ce, j);
9959
9959
  };
9960
- X(W, (le) => {
9961
- d($e).isCommon || le(Se);
9960
+ X(W, (ce) => {
9961
+ d(Ce).isCommon || ce(Ie);
9962
9962
  });
9963
9963
  }
9964
- y(Ne), y(se), P(
9965
- (le) => {
9966
- ut(se, `${`dropdown-option ${d(ft) ? "common" : ""}` ?? ""} svelte-qsu1yu`), q(se, "aria-label", le), q(se, "title", d(Le)), se.disabled = d(lt), Te(ke, d(R));
9964
+ y(Me), y(ae), P(
9965
+ (ce) => {
9966
+ ut(ae, `${`dropdown-option ${d(ft) ? "common" : ""}` ?? ""} svelte-qsu1yu`), q(ae, "aria-label", ce), q(ae, "title", d(Le)), ae.disabled = d(ct), Se(ke, d(R));
9967
9967
  },
9968
9968
  [() => /* @__PURE__ */ xa()]
9969
- ), S(Ae, se);
9969
+ ), E(Ee, ae);
9970
9970
  }), y(D);
9971
- var M = O(D, 2), G = z(M);
9971
+ var M = O(D, 2), G = T(M);
9972
9972
  G.__click = [
9973
9973
  Ag,
9974
9974
  r,
9975
9975
  c
9976
9976
  ];
9977
- var ge = O(z(G), 2), nt = z(ge, !0);
9977
+ var ge = O(T(G), 2), tt = T(ge, !0);
9978
9978
  y(ge), y(G), y(M), y(L), P(
9979
- (Ae) => {
9980
- q(G, "aria-label", Ae), q(G, "title", Ae), Te(nt, d(i));
9979
+ (Ee) => {
9980
+ q(G, "aria-label", Ee), q(G, "title", Ee), Se(tt, d(i));
9981
9981
  },
9982
9982
  [() => /* @__PURE__ */ rs()]
9983
- ), Rt(3, L, () => rc, () => ({ duration: 300 })), S($, L);
9983
+ ), Rt(3, L, () => rc, () => ({ duration: 300 })), E(S, L);
9984
9984
  };
9985
- X(T, ($) => {
9986
- n() && $(A);
9985
+ X($, (S) => {
9986
+ n() && S(A);
9987
9987
  });
9988
9988
  }
9989
- y(_), S(b, _);
9989
+ y(_), E(b, _);
9990
9990
  };
9991
9991
  X(x, (b) => {
9992
9992
  r().length > 0 && b(k);
9993
9993
  });
9994
9994
  }
9995
- return y(w), S(t, w), ie({
9995
+ return y(w), E(t, w), oe({
9996
9996
  get isDropdownOpen() {
9997
9997
  return n();
9998
9998
  },
@@ -10014,7 +10014,7 @@ function Ts(t, e) {
10014
10014
  });
10015
10015
  }
10016
10016
  un(["click"]);
10017
- oe(
10017
+ le(
10018
10018
  Ts,
10019
10019
  {
10020
10020
  isDropdownOpen: {},
@@ -10039,42 +10039,42 @@ const sm = {
10039
10039
  ); /* Colore del "pollice" della scrollbar */border-radius:10px;transition:0.3s;}.chat-body.svelte-13ebgfy::-webkit-scrollbar-thumb:hover {background:rgba(255, 255, 255, 0.8); /* Più visibile quando hoverata */}.message-sent.svelte-13ebgfy {display:flex;background:#c8d9ff;border-radius:10px;border-bottom-right-radius:0;width:fit-content;max-width:80%;margin-left:auto;transition:200ms;z-index:1000;user-select:text;}.message-received.svelte-13ebgfy {background:white;border-radius:10px;border-bottom-left-radius:0;width:fit-content;max-width:80%;transition:200ms;position:relative;z-index:1000;user-select:text;}.message-content.svelte-13ebgfy {padding:10px;font-size:16px;}.attachments-container.svelte-13ebgfy {display:flex;flex-direction:column;width:80%;min-height:35px;}.play-button.svelte-13ebgfy {transition:opacity 200ms;opacity:0;background-color:white;color:#295dcf;transition:200ms;}.play-button.svelte-13ebgfy:hover {background-color:#e9ecef;translate:0 -1px;}.sources-toggle-btn.svelte-13ebgfy {display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:rgba(255, 255, 255, 0.2);color:white;border-radius:0 0 8px 8px;cursor:pointer;font-size:14px;transition:all 200ms;width:fit-content;gap:10px;box-shadow:0 2px 4px rgba(0, 0, 0, 0.15);border:none;height:30px;}.sources-toggle-btn.svelte-13ebgfy:hover {background:rgba(255, 255, 255, 0.25);border-color:rgba(255, 255, 255, 0.5);}.sources-toggle-btn.svelte-13ebgfy i:where(.svelte-13ebgfy) {font-size:12px;transition:transform 200ms;}.copy-button.svelte-13ebgfy {transition:opacity 200ms;background-color:rgba(255, 255, 255, 0.2);box-shadow:0 2px 4px rgba(0, 0, 0, 0.1);border:none;color:white;transition:200ms;border-radius:0 0 8px 8px;height:30px;width:30px;padding:0;font-size:18px;margin:0;}.copy-button.svelte-13ebgfy:hover {background:rgba(255, 255, 255, 0.25);border-color:rgba(255, 255, 255, 0.5);}.agent-badge.svelte-13ebgfy {display:flex;align-items:center;gap:6px;padding:6px 12px;background:rgba(60, 60, 60, 0.75);color:white;border-radius:0 0 8px 8px;font-size:12px;font-weight:500;width:fit-content;box-shadow:0 2px 4px rgba(0, 0, 0, 0.15);backdrop-filter:blur(5px);cursor:default;pointer-events:none;height:30px;}.agent-badge.svelte-13ebgfy i:where(.svelte-13ebgfy) {font-size:14px;opacity:0.9;}.user-attachments-list.svelte-13ebgfy {display:flex;flex-wrap:wrap;gap:6px;margin-bottom:5px;justify-content:flex-end;}.user-attachment-badge.svelte-13ebgfy {display:flex;align-items:center;gap:5px;padding:4px 10px;background:rgba(255, 255, 255, 0.2);border:1px solid rgba(200, 217, 255, 0.5);color:white;border-radius:12px;font-size:11px;font-weight:500;width:fit-content;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);}.user-attachment-badge.svelte-13ebgfy i:where(.svelte-13ebgfy) {font-size:10px;opacity:0.8;flex-shrink:0;}.user-attachment-badge.svelte-13ebgfy span:where(.svelte-13ebgfy) {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.message-plus-play.svelte-13ebgfy {display:flex;justify-content:flex-start;align-items:center;gap:5px;}.message-plus-play.svelte-13ebgfy:hover .play-button:where(.svelte-13ebgfy) {opacity:1;}.loading.svelte-13ebgfy {display:flex;justify-content:start;align-items:center;padding-left:10px;}`
10040
10040
  };
10041
10041
  function ho(t, e) {
10042
- ae(e, !0), de(t, sm);
10043
- let n = g(e, "messages", 15), r = g(e, "loading", 15), s = g(e, "error", 15), a = g(e, "streamMessage", 15), i = g(e, "streamAttachments", 15), o = g(e, "streamedAgent", 15), c = g(e, "languageSelected", 15), l = g(e, "userLevel", 15), u = g(e, "loadingChat", 15), f = Y(void 0), p = Y(C(new Audio())), h = Y(!1), w = Y(C({})), x = Y(C({})), k = Y(C(n())), b = Y(null), _ = Y(!0), T = Y(!1), A = Y(!1), $ = Y(C(u())), L = Y(!1);
10042
+ ie(e, !0), de(t, sm);
10043
+ let n = g(e, "messages", 15), r = g(e, "loading", 15), s = g(e, "error", 15), a = g(e, "streamMessage", 15), i = g(e, "streamAttachments", 15), o = g(e, "streamedAgent", 15), c = g(e, "languageSelected", 15), l = g(e, "userLevel", 15), u = g(e, "loadingChat", 15), f = Y(void 0), p = Y(C(new Audio())), h = Y(!1), w = Y(C({})), x = Y(C({})), k = Y(C(n())), b = Y(null), _ = Y(!0), $ = Y(!1), A = Y(!1), S = Y(C(u())), L = Y(!1);
10044
10044
  const D = async () => {
10045
10045
  await es(), d(f) && (d(f).scrollTop = d(f).scrollHeight);
10046
10046
  }, M = async () => {
10047
10047
  await es(), m(_, !1);
10048
10048
  }, G = async () => {
10049
- d(L) || (m(L, !0), await es(), m(T, !1));
10049
+ d(L) || (m(L, !0), await es(), m($, !1));
10050
10050
  }, ge = () => {
10051
- d(A) && m(T, !0);
10052
- }, nt = () => {
10051
+ d(A) && m($, !0);
10052
+ }, tt = () => {
10053
10053
  d(A) && (m(k, C(d(b) ?? n())), m(b, null), m(_, !0), m(A, !1), m(L, !1));
10054
- }, Ae = (R) => {
10055
- Us.getAudio(R.content, c()).then((ee) => {
10056
- m(p, C(new Audio(ee))), d(p).play(), m(h, !0), d(p).onended = () => {
10054
+ }, Ee = (R) => {
10055
+ Us.getAudio(R.content, c()).then((K) => {
10056
+ m(p, C(new Audio(K))), d(p).play(), m(h, !0), d(p).onended = () => {
10057
10057
  m(h, !1);
10058
10058
  };
10059
10059
  });
10060
- }, $e = async (R, ee) => {
10060
+ }, Ce = async (R, K) => {
10061
10061
  const Le = R.html ?? xe.parseInline(R.content), Pe = document.createElement("div");
10062
10062
  Pe.innerHTML = Le;
10063
- const Ye = Pe.innerHTML, Me = Pe.textContent || Pe.innerText || "";
10063
+ const Ye = Pe.innerHTML, Oe = Pe.textContent || Pe.innerText || "";
10064
10064
  try {
10065
- const Ne = new Blob([Ye], { type: "text/html" }), Ge = new Blob([Me], { type: "text/plain" }), ke = new ClipboardItem({ "text/html": Ne, "text/plain": Ge });
10066
- await navigator.clipboard.write([ke]), d(x)[ee] = /* @__PURE__ */ ya(), setTimeout(
10065
+ const Me = new Blob([Ye], { type: "text/html" }), Ge = new Blob([Oe], { type: "text/plain" }), ke = new ClipboardItem({ "text/html": Me, "text/plain": Ge });
10066
+ await navigator.clipboard.write([ke]), d(x)[K] = /* @__PURE__ */ ya(), setTimeout(
10067
10067
  () => {
10068
- d(x)[ee] = "";
10068
+ d(x)[K] = "";
10069
10069
  },
10070
10070
  2e3
10071
10071
  );
10072
- } catch (Ne) {
10073
- console.error("Errore durante la copia:", Ne);
10072
+ } catch (Me) {
10073
+ console.error("Errore durante la copia:", Me);
10074
10074
  try {
10075
- await navigator.clipboard.writeText(Me), d(x)[ee] = /* @__PURE__ */ ya(), setTimeout(
10075
+ await navigator.clipboard.writeText(Oe), d(x)[K] = /* @__PURE__ */ ya(), setTimeout(
10076
10076
  () => {
10077
- d(x)[ee] = "";
10077
+ d(x)[K] = "";
10078
10078
  },
10079
10079
  2e3
10080
10080
  );
@@ -10084,255 +10084,255 @@ function ho(t, e) {
10084
10084
  }
10085
10085
  };
10086
10086
  Ft(() => {
10087
- u() && !d($) ? (m(A, !0), m(b, null), m(T, !1), m(_, !0), M()) : !u() && d($) && (m(b, C(n())), d(T) && G()), m($, C(u()));
10087
+ u() && !d(S) ? (m(A, !0), m(b, null), m($, !1), m(_, !0), M()) : !u() && d(S) && (m(b, C(n())), d($) && G()), m(S, C(u()));
10088
10088
  }), Ft(() => {
10089
- d(A) && d(T) && !u() && G();
10089
+ d(A) && d($) && !u() && G();
10090
10090
  }), Ft(() => {
10091
10091
  d(A) ? m(b, C(n())) : u() || m(k, C(n()));
10092
10092
  }), Ft(() => {
10093
10093
  a(), d(k), D();
10094
10094
  });
10095
- var se = rm(), Xe = z(se);
10095
+ var ae = rm(), Xe = T(ae);
10096
10096
  {
10097
10097
  var Qe = (R) => {
10098
- var ee = tm(), Le = O(z(ee), 2);
10099
- at(Le, 17, () => d(k), st, (ke, W, Se) => {
10100
- var le = yt(), j = it(le);
10098
+ var K = tm(), Le = O(T(K), 2);
10099
+ st(Le, 17, () => d(k), rt, (ke, W, Ie) => {
10100
+ var ce = yt(), j = ot(ce);
10101
10101
  {
10102
10102
  var H = (re) => {
10103
- var ye = Xg(), je = z(ye);
10103
+ var ye = Xg(), je = T(ye);
10104
10104
  {
10105
- var qe = (Z) => {
10106
- var ue = Bg();
10107
- at(ue, 21, () => d(W).attachments, st, (Re, et) => {
10108
- var E = qg(), ne = O(z(E), 2), be = z(ne, !0);
10109
- y(ne), y(E), P(() => {
10110
- q(E, "title", d(et).filename), Te(be, d(et).filename);
10111
- }), S(Re, E);
10112
- }), y(ue), S(Z, ue);
10105
+ var Ue = (se) => {
10106
+ var ee = Bg();
10107
+ st(ee, 21, () => d(W).attachments, rt, (Fe, it) => {
10108
+ var z = qg(), ne = O(T(z), 2), be = T(ne, !0);
10109
+ y(ne), y(z), P(() => {
10110
+ q(z, "title", d(it).filename), Se(be, d(it).filename);
10111
+ }), E(Fe, z);
10112
+ }), y(ee), E(se, ee);
10113
10113
  };
10114
- X(je, (Z) => {
10115
- d(W).attachments && d(W).attachments.length > 0 && d(W).sentByUser == !0 && Z(qe);
10114
+ X(je, (se) => {
10115
+ d(W).attachments && d(W).attachments.length > 0 && d(W).sentByUser == !0 && se(Ue);
10116
10116
  });
10117
10117
  }
10118
- var Fe = O(je, 2), fe = O(Fe, 2), Ve = z(fe), N = z(Ve), B = z(N);
10118
+ var Re = O(je, 2), fe = O(Re, 2), Ve = T(fe), N = T(Ve), B = T(N);
10119
10119
  gs(B, () => d(W).html ?? xe.parseInline(d(W).content), !1, !1), y(N), y(Ve);
10120
10120
  var te = O(Ve, 2);
10121
10121
  {
10122
- var V = (Z) => {
10123
- var ue = yt(), Re = it(ue);
10122
+ var Z = (se) => {
10123
+ var ee = yt(), Fe = ot(ee);
10124
10124
  {
10125
- var et = (ne) => {
10125
+ var it = (ne) => {
10126
10126
  var be = Hg();
10127
- be.__click = [Ug, p, h], P((Be) => q(be, "title", Be), [() => /* @__PURE__ */ cd()]), S(ne, be);
10128
- }, E = (ne) => {
10127
+ be.__click = [Ug, p, h], P((Be) => q(be, "title", Be), [() => /* @__PURE__ */ cd()]), E(ne, be);
10128
+ }, z = (ne) => {
10129
10129
  var be = Gg();
10130
- be.__click = [Yg, Ae, W], P((Be) => q(be, "title", Be), [() => /* @__PURE__ */ ld()]), S(ne, be);
10130
+ be.__click = [Yg, Ee, W], P((Be) => q(be, "title", Be), [() => /* @__PURE__ */ ld()]), E(ne, be);
10131
10131
  };
10132
- X(Re, (ne) => {
10133
- d(h) ? ne(et) : ne(E, !1);
10132
+ X(Fe, (ne) => {
10133
+ d(h) ? ne(it) : ne(z, !1);
10134
10134
  });
10135
10135
  }
10136
- S(Z, ue);
10136
+ E(se, ee);
10137
10137
  };
10138
- X(te, (Z) => {
10139
- d(W).content != "" && !d(W).sentByUser && Z(V);
10138
+ X(te, (se) => {
10139
+ d(W).content != "" && !d(W).sentByUser && se(Z);
10140
10140
  });
10141
10141
  }
10142
10142
  y(fe);
10143
- var J = O(fe, 2), Q = z(J), Ce = z(Q);
10143
+ var J = O(fe, 2), V = T(J), ze = T(V);
10144
10144
  {
10145
- var Ee = (Z) => {
10146
- var ue = /* @__PURE__ */ Ze(() => d(w)[Se] || !1);
10147
- Ts(Z, {
10145
+ var Te = (se) => {
10146
+ var ee = /* @__PURE__ */ Ze(() => d(w)[Ie] || !1);
10147
+ Ts(se, {
10148
10148
  get isDropdownOpen() {
10149
- return d(ue);
10149
+ return d(ee);
10150
10150
  },
10151
10151
  get attachmentList() {
10152
10152
  return d(W).attachments;
10153
10153
  },
10154
- set attachmentList(Re) {
10155
- d(W).attachments = Re;
10154
+ set attachmentList(Fe) {
10155
+ d(W).attachments = Fe;
10156
10156
  },
10157
10157
  get userLevel() {
10158
10158
  return l();
10159
10159
  },
10160
- set userLevel(Re) {
10161
- l(Re);
10160
+ set userLevel(Fe) {
10161
+ l(Fe);
10162
10162
  }
10163
10163
  });
10164
10164
  };
10165
- X(Ce, (Z) => {
10166
- d(W).attachments && d(W).attachments.length > 0 && d(W).sentByUser == !1 && Z(Ee);
10165
+ X(ze, (se) => {
10166
+ d(W).attachments && d(W).attachments.length > 0 && d(W).sentByUser == !1 && se(Te);
10167
10167
  });
10168
10168
  }
10169
- var rt = O(Ce, 2), pe = z(rt);
10169
+ var nt = O(ze, 2), pe = T(nt);
10170
10170
  {
10171
- var ze = (Z) => {
10172
- var ue = Jg(), Re = O(z(ue), 2), et = z(Re, !0);
10173
- y(Re), y(ue), P((E) => Te(et, E), [
10171
+ var $e = (se) => {
10172
+ var ee = Jg(), Fe = O(T(ee), 2), it = T(Fe, !0);
10173
+ y(Fe), y(ee), P((z) => Se(it, z), [
10174
10174
  () => za(d(W).agentUsed)
10175
- ]), S(Z, ue);
10175
+ ]), E(se, ee);
10176
10176
  };
10177
- X(pe, (Z) => {
10178
- d(W).agentUsed != null && d(W).agentUsed >= 0 && !d(W).sentByUser && Z(ze);
10177
+ X(pe, (se) => {
10178
+ d(W).agentUsed != null && d(W).agentUsed >= 0 && !d(W).sentByUser && se($e);
10179
10179
  });
10180
10180
  }
10181
10181
  var Je = O(pe, 2);
10182
10182
  {
10183
- var Ke = (Z) => {
10184
- var ue = Wg();
10185
- ue.__click = () => d(w)[Se] = !d(w)[Se];
10186
- var Re = z(ue), et = z(Re);
10187
- y(Re);
10188
- var E = O(Re, 2);
10189
- y(ue), P(
10183
+ var Ke = (se) => {
10184
+ var ee = Wg();
10185
+ ee.__click = () => d(w)[Ie] = !d(w)[Ie];
10186
+ var Fe = T(ee), it = T(Fe);
10187
+ y(Fe);
10188
+ var z = O(Fe, 2);
10189
+ y(ee), P(
10190
10190
  (ne) => {
10191
- Te(et, `${ne ?? ""} (${d(W).attachments.length ?? ""})`), ut(E, `${`fa-solid fa-chevron-${d(w)[Se] ? "up" : "down"}` ?? ""} svelte-13ebgfy`);
10191
+ Se(it, `${ne ?? ""} (${d(W).attachments.length ?? ""})`), ut(z, `${`fa-solid fa-chevron-${d(w)[Ie] ? "up" : "down"}` ?? ""} svelte-13ebgfy`);
10192
10192
  },
10193
10193
  [() => /* @__PURE__ */ rd()]
10194
- ), S(Z, ue);
10194
+ ), E(se, ee);
10195
10195
  };
10196
- X(Je, (Z) => {
10197
- d(W).attachments && d(W).attachments.length > 0 && d(W).sentByUser == !1 && Z(Ke);
10196
+ X(Je, (se) => {
10197
+ d(W).attachments && d(W).attachments.length > 0 && d(W).sentByUser == !1 && se(Ke);
10198
10198
  });
10199
10199
  }
10200
10200
  var me = O(Je, 2);
10201
- me.__click = () => $e(d(W), Se);
10202
- var Oe = z(me);
10201
+ me.__click = () => Ce(d(W), Ie);
10202
+ var We = T(me);
10203
10203
  {
10204
- var We = (Z) => {
10205
- var ue = Zg();
10206
- S(Z, ue);
10207
- }, ct = (Z) => {
10208
- var ue = Vg();
10209
- S(Z, ue);
10204
+ var qe = (se) => {
10205
+ var ee = Zg();
10206
+ E(se, ee);
10207
+ }, at = (se) => {
10208
+ var ee = Vg();
10209
+ E(se, ee);
10210
10210
  };
10211
- X(Oe, (Z) => {
10212
- d(x)[Se] ? Z(We) : Z(ct, !1);
10211
+ X(We, (se) => {
10212
+ d(x)[Ie] ? se(qe) : se(at, !1);
10213
10213
  });
10214
10214
  }
10215
- y(me), y(rt), y(Q), y(J), y(ye), P(
10216
- (Z) => {
10217
- q(Fe, "style", `justify-content: ${(d(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), ut(Ve, qr(d(W).sentByUser ? "message-sent" : "message-received"), "svelte-13ebgfy"), q(J, "style", `justify-content: ${(d(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), q(rt, "style", `width: 100%; align-items: flex-start; justify-content: ${(d(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), q(me, "title", Z);
10215
+ y(me), y(nt), y(V), y(J), y(ye), P(
10216
+ (se) => {
10217
+ q(Re, "style", `justify-content: ${(d(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), ut(Ve, qr(d(W).sentByUser ? "message-sent" : "message-received"), "svelte-13ebgfy"), q(J, "style", `justify-content: ${(d(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), q(nt, "style", `width: 100%; align-items: flex-start; justify-content: ${(d(W).sentByUser ? "flex-end" : "flex-start") ?? ""}`), q(me, "title", se);
10218
10218
  },
10219
10219
  [
10220
- () => d(x)[Se] || /* @__PURE__ */ vd()
10220
+ () => d(x)[Ie] || /* @__PURE__ */ vd()
10221
10221
  ]
10222
- ), S(re, ye);
10222
+ ), E(re, ye);
10223
10223
  };
10224
10224
  X(j, (re) => {
10225
10225
  d(W).content.trim() !== "" && re(H);
10226
10226
  });
10227
10227
  }
10228
- S(ke, le);
10228
+ E(ke, ce);
10229
10229
  });
10230
10230
  var Pe = O(Le, 2);
10231
10231
  {
10232
10232
  var Ye = (ke) => {
10233
- var W = Qg(), Se = z(W), le = z(Se), j = z(le), H = z(j);
10234
- gs(H, a, !1, !1), y(j), y(le);
10235
- var re = O(le, 2);
10233
+ var W = Qg(), Ie = T(W), ce = T(Ie), j = T(ce), H = T(j);
10234
+ gs(H, a, !1, !1), y(j), y(ce);
10235
+ var re = O(ce, 2);
10236
10236
  {
10237
- var ye = (V) => {
10238
- rn(V, {
10237
+ var ye = (Z) => {
10238
+ rn(Z, {
10239
10239
  icon: "svg-spinners:90-ring-with-bg",
10240
10240
  width: "25px",
10241
10241
  height: "25px",
10242
10242
  color: "white"
10243
10243
  });
10244
10244
  };
10245
- X(re, (V) => {
10246
- r() && V(ye);
10245
+ X(re, (Z) => {
10246
+ r() && Z(ye);
10247
10247
  });
10248
10248
  }
10249
- y(Se);
10250
- var je = O(Se, 2), qe = z(je), Fe = z(qe);
10249
+ y(Ie);
10250
+ var je = O(Ie, 2), Ue = T(je), Re = T(Ue);
10251
10251
  {
10252
- var fe = (V) => {
10252
+ var fe = (Z) => {
10253
10253
  var J = /* @__PURE__ */ Ze(() => d(w)[-1] || !1);
10254
- Ts(V, {
10254
+ Ts(Z, {
10255
10255
  get isDropdownOpen() {
10256
10256
  return d(J);
10257
10257
  },
10258
10258
  get attachmentList() {
10259
10259
  return i();
10260
10260
  },
10261
- set attachmentList(Q) {
10262
- i(Q);
10261
+ set attachmentList(V) {
10262
+ i(V);
10263
10263
  },
10264
10264
  get userLevel() {
10265
10265
  return l();
10266
10266
  },
10267
- set userLevel(Q) {
10268
- l(Q);
10267
+ set userLevel(V) {
10268
+ l(V);
10269
10269
  }
10270
10270
  });
10271
10271
  };
10272
- X(Fe, (V) => {
10273
- i() && i().length > 0 && V(fe);
10272
+ X(Re, (Z) => {
10273
+ i() && i().length > 0 && Z(fe);
10274
10274
  });
10275
10275
  }
10276
- var Ve = O(Fe, 2), N = z(Ve), B = O(z(N), 2), te = z(B, !0);
10277
- y(B), y(N), y(Ve), y(qe), y(je), y(W), P((V) => Te(te, V), [() => za(o())]), S(ke, W);
10278
- }, Me = (ke) => {
10279
- var W = yt(), Se = it(W);
10276
+ var Ve = O(Re, 2), N = T(Ve), B = O(T(N), 2), te = T(B, !0);
10277
+ y(B), y(N), y(Ve), y(Ue), y(je), y(W), P((Z) => Se(te, Z), [() => za(o())]), E(ke, W);
10278
+ }, Oe = (ke) => {
10279
+ var W = yt(), Ie = ot(W);
10280
10280
  {
10281
- var le = (j) => {
10282
- var H = Kg(), re = z(H);
10281
+ var ce = (j) => {
10282
+ var H = Kg(), re = T(H);
10283
10283
  rn(re, {
10284
10284
  icon: "svg-spinners:3-dots-bounce",
10285
10285
  width: "25px",
10286
10286
  height: "25px",
10287
10287
  color: "white"
10288
- }), y(H), S(j, H);
10288
+ }), y(H), E(j, H);
10289
10289
  };
10290
10290
  X(
10291
- Se,
10291
+ Ie,
10292
10292
  (j) => {
10293
- r() && j(le);
10293
+ r() && j(ce);
10294
10294
  },
10295
10295
  !0
10296
10296
  );
10297
10297
  }
10298
- S(ke, W);
10298
+ E(ke, W);
10299
10299
  };
10300
10300
  X(Pe, (ke) => {
10301
- a().length > 0 ? ke(Ye) : ke(Me, !1);
10301
+ a().length > 0 ? ke(Ye) : ke(Oe, !1);
10302
10302
  });
10303
10303
  }
10304
- var Ne = O(Pe, 2);
10304
+ var Me = O(Pe, 2);
10305
10305
  {
10306
10306
  var Ge = (ke) => {
10307
- var W = em(), Se = z(W, !0);
10308
- y(W), P(() => Te(Se, s())), S(ke, W);
10307
+ var W = em(), Ie = T(W, !0);
10308
+ y(W), P(() => Se(Ie, s())), E(ke, W);
10309
10309
  };
10310
- X(Ne, (ke) => {
10310
+ X(Me, (ke) => {
10311
10311
  s() != "" && ke(Ge);
10312
10312
  });
10313
10313
  }
10314
- y(ee), en("outroend", ee, ge), Rt(1, ee, () => tn, () => ({ duration: 100, delay: 100 })), Rt(2, ee, () => tn, () => ({ duration: 100 })), S(R, ee);
10314
+ y(K), en("outroend", K, ge), Rt(1, K, () => tn, () => ({ duration: 100, delay: 100 })), Rt(2, K, () => tn, () => ({ duration: 100 })), E(R, K);
10315
10315
  };
10316
10316
  X(Xe, (R) => {
10317
10317
  d(_) && R(Qe);
10318
10318
  });
10319
10319
  }
10320
- var lt = O(Xe, 2);
10320
+ var ct = O(Xe, 2);
10321
10321
  {
10322
10322
  var ft = (R) => {
10323
- var ee = nm(), Le = z(ee);
10323
+ var K = nm(), Le = T(K);
10324
10324
  rn(Le, {
10325
10325
  icon: "svg-spinners:270-ring-with-bg",
10326
10326
  width: "50px",
10327
10327
  height: "50px",
10328
10328
  color: "white"
10329
- }), y(ee), en("outroend", ee, nt), Rt(1, ee, () => tn, () => ({ duration: 100, delay: 200 })), Rt(2, ee, () => tn, () => ({ duration: 100 })), S(R, ee);
10329
+ }), y(K), en("outroend", K, tt), Rt(1, K, () => tn, () => ({ duration: 100, delay: 200 })), Rt(2, K, () => tn, () => ({ duration: 100 })), E(R, K);
10330
10330
  };
10331
- X(lt, (R) => {
10332
- d(T) && R(ft);
10331
+ X(ct, (R) => {
10332
+ d($) && R(ft);
10333
10333
  });
10334
10334
  }
10335
- return y(se), bs(se, (R) => m(f, R), () => d(f)), S(t, se), ie({
10335
+ return y(ae), bs(ae, (R) => m(f, R), () => d(f)), E(t, ae), oe({
10336
10336
  get messages() {
10337
10337
  return n();
10338
10338
  },
@@ -10390,7 +10390,7 @@ function ho(t, e) {
10390
10390
  });
10391
10391
  }
10392
10392
  un(["click"]);
10393
- oe(
10393
+ le(
10394
10394
  ho,
10395
10395
  {
10396
10396
  messages: {},
@@ -10443,7 +10443,7 @@ const fm = {
10443
10443
  }`
10444
10444
  };
10445
10445
  function vo(t, e) {
10446
- ae(e, !0), de(t, fm);
10446
+ ie(e, !0), de(t, fm);
10447
10447
  let n = g(e, "showHistory", 15), r = g(e, "actChat", 15), s = g(e, "chats", 15), a = g(e, "messages", 15), i = g(e, "error", 15), o = g(e, "loadingChat", 15), c = g(e, "loadingChats", 15), l = g(e, "newChat", 7), u = g(e, "unreadChatIds", 15);
10448
10448
  const f = async (k) => {
10449
10449
  if (o(!0), u().includes(k))
@@ -10459,51 +10459,51 @@ function vo(t, e) {
10459
10459
  s(s().filter((_) => _._id !== k)), r()._id === k && l()();
10460
10460
  });
10461
10461
  };
10462
- var h = dm(), w = z(h);
10462
+ var h = dm(), w = T(h);
10463
10463
  {
10464
10464
  var x = (k) => {
10465
- var b = um(), _ = z(b), T = z(_, !0);
10465
+ var b = um(), _ = T(b), $ = T(_, !0);
10466
10466
  y(_);
10467
- var A = O(_, 2), $ = z(A);
10467
+ var A = O(_, 2), S = T(A);
10468
10468
  {
10469
10469
  var L = (M) => {
10470
10470
  var G = am();
10471
- S(M, G);
10471
+ E(M, G);
10472
10472
  }, D = (M) => {
10473
- var G = yt(), ge = it(G);
10474
- at(ge, 17, s, st, (nt, Ae) => {
10475
- var $e = cm(), se = z($e);
10476
- se.__click = [im, r, Ae, f];
10477
- var Xe = z(se), Qe = z(Xe, !0);
10473
+ var G = yt(), ge = ot(G);
10474
+ st(ge, 17, s, rt, (tt, Ee) => {
10475
+ var Ce = cm(), ae = T(Ce);
10476
+ ae.__click = [im, r, Ee, f];
10477
+ var Xe = T(ae), Qe = T(Xe, !0);
10478
10478
  y(Xe);
10479
- var lt = O(Xe, 2);
10479
+ var ct = O(Xe, 2);
10480
10480
  {
10481
- var ft = (ee) => {
10481
+ var ft = (K) => {
10482
10482
  var Le = om();
10483
- S(ee, Le);
10483
+ E(K, Le);
10484
10484
  };
10485
- X(lt, (ee) => {
10486
- u().includes(d(Ae)._id) && ee(ft);
10485
+ X(ct, (K) => {
10486
+ u().includes(d(Ee)._id) && K(ft);
10487
10487
  });
10488
10488
  }
10489
- y(se);
10490
- var R = O(se, 2);
10491
- R.__click = [lm, p, Ae], y($e), P(() => {
10492
- q($e, "style", r()._id === d(Ae)._id ? "background: #295dcf; cursor: default;" : ""), Te(Qe, d(Ae).title);
10493
- }), S(nt, $e);
10494
- }), S(M, G);
10489
+ y(ae);
10490
+ var R = O(ae, 2);
10491
+ R.__click = [lm, p, Ee], y(Ce), P(() => {
10492
+ q(Ce, "style", r()._id === d(Ee)._id ? "background: #295dcf; cursor: default;" : ""), Se(Qe, d(Ee).title);
10493
+ }), E(tt, Ce);
10494
+ }), E(M, G);
10495
10495
  };
10496
- X($, (M) => {
10496
+ X(S, (M) => {
10497
10497
  c() ? M(L) : M(D, !1);
10498
10498
  });
10499
10499
  }
10500
- y(A), y(b), P((M) => Te(T, M), [() => /* @__PURE__ */ ji()]), Rt(3, b, () => sc, () => ({ duration: 600 })), S(k, b);
10500
+ y(A), y(b), P((M) => Se($, M), [() => /* @__PURE__ */ ji()]), Rt(3, b, () => sc, () => ({ duration: 600 })), E(k, b);
10501
10501
  };
10502
10502
  X(w, (k) => {
10503
10503
  n() && k(x);
10504
10504
  });
10505
10505
  }
10506
- return y(h), S(t, h), ie({
10506
+ return y(h), E(t, h), oe({
10507
10507
  get showHistory() {
10508
10508
  return n();
10509
10509
  },
@@ -10561,7 +10561,7 @@ function vo(t, e) {
10561
10561
  });
10562
10562
  }
10563
10563
  un(["click"]);
10564
- oe(
10564
+ le(
10565
10565
  vo,
10566
10566
  {
10567
10567
  showHistory: {},
@@ -10587,8 +10587,8 @@ const xm = {
10587
10587
  code: ".loading-placeholder.svelte-1shw51p {display:flex;justify-content:center;align-items:center;height:100%;}.chat.svelte-1shw51p {position:fixed;bottom:0;right:0;width:75%;height:90%;min-width:300px;min-height:400px;border-radius:15px;display:flex;flex-direction:column;margin:30px;padding:10px;background:#295dcf;box-shadow:0 0 10px rgba(0, 0, 0, 0.1);resize:none;overflow:visible;z-index:1000;}.resize-handle.svelte-1shw51p {position:absolute;top:-2px;left:-2px;cursor:nw-resize;z-index:1002;display:flex;align-items:flex-start;justify-content:flex-start;}.resize-border-left.svelte-1shw51p {position:absolute;top:0;left:-2px;width:4px;height:100%;cursor:ew-resize;z-index:1001;background:transparent;}.resize-border-top.svelte-1shw51p {position:absolute;top:-2px;left:0;width:100%;height:4px;cursor:ns-resize;z-index:1001;background:transparent;}.no-select.svelte-1shw51p {user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;}.bottom-right-buttons.svelte-1shw51p {position:fixed;bottom:20px;right:0;display:flex;flex-direction:column;gap:15px;z-index:999;transform:translateX(50px);padding:5px;transition:350ms;}.bottom-right-buttons.visible.svelte-1shw51p {transform:translateX(0);}.bottom-right-buttons.svelte-1shw51p:hover {transform:translateX(0);}.pin-forge-buttons.svelte-1shw51p {width:30px;height:30px;border-radius:50%;border:none;background:rgba(0, 0, 0, 0.6);color:white;box-shadow:0 2px 8px rgba(0, 0, 0, 0.2);cursor:pointer;display:flex;align-items:center;justify-content:center;align-self:center;transition:200ms;font-size:14px;}.pin-forge-buttons.svelte-1shw51p:hover {background:rgba(0, 0, 0, 0.85);transform:scale(1.1);}.pin-forge-buttons.pinned.svelte-1shw51p {background:#295dcf;transform:rotate(45deg);}.pin-forge-buttons.pinned.svelte-1shw51p:hover {background:#1e4ba8;transform:rotate(45deg) scale(1.1);}.btn-with-tooltip.svelte-1shw51p {position:relative;display:flex;align-items:center;transition:300ms;}.btn-with-tooltip.svelte-1shw51p:hover {transform:translateX(-6px);}.custom-tooltip.svelte-1shw51p {position:absolute;right:70px;background:rgba(0, 0, 0, 0.85);color:white;padding:8px 12px;border-radius:6px;white-space:nowrap;font-size:14px;opacity:0;pointer-events:none;transition:opacity 200ms;box-shadow:0 2px 8px rgba(0, 0, 0, 0.3);}.hidden-btn.svelte-1shw51p {width:60px;height:60px;border-radius:50%;border:none;box-shadow:0 2px 8px rgba(0, 0, 0, 0.2);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:200ms;}.hidden-btn-1.svelte-1shw51p {background:#28853d;color:white;}.hidden-btn-1.svelte-1shw51p:hover {background:#206a31;}.hidden-btn-2.svelte-1shw51p {background:#0099ff;color:white;}.hidden-btn-2.svelte-1shw51p:hover {background:#007acc;}.drag-overlay.svelte-1shw51p {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(41, 93, 207, 0.95);border-radius:15px;display:flex;align-items:center;justify-content:center;z-index:1010;pointer-events:none;}.drag-content.svelte-1shw51p {text-align:center;color:white;}.drag-content.svelte-1shw51p p:where(.svelte-1shw51p) {margin-top:20px;font-size:24px;font-weight:600;}.upload-progress-overlay.svelte-1shw51p {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.8);border-radius:15px;display:flex;align-items:center;justify-content:center;z-index:1011;}.upload-progress-content.svelte-1shw51p {text-align:center;color:white;padding:30px;background:rgba(41, 93, 207, 0.9);border-radius:10px;min-width:300px;}.upload-filename.svelte-1shw51p {margin:15px 0 10px 0;font-size:16px;font-weight:500;}.progress-bar-container.svelte-1shw51p {width:100%;height:8px;background:rgba(255, 255, 255, 0.2);border-radius:4px;overflow:hidden;margin:10px 0;}.progress-bar.svelte-1shw51p {height:100%;background:white;border-radius:4px;transition:width 0.3s ease;}.upload-percentage.svelte-1shw51p {margin:10px 0 0 0;font-size:20px;font-weight:600;}"
10588
10588
  };
10589
10589
  function go(t, e) {
10590
- ae(e, !0), de(t, xm);
10591
- let n = Y(!1), r = Y(!1), s = Y("it"), a = Y(""), i = Y(0), o = Y(null), c = Y(C([])), l = Y(C([])), u = Y(!1), f = Y(!0), p = Y(C(new Audio())), h = Y(!0), w = Y(""), x = Y(""), k = Y(C([])), b = Y(0), _ = Y(null), T = Y(!1), A = Y(0), $ = Y("");
10590
+ ie(e, !0), de(t, xm);
10591
+ let n = Y(!1), r = Y(!1), s = Y("it"), a = Y(""), i = Y(0), o = Y(null), c = Y(C([])), l = Y(C([])), u = Y(!1), f = Y(!0), p = Y(C(new Audio())), h = Y(!0), w = Y(""), x = Y(""), k = Y(C([])), b = Y(0), _ = Y(null), $ = Y(!1), A = Y(0), S = Y("");
10592
10592
  const L = (N, B, te) => {
10593
10593
  m(x, d(x) + N), m(k, C(B)), m(b, C(te));
10594
10594
  };
@@ -10599,22 +10599,22 @@ function go(t, e) {
10599
10599
  "audit_handler",
10600
10600
  "suite_agent"
10601
10601
  ];
10602
- let G = Y(C({})), ge = Y(!0), nt = Y(!1);
10602
+ let G = Y(C({})), ge = Y(!0), tt = Y(!1);
10603
10603
  Ft(() => {
10604
- d(nt) && U.setForgeButtonsPinned(d(ge));
10604
+ d(tt) && U.setForgeButtonsPinned(d(ge));
10605
10605
  });
10606
- const Ae = async (N, B) => {
10607
- var V, J;
10606
+ const Ee = async (N, B) => {
10607
+ var Z, J;
10608
10608
  m(u, !0), d(w) && d(w) !== "" && (m(w, ""), m(x, ""), m(k, C([])), m(o, C(await _t.getChat(d(o)._id))), m(l, C(d(o).messages)));
10609
- let te = Object.values(d(G)).map((Q) => new Hr(Q.title, Q.ext_id, "", "", !0, "Documento Comune"));
10609
+ let te = Object.values(d(G)).map((V) => new Hr(V.title, V.ext_id, "", "", !0, "Documento Comune"));
10610
10610
  if (m(l, C([
10611
10611
  ...d(l),
10612
10612
  new nn((/* @__PURE__ */ new Date()).getTime(), !0, N, N, te)
10613
- ])), console.log("Current messages:", d(l)), d(l).length == 2 && (console.log("Creating new chat with state:", (V = d(o)) == null ? void 0 : V.state), m(o, C(await _t.newChat((J = d(o)) == null ? void 0 : J.state))), m(c, C([...d(c), d(o)])), d(o).messages = d(l), await Ge()), d(o)) {
10613
+ ])), console.log("Current messages:", d(l)), d(l).length == 2 && (console.log("Creating new chat with state:", (Z = d(o)) == null ? void 0 : Z.state), m(o, C(await _t.newChat((J = d(o)) == null ? void 0 : J.state))), m(c, C([...d(c), d(o)])), d(o).messages = d(l), await Ge()), d(o)) {
10614
10614
  m(_, C(new AbortController()));
10615
10615
  try {
10616
- let Q = await _t.sendMessage(d(o)._id, N, B, te, L, d(s), d(_).signal);
10617
- if (console.log(Q), Q) {
10616
+ let V = await _t.sendMessage(d(o)._id, N, B, te, L, d(s), d(_).signal);
10617
+ if (console.log(V), V) {
10618
10618
  m(l, C([
10619
10619
  ...d(l),
10620
10620
  new nn((/* @__PURE__ */ new Date()).getTime(), !1, "", d(x))
@@ -10625,156 +10625,165 @@ function go(t, e) {
10625
10625
  ...d(l),
10626
10626
  d(o).messages[d(o).messages.length - 1]
10627
10627
  ])), !d(h)) {
10628
- const Ce = d(o).messages[d(o).messages.length - 1];
10628
+ const ze = d(o).messages[d(o).messages.length - 1];
10629
10629
  try {
10630
- const Ee = await Us.getAudio(Ce.content, d(s));
10631
- m(p, C(new Audio(Ee))), await d(p).play();
10632
- } catch (Ee) {
10633
- console.error("Error playing audio:", Ee);
10630
+ const Te = await Us.getAudio(ze.content, d(s));
10631
+ m(p, C(new Audio(Te))), await d(p).play();
10632
+ } catch (Te) {
10633
+ console.error("Error playing audio:", Te);
10634
10634
  }
10635
10635
  }
10636
- } catch (Q) {
10637
- Q instanceof Error && Q.name !== "AbortError" && (console.error("Error sending message:", Q), m(w, C(/* @__PURE__ */ ka())));
10636
+ } catch (V) {
10637
+ V instanceof Error && V.name !== "AbortError" && (console.error("Error sending message:", V), m(w, C(/* @__PURE__ */ ka())));
10638
10638
  } finally {
10639
10639
  m(_, null), m(u, !1);
10640
10640
  }
10641
10641
  } else
10642
10642
  m(w, C(/* @__PURE__ */ ud())), m(u, !1);
10643
- }, $e = () => {
10643
+ }, Ce = () => {
10644
10644
  d(_) && d(_).abort();
10645
10645
  };
10646
- let se = Y(0);
10646
+ let ae = Y(0);
10647
10647
  const Xe = (N) => {
10648
10648
  var B;
10649
- !M.includes(d(D)) || (B = d(o)) != null && B.state.blockChat || (N.preventDefault(), N.stopPropagation(), Xn(se), m(T, !0));
10649
+ !M.includes(d(D)) || (B = d(o)) != null && B.state.blockChat || (N.preventDefault(), N.stopPropagation(), Xn(ae), m($, !0));
10650
10650
  }, Qe = (N) => {
10651
10651
  var B;
10652
10652
  !M.includes(d(D)) || (B = d(o)) != null && B.state.blockChat || (N.preventDefault(), N.stopPropagation());
10653
- }, lt = (N) => {
10653
+ }, ct = (N) => {
10654
10654
  var B;
10655
- !M.includes(d(D)) || (B = d(o)) != null && B.state.blockChat || (N.preventDefault(), N.stopPropagation(), Xn(se, -1), d(se) === 0 && m(T, !1));
10655
+ !M.includes(d(D)) || (B = d(o)) != null && B.state.blockChat || (N.preventDefault(), N.stopPropagation(), Xn(ae, -1), d(ae) === 0 && m($, !1));
10656
10656
  }, ft = async (N) => {
10657
- var rt, pe, ze, Je, Ke, me;
10658
- if (!M.includes(d(D)) || (rt = d(o)) != null && rt.state.blockChat) return;
10657
+ var nt, pe, $e, Je, Ke, me, We;
10658
+ if (!M.includes(d(D)) || (nt = d(o)) != null && nt.state.blockChat) return;
10659
10659
  N.preventDefault(), N.stopPropagation();
10660
10660
  const B = (pe = N.dataTransfer) == null ? void 0 : pe.types;
10661
- console.log("[DROP DEBUG] DataTransfer types:", B), m($, C(/* @__PURE__ */ xd())), m(A, 0);
10662
- let te = 0, V = 0;
10661
+ console.log("[DROP DEBUG] DataTransfer types:", B), m(S, C(/* @__PURE__ */ xd())), m(A, 0);
10662
+ let te = 0, Z = 0;
10663
10663
  console.log("[UPLOAD DEBUG] Inizio upload e progresso simulato");
10664
10664
  let J = setInterval(
10665
10665
  () => {
10666
- te < 75 && V < 50 && (te += Math.random() * 4 + 2, te > 75 && (te = 75), m(A, C(te)), console.log("[UPLOAD DEBUG] Fake progress:", te));
10666
+ te < 75 && Z < 50 && (te += Math.random() * 4 + 2, te > 75 && (te = 75), m(A, C(te)), console.log("[UPLOAD DEBUG] Fake progress:", te));
10667
10667
  },
10668
10668
  300
10669
- ), Q = "", Ce = "", Ee = "";
10669
+ ), V = "", ze = "", Te = "";
10670
10670
  if (B && B.includes("file_id")) {
10671
- let Oe = N.dataTransfer.getData("file_id");
10672
- console.log("[DROP DEBUG] externalId:", Oe);
10673
- let ct = U.getEnvironmentId().split("_")[1] + "_" + Oe;
10671
+ let qe = N.dataTransfer.getData("file_id");
10672
+ console.log("[DROP DEBUG] externalId:", qe);
10673
+ let se = U.getEnvironmentId().split("_")[1] + "_" + qe;
10674
10674
  try {
10675
- let Z = await kt.getDocumentFromSuite(ct);
10676
- if (!Z) {
10677
- J && (clearInterval(J), J = null), alert(/* @__PURE__ */ ws()), m(T, !1), m(se, 0), m($, ""), m(A, 0);
10675
+ let ee = await kt.getDocumentFromSuite(se);
10676
+ if (!ee) {
10677
+ J && (clearInterval(J), J = null), alert(/* @__PURE__ */ ws()), m($, !1), m(ae, 0), m(S, ""), m(A, 0);
10678
10678
  return;
10679
10679
  }
10680
- m($, C(Z.name));
10681
- const ue = await R(Z, J, (Re) => {
10682
- V = Re, Re > 50 && J && (clearInterval(J), J = null);
10680
+ m(S, C(ee.name));
10681
+ const Fe = await R(ee, J, (z) => {
10682
+ Z = z, z > 50 && J && (clearInterval(J), J = null);
10683
10683
  });
10684
- Q = ue.fileId, Ce = ue.aiFileId, Ee = Z.name, J && (clearInterval(J), J = null);
10685
- } catch (Z) {
10686
- console.error("Error fetching document from Suite:", Z), J && (clearInterval(J), J = null), alert(/* @__PURE__ */ ws()), m(T, !1), m(se, 0), m($, ""), m(A, 0);
10684
+ V = Fe.fileId, ze = Fe.aiFileId, Te = ee.name;
10685
+ let it = {
10686
+ id: V,
10687
+ filename: Te,
10688
+ suiteUrl: window.location.origin
10689
+ };
10690
+ ($e = d(o)) != null && $e.state.info && (d(o).state.info.push({
10691
+ key: "CLOUDSTORAGE_FILE_UPLOADED",
10692
+ value: JSON.stringify(it)
10693
+ }), d(o).state.info.push({ key: "AI_FILE_ID", value: ze }), Ee("", "__file_uploaded__")), J && (clearInterval(J), J = null);
10694
+ } catch (ee) {
10695
+ console.error("Error fetching document from Suite:", ee), J && (clearInterval(J), J = null), alert(/* @__PURE__ */ ws()), m($, !1), m(ae, 0), m(S, ""), m(A, 0);
10687
10696
  }
10688
10697
  } else {
10689
- const Oe = (ze = N.dataTransfer) == null ? void 0 : ze.files, We = Oe ? Array.from(Oe) : [], ct = !!((Ke = (Je = d(o)) == null ? void 0 : Je.state.info) != null && Ke.find((Z) => Z.key === "CLOUDSTORAGE_FILE_UPLOADED"));
10698
+ const qe = (Je = N.dataTransfer) == null ? void 0 : Je.files, at = qe ? Array.from(qe) : [], se = !!((me = (Ke = d(o)) == null ? void 0 : Ke.state.info) != null && me.find((ee) => ee.key === "CLOUDSTORAGE_FILE_UPLOADED"));
10690
10699
  try {
10691
- for (const Z of We) {
10692
- m($, C(Z.name));
10693
- const ue = await R(Z, J, (et) => {
10694
- V = et, et > 50 && J && (clearInterval(J), J = null);
10700
+ for (const ee of at) {
10701
+ m(S, C(ee.name));
10702
+ const Fe = await R(ee, J, (z) => {
10703
+ Z = z, z > 50 && J && (clearInterval(J), J = null);
10695
10704
  });
10696
- Q = ue.fileId, Ce = ue.aiFileId, Ee = Z.name;
10697
- let Re = {
10698
- id: Q,
10699
- filename: Ee,
10705
+ V = Fe.fileId, ze = Fe.aiFileId, Te = ee.name;
10706
+ let it = {
10707
+ id: V,
10708
+ filename: Te,
10700
10709
  suiteUrl: window.location.origin
10701
10710
  };
10702
- if ((me = d(o)) != null && me.state.info) {
10703
- let et = !1;
10704
- !ct && We.indexOf(Z) === We.length - 1 && (et = !0), d(o).state.info.push({
10711
+ if ((We = d(o)) != null && We.state.info) {
10712
+ let z = !1;
10713
+ !se && at.indexOf(ee) === at.length - 1 && (z = !0), d(o).state.info.push({
10705
10714
  key: "CLOUDSTORAGE_FILE_UPLOADED",
10706
- value: JSON.stringify(Re)
10707
- }), d(o).state.info.push({ key: "AI_FILE_ID", value: Ce }), et && Ae("", "__file_uploaded__");
10715
+ value: JSON.stringify(it)
10716
+ }), d(o).state.info.push({ key: "AI_FILE_ID", value: ze }), z && Ee("", "__file_uploaded__");
10708
10717
  }
10709
10718
  }
10710
- } catch (Z) {
10711
- console.error("Error uploading file:", Z);
10719
+ } catch (ee) {
10720
+ console.error("Error uploading file:", ee);
10712
10721
  } finally {
10713
- J && (clearInterval(J), J = null), m(T, !1), m(se, 0), m($, ""), m(A, 0);
10722
+ J && (clearInterval(J), J = null), m($, !1), m(ae, 0), m(S, ""), m(A, 0);
10714
10723
  }
10715
10724
  }
10716
10725
  }, R = async (N, B, te) => {
10717
10726
  try {
10718
- const V = await _t.uploadFile(N, (J) => {
10727
+ const Z = await _t.uploadFile(N, (J) => {
10719
10728
  console.log("[UPLOAD DEBUG] Callback ricevuto - Real progress:", J), te == null || te(J), J > 50 && (m(A, 75 + J * 0.25), console.log("[UPLOAD DEBUG] Using real progress - uploadProgress:", d(A)));
10720
10729
  });
10721
- return console.log("[UPLOAD DEBUG] Upload completato - fileId:", V.fileId), m($, ""), m(A, 0), d(G)[V.fileId] = {
10730
+ return console.log("[UPLOAD DEBUG] Upload completato - fileId:", Z.fileId), m(S, ""), m(A, 0), d(G)[Z.fileId] = {
10722
10731
  title: N.name,
10723
10732
  ext_id: "",
10724
10733
  gendoc_id: "",
10725
- storage_id: V.fileId,
10734
+ storage_id: Z.fileId,
10726
10735
  isCommon: !0
10727
10736
  }, {
10728
- fileId: V.fileId,
10729
- aiFileId: V.aiFileId
10737
+ fileId: Z.fileId,
10738
+ aiFileId: Z.aiFileId
10730
10739
  };
10731
- } catch (V) {
10732
- throw console.error("Error uploading file:", V), m(w, C(/* @__PURE__ */ ka())), m($, ""), m(A, 0), V;
10740
+ } catch (Z) {
10741
+ throw console.error("Error uploading file:", Z), m(w, C(/* @__PURE__ */ ka())), m(S, ""), m(A, 0), Z;
10733
10742
  }
10734
10743
  };
10735
10744
  Ft(() => {
10736
10745
  d(h) && d(p).pause();
10737
10746
  });
10738
- let ee = !1, Le, Pe, Ye, Me;
10739
- function Ne(N) {
10747
+ let K = !1, Le, Pe, Ye, Oe;
10748
+ function Me(N) {
10740
10749
  const B = N.target;
10741
10750
  if (B.closest(".resize-handle") || B.classList.contains("resize-border-left") || B.classList.contains("resize-border-top")) {
10742
- N.preventDefault(), N.stopPropagation(), ee = !0, Le = N.clientX, Pe = N.clientY;
10743
- const V = document.querySelector(".chat");
10744
- Ye = V.offsetWidth, Me = V.offsetHeight, V.classList.add("no-select");
10745
- const J = B.closest(".resize-handle"), Q = B.classList.contains("resize-border-left"), Ce = B.classList.contains("resize-border-top"), Ee = (pe) => {
10746
- if (!ee) return;
10751
+ N.preventDefault(), N.stopPropagation(), K = !0, Le = N.clientX, Pe = N.clientY;
10752
+ const Z = document.querySelector(".chat");
10753
+ Ye = Z.offsetWidth, Oe = Z.offsetHeight, Z.classList.add("no-select");
10754
+ const J = B.closest(".resize-handle"), V = B.classList.contains("resize-border-left"), ze = B.classList.contains("resize-border-top"), Te = (pe) => {
10755
+ if (!K) return;
10747
10756
  pe.preventDefault();
10748
- const ze = document.querySelector(".chat"), Je = window.innerWidth * 0.75, Ke = window.innerHeight * 0.9;
10749
- if (Q) {
10750
- const me = Le - pe.clientX, Oe = Math.min(Math.max(Ye + me, 300), Je);
10751
- ze.style.width = `${Oe}px`;
10752
- } else if (Ce) {
10753
- const me = Pe - pe.clientY, Oe = Math.min(Math.max(Me + me, 400), Ke);
10754
- ze.style.height = `${Oe}px`;
10757
+ const $e = document.querySelector(".chat"), Je = window.innerWidth * 0.75, Ke = window.innerHeight * 0.9;
10758
+ if (V) {
10759
+ const me = Le - pe.clientX, We = Math.min(Math.max(Ye + me, 300), Je);
10760
+ $e.style.width = `${We}px`;
10761
+ } else if (ze) {
10762
+ const me = Pe - pe.clientY, We = Math.min(Math.max(Oe + me, 400), Ke);
10763
+ $e.style.height = `${We}px`;
10755
10764
  } else if (J) {
10756
- const me = Le - pe.clientX, Oe = Pe - pe.clientY, We = Math.min(Math.max(Ye + me, 300), Je), ct = Math.min(Math.max(Me + Oe, 400), Ke);
10757
- ze.style.width = `${We}px`, ze.style.height = `${ct}px`;
10765
+ const me = Le - pe.clientX, We = Pe - pe.clientY, qe = Math.min(Math.max(Ye + me, 300), Je), at = Math.min(Math.max(Oe + We, 400), Ke);
10766
+ $e.style.width = `${qe}px`, $e.style.height = `${at}px`;
10758
10767
  }
10759
- }, rt = () => {
10768
+ }, nt = () => {
10760
10769
  var pe;
10761
- ee = !1, (pe = document.querySelector(".chat")) == null || pe.classList.remove("no-select"), document.removeEventListener("mousemove", Ee), document.removeEventListener("mouseup", rt);
10770
+ K = !1, (pe = document.querySelector(".chat")) == null || pe.classList.remove("no-select"), document.removeEventListener("mousemove", Te), document.removeEventListener("mouseup", nt);
10762
10771
  };
10763
- document.addEventListener("mousemove", Ee), document.addEventListener("mouseup", rt);
10772
+ document.addEventListener("mousemove", Te), document.addEventListener("mouseup", nt);
10764
10773
  }
10765
10774
  }
10766
10775
  const Ge = async () => {
10767
10776
  m(c, C(await _t.getChats())), m(c, C(d(c).sort((N, B) => B.lastUpdate - N.lastUpdate)));
10768
10777
  };
10769
10778
  let ke = Y(!1), W = Y(!1);
10770
- const Se = async () => {
10779
+ const Ie = async () => {
10771
10780
  d(n) ? d(r) ? (m(r, !1), setTimeout(
10772
10781
  () => {
10773
10782
  m(n, !1);
10774
10783
  },
10775
10784
  450
10776
10785
  )) : m(n, !1) : (m(n, !0), m(W, !0), await Ge(), m(W, !1));
10777
- }, le = () => {
10786
+ }, ce = () => {
10778
10787
  m(o, C(new vn(
10779
10788
  "",
10780
10789
  "",
@@ -10798,8 +10807,8 @@ function go(t, e) {
10798
10807
  let N = await _t.getUnreadChats();
10799
10808
  if (d(o) && N.includes(d(o)._id)) {
10800
10809
  await _t.readChat(d(o)._id), N = N.filter((te) => {
10801
- var V;
10802
- return te !== ((V = d(o)) == null ? void 0 : V._id);
10810
+ var Z;
10811
+ return te !== ((Z = d(o)) == null ? void 0 : Z._id);
10803
10812
  }), m(ke, !0);
10804
10813
  let B = await _t.getChat(d(o)._id);
10805
10814
  m(o, C(B)), m(l, C(d(o).messages)), m(ke, !1);
@@ -10813,7 +10822,7 @@ function go(t, e) {
10813
10822
  H !== void 0 && (clearInterval(H), H = void 0);
10814
10823
  })), Br(async () => {
10815
10824
  try {
10816
- m(s, C(K()));
10825
+ m(s, C(Q()));
10817
10826
  const N = await kt.getUsername();
10818
10827
  m(a, C(N));
10819
10828
  const B = await kt.getUserLevel();
@@ -10832,137 +10841,137 @@ function go(t, e) {
10832
10841
  info: []
10833
10842
  },
10834
10843
  [te]
10835
- ))), m(ge, C(U.getForgeButtonsPinned())), m(nt, !0);
10836
- const V = (J) => {
10837
- (J.clientX <= 0 || J.clientY <= 0 || J.clientX >= window.innerWidth || J.clientY >= window.innerHeight) && (m(T, !1), m(se, 0));
10844
+ ))), m(ge, C(U.getForgeButtonsPinned())), m(tt, !0);
10845
+ const Z = (J) => {
10846
+ (J.clientX <= 0 || J.clientY <= 0 || J.clientX >= window.innerWidth || J.clientY >= window.innerHeight) && (m($, !1), m(ae, 0));
10838
10847
  };
10839
- window.addEventListener("dragleave", V), window.addEventListener("dragend", () => {
10840
- m(T, !1), m(se, 0);
10848
+ window.addEventListener("dragleave", Z), window.addEventListener("dragend", () => {
10849
+ m($, !1), m(ae, 0);
10841
10850
  }), m(f, !1);
10842
10851
  } catch (N) {
10843
10852
  console.error("Failed to load username", N), m(w, C(/* @__PURE__ */ dd())), m(f, !1);
10844
10853
  }
10845
10854
  });
10846
- var ye = wm(), je = z(ye);
10855
+ var ye = wm(), je = T(ye);
10847
10856
  {
10848
- var qe = (N) => {
10857
+ var Ue = (N) => {
10849
10858
  var B = bm();
10850
- B.__mousedown = Ne;
10851
- var te = z(B);
10859
+ B.__mousedown = Me;
10860
+ var te = T(B);
10852
10861
  {
10853
- var V = (pe) => {
10854
- var ze = hm(), Je = z(ze), Ke = z(Je);
10862
+ var Z = (pe) => {
10863
+ var $e = hm(), Je = T($e), Ke = T(Je);
10855
10864
  rn(Ke, {
10856
10865
  icon: "mdi:file-upload",
10857
10866
  width: "80px",
10858
10867
  height: "80px",
10859
10868
  color: "white"
10860
10869
  });
10861
- var me = O(Ke, 2), Oe = z(me, !0);
10862
- y(me), y(Je), y(ze), P((We) => Te(Oe, We), [
10870
+ var me = O(Ke, 2), We = T(me, !0);
10871
+ y(me), y(Je), y($e), P((qe) => Se(We, qe), [
10863
10872
  () => /* @__PURE__ */ wd() || "Drop files here"
10864
- ]), Rt(3, ze, () => tn, () => ({ duration: 200 })), S(pe, ze);
10873
+ ]), Rt(3, $e, () => tn, () => ({ duration: 200 })), E(pe, $e);
10865
10874
  };
10866
10875
  X(te, (pe) => {
10867
- d(T) && pe(V);
10876
+ d($) && pe(Z);
10868
10877
  });
10869
10878
  }
10870
10879
  var J = O(te, 2);
10871
10880
  {
10872
- var Q = (pe) => {
10873
- var ze = vm(), Je = z(ze), Ke = z(Je);
10881
+ var V = (pe) => {
10882
+ var $e = vm(), Je = T($e), Ke = T(Je);
10874
10883
  rn(Ke, {
10875
10884
  icon: "svg-spinners:270-ring-with-bg",
10876
10885
  width: "50px",
10877
10886
  height: "50px",
10878
10887
  color: "white"
10879
10888
  });
10880
- var me = O(Ke, 2), Oe = z(me, !0);
10889
+ var me = O(Ke, 2), We = T(me, !0);
10881
10890
  y(me);
10882
- var We = O(me, 2), ct = z(We);
10883
- y(We);
10884
- var Z = O(We, 2), ue = z(Z);
10885
- y(Z), y(Je), y(ze), P(
10886
- (Re) => {
10887
- Te(Oe, d($)), q(ct, "style", `width: ${d(A) ?? ""}%`), Te(ue, `${Re ?? ""}%`);
10891
+ var qe = O(me, 2), at = T(qe);
10892
+ y(qe);
10893
+ var se = O(qe, 2), ee = T(se);
10894
+ y(se), y(Je), y($e), P(
10895
+ (Fe) => {
10896
+ Se(We, d(S)), q(at, "style", `width: ${d(A) ?? ""}%`), Se(ee, `${Fe ?? ""}%`);
10888
10897
  },
10889
10898
  [
10890
10899
  () => Math.round(d(A))
10891
10900
  ]
10892
- ), Rt(3, ze, () => tn, () => ({ duration: 200 })), S(pe, ze);
10901
+ ), Rt(3, $e, () => tn, () => ({ duration: 200 })), E(pe, $e);
10893
10902
  };
10894
10903
  X(J, (pe) => {
10895
- d($) && pe(Q);
10904
+ d(S) && pe(V);
10896
10905
  });
10897
10906
  }
10898
- var Ce = O(J, 2);
10907
+ var ze = O(J, 2);
10899
10908
  {
10900
- var Ee = (pe) => {
10901
- var ze = gm(), Je = z(ze);
10909
+ var Te = (pe) => {
10910
+ var $e = gm(), Je = T($e);
10902
10911
  rn(Je, {
10903
10912
  icon: "svg-spinners:270-ring-with-bg",
10904
10913
  width: "50px",
10905
10914
  height: "50px",
10906
10915
  color: "white"
10907
- }), y(ze), S(pe, ze);
10908
- }, rt = (pe) => {
10909
- var ze = yt(), Je = it(ze);
10916
+ }), y($e), E(pe, $e);
10917
+ }, nt = (pe) => {
10918
+ var $e = yt(), Je = ot($e);
10910
10919
  {
10911
10920
  var Ke = (me) => {
10912
- var Oe = mm(), We = it(Oe);
10913
- vo(We, {
10914
- newChat: le,
10921
+ var We = mm(), qe = ot(We);
10922
+ vo(qe, {
10923
+ newChat: ce,
10915
10924
  get showHistory() {
10916
10925
  return d(r);
10917
10926
  },
10918
- set showHistory(E) {
10919
- m(r, C(E));
10927
+ set showHistory(z) {
10928
+ m(r, C(z));
10920
10929
  },
10921
10930
  get actChat() {
10922
10931
  return d(o);
10923
10932
  },
10924
- set actChat(E) {
10925
- m(o, C(E));
10933
+ set actChat(z) {
10934
+ m(o, C(z));
10926
10935
  },
10927
10936
  get chats() {
10928
10937
  return d(c);
10929
10938
  },
10930
- set chats(E) {
10931
- m(c, C(E));
10939
+ set chats(z) {
10940
+ m(c, C(z));
10932
10941
  },
10933
10942
  get messages() {
10934
10943
  return d(l);
10935
10944
  },
10936
- set messages(E) {
10937
- m(l, C(E));
10945
+ set messages(z) {
10946
+ m(l, C(z));
10938
10947
  },
10939
10948
  get error() {
10940
10949
  return d(w);
10941
10950
  },
10942
- set error(E) {
10943
- m(w, C(E));
10951
+ set error(z) {
10952
+ m(w, C(z));
10944
10953
  },
10945
10954
  get loadingChat() {
10946
10955
  return d(ke);
10947
10956
  },
10948
- set loadingChat(E) {
10949
- m(ke, C(E));
10957
+ set loadingChat(z) {
10958
+ m(ke, C(z));
10950
10959
  },
10951
10960
  get loadingChats() {
10952
10961
  return d(W);
10953
10962
  },
10954
- set loadingChats(E) {
10955
- m(W, C(E));
10963
+ set loadingChats(z) {
10964
+ m(W, C(z));
10956
10965
  },
10957
10966
  get unreadChatIds() {
10958
10967
  return d(j);
10959
10968
  },
10960
- set unreadChatIds(E) {
10961
- m(j, C(E));
10969
+ set unreadChatIds(z) {
10970
+ m(j, C(z));
10962
10971
  }
10963
10972
  });
10964
- var ct = O(We, 6), Z = z(ct);
10965
- rn(Z, {
10973
+ var at = O(qe, 6), se = T(at);
10974
+ rn(se, {
10966
10975
  icon: "hugeicons:resize-field",
10967
10976
  width: "25px",
10968
10977
  height: "25px",
@@ -10970,170 +10979,170 @@ function go(t, e) {
10970
10979
  vFlip: !0,
10971
10980
  color: "white",
10972
10981
  style: "margin: 2px 0 0 2px;"
10973
- }), y(ct);
10974
- var ue = O(ct, 2);
10975
- Pi(ue, {
10976
- newChat: le,
10982
+ }), y(at);
10983
+ var ee = O(at, 2);
10984
+ Pi(ee, {
10985
+ newChat: ce,
10977
10986
  get show() {
10978
10987
  return d(n);
10979
10988
  },
10980
- set show(E) {
10981
- m(n, C(E));
10989
+ set show(z) {
10990
+ m(n, C(z));
10982
10991
  },
10983
10992
  get showHistory() {
10984
10993
  return d(r);
10985
10994
  },
10986
- set showHistory(E) {
10987
- m(r, C(E));
10995
+ set showHistory(z) {
10996
+ m(r, C(z));
10988
10997
  },
10989
10998
  get actChat() {
10990
10999
  return d(o);
10991
11000
  },
10992
- set actChat(E) {
10993
- m(o, C(E));
11001
+ set actChat(z) {
11002
+ m(o, C(z));
10994
11003
  },
10995
11004
  get muted() {
10996
11005
  return d(h);
10997
11006
  },
10998
- set muted(E) {
10999
- m(h, C(E));
11007
+ set muted(z) {
11008
+ m(h, C(z));
11000
11009
  },
11001
11010
  get languageSelected() {
11002
11011
  return d(s);
11003
11012
  },
11004
- set languageSelected(E) {
11005
- m(s, C(E));
11013
+ set languageSelected(z) {
11014
+ m(s, C(z));
11006
11015
  },
11007
11016
  get username() {
11008
11017
  return d(a);
11009
11018
  },
11010
- set username(E) {
11011
- m(a, C(E));
11019
+ set username(z) {
11020
+ m(a, C(z));
11012
11021
  },
11013
11022
  get error() {
11014
11023
  return d(w);
11015
11024
  },
11016
- set error(E) {
11017
- m(w, C(E));
11025
+ set error(z) {
11026
+ m(w, C(z));
11018
11027
  }
11019
11028
  });
11020
- var Re = O(ue, 2);
11021
- ho(Re, {
11029
+ var Fe = O(ee, 2);
11030
+ ho(Fe, {
11022
11031
  get messages() {
11023
11032
  return d(l);
11024
11033
  },
11025
- set messages(E) {
11026
- m(l, C(E));
11034
+ set messages(z) {
11035
+ m(l, C(z));
11027
11036
  },
11028
11037
  get loading() {
11029
11038
  return d(u);
11030
11039
  },
11031
- set loading(E) {
11032
- m(u, C(E));
11040
+ set loading(z) {
11041
+ m(u, C(z));
11033
11042
  },
11034
11043
  get error() {
11035
11044
  return d(w);
11036
11045
  },
11037
- set error(E) {
11038
- m(w, C(E));
11046
+ set error(z) {
11047
+ m(w, C(z));
11039
11048
  },
11040
11049
  get streamMessage() {
11041
11050
  return d(x);
11042
11051
  },
11043
- set streamMessage(E) {
11044
- m(x, C(E));
11052
+ set streamMessage(z) {
11053
+ m(x, C(z));
11045
11054
  },
11046
11055
  get streamAttachments() {
11047
11056
  return d(k);
11048
11057
  },
11049
- set streamAttachments(E) {
11050
- m(k, C(E));
11058
+ set streamAttachments(z) {
11059
+ m(k, C(z));
11051
11060
  },
11052
11061
  get streamedAgent() {
11053
11062
  return d(b);
11054
11063
  },
11055
- set streamedAgent(E) {
11056
- m(b, C(E));
11064
+ set streamedAgent(z) {
11065
+ m(b, C(z));
11057
11066
  },
11058
11067
  get languageSelected() {
11059
11068
  return d(s);
11060
11069
  },
11061
- set languageSelected(E) {
11062
- m(s, C(E));
11070
+ set languageSelected(z) {
11071
+ m(s, C(z));
11063
11072
  },
11064
11073
  get userLevel() {
11065
11074
  return d(i);
11066
11075
  },
11067
- set userLevel(E) {
11068
- m(i, C(E));
11076
+ set userLevel(z) {
11077
+ m(i, C(z));
11069
11078
  },
11070
11079
  get loadingChat() {
11071
11080
  return d(ke);
11072
11081
  },
11073
- set loadingChat(E) {
11074
- m(ke, C(E));
11082
+ set loadingChat(z) {
11083
+ m(ke, C(z));
11075
11084
  }
11076
11085
  });
11077
- var et = O(Re, 2);
11078
- Hi(et, {
11079
- sendMessage: Ae,
11080
- stopMessage: $e,
11086
+ var it = O(Fe, 2);
11087
+ Hi(it, {
11088
+ sendMessage: Ee,
11089
+ stopMessage: Ce,
11081
11090
  uploadFiles: R,
11082
11091
  get loading() {
11083
11092
  return d(u);
11084
11093
  },
11085
- set loading(E) {
11086
- m(u, C(E));
11094
+ set loading(z) {
11095
+ m(u, C(z));
11087
11096
  },
11088
11097
  get languageSelected() {
11089
11098
  return d(s);
11090
11099
  },
11091
- set languageSelected(E) {
11092
- m(s, C(E));
11100
+ set languageSelected(z) {
11101
+ m(s, C(z));
11093
11102
  },
11094
11103
  get modeSelected() {
11095
11104
  return d(D);
11096
11105
  },
11097
- set modeSelected(E) {
11098
- m(D, C(E));
11106
+ set modeSelected(z) {
11107
+ m(D, C(z));
11099
11108
  },
11100
11109
  get attachments() {
11101
11110
  return d(G);
11102
11111
  },
11103
- set attachments(E) {
11104
- m(G, C(E));
11112
+ set attachments(z) {
11113
+ m(G, C(z));
11105
11114
  },
11106
11115
  get userLevel() {
11107
11116
  return d(i);
11108
11117
  },
11109
- set userLevel(E) {
11110
- m(i, C(E));
11118
+ set userLevel(z) {
11119
+ m(i, C(z));
11111
11120
  },
11112
11121
  get actChat() {
11113
11122
  return d(o);
11114
11123
  },
11115
- set actChat(E) {
11116
- m(o, C(E));
11124
+ set actChat(z) {
11125
+ m(o, C(z));
11117
11126
  },
11118
11127
  get streamMessage() {
11119
11128
  return d(x);
11120
11129
  },
11121
- set streamMessage(E) {
11122
- m(x, C(E));
11130
+ set streamMessage(z) {
11131
+ m(x, C(z));
11123
11132
  },
11124
11133
  get uploadingFileName() {
11125
- return d($);
11134
+ return d(S);
11126
11135
  },
11127
- set uploadingFileName(E) {
11128
- m($, C(E));
11136
+ set uploadingFileName(z) {
11137
+ m(S, C(z));
11129
11138
  },
11130
11139
  get uploadProgress() {
11131
11140
  return d(A);
11132
11141
  },
11133
- set uploadProgress(E) {
11134
- m(A, C(E));
11142
+ set uploadProgress(z) {
11143
+ m(A, C(z));
11135
11144
  }
11136
- }), S(me, Oe);
11145
+ }), E(me, We);
11137
11146
  };
11138
11147
  X(
11139
11148
  Je,
@@ -11143,42 +11152,42 @@ function go(t, e) {
11143
11152
  !0
11144
11153
  );
11145
11154
  }
11146
- S(pe, ze);
11155
+ E(pe, $e);
11147
11156
  };
11148
- X(Ce, (pe) => {
11149
- d(f) ? pe(Ee) : pe(rt, !1);
11157
+ X(ze, (pe) => {
11158
+ d(f) ? pe(Te) : pe(nt, !1);
11150
11159
  });
11151
11160
  }
11152
- y(B), en("dragenter", B, Xe), en("dragover", B, Qe), en("dragleave", B, lt), en("drop", B, ft), Rt(3, B, () => nc, () => ({ y: 50, duration: 500 })), S(N, B);
11161
+ y(B), en("dragenter", B, Xe), en("dragover", B, Qe), en("dragleave", B, ct), en("drop", B, ft), Rt(3, B, () => nc, () => ({ y: 50, duration: 500 })), E(N, B);
11153
11162
  };
11154
11163
  X(je, (N) => {
11155
- d(n) && N(qe);
11164
+ d(n) && N(Ue);
11156
11165
  });
11157
11166
  }
11158
- var Fe = O(je, 2);
11159
- Fe.__click = [
11167
+ var Re = O(je, 2);
11168
+ Re.__click = [
11160
11169
  pm,
11161
11170
  D,
11162
- le,
11163
- Se,
11171
+ ce,
11172
+ Ie,
11164
11173
  G
11165
11174
  ];
11166
- var fe = O(z(Fe)), Ve = z(fe, !0);
11167
- y(fe), y(Fe), y(ye), P(
11175
+ var fe = O(T(Re)), Ve = T(fe, !0);
11176
+ y(fe), y(Re), y(ye), P(
11168
11177
  (N) => {
11169
- ut(Fe, `${`btn ${d(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1shw51p`), Te(Ve, N);
11178
+ ut(Re, `${`btn ${d(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1shw51p`), Se(Ve, N);
11170
11179
  },
11171
11180
  [() => /* @__PURE__ */ Uu()]
11172
- ), S(t, ye), ie();
11181
+ ), E(t, ye), oe();
11173
11182
  }
11174
11183
  un(["mousedown", "click"]);
11175
- oe(go, {}, [], [], !0);
11184
+ le(go, {}, [], [], !0);
11176
11185
  function _m(t, e) {
11177
- ae(e, !0);
11186
+ ie(e, !0);
11178
11187
  let n = g(e, "envId", 23, () => {
11179
11188
  }), r = g(e, "token", 23, () => {
11180
11189
  }), s = g(e, "lang", 7, "it");
11181
- return document.cookie = `akb-chat-envid=${n()}`, document.cookie = `akb-chat-token=${r()}`, oc(ph(s())), go(t, {}), ie({
11190
+ return document.cookie = `akb-chat-envid=${n()}`, document.cookie = `akb-chat-token=${r()}`, oc(ph(s())), go(t, {}), oe({
11182
11191
  get envId() {
11183
11192
  return n();
11184
11193
  },
@@ -11199,7 +11208,7 @@ function _m(t, e) {
11199
11208
  }
11200
11209
  });
11201
11210
  }
11202
- customElements.define("akb-chat", oe(
11211
+ customElements.define("akb-chat", le(
11203
11212
  _m,
11204
11213
  {
11205
11214
  token: {