@telia-ace/widget-components-copyright-flamingo 1.1.123-rc.9 → 1.1.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- var ct = function(s, t) {
2
- return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var ht = function(s, t) {
2
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
5
  for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
6
- }, ct(s, t);
6
+ }, ht(s, t);
7
7
  };
8
8
  function z(s, t) {
9
9
  if (typeof t != "function" && t !== null)
10
10
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
11
- ct(s, t);
11
+ ht(s, t);
12
12
  function e() {
13
13
  this.constructor = s;
14
14
  }
@@ -82,15 +82,15 @@ var Q = (function() {
82
82
  if (n)
83
83
  if (this._parentage = null, Array.isArray(n))
84
84
  try {
85
- for (var a = lt(n), h = a.next(); !h.done; h = a.next()) {
86
- var c = h.value;
87
- c.remove(this);
85
+ for (var a = lt(n), c = a.next(); !c.done; c = a.next()) {
86
+ var h = c.value;
87
+ h.remove(this);
88
88
  }
89
89
  } catch (v) {
90
90
  t = { error: v };
91
91
  } finally {
92
92
  try {
93
- h && !h.done && (e = a.return) && e.call(a);
93
+ c && !c.done && (e = a.return) && e.call(a);
94
94
  } finally {
95
95
  if (t) throw t.error;
96
96
  }
@@ -296,8 +296,8 @@ var Lt = (function() {
296
296
  }, s.prototype.subscribe = function(t, e, i) {
297
297
  var r = this, o = Le(t) ? t : new ft(t, e, i);
298
298
  return W(function() {
299
- var n = r, a = n.operator, h = n.source;
300
- o.add(a ? a.call(o, h) : h ? r._subscribe(o) : r._trySubscribe(o));
299
+ var n = r, a = n.operator, c = n.source;
300
+ o.add(a ? a.call(o, c) : c ? r._subscribe(o) : r._trySubscribe(o));
301
301
  }), o;
302
302
  }, s.prototype._trySubscribe = function(t) {
303
303
  try {
@@ -312,8 +312,8 @@ var Lt = (function() {
312
312
  next: function(a) {
313
313
  try {
314
314
  t(a);
315
- } catch (h) {
316
- o(h), n.unsubscribe();
315
+ } catch (c) {
316
+ o(c), n.unsubscribe();
317
317
  }
318
318
  },
319
319
  error: o,
@@ -380,11 +380,11 @@ var Re = re(function(s) {
380
380
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
381
381
  try {
382
382
  for (var n = lt(i.currentObservers), a = n.next(); !a.done; a = n.next()) {
383
- var h = a.value;
384
- h.next(e);
383
+ var c = a.value;
384
+ c.next(e);
385
385
  }
386
- } catch (c) {
387
- r = { error: c };
386
+ } catch (h) {
387
+ r = { error: h };
388
388
  } finally {
389
389
  try {
390
390
  a && !a.done && (o = n.return) && o.call(n);
@@ -458,7 +458,7 @@ var Re = re(function(s) {
458
458
  var i, r;
459
459
  return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : oe;
460
460
  }, t;
461
- })(mt), he = (function(s) {
461
+ })(mt), ce = (function(s) {
462
462
  z(t, s);
463
463
  function t(e) {
464
464
  var i = s.call(this) || this;
@@ -488,7 +488,7 @@ var Re = re(function(s) {
488
488
  * SPDX-License-Identifier: BSD-3-Clause
489
489
  */
490
490
  const G = globalThis, yt = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, bt = Symbol(), jt = /* @__PURE__ */ new WeakMap();
491
- let ce = class {
491
+ let he = class {
492
492
  constructor(t, e, i) {
493
493
  if (this._$cssResult$ = !0, i !== bt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
494
494
  this.cssText = t, this.t = e;
@@ -506,13 +506,13 @@ let ce = class {
506
506
  return this.cssText;
507
507
  }
508
508
  };
509
- const Ue = (s) => new ce(typeof s == "string" ? s : s + "", void 0, bt), k = (s, ...t) => {
509
+ const Ue = (s) => new he(typeof s == "string" ? s : s + "", void 0, bt), k = (s, ...t) => {
510
510
  const e = s.length === 1 ? s[0] : t.reduce(((i, r, o) => i + ((n) => {
511
511
  if (n._$cssResult$ === !0) return n.cssText;
512
512
  if (typeof n == "number") return n;
513
513
  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.");
514
514
  })(r) + s[o + 1]), s[0]);
515
- return new ce(e, s, bt);
515
+ return new he(e, s, bt);
516
516
  }, je = (s, t) => {
517
517
  if (yt) s.adoptedStyleSheets = t.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
518
518
  else for (const e of t) {
@@ -676,10 +676,10 @@ let M = class extends HTMLElement {
676
676
  var o, n;
677
677
  const i = this.constructor, r = i._$Eh.get(t);
678
678
  if (r !== void 0 && this._$Em !== r) {
679
- const a = i.getPropertyOptions(r), h = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((o = a.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? a.converter : Y;
679
+ const a = i.getPropertyOptions(r), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((o = a.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? a.converter : Y;
680
680
  this._$Em = r;
681
- const c = h.fromAttribute(e, a.type);
682
- this[r] = c ?? ((n = this._$Ej) == null ? void 0 : n.get(r)) ?? c, this._$Em = null;
681
+ const h = c.fromAttribute(e, a.type);
682
+ this[r] = h ?? ((n = this._$Ej) == null ? void 0 : n.get(r)) ?? h, this._$Em = null;
683
683
  }
684
684
  }
685
685
  requestUpdate(t, e, i) {
@@ -717,8 +717,8 @@ let M = class extends HTMLElement {
717
717
  }
718
718
  const r = this.constructor.elementProperties;
719
719
  if (r.size > 0) for (const [o, n] of r) {
720
- const { wrapped: a } = n, h = this[o];
721
- a !== !0 || this._$AL.has(o) || h === void 0 || this.C(o, void 0, n, h);
720
+ const { wrapped: a } = n, c = this[o];
721
+ a !== !0 || this._$AL.has(o) || c === void 0 || this.C(o, void 0, n, c);
722
722
  }
723
723
  }
724
724
  let t = !1;
@@ -779,11 +779,11 @@ const Ge = (s, t) => {
779
779
  const e = s.length - 1, i = [];
780
780
  let r, o = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = U;
781
781
  for (let a = 0; a < e; a++) {
782
- const h = s[a];
783
- let c, l, d = -1, p = 0;
784
- for (; p < h.length && (n.lastIndex = p, l = n.exec(h), l !== null); ) p = n.lastIndex, n === U ? l[1] === "!--" ? n = Ft : l[1] !== void 0 ? n = zt : l[2] !== void 0 ? (ue.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = x) : l[3] !== void 0 && (n = x) : n === x ? l[0] === ">" ? (n = r ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = n.lastIndex - l[2].length, c = l[1], n = l[3] === void 0 ? x : l[3] === '"' ? Zt : Dt) : n === Zt || n === Dt ? n = x : n === Ft || n === zt ? n = U : (n = x, r = void 0);
782
+ const c = s[a];
783
+ let h, l, d = -1, p = 0;
784
+ for (; p < c.length && (n.lastIndex = p, l = n.exec(c), l !== null); ) p = n.lastIndex, n === U ? l[1] === "!--" ? n = Ft : l[1] !== void 0 ? n = zt : l[2] !== void 0 ? (ue.test(l[2]) && (r = RegExp("</" + l[2], "g")), n = x) : l[3] !== void 0 && (n = x) : n === x ? l[0] === ">" ? (n = r ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = n.lastIndex - l[2].length, h = l[1], n = l[3] === void 0 ? x : l[3] === '"' ? Zt : Dt) : n === Zt || n === Dt ? n = x : n === Ft || n === zt ? n = U : (n = x, r = void 0);
785
785
  const f = n === x && s[a + 1].startsWith("/>") ? " " : "";
786
- o += n === U ? h + Ze : d >= 0 ? (i.push(c), h.slice(0, d) + le + h.slice(d) + _ + f) : h + _ + (d === -2 ? a : f);
786
+ o += n === U ? c + Ze : d >= 0 ? (i.push(h), c.slice(0, d) + le + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
787
787
  }
788
788
  return [fe(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
789
789
  };
@@ -792,29 +792,29 @@ let gt = class ge {
792
792
  let r;
793
793
  this.parts = [];
794
794
  let o = 0, n = 0;
795
- const a = t.length - 1, h = this.parts, [c, l] = Ge(t, e);
796
- if (this.el = ge.createElement(c, i), E.currentNode = this.el.content, e === 2 || e === 3) {
795
+ const a = t.length - 1, c = this.parts, [h, l] = Ge(t, e);
796
+ if (this.el = ge.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
797
797
  const d = this.el.content.firstChild;
798
798
  d.replaceWith(...d.childNodes);
799
799
  }
800
- for (; (r = E.nextNode()) !== null && h.length < a; ) {
800
+ for (; (r = E.nextNode()) !== null && c.length < a; ) {
801
801
  if (r.nodeType === 1) {
802
802
  if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(le)) {
803
803
  const p = l[n++], f = r.getAttribute(d).split(_), T = /([.?@])?(.*)/.exec(p);
804
- h.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Ke : T[1] === "?" ? Xe : T[1] === "@" ? Je : tt }), r.removeAttribute(d);
805
- } else d.startsWith(_) && (h.push({ type: 6, index: o }), r.removeAttribute(d));
804
+ c.push({ type: 1, index: o, name: T[2], strings: f, ctor: T[1] === "." ? Ke : T[1] === "?" ? Xe : T[1] === "@" ? Je : tt }), r.removeAttribute(d);
805
+ } else d.startsWith(_) && (c.push({ type: 6, index: o }), r.removeAttribute(d));
806
806
  if (ue.test(r.tagName)) {
807
807
  const d = r.textContent.split(_), p = d.length - 1;
808
808
  if (p > 0) {
809
809
  r.textContent = K ? K.emptyScript : "";
810
- for (let f = 0; f < p; f++) r.append(d[f], B()), E.nextNode(), h.push({ type: 2, index: ++o });
810
+ for (let f = 0; f < p; f++) r.append(d[f], B()), E.nextNode(), c.push({ type: 2, index: ++o });
811
811
  r.append(d[p], B());
812
812
  }
813
813
  }
814
- } else if (r.nodeType === 8) if (r.data === de) h.push({ type: 2, index: o });
814
+ } else if (r.nodeType === 8) if (r.data === de) c.push({ type: 2, index: o });
815
815
  else {
816
816
  let d = -1;
817
- for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) h.push({ type: 7, index: o }), d += _.length - 1;
817
+ for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: o }), d += _.length - 1;
818
818
  }
819
819
  o++;
820
820
  }
@@ -844,13 +844,13 @@ class Ye {
844
844
  u(t) {
845
845
  const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? P).importNode(e, !0);
846
846
  E.currentNode = r;
847
- let o = E.nextNode(), n = 0, a = 0, h = i[0];
848
- for (; h !== void 0; ) {
849
- if (n === h.index) {
850
- let c;
851
- h.type === 2 ? c = new D(o, o.nextSibling, this, t) : h.type === 1 ? c = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && (c = new Qe(o, this, t)), this._$AV.push(c), h = i[++a];
847
+ let o = E.nextNode(), n = 0, a = 0, c = i[0];
848
+ for (; c !== void 0; ) {
849
+ if (n === c.index) {
850
+ let h;
851
+ c.type === 2 ? h = new D(o, o.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (h = new Qe(o, this, t)), this._$AV.push(h), c = i[++a];
852
852
  }
853
- n !== (h == null ? void 0 : h.index) && (o = E.nextNode(), n++);
853
+ n !== (c == null ? void 0 : c.index) && (o = E.nextNode(), n++);
854
854
  }
855
855
  return E.currentNode = P, r;
856
856
  }
@@ -938,8 +938,8 @@ class tt {
938
938
  if (o === void 0) t = H(this, t, e, 0), n = !V(t) || t !== this._$AH && t !== O, n && (this._$AH = t);
939
939
  else {
940
940
  const a = t;
941
- let h, c;
942
- for (t = o[0], h = 0; h < o.length - 1; h++) c = H(this, a[i + h], e, h), c === O && (c = this._$AH[h]), n || (n = !V(c) || c !== this._$AH[h]), c === u ? t = u : t !== u && (t += (c ?? "") + o[h + 1]), this._$AH[h] = c;
941
+ let c, h;
942
+ for (t = o[0], c = 0; c < o.length - 1; c++) h = H(this, a[i + c], e, c), h === O && (h = this._$AH[c]), n || (n = !V(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + o[c + 1]), this._$AH[c] = h;
943
943
  }
944
944
  n && !r && this.j(t);
945
945
  }
@@ -1046,8 +1046,8 @@ const ei = { attribute: !0, type: String, converter: Y, reflect: !1, hasChanged:
1046
1046
  if (o === void 0 && globalThis.litPropertyMetadata.set(r, o = /* @__PURE__ */ new Map()), i === "setter" && ((s = Object.create(s)).wrapped = !0), o.set(e.name, s), i === "accessor") {
1047
1047
  const { name: n } = e;
1048
1048
  return { set(a) {
1049
- const h = t.get.call(this);
1050
- t.set.call(this, a), this.requestUpdate(n, h, s);
1049
+ const c = t.get.call(this);
1050
+ t.set.call(this, a), this.requestUpdate(n, c, s);
1051
1051
  }, init(a) {
1052
1052
  return a !== void 0 && this.C(n, void 0, s, a), a;
1053
1053
  } };
@@ -1055,8 +1055,8 @@ const ei = { attribute: !0, type: String, converter: Y, reflect: !1, hasChanged:
1055
1055
  if (i === "setter") {
1056
1056
  const { name: n } = e;
1057
1057
  return function(a) {
1058
- const h = this[n];
1059
- t.call(this, a), this.requestUpdate(n, h, s);
1058
+ const c = this[n];
1059
+ t.call(this, a), this.requestUpdate(n, c, s);
1060
1060
  };
1061
1061
  }
1062
1062
  throw Error("Unsupported decorator location: " + i);
@@ -1165,7 +1165,7 @@ const I = (s, t) => {
1165
1165
  let e = t._$AN;
1166
1166
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1167
1167
  else if (e.has(s)) break;
1168
- e.add(s), hi(t);
1168
+ e.add(s), ci(t);
1169
1169
  }
1170
1170
  };
1171
1171
  function ni(s) {
@@ -1177,7 +1177,7 @@ function ai(s, t = !1, e = 0) {
1177
1177
  else i != null && (I(i, !1), J(i));
1178
1178
  else I(this, s);
1179
1179
  }
1180
- const hi = (s) => {
1180
+ const ci = (s) => {
1181
1181
  s.type == wt.CHILD && (s._$AP ?? (s._$AP = ai), s._$AQ ?? (s._$AQ = ni));
1182
1182
  };
1183
1183
  class ye extends ve {
@@ -1203,7 +1203,7 @@ class ye extends ve {
1203
1203
  reconnected() {
1204
1204
  }
1205
1205
  }
1206
- const ci = /* @__PURE__ */ new WeakMap();
1206
+ const hi = /* @__PURE__ */ new WeakMap();
1207
1207
  let Wt = 0;
1208
1208
  const nt = /* @__PURE__ */ new Map(), Gt = /* @__PURE__ */ new WeakSet(), Yt = () => new Promise(((s) => requestAnimationFrame(s))), li = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Kt = (s, t) => {
1209
1209
  const e = s - t;
@@ -1247,7 +1247,7 @@ class pi extends ye {
1247
1247
  return u;
1248
1248
  }
1249
1249
  getController() {
1250
- return ci.get(this.u);
1250
+ return hi.get(this.u);
1251
1251
  }
1252
1252
  isDisabled() {
1253
1253
  var t;
@@ -1295,7 +1295,7 @@ class pi extends ye {
1295
1295
  if (o) {
1296
1296
  nt.delete(this.options.inId);
1297
1297
  const { from: n, to: a } = this.N(o, r, e);
1298
- t = this.calculateKeyframes(n, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach(((h) => h.zIndex = Wt));
1298
+ t = this.calculateKeyframes(n, 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));
1299
1299
  } else this.options.in && (t = [...this.options.in, {}]);
1300
1300
  }
1301
1301
  this.animate(t, i);
@@ -1365,14 +1365,14 @@ class pi extends ye {
1365
1365
  const r = {}, o = {};
1366
1366
  let n = !1;
1367
1367
  const a = {};
1368
- for (const h in e) {
1369
- const c = t[h], l = e[h];
1370
- if (h in at) {
1371
- const d = at[h];
1372
- if (c === void 0 || l === void 0) continue;
1373
- const p = d(c, l);
1374
- p.transform !== void 0 && (a[h] = p.value, n = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
1375
- } else c !== l && c !== void 0 && l !== void 0 && (n = !0, r[h] = c, o[h] = l);
1368
+ for (const c in e) {
1369
+ const h = t[c], l = e[c];
1370
+ if (c in at) {
1371
+ const d = at[c];
1372
+ if (h === void 0 || l === void 0) continue;
1373
+ const p = d(h, l);
1374
+ p.transform !== void 0 && (a[c] = p.value, n = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
1375
+ } else h !== l && h !== void 0 && l !== void 0 && (n = !0, r[c] = h, o[c] = l);
1376
1376
  }
1377
1377
  return r.transformOrigin = o.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, n ? [r, o] : void 0;
1378
1378
  }
@@ -1431,7 +1431,7 @@ const Qt = xt(class extends ve {
1431
1431
  }), y = (s, t, e) => {
1432
1432
  s && e.style.setProperty(t, s);
1433
1433
  }, be = (s, t) => {
1434
- var e, i, r, o, n, a, h, c, l;
1434
+ var e, i, r, o, n, a, c, h, l;
1435
1435
  y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1436
1436
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1437
1437
  "--text-on-primary-background",
@@ -1453,11 +1453,11 @@ const Qt = xt(class extends ve {
1453
1453
  "--text-on-destructive-color",
1454
1454
  t
1455
1455
  ), y(
1456
- (h = s.colors) == null ? void 0 : h.interactivePrimaryBackground,
1456
+ (c = s.colors) == null ? void 0 : c.interactivePrimaryBackground,
1457
1457
  "--interactive-primary-background",
1458
1458
  t
1459
1459
  ), y(
1460
- (c = s.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
1460
+ (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1461
1461
  "--interactive-text-on-primary-background",
1462
1462
  t
1463
1463
  ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
@@ -1470,7 +1470,7 @@ const Qt = xt(class extends ve {
1470
1470
  const $e = () => new vi();
1471
1471
  class vi {
1472
1472
  }
1473
- const ht = /* @__PURE__ */ new WeakMap(), _e = xt(class extends ye {
1473
+ const ct = /* @__PURE__ */ new WeakMap(), _e = xt(class extends ye {
1474
1474
  render(s) {
1475
1475
  return u;
1476
1476
  }
@@ -1482,13 +1482,13 @@ const ht = /* @__PURE__ */ new WeakMap(), _e = xt(class extends ye {
1482
1482
  rt(s) {
1483
1483
  if (this.isConnected || (s = void 0), typeof this.G == "function") {
1484
1484
  const t = this.ht ?? globalThis;
1485
- let e = ht.get(t);
1486
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ht, s);
1485
+ let e = ct.get(t);
1486
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ct.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ht, s);
1487
1487
  } else this.G.value = s;
1488
1488
  }
1489
1489
  get lt() {
1490
1490
  var s, t;
1491
- return typeof this.G == "function" ? (s = ht.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1491
+ return typeof this.G == "function" ? (s = ct.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1492
1492
  }
1493
1493
  disconnected() {
1494
1494
  this.lt === this.ct && this.rt(void 0);
@@ -1504,7 +1504,7 @@ var mi = Object.defineProperty, Z = (s, t, e, i) => {
1504
1504
  };
1505
1505
  const St = class St extends m {
1506
1506
  constructor() {
1507
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = $e(), this.widgetActive$ = new he(!1), this.componentIsDestroyed$ = new mt();
1507
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = $e(), this.widgetActive$ = new ce(!1), this.componentIsDestroyed$ = new mt();
1508
1508
  }
1509
1509
  async connectedCallback() {
1510
1510
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1542,11 +1542,11 @@ const St = class St extends m {
1542
1542
  (t = this.application) != null && t.settings && be(this.application.settings.branding, this);
1543
1543
  }
1544
1544
  async _renderSymbol() {
1545
- var a, h, c;
1546
- const t = (a = this.application) == null ? void 0 : a.branding(), e = (h = t == null ? void 0 : t.graphics) == null ? void 0 : h.trigger;
1545
+ var a, c, h;
1546
+ const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1547
1547
  if (e)
1548
1548
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1549
- const i = (c = this.application) == null ? void 0 : c.triggerIcon;
1549
+ const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1550
1550
  if (!i)
1551
1551
  return u;
1552
1552
  const r = async (l) => gi, { type: o, content: n } = i;
@@ -1581,7 +1581,7 @@ const St = class St extends m {
1581
1581
  return C`<div
1582
1582
  class=${Qt({
1583
1583
  "trigger-container": !0,
1584
- hidden: !this.triggerVisible
1584
+ "ace-hidden": !this.triggerVisible
1585
1585
  })}
1586
1586
  ${_e(this.containerRef)}
1587
1587
  >
@@ -1665,7 +1665,7 @@ St.styles = [
1665
1665
  gap: 1rem;
1666
1666
  }
1667
1667
 
1668
- .trigger-container.hidden {
1668
+ .trigger-container.ace-hidden {
1669
1669
  display: none;
1670
1670
  }
1671
1671
 
@@ -1946,7 +1946,7 @@ class te extends _i {
1946
1946
  }, this.onProviderRequest = (n) => {
1947
1947
  if (n.context !== this.context || (n.contextTarget ?? n.composedPath()[0]) === this.host) return;
1948
1948
  const a = /* @__PURE__ */ new Set();
1949
- for (const [h, { consumerHost: c }] of this.subscriptions) a.has(h) || (a.add(h), c.dispatchEvent(new $i(this.context, c, h, !0)));
1949
+ for (const [c, { consumerHost: h }] of this.subscriptions) a.has(c) || (a.add(c), h.dispatchEvent(new $i(this.context, h, c, !0)));
1950
1950
  n.stopPropagation();
1951
1951
  }, 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);
1952
1952
  }
@@ -2002,7 +2002,7 @@ var Ai = Object.defineProperty, xe = (s, t, e, i) => {
2002
2002
  };
2003
2003
  const Ci = "application", Ot = class Ot extends m {
2004
2004
  constructor() {
2005
- super(...arguments), this.nodes = [], this.wrapperRef = $e(), this.fullscreen = !1, this.isReady = new he(!1);
2005
+ super(...arguments), this.nodes = [], this.wrapperRef = $e(), this.fullscreen = !1, this.isReady = new ce(!1);
2006
2006
  }
2007
2007
  addChild(t) {
2008
2008
  t.parent = this, this.nodes.push(t);
@@ -2025,9 +2025,8 @@ const Ci = "application", Ot = class Ot extends m {
2025
2025
  this.applyBranding(), this.applyStyles();
2026
2026
  }
2027
2027
  render() {
2028
- var i, r;
2029
- const t = this.application.settings.components.conversation;
2030
- return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === At.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), 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)}>
2028
+ var e, i, r;
2029
+ return ((r = (i = (e = this.application.settings) == null ? void 0 : e.agentConfig) == null ? void 0 : i.live) == null ? void 0 : r.isThirdPartyWidget) ?? !1 ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === At.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), 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)}>
2031
2030
  ${bi(this.nodes, (o) => o)}
2032
2031
  </div>`;
2033
2032
  }
@@ -2182,19 +2181,19 @@ Ot.styles = k`
2182
2181
  }
2183
2182
  }
2184
2183
 
2185
- :host(.expanded) {
2184
+ :host(.ace-expanded) {
2186
2185
  opacity: 1;
2187
2186
  animation: slideUp 0.3s linear;
2188
2187
  }
2189
2188
 
2190
- :host(.hidden) {
2189
+ :host(.ace-hidden) {
2191
2190
  opacity: 0;
2192
2191
  animation: slideDown 0.3s linear;
2193
2192
  pointer-events: none;
2194
2193
  }
2195
2194
 
2196
- :host(.hidden.embedded),
2197
- :host(.expanded.embedded) {
2195
+ :host(.ace-hidden.embedded),
2196
+ :host(.ace-expanded.embedded) {
2198
2197
  animation: none;
2199
2198
  }
2200
2199
  `;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var lt=function(s,t){return lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])},lt(s,t)};function z(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");lt(s,t);function e(){this.constructor=s}s.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function dt(s){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&s[t],i=0;if(e)return e.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&i>=s.length&&(s=void 0),{value:s&&s[i++],done:!s}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ut(s,t){var e=typeof Symbol=="function"&&s[Symbol.iterator];if(!e)return s;var i=e.call(s),r,o=[],n;try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(a){n={error:a}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(n)throw n.error}}return o}function pt(s,t,e){if(e||arguments.length===2)for(var i=0,r=t.length,o;i<r;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return s.concat(o||Array.prototype.slice.call(t))}function b(s){return typeof s=="function"}function re(s){var t=function(i){Error.call(i),i.stack=new Error().stack},e=s(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var it=re(function(s){return function(e){s(this),this.message=e?e.length+` errors occurred during unsubscription:
2
2
  `+e.map(function(i,r){return r+1+") "+i.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=e}});function ft(s,t){if(s){var e=s.indexOf(t);0<=e&&s.splice(e,1)}}var tt=(function(){function s(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return s.prototype.unsubscribe=function(){var t,e,i,r,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=dt(n),c=a.next();!c.done;c=a.next()){var h=c.value;h.remove(this)}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else n.remove(this);var l=this.initialTeardown;if(b(l))try{l()}catch(v){o=v instanceof it?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=dt(d),f=p.next();!f.done;f=p.next()){var T=f.value;try{Ht(T)}catch(v){o=o??[],v instanceof it?o=pt(pt([],ut(o)),ut(v.errors)):o.push(v)}}}catch(v){i={error:v}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(i)throw i.error}}}if(o)throw new it(o)}},s.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Ht(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},s.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},s.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},s.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&ft(e,t)},s.prototype.remove=function(t){var e=this._finalizers;e&&ft(e,t),t instanceof s&&t._removeParent(this)},s.EMPTY=(function(){var t=new s;return t.closed=!0,t})(),s})(),oe=tt.EMPTY;function ne(s){return s instanceof tt||s&&"closed"in s&&b(s.remove)&&b(s.add)&&b(s.unsubscribe)}function Ht(s){b(s)?s():s.unsubscribe()}var Ae={Promise:void 0},Ce={setTimeout:function(s,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,pt([s,t],ut(e)))},clearTimeout:function(s){return clearTimeout(s)},delegate:void 0};function Ee(s){Ce.setTimeout(function(){throw s})}function Lt(){}function W(s){s()}var ae=(function(s){z(t,s);function t(e){var i=s.call(this)||this;return i.isStopped=!1,e?(i.destination=e,ne(e)&&e.add(i)):i.destination=Oe,i}return t.create=function(e,i,r){return new gt(e,i,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,s.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(tt),Se=(function(){function s(t){this.partialObserver=t}return s.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){q(i)}},s.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){q(i)}else q(t)},s.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){q(e)}},s})(),gt=(function(s){z(t,s);function t(e,i,r){var o=s.call(this)||this,n;return b(e)||!e?n={next:e??void 0,error:i??void 0,complete:r??void 0}:n=e,o.destination=new Se(n),o}return t})(ae);function q(s){Ee(s)}function Pe(s){throw s}var Oe={closed:!0,next:Lt,error:Pe,complete:Lt},ke=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function Te(s){return s}function Me(s){return s.length===0?Te:s.length===1?s[0]:function(e){return s.reduce(function(i,r){return r(i)},e)}}var Rt=(function(){function s(t){t&&(this._subscribe=t)}return s.prototype.lift=function(t){var e=new s;return e.source=this,e.operator=t,e},s.prototype.subscribe=function(t,e,i){var r=this,o=Le(t)?t:new gt(t,e,i);return W(function(){var n=r,a=n.operator,c=n.source;o.add(a?a.call(o,c):c?r._subscribe(o):r._trySubscribe(o))}),o},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(t,e){var i=this;return e=Ut(e),new e(function(r,o){var n=new gt({next:function(a){try{t(a)}catch(c){o(c),n.unsubscribe()}},error:o,complete:r});i.subscribe(n)})},s.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},s.prototype[ke]=function(){return this},s.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Me(t)(this)},s.prototype.toPromise=function(t){var e=this;return t=Ut(t),new t(function(i,r){var o;e.subscribe(function(n){return o=n},function(n){return r(n)},function(){return i(o)})})},s.create=function(t){return new s(t)},s})();function Ut(s){var t;return(t=s??Ae.Promise)!==null&&t!==void 0?t:Promise}function He(s){return s&&b(s.next)&&b(s.error)&&b(s.complete)}function Le(s){return s&&s instanceof ae||He(s)&&ne(s)}var Re=re(function(s){return function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),yt=(function(s){z(t,s);function t(){var e=s.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new jt(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Re},t.prototype.next=function(e){var i=this;W(function(){var r,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=dt(i.currentObservers),a=n.next();!a.done;a=n.next()){var c=a.value;c.next(e)}}catch(h){r={error:h}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var r=i.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),s.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,r=this,o=r.hasError,n=r.isStopped,a=r.observers;return o||n?oe:(this.currentObservers=null,a.push(e),new tt(function(){i.currentObservers=null,ft(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,r=i.hasError,o=i.thrownError,n=i.isStopped;r?e.error(o):n&&e.complete()},t.prototype.asObservable=function(){var e=new Rt;return e.source=this,e},t.create=function(e,i){return new jt(e,i)},t})(Rt),jt=(function(s){z(t,s);function t(e,i){var r=s.call(this)||this;return r.destination=e,r.source=i,r}return t.prototype.next=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.next)===null||r===void 0||r.call(i,e)},t.prototype.error=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.error)===null||r===void 0||r.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,r;return(r=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&r!==void 0?r:oe},t})(yt),ce=(function(s){z(t,s);function t(e){var i=s.call(this)||this;return i._value=e,i}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var i=s.prototype._subscribe.call(this,e);return!i.closed&&e.next(this._value),i},t.prototype.getValue=function(){var e=this,i=e.hasError,r=e.thrownError,o=e._value;if(i)throw r;return this._throwIfClosed(),o},t.prototype.next=function(e){s.prototype.next.call(this,this._value=e)},t})(yt);/**
3
+ `):"",this.name="UnsubscriptionError",this.errors=e}});function ft(s,t){if(s){var e=s.indexOf(t);0<=e&&s.splice(e,1)}}var tt=(function(){function s(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return s.prototype.unsubscribe=function(){var t,e,i,r,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=dt(n),c=a.next();!c.done;c=a.next()){var h=c.value;h.remove(this)}}catch(v){t={error:v}}finally{try{c&&!c.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}else n.remove(this);var l=this.initialTeardown;if(b(l))try{l()}catch(v){o=v instanceof it?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=dt(d),f=p.next();!f.done;f=p.next()){var T=f.value;try{Ht(T)}catch(v){o=o??[],v instanceof it?o=pt(pt([],ut(o)),ut(v.errors)):o.push(v)}}}catch(v){i={error:v}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(i)throw i.error}}}if(o)throw new it(o)}},s.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)Ht(t);else{if(t instanceof s){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},s.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},s.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},s.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&ft(e,t)},s.prototype.remove=function(t){var e=this._finalizers;e&&ft(e,t),t instanceof s&&t._removeParent(this)},s.EMPTY=(function(){var t=new s;return t.closed=!0,t})(),s})(),oe=tt.EMPTY;function ne(s){return s instanceof tt||s&&"closed"in s&&b(s.remove)&&b(s.add)&&b(s.unsubscribe)}function Ht(s){b(s)?s():s.unsubscribe()}var Ce={Promise:void 0},Ae={setTimeout:function(s,t){for(var e=[],i=2;i<arguments.length;i++)e[i-2]=arguments[i];return setTimeout.apply(void 0,pt([s,t],ut(e)))},clearTimeout:function(s){return clearTimeout(s)},delegate:void 0};function Ee(s){Ae.setTimeout(function(){throw s})}function Lt(){}function W(s){s()}var ae=(function(s){z(t,s);function t(e){var i=s.call(this)||this;return i.isStopped=!1,e?(i.destination=e,ne(e)&&e.add(i)):i.destination=Oe,i}return t.create=function(e,i,r){return new gt(e,i,r)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,s.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t})(tt),Se=(function(){function s(t){this.partialObserver=t}return s.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(i){q(i)}},s.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(i){q(i)}else q(t)},s.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){q(e)}},s})(),gt=(function(s){z(t,s);function t(e,i,r){var o=s.call(this)||this,n;return b(e)||!e?n={next:e??void 0,error:i??void 0,complete:r??void 0}:n=e,o.destination=new Se(n),o}return t})(ae);function q(s){Ee(s)}function Pe(s){throw s}var Oe={closed:!0,next:Lt,error:Pe,complete:Lt},ke=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function Te(s){return s}function Me(s){return s.length===0?Te:s.length===1?s[0]:function(e){return s.reduce(function(i,r){return r(i)},e)}}var Rt=(function(){function s(t){t&&(this._subscribe=t)}return s.prototype.lift=function(t){var e=new s;return e.source=this,e.operator=t,e},s.prototype.subscribe=function(t,e,i){var r=this,o=Le(t)?t:new gt(t,e,i);return W(function(){var n=r,a=n.operator,c=n.source;o.add(a?a.call(o,c):c?r._subscribe(o):r._trySubscribe(o))}),o},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(t,e){var i=this;return e=Ut(e),new e(function(r,o){var n=new gt({next:function(a){try{t(a)}catch(c){o(c),n.unsubscribe()}},error:o,complete:r});i.subscribe(n)})},s.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},s.prototype[ke]=function(){return this},s.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Me(t)(this)},s.prototype.toPromise=function(t){var e=this;return t=Ut(t),new t(function(i,r){var o;e.subscribe(function(n){return o=n},function(n){return r(n)},function(){return i(o)})})},s.create=function(t){return new s(t)},s})();function Ut(s){var t;return(t=s??Ce.Promise)!==null&&t!==void 0?t:Promise}function He(s){return s&&b(s.next)&&b(s.error)&&b(s.complete)}function Le(s){return s&&s instanceof ae||He(s)&&ne(s)}var Re=re(function(s){return function(){s(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),yt=(function(s){z(t,s);function t(){var e=s.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var i=new jt(this,this);return i.operator=e,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new Re},t.prototype.next=function(e){var i=this;W(function(){var r,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=dt(i.currentObservers),a=n.next();!a.done;a=n.next()){var c=a.value;c.next(e)}}catch(h){r={error:h}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var i=this;W(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=e;for(var r=i.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;W(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var i=e.observers;i.length;)i.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),s.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var i=this,r=this,o=r.hasError,n=r.isStopped,a=r.observers;return o||n?oe:(this.currentObservers=null,a.push(e),new tt(function(){i.currentObservers=null,ft(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var i=this,r=i.hasError,o=i.thrownError,n=i.isStopped;r?e.error(o):n&&e.complete()},t.prototype.asObservable=function(){var e=new Rt;return e.source=this,e},t.create=function(e,i){return new jt(e,i)},t})(Rt),jt=(function(s){z(t,s);function t(e,i){var r=s.call(this)||this;return r.destination=e,r.source=i,r}return t.prototype.next=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.next)===null||r===void 0||r.call(i,e)},t.prototype.error=function(e){var i,r;(r=(i=this.destination)===null||i===void 0?void 0:i.error)===null||r===void 0||r.call(i,e)},t.prototype.complete=function(){var e,i;(i=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||i===void 0||i.call(e)},t.prototype._subscribe=function(e){var i,r;return(r=(i=this.source)===null||i===void 0?void 0:i.subscribe(e))!==null&&r!==void 0?r:oe},t})(yt),ce=(function(s){z(t,s);function t(e){var i=s.call(this)||this;return i._value=e,i}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(e){var i=s.prototype._subscribe.call(this,e);return!i.closed&&e.next(this._value),i},t.prototype.getValue=function(){var e=this,i=e.hasError,r=e.thrownError,o=e._value;if(i)throw r;return this._throwIfClosed(),o},t.prototype.next=function(e){s.prototype.next.call(this,this._value=e)},t})(yt);/**
4
4
  * @license
5
5
  * Copyright 2019 Google LLC
6
6
  * SPDX-License-Identifier: BSD-3-Clause
@@ -14,7 +14,7 @@
14
14
  * SPDX-License-Identifier: BSD-3-Clause
15
15
  */const N=globalThis,K=N.trustedTypes,Ft=K?K.createPolicy("lit-html",{createHTML:s=>s}):void 0,le="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,de="?"+_,Ze=`<${de}>`,P=document,B=()=>P.createComment(""),V=s=>s===null||typeof s!="object"&&typeof s!="function",wt=Array.isArray,qe=s=>wt(s)||typeof(s==null?void 0:s[Symbol.iterator])=="function",rt=`[
16
16
  \f\r]`,U=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,zt=/-->/g,Dt=/>/g,x=RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
17
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Zt=/'/g,qt=/"/g,ue=/^(?:script|style|textarea|title)$/i,pe=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),C=pe(1),We=pe(2),O=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Wt=new WeakMap,E=P.createTreeWalker(P,129);function fe(s,t){if(!wt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(t):t}const Ge=(s,t)=>{const e=s.length-1,i=[];let r,o=t===2?"<svg>":t===3?"<math>":"",n=U;for(let a=0;a<e;a++){const c=s[a];let h,l,d=-1,p=0;for(;p<c.length&&(n.lastIndex=p,l=n.exec(c),l!==null);)p=n.lastIndex,n===U?l[1]==="!--"?n=zt:l[1]!==void 0?n=Dt:l[2]!==void 0?(ue.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=x):l[3]!==void 0&&(n=x):n===x?l[0]===">"?(n=r??U,d=-1):l[1]===void 0?d=-2:(d=n.lastIndex-l[2].length,h=l[1],n=l[3]===void 0?x:l[3]==='"'?qt:Zt):n===qt||n===Zt?n=x:n===zt||n===Dt?n=U:(n=x,r=void 0);const f=n===x&&s[a+1].startsWith("/>")?" ":"";o+=n===U?c+Ze:d>=0?(i.push(h),c.slice(0,d)+le+c.slice(d)+_+f):c+_+(d===-2?a:f)}return[fe(s,o+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};let vt=class ge{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,c=this.parts,[h,l]=Ge(t,e);if(this.el=ge.createElement(h,i),E.currentNode=this.el.content,e===2||e===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(r=E.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const d of r.getAttributeNames())if(d.endsWith(le)){const p=l[n++],f=r.getAttribute(d).split(_),T=/([.?@])?(.*)/.exec(p);c.push({type:1,index:o,name:T[2],strings:f,ctor:T[1]==="."?Ke:T[1]==="?"?Xe:T[1]==="@"?Je:et}),r.removeAttribute(d)}else d.startsWith(_)&&(c.push({type:6,index:o}),r.removeAttribute(d));if(ue.test(r.tagName)){const d=r.textContent.split(_),p=d.length-1;if(p>0){r.textContent=K?K.emptyScript:"";for(let f=0;f<p;f++)r.append(d[f],B()),E.nextNode(),c.push({type:2,index:++o});r.append(d[p],B())}}}else if(r.nodeType===8)if(r.data===de)c.push({type:2,index:o});else{let d=-1;for(;(d=r.data.indexOf(_,d+1))!==-1;)c.push({type:7,index:o}),d+=_.length-1}o++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}};function H(s,t,e=s,i){var n,a;if(t===O)return t;let r=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const o=V(t)?void 0:t._$litDirective$;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=H(s,r._$AS(s,t.values),r,i)),t}class Ye{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,r=((t==null?void 0:t.creationScope)??P).importNode(e,!0);E.currentNode=r;let o=E.nextNode(),n=0,a=0,c=i[0];for(;c!==void 0;){if(n===c.index){let h;c.type===2?h=new D(o,o.nextSibling,this,t):c.type===1?h=new c.ctor(o,c.name,c.strings,this,t):c.type===6&&(h=new Qe(o,this,t)),this._$AV.push(h),c=i[++a]}n!==(c==null?void 0:c.index)&&(o=E.nextNode(),n++)}return E.currentNode=P,r}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){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}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),V(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==O&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qe(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=vt.createElement(fe(i.h,i.h[0]),this.options)),i);if(((o=this._$AH)==null?void 0:o._$AD)===r)this._$AH.p(e);else{const n=new Ye(r,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new vt(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new D(this.O(B()),this.O(B()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,o){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}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(o===void 0)t=H(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==O,n&&(this._$AH=t);else{const a=t;let c,h;for(t=o[0],c=0;c<o.length-1;c++)h=H(this,a[i+c],e,c),h===O&&(h=this._$AH[c]),n||(n=!V(h)||h!==this._$AH[c]),h===u?t=u:t!==u&&(t+=(h??"")+o[c+1]),this._$AH[c]=h}n&&!r&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ke extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}}class Xe extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}}class Je extends et{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){if((t=H(this,t,e,0)??u)===O)return;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);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Qe{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const ot=N.litHtmlPolyfillSupport;ot==null||ot(vt,D),(N.litHtmlVersions??(N.litHtmlVersions=[])).push("3.3.1");const ti=(s,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const o=(e==null?void 0:e.renderBefore)??null;i._$litPart$=r=new D(t.insertBefore(B(),o),o,void 0,e??{})}return r._$AI(s),r};/**
17
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Zt=/'/g,qt=/"/g,ue=/^(?:script|style|textarea|title)$/i,pe=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),A=pe(1),We=pe(2),O=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),Wt=new WeakMap,E=P.createTreeWalker(P,129);function fe(s,t){if(!wt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(t):t}const Ge=(s,t)=>{const e=s.length-1,i=[];let r,o=t===2?"<svg>":t===3?"<math>":"",n=U;for(let a=0;a<e;a++){const c=s[a];let h,l,d=-1,p=0;for(;p<c.length&&(n.lastIndex=p,l=n.exec(c),l!==null);)p=n.lastIndex,n===U?l[1]==="!--"?n=zt:l[1]!==void 0?n=Dt:l[2]!==void 0?(ue.test(l[2])&&(r=RegExp("</"+l[2],"g")),n=x):l[3]!==void 0&&(n=x):n===x?l[0]===">"?(n=r??U,d=-1):l[1]===void 0?d=-2:(d=n.lastIndex-l[2].length,h=l[1],n=l[3]===void 0?x:l[3]==='"'?qt:Zt):n===qt||n===Zt?n=x:n===zt||n===Dt?n=U:(n=x,r=void 0);const f=n===x&&s[a+1].startsWith("/>")?" ":"";o+=n===U?c+Ze:d>=0?(i.push(h),c.slice(0,d)+le+c.slice(d)+_+f):c+_+(d===-2?a:f)}return[fe(s,o+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};let vt=class ge{constructor({strings:t,_$litType$:e},i){let r;this.parts=[];let o=0,n=0;const a=t.length-1,c=this.parts,[h,l]=Ge(t,e);if(this.el=ge.createElement(h,i),E.currentNode=this.el.content,e===2||e===3){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(r=E.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(const d of r.getAttributeNames())if(d.endsWith(le)){const p=l[n++],f=r.getAttribute(d).split(_),T=/([.?@])?(.*)/.exec(p);c.push({type:1,index:o,name:T[2],strings:f,ctor:T[1]==="."?Ke:T[1]==="?"?Xe:T[1]==="@"?Je:et}),r.removeAttribute(d)}else d.startsWith(_)&&(c.push({type:6,index:o}),r.removeAttribute(d));if(ue.test(r.tagName)){const d=r.textContent.split(_),p=d.length-1;if(p>0){r.textContent=K?K.emptyScript:"";for(let f=0;f<p;f++)r.append(d[f],B()),E.nextNode(),c.push({type:2,index:++o});r.append(d[p],B())}}}else if(r.nodeType===8)if(r.data===de)c.push({type:2,index:o});else{let d=-1;for(;(d=r.data.indexOf(_,d+1))!==-1;)c.push({type:7,index:o}),d+=_.length-1}o++}}static createElement(t,e){const i=P.createElement("template");return i.innerHTML=t,i}};function H(s,t,e=s,i){var n,a;if(t===O)return t;let r=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const o=V(t)?void 0:t._$litDirective$;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=H(s,r._$AS(s,t.values),r,i)),t}class Ye{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,r=((t==null?void 0:t.creationScope)??P).importNode(e,!0);E.currentNode=r;let o=E.nextNode(),n=0,a=0,c=i[0];for(;c!==void 0;){if(n===c.index){let h;c.type===2?h=new D(o,o.nextSibling,this,t):c.type===1?h=new c.ctor(o,c.name,c.strings,this,t):c.type===6&&(h=new Qe(o,this,t)),this._$AV.push(h),c=i[++a]}n!==(c==null?void 0:c.index)&&(o=E.nextNode(),n++)}return E.currentNode=P,r}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class D{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,r){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}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=H(this,t,e),V(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==O&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qe(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(P.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:i}=t,r=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=vt.createElement(fe(i.h,i.h[0]),this.options)),i);if(((o=this._$AH)==null?void 0:o._$AD)===r)this._$AH.p(e);else{const n=new Ye(r,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new vt(t)),e}k(t){wt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,r=0;for(const o of t)r===e.length?e.push(i=new D(this.O(B()),this.O(B()),this,this.options)):i=e[r],i._$AI(o),r++;r<e.length&&(this._$AR(i&&i._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t!==this._$AB;){const r=t.nextSibling;t.remove(),t=r}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,r,o){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}_$AI(t,e=this,i,r){const o=this.strings;let n=!1;if(o===void 0)t=H(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==O,n&&(this._$AH=t);else{const a=t;let c,h;for(t=o[0],c=0;c<o.length-1;c++)h=H(this,a[i+c],e,c),h===O&&(h=this._$AH[c]),n||(n=!V(h)||h!==this._$AH[c]),h===u?t=u:t!==u&&(t+=(h??"")+o[c+1]),this._$AH[c]=h}n&&!r&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Ke extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}}class Xe extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}}class Je extends et{constructor(t,e,i,r,o){super(t,e,i,r,o),this.type=5}_$AI(t,e=this){if((t=H(this,t,e,0)??u)===O)return;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);r&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Qe{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){H(this,t)}}const ot=N.litHtmlPolyfillSupport;ot==null||ot(vt,D),(N.litHtmlVersions??(N.litHtmlVersions=[])).push("3.3.1");const ti=(s,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let r=i._$litPart$;if(r===void 0){const o=(e==null?void 0:e.renderBefore)??null;i._$litPart$=r=new D(t.insertBefore(B(),o),o,void 0,e??{})}return r._$AI(s),r};/**
18
18
  * @license
19
19
  * Copyright 2017 Google LLC
20
20
  * SPDX-License-Identifier: BSD-3-Clause
@@ -46,7 +46,7 @@
46
46
  * @license
47
47
  * Copyright 2017 Google LLC
48
48
  * SPDX-License-Identifier: BSD-3-Clause
49
- */const xt={ATTRIBUTE:1,CHILD:2},At=s=>(...t)=>({_$litDirective$:s,values:t});let ve=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};/**
49
+ */const xt={ATTRIBUTE:1,CHILD:2},Ct=s=>(...t)=>({_$litDirective$:s,values:t});let ve=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};/**
50
50
  * @license
51
51
  * Copyright 2020 Google LLC
52
52
  * SPDX-License-Identifier: BSD-3-Clause
@@ -54,23 +54,23 @@
54
54
  * @license
55
55
  * Copyright 2017 Google LLC
56
56
  * SPDX-License-Identifier: BSD-3-Clause
57
- */const I=(s,t)=>{var i;const e=s._$AN;if(e===void 0)return!1;for(const r of e)(i=r._$AO)==null||i.call(r,t,!1),I(r,t);return!0},J=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},me=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),ci(t)}};function ni(s){this._$AN!==void 0?(J(this),this._$AM=s,me(this)):this._$AM=s}function ai(s,t=!1,e=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let o=e;o<i.length;o++)I(i[o],!1),J(i[o]);else i!=null&&(I(i,!1),J(i));else I(this,s)}const ci=s=>{s.type==xt.CHILD&&(s._$AP??(s._$AP=ai),s._$AQ??(s._$AQ=ni))};class ye extends ve{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),me(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,r;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(r=this.disconnected)==null||r.call(this)),e&&(I(this,t),J(this))}setValue(t){if(oi(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const hi=new WeakMap;let Gt=0;const at=new Map,Yt=new WeakSet,Kt=()=>new Promise((s=>requestAnimationFrame(s))),li=[{transform:"translateX(100%) scale(0)",opacity:0}],Xt=(s,t)=>{const e=s-t;return e===0?void 0:e},Jt=(s,t)=>{const e=s/t;return e===1?void 0:e},ct={left:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateX(${e}px)`}},top:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateY(${e}px)`}},width:(s,t)=>{let e;t===0&&(t=1,e={width:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(s,t)=>{let e;t===0&&(t=1,e={height:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},di={duration:333,easing:"ease-in-out"},ui=["left","top","width","height","opacity","color","background"],Qt=new WeakMap;class pi extends ye{constructor(t){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.");this.createFinished()}createFinished(){var t;(t=this.resolveFinished)==null||t.call(this),this.finished=new Promise((e=>{this.l=e}))}async resolveFinished(){var t;(t=this.l)==null||t.call(this),this.l=void 0}render(t){return u}getController(){return hi.get(this.u)}isDisabled(){var t;return this.options.disabled||((t=this.getController())==null?void 0:t.disabled)}update(t,[e]){var r;const i=this.u===void 0;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,Qt.set(this.element,this)),this.optionsOrCallback=e,(i||typeof e!="function")&&this.p(e),this.render(e)}p(t){t=t??{};const e=this.getController();e!==void 0&&((t={...e.defaultOptions,...t}).keyframeOptions={...e.defaultOptions.keyframeOptions,...t.keyframeOptions}),t.properties??(t.properties=ui),this.options=t}m(){const t={},e=this.element.getBoundingClientRect(),i=getComputedStyle(this.element);return this.options.properties.forEach((r=>{const o=e[r]??(ct[r]?void 0:i[r]),n=Number(o);t[r]=isNaN(n)?o+"":n})),t}v(){let t,e=!0;return this.options.guard&&(t=this.options.guard(),e=((i,r)=>{if(Array.isArray(i)){if(Array.isArray(r)&&r.length===i.length&&i.every(((o,n)=>o===r[n])))return!1}else if(r===i)return!1;return!0})(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}hostUpdate(){typeof this.optionsOrCallback=="function"&&this.p(this.optionsOrCallback()),this.v()&&(this.A=this.m(),this.i=this.i??this.element.parentNode,this.o=this.element.nextSibling)}async hostUpdated(){if(!this.h||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await Kt;const e=this.O(),i=this.j(this.options.keyframeOptions,e),r=this.m();if(this.A!==void 0){const{from:o,to:n}=this.N(this.A,r,e);this.log("measured",[this.A,r,o,n]),t=this.calculateKeyframes(o,n)}else{const o=at.get(this.options.inId);if(o){at.delete(this.options.inId);const{from:n,to:a}=this.N(o,r,e);t=this.calculateKeyframes(n,a),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,Gt++,t.forEach((c=>c.zIndex=Gt))}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,i)}resetStyles(){this.P!==void 0&&(this.element.setAttribute("style",this.P??""),this.P=void 0)}commitStyles(){var t,e;this.P=this.element.getAttribute("style"),(t=this.webAnimation)==null||t.commitStyles(),(e=this.webAnimation)==null||e.cancel()}reconnected(){}async disconnected(){var e;if(!this.h||(this.options.id!==void 0&&at.set(this.options.id,this.A),this.options.out===void 0))return;if(this.prepare(),await Kt(),(e=this.i)==null?void 0:e.isConnected){const i=this.o&&this.o.parentNode===this.i?this.o:null;if(this.i.insertBefore(this.element,i),this.options.stabilizeOut){const r=this.m();this.log("stabilizing out");const o=this.A.left-r.left,n=this.A.top-r.top;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")}}const t=this.j(this.options.keyframeOptions);await this.animate(this.options.out,t),this.element.remove()}prepare(){this.createFinished()}start(){var t,e;(e=(t=this.options).onStart)==null||e.call(t,this)}didFinish(t){var e,i;t&&((i=(e=this.options).onComplete)==null||i.call(e,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}O(){const t=[];for(let e=this.element.parentNode;e;e=e==null?void 0:e.parentNode){const i=Qt.get(e);i&&!i.isDisabled()&&i&&t.push(i)}return t}get isHostRendered(){const t=Yt.has(this.u);return t||this.u.updateComplete.then((()=>{Yt.add(this.u)})),t}j(t,e=this.O()){const i={...di};return e.forEach((r=>Object.assign(i,r.options.keyframeOptions))),Object.assign(i,t),i}N(t,e,i){t={...t},e={...e};const r=i.map((a=>a.animatingProperties)).filter((a=>a!==void 0));let o=1,n=1;return r.length>0&&(r.forEach((a=>{a.width&&(o/=a.width),a.height&&(n/=a.height)})),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}}calculateKeyframes(t,e,i=!1){const r={},o={};let n=!1;const a={};for(const c in e){const h=t[c],l=e[c];if(c in ct){const d=ct[c];if(h===void 0||l===void 0)continue;const p=d(h,l);p.transform!==void 0&&(a[c]=p.value,n=!0,r.transform=`${r.transform??""} ${p.transform}`,p.overrideFrom!==void 0&&Object.assign(r,p.overrideFrom))}else h!==l&&h!==void 0&&l!==void 0&&(n=!0,r[c]=h,o[c]=l)}return r.transformOrigin=o.transformOrigin=i?"center center":"top left",this.animatingProperties=a,n?[r,o]:void 0}async animate(t,e=this.options.keyframeOptions){this.start(),this.frames=t;let i=!1;if(!this.isAnimating()&&!this.isDisabled()&&(this.options.onFrames&&(this.frames=t=this.options.onFrames(this),this.log("modified frames",t)),t!==void 0)){this.log("animate",[t,e]),i=!0,this.webAnimation=this.element.animate(t,e);const r=this.getController();r==null||r.add(this);try{await this.webAnimation.finished}catch{}r==null||r.remove(this)}return this.didFinish(i),i}isAnimating(){var t,e;return((t=this.webAnimation)==null?void 0:t.playState)==="running"||((e=this.webAnimation)==null?void 0:e.pending)}log(t,e){this.shouldLog&&!this.isDisabled()&&console.log(t,this.options.id,e)}}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>'};/**
57
+ */const I=(s,t)=>{var i;const e=s._$AN;if(e===void 0)return!1;for(const r of e)(i=r._$AO)==null||i.call(r,t,!1),I(r,t);return!0},J=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while((e==null?void 0:e.size)===0)},me=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),ci(t)}};function ni(s){this._$AN!==void 0?(J(this),this._$AM=s,me(this)):this._$AM=s}function ai(s,t=!1,e=0){const i=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(i))for(let o=e;o<i.length;o++)I(i[o],!1),J(i[o]);else i!=null&&(I(i,!1),J(i));else I(this,s)}const ci=s=>{s.type==xt.CHILD&&(s._$AP??(s._$AP=ai),s._$AQ??(s._$AQ=ni))};class ye extends ve{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,i){super._$AT(t,e,i),me(this),this.isConnected=t._$AU}_$AO(t,e=!0){var i,r;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(r=this.disconnected)==null||r.call(this)),e&&(I(this,t),J(this))}setValue(t){if(oi(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}}const hi=new WeakMap;let Gt=0;const at=new Map,Yt=new WeakSet,Kt=()=>new Promise((s=>requestAnimationFrame(s))),li=[{transform:"translateX(100%) scale(0)",opacity:0}],Xt=(s,t)=>{const e=s-t;return e===0?void 0:e},Jt=(s,t)=>{const e=s/t;return e===1?void 0:e},ct={left:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateX(${e}px)`}},top:(s,t)=>{const e=Xt(s,t);return{value:e,transform:e==null||isNaN(e)?void 0:`translateY(${e}px)`}},width:(s,t)=>{let e;t===0&&(t=1,e={width:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleX(${i})`}},height:(s,t)=>{let e;t===0&&(t=1,e={height:"1px"});const i=Jt(s,t);return{value:i,overrideFrom:e,transform:i==null||isNaN(i)?void 0:`scaleY(${i})`}}},di={duration:333,easing:"ease-in-out"},ui=["left","top","width","height","opacity","color","background"],Qt=new WeakMap;class pi extends ye{constructor(t){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.");this.createFinished()}createFinished(){var t;(t=this.resolveFinished)==null||t.call(this),this.finished=new Promise((e=>{this.l=e}))}async resolveFinished(){var t;(t=this.l)==null||t.call(this),this.l=void 0}render(t){return u}getController(){return hi.get(this.u)}isDisabled(){var t;return this.options.disabled||((t=this.getController())==null?void 0:t.disabled)}update(t,[e]){var r;const i=this.u===void 0;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,Qt.set(this.element,this)),this.optionsOrCallback=e,(i||typeof e!="function")&&this.p(e),this.render(e)}p(t){t=t??{};const e=this.getController();e!==void 0&&((t={...e.defaultOptions,...t}).keyframeOptions={...e.defaultOptions.keyframeOptions,...t.keyframeOptions}),t.properties??(t.properties=ui),this.options=t}m(){const t={},e=this.element.getBoundingClientRect(),i=getComputedStyle(this.element);return this.options.properties.forEach((r=>{const o=e[r]??(ct[r]?void 0:i[r]),n=Number(o);t[r]=isNaN(n)?o+"":n})),t}v(){let t,e=!0;return this.options.guard&&(t=this.options.guard(),e=((i,r)=>{if(Array.isArray(i)){if(Array.isArray(r)&&r.length===i.length&&i.every(((o,n)=>o===r[n])))return!1}else if(r===i)return!1;return!0})(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}hostUpdate(){typeof this.optionsOrCallback=="function"&&this.p(this.optionsOrCallback()),this.v()&&(this.A=this.m(),this.i=this.i??this.element.parentNode,this.o=this.element.nextSibling)}async hostUpdated(){if(!this.h||!this.element.isConnected||this.options.skipInitial&&!this.isHostRendered)return;let t;this.prepare(),await Kt;const e=this.O(),i=this.j(this.options.keyframeOptions,e),r=this.m();if(this.A!==void 0){const{from:o,to:n}=this.N(this.A,r,e);this.log("measured",[this.A,r,o,n]),t=this.calculateKeyframes(o,n)}else{const o=at.get(this.options.inId);if(o){at.delete(this.options.inId);const{from:n,to:a}=this.N(o,r,e);t=this.calculateKeyframes(n,a),t=this.options.in?[{...this.options.in[0],...t[0]},...this.options.in.slice(1),t[1]]:t,Gt++,t.forEach((c=>c.zIndex=Gt))}else this.options.in&&(t=[...this.options.in,{}])}this.animate(t,i)}resetStyles(){this.P!==void 0&&(this.element.setAttribute("style",this.P??""),this.P=void 0)}commitStyles(){var t,e;this.P=this.element.getAttribute("style"),(t=this.webAnimation)==null||t.commitStyles(),(e=this.webAnimation)==null||e.cancel()}reconnected(){}async disconnected(){var e;if(!this.h||(this.options.id!==void 0&&at.set(this.options.id,this.A),this.options.out===void 0))return;if(this.prepare(),await Kt(),(e=this.i)==null?void 0:e.isConnected){const i=this.o&&this.o.parentNode===this.i?this.o:null;if(this.i.insertBefore(this.element,i),this.options.stabilizeOut){const r=this.m();this.log("stabilizing out");const o=this.A.left-r.left,n=this.A.top-r.top;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")}}const t=this.j(this.options.keyframeOptions);await this.animate(this.options.out,t),this.element.remove()}prepare(){this.createFinished()}start(){var t,e;(e=(t=this.options).onStart)==null||e.call(t,this)}didFinish(t){var e,i;t&&((i=(e=this.options).onComplete)==null||i.call(e,this)),this.A=void 0,this.animatingProperties=void 0,this.frames=void 0,this.resolveFinished()}O(){const t=[];for(let e=this.element.parentNode;e;e=e==null?void 0:e.parentNode){const i=Qt.get(e);i&&!i.isDisabled()&&i&&t.push(i)}return t}get isHostRendered(){const t=Yt.has(this.u);return t||this.u.updateComplete.then((()=>{Yt.add(this.u)})),t}j(t,e=this.O()){const i={...di};return e.forEach((r=>Object.assign(i,r.options.keyframeOptions))),Object.assign(i,t),i}N(t,e,i){t={...t},e={...e};const r=i.map((a=>a.animatingProperties)).filter((a=>a!==void 0));let o=1,n=1;return r.length>0&&(r.forEach((a=>{a.width&&(o/=a.width),a.height&&(n/=a.height)})),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}}calculateKeyframes(t,e,i=!1){const r={},o={};let n=!1;const a={};for(const c in e){const h=t[c],l=e[c];if(c in ct){const d=ct[c];if(h===void 0||l===void 0)continue;const p=d(h,l);p.transform!==void 0&&(a[c]=p.value,n=!0,r.transform=`${r.transform??""} ${p.transform}`,p.overrideFrom!==void 0&&Object.assign(r,p.overrideFrom))}else h!==l&&h!==void 0&&l!==void 0&&(n=!0,r[c]=h,o[c]=l)}return r.transformOrigin=o.transformOrigin=i?"center center":"top left",this.animatingProperties=a,n?[r,o]:void 0}async animate(t,e=this.options.keyframeOptions){this.start(),this.frames=t;let i=!1;if(!this.isAnimating()&&!this.isDisabled()&&(this.options.onFrames&&(this.frames=t=this.options.onFrames(this),this.log("modified frames",t)),t!==void 0)){this.log("animate",[t,e]),i=!0,this.webAnimation=this.element.animate(t,e);const r=this.getController();r==null||r.add(this);try{await this.webAnimation.finished}catch{}r==null||r.remove(this)}return this.didFinish(i),i}isAnimating(){var t,e;return((t=this.webAnimation)==null?void 0:t.playState)==="running"||((e=this.webAnimation)==null?void 0:e.pending)}log(t,e){this.shouldLog&&!this.isDisabled()&&console.log(t,this.options.id,e)}}const fi=Ct(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>'};/**
58
58
  * @license
59
59
  * Copyright 2018 Google LLC
60
60
  * SPDX-License-Identifier: BSD-3-Clause
61
- */const te=At(class extends ve{constructor(s){var t;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.")}render(s){return" "+Object.keys(s).filter((t=>s[t])).join(" ")+" "}update(s,[t]){var i,r;if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((o=>o!==""))));for(const o in t)t[o]&&!((i=this.nt)!=null&&i.has(o))&&this.st.add(o);return this.render(t)}const e=s.element.classList;for(const o of this.st)o in t||(e.remove(o),this.st.delete(o));for(const o in t){const n=!!t[o];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)))}return O}}),y=(s,t,e)=>{s&&e.style.setProperty(t,s)},be=(s,t)=>{var e,i,r,o,n,a,c,h,l;y((e=s.colors)==null?void 0:e.primaryBackground,"--primary-background",t),y((i=s.colors)==null?void 0:i.textOnPrimaryBackground,"--text-on-primary-background",t),y((r=s.colors)==null?void 0:r.secondaryBackground,"--secondary-background",t),y((o=s.colors)==null?void 0:o.textOnSecondaryBackground,"--text-on-secondary-background",t),y((n=s.colors)==null?void 0:n.interactiveDestructiveBackground,"--destructive-color",t),y((a=s.colors)==null?void 0:a.interactiveTextOnDestructiveBackground,"--text-on-destructive-color",t),y((c=s.colors)==null?void 0:c.interactivePrimaryBackground,"--interactive-primary-background",t),y((h=s.colors)==null?void 0:h.interactiveTextOnPrimaryBackground,"--interactive-text-on-primary-background",t),y((l=s.colors)==null?void 0:l.focusColor,"--focus-color",t)};/**
61
+ */const te=Ct(class extends ve{constructor(s){var t;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.")}render(s){return" "+Object.keys(s).filter((t=>s[t])).join(" ")+" "}update(s,[t]){var i,r;if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((o=>o!==""))));for(const o in t)t[o]&&!((i=this.nt)!=null&&i.has(o))&&this.st.add(o);return this.render(t)}const e=s.element.classList;for(const o of this.st)o in t||(e.remove(o),this.st.delete(o));for(const o in t){const n=!!t[o];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)))}return O}}),y=(s,t,e)=>{s&&e.style.setProperty(t,s)},be=(s,t)=>{var e,i,r,o,n,a,c,h,l;y((e=s.colors)==null?void 0:e.primaryBackground,"--primary-background",t),y((i=s.colors)==null?void 0:i.textOnPrimaryBackground,"--text-on-primary-background",t),y((r=s.colors)==null?void 0:r.secondaryBackground,"--secondary-background",t),y((o=s.colors)==null?void 0:o.textOnSecondaryBackground,"--text-on-secondary-background",t),y((n=s.colors)==null?void 0:n.interactiveDestructiveBackground,"--destructive-color",t),y((a=s.colors)==null?void 0:a.interactiveTextOnDestructiveBackground,"--text-on-destructive-color",t),y((c=s.colors)==null?void 0:c.interactivePrimaryBackground,"--interactive-primary-background",t),y((h=s.colors)==null?void 0:h.interactiveTextOnPrimaryBackground,"--interactive-text-on-primary-background",t),y((l=s.colors)==null?void 0:l.focusColor,"--focus-color",t)};/**
62
62
  * @license
63
63
  * Copyright 2020 Google LLC
64
64
  * SPDX-License-Identifier: BSD-3-Clause
65
- */const $e=()=>new vi;class vi{}const ht=new WeakMap,_e=At(class extends ye{render(s){return u}update(s,[t]){var i;const e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=(i=s.options)==null?void 0:i.host,this.rt(this.ct=s.element)),u}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){const t=this.ht??globalThis;let e=ht.get(t);e===void 0&&(e=new WeakMap,ht.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){var s,t;return typeof this.G=="function"?(s=ht.get(this.ht??globalThis))==null?void 0:s.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var mi=Object.defineProperty,Z=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&mi(t,e,r),r};const Pt=class Pt extends m{constructor(){super(...arguments),this.active=!1,this.triggerVisible=!0,this.loaded=!1,this.containerRef=$e(),this.widgetActive$=new ce(!1),this.componentIsDestroyed$=new yt}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding()}disconnectedCallback(){super.disconnectedCallback(),this.componentIsDestroyed$.next(),this.componentIsDestroyed$.complete()}toggleActive(){var t;if(!((t=this.application)!=null&&t.root)){console.warn("Could not activate widget. No root element assigned to widget.");return}this.active=!this.active,this.active?(this.application.appendToDOM(),this.notify("widget-set-active",{widgetId:this.application.id,active:!0}),this.widgetActive$.next(!0),this.hideTrigger()):(this.application.hide(),this.notify("widget-set-active",{widgetId:this.application.id,active:!1}),this.widgetActive$.next(!1),this.showTrigger())}notify(t,e={}){window!=null&&window.parent&&window.parent.postMessage({type:t,data:e},"*")}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&be(this.application.settings.branding,this)}async _renderSymbol(){var a,c,h;const t=(a=this.application)==null?void 0:a.branding(),e=(c=t==null?void 0:t.graphics)==null?void 0:c.trigger;if(e)return C` <img src=${e} class="trigger-icon" alt="" /> `;const i=(h=this.application)==null?void 0:h.triggerIcon;if(!i)return u;const r=async l=>gi,{type:o,content:n}=i;switch(o){case"Telia":{const l=await r();return l?C`<telia-icon
65
+ */const $e=()=>new vi;class vi{}const ht=new WeakMap,_e=Ct(class extends ye{render(s){return u}update(s,[t]){var i;const e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=(i=s.options)==null?void 0:i.host,this.rt(this.ct=s.element)),u}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){const t=this.ht??globalThis;let e=ht.get(t);e===void 0&&(e=new WeakMap,ht.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){var s,t;return typeof this.G=="function"?(s=ht.get(this.ht??globalThis))==null?void 0:s.get(this.G):(t=this.G)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var mi=Object.defineProperty,Z=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&mi(t,e,r),r};const Pt=class Pt extends m{constructor(){super(...arguments),this.active=!1,this.triggerVisible=!0,this.loaded=!1,this.containerRef=$e(),this.widgetActive$=new ce(!1),this.componentIsDestroyed$=new yt}async connectedCallback(){super.connectedCallback(),this.icon=await this._renderSymbol(),this.loaded=!0,this._applyBranding()}disconnectedCallback(){super.disconnectedCallback(),this.componentIsDestroyed$.next(),this.componentIsDestroyed$.complete()}toggleActive(){var t;if(!((t=this.application)!=null&&t.root)){console.warn("Could not activate widget. No root element assigned to widget.");return}this.active=!this.active,this.active?(this.application.appendToDOM(),this.notify("widget-set-active",{widgetId:this.application.id,active:!0}),this.widgetActive$.next(!0),this.hideTrigger()):(this.application.hide(),this.notify("widget-set-active",{widgetId:this.application.id,active:!1}),this.widgetActive$.next(!1),this.showTrigger())}notify(t,e={}){window!=null&&window.parent&&window.parent.postMessage({type:t,data:e},"*")}_applyBranding(){var t;(t=this.application)!=null&&t.settings&&be(this.application.settings.branding,this)}async _renderSymbol(){var a,c,h;const t=(a=this.application)==null?void 0:a.branding(),e=(c=t==null?void 0:t.graphics)==null?void 0:c.trigger;if(e)return A` <img src=${e} class="trigger-icon" alt="" /> `;const i=(h=this.application)==null?void 0:h.triggerIcon;if(!i)return u;const r=async l=>gi,{type:o,content:n}=i;switch(o){case"Telia":{const l=await r();return l?A`<telia-icon
66
66
  class="trigger-icon"
67
67
  svg=${l.svg}
68
68
  size="lg"
69
- ></telia-icon>`:u}default:return u}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,i,r,o,n,a;return C`<div
70
- class=${te({"trigger-container":!0,hidden:!this.triggerVisible})}
69
+ ></telia-icon>`:u}default:return u}}hideTrigger(){this.triggerVisible=!1}showTrigger(){this.triggerVisible=!0}render(){var t,e,i,r,o,n,a;return A`<div
70
+ class=${te({"trigger-container":!0,"ace-hidden":!this.triggerVisible})}
71
71
  ${_e(this.containerRef)}
72
72
  >
73
- ${!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`
73
+ ${!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)?A`
74
74
  <button
75
75
  type="button"
76
76
  aria-label="${this.application.settings.branding.other.buttonLabelText??"Widget trigger"}"
@@ -137,7 +137,7 @@
137
137
  gap: 1rem;
138
138
  }
139
139
 
140
- .trigger-container.hidden {
140
+ .trigger-container.ace-hidden {
141
141
  display: none;
142
142
  }
143
143
 
@@ -246,7 +246,7 @@
246
246
  .trigger-label:hover {
247
247
  opacity: 0.8;
248
248
  }
249
- `];let $=Pt;Z([g({attribute:!1})],$.prototype,"application");Z([R()],$.prototype,"active");Z([R()],$.prototype,"triggerVisible");Z([R()],$.prototype,"loaded");Z([R()],$.prototype,"icon");var yi=Object.defineProperty,A=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&yi(t,e,r),r};const we=s=>{const e=class e extends s{constructor(){super(...arguments),this.properties={},this.context={},this.layout={},this.nodes=[]}writeProperties(r){this.properties=r}writeLayout(r){this.layout=r}writeContext(r){this.context=r}addChild(r){r.parent=this,this.nodes.push(r)}connectedCallback(){super.connectedCallback(),this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`),this.application.mountComponent(this)}};e.styles=[k`
249
+ `];let $=Pt;Z([g({attribute:!1})],$.prototype,"application");Z([R()],$.prototype,"active");Z([R()],$.prototype,"triggerVisible");Z([R()],$.prototype,"loaded");Z([R()],$.prototype,"icon");var yi=Object.defineProperty,C=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&yi(t,e,r),r};const we=s=>{const e=class e extends s{constructor(){super(...arguments),this.properties={},this.context={},this.layout={},this.nodes=[]}writeProperties(r){this.properties=r}writeLayout(r){this.layout=r}writeContext(r){this.context=r}addChild(r){r.parent=this,this.nodes.push(r)}connectedCallback(){super.connectedCallback(),this.renderRoot.host.style.setProperty("--width",this.layout.size==="full"?"var(--columns, 1)":`min(${this.layout.size||"var(--columns)"}, var(--columns))`),this.application.mountComponent(this)}};e.styles=[k`
250
250
  :host {
251
251
  font-family: var(--font-family);
252
252
  grid-column: span var(--width);
@@ -258,7 +258,7 @@
258
258
  * {
259
259
  box-sizing: border-box;
260
260
  }
261
- `];let t=e;return A([g()],t.prototype,"properties"),A([g()],t.prototype,"context"),A([g()],t.prototype,"layout"),A([g()],t.prototype,"name"),A([g()],t.prototype,"type"),A([g({attribute:!1})],t.prototype,"application"),A([g({attribute:!1})],t.prototype,"parent"),t},Ot=class Ot extends we(m){render(){return C`Non resolved component`}};Ot.styles=[k`
261
+ `];let t=e;return C([g()],t.prototype,"properties"),C([g()],t.prototype,"context"),C([g()],t.prototype,"layout"),C([g()],t.prototype,"name"),C([g()],t.prototype,"type"),C([g({attribute:!1})],t.prototype,"application"),C([g({attribute:!1})],t.prototype,"parent"),t},Ot=class Ot extends we(m){render(){return A`Non resolved component`}};Ot.styles=[k`
262
262
  :host {
263
263
  display: block;
264
264
  }
@@ -266,7 +266,7 @@
266
266
  * @license
267
267
  * Copyright 2021 Google LLC
268
268
  * SPDX-License-Identifier: BSD-3-Clause
269
- */function*bi(s,t){if(s!==void 0){let e=0;for(const i of s)yield t(i,e++)}}var Ct=(s=>(s.Inline="inline",s.Trigger="trigger",s))(Ct||{});/**
269
+ */function*bi(s,t){if(s!==void 0){let e=0;for(const i of s)yield t(i,e++)}}var At=(s=>(s.Inline="inline",s.Trigger="trigger",s))(At||{});/**
270
270
  * @license
271
271
  * Copyright 2021 Google LLC
272
272
  * SPDX-License-Identifier: BSD-3-Clause
@@ -286,7 +286,7 @@
286
286
  * @license
287
287
  * Copyright 2017 Google LLC
288
288
  * SPDX-License-Identifier: BSD-3-Clause
289
- */function xi({context:s}){return(t,e)=>{const i=new WeakMap;if(typeof e=="object")return{get(){return t.get.call(this)},set(r){return i.get(this).setValue(r),t.set.call(this,r)},init(r){return i.set(this,new ee(this,{context:s,initialValue:r})),r}};{t.constructor.addInitializer((n=>{i.set(n,new ee(n,{context:s}))}));const r=Object.getOwnPropertyDescriptor(t,e);let o;if(r===void 0){const n=new WeakMap;o={get(){return n.get(this)},set(a){i.get(this).setValue(a),n.set(this,a)},configurable:!0,enumerable:!0}}else{const n=r.set;o={...r,set(a){i.get(this).setValue(a),n==null||n.call(this,a)}}}return void Object.defineProperty(t,e,o)}}}var Ai=Object.defineProperty,xe=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&Ai(t,e,r),r};const Ci="application",kt=class kt extends m{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=$e(),this.fullscreen=!1,this.isReady=new ce(!1)}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&be(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([i,r])=>{e.style.setProperty(`--${i}`,r)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){var i,r;const t=this.application.settings.components.conversation;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===Ct.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)}>
289
+ */function xi({context:s}){return(t,e)=>{const i=new WeakMap;if(typeof e=="object")return{get(){return t.get.call(this)},set(r){return i.get(this).setValue(r),t.set.call(this,r)},init(r){return i.set(this,new ee(this,{context:s,initialValue:r})),r}};{t.constructor.addInitializer((n=>{i.set(n,new ee(n,{context:s}))}));const r=Object.getOwnPropertyDescriptor(t,e);let o;if(r===void 0){const n=new WeakMap;o={get(){return n.get(this)},set(a){i.get(this).setValue(a),n.set(this,a)},configurable:!0,enumerable:!0}}else{const n=r.set;o={...r,set(a){i.get(this).setValue(a),n==null||n.call(this,a)}}}return void Object.defineProperty(t,e,o)}}}var Ci=Object.defineProperty,xe=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&Ci(t,e,r),r};const Ai="application",kt=class kt extends m{constructor(){super(...arguments),this.nodes=[],this.wrapperRef=$e(),this.fullscreen=!1,this.isReady=new ce(!1)}addChild(t){t.parent=this,this.nodes.push(t)}applyBranding(){if(!this.wrapperRef.value)return;const t=this.application.settings;t!=null&&t.branding&&be(t.branding,this.wrapperRef.value)}applyStyles(){if(!this.wrapperRef.value)return;const t=this.application.styles(),e=this.wrapperRef.value;Object.entries(t).forEach(([i,r])=>{e.style.setProperty(`--${i}`,r)})}firstUpdated(t){this.applyBranding(),this.applyStyles()}render(){var e,i,r;return((r=(i=(e=this.application.settings)==null?void 0:e.agentConfig)==null?void 0:i.live)==null?void 0:r.isThirdPartyWidget)??!1?this.renderRoot.host.classList.add("third-party"):this.application.renderStrategy===At.Trigger&&(this.renderRoot.host.classList.add("floating"),this.application.anchor==="BottomLeft"?this.renderRoot.host.classList.add("bottom-left"):this.application.anchor==="BottomRight"&&this.renderRoot.host.classList.add("bottom-right")),this.application.fullscreen&&this.renderRoot.host.classList.add("fullscreen"),window.self!==window.top&&this.renderRoot.host.classList.add("embedded"),A`<div class="widget-container" ${_e(this.wrapperRef)}>
290
290
  ${bi(this.nodes,o=>o)}
291
291
  </div>`}};kt.styles=k`
292
292
  :host {
@@ -438,22 +438,22 @@
438
438
  }
439
439
  }
440
440
 
441
- :host(.expanded) {
441
+ :host(.ace-expanded) {
442
442
  opacity: 1;
443
443
  animation: slideUp 0.3s linear;
444
444
  }
445
445
 
446
- :host(.hidden) {
446
+ :host(.ace-hidden) {
447
447
  opacity: 0;
448
448
  animation: slideDown 0.3s linear;
449
449
  pointer-events: none;
450
450
  }
451
451
 
452
- :host(.hidden.embedded),
453
- :host(.expanded.embedded) {
452
+ :host(.ace-hidden.embedded),
453
+ :host(.ace-expanded.embedded) {
454
454
  animation: none;
455
455
  }
456
- `;let F=kt;xe([g({attribute:!0})],F.prototype,"fullscreen");xe([g({attribute:!1}),xi({context:Ci})],F.prototype,"application");var Ei=Object.defineProperty,Et=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&Ei(t,e,r),r};const Tt=class Tt extends m{constructor(){super(),this.status="deactivated",this.addEventListener("environment-created",this.onEnvironmentCreated)}async connectedCallback(){super.connectedCallback(),await this.getGlobalEnvironment()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("environment-created",this.onEnvironmentCreated)}async onEnvironmentCreated(t){this.widget=t.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const t=globalThis.widgets;t&&(this.widget=t.applications.find(e=>e.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return u;if(this.widget.renderStrategy===Ct.Trigger){const t=new $;return t.application=this.widget,t}return this.widget.render()}};Tt.styles=[k`
456
+ `;let F=kt;xe([g({attribute:!0})],F.prototype,"fullscreen");xe([g({attribute:!1}),xi({context:Ai})],F.prototype,"application");var Ei=Object.defineProperty,Et=(s,t,e,i)=>{for(var r=void 0,o=s.length-1,n;o>=0;o--)(n=s[o])&&(r=n(t,e,r)||r);return r&&Ei(t,e,r),r};const Tt=class Tt extends m{constructor(){super(),this.status="deactivated",this.addEventListener("environment-created",this.onEnvironmentCreated)}async connectedCallback(){super.connectedCallback(),await this.getGlobalEnvironment()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("environment-created",this.onEnvironmentCreated)}async onEnvironmentCreated(t){this.widget=t.detail.widget,await this.activate(),this.requestUpdate()}async activate(){this.widget&&(await this.widget.activate(),this.status="activated")}async getGlobalEnvironment(){const t=globalThis.widgets;t&&(this.widget=t.applications.find(e=>e.name===this.name),await this.activate())}render(){if(!this.widget||this.status!=="activated")return u;if(this.widget.renderStrategy===At.Trigger){const t=new $;return t.application=this.widget,t}return this.widget.render()}};Tt.styles=[k`
457
457
  :host {
458
458
  display: block;
459
459
  }
@@ -475,7 +475,7 @@
475
475
  <clipPath id="clip0_119_1665">
476
476
  <rect width="30.5068" height="32.0011" fill="white"/>
477
477
  </clipPath>
478
- </defs>`,ie=we(m),Mt=class Mt extends ie{render(){var e;return(e=this.application.branding().other)!=null&&e.whiteLabel?u:C` <div class="copyright">
478
+ </defs>`,ie=we(m),Mt=class Mt extends ie{render(){var e;return(e=this.application.branding().other)!=null&&e.whiteLabel?u:A` <div class="copyright">
479
479
  <a
480
480
  aria-label="Powered by Telia ACE"
481
481
  href="https://ace-showcase.com"
package/copyright.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { LitElement, nothing } from 'lit';
1
+ import { LitElement, nothing, CSSResultGroup, TemplateResult } from 'lit';
2
2
  declare const WidgetElement: (new (...args: any[]) => import('../../core/src/index.ts').WidgetComponentType) & typeof LitElement;
3
3
  export declare class Copyright extends WidgetElement {
4
- static styles: import('lit').CSSResultGroup[];
5
- render(): typeof nothing | import('lit-html').TemplateResult<1>;
4
+ static styles: CSSResultGroup;
5
+ render(): TemplateResult | typeof nothing;
6
6
  }
7
7
  export default Copyright;
package/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-CbKrN8bA.js")))};module.exports=o;
1
+ "use strict";const o=async e=>{e.registerComponent("copyright",Promise.resolve().then(()=>require("./copyright-DRAdJzoX.js")))};module.exports=o;
package/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  const t = async (o) => {
2
- o.registerComponent("copyright", import("./copyright-Ci2H7tL3.mjs"));
2
+ o.registerComponent("copyright", import("./copyright-CMaV9Epm.mjs"));
3
3
  };
4
4
  export {
5
5
  t as default
package/logo.d.ts CHANGED
@@ -1 +1,2 @@
1
- export declare const logo: import('lit-html').TemplateResult<2>;
1
+ import { SVGTemplateResult } from 'lit';
2
+ export declare const logo: SVGTemplateResult;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-components-copyright-flamingo",
3
- "version": "1.1.123-rc.9",
3
+ "version": "1.1.123",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.123-rc.9"
6
+ "@telia-ace/widget-core-flamingo": "1.1.123"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",