@telia-ace/widget-conversation-flamingo 1.1.75 → 1.1.76

Sign up to get free protection for your applications and to get access to all the features.
package/index.mjs CHANGED
@@ -45,7 +45,7 @@ var Lt = function(s, e) {
45
45
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
46
46
  }, Lt(s, e);
47
47
  };
48
- function be(s, e) {
48
+ function ye(s, e) {
49
49
  if (typeof e != "function" && e !== null)
50
50
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
51
51
  Lt(s, e);
@@ -146,7 +146,7 @@ function gs(s, e) {
146
146
  return { value: c[0] ? c[1] : void 0, done: !0 };
147
147
  }
148
148
  }
149
- function ge(s) {
149
+ function me(s) {
150
150
  var e = typeof Symbol == "function" && Symbol.iterator, t = e && s[e], n = 0;
151
151
  if (t)
152
152
  return t.call(s);
@@ -158,7 +158,7 @@ function ge(s) {
158
158
  };
159
159
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
160
160
  }
161
- function Y(s, e) {
161
+ function Q(s, e) {
162
162
  var t = typeof Symbol == "function" && s[Symbol.iterator];
163
163
  if (!t)
164
164
  return s;
@@ -178,14 +178,14 @@ function Y(s, e) {
178
178
  }
179
179
  return r;
180
180
  }
181
- function ne(s, e, t) {
181
+ function se(s, e, t) {
182
182
  if (t || arguments.length === 2)
183
183
  for (var n = 0, i = e.length, r; n < i; n++)
184
184
  (r || !(n in e)) && (r || (r = Array.prototype.slice.call(e, 0, n)), r[n] = e[n]);
185
185
  return s.concat(r || Array.prototype.slice.call(e));
186
186
  }
187
- function ue(s) {
188
- return this instanceof ue ? (this.v = s, this) : new ue(s);
187
+ function pe(s) {
188
+ return this instanceof pe ? (this.v = s, this) : new pe(s);
189
189
  }
190
190
  function Oi(s, e, t) {
191
191
  if (!Symbol.asyncIterator)
@@ -209,7 +209,7 @@ function Oi(s, e, t) {
209
209
  }
210
210
  }
211
211
  function l(p) {
212
- p.value instanceof ue ? Promise.resolve(p.value.v).then(c, h) : u(r[0][2], p);
212
+ p.value instanceof pe ? Promise.resolve(p.value.v).then(c, h) : u(r[0][2], p);
213
213
  }
214
214
  function c(p) {
215
215
  a("next", p);
@@ -225,7 +225,7 @@ function Pi(s) {
225
225
  if (!Symbol.asyncIterator)
226
226
  throw new TypeError("Symbol.asyncIterator is not defined.");
227
227
  var e = s[Symbol.asyncIterator], t;
228
- return e ? e.call(s) : (s = typeof ge == "function" ? ge(s) : s[Symbol.iterator](), t = {}, n("next"), n("throw"), n("return"), t[Symbol.asyncIterator] = function() {
228
+ return e ? e.call(s) : (s = typeof me == "function" ? me(s) : s[Symbol.iterator](), t = {}, n("next"), n("throw"), n("return"), t[Symbol.asyncIterator] = function() {
229
229
  return this;
230
230
  }, t);
231
231
  function n(r) {
@@ -277,7 +277,7 @@ var at = function() {
277
277
  if (o)
278
278
  if (this._parentage = null, Array.isArray(o))
279
279
  try {
280
- for (var a = ge(o), l = a.next(); !l.done; l = a.next()) {
280
+ for (var a = me(o), l = a.next(); !l.done; l = a.next()) {
281
281
  var c = l.value;
282
282
  c.remove(this);
283
283
  }
@@ -304,12 +304,12 @@ var at = function() {
304
304
  if (u) {
305
305
  this._finalizers = null;
306
306
  try {
307
- for (var p = ge(u), d = p.next(); !d.done; d = p.next()) {
307
+ for (var p = me(u), d = p.next(); !d.done; d = p.next()) {
308
308
  var b = d.value;
309
309
  try {
310
310
  _n(b);
311
311
  } catch (f) {
312
- r = r ?? [], f instanceof xt ? r = ne(ne([], Y(r)), Y(f.errors)) : r.push(f);
312
+ r = r ?? [], f instanceof xt ? r = se(se([], Q(r)), Q(f.errors)) : r.push(f);
313
313
  }
314
314
  }
315
315
  } catch (f) {
@@ -373,7 +373,7 @@ var ys = {
373
373
  for (var t = [], n = 2; n < arguments.length; n++)
374
374
  t[n - 2] = arguments[n];
375
375
  var i = Pt.delegate;
376
- return i != null && i.setTimeout ? i.setTimeout.apply(i, ne([s, e], Y(t))) : setTimeout.apply(void 0, ne([s, e], Y(t)));
376
+ return i != null && i.setTimeout ? i.setTimeout.apply(i, se([s, e], Q(t))) : setTimeout.apply(void 0, se([s, e], Q(t)));
377
377
  },
378
378
  clearTimeout: function(s) {
379
379
  var e = Pt.delegate;
@@ -392,7 +392,7 @@ function Ze(s) {
392
392
  s();
393
393
  }
394
394
  var Wt = function(s) {
395
- be(e, s);
395
+ ye(e, s);
396
396
  function e(t) {
397
397
  var n = s.call(this) || this;
398
398
  return n.isStopped = !1, t ? (n.destination = t, bs(t) && t.add(n)) : n.destination = zi, n;
@@ -436,7 +436,7 @@ var Ii = function() {
436
436
  try {
437
437
  t.next(e);
438
438
  } catch (n) {
439
- De(n);
439
+ Be(n);
440
440
  }
441
441
  }, s.prototype.error = function(e) {
442
442
  var t = this.partialObserver;
@@ -444,21 +444,21 @@ var Ii = function() {
444
444
  try {
445
445
  t.error(e);
446
446
  } catch (n) {
447
- De(n);
447
+ Be(n);
448
448
  }
449
449
  else
450
- De(e);
450
+ Be(e);
451
451
  }, s.prototype.complete = function() {
452
452
  var e = this.partialObserver;
453
453
  if (e.complete)
454
454
  try {
455
455
  e.complete();
456
456
  } catch (t) {
457
- De(t);
457
+ Be(t);
458
458
  }
459
459
  }, s;
460
460
  }(), Rt = function(s) {
461
- be(e, s);
461
+ ye(e, s);
462
462
  function e(t, n, i) {
463
463
  var r = s.call(this) || this, o;
464
464
  if ($(t) || !t)
@@ -481,7 +481,7 @@ var Ii = function() {
481
481
  }
482
482
  return e;
483
483
  }(Wt);
484
- function De(s) {
484
+ function Be(s) {
485
485
  $s(s);
486
486
  }
487
487
  function Mi(s) {
@@ -495,11 +495,11 @@ var zi = {
495
495
  }, Yt = function() {
496
496
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
497
497
  }();
498
- function Oe(s) {
498
+ function Pe(s) {
499
499
  return s;
500
500
  }
501
501
  function Ui(s) {
502
- return s.length === 0 ? Oe : s.length === 1 ? s[0] : function(t) {
502
+ return s.length === 0 ? Pe : s.length === 1 ? s[0] : function(t) {
503
503
  return s.reduce(function(n, i) {
504
504
  return i(n);
505
505
  }, t);
@@ -513,7 +513,7 @@ var A = function() {
513
513
  var t = new s();
514
514
  return t.source = this, t.operator = e, t;
515
515
  }, s.prototype.subscribe = function(e, t, n) {
516
- var i = this, r = Hi(e) ? e : new Rt(e, t, n);
516
+ var i = this, r = Di(e) ? e : new Rt(e, t, n);
517
517
  return Ze(function() {
518
518
  var o = i, a = o.operator, l = o.source;
519
519
  r.add(a ? a.call(r, l) : l ? i._subscribe(r) : i._trySubscribe(r));
@@ -572,15 +572,15 @@ function Sn(s) {
572
572
  function ji(s) {
573
573
  return s && $(s.next) && $(s.error) && $(s.complete);
574
574
  }
575
- function Hi(s) {
575
+ function Di(s) {
576
576
  return s && s instanceof Wt || ji(s) && bs(s);
577
577
  }
578
- function Di(s) {
578
+ function Hi(s) {
579
579
  return $(s == null ? void 0 : s.lift);
580
580
  }
581
- function G(s) {
581
+ function K(s) {
582
582
  return function(e) {
583
- if (Di(e))
583
+ if (Hi(e))
584
584
  return e.lift(function(t) {
585
585
  try {
586
586
  return s(t, this);
@@ -595,7 +595,7 @@ function P(s, e, t, n, i) {
595
595
  return new Bi(s, e, t, n, i);
596
596
  }
597
597
  var Bi = function(s) {
598
- be(e, s);
598
+ ye(e, s);
599
599
  function e(t, n, i, r, o, a) {
600
600
  var l = s.call(this, t) || this;
601
601
  return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = n ? function(c) {
@@ -634,7 +634,7 @@ var Bi = function(s) {
634
634
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
635
635
  };
636
636
  }), _ = function(s) {
637
- be(e, s);
637
+ ye(e, s);
638
638
  function e() {
639
639
  var t = s.call(this) || this;
640
640
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
@@ -652,7 +652,7 @@ var Bi = function(s) {
652
652
  if (n._throwIfClosed(), !n.isStopped) {
653
653
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
654
654
  try {
655
- for (var o = ge(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
655
+ for (var o = me(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
656
656
  var l = a.value;
657
657
  l.next(t);
658
658
  }
@@ -714,7 +714,7 @@ var Bi = function(s) {
714
714
  return new Cn(t, n);
715
715
  }, e;
716
716
  }(A), Cn = function(s) {
717
- be(e, s);
717
+ ye(e, s);
718
718
  function e(t, n) {
719
719
  var i = s.call(this) || this;
720
720
  return i.destination = t, i.source = n, i;
@@ -733,7 +733,7 @@ var Bi = function(s) {
733
733
  return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : vs;
734
734
  }, e;
735
735
  }(_), U = function(s) {
736
- be(e, s);
736
+ ye(e, s);
737
737
  function e(t) {
738
738
  var n = s.call(this) || this;
739
739
  return n._value = t, n;
@@ -755,7 +755,7 @@ var Bi = function(s) {
755
755
  }, e.prototype.next = function(t) {
756
756
  s.prototype.next.call(this, this._value = t);
757
757
  }, e;
758
- }(_), Pe = new A(function(s) {
758
+ }(_), Re = new A(function(s) {
759
759
  return s.complete();
760
760
  });
761
761
  function Fi(s) {
@@ -805,13 +805,13 @@ function Es(s) {
805
805
  case 1:
806
806
  o.trys.push([1, , 9, 10]), o.label = 2;
807
807
  case 2:
808
- return [4, ue(t.read())];
808
+ return [4, pe(t.read())];
809
809
  case 3:
810
- return n = o.sent(), i = n.value, r = n.done, r ? [4, ue(void 0)] : [3, 5];
810
+ return n = o.sent(), i = n.value, r = n.done, r ? [4, pe(void 0)] : [3, 5];
811
811
  case 4:
812
812
  return [2, o.sent()];
813
813
  case 5:
814
- return [4, ue(i)];
814
+ return [4, pe(i)];
815
815
  case 6:
816
816
  return [4, o.sent()];
817
817
  case 7:
@@ -876,7 +876,7 @@ function Gi(s) {
876
876
  return new A(function(e) {
877
877
  var t, n;
878
878
  try {
879
- for (var i = ge(s), r = i.next(); !r.done; r = i.next()) {
879
+ for (var i = me(s), r = i.next(); !r.done; r = i.next()) {
880
880
  var o = r.value;
881
881
  if (e.next(o), e.closed)
882
882
  return;
@@ -944,7 +944,7 @@ function Xi(s, e) {
944
944
  });
945
945
  });
946
946
  }
947
- function F(s, e, t, n, i) {
947
+ function q(s, e, t, n, i) {
948
948
  n === void 0 && (n = 0), i === void 0 && (i = !1);
949
949
  var r = e.schedule(function() {
950
950
  t(), i ? s.add(this.schedule(null, n)) : this.unsubscribe();
@@ -953,24 +953,24 @@ function F(s, e, t, n, i) {
953
953
  return r;
954
954
  }
955
955
  function Os(s, e) {
956
- return e === void 0 && (e = 0), G(function(t, n) {
956
+ return e === void 0 && (e = 0), K(function(t, n) {
957
957
  t.subscribe(P(n, function(i) {
958
- return F(n, s, function() {
958
+ return q(n, s, function() {
959
959
  return n.next(i);
960
960
  }, e);
961
961
  }, function() {
962
- return F(n, s, function() {
962
+ return q(n, s, function() {
963
963
  return n.complete();
964
964
  }, e);
965
965
  }, function(i) {
966
- return F(n, s, function() {
966
+ return q(n, s, function() {
967
967
  return n.error(i);
968
968
  }, e);
969
969
  }));
970
970
  });
971
971
  }
972
972
  function Ps(s, e) {
973
- return e === void 0 && (e = 0), G(function(t, n) {
973
+ return e === void 0 && (e = 0), K(function(t, n) {
974
974
  n.add(s.schedule(function() {
975
975
  return t.subscribe(n);
976
976
  }, e));
@@ -993,8 +993,8 @@ function er(s, e) {
993
993
  function tr(s, e) {
994
994
  return new A(function(t) {
995
995
  var n;
996
- return F(t, e, function() {
997
- n = s[Cs](), F(t, e, function() {
996
+ return q(t, e, function() {
997
+ n = s[Cs](), q(t, e, function() {
998
998
  var i, r, o;
999
999
  try {
1000
1000
  i = n.next(), r = i.value, o = i.done;
@@ -1013,9 +1013,9 @@ function Rs(s, e) {
1013
1013
  if (!s)
1014
1014
  throw new Error("Iterable cannot be null");
1015
1015
  return new A(function(t) {
1016
- F(t, e, function() {
1016
+ q(t, e, function() {
1017
1017
  var n = s[Symbol.asyncIterator]();
1018
- F(t, e, function() {
1018
+ q(t, e, function() {
1019
1019
  n.next().then(function(i) {
1020
1020
  i.done ? t.complete() : t.next(i.value);
1021
1021
  });
@@ -1053,7 +1053,7 @@ function It() {
1053
1053
  return lt(s, t);
1054
1054
  }
1055
1055
  function Qe(s, e) {
1056
- return G(function(t, n) {
1056
+ return K(function(t, n) {
1057
1057
  var i = 0;
1058
1058
  t.subscribe(P(n, function(r) {
1059
1059
  n.next(s.call(e, r, i++));
@@ -1062,7 +1062,7 @@ function Qe(s, e) {
1062
1062
  }
1063
1063
  var ir = Array.isArray;
1064
1064
  function rr(s, e) {
1065
- return ir(e) ? s.apply(void 0, ne([], Y(e))) : s(e);
1065
+ return ir(e) ? s.apply(void 0, se([], Q(e))) : s(e);
1066
1066
  }
1067
1067
  function Is(s) {
1068
1068
  return Qe(function(e) {
@@ -1103,11 +1103,11 @@ function dr() {
1103
1103
  return lt([], t);
1104
1104
  var a = new A(fr(r, t, o ? function(l) {
1105
1105
  return pr(o, l);
1106
- } : Oe));
1106
+ } : Pe));
1107
1107
  return n ? a.pipe(Is(n)) : a;
1108
1108
  }
1109
1109
  function fr(s, e, t) {
1110
- return t === void 0 && (t = Oe), function(n) {
1110
+ return t === void 0 && (t = Pe), function(n) {
1111
1111
  An(e, function() {
1112
1112
  for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
1113
1113
  An(e, function() {
@@ -1124,7 +1124,7 @@ function fr(s, e, t) {
1124
1124
  };
1125
1125
  }
1126
1126
  function An(s, e, t) {
1127
- s ? F(t, s, e) : e();
1127
+ s ? q(t, s, e) : e();
1128
1128
  }
1129
1129
  function gr(s, e, t, n, i, r, o, a) {
1130
1130
  var l = [], c = 0, h = 0, u = !1, p = function() {
@@ -1143,15 +1143,15 @@ function gr(s, e, t, n, i, r, o, a) {
1143
1143
  try {
1144
1144
  c--;
1145
1145
  for (var N = function() {
1146
- var V = l.shift();
1147
- o ? F(e, o, function() {
1148
- return b(V);
1149
- }) : b(V);
1146
+ var J = l.shift();
1147
+ o ? q(e, o, function() {
1148
+ return b(J);
1149
+ }) : b(J);
1150
1150
  }; l.length && c < n; )
1151
1151
  N();
1152
1152
  p();
1153
- } catch (V) {
1154
- e.error(V);
1153
+ } catch (J) {
1154
+ e.error(J);
1155
1155
  }
1156
1156
  }));
1157
1157
  };
@@ -1166,18 +1166,18 @@ function Xt(s, e, t) {
1166
1166
  return Qe(function(r, o) {
1167
1167
  return e(n, r, i, o);
1168
1168
  })(B(s(n, i)));
1169
- }, t) : (typeof e == "number" && (t = e), G(function(n, i) {
1169
+ }, t) : (typeof e == "number" && (t = e), K(function(n, i) {
1170
1170
  return gr(n, i, s, t);
1171
1171
  }));
1172
1172
  }
1173
1173
  function mr(s) {
1174
- return s === void 0 && (s = 1 / 0), Xt(Oe, s);
1174
+ return s === void 0 && (s = 1 / 0), Xt(Pe, s);
1175
1175
  }
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
1179
  return Ge(s, e, t).pipe(Is(n));
1180
- var i = Y(wr(s) ? br.map(function(a) {
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
  };
@@ -1219,20 +1219,20 @@ function kr() {
1219
1219
  for (var s = [], e = 0; e < arguments.length; e++)
1220
1220
  s[e] = arguments[e];
1221
1221
  var t = Gt(s), n = qi(s, 1 / 0), i = s;
1222
- return i.length ? i.length === 1 ? B(i[0]) : mr(n)(lt(i, t)) : Pe;
1222
+ return i.length ? i.length === 1 ? B(i[0]) : mr(n)(lt(i, t)) : Re;
1223
1223
  }
1224
1224
  function Mt(s) {
1225
1225
  return s <= 0 ? function() {
1226
- return Pe;
1227
- } : G(function(e, t) {
1226
+ return Re;
1227
+ } : K(function(e, t) {
1228
1228
  var n = 0;
1229
1229
  e.subscribe(P(t, function(i) {
1230
1230
  ++n <= s && (t.next(i), s <= n && t.complete());
1231
1231
  }));
1232
1232
  });
1233
1233
  }
1234
- function pe(s, e) {
1235
- return G(function(t, n) {
1234
+ function de(s, e) {
1235
+ return K(function(t, n) {
1236
1236
  var i = null, r = 0, o = !1, a = function() {
1237
1237
  return o && !i && n.complete();
1238
1238
  };
@@ -1250,7 +1250,7 @@ function pe(s, e) {
1250
1250
  });
1251
1251
  }
1252
1252
  function zt(s) {
1253
- return G(function(e, t) {
1253
+ return K(function(e, t) {
1254
1254
  B(s).subscribe(P(t, function() {
1255
1255
  return t.complete();
1256
1256
  }, Ye)), !t.closed && e.subscribe(t);
@@ -1260,24 +1260,24 @@ function Ut() {
1260
1260
  for (var s = [], e = 0; e < arguments.length; e++)
1261
1261
  s[e] = arguments[e];
1262
1262
  var t = xs(s);
1263
- return G(function(n, i) {
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;
1266
1266
  }), l = !1, c = function(u) {
1267
1267
  B(s[u]).subscribe(P(i, function(p) {
1268
- o[u] = p, !l && !a[u] && (a[u] = !0, (l = a.every(Oe)) && (a = null));
1268
+ o[u] = p, !l && !a[u] && (a[u] = !0, (l = a.every(Pe)) && (a = null));
1269
1269
  }, Ye));
1270
1270
  }, h = 0; h < r; h++)
1271
1271
  c(h);
1272
1272
  n.subscribe(P(i, function(u) {
1273
1273
  if (l) {
1274
- var p = ne([u], Y(o));
1275
- i.next(t ? t.apply(void 0, ne([], Y(p))) : p);
1274
+ var p = se([u], Q(o));
1275
+ i.next(t ? t.apply(void 0, se([], Q(p))) : p);
1276
1276
  }
1277
1277
  }));
1278
1278
  });
1279
1279
  }
1280
- var Z = /* @__PURE__ */ ((s) => (s.User = "user", s.Agent = "agent", s.System = "system", s))(Z || {});
1280
+ var W = /* @__PURE__ */ ((s) => (s.User = "user", s.Agent = "agent", s.System = "system", s))(W || {});
1281
1281
  const Ms = () => crypto.randomUUID();
1282
1282
  function jl(s) {
1283
1283
  let e = s;
@@ -1369,7 +1369,7 @@ class Cr {
1369
1369
  }
1370
1370
  print(e, t = "html", n = this.name) {
1371
1371
  const i = new ct(
1372
- Z.Agent,
1372
+ W.Agent,
1373
1373
  { name: n },
1374
1374
  [
1375
1375
  {
@@ -1389,7 +1389,7 @@ class Ar {
1389
1389
  }
1390
1390
  print(e) {
1391
1391
  const t = new ct(
1392
- Z.User,
1392
+ W.User,
1393
1393
  { name: this.name },
1394
1394
  [
1395
1395
  {
@@ -1409,7 +1409,7 @@ class Er {
1409
1409
  }
1410
1410
  print(e) {
1411
1411
  const t = new ct(
1412
- Z.System,
1412
+ W.System,
1413
1413
  { name: this.name },
1414
1414
  [
1415
1415
  {
@@ -1423,7 +1423,7 @@ class Er {
1423
1423
  return this.print$.asObservable();
1424
1424
  }
1425
1425
  }
1426
- class Hl {
1426
+ class Dl {
1427
1427
  constructor(e, t) {
1428
1428
  this.name = e, this.component = t, this.print$ = new _(), this.typingState$ = new U(!1), this.complete$ = new _(), this.system = this.createSystem(), this.rehydrate$ = new _(), this.saveToCurrentSession$ = new _(), this.showChatOverlay$ = new U(!1), this.onComplete = () => this.complete$.asObservable();
1429
1429
  }
@@ -1437,7 +1437,7 @@ class Hl {
1437
1437
  disconnected() {
1438
1438
  }
1439
1439
  onUserSubmit(e) {
1440
- this.print(Z.User, e.text);
1440
+ this.print(W.User, e.text);
1441
1441
  }
1442
1442
  print(e, t) {
1443
1443
  const n = new ct(
@@ -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, W = globalThis, On = W.trustedTypes, Ur = On ? On.emptyScript : "", kt = W.reactiveElementPolyfillSupport, xe = (s, e) => s, Ke = { toAttribute(s, e) {
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) {
1557
1557
  switch (e) {
1558
1558
  case Boolean:
1559
1559
  s = s ? Ur : null;
@@ -1582,8 +1582,8 @@ const { is: Or, defineProperty: Pr, getOwnPropertyDescriptor: Rr, getOwnProperty
1582
1582
  }
1583
1583
  return t;
1584
1584
  } }, en = (s, e) => !Or(s, e), Pn = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: en };
1585
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1586
- let ae = class extends HTMLElement {
1585
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Y.litPropertyMetadata ?? (Y.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1586
+ let le = class extends HTMLElement {
1587
1587
  static addInitializer(e) {
1588
1588
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
1589
1589
  }
@@ -1613,15 +1613,15 @@ let ae = class extends HTMLElement {
1613
1613
  return this.elementProperties.get(e) ?? Pn;
1614
1614
  }
1615
1615
  static _$Ei() {
1616
- if (this.hasOwnProperty(xe("elementProperties")))
1616
+ if (this.hasOwnProperty(we("elementProperties")))
1617
1617
  return;
1618
1618
  const e = zr(this);
1619
1619
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1620
1620
  }
1621
1621
  static finalize() {
1622
- if (this.hasOwnProperty(xe("finalized")))
1622
+ if (this.hasOwnProperty(we("finalized")))
1623
1623
  return;
1624
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(xe("properties"))) {
1624
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(we("properties"))) {
1625
1625
  const t = this.properties, n = [...Ir(t), ...Mr(t)];
1626
1626
  for (const i of n)
1627
1627
  this.createProperty(i, t[i]);
@@ -1794,15 +1794,15 @@ let ae = class extends HTMLElement {
1794
1794
  firstUpdated(e) {
1795
1795
  }
1796
1796
  };
1797
- ae.elementStyles = [], ae.shadowRootOptions = { mode: "open" }, ae[xe("elementProperties")] = /* @__PURE__ */ new Map(), ae[xe("finalized")] = /* @__PURE__ */ new Map(), kt == null || kt({ ReactiveElement: ae }), (W.reactiveElementVersions ?? (W.reactiveElementVersions = [])).push("2.0.4");
1797
+ le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[we("elementProperties")] = /* @__PURE__ */ new Map(), le[we("finalized")] = /* @__PURE__ */ new Map(), kt == null || kt({ ReactiveElement: le }), (Y.reactiveElementVersions ?? (Y.reactiveElementVersions = [])).push("2.0.4");
1798
1798
  /**
1799
1799
  * @license
1800
1800
  * Copyright 2017 Google LLC
1801
1801
  * SPDX-License-Identifier: BSD-3-Clause
1802
1802
  */
1803
- const we = globalThis, Xe = we.trustedTypes, Rn = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, js = "$lit$", q = `lit$${(Math.random() + "").slice(9)}$`, Hs = "?" + q, jr = `<${Hs}>`, se = document, Ce = () => se.createComment(""), Ae = (s) => s === null || typeof s != "object" && typeof s != "function", Ds = Array.isArray, Hr = (s) => Ds(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1804
- \f\r]`, ye = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, In = /-->/g, Mn = />/g, J = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
1805
- \f\r"'\`<>=]|("|')|))|$)`, "g"), zn = /'/g, Un = /"/g, Bs = /^(?:script|style|textarea|title)$/i, Dr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Dr(1), Q = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), jn = /* @__PURE__ */ new WeakMap(), te = se.createTreeWalker(se, 129);
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
1806
  function Ns(s, e) {
1807
1807
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
1808
1808
  throw Error("invalid template strings array");
@@ -1810,68 +1810,68 @@ function Ns(s, e) {
1810
1810
  }
1811
1811
  const Br = (s, e) => {
1812
1812
  const t = s.length - 1, n = [];
1813
- let i, r = e === 2 ? "<svg>" : "", o = ye;
1813
+ let i, r = e === 2 ? "<svg>" : "", o = $e;
1814
1814
  for (let a = 0; a < t; a++) {
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 === ye ? h[1] === "!--" ? o = In : h[1] !== void 0 ? o = Mn : h[2] !== void 0 ? (Bs.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = J) : h[3] !== void 0 && (o = J) : o === J ? h[0] === ">" ? (o = i ?? ye, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? J : h[3] === '"' ? Un : zn) : o === Un || o === zn ? o = J : o === In || o === Mn ? o = ye : (o = J, i = void 0);
1819
- const d = o === J && s[a + 1].startsWith("/>") ? " " : "";
1820
- r += o === ye ? l + jr : u >= 0 ? (n.push(c), l.slice(0, u) + js + l.slice(u) + q + d) : l + q + (u === -2 ? a : d);
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);
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);
1821
1821
  }
1822
1822
  return [Ns(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1823
1823
  };
1824
- class Ee {
1824
+ class Te {
1825
1825
  constructor({ strings: e, _$litType$: t }, n) {
1826
1826
  let i;
1827
1827
  this.parts = [];
1828
1828
  let r = 0, o = 0;
1829
1829
  const a = e.length - 1, l = this.parts, [c, h] = Br(e, t);
1830
- if (this.el = Ee.createElement(c, n), te.currentNode = this.el.content, t === 2) {
1830
+ if (this.el = Te.createElement(c, n), ne.currentNode = this.el.content, t === 2) {
1831
1831
  const u = this.el.content.firstChild;
1832
1832
  u.replaceWith(...u.childNodes);
1833
1833
  }
1834
- for (; (i = te.nextNode()) !== null && l.length < a; ) {
1834
+ for (; (i = ne.nextNode()) !== null && l.length < a; ) {
1835
1835
  if (i.nodeType === 1) {
1836
1836
  if (i.hasAttributes())
1837
1837
  for (const u of i.getAttributeNames())
1838
1838
  if (u.endsWith(js)) {
1839
- const p = h[o++], d = i.getAttribute(u).split(q), b = /([.?@])?(.*)/.exec(p);
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
- u.startsWith(q) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1842
+ u.startsWith(Z) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1843
1843
  if (Bs.test(i.tagName)) {
1844
- const u = i.textContent.split(q), p = u.length - 1;
1844
+ const u = i.textContent.split(Z), p = u.length - 1;
1845
1845
  if (p > 0) {
1846
1846
  i.textContent = Xe ? Xe.emptyScript : "";
1847
1847
  for (let d = 0; d < p; d++)
1848
- i.append(u[d], Ce()), te.nextNode(), l.push({ type: 2, index: ++r });
1849
- i.append(u[p], Ce());
1848
+ i.append(u[d], Ae()), ne.nextNode(), l.push({ type: 2, index: ++r });
1849
+ i.append(u[p], Ae());
1850
1850
  }
1851
1851
  }
1852
1852
  } else if (i.nodeType === 8)
1853
- if (i.data === Hs)
1853
+ if (i.data === Ds)
1854
1854
  l.push({ type: 2, index: r });
1855
1855
  else {
1856
1856
  let u = -1;
1857
- for (; (u = i.data.indexOf(q, u + 1)) !== -1; )
1858
- l.push({ type: 7, index: r }), u += q.length - 1;
1857
+ for (; (u = i.data.indexOf(Z, u + 1)) !== -1; )
1858
+ l.push({ type: 7, index: r }), u += Z.length - 1;
1859
1859
  }
1860
1860
  r++;
1861
1861
  }
1862
1862
  }
1863
1863
  static createElement(e, t) {
1864
- const n = se.createElement("template");
1864
+ const n = ie.createElement("template");
1865
1865
  return n.innerHTML = e, n;
1866
1866
  }
1867
1867
  }
1868
- function me(s, e, t = s, n) {
1868
+ function ve(s, e, t = s, n) {
1869
1869
  var o, a;
1870
- if (e === Q)
1870
+ if (e === G)
1871
1871
  return e;
1872
1872
  let i = n !== void 0 ? (o = t._$Co) == null ? void 0 : o[n] : t._$Cl;
1873
- const r = Ae(e) ? void 0 : e._$litDirective$;
1874
- return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(s), i._$AT(s, t, n)), n !== void 0 ? (t._$Co ?? (t._$Co = []))[n] = i : t._$Cl = i), i !== void 0 && (e = me(s, i._$AS(s, e.values), i, n)), e;
1873
+ const r = Ee(e) ? void 0 : e._$litDirective$;
1874
+ return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(s), i._$AT(s, t, n)), n !== void 0 ? (t._$Co ?? (t._$Co = []))[n] = i : t._$Cl = i), i !== void 0 && (e = ve(s, i._$AS(s, e.values), i, n)), e;
1875
1875
  }
1876
1876
  class Nr {
1877
1877
  constructor(e, t) {
@@ -1884,17 +1884,17 @@ class Nr {
1884
1884
  return this._$AM._$AU;
1885
1885
  }
1886
1886
  u(e) {
1887
- const { el: { content: t }, parts: n } = this._$AD, i = ((e == null ? void 0 : e.creationScope) ?? se).importNode(t, !0);
1888
- te.currentNode = i;
1889
- let r = te.nextNode(), o = 0, a = 0, l = n[0];
1887
+ const { el: { content: t }, parts: n } = this._$AD, i = ((e == null ? void 0 : e.creationScope) ?? ie).importNode(t, !0);
1888
+ ne.currentNode = i;
1889
+ let r = ne.nextNode(), o = 0, a = 0, l = n[0];
1890
1890
  for (; l !== void 0; ) {
1891
1891
  if (o === l.index) {
1892
1892
  let c;
1893
- l.type === 2 ? c = new Re(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Wr(r, this, e)), this._$AV.push(c), l = n[++a];
1893
+ l.type === 2 ? c = new Ie(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Wr(r, this, e)), this._$AV.push(c), l = n[++a];
1894
1894
  }
1895
- o !== (l == null ? void 0 : l.index) && (r = te.nextNode(), o++);
1895
+ o !== (l == null ? void 0 : l.index) && (r = ne.nextNode(), o++);
1896
1896
  }
1897
- return te.currentNode = se, i;
1897
+ return ne.currentNode = ie, i;
1898
1898
  }
1899
1899
  p(e) {
1900
1900
  let t = 0;
@@ -1902,7 +1902,7 @@ class Nr {
1902
1902
  n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, t), t += n.strings.length - 2) : n._$AI(e[t])), t++;
1903
1903
  }
1904
1904
  }
1905
- class Re {
1905
+ class Ie {
1906
1906
  get _$AU() {
1907
1907
  var e;
1908
1908
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -1922,7 +1922,7 @@ class Re {
1922
1922
  return this._$AB;
1923
1923
  }
1924
1924
  _$AI(e, t = this) {
1925
- e = me(this, e, t), Ae(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== Q && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Hr(e) ? this.k(e) : this._(e);
1925
+ e = ve(this, e, t), Ee(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== G && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Dr(e) ? this.k(e) : this._(e);
1926
1926
  }
1927
1927
  S(e) {
1928
1928
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -1931,11 +1931,11 @@ class Re {
1931
1931
  this._$AH !== e && (this._$AR(), this._$AH = this.S(e));
1932
1932
  }
1933
1933
  _(e) {
1934
- this._$AH !== g && Ae(this._$AH) ? this._$AA.nextSibling.data = e : this.T(se.createTextNode(e)), this._$AH = e;
1934
+ this._$AH !== g && Ee(this._$AH) ? this._$AA.nextSibling.data = e : this.T(ie.createTextNode(e)), this._$AH = e;
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 = Ee.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(Ns(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 {
@@ -1945,14 +1945,14 @@ class Re {
1945
1945
  }
1946
1946
  _$AC(e) {
1947
1947
  let t = jn.get(e.strings);
1948
- return t === void 0 && jn.set(e.strings, t = new Ee(e)), t;
1948
+ return t === void 0 && jn.set(e.strings, t = new Te(e)), t;
1949
1949
  }
1950
1950
  k(e) {
1951
- Ds(this._$AH) || (this._$AH = [], this._$AR());
1951
+ Hs(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)
1955
- i === t.length ? t.push(n = new Re(this.S(Ce()), this.S(Ce()), this, this.options)) : n = t[i], n._$AI(r), i++;
1955
+ i === t.length ? t.push(n = new Ie(this.S(Ae()), this.S(Ae()), this, this.options)) : n = t[i], n._$AI(r), i++;
1956
1956
  i < t.length && (this._$AR(n && n._$AB.nextSibling, i), t.length = i);
1957
1957
  }
1958
1958
  _$AR(e = this._$AA.nextSibling, t) {
@@ -1981,12 +1981,12 @@ class ht {
1981
1981
  const r = this.strings;
1982
1982
  let o = !1;
1983
1983
  if (r === void 0)
1984
- e = me(this, e, t, 0), o = !Ae(e) || e !== this._$AH && e !== Q, o && (this._$AH = e);
1984
+ e = ve(this, e, t, 0), o = !Ee(e) || e !== this._$AH && e !== G, o && (this._$AH = e);
1985
1985
  else {
1986
1986
  const a = e;
1987
1987
  let l, c;
1988
1988
  for (e = r[0], l = 0; l < r.length - 1; l++)
1989
- c = me(this, a[n + l], t, l), c === Q && (c = this._$AH[l]), o || (o = !Ae(c) || c !== this._$AH[l]), c === g ? e = g : e !== g && (e += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1989
+ c = ve(this, a[n + l], t, l), c === G && (c = this._$AH[l]), o || (o = !Ee(c) || c !== this._$AH[l]), c === g ? e = g : e !== g && (e += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1990
1990
  }
1991
1991
  o && !i && this.j(e);
1992
1992
  }
@@ -2015,7 +2015,7 @@ class Zr extends ht {
2015
2015
  super(e, t, n, i, r), this.type = 5;
2016
2016
  }
2017
2017
  _$AI(e, t = this) {
2018
- if ((e = me(this, e, t, 0) ?? g) === Q)
2018
+ if ((e = ve(this, e, t, 0) ?? g) === G)
2019
2019
  return;
2020
2020
  const n = this._$AH, i = e === g && n !== g || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, r = e !== g && (n === g || i);
2021
2021
  i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
@@ -2033,17 +2033,17 @@ class Wr {
2033
2033
  return this._$AM._$AU;
2034
2034
  }
2035
2035
  _$AI(e) {
2036
- me(this, e);
2036
+ ve(this, e);
2037
2037
  }
2038
2038
  }
2039
- const St = we.litHtmlPolyfillSupport;
2040
- St == null || St(Ee, Re), (we.litHtmlVersions ?? (we.litHtmlVersions = [])).push("3.1.2");
2039
+ const St = ke.litHtmlPolyfillSupport;
2040
+ St == null || St(Te, Ie), (ke.litHtmlVersions ?? (ke.litHtmlVersions = [])).push("3.1.2");
2041
2041
  const Yr = (s, e, t) => {
2042
2042
  const n = (t == null ? void 0 : t.renderBefore) ?? e;
2043
2043
  let i = n._$litPart$;
2044
2044
  if (i === void 0) {
2045
2045
  const r = (t == null ? void 0 : t.renderBefore) ?? null;
2046
- n._$litPart$ = i = new Re(e.insertBefore(Ce(), r), r, void 0, t ?? {});
2046
+ n._$litPart$ = i = new Ie(e.insertBefore(Ae(), r), r, void 0, t ?? {});
2047
2047
  }
2048
2048
  return i._$AI(s), i;
2049
2049
  };
@@ -2052,7 +2052,7 @@ const Yr = (s, e, t) => {
2052
2052
  * Copyright 2017 Google LLC
2053
2053
  * SPDX-License-Identifier: BSD-3-Clause
2054
2054
  */
2055
- let k = class extends ae {
2055
+ let k = class extends le {
2056
2056
  constructor() {
2057
2057
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
2058
2058
  }
@@ -2074,7 +2074,7 @@ let k = class extends ae {
2074
2074
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
2075
2075
  }
2076
2076
  render() {
2077
- return Q;
2077
+ return G;
2078
2078
  }
2079
2079
  };
2080
2080
  var ds;
@@ -2082,7 +2082,7 @@ k._$litElement$ = !0, k.finalized = !0, (ds = globalThis.litElementHydrateSuppor
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>' }, 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>' }, Dn = { 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>' }, le = {
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 = {
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 ce, Fs, ut, qs = !1, Ve = !1, tn = !1, T = !1, Bn = null, Ht = !1;
2170
- const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Zs = pt.HTMLElement || class {
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 {
2171
2171
  }, S = {
2172
2172
  $flags$: 0,
2173
2173
  $resourcesUrl$: "",
@@ -2179,7 +2179,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2179
2179
  }, to = /* @__PURE__ */ (() => {
2180
2180
  let s = !1;
2181
2181
  try {
2182
- D.addEventListener("e", null, Object.defineProperty({}, "passive", {
2182
+ H.addEventListener("e", null, Object.defineProperty({}, "passive", {
2183
2183
  get() {
2184
2184
  s = !0;
2185
2185
  }
@@ -2200,31 +2200,31 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2200
2200
  });
2201
2201
  }, io = (s, e) => (t) => {
2202
2202
  try {
2203
- le.lazyLoad || s.$hostElement$[e](t);
2203
+ ce.lazyLoad || s.$hostElement$[e](t);
2204
2204
  } catch (n) {
2205
- Ie(n);
2205
+ Me(n);
2206
2206
  }
2207
- }, ro = (s, e) => e & 4 ? D : e & 8 ? pt : e & 16 ? D.body : s, oo = (s) => to ? {
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", ie = (s, e = "") => () => {
2210
+ } : (s & 2) !== 0, Nn = "http://www.w3.org/1999/xlink", re = (s, e = "") => () => {
2211
2211
  }, Fn = /* @__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
2215
  let i = Ys(e, t), r = tt.get(i);
2216
- if (s = s.nodeType === 11 ? s : D, r)
2216
+ if (s = s.nodeType === 11 ? s : H, r)
2217
2217
  if (typeof r == "string") {
2218
2218
  s = s.head || s;
2219
2219
  let o = Fn.get(s), a;
2220
- o || Fn.set(s, o = /* @__PURE__ */ new Set()), o.has(i) || (a = D.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(i));
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));
2221
2221
  } else
2222
2222
  s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
2223
2223
  return i;
2224
2224
  }, co = (s) => {
2225
- const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = ie("attachStyles", e.$tagName$), r = lo(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
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) => Ho.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"), de = (s, e, ...t) => {
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) => {
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++)
@@ -2263,7 +2263,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2263
2263
  }), vo = (s) => {
2264
2264
  if (typeof s.vtag == "function") {
2265
2265
  const t = Object.assign({}, s.vattrs);
2266
- return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname), de(s.vtag, t, ...s.vchildren || []);
2266
+ return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname), fe(s.vtag, t, ...s.vchildren || []);
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;
@@ -2307,29 +2307,29 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2307
2307
  Wn(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" && (ce && n.classList.add(ce + "-s"), i.$flags$ |= i.$children$ ? (
2310
+ if (qs || (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
  ) : (
2314
2314
  // slot element does not have fallback content
2315
2315
  1
2316
2316
  ))), i.$text$ !== null)
2317
- o = i.$elm$ = D.createTextNode(i.$text$);
2317
+ o = i.$elm$ = H.createTextNode(i.$text$);
2318
2318
  else if (i.$flags$ & 1)
2319
- o = i.$elm$ = D.createTextNode("");
2319
+ o = i.$elm$ = H.createTextNode("");
2320
2320
  else {
2321
- if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = D.createElementNS(T ? uo : po, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), Qs(null, i, T), fo(ce) && o["s-si"] !== ce && o.classList.add(o["s-si"] = ce), 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), Qs(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$ && Te(s.$elm$, !1)), o;
2327
- }, Te = (s, e) => {
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;
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 && Te(i, e);
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);
2333
2333
  }
2334
2334
  S.$flags$ &= -2;
2335
2335
  }, Gs = (s, e, t, n, i, r) => {
@@ -2338,7 +2338,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2338
2338
  n[i] && (a = et(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, rn(e))));
2339
2339
  }, Ks = (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() : Te(i, !0), i.remove());
2341
+ (n = s[e]) && (i = n.$elm$, ei(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; )
@@ -2350,24 +2350,24 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2350
2350
  p = n[++r];
2351
2351
  else if (d == null)
2352
2352
  d = n[--u];
2353
- else if (Be(c, p))
2354
- he(c, p), c = e[++i], p = n[++r];
2355
- else if (Be(h, d))
2356
- he(h, d), h = e[--l], d = n[--u];
2357
- else if (Be(c, d))
2358
- (c.$tag$ === "slot" || d.$tag$ === "slot") && Te(c.$elm$.parentNode, !1), he(c, d), s.insertBefore(c.$elm$, h.$elm$.nextSibling), c = e[++i], d = n[--u];
2359
- else if (Be(h, p))
2360
- (c.$tag$ === "slot" || d.$tag$ === "slot") && Te(h.$elm$.parentNode, !1), he(h, p), s.insertBefore(h.$elm$, c.$elm$), h = e[--l], p = n[++r];
2353
+ else if (Ne(c, p))
2354
+ ue(c, p), c = e[++i], p = n[++r];
2355
+ else if (Ne(h, d))
2356
+ ue(h, d), h = e[--l], d = n[--u];
2357
+ else if (Ne(c, d))
2358
+ (c.$tag$ === "slot" || d.$tag$ === "slot") && Le(c.$elm$.parentNode, !1), ue(c, d), s.insertBefore(c.$elm$, h.$elm$.nextSibling), c = e[++i], d = n[--u];
2359
+ else if (Ne(h, p))
2360
+ (c.$tag$ === "slot" || d.$tag$ === "slot") && Le(h.$elm$.parentNode, !1), ue(h, p), s.insertBefore(h.$elm$, c.$elm$), h = e[--l], p = n[++r];
2361
2361
  else {
2362
2362
  for (o = -1, a = i; a <= l; ++a)
2363
2363
  if (e[a] && e[a].$key$ !== null && e[a].$key$ === p.$key$) {
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) : (he(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 && Xs(c.$elm$).insertBefore(b, rn(c.$elm$));
2368
2368
  }
2369
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
- }, Be = (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, he = (s, e) => {
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) => {
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
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);
@@ -2407,14 +2407,14 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2407
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
2408
  s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(ei);
2409
2409
  }, $o = (s, e) => {
2410
- const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r = go(e) ? e : de(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, ce = t["s-sc"], Fs = t["s-cr"], qs = (n.$flags$ & 1) !== 0, Ve = !1, he(i, r);
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);
2412
2412
  {
2413
2413
  if (S.$flags$ |= 1, tn) {
2414
2414
  Js(r.$elm$);
2415
2415
  let o, a, l, c, h, u, p = 0;
2416
2416
  for (; p < O.length; p++)
2417
- o = O[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = D.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
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));
2418
2418
  for (p = 0; p < O.length; p++)
2419
2419
  if (o = O[p], a = o.$nodeToRelocate$, o.$slotRefNode$) {
2420
2420
  for (c = o.$slotRefNode$.parentNode, h = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
@@ -2443,30 +2443,30 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2443
2443
  return s.dispatchEvent(n), n;
2444
2444
  }, _o = (s, e) => {
2445
2445
  }, ti = (s, e) => (s.$flags$ |= 16, _o(s, s.$ancestorComponent$), No(() => So(s, e))), So = (s, e) => {
2446
- const t = s.$hostElement$, n = ie("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
2446
+ const t = s.$hostElement$, n = re("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
2447
2447
  let r;
2448
- return e ? r = fe(i, "componentWillLoad") : r = fe(i, "componentWillUpdate"), r = Gn(r, () => fe(i, "componentWillRender")), n(), Gn(r, () => Co(s, i, e));
2448
+ return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = Gn(r, () => ge(i, "componentWillRender")), n(), Gn(r, () => Co(s, i, e));
2449
2449
  }, Co = async (s, e, t) => {
2450
- const n = s.$hostElement$, i = ie("update", s.$cmpMeta$.$tagName$);
2450
+ const n = s.$hostElement$, i = re("update", s.$cmpMeta$.$tagName$);
2451
2451
  n["s-rc"], t && co(s);
2452
- const r = ie("render", s.$cmpMeta$.$tagName$);
2452
+ const r = re("render", s.$cmpMeta$.$tagName$);
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, (le.hasRenderFn || le.reflect) && (le.vdomRender || le.reflect) && (le.hydrateServerSide || $o(s, e));
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));
2457
2457
  } catch (a) {
2458
- Ie(a, s.$hostElement$);
2458
+ Me(a, s.$hostElement$);
2459
2459
  }
2460
2460
  return Bn = null, null;
2461
2461
  }, Eo = (s) => {
2462
- const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = ie("postUpdate", e), i = t;
2463
- s.$ancestorComponent$, fe(i, "componentDidRender"), s.$flags$ & 64 ? (fe(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, fe(i, "componentDidLoad"), n());
2464
- }, fe = (s, e, t) => {
2462
+ const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = re("postUpdate", e), i = t;
2463
+ s.$ancestorComponent$, ge(i, "componentDidRender"), s.$flags$ & 64 ? (ge(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, ge(i, "componentDidLoad"), n());
2464
+ }, ge = (s, e, t) => {
2465
2465
  if (s && s[e])
2466
2466
  try {
2467
2467
  return s[e](t);
2468
2468
  } catch (n) {
2469
- Ie(n);
2469
+ Me(n);
2470
2470
  }
2471
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) => {
2472
2472
  const i = dt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
@@ -2481,7 +2481,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2481
2481
  try {
2482
2482
  l[p](t, o, e);
2483
2483
  } catch (d) {
2484
- Ie(d, r);
2484
+ Me(d, r);
2485
2485
  }
2486
2486
  });
2487
2487
  }
@@ -2535,7 +2535,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2535
2535
  typeof o != "string" && (o = o[e.$modeName$ = ho(s)]);
2536
2536
  const a = Ys(t, e.$modeName$);
2537
2537
  if (!tt.has(a)) {
2538
- const l = ie("registerStyles", t.$tagName$);
2538
+ const l = re("registerStyles", t.$tagName$);
2539
2539
  ao(a, o, !!(t.$flags$ & 1)), l();
2540
2540
  }
2541
2541
  }
@@ -2543,7 +2543,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2543
2543
  }, Io = (s) => {
2544
2544
  }, Mo = (s) => {
2545
2545
  if (!(S.$flags$ & 1)) {
2546
- const e = dt(s), t = e.$cmpMeta$, n = ie("connectedCallback", t.$tagName$);
2546
+ const e = dt(s), t = e.$cmpMeta$, n = re("connectedCallback", t.$tagName$);
2547
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]]) => {
2548
2548
  if (r & 31 && s.hasOwnProperty(i)) {
2549
2549
  const o = s[i];
@@ -2552,7 +2552,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2552
2552
  }), Ro(s, e, t)), n();
2553
2553
  }
2554
2554
  }, zo = (s) => {
2555
- const e = s["s-cr"] = D.createComment("");
2555
+ const e = s["s-cr"] = H.createComment("");
2556
2556
  e["s-cn"] = !0, s.insertBefore(e, s.firstChild);
2557
2557
  }, Uo = (s) => {
2558
2558
  if (!(S.$flags$ & 1)) {
@@ -2591,19 +2591,19 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Z
2591
2591
  $instanceValues$: /* @__PURE__ */ new Map()
2592
2592
  };
2593
2593
  return Ws(s, t, e.$listeners$), si.set(s, t);
2594
- }, Kn = (s, e) => e in s, Ie = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(), Ho = [], Xn = [], ii = [], Do = (s, e) => (t) => {
2595
- s.push(t), Ht || (Ht = !0, e && S.$flags$ & 4 ? Bo(Dt) : S.raf(Dt));
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) => {
2595
+ s.push(t), Dt || (Dt = !0, e && S.$flags$ & 4 ? Bo(Ht) : S.raf(Ht));
2596
2596
  }, Vn = (s) => {
2597
2597
  for (let e = 0; e < s.length; e++)
2598
2598
  try {
2599
2599
  s[e](performance.now());
2600
2600
  } catch (t) {
2601
- Ie(t);
2601
+ Me(t);
2602
2602
  }
2603
2603
  s.length = 0;
2604
- }, Dt = () => {
2605
- Vn(Xn), Vn(ii), (Ht = Xn.length > 0) && S.raf(Dt);
2606
- }, Bo = (s) => no().then(s), No = /* @__PURE__ */ Do(ii, !0), Fo = (s = {}) => {
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 = {}) => {
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" },
@@ -2628,7 +2628,7 @@ const Yo = "telia-vst{display:none}", Qo = /* @__PURE__ */ ni(class extends Zs {
2628
2628
  this.vocaInternalUStats.emit(new Wo(this.dataTrackingId));
2629
2629
  }
2630
2630
  render() {
2631
- return de(sn, null);
2631
+ return fe(sn, null);
2632
2632
  }
2633
2633
  static get style() {
2634
2634
  return Yo;
@@ -2687,7 +2687,7 @@ const Xo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2687
2687
  attributes: e,
2688
2688
  title: this.allyTitle
2689
2689
  });
2690
- return de(sn, { class: `telia-icon telia-icon--${this.size}` }, de("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), de("telia-vst", { dataTrackingId: this.dataTrackingId }));
2690
+ return fe(sn, { class: `telia-icon telia-icon--${this.size}` }, fe("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), fe("telia-vst", { dataTrackingId: this.dataTrackingId }));
2691
2691
  }
2692
2692
  static get style() {
2693
2693
  return Xo;
@@ -2787,13 +2787,13 @@ let on = class {
2787
2787
  * Copyright 2017 Google LLC
2788
2788
  * SPDX-License-Identifier: BSD-3-Clause
2789
2789
  */
2790
- const ke = (s, e) => {
2790
+ const _e = (s, e) => {
2791
2791
  var n;
2792
2792
  const t = s._$AN;
2793
2793
  if (t === void 0)
2794
2794
  return !1;
2795
2795
  for (const i of t)
2796
- (n = i._$AO) == null || n.call(i, e, !1), ke(i, e);
2796
+ (n = i._$AO) == null || n.call(i, e, !1), _e(i, e);
2797
2797
  return !0;
2798
2798
  }, nt = (s) => {
2799
2799
  let e, t;
@@ -2821,11 +2821,11 @@ function ia(s, e = !1, t = 0) {
2821
2821
  if (e)
2822
2822
  if (Array.isArray(n))
2823
2823
  for (let r = t; r < n.length; r++)
2824
- ke(n[r], !1), nt(n[r]);
2824
+ _e(n[r], !1), nt(n[r]);
2825
2825
  else
2826
- n != null && (ke(n, !1), nt(n));
2826
+ n != null && (_e(n, !1), nt(n));
2827
2827
  else
2828
- ke(this, s);
2828
+ _e(this, s);
2829
2829
  }
2830
2830
  const ra = (s) => {
2831
2831
  s.type == ft.CHILD && (s._$AP ?? (s._$AP = ia), s._$AQ ?? (s._$AQ = sa));
@@ -2839,7 +2839,7 @@ let ai = class extends on {
2839
2839
  }
2840
2840
  _$AO(e, t = !0) {
2841
2841
  var n, i;
2842
- e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), t && (ke(this, e), nt(this));
2842
+ e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), t && (_e(this, e), nt(this));
2843
2843
  }
2844
2844
  setValue(e) {
2845
2845
  if (na(this._$Ct))
@@ -2895,7 +2895,7 @@ const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends ai {
2895
2895
  * Copyright 2018 Google LLC
2896
2896
  * SPDX-License-Identifier: BSD-3-Clause
2897
2897
  */
2898
- const ve = gt(class extends on {
2898
+ const be = gt(class extends on {
2899
2899
  constructor(s) {
2900
2900
  var e;
2901
2901
  if (super(s), s.type !== ft.ATTRIBUTE || s.name !== "class" || ((e = s.strings) == null ? void 0 : e.length) > 2)
@@ -2919,7 +2919,7 @@ const ve = gt(class extends on {
2919
2919
  const o = !!e[r];
2920
2920
  o === this.st.has(r) || (i = this.nt) != null && i.has(r) || (o ? (t.add(r), this.st.add(r)) : (t.remove(r), this.st.delete(r)));
2921
2921
  }
2922
- return Q;
2922
+ return G;
2923
2923
  }
2924
2924
  });
2925
2925
  var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, ca = (s, e, t, n) => {
@@ -3165,30 +3165,46 @@ class ga extends ai {
3165
3165
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3166
3166
  }
3167
3167
  }
3168
- const Nt = gt(ga), Ne = (s, e, t) => {
3168
+ const Nt = gt(ga), F = (s, e, t) => {
3169
3169
  s && t.style.setProperty(e, s);
3170
3170
  }, li = (s, e) => {
3171
- var t, n, i, r;
3172
- Ne((t = s.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), Ne(
3171
+ var t, n, i, r, o, a, l, c, h;
3172
+ F((t = s.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), F(
3173
3173
  (n = s.colors) == null ? void 0 : n.textOnPrimaryBackground,
3174
3174
  "--text-on-primary-background",
3175
3175
  e
3176
- ), Ne(
3176
+ ), F(
3177
3177
  (i = s.colors) == null ? void 0 : i.secondaryBackground,
3178
3178
  "--secondary-background",
3179
3179
  e
3180
- ), Ne(
3180
+ ), F(
3181
3181
  (r = s.colors) == null ? void 0 : r.textOnSecondaryBackground,
3182
3182
  "--text-on-secondary-background",
3183
3183
  e
3184
- );
3184
+ ), F(
3185
+ (o = s.colors) == null ? void 0 : o.interactiveDestructiveBackground,
3186
+ "--destructive-color",
3187
+ e
3188
+ ), F(
3189
+ (a = s.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
3190
+ "--text-on-destructive-color",
3191
+ e
3192
+ ), F(
3193
+ (l = s.colors) == null ? void 0 : l.interactivePrimaryBackground,
3194
+ "--interactive-primary-background",
3195
+ e
3196
+ ), F(
3197
+ (c = s.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
3198
+ "--interactive-text-on-primary-background",
3199
+ e
3200
+ ), F((h = s.colors) == null ? void 0 : h.focusColor, "--focus-color", e);
3185
3201
  };
3186
- var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, Me = (s, e, t, n) => {
3202
+ var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, ze = (s, e, t, n) => {
3187
3203
  for (var i = n > 1 ? void 0 : n ? va(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3188
3204
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3189
3205
  return n && i && ma(e, t, i), i;
3190
3206
  };
3191
- class K extends k {
3207
+ class X extends k {
3192
3208
  constructor() {
3193
3209
  super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = M(), this.widgetActive$ = new U(!1), this.componentIsDestroyed$ = new _();
3194
3210
  }
@@ -3206,7 +3222,7 @@ class K extends k {
3206
3222
  );
3207
3223
  return;
3208
3224
  }
3209
- this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0)) : (this.application.hide(), this.widgetActive$.next(!1));
3225
+ this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0), this.hideTrigger()) : (this.application.hide(), this.widgetActive$.next(!1), this.showTrigger());
3210
3226
  }
3211
3227
  _applyBranding() {
3212
3228
  var e;
@@ -3243,7 +3259,7 @@ class K extends k {
3243
3259
  render() {
3244
3260
  var e, t, n, i;
3245
3261
  return m`<div
3246
- class=${ve({
3262
+ class=${be({
3247
3263
  "trigger-container": !0,
3248
3264
  hidden: !this.triggerVisible
3249
3265
  })}
@@ -3267,7 +3283,7 @@ class K extends k {
3267
3283
 
3268
3284
  <button
3269
3285
  label="Widget trigger"
3270
- class=${ve({
3286
+ class=${be({
3271
3287
  trigger: !0,
3272
3288
  active: this.active,
3273
3289
  rendered: this.loaded
@@ -3306,7 +3322,7 @@ class K extends k {
3306
3322
  </div>`;
3307
3323
  }
3308
3324
  }
3309
- K.styles = [
3325
+ X.styles = [
3310
3326
  E`
3311
3327
  :host {
3312
3328
  --voca-rem-multiplier: 0.625;
@@ -3314,15 +3330,19 @@ K.styles = [
3314
3330
  --trigger-label-text-color: rgba(0, 0, 0, 0.8);
3315
3331
  display: block;
3316
3332
  box-sizing: border-box;
3317
- /* font-family: var(--font-family); */
3318
3333
  font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3319
3334
  }
3320
3335
 
3336
+ :focus {
3337
+ outline-color: var(--focus-color);
3338
+ }
3339
+
3321
3340
  .trigger-container {
3322
3341
  display: flex;
3323
3342
  align-items: center;
3324
3343
  gap: 1rem;
3325
3344
  }
3345
+
3326
3346
  .trigger-container.hidden {
3327
3347
  display: none;
3328
3348
  }
@@ -3340,26 +3360,34 @@ K.styles = [
3340
3360
  width: 55px;
3341
3361
  border-radius: 55px;
3342
3362
  cursor: pointer;
3343
- background-color: var(--trigger-bg, var(--primary-background));
3363
+ background-color: var(
3364
+ --interactive-primary-background,
3365
+ var(--primary-background)
3366
+ );
3344
3367
  font-family: Lato;
3345
3368
  text-decoration: none;
3346
3369
  border: 3px dashed transparent;
3347
3370
  box-sizing: border-box;
3348
3371
  transition: transform 200ms ease-out;
3349
3372
  }
3373
+
3350
3374
  .trigger:active {
3351
3375
  transform: scale(0.8) !important;
3352
3376
  }
3377
+
3353
3378
  .trigger:hover:not(:active) {
3354
3379
  transform: scale(1.1) !important;
3355
3380
  }
3381
+
3356
3382
  .trigger.rendered {
3357
3383
  transform: scale(1);
3358
3384
  }
3385
+
3359
3386
  .trigger.active .trigger-icon {
3360
3387
  opacity: 0;
3361
3388
  transform: rotate(-180deg) scale(0);
3362
3389
  }
3390
+
3363
3391
  .trigger.active .trigger-close {
3364
3392
  opacity: 1;
3365
3393
  transform: rotate(0deg) scale(1);
@@ -3372,8 +3400,12 @@ K.styles = [
3372
3400
  opacity: 1;
3373
3401
  transform: rotate(0deg) scale(1);
3374
3402
  transition: opacity 200ms ease-out, transform 200ms ease-out;
3375
- color: var(--trigger-text-color, var(--text-on-primary-background));
3403
+ color: var(
3404
+ --interactive-text-on-primary-background,
3405
+ var(--text-on-primary-background)
3406
+ );
3376
3407
  }
3408
+
3377
3409
  .trigger-close {
3378
3410
  opacity: 0;
3379
3411
  transition: transform 200ms ease-out;
@@ -3387,8 +3419,12 @@ K.styles = [
3387
3419
  justify-content: center;
3388
3420
  align-items: center;
3389
3421
  }
3422
+
3390
3423
  .trigger-close svg path {
3391
- fill: var(--trigger-text-color, var(--text-on-primary-background));
3424
+ fill: var(
3425
+ --interactive-text-on-primary-background,
3426
+ var(--text-on-primary-background)
3427
+ );
3392
3428
  }
3393
3429
 
3394
3430
  img {
@@ -3397,8 +3433,8 @@ K.styles = [
3397
3433
 
3398
3434
  .trigger-label {
3399
3435
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
3400
- background-color: var(--trigger-label-bg);
3401
- color: var(--trigger-label-text-color);
3436
+ background-color: var(--secondary-background);
3437
+ color: var(--text-on-secondary-background);
3402
3438
  white-space: nowrap;
3403
3439
  padding: 0.7rem 1rem;
3404
3440
  border-radius: 0.3rem;
@@ -3418,22 +3454,22 @@ K.styles = [
3418
3454
  }
3419
3455
  `
3420
3456
  ];
3421
- Me([
3457
+ ze([
3422
3458
  w({ attribute: !1 })
3423
- ], K.prototype, "application", 2);
3424
- Me([
3459
+ ], X.prototype, "application", 2);
3460
+ ze([
3425
3461
  C()
3426
- ], K.prototype, "active", 2);
3427
- Me([
3462
+ ], X.prototype, "active", 2);
3463
+ ze([
3428
3464
  C()
3429
- ], K.prototype, "triggerVisible", 2);
3430
- Me([
3465
+ ], X.prototype, "triggerVisible", 2);
3466
+ ze([
3431
3467
  C()
3432
- ], K.prototype, "loaded", 2);
3433
- Me([
3468
+ ], X.prototype, "loaded", 2);
3469
+ ze([
3434
3470
  C()
3435
- ], K.prototype, "icon", 2);
3436
- var ba = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, ee = (s, e, t, n) => {
3471
+ ], X.prototype, "icon", 2);
3472
+ var ba = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, te = (s, e, t, n) => {
3437
3473
  for (var i = n > 1 ? void 0 : n ? ya(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3438
3474
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3439
3475
  return n && i && ba(e, t, i), i;
@@ -3477,19 +3513,19 @@ const ci = (s) => {
3477
3513
  box-sizing: border-box;
3478
3514
  }
3479
3515
  `
3480
- ], ee([
3516
+ ], te([
3481
3517
  w()
3482
- ], e.prototype, "properties", 2), ee([
3518
+ ], e.prototype, "properties", 2), te([
3483
3519
  w()
3484
- ], e.prototype, "context", 2), ee([
3520
+ ], e.prototype, "context", 2), te([
3485
3521
  w()
3486
- ], e.prototype, "layout", 2), ee([
3522
+ ], e.prototype, "layout", 2), te([
3487
3523
  w()
3488
- ], e.prototype, "name", 2), ee([
3524
+ ], e.prototype, "name", 2), te([
3489
3525
  w()
3490
- ], e.prototype, "type", 2), ee([
3526
+ ], e.prototype, "type", 2), te([
3491
3527
  w({ attribute: !1 })
3492
- ], e.prototype, "application", 2), ee([
3528
+ ], e.prototype, "application", 2), te([
3493
3529
  w({ attribute: !1 })
3494
3530
  ], e.prototype, "parent", 2), e;
3495
3531
  };
@@ -3698,6 +3734,7 @@ cn.styles = E`
3698
3734
  --gray-color: #f3f3f8;
3699
3735
  --white-color: #fff;
3700
3736
  --gray-dark-color: #a6a6a6;
3737
+ --black-border-color: #00000054;
3701
3738
 
3702
3739
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
3703
3740
  --border-radius: var(--spacing-sm);
@@ -3708,6 +3745,7 @@ cn.styles = E`
3708
3745
 
3709
3746
  --header-height: 69px;
3710
3747
  }
3748
+
3711
3749
  :host {
3712
3750
  --voca-rem-multiplier: 0.625;
3713
3751
  box-sizing: border-box;
@@ -3724,23 +3762,27 @@ cn.styles = E`
3724
3762
  z-index: 6;
3725
3763
  position: fixed;
3726
3764
  }
3765
+
3727
3766
  @media screen and (max-width: 800px) {
3728
3767
  :host(.floating) {
3729
- inset: 0 0 95px 0;
3768
+ inset: 0;
3730
3769
  height: 100%;
3731
3770
  }
3771
+
3732
3772
  :host(.third-party) {
3733
- inset: 0 0 95px 0;
3773
+ inset: 0;
3734
3774
  height: 100vh;
3735
3775
  }
3736
3776
  }
3777
+
3737
3778
  @media screen and (min-width: 801px) {
3738
3779
  :host(.floating) {
3739
- inset: auto 20px 95px auto;
3780
+ inset: auto 20px 20px auto;
3740
3781
  max-height: calc(100vh - 120px);
3741
3782
  width: 400px;
3742
- height: 700px;
3783
+ height: 775px;
3743
3784
  }
3785
+
3744
3786
  :host(.third-party) {
3745
3787
  max-width: 1000px;
3746
3788
  height: 100vh;
@@ -3749,11 +3791,13 @@ cn.styles = E`
3749
3791
  transform: translateX(-50%);
3750
3792
  margin: -10px 0;
3751
3793
  }
3794
+
3752
3795
  :host(.floating.bottom-right) {
3753
- inset: auto 20px 95px auto;
3796
+ inset: auto 20px 20px auto;
3754
3797
  }
3798
+
3755
3799
  :host(.floating.bottom-left) {
3756
- inset: auto auto 95px 20px;
3800
+ inset: auto auto 20px 20px;
3757
3801
  }
3758
3802
  }
3759
3803
 
@@ -3769,14 +3813,14 @@ cn.styles = E`
3769
3813
  * {
3770
3814
  box-sizing: border-box;
3771
3815
  }
3816
+
3772
3817
  .widget-container {
3773
3818
  height: 100%;
3774
3819
  background-color: var(--primary-background);
3775
3820
  padding: var(--spacing-sm);
3776
3821
  border: var(--widget-border, none);
3777
- border-left: 1px solid #00000054;
3778
- border-right: 1px solid #00000054;
3779
3822
  }
3823
+
3780
3824
  @keyframes slideDown {
3781
3825
  from {
3782
3826
  transform: translateY(0);
@@ -3787,6 +3831,7 @@ cn.styles = E`
3787
3831
  opacity: 0;
3788
3832
  }
3789
3833
  }
3834
+
3790
3835
  @keyframes slideUp {
3791
3836
  from {
3792
3837
  transform: translateY(100%);
@@ -3797,10 +3842,12 @@ cn.styles = E`
3797
3842
  opacity: 1;
3798
3843
  }
3799
3844
  }
3845
+
3800
3846
  :host(.expanded) {
3801
3847
  opacity: 1;
3802
3848
  animation: slideUp 0.3s linear;
3803
3849
  }
3850
+
3804
3851
  :host(.hidden) {
3805
3852
  opacity: 0;
3806
3853
  animation: slideDown 0.3s linear;
@@ -3816,7 +3863,7 @@ var ui = /* @__PURE__ */ ((s) => (s.Necessary = "necessary", s.Functional = "fun
3816
3863
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3817
3864
  return n && i && Ta(e, t, i), i;
3818
3865
  };
3819
- class ze extends k {
3866
+ class Ue extends k {
3820
3867
  constructor() {
3821
3868
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
3822
3869
  }
@@ -3842,13 +3889,13 @@ class ze extends k {
3842
3889
  if (!this.widget || this.status !== "activated")
3843
3890
  return g;
3844
3891
  if (this.widget.renderStrategy === ln.Trigger) {
3845
- const e = new K();
3892
+ const e = new X();
3846
3893
  return e.application = this.widget, e;
3847
3894
  }
3848
3895
  return this.widget.render();
3849
3896
  }
3850
3897
  }
3851
- ze.styles = [
3898
+ Ue.styles = [
3852
3899
  E`
3853
3900
  :host {
3854
3901
  display: block;
@@ -3857,18 +3904,18 @@ ze.styles = [
3857
3904
  ];
3858
3905
  hn([
3859
3906
  w({ attribute: !0 })
3860
- ], ze.prototype, "name", 2);
3907
+ ], Ue.prototype, "name", 2);
3861
3908
  hn([
3862
3909
  C()
3863
- ], ze.prototype, "widget", 2);
3910
+ ], Ue.prototype, "widget", 2);
3864
3911
  hn([
3865
3912
  C()
3866
- ], ze.prototype, "status", 2);
3913
+ ], Ue.prototype, "status", 2);
3867
3914
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", an);
3868
- customElements.get("ace-trigger") || customElements.define("ace-trigger", K);
3915
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", X);
3869
3916
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", hi);
3870
3917
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", cn);
3871
- customElements.get("ace-widget") || customElements.define("ace-widget", ze);
3918
+ customElements.get("ace-widget") || customElements.define("ace-widget", Ue);
3872
3919
  class Oa {
3873
3920
  constructor(e) {
3874
3921
  this._message = null, this._host = e, e.addController(this);
@@ -3888,7 +3935,7 @@ class Oa {
3888
3935
  class as {
3889
3936
  constructor(e, t, n, i, r) {
3890
3937
  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(
3891
- pe((l) => l ? l.onComplete() : Pe)
3938
+ de((l) => l ? l.onComplete() : Re)
3892
3939
  );
3893
3940
  const o = this._getProviderFactory(t);
3894
3941
  if (!o)
@@ -3931,7 +3978,7 @@ class as {
3931
3978
  }
3932
3979
  _addEntryRemoveHandler(e) {
3933
3980
  e.remove$.pipe(
3934
- pe(() => this.entries$),
3981
+ de(() => this.entries$),
3935
3982
  Mt(1)
3936
3983
  ).subscribe((t) => {
3937
3984
  this.removeEntryAction$.next(e), this.entries$.next(t.filter((n) => n !== e));
@@ -4042,8 +4089,8 @@ class Pa {
4042
4089
  class Ra {
4043
4090
  constructor(e, t) {
4044
4091
  this.state$ = e, this.component = t, this.entries$ = new U([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new Pa(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4045
- pe((n) => n ? n.provider$.pipe(
4046
- pe((i) => i ? i.isTyping() : It(!1))
4092
+ de((n) => n ? n.provider$.pipe(
4093
+ de((i) => i ? i.isTyping() : It(!1))
4047
4094
  ) : It(!1))
4048
4095
  ), e.subscribe((n) => {
4049
4096
  switch (n) {
@@ -4068,9 +4115,9 @@ class Ra {
4068
4115
  }
4069
4116
  rehydrate() {
4070
4117
  this.session$.pipe(
4071
- pe((e) => {
4118
+ de((e) => {
4072
4119
  if (!e)
4073
- return Pe;
4120
+ return Re;
4074
4121
  const t = e.removeEntryAction$.pipe(Ut(this.entries$)).pipe(
4075
4122
  Qe(([i, r]) => r.filter((o) => o.id !== i.id))
4076
4123
  ), n = e.entries().pipe(
@@ -4131,7 +4178,7 @@ class un extends k {
4131
4178
  render() {
4132
4179
  var e, t;
4133
4180
  switch (this.entry.type) {
4134
- case Z.System:
4181
+ case W.System:
4135
4182
  return m`
4136
4183
  <div class="conversation-system-message">
4137
4184
  ${this.entry.messages.map(
@@ -4149,9 +4196,9 @@ class un extends k {
4149
4196
  <span>${this._getTimestamp(this.entry.timestamp)}</span>
4150
4197
  </div>
4151
4198
  `;
4152
- case Z.Agent:
4199
+ case W.Agent:
4153
4200
  return m`<div
4154
- class=${ve({
4201
+ class=${be({
4155
4202
  "conversation-agent-message": !0,
4156
4203
  "has-avatar": !!((e = this.entry.sender) != null && e.avatar)
4157
4204
  })}
@@ -4178,9 +4225,9 @@ class un extends k {
4178
4225
  )}
4179
4226
  </div>
4180
4227
  </div>`;
4181
- case Z.User:
4228
+ case W.User:
4182
4229
  return m`<div
4183
- class=${ve({
4230
+ class=${be({
4184
4231
  "conversation-user-message": !0,
4185
4232
  "has-error": this.entry.status === "failed"
4186
4233
  })}
@@ -4376,6 +4423,7 @@ mt.styles = [
4376
4423
  :host {
4377
4424
  display: block;
4378
4425
  }
4426
+
4379
4427
  .conversation-feed {
4380
4428
  display: flex;
4381
4429
  flex-direction: column;
@@ -4383,6 +4431,10 @@ mt.styles = [
4383
4431
  min-height: 100%;
4384
4432
  padding: var(--spacing-md);
4385
4433
  }
4434
+
4435
+ .conversation-entry:focus {
4436
+ outline-color: var(--focus-color);
4437
+ }
4386
4438
  `
4387
4439
  ];
4388
4440
  pi([
@@ -4396,16 +4448,16 @@ pi([
4396
4448
  * Copyright 2021 Google LLC
4397
4449
  * SPDX-License-Identifier: BSD-3-Clause
4398
4450
  */
4399
- const Ha = (s, e, t) => {
4451
+ const Da = (s, e, t) => {
4400
4452
  for (const n of e)
4401
4453
  if (n[0] === s)
4402
4454
  return (0, n[1])();
4403
4455
  return t == null ? void 0 : t();
4404
4456
  };
4405
- var Da = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e, t, n) => {
4457
+ var Ha = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e, t, n) => {
4406
4458
  for (var i = n > 1 ? void 0 : n ? Ba(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4407
4459
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4408
- return n && i && Da(e, t, i), i;
4460
+ return n && i && Ha(e, t, i), i;
4409
4461
  };
4410
4462
  class pn extends k {
4411
4463
  render() {
@@ -4413,7 +4465,7 @@ class pn extends k {
4413
4465
  <div class="message-group">
4414
4466
  ${this.group.items.map(
4415
4467
  ([e, t, n]) => m`
4416
- ${Ha(
4468
+ ${Da(
4417
4469
  e,
4418
4470
  [
4419
4471
  ["html", () => m`<message-type-html .message=${t} />`],
@@ -4514,7 +4566,7 @@ class Ft extends on {
4514
4566
  render(e) {
4515
4567
  if (e === g || e == null)
4516
4568
  return this._t = void 0, this.it = e;
4517
- if (e === Q)
4569
+ if (e === G)
4518
4570
  return e;
4519
4571
  if (typeof e != "string")
4520
4572
  throw Error(this.constructor.directiveName + "() called with a non-string value");
@@ -4544,17 +4596,30 @@ dn.styles = [
4544
4596
  :host {
4545
4597
  box-sizing: border-box;
4546
4598
  }
4599
+
4600
+ :focus {
4601
+ outline-color: var(--focus-color);
4602
+ }
4603
+
4547
4604
  * {
4548
4605
  box-sizing: border-box;
4549
4606
  }
4607
+
4550
4608
  p {
4551
4609
  margin: 0;
4552
4610
  padding: 0;
4553
4611
  word-break: break-word;
4554
4612
  }
4613
+
4555
4614
  a {
4556
4615
  word-break: break-all;
4616
+ color: var(--interactive-primary-background);
4557
4617
  }
4618
+
4619
+ a:hover {
4620
+ filter: brightness(150%);
4621
+ }
4622
+
4558
4623
  img {
4559
4624
  cursor: pointer;
4560
4625
  width: 100%;
@@ -4580,9 +4645,9 @@ function fn() {
4580
4645
  walkTokens: null
4581
4646
  };
4582
4647
  }
4583
- let oe = fn();
4648
+ let ae = fn();
4584
4649
  function fi(s) {
4585
- oe = s;
4650
+ ae = s;
4586
4651
  }
4587
4652
  const gi = /[&<>"']/, Ya = new RegExp(gi.source, "g"), mi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, Qa = new RegExp(mi.source, "g"), Ga = {
4588
4653
  "&": "&amp;",
@@ -4624,7 +4689,7 @@ function cs(s) {
4624
4689
  }
4625
4690
  return s;
4626
4691
  }
4627
- const _e = { exec: () => null };
4692
+ const Se = { exec: () => null };
4628
4693
  function hs(s, e) {
4629
4694
  const t = s.replace(/\|/g, (r, o, a) => {
4630
4695
  let l = !1, c = o;
@@ -4716,7 +4781,7 @@ class st {
4716
4781
  x(this, "rules");
4717
4782
  // set by the lexer
4718
4783
  x(this, "lexer");
4719
- this.options = e || oe;
4784
+ this.options = e || ae;
4720
4785
  }
4721
4786
  space(e) {
4722
4787
  const t = this.rules.block.newline.exec(e);
@@ -4821,17 +4886,17 @@ class st {
4821
4886
  let b = !1;
4822
4887
  if (!u && /^ *$/.test(p) && (a += p + `
4823
4888
  `, e = e.substring(p.length + 1), h = !0), !h) {
4824
- const N = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), V = 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)}}#`);
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)}}#`);
4825
4890
  for (; e; ) {
4826
4891
  const yt = e.split(`
4827
4892
  `, 1)[0];
4828
- if (p = yt, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), wn.test(p) || kn.test(p) || N.test(p) || V.test(e))
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))
4829
4894
  break;
4830
4895
  if (p.search(/[^ ]/) >= d || !p.trim())
4831
4896
  l += `
4832
4897
  ` + p.slice(d);
4833
4898
  else {
4834
- if (b || u.search(/[^ ]/) >= 4 || wn.test(u) || kn.test(u) || V.test(u))
4899
+ if (b || u.search(/[^ ]/) >= 4 || wn.test(u) || kn.test(u) || J.test(u))
4835
4900
  break;
4836
4901
  l += `
4837
4902
  ` + p;
@@ -5146,43 +5211,43 @@ class st {
5146
5211
  }
5147
5212
  }
5148
5213
  }
5149
- const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ue = /^ {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", Ue).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 = {
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 = {
5150
5215
  blockquote: cl,
5151
5216
  code: nl,
5152
5217
  def: ol,
5153
5218
  fences: sl,
5154
5219
  heading: il,
5155
- hr: Ue,
5220
+ hr: je,
5156
5221
  html: ll,
5157
5222
  lheading: bi,
5158
5223
  list: al,
5159
5224
  newline: tl,
5160
5225
  paragraph: yi,
5161
- table: _e,
5226
+ table: Se,
5162
5227
  text: rl
5163
- }, ps = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ue).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 = {
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 = {
5164
5229
  ...bn,
5165
5230
  table: ps,
5166
- paragraph: y(gn).replace("hr", Ue).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()
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()
5167
5232
  }, ul = {
5168
5233
  ...bn,
5169
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(),
5170
5235
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
5171
5236
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
5172
- fences: _e,
5237
+ fences: Se,
5173
5238
  // fences not supported
5174
5239
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5175
- paragraph: y(gn).replace("hr", Ue).replace("heading", ` *#{1,6} *[^
5240
+ paragraph: y(gn).replace("hr", je).replace("heading", ` *#{1,6} *[^
5176
5241
  ]`).replace("lheading", bi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5177
- }, $i = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, pl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, xi = /^( {2,}|\\)\n(?!\s*$)/, dl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, je = "\\p{P}\\p{S}", fl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, je).getRegex(), gl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, ml = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, je).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, je).getRegex(), bl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, je).getRegex(), yl = y(/\\([punct])/, "gu").replace(/punct/g, je).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 = {
5178
- _backpedal: _e,
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 = {
5243
+ _backpedal: Se,
5179
5244
  // only used for GFM url
5180
5245
  anyPunctuation: yl,
5181
5246
  autolink: $l,
5182
5247
  blockSkip: gl,
5183
5248
  br: xi,
5184
5249
  code: pl,
5185
- del: _e,
5250
+ del: Se,
5186
5251
  emStrongLDelim: ml,
5187
5252
  emStrongRDelimAst: vl,
5188
5253
  emStrongRDelimUnd: bl,
@@ -5194,7 +5259,7 @@ const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl =
5194
5259
  reflinkSearch: _l,
5195
5260
  tag: wl,
5196
5261
  text: dl,
5197
- url: _e
5262
+ url: Se
5198
5263
  }, Sl = {
5199
5264
  ...yn,
5200
5265
  link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", it).getRegex(),
@@ -5214,7 +5279,7 @@ const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl =
5214
5279
  normal: bn,
5215
5280
  gfm: hl,
5216
5281
  pedantic: ul
5217
- }, $e = {
5282
+ }, xe = {
5218
5283
  normal: yn,
5219
5284
  gfm: qt,
5220
5285
  breaks: Cl,
@@ -5227,16 +5292,16 @@ class j {
5227
5292
  x(this, "state");
5228
5293
  x(this, "tokenizer");
5229
5294
  x(this, "inlineQueue");
5230
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || oe, this.options.tokenizer = this.options.tokenizer || new st(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5295
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || ae, this.options.tokenizer = this.options.tokenizer || new st(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5231
5296
  inLink: !1,
5232
5297
  inRawBlock: !1,
5233
5298
  top: !0
5234
5299
  };
5235
5300
  const t = {
5236
5301
  block: qe.normal,
5237
- inline: $e.normal
5302
+ inline: xe.normal
5238
5303
  };
5239
- this.options.pedantic ? (t.block = qe.pedantic, t.inline = $e.pedantic) : this.options.gfm && (t.block = qe.gfm, this.options.breaks ? t.inline = $e.breaks : t.inline = $e.gfm), this.tokenizer.rules = t;
5304
+ this.options.pedantic ? (t.block = qe.pedantic, t.inline = xe.pedantic) : this.options.gfm && (t.block = qe.gfm, this.options.breaks ? t.inline = xe.breaks : t.inline = xe.gfm), this.tokenizer.rules = t;
5240
5305
  }
5241
5306
  /**
5242
5307
  * Expose Rules
@@ -5244,7 +5309,7 @@ class j {
5244
5309
  static get rules() {
5245
5310
  return {
5246
5311
  block: qe,
5247
- inline: $e
5312
+ inline: xe
5248
5313
  };
5249
5314
  }
5250
5315
  /**
@@ -5446,7 +5511,7 @@ class j {
5446
5511
  class rt {
5447
5512
  constructor(e) {
5448
5513
  x(this, "options");
5449
- this.options = e || oe;
5514
+ this.options = e || ae;
5450
5515
  }
5451
5516
  code(e, t, n) {
5452
5517
  var r;
@@ -5574,24 +5639,24 @@ class $n {
5574
5639
  return "";
5575
5640
  }
5576
5641
  }
5577
- class H {
5642
+ class D {
5578
5643
  constructor(e) {
5579
5644
  x(this, "options");
5580
5645
  x(this, "renderer");
5581
5646
  x(this, "textRenderer");
5582
- this.options = e || oe, this.options.renderer = this.options.renderer || new rt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.textRenderer = new $n();
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();
5583
5648
  }
5584
5649
  /**
5585
5650
  * Static Parse Method
5586
5651
  */
5587
5652
  static parse(e, t) {
5588
- return new H(t).parse(e);
5653
+ return new D(t).parse(e);
5589
5654
  }
5590
5655
  /**
5591
5656
  * Static Parse Inline Method
5592
5657
  */
5593
5658
  static parseInline(e, t) {
5594
- return new H(t).parseInline(e);
5659
+ return new D(t).parseInline(e);
5595
5660
  }
5596
5661
  /**
5597
5662
  * Parse Loop
@@ -5768,10 +5833,10 @@ class H {
5768
5833
  return n;
5769
5834
  }
5770
5835
  }
5771
- class Se {
5836
+ class Ce {
5772
5837
  constructor(e) {
5773
5838
  x(this, "options");
5774
- this.options = e || oe;
5839
+ this.options = e || ae;
5775
5840
  }
5776
5841
  /**
5777
5842
  * Process markdown before marked
@@ -5792,26 +5857,26 @@ class Se {
5792
5857
  return e;
5793
5858
  }
5794
5859
  }
5795
- x(Se, "passThroughHooks", /* @__PURE__ */ new Set([
5860
+ x(Ce, "passThroughHooks", /* @__PURE__ */ new Set([
5796
5861
  "preprocess",
5797
5862
  "postprocess",
5798
5863
  "processAllTokens"
5799
5864
  ]));
5800
- var Le, Zt, ot, _i;
5865
+ var Oe, Zt, ot, _i;
5801
5866
  class Al {
5802
5867
  constructor(...e) {
5803
- $t(this, Le);
5868
+ $t(this, Oe);
5804
5869
  $t(this, ot);
5805
5870
  x(this, "defaults", fn());
5806
5871
  x(this, "options", this.setOptions);
5807
- x(this, "parse", He(this, Le, Zt).call(this, j.lex, H.parse));
5808
- x(this, "parseInline", He(this, Le, Zt).call(this, j.lexInline, H.parseInline));
5809
- x(this, "Parser", H);
5872
+ x(this, "parse", He(this, Oe, Zt).call(this, j.lex, D.parse));
5873
+ x(this, "parseInline", He(this, Oe, Zt).call(this, j.lexInline, D.parseInline));
5874
+ x(this, "Parser", D);
5810
5875
  x(this, "Renderer", rt);
5811
5876
  x(this, "TextRenderer", $n);
5812
5877
  x(this, "Lexer", j);
5813
5878
  x(this, "Tokenizer", st);
5814
- x(this, "Hooks", Se);
5879
+ x(this, "Hooks", Ce);
5815
5880
  this.use(...e);
5816
5881
  }
5817
5882
  /**
@@ -5898,14 +5963,14 @@ class Al {
5898
5963
  i.tokenizer = r;
5899
5964
  }
5900
5965
  if (n.hooks) {
5901
- const r = this.defaults.hooks || new Se();
5966
+ const r = this.defaults.hooks || new Ce();
5902
5967
  for (const o in n.hooks) {
5903
5968
  if (!(o in r))
5904
5969
  throw new Error(`hook '${o}' does not exist`);
5905
5970
  if (o === "options")
5906
5971
  continue;
5907
5972
  const a = o, l = n.hooks[a], c = r[a];
5908
- Se.passThroughHooks.has(o) ? r[a] = (h) => {
5973
+ Ce.passThroughHooks.has(o) ? r[a] = (h) => {
5909
5974
  if (this.defaults.async)
5910
5975
  return Promise.resolve(l.call(r, h)).then((p) => c.call(r, p));
5911
5976
  const u = l.call(r, h);
@@ -5934,10 +5999,10 @@ class Al {
5934
5999
  return j.lex(e, t ?? this.defaults);
5935
6000
  }
5936
6001
  parser(e, t) {
5937
- return H.parse(e, t ?? this.defaults);
6002
+ return D.parse(e, t ?? this.defaults);
5938
6003
  }
5939
6004
  }
5940
- Le = new WeakSet(), Zt = function(e, t) {
6005
+ Oe = new WeakSet(), Zt = function(e, t) {
5941
6006
  return (n, i) => {
5942
6007
  const r = { ...i }, o = { ...this.defaults, ...r };
5943
6008
  this.defaults.async === !0 && r.async === !1 && (o.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), o.async = !0);
@@ -5970,37 +6035,37 @@ Please report this to https://github.com/markedjs/marked.`, e) {
5970
6035
  throw n;
5971
6036
  };
5972
6037
  };
5973
- const re = new Al();
6038
+ const oe = new Al();
5974
6039
  function v(s, e) {
5975
- return re.parse(s, e);
6040
+ return oe.parse(s, e);
5976
6041
  }
5977
6042
  v.options = v.setOptions = function(s) {
5978
- return re.setOptions(s), v.defaults = re.defaults, fi(v.defaults), v;
6043
+ return oe.setOptions(s), v.defaults = oe.defaults, fi(v.defaults), v;
5979
6044
  };
5980
6045
  v.getDefaults = fn;
5981
- v.defaults = oe;
6046
+ v.defaults = ae;
5982
6047
  v.use = function(...s) {
5983
- return re.use(...s), v.defaults = re.defaults, fi(v.defaults), v;
6048
+ return oe.use(...s), v.defaults = oe.defaults, fi(v.defaults), v;
5984
6049
  };
5985
6050
  v.walkTokens = function(s, e) {
5986
- return re.walkTokens(s, e);
6051
+ return oe.walkTokens(s, e);
5987
6052
  };
5988
- v.parseInline = re.parseInline;
5989
- v.Parser = H;
5990
- v.parser = H.parse;
6053
+ v.parseInline = oe.parseInline;
6054
+ v.Parser = D;
6055
+ v.parser = D.parse;
5991
6056
  v.Renderer = rt;
5992
6057
  v.TextRenderer = $n;
5993
6058
  v.Lexer = j;
5994
6059
  v.lexer = j.lex;
5995
6060
  v.Tokenizer = st;
5996
- v.Hooks = Se;
6061
+ v.Hooks = Ce;
5997
6062
  v.parse = v;
5998
6063
  v.options;
5999
6064
  v.setOptions;
6000
6065
  v.use;
6001
6066
  v.walkTokens;
6002
6067
  v.parseInline;
6003
- H.parse;
6068
+ D.parse;
6004
6069
  j.lex;
6005
6070
  var El = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, Si = (s, e, t, n) => {
6006
6071
  for (var i = n > 1 ? void 0 : n ? Tl(e, t) : e, r = s.length - 1, o; r >= 0; r--)
@@ -6020,9 +6085,13 @@ class bt extends k {
6020
6085
  }
6021
6086
  // Stop autoscroll on user interaction
6022
6087
  handleAutoscroll() {
6023
- this.addEventListener("wheel", () => {
6024
- this.autoScroll = !1;
6025
- }), this.addEventListener("click", () => {
6088
+ this.addEventListener(
6089
+ "wheel",
6090
+ () => {
6091
+ this.autoScroll = !1;
6092
+ },
6093
+ { passive: !0 }
6094
+ ), this.addEventListener("click", () => {
6026
6095
  this.autoScroll = !1;
6027
6096
  });
6028
6097
  }
@@ -6061,7 +6130,15 @@ class bt extends k {
6061
6130
  (r = this.contentRef.value) == null || r.appendChild(document.createElement("div")), this.buffer = "";
6062
6131
  else if (this.buffer.includes("!["))
6063
6132
  return;
6064
- n.innerHTML = _r(t), this.autoScroll && this.scrollRef.value.scrollIntoView();
6133
+ n.innerHTML = _r(t), this.applyCodeStyles(n), this.autoScroll && this.scrollRef.value.scrollIntoView();
6134
+ }
6135
+ // Apply white-space: pre-wrap to <code> elements
6136
+ applyCodeStyles(e) {
6137
+ if (!e)
6138
+ return;
6139
+ e.querySelectorAll("code").forEach((n) => {
6140
+ n.style.whiteSpace = "pre-wrap";
6141
+ });
6065
6142
  }
6066
6143
  render() {
6067
6144
  return m`
@@ -6081,20 +6158,34 @@ bt.styles = [
6081
6158
  :host {
6082
6159
  box-sizing: border-box;
6083
6160
  }
6161
+
6162
+ :focus {
6163
+ outline-color: var(--focus-color);
6164
+ }
6165
+
6084
6166
  * {
6085
6167
  box-sizing: border-box;
6086
6168
  }
6169
+
6087
6170
  p {
6088
6171
  margin: 0;
6089
6172
  padding: 0;
6090
6173
  word-break: break-word;
6091
6174
  }
6175
+
6092
6176
  p:not(:first-of-type) {
6093
6177
  margin-top: var(--spacing-sm);
6094
6178
  }
6179
+
6095
6180
  a {
6096
6181
  word-break: break-all;
6182
+ color: var(--interactive-primary-background);
6183
+ }
6184
+
6185
+ a:hover {
6186
+ filter: brightness(150%);
6097
6187
  }
6188
+
6098
6189
  img {
6099
6190
  cursor: pointer;
6100
6191
  width: 100%;
@@ -6159,6 +6250,10 @@ class xn extends k {
6159
6250
  }
6160
6251
  xn.styles = [
6161
6252
  E`
6253
+ :focus {
6254
+ outline-color: var(--focus-color);
6255
+ }
6256
+
6162
6257
  .lightbox {
6163
6258
  position: fixed;
6164
6259
  z-index: 9999;
@@ -6197,7 +6292,7 @@ xn.styles = [
6197
6292
  Pl([
6198
6293
  w({ attribute: !0 })
6199
6294
  ], xn.prototype, "imageUrl", 2);
6200
- var Rl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, X = (s, e, t, n) => {
6295
+ var Rl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, V = (s, e, t, n) => {
6201
6296
  for (var i = n > 1 ? void 0 : n ? Il(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6202
6297
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6203
6298
  return n && i && Rl(e, t, i), i;
@@ -6213,7 +6308,7 @@ const Ci = ci(k);
6213
6308
  class R extends Ci {
6214
6309
  constructor() {
6215
6310
  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(
6216
- pe((e) => e ? e == null ? void 0 : e.provider$ : It(null))
6311
+ de((e) => e ? e == null ? void 0 : e.provider$ : It(null))
6217
6312
  ), this.userTyping$ = new _();
6218
6313
  }
6219
6314
  async connectedCallback() {
@@ -6321,11 +6416,11 @@ class R extends Ci {
6321
6416
  return;
6322
6417
  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({
6323
6418
  label: r ? i : n,
6324
- icon: r ? Hn.svg : Dn.svg,
6419
+ icon: r ? Dn.svg : Hn.svg,
6325
6420
  closeOnClick: !1,
6326
6421
  datatestid: "options-mute-button",
6327
6422
  onClick: () => {
6328
- !!this.application.storage.get("muteAudioNotifications") ? (this.application.unmute(), o.updateLabel(n), o.updateIcon(Dn.svg)) : (this.application.mute(), o.updateLabel(i), o.updateIcon(Hn.svg));
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));
6329
6424
  }
6330
6425
  });
6331
6426
  }
@@ -6355,7 +6450,7 @@ class R extends Ci {
6355
6450
  providerOptions: t
6356
6451
  }
6357
6452
  });
6358
- return this.dispatchEvent(n), n.detail.complete || Pe;
6453
+ return this.dispatchEvent(n), n.detail.complete || Re;
6359
6454
  }
6360
6455
  render() {
6361
6456
  var i, r, o;
@@ -6364,7 +6459,7 @@ class R extends Ci {
6364
6459
  const t = this.application.settings.components.conversation;
6365
6460
  return ((o = (r = t == null ? void 0 : t.properties) == null ? void 0 : r.chat) == null ? void 0 : o.isThirdPartyWidget) && (this.renderRoot.host.style.width = "100%"), m` <div
6366
6461
  @action=${this._actionHandler}
6367
- class=${ve({
6462
+ class=${be({
6368
6463
  conversation: !0,
6369
6464
  disabled: this.disabledInput,
6370
6465
  "conversation--has-toast": this.toast.hasMessage(),
@@ -6381,7 +6476,7 @@ class R extends Ci {
6381
6476
  </button>
6382
6477
  </div>` : g}
6383
6478
  <div
6384
- class=${ve({
6479
+ class=${be({
6385
6480
  "conversation-content": !0,
6386
6481
  "conversation-overlay-mode": this.chatOverlayActive
6387
6482
  })}
@@ -6500,14 +6595,21 @@ R.styles = [
6500
6595
  scrollbar-width: thin; /* Firefox */
6501
6596
  scrollbar-color: #7f7f7f transparent; /* Firefox */
6502
6597
  }
6598
+
6599
+ :focus {
6600
+ outline-color: var(--focus-color);
6601
+ }
6602
+
6503
6603
  ::-webkit-scrollbar {
6504
6604
  width: 3px !important;
6505
6605
  background-color: transparent;
6506
6606
  border-left: none;
6507
6607
  }
6608
+
6508
6609
  ::-webkit-scrollbar-thumb {
6509
6610
  background-color: #7f7f7f;
6510
6611
  }
6612
+
6511
6613
  ::-webkit-scrollbar-track {
6512
6614
  -webkit-box-shadow: none !important;
6513
6615
  box-shadow: none !important;
@@ -6552,7 +6654,6 @@ R.styles = [
6552
6654
  padding: var(--spacing-sm);
6553
6655
  border-radius: var(--spacing-sm);
6554
6656
  left: -10000000px;
6555
- outline: none;
6556
6657
  }
6557
6658
  .skip-to-latest-message-button:focus-visible {
6558
6659
  left: 50%;
@@ -6732,28 +6833,28 @@ R.styles = [
6732
6833
  }
6733
6834
  `
6734
6835
  ];
6735
- X([
6836
+ V([
6736
6837
  C()
6737
6838
  ], R.prototype, "message", 2);
6738
- X([
6839
+ V([
6739
6840
  C()
6740
6841
  ], R.prototype, "disabledInput", 2);
6741
- X([
6842
+ V([
6742
6843
  C()
6743
6844
  ], R.prototype, "disabledSubmit", 2);
6744
- X([
6845
+ V([
6745
6846
  C()
6746
6847
  ], R.prototype, "chatOverlayActive", 2);
6747
- X([
6848
+ V([
6748
6849
  C()
6749
6850
  ], R.prototype, "textAreaLength", 2);
6750
- X([
6851
+ V([
6751
6852
  C()
6752
6853
  ], R.prototype, "platform", 2);
6753
- X([
6854
+ V([
6754
6855
  C()
6755
6856
  ], R.prototype, "entries", 2);
6756
- X([
6857
+ V([
6757
6858
  C()
6758
6859
  ], R.prototype, "typing", 2);
6759
6860
  const Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -6766,9 +6867,9 @@ export {
6766
6867
  R as Conversation,
6767
6868
  Ul as ConversationComponent,
6768
6869
  ct as ConversationEntry,
6769
- Z as ConversationMessageType,
6870
+ W as ConversationMessageType,
6770
6871
  fs as ConversationPlatform,
6771
- Hl as ConversationProvider,
6872
+ Dl as ConversationProvider,
6772
6873
  Ar as User,
6773
6874
  jl as findPlainTextLinks,
6774
6875
  _r as truncateLongLinks