@telia-ace/widget-conversation-flamingo 1.1.120-rc.30 → 1.1.120-rc.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +68 -68
  2. package/index.mjs +992 -1029
  3. package/package.json +2 -2
package/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
- var pa = Object.defineProperty;
2
- var da = (n, e, t) => e in n ? pa(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var S = (n, e, t) => da(n, typeof e != "symbol" ? e + "" : e, t);
4
- const Rh = async (n) => {
5
- n.registerComponent("conversation", Promise.resolve().then(() => Ch));
1
+ var ua = Object.defineProperty;
2
+ var ha = (n, e, t) => e in n ? ua(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var S = (n, e, t) => ha(n, typeof e != "symbol" ? e + "" : e, t);
4
+ const Ch = async (n) => {
5
+ n.registerComponent("conversation", Promise.resolve().then(() => Eh));
6
6
  };
7
- class Pi {
7
+ class Oi {
8
8
  constructor() {
9
9
  this.registeredProviders = /* @__PURE__ */ new Map();
10
10
  }
11
11
  static async getInstance(e) {
12
12
  let t = await e.get("conversation");
13
- return t || (t = new Pi(), await e.register("conversation", t), t);
13
+ return t || (t = new Oi(), await e.register("conversation", t), t);
14
14
  }
15
15
  registerProvider(e, t) {
16
16
  this.registeredProviders.set(e, t);
@@ -28,23 +28,23 @@ class Pi {
28
28
  // return this.registeredProviders.get(providerKey);
29
29
  // }
30
30
  }
31
- var ss = function(n, e) {
32
- return ss = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, s) {
31
+ var ts = function(n, e) {
32
+ return ts = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, s) {
33
33
  t.__proto__ = s;
34
34
  } || function(t, s) {
35
35
  for (var r in s) Object.prototype.hasOwnProperty.call(s, r) && (t[r] = s[r]);
36
- }, ss(n, e);
36
+ }, ts(n, e);
37
37
  };
38
38
  function ot(n, e) {
39
39
  if (typeof e != "function" && e !== null)
40
40
  throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
41
- ss(n, e);
41
+ ts(n, e);
42
42
  function t() {
43
43
  this.constructor = n;
44
44
  }
45
45
  n.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
46
46
  }
47
- function fa(n, e, t, s) {
47
+ function pa(n, e, t, s) {
48
48
  function r(i) {
49
49
  return i instanceof t ? i : new t(function(o) {
50
50
  o(i);
@@ -71,7 +71,7 @@ function fa(n, e, t, s) {
71
71
  c((s = s.apply(n, e || [])).next());
72
72
  });
73
73
  }
74
- function Mi(n, e) {
74
+ function Pi(n, e) {
75
75
  var t = { label: 0, sent: function() {
76
76
  if (i[0] & 1) throw i[1];
77
77
  return i[1];
@@ -166,7 +166,7 @@ function nt(n, e, t) {
166
166
  function Ve(n) {
167
167
  return this instanceof Ve ? (this.v = n, this) : new Ve(n);
168
168
  }
169
- function ga(n, e, t) {
169
+ function da(n, e, t) {
170
170
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
171
171
  var s = t.apply(n, e || []), r, i = [];
172
172
  return r = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), r[Symbol.asyncIterator] = function() {
@@ -204,7 +204,7 @@ function ga(n, e, t) {
204
204
  g(m), i.shift(), i.length && l(i[0][0], i[0][1]);
205
205
  }
206
206
  }
207
- function ma(n) {
207
+ function fa(n) {
208
208
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
209
209
  var e = n[Symbol.asyncIterator], t;
210
210
  return e ? e.call(n) : (n = typeof tt == "function" ? tt(n) : n[Symbol.iterator](), t = {}, s("next"), s("throw"), s("return"), t[Symbol.asyncIterator] = function() {
@@ -226,13 +226,13 @@ function ma(n) {
226
226
  function A(n) {
227
227
  return typeof n == "function";
228
228
  }
229
- function Ni(n) {
229
+ function Ii(n) {
230
230
  var e = function(s) {
231
231
  Error.call(s), s.stack = new Error().stack;
232
232
  }, t = n(e);
233
233
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
234
234
  }
235
- var jn = Ni(function(n) {
235
+ var Bn = Ii(function(n) {
236
236
  return function(t) {
237
237
  n(this), this.message = t ? t.length + ` errors occurred during unsubscription:
238
238
  ` + t.map(function(s, r) {
@@ -241,13 +241,13 @@ var jn = Ni(function(n) {
241
241
  `) : "", this.name = "UnsubscriptionError", this.errors = t;
242
242
  };
243
243
  });
244
- function rs(n, e) {
244
+ function ns(n, e) {
245
245
  if (n) {
246
246
  var t = n.indexOf(e);
247
247
  0 <= t && n.splice(t, 1);
248
248
  }
249
249
  }
250
- var bn = function() {
250
+ var mn = function() {
251
251
  function n(e) {
252
252
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
253
253
  }
@@ -279,7 +279,7 @@ var bn = function() {
279
279
  try {
280
280
  u();
281
281
  } catch (y) {
282
- i = y instanceof jn ? y.errors : [y];
282
+ i = y instanceof Bn ? y.errors : [y];
283
283
  }
284
284
  var d = this._finalizers;
285
285
  if (d) {
@@ -288,9 +288,9 @@ var bn = function() {
288
288
  for (var p = tt(d), g = p.next(); !g.done; g = p.next()) {
289
289
  var m = g.value;
290
290
  try {
291
- Ir(m);
291
+ Or(m);
292
292
  } catch (y) {
293
- i = i ?? [], y instanceof jn ? i = nt(nt([], Me(i)), Me(y.errors)) : i.push(y);
293
+ i = i ?? [], y instanceof Bn ? i = nt(nt([], Me(i)), Me(y.errors)) : i.push(y);
294
294
  }
295
295
  }
296
296
  } catch (y) {
@@ -304,13 +304,13 @@ var bn = function() {
304
304
  }
305
305
  }
306
306
  if (i)
307
- throw new jn(i);
307
+ throw new Bn(i);
308
308
  }
309
309
  }, n.prototype.add = function(e) {
310
310
  var t;
311
311
  if (e && e !== this)
312
312
  if (this.closed)
313
- Ir(e);
313
+ Or(e);
314
314
  else {
315
315
  if (e instanceof n) {
316
316
  if (e.closed || e._hasParent(this))
@@ -327,24 +327,24 @@ var bn = function() {
327
327
  this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
328
328
  }, n.prototype._removeParent = function(e) {
329
329
  var t = this._parentage;
330
- t === e ? this._parentage = null : Array.isArray(t) && rs(t, e);
330
+ t === e ? this._parentage = null : Array.isArray(t) && ns(t, e);
331
331
  }, n.prototype.remove = function(e) {
332
332
  var t = this._finalizers;
333
- t && rs(t, e), e instanceof n && e._removeParent(this);
333
+ t && ns(t, e), e instanceof n && e._removeParent(this);
334
334
  }, n.EMPTY = function() {
335
335
  var e = new n();
336
336
  return e.closed = !0, e;
337
337
  }(), n;
338
- }(), Di = bn.EMPTY;
339
- function Ui(n) {
340
- return n instanceof bn || n && "closed" in n && A(n.remove) && A(n.add) && A(n.unsubscribe);
338
+ }(), Mi = mn.EMPTY;
339
+ function Ni(n) {
340
+ return n instanceof mn || n && "closed" in n && A(n.remove) && A(n.add) && A(n.unsubscribe);
341
341
  }
342
- function Ir(n) {
342
+ function Or(n) {
343
343
  A(n) ? n() : n.unsubscribe();
344
344
  }
345
- var va = {
345
+ var ga = {
346
346
  Promise: void 0
347
- }, ba = {
347
+ }, ma = {
348
348
  setTimeout: function(n, e) {
349
349
  for (var t = [], s = 2; s < arguments.length; s++)
350
350
  t[s - 2] = arguments[s];
@@ -355,24 +355,24 @@ var va = {
355
355
  },
356
356
  delegate: void 0
357
357
  };
358
- function zi(n) {
359
- ba.setTimeout(function() {
358
+ function Di(n) {
359
+ ma.setTimeout(function() {
360
360
  throw n;
361
361
  });
362
362
  }
363
- function Jt() {
363
+ function Qt() {
364
364
  }
365
- function Xt(n) {
365
+ function Yt(n) {
366
366
  n();
367
367
  }
368
- var _s = function(n) {
368
+ var ws = function(n) {
369
369
  ot(e, n);
370
370
  function e(t) {
371
371
  var s = n.call(this) || this;
372
- return s.isStopped = !1, t ? (s.destination = t, Ui(t) && t.add(s)) : s.destination = xa, s;
372
+ return s.isStopped = !1, t ? (s.destination = t, Ni(t) && t.add(s)) : s.destination = ya, s;
373
373
  }
374
374
  return e.create = function(t, s, r) {
375
- return new is(t, s, r);
375
+ return new ss(t, s, r);
376
376
  }, e.prototype.next = function(t) {
377
377
  this.isStopped || this._next(t);
378
378
  }, e.prototype.error = function(t) {
@@ -396,7 +396,7 @@ var _s = function(n) {
396
396
  this.unsubscribe();
397
397
  }
398
398
  }, e;
399
- }(bn), ya = function() {
399
+ }(mn), va = function() {
400
400
  function n(e) {
401
401
  this.partialObserver = e;
402
402
  }
@@ -406,7 +406,7 @@ var _s = function(n) {
406
406
  try {
407
407
  t.next(e);
408
408
  } catch (s) {
409
- Gt(s);
409
+ jt(s);
410
410
  }
411
411
  }, n.prototype.error = function(e) {
412
412
  var t = this.partialObserver;
@@ -414,20 +414,20 @@ var _s = function(n) {
414
414
  try {
415
415
  t.error(e);
416
416
  } catch (s) {
417
- Gt(s);
417
+ jt(s);
418
418
  }
419
419
  else
420
- Gt(e);
420
+ jt(e);
421
421
  }, n.prototype.complete = function() {
422
422
  var e = this.partialObserver;
423
423
  if (e.complete)
424
424
  try {
425
425
  e.complete();
426
426
  } catch (t) {
427
- Gt(t);
427
+ jt(t);
428
428
  }
429
429
  }, n;
430
- }(), is = function(n) {
430
+ }(), ss = function(n) {
431
431
  ot(e, n);
432
432
  function e(t, s, r) {
433
433
  var i = n.call(this) || this, o;
@@ -435,29 +435,29 @@ var _s = function(n) {
435
435
  next: t ?? void 0,
436
436
  error: s ?? void 0,
437
437
  complete: r ?? void 0
438
- } : o = t, i.destination = new ya(o), i;
438
+ } : o = t, i.destination = new va(o), i;
439
439
  }
440
440
  return e;
441
- }(_s);
442
- function Gt(n) {
443
- zi(n);
441
+ }(ws);
442
+ function jt(n) {
443
+ Di(n);
444
444
  }
445
- function $a(n) {
445
+ function ba(n) {
446
446
  throw n;
447
447
  }
448
- var xa = {
448
+ var ya = {
449
449
  closed: !0,
450
- next: Jt,
451
- error: $a,
452
- complete: Jt
453
- }, Ss = function() {
450
+ next: Qt,
451
+ error: ba,
452
+ complete: Qt
453
+ }, ks = function() {
454
454
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
455
455
  }();
456
- function Rt(n) {
456
+ function Lt(n) {
457
457
  return n;
458
458
  }
459
- function wa(n) {
460
- return n.length === 0 ? Rt : n.length === 1 ? n[0] : function(t) {
459
+ function $a(n) {
460
+ return n.length === 0 ? Lt : n.length === 1 ? n[0] : function(t) {
461
461
  return n.reduce(function(s, r) {
462
462
  return r(s);
463
463
  }, t);
@@ -471,8 +471,8 @@ var Z = function() {
471
471
  var t = new n();
472
472
  return t.source = this, t.operator = e, t;
473
473
  }, n.prototype.subscribe = function(e, t, s) {
474
- var r = this, i = _a(e) ? e : new is(e, t, s);
475
- return Xt(function() {
474
+ var r = this, i = wa(e) ? e : new ss(e, t, s);
475
+ return Yt(function() {
476
476
  var o = r, a = o.operator, l = o.source;
477
477
  i.add(a ? a.call(i, l) : l ? r._subscribe(i) : r._trySubscribe(i));
478
478
  }), i;
@@ -485,7 +485,7 @@ var Z = function() {
485
485
  }, n.prototype.forEach = function(e, t) {
486
486
  var s = this;
487
487
  return t = Pr(t), new t(function(r, i) {
488
- var o = new is({
488
+ var o = new ss({
489
489
  next: function(a) {
490
490
  try {
491
491
  e(a);
@@ -501,12 +501,12 @@ var Z = function() {
501
501
  }, n.prototype._subscribe = function(e) {
502
502
  var t;
503
503
  return (t = this.source) === null || t === void 0 ? void 0 : t.subscribe(e);
504
- }, n.prototype[Ss] = function() {
504
+ }, n.prototype[ks] = function() {
505
505
  return this;
506
506
  }, n.prototype.pipe = function() {
507
507
  for (var e = [], t = 0; t < arguments.length; t++)
508
508
  e[t] = arguments[t];
509
- return wa(e)(this);
509
+ return $a(e)(this);
510
510
  }, n.prototype.toPromise = function(e) {
511
511
  var t = this;
512
512
  return e = Pr(e), new e(function(s, r) {
@@ -525,20 +525,20 @@ var Z = function() {
525
525
  }();
526
526
  function Pr(n) {
527
527
  var e;
528
- return (e = n ?? va.Promise) !== null && e !== void 0 ? e : Promise;
528
+ return (e = n ?? ga.Promise) !== null && e !== void 0 ? e : Promise;
529
529
  }
530
- function ka(n) {
530
+ function xa(n) {
531
531
  return n && A(n.next) && A(n.error) && A(n.complete);
532
532
  }
533
- function _a(n) {
534
- return n && n instanceof _s || ka(n) && Ui(n);
533
+ function wa(n) {
534
+ return n && n instanceof ws || xa(n) && Ni(n);
535
535
  }
536
- function Sa(n) {
536
+ function ka(n) {
537
537
  return A(n == null ? void 0 : n.lift);
538
538
  }
539
539
  function Se(n) {
540
540
  return function(e) {
541
- if (Sa(e))
541
+ if (ka(e))
542
542
  return e.lift(function(t) {
543
543
  try {
544
544
  return n(t, this);
@@ -550,9 +550,9 @@ function Se(n) {
550
550
  };
551
551
  }
552
552
  function ne(n, e, t, s, r) {
553
- return new Aa(n, e, t, s, r);
553
+ return new _a(n, e, t, s, r);
554
554
  }
555
- var Aa = function(n) {
555
+ var _a = function(n) {
556
556
  ot(e, n);
557
557
  function e(t, s, r, i, o, a) {
558
558
  var l = n.call(this, t) || this;
@@ -587,7 +587,7 @@ var Aa = function(n) {
587
587
  n.prototype.unsubscribe.call(this), !s && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
588
588
  }
589
589
  }, e;
590
- }(_s), Ea = Ni(function(n) {
590
+ }(ws), Sa = Ii(function(n) {
591
591
  return function() {
592
592
  n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
593
593
  };
@@ -598,14 +598,14 @@ var Aa = function(n) {
598
598
  return t.closed = !1, t.currentObservers = null, t.observers = [], t.isStopped = !1, t.hasError = !1, t.thrownError = null, t;
599
599
  }
600
600
  return e.prototype.lift = function(t) {
601
- var s = new Mr(this, this);
601
+ var s = new Ir(this, this);
602
602
  return s.operator = t, s;
603
603
  }, e.prototype._throwIfClosed = function() {
604
604
  if (this.closed)
605
- throw new Ea();
605
+ throw new Sa();
606
606
  }, e.prototype.next = function(t) {
607
607
  var s = this;
608
- Xt(function() {
608
+ Yt(function() {
609
609
  var r, i;
610
610
  if (s._throwIfClosed(), !s.isStopped) {
611
611
  s.currentObservers || (s.currentObservers = Array.from(s.observers));
@@ -627,7 +627,7 @@ var Aa = function(n) {
627
627
  });
628
628
  }, e.prototype.error = function(t) {
629
629
  var s = this;
630
- Xt(function() {
630
+ Yt(function() {
631
631
  if (s._throwIfClosed(), !s.isStopped) {
632
632
  s.hasError = s.isStopped = !0, s.thrownError = t;
633
633
  for (var r = s.observers; r.length; )
@@ -636,7 +636,7 @@ var Aa = function(n) {
636
636
  });
637
637
  }, e.prototype.complete = function() {
638
638
  var t = this;
639
- Xt(function() {
639
+ Yt(function() {
640
640
  if (t._throwIfClosed(), !t.isStopped) {
641
641
  t.isStopped = !0;
642
642
  for (var s = t.observers; s.length; )
@@ -658,8 +658,8 @@ var Aa = function(n) {
658
658
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
659
659
  }, e.prototype._innerSubscribe = function(t) {
660
660
  var s = this, r = this, i = r.hasError, o = r.isStopped, a = r.observers;
661
- return i || o ? Di : (this.currentObservers = null, a.push(t), new bn(function() {
662
- s.currentObservers = null, rs(a, t);
661
+ return i || o ? Mi : (this.currentObservers = null, a.push(t), new mn(function() {
662
+ s.currentObservers = null, ns(a, t);
663
663
  }));
664
664
  }, e.prototype._checkFinalizedStatuses = function(t) {
665
665
  var s = this, r = s.hasError, i = s.thrownError, o = s.isStopped;
@@ -668,9 +668,9 @@ var Aa = function(n) {
668
668
  var t = new Z();
669
669
  return t.source = this, t;
670
670
  }, e.create = function(t, s) {
671
- return new Mr(t, s);
671
+ return new Ir(t, s);
672
672
  }, e;
673
- }(Z), Mr = function(n) {
673
+ }(Z), Ir = function(n) {
674
674
  ot(e, n);
675
675
  function e(t, s) {
676
676
  var r = n.call(this) || this;
@@ -687,7 +687,7 @@ var Aa = function(n) {
687
687
  (s = (t = this.destination) === null || t === void 0 ? void 0 : t.complete) === null || s === void 0 || s.call(t);
688
688
  }, e.prototype._subscribe = function(t) {
689
689
  var s, r;
690
- return (r = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && r !== void 0 ? r : Di;
690
+ return (r = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(t)) !== null && r !== void 0 ? r : Mi;
691
691
  }, e;
692
692
  }(U), te = function(n) {
693
693
  ot(e, n);
@@ -712,50 +712,50 @@ var Aa = function(n) {
712
712
  }, e.prototype.next = function(t) {
713
713
  n.prototype.next.call(this, this._value = t);
714
714
  }, e;
715
- }(U), Ot = new Z(function(n) {
715
+ }(U), Rt = new Z(function(n) {
716
716
  return n.complete();
717
717
  });
718
- function Ta(n) {
718
+ function Aa(n) {
719
719
  return n && A(n.schedule);
720
720
  }
721
- function As(n) {
721
+ function _s(n) {
722
722
  return n[n.length - 1];
723
723
  }
724
- function Hi(n) {
725
- return A(As(n)) ? n.pop() : void 0;
724
+ function Ui(n) {
725
+ return A(_s(n)) ? n.pop() : void 0;
726
726
  }
727
- function Es(n) {
728
- return Ta(As(n)) ? n.pop() : void 0;
727
+ function Ss(n) {
728
+ return Aa(_s(n)) ? n.pop() : void 0;
729
729
  }
730
- function Ca(n, e) {
731
- return typeof As(n) == "number" ? n.pop() : e;
730
+ function Ea(n, e) {
731
+ return typeof _s(n) == "number" ? n.pop() : e;
732
732
  }
733
- var Ts = function(n) {
733
+ var As = function(n) {
734
734
  return n && typeof n.length == "number" && typeof n != "function";
735
735
  };
736
- function Bi(n) {
736
+ function zi(n) {
737
737
  return A(n == null ? void 0 : n.then);
738
738
  }
739
- function Fi(n) {
740
- return A(n[Ss]);
739
+ function Hi(n) {
740
+ return A(n[ks]);
741
741
  }
742
- function ji(n) {
742
+ function Bi(n) {
743
743
  return Symbol.asyncIterator && A(n == null ? void 0 : n[Symbol.asyncIterator]);
744
744
  }
745
- function Gi(n) {
745
+ function Fi(n) {
746
746
  return new TypeError("You provided " + (n !== null && typeof n == "object" ? "an invalid object" : "'" + n + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
747
747
  }
748
- function La() {
748
+ function Ta() {
749
749
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
750
750
  }
751
- var Wi = La();
752
- function qi(n) {
753
- return A(n == null ? void 0 : n[Wi]);
751
+ var ji = Ta();
752
+ function Gi(n) {
753
+ return A(n == null ? void 0 : n[ji]);
754
754
  }
755
- function Zi(n) {
756
- return ga(this, arguments, function() {
755
+ function Wi(n) {
756
+ return da(this, arguments, function() {
757
757
  var t, s, r, i;
758
- return Mi(this, function(o) {
758
+ return Pi(this, function(o) {
759
759
  switch (o.label) {
760
760
  case 0:
761
761
  t = n.getReader(), o.label = 1;
@@ -783,53 +783,53 @@ function Zi(n) {
783
783
  });
784
784
  });
785
785
  }
786
- function Yi(n) {
786
+ function qi(n) {
787
787
  return A(n == null ? void 0 : n.getReader);
788
788
  }
789
789
  function le(n) {
790
790
  if (n instanceof Z)
791
791
  return n;
792
792
  if (n != null) {
793
- if (Fi(n))
793
+ if (Hi(n))
794
+ return Ca(n);
795
+ if (As(n))
796
+ return La(n);
797
+ if (zi(n))
794
798
  return Ra(n);
795
- if (Ts(n))
796
- return Oa(n);
797
799
  if (Bi(n))
798
- return Ia(n);
799
- if (ji(n))
800
- return Xi(n);
800
+ return Zi(n);
801
+ if (Gi(n))
802
+ return Oa(n);
801
803
  if (qi(n))
802
804
  return Pa(n);
803
- if (Yi(n))
804
- return Ma(n);
805
805
  }
806
- throw Gi(n);
806
+ throw Fi(n);
807
807
  }
808
- function Ra(n) {
808
+ function Ca(n) {
809
809
  return new Z(function(e) {
810
- var t = n[Ss]();
810
+ var t = n[ks]();
811
811
  if (A(t.subscribe))
812
812
  return t.subscribe(e);
813
813
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
814
814
  });
815
815
  }
816
- function Oa(n) {
816
+ function La(n) {
817
817
  return new Z(function(e) {
818
818
  for (var t = 0; t < n.length && !e.closed; t++)
819
819
  e.next(n[t]);
820
820
  e.complete();
821
821
  });
822
822
  }
823
- function Ia(n) {
823
+ function Ra(n) {
824
824
  return new Z(function(e) {
825
825
  n.then(function(t) {
826
826
  e.closed || (e.next(t), e.complete());
827
827
  }, function(t) {
828
828
  return e.error(t);
829
- }).then(null, zi);
829
+ }).then(null, Di);
830
830
  });
831
831
  }
832
- function Pa(n) {
832
+ function Oa(n) {
833
833
  return new Z(function(e) {
834
834
  var t, s;
835
835
  try {
@@ -850,24 +850,24 @@ function Pa(n) {
850
850
  e.complete();
851
851
  });
852
852
  }
853
- function Xi(n) {
853
+ function Zi(n) {
854
854
  return new Z(function(e) {
855
- Na(n, e).catch(function(t) {
855
+ Ia(n, e).catch(function(t) {
856
856
  return e.error(t);
857
857
  });
858
858
  });
859
859
  }
860
- function Ma(n) {
861
- return Xi(Zi(n));
860
+ function Pa(n) {
861
+ return Zi(Wi(n));
862
862
  }
863
- function Na(n, e) {
863
+ function Ia(n, e) {
864
864
  var t, s, r, i;
865
- return fa(this, void 0, void 0, function() {
865
+ return pa(this, void 0, void 0, function() {
866
866
  var o, a;
867
- return Mi(this, function(l) {
867
+ return Pi(this, function(l) {
868
868
  switch (l.label) {
869
869
  case 0:
870
- l.trys.push([0, 5, 6, 11]), t = ma(n), l.label = 1;
870
+ l.trys.push([0, 5, 6, 11]), t = fa(n), l.label = 1;
871
871
  case 1:
872
872
  return [4, t.next()];
873
873
  case 2:
@@ -906,7 +906,7 @@ function xe(n, e, t, s, r) {
906
906
  if (n.add(i), !r)
907
907
  return i;
908
908
  }
909
- function Ki(n, e) {
909
+ function Yi(n, e) {
910
910
  return e === void 0 && (e = 0), Se(function(t, s) {
911
911
  t.subscribe(ne(s, function(r) {
912
912
  return xe(s, n, function() {
@@ -923,20 +923,20 @@ function Ki(n, e) {
923
923
  }));
924
924
  });
925
925
  }
926
- function Vi(n, e) {
926
+ function Xi(n, e) {
927
927
  return e === void 0 && (e = 0), Se(function(t, s) {
928
928
  s.add(n.schedule(function() {
929
929
  return t.subscribe(s);
930
930
  }, e));
931
931
  });
932
932
  }
933
- function Da(n, e) {
934
- return le(n).pipe(Vi(e), Ki(e));
933
+ function Ma(n, e) {
934
+ return le(n).pipe(Xi(e), Yi(e));
935
935
  }
936
- function Ua(n, e) {
937
- return le(n).pipe(Vi(e), Ki(e));
936
+ function Na(n, e) {
937
+ return le(n).pipe(Xi(e), Yi(e));
938
938
  }
939
- function za(n, e) {
939
+ function Da(n, e) {
940
940
  return new Z(function(t) {
941
941
  var s = 0;
942
942
  return e.schedule(function() {
@@ -944,11 +944,11 @@ function za(n, e) {
944
944
  });
945
945
  });
946
946
  }
947
- function Ha(n, e) {
947
+ function Ua(n, e) {
948
948
  return new Z(function(t) {
949
949
  var s;
950
950
  return xe(t, e, function() {
951
- s = n[Wi](), xe(t, e, function() {
951
+ s = n[ji](), xe(t, e, function() {
952
952
  var r, i, o;
953
953
  try {
954
954
  r = s.next(), i = r.value, o = r.done;
@@ -963,7 +963,7 @@ function Ha(n, e) {
963
963
  };
964
964
  });
965
965
  }
966
- function Qi(n, e) {
966
+ function Ki(n, e) {
967
967
  if (!n)
968
968
  throw new Error("Iterable cannot be null");
969
969
  return new Z(function(t) {
@@ -977,36 +977,36 @@ function Qi(n, e) {
977
977
  });
978
978
  });
979
979
  }
980
- function Ba(n, e) {
981
- return Qi(Zi(n), e);
980
+ function za(n, e) {
981
+ return Ki(Wi(n), e);
982
982
  }
983
- function Fa(n, e) {
983
+ function Ha(n, e) {
984
984
  if (n != null) {
985
- if (Fi(n))
985
+ if (Hi(n))
986
+ return Ma(n, e);
987
+ if (As(n))
986
988
  return Da(n, e);
987
- if (Ts(n))
988
- return za(n, e);
989
+ if (zi(n))
990
+ return Na(n, e);
989
991
  if (Bi(n))
992
+ return Ki(n, e);
993
+ if (Gi(n))
990
994
  return Ua(n, e);
991
- if (ji(n))
992
- return Qi(n, e);
993
995
  if (qi(n))
994
- return Ha(n, e);
995
- if (Yi(n))
996
- return Ba(n, e);
996
+ return za(n, e);
997
997
  }
998
- throw Gi(n);
998
+ throw Fi(n);
999
999
  }
1000
- function yn(n, e) {
1001
- return e ? Fa(n, e) : le(n);
1000
+ function vn(n, e) {
1001
+ return e ? Ha(n, e) : le(n);
1002
1002
  }
1003
- function os() {
1003
+ function rs() {
1004
1004
  for (var n = [], e = 0; e < arguments.length; e++)
1005
1005
  n[e] = arguments[e];
1006
- var t = Es(n);
1007
- return yn(n, t);
1006
+ var t = Ss(n);
1007
+ return vn(n, t);
1008
1008
  }
1009
- function en(n, e) {
1009
+ function Jt(n, e) {
1010
1010
  return Se(function(t, s) {
1011
1011
  var r = 0;
1012
1012
  t.subscribe(ne(s, function(i) {
@@ -1014,23 +1014,23 @@ function en(n, e) {
1014
1014
  }));
1015
1015
  });
1016
1016
  }
1017
- var ja = Array.isArray;
1018
- function Ga(n, e) {
1019
- return ja(e) ? n.apply(void 0, nt([], Me(e))) : n(e);
1017
+ var Ba = Array.isArray;
1018
+ function Fa(n, e) {
1019
+ return Ba(e) ? n.apply(void 0, nt([], Me(e))) : n(e);
1020
1020
  }
1021
- function Ji(n) {
1022
- return en(function(e) {
1023
- return Ga(n, e);
1021
+ function Vi(n) {
1022
+ return Jt(function(e) {
1023
+ return Fa(n, e);
1024
1024
  });
1025
1025
  }
1026
- var Wa = Array.isArray, qa = Object.getPrototypeOf, Za = Object.prototype, Ya = Object.keys;
1027
- function Xa(n) {
1026
+ var ja = Array.isArray, Ga = Object.getPrototypeOf, Wa = Object.prototype, qa = Object.keys;
1027
+ function Za(n) {
1028
1028
  if (n.length === 1) {
1029
1029
  var e = n[0];
1030
- if (Wa(e))
1030
+ if (ja(e))
1031
1031
  return { args: e, keys: null };
1032
- if (Ka(e)) {
1033
- var t = Ya(e);
1032
+ if (Ya(e)) {
1033
+ var t = qa(e);
1034
1034
  return {
1035
1035
  args: t.map(function(s) {
1036
1036
  return e[s];
@@ -1041,31 +1041,31 @@ function Xa(n) {
1041
1041
  }
1042
1042
  return { args: n, keys: null };
1043
1043
  }
1044
- function Ka(n) {
1045
- return n && typeof n == "object" && qa(n) === Za;
1044
+ function Ya(n) {
1045
+ return n && typeof n == "object" && Ga(n) === Wa;
1046
1046
  }
1047
- function Va(n, e) {
1047
+ function Xa(n, e) {
1048
1048
  return n.reduce(function(t, s, r) {
1049
1049
  return t[s] = e[r], t;
1050
1050
  }, {});
1051
1051
  }
1052
- function Qa() {
1052
+ function Ka() {
1053
1053
  for (var n = [], e = 0; e < arguments.length; e++)
1054
1054
  n[e] = arguments[e];
1055
- var t = Es(n), s = Hi(n), r = Xa(n), i = r.args, o = r.keys;
1055
+ var t = Ss(n), s = Ui(n), r = Za(n), i = r.args, o = r.keys;
1056
1056
  if (i.length === 0)
1057
- return yn([], t);
1058
- var a = new Z(Ja(i, t, o ? function(l) {
1059
- return Va(o, l);
1060
- } : Rt));
1061
- return s ? a.pipe(Ji(s)) : a;
1062
- }
1063
- function Ja(n, e, t) {
1064
- return t === void 0 && (t = Rt), function(s) {
1065
- Nr(e, function() {
1057
+ return vn([], t);
1058
+ var a = new Z(Va(i, t, o ? function(l) {
1059
+ return Xa(o, l);
1060
+ } : Lt));
1061
+ return s ? a.pipe(Vi(s)) : a;
1062
+ }
1063
+ function Va(n, e, t) {
1064
+ return t === void 0 && (t = Lt), function(s) {
1065
+ Mr(e, function() {
1066
1066
  for (var r = n.length, i = new Array(r), o = r, a = r, l = function(u) {
1067
- Nr(e, function() {
1068
- var d = yn(n[u], e), p = !1;
1067
+ Mr(e, function() {
1068
+ var d = vn(n[u], e), p = !1;
1069
1069
  d.subscribe(ne(s, function(g) {
1070
1070
  i[u] = g, p || (p = !0, a--), a || s.next(t(i.slice()));
1071
1071
  }, function() {
@@ -1077,10 +1077,10 @@ function Ja(n, e, t) {
1077
1077
  }, s);
1078
1078
  };
1079
1079
  }
1080
- function Nr(n, e, t) {
1080
+ function Mr(n, e, t) {
1081
1081
  n ? xe(t, n, e) : e();
1082
1082
  }
1083
- function el(n, e, t, s, r, i, o, a) {
1083
+ function Qa(n, e, t, s, r, i, o, a) {
1084
1084
  var l = [], c = 0, u = 0, d = !1, p = function() {
1085
1085
  d && !l.length && !c && e.complete();
1086
1086
  }, g = function(y) {
@@ -1112,30 +1112,30 @@ function el(n, e, t, s, r, i, o, a) {
1112
1112
  })), function() {
1113
1113
  };
1114
1114
  }
1115
- function Cs(n, e, t) {
1116
- return t === void 0 && (t = 1 / 0), A(e) ? Cs(function(s, r) {
1117
- return en(function(i, o) {
1115
+ function Es(n, e, t) {
1116
+ return t === void 0 && (t = 1 / 0), A(e) ? Es(function(s, r) {
1117
+ return Jt(function(i, o) {
1118
1118
  return e(s, i, r, o);
1119
1119
  })(le(n(s, r)));
1120
1120
  }, t) : (typeof e == "number" && (t = e), Se(function(s, r) {
1121
- return el(s, r, n, t);
1121
+ return Qa(s, r, n, t);
1122
1122
  }));
1123
1123
  }
1124
- function tl(n) {
1125
- return n === void 0 && (n = 1 / 0), Cs(Rt, n);
1124
+ function Ja(n) {
1125
+ return n === void 0 && (n = 1 / 0), Es(Lt, n);
1126
1126
  }
1127
- var nl = ["addListener", "removeListener"], sl = ["addEventListener", "removeEventListener"], rl = ["on", "off"];
1128
- function tn(n, e, t, s) {
1127
+ var el = ["addListener", "removeListener"], tl = ["addEventListener", "removeEventListener"], nl = ["on", "off"];
1128
+ function en(n, e, t, s) {
1129
1129
  if (A(t) && (s = t, t = void 0), s)
1130
- return tn(n, e, t).pipe(Ji(s));
1131
- var r = Me(al(n) ? sl.map(function(a) {
1130
+ return en(n, e, t).pipe(Vi(s));
1131
+ var r = Me(il(n) ? tl.map(function(a) {
1132
1132
  return function(l) {
1133
1133
  return n[a](e, l, t);
1134
1134
  };
1135
- }) : il(n) ? nl.map(Dr(n, e)) : ol(n) ? rl.map(Dr(n, e)) : [], 2), i = r[0], o = r[1];
1136
- if (!i && Ts(n))
1137
- return Cs(function(a) {
1138
- return tn(a, e, t);
1135
+ }) : sl(n) ? el.map(Nr(n, e)) : rl(n) ? nl.map(Nr(n, e)) : [], 2), i = r[0], o = r[1];
1136
+ if (!i && As(n))
1137
+ return Es(function(a) {
1138
+ return en(a, e, t);
1139
1139
  })(le(n));
1140
1140
  if (!i)
1141
1141
  throw new TypeError("Invalid event target");
@@ -1150,31 +1150,31 @@ function tn(n, e, t, s) {
1150
1150
  };
1151
1151
  });
1152
1152
  }
1153
- function Dr(n, e) {
1153
+ function Nr(n, e) {
1154
1154
  return function(t) {
1155
1155
  return function(s) {
1156
1156
  return n[t](e, s);
1157
1157
  };
1158
1158
  };
1159
1159
  }
1160
- function il(n) {
1160
+ function sl(n) {
1161
1161
  return A(n.addListener) && A(n.removeListener);
1162
1162
  }
1163
- function ol(n) {
1163
+ function rl(n) {
1164
1164
  return A(n.on) && A(n.off);
1165
1165
  }
1166
- function al(n) {
1166
+ function il(n) {
1167
1167
  return A(n.addEventListener) && A(n.removeEventListener);
1168
1168
  }
1169
- function ll() {
1169
+ function ol() {
1170
1170
  for (var n = [], e = 0; e < arguments.length; e++)
1171
1171
  n[e] = arguments[e];
1172
- var t = Es(n), s = Ca(n, 1 / 0), r = n;
1173
- return r.length ? r.length === 1 ? le(r[0]) : tl(s)(yn(r, t)) : Ot;
1172
+ var t = Ss(n), s = Ea(n, 1 / 0), r = n;
1173
+ return r.length ? r.length === 1 ? le(r[0]) : Ja(s)(vn(r, t)) : Rt;
1174
1174
  }
1175
- function as(n) {
1175
+ function is(n) {
1176
1176
  return n <= 0 ? function() {
1177
- return Ot;
1177
+ return Rt;
1178
1178
  } : Se(function(e, t) {
1179
1179
  var s = 0;
1180
1180
  e.subscribe(ne(t, function(r) {
@@ -1200,24 +1200,24 @@ function Qe(n, e) {
1200
1200
  }));
1201
1201
  });
1202
1202
  }
1203
- function ls(n) {
1203
+ function os(n) {
1204
1204
  return Se(function(e, t) {
1205
1205
  le(n).subscribe(ne(t, function() {
1206
1206
  return t.complete();
1207
- }, Jt)), !t.closed && e.subscribe(t);
1207
+ }, Qt)), !t.closed && e.subscribe(t);
1208
1208
  });
1209
1209
  }
1210
- function cs() {
1210
+ function as() {
1211
1211
  for (var n = [], e = 0; e < arguments.length; e++)
1212
1212
  n[e] = arguments[e];
1213
- var t = Hi(n);
1213
+ var t = Ui(n);
1214
1214
  return Se(function(s, r) {
1215
1215
  for (var i = n.length, o = new Array(i), a = n.map(function() {
1216
1216
  return !1;
1217
1217
  }), l = !1, c = function(d) {
1218
1218
  le(n[d]).subscribe(ne(r, function(p) {
1219
- o[d] = p, !l && !a[d] && (a[d] = !0, (l = a.every(Rt)) && (a = null));
1220
- }, Jt));
1219
+ o[d] = p, !l && !a[d] && (a[d] = !0, (l = a.every(Lt)) && (a = null));
1220
+ }, Qt));
1221
1221
  }, u = 0; u < i; u++)
1222
1222
  c(u);
1223
1223
  s.subscribe(ne(r, function(d) {
@@ -1229,11 +1229,11 @@ function cs() {
1229
1229
  });
1230
1230
  }
1231
1231
  var we = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System = "system", n))(we || {});
1232
- const cl = () => "10000000-1000-4000-8000-100000000000".replace(
1232
+ const al = () => "10000000-1000-4000-8000-100000000000".replace(
1233
1233
  /[018]/g,
1234
1234
  (n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
1235
- ), eo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : cl();
1236
- function Oh(n) {
1235
+ ), Qi = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : al();
1236
+ function Lh(n) {
1237
1237
  let e = n;
1238
1238
  const t = /https?:\/\/[^\s<]+/gi, s = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, r = n.match(t) || [], i = [];
1239
1239
  let o;
@@ -1253,12 +1253,12 @@ function Oh(n) {
1253
1253
  );
1254
1254
  }), e;
1255
1255
  }
1256
- function ul(n) {
1256
+ function ll(n) {
1257
1257
  if (n.includes("aceChatGuideTitle"))
1258
- return hl(n);
1258
+ return cl(n);
1259
1259
  const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
1260
1260
  return n.replace(e, (t) => {
1261
- const s = to(t);
1261
+ const s = Ji(t);
1262
1262
  if (!s)
1263
1263
  return t;
1264
1264
  const r = 50;
@@ -1273,12 +1273,12 @@ function ul(n) {
1273
1273
  d - u.length - 4
1274
1274
  ) + ".../" + u : p = c.substring(0, d - 3) + "...";
1275
1275
  const g = `${a}${p}`;
1276
- return us(t, g);
1276
+ return ls(t, g);
1277
1277
  }
1278
- return us(t, s);
1278
+ return ls(t, s);
1279
1279
  });
1280
1280
  }
1281
- function to(n) {
1281
+ function Ji(n) {
1282
1282
  const e = n.match(/href=["']([^'"]*)["']/);
1283
1283
  if (e && e.length > 1) {
1284
1284
  let t = e[1];
@@ -1286,22 +1286,22 @@ function to(n) {
1286
1286
  }
1287
1287
  return null;
1288
1288
  }
1289
- function us(n, e) {
1289
+ function ls(n, e) {
1290
1290
  return n.replace(/>[^<]*<\/a>/, `>${e}</a>`);
1291
1291
  }
1292
- function hl(n) {
1292
+ function cl(n) {
1293
1293
  const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
1294
1294
  return n.replace(e, (t) => {
1295
- const s = to(t);
1295
+ const s = Ji(t);
1296
1296
  if (!s)
1297
1297
  return t;
1298
1298
  const r = s.split("?").pop(), o = new URLSearchParams(r).get("aceChatGuideTitle");
1299
- return o ? us(t, o) : t;
1299
+ return o ? ls(t, o) : t;
1300
1300
  });
1301
1301
  }
1302
- class $n {
1302
+ class bn {
1303
1303
  constructor(e, t, s) {
1304
- this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new U(), this.actions$ = new U(), this.remove$ = new U(), this.timestamp = Date.now(), this.id = eo();
1304
+ this.type = e, this.sender = t, this.messages = s, this.status = "delivered", this.didUpdate = new U(), this.actions$ = new U(), this.remove$ = new U(), this.timestamp = Date.now(), this.id = Qi();
1305
1305
  }
1306
1306
  update(e) {
1307
1307
  this.messages = [
@@ -1317,12 +1317,12 @@ class $n {
1317
1317
  this.remove$.next();
1318
1318
  }
1319
1319
  }
1320
- class pl {
1320
+ class ul {
1321
1321
  constructor(e) {
1322
1322
  this.name = e, this.print$ = new U();
1323
1323
  }
1324
1324
  print(e, t = "html", s = this.name) {
1325
- const r = new $n(
1325
+ const r = new bn(
1326
1326
  we.Agent,
1327
1327
  { name: s },
1328
1328
  [
@@ -1337,12 +1337,12 @@ class pl {
1337
1337
  return this.print$.asObservable();
1338
1338
  }
1339
1339
  }
1340
- class dl {
1340
+ class hl {
1341
1341
  constructor(e) {
1342
1342
  this.name = e, this.print$ = new U();
1343
1343
  }
1344
1344
  print(e) {
1345
- const t = new $n(
1345
+ const t = new bn(
1346
1346
  we.User,
1347
1347
  { name: this.name },
1348
1348
  [
@@ -1357,12 +1357,12 @@ class dl {
1357
1357
  return this.print$.asObservable();
1358
1358
  }
1359
1359
  }
1360
- class fl {
1360
+ class pl {
1361
1361
  constructor() {
1362
1362
  this.print$ = new U(), this.name = "system";
1363
1363
  }
1364
1364
  print(e) {
1365
- const t = new $n(
1365
+ const t = new bn(
1366
1366
  we.System,
1367
1367
  { name: this.name },
1368
1368
  [
@@ -1377,12 +1377,12 @@ class fl {
1377
1377
  return this.print$.asObservable();
1378
1378
  }
1379
1379
  }
1380
- class Ih {
1380
+ class Rh {
1381
1381
  constructor(e, t) {
1382
1382
  this.name = e, this.component = t, this.print$ = new U(), this.typingState$ = new te(!1), this.complete$ = new U(), this.system = this.createSystem(), this.rehydrate$ = new U(), this.saveToCurrentSession$ = new U(), this.showChatOverlay$ = new te(!1), this.onComplete = () => this.complete$.asObservable();
1383
1383
  }
1384
1384
  connect(e = {}) {
1385
- this.complete$.pipe(as(1)).subscribe(() => {
1385
+ this.complete$.pipe(is(1)).subscribe(() => {
1386
1386
  this.disconnected();
1387
1387
  });
1388
1388
  }
@@ -1394,7 +1394,7 @@ class Ih {
1394
1394
  this.print(we.User, e.text);
1395
1395
  }
1396
1396
  print(e, t) {
1397
- const s = new $n(
1397
+ const s = new bn(
1398
1398
  e,
1399
1399
  {
1400
1400
  name: ""
@@ -1411,19 +1411,19 @@ class Ih {
1411
1411
  return this.print$.next(e), e;
1412
1412
  }
1413
1413
  createAgent(e) {
1414
- const t = new pl(e);
1414
+ const t = new ul(e);
1415
1415
  return t.subscribe().subscribe((s) => {
1416
1416
  this.playNotification(), this.printEntry(s);
1417
1417
  }), t;
1418
1418
  }
1419
1419
  createUser(e) {
1420
- const t = new dl(e);
1420
+ const t = new hl(e);
1421
1421
  return t.subscribe().subscribe((s) => {
1422
1422
  this.printEntry(s);
1423
1423
  }), t;
1424
1424
  }
1425
1425
  createSystem() {
1426
- const e = new fl();
1426
+ const e = new pl();
1427
1427
  return e.subscribe().subscribe((t) => {
1428
1428
  this.printEntry(t);
1429
1429
  }), e;
@@ -1459,18 +1459,18 @@ class Ih {
1459
1459
  * Copyright 2019 Google LLC
1460
1460
  * SPDX-License-Identifier: BSD-3-Clause
1461
1461
  */
1462
- const Kt = globalThis, Ls = Kt.ShadowRoot && (Kt.ShadyCSS === void 0 || Kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Rs = Symbol(), Ur = /* @__PURE__ */ new WeakMap();
1463
- let no = class {
1462
+ const Xt = globalThis, Ts = Xt.ShadowRoot && (Xt.ShadyCSS === void 0 || Xt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Cs = Symbol(), Dr = /* @__PURE__ */ new WeakMap();
1463
+ let eo = class {
1464
1464
  constructor(e, t, s) {
1465
- if (this._$cssResult$ = !0, s !== Rs) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1465
+ if (this._$cssResult$ = !0, s !== Cs) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1466
1466
  this.cssText = e, this.t = t;
1467
1467
  }
1468
1468
  get styleSheet() {
1469
1469
  let e = this.o;
1470
1470
  const t = this.t;
1471
- if (Ls && e === void 0) {
1471
+ if (Ts && e === void 0) {
1472
1472
  const s = t !== void 0 && t.length === 1;
1473
- s && (e = Ur.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && Ur.set(t, e));
1473
+ s && (e = Dr.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && Dr.set(t, e));
1474
1474
  }
1475
1475
  return e;
1476
1476
  }
@@ -1478,33 +1478,33 @@ let no = class {
1478
1478
  return this.cssText;
1479
1479
  }
1480
1480
  };
1481
- const gl = (n) => new no(typeof n == "string" ? n : n + "", void 0, Rs), Y = (n, ...e) => {
1481
+ const dl = (n) => new eo(typeof n == "string" ? n : n + "", void 0, Cs), Y = (n, ...e) => {
1482
1482
  const t = n.length === 1 ? n[0] : e.reduce((s, r, i) => s + ((o) => {
1483
1483
  if (o._$cssResult$ === !0) return o.cssText;
1484
1484
  if (typeof o == "number") return o;
1485
1485
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
1486
1486
  })(r) + n[i + 1], n[0]);
1487
- return new no(t, n, Rs);
1488
- }, ml = (n, e) => {
1489
- if (Ls) n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
1487
+ return new eo(t, n, Cs);
1488
+ }, fl = (n, e) => {
1489
+ if (Ts) n.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
1490
1490
  else for (const t of e) {
1491
- const s = document.createElement("style"), r = Kt.litNonce;
1491
+ const s = document.createElement("style"), r = Xt.litNonce;
1492
1492
  r !== void 0 && s.setAttribute("nonce", r), s.textContent = t.cssText, n.appendChild(s);
1493
1493
  }
1494
- }, zr = Ls ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1494
+ }, Ur = Ts ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1495
1495
  let t = "";
1496
1496
  for (const s of e.cssRules) t += s.cssText;
1497
- return gl(t);
1497
+ return dl(t);
1498
1498
  })(n) : n;
1499
1499
  /**
1500
1500
  * @license
1501
1501
  * Copyright 2017 Google LLC
1502
1502
  * SPDX-License-Identifier: BSD-3-Clause
1503
1503
  */
1504
- const { is: vl, defineProperty: bl, getOwnPropertyDescriptor: yl, getOwnPropertyNames: $l, getOwnPropertySymbols: xl, getPrototypeOf: wl } = Object, ke = globalThis, Hr = ke.trustedTypes, kl = Hr ? Hr.emptyScript : "", Gn = ke.reactiveElementPolyfillSupport, yt = (n, e) => n, nn = { toAttribute(n, e) {
1504
+ const { is: gl, defineProperty: ml, getOwnPropertyDescriptor: vl, getOwnPropertyNames: bl, getOwnPropertySymbols: yl, getPrototypeOf: $l } = Object, ke = globalThis, zr = ke.trustedTypes, xl = zr ? zr.emptyScript : "", Fn = ke.reactiveElementPolyfillSupport, yt = (n, e) => n, tn = { toAttribute(n, e) {
1505
1505
  switch (e) {
1506
1506
  case Boolean:
1507
- n = n ? kl : null;
1507
+ n = n ? xl : null;
1508
1508
  break;
1509
1509
  case Object:
1510
1510
  case Array:
@@ -1529,7 +1529,7 @@ const { is: vl, defineProperty: bl, getOwnPropertyDescriptor: yl, getOwnProperty
1529
1529
  }
1530
1530
  }
1531
1531
  return t;
1532
- } }, Os = (n, e) => !vl(n, e), Br = { attribute: !0, type: String, converter: nn, reflect: !1, useDefault: !1, hasChanged: Os };
1532
+ } }, Ls = (n, e) => !gl(n, e), Hr = { attribute: !0, type: String, converter: tn, reflect: !1, useDefault: !1, hasChanged: Ls };
1533
1533
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), ke.litPropertyMetadata ?? (ke.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1534
1534
  let Ze = class extends HTMLElement {
1535
1535
  static addInitializer(e) {
@@ -1538,14 +1538,14 @@ let Ze = class extends HTMLElement {
1538
1538
  static get observedAttributes() {
1539
1539
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1540
1540
  }
1541
- static createProperty(e, t = Br) {
1541
+ static createProperty(e, t = Hr) {
1542
1542
  if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
1543
1543
  const s = Symbol(), r = this.getPropertyDescriptor(e, s, t);
1544
- r !== void 0 && bl(this.prototype, e, r);
1544
+ r !== void 0 && ml(this.prototype, e, r);
1545
1545
  }
1546
1546
  }
1547
1547
  static getPropertyDescriptor(e, t, s) {
1548
- const { get: r, set: i } = yl(this.prototype, e) ?? { get() {
1548
+ const { get: r, set: i } = vl(this.prototype, e) ?? { get() {
1549
1549
  return this[t];
1550
1550
  }, set(o) {
1551
1551
  this[t] = o;
@@ -1556,17 +1556,17 @@ let Ze = class extends HTMLElement {
1556
1556
  }, configurable: !0, enumerable: !0 };
1557
1557
  }
1558
1558
  static getPropertyOptions(e) {
1559
- return this.elementProperties.get(e) ?? Br;
1559
+ return this.elementProperties.get(e) ?? Hr;
1560
1560
  }
1561
1561
  static _$Ei() {
1562
1562
  if (this.hasOwnProperty(yt("elementProperties"))) return;
1563
- const e = wl(this);
1563
+ const e = $l(this);
1564
1564
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
1565
1565
  }
1566
1566
  static finalize() {
1567
1567
  if (this.hasOwnProperty(yt("finalized"))) return;
1568
1568
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(yt("properties"))) {
1569
- const t = this.properties, s = [...$l(t), ...xl(t)];
1569
+ const t = this.properties, s = [...bl(t), ...yl(t)];
1570
1570
  for (const r of s) this.createProperty(r, t[r]);
1571
1571
  }
1572
1572
  const e = this[Symbol.metadata];
@@ -1585,8 +1585,8 @@ let Ze = class extends HTMLElement {
1585
1585
  const t = [];
1586
1586
  if (Array.isArray(e)) {
1587
1587
  const s = new Set(e.flat(1 / 0).reverse());
1588
- for (const r of s) t.unshift(zr(r));
1589
- } else e !== void 0 && t.push(zr(e));
1588
+ for (const r of s) t.unshift(Ur(r));
1589
+ } else e !== void 0 && t.push(Ur(e));
1590
1590
  return t;
1591
1591
  }
1592
1592
  static _$Eu(e, t) {
@@ -1615,7 +1615,7 @@ let Ze = class extends HTMLElement {
1615
1615
  }
1616
1616
  createRenderRoot() {
1617
1617
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1618
- return ml(e, this.constructor.elementStyles), e;
1618
+ return fl(e, this.constructor.elementStyles), e;
1619
1619
  }
1620
1620
  connectedCallback() {
1621
1621
  var e;
@@ -1640,7 +1640,7 @@ let Ze = class extends HTMLElement {
1640
1640
  var i;
1641
1641
  const s = this.constructor.elementProperties.get(e), r = this.constructor._$Eu(e, s);
1642
1642
  if (r !== void 0 && s.reflect === !0) {
1643
- const o = (((i = s.converter) == null ? void 0 : i.toAttribute) !== void 0 ? s.converter : nn).toAttribute(t, s.type);
1643
+ const o = (((i = s.converter) == null ? void 0 : i.toAttribute) !== void 0 ? s.converter : tn).toAttribute(t, s.type);
1644
1644
  this._$Em = e, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
1645
1645
  }
1646
1646
  }
@@ -1648,15 +1648,17 @@ let Ze = class extends HTMLElement {
1648
1648
  var i, o;
1649
1649
  const s = this.constructor, r = s._$Eh.get(e);
1650
1650
  if (r !== void 0 && this._$Em !== r) {
1651
- const a = s.getPropertyOptions(r), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : nn;
1652
- this._$Em = r, this[r] = l.fromAttribute(t, a.type) ?? ((o = this._$Ej) == null ? void 0 : o.get(r)) ?? null, this._$Em = null;
1651
+ const a = s.getPropertyOptions(r), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((i = a.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? a.converter : tn;
1652
+ this._$Em = r;
1653
+ const c = l.fromAttribute(t, a.type);
1654
+ this[r] = c ?? ((o = this._$Ej) == null ? void 0 : o.get(r)) ?? c, this._$Em = null;
1653
1655
  }
1654
1656
  }
1655
1657
  requestUpdate(e, t, s) {
1656
1658
  var r;
1657
1659
  if (e !== void 0) {
1658
1660
  const i = this.constructor, o = this[e];
1659
- if (s ?? (s = i.getPropertyOptions(e)), !((s.hasChanged ?? Os)(o, t) || s.useDefault && s.reflect && o === ((r = this._$Ej) == null ? void 0 : r.get(e)) && !this.hasAttribute(i._$Eu(e, s)))) return;
1661
+ if (s ?? (s = i.getPropertyOptions(e)), !((s.hasChanged ?? Ls)(o, t) || s.useDefault && s.reflect && o === ((r = this._$Ej) == null ? void 0 : r.get(e)) && !this.hasAttribute(i._$Eu(e, s)))) return;
1660
1662
  this.C(e, t, s);
1661
1663
  }
1662
1664
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -1732,56 +1734,56 @@ let Ze = class extends HTMLElement {
1732
1734
  firstUpdated(e) {
1733
1735
  }
1734
1736
  };
1735
- Ze.elementStyles = [], Ze.shadowRootOptions = { mode: "open" }, Ze[yt("elementProperties")] = /* @__PURE__ */ new Map(), Ze[yt("finalized")] = /* @__PURE__ */ new Map(), Gn == null || Gn({ ReactiveElement: Ze }), (ke.reactiveElementVersions ?? (ke.reactiveElementVersions = [])).push("2.1.0");
1737
+ Ze.elementStyles = [], Ze.shadowRootOptions = { mode: "open" }, Ze[yt("elementProperties")] = /* @__PURE__ */ new Map(), Ze[yt("finalized")] = /* @__PURE__ */ new Map(), Fn == null || Fn({ ReactiveElement: Ze }), (ke.reactiveElementVersions ?? (ke.reactiveElementVersions = [])).push("2.1.1");
1736
1738
  /**
1737
1739
  * @license
1738
1740
  * Copyright 2017 Google LLC
1739
1741
  * SPDX-License-Identifier: BSD-3-Clause
1740
1742
  */
1741
- const $t = globalThis, sn = $t.trustedTypes, Fr = sn ? sn.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, so = "$lit$", $e = `lit$${Math.random().toFixed(9).slice(2)}$`, ro = "?" + $e, _l = `<${ro}>`, Ne = document, kt = () => Ne.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Is = Array.isArray, Sl = (n) => Is(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Wn = `[
1742
- \f\r]`, ht = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, jr = /-->/g, Gr = />/g, Re = RegExp(`>|${Wn}(?:([^\\s"'>=/]+)(${Wn}*=${Wn}*(?:[^
1743
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Wr = /'/g, qr = /"/g, io = /^(?:script|style|textarea|title)$/i, Al = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = Al(1), _e = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), Zr = /* @__PURE__ */ new WeakMap(), Ie = Ne.createTreeWalker(Ne, 129);
1744
- function oo(n, e) {
1745
- if (!Is(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1746
- return Fr !== void 0 ? Fr.createHTML(e) : e;
1747
- }
1748
- const El = (n, e) => {
1743
+ const $t = globalThis, nn = $t.trustedTypes, Br = nn ? nn.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, to = "$lit$", $e = `lit$${Math.random().toFixed(9).slice(2)}$`, no = "?" + $e, wl = `<${no}>`, Ne = document, kt = () => Ne.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Rs = Array.isArray, kl = (n) => Rs(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", jn = `[
1744
+ \f\r]`, ht = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Fr = /-->/g, jr = />/g, Re = RegExp(`>|${jn}(?:([^\\s"'>=/]+)(${jn}*=${jn}*(?:[^
1745
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Gr = /'/g, Wr = /"/g, so = /^(?:script|style|textarea|title)$/i, _l = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = _l(1), _e = Symbol.for("lit-noChange"), x = Symbol.for("lit-nothing"), qr = /* @__PURE__ */ new WeakMap(), Pe = Ne.createTreeWalker(Ne, 129);
1746
+ function ro(n, e) {
1747
+ if (!Rs(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1748
+ return Br !== void 0 ? Br.createHTML(e) : e;
1749
+ }
1750
+ const Sl = (n, e) => {
1749
1751
  const t = n.length - 1, s = [];
1750
1752
  let r, i = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = ht;
1751
1753
  for (let a = 0; a < t; a++) {
1752
1754
  const l = n[a];
1753
1755
  let c, u, d = -1, p = 0;
1754
- for (; p < l.length && (o.lastIndex = p, u = o.exec(l), u !== null); ) p = o.lastIndex, o === ht ? u[1] === "!--" ? o = jr : u[1] !== void 0 ? o = Gr : u[2] !== void 0 ? (io.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = Re) : u[3] !== void 0 && (o = Re) : o === Re ? u[0] === ">" ? (o = r ?? ht, d = -1) : u[1] === void 0 ? d = -2 : (d = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Re : u[3] === '"' ? qr : Wr) : o === qr || o === Wr ? o = Re : o === jr || o === Gr ? o = ht : (o = Re, r = void 0);
1756
+ for (; p < l.length && (o.lastIndex = p, u = o.exec(l), u !== null); ) p = o.lastIndex, o === ht ? u[1] === "!--" ? o = Fr : u[1] !== void 0 ? o = jr : u[2] !== void 0 ? (so.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = Re) : u[3] !== void 0 && (o = Re) : o === Re ? u[0] === ">" ? (o = r ?? ht, d = -1) : u[1] === void 0 ? d = -2 : (d = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Re : u[3] === '"' ? Wr : Gr) : o === Wr || o === Gr ? o = Re : o === Fr || o === jr ? o = ht : (o = Re, r = void 0);
1755
1757
  const g = o === Re && n[a + 1].startsWith("/>") ? " " : "";
1756
- i += o === ht ? l + _l : d >= 0 ? (s.push(c), l.slice(0, d) + so + l.slice(d) + $e + g) : l + $e + (d === -2 ? a : g);
1758
+ i += o === ht ? l + wl : d >= 0 ? (s.push(c), l.slice(0, d) + to + l.slice(d) + $e + g) : l + $e + (d === -2 ? a : g);
1757
1759
  }
1758
- return [oo(n, i + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1760
+ return [ro(n, i + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
1759
1761
  };
1760
- let hs = class ao {
1762
+ let cs = class io {
1761
1763
  constructor({ strings: e, _$litType$: t }, s) {
1762
1764
  let r;
1763
1765
  this.parts = [];
1764
1766
  let i = 0, o = 0;
1765
- const a = e.length - 1, l = this.parts, [c, u] = El(e, t);
1766
- if (this.el = ao.createElement(c, s), Ie.currentNode = this.el.content, t === 2 || t === 3) {
1767
+ const a = e.length - 1, l = this.parts, [c, u] = Sl(e, t);
1768
+ if (this.el = io.createElement(c, s), Pe.currentNode = this.el.content, t === 2 || t === 3) {
1767
1769
  const d = this.el.content.firstChild;
1768
1770
  d.replaceWith(...d.childNodes);
1769
1771
  }
1770
- for (; (r = Ie.nextNode()) !== null && l.length < a; ) {
1772
+ for (; (r = Pe.nextNode()) !== null && l.length < a; ) {
1771
1773
  if (r.nodeType === 1) {
1772
- if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(so)) {
1774
+ if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(to)) {
1773
1775
  const p = u[o++], g = r.getAttribute(d).split($e), m = /([.?@])?(.*)/.exec(p);
1774
- l.push({ type: 1, index: i, name: m[2], strings: g, ctor: m[1] === "." ? Cl : m[1] === "?" ? Ll : m[1] === "@" ? Rl : xn }), r.removeAttribute(d);
1776
+ l.push({ type: 1, index: i, name: m[2], strings: g, ctor: m[1] === "." ? El : m[1] === "?" ? Tl : m[1] === "@" ? Cl : yn }), r.removeAttribute(d);
1775
1777
  } else d.startsWith($e) && (l.push({ type: 6, index: i }), r.removeAttribute(d));
1776
- if (io.test(r.tagName)) {
1778
+ if (so.test(r.tagName)) {
1777
1779
  const d = r.textContent.split($e), p = d.length - 1;
1778
1780
  if (p > 0) {
1779
- r.textContent = sn ? sn.emptyScript : "";
1780
- for (let g = 0; g < p; g++) r.append(d[g], kt()), Ie.nextNode(), l.push({ type: 2, index: ++i });
1781
+ r.textContent = nn ? nn.emptyScript : "";
1782
+ for (let g = 0; g < p; g++) r.append(d[g], kt()), Pe.nextNode(), l.push({ type: 2, index: ++i });
1781
1783
  r.append(d[p], kt());
1782
1784
  }
1783
1785
  }
1784
- } else if (r.nodeType === 8) if (r.data === ro) l.push({ type: 2, index: i });
1786
+ } else if (r.nodeType === 8) if (r.data === no) l.push({ type: 2, index: i });
1785
1787
  else {
1786
1788
  let d = -1;
1787
1789
  for (; (d = r.data.indexOf($e, d + 1)) !== -1; ) l.push({ type: 7, index: i }), d += $e.length - 1;
@@ -1801,7 +1803,7 @@ function st(n, e, t = n, s) {
1801
1803
  const i = _t(e) ? void 0 : e._$litDirective$;
1802
1804
  return (r == null ? void 0 : r.constructor) !== i && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), i === void 0 ? r = void 0 : (r = new i(n), r._$AT(n, t, s)), s !== void 0 ? (t._$Co ?? (t._$Co = []))[s] = r : t._$Cl = r), r !== void 0 && (e = st(n, r._$AS(n, e.values), r, s)), e;
1803
1805
  }
1804
- class Tl {
1806
+ class Al {
1805
1807
  constructor(e, t) {
1806
1808
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
1807
1809
  }
@@ -1813,23 +1815,23 @@ class Tl {
1813
1815
  }
1814
1816
  u(e) {
1815
1817
  const { el: { content: t }, parts: s } = this._$AD, r = ((e == null ? void 0 : e.creationScope) ?? Ne).importNode(t, !0);
1816
- Ie.currentNode = r;
1817
- let i = Ie.nextNode(), o = 0, a = 0, l = s[0];
1818
+ Pe.currentNode = r;
1819
+ let i = Pe.nextNode(), o = 0, a = 0, l = s[0];
1818
1820
  for (; l !== void 0; ) {
1819
1821
  if (o === l.index) {
1820
1822
  let c;
1821
- l.type === 2 ? c = new It(i, i.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(i, l.name, l.strings, this, e) : l.type === 6 && (c = new Ol(i, this, e)), this._$AV.push(c), l = s[++a];
1823
+ l.type === 2 ? c = new Ot(i, i.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(i, l.name, l.strings, this, e) : l.type === 6 && (c = new Ll(i, this, e)), this._$AV.push(c), l = s[++a];
1822
1824
  }
1823
- o !== (l == null ? void 0 : l.index) && (i = Ie.nextNode(), o++);
1825
+ o !== (l == null ? void 0 : l.index) && (i = Pe.nextNode(), o++);
1824
1826
  }
1825
- return Ie.currentNode = Ne, r;
1827
+ return Pe.currentNode = Ne, r;
1826
1828
  }
1827
1829
  p(e) {
1828
1830
  let t = 0;
1829
1831
  for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(e, s, t), t += s.strings.length - 2) : s._$AI(e[t])), t++;
1830
1832
  }
1831
1833
  }
1832
- class It {
1834
+ class Ot {
1833
1835
  get _$AU() {
1834
1836
  var e;
1835
1837
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
@@ -1849,7 +1851,7 @@ class It {
1849
1851
  return this._$AB;
1850
1852
  }
1851
1853
  _$AI(e, t = this) {
1852
- e = st(this, e, t), _t(e) ? e === x || e == null || e === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : e !== this._$AH && e !== _e && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Sl(e) ? this.k(e) : this._(e);
1854
+ e = st(this, e, t), _t(e) ? e === x || e == null || e === "" ? (this._$AH !== x && this._$AR(), this._$AH = x) : e !== this._$AH && e !== _e && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : kl(e) ? this.k(e) : this._(e);
1853
1855
  }
1854
1856
  O(e) {
1855
1857
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -1862,27 +1864,27 @@ class It {
1862
1864
  }
1863
1865
  $(e) {
1864
1866
  var i;
1865
- const { values: t, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = hs.createElement(oo(s.h, s.h[0]), this.options)), s);
1867
+ const { values: t, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = cs.createElement(ro(s.h, s.h[0]), this.options)), s);
1866
1868
  if (((i = this._$AH) == null ? void 0 : i._$AD) === r) this._$AH.p(t);
1867
1869
  else {
1868
- const o = new Tl(r, this), a = o.u(this.options);
1870
+ const o = new Al(r, this), a = o.u(this.options);
1869
1871
  o.p(t), this.T(a), this._$AH = o;
1870
1872
  }
1871
1873
  }
1872
1874
  _$AC(e) {
1873
- let t = Zr.get(e.strings);
1874
- return t === void 0 && Zr.set(e.strings, t = new hs(e)), t;
1875
+ let t = qr.get(e.strings);
1876
+ return t === void 0 && qr.set(e.strings, t = new cs(e)), t;
1875
1877
  }
1876
1878
  k(e) {
1877
- Is(this._$AH) || (this._$AH = [], this._$AR());
1879
+ Rs(this._$AH) || (this._$AH = [], this._$AR());
1878
1880
  const t = this._$AH;
1879
1881
  let s, r = 0;
1880
- for (const i of e) r === t.length ? t.push(s = new It(this.O(kt()), this.O(kt()), this, this.options)) : s = t[r], s._$AI(i), r++;
1882
+ for (const i of e) r === t.length ? t.push(s = new Ot(this.O(kt()), this.O(kt()), this, this.options)) : s = t[r], s._$AI(i), r++;
1881
1883
  r < t.length && (this._$AR(s && s._$AB.nextSibling, r), t.length = r);
1882
1884
  }
1883
1885
  _$AR(e = this._$AA.nextSibling, t) {
1884
1886
  var s;
1885
- for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, t); e && e !== this._$AB; ) {
1887
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, t); e !== this._$AB; ) {
1886
1888
  const r = e.nextSibling;
1887
1889
  e.remove(), e = r;
1888
1890
  }
@@ -1892,7 +1894,7 @@ class It {
1892
1894
  this._$AM === void 0 && (this._$Cv = e, (t = this._$AP) == null || t.call(this, e));
1893
1895
  }
1894
1896
  }
1895
- class xn {
1897
+ class yn {
1896
1898
  get tagName() {
1897
1899
  return this.element.tagName;
1898
1900
  }
@@ -1917,7 +1919,7 @@ class xn {
1917
1919
  e === x ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
1918
1920
  }
1919
1921
  }
1920
- let Cl = class extends xn {
1922
+ let El = class extends yn {
1921
1923
  constructor() {
1922
1924
  super(...arguments), this.type = 3;
1923
1925
  }
@@ -1925,7 +1927,7 @@ let Cl = class extends xn {
1925
1927
  this.element[this.name] = e === x ? void 0 : e;
1926
1928
  }
1927
1929
  };
1928
- class Ll extends xn {
1930
+ class Tl extends yn {
1929
1931
  constructor() {
1930
1932
  super(...arguments), this.type = 4;
1931
1933
  }
@@ -1933,7 +1935,7 @@ class Ll extends xn {
1933
1935
  this.element.toggleAttribute(this.name, !!e && e !== x);
1934
1936
  }
1935
1937
  }
1936
- class Rl extends xn {
1938
+ class Cl extends yn {
1937
1939
  constructor(e, t, s, r, i) {
1938
1940
  super(e, t, s, r, i), this.type = 5;
1939
1941
  }
@@ -1947,7 +1949,7 @@ class Rl extends xn {
1947
1949
  typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
1948
1950
  }
1949
1951
  }
1950
- class Ol {
1952
+ class Ll {
1951
1953
  constructor(e, t, s) {
1952
1954
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = s;
1953
1955
  }
@@ -1958,14 +1960,14 @@ class Ol {
1958
1960
  st(this, e);
1959
1961
  }
1960
1962
  }
1961
- const qn = $t.litHtmlPolyfillSupport;
1962
- qn == null || qn(hs, It), ($t.litHtmlVersions ?? ($t.litHtmlVersions = [])).push("3.3.0");
1963
- const Il = (n, e, t) => {
1963
+ const Gn = $t.litHtmlPolyfillSupport;
1964
+ Gn == null || Gn(cs, Ot), ($t.litHtmlVersions ?? ($t.litHtmlVersions = [])).push("3.3.1");
1965
+ const Rl = (n, e, t) => {
1964
1966
  const s = (t == null ? void 0 : t.renderBefore) ?? e;
1965
1967
  let r = s._$litPart$;
1966
1968
  if (r === void 0) {
1967
1969
  const i = (t == null ? void 0 : t.renderBefore) ?? null;
1968
- s._$litPart$ = r = new It(e.insertBefore(kt(), i), i, void 0, t ?? {});
1970
+ s._$litPart$ = r = new Ot(e.insertBefore(kt(), i), i, void 0, t ?? {});
1969
1971
  }
1970
1972
  return r._$AI(n), r;
1971
1973
  };
@@ -1974,7 +1976,7 @@ const Il = (n, e, t) => {
1974
1976
  * Copyright 2017 Google LLC
1975
1977
  * SPDX-License-Identifier: BSD-3-Clause
1976
1978
  */
1977
- const Pe = globalThis;
1979
+ const Ie = globalThis;
1978
1980
  let M = class extends Ze {
1979
1981
  constructor() {
1980
1982
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -1986,7 +1988,7 @@ let M = class extends Ze {
1986
1988
  }
1987
1989
  update(e) {
1988
1990
  const t = this.render();
1989
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Il(t, this.renderRoot, this.renderOptions);
1991
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Rl(t, this.renderRoot, this.renderOptions);
1990
1992
  }
1991
1993
  connectedCallback() {
1992
1994
  var e;
@@ -2000,12 +2002,12 @@ let M = class extends Ze {
2000
2002
  return _e;
2001
2003
  }
2002
2004
  };
2003
- var Ii;
2004
- M._$litElement$ = !0, M.finalized = !0, (Ii = Pe.litElementHydrateSupport) == null || Ii.call(Pe, { LitElement: M });
2005
- const Zn = Pe.litElementPolyfillSupport;
2006
- Zn == null || Zn({ LitElement: M });
2007
- (Pe.litElementVersions ?? (Pe.litElementVersions = [])).push("4.2.0");
2008
- const Pl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 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>' }, Ml = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, Nl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, Dl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, Ul = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, Yr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, zl = { 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>' }, Hl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="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>' }, Xr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Ye = {
2005
+ var Ri;
2006
+ M._$litElement$ = !0, M.finalized = !0, (Ri = Ie.litElementHydrateSupport) == null || Ri.call(Ie, { LitElement: M });
2007
+ const Wn = Ie.litElementPolyfillSupport;
2008
+ Wn == null || Wn({ LitElement: M });
2009
+ (Ie.litElementVersions ?? (Ie.litElementVersions = [])).push("4.2.1");
2010
+ const Ol = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Pl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Il = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Ml = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, Nl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, Zr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Dl = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, Ul = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, Yr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Ye = {
2009
2011
  allRenderFn: !1,
2010
2012
  cmpDidLoad: !0,
2011
2013
  cmpDidUnload: !1,
@@ -2089,8 +2091,8 @@ const Pl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
2089
2091
  transformTagName: !1,
2090
2092
  attachStyles: !0
2091
2093
  };
2092
- let Xe, lo, wn, co = !1, rn = !1, Ps = !1, X = !1, Kr = null, ps = !1;
2093
- const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} }, uo = kn.HTMLElement || class {
2094
+ let Xe, oo, $n, ao = !1, sn = !1, Os = !1, X = !1, Xr = null, us = !1;
2095
+ const xn = typeof window < "u" ? window : {}, ae = xn.document || { head: {} }, lo = xn.HTMLElement || class {
2094
2096
  }, j = {
2095
2097
  $flags$: 0,
2096
2098
  $resourcesUrl$: "",
@@ -2099,7 +2101,7 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2099
2101
  ael: (n, e, t, s) => n.addEventListener(e, t, s),
2100
2102
  rel: (n, e, t, s) => n.removeEventListener(e, t, s),
2101
2103
  ce: (n, e) => new CustomEvent(n, e)
2102
- }, Bl = /* @__PURE__ */ (() => {
2104
+ }, zl = /* @__PURE__ */ (() => {
2103
2105
  let n = !1;
2104
2106
  try {
2105
2107
  ae.addEventListener("e", null, Object.defineProperty({}, "passive", {
@@ -2110,47 +2112,47 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2110
2112
  } catch {
2111
2113
  }
2112
2114
  return n;
2113
- })(), Fl = (n) => Promise.resolve(n), jl = /* @__PURE__ */ (() => {
2115
+ })(), Hl = (n) => Promise.resolve(n), Bl = /* @__PURE__ */ (() => {
2114
2116
  try {
2115
2117
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
2116
2118
  } catch {
2117
2119
  }
2118
2120
  return !1;
2119
- })(), ho = (n, e, t, s) => {
2121
+ })(), co = (n, e, t, s) => {
2120
2122
  t && t.map(([r, i, o]) => {
2121
- const a = Wl(n, r), l = Gl(e, o), c = ql(r);
2123
+ const a = jl(n, r), l = Fl(e, o), c = Gl(r);
2122
2124
  j.ael(a, i, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => j.rel(a, i, l, c));
2123
2125
  });
2124
- }, Gl = (n, e) => (t) => {
2126
+ }, Fl = (n, e) => (t) => {
2125
2127
  try {
2126
2128
  Ye.lazyLoad || n.$hostElement$[e](t);
2127
2129
  } catch (s) {
2128
2130
  Pt(s);
2129
2131
  }
2130
- }, Wl = (n, e) => e & 4 ? ae : e & 8 ? kn : e & 16 ? ae.body : n, ql = (n) => Bl ? {
2132
+ }, jl = (n, e) => e & 4 ? ae : e & 8 ? xn : e & 16 ? ae.body : n, Gl = (n) => zl ? {
2131
2133
  passive: (n & 1) !== 0,
2132
2134
  capture: (n & 2) !== 0
2133
- } : (n & 2) !== 0, Vr = "http://www.w3.org/1999/xlink", De = (n, e = "") => () => {
2134
- }, Qr = /* @__PURE__ */ new WeakMap(), Zl = (n, e, t) => {
2135
- let s = ln.get(n);
2136
- jl && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, ln.set(n, s);
2137
- }, Yl = (n, e, t, s) => {
2138
- let r = po(e, t), i = ln.get(r);
2135
+ } : (n & 2) !== 0, Kr = "http://www.w3.org/1999/xlink", De = (n, e = "") => () => {
2136
+ }, Vr = /* @__PURE__ */ new WeakMap(), Wl = (n, e, t) => {
2137
+ let s = an.get(n);
2138
+ Bl && t ? (s = s || new CSSStyleSheet(), s.replace(e)) : s = e, an.set(n, s);
2139
+ }, ql = (n, e, t, s) => {
2140
+ let r = uo(e, t), i = an.get(r);
2139
2141
  if (n = n.nodeType === 11 ? n : ae, i)
2140
2142
  if (typeof i == "string") {
2141
2143
  n = n.head || n;
2142
- let o = Qr.get(n), a;
2143
- o || Qr.set(n, o = /* @__PURE__ */ new Set()), o.has(r) || (a = ae.createElement("style"), a.innerHTML = i, n.insertBefore(a, n.querySelector("link")), o && o.add(r));
2144
+ let o = Vr.get(n), a;
2145
+ o || Vr.set(n, o = /* @__PURE__ */ new Set()), o.has(r) || (a = ae.createElement("style"), a.innerHTML = i, n.insertBefore(a, n.querySelector("link")), o && o.add(r));
2144
2146
  } else n.adoptedStyleSheets.includes(i) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, i]);
2145
2147
  return r;
2146
- }, Xl = (n) => {
2147
- const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, r = De("attachStyles", e.$tagName$), i = Yl(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2148
+ }, Zl = (n) => {
2149
+ const e = n.$cmpMeta$, t = n.$hostElement$, s = e.$flags$, r = De("attachStyles", e.$tagName$), i = ql(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, n.$modeName$);
2148
2150
  s & 10 && (t["s-sc"] = i, t.classList.add(i + "-h"), s & 2 && t.classList.add(i + "-s")), r();
2149
- }, po = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), Kl = (n) => _c.map((e) => e(n)).find((e) => !!e), Jr = {}, Vl = "http://www.w3.org/2000/svg", Ql = "http://www.w3.org/1999/xhtml", Jl = (n) => n != null, Ms = (n) => (n = typeof n, n === "object" || n === "function"), Je = (n, e, ...t) => {
2151
+ }, uo = (n, e) => "sc-" + (e && n.$flags$ & 32 ? n.$tagName$ + "-" + e : n.$tagName$), Yl = (n) => wc.map((e) => e(n)).find((e) => !!e), Qr = {}, Xl = "http://www.w3.org/2000/svg", Kl = "http://www.w3.org/1999/xhtml", Vl = (n) => n != null, Ps = (n) => (n = typeof n, n === "object" || n === "function"), Je = (n, e, ...t) => {
2150
2152
  let s = null, r = null, i = null, o = !1, a = !1, l = [];
2151
2153
  const c = (d) => {
2152
2154
  for (let p = 0; p < d.length; p++)
2153
- s = d[p], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !Ms(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? on(null, s) : s), a = o);
2155
+ s = d[p], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((o = typeof n != "function" && !Ps(s)) && (s = String(s)), o && a ? l[l.length - 1].$text$ += s : l.push(o ? rn(null, s) : s), a = o);
2154
2156
  };
2155
2157
  if (c(t), e) {
2156
2158
  e.key && (r = e.key), e.name && (i = e.name);
@@ -2160,10 +2162,10 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2160
2162
  }
2161
2163
  }
2162
2164
  if (typeof n == "function")
2163
- return n(e === null ? {} : e, l, tc);
2164
- const u = on(n, null);
2165
+ return n(e === null ? {} : e, l, Jl);
2166
+ const u = rn(n, null);
2165
2167
  return u.$attrs$ = e, l.length > 0 && (u.$children$ = l), u.$key$ = r, u.$name$ = i, u;
2166
- }, on = (n, e) => {
2168
+ }, rn = (n, e) => {
2167
2169
  const t = {
2168
2170
  $flags$: 0,
2169
2171
  $tag$: n,
@@ -2172,28 +2174,28 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2172
2174
  $children$: null
2173
2175
  };
2174
2176
  return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
2175
- }, Ns = {}, ec = (n) => n && n.$tag$ === Ns, tc = {
2176
- forEach: (n, e) => n.map(ei).forEach(e),
2177
- map: (n, e) => n.map(ei).map(e).map(nc)
2178
- }, ei = (n) => ({
2177
+ }, Is = {}, Ql = (n) => n && n.$tag$ === Is, Jl = {
2178
+ forEach: (n, e) => n.map(Jr).forEach(e),
2179
+ map: (n, e) => n.map(Jr).map(e).map(ec)
2180
+ }, Jr = (n) => ({
2179
2181
  vattrs: n.$attrs$,
2180
2182
  vchildren: n.$children$,
2181
2183
  vkey: n.$key$,
2182
2184
  vname: n.$name$,
2183
2185
  vtag: n.$tag$,
2184
2186
  vtext: n.$text$
2185
- }), nc = (n) => {
2187
+ }), ec = (n) => {
2186
2188
  if (typeof n.vtag == "function") {
2187
2189
  const t = Object.assign({}, n.vattrs);
2188
2190
  return n.vkey && (t.key = n.vkey), n.vname && (t.name = n.vname), Je(n.vtag, t, ...n.vchildren || []);
2189
2191
  }
2190
- const e = on(n.vtag, n.vtext);
2192
+ const e = rn(n.vtag, n.vtext);
2191
2193
  return e.$attrs$ = n.vattrs, e.$children$ = n.vchildren, e.$key$ = n.vkey, e.$name$ = n.vname, e;
2192
- }, ti = (n, e, t, s, r, i) => {
2194
+ }, ei = (n, e, t, s, r, i) => {
2193
2195
  if (t !== s) {
2194
- let o = ii(n, e), a = e.toLowerCase();
2196
+ let o = ri(n, e), a = e.toLowerCase();
2195
2197
  if (e === "class") {
2196
- const l = n.classList, c = ni(t), u = ni(s);
2198
+ const l = n.classList, c = ti(t), u = ti(s);
2197
2199
  l.remove(...c.filter((d) => d && !u.includes(d))), l.add(...u.filter((d) => d && !c.includes(d)));
2198
2200
  } else if (e === "style") {
2199
2201
  for (const l in t)
@@ -2204,9 +2206,9 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2204
2206
  if (e === "ref")
2205
2207
  s && s(n);
2206
2208
  else if (!n.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
2207
- e[2] === "-" ? e = e.slice(3) : ii(kn, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && j.rel(n, e, t, !1), s && j.ael(n, e, s, !1);
2209
+ e[2] === "-" ? e = e.slice(3) : ri(xn, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && j.rel(n, e, t, !1), s && j.ael(n, e, s, !1);
2208
2210
  else {
2209
- const l = Ms(s);
2211
+ const l = Ps(s);
2210
2212
  if ((o || l && s !== null) && !r)
2211
2213
  try {
2212
2214
  if (n.tagName.includes("-"))
@@ -2218,18 +2220,18 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2218
2220
  } catch {
2219
2221
  }
2220
2222
  let c = !1;
2221
- a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(Vr, e) : n.removeAttribute(e)) : (!o || i & 4 || r) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(Vr, e, s) : n.setAttribute(e, s));
2223
+ a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), s == null || s === !1 ? (s !== !1 || n.getAttribute(e) === "") && (c ? n.removeAttributeNS(Kr, e) : n.removeAttribute(e)) : (!o || i & 4 || r) && !l && (s = s === !0 ? "" : s, c ? n.setAttributeNS(Kr, e, s) : n.setAttribute(e, s));
2222
2224
  }
2223
2225
  }
2224
- }, sc = /\s/, ni = (n) => n ? n.split(sc) : [], fo = (n, e, t, s) => {
2225
- const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = n && n.$attrs$ || Jr, o = e.$attrs$ || Jr;
2226
+ }, tc = /\s/, ti = (n) => n ? n.split(tc) : [], ho = (n, e, t, s) => {
2227
+ const r = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, i = n && n.$attrs$ || Qr, o = e.$attrs$ || Qr;
2226
2228
  for (s in i)
2227
- s in o || ti(r, s, i[s], void 0, t, e.$flags$);
2229
+ s in o || ei(r, s, i[s], void 0, t, e.$flags$);
2228
2230
  for (s in o)
2229
- ti(r, s, i[s], o[s], t, e.$flags$);
2230
- }, an = (n, e, t, s) => {
2231
+ ei(r, s, i[s], o[s], t, e.$flags$);
2232
+ }, on = (n, e, t, s) => {
2231
2233
  let r = e.$children$[t], i = 0, o, a, l;
2232
- if (co || (Ps = !0, r.$tag$ === "slot" && (Xe && s.classList.add(Xe + "-s"), r.$flags$ |= r.$children$ ? (
2234
+ if (ao || (Os = !0, r.$tag$ === "slot" && (Xe && s.classList.add(Xe + "-s"), r.$flags$ |= r.$children$ ? (
2233
2235
  // slot element has fallback content
2234
2236
  2
2235
2237
  ) : (
@@ -2240,28 +2242,28 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2240
2242
  else if (r.$flags$ & 1)
2241
2243
  o = r.$elm$ = ae.createTextNode("");
2242
2244
  else {
2243
- if (X || (X = r.$tag$ === "svg"), o = r.$elm$ = ae.createElementNS(X ? Vl : Ql, r.$flags$ & 2 ? "slot-fb" : r.$tag$), X && r.$tag$ === "foreignObject" && (X = !1), fo(null, r, X), Jl(Xe) && o["s-si"] !== Xe && o.classList.add(o["s-si"] = Xe), r.$children$)
2245
+ if (X || (X = r.$tag$ === "svg"), o = r.$elm$ = ae.createElementNS(X ? Xl : Kl, r.$flags$ & 2 ? "slot-fb" : r.$tag$), X && r.$tag$ === "foreignObject" && (X = !1), ho(null, r, X), Vl(Xe) && o["s-si"] !== Xe && o.classList.add(o["s-si"] = Xe), r.$children$)
2244
2246
  for (i = 0; i < r.$children$.length; ++i)
2245
- a = an(n, r, i, o), a && o.appendChild(a);
2247
+ a = on(n, r, i, o), a && o.appendChild(a);
2246
2248
  r.$tag$ === "svg" ? X = !1 : o.tagName === "foreignObject" && (X = !0);
2247
2249
  }
2248
- return o["s-hn"] = wn, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = lo, o["s-sn"] = r.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === r.$tag$ && n.$elm$ && St(n.$elm$, !1)), o;
2250
+ return o["s-hn"] = $n, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = oo, o["s-sn"] = r.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === r.$tag$ && n.$elm$ && St(n.$elm$, !1)), o;
2249
2251
  }, St = (n, e) => {
2250
2252
  j.$flags$ |= 1;
2251
2253
  const t = n.childNodes;
2252
2254
  for (let s = t.length - 1; s >= 0; s--) {
2253
2255
  const r = t[s];
2254
- r["s-hn"] !== wn && r["s-ol"] && (vo(r).insertBefore(r, Ds(r)), r["s-ol"].remove(), r["s-ol"] = void 0, Ps = !0), e && St(r, e);
2256
+ r["s-hn"] !== $n && r["s-ol"] && (go(r).insertBefore(r, Ms(r)), r["s-ol"].remove(), r["s-ol"] = void 0, Os = !0), e && St(r, e);
2255
2257
  }
2256
2258
  j.$flags$ &= -2;
2257
- }, go = (n, e, t, s, r, i) => {
2259
+ }, po = (n, e, t, s, r, i) => {
2258
2260
  let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
2259
- for (o.shadowRoot && o.tagName === wn && (o = o.shadowRoot); r <= i; ++r)
2260
- s[r] && (a = an(null, t, r, n), a && (s[r].$elm$ = a, o.insertBefore(a, Ds(e))));
2261
- }, mo = (n, e, t, s, r) => {
2261
+ for (o.shadowRoot && o.tagName === $n && (o = o.shadowRoot); r <= i; ++r)
2262
+ s[r] && (a = on(null, t, r, n), a && (s[r].$elm$ = a, o.insertBefore(a, Ms(e))));
2263
+ }, fo = (n, e, t, s, r) => {
2262
2264
  for (; e <= t; ++e)
2263
- (s = n[e]) && (r = s.$elm$, $o(s), rn = !0, r["s-ol"] ? r["s-ol"].remove() : St(r, !0), r.remove());
2264
- }, rc = (n, e, t, s) => {
2265
+ (s = n[e]) && (r = s.$elm$, bo(s), sn = !0, r["s-ol"] ? r["s-ol"].remove() : St(r, !0), r.remove());
2266
+ }, nc = (n, e, t, s) => {
2265
2267
  let r = 0, i = 0, o = 0, a = 0, l = e.length - 1, c = e[0], u = e[l], d = s.length - 1, p = s[0], g = s[d], m, y;
2266
2268
  for (; r <= l && i <= d; )
2267
2269
  if (c == null)
@@ -2272,13 +2274,13 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2272
2274
  p = s[++i];
2273
2275
  else if (g == null)
2274
2276
  g = s[--d];
2275
- else if (Wt(c, p))
2277
+ else if (Gt(c, p))
2276
2278
  Ke(c, p), c = e[++r], p = s[++i];
2277
- else if (Wt(u, g))
2279
+ else if (Gt(u, g))
2278
2280
  Ke(u, g), u = e[--l], g = s[--d];
2279
- else if (Wt(c, g))
2281
+ else if (Gt(c, g))
2280
2282
  (c.$tag$ === "slot" || g.$tag$ === "slot") && St(c.$elm$.parentNode, !1), Ke(c, g), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = e[++r], g = s[--d];
2281
- else if (Wt(u, p))
2283
+ else if (Gt(u, p))
2282
2284
  (c.$tag$ === "slot" || g.$tag$ === "slot") && St(u.$elm$.parentNode, !1), Ke(u, p), n.insertBefore(u.$elm$, c.$elm$), u = e[--l], p = s[++i];
2283
2285
  else {
2284
2286
  for (o = -1, a = r; a <= l; ++a)
@@ -2286,14 +2288,14 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2286
2288
  o = a;
2287
2289
  break;
2288
2290
  }
2289
- o >= 0 ? (y = e[o], y.$tag$ !== p.$tag$ ? m = an(e && e[i], t, o, n) : (Ke(y, p), e[o] = void 0, m = y.$elm$), p = s[++i]) : (m = an(e && e[i], t, i, n), p = s[++i]), m && vo(c.$elm$).insertBefore(m, Ds(c.$elm$));
2291
+ o >= 0 ? (y = e[o], y.$tag$ !== p.$tag$ ? m = on(e && e[i], t, o, n) : (Ke(y, p), e[o] = void 0, m = y.$elm$), p = s[++i]) : (m = on(e && e[i], t, i, n), p = s[++i]), m && go(c.$elm$).insertBefore(m, Ms(c.$elm$));
2290
2292
  }
2291
- r > l ? go(n, s[d + 1] == null ? null : s[d + 1].$elm$, t, s, i, d) : i > d && mo(e, r, l);
2292
- }, Wt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Ds = (n) => n && n["s-ol"] || n, vo = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ke = (n, e) => {
2293
+ r > l ? po(n, s[d + 1] == null ? null : s[d + 1].$elm$, t, s, i, d) : i > d && fo(e, r, l);
2294
+ }, Gt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Ms = (n) => n && n["s-ol"] || n, go = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ke = (n, e) => {
2293
2295
  const t = e.$elm$ = n.$elm$, s = n.$children$, r = e.$children$, i = e.$tag$, o = e.$text$;
2294
2296
  let a;
2295
- o === null ? (X = i === "svg" ? !0 : i === "foreignObject" ? !1 : X, i === "slot" || fo(n, e, X), s !== null && r !== null ? rc(t, s, e, r) : r !== null ? (n.$text$ !== null && (t.textContent = ""), go(t, null, e, r, 0, r.length - 1)) : s !== null && mo(s, 0, s.length - 1), X && i === "svg" && (X = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2296
- }, bo = (n) => {
2297
+ o === null ? (X = i === "svg" ? !0 : i === "foreignObject" ? !1 : X, i === "slot" || ho(n, e, X), s !== null && r !== null ? nc(t, s, e, r) : r !== null ? (n.$text$ !== null && (t.textContent = ""), po(t, null, e, r, 0, r.length - 1)) : s !== null && fo(s, 0, s.length - 1), X && i === "svg" && (X = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2298
+ }, mo = (n) => {
2297
2299
  let e = n.childNodes, t, s, r, i, o, a;
2298
2300
  for (s = 0, r = e.length; s < r; s++)
2299
2301
  if (t = e[s], t.nodeType === 1) {
@@ -2309,31 +2311,31 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2309
2311
  break;
2310
2312
  }
2311
2313
  }
2312
- bo(t);
2314
+ mo(t);
2313
2315
  }
2314
- }, ee = [], yo = (n) => {
2316
+ }, ee = [], vo = (n) => {
2315
2317
  let e, t, s, r, i, o, a = 0, l = n.childNodes, c = l.length;
2316
2318
  for (; a < c; a++) {
2317
2319
  if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
2318
2320
  for (s = t.parentNode.childNodes, r = e["s-sn"], o = s.length - 1; o >= 0; o--)
2319
- t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (si(t, r) ? (i = ee.find((u) => u.$nodeToRelocate$ === t), rn = !0, t["s-sn"] = t["s-sn"] || r, i ? i.$slotRefNode$ = e : ee.push({
2321
+ t = s[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (ni(t, r) ? (i = ee.find((u) => u.$nodeToRelocate$ === t), sn = !0, t["s-sn"] = t["s-sn"] || r, i ? i.$slotRefNode$ = e : ee.push({
2320
2322
  $slotRefNode$: e,
2321
2323
  $nodeToRelocate$: t
2322
2324
  }), t["s-sr"] && ee.map((u) => {
2323
- si(u.$nodeToRelocate$, t["s-sn"]) && (i = ee.find((d) => d.$nodeToRelocate$ === t), i && !u.$slotRefNode$ && (u.$slotRefNode$ = i.$slotRefNode$));
2325
+ ni(u.$nodeToRelocate$, t["s-sn"]) && (i = ee.find((d) => d.$nodeToRelocate$ === t), i && !u.$slotRefNode$ && (u.$slotRefNode$ = i.$slotRefNode$));
2324
2326
  })) : ee.some((u) => u.$nodeToRelocate$ === t) || ee.push({
2325
2327
  $nodeToRelocate$: t
2326
2328
  }));
2327
- e.nodeType === 1 && yo(e);
2329
+ e.nodeType === 1 && vo(e);
2328
2330
  }
2329
- }, si = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", $o = (n) => {
2330
- n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map($o);
2331
- }, ic = (n, e) => {
2332
- const t = n.$hostElement$, s = n.$cmpMeta$, r = n.$vnode$ || on(null, null), i = ec(e) ? e : Je(null, null, e);
2333
- wn = t.tagName, s.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => i.$attrs$[a] = t[o])), i.$tag$ = null, i.$flags$ |= 4, n.$vnode$ = i, i.$elm$ = r.$elm$ = t.shadowRoot || t, Xe = t["s-sc"], lo = t["s-cr"], co = (s.$flags$ & 1) !== 0, rn = !1, Ke(r, i);
2331
+ }, ni = (n, e) => n.nodeType === 1 ? n.getAttribute("slot") === null && e === "" || n.getAttribute("slot") === e : n["s-sn"] === e ? !0 : e === "", bo = (n) => {
2332
+ n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(bo);
2333
+ }, sc = (n, e) => {
2334
+ const t = n.$hostElement$, s = n.$cmpMeta$, r = n.$vnode$ || rn(null, null), i = Ql(e) ? e : Je(null, null, e);
2335
+ $n = t.tagName, s.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => i.$attrs$[a] = t[o])), i.$tag$ = null, i.$flags$ |= 4, n.$vnode$ = i, i.$elm$ = r.$elm$ = t.shadowRoot || t, Xe = t["s-sc"], oo = t["s-cr"], ao = (s.$flags$ & 1) !== 0, sn = !1, Ke(r, i);
2334
2336
  {
2335
- if (j.$flags$ |= 1, Ps) {
2336
- yo(i.$elm$);
2337
+ if (j.$flags$ |= 1, Os) {
2338
+ vo(i.$elm$);
2337
2339
  let o, a, l, c, u, d, p = 0;
2338
2340
  for (; p < ee.length; p++)
2339
2341
  o = ee[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = ae.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
@@ -2348,39 +2350,39 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2348
2350
  } else
2349
2351
  a.nodeType === 1 && (a.hidden = !0);
2350
2352
  }
2351
- rn && bo(i.$elm$), j.$flags$ &= -2, ee.length = 0;
2353
+ sn && mo(i.$elm$), j.$flags$ &= -2, ee.length = 0;
2352
2354
  }
2353
- }, oc = (n) => n, ac = (n, e, t) => {
2354
- const s = oc(n);
2355
+ }, rc = (n) => n, ic = (n, e, t) => {
2356
+ const s = rc(n);
2355
2357
  return {
2356
- emit: (r) => lc(s, e, {
2358
+ emit: (r) => oc(s, e, {
2357
2359
  bubbles: !0,
2358
2360
  composed: !0,
2359
2361
  cancelable: !0,
2360
2362
  detail: r
2361
2363
  })
2362
2364
  };
2363
- }, lc = (n, e, t) => {
2365
+ }, oc = (n, e, t) => {
2364
2366
  const s = j.ce(e, t);
2365
2367
  return n.dispatchEvent(s), s;
2366
- }, cc = (n, e) => {
2367
- }, xo = (n, e) => (n.$flags$ |= 16, cc(n, n.$ancestorComponent$), Ec(() => uc(n, e))), uc = (n, e) => {
2368
+ }, ac = (n, e) => {
2369
+ }, yo = (n, e) => (n.$flags$ |= 16, ac(n, n.$ancestorComponent$), Sc(() => lc(n, e))), lc = (n, e) => {
2368
2370
  const t = n.$hostElement$, s = De("scheduleUpdate", n.$cmpMeta$.$tagName$), r = t;
2369
2371
  let i;
2370
- return e ? i = et(r, "componentWillLoad") : i = et(r, "componentWillUpdate"), i = ri(i, () => et(r, "componentWillRender")), s(), ri(i, () => hc(n, r, e));
2371
- }, hc = async (n, e, t) => {
2372
+ return e ? i = et(r, "componentWillLoad") : i = et(r, "componentWillUpdate"), i = si(i, () => et(r, "componentWillRender")), s(), si(i, () => cc(n, r, e));
2373
+ }, cc = async (n, e, t) => {
2372
2374
  const s = n.$hostElement$, r = De("update", n.$cmpMeta$.$tagName$);
2373
- s["s-rc"], t && Xl(n);
2375
+ s["s-rc"], t && Zl(n);
2374
2376
  const i = De("render", n.$cmpMeta$.$tagName$);
2375
- pc(n, e, s), i(), r(), dc(n);
2376
- }, pc = (n, e, t) => {
2377
+ uc(n, e, s), i(), r(), hc(n);
2378
+ }, uc = (n, e, t) => {
2377
2379
  try {
2378
- Kr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Ye.hasRenderFn || Ye.reflect) && (Ye.vdomRender || Ye.reflect) && (Ye.hydrateServerSide || ic(n, e));
2380
+ Xr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Ye.hasRenderFn || Ye.reflect) && (Ye.vdomRender || Ye.reflect) && (Ye.hydrateServerSide || sc(n, e));
2379
2381
  } catch (a) {
2380
2382
  Pt(a, n.$hostElement$);
2381
2383
  }
2382
- return Kr = null, null;
2383
- }, dc = (n) => {
2384
+ return Xr = null, null;
2385
+ }, hc = (n) => {
2384
2386
  const e = n.$cmpMeta$.$tagName$, t = n.$hostElement$, s = De("postUpdate", e), r = t;
2385
2387
  n.$ancestorComponent$, et(r, "componentDidRender"), n.$flags$ & 64 ? (et(r, "componentDidUpdate"), s()) : (n.$flags$ |= 64, et(r, "componentDidLoad"), s());
2386
2388
  }, et = (n, e, t) => {
@@ -2390,9 +2392,9 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2390
2392
  } catch (s) {
2391
2393
  Pt(s);
2392
2394
  }
2393
- }, ri = (n, e) => n && n.then ? n.then(e) : e(), fc = (n, e) => n != null && !Ms(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, gc = (n, e) => _n(n).$instanceValues$.get(e), mc = (n, e, t, s) => {
2394
- const r = _n(n), i = n, o = r.$instanceValues$.get(e), a = r.$flags$, l = i;
2395
- t = fc(t, s.$members$[e][0]);
2395
+ }, si = (n, e) => n && n.then ? n.then(e) : e(), pc = (n, e) => n != null && !Ps(n) ? e & 4 ? n === "false" ? !1 : n === "" || !!n : e & 2 ? parseFloat(n) : e & 1 ? String(n) : n : n, dc = (n, e) => wn(n).$instanceValues$.get(e), fc = (n, e, t, s) => {
2396
+ const r = wn(n), i = n, o = r.$instanceValues$.get(e), a = r.$flags$, l = i;
2397
+ t = pc(t, s.$members$[e][0]);
2396
2398
  const c = Number.isNaN(o) && Number.isNaN(t);
2397
2399
  if (t !== o && !c) {
2398
2400
  r.$instanceValues$.set(e, t);
@@ -2410,21 +2412,21 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2410
2412
  if ((a & 18) === 2) {
2411
2413
  if (l.componentShouldUpdate && l.componentShouldUpdate(t, o, e) === !1)
2412
2414
  return;
2413
- xo(r, !1);
2415
+ yo(r, !1);
2414
2416
  }
2415
2417
  }
2416
2418
  }
2417
- }, vc = (n, e, t) => {
2419
+ }, gc = (n, e, t) => {
2418
2420
  if (e.$members$) {
2419
2421
  n.watchers && (e.$watchers$ = n.watchers);
2420
2422
  const s = Object.entries(e.$members$), r = n.prototype;
2421
2423
  s.map(([i, [o]]) => {
2422
2424
  (o & 31 || o & 32) && Object.defineProperty(r, i, {
2423
2425
  get() {
2424
- return gc(this, i);
2426
+ return dc(this, i);
2425
2427
  },
2426
2428
  set(a) {
2427
- mc(this, i, a, e);
2429
+ fc(this, i, a, e);
2428
2430
  },
2429
2431
  configurable: !0,
2430
2432
  enumerable: !0
@@ -2451,37 +2453,37 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2451
2453
  }
2452
2454
  }
2453
2455
  return n;
2454
- }, bc = async (n, e, t, s, r) => {
2456
+ }, mc = async (n, e, t, s, r) => {
2455
2457
  if ((e.$flags$ & 32) === 0 && (r = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), r.style)) {
2456
2458
  let o = r.style;
2457
- typeof o != "string" && (o = o[e.$modeName$ = Kl(n)]);
2458
- const a = po(t, e.$modeName$);
2459
- if (!ln.has(a)) {
2459
+ typeof o != "string" && (o = o[e.$modeName$ = Yl(n)]);
2460
+ const a = uo(t, e.$modeName$);
2461
+ if (!an.has(a)) {
2460
2462
  const l = De("registerStyles", t.$tagName$);
2461
- Zl(a, o, !!(t.$flags$ & 1)), l();
2463
+ Wl(a, o, !!(t.$flags$ & 1)), l();
2462
2464
  }
2463
2465
  }
2464
- e.$ancestorComponent$, xo(e, !0);
2465
- }, yc = (n) => {
2466
- }, $c = (n) => {
2466
+ e.$ancestorComponent$, yo(e, !0);
2467
+ }, vc = (n) => {
2468
+ }, bc = (n) => {
2467
2469
  if ((j.$flags$ & 1) === 0) {
2468
- const e = _n(n), t = e.$cmpMeta$, s = De("connectedCallback", t.$tagName$);
2469
- e.$flags$ & 1 ? (ho(n, e, t.$listeners$), yc(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && xc(n), t.$members$ && Object.entries(t.$members$).map(([r, [i]]) => {
2470
+ const e = wn(n), t = e.$cmpMeta$, s = De("connectedCallback", t.$tagName$);
2471
+ e.$flags$ & 1 ? (co(n, e, t.$listeners$), vc(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && yc(n), t.$members$ && Object.entries(t.$members$).map(([r, [i]]) => {
2470
2472
  if (i & 31 && n.hasOwnProperty(r)) {
2471
2473
  const o = n[r];
2472
2474
  delete n[r], n[r] = o;
2473
2475
  }
2474
- }), bc(n, e, t)), s();
2476
+ }), mc(n, e, t)), s();
2475
2477
  }
2476
- }, xc = (n) => {
2478
+ }, yc = (n) => {
2477
2479
  const e = n["s-cr"] = ae.createComment("");
2478
2480
  e["s-cn"] = !0, n.insertBefore(e, n.firstChild);
2479
- }, wc = (n) => {
2481
+ }, $c = (n) => {
2480
2482
  if ((j.$flags$ & 1) === 0) {
2481
- const e = _n(n);
2483
+ const e = wn(n);
2482
2484
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2483
2485
  }
2484
- }, wo = (n, e) => {
2486
+ }, $o = (n, e) => {
2485
2487
  const t = {
2486
2488
  $flags$: e[0],
2487
2489
  $tagName$: e[1]
@@ -2490,13 +2492,13 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2490
2492
  const s = n.prototype.connectedCallback, r = n.prototype.disconnectedCallback;
2491
2493
  return Object.assign(n.prototype, {
2492
2494
  __registerHost() {
2493
- kc(this, t);
2495
+ xc(this, t);
2494
2496
  },
2495
2497
  connectedCallback() {
2496
- $c(this), s && s.call(this);
2498
+ bc(this), s && s.call(this);
2497
2499
  },
2498
2500
  disconnectedCallback() {
2499
- wc(this), r && r.call(this);
2501
+ $c(this), r && r.call(this);
2500
2502
  },
2501
2503
  __attachShadow() {
2502
2504
  this.attachShadow({
@@ -2504,18 +2506,18 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2504
2506
  delegatesFocus: !!(t.$flags$ & 16)
2505
2507
  });
2506
2508
  }
2507
- }), n.is = t.$tagName$, vc(n, t);
2508
- }, ko = /* @__PURE__ */ new WeakMap(), _n = (n) => ko.get(n), kc = (n, e) => {
2509
+ }), n.is = t.$tagName$, gc(n, t);
2510
+ }, xo = /* @__PURE__ */ new WeakMap(), wn = (n) => xo.get(n), xc = (n, e) => {
2509
2511
  const t = {
2510
2512
  $flags$: 0,
2511
2513
  $hostElement$: n,
2512
2514
  $cmpMeta$: e,
2513
2515
  $instanceValues$: /* @__PURE__ */ new Map()
2514
2516
  };
2515
- return ho(n, t, e.$listeners$), ko.set(n, t);
2516
- }, ii = (n, e) => e in n, Pt = (n, e) => (0, console.error)(n, e), ln = /* @__PURE__ */ new Map(), _c = [], oi = [], _o = [], Sc = (n, e) => (t) => {
2517
- n.push(t), ps || (ps = !0, e && j.$flags$ & 4 ? Ac(ds) : j.raf(ds));
2518
- }, ai = (n) => {
2517
+ return co(n, t, e.$listeners$), xo.set(n, t);
2518
+ }, ri = (n, e) => e in n, Pt = (n, e) => (0, console.error)(n, e), an = /* @__PURE__ */ new Map(), wc = [], ii = [], wo = [], kc = (n, e) => (t) => {
2519
+ n.push(t), us || (us = !0, e && j.$flags$ & 4 ? _c(hs) : j.raf(hs));
2520
+ }, oi = (n) => {
2519
2521
  for (let e = 0; e < n.length; e++)
2520
2522
  try {
2521
2523
  n[e](performance.now());
@@ -2523,9 +2525,9 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2523
2525
  Pt(t);
2524
2526
  }
2525
2527
  n.length = 0;
2526
- }, ds = () => {
2527
- ai(oi), ai(_o), (ps = oi.length > 0) && j.raf(ds);
2528
- }, Ac = (n) => Fl().then(n), Ec = /* @__PURE__ */ Sc(_o, !0), Tc = (n = {}) => {
2528
+ }, hs = () => {
2529
+ oi(ii), oi(wo), (us = ii.length > 0) && j.raf(hs);
2530
+ }, _c = (n) => Hl().then(n), Sc = /* @__PURE__ */ kc(wo, !0), Ac = (n = {}) => {
2529
2531
  const { content: e = "", title: t, attributes: s = [] } = n;
2530
2532
  let r = "", i = [
2531
2533
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
@@ -2533,54 +2535,54 @@ const kn = typeof window < "u" ? window : {}, ae = kn.document || { head: {} },
2533
2535
  ...s
2534
2536
  ];
2535
2537
  return t && (r = `<title>${t}</title>`), `<svg ${i.map((a) => `${a.name}="${a.value}"`).join(" ")}>${r}${e}</svg>`;
2536
- }, Cc = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2537
- function Lc(n) {
2538
+ }, Ec = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
2539
+ function Tc(n) {
2538
2540
  return `${n.getFullYear()}.${n.getMonth() + 1}`;
2539
2541
  }
2540
- class Rc {
2542
+ class Cc {
2541
2543
  constructor(e) {
2542
- this.voca_component = e, this.voca_added = Lc(/* @__PURE__ */ new Date());
2544
+ this.voca_component = e, this.voca_added = Tc(/* @__PURE__ */ new Date());
2543
2545
  }
2544
2546
  }
2545
- const Oc = "telia-vst{display:none}", Ic = /* @__PURE__ */ wo(class extends uo {
2547
+ const Lc = "telia-vst{display:none}", Rc = /* @__PURE__ */ $o(class extends lo {
2546
2548
  constructor() {
2547
- super(), this.__registerHost(), this.vocaInternalUStats = ac(this, "vocaInternalUStats");
2549
+ super(), this.__registerHost(), this.vocaInternalUStats = ic(this, "vocaInternalUStats");
2548
2550
  }
2549
2551
  connectedCallback() {
2550
- this.vocaInternalUStats.emit(new Rc(this.dataTrackingId));
2552
+ this.vocaInternalUStats.emit(new Cc(this.dataTrackingId));
2551
2553
  }
2552
2554
  render() {
2553
- return Je(Ns, null);
2555
+ return Je(Is, null);
2554
2556
  }
2555
2557
  static get style() {
2556
- return Oc;
2558
+ return Lc;
2557
2559
  }
2558
2560
  }, [0, "telia-vst", {
2559
2561
  dataTrackingId: [1, "data-tracking-id"]
2560
2562
  }]);
2561
- function So() {
2563
+ function ko() {
2562
2564
  if (typeof customElements > "u")
2563
2565
  return;
2564
2566
  ["telia-vst"].forEach((e) => {
2565
2567
  switch (e) {
2566
2568
  case "telia-vst":
2567
- customElements.get(e) || customElements.define(e, Ic);
2569
+ customElements.get(e) || customElements.define(e, Rc);
2568
2570
  break;
2569
2571
  }
2570
2572
  });
2571
2573
  }
2572
- So();
2573
- function fs() {
2574
+ ko();
2575
+ function ps() {
2574
2576
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
2575
2577
  }
2576
- function Pc() {
2577
- if (typeof fs().vocadsIcons !== void 0)
2578
- return fs().vocadsIcons;
2578
+ function Oc() {
2579
+ if (typeof ps().vocadsIcons !== void 0)
2580
+ return ps().vocadsIcons;
2579
2581
  }
2580
- function Mc() {
2581
- return fs().vocadsIconsRegistered;
2582
+ function Pc() {
2583
+ return ps().vocadsIconsRegistered;
2582
2584
  }
2583
- const Nc = ".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))}", Dc = /* @__PURE__ */ wo(class extends uo {
2585
+ const Ic = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Mc = /* @__PURE__ */ $o(class extends lo {
2584
2586
  constructor() {
2585
2587
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2586
2588
  }
@@ -2592,8 +2594,8 @@ const Nc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2592
2594
  getSvgString() {
2593
2595
  if (this.svg)
2594
2596
  return this.svg;
2595
- if (Mc() && this.name) {
2596
- const n = Pc();
2597
+ if (Pc() && this.name) {
2598
+ const n = Oc();
2597
2599
  return n[this.name] ? n[this.name].svg : "";
2598
2600
  }
2599
2601
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
@@ -2604,15 +2606,15 @@ const Nc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2604
2606
  ...e,
2605
2607
  { name: "aria-hidden", value: "true" }
2606
2608
  ];
2607
- const t = Tc({
2608
- content: Cc(n),
2609
+ const t = Ac({
2610
+ content: Ec(n),
2609
2611
  attributes: e,
2610
2612
  title: this.allyTitle
2611
2613
  });
2612
- return Je(Ns, { class: `telia-icon telia-icon--${this.size}` }, Je("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), Je("telia-vst", { dataTrackingId: this.dataTrackingId }));
2614
+ return Je(Is, { class: `telia-icon telia-icon--${this.size}` }, Je("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), Je("telia-vst", { dataTrackingId: this.dataTrackingId }));
2613
2615
  }
2614
2616
  static get style() {
2615
- return Nc;
2617
+ return Ic;
2616
2618
  }
2617
2619
  }, [0, "telia-icon", {
2618
2620
  name: [1],
@@ -2621,27 +2623,27 @@ const Nc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2621
2623
  allyTitle: [1, "ally-title"],
2622
2624
  dataTestid: [1, "data-testid"]
2623
2625
  }]);
2624
- function Uc() {
2626
+ function Nc() {
2625
2627
  if (typeof customElements > "u")
2626
2628
  return;
2627
2629
  ["telia-icon", "telia-vst"].forEach((e) => {
2628
2630
  switch (e) {
2629
2631
  case "telia-icon":
2630
- customElements.get(e) || customElements.define(e, Dc);
2632
+ customElements.get(e) || customElements.define(e, Mc);
2631
2633
  break;
2632
2634
  case "telia-vst":
2633
- customElements.get(e) || So();
2635
+ customElements.get(e) || ko();
2634
2636
  break;
2635
2637
  }
2636
2638
  });
2637
2639
  }
2638
- Uc();
2640
+ Nc();
2639
2641
  /**
2640
2642
  * @license
2641
2643
  * Copyright 2017 Google LLC
2642
2644
  * SPDX-License-Identifier: BSD-3-Clause
2643
2645
  */
2644
- const zc = { attribute: !0, type: String, converter: nn, reflect: !1, hasChanged: Os }, Hc = (n = zc, e, t) => {
2646
+ const Dc = { attribute: !0, type: String, converter: tn, reflect: !1, hasChanged: Ls }, Uc = (n = Dc, e, t) => {
2645
2647
  const { kind: s, metadata: r } = t;
2646
2648
  let i = globalThis.litPropertyMetadata.get(r);
2647
2649
  if (i === void 0 && globalThis.litPropertyMetadata.set(r, i = /* @__PURE__ */ new Map()), s === "setter" && ((n = Object.create(n)).wrapped = !0), i.set(t.name, n), s === "accessor") {
@@ -2663,7 +2665,7 @@ const zc = { attribute: !0, type: String, converter: nn, reflect: !1, hasChanged
2663
2665
  throw Error("Unsupported decorator location: " + s);
2664
2666
  };
2665
2667
  function C(n) {
2666
- return (e, t) => typeof t == "object" ? Hc(n, e, t) : ((s, r, i) => {
2668
+ return (e, t) => typeof t == "object" ? Uc(n, e, t) : ((s, r, i) => {
2667
2669
  const o = r.hasOwnProperty(i);
2668
2670
  return r.constructor.createProperty(i, s), o ? Object.getOwnPropertyDescriptor(r, i) : void 0;
2669
2671
  })(n, e, t);
@@ -2681,14 +2683,14 @@ function z(n) {
2681
2683
  * Copyright 2020 Google LLC
2682
2684
  * SPDX-License-Identifier: BSD-3-Clause
2683
2685
  */
2684
- const Bc = (n) => n.strings === void 0;
2686
+ const zc = (n) => n.strings === void 0;
2685
2687
  /**
2686
2688
  * @license
2687
2689
  * Copyright 2017 Google LLC
2688
2690
  * SPDX-License-Identifier: BSD-3-Clause
2689
2691
  */
2690
- const Sn = { ATTRIBUTE: 1, CHILD: 2 }, An = (n) => (...e) => ({ _$litDirective$: n, values: e });
2691
- let Us = class {
2692
+ const kn = { ATTRIBUTE: 1, CHILD: 2 }, _n = (n) => (...e) => ({ _$litDirective$: n, values: e });
2693
+ let Ns = class {
2692
2694
  constructor(e) {
2693
2695
  }
2694
2696
  get _$AU() {
@@ -2715,45 +2717,45 @@ const xt = (n, e) => {
2715
2717
  if (t === void 0) return !1;
2716
2718
  for (const r of t) (s = r._$AO) == null || s.call(r, e, !1), xt(r, e);
2717
2719
  return !0;
2718
- }, cn = (n) => {
2720
+ }, ln = (n) => {
2719
2721
  let e, t;
2720
2722
  do {
2721
2723
  if ((e = n._$AM) === void 0) break;
2722
2724
  t = e._$AN, t.delete(n), n = e;
2723
2725
  } while ((t == null ? void 0 : t.size) === 0);
2724
- }, Ao = (n) => {
2726
+ }, _o = (n) => {
2725
2727
  for (let e; e = n._$AM; n = e) {
2726
2728
  let t = e._$AN;
2727
2729
  if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
2728
2730
  else if (t.has(n)) break;
2729
- t.add(n), Gc(e);
2731
+ t.add(n), Fc(e);
2730
2732
  }
2731
2733
  };
2732
- function Fc(n) {
2733
- this._$AN !== void 0 ? (cn(this), this._$AM = n, Ao(this)) : this._$AM = n;
2734
+ function Hc(n) {
2735
+ this._$AN !== void 0 ? (ln(this), this._$AM = n, _o(this)) : this._$AM = n;
2734
2736
  }
2735
- function jc(n, e = !1, t = 0) {
2737
+ function Bc(n, e = !1, t = 0) {
2736
2738
  const s = this._$AH, r = this._$AN;
2737
- if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(s)) for (let i = t; i < s.length; i++) xt(s[i], !1), cn(s[i]);
2738
- else s != null && (xt(s, !1), cn(s));
2739
+ if (r !== void 0 && r.size !== 0) if (e) if (Array.isArray(s)) for (let i = t; i < s.length; i++) xt(s[i], !1), ln(s[i]);
2740
+ else s != null && (xt(s, !1), ln(s));
2739
2741
  else xt(this, n);
2740
2742
  }
2741
- const Gc = (n) => {
2742
- n.type == Sn.CHILD && (n._$AP ?? (n._$AP = jc), n._$AQ ?? (n._$AQ = Fc));
2743
+ const Fc = (n) => {
2744
+ n.type == kn.CHILD && (n._$AP ?? (n._$AP = Bc), n._$AQ ?? (n._$AQ = Hc));
2743
2745
  };
2744
- let Eo = class extends Us {
2746
+ let So = class extends Ns {
2745
2747
  constructor() {
2746
2748
  super(...arguments), this._$AN = void 0;
2747
2749
  }
2748
2750
  _$AT(e, t, s) {
2749
- super._$AT(e, t, s), Ao(this), this.isConnected = e._$AU;
2751
+ super._$AT(e, t, s), _o(this), this.isConnected = e._$AU;
2750
2752
  }
2751
2753
  _$AO(e, t = !0) {
2752
2754
  var s, r;
2753
- e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), t && (xt(this, e), cn(this));
2755
+ e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) == null || s.call(this) : (r = this.disconnected) == null || r.call(this)), t && (xt(this, e), ln(this));
2754
2756
  }
2755
2757
  setValue(e) {
2756
- if (Bc(this._$Ct)) this._$Ct._$AI(e, this);
2758
+ if (zc(this._$Ct)) this._$Ct._$AI(e, this);
2757
2759
  else {
2758
2760
  const t = [...this._$Ct._$AH];
2759
2761
  t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
@@ -2769,10 +2771,10 @@ let Eo = class extends Us {
2769
2771
  * Copyright 2020 Google LLC
2770
2772
  * SPDX-License-Identifier: BSD-3-Clause
2771
2773
  */
2772
- const ie = () => new Wc();
2773
- class Wc {
2774
+ const ie = () => new jc();
2775
+ class jc {
2774
2776
  }
2775
- const Yn = /* @__PURE__ */ new WeakMap(), oe = An(class extends Eo {
2777
+ const qn = /* @__PURE__ */ new WeakMap(), oe = _n(class extends So {
2776
2778
  render(n) {
2777
2779
  return x;
2778
2780
  }
@@ -2784,13 +2786,13 @@ const Yn = /* @__PURE__ */ new WeakMap(), oe = An(class extends Eo {
2784
2786
  rt(n) {
2785
2787
  if (this.isConnected || (n = void 0), typeof this.G == "function") {
2786
2788
  const e = this.ht ?? globalThis;
2787
- let t = Yn.get(e);
2788
- t === void 0 && (t = /* @__PURE__ */ new WeakMap(), Yn.set(e, t)), t.get(this.G) !== void 0 && this.G.call(this.ht, void 0), t.set(this.G, n), n !== void 0 && this.G.call(this.ht, n);
2789
+ let t = qn.get(e);
2790
+ t === void 0 && (t = /* @__PURE__ */ new WeakMap(), qn.set(e, t)), t.get(this.G) !== void 0 && this.G.call(this.ht, void 0), t.set(this.G, n), n !== void 0 && this.G.call(this.ht, n);
2789
2791
  } else this.G.value = n;
2790
2792
  }
2791
2793
  get lt() {
2792
2794
  var n, e;
2793
- return typeof this.G == "function" ? (n = Yn.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.G) : (e = this.G) == null ? void 0 : e.value;
2795
+ return typeof this.G == "function" ? (n = qn.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.G) : (e = this.G) == null ? void 0 : e.value;
2794
2796
  }
2795
2797
  disconnected() {
2796
2798
  this.lt === this.ct && this.rt(void 0);
@@ -2804,10 +2806,10 @@ const Yn = /* @__PURE__ */ new WeakMap(), oe = An(class extends Eo {
2804
2806
  * Copyright 2018 Google LLC
2805
2807
  * SPDX-License-Identifier: BSD-3-Clause
2806
2808
  */
2807
- const rt = An(class extends Us {
2809
+ const rt = _n(class extends Ns {
2808
2810
  constructor(n) {
2809
2811
  var e;
2810
- if (super(n), n.type !== Sn.ATTRIBUTE || n.name !== "class" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
2812
+ if (super(n), n.type !== kn.ATTRIBUTE || n.name !== "class" || ((e = n.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
2811
2813
  }
2812
2814
  render(n) {
2813
2815
  return " " + Object.keys(n).filter((e) => n[e]).join(" ") + " ";
@@ -2828,12 +2830,12 @@ const rt = An(class extends Us {
2828
2830
  return _e;
2829
2831
  }
2830
2832
  });
2831
- var qc = Object.defineProperty, Zc = (n, e, t, s) => {
2833
+ var Gc = Object.defineProperty, Wc = (n, e, t, s) => {
2832
2834
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
2833
2835
  (o = n[i]) && (r = o(e, t, r) || r);
2834
- return r && qc(e, t, r), r;
2836
+ return r && Gc(e, t, r), r;
2835
2837
  };
2836
- const Xs = class Xs extends M {
2838
+ const Ys = class Ys extends M {
2837
2839
  constructor() {
2838
2840
  super(...arguments), this.anchor = "BottomRight";
2839
2841
  }
@@ -2845,7 +2847,7 @@ const Xs = class Xs extends M {
2845
2847
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), x;
2846
2848
  }
2847
2849
  };
2848
- Xs.styles = [
2850
+ Ys.styles = [
2849
2851
  Y`
2850
2852
  :host {
2851
2853
  position: fixed;
@@ -2864,38 +2866,38 @@ Xs.styles = [
2864
2866
  }
2865
2867
  `
2866
2868
  ];
2867
- let un = Xs;
2868
- Zc([
2869
+ let cn = Ys;
2870
+ Wc([
2869
2871
  C({ attribute: !0 })
2870
- ], un.prototype, "anchor");
2871
- const Yc = /* @__PURE__ */ new WeakMap();
2872
- let li = 0;
2873
- const Xn = /* @__PURE__ */ new Map(), ci = /* @__PURE__ */ new WeakSet(), ui = () => new Promise((n) => requestAnimationFrame(n)), Xc = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Kc = [{ opacity: 0 }], hi = [{ opacity: 0 }, { opacity: 1 }], pi = (n, e) => {
2872
+ ], cn.prototype, "anchor");
2873
+ const qc = /* @__PURE__ */ new WeakMap();
2874
+ let ai = 0;
2875
+ const Zn = /* @__PURE__ */ new Map(), li = /* @__PURE__ */ new WeakSet(), ci = () => new Promise((n) => requestAnimationFrame(n)), Zc = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Yc = [{ opacity: 0 }], ui = [{ opacity: 0 }, { opacity: 1 }], hi = (n, e) => {
2874
2876
  const t = n - e;
2875
2877
  return t === 0 ? void 0 : t;
2876
- }, di = (n, e) => {
2878
+ }, pi = (n, e) => {
2877
2879
  const t = n / e;
2878
2880
  return t === 1 ? void 0 : t;
2879
- }, Kn = { left: (n, e) => {
2880
- const t = pi(n, e);
2881
+ }, Yn = { left: (n, e) => {
2882
+ const t = hi(n, e);
2881
2883
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
2882
2884
  }, top: (n, e) => {
2883
- const t = pi(n, e);
2885
+ const t = hi(n, e);
2884
2886
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateY(${t}px)` };
2885
2887
  }, width: (n, e) => {
2886
2888
  let t;
2887
2889
  e === 0 && (e = 1, t = { width: "1px" });
2888
- const s = di(n, e);
2890
+ const s = pi(n, e);
2889
2891
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleX(${s})` };
2890
2892
  }, height: (n, e) => {
2891
2893
  let t;
2892
2894
  e === 0 && (e = 1, t = { height: "1px" });
2893
- const s = di(n, e);
2895
+ const s = pi(n, e);
2894
2896
  return { value: s, overrideFrom: t, transform: s == null || isNaN(s) ? void 0 : `scaleY(${s})` };
2895
- } }, Vc = { duration: 333, easing: "ease-in-out" }, Qc = ["left", "top", "width", "height", "opacity", "color", "background"], fi = /* @__PURE__ */ new WeakMap();
2896
- class Jc extends Eo {
2897
+ } }, Xc = { duration: 333, easing: "ease-in-out" }, Kc = ["left", "top", "width", "height", "opacity", "color", "background"], di = /* @__PURE__ */ new WeakMap();
2898
+ class Vc extends So {
2897
2899
  constructor(e) {
2898
- if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === Sn.CHILD) throw Error("The `animate` directive must be used in attribute position.");
2900
+ if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === kn.CHILD) throw Error("The `animate` directive must be used in attribute position.");
2899
2901
  this.createFinished();
2900
2902
  }
2901
2903
  createFinished() {
@@ -2912,7 +2914,7 @@ class Jc extends Eo {
2912
2914
  return x;
2913
2915
  }
2914
2916
  getController() {
2915
- return Yc.get(this.u);
2917
+ return qc.get(this.u);
2916
2918
  }
2917
2919
  isDisabled() {
2918
2920
  var e;
@@ -2921,17 +2923,17 @@ class Jc extends Eo {
2921
2923
  update(e, [t]) {
2922
2924
  var r;
2923
2925
  const s = this.u === void 0;
2924
- return s && (this.u = (r = e.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((i) => this.t = !0), this.element = e.element, fi.set(this.element, this)), this.optionsOrCallback = t, (s || typeof t != "function") && this.p(t), this.render(t);
2926
+ return s && (this.u = (r = e.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((i) => this.t = !0), this.element = e.element, di.set(this.element, this)), this.optionsOrCallback = t, (s || typeof t != "function") && this.p(t), this.render(t);
2925
2927
  }
2926
2928
  p(e) {
2927
2929
  e = e ?? {};
2928
2930
  const t = this.getController();
2929
- t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = Qc), this.options = e;
2931
+ t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = Kc), this.options = e;
2930
2932
  }
2931
2933
  m() {
2932
2934
  const e = {}, t = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
2933
2935
  return this.options.properties.forEach((r) => {
2934
- const i = t[r] ?? (Kn[r] ? void 0 : s[r]), o = Number(i);
2936
+ const i = t[r] ?? (Yn[r] ? void 0 : s[r]), o = Number(i);
2935
2937
  e[r] = isNaN(o) ? i + "" : o;
2936
2938
  }), e;
2937
2939
  }
@@ -2950,17 +2952,17 @@ class Jc extends Eo {
2950
2952
  async hostUpdated() {
2951
2953
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
2952
2954
  let e;
2953
- this.prepare(), await ui;
2955
+ this.prepare(), await ci;
2954
2956
  const t = this.O(), s = this.j(this.options.keyframeOptions, t), r = this.m();
2955
2957
  if (this.A !== void 0) {
2956
2958
  const { from: i, to: o } = this.N(this.A, r, t);
2957
2959
  this.log("measured", [this.A, r, i, o]), e = this.calculateKeyframes(i, o);
2958
2960
  } else {
2959
- const i = Xn.get(this.options.inId);
2961
+ const i = Zn.get(this.options.inId);
2960
2962
  if (i) {
2961
- Xn.delete(this.options.inId);
2963
+ Zn.delete(this.options.inId);
2962
2964
  const { from: o, to: a } = this.N(i, r, t);
2963
- e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, li++, e.forEach((l) => l.zIndex = li);
2965
+ e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, ai++, e.forEach((l) => l.zIndex = ai);
2964
2966
  } else this.options.in && (e = [...this.options.in, {}]);
2965
2967
  }
2966
2968
  this.animate(e, s);
@@ -2976,8 +2978,8 @@ class Jc extends Eo {
2976
2978
  }
2977
2979
  async disconnected() {
2978
2980
  var t;
2979
- if (!this.h || (this.options.id !== void 0 && Xn.set(this.options.id, this.A), this.options.out === void 0)) return;
2980
- if (this.prepare(), await ui(), (t = this.i) == null ? void 0 : t.isConnected) {
2981
+ if (!this.h || (this.options.id !== void 0 && Zn.set(this.options.id, this.A), this.options.out === void 0)) return;
2982
+ if (this.prepare(), await ci(), (t = this.i) == null ? void 0 : t.isConnected) {
2981
2983
  const s = this.o && this.o.parentNode === this.i ? this.o : null;
2982
2984
  if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
2983
2985
  const r = this.m();
@@ -3003,19 +3005,19 @@ class Jc extends Eo {
3003
3005
  O() {
3004
3006
  const e = [];
3005
3007
  for (let t = this.element.parentNode; t; t = t == null ? void 0 : t.parentNode) {
3006
- const s = fi.get(t);
3008
+ const s = di.get(t);
3007
3009
  s && !s.isDisabled() && s && e.push(s);
3008
3010
  }
3009
3011
  return e;
3010
3012
  }
3011
3013
  get isHostRendered() {
3012
- const e = ci.has(this.u);
3014
+ const e = li.has(this.u);
3013
3015
  return e || this.u.updateComplete.then(() => {
3014
- ci.add(this.u);
3016
+ li.add(this.u);
3015
3017
  }), e;
3016
3018
  }
3017
3019
  j(e, t = this.O()) {
3018
- const s = { ...Vc };
3020
+ const s = { ...Xc };
3019
3021
  return t.forEach((r) => Object.assign(s, r.options.keyframeOptions)), Object.assign(s, e), s;
3020
3022
  }
3021
3023
  N(e, t, s) {
@@ -3032,8 +3034,8 @@ class Jc extends Eo {
3032
3034
  const a = {};
3033
3035
  for (const l in t) {
3034
3036
  const c = e[l], u = t[l];
3035
- if (l in Kn) {
3036
- const d = Kn[l];
3037
+ if (l in Yn) {
3038
+ const d = Yn[l];
3037
3039
  if (c === void 0 || u === void 0) continue;
3038
3040
  const p = d(c, u);
3039
3041
  p.transform !== void 0 && (a[l] = p.value, o = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
@@ -3064,9 +3066,9 @@ class Jc extends Eo {
3064
3066
  this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
3065
3067
  }
3066
3068
  }
3067
- const gs = An(Jc), de = (n, e, t) => {
3069
+ const ds = _n(Vc), de = (n, e, t) => {
3068
3070
  n && t.style.setProperty(e, n);
3069
- }, To = (n, e) => {
3071
+ }, Ao = (n, e) => {
3070
3072
  var t, s, r, i, o, a, l, c, u;
3071
3073
  de((t = n.colors) == null ? void 0 : t.primaryBackground, "--primary-background", e), de(
3072
3074
  (s = n.colors) == null ? void 0 : s.textOnPrimaryBackground,
@@ -3098,12 +3100,12 @@ const gs = An(Jc), de = (n, e, t) => {
3098
3100
  e
3099
3101
  ), de((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", e);
3100
3102
  };
3101
- var eu = Object.defineProperty, Mt = (n, e, t, s) => {
3103
+ var Qc = Object.defineProperty, It = (n, e, t, s) => {
3102
3104
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3103
3105
  (o = n[i]) && (r = o(e, t, r) || r);
3104
- return r && eu(e, t, r), r;
3106
+ return r && Qc(e, t, r), r;
3105
3107
  };
3106
- const Ks = class Ks extends M {
3108
+ const Xs = class Xs extends M {
3107
3109
  constructor() {
3108
3110
  super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = ie(), this.widgetActive$ = new te(!1), this.componentIsDestroyed$ = new U();
3109
3111
  }
@@ -3140,7 +3142,7 @@ const Ks = class Ks extends M {
3140
3142
  }
3141
3143
  _applyBranding() {
3142
3144
  var e;
3143
- (e = this.application) != null && e.settings && To(this.application.settings.branding, this);
3145
+ (e = this.application) != null && e.settings && Ao(this.application.settings.branding, this);
3144
3146
  }
3145
3147
  async _renderSymbol() {
3146
3148
  var a, l, c;
@@ -3150,7 +3152,7 @@ const Ks = class Ks extends M {
3150
3152
  const s = (c = this.application) == null ? void 0 : c.triggerIcon;
3151
3153
  if (!s)
3152
3154
  return x;
3153
- const r = async (u) => zl, { type: i, content: o } = s;
3155
+ const r = async (u) => Dl, { type: i, content: o } = s;
3154
3156
  switch (i) {
3155
3157
  case "Telia": {
3156
3158
  const u = await r();
@@ -3192,9 +3194,9 @@ const Ks = class Ks extends M {
3192
3194
  aria-label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
3193
3195
  class="trigger-label"
3194
3196
  @click=${this.toggleActive}
3195
- ${gs({
3197
+ ${ds({
3196
3198
  keyframeOptions: {},
3197
- in: Xc,
3199
+ in: Zc,
3198
3200
  stabilizeOut: !0,
3199
3201
  skipInitial: !1
3200
3202
  })}
@@ -3245,7 +3247,7 @@ const Ks = class Ks extends M {
3245
3247
  </div>`;
3246
3248
  }
3247
3249
  };
3248
- Ks.styles = [
3250
+ Xs.styles = [
3249
3251
  Y`
3250
3252
  :host {
3251
3253
  --voca-rem-multiplier: 0.625;
@@ -3377,28 +3379,28 @@ Ks.styles = [
3377
3379
  }
3378
3380
  `
3379
3381
  ];
3380
- let ve = Ks;
3381
- Mt([
3382
+ let ve = Xs;
3383
+ It([
3382
3384
  C({ attribute: !1 })
3383
3385
  ], ve.prototype, "application");
3384
- Mt([
3386
+ It([
3385
3387
  z()
3386
3388
  ], ve.prototype, "active");
3387
- Mt([
3389
+ It([
3388
3390
  z()
3389
3391
  ], ve.prototype, "triggerVisible");
3390
- Mt([
3392
+ It([
3391
3393
  z()
3392
3394
  ], ve.prototype, "loaded");
3393
- Mt([
3395
+ It([
3394
3396
  z()
3395
3397
  ], ve.prototype, "icon");
3396
- var tu = Object.defineProperty, Oe = (n, e, t, s) => {
3398
+ var Jc = Object.defineProperty, Oe = (n, e, t, s) => {
3397
3399
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3398
3400
  (o = n[i]) && (r = o(e, t, r) || r);
3399
- return r && tu(e, t, r), r;
3401
+ return r && Jc(e, t, r), r;
3400
3402
  };
3401
- const Co = (n) => {
3403
+ const Eo = (n) => {
3402
3404
  const t = class t extends n {
3403
3405
  constructor() {
3404
3406
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -3454,37 +3456,37 @@ const Co = (n) => {
3454
3456
  ], e.prototype, "application"), Oe([
3455
3457
  C({ attribute: !1 })
3456
3458
  ], e.prototype, "parent"), e;
3457
- }, Vs = class Vs extends Co(M) {
3459
+ }, Ks = class Ks extends Eo(M) {
3458
3460
  render() {
3459
3461
  return w`Non resolved component`;
3460
3462
  }
3461
3463
  };
3462
- Vs.styles = [
3464
+ Ks.styles = [
3463
3465
  Y`
3464
3466
  :host {
3465
3467
  display: block;
3466
3468
  }
3467
3469
  `
3468
3470
  ];
3469
- let ms = Vs;
3471
+ let fs = Ks;
3470
3472
  /**
3471
3473
  * @license
3472
3474
  * Copyright 2021 Google LLC
3473
3475
  * SPDX-License-Identifier: BSD-3-Clause
3474
3476
  */
3475
- function* nu(n, e) {
3477
+ function* eu(n, e) {
3476
3478
  if (n !== void 0) {
3477
3479
  let t = 0;
3478
3480
  for (const s of n) yield e(s, t++);
3479
3481
  }
3480
3482
  }
3481
- var At = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n))(At || {});
3483
+ var Ds = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n))(Ds || {});
3482
3484
  /**
3483
3485
  * @license
3484
3486
  * Copyright 2021 Google LLC
3485
3487
  * SPDX-License-Identifier: BSD-3-Clause
3486
3488
  */
3487
- let su = class extends Event {
3489
+ let tu = class extends Event {
3488
3490
  constructor(e, t, s, r) {
3489
3491
  super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t, this.callback = s, this.subscribe = r ?? !1;
3490
3492
  }
@@ -3499,7 +3501,7 @@ let su = class extends Event {
3499
3501
  * Copyright 2021 Google LLC
3500
3502
  * SPDX-License-Identifier: BSD-3-Clause
3501
3503
  */
3502
- class ru {
3504
+ class nu {
3503
3505
  get value() {
3504
3506
  return this.o;
3505
3507
  }
@@ -3532,12 +3534,12 @@ class ru {
3532
3534
  * Copyright 2021 Google LLC
3533
3535
  * SPDX-License-Identifier: BSD-3-Clause
3534
3536
  */
3535
- let iu = class extends Event {
3537
+ let su = class extends Event {
3536
3538
  constructor(e, t) {
3537
3539
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t;
3538
3540
  }
3539
3541
  };
3540
- class gi extends ru {
3542
+ class fi extends nu {
3541
3543
  constructor(e, t, s) {
3542
3544
  var r, i;
3543
3545
  super(t.context !== void 0 ? t.initialValue : s), this.onContextRequest = (o) => {
@@ -3547,7 +3549,7 @@ class gi extends ru {
3547
3549
  }, this.onProviderRequest = (o) => {
3548
3550
  if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
3549
3551
  const a = /* @__PURE__ */ new Set();
3550
- for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new su(this.context, c, l, !0)));
3552
+ for (const [l, { consumerHost: c }] of this.subscriptions) a.has(l) || (a.add(l), c.dispatchEvent(new tu(this.context, c, l, !0)));
3551
3553
  o.stopPropagation();
3552
3554
  }, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (i = (r = this.host).addController) == null || i.call(r, this);
3553
3555
  }
@@ -3555,7 +3557,7 @@ class gi extends ru {
3555
3557
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
3556
3558
  }
3557
3559
  hostConnected() {
3558
- this.host.dispatchEvent(new iu(this.context, this.host));
3560
+ this.host.dispatchEvent(new su(this.context, this.host));
3559
3561
  }
3560
3562
  }
3561
3563
  /**
@@ -3563,7 +3565,7 @@ class gi extends ru {
3563
3565
  * Copyright 2017 Google LLC
3564
3566
  * SPDX-License-Identifier: BSD-3-Clause
3565
3567
  */
3566
- function ou({ context: n }) {
3568
+ function ru({ context: n }) {
3567
3569
  return (e, t) => {
3568
3570
  const s = /* @__PURE__ */ new WeakMap();
3569
3571
  if (typeof t == "object") return { get() {
@@ -3571,11 +3573,11 @@ function ou({ context: n }) {
3571
3573
  }, set(r) {
3572
3574
  return s.get(this).setValue(r), e.set.call(this, r);
3573
3575
  }, init(r) {
3574
- return s.set(this, new gi(this, { context: n, initialValue: r })), r;
3576
+ return s.set(this, new fi(this, { context: n, initialValue: r })), r;
3575
3577
  } };
3576
3578
  {
3577
3579
  e.constructor.addInitializer((o) => {
3578
- s.set(o, new gi(o, { context: n }));
3580
+ s.set(o, new fi(o, { context: n }));
3579
3581
  });
3580
3582
  const r = Object.getOwnPropertyDescriptor(e, t);
3581
3583
  let i;
@@ -3596,12 +3598,12 @@ function ou({ context: n }) {
3596
3598
  }
3597
3599
  };
3598
3600
  }
3599
- var au = Object.defineProperty, Lo = (n, e, t, s) => {
3601
+ var iu = Object.defineProperty, To = (n, e, t, s) => {
3600
3602
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3601
3603
  (o = n[i]) && (r = o(e, t, r) || r);
3602
- return r && au(e, t, r), r;
3604
+ return r && iu(e, t, r), r;
3603
3605
  };
3604
- const lu = "application", Qs = class Qs extends M {
3606
+ const ou = "application", Vs = class Vs extends M {
3605
3607
  constructor() {
3606
3608
  super(...arguments), this.nodes = [], this.wrapperRef = ie(), this.fullscreen = !1, this.isReady = new te(!1);
3607
3609
  }
@@ -3612,7 +3614,7 @@ const lu = "application", Qs = class Qs extends M {
3612
3614
  if (!this.wrapperRef.value)
3613
3615
  return;
3614
3616
  const e = this.application.settings;
3615
- e != null && e.branding && To(e.branding, this.wrapperRef.value);
3617
+ e != null && e.branding && Ao(e.branding, this.wrapperRef.value);
3616
3618
  }
3617
3619
  applyStyles() {
3618
3620
  if (!this.wrapperRef.value)
@@ -3628,12 +3630,12 @@ const lu = "application", Qs = class Qs extends M {
3628
3630
  render() {
3629
3631
  var s, r;
3630
3632
  const e = this.application.settings.components.conversation;
3631
- return ((r = (s = e == null ? void 0 : e.properties) == null ? void 0 : s.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === At.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), w`<div class="widget-container" ${oe(this.wrapperRef)}>
3632
- ${nu(this.nodes, (i) => i)}
3633
+ return ((r = (s = e == null ? void 0 : e.properties) == null ? void 0 : s.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === Ds.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), w`<div class="widget-container" ${oe(this.wrapperRef)}>
3634
+ ${eu(this.nodes, (i) => i)}
3633
3635
  </div>`;
3634
3636
  }
3635
3637
  };
3636
- Qs.styles = Y`
3638
+ Vs.styles = Y`
3637
3639
  :host {
3638
3640
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3639
3641
  --spacing-xs: 0.2rem;
@@ -3799,59 +3801,20 @@ Qs.styles = Y`
3799
3801
  animation: none;
3800
3802
  }
3801
3803
  `;
3802
- let Et = Qs;
3803
- Lo([
3804
+ let At = Vs;
3805
+ To([
3804
3806
  C({ attribute: !0 })
3805
- ], Et.prototype, "fullscreen");
3806
- Lo([
3807
+ ], At.prototype, "fullscreen");
3808
+ To([
3807
3809
  C({ attribute: !1 }),
3808
- ou({ context: lu })
3809
- ], Et.prototype, "application");
3810
- const vn = class vn {
3811
- // TODO:
3812
- // private static endpoint = 'http://localhost:5299/api'; // TODO:
3813
- constructor(e = vn.endpoint) {
3814
- this._endpoint = e;
3815
- }
3816
- async getSite(e) {
3817
- const s = await (await fetch(e)).json();
3818
- return s ? {
3819
- id: s.id,
3820
- triggers: s.triggers || [],
3821
- apps: (s.widgets || []).map((r) => {
3822
- let i = At.Trigger;
3823
- r.renderStrategy.toLowerCase() === "inline" && (i = At.Inline);
3824
- const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, l = typeof r.anchor == "string" ? r.anchor : "BottomRight", c = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
3825
- return {
3826
- id: o,
3827
- widgetId: o,
3828
- renderStrategy: i,
3829
- autoActivate: a,
3830
- anchor: l,
3831
- triggerIcon: {
3832
- type: "Telia",
3833
- content: c
3834
- }
3835
- };
3836
- })
3837
- } : null;
3838
- }
3839
- async getWidget(e) {
3840
- const s = await (await fetch(`${this._endpoint}/widget/${e}`)).json();
3841
- return s ? {
3842
- name: s.name,
3843
- config: JSON.parse(s.configuration)
3844
- } : null;
3845
- }
3846
- };
3847
- vn.endpoint = "https://widgets.ace.teliacompany.net/api";
3848
- let mi = vn;
3849
- var cu = Object.defineProperty, zs = (n, e, t, s) => {
3810
+ ru({ context: ou })
3811
+ ], At.prototype, "application");
3812
+ var au = Object.defineProperty, Us = (n, e, t, s) => {
3850
3813
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
3851
3814
  (o = n[i]) && (r = o(e, t, r) || r);
3852
- return r && cu(e, t, r), r;
3815
+ return r && au(e, t, r), r;
3853
3816
  };
3854
- const Js = class Js extends M {
3817
+ const Qs = class Qs extends M {
3855
3818
  constructor() {
3856
3819
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
3857
3820
  }
@@ -3876,36 +3839,36 @@ const Js = class Js extends M {
3876
3839
  render() {
3877
3840
  if (!this.widget || this.status !== "activated")
3878
3841
  return x;
3879
- if (this.widget.renderStrategy === At.Trigger) {
3842
+ if (this.widget.renderStrategy === Ds.Trigger) {
3880
3843
  const e = new ve();
3881
3844
  return e.application = this.widget, e;
3882
3845
  }
3883
3846
  return this.widget.render();
3884
3847
  }
3885
3848
  };
3886
- Js.styles = [
3849
+ Qs.styles = [
3887
3850
  Y`
3888
3851
  :host {
3889
3852
  display: block;
3890
3853
  }
3891
3854
  `
3892
3855
  ];
3893
- let it = Js;
3894
- zs([
3856
+ let it = Qs;
3857
+ Us([
3895
3858
  C({ attribute: !0 })
3896
3859
  ], it.prototype, "name");
3897
- zs([
3860
+ Us([
3898
3861
  z()
3899
3862
  ], it.prototype, "widget");
3900
- zs([
3863
+ Us([
3901
3864
  z()
3902
3865
  ], it.prototype, "status");
3903
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", un);
3866
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", cn);
3904
3867
  customElements.get("ace-trigger") || customElements.define("ace-trigger", ve);
3905
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ms);
3906
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Et);
3868
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fs);
3869
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", At);
3907
3870
  customElements.get("ace-widget") || customElements.define("ace-widget", it);
3908
- class uu {
3871
+ class lu {
3909
3872
  constructor(e) {
3910
3873
  this._message = null, this._host = e, e.addController(this);
3911
3874
  }
@@ -3921,19 +3884,19 @@ class uu {
3921
3884
  return !!this.message;
3922
3885
  }
3923
3886
  }
3924
- class vi {
3887
+ class gi {
3925
3888
  constructor(e, t, s, r, i) {
3926
3889
  this.id = e, this.providerKey = t, this.providerOptions = s, this.component = i, this.provider$ = new te(null), this.entries$ = new te([]), this.removeEntryAction$ = new U(), this.kill$ = new U(), this.isTyping$ = new te(!1), this.data$ = new te({}), this.complete$ = this.provider$.pipe(
3927
- Qe((l) => l ? l.onComplete() : Ot)
3890
+ Qe((l) => l ? l.onComplete() : Rt)
3928
3891
  );
3929
3892
  const o = this._getProviderFactory(t);
3930
3893
  if (!o)
3931
3894
  throw new Error(`No provider with key "${t}" was found.`);
3932
3895
  this.data$.next(r);
3933
3896
  const a = o(this.component);
3934
- this.provider$.next(a), a.actions().pipe(ls(this.kill$)).subscribe((l) => {
3897
+ this.provider$.next(a), a.actions().pipe(os(this.kill$)).subscribe((l) => {
3935
3898
  this.write(l);
3936
- }), a.isTyping().pipe(ls(this.kill$)).subscribe((l) => {
3899
+ }), a.isTyping().pipe(os(this.kill$)).subscribe((l) => {
3937
3900
  this.isTyping$.next(l);
3938
3901
  });
3939
3902
  }
@@ -3961,14 +3924,14 @@ class vi {
3961
3924
  };
3962
3925
  }
3963
3926
  write(e) {
3964
- this._addEntryRemoveHandler(e), this.entries$.pipe(as(1)).subscribe((t) => {
3927
+ this._addEntryRemoveHandler(e), this.entries$.pipe(is(1)).subscribe((t) => {
3965
3928
  this.entries$.next([...t, e]);
3966
3929
  });
3967
3930
  }
3968
3931
  _addEntryRemoveHandler(e) {
3969
3932
  e.remove$.pipe(
3970
3933
  Qe(() => this.entries$),
3971
- as(1)
3934
+ is(1)
3972
3935
  ).subscribe((t) => {
3973
3936
  this.removeEntryAction$.next(e), this.entries$.next(t.filter((s) => s !== e));
3974
3937
  });
@@ -3977,9 +3940,9 @@ class vi {
3977
3940
  return this.component.platform.registeredProviders.get(e);
3978
3941
  }
3979
3942
  }
3980
- class hu {
3943
+ class cu {
3981
3944
  constructor(e) {
3982
- this.component = e, this.currentSession$ = new te(null), this.sessions = [], this.storage = null, tn(e, "handover").subscribe((t) => {
3945
+ this.component = e, this.currentSession$ = new te(null), this.sessions = [], this.storage = null, en(e, "handover").subscribe((t) => {
3983
3946
  const s = this._createNewSession(
3984
3947
  t.detail.providerKey,
3985
3948
  t.detail.providerOptions
@@ -4022,7 +3985,7 @@ class hu {
4022
3985
  );
4023
3986
  return e ? {
4024
3987
  sessions: e.sessions.map(
4025
- (t) => new vi(
3988
+ (t) => new gi(
4026
3989
  t.id,
4027
3990
  t.providerKey,
4028
3991
  t.providerOptions,
@@ -4059,8 +4022,8 @@ class hu {
4059
4022
  this.storage.set("conversation", t);
4060
4023
  }
4061
4024
  _createNewSession(e, t = {}) {
4062
- const s = this._getStoredSessions(), r = new vi(
4063
- eo(),
4025
+ const s = this._getStoredSessions(), r = new gi(
4026
+ Qi(),
4064
4027
  e,
4065
4028
  t,
4066
4029
  {},
@@ -4075,12 +4038,12 @@ class hu {
4075
4038
  return this.component.properties.providers[0];
4076
4039
  }
4077
4040
  }
4078
- class pu {
4041
+ class uu {
4079
4042
  constructor(e, t) {
4080
- this.state$ = e, this.component = t, this.entries$ = new te([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new hu(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4043
+ this.state$ = e, this.component = t, this.entries$ = new te([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new cu(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
4081
4044
  Qe((s) => s ? s.provider$.pipe(
4082
- Qe((r) => r ? r.isTyping() : os(!1))
4083
- ) : os(!1))
4045
+ Qe((r) => r ? r.isTyping() : rs(!1))
4046
+ ) : rs(!1))
4084
4047
  ), e.subscribe((s) => {
4085
4048
  switch (s) {
4086
4049
  case "init":
@@ -4106,16 +4069,16 @@ class pu {
4106
4069
  this.session$.pipe(
4107
4070
  Qe((e) => {
4108
4071
  if (!e)
4109
- return Ot;
4110
- const t = e.removeEntryAction$.pipe(cs(this.entries$)).pipe(
4111
- en(([r, i]) => i.filter((o) => o.id !== r.id))
4072
+ return Rt;
4073
+ const t = e.removeEntryAction$.pipe(as(this.entries$)).pipe(
4074
+ Jt(([r, i]) => i.filter((o) => o.id !== r.id))
4112
4075
  ), s = e.entries().pipe(
4113
- en((r) => {
4076
+ Jt((r) => {
4114
4077
  const i = this.entries$.value, o = r.filter((a) => i.findIndex((l) => l.id === a.id) === -1);
4115
4078
  return [...i, ...o];
4116
4079
  })
4117
4080
  );
4118
- return ll(t, s);
4081
+ return ol(t, s);
4119
4082
  })
4120
4083
  ).subscribe((e) => {
4121
4084
  this.entries$.next(e);
@@ -4126,12 +4089,12 @@ class pu {
4126
4089
  (e = this.sessionService) == null || e.startSession();
4127
4090
  }
4128
4091
  }
4129
- var du = Object.defineProperty, fu = (n, e, t, s) => {
4092
+ var hu = Object.defineProperty, pu = (n, e, t, s) => {
4130
4093
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
4131
4094
  (o = n[i]) && (r = o(e, t, r) || r);
4132
- return r && du(e, t, r), r;
4095
+ return r && hu(e, t, r), r;
4133
4096
  };
4134
- const er = class er extends M {
4097
+ const Js = class Js extends M {
4135
4098
  connectedCallback() {
4136
4099
  var e;
4137
4100
  super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
@@ -4153,13 +4116,13 @@ const er = class er extends M {
4153
4116
  }
4154
4117
  _renderDeliveryStatus(e) {
4155
4118
  return e === "delivered" ? w`<telia-icon
4156
- svg=${Ml.svg}
4119
+ svg=${Pl.svg}
4157
4120
  size="sm"
4158
4121
  ></telia-icon>` : e === "failed" ? w`<telia-icon
4159
- svg=${Pl.svg}
4122
+ svg=${Ol.svg}
4160
4123
  size="sm"
4161
4124
  title="Message could not be delivered"
4162
- ></telia-icon>` : w`<telia-icon svg=${Nl.svg} size="sm"></telia-icon>`;
4125
+ ></telia-icon>` : w`<telia-icon svg=${Il.svg} size="sm"></telia-icon>`;
4163
4126
  }
4164
4127
  _dispatchEntryAction(e) {
4165
4128
  this.entry.actions$.next(e.detail);
@@ -4245,7 +4208,7 @@ const er = class er extends M {
4245
4208
  }
4246
4209
  }
4247
4210
  };
4248
- er.styles = [
4211
+ Js.styles = [
4249
4212
  Y`
4250
4213
  :host {
4251
4214
  box-sizing: border-box;
@@ -4368,16 +4331,16 @@ er.styles = [
4368
4331
  }
4369
4332
  `
4370
4333
  ];
4371
- let hn = er;
4372
- fu([
4334
+ let un = Js;
4335
+ pu([
4373
4336
  C({ attribute: !1 })
4374
- ], hn.prototype, "entry");
4375
- var gu = Object.defineProperty, Ro = (n, e, t, s) => {
4337
+ ], un.prototype, "entry");
4338
+ var du = Object.defineProperty, Co = (n, e, t, s) => {
4376
4339
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
4377
4340
  (o = n[i]) && (r = o(e, t, r) || r);
4378
- return r && gu(e, t, r), r;
4341
+ return r && du(e, t, r), r;
4379
4342
  };
4380
- const tr = class tr extends M {
4343
+ const er = class er extends M {
4381
4344
  constructor() {
4382
4345
  super(...arguments), this.entries = [], this.loading = !0;
4383
4346
  }
@@ -4391,9 +4354,9 @@ const tr = class tr extends M {
4391
4354
  (e) => w`<div class="conversation-entry" tabindex="-1">
4392
4355
  <conversation-entry
4393
4356
  .entry=${e}
4394
- ${gs({
4357
+ ${ds({
4395
4358
  keyframeOptions: {},
4396
- in: hi,
4359
+ in: ui,
4397
4360
  stabilizeOut: !0,
4398
4361
  skipInitial: !1
4399
4362
  })}
@@ -4402,10 +4365,10 @@ const tr = class tr extends M {
4402
4365
  </div>`
4403
4366
  )}
4404
4367
  ${this.loading ? w`<ace-typing-state
4405
- ${gs({
4368
+ ${ds({
4406
4369
  keyframeOptions: {},
4407
- in: hi,
4408
- out: Kc,
4370
+ in: ui,
4371
+ out: Yc,
4409
4372
  stabilizeOut: !0,
4410
4373
  skipInitial: !1
4411
4374
  })}
@@ -4413,7 +4376,7 @@ const tr = class tr extends M {
4413
4376
  </div>`;
4414
4377
  }
4415
4378
  };
4416
- tr.styles = [
4379
+ er.styles = [
4417
4380
  Y`
4418
4381
  :host {
4419
4382
  display: block;
@@ -4432,34 +4395,34 @@ tr.styles = [
4432
4395
  }
4433
4396
  `
4434
4397
  ];
4435
- let Tt = tr;
4436
- Ro([
4398
+ let Et = er;
4399
+ Co([
4437
4400
  C({ attribute: !1 })
4438
- ], Tt.prototype, "entries");
4439
- Ro([
4401
+ ], Et.prototype, "entries");
4402
+ Co([
4440
4403
  C({ type: Boolean })
4441
- ], Tt.prototype, "loading");
4404
+ ], Et.prototype, "loading");
4442
4405
  /**
4443
4406
  * @license
4444
4407
  * Copyright 2021 Google LLC
4445
4408
  * SPDX-License-Identifier: BSD-3-Clause
4446
4409
  */
4447
- const mu = (n, e, t) => {
4410
+ const fu = (n, e, t) => {
4448
4411
  for (const s of e) if (s[0] === n) return (0, s[1])();
4449
4412
  return t == null ? void 0 : t();
4450
4413
  };
4451
- var vu = Object.defineProperty, bu = (n, e, t, s) => {
4414
+ var gu = Object.defineProperty, mu = (n, e, t, s) => {
4452
4415
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
4453
4416
  (o = n[i]) && (r = o(e, t, r) || r);
4454
- return r && vu(e, t, r), r;
4417
+ return r && gu(e, t, r), r;
4455
4418
  };
4456
- const nr = class nr extends M {
4419
+ const tr = class tr extends M {
4457
4420
  render() {
4458
4421
  return w`
4459
4422
  <div class="message-group">
4460
4423
  ${this.group.items.map(
4461
4424
  ([e, t, s]) => w`
4462
- ${mu(
4425
+ ${fu(
4463
4426
  e,
4464
4427
  [
4465
4428
  ["html", () => w`<message-type-html .message=${t} />`],
@@ -4482,7 +4445,7 @@ const nr = class nr extends M {
4482
4445
  `;
4483
4446
  }
4484
4447
  };
4485
- nr.styles = [
4448
+ tr.styles = [
4486
4449
  Y`
4487
4450
  :host {
4488
4451
  box-sizing: border-box;
@@ -4498,11 +4461,11 @@ nr.styles = [
4498
4461
  }
4499
4462
  `
4500
4463
  ];
4501
- let pn = nr;
4502
- bu([
4464
+ let hn = tr;
4465
+ mu([
4503
4466
  C({ attribute: !1 })
4504
- ], pn.prototype, "group");
4505
- const sr = class sr extends M {
4467
+ ], hn.prototype, "group");
4468
+ const nr = class nr extends M {
4506
4469
  render() {
4507
4470
  return w`<div class="container">
4508
4471
  <div class="dot"></div>
@@ -4511,7 +4474,7 @@ const sr = class sr extends M {
4511
4474
  </div>`;
4512
4475
  }
4513
4476
  };
4514
- sr.styles = [
4477
+ nr.styles = [
4515
4478
  Y`
4516
4479
  :host {
4517
4480
  display: block;
@@ -4548,15 +4511,15 @@ sr.styles = [
4548
4511
  }
4549
4512
  `
4550
4513
  ];
4551
- let vs = sr;
4514
+ let gs = nr;
4552
4515
  /**
4553
4516
  * @license
4554
4517
  * Copyright 2017 Google LLC
4555
4518
  * SPDX-License-Identifier: BSD-3-Clause
4556
4519
  */
4557
- class bs extends Us {
4520
+ class ms extends Ns {
4558
4521
  constructor(e) {
4559
- if (super(e), this.it = x, e.type !== Sn.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4522
+ if (super(e), this.it = x, e.type !== kn.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
4560
4523
  }
4561
4524
  render(e) {
4562
4525
  if (e === x || e == null) return this._t = void 0, this.it = e;
@@ -4568,23 +4531,23 @@ class bs extends Us {
4568
4531
  return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
4569
4532
  }
4570
4533
  }
4571
- bs.directiveName = "unsafeHTML", bs.resultType = 1;
4572
- const yu = An(bs);
4534
+ ms.directiveName = "unsafeHTML", ms.resultType = 1;
4535
+ const vu = _n(ms);
4573
4536
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
4574
4537
  const {
4575
- entries: Oo,
4576
- setPrototypeOf: bi,
4577
- isFrozen: $u,
4578
- getPrototypeOf: xu,
4579
- getOwnPropertyDescriptor: wu
4538
+ entries: Lo,
4539
+ setPrototypeOf: mi,
4540
+ isFrozen: bu,
4541
+ getPrototypeOf: yu,
4542
+ getOwnPropertyDescriptor: $u
4580
4543
  } = Object;
4581
4544
  let {
4582
4545
  freeze: G,
4583
4546
  seal: V,
4584
- create: Io
4547
+ create: Ro
4585
4548
  } = Object, {
4586
- apply: ys,
4587
- construct: $s
4549
+ apply: vs,
4550
+ construct: bs
4588
4551
  } = typeof Reflect < "u" && Reflect;
4589
4552
  G || (G = function(e) {
4590
4553
  return e;
@@ -4592,88 +4555,88 @@ G || (G = function(e) {
4592
4555
  V || (V = function(e) {
4593
4556
  return e;
4594
4557
  });
4595
- ys || (ys = function(e, t, s) {
4558
+ vs || (vs = function(e, t, s) {
4596
4559
  return e.apply(t, s);
4597
4560
  });
4598
- $s || ($s = function(e, t) {
4561
+ bs || (bs = function(e, t) {
4599
4562
  return new e(...t);
4600
4563
  });
4601
- const qt = W(Array.prototype.forEach), ku = W(Array.prototype.lastIndexOf), yi = W(Array.prototype.pop), pt = W(Array.prototype.push), _u = W(Array.prototype.splice), Vt = W(String.prototype.toLowerCase), Vn = W(String.prototype.toString), $i = W(String.prototype.match), dt = W(String.prototype.replace), Su = W(String.prototype.indexOf), Au = W(String.prototype.trim), J = W(Object.prototype.hasOwnProperty), B = W(RegExp.prototype.test), ft = Eu(TypeError);
4564
+ const Wt = W(Array.prototype.forEach), xu = W(Array.prototype.lastIndexOf), vi = W(Array.prototype.pop), pt = W(Array.prototype.push), wu = W(Array.prototype.splice), Kt = W(String.prototype.toLowerCase), Xn = W(String.prototype.toString), bi = W(String.prototype.match), dt = W(String.prototype.replace), ku = W(String.prototype.indexOf), _u = W(String.prototype.trim), J = W(Object.prototype.hasOwnProperty), B = W(RegExp.prototype.test), ft = Su(TypeError);
4602
4565
  function W(n) {
4603
4566
  return function(e) {
4604
4567
  e instanceof RegExp && (e.lastIndex = 0);
4605
4568
  for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
4606
4569
  s[r - 1] = arguments[r];
4607
- return ys(n, e, s);
4570
+ return vs(n, e, s);
4608
4571
  };
4609
4572
  }
4610
- function Eu(n) {
4573
+ function Su(n) {
4611
4574
  return function() {
4612
4575
  for (var e = arguments.length, t = new Array(e), s = 0; s < e; s++)
4613
4576
  t[s] = arguments[s];
4614
- return $s(n, t);
4577
+ return bs(n, t);
4615
4578
  };
4616
4579
  }
4617
4580
  function $(n, e) {
4618
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Vt;
4619
- bi && bi(n, null);
4581
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Kt;
4582
+ mi && mi(n, null);
4620
4583
  let s = e.length;
4621
4584
  for (; s--; ) {
4622
4585
  let r = e[s];
4623
4586
  if (typeof r == "string") {
4624
4587
  const i = t(r);
4625
- i !== r && ($u(e) || (e[s] = i), r = i);
4588
+ i !== r && (bu(e) || (e[s] = i), r = i);
4626
4589
  }
4627
4590
  n[r] = !0;
4628
4591
  }
4629
4592
  return n;
4630
4593
  }
4631
- function Tu(n) {
4594
+ function Au(n) {
4632
4595
  for (let e = 0; e < n.length; e++)
4633
4596
  J(n, e) || (n[e] = null);
4634
4597
  return n;
4635
4598
  }
4636
4599
  function fe(n) {
4637
- const e = Io(null);
4638
- for (const [t, s] of Oo(n))
4639
- J(n, t) && (Array.isArray(s) ? e[t] = Tu(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = fe(s) : e[t] = s);
4600
+ const e = Ro(null);
4601
+ for (const [t, s] of Lo(n))
4602
+ J(n, t) && (Array.isArray(s) ? e[t] = Au(s) : s && typeof s == "object" && s.constructor === Object ? e[t] = fe(s) : e[t] = s);
4640
4603
  return e;
4641
4604
  }
4642
4605
  function gt(n, e) {
4643
4606
  for (; n !== null; ) {
4644
- const s = wu(n, e);
4607
+ const s = $u(n, e);
4645
4608
  if (s) {
4646
4609
  if (s.get)
4647
4610
  return W(s.get);
4648
4611
  if (typeof s.value == "function")
4649
4612
  return W(s.value);
4650
4613
  }
4651
- n = xu(n);
4614
+ n = yu(n);
4652
4615
  }
4653
4616
  function t() {
4654
4617
  return null;
4655
4618
  }
4656
4619
  return t;
4657
4620
  }
4658
- const xi = G(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Qn = G(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Jn = G(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Cu = G(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), es = G(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Lu = G(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), wi = G(["#text"]), ki = G(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ts = G(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), _i = G(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Zt = G(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Ru = V(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ou = V(/<%[\w\W]*|[\w\W]*%>/gm), Iu = V(/\$\{[\w\W]*/gm), Pu = V(/^data-[\-\w.\u00B7-\uFFFF]+$/), Mu = V(/^aria-[\-\w]+$/), Po = V(
4621
+ const yi = G(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Kn = G(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Vn = G(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Eu = G(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Qn = G(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Tu = G(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $i = G(["#text"]), xi = G(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Jn = G(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), wi = G(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), qt = G(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Cu = V(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Lu = V(/<%[\w\W]*|[\w\W]*%>/gm), Ru = V(/\$\{[\w\W]*/gm), Ou = V(/^data-[\-\w.\u00B7-\uFFFF]+$/), Pu = V(/^aria-[\-\w]+$/), Oo = V(
4659
4622
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4660
4623
  // eslint-disable-line no-useless-escape
4661
- ), Nu = V(/^(?:\w+script|data):/i), Du = V(
4624
+ ), Iu = V(/^(?:\w+script|data):/i), Mu = V(
4662
4625
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4663
4626
  // eslint-disable-line no-control-regex
4664
- ), Mo = V(/^html$/i), Uu = V(/^[a-z][.\w]*(-[.\w]+)+$/i);
4665
- var Si = /* @__PURE__ */ Object.freeze({
4627
+ ), Po = V(/^html$/i), Nu = V(/^[a-z][.\w]*(-[.\w]+)+$/i);
4628
+ var ki = /* @__PURE__ */ Object.freeze({
4666
4629
  __proto__: null,
4667
- ARIA_ATTR: Mu,
4668
- ATTR_WHITESPACE: Du,
4669
- CUSTOM_ELEMENT: Uu,
4670
- DATA_ATTR: Pu,
4671
- DOCTYPE_NAME: Mo,
4672
- ERB_EXPR: Ou,
4673
- IS_ALLOWED_URI: Po,
4674
- IS_SCRIPT_OR_DATA: Nu,
4675
- MUSTACHE_EXPR: Ru,
4676
- TMPLIT_EXPR: Iu
4630
+ ARIA_ATTR: Pu,
4631
+ ATTR_WHITESPACE: Mu,
4632
+ CUSTOM_ELEMENT: Nu,
4633
+ DATA_ATTR: Ou,
4634
+ DOCTYPE_NAME: Po,
4635
+ ERB_EXPR: Lu,
4636
+ IS_ALLOWED_URI: Oo,
4637
+ IS_SCRIPT_OR_DATA: Iu,
4638
+ MUSTACHE_EXPR: Cu,
4639
+ TMPLIT_EXPR: Ru
4677
4640
  });
4678
4641
  const mt = {
4679
4642
  element: 1,
@@ -4682,9 +4645,9 @@ const mt = {
4682
4645
  progressingInstruction: 7,
4683
4646
  comment: 8,
4684
4647
  document: 9
4685
- }, zu = function() {
4648
+ }, Du = function() {
4686
4649
  return typeof window > "u" ? null : window;
4687
- }, Hu = function(e, t) {
4650
+ }, Uu = function(e, t) {
4688
4651
  if (typeof e != "object" || typeof e.createPolicy != "function")
4689
4652
  return null;
4690
4653
  let s = null;
@@ -4703,7 +4666,7 @@ const mt = {
4703
4666
  } catch {
4704
4667
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
4705
4668
  }
4706
- }, Ai = function() {
4669
+ }, _i = function() {
4707
4670
  return {
4708
4671
  afterSanitizeAttributes: [],
4709
4672
  afterSanitizeElements: [],
@@ -4716,9 +4679,9 @@ const mt = {
4716
4679
  uponSanitizeShadowNode: []
4717
4680
  };
4718
4681
  };
4719
- function No() {
4720
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : zu();
4721
- const e = (b) => No(b);
4682
+ function Io() {
4683
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Du();
4684
+ const e = (b) => Io(b);
4722
4685
  if (e.version = "3.2.6", e.removed = [], !n || !n.document || n.document.nodeType !== mt.document || !n.Element)
4723
4686
  return e.isSupported = !1, e;
4724
4687
  let {
@@ -4743,30 +4706,30 @@ function No() {
4743
4706
  const {
4744
4707
  implementation: Te,
4745
4708
  createNodeIterator: Ce,
4746
- createDocumentFragment: Vo,
4747
- getElementsByTagName: Qo
4709
+ createDocumentFragment: Xo,
4710
+ getElementsByTagName: Ko
4748
4711
  } = t, {
4749
- importNode: Jo
4712
+ importNode: Vo
4750
4713
  } = s;
4751
- let H = Ai();
4752
- e.isSupported = typeof Oo == "function" && typeof Ae == "function" && Te && Te.createHTMLDocument !== void 0;
4714
+ let H = _i();
4715
+ e.isSupported = typeof Lo == "function" && typeof Ae == "function" && Te && Te.createHTMLDocument !== void 0;
4753
4716
  const {
4754
- MUSTACHE_EXPR: Cn,
4755
- ERB_EXPR: Ln,
4756
- TMPLIT_EXPR: Rn,
4757
- DATA_ATTR: ea,
4758
- ARIA_ATTR: ta,
4759
- IS_SCRIPT_OR_DATA: na,
4760
- ATTR_WHITESPACE: lr,
4761
- CUSTOM_ELEMENT: sa
4762
- } = Si;
4717
+ MUSTACHE_EXPR: En,
4718
+ ERB_EXPR: Tn,
4719
+ TMPLIT_EXPR: Cn,
4720
+ DATA_ATTR: Qo,
4721
+ ARIA_ATTR: Jo,
4722
+ IS_SCRIPT_OR_DATA: ea,
4723
+ ATTR_WHITESPACE: ar,
4724
+ CUSTOM_ELEMENT: ta
4725
+ } = ki;
4763
4726
  let {
4764
- IS_ALLOWED_URI: cr
4765
- } = Si, O = null;
4766
- const ur = $({}, [...xi, ...Qn, ...Jn, ...es, ...wi]);
4767
- let P = null;
4768
- const hr = $({}, [...ki, ...ts, ..._i, ...Zt]);
4769
- let T = Object.seal(Io(null, {
4727
+ IS_ALLOWED_URI: lr
4728
+ } = ki, O = null;
4729
+ const cr = $({}, [...yi, ...Kn, ...Vn, ...Qn, ...$i]);
4730
+ let I = null;
4731
+ const ur = $({}, [...xi, ...Jn, ...wi, ...qt]);
4732
+ let T = Object.seal(Ro(null, {
4770
4733
  tagNameCheck: {
4771
4734
  writable: !0,
4772
4735
  configurable: !1,
@@ -4785,45 +4748,45 @@ function No() {
4785
4748
  enumerable: !0,
4786
4749
  value: !1
4787
4750
  }
4788
- })), at = null, On = null, pr = !0, In = !0, dr = !1, fr = !0, He = !1, Dt = !0, Le = !1, Pn = !1, Mn = !1, Be = !1, Ut = !1, zt = !1, gr = !0, mr = !1;
4789
- const ra = "user-content-";
4790
- let Nn = !0, lt = !1, Fe = {}, je = null;
4791
- const vr = $({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4792
- let br = null;
4793
- const yr = $({}, ["audio", "video", "img", "source", "image", "track"]);
4794
- let Dn = null;
4795
- const $r = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ht = "http://www.w3.org/1998/Math/MathML", Bt = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
4796
- let Ge = ue, Un = !1, zn = null;
4797
- const ia = $({}, [Ht, Bt, ue], Vn);
4798
- let Ft = $({}, ["mi", "mo", "mn", "ms", "mtext"]), jt = $({}, ["annotation-xml"]);
4799
- const oa = $({}, ["title", "style", "font", "a", "script"]);
4751
+ })), at = null, Ln = null, hr = !0, Rn = !0, pr = !1, dr = !0, He = !1, Nt = !0, Le = !1, On = !1, Pn = !1, Be = !1, Dt = !1, Ut = !1, fr = !0, gr = !1;
4752
+ const na = "user-content-";
4753
+ let In = !0, lt = !1, Fe = {}, je = null;
4754
+ const mr = $({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
4755
+ let vr = null;
4756
+ const br = $({}, ["audio", "video", "img", "source", "image", "track"]);
4757
+ let Mn = null;
4758
+ const yr = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), zt = "http://www.w3.org/1998/Math/MathML", Ht = "http://www.w3.org/2000/svg", ue = "http://www.w3.org/1999/xhtml";
4759
+ let Ge = ue, Nn = !1, Dn = null;
4760
+ const sa = $({}, [zt, Ht, ue], Xn);
4761
+ let Bt = $({}, ["mi", "mo", "mn", "ms", "mtext"]), Ft = $({}, ["annotation-xml"]);
4762
+ const ra = $({}, ["title", "style", "font", "a", "script"]);
4800
4763
  let ct = null;
4801
- const aa = ["application/xhtml+xml", "text/html"], la = "text/html";
4802
- let I = null, We = null;
4803
- const ca = t.createElement("form"), xr = function(h) {
4764
+ const ia = ["application/xhtml+xml", "text/html"], oa = "text/html";
4765
+ let P = null, We = null;
4766
+ const aa = t.createElement("form"), $r = function(h) {
4804
4767
  return h instanceof RegExp || h instanceof Function;
4805
- }, Hn = function() {
4768
+ }, Un = function() {
4806
4769
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4807
4770
  if (!(We && We === h)) {
4808
4771
  if ((!h || typeof h != "object") && (h = {}), h = fe(h), ct = // eslint-disable-next-line unicorn/prefer-includes
4809
- aa.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? la : h.PARSER_MEDIA_TYPE, I = ct === "application/xhtml+xml" ? Vn : Vt, O = J(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, I) : ur, P = J(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, I) : hr, zn = J(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Vn) : ia, Dn = J(h, "ADD_URI_SAFE_ATTR") ? $(fe($r), h.ADD_URI_SAFE_ATTR, I) : $r, br = J(h, "ADD_DATA_URI_TAGS") ? $(fe(yr), h.ADD_DATA_URI_TAGS, I) : yr, je = J(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, I) : vr, at = J(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, I) : fe({}), On = J(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, I) : fe({}), Fe = J(h, "USE_PROFILES") ? h.USE_PROFILES : !1, pr = h.ALLOW_ARIA_ATTR !== !1, In = h.ALLOW_DATA_ATTR !== !1, dr = h.ALLOW_UNKNOWN_PROTOCOLS || !1, fr = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, He = h.SAFE_FOR_TEMPLATES || !1, Dt = h.SAFE_FOR_XML !== !1, Le = h.WHOLE_DOCUMENT || !1, Be = h.RETURN_DOM || !1, Ut = h.RETURN_DOM_FRAGMENT || !1, zt = h.RETURN_TRUSTED_TYPE || !1, Mn = h.FORCE_BODY || !1, gr = h.SANITIZE_DOM !== !1, mr = h.SANITIZE_NAMED_PROPS || !1, Nn = h.KEEP_CONTENT !== !1, lt = h.IN_PLACE || !1, cr = h.ALLOWED_URI_REGEXP || Po, Ge = h.NAMESPACE || ue, Ft = h.MATHML_TEXT_INTEGRATION_POINTS || Ft, jt = h.HTML_INTEGRATION_POINTS || jt, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && xr(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && xr(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), He && (In = !1), Ut && (Be = !0), Fe && (O = $({}, wi), P = [], Fe.html === !0 && ($(O, xi), $(P, ki)), Fe.svg === !0 && ($(O, Qn), $(P, ts), $(P, Zt)), Fe.svgFilters === !0 && ($(O, Jn), $(P, ts), $(P, Zt)), Fe.mathMl === !0 && ($(O, es), $(P, _i), $(P, Zt))), h.ADD_TAGS && (O === ur && (O = fe(O)), $(O, h.ADD_TAGS, I)), h.ADD_ATTR && (P === hr && (P = fe(P)), $(P, h.ADD_ATTR, I)), h.ADD_URI_SAFE_ATTR && $(Dn, h.ADD_URI_SAFE_ATTR, I), h.FORBID_CONTENTS && (je === vr && (je = fe(je)), $(je, h.FORBID_CONTENTS, I)), Nn && (O["#text"] = !0), Le && $(O, ["html", "head", "body"]), O.table && ($(O, ["tbody"]), delete at.tbody), h.TRUSTED_TYPES_POLICY) {
4772
+ ia.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? oa : h.PARSER_MEDIA_TYPE, P = ct === "application/xhtml+xml" ? Xn : Kt, O = J(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, P) : cr, I = J(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, P) : ur, Dn = J(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Xn) : sa, Mn = J(h, "ADD_URI_SAFE_ATTR") ? $(fe(yr), h.ADD_URI_SAFE_ATTR, P) : yr, vr = J(h, "ADD_DATA_URI_TAGS") ? $(fe(br), h.ADD_DATA_URI_TAGS, P) : br, je = J(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, P) : mr, at = J(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, P) : fe({}), Ln = J(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, P) : fe({}), Fe = J(h, "USE_PROFILES") ? h.USE_PROFILES : !1, hr = h.ALLOW_ARIA_ATTR !== !1, Rn = h.ALLOW_DATA_ATTR !== !1, pr = h.ALLOW_UNKNOWN_PROTOCOLS || !1, dr = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, He = h.SAFE_FOR_TEMPLATES || !1, Nt = h.SAFE_FOR_XML !== !1, Le = h.WHOLE_DOCUMENT || !1, Be = h.RETURN_DOM || !1, Dt = h.RETURN_DOM_FRAGMENT || !1, Ut = h.RETURN_TRUSTED_TYPE || !1, Pn = h.FORCE_BODY || !1, fr = h.SANITIZE_DOM !== !1, gr = h.SANITIZE_NAMED_PROPS || !1, In = h.KEEP_CONTENT !== !1, lt = h.IN_PLACE || !1, lr = h.ALLOWED_URI_REGEXP || Oo, Ge = h.NAMESPACE || ue, Bt = h.MATHML_TEXT_INTEGRATION_POINTS || Bt, Ft = h.HTML_INTEGRATION_POINTS || Ft, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && $r(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && $r(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (T.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (T.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), He && (Rn = !1), Dt && (Be = !0), Fe && (O = $({}, $i), I = [], Fe.html === !0 && ($(O, yi), $(I, xi)), Fe.svg === !0 && ($(O, Kn), $(I, Jn), $(I, qt)), Fe.svgFilters === !0 && ($(O, Vn), $(I, Jn), $(I, qt)), Fe.mathMl === !0 && ($(O, Qn), $(I, wi), $(I, qt))), h.ADD_TAGS && (O === cr && (O = fe(O)), $(O, h.ADD_TAGS, P)), h.ADD_ATTR && (I === ur && (I = fe(I)), $(I, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && $(Mn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (je === mr && (je = fe(je)), $(je, h.FORBID_CONTENTS, P)), In && (O["#text"] = !0), Le && $(O, ["html", "head", "body"]), O.table && ($(O, ["tbody"]), delete at.tbody), h.TRUSTED_TYPES_POLICY) {
4810
4773
  if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
4811
4774
  throw ft('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4812
4775
  if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4813
4776
  throw ft('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4814
4777
  R = h.TRUSTED_TYPES_POLICY, Ee = R.createHTML("");
4815
4778
  } else
4816
- R === void 0 && (R = Hu(g, r)), R !== null && typeof Ee == "string" && (Ee = R.createHTML(""));
4779
+ R === void 0 && (R = Uu(g, r)), R !== null && typeof Ee == "string" && (Ee = R.createHTML(""));
4817
4780
  G && G(h), We = h;
4818
4781
  }
4819
- }, wr = $({}, [...Qn, ...Jn, ...Cu]), kr = $({}, [...es, ...Lu]), ua = function(h) {
4782
+ }, xr = $({}, [...Kn, ...Vn, ...Eu]), wr = $({}, [...Qn, ...Tu]), la = function(h) {
4820
4783
  let f = Ae(h);
4821
4784
  (!f || !f.tagName) && (f = {
4822
4785
  namespaceURI: Ge,
4823
4786
  tagName: "template"
4824
4787
  });
4825
- const v = Vt(h.tagName), E = Vt(f.tagName);
4826
- return zn[h.namespaceURI] ? h.namespaceURI === Bt ? f.namespaceURI === ue ? v === "svg" : f.namespaceURI === Ht ? v === "svg" && (E === "annotation-xml" || Ft[E]) : !!wr[v] : h.namespaceURI === Ht ? f.namespaceURI === ue ? v === "math" : f.namespaceURI === Bt ? v === "math" && jt[E] : !!kr[v] : h.namespaceURI === ue ? f.namespaceURI === Bt && !jt[E] || f.namespaceURI === Ht && !Ft[E] ? !1 : !kr[v] && (oa[v] || !wr[v]) : !!(ct === "application/xhtml+xml" && zn[h.namespaceURI]) : !1;
4788
+ const v = Kt(h.tagName), E = Kt(f.tagName);
4789
+ return Dn[h.namespaceURI] ? h.namespaceURI === Ht ? f.namespaceURI === ue ? v === "svg" : f.namespaceURI === zt ? v === "svg" && (E === "annotation-xml" || Bt[E]) : !!xr[v] : h.namespaceURI === zt ? f.namespaceURI === ue ? v === "math" : f.namespaceURI === Ht ? v === "math" && Ft[E] : !!wr[v] : h.namespaceURI === ue ? f.namespaceURI === Ht && !Ft[E] || f.namespaceURI === zt && !Bt[E] ? !1 : !wr[v] && (ra[v] || !xr[v]) : !!(ct === "application/xhtml+xml" && Dn[h.namespaceURI]) : !1;
4827
4790
  }, se = function(h) {
4828
4791
  pt(e.removed, {
4829
4792
  element: h
@@ -4846,7 +4809,7 @@ function No() {
4846
4809
  });
4847
4810
  }
4848
4811
  if (f.removeAttribute(h), h === "is")
4849
- if (Be || Ut)
4812
+ if (Be || Dt)
4850
4813
  try {
4851
4814
  se(f);
4852
4815
  } catch {
@@ -4856,12 +4819,12 @@ function No() {
4856
4819
  f.setAttribute(h, "");
4857
4820
  } catch {
4858
4821
  }
4859
- }, _r = function(h) {
4822
+ }, kr = function(h) {
4860
4823
  let f = null, v = null;
4861
- if (Mn)
4824
+ if (Pn)
4862
4825
  h = "<remove></remove>" + h;
4863
4826
  else {
4864
- const L = $i(h, /^[\r\n\t ]+/);
4827
+ const L = bi(h, /^[\r\n\t ]+/);
4865
4828
  v = L && L[0];
4866
4829
  }
4867
4830
  ct === "application/xhtml+xml" && Ge === ue && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
@@ -4874,13 +4837,13 @@ function No() {
4874
4837
  if (!f || !f.documentElement) {
4875
4838
  f = Te.createDocument(Ge, "template", null);
4876
4839
  try {
4877
- f.documentElement.innerHTML = Un ? Ee : E;
4840
+ f.documentElement.innerHTML = Nn ? Ee : E;
4878
4841
  } catch {
4879
4842
  }
4880
4843
  }
4881
4844
  const N = f.body || f.documentElement;
4882
- return h && v && N.insertBefore(t.createTextNode(v), N.childNodes[0] || null), Ge === ue ? Qo.call(f, Le ? "html" : "body")[0] : Le ? f.documentElement : N;
4883
- }, Sr = function(h) {
4845
+ return h && v && N.insertBefore(t.createTextNode(v), N.childNodes[0] || null), Ge === ue ? Ko.call(f, Le ? "html" : "body")[0] : Le ? f.documentElement : N;
4846
+ }, _r = function(h) {
4884
4847
  return Ce.call(
4885
4848
  h.ownerDocument || h,
4886
4849
  h,
@@ -4888,30 +4851,30 @@ function No() {
4888
4851
  c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
4889
4852
  null
4890
4853
  );
4891
- }, Bn = function(h) {
4854
+ }, zn = function(h) {
4892
4855
  return h instanceof d && (typeof h.nodeName != "string" || typeof h.textContent != "string" || typeof h.removeChild != "function" || !(h.attributes instanceof u) || typeof h.removeAttribute != "function" || typeof h.setAttribute != "function" || typeof h.namespaceURI != "string" || typeof h.insertBefore != "function" || typeof h.hasChildNodes != "function");
4893
- }, Ar = function(h) {
4856
+ }, Sr = function(h) {
4894
4857
  return typeof a == "function" && h instanceof a;
4895
4858
  };
4896
4859
  function he(b, h, f) {
4897
- qt(b, (v) => {
4860
+ Wt(b, (v) => {
4898
4861
  v.call(e, h, f, We);
4899
4862
  });
4900
4863
  }
4901
- const Er = function(h) {
4864
+ const Ar = function(h) {
4902
4865
  let f = null;
4903
- if (he(H.beforeSanitizeElements, h, null), Bn(h))
4866
+ if (he(H.beforeSanitizeElements, h, null), zn(h))
4904
4867
  return se(h), !0;
4905
- const v = I(h.nodeName);
4868
+ const v = P(h.nodeName);
4906
4869
  if (he(H.uponSanitizeElement, h, {
4907
4870
  tagName: v,
4908
4871
  allowedTags: O
4909
- }), Dt && h.hasChildNodes() && !Ar(h.firstElementChild) && B(/<[/\w!]/g, h.innerHTML) && B(/<[/\w!]/g, h.textContent) || h.nodeType === mt.progressingInstruction || Dt && h.nodeType === mt.comment && B(/<[/\w]/g, h.data))
4872
+ }), Nt && h.hasChildNodes() && !Sr(h.firstElementChild) && B(/<[/\w!]/g, h.innerHTML) && B(/<[/\w!]/g, h.textContent) || h.nodeType === mt.progressingInstruction || Nt && h.nodeType === mt.comment && B(/<[/\w]/g, h.data))
4910
4873
  return se(h), !0;
4911
4874
  if (!O[v] || at[v]) {
4912
- if (!at[v] && Cr(v) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
4875
+ if (!at[v] && Tr(v) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
4913
4876
  return !1;
4914
- if (Nn && !je[v]) {
4877
+ if (In && !je[v]) {
4915
4878
  const E = Ae(h) || h.parentNode, N = ye(h) || h.childNodes;
4916
4879
  if (N && E) {
4917
4880
  const L = N.length;
@@ -4923,29 +4886,29 @@ function No() {
4923
4886
  }
4924
4887
  return se(h), !0;
4925
4888
  }
4926
- return h instanceof l && !ua(h) || (v === "noscript" || v === "noembed" || v === "noframes") && B(/<\/no(script|embed|frames)/i, h.innerHTML) ? (se(h), !0) : (He && h.nodeType === mt.text && (f = h.textContent, qt([Cn, Ln, Rn], (E) => {
4889
+ return h instanceof l && !la(h) || (v === "noscript" || v === "noembed" || v === "noframes") && B(/<\/no(script|embed|frames)/i, h.innerHTML) ? (se(h), !0) : (He && h.nodeType === mt.text && (f = h.textContent, Wt([En, Tn, Cn], (E) => {
4927
4890
  f = dt(f, E, " ");
4928
4891
  }), h.textContent !== f && (pt(e.removed, {
4929
4892
  element: h.cloneNode()
4930
4893
  }), h.textContent = f)), he(H.afterSanitizeElements, h, null), !1);
4931
- }, Tr = function(h, f, v) {
4932
- if (gr && (f === "id" || f === "name") && (v in t || v in ca))
4894
+ }, Er = function(h, f, v) {
4895
+ if (fr && (f === "id" || f === "name") && (v in t || v in aa))
4933
4896
  return !1;
4934
- if (!(In && !On[f] && B(ea, f))) {
4935
- if (!(pr && B(ta, f))) {
4936
- if (!P[f] || On[f]) {
4897
+ if (!(Rn && !Ln[f] && B(Qo, f))) {
4898
+ if (!(hr && B(Jo, f))) {
4899
+ if (!I[f] || Ln[f]) {
4937
4900
  if (
4938
4901
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4939
4902
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4940
4903
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4941
- !(Cr(h) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, h) || T.tagNameCheck instanceof Function && T.tagNameCheck(h)) && (T.attributeNameCheck instanceof RegExp && B(T.attributeNameCheck, f) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(f)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4904
+ !(Tr(h) && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, h) || T.tagNameCheck instanceof Function && T.tagNameCheck(h)) && (T.attributeNameCheck instanceof RegExp && B(T.attributeNameCheck, f) || T.attributeNameCheck instanceof Function && T.attributeNameCheck(f)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4942
4905
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4943
4906
  f === "is" && T.allowCustomizedBuiltInElements && (T.tagNameCheck instanceof RegExp && B(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
4944
4907
  ) return !1;
4945
- } else if (!Dn[f]) {
4946
- if (!B(cr, dt(v, lr, ""))) {
4947
- if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Su(v, "data:") === 0 && br[h])) {
4948
- if (!(dr && !B(na, dt(v, lr, "")))) {
4908
+ } else if (!Mn[f]) {
4909
+ if (!B(lr, dt(v, ar, ""))) {
4910
+ if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && ku(v, "data:") === 0 && vr[h])) {
4911
+ if (!(pr && !B(ea, dt(v, ar, "")))) {
4949
4912
  if (v)
4950
4913
  return !1;
4951
4914
  }
@@ -4955,20 +4918,20 @@ function No() {
4955
4918
  }
4956
4919
  }
4957
4920
  return !0;
4921
+ }, Tr = function(h) {
4922
+ return h !== "annotation-xml" && bi(h, ta);
4958
4923
  }, Cr = function(h) {
4959
- return h !== "annotation-xml" && $i(h, sa);
4960
- }, Lr = function(h) {
4961
4924
  he(H.beforeSanitizeAttributes, h, null);
4962
4925
  const {
4963
4926
  attributes: f
4964
4927
  } = h;
4965
- if (!f || Bn(h))
4928
+ if (!f || zn(h))
4966
4929
  return;
4967
4930
  const v = {
4968
4931
  attrName: "",
4969
4932
  attrValue: "",
4970
4933
  keepAttr: !0,
4971
- allowedAttributes: P,
4934
+ allowedAttributes: I,
4972
4935
  forceKeepAttr: void 0
4973
4936
  };
4974
4937
  let E = f.length;
@@ -4977,9 +4940,9 @@ function No() {
4977
4940
  name: L,
4978
4941
  namespaceURI: q,
4979
4942
  value: pe
4980
- } = N, ut = I(L), Fn = pe;
4981
- let D = L === "value" ? Fn : Au(Fn);
4982
- if (v.attrName = ut, v.attrValue = D, v.keepAttr = !0, v.forceKeepAttr = void 0, he(H.uponSanitizeAttribute, h, v), D = v.attrValue, mr && (ut === "id" || ut === "name") && (qe(L, h), D = ra + D), Dt && B(/((--!?|])>)|<\/(style|title)/i, D)) {
4943
+ } = N, ut = P(L), Hn = pe;
4944
+ let D = L === "value" ? Hn : _u(Hn);
4945
+ if (v.attrName = ut, v.attrValue = D, v.keepAttr = !0, v.forceKeepAttr = void 0, he(H.uponSanitizeAttribute, h, v), D = v.attrValue, gr && (ut === "id" || ut === "name") && (qe(L, h), D = na + D), Nt && B(/((--!?|])>)|<\/(style|title)/i, D)) {
4983
4946
  qe(L, h);
4984
4947
  continue;
4985
4948
  }
@@ -4989,20 +4952,20 @@ function No() {
4989
4952
  qe(L, h);
4990
4953
  continue;
4991
4954
  }
4992
- if (!fr && B(/\/>/i, D)) {
4955
+ if (!dr && B(/\/>/i, D)) {
4993
4956
  qe(L, h);
4994
4957
  continue;
4995
4958
  }
4996
- He && qt([Cn, Ln, Rn], (Or) => {
4997
- D = dt(D, Or, " ");
4959
+ He && Wt([En, Tn, Cn], (Rr) => {
4960
+ D = dt(D, Rr, " ");
4998
4961
  });
4999
- const Rr = I(h.nodeName);
5000
- if (!Tr(Rr, ut, D)) {
4962
+ const Lr = P(h.nodeName);
4963
+ if (!Er(Lr, ut, D)) {
5001
4964
  qe(L, h);
5002
4965
  continue;
5003
4966
  }
5004
4967
  if (R && typeof g == "object" && typeof g.getAttributeType == "function" && !q)
5005
- switch (g.getAttributeType(Rr, ut)) {
4968
+ switch (g.getAttributeType(Lr, ut)) {
5006
4969
  case "TrustedHTML": {
5007
4970
  D = R.createHTML(D);
5008
4971
  break;
@@ -5012,24 +4975,24 @@ function No() {
5012
4975
  break;
5013
4976
  }
5014
4977
  }
5015
- if (D !== Fn)
4978
+ if (D !== Hn)
5016
4979
  try {
5017
- q ? h.setAttributeNS(q, L, D) : h.setAttribute(L, D), Bn(h) ? se(h) : yi(e.removed);
4980
+ q ? h.setAttributeNS(q, L, D) : h.setAttribute(L, D), zn(h) ? se(h) : vi(e.removed);
5018
4981
  } catch {
5019
4982
  qe(L, h);
5020
4983
  }
5021
4984
  }
5022
4985
  he(H.afterSanitizeAttributes, h, null);
5023
- }, ha = function b(h) {
4986
+ }, ca = function b(h) {
5024
4987
  let f = null;
5025
- const v = Sr(h);
4988
+ const v = _r(h);
5026
4989
  for (he(H.beforeSanitizeShadowDOM, h, null); f = v.nextNode(); )
5027
- he(H.uponSanitizeShadowNode, f, null), Er(f), Lr(f), f.content instanceof i && b(f.content);
4990
+ he(H.uponSanitizeShadowNode, f, null), Ar(f), Cr(f), f.content instanceof i && b(f.content);
5028
4991
  he(H.afterSanitizeShadowDOM, h, null);
5029
4992
  };
5030
4993
  return e.sanitize = function(b) {
5031
4994
  let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = null, v = null, E = null, N = null;
5032
- if (Un = !b, Un && (b = "<!-->"), typeof b != "string" && !Ar(b))
4995
+ if (Nn = !b, Nn && (b = "<!-->"), typeof b != "string" && !Sr(b))
5033
4996
  if (typeof b.toString == "function") {
5034
4997
  if (b = b.toString(), typeof b != "string")
5035
4998
  throw ft("dirty is not a string, aborting");
@@ -5037,76 +5000,76 @@ function No() {
5037
5000
  throw ft("toString is not a function");
5038
5001
  if (!e.isSupported)
5039
5002
  return b;
5040
- if (Pn || Hn(h), e.removed = [], typeof b == "string" && (lt = !1), lt) {
5003
+ if (On || Un(h), e.removed = [], typeof b == "string" && (lt = !1), lt) {
5041
5004
  if (b.nodeName) {
5042
- const pe = I(b.nodeName);
5005
+ const pe = P(b.nodeName);
5043
5006
  if (!O[pe] || at[pe])
5044
5007
  throw ft("root node is forbidden and cannot be sanitized in-place");
5045
5008
  }
5046
5009
  } else if (b instanceof a)
5047
- f = _r("<!---->"), v = f.ownerDocument.importNode(b, !0), v.nodeType === mt.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? f = v : f.appendChild(v);
5010
+ f = kr("<!---->"), v = f.ownerDocument.importNode(b, !0), v.nodeType === mt.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? f = v : f.appendChild(v);
5048
5011
  else {
5049
5012
  if (!Be && !He && !Le && // eslint-disable-next-line unicorn/prefer-includes
5050
5013
  b.indexOf("<") === -1)
5051
- return R && zt ? R.createHTML(b) : b;
5052
- if (f = _r(b), !f)
5053
- return Be ? null : zt ? Ee : "";
5014
+ return R && Ut ? R.createHTML(b) : b;
5015
+ if (f = kr(b), !f)
5016
+ return Be ? null : Ut ? Ee : "";
5054
5017
  }
5055
- f && Mn && se(f.firstChild);
5056
- const L = Sr(lt ? b : f);
5018
+ f && Pn && se(f.firstChild);
5019
+ const L = _r(lt ? b : f);
5057
5020
  for (; E = L.nextNode(); )
5058
- Er(E), Lr(E), E.content instanceof i && ha(E.content);
5021
+ Ar(E), Cr(E), E.content instanceof i && ca(E.content);
5059
5022
  if (lt)
5060
5023
  return b;
5061
5024
  if (Be) {
5062
- if (Ut)
5063
- for (N = Vo.call(f.ownerDocument); f.firstChild; )
5025
+ if (Dt)
5026
+ for (N = Xo.call(f.ownerDocument); f.firstChild; )
5064
5027
  N.appendChild(f.firstChild);
5065
5028
  else
5066
5029
  N = f;
5067
- return (P.shadowroot || P.shadowrootmode) && (N = Jo.call(s, N, !0)), N;
5030
+ return (I.shadowroot || I.shadowrootmode) && (N = Vo.call(s, N, !0)), N;
5068
5031
  }
5069
5032
  let q = Le ? f.outerHTML : f.innerHTML;
5070
- return Le && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && B(Mo, f.ownerDocument.doctype.name) && (q = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5071
- ` + q), He && qt([Cn, Ln, Rn], (pe) => {
5033
+ return Le && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && B(Po, f.ownerDocument.doctype.name) && (q = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5034
+ ` + q), He && Wt([En, Tn, Cn], (pe) => {
5072
5035
  q = dt(q, pe, " ");
5073
- }), R && zt ? R.createHTML(q) : q;
5036
+ }), R && Ut ? R.createHTML(q) : q;
5074
5037
  }, e.setConfig = function() {
5075
5038
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5076
- Hn(b), Pn = !0;
5039
+ Un(b), On = !0;
5077
5040
  }, e.clearConfig = function() {
5078
- We = null, Pn = !1;
5041
+ We = null, On = !1;
5079
5042
  }, e.isValidAttribute = function(b, h, f) {
5080
- We || Hn({});
5081
- const v = I(b), E = I(h);
5082
- return Tr(v, E, f);
5043
+ We || Un({});
5044
+ const v = P(b), E = P(h);
5045
+ return Er(v, E, f);
5083
5046
  }, e.addHook = function(b, h) {
5084
5047
  typeof h == "function" && pt(H[b], h);
5085
5048
  }, e.removeHook = function(b, h) {
5086
5049
  if (h !== void 0) {
5087
- const f = ku(H[b], h);
5088
- return f === -1 ? void 0 : _u(H[b], f, 1)[0];
5050
+ const f = xu(H[b], h);
5051
+ return f === -1 ? void 0 : wu(H[b], f, 1)[0];
5089
5052
  }
5090
- return yi(H[b]);
5053
+ return vi(H[b]);
5091
5054
  }, e.removeHooks = function(b) {
5092
5055
  H[b] = [];
5093
5056
  }, e.removeAllHooks = function() {
5094
- H = Ai();
5057
+ H = _i();
5095
5058
  }, e;
5096
5059
  }
5097
- var Do = No(), Bu = Object.defineProperty, Fu = (n, e, t, s) => {
5060
+ var Mo = Io(), zu = Object.defineProperty, Hu = (n, e, t, s) => {
5098
5061
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
5099
5062
  (o = n[i]) && (r = o(e, t, r) || r);
5100
- return r && Bu(e, t, r), r;
5063
+ return r && zu(e, t, r), r;
5101
5064
  };
5102
- const rr = class rr extends M {
5065
+ const sr = class sr extends M {
5103
5066
  render() {
5104
5067
  return w`<div class="message-type-html">
5105
- ${yu(Do.sanitize(this.message.content))}
5068
+ ${vu(Mo.sanitize(this.message.content))}
5106
5069
  </div>`;
5107
5070
  }
5108
5071
  };
5109
- rr.styles = [
5072
+ sr.styles = [
5110
5073
  Y`
5111
5074
  :host {
5112
5075
  box-sizing: border-box;
@@ -5143,11 +5106,11 @@ rr.styles = [
5143
5106
  }
5144
5107
  `
5145
5108
  ];
5146
- let dn = rr;
5147
- Fu([
5109
+ let pn = sr;
5110
+ Hu([
5148
5111
  C({ attribute: !1 })
5149
- ], dn.prototype, "message");
5150
- function Hs() {
5112
+ ], pn.prototype, "message");
5113
+ function zs() {
5151
5114
  return {
5152
5115
  async: !1,
5153
5116
  breaks: !1,
@@ -5161,8 +5124,8 @@ function Hs() {
5161
5124
  walkTokens: null
5162
5125
  };
5163
5126
  }
5164
- var ze = Hs();
5165
- function Uo(n) {
5127
+ var ze = zs();
5128
+ function No(n) {
5166
5129
  ze = n;
5167
5130
  }
5168
5131
  var wt = { exec: () => null };
@@ -5234,109 +5197,109 @@ var F = {
5234
5197
  fencesBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}(?:\`\`\`|~~~)`),
5235
5198
  headingBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}#`),
5236
5199
  htmlBeginRegex: (n) => new RegExp(`^ {0,${Math.min(3, n - 1)}}<(?:[a-z].*>|!--)`, "i")
5237
- }, ju = /^(?:[ \t]*(?:\n|$))+/, Gu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Wu = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Nt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, qu = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Bs = /(?:[*+-]|\d{1,9}[.)])/, zo = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Ho = _(zo).replace(/bull/g, Bs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Zu = _(zo).replace(/bull/g, Bs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Fs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Yu = /^[^\n]+/, js = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Xu = _(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", js).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Ku = _(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Bs).getRegex(), En = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Gs = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Vu = _(
5200
+ }, Bu = /^(?:[ \t]*(?:\n|$))+/, Fu = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, ju = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Mt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Gu = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Hs = /(?:[*+-]|\d{1,9}[.)])/, Do = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Uo = _(Do).replace(/bull/g, Hs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Wu = _(Do).replace(/bull/g, Hs).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Bs = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, qu = /^[^\n]+/, Fs = /(?!\s*\])(?:\\.|[^\[\]\\])+/, Zu = _(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Fs).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Yu = _(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Hs).getRegex(), Sn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", js = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Xu = _(
5238
5201
  "^ {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|$))",
5239
5202
  "i"
5240
- ).replace("comment", Gs).replace("tag", En).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Bo = _(Fs).replace("hr", Nt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", En).getRegex(), Qu = _(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Bo).getRegex(), Ws = {
5241
- blockquote: Qu,
5242
- code: Gu,
5243
- def: Xu,
5244
- fences: Wu,
5245
- heading: qu,
5246
- hr: Nt,
5247
- html: Vu,
5248
- lheading: Ho,
5249
- list: Ku,
5250
- newline: ju,
5251
- paragraph: Bo,
5203
+ ).replace("comment", js).replace("tag", Sn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), zo = _(Bs).replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Sn).getRegex(), Ku = _(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", zo).getRegex(), Gs = {
5204
+ blockquote: Ku,
5205
+ code: Fu,
5206
+ def: Zu,
5207
+ fences: ju,
5208
+ heading: Gu,
5209
+ hr: Mt,
5210
+ html: Xu,
5211
+ lheading: Uo,
5212
+ list: Yu,
5213
+ newline: Bu,
5214
+ paragraph: zo,
5252
5215
  table: wt,
5253
- text: Yu
5254
- }, Ei = _(
5216
+ text: qu
5217
+ }, Si = _(
5255
5218
  "^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
5256
- ).replace("hr", Nt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", En).getRegex(), Ju = {
5257
- ...Ws,
5258
- lheading: Zu,
5259
- table: Ei,
5260
- paragraph: _(Fs).replace("hr", Nt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ei).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", En).getRegex()
5261
- }, eh = {
5262
- ...Ws,
5219
+ ).replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Sn).getRegex(), Vu = {
5220
+ ...Gs,
5221
+ lheading: Wu,
5222
+ table: Si,
5223
+ paragraph: _(Bs).replace("hr", Mt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Si).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Sn).getRegex()
5224
+ }, Qu = {
5225
+ ...Gs,
5263
5226
  html: _(
5264
5227
  `^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
5265
- ).replace("comment", Gs).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
5228
+ ).replace("comment", js).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(),
5266
5229
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
5267
5230
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
5268
5231
  fences: wt,
5269
5232
  // fences not supported
5270
5233
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5271
- paragraph: _(Fs).replace("hr", Nt).replace("heading", ` *#{1,6} *[^
5272
- ]`).replace("lheading", Ho).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5273
- }, th = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, nh = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Fo = /^( {2,}|\\)\n(?!\s*$)/, sh = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Tn = /[\p{P}\p{S}]/u, qs = /[\s\p{P}\p{S}]/u, jo = /[^\s\p{P}\p{S}]/u, rh = _(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, qs).getRegex(), Go = /(?!~)[\p{P}\p{S}]/u, ih = /(?!~)[\s\p{P}\p{S}]/u, oh = /(?:[^\s\p{P}\p{S}]|~)/u, ah = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Wo = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, lh = _(Wo, "u").replace(/punct/g, Tn).getRegex(), ch = _(Wo, "u").replace(/punct/g, Go).getRegex(), qo = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", uh = _(qo, "gu").replace(/notPunctSpace/g, jo).replace(/punctSpace/g, qs).replace(/punct/g, Tn).getRegex(), hh = _(qo, "gu").replace(/notPunctSpace/g, oh).replace(/punctSpace/g, ih).replace(/punct/g, Go).getRegex(), ph = _(
5234
+ paragraph: _(Bs).replace("hr", Mt).replace("heading", ` *#{1,6} *[^
5235
+ ]`).replace("lheading", Uo).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5236
+ }, Ju = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, eh = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ho = /^( {2,}|\\)\n(?!\s*$)/, th = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, An = /[\p{P}\p{S}]/u, Ws = /[\s\p{P}\p{S}]/u, Bo = /[^\s\p{P}\p{S}]/u, nh = _(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ws).getRegex(), Fo = /(?!~)[\p{P}\p{S}]/u, sh = /(?!~)[\s\p{P}\p{S}]/u, rh = /(?:[^\s\p{P}\p{S}]|~)/u, ih = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, jo = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, oh = _(jo, "u").replace(/punct/g, An).getRegex(), ah = _(jo, "u").replace(/punct/g, Fo).getRegex(), Go = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", lh = _(Go, "gu").replace(/notPunctSpace/g, Bo).replace(/punctSpace/g, Ws).replace(/punct/g, An).getRegex(), ch = _(Go, "gu").replace(/notPunctSpace/g, rh).replace(/punctSpace/g, sh).replace(/punct/g, Fo).getRegex(), uh = _(
5274
5237
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5275
5238
  "gu"
5276
- ).replace(/notPunctSpace/g, jo).replace(/punctSpace/g, qs).replace(/punct/g, Tn).getRegex(), dh = _(/\\(punct)/, "gu").replace(/punct/g, Tn).getRegex(), fh = _(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), gh = _(Gs).replace("(?:-->|$)", "-->").getRegex(), mh = _(
5239
+ ).replace(/notPunctSpace/g, Bo).replace(/punctSpace/g, Ws).replace(/punct/g, An).getRegex(), hh = _(/\\(punct)/, "gu").replace(/punct/g, An).getRegex(), ph = _(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), dh = _(js).replace("(?:-->|$)", "-->").getRegex(), fh = _(
5277
5240
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
5278
- ).replace("comment", gh).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), fn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, vh = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", fn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Zo = _(/^!?\[(label)\]\[(ref)\]/).replace("label", fn).replace("ref", js).getRegex(), Yo = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", js).getRegex(), bh = _("reflink|nolink(?!\\()", "g").replace("reflink", Zo).replace("nolink", Yo).getRegex(), Zs = {
5241
+ ).replace("comment", dh).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), dn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, gh = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", dn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wo = _(/^!?\[(label)\]\[(ref)\]/).replace("label", dn).replace("ref", Fs).getRegex(), qo = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", Fs).getRegex(), mh = _("reflink|nolink(?!\\()", "g").replace("reflink", Wo).replace("nolink", qo).getRegex(), qs = {
5279
5242
  _backpedal: wt,
5280
5243
  // only used for GFM url
5281
- anyPunctuation: dh,
5282
- autolink: fh,
5283
- blockSkip: ah,
5284
- br: Fo,
5285
- code: nh,
5244
+ anyPunctuation: hh,
5245
+ autolink: ph,
5246
+ blockSkip: ih,
5247
+ br: Ho,
5248
+ code: eh,
5286
5249
  del: wt,
5287
- emStrongLDelim: lh,
5288
- emStrongRDelimAst: uh,
5289
- emStrongRDelimUnd: ph,
5290
- escape: th,
5291
- link: vh,
5292
- nolink: Yo,
5293
- punctuation: rh,
5294
- reflink: Zo,
5295
- reflinkSearch: bh,
5296
- tag: mh,
5297
- text: sh,
5250
+ emStrongLDelim: oh,
5251
+ emStrongRDelimAst: lh,
5252
+ emStrongRDelimUnd: uh,
5253
+ escape: Ju,
5254
+ link: gh,
5255
+ nolink: qo,
5256
+ punctuation: nh,
5257
+ reflink: Wo,
5258
+ reflinkSearch: mh,
5259
+ tag: fh,
5260
+ text: th,
5298
5261
  url: wt
5299
- }, yh = {
5300
- ...Zs,
5301
- link: _(/^!?\[(label)\]\((.*?)\)/).replace("label", fn).getRegex(),
5302
- reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", fn).getRegex()
5303
- }, xs = {
5304
- ...Zs,
5305
- emStrongRDelimAst: hh,
5306
- emStrongLDelim: ch,
5262
+ }, vh = {
5263
+ ...qs,
5264
+ link: _(/^!?\[(label)\]\((.*?)\)/).replace("label", dn).getRegex(),
5265
+ reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", dn).getRegex()
5266
+ }, ys = {
5267
+ ...qs,
5268
+ emStrongRDelimAst: ch,
5269
+ emStrongLDelim: ah,
5307
5270
  url: _(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
5308
5271
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
5309
5272
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
5310
5273
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5311
- }, $h = {
5312
- ...xs,
5313
- br: _(Fo).replace("{2,}", "*").getRegex(),
5314
- text: _(xs.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5315
- }, Yt = {
5316
- normal: Ws,
5317
- gfm: Ju,
5318
- pedantic: eh
5274
+ }, bh = {
5275
+ ...ys,
5276
+ br: _(Ho).replace("{2,}", "*").getRegex(),
5277
+ text: _(ys.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5278
+ }, Zt = {
5279
+ normal: Gs,
5280
+ gfm: Vu,
5281
+ pedantic: Qu
5319
5282
  }, vt = {
5320
- normal: Zs,
5321
- gfm: xs,
5322
- breaks: $h,
5323
- pedantic: yh
5324
- }, xh = {
5283
+ normal: qs,
5284
+ gfm: ys,
5285
+ breaks: bh,
5286
+ pedantic: vh
5287
+ }, yh = {
5325
5288
  "&": "&amp;",
5326
5289
  "<": "&lt;",
5327
5290
  ">": "&gt;",
5328
5291
  '"': "&quot;",
5329
5292
  "'": "&#39;"
5330
- }, Ti = (n) => xh[n];
5293
+ }, Ai = (n) => yh[n];
5331
5294
  function re(n, e) {
5332
5295
  if (e) {
5333
5296
  if (F.escapeTest.test(n))
5334
- return n.replace(F.escapeReplace, Ti);
5297
+ return n.replace(F.escapeReplace, Ai);
5335
5298
  } else if (F.escapeTestNoEncode.test(n))
5336
- return n.replace(F.escapeReplaceNoEncode, Ti);
5299
+ return n.replace(F.escapeReplaceNoEncode, Ai);
5337
5300
  return n;
5338
5301
  }
5339
- function Ci(n) {
5302
+ function Ei(n) {
5340
5303
  try {
5341
5304
  n = encodeURI(n).replace(F.percentDecode, "%");
5342
5305
  } catch {
@@ -5344,7 +5307,7 @@ function Ci(n) {
5344
5307
  }
5345
5308
  return n;
5346
5309
  }
5347
- function Li(n, e) {
5310
+ function Ti(n, e) {
5348
5311
  var i;
5349
5312
  const t = n.replace(F.findPipe, (o, a, l) => {
5350
5313
  let c = !1, u = a;
@@ -5370,7 +5333,7 @@ function bt(n, e, t) {
5370
5333
  r++;
5371
5334
  return n.slice(0, s - r);
5372
5335
  }
5373
- function wh(n, e) {
5336
+ function $h(n, e) {
5374
5337
  if (n.indexOf(e[1]) === -1)
5375
5338
  return -1;
5376
5339
  let t = 0;
@@ -5383,7 +5346,7 @@ function wh(n, e) {
5383
5346
  return s;
5384
5347
  return t > 0 ? -2 : -1;
5385
5348
  }
5386
- function Ri(n, e, t, s, r) {
5349
+ function Ci(n, e, t, s, r) {
5387
5350
  const i = e.href, o = e.title || null, a = n[1].replace(r.other.outputLinkReplace, "$1");
5388
5351
  s.state.inLink = !0;
5389
5352
  const l = {
@@ -5396,7 +5359,7 @@ function Ri(n, e, t, s, r) {
5396
5359
  };
5397
5360
  return s.state.inLink = !1, l;
5398
5361
  }
5399
- function kh(n, e, t) {
5362
+ function xh(n, e, t) {
5400
5363
  const s = n.match(t.other.indentCodeCompensation);
5401
5364
  if (s === null)
5402
5365
  return e;
@@ -5411,7 +5374,7 @@ function kh(n, e, t) {
5411
5374
  }).join(`
5412
5375
  `);
5413
5376
  }
5414
- var gn = class {
5377
+ var fn = class {
5415
5378
  // set by the lexer
5416
5379
  constructor(n) {
5417
5380
  S(this, "options");
@@ -5444,7 +5407,7 @@ var gn = class {
5444
5407
  fences(n) {
5445
5408
  const e = this.rules.block.fences.exec(n);
5446
5409
  if (e) {
5447
- const t = e[0], s = kh(t, e[3] || "", this.rules);
5410
+ const t = e[0], s = xh(t, e[3] || "", this.rules);
5448
5411
  return {
5449
5412
  type: "code",
5450
5413
  raw: t,
@@ -5636,7 +5599,7 @@ ${u}` : u;
5636
5599
  const e = this.rules.block.table.exec(n);
5637
5600
  if (!e || !this.rules.other.tableDelimiter.test(e[2]))
5638
5601
  return;
5639
- const t = Li(e[1]), s = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), r = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5602
+ const t = Ti(e[1]), s = e[2].replace(this.rules.other.tableAlignChars, "").split("|"), r = (o = e[3]) != null && o.trim() ? e[3].replace(this.rules.other.tableRowBlankLine, "").split(`
5640
5603
  `) : [], i = {
5641
5604
  type: "table",
5642
5605
  raw: e[0],
@@ -5655,7 +5618,7 @@ ${u}` : u;
5655
5618
  align: i.align[a]
5656
5619
  });
5657
5620
  for (const a of r)
5658
- i.rows.push(Li(a, i.header.length).map((l, c) => ({
5621
+ i.rows.push(Ti(a, i.header.length).map((l, c) => ({
5659
5622
  text: l,
5660
5623
  tokens: this.lexer.inline(l),
5661
5624
  header: !1,
@@ -5730,7 +5693,7 @@ ${u}` : u;
5730
5693
  if ((t.length - i.length) % 2 === 0)
5731
5694
  return;
5732
5695
  } else {
5733
- const i = wh(e[2], "()");
5696
+ const i = $h(e[2], "()");
5734
5697
  if (i === -2)
5735
5698
  return;
5736
5699
  if (i > -1) {
@@ -5744,7 +5707,7 @@ ${u}` : u;
5744
5707
  i && (s = i[1], r = i[3]);
5745
5708
  } else
5746
5709
  r = e[3] ? e[3].slice(1, -1) : "";
5747
- return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? s = s.slice(1) : s = s.slice(1, -1)), Ri(e, {
5710
+ return s = s.trim(), this.rules.other.startAngleBracket.test(s) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(t) ? s = s.slice(1) : s = s.slice(1, -1)), Ci(e, {
5748
5711
  href: s && s.replace(this.rules.inline.anyPunctuation, "$1"),
5749
5712
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
5750
5713
  }, e[0], this.lexer, this.rules);
@@ -5762,7 +5725,7 @@ ${u}` : u;
5762
5725
  text: i
5763
5726
  };
5764
5727
  }
5765
- return Ri(t, r, t[0], this.lexer, this.rules);
5728
+ return Ci(t, r, t[0], this.lexer, this.rules);
5766
5729
  }
5767
5730
  }
5768
5731
  emStrong(n, e, t = "") {
@@ -5893,31 +5856,31 @@ ${u}` : u;
5893
5856
  };
5894
5857
  }
5895
5858
  }
5896
- }, ge = class ws {
5859
+ }, ge = class $s {
5897
5860
  constructor(e) {
5898
5861
  S(this, "tokens");
5899
5862
  S(this, "options");
5900
5863
  S(this, "state");
5901
5864
  S(this, "tokenizer");
5902
5865
  S(this, "inlineQueue");
5903
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || ze, this.options.tokenizer = this.options.tokenizer || new gn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5866
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || ze, this.options.tokenizer = this.options.tokenizer || new fn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5904
5867
  inLink: !1,
5905
5868
  inRawBlock: !1,
5906
5869
  top: !0
5907
5870
  };
5908
5871
  const t = {
5909
5872
  other: F,
5910
- block: Yt.normal,
5873
+ block: Zt.normal,
5911
5874
  inline: vt.normal
5912
5875
  };
5913
- this.options.pedantic ? (t.block = Yt.pedantic, t.inline = vt.pedantic) : this.options.gfm && (t.block = Yt.gfm, this.options.breaks ? t.inline = vt.breaks : t.inline = vt.gfm), this.tokenizer.rules = t;
5876
+ this.options.pedantic ? (t.block = Zt.pedantic, t.inline = vt.pedantic) : this.options.gfm && (t.block = Zt.gfm, this.options.breaks ? t.inline = vt.breaks : t.inline = vt.gfm), this.tokenizer.rules = t;
5914
5877
  }
5915
5878
  /**
5916
5879
  * Expose Rules
5917
5880
  */
5918
5881
  static get rules() {
5919
5882
  return {
5920
- block: Yt,
5883
+ block: Zt,
5921
5884
  inline: vt
5922
5885
  };
5923
5886
  }
@@ -5925,13 +5888,13 @@ ${u}` : u;
5925
5888
  * Static Lex Method
5926
5889
  */
5927
5890
  static lex(e, t) {
5928
- return new ws(t).lex(e);
5891
+ return new $s(t).lex(e);
5929
5892
  }
5930
5893
  /**
5931
5894
  * Static Lex Inline Method
5932
5895
  */
5933
5896
  static lexInline(e, t) {
5934
- return new ws(t).inlineTokens(e);
5897
+ return new $s(t).inlineTokens(e);
5935
5898
  }
5936
5899
  /**
5937
5900
  * Preprocessing
@@ -6137,7 +6100,7 @@ ${u}` : u;
6137
6100
  }
6138
6101
  return t;
6139
6102
  }
6140
- }, Ct = class {
6103
+ }, Tt = class {
6141
6104
  // set by the parser
6142
6105
  constructor(n) {
6143
6106
  S(this, "options");
@@ -6253,7 +6216,7 @@ ${n}</tr>
6253
6216
  return `<del>${this.parser.parseInline(n)}</del>`;
6254
6217
  }
6255
6218
  link({ href: n, title: e, tokens: t }) {
6256
- const s = this.parser.parseInline(t), r = Ci(n);
6219
+ const s = this.parser.parseInline(t), r = Ei(n);
6257
6220
  if (r === null)
6258
6221
  return s;
6259
6222
  n = r;
@@ -6262,7 +6225,7 @@ ${n}</tr>
6262
6225
  }
6263
6226
  image({ href: n, title: e, text: t, tokens: s }) {
6264
6227
  s && (t = this.parser.parseInline(s, this.parser.textRenderer));
6265
- const r = Ci(n);
6228
+ const r = Ei(n);
6266
6229
  if (r === null)
6267
6230
  return re(t);
6268
6231
  n = r;
@@ -6272,7 +6235,7 @@ ${n}</tr>
6272
6235
  text(n) {
6273
6236
  return "tokens" in n && n.tokens ? this.parser.parseInline(n.tokens) : "escaped" in n && n.escaped ? n.text : re(n.text);
6274
6237
  }
6275
- }, Ys = class {
6238
+ }, Zs = class {
6276
6239
  // no need for block level renderers
6277
6240
  strong({ text: n }) {
6278
6241
  return n;
@@ -6301,24 +6264,24 @@ ${n}</tr>
6301
6264
  br() {
6302
6265
  return "";
6303
6266
  }
6304
- }, me = class ks {
6267
+ }, me = class xs {
6305
6268
  constructor(e) {
6306
6269
  S(this, "options");
6307
6270
  S(this, "renderer");
6308
6271
  S(this, "textRenderer");
6309
- this.options = e || ze, this.options.renderer = this.options.renderer || new Ct(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Ys();
6272
+ this.options = e || ze, this.options.renderer = this.options.renderer || new Tt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Zs();
6310
6273
  }
6311
6274
  /**
6312
6275
  * Static Parse Method
6313
6276
  */
6314
6277
  static parse(e, t) {
6315
- return new ks(t).parse(e);
6278
+ return new xs(t).parse(e);
6316
6279
  }
6317
6280
  /**
6318
6281
  * Static Parse Inline Method
6319
6282
  */
6320
6283
  static parseInline(e, t) {
6321
- return new ks(t).parseInline(e);
6284
+ return new xs(t).parseInline(e);
6322
6285
  }
6323
6286
  /**
6324
6287
  * Parse Loop
@@ -6463,7 +6426,7 @@ ${n}</tr>
6463
6426
  }
6464
6427
  return s;
6465
6428
  }
6466
- }, ns, Qt = (ns = class {
6429
+ }, es, Vt = (es = class {
6467
6430
  constructor(n) {
6468
6431
  S(this, "options");
6469
6432
  S(this, "block");
@@ -6499,22 +6462,22 @@ ${n}</tr>
6499
6462
  provideParser() {
6500
6463
  return this.block ? me.parse : me.parseInline;
6501
6464
  }
6502
- }, S(ns, "passThroughHooks", /* @__PURE__ */ new Set([
6465
+ }, S(es, "passThroughHooks", /* @__PURE__ */ new Set([
6503
6466
  "preprocess",
6504
6467
  "postprocess",
6505
6468
  "processAllTokens"
6506
- ])), ns), _h = class {
6469
+ ])), es), wh = class {
6507
6470
  constructor(...n) {
6508
- S(this, "defaults", Hs());
6471
+ S(this, "defaults", zs());
6509
6472
  S(this, "options", this.setOptions);
6510
6473
  S(this, "parse", this.parseMarkdown(!0));
6511
6474
  S(this, "parseInline", this.parseMarkdown(!1));
6512
6475
  S(this, "Parser", me);
6513
- S(this, "Renderer", Ct);
6514
- S(this, "TextRenderer", Ys);
6476
+ S(this, "Renderer", Tt);
6477
+ S(this, "TextRenderer", Zs);
6515
6478
  S(this, "Lexer", ge);
6516
- S(this, "Tokenizer", gn);
6517
- S(this, "Hooks", Qt);
6479
+ S(this, "Tokenizer", fn);
6480
+ S(this, "Hooks", Vt);
6518
6481
  this.use(...n);
6519
6482
  }
6520
6483
  /**
@@ -6571,7 +6534,7 @@ ${n}</tr>
6571
6534
  }
6572
6535
  "childTokens" in r && r.childTokens && (e.childTokens[r.name] = r.childTokens);
6573
6536
  }), s.extensions = e), t.renderer) {
6574
- const r = this.defaults.renderer || new Ct(this.defaults);
6537
+ const r = this.defaults.renderer || new Tt(this.defaults);
6575
6538
  for (const i in t.renderer) {
6576
6539
  if (!(i in r))
6577
6540
  throw new Error(`renderer '${i}' does not exist`);
@@ -6586,7 +6549,7 @@ ${n}</tr>
6586
6549
  s.renderer = r;
6587
6550
  }
6588
6551
  if (t.tokenizer) {
6589
- const r = this.defaults.tokenizer || new gn(this.defaults);
6552
+ const r = this.defaults.tokenizer || new fn(this.defaults);
6590
6553
  for (const i in t.tokenizer) {
6591
6554
  if (!(i in r))
6592
6555
  throw new Error(`tokenizer '${i}' does not exist`);
@@ -6601,14 +6564,14 @@ ${n}</tr>
6601
6564
  s.tokenizer = r;
6602
6565
  }
6603
6566
  if (t.hooks) {
6604
- const r = this.defaults.hooks || new Qt();
6567
+ const r = this.defaults.hooks || new Vt();
6605
6568
  for (const i in t.hooks) {
6606
6569
  if (!(i in r))
6607
6570
  throw new Error(`hook '${i}' does not exist`);
6608
6571
  if (["options", "block"].includes(i))
6609
6572
  continue;
6610
6573
  const o = i, a = t.hooks[o], l = r[o];
6611
- Qt.passThroughHooks.has(i) ? r[o] = (c) => {
6574
+ Vt.passThroughHooks.has(i) ? r[o] = (c) => {
6612
6575
  if (this.defaults.async)
6613
6576
  return Promise.resolve(a.call(r, c)).then((d) => l.call(r, d));
6614
6577
  const u = a.call(r, c);
@@ -6675,17 +6638,17 @@ Please report this to https://github.com/markedjs/marked.`, n) {
6675
6638
  throw t;
6676
6639
  };
6677
6640
  }
6678
- }, Ue = new _h();
6641
+ }, Ue = new wh();
6679
6642
  function k(n, e) {
6680
6643
  return Ue.parse(n, e);
6681
6644
  }
6682
6645
  k.options = k.setOptions = function(n) {
6683
- return Ue.setOptions(n), k.defaults = Ue.defaults, Uo(k.defaults), k;
6646
+ return Ue.setOptions(n), k.defaults = Ue.defaults, No(k.defaults), k;
6684
6647
  };
6685
- k.getDefaults = Hs;
6648
+ k.getDefaults = zs;
6686
6649
  k.defaults = ze;
6687
6650
  k.use = function(...n) {
6688
- return Ue.use(...n), k.defaults = Ue.defaults, Uo(k.defaults), k;
6651
+ return Ue.use(...n), k.defaults = Ue.defaults, No(k.defaults), k;
6689
6652
  };
6690
6653
  k.walkTokens = function(n, e) {
6691
6654
  return Ue.walkTokens(n, e);
@@ -6693,12 +6656,12 @@ k.walkTokens = function(n, e) {
6693
6656
  k.parseInline = Ue.parseInline;
6694
6657
  k.Parser = me;
6695
6658
  k.parser = me.parse;
6696
- k.Renderer = Ct;
6697
- k.TextRenderer = Ys;
6659
+ k.Renderer = Tt;
6660
+ k.TextRenderer = Zs;
6698
6661
  k.Lexer = ge;
6699
6662
  k.lexer = ge.lex;
6700
- k.Tokenizer = gn;
6701
- k.Hooks = Qt;
6663
+ k.Tokenizer = fn;
6664
+ k.Hooks = Vt;
6702
6665
  k.parse = k;
6703
6666
  k.options;
6704
6667
  k.setOptions;
@@ -6707,17 +6670,17 @@ k.walkTokens;
6707
6670
  k.parseInline;
6708
6671
  me.parse;
6709
6672
  ge.lex;
6710
- var Sh = Object.defineProperty, Xo = (n, e, t, s) => {
6673
+ var kh = Object.defineProperty, Zo = (n, e, t, s) => {
6711
6674
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
6712
6675
  (o = n[i]) && (r = o(e, t, r) || r);
6713
- return r && Sh(e, t, r), r;
6676
+ return r && kh(e, t, r), r;
6714
6677
  };
6715
- const Ko = new Ct();
6716
- Ko.link = function({ href: n, title: e, text: t }) {
6678
+ const Yo = new Tt();
6679
+ Yo.link = function({ href: n, title: e, text: t }) {
6717
6680
  return e ?? (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
6718
6681
  };
6719
- k.use({ renderer: Ko });
6720
- const ir = class ir extends M {
6682
+ k.use({ renderer: Yo });
6683
+ const rr = class rr extends M {
6721
6684
  constructor() {
6722
6685
  super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = ie(), this.contentRef = ie(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm);
6723
6686
  }
@@ -6764,7 +6727,7 @@ const ir = class ir extends M {
6764
6727
  const e = this.getLastChunk();
6765
6728
  if (!e) return;
6766
6729
  this.buffer += e;
6767
- const t = Do.sanitize(
6730
+ const t = Mo.sanitize(
6768
6731
  k.parse(this.buffer)
6769
6732
  );
6770
6733
  if (this.includesImage(this.buffer))
@@ -6773,7 +6736,7 @@ const ir = class ir extends M {
6773
6736
  const s = (i = this.contentRef.value) == null ? void 0 : i.querySelector(
6774
6737
  "div:last-of-type"
6775
6738
  );
6776
- s.innerHTML = ul(t), this.applyCodeStyles(s), this.autoScroll && this.scrollRef.value.scrollIntoView();
6739
+ s.innerHTML = ll(t), this.applyCodeStyles(s), this.autoScroll && this.scrollRef.value.scrollIntoView();
6777
6740
  }
6778
6741
  // Apply white-space: pre-wrap to <code> elements
6779
6742
  applyCodeStyles(e) {
@@ -6795,7 +6758,7 @@ const ir = class ir extends M {
6795
6758
  `;
6796
6759
  }
6797
6760
  };
6798
- ir.styles = [
6761
+ rr.styles = [
6799
6762
  Y`
6800
6763
  :host {
6801
6764
  box-sizing: border-box;
@@ -6836,19 +6799,19 @@ ir.styles = [
6836
6799
  }
6837
6800
  `
6838
6801
  ];
6839
- let Lt = ir;
6840
- Xo([
6802
+ let Ct = rr;
6803
+ Zo([
6841
6804
  C({ attribute: !1 })
6842
- ], Lt.prototype, "message");
6843
- Xo([
6805
+ ], Ct.prototype, "message");
6806
+ Zo([
6844
6807
  z()
6845
- ], Lt.prototype, "showLightbox");
6846
- var Ah = Object.defineProperty, Eh = (n, e, t, s) => {
6808
+ ], Ct.prototype, "showLightbox");
6809
+ var _h = Object.defineProperty, Sh = (n, e, t, s) => {
6847
6810
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
6848
6811
  (o = n[i]) && (r = o(e, t, r) || r);
6849
- return r && Ah(e, t, r), r;
6812
+ return r && _h(e, t, r), r;
6850
6813
  };
6851
- const or = class or extends M {
6814
+ const ir = class ir extends M {
6852
6815
  constructor() {
6853
6816
  super(...arguments), this.escapeListener = (e) => {
6854
6817
  e.key === "Escape" && this.closeLightbox();
@@ -6885,13 +6848,13 @@ const or = class or extends M {
6885
6848
  @keydown=${this.handleKeyDown}
6886
6849
  >
6887
6850
  <button class="close" @click=${this.closeLightbox}>
6888
- <telia-icon svg=${Ul.svg} size="lg"></telia-icon>
6851
+ <telia-icon svg=${Nl.svg} size="lg"></telia-icon>
6889
6852
  </button>
6890
6853
  <img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
6891
6854
  </div> `;
6892
6855
  }
6893
6856
  };
6894
- or.styles = [
6857
+ ir.styles = [
6895
6858
  Y`
6896
6859
  :focus {
6897
6860
  outline-color: var(--focus-color);
@@ -6932,26 +6895,26 @@ or.styles = [
6932
6895
  }
6933
6896
  `
6934
6897
  ];
6935
- let mn = or;
6936
- Eh([
6898
+ let gn = ir;
6899
+ Sh([
6937
6900
  C({ attribute: !0 })
6938
- ], mn.prototype, "imageUrl");
6939
- var Th = Object.defineProperty, be = (n, e, t, s) => {
6901
+ ], gn.prototype, "imageUrl");
6902
+ var Ah = Object.defineProperty, be = (n, e, t, s) => {
6940
6903
  for (var r = void 0, i = n.length - 1, o; i >= 0; i--)
6941
6904
  (o = n[i]) && (r = o(e, t, r) || r);
6942
- return r && Th(e, t, r), r;
6905
+ return r && Ah(e, t, r), r;
6943
6906
  };
6944
- customElements.get("conversation-entry") || customElements.define("conversation-entry", hn);
6945
- customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Tt);
6946
- customElements.get("conversation-group") || customElements.define("conversation-group", pn);
6947
- customElements.get("ace-typing-state") || customElements.define("ace-typing-state", vs);
6948
- customElements.get("message-type-html") || customElements.define("message-type-html", dn);
6949
- customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Lt);
6950
- customElements.get("ace-lightbox") || customElements.define("ace-lightbox", mn);
6951
- const Oi = Co(M), ar = class ar extends Oi {
6907
+ customElements.get("conversation-entry") || customElements.define("conversation-entry", un);
6908
+ customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Et);
6909
+ customElements.get("conversation-group") || customElements.define("conversation-group", hn);
6910
+ customElements.get("ace-typing-state") || customElements.define("ace-typing-state", gs);
6911
+ customElements.get("message-type-html") || customElements.define("message-type-html", pn);
6912
+ customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Ct);
6913
+ customElements.get("ace-lightbox") || customElements.define("ace-lightbox", gn);
6914
+ const Li = Eo(M), or = class or extends Li {
6952
6915
  constructor() {
6953
- super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = ie(), this.conversationFeedRef = ie(), this.formRef = ie(), this.inputRef = ie(), this.scrollRef = ie(), this.counterRef = ie(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new uu(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new te("waiting"), this.stateMachine = new pu(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6954
- Qe((e) => e ? e == null ? void 0 : e.provider$ : os(null))
6916
+ super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.isMuted = !1, this.conversationContentRef = ie(), this.conversationFeedRef = ie(), this.formRef = ie(), this.inputRef = ie(), this.scrollRef = ie(), this.counterRef = ie(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new lu(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new te("waiting"), this.stateMachine = new uu(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6917
+ Qe((e) => e ? e == null ? void 0 : e.provider$ : rs(null))
6955
6918
  ), this.userTyping$ = new U();
6956
6919
  }
6957
6920
  async connectedCallback() {
@@ -6961,20 +6924,20 @@ const Oi = Co(M), ar = class ar extends Oi {
6961
6924
  );
6962
6925
  this.platform = e || null;
6963
6926
  const t = this.application.trigger;
6964
- t && t.widgetActive$.pipe(ls(t.componentIsDestroyed$)).subscribe((s) => {
6927
+ t && t.widgetActive$.pipe(os(t.componentIsDestroyed$)).subscribe((s) => {
6965
6928
  const r = this.conversationContentRef.value;
6966
6929
  r && (s ? r.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = r.scrollTop);
6967
- }), this.stateSubscription = Qa([
6930
+ }), this.stateSubscription = Ka([
6968
6931
  this.stateMachine.entries(),
6969
6932
  this.stateMachine.isTyping()
6970
6933
  ]).subscribe(([s, r]) => {
6971
6934
  this.entries = s, this.typing = r;
6972
- }), this.userSubmitSubscription = tn(
6935
+ }), this.userSubmitSubscription = en(
6973
6936
  this,
6974
6937
  "user-submit"
6975
- ).pipe(cs(this.provider$)).subscribe(([s, r]) => {
6938
+ ).pipe(as(this.provider$)).subscribe(([s, r]) => {
6976
6939
  r && r.onUserSubmit(s.detail);
6977
- }), this._addHeaderOptions(), this.provider$.pipe(cs(this.provider$)).subscribe(([s, r]) => {
6940
+ }), this._addHeaderOptions(), this.provider$.pipe(as(this.provider$)).subscribe(([s, r]) => {
6978
6941
  r && r.showChatOverlay$.pipe().subscribe((i) => {
6979
6942
  this.chatOverlayActive = i;
6980
6943
  });
@@ -7065,11 +7028,11 @@ const Oi = Co(M), ar = class ar extends Oi {
7065
7028
  return;
7066
7029
  const t = this.application.texts, s = t.getOrFallback("conversation.mute", "Mute"), r = t.getOrFallback("conversation.unmute", "Unmute"), i = e.addOption({
7067
7030
  label: this.isMuted ? r : s,
7068
- icon: this.isMuted ? Yr.svg : Xr.svg,
7031
+ icon: this.isMuted ? Zr.svg : Yr.svg,
7069
7032
  closeOnClick: !1,
7070
7033
  datatestid: "options-mute-button",
7071
7034
  onClick: () => {
7072
- this.isMuted ? (this.isMuted = !1, this.application.unmute(), i.updateLabel(s), i.updateIcon(Xr.svg)) : (this.isMuted = !0, this.application.mute(), i.updateLabel(r), i.updateIcon(Yr.svg));
7035
+ this.isMuted ? (this.isMuted = !1, this.application.unmute(), i.updateLabel(s), i.updateIcon(Yr.svg)) : (this.isMuted = !0, this.application.mute(), i.updateLabel(r), i.updateIcon(Zr.svg));
7073
7036
  }
7074
7037
  });
7075
7038
  }
@@ -7099,7 +7062,7 @@ const Oi = Co(M), ar = class ar extends Oi {
7099
7062
  providerOptions: t
7100
7063
  }
7101
7064
  });
7102
- return this.dispatchEvent(s), s.detail.complete || Ot;
7065
+ return this.dispatchEvent(s), s.detail.complete || Rt;
7103
7066
  }
7104
7067
  firstUpdated() {
7105
7068
  this.isMuted = this.application.storage.get("muteAudioNotifications") ?? !1;
@@ -7124,7 +7087,7 @@ const Oi = Co(M), ar = class ar extends Oi {
7124
7087
  class="overlay-button"
7125
7088
  @click=${() => this.chatOverlayActive = !1}
7126
7089
  >
7127
- <telia-icon svg=${Dl.svg}></telia-icon>
7090
+ <telia-icon svg=${Ml.svg}></telia-icon>
7128
7091
  </button>
7129
7092
  </div>` : x}
7130
7093
  <div
@@ -7180,7 +7143,7 @@ const Oi = Co(M), ar = class ar extends Oi {
7180
7143
  title=${e.getOrFallback("conversation.send-alt", "Send")}
7181
7144
  ?disabled=${this.disabledSubmit}
7182
7145
  >
7183
- <telia-icon svg=${Hl.svg}></telia-icon>
7146
+ <telia-icon svg=${Ul.svg}></telia-icon>
7184
7147
  </button>
7185
7148
  <span class="counter" ${oe(this.counterRef)}>
7186
7149
  ${this.textAreaLength} / ${this.messageMaxLength}</span
@@ -7199,8 +7162,8 @@ const Oi = Co(M), ar = class ar extends Oi {
7199
7162
  </div>`;
7200
7163
  }
7201
7164
  };
7202
- ar.styles = [
7203
- Oi.styles || [],
7165
+ or.styles = [
7166
+ Li.styles || [],
7204
7167
  Y`
7205
7168
  :host {
7206
7169
  font-family: var(--font-family);
@@ -7485,7 +7448,7 @@ ar.styles = [
7485
7448
  }
7486
7449
  `
7487
7450
  ];
7488
- let K = ar;
7451
+ let K = or;
7489
7452
  be([
7490
7453
  z()
7491
7454
  ], K.prototype, "message");
@@ -7513,20 +7476,20 @@ be([
7513
7476
  be([
7514
7477
  z()
7515
7478
  ], K.prototype, "typing");
7516
- const Ch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7479
+ const Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7517
7480
  __proto__: null,
7518
7481
  Conversation: K,
7519
7482
  default: K
7520
7483
  }, Symbol.toStringTag, { value: "Module" }));
7521
7484
  export {
7522
- pl as Agent,
7485
+ ul as Agent,
7523
7486
  K as Conversation,
7524
- Rh as ConversationComponent,
7525
- $n as ConversationEntry,
7487
+ Ch as ConversationComponent,
7488
+ bn as ConversationEntry,
7526
7489
  we as ConversationMessageType,
7527
- Pi as ConversationPlatform,
7528
- Ih as ConversationProvider,
7529
- dl as User,
7530
- Oh as findPlainTextLinks,
7531
- ul as truncateLongLinks
7490
+ Oi as ConversationPlatform,
7491
+ Rh as ConversationProvider,
7492
+ hl as User,
7493
+ Lh as findPlainTextLinks,
7494
+ ll as truncateLongLinks
7532
7495
  };