@telia-ace/widget-components-area-flamingo 1.1.75 → 1.1.76-rc.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,14 +23,14 @@ let Kt = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const ge = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), P = (s, ...t) => {
27
- const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
28
- if (o._$cssResult$ === !0)
29
- return o.cssText;
30
- if (typeof o == "number")
31
- return o;
32
- 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.");
33
- })(r) + s[n + 1], s[0]);
26
+ const ge = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), O = (s, ...t) => {
27
+ const e = s.length === 1 ? s[0] : t.reduce((i, r, o) => i + ((n) => {
28
+ if (n._$cssResult$ === !0)
29
+ return n.cssText;
30
+ if (typeof n == "number")
31
+ return n;
32
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
33
+ })(r) + s[o + 1], s[0]);
34
34
  return new Kt(e, s, vt);
35
35
  }, ve = (s, t) => {
36
36
  if (gt)
@@ -51,7 +51,7 @@ const ge = (s) => new Kt(typeof s == "string" ? s : s + "", void 0, vt), P = (s,
51
51
  * Copyright 2017 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
53
53
  */
54
- const { is: me, defineProperty: ye, getOwnPropertyDescriptor: be, getOwnPropertyNames: $e, getOwnPropertySymbols: _e, getPrototypeOf: we } = Object, $ = globalThis, Et = $.trustedTypes, Ae = Et ? Et.emptyScript : "", et = $.reactiveElementPolyfillSupport, j = (s, t) => s, Z = { toAttribute(s, t) {
54
+ const { is: me, defineProperty: ye, getOwnPropertyDescriptor: be, getOwnPropertyNames: $e, getOwnPropertySymbols: _e, getPrototypeOf: we } = Object, _ = globalThis, Et = _.trustedTypes, Ae = Et ? Et.emptyScript : "", et = _.reactiveElementPolyfillSupport, M = (s, t) => s, Z = { toAttribute(s, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
57
  s = s ? Ae : null;
@@ -80,8 +80,8 @@ const { is: me, defineProperty: ye, getOwnPropertyDescriptor: be, getOwnProperty
80
80
  }
81
81
  return e;
82
82
  } }, mt = (s, t) => !me(s, t), Pt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt };
83
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), $.litPropertyMetadata ?? ($.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
- let T = class extends HTMLElement {
83
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _.litPropertyMetadata ?? (_.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
84
+ let k = class extends HTMLElement {
85
85
  static addInitializer(t) {
86
86
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
87
87
  }
@@ -95,31 +95,31 @@ let T = class extends HTMLElement {
95
95
  }
96
96
  }
97
97
  static getPropertyDescriptor(t, e, i) {
98
- const { get: r, set: n } = be(this.prototype, t) ?? { get() {
98
+ const { get: r, set: o } = be(this.prototype, t) ?? { get() {
99
99
  return this[e];
100
- }, set(o) {
101
- this[e] = o;
100
+ }, set(n) {
101
+ this[e] = n;
102
102
  } };
103
103
  return { get() {
104
104
  return r == null ? void 0 : r.call(this);
105
- }, set(o) {
105
+ }, set(n) {
106
106
  const a = r == null ? void 0 : r.call(this);
107
- n.call(this, o), this.requestUpdate(t, a, i);
107
+ o.call(this, n), this.requestUpdate(t, a, i);
108
108
  }, configurable: !0, enumerable: !0 };
109
109
  }
110
110
  static getPropertyOptions(t) {
111
111
  return this.elementProperties.get(t) ?? Pt;
112
112
  }
113
113
  static _$Ei() {
114
- if (this.hasOwnProperty(j("elementProperties")))
114
+ if (this.hasOwnProperty(M("elementProperties")))
115
115
  return;
116
116
  const t = we(this);
117
117
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
118
118
  }
119
119
  static finalize() {
120
- if (this.hasOwnProperty(j("finalized")))
120
+ if (this.hasOwnProperty(M("finalized")))
121
121
  return;
122
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(j("properties"))) {
122
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(M("properties"))) {
123
123
  const e = this.properties, i = [...$e(e), ..._e(e)];
124
124
  for (const r of i)
125
125
  this.createProperty(r, e[r]);
@@ -197,19 +197,19 @@ let T = class extends HTMLElement {
197
197
  this._$AK(t, i);
198
198
  }
199
199
  _$EC(t, e) {
200
- var n;
200
+ var o;
201
201
  const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
202
202
  if (r !== void 0 && i.reflect === !0) {
203
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
204
- this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
203
+ const n = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
204
+ this._$Em = t, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
205
205
  }
206
206
  }
207
207
  _$AK(t, e) {
208
- var n;
208
+ var o;
209
209
  const i = this.constructor, r = i._$Eh.get(t);
210
210
  if (r !== void 0 && this._$Em !== r) {
211
- const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : Z;
212
- this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
211
+ const n = i.getPropertyOptions(r), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((o = n.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? n.converter : Z;
212
+ this._$Em = r, this[r] = a.fromAttribute(e, n.type), this._$Em = null;
213
213
  }
214
214
  }
215
215
  requestUpdate(t, e, i) {
@@ -242,21 +242,21 @@ let T = class extends HTMLElement {
242
242
  return;
243
243
  if (!this.hasUpdated) {
244
244
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
245
- for (const [n, o] of this._$Ep)
246
- this[n] = o;
245
+ for (const [o, n] of this._$Ep)
246
+ this[o] = n;
247
247
  this._$Ep = void 0;
248
248
  }
249
249
  const r = this.constructor.elementProperties;
250
250
  if (r.size > 0)
251
- for (const [n, o] of r)
252
- o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
251
+ for (const [o, n] of r)
252
+ n.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.P(o, this[o], n);
253
253
  }
254
254
  let t = !1;
255
255
  const e = this._$AL;
256
256
  try {
257
257
  t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
258
- var n;
259
- return (n = r.hostUpdate) == null ? void 0 : n.call(r);
258
+ var o;
259
+ return (o = r.hostUpdate) == null ? void 0 : o.call(r);
260
260
  }), this.update(e)) : this._$EU();
261
261
  } catch (r) {
262
262
  throw t = !1, this._$EU(), r;
@@ -292,15 +292,15 @@ let T = class extends HTMLElement {
292
292
  firstUpdated(t) {
293
293
  }
294
294
  };
295
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[j("elementProperties")] = /* @__PURE__ */ new Map(), T[j("finalized")] = /* @__PURE__ */ new Map(), et == null || et({ ReactiveElement: T }), ($.reactiveElementVersions ?? ($.reactiveElementVersions = [])).push("2.0.4");
295
+ k.elementStyles = [], k.shadowRootOptions = { mode: "open" }, k[M("elementProperties")] = /* @__PURE__ */ new Map(), k[M("finalized")] = /* @__PURE__ */ new Map(), et == null || et({ ReactiveElement: k }), (_.reactiveElementVersions ?? (_.reactiveElementVersions = [])).push("2.0.4");
296
296
  /**
297
297
  * @license
298
298
  * Copyright 2017 Google LLC
299
299
  * SPDX-License-Identifier: BSD-3-Clause
300
300
  */
301
- const M = globalThis, K = M.trustedTypes, Ot = K ? K.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Gt = "$lit$", b = `lit$${(Math.random() + "").slice(9)}$`, Xt = "?" + b, xe = `<${Xt}>`, S = document, L = () => S.createComment(""), H = (s) => s === null || typeof s != "object" && typeof s != "function", Jt = Array.isArray, Ce = (s) => Jt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", it = `[
302
- \f\r]`, R = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Tt = /-->/g, Ut = />/g, w = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
303
- \f\r"'\`<>=]|("|')|))|$)`, "g"), kt = /'/g, Rt = /"/g, Qt = /^(?:script|style|textarea|title)$/i, Se = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), x = Se(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), C = S.createTreeWalker(S, 129);
301
+ const N = globalThis, K = N.trustedTypes, Ot = K ? K.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Gt = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, Xt = "?" + $, xe = `<${Xt}>`, E = document, H = () => E.createComment(""), I = (s) => s === null || typeof s != "object" && typeof s != "function", Jt = Array.isArray, Ce = (s) => Jt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", it = `[
302
+ \f\r]`, j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Tt = /-->/g, kt = />/g, A = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
303
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ut = /'/g, Rt = /"/g, Qt = /^(?:script|style|textarea|title)$/i, Se = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = Se(1), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), jt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
304
304
  function te(s, t) {
305
305
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
306
306
  throw Error("invalid template strings array");
@@ -308,68 +308,68 @@ function te(s, t) {
308
308
  }
309
309
  const Ee = (s, t) => {
310
310
  const e = s.length - 1, i = [];
311
- let r, n = t === 2 ? "<svg>" : "", o = R;
311
+ let r, o = t === 2 ? "<svg>" : "", n = j;
312
312
  for (let a = 0; a < e; a++) {
313
313
  const c = s[a];
314
314
  let h, l, p = -1, d = 0;
315
- for (; d < c.length && (o.lastIndex = d, l = o.exec(c), l !== null); )
316
- d = o.lastIndex, o === R ? l[1] === "!--" ? o = Tt : l[1] !== void 0 ? o = Ut : l[2] !== void 0 ? (Qt.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = w) : l[3] !== void 0 && (o = w) : o === w ? l[0] === ">" ? (o = r ?? R, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? w : l[3] === '"' ? Rt : kt) : o === Rt || o === kt ? o = w : o === Tt || o === Ut ? o = R : (o = w, r = void 0);
317
- const f = o === w && s[a + 1].startsWith("/>") ? " " : "";
318
- n += o === R ? c + xe : p >= 0 ? (i.push(h), c.slice(0, p) + Gt + c.slice(p) + b + f) : c + b + (p === -2 ? a : f);
315
+ for (; d < c.length && (n.lastIndex = d, l = n.exec(c), l !== null); )
316
+ d = n.lastIndex, n === j ? l[1] === "!--" ? n = Tt : l[1] !== void 0 ? n = kt : l[2] !== void 0 ? (Qt.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = A) : l[3] !== void 0 && (n = A) : n === A ? l[0] === ">" ? (n = r ?? j, p = -1) : l[1] === void 0 ? p = -2 : (p = n.lastIndex - l[2].length, h = l[1], n = l[3] === void 0 ? A : l[3] === '"' ? Rt : Ut) : n === Rt || n === Ut ? n = A : n === Tt || n === kt ? n = j : (n = A, r = void 0);
317
+ const f = n === A && s[a + 1].startsWith("/>") ? " " : "";
318
+ o += n === j ? c + xe : p >= 0 ? (i.push(h), c.slice(0, p) + Gt + c.slice(p) + $ + f) : c + $ + (p === -2 ? a : f);
319
319
  }
320
- return [te(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
320
+ return [te(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
321
321
  };
322
- class I {
322
+ class D {
323
323
  constructor({ strings: t, _$litType$: e }, i) {
324
324
  let r;
325
325
  this.parts = [];
326
- let n = 0, o = 0;
326
+ let o = 0, n = 0;
327
327
  const a = t.length - 1, c = this.parts, [h, l] = Ee(t, e);
328
- if (this.el = I.createElement(h, i), C.currentNode = this.el.content, e === 2) {
328
+ if (this.el = D.createElement(h, i), S.currentNode = this.el.content, e === 2) {
329
329
  const p = this.el.content.firstChild;
330
330
  p.replaceWith(...p.childNodes);
331
331
  }
332
- for (; (r = C.nextNode()) !== null && c.length < a; ) {
332
+ for (; (r = S.nextNode()) !== null && c.length < a; ) {
333
333
  if (r.nodeType === 1) {
334
334
  if (r.hasAttributes())
335
335
  for (const p of r.getAttributeNames())
336
336
  if (p.endsWith(Gt)) {
337
- const d = l[o++], f = r.getAttribute(p).split(b), O = /([.?@])?(.*)/.exec(d);
338
- c.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Oe : O[1] === "?" ? Te : O[1] === "@" ? Ue : Q }), r.removeAttribute(p);
337
+ const d = l[n++], f = r.getAttribute(p).split($), T = /([.?@])?(.*)/.exec(d);
338
+ c.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Oe : T[1] === "?" ? Te : T[1] === "@" ? ke : Q }), r.removeAttribute(p);
339
339
  } else
340
- p.startsWith(b) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
340
+ p.startsWith($) && (c.push({ type: 6, index: o }), r.removeAttribute(p));
341
341
  if (Qt.test(r.tagName)) {
342
- const p = r.textContent.split(b), d = p.length - 1;
342
+ const p = r.textContent.split($), d = p.length - 1;
343
343
  if (d > 0) {
344
344
  r.textContent = K ? K.emptyScript : "";
345
345
  for (let f = 0; f < d; f++)
346
- r.append(p[f], L()), C.nextNode(), c.push({ type: 2, index: ++n });
347
- r.append(p[d], L());
346
+ r.append(p[f], H()), S.nextNode(), c.push({ type: 2, index: ++o });
347
+ r.append(p[d], H());
348
348
  }
349
349
  }
350
350
  } else if (r.nodeType === 8)
351
351
  if (r.data === Xt)
352
- c.push({ type: 2, index: n });
352
+ c.push({ type: 2, index: o });
353
353
  else {
354
354
  let p = -1;
355
- for (; (p = r.data.indexOf(b, p + 1)) !== -1; )
356
- c.push({ type: 7, index: n }), p += b.length - 1;
355
+ for (; (p = r.data.indexOf($, p + 1)) !== -1; )
356
+ c.push({ type: 7, index: o }), p += $.length - 1;
357
357
  }
358
- n++;
358
+ o++;
359
359
  }
360
360
  }
361
361
  static createElement(t, e) {
362
- const i = S.createElement("template");
362
+ const i = E.createElement("template");
363
363
  return i.innerHTML = t, i;
364
364
  }
365
365
  }
366
366
  function U(s, t, e = s, i) {
367
- var o, a;
368
- if (t === E)
367
+ var n, a;
368
+ if (t === P)
369
369
  return t;
370
- let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
371
- const n = H(t) ? void 0 : t._$litDirective$;
372
- 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 = U(s, r._$AS(s, t.values), r, i)), t;
370
+ let r = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
371
+ const o = I(t) ? void 0 : t._$litDirective$;
372
+ return (r == null ? void 0 : r.constructor) !== o && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), o === void 0 ? r = void 0 : (r = new o(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = U(s, r._$AS(s, t.values), r, i)), t;
373
373
  }
374
374
  class Pe {
375
375
  constructor(t, e) {
@@ -382,17 +382,17 @@ class Pe {
382
382
  return this._$AM._$AU;
383
383
  }
384
384
  u(t) {
385
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
386
- C.currentNode = r;
387
- let n = C.nextNode(), o = 0, a = 0, c = i[0];
385
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
386
+ S.currentNode = r;
387
+ let o = S.nextNode(), n = 0, a = 0, c = i[0];
388
388
  for (; c !== void 0; ) {
389
- if (o === c.index) {
389
+ if (n === c.index) {
390
390
  let h;
391
- c.type === 2 ? h = new D(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ke(n, this, t)), this._$AV.push(h), c = i[++a];
391
+ c.type === 2 ? h = new B(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Ue(o, this, t)), this._$AV.push(h), c = i[++a];
392
392
  }
393
- o !== (c == null ? void 0 : c.index) && (n = C.nextNode(), o++);
393
+ n !== (c == null ? void 0 : c.index) && (o = S.nextNode(), n++);
394
394
  }
395
- return C.currentNode = S, r;
395
+ return S.currentNode = E, r;
396
396
  }
397
397
  p(t) {
398
398
  let e = 0;
@@ -400,7 +400,7 @@ class Pe {
400
400
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
401
401
  }
402
402
  }
403
- class D {
403
+ class B {
404
404
  get _$AU() {
405
405
  var t;
406
406
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -420,7 +420,7 @@ class D {
420
420
  return this._$AB;
421
421
  }
422
422
  _$AI(t, e = this) {
423
- t = U(this, t, e), H(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ce(t) ? this.k(t) : this._(t);
423
+ t = U(this, t, e), I(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ce(t) ? this.k(t) : this._(t);
424
424
  }
425
425
  S(t) {
426
426
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -429,28 +429,28 @@ class D {
429
429
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
430
430
  }
431
431
  _(t) {
432
- this._$AH !== u && H(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
432
+ this._$AH !== u && I(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
433
433
  }
434
434
  $(t) {
435
- var n;
436
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = I.createElement(te(i.h, i.h[0]), this.options)), i);
437
- if (((n = this._$AH) == null ? void 0 : n._$AD) === r)
435
+ var o;
436
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = D.createElement(te(i.h, i.h[0]), this.options)), i);
437
+ if (((o = this._$AH) == null ? void 0 : o._$AD) === r)
438
438
  this._$AH.p(e);
439
439
  else {
440
- const o = new Pe(r, this), a = o.u(this.options);
441
- o.p(e), this.T(a), this._$AH = o;
440
+ const n = new Pe(r, this), a = n.u(this.options);
441
+ n.p(e), this.T(a), this._$AH = n;
442
442
  }
443
443
  }
444
444
  _$AC(t) {
445
445
  let e = jt.get(t.strings);
446
- return e === void 0 && jt.set(t.strings, e = new I(t)), e;
446
+ return e === void 0 && jt.set(t.strings, e = new D(t)), e;
447
447
  }
448
448
  k(t) {
449
449
  Jt(this._$AH) || (this._$AH = [], this._$AR());
450
450
  const e = this._$AH;
451
451
  let i, r = 0;
452
- for (const n of t)
453
- r === e.length ? e.push(i = new D(this.S(L()), this.S(L()), this, this.options)) : i = e[r], i._$AI(n), r++;
452
+ for (const o of t)
453
+ r === e.length ? e.push(i = new B(this.S(H()), this.S(H()), this, this.options)) : i = e[r], i._$AI(o), r++;
454
454
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
455
455
  }
456
456
  _$AR(t = this._$AA.nextSibling, e) {
@@ -472,21 +472,21 @@ class Q {
472
472
  get _$AU() {
473
473
  return this._$AM._$AU;
474
474
  }
475
- constructor(t, e, i, r, n) {
476
- 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;
475
+ constructor(t, e, i, r, o) {
476
+ this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
477
477
  }
478
478
  _$AI(t, e = this, i, r) {
479
- const n = this.strings;
480
- let o = !1;
481
- if (n === void 0)
482
- t = U(this, t, e, 0), o = !H(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
479
+ const o = this.strings;
480
+ let n = !1;
481
+ if (o === void 0)
482
+ t = U(this, t, e, 0), n = !I(t) || t !== this._$AH && t !== P, n && (this._$AH = t);
483
483
  else {
484
484
  const a = t;
485
485
  let c, h;
486
- for (t = n[0], c = 0; c < n.length - 1; c++)
487
- h = U(this, a[i + c], e, c), h === E && (h = this._$AH[c]), o || (o = !H(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
486
+ for (t = o[0], c = 0; c < o.length - 1; c++)
487
+ h = U(this, a[i + c], e, c), h === P && (h = this._$AH[c]), n || (n = !I(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
488
488
  }
489
- o && !r && this.j(t);
489
+ n && !r && this.j(t);
490
490
  }
491
491
  j(t) {
492
492
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
@@ -508,22 +508,22 @@ class Te extends Q {
508
508
  this.element.toggleAttribute(this.name, !!t && t !== u);
509
509
  }
510
510
  }
511
- class Ue extends Q {
512
- constructor(t, e, i, r, n) {
513
- super(t, e, i, r, n), this.type = 5;
511
+ class ke extends Q {
512
+ constructor(t, e, i, r, o) {
513
+ super(t, e, i, r, o), this.type = 5;
514
514
  }
515
515
  _$AI(t, e = this) {
516
- if ((t = U(this, t, e, 0) ?? u) === E)
516
+ if ((t = U(this, t, e, 0) ?? u) === P)
517
517
  return;
518
- 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);
519
- r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
518
+ const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || r);
519
+ r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
520
520
  }
521
521
  handleEvent(t) {
522
522
  var e;
523
523
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
524
524
  }
525
525
  }
526
- class ke {
526
+ class Ue {
527
527
  constructor(t, e, i) {
528
528
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
529
529
  }
@@ -534,14 +534,14 @@ class ke {
534
534
  U(this, t);
535
535
  }
536
536
  }
537
- const st = M.litHtmlPolyfillSupport;
538
- st == null || st(I, D), (M.litHtmlVersions ?? (M.litHtmlVersions = [])).push("3.1.2");
537
+ const st = N.litHtmlPolyfillSupport;
538
+ st == null || st(D, B), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.2");
539
539
  const Re = (s, t, e) => {
540
540
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
541
541
  let r = i._$litPart$;
542
542
  if (r === void 0) {
543
- const n = (e == null ? void 0 : e.renderBefore) ?? null;
544
- i._$litPart$ = r = new D(t.insertBefore(L(), n), n, void 0, e ?? {});
543
+ const o = (e == null ? void 0 : e.renderBefore) ?? null;
544
+ i._$litPart$ = r = new B(t.insertBefore(H(), o), o, void 0, e ?? {});
545
545
  }
546
546
  return r._$AI(s), r;
547
547
  };
@@ -550,7 +550,7 @@ const Re = (s, t, e) => {
550
550
  * Copyright 2017 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- let m = class extends T {
553
+ let m = class extends k {
554
554
  constructor() {
555
555
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
556
556
  }
@@ -572,7 +572,7 @@ let m = class extends T {
572
572
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
573
573
  }
574
574
  render() {
575
- return E;
575
+ return P;
576
576
  }
577
577
  };
578
578
  var Zt;
@@ -600,7 +600,7 @@ var lt = function(s, t) {
600
600
  Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
601
601
  }, lt(s, t);
602
602
  };
603
- function B(s, t) {
603
+ function z(s, t) {
604
604
  if (typeof t != "function" && t !== null)
605
605
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
606
606
  lt(s, t);
@@ -625,29 +625,29 @@ function G(s, t) {
625
625
  var e = typeof Symbol == "function" && s[Symbol.iterator];
626
626
  if (!e)
627
627
  return s;
628
- var i = e.call(s), r, n = [], o;
628
+ var i = e.call(s), r, o = [], n;
629
629
  try {
630
630
  for (; (t === void 0 || t-- > 0) && !(r = i.next()).done; )
631
- n.push(r.value);
631
+ o.push(r.value);
632
632
  } catch (a) {
633
- o = { error: a };
633
+ n = { error: a };
634
634
  } finally {
635
635
  try {
636
636
  r && !r.done && (e = i.return) && e.call(i);
637
637
  } finally {
638
- if (o)
639
- throw o.error;
638
+ if (n)
639
+ throw n.error;
640
640
  }
641
641
  }
642
- return n;
642
+ return o;
643
643
  }
644
644
  function X(s, t, e) {
645
645
  if (e || arguments.length === 2)
646
- for (var i = 0, r = t.length, n; i < r; i++)
647
- (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
648
- return s.concat(n || Array.prototype.slice.call(t));
646
+ for (var i = 0, r = t.length, o; i < r; i++)
647
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
648
+ return s.concat(o || Array.prototype.slice.call(t));
649
649
  }
650
- function y(s) {
650
+ function b(s) {
651
651
  return typeof s == "function";
652
652
  }
653
653
  function ie(s) {
@@ -656,7 +656,7 @@ function ie(s) {
656
656
  }, e = s(t);
657
657
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
658
658
  }
659
- var nt = ie(function(s) {
659
+ var ot = ie(function(s) {
660
660
  return function(e) {
661
661
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
662
662
  ` + e.map(function(i, r) {
@@ -676,14 +676,14 @@ var tt = function() {
676
676
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
677
677
  }
678
678
  return s.prototype.unsubscribe = function() {
679
- var t, e, i, r, n;
679
+ var t, e, i, r, o;
680
680
  if (!this.closed) {
681
681
  this.closed = !0;
682
- var o = this._parentage;
683
- if (o)
684
- if (this._parentage = null, Array.isArray(o))
682
+ var n = this._parentage;
683
+ if (n)
684
+ if (this._parentage = null, Array.isArray(n))
685
685
  try {
686
- for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
686
+ for (var a = pt(n), c = a.next(); !c.done; c = a.next()) {
687
687
  var h = c.value;
688
688
  h.remove(this);
689
689
  }
@@ -698,24 +698,24 @@ var tt = function() {
698
698
  }
699
699
  }
700
700
  else
701
- o.remove(this);
701
+ n.remove(this);
702
702
  var l = this.initialTeardown;
703
- if (y(l))
703
+ if (b(l))
704
704
  try {
705
705
  l();
706
706
  } catch (v) {
707
- n = v instanceof nt ? v.errors : [v];
707
+ o = v instanceof ot ? v.errors : [v];
708
708
  }
709
709
  var p = this._finalizers;
710
710
  if (p) {
711
711
  this._finalizers = null;
712
712
  try {
713
713
  for (var d = pt(p), f = d.next(); !f.done; f = d.next()) {
714
- var O = f.value;
714
+ var T = f.value;
715
715
  try {
716
- Mt(O);
716
+ Mt(T);
717
717
  } catch (v) {
718
- n = n ?? [], v instanceof nt ? n = X(X([], G(n)), G(v.errors)) : n.push(v);
718
+ o = o ?? [], v instanceof ot ? o = X(X([], G(o)), G(v.errors)) : o.push(v);
719
719
  }
720
720
  }
721
721
  } catch (v) {
@@ -729,8 +729,8 @@ var tt = function() {
729
729
  }
730
730
  }
731
731
  }
732
- if (n)
733
- throw new nt(n);
732
+ if (o)
733
+ throw new ot(o);
734
734
  }
735
735
  }, s.prototype.add = function(t) {
736
736
  var e;
@@ -763,12 +763,12 @@ var tt = function() {
763
763
  }(), s;
764
764
  }(), se = tt.EMPTY;
765
765
  function re(s) {
766
- return s instanceof tt || s && "closed" in s && y(s.remove) && y(s.add) && y(s.unsubscribe);
766
+ return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
767
767
  }
768
768
  function Mt(s) {
769
- y(s) ? s() : s.unsubscribe();
769
+ b(s) ? s() : s.unsubscribe();
770
770
  }
771
- var ne = {
771
+ var oe = {
772
772
  onUnhandledError: null,
773
773
  onStoppedNotification: null,
774
774
  Promise: void 0,
@@ -797,8 +797,8 @@ function Nt() {
797
797
  function q(s) {
798
798
  s();
799
799
  }
800
- var oe = function(s) {
801
- B(t, s);
800
+ var ne = function(s) {
801
+ z(t, s);
802
802
  function t(e) {
803
803
  var i = s.call(this) || this;
804
804
  return i.isStopped = !1, e ? (i.destination = e, re(e) && e.add(i)) : i.destination = He, i;
@@ -829,7 +829,7 @@ var oe = function(s) {
829
829
  }
830
830
  }, t;
831
831
  }(tt), Me = Function.prototype.bind;
832
- function ot(s, t) {
832
+ function nt(s, t) {
833
833
  return Me.call(s, t);
834
834
  }
835
835
  var Ne = function() {
@@ -842,7 +842,7 @@ var Ne = function() {
842
842
  try {
843
843
  e.next(t);
844
844
  } catch (i) {
845
- W(i);
845
+ F(i);
846
846
  }
847
847
  }, s.prototype.error = function(t) {
848
848
  var e = this.partialObserver;
@@ -850,44 +850,44 @@ var Ne = function() {
850
850
  try {
851
851
  e.error(t);
852
852
  } catch (i) {
853
- W(i);
853
+ F(i);
854
854
  }
855
855
  else
856
- W(t);
856
+ F(t);
857
857
  }, s.prototype.complete = function() {
858
858
  var t = this.partialObserver;
859
859
  if (t.complete)
860
860
  try {
861
861
  t.complete();
862
862
  } catch (e) {
863
- W(e);
863
+ F(e);
864
864
  }
865
865
  }, s;
866
866
  }(), ft = function(s) {
867
- B(t, s);
867
+ z(t, s);
868
868
  function t(e, i, r) {
869
- var n = s.call(this) || this, o;
870
- if (y(e) || !e)
871
- o = {
869
+ var o = s.call(this) || this, n;
870
+ if (b(e) || !e)
871
+ n = {
872
872
  next: e ?? void 0,
873
873
  error: i ?? void 0,
874
874
  complete: r ?? void 0
875
875
  };
876
876
  else {
877
877
  var a;
878
- n && ne.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
879
- return n.unsubscribe();
880
- }, o = {
881
- next: e.next && ot(e.next, a),
882
- error: e.error && ot(e.error, a),
883
- complete: e.complete && ot(e.complete, a)
884
- }) : o = e;
878
+ o && oe.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
879
+ return o.unsubscribe();
880
+ }, n = {
881
+ next: e.next && nt(e.next, a),
882
+ error: e.error && nt(e.error, a),
883
+ complete: e.complete && nt(e.complete, a)
884
+ }) : n = e;
885
885
  }
886
- return n.destination = new Ne(o), n;
886
+ return o.destination = new Ne(n), o;
887
887
  }
888
888
  return t;
889
- }(oe);
890
- function W(s) {
889
+ }(ne);
890
+ function F(s) {
891
891
  je(s);
892
892
  }
893
893
  function Le(s) {
@@ -919,11 +919,11 @@ var Lt = function() {
919
919
  var e = new s();
920
920
  return e.source = this, e.operator = t, e;
921
921
  }, s.prototype.subscribe = function(t, e, i) {
922
- var r = this, n = Ve(t) ? t : new ft(t, e, i);
922
+ var r = this, o = Ve(t) ? t : new ft(t, e, i);
923
923
  return q(function() {
924
- var o = r, a = o.operator, c = o.source;
925
- n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
926
- }), n;
924
+ var n = r, a = n.operator, c = n.source;
925
+ o.add(a ? a.call(o, c) : c ? r._subscribe(o) : r._trySubscribe(o));
926
+ }), o;
927
927
  }, s.prototype._trySubscribe = function(t) {
928
928
  try {
929
929
  return this._subscribe(t);
@@ -932,19 +932,19 @@ var Lt = function() {
932
932
  }
933
933
  }, s.prototype.forEach = function(t, e) {
934
934
  var i = this;
935
- return e = Ht(e), new e(function(r, n) {
936
- var o = new ft({
935
+ return e = Ht(e), new e(function(r, o) {
936
+ var n = new ft({
937
937
  next: function(a) {
938
938
  try {
939
939
  t(a);
940
940
  } catch (c) {
941
- n(c), o.unsubscribe();
941
+ o(c), n.unsubscribe();
942
942
  }
943
943
  },
944
- error: n,
944
+ error: o,
945
945
  complete: r
946
946
  });
947
- i.subscribe(o);
947
+ i.subscribe(n);
948
948
  });
949
949
  }, s.prototype._subscribe = function(t) {
950
950
  var e;
@@ -958,13 +958,13 @@ var Lt = function() {
958
958
  }, s.prototype.toPromise = function(t) {
959
959
  var e = this;
960
960
  return t = Ht(t), new t(function(i, r) {
961
- var n;
962
- e.subscribe(function(o) {
963
- return n = o;
964
- }, function(o) {
965
- return r(o);
961
+ var o;
962
+ e.subscribe(function(n) {
963
+ return o = n;
964
+ }, function(n) {
965
+ return r(n);
966
966
  }, function() {
967
- return i(n);
967
+ return i(o);
968
968
  });
969
969
  });
970
970
  }, s.create = function(t) {
@@ -973,20 +973,20 @@ var Lt = function() {
973
973
  }();
974
974
  function Ht(s) {
975
975
  var t;
976
- return (t = s ?? ne.Promise) !== null && t !== void 0 ? t : Promise;
976
+ return (t = s ?? oe.Promise) !== null && t !== void 0 ? t : Promise;
977
977
  }
978
978
  function ze(s) {
979
- return s && y(s.next) && y(s.error) && y(s.complete);
979
+ return s && b(s.next) && b(s.error) && b(s.complete);
980
980
  }
981
981
  function Ve(s) {
982
- return s && s instanceof oe || ze(s) && re(s);
982
+ return s && s instanceof ne || ze(s) && re(s);
983
983
  }
984
984
  var We = ie(function(s) {
985
985
  return function() {
986
986
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
987
987
  };
988
988
  }), yt = function(s) {
989
- B(t, s);
989
+ z(t, s);
990
990
  function t() {
991
991
  var e = s.call(this) || this;
992
992
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
@@ -1000,11 +1000,11 @@ var We = ie(function(s) {
1000
1000
  }, t.prototype.next = function(e) {
1001
1001
  var i = this;
1002
1002
  q(function() {
1003
- var r, n;
1003
+ var r, o;
1004
1004
  if (i._throwIfClosed(), !i.isStopped) {
1005
1005
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
1006
1006
  try {
1007
- for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
1007
+ for (var n = pt(i.currentObservers), a = n.next(); !a.done; a = n.next()) {
1008
1008
  var c = a.value;
1009
1009
  c.next(e);
1010
1010
  }
@@ -1012,7 +1012,7 @@ var We = ie(function(s) {
1012
1012
  r = { error: h };
1013
1013
  } finally {
1014
1014
  try {
1015
- a && !a.done && (n = o.return) && n.call(o);
1015
+ a && !a.done && (o = n.return) && o.call(n);
1016
1016
  } finally {
1017
1017
  if (r)
1018
1018
  throw r.error;
@@ -1052,13 +1052,13 @@ var We = ie(function(s) {
1052
1052
  }, t.prototype._subscribe = function(e) {
1053
1053
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
1054
1054
  }, t.prototype._innerSubscribe = function(e) {
1055
- var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
1056
- return n || o ? se : (this.currentObservers = null, a.push(e), new tt(function() {
1055
+ var i = this, r = this, o = r.hasError, n = r.isStopped, a = r.observers;
1056
+ return o || n ? se : (this.currentObservers = null, a.push(e), new tt(function() {
1057
1057
  i.currentObservers = null, ut(a, e);
1058
1058
  }));
1059
1059
  }, t.prototype._checkFinalizedStatuses = function(e) {
1060
- var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
1061
- r ? e.error(n) : o && e.complete();
1060
+ var i = this, r = i.hasError, o = i.thrownError, n = i.isStopped;
1061
+ r ? e.error(o) : n && e.complete();
1062
1062
  }, t.prototype.asObservable = function() {
1063
1063
  var e = new Lt();
1064
1064
  return e.source = this, e;
@@ -1066,7 +1066,7 @@ var We = ie(function(s) {
1066
1066
  return new It(e, i);
1067
1067
  }, t;
1068
1068
  }(Lt), It = function(s) {
1069
- B(t, s);
1069
+ z(t, s);
1070
1070
  function t(e, i) {
1071
1071
  var r = s.call(this) || this;
1072
1072
  return r.destination = e, r.source = i, r;
@@ -1085,7 +1085,7 @@ var We = ie(function(s) {
1085
1085
  return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : se;
1086
1086
  }, t;
1087
1087
  }(yt), Fe = function(s) {
1088
- B(t, s);
1088
+ z(t, s);
1089
1089
  function t(e) {
1090
1090
  var i = s.call(this) || this;
1091
1091
  return i._value = e, i;
@@ -1100,10 +1100,10 @@ var We = ie(function(s) {
1100
1100
  var i = s.prototype._subscribe.call(this, e);
1101
1101
  return !i.closed && e.next(this._value), i;
1102
1102
  }, t.prototype.getValue = function() {
1103
- var e = this, i = e.hasError, r = e.thrownError, n = e._value;
1103
+ var e = this, i = e.hasError, r = e.thrownError, o = e._value;
1104
1104
  if (i)
1105
1105
  throw r;
1106
- return this._throwIfClosed(), n;
1106
+ return this._throwIfClosed(), o;
1107
1107
  }, t.prototype.next = function(e) {
1108
1108
  s.prototype.next.call(this, this._value = e);
1109
1109
  }, t;
@@ -1115,29 +1115,29 @@ var We = ie(function(s) {
1115
1115
  */
1116
1116
  const Ye = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: mt }, qe = (s = Ye, t, e) => {
1117
1117
  const { kind: i, metadata: r } = e;
1118
- let n = globalThis.litPropertyMetadata.get(r);
1119
- if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
1120
- const { name: o } = e;
1118
+ let o = globalThis.litPropertyMetadata.get(r);
1119
+ if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), o.set(e.name, s), i === "accessor") {
1120
+ const { name: n } = e;
1121
1121
  return { set(a) {
1122
1122
  const c = t.get.call(this);
1123
- t.set.call(this, a), this.requestUpdate(o, c, s);
1123
+ t.set.call(this, a), this.requestUpdate(n, c, s);
1124
1124
  }, init(a) {
1125
- return a !== void 0 && this.P(o, void 0, s), a;
1125
+ return a !== void 0 && this.P(n, void 0, s), a;
1126
1126
  } };
1127
1127
  }
1128
1128
  if (i === "setter") {
1129
- const { name: o } = e;
1129
+ const { name: n } = e;
1130
1130
  return function(a) {
1131
- const c = this[o];
1132
- t.call(this, a), this.requestUpdate(o, c, s);
1131
+ const c = this[n];
1132
+ t.call(this, a), this.requestUpdate(n, c, s);
1133
1133
  };
1134
1134
  }
1135
1135
  throw Error("Unsupported decorator location: " + i);
1136
1136
  };
1137
1137
  function g(s) {
1138
- return (t, e) => typeof e == "object" ? qe(s, t, e) : ((i, r, n) => {
1139
- const o = r.hasOwnProperty(n);
1140
- return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1138
+ return (t, e) => typeof e == "object" ? qe(s, t, e) : ((i, r, o) => {
1139
+ const n = r.hasOwnProperty(o);
1140
+ return r.constructor.createProperty(o, n ? { ...i, wrapped: !0 } : i), n ? Object.getOwnPropertyDescriptor(r, o) : void 0;
1141
1141
  })(s, t, e);
1142
1142
  }
1143
1143
  /**
@@ -1145,12 +1145,12 @@ function g(s) {
1145
1145
  * Copyright 2017 Google LLC
1146
1146
  * SPDX-License-Identifier: BSD-3-Clause
1147
1147
  */
1148
- function k(s) {
1148
+ function R(s) {
1149
1149
  return g({ ...s, state: !0, attribute: !1 });
1150
1150
  }
1151
1151
  var Ze = Object.defineProperty, Ke = Object.getOwnPropertyDescriptor, Ge = (s, t, e, i) => {
1152
- for (var r = i > 1 ? void 0 : i ? Ke(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1153
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1152
+ for (var r = i > 1 ? void 0 : i ? Ke(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1153
+ (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1154
1154
  return i && r && Ze(t, e, r), r;
1155
1155
  };
1156
1156
  class bt extends m {
@@ -1166,7 +1166,7 @@ class bt extends m {
1166
1166
  }
1167
1167
  }
1168
1168
  bt.styles = [
1169
- P`
1169
+ O`
1170
1170
  :host {
1171
1171
  position: fixed;
1172
1172
  display: flex;
@@ -1220,13 +1220,13 @@ const Xe = (s) => s.strings === void 0;
1220
1220
  * Copyright 2017 Google LLC
1221
1221
  * SPDX-License-Identifier: BSD-3-Clause
1222
1222
  */
1223
- const N = (s, t) => {
1223
+ const L = (s, t) => {
1224
1224
  var i;
1225
1225
  const e = s._$AN;
1226
1226
  if (e === void 0)
1227
1227
  return !1;
1228
1228
  for (const r of e)
1229
- (i = r._$AO) == null || i.call(r, t, !1), N(r, t);
1229
+ (i = r._$AO) == null || i.call(r, t, !1), L(r, t);
1230
1230
  return !0;
1231
1231
  }, J = (s) => {
1232
1232
  let t, e;
@@ -1253,12 +1253,12 @@ function Qe(s, t = !1, e = 0) {
1253
1253
  if (r !== void 0 && r.size !== 0)
1254
1254
  if (t)
1255
1255
  if (Array.isArray(i))
1256
- for (let n = e; n < i.length; n++)
1257
- N(i[n], !1), J(i[n]);
1256
+ for (let o = e; o < i.length; o++)
1257
+ L(i[o], !1), J(i[o]);
1258
1258
  else
1259
- i != null && (N(i, !1), J(i));
1259
+ i != null && (L(i, !1), J(i));
1260
1260
  else
1261
- N(this, s);
1261
+ L(this, s);
1262
1262
  }
1263
1263
  const ti = (s) => {
1264
1264
  s.type == $t.CHILD && (s._$AP ?? (s._$AP = Qe), s._$AQ ?? (s._$AQ = Je));
@@ -1272,7 +1272,7 @@ class he extends ae {
1272
1272
  }
1273
1273
  _$AO(t, e = !0) {
1274
1274
  var i, r;
1275
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), J(this));
1275
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (L(this, t), J(this));
1276
1276
  }
1277
1277
  setValue(t) {
1278
1278
  if (Xe(this._$Ct))
@@ -1312,7 +1312,7 @@ const at = /* @__PURE__ */ new Map(), Bt = /* @__PURE__ */ new WeakSet(), zt = (
1312
1312
  const i = Wt(s, t);
1313
1313
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1314
1314
  } }, si = { duration: 333, easing: "ease-in-out" }, ri = ["left", "top", "width", "height", "opacity", "color", "background"], Ft = /* @__PURE__ */ new WeakMap();
1315
- class ni extends he {
1315
+ class oi extends he {
1316
1316
  constructor(t) {
1317
1317
  if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === $t.CHILD)
1318
1318
  throw Error("The `animate` directive must be used in attribute position.");
@@ -1341,7 +1341,7 @@ class ni extends he {
1341
1341
  update(t, [e]) {
1342
1342
  var r;
1343
1343
  const i = this.u === void 0;
1344
- return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Ft.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1344
+ return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((o) => this.t = !0), this.element = t.element, Ft.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1345
1345
  }
1346
1346
  p(t) {
1347
1347
  t = t ?? {};
@@ -1351,15 +1351,15 @@ class ni extends he {
1351
1351
  m() {
1352
1352
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1353
1353
  return this.options.properties.forEach((r) => {
1354
- const n = e[r] ?? (ct[r] ? void 0 : i[r]), o = Number(n);
1355
- t[r] = isNaN(o) ? n + "" : o;
1354
+ const o = e[r] ?? (ct[r] ? void 0 : i[r]), n = Number(o);
1355
+ t[r] = isNaN(n) ? o + "" : n;
1356
1356
  }), t;
1357
1357
  }
1358
1358
  v() {
1359
1359
  let t, e = !0;
1360
1360
  return this.options.guard && (t = this.options.guard(), e = ((i, r) => {
1361
1361
  if (Array.isArray(i)) {
1362
- if (Array.isArray(r) && r.length === i.length && i.every((n, o) => n === r[o]))
1362
+ if (Array.isArray(r) && r.length === i.length && i.every((o, n) => o === r[n]))
1363
1363
  return !1;
1364
1364
  } else if (r === i)
1365
1365
  return !1;
@@ -1376,14 +1376,14 @@ class ni extends he {
1376
1376
  this.prepare(), await zt;
1377
1377
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1378
1378
  if (this.A !== void 0) {
1379
- const { from: n, to: o } = this.N(this.A, r, e);
1380
- this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1379
+ const { from: o, to: n } = this.N(this.A, r, e);
1380
+ this.log("measured", [this.A, r, o, n]), t = this.calculateKeyframes(o, n);
1381
1381
  } else {
1382
- const n = at.get(this.options.inId);
1383
- if (n) {
1382
+ const o = at.get(this.options.inId);
1383
+ if (o) {
1384
1384
  at.delete(this.options.inId);
1385
- const { from: o, to: a } = this.N(n, r, e);
1386
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Dt++, t.forEach((c) => c.zIndex = Dt);
1385
+ const { from: n, to: a } = this.N(o, r, e);
1386
+ t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Dt++, t.forEach((c) => c.zIndex = Dt);
1387
1387
  } else
1388
1388
  this.options.in && (t = [...this.options.in, {}]);
1389
1389
  }
@@ -1407,8 +1407,8 @@ class ni extends he {
1407
1407
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1408
1408
  const r = this.m();
1409
1409
  this.log("stabilizing out");
1410
- const n = this.A.left - r.left, o = this.A.top - r.top;
1411
- 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");
1410
+ const o = this.A.left - r.left, n = this.A.top - r.top;
1411
+ getComputedStyle(this.element).position !== "static" || o === 0 && n === 0 || (this.element.style.position = "relative"), o !== 0 && (this.element.style.left = o + "px"), n !== 0 && (this.element.style.top = n + "px");
1412
1412
  }
1413
1413
  }
1414
1414
  const t = this.j(this.options.keyframeOptions);
@@ -1446,14 +1446,14 @@ class ni extends he {
1446
1446
  N(t, e, i) {
1447
1447
  t = { ...t }, e = { ...e };
1448
1448
  const r = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1449
- let n = 1, o = 1;
1449
+ let o = 1, n = 1;
1450
1450
  return r.length > 0 && (r.forEach((a) => {
1451
- a.width && (n /= a.width), a.height && (o /= a.height);
1452
- }), 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 };
1451
+ a.width && (o /= a.width), a.height && (n /= a.height);
1452
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = o * t.left, e.left = o * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = n * t.top, e.top = n * e.top)), { from: t, to: e };
1453
1453
  }
1454
1454
  calculateKeyframes(t, e, i = !1) {
1455
- const r = {}, n = {};
1456
- let o = !1;
1455
+ const r = {}, o = {};
1456
+ let n = !1;
1457
1457
  const a = {};
1458
1458
  for (const c in e) {
1459
1459
  const h = t[c], l = e[c];
@@ -1462,11 +1462,11 @@ class ni extends he {
1462
1462
  if (h === void 0 || l === void 0)
1463
1463
  continue;
1464
1464
  const d = p(h, l);
1465
- d.transform !== void 0 && (a[c] = d.value, o = !0, r.transform = `${r.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(r, d.overrideFrom));
1465
+ d.transform !== void 0 && (a[c] = d.value, n = !0, r.transform = `${r.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(r, d.overrideFrom));
1466
1466
  } else
1467
- h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1467
+ h !== l && h !== void 0 && l !== void 0 && (n = !0, r[c] = h, o[c] = l);
1468
1468
  }
1469
- return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
1469
+ return r.transformOrigin = o.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, n ? [r, o] : void 0;
1470
1470
  }
1471
1471
  async animate(t, e = this.options.keyframeOptions) {
1472
1472
  this.start(), this.frames = t;
@@ -1491,7 +1491,7 @@ class ni extends he {
1491
1491
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1492
1492
  }
1493
1493
  }
1494
- const oi = _t(ni), ai = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1494
+ const ni = _t(oi), ai = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1495
1495
  /**
1496
1496
  * @license
1497
1497
  * Copyright 2018 Google LLC
@@ -1509,37 +1509,53 @@ const Yt = _t(class extends ae {
1509
1509
  update(s, [t]) {
1510
1510
  var i, r;
1511
1511
  if (this.st === void 0) {
1512
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((n) => n !== "")));
1513
- for (const n in t)
1514
- t[n] && !((i = this.nt) != null && i.has(n)) && this.st.add(n);
1512
+ this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((o) => o !== "")));
1513
+ for (const o in t)
1514
+ t[o] && !((i = this.nt) != null && i.has(o)) && this.st.add(o);
1515
1515
  return this.render(t);
1516
1516
  }
1517
1517
  const e = s.element.classList;
1518
- for (const n of this.st)
1519
- n in t || (e.remove(n), this.st.delete(n));
1520
- for (const n in t) {
1521
- const o = !!t[n];
1522
- 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)));
1518
+ for (const o of this.st)
1519
+ o in t || (e.remove(o), this.st.delete(o));
1520
+ for (const o in t) {
1521
+ const n = !!t[o];
1522
+ n === this.st.has(o) || (r = this.nt) != null && r.has(o) || (n ? (e.add(o), this.st.add(o)) : (e.remove(o), this.st.delete(o)));
1523
1523
  }
1524
- return E;
1524
+ return P;
1525
1525
  }
1526
- }), F = (s, t, e) => {
1526
+ }), y = (s, t, e) => {
1527
1527
  s && e.style.setProperty(t, s);
1528
1528
  }, le = (s, t) => {
1529
- var e, i, r, n;
1530
- F((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), F(
1529
+ var e, i, r, o, n, a, c, h, l;
1530
+ y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1531
1531
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1532
1532
  "--text-on-primary-background",
1533
1533
  t
1534
- ), F(
1534
+ ), y(
1535
1535
  (r = s.colors) == null ? void 0 : r.secondaryBackground,
1536
1536
  "--secondary-background",
1537
1537
  t
1538
- ), F(
1539
- (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
1538
+ ), y(
1539
+ (o = s.colors) == null ? void 0 : o.textOnSecondaryBackground,
1540
1540
  "--text-on-secondary-background",
1541
1541
  t
1542
- );
1542
+ ), y(
1543
+ (n = s.colors) == null ? void 0 : n.interactiveDestructiveBackground,
1544
+ "--destructive-color",
1545
+ t
1546
+ ), y(
1547
+ (a = s.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1548
+ "--text-on-destructive-color",
1549
+ t
1550
+ ), y(
1551
+ (c = s.colors) == null ? void 0 : c.interactivePrimaryBackground,
1552
+ "--interactive-primary-background",
1553
+ t
1554
+ ), y(
1555
+ (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1556
+ "--interactive-text-on-primary-background",
1557
+ t
1558
+ ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1543
1559
  };
1544
1560
  /**
1545
1561
  * @license
@@ -1577,12 +1593,12 @@ const ht = /* @__PURE__ */ new WeakMap(), ue = _t(class extends he {
1577
1593
  this.rt(this.ct);
1578
1594
  }
1579
1595
  });
1580
- var hi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, z = (s, t, e, i) => {
1581
- for (var r = i > 1 ? void 0 : i ? li(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1582
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1596
+ var hi = Object.defineProperty, li = Object.getOwnPropertyDescriptor, V = (s, t, e, i) => {
1597
+ for (var r = i > 1 ? void 0 : i ? li(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1598
+ (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1583
1599
  return i && r && hi(t, e, r), r;
1584
1600
  };
1585
- class _ extends m {
1601
+ class w extends m {
1586
1602
  constructor() {
1587
1603
  super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = pe(), this.widgetActive$ = new Fe(!1), this.componentIsDestroyed$ = new yt();
1588
1604
  }
@@ -1600,7 +1616,7 @@ class _ extends m {
1600
1616
  );
1601
1617
  return;
1602
1618
  }
1603
- this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0)) : (this.application.hide(), this.widgetActive$.next(!1));
1619
+ this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0), this.hideTrigger()) : (this.application.hide(), this.widgetActive$.next(!1), this.showTrigger());
1604
1620
  }
1605
1621
  _applyBranding() {
1606
1622
  var t;
@@ -1610,15 +1626,15 @@ class _ extends m {
1610
1626
  var a, c, h;
1611
1627
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1612
1628
  if (e)
1613
- return x` <img src=${e} class="trigger-icon" alt="" /> `;
1629
+ return C` <img src=${e} class="trigger-icon" alt="" /> `;
1614
1630
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1615
1631
  if (!i)
1616
1632
  return u;
1617
- const r = async (l) => ai, { type: n, content: o } = i;
1618
- switch (n) {
1633
+ const r = async (l) => ai, { type: o, content: n } = i;
1634
+ switch (o) {
1619
1635
  case "Telia": {
1620
1636
  const l = await r();
1621
- return l ? x`<telia-icon
1637
+ return l ? C`<telia-icon
1622
1638
  class="trigger-icon"
1623
1639
  svg=${l.svg}
1624
1640
  size="lg"
@@ -1636,19 +1652,19 @@ class _ extends m {
1636
1652
  }
1637
1653
  render() {
1638
1654
  var t, e, i, r;
1639
- return x`<div
1655
+ return C`<div
1640
1656
  class=${Yt({
1641
1657
  "trigger-container": !0,
1642
1658
  hidden: !this.triggerVisible
1643
1659
  })}
1644
1660
  ${ue(this.containerRef)}
1645
1661
  >
1646
- ${!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) ? x`
1662
+ ${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? C`
1647
1663
  <button
1648
1664
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1649
1665
  class="trigger-label"
1650
1666
  @click=${this.toggleActive}
1651
- ${oi({
1667
+ ${ni({
1652
1668
  keyframeOptions: {},
1653
1669
  in: ii,
1654
1670
  stabilizeOut: !0,
@@ -1700,23 +1716,27 @@ class _ extends m {
1700
1716
  </div>`;
1701
1717
  }
1702
1718
  }
1703
- _.styles = [
1704
- P`
1719
+ w.styles = [
1720
+ O`
1705
1721
  :host {
1706
1722
  --voca-rem-multiplier: 0.625;
1707
1723
  --trigger-label-bg: #f5e0ff;
1708
1724
  --trigger-label-text-color: rgba(0, 0, 0, 0.8);
1709
1725
  display: block;
1710
1726
  box-sizing: border-box;
1711
- /* font-family: var(--font-family); */
1712
1727
  font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
1713
1728
  }
1714
1729
 
1730
+ :focus {
1731
+ outline-color: var(--focus-color);
1732
+ }
1733
+
1715
1734
  .trigger-container {
1716
1735
  display: flex;
1717
1736
  align-items: center;
1718
1737
  gap: 1rem;
1719
1738
  }
1739
+
1720
1740
  .trigger-container.hidden {
1721
1741
  display: none;
1722
1742
  }
@@ -1734,26 +1754,34 @@ _.styles = [
1734
1754
  width: 55px;
1735
1755
  border-radius: 55px;
1736
1756
  cursor: pointer;
1737
- background-color: var(--trigger-bg, var(--primary-background));
1757
+ background-color: var(
1758
+ --interactive-primary-background,
1759
+ var(--primary-background)
1760
+ );
1738
1761
  font-family: Lato;
1739
1762
  text-decoration: none;
1740
1763
  border: 3px dashed transparent;
1741
1764
  box-sizing: border-box;
1742
1765
  transition: transform 200ms ease-out;
1743
1766
  }
1767
+
1744
1768
  .trigger:active {
1745
1769
  transform: scale(0.8) !important;
1746
1770
  }
1771
+
1747
1772
  .trigger:hover:not(:active) {
1748
1773
  transform: scale(1.1) !important;
1749
1774
  }
1775
+
1750
1776
  .trigger.rendered {
1751
1777
  transform: scale(1);
1752
1778
  }
1779
+
1753
1780
  .trigger.active .trigger-icon {
1754
1781
  opacity: 0;
1755
1782
  transform: rotate(-180deg) scale(0);
1756
1783
  }
1784
+
1757
1785
  .trigger.active .trigger-close {
1758
1786
  opacity: 1;
1759
1787
  transform: rotate(0deg) scale(1);
@@ -1766,8 +1794,12 @@ _.styles = [
1766
1794
  opacity: 1;
1767
1795
  transform: rotate(0deg) scale(1);
1768
1796
  transition: opacity 200ms ease-out, transform 200ms ease-out;
1769
- color: var(--trigger-text-color, var(--text-on-primary-background));
1797
+ color: var(
1798
+ --interactive-text-on-primary-background,
1799
+ var(--text-on-primary-background)
1800
+ );
1770
1801
  }
1802
+
1771
1803
  .trigger-close {
1772
1804
  opacity: 0;
1773
1805
  transition: transform 200ms ease-out;
@@ -1781,8 +1813,12 @@ _.styles = [
1781
1813
  justify-content: center;
1782
1814
  align-items: center;
1783
1815
  }
1816
+
1784
1817
  .trigger-close svg path {
1785
- fill: var(--trigger-text-color, var(--text-on-primary-background));
1818
+ fill: var(
1819
+ --interactive-text-on-primary-background,
1820
+ var(--text-on-primary-background)
1821
+ );
1786
1822
  }
1787
1823
 
1788
1824
  img {
@@ -1791,8 +1827,8 @@ _.styles = [
1791
1827
 
1792
1828
  .trigger-label {
1793
1829
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
1794
- background-color: var(--trigger-label-bg);
1795
- color: var(--trigger-label-text-color);
1830
+ background-color: var(--secondary-background);
1831
+ color: var(--text-on-secondary-background);
1796
1832
  white-space: nowrap;
1797
1833
  padding: 0.7rem 1rem;
1798
1834
  border-radius: 0.3rem;
@@ -1812,24 +1848,24 @@ _.styles = [
1812
1848
  }
1813
1849
  `
1814
1850
  ];
1815
- z([
1851
+ V([
1816
1852
  g({ attribute: !1 })
1817
- ], _.prototype, "application", 2);
1818
- z([
1819
- k()
1820
- ], _.prototype, "active", 2);
1821
- z([
1822
- k()
1823
- ], _.prototype, "triggerVisible", 2);
1824
- z([
1825
- k()
1826
- ], _.prototype, "loaded", 2);
1827
- z([
1828
- k()
1829
- ], _.prototype, "icon", 2);
1830
- var pi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, A = (s, t, e, i) => {
1831
- for (var r = i > 1 ? void 0 : i ? ui(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1832
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1853
+ ], w.prototype, "application", 2);
1854
+ V([
1855
+ R()
1856
+ ], w.prototype, "active", 2);
1857
+ V([
1858
+ R()
1859
+ ], w.prototype, "triggerVisible", 2);
1860
+ V([
1861
+ R()
1862
+ ], w.prototype, "loaded", 2);
1863
+ V([
1864
+ R()
1865
+ ], w.prototype, "icon", 2);
1866
+ var pi = Object.defineProperty, ui = Object.getOwnPropertyDescriptor, x = (s, t, e, i) => {
1867
+ for (var r = i > 1 ? void 0 : i ? ui(t, e) : t, o = s.length - 1, n; o >= 0; o--)
1868
+ (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
1833
1869
  return i && r && pi(t, e, r), r;
1834
1870
  };
1835
1871
  const de = (s) => {
@@ -1858,7 +1894,7 @@ const de = (s) => {
1858
1894
  }
1859
1895
  return t.styles = [
1860
1896
  // (superClass as unknown as typeof LitElement).styles ?? [],
1861
- P`
1897
+ O`
1862
1898
  :host {
1863
1899
  font-family: var(--font-family);
1864
1900
  grid-column: span var(--width);
@@ -1871,29 +1907,29 @@ const de = (s) => {
1871
1907
  box-sizing: border-box;
1872
1908
  }
1873
1909
  `
1874
- ], A([
1910
+ ], x([
1875
1911
  g()
1876
- ], t.prototype, "properties", 2), A([
1912
+ ], t.prototype, "properties", 2), x([
1877
1913
  g()
1878
- ], t.prototype, "context", 2), A([
1914
+ ], t.prototype, "context", 2), x([
1879
1915
  g()
1880
- ], t.prototype, "layout", 2), A([
1916
+ ], t.prototype, "layout", 2), x([
1881
1917
  g()
1882
- ], t.prototype, "name", 2), A([
1918
+ ], t.prototype, "name", 2), x([
1883
1919
  g()
1884
- ], t.prototype, "type", 2), A([
1920
+ ], t.prototype, "type", 2), x([
1885
1921
  g({ attribute: !1 })
1886
- ], t.prototype, "application", 2), A([
1922
+ ], t.prototype, "application", 2), x([
1887
1923
  g({ attribute: !1 })
1888
1924
  ], t.prototype, "parent", 2), t;
1889
1925
  };
1890
1926
  class fe extends de(m) {
1891
1927
  render() {
1892
- return x`Non resolved component`;
1928
+ return C`Non resolved component`;
1893
1929
  }
1894
1930
  }
1895
1931
  fe.styles = [
1896
- P`
1932
+ O`
1897
1933
  :host {
1898
1934
  display: block;
1899
1935
  }
@@ -1962,19 +1998,19 @@ let gi = class extends Event {
1962
1998
  };
1963
1999
  class qt extends fi {
1964
2000
  constructor(t, e, i) {
1965
- var r, n;
1966
- super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
1967
- const a = o.composedPath()[0];
1968
- o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
1969
- }, this.onProviderRequest = (o) => {
1970
- const a = o.composedPath()[0];
1971
- if (o.context !== this.context || a === this.host)
2001
+ var r, o;
2002
+ super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (n) => {
2003
+ const a = n.composedPath()[0];
2004
+ n.context === this.context && a !== this.host && (n.stopPropagation(), this.addCallback(n.callback, a, n.subscribe));
2005
+ }, this.onProviderRequest = (n) => {
2006
+ const a = n.composedPath()[0];
2007
+ if (n.context !== this.context || a === this.host)
1972
2008
  return;
1973
2009
  const c = /* @__PURE__ */ new Set();
1974
2010
  for (const [h, { consumerHost: l }] of this.subscriptions)
1975
2011
  c.has(h) || (c.add(h), l.dispatchEvent(new di(this.context, h, !0)));
1976
- o.stopPropagation();
1977
- }, 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);
2012
+ n.stopPropagation();
2013
+ }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (o = (r = this.host).addController) == null || o.call(r, this);
1978
2014
  }
1979
2015
  attachListeners() {
1980
2016
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
@@ -1997,38 +2033,38 @@ function vi({ context: s }) {
1997
2033
  }), { get() {
1998
2034
  return t.get.call(this);
1999
2035
  }, set(r) {
2000
- var n;
2001
- return (n = i.get(this)) == null || n.setValue(r), t.set.call(this, r);
2036
+ var o;
2037
+ return (o = i.get(this)) == null || o.setValue(r), t.set.call(this, r);
2002
2038
  }, init(r) {
2003
- var n;
2004
- return (n = i.get(this)) == null || n.setValue(r), r;
2039
+ var o;
2040
+ return (o = i.get(this)) == null || o.setValue(r), r;
2005
2041
  } };
2006
2042
  {
2007
- t.constructor.addInitializer((o) => {
2008
- i.set(o, new qt(o, { context: s }));
2043
+ t.constructor.addInitializer((n) => {
2044
+ i.set(n, new qt(n, { context: s }));
2009
2045
  });
2010
2046
  const r = Object.getOwnPropertyDescriptor(t, e);
2011
- let n;
2047
+ let o;
2012
2048
  if (r === void 0) {
2013
- const o = /* @__PURE__ */ new WeakMap();
2014
- n = { get: function() {
2015
- return o.get(this);
2049
+ const n = /* @__PURE__ */ new WeakMap();
2050
+ o = { get: function() {
2051
+ return n.get(this);
2016
2052
  }, set: function(a) {
2017
- i.get(this).setValue(a), o.set(this, a);
2053
+ i.get(this).setValue(a), n.set(this, a);
2018
2054
  }, configurable: !0, enumerable: !0 };
2019
2055
  } else {
2020
- const o = r.set;
2021
- n = { ...r, set: function(a) {
2022
- i.get(this).setValue(a), o == null || o.call(this, a);
2056
+ const n = r.set;
2057
+ o = { ...r, set: function(a) {
2058
+ i.get(this).setValue(a), n == null || n.call(this, a);
2023
2059
  } };
2024
2060
  }
2025
- return void Object.defineProperty(t, e, n);
2061
+ return void Object.defineProperty(t, e, o);
2026
2062
  }
2027
2063
  };
2028
2064
  }
2029
2065
  var mi = Object.defineProperty, yi = Object.getOwnPropertyDescriptor, bi = (s, t, e, i) => {
2030
- for (var r = i > 1 ? void 0 : i ? yi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2031
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2066
+ for (var r = i > 1 ? void 0 : i ? yi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2067
+ (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
2032
2068
  return i && r && mi(t, e, r), r;
2033
2069
  };
2034
2070
  const $i = "application";
@@ -2059,12 +2095,12 @@ class At extends m {
2059
2095
  render() {
2060
2096
  var i, r;
2061
2097
  const t = this.application.settings.components.conversation;
2062
- return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === wt.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), x`<div class="widget-container" ${ue(this.wrapperRef)}>
2063
- ${ee(this.nodes, (n) => n)}
2098
+ return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === wt.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), C`<div class="widget-container" ${ue(this.wrapperRef)}>
2099
+ ${ee(this.nodes, (o) => o)}
2064
2100
  </div>`;
2065
2101
  }
2066
2102
  }
2067
- At.styles = P`
2103
+ At.styles = O`
2068
2104
  :host {
2069
2105
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2070
2106
  --spacing-xs: 0.2rem;
@@ -2080,6 +2116,7 @@ At.styles = P`
2080
2116
  --gray-color: #f3f3f8;
2081
2117
  --white-color: #fff;
2082
2118
  --gray-dark-color: #a6a6a6;
2119
+ --black-border-color: #00000054;
2083
2120
 
2084
2121
  --box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
2085
2122
  --border-radius: var(--spacing-sm);
@@ -2090,6 +2127,7 @@ At.styles = P`
2090
2127
 
2091
2128
  --header-height: 69px;
2092
2129
  }
2130
+
2093
2131
  :host {
2094
2132
  --voca-rem-multiplier: 0.625;
2095
2133
  box-sizing: border-box;
@@ -2106,23 +2144,27 @@ At.styles = P`
2106
2144
  z-index: 6;
2107
2145
  position: fixed;
2108
2146
  }
2147
+
2109
2148
  @media screen and (max-width: 800px) {
2110
2149
  :host(.floating) {
2111
- inset: 0 0 95px 0;
2150
+ inset: 0;
2112
2151
  height: 100%;
2113
2152
  }
2153
+
2114
2154
  :host(.third-party) {
2115
- inset: 0 0 95px 0;
2155
+ inset: 0;
2116
2156
  height: 100vh;
2117
2157
  }
2118
2158
  }
2159
+
2119
2160
  @media screen and (min-width: 801px) {
2120
2161
  :host(.floating) {
2121
- inset: auto 20px 95px auto;
2162
+ inset: auto 20px 20px auto;
2122
2163
  max-height: calc(100vh - 120px);
2123
2164
  width: 400px;
2124
- height: 700px;
2165
+ height: 775px;
2125
2166
  }
2167
+
2126
2168
  :host(.third-party) {
2127
2169
  max-width: 1000px;
2128
2170
  height: 100vh;
@@ -2131,11 +2173,13 @@ At.styles = P`
2131
2173
  transform: translateX(-50%);
2132
2174
  margin: -10px 0;
2133
2175
  }
2176
+
2134
2177
  :host(.floating.bottom-right) {
2135
- inset: auto 20px 95px auto;
2178
+ inset: auto 20px 20px auto;
2136
2179
  }
2180
+
2137
2181
  :host(.floating.bottom-left) {
2138
- inset: auto auto 95px 20px;
2182
+ inset: auto auto 20px 20px;
2139
2183
  }
2140
2184
  }
2141
2185
 
@@ -2151,14 +2195,14 @@ At.styles = P`
2151
2195
  * {
2152
2196
  box-sizing: border-box;
2153
2197
  }
2198
+
2154
2199
  .widget-container {
2155
2200
  height: 100%;
2156
2201
  background-color: var(--primary-background);
2157
2202
  padding: var(--spacing-sm);
2158
2203
  border: var(--widget-border, none);
2159
- border-left: 1px solid #00000054;
2160
- border-right: 1px solid #00000054;
2161
2204
  }
2205
+
2162
2206
  @keyframes slideDown {
2163
2207
  from {
2164
2208
  transform: translateY(0);
@@ -2169,6 +2213,7 @@ At.styles = P`
2169
2213
  opacity: 0;
2170
2214
  }
2171
2215
  }
2216
+
2172
2217
  @keyframes slideUp {
2173
2218
  from {
2174
2219
  transform: translateY(100%);
@@ -2179,10 +2224,12 @@ At.styles = P`
2179
2224
  opacity: 1;
2180
2225
  }
2181
2226
  }
2227
+
2182
2228
  :host(.expanded) {
2183
2229
  opacity: 1;
2184
2230
  animation: slideUp 0.3s linear;
2185
2231
  }
2232
+
2186
2233
  :host(.hidden) {
2187
2234
  opacity: 0;
2188
2235
  animation: slideDown 0.3s linear;
@@ -2194,11 +2241,11 @@ bi([
2194
2241
  vi({ context: $i })
2195
2242
  ], At.prototype, "application", 2);
2196
2243
  var _i = Object.defineProperty, wi = Object.getOwnPropertyDescriptor, xt = (s, t, e, i) => {
2197
- for (var r = i > 1 ? void 0 : i ? wi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2198
- (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2244
+ for (var r = i > 1 ? void 0 : i ? wi(t, e) : t, o = s.length - 1, n; o >= 0; o--)
2245
+ (n = s[o]) && (r = (i ? n(t, e, r) : n(r)) || r);
2199
2246
  return i && r && _i(t, e, r), r;
2200
2247
  };
2201
- class V extends m {
2248
+ class W extends m {
2202
2249
  constructor() {
2203
2250
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2204
2251
  }
@@ -2224,14 +2271,14 @@ class V extends m {
2224
2271
  if (!this.widget || this.status !== "activated")
2225
2272
  return u;
2226
2273
  if (this.widget.renderStrategy === wt.Trigger) {
2227
- const t = new _();
2274
+ const t = new w();
2228
2275
  return t.application = this.widget, t;
2229
2276
  }
2230
2277
  return this.widget.render();
2231
2278
  }
2232
2279
  }
2233
- V.styles = [
2234
- P`
2280
+ W.styles = [
2281
+ O`
2235
2282
  :host {
2236
2283
  display: block;
2237
2284
  }
@@ -2239,18 +2286,18 @@ V.styles = [
2239
2286
  ];
2240
2287
  xt([
2241
2288
  g({ attribute: !0 })
2242
- ], V.prototype, "name", 2);
2289
+ ], W.prototype, "name", 2);
2243
2290
  xt([
2244
- k()
2245
- ], V.prototype, "widget", 2);
2291
+ R()
2292
+ ], W.prototype, "widget", 2);
2246
2293
  xt([
2247
- k()
2248
- ], V.prototype, "status", 2);
2294
+ R()
2295
+ ], W.prototype, "status", 2);
2249
2296
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", bt);
2250
- customElements.get("ace-trigger") || customElements.define("ace-trigger", _);
2297
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", w);
2251
2298
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", fe);
2252
2299
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", At);
2253
- customElements.get("ace-widget") || customElements.define("ace-widget", V);
2300
+ customElements.get("ace-widget") || customElements.define("ace-widget", W);
2254
2301
  const Ai = (s) => {
2255
2302
  const t = {};
2256
2303
  return Object.keys(s).forEach((e) => {
@@ -2271,11 +2318,11 @@ class Ci extends de(m) {
2271
2318
  return xi(this.renderRoot.host, this.properties), this.renderRoot.host.style.setProperty(
2272
2319
  "--columns",
2273
2320
  ((t = this.properties.columns) == null ? void 0 : t.toString()) || "1"
2274
- ), x`${ee(this.nodes, (e) => e)}`;
2321
+ ), C`${ee(this.nodes, (e) => e)}`;
2275
2322
  }
2276
2323
  }
2277
2324
  Ci.styles = [
2278
- P`
2325
+ O`
2279
2326
  :host {
2280
2327
  height: 100%;
2281
2328
  display: grid;