@telia-ace/widget-core-flamingo 1.1.70-rc.10 → 1.1.70-rc.12

Sign up to get free protection for your applications and to get access to all the features.
package/index.mjs CHANGED
@@ -6,7 +6,7 @@ var ft = function(s, t) {
6
6
  Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
7
7
  }, ft(s, t);
8
8
  };
9
- function B(s, t) {
9
+ function D(s, t) {
10
10
  if (typeof t != "function" && t !== null)
11
11
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
12
12
  ft(s, t);
@@ -56,13 +56,13 @@ function G(s, t, e) {
56
56
  function b(s) {
57
57
  return typeof s == "function";
58
58
  }
59
- function Zt(s) {
59
+ function Jt(s) {
60
60
  var t = function(i) {
61
61
  Error.call(i), i.stack = new Error().stack;
62
62
  }, e = s(t);
63
63
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
64
64
  }
65
- var nt = Zt(function(s) {
65
+ var nt = Jt(function(s) {
66
66
  return function(e) {
67
67
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
68
68
  ` + e.map(function(i, r) {
@@ -116,10 +116,10 @@ var tt = function() {
116
116
  if (p) {
117
117
  this._finalizers = null;
118
118
  try {
119
- for (var f = gt(p), d = f.next(); !d.done; d = f.next()) {
120
- var g = d.value;
119
+ for (var f = gt(p), u = f.next(); !u.done; u = f.next()) {
120
+ var g = u.value;
121
121
  try {
122
- St(g);
122
+ Et(g);
123
123
  } catch (v) {
124
124
  n = n ?? [], v instanceof nt ? n = G(G([], K(n)), K(v.errors)) : n.push(v);
125
125
  }
@@ -128,7 +128,7 @@ var tt = function() {
128
128
  i = { error: v };
129
129
  } finally {
130
130
  try {
131
- d && !d.done && (r = f.return) && r.call(f);
131
+ u && !u.done && (r = f.return) && r.call(f);
132
132
  } finally {
133
133
  if (i)
134
134
  throw i.error;
@@ -142,7 +142,7 @@ var tt = function() {
142
142
  var e;
143
143
  if (t && t !== this)
144
144
  if (this.closed)
145
- St(t);
145
+ Et(t);
146
146
  else {
147
147
  if (t instanceof s) {
148
148
  if (t.closed || t._hasParent(this))
@@ -167,14 +167,14 @@ var tt = function() {
167
167
  var t = new s();
168
168
  return t.closed = !0, t;
169
169
  }(), s;
170
- }(), Jt = tt.EMPTY;
171
- function Xt(s) {
170
+ }(), Xt = tt.EMPTY;
171
+ function Qt(s) {
172
172
  return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
173
173
  }
174
- function St(s) {
174
+ function Et(s) {
175
175
  b(s) ? s() : s.unsubscribe();
176
176
  }
177
- var Qt = {
177
+ var te = {
178
178
  onUnhandledError: null,
179
179
  onStoppedNotification: null,
180
180
  Promise: void 0,
@@ -193,21 +193,21 @@ var Qt = {
193
193
  },
194
194
  delegate: void 0
195
195
  };
196
- function ye(s) {
196
+ function be(s) {
197
197
  vt.setTimeout(function() {
198
198
  throw s;
199
199
  });
200
200
  }
201
- function Et() {
201
+ function Pt() {
202
202
  }
203
203
  function V(s) {
204
204
  s();
205
205
  }
206
- var te = function(s) {
207
- B(t, s);
206
+ var ee = function(s) {
207
+ D(t, s);
208
208
  function t(e) {
209
209
  var i = s.call(this) || this;
210
- return i.isStopped = !1, e ? (i.destination = e, Xt(e) && e.add(i)) : i.destination = we, i;
210
+ return i.isStopped = !1, e ? (i.destination = e, Qt(e) && e.add(i)) : i.destination = Ae, i;
211
211
  }
212
212
  return t.create = function(e, i, r) {
213
213
  return new yt(e, i, r);
@@ -234,11 +234,11 @@ var te = function(s) {
234
234
  this.unsubscribe();
235
235
  }
236
236
  }, t;
237
- }(tt), be = Function.prototype.bind;
237
+ }(tt), $e = Function.prototype.bind;
238
238
  function ot(s, t) {
239
- return be.call(s, t);
239
+ return $e.call(s, t);
240
240
  }
241
- var $e = function() {
241
+ var _e = function() {
242
242
  function s(t) {
243
243
  this.partialObserver = t;
244
244
  }
@@ -270,7 +270,7 @@ var $e = function() {
270
270
  }
271
271
  }, s;
272
272
  }(), yt = function(s) {
273
- B(t, s);
273
+ D(t, s);
274
274
  function t(e, i, r) {
275
275
  var n = s.call(this) || this, o;
276
276
  if (b(e) || !e)
@@ -281,7 +281,7 @@ var $e = function() {
281
281
  };
282
282
  else {
283
283
  var a;
284
- n && Qt.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
284
+ n && te.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
285
285
  return n.unsubscribe();
286
286
  }, o = {
287
287
  next: e.next && ot(e.next, a),
@@ -289,35 +289,35 @@ var $e = function() {
289
289
  complete: e.complete && ot(e.complete, a)
290
290
  }) : o = e;
291
291
  }
292
- return n.destination = new $e(o), n;
292
+ return n.destination = new _e(o), n;
293
293
  }
294
294
  return t;
295
- }(te);
295
+ }(ee);
296
296
  function F(s) {
297
- ye(s);
297
+ be(s);
298
298
  }
299
- function _e(s) {
299
+ function we(s) {
300
300
  throw s;
301
301
  }
302
- var we = {
302
+ var Ae = {
303
303
  closed: !0,
304
- next: Et,
305
- error: _e,
306
- complete: Et
307
- }, Ae = function() {
304
+ next: Pt,
305
+ error: we,
306
+ complete: Pt
307
+ }, xe = function() {
308
308
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
309
309
  }();
310
- function xe(s) {
310
+ function Ce(s) {
311
311
  return s;
312
312
  }
313
- function Ce(s) {
314
- return s.length === 0 ? xe : s.length === 1 ? s[0] : function(e) {
313
+ function Se(s) {
314
+ return s.length === 0 ? Ce : s.length === 1 ? s[0] : function(e) {
315
315
  return s.reduce(function(i, r) {
316
316
  return r(i);
317
317
  }, e);
318
318
  };
319
319
  }
320
- var Pt = function() {
320
+ var Ot = function() {
321
321
  function s(t) {
322
322
  t && (this._subscribe = t);
323
323
  }
@@ -325,7 +325,7 @@ var Pt = function() {
325
325
  var e = new s();
326
326
  return e.source = this, e.operator = t, e;
327
327
  }, s.prototype.subscribe = function(t, e, i) {
328
- var r = this, n = Ee(t) ? t : new yt(t, e, i);
328
+ var r = this, n = Pe(t) ? t : new yt(t, e, i);
329
329
  return V(function() {
330
330
  var o = r, a = o.operator, c = o.source;
331
331
  n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
@@ -338,7 +338,7 @@ var Pt = function() {
338
338
  }
339
339
  }, s.prototype.forEach = function(t, e) {
340
340
  var i = this;
341
- return e = Ot(e), new e(function(r, n) {
341
+ return e = Tt(e), new e(function(r, n) {
342
342
  var o = new yt({
343
343
  next: function(a) {
344
344
  try {
@@ -355,15 +355,15 @@ var Pt = function() {
355
355
  }, s.prototype._subscribe = function(t) {
356
356
  var e;
357
357
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
358
- }, s.prototype[Ae] = function() {
358
+ }, s.prototype[xe] = function() {
359
359
  return this;
360
360
  }, s.prototype.pipe = function() {
361
361
  for (var t = [], e = 0; e < arguments.length; e++)
362
362
  t[e] = arguments[e];
363
- return Ce(t)(this);
363
+ return Se(t)(this);
364
364
  }, s.prototype.toPromise = function(t) {
365
365
  var e = this;
366
- return t = Ot(t), new t(function(i, r) {
366
+ return t = Tt(t), new t(function(i, r) {
367
367
  var n;
368
368
  e.subscribe(function(o) {
369
369
  return n = o;
@@ -377,32 +377,32 @@ var Pt = function() {
377
377
  return new s(t);
378
378
  }, s;
379
379
  }();
380
- function Ot(s) {
380
+ function Tt(s) {
381
381
  var t;
382
- return (t = s ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
382
+ return (t = s ?? te.Promise) !== null && t !== void 0 ? t : Promise;
383
383
  }
384
- function Se(s) {
384
+ function Ee(s) {
385
385
  return s && b(s.next) && b(s.error) && b(s.complete);
386
386
  }
387
- function Ee(s) {
388
- return s && s instanceof te || Se(s) && Xt(s);
387
+ function Pe(s) {
388
+ return s && s instanceof ee || Ee(s) && Qt(s);
389
389
  }
390
- var Pe = Zt(function(s) {
390
+ var Oe = Jt(function(s) {
391
391
  return function() {
392
392
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
393
393
  };
394
- }), ee = function(s) {
395
- B(t, s);
394
+ }), bt = function(s) {
395
+ D(t, s);
396
396
  function t() {
397
397
  var e = s.call(this) || this;
398
398
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
399
399
  }
400
400
  return t.prototype.lift = function(e) {
401
- var i = new Tt(this, this);
401
+ var i = new Rt(this, this);
402
402
  return i.operator = e, i;
403
403
  }, t.prototype._throwIfClosed = function() {
404
404
  if (this.closed)
405
- throw new Pe();
405
+ throw new Oe();
406
406
  }, t.prototype.next = function(e) {
407
407
  var i = this;
408
408
  V(function() {
@@ -459,20 +459,20 @@ var Pe = Zt(function(s) {
459
459
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
460
460
  }, t.prototype._innerSubscribe = function(e) {
461
461
  var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
462
- return n || o ? Jt : (this.currentObservers = null, a.push(e), new tt(function() {
462
+ return n || o ? Xt : (this.currentObservers = null, a.push(e), new tt(function() {
463
463
  i.currentObservers = null, mt(a, e);
464
464
  }));
465
465
  }, t.prototype._checkFinalizedStatuses = function(e) {
466
466
  var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
467
467
  r ? e.error(n) : o && e.complete();
468
468
  }, t.prototype.asObservable = function() {
469
- var e = new Pt();
469
+ var e = new Ot();
470
470
  return e.source = this, e;
471
471
  }, t.create = function(e, i) {
472
- return new Tt(e, i);
472
+ return new Rt(e, i);
473
473
  }, t;
474
- }(Pt), Tt = function(s) {
475
- B(t, s);
474
+ }(Ot), Rt = function(s) {
475
+ D(t, s);
476
476
  function t(e, i) {
477
477
  var r = s.call(this) || this;
478
478
  return r.destination = e, r.source = i, r;
@@ -488,10 +488,10 @@ var Pe = Zt(function(s) {
488
488
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
489
489
  }, t.prototype._subscribe = function(e) {
490
490
  var i, r;
491
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : Jt;
491
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : Xt;
492
492
  }, t;
493
- }(ee), Oe = function(s) {
494
- B(t, s);
493
+ }(bt), ie = function(s) {
494
+ D(t, s);
495
495
  function t(e) {
496
496
  var i = s.call(this) || this;
497
497
  return i._value = e, i;
@@ -513,10 +513,10 @@ var Pe = Zt(function(s) {
513
513
  }, t.prototype.next = function(e) {
514
514
  s.prototype.next.call(this, this._value = e);
515
515
  }, t;
516
- }(ee), ie = /* @__PURE__ */ ((s) => (s.Loading = "loading", s.Ready = "ready", s))(ie || {});
517
- class Rt {
516
+ }(bt), se = /* @__PURE__ */ ((s) => (s.Loading = "loading", s.Ready = "ready", s))(se || {});
517
+ class It {
518
518
  constructor(t, e) {
519
- this.state = new Oe(
519
+ this.state = new ie(
520
520
  "loading"
521
521
  /* Loading */
522
522
  ), this.resolvers = /* @__PURE__ */ new Map(), this.name = t, this.environment = e, this.state.next(
@@ -539,17 +539,17 @@ class Rt {
539
539
  * Copyright 2019 Google LLC
540
540
  * SPDX-License-Identifier: BSD-3-Clause
541
541
  */
542
- const q = globalThis, bt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $t = Symbol(), Ut = /* @__PURE__ */ new WeakMap();
543
- let se = class {
542
+ const q = globalThis, $t = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Ut = /* @__PURE__ */ new WeakMap();
543
+ let re = class {
544
544
  constructor(t, e, i) {
545
- if (this._$cssResult$ = !0, i !== $t)
545
+ if (this._$cssResult$ = !0, i !== _t)
546
546
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
547
547
  this.cssText = t, this.t = e;
548
548
  }
549
549
  get styleSheet() {
550
550
  let t = this.o;
551
551
  const e = this.t;
552
- if (bt && t === void 0) {
552
+ if ($t && t === void 0) {
553
553
  const i = e !== void 0 && e.length === 1;
554
554
  i && (t = Ut.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ut.set(e, t));
555
555
  }
@@ -559,7 +559,7 @@ let se = class {
559
559
  return this.cssText;
560
560
  }
561
561
  };
562
- const Te = (s) => new se(typeof s == "string" ? s : s + "", void 0, $t), U = (s, ...t) => {
562
+ const Te = (s) => new re(typeof s == "string" ? s : s + "", void 0, _t), I = (s, ...t) => {
563
563
  const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
564
564
  if (o._$cssResult$ === !0)
565
565
  return o.cssText;
@@ -567,16 +567,16 @@ const Te = (s) => new se(typeof s == "string" ? s : s + "", void 0, $t), U = (s,
567
567
  return o;
568
568
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
569
569
  })(r) + s[n + 1], s[0]);
570
- return new se(e, s, $t);
570
+ return new re(e, s, _t);
571
571
  }, Re = (s, t) => {
572
- if (bt)
572
+ if ($t)
573
573
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
574
574
  else
575
575
  for (const e of t) {
576
576
  const i = document.createElement("style"), r = q.litNonce;
577
577
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
578
578
  }
579
- }, It = bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
579
+ }, kt = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
580
580
  let e = "";
581
581
  for (const i of t.cssRules)
582
582
  e += i.cssText;
@@ -587,7 +587,7 @@ const Te = (s) => new se(typeof s == "string" ? s : s + "", void 0, $t), U = (s,
587
587
  * Copyright 2017 Google LLC
588
588
  * SPDX-License-Identifier: BSD-3-Clause
589
589
  */
590
- const { is: Ue, defineProperty: Ie, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Ne, getOwnPropertySymbols: je, getPrototypeOf: Me } = Object, w = globalThis, kt = w.trustedTypes, Le = kt ? kt.emptyScript : "", at = w.reactiveElementPolyfillSupport, k = (s, t) => s, Z = { toAttribute(s, t) {
590
+ const { is: Ie, defineProperty: Ue, getOwnPropertyDescriptor: ke, getOwnPropertyNames: Ne, getOwnPropertySymbols: je, getPrototypeOf: Me } = Object, w = globalThis, Nt = w.trustedTypes, Le = Nt ? Nt.emptyScript : "", at = w.reactiveElementPolyfillSupport, k = (s, t) => s, Z = { toAttribute(s, t) {
591
591
  switch (t) {
592
592
  case Boolean:
593
593
  s = s ? Le : null;
@@ -615,7 +615,7 @@ const { is: Ue, defineProperty: Ie, getOwnPropertyDescriptor: ke, getOwnProperty
615
615
  }
616
616
  }
617
617
  return e;
618
- } }, _t = (s, t) => !Ue(s, t), Nt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: _t };
618
+ } }, wt = (s, t) => !Ie(s, t), jt = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: wt };
619
619
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
620
620
  let O = class extends HTMLElement {
621
621
  static addInitializer(t) {
@@ -624,10 +624,10 @@ let O = class extends HTMLElement {
624
624
  static get observedAttributes() {
625
625
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
626
626
  }
627
- static createProperty(t, e = Nt) {
627
+ static createProperty(t, e = jt) {
628
628
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
629
629
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
630
- r !== void 0 && Ie(this.prototype, t, r);
630
+ r !== void 0 && Ue(this.prototype, t, r);
631
631
  }
632
632
  }
633
633
  static getPropertyDescriptor(t, e, i) {
@@ -644,7 +644,7 @@ let O = class extends HTMLElement {
644
644
  }, configurable: !0, enumerable: !0 };
645
645
  }
646
646
  static getPropertyOptions(t) {
647
- return this.elementProperties.get(t) ?? Nt;
647
+ return this.elementProperties.get(t) ?? jt;
648
648
  }
649
649
  static _$Ei() {
650
650
  if (this.hasOwnProperty(k("elementProperties")))
@@ -679,9 +679,9 @@ let O = class extends HTMLElement {
679
679
  if (Array.isArray(t)) {
680
680
  const i = new Set(t.flat(1 / 0).reverse());
681
681
  for (const r of i)
682
- e.unshift(It(r));
682
+ e.unshift(kt(r));
683
683
  } else
684
- t !== void 0 && e.push(It(t));
684
+ t !== void 0 && e.push(kt(t));
685
685
  return e;
686
686
  }
687
687
  static _$Eu(t, e) {
@@ -750,7 +750,7 @@ let O = class extends HTMLElement {
750
750
  }
751
751
  requestUpdate(t, e, i) {
752
752
  if (t !== void 0) {
753
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _t)(this[t], e))
753
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? wt)(this[t], e))
754
754
  return;
755
755
  this.P(t, e, i);
756
756
  }
@@ -834,26 +834,26 @@ O.elementStyles = [], O.shadowRootOptions = { mode: "open" }, O[k("elementProper
834
834
  * Copyright 2017 Google LLC
835
835
  * SPDX-License-Identifier: BSD-3-Clause
836
836
  */
837
- const N = globalThis, J = N.trustedTypes, jt = J ? J.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, re = "$lit$", _ = `lit$${(Math.random() + "").slice(9)}$`, ne = "?" + _, He = `<${ne}>`, E = document, M = () => E.createComment(""), L = (s) => s === null || typeof s != "object" && typeof s != "function", oe = Array.isArray, Be = (s) => oe(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", ct = `[
838
- \f\r]`, I = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Mt = /-->/g, Lt = />/g, x = RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
839
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Ht = /'/g, Bt = /"/g, ae = /^(?:script|style|textarea|title)$/i, De = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), T = De(1), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Dt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
840
- function ce(s, t) {
837
+ const N = globalThis, J = N.trustedTypes, Mt = J ? J.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ne = "$lit$", _ = `lit$${(Math.random() + "").slice(9)}$`, oe = "?" + _, He = `<${oe}>`, E = document, M = () => E.createComment(""), L = (s) => s === null || typeof s != "object" && typeof s != "function", ae = Array.isArray, De = (s) => ae(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", ct = `[
838
+ \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Ht = />/g, x = RegExp(`>|${ct}(?:([^\\s"'>=/]+)(${ct}*=${ct}*(?:[^
839
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, Bt = /"/g, ce = /^(?:script|style|textarea|title)$/i, Be = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), T = Be(1), P = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), zt = /* @__PURE__ */ new WeakMap(), S = E.createTreeWalker(E, 129);
840
+ function he(s, t) {
841
841
  if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
842
842
  throw Error("invalid template strings array");
843
- return jt !== void 0 ? jt.createHTML(t) : t;
843
+ return Mt !== void 0 ? Mt.createHTML(t) : t;
844
844
  }
845
845
  const ze = (s, t) => {
846
846
  const e = s.length - 1, i = [];
847
- let r, n = t === 2 ? "<svg>" : "", o = I;
847
+ let r, n = t === 2 ? "<svg>" : "", o = U;
848
848
  for (let a = 0; a < e; a++) {
849
849
  const c = s[a];
850
850
  let h, l, p = -1, f = 0;
851
851
  for (; f < c.length && (o.lastIndex = f, l = o.exec(c), l !== null); )
852
- f = o.lastIndex, o === I ? l[1] === "!--" ? o = Mt : l[1] !== void 0 ? o = Lt : l[2] !== void 0 ? (ae.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = x) : l[3] !== void 0 && (o = x) : o === x ? l[0] === ">" ? (o = r ?? I, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? x : l[3] === '"' ? Bt : Ht) : o === Bt || o === Ht ? o = x : o === Mt || o === Lt ? o = I : (o = x, r = void 0);
853
- const d = o === x && s[a + 1].startsWith("/>") ? " " : "";
854
- n += o === I ? c + He : p >= 0 ? (i.push(h), c.slice(0, p) + re + c.slice(p) + _ + d) : c + _ + (p === -2 ? a : d);
852
+ f = o.lastIndex, o === U ? l[1] === "!--" ? o = Lt : l[1] !== void 0 ? o = Ht : l[2] !== void 0 ? (ce.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = x) : l[3] !== void 0 && (o = x) : o === x ? l[0] === ">" ? (o = r ?? U, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? x : l[3] === '"' ? Bt : Dt) : o === Bt || o === Dt ? o = x : o === Lt || o === Ht ? o = U : (o = x, r = void 0);
853
+ const u = o === x && s[a + 1].startsWith("/>") ? " " : "";
854
+ n += o === U ? c + He : p >= 0 ? (i.push(h), c.slice(0, p) + ne + c.slice(p) + _ + u) : c + _ + (p === -2 ? a : u);
855
855
  }
856
- return [ce(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
856
+ return [he(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
857
857
  };
858
858
  class H {
859
859
  constructor({ strings: t, _$litType$: e }, i) {
@@ -869,22 +869,22 @@ class H {
869
869
  if (r.nodeType === 1) {
870
870
  if (r.hasAttributes())
871
871
  for (const p of r.getAttributeNames())
872
- if (p.endsWith(re)) {
873
- const f = l[o++], d = r.getAttribute(p).split(_), g = /([.?@])?(.*)/.exec(f);
874
- c.push({ type: 1, index: n, name: g[2], strings: d, ctor: g[1] === "." ? Fe : g[1] === "?" ? Ye : g[1] === "@" ? Ve : et }), r.removeAttribute(p);
872
+ if (p.endsWith(ne)) {
873
+ const f = l[o++], u = r.getAttribute(p).split(_), g = /([.?@])?(.*)/.exec(f);
874
+ c.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? Fe : g[1] === "?" ? Ye : g[1] === "@" ? Ve : et }), r.removeAttribute(p);
875
875
  } else
876
876
  p.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
877
- if (ae.test(r.tagName)) {
877
+ if (ce.test(r.tagName)) {
878
878
  const p = r.textContent.split(_), f = p.length - 1;
879
879
  if (f > 0) {
880
880
  r.textContent = J ? J.emptyScript : "";
881
- for (let d = 0; d < f; d++)
882
- r.append(p[d], M()), S.nextNode(), c.push({ type: 2, index: ++n });
881
+ for (let u = 0; u < f; u++)
882
+ r.append(p[u], M()), S.nextNode(), c.push({ type: 2, index: ++n });
883
883
  r.append(p[f], M());
884
884
  }
885
885
  }
886
886
  } else if (r.nodeType === 8)
887
- if (r.data === ne)
887
+ if (r.data === oe)
888
888
  c.push({ type: 2, index: n });
889
889
  else {
890
890
  let p = -1;
@@ -924,7 +924,7 @@ class We {
924
924
  for (; c !== void 0; ) {
925
925
  if (o === c.index) {
926
926
  let h;
927
- c.type === 2 ? h = new D(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new qe(n, this, t)), this._$AV.push(h), c = i[++a];
927
+ c.type === 2 ? h = new B(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new qe(n, this, t)), this._$AV.push(h), c = i[++a];
928
928
  }
929
929
  o !== (c == null ? void 0 : c.index) && (n = S.nextNode(), o++);
930
930
  }
@@ -936,13 +936,13 @@ class We {
936
936
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
937
937
  }
938
938
  }
939
- class D {
939
+ class B {
940
940
  get _$AU() {
941
941
  var t;
942
942
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
943
943
  }
944
944
  constructor(t, e, i, r) {
945
- 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;
945
+ this.type = 2, this._$AH = d, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
946
946
  }
947
947
  get parentNode() {
948
948
  let t = this._$AA.parentNode;
@@ -956,7 +956,7 @@ class D {
956
956
  return this._$AB;
957
957
  }
958
958
  _$AI(t, e = this) {
959
- t = R(this, t, e), L(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Be(t) ? this.k(t) : this._(t);
959
+ t = R(this, t, e), L(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : De(t) ? this.k(t) : this._(t);
960
960
  }
961
961
  S(t) {
962
962
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -965,11 +965,11 @@ class D {
965
965
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
966
966
  }
967
967
  _(t) {
968
- this._$AH !== u && L(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
968
+ this._$AH !== d && L(this._$AH) ? this._$AA.nextSibling.data = t : this.T(E.createTextNode(t)), this._$AH = t;
969
969
  }
970
970
  $(t) {
971
971
  var n;
972
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = H.createElement(ce(i.h, i.h[0]), this.options)), i);
972
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = H.createElement(he(i.h, i.h[0]), this.options)), i);
973
973
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r)
974
974
  this._$AH.p(e);
975
975
  else {
@@ -978,15 +978,15 @@ class D {
978
978
  }
979
979
  }
980
980
  _$AC(t) {
981
- let e = Dt.get(t.strings);
982
- return e === void 0 && Dt.set(t.strings, e = new H(t)), e;
981
+ let e = zt.get(t.strings);
982
+ return e === void 0 && zt.set(t.strings, e = new H(t)), e;
983
983
  }
984
984
  k(t) {
985
- oe(this._$AH) || (this._$AH = [], this._$AR());
985
+ ae(this._$AH) || (this._$AH = [], this._$AR());
986
986
  const e = this._$AH;
987
987
  let i, r = 0;
988
988
  for (const n of t)
989
- r === e.length ? e.push(i = new D(this.S(M()), this.S(M()), this, this.options)) : i = e[r], i._$AI(n), r++;
989
+ r === e.length ? e.push(i = new B(this.S(M()), this.S(M()), this, this.options)) : i = e[r], i._$AI(n), r++;
990
990
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
991
991
  }
992
992
  _$AR(t = this._$AA.nextSibling, e) {
@@ -1009,7 +1009,7 @@ class et {
1009
1009
  return this._$AM._$AU;
1010
1010
  }
1011
1011
  constructor(t, e, i, r, n) {
1012
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
1012
+ this.type = 1, this._$AH = d, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = d;
1013
1013
  }
1014
1014
  _$AI(t, e = this, i, r) {
1015
1015
  const n = this.strings;
@@ -1020,12 +1020,12 @@ class et {
1020
1020
  const a = t;
1021
1021
  let c, h;
1022
1022
  for (t = n[0], c = 0; c < n.length - 1; c++)
1023
- h = R(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !L(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
1023
+ h = R(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !L(h) || h !== this._$AH[c]), h === d ? t = d : t !== d && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
1024
1024
  }
1025
1025
  o && !r && this.j(t);
1026
1026
  }
1027
1027
  j(t) {
1028
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1028
+ t === d ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1029
1029
  }
1030
1030
  }
1031
1031
  class Fe extends et {
@@ -1033,7 +1033,7 @@ class Fe extends et {
1033
1033
  super(...arguments), this.type = 3;
1034
1034
  }
1035
1035
  j(t) {
1036
- this.element[this.name] = t === u ? void 0 : t;
1036
+ this.element[this.name] = t === d ? void 0 : t;
1037
1037
  }
1038
1038
  }
1039
1039
  class Ye extends et {
@@ -1041,7 +1041,7 @@ class Ye extends et {
1041
1041
  super(...arguments), this.type = 4;
1042
1042
  }
1043
1043
  j(t) {
1044
- this.element.toggleAttribute(this.name, !!t && t !== u);
1044
+ this.element.toggleAttribute(this.name, !!t && t !== d);
1045
1045
  }
1046
1046
  }
1047
1047
  class Ve extends et {
@@ -1049,9 +1049,9 @@ class Ve extends et {
1049
1049
  super(t, e, i, r, n), this.type = 5;
1050
1050
  }
1051
1051
  _$AI(t, e = this) {
1052
- if ((t = R(this, t, e, 0) ?? u) === P)
1052
+ if ((t = R(this, t, e, 0) ?? d) === P)
1053
1053
  return;
1054
- const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== u && (i === u || r);
1054
+ const i = this._$AH, r = t === d && i !== d || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== d && (i === d || r);
1055
1055
  r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
1056
1056
  }
1057
1057
  handleEvent(t) {
@@ -1071,13 +1071,13 @@ class qe {
1071
1071
  }
1072
1072
  }
1073
1073
  const ht = N.litHtmlPolyfillSupport;
1074
- ht == null || ht(H, D), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.2");
1074
+ ht == null || ht(H, B), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.2");
1075
1075
  const Ke = (s, t, e) => {
1076
1076
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1077
1077
  let r = i._$litPart$;
1078
1078
  if (r === void 0) {
1079
1079
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
1080
- i._$litPart$ = r = new D(t.insertBefore(M(), n), n, void 0, e ?? {});
1080
+ i._$litPart$ = r = new B(t.insertBefore(M(), n), n, void 0, e ?? {});
1081
1081
  }
1082
1082
  return r._$AI(s), r;
1083
1083
  };
@@ -1111,8 +1111,8 @@ let $ = class extends O {
1111
1111
  return P;
1112
1112
  }
1113
1113
  };
1114
- var Gt;
1115
- $._$litElement$ = !0, $.finalized = !0, (Gt = globalThis.litElementHydrateSupport) == null || Gt.call(globalThis, { LitElement: $ });
1114
+ var Zt;
1115
+ $._$litElement$ = !0, $.finalized = !0, (Zt = globalThis.litElementHydrateSupport) == null || Zt.call(globalThis, { LitElement: $ });
1116
1116
  const lt = globalThis.litElementPolyfillSupport;
1117
1117
  lt == null || lt({ LitElement: $ });
1118
1118
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
@@ -1121,7 +1121,7 @@ lt == null || lt({ LitElement: $ });
1121
1121
  * Copyright 2017 Google LLC
1122
1122
  * SPDX-License-Identifier: BSD-3-Clause
1123
1123
  */
1124
- const Ge = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: _t }, Ze = (s = Ge, t, e) => {
1124
+ const Ge = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged: wt }, Ze = (s = Ge, t, e) => {
1125
1125
  const { kind: i, metadata: r } = e;
1126
1126
  let n = globalThis.litPropertyMetadata.get(r);
1127
1127
  if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
@@ -1170,11 +1170,11 @@ class it extends $ {
1170
1170
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1171
1171
  }
1172
1172
  render() {
1173
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1173
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), d;
1174
1174
  }
1175
1175
  }
1176
1176
  it.styles = [
1177
- U`
1177
+ I`
1178
1178
  :host {
1179
1179
  position: fixed;
1180
1180
  display: flex;
@@ -1200,8 +1200,8 @@ Qe([
1200
1200
  * Copyright 2017 Google LLC
1201
1201
  * SPDX-License-Identifier: BSD-3-Clause
1202
1202
  */
1203
- const wt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, At = (s) => (...t) => ({ _$litDirective$: s, values: t });
1204
- let he = class {
1203
+ const At = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
1204
+ let le = class {
1205
1205
  constructor(t) {
1206
1206
  }
1207
1207
  get _$AU() {
@@ -1243,7 +1243,7 @@ const j = (s, t) => {
1243
1243
  break;
1244
1244
  e = t._$AN, e.delete(s), s = t;
1245
1245
  } while ((e == null ? void 0 : e.size) === 0);
1246
- }, le = (s) => {
1246
+ }, pe = (s) => {
1247
1247
  for (let t; t = s._$AM; s = t) {
1248
1248
  let e = t._$AN;
1249
1249
  if (e === void 0)
@@ -1254,7 +1254,7 @@ const j = (s, t) => {
1254
1254
  }
1255
1255
  };
1256
1256
  function ei(s) {
1257
- this._$AN !== void 0 ? (X(this), this._$AM = s, le(this)) : this._$AM = s;
1257
+ this._$AN !== void 0 ? (X(this), this._$AM = s, pe(this)) : this._$AM = s;
1258
1258
  }
1259
1259
  function ii(s, t = !1, e = 0) {
1260
1260
  const i = this._$AH, r = this._$AN;
@@ -1269,14 +1269,14 @@ function ii(s, t = !1, e = 0) {
1269
1269
  j(this, s);
1270
1270
  }
1271
1271
  const si = (s) => {
1272
- s.type == wt.CHILD && (s._$AP ?? (s._$AP = ii), s._$AQ ?? (s._$AQ = ei));
1272
+ s.type == At.CHILD && (s._$AP ?? (s._$AP = ii), s._$AQ ?? (s._$AQ = ei));
1273
1273
  };
1274
- class pe extends he {
1274
+ class de extends le {
1275
1275
  constructor() {
1276
1276
  super(...arguments), this._$AN = void 0;
1277
1277
  }
1278
1278
  _$AT(t, e, i) {
1279
- super._$AT(t, e, i), le(this), this.isConnected = t._$AU;
1279
+ super._$AT(t, e, i), pe(this), this.isConnected = t._$AU;
1280
1280
  }
1281
1281
  _$AO(t, e = !0) {
1282
1282
  var i, r;
@@ -1296,33 +1296,33 @@ class pe extends he {
1296
1296
  }
1297
1297
  }
1298
1298
  const ri = /* @__PURE__ */ new WeakMap();
1299
- let zt = 0;
1300
- const pt = /* @__PURE__ */ new Map(), Wt = /* @__PURE__ */ new WeakSet(), Ft = () => new Promise((s) => requestAnimationFrame(s)), ni = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Yt = (s, t) => {
1299
+ let Wt = 0;
1300
+ const pt = /* @__PURE__ */ new Map(), Ft = /* @__PURE__ */ new WeakSet(), Yt = () => new Promise((s) => requestAnimationFrame(s)), ni = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Vt = (s, t) => {
1301
1301
  const e = s - t;
1302
1302
  return e === 0 ? void 0 : e;
1303
- }, Vt = (s, t) => {
1303
+ }, qt = (s, t) => {
1304
1304
  const e = s / t;
1305
1305
  return e === 1 ? void 0 : e;
1306
- }, ut = { left: (s, t) => {
1307
- const e = Yt(s, t);
1306
+ }, dt = { left: (s, t) => {
1307
+ const e = Vt(s, t);
1308
1308
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1309
1309
  }, top: (s, t) => {
1310
- const e = Yt(s, t);
1310
+ const e = Vt(s, t);
1311
1311
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1312
1312
  }, width: (s, t) => {
1313
1313
  let e;
1314
1314
  t === 0 && (t = 1, e = { width: "1px" });
1315
- const i = Vt(s, t);
1315
+ const i = qt(s, t);
1316
1316
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1317
1317
  }, height: (s, t) => {
1318
1318
  let e;
1319
1319
  t === 0 && (t = 1, e = { height: "1px" });
1320
- const i = Vt(s, t);
1320
+ const i = qt(s, t);
1321
1321
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1322
- } }, oi = { duration: 333, easing: "ease-in-out" }, ai = ["left", "top", "width", "height", "opacity", "color", "background"], qt = /* @__PURE__ */ new WeakMap();
1323
- class ci extends pe {
1322
+ } }, oi = { duration: 333, easing: "ease-in-out" }, ai = ["left", "top", "width", "height", "opacity", "color", "background"], Kt = /* @__PURE__ */ new WeakMap();
1323
+ class ci extends de {
1324
1324
  constructor(t) {
1325
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === wt.CHILD)
1325
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === At.CHILD)
1326
1326
  throw Error("The `animate` directive must be used in attribute position.");
1327
1327
  this.createFinished();
1328
1328
  }
@@ -1337,7 +1337,7 @@ class ci extends pe {
1337
1337
  (t = this.l) == null || t.call(this), this.l = void 0;
1338
1338
  }
1339
1339
  render(t) {
1340
- return u;
1340
+ return d;
1341
1341
  }
1342
1342
  getController() {
1343
1343
  return ri.get(this.u);
@@ -1349,7 +1349,7 @@ class ci extends pe {
1349
1349
  update(t, [e]) {
1350
1350
  var r;
1351
1351
  const i = this.u === void 0;
1352
- return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, qt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1352
+ return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Kt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1353
1353
  }
1354
1354
  p(t) {
1355
1355
  t = t ?? {};
@@ -1359,7 +1359,7 @@ class ci extends pe {
1359
1359
  m() {
1360
1360
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1361
1361
  return this.options.properties.forEach((r) => {
1362
- const n = e[r] ?? (ut[r] ? void 0 : i[r]), o = Number(n);
1362
+ const n = e[r] ?? (dt[r] ? void 0 : i[r]), o = Number(n);
1363
1363
  t[r] = isNaN(o) ? n + "" : o;
1364
1364
  }), t;
1365
1365
  }
@@ -1381,7 +1381,7 @@ class ci extends pe {
1381
1381
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
1382
1382
  return;
1383
1383
  let t;
1384
- this.prepare(), await Ft;
1384
+ this.prepare(), await Yt;
1385
1385
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1386
1386
  if (this.A !== void 0) {
1387
1387
  const { from: n, to: o } = this.N(this.A, r, e);
@@ -1391,7 +1391,7 @@ class ci extends pe {
1391
1391
  if (n) {
1392
1392
  pt.delete(this.options.inId);
1393
1393
  const { from: o, to: a } = this.N(n, r, e);
1394
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, zt++, t.forEach((c) => c.zIndex = zt);
1394
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach((c) => c.zIndex = Wt);
1395
1395
  } else
1396
1396
  this.options.in && (t = [...this.options.in, {}]);
1397
1397
  }
@@ -1410,7 +1410,7 @@ class ci extends pe {
1410
1410
  var e;
1411
1411
  if (!this.h || (this.options.id !== void 0 && pt.set(this.options.id, this.A), this.options.out === void 0))
1412
1412
  return;
1413
- if (this.prepare(), await Ft(), (e = this.i) == null ? void 0 : e.isConnected) {
1413
+ if (this.prepare(), await Yt(), (e = this.i) == null ? void 0 : e.isConnected) {
1414
1414
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1415
1415
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1416
1416
  const r = this.m();
@@ -1436,15 +1436,15 @@ class ci extends pe {
1436
1436
  O() {
1437
1437
  const t = [];
1438
1438
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1439
- const i = qt.get(e);
1439
+ const i = Kt.get(e);
1440
1440
  i && !i.isDisabled() && i && t.push(i);
1441
1441
  }
1442
1442
  return t;
1443
1443
  }
1444
1444
  get isHostRendered() {
1445
- const t = Wt.has(this.u);
1445
+ const t = Ft.has(this.u);
1446
1446
  return t || this.u.updateComplete.then(() => {
1447
- Wt.add(this.u);
1447
+ Ft.add(this.u);
1448
1448
  }), t;
1449
1449
  }
1450
1450
  j(t, e = this.O()) {
@@ -1465,8 +1465,8 @@ class ci extends pe {
1465
1465
  const a = {};
1466
1466
  for (const c in e) {
1467
1467
  const h = t[c], l = e[c];
1468
- if (c in ut) {
1469
- const p = ut[c];
1468
+ if (c in dt) {
1469
+ const p = dt[c];
1470
1470
  if (h === void 0 || l === void 0)
1471
1471
  continue;
1472
1472
  const f = p(h, l);
@@ -1499,16 +1499,16 @@ class ci extends pe {
1499
1499
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1500
1500
  }
1501
1501
  }
1502
- const hi = At(ci), li = { 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>' };
1502
+ const hi = xt(ci), li = { 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>' };
1503
1503
  /**
1504
1504
  * @license
1505
1505
  * Copyright 2018 Google LLC
1506
1506
  * SPDX-License-Identifier: BSD-3-Clause
1507
1507
  */
1508
- const pi = At(class extends he {
1508
+ const pi = xt(class extends le {
1509
1509
  constructor(s) {
1510
1510
  var t;
1511
- if (super(s), s.type !== wt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1511
+ if (super(s), s.type !== At.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1512
1512
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1513
1513
  }
1514
1514
  render(s) {
@@ -1554,29 +1554,29 @@ const pi = At(class extends he {
1554
1554
  * Copyright 2020 Google LLC
1555
1555
  * SPDX-License-Identifier: BSD-3-Clause
1556
1556
  */
1557
- const de = () => new ui();
1558
- class ui {
1557
+ const fe = () => new di();
1558
+ class di {
1559
1559
  }
1560
- const dt = /* @__PURE__ */ new WeakMap(), fe = At(class extends pe {
1560
+ const ut = /* @__PURE__ */ new WeakMap(), ge = xt(class extends de {
1561
1561
  render(s) {
1562
- return u;
1562
+ return d;
1563
1563
  }
1564
1564
  update(s, [t]) {
1565
1565
  var i;
1566
1566
  const e = t !== this.Y;
1567
- return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), u;
1567
+ return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), d;
1568
1568
  }
1569
1569
  rt(s) {
1570
1570
  if (typeof this.Y == "function") {
1571
1571
  const t = this.ht ?? globalThis;
1572
- let e = dt.get(t);
1573
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), dt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1572
+ let e = ut.get(t);
1573
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ut.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1574
1574
  } else
1575
1575
  this.Y.value = s;
1576
1576
  }
1577
1577
  get lt() {
1578
1578
  var s, t;
1579
- return typeof this.Y == "function" ? (s = dt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1579
+ return typeof this.Y == "function" ? (s = ut.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1580
1580
  }
1581
1581
  disconnected() {
1582
1582
  this.lt === this.ct && this.rt(void 0);
@@ -1585,18 +1585,21 @@ const dt = /* @__PURE__ */ new WeakMap(), fe = At(class extends pe {
1585
1585
  this.rt(this.ct);
1586
1586
  }
1587
1587
  });
1588
- var di = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, st = (s, t, e, i) => {
1588
+ var ui = Object.defineProperty, fi = Object.getOwnPropertyDescriptor, st = (s, t, e, i) => {
1589
1589
  for (var r = i > 1 ? void 0 : i ? fi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1590
1590
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1591
- return i && r && di(t, e, r), r;
1591
+ return i && r && ui(t, e, r), r;
1592
1592
  };
1593
1593
  class A extends $ {
1594
1594
  constructor() {
1595
- super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = de();
1595
+ super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = fe(), this.widgetActive$ = new ie(!1), this.componentIsDestroyed$ = new bt();
1596
1596
  }
1597
1597
  async connectedCallback() {
1598
1598
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
1599
1599
  }
1600
+ disconnectedCallback() {
1601
+ super.disconnectedCallback(), this.componentIsDestroyed$.next(), this.componentIsDestroyed$.complete();
1602
+ }
1600
1603
  toggleActive() {
1601
1604
  var t;
1602
1605
  if (!((t = this.application) != null && t.root)) {
@@ -1605,7 +1608,7 @@ class A extends $ {
1605
1608
  );
1606
1609
  return;
1607
1610
  }
1608
- this.active = !this.active, this.active ? this.application.appendToDOM() : this.application.hide();
1611
+ this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0)) : (this.application.hide(), this.widgetActive$.next(!1));
1609
1612
  }
1610
1613
  _applyBranding() {
1611
1614
  var t;
@@ -1618,7 +1621,7 @@ class A extends $ {
1618
1621
  return T` <img src=${e} class="trigger-icon" alt="" /> `;
1619
1622
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1620
1623
  if (!i)
1621
- return u;
1624
+ return d;
1622
1625
  const r = async (l) => li, { type: n, content: o } = i;
1623
1626
  switch (n) {
1624
1627
  case "Telia": {
@@ -1627,15 +1630,15 @@ class A extends $ {
1627
1630
  class="trigger-icon"
1628
1631
  svg=${l.svg}
1629
1632
  size="lg"
1630
- ></telia-icon>` : u;
1633
+ ></telia-icon>` : d;
1631
1634
  }
1632
1635
  default:
1633
- return u;
1636
+ return d;
1634
1637
  }
1635
1638
  }
1636
1639
  render() {
1637
1640
  var t, e, i, r;
1638
- return T`<div class="trigger-container" ${fe(this.containerRef)}>
1641
+ return T`<div class="trigger-container" ${ge(this.containerRef)}>
1639
1642
  ${!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) ? T`
1640
1643
  <button
1641
1644
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
@@ -1650,7 +1653,7 @@ class A extends $ {
1650
1653
  >
1651
1654
  ${this.application.settings.branding.other.buttonLabelText}
1652
1655
  </button>
1653
- ` : u}
1656
+ ` : d}
1654
1657
 
1655
1658
  <button
1656
1659
  label="Widget trigger"
@@ -1694,7 +1697,7 @@ class A extends $ {
1694
1697
  }
1695
1698
  }
1696
1699
  A.styles = [
1697
- U`
1700
+ I`
1698
1701
  :host {
1699
1702
  --voca-rem-multiplier: 0.625;
1700
1703
  --trigger-label-bg: #f5e0ff;
@@ -1845,7 +1848,7 @@ const vi = (s) => {
1845
1848
  }
1846
1849
  return t.styles = [
1847
1850
  // (superClass as unknown as typeof LitElement).styles ?? [],
1848
- U`
1851
+ I`
1849
1852
  :host {
1850
1853
  font-family: var(--font-family);
1851
1854
  grid-column: span var(--width);
@@ -1874,13 +1877,13 @@ const vi = (s) => {
1874
1877
  m({ attribute: !1 })
1875
1878
  ], t.prototype, "parent", 2), t;
1876
1879
  };
1877
- class xt extends vi($) {
1880
+ class Ct extends vi($) {
1878
1881
  render() {
1879
1882
  return T`Non resolved component`;
1880
1883
  }
1881
1884
  }
1882
- xt.styles = [
1883
- U`
1885
+ Ct.styles = [
1886
+ I`
1884
1887
  :host {
1885
1888
  display: block;
1886
1889
  }
@@ -1959,7 +1962,7 @@ let _i = class extends Event {
1959
1962
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1960
1963
  }
1961
1964
  };
1962
- class Kt extends $i {
1965
+ class Gt extends $i {
1963
1966
  constructor(t, e, i) {
1964
1967
  var r, n;
1965
1968
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
@@ -1992,7 +1995,7 @@ function wi({ context: s }) {
1992
1995
  const i = /* @__PURE__ */ new WeakMap();
1993
1996
  if (typeof e == "object")
1994
1997
  return e.addInitializer(function() {
1995
- i.set(this, new Kt(this, { context: s }));
1998
+ i.set(this, new Gt(this, { context: s }));
1996
1999
  }), { get() {
1997
2000
  return t.get.call(this);
1998
2001
  }, set(r) {
@@ -2004,7 +2007,7 @@ function wi({ context: s }) {
2004
2007
  } };
2005
2008
  {
2006
2009
  t.constructor.addInitializer((o) => {
2007
- i.set(o, new Kt(o, { context: s }));
2010
+ i.set(o, new Gt(o, { context: s }));
2008
2011
  });
2009
2012
  const r = Object.getOwnPropertyDescriptor(t, e);
2010
2013
  let n;
@@ -2033,7 +2036,7 @@ var Ai = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, Ci = (s, t
2033
2036
  const Si = "application";
2034
2037
  class rt extends $ {
2035
2038
  constructor() {
2036
- super(...arguments), this.nodes = [], this.wrapperRef = de();
2039
+ super(...arguments), this.nodes = [], this.wrapperRef = fe();
2037
2040
  }
2038
2041
  addChild(t) {
2039
2042
  t.parent = this, this.nodes.push(t);
@@ -2056,12 +2059,12 @@ class rt extends $ {
2056
2059
  this.applyBranding(), this.applyStyles();
2057
2060
  }
2058
2061
  render() {
2059
- return this.application.renderStrategy === y.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")), T`<div class="widget-container" ${fe(this.wrapperRef)}>
2062
+ return this.application.renderStrategy === y.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")), T`<div class="widget-container" ${ge(this.wrapperRef)}>
2060
2063
  ${yi(this.nodes, (t) => t)}
2061
2064
  </div>`;
2062
2065
  }
2063
2066
  }
2064
- rt.styles = U`
2067
+ rt.styles = I`
2065
2068
  :host {
2066
2069
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2067
2070
  --spacing-xs: 0.2rem;
@@ -2190,18 +2193,18 @@ class Ei {
2190
2193
  };
2191
2194
  }, r = (a, c, h, l) => {
2192
2195
  h.forEach((p) => {
2193
- const f = i(p), d = l[f.definitionId];
2194
- if (!d) {
2196
+ const f = i(p), u = l[f.definitionId];
2197
+ if (!u) {
2195
2198
  console.error(
2196
2199
  `No definition found for component type '${f.definitionId}'.`
2197
2200
  );
2198
2201
  return;
2199
2202
  }
2200
- const g = a.createNode(d.type, d.type);
2201
- g && (g.name = f.definitionId, g.application = e, d.properties && g.writeProperties(d.properties), d.context && g.writeContext(d.context), d.layout && g.writeLayout(d.layout), c.addChild(g), d.children && r(
2203
+ const g = a.createNode(u.type, u.type);
2204
+ g && (g.name = f.definitionId, g.application = e, u.properties && g.writeProperties(u.properties), u.context && g.writeContext(u.context), u.layout && g.writeLayout(u.layout), c.addChild(g), u.children && r(
2202
2205
  a,
2203
2206
  g,
2204
- d.children,
2207
+ u.children,
2205
2208
  l
2206
2209
  // views
2207
2210
  ));
@@ -2215,7 +2218,7 @@ class Ei {
2215
2218
  createNode(t, e) {
2216
2219
  const i = this.resolveComponent(e);
2217
2220
  if (!i)
2218
- return console.warn(`Unable to resolve component: ${e}`), new xt();
2221
+ return console.warn(`Unable to resolve component: ${e}`), new Ct();
2219
2222
  const r = new i();
2220
2223
  return r.type = e, r.name = t, r;
2221
2224
  }
@@ -2226,7 +2229,7 @@ class Ei {
2226
2229
  return this.root;
2227
2230
  }
2228
2231
  }
2229
- const ge = class {
2232
+ const me = class {
2230
2233
  constructor() {
2231
2234
  this.components = /* @__PURE__ */ new Map();
2232
2235
  }
@@ -2246,12 +2249,12 @@ const ge = class {
2246
2249
  await Promise.all(s);
2247
2250
  }
2248
2251
  defineAsWebComponent(s, t) {
2249
- const e = ge.ResolveWebComponentName(s);
2252
+ const e = me.ResolveWebComponentName(s);
2250
2253
  customElements.get(e) || customElements.define(e, t);
2251
2254
  }
2252
2255
  };
2253
- let me = ge;
2254
- me.ResolveWebComponentName = (s) => `ace-${s}`;
2256
+ let ve = me;
2257
+ ve.ResolveWebComponentName = (s) => `ace-${s}`;
2255
2258
  class Pi {
2256
2259
  constructor(t) {
2257
2260
  this.widgetId = t;
@@ -2290,10 +2293,10 @@ class Oi {
2290
2293
  }
2291
2294
  class Ti {
2292
2295
  constructor(t, e, i, r, n) {
2293
- this.id = t, this.name = e, this.container = i, this.settings = r, this.options = n, this.platform = new Ei(), this.texts = new Oi(), this.renderStrategy = y.Inline, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new me(), this.components = [], this.trigger = null, this.renderStrategy = this.options.renderStrategy || y.Inline, this.triggerIcon = this.options.triggerIcon, this.storage = new Pi(this.id), typeof n.autoActivate == "boolean" && (this.autoActivate = n.autoActivate), n.anchor && (this.anchor = n.anchor), this.container.register("$settings", r), this.texts.loadTexts(r.texts || {});
2296
+ this.id = t, this.name = e, this.container = i, this.settings = r, this.options = n, this.platform = new Ei(), this.texts = new Oi(), this.renderStrategy = y.Inline, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new ve(), this.components = [], this.trigger = null, this.renderStrategy = this.options.renderStrategy || y.Inline, this.triggerIcon = this.options.triggerIcon, this.storage = new Pi(this.id), typeof n.autoActivate == "boolean" && (this.autoActivate = n.autoActivate), n.anchor && (this.anchor = n.anchor), this.container.register("$settings", r), this.texts.loadTexts(r.texts || {});
2294
2297
  }
2295
2298
  async activate() {
2296
- if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(ie.Ready), this.autoActivate) {
2299
+ if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(se.Ready), this.autoActivate) {
2297
2300
  const t = this.render();
2298
2301
  t && this._getTargetElement().appendChild(t);
2299
2302
  }
@@ -2354,10 +2357,10 @@ class Ti {
2354
2357
  return this.root;
2355
2358
  }
2356
2359
  }
2357
- const Di = (s) => new Q(s), ve = class {
2360
+ const Bi = (s) => new Q(s), ye = class {
2358
2361
  // TODO:
2359
2362
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
2360
- constructor(s = ve.endpoint) {
2363
+ constructor(s = ye.endpoint) {
2361
2364
  this._endpoint = s;
2362
2365
  }
2363
2366
  async getSite(s) {
@@ -2388,11 +2391,11 @@ const Di = (s) => new Q(s), ve = class {
2388
2391
  } : null;
2389
2392
  }
2390
2393
  };
2391
- let Q = ve;
2394
+ let Q = ye;
2392
2395
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2393
2396
  class Ri {
2394
2397
  constructor() {
2395
- this.applications = [], this.container = new Rt("environment", this), setTimeout(() => {
2398
+ this.applications = [], this.container = new It("environment", this), setTimeout(() => {
2396
2399
  this.notifyWidgetsOfCreation();
2397
2400
  }, 1e3);
2398
2401
  }
@@ -2417,7 +2420,7 @@ class Ri {
2417
2420
  });
2418
2421
  }
2419
2422
  registerApp(t, e, i, r) {
2420
- const n = new Rt(e, this), o = new Ti(t, e, n, i, r);
2423
+ const n = new It(e, this), o = new Ti(t, e, n, i, r);
2421
2424
  this.applications.push(o);
2422
2425
  }
2423
2426
  plugin(t) {
@@ -2426,7 +2429,7 @@ class Ri {
2426
2429
  }), this;
2427
2430
  }
2428
2431
  }
2429
- class Ui {
2432
+ class Ii {
2430
2433
  constructor(t) {
2431
2434
  this.configurations = [], this.httpClient = new Q(), this.httpClient = new Q(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2432
2435
  }
@@ -2474,10 +2477,10 @@ class Ui {
2474
2477
  globalThis.widgets = t;
2475
2478
  }
2476
2479
  }
2477
- var Ii = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, Ct = (s, t, e, i) => {
2480
+ var Ui = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, St = (s, t, e, i) => {
2478
2481
  for (var r = i > 1 ? void 0 : i ? ki(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2479
2482
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2480
- return i && r && Ii(t, e, r), r;
2483
+ return i && r && Ui(t, e, r), r;
2481
2484
  };
2482
2485
  class W extends $ {
2483
2486
  constructor() {
@@ -2503,7 +2506,7 @@ class W extends $ {
2503
2506
  }
2504
2507
  render() {
2505
2508
  if (!this.widget || this.status !== "activated")
2506
- return u;
2509
+ return d;
2507
2510
  if (this.widget.renderStrategy === y.Trigger) {
2508
2511
  const t = new A();
2509
2512
  return t.application = this.widget, t;
@@ -2512,40 +2515,40 @@ class W extends $ {
2512
2515
  }
2513
2516
  }
2514
2517
  W.styles = [
2515
- U`
2518
+ I`
2516
2519
  :host {
2517
2520
  display: block;
2518
2521
  }
2519
2522
  `
2520
2523
  ];
2521
- Ct([
2524
+ St([
2522
2525
  m({ attribute: !0 })
2523
2526
  ], W.prototype, "name", 2);
2524
- Ct([
2527
+ St([
2525
2528
  z()
2526
2529
  ], W.prototype, "widget", 2);
2527
- Ct([
2530
+ St([
2528
2531
  z()
2529
2532
  ], W.prototype, "status", 2);
2530
2533
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", it);
2531
2534
  customElements.get("ace-trigger") || customElements.define("ace-trigger", A);
2532
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", xt);
2535
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Ct);
2533
2536
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", rt);
2534
2537
  customElements.get("ace-widget") || customElements.define("ace-widget", W);
2535
2538
  const zi = async (s, t) => {
2536
- await new Ui(s).bootstrap(t);
2539
+ await new Ii(s).bootstrap(t);
2537
2540
  };
2538
2541
  export {
2539
2542
  W as AceWidget,
2540
2543
  Ti as Application,
2541
- Rt as Container,
2544
+ It as Container,
2542
2545
  Ri as Environment,
2543
2546
  Q as HttpClient,
2544
- Ui as Site,
2547
+ Ii as Site,
2545
2548
  Pi as StorageService,
2546
2549
  A as Trigger,
2547
2550
  vi as WidgetComponent,
2548
2551
  Si as applicationContext,
2549
2552
  zi as bootstrap,
2550
- Di as createHttpClient
2553
+ Bi as createHttpClient
2551
2554
  };