@telia-ace/widget-conversational-hub 1.1.122-rc.3 → 1.1.122-rc.5

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 (3) hide show
  1. package/index.js +86 -69
  2. package/index.mjs +807 -781
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- var xa = Object.defineProperty;
2
- var wa = (n, e, t) => e in n ? xa(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var _ = (n, e, t) => wa(n, typeof e != "symbol" ? e + "" : e, t);
1
+ var ka = Object.defineProperty;
2
+ var Sa = (n, e, t) => e in n ? ka(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var _ = (n, e, t) => Sa(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  class Ss {
5
5
  constructor() {
6
6
  this.registeredProviders = /* @__PURE__ */ new Map();
@@ -41,7 +41,7 @@ function at(n, e) {
41
41
  }
42
42
  n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
43
43
  }
44
- function ka(n, e, t, s) {
44
+ function _a(n, e, t, s) {
45
45
  function i(r) {
46
46
  return r instanceof t ? r : new t(function(o) {
47
47
  o(r);
@@ -68,7 +68,7 @@ function ka(n, e, t, s) {
68
68
  c((s = s.apply(n, e || [])).next());
69
69
  });
70
70
  }
71
- function Br(n, e) {
71
+ function Fr(n, e) {
72
72
  var t = { label: 0, sent: function() {
73
73
  if (r[0] & 1) throw r[1];
74
74
  return r[1];
@@ -163,7 +163,7 @@ function st(n, e, t) {
163
163
  function Qe(n) {
164
164
  return this instanceof Qe ? (this.v = n, this) : new Qe(n);
165
165
  }
166
- function Sa(n, e, t) {
166
+ function Ea(n, e, t) {
167
167
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
168
168
  var s = t.apply(n, e || []), i, r = [];
169
169
  return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), i[Symbol.asyncIterator] = function() {
@@ -201,7 +201,7 @@ function Sa(n, e, t) {
201
201
  g(m), r.shift(), r.length && l(r[0][0], r[0][1]);
202
202
  }
203
203
  }
204
- function _a(n) {
204
+ function Aa(n) {
205
205
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
206
206
  var e = n[Symbol.asyncIterator], t;
207
207
  return e ? e.call(n) : (n = typeof nt == "function" ? nt(n) : n[Symbol.iterator](), t = {}, s("next"), s("throw"), s("return"), t[Symbol.asyncIterator] = function() {
@@ -223,13 +223,13 @@ function _a(n) {
223
223
  function E(n) {
224
224
  return typeof n == "function";
225
225
  }
226
- function Fr(n) {
226
+ function jr(n) {
227
227
  var e = function(s) {
228
228
  Error.call(s), s.stack = new Error().stack;
229
229
  }, t = n(e);
230
230
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
231
231
  }
232
- var jn = Fr(function(n) {
232
+ var jn = jr(function(n) {
233
233
  return function(t) {
234
234
  n(this), this.message = t ? t.length + ` errors occurred during unsubscription:
235
235
  ` + t.map(function(s, i) {
@@ -285,7 +285,7 @@ var yn = (function() {
285
285
  for (var d = nt(p), g = d.next(); !g.done; g = d.next()) {
286
286
  var m = g.value;
287
287
  try {
288
- Ni(m);
288
+ Di(m);
289
289
  } catch (y) {
290
290
  r = r ?? [], y instanceof jn ? r = st(st([], Ne(r)), Ne(y.errors)) : r.push(y);
291
291
  }
@@ -307,7 +307,7 @@ var yn = (function() {
307
307
  var t;
308
308
  if (e && e !== this)
309
309
  if (this.closed)
310
- Ni(e);
310
+ Di(e);
311
311
  else {
312
312
  if (e instanceof n) {
313
313
  if (e.closed || e._hasParent(this))
@@ -332,16 +332,16 @@ var yn = (function() {
332
332
  var e = new n();
333
333
  return e.closed = !0, e;
334
334
  })(), n;
335
- })(), jr = yn.EMPTY;
336
- function qr(n) {
335
+ })(), qr = yn.EMPTY;
336
+ function Wr(n) {
337
337
  return n instanceof yn || n && "closed" in n && E(n.remove) && E(n.add) && E(n.unsubscribe);
338
338
  }
339
- function Ni(n) {
339
+ function Di(n) {
340
340
  E(n) ? n() : n.unsubscribe();
341
341
  }
342
- var Ea = {
342
+ var Ca = {
343
343
  Promise: void 0
344
- }, Aa = {
344
+ }, Ta = {
345
345
  setTimeout: function(n, e) {
346
346
  for (var t = [], s = 2; s < arguments.length; s++)
347
347
  t[s - 2] = arguments[s];
@@ -352,21 +352,21 @@ var Ea = {
352
352
  },
353
353
  delegate: void 0
354
354
  };
355
- function Wr(n) {
356
- Aa.setTimeout(function() {
355
+ function Gr(n) {
356
+ Ta.setTimeout(function() {
357
357
  throw n;
358
358
  });
359
359
  }
360
- function en() {
360
+ function tn() {
361
361
  }
362
- function Kt(n) {
362
+ function Vt(n) {
363
363
  n();
364
364
  }
365
365
  var _s = (function(n) {
366
366
  at(e, n);
367
367
  function e(t) {
368
368
  var s = n.call(this) || this;
369
- return s.isStopped = !1, t ? (s.destination = t, qr(t) && t.add(s)) : s.destination = Ra, s;
369
+ return s.isStopped = !1, t ? (s.destination = t, Wr(t) && t.add(s)) : s.destination = Oa, s;
370
370
  }
371
371
  return e.create = function(t, s, i) {
372
372
  return new rs(t, s, i);
@@ -393,7 +393,7 @@ var _s = (function(n) {
393
393
  this.unsubscribe();
394
394
  }
395
395
  }, e;
396
- })(yn), Ca = (function() {
396
+ })(yn), Ra = (function() {
397
397
  function n(e) {
398
398
  this.partialObserver = e;
399
399
  }
@@ -403,7 +403,7 @@ var _s = (function(n) {
403
403
  try {
404
404
  t.next(e);
405
405
  } catch (s) {
406
- Wt(s);
406
+ Gt(s);
407
407
  }
408
408
  }, n.prototype.error = function(e) {
409
409
  var t = this.partialObserver;
@@ -411,17 +411,17 @@ var _s = (function(n) {
411
411
  try {
412
412
  t.error(e);
413
413
  } catch (s) {
414
- Wt(s);
414
+ Gt(s);
415
415
  }
416
416
  else
417
- Wt(e);
417
+ Gt(e);
418
418
  }, n.prototype.complete = function() {
419
419
  var e = this.partialObserver;
420
420
  if (e.complete)
421
421
  try {
422
422
  e.complete();
423
423
  } catch (t) {
424
- Wt(t);
424
+ Gt(t);
425
425
  }
426
426
  }, n;
427
427
  })(), rs = (function(n) {
@@ -432,29 +432,29 @@ var _s = (function(n) {
432
432
  next: t ?? void 0,
433
433
  error: s ?? void 0,
434
434
  complete: i ?? void 0
435
- } : o = t, r.destination = new Ca(o), r;
435
+ } : o = t, r.destination = new Ra(o), r;
436
436
  }
437
437
  return e;
438
438
  })(_s);
439
- function Wt(n) {
440
- Wr(n);
439
+ function Gt(n) {
440
+ Gr(n);
441
441
  }
442
- function Ta(n) {
442
+ function La(n) {
443
443
  throw n;
444
444
  }
445
- var Ra = {
445
+ var Oa = {
446
446
  closed: !0,
447
- next: en,
448
- error: Ta,
449
- complete: en
447
+ next: tn,
448
+ error: La,
449
+ complete: tn
450
450
  }, Es = (function() {
451
451
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
452
452
  })();
453
- function Lt(n) {
453
+ function Ot(n) {
454
454
  return n;
455
455
  }
456
- function La(n) {
457
- return n.length === 0 ? Lt : n.length === 1 ? n[0] : function(t) {
456
+ function Pa(n) {
457
+ return n.length === 0 ? Ot : n.length === 1 ? n[0] : function(t) {
458
458
  return n.reduce(function(s, i) {
459
459
  return i(s);
460
460
  }, t);
@@ -468,8 +468,8 @@ var X = (function() {
468
468
  var t = new n();
469
469
  return t.source = this, t.operator = e, t;
470
470
  }, n.prototype.subscribe = function(e, t, s) {
471
- var i = this, r = Pa(e) ? e : new rs(e, t, s);
472
- return Kt(function() {
471
+ var i = this, r = Ma(e) ? e : new rs(e, t, s);
472
+ return Vt(function() {
473
473
  var o = i, a = o.operator, l = o.source;
474
474
  r.add(a ? a.call(r, l) : l ? i._subscribe(r) : i._trySubscribe(r));
475
475
  }), r;
@@ -481,7 +481,7 @@ var X = (function() {
481
481
  }
482
482
  }, n.prototype.forEach = function(e, t) {
483
483
  var s = this;
484
- return t = Di(t), new t(function(i, r) {
484
+ return t = Ui(t), new t(function(i, r) {
485
485
  var o = new rs({
486
486
  next: function(a) {
487
487
  try {
@@ -503,10 +503,10 @@ var X = (function() {
503
503
  }, n.prototype.pipe = function() {
504
504
  for (var e = [], t = 0; t < arguments.length; t++)
505
505
  e[t] = arguments[t];
506
- return La(e)(this);
506
+ return Pa(e)(this);
507
507
  }, n.prototype.toPromise = function(e) {
508
508
  var t = this;
509
- return e = Di(e), new e(function(s, i) {
509
+ return e = Ui(e), new e(function(s, i) {
510
510
  var r;
511
511
  t.subscribe(function(o) {
512
512
  return r = o;
@@ -520,22 +520,22 @@ var X = (function() {
520
520
  return new n(e);
521
521
  }, n;
522
522
  })();
523
- function Di(n) {
523
+ function Ui(n) {
524
524
  var e;
525
- return (e = n ?? Ea.Promise) !== null && e !== void 0 ? e : Promise;
525
+ return (e = n ?? Ca.Promise) !== null && e !== void 0 ? e : Promise;
526
526
  }
527
- function Oa(n) {
527
+ function Ia(n) {
528
528
  return n && E(n.next) && E(n.error) && E(n.complete);
529
529
  }
530
- function Pa(n) {
531
- return n && n instanceof _s || Oa(n) && qr(n);
530
+ function Ma(n) {
531
+ return n && n instanceof _s || Ia(n) && Wr(n);
532
532
  }
533
- function Ia(n) {
533
+ function Na(n) {
534
534
  return E(n == null ? void 0 : n.lift);
535
535
  }
536
536
  function ye(n) {
537
537
  return function(e) {
538
- if (Ia(e))
538
+ if (Na(e))
539
539
  return e.lift(function(t) {
540
540
  try {
541
541
  return n(t, this);
@@ -547,9 +547,9 @@ function ye(n) {
547
547
  };
548
548
  }
549
549
  function V(n, e, t, s, i) {
550
- return new Ma(n, e, t, s, i);
550
+ return new Da(n, e, t, s, i);
551
551
  }
552
- var Ma = (function(n) {
552
+ var Da = (function(n) {
553
553
  at(e, n);
554
554
  function e(t, s, i, r, o, a) {
555
555
  var l = n.call(this, t) || this;
@@ -584,7 +584,7 @@ var Ma = (function(n) {
584
584
  n.prototype.unsubscribe.call(this), !s && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
585
585
  }
586
586
  }, e;
587
- })(_s), Na = Fr(function(n) {
587
+ })(_s), Ua = jr(function(n) {
588
588
  return function() {
589
589
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
590
590
  };
@@ -595,14 +595,14 @@ var Ma = (function(n) {
595
595
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
596
596
  }
597
597
  return e.prototype.lift = function(t) {
598
- var s = new Ui(this, this);
598
+ var s = new zi(this, this);
599
599
  return s.operator = t, s;
600
600
  }, e.prototype._throwIfClosed = function() {
601
601
  if (this.closed)
602
- throw new Na();
602
+ throw new Ua();
603
603
  }, e.prototype.next = function(t) {
604
604
  var s = this;
605
- Kt(function() {
605
+ Vt(function() {
606
606
  var i, r;
607
607
  if (s._throwIfClosed(), !s.isStopped) {
608
608
  s.currentObservers || (s.currentObservers = Array.from(s.observers));
@@ -624,7 +624,7 @@ var Ma = (function(n) {
624
624
  });
625
625
  }, e.prototype.error = function(t) {
626
626
  var s = this;
627
- Kt(function() {
627
+ Vt(function() {
628
628
  if (s._throwIfClosed(), !s.isStopped) {
629
629
  s.hasError = s.isStopped = !0, s.thrownError = t;
630
630
  for (var i = s.observers; i.length; )
@@ -633,7 +633,7 @@ var Ma = (function(n) {
633
633
  });
634
634
  }, e.prototype.complete = function() {
635
635
  var t = this;
636
- Kt(function() {
636
+ Vt(function() {
637
637
  if (t._throwIfClosed(), !t.isStopped) {
638
638
  t.isStopped = !0;
639
639
  for (var s = t.observers; s.length; )
@@ -655,7 +655,7 @@ var Ma = (function(n) {
655
655
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
656
656
  }, e.prototype._innerSubscribe = function(t) {
657
657
  var s = this, i = this, r = i.hasError, o = i.isStopped, a = i.observers;
658
- return r || o ? jr : (this.currentObservers = null, a.push(t), new yn(function() {
658
+ return r || o ? qr : (this.currentObservers = null, a.push(t), new yn(function() {
659
659
  s.currentObservers = null, is(a, t);
660
660
  }));
661
661
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -665,9 +665,9 @@ var Ma = (function(n) {
665
665
  var t = new X();
666
666
  return t.source = this, t;
667
667
  }, e.create = function(t, s) {
668
- return new Ui(t, s);
668
+ return new zi(t, s);
669
669
  }, e;
670
- })(X), Ui = (function(n) {
670
+ })(X), zi = (function(n) {
671
671
  at(e, n);
672
672
  function e(t, s) {
673
673
  var i = n.call(this) || this;
@@ -684,7 +684,7 @@ var Ma = (function(n) {
684
684
  (s = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || s === void 0 || s.call(t);
685
685
  }, e.prototype._subscribe = function(t) {
686
686
  var s, i;
687
- return (i = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && i !== void 0 ? i : jr;
687
+ return (i = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && i !== void 0 ? i : qr;
688
688
  }, e;
689
689
  })(I), F = (function(n) {
690
690
  at(e, n);
@@ -709,50 +709,50 @@ var Ma = (function(n) {
709
709
  }, e.prototype.next = function(t) {
710
710
  n.prototype.next.call(this, this._value = t);
711
711
  }, e;
712
- })(I), Ot = new X(function(n) {
712
+ })(I), Pt = new X(function(n) {
713
713
  return n.complete();
714
714
  });
715
- function Da(n) {
715
+ function za(n) {
716
716
  return n && E(n.schedule);
717
717
  }
718
718
  function As(n) {
719
719
  return n[n.length - 1];
720
720
  }
721
- function Gr(n) {
721
+ function Zr(n) {
722
722
  return E(As(n)) ? n.pop() : void 0;
723
723
  }
724
724
  function Cs(n) {
725
- return Da(As(n)) ? n.pop() : void 0;
725
+ return za(As(n)) ? n.pop() : void 0;
726
726
  }
727
- function Ua(n, e) {
727
+ function Ha(n, e) {
728
728
  return typeof As(n) == "number" ? n.pop() : e;
729
729
  }
730
730
  var Ts = (function(n) {
731
731
  return n && typeof n.length == "number" && typeof n != "function";
732
732
  });
733
- function Zr(n) {
733
+ function Yr(n) {
734
734
  return E(n == null ? void 0 : n.then);
735
735
  }
736
- function Yr(n) {
736
+ function Xr(n) {
737
737
  return E(n[Es]);
738
738
  }
739
- function Xr(n) {
739
+ function Kr(n) {
740
740
  return Symbol.asyncIterator && E(n == null ? void 0 : n[Symbol.asyncIterator]);
741
741
  }
742
- function Kr(n) {
742
+ function Vr(n) {
743
743
  return new TypeError("You provided " + (n !== null && typeof n == "object" ? "an invalid object" : "'" + n + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
744
744
  }
745
- function za() {
745
+ function Ba() {
746
746
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
747
747
  }
748
- var Vr = za();
749
- function Qr(n) {
750
- return E(n == null ? void 0 : n[Vr]);
751
- }
748
+ var Qr = Ba();
752
749
  function Jr(n) {
753
- return Sa(this, arguments, function() {
750
+ return E(n == null ? void 0 : n[Qr]);
751
+ }
752
+ function eo(n) {
753
+ return Ea(this, arguments, function() {
754
754
  var t, s, i, r;
755
- return Br(this, function(o) {
755
+ return Fr(this, function(o) {
756
756
  switch (o.label) {
757
757
  case 0:
758
758
  t = n.getReader(), o.label = 1;
@@ -780,29 +780,29 @@ function Jr(n) {
780
780
  });
781
781
  });
782
782
  }
783
- function eo(n) {
783
+ function to(n) {
784
784
  return E(n == null ? void 0 : n.getReader);
785
785
  }
786
786
  function le(n) {
787
787
  if (n instanceof X)
788
788
  return n;
789
789
  if (n != null) {
790
- if (Yr(n))
791
- return Ha(n);
792
- if (Ts(n))
793
- return Ba(n);
794
- if (Zr(n))
795
- return Fa(n);
796
790
  if (Xr(n))
797
- return to(n);
798
- if (Qr(n))
791
+ return Fa(n);
792
+ if (Ts(n))
799
793
  return ja(n);
800
- if (eo(n))
794
+ if (Yr(n))
801
795
  return qa(n);
796
+ if (Kr(n))
797
+ return no(n);
798
+ if (Jr(n))
799
+ return Wa(n);
800
+ if (to(n))
801
+ return Ga(n);
802
802
  }
803
- throw Kr(n);
803
+ throw Vr(n);
804
804
  }
805
- function Ha(n) {
805
+ function Fa(n) {
806
806
  return new X(function(e) {
807
807
  var t = n[Es]();
808
808
  if (E(t.subscribe))
@@ -810,23 +810,23 @@ function Ha(n) {
810
810
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
811
811
  });
812
812
  }
813
- function Ba(n) {
813
+ function ja(n) {
814
814
  return new X(function(e) {
815
815
  for (var t = 0; t < n.length && !e.closed; t++)
816
816
  e.next(n[t]);
817
817
  e.complete();
818
818
  });
819
819
  }
820
- function Fa(n) {
820
+ function qa(n) {
821
821
  return new X(function(e) {
822
822
  n.then(function(t) {
823
823
  e.closed || (e.next(t), e.complete());
824
824
  }, function(t) {
825
825
  return e.error(t);
826
- }).then(null, Wr);
826
+ }).then(null, Gr);
827
827
  });
828
828
  }
829
- function ja(n) {
829
+ function Wa(n) {
830
830
  return new X(function(e) {
831
831
  var t, s;
832
832
  try {
@@ -847,24 +847,24 @@ function ja(n) {
847
847
  e.complete();
848
848
  });
849
849
  }
850
- function to(n) {
850
+ function no(n) {
851
851
  return new X(function(e) {
852
- Wa(n, e).catch(function(t) {
852
+ Za(n, e).catch(function(t) {
853
853
  return e.error(t);
854
854
  });
855
855
  });
856
856
  }
857
- function qa(n) {
858
- return to(Jr(n));
857
+ function Ga(n) {
858
+ return no(eo(n));
859
859
  }
860
- function Wa(n, e) {
860
+ function Za(n, e) {
861
861
  var t, s, i, r;
862
- return ka(this, void 0, void 0, function() {
862
+ return _a(this, void 0, void 0, function() {
863
863
  var o, a;
864
- return Br(this, function(l) {
864
+ return Fr(this, function(l) {
865
865
  switch (l.label) {
866
866
  case 0:
867
- l.trys.push([0, 5, 6, 11]), t = _a(n), l.label = 1;
867
+ l.trys.push([0, 5, 6, 11]), t = Aa(n), l.label = 1;
868
868
  case 1:
869
869
  return [4, t.next()];
870
870
  case 2:
@@ -903,7 +903,7 @@ function ke(n, e, t, s, i) {
903
903
  if (n.add(r), !i)
904
904
  return r;
905
905
  }
906
- function no(n, e) {
906
+ function so(n, e) {
907
907
  return e === void 0 && (e = 0), ye(function(t, s) {
908
908
  t.subscribe(V(s, function(i) {
909
909
  return ke(s, n, function() {
@@ -920,20 +920,20 @@ function no(n, e) {
920
920
  }));
921
921
  });
922
922
  }
923
- function so(n, e) {
923
+ function io(n, e) {
924
924
  return e === void 0 && (e = 0), ye(function(t, s) {
925
925
  s.add(n.schedule(function() {
926
926
  return t.subscribe(s);
927
927
  }, e));
928
928
  });
929
929
  }
930
- function Ga(n, e) {
931
- return le(n).pipe(so(e), no(e));
930
+ function Ya(n, e) {
931
+ return le(n).pipe(io(e), so(e));
932
932
  }
933
- function Za(n, e) {
934
- return le(n).pipe(so(e), no(e));
933
+ function Xa(n, e) {
934
+ return le(n).pipe(io(e), so(e));
935
935
  }
936
- function Ya(n, e) {
936
+ function Ka(n, e) {
937
937
  return new X(function(t) {
938
938
  var s = 0;
939
939
  return e.schedule(function() {
@@ -941,11 +941,11 @@ function Ya(n, e) {
941
941
  });
942
942
  });
943
943
  }
944
- function Xa(n, e) {
944
+ function Va(n, e) {
945
945
  return new X(function(t) {
946
946
  var s;
947
947
  return ke(t, e, function() {
948
- s = n[Vr](), ke(t, e, function() {
948
+ s = n[Qr](), ke(t, e, function() {
949
949
  var i, r, o;
950
950
  try {
951
951
  i = s.next(), r = i.value, o = i.done;
@@ -960,7 +960,7 @@ function Xa(n, e) {
960
960
  };
961
961
  });
962
962
  }
963
- function io(n, e) {
963
+ function ro(n, e) {
964
964
  if (!n)
965
965
  throw new Error("Iterable cannot be null");
966
966
  return new X(function(t) {
@@ -974,28 +974,28 @@ function io(n, e) {
974
974
  });
975
975
  });
976
976
  }
977
- function Ka(n, e) {
978
- return io(Jr(n), e);
977
+ function Qa(n, e) {
978
+ return ro(eo(n), e);
979
979
  }
980
- function Va(n, e) {
980
+ function Ja(n, e) {
981
981
  if (n != null) {
982
- if (Yr(n))
983
- return Ga(n, e);
984
- if (Ts(n))
985
- return Ya(n, e);
986
- if (Zr(n))
987
- return Za(n, e);
988
982
  if (Xr(n))
989
- return io(n, e);
990
- if (Qr(n))
991
- return Xa(n, e);
992
- if (eo(n))
983
+ return Ya(n, e);
984
+ if (Ts(n))
993
985
  return Ka(n, e);
986
+ if (Yr(n))
987
+ return Xa(n, e);
988
+ if (Kr(n))
989
+ return ro(n, e);
990
+ if (Jr(n))
991
+ return Va(n, e);
992
+ if (to(n))
993
+ return Qa(n, e);
994
994
  }
995
- throw Kr(n);
995
+ throw Vr(n);
996
996
  }
997
997
  function $n(n, e) {
998
- return e ? Va(n, e) : le(n);
998
+ return e ? Ja(n, e) : le(n);
999
999
  }
1000
1000
  function os() {
1001
1001
  for (var n = [], e = 0; e < arguments.length; e++)
@@ -1003,7 +1003,7 @@ function os() {
1003
1003
  var t = Cs(n);
1004
1004
  return $n(n, t);
1005
1005
  }
1006
- function tn(n, e) {
1006
+ function nn(n, e) {
1007
1007
  return ye(function(t, s) {
1008
1008
  var i = 0;
1009
1009
  t.subscribe(V(s, function(r) {
@@ -1011,23 +1011,23 @@ function tn(n, e) {
1011
1011
  }));
1012
1012
  });
1013
1013
  }
1014
- var Qa = Array.isArray;
1015
- function Ja(n, e) {
1016
- return Qa(e) ? n.apply(void 0, st([], Ne(e))) : n(e);
1014
+ var el = Array.isArray;
1015
+ function tl(n, e) {
1016
+ return el(e) ? n.apply(void 0, st([], Ne(e))) : n(e);
1017
1017
  }
1018
- function ro(n) {
1019
- return tn(function(e) {
1020
- return Ja(n, e);
1018
+ function oo(n) {
1019
+ return nn(function(e) {
1020
+ return tl(n, e);
1021
1021
  });
1022
1022
  }
1023
- var el = Array.isArray, tl = Object.getPrototypeOf, nl = Object.prototype, sl = Object.keys;
1024
- function il(n) {
1023
+ var nl = Array.isArray, sl = Object.getPrototypeOf, il = Object.prototype, rl = Object.keys;
1024
+ function ol(n) {
1025
1025
  if (n.length === 1) {
1026
1026
  var e = n[0];
1027
- if (el(e))
1027
+ if (nl(e))
1028
1028
  return { args: e, keys: null };
1029
- if (rl(e)) {
1030
- var t = sl(e);
1029
+ if (al(e)) {
1030
+ var t = rl(e);
1031
1031
  return {
1032
1032
  args: t.map(function(s) {
1033
1033
  return e[s];
@@ -1038,30 +1038,30 @@ function il(n) {
1038
1038
  }
1039
1039
  return { args: n, keys: null };
1040
1040
  }
1041
- function rl(n) {
1042
- return n && typeof n == "object" && tl(n) === nl;
1041
+ function al(n) {
1042
+ return n && typeof n == "object" && sl(n) === il;
1043
1043
  }
1044
- function ol(n, e) {
1044
+ function ll(n, e) {
1045
1045
  return n.reduce(function(t, s, i) {
1046
1046
  return t[s] = e[i], t;
1047
1047
  }, {});
1048
1048
  }
1049
- function al() {
1049
+ function cl() {
1050
1050
  for (var n = [], e = 0; e < arguments.length; e++)
1051
1051
  n[e] = arguments[e];
1052
- var t = Cs(n), s = Gr(n), i = il(n), r = i.args, o = i.keys;
1052
+ var t = Cs(n), s = Zr(n), i = ol(n), r = i.args, o = i.keys;
1053
1053
  if (r.length === 0)
1054
1054
  return $n([], t);
1055
- var a = new X(ll(r, t, o ? function(l) {
1056
- return ol(o, l);
1057
- } : Lt));
1058
- return s ? a.pipe(ro(s)) : a;
1059
- }
1060
- function ll(n, e, t) {
1061
- return t === void 0 && (t = Lt), function(s) {
1062
- zi(e, function() {
1055
+ var a = new X(ul(r, t, o ? function(l) {
1056
+ return ll(o, l);
1057
+ } : Ot));
1058
+ return s ? a.pipe(oo(s)) : a;
1059
+ }
1060
+ function ul(n, e, t) {
1061
+ return t === void 0 && (t = Ot), function(s) {
1062
+ Hi(e, function() {
1063
1063
  for (var i = n.length, r = new Array(i), o = i, a = i, l = function(u) {
1064
- zi(e, function() {
1064
+ Hi(e, function() {
1065
1065
  var p = $n(n[u], e), d = !1;
1066
1066
  p.subscribe(V(s, function(g) {
1067
1067
  r[u] = g, d || (d = !0, a--), a || s.next(t(r.slice()));
@@ -1074,10 +1074,10 @@ function ll(n, e, t) {
1074
1074
  }, s);
1075
1075
  };
1076
1076
  }
1077
- function zi(n, e, t) {
1077
+ function Hi(n, e, t) {
1078
1078
  n ? ke(t, n, e) : e();
1079
1079
  }
1080
- function cl(n, e, t, s, i, r, o, a) {
1080
+ function hl(n, e, t, s, i, r, o, a) {
1081
1081
  var l = [], c = 0, u = 0, p = !1, d = function() {
1082
1082
  p && !l.length && !c && e.complete();
1083
1083
  }, g = function(y) {
@@ -1111,28 +1111,28 @@ function cl(n, e, t, s, i, r, o, a) {
1111
1111
  }
1112
1112
  function Rs(n, e, t) {
1113
1113
  return t === void 0 && (t = 1 / 0), E(e) ? Rs(function(s, i) {
1114
- return tn(function(r, o) {
1114
+ return nn(function(r, o) {
1115
1115
  return e(s, r, i, o);
1116
1116
  })(le(n(s, i)));
1117
1117
  }, t) : (typeof e == "number" && (t = e), ye(function(s, i) {
1118
- return cl(s, i, n, t);
1118
+ return hl(s, i, n, t);
1119
1119
  }));
1120
1120
  }
1121
- function ul(n) {
1122
- return n === void 0 && (n = 1 / 0), Rs(Lt, n);
1121
+ function dl(n) {
1122
+ return n === void 0 && (n = 1 / 0), Rs(Ot, n);
1123
1123
  }
1124
- var hl = ["addListener", "removeListener"], dl = ["addEventListener", "removeEventListener"], pl = ["on", "off"];
1125
- function nn(n, e, t, s) {
1124
+ var pl = ["addListener", "removeListener"], fl = ["addEventListener", "removeEventListener"], gl = ["on", "off"];
1125
+ function sn(n, e, t, s) {
1126
1126
  if (E(t) && (s = t, t = void 0), s)
1127
- return nn(n, e, t).pipe(ro(s));
1128
- var i = Ne(ml(n) ? dl.map(function(a) {
1127
+ return sn(n, e, t).pipe(oo(s));
1128
+ var i = Ne(bl(n) ? fl.map(function(a) {
1129
1129
  return function(l) {
1130
1130
  return n[a](e, l, t);
1131
1131
  };
1132
- }) : fl(n) ? hl.map(Hi(n, e)) : gl(n) ? pl.map(Hi(n, e)) : [], 2), r = i[0], o = i[1];
1132
+ }) : ml(n) ? pl.map(Bi(n, e)) : vl(n) ? gl.map(Bi(n, e)) : [], 2), r = i[0], o = i[1];
1133
1133
  if (!r && Ts(n))
1134
1134
  return Rs(function(a) {
1135
- return nn(a, e, t);
1135
+ return sn(a, e, t);
1136
1136
  })(le(n));
1137
1137
  if (!r)
1138
1138
  throw new TypeError("Invalid event target");
@@ -1147,29 +1147,29 @@ function nn(n, e, t, s) {
1147
1147
  };
1148
1148
  });
1149
1149
  }
1150
- function Hi(n, e) {
1150
+ function Bi(n, e) {
1151
1151
  return function(t) {
1152
1152
  return function(s) {
1153
1153
  return n[t](e, s);
1154
1154
  };
1155
1155
  };
1156
1156
  }
1157
- function fl(n) {
1157
+ function ml(n) {
1158
1158
  return E(n.addListener) && E(n.removeListener);
1159
1159
  }
1160
- function gl(n) {
1160
+ function vl(n) {
1161
1161
  return E(n.on) && E(n.off);
1162
1162
  }
1163
- function ml(n) {
1163
+ function bl(n) {
1164
1164
  return E(n.addEventListener) && E(n.removeEventListener);
1165
1165
  }
1166
- function vl() {
1166
+ function yl() {
1167
1167
  for (var n = [], e = 0; e < arguments.length; e++)
1168
1168
  n[e] = arguments[e];
1169
- var t = Cs(n), s = Ua(n, 1 / 0), i = n;
1170
- return i.length ? i.length === 1 ? le(i[0]) : ul(s)($n(i, t)) : Ot;
1169
+ var t = Cs(n), s = Ha(n, 1 / 0), i = n;
1170
+ return i.length ? i.length === 1 ? le(i[0]) : dl(s)($n(i, t)) : Pt;
1171
1171
  }
1172
- function bl(n, e) {
1172
+ function $l(n, e) {
1173
1173
  return ye(function(t, s) {
1174
1174
  var i = 0;
1175
1175
  t.subscribe(V(s, function(r) {
@@ -1179,7 +1179,7 @@ function bl(n, e) {
1179
1179
  }
1180
1180
  function Ie(n) {
1181
1181
  return n <= 0 ? function() {
1182
- return Ot;
1182
+ return Pt;
1183
1183
  } : ye(function(e, t) {
1184
1184
  var s = 0;
1185
1185
  e.subscribe(V(t, function(i) {
@@ -1209,20 +1209,20 @@ function as(n) {
1209
1209
  return ye(function(e, t) {
1210
1210
  le(n).subscribe(V(t, function() {
1211
1211
  return t.complete();
1212
- }, en)), !t.closed && e.subscribe(t);
1212
+ }, tn)), !t.closed && e.subscribe(t);
1213
1213
  });
1214
1214
  }
1215
1215
  function ls() {
1216
1216
  for (var n = [], e = 0; e < arguments.length; e++)
1217
1217
  n[e] = arguments[e];
1218
- var t = Gr(n);
1218
+ var t = Zr(n);
1219
1219
  return ye(function(s, i) {
1220
1220
  for (var r = n.length, o = new Array(r), a = n.map(function() {
1221
1221
  return !1;
1222
1222
  }), l = !1, c = function(p) {
1223
1223
  le(n[p]).subscribe(V(i, function(d) {
1224
- o[p] = d, !l && !a[p] && (a[p] = !0, (l = a.every(Lt)) && (a = null));
1225
- }, en));
1224
+ o[p] = d, !l && !a[p] && (a[p] = !0, (l = a.every(Ot)) && (a = null));
1225
+ }, tn));
1226
1226
  }, u = 0; u < r; u++)
1227
1227
  c(u);
1228
1228
  s.subscribe(V(i, function(p) {
@@ -1234,11 +1234,11 @@ function ls() {
1234
1234
  });
1235
1235
  }
1236
1236
  var ve = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System = "system", n))(ve || {});
1237
- const yl = () => "10000000-1000-4000-8000-100000000000".replace(
1237
+ const xl = () => "10000000-1000-4000-8000-100000000000".replace(
1238
1238
  /[018]/g,
1239
1239
  (n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
1240
- ), oo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : yl();
1241
- function Bi(n) {
1240
+ ), ao = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : xl();
1241
+ function Fi(n) {
1242
1242
  let e = n;
1243
1243
  const t = /https?:\/\/[^\s<]+/gi, s = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, i = n.match(t) || [], r = [];
1244
1244
  let o;
@@ -1260,10 +1260,10 @@ function Bi(n) {
1260
1260
  }
1261
1261
  function cs(n) {
1262
1262
  if (n.includes("aceChatGuideTitle"))
1263
- return $l(n);
1263
+ return wl(n);
1264
1264
  const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1265
1265
  return n.replace(e, (t) => {
1266
- const s = ao(t);
1266
+ const s = lo(t);
1267
1267
  if (!s)
1268
1268
  return t;
1269
1269
  const i = 50;
@@ -1283,7 +1283,7 @@ function cs(n) {
1283
1283
  return us(t, s);
1284
1284
  });
1285
1285
  }
1286
- function ao(n) {
1286
+ function lo(n) {
1287
1287
  const e = n.match(/href=["']([^'"]*)["']/);
1288
1288
  if (e && e.length > 1) {
1289
1289
  let t = e[1];
@@ -1294,19 +1294,19 @@ function ao(n) {
1294
1294
  function us(n, e) {
1295
1295
  return n.replace(/>[^<]*<\/a>/, `>${e}</a>`);
1296
1296
  }
1297
- function $l(n) {
1297
+ function wl(n) {
1298
1298
  const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1299
1299
  return n.replace(e, (t) => {
1300
- const s = ao(t);
1300
+ const s = lo(t);
1301
1301
  if (!s)
1302
1302
  return t;
1303
1303
  const i = s.split("?").pop(), o = new URLSearchParams(i).get("aceChatGuideTitle");
1304
1304
  return o ? us(t, o) : t;
1305
1305
  });
1306
1306
  }
1307
- class Pt {
1307
+ class It {
1308
1308
  constructor(e, t, s) {
1309
- this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new I(), this.actions$ = new I(), this.remove$ = new I(), this.timestamp = Date.now(), this.id = oo();
1309
+ this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new I(), this.actions$ = new I(), this.remove$ = new I(), this.timestamp = Date.now(), this.id = ao();
1310
1310
  }
1311
1311
  update(e) {
1312
1312
  this.messages = [
@@ -1322,12 +1322,12 @@ class Pt {
1322
1322
  this.remove$.next();
1323
1323
  }
1324
1324
  }
1325
- class xl {
1325
+ class kl {
1326
1326
  constructor(e) {
1327
1327
  this.name = e, this.print$ = new I();
1328
1328
  }
1329
1329
  print(e, t = "html", s = this.name) {
1330
- const i = new Pt(
1330
+ const i = new It(
1331
1331
  ve.Agent,
1332
1332
  { name: s },
1333
1333
  [
@@ -1342,12 +1342,12 @@ class xl {
1342
1342
  return this.print$.asObservable();
1343
1343
  }
1344
1344
  }
1345
- class wl {
1345
+ class Sl {
1346
1346
  constructor(e) {
1347
1347
  this.name = e, this.print$ = new I();
1348
1348
  }
1349
1349
  print(e) {
1350
- const t = new Pt(
1350
+ const t = new It(
1351
1351
  ve.User,
1352
1352
  { name: this.name },
1353
1353
  [
@@ -1362,12 +1362,12 @@ class wl {
1362
1362
  return this.print$.asObservable();
1363
1363
  }
1364
1364
  }
1365
- class kl {
1365
+ class _l {
1366
1366
  constructor() {
1367
1367
  this.print$ = new I(), this.name = "system";
1368
1368
  }
1369
1369
  print(e) {
1370
- const t = new Pt(
1370
+ const t = new It(
1371
1371
  ve.System,
1372
1372
  { name: this.name },
1373
1373
  [
@@ -1382,7 +1382,7 @@ class kl {
1382
1382
  return this.print$.asObservable();
1383
1383
  }
1384
1384
  }
1385
- class Sl {
1385
+ class El {
1386
1386
  constructor(e, t) {
1387
1387
  this.name = e, this.component = t, this.print$ = new I(), this.typingState$ = new F(!1), this.complete$ = new I(), this.system = this.createSystem(), this.rehydrate$ = new I(), this.saveToCurrentSession$ = new I(), this.showChatOverlay$ = new F(!1), this.onComplete = () => this.complete$.asObservable();
1388
1388
  }
@@ -1399,7 +1399,7 @@ class Sl {
1399
1399
  this.print(ve.User, e.text);
1400
1400
  }
1401
1401
  print(e, t) {
1402
- const s = new Pt(
1402
+ const s = new It(
1403
1403
  e,
1404
1404
  {
1405
1405
  name: ""
@@ -1416,19 +1416,19 @@ class Sl {
1416
1416
  return this.print$.next(e), e;
1417
1417
  }
1418
1418
  createAgent(e) {
1419
- const t = new xl(e);
1419
+ const t = new kl(e);
1420
1420
  return t.subscribe().subscribe((s) => {
1421
1421
  this.playNotification(), this.printEntry(s);
1422
1422
  }), t;
1423
1423
  }
1424
1424
  createUser(e) {
1425
- const t = new wl(e);
1425
+ const t = new Sl(e);
1426
1426
  return t.subscribe().subscribe((s) => {
1427
1427
  this.printEntry(s);
1428
1428
  }), t;
1429
1429
  }
1430
1430
  createSystem() {
1431
- const e = new kl();
1431
+ const e = new _l();
1432
1432
  return e.subscribe().subscribe((t) => {
1433
1433
  this.printEntry(t);
1434
1434
  }), e;
@@ -1464,8 +1464,8 @@ class Sl {
1464
1464
  * Copyright 2019 Google LLC
1465
1465
  * SPDX-License-Identifier: BSD-3-Clause
1466
1466
  */
1467
- const Vt = globalThis, Ls = Vt.ShadowRoot && (Vt.ShadyCSS === void 0 || Vt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Os = Symbol(), Fi = /* @__PURE__ */ new WeakMap();
1468
- let lo = class {
1467
+ const Qt = globalThis, Ls = Qt.ShadowRoot && (Qt.ShadyCSS === void 0 || Qt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Os = Symbol(), ji = /* @__PURE__ */ new WeakMap();
1468
+ let co = class {
1469
1469
  constructor(e, t, s) {
1470
1470
  if (this._$cssResult$ = !0, s !== Os) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1471
1471
  this.cssText = e, this.t = t;
@@ -1475,7 +1475,7 @@ let lo = class {
1475
1475
  const t = this.t;
1476
1476
  if (Ls && e === void 0) {
1477
1477
  const s = t !== void 0 && t.length === 1;
1478
- s && (e = Fi.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && Fi.set(t, e));
1478
+ s && (e = ji.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && ji.set(t, e));
1479
1479
  }
1480
1480
  return e;
1481
1481
  }
@@ -1483,33 +1483,33 @@ let lo = class {
1483
1483
  return this.cssText;
1484
1484
  }
1485
1485
  };
1486
- const _l = (n) => new lo(typeof n == "string" ? n : n + "", void 0, Os), Z = (n, ...e) => {
1486
+ const Al = (n) => new co(typeof n == "string" ? n : n + "", void 0, Os), Z = (n, ...e) => {
1487
1487
  const t = n.length === 1 ? n[0] : e.reduce(((s, i, r) => s + ((o) => {
1488
1488
  if (o._$cssResult$ === !0) return o.cssText;
1489
1489
  if (typeof o == "number") return o;
1490
1490
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1491
1491
  })(i) + n[r + 1]), n[0]);
1492
- return new lo(t, n, Os);
1493
- }, El = (n, e) => {
1492
+ return new co(t, n, Os);
1493
+ }, Cl = (n, e) => {
1494
1494
  if (Ls) n.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
1495
1495
  else for (const t of e) {
1496
- const s = document.createElement("style"), i = Vt.litNonce;
1496
+ const s = document.createElement("style"), i = Qt.litNonce;
1497
1497
  i !== void 0 && s.setAttribute("nonce", i), s.textContent = t.cssText, n.appendChild(s);
1498
1498
  }
1499
- }, ji = Ls ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1499
+ }, qi = Ls ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1500
1500
  let t = "";
1501
1501
  for (const s of e.cssRules) t += s.cssText;
1502
- return _l(t);
1502
+ return Al(t);
1503
1503
  })(n) : n;
1504
1504
  /**
1505
1505
  * @license
1506
1506
  * Copyright 2017 Google LLC
1507
1507
  * SPDX-License-Identifier: BSD-3-Clause
1508
1508
  */
1509
- const { is: Al, defineProperty: Cl, getOwnPropertyDescriptor: Tl, getOwnPropertyNames: Rl, getOwnPropertySymbols: Ll, getPrototypeOf: Ol } = Object, Se = globalThis, qi = Se.trustedTypes, Pl = qi ? qi.emptyScript : "", qn = Se.reactiveElementPolyfillSupport, $t = (n, e) => n, sn = { toAttribute(n, e) {
1509
+ const { is: Tl, defineProperty: Rl, getOwnPropertyDescriptor: Ll, getOwnPropertyNames: Ol, getOwnPropertySymbols: Pl, getPrototypeOf: Il } = Object, Se = globalThis, Wi = Se.trustedTypes, Ml = Wi ? Wi.emptyScript : "", qn = Se.reactiveElementPolyfillSupport, $t = (n, e) => n, rn = { toAttribute(n, e) {
1510
1510
  switch (e) {
1511
1511
  case Boolean:
1512
- n = n ? Pl : null;
1512
+ n = n ? Ml : null;
1513
1513
  break;
1514
1514
  case Object:
1515
1515
  case Array:
@@ -1534,7 +1534,7 @@ const { is: Al, defineProperty: Cl, getOwnPropertyDescriptor: Tl, getOwnProperty
1534
1534
  }
1535
1535
  }
1536
1536
  return t;
1537
- } }, Ps = (n, e) => !Al(n, e), Wi = { attribute: !0, type: String, converter: sn, reflect: !1, useDefault: !1, hasChanged: Ps };
1537
+ } }, Ps = (n, e) => !Tl(n, e), Gi = { attribute: !0, type: String, converter: rn, reflect: !1, useDefault: !1, hasChanged: Ps };
1538
1538
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Se.litPropertyMetadata ?? (Se.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1539
1539
  let Ye = class extends HTMLElement {
1540
1540
  static addInitializer(e) {
@@ -1543,14 +1543,14 @@ let Ye = class extends HTMLElement {
1543
1543
  static get observedAttributes() {
1544
1544
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1545
1545
  }
1546
- static createProperty(e, t = Wi) {
1546
+ static createProperty(e, t = Gi) {
1547
1547
  if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
1548
1548
  const s = Symbol(), i = this.getPropertyDescriptor(e, s, t);
1549
- i !== void 0 && Cl(this.prototype, e, i);
1549
+ i !== void 0 && Rl(this.prototype, e, i);
1550
1550
  }
1551
1551
  }
1552
1552
  static getPropertyDescriptor(e, t, s) {
1553
- const { get: i, set: r } = Tl(this.prototype, e) ?? { get() {
1553
+ const { get: i, set: r } = Ll(this.prototype, e) ?? { get() {
1554
1554
  return this[t];
1555
1555
  }, set(o) {
1556
1556
  this[t] = o;
@@ -1561,17 +1561,17 @@ let Ye = class extends HTMLElement {
1561
1561
  }, configurable: !0, enumerable: !0 };
1562
1562
  }
1563
1563
  static getPropertyOptions(e) {
1564
- return this.elementProperties.get(e) ?? Wi;
1564
+ return this.elementProperties.get(e) ?? Gi;
1565
1565
  }
1566
1566
  static _$Ei() {
1567
1567
  if (this.hasOwnProperty($t("elementProperties"))) return;
1568
- const e = Ol(this);
1568
+ const e = Il(this);
1569
1569
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1570
1570
  }
1571
1571
  static finalize() {
1572
1572
  if (this.hasOwnProperty($t("finalized"))) return;
1573
1573
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty($t("properties"))) {
1574
- const t = this.properties, s = [...Rl(t), ...Ll(t)];
1574
+ const t = this.properties, s = [...Ol(t), ...Pl(t)];
1575
1575
  for (const i of s) this.createProperty(i, t[i]);
1576
1576
  }
1577
1577
  const e = this[Symbol.metadata];
@@ -1590,8 +1590,8 @@ let Ye = class extends HTMLElement {
1590
1590
  const t = [];
1591
1591
  if (Array.isArray(e)) {
1592
1592
  const s = new Set(e.flat(1 / 0).reverse());
1593
- for (const i of s) t.unshift(ji(i));
1594
- } else e !== void 0 && t.push(ji(e));
1593
+ for (const i of s) t.unshift(qi(i));
1594
+ } else e !== void 0 && t.push(qi(e));
1595
1595
  return t;
1596
1596
  }
1597
1597
  static _$Eu(e, t) {
@@ -1620,7 +1620,7 @@ let Ye = class extends HTMLElement {
1620
1620
  }
1621
1621
  createRenderRoot() {
1622
1622
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1623
- return El(e, this.constructor.elementStyles), e;
1623
+ return Cl(e, this.constructor.elementStyles), e;
1624
1624
  }
1625
1625
  connectedCallback() {
1626
1626
  var e;
@@ -1645,7 +1645,7 @@ let Ye = class extends HTMLElement {
1645
1645
  var r;
1646
1646
  const s = this.constructor.elementProperties.get(e), i = this.constructor._$Eu(e, s);
1647
1647
  if (i !== void 0 && s.reflect === !0) {
1648
- const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : sn).toAttribute(t, s.type);
1648
+ const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : rn).toAttribute(t, s.type);
1649
1649
  this._$Em = e, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
1650
1650
  }
1651
1651
  }
@@ -1653,7 +1653,7 @@ let Ye = class extends HTMLElement {
1653
1653
  var r, o;
1654
1654
  const s = this.constructor, i = s._$Eh.get(e);
1655
1655
  if (i !== void 0 && this._$Em !== i) {
1656
- const a = s.getPropertyOptions(i), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : sn;
1656
+ const a = s.getPropertyOptions(i), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : rn;
1657
1657
  this._$Em = i;
1658
1658
  const c = l.fromAttribute(t, a.type);
1659
1659
  this[i] = c ?? ((o = this._$Ej) == null ? void 0 : o.get(i)) ?? c, this._$Em = null;
@@ -1745,50 +1745,50 @@ Ye.elementStyles = [], Ye.shadowRootOptions = { mode: "open" }, Ye[$t("elementPr
1745
1745
  * Copyright 2017 Google LLC
1746
1746
  * SPDX-License-Identifier: BSD-3-Clause
1747
1747
  */
1748
- const xt = globalThis, rn = xt.trustedTypes, Gi = rn ? rn.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, co = "$lit$", we = `lit$${Math.random().toFixed(9).slice(2)}$`, uo = "?" + we, Il = `<${uo}>`, De = document, St = () => De.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Is = Array.isArray, Ml = (n) => Is(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Wn = `[
1749
- \f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Zi = /-->/g, Yi = />/g, Le = RegExp(`>|${Wn}(?:([^\\s"'>=/]+)(${Wn}*=${Wn}*(?:[^
1750
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Xi = /'/g, Ki = /"/g, ho = /^(?:script|style|textarea|title)$/i, Nl = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = Nl(1), _e = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), Vi = /* @__PURE__ */ new WeakMap(), Pe = De.createTreeWalker(De, 129);
1751
- function po(n, e) {
1748
+ const xt = globalThis, on = xt.trustedTypes, Zi = on ? on.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, uo = "$lit$", we = `lit$${Math.random().toFixed(9).slice(2)}$`, ho = "?" + we, Nl = `<${ho}>`, De = document, St = () => De.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Is = Array.isArray, Dl = (n) => Is(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Wn = `[
1749
+ \f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yi = /-->/g, Xi = />/g, Le = RegExp(`>|${Wn}(?:([^\\s"'>=/]+)(${Wn}*=${Wn}*(?:[^
1750
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ki = /'/g, Vi = /"/g, po = /^(?:script|style|textarea|title)$/i, Ul = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = Ul(1), _e = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), Qi = /* @__PURE__ */ new WeakMap(), Pe = De.createTreeWalker(De, 129);
1751
+ function fo(n, e) {
1752
1752
  if (!Is(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1753
- return Gi !== void 0 ? Gi.createHTML(e) : e;
1753
+ return Zi !== void 0 ? Zi.createHTML(e) : e;
1754
1754
  }
1755
- const Dl = (n, e) => {
1755
+ const zl = (n, e) => {
1756
1756
  const t = n.length - 1, s = [];
1757
1757
  let i, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = dt;
1758
1758
  for (let a = 0; a < t; a++) {
1759
1759
  const l = n[a];
1760
1760
  let c, u, p = -1, d = 0;
1761
- for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === dt ? u[1] === "!--" ? o = Zi : u[1] !== void 0 ? o = Yi : u[2] !== void 0 ? (ho.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = Le) : u[3] !== void 0 && (o = Le) : o === Le ? u[0] === ">" ? (o = i ?? dt, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Le : u[3] === '"' ? Ki : Xi) : o === Ki || o === Xi ? o = Le : o === Zi || o === Yi ? o = dt : (o = Le, i = void 0);
1761
+ for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === dt ? u[1] === "!--" ? o = Yi : u[1] !== void 0 ? o = Xi : u[2] !== void 0 ? (po.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = Le) : u[3] !== void 0 && (o = Le) : o === Le ? u[0] === ">" ? (o = i ?? dt, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Le : u[3] === '"' ? Vi : Ki) : o === Vi || o === Ki ? o = Le : o === Yi || o === Xi ? o = dt : (o = Le, i = void 0);
1762
1762
  const g = o === Le && n[a + 1].startsWith("/>") ? " " : "";
1763
- r += o === dt ? l + Il : p >= 0 ? (s.push(c), l.slice(0, p) + co + l.slice(p) + we + g) : l + we + (p === -2 ? a : g);
1763
+ r += o === dt ? l + Nl : p >= 0 ? (s.push(c), l.slice(0, p) + uo + l.slice(p) + we + g) : l + we + (p === -2 ? a : g);
1764
1764
  }
1765
- return [po(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1765
+ return [fo(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1766
1766
  };
1767
- let hs = class fo {
1767
+ let hs = class go {
1768
1768
  constructor({ strings: e, _$litType$: t }, s) {
1769
1769
  let i;
1770
1770
  this.parts = [];
1771
1771
  let r = 0, o = 0;
1772
- const a = e.length - 1, l = this.parts, [c, u] = Dl(e, t);
1773
- if (this.el = fo.createElement(c, s), Pe.currentNode = this.el.content, t === 2 || t === 3) {
1772
+ const a = e.length - 1, l = this.parts, [c, u] = zl(e, t);
1773
+ if (this.el = go.createElement(c, s), Pe.currentNode = this.el.content, t === 2 || t === 3) {
1774
1774
  const p = this.el.content.firstChild;
1775
1775
  p.replaceWith(...p.childNodes);
1776
1776
  }
1777
1777
  for (; (i = Pe.nextNode()) !== null && l.length < a; ) {
1778
1778
  if (i.nodeType === 1) {
1779
- if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(co)) {
1779
+ if (i.hasAttributes()) for (const p of i.getAttributeNames()) if (p.endsWith(uo)) {
1780
1780
  const d = u[o++], g = i.getAttribute(p).split(we), m = /([.?@])?(.*)/.exec(d);
1781
- l.push({ type: 1, index: r, name: m[2], strings: g, ctor: m[1] === "." ? zl : m[1] === "?" ? Hl : m[1] === "@" ? Bl : xn }), i.removeAttribute(p);
1781
+ l.push({ type: 1, index: r, name: m[2], strings: g, ctor: m[1] === "." ? Bl : m[1] === "?" ? Fl : m[1] === "@" ? jl : xn }), i.removeAttribute(p);
1782
1782
  } else p.startsWith(we) && (l.push({ type: 6, index: r }), i.removeAttribute(p));
1783
- if (ho.test(i.tagName)) {
1783
+ if (po.test(i.tagName)) {
1784
1784
  const p = i.textContent.split(we), d = p.length - 1;
1785
1785
  if (d > 0) {
1786
- i.textContent = rn ? rn.emptyScript : "";
1786
+ i.textContent = on ? on.emptyScript : "";
1787
1787
  for (let g = 0; g < d; g++) i.append(p[g], St()), Pe.nextNode(), l.push({ type: 2, index: ++r });
1788
1788
  i.append(p[d], St());
1789
1789
  }
1790
1790
  }
1791
- } else if (i.nodeType === 8) if (i.data === uo) l.push({ type: 2, index: r });
1791
+ } else if (i.nodeType === 8) if (i.data === ho) l.push({ type: 2, index: r });
1792
1792
  else {
1793
1793
  let p = -1;
1794
1794
  for (; (p = i.data.indexOf(we, p + 1)) !== -1; ) l.push({ type: 7, index: r }), p += we.length - 1;
@@ -1808,7 +1808,7 @@ function it(n, e, t = n, s) {
1808
1808
  const r = _t(e) ? void 0 : e._$litDirective$;
1809
1809
  return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(n), i._$AT(n, t, s)), s !== void 0 ? (t._$Co ?? (t._$Co = []))[s] = i : t._$Cl = i), i !== void 0 && (e = it(n, i._$AS(n, e.values), i, s)), e;
1810
1810
  }
1811
- class Ul {
1811
+ class Hl {
1812
1812
  constructor(e, t) {
1813
1813
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
1814
1814
  }
@@ -1825,7 +1825,7 @@ class Ul {
1825
1825
  for (; l !== void 0; ) {
1826
1826
  if (o === l.index) {
1827
1827
  let c;
1828
- l.type === 2 ? c = new It(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Fl(r, this, e)), this._$AV.push(c), l = s[++a];
1828
+ l.type === 2 ? c = new Mt(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new ql(r, this, e)), this._$AV.push(c), l = s[++a];
1829
1829
  }
1830
1830
  o !== (l == null ? void 0 : l.index) && (r = Pe.nextNode(), o++);
1831
1831
  }
@@ -1836,7 +1836,7 @@ class Ul {
1836
1836
  for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(e, s, t), t += s.strings.length - 2) : s._$AI(e[t])), t++;
1837
1837
  }
1838
1838
  }
1839
- class It {
1839
+ class Mt {
1840
1840
  get _$AU() {
1841
1841
  var e;
1842
1842
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -1856,7 +1856,7 @@ class It {
1856
1856
  return this._$AB;
1857
1857
  }
1858
1858
  _$AI(e, t = this) {
1859
- e = it(this, e, t), _t(e) ? e === x || e == null || e === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : e !== this._$AH && e !== _e && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Ml(e) ? this.k(e) : this._(e);
1859
+ e = it(this, e, t), _t(e) ? e === x || e == null || e === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : e !== this._$AH && e !== _e && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Dl(e) ? this.k(e) : this._(e);
1860
1860
  }
1861
1861
  O(e) {
1862
1862
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -1869,22 +1869,22 @@ class It {
1869
1869
  }
1870
1870
  $(e) {
1871
1871
  var r;
1872
- const { values: t, _$litType$: s } = e, i = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = hs.createElement(po(s.h, s.h[0]), this.options)), s);
1872
+ const { values: t, _$litType$: s } = e, i = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = hs.createElement(fo(s.h, s.h[0]), this.options)), s);
1873
1873
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(t);
1874
1874
  else {
1875
- const o = new Ul(i, this), a = o.u(this.options);
1875
+ const o = new Hl(i, this), a = o.u(this.options);
1876
1876
  o.p(t), this.T(a), this._$AH = o;
1877
1877
  }
1878
1878
  }
1879
1879
  _$AC(e) {
1880
- let t = Vi.get(e.strings);
1881
- return t === void 0 && Vi.set(e.strings, t = new hs(e)), t;
1880
+ let t = Qi.get(e.strings);
1881
+ return t === void 0 && Qi.set(e.strings, t = new hs(e)), t;
1882
1882
  }
1883
1883
  k(e) {
1884
1884
  Is(this._$AH) || (this._$AH = [], this._$AR());
1885
1885
  const t = this._$AH;
1886
1886
  let s, i = 0;
1887
- for (const r of e) i === t.length ? t.push(s = new It(this.O(St()), this.O(St()), this, this.options)) : s = t[i], s._$AI(r), i++;
1887
+ for (const r of e) i === t.length ? t.push(s = new Mt(this.O(St()), this.O(St()), this, this.options)) : s = t[i], s._$AI(r), i++;
1888
1888
  i < t.length && (this._$AR(s && s._$AB.nextSibling, i), t.length = i);
1889
1889
  }
1890
1890
  _$AR(e = this._$AA.nextSibling, t) {
@@ -1924,7 +1924,7 @@ class xn {
1924
1924
  e === x ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
1925
1925
  }
1926
1926
  }
1927
- let zl = class extends xn {
1927
+ let Bl = class extends xn {
1928
1928
  constructor() {
1929
1929
  super(...arguments), this.type = 3;
1930
1930
  }
@@ -1932,7 +1932,7 @@ let zl = class extends xn {
1932
1932
  this.element[this.name] = e === x ? void 0 : e;
1933
1933
  }
1934
1934
  };
1935
- class Hl extends xn {
1935
+ class Fl extends xn {
1936
1936
  constructor() {
1937
1937
  super(...arguments), this.type = 4;
1938
1938
  }
@@ -1940,7 +1940,7 @@ class Hl extends xn {
1940
1940
  this.element.toggleAttribute(this.name, !!e && e !== x);
1941
1941
  }
1942
1942
  }
1943
- class Bl extends xn {
1943
+ class jl extends xn {
1944
1944
  constructor(e, t, s, i, r) {
1945
1945
  super(e, t, s, i, r), this.type = 5;
1946
1946
  }
@@ -1954,7 +1954,7 @@ class Bl extends xn {
1954
1954
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
1955
1955
  }
1956
1956
  }
1957
- class Fl {
1957
+ class ql {
1958
1958
  constructor(e, t, s) {
1959
1959
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = s;
1960
1960
  }
@@ -1966,13 +1966,13 @@ class Fl {
1966
1966
  }
1967
1967
  }
1968
1968
  const Gn = xt.litHtmlPolyfillSupport;
1969
- Gn == null || Gn(hs, It), (xt.litHtmlVersions ?? (xt.litHtmlVersions = [])).push("3.3.1");
1970
- const jl = (n, e, t) => {
1969
+ Gn == null || Gn(hs, Mt), (xt.litHtmlVersions ?? (xt.litHtmlVersions = [])).push("3.3.1");
1970
+ const Wl = (n, e, t) => {
1971
1971
  const s = (t == null ? void 0 : t.renderBefore) ?? e;
1972
1972
  let i = s._$litPart$;
1973
1973
  if (i === void 0) {
1974
1974
  const r = (t == null ? void 0 : t.renderBefore) ?? null;
1975
- s._$litPart$ = i = new It(e.insertBefore(St(), r), r, void 0, t ?? {});
1975
+ s._$litPart$ = i = new Mt(e.insertBefore(St(), r), r, void 0, t ?? {});
1976
1976
  }
1977
1977
  return i._$AI(n), i;
1978
1978
  };
@@ -1993,7 +1993,7 @@ let M = class extends Ye {
1993
1993
  }
1994
1994
  update(e) {
1995
1995
  const t = this.render();
1996
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = jl(t, this.renderRoot, this.renderOptions);
1996
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Wl(t, this.renderRoot, this.renderOptions);
1997
1997
  }
1998
1998
  connectedCallback() {
1999
1999
  var e;
@@ -2007,12 +2007,12 @@ let M = class extends Ye {
2007
2007
  return _e;
2008
2008
  }
2009
2009
  };
2010
- var Hr;
2011
- M._$litElement$ = !0, M.finalized = !0, (Hr = Me.litElementHydrateSupport) == null || Hr.call(Me, { LitElement: M });
2010
+ var Br;
2011
+ M._$litElement$ = !0, M.finalized = !0, (Br = Me.litElementHydrateSupport) == null || Br.call(Me, { LitElement: M });
2012
2012
  const Zn = Me.litElementPolyfillSupport;
2013
2013
  Zn == null || Zn({ LitElement: M });
2014
2014
  (Me.litElementVersions ?? (Me.litElementVersions = [])).push("4.2.1");
2015
- const ql = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Wl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Gl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Zl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, Yl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, Qi = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Xl = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, Kl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, Ji = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Xe = {
2015
+ const Gl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Zl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Yl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Xl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, Kl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, Ji = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Vl = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, Ql = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, er = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Xe = {
2016
2016
  allRenderFn: !1,
2017
2017
  cmpDidLoad: !0,
2018
2018
  cmpDidUnload: !1,
@@ -2096,8 +2096,8 @@ const ql = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
2096
2096
  transformTagName: !1,
2097
2097
  attachStyles: !0
2098
2098
  };
2099
- let Ke, go, wn, mo = !1, on = !1, Ms = !1, K = !1, er = null, ds = !1;
2100
- const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} }, vo = kn.HTMLElement || class {
2099
+ let Ke, mo, wn, vo = !1, an = !1, Ms = !1, K = !1, tr = null, ds = !1;
2100
+ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} }, bo = kn.HTMLElement || class {
2101
2101
  }, q = {
2102
2102
  $flags$: 0,
2103
2103
  $resourcesUrl$: "",
@@ -2106,7 +2106,7 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2106
2106
  ael: (n, e, t, s) => n.addEventListener(e, t, s),
2107
2107
  rel: (n, e, t, s) => n.removeEventListener(e, t, s),
2108
2108
  ce: (n, e) => new CustomEvent(n, e)
2109
- }, Vl = /* @__PURE__ */ (() => {
2109
+ }, Jl = /* @__PURE__ */ (() => {
2110
2110
  let n = !1;
2111
2111
  try {
2112
2112
  ae.addEventListener("e", null, Object.defineProperty({}, "passive", {
@@ -2117,47 +2117,47 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2117
2117
  } catch {
2118
2118
  }
2119
2119
  return n;
2120
- })(), Ql = (n) => Promise.resolve(n), Jl = /* @__PURE__ */ (() => {
2120
+ })(), ec = (n) => Promise.resolve(n), tc = /* @__PURE__ */ (() => {
2121
2121
  try {
2122
2122
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
2123
2123
  } catch {
2124
2124
  }
2125
2125
  return !1;
2126
- })(), bo = (n, e, t, s) => {
2126
+ })(), yo = (n, e, t, s) => {
2127
2127
  t && t.map(([i, r, o]) => {
2128
- const a = tc(n, i), l = ec(e, o), c = nc(i);
2128
+ const a = sc(n, i), l = nc(e, o), c = ic(i);
2129
2129
  q.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => q.rel(a, r, l, c));
2130
2130
  });
2131
- }, ec = (n, e) => (t) => {
2131
+ }, nc = (n, e) => (t) => {
2132
2132
  try {
2133
2133
  Xe.lazyLoad || n.$hostElement$[e](t);
2134
2134
  } catch (s) {
2135
- Mt(s);
2135
+ Nt(s);
2136
2136
  }
2137
- }, tc = (n, e) => e & 4 ? ae : e & 8 ? kn : e & 16 ? ae.body : n, nc = (n) => Vl ? {
2137
+ }, sc = (n, e) => e & 4 ? ae : e & 8 ? kn : e & 16 ? ae.body : n, ic = (n) => Jl ? {
2138
2138
  passive: (n & 1) !== 0,
2139
2139
  capture: (n & 2) !== 0
2140
- } : (n & 2) !== 0, tr = "http://www.w3.org/1999/xlink", Ue = (n, e = "") => () => {
2141
- }, nr = /* @__PURE__ */ new WeakMap(), sc = (n, e, t) => {
2142
- let s = cn.get(n);
2143
- Jl && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, cn.set(n, s);
2144
- }, ic = (n, e, t, s) => {
2145
- let i = yo(e, t), r = cn.get(i);
2140
+ } : (n & 2) !== 0, nr = "http://www.w3.org/1999/xlink", Ue = (n, e = "") => () => {
2141
+ }, sr = /* @__PURE__ */ new WeakMap(), rc = (n, e, t) => {
2142
+ let s = un.get(n);
2143
+ tc && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, un.set(n, s);
2144
+ }, oc = (n, e, t, s) => {
2145
+ let i = $o(e, t), r = un.get(i);
2146
2146
  if (n = n.nodeType === 11 ? n : ae, r)
2147
2147
  if (typeof r == "string") {
2148
2148
  n = n.head || n;
2149
- let o = nr.get(n), a;
2150
- o || nr.set(n, o = /* @__PURE__ */ new Set()), o.has(i) || (a = ae.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(i));
2149
+ let o = sr.get(n), a;
2150
+ o || sr.set(n, o = /* @__PURE__ */ new Set()), o.has(i) || (a = ae.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(i));
2151
2151
  } else n.adoptedStyleSheets.includes(r) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, r]);
2152
2152
  return i;
2153
- }, rc = (n) => {
2154
- const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, i = Ue("attachStyles", e.$tagName$), r = ic(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2153
+ }, ac = (n) => {
2154
+ const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, i = Ue("attachStyles", e.$tagName$), r = oc(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2155
2155
  s & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), s & 2 && t.classList.add(r + "-s")), i();
2156
- }, yo = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), oc = (n) => Ic.map((e) => e(n)).find((e) => !!e), sr = {}, ac = "http://www.w3.org/2000/svg", lc = "http://www.w3.org/1999/xhtml", cc = (n) => n != null, Ns = (n) => (n = typeof n, n === "object" || n === "function"), et = (n, e, ...t) => {
2156
+ }, $o = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), lc = (n) => Nc.map((e) => e(n)).find((e) => !!e), ir = {}, cc = "http://www.w3.org/2000/svg", uc = "http://www.w3.org/1999/xhtml", hc = (n) => n != null, Ns = (n) => (n = typeof n, n === "object" || n === "function"), et = (n, e, ...t) => {
2157
2157
  let s = null, i = null, r = null, o = !1, a = !1, l = [];
2158
2158
  const c = (p) => {
2159
2159
  for (let d = 0; d < p.length; d++)
2160
- s = p[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !Ns(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? an(null, s) : s), a = o);
2160
+ s = p[d], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !Ns(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? ln(null, s) : s), a = o);
2161
2161
  };
2162
2162
  if (c(t), e) {
2163
2163
  e.key && (i = e.key), e.name && (r = e.name);
@@ -2167,10 +2167,10 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2167
2167
  }
2168
2168
  }
2169
2169
  if (typeof n == "function")
2170
- return n(e === null ? {} : e, l, hc);
2171
- const u = an(n, null);
2170
+ return n(e === null ? {} : e, l, pc);
2171
+ const u = ln(n, null);
2172
2172
  return u.$attrs$ = e, l.length > 0 && (u.$children$ = l), u.$key$ = i, u.$name$ = r, u;
2173
- }, an = (n, e) => {
2173
+ }, ln = (n, e) => {
2174
2174
  const t = {
2175
2175
  $flags$: 0,
2176
2176
  $tag$: n,
@@ -2179,28 +2179,28 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2179
2179
  $children$: null
2180
2180
  };
2181
2181
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2182
- }, Ds = {}, uc = (n) => n && n.$tag$ === Ds, hc = {
2183
- forEach: (n, e) => n.map(ir).forEach(e),
2184
- map: (n, e) => n.map(ir).map(e).map(dc)
2185
- }, ir = (n) => ({
2182
+ }, Ds = {}, dc = (n) => n && n.$tag$ === Ds, pc = {
2183
+ forEach: (n, e) => n.map(rr).forEach(e),
2184
+ map: (n, e) => n.map(rr).map(e).map(fc)
2185
+ }, rr = (n) => ({
2186
2186
  vattrs: n.$attrs$,
2187
2187
  vchildren: n.$children$,
2188
2188
  vkey: n.$key$,
2189
2189
  vname: n.$name$,
2190
2190
  vtag: n.$tag$,
2191
2191
  vtext: n.$text$
2192
- }), dc = (n) => {
2192
+ }), fc = (n) => {
2193
2193
  if (typeof n.vtag == "function") {
2194
2194
  const t = Object.assign({}, n.vattrs);
2195
2195
  return n.vkey && (t.key = n.vkey), n.vname && (t.name = n.vname), et(n.vtag, t, ...n.vchildren || []);
2196
2196
  }
2197
- const e = an(n.vtag, n.vtext);
2197
+ const e = ln(n.vtag, n.vtext);
2198
2198
  return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
2199
- }, rr = (n, e, t, s, i, r) => {
2199
+ }, or = (n, e, t, s, i, r) => {
2200
2200
  if (t !== s) {
2201
- let o = cr(n, e), a = e.toLowerCase();
2201
+ let o = ur(n, e), a = e.toLowerCase();
2202
2202
  if (e === "class") {
2203
- const l = n.classList, c = or(t), u = or(s);
2203
+ const l = n.classList, c = ar(t), u = ar(s);
2204
2204
  l.remove(...c.filter((p) => p && !u.includes(p))), l.add(...u.filter((p) => p && !c.includes(p)));
2205
2205
  } else if (e === "style") {
2206
2206
  for (const l in t)
@@ -2211,7 +2211,7 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2211
2211
  if (e === "ref")
2212
2212
  s && s(n);
2213
2213
  else if (!n.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
2214
- e[2] === "-" ? e = e.slice(3) : cr(kn, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && q.rel(n, e, t, !1), s && q.ael(n, e, s, !1);
2214
+ e[2] === "-" ? e = e.slice(3) : ur(kn, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && q.rel(n, e, t, !1), s && q.ael(n, e, s, !1);
2215
2215
  else {
2216
2216
  const l = Ns(s);
2217
2217
  if ((o || l && s !== null) && !i)
@@ -2225,18 +2225,18 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2225
2225
  } catch {
2226
2226
  }
2227
2227
  let c = !1;
2228
- a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(tr, e) : n.removeAttribute(e)) : (!o || r & 4 || i) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(tr, e, s) : n.setAttribute(e, s));
2228
+ a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(nr, e) : n.removeAttribute(e)) : (!o || r & 4 || i) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(nr, e, s) : n.setAttribute(e, s));
2229
2229
  }
2230
2230
  }
2231
- }, pc = /\s/, or = (n) => n ? n.split(pc) : [], $o = (n, e, t, s) => {
2232
- const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ || sr, o = e.$attrs$ || sr;
2231
+ }, gc = /\s/, ar = (n) => n ? n.split(gc) : [], xo = (n, e, t, s) => {
2232
+ const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = n && n.$attrs$ || ir, o = e.$attrs$ || ir;
2233
2233
  for (s in r)
2234
- s in o || rr(i, s, r[s], void 0, t, e.$flags$);
2234
+ s in o || or(i, s, r[s], void 0, t, e.$flags$);
2235
2235
  for (s in o)
2236
- rr(i, s, r[s], o[s], t, e.$flags$);
2237
- }, ln = (n, e, t, s) => {
2236
+ or(i, s, r[s], o[s], t, e.$flags$);
2237
+ }, cn = (n, e, t, s) => {
2238
2238
  let i = e.$children$[t], r = 0, o, a, l;
2239
- if (mo || (Ms = !0, i.$tag$ === "slot" && (Ke && s.classList.add(Ke + "-s"), i.$flags$ |= i.$children$ ? (
2239
+ if (vo || (Ms = !0, i.$tag$ === "slot" && (Ke && s.classList.add(Ke + "-s"), i.$flags$ |= i.$children$ ? (
2240
2240
  // slot element has fallback content
2241
2241
  2
2242
2242
  ) : (
@@ -2247,28 +2247,28 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2247
2247
  else if (i.$flags$ & 1)
2248
2248
  o = i.$elm$ = ae.createTextNode("");
2249
2249
  else {
2250
- if (K || (K = i.$tag$ === "svg"), o = i.$elm$ = ae.createElementNS(K ? ac : lc, i.$flags$ & 2 ? "slot-fb" : i.$tag$), K && i.$tag$ === "foreignObject" && (K = !1), $o(null, i, K), cc(Ke) && o["s-si"] !== Ke && o.classList.add(o["s-si"] = Ke), i.$children$)
2250
+ if (K || (K = i.$tag$ === "svg"), o = i.$elm$ = ae.createElementNS(K ? cc : uc, i.$flags$ & 2 ? "slot-fb" : i.$tag$), K && i.$tag$ === "foreignObject" && (K = !1), xo(null, i, K), hc(Ke) && o["s-si"] !== Ke && o.classList.add(o["s-si"] = Ke), i.$children$)
2251
2251
  for (r = 0; r < i.$children$.length; ++r)
2252
- a = ln(n, i, r, o), a && o.appendChild(a);
2252
+ a = cn(n, i, r, o), a && o.appendChild(a);
2253
2253
  i.$tag$ === "svg" ? K = !1 : o.tagName === "foreignObject" && (K = !0);
2254
2254
  }
2255
- return o["s-hn"] = wn, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = go, o["s-sn"] = i.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === i.$tag$ && n.$elm$ && Et(n.$elm$, !1)), o;
2255
+ return o["s-hn"] = wn, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = mo, o["s-sn"] = i.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === i.$tag$ && n.$elm$ && Et(n.$elm$, !1)), o;
2256
2256
  }, Et = (n, e) => {
2257
2257
  q.$flags$ |= 1;
2258
2258
  const t = n.childNodes;
2259
2259
  for (let s = t.length - 1; s >= 0; s--) {
2260
2260
  const i = t[s];
2261
- i["s-hn"] !== wn && i["s-ol"] && (ko(i).insertBefore(i, Us(i)), i["s-ol"].remove(), i["s-ol"] = void 0, Ms = !0), e && Et(i, e);
2261
+ i["s-hn"] !== wn && i["s-ol"] && (So(i).insertBefore(i, Us(i)), i["s-ol"].remove(), i["s-ol"] = void 0, Ms = !0), e && Et(i, e);
2262
2262
  }
2263
2263
  q.$flags$ &= -2;
2264
- }, xo = (n, e, t, s, i, r) => {
2264
+ }, wo = (n, e, t, s, i, r) => {
2265
2265
  let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
2266
2266
  for (o.shadowRoot && o.tagName === wn && (o = o.shadowRoot); i <= r; ++i)
2267
- s[i] && (a = ln(null, t, i, n), a && (s[i].$elm$ = a, o.insertBefore(a, Us(e))));
2268
- }, wo = (n, e, t, s, i) => {
2267
+ s[i] && (a = cn(null, t, i, n), a && (s[i].$elm$ = a, o.insertBefore(a, Us(e))));
2268
+ }, ko = (n, e, t, s, i) => {
2269
2269
  for (; e <= t; ++e)
2270
- (s = n[e]) && (i = s.$elm$, Eo(s), on = !0, i["s-ol"] ? i["s-ol"].remove() : Et(i, !0), i.remove());
2271
- }, fc = (n, e, t, s) => {
2270
+ (s = n[e]) && (i = s.$elm$, Ao(s), an = !0, i["s-ol"] ? i["s-ol"].remove() : Et(i, !0), i.remove());
2271
+ }, mc = (n, e, t, s) => {
2272
2272
  let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], u = e[l], p = s.length - 1, d = s[0], g = s[p], m, y;
2273
2273
  for (; i <= l && r <= p; )
2274
2274
  if (c == null)
@@ -2279,13 +2279,13 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2279
2279
  d = s[++r];
2280
2280
  else if (g == null)
2281
2281
  g = s[--p];
2282
- else if (Gt(c, d))
2282
+ else if (Zt(c, d))
2283
2283
  Ve(c, d), c = e[++i], d = s[++r];
2284
- else if (Gt(u, g))
2284
+ else if (Zt(u, g))
2285
2285
  Ve(u, g), u = e[--l], g = s[--p];
2286
- else if (Gt(c, g))
2286
+ else if (Zt(c, g))
2287
2287
  (c.$tag$ === "slot" || g.$tag$ === "slot") && Et(c.$elm$.parentNode, !1), Ve(c, g), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = e[++i], g = s[--p];
2288
- else if (Gt(u, d))
2288
+ else if (Zt(u, d))
2289
2289
  (c.$tag$ === "slot" || g.$tag$ === "slot") && Et(u.$elm$.parentNode, !1), Ve(u, d), n.insertBefore(u.$elm$, c.$elm$), u = e[--l], d = s[++r];
2290
2290
  else {
2291
2291
  for (o = -1, a = i; a <= l; ++a)
@@ -2293,14 +2293,14 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2293
2293
  o = a;
2294
2294
  break;
2295
2295
  }
2296
- o >= 0 ? (y = e[o], y.$tag$ !== d.$tag$ ? m = ln(e && e[r], t, o, n) : (Ve(y, d), e[o] = void 0, m = y.$elm$), d = s[++r]) : (m = ln(e && e[r], t, r, n), d = s[++r]), m && ko(c.$elm$).insertBefore(m, Us(c.$elm$));
2296
+ o >= 0 ? (y = e[o], y.$tag$ !== d.$tag$ ? m = cn(e && e[r], t, o, n) : (Ve(y, d), e[o] = void 0, m = y.$elm$), d = s[++r]) : (m = cn(e && e[r], t, r, n), d = s[++r]), m && So(c.$elm$).insertBefore(m, Us(c.$elm$));
2297
2297
  }
2298
- i > l ? xo(n, s[p + 1] == null ? null : s[p + 1].$elm$, t, s, r, p) : r > p && wo(e, i, l);
2299
- }, Gt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Us = (n) => n && n["s-ol"] || n, ko = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ve = (n, e) => {
2298
+ i > l ? wo(n, s[p + 1] == null ? null : s[p + 1].$elm$, t, s, r, p) : r > p && ko(e, i, l);
2299
+ }, Zt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Us = (n) => n && n["s-ol"] || n, So = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ve = (n, e) => {
2300
2300
  const t = e.$elm$ = n.$elm$, s = n.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
2301
2301
  let a;
2302
- o === null ? (K = r === "svg" ? !0 : r === "foreignObject" ? !1 : K, r === "slot" || $o(n, e, K), s !== null && i !== null ? fc(t, s, e, i) : i !== null ? (n.$text$ !== null && (t.textContent = ""), xo(t, null, e, i, 0, i.length - 1)) : s !== null && wo(s, 0, s.length - 1), K && r === "svg" && (K = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2303
- }, So = (n) => {
2302
+ o === null ? (K = r === "svg" ? !0 : r === "foreignObject" ? !1 : K, r === "slot" || xo(n, e, K), s !== null && i !== null ? mc(t, s, e, i) : i !== null ? (n.$text$ !== null && (t.textContent = ""), wo(t, null, e, i, 0, i.length - 1)) : s !== null && ko(s, 0, s.length - 1), K && r === "svg" && (K = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2303
+ }, _o = (n) => {
2304
2304
  let e = n.childNodes, t, s, i, r, o, a;
2305
2305
  for (s = 0, i = e.length; s < i; s++)
2306
2306
  if (t = e[s], t.nodeType === 1) {
@@ -2316,31 +2316,31 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2316
2316
  break;
2317
2317
  }
2318
2318
  }
2319
- So(t);
2319
+ _o(t);
2320
2320
  }
2321
- }, te = [], _o = (n) => {
2321
+ }, te = [], Eo = (n) => {
2322
2322
  let e, t, s, i, r, o, a = 0, l = n.childNodes, c = l.length;
2323
2323
  for (; a < c; a++) {
2324
2324
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2325
2325
  for (s = t.parentNode.childNodes, i = e["s-sn"], o = s.length - 1; o >= 0; o--)
2326
- t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (ar(t, i) ? (r = te.find((u) => u.$nodeToRelocate$ === t), on = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : te.push({
2326
+ t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (lr(t, i) ? (r = te.find((u) => u.$nodeToRelocate$ === t), an = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : te.push({
2327
2327
  $slotRefNode$: e,
2328
2328
  $nodeToRelocate$: t
2329
2329
  }), t["s-sr"] && te.map((u) => {
2330
- ar(u.$nodeToRelocate$, t["s-sn"]) && (r = te.find((p) => p.$nodeToRelocate$ === t), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
2330
+ lr(u.$nodeToRelocate$, t["s-sn"]) && (r = te.find((p) => p.$nodeToRelocate$ === t), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
2331
2331
  })) : te.some((u) => u.$nodeToRelocate$ === t) || te.push({
2332
2332
  $nodeToRelocate$: t
2333
2333
  }));
2334
- e.nodeType === 1 && _o(e);
2334
+ e.nodeType === 1 && Eo(e);
2335
2335
  }
2336
- }, ar = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", Eo = (n) => {
2337
- n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(Eo);
2338
- }, gc = (n, e) => {
2339
- const t = n.$hostElement$, s = n.$cmpMeta$, i = n.$vnode$ || an(null, null), r = uc(e) ? e : et(null, null, e);
2340
- wn = t.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, Ke = t["s-sc"], go = t["s-cr"], mo = (s.$flags$ & 1) !== 0, on = !1, Ve(i, r);
2336
+ }, lr = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", Ao = (n) => {
2337
+ n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(Ao);
2338
+ }, vc = (n, e) => {
2339
+ const t = n.$hostElement$, s = n.$cmpMeta$, i = n.$vnode$ || ln(null, null), r = dc(e) ? e : et(null, null, e);
2340
+ wn = t.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, Ke = t["s-sc"], mo = t["s-cr"], vo = (s.$flags$ & 1) !== 0, an = !1, Ve(i, r);
2341
2341
  {
2342
2342
  if (q.$flags$ |= 1, Ms) {
2343
- _o(r.$elm$);
2343
+ Eo(r.$elm$);
2344
2344
  let o, a, l, c, u, p, d = 0;
2345
2345
  for (; d < te.length; d++)
2346
2346
  o = te[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = ae.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
@@ -2355,39 +2355,39 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2355
2355
  } else
2356
2356
  a.nodeType === 1 && (a.hidden = !0);
2357
2357
  }
2358
- on && So(r.$elm$), q.$flags$ &= -2, te.length = 0;
2358
+ an && _o(r.$elm$), q.$flags$ &= -2, te.length = 0;
2359
2359
  }
2360
- }, mc = (n) => n, vc = (n, e, t) => {
2361
- const s = mc(n);
2360
+ }, bc = (n) => n, yc = (n, e, t) => {
2361
+ const s = bc(n);
2362
2362
  return {
2363
- emit: (i) => bc(s, e, {
2363
+ emit: (i) => $c(s, e, {
2364
2364
  bubbles: !0,
2365
2365
  composed: !0,
2366
2366
  cancelable: !0,
2367
2367
  detail: i
2368
2368
  })
2369
2369
  };
2370
- }, bc = (n, e, t) => {
2370
+ }, $c = (n, e, t) => {
2371
2371
  const s = q.ce(e, t);
2372
2372
  return n.dispatchEvent(s), s;
2373
- }, yc = (n, e) => {
2374
- }, Ao = (n, e) => (n.$flags$ |= 16, yc(n, n.$ancestorComponent$), Dc(() => $c(n, e))), $c = (n, e) => {
2373
+ }, xc = (n, e) => {
2374
+ }, Co = (n, e) => (n.$flags$ |= 16, xc(n, n.$ancestorComponent$), zc(() => wc(n, e))), wc = (n, e) => {
2375
2375
  const t = n.$hostElement$, s = Ue("scheduleUpdate", n.$cmpMeta$.$tagName$), i = t;
2376
2376
  let r;
2377
- return e ? r = tt(i, "componentWillLoad") : r = tt(i, "componentWillUpdate"), r = lr(r, () => tt(i, "componentWillRender")), s(), lr(r, () => xc(n, i, e));
2378
- }, xc = async (n, e, t) => {
2377
+ return e ? r = tt(i, "componentWillLoad") : r = tt(i, "componentWillUpdate"), r = cr(r, () => tt(i, "componentWillRender")), s(), cr(r, () => kc(n, i, e));
2378
+ }, kc = async (n, e, t) => {
2379
2379
  const s = n.$hostElement$, i = Ue("update", n.$cmpMeta$.$tagName$);
2380
- s["s-rc"], t && rc(n);
2380
+ s["s-rc"], t && ac(n);
2381
2381
  const r = Ue("render", n.$cmpMeta$.$tagName$);
2382
- wc(n, e, s), r(), i(), kc(n);
2383
- }, wc = (n, e, t) => {
2382
+ Sc(n, e, s), r(), i(), _c(n);
2383
+ }, Sc = (n, e, t) => {
2384
2384
  try {
2385
- er = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Xe.hasRenderFn || Xe.reflect) && (Xe.vdomRender || Xe.reflect) && (Xe.hydrateServerSide || gc(n, e));
2385
+ tr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Xe.hasRenderFn || Xe.reflect) && (Xe.vdomRender || Xe.reflect) && (Xe.hydrateServerSide || vc(n, e));
2386
2386
  } catch (a) {
2387
- Mt(a, n.$hostElement$);
2387
+ Nt(a, n.$hostElement$);
2388
2388
  }
2389
- return er = null, null;
2390
- }, kc = (n) => {
2389
+ return tr = null, null;
2390
+ }, _c = (n) => {
2391
2391
  const e = n.$cmpMeta$.$tagName$, t = n.$hostElement$, s = Ue("postUpdate", e), i = t;
2392
2392
  n.$ancestorComponent$, tt(i, "componentDidRender"), n.$flags$ & 64 ? (tt(i, "componentDidUpdate"), s()) : (n.$flags$ |= 64, tt(i, "componentDidLoad"), s());
2393
2393
  }, tt = (n, e, t) => {
@@ -2395,11 +2395,11 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2395
2395
  try {
2396
2396
  return n[e](t);
2397
2397
  } catch (s) {
2398
- Mt(s);
2398
+ Nt(s);
2399
2399
  }
2400
- }, lr = (n, e) => n && n.then ? n.then(e) : e(), Sc = (n, e) => n != null && !Ns(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, _c = (n, e) => Sn(n).$instanceValues$.get(e), Ec = (n, e, t, s) => {
2400
+ }, cr = (n, e) => n && n.then ? n.then(e) : e(), Ec = (n, e) => n != null && !Ns(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, Ac = (n, e) => Sn(n).$instanceValues$.get(e), Cc = (n, e, t, s) => {
2401
2401
  const i = Sn(n), r = n, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
2402
- t = Sc(t, s.$members$[e][0]);
2402
+ t = Ec(t, s.$members$[e][0]);
2403
2403
  const c = Number.isNaN(o) && Number.isNaN(t);
2404
2404
  if (t !== o && !c) {
2405
2405
  i.$instanceValues$.set(e, t);
@@ -2410,28 +2410,28 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2410
2410
  try {
2411
2411
  l[d](t, o, e);
2412
2412
  } catch (g) {
2413
- Mt(g, r);
2413
+ Nt(g, r);
2414
2414
  }
2415
2415
  });
2416
2416
  }
2417
2417
  if ((a & 18) === 2) {
2418
2418
  if (l.componentShouldUpdate && l.componentShouldUpdate(t, o, e) === !1)
2419
2419
  return;
2420
- Ao(i, !1);
2420
+ Co(i, !1);
2421
2421
  }
2422
2422
  }
2423
2423
  }
2424
- }, Ac = (n, e, t) => {
2424
+ }, Tc = (n, e, t) => {
2425
2425
  if (e.$members$) {
2426
2426
  n.watchers && (e.$watchers$ = n.watchers);
2427
2427
  const s = Object.entries(e.$members$), i = n.prototype;
2428
2428
  s.map(([r, [o]]) => {
2429
2429
  (o & 31 || o & 32) && Object.defineProperty(i, r, {
2430
2430
  get() {
2431
- return _c(this, r);
2431
+ return Ac(this, r);
2432
2432
  },
2433
2433
  set(a) {
2434
- Ec(this, r, a, e);
2434
+ Cc(this, r, a, e);
2435
2435
  },
2436
2436
  configurable: !0,
2437
2437
  enumerable: !0
@@ -2458,37 +2458,37 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2458
2458
  }
2459
2459
  }
2460
2460
  return n;
2461
- }, Cc = async (n, e, t, s, i) => {
2461
+ }, Rc = async (n, e, t, s, i) => {
2462
2462
  if ((e.$flags$ & 32) === 0 && (i = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
2463
2463
  let o = i.style;
2464
- typeof o != "string" && (o = o[e.$modeName$ = oc(n)]);
2465
- const a = yo(t, e.$modeName$);
2466
- if (!cn.has(a)) {
2464
+ typeof o != "string" && (o = o[e.$modeName$ = lc(n)]);
2465
+ const a = $o(t, e.$modeName$);
2466
+ if (!un.has(a)) {
2467
2467
  const l = Ue("registerStyles", t.$tagName$);
2468
- sc(a, o, !!(t.$flags$ & 1)), l();
2468
+ rc(a, o, !!(t.$flags$ & 1)), l();
2469
2469
  }
2470
2470
  }
2471
- e.$ancestorComponent$, Ao(e, !0);
2472
- }, Tc = (n) => {
2473
- }, Rc = (n) => {
2471
+ e.$ancestorComponent$, Co(e, !0);
2472
+ }, Lc = (n) => {
2473
+ }, Oc = (n) => {
2474
2474
  if ((q.$flags$ & 1) === 0) {
2475
2475
  const e = Sn(n), t = e.$cmpMeta$, s = Ue("connectedCallback", t.$tagName$);
2476
- e.$flags$ & 1 ? (bo(n, e, t.$listeners$), Tc(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Lc(n), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2476
+ e.$flags$ & 1 ? (yo(n, e, t.$listeners$), Lc(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Pc(n), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2477
2477
  if (r & 31 && n.hasOwnProperty(i)) {
2478
2478
  const o = n[i];
2479
2479
  delete n[i], n[i] = o;
2480
2480
  }
2481
- }), Cc(n, e, t)), s();
2481
+ }), Rc(n, e, t)), s();
2482
2482
  }
2483
- }, Lc = (n) => {
2483
+ }, Pc = (n) => {
2484
2484
  const e = n["s-cr"] = ae.createComment("");
2485
2485
  e["s-cn"] = !0, n.insertBefore(e, n.firstChild);
2486
- }, Oc = (n) => {
2486
+ }, Ic = (n) => {
2487
2487
  if ((q.$flags$ & 1) === 0) {
2488
2488
  const e = Sn(n);
2489
2489
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2490
2490
  }
2491
- }, Co = (n, e) => {
2491
+ }, To = (n, e) => {
2492
2492
  const t = {
2493
2493
  $flags$: e[0],
2494
2494
  $tagName$: e[1]
@@ -2497,13 +2497,13 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2497
2497
  const s = n.prototype.connectedCallback, i = n.prototype.disconnectedCallback;
2498
2498
  return Object.assign(n.prototype, {
2499
2499
  __registerHost() {
2500
- Pc(this, t);
2500
+ Mc(this, t);
2501
2501
  },
2502
2502
  connectedCallback() {
2503
- Rc(this), s && s.call(this);
2503
+ Oc(this), s && s.call(this);
2504
2504
  },
2505
2505
  disconnectedCallback() {
2506
- Oc(this), i && i.call(this);
2506
+ Ic(this), i && i.call(this);
2507
2507
  },
2508
2508
  __attachShadow() {
2509
2509
  this.attachShadow({
@@ -2511,28 +2511,28 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2511
2511
  delegatesFocus: !!(t.$flags$ & 16)
2512
2512
  });
2513
2513
  }
2514
- }), n.is = t.$tagName$, Ac(n, t);
2515
- }, To = /* @__PURE__ */ new WeakMap(), Sn = (n) => To.get(n), Pc = (n, e) => {
2514
+ }), n.is = t.$tagName$, Tc(n, t);
2515
+ }, Ro = /* @__PURE__ */ new WeakMap(), Sn = (n) => Ro.get(n), Mc = (n, e) => {
2516
2516
  const t = {
2517
2517
  $flags$: 0,
2518
2518
  $hostElement$: n,
2519
2519
  $cmpMeta$: e,
2520
2520
  $instanceValues$: /* @__PURE__ */ new Map()
2521
2521
  };
2522
- return bo(n, t, e.$listeners$), To.set(n, t);
2523
- }, cr = (n, e) => e in n, Mt = (n, e) => (0, console.error)(n, e), cn = /* @__PURE__ */ new Map(), Ic = [], ur = [], Ro = [], Mc = (n, e) => (t) => {
2524
- n.push(t), ds || (ds = !0, e && q.$flags$ & 4 ? Nc(ps) : q.raf(ps));
2525
- }, hr = (n) => {
2522
+ return yo(n, t, e.$listeners$), Ro.set(n, t);
2523
+ }, ur = (n, e) => e in n, Nt = (n, e) => (0, console.error)(n, e), un = /* @__PURE__ */ new Map(), Nc = [], hr = [], Lo = [], Dc = (n, e) => (t) => {
2524
+ n.push(t), ds || (ds = !0, e && q.$flags$ & 4 ? Uc(ps) : q.raf(ps));
2525
+ }, dr = (n) => {
2526
2526
  for (let e = 0; e < n.length; e++)
2527
2527
  try {
2528
2528
  n[e](performance.now());
2529
2529
  } catch (t) {
2530
- Mt(t);
2530
+ Nt(t);
2531
2531
  }
2532
2532
  n.length = 0;
2533
2533
  }, ps = () => {
2534
- hr(ur), hr(Ro), (ds = ur.length > 0) && q.raf(ps);
2535
- }, Nc = (n) => Ql().then(n), Dc = /* @__PURE__ */ Mc(Ro, !0), Uc = (n = {}) => {
2534
+ dr(hr), dr(Lo), (ds = hr.length > 0) && q.raf(ps);
2535
+ }, Uc = (n) => ec().then(n), zc = /* @__PURE__ */ Dc(Lo, !0), Hc = (n = {}) => {
2536
2536
  const { content: e = "", title: t, attributes: s = [] } = n;
2537
2537
  let i = "", r = [
2538
2538
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2540,54 +2540,54 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2540
2540
  ...s
2541
2541
  ];
2542
2542
  return t && (i = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${i}${e}</svg>`;
2543
- }, zc = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2544
- function Hc(n) {
2543
+ }, Bc = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2544
+ function Fc(n) {
2545
2545
  return `${n.getFullYear()}.${n.getMonth() + 1}`;
2546
2546
  }
2547
- class Bc {
2547
+ class jc {
2548
2548
  constructor(e) {
2549
- this.voca_component = e, this.voca_added = Hc(/* @__PURE__ */ new Date());
2549
+ this.voca_component = e, this.voca_added = Fc(/* @__PURE__ */ new Date());
2550
2550
  }
2551
2551
  }
2552
- const Fc = "telia-vst{display:none}", jc = /* @__PURE__ */ Co(class extends vo {
2552
+ const qc = "telia-vst{display:none}", Wc = /* @__PURE__ */ To(class extends bo {
2553
2553
  constructor() {
2554
- super(), this.__registerHost(), this.vocaInternalUStats = vc(this, "vocaInternalUStats");
2554
+ super(), this.__registerHost(), this.vocaInternalUStats = yc(this, "vocaInternalUStats");
2555
2555
  }
2556
2556
  connectedCallback() {
2557
- this.vocaInternalUStats.emit(new Bc(this.dataTrackingId));
2557
+ this.vocaInternalUStats.emit(new jc(this.dataTrackingId));
2558
2558
  }
2559
2559
  render() {
2560
2560
  return et(Ds, null);
2561
2561
  }
2562
2562
  static get style() {
2563
- return Fc;
2563
+ return qc;
2564
2564
  }
2565
2565
  }, [0, "telia-vst", {
2566
2566
  dataTrackingId: [1, "data-tracking-id"]
2567
2567
  }]);
2568
- function Lo() {
2568
+ function Oo() {
2569
2569
  if (typeof customElements > "u")
2570
2570
  return;
2571
2571
  ["telia-vst"].forEach((e) => {
2572
2572
  switch (e) {
2573
2573
  case "telia-vst":
2574
- customElements.get(e) || customElements.define(e, jc);
2574
+ customElements.get(e) || customElements.define(e, Wc);
2575
2575
  break;
2576
2576
  }
2577
2577
  });
2578
2578
  }
2579
- Lo();
2579
+ Oo();
2580
2580
  function fs() {
2581
2581
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2582
2582
  }
2583
- function qc() {
2583
+ function Gc() {
2584
2584
  if (typeof fs().vocadsIcons !== void 0)
2585
2585
  return fs().vocadsIcons;
2586
2586
  }
2587
- function Wc() {
2587
+ function Zc() {
2588
2588
  return fs().vocadsIconsRegistered;
2589
2589
  }
2590
- const Gc = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Zc = /* @__PURE__ */ Co(class extends vo {
2590
+ const Yc = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Xc = /* @__PURE__ */ To(class extends bo {
2591
2591
  constructor() {
2592
2592
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2593
2593
  }
@@ -2599,8 +2599,8 @@ const Gc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2599
2599
  getSvgString() {
2600
2600
  if (this.svg)
2601
2601
  return this.svg;
2602
- if (Wc() && this.name) {
2603
- const n = qc();
2602
+ if (Zc() && this.name) {
2603
+ const n = Gc();
2604
2604
  return n[this.name] ? n[this.name].svg : "";
2605
2605
  }
2606
2606
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
@@ -2611,15 +2611,15 @@ const Gc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2611
2611
  ...e,
2612
2612
  { name: "aria-hidden", value: "true" }
2613
2613
  ];
2614
- const t = Uc({
2615
- content: zc(n),
2614
+ const t = Hc({
2615
+ content: Bc(n),
2616
2616
  attributes: e,
2617
2617
  title: this.allyTitle
2618
2618
  });
2619
2619
  return et(Ds, { class: `telia-icon telia-icon--${this.size}` }, et("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), et("telia-vst", { dataTrackingId: this.dataTrackingId }));
2620
2620
  }
2621
2621
  static get style() {
2622
- return Gc;
2622
+ return Yc;
2623
2623
  }
2624
2624
  }, [0, "telia-icon", {
2625
2625
  name: [1],
@@ -2628,27 +2628,27 @@ const Gc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2628
2628
  allyTitle: [1, "ally-title"],
2629
2629
  dataTestid: [1, "data-testid"]
2630
2630
  }]);
2631
- function Yc() {
2631
+ function Kc() {
2632
2632
  if (typeof customElements > "u")
2633
2633
  return;
2634
2634
  ["telia-icon", "telia-vst"].forEach((e) => {
2635
2635
  switch (e) {
2636
2636
  case "telia-icon":
2637
- customElements.get(e) || customElements.define(e, Zc);
2637
+ customElements.get(e) || customElements.define(e, Xc);
2638
2638
  break;
2639
2639
  case "telia-vst":
2640
- customElements.get(e) || Lo();
2640
+ customElements.get(e) || Oo();
2641
2641
  break;
2642
2642
  }
2643
2643
  });
2644
2644
  }
2645
- Yc();
2645
+ Kc();
2646
2646
  /**
2647
2647
  * @license
2648
2648
  * Copyright 2017 Google LLC
2649
2649
  * SPDX-License-Identifier: BSD-3-Clause
2650
2650
  */
2651
- const Xc = (n) => (e, t) => {
2651
+ const Vc = (n) => (e, t) => {
2652
2652
  t !== void 0 ? t.addInitializer((() => {
2653
2653
  customElements.define(n, e);
2654
2654
  })) : customElements.define(n, e);
@@ -2658,7 +2658,7 @@ const Xc = (n) => (e, t) => {
2658
2658
  * Copyright 2017 Google LLC
2659
2659
  * SPDX-License-Identifier: BSD-3-Clause
2660
2660
  */
2661
- const Kc = { attribute: !0, type: String, converter: sn, reflect: !1, hasChanged: Ps }, Vc = (n = Kc, e, t) => {
2661
+ const Qc = { attribute: !0, type: String, converter: rn, reflect: !1, hasChanged: Ps }, Jc = (n = Qc, e, t) => {
2662
2662
  const { kind: s, metadata: i } = t;
2663
2663
  let r = globalThis.litPropertyMetadata.get(i);
2664
2664
  if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), s === "setter" && ((n = Object.create(n)).wrapped = !0), r.set(t.name, n), s === "accessor") {
@@ -2679,8 +2679,8 @@ const Kc = { attribute: !0, type: String, converter: sn, reflect: !1, hasChanged
2679
2679
  }
2680
2680
  throw Error("Unsupported decorator location: " + s);
2681
2681
  };
2682
- function T(n) {
2683
- return (e, t) => typeof t == "object" ? Vc(n, e, t) : ((s, i, r) => {
2682
+ function C(n) {
2683
+ return (e, t) => typeof t == "object" ? Jc(n, e, t) : ((s, i, r) => {
2684
2684
  const o = i.hasOwnProperty(r);
2685
2685
  return i.constructor.createProperty(r, s), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
2686
2686
  })(n, e, t);
@@ -2691,14 +2691,14 @@ function T(n) {
2691
2691
  * SPDX-License-Identifier: BSD-3-Clause
2692
2692
  */
2693
2693
  function z(n) {
2694
- return T({ ...n, state: !0, attribute: !1 });
2694
+ return C({ ...n, state: !0, attribute: !1 });
2695
2695
  }
2696
2696
  /**
2697
2697
  * @license
2698
2698
  * Copyright 2020 Google LLC
2699
2699
  * SPDX-License-Identifier: BSD-3-Clause
2700
2700
  */
2701
- const Qc = (n) => n.strings === void 0;
2701
+ const eu = (n) => n.strings === void 0;
2702
2702
  /**
2703
2703
  * @license
2704
2704
  * Copyright 2017 Google LLC
@@ -2732,45 +2732,45 @@ const wt = (n, e) => {
2732
2732
  if (t === void 0) return !1;
2733
2733
  for (const i of t) (s = i._$AO) == null || s.call(i, e, !1), wt(i, e);
2734
2734
  return !0;
2735
- }, un = (n) => {
2735
+ }, hn = (n) => {
2736
2736
  let e, t;
2737
2737
  do {
2738
2738
  if ((e = n._$AM) === void 0) break;
2739
2739
  t = e._$AN, t.delete(n), n = e;
2740
2740
  } while ((t == null ? void 0 : t.size) === 0);
2741
- }, Oo = (n) => {
2741
+ }, Po = (n) => {
2742
2742
  for (let e; e = n._$AM; n = e) {
2743
2743
  let t = e._$AN;
2744
2744
  if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
2745
2745
  else if (t.has(n)) break;
2746
- t.add(n), tu(e);
2746
+ t.add(n), su(e);
2747
2747
  }
2748
2748
  };
2749
- function Jc(n) {
2750
- this._$AN !== void 0 ? (un(this), this._$AM = n, Oo(this)) : this._$AM = n;
2749
+ function tu(n) {
2750
+ this._$AN !== void 0 ? (hn(this), this._$AM = n, Po(this)) : this._$AM = n;
2751
2751
  }
2752
- function eu(n, e = !1, t = 0) {
2752
+ function nu(n, e = !1, t = 0) {
2753
2753
  const s = this._$AH, i = this._$AN;
2754
- if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(s)) for (let r = t; r < s.length; r++) wt(s[r], !1), un(s[r]);
2755
- else s != null && (wt(s, !1), un(s));
2754
+ if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(s)) for (let r = t; r < s.length; r++) wt(s[r], !1), hn(s[r]);
2755
+ else s != null && (wt(s, !1), hn(s));
2756
2756
  else wt(this, n);
2757
2757
  }
2758
- const tu = (n) => {
2759
- n.type == _n.CHILD && (n._$AP ?? (n._$AP = eu), n._$AQ ?? (n._$AQ = Jc));
2758
+ const su = (n) => {
2759
+ n.type == _n.CHILD && (n._$AP ?? (n._$AP = nu), n._$AQ ?? (n._$AQ = tu));
2760
2760
  };
2761
- let Po = class extends zs {
2761
+ let Io = class extends zs {
2762
2762
  constructor() {
2763
2763
  super(...arguments), this._$AN = void 0;
2764
2764
  }
2765
2765
  _$AT(e, t, s) {
2766
- super._$AT(e, t, s), Oo(this), this.isConnected = e._$AU;
2766
+ super._$AT(e, t, s), Po(this), this.isConnected = e._$AU;
2767
2767
  }
2768
2768
  _$AO(e, t = !0) {
2769
2769
  var s, i;
2770
- e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (i = this.disconnected) == null || i.call(this)), t && (wt(this, e), un(this));
2770
+ e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (i = this.disconnected) == null || i.call(this)), t && (wt(this, e), hn(this));
2771
2771
  }
2772
2772
  setValue(e) {
2773
- if (Qc(this._$Ct)) this._$Ct._$AI(e, this);
2773
+ if (eu(this._$Ct)) this._$Ct._$AI(e, this);
2774
2774
  else {
2775
2775
  const t = [...this._$Ct._$AH];
2776
2776
  t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
@@ -2786,10 +2786,10 @@ let Po = class extends zs {
2786
2786
  * Copyright 2020 Google LLC
2787
2787
  * SPDX-License-Identifier: BSD-3-Clause
2788
2788
  */
2789
- const re = () => new nu();
2790
- class nu {
2789
+ const re = () => new iu();
2790
+ class iu {
2791
2791
  }
2792
- const Yn = /* @__PURE__ */ new WeakMap(), oe = En(class extends Po {
2792
+ const Yn = /* @__PURE__ */ new WeakMap(), oe = En(class extends Io {
2793
2793
  render(n) {
2794
2794
  return x;
2795
2795
  }
@@ -2845,12 +2845,12 @@ const rt = En(class extends zs {
2845
2845
  return _e;
2846
2846
  }
2847
2847
  });
2848
- var su = Object.defineProperty, iu = (n, e, t, s) => {
2848
+ var ru = Object.defineProperty, ou = (n, e, t, s) => {
2849
2849
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
2850
2850
  (o = n[r]) && (i = o(e, t, i) || i);
2851
- return i && su(e, t, i), i;
2851
+ return i && ru(e, t, i), i;
2852
2852
  };
2853
- const Qs = class Qs extends M {
2853
+ const Js = class Js extends M {
2854
2854
  constructor() {
2855
2855
  super(...arguments), this.anchor = "BottomRight";
2856
2856
  }
@@ -2862,7 +2862,7 @@ const Qs = class Qs extends M {
2862
2862
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), x;
2863
2863
  }
2864
2864
  };
2865
- Qs.styles = [
2865
+ Js.styles = [
2866
2866
  Z`
2867
2867
  :host {
2868
2868
  position: fixed;
@@ -2881,36 +2881,36 @@ Qs.styles = [
2881
2881
  }
2882
2882
  `
2883
2883
  ];
2884
- let hn = Qs;
2885
- iu([
2886
- T({ attribute: !0 })
2887
- ], hn.prototype, "anchor");
2888
- const ru = /* @__PURE__ */ new WeakMap();
2889
- let dr = 0;
2890
- const Xn = /* @__PURE__ */ new Map(), pr = /* @__PURE__ */ new WeakSet(), fr = () => new Promise(((n) => requestAnimationFrame(n))), ou = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], au = [{ opacity: 0 }], gr = [{ opacity: 0 }, { opacity: 1 }], mr = (n, e) => {
2884
+ let dn = Js;
2885
+ ou([
2886
+ C({ attribute: !0 })
2887
+ ], dn.prototype, "anchor");
2888
+ const au = /* @__PURE__ */ new WeakMap();
2889
+ let pr = 0;
2890
+ const Xn = /* @__PURE__ */ new Map(), fr = /* @__PURE__ */ new WeakSet(), gr = () => new Promise(((n) => requestAnimationFrame(n))), lu = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], cu = [{ opacity: 0 }], mr = [{ opacity: 0 }, { opacity: 1 }], vr = (n, e) => {
2891
2891
  const t = n - e;
2892
2892
  return t === 0 ? void 0 : t;
2893
- }, vr = (n, e) => {
2893
+ }, br = (n, e) => {
2894
2894
  const t = n / e;
2895
2895
  return t === 1 ? void 0 : t;
2896
2896
  }, Kn = { left: (n, e) => {
2897
- const t = mr(n, e);
2897
+ const t = vr(n, e);
2898
2898
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
2899
2899
  }, top: (n, e) => {
2900
- const t = mr(n, e);
2900
+ const t = vr(n, e);
2901
2901
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateY(${t}px)` };
2902
2902
  }, width: (n, e) => {
2903
2903
  let t;
2904
2904
  e === 0 && (e = 1, t = { width: "1px" });
2905
- const s = vr(n, e);
2905
+ const s = br(n, e);
2906
2906
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleX(${s})` };
2907
2907
  }, height: (n, e) => {
2908
2908
  let t;
2909
2909
  e === 0 && (e = 1, t = { height: "1px" });
2910
- const s = vr(n, e);
2910
+ const s = br(n, e);
2911
2911
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
2912
- } }, lu = { duration: 333, easing: "ease-in-out" }, cu = ["left", "top", "width", "height", "opacity", "color", "background"], br = /* @__PURE__ */ new WeakMap();
2913
- class uu extends Po {
2912
+ } }, uu = { duration: 333, easing: "ease-in-out" }, hu = ["left", "top", "width", "height", "opacity", "color", "background"], yr = /* @__PURE__ */ new WeakMap();
2913
+ class du extends Io {
2914
2914
  constructor(e) {
2915
2915
  if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === _n.CHILD) throw Error("The `animate` directive must be used in attribute position.");
2916
2916
  this.createFinished();
@@ -2929,7 +2929,7 @@ class uu extends Po {
2929
2929
  return x;
2930
2930
  }
2931
2931
  getController() {
2932
- return ru.get(this.u);
2932
+ return au.get(this.u);
2933
2933
  }
2934
2934
  isDisabled() {
2935
2935
  var e;
@@ -2938,12 +2938,12 @@ class uu extends Po {
2938
2938
  update(e, [t]) {
2939
2939
  var i;
2940
2940
  const s = this.u === void 0;
2941
- return s && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then(((r) => this.t = !0)), this.element = e.element, br.set(this.element, this)), this.optionsOrCallback = t, (s || typeof t != "function") && this.p(t), this.render(t);
2941
+ return s && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then(((r) => this.t = !0)), this.element = e.element, yr.set(this.element, this)), this.optionsOrCallback = t, (s || typeof t != "function") && this.p(t), this.render(t);
2942
2942
  }
2943
2943
  p(e) {
2944
2944
  e = e ?? {};
2945
2945
  const t = this.getController();
2946
- t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = cu), this.options = e;
2946
+ t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = hu), this.options = e;
2947
2947
  }
2948
2948
  m() {
2949
2949
  const e = {}, t = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
@@ -2967,7 +2967,7 @@ class uu extends Po {
2967
2967
  async hostUpdated() {
2968
2968
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
2969
2969
  let e;
2970
- this.prepare(), await fr;
2970
+ this.prepare(), await gr;
2971
2971
  const t = this.O(), s = this.j(this.options.keyframeOptions, t), i = this.m();
2972
2972
  if (this.A !== void 0) {
2973
2973
  const { from: r, to: o } = this.N(this.A, i, t);
@@ -2977,7 +2977,7 @@ class uu extends Po {
2977
2977
  if (r) {
2978
2978
  Xn.delete(this.options.inId);
2979
2979
  const { from: o, to: a } = this.N(r, i, t);
2980
- e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, dr++, e.forEach(((l) => l.zIndex = dr));
2980
+ e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, pr++, e.forEach(((l) => l.zIndex = pr));
2981
2981
  } else this.options.in && (e = [...this.options.in, {}]);
2982
2982
  }
2983
2983
  this.animate(e, s);
@@ -2994,7 +2994,7 @@ class uu extends Po {
2994
2994
  async disconnected() {
2995
2995
  var t;
2996
2996
  if (!this.h || (this.options.id !== void 0 && Xn.set(this.options.id, this.A), this.options.out === void 0)) return;
2997
- if (this.prepare(), await fr(), (t = this.i) == null ? void 0 : t.isConnected) {
2997
+ if (this.prepare(), await gr(), (t = this.i) == null ? void 0 : t.isConnected) {
2998
2998
  const s = this.o && this.o.parentNode === this.i ? this.o : null;
2999
2999
  if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
3000
3000
  const i = this.m();
@@ -3020,19 +3020,19 @@ class uu extends Po {
3020
3020
  O() {
3021
3021
  const e = [];
3022
3022
  for (let t = this.element.parentNode; t; t = t == null ? void 0 : t.parentNode) {
3023
- const s = br.get(t);
3023
+ const s = yr.get(t);
3024
3024
  s && !s.isDisabled() && s && e.push(s);
3025
3025
  }
3026
3026
  return e;
3027
3027
  }
3028
3028
  get isHostRendered() {
3029
- const e = pr.has(this.u);
3029
+ const e = fr.has(this.u);
3030
3030
  return e || this.u.updateComplete.then((() => {
3031
- pr.add(this.u);
3031
+ fr.add(this.u);
3032
3032
  })), e;
3033
3033
  }
3034
3034
  j(e, t = this.O()) {
3035
- const s = { ...lu };
3035
+ const s = { ...uu };
3036
3036
  return t.forEach(((i) => Object.assign(s, i.options.keyframeOptions))), Object.assign(s, e), s;
3037
3037
  }
3038
3038
  N(e, t, s) {
@@ -3081,9 +3081,9 @@ class uu extends Po {
3081
3081
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3082
3082
  }
3083
3083
  }
3084
- const gs = En(uu), pe = (n, e, t) => {
3084
+ const gs = En(du), pe = (n, e, t) => {
3085
3085
  n && t.style.setProperty(e, n);
3086
- }, Io = (n, e) => {
3086
+ }, Mo = (n, e) => {
3087
3087
  var t, s, i, r, o, a, l, c, u;
3088
3088
  pe((t = n.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), pe(
3089
3089
  (s = n.colors) == null ? void 0 : s.textOnPrimaryBackground,
@@ -3115,12 +3115,12 @@ const gs = En(uu), pe = (n, e, t) => {
3115
3115
  e
3116
3116
  ), pe((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", e);
3117
3117
  };
3118
- var hu = Object.defineProperty, Nt = (n, e, t, s) => {
3118
+ var pu = Object.defineProperty, Dt = (n, e, t, s) => {
3119
3119
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3120
3120
  (o = n[r]) && (i = o(e, t, i) || i);
3121
- return i && hu(e, t, i), i;
3121
+ return i && pu(e, t, i), i;
3122
3122
  };
3123
- const Js = class Js extends M {
3123
+ const ei = class ei extends M {
3124
3124
  constructor() {
3125
3125
  super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = re(), this.widgetActive$ = new F(!1), this.componentIsDestroyed$ = new I();
3126
3126
  }
@@ -3157,7 +3157,7 @@ const Js = class Js extends M {
3157
3157
  }
3158
3158
  _applyBranding() {
3159
3159
  var e;
3160
- (e = this.application) != null && e.settings && Io(this.application.settings.branding, this);
3160
+ (e = this.application) != null && e.settings && Mo(this.application.settings.branding, this);
3161
3161
  }
3162
3162
  async _renderSymbol() {
3163
3163
  var a, l, c;
@@ -3167,7 +3167,7 @@ const Js = class Js extends M {
3167
3167
  const s = (c = this.application) == null ? void 0 : c.triggerIcon;
3168
3168
  if (!s)
3169
3169
  return x;
3170
- const i = async (u) => Xl, { type: r, content: o } = s;
3170
+ const i = async (u) => Vl, { type: r, content: o } = s;
3171
3171
  switch (r) {
3172
3172
  case "Telia": {
3173
3173
  const u = await i();
@@ -3211,7 +3211,7 @@ const Js = class Js extends M {
3211
3211
  @click=${this.toggleActive}
3212
3212
  ${gs({
3213
3213
  keyframeOptions: {},
3214
- in: ou,
3214
+ in: lu,
3215
3215
  stabilizeOut: !0,
3216
3216
  skipInitial: !1
3217
3217
  })}
@@ -3262,7 +3262,7 @@ const Js = class Js extends M {
3262
3262
  </div>`;
3263
3263
  }
3264
3264
  };
3265
- Js.styles = [
3265
+ ei.styles = [
3266
3266
  Z`
3267
3267
  :host {
3268
3268
  --voca-rem-multiplier: 0.625;
@@ -3394,28 +3394,28 @@ Js.styles = [
3394
3394
  }
3395
3395
  `
3396
3396
  ];
3397
- let be = Js;
3398
- Nt([
3399
- T({ attribute: !1 })
3397
+ let be = ei;
3398
+ Dt([
3399
+ C({ attribute: !1 })
3400
3400
  ], be.prototype, "application");
3401
- Nt([
3401
+ Dt([
3402
3402
  z()
3403
3403
  ], be.prototype, "active");
3404
- Nt([
3404
+ Dt([
3405
3405
  z()
3406
3406
  ], be.prototype, "triggerVisible");
3407
- Nt([
3407
+ Dt([
3408
3408
  z()
3409
3409
  ], be.prototype, "loaded");
3410
- Nt([
3410
+ Dt([
3411
3411
  z()
3412
3412
  ], be.prototype, "icon");
3413
- var du = Object.defineProperty, Oe = (n, e, t, s) => {
3413
+ var fu = Object.defineProperty, Oe = (n, e, t, s) => {
3414
3414
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3415
3415
  (o = n[r]) && (i = o(e, t, i) || i);
3416
- return i && du(e, t, i), i;
3416
+ return i && fu(e, t, i), i;
3417
3417
  };
3418
- const Mo = (n) => {
3418
+ const No = (n) => {
3419
3419
  const t = class t extends n {
3420
3420
  constructor() {
3421
3421
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -3457,39 +3457,39 @@ const Mo = (n) => {
3457
3457
  ];
3458
3458
  let e = t;
3459
3459
  return Oe([
3460
- T()
3460
+ C()
3461
3461
  ], e.prototype, "properties"), Oe([
3462
- T()
3462
+ C()
3463
3463
  ], e.prototype, "context"), Oe([
3464
- T()
3464
+ C()
3465
3465
  ], e.prototype, "layout"), Oe([
3466
- T()
3466
+ C()
3467
3467
  ], e.prototype, "name"), Oe([
3468
- T()
3468
+ C()
3469
3469
  ], e.prototype, "type"), Oe([
3470
- T({ attribute: !1 })
3470
+ C({ attribute: !1 })
3471
3471
  ], e.prototype, "application"), Oe([
3472
- T({ attribute: !1 })
3472
+ C({ attribute: !1 })
3473
3473
  ], e.prototype, "parent"), e;
3474
- }, ei = class ei extends Mo(M) {
3474
+ }, ti = class ti extends No(M) {
3475
3475
  render() {
3476
3476
  return w`Non resolved component`;
3477
3477
  }
3478
3478
  };
3479
- ei.styles = [
3479
+ ti.styles = [
3480
3480
  Z`
3481
3481
  :host {
3482
3482
  display: block;
3483
3483
  }
3484
3484
  `
3485
3485
  ];
3486
- let ms = ei;
3486
+ let ms = ti;
3487
3487
  /**
3488
3488
  * @license
3489
3489
  * Copyright 2021 Google LLC
3490
3490
  * SPDX-License-Identifier: BSD-3-Clause
3491
3491
  */
3492
- function* pu(n, e) {
3492
+ function* gu(n, e) {
3493
3493
  if (n !== void 0) {
3494
3494
  let t = 0;
3495
3495
  for (const s of n) yield e(s, t++);
@@ -3501,7 +3501,7 @@ var Hs = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n)
3501
3501
  * Copyright 2021 Google LLC
3502
3502
  * SPDX-License-Identifier: BSD-3-Clause
3503
3503
  */
3504
- let No = class extends Event {
3504
+ let Do = class extends Event {
3505
3505
  constructor(e, t, s, i) {
3506
3506
  super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t, this.callback = s, this.subscribe = i ?? !1;
3507
3507
  }
@@ -3516,7 +3516,7 @@ let No = class extends Event {
3516
3516
  * Copyright 2021 Google LLC
3517
3517
  * SPDX-License-Identifier: BSD-3-Clause
3518
3518
  */
3519
- let yr = class {
3519
+ let $r = class {
3520
3520
  constructor(e, t, s, i) {
3521
3521
  if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (r, o) => {
3522
3522
  this.unsubscribe && (this.unsubscribe !== o && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = r, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(r, o)), this.unsubscribe = o;
@@ -3533,7 +3533,7 @@ let yr = class {
3533
3533
  this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
3534
3534
  }
3535
3535
  dispatchRequest() {
3536
- this.host.dispatchEvent(new No(this.context, this.host, this.t, this.subscribe));
3536
+ this.host.dispatchEvent(new Do(this.context, this.host, this.t, this.subscribe));
3537
3537
  }
3538
3538
  };
3539
3539
  /**
@@ -3541,7 +3541,7 @@ let yr = class {
3541
3541
  * Copyright 2021 Google LLC
3542
3542
  * SPDX-License-Identifier: BSD-3-Clause
3543
3543
  */
3544
- class fu {
3544
+ class mu {
3545
3545
  get value() {
3546
3546
  return this.o;
3547
3547
  }
@@ -3574,12 +3574,12 @@ class fu {
3574
3574
  * Copyright 2021 Google LLC
3575
3575
  * SPDX-License-Identifier: BSD-3-Clause
3576
3576
  */
3577
- let gu = class extends Event {
3577
+ let vu = class extends Event {
3578
3578
  constructor(e, t) {
3579
3579
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t;
3580
3580
  }
3581
3581
  };
3582
- class $r extends fu {
3582
+ class xr extends mu {
3583
3583
  constructor(e, t, s) {
3584
3584
  var i, r;
3585
3585
  super(t.context !== void 0 ? t.initialValue : s), this.onContextRequest = (o) => {
@@ -3589,7 +3589,7 @@ class $r extends fu {
3589
3589
  }, this.onProviderRequest = (o) => {
3590
3590
  if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
3591
3591
  const a = /* @__PURE__ */ new Set();
3592
- for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new No(this.context, c, l, !0)));
3592
+ for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new Do(this.context, c, l, !0)));
3593
3593
  o.stopPropagation();
3594
3594
  }, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (r = (i = this.host).addController) == null || r.call(i, this);
3595
3595
  }
@@ -3597,7 +3597,7 @@ class $r extends fu {
3597
3597
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
3598
3598
  }
3599
3599
  hostConnected() {
3600
- this.host.dispatchEvent(new gu(this.context, this.host));
3600
+ this.host.dispatchEvent(new vu(this.context, this.host));
3601
3601
  }
3602
3602
  }
3603
3603
  /**
@@ -3605,7 +3605,7 @@ class $r extends fu {
3605
3605
  * Copyright 2017 Google LLC
3606
3606
  * SPDX-License-Identifier: BSD-3-Clause
3607
3607
  */
3608
- function mu({ context: n }) {
3608
+ function bu({ context: n }) {
3609
3609
  return (e, t) => {
3610
3610
  const s = /* @__PURE__ */ new WeakMap();
3611
3611
  if (typeof t == "object") return { get() {
@@ -3613,11 +3613,11 @@ function mu({ context: n }) {
3613
3613
  }, set(i) {
3614
3614
  return s.get(this).setValue(i), e.set.call(this, i);
3615
3615
  }, init(i) {
3616
- return s.set(this, new $r(this, { context: n, initialValue: i })), i;
3616
+ return s.set(this, new xr(this, { context: n, initialValue: i })), i;
3617
3617
  } };
3618
3618
  {
3619
3619
  e.constructor.addInitializer(((o) => {
3620
- s.set(o, new $r(o, { context: n }));
3620
+ s.set(o, new xr(o, { context: n }));
3621
3621
  }));
3622
3622
  const i = Object.getOwnPropertyDescriptor(e, t);
3623
3623
  let r;
@@ -3643,25 +3643,25 @@ function mu({ context: n }) {
3643
3643
  * Copyright 2022 Google LLC
3644
3644
  * SPDX-License-Identifier: BSD-3-Clause
3645
3645
  */
3646
- function vu({ context: n, subscribe: e }) {
3646
+ function Uo({ context: n, subscribe: e }) {
3647
3647
  return (t, s) => {
3648
3648
  typeof s == "object" ? s.addInitializer((function() {
3649
- new yr(this, { context: n, callback: (i) => {
3649
+ new $r(this, { context: n, callback: (i) => {
3650
3650
  t.set.call(this, i);
3651
3651
  }, subscribe: e });
3652
3652
  })) : t.constructor.addInitializer(((i) => {
3653
- new yr(i, { context: n, callback: (r) => {
3653
+ new $r(i, { context: n, callback: (r) => {
3654
3654
  i[s] = r;
3655
3655
  }, subscribe: e });
3656
3656
  }));
3657
3657
  };
3658
3658
  }
3659
- var bu = Object.defineProperty, Do = (n, e, t, s) => {
3659
+ var yu = Object.defineProperty, zo = (n, e, t, s) => {
3660
3660
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3661
3661
  (o = n[r]) && (i = o(e, t, i) || i);
3662
- return i && bu(e, t, i), i;
3662
+ return i && yu(e, t, i), i;
3663
3663
  };
3664
- const Uo = "application", ti = class ti extends M {
3664
+ const Bs = "application", ni = class ni extends M {
3665
3665
  constructor() {
3666
3666
  super(...arguments), this.nodes = [], this.wrapperRef = re(), this.fullscreen = !1, this.isReady = new F(!1);
3667
3667
  }
@@ -3672,7 +3672,7 @@ const Uo = "application", ti = class ti extends M {
3672
3672
  if (!this.wrapperRef.value)
3673
3673
  return;
3674
3674
  const e = this.application.settings;
3675
- e != null && e.branding && Io(e.branding, this.wrapperRef.value);
3675
+ e != null && e.branding && Mo(e.branding, this.wrapperRef.value);
3676
3676
  }
3677
3677
  applyStyles() {
3678
3678
  if (!this.wrapperRef.value)
@@ -3689,11 +3689,11 @@ const Uo = "application", ti = class ti extends M {
3689
3689
  var s, i;
3690
3690
  const e = this.application.settings.components.conversation;
3691
3691
  return ((i = (s = e == null ? void 0 : e.properties) == null ? void 0 : s.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === Hs.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), w`<div class="widget-container" ${oe(this.wrapperRef)}>
3692
- ${pu(this.nodes, (r) => r)}
3692
+ ${gu(this.nodes, (r) => r)}
3693
3693
  </div>`;
3694
3694
  }
3695
3695
  };
3696
- ti.styles = Z`
3696
+ ni.styles = Z`
3697
3697
  :host {
3698
3698
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3699
3699
  --spacing-xs: 0.2rem;
@@ -3859,20 +3859,20 @@ ti.styles = Z`
3859
3859
  animation: none;
3860
3860
  }
3861
3861
  `;
3862
- let At = ti;
3863
- Do([
3864
- T({ attribute: !0 })
3862
+ let At = ni;
3863
+ zo([
3864
+ C({ attribute: !0 })
3865
3865
  ], At.prototype, "fullscreen");
3866
- Do([
3867
- T({ attribute: !1 }),
3868
- mu({ context: Uo })
3866
+ zo([
3867
+ C({ attribute: !1 }),
3868
+ bu({ context: Bs })
3869
3869
  ], At.prototype, "application");
3870
- var yu = Object.defineProperty, Bs = (n, e, t, s) => {
3870
+ var $u = Object.defineProperty, Fs = (n, e, t, s) => {
3871
3871
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
3872
3872
  (o = n[r]) && (i = o(e, t, i) || i);
3873
- return i && yu(e, t, i), i;
3873
+ return i && $u(e, t, i), i;
3874
3874
  };
3875
- const ni = class ni extends M {
3875
+ const si = class si extends M {
3876
3876
  constructor() {
3877
3877
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
3878
3878
  }
@@ -3904,29 +3904,29 @@ const ni = class ni extends M {
3904
3904
  return this.widget.render();
3905
3905
  }
3906
3906
  };
3907
- ni.styles = [
3907
+ si.styles = [
3908
3908
  Z`
3909
3909
  :host {
3910
3910
  display: block;
3911
3911
  }
3912
3912
  `
3913
3913
  ];
3914
- let ot = ni;
3915
- Bs([
3916
- T({ attribute: !0 })
3914
+ let ot = si;
3915
+ Fs([
3916
+ C({ attribute: !0 })
3917
3917
  ], ot.prototype, "name");
3918
- Bs([
3918
+ Fs([
3919
3919
  z()
3920
3920
  ], ot.prototype, "widget");
3921
- Bs([
3921
+ Fs([
3922
3922
  z()
3923
3923
  ], ot.prototype, "status");
3924
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", hn);
3924
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", dn);
3925
3925
  customElements.get("ace-trigger") || customElements.define("ace-trigger", be);
3926
3926
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ms);
3927
3927
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", At);
3928
3928
  customElements.get("ace-widget") || customElements.define("ace-widget", ot);
3929
- class $u {
3929
+ class xu {
3930
3930
  constructor(e) {
3931
3931
  this._message = null, this._host = e, e.addController(this);
3932
3932
  }
@@ -3942,10 +3942,10 @@ class $u {
3942
3942
  return !!this.message;
3943
3943
  }
3944
3944
  }
3945
- class xr {
3945
+ class wr {
3946
3946
  constructor(e, t, s, i, r) {
3947
3947
  this.id = e, this.providerKey = t, this.providerOptions = s, this.component = r, this.provider$ = new F(null), this.entries$ = new F([]), this.removeEntryAction$ = new I(), this.kill$ = new I(), this.isTyping$ = new F(!1), this.data$ = new F({}), this.complete$ = this.provider$.pipe(
3948
- Je((l) => l ? l.onComplete() : Ot)
3948
+ Je((l) => l ? l.onComplete() : Pt)
3949
3949
  );
3950
3950
  const o = this._getProviderFactory(t);
3951
3951
  if (!o)
@@ -3998,9 +3998,9 @@ class xr {
3998
3998
  return this.component.platform.registeredProviders.get(e);
3999
3999
  }
4000
4000
  }
4001
- class xu {
4001
+ class wu {
4002
4002
  constructor(e) {
4003
- this.component = e, this.currentSession$ = new F(null), this.sessions = [], this.storage = null, nn(e, "handover").subscribe((t) => {
4003
+ this.component = e, this.currentSession$ = new F(null), this.sessions = [], this.storage = null, sn(e, "handover").subscribe((t) => {
4004
4004
  const s = this._createNewSession(
4005
4005
  t.detail.providerKey,
4006
4006
  t.detail.providerOptions
@@ -4043,7 +4043,7 @@ class xu {
4043
4043
  );
4044
4044
  return e ? {
4045
4045
  sessions: e.sessions.map(
4046
- (t) => new xr(
4046
+ (t) => new wr(
4047
4047
  t.id,
4048
4048
  t.providerKey,
4049
4049
  t.providerOptions,
@@ -4080,8 +4080,8 @@ class xu {
4080
4080
  this.storage.set("conversation", t);
4081
4081
  }
4082
4082
  _createNewSession(e, t = {}) {
4083
- const s = this._getStoredSessions(), i = new xr(
4084
- oo(),
4083
+ const s = this._getStoredSessions(), i = new wr(
4084
+ ao(),
4085
4085
  e,
4086
4086
  t,
4087
4087
  {},
@@ -4096,9 +4096,9 @@ class xu {
4096
4096
  return this.component.properties.providers[0];
4097
4097
  }
4098
4098
  }
4099
- class wu {
4099
+ class ku {
4100
4100
  constructor(e, t) {
4101
- this.state$ = e, this.component = t, this.entries$ = new F([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new xu(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4101
+ this.state$ = e, this.component = t, this.entries$ = new F([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new wu(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4102
4102
  Je((s) => s ? s.provider$.pipe(
4103
4103
  Je((i) => i ? i.isTyping() : os(!1))
4104
4104
  ) : os(!1))
@@ -4127,16 +4127,16 @@ class wu {
4127
4127
  this.session$.pipe(
4128
4128
  Je((e) => {
4129
4129
  if (!e)
4130
- return Ot;
4130
+ return Pt;
4131
4131
  const t = e.removeEntryAction$.pipe(ls(this.entries$)).pipe(
4132
- tn(([i, r]) => r.filter((o) => o.id !== i.id))
4132
+ nn(([i, r]) => r.filter((o) => o.id !== i.id))
4133
4133
  ), s = e.entries().pipe(
4134
- tn((i) => {
4134
+ nn((i) => {
4135
4135
  const r = this.entries$.value, o = i.filter((a) => r.findIndex((l) => l.id === a.id) === -1);
4136
4136
  return [...r, ...o];
4137
4137
  })
4138
4138
  );
4139
- return vl(t, s);
4139
+ return yl(t, s);
4140
4140
  })
4141
4141
  ).subscribe((e) => {
4142
4142
  this.entries$.next(e);
@@ -4147,12 +4147,12 @@ class wu {
4147
4147
  (e = this.sessionService) == null || e.startSession();
4148
4148
  }
4149
4149
  }
4150
- var ku = Object.defineProperty, Su = (n, e, t, s) => {
4150
+ var Su = Object.defineProperty, Ho = (n, e, t, s) => {
4151
4151
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
4152
4152
  (o = n[r]) && (i = o(e, t, i) || i);
4153
- return i && ku(e, t, i), i;
4153
+ return i && Su(e, t, i), i;
4154
4154
  };
4155
- const si = class si extends M {
4155
+ const ii = class ii extends M {
4156
4156
  connectedCallback() {
4157
4157
  var e;
4158
4158
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -4170,17 +4170,27 @@ const si = class si extends M {
4170
4170
  if (!e && !t)
4171
4171
  return x;
4172
4172
  let s = "";
4173
- return e ? t ? s = `${e}: ${this._getTimestamp(t)}` : s = e : t && (s = this._getTimestamp(t)), w`<p class="conversation-timestamp">${s}</p>`;
4173
+ e ? t ? s = `${e}: ${this._getTimestamp(t)}` : s = e : t && (s = this._getTimestamp(t));
4174
+ const i = this.application.texts.getOrFallback(
4175
+ "conversation.sr-only.message-from-label",
4176
+ "Message from"
4177
+ );
4178
+ return w`
4179
+ <p class="conversation-timestamp">
4180
+ <span class="sr-only">${i}</span>
4181
+ ${s}
4182
+ </p>
4183
+ `;
4174
4184
  }
4175
4185
  _renderDeliveryStatus(e) {
4176
4186
  return e === "delivered" ? w`<telia-icon
4177
- svg=${Wl.svg}
4187
+ svg=${Zl.svg}
4178
4188
  size="sm"
4179
4189
  ></telia-icon>` : e === "failed" ? w`<telia-icon
4180
- svg=${ql.svg}
4190
+ svg=${Gl.svg}
4181
4191
  size="sm"
4182
4192
  title="Message could not be delivered"
4183
- ></telia-icon>` : w`<telia-icon svg=${Gl.svg} size="sm"></telia-icon>`;
4193
+ ></telia-icon>` : w`<telia-icon svg=${Yl.svg} size="sm"></telia-icon>`;
4184
4194
  }
4185
4195
  _dispatchEntryAction(e) {
4186
4196
  this.entry.actions$.next(e.detail);
@@ -4266,7 +4276,7 @@ const si = class si extends M {
4266
4276
  }
4267
4277
  }
4268
4278
  };
4269
- si.styles = [
4279
+ ii.styles = [
4270
4280
  Z`
4271
4281
  :host {
4272
4282
  box-sizing: border-box;
@@ -4387,18 +4397,34 @@ si.styles = [
4387
4397
  .entry-content {
4388
4398
  grid-area: content;
4389
4399
  }
4400
+
4401
+ .sr-only {
4402
+ position: absolute;
4403
+ width: 1px;
4404
+ height: 1px;
4405
+ padding: 0;
4406
+ margin: -1px;
4407
+ overflow: hidden;
4408
+ clip: rect(0, 0, 0, 0);
4409
+ white-space: nowrap;
4410
+ border-width: 0;
4411
+ }
4390
4412
  `
4391
4413
  ];
4392
- let dn = si;
4393
- Su([
4394
- T({ attribute: !1 })
4395
- ], dn.prototype, "entry");
4396
- var _u = Object.defineProperty, zo = (n, e, t, s) => {
4414
+ let Ct = ii;
4415
+ Ho([
4416
+ C({ attribute: !1 })
4417
+ ], Ct.prototype, "entry");
4418
+ Ho([
4419
+ Uo({ context: Bs }),
4420
+ C({ attribute: !1 })
4421
+ ], Ct.prototype, "application");
4422
+ var _u = Object.defineProperty, Bo = (n, e, t, s) => {
4397
4423
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
4398
4424
  (o = n[r]) && (i = o(e, t, i) || i);
4399
4425
  return i && _u(e, t, i), i;
4400
4426
  };
4401
- const ii = class ii extends M {
4427
+ const ri = class ri extends M {
4402
4428
  constructor() {
4403
4429
  super(...arguments), this.entries = [], this.loading = !0;
4404
4430
  }
@@ -4414,7 +4440,7 @@ const ii = class ii extends M {
4414
4440
  .entry=${e}
4415
4441
  ${gs({
4416
4442
  keyframeOptions: {},
4417
- in: gr,
4443
+ in: mr,
4418
4444
  stabilizeOut: !0,
4419
4445
  skipInitial: !1
4420
4446
  })}
@@ -4425,8 +4451,8 @@ const ii = class ii extends M {
4425
4451
  ${this.loading ? w`<ace-typing-state
4426
4452
  ${gs({
4427
4453
  keyframeOptions: {},
4428
- in: gr,
4429
- out: au,
4454
+ in: mr,
4455
+ out: cu,
4430
4456
  stabilizeOut: !0,
4431
4457
  skipInitial: !1
4432
4458
  })}
@@ -4434,7 +4460,7 @@ const ii = class ii extends M {
4434
4460
  </div>`;
4435
4461
  }
4436
4462
  };
4437
- ii.styles = [
4463
+ ri.styles = [
4438
4464
  Z`
4439
4465
  :host {
4440
4466
  display: block;
@@ -4453,13 +4479,13 @@ ii.styles = [
4453
4479
  }
4454
4480
  `
4455
4481
  ];
4456
- let Ct = ii;
4457
- zo([
4458
- T({ attribute: !1 })
4459
- ], Ct.prototype, "entries");
4460
- zo([
4461
- T({ type: Boolean })
4462
- ], Ct.prototype, "loading");
4482
+ let Tt = ri;
4483
+ Bo([
4484
+ C({ attribute: !1 })
4485
+ ], Tt.prototype, "entries");
4486
+ Bo([
4487
+ C({ type: Boolean })
4488
+ ], Tt.prototype, "loading");
4463
4489
  /**
4464
4490
  * @license
4465
4491
  * Copyright 2021 Google LLC
@@ -4474,7 +4500,7 @@ var Au = Object.defineProperty, Cu = (n, e, t, s) => {
4474
4500
  (o = n[r]) && (i = o(e, t, i) || i);
4475
4501
  return i && Au(e, t, i), i;
4476
4502
  };
4477
- const ri = class ri extends M {
4503
+ const oi = class oi extends M {
4478
4504
  render() {
4479
4505
  return w`
4480
4506
  <div class="message-group">
@@ -4503,7 +4529,7 @@ const ri = class ri extends M {
4503
4529
  `;
4504
4530
  }
4505
4531
  };
4506
- ri.styles = [
4532
+ oi.styles = [
4507
4533
  Z`
4508
4534
  :host {
4509
4535
  box-sizing: border-box;
@@ -4519,11 +4545,11 @@ ri.styles = [
4519
4545
  }
4520
4546
  `
4521
4547
  ];
4522
- let pn = ri;
4548
+ let pn = oi;
4523
4549
  Cu([
4524
- T({ attribute: !1 })
4550
+ C({ attribute: !1 })
4525
4551
  ], pn.prototype, "group");
4526
- const oi = class oi extends M {
4552
+ const ai = class ai extends M {
4527
4553
  render() {
4528
4554
  return w`<div class="container">
4529
4555
  <div class="dot"></div>
@@ -4532,7 +4558,7 @@ const oi = class oi extends M {
4532
4558
  </div>`;
4533
4559
  }
4534
4560
  };
4535
- oi.styles = [
4561
+ ai.styles = [
4536
4562
  Z`
4537
4563
  :host {
4538
4564
  display: block;
@@ -4569,7 +4595,7 @@ oi.styles = [
4569
4595
  }
4570
4596
  `
4571
4597
  ];
4572
- let vs = oi;
4598
+ let vs = ai;
4573
4599
  /**
4574
4600
  * @license
4575
4601
  * Copyright 2017 Google LLC
@@ -4593,8 +4619,8 @@ bs.directiveName = "unsafeHTML", bs.resultType = 1;
4593
4619
  const Tu = En(bs);
4594
4620
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
4595
4621
  const {
4596
- entries: Ho,
4597
- setPrototypeOf: wr,
4622
+ entries: Fo,
4623
+ setPrototypeOf: kr,
4598
4624
  isFrozen: Ru,
4599
4625
  getPrototypeOf: Lu,
4600
4626
  getOwnPropertyDescriptor: Ou
@@ -4602,7 +4628,7 @@ const {
4602
4628
  let {
4603
4629
  freeze: W,
4604
4630
  seal: Q,
4605
- create: Bo
4631
+ create: jo
4606
4632
  } = Object, {
4607
4633
  apply: ys,
4608
4634
  construct: $s
@@ -4619,7 +4645,7 @@ ys || (ys = function(e, t, s) {
4619
4645
  $s || ($s = function(e, t) {
4620
4646
  return new e(...t);
4621
4647
  });
4622
- const Zt = G(Array.prototype.forEach), Pu = G(Array.prototype.lastIndexOf), kr = G(Array.prototype.pop), pt = G(Array.prototype.push), Iu = G(Array.prototype.splice), Qt = G(String.prototype.toLowerCase), Vn = G(String.prototype.toString), Sr = G(String.prototype.match), ft = G(String.prototype.replace), Mu = G(String.prototype.indexOf), Nu = G(String.prototype.trim), ee = G(Object.prototype.hasOwnProperty), B = G(RegExp.prototype.test), gt = Du(TypeError);
4648
+ const Yt = G(Array.prototype.forEach), Pu = G(Array.prototype.lastIndexOf), Sr = G(Array.prototype.pop), pt = G(Array.prototype.push), Iu = G(Array.prototype.splice), Jt = G(String.prototype.toLowerCase), Vn = G(String.prototype.toString), _r = G(String.prototype.match), ft = G(String.prototype.replace), Mu = G(String.prototype.indexOf), Nu = G(String.prototype.trim), ee = G(Object.prototype.hasOwnProperty), B = G(RegExp.prototype.test), gt = Du(TypeError);
4623
4649
  function G(n) {
4624
4650
  return function(e) {
4625
4651
  e instanceof RegExp && (e.lastIndex = 0);
@@ -4636,8 +4662,8 @@ function Du(n) {
4636
4662
  };
4637
4663
  }
4638
4664
  function $(n, e) {
4639
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Qt;
4640
- wr && wr(n, null);
4665
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Jt;
4666
+ kr && kr(n, null);
4641
4667
  let s = e.length;
4642
4668
  for (; s--; ) {
4643
4669
  let i = e[s];
@@ -4655,8 +4681,8 @@ function Uu(n) {
4655
4681
  return n;
4656
4682
  }
4657
4683
  function fe(n) {
4658
- const e = Bo(null);
4659
- for (const [t, s] of Ho(n))
4684
+ const e = jo(null);
4685
+ for (const [t, s] of Fo(n))
4660
4686
  ee(n, t) && (Array.isArray(s) ? e[t] = Uu(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = fe(s) : e[t] = s);
4661
4687
  return e;
4662
4688
  }
@@ -4676,22 +4702,22 @@ function mt(n, e) {
4676
4702
  }
4677
4703
  return t;
4678
4704
  }
4679
- const _r = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Qn = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Jn = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), zu = W(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), es = W(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Hu = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Er = W(["#text"]), Ar = W(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ts = W(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Cr = W(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Yt = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Bu = Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Fu = Q(/<%[\w\W]*|[\w\W]*%>/gm), ju = Q(/\$\{[\w\W]*/gm), qu = Q(/^data-[\-\w.\u00B7-\uFFFF]+$/), Wu = Q(/^aria-[\-\w]+$/), Fo = Q(
4705
+ const Er = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Qn = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Jn = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), zu = W(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), es = W(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Hu = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ar = W(["#text"]), Cr = W(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ts = W(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Tr = W(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Xt = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Bu = Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Fu = Q(/<%[\w\W]*|[\w\W]*%>/gm), ju = Q(/\$\{[\w\W]*/gm), qu = Q(/^data-[\-\w.\u00B7-\uFFFF]+$/), Wu = Q(/^aria-[\-\w]+$/), qo = Q(
4680
4706
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4681
4707
  // eslint-disable-line no-useless-escape
4682
4708
  ), Gu = Q(/^(?:\w+script|data):/i), Zu = Q(
4683
4709
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4684
4710
  // eslint-disable-line no-control-regex
4685
- ), jo = Q(/^html$/i), Yu = Q(/^[a-z][.\w]*(-[.\w]+)+$/i);
4686
- var Tr = /* @__PURE__ */ Object.freeze({
4711
+ ), Wo = Q(/^html$/i), Yu = Q(/^[a-z][.\w]*(-[.\w]+)+$/i);
4712
+ var Rr = /* @__PURE__ */ Object.freeze({
4687
4713
  __proto__: null,
4688
4714
  ARIA_ATTR: Wu,
4689
4715
  ATTR_WHITESPACE: Zu,
4690
4716
  CUSTOM_ELEMENT: Yu,
4691
4717
  DATA_ATTR: qu,
4692
- DOCTYPE_NAME: jo,
4718
+ DOCTYPE_NAME: Wo,
4693
4719
  ERB_EXPR: Fu,
4694
- IS_ALLOWED_URI: Fo,
4720
+ IS_ALLOWED_URI: qo,
4695
4721
  IS_SCRIPT_OR_DATA: Gu,
4696
4722
  MUSTACHE_EXPR: Bu,
4697
4723
  TMPLIT_EXPR: ju
@@ -4724,7 +4750,7 @@ const vt = {
4724
4750
  } catch {
4725
4751
  return console.warn("TrustedTypes policy " + r + " could not be created."), null;
4726
4752
  }
4727
- }, Rr = function() {
4753
+ }, Lr = function() {
4728
4754
  return {
4729
4755
  afterSanitizeAttributes: [],
4730
4756
  afterSanitizeElements: [],
@@ -4737,9 +4763,9 @@ const vt = {
4737
4763
  uponSanitizeShadowNode: []
4738
4764
  };
4739
4765
  };
4740
- function qo() {
4766
+ function Go() {
4741
4767
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Xu();
4742
- const e = (b) => qo(b);
4768
+ const e = (b) => Go(b);
4743
4769
  if (e.version = "3.2.6", e.removed = [], !n || !n.document || n.document.nodeType !== vt.document || !n.Element)
4744
4770
  return e.isSupported = !1, e;
4745
4771
  let {
@@ -4764,30 +4790,30 @@ function qo() {
4764
4790
  const {
4765
4791
  implementation: Ce,
4766
4792
  createNodeIterator: Te,
4767
- createDocumentFragment: oa,
4768
- getElementsByTagName: aa
4793
+ createDocumentFragment: la,
4794
+ getElementsByTagName: ca
4769
4795
  } = t, {
4770
- importNode: la
4796
+ importNode: ua
4771
4797
  } = s;
4772
- let H = Rr();
4773
- e.isSupported = typeof Ho == "function" && typeof Ee == "function" && Ce && Ce.createHTMLDocument !== void 0;
4798
+ let H = Lr();
4799
+ e.isSupported = typeof Fo == "function" && typeof Ee == "function" && Ce && Ce.createHTMLDocument !== void 0;
4774
4800
  const {
4775
4801
  MUSTACHE_EXPR: Tn,
4776
4802
  ERB_EXPR: Rn,
4777
4803
  TMPLIT_EXPR: Ln,
4778
- DATA_ATTR: ca,
4779
- ARIA_ATTR: ua,
4780
- IS_SCRIPT_OR_DATA: ha,
4781
- ATTR_WHITESPACE: hi,
4782
- CUSTOM_ELEMENT: da
4783
- } = Tr;
4804
+ DATA_ATTR: ha,
4805
+ ARIA_ATTR: da,
4806
+ IS_SCRIPT_OR_DATA: pa,
4807
+ ATTR_WHITESPACE: di,
4808
+ CUSTOM_ELEMENT: fa
4809
+ } = Rr;
4784
4810
  let {
4785
- IS_ALLOWED_URI: di
4786
- } = Tr, O = null;
4787
- const pi = $({}, [..._r, ...Qn, ...Jn, ...es, ...Er]);
4811
+ IS_ALLOWED_URI: pi
4812
+ } = Rr, O = null;
4813
+ const fi = $({}, [...Er, ...Qn, ...Jn, ...es, ...Ar]);
4788
4814
  let N = null;
4789
- const fi = $({}, [...Ar, ...ts, ...Cr, ...Yt]);
4790
- let C = Object.seal(Bo(null, {
4815
+ const gi = $({}, [...Cr, ...ts, ...Tr, ...Xt]);
4816
+ let T = Object.seal(jo(null, {
4791
4817
  tagNameCheck: {
4792
4818
  writable: !0,
4793
4819
  configurable: !1,
@@ -4806,28 +4832,28 @@ function qo() {
4806
4832
  enumerable: !0,
4807
4833
  value: !1
4808
4834
  }
4809
- })), lt = null, On = null, gi = !0, Pn = !0, mi = !1, vi = !0, Be = !1, Ut = !0, Re = !1, In = !1, Mn = !1, Fe = !1, zt = !1, Ht = !1, bi = !0, yi = !1;
4810
- const pa = "user-content-";
4835
+ })), lt = null, On = null, mi = !0, Pn = !0, vi = !1, bi = !0, Be = !1, zt = !0, Re = !1, In = !1, Mn = !1, Fe = !1, Ht = !1, Bt = !1, yi = !0, $i = !1;
4836
+ const ga = "user-content-";
4811
4837
  let Nn = !0, ct = !1, je = {}, qe = null;
4812
- const $i = $({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4813
- let xi = null;
4814
- const wi = $({}, ["audio", "video", "img", "source", "image", "track"]);
4838
+ const xi = $({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4839
+ let wi = null;
4840
+ const ki = $({}, ["audio", "video", "img", "source", "image", "track"]);
4815
4841
  let Dn = null;
4816
- const ki = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Bt = "http://www.w3.org/1998/Math/MathML", Ft = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
4842
+ const Si = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ft = "http://www.w3.org/1998/Math/MathML", jt = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
4817
4843
  let We = ue, Un = !1, zn = null;
4818
- const fa = $({}, [Bt, Ft, ue], Vn);
4819
- let jt = $({}, ["mi", "mo", "mn", "ms", "mtext"]), qt = $({}, ["annotation-xml"]);
4820
- const ga = $({}, ["title", "style", "font", "a", "script"]);
4844
+ const ma = $({}, [Ft, jt, ue], Vn);
4845
+ let qt = $({}, ["mi", "mo", "mn", "ms", "mtext"]), Wt = $({}, ["annotation-xml"]);
4846
+ const va = $({}, ["title", "style", "font", "a", "script"]);
4821
4847
  let ut = null;
4822
- const ma = ["application/xhtml+xml", "text/html"], va = "text/html";
4848
+ const ba = ["application/xhtml+xml", "text/html"], ya = "text/html";
4823
4849
  let P = null, Ge = null;
4824
- const ba = t.createElement("form"), Si = function(h) {
4850
+ const $a = t.createElement("form"), _i = function(h) {
4825
4851
  return h instanceof RegExp || h instanceof Function;
4826
4852
  }, Hn = function() {
4827
4853
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4828
4854
  if (!(Ge && Ge === h)) {
4829
4855
  if ((!h || typeof h != "object") && (h = {}), h = fe(h), ut = // eslint-disable-next-line unicorn/prefer-includes
4830
- ma.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? va : h.PARSER_MEDIA_TYPE, P = ut === "application/xhtml+xml" ? Vn : Qt, O = ee(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, P) : pi, N = ee(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, P) : fi, zn = ee(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Vn) : fa, Dn = ee(h, "ADD_URI_SAFE_ATTR") ? $(fe(ki), h.ADD_URI_SAFE_ATTR, P) : ki, xi = ee(h, "ADD_DATA_URI_TAGS") ? $(fe(wi), h.ADD_DATA_URI_TAGS, P) : wi, qe = ee(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, P) : $i, lt = ee(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, P) : fe({}), On = ee(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, P) : fe({}), je = ee(h, "USE_PROFILES") ? h.USE_PROFILES : !1, gi = h.ALLOW_ARIA_ATTR !== !1, Pn = h.ALLOW_DATA_ATTR !== !1, mi = h.ALLOW_UNKNOWN_PROTOCOLS || !1, vi = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Be = h.SAFE_FOR_TEMPLATES || !1, Ut = h.SAFE_FOR_XML !== !1, Re = h.WHOLE_DOCUMENT || !1, Fe = h.RETURN_DOM || !1, zt = h.RETURN_DOM_FRAGMENT || !1, Ht = h.RETURN_TRUSTED_TYPE || !1, Mn = h.FORCE_BODY || !1, bi = h.SANITIZE_DOM !== !1, yi = h.SANITIZE_NAMED_PROPS || !1, Nn = h.KEEP_CONTENT !== !1, ct = h.IN_PLACE || !1, di = h.ALLOWED_URI_REGEXP || Fo, We = h.NAMESPACE || ue, jt = h.MATHML_TEXT_INTEGRATION_POINTS || jt, qt = h.HTML_INTEGRATION_POINTS || qt, C = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && Si(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (C.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && Si(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (C.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (C.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Be && (Pn = !1), zt && (Fe = !0), je && (O = $({}, Er), N = [], je.html === !0 && ($(O, _r), $(N, Ar)), je.svg === !0 && ($(O, Qn), $(N, ts), $(N, Yt)), je.svgFilters === !0 && ($(O, Jn), $(N, ts), $(N, Yt)), je.mathMl === !0 && ($(O, es), $(N, Cr), $(N, Yt))), h.ADD_TAGS && (O === pi && (O = fe(O)), $(O, h.ADD_TAGS, P)), h.ADD_ATTR && (N === fi && (N = fe(N)), $(N, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && $(Dn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (qe === $i && (qe = fe(qe)), $(qe, h.FORBID_CONTENTS, P)), Nn && (O["#text"] = !0), Re && $(O, ["html", "head", "body"]), O.table && ($(O, ["tbody"]), delete lt.tbody), h.TRUSTED_TYPES_POLICY) {
4856
+ ba.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? ya : h.PARSER_MEDIA_TYPE, P = ut === "application/xhtml+xml" ? Vn : Jt, O = ee(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, P) : fi, N = ee(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, P) : gi, zn = ee(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Vn) : ma, Dn = ee(h, "ADD_URI_SAFE_ATTR") ? $(fe(Si), h.ADD_URI_SAFE_ATTR, P) : Si, wi = ee(h, "ADD_DATA_URI_TAGS") ? $(fe(ki), h.ADD_DATA_URI_TAGS, P) : ki, qe = ee(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, P) : xi, lt = ee(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, P) : fe({}), On = ee(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, P) : fe({}), je = ee(h, "USE_PROFILES") ? h.USE_PROFILES : !1, mi = h.ALLOW_ARIA_ATTR !== !1, Pn = h.ALLOW_DATA_ATTR !== !1, vi = h.ALLOW_UNKNOWN_PROTOCOLS || !1, bi = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Be = h.SAFE_FOR_TEMPLATES || !1, zt = h.SAFE_FOR_XML !== !1, Re = h.WHOLE_DOCUMENT || !1, Fe = h.RETURN_DOM || !1, Ht = h.RETURN_DOM_FRAGMENT || !1, Bt = h.RETURN_TRUSTED_TYPE || !1, Mn = h.FORCE_BODY || !1, yi = h.SANITIZE_DOM !== !1, $i = h.SANITIZE_NAMED_PROPS || !1, Nn = h.KEEP_CONTENT !== !1, ct = h.IN_PLACE || !1, pi = h.ALLOWED_URI_REGEXP || qo, We = h.NAMESPACE || ue, qt = h.MATHML_TEXT_INTEGRATION_POINTS || qt, Wt = h.HTML_INTEGRATION_POINTS || Wt, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && _i(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && _i(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Be && (Pn = !1), Ht && (Fe = !0), je && (O = $({}, Ar), N = [], je.html === !0 && ($(O, Er), $(N, Cr)), je.svg === !0 && ($(O, Qn), $(N, ts), $(N, Xt)), je.svgFilters === !0 && ($(O, Jn), $(N, ts), $(N, Xt)), je.mathMl === !0 && ($(O, es), $(N, Tr), $(N, Xt))), h.ADD_TAGS && (O === fi && (O = fe(O)), $(O, h.ADD_TAGS, P)), h.ADD_ATTR && (N === gi && (N = fe(N)), $(N, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && $(Dn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (qe === xi && (qe = fe(qe)), $(qe, h.FORBID_CONTENTS, P)), Nn && (O["#text"] = !0), Re && $(O, ["html", "head", "body"]), O.table && ($(O, ["tbody"]), delete lt.tbody), h.TRUSTED_TYPES_POLICY) {
4831
4857
  if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
4832
4858
  throw gt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4833
4859
  if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -4837,14 +4863,14 @@ function qo() {
4837
4863
  L === void 0 && (L = Ku(g, i)), L !== null && typeof Ae == "string" && (Ae = L.createHTML(""));
4838
4864
  W && W(h), Ge = h;
4839
4865
  }
4840
- }, _i = $({}, [...Qn, ...Jn, ...zu]), Ei = $({}, [...es, ...Hu]), ya = function(h) {
4866
+ }, Ei = $({}, [...Qn, ...Jn, ...zu]), Ai = $({}, [...es, ...Hu]), xa = function(h) {
4841
4867
  let f = Ee(h);
4842
4868
  (!f || !f.tagName) && (f = {
4843
4869
  namespaceURI: We,
4844
4870
  tagName: "template"
4845
4871
  });
4846
- const v = Qt(h.tagName), A = Qt(f.tagName);
4847
- return zn[h.namespaceURI] ? h.namespaceURI === Ft ? f.namespaceURI === ue ? v === "svg" : f.namespaceURI === Bt ? v === "svg" && (A === "annotation-xml" || jt[A]) : !!_i[v] : h.namespaceURI === Bt ? f.namespaceURI === ue ? v === "math" : f.namespaceURI === Ft ? v === "math" && qt[A] : !!Ei[v] : h.namespaceURI === ue ? f.namespaceURI === Ft && !qt[A] || f.namespaceURI === Bt && !jt[A] ? !1 : !Ei[v] && (ga[v] || !_i[v]) : !!(ut === "application/xhtml+xml" && zn[h.namespaceURI]) : !1;
4872
+ const v = Jt(h.tagName), A = Jt(f.tagName);
4873
+ return zn[h.namespaceURI] ? h.namespaceURI === jt ? f.namespaceURI === ue ? v === "svg" : f.namespaceURI === Ft ? v === "svg" && (A === "annotation-xml" || qt[A]) : !!Ei[v] : h.namespaceURI === Ft ? f.namespaceURI === ue ? v === "math" : f.namespaceURI === jt ? v === "math" && Wt[A] : !!Ai[v] : h.namespaceURI === ue ? f.namespaceURI === jt && !Wt[A] || f.namespaceURI === Ft && !qt[A] ? !1 : !Ai[v] && (va[v] || !Ei[v]) : !!(ut === "application/xhtml+xml" && zn[h.namespaceURI]) : !1;
4848
4874
  }, se = function(h) {
4849
4875
  pt(e.removed, {
4850
4876
  element: h
@@ -4867,7 +4893,7 @@ function qo() {
4867
4893
  });
4868
4894
  }
4869
4895
  if (f.removeAttribute(h), h === "is")
4870
- if (Fe || zt)
4896
+ if (Fe || Ht)
4871
4897
  try {
4872
4898
  se(f);
4873
4899
  } catch {
@@ -4877,12 +4903,12 @@ function qo() {
4877
4903
  f.setAttribute(h, "");
4878
4904
  } catch {
4879
4905
  }
4880
- }, Ai = function(h) {
4906
+ }, Ci = function(h) {
4881
4907
  let f = null, v = null;
4882
4908
  if (Mn)
4883
4909
  h = "<remove></remove>" + h;
4884
4910
  else {
4885
- const R = Sr(h, /^[\r\n\t ]+/);
4911
+ const R = _r(h, /^[\r\n\t ]+/);
4886
4912
  v = R && R[0];
4887
4913
  }
4888
4914
  ut === "application/xhtml+xml" && We === ue && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
@@ -4900,8 +4926,8 @@ function qo() {
4900
4926
  }
4901
4927
  }
4902
4928
  const D = f.body || f.documentElement;
4903
- return h && v && D.insertBefore(t.createTextNode(v), D.childNodes[0] || null), We === ue ? aa.call(f, Re ? "html" : "body")[0] : Re ? f.documentElement : D;
4904
- }, Ci = function(h) {
4929
+ return h && v && D.insertBefore(t.createTextNode(v), D.childNodes[0] || null), We === ue ? ca.call(f, Re ? "html" : "body")[0] : Re ? f.documentElement : D;
4930
+ }, Ti = function(h) {
4905
4931
  return Te.call(
4906
4932
  h.ownerDocument || h,
4907
4933
  h,
@@ -4911,15 +4937,15 @@ function qo() {
4911
4937
  );
4912
4938
  }, Bn = function(h) {
4913
4939
  return h instanceof p && (typeof h.nodeName != "string" || typeof h.textContent != "string" || typeof h.removeChild != "function" || !(h.attributes instanceof u) || typeof h.removeAttribute != "function" || typeof h.setAttribute != "function" || typeof h.namespaceURI != "string" || typeof h.insertBefore != "function" || typeof h.hasChildNodes != "function");
4914
- }, Ti = function(h) {
4940
+ }, Ri = function(h) {
4915
4941
  return typeof a == "function" && h instanceof a;
4916
4942
  };
4917
4943
  function he(b, h, f) {
4918
- Zt(b, (v) => {
4944
+ Yt(b, (v) => {
4919
4945
  v.call(e, h, f, Ge);
4920
4946
  });
4921
4947
  }
4922
- const Ri = function(h) {
4948
+ const Li = function(h) {
4923
4949
  let f = null;
4924
4950
  if (he(H.beforeSanitizeElements, h, null), Bn(h))
4925
4951
  return se(h), !0;
@@ -4927,10 +4953,10 @@ function qo() {
4927
4953
  if (he(H.uponSanitizeElement, h, {
4928
4954
  tagName: v,
4929
4955
  allowedTags: O
4930
- }), Ut && h.hasChildNodes() && !Ti(h.firstElementChild) && B(/<[/\w!]/g, h.innerHTML) && B(/<[/\w!]/g, h.textContent) || h.nodeType === vt.progressingInstruction || Ut && h.nodeType === vt.comment && B(/<[/\w]/g, h.data))
4956
+ }), zt && h.hasChildNodes() && !Ri(h.firstElementChild) && B(/<[/\w!]/g, h.innerHTML) && B(/<[/\w!]/g, h.textContent) || h.nodeType === vt.progressingInstruction || zt && h.nodeType === vt.comment && B(/<[/\w]/g, h.data))
4931
4957
  return se(h), !0;
4932
4958
  if (!O[v] || lt[v]) {
4933
- if (!lt[v] && Oi(v) && (C.tagNameCheck instanceof RegExp && B(C.tagNameCheck, v) || C.tagNameCheck instanceof Function && C.tagNameCheck(v)))
4959
+ if (!lt[v] && Pi(v) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
4934
4960
  return !1;
4935
4961
  if (Nn && !qe[v]) {
4936
4962
  const A = Ee(h) || h.parentNode, D = xe(h) || h.childNodes;
@@ -4944,29 +4970,29 @@ function qo() {
4944
4970
  }
4945
4971
  return se(h), !0;
4946
4972
  }
4947
- return h instanceof l && !ya(h) || (v === "noscript" || v === "noembed" || v === "noframes") && B(/<\/no(script|embed|frames)/i, h.innerHTML) ? (se(h), !0) : (Be && h.nodeType === vt.text && (f = h.textContent, Zt([Tn, Rn, Ln], (A) => {
4973
+ return h instanceof l && !xa(h) || (v === "noscript" || v === "noembed" || v === "noframes") && B(/<\/no(script|embed|frames)/i, h.innerHTML) ? (se(h), !0) : (Be && h.nodeType === vt.text && (f = h.textContent, Yt([Tn, Rn, Ln], (A) => {
4948
4974
  f = ft(f, A, " ");
4949
4975
  }), h.textContent !== f && (pt(e.removed, {
4950
4976
  element: h.cloneNode()
4951
4977
  }), h.textContent = f)), he(H.afterSanitizeElements, h, null), !1);
4952
- }, Li = function(h, f, v) {
4953
- if (bi && (f === "id" || f === "name") && (v in t || v in ba))
4978
+ }, Oi = function(h, f, v) {
4979
+ if (yi && (f === "id" || f === "name") && (v in t || v in $a))
4954
4980
  return !1;
4955
- if (!(Pn && !On[f] && B(ca, f))) {
4956
- if (!(gi && B(ua, f))) {
4981
+ if (!(Pn && !On[f] && B(ha, f))) {
4982
+ if (!(mi && B(da, f))) {
4957
4983
  if (!N[f] || On[f]) {
4958
4984
  if (
4959
4985
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4960
4986
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4961
4987
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4962
- !(Oi(h) && (C.tagNameCheck instanceof RegExp && B(C.tagNameCheck, h) || C.tagNameCheck instanceof Function && C.tagNameCheck(h)) && (C.attributeNameCheck instanceof RegExp && B(C.attributeNameCheck, f) || C.attributeNameCheck instanceof Function && C.attributeNameCheck(f)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4988
+ !(Pi(h) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, h) || T.tagNameCheck instanceof Function && T.tagNameCheck(h)) && (T.attributeNameCheck instanceof RegExp && B(T.attributeNameCheck, f) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(f)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4963
4989
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4964
- f === "is" && C.allowCustomizedBuiltInElements && (C.tagNameCheck instanceof RegExp && B(C.tagNameCheck, v) || C.tagNameCheck instanceof Function && C.tagNameCheck(v)))
4990
+ f === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
4965
4991
  ) return !1;
4966
4992
  } else if (!Dn[f]) {
4967
- if (!B(di, ft(v, hi, ""))) {
4968
- if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Mu(v, "data:") === 0 && xi[h])) {
4969
- if (!(mi && !B(ha, ft(v, hi, "")))) {
4993
+ if (!B(pi, ft(v, di, ""))) {
4994
+ if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Mu(v, "data:") === 0 && wi[h])) {
4995
+ if (!(vi && !B(pa, ft(v, di, "")))) {
4970
4996
  if (v)
4971
4997
  return !1;
4972
4998
  }
@@ -4976,9 +5002,9 @@ function qo() {
4976
5002
  }
4977
5003
  }
4978
5004
  return !0;
4979
- }, Oi = function(h) {
4980
- return h !== "annotation-xml" && Sr(h, da);
4981
5005
  }, Pi = function(h) {
5006
+ return h !== "annotation-xml" && _r(h, fa);
5007
+ }, Ii = function(h) {
4982
5008
  he(H.beforeSanitizeAttributes, h, null);
4983
5009
  const {
4984
5010
  attributes: f
@@ -5000,7 +5026,7 @@ function qo() {
5000
5026
  value: de
5001
5027
  } = D, ht = P(R), Fn = de;
5002
5028
  let U = R === "value" ? Fn : Nu(Fn);
5003
- if (v.attrName = ht, v.attrValue = U, v.keepAttr = !0, v.forceKeepAttr = void 0, he(H.uponSanitizeAttribute, h, v), U = v.attrValue, yi && (ht === "id" || ht === "name") && (Ze(R, h), U = pa + U), Ut && B(/((--!?|])>)|<\/(style|title)/i, U)) {
5029
+ if (v.attrName = ht, v.attrValue = U, v.keepAttr = !0, v.forceKeepAttr = void 0, he(H.uponSanitizeAttribute, h, v), U = v.attrValue, $i && (ht === "id" || ht === "name") && (Ze(R, h), U = ga + U), zt && B(/((--!?|])>)|<\/(style|title)/i, U)) {
5004
5030
  Ze(R, h);
5005
5031
  continue;
5006
5032
  }
@@ -5010,20 +5036,20 @@ function qo() {
5010
5036
  Ze(R, h);
5011
5037
  continue;
5012
5038
  }
5013
- if (!vi && B(/\/>/i, U)) {
5039
+ if (!bi && B(/\/>/i, U)) {
5014
5040
  Ze(R, h);
5015
5041
  continue;
5016
5042
  }
5017
- Be && Zt([Tn, Rn, Ln], (Mi) => {
5018
- U = ft(U, Mi, " ");
5043
+ Be && Yt([Tn, Rn, Ln], (Ni) => {
5044
+ U = ft(U, Ni, " ");
5019
5045
  });
5020
- const Ii = P(h.nodeName);
5021
- if (!Li(Ii, ht, U)) {
5046
+ const Mi = P(h.nodeName);
5047
+ if (!Oi(Mi, ht, U)) {
5022
5048
  Ze(R, h);
5023
5049
  continue;
5024
5050
  }
5025
5051
  if (L && typeof g == "object" && typeof g.getAttributeType == "function" && !Y)
5026
- switch (g.getAttributeType(Ii, ht)) {
5052
+ switch (g.getAttributeType(Mi, ht)) {
5027
5053
  case "TrustedHTML": {
5028
5054
  U = L.createHTML(U);
5029
5055
  break;
@@ -5035,22 +5061,22 @@ function qo() {
5035
5061
  }
5036
5062
  if (U !== Fn)
5037
5063
  try {
5038
- Y ? h.setAttributeNS(Y, R, U) : h.setAttribute(R, U), Bn(h) ? se(h) : kr(e.removed);
5064
+ Y ? h.setAttributeNS(Y, R, U) : h.setAttribute(R, U), Bn(h) ? se(h) : Sr(e.removed);
5039
5065
  } catch {
5040
5066
  Ze(R, h);
5041
5067
  }
5042
5068
  }
5043
5069
  he(H.afterSanitizeAttributes, h, null);
5044
- }, $a = function b(h) {
5070
+ }, wa = function b(h) {
5045
5071
  let f = null;
5046
- const v = Ci(h);
5072
+ const v = Ti(h);
5047
5073
  for (he(H.beforeSanitizeShadowDOM, h, null); f = v.nextNode(); )
5048
- he(H.uponSanitizeShadowNode, f, null), Ri(f), Pi(f), f.content instanceof r && b(f.content);
5074
+ he(H.uponSanitizeShadowNode, f, null), Li(f), Ii(f), f.content instanceof r && b(f.content);
5049
5075
  he(H.afterSanitizeShadowDOM, h, null);
5050
5076
  };
5051
5077
  return e.sanitize = function(b) {
5052
5078
  let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = null, v = null, A = null, D = null;
5053
- if (Un = !b, Un && (b = "<!-->"), typeof b != "string" && !Ti(b))
5079
+ if (Un = !b, Un && (b = "<!-->"), typeof b != "string" && !Ri(b))
5054
5080
  if (typeof b.toString == "function") {
5055
5081
  if (b = b.toString(), typeof b != "string")
5056
5082
  throw gt("dirty is not a string, aborting");
@@ -5065,33 +5091,33 @@ function qo() {
5065
5091
  throw gt("root node is forbidden and cannot be sanitized in-place");
5066
5092
  }
5067
5093
  } else if (b instanceof a)
5068
- f = Ai("<!---->"), v = f.ownerDocument.importNode(b, !0), v.nodeType === vt.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? f = v : f.appendChild(v);
5094
+ f = Ci("<!---->"), v = f.ownerDocument.importNode(b, !0), v.nodeType === vt.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? f = v : f.appendChild(v);
5069
5095
  else {
5070
5096
  if (!Fe && !Be && !Re && // eslint-disable-next-line unicorn/prefer-includes
5071
5097
  b.indexOf("<") === -1)
5072
- return L && Ht ? L.createHTML(b) : b;
5073
- if (f = Ai(b), !f)
5074
- return Fe ? null : Ht ? Ae : "";
5098
+ return L && Bt ? L.createHTML(b) : b;
5099
+ if (f = Ci(b), !f)
5100
+ return Fe ? null : Bt ? Ae : "";
5075
5101
  }
5076
5102
  f && Mn && se(f.firstChild);
5077
- const R = Ci(ct ? b : f);
5103
+ const R = Ti(ct ? b : f);
5078
5104
  for (; A = R.nextNode(); )
5079
- Ri(A), Pi(A), A.content instanceof r && $a(A.content);
5105
+ Li(A), Ii(A), A.content instanceof r && wa(A.content);
5080
5106
  if (ct)
5081
5107
  return b;
5082
5108
  if (Fe) {
5083
- if (zt)
5084
- for (D = oa.call(f.ownerDocument); f.firstChild; )
5109
+ if (Ht)
5110
+ for (D = la.call(f.ownerDocument); f.firstChild; )
5085
5111
  D.appendChild(f.firstChild);
5086
5112
  else
5087
5113
  D = f;
5088
- return (N.shadowroot || N.shadowrootmode) && (D = la.call(s, D, !0)), D;
5114
+ return (N.shadowroot || N.shadowrootmode) && (D = ua.call(s, D, !0)), D;
5089
5115
  }
5090
5116
  let Y = Re ? f.outerHTML : f.innerHTML;
5091
- return Re && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && B(jo, f.ownerDocument.doctype.name) && (Y = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5092
- ` + Y), Be && Zt([Tn, Rn, Ln], (de) => {
5117
+ return Re && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && B(Wo, f.ownerDocument.doctype.name) && (Y = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5118
+ ` + Y), Be && Yt([Tn, Rn, Ln], (de) => {
5093
5119
  Y = ft(Y, de, " ");
5094
- }), L && Ht ? L.createHTML(Y) : Y;
5120
+ }), L && Bt ? L.createHTML(Y) : Y;
5095
5121
  }, e.setConfig = function() {
5096
5122
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5097
5123
  Hn(b), In = !0;
@@ -5100,7 +5126,7 @@ function qo() {
5100
5126
  }, e.isValidAttribute = function(b, h, f) {
5101
5127
  Ge || Hn({});
5102
5128
  const v = P(b), A = P(h);
5103
- return Li(v, A, f);
5129
+ return Oi(v, A, f);
5104
5130
  }, e.addHook = function(b, h) {
5105
5131
  typeof h == "function" && pt(H[b], h);
5106
5132
  }, e.removeHook = function(b, h) {
@@ -5108,26 +5134,26 @@ function qo() {
5108
5134
  const f = Pu(H[b], h);
5109
5135
  return f === -1 ? void 0 : Iu(H[b], f, 1)[0];
5110
5136
  }
5111
- return kr(H[b]);
5137
+ return Sr(H[b]);
5112
5138
  }, e.removeHooks = function(b) {
5113
5139
  H[b] = [];
5114
5140
  }, e.removeAllHooks = function() {
5115
- H = Rr();
5141
+ H = Lr();
5116
5142
  }, e;
5117
5143
  }
5118
- var Wo = qo(), Vu = Object.defineProperty, Qu = (n, e, t, s) => {
5144
+ var Zo = Go(), Vu = Object.defineProperty, Qu = (n, e, t, s) => {
5119
5145
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
5120
5146
  (o = n[r]) && (i = o(e, t, i) || i);
5121
5147
  return i && Vu(e, t, i), i;
5122
5148
  };
5123
- const ai = class ai extends M {
5149
+ const li = class li extends M {
5124
5150
  render() {
5125
5151
  return w`<div class="message-type-html">
5126
- ${Tu(Wo.sanitize(this.message.content))}
5152
+ ${Tu(Zo.sanitize(this.message.content))}
5127
5153
  </div>`;
5128
5154
  }
5129
5155
  };
5130
- ai.styles = [
5156
+ li.styles = [
5131
5157
  Z`
5132
5158
  :host {
5133
5159
  box-sizing: border-box;
@@ -5164,11 +5190,11 @@ ai.styles = [
5164
5190
  }
5165
5191
  `
5166
5192
  ];
5167
- let fn = ai;
5193
+ let fn = li;
5168
5194
  Qu([
5169
- T({ attribute: !1 })
5195
+ C({ attribute: !1 })
5170
5196
  ], fn.prototype, "message");
5171
- function Fs() {
5197
+ function js() {
5172
5198
  return {
5173
5199
  async: !1,
5174
5200
  breaks: !1,
@@ -5182,8 +5208,8 @@ function Fs() {
5182
5208
  walkTokens: null
5183
5209
  };
5184
5210
  }
5185
- var He = Fs();
5186
- function Go(n) {
5211
+ var He = js();
5212
+ function Yo(n) {
5187
5213
  He = n;
5188
5214
  }
5189
5215
  var kt = { exec: () => null };
@@ -5255,54 +5281,54 @@ var j = {
5255
5281
  fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`),
5256
5282
  headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`),
5257
5283
  htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i")
5258
- }, Ju = /^(?:[ \t]*(?:\n|$))+/, eh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, th = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Dt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, nh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, js = /(?:[*+-]|\d{1,9}[.)])/, Zo = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Yo = S(Zo).replace(/bull/g, js).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(), sh = S(Zo).replace(/bull/g, js).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(), qs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ih = /^[^\n]+/, Ws = /(?!\s*\])(?:\\.|[^\[\]\\])+/, rh = S(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ws).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), oh = S(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, js).getRegex(), An = "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", Gs = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ah = S(
5284
+ }, Ju = /^(?:[ \t]*(?:\n|$))+/, eh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, th = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ut = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, nh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, qs = /(?:[*+-]|\d{1,9}[.)])/, Xo = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Ko = S(Xo).replace(/bull/g, qs).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(), sh = S(Xo).replace(/bull/g, qs).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(), Ws = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, ih = /^[^\n]+/, Gs = /(?!\s*\])(?:\\.|[^\[\]\\])+/, rh = S(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Gs).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), oh = S(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, qs).getRegex(), An = "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", Zs = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ah = S(
5259
5285
  "^ {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|$))",
5260
5286
  "i"
5261
- ).replace("comment", Gs).replace("tag", An).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Xo = S(qs).replace("hr", Dt).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", An).getRegex(), lh = S(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Xo).getRegex(), Zs = {
5287
+ ).replace("comment", Zs).replace("tag", An).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vo = S(Ws).replace("hr", Ut).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", An).getRegex(), lh = S(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vo).getRegex(), Ys = {
5262
5288
  blockquote: lh,
5263
5289
  code: eh,
5264
5290
  def: rh,
5265
5291
  fences: th,
5266
5292
  heading: nh,
5267
- hr: Dt,
5293
+ hr: Ut,
5268
5294
  html: ah,
5269
- lheading: Yo,
5295
+ lheading: Ko,
5270
5296
  list: oh,
5271
5297
  newline: Ju,
5272
- paragraph: Xo,
5298
+ paragraph: Vo,
5273
5299
  table: kt,
5274
5300
  text: ih
5275
- }, Lr = S(
5301
+ }, Or = S(
5276
5302
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
5277
- ).replace("hr", Dt).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", An).getRegex(), ch = {
5278
- ...Zs,
5303
+ ).replace("hr", Ut).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", An).getRegex(), ch = {
5304
+ ...Ys,
5279
5305
  lheading: sh,
5280
- table: Lr,
5281
- paragraph: S(qs).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Lr).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", An).getRegex()
5306
+ table: Or,
5307
+ paragraph: S(Ws).replace("hr", Ut).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Or).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", An).getRegex()
5282
5308
  }, uh = {
5283
- ...Zs,
5309
+ ...Ys,
5284
5310
  html: S(
5285
5311
  `^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
5286
- ).replace("comment", Gs).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(),
5312
+ ).replace("comment", Zs).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(),
5287
5313
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
5288
5314
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
5289
5315
  fences: kt,
5290
5316
  // fences not supported
5291
5317
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5292
- paragraph: S(qs).replace("hr", Dt).replace("heading", ` *#{1,6} *[^
5293
- ]`).replace("lheading", Yo).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5294
- }, hh = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, dh = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ko = /^( {2,}|\\)\n(?!\s*$)/, ph = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Cn = /[\p{P}\p{S}]/u, Ys = /[\s\p{P}\p{S}]/u, Vo = /[^\s\p{P}\p{S}]/u, fh = S(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ys).getRegex(), Qo = /(?!~)[\p{P}\p{S}]/u, gh = /(?!~)[\s\p{P}\p{S}]/u, mh = /(?:[^\s\p{P}\p{S}]|~)/u, vh = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Jo = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, bh = S(Jo, "u").replace(/punct/g, Cn).getRegex(), yh = S(Jo, "u").replace(/punct/g, Qo).getRegex(), ea = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", $h = S(ea, "gu").replace(/notPunctSpace/g, Vo).replace(/punctSpace/g, Ys).replace(/punct/g, Cn).getRegex(), xh = S(ea, "gu").replace(/notPunctSpace/g, mh).replace(/punctSpace/g, gh).replace(/punct/g, Qo).getRegex(), wh = S(
5318
+ paragraph: S(Ws).replace("hr", Ut).replace("heading", ` *#{1,6} *[^
5319
+ ]`).replace("lheading", Ko).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5320
+ }, hh = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, dh = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Qo = /^( {2,}|\\)\n(?!\s*$)/, ph = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Cn = /[\p{P}\p{S}]/u, Xs = /[\s\p{P}\p{S}]/u, Jo = /[^\s\p{P}\p{S}]/u, fh = S(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Xs).getRegex(), ea = /(?!~)[\p{P}\p{S}]/u, gh = /(?!~)[\s\p{P}\p{S}]/u, mh = /(?:[^\s\p{P}\p{S}]|~)/u, vh = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, ta = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, bh = S(ta, "u").replace(/punct/g, Cn).getRegex(), yh = S(ta, "u").replace(/punct/g, ea).getRegex(), na = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", $h = S(na, "gu").replace(/notPunctSpace/g, Jo).replace(/punctSpace/g, Xs).replace(/punct/g, Cn).getRegex(), xh = S(na, "gu").replace(/notPunctSpace/g, mh).replace(/punctSpace/g, gh).replace(/punct/g, ea).getRegex(), wh = S(
5295
5321
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5296
5322
  "gu"
5297
- ).replace(/notPunctSpace/g, Vo).replace(/punctSpace/g, Ys).replace(/punct/g, Cn).getRegex(), kh = S(/\\(punct)/, "gu").replace(/punct/g, Cn).getRegex(), Sh = S(/^<(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(), _h = S(Gs).replace("(?:-->|$)", "-->").getRegex(), Eh = S(
5323
+ ).replace(/notPunctSpace/g, Jo).replace(/punctSpace/g, Xs).replace(/punct/g, Cn).getRegex(), kh = S(/\\(punct)/, "gu").replace(/punct/g, Cn).getRegex(), Sh = S(/^<(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(), _h = S(Zs).replace("(?:-->|$)", "-->").getRegex(), Eh = S(
5298
5324
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
5299
- ).replace("comment", _h).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ah = S(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", gn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ta = S(/^!?\[(label)\]\[(ref)\]/).replace("label", gn).replace("ref", Ws).getRegex(), na = S(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ws).getRegex(), Ch = S("reflink|nolink(?!\\()", "g").replace("reflink", ta).replace("nolink", na).getRegex(), Xs = {
5325
+ ).replace("comment", _h).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ah = S(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", gn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), sa = S(/^!?\[(label)\]\[(ref)\]/).replace("label", gn).replace("ref", Gs).getRegex(), ia = S(/^!?\[(ref)\](?:\[\])?/).replace("ref", Gs).getRegex(), Ch = S("reflink|nolink(?!\\()", "g").replace("reflink", sa).replace("nolink", ia).getRegex(), Ks = {
5300
5326
  _backpedal: kt,
5301
5327
  // only used for GFM url
5302
5328
  anyPunctuation: kh,
5303
5329
  autolink: Sh,
5304
5330
  blockSkip: vh,
5305
- br: Ko,
5331
+ br: Qo,
5306
5332
  code: dh,
5307
5333
  del: kt,
5308
5334
  emStrongLDelim: bh,
@@ -5310,19 +5336,19 @@ var j = {
5310
5336
  emStrongRDelimUnd: wh,
5311
5337
  escape: hh,
5312
5338
  link: Ah,
5313
- nolink: na,
5339
+ nolink: ia,
5314
5340
  punctuation: fh,
5315
- reflink: ta,
5341
+ reflink: sa,
5316
5342
  reflinkSearch: Ch,
5317
5343
  tag: Eh,
5318
5344
  text: ph,
5319
5345
  url: kt
5320
5346
  }, Th = {
5321
- ...Xs,
5347
+ ...Ks,
5322
5348
  link: S(/^!?\[(label)\]\((.*?)\)/).replace("label", gn).getRegex(),
5323
5349
  reflink: S(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", gn).getRegex()
5324
5350
  }, xs = {
5325
- ...Xs,
5351
+ ...Ks,
5326
5352
  emStrongRDelimAst: xh,
5327
5353
  emStrongLDelim: yh,
5328
5354
  url: S(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
@@ -5331,14 +5357,14 @@ var j = {
5331
5357
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5332
5358
  }, Rh = {
5333
5359
  ...xs,
5334
- br: S(Ko).replace("{2,}", "*").getRegex(),
5360
+ br: S(Qo).replace("{2,}", "*").getRegex(),
5335
5361
  text: S(xs.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5336
- }, Xt = {
5337
- normal: Zs,
5362
+ }, Kt = {
5363
+ normal: Ys,
5338
5364
  gfm: ch,
5339
5365
  pedantic: uh
5340
5366
  }, bt = {
5341
- normal: Xs,
5367
+ normal: Ks,
5342
5368
  gfm: xs,
5343
5369
  breaks: Rh,
5344
5370
  pedantic: Th
@@ -5348,16 +5374,16 @@ var j = {
5348
5374
  ">": "&gt;",
5349
5375
  '"': "&quot;",
5350
5376
  "'": "&#39;"
5351
- }, Or = (n) => Lh[n];
5377
+ }, Pr = (n) => Lh[n];
5352
5378
  function ie(n, e) {
5353
5379
  if (e) {
5354
5380
  if (j.escapeTest.test(n))
5355
- return n.replace(j.escapeReplace, Or);
5381
+ return n.replace(j.escapeReplace, Pr);
5356
5382
  } else if (j.escapeTestNoEncode.test(n))
5357
- return n.replace(j.escapeReplaceNoEncode, Or);
5383
+ return n.replace(j.escapeReplaceNoEncode, Pr);
5358
5384
  return n;
5359
5385
  }
5360
- function Pr(n) {
5386
+ function Ir(n) {
5361
5387
  try {
5362
5388
  n = encodeURI(n).replace(j.percentDecode, "%");
5363
5389
  } catch {
@@ -5365,7 +5391,7 @@ function Pr(n) {
5365
5391
  }
5366
5392
  return n;
5367
5393
  }
5368
- function Ir(n, e) {
5394
+ function Mr(n, e) {
5369
5395
  var r;
5370
5396
  const t = n.replace(j.findPipe, (o, a, l) => {
5371
5397
  let c = !1, u = a;
@@ -5404,7 +5430,7 @@ function Oh(n, e) {
5404
5430
  return s;
5405
5431
  return t > 0 ? -2 : -1;
5406
5432
  }
5407
- function Mr(n, e, t, s, i) {
5433
+ function Nr(n, e, t, s, i) {
5408
5434
  const r = e.href, o = e.title || null, a = n[1].replace(i.other.outputLinkReplace, "$1");
5409
5435
  s.state.inLink = !0;
5410
5436
  const l = {
@@ -5657,7 +5683,7 @@ ${u}` : u;
5657
5683
  const e = this.rules.block.table.exec(n);
5658
5684
  if (!e || !this.rules.other.tableDelimiter.test(e[2]))
5659
5685
  return;
5660
- const t = Ir(e[1]), s = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5686
+ const t = Mr(e[1]), s = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5661
5687
  `) : [], r = {
5662
5688
  type: "table",
5663
5689
  raw: e[0],
@@ -5676,7 +5702,7 @@ ${u}` : u;
5676
5702
  align: r.align[a]
5677
5703
  });
5678
5704
  for (const a of i)
5679
- r.rows.push(Ir(a, r.header.length).map((l, c) => ({
5705
+ r.rows.push(Mr(a, r.header.length).map((l, c) => ({
5680
5706
  text: l,
5681
5707
  tokens: this.lexer.inline(l),
5682
5708
  header: !1,
@@ -5765,7 +5791,7 @@ ${u}` : u;
5765
5791
  r && (s = r[1], i = r[3]);
5766
5792
  } else
5767
5793
  i = e[3] ? e[3].slice(1, -1) : "";
5768
- return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? s = s.slice(1) : s = s.slice(1, -1)), Mr(e, {
5794
+ return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? s = s.slice(1) : s = s.slice(1, -1)), Nr(e, {
5769
5795
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
5770
5796
  title: i && i.replace(this.rules.inline.anyPunctuation, "$1")
5771
5797
  }, e[0], this.lexer, this.rules);
@@ -5783,7 +5809,7 @@ ${u}` : u;
5783
5809
  text: r
5784
5810
  };
5785
5811
  }
5786
- return Mr(t, i, t[0], this.lexer, this.rules);
5812
+ return Nr(t, i, t[0], this.lexer, this.rules);
5787
5813
  }
5788
5814
  }
5789
5815
  emStrong(n, e, t = "") {
@@ -5928,17 +5954,17 @@ ${u}` : u;
5928
5954
  };
5929
5955
  const t = {
5930
5956
  other: j,
5931
- block: Xt.normal,
5957
+ block: Kt.normal,
5932
5958
  inline: bt.normal
5933
5959
  };
5934
- this.options.pedantic ? (t.block = Xt.pedantic, t.inline = bt.pedantic) : this.options.gfm && (t.block = Xt.gfm, this.options.breaks ? t.inline = bt.breaks : t.inline = bt.gfm), this.tokenizer.rules = t;
5960
+ this.options.pedantic ? (t.block = Kt.pedantic, t.inline = bt.pedantic) : this.options.gfm && (t.block = Kt.gfm, this.options.breaks ? t.inline = bt.breaks : t.inline = bt.gfm), this.tokenizer.rules = t;
5935
5961
  }
5936
5962
  /**
5937
5963
  * Expose Rules
5938
5964
  */
5939
5965
  static get rules() {
5940
5966
  return {
5941
- block: Xt,
5967
+ block: Kt,
5942
5968
  inline: bt
5943
5969
  };
5944
5970
  }
@@ -6158,7 +6184,7 @@ ${u}` : u;
6158
6184
  }
6159
6185
  return t;
6160
6186
  }
6161
- }, Tt = class {
6187
+ }, Rt = class {
6162
6188
  // set by the parser
6163
6189
  constructor(n) {
6164
6190
  _(this, "options");
@@ -6274,7 +6300,7 @@ ${n}</tr>
6274
6300
  return `<del>${this.parser.parseInline(n)}</del>`;
6275
6301
  }
6276
6302
  link({ href: n, title: e, tokens: t }) {
6277
- const s = this.parser.parseInline(t), i = Pr(n);
6303
+ const s = this.parser.parseInline(t), i = Ir(n);
6278
6304
  if (i === null)
6279
6305
  return s;
6280
6306
  n = i;
@@ -6283,7 +6309,7 @@ ${n}</tr>
6283
6309
  }
6284
6310
  image({ href: n, title: e, text: t, tokens: s }) {
6285
6311
  s && (t = this.parser.parseInline(s, this.parser.textRenderer));
6286
- const i = Pr(n);
6312
+ const i = Ir(n);
6287
6313
  if (i === null)
6288
6314
  return ie(t);
6289
6315
  n = i;
@@ -6293,7 +6319,7 @@ ${n}</tr>
6293
6319
  text(n) {
6294
6320
  return "tokens" in n && n.tokens ? this.parser.parseInline(n.tokens) : "escaped" in n && n.escaped ? n.text : ie(n.text);
6295
6321
  }
6296
- }, Ks = class {
6322
+ }, Vs = class {
6297
6323
  // no need for block level renderers
6298
6324
  strong({ text: n }) {
6299
6325
  return n;
@@ -6327,7 +6353,7 @@ ${n}</tr>
6327
6353
  _(this, "options");
6328
6354
  _(this, "renderer");
6329
6355
  _(this, "textRenderer");
6330
- this.options = e || He, this.options.renderer = this.options.renderer || new Tt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ks();
6356
+ this.options = e || He, this.options.renderer = this.options.renderer || new Rt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vs();
6331
6357
  }
6332
6358
  /**
6333
6359
  * Static Parse Method
@@ -6484,7 +6510,7 @@ ${n}</tr>
6484
6510
  }
6485
6511
  return s;
6486
6512
  }
6487
- }, ns, Jt = (ns = class {
6513
+ }, ns, en = (ns = class {
6488
6514
  constructor(n) {
6489
6515
  _(this, "options");
6490
6516
  _(this, "block");
@@ -6526,16 +6552,16 @@ ${n}</tr>
6526
6552
  "processAllTokens"
6527
6553
  ])), ns), Ih = class {
6528
6554
  constructor(...n) {
6529
- _(this, "defaults", Fs());
6555
+ _(this, "defaults", js());
6530
6556
  _(this, "options", this.setOptions);
6531
6557
  _(this, "parse", this.parseMarkdown(!0));
6532
6558
  _(this, "parseInline", this.parseMarkdown(!1));
6533
6559
  _(this, "Parser", me);
6534
- _(this, "Renderer", Tt);
6535
- _(this, "TextRenderer", Ks);
6560
+ _(this, "Renderer", Rt);
6561
+ _(this, "TextRenderer", Vs);
6536
6562
  _(this, "Lexer", ge);
6537
6563
  _(this, "Tokenizer", mn);
6538
- _(this, "Hooks", Jt);
6564
+ _(this, "Hooks", en);
6539
6565
  this.use(...n);
6540
6566
  }
6541
6567
  /**
@@ -6592,7 +6618,7 @@ ${n}</tr>
6592
6618
  }
6593
6619
  "childTokens" in i && i.childTokens && (e.childTokens[i.name] = i.childTokens);
6594
6620
  }), s.extensions = e), t.renderer) {
6595
- const i = this.defaults.renderer || new Tt(this.defaults);
6621
+ const i = this.defaults.renderer || new Rt(this.defaults);
6596
6622
  for (const r in t.renderer) {
6597
6623
  if (!(r in i))
6598
6624
  throw new Error(`renderer '${r}' does not exist`);
@@ -6622,14 +6648,14 @@ ${n}</tr>
6622
6648
  s.tokenizer = i;
6623
6649
  }
6624
6650
  if (t.hooks) {
6625
- const i = this.defaults.hooks || new Jt();
6651
+ const i = this.defaults.hooks || new en();
6626
6652
  for (const r in t.hooks) {
6627
6653
  if (!(r in i))
6628
6654
  throw new Error(`hook '${r}' does not exist`);
6629
6655
  if (["options", "block"].includes(r))
6630
6656
  continue;
6631
6657
  const o = r, a = t.hooks[o], l = i[o];
6632
- Jt.passThroughHooks.has(r) ? i[o] = (c) => {
6658
+ en.passThroughHooks.has(r) ? i[o] = (c) => {
6633
6659
  if (this.defaults.async)
6634
6660
  return Promise.resolve(a.call(i, c)).then((p) => l.call(i, p));
6635
6661
  const u = a.call(i, c);
@@ -6701,12 +6727,12 @@ function k(n, e) {
6701
6727
  return ze.parse(n, e);
6702
6728
  }
6703
6729
  k.options = k.setOptions = function(n) {
6704
- return ze.setOptions(n), k.defaults = ze.defaults, Go(k.defaults), k;
6730
+ return ze.setOptions(n), k.defaults = ze.defaults, Yo(k.defaults), k;
6705
6731
  };
6706
- k.getDefaults = Fs;
6732
+ k.getDefaults = js;
6707
6733
  k.defaults = He;
6708
6734
  k.use = function(...n) {
6709
- return ze.use(...n), k.defaults = ze.defaults, Go(k.defaults), k;
6735
+ return ze.use(...n), k.defaults = ze.defaults, Yo(k.defaults), k;
6710
6736
  };
6711
6737
  k.walkTokens = function(n, e) {
6712
6738
  return ze.walkTokens(n, e);
@@ -6714,12 +6740,12 @@ k.walkTokens = function(n, e) {
6714
6740
  k.parseInline = ze.parseInline;
6715
6741
  k.Parser = me;
6716
6742
  k.parser = me.parse;
6717
- k.Renderer = Tt;
6718
- k.TextRenderer = Ks;
6743
+ k.Renderer = Rt;
6744
+ k.TextRenderer = Vs;
6719
6745
  k.Lexer = ge;
6720
6746
  k.lexer = ge.lex;
6721
6747
  k.Tokenizer = mn;
6722
- k.Hooks = Jt;
6748
+ k.Hooks = en;
6723
6749
  k.parse = k;
6724
6750
  k.options;
6725
6751
  k.setOptions;
@@ -6728,17 +6754,17 @@ k.walkTokens;
6728
6754
  k.parseInline;
6729
6755
  me.parse;
6730
6756
  ge.lex;
6731
- var Mh = Object.defineProperty, sa = (n, e, t, s) => {
6757
+ var Mh = Object.defineProperty, ra = (n, e, t, s) => {
6732
6758
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6733
6759
  (o = n[r]) && (i = o(e, t, i) || i);
6734
6760
  return i && Mh(e, t, i), i;
6735
6761
  };
6736
- const ia = new Tt();
6737
- ia.link = function({ href: n, title: e, text: t }) {
6762
+ const oa = new Rt();
6763
+ oa.link = function({ href: n, title: e, text: t }) {
6738
6764
  return e ?? (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
6739
6765
  };
6740
- k.use({ renderer: ia });
6741
- const li = class li extends M {
6766
+ k.use({ renderer: oa });
6767
+ const ci = class ci extends M {
6742
6768
  constructor() {
6743
6769
  super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = re(), this.contentRef = re(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm);
6744
6770
  }
@@ -6785,7 +6811,7 @@ const li = class li extends M {
6785
6811
  const e = this.getLastChunk();
6786
6812
  if (!e) return;
6787
6813
  this.buffer += e;
6788
- const t = Wo.sanitize(
6814
+ const t = Zo.sanitize(
6789
6815
  k.parse(this.buffer)
6790
6816
  );
6791
6817
  if (this.includesImage(this.buffer))
@@ -6816,7 +6842,7 @@ const li = class li extends M {
6816
6842
  `;
6817
6843
  }
6818
6844
  };
6819
- li.styles = [
6845
+ ci.styles = [
6820
6846
  Z`
6821
6847
  :host {
6822
6848
  box-sizing: border-box;
@@ -6857,19 +6883,19 @@ li.styles = [
6857
6883
  }
6858
6884
  `
6859
6885
  ];
6860
- let Rt = li;
6861
- sa([
6862
- T({ attribute: !1 })
6863
- ], Rt.prototype, "message");
6864
- sa([
6886
+ let Lt = ci;
6887
+ ra([
6888
+ C({ attribute: !1 })
6889
+ ], Lt.prototype, "message");
6890
+ ra([
6865
6891
  z()
6866
- ], Rt.prototype, "showLightbox");
6892
+ ], Lt.prototype, "showLightbox");
6867
6893
  var Nh = Object.defineProperty, Dh = (n, e, t, s) => {
6868
6894
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6869
6895
  (o = n[r]) && (i = o(e, t, i) || i);
6870
6896
  return i && Nh(e, t, i), i;
6871
6897
  };
6872
- const ci = class ci extends M {
6898
+ const ui = class ui extends M {
6873
6899
  constructor() {
6874
6900
  super(...arguments), this.escapeListener = (e) => {
6875
6901
  e.key === "Escape" && this.closeLightbox();
@@ -6906,13 +6932,13 @@ const ci = class ci extends M {
6906
6932
  @keydown=${this.handleKeyDown}
6907
6933
  >
6908
6934
  <button class="close" @click=${this.closeLightbox}>
6909
- <telia-icon svg=${Yl.svg} size="lg"></telia-icon>
6935
+ <telia-icon svg=${Kl.svg} size="lg"></telia-icon>
6910
6936
  </button>
6911
6937
  <img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
6912
6938
  </div> `;
6913
6939
  }
6914
6940
  };
6915
- ci.styles = [
6941
+ ui.styles = [
6916
6942
  Z`
6917
6943
  :focus {
6918
6944
  outline-color: var(--focus-color);
@@ -6953,25 +6979,25 @@ ci.styles = [
6953
6979
  }
6954
6980
  `
6955
6981
  ];
6956
- let vn = ci;
6982
+ let vn = ui;
6957
6983
  Dh([
6958
- T({ attribute: !0 })
6984
+ C({ attribute: !0 })
6959
6985
  ], vn.prototype, "imageUrl");
6960
6986
  var Uh = Object.defineProperty, $e = (n, e, t, s) => {
6961
6987
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6962
6988
  (o = n[r]) && (i = o(e, t, i) || i);
6963
6989
  return i && Uh(e, t, i), i;
6964
6990
  };
6965
- customElements.get("conversation-entry") || customElements.define("conversation-entry", dn);
6966
- customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Ct);
6991
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", Ct);
6992
+ customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Tt);
6967
6993
  customElements.get("conversation-group") || customElements.define("conversation-group", pn);
6968
6994
  customElements.get("ace-typing-state") || customElements.define("ace-typing-state", vs);
6969
6995
  customElements.get("message-type-html") || customElements.define("message-type-html", fn);
6970
- customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Rt);
6996
+ customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Lt);
6971
6997
  customElements.get("ace-lightbox") || customElements.define("ace-lightbox", vn);
6972
- const Nr = Mo(M), ui = class ui extends Nr {
6998
+ const Dr = No(M), hi = class hi extends Dr {
6973
6999
  constructor() {
6974
- super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = re(), this.conversationFeedRef = re(), this.formRef = re(), this.inputRef = re(), this.scrollRef = re(), this.counterRef = re(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new $u(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new F("waiting"), this.stateMachine = new wu(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
7000
+ super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = re(), this.conversationFeedRef = re(), this.formRef = re(), this.inputRef = re(), this.scrollRef = re(), this.counterRef = re(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new xu(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new F("waiting"), this.stateMachine = new ku(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6975
7001
  Je((e) => e ? e == null ? void 0 : e.provider$ : os(null))
6976
7002
  ), this.userTyping$ = new I();
6977
7003
  }
@@ -6985,12 +7011,12 @@ const Nr = Mo(M), ui = class ui extends Nr {
6985
7011
  t && t.widgetActive$.pipe(as(t.componentIsDestroyed$)).subscribe((s) => {
6986
7012
  const i = this.conversationContentRef.value;
6987
7013
  i && (s ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
6988
- }), this.stateSubscription = al([
7014
+ }), this.stateSubscription = cl([
6989
7015
  this.stateMachine.entries(),
6990
7016
  this.stateMachine.isTyping()
6991
7017
  ]).subscribe(([s, i]) => {
6992
7018
  this.entries = s, this.typing = i;
6993
- }), this.userSubmitSubscription = nn(
7019
+ }), this.userSubmitSubscription = sn(
6994
7020
  this,
6995
7021
  "user-submit"
6996
7022
  ).pipe(ls(this.provider$)).subscribe(([s, i]) => {
@@ -7086,11 +7112,11 @@ const Nr = Mo(M), ui = class ui extends Nr {
7086
7112
  return;
7087
7113
  const t = this.application.texts, s = t.getOrFallback("conversation.mute", "Mute"), i = t.getOrFallback("conversation.unmute", "Unmute"), r = e.addOption({
7088
7114
  label: this.isMuted ? i : s,
7089
- icon: this.isMuted ? Qi.svg : Ji.svg,
7115
+ icon: this.isMuted ? Ji.svg : er.svg,
7090
7116
  closeOnClick: !1,
7091
7117
  datatestid: "options-mute-button",
7092
7118
  onClick: () => {
7093
- this.isMuted ? (this.isMuted = !1, this.application.unmute(), r.updateLabel(s), r.updateIcon(Ji.svg)) : (this.isMuted = !0, this.application.mute(), r.updateLabel(i), r.updateIcon(Qi.svg));
7119
+ this.isMuted ? (this.isMuted = !1, this.application.unmute(), r.updateLabel(s), r.updateIcon(er.svg)) : (this.isMuted = !0, this.application.mute(), r.updateLabel(i), r.updateIcon(Ji.svg));
7094
7120
  }
7095
7121
  });
7096
7122
  }
@@ -7120,7 +7146,7 @@ const Nr = Mo(M), ui = class ui extends Nr {
7120
7146
  providerOptions: t
7121
7147
  }
7122
7148
  });
7123
- return this.dispatchEvent(s), s.detail.complete || Ot;
7149
+ return this.dispatchEvent(s), s.detail.complete || Pt;
7124
7150
  }
7125
7151
  firstUpdated() {
7126
7152
  this.isMuted = this.application.storage.get("muteAudioNotifications") ?? !1;
@@ -7145,7 +7171,7 @@ const Nr = Mo(M), ui = class ui extends Nr {
7145
7171
  class="overlay-button"
7146
7172
  @click=${() => this.chatOverlayActive = !1}
7147
7173
  >
7148
- <telia-icon svg=${Zl.svg}></telia-icon>
7174
+ <telia-icon svg=${Xl.svg}></telia-icon>
7149
7175
  </button>
7150
7176
  </div>` : x}
7151
7177
  <div
@@ -7201,7 +7227,7 @@ const Nr = Mo(M), ui = class ui extends Nr {
7201
7227
  data-testid="send-message-button"
7202
7228
  title=${e.getOrFallback("conversation.send-alt", "Send")}
7203
7229
  >
7204
- <telia-icon svg=${Kl.svg}></telia-icon>
7230
+ <telia-icon svg=${Ql.svg}></telia-icon>
7205
7231
  </button>
7206
7232
  <span class="counter" ${oe(this.counterRef)}>
7207
7233
  ${this.textAreaLength} / ${this.messageMaxLength}</span
@@ -7220,8 +7246,8 @@ const Nr = Mo(M), ui = class ui extends Nr {
7220
7246
  </div>`;
7221
7247
  }
7222
7248
  };
7223
- ui.styles = [
7224
- Nr.styles || [],
7249
+ hi.styles = [
7250
+ Dr.styles || [],
7225
7251
  Z`
7226
7252
  :host {
7227
7253
  font-family: var(--font-family);
@@ -7506,7 +7532,7 @@ ui.styles = [
7506
7532
  }
7507
7533
  `
7508
7534
  ];
7509
- let ne = ui;
7535
+ let ne = hi;
7510
7536
  $e([
7511
7537
  z()
7512
7538
  ], ne.prototype, "message");
@@ -7543,11 +7569,11 @@ const zh = (n) => {
7543
7569
  }, Bh = (n) => {
7544
7570
  var e;
7545
7571
  return !!((e = n == null ? void 0 : n.initializeResponsePayload) != null && e.greetingMessage);
7546
- }, Fh = (n) => !!(n != null && n.errorPayload), Dr = (n) => {
7572
+ }, Fh = (n) => !!(n != null && n.errorPayload), Ur = (n) => {
7547
7573
  var e, t;
7548
7574
  return !!((t = (e = n.inputPayload) == null ? void 0 : e.textInputContent) != null && t.text);
7549
7575
  }, jh = (n) => (n == null ? void 0 : n.type) === "handover";
7550
- class Ur {
7576
+ class zr {
7551
7577
  constructor(e, t, s) {
7552
7578
  this.settings = e, this.component = t, this.provider = s, this.started = !1, this.restartRequested = !1, this.currentSequenceNumber = 1, this.dialogId = null, this.isConnected$ = new F(!1), this.agent$ = new F({ name: "" }), this.messageSubject$ = new I(), this.systemEvents$ = new I(), this.store$ = new F({ messages: [], dialogId: null }), this.retries = 0, this.isConnected = () => this.isConnected$.asObservable(), this.agent = () => this.agent$.asObservable(), this.messages = () => this.messageSubject$.asObservable(), this.events = () => this.systemEvents$.asObservable(), this.restartSubscription$ = this.provider.shouldRestart$.subscribe(
7553
7579
  (i) => {
@@ -7645,7 +7671,7 @@ class Ur {
7645
7671
  console.warn("Message could not be sent, you are not connected.");
7646
7672
  return;
7647
7673
  }
7648
- Dr(e) && this.store$.pipe(Ie(1)).subscribe((s) => {
7674
+ Ur(e) && this.store$.pipe(Ie(1)).subscribe((s) => {
7649
7675
  this.store$.next({
7650
7676
  messages: [...s.messages, e],
7651
7677
  dialogId: s.dialogId
@@ -7691,7 +7717,7 @@ class Ur {
7691
7717
  isComplete: !0,
7692
7718
  sequenceNumber: e.sequenceNumber,
7693
7719
  type: "text"
7694
- })) : Dr(e) ? this.messageSubject$.next({
7720
+ })) : Ur(e) ? this.messageSubject$.next({
7695
7721
  isComplete: !0,
7696
7722
  sequenceNumber: 0,
7697
7723
  text: e.inputPayload.textInputContent.text,
@@ -7753,7 +7779,7 @@ class Ur {
7753
7779
  this.restartSubscription$ && this.restartSubscription$.unsubscribe();
7754
7780
  }
7755
7781
  }
7756
- var qh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, ra = (n, e, t, s) => {
7782
+ var qh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, aa = (n, e, t, s) => {
7757
7783
  for (var i = s > 1 ? void 0 : s ? Wh(e, t) : e, r = n.length - 1, o; r >= 0; r--)
7758
7784
  (o = n[r]) && (i = (s ? o(e, t, i) : o(i)) || i);
7759
7785
  return s && i && qh(e, t, i), i;
@@ -7840,14 +7866,14 @@ bn.styles = [
7840
7866
  }
7841
7867
  `
7842
7868
  ];
7843
- ra([
7844
- vu({ context: Uo }),
7845
- T({ attribute: !1 })
7869
+ aa([
7870
+ Uo({ context: Bs }),
7871
+ C({ attribute: !1 })
7846
7872
  ], bn.prototype, "application", 2);
7847
- bn = ra([
7848
- Xc("ace-restart-dialog")
7873
+ bn = aa([
7874
+ Vc("ace-restart-dialog")
7849
7875
  ], bn);
7850
- class Vs extends Sl {
7876
+ class Qs extends El {
7851
7877
  constructor(e, t) {
7852
7878
  super(e, t), this.isConnected = !1, this.rehydrating = !1, this.lastReceivedMessageWasComplete = !0, this.isReady = !1, this.lastWrittenEntry = null, this.agent = this.createAgent(""), this.user = this.createUser(""), this.shouldRestartSubject$ = new F(!1), this.connection = this.createConnection(t.properties), this.connection.store$.subscribe((s) => {
7853
7879
  s = {
@@ -7889,7 +7915,7 @@ class Vs extends Sl {
7889
7915
  });
7890
7916
  }
7891
7917
  static getInstance(e, t) {
7892
- return t.providerInstance || (t.providerInstance = new Vs(
7918
+ return t.providerInstance || (t.providerInstance = new Qs(
7893
7919
  e,
7894
7920
  t
7895
7921
  )), t.providerInstance;
@@ -7904,15 +7930,15 @@ class Vs extends Sl {
7904
7930
  return this.setTypingState(!1), this.agent.print(e, "markdown");
7905
7931
  }
7906
7932
  printUser(e) {
7907
- const t = cs(Bi(e));
7933
+ const t = cs(Fi(e));
7908
7934
  return this.user.print(t);
7909
7935
  }
7910
7936
  printSystem(e) {
7911
- const t = cs(Bi(e));
7937
+ const t = cs(Fi(e));
7912
7938
  return this.system.print(t);
7913
7939
  }
7914
7940
  showRestartDialog() {
7915
- this.restartDialogEntry && this.restartDialogEntry.remove(), this.component.disableInput(), this.restartDialogEntry = new Pt(
7941
+ this.restartDialogEntry && this.restartDialogEntry.remove(), this.component.disableInput(), this.restartDialogEntry = new It(
7916
7942
  ve.System,
7917
7943
  {
7918
7944
  name: ""
@@ -7923,7 +7949,7 @@ class Vs extends Sl {
7923
7949
  }
7924
7950
  ]
7925
7951
  ), this.printEntry(this.restartDialogEntry), this.restartDialogEntry.actions$.pipe(
7926
- bl((e) => e.key === "restart-session"),
7952
+ $l((e) => e.key === "restart-session"),
7927
7953
  Ie(1)
7928
7954
  ).subscribe(async () => {
7929
7955
  this.restartDialogEntry && this.restartDialogEntry.remove(), this.restartConversation(), this.component.clearMessages();
@@ -7947,7 +7973,7 @@ class Vs extends Sl {
7947
7973
  createConnection(e) {
7948
7974
  this.connection && this.connection.dispose();
7949
7975
  const s = e.webconnectorUrl || "wss://convhub-dev.ace.teliacompany.net/convhub/webconnector/v2/dialog";
7950
- return e.extension ? new Ur(
7976
+ return e.extension ? new zr(
7951
7977
  {
7952
7978
  connectionUri: s,
7953
7979
  extension: e.extension.toString()
@@ -7956,7 +7982,7 @@ class Vs extends Sl {
7956
7982
  this
7957
7983
  ) : (console.warn(
7958
7984
  "ConversationalHubProvider has not defined an extension. Using default extension 1792."
7959
- ), new Ur(
7985
+ ), new zr(
7960
7986
  {
7961
7987
  connectionUri: s,
7962
7988
  extension: "1936"
@@ -7984,11 +8010,11 @@ class Vs extends Sl {
7984
8010
  });
7985
8011
  }
7986
8012
  }
7987
- const zr = "ace-conversational-hub-provider", nd = async (n) => {
8013
+ const Hr = "ace-conversational-hub-provider", nd = async (n) => {
7988
8014
  (await Ss.getInstance(n.container)).registerProvider(
7989
- zr,
7990
- (t) => Vs.getInstance(
7991
- zr,
8015
+ Hr,
8016
+ (t) => Qs.getInstance(
8017
+ Hr,
7992
8018
  t
7993
8019
  )
7994
8020
  );