@telia-ace/widget-conversation-flamingo 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 (4) hide show
  1. package/entry.d.ts +1 -0
  2. package/index.js +78 -53
  3. package/index.mjs +784 -715
  4. package/package.json +2 -2
package/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
- var ua = Object.defineProperty;
2
- var ha = (n, e, t) => e in n ? ua(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var S = (n, e, t) => ha(n, typeof e != "symbol" ? e + "" : e, t);
4
- const Ch = async (n) => {
5
- n.registerComponent("conversation", Promise.resolve().then(() => Eh));
1
+ var fa = Object.defineProperty;
2
+ var ga = (n, e, t) => e in n ? fa(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var S = (n, e, t) => ga(n, typeof e != "symbol" ? e + "" : e, t);
4
+ const Rh = async (n) => {
5
+ n.registerComponent("conversation", Promise.resolve().then(() => Ch));
6
6
  };
7
- class Oi {
7
+ class Pi {
8
8
  constructor() {
9
9
  this.registeredProviders = /* @__PURE__ */ new Map();
10
10
  }
11
11
  static async getInstance(e) {
12
12
  let t = await e.get("conversation");
13
- return t || (t = new Oi(), await e.register("conversation", t), t);
13
+ return t || (t = new Pi(), await e.register("conversation", t), t);
14
14
  }
15
15
  registerProvider(e, t) {
16
16
  this.registeredProviders.set(e, t);
@@ -44,7 +44,7 @@ function ot(n, e) {
44
44
  }
45
45
  n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
46
46
  }
47
- function pa(n, e, t, s) {
47
+ function ma(n, e, t, s) {
48
48
  function r(i) {
49
49
  return i instanceof t ? i : new t(function(o) {
50
50
  o(i);
@@ -71,7 +71,7 @@ function pa(n, e, t, s) {
71
71
  c((s = s.apply(n, e || [])).next());
72
72
  });
73
73
  }
74
- function Pi(n, e) {
74
+ function Ii(n, e) {
75
75
  var t = { label: 0, sent: function() {
76
76
  if (i[0] & 1) throw i[1];
77
77
  return i[1];
@@ -166,7 +166,7 @@ function nt(n, e, t) {
166
166
  function Ve(n) {
167
167
  return this instanceof Ve ? (this.v = n, this) : new Ve(n);
168
168
  }
169
- function da(n, e, t) {
169
+ function va(n, e, t) {
170
170
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
171
171
  var s = t.apply(n, e || []), r, i = [];
172
172
  return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), r[Symbol.asyncIterator] = function() {
@@ -204,7 +204,7 @@ function da(n, e, t) {
204
204
  g(m), i.shift(), i.length && l(i[0][0], i[0][1]);
205
205
  }
206
206
  }
207
- function fa(n) {
207
+ function ba(n) {
208
208
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
209
209
  var e = n[Symbol.asyncIterator], t;
210
210
  return e ? e.call(n) : (n = typeof tt == "function" ? tt(n) : n[Symbol.iterator](), t = {}, s("next"), s("throw"), s("return"), t[Symbol.asyncIterator] = function() {
@@ -226,13 +226,13 @@ function fa(n) {
226
226
  function A(n) {
227
227
  return typeof n == "function";
228
228
  }
229
- function Ii(n) {
229
+ function Mi(n) {
230
230
  var e = function(s) {
231
231
  Error.call(s), s.stack = new Error().stack;
232
232
  }, t = n(e);
233
233
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
234
234
  }
235
- var Bn = Ii(function(n) {
235
+ var Bn = Mi(function(n) {
236
236
  return function(t) {
237
237
  n(this), this.message = t ? t.length + ` errors occurred during unsubscription:
238
238
  ` + t.map(function(s, r) {
@@ -335,16 +335,16 @@ var mn = (function() {
335
335
  var e = new n();
336
336
  return e.closed = !0, e;
337
337
  })(), n;
338
- })(), Mi = mn.EMPTY;
339
- function Ni(n) {
338
+ })(), Ni = mn.EMPTY;
339
+ function Di(n) {
340
340
  return n instanceof mn || n && "closed" in n && A(n.remove) && A(n.add) && A(n.unsubscribe);
341
341
  }
342
342
  function Or(n) {
343
343
  A(n) ? n() : n.unsubscribe();
344
344
  }
345
- var ga = {
345
+ var ya = {
346
346
  Promise: void 0
347
- }, ma = {
347
+ }, $a = {
348
348
  setTimeout: function(n, e) {
349
349
  for (var t = [], s = 2; s < arguments.length; s++)
350
350
  t[s - 2] = arguments[s];
@@ -355,21 +355,21 @@ var ga = {
355
355
  },
356
356
  delegate: void 0
357
357
  };
358
- function Di(n) {
359
- ma.setTimeout(function() {
358
+ function Ui(n) {
359
+ $a.setTimeout(function() {
360
360
  throw n;
361
361
  });
362
362
  }
363
- function Qt() {
363
+ function Jt() {
364
364
  }
365
- function Yt(n) {
365
+ function Xt(n) {
366
366
  n();
367
367
  }
368
368
  var ws = (function(n) {
369
369
  ot(e, n);
370
370
  function e(t) {
371
371
  var s = n.call(this) || this;
372
- return s.isStopped = !1, t ? (s.destination = t, Ni(t) && t.add(s)) : s.destination = ya, s;
372
+ return s.isStopped = !1, t ? (s.destination = t, Di(t) && t.add(s)) : s.destination = ka, s;
373
373
  }
374
374
  return e.create = function(t, s, r) {
375
375
  return new ss(t, s, r);
@@ -396,7 +396,7 @@ var ws = (function(n) {
396
396
  this.unsubscribe();
397
397
  }
398
398
  }, e;
399
- })(mn), va = (function() {
399
+ })(mn), xa = (function() {
400
400
  function n(e) {
401
401
  this.partialObserver = e;
402
402
  }
@@ -406,7 +406,7 @@ var ws = (function(n) {
406
406
  try {
407
407
  t.next(e);
408
408
  } catch (s) {
409
- jt(s);
409
+ Gt(s);
410
410
  }
411
411
  }, n.prototype.error = function(e) {
412
412
  var t = this.partialObserver;
@@ -414,17 +414,17 @@ var ws = (function(n) {
414
414
  try {
415
415
  t.error(e);
416
416
  } catch (s) {
417
- jt(s);
417
+ Gt(s);
418
418
  }
419
419
  else
420
- jt(e);
420
+ Gt(e);
421
421
  }, n.prototype.complete = function() {
422
422
  var e = this.partialObserver;
423
423
  if (e.complete)
424
424
  try {
425
425
  e.complete();
426
426
  } catch (t) {
427
- jt(t);
427
+ Gt(t);
428
428
  }
429
429
  }, n;
430
430
  })(), ss = (function(n) {
@@ -435,29 +435,29 @@ var ws = (function(n) {
435
435
  next: t ?? void 0,
436
436
  error: s ?? void 0,
437
437
  complete: r ?? void 0
438
- } : o = t, i.destination = new va(o), i;
438
+ } : o = t, i.destination = new xa(o), i;
439
439
  }
440
440
  return e;
441
441
  })(ws);
442
- function jt(n) {
443
- Di(n);
442
+ function Gt(n) {
443
+ Ui(n);
444
444
  }
445
- function ba(n) {
445
+ function wa(n) {
446
446
  throw n;
447
447
  }
448
- var ya = {
448
+ var ka = {
449
449
  closed: !0,
450
- next: Qt,
451
- error: ba,
452
- complete: Qt
450
+ next: Jt,
451
+ error: wa,
452
+ complete: Jt
453
453
  }, ks = (function() {
454
454
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
455
455
  })();
456
- function Lt(n) {
456
+ function Rt(n) {
457
457
  return n;
458
458
  }
459
- function $a(n) {
460
- return n.length === 0 ? Lt : n.length === 1 ? n[0] : function(t) {
459
+ function _a(n) {
460
+ return n.length === 0 ? Rt : n.length === 1 ? n[0] : function(t) {
461
461
  return n.reduce(function(s, r) {
462
462
  return r(s);
463
463
  }, t);
@@ -471,8 +471,8 @@ var Z = (function() {
471
471
  var t = new n();
472
472
  return t.source = this, t.operator = e, t;
473
473
  }, n.prototype.subscribe = function(e, t, s) {
474
- var r = this, i = wa(e) ? e : new ss(e, t, s);
475
- return Yt(function() {
474
+ var r = this, i = Aa(e) ? e : new ss(e, t, s);
475
+ return Xt(function() {
476
476
  var o = r, a = o.operator, l = o.source;
477
477
  i.add(a ? a.call(i, l) : l ? r._subscribe(i) : r._trySubscribe(i));
478
478
  }), i;
@@ -506,7 +506,7 @@ var Z = (function() {
506
506
  }, n.prototype.pipe = function() {
507
507
  for (var e = [], t = 0; t < arguments.length; t++)
508
508
  e[t] = arguments[t];
509
- return $a(e)(this);
509
+ return _a(e)(this);
510
510
  }, n.prototype.toPromise = function(e) {
511
511
  var t = this;
512
512
  return e = Pr(e), new e(function(s, r) {
@@ -525,20 +525,20 @@ var Z = (function() {
525
525
  })();
526
526
  function Pr(n) {
527
527
  var e;
528
- return (e = n ?? ga.Promise) !== null && e !== void 0 ? e : Promise;
528
+ return (e = n ?? ya.Promise) !== null && e !== void 0 ? e : Promise;
529
529
  }
530
- function xa(n) {
530
+ function Sa(n) {
531
531
  return n && A(n.next) && A(n.error) && A(n.complete);
532
532
  }
533
- function wa(n) {
534
- return n && n instanceof ws || xa(n) && Ni(n);
533
+ function Aa(n) {
534
+ return n && n instanceof ws || Sa(n) && Di(n);
535
535
  }
536
- function ka(n) {
536
+ function Ea(n) {
537
537
  return A(n == null ? void 0 : n.lift);
538
538
  }
539
539
  function Se(n) {
540
540
  return function(e) {
541
- if (ka(e))
541
+ if (Ea(e))
542
542
  return e.lift(function(t) {
543
543
  try {
544
544
  return n(t, this);
@@ -550,9 +550,9 @@ function Se(n) {
550
550
  };
551
551
  }
552
552
  function ne(n, e, t, s, r) {
553
- return new _a(n, e, t, s, r);
553
+ return new Ta(n, e, t, s, r);
554
554
  }
555
- var _a = (function(n) {
555
+ var Ta = (function(n) {
556
556
  ot(e, n);
557
557
  function e(t, s, r, i, o, a) {
558
558
  var l = n.call(this, t) || this;
@@ -587,7 +587,7 @@ var _a = (function(n) {
587
587
  n.prototype.unsubscribe.call(this), !s && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
588
588
  }
589
589
  }, e;
590
- })(ws), Sa = Ii(function(n) {
590
+ })(ws), Ca = Mi(function(n) {
591
591
  return function() {
592
592
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
593
593
  };
@@ -602,10 +602,10 @@ var _a = (function(n) {
602
602
  return s.operator = t, s;
603
603
  }, e.prototype._throwIfClosed = function() {
604
604
  if (this.closed)
605
- throw new Sa();
605
+ throw new Ca();
606
606
  }, e.prototype.next = function(t) {
607
607
  var s = this;
608
- Yt(function() {
608
+ Xt(function() {
609
609
  var r, i;
610
610
  if (s._throwIfClosed(), !s.isStopped) {
611
611
  s.currentObservers || (s.currentObservers = Array.from(s.observers));
@@ -627,7 +627,7 @@ var _a = (function(n) {
627
627
  });
628
628
  }, e.prototype.error = function(t) {
629
629
  var s = this;
630
- Yt(function() {
630
+ Xt(function() {
631
631
  if (s._throwIfClosed(), !s.isStopped) {
632
632
  s.hasError = s.isStopped = !0, s.thrownError = t;
633
633
  for (var r = s.observers; r.length; )
@@ -636,7 +636,7 @@ var _a = (function(n) {
636
636
  });
637
637
  }, e.prototype.complete = function() {
638
638
  var t = this;
639
- Yt(function() {
639
+ Xt(function() {
640
640
  if (t._throwIfClosed(), !t.isStopped) {
641
641
  t.isStopped = !0;
642
642
  for (var s = t.observers; s.length; )
@@ -658,7 +658,7 @@ var _a = (function(n) {
658
658
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
659
659
  }, e.prototype._innerSubscribe = function(t) {
660
660
  var s = this, r = this, i = r.hasError, o = r.isStopped, a = r.observers;
661
- return i || o ? Mi : (this.currentObservers = null, a.push(t), new mn(function() {
661
+ return i || o ? Ni : (this.currentObservers = null, a.push(t), new mn(function() {
662
662
  s.currentObservers = null, ns(a, t);
663
663
  }));
664
664
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -687,7 +687,7 @@ var _a = (function(n) {
687
687
  (s = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || s === void 0 || s.call(t);
688
688
  }, e.prototype._subscribe = function(t) {
689
689
  var s, r;
690
- return (r = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && r !== void 0 ? r : Mi;
690
+ return (r = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && r !== void 0 ? r : Ni;
691
691
  }, e;
692
692
  })(U), te = (function(n) {
693
693
  ot(e, n);
@@ -712,50 +712,50 @@ var _a = (function(n) {
712
712
  }, e.prototype.next = function(t) {
713
713
  n.prototype.next.call(this, this._value = t);
714
714
  }, e;
715
- })(U), Rt = new Z(function(n) {
715
+ })(U), Ot = new Z(function(n) {
716
716
  return n.complete();
717
717
  });
718
- function Aa(n) {
718
+ function La(n) {
719
719
  return n && A(n.schedule);
720
720
  }
721
721
  function _s(n) {
722
722
  return n[n.length - 1];
723
723
  }
724
- function Ui(n) {
724
+ function zi(n) {
725
725
  return A(_s(n)) ? n.pop() : void 0;
726
726
  }
727
727
  function Ss(n) {
728
- return Aa(_s(n)) ? n.pop() : void 0;
728
+ return La(_s(n)) ? n.pop() : void 0;
729
729
  }
730
- function Ea(n, e) {
730
+ function Ra(n, e) {
731
731
  return typeof _s(n) == "number" ? n.pop() : e;
732
732
  }
733
733
  var As = (function(n) {
734
734
  return n && typeof n.length == "number" && typeof n != "function";
735
735
  });
736
- function zi(n) {
736
+ function Hi(n) {
737
737
  return A(n == null ? void 0 : n.then);
738
738
  }
739
- function Hi(n) {
739
+ function Bi(n) {
740
740
  return A(n[ks]);
741
741
  }
742
- function Bi(n) {
742
+ function Fi(n) {
743
743
  return Symbol.asyncIterator && A(n == null ? void 0 : n[Symbol.asyncIterator]);
744
744
  }
745
- function Fi(n) {
745
+ function ji(n) {
746
746
  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.");
747
747
  }
748
- function Ta() {
748
+ function Oa() {
749
749
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
750
750
  }
751
- var ji = Ta();
752
- function Gi(n) {
753
- return A(n == null ? void 0 : n[ji]);
751
+ var Gi = Oa();
752
+ function qi(n) {
753
+ return A(n == null ? void 0 : n[Gi]);
754
754
  }
755
755
  function Wi(n) {
756
- return da(this, arguments, function() {
756
+ return va(this, arguments, function() {
757
757
  var t, s, r, i;
758
- return Pi(this, function(o) {
758
+ return Ii(this, function(o) {
759
759
  switch (o.label) {
760
760
  case 0:
761
761
  t = n.getReader(), o.label = 1;
@@ -783,29 +783,29 @@ function Wi(n) {
783
783
  });
784
784
  });
785
785
  }
786
- function qi(n) {
786
+ function Zi(n) {
787
787
  return A(n == null ? void 0 : n.getReader);
788
788
  }
789
789
  function le(n) {
790
790
  if (n instanceof Z)
791
791
  return n;
792
792
  if (n != null) {
793
- if (Hi(n))
794
- return Ca(n);
795
- if (As(n))
796
- return La(n);
797
- if (zi(n))
798
- return Ra(n);
799
793
  if (Bi(n))
800
- return Zi(n);
801
- if (Gi(n))
802
- return Oa(n);
803
- if (qi(n))
804
794
  return Pa(n);
795
+ if (As(n))
796
+ return Ia(n);
797
+ if (Hi(n))
798
+ return Ma(n);
799
+ if (Fi(n))
800
+ return Yi(n);
801
+ if (qi(n))
802
+ return Na(n);
803
+ if (Zi(n))
804
+ return Da(n);
805
805
  }
806
- throw Fi(n);
806
+ throw ji(n);
807
807
  }
808
- function Ca(n) {
808
+ function Pa(n) {
809
809
  return new Z(function(e) {
810
810
  var t = n[ks]();
811
811
  if (A(t.subscribe))
@@ -813,23 +813,23 @@ function Ca(n) {
813
813
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
814
814
  });
815
815
  }
816
- function La(n) {
816
+ function Ia(n) {
817
817
  return new Z(function(e) {
818
818
  for (var t = 0; t < n.length && !e.closed; t++)
819
819
  e.next(n[t]);
820
820
  e.complete();
821
821
  });
822
822
  }
823
- function Ra(n) {
823
+ function Ma(n) {
824
824
  return new Z(function(e) {
825
825
  n.then(function(t) {
826
826
  e.closed || (e.next(t), e.complete());
827
827
  }, function(t) {
828
828
  return e.error(t);
829
- }).then(null, Di);
829
+ }).then(null, Ui);
830
830
  });
831
831
  }
832
- function Oa(n) {
832
+ function Na(n) {
833
833
  return new Z(function(e) {
834
834
  var t, s;
835
835
  try {
@@ -850,24 +850,24 @@ function Oa(n) {
850
850
  e.complete();
851
851
  });
852
852
  }
853
- function Zi(n) {
853
+ function Yi(n) {
854
854
  return new Z(function(e) {
855
- Ia(n, e).catch(function(t) {
855
+ Ua(n, e).catch(function(t) {
856
856
  return e.error(t);
857
857
  });
858
858
  });
859
859
  }
860
- function Pa(n) {
861
- return Zi(Wi(n));
860
+ function Da(n) {
861
+ return Yi(Wi(n));
862
862
  }
863
- function Ia(n, e) {
863
+ function Ua(n, e) {
864
864
  var t, s, r, i;
865
- return pa(this, void 0, void 0, function() {
865
+ return ma(this, void 0, void 0, function() {
866
866
  var o, a;
867
- return Pi(this, function(l) {
867
+ return Ii(this, function(l) {
868
868
  switch (l.label) {
869
869
  case 0:
870
- l.trys.push([0, 5, 6, 11]), t = fa(n), l.label = 1;
870
+ l.trys.push([0, 5, 6, 11]), t = ba(n), l.label = 1;
871
871
  case 1:
872
872
  return [4, t.next()];
873
873
  case 2:
@@ -906,7 +906,7 @@ function xe(n, e, t, s, r) {
906
906
  if (n.add(i), !r)
907
907
  return i;
908
908
  }
909
- function Yi(n, e) {
909
+ function Xi(n, e) {
910
910
  return e === void 0 && (e = 0), Se(function(t, s) {
911
911
  t.subscribe(ne(s, function(r) {
912
912
  return xe(s, n, function() {
@@ -923,20 +923,20 @@ function Yi(n, e) {
923
923
  }));
924
924
  });
925
925
  }
926
- function Xi(n, e) {
926
+ function Ki(n, e) {
927
927
  return e === void 0 && (e = 0), Se(function(t, s) {
928
928
  s.add(n.schedule(function() {
929
929
  return t.subscribe(s);
930
930
  }, e));
931
931
  });
932
932
  }
933
- function Ma(n, e) {
934
- return le(n).pipe(Xi(e), Yi(e));
933
+ function za(n, e) {
934
+ return le(n).pipe(Ki(e), Xi(e));
935
935
  }
936
- function Na(n, e) {
937
- return le(n).pipe(Xi(e), Yi(e));
936
+ function Ha(n, e) {
937
+ return le(n).pipe(Ki(e), Xi(e));
938
938
  }
939
- function Da(n, e) {
939
+ function Ba(n, e) {
940
940
  return new Z(function(t) {
941
941
  var s = 0;
942
942
  return e.schedule(function() {
@@ -944,11 +944,11 @@ function Da(n, e) {
944
944
  });
945
945
  });
946
946
  }
947
- function Ua(n, e) {
947
+ function Fa(n, e) {
948
948
  return new Z(function(t) {
949
949
  var s;
950
950
  return xe(t, e, function() {
951
- s = n[ji](), xe(t, e, function() {
951
+ s = n[Gi](), xe(t, e, function() {
952
952
  var r, i, o;
953
953
  try {
954
954
  r = s.next(), i = r.value, o = r.done;
@@ -963,7 +963,7 @@ function Ua(n, e) {
963
963
  };
964
964
  });
965
965
  }
966
- function Ki(n, e) {
966
+ function Vi(n, e) {
967
967
  if (!n)
968
968
  throw new Error("Iterable cannot be null");
969
969
  return new Z(function(t) {
@@ -977,28 +977,28 @@ function Ki(n, e) {
977
977
  });
978
978
  });
979
979
  }
980
- function za(n, e) {
981
- return Ki(Wi(n), e);
980
+ function ja(n, e) {
981
+ return Vi(Wi(n), e);
982
982
  }
983
- function Ha(n, e) {
983
+ function Ga(n, e) {
984
984
  if (n != null) {
985
- if (Hi(n))
986
- return Ma(n, e);
987
- if (As(n))
988
- return Da(n, e);
989
- if (zi(n))
990
- return Na(n, e);
991
985
  if (Bi(n))
992
- return Ki(n, e);
993
- if (Gi(n))
994
- return Ua(n, e);
995
- if (qi(n))
996
986
  return za(n, e);
987
+ if (As(n))
988
+ return Ba(n, e);
989
+ if (Hi(n))
990
+ return Ha(n, e);
991
+ if (Fi(n))
992
+ return Vi(n, e);
993
+ if (qi(n))
994
+ return Fa(n, e);
995
+ if (Zi(n))
996
+ return ja(n, e);
997
997
  }
998
- throw Fi(n);
998
+ throw ji(n);
999
999
  }
1000
1000
  function vn(n, e) {
1001
- return e ? Ha(n, e) : le(n);
1001
+ return e ? Ga(n, e) : le(n);
1002
1002
  }
1003
1003
  function rs() {
1004
1004
  for (var n = [], e = 0; e < arguments.length; e++)
@@ -1006,7 +1006,7 @@ function rs() {
1006
1006
  var t = Ss(n);
1007
1007
  return vn(n, t);
1008
1008
  }
1009
- function Jt(n, e) {
1009
+ function en(n, e) {
1010
1010
  return Se(function(t, s) {
1011
1011
  var r = 0;
1012
1012
  t.subscribe(ne(s, function(i) {
@@ -1014,23 +1014,23 @@ function Jt(n, e) {
1014
1014
  }));
1015
1015
  });
1016
1016
  }
1017
- var Ba = Array.isArray;
1018
- function Fa(n, e) {
1019
- return Ba(e) ? n.apply(void 0, nt([], Me(e))) : n(e);
1017
+ var qa = Array.isArray;
1018
+ function Wa(n, e) {
1019
+ return qa(e) ? n.apply(void 0, nt([], Me(e))) : n(e);
1020
1020
  }
1021
- function Vi(n) {
1022
- return Jt(function(e) {
1023
- return Fa(n, e);
1021
+ function Qi(n) {
1022
+ return en(function(e) {
1023
+ return Wa(n, e);
1024
1024
  });
1025
1025
  }
1026
- var ja = Array.isArray, Ga = Object.getPrototypeOf, Wa = Object.prototype, qa = Object.keys;
1027
- function Za(n) {
1026
+ var Za = Array.isArray, Ya = Object.getPrototypeOf, Xa = Object.prototype, Ka = Object.keys;
1027
+ function Va(n) {
1028
1028
  if (n.length === 1) {
1029
1029
  var e = n[0];
1030
- if (ja(e))
1030
+ if (Za(e))
1031
1031
  return { args: e, keys: null };
1032
- if (Ya(e)) {
1033
- var t = qa(e);
1032
+ if (Qa(e)) {
1033
+ var t = Ka(e);
1034
1034
  return {
1035
1035
  args: t.map(function(s) {
1036
1036
  return e[s];
@@ -1041,27 +1041,27 @@ function Za(n) {
1041
1041
  }
1042
1042
  return { args: n, keys: null };
1043
1043
  }
1044
- function Ya(n) {
1045
- return n && typeof n == "object" && Ga(n) === Wa;
1044
+ function Qa(n) {
1045
+ return n && typeof n == "object" && Ya(n) === Xa;
1046
1046
  }
1047
- function Xa(n, e) {
1047
+ function Ja(n, e) {
1048
1048
  return n.reduce(function(t, s, r) {
1049
1049
  return t[s] = e[r], t;
1050
1050
  }, {});
1051
1051
  }
1052
- function Ka() {
1052
+ function el() {
1053
1053
  for (var n = [], e = 0; e < arguments.length; e++)
1054
1054
  n[e] = arguments[e];
1055
- var t = Ss(n), s = Ui(n), r = Za(n), i = r.args, o = r.keys;
1055
+ var t = Ss(n), s = zi(n), r = Va(n), i = r.args, o = r.keys;
1056
1056
  if (i.length === 0)
1057
1057
  return vn([], t);
1058
- var a = new Z(Va(i, t, o ? function(l) {
1059
- return Xa(o, l);
1060
- } : Lt));
1061
- return s ? a.pipe(Vi(s)) : a;
1058
+ var a = new Z(tl(i, t, o ? function(l) {
1059
+ return Ja(o, l);
1060
+ } : Rt));
1061
+ return s ? a.pipe(Qi(s)) : a;
1062
1062
  }
1063
- function Va(n, e, t) {
1064
- return t === void 0 && (t = Lt), function(s) {
1063
+ function tl(n, e, t) {
1064
+ return t === void 0 && (t = Rt), function(s) {
1065
1065
  Mr(e, function() {
1066
1066
  for (var r = n.length, i = new Array(r), o = r, a = r, l = function(u) {
1067
1067
  Mr(e, function() {
@@ -1080,7 +1080,7 @@ function Va(n, e, t) {
1080
1080
  function Mr(n, e, t) {
1081
1081
  n ? xe(t, n, e) : e();
1082
1082
  }
1083
- function Qa(n, e, t, s, r, i, o, a) {
1083
+ function nl(n, e, t, s, r, i, o, a) {
1084
1084
  var l = [], c = 0, u = 0, d = !1, p = function() {
1085
1085
  d && !l.length && !c && e.complete();
1086
1086
  }, g = function(y) {
@@ -1114,28 +1114,28 @@ function Qa(n, e, t, s, r, i, o, a) {
1114
1114
  }
1115
1115
  function Es(n, e, t) {
1116
1116
  return t === void 0 && (t = 1 / 0), A(e) ? Es(function(s, r) {
1117
- return Jt(function(i, o) {
1117
+ return en(function(i, o) {
1118
1118
  return e(s, i, r, o);
1119
1119
  })(le(n(s, r)));
1120
1120
  }, t) : (typeof e == "number" && (t = e), Se(function(s, r) {
1121
- return Qa(s, r, n, t);
1121
+ return nl(s, r, n, t);
1122
1122
  }));
1123
1123
  }
1124
- function Ja(n) {
1125
- return n === void 0 && (n = 1 / 0), Es(Lt, n);
1124
+ function sl(n) {
1125
+ return n === void 0 && (n = 1 / 0), Es(Rt, n);
1126
1126
  }
1127
- var el = ["addListener", "removeListener"], tl = ["addEventListener", "removeEventListener"], nl = ["on", "off"];
1128
- function en(n, e, t, s) {
1127
+ var rl = ["addListener", "removeListener"], il = ["addEventListener", "removeEventListener"], ol = ["on", "off"];
1128
+ function tn(n, e, t, s) {
1129
1129
  if (A(t) && (s = t, t = void 0), s)
1130
- return en(n, e, t).pipe(Vi(s));
1131
- var r = Me(il(n) ? tl.map(function(a) {
1130
+ return tn(n, e, t).pipe(Qi(s));
1131
+ var r = Me(cl(n) ? il.map(function(a) {
1132
1132
  return function(l) {
1133
1133
  return n[a](e, l, t);
1134
1134
  };
1135
- }) : sl(n) ? el.map(Nr(n, e)) : rl(n) ? nl.map(Nr(n, e)) : [], 2), i = r[0], o = r[1];
1135
+ }) : al(n) ? rl.map(Nr(n, e)) : ll(n) ? ol.map(Nr(n, e)) : [], 2), i = r[0], o = r[1];
1136
1136
  if (!i && As(n))
1137
1137
  return Es(function(a) {
1138
- return en(a, e, t);
1138
+ return tn(a, e, t);
1139
1139
  })(le(n));
1140
1140
  if (!i)
1141
1141
  throw new TypeError("Invalid event target");
@@ -1157,24 +1157,24 @@ function Nr(n, e) {
1157
1157
  };
1158
1158
  };
1159
1159
  }
1160
- function sl(n) {
1160
+ function al(n) {
1161
1161
  return A(n.addListener) && A(n.removeListener);
1162
1162
  }
1163
- function rl(n) {
1163
+ function ll(n) {
1164
1164
  return A(n.on) && A(n.off);
1165
1165
  }
1166
- function il(n) {
1166
+ function cl(n) {
1167
1167
  return A(n.addEventListener) && A(n.removeEventListener);
1168
1168
  }
1169
- function ol() {
1169
+ function ul() {
1170
1170
  for (var n = [], e = 0; e < arguments.length; e++)
1171
1171
  n[e] = arguments[e];
1172
- var t = Ss(n), s = Ea(n, 1 / 0), r = n;
1173
- return r.length ? r.length === 1 ? le(r[0]) : Ja(s)(vn(r, t)) : Rt;
1172
+ var t = Ss(n), s = Ra(n, 1 / 0), r = n;
1173
+ return r.length ? r.length === 1 ? le(r[0]) : sl(s)(vn(r, t)) : Ot;
1174
1174
  }
1175
1175
  function is(n) {
1176
1176
  return n <= 0 ? function() {
1177
- return Rt;
1177
+ return Ot;
1178
1178
  } : Se(function(e, t) {
1179
1179
  var s = 0;
1180
1180
  e.subscribe(ne(t, function(r) {
@@ -1204,20 +1204,20 @@ function os(n) {
1204
1204
  return Se(function(e, t) {
1205
1205
  le(n).subscribe(ne(t, function() {
1206
1206
  return t.complete();
1207
- }, Qt)), !t.closed && e.subscribe(t);
1207
+ }, Jt)), !t.closed && e.subscribe(t);
1208
1208
  });
1209
1209
  }
1210
1210
  function as() {
1211
1211
  for (var n = [], e = 0; e < arguments.length; e++)
1212
1212
  n[e] = arguments[e];
1213
- var t = Ui(n);
1213
+ var t = zi(n);
1214
1214
  return Se(function(s, r) {
1215
1215
  for (var i = n.length, o = new Array(i), a = n.map(function() {
1216
1216
  return !1;
1217
1217
  }), l = !1, c = function(d) {
1218
1218
  le(n[d]).subscribe(ne(r, function(p) {
1219
- o[d] = p, !l && !a[d] && (a[d] = !0, (l = a.every(Lt)) && (a = null));
1220
- }, Qt));
1219
+ o[d] = p, !l && !a[d] && (a[d] = !0, (l = a.every(Rt)) && (a = null));
1220
+ }, Jt));
1221
1221
  }, u = 0; u < i; u++)
1222
1222
  c(u);
1223
1223
  s.subscribe(ne(r, function(d) {
@@ -1229,11 +1229,11 @@ function as() {
1229
1229
  });
1230
1230
  }
1231
1231
  var we = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System = "system", n))(we || {});
1232
- const al = () => "10000000-1000-4000-8000-100000000000".replace(
1232
+ const hl = () => "10000000-1000-4000-8000-100000000000".replace(
1233
1233
  /[018]/g,
1234
1234
  (n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
1235
- ), Qi = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : al();
1236
- function Lh(n) {
1235
+ ), Ji = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : hl();
1236
+ function Oh(n) {
1237
1237
  let e = n;
1238
1238
  const t = /https?:\/\/[^\s<]+/gi, s = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, r = n.match(t) || [], i = [];
1239
1239
  let o;
@@ -1253,12 +1253,12 @@ function Lh(n) {
1253
1253
  );
1254
1254
  }), e;
1255
1255
  }
1256
- function ll(n) {
1256
+ function pl(n) {
1257
1257
  if (n.includes("aceChatGuideTitle"))
1258
- return cl(n);
1258
+ return dl(n);
1259
1259
  const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1260
1260
  return n.replace(e, (t) => {
1261
- const s = Ji(t);
1261
+ const s = eo(t);
1262
1262
  if (!s)
1263
1263
  return t;
1264
1264
  const r = 50;
@@ -1278,7 +1278,7 @@ function ll(n) {
1278
1278
  return ls(t, s);
1279
1279
  });
1280
1280
  }
1281
- function Ji(n) {
1281
+ function eo(n) {
1282
1282
  const e = n.match(/href=["']([^'"]*)["']/);
1283
1283
  if (e && e.length > 1) {
1284
1284
  let t = e[1];
@@ -1289,10 +1289,10 @@ function Ji(n) {
1289
1289
  function ls(n, e) {
1290
1290
  return n.replace(/>[^<]*<\/a>/, `>${e}</a>`);
1291
1291
  }
1292
- function cl(n) {
1292
+ function dl(n) {
1293
1293
  const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1294
1294
  return n.replace(e, (t) => {
1295
- const s = Ji(t);
1295
+ const s = eo(t);
1296
1296
  if (!s)
1297
1297
  return t;
1298
1298
  const r = s.split("?").pop(), o = new URLSearchParams(r).get("aceChatGuideTitle");
@@ -1301,7 +1301,7 @@ function cl(n) {
1301
1301
  }
1302
1302
  class bn {
1303
1303
  constructor(e, t, s) {
1304
- this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new U(), this.actions$ = new U(), this.remove$ = new U(), this.timestamp = Date.now(), this.id = Qi();
1304
+ this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new U(), this.actions$ = new U(), this.remove$ = new U(), this.timestamp = Date.now(), this.id = Ji();
1305
1305
  }
1306
1306
  update(e) {
1307
1307
  this.messages = [
@@ -1317,7 +1317,7 @@ class bn {
1317
1317
  this.remove$.next();
1318
1318
  }
1319
1319
  }
1320
- class ul {
1320
+ class fl {
1321
1321
  constructor(e) {
1322
1322
  this.name = e, this.print$ = new U();
1323
1323
  }
@@ -1337,7 +1337,7 @@ class ul {
1337
1337
  return this.print$.asObservable();
1338
1338
  }
1339
1339
  }
1340
- class hl {
1340
+ class gl {
1341
1341
  constructor(e) {
1342
1342
  this.name = e, this.print$ = new U();
1343
1343
  }
@@ -1357,7 +1357,7 @@ class hl {
1357
1357
  return this.print$.asObservable();
1358
1358
  }
1359
1359
  }
1360
- class pl {
1360
+ class ml {
1361
1361
  constructor() {
1362
1362
  this.print$ = new U(), this.name = "system";
1363
1363
  }
@@ -1377,7 +1377,7 @@ class pl {
1377
1377
  return this.print$.asObservable();
1378
1378
  }
1379
1379
  }
1380
- class Rh {
1380
+ class Ph {
1381
1381
  constructor(e, t) {
1382
1382
  this.name = e, this.component = t, this.print$ = new U(), this.typingState$ = new te(!1), this.complete$ = new U(), this.system = this.createSystem(), this.rehydrate$ = new U(), this.saveToCurrentSession$ = new U(), this.showChatOverlay$ = new te(!1), this.onComplete = () => this.complete$.asObservable();
1383
1383
  }
@@ -1411,19 +1411,19 @@ class Rh {
1411
1411
  return this.print$.next(e), e;
1412
1412
  }
1413
1413
  createAgent(e) {
1414
- const t = new ul(e);
1414
+ const t = new fl(e);
1415
1415
  return t.subscribe().subscribe((s) => {
1416
1416
  this.playNotification(), this.printEntry(s);
1417
1417
  }), t;
1418
1418
  }
1419
1419
  createUser(e) {
1420
- const t = new hl(e);
1420
+ const t = new gl(e);
1421
1421
  return t.subscribe().subscribe((s) => {
1422
1422
  this.printEntry(s);
1423
1423
  }), t;
1424
1424
  }
1425
1425
  createSystem() {
1426
- const e = new pl();
1426
+ const e = new ml();
1427
1427
  return e.subscribe().subscribe((t) => {
1428
1428
  this.printEntry(t);
1429
1429
  }), e;
@@ -1459,8 +1459,8 @@ class Rh {
1459
1459
  * Copyright 2019 Google LLC
1460
1460
  * SPDX-License-Identifier: BSD-3-Clause
1461
1461
  */
1462
- const Xt = globalThis, Ts = Xt.ShadowRoot && (Xt.ShadyCSS === void 0 || Xt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cs = Symbol(), Dr = /* @__PURE__ */ new WeakMap();
1463
- let eo = class {
1462
+ const Kt = globalThis, Ts = Kt.ShadowRoot && (Kt.ShadyCSS === void 0 || Kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cs = Symbol(), Dr = /* @__PURE__ */ new WeakMap();
1463
+ let to = class {
1464
1464
  constructor(e, t, s) {
1465
1465
  if (this._$cssResult$ = !0, s !== Cs) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1466
1466
  this.cssText = e, this.t = t;
@@ -1478,33 +1478,33 @@ let eo = class {
1478
1478
  return this.cssText;
1479
1479
  }
1480
1480
  };
1481
- const dl = (n) => new eo(typeof n == "string" ? n : n + "", void 0, Cs), Y = (n, ...e) => {
1481
+ const vl = (n) => new to(typeof n == "string" ? n : n + "", void 0, Cs), Y = (n, ...e) => {
1482
1482
  const t = n.length === 1 ? n[0] : e.reduce(((s, r, i) => s + ((o) => {
1483
1483
  if (o._$cssResult$ === !0) return o.cssText;
1484
1484
  if (typeof o == "number") return o;
1485
1485
  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.");
1486
1486
  })(r) + n[i + 1]), n[0]);
1487
- return new eo(t, n, Cs);
1488
- }, fl = (n, e) => {
1487
+ return new to(t, n, Cs);
1488
+ }, bl = (n, e) => {
1489
1489
  if (Ts) n.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
1490
1490
  else for (const t of e) {
1491
- const s = document.createElement("style"), r = Xt.litNonce;
1491
+ const s = document.createElement("style"), r = Kt.litNonce;
1492
1492
  r !== void 0 && s.setAttribute("nonce", r), s.textContent = t.cssText, n.appendChild(s);
1493
1493
  }
1494
1494
  }, Ur = Ts ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1495
1495
  let t = "";
1496
1496
  for (const s of e.cssRules) t += s.cssText;
1497
- return dl(t);
1497
+ return vl(t);
1498
1498
  })(n) : n;
1499
1499
  /**
1500
1500
  * @license
1501
1501
  * Copyright 2017 Google LLC
1502
1502
  * SPDX-License-Identifier: BSD-3-Clause
1503
1503
  */
1504
- const { is: gl, defineProperty: ml, getOwnPropertyDescriptor: vl, getOwnPropertyNames: bl, getOwnPropertySymbols: yl, getPrototypeOf: $l } = Object, ke = globalThis, zr = ke.trustedTypes, xl = zr ? zr.emptyScript : "", Fn = ke.reactiveElementPolyfillSupport, yt = (n, e) => n, tn = { toAttribute(n, e) {
1504
+ const { is: yl, defineProperty: $l, getOwnPropertyDescriptor: xl, getOwnPropertyNames: wl, getOwnPropertySymbols: kl, getPrototypeOf: _l } = Object, ke = globalThis, zr = ke.trustedTypes, Sl = zr ? zr.emptyScript : "", Fn = ke.reactiveElementPolyfillSupport, yt = (n, e) => n, nn = { toAttribute(n, e) {
1505
1505
  switch (e) {
1506
1506
  case Boolean:
1507
- n = n ? xl : null;
1507
+ n = n ? Sl : null;
1508
1508
  break;
1509
1509
  case Object:
1510
1510
  case Array:
@@ -1529,7 +1529,7 @@ const { is: gl, defineProperty: ml, getOwnPropertyDescriptor: vl, getOwnProperty
1529
1529
  }
1530
1530
  }
1531
1531
  return t;
1532
- } }, Ls = (n, e) => !gl(n, e), Hr = { attribute: !0, type: String, converter: tn, reflect: !1, useDefault: !1, hasChanged: Ls };
1532
+ } }, Ls = (n, e) => !yl(n, e), Hr = { attribute: !0, type: String, converter: nn, reflect: !1, useDefault: !1, hasChanged: Ls };
1533
1533
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), ke.litPropertyMetadata ?? (ke.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1534
1534
  let Ze = class extends HTMLElement {
1535
1535
  static addInitializer(e) {
@@ -1541,11 +1541,11 @@ let Ze = class extends HTMLElement {
1541
1541
  static createProperty(e, t = Hr) {
1542
1542
  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) {
1543
1543
  const s = Symbol(), r = this.getPropertyDescriptor(e, s, t);
1544
- r !== void 0 && ml(this.prototype, e, r);
1544
+ r !== void 0 && $l(this.prototype, e, r);
1545
1545
  }
1546
1546
  }
1547
1547
  static getPropertyDescriptor(e, t, s) {
1548
- const { get: r, set: i } = vl(this.prototype, e) ?? { get() {
1548
+ const { get: r, set: i } = xl(this.prototype, e) ?? { get() {
1549
1549
  return this[t];
1550
1550
  }, set(o) {
1551
1551
  this[t] = o;
@@ -1560,13 +1560,13 @@ let Ze = class extends HTMLElement {
1560
1560
  }
1561
1561
  static _$Ei() {
1562
1562
  if (this.hasOwnProperty(yt("elementProperties"))) return;
1563
- const e = $l(this);
1563
+ const e = _l(this);
1564
1564
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1565
1565
  }
1566
1566
  static finalize() {
1567
1567
  if (this.hasOwnProperty(yt("finalized"))) return;
1568
1568
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(yt("properties"))) {
1569
- const t = this.properties, s = [...bl(t), ...yl(t)];
1569
+ const t = this.properties, s = [...wl(t), ...kl(t)];
1570
1570
  for (const r of s) this.createProperty(r, t[r]);
1571
1571
  }
1572
1572
  const e = this[Symbol.metadata];
@@ -1615,7 +1615,7 @@ let Ze = class extends HTMLElement {
1615
1615
  }
1616
1616
  createRenderRoot() {
1617
1617
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1618
- return fl(e, this.constructor.elementStyles), e;
1618
+ return bl(e, this.constructor.elementStyles), e;
1619
1619
  }
1620
1620
  connectedCallback() {
1621
1621
  var e;
@@ -1640,7 +1640,7 @@ let Ze = class extends HTMLElement {
1640
1640
  var i;
1641
1641
  const s = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, s);
1642
1642
  if (r !== void 0 && s.reflect === !0) {
1643
- const o = (((i = s.converter) == null ? void 0 : i.toAttribute) !== void 0 ? s.converter : tn).toAttribute(t, s.type);
1643
+ const o = (((i = s.converter) == null ? void 0 : i.toAttribute) !== void 0 ? s.converter : nn).toAttribute(t, s.type);
1644
1644
  this._$Em = e, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
1645
1645
  }
1646
1646
  }
@@ -1648,7 +1648,7 @@ let Ze = class extends HTMLElement {
1648
1648
  var i, o;
1649
1649
  const s = this.constructor, r = s._$Eh.get(e);
1650
1650
  if (r !== void 0 && this._$Em !== r) {
1651
- const a = s.getPropertyOptions(r), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : tn;
1651
+ const a = s.getPropertyOptions(r), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : nn;
1652
1652
  this._$Em = r;
1653
1653
  const c = l.fromAttribute(t, a.type);
1654
1654
  this[r] = c ?? ((o = this._$Ej) == null ? void 0 : o.get(r)) ?? c, this._$Em = null;
@@ -1740,50 +1740,50 @@ Ze.elementStyles = [], Ze.shadowRootOptions = { mode: "open" }, Ze[yt("elementPr
1740
1740
  * Copyright 2017 Google LLC
1741
1741
  * SPDX-License-Identifier: BSD-3-Clause
1742
1742
  */
1743
- const $t = globalThis, nn = $t.trustedTypes, Br = nn ? nn.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, to = "$lit$", $e = `lit$${Math.random().toFixed(9).slice(2)}$`, no = "?" + $e, wl = `<${no}>`, Ne = document, kt = () => Ne.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Rs = Array.isArray, kl = (n) => Rs(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", jn = `[
1743
+ const $t = globalThis, sn = $t.trustedTypes, Br = sn ? sn.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, no = "$lit$", $e = `lit$${Math.random().toFixed(9).slice(2)}$`, so = "?" + $e, Al = `<${so}>`, Ne = document, kt = () => Ne.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Rs = Array.isArray, El = (n) => Rs(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", jn = `[
1744
1744
  \f\r]`, ht = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Fr = /-->/g, jr = />/g, Re = RegExp(`>|${jn}(?:([^\\s"'>=/]+)(${jn}*=${jn}*(?:[^
1745
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Gr = /'/g, Wr = /"/g, so = /^(?:script|style|textarea|title)$/i, _l = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = _l(1), _e = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), qr = /* @__PURE__ */ new WeakMap(), Pe = Ne.createTreeWalker(Ne, 129);
1746
- function ro(n, e) {
1745
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Gr = /'/g, qr = /"/g, ro = /^(?:script|style|textarea|title)$/i, Tl = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = Tl(1), _e = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), Wr = /* @__PURE__ */ new WeakMap(), Pe = Ne.createTreeWalker(Ne, 129);
1746
+ function io(n, e) {
1747
1747
  if (!Rs(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1748
1748
  return Br !== void 0 ? Br.createHTML(e) : e;
1749
1749
  }
1750
- const Sl = (n, e) => {
1750
+ const Cl = (n, e) => {
1751
1751
  const t = n.length - 1, s = [];
1752
1752
  let r, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = ht;
1753
1753
  for (let a = 0; a < t; a++) {
1754
1754
  const l = n[a];
1755
1755
  let c, u, d = -1, p = 0;
1756
- for (; p < l.length && (o.lastIndex = p, u = o.exec(l), u !== null); ) p = o.lastIndex, o === ht ? u[1] === "!--" ? o = Fr : u[1] !== void 0 ? o = jr : u[2] !== void 0 ? (so.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = Re) : u[3] !== void 0 && (o = Re) : o === Re ? u[0] === ">" ? (o = r ?? ht, d = -1) : u[1] === void 0 ? d = -2 : (d = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Re : u[3] === '"' ? Wr : Gr) : o === Wr || o === Gr ? o = Re : o === Fr || o === jr ? o = ht : (o = Re, r = void 0);
1756
+ for (; p < l.length && (o.lastIndex = p, u = o.exec(l), u !== null); ) p = o.lastIndex, o === ht ? u[1] === "!--" ? o = Fr : u[1] !== void 0 ? o = jr : u[2] !== void 0 ? (ro.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = Re) : u[3] !== void 0 && (o = Re) : o === Re ? u[0] === ">" ? (o = r ?? ht, d = -1) : u[1] === void 0 ? d = -2 : (d = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Re : u[3] === '"' ? qr : Gr) : o === qr || o === Gr ? o = Re : o === Fr || o === jr ? o = ht : (o = Re, r = void 0);
1757
1757
  const g = o === Re && n[a + 1].startsWith("/>") ? " " : "";
1758
- i += o === ht ? l + wl : d >= 0 ? (s.push(c), l.slice(0, d) + to + l.slice(d) + $e + g) : l + $e + (d === -2 ? a : g);
1758
+ i += o === ht ? l + Al : d >= 0 ? (s.push(c), l.slice(0, d) + no + l.slice(d) + $e + g) : l + $e + (d === -2 ? a : g);
1759
1759
  }
1760
- return [ro(n, i + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1760
+ return [io(n, i + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1761
1761
  };
1762
- let cs = class io {
1762
+ let cs = class oo {
1763
1763
  constructor({ strings: e, _$litType$: t }, s) {
1764
1764
  let r;
1765
1765
  this.parts = [];
1766
1766
  let i = 0, o = 0;
1767
- const a = e.length - 1, l = this.parts, [c, u] = Sl(e, t);
1768
- if (this.el = io.createElement(c, s), Pe.currentNode = this.el.content, t === 2 || t === 3) {
1767
+ const a = e.length - 1, l = this.parts, [c, u] = Cl(e, t);
1768
+ if (this.el = oo.createElement(c, s), Pe.currentNode = this.el.content, t === 2 || t === 3) {
1769
1769
  const d = this.el.content.firstChild;
1770
1770
  d.replaceWith(...d.childNodes);
1771
1771
  }
1772
1772
  for (; (r = Pe.nextNode()) !== null && l.length < a; ) {
1773
1773
  if (r.nodeType === 1) {
1774
- if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(to)) {
1774
+ if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(no)) {
1775
1775
  const p = u[o++], g = r.getAttribute(d).split($e), m = /([.?@])?(.*)/.exec(p);
1776
- l.push({ type: 1, index: i, name: m[2], strings: g, ctor: m[1] === "." ? El : m[1] === "?" ? Tl : m[1] === "@" ? Cl : yn }), r.removeAttribute(d);
1776
+ l.push({ type: 1, index: i, name: m[2], strings: g, ctor: m[1] === "." ? Rl : m[1] === "?" ? Ol : m[1] === "@" ? Pl : yn }), r.removeAttribute(d);
1777
1777
  } else d.startsWith($e) && (l.push({ type: 6, index: i }), r.removeAttribute(d));
1778
- if (so.test(r.tagName)) {
1778
+ if (ro.test(r.tagName)) {
1779
1779
  const d = r.textContent.split($e), p = d.length - 1;
1780
1780
  if (p > 0) {
1781
- r.textContent = nn ? nn.emptyScript : "";
1781
+ r.textContent = sn ? sn.emptyScript : "";
1782
1782
  for (let g = 0; g < p; g++) r.append(d[g], kt()), Pe.nextNode(), l.push({ type: 2, index: ++i });
1783
1783
  r.append(d[p], kt());
1784
1784
  }
1785
1785
  }
1786
- } else if (r.nodeType === 8) if (r.data === no) l.push({ type: 2, index: i });
1786
+ } else if (r.nodeType === 8) if (r.data === so) l.push({ type: 2, index: i });
1787
1787
  else {
1788
1788
  let d = -1;
1789
1789
  for (; (d = r.data.indexOf($e, d + 1)) !== -1; ) l.push({ type: 7, index: i }), d += $e.length - 1;
@@ -1803,7 +1803,7 @@ function st(n, e, t = n, s) {
1803
1803
  const i = _t(e) ? void 0 : e._$litDirective$;
1804
1804
  return (r == null ? void 0 : r.constructor) !== i && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), i === void 0 ? r = void 0 : (r = new i(n), r._$AT(n, t, s)), s !== void 0 ? (t._$Co ?? (t._$Co = []))[s] = r : t._$Cl = r), r !== void 0 && (e = st(n, r._$AS(n, e.values), r, s)), e;
1805
1805
  }
1806
- class Al {
1806
+ class Ll {
1807
1807
  constructor(e, t) {
1808
1808
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
1809
1809
  }
@@ -1820,7 +1820,7 @@ class Al {
1820
1820
  for (; l !== void 0; ) {
1821
1821
  if (o === l.index) {
1822
1822
  let c;
1823
- l.type === 2 ? c = new Ot(i, i.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(i, l.name, l.strings, this, e) : l.type === 6 && (c = new Ll(i, this, e)), this._$AV.push(c), l = s[++a];
1823
+ l.type === 2 ? c = new Pt(i, i.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(i, l.name, l.strings, this, e) : l.type === 6 && (c = new Il(i, this, e)), this._$AV.push(c), l = s[++a];
1824
1824
  }
1825
1825
  o !== (l == null ? void 0 : l.index) && (i = Pe.nextNode(), o++);
1826
1826
  }
@@ -1831,7 +1831,7 @@ class Al {
1831
1831
  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++;
1832
1832
  }
1833
1833
  }
1834
- class Ot {
1834
+ class Pt {
1835
1835
  get _$AU() {
1836
1836
  var e;
1837
1837
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -1851,7 +1851,7 @@ class Ot {
1851
1851
  return this._$AB;
1852
1852
  }
1853
1853
  _$AI(e, t = this) {
1854
- e = st(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) : kl(e) ? this.k(e) : this._(e);
1854
+ e = st(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) : El(e) ? this.k(e) : this._(e);
1855
1855
  }
1856
1856
  O(e) {
1857
1857
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -1864,22 +1864,22 @@ class Ot {
1864
1864
  }
1865
1865
  $(e) {
1866
1866
  var i;
1867
- const { values: t, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = cs.createElement(ro(s.h, s.h[0]), this.options)), s);
1867
+ const { values: t, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = cs.createElement(io(s.h, s.h[0]), this.options)), s);
1868
1868
  if (((i = this._$AH) == null ? void 0 : i._$AD) === r) this._$AH.p(t);
1869
1869
  else {
1870
- const o = new Al(r, this), a = o.u(this.options);
1870
+ const o = new Ll(r, this), a = o.u(this.options);
1871
1871
  o.p(t), this.T(a), this._$AH = o;
1872
1872
  }
1873
1873
  }
1874
1874
  _$AC(e) {
1875
- let t = qr.get(e.strings);
1876
- return t === void 0 && qr.set(e.strings, t = new cs(e)), t;
1875
+ let t = Wr.get(e.strings);
1876
+ return t === void 0 && Wr.set(e.strings, t = new cs(e)), t;
1877
1877
  }
1878
1878
  k(e) {
1879
1879
  Rs(this._$AH) || (this._$AH = [], this._$AR());
1880
1880
  const t = this._$AH;
1881
1881
  let s, r = 0;
1882
- for (const i of e) r === t.length ? t.push(s = new Ot(this.O(kt()), this.O(kt()), this, this.options)) : s = t[r], s._$AI(i), r++;
1882
+ for (const i of e) r === t.length ? t.push(s = new Pt(this.O(kt()), this.O(kt()), this, this.options)) : s = t[r], s._$AI(i), r++;
1883
1883
  r < t.length && (this._$AR(s && s._$AB.nextSibling, r), t.length = r);
1884
1884
  }
1885
1885
  _$AR(e = this._$AA.nextSibling, t) {
@@ -1919,7 +1919,7 @@ class yn {
1919
1919
  e === x ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
1920
1920
  }
1921
1921
  }
1922
- let El = class extends yn {
1922
+ let Rl = class extends yn {
1923
1923
  constructor() {
1924
1924
  super(...arguments), this.type = 3;
1925
1925
  }
@@ -1927,7 +1927,7 @@ let El = class extends yn {
1927
1927
  this.element[this.name] = e === x ? void 0 : e;
1928
1928
  }
1929
1929
  };
1930
- class Tl extends yn {
1930
+ class Ol extends yn {
1931
1931
  constructor() {
1932
1932
  super(...arguments), this.type = 4;
1933
1933
  }
@@ -1935,7 +1935,7 @@ class Tl extends yn {
1935
1935
  this.element.toggleAttribute(this.name, !!e && e !== x);
1936
1936
  }
1937
1937
  }
1938
- class Cl extends yn {
1938
+ class Pl extends yn {
1939
1939
  constructor(e, t, s, r, i) {
1940
1940
  super(e, t, s, r, i), this.type = 5;
1941
1941
  }
@@ -1949,7 +1949,7 @@ class Cl extends yn {
1949
1949
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
1950
1950
  }
1951
1951
  }
1952
- class Ll {
1952
+ class Il {
1953
1953
  constructor(e, t, s) {
1954
1954
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = s;
1955
1955
  }
@@ -1961,13 +1961,13 @@ class Ll {
1961
1961
  }
1962
1962
  }
1963
1963
  const Gn = $t.litHtmlPolyfillSupport;
1964
- Gn == null || Gn(cs, Ot), ($t.litHtmlVersions ?? ($t.litHtmlVersions = [])).push("3.3.1");
1965
- const Rl = (n, e, t) => {
1964
+ Gn == null || Gn(cs, Pt), ($t.litHtmlVersions ?? ($t.litHtmlVersions = [])).push("3.3.1");
1965
+ const Ml = (n, e, t) => {
1966
1966
  const s = (t == null ? void 0 : t.renderBefore) ?? e;
1967
1967
  let r = s._$litPart$;
1968
1968
  if (r === void 0) {
1969
1969
  const i = (t == null ? void 0 : t.renderBefore) ?? null;
1970
- s._$litPart$ = r = new Ot(e.insertBefore(kt(), i), i, void 0, t ?? {});
1970
+ s._$litPart$ = r = new Pt(e.insertBefore(kt(), i), i, void 0, t ?? {});
1971
1971
  }
1972
1972
  return r._$AI(n), r;
1973
1973
  };
@@ -1988,7 +1988,7 @@ let M = class extends Ze {
1988
1988
  }
1989
1989
  update(e) {
1990
1990
  const t = this.render();
1991
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Rl(t, this.renderRoot, this.renderOptions);
1991
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Ml(t, this.renderRoot, this.renderOptions);
1992
1992
  }
1993
1993
  connectedCallback() {
1994
1994
  var e;
@@ -2002,12 +2002,12 @@ let M = class extends Ze {
2002
2002
  return _e;
2003
2003
  }
2004
2004
  };
2005
- var Ri;
2006
- M._$litElement$ = !0, M.finalized = !0, (Ri = Ie.litElementHydrateSupport) == null || Ri.call(Ie, { LitElement: M });
2007
- const Wn = Ie.litElementPolyfillSupport;
2008
- Wn == null || Wn({ LitElement: M });
2005
+ var Oi;
2006
+ M._$litElement$ = !0, M.finalized = !0, (Oi = Ie.litElementHydrateSupport) == null || Oi.call(Ie, { LitElement: M });
2007
+ const qn = Ie.litElementPolyfillSupport;
2008
+ qn == null || qn({ LitElement: M });
2009
2009
  (Ie.litElementVersions ?? (Ie.litElementVersions = [])).push("4.2.1");
2010
- const Ol = { 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>' }, Pl = { 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>' }, Il = { 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>' }, Ml = { 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>' }, Nl = { 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>' }, Zr = { 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>' }, Dl = { 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>' }, Ul = { 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>' }, Yr = { 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>' }, Ye = {
2010
+ const Nl = { 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>' }, Dl = { 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>' }, Ul = { 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>' }, Hl = { 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>' }, Zr = { 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>' }, Bl = { 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>' }, Fl = { 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>' }, Yr = { 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>' }, Ye = {
2011
2011
  allRenderFn: !1,
2012
2012
  cmpDidLoad: !0,
2013
2013
  cmpDidUnload: !1,
@@ -2091,8 +2091,8 @@ const Ol = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
2091
2091
  transformTagName: !1,
2092
2092
  attachStyles: !0
2093
2093
  };
2094
- let Xe, oo, $n, ao = !1, sn = !1, Os = !1, X = !1, Xr = null, us = !1;
2095
- const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} }, lo = xn.HTMLElement || class {
2094
+ let Xe, ao, $n, lo = !1, rn = !1, Os = !1, X = !1, Xr = null, us = !1;
2095
+ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} }, co = xn.HTMLElement || class {
2096
2096
  }, j = {
2097
2097
  $flags$: 0,
2098
2098
  $resourcesUrl$: "",
@@ -2101,7 +2101,7 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2101
2101
  ael: (n, e, t, s) => n.addEventListener(e, t, s),
2102
2102
  rel: (n, e, t, s) => n.removeEventListener(e, t, s),
2103
2103
  ce: (n, e) => new CustomEvent(n, e)
2104
- }, zl = /* @__PURE__ */ (() => {
2104
+ }, jl = /* @__PURE__ */ (() => {
2105
2105
  let n = !1;
2106
2106
  try {
2107
2107
  ae.addEventListener("e", null, Object.defineProperty({}, "passive", {
@@ -2112,32 +2112,32 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2112
2112
  } catch {
2113
2113
  }
2114
2114
  return n;
2115
- })(), Hl = (n) => Promise.resolve(n), Bl = /* @__PURE__ */ (() => {
2115
+ })(), Gl = (n) => Promise.resolve(n), ql = /* @__PURE__ */ (() => {
2116
2116
  try {
2117
2117
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
2118
2118
  } catch {
2119
2119
  }
2120
2120
  return !1;
2121
- })(), co = (n, e, t, s) => {
2121
+ })(), uo = (n, e, t, s) => {
2122
2122
  t && t.map(([r, i, o]) => {
2123
- const a = jl(n, r), l = Fl(e, o), c = Gl(r);
2123
+ const a = Zl(n, r), l = Wl(e, o), c = Yl(r);
2124
2124
  j.ael(a, i, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => j.rel(a, i, l, c));
2125
2125
  });
2126
- }, Fl = (n, e) => (t) => {
2126
+ }, Wl = (n, e) => (t) => {
2127
2127
  try {
2128
2128
  Ye.lazyLoad || n.$hostElement$[e](t);
2129
2129
  } catch (s) {
2130
- Pt(s);
2130
+ It(s);
2131
2131
  }
2132
- }, jl = (n, e) => e & 4 ? ae : e & 8 ? xn : e & 16 ? ae.body : n, Gl = (n) => zl ? {
2132
+ }, Zl = (n, e) => e & 4 ? ae : e & 8 ? xn : e & 16 ? ae.body : n, Yl = (n) => jl ? {
2133
2133
  passive: (n & 1) !== 0,
2134
2134
  capture: (n & 2) !== 0
2135
2135
  } : (n & 2) !== 0, Kr = "http://www.w3.org/1999/xlink", De = (n, e = "") => () => {
2136
- }, Vr = /* @__PURE__ */ new WeakMap(), Wl = (n, e, t) => {
2137
- let s = an.get(n);
2138
- Bl && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, an.set(n, s);
2139
- }, ql = (n, e, t, s) => {
2140
- let r = uo(e, t), i = an.get(r);
2136
+ }, Vr = /* @__PURE__ */ new WeakMap(), Xl = (n, e, t) => {
2137
+ let s = ln.get(n);
2138
+ ql && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, ln.set(n, s);
2139
+ }, Kl = (n, e, t, s) => {
2140
+ let r = ho(e, t), i = ln.get(r);
2141
2141
  if (n = n.nodeType === 11 ? n : ae, i)
2142
2142
  if (typeof i == "string") {
2143
2143
  n = n.head || n;
@@ -2145,14 +2145,14 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2145
2145
  o || Vr.set(n, o = /* @__PURE__ */ new Set()), o.has(r) || (a = ae.createElement("style"), a.innerHTML = i, n.insertBefore(a, n.querySelector("link")), o && o.add(r));
2146
2146
  } else n.adoptedStyleSheets.includes(i) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, i]);
2147
2147
  return r;
2148
- }, Zl = (n) => {
2149
- const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, r = De("attachStyles", e.$tagName$), i = ql(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2148
+ }, Vl = (n) => {
2149
+ const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, r = De("attachStyles", e.$tagName$), i = Kl(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2150
2150
  s & 10 && (t["s-sc"] = i, t.classList.add(i + "-h"), s & 2 && t.classList.add(i + "-s")), r();
2151
- }, uo = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), Yl = (n) => wc.map((e) => e(n)).find((e) => !!e), Qr = {}, Xl = "http://www.w3.org/2000/svg", Kl = "http://www.w3.org/1999/xhtml", Vl = (n) => n != null, Ps = (n) => (n = typeof n, n === "object" || n === "function"), Je = (n, e, ...t) => {
2151
+ }, ho = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), Ql = (n) => Ac.map((e) => e(n)).find((e) => !!e), Qr = {}, Jl = "http://www.w3.org/2000/svg", ec = "http://www.w3.org/1999/xhtml", tc = (n) => n != null, Ps = (n) => (n = typeof n, n === "object" || n === "function"), Je = (n, e, ...t) => {
2152
2152
  let s = null, r = null, i = null, o = !1, a = !1, l = [];
2153
2153
  const c = (d) => {
2154
2154
  for (let p = 0; p < d.length; p++)
2155
- s = d[p], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !Ps(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? rn(null, s) : s), a = o);
2155
+ s = d[p], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !Ps(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? on(null, s) : s), a = o);
2156
2156
  };
2157
2157
  if (c(t), e) {
2158
2158
  e.key && (r = e.key), e.name && (i = e.name);
@@ -2162,10 +2162,10 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2162
2162
  }
2163
2163
  }
2164
2164
  if (typeof n == "function")
2165
- return n(e === null ? {} : e, l, Jl);
2166
- const u = rn(n, null);
2165
+ return n(e === null ? {} : e, l, sc);
2166
+ const u = on(n, null);
2167
2167
  return u.$attrs$ = e, l.length > 0 && (u.$children$ = l), u.$key$ = r, u.$name$ = i, u;
2168
- }, rn = (n, e) => {
2168
+ }, on = (n, e) => {
2169
2169
  const t = {
2170
2170
  $flags$: 0,
2171
2171
  $tag$: n,
@@ -2174,9 +2174,9 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2174
2174
  $children$: null
2175
2175
  };
2176
2176
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2177
- }, Is = {}, Ql = (n) => n && n.$tag$ === Is, Jl = {
2177
+ }, Is = {}, nc = (n) => n && n.$tag$ === Is, sc = {
2178
2178
  forEach: (n, e) => n.map(Jr).forEach(e),
2179
- map: (n, e) => n.map(Jr).map(e).map(ec)
2179
+ map: (n, e) => n.map(Jr).map(e).map(rc)
2180
2180
  }, Jr = (n) => ({
2181
2181
  vattrs: n.$attrs$,
2182
2182
  vchildren: n.$children$,
@@ -2184,12 +2184,12 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2184
2184
  vname: n.$name$,
2185
2185
  vtag: n.$tag$,
2186
2186
  vtext: n.$text$
2187
- }), ec = (n) => {
2187
+ }), rc = (n) => {
2188
2188
  if (typeof n.vtag == "function") {
2189
2189
  const t = Object.assign({}, n.vattrs);
2190
2190
  return n.vkey && (t.key = n.vkey), n.vname && (t.name = n.vname), Je(n.vtag, t, ...n.vchildren || []);
2191
2191
  }
2192
- const e = rn(n.vtag, n.vtext);
2192
+ const e = on(n.vtag, n.vtext);
2193
2193
  return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
2194
2194
  }, ei = (n, e, t, s, r, i) => {
2195
2195
  if (t !== s) {
@@ -2223,15 +2223,15 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2223
2223
  a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(Kr, e) : n.removeAttribute(e)) : (!o || i & 4 || r) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(Kr, e, s) : n.setAttribute(e, s));
2224
2224
  }
2225
2225
  }
2226
- }, tc = /\s/, ti = (n) => n ? n.split(tc) : [], ho = (n, e, t, s) => {
2226
+ }, ic = /\s/, ti = (n) => n ? n.split(ic) : [], po = (n, e, t, s) => {
2227
2227
  const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = n && n.$attrs$ || Qr, o = e.$attrs$ || Qr;
2228
2228
  for (s in i)
2229
2229
  s in o || ei(r, s, i[s], void 0, t, e.$flags$);
2230
2230
  for (s in o)
2231
2231
  ei(r, s, i[s], o[s], t, e.$flags$);
2232
- }, on = (n, e, t, s) => {
2232
+ }, an = (n, e, t, s) => {
2233
2233
  let r = e.$children$[t], i = 0, o, a, l;
2234
- if (ao || (Os = !0, r.$tag$ === "slot" && (Xe && s.classList.add(Xe + "-s"), r.$flags$ |= r.$children$ ? (
2234
+ if (lo || (Os = !0, r.$tag$ === "slot" && (Xe && s.classList.add(Xe + "-s"), r.$flags$ |= r.$children$ ? (
2235
2235
  // slot element has fallback content
2236
2236
  2
2237
2237
  ) : (
@@ -2242,28 +2242,28 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2242
2242
  else if (r.$flags$ & 1)
2243
2243
  o = r.$elm$ = ae.createTextNode("");
2244
2244
  else {
2245
- if (X || (X = r.$tag$ === "svg"), o = r.$elm$ = ae.createElementNS(X ? Xl : Kl, r.$flags$ & 2 ? "slot-fb" : r.$tag$), X && r.$tag$ === "foreignObject" && (X = !1), ho(null, r, X), Vl(Xe) && o["s-si"] !== Xe && o.classList.add(o["s-si"] = Xe), r.$children$)
2245
+ if (X || (X = r.$tag$ === "svg"), o = r.$elm$ = ae.createElementNS(X ? Jl : ec, r.$flags$ & 2 ? "slot-fb" : r.$tag$), X && r.$tag$ === "foreignObject" && (X = !1), po(null, r, X), tc(Xe) && o["s-si"] !== Xe && o.classList.add(o["s-si"] = Xe), r.$children$)
2246
2246
  for (i = 0; i < r.$children$.length; ++i)
2247
- a = on(n, r, i, o), a && o.appendChild(a);
2247
+ a = an(n, r, i, o), a && o.appendChild(a);
2248
2248
  r.$tag$ === "svg" ? X = !1 : o.tagName === "foreignObject" && (X = !0);
2249
2249
  }
2250
- return o["s-hn"] = $n, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = oo, o["s-sn"] = r.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === r.$tag$ && n.$elm$ && St(n.$elm$, !1)), o;
2250
+ return o["s-hn"] = $n, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ao, o["s-sn"] = r.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === r.$tag$ && n.$elm$ && St(n.$elm$, !1)), o;
2251
2251
  }, St = (n, e) => {
2252
2252
  j.$flags$ |= 1;
2253
2253
  const t = n.childNodes;
2254
2254
  for (let s = t.length - 1; s >= 0; s--) {
2255
2255
  const r = t[s];
2256
- r["s-hn"] !== $n && r["s-ol"] && (go(r).insertBefore(r, Ms(r)), r["s-ol"].remove(), r["s-ol"] = void 0, Os = !0), e && St(r, e);
2256
+ r["s-hn"] !== $n && r["s-ol"] && (mo(r).insertBefore(r, Ms(r)), r["s-ol"].remove(), r["s-ol"] = void 0, Os = !0), e && St(r, e);
2257
2257
  }
2258
2258
  j.$flags$ &= -2;
2259
- }, po = (n, e, t, s, r, i) => {
2259
+ }, fo = (n, e, t, s, r, i) => {
2260
2260
  let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
2261
2261
  for (o.shadowRoot && o.tagName === $n && (o = o.shadowRoot); r <= i; ++r)
2262
- s[r] && (a = on(null, t, r, n), a && (s[r].$elm$ = a, o.insertBefore(a, Ms(e))));
2263
- }, fo = (n, e, t, s, r) => {
2262
+ s[r] && (a = an(null, t, r, n), a && (s[r].$elm$ = a, o.insertBefore(a, Ms(e))));
2263
+ }, go = (n, e, t, s, r) => {
2264
2264
  for (; e <= t; ++e)
2265
- (s = n[e]) && (r = s.$elm$, bo(s), sn = !0, r["s-ol"] ? r["s-ol"].remove() : St(r, !0), r.remove());
2266
- }, nc = (n, e, t, s) => {
2265
+ (s = n[e]) && (r = s.$elm$, yo(s), rn = !0, r["s-ol"] ? r["s-ol"].remove() : St(r, !0), r.remove());
2266
+ }, oc = (n, e, t, s) => {
2267
2267
  let r = 0, i = 0, o = 0, a = 0, l = e.length - 1, c = e[0], u = e[l], d = s.length - 1, p = s[0], g = s[d], m, y;
2268
2268
  for (; r <= l && i <= d; )
2269
2269
  if (c == null)
@@ -2274,13 +2274,13 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2274
2274
  p = s[++i];
2275
2275
  else if (g == null)
2276
2276
  g = s[--d];
2277
- else if (Gt(c, p))
2277
+ else if (qt(c, p))
2278
2278
  Ke(c, p), c = e[++r], p = s[++i];
2279
- else if (Gt(u, g))
2279
+ else if (qt(u, g))
2280
2280
  Ke(u, g), u = e[--l], g = s[--d];
2281
- else if (Gt(c, g))
2281
+ else if (qt(c, g))
2282
2282
  (c.$tag$ === "slot" || g.$tag$ === "slot") && St(c.$elm$.parentNode, !1), Ke(c, g), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = e[++r], g = s[--d];
2283
- else if (Gt(u, p))
2283
+ else if (qt(u, p))
2284
2284
  (c.$tag$ === "slot" || g.$tag$ === "slot") && St(u.$elm$.parentNode, !1), Ke(u, p), n.insertBefore(u.$elm$, c.$elm$), u = e[--l], p = s[++i];
2285
2285
  else {
2286
2286
  for (o = -1, a = r; a <= l; ++a)
@@ -2288,14 +2288,14 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2288
2288
  o = a;
2289
2289
  break;
2290
2290
  }
2291
- o >= 0 ? (y = e[o], y.$tag$ !== p.$tag$ ? m = on(e && e[i], t, o, n) : (Ke(y, p), e[o] = void 0, m = y.$elm$), p = s[++i]) : (m = on(e && e[i], t, i, n), p = s[++i]), m && go(c.$elm$).insertBefore(m, Ms(c.$elm$));
2291
+ o >= 0 ? (y = e[o], y.$tag$ !== p.$tag$ ? m = an(e && e[i], t, o, n) : (Ke(y, p), e[o] = void 0, m = y.$elm$), p = s[++i]) : (m = an(e && e[i], t, i, n), p = s[++i]), m && mo(c.$elm$).insertBefore(m, Ms(c.$elm$));
2292
2292
  }
2293
- r > l ? po(n, s[d + 1] == null ? null : s[d + 1].$elm$, t, s, i, d) : i > d && fo(e, r, l);
2294
- }, Gt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Ms = (n) => n && n["s-ol"] || n, go = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ke = (n, e) => {
2293
+ r > l ? fo(n, s[d + 1] == null ? null : s[d + 1].$elm$, t, s, i, d) : i > d && go(e, r, l);
2294
+ }, qt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Ms = (n) => n && n["s-ol"] || n, mo = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ke = (n, e) => {
2295
2295
  const t = e.$elm$ = n.$elm$, s = n.$children$, r = e.$children$, i = e.$tag$, o = e.$text$;
2296
2296
  let a;
2297
- o === null ? (X = i === "svg" ? !0 : i === "foreignObject" ? !1 : X, i === "slot" || ho(n, e, X), s !== null && r !== null ? nc(t, s, e, r) : r !== null ? (n.$text$ !== null && (t.textContent = ""), po(t, null, e, r, 0, r.length - 1)) : s !== null && fo(s, 0, s.length - 1), X && i === "svg" && (X = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2298
- }, mo = (n) => {
2297
+ o === null ? (X = i === "svg" ? !0 : i === "foreignObject" ? !1 : X, i === "slot" || po(n, e, X), s !== null && r !== null ? oc(t, s, e, r) : r !== null ? (n.$text$ !== null && (t.textContent = ""), fo(t, null, e, r, 0, r.length - 1)) : s !== null && go(s, 0, s.length - 1), X && i === "svg" && (X = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2298
+ }, vo = (n) => {
2299
2299
  let e = n.childNodes, t, s, r, i, o, a;
2300
2300
  for (s = 0, r = e.length; s < r; s++)
2301
2301
  if (t = e[s], t.nodeType === 1) {
@@ -2311,14 +2311,14 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2311
2311
  break;
2312
2312
  }
2313
2313
  }
2314
- mo(t);
2314
+ vo(t);
2315
2315
  }
2316
- }, ee = [], vo = (n) => {
2316
+ }, ee = [], bo = (n) => {
2317
2317
  let e, t, s, r, i, o, a = 0, l = n.childNodes, c = l.length;
2318
2318
  for (; a < c; a++) {
2319
2319
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2320
2320
  for (s = t.parentNode.childNodes, r = e["s-sn"], o = s.length - 1; o >= 0; o--)
2321
- t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (ni(t, r) ? (i = ee.find((u) => u.$nodeToRelocate$ === t), sn = !0, t["s-sn"] = t["s-sn"] || r, i ? i.$slotRefNode$ = e : ee.push({
2321
+ t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (ni(t, r) ? (i = ee.find((u) => u.$nodeToRelocate$ === t), rn = !0, t["s-sn"] = t["s-sn"] || r, i ? i.$slotRefNode$ = e : ee.push({
2322
2322
  $slotRefNode$: e,
2323
2323
  $nodeToRelocate$: t
2324
2324
  }), t["s-sr"] && ee.map((u) => {
@@ -2326,16 +2326,16 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2326
2326
  })) : ee.some((u) => u.$nodeToRelocate$ === t) || ee.push({
2327
2327
  $nodeToRelocate$: t
2328
2328
  }));
2329
- e.nodeType === 1 && vo(e);
2329
+ e.nodeType === 1 && bo(e);
2330
2330
  }
2331
- }, ni = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", bo = (n) => {
2332
- n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(bo);
2333
- }, sc = (n, e) => {
2334
- const t = n.$hostElement$, s = n.$cmpMeta$, r = n.$vnode$ || rn(null, null), i = Ql(e) ? e : Je(null, null, e);
2335
- $n = t.tagName, s.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => i.$attrs$[a] = t[o])), i.$tag$ = null, i.$flags$ |= 4, n.$vnode$ = i, i.$elm$ = r.$elm$ = t.shadowRoot || t, Xe = t["s-sc"], oo = t["s-cr"], ao = (s.$flags$ & 1) !== 0, sn = !1, Ke(r, i);
2331
+ }, ni = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", yo = (n) => {
2332
+ n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(yo);
2333
+ }, ac = (n, e) => {
2334
+ const t = n.$hostElement$, s = n.$cmpMeta$, r = n.$vnode$ || on(null, null), i = nc(e) ? e : Je(null, null, e);
2335
+ $n = t.tagName, s.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => i.$attrs$[a] = t[o])), i.$tag$ = null, i.$flags$ |= 4, n.$vnode$ = i, i.$elm$ = r.$elm$ = t.shadowRoot || t, Xe = t["s-sc"], ao = t["s-cr"], lo = (s.$flags$ & 1) !== 0, rn = !1, Ke(r, i);
2336
2336
  {
2337
2337
  if (j.$flags$ |= 1, Os) {
2338
- vo(i.$elm$);
2338
+ bo(i.$elm$);
2339
2339
  let o, a, l, c, u, d, p = 0;
2340
2340
  for (; p < ee.length; p++)
2341
2341
  o = ee[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = ae.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
@@ -2350,39 +2350,39 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2350
2350
  } else
2351
2351
  a.nodeType === 1 && (a.hidden = !0);
2352
2352
  }
2353
- sn && mo(i.$elm$), j.$flags$ &= -2, ee.length = 0;
2353
+ rn && vo(i.$elm$), j.$flags$ &= -2, ee.length = 0;
2354
2354
  }
2355
- }, rc = (n) => n, ic = (n, e, t) => {
2356
- const s = rc(n);
2355
+ }, lc = (n) => n, cc = (n, e, t) => {
2356
+ const s = lc(n);
2357
2357
  return {
2358
- emit: (r) => oc(s, e, {
2358
+ emit: (r) => uc(s, e, {
2359
2359
  bubbles: !0,
2360
2360
  composed: !0,
2361
2361
  cancelable: !0,
2362
2362
  detail: r
2363
2363
  })
2364
2364
  };
2365
- }, oc = (n, e, t) => {
2365
+ }, uc = (n, e, t) => {
2366
2366
  const s = j.ce(e, t);
2367
2367
  return n.dispatchEvent(s), s;
2368
- }, ac = (n, e) => {
2369
- }, yo = (n, e) => (n.$flags$ |= 16, ac(n, n.$ancestorComponent$), Sc(() => lc(n, e))), lc = (n, e) => {
2368
+ }, hc = (n, e) => {
2369
+ }, $o = (n, e) => (n.$flags$ |= 16, hc(n, n.$ancestorComponent$), Cc(() => pc(n, e))), pc = (n, e) => {
2370
2370
  const t = n.$hostElement$, s = De("scheduleUpdate", n.$cmpMeta$.$tagName$), r = t;
2371
2371
  let i;
2372
- return e ? i = et(r, "componentWillLoad") : i = et(r, "componentWillUpdate"), i = si(i, () => et(r, "componentWillRender")), s(), si(i, () => cc(n, r, e));
2373
- }, cc = async (n, e, t) => {
2372
+ return e ? i = et(r, "componentWillLoad") : i = et(r, "componentWillUpdate"), i = si(i, () => et(r, "componentWillRender")), s(), si(i, () => dc(n, r, e));
2373
+ }, dc = async (n, e, t) => {
2374
2374
  const s = n.$hostElement$, r = De("update", n.$cmpMeta$.$tagName$);
2375
- s["s-rc"], t && Zl(n);
2375
+ s["s-rc"], t && Vl(n);
2376
2376
  const i = De("render", n.$cmpMeta$.$tagName$);
2377
- uc(n, e, s), i(), r(), hc(n);
2378
- }, uc = (n, e, t) => {
2377
+ fc(n, e, s), i(), r(), gc(n);
2378
+ }, fc = (n, e, t) => {
2379
2379
  try {
2380
- Xr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Ye.hasRenderFn || Ye.reflect) && (Ye.vdomRender || Ye.reflect) && (Ye.hydrateServerSide || sc(n, e));
2380
+ Xr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Ye.hasRenderFn || Ye.reflect) && (Ye.vdomRender || Ye.reflect) && (Ye.hydrateServerSide || ac(n, e));
2381
2381
  } catch (a) {
2382
- Pt(a, n.$hostElement$);
2382
+ It(a, n.$hostElement$);
2383
2383
  }
2384
2384
  return Xr = null, null;
2385
- }, hc = (n) => {
2385
+ }, gc = (n) => {
2386
2386
  const e = n.$cmpMeta$.$tagName$, t = n.$hostElement$, s = De("postUpdate", e), r = t;
2387
2387
  n.$ancestorComponent$, et(r, "componentDidRender"), n.$flags$ & 64 ? (et(r, "componentDidUpdate"), s()) : (n.$flags$ |= 64, et(r, "componentDidLoad"), s());
2388
2388
  }, et = (n, e, t) => {
@@ -2390,11 +2390,11 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2390
2390
  try {
2391
2391
  return n[e](t);
2392
2392
  } catch (s) {
2393
- Pt(s);
2393
+ It(s);
2394
2394
  }
2395
- }, si = (n, e) => n && n.then ? n.then(e) : e(), pc = (n, e) => n != null && !Ps(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, dc = (n, e) => wn(n).$instanceValues$.get(e), fc = (n, e, t, s) => {
2395
+ }, si = (n, e) => n && n.then ? n.then(e) : e(), mc = (n, e) => n != null && !Ps(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, vc = (n, e) => wn(n).$instanceValues$.get(e), bc = (n, e, t, s) => {
2396
2396
  const r = wn(n), i = n, o = r.$instanceValues$.get(e), a = r.$flags$, l = i;
2397
- t = pc(t, s.$members$[e][0]);
2397
+ t = mc(t, s.$members$[e][0]);
2398
2398
  const c = Number.isNaN(o) && Number.isNaN(t);
2399
2399
  if (t !== o && !c) {
2400
2400
  r.$instanceValues$.set(e, t);
@@ -2405,28 +2405,28 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2405
2405
  try {
2406
2406
  l[p](t, o, e);
2407
2407
  } catch (g) {
2408
- Pt(g, i);
2408
+ It(g, i);
2409
2409
  }
2410
2410
  });
2411
2411
  }
2412
2412
  if ((a & 18) === 2) {
2413
2413
  if (l.componentShouldUpdate && l.componentShouldUpdate(t, o, e) === !1)
2414
2414
  return;
2415
- yo(r, !1);
2415
+ $o(r, !1);
2416
2416
  }
2417
2417
  }
2418
2418
  }
2419
- }, gc = (n, e, t) => {
2419
+ }, yc = (n, e, t) => {
2420
2420
  if (e.$members$) {
2421
2421
  n.watchers && (e.$watchers$ = n.watchers);
2422
2422
  const s = Object.entries(e.$members$), r = n.prototype;
2423
2423
  s.map(([i, [o]]) => {
2424
2424
  (o & 31 || o & 32) && Object.defineProperty(r, i, {
2425
2425
  get() {
2426
- return dc(this, i);
2426
+ return vc(this, i);
2427
2427
  },
2428
2428
  set(a) {
2429
- fc(this, i, a, e);
2429
+ bc(this, i, a, e);
2430
2430
  },
2431
2431
  configurable: !0,
2432
2432
  enumerable: !0
@@ -2453,37 +2453,37 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2453
2453
  }
2454
2454
  }
2455
2455
  return n;
2456
- }, mc = async (n, e, t, s, r) => {
2456
+ }, $c = async (n, e, t, s, r) => {
2457
2457
  if ((e.$flags$ & 32) === 0 && (r = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), r.style)) {
2458
2458
  let o = r.style;
2459
- typeof o != "string" && (o = o[e.$modeName$ = Yl(n)]);
2460
- const a = uo(t, e.$modeName$);
2461
- if (!an.has(a)) {
2459
+ typeof o != "string" && (o = o[e.$modeName$ = Ql(n)]);
2460
+ const a = ho(t, e.$modeName$);
2461
+ if (!ln.has(a)) {
2462
2462
  const l = De("registerStyles", t.$tagName$);
2463
- Wl(a, o, !!(t.$flags$ & 1)), l();
2463
+ Xl(a, o, !!(t.$flags$ & 1)), l();
2464
2464
  }
2465
2465
  }
2466
- e.$ancestorComponent$, yo(e, !0);
2467
- }, vc = (n) => {
2468
- }, bc = (n) => {
2466
+ e.$ancestorComponent$, $o(e, !0);
2467
+ }, xc = (n) => {
2468
+ }, wc = (n) => {
2469
2469
  if ((j.$flags$ & 1) === 0) {
2470
2470
  const e = wn(n), t = e.$cmpMeta$, s = De("connectedCallback", t.$tagName$);
2471
- e.$flags$ & 1 ? (co(n, e, t.$listeners$), vc(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && yc(n), t.$members$ && Object.entries(t.$members$).map(([r, [i]]) => {
2471
+ e.$flags$ & 1 ? (uo(n, e, t.$listeners$), xc(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && kc(n), t.$members$ && Object.entries(t.$members$).map(([r, [i]]) => {
2472
2472
  if (i & 31 && n.hasOwnProperty(r)) {
2473
2473
  const o = n[r];
2474
2474
  delete n[r], n[r] = o;
2475
2475
  }
2476
- }), mc(n, e, t)), s();
2476
+ }), $c(n, e, t)), s();
2477
2477
  }
2478
- }, yc = (n) => {
2478
+ }, kc = (n) => {
2479
2479
  const e = n["s-cr"] = ae.createComment("");
2480
2480
  e["s-cn"] = !0, n.insertBefore(e, n.firstChild);
2481
- }, $c = (n) => {
2481
+ }, _c = (n) => {
2482
2482
  if ((j.$flags$ & 1) === 0) {
2483
2483
  const e = wn(n);
2484
2484
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2485
2485
  }
2486
- }, $o = (n, e) => {
2486
+ }, xo = (n, e) => {
2487
2487
  const t = {
2488
2488
  $flags$: e[0],
2489
2489
  $tagName$: e[1]
@@ -2492,13 +2492,13 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2492
2492
  const s = n.prototype.connectedCallback, r = n.prototype.disconnectedCallback;
2493
2493
  return Object.assign(n.prototype, {
2494
2494
  __registerHost() {
2495
- xc(this, t);
2495
+ Sc(this, t);
2496
2496
  },
2497
2497
  connectedCallback() {
2498
- bc(this), s && s.call(this);
2498
+ wc(this), s && s.call(this);
2499
2499
  },
2500
2500
  disconnectedCallback() {
2501
- $c(this), r && r.call(this);
2501
+ _c(this), r && r.call(this);
2502
2502
  },
2503
2503
  __attachShadow() {
2504
2504
  this.attachShadow({
@@ -2506,28 +2506,28 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2506
2506
  delegatesFocus: !!(t.$flags$ & 16)
2507
2507
  });
2508
2508
  }
2509
- }), n.is = t.$tagName$, gc(n, t);
2510
- }, xo = /* @__PURE__ */ new WeakMap(), wn = (n) => xo.get(n), xc = (n, e) => {
2509
+ }), n.is = t.$tagName$, yc(n, t);
2510
+ }, wo = /* @__PURE__ */ new WeakMap(), wn = (n) => wo.get(n), Sc = (n, e) => {
2511
2511
  const t = {
2512
2512
  $flags$: 0,
2513
2513
  $hostElement$: n,
2514
2514
  $cmpMeta$: e,
2515
2515
  $instanceValues$: /* @__PURE__ */ new Map()
2516
2516
  };
2517
- return co(n, t, e.$listeners$), xo.set(n, t);
2518
- }, ri = (n, e) => e in n, Pt = (n, e) => (0, console.error)(n, e), an = /* @__PURE__ */ new Map(), wc = [], ii = [], wo = [], kc = (n, e) => (t) => {
2519
- n.push(t), us || (us = !0, e && j.$flags$ & 4 ? _c(hs) : j.raf(hs));
2517
+ return uo(n, t, e.$listeners$), wo.set(n, t);
2518
+ }, ri = (n, e) => e in n, It = (n, e) => (0, console.error)(n, e), ln = /* @__PURE__ */ new Map(), Ac = [], ii = [], ko = [], Ec = (n, e) => (t) => {
2519
+ n.push(t), us || (us = !0, e && j.$flags$ & 4 ? Tc(hs) : j.raf(hs));
2520
2520
  }, oi = (n) => {
2521
2521
  for (let e = 0; e < n.length; e++)
2522
2522
  try {
2523
2523
  n[e](performance.now());
2524
2524
  } catch (t) {
2525
- Pt(t);
2525
+ It(t);
2526
2526
  }
2527
2527
  n.length = 0;
2528
2528
  }, hs = () => {
2529
- oi(ii), oi(wo), (us = ii.length > 0) && j.raf(hs);
2530
- }, _c = (n) => Hl().then(n), Sc = /* @__PURE__ */ kc(wo, !0), Ac = (n = {}) => {
2529
+ oi(ii), oi(ko), (us = ii.length > 0) && j.raf(hs);
2530
+ }, Tc = (n) => Gl().then(n), Cc = /* @__PURE__ */ Ec(ko, !0), Lc = (n = {}) => {
2531
2531
  const { content: e = "", title: t, attributes: s = [] } = n;
2532
2532
  let r = "", i = [
2533
2533
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2535,54 +2535,54 @@ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} },
2535
2535
  ...s
2536
2536
  ];
2537
2537
  return t && (r = `<title>${t}</title>`), `<svg ${i.map((a) => `${a.name}="${a.value}"`).join(" ")}>${r}${e}</svg>`;
2538
- }, Ec = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2539
- function Tc(n) {
2538
+ }, Rc = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2539
+ function Oc(n) {
2540
2540
  return `${n.getFullYear()}.${n.getMonth() + 1}`;
2541
2541
  }
2542
- class Cc {
2542
+ class Pc {
2543
2543
  constructor(e) {
2544
- this.voca_component = e, this.voca_added = Tc(/* @__PURE__ */ new Date());
2544
+ this.voca_component = e, this.voca_added = Oc(/* @__PURE__ */ new Date());
2545
2545
  }
2546
2546
  }
2547
- const Lc = "telia-vst{display:none}", Rc = /* @__PURE__ */ $o(class extends lo {
2547
+ const Ic = "telia-vst{display:none}", Mc = /* @__PURE__ */ xo(class extends co {
2548
2548
  constructor() {
2549
- super(), this.__registerHost(), this.vocaInternalUStats = ic(this, "vocaInternalUStats");
2549
+ super(), this.__registerHost(), this.vocaInternalUStats = cc(this, "vocaInternalUStats");
2550
2550
  }
2551
2551
  connectedCallback() {
2552
- this.vocaInternalUStats.emit(new Cc(this.dataTrackingId));
2552
+ this.vocaInternalUStats.emit(new Pc(this.dataTrackingId));
2553
2553
  }
2554
2554
  render() {
2555
2555
  return Je(Is, null);
2556
2556
  }
2557
2557
  static get style() {
2558
- return Lc;
2558
+ return Ic;
2559
2559
  }
2560
2560
  }, [0, "telia-vst", {
2561
2561
  dataTrackingId: [1, "data-tracking-id"]
2562
2562
  }]);
2563
- function ko() {
2563
+ function _o() {
2564
2564
  if (typeof customElements > "u")
2565
2565
  return;
2566
2566
  ["telia-vst"].forEach((e) => {
2567
2567
  switch (e) {
2568
2568
  case "telia-vst":
2569
- customElements.get(e) || customElements.define(e, Rc);
2569
+ customElements.get(e) || customElements.define(e, Mc);
2570
2570
  break;
2571
2571
  }
2572
2572
  });
2573
2573
  }
2574
- ko();
2574
+ _o();
2575
2575
  function ps() {
2576
2576
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2577
2577
  }
2578
- function Oc() {
2578
+ function Nc() {
2579
2579
  if (typeof ps().vocadsIcons !== void 0)
2580
2580
  return ps().vocadsIcons;
2581
2581
  }
2582
- function Pc() {
2582
+ function Dc() {
2583
2583
  return ps().vocadsIconsRegistered;
2584
2584
  }
2585
- const Ic = ".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))}", Mc = /* @__PURE__ */ $o(class extends lo {
2585
+ const Uc = ".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__ */ xo(class extends co {
2586
2586
  constructor() {
2587
2587
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2588
2588
  }
@@ -2594,8 +2594,8 @@ const Ic = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2594
2594
  getSvgString() {
2595
2595
  if (this.svg)
2596
2596
  return this.svg;
2597
- if (Pc() && this.name) {
2598
- const n = Oc();
2597
+ if (Dc() && this.name) {
2598
+ const n = Nc();
2599
2599
  return n[this.name] ? n[this.name].svg : "";
2600
2600
  }
2601
2601
  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"), "";
@@ -2606,15 +2606,15 @@ const Ic = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2606
2606
  ...e,
2607
2607
  { name: "aria-hidden", value: "true" }
2608
2608
  ];
2609
- const t = Ac({
2610
- content: Ec(n),
2609
+ const t = Lc({
2610
+ content: Rc(n),
2611
2611
  attributes: e,
2612
2612
  title: this.allyTitle
2613
2613
  });
2614
2614
  return Je(Is, { class: `telia-icon telia-icon--${this.size}` }, Je("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), Je("telia-vst", { dataTrackingId: this.dataTrackingId }));
2615
2615
  }
2616
2616
  static get style() {
2617
- return Ic;
2617
+ return Uc;
2618
2618
  }
2619
2619
  }, [0, "telia-icon", {
2620
2620
  name: [1],
@@ -2623,27 +2623,27 @@ const Ic = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2623
2623
  allyTitle: [1, "ally-title"],
2624
2624
  dataTestid: [1, "data-testid"]
2625
2625
  }]);
2626
- function Nc() {
2626
+ function Hc() {
2627
2627
  if (typeof customElements > "u")
2628
2628
  return;
2629
2629
  ["telia-icon", "telia-vst"].forEach((e) => {
2630
2630
  switch (e) {
2631
2631
  case "telia-icon":
2632
- customElements.get(e) || customElements.define(e, Mc);
2632
+ customElements.get(e) || customElements.define(e, zc);
2633
2633
  break;
2634
2634
  case "telia-vst":
2635
- customElements.get(e) || ko();
2635
+ customElements.get(e) || _o();
2636
2636
  break;
2637
2637
  }
2638
2638
  });
2639
2639
  }
2640
- Nc();
2640
+ Hc();
2641
2641
  /**
2642
2642
  * @license
2643
2643
  * Copyright 2017 Google LLC
2644
2644
  * SPDX-License-Identifier: BSD-3-Clause
2645
2645
  */
2646
- const Dc = { attribute: !0, type: String, converter: tn, reflect: !1, hasChanged: Ls }, Uc = (n = Dc, e, t) => {
2646
+ const Bc = { attribute: !0, type: String, converter: nn, reflect: !1, hasChanged: Ls }, Fc = (n = Bc, e, t) => {
2647
2647
  const { kind: s, metadata: r } = t;
2648
2648
  let i = globalThis.litPropertyMetadata.get(r);
2649
2649
  if (i === void 0 && globalThis.litPropertyMetadata.set(r, i = /* @__PURE__ */ new Map()), s === "setter" && ((n = Object.create(n)).wrapped = !0), i.set(t.name, n), s === "accessor") {
@@ -2665,7 +2665,7 @@ const Dc = { attribute: !0, type: String, converter: tn, reflect: !1, hasChanged
2665
2665
  throw Error("Unsupported decorator location: " + s);
2666
2666
  };
2667
2667
  function C(n) {
2668
- return (e, t) => typeof t == "object" ? Uc(n, e, t) : ((s, r, i) => {
2668
+ return (e, t) => typeof t == "object" ? Fc(n, e, t) : ((s, r, i) => {
2669
2669
  const o = r.hasOwnProperty(i);
2670
2670
  return r.constructor.createProperty(i, s), o ? Object.getOwnPropertyDescriptor(r, i) : void 0;
2671
2671
  })(n, e, t);
@@ -2683,7 +2683,7 @@ function z(n) {
2683
2683
  * Copyright 2020 Google LLC
2684
2684
  * SPDX-License-Identifier: BSD-3-Clause
2685
2685
  */
2686
- const zc = (n) => n.strings === void 0;
2686
+ const jc = (n) => n.strings === void 0;
2687
2687
  /**
2688
2688
  * @license
2689
2689
  * Copyright 2017 Google LLC
@@ -2717,45 +2717,45 @@ const xt = (n, e) => {
2717
2717
  if (t === void 0) return !1;
2718
2718
  for (const r of t) (s = r._$AO) == null || s.call(r, e, !1), xt(r, e);
2719
2719
  return !0;
2720
- }, ln = (n) => {
2720
+ }, cn = (n) => {
2721
2721
  let e, t;
2722
2722
  do {
2723
2723
  if ((e = n._$AM) === void 0) break;
2724
2724
  t = e._$AN, t.delete(n), n = e;
2725
2725
  } while ((t == null ? void 0 : t.size) === 0);
2726
- }, _o = (n) => {
2726
+ }, So = (n) => {
2727
2727
  for (let e; e = n._$AM; n = e) {
2728
2728
  let t = e._$AN;
2729
2729
  if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
2730
2730
  else if (t.has(n)) break;
2731
- t.add(n), Fc(e);
2731
+ t.add(n), Wc(e);
2732
2732
  }
2733
2733
  };
2734
- function Hc(n) {
2735
- this._$AN !== void 0 ? (ln(this), this._$AM = n, _o(this)) : this._$AM = n;
2734
+ function Gc(n) {
2735
+ this._$AN !== void 0 ? (cn(this), this._$AM = n, So(this)) : this._$AM = n;
2736
2736
  }
2737
- function Bc(n, e = !1, t = 0) {
2737
+ function qc(n, e = !1, t = 0) {
2738
2738
  const s = this._$AH, r = this._$AN;
2739
- if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(s)) for (let i = t; i < s.length; i++) xt(s[i], !1), ln(s[i]);
2740
- else s != null && (xt(s, !1), ln(s));
2739
+ if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(s)) for (let i = t; i < s.length; i++) xt(s[i], !1), cn(s[i]);
2740
+ else s != null && (xt(s, !1), cn(s));
2741
2741
  else xt(this, n);
2742
2742
  }
2743
- const Fc = (n) => {
2744
- n.type == kn.CHILD && (n._$AP ?? (n._$AP = Bc), n._$AQ ?? (n._$AQ = Hc));
2743
+ const Wc = (n) => {
2744
+ n.type == kn.CHILD && (n._$AP ?? (n._$AP = qc), n._$AQ ?? (n._$AQ = Gc));
2745
2745
  };
2746
- let So = class extends Ns {
2746
+ let Ao = class extends Ns {
2747
2747
  constructor() {
2748
2748
  super(...arguments), this._$AN = void 0;
2749
2749
  }
2750
2750
  _$AT(e, t, s) {
2751
- super._$AT(e, t, s), _o(this), this.isConnected = e._$AU;
2751
+ super._$AT(e, t, s), So(this), this.isConnected = e._$AU;
2752
2752
  }
2753
2753
  _$AO(e, t = !0) {
2754
2754
  var s, r;
2755
- e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), t && (xt(this, e), ln(this));
2755
+ e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), t && (xt(this, e), cn(this));
2756
2756
  }
2757
2757
  setValue(e) {
2758
- if (zc(this._$Ct)) this._$Ct._$AI(e, this);
2758
+ if (jc(this._$Ct)) this._$Ct._$AI(e, this);
2759
2759
  else {
2760
2760
  const t = [...this._$Ct._$AH];
2761
2761
  t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
@@ -2771,10 +2771,10 @@ let So = class extends Ns {
2771
2771
  * Copyright 2020 Google LLC
2772
2772
  * SPDX-License-Identifier: BSD-3-Clause
2773
2773
  */
2774
- const ie = () => new jc();
2775
- class jc {
2774
+ const ie = () => new Zc();
2775
+ class Zc {
2776
2776
  }
2777
- const qn = /* @__PURE__ */ new WeakMap(), oe = _n(class extends So {
2777
+ const Wn = /* @__PURE__ */ new WeakMap(), oe = _n(class extends Ao {
2778
2778
  render(n) {
2779
2779
  return x;
2780
2780
  }
@@ -2786,13 +2786,13 @@ const qn = /* @__PURE__ */ new WeakMap(), oe = _n(class extends So {
2786
2786
  rt(n) {
2787
2787
  if (this.isConnected || (n = void 0), typeof this.G == "function") {
2788
2788
  const e = this.ht ?? globalThis;
2789
- let t = qn.get(e);
2790
- t === void 0 && (t = /* @__PURE__ */ new WeakMap(), qn.set(e, t)), t.get(this.G) !== void 0 && this.G.call(this.ht, void 0), t.set(this.G, n), n !== void 0 && this.G.call(this.ht, n);
2789
+ let t = Wn.get(e);
2790
+ t === void 0 && (t = /* @__PURE__ */ new WeakMap(), Wn.set(e, t)), t.get(this.G) !== void 0 && this.G.call(this.ht, void 0), t.set(this.G, n), n !== void 0 && this.G.call(this.ht, n);
2791
2791
  } else this.G.value = n;
2792
2792
  }
2793
2793
  get lt() {
2794
2794
  var n, e;
2795
- return typeof this.G == "function" ? (n = qn.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.G) : (e = this.G) == null ? void 0 : e.value;
2795
+ return typeof this.G == "function" ? (n = Wn.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.G) : (e = this.G) == null ? void 0 : e.value;
2796
2796
  }
2797
2797
  disconnected() {
2798
2798
  this.lt === this.ct && this.rt(void 0);
@@ -2830,10 +2830,10 @@ const rt = _n(class extends Ns {
2830
2830
  return _e;
2831
2831
  }
2832
2832
  });
2833
- var Gc = Object.defineProperty, Wc = (n, e, t, s) => {
2833
+ var Yc = Object.defineProperty, Xc = (n, e, t, s) => {
2834
2834
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
2835
2835
  (o = n[i]) && (r = o(e, t, r) || r);
2836
- return r && Gc(e, t, r), r;
2836
+ return r && Yc(e, t, r), r;
2837
2837
  };
2838
2838
  const Ys = class Ys extends M {
2839
2839
  constructor() {
@@ -2866,13 +2866,13 @@ Ys.styles = [
2866
2866
  }
2867
2867
  `
2868
2868
  ];
2869
- let cn = Ys;
2870
- Wc([
2869
+ let un = Ys;
2870
+ Xc([
2871
2871
  C({ attribute: !0 })
2872
- ], cn.prototype, "anchor");
2873
- const qc = /* @__PURE__ */ new WeakMap();
2872
+ ], un.prototype, "anchor");
2873
+ const Kc = /* @__PURE__ */ new WeakMap();
2874
2874
  let ai = 0;
2875
- const Zn = /* @__PURE__ */ new Map(), li = /* @__PURE__ */ new WeakSet(), ci = () => new Promise(((n) => requestAnimationFrame(n))), Zc = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Yc = [{ opacity: 0 }], ui = [{ opacity: 0 }, { opacity: 1 }], hi = (n, e) => {
2875
+ const Zn = /* @__PURE__ */ new Map(), li = /* @__PURE__ */ new WeakSet(), ci = () => new Promise(((n) => requestAnimationFrame(n))), Vc = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Qc = [{ opacity: 0 }], ui = [{ opacity: 0 }, { opacity: 1 }], hi = (n, e) => {
2876
2876
  const t = n - e;
2877
2877
  return t === 0 ? void 0 : t;
2878
2878
  }, pi = (n, e) => {
@@ -2894,8 +2894,8 @@ const Zn = /* @__PURE__ */ new Map(), li = /* @__PURE__ */ new WeakSet(), ci = (
2894
2894
  e === 0 && (e = 1, t = { height: "1px" });
2895
2895
  const s = pi(n, e);
2896
2896
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
2897
- } }, Xc = { duration: 333, easing: "ease-in-out" }, Kc = ["left", "top", "width", "height", "opacity", "color", "background"], di = /* @__PURE__ */ new WeakMap();
2898
- class Vc extends So {
2897
+ } }, Jc = { duration: 333, easing: "ease-in-out" }, eu = ["left", "top", "width", "height", "opacity", "color", "background"], di = /* @__PURE__ */ new WeakMap();
2898
+ class tu extends Ao {
2899
2899
  constructor(e) {
2900
2900
  if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === kn.CHILD) throw Error("The `animate` directive must be used in attribute position.");
2901
2901
  this.createFinished();
@@ -2914,7 +2914,7 @@ class Vc extends So {
2914
2914
  return x;
2915
2915
  }
2916
2916
  getController() {
2917
- return qc.get(this.u);
2917
+ return Kc.get(this.u);
2918
2918
  }
2919
2919
  isDisabled() {
2920
2920
  var e;
@@ -2928,7 +2928,7 @@ class Vc extends So {
2928
2928
  p(e) {
2929
2929
  e = e ?? {};
2930
2930
  const t = this.getController();
2931
- t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = Kc), this.options = e;
2931
+ t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = eu), this.options = e;
2932
2932
  }
2933
2933
  m() {
2934
2934
  const e = {}, t = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
@@ -3017,7 +3017,7 @@ class Vc extends So {
3017
3017
  })), e;
3018
3018
  }
3019
3019
  j(e, t = this.O()) {
3020
- const s = { ...Xc };
3020
+ const s = { ...Jc };
3021
3021
  return t.forEach(((r) => Object.assign(s, r.options.keyframeOptions))), Object.assign(s, e), s;
3022
3022
  }
3023
3023
  N(e, t, s) {
@@ -3066,9 +3066,9 @@ class Vc extends So {
3066
3066
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3067
3067
  }
3068
3068
  }
3069
- const ds = _n(Vc), de = (n, e, t) => {
3069
+ const ds = _n(tu), de = (n, e, t) => {
3070
3070
  n && t.style.setProperty(e, n);
3071
- }, Ao = (n, e) => {
3071
+ }, Eo = (n, e) => {
3072
3072
  var t, s, r, i, o, a, l, c, u;
3073
3073
  de((t = n.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), de(
3074
3074
  (s = n.colors) == null ? void 0 : s.textOnPrimaryBackground,
@@ -3100,10 +3100,10 @@ const ds = _n(Vc), de = (n, e, t) => {
3100
3100
  e
3101
3101
  ), de((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", e);
3102
3102
  };
3103
- var Qc = Object.defineProperty, It = (n, e, t, s) => {
3103
+ var nu = Object.defineProperty, Mt = (n, e, t, s) => {
3104
3104
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3105
3105
  (o = n[i]) && (r = o(e, t, r) || r);
3106
- return r && Qc(e, t, r), r;
3106
+ return r && nu(e, t, r), r;
3107
3107
  };
3108
3108
  const Xs = class Xs extends M {
3109
3109
  constructor() {
@@ -3142,7 +3142,7 @@ const Xs = class Xs extends M {
3142
3142
  }
3143
3143
  _applyBranding() {
3144
3144
  var e;
3145
- (e = this.application) != null && e.settings && Ao(this.application.settings.branding, this);
3145
+ (e = this.application) != null && e.settings && Eo(this.application.settings.branding, this);
3146
3146
  }
3147
3147
  async _renderSymbol() {
3148
3148
  var a, l, c;
@@ -3152,7 +3152,7 @@ const Xs = class Xs extends M {
3152
3152
  const s = (c = this.application) == null ? void 0 : c.triggerIcon;
3153
3153
  if (!s)
3154
3154
  return x;
3155
- const r = async (u) => Dl, { type: i, content: o } = s;
3155
+ const r = async (u) => Bl, { type: i, content: o } = s;
3156
3156
  switch (i) {
3157
3157
  case "Telia": {
3158
3158
  const u = await r();
@@ -3196,7 +3196,7 @@ const Xs = class Xs extends M {
3196
3196
  @click=${this.toggleActive}
3197
3197
  ${ds({
3198
3198
  keyframeOptions: {},
3199
- in: Zc,
3199
+ in: Vc,
3200
3200
  stabilizeOut: !0,
3201
3201
  skipInitial: !1
3202
3202
  })}
@@ -3380,27 +3380,27 @@ Xs.styles = [
3380
3380
  `
3381
3381
  ];
3382
3382
  let ve = Xs;
3383
- It([
3383
+ Mt([
3384
3384
  C({ attribute: !1 })
3385
3385
  ], ve.prototype, "application");
3386
- It([
3386
+ Mt([
3387
3387
  z()
3388
3388
  ], ve.prototype, "active");
3389
- It([
3389
+ Mt([
3390
3390
  z()
3391
3391
  ], ve.prototype, "triggerVisible");
3392
- It([
3392
+ Mt([
3393
3393
  z()
3394
3394
  ], ve.prototype, "loaded");
3395
- It([
3395
+ Mt([
3396
3396
  z()
3397
3397
  ], ve.prototype, "icon");
3398
- var Jc = Object.defineProperty, Oe = (n, e, t, s) => {
3398
+ var su = Object.defineProperty, Oe = (n, e, t, s) => {
3399
3399
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3400
3400
  (o = n[i]) && (r = o(e, t, r) || r);
3401
- return r && Jc(e, t, r), r;
3401
+ return r && su(e, t, r), r;
3402
3402
  };
3403
- const Eo = (n) => {
3403
+ const To = (n) => {
3404
3404
  const t = class t extends n {
3405
3405
  constructor() {
3406
3406
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -3456,7 +3456,7 @@ const Eo = (n) => {
3456
3456
  ], e.prototype, "application"), Oe([
3457
3457
  C({ attribute: !1 })
3458
3458
  ], e.prototype, "parent"), e;
3459
- }, Ks = class Ks extends Eo(M) {
3459
+ }, Ks = class Ks extends To(M) {
3460
3460
  render() {
3461
3461
  return w`Non resolved component`;
3462
3462
  }
@@ -3474,7 +3474,7 @@ let fs = Ks;
3474
3474
  * Copyright 2021 Google LLC
3475
3475
  * SPDX-License-Identifier: BSD-3-Clause
3476
3476
  */
3477
- function* eu(n, e) {
3477
+ function* ru(n, e) {
3478
3478
  if (n !== void 0) {
3479
3479
  let t = 0;
3480
3480
  for (const s of n) yield e(s, t++);
@@ -3486,7 +3486,7 @@ var Ds = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n)
3486
3486
  * Copyright 2021 Google LLC
3487
3487
  * SPDX-License-Identifier: BSD-3-Clause
3488
3488
  */
3489
- let tu = class extends Event {
3489
+ let Co = class extends Event {
3490
3490
  constructor(e, t, s, r) {
3491
3491
  super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t, this.callback = s, this.subscribe = r ?? !1;
3492
3492
  }
@@ -3501,7 +3501,32 @@ let tu = class extends Event {
3501
3501
  * Copyright 2021 Google LLC
3502
3502
  * SPDX-License-Identifier: BSD-3-Clause
3503
3503
  */
3504
- class nu {
3504
+ let fi = class {
3505
+ constructor(e, t, s, r) {
3506
+ if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (i, o) => {
3507
+ this.unsubscribe && (this.unsubscribe !== o && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = i, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(i, o)), this.unsubscribe = o;
3508
+ }, this.host = e, t.context !== void 0) {
3509
+ const i = t;
3510
+ this.context = i.context, this.callback = i.callback, this.subscribe = i.subscribe ?? !1;
3511
+ } else this.context = t, this.callback = s, this.subscribe = r ?? !1;
3512
+ this.host.addController(this);
3513
+ }
3514
+ hostConnected() {
3515
+ this.dispatchRequest();
3516
+ }
3517
+ hostDisconnected() {
3518
+ this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
3519
+ }
3520
+ dispatchRequest() {
3521
+ this.host.dispatchEvent(new Co(this.context, this.host, this.t, this.subscribe));
3522
+ }
3523
+ };
3524
+ /**
3525
+ * @license
3526
+ * Copyright 2021 Google LLC
3527
+ * SPDX-License-Identifier: BSD-3-Clause
3528
+ */
3529
+ class iu {
3505
3530
  get value() {
3506
3531
  return this.o;
3507
3532
  }
@@ -3534,12 +3559,12 @@ class nu {
3534
3559
  * Copyright 2021 Google LLC
3535
3560
  * SPDX-License-Identifier: BSD-3-Clause
3536
3561
  */
3537
- let su = class extends Event {
3562
+ let ou = class extends Event {
3538
3563
  constructor(e, t) {
3539
3564
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t;
3540
3565
  }
3541
3566
  };
3542
- class fi extends nu {
3567
+ class gi extends iu {
3543
3568
  constructor(e, t, s) {
3544
3569
  var r, i;
3545
3570
  super(t.context !== void 0 ? t.initialValue : s), this.onContextRequest = (o) => {
@@ -3549,7 +3574,7 @@ class fi extends nu {
3549
3574
  }, this.onProviderRequest = (o) => {
3550
3575
  if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
3551
3576
  const a = /* @__PURE__ */ new Set();
3552
- for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new tu(this.context, c, l, !0)));
3577
+ for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new Co(this.context, c, l, !0)));
3553
3578
  o.stopPropagation();
3554
3579
  }, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (i = (r = this.host).addController) == null || i.call(r, this);
3555
3580
  }
@@ -3557,7 +3582,7 @@ class fi extends nu {
3557
3582
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
3558
3583
  }
3559
3584
  hostConnected() {
3560
- this.host.dispatchEvent(new su(this.context, this.host));
3585
+ this.host.dispatchEvent(new ou(this.context, this.host));
3561
3586
  }
3562
3587
  }
3563
3588
  /**
@@ -3565,7 +3590,7 @@ class fi extends nu {
3565
3590
  * Copyright 2017 Google LLC
3566
3591
  * SPDX-License-Identifier: BSD-3-Clause
3567
3592
  */
3568
- function ru({ context: n }) {
3593
+ function au({ context: n }) {
3569
3594
  return (e, t) => {
3570
3595
  const s = /* @__PURE__ */ new WeakMap();
3571
3596
  if (typeof t == "object") return { get() {
@@ -3573,11 +3598,11 @@ function ru({ context: n }) {
3573
3598
  }, set(r) {
3574
3599
  return s.get(this).setValue(r), e.set.call(this, r);
3575
3600
  }, init(r) {
3576
- return s.set(this, new fi(this, { context: n, initialValue: r })), r;
3601
+ return s.set(this, new gi(this, { context: n, initialValue: r })), r;
3577
3602
  } };
3578
3603
  {
3579
3604
  e.constructor.addInitializer(((o) => {
3580
- s.set(o, new fi(o, { context: n }));
3605
+ s.set(o, new gi(o, { context: n }));
3581
3606
  }));
3582
3607
  const r = Object.getOwnPropertyDescriptor(e, t);
3583
3608
  let i;
@@ -3598,12 +3623,30 @@ function ru({ context: n }) {
3598
3623
  }
3599
3624
  };
3600
3625
  }
3601
- var iu = Object.defineProperty, To = (n, e, t, s) => {
3626
+ /**
3627
+ * @license
3628
+ * Copyright 2022 Google LLC
3629
+ * SPDX-License-Identifier: BSD-3-Clause
3630
+ */
3631
+ function lu({ context: n, subscribe: e }) {
3632
+ return (t, s) => {
3633
+ typeof s == "object" ? s.addInitializer((function() {
3634
+ new fi(this, { context: n, callback: (r) => {
3635
+ t.set.call(this, r);
3636
+ }, subscribe: e });
3637
+ })) : t.constructor.addInitializer(((r) => {
3638
+ new fi(r, { context: n, callback: (i) => {
3639
+ r[s] = i;
3640
+ }, subscribe: e });
3641
+ }));
3642
+ };
3643
+ }
3644
+ var cu = Object.defineProperty, Lo = (n, e, t, s) => {
3602
3645
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3603
3646
  (o = n[i]) && (r = o(e, t, r) || r);
3604
- return r && iu(e, t, r), r;
3647
+ return r && cu(e, t, r), r;
3605
3648
  };
3606
- const ou = "application", Vs = class Vs extends M {
3649
+ const Ro = "application", Vs = class Vs extends M {
3607
3650
  constructor() {
3608
3651
  super(...arguments), this.nodes = [], this.wrapperRef = ie(), this.fullscreen = !1, this.isReady = new te(!1);
3609
3652
  }
@@ -3614,7 +3657,7 @@ const ou = "application", Vs = class Vs extends M {
3614
3657
  if (!this.wrapperRef.value)
3615
3658
  return;
3616
3659
  const e = this.application.settings;
3617
- e != null && e.branding && Ao(e.branding, this.wrapperRef.value);
3660
+ e != null && e.branding && Eo(e.branding, this.wrapperRef.value);
3618
3661
  }
3619
3662
  applyStyles() {
3620
3663
  if (!this.wrapperRef.value)
@@ -3631,7 +3674,7 @@ const ou = "application", Vs = class Vs extends M {
3631
3674
  var s, r;
3632
3675
  const e = this.application.settings.components.conversation;
3633
3676
  return ((r = (s = e == null ? void 0 : e.properties) == null ? void 0 : s.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === Ds.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)}>
3634
- ${eu(this.nodes, (i) => i)}
3677
+ ${ru(this.nodes, (i) => i)}
3635
3678
  </div>`;
3636
3679
  }
3637
3680
  };
@@ -3802,17 +3845,17 @@ Vs.styles = Y`
3802
3845
  }
3803
3846
  `;
3804
3847
  let At = Vs;
3805
- To([
3848
+ Lo([
3806
3849
  C({ attribute: !0 })
3807
3850
  ], At.prototype, "fullscreen");
3808
- To([
3851
+ Lo([
3809
3852
  C({ attribute: !1 }),
3810
- ru({ context: ou })
3853
+ au({ context: Ro })
3811
3854
  ], At.prototype, "application");
3812
- var au = Object.defineProperty, Us = (n, e, t, s) => {
3855
+ var uu = Object.defineProperty, Us = (n, e, t, s) => {
3813
3856
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3814
3857
  (o = n[i]) && (r = o(e, t, r) || r);
3815
- return r && au(e, t, r), r;
3858
+ return r && uu(e, t, r), r;
3816
3859
  };
3817
3860
  const Qs = class Qs extends M {
3818
3861
  constructor() {
@@ -3863,12 +3906,12 @@ Us([
3863
3906
  Us([
3864
3907
  z()
3865
3908
  ], it.prototype, "status");
3866
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", cn);
3909
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", un);
3867
3910
  customElements.get("ace-trigger") || customElements.define("ace-trigger", ve);
3868
3911
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fs);
3869
3912
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", At);
3870
3913
  customElements.get("ace-widget") || customElements.define("ace-widget", it);
3871
- class lu {
3914
+ class hu {
3872
3915
  constructor(e) {
3873
3916
  this._message = null, this._host = e, e.addController(this);
3874
3917
  }
@@ -3884,10 +3927,10 @@ class lu {
3884
3927
  return !!this.message;
3885
3928
  }
3886
3929
  }
3887
- class gi {
3930
+ class mi {
3888
3931
  constructor(e, t, s, r, i) {
3889
3932
  this.id = e, this.providerKey = t, this.providerOptions = s, this.component = i, this.provider$ = new te(null), this.entries$ = new te([]), this.removeEntryAction$ = new U(), this.kill$ = new U(), this.isTyping$ = new te(!1), this.data$ = new te({}), this.complete$ = this.provider$.pipe(
3890
- Qe((l) => l ? l.onComplete() : Rt)
3933
+ Qe((l) => l ? l.onComplete() : Ot)
3891
3934
  );
3892
3935
  const o = this._getProviderFactory(t);
3893
3936
  if (!o)
@@ -3940,9 +3983,9 @@ class gi {
3940
3983
  return this.component.platform.registeredProviders.get(e);
3941
3984
  }
3942
3985
  }
3943
- class cu {
3986
+ class pu {
3944
3987
  constructor(e) {
3945
- this.component = e, this.currentSession$ = new te(null), this.sessions = [], this.storage = null, en(e, "handover").subscribe((t) => {
3988
+ this.component = e, this.currentSession$ = new te(null), this.sessions = [], this.storage = null, tn(e, "handover").subscribe((t) => {
3946
3989
  const s = this._createNewSession(
3947
3990
  t.detail.providerKey,
3948
3991
  t.detail.providerOptions
@@ -3985,7 +4028,7 @@ class cu {
3985
4028
  );
3986
4029
  return e ? {
3987
4030
  sessions: e.sessions.map(
3988
- (t) => new gi(
4031
+ (t) => new mi(
3989
4032
  t.id,
3990
4033
  t.providerKey,
3991
4034
  t.providerOptions,
@@ -4022,8 +4065,8 @@ class cu {
4022
4065
  this.storage.set("conversation", t);
4023
4066
  }
4024
4067
  _createNewSession(e, t = {}) {
4025
- const s = this._getStoredSessions(), r = new gi(
4026
- Qi(),
4068
+ const s = this._getStoredSessions(), r = new mi(
4069
+ Ji(),
4027
4070
  e,
4028
4071
  t,
4029
4072
  {},
@@ -4038,9 +4081,9 @@ class cu {
4038
4081
  return this.component.properties.providers[0];
4039
4082
  }
4040
4083
  }
4041
- class uu {
4084
+ class du {
4042
4085
  constructor(e, t) {
4043
- this.state$ = e, this.component = t, this.entries$ = new te([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new cu(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4086
+ this.state$ = e, this.component = t, this.entries$ = new te([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new pu(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4044
4087
  Qe((s) => s ? s.provider$.pipe(
4045
4088
  Qe((r) => r ? r.isTyping() : rs(!1))
4046
4089
  ) : rs(!1))
@@ -4069,16 +4112,16 @@ class uu {
4069
4112
  this.session$.pipe(
4070
4113
  Qe((e) => {
4071
4114
  if (!e)
4072
- return Rt;
4115
+ return Ot;
4073
4116
  const t = e.removeEntryAction$.pipe(as(this.entries$)).pipe(
4074
- Jt(([r, i]) => i.filter((o) => o.id !== r.id))
4117
+ en(([r, i]) => i.filter((o) => o.id !== r.id))
4075
4118
  ), s = e.entries().pipe(
4076
- Jt((r) => {
4119
+ en((r) => {
4077
4120
  const i = this.entries$.value, o = r.filter((a) => i.findIndex((l) => l.id === a.id) === -1);
4078
4121
  return [...i, ...o];
4079
4122
  })
4080
4123
  );
4081
- return ol(t, s);
4124
+ return ul(t, s);
4082
4125
  })
4083
4126
  ).subscribe((e) => {
4084
4127
  this.entries$.next(e);
@@ -4089,10 +4132,10 @@ class uu {
4089
4132
  (e = this.sessionService) == null || e.startSession();
4090
4133
  }
4091
4134
  }
4092
- var hu = Object.defineProperty, pu = (n, e, t, s) => {
4135
+ var fu = Object.defineProperty, Oo = (n, e, t, s) => {
4093
4136
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
4094
4137
  (o = n[i]) && (r = o(e, t, r) || r);
4095
- return r && hu(e, t, r), r;
4138
+ return r && fu(e, t, r), r;
4096
4139
  };
4097
4140
  const Js = class Js extends M {
4098
4141
  connectedCallback() {
@@ -4112,17 +4155,27 @@ const Js = class Js extends M {
4112
4155
  if (!e && !t)
4113
4156
  return x;
4114
4157
  let s = "";
4115
- return e ? t ? s = `${e}: ${this._getTimestamp(t)}` : s = e : t && (s = this._getTimestamp(t)), w`<p class="conversation-timestamp">${s}</p>`;
4158
+ e ? t ? s = `${e}: ${this._getTimestamp(t)}` : s = e : t && (s = this._getTimestamp(t));
4159
+ const r = this.application.texts.getOrFallback(
4160
+ "conversation.sr-only.message-from-label",
4161
+ "Message from"
4162
+ );
4163
+ return w`
4164
+ <p class="conversation-timestamp">
4165
+ <span class="sr-only">${r}</span>
4166
+ ${s}
4167
+ </p>
4168
+ `;
4116
4169
  }
4117
4170
  _renderDeliveryStatus(e) {
4118
4171
  return e === "delivered" ? w`<telia-icon
4119
- svg=${Pl.svg}
4172
+ svg=${Dl.svg}
4120
4173
  size="sm"
4121
4174
  ></telia-icon>` : e === "failed" ? w`<telia-icon
4122
- svg=${Ol.svg}
4175
+ svg=${Nl.svg}
4123
4176
  size="sm"
4124
4177
  title="Message could not be delivered"
4125
- ></telia-icon>` : w`<telia-icon svg=${Il.svg} size="sm"></telia-icon>`;
4178
+ ></telia-icon>` : w`<telia-icon svg=${Ul.svg} size="sm"></telia-icon>`;
4126
4179
  }
4127
4180
  _dispatchEntryAction(e) {
4128
4181
  this.entry.actions$.next(e.detail);
@@ -4329,16 +4382,32 @@ Js.styles = [
4329
4382
  .entry-content {
4330
4383
  grid-area: content;
4331
4384
  }
4385
+
4386
+ .sr-only {
4387
+ position: absolute;
4388
+ width: 1px;
4389
+ height: 1px;
4390
+ padding: 0;
4391
+ margin: -1px;
4392
+ overflow: hidden;
4393
+ clip: rect(0, 0, 0, 0);
4394
+ white-space: nowrap;
4395
+ border-width: 0;
4396
+ }
4332
4397
  `
4333
4398
  ];
4334
- let un = Js;
4335
- pu([
4399
+ let Et = Js;
4400
+ Oo([
4401
+ C({ attribute: !1 })
4402
+ ], Et.prototype, "entry");
4403
+ Oo([
4404
+ lu({ context: Ro }),
4336
4405
  C({ attribute: !1 })
4337
- ], un.prototype, "entry");
4338
- var du = Object.defineProperty, Co = (n, e, t, s) => {
4406
+ ], Et.prototype, "application");
4407
+ var gu = Object.defineProperty, Po = (n, e, t, s) => {
4339
4408
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
4340
4409
  (o = n[i]) && (r = o(e, t, r) || r);
4341
- return r && du(e, t, r), r;
4410
+ return r && gu(e, t, r), r;
4342
4411
  };
4343
4412
  const er = class er extends M {
4344
4413
  constructor() {
@@ -4368,7 +4437,7 @@ const er = class er extends M {
4368
4437
  ${ds({
4369
4438
  keyframeOptions: {},
4370
4439
  in: ui,
4371
- out: Yc,
4440
+ out: Qc,
4372
4441
  stabilizeOut: !0,
4373
4442
  skipInitial: !1
4374
4443
  })}
@@ -4395,26 +4464,26 @@ er.styles = [
4395
4464
  }
4396
4465
  `
4397
4466
  ];
4398
- let Et = er;
4399
- Co([
4467
+ let Tt = er;
4468
+ Po([
4400
4469
  C({ attribute: !1 })
4401
- ], Et.prototype, "entries");
4402
- Co([
4470
+ ], Tt.prototype, "entries");
4471
+ Po([
4403
4472
  C({ type: Boolean })
4404
- ], Et.prototype, "loading");
4473
+ ], Tt.prototype, "loading");
4405
4474
  /**
4406
4475
  * @license
4407
4476
  * Copyright 2021 Google LLC
4408
4477
  * SPDX-License-Identifier: BSD-3-Clause
4409
4478
  */
4410
- const fu = (n, e, t) => {
4479
+ const mu = (n, e, t) => {
4411
4480
  for (const s of e) if (s[0] === n) return (0, s[1])();
4412
4481
  return t == null ? void 0 : t();
4413
4482
  };
4414
- var gu = Object.defineProperty, mu = (n, e, t, s) => {
4483
+ var vu = Object.defineProperty, bu = (n, e, t, s) => {
4415
4484
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
4416
4485
  (o = n[i]) && (r = o(e, t, r) || r);
4417
- return r && gu(e, t, r), r;
4486
+ return r && vu(e, t, r), r;
4418
4487
  };
4419
4488
  const tr = class tr extends M {
4420
4489
  render() {
@@ -4422,7 +4491,7 @@ const tr = class tr extends M {
4422
4491
  <div class="message-group">
4423
4492
  ${this.group.items.map(
4424
4493
  ([e, t, s]) => w`
4425
- ${fu(
4494
+ ${mu(
4426
4495
  e,
4427
4496
  [
4428
4497
  ["html", () => w`<message-type-html .message=${t} />`],
@@ -4462,7 +4531,7 @@ tr.styles = [
4462
4531
  `
4463
4532
  ];
4464
4533
  let hn = tr;
4465
- mu([
4534
+ bu([
4466
4535
  C({ attribute: !1 })
4467
4536
  ], hn.prototype, "group");
4468
4537
  const nr = class nr extends M {
@@ -4532,19 +4601,19 @@ class ms extends Ns {
4532
4601
  }
4533
4602
  }
4534
4603
  ms.directiveName = "unsafeHTML", ms.resultType = 1;
4535
- const vu = _n(ms);
4604
+ const yu = _n(ms);
4536
4605
  /*! @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 */
4537
4606
  const {
4538
- entries: Lo,
4539
- setPrototypeOf: mi,
4540
- isFrozen: bu,
4541
- getPrototypeOf: yu,
4542
- getOwnPropertyDescriptor: $u
4607
+ entries: Io,
4608
+ setPrototypeOf: vi,
4609
+ isFrozen: $u,
4610
+ getPrototypeOf: xu,
4611
+ getOwnPropertyDescriptor: wu
4543
4612
  } = Object;
4544
4613
  let {
4545
4614
  freeze: G,
4546
4615
  seal: V,
4547
- create: Ro
4616
+ create: Mo
4548
4617
  } = Object, {
4549
4618
  apply: vs,
4550
4619
  construct: bs
@@ -4561,8 +4630,8 @@ vs || (vs = function(e, t, s) {
4561
4630
  bs || (bs = function(e, t) {
4562
4631
  return new e(...t);
4563
4632
  });
4564
- const Wt = W(Array.prototype.forEach), xu = W(Array.prototype.lastIndexOf), vi = W(Array.prototype.pop), pt = W(Array.prototype.push), wu = W(Array.prototype.splice), Kt = W(String.prototype.toLowerCase), Xn = W(String.prototype.toString), bi = W(String.prototype.match), dt = W(String.prototype.replace), ku = W(String.prototype.indexOf), _u = W(String.prototype.trim), J = W(Object.prototype.hasOwnProperty), B = W(RegExp.prototype.test), ft = Su(TypeError);
4565
- function W(n) {
4633
+ const Wt = q(Array.prototype.forEach), ku = q(Array.prototype.lastIndexOf), bi = q(Array.prototype.pop), pt = q(Array.prototype.push), _u = q(Array.prototype.splice), Vt = q(String.prototype.toLowerCase), Xn = q(String.prototype.toString), yi = q(String.prototype.match), dt = q(String.prototype.replace), Su = q(String.prototype.indexOf), Au = q(String.prototype.trim), J = q(Object.prototype.hasOwnProperty), B = q(RegExp.prototype.test), ft = Eu(TypeError);
4634
+ function q(n) {
4566
4635
  return function(e) {
4567
4636
  e instanceof RegExp && (e.lastIndex = 0);
4568
4637
  for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
@@ -4570,7 +4639,7 @@ function W(n) {
4570
4639
  return vs(n, e, s);
4571
4640
  };
4572
4641
  }
4573
- function Su(n) {
4642
+ function Eu(n) {
4574
4643
  return function() {
4575
4644
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
4576
4645
  t[s] = arguments[s];
@@ -4578,65 +4647,65 @@ function Su(n) {
4578
4647
  };
4579
4648
  }
4580
4649
  function $(n, e) {
4581
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Kt;
4582
- mi && mi(n, null);
4650
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Vt;
4651
+ vi && vi(n, null);
4583
4652
  let s = e.length;
4584
4653
  for (; s--; ) {
4585
4654
  let r = e[s];
4586
4655
  if (typeof r == "string") {
4587
4656
  const i = t(r);
4588
- i !== r && (bu(e) || (e[s] = i), r = i);
4657
+ i !== r && ($u(e) || (e[s] = i), r = i);
4589
4658
  }
4590
4659
  n[r] = !0;
4591
4660
  }
4592
4661
  return n;
4593
4662
  }
4594
- function Au(n) {
4663
+ function Tu(n) {
4595
4664
  for (let e = 0; e < n.length; e++)
4596
4665
  J(n, e) || (n[e] = null);
4597
4666
  return n;
4598
4667
  }
4599
4668
  function fe(n) {
4600
- const e = Ro(null);
4601
- for (const [t, s] of Lo(n))
4602
- J(n, t) && (Array.isArray(s) ? e[t] = Au(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = fe(s) : e[t] = s);
4669
+ const e = Mo(null);
4670
+ for (const [t, s] of Io(n))
4671
+ J(n, t) && (Array.isArray(s) ? e[t] = Tu(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = fe(s) : e[t] = s);
4603
4672
  return e;
4604
4673
  }
4605
4674
  function gt(n, e) {
4606
4675
  for (; n !== null; ) {
4607
- const s = $u(n, e);
4676
+ const s = wu(n, e);
4608
4677
  if (s) {
4609
4678
  if (s.get)
4610
- return W(s.get);
4679
+ return q(s.get);
4611
4680
  if (typeof s.value == "function")
4612
- return W(s.value);
4681
+ return q(s.value);
4613
4682
  }
4614
- n = yu(n);
4683
+ n = xu(n);
4615
4684
  }
4616
4685
  function t() {
4617
4686
  return null;
4618
4687
  }
4619
4688
  return t;
4620
4689
  }
4621
- const yi = G(["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"]), Kn = G(["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"]), Vn = G(["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"]), Eu = G(["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"]), Qn = G(["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"]), Tu = G(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $i = G(["#text"]), xi = G(["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"]), Jn = G(["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"]), wi = G(["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"]), qt = G(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Cu = V(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Lu = V(/<%[\w\W]*|[\w\W]*%>/gm), Ru = V(/\$\{[\w\W]*/gm), Ou = V(/^data-[\-\w.\u00B7-\uFFFF]+$/), Pu = V(/^aria-[\-\w]+$/), Oo = V(
4690
+ const $i = G(["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"]), Kn = G(["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"]), Vn = G(["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"]), Cu = G(["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"]), Qn = G(["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"]), Lu = G(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), xi = G(["#text"]), wi = G(["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"]), Jn = G(["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"]), ki = G(["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"]), Zt = G(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ru = V(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ou = V(/<%[\w\W]*|[\w\W]*%>/gm), Pu = V(/\$\{[\w\W]*/gm), Iu = V(/^data-[\-\w.\u00B7-\uFFFF]+$/), Mu = V(/^aria-[\-\w]+$/), No = V(
4622
4691
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4623
4692
  // eslint-disable-line no-useless-escape
4624
- ), Iu = V(/^(?:\w+script|data):/i), Mu = V(
4693
+ ), Nu = V(/^(?:\w+script|data):/i), Du = V(
4625
4694
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4626
4695
  // eslint-disable-line no-control-regex
4627
- ), Po = V(/^html$/i), Nu = V(/^[a-z][.\w]*(-[.\w]+)+$/i);
4628
- var ki = /* @__PURE__ */ Object.freeze({
4696
+ ), Do = V(/^html$/i), Uu = V(/^[a-z][.\w]*(-[.\w]+)+$/i);
4697
+ var _i = /* @__PURE__ */ Object.freeze({
4629
4698
  __proto__: null,
4630
- ARIA_ATTR: Pu,
4631
- ATTR_WHITESPACE: Mu,
4632
- CUSTOM_ELEMENT: Nu,
4633
- DATA_ATTR: Ou,
4634
- DOCTYPE_NAME: Po,
4635
- ERB_EXPR: Lu,
4636
- IS_ALLOWED_URI: Oo,
4637
- IS_SCRIPT_OR_DATA: Iu,
4638
- MUSTACHE_EXPR: Cu,
4639
- TMPLIT_EXPR: Ru
4699
+ ARIA_ATTR: Mu,
4700
+ ATTR_WHITESPACE: Du,
4701
+ CUSTOM_ELEMENT: Uu,
4702
+ DATA_ATTR: Iu,
4703
+ DOCTYPE_NAME: Do,
4704
+ ERB_EXPR: Ou,
4705
+ IS_ALLOWED_URI: No,
4706
+ IS_SCRIPT_OR_DATA: Nu,
4707
+ MUSTACHE_EXPR: Ru,
4708
+ TMPLIT_EXPR: Pu
4640
4709
  });
4641
4710
  const mt = {
4642
4711
  element: 1,
@@ -4645,9 +4714,9 @@ const mt = {
4645
4714
  progressingInstruction: 7,
4646
4715
  comment: 8,
4647
4716
  document: 9
4648
- }, Du = function() {
4717
+ }, zu = function() {
4649
4718
  return typeof window > "u" ? null : window;
4650
- }, Uu = function(e, t) {
4719
+ }, Hu = function(e, t) {
4651
4720
  if (typeof e != "object" || typeof e.createPolicy != "function")
4652
4721
  return null;
4653
4722
  let s = null;
@@ -4666,7 +4735,7 @@ const mt = {
4666
4735
  } catch {
4667
4736
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
4668
4737
  }
4669
- }, _i = function() {
4738
+ }, Si = function() {
4670
4739
  return {
4671
4740
  afterSanitizeAttributes: [],
4672
4741
  afterSanitizeElements: [],
@@ -4679,9 +4748,9 @@ const mt = {
4679
4748
  uponSanitizeShadowNode: []
4680
4749
  };
4681
4750
  };
4682
- function Io() {
4683
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Du();
4684
- const e = (b) => Io(b);
4751
+ function Uo() {
4752
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : zu();
4753
+ const e = (b) => Uo(b);
4685
4754
  if (e.version = "3.2.6", e.removed = [], !n || !n.document || n.document.nodeType !== mt.document || !n.Element)
4686
4755
  return e.isSupported = !1, e;
4687
4756
  let {
@@ -4706,30 +4775,30 @@ function Io() {
4706
4775
  const {
4707
4776
  implementation: Te,
4708
4777
  createNodeIterator: Ce,
4709
- createDocumentFragment: Xo,
4710
- getElementsByTagName: Ko
4778
+ createDocumentFragment: Jo,
4779
+ getElementsByTagName: ea
4711
4780
  } = t, {
4712
- importNode: Vo
4781
+ importNode: ta
4713
4782
  } = s;
4714
- let H = _i();
4715
- e.isSupported = typeof Lo == "function" && typeof Ae == "function" && Te && Te.createHTMLDocument !== void 0;
4783
+ let H = Si();
4784
+ e.isSupported = typeof Io == "function" && typeof Ae == "function" && Te && Te.createHTMLDocument !== void 0;
4716
4785
  const {
4717
4786
  MUSTACHE_EXPR: En,
4718
4787
  ERB_EXPR: Tn,
4719
4788
  TMPLIT_EXPR: Cn,
4720
- DATA_ATTR: Qo,
4721
- ARIA_ATTR: Jo,
4722
- IS_SCRIPT_OR_DATA: ea,
4789
+ DATA_ATTR: na,
4790
+ ARIA_ATTR: sa,
4791
+ IS_SCRIPT_OR_DATA: ra,
4723
4792
  ATTR_WHITESPACE: ar,
4724
- CUSTOM_ELEMENT: ta
4725
- } = ki;
4793
+ CUSTOM_ELEMENT: ia
4794
+ } = _i;
4726
4795
  let {
4727
4796
  IS_ALLOWED_URI: lr
4728
- } = ki, O = null;
4729
- const cr = $({}, [...yi, ...Kn, ...Vn, ...Qn, ...$i]);
4797
+ } = _i, O = null;
4798
+ const cr = $({}, [...$i, ...Kn, ...Vn, ...Qn, ...xi]);
4730
4799
  let I = null;
4731
- const ur = $({}, [...xi, ...Jn, ...wi, ...qt]);
4732
- let T = Object.seal(Ro(null, {
4800
+ const ur = $({}, [...wi, ...Jn, ...ki, ...Zt]);
4801
+ let T = Object.seal(Mo(null, {
4733
4802
  tagNameCheck: {
4734
4803
  writable: !0,
4735
4804
  configurable: !1,
@@ -4748,45 +4817,45 @@ function Io() {
4748
4817
  enumerable: !0,
4749
4818
  value: !1
4750
4819
  }
4751
- })), at = null, Ln = null, hr = !0, Rn = !0, pr = !1, dr = !0, He = !1, Nt = !0, Le = !1, On = !1, Pn = !1, Be = !1, Dt = !1, Ut = !1, fr = !0, gr = !1;
4752
- const na = "user-content-";
4820
+ })), at = null, Ln = null, hr = !0, Rn = !0, pr = !1, dr = !0, He = !1, Dt = !0, Le = !1, On = !1, Pn = !1, Be = !1, Ut = !1, zt = !1, fr = !0, gr = !1;
4821
+ const oa = "user-content-";
4753
4822
  let In = !0, lt = !1, Fe = {}, je = null;
4754
4823
  const mr = $({}, ["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"]);
4755
4824
  let vr = null;
4756
4825
  const br = $({}, ["audio", "video", "img", "source", "image", "track"]);
4757
4826
  let Mn = null;
4758
- const yr = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), zt = "http://www.w3.org/1998/Math/MathML", Ht = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
4827
+ const yr = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ht = "http://www.w3.org/1998/Math/MathML", Bt = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
4759
4828
  let Ge = ue, Nn = !1, Dn = null;
4760
- const sa = $({}, [zt, Ht, ue], Xn);
4761
- let Bt = $({}, ["mi", "mo", "mn", "ms", "mtext"]), Ft = $({}, ["annotation-xml"]);
4762
- const ra = $({}, ["title", "style", "font", "a", "script"]);
4829
+ const aa = $({}, [Ht, Bt, ue], Xn);
4830
+ let Ft = $({}, ["mi", "mo", "mn", "ms", "mtext"]), jt = $({}, ["annotation-xml"]);
4831
+ const la = $({}, ["title", "style", "font", "a", "script"]);
4763
4832
  let ct = null;
4764
- const ia = ["application/xhtml+xml", "text/html"], oa = "text/html";
4765
- let P = null, We = null;
4766
- const aa = t.createElement("form"), $r = function(h) {
4833
+ const ca = ["application/xhtml+xml", "text/html"], ua = "text/html";
4834
+ let P = null, qe = null;
4835
+ const ha = t.createElement("form"), $r = function(h) {
4767
4836
  return h instanceof RegExp || h instanceof Function;
4768
4837
  }, Un = function() {
4769
4838
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4770
- if (!(We && We === h)) {
4839
+ if (!(qe && qe === h)) {
4771
4840
  if ((!h || typeof h != "object") && (h = {}), h = fe(h), ct = // eslint-disable-next-line unicorn/prefer-includes
4772
- ia.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? oa : h.PARSER_MEDIA_TYPE, P = ct === "application/xhtml+xml" ? Xn : Kt, O = J(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, P) : cr, I = J(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, P) : ur, Dn = J(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Xn) : sa, Mn = J(h, "ADD_URI_SAFE_ATTR") ? $(fe(yr), h.ADD_URI_SAFE_ATTR, P) : yr, vr = J(h, "ADD_DATA_URI_TAGS") ? $(fe(br), h.ADD_DATA_URI_TAGS, P) : br, je = J(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, P) : mr, at = J(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, P) : fe({}), Ln = J(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, P) : fe({}), Fe = J(h, "USE_PROFILES") ? h.USE_PROFILES : !1, hr = h.ALLOW_ARIA_ATTR !== !1, Rn = h.ALLOW_DATA_ATTR !== !1, pr = h.ALLOW_UNKNOWN_PROTOCOLS || !1, dr = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, He = h.SAFE_FOR_TEMPLATES || !1, Nt = h.SAFE_FOR_XML !== !1, Le = h.WHOLE_DOCUMENT || !1, Be = h.RETURN_DOM || !1, Dt = h.RETURN_DOM_FRAGMENT || !1, Ut = h.RETURN_TRUSTED_TYPE || !1, Pn = h.FORCE_BODY || !1, fr = h.SANITIZE_DOM !== !1, gr = h.SANITIZE_NAMED_PROPS || !1, In = h.KEEP_CONTENT !== !1, lt = h.IN_PLACE || !1, lr = h.ALLOWED_URI_REGEXP || Oo, Ge = h.NAMESPACE || ue, Bt = h.MATHML_TEXT_INTEGRATION_POINTS || Bt, Ft = h.HTML_INTEGRATION_POINTS || Ft, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && $r(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && $r(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), He && (Rn = !1), Dt && (Be = !0), Fe && (O = $({}, $i), I = [], Fe.html === !0 && ($(O, yi), $(I, xi)), Fe.svg === !0 && ($(O, Kn), $(I, Jn), $(I, qt)), Fe.svgFilters === !0 && ($(O, Vn), $(I, Jn), $(I, qt)), Fe.mathMl === !0 && ($(O, Qn), $(I, wi), $(I, qt))), h.ADD_TAGS && (O === cr && (O = fe(O)), $(O, h.ADD_TAGS, P)), h.ADD_ATTR && (I === ur && (I = fe(I)), $(I, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && $(Mn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (je === mr && (je = fe(je)), $(je, h.FORBID_CONTENTS, P)), In && (O["#text"] = !0), Le && $(O, ["html", "head", "body"]), O.table && ($(O, ["tbody"]), delete at.tbody), h.TRUSTED_TYPES_POLICY) {
4841
+ ca.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? ua : h.PARSER_MEDIA_TYPE, P = ct === "application/xhtml+xml" ? Xn : Vt, O = J(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, P) : cr, I = J(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, P) : ur, Dn = J(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Xn) : aa, Mn = J(h, "ADD_URI_SAFE_ATTR") ? $(fe(yr), h.ADD_URI_SAFE_ATTR, P) : yr, vr = J(h, "ADD_DATA_URI_TAGS") ? $(fe(br), h.ADD_DATA_URI_TAGS, P) : br, je = J(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, P) : mr, at = J(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, P) : fe({}), Ln = J(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, P) : fe({}), Fe = J(h, "USE_PROFILES") ? h.USE_PROFILES : !1, hr = h.ALLOW_ARIA_ATTR !== !1, Rn = h.ALLOW_DATA_ATTR !== !1, pr = h.ALLOW_UNKNOWN_PROTOCOLS || !1, dr = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, He = h.SAFE_FOR_TEMPLATES || !1, Dt = h.SAFE_FOR_XML !== !1, Le = h.WHOLE_DOCUMENT || !1, Be = h.RETURN_DOM || !1, Ut = h.RETURN_DOM_FRAGMENT || !1, zt = h.RETURN_TRUSTED_TYPE || !1, Pn = h.FORCE_BODY || !1, fr = h.SANITIZE_DOM !== !1, gr = h.SANITIZE_NAMED_PROPS || !1, In = h.KEEP_CONTENT !== !1, lt = h.IN_PLACE || !1, lr = h.ALLOWED_URI_REGEXP || No, Ge = h.NAMESPACE || ue, Ft = h.MATHML_TEXT_INTEGRATION_POINTS || Ft, jt = h.HTML_INTEGRATION_POINTS || jt, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && $r(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && $r(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), He && (Rn = !1), Ut && (Be = !0), Fe && (O = $({}, xi), I = [], Fe.html === !0 && ($(O, $i), $(I, wi)), Fe.svg === !0 && ($(O, Kn), $(I, Jn), $(I, Zt)), Fe.svgFilters === !0 && ($(O, Vn), $(I, Jn), $(I, Zt)), Fe.mathMl === !0 && ($(O, Qn), $(I, ki), $(I, Zt))), h.ADD_TAGS && (O === cr && (O = fe(O)), $(O, h.ADD_TAGS, P)), h.ADD_ATTR && (I === ur && (I = fe(I)), $(I, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && $(Mn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (je === mr && (je = fe(je)), $(je, h.FORBID_CONTENTS, P)), In && (O["#text"] = !0), Le && $(O, ["html", "head", "body"]), O.table && ($(O, ["tbody"]), delete at.tbody), h.TRUSTED_TYPES_POLICY) {
4773
4842
  if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
4774
4843
  throw ft('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4775
4844
  if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4776
4845
  throw ft('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4777
4846
  R = h.TRUSTED_TYPES_POLICY, Ee = R.createHTML("");
4778
4847
  } else
4779
- R === void 0 && (R = Uu(g, r)), R !== null && typeof Ee == "string" && (Ee = R.createHTML(""));
4780
- G && G(h), We = h;
4848
+ R === void 0 && (R = Hu(g, r)), R !== null && typeof Ee == "string" && (Ee = R.createHTML(""));
4849
+ G && G(h), qe = h;
4781
4850
  }
4782
- }, xr = $({}, [...Kn, ...Vn, ...Eu]), wr = $({}, [...Qn, ...Tu]), la = function(h) {
4851
+ }, xr = $({}, [...Kn, ...Vn, ...Cu]), wr = $({}, [...Qn, ...Lu]), pa = function(h) {
4783
4852
  let f = Ae(h);
4784
4853
  (!f || !f.tagName) && (f = {
4785
4854
  namespaceURI: Ge,
4786
4855
  tagName: "template"
4787
4856
  });
4788
- const v = Kt(h.tagName), E = Kt(f.tagName);
4789
- return Dn[h.namespaceURI] ? h.namespaceURI === Ht ? f.namespaceURI === ue ? v === "svg" : f.namespaceURI === zt ? v === "svg" && (E === "annotation-xml" || Bt[E]) : !!xr[v] : h.namespaceURI === zt ? f.namespaceURI === ue ? v === "math" : f.namespaceURI === Ht ? v === "math" && Ft[E] : !!wr[v] : h.namespaceURI === ue ? f.namespaceURI === Ht && !Ft[E] || f.namespaceURI === zt && !Bt[E] ? !1 : !wr[v] && (ra[v] || !xr[v]) : !!(ct === "application/xhtml+xml" && Dn[h.namespaceURI]) : !1;
4857
+ const v = Vt(h.tagName), E = Vt(f.tagName);
4858
+ return Dn[h.namespaceURI] ? h.namespaceURI === Bt ? f.namespaceURI === ue ? v === "svg" : f.namespaceURI === Ht ? v === "svg" && (E === "annotation-xml" || Ft[E]) : !!xr[v] : h.namespaceURI === Ht ? f.namespaceURI === ue ? v === "math" : f.namespaceURI === Bt ? v === "math" && jt[E] : !!wr[v] : h.namespaceURI === ue ? f.namespaceURI === Bt && !jt[E] || f.namespaceURI === Ht && !Ft[E] ? !1 : !wr[v] && (la[v] || !xr[v]) : !!(ct === "application/xhtml+xml" && Dn[h.namespaceURI]) : !1;
4790
4859
  }, se = function(h) {
4791
4860
  pt(e.removed, {
4792
4861
  element: h
@@ -4796,7 +4865,7 @@ function Io() {
4796
4865
  } catch {
4797
4866
  ce(h);
4798
4867
  }
4799
- }, qe = function(h, f) {
4868
+ }, We = function(h, f) {
4800
4869
  try {
4801
4870
  pt(e.removed, {
4802
4871
  attribute: f.getAttributeNode(h),
@@ -4809,7 +4878,7 @@ function Io() {
4809
4878
  });
4810
4879
  }
4811
4880
  if (f.removeAttribute(h), h === "is")
4812
- if (Be || Dt)
4881
+ if (Be || Ut)
4813
4882
  try {
4814
4883
  se(f);
4815
4884
  } catch {
@@ -4824,7 +4893,7 @@ function Io() {
4824
4893
  if (Pn)
4825
4894
  h = "<remove></remove>" + h;
4826
4895
  else {
4827
- const L = bi(h, /^[\r\n\t ]+/);
4896
+ const L = yi(h, /^[\r\n\t ]+/);
4828
4897
  v = L && L[0];
4829
4898
  }
4830
4899
  ct === "application/xhtml+xml" && Ge === ue && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
@@ -4842,7 +4911,7 @@ function Io() {
4842
4911
  }
4843
4912
  }
4844
4913
  const N = f.body || f.documentElement;
4845
- return h && v && N.insertBefore(t.createTextNode(v), N.childNodes[0] || null), Ge === ue ? Ko.call(f, Le ? "html" : "body")[0] : Le ? f.documentElement : N;
4914
+ return h && v && N.insertBefore(t.createTextNode(v), N.childNodes[0] || null), Ge === ue ? ea.call(f, Le ? "html" : "body")[0] : Le ? f.documentElement : N;
4846
4915
  }, _r = function(h) {
4847
4916
  return Ce.call(
4848
4917
  h.ownerDocument || h,
@@ -4858,7 +4927,7 @@ function Io() {
4858
4927
  };
4859
4928
  function he(b, h, f) {
4860
4929
  Wt(b, (v) => {
4861
- v.call(e, h, f, We);
4930
+ v.call(e, h, f, qe);
4862
4931
  });
4863
4932
  }
4864
4933
  const Ar = function(h) {
@@ -4869,7 +4938,7 @@ function Io() {
4869
4938
  if (he(H.uponSanitizeElement, h, {
4870
4939
  tagName: v,
4871
4940
  allowedTags: O
4872
- }), Nt && h.hasChildNodes() && !Sr(h.firstElementChild) && B(/<[/\w!]/g, h.innerHTML) && B(/<[/\w!]/g, h.textContent) || h.nodeType === mt.progressingInstruction || Nt && h.nodeType === mt.comment && B(/<[/\w]/g, h.data))
4941
+ }), Dt && h.hasChildNodes() && !Sr(h.firstElementChild) && B(/<[/\w!]/g, h.innerHTML) && B(/<[/\w!]/g, h.textContent) || h.nodeType === mt.progressingInstruction || Dt && h.nodeType === mt.comment && B(/<[/\w]/g, h.data))
4873
4942
  return se(h), !0;
4874
4943
  if (!O[v] || at[v]) {
4875
4944
  if (!at[v] && Tr(v) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
@@ -4878,24 +4947,24 @@ function Io() {
4878
4947
  const E = Ae(h) || h.parentNode, N = ye(h) || h.childNodes;
4879
4948
  if (N && E) {
4880
4949
  const L = N.length;
4881
- for (let q = L - 1; q >= 0; --q) {
4882
- const pe = y(N[q], !0);
4950
+ for (let W = L - 1; W >= 0; --W) {
4951
+ const pe = y(N[W], !0);
4883
4952
  pe.__removalCount = (h.__removalCount || 0) + 1, E.insertBefore(pe, Q(h));
4884
4953
  }
4885
4954
  }
4886
4955
  }
4887
4956
  return se(h), !0;
4888
4957
  }
4889
- return h instanceof l && !la(h) || (v === "noscript" || v === "noembed" || v === "noframes") && B(/<\/no(script|embed|frames)/i, h.innerHTML) ? (se(h), !0) : (He && h.nodeType === mt.text && (f = h.textContent, Wt([En, Tn, Cn], (E) => {
4958
+ return h instanceof l && !pa(h) || (v === "noscript" || v === "noembed" || v === "noframes") && B(/<\/no(script|embed|frames)/i, h.innerHTML) ? (se(h), !0) : (He && h.nodeType === mt.text && (f = h.textContent, Wt([En, Tn, Cn], (E) => {
4890
4959
  f = dt(f, E, " ");
4891
4960
  }), h.textContent !== f && (pt(e.removed, {
4892
4961
  element: h.cloneNode()
4893
4962
  }), h.textContent = f)), he(H.afterSanitizeElements, h, null), !1);
4894
4963
  }, Er = function(h, f, v) {
4895
- if (fr && (f === "id" || f === "name") && (v in t || v in aa))
4964
+ if (fr && (f === "id" || f === "name") && (v in t || v in ha))
4896
4965
  return !1;
4897
- if (!(Rn && !Ln[f] && B(Qo, f))) {
4898
- if (!(hr && B(Jo, f))) {
4966
+ if (!(Rn && !Ln[f] && B(na, f))) {
4967
+ if (!(hr && B(sa, f))) {
4899
4968
  if (!I[f] || Ln[f]) {
4900
4969
  if (
4901
4970
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -4907,8 +4976,8 @@ function Io() {
4907
4976
  ) return !1;
4908
4977
  } else if (!Mn[f]) {
4909
4978
  if (!B(lr, dt(v, ar, ""))) {
4910
- if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && ku(v, "data:") === 0 && vr[h])) {
4911
- if (!(pr && !B(ea, dt(v, ar, "")))) {
4979
+ if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Su(v, "data:") === 0 && vr[h])) {
4980
+ if (!(pr && !B(ra, dt(v, ar, "")))) {
4912
4981
  if (v)
4913
4982
  return !1;
4914
4983
  }
@@ -4919,7 +4988,7 @@ function Io() {
4919
4988
  }
4920
4989
  return !0;
4921
4990
  }, Tr = function(h) {
4922
- return h !== "annotation-xml" && bi(h, ta);
4991
+ return h !== "annotation-xml" && yi(h, ia);
4923
4992
  }, Cr = function(h) {
4924
4993
  he(H.beforeSanitizeAttributes, h, null);
4925
4994
  const {
@@ -4938,22 +5007,22 @@ function Io() {
4938
5007
  for (; E--; ) {
4939
5008
  const N = f[E], {
4940
5009
  name: L,
4941
- namespaceURI: q,
5010
+ namespaceURI: W,
4942
5011
  value: pe
4943
5012
  } = N, ut = P(L), Hn = pe;
4944
- let D = L === "value" ? Hn : _u(Hn);
4945
- if (v.attrName = ut, v.attrValue = D, v.keepAttr = !0, v.forceKeepAttr = void 0, he(H.uponSanitizeAttribute, h, v), D = v.attrValue, gr && (ut === "id" || ut === "name") && (qe(L, h), D = na + D), Nt && B(/((--!?|])>)|<\/(style|title)/i, D)) {
4946
- qe(L, h);
5013
+ let D = L === "value" ? Hn : Au(Hn);
5014
+ if (v.attrName = ut, v.attrValue = D, v.keepAttr = !0, v.forceKeepAttr = void 0, he(H.uponSanitizeAttribute, h, v), D = v.attrValue, gr && (ut === "id" || ut === "name") && (We(L, h), D = oa + D), Dt && B(/((--!?|])>)|<\/(style|title)/i, D)) {
5015
+ We(L, h);
4947
5016
  continue;
4948
5017
  }
4949
5018
  if (v.forceKeepAttr)
4950
5019
  continue;
4951
5020
  if (!v.keepAttr) {
4952
- qe(L, h);
5021
+ We(L, h);
4953
5022
  continue;
4954
5023
  }
4955
5024
  if (!dr && B(/\/>/i, D)) {
4956
- qe(L, h);
5025
+ We(L, h);
4957
5026
  continue;
4958
5027
  }
4959
5028
  He && Wt([En, Tn, Cn], (Rr) => {
@@ -4961,10 +5030,10 @@ function Io() {
4961
5030
  });
4962
5031
  const Lr = P(h.nodeName);
4963
5032
  if (!Er(Lr, ut, D)) {
4964
- qe(L, h);
5033
+ We(L, h);
4965
5034
  continue;
4966
5035
  }
4967
- if (R && typeof g == "object" && typeof g.getAttributeType == "function" && !q)
5036
+ if (R && typeof g == "object" && typeof g.getAttributeType == "function" && !W)
4968
5037
  switch (g.getAttributeType(Lr, ut)) {
4969
5038
  case "TrustedHTML": {
4970
5039
  D = R.createHTML(D);
@@ -4977,13 +5046,13 @@ function Io() {
4977
5046
  }
4978
5047
  if (D !== Hn)
4979
5048
  try {
4980
- q ? h.setAttributeNS(q, L, D) : h.setAttribute(L, D), zn(h) ? se(h) : vi(e.removed);
5049
+ W ? h.setAttributeNS(W, L, D) : h.setAttribute(L, D), zn(h) ? se(h) : bi(e.removed);
4981
5050
  } catch {
4982
- qe(L, h);
5051
+ We(L, h);
4983
5052
  }
4984
5053
  }
4985
5054
  he(H.afterSanitizeAttributes, h, null);
4986
- }, ca = function b(h) {
5055
+ }, da = function b(h) {
4987
5056
  let f = null;
4988
5057
  const v = _r(h);
4989
5058
  for (he(H.beforeSanitizeShadowDOM, h, null); f = v.nextNode(); )
@@ -5011,61 +5080,61 @@ function Io() {
5011
5080
  else {
5012
5081
  if (!Be && !He && !Le && // eslint-disable-next-line unicorn/prefer-includes
5013
5082
  b.indexOf("<") === -1)
5014
- return R && Ut ? R.createHTML(b) : b;
5083
+ return R && zt ? R.createHTML(b) : b;
5015
5084
  if (f = kr(b), !f)
5016
- return Be ? null : Ut ? Ee : "";
5085
+ return Be ? null : zt ? Ee : "";
5017
5086
  }
5018
5087
  f && Pn && se(f.firstChild);
5019
5088
  const L = _r(lt ? b : f);
5020
5089
  for (; E = L.nextNode(); )
5021
- Ar(E), Cr(E), E.content instanceof i && ca(E.content);
5090
+ Ar(E), Cr(E), E.content instanceof i && da(E.content);
5022
5091
  if (lt)
5023
5092
  return b;
5024
5093
  if (Be) {
5025
- if (Dt)
5026
- for (N = Xo.call(f.ownerDocument); f.firstChild; )
5094
+ if (Ut)
5095
+ for (N = Jo.call(f.ownerDocument); f.firstChild; )
5027
5096
  N.appendChild(f.firstChild);
5028
5097
  else
5029
5098
  N = f;
5030
- return (I.shadowroot || I.shadowrootmode) && (N = Vo.call(s, N, !0)), N;
5099
+ return (I.shadowroot || I.shadowrootmode) && (N = ta.call(s, N, !0)), N;
5031
5100
  }
5032
- let q = Le ? f.outerHTML : f.innerHTML;
5033
- return Le && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && B(Po, f.ownerDocument.doctype.name) && (q = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5034
- ` + q), He && Wt([En, Tn, Cn], (pe) => {
5035
- q = dt(q, pe, " ");
5036
- }), R && Ut ? R.createHTML(q) : q;
5101
+ let W = Le ? f.outerHTML : f.innerHTML;
5102
+ return Le && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && B(Do, f.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5103
+ ` + W), He && Wt([En, Tn, Cn], (pe) => {
5104
+ W = dt(W, pe, " ");
5105
+ }), R && zt ? R.createHTML(W) : W;
5037
5106
  }, e.setConfig = function() {
5038
5107
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5039
5108
  Un(b), On = !0;
5040
5109
  }, e.clearConfig = function() {
5041
- We = null, On = !1;
5110
+ qe = null, On = !1;
5042
5111
  }, e.isValidAttribute = function(b, h, f) {
5043
- We || Un({});
5112
+ qe || Un({});
5044
5113
  const v = P(b), E = P(h);
5045
5114
  return Er(v, E, f);
5046
5115
  }, e.addHook = function(b, h) {
5047
5116
  typeof h == "function" && pt(H[b], h);
5048
5117
  }, e.removeHook = function(b, h) {
5049
5118
  if (h !== void 0) {
5050
- const f = xu(H[b], h);
5051
- return f === -1 ? void 0 : wu(H[b], f, 1)[0];
5119
+ const f = ku(H[b], h);
5120
+ return f === -1 ? void 0 : _u(H[b], f, 1)[0];
5052
5121
  }
5053
- return vi(H[b]);
5122
+ return bi(H[b]);
5054
5123
  }, e.removeHooks = function(b) {
5055
5124
  H[b] = [];
5056
5125
  }, e.removeAllHooks = function() {
5057
- H = _i();
5126
+ H = Si();
5058
5127
  }, e;
5059
5128
  }
5060
- var Mo = Io(), zu = Object.defineProperty, Hu = (n, e, t, s) => {
5129
+ var zo = Uo(), Bu = Object.defineProperty, Fu = (n, e, t, s) => {
5061
5130
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
5062
5131
  (o = n[i]) && (r = o(e, t, r) || r);
5063
- return r && zu(e, t, r), r;
5132
+ return r && Bu(e, t, r), r;
5064
5133
  };
5065
5134
  const sr = class sr extends M {
5066
5135
  render() {
5067
5136
  return w`<div class="message-type-html">
5068
- ${vu(Mo.sanitize(this.message.content))}
5137
+ ${yu(zo.sanitize(this.message.content))}
5069
5138
  </div>`;
5070
5139
  }
5071
5140
  };
@@ -5107,7 +5176,7 @@ sr.styles = [
5107
5176
  `
5108
5177
  ];
5109
5178
  let pn = sr;
5110
- Hu([
5179
+ Fu([
5111
5180
  C({ attribute: !1 })
5112
5181
  ], pn.prototype, "message");
5113
5182
  function zs() {
@@ -5125,7 +5194,7 @@ function zs() {
5125
5194
  };
5126
5195
  }
5127
5196
  var ze = zs();
5128
- function No(n) {
5197
+ function Ho(n) {
5129
5198
  ze = n;
5130
5199
  }
5131
5200
  var wt = { exec: () => null };
@@ -5197,31 +5266,31 @@ var F = {
5197
5266
  fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`),
5198
5267
  headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`),
5199
5268
  htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i")
5200
- }, Bu = /^(?:[ \t]*(?:\n|$))+/, Fu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ju = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Mt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Gu = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Hs = /(?:[*+-]|\d{1,9}[.)])/, Do = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Uo = _(Do).replace(/bull/g, Hs).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(), Wu = _(Do).replace(/bull/g, Hs).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(), Bs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, qu = /^[^\n]+/, Fs = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Zu = _(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Fs).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Yu = _(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Hs).getRegex(), Sn = "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", js = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Xu = _(
5269
+ }, ju = /^(?:[ \t]*(?:\n|$))+/, Gu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, qu = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Nt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Wu = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Hs = /(?:[*+-]|\d{1,9}[.)])/, Bo = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Fo = _(Bo).replace(/bull/g, Hs).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(), Zu = _(Bo).replace(/bull/g, Hs).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(), Bs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Yu = /^[^\n]+/, Fs = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Xu = _(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Fs).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Ku = _(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Hs).getRegex(), Sn = "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", js = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Vu = _(
5201
5270
  "^ {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|$))",
5202
5271
  "i"
5203
- ).replace("comment", js).replace("tag", Sn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), zo = _(Bs).replace("hr", Mt).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", Sn).getRegex(), Ku = _(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", zo).getRegex(), Gs = {
5204
- blockquote: Ku,
5205
- code: Fu,
5206
- def: Zu,
5207
- fences: ju,
5208
- heading: Gu,
5209
- hr: Mt,
5210
- html: Xu,
5211
- lheading: Uo,
5212
- list: Yu,
5213
- newline: Bu,
5214
- paragraph: zo,
5272
+ ).replace("comment", js).replace("tag", Sn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), jo = _(Bs).replace("hr", Nt).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", Sn).getRegex(), Qu = _(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", jo).getRegex(), Gs = {
5273
+ blockquote: Qu,
5274
+ code: Gu,
5275
+ def: Xu,
5276
+ fences: qu,
5277
+ heading: Wu,
5278
+ hr: Nt,
5279
+ html: Vu,
5280
+ lheading: Fo,
5281
+ list: Ku,
5282
+ newline: ju,
5283
+ paragraph: jo,
5215
5284
  table: wt,
5216
- text: qu
5217
- }, Si = _(
5285
+ text: Yu
5286
+ }, Ai = _(
5218
5287
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
5219
- ).replace("hr", Mt).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", Sn).getRegex(), Vu = {
5288
+ ).replace("hr", Nt).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", Sn).getRegex(), Ju = {
5220
5289
  ...Gs,
5221
- lheading: Wu,
5222
- table: Si,
5223
- paragraph: _(Bs).replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Si).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", Sn).getRegex()
5224
- }, Qu = {
5290
+ lheading: Zu,
5291
+ table: Ai,
5292
+ paragraph: _(Bs).replace("hr", Nt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ai).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", Sn).getRegex()
5293
+ }, eh = {
5225
5294
  ...Gs,
5226
5295
  html: _(
5227
5296
  `^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
@@ -5231,75 +5300,75 @@ var F = {
5231
5300
  fences: wt,
5232
5301
  // fences not supported
5233
5302
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5234
- paragraph: _(Bs).replace("hr", Mt).replace("heading", ` *#{1,6} *[^
5235
- ]`).replace("lheading", Uo).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5236
- }, Ju = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, eh = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ho = /^( {2,}|\\)\n(?!\s*$)/, th = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, An = /[\p{P}\p{S}]/u, Ws = /[\s\p{P}\p{S}]/u, Bo = /[^\s\p{P}\p{S}]/u, nh = _(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ws).getRegex(), Fo = /(?!~)[\p{P}\p{S}]/u, sh = /(?!~)[\s\p{P}\p{S}]/u, rh = /(?:[^\s\p{P}\p{S}]|~)/u, ih = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, jo = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, oh = _(jo, "u").replace(/punct/g, An).getRegex(), ah = _(jo, "u").replace(/punct/g, Fo).getRegex(), Go = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", lh = _(Go, "gu").replace(/notPunctSpace/g, Bo).replace(/punctSpace/g, Ws).replace(/punct/g, An).getRegex(), ch = _(Go, "gu").replace(/notPunctSpace/g, rh).replace(/punctSpace/g, sh).replace(/punct/g, Fo).getRegex(), uh = _(
5303
+ paragraph: _(Bs).replace("hr", Nt).replace("heading", ` *#{1,6} *[^
5304
+ ]`).replace("lheading", Fo).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5305
+ }, th = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, nh = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Go = /^( {2,}|\\)\n(?!\s*$)/, sh = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, An = /[\p{P}\p{S}]/u, qs = /[\s\p{P}\p{S}]/u, qo = /[^\s\p{P}\p{S}]/u, rh = _(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, qs).getRegex(), Wo = /(?!~)[\p{P}\p{S}]/u, ih = /(?!~)[\s\p{P}\p{S}]/u, oh = /(?:[^\s\p{P}\p{S}]|~)/u, ah = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Zo = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, lh = _(Zo, "u").replace(/punct/g, An).getRegex(), ch = _(Zo, "u").replace(/punct/g, Wo).getRegex(), Yo = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", uh = _(Yo, "gu").replace(/notPunctSpace/g, qo).replace(/punctSpace/g, qs).replace(/punct/g, An).getRegex(), hh = _(Yo, "gu").replace(/notPunctSpace/g, oh).replace(/punctSpace/g, ih).replace(/punct/g, Wo).getRegex(), ph = _(
5237
5306
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5238
5307
  "gu"
5239
- ).replace(/notPunctSpace/g, Bo).replace(/punctSpace/g, Ws).replace(/punct/g, An).getRegex(), hh = _(/\\(punct)/, "gu").replace(/punct/g, An).getRegex(), ph = _(/^<(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(), dh = _(js).replace("(?:-->|$)", "-->").getRegex(), fh = _(
5308
+ ).replace(/notPunctSpace/g, qo).replace(/punctSpace/g, qs).replace(/punct/g, An).getRegex(), dh = _(/\\(punct)/, "gu").replace(/punct/g, An).getRegex(), fh = _(/^<(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(), gh = _(js).replace("(?:-->|$)", "-->").getRegex(), mh = _(
5240
5309
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
5241
- ).replace("comment", dh).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), dn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, gh = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", dn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wo = _(/^!?\[(label)\]\[(ref)\]/).replace("label", dn).replace("ref", Fs).getRegex(), qo = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", Fs).getRegex(), mh = _("reflink|nolink(?!\\()", "g").replace("reflink", Wo).replace("nolink", qo).getRegex(), qs = {
5310
+ ).replace("comment", gh).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), dn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, vh = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", dn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Xo = _(/^!?\[(label)\]\[(ref)\]/).replace("label", dn).replace("ref", Fs).getRegex(), Ko = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", Fs).getRegex(), bh = _("reflink|nolink(?!\\()", "g").replace("reflink", Xo).replace("nolink", Ko).getRegex(), Ws = {
5242
5311
  _backpedal: wt,
5243
5312
  // only used for GFM url
5244
- anyPunctuation: hh,
5245
- autolink: ph,
5246
- blockSkip: ih,
5247
- br: Ho,
5248
- code: eh,
5313
+ anyPunctuation: dh,
5314
+ autolink: fh,
5315
+ blockSkip: ah,
5316
+ br: Go,
5317
+ code: nh,
5249
5318
  del: wt,
5250
- emStrongLDelim: oh,
5251
- emStrongRDelimAst: lh,
5252
- emStrongRDelimUnd: uh,
5253
- escape: Ju,
5254
- link: gh,
5255
- nolink: qo,
5256
- punctuation: nh,
5257
- reflink: Wo,
5258
- reflinkSearch: mh,
5259
- tag: fh,
5260
- text: th,
5319
+ emStrongLDelim: lh,
5320
+ emStrongRDelimAst: uh,
5321
+ emStrongRDelimUnd: ph,
5322
+ escape: th,
5323
+ link: vh,
5324
+ nolink: Ko,
5325
+ punctuation: rh,
5326
+ reflink: Xo,
5327
+ reflinkSearch: bh,
5328
+ tag: mh,
5329
+ text: sh,
5261
5330
  url: wt
5262
- }, vh = {
5263
- ...qs,
5331
+ }, yh = {
5332
+ ...Ws,
5264
5333
  link: _(/^!?\[(label)\]\((.*?)\)/).replace("label", dn).getRegex(),
5265
5334
  reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", dn).getRegex()
5266
5335
  }, ys = {
5267
- ...qs,
5268
- emStrongRDelimAst: ch,
5269
- emStrongLDelim: ah,
5336
+ ...Ws,
5337
+ emStrongRDelimAst: hh,
5338
+ emStrongLDelim: ch,
5270
5339
  url: _(/^((?: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(),
5271
5340
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
5272
5341
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
5273
5342
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5274
- }, bh = {
5343
+ }, $h = {
5275
5344
  ...ys,
5276
- br: _(Ho).replace("{2,}", "*").getRegex(),
5345
+ br: _(Go).replace("{2,}", "*").getRegex(),
5277
5346
  text: _(ys.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5278
- }, Zt = {
5347
+ }, Yt = {
5279
5348
  normal: Gs,
5280
- gfm: Vu,
5281
- pedantic: Qu
5349
+ gfm: Ju,
5350
+ pedantic: eh
5282
5351
  }, vt = {
5283
- normal: qs,
5352
+ normal: Ws,
5284
5353
  gfm: ys,
5285
- breaks: bh,
5286
- pedantic: vh
5287
- }, yh = {
5354
+ breaks: $h,
5355
+ pedantic: yh
5356
+ }, xh = {
5288
5357
  "&": "&amp;",
5289
5358
  "<": "&lt;",
5290
5359
  ">": "&gt;",
5291
5360
  '"': "&quot;",
5292
5361
  "'": "&#39;"
5293
- }, Ai = (n) => yh[n];
5362
+ }, Ei = (n) => xh[n];
5294
5363
  function re(n, e) {
5295
5364
  if (e) {
5296
5365
  if (F.escapeTest.test(n))
5297
- return n.replace(F.escapeReplace, Ai);
5366
+ return n.replace(F.escapeReplace, Ei);
5298
5367
  } else if (F.escapeTestNoEncode.test(n))
5299
- return n.replace(F.escapeReplaceNoEncode, Ai);
5368
+ return n.replace(F.escapeReplaceNoEncode, Ei);
5300
5369
  return n;
5301
5370
  }
5302
- function Ei(n) {
5371
+ function Ti(n) {
5303
5372
  try {
5304
5373
  n = encodeURI(n).replace(F.percentDecode, "%");
5305
5374
  } catch {
@@ -5307,7 +5376,7 @@ function Ei(n) {
5307
5376
  }
5308
5377
  return n;
5309
5378
  }
5310
- function Ti(n, e) {
5379
+ function Ci(n, e) {
5311
5380
  var i;
5312
5381
  const t = n.replace(F.findPipe, (o, a, l) => {
5313
5382
  let c = !1, u = a;
@@ -5333,7 +5402,7 @@ function bt(n, e, t) {
5333
5402
  r++;
5334
5403
  return n.slice(0, s - r);
5335
5404
  }
5336
- function $h(n, e) {
5405
+ function wh(n, e) {
5337
5406
  if (n.indexOf(e[1]) === -1)
5338
5407
  return -1;
5339
5408
  let t = 0;
@@ -5346,7 +5415,7 @@ function $h(n, e) {
5346
5415
  return s;
5347
5416
  return t > 0 ? -2 : -1;
5348
5417
  }
5349
- function Ci(n, e, t, s, r) {
5418
+ function Li(n, e, t, s, r) {
5350
5419
  const i = e.href, o = e.title || null, a = n[1].replace(r.other.outputLinkReplace, "$1");
5351
5420
  s.state.inLink = !0;
5352
5421
  const l = {
@@ -5359,7 +5428,7 @@ function Ci(n, e, t, s, r) {
5359
5428
  };
5360
5429
  return s.state.inLink = !1, l;
5361
5430
  }
5362
- function xh(n, e, t) {
5431
+ function kh(n, e, t) {
5363
5432
  const s = n.match(t.other.indentCodeCompensation);
5364
5433
  if (s === null)
5365
5434
  return e;
@@ -5407,7 +5476,7 @@ var fn = class {
5407
5476
  fences(n) {
5408
5477
  const e = this.rules.block.fences.exec(n);
5409
5478
  if (e) {
5410
- const t = e[0], s = xh(t, e[3] || "", this.rules);
5479
+ const t = e[0], s = kh(t, e[3] || "", this.rules);
5411
5480
  return {
5412
5481
  type: "code",
5413
5482
  raw: t,
@@ -5599,7 +5668,7 @@ ${u}` : u;
5599
5668
  const e = this.rules.block.table.exec(n);
5600
5669
  if (!e || !this.rules.other.tableDelimiter.test(e[2]))
5601
5670
  return;
5602
- const t = Ti(e[1]), s = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), r = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5671
+ const t = Ci(e[1]), s = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), r = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5603
5672
  `) : [], i = {
5604
5673
  type: "table",
5605
5674
  raw: e[0],
@@ -5618,7 +5687,7 @@ ${u}` : u;
5618
5687
  align: i.align[a]
5619
5688
  });
5620
5689
  for (const a of r)
5621
- i.rows.push(Ti(a, i.header.length).map((l, c) => ({
5690
+ i.rows.push(Ci(a, i.header.length).map((l, c) => ({
5622
5691
  text: l,
5623
5692
  tokens: this.lexer.inline(l),
5624
5693
  header: !1,
@@ -5693,7 +5762,7 @@ ${u}` : u;
5693
5762
  if ((t.length - i.length) % 2 === 0)
5694
5763
  return;
5695
5764
  } else {
5696
- const i = $h(e[2], "()");
5765
+ const i = wh(e[2], "()");
5697
5766
  if (i === -2)
5698
5767
  return;
5699
5768
  if (i > -1) {
@@ -5707,7 +5776,7 @@ ${u}` : u;
5707
5776
  i && (s = i[1], r = i[3]);
5708
5777
  } else
5709
5778
  r = e[3] ? e[3].slice(1, -1) : "";
5710
- 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)), Ci(e, {
5779
+ 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)), Li(e, {
5711
5780
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
5712
5781
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
5713
5782
  }, e[0], this.lexer, this.rules);
@@ -5725,7 +5794,7 @@ ${u}` : u;
5725
5794
  text: i
5726
5795
  };
5727
5796
  }
5728
- return Ci(t, r, t[0], this.lexer, this.rules);
5797
+ return Li(t, r, t[0], this.lexer, this.rules);
5729
5798
  }
5730
5799
  }
5731
5800
  emStrong(n, e, t = "") {
@@ -5870,17 +5939,17 @@ ${u}` : u;
5870
5939
  };
5871
5940
  const t = {
5872
5941
  other: F,
5873
- block: Zt.normal,
5942
+ block: Yt.normal,
5874
5943
  inline: vt.normal
5875
5944
  };
5876
- this.options.pedantic ? (t.block = Zt.pedantic, t.inline = vt.pedantic) : this.options.gfm && (t.block = Zt.gfm, this.options.breaks ? t.inline = vt.breaks : t.inline = vt.gfm), this.tokenizer.rules = t;
5945
+ this.options.pedantic ? (t.block = Yt.pedantic, t.inline = vt.pedantic) : this.options.gfm && (t.block = Yt.gfm, this.options.breaks ? t.inline = vt.breaks : t.inline = vt.gfm), this.tokenizer.rules = t;
5877
5946
  }
5878
5947
  /**
5879
5948
  * Expose Rules
5880
5949
  */
5881
5950
  static get rules() {
5882
5951
  return {
5883
- block: Zt,
5952
+ block: Yt,
5884
5953
  inline: vt
5885
5954
  };
5886
5955
  }
@@ -6100,7 +6169,7 @@ ${u}` : u;
6100
6169
  }
6101
6170
  return t;
6102
6171
  }
6103
- }, Tt = class {
6172
+ }, Ct = class {
6104
6173
  // set by the parser
6105
6174
  constructor(n) {
6106
6175
  S(this, "options");
@@ -6216,7 +6285,7 @@ ${n}</tr>
6216
6285
  return `<del>${this.parser.parseInline(n)}</del>`;
6217
6286
  }
6218
6287
  link({ href: n, title: e, tokens: t }) {
6219
- const s = this.parser.parseInline(t), r = Ei(n);
6288
+ const s = this.parser.parseInline(t), r = Ti(n);
6220
6289
  if (r === null)
6221
6290
  return s;
6222
6291
  n = r;
@@ -6225,7 +6294,7 @@ ${n}</tr>
6225
6294
  }
6226
6295
  image({ href: n, title: e, text: t, tokens: s }) {
6227
6296
  s && (t = this.parser.parseInline(s, this.parser.textRenderer));
6228
- const r = Ei(n);
6297
+ const r = Ti(n);
6229
6298
  if (r === null)
6230
6299
  return re(t);
6231
6300
  n = r;
@@ -6269,7 +6338,7 @@ ${n}</tr>
6269
6338
  S(this, "options");
6270
6339
  S(this, "renderer");
6271
6340
  S(this, "textRenderer");
6272
- this.options = e || ze, 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 Zs();
6341
+ this.options = e || ze, this.options.renderer = this.options.renderer || new Ct(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Zs();
6273
6342
  }
6274
6343
  /**
6275
6344
  * Static Parse Method
@@ -6426,7 +6495,7 @@ ${n}</tr>
6426
6495
  }
6427
6496
  return s;
6428
6497
  }
6429
- }, es, Vt = (es = class {
6498
+ }, es, Qt = (es = class {
6430
6499
  constructor(n) {
6431
6500
  S(this, "options");
6432
6501
  S(this, "block");
@@ -6466,18 +6535,18 @@ ${n}</tr>
6466
6535
  "preprocess",
6467
6536
  "postprocess",
6468
6537
  "processAllTokens"
6469
- ])), es), wh = class {
6538
+ ])), es), _h = class {
6470
6539
  constructor(...n) {
6471
6540
  S(this, "defaults", zs());
6472
6541
  S(this, "options", this.setOptions);
6473
6542
  S(this, "parse", this.parseMarkdown(!0));
6474
6543
  S(this, "parseInline", this.parseMarkdown(!1));
6475
6544
  S(this, "Parser", me);
6476
- S(this, "Renderer", Tt);
6545
+ S(this, "Renderer", Ct);
6477
6546
  S(this, "TextRenderer", Zs);
6478
6547
  S(this, "Lexer", ge);
6479
6548
  S(this, "Tokenizer", fn);
6480
- S(this, "Hooks", Vt);
6549
+ S(this, "Hooks", Qt);
6481
6550
  this.use(...n);
6482
6551
  }
6483
6552
  /**
@@ -6534,7 +6603,7 @@ ${n}</tr>
6534
6603
  }
6535
6604
  "childTokens" in r && r.childTokens && (e.childTokens[r.name] = r.childTokens);
6536
6605
  }), s.extensions = e), t.renderer) {
6537
- const r = this.defaults.renderer || new Tt(this.defaults);
6606
+ const r = this.defaults.renderer || new Ct(this.defaults);
6538
6607
  for (const i in t.renderer) {
6539
6608
  if (!(i in r))
6540
6609
  throw new Error(`renderer '${i}' does not exist`);
@@ -6564,14 +6633,14 @@ ${n}</tr>
6564
6633
  s.tokenizer = r;
6565
6634
  }
6566
6635
  if (t.hooks) {
6567
- const r = this.defaults.hooks || new Vt();
6636
+ const r = this.defaults.hooks || new Qt();
6568
6637
  for (const i in t.hooks) {
6569
6638
  if (!(i in r))
6570
6639
  throw new Error(`hook '${i}' does not exist`);
6571
6640
  if (["options", "block"].includes(i))
6572
6641
  continue;
6573
6642
  const o = i, a = t.hooks[o], l = r[o];
6574
- Vt.passThroughHooks.has(i) ? r[o] = (c) => {
6643
+ Qt.passThroughHooks.has(i) ? r[o] = (c) => {
6575
6644
  if (this.defaults.async)
6576
6645
  return Promise.resolve(a.call(r, c)).then((d) => l.call(r, d));
6577
6646
  const u = a.call(r, c);
@@ -6638,17 +6707,17 @@ Please report this to https://github.com/markedjs/marked.`, n) {
6638
6707
  throw t;
6639
6708
  };
6640
6709
  }
6641
- }, Ue = new wh();
6710
+ }, Ue = new _h();
6642
6711
  function k(n, e) {
6643
6712
  return Ue.parse(n, e);
6644
6713
  }
6645
6714
  k.options = k.setOptions = function(n) {
6646
- return Ue.setOptions(n), k.defaults = Ue.defaults, No(k.defaults), k;
6715
+ return Ue.setOptions(n), k.defaults = Ue.defaults, Ho(k.defaults), k;
6647
6716
  };
6648
6717
  k.getDefaults = zs;
6649
6718
  k.defaults = ze;
6650
6719
  k.use = function(...n) {
6651
- return Ue.use(...n), k.defaults = Ue.defaults, No(k.defaults), k;
6720
+ return Ue.use(...n), k.defaults = Ue.defaults, Ho(k.defaults), k;
6652
6721
  };
6653
6722
  k.walkTokens = function(n, e) {
6654
6723
  return Ue.walkTokens(n, e);
@@ -6656,12 +6725,12 @@ k.walkTokens = function(n, e) {
6656
6725
  k.parseInline = Ue.parseInline;
6657
6726
  k.Parser = me;
6658
6727
  k.parser = me.parse;
6659
- k.Renderer = Tt;
6728
+ k.Renderer = Ct;
6660
6729
  k.TextRenderer = Zs;
6661
6730
  k.Lexer = ge;
6662
6731
  k.lexer = ge.lex;
6663
6732
  k.Tokenizer = fn;
6664
- k.Hooks = Vt;
6733
+ k.Hooks = Qt;
6665
6734
  k.parse = k;
6666
6735
  k.options;
6667
6736
  k.setOptions;
@@ -6670,16 +6739,16 @@ k.walkTokens;
6670
6739
  k.parseInline;
6671
6740
  me.parse;
6672
6741
  ge.lex;
6673
- var kh = Object.defineProperty, Zo = (n, e, t, s) => {
6742
+ var Sh = Object.defineProperty, Vo = (n, e, t, s) => {
6674
6743
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
6675
6744
  (o = n[i]) && (r = o(e, t, r) || r);
6676
- return r && kh(e, t, r), r;
6745
+ return r && Sh(e, t, r), r;
6677
6746
  };
6678
- const Yo = new Tt();
6679
- Yo.link = function({ href: n, title: e, text: t }) {
6747
+ const Qo = new Ct();
6748
+ Qo.link = function({ href: n, title: e, text: t }) {
6680
6749
  return e ?? (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
6681
6750
  };
6682
- k.use({ renderer: Yo });
6751
+ k.use({ renderer: Qo });
6683
6752
  const rr = class rr extends M {
6684
6753
  constructor() {
6685
6754
  super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = ie(), this.contentRef = ie(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm);
@@ -6727,7 +6796,7 @@ const rr = class rr extends M {
6727
6796
  const e = this.getLastChunk();
6728
6797
  if (!e) return;
6729
6798
  this.buffer += e;
6730
- const t = Mo.sanitize(
6799
+ const t = zo.sanitize(
6731
6800
  k.parse(this.buffer)
6732
6801
  );
6733
6802
  if (this.includesImage(this.buffer))
@@ -6736,7 +6805,7 @@ const rr = class rr extends M {
6736
6805
  const s = (i = this.contentRef.value) == null ? void 0 : i.querySelector(
6737
6806
  "div:last-of-type"
6738
6807
  );
6739
- s.innerHTML = ll(t), this.applyCodeStyles(s), this.autoScroll && this.scrollRef.value.scrollIntoView();
6808
+ s.innerHTML = pl(t), this.applyCodeStyles(s), this.autoScroll && this.scrollRef.value.scrollIntoView();
6740
6809
  }
6741
6810
  // Apply white-space: pre-wrap to <code> elements
6742
6811
  applyCodeStyles(e) {
@@ -6799,17 +6868,17 @@ rr.styles = [
6799
6868
  }
6800
6869
  `
6801
6870
  ];
6802
- let Ct = rr;
6803
- Zo([
6871
+ let Lt = rr;
6872
+ Vo([
6804
6873
  C({ attribute: !1 })
6805
- ], Ct.prototype, "message");
6806
- Zo([
6874
+ ], Lt.prototype, "message");
6875
+ Vo([
6807
6876
  z()
6808
- ], Ct.prototype, "showLightbox");
6809
- var _h = Object.defineProperty, Sh = (n, e, t, s) => {
6877
+ ], Lt.prototype, "showLightbox");
6878
+ var Ah = Object.defineProperty, Eh = (n, e, t, s) => {
6810
6879
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
6811
6880
  (o = n[i]) && (r = o(e, t, r) || r);
6812
- return r && _h(e, t, r), r;
6881
+ return r && Ah(e, t, r), r;
6813
6882
  };
6814
6883
  const ir = class ir extends M {
6815
6884
  constructor() {
@@ -6848,7 +6917,7 @@ const ir = class ir extends M {
6848
6917
  @keydown=${this.handleKeyDown}
6849
6918
  >
6850
6919
  <button class="close" @click=${this.closeLightbox}>
6851
- <telia-icon svg=${Nl.svg} size="lg"></telia-icon>
6920
+ <telia-icon svg=${Hl.svg} size="lg"></telia-icon>
6852
6921
  </button>
6853
6922
  <img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
6854
6923
  </div> `;
@@ -6896,24 +6965,24 @@ ir.styles = [
6896
6965
  `
6897
6966
  ];
6898
6967
  let gn = ir;
6899
- Sh([
6968
+ Eh([
6900
6969
  C({ attribute: !0 })
6901
6970
  ], gn.prototype, "imageUrl");
6902
- var Ah = Object.defineProperty, be = (n, e, t, s) => {
6971
+ var Th = Object.defineProperty, be = (n, e, t, s) => {
6903
6972
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
6904
6973
  (o = n[i]) && (r = o(e, t, r) || r);
6905
- return r && Ah(e, t, r), r;
6974
+ return r && Th(e, t, r), r;
6906
6975
  };
6907
- customElements.get("conversation-entry") || customElements.define("conversation-entry", un);
6908
- customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Et);
6976
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", Et);
6977
+ customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Tt);
6909
6978
  customElements.get("conversation-group") || customElements.define("conversation-group", hn);
6910
6979
  customElements.get("ace-typing-state") || customElements.define("ace-typing-state", gs);
6911
6980
  customElements.get("message-type-html") || customElements.define("message-type-html", pn);
6912
- customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Ct);
6981
+ customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Lt);
6913
6982
  customElements.get("ace-lightbox") || customElements.define("ace-lightbox", gn);
6914
- const Li = Eo(M), or = class or extends Li {
6983
+ const Ri = To(M), or = class or extends Ri {
6915
6984
  constructor() {
6916
- super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = ie(), this.conversationFeedRef = ie(), this.formRef = ie(), this.inputRef = ie(), this.scrollRef = ie(), this.counterRef = ie(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new lu(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 te("waiting"), this.stateMachine = new uu(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6985
+ super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = ie(), this.conversationFeedRef = ie(), this.formRef = ie(), this.inputRef = ie(), this.scrollRef = ie(), this.counterRef = ie(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new hu(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 te("waiting"), this.stateMachine = new du(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6917
6986
  Qe((e) => e ? e == null ? void 0 : e.provider$ : rs(null))
6918
6987
  ), this.userTyping$ = new U();
6919
6988
  }
@@ -6927,12 +6996,12 @@ const Li = Eo(M), or = class or extends Li {
6927
6996
  t && t.widgetActive$.pipe(os(t.componentIsDestroyed$)).subscribe((s) => {
6928
6997
  const r = this.conversationContentRef.value;
6929
6998
  r && (s ? r.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = r.scrollTop);
6930
- }), this.stateSubscription = Ka([
6999
+ }), this.stateSubscription = el([
6931
7000
  this.stateMachine.entries(),
6932
7001
  this.stateMachine.isTyping()
6933
7002
  ]).subscribe(([s, r]) => {
6934
7003
  this.entries = s, this.typing = r;
6935
- }), this.userSubmitSubscription = en(
7004
+ }), this.userSubmitSubscription = tn(
6936
7005
  this,
6937
7006
  "user-submit"
6938
7007
  ).pipe(as(this.provider$)).subscribe(([s, r]) => {
@@ -7062,7 +7131,7 @@ const Li = Eo(M), or = class or extends Li {
7062
7131
  providerOptions: t
7063
7132
  }
7064
7133
  });
7065
- return this.dispatchEvent(s), s.detail.complete || Rt;
7134
+ return this.dispatchEvent(s), s.detail.complete || Ot;
7066
7135
  }
7067
7136
  firstUpdated() {
7068
7137
  this.isMuted = this.application.storage.get("muteAudioNotifications") ?? !1;
@@ -7087,7 +7156,7 @@ const Li = Eo(M), or = class or extends Li {
7087
7156
  class="overlay-button"
7088
7157
  @click=${() => this.chatOverlayActive = !1}
7089
7158
  >
7090
- <telia-icon svg=${Ml.svg}></telia-icon>
7159
+ <telia-icon svg=${zl.svg}></telia-icon>
7091
7160
  </button>
7092
7161
  </div>` : x}
7093
7162
  <div
@@ -7143,7 +7212,7 @@ const Li = Eo(M), or = class or extends Li {
7143
7212
  data-testid="send-message-button"
7144
7213
  title=${e.getOrFallback("conversation.send-alt", "Send")}
7145
7214
  >
7146
- <telia-icon svg=${Ul.svg}></telia-icon>
7215
+ <telia-icon svg=${Fl.svg}></telia-icon>
7147
7216
  </button>
7148
7217
  <span class="counter" ${oe(this.counterRef)}>
7149
7218
  ${this.textAreaLength} / ${this.messageMaxLength}</span
@@ -7163,7 +7232,7 @@ const Li = Eo(M), or = class or extends Li {
7163
7232
  }
7164
7233
  };
7165
7234
  or.styles = [
7166
- Li.styles || [],
7235
+ Ri.styles || [],
7167
7236
  Y`
7168
7237
  :host {
7169
7238
  font-family: var(--font-family);
@@ -7476,20 +7545,20 @@ be([
7476
7545
  be([
7477
7546
  z()
7478
7547
  ], K.prototype, "typing");
7479
- const Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7548
+ const Ch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7480
7549
  __proto__: null,
7481
7550
  Conversation: K,
7482
7551
  default: K
7483
7552
  }, Symbol.toStringTag, { value: "Module" }));
7484
7553
  export {
7485
- ul as Agent,
7554
+ fl as Agent,
7486
7555
  K as Conversation,
7487
- Ch as ConversationComponent,
7556
+ Rh as ConversationComponent,
7488
7557
  bn as ConversationEntry,
7489
7558
  we as ConversationMessageType,
7490
- Oi as ConversationPlatform,
7491
- Rh as ConversationProvider,
7492
- hl as User,
7493
- Lh as findPlainTextLinks,
7494
- ll as truncateLongLinks
7559
+ Pi as ConversationPlatform,
7560
+ Ph as ConversationProvider,
7561
+ gl as User,
7562
+ Oh as findPlainTextLinks,
7563
+ pl as truncateLongLinks
7495
7564
  };