akpm-knowledge-base-chat 1.0.78 → 1.0.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CDN/akb-chat.js +390 -390
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 1.0.
|
|
1
|
+
/* Version: 1.0.79 */
|
|
2
2
|
var oo = Object.defineProperty;
|
|
3
3
|
var Us = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
@@ -9,10 +9,10 @@ var Ge = (t, e, n) => (Ys(t, e, "read from private field"), n ? n.call(t) : e.ge
|
|
|
9
9
|
const co = "5";
|
|
10
10
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(co);
|
|
11
11
|
const ds = 1, fs = 2, Si = 4, uo = 8, fo = 16, ho = 1, po = 2, Ti = 4, vo = 8, go = 16, mo = 4, bo = 1, wo = 2, Ci = "[", hs = "[!", ps = "]", vn = {}, We = Symbol();
|
|
12
|
-
function
|
|
12
|
+
function _o(t) {
|
|
13
13
|
return t.endsWith("capture") && t !== "gotpointercapture" && t !== "lostpointercapture";
|
|
14
14
|
}
|
|
15
|
-
const
|
|
15
|
+
const xo = [
|
|
16
16
|
"beforeinput",
|
|
17
17
|
"click",
|
|
18
18
|
"change",
|
|
@@ -38,7 +38,7 @@ const _o = [
|
|
|
38
38
|
"touchstart"
|
|
39
39
|
];
|
|
40
40
|
function yo(t) {
|
|
41
|
-
return
|
|
41
|
+
return xo.includes(t);
|
|
42
42
|
}
|
|
43
43
|
const ko = {
|
|
44
44
|
// no `class: 'className'` because we handle that separately
|
|
@@ -59,7 +59,7 @@ function So(t) {
|
|
|
59
59
|
return $o.includes(t);
|
|
60
60
|
}
|
|
61
61
|
const Zr = !1;
|
|
62
|
-
var
|
|
62
|
+
var xr = Array.isArray, To = Array.prototype.indexOf, vs = Array.from, ar = Object.keys, or = Object.defineProperty, en = Object.getOwnPropertyDescriptor, Ei = Object.getOwnPropertyDescriptors, Co = Object.prototype, Eo = Array.prototype, gs = Object.getPrototypeOf;
|
|
63
63
|
function Io(t) {
|
|
64
64
|
return typeof t == "function";
|
|
65
65
|
}
|
|
@@ -72,7 +72,7 @@ function lr(t) {
|
|
|
72
72
|
for (var e = 0; e < t.length; e++)
|
|
73
73
|
t[e]();
|
|
74
74
|
}
|
|
75
|
-
const rt = 2, Ii = 4, Gn = 8, yr = 16, Tt = 32, sn = 64, cr = 128, an = 256, ur = 512, Ye = 1024, Ot = 2048, on = 4096,
|
|
75
|
+
const rt = 2, Ii = 4, Gn = 8, yr = 16, Tt = 32, sn = 64, cr = 128, an = 256, ur = 512, Ye = 1024, Ot = 2048, on = 4096, xt = 8192, yn = 16384, Ai = 32768, kr = 65536, Lo = 1 << 17, Ro = 1 << 19, Li = 1 << 20, Pt = Symbol("$state"), Ri = Symbol("legacy props"), jo = Symbol("");
|
|
76
76
|
function ji(t) {
|
|
77
77
|
return t === this.v;
|
|
78
78
|
}
|
|
@@ -135,7 +135,7 @@ function X(t) {
|
|
|
135
135
|
function zr(t, e = !1) {
|
|
136
136
|
var r;
|
|
137
137
|
const n = Je(t);
|
|
138
|
-
return e || (n.equals = ms), kn &&
|
|
138
|
+
return e || (n.equals = ms), kn && xe !== null && xe.l !== null && ((r = xe.l).s ?? (r.s = [])).push(n), n;
|
|
139
139
|
}
|
|
140
140
|
function Yt(t, e = !1) {
|
|
141
141
|
return /* @__PURE__ */ Pi(/* @__PURE__ */ zr(t, e));
|
|
@@ -145,12 +145,12 @@ function Pi(t) {
|
|
|
145
145
|
return ze !== null && ze.f & rt && (yt === null ? al([t]) : yt.push(t)), t;
|
|
146
146
|
}
|
|
147
147
|
function Nr(t, e) {
|
|
148
|
-
return
|
|
148
|
+
return x(
|
|
149
149
|
t,
|
|
150
150
|
St(() => p(t))
|
|
151
151
|
), e;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function x(t, e) {
|
|
154
154
|
return ze !== null && !Gt && Vn() && ze.f & (rt | yr) && // If the source was created locally within the current derived, then
|
|
155
155
|
// we allow the mutation.
|
|
156
156
|
(yt === null || !yt.includes(t)) && Ho(), Gr(t, e);
|
|
@@ -224,7 +224,7 @@ function L(t, e = null, n) {
|
|
|
224
224
|
const r = gs(t);
|
|
225
225
|
if (r !== Co && r !== Eo)
|
|
226
226
|
return t;
|
|
227
|
-
var s = /* @__PURE__ */ new Map(), i =
|
|
227
|
+
var s = /* @__PURE__ */ new Map(), i = xr(t), a = Je(0);
|
|
228
228
|
i && s.set("length", Je(
|
|
229
229
|
/** @type {any[]} */
|
|
230
230
|
t.length
|
|
@@ -237,7 +237,7 @@ function L(t, e = null, n) {
|
|
|
237
237
|
defineProperty(l, c, u) {
|
|
238
238
|
(!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Bo();
|
|
239
239
|
var d = s.get(c);
|
|
240
|
-
return d === void 0 ? (d = Je(u.value), s.set(c, d)) :
|
|
240
|
+
return d === void 0 ? (d = Je(u.value), s.set(c, d)) : x(d, L(u.value, o)), !0;
|
|
241
241
|
},
|
|
242
242
|
deleteProperty(l, c) {
|
|
243
243
|
var u = s.get(c);
|
|
@@ -249,9 +249,9 @@ function L(t, e = null, n) {
|
|
|
249
249
|
/** @type {Source<number>} */
|
|
250
250
|
s.get("length")
|
|
251
251
|
), f = Number(c);
|
|
252
|
-
Number.isInteger(f) && f < d.v &&
|
|
252
|
+
Number.isInteger(f) && f < d.v && x(d, f);
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
x(u, We), Hs(a);
|
|
255
255
|
}
|
|
256
256
|
return !0;
|
|
257
257
|
},
|
|
@@ -303,9 +303,9 @@ function L(t, e = null, n) {
|
|
|
303
303
|
for (var m = u; m < /** @type {Source<number>} */
|
|
304
304
|
f.v; m += 1) {
|
|
305
305
|
var b = s.get(m + "");
|
|
306
|
-
b !== void 0 ?
|
|
306
|
+
b !== void 0 ? x(b, We) : m in l && (b = Je(We), s.set(m + "", b));
|
|
307
307
|
}
|
|
308
|
-
f === void 0 ? (!h || (T = en(l, c)) != null && T.writable) && (f = Je(void 0),
|
|
308
|
+
f === void 0 ? (!h || (T = en(l, c)) != null && T.writable) && (f = Je(void 0), x(f, L(u, o)), s.set(c, f)) : (h = f.v !== We, x(f, L(u, o)));
|
|
309
309
|
var z = Reflect.getOwnPropertyDescriptor(l, c);
|
|
310
310
|
if (z != null && z.set && z.set.call(d, u), !h) {
|
|
311
311
|
if (i && typeof c == "string") {
|
|
@@ -313,7 +313,7 @@ function L(t, e = null, n) {
|
|
|
313
313
|
/** @type {Source<number>} */
|
|
314
314
|
s.get("length")
|
|
315
315
|
), y = Number(c);
|
|
316
|
-
Number.isInteger(y) && y >= w.v &&
|
|
316
|
+
Number.isInteger(y) && y >= w.v && x(w, y + 1);
|
|
317
317
|
}
|
|
318
318
|
Hs(a);
|
|
319
319
|
}
|
|
@@ -336,7 +336,7 @@ function L(t, e = null, n) {
|
|
|
336
336
|
);
|
|
337
337
|
}
|
|
338
338
|
function Hs(t, e = 1) {
|
|
339
|
-
|
|
339
|
+
x(t, t.v + e);
|
|
340
340
|
}
|
|
341
341
|
function Zs(t) {
|
|
342
342
|
return t !== null && typeof t == "object" && Pt in t ? t[Pt] : t;
|
|
@@ -378,7 +378,7 @@ function $(t, e) {
|
|
|
378
378
|
}
|
|
379
379
|
return dt(n), n;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function _e(t, e) {
|
|
382
382
|
if (!fe) {
|
|
383
383
|
var n = (
|
|
384
384
|
/** @type {DocumentFragment} */
|
|
@@ -419,7 +419,7 @@ function nt(t) {
|
|
|
419
419
|
) : null;
|
|
420
420
|
const r = {
|
|
421
421
|
children: null,
|
|
422
|
-
ctx:
|
|
422
|
+
ctx: xe,
|
|
423
423
|
deps: null,
|
|
424
424
|
equals: ji,
|
|
425
425
|
f: e,
|
|
@@ -493,7 +493,7 @@ function Vo(t, e) {
|
|
|
493
493
|
}
|
|
494
494
|
function ln(t, e, n, r = !0) {
|
|
495
495
|
var s = (t & sn) !== 0, i = he, a = {
|
|
496
|
-
ctx:
|
|
496
|
+
ctx: xe,
|
|
497
497
|
deps: null,
|
|
498
498
|
deriveds: null,
|
|
499
499
|
nodes_start: null,
|
|
@@ -535,11 +535,11 @@ function Xo(t) {
|
|
|
535
535
|
}
|
|
536
536
|
function Ft(t) {
|
|
537
537
|
Ui();
|
|
538
|
-
var e = he !== null && (he.f & Tt) !== 0 &&
|
|
538
|
+
var e = he !== null && (he.f & Tt) !== 0 && xe !== null && !xe.m;
|
|
539
539
|
if (e) {
|
|
540
540
|
var n = (
|
|
541
541
|
/** @type {ComponentContext} */
|
|
542
|
-
|
|
542
|
+
xe
|
|
543
543
|
);
|
|
544
544
|
(n.e ?? (n.e = [])).push({
|
|
545
545
|
fn: t,
|
|
@@ -574,16 +574,16 @@ function zn(t) {
|
|
|
574
574
|
function Wn(t, e) {
|
|
575
575
|
var n = (
|
|
576
576
|
/** @type {ComponentContextLegacy} */
|
|
577
|
-
|
|
577
|
+
xe
|
|
578
578
|
), r = { effect: null, ran: !1 };
|
|
579
579
|
n.l.r1.push(r), r.effect = $n(() => {
|
|
580
|
-
t(), !r.ran && (r.ran = !0,
|
|
580
|
+
t(), !r.ran && (r.ran = !0, x(n.l.r2, !0), St(e));
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
583
|
function Jn() {
|
|
584
584
|
var t = (
|
|
585
585
|
/** @type {ComponentContextLegacy} */
|
|
586
|
-
|
|
586
|
+
xe
|
|
587
587
|
);
|
|
588
588
|
$n(() => {
|
|
589
589
|
if (p(t.l.r2)) {
|
|
@@ -605,7 +605,7 @@ function F(t, e = [], n = nt) {
|
|
|
605
605
|
function Sr(t, e = 0) {
|
|
606
606
|
return ln(Gn | yr | e, t, !0);
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function _n(t, e = !0) {
|
|
609
609
|
return ln(Gn | Tt, t, !0, e);
|
|
610
610
|
}
|
|
611
611
|
function Yi(t) {
|
|
@@ -668,7 +668,7 @@ function Gi(t) {
|
|
|
668
668
|
}
|
|
669
669
|
function dr(t, e) {
|
|
670
670
|
var n = [];
|
|
671
|
-
|
|
671
|
+
_s(t, n, !0), Wi(n, () => {
|
|
672
672
|
zt(t), e && e();
|
|
673
673
|
});
|
|
674
674
|
}
|
|
@@ -681,14 +681,14 @@ function Wi(t, e) {
|
|
|
681
681
|
} else
|
|
682
682
|
e();
|
|
683
683
|
}
|
|
684
|
-
function
|
|
685
|
-
if (!(t.f &
|
|
686
|
-
if (t.f ^=
|
|
684
|
+
function _s(t, e, n) {
|
|
685
|
+
if (!(t.f & xt)) {
|
|
686
|
+
if (t.f ^= xt, t.transitions !== null)
|
|
687
687
|
for (const a of t.transitions)
|
|
688
688
|
(a.is_global || n) && e.push(a);
|
|
689
689
|
for (var r = t.first; r !== null; ) {
|
|
690
690
|
var s = r.next, i = (r.f & kr) !== 0 || (r.f & Tt) !== 0;
|
|
691
|
-
|
|
691
|
+
_s(r, e, i ? n : !1), r = s;
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
694
|
}
|
|
@@ -696,8 +696,8 @@ function fr(t) {
|
|
|
696
696
|
Ji(t, !0);
|
|
697
697
|
}
|
|
698
698
|
function Ji(t, e) {
|
|
699
|
-
if (t.f &
|
|
700
|
-
t.f ^=
|
|
699
|
+
if (t.f & xt) {
|
|
700
|
+
t.f ^= xt, t.f & Ye || (t.f ^= Ye), Tn(t) && (ht(t, Ot), Er(t));
|
|
701
701
|
for (var n = t.first; n !== null; ) {
|
|
702
702
|
var r = n.next, s = (n.f & kr) !== 0 || (n.f & Tt) !== 0;
|
|
703
703
|
Ji(n, s ? e : !1), n = r;
|
|
@@ -728,7 +728,7 @@ function rl(t) {
|
|
|
728
728
|
function sl() {
|
|
729
729
|
hr && Vi(), pr && Xi();
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function xs(t) {
|
|
732
732
|
throw new Error("https://svelte.dev/e/lifecycle_outside_component");
|
|
733
733
|
}
|
|
734
734
|
const Qi = 0, il = 1;
|
|
@@ -756,12 +756,12 @@ let Ve = null, tt = 0, At = null;
|
|
|
756
756
|
function ol(t) {
|
|
757
757
|
At = t;
|
|
758
758
|
}
|
|
759
|
-
let Ki = 1, vr = 0, Kt = !1,
|
|
759
|
+
let Ki = 1, vr = 0, Kt = !1, xe = null;
|
|
760
760
|
function ea() {
|
|
761
761
|
return ++Ki;
|
|
762
762
|
}
|
|
763
763
|
function Vn() {
|
|
764
|
-
return !kn ||
|
|
764
|
+
return !kn || xe !== null && xe.l === null;
|
|
765
765
|
}
|
|
766
766
|
function Tn(t) {
|
|
767
767
|
var c;
|
|
@@ -837,9 +837,9 @@ function ta(t, e, n = 0) {
|
|
|
837
837
|
}
|
|
838
838
|
function na(t) {
|
|
839
839
|
var h;
|
|
840
|
-
var e = Ve, n = tt, r = At, s = ze, i = Kt, a = yt, o =
|
|
840
|
+
var e = Ve, n = tt, r = At, s = ze, i = Kt, a = yt, o = xe, l = Gt, c = t.f;
|
|
841
841
|
Ve = /** @type {null | Value[]} */
|
|
842
|
-
null, tt = 0, At = null, ze = c & (Tt | sn) ? null : t, Kt = !gn && (c & an) !== 0, yt = null,
|
|
842
|
+
null, tt = 0, At = null, ze = c & (Tt | sn) ? null : t, Kt = !gn && (c & an) !== 0, yt = null, xe = t.ctx, Gt = !1, vr++;
|
|
843
843
|
try {
|
|
844
844
|
var u = (
|
|
845
845
|
/** @type {Function} */
|
|
@@ -866,7 +866,7 @@ function na(t) {
|
|
|
866
866
|
);
|
|
867
867
|
return s !== null && vr++, u;
|
|
868
868
|
} finally {
|
|
869
|
-
Ve = e, tt = n, At = r, ze = s, Kt = i, yt = a,
|
|
869
|
+
Ve = e, tt = n, At = r, ze = s, Kt = i, yt = a, xe = o, Gt = l;
|
|
870
870
|
}
|
|
871
871
|
}
|
|
872
872
|
function ul(t, e) {
|
|
@@ -897,7 +897,7 @@ function Cr(t) {
|
|
|
897
897
|
var e = t.f;
|
|
898
898
|
if (!(e & yn)) {
|
|
899
899
|
ht(t, Ye);
|
|
900
|
-
var n = he, r =
|
|
900
|
+
var n = he, r = xe;
|
|
901
901
|
he = t;
|
|
902
902
|
try {
|
|
903
903
|
e & yr ? tl(t) : Zi(t), Hi(t), Yi(t);
|
|
@@ -949,7 +949,7 @@ function dl(t) {
|
|
|
949
949
|
if (e !== 0)
|
|
950
950
|
for (var n = 0; n < e; n++) {
|
|
951
951
|
var r = t[n];
|
|
952
|
-
if (!(r.f & (yn |
|
|
952
|
+
if (!(r.f & (yn | xt)))
|
|
953
953
|
try {
|
|
954
954
|
Tn(r) && (Cr(r), r.deps === null && r.first === null && r.nodes_start === null && (r.teardown === null ? Gi(r) : r.fn = null));
|
|
955
955
|
} catch (s) {
|
|
@@ -979,7 +979,7 @@ function ia(t, e) {
|
|
|
979
979
|
var n = t.first, r = [];
|
|
980
980
|
e: for (; n !== null; ) {
|
|
981
981
|
var s = n.f, i = (s & Tt) !== 0, a = i && (s & Ye) !== 0, o = n.next;
|
|
982
|
-
if (!a && !(s &
|
|
982
|
+
if (!a && !(s & xt))
|
|
983
983
|
if (s & Gn) {
|
|
984
984
|
if (i)
|
|
985
985
|
n.f ^= Ye;
|
|
@@ -1082,18 +1082,18 @@ function ht(t, e) {
|
|
|
1082
1082
|
}
|
|
1083
1083
|
function Qr(t, e = 1) {
|
|
1084
1084
|
var n = p(t), r = e === 1 ? n++ : n--;
|
|
1085
|
-
return
|
|
1085
|
+
return x(t, n), r;
|
|
1086
1086
|
}
|
|
1087
1087
|
function te(t, e = !1, n) {
|
|
1088
|
-
|
|
1089
|
-
p:
|
|
1088
|
+
xe = {
|
|
1089
|
+
p: xe,
|
|
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
|
-
}, kn && !e && (
|
|
1096
|
+
}, kn && !e && (xe.l = {
|
|
1097
1097
|
s: null,
|
|
1098
1098
|
u: null,
|
|
1099
1099
|
r1: [],
|
|
@@ -1101,7 +1101,7 @@ function te(t, e = !1, n) {
|
|
|
1101
1101
|
});
|
|
1102
1102
|
}
|
|
1103
1103
|
function ne(t) {
|
|
1104
|
-
const e =
|
|
1104
|
+
const e = xe;
|
|
1105
1105
|
if (e !== null) {
|
|
1106
1106
|
t !== void 0 && (e.x = t);
|
|
1107
1107
|
const a = e.e;
|
|
@@ -1117,7 +1117,7 @@ function ne(t) {
|
|
|
1117
1117
|
ft(n), $t(r);
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
|
-
|
|
1120
|
+
xe = e.p, e.m = !0;
|
|
1121
1121
|
}
|
|
1122
1122
|
return t || /** @type {T} */
|
|
1123
1123
|
{};
|
|
@@ -1264,7 +1264,7 @@ function Pn(t) {
|
|
|
1264
1264
|
var b = i["__" + r];
|
|
1265
1265
|
if (b !== void 0 && !/** @type {any} */
|
|
1266
1266
|
i.disabled)
|
|
1267
|
-
if (
|
|
1267
|
+
if (xr(b)) {
|
|
1268
1268
|
var [z, ...w] = b;
|
|
1269
1269
|
z.apply(i, [t, ...w]);
|
|
1270
1270
|
} else
|
|
@@ -1355,7 +1355,7 @@ function ke() {
|
|
|
1355
1355
|
var t = document.createDocumentFragment(), e = document.createComment(""), n = wn();
|
|
1356
1356
|
return t.append(e, n), kt(e, n), t;
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1358
|
+
function _(t, e) {
|
|
1359
1359
|
if (fe) {
|
|
1360
1360
|
he.nodes_end = be, bn();
|
|
1361
1361
|
return;
|
|
@@ -1422,12 +1422,12 @@ function fa(t, { target: e, anchor: n, props: r = {}, events: s, context: i, int
|
|
|
1422
1422
|
l(vs(ca)), es.add(l);
|
|
1423
1423
|
var c = void 0, u = el(() => {
|
|
1424
1424
|
var d = n ?? e.appendChild(wn());
|
|
1425
|
-
return
|
|
1425
|
+
return _n(() => {
|
|
1426
1426
|
if (i) {
|
|
1427
1427
|
te({});
|
|
1428
1428
|
var f = (
|
|
1429
1429
|
/** @type {ComponentContext} */
|
|
1430
|
-
|
|
1430
|
+
xe
|
|
1431
1431
|
);
|
|
1432
1432
|
f.c = i;
|
|
1433
1433
|
}
|
|
@@ -1452,7 +1452,7 @@ function fa(t, { target: e, anchor: n, props: r = {}, events: s, context: i, int
|
|
|
1452
1452
|
return ns.set(c, u), c;
|
|
1453
1453
|
}
|
|
1454
1454
|
let ns = /* @__PURE__ */ new WeakMap();
|
|
1455
|
-
function
|
|
1455
|
+
function _l(t, e) {
|
|
1456
1456
|
const n = ns.get(t);
|
|
1457
1457
|
return n ? (ns.delete(t), n(e)) : Promise.resolve();
|
|
1458
1458
|
}
|
|
@@ -1471,9 +1471,9 @@ function G(t, e, n = !1) {
|
|
|
1471
1471
|
);
|
|
1472
1472
|
!!a === m && (r = Wr(), dt(r), jt(!1), h = !0);
|
|
1473
1473
|
}
|
|
1474
|
-
a ? (s ? fr(s) : f && (s =
|
|
1474
|
+
a ? (s ? fr(s) : f && (s = _n(() => f(r))), i && dr(i, () => {
|
|
1475
1475
|
i = null;
|
|
1476
|
-
})) : (i ? fr(i) : f && (i =
|
|
1476
|
+
})) : (i ? fr(i) : f && (i = _n(() => f(r))), s && dr(s, () => {
|
|
1477
1477
|
s = null;
|
|
1478
1478
|
})), h && jt(!0);
|
|
1479
1479
|
};
|
|
@@ -1484,9 +1484,9 @@ function G(t, e, n = !1) {
|
|
|
1484
1484
|
function De(t, e) {
|
|
1485
1485
|
return e;
|
|
1486
1486
|
}
|
|
1487
|
-
function
|
|
1487
|
+
function xl(t, e, n, r) {
|
|
1488
1488
|
for (var s = [], i = e.length, a = 0; a < i; a++)
|
|
1489
|
-
|
|
1489
|
+
_s(e[a].e, s, !0);
|
|
1490
1490
|
var o = i > 0 && s.length === 0 && n !== null;
|
|
1491
1491
|
if (o) {
|
|
1492
1492
|
var l = (
|
|
@@ -1521,7 +1521,7 @@ function Ne(t, e, n, r, s, i = null) {
|
|
|
1521
1521
|
fe && bn();
|
|
1522
1522
|
var u = null, d = !1, f = /* @__PURE__ */ Mi(() => {
|
|
1523
1523
|
var h = n();
|
|
1524
|
-
return
|
|
1524
|
+
return xr(h) ? h : h == null ? [] : vs(h);
|
|
1525
1525
|
});
|
|
1526
1526
|
Sr(() => {
|
|
1527
1527
|
var h = p(f), m = h.length;
|
|
@@ -1570,11 +1570,11 @@ function Ne(t, e, n, r, s, i = null) {
|
|
|
1570
1570
|
a,
|
|
1571
1571
|
s,
|
|
1572
1572
|
e,
|
|
1573
|
-
(I.f &
|
|
1573
|
+
(I.f & xt) !== 0,
|
|
1574
1574
|
r
|
|
1575
1575
|
);
|
|
1576
1576
|
}
|
|
1577
|
-
i !== null && (m === 0 ? u ? fr(u) : u =
|
|
1577
|
+
i !== null && (m === 0 ? u ? fr(u) : u = _n(() => i(a)) : u !== null && dr(u, () => {
|
|
1578
1578
|
u = null;
|
|
1579
1579
|
})), b && jt(!0), p(f);
|
|
1580
1580
|
}), fe && (a = be);
|
|
@@ -1604,7 +1604,7 @@ function yl(t, e, n, r, s, i, a, o) {
|
|
|
1604
1604
|
), d.set(q, b), w = [], y = [], h = b.next;
|
|
1605
1605
|
continue;
|
|
1606
1606
|
}
|
|
1607
|
-
if (c && kl(E, T, I, s), E.e.f &
|
|
1607
|
+
if (c && kl(E, T, I, s), E.e.f & xt && (fr(E.e), l && ((ye = E.a) == null || ye.unfix(), (z ?? (z = /* @__PURE__ */ new Set())).delete(E))), E !== h) {
|
|
1608
1608
|
if (m !== void 0 && m.has(E)) {
|
|
1609
1609
|
if (w.length < y.length) {
|
|
1610
1610
|
var C = y[0], A;
|
|
@@ -1620,7 +1620,7 @@ function yl(t, e, n, r, s, i, a, o) {
|
|
|
1620
1620
|
continue;
|
|
1621
1621
|
}
|
|
1622
1622
|
for (w = [], y = []; h !== null && h.k !== q; )
|
|
1623
|
-
(i || !(h.e.f &
|
|
1623
|
+
(i || !(h.e.f & xt)) && (m ?? (m = /* @__PURE__ */ new Set())).add(h), y.push(h), h = h.next;
|
|
1624
1624
|
if (h === null)
|
|
1625
1625
|
continue;
|
|
1626
1626
|
E = h;
|
|
@@ -1629,7 +1629,7 @@ function yl(t, e, n, r, s, i, a, o) {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
if (h !== null || m !== void 0) {
|
|
1631
1631
|
for (var U = m === void 0 ? [] : vs(m); h !== null; )
|
|
1632
|
-
(i || !(h.e.f &
|
|
1632
|
+
(i || !(h.e.f & xt)) && U.push(h), h = h.next;
|
|
1633
1633
|
var V = U.length;
|
|
1634
1634
|
if (V > 0) {
|
|
1635
1635
|
var oe = s & Si && u === 0 ? n : null;
|
|
@@ -1639,7 +1639,7 @@ function yl(t, e, n, r, s, i, a, o) {
|
|
|
1639
1639
|
for (I = 0; I < V; I += 1)
|
|
1640
1640
|
(re = U[I].a) == null || re.fix();
|
|
1641
1641
|
}
|
|
1642
|
-
|
|
1642
|
+
xl(e, U, oe, d);
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
1645
|
l && Sn(() => {
|
|
@@ -1668,7 +1668,7 @@ function ha(t, e, n, r, s, i, a, o, l, c) {
|
|
|
1668
1668
|
next: r
|
|
1669
1669
|
};
|
|
1670
1670
|
try {
|
|
1671
|
-
return m.e =
|
|
1671
|
+
return m.e = _n(() => o(t, f, h), fe), m.e.prev = n && n.e, m.e.next = r && r.e, n === null ? e.first = m : (n.next = m, n.e.next = m.e), r !== null && (r.prev = m, r.e.prev = m.e), m;
|
|
1672
1672
|
} finally {
|
|
1673
1673
|
}
|
|
1674
1674
|
}
|
|
@@ -1700,7 +1700,7 @@ function rs(t, e, n, r, s) {
|
|
|
1700
1700
|
fe && bn();
|
|
1701
1701
|
return;
|
|
1702
1702
|
}
|
|
1703
|
-
o !== void 0 && (zt(o), o = void 0), a !== "" && (o =
|
|
1703
|
+
o !== void 0 && (zt(o), o = void 0), a !== "" && (o = _n(() => {
|
|
1704
1704
|
if (fe) {
|
|
1705
1705
|
be.data;
|
|
1706
1706
|
for (var l = bn(), c = l; l !== null && (l.nodeType !== 8 || /** @type {Comment} */
|
|
@@ -1822,7 +1822,7 @@ function Qs(t, e, n, r, s = !1, i = !1, a = !1) {
|
|
|
1822
1822
|
const T = {}, q = "$$" + w;
|
|
1823
1823
|
let E = w.slice(2);
|
|
1824
1824
|
var m = yo(E);
|
|
1825
|
-
if (
|
|
1825
|
+
if (_o(E) && (E = E.slice(0, -7), T.capture = !0), !m && f) {
|
|
1826
1826
|
if (y != null) continue;
|
|
1827
1827
|
t.removeEventListener(E, o[q], T), o[q] = null;
|
|
1828
1828
|
}
|
|
@@ -2189,7 +2189,7 @@ function wa(t = {}, e, n, r) {
|
|
|
2189
2189
|
function Ke(t = !1) {
|
|
2190
2190
|
const e = (
|
|
2191
2191
|
/** @type {ComponentContextLegacy} */
|
|
2192
|
-
|
|
2192
|
+
xe
|
|
2193
2193
|
), n = e.l.u;
|
|
2194
2194
|
if (!n) return;
|
|
2195
2195
|
let r = () => Cn(e.s);
|
|
@@ -2225,7 +2225,7 @@ function ni(t, e) {
|
|
|
2225
2225
|
e();
|
|
2226
2226
|
}
|
|
2227
2227
|
function Ar(t) {
|
|
2228
|
-
|
|
2228
|
+
xe === null && xs(), kn && xe.l !== null ? Ml(xe).m.push(t) : Ft(() => {
|
|
2229
2229
|
const e = St(t);
|
|
2230
2230
|
if (typeof e == "function") return (
|
|
2231
2231
|
/** @type {() => void} */
|
|
@@ -2234,14 +2234,14 @@ function Ar(t) {
|
|
|
2234
2234
|
});
|
|
2235
2235
|
}
|
|
2236
2236
|
function Fl(t) {
|
|
2237
|
-
|
|
2237
|
+
xe === null && xs(), Ar(() => () => St(t));
|
|
2238
2238
|
}
|
|
2239
2239
|
function Ol(t, e, { bubbles: n = !1, cancelable: r = !1 } = {}) {
|
|
2240
2240
|
return new CustomEvent(t, { detail: e, bubbles: n, cancelable: r });
|
|
2241
2241
|
}
|
|
2242
2242
|
function ql() {
|
|
2243
|
-
const t =
|
|
2244
|
-
return t === null &&
|
|
2243
|
+
const t = xe;
|
|
2244
|
+
return t === null && xs(), (e, n, r) => {
|
|
2245
2245
|
var i;
|
|
2246
2246
|
const s = (
|
|
2247
2247
|
/** @type {Record<string, Function | Function[]>} */
|
|
@@ -2251,7 +2251,7 @@ function ql() {
|
|
|
2251
2251
|
]
|
|
2252
2252
|
);
|
|
2253
2253
|
if (s) {
|
|
2254
|
-
const a =
|
|
2254
|
+
const a = xr(s) ? s.slice() : [s], o = Ol(
|
|
2255
2255
|
/** @type {string} */
|
|
2256
2256
|
e,
|
|
2257
2257
|
n,
|
|
@@ -2383,7 +2383,7 @@ function g(t, e, n, r) {
|
|
|
2383
2383
|
return s || (I.equals = ms), function(C, A) {
|
|
2384
2384
|
if (arguments.length > 0) {
|
|
2385
2385
|
const Z = A ? p(I) : i && a ? L(C) : C;
|
|
2386
|
-
return I.equals(Z) || (T = !0,
|
|
2386
|
+
return I.equals(Z) || (T = !0, x(E, Z), m && f !== void 0 && (f = Z), St(() => p(I))), C;
|
|
2387
2387
|
}
|
|
2388
2388
|
return p(I);
|
|
2389
2389
|
};
|
|
@@ -2418,7 +2418,7 @@ class Yl {
|
|
|
2418
2418
|
return o === Ri ? !0 : (p(n.get(o) ?? r(o, Reflect.get(a, o))), Reflect.has(a, o));
|
|
2419
2419
|
},
|
|
2420
2420
|
set(a, o, l) {
|
|
2421
|
-
return
|
|
2421
|
+
return x(n.get(o) ?? r(o, l), l), Reflect.set(a, o, l);
|
|
2422
2422
|
}
|
|
2423
2423
|
}
|
|
2424
2424
|
);
|
|
@@ -2445,7 +2445,7 @@ class Yl {
|
|
|
2445
2445
|
(a) => {
|
|
2446
2446
|
Object.assign(s, a);
|
|
2447
2447
|
}, Ge(this, lt).$destroy = () => {
|
|
2448
|
-
|
|
2448
|
+
_l(Ge(this, lt));
|
|
2449
2449
|
};
|
|
2450
2450
|
}
|
|
2451
2451
|
/** @param {Record<string, any>} props */
|
|
@@ -2472,8 +2472,8 @@ class Yl {
|
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
2474
|
Lt = new WeakMap(), lt = new WeakMap();
|
|
2475
|
-
let
|
|
2476
|
-
typeof HTMLElement == "function" && (
|
|
2475
|
+
let _a;
|
|
2476
|
+
typeof HTMLElement == "function" && (_a = class extends HTMLElement {
|
|
2477
2477
|
/**
|
|
2478
2478
|
* @param {*} $$componentCtor
|
|
2479
2479
|
* @param {*} $$slots
|
|
@@ -2531,7 +2531,7 @@ typeof HTMLElement == "function" && (xa = class extends HTMLElement {
|
|
|
2531
2531
|
let e = function(s) {
|
|
2532
2532
|
return (i) => {
|
|
2533
2533
|
const a = document.createElement("slot");
|
|
2534
|
-
s !== "default" && (a.name = s),
|
|
2534
|
+
s !== "default" && (a.name = s), _(i, a);
|
|
2535
2535
|
};
|
|
2536
2536
|
};
|
|
2537
2537
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
@@ -2644,7 +2644,7 @@ function Hl(t) {
|
|
|
2644
2644
|
}), e;
|
|
2645
2645
|
}
|
|
2646
2646
|
function ae(t, e, n, r, s, i) {
|
|
2647
|
-
let a = class extends
|
|
2647
|
+
let a = class extends _a {
|
|
2648
2648
|
constructor() {
|
|
2649
2649
|
super(t, n, s), this.$$p_d = e;
|
|
2650
2650
|
}
|
|
@@ -2874,19 +2874,19 @@ function ii(t) {
|
|
|
2874
2874
|
function Kl(t) {
|
|
2875
2875
|
return Xl.includes(t);
|
|
2876
2876
|
}
|
|
2877
|
-
const ec = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", tc = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", nc = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", rc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", sc = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", ic = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", ac = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", oc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", lc = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", cc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", uc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, dc = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", fc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", pc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca",
|
|
2877
|
+
const ec = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", tc = /* @__NO_SIDE_EFFECTS__ */ () => "Scrivi un messaggio...", nc = /* @__NO_SIDE_EFFECTS__ */ () => "Aggiungi allegato", rc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", sc = /* @__NO_SIDE_EFFECTS__ */ () => "Normativa", ic = /* @__NO_SIDE_EFFECTS__ */ () => "Scegli", ac = /* @__NO_SIDE_EFFECTS__ */ () => "Documento Comune", oc = /* @__NO_SIDE_EFFECTS__ */ () => "Interrompi registrazione", lc = /* @__NO_SIDE_EFFECTS__ */ () => "Inizia registrazione", cc = /* @__NO_SIDE_EFFECTS__ */ () => "Invia messaggio", uc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Sei sicuro di voler eliminare la chat: ${t.chatTitle}?`, dc = /* @__NO_SIDE_EFFECTS__ */ () => "Nuova Chat", fc = /* @__NO_SIDE_EFFECTS__ */ () => "Cronologia", hc = /* @__NO_SIDE_EFFECTS__ */ () => "Attiva volume", pc = /* @__NO_SIDE_EFFECTS__ */ () => "Disattiva volume", vc = /* @__NO_SIDE_EFFECTS__ */ () => "Mostra cronologia", gc = /* @__NO_SIDE_EFFECTS__ */ () => "Chiudi", mc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti", bc = /* @__NO_SIDE_EFFECTS__ */ () => "Visualizza allegato", wc = /* @__NO_SIDE_EFFECTS__ */ () => "Cerca", _c = /* @__NO_SIDE_EFFECTS__ */ () => "Documenti", xc = /* @__NO_SIDE_EFFECTS__ */ () => "Ricerca in corso...", yc = /* @__NO_SIDE_EFFECTS__ */ () => "Inserisci almeno 3 caratteri per iniziare la ricerca", kc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna normativa trovata", zc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessun documento trovato", $c = /* @__NO_SIDE_EFFECTS__ */ () => "Riproduci", Sc = /* @__NO_SIDE_EFFECTS__ */ () => "Pausa", Tc = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante l'invio del messaggio. Riprova.", Cc = /* @__NO_SIDE_EFFECTS__ */ () => "Nessuna chat attiva. Crea una nuova chat per iniziare.", Ec = /* @__NO_SIDE_EFFECTS__ */ () => "Errore durante il caricamento del nome utente.", Ic = /* @__NO_SIDE_EFFECTS__ */ () => "Manuale Suite", Ac = /* @__NO_SIDE_EFFECTS__ */ () => "Ferma", Lc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia elenco fonti", Rc = /* @__NO_SIDE_EFFECTS__ */ () => "Fonti copiate!", jc = /* @__NO_SIDE_EFFECTS__ */ () => "Copia", Pc = /* @__NO_SIDE_EFFECTS__ */ () => "Copiato!", Fc = /* @__NO_SIDE_EFFECTS__ */ () => "AI Assistant", Oc = /* @__NO_SIDE_EFFECTS__ */ () => "Type your message here...", qc = /* @__NO_SIDE_EFFECTS__ */ () => "Add attachment", Mc = /* @__NO_SIDE_EFFECTS__ */ () => "Normatives", Dc = /* @__NO_SIDE_EFFECTS__ */ () => "Normative", Nc = /* @__NO_SIDE_EFFECTS__ */ () => "Choose", Bc = /* @__NO_SIDE_EFFECTS__ */ () => "Common Document", Uc = /* @__NO_SIDE_EFFECTS__ */ () => "Stop recording", Yc = /* @__NO_SIDE_EFFECTS__ */ () => "Start recording", Hc = /* @__NO_SIDE_EFFECTS__ */ () => "Send message", Zc = /* @__NO_SIDE_EFFECTS__ */ (t) => `Are you sure you want to delete the chat: ${t.chatTitle}?`, Gc = /* @__NO_SIDE_EFFECTS__ */ () => "New Chat", Wc = /* @__NO_SIDE_EFFECTS__ */ () => "History", Jc = /* @__NO_SIDE_EFFECTS__ */ () => "Unmute", Vc = /* @__NO_SIDE_EFFECTS__ */ () => "Mute", Xc = /* @__NO_SIDE_EFFECTS__ */ () => "Show history", Qc = /* @__NO_SIDE_EFFECTS__ */ () => "Close", Kc = /* @__NO_SIDE_EFFECTS__ */ () => "Sources", eu = /* @__NO_SIDE_EFFECTS__ */ () => "View attachment", tu = /* @__NO_SIDE_EFFECTS__ */ () => "Search", nu = /* @__NO_SIDE_EFFECTS__ */ () => "Documents", ru = /* @__NO_SIDE_EFFECTS__ */ () => "Search in progress...", su = /* @__NO_SIDE_EFFECTS__ */ () => "Please enter at least 3 characters to start the search", iu = /* @__NO_SIDE_EFFECTS__ */ () => "No normative found", au = /* @__NO_SIDE_EFFECTS__ */ () => "No document found", ou = /* @__NO_SIDE_EFFECTS__ */ () => "Play", lu = /* @__NO_SIDE_EFFECTS__ */ () => "Pause", cu = /* @__NO_SIDE_EFFECTS__ */ () => "Error sending message. Please try again.", uu = /* @__NO_SIDE_EFFECTS__ */ () => "No active chat. Please create a new chat to get started.", du = /* @__NO_SIDE_EFFECTS__ */ () => "Error loading username.", fu = /* @__NO_SIDE_EFFECTS__ */ () => "Suite Manual", hu = /* @__NO_SIDE_EFFECTS__ */ () => "Stop", pu = /* @__NO_SIDE_EFFECTS__ */ () => "Copy sources list", vu = /* @__NO_SIDE_EFFECTS__ */ () => "Sources copied!", gu = /* @__NO_SIDE_EFFECTS__ */ () => "Copy", mu = /* @__NO_SIDE_EFFECTS__ */ () => "Copied!", bu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2878
2878
|
en: Fc,
|
|
2879
2879
|
it: ec
|
|
2880
2880
|
})[e.languageTag ?? Q()](), wu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2881
2881
|
en: Oc,
|
|
2882
2882
|
it: tc
|
|
2883
|
-
})[e.languageTag ?? Q()](),
|
|
2883
|
+
})[e.languageTag ?? Q()](), _u = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2884
2884
|
en: qc,
|
|
2885
2885
|
it: nc
|
|
2886
|
-
})[e.languageTag ?? Q()](),
|
|
2886
|
+
})[e.languageTag ?? Q()](), xa = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2887
2887
|
en: Mc,
|
|
2888
2888
|
it: rc
|
|
2889
|
-
})[e.languageTag ?? Q()](),
|
|
2889
|
+
})[e.languageTag ?? Q()](), xu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2890
2890
|
en: Dc,
|
|
2891
2891
|
it: sc
|
|
2892
2892
|
})[e.languageTag ?? Q()](), yu = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
@@ -2936,10 +2936,10 @@ const ec = /* @__NO_SIDE_EFFECTS__ */ () => "Assistente AI", tc = /* @__NO_SIDE_
|
|
|
2936
2936
|
it: wc
|
|
2937
2937
|
})[e.languageTag ?? Q()](), oi = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2938
2938
|
en: nu,
|
|
2939
|
-
it:
|
|
2939
|
+
it: _c
|
|
2940
2940
|
})[e.languageTag ?? Q()](), Ru = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2941
2941
|
en: ru,
|
|
2942
|
-
it:
|
|
2942
|
+
it: xc
|
|
2943
2943
|
})[e.languageTag ?? Q()](), ju = /* @__NO_SIDE_EFFECTS__ */ (t = {}, e = {}) => ({
|
|
2944
2944
|
en: su,
|
|
2945
2945
|
it: yc
|
|
@@ -3013,10 +3013,10 @@ function Sa(t, e) {
|
|
|
3013
3013
|
O(C, "title", A), O(C, "aria-label", i() ? "Unmute" : "Mute");
|
|
3014
3014
|
},
|
|
3015
3015
|
[() => /* @__PURE__ */ Tu()]
|
|
3016
|
-
),
|
|
3016
|
+
), _(M, C);
|
|
3017
3017
|
}, T = (M) => {
|
|
3018
3018
|
var C = Gu();
|
|
3019
|
-
C.__click = [Zu, i], F((A) => O(C, "title", A), [() => /* @__PURE__ */ Cu()]),
|
|
3019
|
+
C.__click = [Zu, i], F((A) => O(C, "title", A), [() => /* @__PURE__ */ Cu()]), _(M, C);
|
|
3020
3020
|
};
|
|
3021
3021
|
G(w, (M) => {
|
|
3022
3022
|
i() ? M(y) : M(T, !1);
|
|
@@ -3040,7 +3040,7 @@ function Sa(t, e) {
|
|
|
3040
3040
|
() => /* @__PURE__ */ Eu(),
|
|
3041
3041
|
() => /* @__PURE__ */ Iu()
|
|
3042
3042
|
]
|
|
3043
|
-
), ba(h, a), tn(3, u, () => Lr, () => ({ duration: 300 })),
|
|
3043
|
+
), ba(h, a), tn(3, u, () => Lr, () => ({ duration: 300 })), _(t, u), ne({
|
|
3044
3044
|
get show() {
|
|
3045
3045
|
return n();
|
|
3046
3046
|
},
|
|
@@ -3315,7 +3315,7 @@ const cd = async (t) => {
|
|
|
3315
3315
|
});
|
|
3316
3316
|
}, dd = async () => {
|
|
3317
3317
|
let t = W.getEnvironmentId(), e = `https://${Ss(t)}.aksiliasuite.com/api/v1/operatore`;
|
|
3318
|
-
t == "aks_svi" && (e = "
|
|
3318
|
+
t == "aks_svi" && (e = "https://mike.aksiliasuite.com/api/v1/operatore");
|
|
3319
3319
|
const n = await fetch(e, {
|
|
3320
3320
|
headers: {
|
|
3321
3321
|
"x-token": W.getToken(),
|
|
@@ -3445,13 +3445,13 @@ const wd = {
|
|
|
3445
3445
|
}
|
|
3446
3446
|
}`
|
|
3447
3447
|
};
|
|
3448
|
-
function
|
|
3448
|
+
function _d(t, e) {
|
|
3449
3449
|
te(e, !1), ce(t, wd);
|
|
3450
3450
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "0.75s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
|
|
3451
3451
|
var o = bd();
|
|
3452
3452
|
return F(() => {
|
|
3453
3453
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`), ie(o, "pause-animation", a());
|
|
3454
|
-
}),
|
|
3454
|
+
}), _(t, o), ne({
|
|
3455
3455
|
get color() {
|
|
3456
3456
|
return n();
|
|
3457
3457
|
},
|
|
@@ -3485,7 +3485,7 @@ function xd(t, e) {
|
|
|
3485
3485
|
});
|
|
3486
3486
|
}
|
|
3487
3487
|
ae(
|
|
3488
|
-
|
|
3488
|
+
_d,
|
|
3489
3489
|
{
|
|
3490
3490
|
color: {},
|
|
3491
3491
|
unit: {},
|
|
@@ -3497,7 +3497,7 @@ ae(
|
|
|
3497
3497
|
[],
|
|
3498
3498
|
!0
|
|
3499
3499
|
);
|
|
3500
|
-
var
|
|
3500
|
+
var xd = /* @__PURE__ */ S('<div class="circle svelte-1w4sjib"></div>');
|
|
3501
3501
|
const yd = {
|
|
3502
3502
|
hash: "svelte-1w4sjib",
|
|
3503
3503
|
code: `.circle.svelte-1w4sjib {width:var(--size);height:var(--size);box-sizing:border-box;position:relative;border:3px solid transparent;border-top-color:var(--colorOuter);border-radius:50%;
|
|
@@ -3520,10 +3520,10 @@ const yd = {
|
|
|
3520
3520
|
function kd(t, e) {
|
|
3521
3521
|
te(e, !1), ce(t, yd);
|
|
3522
3522
|
let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), s = g(e, "pause", 12, !1), i = g(e, "colorOuter", 12, "#FF3E00"), a = g(e, "colorCenter", 12, "#40B3FF"), o = g(e, "colorInner", 12, "#676778"), l = g(e, "durationMultiplier", 12, 1), c = g(e, "durationOuter", 28, () => `${l() * 2}s`), u = g(e, "durationInner", 28, () => `${l() * 1.5}s`), d = g(e, "durationCenter", 28, () => `${l() * 3}s`);
|
|
3523
|
-
var f =
|
|
3523
|
+
var f = xd();
|
|
3524
3524
|
return F(() => {
|
|
3525
3525
|
O(f, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${o() ?? ""}; --colorCenter: ${a() ?? ""}; --colorOuter: ${i() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${d() ?? ""}; --durationOuter: ${c() ?? ""};`), ie(f, "pause-animation", s());
|
|
3526
|
-
}),
|
|
3526
|
+
}), _(t, f), ne({
|
|
3527
3527
|
get size() {
|
|
3528
3528
|
return n();
|
|
3529
3529
|
},
|
|
@@ -3648,7 +3648,7 @@ function Sd(t, e) {
|
|
|
3648
3648
|
var T = Y(w, 2), q = $(T);
|
|
3649
3649
|
return k(T), k(f), k(d), k(u), F(() => {
|
|
3650
3650
|
O(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${i() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${o() ?? ""}; --ballBottomRightColor: ${l() ?? ""}; --duration: ${c() ?? ""};`), ie(f, "pause-animation", s()), ie(m, "pause-animation", s()), ie(z, "pause-animation", s()), ie(y, "pause-animation", s()), ie(q, "pause-animation", s());
|
|
3651
|
-
}),
|
|
3651
|
+
}), _(t, u), ne({
|
|
3652
3652
|
get size() {
|
|
3653
3653
|
return n();
|
|
3654
3654
|
},
|
|
@@ -3749,8 +3749,8 @@ function Id(t, e) {
|
|
|
3749
3749
|
var h = Td();
|
|
3750
3750
|
F(() => {
|
|
3751
3751
|
O(h, "style", `animation: ${s() ?? ""} ${(p(f) === 1 ? `${(+l - 0.1) / 2}${o}` : "0s") ?? ""} infinite ease-in-out`), ie(h, "pause-animation", a());
|
|
3752
|
-
}),
|
|
3753
|
-
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)),
|
|
3752
|
+
}), _(d, h);
|
|
3753
|
+
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)), _(t, c), ne({
|
|
3754
3754
|
get color() {
|
|
3755
3755
|
return n();
|
|
3756
3756
|
},
|
|
@@ -3974,7 +3974,7 @@ function Rd(t, e) {
|
|
|
3974
3974
|
const n = Yt();
|
|
3975
3975
|
let r = g(e, "size", 12, "40px"), s = g(e, "duration", 12, "3s"), i = g(e, "pause", 12, !1);
|
|
3976
3976
|
Wn(() => Cn(r()), () => {
|
|
3977
|
-
|
|
3977
|
+
x(n, [
|
|
3978
3978
|
`width: ${r()}`,
|
|
3979
3979
|
`height: ${r()}`
|
|
3980
3980
|
].join(";"));
|
|
@@ -3982,7 +3982,7 @@ function Rd(t, e) {
|
|
|
3982
3982
|
var a = Ad();
|
|
3983
3983
|
return F(() => {
|
|
3984
3984
|
O(a, "style", `--duration: ${s() ?? ""}; ${p(n) ?? ""}`), ie(a, "pause-animation", i());
|
|
3985
|
-
}),
|
|
3985
|
+
}), _(t, a), ne({
|
|
3986
3986
|
get size() {
|
|
3987
3987
|
return r();
|
|
3988
3988
|
},
|
|
@@ -4025,7 +4025,7 @@ function Fd(t, e) {
|
|
|
4025
4025
|
var o = jd(), l = $(o);
|
|
4026
4026
|
return k(o), F(() => {
|
|
4027
4027
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}; --duration: ${s() ?? ""};`), ie(l, "pause-animation", a());
|
|
4028
|
-
}),
|
|
4028
|
+
}), _(t, o), ne({
|
|
4029
4029
|
get color() {
|
|
4030
4030
|
return n();
|
|
4031
4031
|
},
|
|
@@ -4138,7 +4138,7 @@ function Md(t, e) {
|
|
|
4138
4138
|
var l = Od(), c = $(l);
|
|
4139
4139
|
return k(l), F(() => {
|
|
4140
4140
|
O(l, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${a() ?? ""}; --floatSize: ${i() ?? ""}; --duration: ${s() ?? ""}`), ie(c, "pause-animation", o());
|
|
4141
|
-
}),
|
|
4141
|
+
}), _(t, l), ne({
|
|
4142
4142
|
get color() {
|
|
4143
4143
|
return n();
|
|
4144
4144
|
},
|
|
@@ -4217,8 +4217,8 @@ function Ud(t, e) {
|
|
|
4217
4217
|
var h = Dd();
|
|
4218
4218
|
F(() => {
|
|
4219
4219
|
O(h, "style", `animation-delay: ${(p(f) - 1) * (+l / 12)}${o ?? ""}`), ie(h, "pause-animation", a());
|
|
4220
|
-
}),
|
|
4221
|
-
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)),
|
|
4220
|
+
}), _(d, h);
|
|
4221
|
+
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)), _(t, c), ne({
|
|
4222
4222
|
get color() {
|
|
4223
4223
|
return n();
|
|
4224
4224
|
},
|
|
@@ -4308,7 +4308,7 @@ function Gd(t, e) {
|
|
|
4308
4308
|
Wn(
|
|
4309
4309
|
() => Cn(n()),
|
|
4310
4310
|
() => {
|
|
4311
|
-
|
|
4311
|
+
x(o, Es(n(), 0.2));
|
|
4312
4312
|
}
|
|
4313
4313
|
), Jn(), Ke();
|
|
4314
4314
|
var l = Hd();
|
|
@@ -4316,8 +4316,8 @@ function Gd(t, e) {
|
|
|
4316
4316
|
var d = Yd();
|
|
4317
4317
|
F(() => {
|
|
4318
4318
|
Xe(d, `lines small-lines ${p(u) ?? ""} svelte-bnawe9`), O(d, "style", `--color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(d, "pause-animation", a());
|
|
4319
|
-
}),
|
|
4320
|
-
}), k(l), F(() => O(l, "style", `--size: ${i() ?? ""}${r() ?? ""}; --rgba:${p(o) ?? ""}`)),
|
|
4319
|
+
}), _(c, d);
|
|
4320
|
+
}), k(l), F(() => O(l, "style", `--size: ${i() ?? ""}${r() ?? ""}; --rgba:${p(o) ?? ""}`)), _(t, l), ne({
|
|
4321
4321
|
get color() {
|
|
4322
4322
|
return n();
|
|
4323
4323
|
},
|
|
@@ -4392,8 +4392,8 @@ function Xd(t, e) {
|
|
|
4392
4392
|
var h = Wd();
|
|
4393
4393
|
F(() => {
|
|
4394
4394
|
O(h, "style", `animation-delay: ${+l / 3 * (p(f) - 1) + o};`), ie(h, "pause-animation", a());
|
|
4395
|
-
}),
|
|
4396
|
-
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)),
|
|
4395
|
+
}), _(d, h);
|
|
4396
|
+
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), _(t, c), ne({
|
|
4397
4397
|
get color() {
|
|
4398
4398
|
return n();
|
|
4399
4399
|
},
|
|
@@ -4472,8 +4472,8 @@ function tf(t, e) {
|
|
|
4472
4472
|
var u = Qd();
|
|
4473
4473
|
F(() => {
|
|
4474
4474
|
Xe(u, `border ${p(c) ?? ""} svelte-kxapcj`), ie(u, "pause-animation", a());
|
|
4475
|
-
}),
|
|
4476
|
-
}), k(o), F(() => O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)),
|
|
4475
|
+
}), _(l, u);
|
|
4476
|
+
}), k(o), F(() => O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), _(t, o), ne({
|
|
4477
4477
|
get color() {
|
|
4478
4478
|
return n();
|
|
4479
4479
|
},
|
|
@@ -4564,8 +4564,8 @@ function af(t, e) {
|
|
|
4564
4564
|
var h = nf();
|
|
4565
4565
|
F(() => {
|
|
4566
4566
|
O(h, "style", `--dotSize:${+i() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${p(f) * (+l / 10)}${o ?? ""};`), ie(h, "pause-animation", a());
|
|
4567
|
-
}),
|
|
4568
|
-
}), k(c), F(() => O(c, "style", `--size:${i() ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`)),
|
|
4567
|
+
}), _(d, h);
|
|
4568
|
+
}), k(c), F(() => O(c, "style", `--size:${i() ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`)), _(t, c), ne({
|
|
4569
4569
|
get color() {
|
|
4570
4570
|
return n();
|
|
4571
4571
|
},
|
|
@@ -4641,7 +4641,7 @@ function cf(t, e) {
|
|
|
4641
4641
|
var o = of(), l = $(o);
|
|
4642
4642
|
return k(o), F(() => {
|
|
4643
4643
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(l, "pause-animation", a());
|
|
4644
|
-
}),
|
|
4644
|
+
}), _(t, o), ne({
|
|
4645
4645
|
get color() {
|
|
4646
4646
|
return n();
|
|
4647
4647
|
},
|
|
@@ -4713,7 +4713,7 @@ function ff(t, e) {
|
|
|
4713
4713
|
var o = uf(), l = $(o);
|
|
4714
4714
|
return k(o), F(() => {
|
|
4715
4715
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(l, "pause-animation", a());
|
|
4716
|
-
}),
|
|
4716
|
+
}), _(t, o), ne({
|
|
4717
4717
|
get color() {
|
|
4718
4718
|
return n();
|
|
4719
4719
|
},
|
|
@@ -4786,8 +4786,8 @@ function Is(t, e) {
|
|
|
4786
4786
|
var h = hf();
|
|
4787
4787
|
F(() => {
|
|
4788
4788
|
O(h, "style", `animation-delay: ${p(f) * (+l / 10)}${o ?? ""}; left: ${p(f) * (+i() / 3 + +i() / 15) + r()};`), ie(h, "pause-animation", a());
|
|
4789
|
-
}),
|
|
4790
|
-
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)),
|
|
4789
|
+
}), _(d, h);
|
|
4790
|
+
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""}`)), _(t, c), ne({
|
|
4791
4791
|
get color() {
|
|
4792
4792
|
return n();
|
|
4793
4793
|
},
|
|
@@ -4860,8 +4860,8 @@ function wf(t, e) {
|
|
|
4860
4860
|
var h = gf();
|
|
4861
4861
|
F(() => {
|
|
4862
4862
|
O(h, "style", `animation-delay: ${p(f) * (+l / 25)}${o ?? ""}; width: ${p(f) * (+i() / 6) + r()}; height: ${p(f) * (+i() / 6) / 2 + r()}; `), ie(h, "pause-animation", a());
|
|
4863
|
-
}),
|
|
4864
|
-
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-i() / 5}${r() ?? ""}; --motionTwo: ${+i() / 4}${r() ?? ""}; --motionThree: ${-i() / 5}${r() ?? ""}; --duration: ${s() ?? ""};`)),
|
|
4863
|
+
}), _(d, h);
|
|
4864
|
+
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-i() / 5}${r() ?? ""}; --motionTwo: ${+i() / 4}${r() ?? ""}; --motionThree: ${-i() / 5}${r() ?? ""}; --duration: ${s() ?? ""};`)), _(t, c), ne({
|
|
4865
4865
|
get color() {
|
|
4866
4866
|
return n();
|
|
4867
4867
|
},
|
|
@@ -4907,7 +4907,7 @@ ae(
|
|
|
4907
4907
|
[],
|
|
4908
4908
|
!0
|
|
4909
4909
|
);
|
|
4910
|
-
var
|
|
4910
|
+
var _f = /* @__PURE__ */ S('<div class="dot svelte-1uhddr4"></div>'), xf = /* @__PURE__ */ S('<div class="wrapper svelte-1uhddr4"><div class="spinner svelte-1uhddr4"></div></div>');
|
|
4911
4911
|
const yf = {
|
|
4912
4912
|
hash: "svelte-1uhddr4",
|
|
4913
4913
|
code: `.wrapper.svelte-1uhddr4 {height:var(--size);width:var(--size);display:flex;justify-content:center;align-items:center;}.spinner.svelte-1uhddr4 {height:var(--size);width:var(--size);
|
|
@@ -4934,15 +4934,15 @@ function kf(t, e) {
|
|
|
4934
4934
|
te(e, !1), ce(t, yf);
|
|
4935
4935
|
let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), s = g(e, "duration", 12, "2s"), i = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), o = ((d = s().match(Me)) == null ? void 0 : d[0]) ?? "s", l = s().replace(Me, "");
|
|
4936
4936
|
Ke();
|
|
4937
|
-
var c =
|
|
4937
|
+
var c = xf(), u = $(c);
|
|
4938
4938
|
return Ne(u, 5, () => mt(2, 0), De, (f, h) => {
|
|
4939
|
-
var m =
|
|
4939
|
+
var m = _f();
|
|
4940
4940
|
F(() => {
|
|
4941
4941
|
O(m, "style", `animation-delay: ${(p(h) === 1 ? `${+l / 2}${o}` : "0s") ?? ""}; ${(p(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(p(h) === 1 ? "top: auto;" : "") ?? ""}`), ie(m, "pause-animation", a());
|
|
4942
|
-
}),
|
|
4942
|
+
}), _(f, m);
|
|
4943
4943
|
}), k(u), k(c), F(() => {
|
|
4944
4944
|
O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(u, "pause-animation", a());
|
|
4945
|
-
}),
|
|
4945
|
+
}), _(t, c), ne({
|
|
4946
4946
|
get color() {
|
|
4947
4947
|
return n();
|
|
4948
4948
|
},
|
|
@@ -5018,7 +5018,7 @@ function Sf(t, e) {
|
|
|
5018
5018
|
var o = zf();
|
|
5019
5019
|
return F(() => {
|
|
5020
5020
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(o, "pause-animation", a());
|
|
5021
|
-
}),
|
|
5021
|
+
}), _(t, o), ne({
|
|
5022
5022
|
get color() {
|
|
5023
5023
|
return n();
|
|
5024
5024
|
},
|
|
@@ -5112,7 +5112,7 @@ function Ef(t, e) {
|
|
|
5112
5112
|
var o = Tf(), l = $(o);
|
|
5113
5113
|
return k(o), F(() => {
|
|
5114
5114
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(l, "pause-animation", a());
|
|
5115
|
-
}),
|
|
5115
|
+
}), _(t, o), ne({
|
|
5116
5116
|
get color() {
|
|
5117
5117
|
return n();
|
|
5118
5118
|
},
|
|
@@ -5176,7 +5176,7 @@ function Lf(t, e) {
|
|
|
5176
5176
|
var c = If(), u = $(c), d = Y(u, 2);
|
|
5177
5177
|
return k(c), F(() => {
|
|
5178
5178
|
O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${l ?? ""}${r() ?? ""}; --duration: ${s() ?? ""};`), ie(c, "pause-animation", a()), ie(u, "pause-animation", a()), ie(d, "pause-animation", a());
|
|
5179
|
-
}),
|
|
5179
|
+
}), _(t, c), ne({
|
|
5180
5180
|
get color() {
|
|
5181
5181
|
return n();
|
|
5182
5182
|
},
|
|
@@ -5261,13 +5261,13 @@ function Pf(t, e) {
|
|
|
5261
5261
|
Wn(
|
|
5262
5262
|
() => Cn(n()),
|
|
5263
5263
|
() => {
|
|
5264
|
-
|
|
5264
|
+
x(o, Es(n(), 0.6));
|
|
5265
5265
|
}
|
|
5266
5266
|
), Jn(), Ke();
|
|
5267
5267
|
var l = Rf(), c = $(l);
|
|
5268
5268
|
return k(l), F(() => {
|
|
5269
5269
|
O(l, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(o) ?? ""}; --duration: ${s() ?? ""};`), ie(c, "pause-animation", a());
|
|
5270
|
-
}),
|
|
5270
|
+
}), _(t, l), ne({
|
|
5271
5271
|
get color() {
|
|
5272
5272
|
return n();
|
|
5273
5273
|
},
|
|
@@ -5336,7 +5336,7 @@ function qf(t, e) {
|
|
|
5336
5336
|
var o = Ff();
|
|
5337
5337
|
return F(() => {
|
|
5338
5338
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${s() ?? ""};`), ie(o, "pause-animation", a());
|
|
5339
|
-
}),
|
|
5339
|
+
}), _(t, o), ne({
|
|
5340
5340
|
get color() {
|
|
5341
5341
|
return n();
|
|
5342
5342
|
},
|
|
@@ -5403,7 +5403,7 @@ function Nf(t, e) {
|
|
|
5403
5403
|
var o = Mf();
|
|
5404
5404
|
return F(() => {
|
|
5405
5405
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${s() ?? ""}`), ie(o, "pause-animation", a());
|
|
5406
|
-
}),
|
|
5406
|
+
}), _(t, o), ne({
|
|
5407
5407
|
get color() {
|
|
5408
5408
|
return n();
|
|
5409
5409
|
},
|
|
@@ -5477,8 +5477,8 @@ function Hf(t, e) {
|
|
|
5477
5477
|
var h = Bf();
|
|
5478
5478
|
F(() => {
|
|
5479
5479
|
O(h, "style", `left: ${p(f) * (+i() / 5 + (+i() / 15 - +i() / 100)) + r()}; animation-delay: ${p(f) * (+l / 8.3)}${o ?? ""};`), ie(h, "pause-animation", a());
|
|
5480
|
-
}),
|
|
5481
|
-
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)),
|
|
5480
|
+
}), _(d, h);
|
|
5481
|
+
}), k(c), F(() => O(c, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`)), _(t, c), ne({
|
|
5482
5482
|
get color() {
|
|
5483
5483
|
return n();
|
|
5484
5484
|
},
|
|
@@ -5553,7 +5553,7 @@ function Jf(t, e) {
|
|
|
5553
5553
|
Wn(
|
|
5554
5554
|
() => Cn(n()),
|
|
5555
5555
|
() => {
|
|
5556
|
-
|
|
5556
|
+
x(c, Es(n(), 1));
|
|
5557
5557
|
}
|
|
5558
5558
|
), Jn(), Ke();
|
|
5559
5559
|
var u = Gf();
|
|
@@ -5561,8 +5561,8 @@ function Jf(t, e) {
|
|
|
5561
5561
|
var m = Zf();
|
|
5562
5562
|
F(() => {
|
|
5563
5563
|
O(m, "style", `animation-delay: ${(p(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +l + o};`), ie(m, "pause-animation", a());
|
|
5564
|
-
}),
|
|
5565
|
-
}), k(u), F(() => O(u, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(c) ?? ""}; --duration: ${s() ?? ""}`)),
|
|
5564
|
+
}), _(f, m);
|
|
5565
|
+
}), k(u), F(() => O(u, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(c) ?? ""}; --duration: ${s() ?? ""}`)), _(t, u), ne({
|
|
5566
5566
|
get color() {
|
|
5567
5567
|
return n();
|
|
5568
5568
|
},
|
|
@@ -5628,7 +5628,7 @@ function Qf(t, e) {
|
|
|
5628
5628
|
var o = Vf();
|
|
5629
5629
|
return F(() => {
|
|
5630
5630
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(o, "pause-animation", a());
|
|
5631
|
-
}),
|
|
5631
|
+
}), _(t, o), ne({
|
|
5632
5632
|
get color() {
|
|
5633
5633
|
return n();
|
|
5634
5634
|
},
|
|
@@ -5694,7 +5694,7 @@ function th(t, e) {
|
|
|
5694
5694
|
var o = Kf();
|
|
5695
5695
|
return F(() => {
|
|
5696
5696
|
O(o, "style", `--size: ${i() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${s() ?? ""};`), ie(o, "pause-animation", a());
|
|
5697
|
-
}),
|
|
5697
|
+
}), _(t, o), ne({
|
|
5698
5698
|
get color() {
|
|
5699
5699
|
return n();
|
|
5700
5700
|
},
|
|
@@ -5744,7 +5744,7 @@ function Zt(t) {
|
|
|
5744
5744
|
switch (t) {
|
|
5745
5745
|
case "normative":
|
|
5746
5746
|
return {
|
|
5747
|
-
name: /* @__PURE__ */
|
|
5747
|
+
name: /* @__PURE__ */ xu(),
|
|
5748
5748
|
icon: "fa-solid fa-book-open",
|
|
5749
5749
|
color: "#28853d",
|
|
5750
5750
|
textColor: "white"
|
|
@@ -5767,23 +5767,23 @@ function Zt(t) {
|
|
|
5767
5767
|
}
|
|
5768
5768
|
const nh = (t, e, n, r, s) => {
|
|
5769
5769
|
const i = t.target;
|
|
5770
|
-
if (
|
|
5770
|
+
if (x(e, L(i.value)), n() !== "") {
|
|
5771
5771
|
r(p(e));
|
|
5772
5772
|
return;
|
|
5773
5773
|
}
|
|
5774
5774
|
s(p(e));
|
|
5775
5775
|
};
|
|
5776
|
-
var rh = /* @__PURE__ */ S('<div class="text-center p-3"><!> <p class="mt-2 text-muted"> </p></div>'), sh = /* @__PURE__ */ S('<div class="text-center p-3"><i class="fa-solid fa-search text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), ih = /* @__PURE__ */ S('<div class="text-center p-3"><i class="fa-solid fa-file-circle-exclamation text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), ah = (t, e, n) => e(p(n)), oh = /* @__PURE__ */ S('<button class="document-item svelte-m8ylyl"><div class="document-icon svelte-m8ylyl"><i></i></div> <div class="document-info"><div class="document-title svelte-m8ylyl"> </div></div></button>'), lh = /* @__PURE__ */ S('<div class="documents-list svelte-m8ylyl"></div>'), ch = /* @__PURE__ */ S('<div class="text-center p-3"><i class="fa-solid fa-file-circle-exclamation text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), uh = (t, e, n) => e(p(n)), dh = /* @__PURE__ */ S('<i class="fa-solid fa-file" style="color: #295DCF"></i>'), fh = /* @__PURE__ */ S('<i class="fa-solid fa-file-pdf" style="color: #f0463c;"></i>'), hh = /* @__PURE__ */ S('<i class="fa-solid fa-file-word" style="color: #305b9a;"></i>'), ph = /* @__PURE__ */ S('<i class="fa-solid fa-file-excel" style="color: #0c7540;"></i>'), vh = /* @__PURE__ */ S('<i class="fa-solid fa-file-powerpoint" style="color: #d14b2b;"></i>'), gh = /* @__PURE__ */ S('<i class="fa-solid fa-passport" style="color: #0DCAF0"></i>'), mh = /* @__PURE__ */ S('<i class="fa-solid fa-file"></i>'), bh = /* @__PURE__ */ S('<button class="document-item svelte-m8ylyl"><div class="document-icon svelte-m8ylyl"><!></div> <div class="document-info"><div class="document-title svelte-m8ylyl"> </div> <div class="document-path svelte-m8ylyl"> </div></div></button>'), wh = /* @__PURE__ */ S('<div class="documents-list svelte-m8ylyl"></div>'),
|
|
5777
|
-
const
|
|
5776
|
+
var rh = /* @__PURE__ */ S('<div class="text-center p-3"><!> <p class="mt-2 text-muted"> </p></div>'), sh = /* @__PURE__ */ S('<div class="text-center p-3"><i class="fa-solid fa-search text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), ih = /* @__PURE__ */ S('<div class="text-center p-3"><i class="fa-solid fa-file-circle-exclamation text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), ah = (t, e, n) => e(p(n)), oh = /* @__PURE__ */ S('<button class="document-item svelte-m8ylyl"><div class="document-icon svelte-m8ylyl"><i></i></div> <div class="document-info"><div class="document-title svelte-m8ylyl"> </div></div></button>'), lh = /* @__PURE__ */ S('<div class="documents-list svelte-m8ylyl"></div>'), ch = /* @__PURE__ */ S('<div class="text-center p-3"><i class="fa-solid fa-file-circle-exclamation text-muted fa-2x"></i> <p class="mt-2 text-muted"> </p></div>'), uh = (t, e, n) => e(p(n)), dh = /* @__PURE__ */ S('<i class="fa-solid fa-file" style="color: #295DCF"></i>'), fh = /* @__PURE__ */ S('<i class="fa-solid fa-file-pdf" style="color: #f0463c;"></i>'), hh = /* @__PURE__ */ S('<i class="fa-solid fa-file-word" style="color: #305b9a;"></i>'), ph = /* @__PURE__ */ S('<i class="fa-solid fa-file-excel" style="color: #0c7540;"></i>'), vh = /* @__PURE__ */ S('<i class="fa-solid fa-file-powerpoint" style="color: #d14b2b;"></i>'), gh = /* @__PURE__ */ S('<i class="fa-solid fa-passport" style="color: #0DCAF0"></i>'), mh = /* @__PURE__ */ S('<i class="fa-solid fa-file"></i>'), bh = /* @__PURE__ */ S('<button class="document-item svelte-m8ylyl"><div class="document-icon svelte-m8ylyl"><!></div> <div class="document-info"><div class="document-title svelte-m8ylyl"> </div> <div class="document-path svelte-m8ylyl"> </div></div></button>'), wh = /* @__PURE__ */ S('<div class="documents-list svelte-m8ylyl"></div>'), _h = /* @__PURE__ */ S('<div class="modal-overlay svelte-m8ylyl"><div class="document-search-modal svelte-m8ylyl"><div class="modal-header svelte-m8ylyl"><h5 class="svelte-m8ylyl"> </h5> <button class="btn btn-sm btn-danger aks-btn-rounded" aria-label="Chiudi modale"><i class="fa-solid fa-xmark"></i></button></div> <div class="modal-body svelte-m8ylyl"><div class="search-container svelte-m8ylyl"><div class="input-group"><span class="input-group-text svelte-m8ylyl"><i class="fa-solid fa-search"></i></span> <input type="text" class="form-control" style="color: black;"></div></div> <div class="documents-container svelte-m8ylyl"><!></div></div></div></div>');
|
|
5777
|
+
const xh = {
|
|
5778
5778
|
hash: "svelte-m8ylyl",
|
|
5779
5779
|
code: `\r
|
|
5780
5780
|
/* Stili per la modale di ricerca documenti */.modal-overlay.svelte-m8ylyl {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-m8ylyl {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-m8ylyl {display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e9ecef;}.modal-header.svelte-m8ylyl h5:where(.svelte-m8ylyl) {margin:0;font-weight:600;color:#295dcf;}.modal-body.svelte-m8ylyl {padding:20px;flex:1;overflow:hidden;display:flex;flex-direction:column;}.search-container.svelte-m8ylyl {margin-bottom:20px;}.documents-container.svelte-m8ylyl {flex:1;overflow:hidden;display:flex;flex-direction:column;}.documents-list.svelte-m8ylyl {overflow-y:auto;max-height:300px;border:1px solid #e9ecef;border-radius:8px;}.document-item.svelte-m8ylyl {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-m8ylyl:last-child {border-bottom:none;}.document-item.svelte-m8ylyl:hover {background:#f8f9fa;color:#295dcf;}.document-icon.svelte-m8ylyl {margin-right:12px;color:#6c757d;width:20px;flex-shrink:0;margin-top:2px;}.document-title.svelte-m8ylyl {font-weight:500;margin-bottom:4px;word-wrap:break-word;}.document-path.svelte-m8ylyl {font-size:0.85em;color:#6c757d;word-wrap:break-word;}.input-group-text.svelte-m8ylyl {background:#f8f9fa;border-color:#e9ecef;color:#6c757d;}`
|
|
5781
5781
|
};
|
|
5782
5782
|
function Ta(t, e) {
|
|
5783
|
-
te(e, !0), ce(t,
|
|
5783
|
+
te(e, !0), ce(t, xh);
|
|
5784
5784
|
let n = g(e, "attachments", 15), r = g(e, "showDocumentSearchModal", 15), s = g(e, "forgeSelected", 15, ""), i = /* @__PURE__ */ nt(() => Zt(s())), a = X(L([])), o = X(L([])), l = X(!1), c = X("");
|
|
5785
5785
|
const u = () => {
|
|
5786
|
-
r(!1),
|
|
5786
|
+
r(!1), x(c, ""), x(a, L([])), x(o, L([]));
|
|
5787
5787
|
}, d = (U) => {
|
|
5788
5788
|
U instanceof Un ? n(
|
|
5789
5789
|
n()[U._id] = {
|
|
@@ -5804,32 +5804,32 @@ function Ta(t, e) {
|
|
|
5804
5804
|
), u();
|
|
5805
5805
|
}, f = async (U) => {
|
|
5806
5806
|
if (U.length < 3) {
|
|
5807
|
-
|
|
5807
|
+
x(o, L([]));
|
|
5808
5808
|
return;
|
|
5809
5809
|
}
|
|
5810
|
-
|
|
5810
|
+
x(l, !0);
|
|
5811
5811
|
try {
|
|
5812
|
-
|
|
5812
|
+
x(o, L(await Wt.getForge(U, s())));
|
|
5813
5813
|
} catch (V) {
|
|
5814
|
-
console.error("Errore nella ricerca forge:", V),
|
|
5814
|
+
console.error("Errore nella ricerca forge:", V), x(o, L([]));
|
|
5815
5815
|
} finally {
|
|
5816
|
-
|
|
5816
|
+
x(l, !1);
|
|
5817
5817
|
}
|
|
5818
5818
|
}, h = async (U) => {
|
|
5819
5819
|
if (U.length < 3) {
|
|
5820
|
-
|
|
5820
|
+
x(a, L([]));
|
|
5821
5821
|
return;
|
|
5822
5822
|
}
|
|
5823
|
-
|
|
5823
|
+
x(l, !0);
|
|
5824
5824
|
try {
|
|
5825
|
-
|
|
5825
|
+
x(a, L(await Wt.getDocuments(U)));
|
|
5826
5826
|
} catch (V) {
|
|
5827
|
-
console.error("Errore nella ricerca documenti:", V),
|
|
5827
|
+
console.error("Errore nella ricerca documenti:", V), x(a, L([]));
|
|
5828
5828
|
} finally {
|
|
5829
|
-
|
|
5829
|
+
x(l, !1);
|
|
5830
5830
|
}
|
|
5831
5831
|
};
|
|
5832
|
-
var m =
|
|
5832
|
+
var m = _h(), b = $(m), z = $(b), w = $(z), y = $(w);
|
|
5833
5833
|
k(w);
|
|
5834
5834
|
var T = Y(w, 2);
|
|
5835
5835
|
T.__click = u, k(z);
|
|
@@ -5847,22 +5847,22 @@ function Ta(t, e) {
|
|
|
5847
5847
|
var V = rh(), oe = $(V);
|
|
5848
5848
|
Is(oe, { size: "30", color: "#295dcf" });
|
|
5849
5849
|
var me = Y(oe, 2), ye = $(me, !0);
|
|
5850
|
-
k(me), k(V), F(($e) => Re(ye, $e), [() => /* @__PURE__ */ Ru()]),
|
|
5850
|
+
k(me), k(V), F(($e) => Re(ye, $e), [() => /* @__PURE__ */ Ru()]), _(U, V);
|
|
5851
5851
|
}, pe = (U) => {
|
|
5852
|
-
var V = ke(), oe =
|
|
5852
|
+
var V = ke(), oe = _e(V);
|
|
5853
5853
|
{
|
|
5854
5854
|
var me = ($e) => {
|
|
5855
5855
|
var re = sh(), Pe = Y($(re), 2), Oe = $(Pe, !0);
|
|
5856
|
-
k(Pe), k(re), F((st) => Re(Oe, st), [() => /* @__PURE__ */ ju()]),
|
|
5856
|
+
k(Pe), k(re), F((st) => Re(Oe, st), [() => /* @__PURE__ */ ju()]), _($e, re);
|
|
5857
5857
|
}, ye = ($e) => {
|
|
5858
|
-
var re = ke(), Pe =
|
|
5858
|
+
var re = ke(), Pe = _e(re);
|
|
5859
5859
|
{
|
|
5860
5860
|
var Oe = (Fe) => {
|
|
5861
|
-
var je = ke(), Be =
|
|
5861
|
+
var je = ke(), Be = _e(je);
|
|
5862
5862
|
{
|
|
5863
5863
|
var qe = (Ae) => {
|
|
5864
5864
|
var D = ih(), P = Y($(D), 2), H = $(P, !0);
|
|
5865
|
-
k(P), k(D), F((J) => Re(H, J), [() => /* @__PURE__ */ Pu()]),
|
|
5865
|
+
k(P), k(D), F((J) => Re(H, J), [() => /* @__PURE__ */ Pu()]), _(Ae, D);
|
|
5866
5866
|
}, pt = (Ae) => {
|
|
5867
5867
|
var D = lh();
|
|
5868
5868
|
Ne(D, 21, () => p(o), De, (P, H) => {
|
|
@@ -5876,20 +5876,20 @@ function Ta(t, e) {
|
|
|
5876
5876
|
Xe(ue, Ir(p(i).icon), "svelte-m8ylyl"), O(ue, "style", `color: ${p(i).color}`), Re(Ie, Te);
|
|
5877
5877
|
},
|
|
5878
5878
|
[() => p(H).title.split(".")[0]]
|
|
5879
|
-
),
|
|
5880
|
-
}), k(D),
|
|
5879
|
+
), _(P, J);
|
|
5880
|
+
}), k(D), _(Ae, D);
|
|
5881
5881
|
};
|
|
5882
5882
|
G(Be, (Ae) => {
|
|
5883
5883
|
p(o).length === 0 ? Ae(qe) : Ae(pt, !1);
|
|
5884
5884
|
});
|
|
5885
5885
|
}
|
|
5886
|
-
|
|
5886
|
+
_(Fe, je);
|
|
5887
5887
|
}, st = (Fe) => {
|
|
5888
|
-
var je = ke(), Be =
|
|
5888
|
+
var je = ke(), Be = _e(je);
|
|
5889
5889
|
{
|
|
5890
5890
|
var qe = (Ae) => {
|
|
5891
5891
|
var D = ch(), P = Y($(D), 2), H = $(P, !0);
|
|
5892
|
-
k(P), k(D), F((J) => Re(H, J), [() => /* @__PURE__ */ Fu()]),
|
|
5892
|
+
k(P), k(D), F((J) => Re(H, J), [() => /* @__PURE__ */ Fu()]), _(Ae, D);
|
|
5893
5893
|
}, pt = (Ae) => {
|
|
5894
5894
|
var D = wh();
|
|
5895
5895
|
Ne(D, 21, () => p(a), De, (P, H) => {
|
|
@@ -5899,40 +5899,40 @@ function Ta(t, e) {
|
|
|
5899
5899
|
{
|
|
5900
5900
|
var K = (ee) => {
|
|
5901
5901
|
var Le = dh();
|
|
5902
|
-
|
|
5902
|
+
_(ee, Le);
|
|
5903
5903
|
}, we = (ee) => {
|
|
5904
|
-
var Le = ke(), Ce =
|
|
5904
|
+
var Le = ke(), Ce = _e(Le);
|
|
5905
5905
|
{
|
|
5906
5906
|
var de = (vt) => {
|
|
5907
5907
|
var gt = fh();
|
|
5908
|
-
|
|
5908
|
+
_(vt, gt);
|
|
5909
5909
|
}, N = (vt) => {
|
|
5910
|
-
var gt = ke(), bt =
|
|
5910
|
+
var gt = ke(), bt = _e(gt);
|
|
5911
5911
|
{
|
|
5912
5912
|
var it = (wt) => {
|
|
5913
5913
|
var at = hh();
|
|
5914
|
-
|
|
5914
|
+
_(wt, at);
|
|
5915
5915
|
}, En = (wt) => {
|
|
5916
|
-
var at = ke(), Ee =
|
|
5916
|
+
var at = ke(), Ee = _e(at);
|
|
5917
5917
|
{
|
|
5918
5918
|
var Se = (ot) => {
|
|
5919
5919
|
var et = ph();
|
|
5920
|
-
|
|
5920
|
+
_(ot, et);
|
|
5921
5921
|
}, Ct = (ot) => {
|
|
5922
|
-
var et = ke(), He =
|
|
5922
|
+
var et = ke(), He = _e(et);
|
|
5923
5923
|
{
|
|
5924
5924
|
var Ue = (Mt) => {
|
|
5925
5925
|
var Et = vh();
|
|
5926
|
-
|
|
5926
|
+
_(Mt, Et);
|
|
5927
5927
|
}, Or = (Mt) => {
|
|
5928
|
-
var Et = ke(), Dt =
|
|
5928
|
+
var Et = ke(), Dt = _e(Et);
|
|
5929
5929
|
{
|
|
5930
5930
|
var It = (Nt) => {
|
|
5931
5931
|
var Bt = gh();
|
|
5932
|
-
|
|
5932
|
+
_(Nt, Bt);
|
|
5933
5933
|
}, qr = (Nt) => {
|
|
5934
5934
|
var Bt = mh();
|
|
5935
|
-
|
|
5935
|
+
_(Nt, Bt);
|
|
5936
5936
|
};
|
|
5937
5937
|
G(
|
|
5938
5938
|
Dt,
|
|
@@ -5943,7 +5943,7 @@ function Ta(t, e) {
|
|
|
5943
5943
|
!0
|
|
5944
5944
|
);
|
|
5945
5945
|
}
|
|
5946
|
-
|
|
5946
|
+
_(Mt, Et);
|
|
5947
5947
|
};
|
|
5948
5948
|
G(
|
|
5949
5949
|
He,
|
|
@@ -5954,7 +5954,7 @@ function Ta(t, e) {
|
|
|
5954
5954
|
!0
|
|
5955
5955
|
);
|
|
5956
5956
|
}
|
|
5957
|
-
|
|
5957
|
+
_(ot, et);
|
|
5958
5958
|
};
|
|
5959
5959
|
G(
|
|
5960
5960
|
Ee,
|
|
@@ -5965,7 +5965,7 @@ function Ta(t, e) {
|
|
|
5965
5965
|
!0
|
|
5966
5966
|
);
|
|
5967
5967
|
}
|
|
5968
|
-
|
|
5968
|
+
_(wt, at);
|
|
5969
5969
|
};
|
|
5970
5970
|
G(
|
|
5971
5971
|
bt,
|
|
@@ -5976,7 +5976,7 @@ function Ta(t, e) {
|
|
|
5976
5976
|
!0
|
|
5977
5977
|
);
|
|
5978
5978
|
}
|
|
5979
|
-
|
|
5979
|
+
_(vt, gt);
|
|
5980
5980
|
};
|
|
5981
5981
|
G(
|
|
5982
5982
|
Ce,
|
|
@@ -5987,7 +5987,7 @@ function Ta(t, e) {
|
|
|
5987
5987
|
!0
|
|
5988
5988
|
);
|
|
5989
5989
|
}
|
|
5990
|
-
|
|
5990
|
+
_(ee, Le);
|
|
5991
5991
|
};
|
|
5992
5992
|
G(ue, (ee) => {
|
|
5993
5993
|
p(H).isCommon ? ee(K) : ee(we, !1);
|
|
@@ -6004,8 +6004,8 @@ function Ta(t, e) {
|
|
|
6004
6004
|
[
|
|
6005
6005
|
() => p(H).isCommon ? p(H).title.split(".")[0] : p(H).title
|
|
6006
6006
|
]
|
|
6007
|
-
),
|
|
6008
|
-
}), k(D),
|
|
6007
|
+
), _(P, J);
|
|
6008
|
+
}), k(D), _(Ae, D);
|
|
6009
6009
|
};
|
|
6010
6010
|
G(
|
|
6011
6011
|
Be,
|
|
@@ -6015,7 +6015,7 @@ function Ta(t, e) {
|
|
|
6015
6015
|
!0
|
|
6016
6016
|
);
|
|
6017
6017
|
}
|
|
6018
|
-
|
|
6018
|
+
_(Fe, je);
|
|
6019
6019
|
};
|
|
6020
6020
|
G(
|
|
6021
6021
|
Pe,
|
|
@@ -6025,7 +6025,7 @@ function Ta(t, e) {
|
|
|
6025
6025
|
!0
|
|
6026
6026
|
);
|
|
6027
6027
|
}
|
|
6028
|
-
|
|
6028
|
+
_($e, re);
|
|
6029
6029
|
};
|
|
6030
6030
|
G(
|
|
6031
6031
|
oe,
|
|
@@ -6035,7 +6035,7 @@ function Ta(t, e) {
|
|
|
6035
6035
|
!0
|
|
6036
6036
|
);
|
|
6037
6037
|
}
|
|
6038
|
-
|
|
6038
|
+
_(U, V);
|
|
6039
6039
|
};
|
|
6040
6040
|
G(A, (U) => {
|
|
6041
6041
|
p(l) ? U(Z) : U(pe, !1);
|
|
@@ -6051,7 +6051,7 @@ function Ta(t, e) {
|
|
|
6051
6051
|
() => s() !== "" ? p(i).name : /* @__PURE__ */ oi(),
|
|
6052
6052
|
() => s() !== "" ? p(i).name : /* @__PURE__ */ oi()
|
|
6053
6053
|
]
|
|
6054
|
-
),
|
|
6054
|
+
), _(t, m), ne({
|
|
6055
6055
|
get attachments() {
|
|
6056
6056
|
return n();
|
|
6057
6057
|
},
|
|
@@ -6086,9 +6086,9 @@ ae(
|
|
|
6086
6086
|
);
|
|
6087
6087
|
const yh = (t, e, n, r, s) => {
|
|
6088
6088
|
const a = t.target.value;
|
|
6089
|
-
|
|
6089
|
+
x(e, L(a)), a === "auto" ? (n(""), r(!1)) : a === "suite" || a === "normative" ? (n(a), r(!1)) : a === "kb" && (n(""), r(!0)), s({});
|
|
6090
6090
|
}, kh = (t, e) => {
|
|
6091
|
-
|
|
6091
|
+
x(e, !p(e));
|
|
6092
6092
|
};
|
|
6093
6093
|
var zh = (t, e) => {
|
|
6094
6094
|
t.key === "Enter" && e();
|
|
@@ -6120,30 +6120,30 @@ function Ca(t, e) {
|
|
|
6120
6120
|
f = new MediaRecorder(j, { mimeType: "audio/webm" }), f.ondataavailable = (B) => {
|
|
6121
6121
|
B.data.size > 0 && p(h).push(B.data);
|
|
6122
6122
|
}, f.onstop = () => {
|
|
6123
|
-
|
|
6123
|
+
x(b, !0);
|
|
6124
6124
|
const B = new Blob(p(h), { type: "audio/webm" });
|
|
6125
6125
|
Cs.getText(B, i()).then((se) => {
|
|
6126
6126
|
if (se == "") {
|
|
6127
|
-
|
|
6127
|
+
x(b, !1);
|
|
6128
6128
|
return;
|
|
6129
6129
|
}
|
|
6130
|
-
|
|
6130
|
+
x(c, L(se)), x(b, !1), q();
|
|
6131
6131
|
});
|
|
6132
|
-
},
|
|
6132
|
+
}, x(m, !0), f.start(), console.log("Recording started");
|
|
6133
6133
|
}, T = () => {
|
|
6134
6134
|
f && (f.stop(), console.log("Recording stopped"), f.stream && f.stream.getTracks().forEach((j) => {
|
|
6135
6135
|
j.stop();
|
|
6136
|
-
})),
|
|
6136
|
+
})), x(m, !1), x(h, L([]));
|
|
6137
6137
|
}, q = () => {
|
|
6138
6138
|
if (s()) return;
|
|
6139
6139
|
const j = Object.keys(l()).map((B) => l()[B].ext_id);
|
|
6140
|
-
n()(p(c), a(), o(), j),
|
|
6140
|
+
n()(p(c), a(), o(), j), x(c, ""), l({});
|
|
6141
6141
|
}, E = () => {
|
|
6142
6142
|
console.log("Seleziona file"), I(), M();
|
|
6143
6143
|
}, I = () => {
|
|
6144
|
-
|
|
6144
|
+
x(A, !1);
|
|
6145
6145
|
}, M = () => {
|
|
6146
|
-
|
|
6146
|
+
x(Z, !0);
|
|
6147
6147
|
}, C = async (j, B, se) => {
|
|
6148
6148
|
await Wt.getDocumentPage(j, B, se);
|
|
6149
6149
|
};
|
|
@@ -6151,9 +6151,9 @@ function Ca(t, e) {
|
|
|
6151
6151
|
Ft(() => {
|
|
6152
6152
|
Object.keys(l()).length > 0 && a() == "" && o(!0);
|
|
6153
6153
|
}), Ft(() => {
|
|
6154
|
-
a() === "suite" ?
|
|
6154
|
+
a() === "suite" ? x(u, "suite") : a() === "normative" ? x(u, "normative") : o() ? x(u, "kb") : a() === "" && !o() && x(u, "auto");
|
|
6155
6155
|
});
|
|
6156
|
-
var pe = Uh(), U =
|
|
6156
|
+
var pe = Uh(), U = _e(pe), V = $(U), oe = $(V);
|
|
6157
6157
|
gl(oe), oe.__keyup = [zh, q], k(V);
|
|
6158
6158
|
var me = Y(V, 2), ye = $(me), $e = $(ye), re = $($e);
|
|
6159
6159
|
re.__click = [kh, A];
|
|
@@ -6178,7 +6178,7 @@ function Ca(t, e) {
|
|
|
6178
6178
|
() => `dropdown-option ${Object.keys(l()).length < 2 ? "" : "option-disabled"}`,
|
|
6179
6179
|
() => /* @__PURE__ */ yu()
|
|
6180
6180
|
]
|
|
6181
|
-
),
|
|
6181
|
+
), _(j, B);
|
|
6182
6182
|
};
|
|
6183
6183
|
G(Oe, (j) => {
|
|
6184
6184
|
p(A) && j(st);
|
|
@@ -6210,40 +6210,40 @@ function Ca(t, e) {
|
|
|
6210
6210
|
{
|
|
6211
6211
|
var gt = (Ee) => {
|
|
6212
6212
|
var Se = Sh();
|
|
6213
|
-
|
|
6213
|
+
_(Ee, Se);
|
|
6214
6214
|
}, bt = (Ee) => {
|
|
6215
|
-
var Se = ke(), Ct =
|
|
6215
|
+
var Se = ke(), Ct = _e(Se);
|
|
6216
6216
|
{
|
|
6217
6217
|
var ot = (He) => {
|
|
6218
6218
|
var Ue = Th();
|
|
6219
|
-
|
|
6219
|
+
_(He, Ue);
|
|
6220
6220
|
}, et = (He) => {
|
|
6221
|
-
var Ue = ke(), Or =
|
|
6221
|
+
var Ue = ke(), Or = _e(Ue);
|
|
6222
6222
|
{
|
|
6223
6223
|
var Mt = (Dt) => {
|
|
6224
6224
|
var It = Ch();
|
|
6225
|
-
|
|
6225
|
+
_(Dt, It);
|
|
6226
6226
|
}, Et = (Dt) => {
|
|
6227
|
-
var It = ke(), qr =
|
|
6227
|
+
var It = ke(), qr = _e(It);
|
|
6228
6228
|
{
|
|
6229
6229
|
var Nt = (un) => {
|
|
6230
6230
|
var Vt = Eh();
|
|
6231
|
-
|
|
6231
|
+
_(un, Vt);
|
|
6232
6232
|
}, Bt = (un) => {
|
|
6233
|
-
var Vt = ke(), to =
|
|
6233
|
+
var Vt = ke(), to = _e(Vt);
|
|
6234
6234
|
{
|
|
6235
6235
|
var no = (dn) => {
|
|
6236
6236
|
var Xt = Ih();
|
|
6237
|
-
|
|
6237
|
+
_(dn, Xt);
|
|
6238
6238
|
}, ro = (dn) => {
|
|
6239
|
-
var Xt = ke(), so =
|
|
6239
|
+
var Xt = ke(), so = _e(Xt);
|
|
6240
6240
|
{
|
|
6241
6241
|
var io = (fn) => {
|
|
6242
6242
|
var hn = Ah();
|
|
6243
|
-
|
|
6243
|
+
_(fn, hn);
|
|
6244
6244
|
}, ao = (fn) => {
|
|
6245
6245
|
var hn = Lh();
|
|
6246
|
-
|
|
6246
|
+
_(fn, hn);
|
|
6247
6247
|
};
|
|
6248
6248
|
G(
|
|
6249
6249
|
so,
|
|
@@ -6254,7 +6254,7 @@ function Ca(t, e) {
|
|
|
6254
6254
|
!0
|
|
6255
6255
|
);
|
|
6256
6256
|
}
|
|
6257
|
-
|
|
6257
|
+
_(dn, Xt);
|
|
6258
6258
|
};
|
|
6259
6259
|
G(
|
|
6260
6260
|
to,
|
|
@@ -6265,7 +6265,7 @@ function Ca(t, e) {
|
|
|
6265
6265
|
!0
|
|
6266
6266
|
);
|
|
6267
6267
|
}
|
|
6268
|
-
|
|
6268
|
+
_(un, Vt);
|
|
6269
6269
|
};
|
|
6270
6270
|
G(
|
|
6271
6271
|
qr,
|
|
@@ -6276,7 +6276,7 @@ function Ca(t, e) {
|
|
|
6276
6276
|
!0
|
|
6277
6277
|
);
|
|
6278
6278
|
}
|
|
6279
|
-
|
|
6279
|
+
_(Dt, It);
|
|
6280
6280
|
};
|
|
6281
6281
|
G(
|
|
6282
6282
|
Or,
|
|
@@ -6287,7 +6287,7 @@ function Ca(t, e) {
|
|
|
6287
6287
|
!0
|
|
6288
6288
|
);
|
|
6289
6289
|
}
|
|
6290
|
-
|
|
6290
|
+
_(He, Ue);
|
|
6291
6291
|
};
|
|
6292
6292
|
G(
|
|
6293
6293
|
Ct,
|
|
@@ -6298,7 +6298,7 @@ function Ca(t, e) {
|
|
|
6298
6298
|
!0
|
|
6299
6299
|
);
|
|
6300
6300
|
}
|
|
6301
|
-
|
|
6301
|
+
_(Ee, Se);
|
|
6302
6302
|
};
|
|
6303
6303
|
G(vt, (Ee) => {
|
|
6304
6304
|
de() ? Ee(gt) : Ee(bt, !1);
|
|
@@ -6316,7 +6316,7 @@ function Ca(t, e) {
|
|
|
6316
6316
|
() => de() ? ee().split(".")[0] : ee(),
|
|
6317
6317
|
() => ee().split(".")[0]
|
|
6318
6318
|
]
|
|
6319
|
-
),
|
|
6319
|
+
), _(Ee, Se);
|
|
6320
6320
|
}, wt = (Ee) => {
|
|
6321
6321
|
var Se = Ph();
|
|
6322
6322
|
Xe(Se, "attachment-title open-file-button svelte-ghgw0y"), Se.__click = [
|
|
@@ -6327,7 +6327,7 @@ function Ca(t, e) {
|
|
|
6327
6327
|
Ce
|
|
6328
6328
|
];
|
|
6329
6329
|
var Ct = $(Se, !0);
|
|
6330
|
-
k(Se), F(() => Re(Ct, ee())),
|
|
6330
|
+
k(Se), F(() => Re(Ct, ee())), _(Ee, Se);
|
|
6331
6331
|
};
|
|
6332
6332
|
G(it, (Ee) => {
|
|
6333
6333
|
de() ? Ee(En) : Ee(wt, !1);
|
|
@@ -6341,22 +6341,22 @@ function Ca(t, e) {
|
|
|
6341
6341
|
[
|
|
6342
6342
|
() => de() ? a() !== "" ? p(d).name : /* @__PURE__ */ ya() : ee()
|
|
6343
6343
|
]
|
|
6344
|
-
),
|
|
6344
|
+
), _(j, N);
|
|
6345
6345
|
}), k(D), wa(D, (j) => z = j, () => z);
|
|
6346
6346
|
var P = Y(D, 2), H = $(P);
|
|
6347
6347
|
{
|
|
6348
6348
|
var J = (j) => {
|
|
6349
6349
|
var B = qh();
|
|
6350
|
-
B.__click = T, F((se) => O(B, "title", se), [() => /* @__PURE__ */ ku()]),
|
|
6350
|
+
B.__click = T, F((se) => O(B, "title", se), [() => /* @__PURE__ */ ku()]), _(j, B);
|
|
6351
6351
|
}, le = (j) => {
|
|
6352
|
-
var B = ke(), se =
|
|
6352
|
+
var B = ke(), se = _e(B);
|
|
6353
6353
|
{
|
|
6354
6354
|
var ee = (Ce) => {
|
|
6355
6355
|
var de = Mh(), N = $(de);
|
|
6356
|
-
Is(N, { size: "20", color: "white" }), k(de),
|
|
6356
|
+
Is(N, { size: "20", color: "white" }), k(de), _(Ce, de);
|
|
6357
6357
|
}, Le = (Ce) => {
|
|
6358
6358
|
var de = Dh();
|
|
6359
|
-
de.__click = y, F((N) => O(de, "title", N), [() => /* @__PURE__ */ zu()]),
|
|
6359
|
+
de.__click = y, F((N) => O(de, "title", N), [() => /* @__PURE__ */ zu()]), _(Ce, de);
|
|
6360
6360
|
};
|
|
6361
6361
|
G(
|
|
6362
6362
|
se,
|
|
@@ -6366,7 +6366,7 @@ function Ca(t, e) {
|
|
|
6366
6366
|
!0
|
|
6367
6367
|
);
|
|
6368
6368
|
}
|
|
6369
|
-
|
|
6369
|
+
_(j, B);
|
|
6370
6370
|
};
|
|
6371
6371
|
G(H, (j) => {
|
|
6372
6372
|
p(m) ? j(J) : j(le, !1);
|
|
@@ -6379,10 +6379,10 @@ function Ca(t, e) {
|
|
|
6379
6379
|
B.__click = function(...se) {
|
|
6380
6380
|
var ee;
|
|
6381
6381
|
(ee = r()) == null || ee.apply(this, se);
|
|
6382
|
-
}, F((se) => O(B, "title", se), [() => /* @__PURE__ */ Bu()]),
|
|
6382
|
+
}, F((se) => O(B, "title", se), [() => /* @__PURE__ */ Bu()]), _(j, B);
|
|
6383
6383
|
}, we = (j) => {
|
|
6384
6384
|
var B = Bh();
|
|
6385
|
-
B.__click = q, F((se) => O(B, "title", se), [() => /* @__PURE__ */ $u()]),
|
|
6385
|
+
B.__click = q, F((se) => O(B, "title", se), [() => /* @__PURE__ */ $u()]), _(j, B);
|
|
6386
6386
|
};
|
|
6387
6387
|
G(ue, (j) => {
|
|
6388
6388
|
s() ? j(K) : j(we, !1);
|
|
@@ -6403,7 +6403,7 @@ function Ca(t, e) {
|
|
|
6403
6403
|
return p(Z);
|
|
6404
6404
|
},
|
|
6405
6405
|
set showDocumentSearchModal(B) {
|
|
6406
|
-
|
|
6406
|
+
x(Z, L(B));
|
|
6407
6407
|
},
|
|
6408
6408
|
get forgeSelected() {
|
|
6409
6409
|
return a();
|
|
@@ -6423,10 +6423,10 @@ function Ca(t, e) {
|
|
|
6423
6423
|
},
|
|
6424
6424
|
[
|
|
6425
6425
|
() => /* @__PURE__ */ wu(),
|
|
6426
|
-
() => /* @__PURE__ */
|
|
6427
|
-
() => /* @__PURE__ */
|
|
6426
|
+
() => /* @__PURE__ */ _u(),
|
|
6427
|
+
() => /* @__PURE__ */ xa()
|
|
6428
6428
|
]
|
|
6429
|
-
), Rl(oe, () => p(c), (j) =>
|
|
6429
|
+
), Rl(oe, () => p(c), (j) => x(c, j)), ba(Fe, () => p(u), (j) => x(u, j)), ml("wheel", D, w), tn(3, U, () => Lr, () => ({ duration: 300, delay: 200 })), _(t, pe), ne({
|
|
6430
6430
|
get sendMessage() {
|
|
6431
6431
|
return n();
|
|
6432
6432
|
},
|
|
@@ -6652,7 +6652,7 @@ function Jh(t, e) {
|
|
|
6652
6652
|
missing: /* @__PURE__ */ new Set()
|
|
6653
6653
|
};
|
|
6654
6654
|
}
|
|
6655
|
-
function
|
|
6655
|
+
function xn(t, e) {
|
|
6656
6656
|
const n = di[t] || (di[t] = /* @__PURE__ */ Object.create(null));
|
|
6657
6657
|
return n[e] || (n[e] = Jh(t, e));
|
|
6658
6658
|
}
|
|
@@ -6676,7 +6676,7 @@ function ja(t) {
|
|
|
6676
6676
|
function Xh(t) {
|
|
6677
6677
|
const e = typeof t == "string" ? Rr(t, !0, Hn) : t;
|
|
6678
6678
|
if (e) {
|
|
6679
|
-
const n =
|
|
6679
|
+
const n = xn(e.provider, e.prefix), r = e.name;
|
|
6680
6680
|
return n.icons[r] || (n.missing.has(r) ? null : void 0);
|
|
6681
6681
|
}
|
|
6682
6682
|
}
|
|
@@ -6684,7 +6684,7 @@ function Qh(t, e) {
|
|
|
6684
6684
|
const n = Rr(t, !0, Hn);
|
|
6685
6685
|
if (!n)
|
|
6686
6686
|
return !1;
|
|
6687
|
-
const r =
|
|
6687
|
+
const r = xn(n.provider, n.prefix);
|
|
6688
6688
|
return e ? Vh(r, n.name, e) : (r.missing.add(n.name), !0);
|
|
6689
6689
|
}
|
|
6690
6690
|
function Kh(t, e) {
|
|
@@ -6703,7 +6703,7 @@ function Kh(t, e) {
|
|
|
6703
6703
|
name: "a"
|
|
6704
6704
|
}))
|
|
6705
6705
|
return !1;
|
|
6706
|
-
const r =
|
|
6706
|
+
const r = xn(e, n);
|
|
6707
6707
|
return !!Ra(r, t);
|
|
6708
6708
|
}
|
|
6709
6709
|
const Pa = Object.freeze({
|
|
@@ -6995,7 +6995,7 @@ const bp = (t, e, n) => {
|
|
|
6995
6995
|
prepare: gp,
|
|
6996
6996
|
send: bp
|
|
6997
6997
|
};
|
|
6998
|
-
function
|
|
6998
|
+
function _p(t) {
|
|
6999
6999
|
const e = {
|
|
7000
7000
|
loaded: [],
|
|
7001
7001
|
missing: [],
|
|
@@ -7011,7 +7011,7 @@ function xp(t) {
|
|
|
7011
7011
|
if (r.name === s.name && r.prefix === s.prefix && r.provider === s.provider)
|
|
7012
7012
|
return;
|
|
7013
7013
|
r = s;
|
|
7014
|
-
const i = s.provider, a = s.prefix, o = s.name, l = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), c = l[a] || (l[a] =
|
|
7014
|
+
const i = s.provider, a = s.prefix, o = s.name, l = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), c = l[a] || (l[a] = xn(i, a));
|
|
7015
7015
|
let u;
|
|
7016
7016
|
o in c.icons ? u = e.loaded : a === "" || c.missing.has(o) ? u = e.missing : u = e.pending;
|
|
7017
7017
|
const d = {
|
|
@@ -7028,7 +7028,7 @@ function Oa(t, e) {
|
|
|
7028
7028
|
r && (n.loaderCallbacks = r.filter((s) => s.id !== e));
|
|
7029
7029
|
});
|
|
7030
7030
|
}
|
|
7031
|
-
function
|
|
7031
|
+
function xp(t) {
|
|
7032
7032
|
t.pendingCallbacksFlag || (t.pendingCallbacksFlag = !0, setTimeout(() => {
|
|
7033
7033
|
t.pendingCallbacksFlag = !1;
|
|
7034
7034
|
const e = t.loaderCallbacks ? t.loaderCallbacks.slice(0) : [];
|
|
@@ -7269,7 +7269,7 @@ function vi() {
|
|
|
7269
7269
|
}
|
|
7270
7270
|
function Ep(t) {
|
|
7271
7271
|
t.iconsLoaderFlag || (t.iconsLoaderFlag = !0, setTimeout(() => {
|
|
7272
|
-
t.iconsLoaderFlag = !1,
|
|
7272
|
+
t.iconsLoaderFlag = !1, xp(t);
|
|
7273
7273
|
}));
|
|
7274
7274
|
}
|
|
7275
7275
|
function Ip(t) {
|
|
@@ -7353,7 +7353,7 @@ function Ap(t, e) {
|
|
|
7353
7353
|
}));
|
|
7354
7354
|
}
|
|
7355
7355
|
const Lp = (t, e) => {
|
|
7356
|
-
const n = zp(t, !0, ja()), r =
|
|
7356
|
+
const n = zp(t, !0, ja()), r = _p(n);
|
|
7357
7357
|
if (!r.pending.length) {
|
|
7358
7358
|
let l = !0;
|
|
7359
7359
|
return e && setTimeout(() => {
|
|
@@ -7373,11 +7373,11 @@ const Lp = (t, e) => {
|
|
|
7373
7373
|
const { provider: c, prefix: u } = l;
|
|
7374
7374
|
if (u === o && c === a)
|
|
7375
7375
|
return;
|
|
7376
|
-
a = c, o = u, i.push(
|
|
7376
|
+
a = c, o = u, i.push(xn(c, u));
|
|
7377
7377
|
const d = s[c] || (s[c] = /* @__PURE__ */ Object.create(null));
|
|
7378
7378
|
d[u] || (d[u] = []);
|
|
7379
7379
|
}), r.pending.forEach((l) => {
|
|
7380
|
-
const { provider: c, prefix: u, name: d } = l, f =
|
|
7380
|
+
const { provider: c, prefix: u, name: d } = l, f = xn(c, u), h = f.pendingIcons || (f.pendingIcons = /* @__PURE__ */ new Set());
|
|
7381
7381
|
h.has(d) || (h.add(d), s[c][u].push(d));
|
|
7382
7382
|
}), i.forEach((l) => {
|
|
7383
7383
|
const c = s[l.provider][l.prefix];
|
|
@@ -7598,7 +7598,7 @@ function Hp(t, e, n, r, s) {
|
|
|
7598
7598
|
const l = ["iconify"];
|
|
7599
7599
|
return a.prefix !== "" && l.push("iconify--" + a.prefix), a.provider !== "" && l.push("iconify--" + a.provider), { data: o, classes: l };
|
|
7600
7600
|
}
|
|
7601
|
-
function
|
|
7601
|
+
function _i(t, e) {
|
|
7602
7602
|
return t ? Yp({
|
|
7603
7603
|
...jr,
|
|
7604
7604
|
...t
|
|
@@ -7630,43 +7630,43 @@ function Zn(t, e) {
|
|
|
7630
7630
|
Qr(i);
|
|
7631
7631
|
}
|
|
7632
7632
|
Ar(() => {
|
|
7633
|
-
|
|
7633
|
+
x(s, !0);
|
|
7634
7634
|
}), Fl(() => {
|
|
7635
7635
|
Nr(r, p(r).destroyed = !0), p(r).loading && (p(r).loading.abort(), Nr(r, p(r).loading = null));
|
|
7636
7636
|
}), Wn(
|
|
7637
|
-
() => (p(i), Cn(n), p(s), p(r), p(a),
|
|
7637
|
+
() => (p(i), Cn(n), p(s), p(r), p(a), _i),
|
|
7638
7638
|
() => {
|
|
7639
7639
|
p(i);
|
|
7640
7640
|
const f = !!n.ssr || p(s), h = Hp(n.icon, p(r), f, l, o);
|
|
7641
|
-
|
|
7641
|
+
x(a, h ? _i(h.data, n) : null), p(a) && h.classes && Nr(a, p(a).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
|
|
7642
7642
|
}
|
|
7643
7643
|
), Jn(), Ke();
|
|
7644
|
-
var c = ke(), u =
|
|
7644
|
+
var c = ke(), u = _e(c);
|
|
7645
7645
|
{
|
|
7646
7646
|
var d = (f) => {
|
|
7647
|
-
var h = ke(), m =
|
|
7647
|
+
var h = ke(), m = _e(h);
|
|
7648
7648
|
{
|
|
7649
7649
|
var b = (w) => {
|
|
7650
7650
|
var y = Zp();
|
|
7651
7651
|
let T;
|
|
7652
7652
|
var q = $(y);
|
|
7653
|
-
rs(q, () => p(a).body, !0, !1), k(y), F(() => T = Qs(y, T, { ...p(a).attributes }, void 0, !0)),
|
|
7653
|
+
rs(q, () => p(a).body, !0, !1), k(y), F(() => T = Qs(y, T, { ...p(a).attributes }, void 0, !0)), _(w, y);
|
|
7654
7654
|
}, z = (w) => {
|
|
7655
7655
|
var y = Gp();
|
|
7656
7656
|
let T;
|
|
7657
|
-
F(() => T = Qs(y, T, { ...p(a).attributes })),
|
|
7657
|
+
F(() => T = Qs(y, T, { ...p(a).attributes })), _(w, y);
|
|
7658
7658
|
};
|
|
7659
7659
|
G(m, (w) => {
|
|
7660
7660
|
p(a).svg ? w(b) : w(z, !1);
|
|
7661
7661
|
});
|
|
7662
7662
|
}
|
|
7663
|
-
|
|
7663
|
+
_(f, h);
|
|
7664
7664
|
};
|
|
7665
7665
|
G(u, (f) => {
|
|
7666
7666
|
p(a) && f(d);
|
|
7667
7667
|
});
|
|
7668
7668
|
}
|
|
7669
|
-
|
|
7669
|
+
_(t, c), ne();
|
|
7670
7670
|
}
|
|
7671
7671
|
ae(Zn, {}, [], [], !0);
|
|
7672
7672
|
function js() {
|
|
@@ -7770,11 +7770,11 @@ const Ze = {
|
|
|
7770
7770
|
paragraph: Ua,
|
|
7771
7771
|
table: qn,
|
|
7772
7772
|
text: Kp
|
|
7773
|
-
},
|
|
7773
|
+
}, xi = ge("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Pr).getRegex(), sv = {
|
|
7774
7774
|
...Ms,
|
|
7775
7775
|
lheading: Qp,
|
|
7776
|
-
table:
|
|
7777
|
-
paragraph: ge(Fs).replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table",
|
|
7776
|
+
table: xi,
|
|
7777
|
+
paragraph: ge(Fs).replace("hr", Xn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", xi).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Pr).getRegex()
|
|
7778
7778
|
}, iv = {
|
|
7779
7779
|
...Ms,
|
|
7780
7780
|
html: ge(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", qs).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
|
@@ -7785,7 +7785,7 @@ const Ze = {
|
|
|
7785
7785
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
7786
7786
|
paragraph: ge(Fs).replace("hr", Xn).replace("heading", ` *#{1,6} *[^
|
|
7787
7787
|
]`).replace("lheading", Ba).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
7788
|
-
}, av = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ov = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ya = /^( {2,}|\\)\n(?!\s*$)/, lv = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Fr = /[\p{P}\p{S}]/u, Ds = /[\s\p{P}\p{S}]/u, Ha = /[^\s\p{P}\p{S}]/u, cv = ge(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ds).getRegex(), Za = /(?!~)[\p{P}\p{S}]/u, uv = /(?!~)[\s\p{P}\p{S}]/u, dv = /(?:[^\s\p{P}\p{S}]|~)/u, fv = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ga = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, hv = ge(Ga, "u").replace(/punct/g, Fr).getRegex(), pv = ge(Ga, "u").replace(/punct/g, Za).getRegex(), Wa = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", vv = ge(Wa, "gu").replace(/notPunctSpace/g, Ha).replace(/punctSpace/g, Ds).replace(/punct/g, Fr).getRegex(), gv = ge(Wa, "gu").replace(/notPunctSpace/g, dv).replace(/punctSpace/g, uv).replace(/punct/g, Za).getRegex(), mv = ge("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Ha).replace(/punctSpace/g, Ds).replace(/punct/g, Fr).getRegex(), bv = ge(/\\(punct)/, "gu").replace(/punct/g, Fr).getRegex(), wv = ge(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),
|
|
7788
|
+
}, av = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ov = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ya = /^( {2,}|\\)\n(?!\s*$)/, lv = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Fr = /[\p{P}\p{S}]/u, Ds = /[\s\p{P}\p{S}]/u, Ha = /[^\s\p{P}\p{S}]/u, cv = ge(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ds).getRegex(), Za = /(?!~)[\p{P}\p{S}]/u, uv = /(?!~)[\s\p{P}\p{S}]/u, dv = /(?:[^\s\p{P}\p{S}]|~)/u, fv = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ga = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, hv = ge(Ga, "u").replace(/punct/g, Fr).getRegex(), pv = ge(Ga, "u").replace(/punct/g, Za).getRegex(), Wa = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", vv = ge(Wa, "gu").replace(/notPunctSpace/g, Ha).replace(/punctSpace/g, Ds).replace(/punct/g, Fr).getRegex(), gv = ge(Wa, "gu").replace(/notPunctSpace/g, dv).replace(/punctSpace/g, uv).replace(/punct/g, Za).getRegex(), mv = ge("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Ha).replace(/punctSpace/g, Ds).replace(/punct/g, Fr).getRegex(), bv = ge(/\\(punct)/, "gu").replace(/punct/g, Fr).getRegex(), wv = ge(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), _v = ge(qs).replace("(?:-->|$)", "-->").getRegex(), xv = ge("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", _v).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), br = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, yv = ge(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", br).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ja = ge(/^!?\[(label)\]\[(ref)\]/).replace("label", br).replace("ref", Os).getRegex(), Va = ge(/^!?\[(ref)\](?:\[\])?/).replace("ref", Os).getRegex(), kv = ge("reflink|nolink(?!\\()", "g").replace("reflink", Ja).replace("nolink", Va).getRegex(), Ns = {
|
|
7789
7789
|
_backpedal: qn,
|
|
7790
7790
|
// only used for GFM url
|
|
7791
7791
|
anyPunctuation: bv,
|
|
@@ -7803,7 +7803,7 @@ const Ze = {
|
|
|
7803
7803
|
punctuation: cv,
|
|
7804
7804
|
reflink: Ja,
|
|
7805
7805
|
reflinkSearch: kv,
|
|
7806
|
-
tag:
|
|
7806
|
+
tag: xv,
|
|
7807
7807
|
text: lv,
|
|
7808
7808
|
url: qn
|
|
7809
7809
|
}, zv = {
|
|
@@ -7838,7 +7838,7 @@ const Ze = {
|
|
|
7838
7838
|
'"': """,
|
|
7839
7839
|
"'": "'"
|
|
7840
7840
|
}, yi = (t) => Sv[t];
|
|
7841
|
-
function
|
|
7841
|
+
function _t(t, e) {
|
|
7842
7842
|
if (e) {
|
|
7843
7843
|
if (Ze.escapeTest.test(t))
|
|
7844
7844
|
return t.replace(Ze.escapeReplace, yi);
|
|
@@ -8661,7 +8661,7 @@ class ct {
|
|
|
8661
8661
|
return n;
|
|
8662
8662
|
}
|
|
8663
8663
|
}
|
|
8664
|
-
class
|
|
8664
|
+
class _r {
|
|
8665
8665
|
// set by the parser
|
|
8666
8666
|
constructor(e) {
|
|
8667
8667
|
R(this, "options");
|
|
@@ -8675,8 +8675,8 @@ class xr {
|
|
|
8675
8675
|
var a;
|
|
8676
8676
|
const s = (a = (n || "").match(Ze.notSpaceStart)) == null ? void 0 : a[0], i = e.replace(Ze.endingNewline, "") + `
|
|
8677
8677
|
`;
|
|
8678
|
-
return s ? '<pre><code class="language-' +
|
|
8679
|
-
` : "<pre><code>" + (r ? i :
|
|
8678
|
+
return s ? '<pre><code class="language-' + _t(s) + '">' + (r ? i : _t(i, !0)) + `</code></pre>
|
|
8679
|
+
` : "<pre><code>" + (r ? i : _t(i, !0)) + `</code></pre>
|
|
8680
8680
|
`;
|
|
8681
8681
|
}
|
|
8682
8682
|
blockquote({ tokens: e }) {
|
|
@@ -8712,7 +8712,7 @@ ${this.parser.parse(e)}</blockquote>
|
|
|
8712
8712
|
let n = "";
|
|
8713
8713
|
if (e.task) {
|
|
8714
8714
|
const s = this.checkbox({ checked: !!e.checked });
|
|
8715
|
-
e.loose ? ((r = e.tokens[0]) == null ? void 0 : r.type) === "paragraph" ? (e.tokens[0].text = s + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = s + " " +
|
|
8715
|
+
e.loose ? ((r = e.tokens[0]) == null ? void 0 : r.type) === "paragraph" ? (e.tokens[0].text = s + " " + e.tokens[0].text, e.tokens[0].tokens && e.tokens[0].tokens.length > 0 && e.tokens[0].tokens[0].type === "text" && (e.tokens[0].tokens[0].text = s + " " + _t(e.tokens[0].tokens[0].text), e.tokens[0].tokens[0].escaped = !0)) : e.tokens.unshift({
|
|
8716
8716
|
type: "text",
|
|
8717
8717
|
raw: s + " ",
|
|
8718
8718
|
text: s + " ",
|
|
@@ -8768,7 +8768,7 @@ ${e}</tr>
|
|
|
8768
8768
|
return `<em>${this.parser.parseInline(e)}</em>`;
|
|
8769
8769
|
}
|
|
8770
8770
|
codespan({ text: e }) {
|
|
8771
|
-
return `<code>${
|
|
8771
|
+
return `<code>${_t(e, !0)}</code>`;
|
|
8772
8772
|
}
|
|
8773
8773
|
br(e) {
|
|
8774
8774
|
return "<br>";
|
|
@@ -8782,18 +8782,18 @@ ${e}</tr>
|
|
|
8782
8782
|
return s;
|
|
8783
8783
|
e = i;
|
|
8784
8784
|
let a = '<a href="' + e + '"';
|
|
8785
|
-
return n && (a += ' title="' +
|
|
8785
|
+
return n && (a += ' title="' + _t(n) + '"'), a += ">" + s + "</a>", a;
|
|
8786
8786
|
}
|
|
8787
8787
|
image({ href: e, title: n, text: r }) {
|
|
8788
8788
|
const s = ki(e);
|
|
8789
8789
|
if (s === null)
|
|
8790
|
-
return
|
|
8790
|
+
return _t(r);
|
|
8791
8791
|
e = s;
|
|
8792
8792
|
let i = `<img src="${e}" alt="${r}"`;
|
|
8793
|
-
return n && (i += ` title="${
|
|
8793
|
+
return n && (i += ` title="${_t(n)}"`), i += ">", i;
|
|
8794
8794
|
}
|
|
8795
8795
|
text(e) {
|
|
8796
|
-
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text :
|
|
8796
|
+
return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : _t(e.text);
|
|
8797
8797
|
}
|
|
8798
8798
|
}
|
|
8799
8799
|
class Bs {
|
|
@@ -8831,7 +8831,7 @@ class ut {
|
|
|
8831
8831
|
R(this, "options");
|
|
8832
8832
|
R(this, "renderer");
|
|
8833
8833
|
R(this, "textRenderer");
|
|
8834
|
-
this.options = e || cn, this.options.renderer = this.options.renderer || new
|
|
8834
|
+
this.options = e || cn, this.options.renderer = this.options.renderer || new _r(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Bs();
|
|
8835
8835
|
}
|
|
8836
8836
|
/**
|
|
8837
8837
|
* Static Parse Method
|
|
@@ -9038,7 +9038,7 @@ class Ev {
|
|
|
9038
9038
|
R(this, "parse", this.parseMarkdown(!0));
|
|
9039
9039
|
R(this, "parseInline", this.parseMarkdown(!1));
|
|
9040
9040
|
R(this, "Parser", ut);
|
|
9041
|
-
R(this, "Renderer",
|
|
9041
|
+
R(this, "Renderer", _r);
|
|
9042
9042
|
R(this, "TextRenderer", Bs);
|
|
9043
9043
|
R(this, "Lexer", ct);
|
|
9044
9044
|
R(this, "Tokenizer", wr);
|
|
@@ -9099,7 +9099,7 @@ class Ev {
|
|
|
9099
9099
|
}
|
|
9100
9100
|
"childTokens" in i && i.childTokens && (n.childTokens[i.name] = i.childTokens);
|
|
9101
9101
|
}), s.extensions = n), r.renderer) {
|
|
9102
|
-
const i = this.defaults.renderer || new
|
|
9102
|
+
const i = this.defaults.renderer || new _r(this.defaults);
|
|
9103
9103
|
for (const a in r.renderer) {
|
|
9104
9104
|
if (!(a in i))
|
|
9105
9105
|
throw new Error(`renderer '${a}' does not exist`);
|
|
@@ -9195,7 +9195,7 @@ class Ev {
|
|
|
9195
9195
|
return (r) => {
|
|
9196
9196
|
if (r.message += `
|
|
9197
9197
|
Please report this to https://github.com/markedjs/marked.`, e) {
|
|
9198
|
-
const s = "<p>An error occurred:</p><pre>" +
|
|
9198
|
+
const s = "<p>An error occurred:</p><pre>" + _t(r.message + "", !0) + "</pre>";
|
|
9199
9199
|
return n ? Promise.resolve(s) : s;
|
|
9200
9200
|
}
|
|
9201
9201
|
if (n)
|
|
@@ -9222,7 +9222,7 @@ ve.walkTokens = function(t, e) {
|
|
|
9222
9222
|
ve.parseInline = rn.parseInline;
|
|
9223
9223
|
ve.Parser = ut;
|
|
9224
9224
|
ve.parser = ut.parse;
|
|
9225
|
-
ve.Renderer =
|
|
9225
|
+
ve.Renderer = _r;
|
|
9226
9226
|
ve.TextRenderer = Bs;
|
|
9227
9227
|
ve.Lexer = ct;
|
|
9228
9228
|
ve.lexer = ct.lex;
|
|
@@ -9249,18 +9249,18 @@ const Iv = async (t, e, n) => {
|
|
|
9249
9249
|
`);
|
|
9250
9250
|
try {
|
|
9251
9251
|
const i = new Blob([r], { type: "text/html" }), a = new Blob([s], { type: "text/plain" }), o = new ClipboardItem({ "text/html": i, "text/plain": a });
|
|
9252
|
-
await navigator.clipboard.write([o]),
|
|
9252
|
+
await navigator.clipboard.write([o]), x(n, L(/* @__PURE__ */ li())), setTimeout(
|
|
9253
9253
|
() => {
|
|
9254
|
-
|
|
9254
|
+
x(n, L(/* @__PURE__ */ gr()));
|
|
9255
9255
|
},
|
|
9256
9256
|
2e3
|
|
9257
9257
|
);
|
|
9258
9258
|
} catch (i) {
|
|
9259
9259
|
console.error("Errore durante la copia:", i);
|
|
9260
9260
|
try {
|
|
9261
|
-
await navigator.clipboard.writeText(s),
|
|
9261
|
+
await navigator.clipboard.writeText(s), x(n, L(/* @__PURE__ */ li())), setTimeout(
|
|
9262
9262
|
() => {
|
|
9263
|
-
|
|
9263
|
+
x(n, L(/* @__PURE__ */ gr()));
|
|
9264
9264
|
},
|
|
9265
9265
|
2e3
|
|
9266
9266
|
);
|
|
@@ -9336,9 +9336,9 @@ function us(t, e) {
|
|
|
9336
9336
|
{
|
|
9337
9337
|
var st = (D) => {
|
|
9338
9338
|
var P = Lv();
|
|
9339
|
-
|
|
9339
|
+
_(D, P);
|
|
9340
9340
|
}, Fe = (D) => {
|
|
9341
|
-
var P = ke(), H =
|
|
9341
|
+
var P = ke(), H = _e(P);
|
|
9342
9342
|
{
|
|
9343
9343
|
var J = (ue) => {
|
|
9344
9344
|
var K = Rv();
|
|
@@ -9350,40 +9350,40 @@ function us(t, e) {
|
|
|
9350
9350
|
() => Zt(me()).icon,
|
|
9351
9351
|
() => Zt(me()).name == "Documento Comune" ? "color: #295DCF" : `color: ${Zt(me()).color}`
|
|
9352
9352
|
]
|
|
9353
|
-
),
|
|
9353
|
+
), _(ue, K);
|
|
9354
9354
|
}, le = (ue) => {
|
|
9355
|
-
var K = ke(), we =
|
|
9355
|
+
var K = ke(), we = _e(K);
|
|
9356
9356
|
{
|
|
9357
9357
|
var Ie = (j) => {
|
|
9358
9358
|
var B = jv();
|
|
9359
|
-
|
|
9359
|
+
_(j, B);
|
|
9360
9360
|
}, Te = (j) => {
|
|
9361
|
-
var B = ke(), se =
|
|
9361
|
+
var B = ke(), se = _e(B);
|
|
9362
9362
|
{
|
|
9363
9363
|
var ee = (Ce) => {
|
|
9364
9364
|
var de = Pv();
|
|
9365
|
-
|
|
9365
|
+
_(Ce, de);
|
|
9366
9366
|
}, Le = (Ce) => {
|
|
9367
|
-
var de = ke(), N =
|
|
9367
|
+
var de = ke(), N = _e(de);
|
|
9368
9368
|
{
|
|
9369
9369
|
var vt = (bt) => {
|
|
9370
9370
|
var it = Fv();
|
|
9371
|
-
|
|
9371
|
+
_(bt, it);
|
|
9372
9372
|
}, gt = (bt) => {
|
|
9373
|
-
var it = ke(), En =
|
|
9373
|
+
var it = ke(), En = _e(it);
|
|
9374
9374
|
{
|
|
9375
9375
|
var wt = (Ee) => {
|
|
9376
9376
|
var Se = Ov();
|
|
9377
|
-
|
|
9377
|
+
_(Ee, Se);
|
|
9378
9378
|
}, at = (Ee) => {
|
|
9379
|
-
var Se = ke(), Ct =
|
|
9379
|
+
var Se = ke(), Ct = _e(Se);
|
|
9380
9380
|
{
|
|
9381
9381
|
var ot = (He) => {
|
|
9382
9382
|
var Ue = qv();
|
|
9383
|
-
|
|
9383
|
+
_(He, Ue);
|
|
9384
9384
|
}, et = (He) => {
|
|
9385
9385
|
var Ue = Mv();
|
|
9386
|
-
|
|
9386
|
+
_(He, Ue);
|
|
9387
9387
|
};
|
|
9388
9388
|
G(
|
|
9389
9389
|
Ct,
|
|
@@ -9394,7 +9394,7 @@ function us(t, e) {
|
|
|
9394
9394
|
!0
|
|
9395
9395
|
);
|
|
9396
9396
|
}
|
|
9397
|
-
|
|
9397
|
+
_(Ee, Se);
|
|
9398
9398
|
};
|
|
9399
9399
|
G(
|
|
9400
9400
|
En,
|
|
@@ -9405,7 +9405,7 @@ function us(t, e) {
|
|
|
9405
9405
|
!0
|
|
9406
9406
|
);
|
|
9407
9407
|
}
|
|
9408
|
-
|
|
9408
|
+
_(bt, it);
|
|
9409
9409
|
};
|
|
9410
9410
|
G(
|
|
9411
9411
|
N,
|
|
@@ -9416,7 +9416,7 @@ function us(t, e) {
|
|
|
9416
9416
|
!0
|
|
9417
9417
|
);
|
|
9418
9418
|
}
|
|
9419
|
-
|
|
9419
|
+
_(Ce, de);
|
|
9420
9420
|
};
|
|
9421
9421
|
G(
|
|
9422
9422
|
se,
|
|
@@ -9427,7 +9427,7 @@ function us(t, e) {
|
|
|
9427
9427
|
!0
|
|
9428
9428
|
);
|
|
9429
9429
|
}
|
|
9430
|
-
|
|
9430
|
+
_(j, B);
|
|
9431
9431
|
};
|
|
9432
9432
|
G(
|
|
9433
9433
|
we,
|
|
@@ -9438,7 +9438,7 @@ function us(t, e) {
|
|
|
9438
9438
|
!0
|
|
9439
9439
|
);
|
|
9440
9440
|
}
|
|
9441
|
-
|
|
9441
|
+
_(ue, K);
|
|
9442
9442
|
};
|
|
9443
9443
|
G(
|
|
9444
9444
|
H,
|
|
@@ -9448,7 +9448,7 @@ function us(t, e) {
|
|
|
9448
9448
|
!0
|
|
9449
9449
|
);
|
|
9450
9450
|
}
|
|
9451
|
-
|
|
9451
|
+
_(D, P);
|
|
9452
9452
|
};
|
|
9453
9453
|
G(Oe, (D) => {
|
|
9454
9454
|
p(i)[p(Pe)] ? D(st) : D(Fe, !1);
|
|
@@ -9460,7 +9460,7 @@ function us(t, e) {
|
|
|
9460
9460
|
{
|
|
9461
9461
|
var Ae = (D) => {
|
|
9462
9462
|
var P = Dv(), H = $(P, !0);
|
|
9463
|
-
k(P), F(() => Re(H, U() !== "" ? U() : "root /")),
|
|
9463
|
+
k(P), F(() => Re(H, U() !== "" ? U() : "root /")), _(D, P);
|
|
9464
9464
|
};
|
|
9465
9465
|
G(pt, (D) => {
|
|
9466
9466
|
oe() || D(Ae);
|
|
@@ -9475,7 +9475,7 @@ function us(t, e) {
|
|
|
9475
9475
|
() => `${oe() ? Zt(me()).name : /* @__PURE__ */ ai()}`,
|
|
9476
9476
|
() => oe() ? Z().split(".")[0] : Z()
|
|
9477
9477
|
]
|
|
9478
|
-
),
|
|
9478
|
+
), _(C, ye);
|
|
9479
9479
|
}), k(T);
|
|
9480
9480
|
var q = Y(T, 2), E = $(q);
|
|
9481
9481
|
E.__click = [
|
|
@@ -9489,19 +9489,19 @@ function us(t, e) {
|
|
|
9489
9489
|
O(E, "aria-label", C), O(E, "title", C), Re(M, p(a));
|
|
9490
9490
|
},
|
|
9491
9491
|
[() => /* @__PURE__ */ gr()]
|
|
9492
|
-
), tn(3, y, () => Wl, () => ({ duration: 300 })),
|
|
9492
|
+
), tn(3, y, () => Wl, () => ({ duration: 300 })), _(w, y);
|
|
9493
9493
|
};
|
|
9494
9494
|
G(b, (w) => {
|
|
9495
9495
|
n() && w(z);
|
|
9496
9496
|
});
|
|
9497
9497
|
}
|
|
9498
|
-
k(m),
|
|
9498
|
+
k(m), _(h, m);
|
|
9499
9499
|
};
|
|
9500
9500
|
G(d, (h) => {
|
|
9501
9501
|
r().length > 0 && h(f);
|
|
9502
9502
|
});
|
|
9503
9503
|
}
|
|
9504
|
-
return k(u),
|
|
9504
|
+
return k(u), _(t, u), ne({
|
|
9505
9505
|
get isDropdownOpen() {
|
|
9506
9506
|
return n();
|
|
9507
9507
|
},
|
|
@@ -9535,17 +9535,17 @@ ae(
|
|
|
9535
9535
|
!0
|
|
9536
9536
|
);
|
|
9537
9537
|
const Zv = (t, e, n) => {
|
|
9538
|
-
p(e).pause(),
|
|
9538
|
+
p(e).pause(), x(n, !1);
|
|
9539
9539
|
};
|
|
9540
|
-
var Gv = /* @__PURE__ */ S('<button aria-label="Pause message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-
|
|
9540
|
+
var Gv = /* @__PURE__ */ S('<button aria-label="Pause message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-qb0yv4"><i class="fa-solid fa-pause"></i></button>'), Wv = (t, e, n) => e(p(n)), Jv = /* @__PURE__ */ S('<button aria-label="Play message" class="btn btn-sm btn-primary aks-btn-rounded play-button svelte-qb0yv4"><i class="fa-solid fa-play"></i></button>'), Vv = /* @__PURE__ */ S('<button class="sources-toggle-btn svelte-qb0yv4" aria-label="Visualizza fonti"><span> </span> <i></i></button>'), Xv = /* @__PURE__ */ S('<i class="fa-solid fa-check"></i>'), Qv = /* @__PURE__ */ S('<i class="fa-regular fa-copy"></i>'), Kv = /* @__PURE__ */ S('<div><div class="message-plus-play svelte-qb0yv4"><div><div class="message-content svelte-qb0yv4"><!></div></div> <!></div> <div class="w-100 d-flex"><div class="attachments-container svelte-qb0yv4"><!> <div class="d-flex align-items-center gap-1"><!> <button aria-label="Copy message" class="copy-button svelte-qb0yv4"><!></button></div></div></div></div>'), eg = /* @__PURE__ */ S('<div><div class="message-plus-play svelte-qb0yv4"><div class="message-received svelte-qb0yv4"><div class="message-content svelte-qb0yv4"><!></div></div> <!></div> <!></div>'), tg = /* @__PURE__ */ S('<div class="loading svelte-qb0yv4"><!></div>'), ng = /* @__PURE__ */ S('<div class="alert alert-danger"> </div>'), rg = /* @__PURE__ */ S('<div class="chat-body svelte-qb0yv4"><div class="empty-placeholder svelte-qb0yv4"></div> <!> <!> <!></div>');
|
|
9541
9541
|
const sg = {
|
|
9542
|
-
hash: "svelte-
|
|
9543
|
-
code: `.empty-placeholder.svelte-
|
|
9542
|
+
hash: "svelte-qb0yv4",
|
|
9543
|
+
code: `.empty-placeholder.svelte-qb0yv4 {height:100%;}.chat-body.svelte-qb0yv4 {display:flex;flex-direction:column;gap:10px;overflow-y:auto;height:100%;padding:10px;}.chat-body.svelte-qb0yv4::-webkit-scrollbar {width:8px;}.chat-body.svelte-qb0yv4 * {--bs-table-color: #333333;--bs-table-striped-color: #333333;--bs-link-color-rgb: 41, 93, 207;}.chat-body.svelte-qb0yv4 table {min-width:auto;}.chat-body.svelte-qb0yv4::-webkit-scrollbar-track {background:rgba(255, 255, 255, 0.2); /* Sfondo semi-trasparente */border-radius:10px;}.chat-body.svelte-qb0yv4::-webkit-scrollbar-thumb {background:rgba(\r
|
|
9544
9544
|
255,\r
|
|
9545
9545
|
255,\r
|
|
9546
9546
|
255,\r
|
|
9547
9547
|
0.5\r
|
|
9548
|
-
); /* Colore del "pollice" della scrollbar */border-radius:10px;transition:0.3s;}.chat-body.svelte-
|
|
9548
|
+
); /* Colore del "pollice" della scrollbar */border-radius:10px;transition:0.3s;}.chat-body.svelte-qb0yv4::-webkit-scrollbar-thumb:hover {background:rgba(255, 255, 255, 0.8); /* Più visibile quando hoverata */}.message-sent.svelte-qb0yv4 {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-qb0yv4 {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-qb0yv4 {padding:10px;font-size:16px;}.attachments-container.svelte-qb0yv4 {display:flex;flex-direction:column;width:80%;}.play-button.svelte-qb0yv4 {transition:opacity 200ms;opacity:0;background-color:white;color:#295dcf;transition:200ms;}.play-button.svelte-qb0yv4:hover {background-color:#e9ecef;translate:0 -1px;}.sources-toggle-btn.svelte-qb0yv4 {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 8px rgba(0, 0, 0, 0.15);border:none;height:35px;}.sources-toggle-btn.svelte-qb0yv4:hover {background:rgba(255, 255, 255, 0.25);border-color:rgba(255, 255, 255, 0.5);}.sources-toggle-btn.svelte-qb0yv4 i:where(.svelte-qb0yv4) {font-size:12px;transition:transform 200ms;}.copy-button.svelte-qb0yv4 {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 10px 10px;height:35px;width:35px;padding:0;font-size:18px;margin:0;}.copy-button.svelte-qb0yv4:hover {background-color:rgba(255, 255, 255, 0.2);}.message-plus-play.svelte-qb0yv4 {display:flex;justify-content:flex-start;align-items:center;gap:5px;}.message-plus-play.svelte-qb0yv4:hover .play-button:where(.svelte-qb0yv4) {opacity:1;}.loading.svelte-qb0yv4 {display:flex;justify-content:start;align-items:center;padding-left:10px;}`
|
|
9549
9549
|
};
|
|
9550
9550
|
function Xa(t, e) {
|
|
9551
9551
|
te(e, !0), ce(t, sg);
|
|
@@ -9554,8 +9554,8 @@ function Xa(t, e) {
|
|
|
9554
9554
|
await hl(), p(c) && (p(c).scrollTop = p(c).scrollHeight);
|
|
9555
9555
|
}, b = (C) => {
|
|
9556
9556
|
Cs.getAudio(C.content, o()).then((A) => {
|
|
9557
|
-
|
|
9558
|
-
|
|
9557
|
+
x(u, L(new Audio(A))), p(u).play(), x(d, !0), p(u).onended = () => {
|
|
9558
|
+
x(d, !1);
|
|
9559
9559
|
};
|
|
9560
9560
|
});
|
|
9561
9561
|
}, z = async (C, A) => {
|
|
@@ -9594,20 +9594,20 @@ function Xa(t, e) {
|
|
|
9594
9594
|
var ye = Y(V, 2);
|
|
9595
9595
|
{
|
|
9596
9596
|
var $e = (P) => {
|
|
9597
|
-
var H = ke(), J =
|
|
9597
|
+
var H = ke(), J = _e(H);
|
|
9598
9598
|
{
|
|
9599
9599
|
var le = (K) => {
|
|
9600
9600
|
var we = Gv();
|
|
9601
|
-
we.__click = [Zv, u, d], F((Ie) => O(we, "title", Ie), [() => /* @__PURE__ */ qu()]),
|
|
9601
|
+
we.__click = [Zv, u, d], F((Ie) => O(we, "title", Ie), [() => /* @__PURE__ */ qu()]), _(K, we);
|
|
9602
9602
|
}, ue = (K) => {
|
|
9603
9603
|
var we = Jv();
|
|
9604
|
-
we.__click = [Wv, b, A], F((Ie) => O(we, "title", Ie), [() => /* @__PURE__ */ Ou()]),
|
|
9604
|
+
we.__click = [Wv, b, A], F((Ie) => O(we, "title", Ie), [() => /* @__PURE__ */ Ou()]), _(K, we);
|
|
9605
9605
|
};
|
|
9606
9606
|
G(J, (K) => {
|
|
9607
9607
|
p(d) ? K(le) : K(ue, !1);
|
|
9608
9608
|
});
|
|
9609
9609
|
}
|
|
9610
|
-
|
|
9610
|
+
_(P, H);
|
|
9611
9611
|
};
|
|
9612
9612
|
G(ye, (P) => {
|
|
9613
9613
|
p(A).content != "" && !p(A).sentByUser && P($e);
|
|
@@ -9650,10 +9650,10 @@ function Xa(t, e) {
|
|
|
9650
9650
|
var ue = Y(J, 2);
|
|
9651
9651
|
k(H), F(
|
|
9652
9652
|
(K) => {
|
|
9653
|
-
Re(le, `${K ?? ""} (${p(A).attachments.length ?? ""})`), Xe(ue, `${`fa-solid fa-chevron-${p(f)[Z] ? "up" : "down"}` ?? ""} svelte-
|
|
9653
|
+
Re(le, `${K ?? ""} (${p(A).attachments.length ?? ""})`), Xe(ue, `${`fa-solid fa-chevron-${p(f)[Z] ? "up" : "down"}` ?? ""} svelte-qb0yv4`);
|
|
9654
9654
|
},
|
|
9655
9655
|
[() => /* @__PURE__ */ Au()]
|
|
9656
|
-
),
|
|
9656
|
+
), _(P, H);
|
|
9657
9657
|
};
|
|
9658
9658
|
G(je, (P) => {
|
|
9659
9659
|
p(A).attachments && p(A).attachments.length > 0 && p(A).sentByUser == !1 && P(Be);
|
|
@@ -9665,10 +9665,10 @@ function Xa(t, e) {
|
|
|
9665
9665
|
{
|
|
9666
9666
|
var Ae = (P) => {
|
|
9667
9667
|
var H = Xv();
|
|
9668
|
-
|
|
9668
|
+
_(P, H);
|
|
9669
9669
|
}, D = (P) => {
|
|
9670
9670
|
var H = Qv();
|
|
9671
|
-
|
|
9671
|
+
_(P, H);
|
|
9672
9672
|
};
|
|
9673
9673
|
G(pt, (P) => {
|
|
9674
9674
|
p(h)[Z] ? P(Ae) : P(D, !1);
|
|
@@ -9676,12 +9676,12 @@ function Xa(t, e) {
|
|
|
9676
9676
|
}
|
|
9677
9677
|
k(qe), k(Fe), k(Pe), k(re), k(pe), F(
|
|
9678
9678
|
(P) => {
|
|
9679
|
-
Xe(V, Ir(p(A).sentByUser ? "message-sent" : "message-received"), "svelte-
|
|
9679
|
+
Xe(V, Ir(p(A).sentByUser ? "message-sent" : "message-received"), "svelte-qb0yv4"), O(re, "style", `justify-content: ${(p(A).sentByUser ? "flex-end" : "flex-start") ?? ""}`), O(Fe, "style", `width: 100%; justify-content: ${(p(A).sentByUser ? "flex-end" : "flex-start") ?? ""}`), O(qe, "title", P);
|
|
9680
9680
|
},
|
|
9681
9681
|
[
|
|
9682
9682
|
() => p(h)[Z] || /* @__PURE__ */ Uu()
|
|
9683
9683
|
]
|
|
9684
|
-
),
|
|
9684
|
+
), _(C, pe);
|
|
9685
9685
|
});
|
|
9686
9686
|
var T = Y(y, 2);
|
|
9687
9687
|
{
|
|
@@ -9729,9 +9729,9 @@ function Xa(t, e) {
|
|
|
9729
9729
|
a() && a().length > 0 && re($e);
|
|
9730
9730
|
});
|
|
9731
9731
|
}
|
|
9732
|
-
k(A),
|
|
9732
|
+
k(A), _(C, A);
|
|
9733
9733
|
}, E = (C) => {
|
|
9734
|
-
var A = ke(), Z =
|
|
9734
|
+
var A = ke(), Z = _e(A);
|
|
9735
9735
|
{
|
|
9736
9736
|
var pe = (U) => {
|
|
9737
9737
|
var V = tg(), oe = $(V);
|
|
@@ -9740,7 +9740,7 @@ function Xa(t, e) {
|
|
|
9740
9740
|
width: "25px",
|
|
9741
9741
|
height: "25px",
|
|
9742
9742
|
color: "white"
|
|
9743
|
-
}), k(V),
|
|
9743
|
+
}), k(V), _(U, V);
|
|
9744
9744
|
};
|
|
9745
9745
|
G(
|
|
9746
9746
|
Z,
|
|
@@ -9750,7 +9750,7 @@ function Xa(t, e) {
|
|
|
9750
9750
|
!0
|
|
9751
9751
|
);
|
|
9752
9752
|
}
|
|
9753
|
-
|
|
9753
|
+
_(C, A);
|
|
9754
9754
|
};
|
|
9755
9755
|
G(T, (C) => {
|
|
9756
9756
|
i().length > 0 ? C(q) : C(E, !1);
|
|
@@ -9760,13 +9760,13 @@ function Xa(t, e) {
|
|
|
9760
9760
|
{
|
|
9761
9761
|
var M = (C) => {
|
|
9762
9762
|
var A = ng(), Z = $(A, !0);
|
|
9763
|
-
k(A), F(() => Re(Z, s())),
|
|
9763
|
+
k(A), F(() => Re(Z, s())), _(C, A);
|
|
9764
9764
|
};
|
|
9765
9765
|
G(I, (C) => {
|
|
9766
9766
|
s() != "" && C(M);
|
|
9767
9767
|
});
|
|
9768
9768
|
}
|
|
9769
|
-
return k(w), wa(w, (C) =>
|
|
9769
|
+
return k(w), wa(w, (C) => x(c, C), () => p(c)), tn(3, w, () => Lr, () => ({ duration: 300, delay: 100 })), _(t, w), ne({
|
|
9770
9770
|
get messages() {
|
|
9771
9771
|
return n();
|
|
9772
9772
|
},
|
|
@@ -9985,14 +9985,14 @@ function Ka(t, e) {
|
|
|
9985
9985
|
var M = Y(q, 2);
|
|
9986
9986
|
M.__click = [fg, l, y], k(T), F(() => {
|
|
9987
9987
|
O(T, "style", r()._id === p(y)._id ? "background: #295dcf; cursor: default;" : ""), Re(I, p(y).title);
|
|
9988
|
-
}),
|
|
9989
|
-
}), k(z), k(h), F((w) => Re(b, w), [() => /* @__PURE__ */ za()]), tn(3, h, () => Jl, () => ({ duration: 600 })),
|
|
9988
|
+
}), _(w, T);
|
|
9989
|
+
}), k(z), k(h), F((w) => Re(b, w), [() => /* @__PURE__ */ za()]), tn(3, h, () => Jl, () => ({ duration: 600 })), _(f, h);
|
|
9990
9990
|
};
|
|
9991
9991
|
G(u, (f) => {
|
|
9992
9992
|
n() && f(d);
|
|
9993
9993
|
});
|
|
9994
9994
|
}
|
|
9995
|
-
return k(c),
|
|
9995
|
+
return k(c), _(t, c), ne({
|
|
9996
9996
|
get showHistory() {
|
|
9997
9997
|
return n();
|
|
9998
9998
|
},
|
|
@@ -10040,9 +10040,9 @@ ae(
|
|
|
10040
10040
|
!0
|
|
10041
10041
|
);
|
|
10042
10042
|
const mg = (t, e, n, r, s, i) => {
|
|
10043
|
-
p(e) || (
|
|
10043
|
+
p(e) || (x(e, !1), x(n, ""), r()), s(), x(i, L({}));
|
|
10044
10044
|
};
|
|
10045
|
-
var bg = /* @__PURE__ */ S('<div class="loading-placeholder svelte-1hgblks"><!></div>'), wg = /* @__PURE__ */ S('<!> <div class="resize-border-left svelte-1hgblks"></div> <div class="resize-border-top svelte-1hgblks"></div> <div class="resize-handle svelte-1hgblks"><!></div> <!> <!> <!>', 1),
|
|
10045
|
+
var bg = /* @__PURE__ */ S('<div class="loading-placeholder svelte-1hgblks"><!></div>'), wg = /* @__PURE__ */ S('<!> <div class="resize-border-left svelte-1hgblks"></div> <div class="resize-border-top svelte-1hgblks"></div> <div class="resize-handle svelte-1hgblks"><!></div> <!> <!> <!>', 1), _g = /* @__PURE__ */ S('<div class="chat svelte-1hgblks"><!></div>'), xg = (t, e) => x(e, !p(e)), yg = (t, e) => e("normative"), kg = (t, e) => e("suite"), zg = /* @__PURE__ */ S('<div class="bottom-right-buttons svelte-1hgblks"><button class="pin-forge-buttons svelte-1hgblks"><i class="fa-solid fa-thumbtack"></i></button> <div class="btn-with-tooltip svelte-1hgblks"><span class="custom-tooltip svelte-1hgblks"> </span> <button class="hidden-btn hidden-btn-1 svelte-1hgblks" aria-label="normative"><i class="fa-solid fa-book-open"></i></button></div> <div class="btn-with-tooltip svelte-1hgblks"><span class="custom-tooltip svelte-1hgblks"> </span> <button class="hidden-btn hidden-btn-2 svelte-1hgblks" aria-label="suite info"><i class="fa-solid fa-circle-info"></i></button></div></div>'), $g = /* @__PURE__ */ S('<div class="external-div"><!> <button><i class="fa-solid fa-comment-nodes"></i><span class="d-none d-md-inline ps-2"> </span></button> <!></div>');
|
|
10046
10046
|
const Sg = {
|
|
10047
10047
|
hash: "svelte-1hgblks",
|
|
10048
10048
|
code: ".loading-placeholder.svelte-1hgblks {display:flex;justify-content:center;align-items:center;height:100%;}.chat.svelte-1hgblks {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-1hgblks {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-1hgblks {position:absolute;top:0;left:-2px;width:4px;height:100%;cursor:ew-resize;z-index:1001;background:transparent;}.resize-border-top.svelte-1hgblks {position:absolute;top:-2px;left:0;width:100%;height:4px;cursor:ns-resize;z-index:1001;background:transparent;}.no-select.svelte-1hgblks {user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;}.bottom-right-buttons.svelte-1hgblks {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-1hgblks {transform:translateX(0);}.bottom-right-buttons.svelte-1hgblks:hover {transform:translateX(0);}.pin-forge-buttons.svelte-1hgblks {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-1hgblks:hover {background:rgba(0, 0, 0, 0.85);transform:scale(1.1);}.pin-forge-buttons.pinned.svelte-1hgblks {background:#295dcf;transform:rotate(45deg);}.pin-forge-buttons.pinned.svelte-1hgblks:hover {background:#1e4ba8;transform:rotate(45deg) scale(1.1);}.btn-with-tooltip.svelte-1hgblks {position:relative;display:flex;align-items:center;transition:300ms;}.btn-with-tooltip.svelte-1hgblks:hover {transform:translateX(-6px);}.custom-tooltip.svelte-1hgblks {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);}.bottom-right-buttons.visible.svelte-1hgblks .custom-tooltip:where(.svelte-1hgblks) {opacity:1;}.btn-with-tooltip.svelte-1hgblks:hover .custom-tooltip:where(.svelte-1hgblks) {opacity:1;}.hidden-btn.svelte-1hgblks {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-1hgblks {background:#28853d;color:white;}.hidden-btn-1.svelte-1hgblks:hover {background:#206a31;}.hidden-btn-2.svelte-1hgblks {background:#0099ff;color:white;}.hidden-btn-2.svelte-1hgblks:hover {background:#007acc;}"
|
|
@@ -10051,46 +10051,46 @@ function eo(t, e) {
|
|
|
10051
10051
|
te(e, !0), ce(t, Sg);
|
|
10052
10052
|
let n = X(!1), r = X(!1), s = X("it"), i = X(""), a = X(0), o = X(null), l = X(L([])), c = X(L([])), u = X(!1), d = X(!0), f = X(L(new Audio())), h = X(!0), m = X(""), b = X(""), z = X(L([])), w = X(null);
|
|
10053
10053
|
const y = (D, P) => {
|
|
10054
|
-
|
|
10054
|
+
x(b, p(b) + D), x(z, L(P));
|
|
10055
10055
|
};
|
|
10056
10056
|
let T = X(""), q = X(!1), E = X(L({})), I = X(!0), M = X(!1);
|
|
10057
10057
|
Ft(() => {
|
|
10058
10058
|
p(M) && W.setForgeButtonsPinned(p(I));
|
|
10059
10059
|
});
|
|
10060
10060
|
const C = async (D, P, H, J = []) => {
|
|
10061
|
-
if (
|
|
10061
|
+
if (x(m, ""), x(u, !0), x(c, L([
|
|
10062
10062
|
...p(c),
|
|
10063
10063
|
new Ht((/* @__PURE__ */ new Date()).getTime(), !0, D, D)
|
|
10064
|
-
])), p(c).length == 2 && (
|
|
10065
|
-
|
|
10064
|
+
])), console.log("Current messages:", p(c)), p(c).length == 2 && (x(o, L(await Fn.newChat())), x(l, L([...p(l), p(o)])), p(o).messages = p(c)), p(o)) {
|
|
10065
|
+
x(w, L(new AbortController()));
|
|
10066
10066
|
try {
|
|
10067
10067
|
let le = await Fn.sendMessage(p(o)._id, D, P, H, J, y, p(s), p(w).signal);
|
|
10068
10068
|
if (console.log(le), le) {
|
|
10069
|
-
|
|
10069
|
+
x(c, L([
|
|
10070
10070
|
...p(c),
|
|
10071
10071
|
new Ht((/* @__PURE__ */ new Date()).getTime(), !1, "", p(b))
|
|
10072
|
-
])),
|
|
10072
|
+
])), x(b, "");
|
|
10073
10073
|
return;
|
|
10074
10074
|
}
|
|
10075
|
-
if (
|
|
10075
|
+
if (x(o, L(await Fn.getChat(p(o)._id))), x(b, ""), x(z, L([])), x(c, L([
|
|
10076
10076
|
...p(c),
|
|
10077
10077
|
p(o).messages[p(o).messages.length - 1]
|
|
10078
10078
|
])), !p(h)) {
|
|
10079
10079
|
const ue = p(o).messages[p(o).messages.length - 1];
|
|
10080
10080
|
try {
|
|
10081
10081
|
const K = await Cs.getAudio(ue.content, p(s));
|
|
10082
|
-
|
|
10082
|
+
x(f, L(new Audio(K))), await p(f).play();
|
|
10083
10083
|
} catch (K) {
|
|
10084
10084
|
console.error("Error playing audio:", K);
|
|
10085
10085
|
}
|
|
10086
10086
|
}
|
|
10087
10087
|
} catch (le) {
|
|
10088
|
-
le instanceof Error && le.name !== "AbortError" && (console.error("Error sending message:", le),
|
|
10088
|
+
le instanceof Error && le.name !== "AbortError" && (console.error("Error sending message:", le), x(m, L(/* @__PURE__ */ Mu())));
|
|
10089
10089
|
} finally {
|
|
10090
|
-
|
|
10090
|
+
x(w, null), x(u, !1);
|
|
10091
10091
|
}
|
|
10092
10092
|
} else
|
|
10093
|
-
|
|
10093
|
+
x(m, L(/* @__PURE__ */ Du())), x(u, !1);
|
|
10094
10094
|
}, A = () => {
|
|
10095
10095
|
p(w) && p(w).abort();
|
|
10096
10096
|
};
|
|
@@ -10099,7 +10099,7 @@ function eo(t, e) {
|
|
|
10099
10099
|
});
|
|
10100
10100
|
const Z = () => {
|
|
10101
10101
|
p(n) && Fn.getChats().then((D) => {
|
|
10102
|
-
|
|
10102
|
+
x(l, L(D.sort((P, H) => {
|
|
10103
10103
|
if (P.messages.length === 0 && H.messages.length === 0) return 0;
|
|
10104
10104
|
if (P.messages.length === 0) return 1;
|
|
10105
10105
|
if (H.messages.length === 0) return -1;
|
|
@@ -10109,7 +10109,7 @@ function eo(t, e) {
|
|
|
10109
10109
|
});
|
|
10110
10110
|
};
|
|
10111
10111
|
Ft(() => {
|
|
10112
|
-
p(o) &&
|
|
10112
|
+
p(o) && x(c, L(p(o).messages)), Z();
|
|
10113
10113
|
});
|
|
10114
10114
|
let pe = !1, U, V, oe, me;
|
|
10115
10115
|
function ye(D) {
|
|
@@ -10140,36 +10140,36 @@ function eo(t, e) {
|
|
|
10140
10140
|
}
|
|
10141
10141
|
}
|
|
10142
10142
|
const $e = () => {
|
|
10143
|
-
p(n) ? p(r) ? (
|
|
10143
|
+
p(n) ? p(r) ? (x(r, !1), setTimeout(
|
|
10144
10144
|
() => {
|
|
10145
|
-
|
|
10145
|
+
x(n, !1);
|
|
10146
10146
|
},
|
|
10147
10147
|
450
|
|
10148
|
-
)) :
|
|
10148
|
+
)) : x(n, !1) : x(n, !0);
|
|
10149
10149
|
}, re = () => {
|
|
10150
|
-
|
|
10150
|
+
x(o, L(new nn("", "", "", /* @__PURE__ */ ka(), [
|
|
10151
10151
|
Ht.firstMessage(p(s), p(i), p(T))
|
|
10152
|
-
]))),
|
|
10152
|
+
]))), x(m, "");
|
|
10153
10153
|
}, Pe = (D) => {
|
|
10154
|
-
p(T) !== D && (
|
|
10154
|
+
p(T) !== D && (x(q, !1), x(T, L(D)), re()), $e(), x(E, L({}));
|
|
10155
10155
|
};
|
|
10156
10156
|
Ar(async () => {
|
|
10157
10157
|
try {
|
|
10158
|
-
|
|
10158
|
+
x(s, L(Q()));
|
|
10159
10159
|
const D = await Wt.getUsername();
|
|
10160
|
-
|
|
10160
|
+
x(i, L(D));
|
|
10161
10161
|
const P = await Wt.getUserLevel();
|
|
10162
|
-
|
|
10162
|
+
x(a, L(P));
|
|
10163
10163
|
const H = Ht.firstMessage(p(s), p(i), p(T));
|
|
10164
|
-
|
|
10164
|
+
x(c, L([H])), x(o, L(new nn("", "", "", "New Chat", [H]))), x(I, L(W.getForgeButtonsPinned())), x(M, !0), x(d, !1);
|
|
10165
10165
|
} catch (D) {
|
|
10166
|
-
console.error("Failed to load username", D),
|
|
10166
|
+
console.error("Failed to load username", D), x(m, L(/* @__PURE__ */ Nu())), x(d, !1);
|
|
10167
10167
|
}
|
|
10168
10168
|
});
|
|
10169
10169
|
var Oe = $g(), st = $(Oe);
|
|
10170
10170
|
{
|
|
10171
10171
|
var Fe = (D) => {
|
|
10172
|
-
var P =
|
|
10172
|
+
var P = _g();
|
|
10173
10173
|
P.__mousedown = ye;
|
|
10174
10174
|
var H = $(P);
|
|
10175
10175
|
{
|
|
@@ -10180,37 +10180,37 @@ function eo(t, e) {
|
|
|
10180
10180
|
width: "50px",
|
|
10181
10181
|
height: "50px",
|
|
10182
10182
|
color: "white"
|
|
10183
|
-
}), k(K),
|
|
10183
|
+
}), k(K), _(ue, K);
|
|
10184
10184
|
}, le = (ue) => {
|
|
10185
|
-
var K = ke(), we =
|
|
10185
|
+
var K = ke(), we = _e(K);
|
|
10186
10186
|
{
|
|
10187
10187
|
var Ie = (Te) => {
|
|
10188
|
-
var j = wg(), B =
|
|
10188
|
+
var j = wg(), B = _e(j);
|
|
10189
10189
|
Ka(B, {
|
|
10190
10190
|
newChat: re,
|
|
10191
10191
|
get showHistory() {
|
|
10192
10192
|
return p(r);
|
|
10193
10193
|
},
|
|
10194
10194
|
set showHistory(N) {
|
|
10195
|
-
|
|
10195
|
+
x(r, L(N));
|
|
10196
10196
|
},
|
|
10197
10197
|
get actChat() {
|
|
10198
10198
|
return p(o);
|
|
10199
10199
|
},
|
|
10200
10200
|
set actChat(N) {
|
|
10201
|
-
|
|
10201
|
+
x(o, L(N));
|
|
10202
10202
|
},
|
|
10203
10203
|
get chats() {
|
|
10204
10204
|
return p(l);
|
|
10205
10205
|
},
|
|
10206
10206
|
set chats(N) {
|
|
10207
|
-
|
|
10207
|
+
x(l, L(N));
|
|
10208
10208
|
},
|
|
10209
10209
|
get error() {
|
|
10210
10210
|
return p(m);
|
|
10211
10211
|
},
|
|
10212
10212
|
set error(N) {
|
|
10213
|
-
|
|
10213
|
+
x(m, L(N));
|
|
10214
10214
|
}
|
|
10215
10215
|
});
|
|
10216
10216
|
var se = Y(B, 6), ee = $(se);
|
|
@@ -10230,43 +10230,43 @@ function eo(t, e) {
|
|
|
10230
10230
|
return p(n);
|
|
10231
10231
|
},
|
|
10232
10232
|
set show(N) {
|
|
10233
|
-
|
|
10233
|
+
x(n, L(N));
|
|
10234
10234
|
},
|
|
10235
10235
|
get showHistory() {
|
|
10236
10236
|
return p(r);
|
|
10237
10237
|
},
|
|
10238
10238
|
set showHistory(N) {
|
|
10239
|
-
|
|
10239
|
+
x(r, L(N));
|
|
10240
10240
|
},
|
|
10241
10241
|
get actChat() {
|
|
10242
10242
|
return p(o);
|
|
10243
10243
|
},
|
|
10244
10244
|
set actChat(N) {
|
|
10245
|
-
|
|
10245
|
+
x(o, L(N));
|
|
10246
10246
|
},
|
|
10247
10247
|
get muted() {
|
|
10248
10248
|
return p(h);
|
|
10249
10249
|
},
|
|
10250
10250
|
set muted(N) {
|
|
10251
|
-
|
|
10251
|
+
x(h, L(N));
|
|
10252
10252
|
},
|
|
10253
10253
|
get languageSelected() {
|
|
10254
10254
|
return p(s);
|
|
10255
10255
|
},
|
|
10256
10256
|
set languageSelected(N) {
|
|
10257
|
-
|
|
10257
|
+
x(s, L(N));
|
|
10258
10258
|
},
|
|
10259
10259
|
get username() {
|
|
10260
10260
|
return p(i);
|
|
10261
10261
|
},
|
|
10262
10262
|
set username(N) {
|
|
10263
|
-
|
|
10263
|
+
x(i, L(N));
|
|
10264
10264
|
},
|
|
10265
10265
|
get error() {
|
|
10266
10266
|
return p(m);
|
|
10267
10267
|
},
|
|
10268
10268
|
set error(N) {
|
|
10269
|
-
|
|
10269
|
+
x(m, L(N));
|
|
10270
10270
|
}
|
|
10271
10271
|
});
|
|
10272
10272
|
var Ce = Y(Le, 2);
|
|
@@ -10275,43 +10275,43 @@ function eo(t, e) {
|
|
|
10275
10275
|
return p(c);
|
|
10276
10276
|
},
|
|
10277
10277
|
set messages(N) {
|
|
10278
|
-
|
|
10278
|
+
x(c, L(N));
|
|
10279
10279
|
},
|
|
10280
10280
|
get loading() {
|
|
10281
10281
|
return p(u);
|
|
10282
10282
|
},
|
|
10283
10283
|
set loading(N) {
|
|
10284
|
-
|
|
10284
|
+
x(u, L(N));
|
|
10285
10285
|
},
|
|
10286
10286
|
get error() {
|
|
10287
10287
|
return p(m);
|
|
10288
10288
|
},
|
|
10289
10289
|
set error(N) {
|
|
10290
|
-
|
|
10290
|
+
x(m, L(N));
|
|
10291
10291
|
},
|
|
10292
10292
|
get streamMessage() {
|
|
10293
10293
|
return p(b);
|
|
10294
10294
|
},
|
|
10295
10295
|
set streamMessage(N) {
|
|
10296
|
-
|
|
10296
|
+
x(b, L(N));
|
|
10297
10297
|
},
|
|
10298
10298
|
get streamAttachments() {
|
|
10299
10299
|
return p(z);
|
|
10300
10300
|
},
|
|
10301
10301
|
set streamAttachments(N) {
|
|
10302
|
-
|
|
10302
|
+
x(z, L(N));
|
|
10303
10303
|
},
|
|
10304
10304
|
get languageSelected() {
|
|
10305
10305
|
return p(s);
|
|
10306
10306
|
},
|
|
10307
10307
|
set languageSelected(N) {
|
|
10308
|
-
|
|
10308
|
+
x(s, L(N));
|
|
10309
10309
|
},
|
|
10310
10310
|
get userLevel() {
|
|
10311
10311
|
return p(a);
|
|
10312
10312
|
},
|
|
10313
10313
|
set userLevel(N) {
|
|
10314
|
-
|
|
10314
|
+
x(a, L(N));
|
|
10315
10315
|
}
|
|
10316
10316
|
});
|
|
10317
10317
|
var de = Y(Ce, 2);
|
|
@@ -10322,33 +10322,33 @@ function eo(t, e) {
|
|
|
10322
10322
|
return p(u);
|
|
10323
10323
|
},
|
|
10324
10324
|
set loading(N) {
|
|
10325
|
-
|
|
10325
|
+
x(u, L(N));
|
|
10326
10326
|
},
|
|
10327
10327
|
get languageSelected() {
|
|
10328
10328
|
return p(s);
|
|
10329
10329
|
},
|
|
10330
10330
|
set languageSelected(N) {
|
|
10331
|
-
|
|
10331
|
+
x(s, L(N));
|
|
10332
10332
|
},
|
|
10333
10333
|
get forgeSelected() {
|
|
10334
10334
|
return p(T);
|
|
10335
10335
|
},
|
|
10336
10336
|
set forgeSelected(N) {
|
|
10337
|
-
|
|
10337
|
+
x(T, L(N));
|
|
10338
10338
|
},
|
|
10339
10339
|
get kbSelected() {
|
|
10340
10340
|
return p(q);
|
|
10341
10341
|
},
|
|
10342
10342
|
set kbSelected(N) {
|
|
10343
|
-
|
|
10343
|
+
x(q, L(N));
|
|
10344
10344
|
},
|
|
10345
10345
|
get attachments() {
|
|
10346
10346
|
return p(E);
|
|
10347
10347
|
},
|
|
10348
10348
|
set attachments(N) {
|
|
10349
|
-
|
|
10349
|
+
x(E, L(N));
|
|
10350
10350
|
}
|
|
10351
|
-
}),
|
|
10351
|
+
}), _(Te, j);
|
|
10352
10352
|
};
|
|
10353
10353
|
G(
|
|
10354
10354
|
we,
|
|
@@ -10358,13 +10358,13 @@ function eo(t, e) {
|
|
|
10358
10358
|
!0
|
|
10359
10359
|
);
|
|
10360
10360
|
}
|
|
10361
|
-
|
|
10361
|
+
_(ue, K);
|
|
10362
10362
|
};
|
|
10363
10363
|
G(H, (ue) => {
|
|
10364
10364
|
p(d) ? ue(J) : ue(le, !1);
|
|
10365
10365
|
});
|
|
10366
10366
|
}
|
|
10367
|
-
k(P), tn(3, P, () => Gl, () => ({ y: 50, duration: 500 })),
|
|
10367
|
+
k(P), tn(3, P, () => Gl, () => ({ y: 50, duration: 500 })), _(D, P);
|
|
10368
10368
|
};
|
|
10369
10369
|
G(st, (D) => {
|
|
10370
10370
|
p(n) && D(Fe);
|
|
@@ -10385,7 +10385,7 @@ function eo(t, e) {
|
|
|
10385
10385
|
{
|
|
10386
10386
|
var Ae = (D) => {
|
|
10387
10387
|
var P = zg(), H = $(P);
|
|
10388
|
-
H.__click = [
|
|
10388
|
+
H.__click = [xg, I];
|
|
10389
10389
|
var J = Y(H, 2), le = $(J), ue = $(le, !0);
|
|
10390
10390
|
k(le);
|
|
10391
10391
|
var K = Y(le, 2);
|
|
@@ -10398,10 +10398,10 @@ function eo(t, e) {
|
|
|
10398
10398
|
ie(P, "visible", p(I)), O(H, "aria-label", p(I) ? "unpin forge buttons" : "pin forge buttons"), ie(H, "pinned", p(I)), Re(ue, B), Re(Te, se);
|
|
10399
10399
|
},
|
|
10400
10400
|
[
|
|
10401
|
-
() => /* @__PURE__ */
|
|
10401
|
+
() => /* @__PURE__ */ xa(),
|
|
10402
10402
|
() => /* @__PURE__ */ $a()
|
|
10403
10403
|
]
|
|
10404
|
-
), tn(3, P, () => Lr),
|
|
10404
|
+
), tn(3, P, () => Lr), _(D, P);
|
|
10405
10405
|
};
|
|
10406
10406
|
G(pt, (D) => {
|
|
10407
10407
|
p(n) || D(Ae);
|
|
@@ -10412,7 +10412,7 @@ function eo(t, e) {
|
|
|
10412
10412
|
Xe(je, `${`btn ${p(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1hgblks`), Re(qe, D);
|
|
10413
10413
|
},
|
|
10414
10414
|
[() => /* @__PURE__ */ bu()]
|
|
10415
|
-
),
|
|
10415
|
+
), _(t, Oe), ne();
|
|
10416
10416
|
}
|
|
10417
10417
|
Jt(["mousedown", "click"]);
|
|
10418
10418
|
ae(eo, {}, [], [], !0);
|