@telia-ace/widget-components-area-flamingo 1.1.111-rc.0 → 1.1.111-rc.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,10 +3,10 @@
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, vt = Symbol(), Rt = /* @__PURE__ */ new WeakMap();
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
7
  let ne = class {
8
8
  constructor(t, e, i) {
9
- if (this._$cssResult$ = !0, i !== vt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
9
+ if (this._$cssResult$ = !0, i !== $t) 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() {
@@ -14,7 +14,7 @@ let ne = class {
14
14
  const e = this.t;
15
15
  if (bt && t === void 0) {
16
16
  const i = e !== void 0 && e.length === 1;
17
- i && (t = Rt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Rt.set(e, t));
17
+ i && (t = Ut.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ut.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 xe = (s) => new ne(typeof s == "string" ? s : s + "", void 0, vt), O = (s, ...t) => {
26
- const e = s.length === 1 ? s[0] : t.reduce((i, n, r) => i + ((o) => {
25
+ const Ce = (s) => new ne(typeof s == "string" ? s : s + "", void 0, $t), O = (s, ...t) => {
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
- })(n) + s[r + 1], s[0]);
31
- return new ne(e, s, vt);
32
- }, Ae = (s, t) => {
30
+ })(r) + s[n + 1], s[0]);
31
+ return new ne(e, s, $t);
32
+ }, Se = (s, t) => {
33
33
  if (bt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
34
34
  else for (const e of t) {
35
- const i = document.createElement("style"), n = W.litNonce;
36
- n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, s.appendChild(i);
35
+ const i = document.createElement("style"), r = W.litNonce;
36
+ r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
37
37
  }
38
- }, Ut = bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
38
+ }, jt = bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
39
39
  let e = "";
40
40
  for (const i of t.cssRules) e += i.cssText;
41
- return xe(e);
41
+ return Ce(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: Ce, defineProperty: Se, getOwnPropertyDescriptor: Ee, getOwnPropertyNames: Pe, getOwnPropertySymbols: Oe, getPrototypeOf: ke } = Object, w = globalThis, jt = w.trustedTypes, Te = jt ? jt.emptyScript : "", it = w.reactiveElementPolyfillSupport, N = (s, t) => s, K = { toAttribute(s, t) {
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) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- s = s ? Te : null;
51
+ s = s ? je : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,7 +73,7 @@ const { is: Ce, defineProperty: Se, getOwnPropertyDescriptor: Ee, getOwnProperty
73
73
  }
74
74
  }
75
75
  return e;
76
- } }, $t = (s, t) => !Ce(s, t), Mt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: $t };
76
+ } }, _t = (s, t) => !Pe(s, t), Nt = { 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,48 +82,48 @@ 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 = Mt) {
85
+ static createProperty(t, e = Nt) {
86
86
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
87
- const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
88
- n !== void 0 && Se(this.prototype, t, n);
87
+ const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
88
+ r !== void 0 && Oe(this.prototype, t, r);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, e, i) {
92
- const { get: n, set: r } = Ee(this.prototype, t) ?? { get() {
92
+ const { get: r, set: n } = ke(this.prototype, t) ?? { get() {
93
93
  return this[e];
94
94
  }, set(o) {
95
95
  this[e] = o;
96
96
  } };
97
97
  return { get() {
98
- return n == null ? void 0 : n.call(this);
98
+ return r == null ? void 0 : r.call(this);
99
99
  }, set(o) {
100
- const a = n == null ? void 0 : n.call(this);
101
- r.call(this, o), this.requestUpdate(t, a, i);
100
+ const a = r == null ? void 0 : r.call(this);
101
+ n.call(this, o), this.requestUpdate(t, a, i);
102
102
  }, configurable: !0, enumerable: !0 };
103
103
  }
104
104
  static getPropertyOptions(t) {
105
- return this.elementProperties.get(t) ?? Mt;
105
+ return this.elementProperties.get(t) ?? Nt;
106
106
  }
107
107
  static _$Ei() {
108
108
  if (this.hasOwnProperty(N("elementProperties"))) return;
109
- const t = ke(this);
109
+ const t = Ue(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 = [...Pe(e), ...Oe(e)];
116
- for (const n of i) this.createProperty(n, e[n]);
115
+ const e = this.properties, i = [...Te(e), ...Re(e)];
116
+ for (const r of i) this.createProperty(r, e[r]);
117
117
  }
118
118
  const t = this[Symbol.metadata];
119
119
  if (t !== null) {
120
120
  const e = litPropertyMetadata.get(t);
121
- if (e !== void 0) for (const [i, n] of e) this.elementProperties.set(i, n);
121
+ if (e !== void 0) for (const [i, r] of e) this.elementProperties.set(i, r);
122
122
  }
123
123
  this._$Eh = /* @__PURE__ */ new Map();
124
124
  for (const [e, i] of this.elementProperties) {
125
- const n = this._$Eu(e, i);
126
- n !== void 0 && this._$Eh.set(n, e);
125
+ const r = this._$Eu(e, i);
126
+ r !== void 0 && this._$Eh.set(r, e);
127
127
  }
128
128
  this.elementStyles = this.finalizeStyles(this.styles);
129
129
  }
@@ -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 n of i) e.unshift(Ut(n));
135
- } else t !== void 0 && e.push(Ut(t));
134
+ for (const r of i) e.unshift(jt(r));
135
+ } else t !== void 0 && e.push(jt(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 Ae(t, this.constructor.elementStyles), t;
164
+ return Se(t, this.constructor.elementStyles), t;
165
165
  }
166
166
  connectedCallback() {
167
167
  var t;
@@ -183,24 +183,24 @@ let T = class extends HTMLElement {
183
183
  this._$AK(t, i);
184
184
  }
185
185
  _$EC(t, e) {
186
- var r;
187
- const i = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, i);
188
- if (n !== void 0 && i.reflect === !0) {
189
- const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
190
- this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
186
+ var n;
187
+ const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
188
+ if (r !== void 0 && i.reflect === !0) {
189
+ const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
190
+ this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
191
191
  }
192
192
  }
193
193
  _$AK(t, e) {
194
- var r;
195
- const i = this.constructor, n = i._$Eh.get(t);
196
- if (n !== void 0 && this._$Em !== n) {
197
- const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : K;
198
- this._$Em = n, this[n] = a.fromAttribute(e, o.type), this._$Em = null;
194
+ var n;
195
+ const i = this.constructor, r = i._$Eh.get(t);
196
+ if (r !== void 0 && this._$Em !== r) {
197
+ const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : K;
198
+ this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
199
199
  }
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());
@@ -226,21 +226,21 @@ let T = class extends HTMLElement {
226
226
  if (!this.isUpdatePending) return;
227
227
  if (!this.hasUpdated) {
228
228
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
229
- for (const [r, o] of this._$Ep) this[r] = o;
229
+ for (const [n, o] of this._$Ep) this[n] = o;
230
230
  this._$Ep = void 0;
231
231
  }
232
- const n = this.constructor.elementProperties;
233
- if (n.size > 0) for (const [r, o] of n) o.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], o);
232
+ const r = this.constructor.elementProperties;
233
+ if (r.size > 0) for (const [n, o] of r) o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
234
234
  }
235
235
  let t = !1;
236
236
  const e = this._$AL;
237
237
  try {
238
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((n) => {
239
- var r;
240
- return (r = n.hostUpdate) == null ? void 0 : r.call(n);
238
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
239
+ var n;
240
+ return (n = r.hostUpdate) == null ? void 0 : n.call(r);
241
241
  }), this.update(e)) : this._$EU();
242
- } catch (n) {
243
- throw t = !1, this._$EU(), n;
242
+ } catch (r) {
243
+ throw t = !1, this._$EU(), r;
244
244
  }
245
245
  t && this._$AE(e);
246
246
  }
@@ -249,8 +249,8 @@ let T = class extends HTMLElement {
249
249
  _$AE(t) {
250
250
  var e;
251
251
  (e = this._$EO) == null || e.forEach((i) => {
252
- var n;
253
- return (n = i.hostUpdated) == null ? void 0 : n.call(i);
252
+ var r;
253
+ return (r = i.hostUpdated) == null ? void 0 : r.call(i);
254
254
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
255
255
  }
256
256
  _$EU() {
@@ -279,70 +279,70 @@ 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, Nt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, re = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, oe = "?" + _, Re = `<${oe}>`, E = document, H = () => E.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", _t = Array.isArray, Ue = (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, je = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = je(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;
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;
288
288
  }
289
- const Me = (s, t) => {
289
+ const Le = (s, t) => {
290
290
  const e = s.length - 1, i = [];
291
- let n, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = M;
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, 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]) && (n = RegExp("</" + l[2], "g")), o = x) : l[3] !== void 0 && (o = x) : o === x ? l[0] === ">" ? (o = n ?? 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, n = void 0);
296
- const f = o === x && s[a + 1].startsWith("/>") ? " " : "";
297
- r += o === M ? c + Re : u >= 0 ? (i.push(h), c.slice(0, u) + re + c.slice(u) + _ + f) : c + _ + (u === -2 ? a : f);
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);
298
298
  }
299
- return [ce(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
299
+ return [he(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
300
300
  };
301
- let lt = class he {
301
+ let dt = class le {
302
302
  constructor({ strings: t, _$litType$: e }, i) {
303
- let n;
303
+ let r;
304
304
  this.parts = [];
305
- let r = 0, o = 0;
306
- const a = t.length - 1, c = this.parts, [h, l] = Me(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);
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);
310
310
  }
311
- for (; (n = S.nextNode()) !== null && c.length < a; ) {
312
- if (n.nodeType === 1) {
313
- if (n.hasAttributes()) for (const u of n.getAttributeNames()) if (u.endsWith(re)) {
314
- const p = l[o++], f = n.getAttribute(u).split(_), k = /([.?@])?(.*)/.exec(p);
315
- c.push({ type: 1, index: r, name: k[2], strings: f, ctor: k[1] === "." ? Ie : k[1] === "?" ? Le : k[1] === "@" ? He : tt }), n.removeAttribute(u);
316
- } else u.startsWith(_) && (c.push({ type: 6, index: r }), n.removeAttribute(u));
317
- if (ae.test(n.tagName)) {
318
- const u = n.textContent.split(_), p = u.length - 1;
311
+ for (; (r = C.nextNode()) !== null && c.length < a; ) {
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;
319
319
  if (p > 0) {
320
- n.textContent = G ? G.emptyScript : "";
321
- for (let f = 0; f < p; f++) n.append(u[f], H()), S.nextNode(), c.push({ type: 2, index: ++r });
322
- n.append(u[p], H());
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());
323
323
  }
324
324
  }
325
- } else if (n.nodeType === 8) if (n.data === oe) c.push({ type: 2, index: r });
325
+ } else if (r.nodeType === 8) if (r.data === ae) c.push({ type: 2, index: n });
326
326
  else {
327
- let u = -1;
328
- for (; (u = n.data.indexOf(_, u + 1)) !== -1; ) c.push({ type: 7, index: r }), u += _.length - 1;
327
+ let d = -1;
328
+ for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += _.length - 1;
329
329
  }
330
- r++;
330
+ n++;
331
331
  }
332
332
  }
333
333
  static createElement(t, e) {
334
- const i = E.createElement("template");
334
+ const i = S.createElement("template");
335
335
  return i.innerHTML = t, i;
336
336
  }
337
337
  };
338
338
  function R(s, t, e = s, i) {
339
339
  var o, a;
340
340
  if (t === P) return t;
341
- let n = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
342
- const r = B(t) ? void 0 : t._$litDirective$;
343
- return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(s), n._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = R(s, n._$AS(s, t.values), n, i)), t;
341
+ let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
342
+ const n = B(t) ? void 0 : t._$litDirective$;
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 Ne {
345
+ class He {
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 Ne {
353
353
  return this._$AM._$AU;
354
354
  }
355
355
  u(t) {
356
- const { el: { content: e }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
357
- S.currentNode = n;
358
- let r = S.nextNode(), o = 0, a = 0, c = i[0];
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];
359
359
  for (; c !== void 0; ) {
360
360
  if (o === c.index) {
361
361
  let h;
362
- c.type === 2 ? h = new V(r, r.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (h = new Be(r, 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 Ve(n, this, t)), this._$AV.push(h), c = i[++a];
363
363
  }
364
- o !== (c == null ? void 0 : c.index) && (r = S.nextNode(), o++);
364
+ o !== (c == null ? void 0 : c.index) && (n = C.nextNode(), o++);
365
365
  }
366
- return S.currentNode = E, n;
366
+ return C.currentNode = S, r;
367
367
  }
368
368
  p(t) {
369
369
  let e = 0;
@@ -375,8 +375,8 @@ class V {
375
375
  var t;
376
376
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
377
377
  }
378
- constructor(t, e, i, n) {
379
- this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
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;
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 === 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) : Ue(t) ? this.k(t) : this._(t);
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);
394
394
  }
395
395
  O(t) {
396
396
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -399,33 +399,33 @@ class V {
399
399
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
400
400
  }
401
401
  _(t) {
402
- this._$AH !== d && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
402
+ this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
403
403
  }
404
404
  $(t) {
405
- var r;
406
- const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = lt.createElement(ce(i.h, i.h[0]), this.options)), i);
407
- if (((r = this._$AH) == null ? void 0 : r._$AD) === n) this._$AH.p(e);
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);
407
+ if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
408
408
  else {
409
- const o = new Ne(n, this), a = o.u(this.options);
409
+ const o = new He(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 lt(t)), e;
415
+ return e === void 0 && zt.set(t.strings, e = new dt(t)), e;
416
416
  }
417
417
  k(t) {
418
- _t(this._$AH) || (this._$AH = [], this._$AR());
418
+ wt(this._$AH) || (this._$AH = [], this._$AR());
419
419
  const e = this._$AH;
420
- let i, n = 0;
421
- for (const r of t) n === e.length ? e.push(i = new V(this.O(H()), this.O(H()), this, this.options)) : i = e[n], i._$AI(r), n++;
422
- n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
420
+ let i, r = 0;
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++;
422
+ r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
423
423
  }
424
424
  _$AR(t = this._$AA.nextSibling, e) {
425
425
  var i;
426
426
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
427
- const n = t.nextSibling;
428
- t.remove(), t = n;
427
+ const r = t.nextSibling;
428
+ t.remove(), t = r;
429
429
  }
430
430
  }
431
431
  setConnected(t) {
@@ -440,55 +440,55 @@ class tt {
440
440
  get _$AU() {
441
441
  return this._$AM._$AU;
442
442
  }
443
- constructor(t, e, i, n, r) {
444
- this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
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;
445
445
  }
446
- _$AI(t, e = this, i, n) {
447
- const r = this.strings;
446
+ _$AI(t, e = this, i, r) {
447
+ const n = this.strings;
448
448
  let o = !1;
449
- if (r === void 0) t = R(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
449
+ if (n === void 0) t = R(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
450
450
  else {
451
451
  const a = t;
452
452
  let c, h;
453
- for (t = r[0], c = 0; c < r.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 ?? "") + r[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 === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
454
454
  }
455
- o && !n && this.j(t);
455
+ o && !r && this.j(t);
456
456
  }
457
457
  j(t) {
458
- t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
458
+ t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
459
459
  }
460
460
  }
461
- class Ie extends tt {
461
+ class Be extends tt {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
465
465
  j(t) {
466
- this.element[this.name] = t === d ? void 0 : t;
466
+ this.element[this.name] = t === u ? void 0 : t;
467
467
  }
468
468
  }
469
- class Le extends tt {
469
+ class De 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 !== d);
474
+ this.element.toggleAttribute(this.name, !!t && t !== u);
475
475
  }
476
476
  }
477
- class He extends tt {
478
- constructor(t, e, i, n, r) {
479
- super(t, e, i, n, r), this.type = 5;
477
+ class ze extends tt {
478
+ constructor(t, e, i, r, n) {
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) ?? d) === P) return;
483
- const i = this._$AH, n = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== d && (i === d || n);
484
- n && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
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);
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) {
487
487
  var e;
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 Be {
491
+ class Ve {
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
  }
@@ -499,23 +499,23 @@ class Be {
499
499
  R(this, t);
500
500
  }
501
501
  }
502
- const nt = I.litHtmlPolyfillSupport;
503
- nt == null || nt(lt, V), (I.litHtmlVersions ?? (I.litHtmlVersions = [])).push("3.2.1");
504
- const ze = (s, t, e) => {
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) => {
505
505
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
506
- let n = i._$litPart$;
507
- if (n === void 0) {
508
- const r = (e == null ? void 0 : e.renderBefore) ?? null;
509
- i._$litPart$ = n = new V(t.insertBefore(H(), r), r, void 0, e ?? {});
506
+ let r = i._$litPart$;
507
+ if (r === void 0) {
508
+ const n = (e == null ? void 0 : e.renderBefore) ?? null;
509
+ i._$litPart$ = r = new V(t.insertBefore(H(), n), n, void 0, e ?? {});
510
510
  }
511
- return n._$AI(s), n;
511
+ return r._$AI(s), r;
512
512
  };
513
513
  /**
514
514
  * @license
515
515
  * Copyright 2017 Google LLC
516
516
  * SPDX-License-Identifier: BSD-3-Clause
517
517
  */
518
- let y = class extends T {
518
+ let m = class extends T {
519
519
  constructor() {
520
520
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
521
521
  }
@@ -526,7 +526,7 @@ let y = 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 = ze(e, this.renderRoot, this.renderOptions);
529
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Fe(e, this.renderRoot, this.renderOptions);
530
530
  }
531
531
  connectedCallback() {
532
532
  var t;
@@ -540,17 +540,17 @@ let y = class extends T {
540
540
  return P;
541
541
  }
542
542
  };
543
- var se;
544
- y._$litElement$ = !0, y.finalized = !0, (se = globalThis.litElementHydrateSupport) == null || se.call(globalThis, { LitElement: y });
545
- const rt = globalThis.litElementPolyfillSupport;
546
- rt == null || rt({ LitElement: y });
543
+ var re;
544
+ m._$litElement$ = !0, m.finalized = !0, (re = globalThis.litElementHydrateSupport) == null || re.call(globalThis, { LitElement: m });
545
+ const nt = globalThis.litElementPolyfillSupport;
546
+ nt == null || nt({ LitElement: m });
547
547
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
548
548
  /**
549
549
  * @license
550
550
  * Copyright 2021 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- function* le(s, t) {
553
+ function* de(s, t) {
554
554
  if (s !== void 0) {
555
555
  let e = 0;
556
556
  for (const i of s) yield t(i, e++);
@@ -560,7 +560,7 @@ var ut = function(s, t) {
560
560
  return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
561
561
  e.__proto__ = i;
562
562
  } || function(e, i) {
563
- for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n]);
563
+ for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
564
564
  }, ut(s, t);
565
565
  };
566
566
  function F(s, t) {
@@ -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 dt(s) {
575
+ function pt(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,29 +582,29 @@ function dt(s) {
582
582
  };
583
583
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
584
584
  }
585
- function pt(s, t) {
585
+ function ft(s, t) {
586
586
  var e = typeof Symbol == "function" && s[Symbol.iterator];
587
587
  if (!e) return s;
588
- var i = e.call(s), n, r = [], o;
588
+ var i = e.call(s), r, n = [], o;
589
589
  try {
590
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) r.push(n.value);
590
+ for (; (t === void 0 || t-- > 0) && !(r = i.next()).done; ) n.push(r.value);
591
591
  } catch (a) {
592
592
  o = { error: a };
593
593
  } finally {
594
594
  try {
595
- n && !n.done && (e = i.return) && e.call(i);
595
+ r && !r.done && (e = i.return) && e.call(i);
596
596
  } finally {
597
597
  if (o) throw o.error;
598
598
  }
599
599
  }
600
- return r;
600
+ return n;
601
601
  }
602
- function ft(s, t, e) {
603
- if (e || arguments.length === 2) for (var i = 0, n = t.length, r; i < n; i++)
604
- (r || !(i in t)) && (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
605
- return s.concat(r || Array.prototype.slice.call(t));
602
+ function gt(s, t, e) {
603
+ if (e || arguments.length === 2) for (var i = 0, r = t.length, n; i < r; i++)
604
+ (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
605
+ return s.concat(n || Array.prototype.slice.call(t));
606
606
  }
607
- function v(s) {
607
+ function b(s) {
608
608
  return typeof s == "function";
609
609
  }
610
610
  function ue(s) {
@@ -616,13 +616,13 @@ function ue(s) {
616
616
  var ot = ue(function(s) {
617
617
  return function(e) {
618
618
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
619
- ` + e.map(function(i, n) {
620
- return n + 1 + ") " + i.toString();
619
+ ` + e.map(function(i, r) {
620
+ return r + 1 + ") " + i.toString();
621
621
  }).join(`
622
622
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
623
623
  };
624
624
  });
625
- function gt(s, t) {
625
+ function vt(s, t) {
626
626
  if (s) {
627
627
  var e = s.indexOf(t);
628
628
  0 <= e && s.splice(e, 1);
@@ -633,19 +633,19 @@ var et = function() {
633
633
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
634
634
  }
635
635
  return s.prototype.unsubscribe = function() {
636
- var t, e, i, n, r;
636
+ var t, e, i, r, n;
637
637
  if (!this.closed) {
638
638
  this.closed = !0;
639
639
  var o = this._parentage;
640
640
  if (o)
641
641
  if (this._parentage = null, Array.isArray(o))
642
642
  try {
643
- for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
643
+ for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
644
644
  var h = c.value;
645
645
  h.remove(this);
646
646
  }
647
- } catch (m) {
648
- t = { error: m };
647
+ } catch (v) {
648
+ t = { error: v };
649
649
  } finally {
650
650
  try {
651
651
  c && !c.done && (e = a.return) && e.call(a);
@@ -656,42 +656,42 @@ var et = function() {
656
656
  else
657
657
  o.remove(this);
658
658
  var l = this.initialTeardown;
659
- if (v(l))
659
+ if (b(l))
660
660
  try {
661
661
  l();
662
- } catch (m) {
663
- r = m instanceof ot ? m.errors : [m];
662
+ } catch (v) {
663
+ n = v instanceof ot ? v.errors : [v];
664
664
  }
665
- var u = this._finalizers;
666
- if (u) {
665
+ var d = this._finalizers;
666
+ if (d) {
667
667
  this._finalizers = null;
668
668
  try {
669
- for (var p = dt(u), f = p.next(); !f.done; f = p.next()) {
669
+ for (var p = pt(d), f = p.next(); !f.done; f = p.next()) {
670
670
  var k = f.value;
671
671
  try {
672
- Dt(k);
673
- } catch (m) {
674
- r = r ?? [], m instanceof ot ? r = ft(ft([], pt(r)), pt(m.errors)) : r.push(m);
672
+ Vt(k);
673
+ } catch (v) {
674
+ n = n ?? [], v instanceof ot ? n = gt(gt([], ft(n)), ft(v.errors)) : n.push(v);
675
675
  }
676
676
  }
677
- } catch (m) {
678
- i = { error: m };
677
+ } catch (v) {
678
+ i = { error: v };
679
679
  } finally {
680
680
  try {
681
- f && !f.done && (n = p.return) && n.call(p);
681
+ f && !f.done && (r = p.return) && r.call(p);
682
682
  } finally {
683
683
  if (i) throw i.error;
684
684
  }
685
685
  }
686
686
  }
687
- if (r)
688
- throw new ot(r);
687
+ if (n)
688
+ throw new ot(n);
689
689
  }
690
690
  }, s.prototype.add = function(t) {
691
691
  var e;
692
692
  if (t && t !== this)
693
693
  if (this.closed)
694
- Dt(t);
694
+ Vt(t);
695
695
  else {
696
696
  if (t instanceof s) {
697
697
  if (t.closed || t._hasParent(this))
@@ -708,52 +708,56 @@ 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) && gt(e, t);
711
+ e === t ? this._parentage = null : Array.isArray(e) && vt(e, t);
712
712
  }, s.prototype.remove = function(t) {
713
713
  var e = this._finalizers;
714
- e && gt(e, t), t instanceof s && t._removeParent(this);
714
+ e && vt(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
- }(), de = et.EMPTY;
720
- function pe(s) {
721
- return s instanceof et || s && "closed" in s && v(s.remove) && v(s.add) && v(s.unsubscribe);
719
+ }(), pe = et.EMPTY;
720
+ function fe(s) {
721
+ return s instanceof et || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
722
722
  }
723
- function Dt(s) {
724
- v(s) ? s() : s.unsubscribe();
723
+ function Vt(s) {
724
+ b(s) ? s() : s.unsubscribe();
725
725
  }
726
- var De = {
727
- Promise: void 0
728
- }, Ve = {
726
+ var ge = {
727
+ onUnhandledError: null,
728
+ onStoppedNotification: null,
729
+ Promise: void 0,
730
+ useDeprecatedSynchronousErrorHandling: !1,
731
+ useDeprecatedNextContext: !1
732
+ }, Ye = {
729
733
  setTimeout: function(s, t) {
730
734
  for (var e = [], i = 2; i < arguments.length; i++)
731
735
  e[i - 2] = arguments[i];
732
- return setTimeout.apply(void 0, ft([s, t], pt(e)));
736
+ return setTimeout.apply(void 0, gt([s, t], ft(e)));
733
737
  },
734
738
  clearTimeout: function(s) {
735
739
  return clearTimeout(s);
736
740
  },
737
741
  delegate: void 0
738
742
  };
739
- function Fe(s) {
740
- Ve.setTimeout(function() {
743
+ function qe(s) {
744
+ Ye.setTimeout(function() {
741
745
  throw s;
742
746
  });
743
747
  }
744
- function Vt() {
748
+ function Ft() {
745
749
  }
746
750
  function Z(s) {
747
751
  s();
748
752
  }
749
- var fe = function(s) {
753
+ var ve = function(s) {
750
754
  F(t, s);
751
755
  function t(e) {
752
756
  var i = s.call(this) || this;
753
- return i.isStopped = !1, e ? (i.destination = e, pe(e) && e.add(i)) : i.destination = We, i;
757
+ return i.isStopped = !1, e ? (i.destination = e, fe(e) && e.add(i)) : i.destination = Ge, i;
754
758
  }
755
- return t.create = function(e, i, n) {
756
- return new mt(e, i, n);
759
+ return t.create = function(e, i, r) {
760
+ return new mt(e, i, r);
757
761
  }, t.prototype.next = function(e) {
758
762
  this.isStopped || this._next(e);
759
763
  }, t.prototype.error = function(e) {
@@ -777,7 +781,11 @@ var fe = function(s) {
777
781
  this.unsubscribe();
778
782
  }
779
783
  }, t;
780
- }(et), Ye = function() {
784
+ }(et), We = Function.prototype.bind;
785
+ function at(s, t) {
786
+ return We.call(s, t);
787
+ }
788
+ var Ze = function() {
781
789
  function s(t) {
782
790
  this.partialObserver = t;
783
791
  }
@@ -810,41 +818,53 @@ var fe = function(s) {
810
818
  }, s;
811
819
  }(), mt = function(s) {
812
820
  F(t, s);
813
- function t(e, i, n) {
814
- var r = s.call(this) || this, o;
815
- return v(e) || !e ? o = {
816
- next: e ?? void 0,
817
- error: i ?? void 0,
818
- complete: n ?? void 0
819
- } : o = e, r.destination = new Ye(o), r;
821
+ function t(e, i, r) {
822
+ 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;
820
840
  }
821
841
  return t;
822
- }(fe);
842
+ }(ve);
823
843
  function q(s) {
824
- Fe(s);
844
+ qe(s);
825
845
  }
826
- function qe(s) {
846
+ function Ke(s) {
827
847
  throw s;
828
848
  }
829
- var We = {
849
+ var Ge = {
830
850
  closed: !0,
831
- next: Vt,
832
- error: qe,
833
- complete: Vt
834
- }, Ze = function() {
851
+ next: Ft,
852
+ error: Ke,
853
+ complete: Ft
854
+ }, Xe = function() {
835
855
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
836
856
  }();
837
- function Ke(s) {
857
+ function Je(s) {
838
858
  return s;
839
859
  }
840
- function Ge(s) {
841
- return s.length === 0 ? Ke : s.length === 1 ? s[0] : function(e) {
842
- return s.reduce(function(i, n) {
843
- return n(i);
860
+ function Qe(s) {
861
+ return s.length === 0 ? Je : s.length === 1 ? s[0] : function(e) {
862
+ return s.reduce(function(i, r) {
863
+ return r(i);
844
864
  }, e);
845
865
  };
846
866
  }
847
- var Ft = function() {
867
+ var Yt = function() {
848
868
  function s(t) {
849
869
  t && (this._subscribe = t);
850
870
  }
@@ -852,11 +872,11 @@ var Ft = function() {
852
872
  var e = new s();
853
873
  return e.source = this, e.operator = t, e;
854
874
  }, s.prototype.subscribe = function(t, e, i) {
855
- var n = this, r = Je(t) ? t : new mt(t, e, i);
875
+ var r = this, n = ei(t) ? t : new mt(t, e, i);
856
876
  return Z(function() {
857
- var o = n, a = o.operator, c = o.source;
858
- r.add(a ? a.call(r, c) : c ? n._subscribe(r) : n._trySubscribe(r));
859
- }), r;
877
+ var o = r, a = o.operator, c = o.source;
878
+ n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
879
+ }), n;
860
880
  }, s.prototype._trySubscribe = function(t) {
861
881
  try {
862
882
  return this._subscribe(t);
@@ -865,89 +885,89 @@ var Ft = function() {
865
885
  }
866
886
  }, s.prototype.forEach = function(t, e) {
867
887
  var i = this;
868
- return e = Yt(e), new e(function(n, r) {
888
+ return e = qt(e), new e(function(r, n) {
869
889
  var o = new mt({
870
890
  next: function(a) {
871
891
  try {
872
892
  t(a);
873
893
  } catch (c) {
874
- r(c), o.unsubscribe();
894
+ n(c), o.unsubscribe();
875
895
  }
876
896
  },
877
- error: r,
878
- complete: n
897
+ error: n,
898
+ complete: r
879
899
  });
880
900
  i.subscribe(o);
881
901
  });
882
902
  }, s.prototype._subscribe = function(t) {
883
903
  var e;
884
904
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
885
- }, s.prototype[Ze] = function() {
905
+ }, s.prototype[Xe] = function() {
886
906
  return this;
887
907
  }, s.prototype.pipe = function() {
888
908
  for (var t = [], e = 0; e < arguments.length; e++)
889
909
  t[e] = arguments[e];
890
- return Ge(t)(this);
910
+ return Qe(t)(this);
891
911
  }, s.prototype.toPromise = function(t) {
892
912
  var e = this;
893
- return t = Yt(t), new t(function(i, n) {
894
- var r;
913
+ return t = qt(t), new t(function(i, r) {
914
+ var n;
895
915
  e.subscribe(function(o) {
896
- return r = o;
916
+ return n = o;
897
917
  }, function(o) {
898
- return n(o);
918
+ return r(o);
899
919
  }, function() {
900
- return i(r);
920
+ return i(n);
901
921
  });
902
922
  });
903
923
  }, s.create = function(t) {
904
924
  return new s(t);
905
925
  }, s;
906
926
  }();
907
- function Yt(s) {
927
+ function qt(s) {
908
928
  var t;
909
- return (t = s ?? De.Promise) !== null && t !== void 0 ? t : Promise;
929
+ return (t = s ?? ge.Promise) !== null && t !== void 0 ? t : Promise;
910
930
  }
911
- function Xe(s) {
912
- return s && v(s.next) && v(s.error) && v(s.complete);
931
+ function ti(s) {
932
+ return s && b(s.next) && b(s.error) && b(s.complete);
913
933
  }
914
- function Je(s) {
915
- return s && s instanceof fe || Xe(s) && pe(s);
934
+ function ei(s) {
935
+ return s && s instanceof ve || ti(s) && fe(s);
916
936
  }
917
- var Qe = ue(function(s) {
937
+ var ii = ue(function(s) {
918
938
  return function() {
919
939
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
920
940
  };
921
- }), wt = function(s) {
941
+ }), At = function(s) {
922
942
  F(t, s);
923
943
  function t() {
924
944
  var e = s.call(this) || this;
925
945
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
926
946
  }
927
947
  return t.prototype.lift = function(e) {
928
- var i = new qt(this, this);
948
+ var i = new Wt(this, this);
929
949
  return i.operator = e, i;
930
950
  }, t.prototype._throwIfClosed = function() {
931
951
  if (this.closed)
932
- throw new Qe();
952
+ throw new ii();
933
953
  }, t.prototype.next = function(e) {
934
954
  var i = this;
935
955
  Z(function() {
936
- var n, r;
956
+ var r, n;
937
957
  if (i._throwIfClosed(), !i.isStopped) {
938
958
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
939
959
  try {
940
- for (var o = dt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
960
+ for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
941
961
  var c = a.value;
942
962
  c.next(e);
943
963
  }
944
964
  } catch (h) {
945
- n = { error: h };
965
+ r = { error: h };
946
966
  } finally {
947
967
  try {
948
- a && !a.done && (r = o.return) && r.call(o);
968
+ a && !a.done && (n = o.return) && n.call(o);
949
969
  } finally {
950
- if (n) throw n.error;
970
+ if (r) throw r.error;
951
971
  }
952
972
  }
953
973
  }
@@ -957,8 +977,8 @@ var Qe = ue(function(s) {
957
977
  Z(function() {
958
978
  if (i._throwIfClosed(), !i.isStopped) {
959
979
  i.hasError = i.isStopped = !0, i.thrownError = e;
960
- for (var n = i.observers; n.length; )
961
- n.shift().error(e);
980
+ for (var r = i.observers; r.length; )
981
+ r.shift().error(e);
962
982
  }
963
983
  });
964
984
  }, t.prototype.complete = function() {
@@ -984,39 +1004,39 @@ var Qe = ue(function(s) {
984
1004
  }, t.prototype._subscribe = function(e) {
985
1005
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
986
1006
  }, t.prototype._innerSubscribe = function(e) {
987
- var i = this, n = this, r = n.hasError, o = n.isStopped, a = n.observers;
988
- return r || o ? de : (this.currentObservers = null, a.push(e), new et(function() {
989
- i.currentObservers = null, gt(a, e);
1007
+ 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);
990
1010
  }));
991
1011
  }, t.prototype._checkFinalizedStatuses = function(e) {
992
- var i = this, n = i.hasError, r = i.thrownError, o = i.isStopped;
993
- n ? e.error(r) : o && e.complete();
1012
+ var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
1013
+ r ? e.error(n) : o && e.complete();
994
1014
  }, t.prototype.asObservable = function() {
995
- var e = new Ft();
1015
+ var e = new Yt();
996
1016
  return e.source = this, e;
997
1017
  }, t.create = function(e, i) {
998
- return new qt(e, i);
1018
+ return new Wt(e, i);
999
1019
  }, t;
1000
- }(Ft), qt = function(s) {
1020
+ }(Yt), Wt = function(s) {
1001
1021
  F(t, s);
1002
1022
  function t(e, i) {
1003
- var n = s.call(this) || this;
1004
- return n.destination = e, n.source = i, n;
1023
+ var r = s.call(this) || this;
1024
+ return r.destination = e, r.source = i, r;
1005
1025
  }
1006
1026
  return t.prototype.next = function(e) {
1007
- var i, n;
1008
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || n === void 0 || n.call(i, e);
1027
+ var i, r;
1028
+ (r = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || r === void 0 || r.call(i, e);
1009
1029
  }, t.prototype.error = function(e) {
1010
- var i, n;
1011
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || n === void 0 || n.call(i, e);
1030
+ var i, r;
1031
+ (r = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || r === void 0 || r.call(i, e);
1012
1032
  }, t.prototype.complete = function() {
1013
1033
  var e, i;
1014
1034
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
1015
1035
  }, t.prototype._subscribe = function(e) {
1016
- var i, n;
1017
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && n !== void 0 ? n : de;
1036
+ var i, r;
1037
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : pe;
1018
1038
  }, t;
1019
- }(wt), ti = function(s) {
1039
+ }(At), me = function(s) {
1020
1040
  F(t, s);
1021
1041
  function t(e) {
1022
1042
  var i = s.call(this) || this;
@@ -1032,23 +1052,23 @@ var Qe = ue(function(s) {
1032
1052
  var i = s.prototype._subscribe.call(this, e);
1033
1053
  return !i.closed && e.next(this._value), i;
1034
1054
  }, t.prototype.getValue = function() {
1035
- var e = this, i = e.hasError, n = e.thrownError, r = e._value;
1055
+ var e = this, i = e.hasError, r = e.thrownError, n = e._value;
1036
1056
  if (i)
1037
- throw n;
1038
- return this._throwIfClosed(), r;
1057
+ throw r;
1058
+ return this._throwIfClosed(), n;
1039
1059
  }, t.prototype.next = function(e) {
1040
1060
  s.prototype.next.call(this, this._value = e);
1041
1061
  }, t;
1042
- }(wt);
1062
+ }(At);
1043
1063
  /**
1044
1064
  * @license
1045
1065
  * Copyright 2017 Google LLC
1046
1066
  * SPDX-License-Identifier: BSD-3-Clause
1047
1067
  */
1048
- const ei = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: $t }, ii = (s = ei, t, e) => {
1049
- const { kind: i, metadata: n } = e;
1050
- let r = globalThis.litPropertyMetadata.get(n);
1051
- if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(e.name, s), i === "accessor") {
1068
+ const si = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t }, ri = (s = si, t, e) => {
1069
+ const { kind: i, metadata: r } = e;
1070
+ let n = globalThis.litPropertyMetadata.get(r);
1071
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
1052
1072
  const { name: o } = e;
1053
1073
  return { set(a) {
1054
1074
  const c = t.get.call(this);
@@ -1067,9 +1087,9 @@ const ei = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged:
1067
1087
  throw Error("Unsupported decorator location: " + i);
1068
1088
  };
1069
1089
  function g(s) {
1070
- return (t, e) => typeof e == "object" ? ii(s, t, e) : ((i, n, r) => {
1071
- const o = n.hasOwnProperty(r);
1072
- return n.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
1090
+ return (t, e) => typeof e == "object" ? ri(s, t, e) : ((i, r, n) => {
1091
+ const o = r.hasOwnProperty(n);
1092
+ return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1073
1093
  })(s, t, e);
1074
1094
  }
1075
1095
  /**
@@ -1080,12 +1100,12 @@ function g(s) {
1080
1100
  function j(s) {
1081
1101
  return g({ ...s, state: !0, attribute: !1 });
1082
1102
  }
1083
- var si = Object.defineProperty, ni = (s, t, e, i) => {
1084
- for (var n = void 0, r = s.length - 1, o; r >= 0; r--)
1085
- (o = s[r]) && (n = o(t, e, n) || n);
1086
- return n && si(t, e, n), n;
1103
+ var ni = Object.defineProperty, oi = (s, t, e, i) => {
1104
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1105
+ (o = s[n]) && (r = o(t, e, r) || r);
1106
+ return r && ni(t, e, r), r;
1087
1107
  };
1088
- const St = class St extends y {
1108
+ const St = class St extends m {
1089
1109
  constructor() {
1090
1110
  super(...arguments), this.anchor = "BottomRight";
1091
1111
  }
@@ -1094,7 +1114,7 @@ const St = class St extends y {
1094
1114
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1095
1115
  }
1096
1116
  render() {
1097
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
1117
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1098
1118
  }
1099
1119
  };
1100
1120
  St.styles = [
@@ -1117,7 +1137,7 @@ St.styles = [
1117
1137
  `
1118
1138
  ];
1119
1139
  let X = St;
1120
- ni([
1140
+ oi([
1121
1141
  g({ attribute: !0 })
1122
1142
  ], X.prototype, "anchor");
1123
1143
  /**
@@ -1125,8 +1145,8 @@ ni([
1125
1145
  * Copyright 2017 Google LLC
1126
1146
  * SPDX-License-Identifier: BSD-3-Clause
1127
1147
  */
1128
- const xt = { ATTRIBUTE: 1, CHILD: 2 }, At = (s) => (...t) => ({ _$litDirective$: s, values: t });
1129
- let ge = class {
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 {
1130
1150
  constructor(t) {
1131
1151
  }
1132
1152
  get _$AU() {
@@ -1147,7 +1167,7 @@ let ge = class {
1147
1167
  * Copyright 2020 Google LLC
1148
1168
  * SPDX-License-Identifier: BSD-3-Clause
1149
1169
  */
1150
- const ri = (s) => s.strings === void 0;
1170
+ const ai = (s) => s.strings === void 0;
1151
1171
  /**
1152
1172
  * @license
1153
1173
  * Copyright 2017 Google LLC
@@ -1157,7 +1177,7 @@ const L = (s, t) => {
1157
1177
  var i;
1158
1178
  const e = s._$AN;
1159
1179
  if (e === void 0) return !1;
1160
- for (const n of e) (i = n._$AO) == null || i.call(n, t, !1), L(n, t);
1180
+ for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), L(r, t);
1161
1181
  return !0;
1162
1182
  }, J = (s) => {
1163
1183
  let t, e;
@@ -1165,39 +1185,39 @@ const L = (s, t) => {
1165
1185
  if ((t = s._$AM) === void 0) break;
1166
1186
  e = t._$AN, e.delete(s), s = t;
1167
1187
  } while ((e == null ? void 0 : e.size) === 0);
1168
- }, me = (s) => {
1188
+ }, be = (s) => {
1169
1189
  for (let t; t = s._$AM; s = t) {
1170
1190
  let e = t._$AN;
1171
1191
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1172
1192
  else if (e.has(s)) break;
1173
- e.add(s), ci(t);
1193
+ e.add(s), li(t);
1174
1194
  }
1175
1195
  };
1176
- function oi(s) {
1177
- this._$AN !== void 0 ? (J(this), this._$AM = s, me(this)) : this._$AM = s;
1196
+ function ci(s) {
1197
+ this._$AN !== void 0 ? (J(this), this._$AM = s, be(this)) : this._$AM = s;
1178
1198
  }
1179
- function ai(s, t = !1, e = 0) {
1180
- const i = this._$AH, n = this._$AN;
1181
- if (n !== void 0 && n.size !== 0) if (t) if (Array.isArray(i)) for (let r = e; r < i.length; r++) L(i[r], !1), J(i[r]);
1199
+ function hi(s, t = !1, e = 0) {
1200
+ const i = this._$AH, r = this._$AN;
1201
+ 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]);
1182
1202
  else i != null && (L(i, !1), J(i));
1183
1203
  else L(this, s);
1184
1204
  }
1185
- const ci = (s) => {
1186
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = ai), s._$AQ ?? (s._$AQ = oi));
1205
+ const li = (s) => {
1206
+ s.type == xt.CHILD && (s._$AP ?? (s._$AP = hi), s._$AQ ?? (s._$AQ = ci));
1187
1207
  };
1188
- class ye extends ge {
1208
+ class $e extends ye {
1189
1209
  constructor() {
1190
1210
  super(...arguments), this._$AN = void 0;
1191
1211
  }
1192
1212
  _$AT(t, e, i) {
1193
- super._$AT(t, e, i), me(this), this.isConnected = t._$AU;
1213
+ super._$AT(t, e, i), be(this), this.isConnected = t._$AU;
1194
1214
  }
1195
1215
  _$AO(t, e = !0) {
1196
- var i, n;
1197
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (L(this, t), J(this));
1216
+ var i, r;
1217
+ 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));
1198
1218
  }
1199
1219
  setValue(t) {
1200
- if (ri(this._$Ct)) this._$Ct._$AI(t, this);
1220
+ if (ai(this._$Ct)) this._$Ct._$AI(t, this);
1201
1221
  else {
1202
1222
  const e = [...this._$Ct._$AH];
1203
1223
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1208,32 +1228,32 @@ class ye extends ge {
1208
1228
  reconnected() {
1209
1229
  }
1210
1230
  }
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) => {
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) => {
1214
1234
  const e = s - t;
1215
1235
  return e === 0 ? void 0 : e;
1216
- }, Xt = (s, t) => {
1236
+ }, Jt = (s, t) => {
1217
1237
  const e = s / t;
1218
1238
  return e === 1 ? void 0 : e;
1219
- }, ct = { left: (s, t) => {
1220
- const e = Gt(s, t);
1239
+ }, ht = { left: (s, t) => {
1240
+ const e = Xt(s, t);
1221
1241
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1222
1242
  }, top: (s, t) => {
1223
- const e = Gt(s, t);
1243
+ const e = Xt(s, t);
1224
1244
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1225
1245
  }, width: (s, t) => {
1226
1246
  let e;
1227
1247
  t === 0 && (t = 1, e = { width: "1px" });
1228
- const i = Xt(s, t);
1248
+ const i = Jt(s, t);
1229
1249
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1230
1250
  }, height: (s, t) => {
1231
1251
  let e;
1232
1252
  t === 0 && (t = 1, e = { height: "1px" });
1233
- const i = Xt(s, t);
1253
+ const i = Jt(s, t);
1234
1254
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
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 {
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 {
1237
1257
  constructor(t) {
1238
1258
  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.");
1239
1259
  this.createFinished();
@@ -1249,38 +1269,38 @@ class pi extends ye {
1249
1269
  (t = this.l) == null || t.call(this), this.l = void 0;
1250
1270
  }
1251
1271
  render(t) {
1252
- return d;
1272
+ return u;
1253
1273
  }
1254
1274
  getController() {
1255
- return hi.get(this.u);
1275
+ return di.get(this.u);
1256
1276
  }
1257
1277
  isDisabled() {
1258
1278
  var t;
1259
1279
  return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1260
1280
  }
1261
1281
  update(t, [e]) {
1262
- var n;
1282
+ var r;
1263
1283
  const i = this.u === void 0;
1264
- return i && (this.u = (n = t.options) == null ? void 0 : n.host, this.u.addController(this), this.u.updateComplete.then((r) => 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);
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);
1265
1285
  }
1266
1286
  p(t) {
1267
1287
  t = t ?? {};
1268
1288
  const e = this.getController();
1269
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = di), this.options = t;
1289
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = fi), this.options = t;
1270
1290
  }
1271
1291
  m() {
1272
1292
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1273
- return this.options.properties.forEach((n) => {
1274
- const r = e[n] ?? (ct[n] ? void 0 : i[n]), o = Number(r);
1275
- t[n] = isNaN(o) ? r + "" : o;
1293
+ return this.options.properties.forEach((r) => {
1294
+ const n = e[r] ?? (ht[r] ? void 0 : i[r]), o = Number(n);
1295
+ t[r] = isNaN(o) ? n + "" : o;
1276
1296
  }), t;
1277
1297
  }
1278
1298
  v() {
1279
1299
  let t, e = !0;
1280
- return this.options.guard && (t = this.options.guard(), e = ((i, n) => {
1300
+ return this.options.guard && (t = this.options.guard(), e = ((i, r) => {
1281
1301
  if (Array.isArray(i)) {
1282
- if (Array.isArray(n) && n.length === i.length && i.every((r, o) => r === n[o])) return !1;
1283
- } else if (n === i) return !1;
1302
+ if (Array.isArray(r) && r.length === i.length && i.every((n, o) => n === r[o])) return !1;
1303
+ } else if (r === i) return !1;
1284
1304
  return !0;
1285
1305
  })(t, this._)), this.h = this.t && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.h && (this._ = Array.isArray(t) ? Array.from(t) : t), this.h;
1286
1306
  }
@@ -1290,17 +1310,17 @@ class pi extends ye {
1290
1310
  async hostUpdated() {
1291
1311
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1292
1312
  let t;
1293
- this.prepare(), await Kt;
1294
- const e = this.O(), i = this.j(this.options.keyframeOptions, e), n = this.m();
1313
+ this.prepare(), await Gt;
1314
+ const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1295
1315
  if (this.A !== void 0) {
1296
- const { from: r, to: o } = this.N(this.A, n, e);
1297
- this.log("measured", [this.A, n, r, o]), t = this.calculateKeyframes(r, o);
1316
+ const { from: n, to: o } = this.N(this.A, r, e);
1317
+ this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1298
1318
  } else {
1299
- const r = at.get(this.options.inId);
1300
- if (r) {
1301
- at.delete(this.options.inId);
1302
- const { from: o, to: a } = this.N(r, n, e);
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);
1319
+ const n = ct.get(this.options.inId);
1320
+ if (n) {
1321
+ ct.delete(this.options.inId);
1322
+ 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);
1304
1324
  } else this.options.in && (t = [...this.options.in, {}]);
1305
1325
  }
1306
1326
  this.animate(t, i);
@@ -1316,14 +1336,14 @@ class pi extends ye {
1316
1336
  }
1317
1337
  async disconnected() {
1318
1338
  var e;
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) {
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) {
1321
1341
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1322
1342
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1323
- const n = this.m();
1343
+ const r = this.m();
1324
1344
  this.log("stabilizing out");
1325
- const r = this.A.left - n.left, o = this.A.top - n.top;
1326
- getComputedStyle(this.element).position !== "static" || r === 0 && o === 0 || (this.element.style.position = "relative"), r !== 0 && (this.element.style.left = r + "px"), o !== 0 && (this.element.style.top = o + "px");
1345
+ const n = this.A.left - r.left, o = this.A.top - r.top;
1346
+ getComputedStyle(this.element).position !== "static" || n === 0 && o === 0 || (this.element.style.position = "relative"), n !== 0 && (this.element.style.left = n + "px"), o !== 0 && (this.element.style.top = o + "px");
1327
1347
  }
1328
1348
  }
1329
1349
  const t = this.j(this.options.keyframeOptions);
@@ -1343,56 +1363,56 @@ class pi extends ye {
1343
1363
  O() {
1344
1364
  const t = [];
1345
1365
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1346
- const i = Jt.get(e);
1366
+ const i = Qt.get(e);
1347
1367
  i && !i.isDisabled() && i && t.push(i);
1348
1368
  }
1349
1369
  return t;
1350
1370
  }
1351
1371
  get isHostRendered() {
1352
- const t = Zt.has(this.u);
1372
+ const t = Kt.has(this.u);
1353
1373
  return t || this.u.updateComplete.then(() => {
1354
- Zt.add(this.u);
1374
+ Kt.add(this.u);
1355
1375
  }), t;
1356
1376
  }
1357
1377
  j(t, e = this.O()) {
1358
- const i = { ...ui };
1359
- return e.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1378
+ const i = { ...pi };
1379
+ return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1360
1380
  }
1361
1381
  N(t, e, i) {
1362
1382
  t = { ...t }, e = { ...e };
1363
- const n = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1364
- let r = 1, o = 1;
1365
- return n.length > 0 && (n.forEach((a) => {
1366
- a.width && (r /= a.width), a.height && (o /= a.height);
1367
- }), t.left !== void 0 && e.left !== void 0 && (t.left = r * t.left, e.left = r * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1383
+ const r = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1384
+ let n = 1, o = 1;
1385
+ return r.length > 0 && (r.forEach((a) => {
1386
+ a.width && (n /= a.width), a.height && (o /= a.height);
1387
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = n * t.left, e.left = n * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1368
1388
  }
1369
1389
  calculateKeyframes(t, e, i = !1) {
1370
- const n = {}, r = {};
1390
+ const r = {}, n = {};
1371
1391
  let o = !1;
1372
1392
  const a = {};
1373
1393
  for (const c in e) {
1374
1394
  const h = t[c], l = e[c];
1375
- if (c in ct) {
1376
- const u = ct[c];
1395
+ if (c in ht) {
1396
+ const d = ht[c];
1377
1397
  if (h === void 0 || l === void 0) continue;
1378
- const p = u(h, l);
1379
- p.transform !== void 0 && (a[c] = p.value, o = !0, n.transform = `${n.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(n, p.overrideFrom));
1380
- } else h !== l && h !== void 0 && l !== void 0 && (o = !0, n[c] = h, r[c] = l);
1398
+ const p = d(h, l);
1399
+ 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
+ } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1381
1401
  }
1382
- return n.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
1402
+ return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
1383
1403
  }
1384
1404
  async animate(t, e = this.options.keyframeOptions) {
1385
1405
  this.start(), this.frames = t;
1386
1406
  let i = !1;
1387
1407
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1388
1408
  this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
1389
- const n = this.getController();
1390
- n == null || n.add(this);
1409
+ const r = this.getController();
1410
+ r == null || r.add(this);
1391
1411
  try {
1392
1412
  await this.webAnimation.finished;
1393
1413
  } catch {
1394
1414
  }
1395
- n == null || n.remove(this);
1415
+ r == null || r.remove(this);
1396
1416
  }
1397
1417
  return this.didFinish(i), i;
1398
1418
  }
@@ -1404,13 +1424,13 @@ class pi extends ye {
1404
1424
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1405
1425
  }
1406
1426
  }
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>' };
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>' };
1408
1428
  /**
1409
1429
  * @license
1410
1430
  * Copyright 2018 Google LLC
1411
1431
  * SPDX-License-Identifier: BSD-3-Clause
1412
1432
  */
1413
- const Qt = At(class extends ge {
1433
+ const te = Et(class extends ye {
1414
1434
  constructor(s) {
1415
1435
  var t;
1416
1436
  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.");
@@ -1419,81 +1439,81 @@ const Qt = At(class extends ge {
1419
1439
  return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1420
1440
  }
1421
1441
  update(s, [t]) {
1422
- var i, n;
1442
+ var i, r;
1423
1443
  if (this.st === void 0) {
1424
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1425
- for (const r in t) t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
1444
+ this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((n) => n !== "")));
1445
+ for (const n in t) t[n] && !((i = this.nt) != null && i.has(n)) && this.st.add(n);
1426
1446
  return this.render(t);
1427
1447
  }
1428
1448
  const e = s.element.classList;
1429
- for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
1430
- for (const r in t) {
1431
- const o = !!t[r];
1432
- o === this.st.has(r) || (n = this.nt) != null && n.has(r) || (o ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
1449
+ for (const n of this.st) n in t || (e.remove(n), this.st.delete(n));
1450
+ for (const n in t) {
1451
+ const o = !!t[n];
1452
+ o === this.st.has(n) || (r = this.nt) != null && r.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
1433
1453
  }
1434
1454
  return P;
1435
1455
  }
1436
- }), b = (s, t, e) => {
1456
+ }), y = (s, t, e) => {
1437
1457
  s && e.style.setProperty(t, s);
1438
- }, be = (s, t) => {
1439
- var e, i, n, r, o, a, c, h, l;
1440
- b((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), b(
1458
+ }, _e = (s, t) => {
1459
+ var e, i, r, n, o, a, c, h, l;
1460
+ y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1441
1461
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1442
1462
  "--text-on-primary-background",
1443
1463
  t
1444
- ), b(
1445
- (n = s.colors) == null ? void 0 : n.secondaryBackground,
1464
+ ), y(
1465
+ (r = s.colors) == null ? void 0 : r.secondaryBackground,
1446
1466
  "--secondary-background",
1447
1467
  t
1448
- ), b(
1449
- (r = s.colors) == null ? void 0 : r.textOnSecondaryBackground,
1468
+ ), y(
1469
+ (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
1450
1470
  "--text-on-secondary-background",
1451
1471
  t
1452
- ), b(
1472
+ ), y(
1453
1473
  (o = s.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1454
1474
  "--destructive-color",
1455
1475
  t
1456
- ), b(
1476
+ ), y(
1457
1477
  (a = s.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1458
1478
  "--text-on-destructive-color",
1459
1479
  t
1460
- ), b(
1480
+ ), y(
1461
1481
  (c = s.colors) == null ? void 0 : c.interactivePrimaryBackground,
1462
1482
  "--interactive-primary-background",
1463
1483
  t
1464
- ), b(
1484
+ ), y(
1465
1485
  (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1466
1486
  "--interactive-text-on-primary-background",
1467
1487
  t
1468
- ), b((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1488
+ ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1469
1489
  };
1470
1490
  /**
1471
1491
  * @license
1472
1492
  * Copyright 2020 Google LLC
1473
1493
  * SPDX-License-Identifier: BSD-3-Clause
1474
1494
  */
1475
- const ve = () => new mi();
1476
- class mi {
1495
+ const we = () => new yi();
1496
+ class yi {
1477
1497
  }
1478
- const ht = /* @__PURE__ */ new WeakMap(), $e = At(class extends ye {
1498
+ const lt = /* @__PURE__ */ new WeakMap(), Ae = Et(class extends $e {
1479
1499
  render(s) {
1480
- return d;
1500
+ return u;
1481
1501
  }
1482
1502
  update(s, [t]) {
1483
1503
  var i;
1484
1504
  const e = t !== this.Y;
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;
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;
1486
1506
  }
1487
1507
  rt(s) {
1488
1508
  if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1489
1509
  const t = this.ht ?? globalThis;
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);
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);
1492
1512
  } else this.Y.value = s;
1493
1513
  }
1494
1514
  get lt() {
1495
1515
  var s, t;
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;
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;
1497
1517
  }
1498
1518
  disconnected() {
1499
1519
  this.lt === this.ct && this.rt(void 0);
@@ -1502,14 +1522,14 @@ const ht = /* @__PURE__ */ new WeakMap(), $e = At(class extends ye {
1502
1522
  this.rt(this.ct);
1503
1523
  }
1504
1524
  });
1505
- var yi = Object.defineProperty, Y = (s, t, e, i) => {
1506
- for (var n = void 0, r = s.length - 1, o; r >= 0; r--)
1507
- (o = s[r]) && (n = o(t, e, n) || n);
1508
- return n && yi(t, e, n), n;
1525
+ var bi = Object.defineProperty, Y = (s, t, e, i) => {
1526
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1527
+ (o = s[n]) && (r = o(t, e, r) || r);
1528
+ return r && bi(t, e, r), r;
1509
1529
  };
1510
- const Et = class Et extends y {
1530
+ const Pt = class Pt extends m {
1511
1531
  constructor() {
1512
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = ve(), this.widgetActive$ = new ti(!1), this.componentIsDestroyed$ = new wt();
1532
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = we(), this.widgetActive$ = new me(!1), this.componentIsDestroyed$ = new At();
1513
1533
  }
1514
1534
  async connectedCallback() {
1515
1535
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1544,28 +1564,28 @@ const Et = class Et extends y {
1544
1564
  }
1545
1565
  _applyBranding() {
1546
1566
  var t;
1547
- (t = this.application) != null && t.settings && be(this.application.settings.branding, this);
1567
+ (t = this.application) != null && t.settings && _e(this.application.settings.branding, this);
1548
1568
  }
1549
1569
  async _renderSymbol() {
1550
1570
  var a, c, h;
1551
1571
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1552
1572
  if (e)
1553
- return C` <img src=${e} class="trigger-icon" alt="" /> `;
1573
+ return E` <img src=${e} class="trigger-icon" alt="" /> `;
1554
1574
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1555
1575
  if (!i)
1556
- return d;
1557
- const n = async (l) => gi, { type: r, content: o } = i;
1558
- switch (r) {
1576
+ return u;
1577
+ const r = async (l) => mi, { type: n, content: o } = i;
1578
+ switch (n) {
1559
1579
  case "Telia": {
1560
- const l = await n();
1561
- return l ? C`<telia-icon
1580
+ const l = await r();
1581
+ return l ? E`<telia-icon
1562
1582
  class="trigger-icon"
1563
1583
  svg=${l.svg}
1564
1584
  size="lg"
1565
- ></telia-icon>` : d;
1585
+ ></telia-icon>` : u;
1566
1586
  }
1567
1587
  default:
1568
- return d;
1588
+ return u;
1569
1589
  }
1570
1590
  }
1571
1591
  hideTrigger() {
@@ -1575,33 +1595,33 @@ const Et = class Et extends y {
1575
1595
  this.triggerVisible = !0;
1576
1596
  }
1577
1597
  render() {
1578
- var t, e, i, n;
1579
- return C`<div
1580
- class=${Qt({
1598
+ var t, e, i, r;
1599
+ return E`<div
1600
+ class=${te({
1581
1601
  "trigger-container": !0,
1582
1602
  hidden: !this.triggerVisible
1583
1603
  })}
1584
- ${$e(this.containerRef)}
1604
+ ${Ae(this.containerRef)}
1585
1605
  >
1586
- ${!this.active && ((n = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? C`
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`
1587
1607
  <button
1588
1608
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1589
1609
  class="trigger-label"
1590
1610
  @click=${this.toggleActive}
1591
- ${fi({
1611
+ ${vi({
1592
1612
  keyframeOptions: {},
1593
- in: li,
1613
+ in: ui,
1594
1614
  stabilizeOut: !0,
1595
1615
  skipInitial: !1
1596
1616
  })}
1597
1617
  >
1598
1618
  ${this.application.settings.branding.other.buttonLabelText}
1599
1619
  </button>
1600
- ` : d}
1620
+ ` : u}
1601
1621
 
1602
1622
  <button
1603
1623
  label="Widget trigger"
1604
- class=${Qt({
1624
+ class=${te({
1605
1625
  trigger: !0,
1606
1626
  active: this.active,
1607
1627
  rendered: this.loaded
@@ -1640,7 +1660,7 @@ const Et = class Et extends y {
1640
1660
  </div>`;
1641
1661
  }
1642
1662
  };
1643
- Et.styles = [
1663
+ Pt.styles = [
1644
1664
  O`
1645
1665
  :host {
1646
1666
  --voca-rem-multiplier: 0.625;
@@ -1772,7 +1792,7 @@ Et.styles = [
1772
1792
  }
1773
1793
  `
1774
1794
  ];
1775
- let $ = Et;
1795
+ let $ = Pt;
1776
1796
  Y([
1777
1797
  g({ attribute: !1 })
1778
1798
  ], $.prototype, "application");
@@ -1788,27 +1808,27 @@ Y([
1788
1808
  Y([
1789
1809
  j()
1790
1810
  ], $.prototype, "icon");
1791
- var bi = Object.defineProperty, A = (s, t, e, i) => {
1792
- for (var n = void 0, r = s.length - 1, o; r >= 0; r--)
1793
- (o = s[r]) && (n = o(t, e, n) || n);
1794
- return n && bi(t, e, n), n;
1811
+ var $i = Object.defineProperty, x = (s, t, e, i) => {
1812
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1813
+ (o = s[n]) && (r = o(t, e, r) || r);
1814
+ return r && $i(t, e, r), r;
1795
1815
  };
1796
- const _e = (s) => {
1816
+ const xe = (s) => {
1797
1817
  const e = class e extends s {
1798
1818
  constructor() {
1799
1819
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
1800
1820
  }
1801
- writeProperties(n) {
1802
- this.properties = n;
1821
+ writeProperties(r) {
1822
+ this.properties = r;
1803
1823
  }
1804
- writeLayout(n) {
1805
- this.layout = n;
1824
+ writeLayout(r) {
1825
+ this.layout = r;
1806
1826
  }
1807
- writeContext(n) {
1808
- this.context = n;
1827
+ writeContext(r) {
1828
+ this.context = r;
1809
1829
  }
1810
- addChild(n) {
1811
- n.parent = this, this.nodes.push(n);
1830
+ addChild(r) {
1831
+ r.parent = this, this.nodes.push(r);
1812
1832
  }
1813
1833
  connectedCallback() {
1814
1834
  super.connectedCallback(), this.renderRoot.host.style.setProperty(
@@ -1834,41 +1854,41 @@ const _e = (s) => {
1834
1854
  `
1835
1855
  ];
1836
1856
  let t = e;
1837
- return A([
1857
+ return x([
1838
1858
  g()
1839
- ], t.prototype, "properties"), A([
1859
+ ], t.prototype, "properties"), x([
1840
1860
  g()
1841
- ], t.prototype, "context"), A([
1861
+ ], t.prototype, "context"), x([
1842
1862
  g()
1843
- ], t.prototype, "layout"), A([
1863
+ ], t.prototype, "layout"), x([
1844
1864
  g()
1845
- ], t.prototype, "name"), A([
1865
+ ], t.prototype, "name"), x([
1846
1866
  g()
1847
- ], t.prototype, "type"), A([
1867
+ ], t.prototype, "type"), x([
1848
1868
  g({ attribute: !1 })
1849
- ], t.prototype, "application"), A([
1869
+ ], t.prototype, "application"), x([
1850
1870
  g({ attribute: !1 })
1851
1871
  ], t.prototype, "parent"), t;
1852
- }, Pt = class Pt extends _e(y) {
1872
+ }, Ot = class Ot extends xe(m) {
1853
1873
  render() {
1854
- return C`Non resolved component`;
1874
+ return E`Non resolved component`;
1855
1875
  }
1856
1876
  };
1857
- Pt.styles = [
1877
+ Ot.styles = [
1858
1878
  O`
1859
1879
  :host {
1860
1880
  display: block;
1861
1881
  }
1862
1882
  `
1863
1883
  ];
1864
- let yt = Pt;
1865
- var z = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(z || {});
1884
+ let yt = Ot;
1885
+ var D = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(D || {});
1866
1886
  /**
1867
1887
  * @license
1868
1888
  * Copyright 2021 Google LLC
1869
1889
  * SPDX-License-Identifier: BSD-3-Clause
1870
1890
  */
1871
- let vi = class extends Event {
1891
+ let _i = class extends Event {
1872
1892
  constructor(t, e, i) {
1873
1893
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1874
1894
  }
@@ -1883,7 +1903,7 @@ let vi = class extends Event {
1883
1903
  * Copyright 2021 Google LLC
1884
1904
  * SPDX-License-Identifier: BSD-3-Clause
1885
1905
  */
1886
- class $i {
1906
+ class wi {
1887
1907
  get value() {
1888
1908
  return this.o;
1889
1909
  }
@@ -1904,8 +1924,8 @@ class $i {
1904
1924
  this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
1905
1925
  this.subscriptions.delete(t);
1906
1926
  }, consumerHost: e });
1907
- const { disposer: n } = this.subscriptions.get(t);
1908
- t(this.value, n);
1927
+ const { disposer: r } = this.subscriptions.get(t);
1928
+ t(this.value, r);
1909
1929
  }
1910
1930
  clearCallbacks() {
1911
1931
  this.subscriptions.clear();
@@ -1916,14 +1936,14 @@ class $i {
1916
1936
  * Copyright 2021 Google LLC
1917
1937
  * SPDX-License-Identifier: BSD-3-Clause
1918
1938
  */
1919
- let _i = class extends Event {
1939
+ let Ai = class extends Event {
1920
1940
  constructor(t) {
1921
1941
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1922
1942
  }
1923
1943
  };
1924
- class te extends $i {
1944
+ class ee extends wi {
1925
1945
  constructor(t, e, i) {
1926
- var n, r;
1946
+ var r, n;
1927
1947
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
1928
1948
  const a = o.composedPath()[0];
1929
1949
  o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
@@ -1931,15 +1951,15 @@ class te extends $i {
1931
1951
  const a = o.composedPath()[0];
1932
1952
  if (o.context !== this.context || a === this.host) return;
1933
1953
  const c = /* @__PURE__ */ new Set();
1934
- for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new vi(this.context, h, !0)));
1954
+ for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new _i(this.context, h, !0)));
1935
1955
  o.stopPropagation();
1936
- }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (r = (n = this.host).addController) == null || r.call(n, this);
1956
+ }, 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);
1937
1957
  }
1938
1958
  attachListeners() {
1939
1959
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1940
1960
  }
1941
1961
  hostConnected() {
1942
- this.host.dispatchEvent(new _i(this.context));
1962
+ this.host.dispatchEvent(new Ai(this.context));
1943
1963
  }
1944
1964
  }
1945
1965
  /**
@@ -1947,51 +1967,51 @@ class te extends $i {
1947
1967
  * Copyright 2017 Google LLC
1948
1968
  * SPDX-License-Identifier: BSD-3-Clause
1949
1969
  */
1950
- function wi({ context: s }) {
1970
+ function xi({ context: s }) {
1951
1971
  return (t, e) => {
1952
1972
  const i = /* @__PURE__ */ new WeakMap();
1953
1973
  if (typeof e == "object") return e.addInitializer(function() {
1954
- i.set(this, new te(this, { context: s }));
1974
+ i.set(this, new ee(this, { context: s }));
1955
1975
  }), { get() {
1956
1976
  return t.get.call(this);
1957
- }, set(n) {
1958
- var r;
1959
- return (r = i.get(this)) == null || r.setValue(n), t.set.call(this, n);
1960
- }, init(n) {
1961
- var r;
1962
- return (r = i.get(this)) == null || r.setValue(n), n;
1977
+ }, set(r) {
1978
+ var n;
1979
+ return (n = i.get(this)) == null || n.setValue(r), t.set.call(this, r);
1980
+ }, init(r) {
1981
+ var n;
1982
+ return (n = i.get(this)) == null || n.setValue(r), r;
1963
1983
  } };
1964
1984
  {
1965
1985
  t.constructor.addInitializer((o) => {
1966
- i.set(o, new te(o, { context: s }));
1986
+ i.set(o, new ee(o, { context: s }));
1967
1987
  });
1968
- const n = Object.getOwnPropertyDescriptor(t, e);
1969
- let r;
1970
- if (n === void 0) {
1988
+ const r = Object.getOwnPropertyDescriptor(t, e);
1989
+ let n;
1990
+ if (r === void 0) {
1971
1991
  const o = /* @__PURE__ */ new WeakMap();
1972
- r = { get() {
1992
+ n = { get() {
1973
1993
  return o.get(this);
1974
1994
  }, set(a) {
1975
1995
  i.get(this).setValue(a), o.set(this, a);
1976
1996
  }, configurable: !0, enumerable: !0 };
1977
1997
  } else {
1978
- const o = n.set;
1979
- r = { ...n, set(a) {
1998
+ const o = r.set;
1999
+ n = { ...r, set(a) {
1980
2000
  i.get(this).setValue(a), o == null || o.call(this, a);
1981
2001
  } };
1982
2002
  }
1983
- return void Object.defineProperty(t, e, r);
2003
+ return void Object.defineProperty(t, e, n);
1984
2004
  }
1985
2005
  };
1986
2006
  }
1987
- var xi = Object.defineProperty, we = (s, t, e, i) => {
1988
- for (var n = void 0, r = s.length - 1, o; r >= 0; r--)
1989
- (o = s[r]) && (n = o(t, e, n) || n);
1990
- return n && xi(t, e, n), n;
2007
+ var Ei = Object.defineProperty, Ee = (s, t, e, i) => {
2008
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2009
+ (o = s[n]) && (r = o(t, e, r) || r);
2010
+ return r && Ei(t, e, r), r;
1991
2011
  };
1992
- const Ai = "application", Ot = class Ot extends y {
2012
+ const Ci = "application", kt = class kt extends m {
1993
2013
  constructor() {
1994
- super(...arguments), this.nodes = [], this.wrapperRef = ve(), this.fullscreen = !1;
2014
+ super(...arguments), this.nodes = [], this.wrapperRef = we(), this.fullscreen = !1, this.isReady = new me(!1);
1995
2015
  }
1996
2016
  addChild(t) {
1997
2017
  t.parent = this, this.nodes.push(t);
@@ -2000,28 +2020,28 @@ const Ai = "application", Ot = class Ot extends y {
2000
2020
  if (!this.wrapperRef.value)
2001
2021
  return;
2002
2022
  const t = this.application.settings;
2003
- t != null && t.branding && be(t.branding, this.wrapperRef.value);
2023
+ t != null && t.branding && _e(t.branding, this.wrapperRef.value);
2004
2024
  }
2005
2025
  applyStyles() {
2006
2026
  if (!this.wrapperRef.value)
2007
2027
  return;
2008
2028
  const t = this.application.styles(), e = this.wrapperRef.value;
2009
- Object.entries(t).forEach(([i, n]) => {
2010
- e.style.setProperty(`--${i}`, n);
2029
+ Object.entries(t).forEach(([i, r]) => {
2030
+ e.style.setProperty(`--${i}`, r);
2011
2031
  });
2012
2032
  }
2013
2033
  firstUpdated(t) {
2014
2034
  this.applyBranding(), this.applyStyles();
2015
2035
  }
2016
2036
  render() {
2017
- var i, n;
2037
+ var i, r;
2018
2038
  const t = this.application.settings.components.conversation;
2019
- return ((n = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : n.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, (r) => r)}
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)}
2021
2041
  </div>`;
2022
2042
  }
2023
2043
  };
2024
- Ot.styles = O`
2044
+ kt.styles = O`
2025
2045
  :host {
2026
2046
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2027
2047
  --spacing-xs: 0.2rem;
@@ -2174,14 +2194,14 @@ Ot.styles = O`
2174
2194
  animation: none;
2175
2195
  }
2176
2196
  `;
2177
- let D = Ot;
2178
- we([
2197
+ let z = kt;
2198
+ Ee([
2179
2199
  g({ attribute: !0 })
2180
- ], D.prototype, "fullscreen");
2181
- we([
2200
+ ], z.prototype, "fullscreen");
2201
+ Ee([
2182
2202
  g({ attribute: !1 }),
2183
- wi({ context: Ai })
2184
- ], D.prototype, "application");
2203
+ xi({ context: Ci })
2204
+ ], z.prototype, "application");
2185
2205
  const Q = class Q {
2186
2206
  // TODO:
2187
2207
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
@@ -2193,14 +2213,14 @@ const Q = class Q {
2193
2213
  return i ? {
2194
2214
  id: i.id,
2195
2215
  triggers: i.triggers || [],
2196
- apps: (i.widgets || []).map((n) => {
2197
- let r = z.Trigger;
2198
- n.renderStrategy.toLowerCase() === "inline" && (r = z.Inline);
2199
- const o = n.widgetId ? n.widgetId : n.id, a = typeof n.autoActivate == "boolean" ? n.autoActivate : !1, c = typeof n.anchor == "string" ? n.anchor : "BottomRight", h = typeof n.triggerIcon == "string" ? n.triggerIcon : "question";
2216
+ apps: (i.widgets || []).map((r) => {
2217
+ let n = D.Trigger;
2218
+ r.renderStrategy.toLowerCase() === "inline" && (n = D.Inline);
2219
+ 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";
2200
2220
  return {
2201
2221
  id: o,
2202
2222
  widgetId: o,
2203
- renderStrategy: r,
2223
+ renderStrategy: n,
2204
2224
  autoActivate: a,
2205
2225
  anchor: c,
2206
2226
  triggerIcon: {
@@ -2220,13 +2240,13 @@ const Q = class Q {
2220
2240
  }
2221
2241
  };
2222
2242
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2223
- let ee = Q;
2224
- var Ci = Object.defineProperty, Ct = (s, t, e, i) => {
2225
- for (var n = void 0, r = s.length - 1, o; r >= 0; r--)
2226
- (o = s[r]) && (n = o(t, e, n) || n);
2227
- return n && Ci(t, e, n), n;
2243
+ let ie = Q;
2244
+ var Si = Object.defineProperty, Ct = (s, t, e, i) => {
2245
+ for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2246
+ (o = s[n]) && (r = o(t, e, r) || r);
2247
+ return r && Si(t, e, r), r;
2228
2248
  };
2229
- const kt = class kt extends y {
2249
+ const Tt = class Tt extends m {
2230
2250
  constructor() {
2231
2251
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2232
2252
  }
@@ -2250,22 +2270,22 @@ const kt = class kt extends y {
2250
2270
  }
2251
2271
  render() {
2252
2272
  if (!this.widget || this.status !== "activated")
2253
- return d;
2254
- if (this.widget.renderStrategy === z.Trigger) {
2273
+ return u;
2274
+ if (this.widget.renderStrategy === D.Trigger) {
2255
2275
  const t = new $();
2256
2276
  return t.application = this.widget, t;
2257
2277
  }
2258
2278
  return this.widget.render();
2259
2279
  }
2260
2280
  };
2261
- kt.styles = [
2281
+ Tt.styles = [
2262
2282
  O`
2263
2283
  :host {
2264
2284
  display: block;
2265
2285
  }
2266
2286
  `
2267
2287
  ];
2268
- let U = kt;
2288
+ let U = Tt;
2269
2289
  Ct([
2270
2290
  g({ attribute: !0 })
2271
2291
  ], U.prototype, "name");
@@ -2278,31 +2298,31 @@ Ct([
2278
2298
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
2279
2299
  customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2280
2300
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", yt);
2281
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", D);
2301
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2282
2302
  customElements.get("ace-widget") || customElements.define("ace-widget", U);
2283
- const Si = (s) => {
2303
+ const Pi = (s) => {
2284
2304
  const t = {};
2285
2305
  return Object.keys(s).forEach((e) => {
2286
2306
  e.indexOf("css-") > -1 && (t[e] = s[e]);
2287
2307
  }), t;
2288
- }, Ei = (s, t) => {
2289
- const e = Si(t);
2290
- Object.entries(e).forEach(([i, n]) => {
2291
- s.style.setProperty(i.replace("css-", ""), n);
2308
+ }, Oi = (s, t) => {
2309
+ const e = Pi(t);
2310
+ Object.entries(e).forEach(([i, r]) => {
2311
+ s.style.setProperty(i.replace("css-", ""), r);
2292
2312
  });
2293
- }, Tt = class Tt extends _e(y) {
2313
+ }, Rt = class Rt extends xe(m) {
2294
2314
  constructor() {
2295
2315
  super(...arguments), this.nodes = [];
2296
2316
  }
2297
2317
  render() {
2298
2318
  var t;
2299
- return Ei(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2319
+ return Oi(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2300
2320
  "--columns",
2301
2321
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
2302
- ), C`${le(this.nodes, (e) => e)}`;
2322
+ ), E`${de(this.nodes, (e) => e)}`;
2303
2323
  }
2304
2324
  };
2305
- Tt.styles = [
2325
+ Rt.styles = [
2306
2326
  O`
2307
2327
  :host {
2308
2328
  height: 100%;
@@ -2315,8 +2335,8 @@ Tt.styles = [
2315
2335
  }
2316
2336
  `
2317
2337
  ];
2318
- let ie = Tt;
2338
+ let se = Rt;
2319
2339
  export {
2320
- ie as Area,
2321
- ie as default
2340
+ se as Area,
2341
+ se as default
2322
2342
  };