@telia-ace/widget-components-area-flamingo 1.1.77 → 1.1.79-rc.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,8 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const Y = globalThis, gt = Y.ShadowRoot && (Y.ShadyCSS === void 0 || Y.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, vt = Symbol(), Ct = /* @__PURE__ */ new WeakMap();
7
- let Kt = class {
6
+ const W = globalThis, gt = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, vt = Symbol(), Et = /* @__PURE__ */ new WeakMap();
7
+ let Gt = class {
8
8
  constructor(t, e, i) {
9
9
  if (this._$cssResult$ = !0, i !== vt)
10
10
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -15,7 +15,7 @@ let Kt = class {
15
15
  const e = this.t;
16
16
  if (gt && t === void 0) {
17
17
  const i = e !== void 0 && e.length === 1;
18
- i && (t = Ct.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ct.set(e, t));
18
+ i && (t = Et.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Et.set(e, t));
19
19
  }
20
20
  return t;
21
21
  }
@@ -23,7 +23,7 @@ let Kt = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const ge = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), O = (s, ...t) => {
26
+ const ve = (s) => new Gt(typeof s == "string" ? s : s + "", void 0, vt), O = (s, ...t) => {
27
27
  const e = s.length === 1 ? s[0] : t.reduce((i, r, o) => i + ((n) => {
28
28
  if (n._$cssResult$ === !0)
29
29
  return n.cssText;
@@ -31,30 +31,30 @@ const ge = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), O = (s,
31
31
  return n;
32
32
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
33
  })(r) + s[o + 1], s[0]);
34
- return new Kt(e, s, vt);
35
- }, ve = (s, t) => {
34
+ return new Gt(e, s, vt);
35
+ }, me = (s, t) => {
36
36
  if (gt)
37
37
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else
39
39
  for (const e of t) {
40
- const i = document.createElement("style"), r = Y.litNonce;
40
+ const i = document.createElement("style"), r = W.litNonce;
41
41
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
42
42
  }
43
43
  }, St = gt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
44
44
  let e = "";
45
45
  for (const i of t.cssRules)
46
46
  e += i.cssText;
47
- return ge(e);
47
+ return ve(e);
48
48
  })(s) : s;
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- const { is: me, defineProperty: ye, getOwnPropertyDescriptor: be, getOwnPropertyNames: $e, getOwnPropertySymbols: _e, getPrototypeOf: we } = Object, _ = globalThis, Et = _.trustedTypes, Ae = Et ? Et.emptyScript : "", et = _.reactiveElementPolyfillSupport, M = (s, t) => s, Z = { toAttribute(s, t) {
54
+ const { is: ye, defineProperty: be, getOwnPropertyDescriptor: $e, getOwnPropertyNames: _e, getOwnPropertySymbols: we, getPrototypeOf: Ae } = Object, _ = globalThis, Pt = _.trustedTypes, xe = Pt ? Pt.emptyScript : "", tt = _.reactiveElementPolyfillSupport, M = (s, t) => s, q = { toAttribute(s, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- s = s ? Ae : null;
57
+ s = s ? xe : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
@@ -79,7 +79,7 @@ const { is: me, defineProperty: ye, getOwnPropertyDescriptor: be, getOwnProperty
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, mt = (s, t) => !me(s, t), Pt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt };
82
+ } }, mt = (s, t) => !ye(s, t), Ot = { attribute: !0, type: String, converter: q, reflect: !1, hasChanged: mt };
83
83
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
84
  let k = class extends HTMLElement {
85
85
  static addInitializer(t) {
@@ -88,14 +88,14 @@ let k = class extends HTMLElement {
88
88
  static get observedAttributes() {
89
89
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
90
90
  }
91
- static createProperty(t, e = Pt) {
91
+ static createProperty(t, e = Ot) {
92
92
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
93
93
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
94
- r !== void 0 && ye(this.prototype, t, r);
94
+ r !== void 0 && be(this.prototype, t, r);
95
95
  }
96
96
  }
97
97
  static getPropertyDescriptor(t, e, i) {
98
- const { get: r, set: o } = be(this.prototype, t) ?? { get() {
98
+ const { get: r, set: o } = $e(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
100
  }, set(n) {
101
101
  this[e] = n;
@@ -108,19 +108,19 @@ let k = class extends HTMLElement {
108
108
  }, configurable: !0, enumerable: !0 };
109
109
  }
110
110
  static getPropertyOptions(t) {
111
- return this.elementProperties.get(t) ?? Pt;
111
+ return this.elementProperties.get(t) ?? Ot;
112
112
  }
113
113
  static _$Ei() {
114
114
  if (this.hasOwnProperty(M("elementProperties")))
115
115
  return;
116
- const t = we(this);
116
+ const t = Ae(this);
117
117
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
118
118
  }
119
119
  static finalize() {
120
120
  if (this.hasOwnProperty(M("finalized")))
121
121
  return;
122
122
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(M("properties"))) {
123
- const e = this.properties, i = [...$e(e), ..._e(e)];
123
+ const e = this.properties, i = [..._e(e), ...we(e)];
124
124
  for (const r of i)
125
125
  this.createProperty(r, e[r]);
126
126
  }
@@ -175,7 +175,7 @@ let k = class extends HTMLElement {
175
175
  }
176
176
  createRenderRoot() {
177
177
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
178
- return ve(t, this.constructor.elementStyles), t;
178
+ return me(t, this.constructor.elementStyles), t;
179
179
  }
180
180
  connectedCallback() {
181
181
  var t;
@@ -200,7 +200,7 @@ let k = class extends HTMLElement {
200
200
  var o;
201
201
  const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
202
202
  if (r !== void 0 && i.reflect === !0) {
203
- const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
203
+ const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : q).toAttribute(e, i.type);
204
204
  this._$Em = t, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
205
205
  }
206
206
  }
@@ -208,7 +208,7 @@ let k = class extends HTMLElement {
208
208
  var o;
209
209
  const i = this.constructor, r = i._$Eh.get(t);
210
210
  if (r !== void 0 && this._$Em !== r) {
211
- const n = i.getPropertyOptions(r), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((o = n.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? n.converter : Z;
211
+ const n = i.getPropertyOptions(r), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((o = n.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? n.converter : q;
212
212
  this._$Em = r, this[r] = a.fromAttribute(e, n.type), this._$Em = null;
213
213
  }
214
214
  }
@@ -292,63 +292,63 @@ let k = class extends HTMLElement {
292
292
  firstUpdated(t) {
293
293
  }
294
294
  };
295
- k.elementStyles = [], k.shadowRootOptions = { mode: "open" }, k[M("elementProperties")] = /* @__PURE__ */ new Map(), k[M("finalized")] = /* @__PURE__ */ new Map(), et == null || et({ ReactiveElement: k }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.4");
295
+ k.elementStyles = [], k.shadowRootOptions = { mode: "open" }, k[M("elementProperties")] = /* @__PURE__ */ new Map(), k[M("finalized")] = /* @__PURE__ */ new Map(), tt == null || tt({ ReactiveElement: k }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.4");
296
296
  /**
297
297
  * @license
298
298
  * Copyright 2017 Google LLC
299
299
  * SPDX-License-Identifier: BSD-3-Clause
300
300
  */
301
- const N = globalThis, K = N.trustedTypes, Ot = K ? K.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Gt = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, Xt = "?" + $, xe = `<${Xt}>`, E = document, H = () => E.createComment(""), I = (s) => s === null || typeof s != "object" && typeof s != "function", Jt = Array.isArray, Ce = (s) => Jt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", it = `[
302
- \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Tt = /-->/g, kt = />/g, A = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ut = /'/g, Rt = /"/g, Qt = /^(?:script|style|textarea|title)$/i, Se = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = Se(1), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
301
+ const N = globalThis, Z = N.trustedTypes, Tt = Z ? Z.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Xt = "$lit$", $ = `lit$${Math.random().toFixed(9).slice(2)}$`, Jt = "?" + $, Ce = `<${Jt}>`, S = document, H = () => S.createComment(""), I = (s) => s === null || typeof s != "object" && typeof s != "function", yt = Array.isArray, Ee = (s) => yt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", et = `[
302
+ \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, kt = /-->/g, Ut = />/g, A = RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
303
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Rt = /'/g, jt = /"/g, Qt = /^(?:script|style|textarea|title)$/i, Se = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = Se(1), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Mt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
304
304
  function te(s, t) {
305
- if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
305
+ if (!yt(s) || !s.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
- return Ot !== void 0 ? Ot.createHTML(t) : t;
307
+ return Tt !== void 0 ? Tt.createHTML(t) : t;
308
308
  }
309
- const Ee = (s, t) => {
309
+ const Pe = (s, t) => {
310
310
  const e = s.length - 1, i = [];
311
- let r, o = t === 2 ? "<svg>" : "", n = j;
311
+ let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = j;
312
312
  for (let a = 0; a < e; a++) {
313
313
  const c = s[a];
314
314
  let h, l, p = -1, u = 0;
315
315
  for (; u < c.length && (n.lastIndex = u, l = n.exec(c), l !== null); )
316
- u = n.lastIndex, n === j ? l[1] === "!--" ? n = Tt : l[1] !== void 0 ? n = kt : l[2] !== void 0 ? (Qt.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = A) : l[3] !== void 0 && (n = A) : n === A ? l[0] === ">" ? (n = r ?? j, p = -1) : l[1] === void 0 ? p = -2 : (p = n.lastIndex - l[2].length, h = l[1], n = l[3] === void 0 ? A : l[3] === '"' ? Rt : Ut) : n === Rt || n === Ut ? n = A : n === Tt || n === kt ? n = j : (n = A, r = void 0);
316
+ u = n.lastIndex, n === j ? l[1] === "!--" ? n = kt : l[1] !== void 0 ? n = Ut : l[2] !== void 0 ? (Qt.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = A) : l[3] !== void 0 && (n = A) : n === A ? l[0] === ">" ? (n = r ?? j, p = -1) : l[1] === void 0 ? p = -2 : (p = n.lastIndex - l[2].length, h = l[1], n = l[3] === void 0 ? A : l[3] === '"' ? jt : Rt) : n === jt || n === Rt ? n = A : n === kt || n === Ut ? n = j : (n = A, r = void 0);
317
317
  const f = n === A && s[a + 1].startsWith("/>") ? " " : "";
318
- o += n === j ? c + xe : p >= 0 ? (i.push(h), c.slice(0, p) + Gt + c.slice(p) + $ + f) : c + $ + (p === -2 ? a : f);
318
+ o += n === j ? c + Ce : p >= 0 ? (i.push(h), c.slice(0, p) + Xt + c.slice(p) + $ + f) : c + $ + (p === -2 ? a : f);
319
319
  }
320
- return [te(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
320
+ return [te(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
321
321
  };
322
- class D {
322
+ let ht = class ee {
323
323
  constructor({ strings: t, _$litType$: e }, i) {
324
324
  let r;
325
325
  this.parts = [];
326
326
  let o = 0, n = 0;
327
- const a = t.length - 1, c = this.parts, [h, l] = Ee(t, e);
328
- if (this.el = D.createElement(h, i), S.currentNode = this.el.content, e === 2) {
327
+ const a = t.length - 1, c = this.parts, [h, l] = Pe(t, e);
328
+ if (this.el = ee.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
329
329
  const p = this.el.content.firstChild;
330
330
  p.replaceWith(...p.childNodes);
331
331
  }
332
- for (; (r = S.nextNode()) !== null && c.length < a; ) {
332
+ for (; (r = E.nextNode()) !== null && c.length < a; ) {
333
333
  if (r.nodeType === 1) {
334
334
  if (r.hasAttributes())
335
335
  for (const p of r.getAttributeNames())
336
- if (p.endsWith(Gt)) {
336
+ if (p.endsWith(Xt)) {
337
337
  const u = l[n++], f = r.getAttribute(p).split($), T = /([.?@])?(.*)/.exec(u);
338
- c.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Oe : T[1] === "?" ? Te : T[1] === "@" ? ke : Q }), r.removeAttribute(p);
338
+ c.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Te : T[1] === "?" ? ke : T[1] === "@" ? Ue : J }), r.removeAttribute(p);
339
339
  } else
340
340
  p.startsWith($) && (c.push({ type: 6, index: o }), r.removeAttribute(p));
341
341
  if (Qt.test(r.tagName)) {
342
342
  const p = r.textContent.split($), u = p.length - 1;
343
343
  if (u > 0) {
344
- r.textContent = K ? K.emptyScript : "";
344
+ r.textContent = Z ? Z.emptyScript : "";
345
345
  for (let f = 0; f < u; f++)
346
- r.append(p[f], H()), S.nextNode(), c.push({ type: 2, index: ++o });
346
+ r.append(p[f], H()), E.nextNode(), c.push({ type: 2, index: ++o });
347
347
  r.append(p[u], H());
348
348
  }
349
349
  }
350
350
  } else if (r.nodeType === 8)
351
- if (r.data === Xt)
351
+ if (r.data === Jt)
352
352
  c.push({ type: 2, index: o });
353
353
  else {
354
354
  let p = -1;
@@ -359,10 +359,10 @@ class D {
359
359
  }
360
360
  }
361
361
  static createElement(t, e) {
362
- const i = E.createElement("template");
362
+ const i = S.createElement("template");
363
363
  return i.innerHTML = t, i;
364
364
  }
365
- }
365
+ };
366
366
  function U(s, t, e = s, i) {
367
367
  var n, a;
368
368
  if (t === P)
@@ -371,7 +371,7 @@ function U(s, t, e = s, i) {
371
371
  const o = I(t) ? void 0 : t._$litDirective$;
372
372
  return (r == null ? void 0 : r.constructor) !== o && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), o === void 0 ? r = void 0 : (r = new o(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = U(s, r._$AS(s, t.values), r, i)), t;
373
373
  }
374
- class Pe {
374
+ class Oe {
375
375
  constructor(t, e) {
376
376
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
377
377
  }
@@ -382,17 +382,17 @@ class Pe {
382
382
  return this._$AM._$AU;
383
383
  }
384
384
  u(t) {
385
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
386
- S.currentNode = r;
387
- let o = S.nextNode(), n = 0, a = 0, c = i[0];
385
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
386
+ E.currentNode = r;
387
+ let o = E.nextNode(), n = 0, a = 0, c = i[0];
388
388
  for (; c !== void 0; ) {
389
389
  if (n === c.index) {
390
390
  let h;
391
- c.type === 2 ? h = new B(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Ue(o, this, t)), this._$AV.push(h), c = i[++a];
391
+ c.type === 2 ? h = new B(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Re(o, this, t)), this._$AV.push(h), c = i[++a];
392
392
  }
393
- n !== (c == null ? void 0 : c.index) && (o = S.nextNode(), n++);
393
+ n !== (c == null ? void 0 : c.index) && (o = E.nextNode(), n++);
394
394
  }
395
- return S.currentNode = E, r;
395
+ return E.currentNode = S, r;
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
@@ -420,37 +420,37 @@ class B {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = U(this, t, e), I(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ce(t) ? this.k(t) : this._(t);
423
+ t = U(this, t, e), I(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ee(t) ? this.k(t) : this._(t);
424
424
  }
425
- S(t) {
425
+ O(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
427
427
  }
428
428
  T(t) {
429
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
429
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== d && I(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
432
+ this._$AH !== d && I(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
433
433
  }
434
434
  $(t) {
435
435
  var o;
436
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = D.createElement(te(i.h, i.h[0]), this.options)), i);
436
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ht.createElement(te(i.h, i.h[0]), this.options)), i);
437
437
  if (((o = this._$AH) == null ? void 0 : o._$AD) === r)
438
438
  this._$AH.p(e);
439
439
  else {
440
- const n = new Pe(r, this), a = n.u(this.options);
440
+ const n = new Oe(r, this), a = n.u(this.options);
441
441
  n.p(e), this.T(a), this._$AH = n;
442
442
  }
443
443
  }
444
444
  _$AC(t) {
445
- let e = jt.get(t.strings);
446
- return e === void 0 && jt.set(t.strings, e = new D(t)), e;
445
+ let e = Mt.get(t.strings);
446
+ return e === void 0 && Mt.set(t.strings, e = new ht(t)), e;
447
447
  }
448
448
  k(t) {
449
- Jt(this._$AH) || (this._$AH = [], this._$AR());
449
+ yt(this._$AH) || (this._$AH = [], this._$AR());
450
450
  const e = this._$AH;
451
451
  let i, r = 0;
452
452
  for (const o of t)
453
- r === e.length ? e.push(i = new B(this.S(H()), this.S(H()), this, this.options)) : i = e[r], i._$AI(o), r++;
453
+ r === e.length ? e.push(i = new B(this.O(H()), this.O(H()), this, this.options)) : i = e[r], i._$AI(o), r++;
454
454
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
455
455
  }
456
456
  _$AR(t = this._$AA.nextSibling, e) {
@@ -465,7 +465,7 @@ class B {
465
465
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
466
466
  }
467
467
  }
468
- class Q {
468
+ class J {
469
469
  get tagName() {
470
470
  return this.element.tagName;
471
471
  }
@@ -492,7 +492,7 @@ class Q {
492
492
  t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
- class Oe extends Q {
495
+ class Te extends J {
496
496
  constructor() {
497
497
  super(...arguments), this.type = 3;
498
498
  }
@@ -500,7 +500,7 @@ class Oe extends Q {
500
500
  this.element[this.name] = t === d ? void 0 : t;
501
501
  }
502
502
  }
503
- class Te extends Q {
503
+ class ke extends J {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
@@ -508,7 +508,7 @@ class Te extends Q {
508
508
  this.element.toggleAttribute(this.name, !!t && t !== d);
509
509
  }
510
510
  }
511
- class ke extends Q {
511
+ class Ue extends J {
512
512
  constructor(t, e, i, r, o) {
513
513
  super(t, e, i, r, o), this.type = 5;
514
514
  }
@@ -523,7 +523,7 @@ class ke extends Q {
523
523
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
524
524
  }
525
525
  }
526
- class Ue {
526
+ class Re {
527
527
  constructor(t, e, i) {
528
528
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
529
529
  }
@@ -534,9 +534,9 @@ class Ue {
534
534
  U(this, t);
535
535
  }
536
536
  }
537
- const st = N.litHtmlPolyfillSupport;
538
- st == null || st(D, B), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.2");
539
- const Re = (s, t, e) => {
537
+ const it = N.litHtmlPolyfillSupport;
538
+ it == null || it(ht, B), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
539
+ const je = (s, t, e) => {
540
540
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
541
541
  let r = i._$litPart$;
542
542
  if (r === void 0) {
@@ -561,7 +561,7 @@ let m = class extends k {
561
561
  }
562
562
  update(t) {
563
563
  const e = this.render();
564
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Re(e, this.renderRoot, this.renderOptions);
564
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = je(e, this.renderRoot, this.renderOptions);
565
565
  }
566
566
  connectedCallback() {
567
567
  var t;
@@ -575,17 +575,17 @@ let m = class extends k {
575
575
  return P;
576
576
  }
577
577
  };
578
- var Zt;
579
- m._$litElement$ = !0, m.finalized = !0, (Zt = globalThis.litElementHydrateSupport) == null || Zt.call(globalThis, { LitElement: m });
580
- const rt = globalThis.litElementPolyfillSupport;
581
- rt == null || rt({ LitElement: m });
582
- (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
578
+ var Kt;
579
+ m._$litElement$ = !0, m.finalized = !0, (Kt = globalThis.litElementHydrateSupport) == null || Kt.call(globalThis, { LitElement: m });
580
+ const st = globalThis.litElementPolyfillSupport;
581
+ st == null || st({ LitElement: m });
582
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
583
583
  /**
584
584
  * @license
585
585
  * Copyright 2021 Google LLC
586
586
  * SPDX-License-Identifier: BSD-3-Clause
587
587
  */
588
- function* ee(s, t) {
588
+ function* ie(s, t) {
589
589
  if (s !== void 0) {
590
590
  let e = 0;
591
591
  for (const i of s)
@@ -600,7 +600,7 @@ var lt = function(s, t) {
600
600
  Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
601
601
  }, lt(s, t);
602
602
  };
603
- function z(s, t) {
603
+ function D(s, t) {
604
604
  if (typeof t != "function" && t !== null)
605
605
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
606
606
  lt(s, t);
@@ -621,7 +621,7 @@ function pt(s) {
621
621
  };
622
622
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
623
623
  }
624
- function G(s, t) {
624
+ function K(s, t) {
625
625
  var e = typeof Symbol == "function" && s[Symbol.iterator];
626
626
  if (!e)
627
627
  return s;
@@ -641,7 +641,7 @@ function G(s, t) {
641
641
  }
642
642
  return o;
643
643
  }
644
- function X(s, t, e) {
644
+ function G(s, t, e) {
645
645
  if (e || arguments.length === 2)
646
646
  for (var i = 0, r = t.length, o; i < r; i++)
647
647
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
@@ -650,13 +650,13 @@ function X(s, t, e) {
650
650
  function b(s) {
651
651
  return typeof s == "function";
652
652
  }
653
- function ie(s) {
653
+ function se(s) {
654
654
  var t = function(i) {
655
655
  Error.call(i), i.stack = new Error().stack;
656
656
  }, e = s(t);
657
657
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
658
658
  }
659
- var ot = ie(function(s) {
659
+ var rt = se(function(s) {
660
660
  return function(e) {
661
661
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
662
662
  ` + e.map(function(i, r) {
@@ -671,7 +671,7 @@ function dt(s, t) {
671
671
  0 <= e && s.splice(e, 1);
672
672
  }
673
673
  }
674
- var tt = function() {
674
+ var Q = function() {
675
675
  function s(t) {
676
676
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
677
677
  }
@@ -704,7 +704,7 @@ var tt = function() {
704
704
  try {
705
705
  l();
706
706
  } catch (v) {
707
- o = v instanceof ot ? v.errors : [v];
707
+ o = v instanceof rt ? v.errors : [v];
708
708
  }
709
709
  var p = this._finalizers;
710
710
  if (p) {
@@ -713,9 +713,9 @@ var tt = function() {
713
713
  for (var u = pt(p), f = u.next(); !f.done; f = u.next()) {
714
714
  var T = f.value;
715
715
  try {
716
- Mt(T);
716
+ Nt(T);
717
717
  } catch (v) {
718
- o = o ?? [], v instanceof ot ? o = X(X([], G(o)), G(v.errors)) : o.push(v);
718
+ o = o ?? [], v instanceof rt ? o = G(G([], K(o)), K(v.errors)) : o.push(v);
719
719
  }
720
720
  }
721
721
  } catch (v) {
@@ -730,13 +730,13 @@ var tt = function() {
730
730
  }
731
731
  }
732
732
  if (o)
733
- throw new ot(o);
733
+ throw new rt(o);
734
734
  }
735
735
  }, s.prototype.add = function(t) {
736
736
  var e;
737
737
  if (t && t !== this)
738
738
  if (this.closed)
739
- Mt(t);
739
+ Nt(t);
740
740
  else {
741
741
  if (t instanceof s) {
742
742
  if (t.closed || t._hasParent(this))
@@ -761,14 +761,14 @@ var tt = function() {
761
761
  var t = new s();
762
762
  return t.closed = !0, t;
763
763
  }(), s;
764
- }(), se = tt.EMPTY;
765
- function re(s) {
766
- return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
764
+ }(), re = Q.EMPTY;
765
+ function oe(s) {
766
+ return s instanceof Q || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
767
767
  }
768
- function Mt(s) {
768
+ function Nt(s) {
769
769
  b(s) ? s() : s.unsubscribe();
770
770
  }
771
- var oe = {
771
+ var ne = {
772
772
  onUnhandledError: null,
773
773
  onStoppedNotification: null,
774
774
  Promise: void 0,
@@ -779,7 +779,7 @@ var oe = {
779
779
  for (var e = [], i = 2; i < arguments.length; i++)
780
780
  e[i - 2] = arguments[i];
781
781
  var r = ut.delegate;
782
- return r != null && r.setTimeout ? r.setTimeout.apply(r, X([s, t], G(e))) : setTimeout.apply(void 0, X([s, t], G(e)));
782
+ return r != null && r.setTimeout ? r.setTimeout.apply(r, G([s, t], K(e))) : setTimeout.apply(void 0, G([s, t], K(e)));
783
783
  },
784
784
  clearTimeout: function(s) {
785
785
  var t = ut.delegate;
@@ -787,21 +787,21 @@ var oe = {
787
787
  },
788
788
  delegate: void 0
789
789
  };
790
- function je(s) {
790
+ function Me(s) {
791
791
  ut.setTimeout(function() {
792
792
  throw s;
793
793
  });
794
794
  }
795
- function Nt() {
795
+ function Lt() {
796
796
  }
797
- function q(s) {
797
+ function Y(s) {
798
798
  s();
799
799
  }
800
- var ne = function(s) {
801
- z(t, s);
800
+ var ae = function(s) {
801
+ D(t, s);
802
802
  function t(e) {
803
803
  var i = s.call(this) || this;
804
- return i.isStopped = !1, e ? (i.destination = e, re(e) && e.add(i)) : i.destination = He, i;
804
+ return i.isStopped = !1, e ? (i.destination = e, oe(e) && e.add(i)) : i.destination = Ie, i;
805
805
  }
806
806
  return t.create = function(e, i, r) {
807
807
  return new ft(e, i, r);
@@ -828,11 +828,11 @@ var ne = function(s) {
828
828
  this.unsubscribe();
829
829
  }
830
830
  }, t;
831
- }(tt), Me = Function.prototype.bind;
832
- function nt(s, t) {
833
- return Me.call(s, t);
831
+ }(Q), Ne = Function.prototype.bind;
832
+ function ot(s, t) {
833
+ return Ne.call(s, t);
834
834
  }
835
- var Ne = function() {
835
+ var Le = function() {
836
836
  function s(t) {
837
837
  this.partialObserver = t;
838
838
  }
@@ -864,7 +864,7 @@ var Ne = function() {
864
864
  }
865
865
  }, s;
866
866
  }(), ft = function(s) {
867
- z(t, s);
867
+ D(t, s);
868
868
  function t(e, i, r) {
869
869
  var o = s.call(this) || this, n;
870
870
  if (b(e) || !e)
@@ -875,43 +875,43 @@ var Ne = function() {
875
875
  };
876
876
  else {
877
877
  var a;
878
- o && oe.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
878
+ o && ne.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
879
879
  return o.unsubscribe();
880
880
  }, n = {
881
- next: e.next && nt(e.next, a),
882
- error: e.error && nt(e.error, a),
883
- complete: e.complete && nt(e.complete, a)
881
+ next: e.next && ot(e.next, a),
882
+ error: e.error && ot(e.error, a),
883
+ complete: e.complete && ot(e.complete, a)
884
884
  }) : n = e;
885
885
  }
886
- return o.destination = new Ne(n), o;
886
+ return o.destination = new Le(n), o;
887
887
  }
888
888
  return t;
889
- }(ne);
889
+ }(ae);
890
890
  function F(s) {
891
- je(s);
891
+ Me(s);
892
892
  }
893
- function Le(s) {
893
+ function He(s) {
894
894
  throw s;
895
895
  }
896
- var He = {
896
+ var Ie = {
897
897
  closed: !0,
898
- next: Nt,
899
- error: Le,
900
- complete: Nt
901
- }, Ie = function() {
898
+ next: Lt,
899
+ error: He,
900
+ complete: Lt
901
+ }, Be = function() {
902
902
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
903
903
  }();
904
904
  function De(s) {
905
905
  return s;
906
906
  }
907
- function Be(s) {
907
+ function ze(s) {
908
908
  return s.length === 0 ? De : s.length === 1 ? s[0] : function(e) {
909
909
  return s.reduce(function(i, r) {
910
910
  return r(i);
911
911
  }, e);
912
912
  };
913
913
  }
914
- var Lt = function() {
914
+ var Ht = function() {
915
915
  function s(t) {
916
916
  t && (this._subscribe = t);
917
917
  }
@@ -919,8 +919,8 @@ var Lt = function() {
919
919
  var e = new s();
920
920
  return e.source = this, e.operator = t, e;
921
921
  }, s.prototype.subscribe = function(t, e, i) {
922
- var r = this, o = Ve(t) ? t : new ft(t, e, i);
923
- return q(function() {
922
+ var r = this, o = Fe(t) ? t : new ft(t, e, i);
923
+ return Y(function() {
924
924
  var n = r, a = n.operator, c = n.source;
925
925
  o.add(a ? a.call(o, c) : c ? r._subscribe(o) : r._trySubscribe(o));
926
926
  }), o;
@@ -932,7 +932,7 @@ var Lt = function() {
932
932
  }
933
933
  }, s.prototype.forEach = function(t, e) {
934
934
  var i = this;
935
- return e = Ht(e), new e(function(r, o) {
935
+ return e = It(e), new e(function(r, o) {
936
936
  var n = new ft({
937
937
  next: function(a) {
938
938
  try {
@@ -949,15 +949,15 @@ var Lt = function() {
949
949
  }, s.prototype._subscribe = function(t) {
950
950
  var e;
951
951
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
952
- }, s.prototype[Ie] = function() {
952
+ }, s.prototype[Be] = function() {
953
953
  return this;
954
954
  }, s.prototype.pipe = function() {
955
955
  for (var t = [], e = 0; e < arguments.length; e++)
956
956
  t[e] = arguments[e];
957
- return Be(t)(this);
957
+ return ze(t)(this);
958
958
  }, s.prototype.toPromise = function(t) {
959
959
  var e = this;
960
- return t = Ht(t), new t(function(i, r) {
960
+ return t = It(t), new t(function(i, r) {
961
961
  var o;
962
962
  e.subscribe(function(n) {
963
963
  return o = n;
@@ -971,35 +971,35 @@ var Lt = function() {
971
971
  return new s(t);
972
972
  }, s;
973
973
  }();
974
- function Ht(s) {
974
+ function It(s) {
975
975
  var t;
976
- return (t = s ?? oe.Promise) !== null && t !== void 0 ? t : Promise;
976
+ return (t = s ?? ne.Promise) !== null && t !== void 0 ? t : Promise;
977
977
  }
978
- function ze(s) {
978
+ function Ve(s) {
979
979
  return s && b(s.next) && b(s.error) && b(s.complete);
980
980
  }
981
- function Ve(s) {
982
- return s && s instanceof ne || ze(s) && re(s);
981
+ function Fe(s) {
982
+ return s && s instanceof ae || Ve(s) && oe(s);
983
983
  }
984
- var We = ie(function(s) {
984
+ var We = se(function(s) {
985
985
  return function() {
986
986
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
987
987
  };
988
- }), yt = function(s) {
989
- z(t, s);
988
+ }), bt = function(s) {
989
+ D(t, s);
990
990
  function t() {
991
991
  var e = s.call(this) || this;
992
992
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
993
993
  }
994
994
  return t.prototype.lift = function(e) {
995
- var i = new It(this, this);
995
+ var i = new Bt(this, this);
996
996
  return i.operator = e, i;
997
997
  }, t.prototype._throwIfClosed = function() {
998
998
  if (this.closed)
999
999
  throw new We();
1000
1000
  }, t.prototype.next = function(e) {
1001
1001
  var i = this;
1002
- q(function() {
1002
+ Y(function() {
1003
1003
  var r, o;
1004
1004
  if (i._throwIfClosed(), !i.isStopped) {
1005
1005
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
@@ -1022,7 +1022,7 @@ var We = ie(function(s) {
1022
1022
  });
1023
1023
  }, t.prototype.error = function(e) {
1024
1024
  var i = this;
1025
- q(function() {
1025
+ Y(function() {
1026
1026
  if (i._throwIfClosed(), !i.isStopped) {
1027
1027
  i.hasError = i.isStopped = !0, i.thrownError = e;
1028
1028
  for (var r = i.observers; r.length; )
@@ -1031,7 +1031,7 @@ var We = ie(function(s) {
1031
1031
  });
1032
1032
  }, t.prototype.complete = function() {
1033
1033
  var e = this;
1034
- q(function() {
1034
+ Y(function() {
1035
1035
  if (e._throwIfClosed(), !e.isStopped) {
1036
1036
  e.isStopped = !0;
1037
1037
  for (var i = e.observers; i.length; )
@@ -1053,20 +1053,20 @@ var We = ie(function(s) {
1053
1053
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
1054
1054
  }, t.prototype._innerSubscribe = function(e) {
1055
1055
  var i = this, r = this, o = r.hasError, n = r.isStopped, a = r.observers;
1056
- return o || n ? se : (this.currentObservers = null, a.push(e), new tt(function() {
1056
+ return o || n ? re : (this.currentObservers = null, a.push(e), new Q(function() {
1057
1057
  i.currentObservers = null, dt(a, e);
1058
1058
  }));
1059
1059
  }, t.prototype._checkFinalizedStatuses = function(e) {
1060
1060
  var i = this, r = i.hasError, o = i.thrownError, n = i.isStopped;
1061
1061
  r ? e.error(o) : n && e.complete();
1062
1062
  }, t.prototype.asObservable = function() {
1063
- var e = new Lt();
1063
+ var e = new Ht();
1064
1064
  return e.source = this, e;
1065
1065
  }, t.create = function(e, i) {
1066
- return new It(e, i);
1066
+ return new Bt(e, i);
1067
1067
  }, t;
1068
- }(Lt), It = function(s) {
1069
- z(t, s);
1068
+ }(Ht), Bt = function(s) {
1069
+ D(t, s);
1070
1070
  function t(e, i) {
1071
1071
  var r = s.call(this) || this;
1072
1072
  return r.destination = e, r.source = i, r;
@@ -1082,10 +1082,10 @@ var We = ie(function(s) {
1082
1082
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
1083
1083
  }, t.prototype._subscribe = function(e) {
1084
1084
  var i, r;
1085
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : se;
1085
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : re;
1086
1086
  }, t;
1087
- }(yt), Fe = function(s) {
1088
- z(t, s);
1087
+ }(bt), Ye = function(s) {
1088
+ D(t, s);
1089
1089
  function t(e) {
1090
1090
  var i = s.call(this) || this;
1091
1091
  return i._value = e, i;
@@ -1107,13 +1107,13 @@ var We = ie(function(s) {
1107
1107
  }, t.prototype.next = function(e) {
1108
1108
  s.prototype.next.call(this, this._value = e);
1109
1109
  }, t;
1110
- }(yt);
1110
+ }(bt);
1111
1111
  /**
1112
1112
  * @license
1113
1113
  * Copyright 2017 Google LLC
1114
1114
  * SPDX-License-Identifier: BSD-3-Clause
1115
1115
  */
1116
- const Ye = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt }, qe = (s = Ye, t, e) => {
1116
+ const qe = { attribute: !0, type: String, converter: q, reflect: !1, hasChanged: mt }, Ze = (s = qe, t, e) => {
1117
1117
  const { kind: i, metadata: r } = e;
1118
1118
  let o = globalThis.litPropertyMetadata.get(r);
1119
1119
  if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), o.set(e.name, s), i === "accessor") {
@@ -1135,7 +1135,7 @@ const Ye = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged:
1135
1135
  throw Error("Unsupported decorator location: " + i);
1136
1136
  };
1137
1137
  function g(s) {
1138
- return (t, e) => typeof e == "object" ? qe(s, t, e) : ((i, r, o) => {
1138
+ return (t, e) => typeof e == "object" ? Ze(s, t, e) : ((i, r, o) => {
1139
1139
  const n = r.hasOwnProperty(o);
1140
1140
  return r.constructor.createProperty(o, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(r, o) : void 0;
1141
1141
  })(s, t, e);
@@ -1148,12 +1148,12 @@ function g(s) {
1148
1148
  function R(s) {
1149
1149
  return g({ ...s, state: !0, attribute: !1 });
1150
1150
  }
1151
- var Ze = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, Ge = (s, t, e, i) => {
1152
- for (var r = i > 1 ? void 0 : i ? Ke(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1151
+ var Ke = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, Xe = (s, t, e, i) => {
1152
+ for (var r = i > 1 ? void 0 : i ? Ge(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1153
1153
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1154
- return i && r && Ze(t, e, r), r;
1154
+ return i && r && Ke(t, e, r), r;
1155
1155
  };
1156
- class bt extends m {
1156
+ class $t extends m {
1157
1157
  constructor() {
1158
1158
  super(...arguments), this.anchor = "BottomRight";
1159
1159
  }
@@ -1165,7 +1165,7 @@ class bt extends m {
1165
1165
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
1166
1166
  }
1167
1167
  }
1168
- bt.styles = [
1168
+ $t.styles = [
1169
1169
  O`
1170
1170
  :host {
1171
1171
  position: fixed;
@@ -1184,16 +1184,16 @@ bt.styles = [
1184
1184
  }
1185
1185
  `
1186
1186
  ];
1187
- Ge([
1187
+ Xe([
1188
1188
  g({ attribute: !0 })
1189
- ], bt.prototype, "anchor", 2);
1189
+ ], $t.prototype, "anchor", 2);
1190
1190
  /**
1191
1191
  * @license
1192
1192
  * Copyright 2017 Google LLC
1193
1193
  * SPDX-License-Identifier: BSD-3-Clause
1194
1194
  */
1195
- const $t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, _t = (s) => (...t) => ({ _$litDirective$: s, values: t });
1196
- let ae = class {
1195
+ const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, wt = (s) => (...t) => ({ _$litDirective$: s, values: t });
1196
+ let ce = class {
1197
1197
  constructor(t) {
1198
1198
  }
1199
1199
  get _$AU() {
@@ -1214,7 +1214,7 @@ let ae = class {
1214
1214
  * Copyright 2020 Google LLC
1215
1215
  * SPDX-License-Identifier: BSD-3-Clause
1216
1216
  */
1217
- const Xe = (s) => s.strings === void 0;
1217
+ const Je = (s) => s.strings === void 0;
1218
1218
  /**
1219
1219
  * @license
1220
1220
  * Copyright 2017 Google LLC
@@ -1228,54 +1228,54 @@ const L = (s, t) => {
1228
1228
  for (const r of e)
1229
1229
  (i = r._$AO) == null || i.call(r, t, !1), L(r, t);
1230
1230
  return !0;
1231
- }, J = (s) => {
1231
+ }, X = (s) => {
1232
1232
  let t, e;
1233
1233
  do {
1234
1234
  if ((t = s._$AM) === void 0)
1235
1235
  break;
1236
1236
  e = t._$AN, e.delete(s), s = t;
1237
1237
  } while ((e == null ? void 0 : e.size) === 0);
1238
- }, ce = (s) => {
1238
+ }, he = (s) => {
1239
1239
  for (let t; t = s._$AM; s = t) {
1240
1240
  let e = t._$AN;
1241
1241
  if (e === void 0)
1242
1242
  t._$AN = e = /* @__PURE__ */ new Set();
1243
1243
  else if (e.has(s))
1244
1244
  break;
1245
- e.add(s), ti(t);
1245
+ e.add(s), ei(t);
1246
1246
  }
1247
1247
  };
1248
- function Je(s) {
1249
- this._$AN !== void 0 ? (J(this), this._$AM = s, ce(this)) : this._$AM = s;
1248
+ function Qe(s) {
1249
+ this._$AN !== void 0 ? (X(this), this._$AM = s, he(this)) : this._$AM = s;
1250
1250
  }
1251
- function Qe(s, t = !1, e = 0) {
1251
+ function ti(s, t = !1, e = 0) {
1252
1252
  const i = this._$AH, r = this._$AN;
1253
1253
  if (r !== void 0 && r.size !== 0)
1254
1254
  if (t)
1255
1255
  if (Array.isArray(i))
1256
1256
  for (let o = e; o < i.length; o++)
1257
- L(i[o], !1), J(i[o]);
1257
+ L(i[o], !1), X(i[o]);
1258
1258
  else
1259
- i != null && (L(i, !1), J(i));
1259
+ i != null && (L(i, !1), X(i));
1260
1260
  else
1261
1261
  L(this, s);
1262
1262
  }
1263
- const ti = (s) => {
1264
- s.type == $t.CHILD && (s._$AP ?? (s._$AP = Qe), s._$AQ ?? (s._$AQ = Je));
1263
+ const ei = (s) => {
1264
+ s.type == _t.CHILD && (s._$AP ?? (s._$AP = ti), s._$AQ ?? (s._$AQ = Qe));
1265
1265
  };
1266
- class he extends ae {
1266
+ class le extends ce {
1267
1267
  constructor() {
1268
1268
  super(...arguments), this._$AN = void 0;
1269
1269
  }
1270
1270
  _$AT(t, e, i) {
1271
- super._$AT(t, e, i), ce(this), this.isConnected = t._$AU;
1271
+ super._$AT(t, e, i), he(this), this.isConnected = t._$AU;
1272
1272
  }
1273
1273
  _$AO(t, e = !0) {
1274
1274
  var i, r;
1275
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (L(this, t), J(this));
1275
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (L(this, t), X(this));
1276
1276
  }
1277
1277
  setValue(t) {
1278
- if (Xe(this._$Ct))
1278
+ if (Je(this._$Ct))
1279
1279
  this._$Ct._$AI(t, this);
1280
1280
  else {
1281
1281
  const e = [...this._$Ct._$AH];
@@ -1287,19 +1287,19 @@ class he extends ae {
1287
1287
  reconnected() {
1288
1288
  }
1289
1289
  }
1290
- const ei = /* @__PURE__ */ new WeakMap();
1290
+ const ii = /* @__PURE__ */ new WeakMap();
1291
1291
  let Dt = 0;
1292
- const at = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new WeakSet(), zt = () => new Promise((s) => requestAnimationFrame(s)), ii = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Vt = (s, t) => {
1292
+ const nt = /* @__PURE__ */ new Map(), zt = /* @__PURE__ */ new WeakSet(), Vt = () => new Promise((s) => requestAnimationFrame(s)), si = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ft = (s, t) => {
1293
1293
  const e = s - t;
1294
1294
  return e === 0 ? void 0 : e;
1295
1295
  }, Wt = (s, t) => {
1296
1296
  const e = s / t;
1297
1297
  return e === 1 ? void 0 : e;
1298
- }, ct = { left: (s, t) => {
1299
- const e = Vt(s, t);
1298
+ }, at = { left: (s, t) => {
1299
+ const e = Ft(s, t);
1300
1300
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1301
1301
  }, top: (s, t) => {
1302
- const e = Vt(s, t);
1302
+ const e = Ft(s, t);
1303
1303
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1304
1304
  }, width: (s, t) => {
1305
1305
  let e;
@@ -1311,10 +1311,10 @@ const at = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new WeakSet(), zt = (
1311
1311
  t === 0 && (t = 1, e = { height: "1px" });
1312
1312
  const i = Wt(s, t);
1313
1313
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1314
- } }, si = { duration: 333, easing: "ease-in-out" }, ri = ["left", "top", "width", "height", "opacity", "color", "background"], Ft = /* @__PURE__ */ new WeakMap();
1315
- class oi extends he {
1314
+ } }, ri = { duration: 333, easing: "ease-in-out" }, oi = ["left", "top", "width", "height", "opacity", "color", "background"], Yt = /* @__PURE__ */ new WeakMap();
1315
+ class ni extends le {
1316
1316
  constructor(t) {
1317
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === $t.CHILD)
1317
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === _t.CHILD)
1318
1318
  throw Error("The `animate` directive must be used in attribute position.");
1319
1319
  this.createFinished();
1320
1320
  }
@@ -1332,7 +1332,7 @@ class oi extends he {
1332
1332
  return d;
1333
1333
  }
1334
1334
  getController() {
1335
- return ei.get(this.u);
1335
+ return ii.get(this.u);
1336
1336
  }
1337
1337
  isDisabled() {
1338
1338
  var t;
@@ -1341,17 +1341,17 @@ class oi extends he {
1341
1341
  update(t, [e]) {
1342
1342
  var r;
1343
1343
  const i = this.u === void 0;
1344
- return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element, Ft.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1344
+ return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element, Yt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1345
1345
  }
1346
1346
  p(t) {
1347
1347
  t = t ?? {};
1348
1348
  const e = this.getController();
1349
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ri), this.options = t;
1349
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = oi), this.options = t;
1350
1350
  }
1351
1351
  m() {
1352
1352
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1353
1353
  return this.options.properties.forEach((r) => {
1354
- const o = e[r] ?? (ct[r] ? void 0 : i[r]), n = Number(o);
1354
+ const o = e[r] ?? (at[r] ? void 0 : i[r]), n = Number(o);
1355
1355
  t[r] = isNaN(n) ? o + "" : n;
1356
1356
  }), t;
1357
1357
  }
@@ -1373,15 +1373,15 @@ class oi extends he {
1373
1373
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
1374
1374
  return;
1375
1375
  let t;
1376
- this.prepare(), await zt;
1376
+ this.prepare(), await Vt;
1377
1377
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1378
1378
  if (this.A !== void 0) {
1379
1379
  const { from: o, to: n } = this.N(this.A, r, e);
1380
1380
  this.log("measured", [this.A, r, o, n]), t = this.calculateKeyframes(o, n);
1381
1381
  } else {
1382
- const o = at.get(this.options.inId);
1382
+ const o = nt.get(this.options.inId);
1383
1383
  if (o) {
1384
- at.delete(this.options.inId);
1384
+ nt.delete(this.options.inId);
1385
1385
  const { from: n, to: a } = this.N(o, r, e);
1386
1386
  t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Dt++, t.forEach((c) => c.zIndex = Dt);
1387
1387
  } else
@@ -1400,9 +1400,9 @@ class oi extends he {
1400
1400
  }
1401
1401
  async disconnected() {
1402
1402
  var e;
1403
- if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0))
1403
+ if (!this.h || (this.options.id !== void 0 && nt.set(this.options.id, this.A), this.options.out === void 0))
1404
1404
  return;
1405
- if (this.prepare(), await zt(), (e = this.i) == null ? void 0 : e.isConnected) {
1405
+ if (this.prepare(), await Vt(), (e = this.i) == null ? void 0 : e.isConnected) {
1406
1406
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1407
1407
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1408
1408
  const r = this.m();
@@ -1428,19 +1428,19 @@ class oi extends he {
1428
1428
  O() {
1429
1429
  const t = [];
1430
1430
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1431
- const i = Ft.get(e);
1431
+ const i = Yt.get(e);
1432
1432
  i && !i.isDisabled() && i && t.push(i);
1433
1433
  }
1434
1434
  return t;
1435
1435
  }
1436
1436
  get isHostRendered() {
1437
- const t = Bt.has(this.u);
1437
+ const t = zt.has(this.u);
1438
1438
  return t || this.u.updateComplete.then(() => {
1439
- Bt.add(this.u);
1439
+ zt.add(this.u);
1440
1440
  }), t;
1441
1441
  }
1442
1442
  j(t, e = this.O()) {
1443
- const i = { ...si };
1443
+ const i = { ...ri };
1444
1444
  return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1445
1445
  }
1446
1446
  N(t, e, i) {
@@ -1457,8 +1457,8 @@ class oi extends he {
1457
1457
  const a = {};
1458
1458
  for (const c in e) {
1459
1459
  const h = t[c], l = e[c];
1460
- if (c in ct) {
1461
- const p = ct[c];
1460
+ if (c in at) {
1461
+ const p = at[c];
1462
1462
  if (h === void 0 || l === void 0)
1463
1463
  continue;
1464
1464
  const u = p(h, l);
@@ -1491,16 +1491,16 @@ class oi extends he {
1491
1491
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1492
1492
  }
1493
1493
  }
1494
- const ni = _t(oi), ai = { 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>' };
1494
+ const ai = wt(ni), ci = { 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>' };
1495
1495
  /**
1496
1496
  * @license
1497
1497
  * Copyright 2018 Google LLC
1498
1498
  * SPDX-License-Identifier: BSD-3-Clause
1499
1499
  */
1500
- const Yt = _t(class extends ae {
1500
+ const qt = wt(class extends ce {
1501
1501
  constructor(s) {
1502
1502
  var t;
1503
- if (super(s), s.type !== $t.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1503
+ if (super(s), s.type !== _t.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1504
1504
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1505
1505
  }
1506
1506
  render(s) {
@@ -1525,7 +1525,7 @@ const Yt = _t(class extends ae {
1525
1525
  }
1526
1526
  }), y = (s, t, e) => {
1527
1527
  s && e.style.setProperty(t, s);
1528
- }, le = (s, t) => {
1528
+ }, pe = (s, t) => {
1529
1529
  var e, i, r, o, n, a, c, h, l;
1530
1530
  y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1531
1531
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
@@ -1562,10 +1562,10 @@ const Yt = _t(class extends ae {
1562
1562
  * Copyright 2020 Google LLC
1563
1563
  * SPDX-License-Identifier: BSD-3-Clause
1564
1564
  */
1565
- const pe = () => new ci();
1566
- class ci {
1565
+ const de = () => new hi();
1566
+ class hi {
1567
1567
  }
1568
- const ht = /* @__PURE__ */ new WeakMap(), de = _t(class extends he {
1568
+ const ct = /* @__PURE__ */ new WeakMap(), ue = wt(class extends le {
1569
1569
  render(s) {
1570
1570
  return d;
1571
1571
  }
@@ -1575,16 +1575,16 @@ const ht = /* @__PURE__ */ new WeakMap(), de = _t(class extends he {
1575
1575
  return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), d;
1576
1576
  }
1577
1577
  rt(s) {
1578
- if (typeof this.Y == "function") {
1578
+ if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1579
1579
  const t = this.ht ?? globalThis;
1580
- let e = ht.get(t);
1581
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1580
+ let e = ct.get(t);
1581
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ct.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1582
1582
  } else
1583
1583
  this.Y.value = s;
1584
1584
  }
1585
1585
  get lt() {
1586
1586
  var s, t;
1587
- return typeof this.Y == "function" ? (s = ht.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1587
+ return typeof this.Y == "function" ? (s = ct.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1588
1588
  }
1589
1589
  disconnected() {
1590
1590
  this.lt === this.ct && this.rt(void 0);
@@ -1593,14 +1593,14 @@ const ht = /* @__PURE__ */ new WeakMap(), de = _t(class extends he {
1593
1593
  this.rt(this.ct);
1594
1594
  }
1595
1595
  });
1596
- var hi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, V = (s, t, e, i) => {
1597
- for (var r = i > 1 ? void 0 : i ? li(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1596
+ var li = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, z = (s, t, e, i) => {
1597
+ for (var r = i > 1 ? void 0 : i ? pi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1598
1598
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1599
- return i && r && hi(t, e, r), r;
1599
+ return i && r && li(t, e, r), r;
1600
1600
  };
1601
1601
  class w extends m {
1602
1602
  constructor() {
1603
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = pe(), this.widgetActive$ = new Fe(!1), this.componentIsDestroyed$ = new yt();
1603
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = de(), this.widgetActive$ = new Ye(!1), this.componentIsDestroyed$ = new bt();
1604
1604
  }
1605
1605
  async connectedCallback() {
1606
1606
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1635,7 +1635,7 @@ class w extends m {
1635
1635
  }
1636
1636
  _applyBranding() {
1637
1637
  var t;
1638
- (t = this.application) != null && t.settings && le(this.application.settings.branding, this);
1638
+ (t = this.application) != null && t.settings && pe(this.application.settings.branding, this);
1639
1639
  }
1640
1640
  async _renderSymbol() {
1641
1641
  var a, c, h;
@@ -1645,7 +1645,7 @@ class w extends m {
1645
1645
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1646
1646
  if (!i)
1647
1647
  return d;
1648
- const r = async (l) => ai, { type: o, content: n } = i;
1648
+ const r = async (l) => ci, { type: o, content: n } = i;
1649
1649
  switch (o) {
1650
1650
  case "Telia": {
1651
1651
  const l = await r();
@@ -1668,20 +1668,20 @@ class w extends m {
1668
1668
  render() {
1669
1669
  var t, e, i, r;
1670
1670
  return C`<div
1671
- class=${Yt({
1671
+ class=${qt({
1672
1672
  "trigger-container": !0,
1673
1673
  hidden: !this.triggerVisible
1674
1674
  })}
1675
- ${de(this.containerRef)}
1675
+ ${ue(this.containerRef)}
1676
1676
  >
1677
1677
  ${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? C`
1678
1678
  <button
1679
1679
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1680
1680
  class="trigger-label"
1681
1681
  @click=${this.toggleActive}
1682
- ${ni({
1682
+ ${ai({
1683
1683
  keyframeOptions: {},
1684
- in: ii,
1684
+ in: si,
1685
1685
  stabilizeOut: !0,
1686
1686
  skipInitial: !1
1687
1687
  })}
@@ -1692,7 +1692,7 @@ class w extends m {
1692
1692
 
1693
1693
  <button
1694
1694
  label="Widget trigger"
1695
- class=${Yt({
1695
+ class=${qt({
1696
1696
  trigger: !0,
1697
1697
  active: this.active,
1698
1698
  rendered: this.loaded
@@ -1863,27 +1863,27 @@ w.styles = [
1863
1863
  }
1864
1864
  `
1865
1865
  ];
1866
- V([
1866
+ z([
1867
1867
  g({ attribute: !1 })
1868
1868
  ], w.prototype, "application", 2);
1869
- V([
1869
+ z([
1870
1870
  R()
1871
1871
  ], w.prototype, "active", 2);
1872
- V([
1872
+ z([
1873
1873
  R()
1874
1874
  ], w.prototype, "triggerVisible", 2);
1875
- V([
1875
+ z([
1876
1876
  R()
1877
1877
  ], w.prototype, "loaded", 2);
1878
- V([
1878
+ z([
1879
1879
  R()
1880
1880
  ], w.prototype, "icon", 2);
1881
- var pi = Object.defineProperty, di = Object.getOwnPropertyDescriptor, x = (s, t, e, i) => {
1882
- for (var r = i > 1 ? void 0 : i ? di(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1881
+ var di = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, x = (s, t, e, i) => {
1882
+ for (var r = i > 1 ? void 0 : i ? ui(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1883
1883
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1884
- return i && r && pi(t, e, r), r;
1884
+ return i && r && di(t, e, r), r;
1885
1885
  };
1886
- const ue = (s) => {
1886
+ const fe = (s) => {
1887
1887
  class t extends s {
1888
1888
  constructor() {
1889
1889
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1938,25 +1938,25 @@ const ue = (s) => {
1938
1938
  g({ attribute: !1 })
1939
1939
  ], t.prototype, "parent", 2), t;
1940
1940
  };
1941
- class fe extends ue(m) {
1941
+ class ge extends fe(m) {
1942
1942
  render() {
1943
1943
  return C`Non resolved component`;
1944
1944
  }
1945
1945
  }
1946
- fe.styles = [
1946
+ ge.styles = [
1947
1947
  O`
1948
1948
  :host {
1949
1949
  display: block;
1950
1950
  }
1951
1951
  `
1952
1952
  ];
1953
- var wt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(wt || {});
1953
+ var At = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(At || {});
1954
1954
  /**
1955
1955
  * @license
1956
1956
  * Copyright 2021 Google LLC
1957
1957
  * SPDX-License-Identifier: BSD-3-Clause
1958
1958
  */
1959
- let ui = class extends Event {
1959
+ let fi = class extends Event {
1960
1960
  constructor(t, e, i) {
1961
1961
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1962
1962
  }
@@ -1971,7 +1971,7 @@ let ui = class extends Event {
1971
1971
  * Copyright 2021 Google LLC
1972
1972
  * SPDX-License-Identifier: BSD-3-Clause
1973
1973
  */
1974
- class fi {
1974
+ class gi {
1975
1975
  get value() {
1976
1976
  return this.o;
1977
1977
  }
@@ -2006,12 +2006,12 @@ class fi {
2006
2006
  * Copyright 2021 Google LLC
2007
2007
  * SPDX-License-Identifier: BSD-3-Clause
2008
2008
  */
2009
- let gi = class extends Event {
2009
+ let vi = class extends Event {
2010
2010
  constructor(t) {
2011
2011
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
2012
2012
  }
2013
2013
  };
2014
- class qt extends fi {
2014
+ class Zt extends gi {
2015
2015
  constructor(t, e, i) {
2016
2016
  var r, o;
2017
2017
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (n) => {
@@ -2023,7 +2023,7 @@ class qt extends fi {
2023
2023
  return;
2024
2024
  const c = /* @__PURE__ */ new Set();
2025
2025
  for (const [h, { consumerHost: l }] of this.subscriptions)
2026
- c.has(h) || (c.add(h), l.dispatchEvent(new ui(this.context, h, !0)));
2026
+ c.has(h) || (c.add(h), l.dispatchEvent(new fi(this.context, h, !0)));
2027
2027
  n.stopPropagation();
2028
2028
  }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (o = (r = this.host).addController) == null || o.call(r, this);
2029
2029
  }
@@ -2031,7 +2031,7 @@ class qt extends fi {
2031
2031
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
2032
2032
  }
2033
2033
  hostConnected() {
2034
- this.host.dispatchEvent(new gi(this.context));
2034
+ this.host.dispatchEvent(new vi(this.context));
2035
2035
  }
2036
2036
  }
2037
2037
  /**
@@ -2039,12 +2039,12 @@ class qt extends fi {
2039
2039
  * Copyright 2017 Google LLC
2040
2040
  * SPDX-License-Identifier: BSD-3-Clause
2041
2041
  */
2042
- function vi({ context: s }) {
2042
+ function mi({ context: s }) {
2043
2043
  return (t, e) => {
2044
2044
  const i = /* @__PURE__ */ new WeakMap();
2045
2045
  if (typeof e == "object")
2046
2046
  return e.addInitializer(function() {
2047
- i.set(this, new qt(this, { context: s }));
2047
+ i.set(this, new Zt(this, { context: s }));
2048
2048
  }), { get() {
2049
2049
  return t.get.call(this);
2050
2050
  }, set(r) {
@@ -2056,20 +2056,20 @@ function vi({ context: s }) {
2056
2056
  } };
2057
2057
  {
2058
2058
  t.constructor.addInitializer((n) => {
2059
- i.set(n, new qt(n, { context: s }));
2059
+ i.set(n, new Zt(n, { context: s }));
2060
2060
  });
2061
2061
  const r = Object.getOwnPropertyDescriptor(t, e);
2062
2062
  let o;
2063
2063
  if (r === void 0) {
2064
2064
  const n = /* @__PURE__ */ new WeakMap();
2065
- o = { get: function() {
2065
+ o = { get() {
2066
2066
  return n.get(this);
2067
- }, set: function(a) {
2067
+ }, set(a) {
2068
2068
  i.get(this).setValue(a), n.set(this, a);
2069
2069
  }, configurable: !0, enumerable: !0 };
2070
2070
  } else {
2071
2071
  const n = r.set;
2072
- o = { ...r, set: function(a) {
2072
+ o = { ...r, set(a) {
2073
2073
  i.get(this).setValue(a), n == null || n.call(this, a);
2074
2074
  } };
2075
2075
  }
@@ -2077,15 +2077,15 @@ function vi({ context: s }) {
2077
2077
  }
2078
2078
  };
2079
2079
  }
2080
- var mi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, bi = (s, t, e, i) => {
2081
- for (var r = i > 1 ? void 0 : i ? yi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2080
+ var yi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, $i = (s, t, e, i) => {
2081
+ for (var r = i > 1 ? void 0 : i ? bi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2082
2082
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
2083
- return i && r && mi(t, e, r), r;
2083
+ return i && r && yi(t, e, r), r;
2084
2084
  };
2085
- const $i = "application";
2086
- class At extends m {
2085
+ const _i = "application";
2086
+ class xt extends m {
2087
2087
  constructor() {
2088
- super(...arguments), this.nodes = [], this.wrapperRef = pe();
2088
+ super(...arguments), this.nodes = [], this.wrapperRef = de();
2089
2089
  }
2090
2090
  addChild(t) {
2091
2091
  t.parent = this, this.nodes.push(t);
@@ -2094,7 +2094,7 @@ class At extends m {
2094
2094
  if (!this.wrapperRef.value)
2095
2095
  return;
2096
2096
  const t = this.application.settings;
2097
- t != null && t.branding && le(t.branding, this.wrapperRef.value);
2097
+ t != null && t.branding && pe(t.branding, this.wrapperRef.value);
2098
2098
  }
2099
2099
  applyStyles() {
2100
2100
  if (!this.wrapperRef.value)
@@ -2110,12 +2110,12 @@ class At extends m {
2110
2110
  render() {
2111
2111
  var i, r;
2112
2112
  const t = this.application.settings.components.conversation;
2113
- return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === wt.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${de(this.wrapperRef)}>
2114
- ${ee(this.nodes, (o) => o)}
2113
+ return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === At.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${ue(this.wrapperRef)}>
2114
+ ${ie(this.nodes, (o) => o)}
2115
2115
  </div>`;
2116
2116
  }
2117
2117
  }
2118
- At.styles = O`
2118
+ xt.styles = O`
2119
2119
  :host {
2120
2120
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2121
2121
  --spacing-xs: 0.2rem;
@@ -2251,16 +2251,16 @@ At.styles = O`
2251
2251
  pointer-events: none;
2252
2252
  }
2253
2253
  `;
2254
- bi([
2254
+ $i([
2255
2255
  g({ attribute: !1 }),
2256
- vi({ context: $i })
2257
- ], At.prototype, "application", 2);
2258
- var _i = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, xt = (s, t, e, i) => {
2259
- for (var r = i > 1 ? void 0 : i ? wi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2256
+ mi({ context: _i })
2257
+ ], xt.prototype, "application", 2);
2258
+ var wi = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, Ct = (s, t, e, i) => {
2259
+ for (var r = i > 1 ? void 0 : i ? Ai(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2260
2260
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
2261
- return i && r && _i(t, e, r), r;
2261
+ return i && r && wi(t, e, r), r;
2262
2262
  };
2263
- class W extends m {
2263
+ class V extends m {
2264
2264
  constructor() {
2265
2265
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2266
2266
  }
@@ -2285,58 +2285,58 @@ class W extends m {
2285
2285
  render() {
2286
2286
  if (!this.widget || this.status !== "activated")
2287
2287
  return d;
2288
- if (this.widget.renderStrategy === wt.Trigger) {
2288
+ if (this.widget.renderStrategy === At.Trigger) {
2289
2289
  const t = new w();
2290
2290
  return t.application = this.widget, t;
2291
2291
  }
2292
2292
  return this.widget.render();
2293
2293
  }
2294
2294
  }
2295
- W.styles = [
2295
+ V.styles = [
2296
2296
  O`
2297
2297
  :host {
2298
2298
  display: block;
2299
2299
  }
2300
2300
  `
2301
2301
  ];
2302
- xt([
2302
+ Ct([
2303
2303
  g({ attribute: !0 })
2304
- ], W.prototype, "name", 2);
2305
- xt([
2304
+ ], V.prototype, "name", 2);
2305
+ Ct([
2306
2306
  R()
2307
- ], W.prototype, "widget", 2);
2308
- xt([
2307
+ ], V.prototype, "widget", 2);
2308
+ Ct([
2309
2309
  R()
2310
- ], W.prototype, "status", 2);
2311
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", bt);
2310
+ ], V.prototype, "status", 2);
2311
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", $t);
2312
2312
  customElements.get("ace-trigger") || customElements.define("ace-trigger", w);
2313
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fe);
2314
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", At);
2315
- customElements.get("ace-widget") || customElements.define("ace-widget", W);
2316
- const Ai = (s) => {
2313
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ge);
2314
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", xt);
2315
+ customElements.get("ace-widget") || customElements.define("ace-widget", V);
2316
+ const xi = (s) => {
2317
2317
  const t = {};
2318
2318
  return Object.keys(s).forEach((e) => {
2319
2319
  e.indexOf("css-") > -1 && (t[e] = s[e]);
2320
2320
  }), t;
2321
- }, xi = (s, t) => {
2322
- const e = Ai(t);
2321
+ }, Ci = (s, t) => {
2322
+ const e = xi(t);
2323
2323
  Object.entries(e).forEach(([i, r]) => {
2324
2324
  s.style.setProperty(i.replace("css-", ""), r);
2325
2325
  });
2326
2326
  };
2327
- class Ci extends ue(m) {
2327
+ class Ei extends fe(m) {
2328
2328
  constructor() {
2329
2329
  super(...arguments), this.nodes = [];
2330
2330
  }
2331
2331
  render() {
2332
2332
  var t;
2333
- return xi(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2333
+ return Ci(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2334
2334
  "--columns",
2335
2335
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
2336
- ), C`${ee(this.nodes, (e) => e)}`;
2336
+ ), C`${ie(this.nodes, (e) => e)}`;
2337
2337
  }
2338
2338
  }
2339
- Ci.styles = [
2339
+ Ei.styles = [
2340
2340
  O`
2341
2341
  :host {
2342
2342
  height: 100%;
@@ -2350,6 +2350,6 @@ Ci.styles = [
2350
2350
  `
2351
2351
  ];
2352
2352
  export {
2353
- Ci as Area,
2354
- Ci as default
2353
+ Ei as Area,
2354
+ Ei as default
2355
2355
  };