@telia-ace/widget-conversational-agent 1.1.123-rc.24 → 1.1.123-rc.26

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 +46 -31
  2. package/index.mjs +198 -174
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -339,9 +339,9 @@ function Wr(n) {
339
339
  function Di(n) {
340
340
  E(n) ? n() : n.unsubscribe();
341
341
  }
342
- var La = {
342
+ var Ra = {
343
343
  Promise: void 0
344
- }, Ra = {
344
+ }, La = {
345
345
  setTimeout: function(n, e) {
346
346
  for (var t = [], s = 2; s < arguments.length; s++)
347
347
  t[s - 2] = arguments[s];
@@ -353,7 +353,7 @@ var La = {
353
353
  delegate: void 0
354
354
  };
355
355
  function Gr(n) {
356
- Ra.setTimeout(function() {
356
+ La.setTimeout(function() {
357
357
  throw n;
358
358
  });
359
359
  }
@@ -460,7 +460,7 @@ function Ma(n) {
460
460
  }, t);
461
461
  };
462
462
  }
463
- var X = (function() {
463
+ var K = (function() {
464
464
  function n(e) {
465
465
  e && (this._subscribe = e);
466
466
  }
@@ -522,7 +522,7 @@ var X = (function() {
522
522
  })();
523
523
  function Ui(n) {
524
524
  var e;
525
- return (e = n ?? La.Promise) !== null && e !== void 0 ? e : Promise;
525
+ return (e = n ?? Ra.Promise) !== null && e !== void 0 ? e : Promise;
526
526
  }
527
527
  function Na(n) {
528
528
  return n && E(n.next) && E(n.error) && E(n.complete);
@@ -662,12 +662,12 @@ var za = (function(n) {
662
662
  var s = this, i = s.hasError, r = s.thrownError, o = s.isStopped;
663
663
  i ? t.error(r) : o && t.complete();
664
664
  }, e.prototype.asObservable = function() {
665
- var t = new X();
665
+ var t = new K();
666
666
  return t.source = this, t;
667
667
  }, e.create = function(t, s) {
668
668
  return new zi(t, s);
669
669
  }, e;
670
- })(X), zi = (function(n) {
670
+ })(K), zi = (function(n) {
671
671
  at(e, n);
672
672
  function e(t, s) {
673
673
  var i = n.call(this) || this;
@@ -709,7 +709,7 @@ var za = (function(n) {
709
709
  }, e.prototype.next = function(t) {
710
710
  n.prototype.next.call(this, this._value = t);
711
711
  }, e;
712
- })(I), Pt = new X(function(n) {
712
+ })(I), Pt = new K(function(n) {
713
713
  return n.complete();
714
714
  });
715
715
  function Ha(n) {
@@ -733,10 +733,10 @@ var Ts = (function(n) {
733
733
  function Yr(n) {
734
734
  return E(n == null ? void 0 : n.then);
735
735
  }
736
- function Xr(n) {
736
+ function Kr(n) {
737
737
  return E(n[Es]);
738
738
  }
739
- function Kr(n) {
739
+ function Xr(n) {
740
740
  return Symbol.asyncIterator && E(n == null ? void 0 : n[Symbol.asyncIterator]);
741
741
  }
742
742
  function Vr(n) {
@@ -784,16 +784,16 @@ function to(n) {
784
784
  return E(n == null ? void 0 : n.getReader);
785
785
  }
786
786
  function ce(n) {
787
- if (n instanceof X)
787
+ if (n instanceof K)
788
788
  return n;
789
789
  if (n != null) {
790
- if (Xr(n))
790
+ if (Kr(n))
791
791
  return qa(n);
792
792
  if (Ts(n))
793
793
  return Wa(n);
794
794
  if (Yr(n))
795
795
  return Ga(n);
796
- if (Kr(n))
796
+ if (Xr(n))
797
797
  return no(n);
798
798
  if (Jr(n))
799
799
  return Za(n);
@@ -803,7 +803,7 @@ function ce(n) {
803
803
  throw Vr(n);
804
804
  }
805
805
  function qa(n) {
806
- return new X(function(e) {
806
+ return new K(function(e) {
807
807
  var t = n[Es]();
808
808
  if (E(t.subscribe))
809
809
  return t.subscribe(e);
@@ -811,14 +811,14 @@ function qa(n) {
811
811
  });
812
812
  }
813
813
  function Wa(n) {
814
- return new X(function(e) {
814
+ return new K(function(e) {
815
815
  for (var t = 0; t < n.length && !e.closed; t++)
816
816
  e.next(n[t]);
817
817
  e.complete();
818
818
  });
819
819
  }
820
820
  function Ga(n) {
821
- return new X(function(e) {
821
+ return new K(function(e) {
822
822
  n.then(function(t) {
823
823
  e.closed || (e.next(t), e.complete());
824
824
  }, function(t) {
@@ -827,7 +827,7 @@ function Ga(n) {
827
827
  });
828
828
  }
829
829
  function Za(n) {
830
- return new X(function(e) {
830
+ return new K(function(e) {
831
831
  var t, s;
832
832
  try {
833
833
  for (var i = nt(n), r = i.next(); !r.done; r = i.next()) {
@@ -848,8 +848,8 @@ function Za(n) {
848
848
  });
849
849
  }
850
850
  function no(n) {
851
- return new X(function(e) {
852
- Xa(n, e).catch(function(t) {
851
+ return new K(function(e) {
852
+ Ka(n, e).catch(function(t) {
853
853
  return e.error(t);
854
854
  });
855
855
  });
@@ -857,7 +857,7 @@ function no(n) {
857
857
  function Ya(n) {
858
858
  return no(eo(n));
859
859
  }
860
- function Xa(n, e) {
860
+ function Ka(n, e) {
861
861
  var t, s, i, r;
862
862
  return Aa(this, void 0, void 0, function() {
863
863
  var o, a;
@@ -927,14 +927,14 @@ function io(n, e) {
927
927
  }, e));
928
928
  });
929
929
  }
930
- function Ka(n, e) {
930
+ function Xa(n, e) {
931
931
  return ce(n).pipe(io(e), so(e));
932
932
  }
933
933
  function Va(n, e) {
934
934
  return ce(n).pipe(io(e), so(e));
935
935
  }
936
936
  function Qa(n, e) {
937
- return new X(function(t) {
937
+ return new K(function(t) {
938
938
  var s = 0;
939
939
  return e.schedule(function() {
940
940
  s === n.length ? t.complete() : (t.next(n[s++]), t.closed || this.schedule());
@@ -942,7 +942,7 @@ function Qa(n, e) {
942
942
  });
943
943
  }
944
944
  function Ja(n, e) {
945
- return new X(function(t) {
945
+ return new K(function(t) {
946
946
  var s;
947
947
  return ke(t, e, function() {
948
948
  s = n[Qr](), ke(t, e, function() {
@@ -963,7 +963,7 @@ function Ja(n, e) {
963
963
  function ro(n, e) {
964
964
  if (!n)
965
965
  throw new Error("Iterable cannot be null");
966
- return new X(function(t) {
966
+ return new K(function(t) {
967
967
  ke(t, e, function() {
968
968
  var s = n[Symbol.asyncIterator]();
969
969
  ke(t, e, function() {
@@ -979,13 +979,13 @@ function el(n, e) {
979
979
  }
980
980
  function tl(n, e) {
981
981
  if (n != null) {
982
- if (Xr(n))
983
- return Ka(n, e);
982
+ if (Kr(n))
983
+ return Xa(n, e);
984
984
  if (Ts(n))
985
985
  return Qa(n, e);
986
986
  if (Yr(n))
987
987
  return Va(n, e);
988
- if (Kr(n))
988
+ if (Xr(n))
989
989
  return ro(n, e);
990
990
  if (Jr(n))
991
991
  return Ja(n, e);
@@ -1052,7 +1052,7 @@ function hl() {
1052
1052
  var t = Cs(n), s = Zr(n), i = ll(n), r = i.args, o = i.keys;
1053
1053
  if (r.length === 0)
1054
1054
  return $n([], t);
1055
- var a = new X(dl(r, t, o ? function(l) {
1055
+ var a = new K(dl(r, t, o ? function(l) {
1056
1056
  return ul(o, l);
1057
1057
  } : Ot));
1058
1058
  return s ? a.pipe(oo(s)) : a;
@@ -1109,8 +1109,8 @@ function pl(n, e, t, s, i, r, o, a) {
1109
1109
  })), function() {
1110
1110
  };
1111
1111
  }
1112
- function Ls(n, e, t) {
1113
- return t === void 0 && (t = 1 / 0), E(e) ? Ls(function(s, i) {
1112
+ function Rs(n, e, t) {
1113
+ return t === void 0 && (t = 1 / 0), E(e) ? Rs(function(s, i) {
1114
1114
  return nn(function(r, o) {
1115
1115
  return e(s, r, i, o);
1116
1116
  })(ce(n(s, i)));
@@ -1119,7 +1119,7 @@ function Ls(n, e, t) {
1119
1119
  }));
1120
1120
  }
1121
1121
  function fl(n) {
1122
- return n === void 0 && (n = 1 / 0), Ls(Ot, n);
1122
+ return n === void 0 && (n = 1 / 0), Rs(Ot, n);
1123
1123
  }
1124
1124
  var gl = ["addListener", "removeListener"], ml = ["addEventListener", "removeEventListener"], vl = ["on", "off"];
1125
1125
  function sn(n, e, t, s) {
@@ -1131,12 +1131,12 @@ function sn(n, e, t, s) {
1131
1131
  };
1132
1132
  }) : bl(n) ? gl.map(Hi(n, e)) : yl(n) ? vl.map(Hi(n, e)) : [], 2), r = i[0], o = i[1];
1133
1133
  if (!r && Ts(n))
1134
- return Ls(function(a) {
1134
+ return Rs(function(a) {
1135
1135
  return sn(a, e, t);
1136
1136
  })(ce(n));
1137
1137
  if (!r)
1138
1138
  throw new TypeError("Invalid event target");
1139
- return new X(function(a) {
1139
+ return new K(function(a) {
1140
1140
  var l = function() {
1141
1141
  for (var c = [], u = 0; u < arguments.length; u++)
1142
1142
  c[u] = arguments[u];
@@ -1464,7 +1464,7 @@ class Cl {
1464
1464
  * Copyright 2019 Google LLC
1465
1465
  * SPDX-License-Identifier: BSD-3-Clause
1466
1466
  */
1467
- const Qt = globalThis, Rs = Qt.ShadowRoot && (Qt.ShadyCSS === void 0 || Qt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Os = Symbol(), ji = /* @__PURE__ */ new WeakMap();
1467
+ const Qt = globalThis, Ls = Qt.ShadowRoot && (Qt.ShadyCSS === void 0 || Qt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Os = Symbol(), ji = /* @__PURE__ */ new WeakMap();
1468
1468
  let co = class {
1469
1469
  constructor(e, t, s) {
1470
1470
  if (this._$cssResult$ = !0, s !== Os) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -1473,7 +1473,7 @@ let co = class {
1473
1473
  get styleSheet() {
1474
1474
  let e = this.o;
1475
1475
  const t = this.t;
1476
- if (Rs && e === void 0) {
1476
+ if (Ls && e === void 0) {
1477
1477
  const s = t !== void 0 && t.length === 1;
1478
1478
  s && (e = ji.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), s && ji.set(t, e));
1479
1479
  }
@@ -1490,13 +1490,13 @@ const Tl = (n) => new co(typeof n == "string" ? n : n + "", void 0, Os), Z = (n,
1490
1490
  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.");
1491
1491
  })(i) + n[r + 1]), n[0]);
1492
1492
  return new co(t, n, Os);
1493
- }, Ll = (n, e) => {
1494
- if (Rs) n.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
1493
+ }, Rl = (n, e) => {
1494
+ if (Ls) n.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
1495
1495
  else for (const t of e) {
1496
1496
  const s = document.createElement("style"), i = Qt.litNonce;
1497
1497
  i !== void 0 && s.setAttribute("nonce", i), s.textContent = t.cssText, n.appendChild(s);
1498
1498
  }
1499
- }, qi = Rs ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1499
+ }, qi = Ls ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((e) => {
1500
1500
  let t = "";
1501
1501
  for (const s of e.cssRules) t += s.cssText;
1502
1502
  return Tl(t);
@@ -1506,7 +1506,7 @@ const Tl = (n) => new co(typeof n == "string" ? n : n + "", void 0, Os), Z = (n,
1506
1506
  * Copyright 2017 Google LLC
1507
1507
  * SPDX-License-Identifier: BSD-3-Clause
1508
1508
  */
1509
- const { is: Rl, defineProperty: Ol, getOwnPropertyDescriptor: Pl, getOwnPropertyNames: Il, getOwnPropertySymbols: Ml, getPrototypeOf: Nl } = Object, Se = globalThis, Wi = Se.trustedTypes, Dl = Wi ? Wi.emptyScript : "", qn = Se.reactiveElementPolyfillSupport, $t = (n, e) => n, rn = { toAttribute(n, e) {
1509
+ const { is: Ll, defineProperty: Ol, getOwnPropertyDescriptor: Pl, getOwnPropertyNames: Il, getOwnPropertySymbols: Ml, getPrototypeOf: Nl } = Object, Se = globalThis, Wi = Se.trustedTypes, Dl = Wi ? Wi.emptyScript : "", qn = Se.reactiveElementPolyfillSupport, $t = (n, e) => n, rn = { toAttribute(n, e) {
1510
1510
  switch (e) {
1511
1511
  case Boolean:
1512
1512
  n = n ? Dl : null;
@@ -1534,7 +1534,7 @@ const { is: Rl, defineProperty: Ol, getOwnPropertyDescriptor: Pl, getOwnProperty
1534
1534
  }
1535
1535
  }
1536
1536
  return t;
1537
- } }, Ps = (n, e) => !Rl(n, e), Gi = { attribute: !0, type: String, converter: rn, reflect: !1, useDefault: !1, hasChanged: Ps };
1537
+ } }, Ps = (n, e) => !Ll(n, e), Gi = { attribute: !0, type: String, converter: rn, reflect: !1, useDefault: !1, hasChanged: Ps };
1538
1538
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Se.litPropertyMetadata ?? (Se.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1539
1539
  let Ye = class extends HTMLElement {
1540
1540
  static addInitializer(e) {
@@ -1620,7 +1620,7 @@ let Ye = class extends HTMLElement {
1620
1620
  }
1621
1621
  createRenderRoot() {
1622
1622
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1623
- return Ll(e, this.constructor.elementStyles), e;
1623
+ return Rl(e, this.constructor.elementStyles), e;
1624
1624
  }
1625
1625
  connectedCallback() {
1626
1626
  var e;
@@ -1746,8 +1746,8 @@ Ye.elementStyles = [], Ye.shadowRootOptions = { mode: "open" }, Ye[$t("elementPr
1746
1746
  * SPDX-License-Identifier: BSD-3-Clause
1747
1747
  */
1748
1748
  const xt = globalThis, on = xt.trustedTypes, Zi = on ? on.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, uo = "$lit$", we = `lit$${Math.random().toFixed(9).slice(2)}$`, ho = "?" + we, Ul = `<${ho}>`, De = document, St = () => De.createComment(""), _t = (n) => n === null || typeof n != "object" && typeof n != "function", Is = Array.isArray, zl = (n) => Is(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Wn = `[
1749
- \f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yi = /-->/g, Xi = />/g, Re = RegExp(`>|${Wn}(?:([^\\s"'>=/]+)(${Wn}*=${Wn}*(?:[^
1750
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ki = /'/g, Vi = /"/g, po = /^(?:script|style|textarea|title)$/i, Bl = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = Bl(1), _e = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Qi = /* @__PURE__ */ new WeakMap(), Pe = De.createTreeWalker(De, 129);
1749
+ \f\r]`, dt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Yi = /-->/g, Ki = />/g, Le = RegExp(`>|${Wn}(?:([^\\s"'>=/]+)(${Wn}*=${Wn}*(?:[^
1750
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Xi = /'/g, Vi = /"/g, po = /^(?:script|style|textarea|title)$/i, Bl = (n) => (e, ...t) => ({ _$litType$: n, strings: e, values: t }), w = Bl(1), _e = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Qi = /* @__PURE__ */ new WeakMap(), Pe = De.createTreeWalker(De, 129);
1751
1751
  function fo(n, e) {
1752
1752
  if (!Is(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1753
1753
  return Zi !== void 0 ? Zi.createHTML(e) : e;
@@ -1758,8 +1758,8 @@ const Hl = (n, e) => {
1758
1758
  for (let a = 0; a < t; a++) {
1759
1759
  const l = n[a];
1760
1760
  let c, u, p = -1, d = 0;
1761
- for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === dt ? u[1] === "!--" ? o = Yi : u[1] !== void 0 ? o = Xi : u[2] !== void 0 ? (po.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = Re) : u[3] !== void 0 && (o = Re) : o === Re ? u[0] === ">" ? (o = i ?? dt, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Re : u[3] === '"' ? Vi : Ki) : o === Vi || o === Ki ? o = Re : o === Yi || o === Xi ? o = dt : (o = Re, i = void 0);
1762
- const g = o === Re && n[a + 1].startsWith("/>") ? " " : "";
1761
+ for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === dt ? u[1] === "!--" ? o = Yi : u[1] !== void 0 ? o = Ki : u[2] !== void 0 ? (po.test(u[2]) && (i = RegExp("</" + u[2], "g")), o = Le) : u[3] !== void 0 && (o = Le) : o === Le ? u[0] === ">" ? (o = i ?? dt, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Le : u[3] === '"' ? Vi : Xi) : o === Vi || o === Xi ? o = Le : o === Yi || o === Ki ? o = dt : (o = Le, i = void 0);
1762
+ const g = o === Le && n[a + 1].startsWith("/>") ? " " : "";
1763
1763
  r += o === dt ? l + Ul : p >= 0 ? (s.push(c), l.slice(0, p) + uo + l.slice(p) + we + g) : l + we + (p === -2 ? a : g);
1764
1764
  }
1765
1765
  return [fo(n, r + (n[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), s];
@@ -2012,7 +2012,7 @@ M._$litElement$ = !0, M.finalized = !0, (Hr = Me.litElementHydrateSupport) == nu
2012
2012
  const Zn = Me.litElementPolyfillSupport;
2013
2013
  Zn == null || Zn({ LitElement: M });
2014
2014
  (Me.litElementVersions ?? (Me.litElementVersions = [])).push("4.2.1");
2015
- const Yl = { 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>' }, Xl = { 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>' }, mo = { 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>' }, Kl = { 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>' }, Vl = { 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>' }, Ji = { 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>' }, Ql = { 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>' }, Jl = { 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>' }, er = { 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>' }, Xe = {
2015
+ const Yl = { 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>' }, Kl = { 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>' }, mo = { 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>' }, Xl = { 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>' }, Vl = { 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>' }, Ji = { 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>' }, Ql = { 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>' }, Jl = { 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>' }, er = { 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>' }, Ke = {
2016
2016
  allRenderFn: !1,
2017
2017
  cmpDidLoad: !0,
2018
2018
  cmpDidUnload: !1,
@@ -2096,7 +2096,7 @@ const Yl = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
2096
2096
  transformTagName: !1,
2097
2097
  attachStyles: !0
2098
2098
  };
2099
- let Ke, vo, wn, bo = !1, an = !1, Ms = !1, K = !1, tr = null, ds = !1;
2099
+ let Xe, vo, wn, bo = !1, an = !1, Ms = !1, X = !1, tr = null, ds = !1;
2100
2100
  const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} }, yo = kn.HTMLElement || class {
2101
2101
  }, q = {
2102
2102
  $flags$: 0,
@@ -2130,7 +2130,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2130
2130
  });
2131
2131
  }, sc = (n, e) => (t) => {
2132
2132
  try {
2133
- Xe.lazyLoad || n.$hostElement$[e](t);
2133
+ Ke.lazyLoad || n.$hostElement$[e](t);
2134
2134
  } catch (s) {
2135
2135
  Nt(s);
2136
2136
  }
@@ -2236,7 +2236,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2236
2236
  or(i, s, r[s], o[s], t, e.$flags$);
2237
2237
  }, cn = (n, e, t, s) => {
2238
2238
  let i = e.$children$[t], r = 0, o, a, l;
2239
- if (bo || (Ms = !0, i.$tag$ === "slot" && (Ke && s.classList.add(Ke + "-s"), i.$flags$ |= i.$children$ ? (
2239
+ if (bo || (Ms = !0, i.$tag$ === "slot" && (Xe && s.classList.add(Xe + "-s"), i.$flags$ |= i.$children$ ? (
2240
2240
  // slot element has fallback content
2241
2241
  2
2242
2242
  ) : (
@@ -2247,10 +2247,10 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2247
2247
  else if (i.$flags$ & 1)
2248
2248
  o = i.$elm$ = le.createTextNode("");
2249
2249
  else {
2250
- if (K || (K = i.$tag$ === "svg"), o = i.$elm$ = le.createElementNS(K ? uc : hc, i.$flags$ & 2 ? "slot-fb" : i.$tag$), K && i.$tag$ === "foreignObject" && (K = !1), wo(null, i, K), dc(Ke) && o["s-si"] !== Ke && o.classList.add(o["s-si"] = Ke), i.$children$)
2250
+ if (X || (X = i.$tag$ === "svg"), o = i.$elm$ = le.createElementNS(X ? uc : hc, i.$flags$ & 2 ? "slot-fb" : i.$tag$), X && i.$tag$ === "foreignObject" && (X = !1), wo(null, i, X), dc(Xe) && o["s-si"] !== Xe && o.classList.add(o["s-si"] = Xe), i.$children$)
2251
2251
  for (r = 0; r < i.$children$.length; ++r)
2252
2252
  a = cn(n, i, r, o), a && o.appendChild(a);
2253
- i.$tag$ === "svg" ? K = !1 : o.tagName === "foreignObject" && (K = !0);
2253
+ i.$tag$ === "svg" ? X = !1 : o.tagName === "foreignObject" && (X = !0);
2254
2254
  }
2255
2255
  return o["s-hn"] = wn, i.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = vo, o["s-sn"] = i.$name$ || "", l = n && n.$children$ && n.$children$[t], l && l.$tag$ === i.$tag$ && n.$elm$ && Et(n.$elm$, !1)), o;
2256
2256
  }, Et = (n, e) => {
@@ -2299,7 +2299,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2299
2299
  }, Zt = (n, e) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : n.$key$ === e.$key$ : !1, Us = (n) => n && n["s-ol"] || n, _o = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ve = (n, e) => {
2300
2300
  const t = e.$elm$ = n.$elm$, s = n.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
2301
2301
  let a;
2302
- o === null ? (K = r === "svg" ? !0 : r === "foreignObject" ? !1 : K, r === "slot" || wo(n, e, K), s !== null && i !== null ? vc(t, s, e, i) : i !== null ? (n.$text$ !== null && (t.textContent = ""), ko(t, null, e, i, 0, i.length - 1)) : s !== null && So(s, 0, s.length - 1), K && r === "svg" && (K = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2302
+ o === null ? (X = r === "svg" ? !0 : r === "foreignObject" ? !1 : X, r === "slot" || wo(n, e, X), s !== null && i !== null ? vc(t, s, e, i) : i !== null ? (n.$text$ !== null && (t.textContent = ""), ko(t, null, e, i, 0, i.length - 1)) : s !== null && So(s, 0, s.length - 1), X && r === "svg" && (X = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (t.data = o);
2303
2303
  }, Eo = (n) => {
2304
2304
  let e = n.childNodes, t, s, i, r, o, a;
2305
2305
  for (s = 0, i = e.length; s < i; s++)
@@ -2337,7 +2337,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2337
2337
  n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(Co);
2338
2338
  }, bc = (n, e) => {
2339
2339
  const t = n.$hostElement$, s = n.$cmpMeta$, i = n.$vnode$ || ln(null, null), r = pc(e) ? e : et(null, null, e);
2340
- wn = t.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, Ke = t["s-sc"], vo = t["s-cr"], bo = (s.$flags$ & 1) !== 0, an = !1, Ve(i, r);
2340
+ wn = t.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, Xe = t["s-sc"], vo = t["s-cr"], bo = (s.$flags$ & 1) !== 0, an = !1, Ve(i, r);
2341
2341
  {
2342
2342
  if (q.$flags$ |= 1, Ms) {
2343
2343
  Ao(r.$elm$);
@@ -2382,7 +2382,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2382
2382
  _c(n, e, s), r(), i(), Ec(n);
2383
2383
  }, _c = (n, e, t) => {
2384
2384
  try {
2385
- tr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Xe.hasRenderFn || Xe.reflect) && (Xe.vdomRender || Xe.reflect) && (Xe.hydrateServerSide || bc(n, e));
2385
+ tr = e, e = e.render && e.render(), n.$flags$ &= -17, n.$flags$ |= 2, (Ke.hasRenderFn || Ke.reflect) && (Ke.vdomRender || Ke.reflect) && (Ke.hydrateServerSide || bc(n, e));
2386
2386
  } catch (a) {
2387
2387
  Nt(a, n.$hostElement$);
2388
2388
  }
@@ -2421,7 +2421,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2421
2421
  }
2422
2422
  }
2423
2423
  }
2424
- }, Lc = (n, e, t) => {
2424
+ }, Rc = (n, e, t) => {
2425
2425
  if (e.$members$) {
2426
2426
  n.watchers && (e.$watchers$ = n.watchers);
2427
2427
  const s = Object.entries(e.$members$), i = n.prototype;
@@ -2458,7 +2458,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2458
2458
  }
2459
2459
  }
2460
2460
  return n;
2461
- }, Rc = async (n, e, t, s, i) => {
2461
+ }, Lc = async (n, e, t, s, i) => {
2462
2462
  if ((e.$flags$ & 32) === 0 && (i = n.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
2463
2463
  let o = i.style;
2464
2464
  typeof o != "string" && (o = o[e.$modeName$ = cc(n)]);
@@ -2478,7 +2478,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2478
2478
  const o = n[i];
2479
2479
  delete n[i], n[i] = o;
2480
2480
  }
2481
- }), Rc(n, e, t)), s();
2481
+ }), Lc(n, e, t)), s();
2482
2482
  }
2483
2483
  }, Ic = (n) => {
2484
2484
  const e = n["s-cr"] = le.createComment("");
@@ -2488,7 +2488,7 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2488
2488
  const e = Sn(n);
2489
2489
  e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
2490
2490
  }
2491
- }, Lo = (n, e) => {
2491
+ }, Ro = (n, e) => {
2492
2492
  const t = {
2493
2493
  $flags$: e[0],
2494
2494
  $tagName$: e[1]
@@ -2511,15 +2511,15 @@ const kn = typeof window < "u" ? window : {}, le = kn.document || { head: {} },
2511
2511
  delegatesFocus: !!(t.$flags$ & 16)
2512
2512
  });
2513
2513
  }
2514
- }), n.is = t.$tagName$, Lc(n, t);
2515
- }, Ro = /* @__PURE__ */ new WeakMap(), Sn = (n) => Ro.get(n), Nc = (n, e) => {
2514
+ }), n.is = t.$tagName$, Rc(n, t);
2515
+ }, Lo = /* @__PURE__ */ new WeakMap(), Sn = (n) => Lo.get(n), Nc = (n, e) => {
2516
2516
  const t = {
2517
2517
  $flags$: 0,
2518
2518
  $hostElement$: n,
2519
2519
  $cmpMeta$: e,
2520
2520
  $instanceValues$: /* @__PURE__ */ new Map()
2521
2521
  };
2522
- return $o(n, t, e.$listeners$), Ro.set(n, t);
2522
+ return $o(n, t, e.$listeners$), Lo.set(n, t);
2523
2523
  }, ur = (n, e) => e in n, Nt = (n, e) => (0, console.error)(n, e), un = /* @__PURE__ */ new Map(), Dc = [], hr = [], Oo = [], Uc = (n, e) => (t) => {
2524
2524
  n.push(t), ds || (ds = !0, e && q.$flags$ & 4 ? zc(ps) : q.raf(ps));
2525
2525
  }, dr = (n) => {
@@ -2549,7 +2549,7 @@ class qc {
2549
2549
  this.voca_component = e, this.voca_added = jc(/* @__PURE__ */ new Date());
2550
2550
  }
2551
2551
  }
2552
- const Wc = "telia-vst{display:none}", Gc = /* @__PURE__ */ Lo(class extends yo {
2552
+ const Wc = "telia-vst{display:none}", Gc = /* @__PURE__ */ Ro(class extends yo {
2553
2553
  constructor() {
2554
2554
  super(), this.__registerHost(), this.vocaInternalUStats = $c(this, "vocaInternalUStats");
2555
2555
  }
@@ -2587,7 +2587,7 @@ function Zc() {
2587
2587
  function Yc() {
2588
2588
  return fs().vocadsIconsRegistered;
2589
2589
  }
2590
- const Xc = ".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))}", Kc = /* @__PURE__ */ Lo(class extends yo {
2590
+ const Kc = ".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))}", Xc = /* @__PURE__ */ Ro(class extends yo {
2591
2591
  constructor() {
2592
2592
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
2593
2593
  }
@@ -2619,7 +2619,7 @@ const Xc = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
2619
2619
  return et(Ds, { class: `telia-icon telia-icon--${this.size}` }, et("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), et("telia-vst", { dataTrackingId: this.dataTrackingId }));
2620
2620
  }
2621
2621
  static get style() {
2622
- return Xc;
2622
+ return Kc;
2623
2623
  }
2624
2624
  }, [0, "telia-icon", {
2625
2625
  name: [1],
@@ -2634,7 +2634,7 @@ function Vc() {
2634
2634
  ["telia-icon", "telia-vst"].forEach((e) => {
2635
2635
  switch (e) {
2636
2636
  case "telia-icon":
2637
- customElements.get(e) || customElements.define(e, Kc);
2637
+ customElements.get(e) || customElements.define(e, Xc);
2638
2638
  break;
2639
2639
  case "telia-vst":
2640
2640
  customElements.get(e) || Po();
@@ -2887,13 +2887,13 @@ au([
2887
2887
  ], dn.prototype, "anchor");
2888
2888
  const lu = /* @__PURE__ */ new WeakMap();
2889
2889
  let pr = 0;
2890
- const Xn = /* @__PURE__ */ new Map(), fr = /* @__PURE__ */ new WeakSet(), gr = () => new Promise(((n) => requestAnimationFrame(n))), cu = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], uu = [{ opacity: 0 }], mr = [{ opacity: 0 }, { opacity: 1 }], vr = (n, e) => {
2890
+ const Kn = /* @__PURE__ */ new Map(), fr = /* @__PURE__ */ new WeakSet(), gr = () => new Promise(((n) => requestAnimationFrame(n))), cu = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], uu = [{ opacity: 0 }], mr = [{ opacity: 0 }, { opacity: 1 }], vr = (n, e) => {
2891
2891
  const t = n - e;
2892
2892
  return t === 0 ? void 0 : t;
2893
2893
  }, br = (n, e) => {
2894
2894
  const t = n / e;
2895
2895
  return t === 1 ? void 0 : t;
2896
- }, Kn = { left: (n, e) => {
2896
+ }, Xn = { left: (n, e) => {
2897
2897
  const t = vr(n, e);
2898
2898
  return { value: t, transform: t == null || isNaN(t) ? void 0 : `translateX(${t}px)` };
2899
2899
  }, top: (n, e) => {
@@ -2948,7 +2948,7 @@ class pu extends Mo {
2948
2948
  m() {
2949
2949
  const e = {}, t = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
2950
2950
  return this.options.properties.forEach(((i) => {
2951
- const r = t[i] ?? (Kn[i] ? void 0 : s[i]), o = Number(r);
2951
+ const r = t[i] ?? (Xn[i] ? void 0 : s[i]), o = Number(r);
2952
2952
  e[i] = isNaN(o) ? r + "" : o;
2953
2953
  })), e;
2954
2954
  }
@@ -2973,9 +2973,9 @@ class pu extends Mo {
2973
2973
  const { from: r, to: o } = this.N(this.A, i, t);
2974
2974
  this.log("measured", [this.A, i, r, o]), e = this.calculateKeyframes(r, o);
2975
2975
  } else {
2976
- const r = Xn.get(this.options.inId);
2976
+ const r = Kn.get(this.options.inId);
2977
2977
  if (r) {
2978
- Xn.delete(this.options.inId);
2978
+ Kn.delete(this.options.inId);
2979
2979
  const { from: o, to: a } = this.N(r, i, t);
2980
2980
  e = this.calculateKeyframes(o, a), e = this.options.in ? [{ ...this.options.in[0], ...e[0] }, ...this.options.in.slice(1), e[1]] : e, pr++, e.forEach(((l) => l.zIndex = pr));
2981
2981
  } else this.options.in && (e = [...this.options.in, {}]);
@@ -2993,7 +2993,7 @@ class pu extends Mo {
2993
2993
  }
2994
2994
  async disconnected() {
2995
2995
  var t;
2996
- if (!this.h || (this.options.id !== void 0 && Xn.set(this.options.id, this.A), this.options.out === void 0)) return;
2996
+ if (!this.h || (this.options.id !== void 0 && Kn.set(this.options.id, this.A), this.options.out === void 0)) return;
2997
2997
  if (this.prepare(), await gr(), (t = this.i) == null ? void 0 : t.isConnected) {
2998
2998
  const s = this.o && this.o.parentNode === this.i ? this.o : null;
2999
2999
  if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
@@ -3049,8 +3049,8 @@ class pu extends Mo {
3049
3049
  const a = {};
3050
3050
  for (const l in t) {
3051
3051
  const c = e[l], u = t[l];
3052
- if (l in Kn) {
3053
- const p = Kn[l];
3052
+ if (l in Xn) {
3053
+ const p = Xn[l];
3054
3054
  if (c === void 0 || u === void 0) continue;
3055
3055
  const d = p(c, u);
3056
3056
  d.transform !== void 0 && (a[l] = d.value, o = !0, i.transform = `${i.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(i, d.overrideFrom));
@@ -3199,7 +3199,7 @@ const ei = class ei extends M {
3199
3199
  return w`<div
3200
3200
  class=${rt({
3201
3201
  "trigger-container": !0,
3202
- hidden: !this.triggerVisible
3202
+ "ace-hidden": !this.triggerVisible
3203
3203
  })}
3204
3204
  ${ae(this.containerRef)}
3205
3205
  >
@@ -3283,7 +3283,7 @@ ei.styles = [
3283
3283
  gap: 1rem;
3284
3284
  }
3285
3285
 
3286
- .trigger-container.hidden {
3286
+ .trigger-container.ace-hidden {
3287
3287
  display: none;
3288
3288
  }
3289
3289
 
@@ -3843,19 +3843,19 @@ ni.styles = Z`
3843
3843
  }
3844
3844
  }
3845
3845
 
3846
- :host(.expanded) {
3846
+ :host(.ace-expanded) {
3847
3847
  opacity: 1;
3848
3848
  animation: slideUp 0.3s linear;
3849
3849
  }
3850
3850
 
3851
- :host(.hidden) {
3851
+ :host(.ace-hidden) {
3852
3852
  opacity: 0;
3853
3853
  animation: slideDown 0.3s linear;
3854
3854
  pointer-events: none;
3855
3855
  }
3856
3856
 
3857
- :host(.hidden.embedded),
3858
- :host(.expanded.embedded) {
3857
+ :host(.ace-hidden.embedded),
3858
+ :host(.ace-expanded.embedded) {
3859
3859
  animation: none;
3860
3860
  }
3861
3861
  `;
@@ -4184,7 +4184,7 @@ const ii = class ii extends M {
4184
4184
  }
4185
4185
  _renderDeliveryStatus(e) {
4186
4186
  return e === "delivered" ? w`<telia-icon
4187
- svg=${Xl.svg}
4187
+ svg=${Kl.svg}
4188
4188
  size="sm"
4189
4189
  ></telia-icon>` : e === "failed" ? w`<telia-icon
4190
4190
  svg=${Yl.svg}
@@ -4616,12 +4616,12 @@ class bs extends zs {
4616
4616
  }
4617
4617
  }
4618
4618
  bs.directiveName = "unsafeHTML", bs.resultType = 1;
4619
- const Lu = En(bs);
4619
+ const Ru = En(bs);
4620
4620
  /*! @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 */
4621
4621
  const {
4622
4622
  entries: qo,
4623
4623
  setPrototypeOf: kr,
4624
- isFrozen: Ru,
4624
+ isFrozen: Lu,
4625
4625
  getPrototypeOf: Ou,
4626
4626
  getOwnPropertyDescriptor: Pu
4627
4627
  } = Object;
@@ -4669,7 +4669,7 @@ function x(n, e) {
4669
4669
  let i = e[s];
4670
4670
  if (typeof i == "string") {
4671
4671
  const r = t(i);
4672
- r !== i && (Ru(e) || (e[s] = r), i = r);
4672
+ r !== i && (Lu(e) || (e[s] = r), i = r);
4673
4673
  }
4674
4674
  n[i] = !0;
4675
4675
  }
@@ -4702,18 +4702,18 @@ function mt(n, e) {
4702
4702
  }
4703
4703
  return t;
4704
4704
  }
4705
- const Er = W(["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 = W(["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 = W(["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"]), Bu = W(["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 = W(["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"]), Hu = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ar = W(["#text"]), Cr = W(["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 = W(["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"]), Tr = W(["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"]), Xt = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Fu = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ju = J(/<%[\w\W]*|[\w\W]*%>/gm), qu = J(/\$\{[\w\W]*/gm), Wu = J(/^data-[\-\w.\u00B7-\uFFFF]+$/), Gu = J(/^aria-[\-\w]+$/), Go = J(
4705
+ const Er = W(["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 = W(["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 = W(["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"]), Bu = W(["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 = W(["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"]), Hu = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ar = W(["#text"]), Cr = W(["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 = W(["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"]), Tr = W(["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"]), Kt = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Fu = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ju = J(/<%[\w\W]*|[\w\W]*%>/gm), qu = J(/\$\{[\w\W]*/gm), Wu = J(/^data-[\-\w.\u00B7-\uFFFF]+$/), Gu = J(/^aria-[\-\w]+$/), Go = J(
4706
4706
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
4707
4707
  // eslint-disable-line no-useless-escape
4708
4708
  ), Zu = J(/^(?:\w+script|data):/i), Yu = J(
4709
4709
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
4710
4710
  // eslint-disable-line no-control-regex
4711
- ), Zo = J(/^html$/i), Xu = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
4712
- var Lr = /* @__PURE__ */ Object.freeze({
4711
+ ), Zo = J(/^html$/i), Ku = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
4712
+ var Rr = /* @__PURE__ */ Object.freeze({
4713
4713
  __proto__: null,
4714
4714
  ARIA_ATTR: Gu,
4715
4715
  ATTR_WHITESPACE: Yu,
4716
- CUSTOM_ELEMENT: Xu,
4716
+ CUSTOM_ELEMENT: Ku,
4717
4717
  DATA_ATTR: Wu,
4718
4718
  DOCTYPE_NAME: Zo,
4719
4719
  ERB_EXPR: ju,
@@ -4729,7 +4729,7 @@ const vt = {
4729
4729
  progressingInstruction: 7,
4730
4730
  comment: 8,
4731
4731
  document: 9
4732
- }, Ku = function() {
4732
+ }, Xu = function() {
4733
4733
  return typeof window > "u" ? null : window;
4734
4734
  }, Vu = function(e, t) {
4735
4735
  if (typeof e != "object" || typeof e.createPolicy != "function")
@@ -4750,7 +4750,7 @@ const vt = {
4750
4750
  } catch {
4751
4751
  return console.warn("TrustedTypes policy " + r + " could not be created."), null;
4752
4752
  }
4753
- }, Rr = function() {
4753
+ }, Lr = function() {
4754
4754
  return {
4755
4755
  afterSanitizeAttributes: [],
4756
4756
  afterSanitizeElements: [],
@@ -4764,7 +4764,7 @@ const vt = {
4764
4764
  };
4765
4765
  };
4766
4766
  function Yo() {
4767
- let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ku();
4767
+ let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Xu();
4768
4768
  const e = (b) => Yo(b);
4769
4769
  if (e.version = "3.2.6", e.removed = [], !n || !n.document || n.document.nodeType !== vt.document || !n.Element)
4770
4770
  return e.isSupported = !1, e;
@@ -4786,7 +4786,7 @@ function Yo() {
4786
4786
  const b = t.createElement("template");
4787
4787
  b.content && b.content.ownerDocument && (t = b.content.ownerDocument);
4788
4788
  }
4789
- let R, Ae = "";
4789
+ let L, Ae = "";
4790
4790
  const {
4791
4791
  implementation: Ce,
4792
4792
  createNodeIterator: Te,
@@ -4795,24 +4795,24 @@ function Yo() {
4795
4795
  } = t, {
4796
4796
  importNode: da
4797
4797
  } = s;
4798
- let B = Rr();
4798
+ let B = Lr();
4799
4799
  e.isSupported = typeof qo == "function" && typeof Ee == "function" && Ce && Ce.createHTMLDocument !== void 0;
4800
4800
  const {
4801
4801
  MUSTACHE_EXPR: Tn,
4802
- ERB_EXPR: Ln,
4803
- TMPLIT_EXPR: Rn,
4802
+ ERB_EXPR: Rn,
4803
+ TMPLIT_EXPR: Ln,
4804
4804
  DATA_ATTR: pa,
4805
4805
  ARIA_ATTR: fa,
4806
4806
  IS_SCRIPT_OR_DATA: ga,
4807
4807
  ATTR_WHITESPACE: di,
4808
4808
  CUSTOM_ELEMENT: ma
4809
- } = Lr;
4809
+ } = Rr;
4810
4810
  let {
4811
4811
  IS_ALLOWED_URI: pi
4812
- } = Lr, O = null;
4812
+ } = Rr, O = null;
4813
4813
  const fi = x({}, [...Er, ...Qn, ...Jn, ...es, ...Ar]);
4814
4814
  let D = null;
4815
- const gi = x({}, [...Cr, ...ts, ...Tr, ...Xt]);
4815
+ const gi = x({}, [...Cr, ...ts, ...Tr, ...Kt]);
4816
4816
  let T = Object.seal(Wo(null, {
4817
4817
  tagNameCheck: {
4818
4818
  writable: !0,
@@ -4832,7 +4832,7 @@ function Yo() {
4832
4832
  enumerable: !0,
4833
4833
  value: !1
4834
4834
  }
4835
- })), lt = null, On = null, mi = !0, Pn = !0, vi = !1, bi = !0, He = !1, zt = !0, Le = !1, In = !1, Mn = !1, Fe = !1, Bt = !1, Ht = !1, yi = !0, $i = !1;
4835
+ })), lt = null, On = null, mi = !0, Pn = !0, vi = !1, bi = !0, He = !1, zt = !0, Re = !1, In = !1, Mn = !1, Fe = !1, Bt = !1, Ht = !1, yi = !0, $i = !1;
4836
4836
  const va = "user-content-";
4837
4837
  let Nn = !0, ct = !1, je = {}, qe = null;
4838
4838
  const xi = x({}, ["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"]);
@@ -4853,14 +4853,14 @@ function Yo() {
4853
4853
  let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4854
4854
  if (!(Ge && Ge === h)) {
4855
4855
  if ((!h || typeof h != "object") && (h = {}), h = ge(h), ut = // eslint-disable-next-line unicorn/prefer-includes
4856
- $a.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? xa : h.PARSER_MEDIA_TYPE, P = ut === "application/xhtml+xml" ? Vn : Jt, O = te(h, "ALLOWED_TAGS") ? x({}, h.ALLOWED_TAGS, P) : fi, D = te(h, "ALLOWED_ATTR") ? x({}, h.ALLOWED_ATTR, P) : gi, zn = te(h, "ALLOWED_NAMESPACES") ? x({}, h.ALLOWED_NAMESPACES, Vn) : ba, Dn = te(h, "ADD_URI_SAFE_ATTR") ? x(ge(Si), h.ADD_URI_SAFE_ATTR, P) : Si, wi = te(h, "ADD_DATA_URI_TAGS") ? x(ge(ki), h.ADD_DATA_URI_TAGS, P) : ki, qe = te(h, "FORBID_CONTENTS") ? x({}, h.FORBID_CONTENTS, P) : xi, lt = te(h, "FORBID_TAGS") ? x({}, h.FORBID_TAGS, P) : ge({}), On = te(h, "FORBID_ATTR") ? x({}, h.FORBID_ATTR, P) : ge({}), je = te(h, "USE_PROFILES") ? h.USE_PROFILES : !1, mi = h.ALLOW_ARIA_ATTR !== !1, Pn = h.ALLOW_DATA_ATTR !== !1, vi = h.ALLOW_UNKNOWN_PROTOCOLS || !1, bi = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, He = h.SAFE_FOR_TEMPLATES || !1, zt = h.SAFE_FOR_XML !== !1, Le = h.WHOLE_DOCUMENT || !1, Fe = h.RETURN_DOM || !1, Bt = h.RETURN_DOM_FRAGMENT || !1, Ht = h.RETURN_TRUSTED_TYPE || !1, Mn = h.FORCE_BODY || !1, yi = h.SANITIZE_DOM !== !1, $i = h.SANITIZE_NAMED_PROPS || !1, Nn = h.KEEP_CONTENT !== !1, ct = h.IN_PLACE || !1, pi = h.ALLOWED_URI_REGEXP || Go, We = h.NAMESPACE || he, qt = h.MATHML_TEXT_INTEGRATION_POINTS || qt, Wt = h.HTML_INTEGRATION_POINTS || Wt, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && _i(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && _i(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 && (Pn = !1), Bt && (Fe = !0), je && (O = x({}, Ar), D = [], je.html === !0 && (x(O, Er), x(D, Cr)), je.svg === !0 && (x(O, Qn), x(D, ts), x(D, Xt)), je.svgFilters === !0 && (x(O, Jn), x(D, ts), x(D, Xt)), je.mathMl === !0 && (x(O, es), x(D, Tr), x(D, Xt))), h.ADD_TAGS && (O === fi && (O = ge(O)), x(O, h.ADD_TAGS, P)), h.ADD_ATTR && (D === gi && (D = ge(D)), x(D, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && x(Dn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (qe === xi && (qe = ge(qe)), x(qe, h.FORBID_CONTENTS, P)), Nn && (O["#text"] = !0), Le && x(O, ["html", "head", "body"]), O.table && (x(O, ["tbody"]), delete lt.tbody), h.TRUSTED_TYPES_POLICY) {
4856
+ $a.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? xa : h.PARSER_MEDIA_TYPE, P = ut === "application/xhtml+xml" ? Vn : Jt, O = te(h, "ALLOWED_TAGS") ? x({}, h.ALLOWED_TAGS, P) : fi, D = te(h, "ALLOWED_ATTR") ? x({}, h.ALLOWED_ATTR, P) : gi, zn = te(h, "ALLOWED_NAMESPACES") ? x({}, h.ALLOWED_NAMESPACES, Vn) : ba, Dn = te(h, "ADD_URI_SAFE_ATTR") ? x(ge(Si), h.ADD_URI_SAFE_ATTR, P) : Si, wi = te(h, "ADD_DATA_URI_TAGS") ? x(ge(ki), h.ADD_DATA_URI_TAGS, P) : ki, qe = te(h, "FORBID_CONTENTS") ? x({}, h.FORBID_CONTENTS, P) : xi, lt = te(h, "FORBID_TAGS") ? x({}, h.FORBID_TAGS, P) : ge({}), On = te(h, "FORBID_ATTR") ? x({}, h.FORBID_ATTR, P) : ge({}), je = te(h, "USE_PROFILES") ? h.USE_PROFILES : !1, mi = h.ALLOW_ARIA_ATTR !== !1, Pn = h.ALLOW_DATA_ATTR !== !1, vi = h.ALLOW_UNKNOWN_PROTOCOLS || !1, bi = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, He = h.SAFE_FOR_TEMPLATES || !1, zt = h.SAFE_FOR_XML !== !1, Re = h.WHOLE_DOCUMENT || !1, Fe = h.RETURN_DOM || !1, Bt = h.RETURN_DOM_FRAGMENT || !1, Ht = h.RETURN_TRUSTED_TYPE || !1, Mn = h.FORCE_BODY || !1, yi = h.SANITIZE_DOM !== !1, $i = h.SANITIZE_NAMED_PROPS || !1, Nn = h.KEEP_CONTENT !== !1, ct = h.IN_PLACE || !1, pi = h.ALLOWED_URI_REGEXP || Go, We = h.NAMESPACE || he, qt = h.MATHML_TEXT_INTEGRATION_POINTS || qt, Wt = h.HTML_INTEGRATION_POINTS || Wt, T = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && _i(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (T.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && _i(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 && (Pn = !1), Bt && (Fe = !0), je && (O = x({}, Ar), D = [], je.html === !0 && (x(O, Er), x(D, Cr)), je.svg === !0 && (x(O, Qn), x(D, ts), x(D, Kt)), je.svgFilters === !0 && (x(O, Jn), x(D, ts), x(D, Kt)), je.mathMl === !0 && (x(O, es), x(D, Tr), x(D, Kt))), h.ADD_TAGS && (O === fi && (O = ge(O)), x(O, h.ADD_TAGS, P)), h.ADD_ATTR && (D === gi && (D = ge(D)), x(D, h.ADD_ATTR, P)), h.ADD_URI_SAFE_ATTR && x(Dn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (qe === xi && (qe = ge(qe)), x(qe, h.FORBID_CONTENTS, P)), Nn && (O["#text"] = !0), Re && x(O, ["html", "head", "body"]), O.table && (x(O, ["tbody"]), delete lt.tbody), h.TRUSTED_TYPES_POLICY) {
4857
4857
  if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
4858
4858
  throw gt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4859
4859
  if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
4860
4860
  throw gt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
4861
- R = h.TRUSTED_TYPES_POLICY, Ae = R.createHTML("");
4861
+ L = h.TRUSTED_TYPES_POLICY, Ae = L.createHTML("");
4862
4862
  } else
4863
- R === void 0 && (R = Vu(g, i)), R !== null && typeof Ae == "string" && (Ae = R.createHTML(""));
4863
+ L === void 0 && (L = Vu(g, i)), L !== null && typeof Ae == "string" && (Ae = L.createHTML(""));
4864
4864
  W && W(h), Ge = h;
4865
4865
  }
4866
4866
  }, Ei = x({}, [...Qn, ...Jn, ...Bu]), Ai = x({}, [...es, ...Hu]), ka = function(h) {
@@ -4908,11 +4908,11 @@ function Yo() {
4908
4908
  if (Mn)
4909
4909
  h = "<remove></remove>" + h;
4910
4910
  else {
4911
- const L = _r(h, /^[\r\n\t ]+/);
4912
- v = L && L[0];
4911
+ const R = _r(h, /^[\r\n\t ]+/);
4912
+ v = R && R[0];
4913
4913
  }
4914
4914
  ut === "application/xhtml+xml" && We === he && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
4915
- const A = R ? R.createHTML(h) : h;
4915
+ const A = L ? L.createHTML(h) : h;
4916
4916
  if (We === he)
4917
4917
  try {
4918
4918
  f = new d().parseFromString(A, ut);
@@ -4926,7 +4926,7 @@ function Yo() {
4926
4926
  }
4927
4927
  }
4928
4928
  const U = f.body || f.documentElement;
4929
- return h && v && U.insertBefore(t.createTextNode(v), U.childNodes[0] || null), We === he ? ha.call(f, Le ? "html" : "body")[0] : Le ? f.documentElement : U;
4929
+ return h && v && U.insertBefore(t.createTextNode(v), U.childNodes[0] || null), We === he ? ha.call(f, Re ? "html" : "body")[0] : Re ? f.documentElement : U;
4930
4930
  }, Ti = function(h) {
4931
4931
  return Te.call(
4932
4932
  h.ownerDocument || h,
@@ -4937,7 +4937,7 @@ function Yo() {
4937
4937
  );
4938
4938
  }, Hn = function(h) {
4939
4939
  return h instanceof p && (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");
4940
- }, Li = function(h) {
4940
+ }, Ri = function(h) {
4941
4941
  return typeof a == "function" && h instanceof a;
4942
4942
  };
4943
4943
  function de(b, h, f) {
@@ -4945,7 +4945,7 @@ function Yo() {
4945
4945
  v.call(e, h, f, Ge);
4946
4946
  });
4947
4947
  }
4948
- const Ri = function(h) {
4948
+ const Li = function(h) {
4949
4949
  let f = null;
4950
4950
  if (de(B.beforeSanitizeElements, h, null), Hn(h))
4951
4951
  return ie(h), !0;
@@ -4953,7 +4953,7 @@ function Yo() {
4953
4953
  if (de(B.uponSanitizeElement, h, {
4954
4954
  tagName: v,
4955
4955
  allowedTags: O
4956
- }), zt && h.hasChildNodes() && !Li(h.firstElementChild) && H(/<[/\w!]/g, h.innerHTML) && H(/<[/\w!]/g, h.textContent) || h.nodeType === vt.progressingInstruction || zt && h.nodeType === vt.comment && H(/<[/\w]/g, h.data))
4956
+ }), zt && h.hasChildNodes() && !Ri(h.firstElementChild) && H(/<[/\w!]/g, h.innerHTML) && H(/<[/\w!]/g, h.textContent) || h.nodeType === vt.progressingInstruction || zt && h.nodeType === vt.comment && H(/<[/\w]/g, h.data))
4957
4957
  return ie(h), !0;
4958
4958
  if (!O[v] || lt[v]) {
4959
4959
  if (!lt[v] && Pi(v) && (T.tagNameCheck instanceof RegExp && H(T.tagNameCheck, v) || T.tagNameCheck instanceof Function && T.tagNameCheck(v)))
@@ -4961,8 +4961,8 @@ function Yo() {
4961
4961
  if (Nn && !qe[v]) {
4962
4962
  const A = Ee(h) || h.parentNode, U = xe(h) || h.childNodes;
4963
4963
  if (U && A) {
4964
- const L = U.length;
4965
- for (let Y = L - 1; Y >= 0; --Y) {
4964
+ const R = U.length;
4965
+ for (let Y = R - 1; Y >= 0; --Y) {
4966
4966
  const pe = y(U[Y], !0);
4967
4967
  pe.__removalCount = (h.__removalCount || 0) + 1, A.insertBefore(pe, ee(h));
4968
4968
  }
@@ -4970,7 +4970,7 @@ function Yo() {
4970
4970
  }
4971
4971
  return ie(h), !0;
4972
4972
  }
4973
- return h instanceof l && !ka(h) || (v === "noscript" || v === "noembed" || v === "noframes") && H(/<\/no(script|embed|frames)/i, h.innerHTML) ? (ie(h), !0) : (He && h.nodeType === vt.text && (f = h.textContent, Yt([Tn, Ln, Rn], (A) => {
4973
+ return h instanceof l && !ka(h) || (v === "noscript" || v === "noembed" || v === "noframes") && H(/<\/no(script|embed|frames)/i, h.innerHTML) ? (ie(h), !0) : (He && h.nodeType === vt.text && (f = h.textContent, Yt([Tn, Rn, Ln], (A) => {
4974
4974
  f = ft(f, A, " ");
4975
4975
  }), h.textContent !== f && (pt(e.removed, {
4976
4976
  element: h.cloneNode()
@@ -5021,49 +5021,49 @@ function Yo() {
5021
5021
  let A = f.length;
5022
5022
  for (; A--; ) {
5023
5023
  const U = f[A], {
5024
- name: L,
5024
+ name: R,
5025
5025
  namespaceURI: Y,
5026
5026
  value: pe
5027
- } = U, ht = P(L), Fn = pe;
5028
- let z = L === "value" ? Fn : Du(Fn);
5029
- if (v.attrName = ht, v.attrValue = z, v.keepAttr = !0, v.forceKeepAttr = void 0, de(B.uponSanitizeAttribute, h, v), z = v.attrValue, $i && (ht === "id" || ht === "name") && (Ze(L, h), z = va + z), zt && H(/((--!?|])>)|<\/(style|title)/i, z)) {
5030
- Ze(L, h);
5027
+ } = U, ht = P(R), Fn = pe;
5028
+ let z = R === "value" ? Fn : Du(Fn);
5029
+ if (v.attrName = ht, v.attrValue = z, v.keepAttr = !0, v.forceKeepAttr = void 0, de(B.uponSanitizeAttribute, h, v), z = v.attrValue, $i && (ht === "id" || ht === "name") && (Ze(R, h), z = va + z), zt && H(/((--!?|])>)|<\/(style|title)/i, z)) {
5030
+ Ze(R, h);
5031
5031
  continue;
5032
5032
  }
5033
5033
  if (v.forceKeepAttr)
5034
5034
  continue;
5035
5035
  if (!v.keepAttr) {
5036
- Ze(L, h);
5036
+ Ze(R, h);
5037
5037
  continue;
5038
5038
  }
5039
5039
  if (!bi && H(/\/>/i, z)) {
5040
- Ze(L, h);
5040
+ Ze(R, h);
5041
5041
  continue;
5042
5042
  }
5043
- He && Yt([Tn, Ln, Rn], (Ni) => {
5043
+ He && Yt([Tn, Rn, Ln], (Ni) => {
5044
5044
  z = ft(z, Ni, " ");
5045
5045
  });
5046
5046
  const Mi = P(h.nodeName);
5047
5047
  if (!Oi(Mi, ht, z)) {
5048
- Ze(L, h);
5048
+ Ze(R, h);
5049
5049
  continue;
5050
5050
  }
5051
- if (R && typeof g == "object" && typeof g.getAttributeType == "function" && !Y)
5051
+ if (L && typeof g == "object" && typeof g.getAttributeType == "function" && !Y)
5052
5052
  switch (g.getAttributeType(Mi, ht)) {
5053
5053
  case "TrustedHTML": {
5054
- z = R.createHTML(z);
5054
+ z = L.createHTML(z);
5055
5055
  break;
5056
5056
  }
5057
5057
  case "TrustedScriptURL": {
5058
- z = R.createScriptURL(z);
5058
+ z = L.createScriptURL(z);
5059
5059
  break;
5060
5060
  }
5061
5061
  }
5062
5062
  if (z !== Fn)
5063
5063
  try {
5064
- Y ? h.setAttributeNS(Y, L, z) : h.setAttribute(L, z), Hn(h) ? ie(h) : Sr(e.removed);
5064
+ Y ? h.setAttributeNS(Y, R, z) : h.setAttribute(R, z), Hn(h) ? ie(h) : Sr(e.removed);
5065
5065
  } catch {
5066
- Ze(L, h);
5066
+ Ze(R, h);
5067
5067
  }
5068
5068
  }
5069
5069
  de(B.afterSanitizeAttributes, h, null);
@@ -5071,12 +5071,12 @@ function Yo() {
5071
5071
  let f = null;
5072
5072
  const v = Ti(h);
5073
5073
  for (de(B.beforeSanitizeShadowDOM, h, null); f = v.nextNode(); )
5074
- de(B.uponSanitizeShadowNode, f, null), Ri(f), Ii(f), f.content instanceof r && b(f.content);
5074
+ de(B.uponSanitizeShadowNode, f, null), Li(f), Ii(f), f.content instanceof r && b(f.content);
5075
5075
  de(B.afterSanitizeShadowDOM, h, null);
5076
5076
  };
5077
5077
  return e.sanitize = function(b) {
5078
5078
  let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, f = null, v = null, A = null, U = null;
5079
- if (Un = !b, Un && (b = "<!-->"), typeof b != "string" && !Li(b))
5079
+ if (Un = !b, Un && (b = "<!-->"), typeof b != "string" && !Ri(b))
5080
5080
  if (typeof b.toString == "function") {
5081
5081
  if (b = b.toString(), typeof b != "string")
5082
5082
  throw gt("dirty is not a string, aborting");
@@ -5093,16 +5093,16 @@ function Yo() {
5093
5093
  } else if (b instanceof a)
5094
5094
  f = Ci("<!---->"), v = f.ownerDocument.importNode(b, !0), v.nodeType === vt.element && v.nodeName === "BODY" || v.nodeName === "HTML" ? f = v : f.appendChild(v);
5095
5095
  else {
5096
- if (!Fe && !He && !Le && // eslint-disable-next-line unicorn/prefer-includes
5096
+ if (!Fe && !He && !Re && // eslint-disable-next-line unicorn/prefer-includes
5097
5097
  b.indexOf("<") === -1)
5098
- return R && Ht ? R.createHTML(b) : b;
5098
+ return L && Ht ? L.createHTML(b) : b;
5099
5099
  if (f = Ci(b), !f)
5100
5100
  return Fe ? null : Ht ? Ae : "";
5101
5101
  }
5102
5102
  f && Mn && ie(f.firstChild);
5103
- const L = Ti(ct ? b : f);
5104
- for (; A = L.nextNode(); )
5105
- Ri(A), Ii(A), A.content instanceof r && Sa(A.content);
5103
+ const R = Ti(ct ? b : f);
5104
+ for (; A = R.nextNode(); )
5105
+ Li(A), Ii(A), A.content instanceof r && Sa(A.content);
5106
5106
  if (ct)
5107
5107
  return b;
5108
5108
  if (Fe) {
@@ -5113,11 +5113,11 @@ function Yo() {
5113
5113
  U = f;
5114
5114
  return (D.shadowroot || D.shadowrootmode) && (U = da.call(s, U, !0)), U;
5115
5115
  }
5116
- let Y = Le ? f.outerHTML : f.innerHTML;
5117
- return Le && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && H(Zo, f.ownerDocument.doctype.name) && (Y = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5118
- ` + Y), He && Yt([Tn, Ln, Rn], (pe) => {
5116
+ let Y = Re ? f.outerHTML : f.innerHTML;
5117
+ return Re && O["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && H(Zo, f.ownerDocument.doctype.name) && (Y = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
5118
+ ` + Y), He && Yt([Tn, Rn, Ln], (pe) => {
5119
5119
  Y = ft(Y, pe, " ");
5120
- }), R && Ht ? R.createHTML(Y) : Y;
5120
+ }), L && Ht ? L.createHTML(Y) : Y;
5121
5121
  }, e.setConfig = function() {
5122
5122
  let b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5123
5123
  Bn(b), In = !0;
@@ -5138,10 +5138,10 @@ function Yo() {
5138
5138
  }, e.removeHooks = function(b) {
5139
5139
  B[b] = [];
5140
5140
  }, e.removeAllHooks = function() {
5141
- B = Rr();
5141
+ B = Lr();
5142
5142
  }, e;
5143
5143
  }
5144
- var Xo = Yo(), Qu = Object.defineProperty, Ju = (n, e, t, s) => {
5144
+ var Ko = Yo(), Qu = Object.defineProperty, Ju = (n, e, t, s) => {
5145
5145
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
5146
5146
  (o = n[r]) && (i = o(e, t, i) || i);
5147
5147
  return i && Qu(e, t, i), i;
@@ -5149,7 +5149,7 @@ var Xo = Yo(), Qu = Object.defineProperty, Ju = (n, e, t, s) => {
5149
5149
  const li = class li extends M {
5150
5150
  render() {
5151
5151
  return w`<div class="message-type-html">
5152
- ${Lu(Xo.sanitize(this.message.content))}
5152
+ ${Ru(Ko.sanitize(this.message.content))}
5153
5153
  </div>`;
5154
5154
  }
5155
5155
  };
@@ -5209,7 +5209,7 @@ function js() {
5209
5209
  };
5210
5210
  }
5211
5211
  var Be = js();
5212
- function Ko(n) {
5212
+ function Xo(n) {
5213
5213
  Be = n;
5214
5214
  }
5215
5215
  var kt = { exec: () => null };
@@ -5317,12 +5317,12 @@ var j = {
5317
5317
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
5318
5318
  paragraph: S(Ws).replace("hr", Ut).replace("heading", ` *#{1,6} *[^
5319
5319
  ]`).replace("lheading", Qo).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
5320
- }, dh = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ph = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ea = /^( {2,}|\\)\n(?!\s*$)/, fh = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Cn = /[\p{P}\p{S}]/u, Xs = /[\s\p{P}\p{S}]/u, ta = /[^\s\p{P}\p{S}]/u, gh = S(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Xs).getRegex(), na = /(?!~)[\p{P}\p{S}]/u, mh = /(?!~)[\s\p{P}\p{S}]/u, vh = /(?:[^\s\p{P}\p{S}]|~)/u, bh = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, sa = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, yh = S(sa, "u").replace(/punct/g, Cn).getRegex(), $h = S(sa, "u").replace(/punct/g, na).getRegex(), ia = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", xh = S(ia, "gu").replace(/notPunctSpace/g, ta).replace(/punctSpace/g, Xs).replace(/punct/g, Cn).getRegex(), wh = S(ia, "gu").replace(/notPunctSpace/g, vh).replace(/punctSpace/g, mh).replace(/punct/g, na).getRegex(), kh = S(
5320
+ }, dh = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ph = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ea = /^( {2,}|\\)\n(?!\s*$)/, fh = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Cn = /[\p{P}\p{S}]/u, Ks = /[\s\p{P}\p{S}]/u, ta = /[^\s\p{P}\p{S}]/u, gh = S(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Ks).getRegex(), na = /(?!~)[\p{P}\p{S}]/u, mh = /(?!~)[\s\p{P}\p{S}]/u, vh = /(?:[^\s\p{P}\p{S}]|~)/u, bh = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, sa = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, yh = S(sa, "u").replace(/punct/g, Cn).getRegex(), $h = S(sa, "u").replace(/punct/g, na).getRegex(), ia = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", xh = S(ia, "gu").replace(/notPunctSpace/g, ta).replace(/punctSpace/g, Ks).replace(/punct/g, Cn).getRegex(), wh = S(ia, "gu").replace(/notPunctSpace/g, vh).replace(/punctSpace/g, mh).replace(/punct/g, na).getRegex(), kh = S(
5321
5321
  "^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
5322
5322
  "gu"
5323
- ).replace(/notPunctSpace/g, ta).replace(/punctSpace/g, Xs).replace(/punct/g, Cn).getRegex(), Sh = S(/\\(punct)/, "gu").replace(/punct/g, Cn).getRegex(), _h = S(/^<(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(), Eh = S(Zs).replace("(?:-->|$)", "-->").getRegex(), Ah = S(
5323
+ ).replace(/notPunctSpace/g, ta).replace(/punctSpace/g, Ks).replace(/punct/g, Cn).getRegex(), Sh = S(/\\(punct)/, "gu").replace(/punct/g, Cn).getRegex(), _h = S(/^<(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(), Eh = S(Zs).replace("(?:-->|$)", "-->").getRegex(), Ah = S(
5324
5324
  "^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
5325
- ).replace("comment", Eh).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ch = S(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", gn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ra = S(/^!?\[(label)\]\[(ref)\]/).replace("label", gn).replace("ref", Gs).getRegex(), oa = S(/^!?\[(ref)\](?:\[\])?/).replace("ref", Gs).getRegex(), Th = S("reflink|nolink(?!\\()", "g").replace("reflink", ra).replace("nolink", oa).getRegex(), Ks = {
5325
+ ).replace("comment", Eh).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gn = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Ch = S(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", gn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), ra = S(/^!?\[(label)\]\[(ref)\]/).replace("label", gn).replace("ref", Gs).getRegex(), oa = S(/^!?\[(ref)\](?:\[\])?/).replace("ref", Gs).getRegex(), Th = S("reflink|nolink(?!\\()", "g").replace("reflink", ra).replace("nolink", oa).getRegex(), Xs = {
5326
5326
  _backpedal: kt,
5327
5327
  // only used for GFM url
5328
5328
  anyPunctuation: Sh,
@@ -5343,31 +5343,31 @@ var j = {
5343
5343
  tag: Ah,
5344
5344
  text: fh,
5345
5345
  url: kt
5346
- }, Lh = {
5347
- ...Ks,
5346
+ }, Rh = {
5347
+ ...Xs,
5348
5348
  link: S(/^!?\[(label)\]\((.*?)\)/).replace("label", gn).getRegex(),
5349
5349
  reflink: S(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", gn).getRegex()
5350
5350
  }, xs = {
5351
- ...Ks,
5351
+ ...Xs,
5352
5352
  emStrongRDelimAst: wh,
5353
5353
  emStrongLDelim: $h,
5354
5354
  url: S(/^((?: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(),
5355
5355
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
5356
5356
  del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
5357
5357
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
5358
- }, Rh = {
5358
+ }, Lh = {
5359
5359
  ...xs,
5360
5360
  br: S(ea).replace("{2,}", "*").getRegex(),
5361
5361
  text: S(xs.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
5362
- }, Kt = {
5362
+ }, Xt = {
5363
5363
  normal: Ys,
5364
5364
  gfm: uh,
5365
5365
  pedantic: hh
5366
5366
  }, bt = {
5367
- normal: Ks,
5367
+ normal: Xs,
5368
5368
  gfm: xs,
5369
- breaks: Rh,
5370
- pedantic: Lh
5369
+ breaks: Lh,
5370
+ pedantic: Rh
5371
5371
  }, Oh = {
5372
5372
  "&": "&amp;",
5373
5373
  "<": "&lt;",
@@ -5605,18 +5605,18 @@ ${u}` : u;
5605
5605
  `, 1)[0], g = !p.trim(), m = 0;
5606
5606
  if (this.options.pedantic ? (m = 2, u = p.trimStart()) : g ? m = e[1].length + 1 : (m = e[2].search(this.rules.other.nonSpaceChar), m = m > 4 ? 1 : m, u = p.slice(m), m += e[1].length), g && this.rules.other.blankLine.test(d) && (c += d + `
5607
5607
  `, n = n.substring(d.length + 1), l = !0), !l) {
5608
- const ee = this.rules.other.nextBulletRegex(m), xe = this.rules.other.hrRegex(m), Ee = this.rules.other.fencesBeginRegex(m), R = this.rules.other.headingBeginRegex(m), Ae = this.rules.other.htmlBeginRegex(m);
5608
+ const ee = this.rules.other.nextBulletRegex(m), xe = this.rules.other.hrRegex(m), Ee = this.rules.other.fencesBeginRegex(m), L = this.rules.other.headingBeginRegex(m), Ae = this.rules.other.htmlBeginRegex(m);
5609
5609
  for (; n; ) {
5610
5610
  const Ce = n.split(`
5611
5611
  `, 1)[0];
5612
5612
  let Te;
5613
- if (d = Ce, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), Te = d) : Te = d.replace(this.rules.other.tabCharGlobal, " "), Ee.test(d) || R.test(d) || Ae.test(d) || ee.test(d) || xe.test(d))
5613
+ if (d = Ce, this.options.pedantic ? (d = d.replace(this.rules.other.listReplaceNesting, " "), Te = d) : Te = d.replace(this.rules.other.tabCharGlobal, " "), Ee.test(d) || L.test(d) || Ae.test(d) || ee.test(d) || xe.test(d))
5614
5614
  break;
5615
5615
  if (Te.search(this.rules.other.nonSpaceChar) >= m || !d.trim())
5616
5616
  u += `
5617
5617
  ` + Te.slice(m);
5618
5618
  else {
5619
- if (g || p.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Ee.test(p) || R.test(p) || xe.test(p))
5619
+ if (g || p.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || Ee.test(p) || L.test(p) || xe.test(p))
5620
5620
  break;
5621
5621
  u += `
5622
5622
  ` + d;
@@ -5954,17 +5954,17 @@ ${u}` : u;
5954
5954
  };
5955
5955
  const t = {
5956
5956
  other: j,
5957
- block: Kt.normal,
5957
+ block: Xt.normal,
5958
5958
  inline: bt.normal
5959
5959
  };
5960
- this.options.pedantic ? (t.block = Kt.pedantic, t.inline = bt.pedantic) : this.options.gfm && (t.block = Kt.gfm, this.options.breaks ? t.inline = bt.breaks : t.inline = bt.gfm), this.tokenizer.rules = t;
5960
+ this.options.pedantic ? (t.block = Xt.pedantic, t.inline = bt.pedantic) : this.options.gfm && (t.block = Xt.gfm, this.options.breaks ? t.inline = bt.breaks : t.inline = bt.gfm), this.tokenizer.rules = t;
5961
5961
  }
5962
5962
  /**
5963
5963
  * Expose Rules
5964
5964
  */
5965
5965
  static get rules() {
5966
5966
  return {
5967
- block: Kt,
5967
+ block: Xt,
5968
5968
  inline: bt
5969
5969
  };
5970
5970
  }
@@ -6184,7 +6184,7 @@ ${u}` : u;
6184
6184
  }
6185
6185
  return t;
6186
6186
  }
6187
- }, Lt = class {
6187
+ }, Rt = class {
6188
6188
  // set by the parser
6189
6189
  constructor(n) {
6190
6190
  _(this, "options");
@@ -6353,7 +6353,7 @@ ${n}</tr>
6353
6353
  _(this, "options");
6354
6354
  _(this, "renderer");
6355
6355
  _(this, "textRenderer");
6356
- this.options = e || Be, this.options.renderer = this.options.renderer || new Lt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vs();
6356
+ this.options = e || Be, this.options.renderer = this.options.renderer || new Rt(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vs();
6357
6357
  }
6358
6358
  /**
6359
6359
  * Static Parse Method
@@ -6557,7 +6557,7 @@ ${n}</tr>
6557
6557
  _(this, "parse", this.parseMarkdown(!0));
6558
6558
  _(this, "parseInline", this.parseMarkdown(!1));
6559
6559
  _(this, "Parser", ve);
6560
- _(this, "Renderer", Lt);
6560
+ _(this, "Renderer", Rt);
6561
6561
  _(this, "TextRenderer", Vs);
6562
6562
  _(this, "Lexer", me);
6563
6563
  _(this, "Tokenizer", mn);
@@ -6618,7 +6618,7 @@ ${n}</tr>
6618
6618
  }
6619
6619
  "childTokens" in i && i.childTokens && (e.childTokens[i.name] = i.childTokens);
6620
6620
  }), s.extensions = e), t.renderer) {
6621
- const i = this.defaults.renderer || new Lt(this.defaults);
6621
+ const i = this.defaults.renderer || new Rt(this.defaults);
6622
6622
  for (const r in t.renderer) {
6623
6623
  if (!(r in i))
6624
6624
  throw new Error(`renderer '${r}' does not exist`);
@@ -6727,12 +6727,12 @@ function k(n, e) {
6727
6727
  return ze.parse(n, e);
6728
6728
  }
6729
6729
  k.options = k.setOptions = function(n) {
6730
- return ze.setOptions(n), k.defaults = ze.defaults, Ko(k.defaults), k;
6730
+ return ze.setOptions(n), k.defaults = ze.defaults, Xo(k.defaults), k;
6731
6731
  };
6732
6732
  k.getDefaults = js;
6733
6733
  k.defaults = Be;
6734
6734
  k.use = function(...n) {
6735
- return ze.use(...n), k.defaults = ze.defaults, Ko(k.defaults), k;
6735
+ return ze.use(...n), k.defaults = ze.defaults, Xo(k.defaults), k;
6736
6736
  };
6737
6737
  k.walkTokens = function(n, e) {
6738
6738
  return ze.walkTokens(n, e);
@@ -6740,7 +6740,7 @@ k.walkTokens = function(n, e) {
6740
6740
  k.parseInline = ze.parseInline;
6741
6741
  k.Parser = ve;
6742
6742
  k.parser = ve.parse;
6743
- k.Renderer = Lt;
6743
+ k.Renderer = Rt;
6744
6744
  k.TextRenderer = Vs;
6745
6745
  k.Lexer = me;
6746
6746
  k.lexer = me.lex;
@@ -6759,7 +6759,7 @@ var Nh = Object.defineProperty, aa = (n, e, t, s) => {
6759
6759
  (o = n[r]) && (i = o(e, t, i) || i);
6760
6760
  return i && Nh(e, t, i), i;
6761
6761
  };
6762
- const la = new Lt();
6762
+ const la = new Rt();
6763
6763
  la.link = function({ href: n, title: e, text: t }) {
6764
6764
  return e ?? (e = t), `<a target="_blank" href="${n}" title="${e}">${t}</a>`;
6765
6765
  };
@@ -6813,7 +6813,7 @@ const ci = class ci extends M {
6813
6813
  if (this.buffer += e, this.includesImage(this.buffer))
6814
6814
  (o = this.contentRef.value) == null || o.appendChild(document.createElement("div")), this.buffer = "";
6815
6815
  else if (this.buffer.includes("![")) return;
6816
- const t = k.parse(this.buffer), s = cs(t), i = Xo.sanitize(s, {
6816
+ const t = k.parse(this.buffer), s = cs(t), i = Ko.sanitize(s, {
6817
6817
  ADD_ATTR: ["target"]
6818
6818
  }), r = (a = this.contentRef.value) == null ? void 0 : a.querySelector(
6819
6819
  "div:last-of-type"
@@ -6881,13 +6881,13 @@ ci.styles = [
6881
6881
  }
6882
6882
  `
6883
6883
  ];
6884
- let Rt = ci;
6884
+ let Lt = ci;
6885
6885
  aa([
6886
6886
  C({ attribute: !1 })
6887
- ], Rt.prototype, "message");
6887
+ ], Lt.prototype, "message");
6888
6888
  aa([
6889
6889
  N()
6890
- ], Rt.prototype, "showLightbox");
6890
+ ], Lt.prototype, "showLightbox");
6891
6891
  var Dh = Object.defineProperty, Uh = (n, e, t, s) => {
6892
6892
  for (var i = void 0, r = n.length - 1, o; r >= 0; r--)
6893
6893
  (o = n[r]) && (i = o(e, t, i) || i);
@@ -6991,11 +6991,11 @@ customElements.get("ace-conversation-feed") || customElements.define("ace-conver
6991
6991
  customElements.get("conversation-group") || customElements.define("conversation-group", pn);
6992
6992
  customElements.get("ace-typing-state") || customElements.define("ace-typing-state", vs);
6993
6993
  customElements.get("message-type-html") || customElements.define("message-type-html", fn);
6994
- customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Rt);
6994
+ customElements.get("message-type-markdown") || customElements.define("message-type-markdown", Lt);
6995
6995
  customElements.get("ace-lightbox") || customElements.define("ace-lightbox", vn);
6996
6996
  const Dr = Do(M), hi = class hi extends Dr {
6997
6997
  constructor() {
6998
- super(...arguments), this.platform = null, this.entries = [], this.typing = !1, this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.showAuthBanner = !1, this.authenticated = !1, this.isMuted = !1, this.conversationContentRef = oe(), this.conversationFeedRef = oe(), this.formRef = oe(), this.inputRef = oe(), this.scrollRef = oe(), this.counterRef = oe(), this.chatCurrentScrollPosition = 0, this.toast = new wu(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.conversationState$ = new F("waiting"), this.stateMachine = new Su(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6998
+ super(...arguments), this.platform = null, this.entries = [], this.typing = !1, this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.showAuthBanner = !1, this.authenticated = !1, this.isMuted = !1, this.isKeyboardNavigation = !1, this.conversationContentRef = oe(), this.conversationFeedRef = oe(), this.formRef = oe(), this.inputRef = oe(), this.scrollRef = oe(), this.counterRef = oe(), this.chatCurrentScrollPosition = 0, this.toast = new wu(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.conversationState$ = new F("waiting"), this.stateMachine = new Su(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
6999
6999
  Je((e) => e ? e == null ? void 0 : e.provider$ : os(null))
7000
7000
  ), this.userTyping$ = new I();
7001
7001
  }
@@ -7107,7 +7107,16 @@ const Dr = Do(M), hi = class hi extends Dr {
7107
7107
  ), e.target.style.height = e.target.scrollHeight + "px", this.textAreaLength = e.target.value.length, e.target.value.length > this.messageMaxLength ? (t = this.counterRef.value) == null || t.classList.add("max-char-count-reached") : (s = this.counterRef.value) == null || s.classList.remove("max-char-count-reached");
7108
7108
  }
7109
7109
  keyDownHandler(e) {
7110
- this.userTyping$.next(e.key), e.key === "Enter" && !e.shiftKey && !this.disabledSubmit && (this.onSendMessage(e), e.preventDefault());
7110
+ this.userTyping$.next(e.key), e.key === "Tab" && (this.isKeyboardNavigation = !0), e.key === "Enter" && !e.shiftKey && !this.disabledSubmit && (this.onSendMessage(e), e.preventDefault());
7111
+ }
7112
+ mouseDownHandler(e) {
7113
+ e.target === this.inputRef.value && (this.isKeyboardNavigation = !1);
7114
+ }
7115
+ focusHandler() {
7116
+ this.isKeyboardNavigation && this.inputRef.value && this.inputRef.value.classList.add("keyboard-focused");
7117
+ }
7118
+ blurHandler() {
7119
+ this.inputRef.value && this.inputRef.value.classList.remove("keyboard-focused");
7111
7120
  }
7112
7121
  getAuthBannerMessage() {
7113
7122
  const e = this.application.texts;
@@ -7204,7 +7213,7 @@ const Dr = Do(M), hi = class hi extends Dr {
7204
7213
  class="overlay-button"
7205
7214
  @click=${() => this.chatOverlayActive = !1}
7206
7215
  >
7207
- <telia-icon svg=${Kl.svg}></telia-icon>
7216
+ <telia-icon svg=${Xl.svg}></telia-icon>
7208
7217
  </button>
7209
7218
  </div>` : $}
7210
7219
  <div
@@ -7246,6 +7255,9 @@ const Dr = Do(M), hi = class hi extends Dr {
7246
7255
  .value=${this.message}
7247
7256
  @input=${this.inputHandler}
7248
7257
  @keydown=${this.keyDownHandler}
7258
+ @mousedown=${this.mouseDownHandler}
7259
+ @focus=${this.focusHandler}
7260
+ @blur=${this.blurHandler}
7249
7261
  ${ae(this.inputRef)}
7250
7262
  aria-valuenow=${this.textAreaLength}
7251
7263
  aria-valuemax=${this.messageMaxLength}
@@ -7519,14 +7531,26 @@ hi.styles = [
7519
7531
  font-size: inherit;
7520
7532
  flex: 1;
7521
7533
  height: var(--textarea-default-height);
7522
- outline: none;
7523
7534
  resize: none;
7524
7535
  background-color: transparent;
7525
7536
  max-height: 150px;
7526
7537
  overflow-y: auto;
7538
+ outline-offset: 2px;
7527
7539
  color: var(--input-text-color);
7528
7540
  }
7529
7541
 
7542
+ /* Remove all focus outlines by default */
7543
+ textarea:focus {
7544
+ outline: none;
7545
+ }
7546
+
7547
+ /* Only show focus outline when keyboard-focused class is present */
7548
+ textarea.keyboard-focused {
7549
+ outline: 2px solid var(--focus-color);
7550
+ border-radius: 2px;
7551
+ transition: outline-color 300ms ease;
7552
+ }
7553
+
7530
7554
  /* ===== SCROLLBAR STYLES ===== */
7531
7555
  [part='scroll-container'] {
7532
7556
  scrollbar-width: thin;