@telia-ace/widget-conversation-flamingo 1.1.72-rc.2 → 1.1.72-rc.20

Sign up to get free protection for your applications and to get access to all the features.
package/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- var Si = Object.defineProperty;
2
- var Ci = (s, e, t) => e in s ? Si(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
- var x = (s, e, t) => (Ci(s, typeof e != "symbol" ? e + "" : e, t), t), Ai = (s, e, t) => {
1
+ var Ai = Object.defineProperty;
2
+ var Ei = (s, e, t) => e in s ? Ai(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var x = (s, e, t) => (Ei(s, typeof e != "symbol" ? e + "" : e, t), t), Ti = (s, e, t) => {
4
4
  if (!e.has(s))
5
5
  throw TypeError("Cannot " + t);
6
6
  };
@@ -9,17 +9,17 @@ var $t = (s, e, t) => {
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  e instanceof WeakSet ? e.add(s) : e.set(s, t);
11
11
  };
12
- var He = (s, e, t) => (Ai(s, e, "access private method"), t);
13
- const Rl = async (s) => {
14
- s.registerComponent("conversation", Promise.resolve().then(() => Ol));
12
+ var He = (s, e, t) => (Ti(s, e, "access private method"), t);
13
+ const Ul = async (s) => {
14
+ s.registerComponent("conversation", Promise.resolve().then(() => Ml));
15
15
  };
16
- class ds {
16
+ class fs {
17
17
  constructor() {
18
18
  this.registeredProviders = /* @__PURE__ */ new Map();
19
19
  }
20
20
  static async getInstance(e) {
21
21
  let t = await e.get("conversation");
22
- return t || (t = new ds(), await e.register("conversation", t), t);
22
+ return t || (t = new fs(), await e.register("conversation", t), t);
23
23
  }
24
24
  registerProvider(e, t) {
25
25
  this.registeredProviders.set(e, t);
@@ -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);
@@ -54,7 +54,7 @@ function be(s, e) {
54
54
  }
55
55
  s.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
56
56
  }
57
- function Ei(s, e, t, n) {
57
+ function Li(s, e, t, n) {
58
58
  function i(r) {
59
59
  return r instanceof t ? r : new t(function(o) {
60
60
  o(r);
@@ -81,7 +81,7 @@ function Ei(s, e, t, n) {
81
81
  c((n = n.apply(s, e || [])).next());
82
82
  });
83
83
  }
84
- function fs(s, e) {
84
+ function gs(s, e) {
85
85
  var t = { label: 0, sent: function() {
86
86
  if (r[0] & 1)
87
87
  throw r[1];
@@ -146,7 +146,7 @@ function fs(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,16 +178,16 @@ 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
- function Ti(s, e, t) {
190
+ function Oi(s, e, t) {
191
191
  if (!Symbol.asyncIterator)
192
192
  throw new TypeError("Symbol.asyncIterator is not defined.");
193
193
  var n = t.apply(s, e || []), i, r = [];
@@ -209,7 +209,7 @@ function Ti(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);
@@ -221,11 +221,11 @@ function Ti(s, e, t) {
221
221
  p(d), r.shift(), r.length && a(r[0][0], r[0][1]);
222
222
  }
223
223
  }
224
- function Li(s) {
224
+ 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) {
@@ -244,13 +244,13 @@ function Li(s) {
244
244
  function $(s) {
245
245
  return typeof s == "function";
246
246
  }
247
- function gs(s) {
247
+ function ms(s) {
248
248
  var e = function(n) {
249
249
  Error.call(n), n.stack = new Error().stack;
250
250
  }, t = s(e);
251
251
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
252
252
  }
253
- var xt = gs(function(s) {
253
+ var xt = ms(function(s) {
254
254
  return function(t) {
255
255
  s(this), this.message = t ? t.length + ` errors occurred during unsubscription:
256
256
  ` + t.map(function(n, i) {
@@ -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
- kn(b);
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) {
@@ -330,7 +330,7 @@ var at = function() {
330
330
  var t;
331
331
  if (e && e !== this)
332
332
  if (this.closed)
333
- kn(e);
333
+ _n(e);
334
334
  else {
335
335
  if (e instanceof s) {
336
336
  if (e.closed || e._hasParent(this))
@@ -355,14 +355,14 @@ var at = function() {
355
355
  var e = new s();
356
356
  return e.closed = !0, e;
357
357
  }(), s;
358
- }(), ms = at.EMPTY;
359
- function vs(s) {
358
+ }(), vs = at.EMPTY;
359
+ function bs(s) {
360
360
  return s instanceof at || s && "closed" in s && $(s.remove) && $(s.add) && $(s.unsubscribe);
361
361
  }
362
- function kn(s) {
362
+ function _n(s) {
363
363
  $(s) ? s() : s.unsubscribe();
364
364
  }
365
- var bs = {
365
+ var ys = {
366
366
  onUnhandledError: null,
367
367
  onStoppedNotification: null,
368
368
  Promise: void 0,
@@ -373,7 +373,7 @@ var bs = {
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;
@@ -381,7 +381,7 @@ var bs = {
381
381
  },
382
382
  delegate: void 0
383
383
  };
384
- function ys(s) {
384
+ function $s(s) {
385
385
  Pt.setTimeout(function() {
386
386
  throw s;
387
387
  });
@@ -391,11 +391,11 @@ function Ye() {
391
391
  function Ze(s) {
392
392
  s();
393
393
  }
394
- var Zt = function(s) {
395
- be(e, s);
394
+ var Wt = function(s) {
395
+ ye(e, s);
396
396
  function e(t) {
397
397
  var n = s.call(this) || this;
398
- return n.isStopped = !1, t ? (n.destination = t, vs(t) && t.add(n)) : n.destination = Ii, n;
398
+ return n.isStopped = !1, t ? (n.destination = t, bs(t) && t.add(n)) : n.destination = zi, n;
399
399
  }
400
400
  return e.create = function(t, n, i) {
401
401
  return new Rt(t, n, i);
@@ -422,11 +422,11 @@ var Zt = function(s) {
422
422
  this.unsubscribe();
423
423
  }
424
424
  }, e;
425
- }(at), Oi = Function.prototype.bind;
425
+ }(at), Ri = Function.prototype.bind;
426
426
  function wt(s, e) {
427
- return Oi.call(s, e);
427
+ return Ri.call(s, e);
428
428
  }
429
- var Pi = function() {
429
+ var Ii = function() {
430
430
  function s(e) {
431
431
  this.partialObserver = e;
432
432
  }
@@ -436,7 +436,7 @@ var Pi = 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 Pi = 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)
@@ -469,7 +469,7 @@ var Pi = function() {
469
469
  };
470
470
  else {
471
471
  var a;
472
- r && bs.useDeprecatedNextContext ? (a = Object.create(t), a.unsubscribe = function() {
472
+ r && ys.useDeprecatedNextContext ? (a = Object.create(t), a.unsubscribe = function() {
473
473
  return r.unsubscribe();
474
474
  }, o = {
475
475
  next: t.next && wt(t.next, a),
@@ -477,29 +477,29 @@ var Pi = function() {
477
477
  complete: t.complete && wt(t.complete, a)
478
478
  }) : o = t;
479
479
  }
480
- return r.destination = new Pi(o), r;
480
+ return r.destination = new Ii(o), r;
481
481
  }
482
482
  return e;
483
- }(Zt);
484
- function De(s) {
485
- ys(s);
483
+ }(Wt);
484
+ function Be(s) {
485
+ $s(s);
486
486
  }
487
- function Ri(s) {
487
+ function Mi(s) {
488
488
  throw s;
489
489
  }
490
- var Ii = {
490
+ var zi = {
491
491
  closed: !0,
492
492
  next: Ye,
493
- error: Ri,
493
+ error: Mi,
494
494
  complete: Ye
495
- }, Wt = function() {
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
- function Mi(s) {
502
- return s.length === 0 ? Oe : s.length === 1 ? s[0] : function(t) {
501
+ function Ui(s) {
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 = Ui(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));
@@ -526,7 +526,7 @@ var A = function() {
526
526
  }
527
527
  }, s.prototype.forEach = function(e, t) {
528
528
  var n = this;
529
- return t = _n(t), new t(function(i, r) {
529
+ return t = Sn(t), new t(function(i, r) {
530
530
  var o = new Rt({
531
531
  next: function(a) {
532
532
  try {
@@ -543,15 +543,15 @@ var A = function() {
543
543
  }, s.prototype._subscribe = function(e) {
544
544
  var t;
545
545
  return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
546
- }, s.prototype[Wt] = function() {
546
+ }, s.prototype[Yt] = function() {
547
547
  return this;
548
548
  }, s.prototype.pipe = function() {
549
549
  for (var e = [], t = 0; t < arguments.length; t++)
550
550
  e[t] = arguments[t];
551
- return Mi(e)(this);
551
+ return Ui(e)(this);
552
552
  }, s.prototype.toPromise = function(e) {
553
553
  var t = this;
554
- return e = _n(e), new e(function(n, i) {
554
+ return e = Sn(e), new e(function(n, i) {
555
555
  var r;
556
556
  t.subscribe(function(o) {
557
557
  return r = o;
@@ -565,22 +565,22 @@ var A = function() {
565
565
  return new s(e);
566
566
  }, s;
567
567
  }();
568
- function _n(s) {
568
+ function Sn(s) {
569
569
  var e;
570
- return (e = s ?? bs.Promise) !== null && e !== void 0 ? e : Promise;
570
+ return (e = s ?? ys.Promise) !== null && e !== void 0 ? e : Promise;
571
571
  }
572
- function zi(s) {
572
+ function ji(s) {
573
573
  return s && $(s.next) && $(s.error) && $(s.complete);
574
574
  }
575
- function Ui(s) {
576
- return s && s instanceof Zt || zi(s) && vs(s);
575
+ function Di(s) {
576
+ return s && s instanceof Wt || ji(s) && bs(s);
577
577
  }
578
- function ji(s) {
578
+ function Hi(s) {
579
579
  return $(s == null ? void 0 : s.lift);
580
580
  }
581
581
  function K(s) {
582
582
  return function(e) {
583
- if (ji(e))
583
+ if (Hi(e))
584
584
  return e.lift(function(t) {
585
585
  try {
586
586
  return s(t, this);
@@ -592,10 +592,10 @@ function K(s) {
592
592
  };
593
593
  }
594
594
  function P(s, e, t, n, i) {
595
- return new Hi(s, e, t, n, i);
595
+ return new Bi(s, e, t, n, i);
596
596
  }
597
- var Hi = function(s) {
598
- be(e, s);
597
+ var Bi = function(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) {
@@ -629,22 +629,22 @@ var Hi = function(s) {
629
629
  s.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
630
630
  }
631
631
  }, e;
632
- }(Zt), Di = gs(function(s) {
632
+ }(Wt), Ni = ms(function(s) {
633
633
  return function() {
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;
641
641
  }
642
642
  return e.prototype.lift = function(t) {
643
- var n = new Sn(this, this);
643
+ var n = new Cn(this, this);
644
644
  return n.operator = t, n;
645
645
  }, e.prototype._throwIfClosed = function() {
646
646
  if (this.closed)
647
- throw new Di();
647
+ throw new Ni();
648
648
  }, e.prototype.next = function(t) {
649
649
  var n = this;
650
650
  Ze(function() {
@@ -652,7 +652,7 @@ var Hi = 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
  }
@@ -701,7 +701,7 @@ var Hi = function(s) {
701
701
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
702
702
  }, e.prototype._innerSubscribe = function(t) {
703
703
  var n = this, i = this, r = i.hasError, o = i.isStopped, a = i.observers;
704
- return r || o ? ms : (this.currentObservers = null, a.push(t), new at(function() {
704
+ return r || o ? vs : (this.currentObservers = null, a.push(t), new at(function() {
705
705
  n.currentObservers = null, Ot(a, t);
706
706
  }));
707
707
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -711,10 +711,10 @@ var Hi = function(s) {
711
711
  var t = new A();
712
712
  return t.source = this, t;
713
713
  }, e.create = function(t, n) {
714
- return new Sn(t, n);
714
+ return new Cn(t, n);
715
715
  }, e;
716
- }(A), Sn = function(s) {
717
- be(e, s);
716
+ }(A), Cn = function(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;
@@ -730,10 +730,10 @@ var Hi = function(s) {
730
730
  (n = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || n === void 0 || n.call(t);
731
731
  }, e.prototype._subscribe = function(t) {
732
732
  var n, i;
733
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t)) !== null && i !== void 0 ? i : ms;
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,63 +755,63 @@ var Hi = 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
- function Bi(s) {
761
+ function Fi(s) {
762
762
  return s && $(s.schedule);
763
763
  }
764
- function Yt(s) {
764
+ function Qt(s) {
765
765
  return s[s.length - 1];
766
766
  }
767
- function $s(s) {
768
- return $(Yt(s)) ? s.pop() : void 0;
767
+ function xs(s) {
768
+ return $(Qt(s)) ? s.pop() : void 0;
769
769
  }
770
- function Qt(s) {
771
- return Bi(Yt(s)) ? s.pop() : void 0;
770
+ function Gt(s) {
771
+ return Fi(Qt(s)) ? s.pop() : void 0;
772
772
  }
773
- function Ni(s, e) {
774
- return typeof Yt(s) == "number" ? s.pop() : e;
773
+ function qi(s, e) {
774
+ return typeof Qt(s) == "number" ? s.pop() : e;
775
775
  }
776
776
  var Kt = function(s) {
777
777
  return s && typeof s.length == "number" && typeof s != "function";
778
778
  };
779
- function xs(s) {
780
- return $(s == null ? void 0 : s.then);
781
- }
782
779
  function ws(s) {
783
- return $(s[Wt]);
780
+ return $(s == null ? void 0 : s.then);
784
781
  }
785
782
  function ks(s) {
786
- return Symbol.asyncIterator && $(s == null ? void 0 : s[Symbol.asyncIterator]);
783
+ return $(s[Yt]);
787
784
  }
788
785
  function _s(s) {
786
+ return Symbol.asyncIterator && $(s == null ? void 0 : s[Symbol.asyncIterator]);
787
+ }
788
+ function Ss(s) {
789
789
  return new TypeError("You provided " + (s !== null && typeof s == "object" ? "an invalid object" : "'" + s + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
790
790
  }
791
- function Fi() {
791
+ function Zi() {
792
792
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
793
793
  }
794
- var Ss = Fi();
795
- function Cs(s) {
796
- return $(s == null ? void 0 : s[Ss]);
797
- }
794
+ var Cs = Zi();
798
795
  function As(s) {
799
- return Ti(this, arguments, function() {
796
+ return $(s == null ? void 0 : s[Cs]);
797
+ }
798
+ function Es(s) {
799
+ return Oi(this, arguments, function() {
800
800
  var t, n, i, r;
801
- return fs(this, function(o) {
801
+ return gs(this, function(o) {
802
802
  switch (o.label) {
803
803
  case 0:
804
804
  t = s.getReader(), o.label = 1;
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:
@@ -826,57 +826,57 @@ function As(s) {
826
826
  });
827
827
  });
828
828
  }
829
- function Es(s) {
829
+ function Ts(s) {
830
830
  return $(s == null ? void 0 : s.getReader);
831
831
  }
832
832
  function B(s) {
833
833
  if (s instanceof A)
834
834
  return s;
835
835
  if (s != null) {
836
- if (ws(s))
837
- return qi(s);
838
- if (Kt(s))
839
- return Zi(s);
840
- if (xs(s))
841
- return Wi(s);
842
836
  if (ks(s))
843
- return Ts(s);
844
- if (Cs(s))
837
+ return Wi(s);
838
+ if (Kt(s))
845
839
  return Yi(s);
846
- if (Es(s))
840
+ if (ws(s))
847
841
  return Qi(s);
842
+ if (_s(s))
843
+ return Ls(s);
844
+ if (As(s))
845
+ return Gi(s);
846
+ if (Ts(s))
847
+ return Ki(s);
848
848
  }
849
- throw _s(s);
849
+ throw Ss(s);
850
850
  }
851
- function qi(s) {
851
+ function Wi(s) {
852
852
  return new A(function(e) {
853
- var t = s[Wt]();
853
+ var t = s[Yt]();
854
854
  if ($(t.subscribe))
855
855
  return t.subscribe(e);
856
856
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
857
857
  });
858
858
  }
859
- function Zi(s) {
859
+ function Yi(s) {
860
860
  return new A(function(e) {
861
861
  for (var t = 0; t < s.length && !e.closed; t++)
862
862
  e.next(s[t]);
863
863
  e.complete();
864
864
  });
865
865
  }
866
- function Wi(s) {
866
+ function Qi(s) {
867
867
  return new A(function(e) {
868
868
  s.then(function(t) {
869
869
  e.closed || (e.next(t), e.complete());
870
870
  }, function(t) {
871
871
  return e.error(t);
872
- }).then(null, ys);
872
+ }).then(null, $s);
873
873
  });
874
874
  }
875
- function Yi(s) {
875
+ 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;
@@ -894,24 +894,24 @@ function Yi(s) {
894
894
  e.complete();
895
895
  });
896
896
  }
897
- function Ts(s) {
897
+ function Ls(s) {
898
898
  return new A(function(e) {
899
- Ki(s, e).catch(function(t) {
899
+ Xi(s, e).catch(function(t) {
900
900
  return e.error(t);
901
901
  });
902
902
  });
903
903
  }
904
- function Qi(s) {
905
- return Ts(As(s));
904
+ function Ki(s) {
905
+ return Ls(Es(s));
906
906
  }
907
- function Ki(s, e) {
907
+ function Xi(s, e) {
908
908
  var t, n, i, r;
909
- return Ei(this, void 0, void 0, function() {
909
+ return Li(this, void 0, void 0, function() {
910
910
  var o, a;
911
- return fs(this, function(l) {
911
+ return gs(this, function(l) {
912
912
  switch (l.label) {
913
913
  case 0:
914
- l.trys.push([0, 5, 6, 11]), t = Li(s), l.label = 1;
914
+ l.trys.push([0, 5, 6, 11]), t = Pi(s), l.label = 1;
915
915
  case 1:
916
916
  return [4, t.next()];
917
917
  case 2:
@@ -944,7 +944,7 @@ function Ki(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();
@@ -952,37 +952,37 @@ function F(s, e, t, n, i) {
952
952
  if (s.add(r), !i)
953
953
  return r;
954
954
  }
955
- function Ls(s, e) {
955
+ function Os(s, e) {
956
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
- function Os(s, e) {
972
+ function Ps(s, e) {
973
973
  return e === void 0 && (e = 0), K(function(t, n) {
974
974
  n.add(s.schedule(function() {
975
975
  return t.subscribe(n);
976
976
  }, e));
977
977
  });
978
978
  }
979
- function Gi(s, e) {
980
- return B(s).pipe(Os(e), Ls(e));
979
+ function Vi(s, e) {
980
+ return B(s).pipe(Ps(e), Os(e));
981
981
  }
982
- function Xi(s, e) {
983
- return B(s).pipe(Os(e), Ls(e));
982
+ function Ji(s, e) {
983
+ return B(s).pipe(Ps(e), Os(e));
984
984
  }
985
- function Vi(s, e) {
985
+ function er(s, e) {
986
986
  return new A(function(t) {
987
987
  var n = 0;
988
988
  return e.schedule(function() {
@@ -990,11 +990,11 @@ function Vi(s, e) {
990
990
  });
991
991
  });
992
992
  }
993
- function Ji(s, e) {
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[Ss](), 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;
@@ -1009,13 +1009,13 @@ function Ji(s, e) {
1009
1009
  };
1010
1010
  });
1011
1011
  }
1012
- function Ps(s, e) {
1012
+ 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
  });
@@ -1023,33 +1023,33 @@ function Ps(s, e) {
1023
1023
  });
1024
1024
  });
1025
1025
  }
1026
- function er(s, e) {
1027
- return Ps(As(s), e);
1026
+ function nr(s, e) {
1027
+ return Rs(Es(s), e);
1028
1028
  }
1029
- function tr(s, e) {
1029
+ function sr(s, e) {
1030
1030
  if (s != null) {
1031
- if (ws(s))
1032
- return Gi(s, e);
1033
- if (Kt(s))
1034
- return Vi(s, e);
1035
- if (xs(s))
1036
- return Xi(s, e);
1037
1031
  if (ks(s))
1038
- return Ps(s, e);
1039
- if (Cs(s))
1040
- return Ji(s, e);
1041
- if (Es(s))
1032
+ return Vi(s, e);
1033
+ if (Kt(s))
1042
1034
  return er(s, e);
1035
+ if (ws(s))
1036
+ return Ji(s, e);
1037
+ if (_s(s))
1038
+ return Rs(s, e);
1039
+ if (As(s))
1040
+ return tr(s, e);
1041
+ if (Ts(s))
1042
+ return nr(s, e);
1043
1043
  }
1044
- throw _s(s);
1044
+ throw Ss(s);
1045
1045
  }
1046
1046
  function lt(s, e) {
1047
- return e ? tr(s, e) : B(s);
1047
+ return e ? sr(s, e) : B(s);
1048
1048
  }
1049
1049
  function It() {
1050
1050
  for (var s = [], e = 0; e < arguments.length; e++)
1051
1051
  s[e] = arguments[e];
1052
- var t = Qt(s);
1052
+ var t = Gt(s);
1053
1053
  return lt(s, t);
1054
1054
  }
1055
1055
  function Qe(s, e) {
@@ -1060,23 +1060,23 @@ function Qe(s, e) {
1060
1060
  }));
1061
1061
  });
1062
1062
  }
1063
- var nr = Array.isArray;
1064
- function sr(s, e) {
1065
- return nr(e) ? s.apply(void 0, ne([], Y(e))) : s(e);
1063
+ var ir = Array.isArray;
1064
+ function rr(s, e) {
1065
+ return ir(e) ? s.apply(void 0, se([], Q(e))) : s(e);
1066
1066
  }
1067
- function Rs(s) {
1067
+ function Is(s) {
1068
1068
  return Qe(function(e) {
1069
- return sr(s, e);
1069
+ return rr(s, e);
1070
1070
  });
1071
1071
  }
1072
- var ir = Array.isArray, rr = Object.getPrototypeOf, or = Object.prototype, ar = Object.keys;
1073
- function lr(s) {
1072
+ var or = Array.isArray, ar = Object.getPrototypeOf, lr = Object.prototype, cr = Object.keys;
1073
+ function hr(s) {
1074
1074
  if (s.length === 1) {
1075
1075
  var e = s[0];
1076
- if (ir(e))
1076
+ if (or(e))
1077
1077
  return { args: e, keys: null };
1078
- if (cr(e)) {
1079
- var t = ar(e);
1078
+ if (ur(e)) {
1079
+ var t = cr(e);
1080
1080
  return {
1081
1081
  args: t.map(function(n) {
1082
1082
  return e[n];
@@ -1087,30 +1087,30 @@ function lr(s) {
1087
1087
  }
1088
1088
  return { args: s, keys: null };
1089
1089
  }
1090
- function cr(s) {
1091
- return s && typeof s == "object" && rr(s) === or;
1090
+ function ur(s) {
1091
+ return s && typeof s == "object" && ar(s) === lr;
1092
1092
  }
1093
- function hr(s, e) {
1093
+ function pr(s, e) {
1094
1094
  return s.reduce(function(t, n, i) {
1095
1095
  return t[n] = e[i], t;
1096
1096
  }, {});
1097
1097
  }
1098
- function ur() {
1098
+ function dr() {
1099
1099
  for (var s = [], e = 0; e < arguments.length; e++)
1100
1100
  s[e] = arguments[e];
1101
- var t = Qt(s), n = $s(s), i = lr(s), r = i.args, o = i.keys;
1101
+ var t = Gt(s), n = xs(s), i = hr(s), r = i.args, o = i.keys;
1102
1102
  if (r.length === 0)
1103
1103
  return lt([], t);
1104
- var a = new A(pr(r, t, o ? function(l) {
1105
- return hr(o, l);
1106
- } : Oe));
1107
- return n ? a.pipe(Rs(n)) : a;
1108
- }
1109
- function pr(s, e, t) {
1110
- return t === void 0 && (t = Oe), function(n) {
1111
- Cn(e, function() {
1104
+ var a = new A(fr(r, t, o ? function(l) {
1105
+ return pr(o, l);
1106
+ } : Pe));
1107
+ return n ? a.pipe(Is(n)) : a;
1108
+ }
1109
+ function fr(s, e, t) {
1110
+ return t === void 0 && (t = Pe), function(n) {
1111
+ An(e, function() {
1112
1112
  for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
1113
- Cn(e, function() {
1113
+ An(e, function() {
1114
1114
  var u = lt(s[h], e), p = !1;
1115
1115
  u.subscribe(P(n, function(d) {
1116
1116
  r[h] = d, p || (p = !0, a--), a || n.next(t(r.slice()));
@@ -1123,10 +1123,10 @@ function pr(s, e, t) {
1123
1123
  }, n);
1124
1124
  };
1125
1125
  }
1126
- function Cn(s, e, t) {
1127
- s ? F(t, s, e) : e();
1126
+ function An(s, e, t) {
1127
+ s ? q(t, s, e) : e();
1128
1128
  }
1129
- function dr(s, e, t, n, i, r, o, a) {
1129
+ function gr(s, e, t, n, i, r, o, a) {
1130
1130
  var l = [], c = 0, h = 0, u = !1, p = function() {
1131
1131
  u && !l.length && !c && e.complete();
1132
1132
  }, d = function(f) {
@@ -1143,15 +1143,15 @@ function dr(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
  };
@@ -1161,30 +1161,30 @@ function dr(s, e, t, n, i, r, o, a) {
1161
1161
  a == null || a();
1162
1162
  };
1163
1163
  }
1164
- function Gt(s, e, t) {
1165
- return t === void 0 && (t = 1 / 0), $(e) ? Gt(function(n, i) {
1164
+ function Xt(s, e, t) {
1165
+ return t === void 0 && (t = 1 / 0), $(e) ? Xt(function(n, i) {
1166
1166
  return Qe(function(r, o) {
1167
1167
  return e(n, r, i, o);
1168
1168
  })(B(s(n, i)));
1169
1169
  }, t) : (typeof e == "number" && (t = e), K(function(n, i) {
1170
- return dr(n, i, s, t);
1170
+ return gr(n, i, s, t);
1171
1171
  }));
1172
1172
  }
1173
- function fr(s) {
1174
- return s === void 0 && (s = 1 / 0), Gt(Oe, s);
1173
+ function mr(s) {
1174
+ return s === void 0 && (s = 1 / 0), Xt(Pe, s);
1175
1175
  }
1176
- var gr = ["addListener", "removeListener"], mr = ["addEventListener", "removeEventListener"], vr = ["on", "off"];
1177
- function Ke(s, e, t, n) {
1176
+ var vr = ["addListener", "removeListener"], br = ["addEventListener", "removeEventListener"], yr = ["on", "off"];
1177
+ function Ge(s, e, t, n) {
1178
1178
  if ($(t) && (n = t, t = void 0), n)
1179
- return Ke(s, e, t).pipe(Rs(n));
1180
- var i = Y($r(s) ? mr.map(function(a) {
1179
+ return Ge(s, e, t).pipe(Is(n));
1180
+ var i = Q(wr(s) ? br.map(function(a) {
1181
1181
  return function(l) {
1182
1182
  return s[a](e, l, t);
1183
1183
  };
1184
- }) : br(s) ? gr.map(An(s, e)) : yr(s) ? vr.map(An(s, e)) : [], 2), r = i[0], o = i[1];
1184
+ }) : $r(s) ? vr.map(En(s, e)) : xr(s) ? yr.map(En(s, e)) : [], 2), r = i[0], o = i[1];
1185
1185
  if (!r && Kt(s))
1186
- return Gt(function(a) {
1187
- return Ke(a, e, t);
1186
+ return Xt(function(a) {
1187
+ return Ge(a, e, t);
1188
1188
  })(B(s));
1189
1189
  if (!r)
1190
1190
  throw new TypeError("Invalid event target");
@@ -1199,31 +1199,31 @@ function Ke(s, e, t, n) {
1199
1199
  };
1200
1200
  });
1201
1201
  }
1202
- function An(s, e) {
1202
+ function En(s, e) {
1203
1203
  return function(t) {
1204
1204
  return function(n) {
1205
1205
  return s[t](e, n);
1206
1206
  };
1207
1207
  };
1208
1208
  }
1209
- function br(s) {
1209
+ function $r(s) {
1210
1210
  return $(s.addListener) && $(s.removeListener);
1211
1211
  }
1212
- function yr(s) {
1212
+ function xr(s) {
1213
1213
  return $(s.on) && $(s.off);
1214
1214
  }
1215
- function $r(s) {
1215
+ function wr(s) {
1216
1216
  return $(s.addEventListener) && $(s.removeEventListener);
1217
1217
  }
1218
- function xr() {
1218
+ function kr() {
1219
1219
  for (var s = [], e = 0; e < arguments.length; e++)
1220
1220
  s[e] = arguments[e];
1221
- var t = Qt(s), n = Ni(s, 1 / 0), i = s;
1222
- return i.length ? i.length === 1 ? B(i[0]) : fr(n)(lt(i, t)) : Pe;
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)) : Re;
1223
1223
  }
1224
1224
  function Mt(s) {
1225
1225
  return s <= 0 ? function() {
1226
- return Pe;
1226
+ return Re;
1227
1227
  } : K(function(e, t) {
1228
1228
  var n = 0;
1229
1229
  e.subscribe(P(t, function(i) {
@@ -1231,7 +1231,7 @@ function Mt(s) {
1231
1231
  }));
1232
1232
  });
1233
1233
  }
1234
- function pe(s, e) {
1234
+ function de(s, e) {
1235
1235
  return K(function(t, n) {
1236
1236
  var i = null, r = 0, o = !1, a = function() {
1237
1237
  return o && !i && n.complete();
@@ -1259,29 +1259,95 @@ function zt(s) {
1259
1259
  function Ut() {
1260
1260
  for (var s = [], e = 0; e < arguments.length; e++)
1261
1261
  s[e] = arguments[e];
1262
- var t = $s(s);
1262
+ var t = xs(s);
1263
1263
  return K(function(n, i) {
1264
1264
  for (var r = s.length, o = new Array(r), a = s.map(function() {
1265
1265
  return !1;
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 || {});
1281
- const Is = () => crypto.randomUUID();
1280
+ var W = /* @__PURE__ */ ((s) => (s.User = "user", s.Agent = "agent", s.System = "system", s))(W || {});
1281
+ const Ms = () => crypto.randomUUID();
1282
+ function jl(s) {
1283
+ let e = s;
1284
+ const t = /https?:\/\/[^\s<]+/gi, n = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, i = s.match(t) || [], r = [];
1285
+ let o;
1286
+ for (; (o = n.exec(s)) !== null; )
1287
+ r.push(o[1]);
1288
+ return i.filter((l) => !r.includes(l)).forEach((l) => {
1289
+ const c = l.endsWith(".") ? l.slice(0, -1) : l, h = new RegExp(
1290
+ `(?<!<a[^>]*>)${c.replace(
1291
+ /[.*+?^${}()|[\]\\]/g,
1292
+ "\\$&"
1293
+ )}(?![^<]*</a>)`,
1294
+ "gi"
1295
+ );
1296
+ e = e.replace(
1297
+ h,
1298
+ `<a title='${c}' target='_blank' href='${c}'>${c}</a>`
1299
+ );
1300
+ }), e;
1301
+ }
1302
+ function _r(s) {
1303
+ if (s.includes("aceChatGuideTitle"))
1304
+ return Sr(s);
1305
+ const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1306
+ return s.replace(e, (t) => {
1307
+ const n = zs(t);
1308
+ if (!n)
1309
+ return t;
1310
+ const i = 50;
1311
+ if (n.length > i) {
1312
+ const r = /^(https?:\/\/[^/]+)(\/.*)?$/i, o = n.match(r);
1313
+ if (!o)
1314
+ return t;
1315
+ const a = o[1], c = (o[2] || "/").split("?")[0], h = c.split("/").pop(), u = i - a.length;
1316
+ let p = c;
1317
+ h && h.length < u && c.length > u ? p = c.substring(
1318
+ 0,
1319
+ u - h.length - 4
1320
+ ) + ".../" + h : p = c.substring(0, u - 3) + "...";
1321
+ const d = `${a}${p}`;
1322
+ return jt(t, d);
1323
+ }
1324
+ return jt(t, n);
1325
+ });
1326
+ }
1327
+ function zs(s) {
1328
+ const e = s.match(/href=["']([^'"]*)["']/);
1329
+ if (e && e.length > 1) {
1330
+ let t = e[1];
1331
+ return t.endsWith(".") && (t = t.slice(0, -1)), t;
1332
+ }
1333
+ return null;
1334
+ }
1335
+ function jt(s, e) {
1336
+ return s.replace(/>[^<]*<\/a>/, `>${e}</a>`);
1337
+ }
1338
+ function Sr(s) {
1339
+ const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1340
+ return s.replace(e, (t) => {
1341
+ const n = zs(t);
1342
+ if (!n)
1343
+ return t;
1344
+ const i = n.split("?").pop(), o = new URLSearchParams(i).get("aceChatGuideTitle");
1345
+ return o ? jt(t, o) : t;
1346
+ });
1347
+ }
1282
1348
  class ct {
1283
1349
  constructor(e, t, n) {
1284
- this.type = e, this.sender = t, this.messages = n, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = Is();
1350
+ this.type = e, this.sender = t, this.messages = n, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = Ms();
1285
1351
  }
1286
1352
  update(e) {
1287
1353
  this.messages = [
@@ -1297,13 +1363,13 @@ class ct {
1297
1363
  this.remove$.next();
1298
1364
  }
1299
1365
  }
1300
- class wr {
1366
+ class Cr {
1301
1367
  constructor(e) {
1302
1368
  this.name = e, this.print$ = new _();
1303
1369
  }
1304
1370
  print(e, t = "html", n = this.name) {
1305
1371
  const i = new ct(
1306
- Z.Agent,
1372
+ W.Agent,
1307
1373
  { name: n },
1308
1374
  [
1309
1375
  {
@@ -1317,13 +1383,13 @@ class wr {
1317
1383
  return this.print$.asObservable();
1318
1384
  }
1319
1385
  }
1320
- class kr {
1386
+ class Ar {
1321
1387
  constructor(e) {
1322
1388
  this.name = e, this.print$ = new _();
1323
1389
  }
1324
1390
  print(e) {
1325
1391
  const t = new ct(
1326
- Z.User,
1392
+ W.User,
1327
1393
  { name: this.name },
1328
1394
  [
1329
1395
  {
@@ -1337,13 +1403,13 @@ class kr {
1337
1403
  return this.print$.asObservable();
1338
1404
  }
1339
1405
  }
1340
- class _r {
1406
+ class Er {
1341
1407
  constructor() {
1342
1408
  this.print$ = new _(), this.name = "system";
1343
1409
  }
1344
1410
  print(e) {
1345
1411
  const t = new ct(
1346
- Z.System,
1412
+ W.System,
1347
1413
  { name: this.name },
1348
1414
  [
1349
1415
  {
@@ -1357,7 +1423,7 @@ class _r {
1357
1423
  return this.print$.asObservable();
1358
1424
  }
1359
1425
  }
1360
- class Il {
1426
+ class Dl {
1361
1427
  constructor(e, t) {
1362
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();
1363
1429
  }
@@ -1371,7 +1437,7 @@ class Il {
1371
1437
  disconnected() {
1372
1438
  }
1373
1439
  onUserSubmit(e) {
1374
- this.print(Z.User, e.text);
1440
+ this.print(W.User, e.text);
1375
1441
  }
1376
1442
  print(e, t) {
1377
1443
  const n = new ct(
@@ -1391,19 +1457,19 @@ class Il {
1391
1457
  return this.print$.next(e), e;
1392
1458
  }
1393
1459
  createAgent(e) {
1394
- const t = new wr(e);
1460
+ const t = new Cr(e);
1395
1461
  return t.subscribe().subscribe((n) => {
1396
1462
  this.playNotification(), this.printEntry(n);
1397
1463
  }), t;
1398
1464
  }
1399
1465
  createUser(e) {
1400
- const t = new kr(e);
1466
+ const t = new Ar(e);
1401
1467
  return t.subscribe().subscribe((n) => {
1402
1468
  this.printEntry(n);
1403
1469
  }), t;
1404
1470
  }
1405
1471
  createSystem() {
1406
- const e = new _r();
1472
+ const e = new Er();
1407
1473
  return e.subscribe().subscribe((t) => {
1408
1474
  this.printEntry(t);
1409
1475
  }), e;
@@ -1439,19 +1505,19 @@ class Il {
1439
1505
  * Copyright 2019 Google LLC
1440
1506
  * SPDX-License-Identifier: BSD-3-Clause
1441
1507
  */
1442
- const We = globalThis, Xt = We.ShadowRoot && (We.ShadyCSS === void 0 || We.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Vt = Symbol(), En = /* @__PURE__ */ new WeakMap();
1443
- let Ms = class {
1508
+ const We = globalThis, Vt = We.ShadowRoot && (We.ShadyCSS === void 0 || We.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Jt = Symbol(), Tn = /* @__PURE__ */ new WeakMap();
1509
+ let Us = class {
1444
1510
  constructor(e, t, n) {
1445
- if (this._$cssResult$ = !0, n !== Vt)
1511
+ if (this._$cssResult$ = !0, n !== Jt)
1446
1512
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1447
1513
  this.cssText = e, this.t = t;
1448
1514
  }
1449
1515
  get styleSheet() {
1450
1516
  let e = this.o;
1451
1517
  const t = this.t;
1452
- if (Xt && e === void 0) {
1518
+ if (Vt && e === void 0) {
1453
1519
  const n = t !== void 0 && t.length === 1;
1454
- n && (e = En.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && En.set(t, e));
1520
+ n && (e = Tn.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Tn.set(t, e));
1455
1521
  }
1456
1522
  return e;
1457
1523
  }
@@ -1459,7 +1525,7 @@ let Ms = class {
1459
1525
  return this.cssText;
1460
1526
  }
1461
1527
  };
1462
- const Sr = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Vt), E = (s, ...e) => {
1528
+ const Tr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s, ...e) => {
1463
1529
  const t = s.length === 1 ? s[0] : e.reduce((n, i, r) => n + ((o) => {
1464
1530
  if (o._$cssResult$ === !0)
1465
1531
  return o.cssText;
@@ -1467,30 +1533,30 @@ const Sr = (s) => new Ms(typeof s == "string" ? s : s + "", void 0, Vt), E = (s,
1467
1533
  return o;
1468
1534
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1469
1535
  })(i) + s[r + 1], s[0]);
1470
- return new Ms(t, s, Vt);
1471
- }, Cr = (s, e) => {
1472
- if (Xt)
1536
+ return new Us(t, s, Jt);
1537
+ }, Lr = (s, e) => {
1538
+ if (Vt)
1473
1539
  s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
1474
1540
  else
1475
1541
  for (const t of e) {
1476
1542
  const n = document.createElement("style"), i = We.litNonce;
1477
1543
  i !== void 0 && n.setAttribute("nonce", i), n.textContent = t.cssText, s.appendChild(n);
1478
1544
  }
1479
- }, Tn = Xt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
1545
+ }, Ln = Vt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((e) => {
1480
1546
  let t = "";
1481
1547
  for (const n of e.cssRules)
1482
1548
  t += n.cssText;
1483
- return Sr(t);
1549
+ return Tr(t);
1484
1550
  })(s) : s;
1485
1551
  /**
1486
1552
  * @license
1487
1553
  * Copyright 2017 Google LLC
1488
1554
  * SPDX-License-Identifier: BSD-3-Clause
1489
1555
  */
1490
- const { is: Ar, defineProperty: Er, getOwnPropertyDescriptor: Tr, getOwnPropertyNames: Lr, getOwnPropertySymbols: Or, getPrototypeOf: Pr } = Object, W = globalThis, Ln = W.trustedTypes, Rr = Ln ? Ln.emptyScript : "", kt = W.reactiveElementPolyfillSupport, xe = (s, e) => s, Ge = { 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) {
1491
1557
  switch (e) {
1492
1558
  case Boolean:
1493
- s = s ? Rr : null;
1559
+ s = s ? Ur : null;
1494
1560
  break;
1495
1561
  case Object:
1496
1562
  case Array:
@@ -1515,23 +1581,23 @@ const { is: Ar, defineProperty: Er, getOwnPropertyDescriptor: Tr, getOwnProperty
1515
1581
  }
1516
1582
  }
1517
1583
  return t;
1518
- } }, Jt = (s, e) => !Ar(s, e), On = { attribute: !0, type: String, converter: Ge, reflect: !1, hasChanged: Jt };
1519
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), W.litPropertyMetadata ?? (W.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1520
- let ae = class extends HTMLElement {
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")), Y.litPropertyMetadata ?? (Y.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1586
+ let le = class extends HTMLElement {
1521
1587
  static addInitializer(e) {
1522
1588
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
1523
1589
  }
1524
1590
  static get observedAttributes() {
1525
1591
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1526
1592
  }
1527
- static createProperty(e, t = On) {
1593
+ static createProperty(e, t = Pn) {
1528
1594
  if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
1529
1595
  const n = Symbol(), i = this.getPropertyDescriptor(e, n, t);
1530
- i !== void 0 && Er(this.prototype, e, i);
1596
+ i !== void 0 && Pr(this.prototype, e, i);
1531
1597
  }
1532
1598
  }
1533
1599
  static getPropertyDescriptor(e, t, n) {
1534
- const { get: i, set: r } = Tr(this.prototype, e) ?? { get() {
1600
+ const { get: i, set: r } = Rr(this.prototype, e) ?? { get() {
1535
1601
  return this[t];
1536
1602
  }, set(o) {
1537
1603
  this[t] = o;
@@ -1544,19 +1610,19 @@ let ae = class extends HTMLElement {
1544
1610
  }, configurable: !0, enumerable: !0 };
1545
1611
  }
1546
1612
  static getPropertyOptions(e) {
1547
- return this.elementProperties.get(e) ?? On;
1613
+ return this.elementProperties.get(e) ?? Pn;
1548
1614
  }
1549
1615
  static _$Ei() {
1550
- if (this.hasOwnProperty(xe("elementProperties")))
1616
+ if (this.hasOwnProperty(we("elementProperties")))
1551
1617
  return;
1552
- const e = Pr(this);
1618
+ const e = zr(this);
1553
1619
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1554
1620
  }
1555
1621
  static finalize() {
1556
- if (this.hasOwnProperty(xe("finalized")))
1622
+ if (this.hasOwnProperty(we("finalized")))
1557
1623
  return;
1558
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(xe("properties"))) {
1559
- const t = this.properties, n = [...Lr(t), ...Or(t)];
1624
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(we("properties"))) {
1625
+ const t = this.properties, n = [...Ir(t), ...Mr(t)];
1560
1626
  for (const i of n)
1561
1627
  this.createProperty(i, t[i]);
1562
1628
  }
@@ -1579,9 +1645,9 @@ let ae = class extends HTMLElement {
1579
1645
  if (Array.isArray(e)) {
1580
1646
  const n = new Set(e.flat(1 / 0).reverse());
1581
1647
  for (const i of n)
1582
- t.unshift(Tn(i));
1648
+ t.unshift(Ln(i));
1583
1649
  } else
1584
- e !== void 0 && t.push(Tn(e));
1650
+ e !== void 0 && t.push(Ln(e));
1585
1651
  return t;
1586
1652
  }
1587
1653
  static _$Eu(e, t) {
@@ -1611,7 +1677,7 @@ let ae = class extends HTMLElement {
1611
1677
  }
1612
1678
  createRenderRoot() {
1613
1679
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1614
- return Cr(e, this.constructor.elementStyles), e;
1680
+ return Lr(e, this.constructor.elementStyles), e;
1615
1681
  }
1616
1682
  connectedCallback() {
1617
1683
  var e;
@@ -1636,7 +1702,7 @@ let ae = class extends HTMLElement {
1636
1702
  var r;
1637
1703
  const n = this.constructor.elementProperties.get(e), i = this.constructor._$Eu(e, n);
1638
1704
  if (i !== void 0 && n.reflect === !0) {
1639
- const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : Ge).toAttribute(t, n.type);
1705
+ const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : Ke).toAttribute(t, n.type);
1640
1706
  this._$Em = e, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
1641
1707
  }
1642
1708
  }
@@ -1644,13 +1710,13 @@ let ae = class extends HTMLElement {
1644
1710
  var r;
1645
1711
  const n = this.constructor, i = n._$Eh.get(e);
1646
1712
  if (i !== void 0 && this._$Em !== i) {
1647
- const o = n.getPropertyOptions(i), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : Ge;
1713
+ const o = n.getPropertyOptions(i), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : Ke;
1648
1714
  this._$Em = i, this[i] = a.fromAttribute(t, o.type), this._$Em = null;
1649
1715
  }
1650
1716
  }
1651
1717
  requestUpdate(e, t, n) {
1652
1718
  if (e !== void 0) {
1653
- if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? Jt)(this[e], t))
1719
+ if (n ?? (n = this.constructor.getPropertyOptions(e)), !(n.hasChanged ?? en)(this[e], t))
1654
1720
  return;
1655
1721
  this.P(e, t, n);
1656
1722
  }
@@ -1728,86 +1794,86 @@ let ae = class extends HTMLElement {
1728
1794
  firstUpdated(e) {
1729
1795
  }
1730
1796
  };
1731
- 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");
1732
1798
  /**
1733
1799
  * @license
1734
1800
  * Copyright 2017 Google LLC
1735
1801
  * SPDX-License-Identifier: BSD-3-Clause
1736
1802
  */
1737
- const we = globalThis, Xe = we.trustedTypes, Pn = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, zs = "$lit$", q = `lit$${(Math.random() + "").slice(9)}$`, Us = "?" + q, Ir = `<${Us}>`, se = document, Ce = () => se.createComment(""), Ae = (s) => s === null || typeof s != "object" && typeof s != "function", js = Array.isArray, Mr = (s) => js(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1738
- \f\r]`, ye = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Rn = /-->/g, In = />/g, J = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
1739
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Mn = /'/g, zn = /"/g, Hs = /^(?:script|style|textarea|title)$/i, zr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = zr(1), Q = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), Un = /* @__PURE__ */ new WeakMap(), te = se.createTreeWalker(se, 129);
1740
- function Ds(s, e) {
1803
+ const ke = globalThis, Xe = ke.trustedTypes, Rn = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, js = "$lit$", Z = `lit$${(Math.random() + "").slice(9)}$`, Ds = "?" + Z, jr = `<${Ds}>`, ie = document, Ae = () => ie.createComment(""), Ee = (s) => s === null || typeof s != "object" && typeof s != "function", Hs = Array.isArray, Dr = (s) => Hs(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
1804
+ \f\r]`, $e = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, In = /-->/g, Mn = />/g, ee = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
1805
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), zn = /'/g, Un = /"/g, Bs = /^(?:script|style|textarea|title)$/i, Hr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Hr(1), G = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), jn = /* @__PURE__ */ new WeakMap(), ne = ie.createTreeWalker(ie, 129);
1806
+ function Ns(s, e) {
1741
1807
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
1742
1808
  throw Error("invalid template strings array");
1743
- return Pn !== void 0 ? Pn.createHTML(e) : e;
1809
+ return Rn !== void 0 ? Rn.createHTML(e) : e;
1744
1810
  }
1745
- const Ur = (s, e) => {
1811
+ const Br = (s, e) => {
1746
1812
  const t = s.length - 1, n = [];
1747
- let i, r = e === 2 ? "<svg>" : "", o = ye;
1813
+ let i, r = e === 2 ? "<svg>" : "", o = $e;
1748
1814
  for (let a = 0; a < t; a++) {
1749
1815
  const l = s[a];
1750
1816
  let c, h, u = -1, p = 0;
1751
1817
  for (; p < l.length && (o.lastIndex = p, h = o.exec(l), h !== null); )
1752
- p = o.lastIndex, o === ye ? h[1] === "!--" ? o = Rn : h[1] !== void 0 ? o = In : h[2] !== void 0 ? (Hs.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] === '"' ? zn : Mn) : o === zn || o === Mn ? o = J : o === Rn || o === In ? o = ye : (o = J, i = void 0);
1753
- const d = o === J && s[a + 1].startsWith("/>") ? " " : "";
1754
- r += o === ye ? l + Ir : u >= 0 ? (n.push(c), l.slice(0, u) + zs + 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);
1755
1821
  }
1756
- return [Ds(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1822
+ return [Ns(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
1757
1823
  };
1758
- class Ee {
1824
+ class Te {
1759
1825
  constructor({ strings: e, _$litType$: t }, n) {
1760
1826
  let i;
1761
1827
  this.parts = [];
1762
1828
  let r = 0, o = 0;
1763
- const a = e.length - 1, l = this.parts, [c, h] = Ur(e, t);
1764
- if (this.el = Ee.createElement(c, n), te.currentNode = this.el.content, t === 2) {
1829
+ const a = e.length - 1, l = this.parts, [c, h] = Br(e, t);
1830
+ if (this.el = Te.createElement(c, n), ne.currentNode = this.el.content, t === 2) {
1765
1831
  const u = this.el.content.firstChild;
1766
1832
  u.replaceWith(...u.childNodes);
1767
1833
  }
1768
- for (; (i = te.nextNode()) !== null && l.length < a; ) {
1834
+ for (; (i = ne.nextNode()) !== null && l.length < a; ) {
1769
1835
  if (i.nodeType === 1) {
1770
1836
  if (i.hasAttributes())
1771
1837
  for (const u of i.getAttributeNames())
1772
- if (u.endsWith(zs)) {
1773
- const p = h[o++], d = i.getAttribute(u).split(q), b = /([.?@])?(.*)/.exec(p);
1774
- l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ? Hr : b[1] === "?" ? Dr : b[1] === "@" ? Br : ht }), i.removeAttribute(u);
1838
+ if (u.endsWith(js)) {
1839
+ const p = h[o++], d = i.getAttribute(u).split(Z), b = /([.?@])?(.*)/.exec(p);
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);
1775
1841
  } else
1776
- u.startsWith(q) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1777
- if (Hs.test(i.tagName)) {
1778
- const u = i.textContent.split(q), p = u.length - 1;
1842
+ u.startsWith(Z) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
1843
+ if (Bs.test(i.tagName)) {
1844
+ const u = i.textContent.split(Z), p = u.length - 1;
1779
1845
  if (p > 0) {
1780
1846
  i.textContent = Xe ? Xe.emptyScript : "";
1781
1847
  for (let d = 0; d < p; d++)
1782
- i.append(u[d], Ce()), te.nextNode(), l.push({ type: 2, index: ++r });
1783
- 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());
1784
1850
  }
1785
1851
  }
1786
1852
  } else if (i.nodeType === 8)
1787
- if (i.data === Us)
1853
+ if (i.data === Ds)
1788
1854
  l.push({ type: 2, index: r });
1789
1855
  else {
1790
1856
  let u = -1;
1791
- for (; (u = i.data.indexOf(q, u + 1)) !== -1; )
1792
- 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;
1793
1859
  }
1794
1860
  r++;
1795
1861
  }
1796
1862
  }
1797
1863
  static createElement(e, t) {
1798
- const n = se.createElement("template");
1864
+ const n = ie.createElement("template");
1799
1865
  return n.innerHTML = e, n;
1800
1866
  }
1801
1867
  }
1802
- function me(s, e, t = s, n) {
1868
+ function ve(s, e, t = s, n) {
1803
1869
  var o, a;
1804
- if (e === Q)
1870
+ if (e === G)
1805
1871
  return e;
1806
1872
  let i = n !== void 0 ? (o = t._$Co) == null ? void 0 : o[n] : t._$Cl;
1807
- const r = Ae(e) ? void 0 : e._$litDirective$;
1808
- 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;
1809
1875
  }
1810
- class jr {
1876
+ class Nr {
1811
1877
  constructor(e, t) {
1812
1878
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
1813
1879
  }
@@ -1818,17 +1884,17 @@ class jr {
1818
1884
  return this._$AM._$AU;
1819
1885
  }
1820
1886
  u(e) {
1821
- const { el: { content: t }, parts: n } = this._$AD, i = ((e == null ? void 0 : e.creationScope) ?? se).importNode(t, !0);
1822
- te.currentNode = i;
1823
- 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];
1824
1890
  for (; l !== void 0; ) {
1825
1891
  if (o === l.index) {
1826
1892
  let c;
1827
- 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 Nr(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];
1828
1894
  }
1829
- o !== (l == null ? void 0 : l.index) && (r = te.nextNode(), o++);
1895
+ o !== (l == null ? void 0 : l.index) && (r = ne.nextNode(), o++);
1830
1896
  }
1831
- return te.currentNode = se, i;
1897
+ return ne.currentNode = ie, i;
1832
1898
  }
1833
1899
  p(e) {
1834
1900
  let t = 0;
@@ -1836,7 +1902,7 @@ class jr {
1836
1902
  n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, t), t += n.strings.length - 2) : n._$AI(e[t])), t++;
1837
1903
  }
1838
1904
  }
1839
- class Re {
1905
+ class Ie {
1840
1906
  get _$AU() {
1841
1907
  var e;
1842
1908
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -1856,7 +1922,7 @@ class Re {
1856
1922
  return this._$AB;
1857
1923
  }
1858
1924
  _$AI(e, t = this) {
1859
- 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) : Mr(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);
1860
1926
  }
1861
1927
  S(e) {
1862
1928
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -1865,28 +1931,28 @@ class Re {
1865
1931
  this._$AH !== e && (this._$AR(), this._$AH = this.S(e));
1866
1932
  }
1867
1933
  _(e) {
1868
- 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;
1869
1935
  }
1870
1936
  $(e) {
1871
1937
  var r;
1872
- const { values: t, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Ee.createElement(Ds(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);
1873
1939
  if (((r = this._$AH) == null ? void 0 : r._$AD) === i)
1874
1940
  this._$AH.p(t);
1875
1941
  else {
1876
- const o = new jr(i, this), a = o.u(this.options);
1942
+ const o = new Nr(i, this), a = o.u(this.options);
1877
1943
  o.p(t), this.T(a), this._$AH = o;
1878
1944
  }
1879
1945
  }
1880
1946
  _$AC(e) {
1881
- let t = Un.get(e.strings);
1882
- return t === void 0 && Un.set(e.strings, t = new Ee(e)), t;
1947
+ let t = jn.get(e.strings);
1948
+ return t === void 0 && jn.set(e.strings, t = new Te(e)), t;
1883
1949
  }
1884
1950
  k(e) {
1885
- js(this._$AH) || (this._$AH = [], this._$AR());
1951
+ Hs(this._$AH) || (this._$AH = [], this._$AR());
1886
1952
  const t = this._$AH;
1887
1953
  let n, i = 0;
1888
1954
  for (const r of e)
1889
- 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++;
1890
1956
  i < t.length && (this._$AR(n && n._$AB.nextSibling, i), t.length = i);
1891
1957
  }
1892
1958
  _$AR(e = this._$AA.nextSibling, t) {
@@ -1915,12 +1981,12 @@ class ht {
1915
1981
  const r = this.strings;
1916
1982
  let o = !1;
1917
1983
  if (r === void 0)
1918
- 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);
1919
1985
  else {
1920
1986
  const a = e;
1921
1987
  let l, c;
1922
1988
  for (e = r[0], l = 0; l < r.length - 1; l++)
1923
- 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;
1924
1990
  }
1925
1991
  o && !i && this.j(e);
1926
1992
  }
@@ -1928,7 +1994,7 @@ class ht {
1928
1994
  e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
1929
1995
  }
1930
1996
  }
1931
- class Hr extends ht {
1997
+ class Fr extends ht {
1932
1998
  constructor() {
1933
1999
  super(...arguments), this.type = 3;
1934
2000
  }
@@ -1936,7 +2002,7 @@ class Hr extends ht {
1936
2002
  this.element[this.name] = e === g ? void 0 : e;
1937
2003
  }
1938
2004
  }
1939
- let Dr = class extends ht {
2005
+ let qr = class extends ht {
1940
2006
  constructor() {
1941
2007
  super(...arguments), this.type = 4;
1942
2008
  }
@@ -1944,12 +2010,12 @@ let Dr = class extends ht {
1944
2010
  this.element.toggleAttribute(this.name, !!e && e !== g);
1945
2011
  }
1946
2012
  };
1947
- class Br extends ht {
2013
+ class Zr extends ht {
1948
2014
  constructor(e, t, n, i, r) {
1949
2015
  super(e, t, n, i, r), this.type = 5;
1950
2016
  }
1951
2017
  _$AI(e, t = this) {
1952
- if ((e = me(this, e, t, 0) ?? g) === Q)
2018
+ if ((e = ve(this, e, t, 0) ?? g) === G)
1953
2019
  return;
1954
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);
1955
2021
  i && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, e), this._$AH = e;
@@ -1959,7 +2025,7 @@ class Br extends ht {
1959
2025
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
1960
2026
  }
1961
2027
  }
1962
- class Nr {
2028
+ class Wr {
1963
2029
  constructor(e, t, n) {
1964
2030
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
1965
2031
  }
@@ -1967,17 +2033,17 @@ class Nr {
1967
2033
  return this._$AM._$AU;
1968
2034
  }
1969
2035
  _$AI(e) {
1970
- me(this, e);
2036
+ ve(this, e);
1971
2037
  }
1972
2038
  }
1973
- const St = we.litHtmlPolyfillSupport;
1974
- St == null || St(Ee, Re), (we.litHtmlVersions ?? (we.litHtmlVersions = [])).push("3.1.2");
1975
- const Fr = (s, e, t) => {
2039
+ const St = ke.litHtmlPolyfillSupport;
2040
+ St == null || St(Te, Ie), (ke.litHtmlVersions ?? (ke.litHtmlVersions = [])).push("3.1.2");
2041
+ const Yr = (s, e, t) => {
1976
2042
  const n = (t == null ? void 0 : t.renderBefore) ?? e;
1977
2043
  let i = n._$litPart$;
1978
2044
  if (i === void 0) {
1979
2045
  const r = (t == null ? void 0 : t.renderBefore) ?? null;
1980
- 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 ?? {});
1981
2047
  }
1982
2048
  return i._$AI(s), i;
1983
2049
  };
@@ -1986,7 +2052,7 @@ const Fr = (s, e, t) => {
1986
2052
  * Copyright 2017 Google LLC
1987
2053
  * SPDX-License-Identifier: BSD-3-Clause
1988
2054
  */
1989
- let k = class extends ae {
2055
+ let k = class extends le {
1990
2056
  constructor() {
1991
2057
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1992
2058
  }
@@ -1997,7 +2063,7 @@ let k = class extends ae {
1997
2063
  }
1998
2064
  update(e) {
1999
2065
  const t = this.render();
2000
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Fr(t, this.renderRoot, this.renderOptions);
2066
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Yr(t, this.renderRoot, this.renderOptions);
2001
2067
  }
2002
2068
  connectedCallback() {
2003
2069
  var e;
@@ -2008,15 +2074,15 @@ let k = class extends ae {
2008
2074
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
2009
2075
  }
2010
2076
  render() {
2011
- return Q;
2077
+ return G;
2012
2078
  }
2013
2079
  };
2014
- var ps;
2015
- k._$litElement$ = !0, k.finalized = !0, (ps = globalThis.litElementHydrateSupport) == null || ps.call(globalThis, { LitElement: k });
2080
+ var ds;
2081
+ k._$litElement$ = !0, k.finalized = !0, (ds = globalThis.litElementHydrateSupport) == null || ds.call(globalThis, { LitElement: k });
2016
2082
  const Ct = globalThis.litElementPolyfillSupport;
2017
2083
  Ct == null || Ct({ LitElement: k });
2018
2084
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
2019
- 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>' }, Zr = { 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>' }, Wr = { 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>' }, Yr = { 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>' }, Qr = { 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>' }, jn = { 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>' }, Kr = { 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>' }, Gr = { 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>' }, 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 = {
2020
2086
  allRenderFn: !1,
2021
2087
  cmpDidLoad: !0,
2022
2088
  cmpDidUnload: !1,
@@ -2100,8 +2166,8 @@ const qr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.
2100
2166
  transformTagName: !1,
2101
2167
  attachStyles: !0
2102
2168
  };
2103
- let ce, Bs, ut, Ns = !1, Ve = !1, en = !1, T = !1, Dn = null, jt = !1;
2104
- const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, Fs = 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 {
2105
2171
  }, S = {
2106
2172
  $flags$: 0,
2107
2173
  $resourcesUrl$: "",
@@ -2110,10 +2176,10 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2110
2176
  ael: (s, e, t, n) => s.addEventListener(e, t, n),
2111
2177
  rel: (s, e, t, n) => s.removeEventListener(e, t, n),
2112
2178
  ce: (s, e) => new CustomEvent(s, e)
2113
- }, Xr = /* @__PURE__ */ (() => {
2179
+ }, to = /* @__PURE__ */ (() => {
2114
2180
  let s = !1;
2115
2181
  try {
2116
- D.addEventListener("e", null, Object.defineProperty({}, "passive", {
2182
+ H.addEventListener("e", null, Object.defineProperty({}, "passive", {
2117
2183
  get() {
2118
2184
  s = !0;
2119
2185
  }
@@ -2121,48 +2187,48 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2121
2187
  } catch {
2122
2188
  }
2123
2189
  return s;
2124
- })(), Vr = (s) => Promise.resolve(s), Jr = /* @__PURE__ */ (() => {
2190
+ })(), no = (s) => Promise.resolve(s), so = /* @__PURE__ */ (() => {
2125
2191
  try {
2126
2192
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
2127
2193
  } catch {
2128
2194
  }
2129
2195
  return !1;
2130
- })(), qs = (s, e, t, n) => {
2196
+ })(), Ws = (s, e, t, n) => {
2131
2197
  t && t.map(([i, r, o]) => {
2132
- const a = to(s, i), l = eo(e, o), c = no(i);
2198
+ const a = ro(s, i), l = io(e, o), c = oo(i);
2133
2199
  S.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => S.rel(a, r, l, c));
2134
2200
  });
2135
- }, eo = (s, e) => (t) => {
2201
+ }, io = (s, e) => (t) => {
2136
2202
  try {
2137
- le.lazyLoad || s.$hostElement$[e](t);
2203
+ ce.lazyLoad || s.$hostElement$[e](t);
2138
2204
  } catch (n) {
2139
- Ie(n);
2205
+ Me(n);
2140
2206
  }
2141
- }, to = (s, e) => e & 4 ? D : e & 8 ? pt : e & 16 ? D.body : s, no = (s) => Xr ? {
2207
+ }, ro = (s, e) => e & 4 ? H : e & 8 ? pt : e & 16 ? H.body : s, oo = (s) => to ? {
2142
2208
  passive: (s & 1) !== 0,
2143
2209
  capture: (s & 2) !== 0
2144
- } : (s & 2) !== 0, Bn = "http://www.w3.org/1999/xlink", ie = (s, e = "") => () => {
2145
- }, Nn = /* @__PURE__ */ new WeakMap(), so = (s, e, t) => {
2210
+ } : (s & 2) !== 0, Nn = "http://www.w3.org/1999/xlink", re = (s, e = "") => () => {
2211
+ }, Fn = /* @__PURE__ */ new WeakMap(), ao = (s, e, t) => {
2146
2212
  let n = tt.get(s);
2147
- Jr && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, tt.set(s, n);
2148
- }, io = (s, e, t, n) => {
2149
- let i = Zs(e, t), r = tt.get(i);
2150
- if (s = s.nodeType === 11 ? s : D, r)
2213
+ so && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, tt.set(s, n);
2214
+ }, lo = (s, e, t, n) => {
2215
+ let i = Ys(e, t), r = tt.get(i);
2216
+ if (s = s.nodeType === 11 ? s : H, r)
2151
2217
  if (typeof r == "string") {
2152
2218
  s = s.head || s;
2153
- let o = Nn.get(s), a;
2154
- o || Nn.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));
2219
+ let o = Fn.get(s), a;
2220
+ o || Fn.set(s, o = /* @__PURE__ */ new Set()), o.has(i) || (a = H.createElement("style"), a.innerHTML = r, s.insertBefore(a, s.querySelector("link")), o && o.add(i));
2155
2221
  } else
2156
2222
  s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
2157
2223
  return i;
2158
- }, ro = (s) => {
2159
- const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = ie("attachStyles", e.$tagName$), r = io(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
2224
+ }, co = (s) => {
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$);
2160
2226
  n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), i();
2161
- }, Zs = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), oo = (s) => Mo.map((e) => e(s)).find((e) => !!e), Fn = {}, ao = "http://www.w3.org/2000/svg", lo = "http://www.w3.org/1999/xhtml", co = (s) => s != null, tn = (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) => {
2162
2228
  let n = null, i = null, r = null, o = !1, a = !1, l = [];
2163
2229
  const c = (u) => {
2164
2230
  for (let p = 0; p < u.length; p++)
2165
- n = u[p], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof s != "function" && !tn(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? Je(null, n) : n), a = o);
2231
+ n = u[p], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof s != "function" && !nn(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? Je(null, n) : n), a = o);
2166
2232
  };
2167
2233
  if (c(t), e) {
2168
2234
  e.key && (i = e.key), e.name && (r = e.name);
@@ -2172,7 +2238,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2172
2238
  }
2173
2239
  }
2174
2240
  if (typeof s == "function")
2175
- return s(e === null ? {} : e, l, uo);
2241
+ return s(e === null ? {} : e, l, mo);
2176
2242
  const h = Je(s, null);
2177
2243
  return h.$attrs$ = e, l.length > 0 && (h.$children$ = l), h.$key$ = i, h.$name$ = r, h;
2178
2244
  }, Je = (s, e) => {
@@ -2184,28 +2250,28 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2184
2250
  $children$: null
2185
2251
  };
2186
2252
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2187
- }, nn = {}, ho = (s) => s && s.$tag$ === nn, uo = {
2188
- forEach: (s, e) => s.map(qn).forEach(e),
2189
- map: (s, e) => s.map(qn).map(e).map(po)
2190
- }, qn = (s) => ({
2253
+ }, sn = {}, go = (s) => s && s.$tag$ === sn, mo = {
2254
+ forEach: (s, e) => s.map(Zn).forEach(e),
2255
+ map: (s, e) => s.map(Zn).map(e).map(vo)
2256
+ }, Zn = (s) => ({
2191
2257
  vattrs: s.$attrs$,
2192
2258
  vchildren: s.$children$,
2193
2259
  vkey: s.$key$,
2194
2260
  vname: s.$name$,
2195
2261
  vtag: s.$tag$,
2196
2262
  vtext: s.$text$
2197
- }), po = (s) => {
2263
+ }), vo = (s) => {
2198
2264
  if (typeof s.vtag == "function") {
2199
2265
  const t = Object.assign({}, s.vattrs);
2200
- 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 || []);
2201
2267
  }
2202
2268
  const e = Je(s.vtag, s.vtext);
2203
2269
  return e.$attrs$ = s.vattrs, e.$children$ = s.vchildren, e.$key$ = s.vkey, e.$name$ = s.vname, e;
2204
- }, Zn = (s, e, t, n, i, r) => {
2270
+ }, Wn = (s, e, t, n, i, r) => {
2205
2271
  if (t !== n) {
2206
2272
  let o = Kn(s, e), a = e.toLowerCase();
2207
2273
  if (e === "class") {
2208
- const l = s.classList, c = Wn(t), h = Wn(n);
2274
+ const l = s.classList, c = Yn(t), h = Yn(n);
2209
2275
  l.remove(...c.filter((u) => u && !h.includes(u))), l.add(...h.filter((u) => u && !c.includes(u)));
2210
2276
  } else if (e === "style") {
2211
2277
  for (const l in t)
@@ -2218,7 +2284,7 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2218
2284
  else if (!s.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
2219
2285
  e[2] === "-" ? e = e.slice(3) : Kn(pt, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && S.rel(s, e, t, !1), n && S.ael(s, e, n, !1);
2220
2286
  else {
2221
- const l = tn(n);
2287
+ const l = nn(n);
2222
2288
  if ((o || l && n !== null) && !i)
2223
2289
  try {
2224
2290
  if (s.tagName.includes("-"))
@@ -2230,50 +2296,50 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2230
2296
  } catch {
2231
2297
  }
2232
2298
  let c = !1;
2233
- a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(Bn, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(Bn, e, n) : s.setAttribute(e, n));
2299
+ a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(Nn, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(Nn, e, n) : s.setAttribute(e, n));
2234
2300
  }
2235
2301
  }
2236
- }, fo = /\s/, Wn = (s) => s ? s.split(fo) : [], Ws = (s, e, t, n) => {
2237
- const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || Fn, o = e.$attrs$ || Fn;
2302
+ }, bo = /\s/, Yn = (s) => s ? s.split(bo) : [], Qs = (s, e, t, n) => {
2303
+ const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || qn, o = e.$attrs$ || qn;
2238
2304
  for (n in r)
2239
- n in o || Zn(i, n, r[n], void 0, t, e.$flags$);
2305
+ n in o || Wn(i, n, r[n], void 0, t, e.$flags$);
2240
2306
  for (n in o)
2241
- Zn(i, n, r[n], o[n], t, e.$flags$);
2307
+ Wn(i, n, r[n], o[n], t, e.$flags$);
2242
2308
  }, et = (s, e, t, n) => {
2243
2309
  let i = e.$children$[t], r = 0, o, a, l;
2244
- if (Ns || (en = !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$ ? (
2245
2311
  // slot element has fallback content
2246
2312
  2
2247
2313
  ) : (
2248
2314
  // slot element does not have fallback content
2249
2315
  1
2250
2316
  ))), i.$text$ !== null)
2251
- o = i.$elm$ = D.createTextNode(i.$text$);
2317
+ o = i.$elm$ = H.createTextNode(i.$text$);
2252
2318
  else if (i.$flags$ & 1)
2253
- o = i.$elm$ = D.createTextNode("");
2319
+ o = i.$elm$ = H.createTextNode("");
2254
2320
  else {
2255
- if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = D.createElementNS(T ? ao : lo, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), Ws(null, i, T), co(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$)
2256
2322
  for (r = 0; r < i.$children$.length; ++r)
2257
2323
  a = et(s, i, r, o), a && o.appendChild(a);
2258
2324
  i.$tag$ === "svg" ? T = !1 : o.tagName === "foreignObject" && (T = !0);
2259
2325
  }
2260
- return o["s-hn"] = ut, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Bs, o["s-sn"] = i.$name$ || "", l = s && s.$children$ && s.$children$[t], l && l.$tag$ === i.$tag$ && s.$elm$ && Te(s.$elm$, !1)), o;
2261
- }, 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) => {
2262
2328
  S.$flags$ |= 1;
2263
2329
  const t = s.childNodes;
2264
2330
  for (let n = t.length - 1; n >= 0; n--) {
2265
2331
  const i = t[n];
2266
- i["s-hn"] !== ut && i["s-ol"] && (Ks(i).insertBefore(i, sn(i)), i["s-ol"].remove(), i["s-ol"] = void 0, en = !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);
2267
2333
  }
2268
2334
  S.$flags$ &= -2;
2269
- }, Ys = (s, e, t, n, i, r) => {
2335
+ }, Gs = (s, e, t, n, i, r) => {
2270
2336
  let o = s["s-cr"] && s["s-cr"].parentNode || s, a;
2271
2337
  for (o.shadowRoot && o.tagName === ut && (o = o.shadowRoot); i <= r; ++i)
2272
- n[i] && (a = et(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, sn(e))));
2273
- }, Qs = (s, e, t, n, i) => {
2338
+ n[i] && (a = et(null, t, i, s), a && (n[i].$elm$ = a, o.insertBefore(a, rn(e))));
2339
+ }, Ks = (s, e, t, n, i) => {
2274
2340
  for (; e <= t; ++e)
2275
- (n = s[e]) && (i = n.$elm$, Vs(n), Ve = !0, i["s-ol"] ? i["s-ol"].remove() : Te(i, !0), i.remove());
2276
- }, go = (s, e, t, n) => {
2341
+ (n = s[e]) && (i = n.$elm$, ei(n), Ve = !0, i["s-ol"] ? i["s-ol"].remove() : Le(i, !0), i.remove());
2342
+ }, yo = (s, e, t, n) => {
2277
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;
2278
2344
  for (; i <= l && r <= u; )
2279
2345
  if (c == null)
@@ -2284,28 +2350,28 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2284
2350
  p = n[++r];
2285
2351
  else if (d == null)
2286
2352
  d = n[--u];
2287
- else if (Be(c, p))
2288
- he(c, p), c = e[++i], p = n[++r];
2289
- else if (Be(h, d))
2290
- he(h, d), h = e[--l], d = n[--u];
2291
- else if (Be(c, d))
2292
- (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];
2293
- else if (Be(h, p))
2294
- (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];
2295
2361
  else {
2296
2362
  for (o = -1, a = i; a <= l; ++a)
2297
2363
  if (e[a] && e[a].$key$ !== null && e[a].$key$ === p.$key$) {
2298
2364
  o = a;
2299
2365
  break;
2300
2366
  }
2301
- 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 && Ks(c.$elm$).insertBefore(b, sn(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$));
2302
2368
  }
2303
- i > l ? Ys(s, n[u + 1] == null ? null : n[u + 1].$elm$, t, n, r, u) : r > u && Qs(e, i, l);
2304
- }, Be = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, sn = (s) => s && s["s-ol"] || s, Ks = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, he = (s, e) => {
2369
+ i > l ? Gs(s, n[u + 1] == null ? null : n[u + 1].$elm$, t, n, r, u) : r > u && Ks(e, i, l);
2370
+ }, Ne = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, rn = (s) => s && s["s-ol"] || s, Xs = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, ue = (s, e) => {
2305
2371
  const t = e.$elm$ = s.$elm$, n = s.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
2306
2372
  let a;
2307
- o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Ws(s, e, T), n !== null && i !== null ? go(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Ys(t, null, e, i, 0, i.length - 1)) : n !== null && Qs(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
2308
- }, Gs = (s) => {
2373
+ o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Qs(s, e, T), n !== null && i !== null ? yo(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Gs(t, null, e, i, 0, i.length - 1)) : n !== null && Ks(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
2374
+ }, Vs = (s) => {
2309
2375
  let e = s.childNodes, t, n, i, r, o, a;
2310
2376
  for (n = 0, i = e.length; n < i; n++)
2311
2377
  if (t = e[n], t.nodeType === 1) {
@@ -2321,34 +2387,34 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2321
2387
  break;
2322
2388
  }
2323
2389
  }
2324
- Gs(t);
2390
+ Vs(t);
2325
2391
  }
2326
- }, O = [], Xs = (s) => {
2392
+ }, O = [], Js = (s) => {
2327
2393
  let e, t, n, i, r, o, a = 0, l = s.childNodes, c = l.length;
2328
2394
  for (; a < c; a++) {
2329
2395
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2330
2396
  for (n = t.parentNode.childNodes, i = e["s-sn"], o = n.length - 1; o >= 0; o--)
2331
- t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Yn(t, i) ? (r = O.find((h) => h.$nodeToRelocate$ === t), Ve = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : O.push({
2397
+ t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (Qn(t, i) ? (r = O.find((h) => h.$nodeToRelocate$ === t), Ve = !0, t["s-sn"] = t["s-sn"] || i, r ? r.$slotRefNode$ = e : O.push({
2332
2398
  $slotRefNode$: e,
2333
2399
  $nodeToRelocate$: t
2334
2400
  }), t["s-sr"] && O.map((h) => {
2335
- Yn(h.$nodeToRelocate$, t["s-sn"]) && (r = O.find((u) => u.$nodeToRelocate$ === t), r && !h.$slotRefNode$ && (h.$slotRefNode$ = r.$slotRefNode$));
2401
+ Qn(h.$nodeToRelocate$, t["s-sn"]) && (r = O.find((u) => u.$nodeToRelocate$ === t), r && !h.$slotRefNode$ && (h.$slotRefNode$ = r.$slotRefNode$));
2336
2402
  })) : O.some((h) => h.$nodeToRelocate$ === t) || O.push({
2337
2403
  $nodeToRelocate$: t
2338
2404
  }));
2339
- e.nodeType === 1 && Xs(e);
2405
+ e.nodeType === 1 && Js(e);
2340
2406
  }
2341
- }, Yn = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", Vs = (s) => {
2342
- s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Vs);
2343
- }, mo = (s, e) => {
2344
- const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r = ho(e) ? e : de(null, null, e);
2345
- 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"], Bs = t["s-cr"], Ns = (n.$flags$ & 1) !== 0, Ve = !1, he(i, r);
2407
+ }, Qn = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", ei = (s) => {
2408
+ s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(ei);
2409
+ }, $o = (s, e) => {
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);
2346
2412
  {
2347
- if (S.$flags$ |= 1, en) {
2348
- Xs(r.$elm$);
2413
+ if (S.$flags$ |= 1, tn) {
2414
+ Js(r.$elm$);
2349
2415
  let o, a, l, c, h, u, p = 0;
2350
2416
  for (; p < O.length; p++)
2351
- 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));
2352
2418
  for (p = 0; p < O.length; p++)
2353
2419
  if (o = O[p], a = o.$nodeToRelocate$, o.$slotRefNode$) {
2354
2420
  for (c = o.$slotRefNode$.parentNode, h = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
@@ -2360,51 +2426,51 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2360
2426
  } else
2361
2427
  a.nodeType === 1 && (a.hidden = !0);
2362
2428
  }
2363
- Ve && Gs(r.$elm$), S.$flags$ &= -2, O.length = 0;
2429
+ Ve && Vs(r.$elm$), S.$flags$ &= -2, O.length = 0;
2364
2430
  }
2365
- }, vo = (s) => s, bo = (s, e, t) => {
2366
- const n = vo(s);
2431
+ }, xo = (s) => s, wo = (s, e, t) => {
2432
+ const n = xo(s);
2367
2433
  return {
2368
- emit: (i) => yo(n, e, {
2434
+ emit: (i) => ko(n, e, {
2369
2435
  bubbles: !!(t & 4),
2370
2436
  composed: !!(t & 2),
2371
2437
  cancelable: !!(t & 1),
2372
2438
  detail: i
2373
2439
  })
2374
2440
  };
2375
- }, yo = (s, e, t) => {
2441
+ }, ko = (s, e, t) => {
2376
2442
  const n = S.ce(e, t);
2377
2443
  return s.dispatchEvent(n), n;
2378
- }, $o = (s, e) => {
2379
- }, Js = (s, e) => (s.$flags$ |= 16, $o(s, s.$ancestorComponent$), jo(() => xo(s, e))), xo = (s, e) => {
2380
- const t = s.$hostElement$, n = ie("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
2444
+ }, _o = (s, e) => {
2445
+ }, ti = (s, e) => (s.$flags$ |= 16, _o(s, s.$ancestorComponent$), No(() => So(s, e))), So = (s, e) => {
2446
+ const t = s.$hostElement$, n = re("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
2381
2447
  let r;
2382
- return e ? r = fe(i, "componentWillLoad") : r = fe(i, "componentWillUpdate"), r = Qn(r, () => fe(i, "componentWillRender")), n(), Qn(r, () => wo(s, i, e));
2383
- }, wo = async (s, e, t) => {
2384
- const n = s.$hostElement$, i = ie("update", s.$cmpMeta$.$tagName$);
2385
- n["s-rc"], t && ro(s);
2386
- const r = ie("render", s.$cmpMeta$.$tagName$);
2387
- ko(s, e, n), r(), i(), _o(s);
2388
- }, ko = (s, e, t) => {
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
+ }, Co = async (s, e, t) => {
2450
+ const n = s.$hostElement$, i = re("update", s.$cmpMeta$.$tagName$);
2451
+ n["s-rc"], t && co(s);
2452
+ const r = re("render", s.$cmpMeta$.$tagName$);
2453
+ Ao(s, e, n), r(), i(), Eo(s);
2454
+ }, Ao = (s, e, t) => {
2389
2455
  try {
2390
- Dn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (le.hasRenderFn || le.reflect) && (le.vdomRender || le.reflect) && (le.hydrateServerSide || mo(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));
2391
2457
  } catch (a) {
2392
- Ie(a, s.$hostElement$);
2458
+ Me(a, s.$hostElement$);
2393
2459
  }
2394
- return Dn = null, null;
2395
- }, _o = (s) => {
2396
- const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = ie("postUpdate", e), i = t;
2397
- s.$ancestorComponent$, fe(i, "componentDidRender"), s.$flags$ & 64 ? (fe(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, fe(i, "componentDidLoad"), n());
2398
- }, fe = (s, e, t) => {
2460
+ return Bn = null, null;
2461
+ }, Eo = (s) => {
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) => {
2399
2465
  if (s && s[e])
2400
2466
  try {
2401
2467
  return s[e](t);
2402
2468
  } catch (n) {
2403
- Ie(n);
2469
+ Me(n);
2404
2470
  }
2405
- }, Qn = (s, e) => s && s.then ? s.then(e) : e(), So = (s, e) => s != null && !tn(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, Co = (s, e) => dt(s).$instanceValues$.get(e), Ao = (s, e, t, n) => {
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) => {
2406
2472
  const i = dt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
2407
- t = So(t, n.$members$[e][0]);
2473
+ t = To(t, n.$members$[e][0]);
2408
2474
  const c = Number.isNaN(o) && Number.isNaN(t);
2409
2475
  if (t !== o && !c) {
2410
2476
  i.$instanceValues$.set(e, t);
@@ -2415,28 +2481,28 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2415
2481
  try {
2416
2482
  l[p](t, o, e);
2417
2483
  } catch (d) {
2418
- Ie(d, r);
2484
+ Me(d, r);
2419
2485
  }
2420
2486
  });
2421
2487
  }
2422
2488
  if ((a & 18) === 2) {
2423
2489
  if (l.componentShouldUpdate && l.componentShouldUpdate(t, o, e) === !1)
2424
2490
  return;
2425
- Js(i, !1);
2491
+ ti(i, !1);
2426
2492
  }
2427
2493
  }
2428
2494
  }
2429
- }, Eo = (s, e, t) => {
2495
+ }, Po = (s, e, t) => {
2430
2496
  if (e.$members$) {
2431
2497
  s.watchers && (e.$watchers$ = s.watchers);
2432
2498
  const n = Object.entries(e.$members$), i = s.prototype;
2433
2499
  n.map(([r, [o]]) => {
2434
2500
  (o & 31 || o & 32) && Object.defineProperty(i, r, {
2435
2501
  get() {
2436
- return Co(this, r);
2502
+ return Lo(this, r);
2437
2503
  },
2438
2504
  set(a) {
2439
- Ao(this, r, a, e);
2505
+ Oo(this, r, a, e);
2440
2506
  },
2441
2507
  configurable: !0,
2442
2508
  enumerable: !0
@@ -2463,37 +2529,37 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2463
2529
  }
2464
2530
  }
2465
2531
  return s;
2466
- }, To = async (s, e, t, n, i) => {
2532
+ }, Ro = async (s, e, t, n, i) => {
2467
2533
  if (!(e.$flags$ & 32) && (i = s.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
2468
2534
  let o = i.style;
2469
- typeof o != "string" && (o = o[e.$modeName$ = oo(s)]);
2470
- const a = Zs(t, e.$modeName$);
2535
+ typeof o != "string" && (o = o[e.$modeName$ = ho(s)]);
2536
+ const a = Ys(t, e.$modeName$);
2471
2537
  if (!tt.has(a)) {
2472
- const l = ie("registerStyles", t.$tagName$);
2473
- so(a, o, !!(t.$flags$ & 1)), l();
2538
+ const l = re("registerStyles", t.$tagName$);
2539
+ ao(a, o, !!(t.$flags$ & 1)), l();
2474
2540
  }
2475
2541
  }
2476
- e.$ancestorComponent$, (() => Js(e, !0))();
2477
- }, Lo = (s) => {
2478
- }, Oo = (s) => {
2542
+ e.$ancestorComponent$, (() => ti(e, !0))();
2543
+ }, Io = (s) => {
2544
+ }, Mo = (s) => {
2479
2545
  if (!(S.$flags$ & 1)) {
2480
- const e = dt(s), t = e.$cmpMeta$, n = ie("connectedCallback", t.$tagName$);
2481
- e.$flags$ & 1 ? (qs(s, e, t.$listeners$), Lo(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Po(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2546
+ const e = dt(s), t = e.$cmpMeta$, n = re("connectedCallback", t.$tagName$);
2547
+ e.$flags$ & 1 ? (Ws(s, e, t.$listeners$), Io(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && zo(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
2482
2548
  if (r & 31 && s.hasOwnProperty(i)) {
2483
2549
  const o = s[i];
2484
2550
  delete s[i], s[i] = o;
2485
2551
  }
2486
- }), To(s, e, t)), n();
2552
+ }), Ro(s, e, t)), n();
2487
2553
  }
2488
- }, Po = (s) => {
2489
- const e = s["s-cr"] = D.createComment("");
2554
+ }, zo = (s) => {
2555
+ const e = s["s-cr"] = H.createComment("");
2490
2556
  e["s-cn"] = !0, s.insertBefore(e, s.firstChild);
2491
- }, Ro = (s) => {
2557
+ }, Uo = (s) => {
2492
2558
  if (!(S.$flags$ & 1)) {
2493
2559
  const e = dt(s);
2494
2560
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2495
2561
  }
2496
- }, ei = (s, e) => {
2562
+ }, ni = (s, e) => {
2497
2563
  const t = {
2498
2564
  $flags$: e[0],
2499
2565
  $tagName$: e[1]
@@ -2502,13 +2568,13 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2502
2568
  const n = s.prototype.connectedCallback, i = s.prototype.disconnectedCallback;
2503
2569
  return Object.assign(s.prototype, {
2504
2570
  __registerHost() {
2505
- Io(this, t);
2571
+ jo(this, t);
2506
2572
  },
2507
2573
  connectedCallback() {
2508
- Oo(this), n && n.call(this);
2574
+ Mo(this), n && n.call(this);
2509
2575
  },
2510
2576
  disconnectedCallback() {
2511
- Ro(this), i && i.call(this);
2577
+ Uo(this), i && i.call(this);
2512
2578
  },
2513
2579
  __attachShadow() {
2514
2580
  this.attachShadow({
@@ -2516,28 +2582,28 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2516
2582
  delegatesFocus: !!(t.$flags$ & 16)
2517
2583
  });
2518
2584
  }
2519
- }), s.is = t.$tagName$, Eo(s, t);
2520
- }, ti = /* @__PURE__ */ new WeakMap(), dt = (s) => ti.get(s), Io = (s, e) => {
2585
+ }), s.is = t.$tagName$, Po(s, t);
2586
+ }, si = /* @__PURE__ */ new WeakMap(), dt = (s) => si.get(s), jo = (s, e) => {
2521
2587
  const t = {
2522
2588
  $flags$: 0,
2523
2589
  $hostElement$: s,
2524
2590
  $cmpMeta$: e,
2525
2591
  $instanceValues$: /* @__PURE__ */ new Map()
2526
2592
  };
2527
- return qs(s, t, e.$listeners$), ti.set(s, t);
2528
- }, Kn = (s, e) => e in s, Ie = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(), Mo = [], Gn = [], ni = [], zo = (s, e) => (t) => {
2529
- s.push(t), jt || (jt = !0, e && S.$flags$ & 4 ? Uo(Ht) : S.raf(Ht));
2530
- }, Xn = (s) => {
2593
+ return Ws(s, t, e.$listeners$), si.set(s, t);
2594
+ }, Kn = (s, e) => e in s, Me = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(), Do = [], Xn = [], ii = [], Ho = (s, e) => (t) => {
2595
+ s.push(t), Dt || (Dt = !0, e && S.$flags$ & 4 ? Bo(Ht) : S.raf(Ht));
2596
+ }, Vn = (s) => {
2531
2597
  for (let e = 0; e < s.length; e++)
2532
2598
  try {
2533
2599
  s[e](performance.now());
2534
2600
  } catch (t) {
2535
- Ie(t);
2601
+ Me(t);
2536
2602
  }
2537
2603
  s.length = 0;
2538
2604
  }, Ht = () => {
2539
- Xn(Gn), Xn(ni), (jt = Gn.length > 0) && S.raf(Ht);
2540
- }, Uo = (s) => Vr().then(s), jo = /* @__PURE__ */ zo(ni, !0), Ho = (s = {}) => {
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 = {}) => {
2541
2607
  const { content: e = "", title: t, attributes: n = [] } = s;
2542
2608
  let i = "", r = [
2543
2609
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2545,54 +2611,54 @@ const pt = typeof window < "u" ? window : {}, D = pt.document || { head: {} }, F
2545
2611
  ...n
2546
2612
  ];
2547
2613
  return t && (i = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${i}${e}</svg>`;
2548
- }, Do = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2549
- function Bo(s) {
2614
+ }, qo = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2615
+ function Zo(s) {
2550
2616
  return `${s.getFullYear()}.${s.getMonth() + 1}`;
2551
2617
  }
2552
- class No {
2618
+ class Wo {
2553
2619
  constructor(e) {
2554
- this.voca_component = e, this.voca_added = Bo(/* @__PURE__ */ new Date());
2620
+ this.voca_component = e, this.voca_added = Zo(/* @__PURE__ */ new Date());
2555
2621
  }
2556
2622
  }
2557
- const Fo = "telia-vst{display:none}", qo = /* @__PURE__ */ ei(class extends Fs {
2623
+ const Yo = "telia-vst{display:none}", Qo = /* @__PURE__ */ ni(class extends Zs {
2558
2624
  constructor() {
2559
- super(), this.__registerHost(), this.vocaInternalUStats = bo(this, "vocaInternalUStats", 7);
2625
+ super(), this.__registerHost(), this.vocaInternalUStats = wo(this, "vocaInternalUStats", 7);
2560
2626
  }
2561
2627
  connectedCallback() {
2562
- this.vocaInternalUStats.emit(new No(this.dataTrackingId));
2628
+ this.vocaInternalUStats.emit(new Wo(this.dataTrackingId));
2563
2629
  }
2564
2630
  render() {
2565
- return de(nn, null);
2631
+ return fe(sn, null);
2566
2632
  }
2567
2633
  static get style() {
2568
- return Fo;
2634
+ return Yo;
2569
2635
  }
2570
2636
  }, [0, "telia-vst", {
2571
2637
  dataTrackingId: [1, "data-tracking-id"]
2572
2638
  }]);
2573
- function si() {
2639
+ function ri() {
2574
2640
  if (typeof customElements > "u")
2575
2641
  return;
2576
2642
  ["telia-vst"].forEach((e) => {
2577
2643
  switch (e) {
2578
2644
  case "telia-vst":
2579
- customElements.get(e) || customElements.define(e, qo);
2645
+ customElements.get(e) || customElements.define(e, Qo);
2580
2646
  break;
2581
2647
  }
2582
2648
  });
2583
2649
  }
2584
- si();
2585
- function Dt() {
2650
+ ri();
2651
+ function Bt() {
2586
2652
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2587
2653
  }
2588
- function Zo() {
2589
- if (typeof Dt().vocadsIcons !== void 0)
2590
- return Dt().vocadsIcons;
2654
+ function Go() {
2655
+ if (typeof Bt().vocadsIcons !== void 0)
2656
+ return Bt().vocadsIcons;
2591
2657
  }
2592
- function Wo() {
2593
- return Dt().vocadsIconsRegistered;
2658
+ function Ko() {
2659
+ return Bt().vocadsIconsRegistered;
2594
2660
  }
2595
- const Yo = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Qo = /* @__PURE__ */ ei(class extends Fs {
2661
+ const Xo = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Vo = /* @__PURE__ */ ni(class extends Zs {
2596
2662
  constructor() {
2597
2663
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2598
2664
  }
@@ -2604,8 +2670,8 @@ const Yo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2604
2670
  getSvgString() {
2605
2671
  if (this.svg)
2606
2672
  return this.svg;
2607
- if (Wo() && this.name) {
2608
- const s = Zo();
2673
+ if (Ko() && this.name) {
2674
+ const s = Go();
2609
2675
  return s[this.name] ? s[this.name].svg : "";
2610
2676
  }
2611
2677
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
@@ -2616,15 +2682,15 @@ const Yo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2616
2682
  ...e,
2617
2683
  { name: "aria-hidden", value: "true" }
2618
2684
  ];
2619
- const t = Ho({
2620
- content: Do(s),
2685
+ const t = Fo({
2686
+ content: qo(s),
2621
2687
  attributes: e,
2622
2688
  title: this.allyTitle
2623
2689
  });
2624
- return de(nn, { 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 }));
2625
2691
  }
2626
2692
  static get style() {
2627
- return Yo;
2693
+ return Xo;
2628
2694
  }
2629
2695
  }, [0, "telia-icon", {
2630
2696
  name: [1],
@@ -2633,27 +2699,27 @@ const Yo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2633
2699
  allyTitle: [1, "ally-title"],
2634
2700
  dataTestid: [1, "data-testid"]
2635
2701
  }]);
2636
- function Ko() {
2702
+ function Jo() {
2637
2703
  if (typeof customElements > "u")
2638
2704
  return;
2639
2705
  ["telia-icon", "telia-vst"].forEach((e) => {
2640
2706
  switch (e) {
2641
2707
  case "telia-icon":
2642
- customElements.get(e) || customElements.define(e, Qo);
2708
+ customElements.get(e) || customElements.define(e, Vo);
2643
2709
  break;
2644
2710
  case "telia-vst":
2645
- customElements.get(e) || si();
2711
+ customElements.get(e) || ri();
2646
2712
  break;
2647
2713
  }
2648
2714
  });
2649
2715
  }
2650
- Ko();
2716
+ Jo();
2651
2717
  /**
2652
2718
  * @license
2653
2719
  * Copyright 2017 Google LLC
2654
2720
  * SPDX-License-Identifier: BSD-3-Clause
2655
2721
  */
2656
- const Go = { attribute: !0, type: String, converter: Ge, reflect: !1, hasChanged: Jt }, Xo = (s = Go, e, t) => {
2722
+ const ea = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: en }, ta = (s = ea, e, t) => {
2657
2723
  const { kind: n, metadata: i } = t;
2658
2724
  let r = globalThis.litPropertyMetadata.get(i);
2659
2725
  if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(t.name, s), n === "accessor") {
@@ -2675,7 +2741,7 @@ const Go = { attribute: !0, type: String, converter: Ge, reflect: !1, hasChanged
2675
2741
  throw Error("Unsupported decorator location: " + n);
2676
2742
  };
2677
2743
  function w(s) {
2678
- return (e, t) => typeof t == "object" ? Xo(s, e, t) : ((n, i, r) => {
2744
+ return (e, t) => typeof t == "object" ? ta(s, e, t) : ((n, i, r) => {
2679
2745
  const o = i.hasOwnProperty(r);
2680
2746
  return i.constructor.createProperty(r, o ? { ...n, wrapped: !0 } : n), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
2681
2747
  })(s, e, t);
@@ -2693,14 +2759,14 @@ function C(s) {
2693
2759
  * Copyright 2020 Google LLC
2694
2760
  * SPDX-License-Identifier: BSD-3-Clause
2695
2761
  */
2696
- const Vo = (s) => s.strings === void 0;
2762
+ const na = (s) => s.strings === void 0;
2697
2763
  /**
2698
2764
  * @license
2699
2765
  * Copyright 2017 Google LLC
2700
2766
  * SPDX-License-Identifier: BSD-3-Clause
2701
2767
  */
2702
2768
  const ft = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, gt = (s) => (...e) => ({ _$litDirective$: s, values: e });
2703
- let rn = class {
2769
+ let on = class {
2704
2770
  constructor(e) {
2705
2771
  }
2706
2772
  get _$AU() {
@@ -2721,13 +2787,13 @@ let rn = class {
2721
2787
  * Copyright 2017 Google LLC
2722
2788
  * SPDX-License-Identifier: BSD-3-Clause
2723
2789
  */
2724
- const ke = (s, e) => {
2790
+ const _e = (s, e) => {
2725
2791
  var n;
2726
2792
  const t = s._$AN;
2727
2793
  if (t === void 0)
2728
2794
  return !1;
2729
2795
  for (const i of t)
2730
- (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);
2731
2797
  return !0;
2732
2798
  }, nt = (s) => {
2733
2799
  let e, t;
@@ -2736,47 +2802,47 @@ const ke = (s, e) => {
2736
2802
  break;
2737
2803
  t = e._$AN, t.delete(s), s = e;
2738
2804
  } while ((t == null ? void 0 : t.size) === 0);
2739
- }, ii = (s) => {
2805
+ }, oi = (s) => {
2740
2806
  for (let e; e = s._$AM; s = e) {
2741
2807
  let t = e._$AN;
2742
2808
  if (t === void 0)
2743
2809
  e._$AN = t = /* @__PURE__ */ new Set();
2744
2810
  else if (t.has(s))
2745
2811
  break;
2746
- t.add(s), ta(e);
2812
+ t.add(s), ra(e);
2747
2813
  }
2748
2814
  };
2749
- function Jo(s) {
2750
- this._$AN !== void 0 ? (nt(this), this._$AM = s, ii(this)) : this._$AM = s;
2815
+ function sa(s) {
2816
+ this._$AN !== void 0 ? (nt(this), this._$AM = s, oi(this)) : this._$AM = s;
2751
2817
  }
2752
- function ea(s, e = !1, t = 0) {
2818
+ function ia(s, e = !1, t = 0) {
2753
2819
  const n = this._$AH, i = this._$AN;
2754
2820
  if (i !== void 0 && i.size !== 0)
2755
2821
  if (e)
2756
2822
  if (Array.isArray(n))
2757
2823
  for (let r = t; r < n.length; r++)
2758
- ke(n[r], !1), nt(n[r]);
2824
+ _e(n[r], !1), nt(n[r]);
2759
2825
  else
2760
- n != null && (ke(n, !1), nt(n));
2826
+ n != null && (_e(n, !1), nt(n));
2761
2827
  else
2762
- ke(this, s);
2828
+ _e(this, s);
2763
2829
  }
2764
- const ta = (s) => {
2765
- s.type == ft.CHILD && (s._$AP ?? (s._$AP = ea), s._$AQ ?? (s._$AQ = Jo));
2830
+ const ra = (s) => {
2831
+ s.type == ft.CHILD && (s._$AP ?? (s._$AP = ia), s._$AQ ?? (s._$AQ = sa));
2766
2832
  };
2767
- let ri = class extends rn {
2833
+ let ai = class extends on {
2768
2834
  constructor() {
2769
2835
  super(...arguments), this._$AN = void 0;
2770
2836
  }
2771
2837
  _$AT(e, t, n) {
2772
- super._$AT(e, t, n), ii(this), this.isConnected = e._$AU;
2838
+ super._$AT(e, t, n), oi(this), this.isConnected = e._$AU;
2773
2839
  }
2774
2840
  _$AO(e, t = !0) {
2775
2841
  var n, i;
2776
- 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));
2777
2843
  }
2778
2844
  setValue(e) {
2779
- if (Vo(this._$Ct))
2845
+ if (na(this._$Ct))
2780
2846
  this._$Ct._$AI(e, this);
2781
2847
  else {
2782
2848
  const t = [...this._$Ct._$AH];
@@ -2793,10 +2859,10 @@ let ri = class extends rn {
2793
2859
  * Copyright 2020 Google LLC
2794
2860
  * SPDX-License-Identifier: BSD-3-Clause
2795
2861
  */
2796
- const M = () => new na();
2797
- class na {
2862
+ const M = () => new oa();
2863
+ class oa {
2798
2864
  }
2799
- const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends ri {
2865
+ const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends ai {
2800
2866
  render(s) {
2801
2867
  return g;
2802
2868
  }
@@ -2829,7 +2895,7 @@ const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends ri {
2829
2895
  * Copyright 2018 Google LLC
2830
2896
  * SPDX-License-Identifier: BSD-3-Clause
2831
2897
  */
2832
- const ve = gt(class extends rn {
2898
+ const be = gt(class extends on {
2833
2899
  constructor(s) {
2834
2900
  var e;
2835
2901
  if (super(s), s.type !== ft.ATTRIBUTE || s.name !== "class" || ((e = s.strings) == null ? void 0 : e.length) > 2)
@@ -2853,15 +2919,15 @@ const ve = gt(class extends rn {
2853
2919
  const o = !!e[r];
2854
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)));
2855
2921
  }
2856
- return Q;
2922
+ return G;
2857
2923
  }
2858
2924
  });
2859
- var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, ra = (s, e, t, n) => {
2860
- for (var i = n > 1 ? void 0 : n ? ia(e, t) : e, r = s.length - 1, o; r >= 0; r--)
2925
+ var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, ca = (s, e, t, n) => {
2926
+ for (var i = n > 1 ? void 0 : n ? la(e, t) : e, r = s.length - 1, o; r >= 0; r--)
2861
2927
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
2862
- return n && i && sa(e, t, i), i;
2928
+ return n && i && aa(e, t, i), i;
2863
2929
  };
2864
- class on extends k {
2930
+ class an extends k {
2865
2931
  constructor() {
2866
2932
  super(...arguments), this.anchor = "BottomRight";
2867
2933
  }
@@ -2873,7 +2939,7 @@ class on extends k {
2873
2939
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), g;
2874
2940
  }
2875
2941
  }
2876
- on.styles = [
2942
+ an.styles = [
2877
2943
  E`
2878
2944
  :host {
2879
2945
  position: fixed;
@@ -2892,35 +2958,35 @@ on.styles = [
2892
2958
  }
2893
2959
  `
2894
2960
  ];
2895
- ra([
2961
+ ca([
2896
2962
  w({ attribute: !0 })
2897
- ], on.prototype, "anchor", 2);
2898
- const oa = /* @__PURE__ */ new WeakMap();
2899
- let Vn = 0;
2900
- const Et = /* @__PURE__ */ new Map(), Jn = /* @__PURE__ */ new WeakSet(), es = () => new Promise((s) => requestAnimationFrame(s)), aa = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], la = [{ opacity: 0 }], ts = [{ opacity: 0 }, { opacity: 1 }], ns = (s, e) => {
2963
+ ], an.prototype, "anchor", 2);
2964
+ const ha = /* @__PURE__ */ new WeakMap();
2965
+ let Jn = 0;
2966
+ const Et = /* @__PURE__ */ new Map(), es = /* @__PURE__ */ new WeakSet(), ts = () => new Promise((s) => requestAnimationFrame(s)), ua = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], pa = [{ opacity: 0 }], ns = [{ opacity: 0 }, { opacity: 1 }], ss = (s, e) => {
2901
2967
  const t = s - e;
2902
2968
  return t === 0 ? void 0 : t;
2903
- }, ss = (s, e) => {
2969
+ }, is = (s, e) => {
2904
2970
  const t = s / e;
2905
2971
  return t === 1 ? void 0 : t;
2906
2972
  }, Tt = { left: (s, e) => {
2907
- const t = ns(s, e);
2973
+ const t = ss(s, e);
2908
2974
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
2909
2975
  }, top: (s, e) => {
2910
- const t = ns(s, e);
2976
+ const t = ss(s, e);
2911
2977
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateY(${t}px)` };
2912
2978
  }, width: (s, e) => {
2913
2979
  let t;
2914
2980
  e === 0 && (e = 1, t = { width: "1px" });
2915
- const n = ss(s, e);
2981
+ const n = is(s, e);
2916
2982
  return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleX(${n})` };
2917
2983
  }, height: (s, e) => {
2918
2984
  let t;
2919
2985
  e === 0 && (e = 1, t = { height: "1px" });
2920
- const n = ss(s, e);
2986
+ const n = is(s, e);
2921
2987
  return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
2922
- } }, ca = { duration: 333, easing: "ease-in-out" }, ha = ["left", "top", "width", "height", "opacity", "color", "background"], is = /* @__PURE__ */ new WeakMap();
2923
- class ua extends ri {
2988
+ } }, da = { duration: 333, easing: "ease-in-out" }, fa = ["left", "top", "width", "height", "opacity", "color", "background"], rs = /* @__PURE__ */ new WeakMap();
2989
+ class ga extends ai {
2924
2990
  constructor(e) {
2925
2991
  if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === ft.CHILD)
2926
2992
  throw Error("The `animate` directive must be used in attribute position.");
@@ -2940,7 +3006,7 @@ class ua extends ri {
2940
3006
  return g;
2941
3007
  }
2942
3008
  getController() {
2943
- return oa.get(this.u);
3009
+ return ha.get(this.u);
2944
3010
  }
2945
3011
  isDisabled() {
2946
3012
  var e;
@@ -2949,12 +3015,12 @@ class ua extends ri {
2949
3015
  update(e, [t]) {
2950
3016
  var i;
2951
3017
  const n = this.u === void 0;
2952
- return n && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = e.element, is.set(this.element, this)), this.optionsOrCallback = t, (n || typeof t != "function") && this.p(t), this.render(t);
3018
+ return n && (this.u = (i = e.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = e.element, rs.set(this.element, this)), this.optionsOrCallback = t, (n || typeof t != "function") && this.p(t), this.render(t);
2953
3019
  }
2954
3020
  p(e) {
2955
3021
  e = e ?? {};
2956
3022
  const t = this.getController();
2957
- t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = ha), this.options = e;
3023
+ t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = fa), this.options = e;
2958
3024
  }
2959
3025
  m() {
2960
3026
  const e = {}, t = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
@@ -2981,7 +3047,7 @@ class ua extends ri {
2981
3047
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
2982
3048
  return;
2983
3049
  let e;
2984
- this.prepare(), await es;
3050
+ this.prepare(), await ts;
2985
3051
  const t = this.O(), n = this.j(this.options.keyframeOptions, t), i = this.m();
2986
3052
  if (this.A !== void 0) {
2987
3053
  const { from: r, to: o } = this.N(this.A, i, t);
@@ -2991,7 +3057,7 @@ class ua extends ri {
2991
3057
  if (r) {
2992
3058
  Et.delete(this.options.inId);
2993
3059
  const { from: o, to: a } = this.N(r, i, t);
2994
- e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, Vn++, e.forEach((l) => l.zIndex = Vn);
3060
+ e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, Jn++, e.forEach((l) => l.zIndex = Jn);
2995
3061
  } else
2996
3062
  this.options.in && (e = [...this.options.in, {}]);
2997
3063
  }
@@ -3010,7 +3076,7 @@ class ua extends ri {
3010
3076
  var t;
3011
3077
  if (!this.h || (this.options.id !== void 0 && Et.set(this.options.id, this.A), this.options.out === void 0))
3012
3078
  return;
3013
- if (this.prepare(), await es(), (t = this.i) == null ? void 0 : t.isConnected) {
3079
+ if (this.prepare(), await ts(), (t = this.i) == null ? void 0 : t.isConnected) {
3014
3080
  const n = this.o && this.o.parentNode === this.i ? this.o : null;
3015
3081
  if (this.i.insertBefore(this.element, n), this.options.stabilizeOut) {
3016
3082
  const i = this.m();
@@ -3036,19 +3102,19 @@ class ua extends ri {
3036
3102
  O() {
3037
3103
  const e = [];
3038
3104
  for (let t = this.element.parentNode; t; t = t == null ? void 0 : t.parentNode) {
3039
- const n = is.get(t);
3105
+ const n = rs.get(t);
3040
3106
  n && !n.isDisabled() && n && e.push(n);
3041
3107
  }
3042
3108
  return e;
3043
3109
  }
3044
3110
  get isHostRendered() {
3045
- const e = Jn.has(this.u);
3111
+ const e = es.has(this.u);
3046
3112
  return e || this.u.updateComplete.then(() => {
3047
- Jn.add(this.u);
3113
+ es.add(this.u);
3048
3114
  }), e;
3049
3115
  }
3050
3116
  j(e, t = this.O()) {
3051
- const n = { ...ca };
3117
+ const n = { ...da };
3052
3118
  return t.forEach((i) => Object.assign(n, i.options.keyframeOptions)), Object.assign(n, e), n;
3053
3119
  }
3054
3120
  N(e, t, n) {
@@ -3099,30 +3165,46 @@ class ua extends ri {
3099
3165
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3100
3166
  }
3101
3167
  }
3102
- const Bt = gt(ua), Ne = (s, e, t) => {
3168
+ const Nt = gt(ga), F = (s, e, t) => {
3103
3169
  s && t.style.setProperty(e, s);
3104
- }, oi = (s, e) => {
3105
- var t, n, i, r;
3106
- Ne((t = s.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), Ne(
3170
+ }, li = (s, e) => {
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(
3107
3173
  (n = s.colors) == null ? void 0 : n.textOnPrimaryBackground,
3108
3174
  "--text-on-primary-background",
3109
3175
  e
3110
- ), Ne(
3176
+ ), F(
3111
3177
  (i = s.colors) == null ? void 0 : i.secondaryBackground,
3112
3178
  "--secondary-background",
3113
3179
  e
3114
- ), Ne(
3180
+ ), F(
3115
3181
  (r = s.colors) == null ? void 0 : r.textOnSecondaryBackground,
3116
3182
  "--text-on-secondary-background",
3117
3183
  e
3118
- );
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);
3119
3201
  };
3120
- var pa = Object.defineProperty, da = Object.getOwnPropertyDescriptor, Me = (s, e, t, n) => {
3121
- for (var i = n > 1 ? void 0 : n ? da(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3202
+ var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, ze = (s, e, t, n) => {
3203
+ for (var i = n > 1 ? void 0 : n ? va(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3122
3204
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3123
- return n && i && pa(e, t, i), i;
3205
+ return n && i && ma(e, t, i), i;
3124
3206
  };
3125
- class G extends k {
3207
+ class X extends k {
3126
3208
  constructor() {
3127
3209
  super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = M(), this.widgetActive$ = new U(!1), this.componentIsDestroyed$ = new _();
3128
3210
  }
@@ -3144,7 +3226,7 @@ class G extends k {
3144
3226
  }
3145
3227
  _applyBranding() {
3146
3228
  var e;
3147
- (e = this.application) != null && e.settings && oi(this.application.settings.branding, this);
3229
+ (e = this.application) != null && e.settings && li(this.application.settings.branding, this);
3148
3230
  }
3149
3231
  async _renderSymbol() {
3150
3232
  var a, l, c;
@@ -3154,7 +3236,7 @@ class G extends k {
3154
3236
  const n = (c = this.application) == null ? void 0 : c.triggerIcon;
3155
3237
  if (!n)
3156
3238
  return g;
3157
- const i = async (h) => Kr, { type: r, content: o } = n;
3239
+ const i = async (h) => Jr, { type: r, content: o } = n;
3158
3240
  switch (r) {
3159
3241
  case "Telia": {
3160
3242
  const h = await i();
@@ -3177,7 +3259,7 @@ class G extends k {
3177
3259
  render() {
3178
3260
  var e, t, n, i;
3179
3261
  return m`<div
3180
- class=${ve({
3262
+ class=${be({
3181
3263
  "trigger-container": !0,
3182
3264
  hidden: !this.triggerVisible
3183
3265
  })}
@@ -3188,9 +3270,9 @@ class G extends k {
3188
3270
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
3189
3271
  class="trigger-label"
3190
3272
  @click=${this.toggleActive}
3191
- ${Bt({
3273
+ ${Nt({
3192
3274
  keyframeOptions: {},
3193
- in: aa,
3275
+ in: ua,
3194
3276
  stabilizeOut: !0,
3195
3277
  skipInitial: !1
3196
3278
  })}
@@ -3201,7 +3283,7 @@ class G extends k {
3201
3283
 
3202
3284
  <button
3203
3285
  label="Widget trigger"
3204
- class=${ve({
3286
+ class=${be({
3205
3287
  trigger: !0,
3206
3288
  active: this.active,
3207
3289
  rendered: this.loaded
@@ -3240,7 +3322,7 @@ class G extends k {
3240
3322
  </div>`;
3241
3323
  }
3242
3324
  }
3243
- G.styles = [
3325
+ X.styles = [
3244
3326
  E`
3245
3327
  :host {
3246
3328
  --voca-rem-multiplier: 0.625;
@@ -3248,15 +3330,19 @@ G.styles = [
3248
3330
  --trigger-label-text-color: rgba(0, 0, 0, 0.8);
3249
3331
  display: block;
3250
3332
  box-sizing: border-box;
3251
- /* font-family: var(--font-family); */
3252
3333
  font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3253
3334
  }
3254
3335
 
3336
+ :focus {
3337
+ outline-color: var(--focus-color);
3338
+ }
3339
+
3255
3340
  .trigger-container {
3256
3341
  display: flex;
3257
3342
  align-items: center;
3258
3343
  gap: 1rem;
3259
3344
  }
3345
+
3260
3346
  .trigger-container.hidden {
3261
3347
  display: none;
3262
3348
  }
@@ -3274,26 +3360,34 @@ G.styles = [
3274
3360
  width: 55px;
3275
3361
  border-radius: 55px;
3276
3362
  cursor: pointer;
3277
- background-color: var(--trigger-bg, var(--primary-background));
3363
+ background-color: var(
3364
+ --interactive-primary-background,
3365
+ var(--primary-background)
3366
+ );
3278
3367
  font-family: Lato;
3279
3368
  text-decoration: none;
3280
3369
  border: 3px dashed transparent;
3281
3370
  box-sizing: border-box;
3282
3371
  transition: transform 200ms ease-out;
3283
3372
  }
3373
+
3284
3374
  .trigger:active {
3285
3375
  transform: scale(0.8) !important;
3286
3376
  }
3377
+
3287
3378
  .trigger:hover:not(:active) {
3288
3379
  transform: scale(1.1) !important;
3289
3380
  }
3381
+
3290
3382
  .trigger.rendered {
3291
3383
  transform: scale(1);
3292
3384
  }
3385
+
3293
3386
  .trigger.active .trigger-icon {
3294
3387
  opacity: 0;
3295
3388
  transform: rotate(-180deg) scale(0);
3296
3389
  }
3390
+
3297
3391
  .trigger.active .trigger-close {
3298
3392
  opacity: 1;
3299
3393
  transform: rotate(0deg) scale(1);
@@ -3306,8 +3400,12 @@ G.styles = [
3306
3400
  opacity: 1;
3307
3401
  transform: rotate(0deg) scale(1);
3308
3402
  transition: opacity 200ms ease-out, transform 200ms ease-out;
3309
- 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
+ );
3310
3407
  }
3408
+
3311
3409
  .trigger-close {
3312
3410
  opacity: 0;
3313
3411
  transition: transform 200ms ease-out;
@@ -3321,8 +3419,12 @@ G.styles = [
3321
3419
  justify-content: center;
3322
3420
  align-items: center;
3323
3421
  }
3422
+
3324
3423
  .trigger-close svg path {
3325
- 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
+ );
3326
3428
  }
3327
3429
 
3328
3430
  img {
@@ -3331,8 +3433,8 @@ G.styles = [
3331
3433
 
3332
3434
  .trigger-label {
3333
3435
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
3334
- background-color: var(--trigger-label-bg);
3335
- color: var(--trigger-label-text-color);
3436
+ background-color: var(--secondary-background);
3437
+ color: var(--text-on-secondary-background);
3336
3438
  white-space: nowrap;
3337
3439
  padding: 0.7rem 1rem;
3338
3440
  border-radius: 0.3rem;
@@ -3352,27 +3454,27 @@ G.styles = [
3352
3454
  }
3353
3455
  `
3354
3456
  ];
3355
- Me([
3457
+ ze([
3356
3458
  w({ attribute: !1 })
3357
- ], G.prototype, "application", 2);
3358
- Me([
3459
+ ], X.prototype, "application", 2);
3460
+ ze([
3359
3461
  C()
3360
- ], G.prototype, "active", 2);
3361
- Me([
3462
+ ], X.prototype, "active", 2);
3463
+ ze([
3362
3464
  C()
3363
- ], G.prototype, "triggerVisible", 2);
3364
- Me([
3465
+ ], X.prototype, "triggerVisible", 2);
3466
+ ze([
3365
3467
  C()
3366
- ], G.prototype, "loaded", 2);
3367
- Me([
3468
+ ], X.prototype, "loaded", 2);
3469
+ ze([
3368
3470
  C()
3369
- ], G.prototype, "icon", 2);
3370
- var fa = Object.defineProperty, ga = Object.getOwnPropertyDescriptor, ee = (s, e, t, n) => {
3371
- for (var i = n > 1 ? void 0 : n ? ga(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3471
+ ], X.prototype, "icon", 2);
3472
+ var ba = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, te = (s, e, t, n) => {
3473
+ for (var i = n > 1 ? void 0 : n ? ya(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3372
3474
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3373
- return n && i && fa(e, t, i), i;
3475
+ return n && i && ba(e, t, i), i;
3374
3476
  };
3375
- const ai = (s) => {
3477
+ const ci = (s) => {
3376
3478
  class e extends s {
3377
3479
  constructor() {
3378
3480
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -3411,28 +3513,28 @@ const ai = (s) => {
3411
3513
  box-sizing: border-box;
3412
3514
  }
3413
3515
  `
3414
- ], ee([
3516
+ ], te([
3415
3517
  w()
3416
- ], e.prototype, "properties", 2), ee([
3518
+ ], e.prototype, "properties", 2), te([
3417
3519
  w()
3418
- ], e.prototype, "context", 2), ee([
3520
+ ], e.prototype, "context", 2), te([
3419
3521
  w()
3420
- ], e.prototype, "layout", 2), ee([
3522
+ ], e.prototype, "layout", 2), te([
3421
3523
  w()
3422
- ], e.prototype, "name", 2), ee([
3524
+ ], e.prototype, "name", 2), te([
3423
3525
  w()
3424
- ], e.prototype, "type", 2), ee([
3526
+ ], e.prototype, "type", 2), te([
3425
3527
  w({ attribute: !1 })
3426
- ], e.prototype, "application", 2), ee([
3528
+ ], e.prototype, "application", 2), te([
3427
3529
  w({ attribute: !1 })
3428
3530
  ], e.prototype, "parent", 2), e;
3429
3531
  };
3430
- class li extends ai(k) {
3532
+ class hi extends ci(k) {
3431
3533
  render() {
3432
3534
  return m`Non resolved component`;
3433
3535
  }
3434
3536
  }
3435
- li.styles = [
3537
+ hi.styles = [
3436
3538
  E`
3437
3539
  :host {
3438
3540
  display: block;
@@ -3444,20 +3546,20 @@ li.styles = [
3444
3546
  * Copyright 2021 Google LLC
3445
3547
  * SPDX-License-Identifier: BSD-3-Clause
3446
3548
  */
3447
- function* ma(s, e) {
3549
+ function* $a(s, e) {
3448
3550
  if (s !== void 0) {
3449
3551
  let t = 0;
3450
3552
  for (const n of s)
3451
3553
  yield e(n, t++);
3452
3554
  }
3453
3555
  }
3454
- var an = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(an || {});
3556
+ var ln = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(ln || {});
3455
3557
  /**
3456
3558
  * @license
3457
3559
  * Copyright 2021 Google LLC
3458
3560
  * SPDX-License-Identifier: BSD-3-Clause
3459
3561
  */
3460
- let va = class extends Event {
3562
+ let xa = class extends Event {
3461
3563
  constructor(e, t, n) {
3462
3564
  super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.callback = t, this.subscribe = n ?? !1;
3463
3565
  }
@@ -3472,7 +3574,7 @@ let va = class extends Event {
3472
3574
  * Copyright 2021 Google LLC
3473
3575
  * SPDX-License-Identifier: BSD-3-Clause
3474
3576
  */
3475
- class ba {
3577
+ class wa {
3476
3578
  get value() {
3477
3579
  return this.o;
3478
3580
  }
@@ -3507,12 +3609,12 @@ class ba {
3507
3609
  * Copyright 2021 Google LLC
3508
3610
  * SPDX-License-Identifier: BSD-3-Clause
3509
3611
  */
3510
- let ya = class extends Event {
3612
+ let ka = class extends Event {
3511
3613
  constructor(e) {
3512
3614
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
3513
3615
  }
3514
3616
  };
3515
- class rs extends ba {
3617
+ class os extends wa {
3516
3618
  constructor(e, t, n) {
3517
3619
  var i, r;
3518
3620
  super(t.context !== void 0 ? t.initialValue : n), this.onContextRequest = (o) => {
@@ -3524,7 +3626,7 @@ class rs extends ba {
3524
3626
  return;
3525
3627
  const l = /* @__PURE__ */ new Set();
3526
3628
  for (const [c, { consumerHost: h }] of this.subscriptions)
3527
- l.has(c) || (l.add(c), h.dispatchEvent(new va(this.context, c, !0)));
3629
+ l.has(c) || (l.add(c), h.dispatchEvent(new xa(this.context, c, !0)));
3528
3630
  o.stopPropagation();
3529
3631
  }, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (r = (i = this.host).addController) == null || r.call(i, this);
3530
3632
  }
@@ -3532,7 +3634,7 @@ class rs extends ba {
3532
3634
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
3533
3635
  }
3534
3636
  hostConnected() {
3535
- this.host.dispatchEvent(new ya(this.context));
3637
+ this.host.dispatchEvent(new ka(this.context));
3536
3638
  }
3537
3639
  }
3538
3640
  /**
@@ -3540,12 +3642,12 @@ class rs extends ba {
3540
3642
  * Copyright 2017 Google LLC
3541
3643
  * SPDX-License-Identifier: BSD-3-Clause
3542
3644
  */
3543
- function $a({ context: s }) {
3645
+ function _a({ context: s }) {
3544
3646
  return (e, t) => {
3545
3647
  const n = /* @__PURE__ */ new WeakMap();
3546
3648
  if (typeof t == "object")
3547
3649
  return t.addInitializer(function() {
3548
- n.set(this, new rs(this, { context: s }));
3650
+ n.set(this, new os(this, { context: s }));
3549
3651
  }), { get() {
3550
3652
  return e.get.call(this);
3551
3653
  }, set(i) {
@@ -3557,7 +3659,7 @@ function $a({ context: s }) {
3557
3659
  } };
3558
3660
  {
3559
3661
  e.constructor.addInitializer((o) => {
3560
- n.set(o, new rs(o, { context: s }));
3662
+ n.set(o, new os(o, { context: s }));
3561
3663
  });
3562
3664
  const i = Object.getOwnPropertyDescriptor(e, t);
3563
3665
  let r;
@@ -3578,13 +3680,13 @@ function $a({ context: s }) {
3578
3680
  }
3579
3681
  };
3580
3682
  }
3581
- var xa = Object.defineProperty, wa = Object.getOwnPropertyDescriptor, ka = (s, e, t, n) => {
3582
- for (var i = n > 1 ? void 0 : n ? wa(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3683
+ var Sa = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, Aa = (s, e, t, n) => {
3684
+ for (var i = n > 1 ? void 0 : n ? Ca(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3583
3685
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3584
- return n && i && xa(e, t, i), i;
3686
+ return n && i && Sa(e, t, i), i;
3585
3687
  };
3586
- const _a = "application";
3587
- class ln extends k {
3688
+ const Ea = "application";
3689
+ class cn extends k {
3588
3690
  constructor() {
3589
3691
  super(...arguments), this.nodes = [], this.wrapperRef = M();
3590
3692
  }
@@ -3595,7 +3697,7 @@ class ln extends k {
3595
3697
  if (!this.wrapperRef.value)
3596
3698
  return;
3597
3699
  const e = this.application.settings;
3598
- e != null && e.branding && oi(e.branding, this.wrapperRef.value);
3700
+ e != null && e.branding && li(e.branding, this.wrapperRef.value);
3599
3701
  }
3600
3702
  applyStyles() {
3601
3703
  if (!this.wrapperRef.value)
@@ -3611,12 +3713,12 @@ class ln extends k {
3611
3713
  render() {
3612
3714
  var n, i;
3613
3715
  const e = this.application.settings.components.conversation;
3614
- return ((i = (n = e == null ? void 0 : e.properties) == null ? void 0 : n.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === an.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), m`<div class="widget-container" ${z(this.wrapperRef)}>
3615
- ${ma(this.nodes, (r) => r)}
3716
+ return ((i = (n = e == null ? void 0 : e.properties) == null ? void 0 : n.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === ln.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), m`<div class="widget-container" ${z(this.wrapperRef)}>
3717
+ ${$a(this.nodes, (r) => r)}
3616
3718
  </div>`;
3617
3719
  }
3618
3720
  }
3619
- ln.styles = E`
3721
+ cn.styles = E`
3620
3722
  :host {
3621
3723
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3622
3724
  --spacing-xs: 0.2rem;
@@ -3632,6 +3734,7 @@ ln.styles = E`
3632
3734
  --gray-color: #f3f3f8;
3633
3735
  --white-color: #fff;
3634
3736
  --gray-dark-color: #a6a6a6;
3737
+ --black-border-color: #00000054;
3635
3738
 
3636
3739
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
3637
3740
  --border-radius: var(--spacing-sm);
@@ -3708,8 +3811,6 @@ ln.styles = E`
3708
3811
  background-color: var(--primary-background);
3709
3812
  padding: var(--spacing-sm);
3710
3813
  border: var(--widget-border, none);
3711
- border-left: 1px solid #00000054;
3712
- border-right: 1px solid #00000054;
3713
3814
  }
3714
3815
  @keyframes slideDown {
3715
3816
  from {
@@ -3741,16 +3842,16 @@ ln.styles = E`
3741
3842
  pointer-events: none;
3742
3843
  }
3743
3844
  `;
3744
- ka([
3845
+ Aa([
3745
3846
  w({ attribute: !1 }),
3746
- $a({ context: _a })
3747
- ], ln.prototype, "application", 2);
3748
- var ci = /* @__PURE__ */ ((s) => (s.Mandatory = "mandatory", s.Preferences = "preferences", s.Analytics = "analytics", s))(ci || {}), Sa = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, cn = (s, e, t, n) => {
3749
- for (var i = n > 1 ? void 0 : n ? Ca(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3847
+ _a({ context: Ea })
3848
+ ], cn.prototype, "application", 2);
3849
+ var ui = /* @__PURE__ */ ((s) => (s.Necessary = "necessary", s.Functional = "functional", s.Analytics = "analytics", s))(ui || {}), Ta = Object.defineProperty, La = Object.getOwnPropertyDescriptor, hn = (s, e, t, n) => {
3850
+ for (var i = n > 1 ? void 0 : n ? La(e, t) : e, r = s.length - 1, o; r >= 0; r--)
3750
3851
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
3751
- return n && i && Sa(e, t, i), i;
3852
+ return n && i && Ta(e, t, i), i;
3752
3853
  };
3753
- class ze extends k {
3854
+ class Ue extends k {
3754
3855
  constructor() {
3755
3856
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
3756
3857
  }
@@ -3775,35 +3876,35 @@ class ze extends k {
3775
3876
  render() {
3776
3877
  if (!this.widget || this.status !== "activated")
3777
3878
  return g;
3778
- if (this.widget.renderStrategy === an.Trigger) {
3779
- const e = new G();
3879
+ if (this.widget.renderStrategy === ln.Trigger) {
3880
+ const e = new X();
3780
3881
  return e.application = this.widget, e;
3781
3882
  }
3782
3883
  return this.widget.render();
3783
3884
  }
3784
3885
  }
3785
- ze.styles = [
3886
+ Ue.styles = [
3786
3887
  E`
3787
3888
  :host {
3788
3889
  display: block;
3789
3890
  }
3790
3891
  `
3791
3892
  ];
3792
- cn([
3893
+ hn([
3793
3894
  w({ attribute: !0 })
3794
- ], ze.prototype, "name", 2);
3795
- cn([
3895
+ ], Ue.prototype, "name", 2);
3896
+ hn([
3796
3897
  C()
3797
- ], ze.prototype, "widget", 2);
3798
- cn([
3898
+ ], Ue.prototype, "widget", 2);
3899
+ hn([
3799
3900
  C()
3800
- ], ze.prototype, "status", 2);
3801
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", on);
3802
- customElements.get("ace-trigger") || customElements.define("ace-trigger", G);
3803
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", li);
3804
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ln);
3805
- customElements.get("ace-widget") || customElements.define("ace-widget", ze);
3806
- class Aa {
3901
+ ], Ue.prototype, "status", 2);
3902
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", an);
3903
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", X);
3904
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", hi);
3905
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", cn);
3906
+ customElements.get("ace-widget") || customElements.define("ace-widget", Ue);
3907
+ class Oa {
3807
3908
  constructor(e) {
3808
3909
  this._message = null, this._host = e, e.addController(this);
3809
3910
  }
@@ -3819,10 +3920,10 @@ class Aa {
3819
3920
  return !!this.message;
3820
3921
  }
3821
3922
  }
3822
- class os {
3923
+ class as {
3823
3924
  constructor(e, t, n, i, r) {
3824
3925
  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(
3825
- pe((l) => l ? l.onComplete() : Pe)
3926
+ de((l) => l ? l.onComplete() : Re)
3826
3927
  );
3827
3928
  const o = this._getProviderFactory(t);
3828
3929
  if (!o)
@@ -3865,7 +3966,7 @@ class os {
3865
3966
  }
3866
3967
  _addEntryRemoveHandler(e) {
3867
3968
  e.remove$.pipe(
3868
- pe(() => this.entries$),
3969
+ de(() => this.entries$),
3869
3970
  Mt(1)
3870
3971
  ).subscribe((t) => {
3871
3972
  this.removeEntryAction$.next(e), this.entries$.next(t.filter((n) => n !== e));
@@ -3875,9 +3976,9 @@ class os {
3875
3976
  return this.component.platform.registeredProviders.get(e);
3876
3977
  }
3877
3978
  }
3878
- class Ea {
3979
+ class Pa {
3879
3980
  constructor(e) {
3880
- this.component = e, this.currentSession$ = new U(null), this.sessions = [], this.storage = null, Ke(e, "handover").subscribe((t) => {
3981
+ this.component = e, this.currentSession$ = new U(null), this.sessions = [], this.storage = null, Ge(e, "handover").subscribe((t) => {
3881
3982
  const n = this._createNewSession(
3882
3983
  t.detail.providerKey,
3883
3984
  t.detail.providerOptions
@@ -3920,7 +4021,7 @@ class Ea {
3920
4021
  );
3921
4022
  return e ? {
3922
4023
  sessions: e.sessions.map(
3923
- (t) => new os(
4024
+ (t) => new as(
3924
4025
  t.id,
3925
4026
  t.providerKey,
3926
4027
  t.providerOptions,
@@ -3954,11 +4055,11 @@ class Ea {
3954
4055
  const t = {
3955
4056
  sessions: e.sessions.map((n) => n.toStore())
3956
4057
  };
3957
- this.storage.set("conversation", t, ci.Mandatory);
4058
+ this.storage.set("conversation", t, ui.Necessary);
3958
4059
  }
3959
4060
  _createNewSession(e, t = {}) {
3960
- const n = this._getStoredSessions(), i = new os(
3961
- Is(),
4061
+ const n = this._getStoredSessions(), i = new as(
4062
+ Ms(),
3962
4063
  e,
3963
4064
  t,
3964
4065
  {},
@@ -3973,11 +4074,11 @@ class Ea {
3973
4074
  return this.component.properties.providers[0];
3974
4075
  }
3975
4076
  }
3976
- class Ta {
4077
+ class Ra {
3977
4078
  constructor(e, t) {
3978
- 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 Ea(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
3979
- pe((n) => n ? n.provider$.pipe(
3980
- pe((i) => i ? i.isTyping() : It(!1))
4079
+ 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(
4080
+ de((n) => n ? n.provider$.pipe(
4081
+ de((i) => i ? i.isTyping() : It(!1))
3981
4082
  ) : It(!1))
3982
4083
  ), e.subscribe((n) => {
3983
4084
  switch (n) {
@@ -4002,9 +4103,9 @@ class Ta {
4002
4103
  }
4003
4104
  rehydrate() {
4004
4105
  this.session$.pipe(
4005
- pe((e) => {
4106
+ de((e) => {
4006
4107
  if (!e)
4007
- return Pe;
4108
+ return Re;
4008
4109
  const t = e.removeEntryAction$.pipe(Ut(this.entries$)).pipe(
4009
4110
  Qe(([i, r]) => r.filter((o) => o.id !== i.id))
4010
4111
  ), n = e.entries().pipe(
@@ -4013,7 +4114,7 @@ class Ta {
4013
4114
  return [...r, ...o];
4014
4115
  })
4015
4116
  );
4016
- return xr(t, n);
4117
+ return kr(t, n);
4017
4118
  })
4018
4119
  ).subscribe((e) => {
4019
4120
  this.entries$.next(e);
@@ -4024,12 +4125,12 @@ class Ta {
4024
4125
  (e = this.sessionService) == null || e.startSession();
4025
4126
  }
4026
4127
  }
4027
- var La = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, Pa = (s, e, t, n) => {
4028
- for (var i = n > 1 ? void 0 : n ? Oa(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4128
+ var Ia = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, za = (s, e, t, n) => {
4129
+ for (var i = n > 1 ? void 0 : n ? Ma(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4029
4130
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4030
- return n && i && La(e, t, i), i;
4131
+ return n && i && Ia(e, t, i), i;
4031
4132
  };
4032
- class hn extends k {
4133
+ class un extends k {
4033
4134
  connectedCallback() {
4034
4135
  var e;
4035
4136
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -4051,13 +4152,13 @@ class hn extends k {
4051
4152
  }
4052
4153
  _renderDeliveryStatus(e) {
4053
4154
  return e === "delivered" ? m`<telia-icon
4054
- svg=${Zr.svg}
4155
+ svg=${Gr.svg}
4055
4156
  size="sm"
4056
4157
  ></telia-icon>` : e === "failed" ? m`<telia-icon
4057
- svg=${qr.svg}
4158
+ svg=${Qr.svg}
4058
4159
  size="sm"
4059
4160
  title="Message could not be delivered"
4060
- ></telia-icon>` : m`<telia-icon svg=${Wr.svg} size="sm"></telia-icon>`;
4161
+ ></telia-icon>` : m`<telia-icon svg=${Kr.svg} size="sm"></telia-icon>`;
4061
4162
  }
4062
4163
  _dispatchEntryAction(e) {
4063
4164
  this.entry.actions$.next(e.detail);
@@ -4065,7 +4166,7 @@ class hn extends k {
4065
4166
  render() {
4066
4167
  var e, t;
4067
4168
  switch (this.entry.type) {
4068
- case Z.System:
4169
+ case W.System:
4069
4170
  return m`
4070
4171
  <div class="conversation-system-message">
4071
4172
  ${this.entry.messages.map(
@@ -4083,9 +4184,9 @@ class hn extends k {
4083
4184
  <span>${this._getTimestamp(this.entry.timestamp)}</span>
4084
4185
  </div>
4085
4186
  `;
4086
- case Z.Agent:
4187
+ case W.Agent:
4087
4188
  return m`<div
4088
- class=${ve({
4189
+ class=${be({
4089
4190
  "conversation-agent-message": !0,
4090
4191
  "has-avatar": !!((e = this.entry.sender) != null && e.avatar)
4091
4192
  })}
@@ -4112,9 +4213,9 @@ class hn extends k {
4112
4213
  )}
4113
4214
  </div>
4114
4215
  </div>`;
4115
- case Z.User:
4216
+ case W.User:
4116
4217
  return m`<div
4117
- class=${ve({
4218
+ class=${be({
4118
4219
  "conversation-user-message": !0,
4119
4220
  "has-error": this.entry.status === "failed"
4120
4221
  })}
@@ -4143,7 +4244,7 @@ class hn extends k {
4143
4244
  }
4144
4245
  }
4145
4246
  }
4146
- hn.styles = [
4247
+ un.styles = [
4147
4248
  E`
4148
4249
  :host {
4149
4250
  box-sizing: border-box;
@@ -4261,13 +4362,13 @@ hn.styles = [
4261
4362
  }
4262
4363
  `
4263
4364
  ];
4264
- Pa([
4365
+ za([
4265
4366
  w({ attribute: !1 })
4266
- ], hn.prototype, "entry", 2);
4267
- var Ra = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, hi = (s, e, t, n) => {
4268
- for (var i = n > 1 ? void 0 : n ? Ia(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4367
+ ], un.prototype, "entry", 2);
4368
+ var Ua = Object.defineProperty, ja = Object.getOwnPropertyDescriptor, pi = (s, e, t, n) => {
4369
+ for (var i = n > 1 ? void 0 : n ? ja(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4269
4370
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4270
- return n && i && Ra(e, t, i), i;
4371
+ return n && i && Ua(e, t, i), i;
4271
4372
  };
4272
4373
  class mt extends k {
4273
4374
  constructor() {
@@ -4283,9 +4384,9 @@ class mt extends k {
4283
4384
  (e) => m`<div class="conversation-entry" tabindex="-1">
4284
4385
  <conversation-entry
4285
4386
  .entry=${e}
4286
- ${Bt({
4387
+ ${Nt({
4287
4388
  keyframeOptions: {},
4288
- in: ts,
4389
+ in: ns,
4289
4390
  stabilizeOut: !0,
4290
4391
  skipInitial: !1
4291
4392
  })}
@@ -4294,10 +4395,10 @@ class mt extends k {
4294
4395
  </div>`
4295
4396
  )}
4296
4397
  ${this.loading ? m`<ace-typing-state
4297
- ${Bt({
4398
+ ${Nt({
4298
4399
  keyframeOptions: {},
4299
- in: ts,
4300
- out: la,
4400
+ in: ns,
4401
+ out: pa,
4301
4402
  stabilizeOut: !0,
4302
4403
  skipInitial: !1
4303
4404
  })}
@@ -4310,6 +4411,7 @@ mt.styles = [
4310
4411
  :host {
4311
4412
  display: block;
4312
4413
  }
4414
+
4313
4415
  .conversation-feed {
4314
4416
  display: flex;
4315
4417
  flex-direction: column;
@@ -4317,12 +4419,16 @@ mt.styles = [
4317
4419
  min-height: 100%;
4318
4420
  padding: var(--spacing-md);
4319
4421
  }
4422
+
4423
+ .conversation-entry:focus {
4424
+ outline-color: var(--focus-color);
4425
+ }
4320
4426
  `
4321
4427
  ];
4322
- hi([
4428
+ pi([
4323
4429
  w({ attribute: !1 })
4324
4430
  ], mt.prototype, "entries", 2);
4325
- hi([
4431
+ pi([
4326
4432
  w({ type: Boolean })
4327
4433
  ], mt.prototype, "loading", 2);
4328
4434
  /**
@@ -4330,24 +4436,24 @@ hi([
4330
4436
  * Copyright 2021 Google LLC
4331
4437
  * SPDX-License-Identifier: BSD-3-Clause
4332
4438
  */
4333
- const Ma = (s, e, t) => {
4439
+ const Da = (s, e, t) => {
4334
4440
  for (const n of e)
4335
4441
  if (n[0] === s)
4336
4442
  return (0, n[1])();
4337
4443
  return t == null ? void 0 : t();
4338
4444
  };
4339
- var za = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, ja = (s, e, t, n) => {
4340
- for (var i = n > 1 ? void 0 : n ? Ua(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4445
+ var Ha = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e, t, n) => {
4446
+ for (var i = n > 1 ? void 0 : n ? Ba(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4341
4447
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4342
- return n && i && za(e, t, i), i;
4448
+ return n && i && Ha(e, t, i), i;
4343
4449
  };
4344
- class un extends k {
4450
+ class pn extends k {
4345
4451
  render() {
4346
4452
  return m`
4347
4453
  <div class="message-group">
4348
4454
  ${this.group.items.map(
4349
4455
  ([e, t, n]) => m`
4350
- ${Ma(
4456
+ ${Da(
4351
4457
  e,
4352
4458
  [
4353
4459
  ["html", () => m`<message-type-html .message=${t} />`],
@@ -4370,7 +4476,7 @@ class un extends k {
4370
4476
  `;
4371
4477
  }
4372
4478
  }
4373
- un.styles = [
4479
+ pn.styles = [
4374
4480
  E`
4375
4481
  :host {
4376
4482
  box-sizing: border-box;
@@ -4386,10 +4492,10 @@ un.styles = [
4386
4492
  }
4387
4493
  `
4388
4494
  ];
4389
- ja([
4495
+ Na([
4390
4496
  w({ attribute: !1 })
4391
- ], un.prototype, "group", 2);
4392
- class ui extends k {
4497
+ ], pn.prototype, "group", 2);
4498
+ class di extends k {
4393
4499
  render() {
4394
4500
  return m`<div class="container">
4395
4501
  <div class="dot"></div>
@@ -4398,7 +4504,7 @@ class ui extends k {
4398
4504
  </div>`;
4399
4505
  }
4400
4506
  }
4401
- ui.styles = [
4507
+ di.styles = [
4402
4508
  E`
4403
4509
  :host {
4404
4510
  display: block;
@@ -4440,7 +4546,7 @@ ui.styles = [
4440
4546
  * Copyright 2017 Google LLC
4441
4547
  * SPDX-License-Identifier: BSD-3-Clause
4442
4548
  */
4443
- class Nt extends rn {
4549
+ class Ft extends on {
4444
4550
  constructor(e) {
4445
4551
  if (super(e), this.it = g, e.type !== ft.CHILD)
4446
4552
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
@@ -4448,7 +4554,7 @@ class Nt extends rn {
4448
4554
  render(e) {
4449
4555
  if (e === g || e == null)
4450
4556
  return this._t = void 0, this.it = e;
4451
- if (e === Q)
4557
+ if (e === G)
4452
4558
  return e;
4453
4559
  if (typeof e != "string")
4454
4560
  throw Error(this.constructor.directiveName + "() called with a non-string value");
@@ -4459,36 +4565,44 @@ class Nt extends rn {
4459
4565
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4460
4566
  }
4461
4567
  }
4462
- Nt.directiveName = "unsafeHTML", Nt.resultType = 1;
4463
- const Ha = gt(Nt);
4464
- var Da = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e, t, n) => {
4465
- for (var i = n > 1 ? void 0 : n ? Ba(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4568
+ Ft.directiveName = "unsafeHTML", Ft.resultType = 1;
4569
+ const Fa = gt(Ft);
4570
+ var qa = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Wa = (s, e, t, n) => {
4571
+ for (var i = n > 1 ? void 0 : n ? Za(e, t) : e, r = s.length - 1, o; r >= 0; r--)
4466
4572
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
4467
- return n && i && Da(e, t, i), i;
4573
+ return n && i && qa(e, t, i), i;
4468
4574
  };
4469
- class pn extends k {
4575
+ class dn extends k {
4470
4576
  render() {
4471
4577
  return m`<div class="message-type-html">
4472
- ${Ha(this.message.content)}
4578
+ ${Fa(this.message.content)}
4473
4579
  </div>`;
4474
4580
  }
4475
4581
  }
4476
- pn.styles = [
4582
+ dn.styles = [
4477
4583
  E`
4478
4584
  :host {
4479
4585
  box-sizing: border-box;
4480
4586
  }
4587
+
4588
+ :focus {
4589
+ outline-color: var(--focus-color);
4590
+ }
4591
+
4481
4592
  * {
4482
4593
  box-sizing: border-box;
4483
4594
  }
4595
+
4484
4596
  p {
4485
4597
  margin: 0;
4486
4598
  padding: 0;
4487
4599
  word-break: break-word;
4488
4600
  }
4601
+
4489
4602
  a {
4490
4603
  word-break: break-all;
4491
4604
  }
4605
+
4492
4606
  img {
4493
4607
  cursor: pointer;
4494
4608
  width: 100%;
@@ -4497,10 +4611,10 @@ pn.styles = [
4497
4611
  }
4498
4612
  `
4499
4613
  ];
4500
- Na([
4614
+ Wa([
4501
4615
  w({ attribute: !1 })
4502
- ], pn.prototype, "message", 2);
4503
- function dn() {
4616
+ ], dn.prototype, "message", 2);
4617
+ function fn() {
4504
4618
  return {
4505
4619
  async: !1,
4506
4620
  breaks: !1,
@@ -4514,43 +4628,43 @@ function dn() {
4514
4628
  walkTokens: null
4515
4629
  };
4516
4630
  }
4517
- let oe = dn();
4518
- function pi(s) {
4519
- oe = s;
4631
+ let ae = fn();
4632
+ function fi(s) {
4633
+ ae = s;
4520
4634
  }
4521
- const di = /[&<>"']/, Fa = new RegExp(di.source, "g"), fi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, qa = new RegExp(fi.source, "g"), Za = {
4635
+ 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 = {
4522
4636
  "&": "&amp;",
4523
4637
  "<": "&lt;",
4524
4638
  ">": "&gt;",
4525
4639
  '"': "&quot;",
4526
4640
  "'": "&#39;"
4527
- }, as = (s) => Za[s];
4641
+ }, ls = (s) => Ga[s];
4528
4642
  function L(s, e) {
4529
4643
  if (e) {
4530
- if (di.test(s))
4531
- return s.replace(Fa, as);
4532
- } else if (fi.test(s))
4533
- return s.replace(qa, as);
4644
+ if (gi.test(s))
4645
+ return s.replace(Ya, ls);
4646
+ } else if (mi.test(s))
4647
+ return s.replace(Qa, ls);
4534
4648
  return s;
4535
4649
  }
4536
- const Wa = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
4537
- function Ya(s) {
4538
- return s.replace(Wa, (e, t) => (t = t.toLowerCase(), t === "colon" ? ":" : t.charAt(0) === "#" ? t.charAt(1) === "x" ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""));
4650
+ const Ka = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
4651
+ function Xa(s) {
4652
+ return s.replace(Ka, (e, t) => (t = t.toLowerCase(), t === "colon" ? ":" : t.charAt(0) === "#" ? t.charAt(1) === "x" ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""));
4539
4653
  }
4540
- const Qa = /(^|[^\[])\^/g;
4654
+ const Va = /(^|[^\[])\^/g;
4541
4655
  function y(s, e) {
4542
4656
  let t = typeof s == "string" ? s : s.source;
4543
4657
  e = e || "";
4544
4658
  const n = {
4545
4659
  replace: (i, r) => {
4546
4660
  let o = typeof r == "string" ? r : r.source;
4547
- return o = o.replace(Qa, "$1"), t = t.replace(i, o), n;
4661
+ return o = o.replace(Va, "$1"), t = t.replace(i, o), n;
4548
4662
  },
4549
4663
  getRegex: () => new RegExp(t, e)
4550
4664
  };
4551
4665
  return n;
4552
4666
  }
4553
- function ls(s) {
4667
+ function cs(s) {
4554
4668
  try {
4555
4669
  s = encodeURI(s).replace(/%25/g, "%");
4556
4670
  } catch {
@@ -4558,8 +4672,8 @@ function ls(s) {
4558
4672
  }
4559
4673
  return s;
4560
4674
  }
4561
- const _e = { exec: () => null };
4562
- function cs(s, e) {
4675
+ const Se = { exec: () => null };
4676
+ function hs(s, e) {
4563
4677
  const t = s.replace(/\|/g, (r, o, a) => {
4564
4678
  let l = !1, c = o;
4565
4679
  for (; --c >= 0 && a[c] === "\\"; )
@@ -4593,7 +4707,7 @@ function Fe(s, e, t) {
4593
4707
  }
4594
4708
  return s.slice(0, n - i);
4595
4709
  }
4596
- function Ka(s, e) {
4710
+ function Ja(s, e) {
4597
4711
  if (s.indexOf(e[1]) === -1)
4598
4712
  return -1;
4599
4713
  let t = 0;
@@ -4606,7 +4720,7 @@ function Ka(s, e) {
4606
4720
  return n;
4607
4721
  return -1;
4608
4722
  }
4609
- function hs(s, e, t, n) {
4723
+ function us(s, e, t, n) {
4610
4724
  const i = e.href, r = e.title ? L(e.title) : null, o = s[1].replace(/\\([\[\]])/g, "$1");
4611
4725
  if (s[0].charAt(0) !== "!") {
4612
4726
  n.state.inLink = !0;
@@ -4628,7 +4742,7 @@ function hs(s, e, t, n) {
4628
4742
  text: L(o)
4629
4743
  };
4630
4744
  }
4631
- function Ga(s, e) {
4745
+ function el(s, e) {
4632
4746
  const t = s.match(/^(\s+)(?:```)/);
4633
4747
  if (t === null)
4634
4748
  return e;
@@ -4650,7 +4764,7 @@ class st {
4650
4764
  x(this, "rules");
4651
4765
  // set by the lexer
4652
4766
  x(this, "lexer");
4653
- this.options = e || oe;
4767
+ this.options = e || ae;
4654
4768
  }
4655
4769
  space(e) {
4656
4770
  const t = this.rules.block.newline.exec(e);
@@ -4676,7 +4790,7 @@ class st {
4676
4790
  fences(e) {
4677
4791
  const t = this.rules.block.fences.exec(e);
4678
4792
  if (t) {
4679
- const n = t[0], i = Ga(n, t[3] || "");
4793
+ const n = t[0], i = el(n, t[3] || "");
4680
4794
  return {
4681
4795
  type: "code",
4682
4796
  raw: n,
@@ -4755,17 +4869,17 @@ class st {
4755
4869
  let b = !1;
4756
4870
  if (!u && /^ *$/.test(p) && (a += p + `
4757
4871
  `, e = e.substring(p.length + 1), h = !0), !h) {
4758
- 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+|$)`), xn = new RegExp(`^ {0,${Math.min(3, d - 1)}}(?:\`\`\`|~~~)`), wn = new RegExp(`^ {0,${Math.min(3, d - 1)}}#`);
4872
+ 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)}}#`);
4759
4873
  for (; e; ) {
4760
4874
  const yt = e.split(`
4761
4875
  `, 1)[0];
4762
- if (p = yt, this.options.pedantic && (p = p.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), xn.test(p) || wn.test(p) || N.test(p) || V.test(e))
4876
+ 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))
4763
4877
  break;
4764
4878
  if (p.search(/[^ ]/) >= d || !p.trim())
4765
4879
  l += `
4766
4880
  ` + p.slice(d);
4767
4881
  else {
4768
- if (b || u.search(/[^ ]/) >= 4 || xn.test(u) || wn.test(u) || V.test(u))
4882
+ if (b || u.search(/[^ ]/) >= 4 || wn.test(u) || kn.test(u) || J.test(u))
4769
4883
  break;
4770
4884
  l += `
4771
4885
  ` + p;
@@ -4826,7 +4940,7 @@ class st {
4826
4940
  const t = this.rules.block.table.exec(e);
4827
4941
  if (!t || !/[:|]/.test(t[2]))
4828
4942
  return;
4829
- const n = cs(t[1]), i = t[2].replace(/^\||\| *$/g, "").split("|"), r = t[3] && t[3].trim() ? t[3].replace(/\n[ \t]*$/, "").split(`
4943
+ const n = hs(t[1]), i = t[2].replace(/^\||\| *$/g, "").split("|"), r = t[3] && t[3].trim() ? t[3].replace(/\n[ \t]*$/, "").split(`
4830
4944
  `) : [], o = {
4831
4945
  type: "table",
4832
4946
  raw: t[0],
@@ -4843,7 +4957,7 @@ class st {
4843
4957
  tokens: this.lexer.inline(a)
4844
4958
  });
4845
4959
  for (const a of r)
4846
- o.rows.push(cs(a, o.header.length).map((l) => ({
4960
+ o.rows.push(hs(a, o.header.length).map((l) => ({
4847
4961
  text: l,
4848
4962
  tokens: this.lexer.inline(l)
4849
4963
  })));
@@ -4916,7 +5030,7 @@ class st {
4916
5030
  if ((n.length - o.length) % 2 === 0)
4917
5031
  return;
4918
5032
  } else {
4919
- const o = Ka(t[2], "()");
5033
+ const o = Ja(t[2], "()");
4920
5034
  if (o > -1) {
4921
5035
  const l = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + o;
4922
5036
  t[2] = t[2].substring(0, o), t[0] = t[0].substring(0, l).trim(), t[3] = "";
@@ -4928,7 +5042,7 @@ class st {
4928
5042
  o && (i = o[1], r = o[3]);
4929
5043
  } else
4930
5044
  r = t[3] ? t[3].slice(1, -1) : "";
4931
- return i = i.trim(), /^</.test(i) && (this.options.pedantic && !/>$/.test(n) ? i = i.slice(1) : i = i.slice(1, -1)), hs(t, {
5045
+ return i = i.trim(), /^</.test(i) && (this.options.pedantic && !/>$/.test(n) ? i = i.slice(1) : i = i.slice(1, -1)), us(t, {
4932
5046
  href: i && i.replace(this.rules.inline.anyPunctuation, "$1"),
4933
5047
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
4934
5048
  }, t[0], this.lexer);
@@ -4946,7 +5060,7 @@ class st {
4946
5060
  text: o
4947
5061
  };
4948
5062
  }
4949
- return hs(n, r, n[0], this.lexer);
5063
+ return us(n, r, n[0], this.lexer);
4950
5064
  }
4951
5065
  }
4952
5066
  emStrong(e, t, n = "") {
@@ -5080,79 +5194,79 @@ class st {
5080
5194
  }
5081
5195
  }
5082
5196
  }
5083
- const Xa = /^(?: *(?:\n|$))+/, Va = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, Ja = /^ {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+|$)/, el = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, gi = /(?:[*+-]|\d{1,9}[.)])/, mi = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, gi).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(), fn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, tl = /^[^\n]+/, gn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, nl = y(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", gn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), sl = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, gi).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", mn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, il = 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", mn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), vi = y(fn).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(), rl = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", vi).getRegex(), vn = {
5084
- blockquote: rl,
5085
- code: Va,
5086
- def: nl,
5087
- fences: Ja,
5088
- heading: el,
5089
- hr: Ue,
5090
- html: il,
5091
- lheading: mi,
5092
- list: sl,
5093
- newline: Xa,
5094
- paragraph: vi,
5095
- table: _e,
5096
- text: tl
5097
- }, us = 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(), ol = {
5098
- ...vn,
5099
- table: us,
5100
- paragraph: y(fn).replace("hr", Ue).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", us).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()
5101
- }, al = {
5102
- ...vn,
5103
- html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", mn).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(),
5197
+ 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 = {
5198
+ blockquote: cl,
5199
+ code: nl,
5200
+ def: ol,
5201
+ fences: sl,
5202
+ heading: il,
5203
+ hr: je,
5204
+ html: ll,
5205
+ lheading: bi,
5206
+ list: al,
5207
+ newline: tl,
5208
+ paragraph: yi,
5209
+ table: Se,
5210
+ text: rl
5211
+ }, 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 = {
5212
+ ...bn,
5213
+ table: ps,
5214
+ 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()
5215
+ }, ul = {
5216
+ ...bn,
5217
+ 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(),
5104
5218
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
5105
5219
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
5106
- fences: _e,
5220
+ fences: Se,
5107
5221
  // fences not supported
5108
5222
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5109
- paragraph: y(fn).replace("hr", Ue).replace("heading", ` *#{1,6} *[^
5110
- ]`).replace("lheading", mi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5111
- }, bi = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ll = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, yi = /^( {2,}|\\)\n(?!\s*$)/, cl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, je = "\\p{P}\\p{S}", hl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, je).getRegex(), ul = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, pl = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, je).getRegex(), dl = 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(), fl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, je).getRegex(), gl = y(/\\([punct])/, "gu").replace(/punct/g, je).getRegex(), ml = 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(), vl = y(mn).replace("(?:-->|$)", "-->").getRegex(), bl = 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", vl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), it = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, yl = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", it).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), $i = y(/^!?\[(label)\]\[(ref)\]/).replace("label", it).replace("ref", gn).getRegex(), xi = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", gn).getRegex(), $l = y("reflink|nolink(?!\\()", "g").replace("reflink", $i).replace("nolink", xi).getRegex(), bn = {
5112
- _backpedal: _e,
5223
+ paragraph: y(gn).replace("hr", je).replace("heading", ` *#{1,6} *[^
5224
+ ]`).replace("lheading", bi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5225
+ }, $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 = {
5226
+ _backpedal: Se,
5113
5227
  // only used for GFM url
5114
- anyPunctuation: gl,
5115
- autolink: ml,
5116
- blockSkip: ul,
5117
- br: yi,
5118
- code: ll,
5119
- del: _e,
5120
- emStrongLDelim: pl,
5121
- emStrongRDelimAst: dl,
5122
- emStrongRDelimUnd: fl,
5123
- escape: bi,
5124
- link: yl,
5125
- nolink: xi,
5126
- punctuation: hl,
5127
- reflink: $i,
5128
- reflinkSearch: $l,
5129
- tag: bl,
5130
- text: cl,
5131
- url: _e
5132
- }, xl = {
5133
- ...bn,
5228
+ anyPunctuation: yl,
5229
+ autolink: $l,
5230
+ blockSkip: gl,
5231
+ br: xi,
5232
+ code: pl,
5233
+ del: Se,
5234
+ emStrongLDelim: ml,
5235
+ emStrongRDelimAst: vl,
5236
+ emStrongRDelimUnd: bl,
5237
+ escape: $i,
5238
+ link: kl,
5239
+ nolink: ki,
5240
+ punctuation: fl,
5241
+ reflink: wi,
5242
+ reflinkSearch: _l,
5243
+ tag: wl,
5244
+ text: dl,
5245
+ url: Se
5246
+ }, Sl = {
5247
+ ...yn,
5134
5248
  link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", it).getRegex(),
5135
5249
  reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", it).getRegex()
5136
- }, Ft = {
5137
- ...bn,
5138
- escape: y(bi).replace("])", "~|])").getRegex(),
5250
+ }, qt = {
5251
+ ...yn,
5252
+ escape: y($i).replace("])", "~|])").getRegex(),
5139
5253
  url: y(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
5140
5254
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
5141
5255
  del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
5142
5256
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5143
- }, wl = {
5144
- ...Ft,
5145
- br: y(yi).replace("{2,}", "*").getRegex(),
5146
- text: y(Ft.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5257
+ }, Cl = {
5258
+ ...qt,
5259
+ br: y(xi).replace("{2,}", "*").getRegex(),
5260
+ text: y(qt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5147
5261
  }, qe = {
5148
- normal: vn,
5149
- gfm: ol,
5150
- pedantic: al
5151
- }, $e = {
5152
5262
  normal: bn,
5153
- gfm: Ft,
5154
- breaks: wl,
5155
- pedantic: xl
5263
+ gfm: hl,
5264
+ pedantic: ul
5265
+ }, xe = {
5266
+ normal: yn,
5267
+ gfm: qt,
5268
+ breaks: Cl,
5269
+ pedantic: Sl
5156
5270
  };
5157
5271
  class j {
5158
5272
  constructor(e) {
@@ -5161,16 +5275,16 @@ class j {
5161
5275
  x(this, "state");
5162
5276
  x(this, "tokenizer");
5163
5277
  x(this, "inlineQueue");
5164
- 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 = {
5278
+ 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 = {
5165
5279
  inLink: !1,
5166
5280
  inRawBlock: !1,
5167
5281
  top: !0
5168
5282
  };
5169
5283
  const t = {
5170
5284
  block: qe.normal,
5171
- inline: $e.normal
5285
+ inline: xe.normal
5172
5286
  };
5173
- 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;
5287
+ 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;
5174
5288
  }
5175
5289
  /**
5176
5290
  * Expose Rules
@@ -5178,7 +5292,7 @@ class j {
5178
5292
  static get rules() {
5179
5293
  return {
5180
5294
  block: qe,
5181
- inline: $e
5295
+ inline: xe
5182
5296
  };
5183
5297
  }
5184
5298
  /**
@@ -5380,7 +5494,7 @@ class j {
5380
5494
  class rt {
5381
5495
  constructor(e) {
5382
5496
  x(this, "options");
5383
- this.options = e || oe;
5497
+ this.options = e || ae;
5384
5498
  }
5385
5499
  code(e, t, n) {
5386
5500
  var r;
@@ -5459,7 +5573,7 @@ ${e}</tr>
5459
5573
  return `<del>${e}</del>`;
5460
5574
  }
5461
5575
  link(e, t, n) {
5462
- const i = ls(e);
5576
+ const i = cs(e);
5463
5577
  if (i === null)
5464
5578
  return n;
5465
5579
  e = i;
@@ -5467,7 +5581,7 @@ ${e}</tr>
5467
5581
  return t && (r += ' title="' + t + '"'), r += ">" + n + "</a>", r;
5468
5582
  }
5469
5583
  image(e, t, n) {
5470
- const i = ls(e);
5584
+ const i = cs(e);
5471
5585
  if (i === null)
5472
5586
  return n;
5473
5587
  e = i;
@@ -5478,7 +5592,7 @@ ${e}</tr>
5478
5592
  return e;
5479
5593
  }
5480
5594
  }
5481
- class yn {
5595
+ class $n {
5482
5596
  // no need for block level renderers
5483
5597
  strong(e) {
5484
5598
  return e;
@@ -5508,24 +5622,24 @@ class yn {
5508
5622
  return "";
5509
5623
  }
5510
5624
  }
5511
- class H {
5625
+ class D {
5512
5626
  constructor(e) {
5513
5627
  x(this, "options");
5514
5628
  x(this, "renderer");
5515
5629
  x(this, "textRenderer");
5516
- 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 yn();
5630
+ 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();
5517
5631
  }
5518
5632
  /**
5519
5633
  * Static Parse Method
5520
5634
  */
5521
5635
  static parse(e, t) {
5522
- return new H(t).parse(e);
5636
+ return new D(t).parse(e);
5523
5637
  }
5524
5638
  /**
5525
5639
  * Static Parse Inline Method
5526
5640
  */
5527
5641
  static parseInline(e, t) {
5528
- return new H(t).parseInline(e);
5642
+ return new D(t).parseInline(e);
5529
5643
  }
5530
5644
  /**
5531
5645
  * Parse Loop
@@ -5550,7 +5664,7 @@ class H {
5550
5664
  }
5551
5665
  case "heading": {
5552
5666
  const o = r;
5553
- n += this.renderer.heading(this.parseInline(o.tokens), o.depth, Ya(this.parseInline(o.tokens, this.textRenderer)));
5667
+ n += this.renderer.heading(this.parseInline(o.tokens), o.depth, Xa(this.parseInline(o.tokens, this.textRenderer)));
5554
5668
  continue;
5555
5669
  }
5556
5670
  case "code": {
@@ -5702,10 +5816,10 @@ class H {
5702
5816
  return n;
5703
5817
  }
5704
5818
  }
5705
- class Se {
5819
+ class Ce {
5706
5820
  constructor(e) {
5707
5821
  x(this, "options");
5708
- this.options = e || oe;
5822
+ this.options = e || ae;
5709
5823
  }
5710
5824
  /**
5711
5825
  * Process markdown before marked
@@ -5726,26 +5840,26 @@ class Se {
5726
5840
  return e;
5727
5841
  }
5728
5842
  }
5729
- x(Se, "passThroughHooks", /* @__PURE__ */ new Set([
5843
+ x(Ce, "passThroughHooks", /* @__PURE__ */ new Set([
5730
5844
  "preprocess",
5731
5845
  "postprocess",
5732
5846
  "processAllTokens"
5733
5847
  ]));
5734
- var Le, qt, ot, wi;
5735
- class kl {
5848
+ var Oe, Zt, ot, _i;
5849
+ class Al {
5736
5850
  constructor(...e) {
5737
- $t(this, Le);
5851
+ $t(this, Oe);
5738
5852
  $t(this, ot);
5739
- x(this, "defaults", dn());
5853
+ x(this, "defaults", fn());
5740
5854
  x(this, "options", this.setOptions);
5741
- x(this, "parse", He(this, Le, qt).call(this, j.lex, H.parse));
5742
- x(this, "parseInline", He(this, Le, qt).call(this, j.lexInline, H.parseInline));
5743
- x(this, "Parser", H);
5855
+ x(this, "parse", He(this, Oe, Zt).call(this, j.lex, D.parse));
5856
+ x(this, "parseInline", He(this, Oe, Zt).call(this, j.lexInline, D.parseInline));
5857
+ x(this, "Parser", D);
5744
5858
  x(this, "Renderer", rt);
5745
- x(this, "TextRenderer", yn);
5859
+ x(this, "TextRenderer", $n);
5746
5860
  x(this, "Lexer", j);
5747
5861
  x(this, "Tokenizer", st);
5748
- x(this, "Hooks", Se);
5862
+ x(this, "Hooks", Ce);
5749
5863
  this.use(...e);
5750
5864
  }
5751
5865
  /**
@@ -5832,14 +5946,14 @@ class kl {
5832
5946
  i.tokenizer = r;
5833
5947
  }
5834
5948
  if (n.hooks) {
5835
- const r = this.defaults.hooks || new Se();
5949
+ const r = this.defaults.hooks || new Ce();
5836
5950
  for (const o in n.hooks) {
5837
5951
  if (!(o in r))
5838
5952
  throw new Error(`hook '${o}' does not exist`);
5839
5953
  if (o === "options")
5840
5954
  continue;
5841
5955
  const a = o, l = n.hooks[a], c = r[a];
5842
- Se.passThroughHooks.has(o) ? r[a] = (h) => {
5956
+ Ce.passThroughHooks.has(o) ? r[a] = (h) => {
5843
5957
  if (this.defaults.async)
5844
5958
  return Promise.resolve(l.call(r, h)).then((p) => c.call(r, p));
5845
5959
  const u = l.call(r, h);
@@ -5868,14 +5982,14 @@ class kl {
5868
5982
  return j.lex(e, t ?? this.defaults);
5869
5983
  }
5870
5984
  parser(e, t) {
5871
- return H.parse(e, t ?? this.defaults);
5985
+ return D.parse(e, t ?? this.defaults);
5872
5986
  }
5873
5987
  }
5874
- Le = new WeakSet(), qt = function(e, t) {
5988
+ Oe = new WeakSet(), Zt = function(e, t) {
5875
5989
  return (n, i) => {
5876
5990
  const r = { ...i }, o = { ...this.defaults, ...r };
5877
5991
  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);
5878
- const a = He(this, ot, wi).call(this, !!o.silent, !!o.async);
5992
+ const a = He(this, ot, _i).call(this, !!o.silent, !!o.async);
5879
5993
  if (typeof n > "u" || n === null)
5880
5994
  return a(new Error("marked(): input parameter is undefined or null"));
5881
5995
  if (typeof n != "string")
@@ -5892,7 +6006,7 @@ Le = new WeakSet(), qt = function(e, t) {
5892
6006
  return a(l);
5893
6007
  }
5894
6008
  };
5895
- }, ot = new WeakSet(), wi = function(e, t) {
6009
+ }, ot = new WeakSet(), _i = function(e, t) {
5896
6010
  return (n) => {
5897
6011
  if (n.message += `
5898
6012
  Please report this to https://github.com/markedjs/marked.`, e) {
@@ -5904,42 +6018,42 @@ Please report this to https://github.com/markedjs/marked.`, e) {
5904
6018
  throw n;
5905
6019
  };
5906
6020
  };
5907
- const re = new kl();
6021
+ const oe = new Al();
5908
6022
  function v(s, e) {
5909
- return re.parse(s, e);
6023
+ return oe.parse(s, e);
5910
6024
  }
5911
6025
  v.options = v.setOptions = function(s) {
5912
- return re.setOptions(s), v.defaults = re.defaults, pi(v.defaults), v;
6026
+ return oe.setOptions(s), v.defaults = oe.defaults, fi(v.defaults), v;
5913
6027
  };
5914
- v.getDefaults = dn;
5915
- v.defaults = oe;
6028
+ v.getDefaults = fn;
6029
+ v.defaults = ae;
5916
6030
  v.use = function(...s) {
5917
- return re.use(...s), v.defaults = re.defaults, pi(v.defaults), v;
6031
+ return oe.use(...s), v.defaults = oe.defaults, fi(v.defaults), v;
5918
6032
  };
5919
6033
  v.walkTokens = function(s, e) {
5920
- return re.walkTokens(s, e);
6034
+ return oe.walkTokens(s, e);
5921
6035
  };
5922
- v.parseInline = re.parseInline;
5923
- v.Parser = H;
5924
- v.parser = H.parse;
6036
+ v.parseInline = oe.parseInline;
6037
+ v.Parser = D;
6038
+ v.parser = D.parse;
5925
6039
  v.Renderer = rt;
5926
- v.TextRenderer = yn;
6040
+ v.TextRenderer = $n;
5927
6041
  v.Lexer = j;
5928
6042
  v.lexer = j.lex;
5929
6043
  v.Tokenizer = st;
5930
- v.Hooks = Se;
6044
+ v.Hooks = Ce;
5931
6045
  v.parse = v;
5932
6046
  v.options;
5933
6047
  v.setOptions;
5934
6048
  v.use;
5935
6049
  v.walkTokens;
5936
6050
  v.parseInline;
5937
- H.parse;
6051
+ D.parse;
5938
6052
  j.lex;
5939
- var _l = Object.defineProperty, Sl = Object.getOwnPropertyDescriptor, ki = (s, e, t, n) => {
5940
- for (var i = n > 1 ? void 0 : n ? Sl(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6053
+ var El = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, Si = (s, e, t, n) => {
6054
+ for (var i = n > 1 ? void 0 : n ? Tl(e, t) : e, r = s.length - 1, o; r >= 0; r--)
5941
6055
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
5942
- return n && i && _l(e, t, i), i;
6056
+ return n && i && El(e, t, i), i;
5943
6057
  };
5944
6058
  v.use({
5945
6059
  renderer: {
@@ -5954,9 +6068,13 @@ class bt extends k {
5954
6068
  }
5955
6069
  // Stop autoscroll on user interaction
5956
6070
  handleAutoscroll() {
5957
- this.addEventListener("wheel", () => {
5958
- this.autoScroll = !1;
5959
- }), this.addEventListener("click", () => {
6071
+ this.addEventListener(
6072
+ "wheel",
6073
+ () => {
6074
+ this.autoScroll = !1;
6075
+ },
6076
+ { passive: !0 }
6077
+ ), this.addEventListener("click", () => {
5960
6078
  this.autoScroll = !1;
5961
6079
  });
5962
6080
  }
@@ -5995,7 +6113,15 @@ class bt extends k {
5995
6113
  (r = this.contentRef.value) == null || r.appendChild(document.createElement("div")), this.buffer = "";
5996
6114
  else if (this.buffer.includes("!["))
5997
6115
  return;
5998
- n.innerHTML = t, this.autoScroll && this.scrollRef.value.scrollIntoView();
6116
+ n.innerHTML = _r(t), this.applyCodeStyles(n), this.autoScroll && this.scrollRef.value.scrollIntoView();
6117
+ }
6118
+ // Apply white-space: pre-wrap to <code> elements
6119
+ applyCodeStyles(e) {
6120
+ if (!e)
6121
+ return;
6122
+ e.querySelectorAll("code").forEach((n) => {
6123
+ n.style.whiteSpace = "pre-wrap";
6124
+ });
5999
6125
  }
6000
6126
  render() {
6001
6127
  return m`
@@ -6015,20 +6141,29 @@ bt.styles = [
6015
6141
  :host {
6016
6142
  box-sizing: border-box;
6017
6143
  }
6144
+
6145
+ :focus {
6146
+ outline-color: var(--focus-color);
6147
+ }
6148
+
6018
6149
  * {
6019
6150
  box-sizing: border-box;
6020
6151
  }
6152
+
6021
6153
  p {
6022
6154
  margin: 0;
6023
6155
  padding: 0;
6024
6156
  word-break: break-word;
6025
6157
  }
6158
+
6026
6159
  p:not(:first-of-type) {
6027
6160
  margin-top: var(--spacing-sm);
6028
6161
  }
6162
+
6029
6163
  a {
6030
6164
  word-break: break-all;
6031
6165
  }
6166
+
6032
6167
  img {
6033
6168
  cursor: pointer;
6034
6169
  width: 100%;
@@ -6037,18 +6172,18 @@ bt.styles = [
6037
6172
  }
6038
6173
  `
6039
6174
  ];
6040
- ki([
6175
+ Si([
6041
6176
  w({ attribute: !1 })
6042
6177
  ], bt.prototype, "message", 2);
6043
- ki([
6178
+ Si([
6044
6179
  C()
6045
6180
  ], bt.prototype, "showLightbox", 2);
6046
- var Cl = Object.defineProperty, Al = Object.getOwnPropertyDescriptor, El = (s, e, t, n) => {
6047
- for (var i = n > 1 ? void 0 : n ? Al(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6181
+ var Ll = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, Pl = (s, e, t, n) => {
6182
+ for (var i = n > 1 ? void 0 : n ? Ol(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6048
6183
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6049
- return n && i && Cl(e, t, i), i;
6184
+ return n && i && Ll(e, t, i), i;
6050
6185
  };
6051
- class $n extends k {
6186
+ class xn extends k {
6052
6187
  constructor() {
6053
6188
  super(...arguments), this.escapeListener = (e) => {
6054
6189
  e.key === "Escape" && this.closeLightbox();
@@ -6085,14 +6220,18 @@ class $n extends k {
6085
6220
  @keydown=${this.handleKeyDown}
6086
6221
  >
6087
6222
  <button class="close" @click=${this.closeLightbox}>
6088
- <telia-icon svg=${Qr.svg} size="lg"></telia-icon>
6223
+ <telia-icon svg=${Vr.svg} size="lg"></telia-icon>
6089
6224
  </button>
6090
6225
  <img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
6091
6226
  </div> `;
6092
6227
  }
6093
6228
  }
6094
- $n.styles = [
6229
+ xn.styles = [
6095
6230
  E`
6231
+ :focus {
6232
+ outline-color: var(--focus-color);
6233
+ }
6234
+
6096
6235
  .lightbox {
6097
6236
  position: fixed;
6098
6237
  z-index: 9999;
@@ -6128,26 +6267,26 @@ $n.styles = [
6128
6267
  }
6129
6268
  `
6130
6269
  ];
6131
- El([
6270
+ Pl([
6132
6271
  w({ attribute: !0 })
6133
- ], $n.prototype, "imageUrl", 2);
6134
- var Tl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, X = (s, e, t, n) => {
6135
- for (var i = n > 1 ? void 0 : n ? Ll(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6272
+ ], xn.prototype, "imageUrl", 2);
6273
+ var Rl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, V = (s, e, t, n) => {
6274
+ for (var i = n > 1 ? void 0 : n ? Il(e, t) : e, r = s.length - 1, o; r >= 0; r--)
6136
6275
  (o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
6137
- return n && i && Tl(e, t, i), i;
6276
+ return n && i && Rl(e, t, i), i;
6138
6277
  };
6139
- customElements.get("conversation-entry") || customElements.define("conversation-entry", hn);
6278
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", un);
6140
6279
  customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", mt);
6141
- customElements.get("conversation-group") || customElements.define("conversation-group", un);
6142
- customElements.get("ace-typing-state") || customElements.define("ace-typing-state", ui);
6143
- customElements.get("message-type-html") || customElements.define("message-type-html", pn);
6280
+ customElements.get("conversation-group") || customElements.define("conversation-group", pn);
6281
+ customElements.get("ace-typing-state") || customElements.define("ace-typing-state", di);
6282
+ customElements.get("message-type-html") || customElements.define("message-type-html", dn);
6144
6283
  customElements.get("message-type-markdown") || customElements.define("message-type-markdown", bt);
6145
- customElements.get("ace-lightbox") || customElements.define("ace-lightbox", $n);
6146
- const _i = ai(k);
6147
- class R extends _i {
6284
+ customElements.get("ace-lightbox") || customElements.define("ace-lightbox", xn);
6285
+ const Ci = ci(k);
6286
+ class R extends Ci {
6148
6287
  constructor() {
6149
- 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 Aa(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 Ta(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6150
- pe((e) => e ? e == null ? void 0 : e.provider$ : It(null))
6288
+ 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(
6289
+ de((e) => e ? e == null ? void 0 : e.provider$ : It(null))
6151
6290
  ), this.userTyping$ = new _();
6152
6291
  }
6153
6292
  async connectedCallback() {
@@ -6160,12 +6299,12 @@ class R extends _i {
6160
6299
  t && t.widgetActive$.pipe(zt(t.componentIsDestroyed$)).subscribe((n) => {
6161
6300
  const i = this.conversationContentRef.value;
6162
6301
  i && (n ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
6163
- }), this.stateSubscription = ur([
6302
+ }), this.stateSubscription = dr([
6164
6303
  this.stateMachine.entries(),
6165
6304
  this.stateMachine.isTyping()
6166
6305
  ]).subscribe(([n, i]) => {
6167
6306
  this.entries = n, this.typing = i;
6168
- }), this.userSubmitSubscription = Ke(
6307
+ }), this.userSubmitSubscription = Ge(
6169
6308
  this,
6170
6309
  "user-submit"
6171
6310
  ).pipe(Ut(this.provider$)).subscribe(([n, i]) => {
@@ -6255,11 +6394,11 @@ class R extends _i {
6255
6394
  return;
6256
6395
  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({
6257
6396
  label: r ? i : n,
6258
- icon: r ? jn.svg : Hn.svg,
6397
+ icon: r ? Dn.svg : Hn.svg,
6259
6398
  closeOnClick: !1,
6260
6399
  datatestid: "options-mute-button",
6261
6400
  onClick: () => {
6262
- !!this.application.storage.get("muteAudioNotifications") ? (this.application.unmute(), o.updateLabel(n), o.updateIcon(Hn.svg)) : (this.application.mute(), o.updateLabel(i), o.updateIcon(jn.svg));
6401
+ !!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));
6263
6402
  }
6264
6403
  });
6265
6404
  }
@@ -6289,7 +6428,7 @@ class R extends _i {
6289
6428
  providerOptions: t
6290
6429
  }
6291
6430
  });
6292
- return this.dispatchEvent(n), n.detail.complete || Pe;
6431
+ return this.dispatchEvent(n), n.detail.complete || Re;
6293
6432
  }
6294
6433
  render() {
6295
6434
  var i, r, o;
@@ -6298,7 +6437,7 @@ class R extends _i {
6298
6437
  const t = this.application.settings.components.conversation;
6299
6438
  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
6300
6439
  @action=${this._actionHandler}
6301
- class=${ve({
6440
+ class=${be({
6302
6441
  conversation: !0,
6303
6442
  disabled: this.disabledInput,
6304
6443
  "conversation--has-toast": this.toast.hasMessage(),
@@ -6311,11 +6450,11 @@ class R extends _i {
6311
6450
  class="overlay-button"
6312
6451
  @click=${() => this.chatOverlayActive = !1}
6313
6452
  >
6314
- <telia-icon svg=${Yr.svg}></telia-icon>
6453
+ <telia-icon svg=${Xr.svg}></telia-icon>
6315
6454
  </button>
6316
6455
  </div>` : g}
6317
6456
  <div
6318
- class=${ve({
6457
+ class=${be({
6319
6458
  "conversation-content": !0,
6320
6459
  "conversation-overlay-mode": this.chatOverlayActive
6321
6460
  })}
@@ -6367,7 +6506,7 @@ class R extends _i {
6367
6506
  title=${e.getOrFallback("conversation.send-alt", "Send")}
6368
6507
  ?disabled=${this.disabledSubmit}
6369
6508
  >
6370
- <telia-icon svg=${Gr.svg}></telia-icon>
6509
+ <telia-icon svg=${eo.svg}></telia-icon>
6371
6510
  </button>
6372
6511
  <span class="counter" ${z(this.counterRef)}>
6373
6512
  ${this.textAreaLength} / ${this.messageMaxLength}</span
@@ -6387,7 +6526,7 @@ class R extends _i {
6387
6526
  }
6388
6527
  }
6389
6528
  R.styles = [
6390
- _i.styles || [],
6529
+ Ci.styles || [],
6391
6530
  E`
6392
6531
  :host {
6393
6532
  font-family: var(--font-family);
@@ -6434,14 +6573,21 @@ R.styles = [
6434
6573
  scrollbar-width: thin; /* Firefox */
6435
6574
  scrollbar-color: #7f7f7f transparent; /* Firefox */
6436
6575
  }
6576
+
6577
+ :focus {
6578
+ outline-color: var(--focus-color);
6579
+ }
6580
+
6437
6581
  ::-webkit-scrollbar {
6438
6582
  width: 3px !important;
6439
6583
  background-color: transparent;
6440
6584
  border-left: none;
6441
6585
  }
6586
+
6442
6587
  ::-webkit-scrollbar-thumb {
6443
6588
  background-color: #7f7f7f;
6444
6589
  }
6590
+
6445
6591
  ::-webkit-scrollbar-track {
6446
6592
  -webkit-box-shadow: none !important;
6447
6593
  box-shadow: none !important;
@@ -6486,7 +6632,6 @@ R.styles = [
6486
6632
  padding: var(--spacing-sm);
6487
6633
  border-radius: var(--spacing-sm);
6488
6634
  left: -10000000px;
6489
- outline: none;
6490
6635
  }
6491
6636
  .skip-to-latest-message-button:focus-visible {
6492
6637
  left: 50%;
@@ -6666,42 +6811,44 @@ R.styles = [
6666
6811
  }
6667
6812
  `
6668
6813
  ];
6669
- X([
6814
+ V([
6670
6815
  C()
6671
6816
  ], R.prototype, "message", 2);
6672
- X([
6817
+ V([
6673
6818
  C()
6674
6819
  ], R.prototype, "disabledInput", 2);
6675
- X([
6820
+ V([
6676
6821
  C()
6677
6822
  ], R.prototype, "disabledSubmit", 2);
6678
- X([
6823
+ V([
6679
6824
  C()
6680
6825
  ], R.prototype, "chatOverlayActive", 2);
6681
- X([
6826
+ V([
6682
6827
  C()
6683
6828
  ], R.prototype, "textAreaLength", 2);
6684
- X([
6829
+ V([
6685
6830
  C()
6686
6831
  ], R.prototype, "platform", 2);
6687
- X([
6832
+ V([
6688
6833
  C()
6689
6834
  ], R.prototype, "entries", 2);
6690
- X([
6835
+ V([
6691
6836
  C()
6692
6837
  ], R.prototype, "typing", 2);
6693
- const Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6838
+ const Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6694
6839
  __proto__: null,
6695
6840
  Conversation: R,
6696
6841
  default: R
6697
6842
  }, Symbol.toStringTag, { value: "Module" }));
6698
6843
  export {
6699
- wr as Agent,
6844
+ Cr as Agent,
6700
6845
  R as Conversation,
6701
- Rl as ConversationComponent,
6846
+ Ul as ConversationComponent,
6702
6847
  ct as ConversationEntry,
6703
- Z as ConversationMessageType,
6704
- ds as ConversationPlatform,
6705
- Il as ConversationProvider,
6706
- kr as User
6848
+ W as ConversationMessageType,
6849
+ fs as ConversationPlatform,
6850
+ Dl as ConversationProvider,
6851
+ Ar as User,
6852
+ jl as findPlainTextLinks,
6853
+ _r as truncateLongLinks
6707
6854
  };