@telia-ace/widget-components-area-flamingo 1.1.76-rc.8 → 1.1.76-rc.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ let Kt = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const ve = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), O = (s, ...t) => {
26
+ const ge = (s) => new Kt(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;
@@ -32,7 +32,7 @@ const ve = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), O = (s,
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
34
  return new Kt(e, s, vt);
35
- }, me = (s, t) => {
35
+ }, ve = (s, t) => {
36
36
  if (gt)
37
37
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
38
38
  else
@@ -40,21 +40,21 @@ const ve = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), O = (s,
40
40
  const i = document.createElement("style"), r = Y.litNonce;
41
41
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
42
42
  }
43
- }, Et = gt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
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 ve(e);
47
+ return ge(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: ye, defineProperty: be, getOwnPropertyDescriptor: $e, getOwnPropertyNames: _e, getOwnPropertySymbols: we, getPrototypeOf: Ae } = Object, _ = globalThis, St = _.trustedTypes, xe = St ? St.emptyScript : "", et = _.reactiveElementPolyfillSupport, M = (s, t) => s, Z = { toAttribute(s, t) {
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) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- s = s ? xe : null;
57
+ s = s ? Ae : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
@@ -79,7 +79,7 @@ const { is: ye, defineProperty: be, getOwnPropertyDescriptor: $e, getOwnProperty
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, mt = (s, t) => !ye(s, t), Pt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt };
82
+ } }, mt = (s, t) => !me(s, t), Pt = { attribute: !0, type: String, converter: Z, 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) {
@@ -91,11 +91,11 @@ let k = class extends HTMLElement {
91
91
  static createProperty(t, e = Pt) {
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 && be(this.prototype, t, r);
94
+ r !== void 0 && ye(this.prototype, t, r);
95
95
  }
96
96
  }
97
97
  static getPropertyDescriptor(t, e, i) {
98
- const { get: r, set: o } = $e(this.prototype, t) ?? { get() {
98
+ const { get: r, set: o } = be(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
100
  }, set(n) {
101
101
  this[e] = n;
@@ -113,14 +113,14 @@ let k = class extends HTMLElement {
113
113
  static _$Ei() {
114
114
  if (this.hasOwnProperty(M("elementProperties")))
115
115
  return;
116
- const t = Ae(this);
116
+ const t = we(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), ...we(e)];
123
+ const e = this.properties, i = [...$e(e), ..._e(e)];
124
124
  for (const r of i)
125
125
  this.createProperty(r, e[r]);
126
126
  }
@@ -143,9 +143,9 @@ let k = class extends HTMLElement {
143
143
  if (Array.isArray(t)) {
144
144
  const i = new Set(t.flat(1 / 0).reverse());
145
145
  for (const r of i)
146
- e.unshift(Et(r));
146
+ e.unshift(St(r));
147
147
  } else
148
- t !== void 0 && e.push(Et(t));
148
+ t !== void 0 && e.push(St(t));
149
149
  return e;
150
150
  }
151
151
  static _$Eu(t, e) {
@@ -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 me(t, this.constructor.elementStyles), t;
178
+ return ve(t, this.constructor.elementStyles), t;
179
179
  }
180
180
  connectedCallback() {
181
181
  var t;
@@ -298,24 +298,24 @@ k.elementStyles = [], k.shadowRootOptions = { mode: "open" }, k[M("elementProper
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 = "?" + $, Ce = `<${Xt}>`, S = document, H = () => S.createComment(""), I = (s) => s === null || typeof s != "object" && typeof s != "function", Jt = Array.isArray, Ee = (s) => Jt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", it = `[
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
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(), E = S.createTreeWalker(S, 129);
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"), u = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
304
304
  function te(s, t) {
305
305
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
307
307
  return Ot !== void 0 ? Ot.createHTML(t) : t;
308
308
  }
309
- const Pe = (s, t) => {
309
+ const Ee = (s, t) => {
310
310
  const e = s.length - 1, i = [];
311
311
  let r, o = t === 2 ? "<svg>" : "", n = j;
312
312
  for (let a = 0; a < e; a++) {
313
313
  const c = s[a];
314
- let h, l, p = -1, u = 0;
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);
314
+ let h, l, p = -1, d = 0;
315
+ for (; d < c.length && (n.lastIndex = d, l = n.exec(c), l !== null); )
316
+ d = 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);
317
317
  const f = n === A && s[a + 1].startsWith("/>") ? " " : "";
318
- o += n === j ? c + Ce : p >= 0 ? (i.push(h), c.slice(0, p) + Gt + c.slice(p) + $ + f) : c + $ + (p === -2 ? a : f);
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);
319
319
  }
320
320
  return [te(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
321
321
  };
@@ -324,27 +324,27 @@ class D {
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] = Pe(t, e);
328
- if (this.el = D.createElement(h, i), E.currentNode = this.el.content, e === 2) {
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) {
329
329
  const p = this.el.content.firstChild;
330
330
  p.replaceWith(...p.childNodes);
331
331
  }
332
- for (; (r = E.nextNode()) !== null && c.length < a; ) {
332
+ for (; (r = S.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
336
  if (p.endsWith(Gt)) {
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] === "." ? Te : T[1] === "?" ? ke : T[1] === "@" ? Ue : Q }), r.removeAttribute(p);
337
+ const d = l[n++], f = r.getAttribute(p).split($), T = /([.?@])?(.*)/.exec(d);
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);
339
339
  } else
340
340
  p.startsWith($) && (c.push({ type: 6, index: o }), r.removeAttribute(p));
341
341
  if (Qt.test(r.tagName)) {
342
- const p = r.textContent.split($), u = p.length - 1;
343
- if (u > 0) {
342
+ const p = r.textContent.split($), d = p.length - 1;
343
+ if (d > 0) {
344
344
  r.textContent = K ? K.emptyScript : "";
345
- for (let f = 0; f < u; f++)
346
- r.append(p[f], H()), E.nextNode(), c.push({ type: 2, index: ++o });
347
- r.append(p[u], H());
345
+ for (let f = 0; f < d; f++)
346
+ r.append(p[f], H()), S.nextNode(), c.push({ type: 2, index: ++o });
347
+ r.append(p[d], H());
348
348
  }
349
349
  }
350
350
  } else if (r.nodeType === 8)
@@ -359,7 +359,7 @@ class D {
359
359
  }
360
360
  }
361
361
  static createElement(t, e) {
362
- const i = S.createElement("template");
362
+ const i = E.createElement("template");
363
363
  return i.innerHTML = t, i;
364
364
  }
365
365
  }
@@ -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 Oe {
374
+ class Pe {
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 Oe {
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) ?? S).importNode(e, !0);
386
- E.currentNode = r;
387
- let o = E.nextNode(), n = 0, a = 0, c = i[0];
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];
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 Re(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 Ue(o, this, t)), this._$AV.push(h), c = i[++a];
392
392
  }
393
- n !== (c == null ? void 0 : c.index) && (o = E.nextNode(), n++);
393
+ n !== (c == null ? void 0 : c.index) && (o = S.nextNode(), n++);
394
394
  }
395
- return E.currentNode = S, r;
395
+ return S.currentNode = E, r;
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
@@ -406,7 +406,7 @@ class B {
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
407
407
  }
408
408
  constructor(t, e, i, r) {
409
- this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
409
+ this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
410
410
  }
411
411
  get parentNode() {
412
412
  let t = this._$AA.parentNode;
@@ -420,7 +420,7 @@ 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) : Ee(t) ? this.k(t) : this._(t);
423
+ t = U(this, t, e), I(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : 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);
424
424
  }
425
425
  S(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -429,7 +429,7 @@ class B {
429
429
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== d && I(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
432
+ this._$AH !== u && I(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
433
433
  }
434
434
  $(t) {
435
435
  var o;
@@ -437,7 +437,7 @@ class B {
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 Oe(r, this), a = n.u(this.options);
440
+ const n = new Pe(r, this), a = n.u(this.options);
441
441
  n.p(e), this.T(a), this._$AH = n;
442
442
  }
443
443
  }
@@ -473,7 +473,7 @@ class Q {
473
473
  return this._$AM._$AU;
474
474
  }
475
475
  constructor(t, e, i, r, o) {
476
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
476
+ this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
477
477
  }
478
478
  _$AI(t, e = this, i, r) {
479
479
  const o = this.strings;
@@ -484,38 +484,38 @@ class Q {
484
484
  const a = t;
485
485
  let c, h;
486
486
  for (t = o[0], c = 0; c < o.length - 1; c++)
487
- h = U(this, a[i + c], e, c), h === P && (h = this._$AH[c]), n || (n = !I(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
487
+ h = U(this, a[i + c], e, c), h === P && (h = this._$AH[c]), n || (n = !I(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
488
488
  }
489
489
  n && !r && this.j(t);
490
490
  }
491
491
  j(t) {
492
- t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
492
+ t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
493
493
  }
494
494
  }
495
- class Te extends Q {
495
+ class Oe extends Q {
496
496
  constructor() {
497
497
  super(...arguments), this.type = 3;
498
498
  }
499
499
  j(t) {
500
- this.element[this.name] = t === d ? void 0 : t;
500
+ this.element[this.name] = t === u ? void 0 : t;
501
501
  }
502
502
  }
503
- class ke extends Q {
503
+ class Te extends Q {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
507
507
  j(t) {
508
- this.element.toggleAttribute(this.name, !!t && t !== d);
508
+ this.element.toggleAttribute(this.name, !!t && t !== u);
509
509
  }
510
510
  }
511
- class Ue extends Q {
511
+ class ke extends Q {
512
512
  constructor(t, e, i, r, o) {
513
513
  super(t, e, i, r, o), this.type = 5;
514
514
  }
515
515
  _$AI(t, e = this) {
516
- if ((t = U(this, t, e, 0) ?? d) === P)
516
+ if ((t = U(this, t, e, 0) ?? u) === P)
517
517
  return;
518
- const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== d && (i === d || r);
518
+ const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || r);
519
519
  r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
520
520
  }
521
521
  handleEvent(t) {
@@ -523,7 +523,7 @@ class Ue 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 Re {
526
+ class Ue {
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
  }
@@ -536,7 +536,7 @@ class Re {
536
536
  }
537
537
  const st = N.litHtmlPolyfillSupport;
538
538
  st == null || st(D, B), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.2");
539
- const je = (s, t, e) => {
539
+ const Re = (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 = je(e, this.renderRoot, this.renderOptions);
564
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Re(e, this.renderRoot, this.renderOptions);
565
565
  }
566
566
  connectedCallback() {
567
567
  var t;
@@ -665,7 +665,7 @@ var ot = ie(function(s) {
665
665
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
666
666
  };
667
667
  });
668
- function dt(s, t) {
668
+ function ut(s, t) {
669
669
  if (s) {
670
670
  var e = s.indexOf(t);
671
671
  0 <= e && s.splice(e, 1);
@@ -710,7 +710,7 @@ var tt = function() {
710
710
  if (p) {
711
711
  this._finalizers = null;
712
712
  try {
713
- for (var u = pt(p), f = u.next(); !f.done; f = u.next()) {
713
+ for (var d = pt(p), f = d.next(); !f.done; f = d.next()) {
714
714
  var T = f.value;
715
715
  try {
716
716
  Mt(T);
@@ -722,7 +722,7 @@ var tt = function() {
722
722
  i = { error: v };
723
723
  } finally {
724
724
  try {
725
- f && !f.done && (r = u.return) && r.call(u);
725
+ f && !f.done && (r = d.return) && r.call(d);
726
726
  } finally {
727
727
  if (i)
728
728
  throw i.error;
@@ -753,10 +753,10 @@ var tt = function() {
753
753
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
754
754
  }, s.prototype._removeParent = function(t) {
755
755
  var e = this._parentage;
756
- e === t ? this._parentage = null : Array.isArray(e) && dt(e, t);
756
+ e === t ? this._parentage = null : Array.isArray(e) && ut(e, t);
757
757
  }, s.prototype.remove = function(t) {
758
758
  var e = this._finalizers;
759
- e && dt(e, t), t instanceof s && t._removeParent(this);
759
+ e && ut(e, t), t instanceof s && t._removeParent(this);
760
760
  }, s.EMPTY = function() {
761
761
  var t = new s();
762
762
  return t.closed = !0, t;
@@ -774,21 +774,21 @@ var oe = {
774
774
  Promise: void 0,
775
775
  useDeprecatedSynchronousErrorHandling: !1,
776
776
  useDeprecatedNextContext: !1
777
- }, ut = {
777
+ }, dt = {
778
778
  setTimeout: function(s, t) {
779
779
  for (var e = [], i = 2; i < arguments.length; i++)
780
780
  e[i - 2] = arguments[i];
781
- var r = ut.delegate;
781
+ var r = dt.delegate;
782
782
  return r != null && r.setTimeout ? r.setTimeout.apply(r, X([s, t], G(e))) : setTimeout.apply(void 0, X([s, t], G(e)));
783
783
  },
784
784
  clearTimeout: function(s) {
785
- var t = ut.delegate;
785
+ var t = dt.delegate;
786
786
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(s);
787
787
  },
788
788
  delegate: void 0
789
789
  };
790
- function Me(s) {
791
- ut.setTimeout(function() {
790
+ function je(s) {
791
+ dt.setTimeout(function() {
792
792
  throw s;
793
793
  });
794
794
  }
@@ -801,7 +801,7 @@ var ne = function(s) {
801
801
  z(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 = Ie, i;
804
+ return i.isStopped = !1, e ? (i.destination = e, re(e) && e.add(i)) : i.destination = He, 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), Ne = Function.prototype.bind;
831
+ }(tt), Me = Function.prototype.bind;
832
832
  function nt(s, t) {
833
- return Ne.call(s, t);
833
+ return Me.call(s, t);
834
834
  }
835
- var Le = function() {
835
+ var Ne = function() {
836
836
  function s(t) {
837
837
  this.partialObserver = t;
838
838
  }
@@ -842,7 +842,7 @@ var Le = function() {
842
842
  try {
843
843
  e.next(t);
844
844
  } catch (i) {
845
- W(i);
845
+ F(i);
846
846
  }
847
847
  }, s.prototype.error = function(t) {
848
848
  var e = this.partialObserver;
@@ -850,17 +850,17 @@ var Le = function() {
850
850
  try {
851
851
  e.error(t);
852
852
  } catch (i) {
853
- W(i);
853
+ F(i);
854
854
  }
855
855
  else
856
- W(t);
856
+ F(t);
857
857
  }, s.prototype.complete = function() {
858
858
  var t = this.partialObserver;
859
859
  if (t.complete)
860
860
  try {
861
861
  t.complete();
862
862
  } catch (e) {
863
- W(e);
863
+ F(e);
864
864
  }
865
865
  }, s;
866
866
  }(), ft = function(s) {
@@ -883,29 +883,29 @@ var Le = function() {
883
883
  complete: e.complete && nt(e.complete, a)
884
884
  }) : n = e;
885
885
  }
886
- return o.destination = new Le(n), o;
886
+ return o.destination = new Ne(n), o;
887
887
  }
888
888
  return t;
889
889
  }(ne);
890
- function W(s) {
891
- Me(s);
890
+ function F(s) {
891
+ je(s);
892
892
  }
893
- function He(s) {
893
+ function Le(s) {
894
894
  throw s;
895
895
  }
896
- var Ie = {
896
+ var He = {
897
897
  closed: !0,
898
898
  next: Nt,
899
- error: He,
899
+ error: Le,
900
900
  complete: Nt
901
- }, De = function() {
901
+ }, Ie = function() {
902
902
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
903
903
  }();
904
- function Be(s) {
904
+ function De(s) {
905
905
  return s;
906
906
  }
907
- function ze(s) {
908
- return s.length === 0 ? Be : s.length === 1 ? s[0] : function(e) {
907
+ function Be(s) {
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);
@@ -919,7 +919,7 @@ 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 = Fe(t) ? t : new ft(t, e, i);
922
+ var r = this, o = Ve(t) ? t : new ft(t, e, i);
923
923
  return q(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));
@@ -949,12 +949,12 @@ 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[De] = function() {
952
+ }, s.prototype[Ie] = 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 ze(t)(this);
957
+ return Be(t)(this);
958
958
  }, s.prototype.toPromise = function(t) {
959
959
  var e = this;
960
960
  return t = Ht(t), new t(function(i, r) {
@@ -975,11 +975,11 @@ function Ht(s) {
975
975
  var t;
976
976
  return (t = s ?? oe.Promise) !== null && t !== void 0 ? t : Promise;
977
977
  }
978
- function Ve(s) {
978
+ function ze(s) {
979
979
  return s && b(s.next) && b(s.error) && b(s.complete);
980
980
  }
981
- function Fe(s) {
982
- return s && s instanceof ne || Ve(s) && re(s);
981
+ function Ve(s) {
982
+ return s && s instanceof ne || ze(s) && re(s);
983
983
  }
984
984
  var We = ie(function(s) {
985
985
  return function() {
@@ -1054,7 +1054,7 @@ var We = ie(function(s) {
1054
1054
  }, t.prototype._innerSubscribe = function(e) {
1055
1055
  var i = this, r = this, o = r.hasError, n = r.isStopped, a = r.observers;
1056
1056
  return o || n ? se : (this.currentObservers = null, a.push(e), new tt(function() {
1057
- i.currentObservers = null, dt(a, e);
1057
+ i.currentObservers = null, ut(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;
@@ -1084,7 +1084,7 @@ var We = ie(function(s) {
1084
1084
  var i, r;
1085
1085
  return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : se;
1086
1086
  }, t;
1087
- }(yt), Ye = function(s) {
1087
+ }(yt), Fe = function(s) {
1088
1088
  z(t, s);
1089
1089
  function t(e) {
1090
1090
  var i = s.call(this) || this;
@@ -1113,7 +1113,7 @@ var We = ie(function(s) {
1113
1113
  * Copyright 2017 Google LLC
1114
1114
  * SPDX-License-Identifier: BSD-3-Clause
1115
1115
  */
1116
- const qe = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt }, Ze = (s = qe, t, e) => {
1116
+ const Ye = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt }, qe = (s = Ye, 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 qe = { 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" ? Ze(s, t, e) : ((i, r, o) => {
1138
+ return (t, e) => typeof e == "object" ? qe(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,10 +1148,10 @@ function g(s) {
1148
1148
  function R(s) {
1149
1149
  return g({ ...s, state: !0, attribute: !1 });
1150
1150
  }
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--)
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--)
1153
1153
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1154
- return i && r && Ke(t, e, r), r;
1154
+ return i && r && Ze(t, e, r), r;
1155
1155
  };
1156
1156
  class bt extends m {
1157
1157
  constructor() {
@@ -1162,7 +1162,7 @@ class bt extends m {
1162
1162
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1163
1163
  }
1164
1164
  render() {
1165
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
1165
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1166
1166
  }
1167
1167
  }
1168
1168
  bt.styles = [
@@ -1184,7 +1184,7 @@ bt.styles = [
1184
1184
  }
1185
1185
  `
1186
1186
  ];
1187
- Xe([
1187
+ Ge([
1188
1188
  g({ attribute: !0 })
1189
1189
  ], bt.prototype, "anchor", 2);
1190
1190
  /**
@@ -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 Je = (s) => s.strings === void 0;
1217
+ const Xe = (s) => s.strings === void 0;
1218
1218
  /**
1219
1219
  * @license
1220
1220
  * Copyright 2017 Google LLC
@@ -1242,13 +1242,13 @@ const L = (s, t) => {
1242
1242
  t._$AN = e = /* @__PURE__ */ new Set();
1243
1243
  else if (e.has(s))
1244
1244
  break;
1245
- e.add(s), ei(t);
1245
+ e.add(s), ti(t);
1246
1246
  }
1247
1247
  };
1248
- function Qe(s) {
1248
+ function Je(s) {
1249
1249
  this._$AN !== void 0 ? (J(this), this._$AM = s, ce(this)) : this._$AM = s;
1250
1250
  }
1251
- function ti(s, t = !1, e = 0) {
1251
+ function Qe(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)
@@ -1260,8 +1260,8 @@ function ti(s, t = !1, e = 0) {
1260
1260
  else
1261
1261
  L(this, s);
1262
1262
  }
1263
- const ei = (s) => {
1264
- s.type == $t.CHILD && (s._$AP ?? (s._$AP = ti), s._$AQ ?? (s._$AQ = Qe));
1263
+ const ti = (s) => {
1264
+ s.type == $t.CHILD && (s._$AP ?? (s._$AP = Qe), s._$AQ ?? (s._$AQ = Je));
1265
1265
  };
1266
1266
  class he extends ae {
1267
1267
  constructor() {
@@ -1275,7 +1275,7 @@ class he extends ae {
1275
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));
1276
1276
  }
1277
1277
  setValue(t) {
1278
- if (Je(this._$Ct))
1278
+ if (Xe(this._$Ct))
1279
1279
  this._$Ct._$AI(t, this);
1280
1280
  else {
1281
1281
  const e = [...this._$Ct._$AH];
@@ -1287,12 +1287,12 @@ class he extends ae {
1287
1287
  reconnected() {
1288
1288
  }
1289
1289
  }
1290
- const ii = /* @__PURE__ */ new WeakMap();
1290
+ const ei = /* @__PURE__ */ new WeakMap();
1291
1291
  let Dt = 0;
1292
- const at = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new WeakSet(), zt = () => new Promise((s) => requestAnimationFrame(s)), si = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Vt = (s, t) => {
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) => {
1293
1293
  const e = s - t;
1294
1294
  return e === 0 ? void 0 : e;
1295
- }, Ft = (s, t) => {
1295
+ }, Wt = (s, t) => {
1296
1296
  const e = s / t;
1297
1297
  return e === 1 ? void 0 : e;
1298
1298
  }, ct = { left: (s, t) => {
@@ -1304,15 +1304,15 @@ const at = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new WeakSet(), zt = (
1304
1304
  }, width: (s, t) => {
1305
1305
  let e;
1306
1306
  t === 0 && (t = 1, e = { width: "1px" });
1307
- const i = Ft(s, t);
1307
+ const i = Wt(s, t);
1308
1308
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1309
1309
  }, height: (s, t) => {
1310
1310
  let e;
1311
1311
  t === 0 && (t = 1, e = { height: "1px" });
1312
- const i = Ft(s, t);
1312
+ const i = Wt(s, t);
1313
1313
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1314
- } }, ri = { duration: 333, easing: "ease-in-out" }, oi = ["left", "top", "width", "height", "opacity", "color", "background"], Wt = /* @__PURE__ */ new WeakMap();
1315
- class ni extends he {
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 {
1316
1316
  constructor(t) {
1317
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.");
@@ -1329,10 +1329,10 @@ class ni extends he {
1329
1329
  (t = this.l) == null || t.call(this), this.l = void 0;
1330
1330
  }
1331
1331
  render(t) {
1332
- return d;
1332
+ return u;
1333
1333
  }
1334
1334
  getController() {
1335
- return ii.get(this.u);
1335
+ return ei.get(this.u);
1336
1336
  }
1337
1337
  isDisabled() {
1338
1338
  var t;
@@ -1341,12 +1341,12 @@ class ni 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, Wt.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, Ft.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 = oi), this.options = t;
1349
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ri), this.options = t;
1350
1350
  }
1351
1351
  m() {
1352
1352
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
@@ -1428,7 +1428,7 @@ class ni 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 = Wt.get(e);
1431
+ const i = Ft.get(e);
1432
1432
  i && !i.isDisabled() && i && t.push(i);
1433
1433
  }
1434
1434
  return t;
@@ -1440,7 +1440,7 @@ class ni extends he {
1440
1440
  }), t;
1441
1441
  }
1442
1442
  j(t, e = this.O()) {
1443
- const i = { ...ri };
1443
+ const i = { ...si };
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) {
@@ -1461,8 +1461,8 @@ class ni extends he {
1461
1461
  const p = ct[c];
1462
1462
  if (h === void 0 || l === void 0)
1463
1463
  continue;
1464
- const u = p(h, l);
1465
- u.transform !== void 0 && (a[c] = u.value, n = !0, r.transform = `${r.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(r, u.overrideFrom));
1464
+ const d = p(h, l);
1465
+ d.transform !== void 0 && (a[c] = d.value, n = !0, r.transform = `${r.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(r, d.overrideFrom));
1466
1466
  } else
1467
1467
  h !== l && h !== void 0 && l !== void 0 && (n = !0, r[c] = h, o[c] = l);
1468
1468
  }
@@ -1491,7 +1491,7 @@ class ni extends he {
1491
1491
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1492
1492
  }
1493
1493
  }
1494
- const ai = _t(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>' };
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>' };
1495
1495
  /**
1496
1496
  * @license
1497
1497
  * Copyright 2018 Google LLC
@@ -1562,17 +1562,17 @@ 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 hi();
1566
- class hi {
1565
+ const pe = () => new ci();
1566
+ class ci {
1567
1567
  }
1568
- const ht = /* @__PURE__ */ new WeakMap(), de = _t(class extends he {
1568
+ const ht = /* @__PURE__ */ new WeakMap(), ue = _t(class extends he {
1569
1569
  render(s) {
1570
- return d;
1570
+ return u;
1571
1571
  }
1572
1572
  update(s, [t]) {
1573
1573
  var i;
1574
1574
  const e = t !== this.Y;
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;
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)), u;
1576
1576
  }
1577
1577
  rt(s) {
1578
1578
  if (typeof this.Y == "function") {
@@ -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 li = Object.defineProperty, pi = Object.getOwnPropertyDescriptor, V = (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--)
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--)
1598
1598
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1599
- return i && r && li(t, e, r), r;
1599
+ return i && r && hi(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 Ye(!1), this.componentIsDestroyed$ = new yt();
1603
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = pe(), this.widgetActive$ = new Fe(!1), this.componentIsDestroyed$ = new yt();
1604
1604
  }
1605
1605
  async connectedCallback() {
1606
1606
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1629,8 +1629,8 @@ class w extends m {
1629
1629
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1630
1630
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1631
1631
  if (!i)
1632
- return d;
1633
- const r = async (l) => ci, { type: o, content: n } = i;
1632
+ return u;
1633
+ const r = async (l) => ai, { type: o, content: n } = i;
1634
1634
  switch (o) {
1635
1635
  case "Telia": {
1636
1636
  const l = await r();
@@ -1638,10 +1638,10 @@ class w extends m {
1638
1638
  class="trigger-icon"
1639
1639
  svg=${l.svg}
1640
1640
  size="lg"
1641
- ></telia-icon>` : d;
1641
+ ></telia-icon>` : u;
1642
1642
  }
1643
1643
  default:
1644
- return d;
1644
+ return u;
1645
1645
  }
1646
1646
  }
1647
1647
  hideTrigger() {
@@ -1657,23 +1657,23 @@ class w extends m {
1657
1657
  "trigger-container": !0,
1658
1658
  hidden: !this.triggerVisible
1659
1659
  })}
1660
- ${de(this.containerRef)}
1660
+ ${ue(this.containerRef)}
1661
1661
  >
1662
1662
  ${!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`
1663
1663
  <button
1664
1664
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1665
1665
  class="trigger-label"
1666
1666
  @click=${this.toggleActive}
1667
- ${ai({
1667
+ ${ni({
1668
1668
  keyframeOptions: {},
1669
- in: si,
1669
+ in: ii,
1670
1670
  stabilizeOut: !0,
1671
1671
  skipInitial: !1
1672
1672
  })}
1673
1673
  >
1674
1674
  ${this.application.settings.branding.other.buttonLabelText}
1675
1675
  </button>
1676
- ` : d}
1676
+ ` : u}
1677
1677
 
1678
1678
  <button
1679
1679
  label="Widget trigger"
@@ -1863,12 +1863,12 @@ V([
1863
1863
  V([
1864
1864
  R()
1865
1865
  ], w.prototype, "icon", 2);
1866
- var di = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, x = (s, t, e, i) => {
1866
+ var pi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, x = (s, t, e, i) => {
1867
1867
  for (var r = i > 1 ? void 0 : i ? ui(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1868
1868
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1869
- return i && r && di(t, e, r), r;
1869
+ return i && r && pi(t, e, r), r;
1870
1870
  };
1871
- const ue = (s) => {
1871
+ const de = (s) => {
1872
1872
  class t extends s {
1873
1873
  constructor() {
1874
1874
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1923,7 +1923,7 @@ const ue = (s) => {
1923
1923
  g({ attribute: !1 })
1924
1924
  ], t.prototype, "parent", 2), t;
1925
1925
  };
1926
- class fe extends ue(m) {
1926
+ class fe extends de(m) {
1927
1927
  render() {
1928
1928
  return C`Non resolved component`;
1929
1929
  }
@@ -1941,7 +1941,7 @@ var wt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s)
1941
1941
  * Copyright 2021 Google LLC
1942
1942
  * SPDX-License-Identifier: BSD-3-Clause
1943
1943
  */
1944
- let fi = class extends Event {
1944
+ let di = class extends Event {
1945
1945
  constructor(t, e, i) {
1946
1946
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1947
1947
  }
@@ -1956,7 +1956,7 @@ let fi = class extends Event {
1956
1956
  * Copyright 2021 Google LLC
1957
1957
  * SPDX-License-Identifier: BSD-3-Clause
1958
1958
  */
1959
- class gi {
1959
+ class fi {
1960
1960
  get value() {
1961
1961
  return this.o;
1962
1962
  }
@@ -1991,12 +1991,12 @@ class gi {
1991
1991
  * Copyright 2021 Google LLC
1992
1992
  * SPDX-License-Identifier: BSD-3-Clause
1993
1993
  */
1994
- let vi = class extends Event {
1994
+ let gi = class extends Event {
1995
1995
  constructor(t) {
1996
1996
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1997
1997
  }
1998
1998
  };
1999
- class qt extends gi {
1999
+ class qt extends fi {
2000
2000
  constructor(t, e, i) {
2001
2001
  var r, o;
2002
2002
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (n) => {
@@ -2008,7 +2008,7 @@ class qt extends gi {
2008
2008
  return;
2009
2009
  const c = /* @__PURE__ */ new Set();
2010
2010
  for (const [h, { consumerHost: l }] of this.subscriptions)
2011
- c.has(h) || (c.add(h), l.dispatchEvent(new fi(this.context, h, !0)));
2011
+ c.has(h) || (c.add(h), l.dispatchEvent(new di(this.context, h, !0)));
2012
2012
  n.stopPropagation();
2013
2013
  }, 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);
2014
2014
  }
@@ -2016,7 +2016,7 @@ class qt extends gi {
2016
2016
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
2017
2017
  }
2018
2018
  hostConnected() {
2019
- this.host.dispatchEvent(new vi(this.context));
2019
+ this.host.dispatchEvent(new gi(this.context));
2020
2020
  }
2021
2021
  }
2022
2022
  /**
@@ -2024,7 +2024,7 @@ class qt extends gi {
2024
2024
  * Copyright 2017 Google LLC
2025
2025
  * SPDX-License-Identifier: BSD-3-Clause
2026
2026
  */
2027
- function mi({ context: s }) {
2027
+ function vi({ context: s }) {
2028
2028
  return (t, e) => {
2029
2029
  const i = /* @__PURE__ */ new WeakMap();
2030
2030
  if (typeof e == "object")
@@ -2062,12 +2062,12 @@ function mi({ context: s }) {
2062
2062
  }
2063
2063
  };
2064
2064
  }
2065
- var yi = Object.defineProperty, bi = Object.getOwnPropertyDescriptor, $i = (s, t, e, i) => {
2066
- for (var r = i > 1 ? void 0 : i ? bi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2065
+ var mi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, bi = (s, t, e, i) => {
2066
+ for (var r = i > 1 ? void 0 : i ? yi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2067
2067
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
2068
- return i && r && yi(t, e, r), r;
2068
+ return i && r && mi(t, e, r), r;
2069
2069
  };
2070
- const _i = "application";
2070
+ const $i = "application";
2071
2071
  class At extends m {
2072
2072
  constructor() {
2073
2073
  super(...arguments), this.nodes = [], this.wrapperRef = pe();
@@ -2095,7 +2095,7 @@ class At extends m {
2095
2095
  render() {
2096
2096
  var i, r;
2097
2097
  const t = this.application.settings.components.conversation;
2098
- 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")), C`<div class="widget-container" ${de(this.wrapperRef)}>
2098
+ 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")), C`<div class="widget-container" ${ue(this.wrapperRef)}>
2099
2099
  ${ee(this.nodes, (o) => o)}
2100
2100
  </div>`;
2101
2101
  }
@@ -2236,36 +2236,24 @@ At.styles = O`
2236
2236
  pointer-events: none;
2237
2237
  }
2238
2238
  `;
2239
- $i([
2239
+ bi([
2240
2240
  g({ attribute: !1 }),
2241
- mi({ context: _i })
2241
+ vi({ context: $i })
2242
2242
  ], At.prototype, "application", 2);
2243
- var ge = /* @__PURE__ */ ((s) => (s.Necessary = "necessary", s.Functional = "functional", s.Analytics = "analytics", s))(ge || {}), wi = Object.defineProperty, Ai = Object.getOwnPropertyDescriptor, xt = (s, t, e, i) => {
2244
- for (var r = i > 1 ? void 0 : i ? Ai(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2243
+ var _i = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, xt = (s, t, e, i) => {
2244
+ for (var r = i > 1 ? void 0 : i ? wi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2245
2245
  (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
2246
- return i && r && wi(t, e, r), r;
2246
+ return i && r && _i(t, e, r), r;
2247
2247
  };
2248
- class F extends m {
2248
+ class W extends m {
2249
2249
  constructor() {
2250
- super(), this.status = "deactivated", this.onMessageReceived = async (t) => {
2251
- var i;
2252
- const e = t.data;
2253
- switch (console.log("postmessage received", t, t.data), e.type) {
2254
- case "deactivate-widget":
2255
- if (this.widget) {
2256
- console.log("deactivating widget");
2257
- const r = this.widget.storage.get("open");
2258
- this.widget.hide(), (i = this.widget.trigger) == null || i.hideTrigger(), r && this.widget.storage.set("open", !0, ge.Necessary);
2259
- }
2260
- break;
2261
- }
2262
- }, this.addEventListener("environment-created", this.onEnvironmentCreated), window.addEventListener("message", this.onMessageReceived);
2250
+ super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2263
2251
  }
2264
2252
  async connectedCallback() {
2265
2253
  super.connectedCallback(), await this.getGlobalEnvironment();
2266
2254
  }
2267
2255
  disconnectedCallback() {
2268
- super.disconnectedCallback(), this.removeEventListener("environment-created", this.onEnvironmentCreated), window.removeEventListener("message", this.onMessageReceived);
2256
+ super.disconnectedCallback(), this.removeEventListener("environment-created", this.onEnvironmentCreated);
2269
2257
  }
2270
2258
  async onEnvironmentCreated(t) {
2271
2259
  this.widget = t.detail.widget, await this.activate(), this.requestUpdate();
@@ -2281,7 +2269,7 @@ class F extends m {
2281
2269
  }
2282
2270
  render() {
2283
2271
  if (!this.widget || this.status !== "activated")
2284
- return d;
2272
+ return u;
2285
2273
  if (this.widget.renderStrategy === wt.Trigger) {
2286
2274
  const t = new w();
2287
2275
  return t.application = this.widget, t;
@@ -2289,7 +2277,7 @@ class F extends m {
2289
2277
  return this.widget.render();
2290
2278
  }
2291
2279
  }
2292
- F.styles = [
2280
+ W.styles = [
2293
2281
  O`
2294
2282
  :host {
2295
2283
  display: block;
@@ -2298,42 +2286,42 @@ F.styles = [
2298
2286
  ];
2299
2287
  xt([
2300
2288
  g({ attribute: !0 })
2301
- ], F.prototype, "name", 2);
2289
+ ], W.prototype, "name", 2);
2302
2290
  xt([
2303
2291
  R()
2304
- ], F.prototype, "widget", 2);
2292
+ ], W.prototype, "widget", 2);
2305
2293
  xt([
2306
2294
  R()
2307
- ], F.prototype, "status", 2);
2295
+ ], W.prototype, "status", 2);
2308
2296
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", bt);
2309
2297
  customElements.get("ace-trigger") || customElements.define("ace-trigger", w);
2310
2298
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fe);
2311
2299
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", At);
2312
- customElements.get("ace-widget") || customElements.define("ace-widget", F);
2313
- const xi = (s) => {
2300
+ customElements.get("ace-widget") || customElements.define("ace-widget", W);
2301
+ const Ai = (s) => {
2314
2302
  const t = {};
2315
2303
  return Object.keys(s).forEach((e) => {
2316
2304
  e.indexOf("css-") > -1 && (t[e] = s[e]);
2317
2305
  }), t;
2318
- }, Ci = (s, t) => {
2319
- const e = xi(t);
2306
+ }, xi = (s, t) => {
2307
+ const e = Ai(t);
2320
2308
  Object.entries(e).forEach(([i, r]) => {
2321
2309
  s.style.setProperty(i.replace("css-", ""), r);
2322
2310
  });
2323
2311
  };
2324
- class Ei extends ue(m) {
2312
+ class Ci extends de(m) {
2325
2313
  constructor() {
2326
2314
  super(...arguments), this.nodes = [];
2327
2315
  }
2328
2316
  render() {
2329
2317
  var t;
2330
- return Ci(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2318
+ return xi(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2331
2319
  "--columns",
2332
2320
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
2333
2321
  ), C`${ee(this.nodes, (e) => e)}`;
2334
2322
  }
2335
2323
  }
2336
- Ei.styles = [
2324
+ Ci.styles = [
2337
2325
  O`
2338
2326
  :host {
2339
2327
  height: 100%;
@@ -2347,6 +2335,6 @@ Ei.styles = [
2347
2335
  `
2348
2336
  ];
2349
2337
  export {
2350
- Ei as Area,
2351
- Ei as default
2338
+ Ci as Area,
2339
+ Ci as default
2352
2340
  };