@telia-ace/widget-components-area-flamingo 1.1.111-rc.5 → 1.1.111-rc.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,18 +3,18 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const W = globalThis, bt = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $t = Symbol(), Ut = /* @__PURE__ */ new WeakMap();
7
- let ne = class {
6
+ const W = globalThis, yt = W.ShadowRoot && (W.ShadyCSS === void 0 || W.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, bt = Symbol(), Rt = /* @__PURE__ */ new WeakMap();
7
+ let re = class {
8
8
  constructor(t, e, i) {
9
- if (this._$cssResult$ = !0, i !== $t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
+ if (this._$cssResult$ = !0, i !== bt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
10
10
  this.cssText = t, this.t = e;
11
11
  }
12
12
  get styleSheet() {
13
13
  let t = this.o;
14
14
  const e = this.t;
15
- if (bt && t === void 0) {
15
+ if (yt && t === void 0) {
16
16
  const i = e !== void 0 && e.length === 1;
17
- i && (t = Ut.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ut.set(e, t));
17
+ i && (t = Rt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Rt.set(e, t));
18
18
  }
19
19
  return t;
20
20
  }
@@ -22,33 +22,33 @@ let ne = class {
22
22
  return this.cssText;
23
23
  }
24
24
  };
25
- const Ce = (s) => new ne(typeof s == "string" ? s : s + "", void 0, $t), O = (s, ...t) => {
25
+ const Ae = (s) => new re(typeof s == "string" ? s : s + "", void 0, bt), O = (s, ...t) => {
26
26
  const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
27
27
  if (o._$cssResult$ === !0) return o.cssText;
28
28
  if (typeof o == "number") return o;
29
29
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
30
30
  })(r) + s[n + 1], s[0]);
31
- return new ne(e, s, $t);
32
- }, Se = (s, t) => {
33
- if (bt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
31
+ return new re(e, s, bt);
32
+ }, Ce = (s, t) => {
33
+ if (yt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
35
  const i = document.createElement("style"), r = W.litNonce;
36
36
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
37
37
  }
38
- }, jt = bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
38
+ }, Ut = yt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
40
  for (const i of t.cssRules) e += i.cssText;
41
- return Ce(e);
41
+ return Ae(e);
42
42
  })(s) : s;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Pe, defineProperty: Oe, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Te, getOwnPropertySymbols: Re, getPrototypeOf: Ue } = Object, w = globalThis, Mt = w.trustedTypes, je = Mt ? Mt.emptyScript : "", it = w.reactiveElementPolyfillSupport, N = (s, t) => s, K = { toAttribute(s, t) {
48
+ const { is: Se, defineProperty: Ee, getOwnPropertyDescriptor: Pe, getOwnPropertyNames: Oe, getOwnPropertySymbols: ke, getPrototypeOf: Te } = Object, w = globalThis, jt = w.trustedTypes, Re = jt ? jt.emptyScript : "", it = w.reactiveElementPolyfillSupport, N = (s, t) => s, K = { toAttribute(s, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- s = s ? je : null;
51
+ s = s ? Re : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,7 +73,7 @@ const { is: Pe, defineProperty: Oe, getOwnPropertyDescriptor: ke, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, _t = (s, t) => !Pe(s, t), Nt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t };
76
+ } }, $t = (s, t) => !Se(s, t), Mt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: $t };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let T = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -82,14 +82,14 @@ let T = class extends HTMLElement {
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t, e = Nt) {
85
+ static createProperty(t, e = Mt) {
86
86
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
87
87
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
88
- r !== void 0 && Oe(this.prototype, t, r);
88
+ r !== void 0 && Ee(this.prototype, t, r);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, e, i) {
92
- const { get: r, set: n } = ke(this.prototype, t) ?? { get() {
92
+ const { get: r, set: n } = Pe(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(o) {
95
95
  this[e] = o;
@@ -102,17 +102,17 @@ let T = class extends HTMLElement {
102
102
  }, configurable: !0, enumerable: !0 };
103
103
  }
104
104
  static getPropertyOptions(t) {
105
- return this.elementProperties.get(t) ?? Nt;
105
+ return this.elementProperties.get(t) ?? Mt;
106
106
  }
107
107
  static _$Ei() {
108
108
  if (this.hasOwnProperty(N("elementProperties"))) return;
109
- const t = Ue(this);
109
+ const t = Te(this);
110
110
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
111
111
  }
112
112
  static finalize() {
113
113
  if (this.hasOwnProperty(N("finalized"))) return;
114
114
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(N("properties"))) {
115
- const e = this.properties, i = [...Te(e), ...Re(e)];
115
+ const e = this.properties, i = [...Oe(e), ...ke(e)];
116
116
  for (const r of i) this.createProperty(r, e[r]);
117
117
  }
118
118
  const t = this[Symbol.metadata];
@@ -131,8 +131,8 @@ let T = class extends HTMLElement {
131
131
  const e = [];
132
132
  if (Array.isArray(t)) {
133
133
  const i = new Set(t.flat(1 / 0).reverse());
134
- for (const r of i) e.unshift(jt(r));
135
- } else t !== void 0 && e.push(jt(t));
134
+ for (const r of i) e.unshift(Ut(r));
135
+ } else t !== void 0 && e.push(Ut(t));
136
136
  return e;
137
137
  }
138
138
  static _$Eu(t, e) {
@@ -161,7 +161,7 @@ let T = class extends HTMLElement {
161
161
  }
162
162
  createRenderRoot() {
163
163
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
164
- return Se(t, this.constructor.elementStyles), t;
164
+ return Ce(t, this.constructor.elementStyles), t;
165
165
  }
166
166
  connectedCallback() {
167
167
  var t;
@@ -200,7 +200,7 @@ let T = class extends HTMLElement {
200
200
  }
201
201
  requestUpdate(t, e, i) {
202
202
  if (t !== void 0) {
203
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _t)(this[t], e)) return;
203
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? $t)(this[t], e)) return;
204
204
  this.P(t, e, i);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -279,59 +279,59 @@ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[N("elementProper
279
279
  * Copyright 2017 Google LLC
280
280
  * SPDX-License-Identifier: BSD-3-Clause
281
281
  */
282
- const I = globalThis, G = I.trustedTypes, It = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, oe = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, ae = "?" + _, Me = `<${ae}>`, S = document, H = () => S.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", wt = Array.isArray, Ne = (s) => wt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", st = `[
283
- \f\r]`, M = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Ht = />/g, A = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
284
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Bt = /'/g, Dt = /"/g, ce = /^(?:script|style|textarea|title)$/i, Ie = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), E = Ie(1), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), zt = /* @__PURE__ */ new WeakMap(), C = S.createTreeWalker(S, 129);
285
- function he(s, t) {
286
- if (!wt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
- return It !== void 0 ? It.createHTML(t) : t;
282
+ const I = globalThis, G = I.trustedTypes, Nt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ne = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, oe = "?" + _, Ue = `<${oe}>`, E = document, H = () => E.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", _t = Array.isArray, je = (s) => _t(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", st = `[
283
+ \f\r]`, M = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, It = /-->/g, Lt = />/g, x = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
284
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ht = /'/g, Bt = /"/g, ae = /^(?:script|style|textarea|title)$/i, Me = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = Me(1), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), zt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
285
+ function ce(s, t) {
286
+ if (!_t(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
+ return Nt !== void 0 ? Nt.createHTML(t) : t;
288
288
  }
289
- const Le = (s, t) => {
289
+ const Ne = (s, t) => {
290
290
  const e = s.length - 1, i = [];
291
291
  let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = M;
292
292
  for (let a = 0; a < e; a++) {
293
293
  const c = s[a];
294
- let h, l, d = -1, p = 0;
295
- for (; p < c.length && (o.lastIndex = p, l = o.exec(c), l !== null); ) p = o.lastIndex, o === M ? l[1] === "!--" ? o = Lt : l[1] !== void 0 ? o = Ht : l[2] !== void 0 ? (ce.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? l[0] === ">" ? (o = r ?? M, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? A : l[3] === '"' ? Dt : Bt) : o === Dt || o === Bt ? o = A : o === Lt || o === Ht ? o = M : (o = A, r = void 0);
296
- const f = o === A && s[a + 1].startsWith("/>") ? " " : "";
297
- n += o === M ? c + Me : d >= 0 ? (i.push(h), c.slice(0, d) + oe + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
294
+ let h, l, u = -1, p = 0;
295
+ for (; p < c.length && (o.lastIndex = p, l = o.exec(c), l !== null); ) p = o.lastIndex, o === M ? l[1] === "!--" ? o = It : l[1] !== void 0 ? o = Lt : l[2] !== void 0 ? (ae.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = x) : l[3] !== void 0 && (o = x) : o === x ? l[0] === ">" ? (o = r ?? M, u = -1) : l[1] === void 0 ? u = -2 : (u = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? x : l[3] === '"' ? Bt : Ht) : o === Bt || o === Ht ? o = x : o === It || o === Lt ? o = M : (o = x, r = void 0);
296
+ const f = o === x && s[a + 1].startsWith("/>") ? " " : "";
297
+ n += o === M ? c + Ue : u >= 0 ? (i.push(h), c.slice(0, u) + ne + c.slice(u) + _ + f) : c + _ + (u === -2 ? a : f);
298
298
  }
299
- return [he(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
299
+ return [ce(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
300
300
  };
301
- let dt = class le {
301
+ let lt = class he {
302
302
  constructor({ strings: t, _$litType$: e }, i) {
303
303
  let r;
304
304
  this.parts = [];
305
305
  let n = 0, o = 0;
306
- const a = t.length - 1, c = this.parts, [h, l] = Le(t, e);
307
- if (this.el = le.createElement(h, i), C.currentNode = this.el.content, e === 2 || e === 3) {
308
- const d = this.el.content.firstChild;
309
- d.replaceWith(...d.childNodes);
306
+ const a = t.length - 1, c = this.parts, [h, l] = Ne(t, e);
307
+ if (this.el = he.createElement(h, i), S.currentNode = this.el.content, e === 2 || e === 3) {
308
+ const u = this.el.content.firstChild;
309
+ u.replaceWith(...u.childNodes);
310
310
  }
311
- for (; (r = C.nextNode()) !== null && c.length < a; ) {
311
+ for (; (r = S.nextNode()) !== null && c.length < a; ) {
312
312
  if (r.nodeType === 1) {
313
- if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(oe)) {
314
- const p = l[o++], f = r.getAttribute(d).split(_), k = /([.?@])?(.*)/.exec(p);
315
- c.push({ type: 1, index: n, name: k[2], strings: f, ctor: k[1] === "." ? Be : k[1] === "?" ? De : k[1] === "@" ? ze : tt }), r.removeAttribute(d);
316
- } else d.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
317
- if (ce.test(r.tagName)) {
318
- const d = r.textContent.split(_), p = d.length - 1;
313
+ if (r.hasAttributes()) for (const u of r.getAttributeNames()) if (u.endsWith(ne)) {
314
+ const p = l[o++], f = r.getAttribute(u).split(_), k = /([.?@])?(.*)/.exec(p);
315
+ c.push({ type: 1, index: n, name: k[2], strings: f, ctor: k[1] === "." ? Le : k[1] === "?" ? He : k[1] === "@" ? Be : tt }), r.removeAttribute(u);
316
+ } else u.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(u));
317
+ if (ae.test(r.tagName)) {
318
+ const u = r.textContent.split(_), p = u.length - 1;
319
319
  if (p > 0) {
320
320
  r.textContent = G ? G.emptyScript : "";
321
- for (let f = 0; f < p; f++) r.append(d[f], H()), C.nextNode(), c.push({ type: 2, index: ++n });
322
- r.append(d[p], H());
321
+ for (let f = 0; f < p; f++) r.append(u[f], H()), S.nextNode(), c.push({ type: 2, index: ++n });
322
+ r.append(u[p], H());
323
323
  }
324
324
  }
325
- } else if (r.nodeType === 8) if (r.data === ae) c.push({ type: 2, index: n });
325
+ } else if (r.nodeType === 8) if (r.data === oe) c.push({ type: 2, index: n });
326
326
  else {
327
- let d = -1;
328
- for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += _.length - 1;
327
+ let u = -1;
328
+ for (; (u = r.data.indexOf(_, u + 1)) !== -1; ) c.push({ type: 7, index: n }), u += _.length - 1;
329
329
  }
330
330
  n++;
331
331
  }
332
332
  }
333
333
  static createElement(t, e) {
334
- const i = S.createElement("template");
334
+ const i = E.createElement("template");
335
335
  return i.innerHTML = t, i;
336
336
  }
337
337
  };
@@ -342,7 +342,7 @@ function R(s, t, e = s, i) {
342
342
  const n = B(t) ? void 0 : t._$litDirective$;
343
343
  return (r == null ? void 0 : r.constructor) !== n && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = R(s, r._$AS(s, t.values), r, i)), t;
344
344
  }
345
- class He {
345
+ class Ie {
346
346
  constructor(t, e) {
347
347
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
348
348
  }
@@ -353,17 +353,17 @@ class He {
353
353
  return this._$AM._$AU;
354
354
  }
355
355
  u(t) {
356
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
357
- C.currentNode = r;
358
- let n = C.nextNode(), o = 0, a = 0, c = i[0];
356
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
357
+ S.currentNode = r;
358
+ let n = S.nextNode(), o = 0, a = 0, c = i[0];
359
359
  for (; c !== void 0; ) {
360
360
  if (o === c.index) {
361
361
  let h;
362
- c.type === 2 ? h = new V(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new Ve(n, this, t)), this._$AV.push(h), c = i[++a];
362
+ c.type === 2 ? h = new V(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ze(n, this, t)), this._$AV.push(h), c = i[++a];
363
363
  }
364
- o !== (c == null ? void 0 : c.index) && (n = C.nextNode(), o++);
364
+ o !== (c == null ? void 0 : c.index) && (n = S.nextNode(), o++);
365
365
  }
366
- return C.currentNode = S, r;
366
+ return S.currentNode = E, r;
367
367
  }
368
368
  p(t) {
369
369
  let e = 0;
@@ -376,7 +376,7 @@ class V {
376
376
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
377
377
  }
378
378
  constructor(t, e, i, r) {
379
- 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;
379
+ 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;
380
380
  }
381
381
  get parentNode() {
382
382
  let t = this._$AA.parentNode;
@@ -390,7 +390,7 @@ class V {
390
390
  return this._$AB;
391
391
  }
392
392
  _$AI(t, e = this) {
393
- t = R(this, t, e), B(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) : Ne(t) ? this.k(t) : this._(t);
393
+ t = R(this, t, e), B(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) : je(t) ? this.k(t) : this._(t);
394
394
  }
395
395
  O(t) {
396
396
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -399,23 +399,23 @@ class V {
399
399
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
400
400
  }
401
401
  _(t) {
402
- this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
402
+ this._$AH !== d && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
403
403
  }
404
404
  $(t) {
405
405
  var n;
406
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = dt.createElement(he(i.h, i.h[0]), this.options)), i);
406
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = lt.createElement(ce(i.h, i.h[0]), this.options)), i);
407
407
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
408
408
  else {
409
- const o = new He(r, this), a = o.u(this.options);
409
+ const o = new Ie(r, this), a = o.u(this.options);
410
410
  o.p(e), this.T(a), this._$AH = o;
411
411
  }
412
412
  }
413
413
  _$AC(t) {
414
414
  let e = zt.get(t.strings);
415
- return e === void 0 && zt.set(t.strings, e = new dt(t)), e;
415
+ return e === void 0 && zt.set(t.strings, e = new lt(t)), e;
416
416
  }
417
417
  k(t) {
418
- wt(this._$AH) || (this._$AH = [], this._$AR());
418
+ _t(this._$AH) || (this._$AH = [], this._$AR());
419
419
  const e = this._$AH;
420
420
  let i, r = 0;
421
421
  for (const n of t) r === e.length ? e.push(i = new V(this.O(H()), this.O(H()), this, this.options)) : i = e[r], i._$AI(n), r++;
@@ -441,7 +441,7 @@ class tt {
441
441
  return this._$AM._$AU;
442
442
  }
443
443
  constructor(t, e, i, r, n) {
444
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
444
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
445
445
  }
446
446
  _$AI(t, e = this, i, r) {
447
447
  const n = this.strings;
@@ -450,37 +450,37 @@ class tt {
450
450
  else {
451
451
  const a = t;
452
452
  let c, h;
453
- for (t = n[0], c = 0; c < n.length - 1; c++) h = R(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
453
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = R(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
454
454
  }
455
455
  o && !r && this.j(t);
456
456
  }
457
457
  j(t) {
458
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
458
+ t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
459
459
  }
460
460
  }
461
- class Be extends tt {
461
+ class Le extends tt {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
465
465
  j(t) {
466
- this.element[this.name] = t === u ? void 0 : t;
466
+ this.element[this.name] = t === d ? void 0 : t;
467
467
  }
468
468
  }
469
- class De extends tt {
469
+ class He extends tt {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
473
473
  j(t) {
474
- this.element.toggleAttribute(this.name, !!t && t !== u);
474
+ this.element.toggleAttribute(this.name, !!t && t !== d);
475
475
  }
476
476
  }
477
- class ze extends tt {
477
+ class Be extends tt {
478
478
  constructor(t, e, i, r, n) {
479
479
  super(t, e, i, r, n), this.type = 5;
480
480
  }
481
481
  _$AI(t, e = this) {
482
- if ((t = R(this, t, e, 0) ?? u) === P) return;
483
- const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== u && (i === u || r);
482
+ if ((t = R(this, t, e, 0) ?? d) === P) return;
483
+ const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || r);
484
484
  r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
485
485
  }
486
486
  handleEvent(t) {
@@ -488,7 +488,7 @@ class ze extends tt {
488
488
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
489
489
  }
490
490
  }
491
- class Ve {
491
+ class ze {
492
492
  constructor(t, e, i) {
493
493
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
494
494
  }
@@ -500,8 +500,8 @@ class Ve {
500
500
  }
501
501
  }
502
502
  const rt = I.litHtmlPolyfillSupport;
503
- rt == null || rt(dt, V), (I.litHtmlVersions ?? (I.litHtmlVersions = [])).push("3.2.1");
504
- const Fe = (s, t, e) => {
503
+ rt == null || rt(lt, V), (I.litHtmlVersions ?? (I.litHtmlVersions = [])).push("3.2.1");
504
+ const De = (s, t, e) => {
505
505
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
506
506
  let r = i._$litPart$;
507
507
  if (r === void 0) {
@@ -526,7 +526,7 @@ let m = class extends T {
526
526
  }
527
527
  update(t) {
528
528
  const e = this.render();
529
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Fe(e, this.renderRoot, this.renderOptions);
529
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = De(e, this.renderRoot, this.renderOptions);
530
530
  }
531
531
  connectedCallback() {
532
532
  var t;
@@ -540,8 +540,8 @@ let m = class extends T {
540
540
  return P;
541
541
  }
542
542
  };
543
- var re;
544
- m._$litElement$ = !0, m.finalized = !0, (re = globalThis.litElementHydrateSupport) == null || re.call(globalThis, { LitElement: m });
543
+ var se;
544
+ m._$litElement$ = !0, m.finalized = !0, (se = globalThis.litElementHydrateSupport) == null || se.call(globalThis, { LitElement: m });
545
545
  const nt = globalThis.litElementPolyfillSupport;
546
546
  nt == null || nt({ LitElement: m });
547
547
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
@@ -550,7 +550,7 @@ nt == null || nt({ LitElement: m });
550
550
  * Copyright 2021 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- function* de(s, t) {
553
+ function* le(s, t) {
554
554
  if (s !== void 0) {
555
555
  let e = 0;
556
556
  for (const i of s) yield t(i, e++);
@@ -572,7 +572,7 @@ function F(s, t) {
572
572
  }
573
573
  s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
574
574
  }
575
- function pt(s) {
575
+ function dt(s) {
576
576
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
577
577
  if (e) return e.call(s);
578
578
  if (s && typeof s.length == "number") return {
@@ -582,7 +582,7 @@ function pt(s) {
582
582
  };
583
583
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
584
584
  }
585
- function ft(s, t) {
585
+ function pt(s, t) {
586
586
  var e = typeof Symbol == "function" && s[Symbol.iterator];
587
587
  if (!e) return s;
588
588
  var i = e.call(s), r, n = [], o;
@@ -599,7 +599,7 @@ function ft(s, t) {
599
599
  }
600
600
  return n;
601
601
  }
602
- function gt(s, t, e) {
602
+ function ft(s, t, e) {
603
603
  if (e || arguments.length === 2) for (var i = 0, r = t.length, n; i < r; i++)
604
604
  (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
605
605
  return s.concat(n || Array.prototype.slice.call(t));
@@ -622,7 +622,7 @@ var ot = ue(function(s) {
622
622
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
623
623
  };
624
624
  });
625
- function vt(s, t) {
625
+ function gt(s, t) {
626
626
  if (s) {
627
627
  var e = s.indexOf(t);
628
628
  0 <= e && s.splice(e, 1);
@@ -640,7 +640,7 @@ var et = function() {
640
640
  if (o)
641
641
  if (this._parentage = null, Array.isArray(o))
642
642
  try {
643
- for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
643
+ for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
644
644
  var h = c.value;
645
645
  h.remove(this);
646
646
  }
@@ -662,16 +662,16 @@ var et = function() {
662
662
  } catch (v) {
663
663
  n = v instanceof ot ? v.errors : [v];
664
664
  }
665
- var d = this._finalizers;
666
- if (d) {
665
+ var u = this._finalizers;
666
+ if (u) {
667
667
  this._finalizers = null;
668
668
  try {
669
- for (var p = pt(d), f = p.next(); !f.done; f = p.next()) {
669
+ for (var p = dt(u), f = p.next(); !f.done; f = p.next()) {
670
670
  var k = f.value;
671
671
  try {
672
- Vt(k);
672
+ Dt(k);
673
673
  } catch (v) {
674
- n = n ?? [], v instanceof ot ? n = gt(gt([], ft(n)), ft(v.errors)) : n.push(v);
674
+ n = n ?? [], v instanceof ot ? n = ft(ft([], pt(n)), pt(v.errors)) : n.push(v);
675
675
  }
676
676
  }
677
677
  } catch (v) {
@@ -691,7 +691,7 @@ var et = function() {
691
691
  var e;
692
692
  if (t && t !== this)
693
693
  if (this.closed)
694
- Vt(t);
694
+ Dt(t);
695
695
  else {
696
696
  if (t instanceof s) {
697
697
  if (t.closed || t._hasParent(this))
@@ -708,56 +708,52 @@ var et = function() {
708
708
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
709
709
  }, s.prototype._removeParent = function(t) {
710
710
  var e = this._parentage;
711
- e === t ? this._parentage = null : Array.isArray(e) && vt(e, t);
711
+ e === t ? this._parentage = null : Array.isArray(e) && gt(e, t);
712
712
  }, s.prototype.remove = function(t) {
713
713
  var e = this._finalizers;
714
- e && vt(e, t), t instanceof s && t._removeParent(this);
714
+ e && gt(e, t), t instanceof s && t._removeParent(this);
715
715
  }, s.EMPTY = function() {
716
716
  var t = new s();
717
717
  return t.closed = !0, t;
718
718
  }(), s;
719
- }(), pe = et.EMPTY;
720
- function fe(s) {
719
+ }(), de = et.EMPTY;
720
+ function pe(s) {
721
721
  return s instanceof et || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
722
722
  }
723
- function Vt(s) {
723
+ function Dt(s) {
724
724
  b(s) ? s() : s.unsubscribe();
725
725
  }
726
- var ge = {
727
- onUnhandledError: null,
728
- onStoppedNotification: null,
729
- Promise: void 0,
730
- useDeprecatedSynchronousErrorHandling: !1,
731
- useDeprecatedNextContext: !1
732
- }, Ye = {
726
+ var Ve = {
727
+ Promise: void 0
728
+ }, Fe = {
733
729
  setTimeout: function(s, t) {
734
730
  for (var e = [], i = 2; i < arguments.length; i++)
735
731
  e[i - 2] = arguments[i];
736
- return setTimeout.apply(void 0, gt([s, t], ft(e)));
732
+ return setTimeout.apply(void 0, ft([s, t], pt(e)));
737
733
  },
738
734
  clearTimeout: function(s) {
739
735
  return clearTimeout(s);
740
736
  },
741
737
  delegate: void 0
742
738
  };
743
- function qe(s) {
744
- Ye.setTimeout(function() {
739
+ function Ye(s) {
740
+ Fe.setTimeout(function() {
745
741
  throw s;
746
742
  });
747
743
  }
748
- function Ft() {
744
+ function Vt() {
749
745
  }
750
746
  function Z(s) {
751
747
  s();
752
748
  }
753
- var ve = function(s) {
749
+ var fe = function(s) {
754
750
  F(t, s);
755
751
  function t(e) {
756
752
  var i = s.call(this) || this;
757
- return i.isStopped = !1, e ? (i.destination = e, fe(e) && e.add(i)) : i.destination = Ge, i;
753
+ return i.isStopped = !1, e ? (i.destination = e, pe(e) && e.add(i)) : i.destination = Ze, i;
758
754
  }
759
755
  return t.create = function(e, i, r) {
760
- return new mt(e, i, r);
756
+ return new vt(e, i, r);
761
757
  }, t.prototype.next = function(e) {
762
758
  this.isStopped || this._next(e);
763
759
  }, t.prototype.error = function(e) {
@@ -781,11 +777,7 @@ var ve = function(s) {
781
777
  this.unsubscribe();
782
778
  }
783
779
  }, t;
784
- }(et), We = Function.prototype.bind;
785
- function at(s, t) {
786
- return We.call(s, t);
787
- }
788
- var Ze = function() {
780
+ }(et), qe = function() {
789
781
  function s(t) {
790
782
  this.partialObserver = t;
791
783
  }
@@ -816,55 +808,43 @@ var Ze = function() {
816
808
  q(e);
817
809
  }
818
810
  }, s;
819
- }(), mt = function(s) {
811
+ }(), vt = function(s) {
820
812
  F(t, s);
821
813
  function t(e, i, r) {
822
814
  var n = s.call(this) || this, o;
823
- if (b(e) || !e)
824
- o = {
825
- next: e ?? void 0,
826
- error: i ?? void 0,
827
- complete: r ?? void 0
828
- };
829
- else {
830
- var a;
831
- n && ge.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
832
- return n.unsubscribe();
833
- }, o = {
834
- next: e.next && at(e.next, a),
835
- error: e.error && at(e.error, a),
836
- complete: e.complete && at(e.complete, a)
837
- }) : o = e;
838
- }
839
- return n.destination = new Ze(o), n;
815
+ return b(e) || !e ? o = {
816
+ next: e ?? void 0,
817
+ error: i ?? void 0,
818
+ complete: r ?? void 0
819
+ } : o = e, n.destination = new qe(o), n;
840
820
  }
841
821
  return t;
842
- }(ve);
822
+ }(fe);
843
823
  function q(s) {
844
- qe(s);
824
+ Ye(s);
845
825
  }
846
- function Ke(s) {
826
+ function We(s) {
847
827
  throw s;
848
828
  }
849
- var Ge = {
829
+ var Ze = {
850
830
  closed: !0,
851
- next: Ft,
852
- error: Ke,
853
- complete: Ft
854
- }, Xe = function() {
831
+ next: Vt,
832
+ error: We,
833
+ complete: Vt
834
+ }, Ke = function() {
855
835
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
856
836
  }();
857
- function Je(s) {
837
+ function Ge(s) {
858
838
  return s;
859
839
  }
860
- function Qe(s) {
861
- return s.length === 0 ? Je : s.length === 1 ? s[0] : function(e) {
840
+ function Xe(s) {
841
+ return s.length === 0 ? Ge : s.length === 1 ? s[0] : function(e) {
862
842
  return s.reduce(function(i, r) {
863
843
  return r(i);
864
844
  }, e);
865
845
  };
866
846
  }
867
- var Yt = function() {
847
+ var Ft = function() {
868
848
  function s(t) {
869
849
  t && (this._subscribe = t);
870
850
  }
@@ -872,7 +852,7 @@ var Yt = function() {
872
852
  var e = new s();
873
853
  return e.source = this, e.operator = t, e;
874
854
  }, s.prototype.subscribe = function(t, e, i) {
875
- var r = this, n = ei(t) ? t : new mt(t, e, i);
855
+ var r = this, n = Qe(t) ? t : new vt(t, e, i);
876
856
  return Z(function() {
877
857
  var o = r, a = o.operator, c = o.source;
878
858
  n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
@@ -885,8 +865,8 @@ var Yt = function() {
885
865
  }
886
866
  }, s.prototype.forEach = function(t, e) {
887
867
  var i = this;
888
- return e = qt(e), new e(function(r, n) {
889
- var o = new mt({
868
+ return e = Yt(e), new e(function(r, n) {
869
+ var o = new vt({
890
870
  next: function(a) {
891
871
  try {
892
872
  t(a);
@@ -902,15 +882,15 @@ var Yt = function() {
902
882
  }, s.prototype._subscribe = function(t) {
903
883
  var e;
904
884
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
905
- }, s.prototype[Xe] = function() {
885
+ }, s.prototype[Ke] = function() {
906
886
  return this;
907
887
  }, s.prototype.pipe = function() {
908
888
  for (var t = [], e = 0; e < arguments.length; e++)
909
889
  t[e] = arguments[e];
910
- return Qe(t)(this);
890
+ return Xe(t)(this);
911
891
  }, s.prototype.toPromise = function(t) {
912
892
  var e = this;
913
- return t = qt(t), new t(function(i, r) {
893
+ return t = Yt(t), new t(function(i, r) {
914
894
  var n;
915
895
  e.subscribe(function(o) {
916
896
  return n = o;
@@ -924,32 +904,32 @@ var Yt = function() {
924
904
  return new s(t);
925
905
  }, s;
926
906
  }();
927
- function qt(s) {
907
+ function Yt(s) {
928
908
  var t;
929
- return (t = s ?? ge.Promise) !== null && t !== void 0 ? t : Promise;
909
+ return (t = s ?? Ve.Promise) !== null && t !== void 0 ? t : Promise;
930
910
  }
931
- function ti(s) {
911
+ function Je(s) {
932
912
  return s && b(s.next) && b(s.error) && b(s.complete);
933
913
  }
934
- function ei(s) {
935
- return s && s instanceof ve || ti(s) && fe(s);
914
+ function Qe(s) {
915
+ return s && s instanceof fe || Je(s) && pe(s);
936
916
  }
937
- var ii = ue(function(s) {
917
+ var ti = ue(function(s) {
938
918
  return function() {
939
919
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
940
920
  };
941
- }), At = function(s) {
921
+ }), wt = function(s) {
942
922
  F(t, s);
943
923
  function t() {
944
924
  var e = s.call(this) || this;
945
925
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
946
926
  }
947
927
  return t.prototype.lift = function(e) {
948
- var i = new Wt(this, this);
928
+ var i = new qt(this, this);
949
929
  return i.operator = e, i;
950
930
  }, t.prototype._throwIfClosed = function() {
951
931
  if (this.closed)
952
- throw new ii();
932
+ throw new ti();
953
933
  }, t.prototype.next = function(e) {
954
934
  var i = this;
955
935
  Z(function() {
@@ -957,7 +937,7 @@ var ii = ue(function(s) {
957
937
  if (i._throwIfClosed(), !i.isStopped) {
958
938
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
959
939
  try {
960
- for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
940
+ for (var o = dt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
961
941
  var c = a.value;
962
942
  c.next(e);
963
943
  }
@@ -1005,19 +985,19 @@ var ii = ue(function(s) {
1005
985
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
1006
986
  }, t.prototype._innerSubscribe = function(e) {
1007
987
  var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
1008
- return n || o ? pe : (this.currentObservers = null, a.push(e), new et(function() {
1009
- i.currentObservers = null, vt(a, e);
988
+ return n || o ? de : (this.currentObservers = null, a.push(e), new et(function() {
989
+ i.currentObservers = null, gt(a, e);
1010
990
  }));
1011
991
  }, t.prototype._checkFinalizedStatuses = function(e) {
1012
992
  var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
1013
993
  r ? e.error(n) : o && e.complete();
1014
994
  }, t.prototype.asObservable = function() {
1015
- var e = new Yt();
995
+ var e = new Ft();
1016
996
  return e.source = this, e;
1017
997
  }, t.create = function(e, i) {
1018
- return new Wt(e, i);
998
+ return new qt(e, i);
1019
999
  }, t;
1020
- }(Yt), Wt = function(s) {
1000
+ }(Ft), qt = function(s) {
1021
1001
  F(t, s);
1022
1002
  function t(e, i) {
1023
1003
  var r = s.call(this) || this;
@@ -1034,9 +1014,9 @@ var ii = ue(function(s) {
1034
1014
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
1035
1015
  }, t.prototype._subscribe = function(e) {
1036
1016
  var i, r;
1037
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : pe;
1017
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : de;
1038
1018
  }, t;
1039
- }(At), me = function(s) {
1019
+ }(wt), ge = function(s) {
1040
1020
  F(t, s);
1041
1021
  function t(e) {
1042
1022
  var i = s.call(this) || this;
@@ -1059,13 +1039,13 @@ var ii = ue(function(s) {
1059
1039
  }, t.prototype.next = function(e) {
1060
1040
  s.prototype.next.call(this, this._value = e);
1061
1041
  }, t;
1062
- }(At);
1042
+ }(wt);
1063
1043
  /**
1064
1044
  * @license
1065
1045
  * Copyright 2017 Google LLC
1066
1046
  * SPDX-License-Identifier: BSD-3-Clause
1067
1047
  */
1068
- const si = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t }, ri = (s = si, t, e) => {
1048
+ const ei = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: $t }, ii = (s = ei, t, e) => {
1069
1049
  const { kind: i, metadata: r } = e;
1070
1050
  let n = globalThis.litPropertyMetadata.get(r);
1071
1051
  if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
@@ -1087,7 +1067,7 @@ const si = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged:
1087
1067
  throw Error("Unsupported decorator location: " + i);
1088
1068
  };
1089
1069
  function g(s) {
1090
- return (t, e) => typeof e == "object" ? ri(s, t, e) : ((i, r, n) => {
1070
+ return (t, e) => typeof e == "object" ? ii(s, t, e) : ((i, r, n) => {
1091
1071
  const o = r.hasOwnProperty(n);
1092
1072
  return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1093
1073
  })(s, t, e);
@@ -1100,10 +1080,10 @@ function g(s) {
1100
1080
  function j(s) {
1101
1081
  return g({ ...s, state: !0, attribute: !1 });
1102
1082
  }
1103
- var ni = Object.defineProperty, oi = (s, t, e, i) => {
1083
+ var si = Object.defineProperty, ri = (s, t, e, i) => {
1104
1084
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1105
1085
  (o = s[n]) && (r = o(t, e, r) || r);
1106
- return r && ni(t, e, r), r;
1086
+ return r && si(t, e, r), r;
1107
1087
  };
1108
1088
  const St = class St extends m {
1109
1089
  constructor() {
@@ -1114,7 +1094,7 @@ const St = class St extends m {
1114
1094
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1115
1095
  }
1116
1096
  render() {
1117
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1097
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
1118
1098
  }
1119
1099
  };
1120
1100
  St.styles = [
@@ -1137,7 +1117,7 @@ St.styles = [
1137
1117
  `
1138
1118
  ];
1139
1119
  let X = St;
1140
- oi([
1120
+ ri([
1141
1121
  g({ attribute: !0 })
1142
1122
  ], X.prototype, "anchor");
1143
1123
  /**
@@ -1145,8 +1125,8 @@ oi([
1145
1125
  * Copyright 2017 Google LLC
1146
1126
  * SPDX-License-Identifier: BSD-3-Clause
1147
1127
  */
1148
- const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Et = (s) => (...t) => ({ _$litDirective$: s, values: t });
1149
- let ye = class {
1128
+ const xt = { ATTRIBUTE: 1, CHILD: 2 }, At = (s) => (...t) => ({ _$litDirective$: s, values: t });
1129
+ let ve = class {
1150
1130
  constructor(t) {
1151
1131
  }
1152
1132
  get _$AU() {
@@ -1167,7 +1147,7 @@ let ye = class {
1167
1147
  * Copyright 2020 Google LLC
1168
1148
  * SPDX-License-Identifier: BSD-3-Clause
1169
1149
  */
1170
- const ai = (s) => s.strings === void 0;
1150
+ const ni = (s) => s.strings === void 0;
1171
1151
  /**
1172
1152
  * @license
1173
1153
  * Copyright 2017 Google LLC
@@ -1185,39 +1165,39 @@ const L = (s, t) => {
1185
1165
  if ((t = s._$AM) === void 0) break;
1186
1166
  e = t._$AN, e.delete(s), s = t;
1187
1167
  } while ((e == null ? void 0 : e.size) === 0);
1188
- }, be = (s) => {
1168
+ }, me = (s) => {
1189
1169
  for (let t; t = s._$AM; s = t) {
1190
1170
  let e = t._$AN;
1191
1171
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1192
1172
  else if (e.has(s)) break;
1193
- e.add(s), li(t);
1173
+ e.add(s), ci(t);
1194
1174
  }
1195
1175
  };
1196
- function ci(s) {
1197
- this._$AN !== void 0 ? (J(this), this._$AM = s, be(this)) : this._$AM = s;
1176
+ function oi(s) {
1177
+ this._$AN !== void 0 ? (J(this), this._$AM = s, me(this)) : this._$AM = s;
1198
1178
  }
1199
- function hi(s, t = !1, e = 0) {
1179
+ function ai(s, t = !1, e = 0) {
1200
1180
  const i = this._$AH, r = this._$AN;
1201
1181
  if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) L(i[n], !1), J(i[n]);
1202
1182
  else i != null && (L(i, !1), J(i));
1203
1183
  else L(this, s);
1204
1184
  }
1205
- const li = (s) => {
1206
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = hi), s._$AQ ?? (s._$AQ = ci));
1185
+ const ci = (s) => {
1186
+ s.type == xt.CHILD && (s._$AP ?? (s._$AP = ai), s._$AQ ?? (s._$AQ = oi));
1207
1187
  };
1208
- class $e extends ye {
1188
+ class ye extends ve {
1209
1189
  constructor() {
1210
1190
  super(...arguments), this._$AN = void 0;
1211
1191
  }
1212
1192
  _$AT(t, e, i) {
1213
- super._$AT(t, e, i), be(this), this.isConnected = t._$AU;
1193
+ super._$AT(t, e, i), me(this), this.isConnected = t._$AU;
1214
1194
  }
1215
1195
  _$AO(t, e = !0) {
1216
1196
  var i, r;
1217
1197
  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));
1218
1198
  }
1219
1199
  setValue(t) {
1220
- if (ai(this._$Ct)) this._$Ct._$AI(t, this);
1200
+ if (ni(this._$Ct)) this._$Ct._$AI(t, this);
1221
1201
  else {
1222
1202
  const e = [...this._$Ct._$AH];
1223
1203
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1228,32 +1208,32 @@ class $e extends ye {
1228
1208
  reconnected() {
1229
1209
  }
1230
1210
  }
1231
- const di = /* @__PURE__ */ new WeakMap();
1232
- let Zt = 0;
1233
- const ct = /* @__PURE__ */ new Map(), Kt = /* @__PURE__ */ new WeakSet(), Gt = () => new Promise((s) => requestAnimationFrame(s)), ui = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Xt = (s, t) => {
1211
+ const hi = /* @__PURE__ */ new WeakMap();
1212
+ let Wt = 0;
1213
+ const at = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((s) => requestAnimationFrame(s)), li = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Gt = (s, t) => {
1234
1214
  const e = s - t;
1235
1215
  return e === 0 ? void 0 : e;
1236
- }, Jt = (s, t) => {
1216
+ }, Xt = (s, t) => {
1237
1217
  const e = s / t;
1238
1218
  return e === 1 ? void 0 : e;
1239
- }, ht = { left: (s, t) => {
1240
- const e = Xt(s, t);
1219
+ }, ct = { left: (s, t) => {
1220
+ const e = Gt(s, t);
1241
1221
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1242
1222
  }, top: (s, t) => {
1243
- const e = Xt(s, t);
1223
+ const e = Gt(s, t);
1244
1224
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1245
1225
  }, width: (s, t) => {
1246
1226
  let e;
1247
1227
  t === 0 && (t = 1, e = { width: "1px" });
1248
- const i = Jt(s, t);
1228
+ const i = Xt(s, t);
1249
1229
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1250
1230
  }, height: (s, t) => {
1251
1231
  let e;
1252
1232
  t === 0 && (t = 1, e = { height: "1px" });
1253
- const i = Jt(s, t);
1233
+ const i = Xt(s, t);
1254
1234
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1255
- } }, pi = { duration: 333, easing: "ease-in-out" }, fi = ["left", "top", "width", "height", "opacity", "color", "background"], Qt = /* @__PURE__ */ new WeakMap();
1256
- class gi extends $e {
1235
+ } }, ui = { duration: 333, easing: "ease-in-out" }, di = ["left", "top", "width", "height", "opacity", "color", "background"], Jt = /* @__PURE__ */ new WeakMap();
1236
+ class pi extends ye {
1257
1237
  constructor(t) {
1258
1238
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === xt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1259
1239
  this.createFinished();
@@ -1269,10 +1249,10 @@ class gi extends $e {
1269
1249
  (t = this.l) == null || t.call(this), this.l = void 0;
1270
1250
  }
1271
1251
  render(t) {
1272
- return u;
1252
+ return d;
1273
1253
  }
1274
1254
  getController() {
1275
- return di.get(this.u);
1255
+ return hi.get(this.u);
1276
1256
  }
1277
1257
  isDisabled() {
1278
1258
  var t;
@@ -1281,17 +1261,17 @@ class gi extends $e {
1281
1261
  update(t, [e]) {
1282
1262
  var r;
1283
1263
  const i = this.u === void 0;
1284
- return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Qt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1264
+ return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Jt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1285
1265
  }
1286
1266
  p(t) {
1287
1267
  t = t ?? {};
1288
1268
  const e = this.getController();
1289
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = fi), this.options = t;
1269
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = di), this.options = t;
1290
1270
  }
1291
1271
  m() {
1292
1272
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1293
1273
  return this.options.properties.forEach((r) => {
1294
- const n = e[r] ?? (ht[r] ? void 0 : i[r]), o = Number(n);
1274
+ const n = e[r] ?? (ct[r] ? void 0 : i[r]), o = Number(n);
1295
1275
  t[r] = isNaN(o) ? n + "" : o;
1296
1276
  }), t;
1297
1277
  }
@@ -1310,17 +1290,17 @@ class gi extends $e {
1310
1290
  async hostUpdated() {
1311
1291
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1312
1292
  let t;
1313
- this.prepare(), await Gt;
1293
+ this.prepare(), await Kt;
1314
1294
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1315
1295
  if (this.A !== void 0) {
1316
1296
  const { from: n, to: o } = this.N(this.A, r, e);
1317
1297
  this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1318
1298
  } else {
1319
- const n = ct.get(this.options.inId);
1299
+ const n = at.get(this.options.inId);
1320
1300
  if (n) {
1321
- ct.delete(this.options.inId);
1301
+ at.delete(this.options.inId);
1322
1302
  const { from: o, to: a } = this.N(n, r, e);
1323
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Zt++, t.forEach((c) => c.zIndex = Zt);
1303
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach((c) => c.zIndex = Wt);
1324
1304
  } else this.options.in && (t = [...this.options.in, {}]);
1325
1305
  }
1326
1306
  this.animate(t, i);
@@ -1336,8 +1316,8 @@ class gi extends $e {
1336
1316
  }
1337
1317
  async disconnected() {
1338
1318
  var e;
1339
- if (!this.h || (this.options.id !== void 0 && ct.set(this.options.id, this.A), this.options.out === void 0)) return;
1340
- if (this.prepare(), await Gt(), (e = this.i) == null ? void 0 : e.isConnected) {
1319
+ if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0)) return;
1320
+ if (this.prepare(), await Kt(), (e = this.i) == null ? void 0 : e.isConnected) {
1341
1321
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1342
1322
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1343
1323
  const r = this.m();
@@ -1363,19 +1343,19 @@ class gi extends $e {
1363
1343
  O() {
1364
1344
  const t = [];
1365
1345
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1366
- const i = Qt.get(e);
1346
+ const i = Jt.get(e);
1367
1347
  i && !i.isDisabled() && i && t.push(i);
1368
1348
  }
1369
1349
  return t;
1370
1350
  }
1371
1351
  get isHostRendered() {
1372
- const t = Kt.has(this.u);
1352
+ const t = Zt.has(this.u);
1373
1353
  return t || this.u.updateComplete.then(() => {
1374
- Kt.add(this.u);
1354
+ Zt.add(this.u);
1375
1355
  }), t;
1376
1356
  }
1377
1357
  j(t, e = this.O()) {
1378
- const i = { ...pi };
1358
+ const i = { ...ui };
1379
1359
  return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1380
1360
  }
1381
1361
  N(t, e, i) {
@@ -1392,10 +1372,10 @@ class gi extends $e {
1392
1372
  const a = {};
1393
1373
  for (const c in e) {
1394
1374
  const h = t[c], l = e[c];
1395
- if (c in ht) {
1396
- const d = ht[c];
1375
+ if (c in ct) {
1376
+ const u = ct[c];
1397
1377
  if (h === void 0 || l === void 0) continue;
1398
- const p = d(h, l);
1378
+ const p = u(h, l);
1399
1379
  p.transform !== void 0 && (a[c] = p.value, o = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
1400
1380
  } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1401
1381
  }
@@ -1424,13 +1404,13 @@ class gi extends $e {
1424
1404
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1425
1405
  }
1426
1406
  }
1427
- const vi = Et(gi), mi = { 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>' };
1407
+ const fi = At(pi), gi = { 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>' };
1428
1408
  /**
1429
1409
  * @license
1430
1410
  * Copyright 2018 Google LLC
1431
1411
  * SPDX-License-Identifier: BSD-3-Clause
1432
1412
  */
1433
- const te = Et(class extends ye {
1413
+ const Qt = At(class extends ve {
1434
1414
  constructor(s) {
1435
1415
  var t;
1436
1416
  if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
@@ -1455,7 +1435,7 @@ const te = Et(class extends ye {
1455
1435
  }
1456
1436
  }), y = (s, t, e) => {
1457
1437
  s && e.style.setProperty(t, s);
1458
- }, _e = (s, t) => {
1438
+ }, be = (s, t) => {
1459
1439
  var e, i, r, n, o, a, c, h, l;
1460
1440
  y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1461
1441
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
@@ -1492,28 +1472,28 @@ const te = Et(class extends ye {
1492
1472
  * Copyright 2020 Google LLC
1493
1473
  * SPDX-License-Identifier: BSD-3-Clause
1494
1474
  */
1495
- const we = () => new yi();
1496
- class yi {
1475
+ const $e = () => new vi();
1476
+ class vi {
1497
1477
  }
1498
- const lt = /* @__PURE__ */ new WeakMap(), Ae = Et(class extends $e {
1478
+ const ht = /* @__PURE__ */ new WeakMap(), _e = At(class extends ye {
1499
1479
  render(s) {
1500
- return u;
1480
+ return d;
1501
1481
  }
1502
1482
  update(s, [t]) {
1503
1483
  var i;
1504
1484
  const e = t !== this.Y;
1505
- 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;
1485
+ 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;
1506
1486
  }
1507
1487
  rt(s) {
1508
1488
  if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1509
1489
  const t = this.ht ?? globalThis;
1510
- let e = lt.get(t);
1511
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.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);
1490
+ let e = ht.get(t);
1491
+ 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);
1512
1492
  } else this.Y.value = s;
1513
1493
  }
1514
1494
  get lt() {
1515
1495
  var s, t;
1516
- return typeof this.Y == "function" ? (s = lt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1496
+ 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;
1517
1497
  }
1518
1498
  disconnected() {
1519
1499
  this.lt === this.ct && this.rt(void 0);
@@ -1522,14 +1502,14 @@ const lt = /* @__PURE__ */ new WeakMap(), Ae = Et(class extends $e {
1522
1502
  this.rt(this.ct);
1523
1503
  }
1524
1504
  });
1525
- var bi = Object.defineProperty, Y = (s, t, e, i) => {
1505
+ var mi = Object.defineProperty, Y = (s, t, e, i) => {
1526
1506
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1527
1507
  (o = s[n]) && (r = o(t, e, r) || r);
1528
- return r && bi(t, e, r), r;
1508
+ return r && mi(t, e, r), r;
1529
1509
  };
1530
- const Pt = class Pt extends m {
1510
+ const Et = class Et extends m {
1531
1511
  constructor() {
1532
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = we(), this.widgetActive$ = new me(!1), this.componentIsDestroyed$ = new At();
1512
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = $e(), this.widgetActive$ = new ge(!1), this.componentIsDestroyed$ = new wt();
1533
1513
  }
1534
1514
  async connectedCallback() {
1535
1515
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1564,28 +1544,28 @@ const Pt = class Pt extends m {
1564
1544
  }
1565
1545
  _applyBranding() {
1566
1546
  var t;
1567
- (t = this.application) != null && t.settings && _e(this.application.settings.branding, this);
1547
+ (t = this.application) != null && t.settings && be(this.application.settings.branding, this);
1568
1548
  }
1569
1549
  async _renderSymbol() {
1570
1550
  var a, c, h;
1571
1551
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1572
1552
  if (e)
1573
- return E` <img src=${e} class="trigger-icon" alt="" /> `;
1553
+ return C` <img src=${e} class="trigger-icon" alt="" /> `;
1574
1554
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1575
1555
  if (!i)
1576
- return u;
1577
- const r = async (l) => mi, { type: n, content: o } = i;
1556
+ return d;
1557
+ const r = async (l) => gi, { type: n, content: o } = i;
1578
1558
  switch (n) {
1579
1559
  case "Telia": {
1580
1560
  const l = await r();
1581
- return l ? E`<telia-icon
1561
+ return l ? C`<telia-icon
1582
1562
  class="trigger-icon"
1583
1563
  svg=${l.svg}
1584
1564
  size="lg"
1585
- ></telia-icon>` : u;
1565
+ ></telia-icon>` : d;
1586
1566
  }
1587
1567
  default:
1588
- return u;
1568
+ return d;
1589
1569
  }
1590
1570
  }
1591
1571
  hideTrigger() {
@@ -1596,32 +1576,32 @@ const Pt = class Pt extends m {
1596
1576
  }
1597
1577
  render() {
1598
1578
  var t, e, i, r;
1599
- return E`<div
1600
- class=${te({
1579
+ return C`<div
1580
+ class=${Qt({
1601
1581
  "trigger-container": !0,
1602
1582
  hidden: !this.triggerVisible
1603
1583
  })}
1604
- ${Ae(this.containerRef)}
1584
+ ${_e(this.containerRef)}
1605
1585
  >
1606
- ${!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) ? E`
1586
+ ${!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`
1607
1587
  <button
1608
1588
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1609
1589
  class="trigger-label"
1610
1590
  @click=${this.toggleActive}
1611
- ${vi({
1591
+ ${fi({
1612
1592
  keyframeOptions: {},
1613
- in: ui,
1593
+ in: li,
1614
1594
  stabilizeOut: !0,
1615
1595
  skipInitial: !1
1616
1596
  })}
1617
1597
  >
1618
1598
  ${this.application.settings.branding.other.buttonLabelText}
1619
1599
  </button>
1620
- ` : u}
1600
+ ` : d}
1621
1601
 
1622
1602
  <button
1623
1603
  label="Widget trigger"
1624
- class=${te({
1604
+ class=${Qt({
1625
1605
  trigger: !0,
1626
1606
  active: this.active,
1627
1607
  rendered: this.loaded
@@ -1660,7 +1640,7 @@ const Pt = class Pt extends m {
1660
1640
  </div>`;
1661
1641
  }
1662
1642
  };
1663
- Pt.styles = [
1643
+ Et.styles = [
1664
1644
  O`
1665
1645
  :host {
1666
1646
  --voca-rem-multiplier: 0.625;
@@ -1792,7 +1772,7 @@ Pt.styles = [
1792
1772
  }
1793
1773
  `
1794
1774
  ];
1795
- let $ = Pt;
1775
+ let $ = Et;
1796
1776
  Y([
1797
1777
  g({ attribute: !1 })
1798
1778
  ], $.prototype, "application");
@@ -1808,12 +1788,12 @@ Y([
1808
1788
  Y([
1809
1789
  j()
1810
1790
  ], $.prototype, "icon");
1811
- var $i = Object.defineProperty, x = (s, t, e, i) => {
1791
+ var yi = Object.defineProperty, A = (s, t, e, i) => {
1812
1792
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1813
1793
  (o = s[n]) && (r = o(t, e, r) || r);
1814
- return r && $i(t, e, r), r;
1794
+ return r && yi(t, e, r), r;
1815
1795
  };
1816
- const xe = (s) => {
1796
+ const we = (s) => {
1817
1797
  const e = class e extends s {
1818
1798
  constructor() {
1819
1799
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1854,41 +1834,41 @@ const xe = (s) => {
1854
1834
  `
1855
1835
  ];
1856
1836
  let t = e;
1857
- return x([
1837
+ return A([
1858
1838
  g()
1859
- ], t.prototype, "properties"), x([
1839
+ ], t.prototype, "properties"), A([
1860
1840
  g()
1861
- ], t.prototype, "context"), x([
1841
+ ], t.prototype, "context"), A([
1862
1842
  g()
1863
- ], t.prototype, "layout"), x([
1843
+ ], t.prototype, "layout"), A([
1864
1844
  g()
1865
- ], t.prototype, "name"), x([
1845
+ ], t.prototype, "name"), A([
1866
1846
  g()
1867
- ], t.prototype, "type"), x([
1847
+ ], t.prototype, "type"), A([
1868
1848
  g({ attribute: !1 })
1869
- ], t.prototype, "application"), x([
1849
+ ], t.prototype, "application"), A([
1870
1850
  g({ attribute: !1 })
1871
1851
  ], t.prototype, "parent"), t;
1872
- }, Ot = class Ot extends xe(m) {
1852
+ }, Pt = class Pt extends we(m) {
1873
1853
  render() {
1874
- return E`Non resolved component`;
1854
+ return C`Non resolved component`;
1875
1855
  }
1876
1856
  };
1877
- Ot.styles = [
1857
+ Pt.styles = [
1878
1858
  O`
1879
1859
  :host {
1880
1860
  display: block;
1881
1861
  }
1882
1862
  `
1883
1863
  ];
1884
- let yt = Ot;
1885
- var D = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(D || {});
1864
+ let mt = Pt;
1865
+ var z = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(z || {});
1886
1866
  /**
1887
1867
  * @license
1888
1868
  * Copyright 2021 Google LLC
1889
1869
  * SPDX-License-Identifier: BSD-3-Clause
1890
1870
  */
1891
- let _i = class extends Event {
1871
+ let bi = class extends Event {
1892
1872
  constructor(t, e, i) {
1893
1873
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1894
1874
  }
@@ -1903,7 +1883,7 @@ let _i = class extends Event {
1903
1883
  * Copyright 2021 Google LLC
1904
1884
  * SPDX-License-Identifier: BSD-3-Clause
1905
1885
  */
1906
- class wi {
1886
+ class $i {
1907
1887
  get value() {
1908
1888
  return this.o;
1909
1889
  }
@@ -1936,12 +1916,12 @@ class wi {
1936
1916
  * Copyright 2021 Google LLC
1937
1917
  * SPDX-License-Identifier: BSD-3-Clause
1938
1918
  */
1939
- let Ai = class extends Event {
1919
+ let _i = class extends Event {
1940
1920
  constructor(t) {
1941
1921
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1942
1922
  }
1943
1923
  };
1944
- class ee extends wi {
1924
+ class te extends $i {
1945
1925
  constructor(t, e, i) {
1946
1926
  var r, n;
1947
1927
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
@@ -1951,7 +1931,7 @@ class ee extends wi {
1951
1931
  const a = o.composedPath()[0];
1952
1932
  if (o.context !== this.context || a === this.host) return;
1953
1933
  const c = /* @__PURE__ */ new Set();
1954
- for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new _i(this.context, h, !0)));
1934
+ for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new bi(this.context, h, !0)));
1955
1935
  o.stopPropagation();
1956
1936
  }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (r = this.host).addController) == null || n.call(r, this);
1957
1937
  }
@@ -1959,7 +1939,7 @@ class ee extends wi {
1959
1939
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1960
1940
  }
1961
1941
  hostConnected() {
1962
- this.host.dispatchEvent(new Ai(this.context));
1942
+ this.host.dispatchEvent(new _i(this.context));
1963
1943
  }
1964
1944
  }
1965
1945
  /**
@@ -1967,11 +1947,11 @@ class ee extends wi {
1967
1947
  * Copyright 2017 Google LLC
1968
1948
  * SPDX-License-Identifier: BSD-3-Clause
1969
1949
  */
1970
- function xi({ context: s }) {
1950
+ function wi({ context: s }) {
1971
1951
  return (t, e) => {
1972
1952
  const i = /* @__PURE__ */ new WeakMap();
1973
1953
  if (typeof e == "object") return e.addInitializer(function() {
1974
- i.set(this, new ee(this, { context: s }));
1954
+ i.set(this, new te(this, { context: s }));
1975
1955
  }), { get() {
1976
1956
  return t.get.call(this);
1977
1957
  }, set(r) {
@@ -1983,7 +1963,7 @@ function xi({ context: s }) {
1983
1963
  } };
1984
1964
  {
1985
1965
  t.constructor.addInitializer((o) => {
1986
- i.set(o, new ee(o, { context: s }));
1966
+ i.set(o, new te(o, { context: s }));
1987
1967
  });
1988
1968
  const r = Object.getOwnPropertyDescriptor(t, e);
1989
1969
  let n;
@@ -2004,14 +1984,14 @@ function xi({ context: s }) {
2004
1984
  }
2005
1985
  };
2006
1986
  }
2007
- var Ei = Object.defineProperty, Ee = (s, t, e, i) => {
1987
+ var xi = Object.defineProperty, xe = (s, t, e, i) => {
2008
1988
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2009
1989
  (o = s[n]) && (r = o(t, e, r) || r);
2010
- return r && Ei(t, e, r), r;
1990
+ return r && xi(t, e, r), r;
2011
1991
  };
2012
- const Ci = "application", kt = class kt extends m {
1992
+ const Ai = "application", Ot = class Ot extends m {
2013
1993
  constructor() {
2014
- super(...arguments), this.nodes = [], this.wrapperRef = we(), this.fullscreen = !1, this.isReady = new me(!1);
1994
+ super(...arguments), this.nodes = [], this.wrapperRef = $e(), this.fullscreen = !1, this.isReady = new ge(!1);
2015
1995
  }
2016
1996
  addChild(t) {
2017
1997
  t.parent = this, this.nodes.push(t);
@@ -2020,7 +2000,7 @@ const Ci = "application", kt = class kt extends m {
2020
2000
  if (!this.wrapperRef.value)
2021
2001
  return;
2022
2002
  const t = this.application.settings;
2023
- t != null && t.branding && _e(t.branding, this.wrapperRef.value);
2003
+ t != null && t.branding && be(t.branding, this.wrapperRef.value);
2024
2004
  }
2025
2005
  applyStyles() {
2026
2006
  if (!this.wrapperRef.value)
@@ -2036,12 +2016,12 @@ const Ci = "application", kt = class kt extends m {
2036
2016
  render() {
2037
2017
  var i, r;
2038
2018
  const t = this.application.settings.components.conversation;
2039
- 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 === D.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")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), E`<div class="widget-container" ${Ae(this.wrapperRef)}>
2040
- ${de(this.nodes, (n) => n)}
2019
+ 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 === z.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")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${_e(this.wrapperRef)}>
2020
+ ${le(this.nodes, (n) => n)}
2041
2021
  </div>`;
2042
2022
  }
2043
2023
  };
2044
- kt.styles = O`
2024
+ Ot.styles = O`
2045
2025
  :host {
2046
2026
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2047
2027
  --spacing-xs: 0.2rem;
@@ -2194,14 +2174,14 @@ kt.styles = O`
2194
2174
  animation: none;
2195
2175
  }
2196
2176
  `;
2197
- let z = kt;
2198
- Ee([
2177
+ let D = Ot;
2178
+ xe([
2199
2179
  g({ attribute: !0 })
2200
- ], z.prototype, "fullscreen");
2201
- Ee([
2180
+ ], D.prototype, "fullscreen");
2181
+ xe([
2202
2182
  g({ attribute: !1 }),
2203
- xi({ context: Ci })
2204
- ], z.prototype, "application");
2183
+ wi({ context: Ai })
2184
+ ], D.prototype, "application");
2205
2185
  const Q = class Q {
2206
2186
  // TODO:
2207
2187
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
@@ -2214,8 +2194,8 @@ const Q = class Q {
2214
2194
  id: i.id,
2215
2195
  triggers: i.triggers || [],
2216
2196
  apps: (i.widgets || []).map((r) => {
2217
- let n = D.Trigger;
2218
- r.renderStrategy.toLowerCase() === "inline" && (n = D.Inline);
2197
+ let n = z.Trigger;
2198
+ r.renderStrategy.toLowerCase() === "inline" && (n = z.Inline);
2219
2199
  const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", h = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2220
2200
  return {
2221
2201
  id: o,
@@ -2240,13 +2220,13 @@ const Q = class Q {
2240
2220
  }
2241
2221
  };
2242
2222
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2243
- let ie = Q;
2244
- var Si = Object.defineProperty, Ct = (s, t, e, i) => {
2223
+ let ee = Q;
2224
+ var Ci = Object.defineProperty, Ct = (s, t, e, i) => {
2245
2225
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2246
2226
  (o = s[n]) && (r = o(t, e, r) || r);
2247
- return r && Si(t, e, r), r;
2227
+ return r && Ci(t, e, r), r;
2248
2228
  };
2249
- const Tt = class Tt extends m {
2229
+ const kt = class kt extends m {
2250
2230
  constructor() {
2251
2231
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2252
2232
  }
@@ -2270,22 +2250,22 @@ const Tt = class Tt extends m {
2270
2250
  }
2271
2251
  render() {
2272
2252
  if (!this.widget || this.status !== "activated")
2273
- return u;
2274
- if (this.widget.renderStrategy === D.Trigger) {
2253
+ return d;
2254
+ if (this.widget.renderStrategy === z.Trigger) {
2275
2255
  const t = new $();
2276
2256
  return t.application = this.widget, t;
2277
2257
  }
2278
2258
  return this.widget.render();
2279
2259
  }
2280
2260
  };
2281
- Tt.styles = [
2261
+ kt.styles = [
2282
2262
  O`
2283
2263
  :host {
2284
2264
  display: block;
2285
2265
  }
2286
2266
  `
2287
2267
  ];
2288
- let U = Tt;
2268
+ let U = kt;
2289
2269
  Ct([
2290
2270
  g({ attribute: !0 })
2291
2271
  ], U.prototype, "name");
@@ -2297,32 +2277,32 @@ Ct([
2297
2277
  ], U.prototype, "status");
2298
2278
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
2299
2279
  customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2300
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", yt);
2301
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2280
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", mt);
2281
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", D);
2302
2282
  customElements.get("ace-widget") || customElements.define("ace-widget", U);
2303
- const Pi = (s) => {
2283
+ const Si = (s) => {
2304
2284
  const t = {};
2305
2285
  return Object.keys(s).forEach((e) => {
2306
2286
  e.indexOf("css-") > -1 && (t[e] = s[e]);
2307
2287
  }), t;
2308
- }, Oi = (s, t) => {
2309
- const e = Pi(t);
2288
+ }, Ei = (s, t) => {
2289
+ const e = Si(t);
2310
2290
  Object.entries(e).forEach(([i, r]) => {
2311
2291
  s.style.setProperty(i.replace("css-", ""), r);
2312
2292
  });
2313
- }, Rt = class Rt extends xe(m) {
2293
+ }, Tt = class Tt extends we(m) {
2314
2294
  constructor() {
2315
2295
  super(...arguments), this.nodes = [];
2316
2296
  }
2317
2297
  render() {
2318
2298
  var t;
2319
- return Oi(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2299
+ return Ei(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2320
2300
  "--columns",
2321
2301
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
2322
- ), E`${de(this.nodes, (e) => e)}`;
2302
+ ), C`${le(this.nodes, (e) => e)}`;
2323
2303
  }
2324
2304
  };
2325
- Rt.styles = [
2305
+ Tt.styles = [
2326
2306
  O`
2327
2307
  :host {
2328
2308
  height: 100%;
@@ -2335,8 +2315,8 @@ Rt.styles = [
2335
2315
  }
2336
2316
  `
2337
2317
  ];
2338
- let se = Rt;
2318
+ let ie = Tt;
2339
2319
  export {
2340
- se as Area,
2341
- se as default
2320
+ ie as Area,
2321
+ ie as default
2342
2322
  };