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

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,20 +1,20 @@
1
- import { ConversationMessageType as Et } from "./index.mjs";
1
+ import { ConversationMessageType as St } from "./index.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const nt = globalThis, It = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zt = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
7
+ const nt = globalThis, Bt = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, It = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
8
8
  let Le = class {
9
9
  constructor(t, e, i) {
10
- if (this._$cssResult$ = !0, i !== zt)
10
+ if (this._$cssResult$ = !0, i !== It)
11
11
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
12
12
  this.cssText = t, this.t = e;
13
13
  }
14
14
  get styleSheet() {
15
15
  let t = this.o;
16
16
  const e = this.t;
17
- if (It && t === void 0) {
17
+ if (Bt && t === void 0) {
18
18
  const i = e !== void 0 && e.length === 1;
19
19
  i && (t = Vt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Vt.set(e, t));
20
20
  }
@@ -24,7 +24,7 @@ let Le = class {
24
24
  return this.cssText;
25
25
  }
26
26
  };
27
- const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, zt), b = (s, ...t) => {
27
+ const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, It), b = (s, ...t) => {
28
28
  const e = s.length === 1 ? s[0] : t.reduce((i, n, o) => i + ((r) => {
29
29
  if (r._$cssResult$ === !0)
30
30
  return r.cssText;
@@ -32,16 +32,16 @@ const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, zt), b = (s,
32
32
  return r;
33
33
  throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
34
34
  })(n) + s[o + 1], s[0]);
35
- return new Le(e, s, zt);
35
+ return new Le(e, s, It);
36
36
  }, ds = (s, t) => {
37
- if (It)
37
+ if (Bt)
38
38
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
39
39
  else
40
40
  for (const e of t) {
41
41
  const i = document.createElement("style"), n = nt.litNonce;
42
42
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, s.appendChild(i);
43
43
  }
44
- }, te = It ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
44
+ }, te = Bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
45
45
  let e = "";
46
46
  for (const i of t.cssRules)
47
47
  e += i.cssText;
@@ -52,7 +52,7 @@ const cs = (s) => new Le(typeof s == "string" ? s : s + "", void 0, zt), b = (s,
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", kt = S.reactiveElementPolyfillSupport, F = (s, t) => s, ot = { toAttribute(s, t) {
55
+ const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", Et = S.reactiveElementPolyfillSupport, F = (s, t) => s, ot = { toAttribute(s, t) {
56
56
  switch (t) {
57
57
  case Boolean:
58
58
  s = s ? ms : null;
@@ -80,7 +80,7 @@ const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnProperty
80
80
  }
81
81
  }
82
82
  return e;
83
- } }, Ft = (s, t) => !hs(s, t), se = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: Ft };
83
+ } }, zt = (s, t) => !hs(s, t), se = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt };
84
84
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), S.litPropertyMetadata ?? (S.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
85
85
  let R = class extends HTMLElement {
86
86
  static addInitializer(t) {
@@ -215,7 +215,7 @@ let R = class extends HTMLElement {
215
215
  }
216
216
  requestUpdate(t, e, i, n = !1, o) {
217
217
  if (t !== void 0) {
218
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Ft)(n ? o : this[t], e))
218
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? zt)(n ? o : this[t], e))
219
219
  return;
220
220
  this.C(t, e, i);
221
221
  }
@@ -293,14 +293,14 @@ let R = class extends HTMLElement {
293
293
  firstUpdated(t) {
294
294
  }
295
295
  };
296
- R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[F("elementProperties")] = /* @__PURE__ */ new Map(), R[F("finalized")] = /* @__PURE__ */ new Map(), kt == null || kt({ ReactiveElement: R }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.0.1");
296
+ R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[F("elementProperties")] = /* @__PURE__ */ new Map(), R[F("finalized")] = /* @__PURE__ */ new Map(), Et == null || Et({ ReactiveElement: R }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.0.1");
297
297
  /**
298
298
  * @license
299
299
  * Copyright 2017 Google LLC
300
300
  * SPDX-License-Identifier: BSD-3-Clause
301
301
  */
302
- const W = globalThis, rt = W.trustedTypes, ie = rt ? rt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Pe = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, Me = "?" + A, vs = `<${Me}>`, L = document, G = () => L.createComment(""), q = (s) => s === null || typeof s != "object" && typeof s != "function", Re = Array.isArray, ys = (s) => Re(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Tt = `[
303
- \f\r]`, z = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, oe = />/g, k = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
302
+ const W = globalThis, rt = W.trustedTypes, ie = rt ? rt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Pe = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, Me = "?" + A, vs = `<${Me}>`, L = document, G = () => L.createComment(""), q = (s) => s === null || typeof s != "object" && typeof s != "function", Re = Array.isArray, ys = (s) => Re(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", kt = `[
303
+ \f\r]`, z = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, oe = />/g, k = RegExp(`>|${kt}(?:([^\\s"'>=/]+)(${kt}*=${kt}*(?:[^
304
304
  \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, ae = /"/g, He = /^(?:script|style|textarea|title)$/i, bs = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), f = bs(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), le = /* @__PURE__ */ new WeakMap(), O = L.createTreeWalker(L, 129);
305
305
  function Ue(s, t) {
306
306
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
@@ -336,7 +336,7 @@ class X {
336
336
  for (const h of n.getAttributeNames())
337
337
  if (h.endsWith(Pe)) {
338
338
  const p = d[r++], g = n.getAttribute(h).split(A), C = /([.?@])?(.*)/.exec(p);
339
- l.push({ type: 1, index: o, name: C[2], strings: g, ctor: C[1] === "." ? xs : C[1] === "?" ? ws : C[1] === "@" ? As : vt }), n.removeAttribute(h);
339
+ l.push({ type: 1, index: o, name: C[2], strings: g, ctor: C[1] === "." ? xs : C[1] === "?" ? ws : C[1] === "@" ? As : mt }), n.removeAttribute(h);
340
340
  } else
341
341
  h.startsWith(A) && (l.push({ type: 6, index: o }), n.removeAttribute(h));
342
342
  if (He.test(n.tagName)) {
@@ -466,7 +466,7 @@ class K {
466
466
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
467
467
  }
468
468
  }
469
- class vt {
469
+ class mt {
470
470
  get tagName() {
471
471
  return this.element.tagName;
472
472
  }
@@ -493,7 +493,7 @@ class vt {
493
493
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
494
494
  }
495
495
  }
496
- class xs extends vt {
496
+ class xs extends mt {
497
497
  constructor() {
498
498
  super(...arguments), this.type = 3;
499
499
  }
@@ -501,7 +501,7 @@ class xs extends vt {
501
501
  this.element[this.name] = t === u ? void 0 : t;
502
502
  }
503
503
  }
504
- let ws = class extends vt {
504
+ let ws = class extends mt {
505
505
  constructor() {
506
506
  super(...arguments), this.type = 4;
507
507
  }
@@ -509,7 +509,7 @@ let ws = class extends vt {
509
509
  this.element.toggleAttribute(this.name, !!t && t !== u);
510
510
  }
511
511
  };
512
- class As extends vt {
512
+ class As extends mt {
513
513
  constructor(t, e, i, n, o) {
514
514
  super(t, e, i, n, o), this.type = 5;
515
515
  }
@@ -535,8 +535,8 @@ class Ss {
535
535
  B(this, t);
536
536
  }
537
537
  }
538
- const Ot = W.litHtmlPolyfillSupport;
539
- Ot == null || Ot(X, K), (W.litHtmlVersions ?? (W.litHtmlVersions = [])).push("3.0.2");
538
+ const Tt = W.litHtmlPolyfillSupport;
539
+ Tt == null || Tt(X, K), (W.litHtmlVersions ?? (W.litHtmlVersions = [])).push("3.0.2");
540
540
  const Es = (s, t, e) => {
541
541
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
542
542
  let n = i._$litPart$;
@@ -578,8 +578,8 @@ let m = class extends R {
578
578
  };
579
579
  var Oe;
580
580
  m._$litElement$ = !0, m.finalized = !0, (Oe = globalThis.litElementHydrateSupport) == null || Oe.call(globalThis, { LitElement: m });
581
- const Lt = globalThis.litElementPolyfillSupport;
582
- Lt == null || Lt({ LitElement: m });
581
+ const Ot = globalThis.litElementPolyfillSupport;
582
+ Ot == null || Ot({ LitElement: m });
583
583
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
584
584
  const ks = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Ts = { name: "check-circle-filled", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Os = { name: "check-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, ce = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Ls = { 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>' }, Ps = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, de = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, H = {
585
585
  allRenderFn: !1,
@@ -665,8 +665,8 @@ const ks = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.
665
665
  transformTagName: !1,
666
666
  attachStyles: !0
667
667
  };
668
- let U, Ne, yt, je = !1, at = !1, Wt = !1, y = !1, he = null, Ht = !1;
669
- const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, De = bt.HTMLElement || class {
668
+ let U, Ne, vt, je = !1, at = !1, Ft = !1, y = !1, he = null, Rt = !1;
669
+ const yt = typeof window < "u" ? window : {}, x = yt.document || { head: {} }, De = yt.HTMLElement || class {
670
670
  }, v = {
671
671
  $flags$: 0,
672
672
  $resourcesUrl$: "",
@@ -703,7 +703,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
703
703
  } catch (i) {
704
704
  Q(i);
705
705
  }
706
- }, Ns = (s, t) => t & 4 ? x : t & 8 ? bt : t & 16 ? x.body : s, js = (s) => Ms ? {
706
+ }, Ns = (s, t) => t & 4 ? x : t & 8 ? yt : t & 16 ? x.body : s, js = (s) => Ms ? {
707
707
  passive: (s & 1) !== 0,
708
708
  capture: (s & 2) !== 0
709
709
  } : (s & 2) !== 0, pe = "http://www.w3.org/1999/xlink", P = (s, t = "") => () => {
@@ -723,11 +723,11 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
723
723
  }, Is = (s) => {
724
724
  const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n = P("attachStyles", t.$tagName$), o = Bs(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, s.$modeName$);
725
725
  i & 10 && (e["s-sc"] = o, e.classList.add(o + "-h"), i & 2 && e.classList.add(o + "-s")), n();
726
- }, Ie = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$), zs = (s) => $i.map((t) => t(s)).find((t) => !!t), fe = {}, Fs = "http://www.w3.org/2000/svg", Ws = "http://www.w3.org/1999/xhtml", Zs = (s) => s != null, Zt = (s) => (s = typeof s, s === "object" || s === "function"), j = (s, t, ...e) => {
726
+ }, Ie = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$), zs = (s) => $i.map((t) => t(s)).find((t) => !!t), fe = {}, Fs = "http://www.w3.org/2000/svg", Ws = "http://www.w3.org/1999/xhtml", Zs = (s) => s != null, Wt = (s) => (s = typeof s, s === "object" || s === "function"), j = (s, t, ...e) => {
727
727
  let i = null, n = null, o = null, r = !1, a = !1, l = [];
728
728
  const c = (h) => {
729
729
  for (let p = 0; p < h.length; p++)
730
- i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((r = typeof s != "function" && !Zt(i)) && (i = String(i)), r && a ? l[l.length - 1].$text$ += i : l.push(r ? lt(null, i) : i), a = r);
730
+ i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((r = typeof s != "function" && !Wt(i)) && (i = String(i)), r && a ? l[l.length - 1].$text$ += i : l.push(r ? lt(null, i) : i), a = r);
731
731
  };
732
732
  if (c(e), t) {
733
733
  t.key && (n = t.key), t.name && (o = t.name);
@@ -749,7 +749,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
749
749
  $children$: null
750
750
  };
751
751
  return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
752
- }, Gt = {}, Gs = (s) => s && s.$tag$ === Gt, qs = {
752
+ }, Zt = {}, Gs = (s) => s && s.$tag$ === Zt, qs = {
753
753
  forEach: (s, t) => s.map(ge).forEach(t),
754
754
  map: (s, t) => s.map(ge).map(t).map(Xs)
755
755
  }, ge = (s) => ({
@@ -781,9 +781,9 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
781
781
  if (t === "ref")
782
782
  i && i(s);
783
783
  else if (!s.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
- t[2] === "-" ? t = t.slice(3) : be(bt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && v.rel(s, t, e, !1), i && v.ael(s, t, i, !1);
784
+ t[2] === "-" ? t = t.slice(3) : be(yt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && v.rel(s, t, e, !1), i && v.ael(s, t, i, !1);
785
785
  else {
786
- const l = Zt(i);
786
+ const l = Wt(i);
787
787
  if ((r || l && i !== null) && !n)
788
788
  try {
789
789
  if (s.tagName.includes("-"))
@@ -806,7 +806,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
806
806
  $e(n, i, o[i], r[i], e, t.$flags$);
807
807
  }, ct = (s, t, e, i) => {
808
808
  let n = t.$children$[e], o = 0, r, a, l;
809
- if (je || (Wt = !0, n.$tag$ === "slot" && (U && i.classList.add(U + "-s"), n.$flags$ |= n.$children$ ? (
809
+ if (je || (Ft = !0, n.$tag$ === "slot" && (U && i.classList.add(U + "-s"), n.$flags$ |= n.$children$ ? (
810
810
  // slot element has fallback content
811
811
  2
812
812
  ) : (
@@ -822,19 +822,19 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
822
822
  a = ct(s, n, o, r), a && r.appendChild(a);
823
823
  n.$tag$ === "svg" ? y = !1 : r.tagName === "foreignObject" && (y = !0);
824
824
  }
825
- return r["s-hn"] = yt, n.$flags$ & 3 && (r["s-sr"] = !0, r["s-cr"] = Ne, r["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ && Y(s.$elm$, !1)), r;
825
+ return r["s-hn"] = vt, n.$flags$ & 3 && (r["s-sr"] = !0, r["s-cr"] = Ne, r["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ && Y(s.$elm$, !1)), r;
826
826
  }, Y = (s, t) => {
827
827
  v.$flags$ |= 1;
828
828
  const e = s.childNodes;
829
829
  for (let i = e.length - 1; i >= 0; i--) {
830
830
  const n = e[i];
831
- n["s-hn"] !== yt && n["s-ol"] && (Ze(n).insertBefore(n, qt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Wt = !0), t && Y(n, t);
831
+ n["s-hn"] !== vt && n["s-ol"] && (Ze(n).insertBefore(n, Gt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Ft = !0), t && Y(n, t);
832
832
  }
833
833
  v.$flags$ &= -2;
834
834
  }, Fe = (s, t, e, i, n, o) => {
835
835
  let r = s["s-cr"] && s["s-cr"].parentNode || s, a;
836
- for (r.shadowRoot && r.tagName === yt && (r = r.shadowRoot); n <= o; ++n)
837
- i[n] && (a = ct(null, e, n, s), a && (i[n].$elm$ = a, r.insertBefore(a, qt(t))));
836
+ for (r.shadowRoot && r.tagName === vt && (r = r.shadowRoot); n <= o; ++n)
837
+ i[n] && (a = ct(null, e, n, s), a && (i[n].$elm$ = a, r.insertBefore(a, Gt(t))));
838
838
  }, We = (s, t, e, i, n) => {
839
839
  for (; t <= e; ++t)
840
840
  (i = s[t]) && (n = i.$elm$, Xe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : Y(n, !0), n.remove());
@@ -863,10 +863,10 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
863
863
  r = a;
864
864
  break;
865
865
  }
866
- r >= 0 ? (et = t[r], et.$tag$ !== p.$tag$ ? C = ct(t && t[o], e, r, s) : (N(et, p), t[r] = void 0, C = et.$elm$), p = i[++o]) : (C = ct(t && t[o], e, o, s), p = i[++o]), C && Ze(c.$elm$).insertBefore(C, qt(c.$elm$));
866
+ r >= 0 ? (et = t[r], et.$tag$ !== p.$tag$ ? C = ct(t && t[o], e, r, s) : (N(et, p), t[r] = void 0, C = et.$elm$), p = i[++o]) : (C = ct(t && t[o], e, o, s), p = i[++o]), C && Ze(c.$elm$).insertBefore(C, Gt(c.$elm$));
867
867
  }
868
868
  n > l ? Fe(s, i[h + 1] == null ? null : i[h + 1].$elm$, e, i, o, h) : o > h && We(t, n, l);
869
- }, st = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1, qt = (s) => s && s["s-ol"] || s, Ze = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, N = (s, t) => {
869
+ }, st = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1, Gt = (s) => s && s["s-ol"] || s, Ze = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, N = (s, t) => {
870
870
  const e = t.$elm$ = s.$elm$, i = s.$children$, n = t.$children$, o = t.$tag$, r = t.$text$;
871
871
  let a;
872
872
  r === null ? (y = o === "svg" ? !0 : o === "foreignObject" ? !1 : y, o === "slot" || ze(s, t, y), i !== null && n !== null ? Ks(e, i, t, n) : n !== null ? (s.$text$ !== null && (e.textContent = ""), Fe(e, null, t, n, 0, n.length - 1)) : i !== null && We(i, 0, i.length - 1), y && o === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = r : s.$text$ !== r && (e.data = r);
@@ -907,9 +907,9 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
907
907
  s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Xe);
908
908
  }, Qs = (s, t) => {
909
909
  const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || lt(null, null), o = Gs(t) ? t : j(null, null, t);
910
- yt = e.tagName, i.$attrsToReflect$ && (o.$attrs$ = o.$attrs$ || {}, i.$attrsToReflect$.map(([r, a]) => o.$attrs$[a] = e[r])), o.$tag$ = null, o.$flags$ |= 4, s.$vnode$ = o, o.$elm$ = n.$elm$ = e.shadowRoot || e, U = e["s-sc"], Ne = e["s-cr"], je = (i.$flags$ & 1) !== 0, at = !1, N(n, o);
910
+ vt = e.tagName, i.$attrsToReflect$ && (o.$attrs$ = o.$attrs$ || {}, i.$attrsToReflect$.map(([r, a]) => o.$attrs$[a] = e[r])), o.$tag$ = null, o.$flags$ |= 4, s.$vnode$ = o, o.$elm$ = n.$elm$ = e.shadowRoot || e, U = e["s-sc"], Ne = e["s-cr"], je = (i.$flags$ & 1) !== 0, at = !1, N(n, o);
911
911
  {
912
- if (v.$flags$ |= 1, Wt) {
912
+ if (v.$flags$ |= 1, Ft) {
913
913
  qe(o.$elm$);
914
914
  let r, a, l, c, d, h, p = 0;
915
915
  for (; p < _.length; p++)
@@ -967,8 +967,8 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
967
967
  } catch (i) {
968
968
  Q(i);
969
969
  }
970
- }, ye = (s, t) => s && s.then ? s.then(t) : t(), ri = (s, t) => s != null && !Zt(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, ai = (s, t) => _t(s).$instanceValues$.get(t), li = (s, t, e, i) => {
971
- const n = _t(s), o = s, r = n.$instanceValues$.get(t), a = n.$flags$, l = o;
970
+ }, ye = (s, t) => s && s.then ? s.then(t) : t(), ri = (s, t) => s != null && !Wt(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, ai = (s, t) => bt(s).$instanceValues$.get(t), li = (s, t, e, i) => {
971
+ const n = bt(s), o = s, r = n.$instanceValues$.get(t), a = n.$flags$, l = o;
972
972
  e = ri(e, i.$members$[t][0]);
973
973
  const c = Number.isNaN(r) && Number.isNaN(e);
974
974
  if (e !== r && !c) {
@@ -1042,7 +1042,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
1042
1042
  }, hi = (s) => {
1043
1043
  }, pi = (s) => {
1044
1044
  if (!(v.$flags$ & 1)) {
1045
- const t = _t(s), e = t.$cmpMeta$, i = P("connectedCallback", e.$tagName$);
1045
+ const t = bt(s), e = t.$cmpMeta$, i = P("connectedCallback", e.$tagName$);
1046
1046
  t.$flags$ & 1 ? (Be(s, t, e.$listeners$), hi(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && ui(s), e.$members$ && Object.entries(e.$members$).map(([n, [o]]) => {
1047
1047
  if (o & 31 && s.hasOwnProperty(n)) {
1048
1048
  const r = s[n];
@@ -1055,7 +1055,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
1055
1055
  t["s-cn"] = !0, s.insertBefore(t, s.firstChild);
1056
1056
  }, fi = (s) => {
1057
1057
  if (!(v.$flags$ & 1)) {
1058
- const t = _t(s);
1058
+ const t = bt(s);
1059
1059
  t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
1060
1060
  }
1061
1061
  }, Ke = (s, t) => {
@@ -1082,7 +1082,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
1082
1082
  });
1083
1083
  }
1084
1084
  }), s.is = e.$tagName$, ci(s, e);
1085
- }, Qe = /* @__PURE__ */ new WeakMap(), _t = (s) => Qe.get(s), gi = (s, t) => {
1085
+ }, Qe = /* @__PURE__ */ new WeakMap(), bt = (s) => Qe.get(s), gi = (s, t) => {
1086
1086
  const e = {
1087
1087
  $flags$: 0,
1088
1088
  $hostElement$: s,
@@ -1091,7 +1091,7 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
1091
1091
  };
1092
1092
  return Be(s, e, t.$listeners$), Qe.set(s, e);
1093
1093
  }, be = (s, t) => t in s, Q = (s, t) => (0, console.error)(s, t), dt = /* @__PURE__ */ new Map(), $i = [], _e = [], Je = [], mi = (s, t) => (e) => {
1094
- s.push(e), Ht || (Ht = !0, t && v.$flags$ & 4 ? vi(Ut) : v.raf(Ut));
1094
+ s.push(e), Rt || (Rt = !0, t && v.$flags$ & 4 ? vi(Ht) : v.raf(Ht));
1095
1095
  }, Ce = (s) => {
1096
1096
  for (let t = 0; t < s.length; t++)
1097
1097
  try {
@@ -1100,8 +1100,8 @@ const bt = typeof window < "u" ? window : {}, x = bt.document || { head: {} }, D
1100
1100
  Q(e);
1101
1101
  }
1102
1102
  s.length = 0;
1103
- }, Ut = () => {
1104
- Ce(_e), Ce(Je), (Ht = _e.length > 0) && v.raf(Ut);
1103
+ }, Ht = () => {
1104
+ Ce(_e), Ce(Je), (Rt = _e.length > 0) && v.raf(Ht);
1105
1105
  }, vi = (s) => Rs().then(s), yi = /* @__PURE__ */ mi(Je, !0), bi = (s = {}) => {
1106
1106
  const { content: t = "", title: e, attributes: i = [] } = s;
1107
1107
  let n = "", o = [
@@ -1127,7 +1127,7 @@ const wi = "telia-vst{display:none}", Ai = /* @__PURE__ */ Ke(class extends De {
1127
1127
  this.vocaInternalUStats.emit(new xi(this.dataTrackingId));
1128
1128
  }
1129
1129
  render() {
1130
- return j(Gt, null);
1130
+ return j(Zt, null);
1131
1131
  }
1132
1132
  static get style() {
1133
1133
  return wi;
@@ -1147,15 +1147,15 @@ function Ve() {
1147
1147
  });
1148
1148
  }
1149
1149
  Ve();
1150
- function Nt() {
1150
+ function Ut() {
1151
1151
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
1152
1152
  }
1153
1153
  function Si() {
1154
- if (typeof Nt().vocadsIcons !== void 0)
1155
- return Nt().vocadsIcons;
1154
+ if (typeof Ut().vocadsIcons !== void 0)
1155
+ return Ut().vocadsIcons;
1156
1156
  }
1157
1157
  function Ei() {
1158
- return Nt().vocadsIconsRegistered;
1158
+ return Ut().vocadsIconsRegistered;
1159
1159
  }
1160
1160
  const ki = ".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))}", Ti = /* @__PURE__ */ Ke(class extends De {
1161
1161
  constructor() {
@@ -1186,7 +1186,7 @@ const ki = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
1186
1186
  attributes: t,
1187
1187
  title: this.allyTitle
1188
1188
  });
1189
- return j(Gt, { class: `telia-icon telia-icon--${this.size}` }, j("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), j("telia-vst", { dataTrackingId: this.dataTrackingId }));
1189
+ return j(Zt, { class: `telia-icon telia-icon--${this.size}` }, j("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), j("telia-vst", { dataTrackingId: this.dataTrackingId }));
1190
1190
  }
1191
1191
  static get style() {
1192
1192
  return ki;
@@ -1228,7 +1228,7 @@ const J = (s) => (t, e) => {
1228
1228
  * Copyright 2017 Google LLC
1229
1229
  * SPDX-License-Identifier: BSD-3-Clause
1230
1230
  */
1231
- const Li = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: Ft }, Pi = (s = Li, t, e) => {
1231
+ const Li = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt }, Pi = (s = Li, t, e) => {
1232
1232
  const { kind: i, metadata: n } = e;
1233
1233
  let o = globalThis.litPropertyMetadata.get(n);
1234
1234
  if (o === void 0 && globalThis.litPropertyMetadata.set(n, o = /* @__PURE__ */ new Map()), o.set(e.name, s), i === "accessor") {
@@ -1274,8 +1274,8 @@ const Mi = (s) => s.strings === void 0;
1274
1274
  * Copyright 2017 Google LLC
1275
1275
  * SPDX-License-Identifier: BSD-3-Clause
1276
1276
  */
1277
- const Ct = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
1278
- let Xt = class {
1277
+ const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1278
+ let qt = class {
1279
1279
  constructor(t) {
1280
1280
  }
1281
1281
  get _$AU() {
@@ -1337,9 +1337,9 @@ function Hi(s, t = !1, e = 0) {
1337
1337
  Z(this, s);
1338
1338
  }
1339
1339
  const Ui = (s) => {
1340
- s.type == Ct.CHILD && (s._$AP ?? (s._$AP = Hi), s._$AQ ?? (s._$AQ = Ri));
1340
+ s.type == _t.CHILD && (s._$AP ?? (s._$AP = Hi), s._$AQ ?? (s._$AQ = Ri));
1341
1341
  };
1342
- let es = class extends Xt {
1342
+ let es = class extends qt {
1343
1343
  constructor() {
1344
1344
  super(...arguments), this._$AN = void 0;
1345
1345
  }
@@ -1371,7 +1371,7 @@ let es = class extends Xt {
1371
1371
  const pt = () => new Ni();
1372
1372
  class Ni {
1373
1373
  }
1374
- const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1374
+ const Lt = /* @__PURE__ */ new WeakMap(), ut = Ct(class extends es {
1375
1375
  render(s) {
1376
1376
  return u;
1377
1377
  }
@@ -1383,14 +1383,14 @@ const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1383
1383
  ot(s) {
1384
1384
  if (typeof this.G == "function") {
1385
1385
  const t = this.ct ?? globalThis;
1386
- let e = Pt.get(t);
1387
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Pt.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ct, s);
1386
+ let e = Lt.get(t);
1387
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Lt.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ct, s);
1388
1388
  } else
1389
1389
  this.G.value = s;
1390
1390
  }
1391
1391
  get rt() {
1392
1392
  var s, t;
1393
- return typeof this.G == "function" ? (s = Pt.get(this.ct ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1393
+ return typeof this.G == "function" ? (s = Lt.get(this.ct ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1394
1394
  }
1395
1395
  disconnected() {
1396
1396
  this.rt === this.lt && this.ot(void 0);
@@ -1404,10 +1404,10 @@ const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1404
1404
  * Copyright 2018 Google LLC
1405
1405
  * SPDX-License-Identifier: BSD-3-Clause
1406
1406
  */
1407
- const ft = xt(class extends Xt {
1407
+ const Xt = Ct(class extends qt {
1408
1408
  constructor(s) {
1409
1409
  var t;
1410
- if (super(s), s.type !== Ct.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1410
+ if (super(s), s.type !== _t.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1411
1411
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1412
1412
  }
1413
1413
  render(s) {
@@ -1472,13 +1472,13 @@ Bi([
1472
1472
  ], Yt.prototype, "anchor", 2);
1473
1473
  const Ii = /* @__PURE__ */ new WeakMap();
1474
1474
  let xe = 0;
1475
- const Mt = /* @__PURE__ */ new Map(), we = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)), zi = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Fi = [{ opacity: 0 }], Se = [{ opacity: 0 }, { opacity: 1 }], Ee = (s, t) => {
1475
+ const Pt = /* @__PURE__ */ new Map(), we = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)), zi = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Fi = [{ opacity: 0 }], Se = [{ opacity: 0 }, { opacity: 1 }], Ee = (s, t) => {
1476
1476
  const e = s - t;
1477
1477
  return e === 0 ? void 0 : e;
1478
1478
  }, ke = (s, t) => {
1479
1479
  const e = s / t;
1480
1480
  return e === 1 ? void 0 : e;
1481
- }, Rt = { left: (s, t) => {
1481
+ }, Mt = { left: (s, t) => {
1482
1482
  const e = Ee(s, t);
1483
1483
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1484
1484
  }, top: (s, t) => {
@@ -1497,7 +1497,7 @@ const Mt = /* @__PURE__ */ new Map(), we = /* @__PURE__ */ new WeakSet(), Ae = (
1497
1497
  } }, Wi = { duration: 333, easing: "ease-in-out" }, Zi = ["left", "top", "width", "height", "opacity", "color", "background"], Te = /* @__PURE__ */ new WeakMap();
1498
1498
  class Gi extends es {
1499
1499
  constructor(t) {
1500
- if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === Ct.CHILD)
1500
+ if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === _t.CHILD)
1501
1501
  throw Error("The `animate` directive must be used in attribute position.");
1502
1502
  this.createFinished();
1503
1503
  }
@@ -1534,7 +1534,7 @@ class Gi extends es {
1534
1534
  p() {
1535
1535
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1536
1536
  return this.options.properties.forEach((n) => {
1537
- const o = e[n] ?? (Rt[n] ? void 0 : i[n]), r = Number(o);
1537
+ const o = e[n] ?? (Mt[n] ? void 0 : i[n]), r = Number(o);
1538
1538
  t[n] = isNaN(r) ? o + "" : r;
1539
1539
  }), t;
1540
1540
  }
@@ -1562,9 +1562,9 @@ class Gi extends es {
1562
1562
  const { from: o, to: r } = this.O(this.g, n, e);
1563
1563
  this.log("measured", [this.g, n, o, r]), t = this.calculateKeyframes(o, r);
1564
1564
  } else {
1565
- const o = Mt.get(this.options.inId);
1565
+ const o = Pt.get(this.options.inId);
1566
1566
  if (o) {
1567
- Mt.delete(this.options.inId);
1567
+ Pt.delete(this.options.inId);
1568
1568
  const { from: r, to: a } = this.O(o, n, e);
1569
1569
  t = this.calculateKeyframes(r, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, xe++, t.forEach((l) => l.zIndex = xe);
1570
1570
  } else
@@ -1583,7 +1583,7 @@ class Gi extends es {
1583
1583
  }
1584
1584
  async disconnected() {
1585
1585
  var e;
1586
- if (!this.o || (this.options.id !== void 0 && Mt.set(this.options.id, this.g), this.options.out === void 0))
1586
+ if (!this.o || (this.options.id !== void 0 && Pt.set(this.options.id, this.g), this.options.out === void 0))
1587
1587
  return;
1588
1588
  if (this.prepare(), await Ae(), (e = this.t) == null ? void 0 : e.isConnected) {
1589
1589
  const i = this.i && this.i.parentNode === this.t ? this.i : null;
@@ -1640,8 +1640,8 @@ class Gi extends es {
1640
1640
  const a = {};
1641
1641
  for (const l in e) {
1642
1642
  const c = t[l], d = e[l];
1643
- if (l in Rt) {
1644
- const h = Rt[l];
1643
+ if (l in Mt) {
1644
+ const h = Mt[l];
1645
1645
  if (c === void 0 || d === void 0)
1646
1646
  continue;
1647
1647
  const p = h(c, d);
@@ -1674,7 +1674,7 @@ class Gi extends es {
1674
1674
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1675
1675
  }
1676
1676
  }
1677
- const jt = xt(Gi), it = (s, t, e) => {
1677
+ const Nt = Ct(Gi), it = (s, t, e) => {
1678
1678
  s && e.style.setProperty(t, s);
1679
1679
  }, ss = (s, t) => {
1680
1680
  var e, i, n, o;
@@ -1692,7 +1692,7 @@ const jt = xt(Gi), it = (s, t, e) => {
1692
1692
  t
1693
1693
  );
1694
1694
  };
1695
- var qi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, wt = (s, t, e, i) => {
1695
+ var qi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, xt = (s, t, e, i) => {
1696
1696
  for (var n = i > 1 ? void 0 : i ? Xi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
1697
1697
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
1698
1698
  return i && n && qi(t, e, n), n;
@@ -1747,7 +1747,7 @@ class M extends m {
1747
1747
  <button
1748
1748
  class="trigger-label"
1749
1749
  @click=${this.toggleActive}
1750
- ${jt({
1750
+ ${Nt({
1751
1751
  keyframeOptions: {},
1752
1752
  in: zi,
1753
1753
  stabilizeOut: !0,
@@ -1759,7 +1759,7 @@ class M extends m {
1759
1759
  ` : u}
1760
1760
 
1761
1761
  <button
1762
- class=${ft({
1762
+ class=${Xt({
1763
1763
  trigger: !0,
1764
1764
  active: this.active,
1765
1765
  rendered: this.loaded
@@ -1905,16 +1905,16 @@ M.styles = [
1905
1905
  }
1906
1906
  `
1907
1907
  ];
1908
- wt([
1908
+ xt([
1909
1909
  $({ attribute: !1 })
1910
1910
  ], M.prototype, "application", 2);
1911
- wt([
1911
+ xt([
1912
1912
  w()
1913
1913
  ], M.prototype, "active", 2);
1914
- wt([
1914
+ xt([
1915
1915
  w()
1916
1916
  ], M.prototype, "loaded", 2);
1917
- wt([
1917
+ xt([
1918
1918
  w()
1919
1919
  ], M.prototype, "icon", 2);
1920
1920
  var Yi = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, T = (s, t, e, i) => {
@@ -2195,7 +2195,7 @@ customElements.get("ace-trigger") || customElements.define("ace-trigger", M);
2195
2195
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ns);
2196
2196
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Qt);
2197
2197
  customElements.get("ace-widget") || customElements.define("ace-widget", V);
2198
- var nn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, At = (s, t, e, i) => {
2198
+ var nn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, wt = (s, t, e, i) => {
2199
2199
  for (var n = i > 1 ? void 0 : i ? on(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2200
2200
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2201
2201
  return i && n && nn(t, e, n), n;
@@ -2221,7 +2221,7 @@ let I = class extends m {
2221
2221
  (s) => f`<div class="conversation-entry" tabindex="-1">
2222
2222
  <conversation-entry
2223
2223
  .entry=${s}
2224
- ${jt({
2224
+ ${Nt({
2225
2225
  keyframeOptions: {},
2226
2226
  in: Se,
2227
2227
  stabilizeOut: !0,
@@ -2232,7 +2232,7 @@ let I = class extends m {
2232
2232
  </div>`
2233
2233
  )}
2234
2234
  ${this.loading ? f`<ace-typing-state
2235
- ${jt({
2235
+ ${Nt({
2236
2236
  keyframeOptions: {},
2237
2237
  in: Se,
2238
2238
  out: Fi,
@@ -2257,16 +2257,16 @@ I.styles = [
2257
2257
  }
2258
2258
  `
2259
2259
  ];
2260
- At([
2260
+ wt([
2261
2261
  $({ type: Boolean })
2262
2262
  ], I.prototype, "loading", 2);
2263
- At([
2263
+ wt([
2264
2264
  $({ attribute: !1 })
2265
2265
  ], I.prototype, "session", 2);
2266
- At([
2266
+ wt([
2267
2267
  w()
2268
2268
  ], I.prototype, "entries", 2);
2269
- I = At([
2269
+ I = wt([
2270
2270
  J("ace-conversation-session")
2271
2271
  ], I);
2272
2272
  var rn = Object.defineProperty, an = Object.getOwnPropertyDescriptor, os = (s, t, e, i) => {
@@ -2274,7 +2274,7 @@ var rn = Object.defineProperty, an = Object.getOwnPropertyDescriptor, os = (s, t
2274
2274
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2275
2275
  return i && n && rn(t, e, n), n;
2276
2276
  };
2277
- let gt = class extends m {
2277
+ let ft = class extends m {
2278
2278
  connectedCallback() {
2279
2279
  var s;
2280
2280
  super.connectedCallback(), (s = this.entry.didUpdate) == null || s.subscribe(() => {
@@ -2298,11 +2298,7 @@ let gt = class extends m {
2298
2298
  return s === "delivered" ? f`<telia-icon
2299
2299
  svg=${Ts.svg}
2300
2300
  size="sm"
2301
- ></telia-icon>` : s === "failed" ? f`<telia-icon
2302
- svg=${ks.svg}
2303
- size="sm"
2304
- title="Message could not be delivered"
2305
- ></telia-icon>` : f`<telia-icon svg=${Os.svg} size="sm"></telia-icon>`;
2301
+ ></telia-icon>` : s === "failed" ? f`<telia-icon svg=${ks.svg} size="sm"></telia-icon>` : f`<telia-icon svg=${Os.svg} size="sm"></telia-icon>`;
2306
2302
  }
2307
2303
  _dispatchEntryAction(s) {
2308
2304
  this.entry.actions$.next(s.detail);
@@ -2310,7 +2306,7 @@ let gt = class extends m {
2310
2306
  render() {
2311
2307
  var s, t;
2312
2308
  switch (this.entry.type) {
2313
- case Et.System:
2309
+ case St.System:
2314
2310
  return f`
2315
2311
  <div class="conversation-system-message">
2316
2312
  ${this.entry.messages.map(
@@ -2328,9 +2324,9 @@ let gt = class extends m {
2328
2324
  <span>${this._getTimestamp(this.entry.timestamp)}</span>
2329
2325
  </div>
2330
2326
  `;
2331
- case Et.Agent:
2327
+ case St.Agent:
2332
2328
  return f`<div
2333
- class=${ft({
2329
+ class=${Xt({
2334
2330
  "conversation-agent-message": !0,
2335
2331
  "has-avatar": !!((s = this.entry.sender) != null && s.avatar)
2336
2332
  })}
@@ -2357,13 +2353,8 @@ let gt = class extends m {
2357
2353
  )}
2358
2354
  </div>
2359
2355
  </div>`;
2360
- case Et.User:
2361
- return f`<div
2362
- class=${ft({
2363
- "conversation-user-message": !0,
2364
- "has-error": this.entry.status === "failed"
2365
- })}
2366
- >
2356
+ case St.User:
2357
+ return f`<div class="conversation-user-message">
2367
2358
  <div class="entry-content">
2368
2359
  ${this.entry.messages.map(
2369
2360
  (e) => f`
@@ -2388,7 +2379,7 @@ let gt = class extends m {
2388
2379
  }
2389
2380
  }
2390
2381
  };
2391
- gt.styles = [
2382
+ ft.styles = [
2392
2383
  b`
2393
2384
  :host {
2394
2385
  box-sizing: border-box;
@@ -2441,14 +2432,6 @@ gt.styles = [
2441
2432
  gap: var(--spacing-sm);
2442
2433
  }
2443
2434
 
2444
- .conversation-user-message.has-error {
2445
- opacity: 0.7;
2446
- }
2447
-
2448
- .conversation-user-message.has-error .message-details {
2449
- color: var(--error-text-color);
2450
- }
2451
-
2452
2435
  .conversation-agent-message {
2453
2436
  --bubble-bg-color: var(--agent-bg-color);
2454
2437
  --bubble-text-color: var(--agent-text-color);
@@ -2507,10 +2490,10 @@ gt.styles = [
2507
2490
  ];
2508
2491
  os([
2509
2492
  $({ attribute: !1 })
2510
- ], gt.prototype, "entry", 2);
2511
- gt = os([
2493
+ ], ft.prototype, "entry", 2);
2494
+ ft = os([
2512
2495
  J("conversation-entry")
2513
- ], gt);
2496
+ ], ft);
2514
2497
  /**
2515
2498
  * @license
2516
2499
  * Copyright 2021 Google LLC
@@ -2527,7 +2510,7 @@ var cn = Object.defineProperty, dn = Object.getOwnPropertyDescriptor, rs = (s, t
2527
2510
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2528
2511
  return i && n && cn(t, e, n), n;
2529
2512
  };
2530
- let $t = class extends m {
2513
+ let gt = class extends m {
2531
2514
  render() {
2532
2515
  return f`
2533
2516
  <div class="message-group">
@@ -2550,7 +2533,7 @@ let $t = class extends m {
2550
2533
  `;
2551
2534
  }
2552
2535
  };
2553
- $t.styles = [
2536
+ gt.styles = [
2554
2537
  b`
2555
2538
  :host {
2556
2539
  box-sizing: border-box;
@@ -2568,16 +2551,16 @@ $t.styles = [
2568
2551
  ];
2569
2552
  rs([
2570
2553
  $({ attribute: !1 })
2571
- ], $t.prototype, "group", 2);
2572
- $t = rs([
2554
+ ], gt.prototype, "group", 2);
2555
+ gt = rs([
2573
2556
  J("conversation-group")
2574
- ], $t);
2557
+ ], gt);
2575
2558
  var hn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, un = (s, t, e, i) => {
2576
2559
  for (var n = i > 1 ? void 0 : i ? pn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2577
2560
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2578
2561
  return i && n && hn(t, e, n), n;
2579
2562
  };
2580
- let Dt = class extends m {
2563
+ let jt = class extends m {
2581
2564
  render() {
2582
2565
  return f`<div class="container">
2583
2566
  <div class="dot"></div>
@@ -2586,7 +2569,7 @@ let Dt = class extends m {
2586
2569
  </div>`;
2587
2570
  }
2588
2571
  };
2589
- Dt.styles = [
2572
+ jt.styles = [
2590
2573
  b`
2591
2574
  :host {
2592
2575
  display: block;
@@ -2623,17 +2606,17 @@ Dt.styles = [
2623
2606
  }
2624
2607
  `
2625
2608
  ];
2626
- Dt = un([
2609
+ jt = un([
2627
2610
  J("ace-typing-state")
2628
- ], Dt);
2611
+ ], jt);
2629
2612
  /**
2630
2613
  * @license
2631
2614
  * Copyright 2017 Google LLC
2632
2615
  * SPDX-License-Identifier: BSD-3-Clause
2633
2616
  */
2634
- class Bt extends Xt {
2617
+ class Dt extends qt {
2635
2618
  constructor(t) {
2636
- if (super(t), this.et = u, t.type !== Ct.CHILD)
2619
+ if (super(t), this.et = u, t.type !== _t.CHILD)
2637
2620
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2638
2621
  }
2639
2622
  render(t) {
@@ -2650,21 +2633,21 @@ class Bt extends Xt {
2650
2633
  return e.raw = e, this.vt = { _$litType$: this.constructor.resultType, strings: e, values: [] };
2651
2634
  }
2652
2635
  }
2653
- Bt.directiveName = "unsafeHTML", Bt.resultType = 1;
2654
- const fn = xt(Bt);
2636
+ Dt.directiveName = "unsafeHTML", Dt.resultType = 1;
2637
+ const fn = Ct(Dt);
2655
2638
  var gn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, as = (s, t, e, i) => {
2656
2639
  for (var n = i > 1 ? void 0 : i ? $n(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2657
2640
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2658
2641
  return i && n && gn(t, e, n), n;
2659
2642
  };
2660
- let mt = class extends m {
2643
+ let $t = class extends m {
2661
2644
  render() {
2662
2645
  return f`<div class="message-type-html">
2663
2646
  ${fn(this.message.content)}
2664
2647
  </div>`;
2665
2648
  }
2666
2649
  };
2667
- mt.styles = [
2650
+ $t.styles = [
2668
2651
  b`
2669
2652
  :host {
2670
2653
  box-sizing: border-box;
@@ -2681,10 +2664,10 @@ mt.styles = [
2681
2664
  ];
2682
2665
  as([
2683
2666
  $({ attribute: !1 })
2684
- ], mt.prototype, "message", 2);
2685
- mt = as([
2667
+ ], $t.prototype, "message", 2);
2668
+ $t = as([
2686
2669
  J("message-type-html")
2687
- ], mt);
2670
+ ], $t);
2688
2671
  class mn {
2689
2672
  constructor(t) {
2690
2673
  this._message = null, this._host = t, t.addController(this);
@@ -2701,7 +2684,7 @@ class mn {
2701
2684
  return !!this.message;
2702
2685
  }
2703
2686
  }
2704
- var vn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, St = (s, t, e, i) => {
2687
+ var vn = Object.defineProperty, yn = Object.getOwnPropertyDescriptor, At = (s, t, e, i) => {
2705
2688
  for (var n = i > 1 ? void 0 : i ? yn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2706
2689
  (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2707
2690
  return i && n && vn(t, e, n), n;
@@ -2772,7 +2755,7 @@ class tt extends ls {
2772
2755
  const t = this.application.texts;
2773
2756
  return f` <div
2774
2757
  @action=${this._actionHandler}
2775
- class=${ft({
2758
+ class=${Xt({
2776
2759
  conversation: !0,
2777
2760
  disabled: this.disabled,
2778
2761
  "conversation--has-toast": this.toast.hasMessage(),
@@ -2846,8 +2829,6 @@ tt.styles = [
2846
2829
  --toast-bg: #eb5185;
2847
2830
  --toast-text-color: white;
2848
2831
 
2849
- --error-text-color: #eb5185;
2850
-
2851
2832
  --message-info-color: var(
2852
2833
  --conversation-message-info-color,
2853
2834
  var(--text-color)
@@ -2971,16 +2952,16 @@ tt.styles = [
2971
2952
  }
2972
2953
  `
2973
2954
  ];
2974
- St([
2955
+ At([
2975
2956
  w()
2976
2957
  ], tt.prototype, "message", 2);
2977
- St([
2958
+ At([
2978
2959
  w()
2979
2960
  ], tt.prototype, "platform", 2);
2980
- St([
2961
+ At([
2981
2962
  w()
2982
2963
  ], tt.prototype, "session", 2);
2983
- St([
2964
+ At([
2984
2965
  w()
2985
2966
  ], tt.prototype, "disabled", 2);
2986
2967
  export {