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

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);
@@ -2182,19 +2182,19 @@ Ot.styles = k`
2182
2182
  }
2183
2183
  }
2184
2184
 
2185
- :host(.expanded) {
2185
+ :host(.ace-expanded) {
2186
2186
  opacity: 1;
2187
2187
  animation: slideUp 0.3s linear;
2188
2188
  }
2189
2189
 
2190
- :host(.hidden) {
2190
+ :host(.ace-hidden) {
2191
2191
  opacity: 0;
2192
2192
  animation: slideDown 0.3s linear;
2193
2193
  pointer-events: none;
2194
2194
  }
2195
2195
 
2196
- :host(.hidden.embedded),
2197
- :host(.expanded.embedded) {
2196
+ :host(.ace-hidden.embedded),
2197
+ :host(.ace-expanded.embedded) {
2198
2198
  animation: none;
2199
2199
  }
2200
2200
  `;
@@ -67,7 +67,7 @@
67
67
  svg=${l.svg}
68
68
  size="lg"
69
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})}
70
+ class=${te({"trigger-container":!0,"ace-hidden":!this.triggerVisible})}
71
71
  ${_e(this.containerRef)}
72
72
  >
73
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`
@@ -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
 
@@ -438,19 +438,19 @@
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
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`
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-CnG_NSBL.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-Ck6dQTyP.mjs"));
3
3
  };
4
4
  export {
5
5
  t as default
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.24",
3
+ "version": "1.1.123-rc.25",
4
4
  "dependencies": {
5
5
  "lit": "^3.0.2",
6
- "@telia-ace/widget-core-flamingo": "1.1.123-rc.24"
6
+ "@telia-ace/widget-core-flamingo": "1.1.123-rc.25"
7
7
  },
8
8
  "main": "./index.js",
9
9
  "module": "./index.mjs",