@telia-ace/widget-conversation-flamingo 1.1.28 → 1.1.30-rc.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,22 @@
1
- import { C as wt } from "./index-49b077e3.mjs";
1
+ import { C as wt } from "./index-6f7ce259.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const rt = globalThis, Nt = rt.ShadowRoot && (rt.ShadyCSS === void 0 || rt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Mt = Symbol(), Xt = /* @__PURE__ */ new WeakMap();
8
- let Te = class {
7
+ const rt = globalThis, Mt = rt.ShadowRoot && (rt.ShadyCSS === void 0 || rt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, jt = Symbol(), Jt = /* @__PURE__ */ new WeakMap();
8
+ let ke = class {
9
9
  constructor(t, s, i) {
10
- if (this._$cssResult$ = !0, i !== Mt)
10
+ if (this._$cssResult$ = !0, i !== jt)
11
11
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
12
12
  this.cssText = t, this.t = s;
13
13
  }
14
14
  get styleSheet() {
15
15
  let t = this.o;
16
16
  const s = this.t;
17
- if (Nt && t === void 0) {
17
+ if (Mt && t === void 0) {
18
18
  const i = s !== void 0 && s.length === 1;
19
- i && (t = Xt.get(s)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Xt.set(s, t));
19
+ i && (t = Jt.get(s)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Jt.set(s, t));
20
20
  }
21
21
  return t;
22
22
  }
@@ -24,7 +24,7 @@ let Te = class {
24
24
  return this.cssText;
25
25
  }
26
26
  };
27
- const os = (e) => new Te(typeof e == "string" ? e : e + "", void 0, Mt), _ = (e, ...t) => {
27
+ const os = (e) => new ke(typeof e == "string" ? e : e + "", void 0, jt), _ = (e, ...t) => {
28
28
  const s = e.length === 1 ? e[0] : t.reduce((i, n, r) => i + ((o) => {
29
29
  if (o._$cssResult$ === !0)
30
30
  return o.cssText;
@@ -32,16 +32,16 @@ const os = (e) => new Te(typeof e == "string" ? e : e + "", void 0, Mt), _ = (e,
32
32
  return o;
33
33
  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.");
34
34
  })(n) + e[r + 1], e[0]);
35
- return new Te(s, e, Mt);
35
+ return new ke(s, e, jt);
36
36
  }, as = (e, t) => {
37
- if (Nt)
37
+ if (Mt)
38
38
  e.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
39
39
  else
40
40
  for (const s of t) {
41
41
  const i = document.createElement("style"), n = rt.litNonce;
42
42
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = s.cssText, e.appendChild(i);
43
43
  }
44
- }, Jt = Nt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
44
+ }, Vt = Mt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
45
45
  let s = "";
46
46
  for (const i of t.cssRules)
47
47
  s += i.cssText;
@@ -52,7 +52,7 @@ const os = (e) => new Te(typeof e == "string" ? e : e + "", void 0, Mt), _ = (e,
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- const { is: ls, defineProperty: cs, getOwnPropertyDescriptor: ds, getOwnPropertyNames: hs, getOwnPropertySymbols: ps, getPrototypeOf: us } = Object, E = globalThis, Vt = E.trustedTypes, fs = Vt ? Vt.emptyScript : "", At = E.reactiveElementPolyfillSupport, W = (e, t) => e, ot = { toAttribute(e, t) {
55
+ const { is: ls, defineProperty: cs, getOwnPropertyDescriptor: ds, getOwnPropertyNames: hs, getOwnPropertySymbols: ps, getPrototypeOf: us } = Object, E = globalThis, te = E.trustedTypes, fs = te ? te.emptyScript : "", At = E.reactiveElementPolyfillSupport, W = (e, t) => e, ot = { toAttribute(e, t) {
56
56
  switch (t) {
57
57
  case Boolean:
58
58
  e = e ? fs : null;
@@ -80,7 +80,7 @@ const { is: ls, defineProperty: cs, getOwnPropertyDescriptor: ds, getOwnProperty
80
80
  }
81
81
  }
82
82
  return s;
83
- } }, jt = (e, t) => !ls(e, t), te = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: jt };
83
+ } }, Dt = (e, t) => !ls(e, t), ee = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: Dt };
84
84
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), E.litPropertyMetadata ?? (E.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
85
85
  let R = class extends HTMLElement {
86
86
  static addInitializer(t) {
@@ -89,7 +89,7 @@ let R = class extends HTMLElement {
89
89
  static get observedAttributes() {
90
90
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
91
91
  }
92
- static createProperty(t, s = te) {
92
+ static createProperty(t, s = ee) {
93
93
  if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
94
94
  const i = Symbol(), n = this.getPropertyDescriptor(t, i, s);
95
95
  n !== void 0 && cs(this.prototype, t, n);
@@ -109,7 +109,7 @@ let R = class extends HTMLElement {
109
109
  }, configurable: !0, enumerable: !0 };
110
110
  }
111
111
  static getPropertyOptions(t) {
112
- return this.elementProperties.get(t) ?? te;
112
+ return this.elementProperties.get(t) ?? ee;
113
113
  }
114
114
  static _$Ei() {
115
115
  if (this.hasOwnProperty(W("elementProperties")))
@@ -144,9 +144,9 @@ let R = class extends HTMLElement {
144
144
  if (Array.isArray(t)) {
145
145
  const i = new Set(t.flat(1 / 0).reverse());
146
146
  for (const n of i)
147
- s.unshift(Jt(n));
147
+ s.unshift(Vt(n));
148
148
  } else
149
- t !== void 0 && s.push(Jt(t));
149
+ t !== void 0 && s.push(Vt(t));
150
150
  return s;
151
151
  }
152
152
  static _$Eu(t, s) {
@@ -215,7 +215,7 @@ let R = class extends HTMLElement {
215
215
  }
216
216
  requestUpdate(t, s, i, n = !1, r) {
217
217
  if (t !== void 0) {
218
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? jt)(n ? r : this[t], s))
218
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Dt)(n ? r : this[t], s))
219
219
  return;
220
220
  this.C(t, s, i);
221
221
  }
@@ -299,13 +299,13 @@ R.elementStyles = [], R.shadowRootOptions = { mode: "open" }, R[W("elementProper
299
299
  * Copyright 2017 Google LLC
300
300
  * SPDX-License-Identifier: BSD-3-Clause
301
301
  */
302
- const G = globalThis, at = G.trustedTypes, ee = at ? at.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, ke = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, Oe = "?" + S, gs = `<${Oe}>`, L = document, Y = () => L.createComment(""), K = (e) => e === null || typeof e != "object" && typeof e != "function", Pe = Array.isArray, $s = (e) => Pe(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", St = `[
303
- \f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, se = /-->/g, ie = />/g, k = RegExp(`>|${St}(?:([^\\s"'>=/]+)(${St}*=${St}*(?:[^
304
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ne = /'/g, re = /"/g, Le = /^(?:script|style|textarea|title)$/i, ms = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), f = ms(1), C = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), oe = /* @__PURE__ */ new WeakMap(), P = L.createTreeWalker(L, 129);
302
+ const G = globalThis, at = G.trustedTypes, se = at ? at.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Te = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, Oe = "?" + S, gs = `<${Oe}>`, L = document, Y = () => L.createComment(""), K = (e) => e === null || typeof e != "object" && typeof e != "function", Pe = Array.isArray, $s = (e) => Pe(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", St = `[
303
+ \f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ie = /-->/g, ne = />/g, T = RegExp(`>|${St}(?:([^\\s"'>=/]+)(${St}*=${St}*(?:[^
304
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, oe = /"/g, Le = /^(?:script|style|textarea|title)$/i, ms = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), f = ms(1), C = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), ae = /* @__PURE__ */ new WeakMap(), P = L.createTreeWalker(L, 129);
305
305
  function Ue(e, t) {
306
306
  if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
307
307
  throw Error("invalid template strings array");
308
- return ee !== void 0 ? ee.createHTML(t) : t;
308
+ return se !== void 0 ? se.createHTML(t) : t;
309
309
  }
310
310
  const vs = (e, t) => {
311
311
  const s = e.length - 1, i = [];
@@ -314,9 +314,9 @@ const vs = (e, t) => {
314
314
  const l = e[a];
315
315
  let c, d, h = -1, p = 0;
316
316
  for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); )
317
- p = o.lastIndex, o === F ? d[1] === "!--" ? o = se : d[1] !== void 0 ? o = ie : d[2] !== void 0 ? (Le.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = k) : d[3] !== void 0 && (o = k) : o === k ? d[0] === ">" ? (o = n ?? F, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? k : d[3] === '"' ? re : ne) : o === re || o === ne ? o = k : o === se || o === ie ? o = F : (o = k, n = void 0);
318
- const g = o === k && e[a + 1].startsWith("/>") ? " " : "";
319
- r += o === F ? l + gs : h >= 0 ? (i.push(c), l.slice(0, h) + ke + l.slice(h) + S + g) : l + S + (h === -2 ? a : g);
317
+ p = o.lastIndex, o === F ? d[1] === "!--" ? o = ie : d[1] !== void 0 ? o = ne : d[2] !== void 0 ? (Le.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = T) : d[3] !== void 0 && (o = T) : o === T ? d[0] === ">" ? (o = n ?? F, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? T : d[3] === '"' ? oe : re) : o === oe || o === re ? o = T : o === ie || o === ne ? o = F : (o = T, n = void 0);
318
+ const g = o === T && e[a + 1].startsWith("/>") ? " " : "";
319
+ r += o === F ? l + gs : h >= 0 ? (i.push(c), l.slice(0, h) + Te + l.slice(h) + S + g) : l + S + (h === -2 ? a : g);
320
320
  }
321
321
  return [Ue(e, r + (e[s] || "<?>") + (t === 2 ? "</svg>" : "")), i];
322
322
  };
@@ -334,7 +334,7 @@ class Q {
334
334
  if (n.nodeType === 1) {
335
335
  if (n.hasAttributes())
336
336
  for (const h of n.getAttributeNames())
337
- if (h.endsWith(ke)) {
337
+ if (h.endsWith(Te)) {
338
338
  const p = d[o++], g = n.getAttribute(h).split(S), x = /([.?@])?(.*)/.exec(p);
339
339
  l.push({ type: 1, index: r, name: x[2], strings: g, ctor: x[1] === "." ? bs : x[1] === "?" ? _s : x[1] === "@" ? xs : $t }), n.removeAttribute(h);
340
340
  } else
@@ -389,7 +389,7 @@ class ys {
389
389
  for (; l !== void 0; ) {
390
390
  if (o === l.index) {
391
391
  let c;
392
- l.type === 2 ? c = new X(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new ws(r, this, t)), this._$AV.push(c), l = i[++a];
392
+ l.type === 2 ? c = new Z(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new ws(r, this, t)), this._$AV.push(c), l = i[++a];
393
393
  }
394
394
  o !== (l == null ? void 0 : l.index) && (r = P.nextNode(), o++);
395
395
  }
@@ -401,7 +401,7 @@ class ys {
401
401
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
402
402
  }
403
403
  }
404
- class X {
404
+ class Z {
405
405
  get _$AU() {
406
406
  var t;
407
407
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -443,15 +443,15 @@ class X {
443
443
  }
444
444
  }
445
445
  _$AC(t) {
446
- let s = oe.get(t.strings);
447
- return s === void 0 && oe.set(t.strings, s = new Q(t)), s;
446
+ let s = ae.get(t.strings);
447
+ return s === void 0 && ae.set(t.strings, s = new Q(t)), s;
448
448
  }
449
449
  T(t) {
450
450
  Pe(this._$AH) || (this._$AH = [], this._$AR());
451
451
  const s = this._$AH;
452
452
  let i, n = 0;
453
453
  for (const r of t)
454
- n === s.length ? s.push(i = new X(this.k(Y()), this.k(Y()), this, this.options)) : i = s[n], i._$AI(r), n++;
454
+ n === s.length ? s.push(i = new Z(this.k(Y()), this.k(Y()), this, this.options)) : i = s[n], i._$AI(r), n++;
455
455
  n < s.length && (this._$AR(i && i._$AB.nextSibling, n), s.length = n);
456
456
  }
457
457
  _$AR(t = this._$AA.nextSibling, s) {
@@ -536,13 +536,13 @@ class ws {
536
536
  }
537
537
  }
538
538
  const Et = G.litHtmlPolyfillSupport;
539
- Et == null || Et(Q, X), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.0.2");
539
+ Et == null || Et(Q, Z), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.0.2");
540
540
  const As = (e, t, s) => {
541
541
  const i = (s == null ? void 0 : s.renderBefore) ?? t;
542
542
  let n = i._$litPart$;
543
543
  if (n === void 0) {
544
544
  const r = (s == null ? void 0 : s.renderBefore) ?? null;
545
- i._$litPart$ = n = new X(t.insertBefore(Y(), r), r, void 0, s ?? {});
545
+ i._$litPart$ = n = new Z(t.insertBefore(Y(), r), r, void 0, s ?? {});
546
546
  }
547
547
  return n._$AI(e), n;
548
548
  };
@@ -665,7 +665,7 @@ const Ss = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.o
665
665
  transformTagName: !1,
666
666
  attachStyles: !0
667
667
  };
668
- let N, Re, mt, He = !1, lt = !1, Dt = !1, y = !1, ae = null, Pt = !1;
668
+ let N, Re, mt, He = !1, lt = !1, It = !1, y = !1, le = null, Pt = !1;
669
669
  const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, Ne = vt.HTMLElement || class {
670
670
  }, m = {
671
671
  $flags$: 0,
@@ -686,7 +686,7 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
686
686
  } catch {
687
687
  }
688
688
  return e;
689
- })(), Cs = (e) => Promise.resolve(e), Ts = /* @__PURE__ */ (() => {
689
+ })(), Cs = (e) => Promise.resolve(e), ks = /* @__PURE__ */ (() => {
690
690
  try {
691
691
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
692
692
  } catch {
@@ -694,10 +694,10 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
694
694
  return !1;
695
695
  })(), Me = (e, t, s, i) => {
696
696
  s && s.map(([n, r, o]) => {
697
- const a = Os(e, n), l = ks(t, o), c = Ps(n);
697
+ const a = Os(e, n), l = Ts(t, o), c = Ps(n);
698
698
  m.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => m.rel(a, r, l, c));
699
699
  });
700
- }, ks = (e, t) => (s) => {
700
+ }, Ts = (e, t) => (s) => {
701
701
  try {
702
702
  H.lazyLoad || e.$hostElement$[t](s);
703
703
  } catch (i) {
@@ -706,28 +706,28 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
706
706
  }, Os = (e, t) => t & 4 ? w : t & 8 ? vt : t & 16 ? w.body : e, Ps = (e) => Es ? {
707
707
  passive: (e & 1) !== 0,
708
708
  capture: (e & 2) !== 0
709
- } : (e & 2) !== 0, le = "http://www.w3.org/1999/xlink", U = (e, t = "") => () => {
710
- }, ce = /* @__PURE__ */ new WeakMap(), Ls = (e, t, s) => {
709
+ } : (e & 2) !== 0, ce = "http://www.w3.org/1999/xlink", U = (e, t = "") => () => {
710
+ }, de = /* @__PURE__ */ new WeakMap(), Ls = (e, t, s) => {
711
711
  let i = ht.get(e);
712
- Ts && s ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, ht.set(e, i);
712
+ ks && s ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, ht.set(e, i);
713
713
  }, Us = (e, t, s, i) => {
714
714
  let n = je(t, s), r = ht.get(n);
715
715
  if (e = e.nodeType === 11 ? e : w, r)
716
716
  if (typeof r == "string") {
717
717
  e = e.head || e;
718
- let o = ce.get(e), a;
719
- o || ce.set(e, o = /* @__PURE__ */ new Set()), o.has(n) || (a = w.createElement("style"), a.innerHTML = r, e.insertBefore(a, e.querySelector("link")), o && o.add(n));
718
+ let o = de.get(e), a;
719
+ o || de.set(e, o = /* @__PURE__ */ new Set()), o.has(n) || (a = w.createElement("style"), a.innerHTML = r, e.insertBefore(a, e.querySelector("link")), o && o.add(n));
720
720
  } else
721
721
  e.adoptedStyleSheets.includes(r) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, r]);
722
722
  return n;
723
723
  }, Rs = (e) => {
724
724
  const t = e.$cmpMeta$, s = e.$hostElement$, i = t.$flags$, n = U("attachStyles", t.$tagName$), r = Us(s.shadowRoot ? s.shadowRoot : s.getRootNode(), t, e.$modeName$);
725
725
  i & 10 && (s["s-sc"] = r, s.classList.add(r + "-h"), i & 2 && s.classList.add(r + "-s")), n();
726
- }, je = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Hs = (e) => ci.map((t) => t(e)).find((t) => !!t), de = {}, Ns = "http://www.w3.org/2000/svg", Ms = "http://www.w3.org/1999/xhtml", js = (e) => e != null, It = (e) => (e = typeof e, e === "object" || e === "function"), j = (e, t, ...s) => {
726
+ }, je = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Hs = (e) => ci.map((t) => t(e)).find((t) => !!t), he = {}, Ns = "http://www.w3.org/2000/svg", Ms = "http://www.w3.org/1999/xhtml", js = (e) => e != null, zt = (e) => (e = typeof e, e === "object" || e === "function"), j = (e, t, ...s) => {
727
727
  let i = null, n = null, r = null, o = !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" && ((o = typeof e != "function" && !It(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? ct(null, i) : i), a = o);
730
+ i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !zt(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? ct(null, i) : i), a = o);
731
731
  };
732
732
  if (c(s), t) {
733
733
  t.key && (n = t.key), t.name && (r = t.name);
@@ -750,27 +750,27 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
750
750
  };
751
751
  return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
752
752
  }, Bt = {}, Ds = (e) => e && e.$tag$ === Bt, Is = {
753
- forEach: (e, t) => e.map(he).forEach(t),
754
- map: (e, t) => e.map(he).map(t).map(Bs)
755
- }, he = (e) => ({
753
+ forEach: (e, t) => e.map(pe).forEach(t),
754
+ map: (e, t) => e.map(pe).map(t).map(zs)
755
+ }, pe = (e) => ({
756
756
  vattrs: e.$attrs$,
757
757
  vchildren: e.$children$,
758
758
  vkey: e.$key$,
759
759
  vname: e.$name$,
760
760
  vtag: e.$tag$,
761
761
  vtext: e.$text$
762
- }), Bs = (e) => {
762
+ }), zs = (e) => {
763
763
  if (typeof e.vtag == "function") {
764
764
  const s = Object.assign({}, e.vattrs);
765
765
  return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), j(e.vtag, s, ...e.vchildren || []);
766
766
  }
767
767
  const t = ct(e.vtag, e.vtext);
768
768
  return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
769
- }, pe = (e, t, s, i, n, r) => {
769
+ }, ue = (e, t, s, i, n, r) => {
770
770
  if (s !== i) {
771
- let o = $e(e, t), a = t.toLowerCase();
771
+ let o = me(e, t), a = t.toLowerCase();
772
772
  if (t === "class") {
773
- const l = e.classList, c = ue(s), d = ue(i);
773
+ const l = e.classList, c = fe(s), d = fe(i);
774
774
  l.remove(...c.filter((h) => h && !d.includes(h))), l.add(...d.filter((h) => h && !c.includes(h)));
775
775
  } else if (t === "style") {
776
776
  for (const l in s)
@@ -781,9 +781,9 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
781
781
  if (t === "ref")
782
782
  i && i(e);
783
783
  else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
- t[2] === "-" ? t = t.slice(3) : $e(vt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s && m.rel(e, t, s, !1), i && m.ael(e, t, i, !1);
784
+ t[2] === "-" ? t = t.slice(3) : me(vt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s && m.rel(e, t, s, !1), i && m.ael(e, t, i, !1);
785
785
  else {
786
- const l = It(i);
786
+ const l = zt(i);
787
787
  if ((o || l && i !== null) && !n)
788
788
  try {
789
789
  if (e.tagName.includes("-"))
@@ -795,18 +795,18 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
795
795
  } catch {
796
796
  }
797
797
  let c = !1;
798
- a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(le, t) : e.removeAttribute(t)) : (!o || r & 4 || n) && !l && (i = i === !0 ? "" : i, c ? e.setAttributeNS(le, t, i) : e.setAttribute(t, i));
798
+ a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(ce, t) : e.removeAttribute(t)) : (!o || r & 4 || n) && !l && (i = i === !0 ? "" : i, c ? e.setAttributeNS(ce, t, i) : e.setAttribute(t, i));
799
799
  }
800
800
  }
801
- }, zs = /\s/, ue = (e) => e ? e.split(zs) : [], De = (e, t, s, i) => {
802
- const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || de, o = t.$attrs$ || de;
801
+ }, Bs = /\s/, fe = (e) => e ? e.split(Bs) : [], De = (e, t, s, i) => {
802
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || he, o = t.$attrs$ || he;
803
803
  for (i in r)
804
- i in o || pe(n, i, r[i], void 0, s, t.$flags$);
804
+ i in o || ue(n, i, r[i], void 0, s, t.$flags$);
805
805
  for (i in o)
806
- pe(n, i, r[i], o[i], s, t.$flags$);
806
+ ue(n, i, r[i], o[i], s, t.$flags$);
807
807
  }, dt = (e, t, s, i) => {
808
808
  let n = t.$children$[s], r = 0, o, a, l;
809
- if (He || (Dt = !0, n.$tag$ === "slot" && (N && i.classList.add(N + "-s"), n.$flags$ |= n.$children$ ? (
809
+ if (He || (It = !0, n.$tag$ === "slot" && (N && i.classList.add(N + "-s"), n.$flags$ |= n.$children$ ? (
810
810
  // slot element has fallback content
811
811
  2
812
812
  ) : (
@@ -822,22 +822,22 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
822
822
  a = dt(e, n, r, o), a && o.appendChild(a);
823
823
  n.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
824
824
  }
825
- return o["s-hn"] = mt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Re, o["s-sn"] = n.$name$ || "", l = e && e.$children$ && e.$children$[s], l && l.$tag$ === n.$tag$ && e.$elm$ && Z(e.$elm$, !1)), o;
826
- }, Z = (e, t) => {
825
+ return o["s-hn"] = mt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Re, o["s-sn"] = n.$name$ || "", l = e && e.$children$ && e.$children$[s], l && l.$tag$ === n.$tag$ && e.$elm$ && X(e.$elm$, !1)), o;
826
+ }, X = (e, t) => {
827
827
  m.$flags$ |= 1;
828
828
  const s = e.childNodes;
829
829
  for (let i = s.length - 1; i >= 0; i--) {
830
830
  const n = s[i];
831
- n["s-hn"] !== mt && n["s-ol"] && (ze(n).insertBefore(n, zt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Dt = !0), t && Z(n, t);
831
+ n["s-hn"] !== mt && n["s-ol"] && (Be(n).insertBefore(n, Ft(n)), n["s-ol"].remove(), n["s-ol"] = void 0, It = !0), t && X(n, t);
832
832
  }
833
833
  m.$flags$ &= -2;
834
834
  }, Ie = (e, t, s, i, n, r) => {
835
835
  let o = e["s-cr"] && e["s-cr"].parentNode || e, a;
836
836
  for (o.shadowRoot && o.tagName === mt && (o = o.shadowRoot); n <= r; ++n)
837
- i[n] && (a = dt(null, s, n, e), a && (i[n].$elm$ = a, o.insertBefore(a, zt(t))));
838
- }, Be = (e, t, s, i, n) => {
837
+ i[n] && (a = dt(null, s, n, e), a && (i[n].$elm$ = a, o.insertBefore(a, Ft(t))));
838
+ }, ze = (e, t, s, i, n) => {
839
839
  for (; t <= s; ++t)
840
- (i = e[t]) && (n = i.$elm$, Ge(i), lt = !0, n["s-ol"] ? n["s-ol"].remove() : Z(n, !0), n.remove());
840
+ (i = e[t]) && (n = i.$elm$, Ge(i), lt = !0, n["s-ol"] ? n["s-ol"].remove() : X(n, !0), n.remove());
841
841
  }, Fs = (e, t, s, i) => {
842
842
  let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], d = t[l], h = i.length - 1, p = i[0], g = i[h], x, st;
843
843
  for (; n <= l && r <= h; )
@@ -854,22 +854,22 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
854
854
  else if (it(d, g))
855
855
  M(d, g), d = t[--l], g = i[--h];
856
856
  else if (it(c, g))
857
- (c.$tag$ === "slot" || g.$tag$ === "slot") && Z(c.$elm$.parentNode, !1), M(c, g), e.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
857
+ (c.$tag$ === "slot" || g.$tag$ === "slot") && X(c.$elm$.parentNode, !1), M(c, g), e.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
858
858
  else if (it(d, p))
859
- (c.$tag$ === "slot" || g.$tag$ === "slot") && Z(d.$elm$.parentNode, !1), M(d, p), e.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++r];
859
+ (c.$tag$ === "slot" || g.$tag$ === "slot") && X(d.$elm$.parentNode, !1), M(d, p), e.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++r];
860
860
  else {
861
861
  for (o = -1, a = n; a <= l; ++a)
862
862
  if (t[a] && t[a].$key$ !== null && t[a].$key$ === p.$key$) {
863
863
  o = a;
864
864
  break;
865
865
  }
866
- o >= 0 ? (st = t[o], st.$tag$ !== p.$tag$ ? x = dt(t && t[r], s, o, e) : (M(st, p), t[o] = void 0, x = st.$elm$), p = i[++r]) : (x = dt(t && t[r], s, r, e), p = i[++r]), x && ze(c.$elm$).insertBefore(x, zt(c.$elm$));
866
+ o >= 0 ? (st = t[o], st.$tag$ !== p.$tag$ ? x = dt(t && t[r], s, o, e) : (M(st, p), t[o] = void 0, x = st.$elm$), p = i[++r]) : (x = dt(t && t[r], s, r, e), p = i[++r]), x && Be(c.$elm$).insertBefore(x, Ft(c.$elm$));
867
867
  }
868
- n > l ? Ie(e, i[h + 1] == null ? null : i[h + 1].$elm$, s, i, r, h) : r > h && Be(t, n, l);
869
- }, it = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, zt = (e) => e && e["s-ol"] || e, ze = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, M = (e, t) => {
868
+ n > l ? Ie(e, i[h + 1] == null ? null : i[h + 1].$elm$, s, i, r, h) : r > h && ze(t, n, l);
869
+ }, it = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, Ft = (e) => e && e["s-ol"] || e, Be = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, M = (e, t) => {
870
870
  const s = t.$elm$ = e.$elm$, i = e.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
871
871
  let a;
872
- o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || De(e, t, y), i !== null && n !== null ? Fs(s, i, t, n) : n !== null ? (e.$text$ !== null && (s.textContent = ""), Ie(s, null, t, n, 0, n.length - 1)) : i !== null && Be(i, 0, i.length - 1), y && r === "svg" && (y = !1)) : (a = s["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
872
+ o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || De(e, t, y), i !== null && n !== null ? Fs(s, i, t, n) : n !== null ? (e.$text$ !== null && (s.textContent = ""), Ie(s, null, t, n, 0, n.length - 1)) : i !== null && ze(i, 0, i.length - 1), y && r === "svg" && (y = !1)) : (a = s["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
873
873
  }, Fe = (e) => {
874
874
  let t = e.childNodes, s, i, n, r, o, a;
875
875
  for (i = 0, n = t.length; i < n; i++)
@@ -893,23 +893,23 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
893
893
  for (; a < c; a++) {
894
894
  if (t = l[a], t["s-sr"] && (s = t["s-cr"]) && s.parentNode)
895
895
  for (i = s.parentNode.childNodes, n = t["s-sn"], o = i.length - 1; o >= 0; o--)
896
- s = i[o], !s["s-cn"] && !s["s-nr"] && s["s-hn"] !== t["s-hn"] && (fe(s, n) ? (r = b.find((d) => d.$nodeToRelocate$ === s), lt = !0, s["s-sn"] = s["s-sn"] || n, r ? r.$slotRefNode$ = t : b.push({
896
+ s = i[o], !s["s-cn"] && !s["s-nr"] && s["s-hn"] !== t["s-hn"] && (ge(s, n) ? (r = b.find((d) => d.$nodeToRelocate$ === s), lt = !0, s["s-sn"] = s["s-sn"] || n, r ? r.$slotRefNode$ = t : b.push({
897
897
  $slotRefNode$: t,
898
898
  $nodeToRelocate$: s
899
899
  }), s["s-sr"] && b.map((d) => {
900
- fe(d.$nodeToRelocate$, s["s-sn"]) && (r = b.find((h) => h.$nodeToRelocate$ === s), r && !d.$slotRefNode$ && (d.$slotRefNode$ = r.$slotRefNode$));
900
+ ge(d.$nodeToRelocate$, s["s-sn"]) && (r = b.find((h) => h.$nodeToRelocate$ === s), r && !d.$slotRefNode$ && (d.$slotRefNode$ = r.$slotRefNode$));
901
901
  })) : b.some((d) => d.$nodeToRelocate$ === s) || b.push({
902
902
  $nodeToRelocate$: s
903
903
  }));
904
904
  t.nodeType === 1 && We(t);
905
905
  }
906
- }, fe = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Ge = (e) => {
906
+ }, ge = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Ge = (e) => {
907
907
  e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Ge);
908
908
  }, Ws = (e, t) => {
909
909
  const s = e.$hostElement$, i = e.$cmpMeta$, n = e.$vnode$ || ct(null, null), r = Ds(t) ? t : j(null, null, t);
910
910
  mt = s.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = s[o])), r.$tag$ = null, r.$flags$ |= 4, e.$vnode$ = r, r.$elm$ = n.$elm$ = s.shadowRoot || s, N = s["s-sc"], Re = s["s-cr"], He = (i.$flags$ & 1) !== 0, lt = !1, M(n, r);
911
911
  {
912
- if (m.$flags$ |= 1, Dt) {
912
+ if (m.$flags$ |= 1, It) {
913
913
  We(r.$elm$);
914
914
  let o, a, l, c, d, h, p = 0;
915
915
  for (; p < b.length; p++)
@@ -944,19 +944,19 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
944
944
  }, qe = (e, t) => (e.$flags$ |= 16, Ks(e, e.$ancestorComponent$), pi(() => Qs(e, t))), Qs = (e, t) => {
945
945
  const s = e.$hostElement$, i = U("scheduleUpdate", e.$cmpMeta$.$tagName$), n = s;
946
946
  let r;
947
- return t ? r = D(n, "componentWillLoad") : r = D(n, "componentWillUpdate"), r = ge(r, () => D(n, "componentWillRender")), i(), ge(r, () => Zs(e, n, t));
948
- }, Zs = async (e, t, s) => {
947
+ return t ? r = D(n, "componentWillLoad") : r = D(n, "componentWillUpdate"), r = $e(r, () => D(n, "componentWillRender")), i(), $e(r, () => Xs(e, n, t));
948
+ }, Xs = async (e, t, s) => {
949
949
  const i = e.$hostElement$, n = U("update", e.$cmpMeta$.$tagName$);
950
950
  i["s-rc"], s && Rs(e);
951
951
  const r = U("render", e.$cmpMeta$.$tagName$);
952
- Xs(e, t, i), r(), n(), Js(e);
953
- }, Xs = (e, t, s) => {
952
+ Zs(e, t, i), r(), n(), Js(e);
953
+ }, Zs = (e, t, s) => {
954
954
  try {
955
- ae = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Ws(e, t));
955
+ le = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Ws(e, t));
956
956
  } catch (a) {
957
957
  J(a, e.$hostElement$);
958
958
  }
959
- return ae = null, null;
959
+ return le = null, null;
960
960
  }, Js = (e) => {
961
961
  const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, i = U("postUpdate", t), n = s;
962
962
  e.$ancestorComponent$, D(n, "componentDidRender"), e.$flags$ & 64 ? (D(n, "componentDidUpdate"), i()) : (e.$flags$ |= 64, D(n, "componentDidLoad"), i());
@@ -967,7 +967,7 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
967
967
  } catch (i) {
968
968
  J(i);
969
969
  }
970
- }, ge = (e, t) => e && e.then ? e.then(t) : t(), Vs = (e, t) => e != null && !It(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ti = (e, t) => yt(e).$instanceValues$.get(t), ei = (e, t, s, i) => {
970
+ }, $e = (e, t) => e && e.then ? e.then(t) : t(), Vs = (e, t) => e != null && !zt(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ti = (e, t) => yt(e).$instanceValues$.get(t), ei = (e, t, s, i) => {
971
971
  const n = yt(e), r = e, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
972
972
  s = Vs(s, i.$members$[t][0]);
973
973
  const c = Number.isNaN(o) && Number.isNaN(s);
@@ -1090,9 +1090,9 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
1090
1090
  $instanceValues$: /* @__PURE__ */ new Map()
1091
1091
  };
1092
1092
  return Me(e, s, t.$listeners$), Ke.set(e, s);
1093
- }, $e = (e, t) => t in e, J = (e, t) => (0, console.error)(e, t), ht = /* @__PURE__ */ new Map(), ci = [], me = [], Qe = [], di = (e, t) => (s) => {
1093
+ }, me = (e, t) => t in e, J = (e, t) => (0, console.error)(e, t), ht = /* @__PURE__ */ new Map(), ci = [], ve = [], Qe = [], di = (e, t) => (s) => {
1094
1094
  e.push(s), Pt || (Pt = !0, t && m.$flags$ & 4 ? hi(Lt) : m.raf(Lt));
1095
- }, ve = (e) => {
1095
+ }, ye = (e) => {
1096
1096
  for (let t = 0; t < e.length; t++)
1097
1097
  try {
1098
1098
  e[t](performance.now());
@@ -1101,7 +1101,7 @@ const vt = typeof window < "u" ? window : {}, w = vt.document || { head: {} }, N
1101
1101
  }
1102
1102
  e.length = 0;
1103
1103
  }, Lt = () => {
1104
- ve(me), ve(Qe), (Pt = me.length > 0) && m.raf(Lt);
1104
+ ye(ve), ye(Qe), (Pt = ve.length > 0) && m.raf(Lt);
1105
1105
  }, hi = (e) => Cs().then(e), pi = /* @__PURE__ */ di(Qe, !0), ui = (e = {}) => {
1106
1106
  const { content: t = "", title: s, attributes: i = [] } = e;
1107
1107
  let n = "", r = [
@@ -1135,7 +1135,7 @@ const mi = "telia-vst{display:none}", vi = /* @__PURE__ */ Ye(class extends Ne {
1135
1135
  }, [0, "telia-vst", {
1136
1136
  dataTrackingId: [1, "data-tracking-id"]
1137
1137
  }]);
1138
- function Ze() {
1138
+ function Xe() {
1139
1139
  if (typeof customElements > "u")
1140
1140
  return;
1141
1141
  ["telia-vst"].forEach((t) => {
@@ -1146,7 +1146,7 @@ function Ze() {
1146
1146
  }
1147
1147
  });
1148
1148
  }
1149
- Ze();
1149
+ Xe();
1150
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
  }
@@ -1207,7 +1207,7 @@ function wi() {
1207
1207
  customElements.get(t) || customElements.define(t, xi);
1208
1208
  break;
1209
1209
  case "telia-vst":
1210
- customElements.get(t) || Ze();
1210
+ customElements.get(t) || Xe();
1211
1211
  break;
1212
1212
  }
1213
1213
  });
@@ -1228,7 +1228,7 @@ const V = (e) => (t, s) => {
1228
1228
  * Copyright 2017 Google LLC
1229
1229
  * SPDX-License-Identifier: BSD-3-Clause
1230
1230
  */
1231
- const Ai = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: jt }, Si = (e = Ai, t, s) => {
1231
+ const Ai = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: Dt }, Si = (e = Ai, t, s) => {
1232
1232
  const { kind: i, metadata: n } = s;
1233
1233
  let r = globalThis.litPropertyMetadata.get(n);
1234
1234
  if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(s.name, e), i === "accessor") {
@@ -1275,7 +1275,7 @@ const Ei = (e) => e.strings === void 0;
1275
1275
  * SPDX-License-Identifier: BSD-3-Clause
1276
1276
  */
1277
1277
  const bt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, _t = (e) => (...t) => ({ _$litDirective$: e, values: t });
1278
- let Ft = class {
1278
+ let Wt = class {
1279
1279
  constructor(t) {
1280
1280
  }
1281
1281
  get _$AU() {
@@ -1311,20 +1311,20 @@ const q = (e, t) => {
1311
1311
  break;
1312
1312
  s = t._$AN, s.delete(e), e = t;
1313
1313
  } while ((s == null ? void 0 : s.size) === 0);
1314
- }, Xe = (e) => {
1314
+ }, Ze = (e) => {
1315
1315
  for (let t; t = e._$AM; e = t) {
1316
1316
  let s = t._$AN;
1317
1317
  if (s === void 0)
1318
1318
  t._$AN = s = /* @__PURE__ */ new Set();
1319
1319
  else if (s.has(e))
1320
1320
  break;
1321
- s.add(e), ki(t);
1321
+ s.add(e), Ti(t);
1322
1322
  }
1323
1323
  };
1324
1324
  function Ci(e) {
1325
- this._$AN !== void 0 ? (pt(this), this._$AM = e, Xe(this)) : this._$AM = e;
1325
+ this._$AN !== void 0 ? (pt(this), this._$AM = e, Ze(this)) : this._$AM = e;
1326
1326
  }
1327
- function Ti(e, t = !1, s = 0) {
1327
+ function ki(e, t = !1, s = 0) {
1328
1328
  const i = this._$AH, n = this._$AN;
1329
1329
  if (n !== void 0 && n.size !== 0)
1330
1330
  if (t)
@@ -1336,15 +1336,15 @@ function Ti(e, t = !1, s = 0) {
1336
1336
  else
1337
1337
  q(this, e);
1338
1338
  }
1339
- const ki = (e) => {
1340
- e.type == bt.CHILD && (e._$AP ?? (e._$AP = Ti), e._$AQ ?? (e._$AQ = Ci));
1339
+ const Ti = (e) => {
1340
+ e.type == bt.CHILD && (e._$AP ?? (e._$AP = ki), e._$AQ ?? (e._$AQ = Ci));
1341
1341
  };
1342
- let Je = class extends Ft {
1342
+ let Je = class extends Wt {
1343
1343
  constructor() {
1344
1344
  super(...arguments), this._$AN = void 0;
1345
1345
  }
1346
1346
  _$AT(t, s, i) {
1347
- super._$AT(t, s, i), Xe(this), this.isConnected = t._$AU;
1347
+ super._$AT(t, s, i), Ze(this), this.isConnected = t._$AU;
1348
1348
  }
1349
1349
  _$AO(t, s = !0) {
1350
1350
  var i, n;
@@ -1368,10 +1368,10 @@ let Je = class extends Ft {
1368
1368
  * Copyright 2020 Google LLC
1369
1369
  * SPDX-License-Identifier: BSD-3-Clause
1370
1370
  */
1371
- const Wt = () => new Oi();
1371
+ const Gt = () => new Oi();
1372
1372
  class Oi {
1373
1373
  }
1374
- const Tt = /* @__PURE__ */ new WeakMap(), Gt = _t(class extends Je {
1374
+ const kt = /* @__PURE__ */ new WeakMap(), qt = _t(class extends Je {
1375
1375
  render(e) {
1376
1376
  return u;
1377
1377
  }
@@ -1383,14 +1383,14 @@ const Tt = /* @__PURE__ */ new WeakMap(), Gt = _t(class extends Je {
1383
1383
  ot(e) {
1384
1384
  if (typeof this.G == "function") {
1385
1385
  const t = this.ct ?? globalThis;
1386
- let s = Tt.get(t);
1387
- s === void 0 && (s = /* @__PURE__ */ new WeakMap(), Tt.set(t, s)), s.get(this.G) !== void 0 && this.G.call(this.ct, void 0), s.set(this.G, e), e !== void 0 && this.G.call(this.ct, e);
1386
+ let s = kt.get(t);
1387
+ s === void 0 && (s = /* @__PURE__ */ new WeakMap(), kt.set(t, s)), s.get(this.G) !== void 0 && this.G.call(this.ct, void 0), s.set(this.G, e), e !== void 0 && this.G.call(this.ct, e);
1388
1388
  } else
1389
1389
  this.G.value = e;
1390
1390
  }
1391
1391
  get rt() {
1392
1392
  var e, t;
1393
- return typeof this.G == "function" ? (e = Tt.get(this.ct ?? globalThis)) == null ? void 0 : e.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1393
+ return typeof this.G == "function" ? (e = kt.get(this.ct ?? globalThis)) == null ? void 0 : e.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,7 +1404,7 @@ const Tt = /* @__PURE__ */ new WeakMap(), Gt = _t(class extends Je {
1404
1404
  * Copyright 2018 Google LLC
1405
1405
  * SPDX-License-Identifier: BSD-3-Clause
1406
1406
  */
1407
- const qt = _t(class extends Ft {
1407
+ const Yt = _t(class extends Wt {
1408
1408
  constructor(e) {
1409
1409
  var t;
1410
1410
  if (super(e), e.type !== bt.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2)
@@ -1430,7 +1430,211 @@ const qt = _t(class extends Ft {
1430
1430
  }
1431
1431
  return C;
1432
1432
  }
1433
- }), nt = (e, t, s) => {
1433
+ }), Pi = /* @__PURE__ */ new WeakMap();
1434
+ let be = 0;
1435
+ const Tt = /* @__PURE__ */ new Map(), _e = /* @__PURE__ */ new WeakSet(), xe = () => new Promise((e) => requestAnimationFrame(e)), Li = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ui = [{ opacity: 0 }], we = [{ opacity: 0 }, { opacity: 1 }], Ae = (e, t) => {
1436
+ const s = e - t;
1437
+ return s === 0 ? void 0 : s;
1438
+ }, Se = (e, t) => {
1439
+ const s = e / t;
1440
+ return s === 1 ? void 0 : s;
1441
+ }, Ot = { left: (e, t) => {
1442
+ const s = Ae(e, t);
1443
+ return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
1444
+ }, top: (e, t) => {
1445
+ const s = Ae(e, t);
1446
+ return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateY(${s}px)` };
1447
+ }, width: (e, t) => {
1448
+ let s;
1449
+ t === 0 && (t = 1, s = { width: "1px" });
1450
+ const i = Se(e, t);
1451
+ return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1452
+ }, height: (e, t) => {
1453
+ let s;
1454
+ t === 0 && (t = 1, s = { height: "1px" });
1455
+ const i = Se(e, t);
1456
+ return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1457
+ } }, Ri = { duration: 333, easing: "ease-in-out" }, Hi = ["left", "top", "width", "height", "opacity", "color", "background"], Ee = /* @__PURE__ */ new WeakMap();
1458
+ class Ni extends Je {
1459
+ constructor(t) {
1460
+ if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === bt.CHILD)
1461
+ throw Error("The `animate` directive must be used in attribute position.");
1462
+ this.createFinished();
1463
+ }
1464
+ createFinished() {
1465
+ var t;
1466
+ (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((s) => {
1467
+ this.h = s;
1468
+ });
1469
+ }
1470
+ async resolveFinished() {
1471
+ var t;
1472
+ (t = this.h) == null || t.call(this), this.h = void 0;
1473
+ }
1474
+ render(t) {
1475
+ return u;
1476
+ }
1477
+ getController() {
1478
+ return Pi.get(this.l);
1479
+ }
1480
+ isDisabled() {
1481
+ var t;
1482
+ return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1483
+ }
1484
+ update(t, [s]) {
1485
+ var n;
1486
+ const i = this.l === void 0;
1487
+ return i && (this.l = (n = t.options) == null ? void 0 : n.host, this.l.addController(this), this.element = t.element, Ee.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.u(s), this.render(s);
1488
+ }
1489
+ u(t) {
1490
+ t = t ?? {};
1491
+ const s = this.getController();
1492
+ s !== void 0 && ((t = { ...s.defaultOptions, ...t }).keyframeOptions = { ...s.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = Hi), this.options = t;
1493
+ }
1494
+ p() {
1495
+ const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1496
+ return this.options.properties.forEach((n) => {
1497
+ const r = s[n] ?? (Ot[n] ? void 0 : i[n]), o = Number(r);
1498
+ t[n] = isNaN(o) ? r + "" : o;
1499
+ }), t;
1500
+ }
1501
+ m() {
1502
+ let t, s = !0;
1503
+ return this.options.guard && (t = this.options.guard(), s = ((i, n) => {
1504
+ if (Array.isArray(i)) {
1505
+ if (Array.isArray(n) && n.length === i.length && i.every((r, o) => r === n[o]))
1506
+ return !1;
1507
+ } else if (n === i)
1508
+ return !1;
1509
+ return !0;
1510
+ })(t, this.v)), this.o = this.l.hasUpdated && !this.isDisabled() && !this.isAnimating() && s && this.element.isConnected, this.o && (this.v = Array.isArray(t) ? Array.from(t) : t), this.o;
1511
+ }
1512
+ hostUpdate() {
1513
+ typeof this.optionsOrCallback == "function" && this.u(this.optionsOrCallback()), this.m() && (this.g = this.p(), this.t = this.t ?? this.element.parentNode, this.i = this.element.nextSibling);
1514
+ }
1515
+ async hostUpdated() {
1516
+ if (!this.o || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
1517
+ return;
1518
+ let t;
1519
+ this.prepare(), await xe;
1520
+ const s = this._(), i = this.A(this.options.keyframeOptions, s), n = this.p();
1521
+ if (this.g !== void 0) {
1522
+ const { from: r, to: o } = this.O(this.g, n, s);
1523
+ this.log("measured", [this.g, n, r, o]), t = this.calculateKeyframes(r, o);
1524
+ } else {
1525
+ const r = Tt.get(this.options.inId);
1526
+ if (r) {
1527
+ Tt.delete(this.options.inId);
1528
+ const { from: o, to: a } = this.O(r, n, s);
1529
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, be++, t.forEach((l) => l.zIndex = be);
1530
+ } else
1531
+ this.options.in && (t = [...this.options.in, {}]);
1532
+ }
1533
+ this.animate(t, i);
1534
+ }
1535
+ resetStyles() {
1536
+ this.j !== void 0 && (this.element.setAttribute("style", this.j ?? ""), this.j = void 0);
1537
+ }
1538
+ commitStyles() {
1539
+ var t, s;
1540
+ this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (s = this.webAnimation) == null || s.cancel();
1541
+ }
1542
+ reconnected() {
1543
+ }
1544
+ async disconnected() {
1545
+ var s;
1546
+ if (!this.o || (this.options.id !== void 0 && Tt.set(this.options.id, this.g), this.options.out === void 0))
1547
+ return;
1548
+ if (this.prepare(), await xe(), (s = this.t) == null ? void 0 : s.isConnected) {
1549
+ const i = this.i && this.i.parentNode === this.t ? this.i : null;
1550
+ if (this.t.insertBefore(this.element, i), this.options.stabilizeOut) {
1551
+ const n = this.p();
1552
+ this.log("stabilizing out");
1553
+ const r = this.g.left - n.left, o = this.g.top - n.top;
1554
+ getComputedStyle(this.element).position !== "static" || r === 0 && o === 0 || (this.element.style.position = "relative"), r !== 0 && (this.element.style.left = r + "px"), o !== 0 && (this.element.style.top = o + "px");
1555
+ }
1556
+ }
1557
+ const t = this.A(this.options.keyframeOptions);
1558
+ await this.animate(this.options.out, t), this.element.remove();
1559
+ }
1560
+ prepare() {
1561
+ this.createFinished();
1562
+ }
1563
+ start() {
1564
+ var t, s;
1565
+ (s = (t = this.options).onStart) == null || s.call(t, this);
1566
+ }
1567
+ didFinish(t) {
1568
+ var s, i;
1569
+ t && ((i = (s = this.options).onComplete) == null || i.call(s, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1570
+ }
1571
+ _() {
1572
+ const t = [];
1573
+ for (let s = this.element.parentNode; s; s = s == null ? void 0 : s.parentNode) {
1574
+ const i = Ee.get(s);
1575
+ i && !i.isDisabled() && i && t.push(i);
1576
+ }
1577
+ return t;
1578
+ }
1579
+ get isHostRendered() {
1580
+ const t = _e.has(this.l);
1581
+ return t || this.l.updateComplete.then(() => {
1582
+ _e.add(this.l);
1583
+ }), t;
1584
+ }
1585
+ A(t, s = this._()) {
1586
+ const i = { ...Ri };
1587
+ return s.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1588
+ }
1589
+ O(t, s, i) {
1590
+ t = { ...t }, s = { ...s };
1591
+ const n = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1592
+ let r = 1, o = 1;
1593
+ return n !== void 0 && (n.forEach((a) => {
1594
+ a.width && (r /= a.width), a.height && (o /= a.height);
1595
+ }), t.left !== void 0 && s.left !== void 0 && (t.left = r * t.left, s.left = r * s.left), t.top !== void 0 && s.top !== void 0 && (t.top = o * t.top, s.top = o * s.top)), { from: t, to: s };
1596
+ }
1597
+ calculateKeyframes(t, s, i = !1) {
1598
+ const n = {}, r = {};
1599
+ let o = !1;
1600
+ const a = {};
1601
+ for (const l in s) {
1602
+ const c = t[l], d = s[l];
1603
+ if (l in Ot) {
1604
+ const h = Ot[l];
1605
+ if (c === void 0 || d === void 0)
1606
+ continue;
1607
+ const p = h(c, d);
1608
+ p.transform !== void 0 && (a[l] = p.value, o = !0, n.transform = `${n.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(n, p.overrideFrom));
1609
+ } else
1610
+ c !== d && c !== void 0 && d !== void 0 && (o = !0, n[l] = c, r[l] = d);
1611
+ }
1612
+ return n.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
1613
+ }
1614
+ async animate(t, s = this.options.keyframeOptions) {
1615
+ this.start(), this.frames = t;
1616
+ let i = !1;
1617
+ if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1618
+ this.log("animate", [t, s]), i = !0, this.webAnimation = this.element.animate(t, s);
1619
+ const n = this.getController();
1620
+ n == null || n.add(this);
1621
+ try {
1622
+ await this.webAnimation.finished;
1623
+ } catch {
1624
+ }
1625
+ n == null || n.remove(this);
1626
+ }
1627
+ return this.didFinish(i), i;
1628
+ }
1629
+ isAnimating() {
1630
+ var t, s;
1631
+ return ((t = this.webAnimation) == null ? void 0 : t.playState) === "running" || ((s = this.webAnimation) == null ? void 0 : s.pending);
1632
+ }
1633
+ log(t, s) {
1634
+ this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
1635
+ }
1636
+ }
1637
+ const Rt = _t(Ni), nt = (e, t, s) => {
1434
1638
  e && s.style.setProperty(t, e);
1435
1639
  }, Ve = (e, t) => {
1436
1640
  var s, i, n, r;
@@ -1448,14 +1652,14 @@ const qt = _t(class extends Ft {
1448
1652
  t
1449
1653
  );
1450
1654
  };
1451
- var Pi = Object.defineProperty, Li = Object.getOwnPropertyDescriptor, tt = (e, t, s, i) => {
1452
- for (var n = i > 1 ? void 0 : i ? Li(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1655
+ var Mi = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, tt = (e, t, s, i) => {
1656
+ for (var n = i > 1 ? void 0 : i ? ji(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1453
1657
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1454
- return i && n && Pi(t, s, n), n;
1658
+ return i && n && Mi(t, s, n), n;
1455
1659
  };
1456
- class T extends v {
1660
+ class k extends v {
1457
1661
  constructor() {
1458
- super(...arguments), this.active = !1, this.loaded = !1, this.offset = 0, this.buttonRef = Wt();
1662
+ super(...arguments), this.active = !1, this.loaded = !1, this.offset = 0, this.buttonRef = Gt();
1459
1663
  }
1460
1664
  async connectedCallback() {
1461
1665
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding(), this.offset > 0 && this.buttonRef.value && (this.buttonRef.value.style.right = `calc(${this.offset}px + 20px)`);
@@ -1482,7 +1686,7 @@ class T extends v {
1482
1686
  const i = (c = this.application) == null ? void 0 : c.triggerIcon;
1483
1687
  if (!i)
1484
1688
  return u;
1485
- const n = async (d) => await import("./index-00412454.mjs").then(
1689
+ const n = async (d) => await import("./index-7612a1fb.mjs").then(
1486
1690
  (p) => p[d]
1487
1691
  ), { type: r, content: o } = i;
1488
1692
  switch (r) {
@@ -1504,20 +1708,29 @@ class T extends v {
1504
1708
  render() {
1505
1709
  var t, s, i, n;
1506
1710
  return f`<div class="trigger-container">
1507
- ${(n = (i = (s = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : s.branding) == null ? void 0 : i.other) != null && n.showButtonLabel ? f`
1508
- <button class="trigger-label" @click=${this._toggleActive}>
1711
+ ${!this.active && ((n = (i = (s = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : s.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? f`
1712
+ <button
1713
+ class="trigger-label"
1714
+ @click=${this._toggleActive}
1715
+ ${Rt({
1716
+ keyframeOptions: {},
1717
+ in: Li,
1718
+ stabilizeOut: !0,
1719
+ skipInitial: !1
1720
+ })}
1721
+ >
1509
1722
  ${this.application.settings.branding.other.buttonLabelText}
1510
1723
  </button>
1511
1724
  ` : u}
1512
1725
 
1513
1726
  <button
1514
- class=${qt({
1727
+ class=${Yt({
1515
1728
  trigger: !0,
1516
1729
  active: this.active,
1517
1730
  rendered: this.loaded
1518
1731
  })}
1519
1732
  @click=${this._toggleActive}
1520
- ${Gt(this.buttonRef)}
1733
+ ${qt(this.buttonRef)}
1521
1734
  >
1522
1735
  ${this.icon}
1523
1736
  <span class="trigger-close">
@@ -1551,7 +1764,7 @@ class T extends v {
1551
1764
  </div>`;
1552
1765
  }
1553
1766
  }
1554
- T.styles = [
1767
+ k.styles = [
1555
1768
  _`
1556
1769
  :host {
1557
1770
  --voca-rem-multiplier: 0.625;
@@ -1592,7 +1805,10 @@ T.styles = [
1592
1805
  box-sizing: border-box;
1593
1806
  transition: transform 200ms ease-out;
1594
1807
  }
1595
- .trigger:hover {
1808
+ .trigger:active {
1809
+ transform: scale(0.8) !important;
1810
+ }
1811
+ .trigger:hover:not(:active) {
1596
1812
  transform: scale(1.1) !important;
1597
1813
  }
1598
1814
  .trigger.rendered {
@@ -1660,23 +1876,23 @@ T.styles = [
1660
1876
  ];
1661
1877
  tt([
1662
1878
  $({ attribute: !1 })
1663
- ], T.prototype, "application", 2);
1879
+ ], k.prototype, "application", 2);
1664
1880
  tt([
1665
1881
  A()
1666
- ], T.prototype, "active", 2);
1882
+ ], k.prototype, "active", 2);
1667
1883
  tt([
1668
1884
  A()
1669
- ], T.prototype, "loaded", 2);
1885
+ ], k.prototype, "loaded", 2);
1670
1886
  tt([
1671
1887
  A()
1672
- ], T.prototype, "icon", 2);
1888
+ ], k.prototype, "icon", 2);
1673
1889
  tt([
1674
1890
  A()
1675
- ], T.prototype, "offset", 2);
1676
- var Ui = Object.defineProperty, Ri = Object.getOwnPropertyDescriptor, O = (e, t, s, i) => {
1677
- for (var n = i > 1 ? void 0 : i ? Ri(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1891
+ ], k.prototype, "offset", 2);
1892
+ var Di = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, O = (e, t, s, i) => {
1893
+ for (var n = i > 1 ? void 0 : i ? Ii(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1678
1894
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1679
- return i && n && Ui(t, s, n), n;
1895
+ return i && n && Di(t, s, n), n;
1680
1896
  };
1681
1897
  const ts = (e) => {
1682
1898
  class t extends e {
@@ -1750,21 +1966,21 @@ es.styles = [
1750
1966
  * Copyright 2021 Google LLC
1751
1967
  * SPDX-License-Identifier: BSD-3-Clause
1752
1968
  */
1753
- function* Hi(e, t) {
1969
+ function* zi(e, t) {
1754
1970
  if (e !== void 0) {
1755
1971
  let s = 0;
1756
1972
  for (const i of e)
1757
1973
  yield t(i, s++);
1758
1974
  }
1759
1975
  }
1760
- var Yt = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e))(Yt || {}), Ni = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, ji = (e, t, s, i) => {
1761
- for (var n = i > 1 ? void 0 : i ? Mi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1976
+ var Kt = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e))(Kt || {}), Bi = Object.defineProperty, Fi = Object.getOwnPropertyDescriptor, Wi = (e, t, s, i) => {
1977
+ for (var n = i > 1 ? void 0 : i ? Fi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1762
1978
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1763
- return i && n && Ni(t, s, n), n;
1979
+ return i && n && Bi(t, s, n), n;
1764
1980
  };
1765
- class Kt extends v {
1981
+ class Qt extends v {
1766
1982
  constructor() {
1767
- super(...arguments), this.nodes = [], this.wrapperRef = Wt();
1983
+ super(...arguments), this.nodes = [], this.wrapperRef = Gt();
1768
1984
  }
1769
1985
  addChild(t) {
1770
1986
  t.parent = this, this.nodes.push(t);
@@ -1787,12 +2003,12 @@ class Kt extends v {
1787
2003
  this.applyBranding(), this.applyStyles();
1788
2004
  }
1789
2005
  render() {
1790
- return this.application.renderStrategy === Yt.Trigger && this.renderRoot.host.classList.add("floating"), f`<div class="widget-container" ${Gt(this.wrapperRef)}>
1791
- ${Hi(this.nodes, (t) => t)}
2006
+ return this.application.renderStrategy === Kt.Trigger && this.renderRoot.host.classList.add("floating"), f`<div class="widget-container" ${qt(this.wrapperRef)}>
2007
+ ${zi(this.nodes, (t) => t)}
1792
2008
  </div>`;
1793
2009
  }
1794
2010
  }
1795
- Kt.styles = _`
2011
+ Qt.styles = _`
1796
2012
  :host {
1797
2013
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
1798
2014
  --spacing-xs: 0.2rem;
@@ -1884,13 +2100,13 @@ Kt.styles = _`
1884
2100
  animation: slideDown 0.3s linear;
1885
2101
  }
1886
2102
  `;
1887
- ji([
2103
+ Wi([
1888
2104
  $({ attribute: !1 })
1889
- ], Kt.prototype, "application", 2);
1890
- var Di = Object.defineProperty, Ii = Object.getOwnPropertyDescriptor, Qt = (e, t, s, i) => {
1891
- for (var n = i > 1 ? void 0 : i ? Ii(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2105
+ ], Qt.prototype, "application", 2);
2106
+ var Gi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, Xt = (e, t, s, i) => {
2107
+ for (var n = i > 1 ? void 0 : i ? qi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1892
2108
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1893
- return i && n && Di(t, s, n), n;
2109
+ return i && n && Gi(t, s, n), n;
1894
2110
  };
1895
2111
  class et extends v {
1896
2112
  constructor() {
@@ -1917,8 +2133,8 @@ class et extends v {
1917
2133
  render() {
1918
2134
  if (!this.widget || this.status !== "activated")
1919
2135
  return u;
1920
- if (this.widget.renderStrategy === Yt.Trigger) {
1921
- const t = new T();
2136
+ if (this.widget.renderStrategy === Kt.Trigger) {
2137
+ const t = new k();
1922
2138
  return t.application = this.widget, t;
1923
2139
  }
1924
2140
  return this.widget.render();
@@ -1931,230 +2147,25 @@ et.styles = [
1931
2147
  }
1932
2148
  `
1933
2149
  ];
1934
- Qt([
2150
+ Xt([
1935
2151
  $({ attribute: !0 })
1936
2152
  ], et.prototype, "name", 2);
1937
- Qt([
2153
+ Xt([
1938
2154
  A()
1939
2155
  ], et.prototype, "widget", 2);
1940
- Qt([
2156
+ Xt([
1941
2157
  A()
1942
2158
  ], et.prototype, "status", 2);
1943
- customElements.get("ace-trigger") || customElements.define("ace-trigger", T);
2159
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", k);
1944
2160
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", es);
1945
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Kt);
2161
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Qt);
1946
2162
  customElements.get("ace-widget") || customElements.define("ace-widget", et);
1947
- const Bi = /* @__PURE__ */ new WeakMap();
1948
- let ye = 0;
1949
- const kt = /* @__PURE__ */ new Map(), be = /* @__PURE__ */ new WeakSet(), _e = () => new Promise((e) => requestAnimationFrame(e)), zi = [{ opacity: 0 }], xe = [{ opacity: 0 }, { opacity: 1 }], we = (e, t) => {
1950
- const s = e - t;
1951
- return s === 0 ? void 0 : s;
1952
- }, Ae = (e, t) => {
1953
- const s = e / t;
1954
- return s === 1 ? void 0 : s;
1955
- }, Ot = { left: (e, t) => {
1956
- const s = we(e, t);
1957
- return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
1958
- }, top: (e, t) => {
1959
- const s = we(e, t);
1960
- return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateY(${s}px)` };
1961
- }, width: (e, t) => {
1962
- let s;
1963
- t === 0 && (t = 1, s = { width: "1px" });
1964
- const i = Ae(e, t);
1965
- return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1966
- }, height: (e, t) => {
1967
- let s;
1968
- t === 0 && (t = 1, s = { height: "1px" });
1969
- const i = Ae(e, t);
1970
- return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1971
- } }, Fi = { duration: 333, easing: "ease-in-out" }, Wi = ["left", "top", "width", "height", "opacity", "color", "background"], Se = /* @__PURE__ */ new WeakMap();
1972
- class Gi extends Je {
1973
- constructor(t) {
1974
- if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === bt.CHILD)
1975
- throw Error("The `animate` directive must be used in attribute position.");
1976
- this.createFinished();
1977
- }
1978
- createFinished() {
1979
- var t;
1980
- (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((s) => {
1981
- this.h = s;
1982
- });
1983
- }
1984
- async resolveFinished() {
1985
- var t;
1986
- (t = this.h) == null || t.call(this), this.h = void 0;
1987
- }
1988
- render(t) {
1989
- return u;
1990
- }
1991
- getController() {
1992
- return Bi.get(this.l);
1993
- }
1994
- isDisabled() {
1995
- var t;
1996
- return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1997
- }
1998
- update(t, [s]) {
1999
- var n;
2000
- const i = this.l === void 0;
2001
- return i && (this.l = (n = t.options) == null ? void 0 : n.host, this.l.addController(this), this.element = t.element, Se.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.u(s), this.render(s);
2002
- }
2003
- u(t) {
2004
- t = t ?? {};
2005
- const s = this.getController();
2006
- s !== void 0 && ((t = { ...s.defaultOptions, ...t }).keyframeOptions = { ...s.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = Wi), this.options = t;
2007
- }
2008
- p() {
2009
- const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
2010
- return this.options.properties.forEach((n) => {
2011
- const r = s[n] ?? (Ot[n] ? void 0 : i[n]), o = Number(r);
2012
- t[n] = isNaN(o) ? r + "" : o;
2013
- }), t;
2014
- }
2015
- m() {
2016
- let t, s = !0;
2017
- return this.options.guard && (t = this.options.guard(), s = ((i, n) => {
2018
- if (Array.isArray(i)) {
2019
- if (Array.isArray(n) && n.length === i.length && i.every((r, o) => r === n[o]))
2020
- return !1;
2021
- } else if (n === i)
2022
- return !1;
2023
- return !0;
2024
- })(t, this.v)), this.o = this.l.hasUpdated && !this.isDisabled() && !this.isAnimating() && s && this.element.isConnected, this.o && (this.v = Array.isArray(t) ? Array.from(t) : t), this.o;
2025
- }
2026
- hostUpdate() {
2027
- typeof this.optionsOrCallback == "function" && this.u(this.optionsOrCallback()), this.m() && (this.g = this.p(), this.t = this.t ?? this.element.parentNode, this.i = this.element.nextSibling);
2028
- }
2029
- async hostUpdated() {
2030
- if (!this.o || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
2031
- return;
2032
- let t;
2033
- this.prepare(), await _e;
2034
- const s = this._(), i = this.A(this.options.keyframeOptions, s), n = this.p();
2035
- if (this.g !== void 0) {
2036
- const { from: r, to: o } = this.O(this.g, n, s);
2037
- this.log("measured", [this.g, n, r, o]), t = this.calculateKeyframes(r, o);
2038
- } else {
2039
- const r = kt.get(this.options.inId);
2040
- if (r) {
2041
- kt.delete(this.options.inId);
2042
- const { from: o, to: a } = this.O(r, n, s);
2043
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, ye++, t.forEach((l) => l.zIndex = ye);
2044
- } else
2045
- this.options.in && (t = [...this.options.in, {}]);
2046
- }
2047
- this.animate(t, i);
2048
- }
2049
- resetStyles() {
2050
- this.j !== void 0 && (this.element.setAttribute("style", this.j ?? ""), this.j = void 0);
2051
- }
2052
- commitStyles() {
2053
- var t, s;
2054
- this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (s = this.webAnimation) == null || s.cancel();
2055
- }
2056
- reconnected() {
2057
- }
2058
- async disconnected() {
2059
- var s;
2060
- if (!this.o || (this.options.id !== void 0 && kt.set(this.options.id, this.g), this.options.out === void 0))
2061
- return;
2062
- if (this.prepare(), await _e(), (s = this.t) == null ? void 0 : s.isConnected) {
2063
- const i = this.i && this.i.parentNode === this.t ? this.i : null;
2064
- if (this.t.insertBefore(this.element, i), this.options.stabilizeOut) {
2065
- const n = this.p();
2066
- this.log("stabilizing out");
2067
- const r = this.g.left - n.left, o = this.g.top - n.top;
2068
- getComputedStyle(this.element).position !== "static" || r === 0 && o === 0 || (this.element.style.position = "relative"), r !== 0 && (this.element.style.left = r + "px"), o !== 0 && (this.element.style.top = o + "px");
2069
- }
2070
- }
2071
- const t = this.A(this.options.keyframeOptions);
2072
- await this.animate(this.options.out, t), this.element.remove();
2073
- }
2074
- prepare() {
2075
- this.createFinished();
2076
- }
2077
- start() {
2078
- var t, s;
2079
- (s = (t = this.options).onStart) == null || s.call(t, this);
2080
- }
2081
- didFinish(t) {
2082
- var s, i;
2083
- t && ((i = (s = this.options).onComplete) == null || i.call(s, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
2084
- }
2085
- _() {
2086
- const t = [];
2087
- for (let s = this.element.parentNode; s; s = s == null ? void 0 : s.parentNode) {
2088
- const i = Se.get(s);
2089
- i && !i.isDisabled() && i && t.push(i);
2090
- }
2091
- return t;
2092
- }
2093
- get isHostRendered() {
2094
- const t = be.has(this.l);
2095
- return t || this.l.updateComplete.then(() => {
2096
- be.add(this.l);
2097
- }), t;
2098
- }
2099
- A(t, s = this._()) {
2100
- const i = { ...Fi };
2101
- return s.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
2102
- }
2103
- O(t, s, i) {
2104
- t = { ...t }, s = { ...s };
2105
- const n = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
2106
- let r = 1, o = 1;
2107
- return n !== void 0 && (n.forEach((a) => {
2108
- a.width && (r /= a.width), a.height && (o /= a.height);
2109
- }), t.left !== void 0 && s.left !== void 0 && (t.left = r * t.left, s.left = r * s.left), t.top !== void 0 && s.top !== void 0 && (t.top = o * t.top, s.top = o * s.top)), { from: t, to: s };
2110
- }
2111
- calculateKeyframes(t, s, i = !1) {
2112
- const n = {}, r = {};
2113
- let o = !1;
2114
- const a = {};
2115
- for (const l in s) {
2116
- const c = t[l], d = s[l];
2117
- if (l in Ot) {
2118
- const h = Ot[l];
2119
- if (c === void 0 || d === void 0)
2120
- continue;
2121
- const p = h(c, d);
2122
- p.transform !== void 0 && (a[l] = p.value, o = !0, n.transform = `${n.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(n, p.overrideFrom));
2123
- } else
2124
- c !== d && c !== void 0 && d !== void 0 && (o = !0, n[l] = c, r[l] = d);
2125
- }
2126
- return n.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
2127
- }
2128
- async animate(t, s = this.options.keyframeOptions) {
2129
- this.start(), this.frames = t;
2130
- let i = !1;
2131
- if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
2132
- this.log("animate", [t, s]), i = !0, this.webAnimation = this.element.animate(t, s);
2133
- const n = this.getController();
2134
- n == null || n.add(this);
2135
- try {
2136
- await this.webAnimation.finished;
2137
- } catch {
2138
- }
2139
- n == null || n.remove(this);
2140
- }
2141
- return this.didFinish(i), i;
2142
- }
2143
- isAnimating() {
2144
- var t, s;
2145
- return ((t = this.webAnimation) == null ? void 0 : t.playState) === "running" || ((s = this.webAnimation) == null ? void 0 : s.pending);
2146
- }
2147
- log(t, s) {
2148
- this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
2149
- }
2150
- }
2151
- const Ee = _t(Gi);
2152
- var qi = Object.defineProperty, Yi = Object.getOwnPropertyDescriptor, xt = (e, t, s, i) => {
2153
- for (var n = i > 1 ? void 0 : i ? Yi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2163
+ var Yi = Object.defineProperty, Ki = Object.getOwnPropertyDescriptor, xt = (e, t, s, i) => {
2164
+ for (var n = i > 1 ? void 0 : i ? Ki(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2154
2165
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2155
- return i && n && qi(t, s, n), n;
2166
+ return i && n && Yi(t, s, n), n;
2156
2167
  };
2157
- let B = class extends v {
2168
+ let z = class extends v {
2158
2169
  constructor() {
2159
2170
  super(...arguments), this.loading = !0, this.entries = [];
2160
2171
  }
@@ -2175,9 +2186,9 @@ let B = class extends v {
2175
2186
  (e) => f`<div class="conversation-entry" tabindex="-1">
2176
2187
  <conversation-entry
2177
2188
  .entry=${e}
2178
- ${Ee({
2189
+ ${Rt({
2179
2190
  keyframeOptions: {},
2180
- in: xe,
2191
+ in: we,
2181
2192
  stabilizeOut: !0,
2182
2193
  skipInitial: !1
2183
2194
  })}
@@ -2186,10 +2197,10 @@ let B = class extends v {
2186
2197
  </div>`
2187
2198
  )}
2188
2199
  ${this.loading ? f`<ace-typing-state
2189
- ${Ee({
2200
+ ${Rt({
2190
2201
  keyframeOptions: {},
2191
- in: xe,
2192
- out: zi,
2202
+ in: we,
2203
+ out: Ui,
2193
2204
  stabilizeOut: !0,
2194
2205
  skipInitial: !1
2195
2206
  })}
@@ -2197,7 +2208,7 @@ let B = class extends v {
2197
2208
  </div> `;
2198
2209
  }
2199
2210
  };
2200
- B.styles = [
2211
+ z.styles = [
2201
2212
  _`
2202
2213
  :host {
2203
2214
  display: block;
@@ -2212,20 +2223,20 @@ B.styles = [
2212
2223
  ];
2213
2224
  xt([
2214
2225
  $({ type: Boolean })
2215
- ], B.prototype, "loading", 2);
2226
+ ], z.prototype, "loading", 2);
2216
2227
  xt([
2217
2228
  $({ attribute: !1 })
2218
- ], B.prototype, "session", 2);
2229
+ ], z.prototype, "session", 2);
2219
2230
  xt([
2220
2231
  A()
2221
- ], B.prototype, "entries", 2);
2222
- B = xt([
2232
+ ], z.prototype, "entries", 2);
2233
+ z = xt([
2223
2234
  V("ace-conversation-session")
2224
- ], B);
2225
- var Ki = Object.defineProperty, Qi = Object.getOwnPropertyDescriptor, ss = (e, t, s, i) => {
2226
- for (var n = i > 1 ? void 0 : i ? Qi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2235
+ ], z);
2236
+ var Qi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, ss = (e, t, s, i) => {
2237
+ for (var n = i > 1 ? void 0 : i ? Xi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2227
2238
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2228
- return i && n && Ki(t, s, n), n;
2239
+ return i && n && Qi(t, s, n), n;
2229
2240
  };
2230
2241
  let ut = class extends v {
2231
2242
  connectedCallback() {
@@ -2251,7 +2262,7 @@ let ut = class extends v {
2251
2262
  return "";
2252
2263
  case wt.Agent:
2253
2264
  return f`<div
2254
- class=${qt({
2265
+ class=${Yt({
2255
2266
  "conversation-agent-message": !0,
2256
2267
  "has-avatar": !!((e = this.entry.sender) != null && e.avatar)
2257
2268
  })}
@@ -2390,8 +2401,8 @@ ss([
2390
2401
  ut = ss([
2391
2402
  V("conversation-entry")
2392
2403
  ], ut);
2393
- var Zi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, is = (e, t, s, i) => {
2394
- for (var n = i > 1 ? void 0 : i ? Xi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2404
+ var Zi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, is = (e, t, s, i) => {
2405
+ for (var n = i > 1 ? void 0 : i ? Ji(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2395
2406
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2396
2407
  return i && n && Zi(t, s, n), n;
2397
2408
  };
@@ -2432,12 +2443,12 @@ is([
2432
2443
  ft = is([
2433
2444
  V("conversation-group")
2434
2445
  ], ft);
2435
- var Ji = Object.defineProperty, Vi = Object.getOwnPropertyDescriptor, tn = (e, t, s, i) => {
2436
- for (var n = i > 1 ? void 0 : i ? Vi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2446
+ var Vi = Object.defineProperty, tn = Object.getOwnPropertyDescriptor, en = (e, t, s, i) => {
2447
+ for (var n = i > 1 ? void 0 : i ? tn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2437
2448
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2438
- return i && n && Ji(t, s, n), n;
2449
+ return i && n && Vi(t, s, n), n;
2439
2450
  };
2440
- let Rt = class extends v {
2451
+ let Ht = class extends v {
2441
2452
  render() {
2442
2453
  return f`<div class="container">
2443
2454
  <div class="dot"></div>
@@ -2446,7 +2457,7 @@ let Rt = class extends v {
2446
2457
  </div>`;
2447
2458
  }
2448
2459
  };
2449
- Rt.styles = [
2460
+ Ht.styles = [
2450
2461
  _`
2451
2462
  :host {
2452
2463
  display: block;
@@ -2483,15 +2494,15 @@ Rt.styles = [
2483
2494
  }
2484
2495
  `
2485
2496
  ];
2486
- Rt = tn([
2497
+ Ht = en([
2487
2498
  V("ace-typing-state")
2488
- ], Rt);
2499
+ ], Ht);
2489
2500
  /**
2490
2501
  * @license
2491
2502
  * Copyright 2017 Google LLC
2492
2503
  * SPDX-License-Identifier: BSD-3-Clause
2493
2504
  */
2494
- class Ht extends Ft {
2505
+ class Nt extends Wt {
2495
2506
  constructor(t) {
2496
2507
  if (super(t), this.et = u, t.type !== bt.CHILD)
2497
2508
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
@@ -2510,17 +2521,17 @@ class Ht extends Ft {
2510
2521
  return s.raw = s, this.vt = { _$litType$: this.constructor.resultType, strings: s, values: [] };
2511
2522
  }
2512
2523
  }
2513
- Ht.directiveName = "unsafeHTML", Ht.resultType = 1;
2514
- const en = _t(Ht);
2515
- var sn = Object.defineProperty, nn = Object.getOwnPropertyDescriptor, ns = (e, t, s, i) => {
2516
- for (var n = i > 1 ? void 0 : i ? nn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2524
+ Nt.directiveName = "unsafeHTML", Nt.resultType = 1;
2525
+ const sn = _t(Nt);
2526
+ var nn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, ns = (e, t, s, i) => {
2527
+ for (var n = i > 1 ? void 0 : i ? rn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2517
2528
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2518
- return i && n && sn(t, s, n), n;
2529
+ return i && n && nn(t, s, n), n;
2519
2530
  };
2520
2531
  let gt = class extends v {
2521
2532
  render() {
2522
2533
  return f`<div class="message-type-html">
2523
- ${en(this.message.content)}
2534
+ ${sn(this.message.content)}
2524
2535
  </div>`;
2525
2536
  }
2526
2537
  };
@@ -2545,17 +2556,17 @@ ns([
2545
2556
  gt = ns([
2546
2557
  V("message-type-html")
2547
2558
  ], gt);
2548
- var rn = Object.defineProperty, on = Object.getOwnPropertyDescriptor, Zt = (e, t, s, i) => {
2549
- for (var n = i > 1 ? void 0 : i ? on(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2559
+ var on = Object.defineProperty, an = Object.getOwnPropertyDescriptor, Zt = (e, t, s, i) => {
2560
+ for (var n = i > 1 ? void 0 : i ? an(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2550
2561
  (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2551
- return i && n && rn(t, s, n), n;
2562
+ return i && n && on(t, s, n), n;
2552
2563
  };
2553
- const an = (e) => {
2564
+ const ln = (e) => {
2554
2565
  e.scrollTo ? e.scrollTo({ top: e.scrollHeight, behavior: "smooth" }) : e.scrollTop = e.scrollHeight;
2555
2566
  }, rs = ts(v);
2556
- class z extends rs {
2567
+ class B extends rs {
2557
2568
  constructor() {
2558
- super(...arguments), this.message = "", this.platform = null, this.session = null, this.conversationContentRef = Wt(), this.chatScrollHeight = 0;
2569
+ super(...arguments), this.message = "", this.platform = null, this.session = null, this.conversationContentRef = Gt(), this.chatScrollHeight = 0;
2559
2570
  }
2560
2571
  async connectedCallback() {
2561
2572
  super.connectedCallback();
@@ -2580,18 +2591,18 @@ class z extends rs {
2580
2591
  const t = this.conversationContentRef.value;
2581
2592
  t && setTimeout(() => {
2582
2593
  const s = t.scrollHeight;
2583
- s > this.chatScrollHeight && (an(t), this.chatScrollHeight = s);
2594
+ s > this.chatScrollHeight && (ln(t), this.chatScrollHeight = s);
2584
2595
  }, 1e3);
2585
2596
  }
2586
2597
  render() {
2587
2598
  return f` <div
2588
2599
  @action=${this._actionHandler}
2589
- class=${qt({
2600
+ class=${Yt({
2590
2601
  conversation: !0,
2591
2602
  "input-has-text": this.message.length > 0
2592
2603
  })}
2593
2604
  >
2594
- <div class="conversation-content" ${Gt(this.conversationContentRef)}>
2605
+ <div class="conversation-content" ${qt(this.conversationContentRef)}>
2595
2606
  ${this.session ? f`<ace-conversation-session
2596
2607
  @updated=${this.onSessionUpdated}
2597
2608
  .session=${this.session}
@@ -2612,7 +2623,7 @@ class z extends rs {
2612
2623
  </div>`;
2613
2624
  }
2614
2625
  }
2615
- z.styles = [
2626
+ B.styles = [
2616
2627
  rs.styles || [],
2617
2628
  _`
2618
2629
  :host {
@@ -2724,19 +2735,19 @@ z.styles = [
2724
2735
  ];
2725
2736
  Zt([
2726
2737
  A()
2727
- ], z.prototype, "message", 2);
2738
+ ], B.prototype, "message", 2);
2728
2739
  Zt([
2729
2740
  A()
2730
- ], z.prototype, "platform", 2);
2741
+ ], B.prototype, "platform", 2);
2731
2742
  Zt([
2732
2743
  A()
2733
- ], z.prototype, "session", 2);
2734
- const gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2744
+ ], B.prototype, "session", 2);
2745
+ const $n = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2735
2746
  __proto__: null,
2736
- Conversation: z,
2737
- default: z
2747
+ Conversation: B,
2748
+ default: B
2738
2749
  }, Symbol.toStringTag, { value: "Module" }));
2739
2750
  export {
2740
- gn as c,
2751
+ $n as c,
2741
2752
  Ss as s
2742
2753
  };