akpm-knowledge-base-chat 1.0.44 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CDN/akb-chat.js +575 -567
  2. package/package.json +1 -1
package/CDN/akb-chat.js CHANGED
@@ -1,4 +1,4 @@
1
- /* Version: 1.0.44 */
1
+ /* Version: 1.0.46 */
2
2
  var Na = Object.defineProperty;
3
3
  var Ai = (t) => {
4
4
  throw TypeError(t);
@@ -59,20 +59,20 @@ function so(t) {
59
59
  return io.includes(t);
60
60
  }
61
61
  const Or = !1;
62
- var ir = Array.isArray, ao = Array.prototype.indexOf, ri = Array.from, Yn = Object.keys, Un = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, fs = Object.getOwnPropertyDescriptors, oo = Object.prototype, lo = Array.prototype, ii = Object.getPrototypeOf;
62
+ var ar = Array.isArray, ao = Array.prototype.indexOf, ri = Array.from, Hn = Object.keys, Zn = Object.defineProperty, Ft = Object.getOwnPropertyDescriptor, fs = Object.getOwnPropertyDescriptors, oo = Object.prototype, lo = Array.prototype, ii = Object.getPrototypeOf;
63
63
  function co(t) {
64
64
  return typeof t == "function";
65
65
  }
66
- const un = () => {
66
+ const fn = () => {
67
67
  };
68
68
  function uo(t) {
69
69
  return t();
70
70
  }
71
- function Hn(t) {
71
+ function Gn(t) {
72
72
  for (var e = 0; e < t.length; e++)
73
73
  t[e]();
74
74
  }
75
- const Je = 2, hs = 4, Tn = 8, sr = 16, pt = 32, Mt = 64, Zn = 128, Nt = 256, Gn = 512, Le = 1024, St = 2048, Bt = 4096, ot = 8192, nn = 16384, ps = 32768, ar = 65536, fo = 1 << 17, ho = 1 << 19, vs = 1 << 20, kt = Symbol("$state"), gs = Symbol("legacy props"), po = Symbol("");
75
+ const Je = 2, hs = 4, Cn = 8, or = 16, pt = 32, Mt = 64, Jn = 128, Nt = 256, Vn = 512, Le = 1024, St = 2048, Bt = 4096, ot = 8192, nn = 16384, ps = 32768, lr = 65536, fo = 1 << 17, ho = 1 << 19, vs = 1 << 20, kt = Symbol("$state"), gs = Symbol("legacy props"), po = Symbol("");
76
76
  function ms(t) {
77
77
  return t === this.v;
78
78
  }
@@ -132,17 +132,17 @@ function re(t) {
132
132
  return /* @__PURE__ */ bs(Me(t));
133
133
  }
134
134
  // @__NO_SIDE_EFFECTS__
135
- function or(t, e = !1) {
135
+ function cr(t, e = !1) {
136
136
  var r;
137
137
  const n = Me(t);
138
138
  return e || (n.equals = si), rn && le !== null && le.l !== null && ((r = le.l).s ?? (r.s = [])).push(n), n;
139
139
  }
140
140
  function It(t, e = !1) {
141
- return /* @__PURE__ */ bs(/* @__PURE__ */ or(t, e));
141
+ return /* @__PURE__ */ bs(/* @__PURE__ */ cr(t, e));
142
142
  }
143
143
  // @__NO_SIDE_EFFECTS__
144
144
  function bs(t) {
145
- return pe !== null && pe.f & Je && (lt === null ? No([t]) : lt.push(t)), t;
145
+ return ge !== null && ge.f & Je && (lt === null ? No([t]) : lt.push(t)), t;
146
146
  }
147
147
  function Ir(t, e) {
148
148
  return z(
@@ -151,29 +151,29 @@ function Ir(t, e) {
151
151
  ), e;
152
152
  }
153
153
  function z(t, e) {
154
- return pe !== null && !At && In() && pe.f & (Je | sr) && // If the source was created locally within the current derived, then
154
+ return ge !== null && !At && jn() && ge.f & (Je | or) && // If the source was created locally within the current derived, then
155
155
  // we allow the mutation.
156
156
  (lt === null || !lt.includes(t)) && So(), Pr(t, e);
157
157
  }
158
158
  function Pr(t, e) {
159
- return t.equals(e) || (t.v, t.v = e, t.wv = Fs(), ws(t, St), In() && ee !== null && ee.f & Le && !(ee.f & (pt | Mt)) && (bt === null ? Bo([t]) : bt.push(t))), e;
159
+ return t.equals(e) || (t.v, t.v = e, t.wv = Fs(), ws(t, St), jn() && ee !== null && ee.f & Le && !(ee.f & (pt | Mt)) && (bt === null ? Bo([t]) : bt.push(t))), e;
160
160
  }
161
161
  function ws(t, e) {
162
162
  var n = t.reactions;
163
163
  if (n !== null)
164
- for (var r = In(), i = n.length, s = 0; s < i; s++) {
164
+ for (var r = jn(), i = n.length, s = 0; s < i; s++) {
165
165
  var a = n[s], l = a.f;
166
166
  l & St || !r && a === ee || (nt(a, e), l & (Le | Nt) && (l & Je ? ws(
167
167
  /** @type {Derived} */
168
168
  a,
169
169
  Bt
170
- ) : fr(
170
+ ) : pr(
171
171
  /** @type {Effect} */
172
172
  a
173
173
  )));
174
174
  }
175
175
  }
176
- function lr(t) {
176
+ function ur(t) {
177
177
  console.warn("https://svelte.dev/e/hydration_mismatch");
178
178
  }
179
179
  let Q = !1;
@@ -183,7 +183,7 @@ function xt(t) {
183
183
  let ne;
184
184
  function et(t) {
185
185
  if (t === null)
186
- throw lr(), Jt;
186
+ throw ur(), Jt;
187
187
  return ne = t;
188
188
  }
189
189
  function Xt() {
@@ -195,7 +195,7 @@ function Xt() {
195
195
  function T(t) {
196
196
  if (Q) {
197
197
  if (/* @__PURE__ */ vt(ne) !== null)
198
- throw lr(), Jt;
198
+ throw ur(), Jt;
199
199
  ne = t;
200
200
  }
201
201
  }
@@ -232,7 +232,7 @@ function j(t, e = null, n) {
232
232
  const r = ii(t);
233
233
  if (r !== oo && r !== lo)
234
234
  return t;
235
- var i = /* @__PURE__ */ new Map(), s = ir(t), a = Me(0);
235
+ var i = /* @__PURE__ */ new Map(), s = ar(t), a = Me(0);
236
236
  s && i.set("length", Me(
237
237
  /** @type {any[]} */
238
238
  t.length
@@ -421,9 +421,9 @@ function ai(t) {
421
421
  function Kt(t) {
422
422
  var e = Je | St;
423
423
  ee === null ? e |= Nt : ee.f |= vs;
424
- var n = pe !== null && pe.f & Je ? (
424
+ var n = ge !== null && ge.f & Je ? (
425
425
  /** @type {Derived} */
426
- pe
426
+ ge
427
427
  ) : null;
428
428
  const r = {
429
429
  children: null,
@@ -490,10 +490,10 @@ function Ss(t) {
490
490
  nt(t, n), t.equals(e) || (t.v = e, t.wv = Fs());
491
491
  }
492
492
  function oi(t) {
493
- ys(t), kn(t, 0), nt(t, nn), t.v = t.children = t.deps = t.ctx = t.reactions = null;
493
+ ys(t), zn(t, 0), nt(t, nn), t.v = t.children = t.deps = t.ctx = t.reactions = null;
494
494
  }
495
495
  function $s(t) {
496
- ee === null && pe === null && bo(), pe !== null && pe.f & Nt && mo(), ui && go();
496
+ ee === null && ge === null && bo(), ge !== null && ge.f & Nt && mo(), ui && go();
497
497
  }
498
498
  function Ao(t, e) {
499
499
  var n = e.last;
@@ -520,25 +520,25 @@ function Yt(t, e, n, r = !0) {
520
520
  if (n) {
521
521
  var l = Vt;
522
522
  try {
523
- Pi(!0), dr(a), a.f |= ps;
523
+ Pi(!0), hr(a), a.f |= ps;
524
524
  } catch (u) {
525
525
  throw dt(a), u;
526
526
  } finally {
527
527
  Pi(l);
528
528
  }
529
- } else e !== null && fr(a);
530
- var o = n && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (vs | Zn)) === 0;
531
- if (!o && !i && r && (s !== null && Ao(a, s), pe !== null && pe.f & Je)) {
529
+ } else e !== null && pr(a);
530
+ var o = n && a.deps === null && a.first === null && a.nodes_start === null && a.teardown === null && (a.f & (vs | Jn)) === 0;
531
+ if (!o && !i && r && (s !== null && Ao(a, s), ge !== null && ge.f & Je)) {
532
532
  var c = (
533
533
  /** @type {Derived} */
534
- pe
534
+ ge
535
535
  );
536
536
  (c.children ?? (c.children = [])).push(a);
537
537
  }
538
538
  return a;
539
539
  }
540
540
  function jo(t) {
541
- const e = Yt(Tn, null, !1);
541
+ const e = Yt(Cn, null, !1);
542
542
  return nt(e, Le), e.teardown = t, e;
543
543
  }
544
544
  function qt(t) {
@@ -552,7 +552,7 @@ function qt(t) {
552
552
  (n.e ?? (n.e = [])).push({
553
553
  fn: t,
554
554
  effect: ee,
555
- reaction: pe
555
+ reaction: ge
556
556
  });
557
557
  } else {
558
558
  var r = sn(t);
@@ -571,7 +571,7 @@ function Lo(t) {
571
571
  function Oo(t) {
572
572
  const e = Yt(Mt, t, !0);
573
573
  return (n = {}) => new Promise((r) => {
574
- n.outro ? Jn(e, () => {
574
+ n.outro ? Wn(e, () => {
575
575
  dt(e), r(void 0);
576
576
  }) : (dt(e), r(void 0));
577
577
  });
@@ -579,7 +579,7 @@ function Oo(t) {
579
579
  function sn(t) {
580
580
  return Yt(hs, t, !1);
581
581
  }
582
- function En(t, e) {
582
+ function In(t, e) {
583
583
  var n = (
584
584
  /** @type {ComponentContextLegacy} */
585
585
  le
@@ -588,7 +588,7 @@ function En(t, e) {
588
588
  t(), !r.ran && (r.ran = !0, z(n.l.r2, !0), ht(e));
589
589
  });
590
590
  }
591
- function Cn() {
591
+ function An() {
592
592
  var t = (
593
593
  /** @type {ComponentContextLegacy} */
594
594
  le
@@ -597,29 +597,29 @@ function Cn() {
597
597
  if (p(t.l.r2)) {
598
598
  for (var e of t.l.r1) {
599
599
  var n = e.effect;
600
- n.f & Le && nt(n, Bt), ln(n) && dr(n), e.ran = !1;
600
+ n.f & Le && nt(n, Bt), ln(n) && hr(n), e.ran = !1;
601
601
  }
602
602
  t.l.r2.v = !1;
603
603
  }
604
604
  });
605
605
  }
606
606
  function an(t) {
607
- return Yt(Tn, t, !0);
607
+ return Yt(Cn, t, !0);
608
608
  }
609
609
  function L(t, e = [], n = Kt) {
610
610
  const r = e.map(n);
611
- return cr(() => t(...r.map(p)));
611
+ return dr(() => t(...r.map(p)));
612
612
  }
613
- function cr(t, e = 0) {
614
- return Yt(Tn | sr | e, t, !0);
613
+ function dr(t, e = 0) {
614
+ return Yt(Cn | or | e, t, !0);
615
615
  }
616
616
  function en(t, e = !0) {
617
- return Yt(Tn | pt, t, !0, e);
617
+ return Yt(Cn | pt, t, !0, e);
618
618
  }
619
619
  function Ts(t) {
620
620
  var e = t.teardown;
621
621
  if (e !== null) {
622
- const n = ui, r = pe;
622
+ const n = ui, r = ge;
623
623
  Fi(!0), ft(null);
624
624
  try {
625
625
  e.call(null);
@@ -661,7 +661,7 @@ function dt(t, e = !0) {
661
661
  }
662
662
  n = !0;
663
663
  }
664
- Cs(t, e && !n), Es(t), kn(t, 0), nt(t, nn);
664
+ Cs(t, e && !n), Es(t), zn(t, 0), nt(t, nn);
665
665
  var a = t.transitions;
666
666
  if (a !== null)
667
667
  for (const o of a)
@@ -674,7 +674,7 @@ function Is(t) {
674
674
  var e = t.parent, n = t.prev, r = t.next;
675
675
  n !== null && (n.next = r), r !== null && (r.prev = n), e !== null && (e.first === t && (e.first = r), e.last === t && (e.last = n));
676
676
  }
677
- function Jn(t, e) {
677
+ function Wn(t, e) {
678
678
  var n = [];
679
679
  li(t, n, !0), As(n, () => {
680
680
  dt(t), e && e();
@@ -695,19 +695,19 @@ function li(t, e, n) {
695
695
  for (const a of t.transitions)
696
696
  (a.is_global || n) && e.push(a);
697
697
  for (var r = t.first; r !== null; ) {
698
- var i = r.next, s = (r.f & ar) !== 0 || (r.f & pt) !== 0;
698
+ var i = r.next, s = (r.f & lr) !== 0 || (r.f & pt) !== 0;
699
699
  li(r, e, s ? n : !1), r = i;
700
700
  }
701
701
  }
702
702
  }
703
- function Vn(t) {
703
+ function Xn(t) {
704
704
  js(t, !0);
705
705
  }
706
706
  function js(t, e) {
707
707
  if (t.f & ot) {
708
- t.f ^= ot, t.f & Le || (t.f ^= Le), ln(t) && (nt(t, St), fr(t));
708
+ t.f ^= ot, t.f & Le || (t.f ^= Le), ln(t) && (nt(t, St), pr(t));
709
709
  for (var n = t.first; n !== null; ) {
710
- var r = n.next, i = (n.f & ar) !== 0 || (n.f & pt) !== 0;
710
+ var r = n.next, i = (n.f & lr) !== 0 || (n.f & pt) !== 0;
711
711
  js(n, i ? e : !1), n = r;
712
712
  }
713
713
  if (t.transitions !== null)
@@ -716,31 +716,31 @@ function js(t, e) {
716
716
  }
717
717
  }
718
718
  const Fo = typeof requestIdleCallback > "u" ? (t) => setTimeout(t, 1) : requestIdleCallback;
719
- let Wn = !1, Xn = !1, Dr = [], Mr = [];
719
+ let Qn = !1, Kn = !1, Dr = [], Mr = [];
720
720
  function Rs() {
721
- Wn = !1;
721
+ Qn = !1;
722
722
  const t = Dr.slice();
723
- Dr = [], Hn(t);
723
+ Dr = [], Gn(t);
724
724
  }
725
725
  function Ls() {
726
- Xn = !1;
726
+ Kn = !1;
727
727
  const t = Mr.slice();
728
- Mr = [], Hn(t);
728
+ Mr = [], Gn(t);
729
729
  }
730
730
  function on(t) {
731
- Wn || (Wn = !0, queueMicrotask(Rs)), Dr.push(t);
731
+ Qn || (Qn = !0, queueMicrotask(Rs)), Dr.push(t);
732
732
  }
733
733
  function qo(t) {
734
- Xn || (Xn = !0, Fo(Ls)), Mr.push(t);
734
+ Kn || (Kn = !0, Fo(Ls)), Mr.push(t);
735
735
  }
736
736
  function Do() {
737
- Wn && Rs(), Xn && Ls();
737
+ Qn && Rs(), Kn && Ls();
738
738
  }
739
739
  function ci(t) {
740
740
  throw new Error("https://svelte.dev/e/lifecycle_outside_component");
741
741
  }
742
742
  const Os = 0, Mo = 1;
743
- let qn = !1, Dn = Os, _n = !1, xn = null, Vt = !1, ui = !1;
743
+ let Mn = !1, Nn = Os, kn = !1, yn = null, Vt = !1, ui = !1;
744
744
  function Pi(t) {
745
745
  Vt = t;
746
746
  }
@@ -748,9 +748,9 @@ function Fi(t) {
748
748
  ui = t;
749
749
  }
750
750
  let Ot = [], Wt = 0;
751
- let pe = null, At = !1;
751
+ let ge = null, At = !1;
752
752
  function ft(t) {
753
- pe = t;
753
+ ge = t;
754
754
  }
755
755
  let ee = null;
756
756
  function tt(t) {
@@ -764,11 +764,11 @@ let Ne = null, Ge = 0, bt = null;
764
764
  function Bo(t) {
765
765
  bt = t;
766
766
  }
767
- let Ps = 1, Qn = 0, Pt = !1, le = null;
767
+ let Ps = 1, er = 0, Pt = !1, le = null;
768
768
  function Fs() {
769
769
  return ++Ps;
770
770
  }
771
- function In() {
771
+ function jn() {
772
772
  return !rn || le !== null && le.l === null;
773
773
  }
774
774
  function ln(t) {
@@ -779,11 +779,11 @@ function ln(t) {
779
779
  if (e & Bt) {
780
780
  var n = t.deps, r = (e & Nt) !== 0;
781
781
  if (n !== null) {
782
- var i, s, a = (e & Gn) !== 0, l = r && ee !== null && !Pt, o = n.length;
782
+ var i, s, a = (e & Vn) !== 0, l = r && ee !== null && !Pt, o = n.length;
783
783
  if (a || l) {
784
784
  for (i = 0; i < o; i++)
785
785
  s = n[i], (a || !((c = s == null ? void 0 : s.reactions) != null && c.includes(t))) && (s.reactions ?? (s.reactions = [])).push(t);
786
- a && (t.f ^= Gn);
786
+ a && (t.f ^= Vn);
787
787
  }
788
788
  for (i = 0; i < o; i++)
789
789
  if (s = n[i], ln(
@@ -801,27 +801,27 @@ function ln(t) {
801
801
  }
802
802
  function Yo(t, e) {
803
803
  for (var n = e; n !== null; ) {
804
- if (n.f & Zn)
804
+ if (n.f & Jn)
805
805
  try {
806
806
  n.fn(t);
807
807
  return;
808
808
  } catch {
809
- n.f ^= Zn;
809
+ n.f ^= Jn;
810
810
  }
811
811
  n = n.parent;
812
812
  }
813
- throw qn = !1, t;
813
+ throw Mn = !1, t;
814
814
  }
815
815
  function Uo(t) {
816
- return (t.f & nn) === 0 && (t.parent === null || (t.parent.f & Zn) === 0);
816
+ return (t.f & nn) === 0 && (t.parent === null || (t.parent.f & Jn) === 0);
817
817
  }
818
- function ur(t, e, n, r) {
819
- if (qn) {
820
- if (n === null && (qn = !1), Uo(e))
818
+ function fr(t, e, n, r) {
819
+ if (Mn) {
820
+ if (n === null && (Mn = !1), Uo(e))
821
821
  throw t;
822
822
  return;
823
823
  }
824
- n !== null && (qn = !0);
824
+ n !== null && (Mn = !0);
825
825
  {
826
826
  Yo(t, e);
827
827
  return;
@@ -837,7 +837,7 @@ function qs(t, e, n = 0) {
837
837
  s,
838
838
  e,
839
839
  n + 1
840
- ) : e === s && (n === 0 ? nt(s, St) : s.f & Le && nt(s, Bt), fr(
840
+ ) : e === s && (n === 0 ? nt(s, St) : s.f & Le && nt(s, Bt), pr(
841
841
  /** @type {Effect} */
842
842
  s
843
843
  ));
@@ -845,9 +845,9 @@ function qs(t, e, n = 0) {
845
845
  }
846
846
  function Ds(t) {
847
847
  var h;
848
- var e = Ne, n = Ge, r = bt, i = pe, s = Pt, a = lt, l = le, o = At, c = t.f;
848
+ var e = Ne, n = Ge, r = bt, i = ge, s = Pt, a = lt, l = le, o = At, c = t.f;
849
849
  Ne = /** @type {null | Value[]} */
850
- null, Ge = 0, bt = null, pe = c & (pt | Mt) ? null : t, Pt = !Vt && (c & Nt) !== 0, lt = null, le = t.ctx, At = !1, Qn++;
850
+ null, Ge = 0, bt = null, ge = c & (pt | Mt) ? null : t, Pt = !Vt && (c & Nt) !== 0, lt = null, le = t.ctx, At = !1, er++;
851
851
  try {
852
852
  var u = (
853
853
  /** @type {Function} */
@@ -855,7 +855,7 @@ function Ds(t) {
855
855
  ), d = t.deps;
856
856
  if (Ne !== null) {
857
857
  var f;
858
- if (kn(t, Ge), d !== null && Ge > 0)
858
+ if (zn(t, Ge), d !== null && Ge > 0)
859
859
  for (d.length = Ge + Ne.length, f = 0; f < Ne.length; f++)
860
860
  d[Ge + f] = Ne[f];
861
861
  else
@@ -863,8 +863,8 @@ function Ds(t) {
863
863
  if (!Pt)
864
864
  for (f = Ge; f < d.length; f++)
865
865
  ((h = d[f]).reactions ?? (h.reactions = [])).push(t);
866
- } else d !== null && Ge < d.length && (kn(t, Ge), d.length = Ge);
867
- if (In() && bt !== null && !(t.f & (Je | Bt | St)))
866
+ } else d !== null && Ge < d.length && (zn(t, Ge), d.length = Ge);
867
+ if (jn() && bt !== null && !(t.f & (Je | Bt | St)))
868
868
  for (f = 0; f < /** @type {Source[]} */
869
869
  bt.length; f++)
870
870
  qs(
@@ -872,9 +872,9 @@ function Ds(t) {
872
872
  /** @type {Effect} */
873
873
  t
874
874
  );
875
- return i !== null && Qn++, u;
875
+ return i !== null && er++, u;
876
876
  } finally {
877
- Ne = e, Ge = n, bt = r, pe = i, Pt = s, lt = a, le = l, At = o;
877
+ Ne = e, Ge = n, bt = r, ge = i, Pt = s, lt = a, le = l, At = o;
878
878
  }
879
879
  }
880
880
  function Ho(t, e) {
@@ -889,32 +889,32 @@ function Ho(t, e) {
889
889
  n === null && e.f & Je && // Destroying a child effect while updating a parent effect can cause a dependency to appear
890
890
  // to be unused, when in fact it is used by the currently-updating parent. Checking `new_deps`
891
891
  // allows us to skip the expensive work of disconnecting and immediately reconnecting it
892
- (Ne === null || !Ne.includes(e)) && (nt(e, Bt), e.f & (Nt | Gn) || (e.f ^= Gn), kn(
892
+ (Ne === null || !Ne.includes(e)) && (nt(e, Bt), e.f & (Nt | Vn) || (e.f ^= Vn), zn(
893
893
  /** @type {Derived} **/
894
894
  e,
895
895
  0
896
896
  ));
897
897
  }
898
- function kn(t, e) {
898
+ function zn(t, e) {
899
899
  var n = t.deps;
900
900
  if (n !== null)
901
901
  for (var r = e; r < n.length; r++)
902
902
  Ho(t, n[r]);
903
903
  }
904
- function dr(t) {
904
+ function hr(t) {
905
905
  var e = t.f;
906
906
  if (!(e & nn)) {
907
907
  nt(t, Le);
908
908
  var n = ee, r = le;
909
909
  ee = t;
910
910
  try {
911
- e & sr ? Po(t) : Cs(t), Es(t), Ts(t);
911
+ e & or ? Po(t) : Cs(t), Es(t), Ts(t);
912
912
  var i = Ds(t);
913
913
  t.teardown = typeof i == "function" ? i : null, t.wv = Ps;
914
914
  var s = t.deps, a;
915
915
  Or && $o && t.f & St;
916
916
  } catch (l) {
917
- ur(l, t, n, r || t.ctx);
917
+ fr(l, t, n, r || t.ctx);
918
918
  } finally {
919
919
  ee = n;
920
920
  }
@@ -926,8 +926,8 @@ function Ms() {
926
926
  try {
927
927
  wo();
928
928
  } catch (t) {
929
- if (xn !== null)
930
- ur(t, xn, null);
929
+ if (yn !== null)
930
+ fr(t, yn, null);
931
931
  else
932
932
  throw t;
933
933
  }
@@ -959,20 +959,20 @@ function Zo(t) {
959
959
  var r = t[n];
960
960
  if (!(r.f & (nn | ot)))
961
961
  try {
962
- ln(r) && (dr(r), r.deps === null && r.first === null && r.nodes_start === null && (r.teardown === null ? Is(r) : r.fn = null));
962
+ ln(r) && (hr(r), r.deps === null && r.first === null && r.nodes_start === null && (r.teardown === null ? Is(r) : r.fn = null));
963
963
  } catch (i) {
964
- ur(i, r, null, r.ctx);
964
+ fr(i, r, null, r.ctx);
965
965
  }
966
966
  }
967
967
  }
968
968
  function Go() {
969
- if (_n = !1, Wt > 1001)
969
+ if (kn = !1, Wt > 1001)
970
970
  return;
971
971
  const t = Ot;
972
- Ot = [], Ns(t), _n || (Wt = 0, xn = null);
972
+ Ot = [], Ns(t), kn || (Wt = 0, yn = null);
973
973
  }
974
- function fr(t) {
975
- Dn === Os && (_n || (_n = !0, queueMicrotask(Go))), xn = t;
974
+ function pr(t) {
975
+ Nn === Os && (kn || (kn = !0, queueMicrotask(Go))), yn = t;
976
976
  for (var e = t; e.parent !== null; ) {
977
977
  e = e.parent;
978
978
  var n = e.f;
@@ -988,14 +988,14 @@ function Bs(t, e) {
988
988
  e: for (; n !== null; ) {
989
989
  var i = n.f, s = (i & pt) !== 0, a = s && (i & Le) !== 0, l = n.next;
990
990
  if (!a && !(i & ot))
991
- if (i & Tn) {
991
+ if (i & Cn) {
992
992
  if (s)
993
993
  n.f ^= Le;
994
994
  else
995
995
  try {
996
- ln(n) && dr(n);
996
+ ln(n) && hr(n);
997
997
  } catch (d) {
998
- ur(d, n, null, n.ctx);
998
+ fr(d, n, null, n.ctx);
999
999
  }
1000
1000
  var o = n.first;
1001
1001
  if (o !== null) {
@@ -1022,15 +1022,15 @@ function Bs(t, e) {
1022
1022
  o = r[u], e.push(o), Bs(o, e);
1023
1023
  }
1024
1024
  function v(t) {
1025
- var e = Dn, n = Ot;
1025
+ var e = Nn, n = Ot;
1026
1026
  try {
1027
1027
  Ms();
1028
1028
  const i = [];
1029
- Dn = Mo, Ot = i, _n = !1, Ns(n);
1029
+ Nn = Mo, Ot = i, kn = !1, Ns(n);
1030
1030
  var r = t == null ? void 0 : t();
1031
- return Do(), (Ot.length > 0 || i.length > 0) && v(), Wt = 0, xn = null, r;
1031
+ return Do(), (Ot.length > 0 || i.length > 0) && v(), Wt = 0, yn = null, r;
1032
1032
  } finally {
1033
- Dn = e, Ot = n;
1033
+ Nn = e, Ot = n;
1034
1034
  }
1035
1035
  }
1036
1036
  async function Jo() {
@@ -1049,10 +1049,10 @@ function p(t) {
1049
1049
  t
1050
1050
  ), r;
1051
1051
  }
1052
- if (pe !== null && !At) {
1052
+ if (ge !== null && !At) {
1053
1053
  lt !== null && lt.includes(t) && zo();
1054
- var i = pe.deps;
1055
- t.rv < Qn && (t.rv = Qn, Ne === null && i !== null && i[Ge] === t ? Ge++ : Ne === null ? Ne = [t] : Ne.push(t));
1054
+ var i = ge.deps;
1055
+ t.rv < er && (t.rv = er, Ne === null && i !== null && i[Ge] === t ? Ge++ : Ne === null ? Ne = [t] : Ne.push(t));
1056
1056
  } else if (n && /** @type {Derived} */
1057
1057
  t.deps === null)
1058
1058
  for (var s = (
@@ -1114,7 +1114,7 @@ function G(t) {
1114
1114
  t !== void 0 && (e.x = t);
1115
1115
  const a = e.e;
1116
1116
  if (a !== null) {
1117
- var n = ee, r = pe;
1117
+ var n = ee, r = ge;
1118
1118
  e.e = null;
1119
1119
  try {
1120
1120
  for (var i = 0; i < a.length; i++) {
@@ -1196,7 +1196,7 @@ function Ys() {
1196
1196
  ));
1197
1197
  }
1198
1198
  function Us(t) {
1199
- var e = pe, n = ee;
1199
+ var e = ge, n = ee;
1200
1200
  ft(null), tt(null);
1201
1201
  try {
1202
1202
  return t();
@@ -1214,7 +1214,7 @@ function Hs(t, e, n, r = n) {
1214
1214
  const Zs = /* @__PURE__ */ new Set(), Yr = /* @__PURE__ */ new Set();
1215
1215
  function Gs(t, e, n, r) {
1216
1216
  function i(s) {
1217
- if (r.capture || vn.call(e, s), !s.cancelBubble)
1217
+ if (r.capture || mn.call(e, s), !s.cancelBubble)
1218
1218
  return Us(() => n.call(this, s));
1219
1219
  }
1220
1220
  return t.startsWith("pointer") || t.startsWith("touch") || t === "wheel" ? on(() => {
@@ -1233,7 +1233,7 @@ function jt(t) {
1233
1233
  for (var n of Yr)
1234
1234
  n(t);
1235
1235
  }
1236
- function vn(t) {
1236
+ function mn(t) {
1237
1237
  var _;
1238
1238
  var e = this, n = (
1239
1239
  /** @type {Node} */
@@ -1256,13 +1256,13 @@ function vn(t) {
1256
1256
  }
1257
1257
  if (s = /** @type {Element} */
1258
1258
  i[a] || t.target, s !== e) {
1259
- Un(t, "currentTarget", {
1259
+ Zn(t, "currentTarget", {
1260
1260
  configurable: !0,
1261
1261
  get() {
1262
1262
  return s || n;
1263
1263
  }
1264
1264
  });
1265
- var u = pe, d = ee;
1265
+ var u = ge, d = ee;
1266
1266
  ft(null), tt(null);
1267
1267
  try {
1268
1268
  for (var f, h = []; s !== null; ) {
@@ -1272,7 +1272,7 @@ function vn(t) {
1272
1272
  var m = s["__" + r];
1273
1273
  if (m !== void 0 && !/** @type {any} */
1274
1274
  s.disabled)
1275
- if (ir(m)) {
1275
+ if (ar(m)) {
1276
1276
  var [$, ...y] = m;
1277
1277
  $.apply(s, [t, ...y]);
1278
1278
  } else
@@ -1357,7 +1357,7 @@ function Ko(t, e, n = "svg") {
1357
1357
  return ct(o, o), o;
1358
1358
  };
1359
1359
  }
1360
- function he() {
1360
+ function ve() {
1361
1361
  if (Q)
1362
1362
  return ct(ne, null), ne;
1363
1363
  var t = document.createDocumentFragment(), e = document.createComment(""), n = Qt();
@@ -1401,7 +1401,7 @@ function el(t, e) {
1401
1401
  const a = Vs(t, { ...e, anchor: s });
1402
1402
  if (ne === null || ne.nodeType !== 8 || /** @type {Comment} */
1403
1403
  ne.data !== ni)
1404
- throw lr(), Jt;
1404
+ throw ur(), Jt;
1405
1405
  return xt(!1), /** @type {Exports} */
1406
1406
  a;
1407
1407
  } catch (a) {
@@ -1421,9 +1421,9 @@ function Vs(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
1421
1421
  if (!l.has(h)) {
1422
1422
  l.add(h);
1423
1423
  var b = so(h);
1424
- e.addEventListener(h, vn, { passive: b });
1424
+ e.addEventListener(h, mn, { passive: b });
1425
1425
  var m = Gt.get(h);
1426
- m === void 0 ? (document.addEventListener(h, vn, { passive: b }), Gt.set(h, 1)) : Gt.set(h, m + 1);
1426
+ m === void 0 ? (document.addEventListener(h, mn, { passive: b }), Gt.set(h, 1)) : Gt.set(h, m + 1);
1427
1427
  }
1428
1428
  }
1429
1429
  };
@@ -1447,12 +1447,12 @@ function Vs(t, { target: e, anchor: n, props: r = {}, events: i, context: s, int
1447
1447
  }), () => {
1448
1448
  var b;
1449
1449
  for (var f of l) {
1450
- e.removeEventListener(f, vn);
1450
+ e.removeEventListener(f, mn);
1451
1451
  var h = (
1452
1452
  /** @type {number} */
1453
1453
  Gt.get(f)
1454
1454
  );
1455
- --h === 0 ? (document.removeEventListener(f, vn), Gt.delete(f)) : Gt.set(f, h);
1455
+ --h === 0 ? (document.removeEventListener(f, mn), Gt.delete(f)) : Gt.set(f, h);
1456
1456
  }
1457
1457
  Yr.delete(o), d !== n && ((b = d.parentNode) == null || b.removeChild(d));
1458
1458
  };
@@ -1466,7 +1466,7 @@ function tl(t, e) {
1466
1466
  }
1467
1467
  function N(t, e, n = !1) {
1468
1468
  Q && Xt();
1469
- var r = t, i = null, s = null, a = De, l = n ? ar : 0, o = !1;
1469
+ var r = t, i = null, s = null, a = De, l = n ? lr : 0, o = !1;
1470
1470
  const c = (d, f = !0) => {
1471
1471
  o = !0, u(f, d);
1472
1472
  }, u = (d, f) => {
@@ -1479,13 +1479,13 @@ function N(t, e, n = !1) {
1479
1479
  );
1480
1480
  !!a === b && (r = Fr(), et(r), xt(!1), h = !0);
1481
1481
  }
1482
- a ? (i ? Vn(i) : f && (i = en(() => f(r))), s && Jn(s, () => {
1482
+ a ? (i ? Xn(i) : f && (i = en(() => f(r))), s && Wn(s, () => {
1483
1483
  s = null;
1484
- })) : (s ? Vn(s) : f && (s = en(() => f(r))), i && Jn(i, () => {
1484
+ })) : (s ? Xn(s) : f && (s = en(() => f(r))), i && Wn(i, () => {
1485
1485
  i = null;
1486
1486
  })), h && xt(!0);
1487
1487
  };
1488
- cr(() => {
1488
+ dr(() => {
1489
1489
  o = !1, e(c), o || u(null, null);
1490
1490
  }, l), Q && (r = ne);
1491
1491
  }
@@ -1529,9 +1529,9 @@ function je(t, e, n, r, i, s = null) {
1529
1529
  Q && Xt();
1530
1530
  var u = null, d = !1, f = /* @__PURE__ */ ks(() => {
1531
1531
  var h = n();
1532
- return ir(h) ? h : h == null ? [] : ri(h);
1532
+ return ar(h) ? h : h == null ? [] : ri(h);
1533
1533
  });
1534
- cr(() => {
1534
+ dr(() => {
1535
1535
  var h = p(f), b = h.length;
1536
1536
  if (d && b === 0)
1537
1537
  return;
@@ -1570,7 +1570,7 @@ function je(t, e, n, r, i, s = null) {
1570
1570
  if (!Q) {
1571
1571
  var k = (
1572
1572
  /** @type {Effect} */
1573
- pe
1573
+ ge
1574
1574
  );
1575
1575
  rl(
1576
1576
  h,
@@ -1582,13 +1582,13 @@ function je(t, e, n, r, i, s = null) {
1582
1582
  r
1583
1583
  );
1584
1584
  }
1585
- s !== null && (b === 0 ? u ? Vn(u) : u = en(() => s(a)) : u !== null && Jn(u, () => {
1585
+ s !== null && (b === 0 ? u ? Xn(u) : u = en(() => s(a)) : u !== null && Wn(u, () => {
1586
1586
  u = null;
1587
1587
  })), m && xt(!0), p(f);
1588
1588
  }), Q && (a = ne);
1589
1589
  }
1590
1590
  function rl(t, e, n, r, i, s, a, l) {
1591
- var _e, se, ue, ve;
1591
+ var _e, se, de, me;
1592
1592
  var o = (i & Ua) !== 0, c = (i & (Kr | ei)) !== 0, u = t.length, d = e.items, f = e.first, h = f, b, m = null, $, y = [], _ = [], C, E, x, k;
1593
1593
  if (o)
1594
1594
  for (k = 0; k < u; k += 1)
@@ -1612,16 +1612,16 @@ function rl(t, e, n, r, i, s, a, l) {
1612
1612
  ), d.set(E, m), y = [], _ = [], h = m.next;
1613
1613
  continue;
1614
1614
  }
1615
- if (c && il(x, C, k, i), x.e.f & ot && (Vn(x.e), o && ((se = x.a) == null || se.unfix(), ($ ?? ($ = /* @__PURE__ */ new Set())).delete(x))), x !== h) {
1615
+ if (c && il(x, C, k, i), x.e.f & ot && (Xn(x.e), o && ((se = x.a) == null || se.unfix(), ($ ?? ($ = /* @__PURE__ */ new Set())).delete(x))), x !== h) {
1616
1616
  if (b !== void 0 && b.has(x)) {
1617
1617
  if (y.length < _.length) {
1618
- var R = _[0], B;
1618
+ var R = _[0], Y;
1619
1619
  m = R.prev;
1620
1620
  var te = y[0], q = y[y.length - 1];
1621
- for (B = 0; B < y.length; B += 1)
1622
- Di(y[B], R, n);
1623
- for (B = 0; B < _.length; B += 1)
1624
- b.delete(_[B]);
1621
+ for (Y = 0; Y < y.length; Y += 1)
1622
+ Di(y[Y], R, n);
1623
+ for (Y = 0; Y < _.length; Y += 1)
1624
+ b.delete(_[Y]);
1625
1625
  Ct(e, te.prev, q.next), Ct(e, m, te), Ct(e, q, R), h = R, m = q, k -= 1, y = [], _ = [];
1626
1626
  } else
1627
1627
  b.delete(x), Di(x, h, n), Ct(e, x.prev, x.next), Ct(e, x, m === null ? e.first : m.next), Ct(e, m, x), m = x;
@@ -1640,21 +1640,21 @@ function rl(t, e, n, r, i, s, a, l) {
1640
1640
  (s || !(h.e.f & ot)) && D.push(h), h = h.next;
1641
1641
  var U = D.length;
1642
1642
  if (U > 0) {
1643
- var ge = i & cs && u === 0 ? n : null;
1643
+ var be = i & cs && u === 0 ? n : null;
1644
1644
  if (o) {
1645
1645
  for (k = 0; k < U; k += 1)
1646
- (ue = D[k].a) == null || ue.measure();
1646
+ (de = D[k].a) == null || de.measure();
1647
1647
  for (k = 0; k < U; k += 1)
1648
- (ve = D[k].a) == null || ve.fix();
1648
+ (me = D[k].a) == null || me.fix();
1649
1649
  }
1650
- nl(e, D, ge, d);
1650
+ nl(e, D, be, d);
1651
1651
  }
1652
1652
  }
1653
1653
  o && on(() => {
1654
- var de;
1654
+ var fe;
1655
1655
  if ($ !== void 0)
1656
1656
  for (x of $)
1657
- (de = x.a) == null || de.apply();
1657
+ (fe = x.a) == null || fe.apply();
1658
1658
  }), ee.first = e.first && e.first.e, ee.last = m && m.e;
1659
1659
  }
1660
1660
  function il(t, e, n, r) {
@@ -1665,7 +1665,7 @@ function il(t, e, n, r) {
1665
1665
  ) : t.i = n;
1666
1666
  }
1667
1667
  function Ws(t, e, n, r, i, s, a, l, o, c) {
1668
- var u = (o & Kr) !== 0, d = (o & Ha) === 0, f = u ? d ? /* @__PURE__ */ or(i) : Me(i) : i, h = o & ei ? Me(a) : a, b = {
1668
+ var u = (o & Kr) !== 0, d = (o & Ha) === 0, f = u ? d ? /* @__PURE__ */ cr(i) : Me(i) : i, h = o & ei ? Me(a) : a, b = {
1669
1669
  i: h,
1670
1670
  v: f,
1671
1671
  k: s,
@@ -1703,7 +1703,7 @@ function Ct(t, e, n) {
1703
1703
  }
1704
1704
  function Zr(t, e, n, r, i) {
1705
1705
  var s = t, a = "", l;
1706
- cr(() => {
1706
+ dr(() => {
1707
1707
  if (a === (a = e() ?? "")) {
1708
1708
  Q && Xt();
1709
1709
  return;
@@ -1716,7 +1716,7 @@ function Zr(t, e, n, r, i) {
1716
1716
  c = o, o = /** @type {TemplateNode} */
1717
1717
  /* @__PURE__ */ vt(o);
1718
1718
  if (o === null)
1719
- throw lr(), Jt;
1719
+ throw ur(), Jt;
1720
1720
  ct(ne, c), s = et(o);
1721
1721
  return;
1722
1722
  }
@@ -1781,11 +1781,11 @@ function al(t) {
1781
1781
  if (!e) {
1782
1782
  if (e = !0, t.hasAttribute("value")) {
1783
1783
  var r = t.value;
1784
- Y(t, "value", null), t.value = r;
1784
+ B(t, "value", null), t.value = r;
1785
1785
  }
1786
1786
  if (t.hasAttribute("checked")) {
1787
1787
  var i = t.checked;
1788
- Y(t, "checked", null), t.checked = i;
1788
+ B(t, "checked", null), t.checked = i;
1789
1789
  }
1790
1790
  }
1791
1791
  };
@@ -1802,7 +1802,7 @@ function ol(t, e) {
1802
1802
  function ll(t, e) {
1803
1803
  e ? t.hasAttribute("selected") || t.setAttribute("selected", "") : t.removeAttribute("selected");
1804
1804
  }
1805
- function Y(t, e, n, r) {
1805
+ function B(t, e, n, r) {
1806
1806
  var i = t.__attributes ?? (t.__attributes = {});
1807
1807
  Q && (i[e] = t.getAttribute(e), e === "src" || e === "srcset" || e === "href" && t.nodeName === "LINK") || i[e] !== (i[e] = n) && (e === "style" && "__styles" in t && (t.__styles = {}), e === "loading" && (t[po] = n), n == null ? t.removeAttribute(e) : typeof n != "string" && Ks(t).includes(e) ? t[e] = n : t.setAttribute(e, n));
1808
1808
  }
@@ -1879,7 +1879,7 @@ function Mi(t, e, n, r, i = !1, s = !1, a = !1) {
1879
1879
  }
1880
1880
  } else
1881
1881
  t.removeAttribute(y);
1882
- else $ || u.includes(m) && (s || typeof _ != "string") ? t[m] = _ : typeof _ != "function" && (Q && (m === "src" || m === "href" || m === "srcset") || Y(t, m, _));
1882
+ else $ || u.includes(m) && (s || typeof _ != "string") ? t[m] = _ : typeof _ != "function" && (Q && (m === "src" || m === "href" || m === "srcset") || B(t, m, _));
1883
1883
  }
1884
1884
  y === "style" && "__styles" in t && (t.__styles = {});
1885
1885
  }
@@ -1944,7 +1944,7 @@ function dl(t) {
1944
1944
  }
1945
1945
  };
1946
1946
  }
1947
- function On(t, e) {
1947
+ function Fn(t, e) {
1948
1948
  t.dispatchEvent(new CustomEvent(e));
1949
1949
  }
1950
1950
  function fl(t) {
@@ -1968,10 +1968,10 @@ function Bi(t) {
1968
1968
  return e;
1969
1969
  }
1970
1970
  const hl = (t) => t;
1971
- function An(t, e, n, r) {
1971
+ function Rn(t, e, n, r) {
1972
1972
  var i = (t & Wa) !== 0, s = "both", a, l = e.inert, o = e.style.overflow, c, u;
1973
1973
  function d() {
1974
- var $ = pe, y = ee;
1974
+ var $ = ge, y = ee;
1975
1975
  ft(null), tt(null);
1976
1976
  try {
1977
1977
  return a ?? (a = n()(e, (r == null ? void 0 : r()) ?? /** @type {P} */
@@ -1985,13 +1985,13 @@ function An(t, e, n, r) {
1985
1985
  var f = {
1986
1986
  is_global: i,
1987
1987
  in() {
1988
- e.inert = l, On(e, "introstart"), c = Gr(e, d(), u, 1, () => {
1989
- On(e, "introend"), c == null || c.abort(), c = a = void 0, e.style.overflow = o;
1988
+ e.inert = l, Fn(e, "introstart"), c = Gr(e, d(), u, 1, () => {
1989
+ Fn(e, "introend"), c == null || c.abort(), c = a = void 0, e.style.overflow = o;
1990
1990
  });
1991
1991
  },
1992
1992
  out($) {
1993
- e.inert = !0, On(e, "outrostart"), u = Gr(e, d(), c, 0, () => {
1994
- On(e, "outroend"), $ == null || $();
1993
+ e.inert = !0, Fn(e, "outrostart"), u = Gr(e, d(), c, 0, () => {
1994
+ Fn(e, "outroend"), $ == null || $();
1995
1995
  });
1996
1996
  },
1997
1997
  stop: () => {
@@ -2007,8 +2007,8 @@ function An(t, e, n, r) {
2007
2007
  for (var m = (
2008
2008
  /** @type {Effect | null} */
2009
2009
  h.parent
2010
- ); m && m.f & ar; )
2011
- for (; (m = m.parent) && !(m.f & sr); )
2010
+ ); m && m.f & lr; )
2011
+ for (; (m = m.parent) && !(m.f & or); )
2012
2012
  ;
2013
2013
  b = !m || (m.f & ps) !== 0;
2014
2014
  }
@@ -2037,9 +2037,9 @@ function Gr(t, e, n, r, i) {
2037
2037
  }
2038
2038
  if (n == null || n.deactivate(), !(e != null && e.duration))
2039
2039
  return i(), {
2040
- abort: un,
2041
- deactivate: un,
2042
- reset: un,
2040
+ abort: fn,
2041
+ deactivate: fn,
2042
+ reset: fn,
2043
2043
  t: () => r
2044
2044
  };
2045
2045
  const { delay: o = 0, css: c, tick: u, easing: d = hl } = e;
@@ -2064,16 +2064,16 @@ function Gr(t, e, n, r, i) {
2064
2064
  C.push(R), E || (E = R.overflow === "hidden");
2065
2065
  }
2066
2066
  E && (t.style.overflow = "hidden"), b = () => {
2067
- var B = (
2067
+ var Y = (
2068
2068
  /** @type {number} */
2069
2069
  /** @type {globalThis.Animation} */
2070
2070
  m.currentTime
2071
2071
  );
2072
- return $ + y * d(B / _);
2072
+ return $ + y * d(Y / _);
2073
2073
  }, u && dl(() => {
2074
2074
  if (m.playState !== "running") return !1;
2075
- var B = b();
2076
- return u(B, 1 - B), !0;
2075
+ var Y = b();
2076
+ return u(Y, 1 - Y), !0;
2077
2077
  });
2078
2078
  }
2079
2079
  m = t.animate(C, { duration: _, fill: "forwards" }), m.onfinish = () => {
@@ -2081,10 +2081,10 @@ function Gr(t, e, n, r, i) {
2081
2081
  };
2082
2082
  }, {
2083
2083
  abort: () => {
2084
- m && (m.cancel(), m.effect = null, m.onfinish = un);
2084
+ m && (m.cancel(), m.effect = null, m.onfinish = fn);
2085
2085
  },
2086
2086
  deactivate: () => {
2087
- i = un;
2087
+ i = fn;
2088
2088
  },
2089
2089
  reset: () => {
2090
2090
  r === 0 && (u == null || u(1, 0));
@@ -2093,7 +2093,7 @@ function Gr(t, e, n, r, i) {
2093
2093
  };
2094
2094
  }
2095
2095
  function pl(t, e, n = e) {
2096
- var r = In();
2096
+ var r = jn();
2097
2097
  Hs(t, "input", (i) => {
2098
2098
  var s = i ? t.defaultValue : t.value;
2099
2099
  if (s = Ar(t) ? jr(s) : s, n(s), r && s !== (s = e())) {
@@ -2120,7 +2120,7 @@ function ta(t, e, n) {
2120
2120
  if (t.multiple)
2121
2121
  return ml(t, e);
2122
2122
  for (var r of t.options) {
2123
- var i = mn(r);
2123
+ var i = wn(r);
2124
2124
  if (Co(i, e)) {
2125
2125
  r.selected = !0;
2126
2126
  return;
@@ -2154,27 +2154,27 @@ function gl(t, e, n = e) {
2154
2154
  Hs(t, "change", (i) => {
2155
2155
  var s = i ? "[selected]" : ":checked", a;
2156
2156
  if (t.multiple)
2157
- a = [].map.call(t.querySelectorAll(s), mn);
2157
+ a = [].map.call(t.querySelectorAll(s), wn);
2158
2158
  else {
2159
2159
  var l = t.querySelector(s) ?? // will fall back to first non-disabled option if no option is selected
2160
2160
  t.querySelector("option:not([disabled])");
2161
- a = l && mn(l);
2161
+ a = l && wn(l);
2162
2162
  }
2163
2163
  n(a);
2164
2164
  }), sn(() => {
2165
2165
  var i = e();
2166
2166
  if (ta(t, i, r), r && i === void 0) {
2167
2167
  var s = t.querySelector(":checked");
2168
- s !== null && (i = mn(s), n(i));
2168
+ s !== null && (i = wn(s), n(i));
2169
2169
  }
2170
2170
  t.__value = i, r = !1;
2171
2171
  }), vl(t);
2172
2172
  }
2173
2173
  function ml(t, e) {
2174
2174
  for (var n of t.options)
2175
- n.selected = ~e.indexOf(mn(n));
2175
+ n.selected = ~e.indexOf(wn(n));
2176
2176
  }
2177
- function mn(t) {
2177
+ function wn(t) {
2178
2178
  return "__value" in t ? t.__value : t.value;
2179
2179
  }
2180
2180
  function Yi(t, e) {
@@ -2216,7 +2216,7 @@ function Ye(t = !1) {
2216
2216
  r = () => p(a);
2217
2217
  }
2218
2218
  n.b.length && Ro(() => {
2219
- Ui(e, r), Hn(n.b);
2219
+ Ui(e, r), Gn(n.b);
2220
2220
  }), qt(() => {
2221
2221
  const i = ht(() => n.m.map(uo));
2222
2222
  return () => {
@@ -2224,7 +2224,7 @@ function Ye(t = !1) {
2224
2224
  typeof s == "function" && s();
2225
2225
  };
2226
2226
  }), n.a.length && qt(() => {
2227
- Ui(e, r), Hn(n.a);
2227
+ Ui(e, r), Gn(n.a);
2228
2228
  });
2229
2229
  }
2230
2230
  function Ui(t, e) {
@@ -2259,7 +2259,7 @@ function _l() {
2259
2259
  ]
2260
2260
  );
2261
2261
  if (i) {
2262
- const a = ir(i) ? i.slice() : [i], l = wl(
2262
+ const a = ar(i) ? i.slice() : [i], l = wl(
2263
2263
  /** @type {string} */
2264
2264
  e,
2265
2265
  n,
@@ -2279,13 +2279,13 @@ function xl(t) {
2279
2279
  );
2280
2280
  return e.u ?? (e.u = { a: [], b: [], m: [] });
2281
2281
  }
2282
- let Pn = !1;
2282
+ let qn = !1;
2283
2283
  function kl(t) {
2284
- var e = Pn;
2284
+ var e = qn;
2285
2285
  try {
2286
- return Pn = !1, [t(), Pn];
2286
+ return qn = !1, [t(), qn];
2287
2287
  } finally {
2288
- Pn = e;
2288
+ qn = e;
2289
2289
  }
2290
2290
  }
2291
2291
  const yl = {
@@ -2378,19 +2378,19 @@ function g(t, e, n, r) {
2378
2378
  return $;
2379
2379
  if (d) {
2380
2380
  var _ = t.$$legacy;
2381
- return function(R, B) {
2382
- return arguments.length > 0 ? ((!s || !B || _ || o) && d(B ? $() : R), R) : $();
2381
+ return function(R, Y) {
2382
+ return arguments.length > 0 ? ((!s || !Y || _ || o) && d(Y ? $() : R), R) : $();
2383
2383
  };
2384
2384
  }
2385
- var C = !1, E = !1, x = /* @__PURE__ */ or(c), k = Hi(
2385
+ var C = !1, E = !1, x = /* @__PURE__ */ cr(c), k = Hi(
2386
2386
  () => /* @__PURE__ */ Kt(() => {
2387
- var R = $(), B = p(x);
2388
- return C ? (C = !1, E = !0, B) : (E = !1, x.v = R);
2387
+ var R = $(), Y = p(x);
2388
+ return C ? (C = !1, E = !0, Y) : (E = !1, x.v = R);
2389
2389
  })
2390
2390
  );
2391
- return i || (k.equals = si), function(R, B) {
2391
+ return i || (k.equals = si), function(R, Y) {
2392
2392
  if (arguments.length > 0) {
2393
- const te = B ? p(k) : s && a ? j(R) : R;
2393
+ const te = Y ? p(k) : s && a ? j(R) : R;
2394
2394
  return k.equals(te) || (C = !0, z(x, te), b && f !== void 0 && (f = te), ht(() => p(k))), R;
2395
2395
  }
2396
2396
  return p(k);
@@ -2413,7 +2413,7 @@ class $l {
2413
2413
  Er(this, Xe);
2414
2414
  var s;
2415
2415
  var n = /* @__PURE__ */ new Map(), r = (a, l) => {
2416
- var o = /* @__PURE__ */ or(l);
2416
+ var o = /* @__PURE__ */ cr(l);
2417
2417
  return n.set(a, o), o;
2418
2418
  };
2419
2419
  const i = new Proxy(
@@ -2439,7 +2439,7 @@ class $l {
2439
2439
  recover: e.recover
2440
2440
  })), (!((s = e == null ? void 0 : e.props) != null && s.$$host) || e.sync === !1) && v(), Cr(this, wt, i.$$events);
2441
2441
  for (const a of Object.keys(qe(this, Xe)))
2442
- a === "$set" || a === "$destroy" || a === "$on" || Un(this, a, {
2442
+ a === "$set" || a === "$destroy" || a === "$on" || Zn(this, a, {
2443
2443
  get() {
2444
2444
  return qe(this, Xe)[a];
2445
2445
  },
@@ -2549,7 +2549,7 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
2549
2549
  i in r && (i === "default" && !this.$$d.children ? (this.$$d.children = e(i), n.default = !0) : n[i] = e(i));
2550
2550
  for (const i of this.attributes) {
2551
2551
  const s = this.$$g_p(i.name);
2552
- s in this.$$d || (this.$$d[s] = Mn(s, i.value, this.$$p_d, "toProp"));
2552
+ s in this.$$d || (this.$$d[s] = Bn(s, i.value, this.$$p_d, "toProp"));
2553
2553
  }
2554
2554
  for (const i in this.$$p_d)
2555
2555
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -2565,10 +2565,10 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
2565
2565
  an(() => {
2566
2566
  var i;
2567
2567
  this.$$r = !0;
2568
- for (const s of Yn(this.$$c)) {
2568
+ for (const s of Hn(this.$$c)) {
2569
2569
  if (!((i = this.$$p_d[s]) != null && i.reflect)) continue;
2570
2570
  this.$$d[s] = this.$$c[s];
2571
- const a = Mn(
2571
+ const a = Bn(
2572
2572
  s,
2573
2573
  this.$$d[s],
2574
2574
  this.$$p_d,
@@ -2596,7 +2596,7 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
2596
2596
  */
2597
2597
  attributeChangedCallback(e, n, r) {
2598
2598
  var i;
2599
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Mn(e, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [e]: this.$$d[e] }));
2599
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Bn(e, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [e]: this.$$d[e] }));
2600
2600
  }
2601
2601
  disconnectedCallback() {
2602
2602
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -2607,12 +2607,12 @@ typeof HTMLElement == "function" && (ra = class extends HTMLElement {
2607
2607
  * @param {string} attribute_name
2608
2608
  */
2609
2609
  $$g_p(e) {
2610
- return Yn(this.$$p_d).find(
2610
+ return Hn(this.$$p_d).find(
2611
2611
  (n) => this.$$p_d[n].attribute === e || !this.$$p_d[n].attribute && n.toLowerCase() === e
2612
2612
  ) || e;
2613
2613
  }
2614
2614
  });
2615
- function Mn(t, e, n, r) {
2615
+ function Bn(t, e, n, r) {
2616
2616
  var s;
2617
2617
  const i = (s = n[t]) == null ? void 0 : s.type;
2618
2618
  if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !r || !n[t])
@@ -2657,19 +2657,19 @@ function V(t, e, n, r, i, s) {
2657
2657
  super(t, n, i), this.$$p_d = e;
2658
2658
  }
2659
2659
  static get observedAttributes() {
2660
- return Yn(e).map(
2660
+ return Hn(e).map(
2661
2661
  (l) => (e[l].attribute || l).toLowerCase()
2662
2662
  );
2663
2663
  }
2664
2664
  };
2665
- return Yn(e).forEach((l) => {
2666
- Un(a.prototype, l, {
2665
+ return Hn(e).forEach((l) => {
2666
+ Zn(a.prototype, l, {
2667
2667
  get() {
2668
2668
  return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
2669
2669
  },
2670
2670
  set(o) {
2671
2671
  var d;
2672
- o = Mn(l, o, e), this.$$d[l] = o;
2672
+ o = Bn(l, o, e), this.$$d[l] = o;
2673
2673
  var c = this.$$c;
2674
2674
  if (c) {
2675
2675
  var u = (d = Ft(c, l)) == null ? void 0 : d.get;
@@ -2678,7 +2678,7 @@ function V(t, e, n, r, i, s) {
2678
2678
  }
2679
2679
  });
2680
2680
  }), r.forEach((l) => {
2681
- Un(a.prototype, l, {
2681
+ Zn(a.prototype, l, {
2682
2682
  get() {
2683
2683
  var o;
2684
2684
  return (o = this.$$c) == null ? void 0 : o[l];
@@ -2866,10 +2866,10 @@ function sa(t, e) {
2866
2866
  {
2867
2867
  var y = (k) => {
2868
2868
  var F = Rl();
2869
- Y(F, "title", "Attiva volume"), F.__click = [jl, s], w(k, F);
2869
+ B(F, "title", "Attiva volume"), F.__click = [jl, s], w(k, F);
2870
2870
  }, _ = (k) => {
2871
2871
  var F = Ol();
2872
- Y(F, "title", "Muta"), F.__click = [Ll, s], w(k, F);
2872
+ B(F, "title", "Muta"), F.__click = [Ll, s], w(k, F);
2873
2873
  };
2874
2874
  N($, (k) => {
2875
2875
  s() ? k(y) : k(_, !1);
@@ -2886,7 +2886,7 @@ function sa(t, e) {
2886
2886
  var E = H(C, 2);
2887
2887
  E.__click = [Pl, r];
2888
2888
  var x = H(E, 2);
2889
- return x.__click = [Fl, r, n], T(m), T(u), T(c), gl(f, a), An(3, c, () => hi, () => ({ duration: 300 })), w(t, c), G({
2889
+ return x.__click = [Fl, r, n], T(m), T(u), T(c), gl(f, a), Rn(3, c, () => hi, () => ({ duration: 300 })), w(t, c), G({
2890
2890
  get show() {
2891
2891
  return n();
2892
2892
  },
@@ -2969,7 +2969,7 @@ const Ml = () => {
2969
2969
  getToken: Nl,
2970
2970
  getEnvironmentId: Bl
2971
2971
  };
2972
- class yn {
2972
+ class Sn {
2973
2973
  constructor(e, n, r, i, s, a, l, o = "", c = !1, u = (/* @__PURE__ */ new Date()).getTime(), d = "loading") {
2974
2974
  A(this, "_id");
2975
2975
  A(this, "title");
@@ -3000,13 +3000,13 @@ class yn {
3000
3000
  };
3001
3001
  }
3002
3002
  static fromJson(e) {
3003
- return new yn(e._id, e.title, e.companyId, e.private, e.externalId, e.idArchivio, e.hash, e.gendocId, e.isCommon, e.createdAt, e.checked);
3003
+ return new Sn(e._id, e.title, e.companyId, e.private, e.externalId, e.idArchivio, e.hash, e.gendocId, e.isCommon, e.createdAt, e.checked);
3004
3004
  }
3005
3005
  static fromJsonArray(e) {
3006
- return e.map((n) => yn.fromJson(n));
3006
+ return e.map((n) => Sn.fromJson(n));
3007
3007
  }
3008
3008
  }
3009
- class Kn {
3009
+ class tr {
3010
3010
  constructor(e, n, r, i, s, a, l = (/* @__PURE__ */ new Date()).getTime()) {
3011
3011
  A(this, "_id");
3012
3012
  A(this, "title");
@@ -3029,10 +3029,10 @@ class Kn {
3029
3029
  };
3030
3030
  }
3031
3031
  static fromJson(e) {
3032
- return new Kn(e._id, e.title, e.externalId, e.idArchivio, e.isArchived, e.status, e.createdAt);
3032
+ return new tr(e._id, e.title, e.externalId, e.idArchivio, e.isArchived, e.status, e.createdAt);
3033
3033
  }
3034
3034
  static fromJsonArray(e) {
3035
- return e.map((n) => Kn.fromJson(n));
3035
+ return e.map((n) => tr.fromJson(n));
3036
3036
  }
3037
3037
  }
3038
3038
  const aa = (t) => {
@@ -3097,7 +3097,7 @@ const Gl = async (t) => {
3097
3097
  });
3098
3098
  if (!e.ok)
3099
3099
  throw new Error("Failed to fetch documents");
3100
- return (await e.json()).map((r) => yn.fromJson(r));
3100
+ return (await e.json()).map((r) => Sn.fromJson(r));
3101
3101
  }, Jl = async (t, e, n) => {
3102
3102
  if (e.endsWith(".akd")) {
3103
3103
  if (!n)
@@ -3136,8 +3136,8 @@ const Gl = async (t) => {
3136
3136
  });
3137
3137
  if (!e.ok)
3138
3138
  throw new Error("Failed to fetch normative");
3139
- return (await e.json()).map((r) => Kn.fromJson(r));
3140
- }, zn = {
3139
+ return (await e.json()).map((r) => tr.fromJson(r));
3140
+ }, $n = {
3141
3141
  getDocuments: Gl,
3142
3142
  getDocumentPage: Jl,
3143
3143
  getNormative: Wl,
@@ -3201,7 +3201,7 @@ function tc(t, e) {
3201
3201
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.75s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
3202
3202
  var l = Kl();
3203
3203
  return L(() => {
3204
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`), W(l, "pause-animation", a());
3204
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`), W(l, "pause-animation", a());
3205
3205
  }), w(t, l), G({
3206
3206
  get color() {
3207
3207
  return n();
@@ -3273,7 +3273,7 @@ function ic(t, e) {
3273
3273
  let n = g(e, "size", 12, "60"), r = g(e, "unit", 12, "px"), i = g(e, "pause", 12, !1), s = g(e, "colorOuter", 12, "#FF3E00"), a = g(e, "colorCenter", 12, "#40B3FF"), l = g(e, "colorInner", 12, "#676778"), o = g(e, "durationMultiplier", 12, 1), c = g(e, "durationOuter", 28, () => `${o() * 2}s`), u = g(e, "durationInner", 28, () => `${o() * 1.5}s`), d = g(e, "durationCenter", 28, () => `${o() * 3}s`);
3274
3274
  var f = nc();
3275
3275
  return L(() => {
3276
- Y(f, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${l() ?? ""}; --colorCenter: ${a() ?? ""}; --colorOuter: ${s() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${d() ?? ""}; --durationOuter: ${c() ?? ""};`), W(f, "pause-animation", i());
3276
+ B(f, "style", `--size: ${n() ?? ""}${r() ?? ""}; --colorInner: ${l() ?? ""}; --colorCenter: ${a() ?? ""}; --colorOuter: ${s() ?? ""}; --durationInner: ${u() ?? ""}; --durationCenter: ${d() ?? ""}; --durationOuter: ${c() ?? ""};`), W(f, "pause-animation", i());
3277
3277
  }), w(t, f), G({
3278
3278
  get size() {
3279
3279
  return n();
@@ -3398,7 +3398,7 @@ function oc(t, e) {
3398
3398
  T(y);
3399
3399
  var C = H(y, 2), E = I(C);
3400
3400
  return T(C), T(f), T(d), T(u), L(() => {
3401
- Y(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${s() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${l() ?? ""}; --ballBottomRightColor: ${o() ?? ""}; --duration: ${c() ?? ""};`), W(f, "pause-animation", i()), W(b, "pause-animation", i()), W($, "pause-animation", i()), W(_, "pause-animation", i()), W(E, "pause-animation", i());
3401
+ B(u, "style", `--size: ${n() ?? ""}${r() ?? ""}; --floatSize: ${n() ?? ""}; --ballTopLeftColor: ${s() ?? ""}; --ballTopRightColor: ${a() ?? ""}; --ballBottomLeftColor: ${l() ?? ""}; --ballBottomRightColor: ${o() ?? ""}; --duration: ${c() ?? ""};`), W(f, "pause-animation", i()), W(b, "pause-animation", i()), W($, "pause-animation", i()), W(_, "pause-animation", i()), W(E, "pause-animation", i());
3402
3402
  }), w(t, u), G({
3403
3403
  get size() {
3404
3404
  return n();
@@ -3499,9 +3499,9 @@ function dc(t, e) {
3499
3499
  return je(c, 5, () => it(2, 1), Ae, (d, f) => {
3500
3500
  var h = lc();
3501
3501
  L(() => {
3502
- Y(h, "style", `animation: ${i() ?? ""} ${(p(f) === 1 ? `${(+o - 0.1) / 2}${l}` : "0s") ?? ""} infinite ease-in-out`), W(h, "pause-animation", a());
3502
+ B(h, "style", `animation: ${i() ?? ""} ${(p(f) === 1 ? `${(+o - 0.1) / 2}${l}` : "0s") ?? ""} infinite ease-in-out`), W(h, "pause-animation", a());
3503
3503
  }), w(d, h);
3504
- }), T(c), L(() => Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)), w(t, c), G({
3504
+ }), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}`)), w(t, c), G({
3505
3505
  get color() {
3506
3506
  return n();
3507
3507
  },
@@ -3724,15 +3724,15 @@ function pc(t, e) {
3724
3724
  Z(e, !1), X(t, hc);
3725
3725
  const n = It();
3726
3726
  let r = g(e, "size", 12, "40px"), i = g(e, "duration", 12, "3s"), s = g(e, "pause", 12, !1);
3727
- En(() => cn(r()), () => {
3727
+ In(() => cn(r()), () => {
3728
3728
  z(n, [
3729
3729
  `width: ${r()}`,
3730
3730
  `height: ${r()}`
3731
3731
  ].join(";"));
3732
- }), Cn(), Ye();
3732
+ }), An(), Ye();
3733
3733
  var a = fc();
3734
3734
  return L(() => {
3735
- Y(a, "style", `--duration: ${i() ?? ""}; ${p(n) ?? ""}`), W(a, "pause-animation", s());
3735
+ B(a, "style", `--duration: ${i() ?? ""}; ${p(n) ?? ""}`), W(a, "pause-animation", s());
3736
3736
  }), w(t, a), G({
3737
3737
  get size() {
3738
3738
  return r();
@@ -3775,7 +3775,7 @@ function mc(t, e) {
3775
3775
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
3776
3776
  var l = vc(), o = I(l);
3777
3777
  return T(l), L(() => {
3778
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
3778
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
3779
3779
  }), w(t, l), G({
3780
3780
  get color() {
3781
3781
  return n();
@@ -3888,7 +3888,7 @@ function _c(t, e) {
3888
3888
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "4s"), s = g(e, "size", 12, "60"), a = g(e, "stroke", 28, () => +s() / 12 + r()), l = g(e, "pause", 12, !1);
3889
3889
  var o = bc(), c = I(o);
3890
3890
  return T(o), L(() => {
3891
- Y(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${a() ?? ""}; --floatSize: ${s() ?? ""}; --duration: ${i() ?? ""}`), W(c, "pause-animation", l());
3891
+ B(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --stroke: ${a() ?? ""}; --floatSize: ${s() ?? ""}; --duration: ${i() ?? ""}`), W(c, "pause-animation", l());
3892
3892
  }), w(t, o), G({
3893
3893
  get color() {
3894
3894
  return n();
@@ -3967,9 +3967,9 @@ function zc(t, e) {
3967
3967
  return je(c, 5, () => it(5, 1), Ae, (d, f) => {
3968
3968
  var h = xc();
3969
3969
  L(() => {
3970
- Y(h, "style", `animation-delay: ${(p(f) - 1) * (+o / 12)}${l ?? ""}`), W(h, "pause-animation", a());
3970
+ B(h, "style", `animation-delay: ${(p(f) - 1) * (+o / 12)}${l ?? ""}`), W(h, "pause-animation", a());
3971
3971
  }), w(d, h);
3972
- }), T(c), L(() => Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`)), w(t, c), G({
3972
+ }), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`)), w(t, c), G({
3973
3973
  get color() {
3974
3974
  return n();
3975
3975
  },
@@ -4056,19 +4056,19 @@ const Tc = {
4056
4056
  function Ec(t, e) {
4057
4057
  Z(e, !1), X(t, Tc);
4058
4058
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "2.1s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = It();
4059
- En(
4059
+ In(
4060
4060
  () => cn(n()),
4061
4061
  () => {
4062
4062
  z(l, mi(n(), 0.2));
4063
4063
  }
4064
- ), Cn(), Ye();
4064
+ ), An(), Ye();
4065
4065
  var o = $c();
4066
4066
  return je(o, 5, () => it(2, 1), Ae, (c, u) => {
4067
4067
  var d = Sc();
4068
4068
  L(() => {
4069
- Oe(d, `lines small-lines ${p(u) ?? ""} svelte-bnawe9`), Y(d, "style", `--color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(d, "pause-animation", a());
4069
+ Oe(d, `lines small-lines ${p(u) ?? ""} svelte-bnawe9`), B(d, "style", `--color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(d, "pause-animation", a());
4070
4070
  }), w(c, d);
4071
- }), T(o), L(() => Y(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --rgba:${p(l) ?? ""}`)), w(t, o), G({
4071
+ }), T(o), L(() => B(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --rgba:${p(l) ?? ""}`)), w(t, o), G({
4072
4072
  get color() {
4073
4073
  return n();
4074
4074
  },
@@ -4142,9 +4142,9 @@ function jc(t, e) {
4142
4142
  return je(c, 5, () => it(3, 1), Ae, (d, f) => {
4143
4143
  var h = Cc();
4144
4144
  L(() => {
4145
- Y(h, "style", `animation-delay: ${+o / 3 * (p(f) - 1) + l};`), W(h, "pause-animation", a());
4145
+ B(h, "style", `animation-delay: ${+o / 3 * (p(f) - 1) + l};`), W(h, "pause-animation", a());
4146
4146
  }), w(d, h);
4147
- }), T(c), L(() => Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
4147
+ }), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
4148
4148
  get color() {
4149
4149
  return n();
4150
4150
  },
@@ -4224,7 +4224,7 @@ function Pc(t, e) {
4224
4224
  L(() => {
4225
4225
  Oe(u, `border ${p(c) ?? ""} svelte-kxapcj`), W(u, "pause-animation", a());
4226
4226
  }), w(o, u);
4227
- }), T(l), L(() => Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, l), G({
4227
+ }), T(l), L(() => B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, l), G({
4228
4228
  get color() {
4229
4229
  return n();
4230
4230
  },
@@ -4314,9 +4314,9 @@ function Mc(t, e) {
4314
4314
  return je(c, 5, () => it(3, 1), Ae, (d, f) => {
4315
4315
  var h = Fc();
4316
4316
  L(() => {
4317
- Y(h, "style", `--dotSize:${+s() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${p(f) * (+o / 10)}${l ?? ""};`), W(h, "pause-animation", a());
4317
+ B(h, "style", `--dotSize:${+s() * 0.25}${r() ?? ""}; --color:${n() ?? ""}; animation-delay: ${p(f) * (+o / 10)}${l ?? ""};`), W(h, "pause-animation", a());
4318
4318
  }), w(d, h);
4319
- }), T(c), L(() => Y(c, "style", `--size:${s() ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
4319
+ }), T(c), L(() => B(c, "style", `--size:${s() ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
4320
4320
  get color() {
4321
4321
  return n();
4322
4322
  },
@@ -4391,7 +4391,7 @@ function Yc(t, e) {
4391
4391
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "3s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
4392
4392
  var l = Nc(), o = I(l);
4393
4393
  return T(l), L(() => {
4394
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
4394
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
4395
4395
  }), w(t, l), G({
4396
4396
  get color() {
4397
4397
  return n();
@@ -4463,7 +4463,7 @@ function Zc(t, e) {
4463
4463
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.25s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
4464
4464
  var l = Uc(), o = I(l);
4465
4465
  return T(l), L(() => {
4466
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
4466
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
4467
4467
  }), w(t, l), G({
4468
4468
  get color() {
4469
4469
  return n();
@@ -4536,9 +4536,9 @@ function bi(t, e) {
4536
4536
  return je(c, 5, () => it(3, 0), Ae, (d, f) => {
4537
4537
  var h = Gc();
4538
4538
  L(() => {
4539
- Y(h, "style", `animation-delay: ${p(f) * (+o / 10)}${l ?? ""}; left: ${p(f) * (+s() / 3 + +s() / 15) + r()};`), W(h, "pause-animation", a());
4539
+ B(h, "style", `animation-delay: ${p(f) * (+o / 10)}${l ?? ""}; left: ${p(f) * (+s() / 3 + +s() / 15) + r()};`), W(h, "pause-animation", a());
4540
4540
  }), w(d, h);
4541
- }), T(c), L(() => Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`)), w(t, c), G({
4541
+ }), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""}`)), w(t, c), G({
4542
4542
  get color() {
4543
4543
  return n();
4544
4544
  },
@@ -4610,9 +4610,9 @@ function Kc(t, e) {
4610
4610
  return je(c, 5, () => it(6, 0), Ae, (d, f) => {
4611
4611
  var h = Wc();
4612
4612
  L(() => {
4613
- Y(h, "style", `animation-delay: ${p(f) * (+o / 25)}${l ?? ""}; width: ${p(f) * (+s() / 6) + r()}; height: ${p(f) * (+s() / 6) / 2 + r()}; `), W(h, "pause-animation", a());
4613
+ B(h, "style", `animation-delay: ${p(f) * (+o / 25)}${l ?? ""}; width: ${p(f) * (+s() / 6) + r()}; height: ${p(f) * (+s() / 6) / 2 + r()}; `), W(h, "pause-animation", a());
4614
4614
  }), w(d, h);
4615
- }), T(c), L(() => Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-s() / 5}${r() ?? ""}; --motionTwo: ${+s() / 4}${r() ?? ""}; --motionThree: ${-s() / 5}${r() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
4615
+ }), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --motionOne: ${-s() / 5}${r() ?? ""}; --motionTwo: ${+s() / 4}${r() ?? ""}; --motionThree: ${-s() / 5}${r() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
4616
4616
  get color() {
4617
4617
  return n();
4618
4618
  },
@@ -4689,10 +4689,10 @@ function ru(t, e) {
4689
4689
  return je(u, 5, () => it(2, 0), Ae, (f, h) => {
4690
4690
  var b = eu();
4691
4691
  L(() => {
4692
- Y(b, "style", `animation-delay: ${(p(h) === 1 ? `${+o / 2}${l}` : "0s") ?? ""}; ${(p(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(p(h) === 1 ? "top: auto;" : "") ?? ""}`), W(b, "pause-animation", a());
4692
+ B(b, "style", `animation-delay: ${(p(h) === 1 ? `${+o / 2}${l}` : "0s") ?? ""}; ${(p(h) === 1 ? "bottom: 0;" : "") ?? ""} ${(p(h) === 1 ? "top: auto;" : "") ?? ""}`), W(b, "pause-animation", a());
4693
4693
  }), w(f, b);
4694
4694
  }), T(u), T(c), L(() => {
4695
- Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(u, "pause-animation", a());
4695
+ B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(u, "pause-animation", a());
4696
4696
  }), w(t, c), G({
4697
4697
  get color() {
4698
4698
  return n();
@@ -4768,7 +4768,7 @@ function au(t, e) {
4768
4768
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "3s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
4769
4769
  var l = iu();
4770
4770
  return L(() => {
4771
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
4771
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
4772
4772
  }), w(t, l), G({
4773
4773
  get color() {
4774
4774
  return n();
@@ -4862,7 +4862,7 @@ function cu(t, e) {
4862
4862
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.7s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
4863
4863
  var l = ou(), o = I(l);
4864
4864
  return T(l), L(() => {
4865
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
4865
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(o, "pause-animation", a());
4866
4866
  }), w(t, l), G({
4867
4867
  get color() {
4868
4868
  return n();
@@ -4926,7 +4926,7 @@ function fu(t, e) {
4926
4926
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.6s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = +s() / 7, o = +s() / 2 - l / 2;
4927
4927
  var c = uu(), u = I(c), d = H(u, 2);
4928
4928
  return T(c), L(() => {
4929
- Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${o ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`), W(c, "pause-animation", a()), W(u, "pause-animation", a()), W(d, "pause-animation", a());
4929
+ B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --moonSize: ${o ?? ""}${r() ?? ""}; --duration: ${i() ?? ""};`), W(c, "pause-animation", a()), W(u, "pause-animation", a()), W(d, "pause-animation", a());
4930
4930
  }), w(t, c), G({
4931
4931
  get color() {
4932
4932
  return n();
@@ -5009,15 +5009,15 @@ const pu = {
5009
5009
  function vu(t, e) {
5010
5010
  Z(e, !1), X(t, pu);
5011
5011
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.3s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = It();
5012
- En(
5012
+ In(
5013
5013
  () => cn(n()),
5014
5014
  () => {
5015
5015
  z(l, mi(n(), 0.6));
5016
5016
  }
5017
- ), Cn(), Ye();
5017
+ ), An(), Ye();
5018
5018
  var o = hu(), c = I(o);
5019
5019
  return T(o), L(() => {
5020
- Y(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(l) ?? ""}; --duration: ${i() ?? ""};`), W(c, "pause-animation", a());
5020
+ B(o, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(l) ?? ""}; --duration: ${i() ?? ""};`), W(c, "pause-animation", a());
5021
5021
  }), w(t, o), G({
5022
5022
  get color() {
5023
5023
  return n();
@@ -5086,7 +5086,7 @@ function bu(t, e) {
5086
5086
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1.5s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
5087
5087
  var l = gu();
5088
5088
  return L(() => {
5089
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
5089
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
5090
5090
  }), w(t, l), G({
5091
5091
  get color() {
5092
5092
  return n();
@@ -5153,7 +5153,7 @@ function xu(t, e) {
5153
5153
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "8s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1);
5154
5154
  var l = wu();
5155
5155
  return L(() => {
5156
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${i() ?? ""}`), W(l, "pause-animation", a());
5156
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color:${n() ?? ""}; --duration:${i() ?? ""}`), W(l, "pause-animation", a());
5157
5157
  }), w(t, l), G({
5158
5158
  get color() {
5159
5159
  return n();
@@ -5227,9 +5227,9 @@ function Su(t, e) {
5227
5227
  return je(c, 5, () => it(10, 0), Ae, (d, f) => {
5228
5228
  var h = ku();
5229
5229
  L(() => {
5230
- Y(h, "style", `left: ${p(f) * (+s() / 5 + (+s() / 15 - +s() / 100)) + r()}; animation-delay: ${p(f) * (+o / 8.3)}${l ?? ""};`), W(h, "pause-animation", a());
5230
+ B(h, "style", `left: ${p(f) * (+s() / 5 + (+s() / 15 - +s() / 100)) + r()}; animation-delay: ${p(f) * (+o / 8.3)}${l ?? ""};`), W(h, "pause-animation", a());
5231
5231
  }), w(d, h);
5232
- }), T(c), L(() => Y(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
5232
+ }), T(c), L(() => B(c, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`)), w(t, c), G({
5233
5233
  get color() {
5234
5234
  return n();
5235
5235
  },
@@ -5301,19 +5301,19 @@ function Cu(t, e) {
5301
5301
  var d;
5302
5302
  Z(e, !1), X(t, Eu);
5303
5303
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "1s"), s = g(e, "size", 12, "60"), a = g(e, "pause", 12, !1), l = ((d = i().match(Ce)) == null ? void 0 : d[0]) ?? "s", o = i().replace(Ce, ""), c = It();
5304
- En(
5304
+ In(
5305
5305
  () => cn(n()),
5306
5306
  () => {
5307
5307
  z(c, mi(n(), 1));
5308
5308
  }
5309
- ), Cn(), Ye();
5309
+ ), An(), Ye();
5310
5310
  var u = Tu();
5311
5311
  return je(u, 5, () => it(2, 1), Ae, (f, h) => {
5312
5312
  var b = $u();
5313
5313
  L(() => {
5314
- Y(b, "style", `animation-delay: ${(p(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +o + l};`), W(b, "pause-animation", a());
5314
+ B(b, "style", `animation-delay: ${(p(h) === 1 ? "-1s" : "0s") ?? ""}; animation-duration: ${2 / +o + l};`), W(b, "pause-animation", a());
5315
5315
  }), w(f, b);
5316
- }), T(u), L(() => Y(u, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(c) ?? ""}; --duration: ${i() ?? ""}`)), w(t, u), G({
5316
+ }), T(u), L(() => B(u, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --rgba: ${p(c) ?? ""}; --duration: ${i() ?? ""}`)), w(t, u), G({
5317
5317
  get color() {
5318
5318
  return n();
5319
5319
  },
@@ -5378,7 +5378,7 @@ function ju(t, e) {
5378
5378
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.4s"), s = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
5379
5379
  var l = Iu();
5380
5380
  return L(() => {
5381
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
5381
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
5382
5382
  }), w(t, l), G({
5383
5383
  get color() {
5384
5384
  return n();
@@ -5444,7 +5444,7 @@ function Ou(t, e) {
5444
5444
  let n = g(e, "color", 12, "#FF3E00"), r = g(e, "unit", 12, "px"), i = g(e, "duration", 12, "0.4s"), s = g(e, "size", 12, "15"), a = g(e, "pause", 12, !1);
5445
5445
  var l = Ru();
5446
5446
  return L(() => {
5447
- Y(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
5447
+ B(l, "style", `--size: ${s() ?? ""}${r() ?? ""}; --color: ${n() ?? ""}; --duration: ${i() ?? ""};`), W(l, "pause-animation", a());
5448
5448
  }), w(t, l), G({
5449
5449
  get color() {
5450
5450
  return n();
@@ -5511,7 +5511,7 @@ function oa(t, e) {
5511
5511
  const c = () => {
5512
5512
  r(!1), z(o, ""), z(s, j([])), z(a, j([]));
5513
5513
  }, u = (q) => {
5514
- q instanceof yn ? n(
5514
+ q instanceof Sn ? n(
5515
5515
  n()[q._id] = {
5516
5516
  title: q.title,
5517
5517
  ext_id: q.externalId,
@@ -5535,7 +5535,7 @@ function oa(t, e) {
5535
5535
  }
5536
5536
  z(l, !0);
5537
5537
  try {
5538
- z(a, j(await zn.getNormative(q)));
5538
+ z(a, j(await $n.getNormative(q)));
5539
5539
  } catch (D) {
5540
5540
  console.error("Errore nella ricerca normativa:", D), z(a, j([]));
5541
5541
  } finally {
@@ -5548,7 +5548,7 @@ function oa(t, e) {
5548
5548
  }
5549
5549
  z(l, !0);
5550
5550
  try {
5551
- z(s, j(await zn.getDocuments(q)));
5551
+ z(s, j(await $n.getDocuments(q)));
5552
5552
  } catch (D) {
5553
5553
  console.error("Errore nella ricerca documenti:", D), z(s, j([]));
5554
5554
  } finally {
@@ -5569,22 +5569,22 @@ function oa(t, e) {
5569
5569
  ], T(x), T(E);
5570
5570
  var F = H(E, 2), R = I(F);
5571
5571
  {
5572
- var B = (q) => {
5572
+ var Y = (q) => {
5573
5573
  var D = Fu(), U = I(D);
5574
5574
  bi(U, { size: "30", color: "#295dcf" }), Eo(2), T(D), w(q, D);
5575
5575
  }, te = (q) => {
5576
- var D = he(), U = oe(D);
5576
+ var D = ve(), U = oe(D);
5577
5577
  {
5578
- var ge = (se) => {
5579
- var ue = qu();
5580
- w(se, ue);
5578
+ var be = (se) => {
5579
+ var de = qu();
5580
+ w(se, de);
5581
5581
  }, _e = (se) => {
5582
- var ue = he(), ve = oe(ue);
5582
+ var de = ve(), me = oe(de);
5583
5583
  {
5584
- var de = (fe) => {
5585
- var Te = he(), xe = oe(Te);
5584
+ var fe = (he) => {
5585
+ var Ee = ve(), xe = oe(Ee);
5586
5586
  {
5587
- var me = (ce) => {
5587
+ var we = (ce) => {
5588
5588
  var ye = Du();
5589
5589
  w(ce, ye);
5590
5590
  }, ke = (ce) => {
@@ -5597,14 +5597,14 @@ function oa(t, e) {
5597
5597
  }), T(ye), w(ce, ye);
5598
5598
  };
5599
5599
  N(xe, (ce) => {
5600
- p(a).length === 0 ? ce(me) : ce(ke, !1);
5600
+ p(a).length === 0 ? ce(we) : ce(ke, !1);
5601
5601
  });
5602
5602
  }
5603
- w(fe, Te);
5604
- }, Ie = (fe) => {
5605
- var Te = he(), xe = oe(Te);
5603
+ w(he, Ee);
5604
+ }, Ie = (he) => {
5605
+ var Ee = ve(), xe = oe(Ee);
5606
5606
  {
5607
- var me = (ce) => {
5607
+ var we = (ce) => {
5608
5608
  var ye = Yu();
5609
5609
  w(ce, ye);
5610
5610
  }, ke = (ce) => {
@@ -5615,34 +5615,34 @@ function oa(t, e) {
5615
5615
  var st = I(Fe), $t = I(st);
5616
5616
  {
5617
5617
  var P = (K) => {
5618
- var we = Hu();
5619
- w(K, we);
5618
+ var ue = Hu();
5619
+ w(K, ue);
5620
5620
  }, M = (K) => {
5621
- var we = he(), rt = oe(we);
5621
+ var ue = ve(), rt = oe(ue);
5622
5622
  {
5623
5623
  var Ve = (Tt) => {
5624
5624
  var Rt = Zu();
5625
5625
  w(Tt, Rt);
5626
5626
  }, We = (Tt) => {
5627
- var Rt = he(), mr = oe(Rt);
5627
+ var Rt = ve(), wr = oe(Rt);
5628
5628
  {
5629
- var br = ($e) => {
5630
- var Ee = Gu();
5631
- w($e, Ee);
5632
- }, Rn = ($e) => {
5633
- var Ee = he(), Lt = oe(Ee);
5629
+ var _r = ($e) => {
5630
+ var Te = Gu();
5631
+ w($e, Te);
5632
+ }, On = ($e) => {
5633
+ var Te = ve(), Lt = oe(Te);
5634
5634
  {
5635
- var wr = (Ue) => {
5635
+ var un = (Ue) => {
5636
5636
  var gt = Ju();
5637
5637
  w(Ue, gt);
5638
- }, _r = (Ue) => {
5639
- var gt = he(), xr = oe(gt);
5638
+ }, dn = (Ue) => {
5639
+ var gt = ve(), xr = oe(gt);
5640
5640
  {
5641
5641
  var kr = (He) => {
5642
5642
  var mt = Vu();
5643
5643
  w(He, mt);
5644
5644
  }, yr = (He) => {
5645
- var mt = he(), zr = oe(mt);
5645
+ var mt = ve(), zr = oe(mt);
5646
5646
  {
5647
5647
  var Sr = (Ze) => {
5648
5648
  var Et = Wu();
@@ -5674,17 +5674,17 @@ function oa(t, e) {
5674
5674
  N(
5675
5675
  Lt,
5676
5676
  (Ue) => {
5677
- p(O).title.split(".").pop() === "xlsx" ? Ue(wr) : Ue(_r, !1);
5677
+ p(O).title.split(".").pop() === "xlsx" ? Ue(un) : Ue(dn, !1);
5678
5678
  },
5679
5679
  !0
5680
5680
  );
5681
5681
  }
5682
- w($e, Ee);
5682
+ w($e, Te);
5683
5683
  };
5684
5684
  N(
5685
- mr,
5685
+ wr,
5686
5686
  ($e) => {
5687
- p(O).title.split(".").pop() === "docx" ? $e(br) : $e(Rn, !1);
5687
+ p(O).title.split(".").pop() === "docx" ? $e(_r) : $e(On, !1);
5688
5688
  },
5689
5689
  !0
5690
5690
  );
@@ -5699,15 +5699,15 @@ function oa(t, e) {
5699
5699
  !0
5700
5700
  );
5701
5701
  }
5702
- w(K, we);
5702
+ w(K, ue);
5703
5703
  };
5704
5704
  N($t, (K) => {
5705
5705
  p(O).isCommon ? K(P) : K(M, !1);
5706
5706
  });
5707
5707
  }
5708
5708
  T(st);
5709
- var ze = H(st, 2), be = I(ze), Se = I(be, !0);
5710
- T(be), T(ze), T(Fe), L((K) => ut(Se, K), [
5709
+ var ze = H(st, 2), pe = I(ze), Se = I(pe, !0);
5710
+ T(pe), T(ze), T(Fe), L((K) => ut(Se, K), [
5711
5711
  () => p(O).isCommon ? p(O).title.split(".")[0] : p(O).title
5712
5712
  ]), w(Re, Fe);
5713
5713
  }), T(ye), w(ce, ye);
@@ -5715,27 +5715,27 @@ function oa(t, e) {
5715
5715
  N(
5716
5716
  xe,
5717
5717
  (ce) => {
5718
- p(s).length === 0 ? ce(me) : ce(ke, !1);
5718
+ p(s).length === 0 ? ce(we) : ce(ke, !1);
5719
5719
  },
5720
5720
  !0
5721
5721
  );
5722
5722
  }
5723
- w(fe, Te);
5723
+ w(he, Ee);
5724
5724
  };
5725
5725
  N(
5726
- ve,
5727
- (fe) => {
5728
- i() ? fe(de) : fe(Ie, !1);
5726
+ me,
5727
+ (he) => {
5728
+ i() ? he(fe) : he(Ie, !1);
5729
5729
  },
5730
5730
  !0
5731
5731
  );
5732
5732
  }
5733
- w(se, ue);
5733
+ w(se, de);
5734
5734
  };
5735
5735
  N(
5736
5736
  U,
5737
5737
  (se) => {
5738
- p(o).length < 3 ? se(ge) : se(_e, !1);
5738
+ p(o).length < 3 ? se(be) : se(_e, !1);
5739
5739
  },
5740
5740
  !0
5741
5741
  );
@@ -5743,11 +5743,11 @@ function oa(t, e) {
5743
5743
  w(q, D);
5744
5744
  };
5745
5745
  N(R, (q) => {
5746
- p(l) ? q(B) : q(te, !1);
5746
+ p(l) ? q(Y) : q(te, !1);
5747
5747
  });
5748
5748
  }
5749
5749
  return T(F), T(C), T(b), T(h), L(() => {
5750
- ut(y, `Cerca ${(i() ? "Normative" : "Documenti") ?? ""}`), Y(k, "placeholder", `Cerca ${(i() ? "Normative" : "Documenti") ?? ""} (min 3 caratteri)...`), ol(k, p(o));
5750
+ ut(y, `Cerca ${(i() ? "Normative" : "Documenti") ?? ""}`), B(k, "placeholder", `Cerca ${(i() ? "Normative" : "Documenti") ?? ""} (min 3 caratteri)...`), ol(k, p(o));
5751
5751
  }), w(t, h), G({
5752
5752
  get attachments() {
5753
5753
  return n();
@@ -5790,7 +5790,7 @@ var rd = (t, e) => {
5790
5790
  z(e, !1);
5791
5791
  }, ad = /* @__PURE__ */ S('<button class="remove-btn svelte-12zt47u" aria-label="Remove Normative"><i class="fa-solid fa-xmark svelte-12zt47u"></i></button>'), od = /* @__PURE__ */ S('<div class="attachment-item svelte-12zt47u" aria-label="Toggle Normative" title="Normative" style="background-color: #28853d;"><i class="fa-solid fa-book-open"></i> <span class="attachment-title svelte-12zt47u">Normative</span> <!></div>'), ld = (t, e) => {
5792
5792
  z(e, !1);
5793
- }, cd = /* @__PURE__ */ S('<button class="remove-btn svelte-12zt47u" aria-label="Remove Knowledge Base"><i class="fa-solid fa-xmark svelte-12zt47u"></i></button>'), ud = /* @__PURE__ */ S('<div class="attachment-item svelte-12zt47u" aria-label="Toggle Knowledge Base" title="Knowledge Base" style="background-color: #295dcf;"><i class="fa-solid fa-book"></i> <span class="attachment-title svelte-12zt47u">KB</span> <!></div>'), dd = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), fd = /* @__PURE__ */ S('<i class="fa-solid fa-file-pdf svelte-12zt47u"></i>'), hd = /* @__PURE__ */ S('<i class="fa-solid fa-file-word svelte-12zt47u"></i>'), pd = /* @__PURE__ */ S('<i class="fa-solid fa-file-excel svelte-12zt47u"></i>'), vd = /* @__PURE__ */ S('<i class="fa-solid fa-file-powerpoint svelte-12zt47u"></i>'), gd = /* @__PURE__ */ S('<i class="fa-solid fa-passport svelte-12zt47u"></i>'), md = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), bd = /* @__PURE__ */ S('<div class="attachment-title noopen-file-button svelte-12zt47u" title="Documento comune"> </div>'), wd = (t, e, n, r, i) => {
5793
+ }, cd = /* @__PURE__ */ S('<button class="remove-btn svelte-12zt47u" aria-label="Remove Knowledge Base"><i class="fa-solid fa-xmark svelte-12zt47u"></i></button>'), ud = /* @__PURE__ */ S('<div class="attachment-item svelte-12zt47u" aria-label="Toggle Knowledge Base" title="Knowledge Base" style="background-color: #295dcf;"><i class="fa-solid fa-book"></i> <span class="attachment-title svelte-12zt47u">KB</span> <!></div>'), dd = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), fd = /* @__PURE__ */ S('<i class="fa-solid fa-file-pdf svelte-12zt47u"></i>'), hd = /* @__PURE__ */ S('<i class="fa-solid fa-file-word svelte-12zt47u"></i>'), pd = /* @__PURE__ */ S('<i class="fa-solid fa-file-excel svelte-12zt47u"></i>'), vd = /* @__PURE__ */ S('<i class="fa-solid fa-file-powerpoint svelte-12zt47u"></i>'), gd = /* @__PURE__ */ S('<i class="fa-solid fa-passport svelte-12zt47u"></i>'), md = /* @__PURE__ */ S('<i class="fa-solid fa-file svelte-12zt47u"></i>'), bd = /* @__PURE__ */ S('<div class="attachment-title noopen-file-button svelte-12zt47u"> </div>'), wd = (t, e, n, r, i) => {
5794
5794
  e(n(), r(), i());
5795
5795
  }, _d = /* @__PURE__ */ S("<button> </button>"), xd = (t, e, n) => {
5796
5796
  delete p(e)[n()];
@@ -5845,126 +5845,126 @@ function la(t, e) {
5845
5845
  }, x = () => {
5846
5846
  z(R, !1);
5847
5847
  }, k = () => {
5848
- z(B, !0);
5848
+ z(Y, !0);
5849
5849
  }, F = async (P, M, ze) => {
5850
- await zn.getDocumentPage(P, M, ze);
5850
+ await $n.getDocumentPage(P, M, ze);
5851
5851
  };
5852
- let R = re(!1), B = re(!1);
5852
+ let R = re(!1), Y = re(!1);
5853
5853
  qt(() => {
5854
5854
  Object.keys(p(o)).length > 0 && (p(a) || z(l, !0));
5855
5855
  });
5856
5856
  var te = $d(), q = oe(te), D = I(q), U = I(D);
5857
5857
  Xo(U), U.__keyup = [rd, y], T(D);
5858
- var ge = H(D, 2), _e = I(ge), se = I(_e), ue = I(se);
5859
- ue.__click = [nd, R];
5860
- var ve = H(ue, 2);
5858
+ var be = H(D, 2), _e = I(be), se = I(_e), de = I(se);
5859
+ de.__click = [nd, R];
5860
+ var me = H(de, 2);
5861
5861
  {
5862
- var de = (P) => {
5862
+ var fe = (P) => {
5863
5863
  var M = id(), ze = I(M);
5864
5864
  ze.__click = function(...Ve) {
5865
5865
  var We;
5866
5866
  (We = p(a) ? () => {
5867
5867
  } : C) == null || We.apply(this, Ve);
5868
5868
  };
5869
- var be = H(ze, 2);
5870
- be.__click = function(...Ve) {
5869
+ var pe = H(ze, 2);
5870
+ pe.__click = function(...Ve) {
5871
5871
  var We;
5872
5872
  (We = p(l) ? () => {
5873
5873
  } : E) == null || We.apply(this, Ve);
5874
5874
  };
5875
- var Se = H(be, 2), K = /* @__PURE__ */ Kt(() => Object.keys(p(o)).length < 2 ? _ : () => {
5875
+ var Se = H(pe, 2), K = /* @__PURE__ */ Kt(() => Object.keys(p(o)).length < 2 ? _ : () => {
5876
5876
  });
5877
5877
  Se.__click = function(...Ve) {
5878
5878
  var We;
5879
5879
  (We = p(K)) == null || We.apply(this, Ve);
5880
5880
  };
5881
- var we = H(I(Se), 2), rt = I(we);
5882
- T(we), T(Se), T(M), L(
5881
+ var ue = H(I(Se), 2), rt = I(ue);
5882
+ T(ue), T(Se), T(M), L(
5883
5883
  (Ve) => {
5884
- Oe(ze, `${`dropdown-option ${p(a) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(be, `${`dropdown-option ${p(l) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(Se, `${Ve ?? ""} svelte-12zt47u`), ut(rt, `Scegli ${(p(a) ? "Normativa" : "File") ?? ""}`);
5884
+ Oe(ze, `${`dropdown-option ${p(a) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(pe, `${`dropdown-option ${p(l) ? "option-disabled" : ""}` ?? ""} svelte-12zt47u`), Oe(Se, `${Ve ?? ""} svelte-12zt47u`), ut(rt, `Scegli ${(p(a) ? "Normativa" : "File") ?? ""}`);
5885
5885
  },
5886
5886
  [
5887
5887
  () => `dropdown-option ${Object.keys(p(o)).length < 2 ? "" : "option-disabled"}`
5888
5888
  ]
5889
5889
  ), w(P, M);
5890
5890
  };
5891
- N(ve, (P) => {
5892
- p(R) && P(de);
5891
+ N(me, (P) => {
5892
+ p(R) && P(fe);
5893
5893
  });
5894
5894
  }
5895
5895
  T(se);
5896
- var Ie = H(se, 2), fe = I(Ie);
5896
+ var Ie = H(se, 2), he = I(Ie);
5897
5897
  {
5898
- var Te = (P) => {
5898
+ var Ee = (P) => {
5899
5899
  var M = od(), ze = H(I(M), 4);
5900
5900
  {
5901
- var be = (Se) => {
5901
+ var pe = (Se) => {
5902
5902
  var K = ad();
5903
5903
  K.__click = [sd, a], w(Se, K);
5904
5904
  };
5905
5905
  N(ze, (Se) => {
5906
- Object.keys(p(o)).length === 0 && Se(be);
5906
+ Object.keys(p(o)).length === 0 && Se(pe);
5907
5907
  });
5908
5908
  }
5909
5909
  T(M), w(P, M);
5910
5910
  };
5911
- N(fe, (P) => {
5912
- p(a) && P(Te);
5911
+ N(he, (P) => {
5912
+ p(a) && P(Ee);
5913
5913
  });
5914
5914
  }
5915
- var xe = H(fe, 2);
5915
+ var xe = H(he, 2);
5916
5916
  {
5917
- var me = (P) => {
5917
+ var we = (P) => {
5918
5918
  var M = ud(), ze = H(I(M), 4);
5919
5919
  {
5920
- var be = (Se) => {
5920
+ var pe = (Se) => {
5921
5921
  var K = cd();
5922
5922
  K.__click = [ld, l], w(Se, K);
5923
5923
  };
5924
5924
  N(ze, (Se) => {
5925
- Object.keys(p(o)).length === 0 && Se(be);
5925
+ Object.keys(p(o)).length === 0 && Se(pe);
5926
5926
  });
5927
5927
  }
5928
5928
  T(M), w(P, M);
5929
5929
  };
5930
5930
  N(xe, (P) => {
5931
- p(l) && P(me);
5931
+ p(l) && P(we);
5932
5932
  });
5933
5933
  }
5934
5934
  var ke = H(xe, 2);
5935
5935
  je(ke, 17, () => Object.entries(p(o)), Ae, (P, M) => {
5936
- let ze = () => p(M)[0], be = () => p(M)[1].title, Se = () => p(M)[1].ext_id, K = () => p(M)[1].gendoc_id, we = () => p(M)[1].isCommon;
5936
+ let ze = () => p(M)[0], pe = () => p(M)[1].title, Se = () => p(M)[1].ext_id, K = () => p(M)[1].gendoc_id, ue = () => p(M)[1].isCommon;
5937
5937
  var rt = kd(), Ve = I(rt);
5938
5938
  {
5939
5939
  var We = ($e) => {
5940
- var Ee = dd();
5941
- w($e, Ee);
5940
+ var Te = dd();
5941
+ w($e, Te);
5942
5942
  }, Tt = ($e) => {
5943
- var Ee = he(), Lt = oe(Ee);
5943
+ var Te = ve(), Lt = oe(Te);
5944
5944
  {
5945
- var wr = (Ue) => {
5945
+ var un = (Ue) => {
5946
5946
  var gt = fd();
5947
5947
  w(Ue, gt);
5948
- }, _r = (Ue) => {
5949
- var gt = he(), xr = oe(gt);
5948
+ }, dn = (Ue) => {
5949
+ var gt = ve(), xr = oe(gt);
5950
5950
  {
5951
5951
  var kr = (He) => {
5952
5952
  var mt = hd();
5953
5953
  w(He, mt);
5954
5954
  }, yr = (He) => {
5955
- var mt = he(), zr = oe(mt);
5955
+ var mt = ve(), zr = oe(mt);
5956
5956
  {
5957
5957
  var Sr = (Ze) => {
5958
5958
  var Et = pd();
5959
5959
  w(Ze, Et);
5960
5960
  }, $r = (Ze) => {
5961
- var Et = he(), Oa = oe(Et);
5961
+ var Et = ve(), Oa = oe(Et);
5962
5962
  {
5963
5963
  var Pa = (Ht) => {
5964
- var Ln = vd();
5965
- w(Ht, Ln);
5964
+ var Pn = vd();
5965
+ w(Ht, Pn);
5966
5966
  }, Fa = (Ht) => {
5967
- var Ln = he(), qa = oe(Ln);
5967
+ var Pn = ve(), qa = oe(Pn);
5968
5968
  {
5969
5969
  var Da = (Zt) => {
5970
5970
  var Tr = gd();
@@ -5976,17 +5976,17 @@ function la(t, e) {
5976
5976
  N(
5977
5977
  qa,
5978
5978
  (Zt) => {
5979
- be().split(".").pop() === "akd" ? Zt(Da) : Zt(Ma, !1);
5979
+ pe().split(".").pop() === "akd" ? Zt(Da) : Zt(Ma, !1);
5980
5980
  },
5981
5981
  !0
5982
5982
  );
5983
5983
  }
5984
- w(Ht, Ln);
5984
+ w(Ht, Pn);
5985
5985
  };
5986
5986
  N(
5987
5987
  Oa,
5988
5988
  (Ht) => {
5989
- be().split(".").pop() === "pptx" ? Ht(Pa) : Ht(Fa, !1);
5989
+ pe().split(".").pop() === "pptx" ? Ht(Pa) : Ht(Fa, !1);
5990
5990
  },
5991
5991
  !0
5992
5992
  );
@@ -5996,7 +5996,7 @@ function la(t, e) {
5996
5996
  N(
5997
5997
  zr,
5998
5998
  (Ze) => {
5999
- be().split(".").pop() === "xlsx" ? Ze(Sr) : Ze($r, !1);
5999
+ pe().split(".").pop() === "xlsx" ? Ze(Sr) : Ze($r, !1);
6000
6000
  },
6001
6001
  !0
6002
6002
  );
@@ -6006,7 +6006,7 @@ function la(t, e) {
6006
6006
  N(
6007
6007
  xr,
6008
6008
  (He) => {
6009
- be().split(".").pop() === "docx" ? He(kr) : He(yr, !1);
6009
+ pe().split(".").pop() === "docx" ? He(kr) : He(yr, !1);
6010
6010
  },
6011
6011
  !0
6012
6012
  );
@@ -6016,41 +6016,49 @@ function la(t, e) {
6016
6016
  N(
6017
6017
  Lt,
6018
6018
  (Ue) => {
6019
- be().split(".").pop() === "pdf" ? Ue(wr) : Ue(_r, !1);
6019
+ pe().split(".").pop() === "pdf" ? Ue(un) : Ue(dn, !1);
6020
6020
  },
6021
6021
  !0
6022
6022
  );
6023
6023
  }
6024
- w($e, Ee);
6024
+ w($e, Te);
6025
6025
  };
6026
6026
  N(Ve, ($e) => {
6027
- p(a) ? $e(We) : $e(Tt, !1);
6027
+ ue() ? $e(We) : $e(Tt, !1);
6028
6028
  });
6029
6029
  }
6030
6030
  var Rt = H(Ve, 2);
6031
6031
  {
6032
- var mr = ($e) => {
6033
- var Ee = bd(), Lt = I(Ee, !0);
6034
- T(Ee), L(() => ut(Lt, be())), w($e, Ee);
6035
- }, br = ($e) => {
6036
- var Ee = _d();
6037
- Oe(Ee, "attachment-title open-file-button svelte-12zt47u"), Ee.__click = [
6032
+ var wr = ($e) => {
6033
+ var Te = bd(), Lt = I(Te, !0);
6034
+ T(Te), L(
6035
+ (un, dn) => {
6036
+ B(Te, "title", un), ut(Lt, dn);
6037
+ },
6038
+ [
6039
+ () => ue() ? pe().split(".")[0] : pe(),
6040
+ () => pe().split(".")[0]
6041
+ ]
6042
+ ), w($e, Te);
6043
+ }, _r = ($e) => {
6044
+ var Te = _d();
6045
+ Oe(Te, "attachment-title open-file-button svelte-12zt47u"), Te.__click = [
6038
6046
  wd,
6039
6047
  F,
6040
6048
  Se,
6041
- be,
6049
+ pe,
6042
6050
  K
6043
6051
  ];
6044
- var Lt = I(Ee, !0);
6045
- T(Ee), L(() => ut(Lt, be())), w($e, Ee);
6052
+ var Lt = I(Te, !0);
6053
+ T(Te), L(() => ut(Lt, pe())), w($e, Te);
6046
6054
  };
6047
6055
  N(Rt, ($e) => {
6048
- we() ? $e(mr) : $e(br, !1);
6056
+ ue() ? $e(wr) : $e(_r, !1);
6049
6057
  });
6050
6058
  }
6051
- var Rn = H(Rt, 2);
6052
- Rn.__click = [xd, o, ze], T(rt), L(() => {
6053
- Oe(rt, `${`attachment-item ${we() ? "common" : ""}` ?? ""} svelte-12zt47u`), Y(rt, "title", be()), Oe(Rn, `${`remove-btn ${we() ? "common" : ""}` ?? ""} svelte-12zt47u`);
6059
+ var On = H(Rt, 2);
6060
+ On.__click = [xd, o, ze], T(rt), L(() => {
6061
+ Oe(rt, `${`attachment-item ${ue() ? "common" : ""}` ?? ""} svelte-12zt47u`), B(rt, "title", ue() ? p(a) ? "Normativa" : "Documento comune" : pe()), Oe(On, `${`remove-btn ${ue() ? "common" : ""}` ?? ""} svelte-12zt47u`);
6054
6062
  }), w(P, rt);
6055
6063
  }), T(Ie), na(Ie, (P) => h = P, () => h);
6056
6064
  var ce = H(Ie, 2), ye = I(ce);
@@ -6059,19 +6067,19 @@ function la(t, e) {
6059
6067
  var M = yd();
6060
6068
  M.__click = $, w(P, M);
6061
6069
  }, O = (P) => {
6062
- var M = he(), ze = oe(M);
6070
+ var M = ve(), ze = oe(M);
6063
6071
  {
6064
- var be = (K) => {
6065
- var we = zd(), rt = I(we);
6066
- bi(rt, { size: "20", color: "white" }), T(we), L(() => Oe(we, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`)), w(K, we);
6072
+ var pe = (K) => {
6073
+ var ue = zd(), rt = I(ue);
6074
+ bi(rt, { size: "20", color: "white" }), T(ue), L(() => Oe(ue, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`)), w(K, ue);
6067
6075
  }, Se = (K) => {
6068
- var we = Sd();
6069
- we.__click = m, L(() => Oe(we, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`)), w(K, we);
6076
+ var ue = Sd();
6077
+ ue.__click = m, L(() => Oe(ue, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`)), w(K, ue);
6070
6078
  };
6071
6079
  N(
6072
6080
  ze,
6073
6081
  (K) => {
6074
- p(f) ? K(be) : K(Se, !1);
6082
+ p(f) ? K(pe) : K(Se, !1);
6075
6083
  },
6076
6084
  !0
6077
6085
  );
@@ -6083,7 +6091,7 @@ function la(t, e) {
6083
6091
  });
6084
6092
  }
6085
6093
  var Fe = H(ye, 2);
6086
- Fe.__click = y, T(ce), T(_e), T(ge), T(q);
6094
+ Fe.__click = y, T(ce), T(_e), T(be), T(q);
6087
6095
  var st = H(q, 2);
6088
6096
  {
6089
6097
  var $t = (P) => {
@@ -6095,10 +6103,10 @@ function la(t, e) {
6095
6103
  z(o, j(M));
6096
6104
  },
6097
6105
  get showDocumentSearchModal() {
6098
- return p(B);
6106
+ return p(Y);
6099
6107
  },
6100
6108
  set showDocumentSearchModal(M) {
6101
- z(B, j(M));
6109
+ z(Y, j(M));
6102
6110
  },
6103
6111
  get normativeSelected() {
6104
6112
  return p(a);
@@ -6109,12 +6117,12 @@ function la(t, e) {
6109
6117
  });
6110
6118
  };
6111
6119
  N(st, (P) => {
6112
- p(B) && P($t);
6120
+ p(Y) && P($t);
6113
6121
  });
6114
6122
  }
6115
6123
  return L(() => {
6116
- Oe(ue, `${`btn aks-btn-answer aks-btn-rounded ${p(R) ? "aks-btn-ans-selected" : ""}` ?? ""} svelte-12zt47u`), Oe(Fe, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`);
6117
- }), pl(U, () => p(s), (P) => z(s, P)), Qo("wheel", Ie, b), An(3, q, () => hi, () => ({ duration: 300, delay: 200 })), w(t, te), G({
6124
+ Oe(de, `${`btn aks-btn-answer aks-btn-rounded ${p(R) ? "aks-btn-ans-selected" : ""}` ?? ""} svelte-12zt47u`), Oe(Fe, `${`btn aks-btn-answer send-button ${p(a) ? "normative" : ""}` ?? ""} svelte-12zt47u`);
6125
+ }), pl(U, () => p(s), (P) => z(s, P)), Qo("wheel", Ie, b), Rn(3, q, () => hi, () => ({ duration: 300, delay: 200 })), w(t, te), G({
6118
6126
  get sendMessage() {
6119
6127
  return n();
6120
6128
  },
@@ -6147,7 +6155,7 @@ V(
6147
6155
  [],
6148
6156
  !0
6149
6157
  );
6150
- const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
6158
+ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, vr = (t, e, n, r = "") => {
6151
6159
  const i = t.split(":");
6152
6160
  if (t.slice(0, 1) === "@") {
6153
6161
  if (i.length < 2 || i.length > 3)
@@ -6163,7 +6171,7 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
6163
6171
  prefix: o,
6164
6172
  name: l
6165
6173
  };
6166
- return e && !Nn(c) ? null : c;
6174
+ return e && !Yn(c) ? null : c;
6167
6175
  }
6168
6176
  const s = i[0], a = s.split("-");
6169
6177
  if (a.length > 1) {
@@ -6172,7 +6180,7 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
6172
6180
  prefix: a.shift(),
6173
6181
  name: a.join("-")
6174
6182
  };
6175
- return e && !Nn(l) ? null : l;
6183
+ return e && !Yn(l) ? null : l;
6176
6184
  }
6177
6185
  if (n && r === "") {
6178
6186
  const l = {
@@ -6180,10 +6188,10 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
6180
6188
  prefix: "",
6181
6189
  name: s
6182
6190
  };
6183
- return e && !Nn(l, n) ? null : l;
6191
+ return e && !Yn(l, n) ? null : l;
6184
6192
  }
6185
6193
  return null;
6186
- }, Nn = (t, e) => t ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
6194
+ }, Yn = (t, e) => t ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
6187
6195
  // Check name: cannot be empty
6188
6196
  ((e && t.prefix === "" || t.prefix) && t.name) : !1, ua = Object.freeze(
6189
6197
  {
@@ -6192,15 +6200,15 @@ const ca = /^[a-z0-9]+(-[a-z0-9]+)*$/, hr = (t, e, n, r = "") => {
6192
6200
  width: 16,
6193
6201
  height: 16
6194
6202
  }
6195
- ), er = Object.freeze({
6203
+ ), nr = Object.freeze({
6196
6204
  rotate: 0,
6197
6205
  vFlip: !1,
6198
6206
  hFlip: !1
6199
- }), pr = Object.freeze({
6207
+ }), gr = Object.freeze({
6200
6208
  ...ua,
6201
- ...er
6209
+ ...nr
6202
6210
  }), Jr = Object.freeze({
6203
- ...pr,
6211
+ ...gr,
6204
6212
  body: "",
6205
6213
  hidden: !1
6206
6214
  });
@@ -6213,7 +6221,7 @@ function Ed(t, e) {
6213
6221
  function Gi(t, e) {
6214
6222
  const n = Ed(t, e);
6215
6223
  for (const r in Jr)
6216
- r in er ? r in t && !(r in n) && (n[r] = er[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
6224
+ r in nr ? r in t && !(r in n) && (n[r] = nr[r]) : r in e ? n[r] = e[r] : r in t && (n[r] = t[r]);
6217
6225
  return n;
6218
6226
  }
6219
6227
  function Cd(t, e) {
@@ -6329,19 +6337,19 @@ function Rd(t, e, n) {
6329
6337
  }
6330
6338
  return !1;
6331
6339
  }
6332
- let Sn = !1;
6340
+ let Tn = !1;
6333
6341
  function pa(t) {
6334
- return typeof t == "boolean" && (Sn = t), Sn;
6342
+ return typeof t == "boolean" && (Tn = t), Tn;
6335
6343
  }
6336
6344
  function Ld(t) {
6337
- const e = typeof t == "string" ? hr(t, !0, Sn) : t;
6345
+ const e = typeof t == "string" ? vr(t, !0, Tn) : t;
6338
6346
  if (e) {
6339
6347
  const n = tn(e.provider, e.prefix), r = e.name;
6340
6348
  return n.icons[r] || (n.missing.has(r) ? null : void 0);
6341
6349
  }
6342
6350
  }
6343
6351
  function Od(t, e) {
6344
- const n = hr(t, !0, Sn);
6352
+ const n = vr(t, !0, Tn);
6345
6353
  if (!n)
6346
6354
  return !1;
6347
6355
  const r = tn(n.provider, n.prefix);
@@ -6350,14 +6358,14 @@ function Od(t, e) {
6350
6358
  function Pd(t, e) {
6351
6359
  if (typeof t != "object")
6352
6360
  return !1;
6353
- if (typeof e != "string" && (e = t.provider || ""), Sn && !e && !t.prefix) {
6361
+ if (typeof e != "string" && (e = t.provider || ""), Tn && !e && !t.prefix) {
6354
6362
  let i = !1;
6355
6363
  return fa(t) && (t.prefix = "", da(t, (s, a) => {
6356
6364
  Od(s, a) && (i = !0);
6357
6365
  })), i;
6358
6366
  }
6359
6367
  const n = t.prefix;
6360
- if (!Nn({
6368
+ if (!Yn({
6361
6369
  provider: e,
6362
6370
  prefix: n,
6363
6371
  name: "a"
@@ -6373,7 +6381,7 @@ const va = Object.freeze({
6373
6381
  // Dimensions
6374
6382
  ...va,
6375
6383
  // Transformations
6376
- ...er
6384
+ ...nr
6377
6385
  }), Fd = /(-?[0-9.]*[0-9]+[0-9.]*)/g, qd = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
6378
6386
  function Vi(t, e, n) {
6379
6387
  if (e === 1)
@@ -6425,7 +6433,7 @@ function Nd(t, e, n) {
6425
6433
  const Bd = (t) => t === "unset" || t === "undefined" || t === "none";
6426
6434
  function Yd(t, e) {
6427
6435
  const n = {
6428
- ...pr,
6436
+ ...gr,
6429
6437
  ...t
6430
6438
  }, r = {
6431
6439
  ...ga,
@@ -6535,14 +6543,14 @@ function wi(t) {
6535
6543
  dataAfterTimeout: t.dataAfterTimeout !== !1
6536
6544
  };
6537
6545
  }
6538
- const _i = /* @__PURE__ */ Object.create(null), dn = [
6546
+ const _i = /* @__PURE__ */ Object.create(null), hn = [
6539
6547
  "https://api.simplesvg.com",
6540
6548
  "https://api.unisvg.com"
6541
- ], Bn = [];
6542
- for (; dn.length > 0; )
6543
- dn.length === 1 || Math.random() > 0.5 ? Bn.push(dn.shift()) : Bn.push(dn.pop());
6549
+ ], Un = [];
6550
+ for (; hn.length > 0; )
6551
+ hn.length === 1 || Math.random() > 0.5 ? Un.push(hn.shift()) : Un.push(hn.pop());
6544
6552
  _i[""] = wi({
6545
- resources: ["https://api.iconify.design"].concat(Bn)
6553
+ resources: ["https://api.iconify.design"].concat(Un)
6546
6554
  });
6547
6555
  function Vd(t, e) {
6548
6556
  const n = wi(e);
@@ -6744,7 +6752,7 @@ function of(t, e, n) {
6744
6752
  function lf(t, e = !0, n = !1) {
6745
6753
  const r = [];
6746
6754
  return t.forEach((i) => {
6747
- const s = typeof i == "string" ? hr(i, e, n) : i;
6755
+ const s = typeof i == "string" ? vr(i, e, n) : i;
6748
6756
  s && r.push(s);
6749
6757
  }), r;
6750
6758
  }
@@ -6804,12 +6812,12 @@ function uf(t, e, n, r) {
6804
6812
  }), f = [];
6805
6813
  }
6806
6814
  function E(k, F, R) {
6807
- const B = F !== "success";
6815
+ const Y = F !== "success";
6808
6816
  switch (f = f.filter((te) => te !== k), o) {
6809
6817
  case "pending":
6810
6818
  break;
6811
6819
  case "failed":
6812
- if (B || !t.dataAfterTimeout)
6820
+ if (Y || !t.dataAfterTimeout)
6813
6821
  return;
6814
6822
  break;
6815
6823
  default:
@@ -6819,7 +6827,7 @@ function uf(t, e, n, r) {
6819
6827
  u = R, _();
6820
6828
  return;
6821
6829
  }
6822
- if (B) {
6830
+ if (Y) {
6823
6831
  u = R, f.length || (a.length ? x() : _());
6824
6832
  return;
6825
6833
  }
@@ -6849,8 +6857,8 @@ function uf(t, e, n, r) {
6849
6857
  const F = {
6850
6858
  status: "pending",
6851
6859
  resource: k,
6852
- callback: (R, B) => {
6853
- E(F, R, B);
6860
+ callback: (R, Y) => {
6861
+ E(F, R, Y);
6854
6862
  }
6855
6863
  };
6856
6864
  f.push(F), c++, d = setTimeout(x, t.rotate), n(k, e, F.callback);
@@ -6941,7 +6949,7 @@ function pf(t) {
6941
6949
  invalid: n
6942
6950
  };
6943
6951
  }
6944
- function fn(t, e, n) {
6952
+ function pn(t, e, n) {
6945
6953
  function r() {
6946
6954
  const i = t.pendingIcons;
6947
6955
  e.forEach((s) => {
@@ -6977,7 +6985,7 @@ function vf(t, e) {
6977
6985
  Ki(
6978
6986
  t.loadIcons(i, r, n),
6979
6987
  (u) => {
6980
- fn(t, i, u);
6988
+ pn(t, i, u);
6981
6989
  }
6982
6990
  );
6983
6991
  return;
@@ -6992,22 +7000,22 @@ function vf(t, e) {
6992
7000
  [u]: f
6993
7001
  }
6994
7002
  } : null;
6995
- fn(t, [u], h);
7003
+ pn(t, [u], h);
6996
7004
  });
6997
7005
  });
6998
7006
  return;
6999
7007
  }
7000
7008
  const { valid: a, invalid: l } = pf(i);
7001
- if (l.length && fn(t, l, null), !a.length)
7009
+ if (l.length && pn(t, l, null), !a.length)
7002
7010
  return;
7003
7011
  const o = r.match(ca) ? Wr(n) : null;
7004
7012
  if (!o) {
7005
- fn(t, a, null);
7013
+ pn(t, a, null);
7006
7014
  return;
7007
7015
  }
7008
7016
  o.prepare(n, r, a).forEach((u) => {
7009
7017
  ff(n, u, (d) => {
7010
- fn(t, u.icons, d);
7018
+ pn(t, u.icons, d);
7011
7019
  });
7012
7020
  });
7013
7021
  }));
@@ -7244,9 +7252,9 @@ function Cf(t, e, n, r, i) {
7244
7252
  e.loading && (e.loading.abort(), e.loading = null);
7245
7253
  }
7246
7254
  if (typeof t == "object" && t !== null && typeof t.body == "string")
7247
- return e.name = "", s(), { data: { ...pr, ...t } };
7255
+ return e.name = "", s(), { data: { ...gr, ...t } };
7248
7256
  let a;
7249
- if (typeof t != "string" || (a = hr(t, !1, !0)) === null)
7257
+ if (typeof t != "string" || (a = vr(t, !1, !0)) === null)
7250
7258
  return s(), null;
7251
7259
  const l = Ld(a);
7252
7260
  if (!l)
@@ -7260,12 +7268,12 @@ function Cf(t, e, n, r, i) {
7260
7268
  }
7261
7269
  function rs(t, e) {
7262
7270
  return t ? Ef({
7263
- ...pr,
7271
+ ...gr,
7264
7272
  ...t
7265
7273
  }, e) : null;
7266
7274
  }
7267
7275
  var If = /* @__PURE__ */ Ko("<svg><!></svg>"), Af = /* @__PURE__ */ S("<span></span>");
7268
- function $n(t, e) {
7276
+ function En(t, e) {
7269
7277
  const n = zl(e, [
7270
7278
  "children",
7271
7279
  "$$slots",
@@ -7293,18 +7301,18 @@ function $n(t, e) {
7293
7301
  z(i, !0);
7294
7302
  }), bl(() => {
7295
7303
  Ir(r, p(r).destroyed = !0), p(r).loading && (p(r).loading.abort(), Ir(r, p(r).loading = null));
7296
- }), En(
7304
+ }), In(
7297
7305
  () => (p(s), cn(n), p(i), p(r), p(a), rs),
7298
7306
  () => {
7299
7307
  p(s);
7300
7308
  const f = !!n.ssr || p(i), h = Cf(n.icon, p(r), f, o, l);
7301
7309
  z(a, h ? rs(h.data, n) : null), p(a) && h.classes && Ir(a, p(a).attributes.class = (typeof n.class == "string" ? n.class + " " : "") + h.classes.join(" "));
7302
7310
  }
7303
- ), Cn(), Ye();
7304
- var c = he(), u = oe(c);
7311
+ ), An(), Ye();
7312
+ var c = ve(), u = oe(c);
7305
7313
  {
7306
7314
  var d = (f) => {
7307
- var h = he(), b = oe(h);
7315
+ var h = ve(), b = oe(h);
7308
7316
  {
7309
7317
  var m = (y) => {
7310
7318
  var _ = If();
@@ -7328,7 +7336,7 @@ function $n(t, e) {
7328
7336
  }
7329
7337
  w(t, c), G();
7330
7338
  }
7331
- V($n, {}, [], [], !0);
7339
+ V(En, {}, [], [], !0);
7332
7340
  function ki() {
7333
7341
  return {
7334
7342
  async: !1,
@@ -7347,7 +7355,7 @@ let Ut = ki();
7347
7355
  function _a(t) {
7348
7356
  Ut = t;
7349
7357
  }
7350
- const bn = { exec: () => null };
7358
+ const _n = { exec: () => null };
7351
7359
  function ie(t, e = "") {
7352
7360
  let n = typeof t == "string" ? t : t.source;
7353
7361
  const r = {
@@ -7416,44 +7424,44 @@ const Pe = {
7416
7424
  fencesBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}(?:\`\`\`|~~~)`),
7417
7425
  headingBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}#`),
7418
7426
  htmlBeginRegex: (t) => new RegExp(`^ {0,${Math.min(3, t - 1)}}<(?:[a-z].*>|!--)`, "i")
7419
- }, jf = /^(?:[ \t]*(?:\n|$))+/, Rf = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Lf = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, jn = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Of = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, yi = /(?:[*+-]|\d{1,9}[.)])/, xa = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ka = ie(xa).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Pf = ie(xa).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), zi = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Ff = /^[^\n]+/, Si = /(?!\s*\])(?:\\.|[^\[\]\\])+/, qf = ie(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Si).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Df = ie(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, yi).getRegex(), vr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", $i = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Mf = ie("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", $i).replace("tag", vr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ya = ie(zi).replace("hr", jn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").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", vr).getRegex(), Nf = ie(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ya).getRegex(), Ti = {
7427
+ }, jf = /^(?:[ \t]*(?:\n|$))+/, Rf = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Lf = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ln = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Of = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, yi = /(?:[*+-]|\d{1,9}[.)])/, xa = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ka = ie(xa).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Pf = ie(xa).replace(/bull/g, yi).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), zi = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Ff = /^[^\n]+/, Si = /(?!\s*\])(?:\\.|[^\[\]\\])+/, qf = ie(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Si).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Df = ie(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, yi).getRegex(), mr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", $i = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Mf = ie("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", $i).replace("tag", mr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ya = ie(zi).replace("hr", Ln).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").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", mr).getRegex(), Nf = ie(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ya).getRegex(), Ti = {
7420
7428
  blockquote: Nf,
7421
7429
  code: Rf,
7422
7430
  def: qf,
7423
7431
  fences: Lf,
7424
7432
  heading: Of,
7425
- hr: jn,
7433
+ hr: Ln,
7426
7434
  html: Mf,
7427
7435
  lheading: ka,
7428
7436
  list: Df,
7429
7437
  newline: jf,
7430
7438
  paragraph: ya,
7431
- table: bn,
7439
+ table: _n,
7432
7440
  text: Ff
7433
- }, is = ie("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", jn).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", vr).getRegex(), Bf = {
7441
+ }, is = ie("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ln).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", mr).getRegex(), Bf = {
7434
7442
  ...Ti,
7435
7443
  lheading: Pf,
7436
7444
  table: is,
7437
- paragraph: ie(zi).replace("hr", jn).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", is).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", vr).getRegex()
7445
+ paragraph: ie(zi).replace("hr", Ln).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", is).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", mr).getRegex()
7438
7446
  }, Yf = {
7439
7447
  ...Ti,
7440
7448
  html: ie(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", $i).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(),
7441
7449
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
7442
7450
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
7443
- fences: bn,
7451
+ fences: _n,
7444
7452
  // fences not supported
7445
7453
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
7446
- paragraph: ie(zi).replace("hr", jn).replace("heading", ` *#{1,6} *[^
7454
+ paragraph: ie(zi).replace("hr", Ln).replace("heading", ` *#{1,6} *[^
7447
7455
  ]`).replace("lheading", ka).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
7448
- }, Uf = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Hf = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, za = /^( {2,}|\\)\n(?!\s*$)/, Zf = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, gr = /[\p{P}\p{S}]/u, Ei = /[\s\p{P}\p{S}]/u, Sa = /[^\s\p{P}\p{S}]/u, Gf = ie(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ei).getRegex(), $a = /(?!~)[\p{P}\p{S}]/u, Jf = /(?!~)[\s\p{P}\p{S}]/u, Vf = /(?:[^\s\p{P}\p{S}]|~)/u, Wf = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ta = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Xf = ie(Ta, "u").replace(/punct/g, gr).getRegex(), Qf = ie(Ta, "u").replace(/punct/g, $a).getRegex(), Ea = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kf = ie(Ea, "gu").replace(/notPunctSpace/g, Sa).replace(/punctSpace/g, Ei).replace(/punct/g, gr).getRegex(), eh = ie(Ea, "gu").replace(/notPunctSpace/g, Vf).replace(/punctSpace/g, Jf).replace(/punct/g, $a).getRegex(), th = ie("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Sa).replace(/punctSpace/g, Ei).replace(/punct/g, gr).getRegex(), nh = ie(/\\(punct)/, "gu").replace(/punct/g, gr).getRegex(), rh = ie(/^<(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(), ih = ie($i).replace("(?:-->|$)", "-->").getRegex(), sh = ie("^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", ih).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), tr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, ah = ie(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", tr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ca = ie(/^!?\[(label)\]\[(ref)\]/).replace("label", tr).replace("ref", Si).getRegex(), Ia = ie(/^!?\[(ref)\](?:\[\])?/).replace("ref", Si).getRegex(), oh = ie("reflink|nolink(?!\\()", "g").replace("reflink", Ca).replace("nolink", Ia).getRegex(), Ci = {
7449
- _backpedal: bn,
7456
+ }, Uf = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Hf = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, za = /^( {2,}|\\)\n(?!\s*$)/, Zf = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, br = /[\p{P}\p{S}]/u, Ei = /[\s\p{P}\p{S}]/u, Sa = /[^\s\p{P}\p{S}]/u, Gf = ie(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ei).getRegex(), $a = /(?!~)[\p{P}\p{S}]/u, Jf = /(?!~)[\s\p{P}\p{S}]/u, Vf = /(?:[^\s\p{P}\p{S}]|~)/u, Wf = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Ta = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, Xf = ie(Ta, "u").replace(/punct/g, br).getRegex(), Qf = ie(Ta, "u").replace(/punct/g, $a).getRegex(), Ea = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kf = ie(Ea, "gu").replace(/notPunctSpace/g, Sa).replace(/punctSpace/g, Ei).replace(/punct/g, br).getRegex(), eh = ie(Ea, "gu").replace(/notPunctSpace/g, Vf).replace(/punctSpace/g, Jf).replace(/punct/g, $a).getRegex(), th = ie("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Sa).replace(/punctSpace/g, Ei).replace(/punct/g, br).getRegex(), nh = ie(/\\(punct)/, "gu").replace(/punct/g, br).getRegex(), rh = ie(/^<(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(), ih = ie($i).replace("(?:-->|$)", "-->").getRegex(), sh = ie("^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", ih).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), rr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, ah = ie(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", rr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Ca = ie(/^!?\[(label)\]\[(ref)\]/).replace("label", rr).replace("ref", Si).getRegex(), Ia = ie(/^!?\[(ref)\](?:\[\])?/).replace("ref", Si).getRegex(), oh = ie("reflink|nolink(?!\\()", "g").replace("reflink", Ca).replace("nolink", Ia).getRegex(), Ci = {
7457
+ _backpedal: _n,
7450
7458
  // only used for GFM url
7451
7459
  anyPunctuation: nh,
7452
7460
  autolink: rh,
7453
7461
  blockSkip: Wf,
7454
7462
  br: za,
7455
7463
  code: Hf,
7456
- del: bn,
7464
+ del: _n,
7457
7465
  emStrongLDelim: Xf,
7458
7466
  emStrongRDelimAst: Kf,
7459
7467
  emStrongRDelimUnd: th,
@@ -7465,11 +7473,11 @@ const Pe = {
7465
7473
  reflinkSearch: oh,
7466
7474
  tag: sh,
7467
7475
  text: Zf,
7468
- url: bn
7476
+ url: _n
7469
7477
  }, lh = {
7470
7478
  ...Ci,
7471
- link: ie(/^!?\[(label)\]\((.*?)\)/).replace("label", tr).getRegex(),
7472
- reflink: ie(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", tr).getRegex()
7479
+ link: ie(/^!?\[(label)\]\((.*?)\)/).replace("label", rr).getRegex(),
7480
+ reflink: ie(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", rr).getRegex()
7473
7481
  }, Qr = {
7474
7482
  ...Ci,
7475
7483
  emStrongRDelimAst: eh,
@@ -7482,11 +7490,11 @@ const Pe = {
7482
7490
  ...Qr,
7483
7491
  br: ie(za).replace("{2,}", "*").getRegex(),
7484
7492
  text: ie(Qr.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
7485
- }, Fn = {
7493
+ }, Dn = {
7486
7494
  normal: Ti,
7487
7495
  gfm: Bf,
7488
7496
  pedantic: Yf
7489
- }, hn = {
7497
+ }, vn = {
7490
7498
  normal: Ci,
7491
7499
  gfm: Qr,
7492
7500
  breaks: ch,
@@ -7533,7 +7541,7 @@ function os(t, e) {
7533
7541
  r[i] = r[i].trim().replace(Pe.slashPipe, "|");
7534
7542
  return r;
7535
7543
  }
7536
- function pn(t, e, n) {
7544
+ function gn(t, e, n) {
7537
7545
  const r = t.length;
7538
7546
  if (r === 0)
7539
7547
  return "";
@@ -7592,7 +7600,7 @@ function fh(t, e, n) {
7592
7600
  }).join(`
7593
7601
  `);
7594
7602
  }
7595
- class nr {
7603
+ class ir {
7596
7604
  // set by the lexer
7597
7605
  constructor(e) {
7598
7606
  A(this, "options");
@@ -7617,7 +7625,7 @@ class nr {
7617
7625
  type: "code",
7618
7626
  raw: n[0],
7619
7627
  codeBlockStyle: "indented",
7620
- text: this.options.pedantic ? r : pn(r, `
7628
+ text: this.options.pedantic ? r : gn(r, `
7621
7629
  `)
7622
7630
  };
7623
7631
  }
@@ -7639,7 +7647,7 @@ class nr {
7639
7647
  if (n) {
7640
7648
  let r = n[2].trim();
7641
7649
  if (this.rules.other.endingHash.test(r)) {
7642
- const i = pn(r, "#");
7650
+ const i = gn(r, "#");
7643
7651
  (this.options.pedantic || !i || this.rules.other.endingSpaceChar.test(i)) && (r = i.trim());
7644
7652
  }
7645
7653
  return {
@@ -7656,14 +7664,14 @@ class nr {
7656
7664
  if (n)
7657
7665
  return {
7658
7666
  type: "hr",
7659
- raw: pn(n[0], `
7667
+ raw: gn(n[0], `
7660
7668
  `)
7661
7669
  };
7662
7670
  }
7663
7671
  blockquote(e) {
7664
7672
  const n = this.rules.block.blockquote.exec(e);
7665
7673
  if (n) {
7666
- let r = pn(n[0], `
7674
+ let r = gn(n[0], `
7667
7675
  `).split(`
7668
7676
  `), i = "", s = "";
7669
7677
  const a = [];
@@ -7907,7 +7915,7 @@ ${d}` : d;
7907
7915
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(r)) {
7908
7916
  if (!this.rules.other.endAngleBracket.test(r))
7909
7917
  return;
7910
- const a = pn(r.slice(0, -1), "\\");
7918
+ const a = gn(r.slice(0, -1), "\\");
7911
7919
  if ((r.length - a.length) % 2 === 0)
7912
7920
  return;
7913
7921
  } else {
@@ -8083,25 +8091,25 @@ class Qe {
8083
8091
  A(this, "state");
8084
8092
  A(this, "tokenizer");
8085
8093
  A(this, "inlineQueue");
8086
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Ut, this.options.tokenizer = this.options.tokenizer || new nr(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
8094
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || Ut, this.options.tokenizer = this.options.tokenizer || new ir(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
8087
8095
  inLink: !1,
8088
8096
  inRawBlock: !1,
8089
8097
  top: !0
8090
8098
  };
8091
8099
  const n = {
8092
8100
  other: Pe,
8093
- block: Fn.normal,
8094
- inline: hn.normal
8101
+ block: Dn.normal,
8102
+ inline: vn.normal
8095
8103
  };
8096
- this.options.pedantic ? (n.block = Fn.pedantic, n.inline = hn.pedantic) : this.options.gfm && (n.block = Fn.gfm, this.options.breaks ? n.inline = hn.breaks : n.inline = hn.gfm), this.tokenizer.rules = n;
8104
+ this.options.pedantic ? (n.block = Dn.pedantic, n.inline = vn.pedantic) : this.options.gfm && (n.block = Dn.gfm, this.options.breaks ? n.inline = vn.breaks : n.inline = vn.gfm), this.tokenizer.rules = n;
8097
8105
  }
8098
8106
  /**
8099
8107
  * Expose Rules
8100
8108
  */
8101
8109
  static get rules() {
8102
8110
  return {
8103
- block: Fn,
8104
- inline: hn
8111
+ block: Dn,
8112
+ inline: vn
8105
8113
  };
8106
8114
  }
8107
8115
  /**
@@ -8321,7 +8329,7 @@ class Qe {
8321
8329
  return n;
8322
8330
  }
8323
8331
  }
8324
- class rr {
8332
+ class sr {
8325
8333
  // set by the parser
8326
8334
  constructor(e) {
8327
8335
  A(this, "options");
@@ -8491,7 +8499,7 @@ class Ke {
8491
8499
  A(this, "options");
8492
8500
  A(this, "renderer");
8493
8501
  A(this, "textRenderer");
8494
- this.options = e || Ut, this.options.renderer = this.options.renderer || new rr(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ii();
8502
+ this.options = e || Ut, this.options.renderer = this.options.renderer || new sr(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ii();
8495
8503
  }
8496
8504
  /**
8497
8505
  * Static Parse Method
@@ -8649,7 +8657,7 @@ class Ke {
8649
8657
  return r;
8650
8658
  }
8651
8659
  }
8652
- class wn {
8660
+ class xn {
8653
8661
  constructor(e) {
8654
8662
  A(this, "options");
8655
8663
  A(this, "block");
@@ -8686,7 +8694,7 @@ class wn {
8686
8694
  return this.block ? Ke.parse : Ke.parseInline;
8687
8695
  }
8688
8696
  }
8689
- A(wn, "passThroughHooks", /* @__PURE__ */ new Set([
8697
+ A(xn, "passThroughHooks", /* @__PURE__ */ new Set([
8690
8698
  "preprocess",
8691
8699
  "postprocess",
8692
8700
  "processAllTokens"
@@ -8698,11 +8706,11 @@ class hh {
8698
8706
  A(this, "parse", this.parseMarkdown(!0));
8699
8707
  A(this, "parseInline", this.parseMarkdown(!1));
8700
8708
  A(this, "Parser", Ke);
8701
- A(this, "Renderer", rr);
8709
+ A(this, "Renderer", sr);
8702
8710
  A(this, "TextRenderer", Ii);
8703
8711
  A(this, "Lexer", Qe);
8704
- A(this, "Tokenizer", nr);
8705
- A(this, "Hooks", wn);
8712
+ A(this, "Tokenizer", ir);
8713
+ A(this, "Hooks", xn);
8706
8714
  this.use(...e);
8707
8715
  }
8708
8716
  /**
@@ -8759,7 +8767,7 @@ class hh {
8759
8767
  }
8760
8768
  "childTokens" in s && s.childTokens && (n.childTokens[s.name] = s.childTokens);
8761
8769
  }), i.extensions = n), r.renderer) {
8762
- const s = this.defaults.renderer || new rr(this.defaults);
8770
+ const s = this.defaults.renderer || new sr(this.defaults);
8763
8771
  for (const a in r.renderer) {
8764
8772
  if (!(a in s))
8765
8773
  throw new Error(`renderer '${a}' does not exist`);
@@ -8774,7 +8782,7 @@ class hh {
8774
8782
  i.renderer = s;
8775
8783
  }
8776
8784
  if (r.tokenizer) {
8777
- const s = this.defaults.tokenizer || new nr(this.defaults);
8785
+ const s = this.defaults.tokenizer || new ir(this.defaults);
8778
8786
  for (const a in r.tokenizer) {
8779
8787
  if (!(a in s))
8780
8788
  throw new Error(`tokenizer '${a}' does not exist`);
@@ -8789,14 +8797,14 @@ class hh {
8789
8797
  i.tokenizer = s;
8790
8798
  }
8791
8799
  if (r.hooks) {
8792
- const s = this.defaults.hooks || new wn();
8800
+ const s = this.defaults.hooks || new xn();
8793
8801
  for (const a in r.hooks) {
8794
8802
  if (!(a in s))
8795
8803
  throw new Error(`hook '${a}' does not exist`);
8796
8804
  if (["options", "block"].includes(a))
8797
8805
  continue;
8798
8806
  const l = a, o = r.hooks[l], c = s[l];
8799
- wn.passThroughHooks.has(a) ? s[l] = (u) => {
8807
+ xn.passThroughHooks.has(a) ? s[l] = (u) => {
8800
8808
  if (this.defaults.async)
8801
8809
  return Promise.resolve(o.call(s, u)).then((f) => c.call(s, f));
8802
8810
  const d = o.call(s, u);
@@ -8882,12 +8890,12 @@ ae.walkTokens = function(t, e) {
8882
8890
  ae.parseInline = Dt.parseInline;
8883
8891
  ae.Parser = Ke;
8884
8892
  ae.parser = Ke.parse;
8885
- ae.Renderer = rr;
8893
+ ae.Renderer = sr;
8886
8894
  ae.TextRenderer = Ii;
8887
8895
  ae.Lexer = Qe;
8888
8896
  ae.lexer = Qe.lex;
8889
- ae.Tokenizer = nr;
8890
- ae.Hooks = wn;
8897
+ ae.Tokenizer = ir;
8898
+ ae.Hooks = xn;
8891
8899
  ae.parse = ae;
8892
8900
  ae.options;
8893
8901
  ae.setOptions;
@@ -8910,7 +8918,7 @@ function Aa(t, e) {
8910
8918
  Z(e, !0), X(t, Th);
8911
8919
  let n = g(e, "isDropdownOpen", 15), r = g(e, "attachmentList", 15);
8912
8920
  const i = async (o, c, u) => {
8913
- await zn.getDocumentPage(o, c, u);
8921
+ await $n.getDocumentPage(o, c, u);
8914
8922
  };
8915
8923
  var s = $h(), a = I(s);
8916
8924
  {
@@ -8936,47 +8944,47 @@ function Aa(t, e) {
8936
8944
  ];
8937
8945
  var R = I(F);
8938
8946
  {
8939
- var B = (U) => {
8940
- var ge = gh();
8941
- L(() => Y(ge, "style", k() == "Normativa" ? "color: #28853d" : k() == "Documento Comune" ? "color: #295DCF" : "")), w(U, ge);
8947
+ var Y = (U) => {
8948
+ var be = gh();
8949
+ L(() => B(be, "style", k() == "Normativa" ? "color: #28853d" : k() == "Documento Comune" ? "color: #295DCF" : "")), w(U, be);
8942
8950
  }, te = (U) => {
8943
- var ge = he(), _e = oe(ge);
8951
+ var be = ve(), _e = oe(be);
8944
8952
  {
8945
- var se = (ve) => {
8946
- var de = mh();
8947
- w(ve, de);
8948
- }, ue = (ve) => {
8949
- var de = he(), Ie = oe(de);
8953
+ var se = (me) => {
8954
+ var fe = mh();
8955
+ w(me, fe);
8956
+ }, de = (me) => {
8957
+ var fe = ve(), Ie = oe(fe);
8950
8958
  {
8951
- var fe = (xe) => {
8952
- var me = bh();
8953
- w(xe, me);
8954
- }, Te = (xe) => {
8955
- var me = he(), ke = oe(me);
8959
+ var he = (xe) => {
8960
+ var we = bh();
8961
+ w(xe, we);
8962
+ }, Ee = (xe) => {
8963
+ var we = ve(), ke = oe(we);
8956
8964
  {
8957
8965
  var ce = (Re) => {
8958
8966
  var O = wh();
8959
8967
  w(Re, O);
8960
8968
  }, ye = (Re) => {
8961
- var O = he(), Fe = oe(O);
8969
+ var O = ve(), Fe = oe(O);
8962
8970
  {
8963
8971
  var st = (P) => {
8964
8972
  var M = _h();
8965
8973
  w(P, M);
8966
8974
  }, $t = (P) => {
8967
- var M = he(), ze = oe(M);
8975
+ var M = ve(), ze = oe(M);
8968
8976
  {
8969
- var be = (K) => {
8970
- var we = xh();
8971
- w(K, we);
8977
+ var pe = (K) => {
8978
+ var ue = xh();
8979
+ w(K, ue);
8972
8980
  }, Se = (K) => {
8973
- var we = kh();
8974
- w(K, we);
8981
+ var ue = kh();
8982
+ w(K, ue);
8975
8983
  };
8976
8984
  N(
8977
8985
  ze,
8978
8986
  (K) => {
8979
- _().split(".").pop() === "akd" ? K(be) : K(Se, !1);
8987
+ _().split(".").pop() === "akd" ? K(pe) : K(Se, !1);
8980
8988
  },
8981
8989
  !0
8982
8990
  );
@@ -9001,36 +9009,36 @@ function Aa(t, e) {
9001
9009
  !0
9002
9010
  );
9003
9011
  }
9004
- w(xe, me);
9012
+ w(xe, we);
9005
9013
  };
9006
9014
  N(
9007
9015
  Ie,
9008
9016
  (xe) => {
9009
- _().split(".").pop() === "docx" ? xe(fe) : xe(Te, !1);
9017
+ _().split(".").pop() === "docx" ? xe(he) : xe(Ee, !1);
9010
9018
  },
9011
9019
  !0
9012
9020
  );
9013
9021
  }
9014
- w(ve, de);
9022
+ w(me, fe);
9015
9023
  };
9016
9024
  N(
9017
9025
  _e,
9018
- (ve) => {
9019
- _().split(".").pop() === "pdf" ? ve(se) : ve(ue, !1);
9026
+ (me) => {
9027
+ _().split(".").pop() === "pdf" ? me(se) : me(de, !1);
9020
9028
  },
9021
9029
  !0
9022
9030
  );
9023
9031
  }
9024
- w(U, ge);
9032
+ w(U, be);
9025
9033
  };
9026
9034
  N(R, (U) => {
9027
- x() ? U(B) : U(te, !1);
9035
+ x() ? U(Y) : U(te, !1);
9028
9036
  });
9029
9037
  }
9030
9038
  var q = H(R, 2), D = I(q, !0);
9031
9039
  T(q), T(F), L(
9032
9040
  (U) => {
9033
- Oe(F, `${`dropdown-option ${x() ? "common" : ""}` ?? ""} svelte-q27oe3`), Y(F, "title", `${x() ? k() : "Visualizza allegato"}`), ut(D, U);
9041
+ Oe(F, `${`dropdown-option ${x() ? "common" : ""}` ?? ""} svelte-q27oe3`), B(F, "title", `${x() ? k() : "Visualizza allegato"}`), ut(D, U);
9034
9042
  },
9035
9043
  [
9036
9044
  () => x() ? _().split(".")[0] : _()
@@ -9095,38 +9103,38 @@ function ja(t, e) {
9095
9103
  });
9096
9104
  var h = Ph(), b = H(I(h), 2);
9097
9105
  je(b, 17, n, Ae, (E, x) => {
9098
- var k = he(), F = oe(k);
9106
+ var k = ve(), F = oe(k);
9099
9107
  {
9100
- var R = (B) => {
9101
- var te = jh(), q = I(te), D = I(q), U = I(D), ge = I(U);
9102
- Zr(ge, () => p(x).html ?? ae.parseInline(p(x).content), !1, !1), T(U), T(D);
9108
+ var R = (Y) => {
9109
+ var te = jh(), q = I(te), D = I(q), U = I(D), be = I(U);
9110
+ Zr(be, () => p(x).html ?? ae.parseInline(p(x).content), !1, !1), T(U), T(D);
9103
9111
  var _e = H(D, 2);
9104
9112
  {
9105
- var se = (de) => {
9106
- var Ie = he(), fe = oe(Ie);
9113
+ var se = (fe) => {
9114
+ var Ie = ve(), he = oe(Ie);
9107
9115
  {
9108
- var Te = (me) => {
9116
+ var Ee = (we) => {
9109
9117
  var ke = Ch();
9110
- ke.__click = [Eh, o, c], w(me, ke);
9111
- }, xe = (me) => {
9118
+ ke.__click = [Eh, o, c], w(we, ke);
9119
+ }, xe = (we) => {
9112
9120
  var ke = Ah();
9113
- ke.__click = [Ih, f, x], w(me, ke);
9121
+ ke.__click = [Ih, f, x], w(we, ke);
9114
9122
  };
9115
- N(fe, (me) => {
9116
- p(c) ? me(Te) : me(xe, !1);
9123
+ N(he, (we) => {
9124
+ p(c) ? we(Ee) : we(xe, !1);
9117
9125
  });
9118
9126
  }
9119
- w(de, Ie);
9127
+ w(fe, Ie);
9120
9128
  };
9121
- N(_e, (de) => {
9122
- p(x).sentByUser || de(se);
9129
+ N(_e, (fe) => {
9130
+ p(x).sentByUser || fe(se);
9123
9131
  });
9124
9132
  }
9125
9133
  T(q);
9126
- var ue = H(q, 2);
9134
+ var de = H(q, 2);
9127
9135
  {
9128
- var ve = (de) => {
9129
- Aa(de, {
9136
+ var me = (fe) => {
9137
+ Aa(fe, {
9130
9138
  get isDropdownOpen() {
9131
9139
  return p(u);
9132
9140
  },
@@ -9135,14 +9143,14 @@ function ja(t, e) {
9135
9143
  }
9136
9144
  });
9137
9145
  };
9138
- N(ue, (de) => {
9139
- p(x).attachments && p(x).attachments.length > 0 && de(ve);
9146
+ N(de, (fe) => {
9147
+ p(x).attachments && p(x).attachments.length > 0 && fe(me);
9140
9148
  });
9141
9149
  }
9142
- T(te), L(() => Oe(D, Qs(p(x).sentByUser ? "message-sent" : "message-received"), "svelte-1i332th")), w(B, te);
9150
+ T(te), L(() => Oe(D, Qs(p(x).sentByUser ? "message-sent" : "message-received"), "svelte-1i332th")), w(Y, te);
9143
9151
  };
9144
- N(F, (B) => {
9145
- p(x).content != "" && B(R);
9152
+ N(F, (Y) => {
9153
+ p(x).content != "" && Y(R);
9146
9154
  });
9147
9155
  }
9148
9156
  w(E, k);
@@ -9152,32 +9160,32 @@ function ja(t, e) {
9152
9160
  var $ = (E) => {
9153
9161
  var x = Rh(), k = I(x), F = I(k), R = I(F);
9154
9162
  Zr(R, s, !1, !1), T(F), T(k);
9155
- var B = H(k, 2);
9163
+ var Y = H(k, 2);
9156
9164
  {
9157
9165
  var te = (q) => {
9158
- $n(q, {
9166
+ En(q, {
9159
9167
  icon: "svg-spinners:90-ring-with-bg",
9160
9168
  width: "25px",
9161
9169
  height: "25px",
9162
9170
  color: "white"
9163
9171
  });
9164
9172
  };
9165
- N(B, (q) => {
9173
+ N(Y, (q) => {
9166
9174
  r() && q(te);
9167
9175
  });
9168
9176
  }
9169
9177
  T(x), w(E, x);
9170
9178
  }, y = (E) => {
9171
- var x = he(), k = oe(x);
9179
+ var x = ve(), k = oe(x);
9172
9180
  {
9173
9181
  var F = (R) => {
9174
- var B = Lh(), te = I(B);
9175
- $n(te, {
9182
+ var Y = Lh(), te = I(Y);
9183
+ En(te, {
9176
9184
  icon: "svg-spinners:3-dots-bounce",
9177
9185
  width: "25px",
9178
9186
  height: "25px",
9179
9187
  color: "white"
9180
- }), T(B), w(R, B);
9188
+ }), T(Y), w(R, Y);
9181
9189
  };
9182
9190
  N(
9183
9191
  k,
@@ -9203,7 +9211,7 @@ function ja(t, e) {
9203
9211
  i() != "" && E(C);
9204
9212
  });
9205
9213
  }
9206
- return T(h), na(h, (E) => z(l, E), () => p(l)), An(3, h, () => hi, () => ({ duration: 300, delay: 100 })), w(t, h), G({
9214
+ return T(h), na(h, (E) => z(l, E), () => p(l)), Rn(3, h, () => hi, () => ({ duration: 300, delay: 100 })), w(t, h), G({
9207
9215
  get messages() {
9208
9216
  return n();
9209
9217
  },
@@ -9340,7 +9348,7 @@ const qh = async (t) => {
9340
9348
  }
9341
9349
  })).ok)
9342
9350
  throw new Error("Failed to delete chat");
9343
- }, gn = {
9351
+ }, bn = {
9344
9352
  getChat: qh,
9345
9353
  getChats: Dh,
9346
9354
  newChat: Mh,
@@ -9366,7 +9374,7 @@ function Ra(t, e) {
9366
9374
  const a = (d) => {
9367
9375
  r(d), s("");
9368
9376
  }, l = (d, f) => {
9369
- confirm('Sei sicuro di voler eliminare la chat: "' + f + '"?') && gn.deleteChat(d).then(() => {
9377
+ confirm('Sei sicuro di voler eliminare la chat: "' + f + '"?') && bn.deleteChat(d).then(() => {
9370
9378
  i(i().filter((h) => h._id !== d)), r()._id === d && r(new zt("", "", "", "New Chat", [yt.firstMessage()]));
9371
9379
  });
9372
9380
  };
@@ -9381,9 +9389,9 @@ function Ra(t, e) {
9381
9389
  T(_), T(y);
9382
9390
  var E = H(y, 2);
9383
9391
  E.__click = [Hh, l, m], T($), L(() => {
9384
- Y($, "style", r()._id === p(m)._id ? "background: #295dcf; cursor: default;" : ""), ut(C, p(m).title);
9392
+ B($, "style", r()._id === p(m)._id ? "background: #295dcf; cursor: default;" : ""), ut(C, p(m).title);
9385
9393
  }), w(b, $);
9386
- }), T(h), T(f), An(3, f, () => Il, () => ({ duration: 600 })), w(d, f);
9394
+ }), T(h), T(f), Rn(3, f, () => Il, () => ({ duration: 600 })), w(d, f);
9387
9395
  };
9388
9396
  N(c, (d) => {
9389
9397
  n() && d(u);
@@ -9446,13 +9454,13 @@ function La(t, e) {
9446
9454
  let n = re(!1), r = re(!1), i = re("it"), s = re(""), a = re(null), l = re(j([])), o = re(j([])), c = re(!1), u = re(!0), d = re(j(new Audio())), f = re(!0), h = re(""), b = re("");
9447
9455
  const m = (D) => {
9448
9456
  z(b, p(b) + D);
9449
- }, $ = async (D, U, ge, _e = []) => {
9457
+ }, $ = async (D, U, be, _e = []) => {
9450
9458
  if (z(h, ""), z(c, !0), z(o, j([
9451
9459
  ...p(o),
9452
9460
  new yt((/* @__PURE__ */ new Date()).getTime(), !0, D, D)
9453
- ])), p(o).length == 2 && (z(a, j(await gn.newChat())), z(l, j([...p(l), p(a)])), p(a).messages = p(o)), p(a))
9461
+ ])), p(o).length == 2 && (z(a, j(await bn.newChat())), z(l, j([...p(l), p(a)])), p(a).messages = p(o)), p(a))
9454
9462
  try {
9455
- await gn.sendMessage(p(a)._id, D, U, ge, _e, m, p(i)), z(a, j(await gn.getChat(p(a)._id))), z(b, ""), z(o, j([
9463
+ await bn.sendMessage(p(a)._id, D, U, be, _e, m, p(i)), z(a, j(await bn.getChat(p(a)._id))), z(b, ""), z(o, j([
9456
9464
  ...p(o),
9457
9465
  p(a).messages[p(a).messages.length - 1]
9458
9466
  ])), p(f) || gi.getAudio(p(a).messages[p(a).messages.length - 1].content, p(i)).then((se) => {
@@ -9469,13 +9477,13 @@ function La(t, e) {
9469
9477
  p(f) && p(d).pause();
9470
9478
  });
9471
9479
  const y = () => {
9472
- p(n) && gn.getChats().then((D) => {
9473
- z(l, j(D.sort((U, ge) => {
9474
- if (U.messages.length === 0 && ge.messages.length === 0) return 0;
9480
+ p(n) && bn.getChats().then((D) => {
9481
+ z(l, j(D.sort((U, be) => {
9482
+ if (U.messages.length === 0 && be.messages.length === 0) return 0;
9475
9483
  if (U.messages.length === 0) return 1;
9476
- if (ge.messages.length === 0) return -1;
9477
- const _e = U.messages[U.messages.length - 1], se = ge.messages[ge.messages.length - 1], ue = (_e == null ? void 0 : _e.timeStamp) || 0;
9478
- return ((se == null ? void 0 : se.timeStamp) || 0) - ue;
9484
+ if (be.messages.length === 0) return -1;
9485
+ const _e = U.messages[U.messages.length - 1], se = be.messages[be.messages.length - 1], de = (_e == null ? void 0 : _e.timeStamp) || 0;
9486
+ return ((se == null ? void 0 : se.timeStamp) || 0) - de;
9479
9487
  })));
9480
9488
  });
9481
9489
  };
@@ -9489,30 +9497,30 @@ function La(t, e) {
9489
9497
  D.preventDefault(), D.stopPropagation(), _ = !0, C = D.clientX, E = D.clientY;
9490
9498
  const _e = document.querySelector(".chat");
9491
9499
  x = _e.offsetWidth, k = _e.offsetHeight, _e.classList.add("no-select");
9492
- const se = U.closest(".resize-handle"), ue = U.classList.contains("resize-border-left"), ve = U.classList.contains("resize-border-top"), de = (fe) => {
9500
+ const se = U.closest(".resize-handle"), de = U.classList.contains("resize-border-left"), me = U.classList.contains("resize-border-top"), fe = (he) => {
9493
9501
  if (!_) return;
9494
- fe.preventDefault();
9495
- const Te = document.querySelector(".chat"), xe = window.innerWidth * 0.75, me = window.innerHeight * 0.9;
9496
- if (ue) {
9497
- const ke = C - fe.clientX, ce = Math.min(Math.max(x + ke, 300), xe);
9498
- Te.style.width = `${ce}px`;
9499
- } else if (ve) {
9500
- const ke = E - fe.clientY, ce = Math.min(Math.max(k + ke, 400), me);
9501
- Te.style.height = `${ce}px`;
9502
+ he.preventDefault();
9503
+ const Ee = document.querySelector(".chat"), xe = window.innerWidth * 0.75, we = window.innerHeight * 0.9;
9504
+ if (de) {
9505
+ const ke = C - he.clientX, ce = Math.min(Math.max(x + ke, 300), xe);
9506
+ Ee.style.width = `${ce}px`;
9507
+ } else if (me) {
9508
+ const ke = E - he.clientY, ce = Math.min(Math.max(k + ke, 400), we);
9509
+ Ee.style.height = `${ce}px`;
9502
9510
  } else if (se) {
9503
- const ke = C - fe.clientX, ce = E - fe.clientY, ye = Math.min(Math.max(x + ke, 300), xe), Re = Math.min(Math.max(k + ce, 400), me);
9504
- Te.style.width = `${ye}px`, Te.style.height = `${Re}px`;
9511
+ const ke = C - he.clientX, ce = E - he.clientY, ye = Math.min(Math.max(x + ke, 300), xe), Re = Math.min(Math.max(k + ce, 400), we);
9512
+ Ee.style.width = `${ye}px`, Ee.style.height = `${Re}px`;
9505
9513
  }
9506
9514
  }, Ie = () => {
9507
- var fe;
9508
- _ = !1, (fe = document.querySelector(".chat")) == null || fe.classList.remove("no-select"), document.removeEventListener("mousemove", de), document.removeEventListener("mouseup", Ie);
9515
+ var he;
9516
+ _ = !1, (he = document.querySelector(".chat")) == null || he.classList.remove("no-select"), document.removeEventListener("mousemove", fe), document.removeEventListener("mouseup", Ie);
9509
9517
  };
9510
- document.addEventListener("mousemove", de), document.addEventListener("mouseup", Ie);
9518
+ document.addEventListener("mousemove", fe), document.addEventListener("mouseup", Ie);
9511
9519
  }
9512
9520
  }
9513
9521
  fi(async () => {
9514
9522
  try {
9515
- const D = await zn.getUsername();
9523
+ const D = await $n.getUsername();
9516
9524
  z(s, j(D));
9517
9525
  const U = yt.firstMessage(p(i), p(s));
9518
9526
  z(o, j([U])), z(a, j(new zt("", "", "", "New Chat", [U]))), z(u, !1);
@@ -9520,26 +9528,26 @@ function La(t, e) {
9520
9528
  console.error("Failed to load username", D), z(h, "Failed to load username"), z(u, !1);
9521
9529
  }
9522
9530
  });
9523
- var R = ep(), B = I(R);
9531
+ var R = ep(), Y = I(R);
9524
9532
  {
9525
9533
  var te = (D) => {
9526
9534
  var U = Qh();
9527
9535
  U.__mousedown = F;
9528
- var ge = I(U);
9536
+ var be = I(U);
9529
9537
  {
9530
- var _e = (ue) => {
9531
- var ve = Wh(), de = I(ve);
9532
- $n(de, {
9538
+ var _e = (de) => {
9539
+ var me = Wh(), fe = I(me);
9540
+ En(fe, {
9533
9541
  icon: "svg-spinners:270-ring-with-bg",
9534
9542
  width: "50px",
9535
9543
  height: "50px",
9536
9544
  color: "white"
9537
- }), T(ve), w(ue, ve);
9538
- }, se = (ue) => {
9539
- var ve = he(), de = oe(ve);
9545
+ }), T(me), w(de, me);
9546
+ }, se = (de) => {
9547
+ var me = ve(), fe = oe(me);
9540
9548
  {
9541
- var Ie = (fe) => {
9542
- var Te = Xh(), xe = oe(Te);
9549
+ var Ie = (he) => {
9550
+ var Ee = Xh(), xe = oe(Ee);
9543
9551
  Ra(xe, {
9544
9552
  get showHistory() {
9545
9553
  return p(r);
@@ -9566,8 +9574,8 @@ function La(t, e) {
9566
9574
  z(h, j(O));
9567
9575
  }
9568
9576
  });
9569
- var me = H(xe, 6), ke = I(me);
9570
- $n(ke, {
9577
+ var we = H(xe, 6), ke = I(we);
9578
+ En(ke, {
9571
9579
  icon: "hugeicons:resize-field",
9572
9580
  width: "25px",
9573
9581
  height: "25px",
@@ -9575,8 +9583,8 @@ function La(t, e) {
9575
9583
  vFlip: !0,
9576
9584
  color: "white",
9577
9585
  style: "margin: 2px 0 0 2px;"
9578
- }), T(me);
9579
- var ce = H(me, 2);
9586
+ }), T(we);
9587
+ var ce = H(we, 2);
9580
9588
  sa(ce, {
9581
9589
  get show() {
9582
9590
  return p(n);
@@ -9669,29 +9677,29 @@ function La(t, e) {
9669
9677
  set languageSelected(O) {
9670
9678
  z(i, j(O));
9671
9679
  }
9672
- }), w(fe, Te);
9680
+ }), w(he, Ee);
9673
9681
  };
9674
9682
  N(
9675
- de,
9676
- (fe) => {
9677
- p(a) && fe(Ie);
9683
+ fe,
9684
+ (he) => {
9685
+ p(a) && he(Ie);
9678
9686
  },
9679
9687
  !0
9680
9688
  );
9681
9689
  }
9682
- w(ue, ve);
9690
+ w(de, me);
9683
9691
  };
9684
- N(ge, (ue) => {
9685
- p(u) ? ue(_e) : ue(se, !1);
9692
+ N(be, (de) => {
9693
+ p(u) ? de(_e) : de(se, !1);
9686
9694
  });
9687
9695
  }
9688
- T(U), An(3, U, () => Cl, () => ({ y: 50, duration: 500 })), w(D, U);
9696
+ T(U), Rn(3, U, () => Cl, () => ({ y: 50, duration: 500 })), w(D, U);
9689
9697
  };
9690
- N(B, (D) => {
9698
+ N(Y, (D) => {
9691
9699
  p(n) && D(te);
9692
9700
  });
9693
9701
  }
9694
- var q = H(B, 2);
9702
+ var q = H(Y, 2);
9695
9703
  q.__click = [Kh, n, r], T(R), L(() => Oe(q, `${`btn ${p(n) ? "aks-btn-answer" : "btn-primary"}` ?? ""} svelte-1p82do8`)), w(t, R), G();
9696
9704
  }
9697
9705
  jt(["mousedown", "click"]);