@telia-ace/widget-conversation-flamingo 1.1.76-rc.7 → 1.1.76-rc.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +41 -41
  2. package/index.mjs +283 -271
  3. package/package.json +2 -2
package/index.mjs CHANGED
@@ -13,13 +13,13 @@ var He = (s, e, t) => (Ti(s, e, "access private method"), t);
13
13
  const Ul = async (s) => {
14
14
  s.registerComponent("conversation", Promise.resolve().then(() => Ml));
15
15
  };
16
- class fs {
16
+ class gs {
17
17
  constructor() {
18
18
  this.registeredProviders = /* @__PURE__ */ new Map();
19
19
  }
20
20
  static async getInstance(e) {
21
21
  let t = await e.get("conversation");
22
- return t || (t = new fs(), await e.register("conversation", t), t);
22
+ return t || (t = new gs(), await e.register("conversation", t), t);
23
23
  }
24
24
  registerProvider(e, t) {
25
25
  this.registeredProviders.set(e, t);
@@ -81,7 +81,7 @@ function Li(s, e, t, n) {
81
81
  c((n = n.apply(s, e || [])).next());
82
82
  });
83
83
  }
84
- function gs(s, e) {
84
+ function ms(s, e) {
85
85
  var t = { label: 0, sent: function() {
86
86
  if (r[0] & 1)
87
87
  throw r[1];
@@ -244,13 +244,13 @@ function Pi(s) {
244
244
  function $(s) {
245
245
  return typeof s == "function";
246
246
  }
247
- function ms(s) {
247
+ function vs(s) {
248
248
  var e = function(n) {
249
249
  Error.call(n), n.stack = new Error().stack;
250
250
  }, t = s(e);
251
251
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
252
252
  }
253
- var xt = ms(function(s) {
253
+ var xt = vs(function(s) {
254
254
  return function(t) {
255
255
  s(this), this.message = t ? t.length + ` errors occurred during unsubscription:
256
256
  ` + t.map(function(n, i) {
@@ -307,7 +307,7 @@ var at = function() {
307
307
  for (var p = me(u), d = p.next(); !d.done; d = p.next()) {
308
308
  var b = d.value;
309
309
  try {
310
- _n(b);
310
+ Sn(b);
311
311
  } catch (f) {
312
312
  r = r ?? [], f instanceof xt ? r = se(se([], Q(r)), Q(f.errors)) : r.push(f);
313
313
  }
@@ -330,7 +330,7 @@ var at = function() {
330
330
  var t;
331
331
  if (e && e !== this)
332
332
  if (this.closed)
333
- _n(e);
333
+ Sn(e);
334
334
  else {
335
335
  if (e instanceof s) {
336
336
  if (e.closed || e._hasParent(this))
@@ -355,14 +355,14 @@ var at = function() {
355
355
  var e = new s();
356
356
  return e.closed = !0, e;
357
357
  }(), s;
358
- }(), vs = at.EMPTY;
359
- function bs(s) {
358
+ }(), bs = at.EMPTY;
359
+ function ys(s) {
360
360
  return s instanceof at || s && "closed" in s && $(s.remove) && $(s.add) && $(s.unsubscribe);
361
361
  }
362
- function _n(s) {
362
+ function Sn(s) {
363
363
  $(s) ? s() : s.unsubscribe();
364
364
  }
365
- var ys = {
365
+ var $s = {
366
366
  onUnhandledError: null,
367
367
  onStoppedNotification: null,
368
368
  Promise: void 0,
@@ -381,7 +381,7 @@ var ys = {
381
381
  },
382
382
  delegate: void 0
383
383
  };
384
- function $s(s) {
384
+ function xs(s) {
385
385
  Pt.setTimeout(function() {
386
386
  throw s;
387
387
  });
@@ -395,7 +395,7 @@ var Wt = function(s) {
395
395
  ye(e, s);
396
396
  function e(t) {
397
397
  var n = s.call(this) || this;
398
- return n.isStopped = !1, t ? (n.destination = t, bs(t) && t.add(n)) : n.destination = zi, n;
398
+ return n.isStopped = !1, t ? (n.destination = t, ys(t) && t.add(n)) : n.destination = zi, n;
399
399
  }
400
400
  return e.create = function(t, n, i) {
401
401
  return new Rt(t, n, i);
@@ -469,7 +469,7 @@ var Ii = function() {
469
469
  };
470
470
  else {
471
471
  var a;
472
- r && ys.useDeprecatedNextContext ? (a = Object.create(t), a.unsubscribe = function() {
472
+ r && $s.useDeprecatedNextContext ? (a = Object.create(t), a.unsubscribe = function() {
473
473
  return r.unsubscribe();
474
474
  }, o = {
475
475
  next: t.next && wt(t.next, a),
@@ -482,7 +482,7 @@ var Ii = function() {
482
482
  return e;
483
483
  }(Wt);
484
484
  function Be(s) {
485
- $s(s);
485
+ xs(s);
486
486
  }
487
487
  function Mi(s) {
488
488
  throw s;
@@ -526,7 +526,7 @@ var A = function() {
526
526
  }
527
527
  }, s.prototype.forEach = function(e, t) {
528
528
  var n = this;
529
- return t = Sn(t), new t(function(i, r) {
529
+ return t = Cn(t), new t(function(i, r) {
530
530
  var o = new Rt({
531
531
  next: function(a) {
532
532
  try {
@@ -551,7 +551,7 @@ var A = function() {
551
551
  return Ui(e)(this);
552
552
  }, s.prototype.toPromise = function(e) {
553
553
  var t = this;
554
- return e = Sn(e), new e(function(n, i) {
554
+ return e = Cn(e), new e(function(n, i) {
555
555
  var r;
556
556
  t.subscribe(function(o) {
557
557
  return r = o;
@@ -565,15 +565,15 @@ var A = function() {
565
565
  return new s(e);
566
566
  }, s;
567
567
  }();
568
- function Sn(s) {
568
+ function Cn(s) {
569
569
  var e;
570
- return (e = s ?? ys.Promise) !== null && e !== void 0 ? e : Promise;
570
+ return (e = s ?? $s.Promise) !== null && e !== void 0 ? e : Promise;
571
571
  }
572
572
  function ji(s) {
573
573
  return s && $(s.next) && $(s.error) && $(s.complete);
574
574
  }
575
575
  function Di(s) {
576
- return s && s instanceof Wt || ji(s) && bs(s);
576
+ return s && s instanceof Wt || ji(s) && ys(s);
577
577
  }
578
578
  function Hi(s) {
579
579
  return $(s == null ? void 0 : s.lift);
@@ -629,7 +629,7 @@ var Bi = function(s) {
629
629
  s.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
630
630
  }
631
631
  }, e;
632
- }(Wt), Ni = ms(function(s) {
632
+ }(Wt), Ni = vs(function(s) {
633
633
  return function() {
634
634
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
635
635
  };
@@ -640,7 +640,7 @@ var Bi = function(s) {
640
640
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
641
641
  }
642
642
  return e.prototype.lift = function(t) {
643
- var n = new Cn(this, this);
643
+ var n = new An(this, this);
644
644
  return n.operator = t, n;
645
645
  }, e.prototype._throwIfClosed = function() {
646
646
  if (this.closed)
@@ -701,7 +701,7 @@ var Bi = function(s) {
701
701
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
702
702
  }, e.prototype._innerSubscribe = function(t) {
703
703
  var n = this, i = this, r = i.hasError, o = i.isStopped, a = i.observers;
704
- return r || o ? vs : (this.currentObservers = null, a.push(t), new at(function() {
704
+ return r || o ? bs : (this.currentObservers = null, a.push(t), new at(function() {
705
705
  n.currentObservers = null, Ot(a, t);
706
706
  }));
707
707
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -711,9 +711,9 @@ var Bi = function(s) {
711
711
  var t = new A();
712
712
  return t.source = this, t;
713
713
  }, e.create = function(t, n) {
714
- return new Cn(t, n);
714
+ return new An(t, n);
715
715
  }, e;
716
- }(A), Cn = function(s) {
716
+ }(A), An = function(s) {
717
717
  ye(e, s);
718
718
  function e(t, n) {
719
719
  var i = s.call(this) || this;
@@ -730,7 +730,7 @@ var Bi = function(s) {
730
730
  (n = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || n === void 0 || n.call(t);
731
731
  }, e.prototype._subscribe = function(t) {
732
732
  var n, i;
733
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : vs;
733
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : bs;
734
734
  }, e;
735
735
  }(_), U = function(s) {
736
736
  ye(e, s);
@@ -764,7 +764,7 @@ function Fi(s) {
764
764
  function Qt(s) {
765
765
  return s[s.length - 1];
766
766
  }
767
- function xs(s) {
767
+ function ws(s) {
768
768
  return $(Qt(s)) ? s.pop() : void 0;
769
769
  }
770
770
  function Gt(s) {
@@ -776,29 +776,29 @@ function qi(s, e) {
776
776
  var Kt = function(s) {
777
777
  return s && typeof s.length == "number" && typeof s != "function";
778
778
  };
779
- function ws(s) {
779
+ function ks(s) {
780
780
  return $(s == null ? void 0 : s.then);
781
781
  }
782
- function ks(s) {
782
+ function _s(s) {
783
783
  return $(s[Yt]);
784
784
  }
785
- function _s(s) {
785
+ function Ss(s) {
786
786
  return Symbol.asyncIterator && $(s == null ? void 0 : s[Symbol.asyncIterator]);
787
787
  }
788
- function Ss(s) {
788
+ function Cs(s) {
789
789
  return new TypeError("You provided " + (s !== null && typeof s == "object" ? "an invalid object" : "'" + s + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
790
790
  }
791
791
  function Zi() {
792
792
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
793
793
  }
794
- var Cs = Zi();
795
- function As(s) {
796
- return $(s == null ? void 0 : s[Cs]);
797
- }
794
+ var As = Zi();
798
795
  function Es(s) {
796
+ return $(s == null ? void 0 : s[As]);
797
+ }
798
+ function Ts(s) {
799
799
  return Oi(this, arguments, function() {
800
800
  var t, n, i, r;
801
- return gs(this, function(o) {
801
+ return ms(this, function(o) {
802
802
  switch (o.label) {
803
803
  case 0:
804
804
  t = s.getReader(), o.label = 1;
@@ -826,27 +826,27 @@ function Es(s) {
826
826
  });
827
827
  });
828
828
  }
829
- function Ts(s) {
829
+ function Ls(s) {
830
830
  return $(s == null ? void 0 : s.getReader);
831
831
  }
832
832
  function B(s) {
833
833
  if (s instanceof A)
834
834
  return s;
835
835
  if (s != null) {
836
- if (ks(s))
836
+ if (_s(s))
837
837
  return Wi(s);
838
838
  if (Kt(s))
839
839
  return Yi(s);
840
- if (ws(s))
840
+ if (ks(s))
841
841
  return Qi(s);
842
- if (_s(s))
843
- return Ls(s);
844
- if (As(s))
842
+ if (Ss(s))
843
+ return Os(s);
844
+ if (Es(s))
845
845
  return Gi(s);
846
- if (Ts(s))
846
+ if (Ls(s))
847
847
  return Ki(s);
848
848
  }
849
- throw Ss(s);
849
+ throw Cs(s);
850
850
  }
851
851
  function Wi(s) {
852
852
  return new A(function(e) {
@@ -869,7 +869,7 @@ function Qi(s) {
869
869
  e.closed || (e.next(t), e.complete());
870
870
  }, function(t) {
871
871
  return e.error(t);
872
- }).then(null, $s);
872
+ }).then(null, xs);
873
873
  });
874
874
  }
875
875
  function Gi(s) {
@@ -894,7 +894,7 @@ function Gi(s) {
894
894
  e.complete();
895
895
  });
896
896
  }
897
- function Ls(s) {
897
+ function Os(s) {
898
898
  return new A(function(e) {
899
899
  Xi(s, e).catch(function(t) {
900
900
  return e.error(t);
@@ -902,13 +902,13 @@ function Ls(s) {
902
902
  });
903
903
  }
904
904
  function Ki(s) {
905
- return Ls(Es(s));
905
+ return Os(Ts(s));
906
906
  }
907
907
  function Xi(s, e) {
908
908
  var t, n, i, r;
909
909
  return Li(this, void 0, void 0, function() {
910
910
  var o, a;
911
- return gs(this, function(l) {
911
+ return ms(this, function(l) {
912
912
  switch (l.label) {
913
913
  case 0:
914
914
  l.trys.push([0, 5, 6, 11]), t = Pi(s), l.label = 1;
@@ -952,7 +952,7 @@ function q(s, e, t, n, i) {
952
952
  if (s.add(r), !i)
953
953
  return r;
954
954
  }
955
- function Os(s, e) {
955
+ function Ps(s, e) {
956
956
  return e === void 0 && (e = 0), K(function(t, n) {
957
957
  t.subscribe(P(n, function(i) {
958
958
  return q(n, s, function() {
@@ -969,7 +969,7 @@ function Os(s, e) {
969
969
  }));
970
970
  });
971
971
  }
972
- function Ps(s, e) {
972
+ function Rs(s, e) {
973
973
  return e === void 0 && (e = 0), K(function(t, n) {
974
974
  n.add(s.schedule(function() {
975
975
  return t.subscribe(n);
@@ -977,10 +977,10 @@ function Ps(s, e) {
977
977
  });
978
978
  }
979
979
  function Vi(s, e) {
980
- return B(s).pipe(Ps(e), Os(e));
980
+ return B(s).pipe(Rs(e), Ps(e));
981
981
  }
982
982
  function Ji(s, e) {
983
- return B(s).pipe(Ps(e), Os(e));
983
+ return B(s).pipe(Rs(e), Ps(e));
984
984
  }
985
985
  function er(s, e) {
986
986
  return new A(function(t) {
@@ -994,7 +994,7 @@ function tr(s, e) {
994
994
  return new A(function(t) {
995
995
  var n;
996
996
  return q(t, e, function() {
997
- n = s[Cs](), q(t, e, function() {
997
+ n = s[As](), q(t, e, function() {
998
998
  var i, r, o;
999
999
  try {
1000
1000
  i = n.next(), r = i.value, o = i.done;
@@ -1009,7 +1009,7 @@ function tr(s, e) {
1009
1009
  };
1010
1010
  });
1011
1011
  }
1012
- function Rs(s, e) {
1012
+ function Is(s, e) {
1013
1013
  if (!s)
1014
1014
  throw new Error("Iterable cannot be null");
1015
1015
  return new A(function(t) {
@@ -1024,24 +1024,24 @@ function Rs(s, e) {
1024
1024
  });
1025
1025
  }
1026
1026
  function nr(s, e) {
1027
- return Rs(Es(s), e);
1027
+ return Is(Ts(s), e);
1028
1028
  }
1029
1029
  function sr(s, e) {
1030
1030
  if (s != null) {
1031
- if (ks(s))
1031
+ if (_s(s))
1032
1032
  return Vi(s, e);
1033
1033
  if (Kt(s))
1034
1034
  return er(s, e);
1035
- if (ws(s))
1035
+ if (ks(s))
1036
1036
  return Ji(s, e);
1037
- if (_s(s))
1038
- return Rs(s, e);
1039
- if (As(s))
1037
+ if (Ss(s))
1038
+ return Is(s, e);
1039
+ if (Es(s))
1040
1040
  return tr(s, e);
1041
- if (Ts(s))
1041
+ if (Ls(s))
1042
1042
  return nr(s, e);
1043
1043
  }
1044
- throw Ss(s);
1044
+ throw Cs(s);
1045
1045
  }
1046
1046
  function lt(s, e) {
1047
1047
  return e ? sr(s, e) : B(s);
@@ -1064,7 +1064,7 @@ var ir = Array.isArray;
1064
1064
  function rr(s, e) {
1065
1065
  return ir(e) ? s.apply(void 0, se([], Q(e))) : s(e);
1066
1066
  }
1067
- function Is(s) {
1067
+ function Ms(s) {
1068
1068
  return Qe(function(e) {
1069
1069
  return rr(s, e);
1070
1070
  });
@@ -1098,19 +1098,19 @@ function pr(s, e) {
1098
1098
  function dr() {
1099
1099
  for (var s = [], e = 0; e < arguments.length; e++)
1100
1100
  s[e] = arguments[e];
1101
- var t = Gt(s), n = xs(s), i = hr(s), r = i.args, o = i.keys;
1101
+ var t = Gt(s), n = ws(s), i = hr(s), r = i.args, o = i.keys;
1102
1102
  if (r.length === 0)
1103
1103
  return lt([], t);
1104
1104
  var a = new A(fr(r, t, o ? function(l) {
1105
1105
  return pr(o, l);
1106
1106
  } : Pe));
1107
- return n ? a.pipe(Is(n)) : a;
1107
+ return n ? a.pipe(Ms(n)) : a;
1108
1108
  }
1109
1109
  function fr(s, e, t) {
1110
1110
  return t === void 0 && (t = Pe), function(n) {
1111
- An(e, function() {
1111
+ En(e, function() {
1112
1112
  for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
1113
- An(e, function() {
1113
+ En(e, function() {
1114
1114
  var u = lt(s[h], e), p = !1;
1115
1115
  u.subscribe(P(n, function(d) {
1116
1116
  r[h] = d, p || (p = !0, a--), a || n.next(t(r.slice()));
@@ -1123,7 +1123,7 @@ function fr(s, e, t) {
1123
1123
  }, n);
1124
1124
  };
1125
1125
  }
1126
- function An(s, e, t) {
1126
+ function En(s, e, t) {
1127
1127
  s ? q(t, s, e) : e();
1128
1128
  }
1129
1129
  function gr(s, e, t, n, i, r, o, a) {
@@ -1176,12 +1176,12 @@ function mr(s) {
1176
1176
  var vr = ["addListener", "removeListener"], br = ["addEventListener", "removeEventListener"], yr = ["on", "off"];
1177
1177
  function Ge(s, e, t, n) {
1178
1178
  if ($(t) && (n = t, t = void 0), n)
1179
- return Ge(s, e, t).pipe(Is(n));
1179
+ return Ge(s, e, t).pipe(Ms(n));
1180
1180
  var i = Q(wr(s) ? br.map(function(a) {
1181
1181
  return function(l) {
1182
1182
  return s[a](e, l, t);
1183
1183
  };
1184
- }) : $r(s) ? vr.map(En(s, e)) : xr(s) ? yr.map(En(s, e)) : [], 2), r = i[0], o = i[1];
1184
+ }) : $r(s) ? vr.map(Tn(s, e)) : xr(s) ? yr.map(Tn(s, e)) : [], 2), r = i[0], o = i[1];
1185
1185
  if (!r && Kt(s))
1186
1186
  return Xt(function(a) {
1187
1187
  return Ge(a, e, t);
@@ -1199,7 +1199,7 @@ function Ge(s, e, t, n) {
1199
1199
  };
1200
1200
  });
1201
1201
  }
1202
- function En(s, e) {
1202
+ function Tn(s, e) {
1203
1203
  return function(t) {
1204
1204
  return function(n) {
1205
1205
  return s[t](e, n);
@@ -1259,7 +1259,7 @@ function zt(s) {
1259
1259
  function Ut() {
1260
1260
  for (var s = [], e = 0; e < arguments.length; e++)
1261
1261
  s[e] = arguments[e];
1262
- var t = xs(s);
1262
+ var t = ws(s);
1263
1263
  return K(function(n, i) {
1264
1264
  for (var r = s.length, o = new Array(r), a = s.map(function() {
1265
1265
  return !1;
@@ -1278,7 +1278,7 @@ function Ut() {
1278
1278
  });
1279
1279
  }
1280
1280
  var W = /* @__PURE__ */ ((s) => (s.User = "user", s.Agent = "agent", s.System = "system", s))(W || {});
1281
- const Ms = () => crypto.randomUUID();
1281
+ const zs = () => crypto.randomUUID();
1282
1282
  function jl(s) {
1283
1283
  let e = s;
1284
1284
  const t = /https?:\/\/[^\s<]+/gi, n = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, i = s.match(t) || [], r = [];
@@ -1304,7 +1304,7 @@ function _r(s) {
1304
1304
  return Sr(s);
1305
1305
  const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1306
1306
  return s.replace(e, (t) => {
1307
- const n = zs(t);
1307
+ const n = Us(t);
1308
1308
  if (!n)
1309
1309
  return t;
1310
1310
  const i = 50;
@@ -1324,7 +1324,7 @@ function _r(s) {
1324
1324
  return jt(t, n);
1325
1325
  });
1326
1326
  }
1327
- function zs(s) {
1327
+ function Us(s) {
1328
1328
  const e = s.match(/href=["']([^'"]*)["']/);
1329
1329
  if (e && e.length > 1) {
1330
1330
  let t = e[1];
@@ -1338,7 +1338,7 @@ function jt(s, e) {
1338
1338
  function Sr(s) {
1339
1339
  const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1340
1340
  return s.replace(e, (t) => {
1341
- const n = zs(t);
1341
+ const n = Us(t);
1342
1342
  if (!n)
1343
1343
  return t;
1344
1344
  const i = n.split("?").pop(), o = new URLSearchParams(i).get("aceChatGuideTitle");
@@ -1347,7 +1347,7 @@ function Sr(s) {
1347
1347
  }
1348
1348
  class ct {
1349
1349
  constructor(e, t, n) {
1350
- this.type = e, this.sender = t, this.messages = n, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = Ms();
1350
+ this.type = e, this.sender = t, this.messages = n, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = zs();
1351
1351
  }
1352
1352
  update(e) {
1353
1353
  this.messages = [
@@ -1505,8 +1505,8 @@ class Dl {
1505
1505
  * Copyright 2019 Google LLC
1506
1506
  * SPDX-License-Identifier: BSD-3-Clause
1507
1507
  */
1508
- const We = globalThis, Vt = We.ShadowRoot && (We.ShadyCSS === void 0 || We.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Jt = Symbol(), Tn = /* @__PURE__ */ new WeakMap();
1509
- let Us = class {
1508
+ const We = globalThis, Vt = We.ShadowRoot && (We.ShadyCSS === void 0 || We.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Jt = Symbol(), Ln = /* @__PURE__ */ new WeakMap();
1509
+ let js = class {
1510
1510
  constructor(e, t, n) {
1511
1511
  if (this._$cssResult$ = !0, n !== Jt)
1512
1512
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -1517,7 +1517,7 @@ let Us = class {
1517
1517
  const t = this.t;
1518
1518
  if (Vt && e === void 0) {
1519
1519
  const n = t !== void 0 && t.length === 1;
1520
- n && (e = Tn.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Tn.set(t, e));
1520
+ n && (e = Ln.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Ln.set(t, e));
1521
1521
  }
1522
1522
  return e;
1523
1523
  }
@@ -1525,7 +1525,7 @@ let Us = class {
1525
1525
  return this.cssText;
1526
1526
  }
1527
1527
  };
1528
- const Tr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s, ...e) => {
1528
+ const Tr = (s) => new js(typeof s == "string" ? s : s + "", void 0, Jt), E = (s, ...e) => {
1529
1529
  const t = s.length === 1 ? s[0] : e.reduce((n, i, r) => n + ((o) => {
1530
1530
  if (o._$cssResult$ === !0)
1531
1531
  return o.cssText;
@@ -1533,7 +1533,7 @@ const Tr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s,
1533
1533
  return o;
1534
1534
  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.");
1535
1535
  })(i) + s[r + 1], s[0]);
1536
- return new Us(t, s, Jt);
1536
+ return new js(t, s, Jt);
1537
1537
  }, Lr = (s, e) => {
1538
1538
  if (Vt)
1539
1539
  s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
@@ -1542,7 +1542,7 @@ const Tr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s,
1542
1542
  const n = document.createElement("style"), i = We.litNonce;
1543
1543
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = t.cssText, s.appendChild(n);
1544
1544
  }
1545
- }, Ln = Vt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
1545
+ }, On = Vt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
1546
1546
  let t = "";
1547
1547
  for (const n of e.cssRules)
1548
1548
  t += n.cssText;
@@ -1553,7 +1553,7 @@ const Tr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s,
1553
1553
  * Copyright 2017 Google LLC
1554
1554
  * SPDX-License-Identifier: BSD-3-Clause
1555
1555
  */
1556
- const { is: Or, defineProperty: Pr, getOwnPropertyDescriptor: Rr, getOwnPropertyNames: Ir, getOwnPropertySymbols: Mr, getPrototypeOf: zr } = Object, Y = globalThis, On = Y.trustedTypes, Ur = On ? On.emptyScript : "", kt = Y.reactiveElementPolyfillSupport, we = (s, e) => s, Ke = { toAttribute(s, e) {
1556
+ const { is: Or, defineProperty: Pr, getOwnPropertyDescriptor: Rr, getOwnPropertyNames: Ir, getOwnPropertySymbols: Mr, getPrototypeOf: zr } = Object, Y = globalThis, Pn = Y.trustedTypes, Ur = Pn ? Pn.emptyScript : "", kt = Y.reactiveElementPolyfillSupport, we = (s, e) => s, Ke = { toAttribute(s, e) {
1557
1557
  switch (e) {
1558
1558
  case Boolean:
1559
1559
  s = s ? Ur : null;
@@ -1581,7 +1581,7 @@ const { is: Or, defineProperty: Pr, getOwnPropertyDescriptor: Rr, getOwnProperty
1581
1581
  }
1582
1582
  }
1583
1583
  return t;
1584
- } }, en = (s, e) => !Or(s, e), Pn = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: en };
1584
+ } }, en = (s, e) => !Or(s, e), Rn = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: en };
1585
1585
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Y.litPropertyMetadata ?? (Y.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1586
1586
  let le = class extends HTMLElement {
1587
1587
  static addInitializer(e) {
@@ -1590,7 +1590,7 @@ let le = class extends HTMLElement {
1590
1590
  static get observedAttributes() {
1591
1591
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1592
1592
  }
1593
- static createProperty(e, t = Pn) {
1593
+ static createProperty(e, t = Rn) {
1594
1594
  if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
1595
1595
  const n = Symbol(), i = this.getPropertyDescriptor(e, n, t);
1596
1596
  i !== void 0 && Pr(this.prototype, e, i);
@@ -1610,7 +1610,7 @@ let le = class extends HTMLElement {
1610
1610
  }, configurable: !0, enumerable: !0 };
1611
1611
  }
1612
1612
  static getPropertyOptions(e) {
1613
- return this.elementProperties.get(e) ?? Pn;
1613
+ return this.elementProperties.get(e) ?? Rn;
1614
1614
  }
1615
1615
  static _$Ei() {
1616
1616
  if (this.hasOwnProperty(we("elementProperties")))
@@ -1645,9 +1645,9 @@ let le = class extends HTMLElement {
1645
1645
  if (Array.isArray(e)) {
1646
1646
  const n = new Set(e.flat(1 / 0).reverse());
1647
1647
  for (const i of n)
1648
- t.unshift(Ln(i));
1648
+ t.unshift(On(i));
1649
1649
  } else
1650
- e !== void 0 && t.push(Ln(e));
1650
+ e !== void 0 && t.push(On(e));
1651
1651
  return t;
1652
1652
  }
1653
1653
  static _$Eu(e, t) {
@@ -1800,13 +1800,13 @@ le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[we("elementPr
1800
1800
  * Copyright 2017 Google LLC
1801
1801
  * SPDX-License-Identifier: BSD-3-Clause
1802
1802
  */
1803
- const ke = globalThis, Xe = ke.trustedTypes, Rn = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, js = "$lit$", Z = `lit$${(Math.random() + "").slice(9)}$`, Ds = "?" + Z, jr = `<${Ds}>`, ie = document, Ae = () => ie.createComment(""), Ee = (s) => s === null || typeof s != "object" && typeof s != "function", Hs = Array.isArray, Dr = (s) => Hs(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1804
- \f\r]`, $e = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, In = /-->/g, Mn = />/g, ee = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
1805
- \f\r"'\`<>=]|("|')|))|$)`, "g"), zn = /'/g, Un = /"/g, Bs = /^(?:script|style|textarea|title)$/i, Hr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Hr(1), G = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), jn = /* @__PURE__ */ new WeakMap(), ne = ie.createTreeWalker(ie, 129);
1806
- function Ns(s, e) {
1803
+ const ke = globalThis, Xe = ke.trustedTypes, In = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Ds = "$lit$", Z = `lit$${(Math.random() + "").slice(9)}$`, Hs = "?" + Z, jr = `<${Hs}>`, ie = document, Ae = () => ie.createComment(""), Ee = (s) => s === null || typeof s != "object" && typeof s != "function", Bs = Array.isArray, Dr = (s) => Bs(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1804
+ \f\r]`, $e = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Mn = /-->/g, zn = />/g, ee = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
1805
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Un = /'/g, jn = /"/g, Ns = /^(?:script|style|textarea|title)$/i, Hr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Hr(1), G = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Dn = /* @__PURE__ */ new WeakMap(), ne = ie.createTreeWalker(ie, 129);
1806
+ function Fs(s, e) {
1807
1807
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
1808
1808
  throw Error("invalid template strings array");
1809
- return Rn !== void 0 ? Rn.createHTML(e) : e;
1809
+ return In !== void 0 ? In.createHTML(e) : e;
1810
1810
  }
1811
1811
  const Br = (s, e) => {
1812
1812
  const t = s.length - 1, n = [];
@@ -1815,11 +1815,11 @@ const Br = (s, e) => {
1815
1815
  const l = s[a];
1816
1816
  let c, h, u = -1, p = 0;
1817
1817
  for (; p < l.length && (o.lastIndex = p, h = o.exec(l), h !== null); )
1818
- p = o.lastIndex, o === $e ? h[1] === "!--" ? o = In : h[1] !== void 0 ? o = Mn : h[2] !== void 0 ? (Bs.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = ee) : h[3] !== void 0 && (o = ee) : o === ee ? h[0] === ">" ? (o = i ?? $e, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? ee : h[3] === '"' ? Un : zn) : o === Un || o === zn ? o = ee : o === In || o === Mn ? o = $e : (o = ee, i = void 0);
1818
+ p = o.lastIndex, o === $e ? h[1] === "!--" ? o = Mn : h[1] !== void 0 ? o = zn : h[2] !== void 0 ? (Ns.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = ee) : h[3] !== void 0 && (o = ee) : o === ee ? h[0] === ">" ? (o = i ?? $e, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? ee : h[3] === '"' ? jn : Un) : o === jn || o === Un ? o = ee : o === Mn || o === zn ? o = $e : (o = ee, i = void 0);
1819
1819
  const d = o === ee && s[a + 1].startsWith("/>") ? " " : "";
1820
- r += o === $e ? l + jr : u >= 0 ? (n.push(c), l.slice(0, u) + js + l.slice(u) + Z + d) : l + Z + (u === -2 ? a : d);
1820
+ r += o === $e ? l + jr : u >= 0 ? (n.push(c), l.slice(0, u) + Ds + l.slice(u) + Z + d) : l + Z + (u === -2 ? a : d);
1821
1821
  }
1822
- return [Ns(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1822
+ return [Fs(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1823
1823
  };
1824
1824
  class Te {
1825
1825
  constructor({ strings: e, _$litType$: t }, n) {
@@ -1835,12 +1835,12 @@ class Te {
1835
1835
  if (i.nodeType === 1) {
1836
1836
  if (i.hasAttributes())
1837
1837
  for (const u of i.getAttributeNames())
1838
- if (u.endsWith(js)) {
1838
+ if (u.endsWith(Ds)) {
1839
1839
  const p = h[o++], d = i.getAttribute(u).split(Z), b = /([.?@])?(.*)/.exec(p);
1840
1840
  l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ? Fr : b[1] === "?" ? qr : b[1] === "@" ? Zr : ht }), i.removeAttribute(u);
1841
1841
  } else
1842
1842
  u.startsWith(Z) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1843
- if (Bs.test(i.tagName)) {
1843
+ if (Ns.test(i.tagName)) {
1844
1844
  const u = i.textContent.split(Z), p = u.length - 1;
1845
1845
  if (p > 0) {
1846
1846
  i.textContent = Xe ? Xe.emptyScript : "";
@@ -1850,7 +1850,7 @@ class Te {
1850
1850
  }
1851
1851
  }
1852
1852
  } else if (i.nodeType === 8)
1853
- if (i.data === Ds)
1853
+ if (i.data === Hs)
1854
1854
  l.push({ type: 2, index: r });
1855
1855
  else {
1856
1856
  let u = -1;
@@ -1935,7 +1935,7 @@ class Ie {
1935
1935
  }
1936
1936
  $(e) {
1937
1937
  var r;
1938
- const { values: t, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Te.createElement(Ns(n.h, n.h[0]), this.options)), n);
1938
+ const { values: t, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Te.createElement(Fs(n.h, n.h[0]), this.options)), n);
1939
1939
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i)
1940
1940
  this._$AH.p(t);
1941
1941
  else {
@@ -1944,11 +1944,11 @@ class Ie {
1944
1944
  }
1945
1945
  }
1946
1946
  _$AC(e) {
1947
- let t = jn.get(e.strings);
1948
- return t === void 0 && jn.set(e.strings, t = new Te(e)), t;
1947
+ let t = Dn.get(e.strings);
1948
+ return t === void 0 && Dn.set(e.strings, t = new Te(e)), t;
1949
1949
  }
1950
1950
  k(e) {
1951
- Hs(this._$AH) || (this._$AH = [], this._$AR());
1951
+ Bs(this._$AH) || (this._$AH = [], this._$AR());
1952
1952
  const t = this._$AH;
1953
1953
  let n, i = 0;
1954
1954
  for (const r of e)
@@ -2077,12 +2077,12 @@ let k = class extends le {
2077
2077
  return G;
2078
2078
  }
2079
2079
  };
2080
- var ds;
2081
- k._$litElement$ = !0, k.finalized = !0, (ds = globalThis.litElementHydrateSupport) == null || ds.call(globalThis, { LitElement: k });
2080
+ var fs;
2081
+ k._$litElement$ = !0, k.finalized = !0, (fs = globalThis.litElementHydrateSupport) == null || fs.call(globalThis, { LitElement: k });
2082
2082
  const Ct = globalThis.litElementPolyfillSupport;
2083
2083
  Ct == null || Ct({ LitElement: k });
2084
2084
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
2085
- const Qr = { name: "alert", 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>' }, Gr = { name: "check-circle-filled", 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>' }, Kr = { name: "check-circle", 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>' }, Xr = { name: "chevron-down", 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>' }, Vr = { name: "close-circle", 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>' }, Dn = { name: "mute", 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>' }, Jr = { 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>' }, eo = { name: "send", 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>' }, Hn = { name: "volume", 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>' }, ce = {
2085
+ const Qr = { name: "alert", 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>' }, Gr = { name: "check-circle-filled", 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>' }, Kr = { name: "check-circle", 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>' }, Xr = { name: "chevron-down", 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>' }, Vr = { name: "close-circle", 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>' }, Hn = { name: "mute", 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>' }, Jr = { 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>' }, eo = { name: "send", 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>' }, Bn = { name: "volume", 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>' }, ce = {
2086
2086
  allRenderFn: !1,
2087
2087
  cmpDidLoad: !0,
2088
2088
  cmpDidUnload: !1,
@@ -2166,8 +2166,8 @@ const Qr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.
2166
2166
  transformTagName: !1,
2167
2167
  attachStyles: !0
2168
2168
  };
2169
- let he, Fs, ut, qs = !1, Ve = !1, tn = !1, T = !1, Bn = null, Dt = !1;
2170
- const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Zs = pt.HTMLElement || class {
2169
+ let he, qs, ut, Zs = !1, Ve = !1, tn = !1, T = !1, Nn = null, Dt = !1;
2170
+ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Ws = pt.HTMLElement || class {
2171
2171
  }, S = {
2172
2172
  $flags$: 0,
2173
2173
  $resourcesUrl$: "",
@@ -2193,7 +2193,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2193
2193
  } catch {
2194
2194
  }
2195
2195
  return !1;
2196
- })(), Ws = (s, e, t, n) => {
2196
+ })(), Ys = (s, e, t, n) => {
2197
2197
  t && t.map(([i, r, o]) => {
2198
2198
  const a = ro(s, i), l = io(e, o), c = oo(i);
2199
2199
  S.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => S.rel(a, r, l, c));
@@ -2207,24 +2207,24 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2207
2207
  }, ro = (s, e) => e & 4 ? H : e & 8 ? pt : e & 16 ? H.body : s, oo = (s) => to ? {
2208
2208
  passive: (s & 1) !== 0,
2209
2209
  capture: (s & 2) !== 0
2210
- } : (s & 2) !== 0, Nn = "http://www.w3.org/1999/xlink", re = (s, e = "") => () => {
2211
- }, Fn = /* @__PURE__ */ new WeakMap(), ao = (s, e, t) => {
2210
+ } : (s & 2) !== 0, Fn = "http://www.w3.org/1999/xlink", re = (s, e = "") => () => {
2211
+ }, qn = /* @__PURE__ */ new WeakMap(), ao = (s, e, t) => {
2212
2212
  let n = tt.get(s);
2213
2213
  so && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, tt.set(s, n);
2214
2214
  }, lo = (s, e, t, n) => {
2215
- let i = Ys(e, t), r = tt.get(i);
2215
+ let i = Qs(e, t), r = tt.get(i);
2216
2216
  if (s = s.nodeType === 11 ? s : H, r)
2217
2217
  if (typeof r == "string") {
2218
2218
  s = s.head || s;
2219
- let o = Fn.get(s), a;
2220
- o || Fn.set(s, o = /* @__PURE__ */ new Set()), o.has(i) || (a = H.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(i));
2219
+ let o = qn.get(s), a;
2220
+ o || qn.set(s, o = /* @__PURE__ */ new Set()), o.has(i) || (a = H.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(i));
2221
2221
  } else
2222
2222
  s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
2223
2223
  return i;
2224
2224
  }, co = (s) => {
2225
2225
  const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = re("attachStyles", e.$tagName$), r = lo(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
2226
2226
  n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), i();
2227
- }, Ys = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), ho = (s) => Do.map((e) => e(s)).find((e) => !!e), qn = {}, uo = "http://www.w3.org/2000/svg", po = "http://www.w3.org/1999/xhtml", fo = (s) => s != null, nn = (s) => (s = typeof s, s === "object" || s === "function"), fe = (s, e, ...t) => {
2227
+ }, Qs = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), ho = (s) => Do.map((e) => e(s)).find((e) => !!e), Zn = {}, uo = "http://www.w3.org/2000/svg", po = "http://www.w3.org/1999/xhtml", fo = (s) => s != null, nn = (s) => (s = typeof s, s === "object" || s === "function"), fe = (s, e, ...t) => {
2228
2228
  let n = null, i = null, r = null, o = !1, a = !1, l = [];
2229
2229
  const c = (u) => {
2230
2230
  for (let p = 0; p < u.length; p++)
@@ -2251,9 +2251,9 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2251
2251
  };
2252
2252
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2253
2253
  }, sn = {}, go = (s) => s && s.$tag$ === sn, mo = {
2254
- forEach: (s, e) => s.map(Zn).forEach(e),
2255
- map: (s, e) => s.map(Zn).map(e).map(vo)
2256
- }, Zn = (s) => ({
2254
+ forEach: (s, e) => s.map(Wn).forEach(e),
2255
+ map: (s, e) => s.map(Wn).map(e).map(vo)
2256
+ }, Wn = (s) => ({
2257
2257
  vattrs: s.$attrs$,
2258
2258
  vchildren: s.$children$,
2259
2259
  vkey: s.$key$,
@@ -2267,11 +2267,11 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2267
2267
  }
2268
2268
  const e = Je(s.vtag, s.vtext);
2269
2269
  return e.$attrs$ = s.vattrs, e.$children$ = s.vchildren, e.$key$ = s.vkey, e.$name$ = s.vname, e;
2270
- }, Wn = (s, e, t, n, i, r) => {
2270
+ }, Yn = (s, e, t, n, i, r) => {
2271
2271
  if (t !== n) {
2272
- let o = Kn(s, e), a = e.toLowerCase();
2272
+ let o = Xn(s, e), a = e.toLowerCase();
2273
2273
  if (e === "class") {
2274
- const l = s.classList, c = Yn(t), h = Yn(n);
2274
+ const l = s.classList, c = Qn(t), h = Qn(n);
2275
2275
  l.remove(...c.filter((u) => u && !h.includes(u))), l.add(...h.filter((u) => u && !c.includes(u)));
2276
2276
  } else if (e === "style") {
2277
2277
  for (const l in t)
@@ -2282,7 +2282,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2282
2282
  if (e === "ref")
2283
2283
  n && n(s);
2284
2284
  else if (!s.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
2285
- e[2] === "-" ? e = e.slice(3) : Kn(pt, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && S.rel(s, e, t, !1), n && S.ael(s, e, n, !1);
2285
+ e[2] === "-" ? e = e.slice(3) : Xn(pt, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && S.rel(s, e, t, !1), n && S.ael(s, e, n, !1);
2286
2286
  else {
2287
2287
  const l = nn(n);
2288
2288
  if ((o || l && n !== null) && !i)
@@ -2296,18 +2296,18 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2296
2296
  } catch {
2297
2297
  }
2298
2298
  let c = !1;
2299
- a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(Nn, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(Nn, e, n) : s.setAttribute(e, n));
2299
+ a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(Fn, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(Fn, e, n) : s.setAttribute(e, n));
2300
2300
  }
2301
2301
  }
2302
- }, bo = /\s/, Yn = (s) => s ? s.split(bo) : [], Qs = (s, e, t, n) => {
2303
- const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || qn, o = e.$attrs$ || qn;
2302
+ }, bo = /\s/, Qn = (s) => s ? s.split(bo) : [], Gs = (s, e, t, n) => {
2303
+ const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || Zn, o = e.$attrs$ || Zn;
2304
2304
  for (n in r)
2305
- n in o || Wn(i, n, r[n], void 0, t, e.$flags$);
2305
+ n in o || Yn(i, n, r[n], void 0, t, e.$flags$);
2306
2306
  for (n in o)
2307
- Wn(i, n, r[n], o[n], t, e.$flags$);
2307
+ Yn(i, n, r[n], o[n], t, e.$flags$);
2308
2308
  }, et = (s, e, t, n) => {
2309
2309
  let i = e.$children$[t], r = 0, o, a, l;
2310
- if (qs || (tn = !0, i.$tag$ === "slot" && (he && n.classList.add(he + "-s"), i.$flags$ |= i.$children$ ? (
2310
+ if (Zs || (tn = !0, i.$tag$ === "slot" && (he && n.classList.add(he + "-s"), i.$flags$ |= i.$children$ ? (
2311
2311
  // slot element has fallback content
2312
2312
  2
2313
2313
  ) : (
@@ -2318,27 +2318,27 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2318
2318
  else if (i.$flags$ & 1)
2319
2319
  o = i.$elm$ = H.createTextNode("");
2320
2320
  else {
2321
- if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = H.createElementNS(T ? uo : po, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), Qs(null, i, T), fo(he) && o["s-si"] !== he && o.classList.add(o["s-si"] = he), i.$children$)
2321
+ if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = H.createElementNS(T ? uo : po, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), Gs(null, i, T), fo(he) && o["s-si"] !== he && o.classList.add(o["s-si"] = he), i.$children$)
2322
2322
  for (r = 0; r < i.$children$.length; ++r)
2323
2323
  a = et(s, i, r, o), a && o.appendChild(a);
2324
2324
  i.$tag$ === "svg" ? T = !1 : o.tagName === "foreignObject" && (T = !0);
2325
2325
  }
2326
- return o["s-hn"] = ut, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Fs, o["s-sn"] = i.$name$ || "", l = s && s.$children$ && s.$children$[t], l && l.$tag$ === i.$tag$ && s.$elm$ && Le(s.$elm$, !1)), o;
2326
+ return o["s-hn"] = ut, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = qs, o["s-sn"] = i.$name$ || "", l = s && s.$children$ && s.$children$[t], l && l.$tag$ === i.$tag$ && s.$elm$ && Le(s.$elm$, !1)), o;
2327
2327
  }, Le = (s, e) => {
2328
2328
  S.$flags$ |= 1;
2329
2329
  const t = s.childNodes;
2330
2330
  for (let n = t.length - 1; n >= 0; n--) {
2331
2331
  const i = t[n];
2332
- i["s-hn"] !== ut && i["s-ol"] && (Xs(i).insertBefore(i, rn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, tn = !0), e && Le(i, e);
2332
+ i["s-hn"] !== ut && i["s-ol"] && (Vs(i).insertBefore(i, rn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, tn = !0), e && Le(i, e);
2333
2333
  }
2334
2334
  S.$flags$ &= -2;
2335
- }, Gs = (s, e, t, n, i, r) => {
2335
+ }, Ks = (s, e, t, n, i, r) => {
2336
2336
  let o = s["s-cr"] && s["s-cr"].parentNode || s, a;
2337
2337
  for (o.shadowRoot && o.tagName === ut && (o = o.shadowRoot); i <= r; ++i)
2338
2338
  n[i] && (a = et(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, rn(e))));
2339
- }, Ks = (s, e, t, n, i) => {
2339
+ }, Xs = (s, e, t, n, i) => {
2340
2340
  for (; e <= t; ++e)
2341
- (n = s[e]) && (i = n.$elm$, ei(n), Ve = !0, i["s-ol"] ? i["s-ol"].remove() : Le(i, !0), i.remove());
2341
+ (n = s[e]) && (i = n.$elm$, ti(n), Ve = !0, i["s-ol"] ? i["s-ol"].remove() : Le(i, !0), i.remove());
2342
2342
  }, yo = (s, e, t, n) => {
2343
2343
  let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], h = e[l], u = n.length - 1, p = n[0], d = n[u], b, f;
2344
2344
  for (; i <= l && r <= u; )
@@ -2364,14 +2364,14 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2364
2364
  o = a;
2365
2365
  break;
2366
2366
  }
2367
- o >= 0 ? (f = e[o], f.$tag$ !== p.$tag$ ? b = et(e && e[r], t, o, s) : (ue(f, p), e[o] = void 0, b = f.$elm$), p = n[++r]) : (b = et(e && e[r], t, r, s), p = n[++r]), b && Xs(c.$elm$).insertBefore(b, rn(c.$elm$));
2367
+ o >= 0 ? (f = e[o], f.$tag$ !== p.$tag$ ? b = et(e && e[r], t, o, s) : (ue(f, p), e[o] = void 0, b = f.$elm$), p = n[++r]) : (b = et(e && e[r], t, r, s), p = n[++r]), b && Vs(c.$elm$).insertBefore(b, rn(c.$elm$));
2368
2368
  }
2369
- i > l ? Gs(s, n[u + 1] == null ? null : n[u + 1].$elm$, t, n, r, u) : r > u && Ks(e, i, l);
2370
- }, Ne = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, rn = (s) => s && s["s-ol"] || s, Xs = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, ue = (s, e) => {
2369
+ i > l ? Ks(s, n[u + 1] == null ? null : n[u + 1].$elm$, t, n, r, u) : r > u && Xs(e, i, l);
2370
+ }, Ne = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, rn = (s) => s && s["s-ol"] || s, Vs = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, ue = (s, e) => {
2371
2371
  const t = e.$elm$ = s.$elm$, n = s.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
2372
2372
  let a;
2373
- o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Qs(s, e, T), n !== null && i !== null ? yo(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Gs(t, null, e, i, 0, i.length - 1)) : n !== null && Ks(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
2374
- }, Vs = (s) => {
2373
+ o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Gs(s, e, T), n !== null && i !== null ? yo(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Ks(t, null, e, i, 0, i.length - 1)) : n !== null && Xs(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
2374
+ }, Js = (s) => {
2375
2375
  let e = s.childNodes, t, n, i, r, o, a;
2376
2376
  for (n = 0, i = e.length; n < i; n++)
2377
2377
  if (t = e[n], t.nodeType === 1) {
@@ -2387,31 +2387,31 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2387
2387
  break;
2388
2388
  }
2389
2389
  }
2390
- Vs(t);
2390
+ Js(t);
2391
2391
  }
2392
- }, O = [], Js = (s) => {
2392
+ }, O = [], ei = (s) => {
2393
2393
  let e, t, n, i, r, o, a = 0, l = s.childNodes, c = l.length;
2394
2394
  for (; a < c; a++) {
2395
2395
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2396
2396
  for (n = t.parentNode.childNodes, i = e["s-sn"], o = n.length - 1; o >= 0; o--)
2397
- t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Qn(t, i) ? (r = O.find((h) => h.$nodeToRelocate$ === t), Ve = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : O.push({
2397
+ t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Gn(t, i) ? (r = O.find((h) => h.$nodeToRelocate$ === t), Ve = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : O.push({
2398
2398
  $slotRefNode$: e,
2399
2399
  $nodeToRelocate$: t
2400
2400
  }), t["s-sr"] && O.map((h) => {
2401
- Qn(h.$nodeToRelocate$, t["s-sn"]) && (r = O.find((u) => u.$nodeToRelocate$ === t), r && !h.$slotRefNode$ && (h.$slotRefNode$ = r.$slotRefNode$));
2401
+ Gn(h.$nodeToRelocate$, t["s-sn"]) && (r = O.find((u) => u.$nodeToRelocate$ === t), r && !h.$slotRefNode$ && (h.$slotRefNode$ = r.$slotRefNode$));
2402
2402
  })) : O.some((h) => h.$nodeToRelocate$ === t) || O.push({
2403
2403
  $nodeToRelocate$: t
2404
2404
  }));
2405
- e.nodeType === 1 && Js(e);
2405
+ e.nodeType === 1 && ei(e);
2406
2406
  }
2407
- }, Qn = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", ei = (s) => {
2408
- s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(ei);
2407
+ }, Gn = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", ti = (s) => {
2408
+ s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(ti);
2409
2409
  }, $o = (s, e) => {
2410
2410
  const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r = go(e) ? e : fe(null, null, e);
2411
- ut = t.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, he = t["s-sc"], Fs = t["s-cr"], qs = (n.$flags$ & 1) !== 0, Ve = !1, ue(i, r);
2411
+ ut = t.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, he = t["s-sc"], qs = t["s-cr"], Zs = (n.$flags$ & 1) !== 0, Ve = !1, ue(i, r);
2412
2412
  {
2413
2413
  if (S.$flags$ |= 1, tn) {
2414
- Js(r.$elm$);
2414
+ ei(r.$elm$);
2415
2415
  let o, a, l, c, h, u, p = 0;
2416
2416
  for (; p < O.length; p++)
2417
2417
  o = O[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = H.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
@@ -2426,7 +2426,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2426
2426
  } else
2427
2427
  a.nodeType === 1 && (a.hidden = !0);
2428
2428
  }
2429
- Ve && Vs(r.$elm$), S.$flags$ &= -2, O.length = 0;
2429
+ Ve && Js(r.$elm$), S.$flags$ &= -2, O.length = 0;
2430
2430
  }
2431
2431
  }, xo = (s) => s, wo = (s, e, t) => {
2432
2432
  const n = xo(s);
@@ -2442,10 +2442,10 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2442
2442
  const n = S.ce(e, t);
2443
2443
  return s.dispatchEvent(n), n;
2444
2444
  }, _o = (s, e) => {
2445
- }, ti = (s, e) => (s.$flags$ |= 16, _o(s, s.$ancestorComponent$), No(() => So(s, e))), So = (s, e) => {
2445
+ }, ni = (s, e) => (s.$flags$ |= 16, _o(s, s.$ancestorComponent$), No(() => So(s, e))), So = (s, e) => {
2446
2446
  const t = s.$hostElement$, n = re("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
2447
2447
  let r;
2448
- return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = Gn(r, () => ge(i, "componentWillRender")), n(), Gn(r, () => Co(s, i, e));
2448
+ return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = Kn(r, () => ge(i, "componentWillRender")), n(), Kn(r, () => Co(s, i, e));
2449
2449
  }, Co = async (s, e, t) => {
2450
2450
  const n = s.$hostElement$, i = re("update", s.$cmpMeta$.$tagName$);
2451
2451
  n["s-rc"], t && co(s);
@@ -2453,11 +2453,11 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2453
2453
  Ao(s, e, n), r(), i(), Eo(s);
2454
2454
  }, Ao = (s, e, t) => {
2455
2455
  try {
2456
- Bn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide || $o(s, e));
2456
+ Nn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide || $o(s, e));
2457
2457
  } catch (a) {
2458
2458
  Me(a, s.$hostElement$);
2459
2459
  }
2460
- return Bn = null, null;
2460
+ return Nn = null, null;
2461
2461
  }, Eo = (s) => {
2462
2462
  const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = re("postUpdate", e), i = t;
2463
2463
  s.$ancestorComponent$, ge(i, "componentDidRender"), s.$flags$ & 64 ? (ge(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, ge(i, "componentDidLoad"), n());
@@ -2468,7 +2468,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2468
2468
  } catch (n) {
2469
2469
  Me(n);
2470
2470
  }
2471
- }, Gn = (s, e) => s && s.then ? s.then(e) : e(), To = (s, e) => s != null && !nn(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, Lo = (s, e) => dt(s).$instanceValues$.get(e), Oo = (s, e, t, n) => {
2471
+ }, Kn = (s, e) => s && s.then ? s.then(e) : e(), To = (s, e) => s != null && !nn(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, Lo = (s, e) => dt(s).$instanceValues$.get(e), Oo = (s, e, t, n) => {
2472
2472
  const i = dt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
2473
2473
  t = To(t, n.$members$[e][0]);
2474
2474
  const c = Number.isNaN(o) && Number.isNaN(t);
@@ -2488,7 +2488,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2488
2488
  if ((a & 18) === 2) {
2489
2489
  if (l.componentShouldUpdate && l.componentShouldUpdate(t, o, e) === !1)
2490
2490
  return;
2491
- ti(i, !1);
2491
+ ni(i, !1);
2492
2492
  }
2493
2493
  }
2494
2494
  }
@@ -2533,18 +2533,18 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2533
2533
  if (!(e.$flags$ & 32) && (i = s.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
2534
2534
  let o = i.style;
2535
2535
  typeof o != "string" && (o = o[e.$modeName$ = ho(s)]);
2536
- const a = Ys(t, e.$modeName$);
2536
+ const a = Qs(t, e.$modeName$);
2537
2537
  if (!tt.has(a)) {
2538
2538
  const l = re("registerStyles", t.$tagName$);
2539
2539
  ao(a, o, !!(t.$flags$ & 1)), l();
2540
2540
  }
2541
2541
  }
2542
- e.$ancestorComponent$, (() => ti(e, !0))();
2542
+ e.$ancestorComponent$, (() => ni(e, !0))();
2543
2543
  }, Io = (s) => {
2544
2544
  }, Mo = (s) => {
2545
2545
  if (!(S.$flags$ & 1)) {
2546
2546
  const e = dt(s), t = e.$cmpMeta$, n = re("connectedCallback", t.$tagName$);
2547
- e.$flags$ & 1 ? (Ws(s, e, t.$listeners$), Io(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && zo(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2547
+ e.$flags$ & 1 ? (Ys(s, e, t.$listeners$), Io(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && zo(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2548
2548
  if (r & 31 && s.hasOwnProperty(i)) {
2549
2549
  const o = s[i];
2550
2550
  delete s[i], s[i] = o;
@@ -2559,7 +2559,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2559
2559
  const e = dt(s);
2560
2560
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2561
2561
  }
2562
- }, ni = (s, e) => {
2562
+ }, si = (s, e) => {
2563
2563
  const t = {
2564
2564
  $flags$: e[0],
2565
2565
  $tagName$: e[1]
@@ -2583,17 +2583,17 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2583
2583
  });
2584
2584
  }
2585
2585
  }), s.is = t.$tagName$, Po(s, t);
2586
- }, si = /* @__PURE__ */ new WeakMap(), dt = (s) => si.get(s), jo = (s, e) => {
2586
+ }, ii = /* @__PURE__ */ new WeakMap(), dt = (s) => ii.get(s), jo = (s, e) => {
2587
2587
  const t = {
2588
2588
  $flags$: 0,
2589
2589
  $hostElement$: s,
2590
2590
  $cmpMeta$: e,
2591
2591
  $instanceValues$: /* @__PURE__ */ new Map()
2592
2592
  };
2593
- return Ws(s, t, e.$listeners$), si.set(s, t);
2594
- }, Kn = (s, e) => e in s, Me = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(), Do = [], Xn = [], ii = [], Ho = (s, e) => (t) => {
2593
+ return Ys(s, t, e.$listeners$), ii.set(s, t);
2594
+ }, Xn = (s, e) => e in s, Me = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(), Do = [], Vn = [], ri = [], Ho = (s, e) => (t) => {
2595
2595
  s.push(t), Dt || (Dt = !0, e && S.$flags$ & 4 ? Bo(Ht) : S.raf(Ht));
2596
- }, Vn = (s) => {
2596
+ }, Jn = (s) => {
2597
2597
  for (let e = 0; e < s.length; e++)
2598
2598
  try {
2599
2599
  s[e](performance.now());
@@ -2602,8 +2602,8 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
2602
2602
  }
2603
2603
  s.length = 0;
2604
2604
  }, Ht = () => {
2605
- Vn(Xn), Vn(ii), (Dt = Xn.length > 0) && S.raf(Ht);
2606
- }, Bo = (s) => no().then(s), No = /* @__PURE__ */ Ho(ii, !0), Fo = (s = {}) => {
2605
+ Jn(Vn), Jn(ri), (Dt = Vn.length > 0) && S.raf(Ht);
2606
+ }, Bo = (s) => no().then(s), No = /* @__PURE__ */ Ho(ri, !0), Fo = (s = {}) => {
2607
2607
  const { content: e = "", title: t, attributes: n = [] } = s;
2608
2608
  let i = "", r = [
2609
2609
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2620,7 +2620,7 @@ class Wo {
2620
2620
  this.voca_component = e, this.voca_added = Zo(/* @__PURE__ */ new Date());
2621
2621
  }
2622
2622
  }
2623
- const Yo = "telia-vst{display:none}", Qo = /* @__PURE__ */ ni(class extends Zs {
2623
+ const Yo = "telia-vst{display:none}", Qo = /* @__PURE__ */ si(class extends Ws {
2624
2624
  constructor() {
2625
2625
  super(), this.__registerHost(), this.vocaInternalUStats = wo(this, "vocaInternalUStats", 7);
2626
2626
  }
@@ -2636,7 +2636,7 @@ const Yo = "telia-vst{display:none}", Qo = /* @__PURE__ */ ni(class extends Zs {
2636
2636
  }, [0, "telia-vst", {
2637
2637
  dataTrackingId: [1, "data-tracking-id"]
2638
2638
  }]);
2639
- function ri() {
2639
+ function oi() {
2640
2640
  if (typeof customElements > "u")
2641
2641
  return;
2642
2642
  ["telia-vst"].forEach((e) => {
@@ -2647,7 +2647,7 @@ function ri() {
2647
2647
  }
2648
2648
  });
2649
2649
  }
2650
- ri();
2650
+ oi();
2651
2651
  function Bt() {
2652
2652
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2653
2653
  }
@@ -2658,7 +2658,7 @@ function Go() {
2658
2658
  function Ko() {
2659
2659
  return Bt().vocadsIconsRegistered;
2660
2660
  }
2661
- const Xo = ".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))}", Vo = /* @__PURE__ */ ni(class extends Zs {
2661
+ const Xo = ".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))}", Vo = /* @__PURE__ */ si(class extends Ws {
2662
2662
  constructor() {
2663
2663
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2664
2664
  }
@@ -2708,7 +2708,7 @@ function Jo() {
2708
2708
  customElements.get(e) || customElements.define(e, Vo);
2709
2709
  break;
2710
2710
  case "telia-vst":
2711
- customElements.get(e) || ri();
2711
+ customElements.get(e) || oi();
2712
2712
  break;
2713
2713
  }
2714
2714
  });
@@ -2802,7 +2802,7 @@ const _e = (s, e) => {
2802
2802
  break;
2803
2803
  t = e._$AN, t.delete(s), s = e;
2804
2804
  } while ((t == null ? void 0 : t.size) === 0);
2805
- }, oi = (s) => {
2805
+ }, ai = (s) => {
2806
2806
  for (let e; e = s._$AM; s = e) {
2807
2807
  let t = e._$AN;
2808
2808
  if (t === void 0)
@@ -2813,7 +2813,7 @@ const _e = (s, e) => {
2813
2813
  }
2814
2814
  };
2815
2815
  function sa(s) {
2816
- this._$AN !== void 0 ? (nt(this), this._$AM = s, oi(this)) : this._$AM = s;
2816
+ this._$AN !== void 0 ? (nt(this), this._$AM = s, ai(this)) : this._$AM = s;
2817
2817
  }
2818
2818
  function ia(s, e = !1, t = 0) {
2819
2819
  const n = this._$AH, i = this._$AN;
@@ -2830,12 +2830,12 @@ function ia(s, e = !1, t = 0) {
2830
2830
  const ra = (s) => {
2831
2831
  s.type == ft.CHILD && (s._$AP ?? (s._$AP = ia), s._$AQ ?? (s._$AQ = sa));
2832
2832
  };
2833
- let ai = class extends on {
2833
+ let li = class extends on {
2834
2834
  constructor() {
2835
2835
  super(...arguments), this._$AN = void 0;
2836
2836
  }
2837
2837
  _$AT(e, t, n) {
2838
- super._$AT(e, t, n), oi(this), this.isConnected = e._$AU;
2838
+ super._$AT(e, t, n), ai(this), this.isConnected = e._$AU;
2839
2839
  }
2840
2840
  _$AO(e, t = !0) {
2841
2841
  var n, i;
@@ -2862,7 +2862,7 @@ let ai = class extends on {
2862
2862
  const M = () => new oa();
2863
2863
  class oa {
2864
2864
  }
2865
- const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends ai {
2865
+ const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends li {
2866
2866
  render(s) {
2867
2867
  return g;
2868
2868
  }
@@ -2962,31 +2962,31 @@ ca([
2962
2962
  w({ attribute: !0 })
2963
2963
  ], an.prototype, "anchor", 2);
2964
2964
  const ha = /* @__PURE__ */ new WeakMap();
2965
- let Jn = 0;
2966
- const Et = /* @__PURE__ */ new Map(), es = /* @__PURE__ */ new WeakSet(), ts = () => new Promise((s) => requestAnimationFrame(s)), ua = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], pa = [{ opacity: 0 }], ns = [{ opacity: 0 }, { opacity: 1 }], ss = (s, e) => {
2965
+ let es = 0;
2966
+ const Et = /* @__PURE__ */ new Map(), ts = /* @__PURE__ */ new WeakSet(), ns = () => new Promise((s) => requestAnimationFrame(s)), ua = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], pa = [{ opacity: 0 }], ss = [{ opacity: 0 }, { opacity: 1 }], is = (s, e) => {
2967
2967
  const t = s - e;
2968
2968
  return t === 0 ? void 0 : t;
2969
- }, is = (s, e) => {
2969
+ }, rs = (s, e) => {
2970
2970
  const t = s / e;
2971
2971
  return t === 1 ? void 0 : t;
2972
2972
  }, Tt = { left: (s, e) => {
2973
- const t = ss(s, e);
2973
+ const t = is(s, e);
2974
2974
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
2975
2975
  }, top: (s, e) => {
2976
- const t = ss(s, e);
2976
+ const t = is(s, e);
2977
2977
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateY(${t}px)` };
2978
2978
  }, width: (s, e) => {
2979
2979
  let t;
2980
2980
  e === 0 && (e = 1, t = { width: "1px" });
2981
- const n = is(s, e);
2981
+ const n = rs(s, e);
2982
2982
  return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleX(${n})` };
2983
2983
  }, height: (s, e) => {
2984
2984
  let t;
2985
2985
  e === 0 && (e = 1, t = { height: "1px" });
2986
- const n = is(s, e);
2986
+ const n = rs(s, e);
2987
2987
  return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
2988
- } }, da = { duration: 333, easing: "ease-in-out" }, fa = ["left", "top", "width", "height", "opacity", "color", "background"], rs = /* @__PURE__ */ new WeakMap();
2989
- class ga extends ai {
2988
+ } }, da = { duration: 333, easing: "ease-in-out" }, fa = ["left", "top", "width", "height", "opacity", "color", "background"], os = /* @__PURE__ */ new WeakMap();
2989
+ class ga extends li {
2990
2990
  constructor(e) {
2991
2991
  if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === ft.CHILD)
2992
2992
  throw Error("The `animate` directive must be used in attribute position.");
@@ -3015,7 +3015,7 @@ class ga extends ai {
3015
3015
  update(e, [t]) {
3016
3016
  var i;
3017
3017
  const n = this.u === void 0;
3018
- return n && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = e.element, rs.set(this.element, this)), this.optionsOrCallback = t, (n || typeof t != "function") && this.p(t), this.render(t);
3018
+ return n && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = e.element, os.set(this.element, this)), this.optionsOrCallback = t, (n || typeof t != "function") && this.p(t), this.render(t);
3019
3019
  }
3020
3020
  p(e) {
3021
3021
  e = e ?? {};
@@ -3047,7 +3047,7 @@ class ga extends ai {
3047
3047
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
3048
3048
  return;
3049
3049
  let e;
3050
- this.prepare(), await ts;
3050
+ this.prepare(), await ns;
3051
3051
  const t = this.O(), n = this.j(this.options.keyframeOptions, t), i = this.m();
3052
3052
  if (this.A !== void 0) {
3053
3053
  const { from: r, to: o } = this.N(this.A, i, t);
@@ -3057,7 +3057,7 @@ class ga extends ai {
3057
3057
  if (r) {
3058
3058
  Et.delete(this.options.inId);
3059
3059
  const { from: o, to: a } = this.N(r, i, t);
3060
- e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, Jn++, e.forEach((l) => l.zIndex = Jn);
3060
+ e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, es++, e.forEach((l) => l.zIndex = es);
3061
3061
  } else
3062
3062
  this.options.in && (e = [...this.options.in, {}]);
3063
3063
  }
@@ -3076,7 +3076,7 @@ class ga extends ai {
3076
3076
  var t;
3077
3077
  if (!this.h || (this.options.id !== void 0 && Et.set(this.options.id, this.A), this.options.out === void 0))
3078
3078
  return;
3079
- if (this.prepare(), await ts(), (t = this.i) == null ? void 0 : t.isConnected) {
3079
+ if (this.prepare(), await ns(), (t = this.i) == null ? void 0 : t.isConnected) {
3080
3080
  const n = this.o && this.o.parentNode === this.i ? this.o : null;
3081
3081
  if (this.i.insertBefore(this.element, n), this.options.stabilizeOut) {
3082
3082
  const i = this.m();
@@ -3102,15 +3102,15 @@ class ga extends ai {
3102
3102
  O() {
3103
3103
  const e = [];
3104
3104
  for (let t = this.element.parentNode; t; t = t == null ? void 0 : t.parentNode) {
3105
- const n = rs.get(t);
3105
+ const n = os.get(t);
3106
3106
  n && !n.isDisabled() && n && e.push(n);
3107
3107
  }
3108
3108
  return e;
3109
3109
  }
3110
3110
  get isHostRendered() {
3111
- const e = es.has(this.u);
3111
+ const e = ts.has(this.u);
3112
3112
  return e || this.u.updateComplete.then(() => {
3113
- es.add(this.u);
3113
+ ts.add(this.u);
3114
3114
  }), e;
3115
3115
  }
3116
3116
  j(e, t = this.O()) {
@@ -3167,7 +3167,7 @@ class ga extends ai {
3167
3167
  }
3168
3168
  const Nt = gt(ga), F = (s, e, t) => {
3169
3169
  s && t.style.setProperty(e, s);
3170
- }, li = (s, e) => {
3170
+ }, ci = (s, e) => {
3171
3171
  var t, n, i, r, o, a, l, c, h;
3172
3172
  F((t = s.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), F(
3173
3173
  (n = s.colors) == null ? void 0 : n.textOnPrimaryBackground,
@@ -3226,7 +3226,7 @@ class X extends k {
3226
3226
  }
3227
3227
  _applyBranding() {
3228
3228
  var e;
3229
- (e = this.application) != null && e.settings && li(this.application.settings.branding, this);
3229
+ (e = this.application) != null && e.settings && ci(this.application.settings.branding, this);
3230
3230
  }
3231
3231
  async _renderSymbol() {
3232
3232
  var a, l, c;
@@ -3474,7 +3474,7 @@ var ba = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, te = (s, e
3474
3474
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3475
3475
  return n && i && ba(e, t, i), i;
3476
3476
  };
3477
- const ci = (s) => {
3477
+ const hi = (s) => {
3478
3478
  class e extends s {
3479
3479
  constructor() {
3480
3480
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -3529,12 +3529,12 @@ const ci = (s) => {
3529
3529
  w({ attribute: !1 })
3530
3530
  ], e.prototype, "parent", 2), e;
3531
3531
  };
3532
- class hi extends ci(k) {
3532
+ class ui extends hi(k) {
3533
3533
  render() {
3534
3534
  return m`Non resolved component`;
3535
3535
  }
3536
3536
  }
3537
- hi.styles = [
3537
+ ui.styles = [
3538
3538
  E`
3539
3539
  :host {
3540
3540
  display: block;
@@ -3614,7 +3614,7 @@ let ka = class extends Event {
3614
3614
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
3615
3615
  }
3616
3616
  };
3617
- class os extends wa {
3617
+ class as extends wa {
3618
3618
  constructor(e, t, n) {
3619
3619
  var i, r;
3620
3620
  super(t.context !== void 0 ? t.initialValue : n), this.onContextRequest = (o) => {
@@ -3647,7 +3647,7 @@ function _a({ context: s }) {
3647
3647
  const n = /* @__PURE__ */ new WeakMap();
3648
3648
  if (typeof t == "object")
3649
3649
  return t.addInitializer(function() {
3650
- n.set(this, new os(this, { context: s }));
3650
+ n.set(this, new as(this, { context: s }));
3651
3651
  }), { get() {
3652
3652
  return e.get.call(this);
3653
3653
  }, set(i) {
@@ -3659,7 +3659,7 @@ function _a({ context: s }) {
3659
3659
  } };
3660
3660
  {
3661
3661
  e.constructor.addInitializer((o) => {
3662
- n.set(o, new os(o, { context: s }));
3662
+ n.set(o, new as(o, { context: s }));
3663
3663
  });
3664
3664
  const i = Object.getOwnPropertyDescriptor(e, t);
3665
3665
  let r;
@@ -3697,7 +3697,7 @@ class cn extends k {
3697
3697
  if (!this.wrapperRef.value)
3698
3698
  return;
3699
3699
  const e = this.application.settings;
3700
- e != null && e.branding && li(e.branding, this.wrapperRef.value);
3700
+ e != null && e.branding && ci(e.branding, this.wrapperRef.value);
3701
3701
  }
3702
3702
  applyStyles() {
3703
3703
  if (!this.wrapperRef.value)
@@ -3858,20 +3858,32 @@ Aa([
3858
3858
  w({ attribute: !1 }),
3859
3859
  _a({ context: Ea })
3860
3860
  ], cn.prototype, "application", 2);
3861
- var ui = /* @__PURE__ */ ((s) => (s.Necessary = "necessary", s.Functional = "functional", s.Analytics = "analytics", s))(ui || {}), Ta = Object.defineProperty, La = Object.getOwnPropertyDescriptor, hn = (s, e, t, n) => {
3861
+ var hn = /* @__PURE__ */ ((s) => (s.Necessary = "necessary", s.Functional = "functional", s.Analytics = "analytics", s))(hn || {}), Ta = Object.defineProperty, La = Object.getOwnPropertyDescriptor, un = (s, e, t, n) => {
3862
3862
  for (var i = n > 1 ? void 0 : n ? La(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3863
3863
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3864
3864
  return n && i && Ta(e, t, i), i;
3865
3865
  };
3866
3866
  class Ue extends k {
3867
3867
  constructor() {
3868
- super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
3868
+ super(), this.status = "deactivated", this.onMessageReceived = async (e) => {
3869
+ var n;
3870
+ const t = e.data;
3871
+ switch (console.log("postmessage received", e, e.data), t.type) {
3872
+ case "deactivate-widget":
3873
+ if (this.widget) {
3874
+ console.log("deactivating widget");
3875
+ const i = this.widget.storage.get("open");
3876
+ this.widget.hide(), (n = this.widget.trigger) == null || n.hideTrigger(), i && this.widget.storage.set("open", !0, hn.Necessary);
3877
+ }
3878
+ break;
3879
+ }
3880
+ }, this.addEventListener("environment-created", this.onEnvironmentCreated), window.addEventListener("message", this.onMessageReceived);
3869
3881
  }
3870
3882
  async connectedCallback() {
3871
3883
  super.connectedCallback(), await this.getGlobalEnvironment();
3872
3884
  }
3873
3885
  disconnectedCallback() {
3874
- super.disconnectedCallback(), this.removeEventListener("environment-created", this.onEnvironmentCreated);
3886
+ super.disconnectedCallback(), this.removeEventListener("environment-created", this.onEnvironmentCreated), window.removeEventListener("message", this.onMessageReceived);
3875
3887
  }
3876
3888
  async onEnvironmentCreated(e) {
3877
3889
  this.widget = e.detail.widget, await this.activate(), this.requestUpdate();
@@ -3902,18 +3914,18 @@ Ue.styles = [
3902
3914
  }
3903
3915
  `
3904
3916
  ];
3905
- hn([
3917
+ un([
3906
3918
  w({ attribute: !0 })
3907
3919
  ], Ue.prototype, "name", 2);
3908
- hn([
3920
+ un([
3909
3921
  C()
3910
3922
  ], Ue.prototype, "widget", 2);
3911
- hn([
3923
+ un([
3912
3924
  C()
3913
3925
  ], Ue.prototype, "status", 2);
3914
3926
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", an);
3915
3927
  customElements.get("ace-trigger") || customElements.define("ace-trigger", X);
3916
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", hi);
3928
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ui);
3917
3929
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", cn);
3918
3930
  customElements.get("ace-widget") || customElements.define("ace-widget", Ue);
3919
3931
  class Oa {
@@ -3932,7 +3944,7 @@ class Oa {
3932
3944
  return !!this.message;
3933
3945
  }
3934
3946
  }
3935
- class as {
3947
+ class ls {
3936
3948
  constructor(e, t, n, i, r) {
3937
3949
  this.id = e, this.providerKey = t, this.providerOptions = n, this.component = r, this.provider$ = new U(null), this.entries$ = new U([]), this.removeEntryAction$ = new _(), this.kill$ = new _(), this.isTyping$ = new U(!1), this.data$ = new U({}), this.complete$ = this.provider$.pipe(
3938
3950
  de((l) => l ? l.onComplete() : Re)
@@ -4033,7 +4045,7 @@ class Pa {
4033
4045
  );
4034
4046
  return e ? {
4035
4047
  sessions: e.sessions.map(
4036
- (t) => new as(
4048
+ (t) => new ls(
4037
4049
  t.id,
4038
4050
  t.providerKey,
4039
4051
  t.providerOptions,
@@ -4067,11 +4079,11 @@ class Pa {
4067
4079
  const t = {
4068
4080
  sessions: e.sessions.map((n) => n.toStore())
4069
4081
  };
4070
- this.storage.set("conversation", t, ui.Necessary);
4082
+ this.storage.set("conversation", t, hn.Necessary);
4071
4083
  }
4072
4084
  _createNewSession(e, t = {}) {
4073
- const n = this._getStoredSessions(), i = new as(
4074
- Ms(),
4085
+ const n = this._getStoredSessions(), i = new ls(
4086
+ zs(),
4075
4087
  e,
4076
4088
  t,
4077
4089
  {},
@@ -4142,7 +4154,7 @@ var Ia = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, za = (s, e
4142
4154
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4143
4155
  return n && i && Ia(e, t, i), i;
4144
4156
  };
4145
- class un extends k {
4157
+ class pn extends k {
4146
4158
  connectedCallback() {
4147
4159
  var e;
4148
4160
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -4256,7 +4268,7 @@ class un extends k {
4256
4268
  }
4257
4269
  }
4258
4270
  }
4259
- un.styles = [
4271
+ pn.styles = [
4260
4272
  E`
4261
4273
  :host {
4262
4274
  box-sizing: border-box;
@@ -4376,7 +4388,7 @@ un.styles = [
4376
4388
  ];
4377
4389
  za([
4378
4390
  w({ attribute: !1 })
4379
- ], un.prototype, "entry", 2);
4391
+ ], pn.prototype, "entry", 2);
4380
4392
  var Ua = Object.defineProperty, ja = Object.getOwnPropertyDescriptor, pi = (s, e, t, n) => {
4381
4393
  for (var i = n > 1 ? void 0 : n ? ja(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4382
4394
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
@@ -4398,7 +4410,7 @@ class mt extends k {
4398
4410
  .entry=${e}
4399
4411
  ${Nt({
4400
4412
  keyframeOptions: {},
4401
- in: ns,
4413
+ in: ss,
4402
4414
  stabilizeOut: !0,
4403
4415
  skipInitial: !1
4404
4416
  })}
@@ -4409,7 +4421,7 @@ class mt extends k {
4409
4421
  ${this.loading ? m`<ace-typing-state
4410
4422
  ${Nt({
4411
4423
  keyframeOptions: {},
4412
- in: ns,
4424
+ in: ss,
4413
4425
  out: pa,
4414
4426
  stabilizeOut: !0,
4415
4427
  skipInitial: !1
@@ -4459,7 +4471,7 @@ var Ha = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e
4459
4471
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4460
4472
  return n && i && Ha(e, t, i), i;
4461
4473
  };
4462
- class pn extends k {
4474
+ class dn extends k {
4463
4475
  render() {
4464
4476
  return m`
4465
4477
  <div class="message-group">
@@ -4488,7 +4500,7 @@ class pn extends k {
4488
4500
  `;
4489
4501
  }
4490
4502
  }
4491
- pn.styles = [
4503
+ dn.styles = [
4492
4504
  E`
4493
4505
  :host {
4494
4506
  box-sizing: border-box;
@@ -4506,7 +4518,7 @@ pn.styles = [
4506
4518
  ];
4507
4519
  Na([
4508
4520
  w({ attribute: !1 })
4509
- ], pn.prototype, "group", 2);
4521
+ ], dn.prototype, "group", 2);
4510
4522
  class di extends k {
4511
4523
  render() {
4512
4524
  return m`<div class="container">
@@ -4584,14 +4596,14 @@ var qa = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Wa = (s, e
4584
4596
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4585
4597
  return n && i && qa(e, t, i), i;
4586
4598
  };
4587
- class dn extends k {
4599
+ class fn extends k {
4588
4600
  render() {
4589
4601
  return m`<div class="message-type-html">
4590
4602
  ${Fa(this.message.content)}
4591
4603
  </div>`;
4592
4604
  }
4593
4605
  }
4594
- dn.styles = [
4606
+ fn.styles = [
4595
4607
  E`
4596
4608
  :host {
4597
4609
  box-sizing: border-box;
@@ -4630,8 +4642,8 @@ dn.styles = [
4630
4642
  ];
4631
4643
  Wa([
4632
4644
  w({ attribute: !1 })
4633
- ], dn.prototype, "message", 2);
4634
- function fn() {
4645
+ ], fn.prototype, "message", 2);
4646
+ function gn() {
4635
4647
  return {
4636
4648
  async: !1,
4637
4649
  breaks: !1,
@@ -4645,7 +4657,7 @@ function fn() {
4645
4657
  walkTokens: null
4646
4658
  };
4647
4659
  }
4648
- let ae = fn();
4660
+ let ae = gn();
4649
4661
  function fi(s) {
4650
4662
  ae = s;
4651
4663
  }
@@ -4655,13 +4667,13 @@ const gi = /[&<>"']/, Ya = new RegExp(gi.source, "g"), mi = /[<>"']|&(?!(#\d{1,7
4655
4667
  ">": "&gt;",
4656
4668
  '"': "&quot;",
4657
4669
  "'": "&#39;"
4658
- }, ls = (s) => Ga[s];
4670
+ }, cs = (s) => Ga[s];
4659
4671
  function L(s, e) {
4660
4672
  if (e) {
4661
4673
  if (gi.test(s))
4662
- return s.replace(Ya, ls);
4674
+ return s.replace(Ya, cs);
4663
4675
  } else if (mi.test(s))
4664
- return s.replace(Qa, ls);
4676
+ return s.replace(Qa, cs);
4665
4677
  return s;
4666
4678
  }
4667
4679
  const Ka = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
@@ -4681,7 +4693,7 @@ function y(s, e) {
4681
4693
  };
4682
4694
  return n;
4683
4695
  }
4684
- function cs(s) {
4696
+ function hs(s) {
4685
4697
  try {
4686
4698
  s = encodeURI(s).replace(/%25/g, "%");
4687
4699
  } catch {
@@ -4690,7 +4702,7 @@ function cs(s) {
4690
4702
  return s;
4691
4703
  }
4692
4704
  const Se = { exec: () => null };
4693
- function hs(s, e) {
4705
+ function us(s, e) {
4694
4706
  const t = s.replace(/\|/g, (r, o, a) => {
4695
4707
  let l = !1, c = o;
4696
4708
  for (; --c >= 0 && a[c] === "\\"; )
@@ -4737,7 +4749,7 @@ function Ja(s, e) {
4737
4749
  return n;
4738
4750
  return -1;
4739
4751
  }
4740
- function us(s, e, t, n) {
4752
+ function ps(s, e, t, n) {
4741
4753
  const i = e.href, r = e.title ? L(e.title) : null, o = s[1].replace(/\\([\[\]])/g, "$1");
4742
4754
  if (s[0].charAt(0) !== "!") {
4743
4755
  n.state.inLink = !0;
@@ -4886,17 +4898,17 @@ class st {
4886
4898
  let b = !1;
4887
4899
  if (!u && /^ *$/.test(p) && (a += p + `
4888
4900
  `, e = e.substring(p.length + 1), h = !0), !h) {
4889
- const N = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), J = new RegExp(`^ {0,${Math.min(3, d - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), wn = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:\`\`\`|~~~)`), kn = new RegExp(`^ {0,${Math.min(3, d - 1)}}#`);
4901
+ const N = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), J = new RegExp(`^ {0,${Math.min(3, d - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), kn = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:\`\`\`|~~~)`), _n = new RegExp(`^ {0,${Math.min(3, d - 1)}}#`);
4890
4902
  for (; e; ) {
4891
4903
  const yt = e.split(`
4892
4904
  `, 1)[0];
4893
- if (p = yt, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), wn.test(p) || kn.test(p) || N.test(p) || J.test(e))
4905
+ if (p = yt, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), kn.test(p) || _n.test(p) || N.test(p) || J.test(e))
4894
4906
  break;
4895
4907
  if (p.search(/[^ ]/) >= d || !p.trim())
4896
4908
  l += `
4897
4909
  ` + p.slice(d);
4898
4910
  else {
4899
- if (b || u.search(/[^ ]/) >= 4 || wn.test(u) || kn.test(u) || J.test(u))
4911
+ if (b || u.search(/[^ ]/) >= 4 || kn.test(u) || _n.test(u) || J.test(u))
4900
4912
  break;
4901
4913
  l += `
4902
4914
  ` + p;
@@ -4957,7 +4969,7 @@ class st {
4957
4969
  const t = this.rules.block.table.exec(e);
4958
4970
  if (!t || !/[:|]/.test(t[2]))
4959
4971
  return;
4960
- const n = hs(t[1]), i = t[2].replace(/^\||\| *$/g, "").split("|"), r = t[3] && t[3].trim() ? t[3].replace(/\n[ \t]*$/, "").split(`
4972
+ const n = us(t[1]), i = t[2].replace(/^\||\| *$/g, "").split("|"), r = t[3] && t[3].trim() ? t[3].replace(/\n[ \t]*$/, "").split(`
4961
4973
  `) : [], o = {
4962
4974
  type: "table",
4963
4975
  raw: t[0],
@@ -4974,7 +4986,7 @@ class st {
4974
4986
  tokens: this.lexer.inline(a)
4975
4987
  });
4976
4988
  for (const a of r)
4977
- o.rows.push(hs(a, o.header.length).map((l) => ({
4989
+ o.rows.push(us(a, o.header.length).map((l) => ({
4978
4990
  text: l,
4979
4991
  tokens: this.lexer.inline(l)
4980
4992
  })));
@@ -5059,7 +5071,7 @@ class st {
5059
5071
  o && (i = o[1], r = o[3]);
5060
5072
  } else
5061
5073
  r = t[3] ? t[3].slice(1, -1) : "";
5062
- return i = i.trim(), /^</.test(i) && (this.options.pedantic && !/>$/.test(n) ? i = i.slice(1) : i = i.slice(1, -1)), us(t, {
5074
+ return i = i.trim(), /^</.test(i) && (this.options.pedantic && !/>$/.test(n) ? i = i.slice(1) : i = i.slice(1, -1)), ps(t, {
5063
5075
  href: i && i.replace(this.rules.inline.anyPunctuation, "$1"),
5064
5076
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
5065
5077
  }, t[0], this.lexer);
@@ -5077,7 +5089,7 @@ class st {
5077
5089
  text: o
5078
5090
  };
5079
5091
  }
5080
- return us(n, r, n[0], this.lexer);
5092
+ return ps(n, r, n[0], this.lexer);
5081
5093
  }
5082
5094
  }
5083
5095
  emStrong(e, t, n = "") {
@@ -5211,7 +5223,7 @@ class st {
5211
5223
  }
5212
5224
  }
5213
5225
  }
5214
- const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, je = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, il = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, vi = /(?:[*+-]|\d{1,9}[.)])/, bi = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, vi).replace(/blockCode/g, / {4}/).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/).getRegex(), gn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, rl = /^[^\n]+/, mn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, ol = y(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", mn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), al = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, vi).getRegex(), vt = "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", vn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ll = y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", vn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), yi = y(gn).replace("hr", je).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", vt).getRegex(), cl = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", yi).getRegex(), bn = {
5226
+ const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, je = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, il = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, vi = /(?:[*+-]|\d{1,9}[.)])/, bi = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, vi).replace(/blockCode/g, / {4}/).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/).getRegex(), mn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, rl = /^[^\n]+/, vn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, ol = y(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", vn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), al = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, vi).getRegex(), vt = "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", bn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ll = y("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", bn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), yi = y(mn).replace("hr", je).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", vt).getRegex(), cl = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", yi).getRegex(), yn = {
5215
5227
  blockquote: cl,
5216
5228
  code: nl,
5217
5229
  def: ol,
@@ -5225,21 +5237,21 @@ const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl =
5225
5237
  paragraph: yi,
5226
5238
  table: Se,
5227
5239
  text: rl
5228
- }, ps = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\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", vt).getRegex(), hl = {
5229
- ...bn,
5230
- table: ps,
5231
- paragraph: y(gn).replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ps).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", vt).getRegex()
5240
+ }, ds = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\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", vt).getRegex(), hl = {
5241
+ ...yn,
5242
+ table: ds,
5243
+ paragraph: y(mn).replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ds).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", vt).getRegex()
5232
5244
  }, ul = {
5233
- ...bn,
5234
- html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", vn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
5245
+ ...yn,
5246
+ html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", bn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
5235
5247
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
5236
5248
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
5237
5249
  fences: Se,
5238
5250
  // fences not supported
5239
5251
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5240
- paragraph: y(gn).replace("hr", je).replace("heading", ` *#{1,6} *[^
5252
+ paragraph: y(mn).replace("hr", je).replace("heading", ` *#{1,6} *[^
5241
5253
  ]`).replace("lheading", bi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5242
- }, $i = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, pl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, xi = /^( {2,}|\\)\n(?!\s*$)/, dl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, De = "\\p{P}\\p{S}", fl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, De).getRegex(), gl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, ml = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, De).getRegex(), vl = y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, De).getRegex(), bl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, De).getRegex(), yl = y(/\\([punct])/, "gu").replace(/punct/g, De).getRegex(), $l = y(/^<(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(), xl = y(vn).replace("(?:-->|$)", "-->").getRegex(), wl = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", xl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), it = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kl = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", it).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), wi = y(/^!?\[(label)\]\[(ref)\]/).replace("label", it).replace("ref", mn).getRegex(), ki = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", mn).getRegex(), _l = y("reflink|nolink(?!\\()", "g").replace("reflink", wi).replace("nolink", ki).getRegex(), yn = {
5254
+ }, $i = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, pl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, xi = /^( {2,}|\\)\n(?!\s*$)/, dl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, De = "\\p{P}\\p{S}", fl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, De).getRegex(), gl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, ml = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, De).getRegex(), vl = y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, De).getRegex(), bl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, De).getRegex(), yl = y(/\\([punct])/, "gu").replace(/punct/g, De).getRegex(), $l = y(/^<(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(), xl = y(bn).replace("(?:-->|$)", "-->").getRegex(), wl = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", xl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), it = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kl = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", it).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), wi = y(/^!?\[(label)\]\[(ref)\]/).replace("label", it).replace("ref", vn).getRegex(), ki = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", vn).getRegex(), _l = y("reflink|nolink(?!\\()", "g").replace("reflink", wi).replace("nolink", ki).getRegex(), $n = {
5243
5255
  _backpedal: Se,
5244
5256
  // only used for GFM url
5245
5257
  anyPunctuation: yl,
@@ -5261,11 +5273,11 @@ const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl =
5261
5273
  text: dl,
5262
5274
  url: Se
5263
5275
  }, Sl = {
5264
- ...yn,
5276
+ ...$n,
5265
5277
  link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", it).getRegex(),
5266
5278
  reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", it).getRegex()
5267
5279
  }, qt = {
5268
- ...yn,
5280
+ ...$n,
5269
5281
  escape: y($i).replace("])", "~|])").getRegex(),
5270
5282
  url: y(/^((?: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
5283
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
@@ -5276,11 +5288,11 @@ const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl =
5276
5288
  br: y(xi).replace("{2,}", "*").getRegex(),
5277
5289
  text: y(qt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5278
5290
  }, qe = {
5279
- normal: bn,
5291
+ normal: yn,
5280
5292
  gfm: hl,
5281
5293
  pedantic: ul
5282
5294
  }, xe = {
5283
- normal: yn,
5295
+ normal: $n,
5284
5296
  gfm: qt,
5285
5297
  breaks: Cl,
5286
5298
  pedantic: Sl
@@ -5590,7 +5602,7 @@ ${e}</tr>
5590
5602
  return `<del>${e}</del>`;
5591
5603
  }
5592
5604
  link(e, t, n) {
5593
- const i = cs(e);
5605
+ const i = hs(e);
5594
5606
  if (i === null)
5595
5607
  return n;
5596
5608
  e = i;
@@ -5598,7 +5610,7 @@ ${e}</tr>
5598
5610
  return t && (r += ' title="' + t + '"'), r += ">" + n + "</a>", r;
5599
5611
  }
5600
5612
  image(e, t, n) {
5601
- const i = cs(e);
5613
+ const i = hs(e);
5602
5614
  if (i === null)
5603
5615
  return n;
5604
5616
  e = i;
@@ -5609,7 +5621,7 @@ ${e}</tr>
5609
5621
  return e;
5610
5622
  }
5611
5623
  }
5612
- class $n {
5624
+ class xn {
5613
5625
  // no need for block level renderers
5614
5626
  strong(e) {
5615
5627
  return e;
@@ -5644,7 +5656,7 @@ class D {
5644
5656
  x(this, "options");
5645
5657
  x(this, "renderer");
5646
5658
  x(this, "textRenderer");
5647
- this.options = e || ae, this.options.renderer = this.options.renderer || new rt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new $n();
5659
+ this.options = e || ae, this.options.renderer = this.options.renderer || new rt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new xn();
5648
5660
  }
5649
5661
  /**
5650
5662
  * Static Parse Method
@@ -5867,13 +5879,13 @@ class Al {
5867
5879
  constructor(...e) {
5868
5880
  $t(this, Oe);
5869
5881
  $t(this, ot);
5870
- x(this, "defaults", fn());
5882
+ x(this, "defaults", gn());
5871
5883
  x(this, "options", this.setOptions);
5872
5884
  x(this, "parse", He(this, Oe, Zt).call(this, j.lex, D.parse));
5873
5885
  x(this, "parseInline", He(this, Oe, Zt).call(this, j.lexInline, D.parseInline));
5874
5886
  x(this, "Parser", D);
5875
5887
  x(this, "Renderer", rt);
5876
- x(this, "TextRenderer", $n);
5888
+ x(this, "TextRenderer", xn);
5877
5889
  x(this, "Lexer", j);
5878
5890
  x(this, "Tokenizer", st);
5879
5891
  x(this, "Hooks", Ce);
@@ -6042,7 +6054,7 @@ function v(s, e) {
6042
6054
  v.options = v.setOptions = function(s) {
6043
6055
  return oe.setOptions(s), v.defaults = oe.defaults, fi(v.defaults), v;
6044
6056
  };
6045
- v.getDefaults = fn;
6057
+ v.getDefaults = gn;
6046
6058
  v.defaults = ae;
6047
6059
  v.use = function(...s) {
6048
6060
  return oe.use(...s), v.defaults = oe.defaults, fi(v.defaults), v;
@@ -6054,7 +6066,7 @@ v.parseInline = oe.parseInline;
6054
6066
  v.Parser = D;
6055
6067
  v.parser = D.parse;
6056
6068
  v.Renderer = rt;
6057
- v.TextRenderer = $n;
6069
+ v.TextRenderer = xn;
6058
6070
  v.Lexer = j;
6059
6071
  v.lexer = j.lex;
6060
6072
  v.Tokenizer = st;
@@ -6205,7 +6217,7 @@ var Ll = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, Pl = (s, e
6205
6217
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6206
6218
  return n && i && Ll(e, t, i), i;
6207
6219
  };
6208
- class xn extends k {
6220
+ class wn extends k {
6209
6221
  constructor() {
6210
6222
  super(...arguments), this.escapeListener = (e) => {
6211
6223
  e.key === "Escape" && this.closeLightbox();
@@ -6248,7 +6260,7 @@ class xn extends k {
6248
6260
  </div> `;
6249
6261
  }
6250
6262
  }
6251
- xn.styles = [
6263
+ wn.styles = [
6252
6264
  E`
6253
6265
  :focus {
6254
6266
  outline-color: var(--focus-color);
@@ -6291,20 +6303,20 @@ xn.styles = [
6291
6303
  ];
6292
6304
  Pl([
6293
6305
  w({ attribute: !0 })
6294
- ], xn.prototype, "imageUrl", 2);
6306
+ ], wn.prototype, "imageUrl", 2);
6295
6307
  var Rl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, V = (s, e, t, n) => {
6296
6308
  for (var i = n > 1 ? void 0 : n ? Il(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6297
6309
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6298
6310
  return n && i && Rl(e, t, i), i;
6299
6311
  };
6300
- customElements.get("conversation-entry") || customElements.define("conversation-entry", un);
6312
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", pn);
6301
6313
  customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", mt);
6302
- customElements.get("conversation-group") || customElements.define("conversation-group", pn);
6314
+ customElements.get("conversation-group") || customElements.define("conversation-group", dn);
6303
6315
  customElements.get("ace-typing-state") || customElements.define("ace-typing-state", di);
6304
- customElements.get("message-type-html") || customElements.define("message-type-html", dn);
6316
+ customElements.get("message-type-html") || customElements.define("message-type-html", fn);
6305
6317
  customElements.get("message-type-markdown") || customElements.define("message-type-markdown", bt);
6306
- customElements.get("ace-lightbox") || customElements.define("ace-lightbox", xn);
6307
- const Ci = ci(k);
6318
+ customElements.get("ace-lightbox") || customElements.define("ace-lightbox", wn);
6319
+ const Ci = hi(k);
6308
6320
  class R extends Ci {
6309
6321
  constructor() {
6310
6322
  super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = M(), this.conversationFeedRef = M(), this.formRef = M(), this.inputRef = M(), this.scrollRef = M(), this.counterRef = M(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new Oa(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 U("waiting"), this.stateMachine = new Ra(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
@@ -6416,11 +6428,11 @@ class R extends Ci {
6416
6428
  return;
6417
6429
  const t = this.application.texts, n = t.getOrFallback("conversation.mute", "Mute"), i = t.getOrFallback("conversation.unmute", "Unmute"), r = !!this.application.storage.get("muteAudioNotifications"), o = e.addOption({
6418
6430
  label: r ? i : n,
6419
- icon: r ? Dn.svg : Hn.svg,
6431
+ icon: r ? Hn.svg : Bn.svg,
6420
6432
  closeOnClick: !1,
6421
6433
  datatestid: "options-mute-button",
6422
6434
  onClick: () => {
6423
- !!this.application.storage.get("muteAudioNotifications") ? (this.application.unmute(), o.updateLabel(n), o.updateIcon(Hn.svg)) : (this.application.mute(), o.updateLabel(i), o.updateIcon(Dn.svg));
6435
+ !!this.application.storage.get("muteAudioNotifications") ? (this.application.unmute(), o.updateLabel(n), o.updateIcon(Bn.svg)) : (this.application.mute(), o.updateLabel(i), o.updateIcon(Hn.svg));
6424
6436
  }
6425
6437
  });
6426
6438
  }
@@ -6868,7 +6880,7 @@ export {
6868
6880
  Ul as ConversationComponent,
6869
6881
  ct as ConversationEntry,
6870
6882
  W as ConversationMessageType,
6871
- fs as ConversationPlatform,
6883
+ gs as ConversationPlatform,
6872
6884
  Dl as ConversationProvider,
6873
6885
  Ar as User,
6874
6886
  jl as findPlainTextLinks,