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

Sign up to get free protection for your applications and to get access to all the features.
package/index.mjs CHANGED
@@ -1,21 +1,21 @@
1
- var ft = function(s, t) {
2
- return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var gt = function(s, t) {
2
+ return gt = 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)
6
6
  Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
7
- }, ft(s, t);
7
+ }, gt(s, t);
8
8
  };
9
- function B(s, t) {
9
+ function z(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
- ft(s, t);
12
+ gt(s, t);
13
13
  function e() {
14
14
  this.constructor = s;
15
15
  }
16
16
  s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
17
17
  }
18
- function gt(s) {
18
+ function mt(s) {
19
19
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
20
20
  if (e)
21
21
  return e.call(s);
@@ -27,7 +27,7 @@ function gt(s) {
27
27
  };
28
28
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
29
29
  }
30
- function K(s, t) {
30
+ function Z(s, t) {
31
31
  var e = typeof Symbol == "function" && s[Symbol.iterator];
32
32
  if (!e)
33
33
  return s;
@@ -47,22 +47,22 @@ function K(s, t) {
47
47
  }
48
48
  return n;
49
49
  }
50
- function G(s, t, e) {
50
+ function J(s, t, e) {
51
51
  if (e || arguments.length === 2)
52
52
  for (var i = 0, r = t.length, n; i < r; i++)
53
53
  (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
54
54
  return s.concat(n || Array.prototype.slice.call(t));
55
55
  }
56
- function b(s) {
56
+ function $(s) {
57
57
  return typeof s == "function";
58
58
  }
59
- function Zt(s) {
59
+ function Qt(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 ot = Qt(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) {
@@ -71,13 +71,13 @@ var nt = Zt(function(s) {
71
71
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
72
72
  };
73
73
  });
74
- function mt(s, t) {
74
+ function vt(s, t) {
75
75
  if (s) {
76
76
  var e = s.indexOf(t);
77
77
  0 <= e && s.splice(e, 1);
78
78
  }
79
79
  }
80
- var tt = function() {
80
+ var it = function() {
81
81
  function s(t) {
82
82
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
83
83
  }
@@ -89,7 +89,7 @@ var tt = function() {
89
89
  if (o)
90
90
  if (this._parentage = null, Array.isArray(o))
91
91
  try {
92
- for (var a = gt(o), c = a.next(); !c.done; c = a.next()) {
92
+ for (var a = mt(o), c = a.next(); !c.done; c = a.next()) {
93
93
  var h = c.value;
94
94
  h.remove(this);
95
95
  }
@@ -106,29 +106,29 @@ var tt = function() {
106
106
  else
107
107
  o.remove(this);
108
108
  var l = this.initialTeardown;
109
- if (b(l))
109
+ if ($(l))
110
110
  try {
111
111
  l();
112
112
  } catch (v) {
113
- n = v instanceof nt ? v.errors : [v];
113
+ n = v instanceof ot ? v.errors : [v];
114
114
  }
115
115
  var p = this._finalizers;
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 = mt(p), u = f.next(); !u.done; u = f.next()) {
120
+ var g = u.value;
121
121
  try {
122
- St(g);
122
+ Pt(g);
123
123
  } catch (v) {
124
- n = n ?? [], v instanceof nt ? n = G(G([], K(n)), K(v.errors)) : n.push(v);
124
+ n = n ?? [], v instanceof ot ? n = J(J([], Z(n)), Z(v.errors)) : n.push(v);
125
125
  }
126
126
  }
127
127
  } catch (v) {
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;
@@ -136,13 +136,13 @@ var tt = function() {
136
136
  }
137
137
  }
138
138
  if (n)
139
- throw new nt(n);
139
+ throw new ot(n);
140
140
  }
141
141
  }, s.prototype.add = function(t) {
142
142
  var e;
143
143
  if (t && t !== this)
144
144
  if (this.closed)
145
- St(t);
145
+ Pt(t);
146
146
  else {
147
147
  if (t instanceof s) {
148
148
  if (t.closed || t._hasParent(this))
@@ -159,58 +159,58 @@ var tt = function() {
159
159
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
160
160
  }, s.prototype._removeParent = function(t) {
161
161
  var e = this._parentage;
162
- e === t ? this._parentage = null : Array.isArray(e) && mt(e, t);
162
+ e === t ? this._parentage = null : Array.isArray(e) && vt(e, t);
163
163
  }, s.prototype.remove = function(t) {
164
164
  var e = this._finalizers;
165
- e && mt(e, t), t instanceof s && t._removeParent(this);
165
+ e && vt(e, t), t instanceof s && t._removeParent(this);
166
166
  }, s.EMPTY = 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) {
172
- return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
170
+ }(), te = it.EMPTY;
171
+ function ee(s) {
172
+ return s instanceof it || s && "closed" in s && $(s.remove) && $(s.add) && $(s.unsubscribe);
173
173
  }
174
- function St(s) {
175
- b(s) ? s() : s.unsubscribe();
174
+ function Pt(s) {
175
+ $(s) ? s() : s.unsubscribe();
176
176
  }
177
- var Qt = {
177
+ var ie = {
178
178
  onUnhandledError: null,
179
179
  onStoppedNotification: null,
180
180
  Promise: void 0,
181
181
  useDeprecatedSynchronousErrorHandling: !1,
182
182
  useDeprecatedNextContext: !1
183
- }, vt = {
183
+ }, yt = {
184
184
  setTimeout: function(s, t) {
185
185
  for (var e = [], i = 2; i < arguments.length; i++)
186
186
  e[i - 2] = arguments[i];
187
- var r = vt.delegate;
188
- return r != null && r.setTimeout ? r.setTimeout.apply(r, G([s, t], K(e))) : setTimeout.apply(void 0, G([s, t], K(e)));
187
+ var r = yt.delegate;
188
+ return r != null && r.setTimeout ? r.setTimeout.apply(r, J([s, t], Z(e))) : setTimeout.apply(void 0, J([s, t], Z(e)));
189
189
  },
190
190
  clearTimeout: function(s) {
191
- var t = vt.delegate;
191
+ var t = yt.delegate;
192
192
  return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(s);
193
193
  },
194
194
  delegate: void 0
195
195
  };
196
- function ye(s) {
197
- vt.setTimeout(function() {
196
+ function we(s) {
197
+ yt.setTimeout(function() {
198
198
  throw s;
199
199
  });
200
200
  }
201
- function Et() {
201
+ function Ot() {
202
202
  }
203
- function V(s) {
203
+ function K(s) {
204
204
  s();
205
205
  }
206
- var te = function(s) {
207
- B(t, s);
206
+ var se = function(s) {
207
+ z(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, ee(e) && e.add(i)) : i.destination = Ce, i;
211
211
  }
212
212
  return t.create = function(e, i, r) {
213
- return new yt(e, i, r);
213
+ return new bt(e, i, r);
214
214
  }, t.prototype.next = function(e) {
215
215
  this.isStopped || this._next(e);
216
216
  }, t.prototype.error = function(e) {
@@ -234,11 +234,11 @@ var te = function(s) {
234
234
  this.unsubscribe();
235
235
  }
236
236
  }, t;
237
- }(tt), be = Function.prototype.bind;
238
- function ot(s, t) {
239
- return be.call(s, t);
237
+ }(it), _e = Function.prototype.bind;
238
+ function at(s, t) {
239
+ return _e.call(s, t);
240
240
  }
241
- var $e = function() {
241
+ var Ae = function() {
242
242
  function s(t) {
243
243
  this.partialObserver = t;
244
244
  }
@@ -248,7 +248,7 @@ var $e = function() {
248
248
  try {
249
249
  e.next(t);
250
250
  } catch (i) {
251
- F(i);
251
+ Y(i);
252
252
  }
253
253
  }, s.prototype.error = function(t) {
254
254
  var e = this.partialObserver;
@@ -256,24 +256,24 @@ var $e = function() {
256
256
  try {
257
257
  e.error(t);
258
258
  } catch (i) {
259
- F(i);
259
+ Y(i);
260
260
  }
261
261
  else
262
- F(t);
262
+ Y(t);
263
263
  }, s.prototype.complete = function() {
264
264
  var t = this.partialObserver;
265
265
  if (t.complete)
266
266
  try {
267
267
  t.complete();
268
268
  } catch (e) {
269
- F(e);
269
+ Y(e);
270
270
  }
271
271
  }, s;
272
- }(), yt = function(s) {
273
- B(t, s);
272
+ }(), bt = function(s) {
273
+ z(t, s);
274
274
  function t(e, i, r) {
275
275
  var n = s.call(this) || this, o;
276
- if (b(e) || !e)
276
+ if ($(e) || !e)
277
277
  o = {
278
278
  next: e ?? void 0,
279
279
  error: i ?? void 0,
@@ -281,43 +281,43 @@ 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 && ie.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
285
285
  return n.unsubscribe();
286
286
  }, o = {
287
- next: e.next && ot(e.next, a),
288
- error: e.error && ot(e.error, a),
289
- complete: e.complete && ot(e.complete, a)
287
+ next: e.next && at(e.next, a),
288
+ error: e.error && at(e.error, a),
289
+ complete: e.complete && at(e.complete, a)
290
290
  }) : o = e;
291
291
  }
292
- return n.destination = new $e(o), n;
292
+ return n.destination = new Ae(o), n;
293
293
  }
294
294
  return t;
295
- }(te);
296
- function F(s) {
297
- ye(s);
295
+ }(se);
296
+ function Y(s) {
297
+ we(s);
298
298
  }
299
- function _e(s) {
299
+ function xe(s) {
300
300
  throw s;
301
301
  }
302
- var we = {
302
+ var Ce = {
303
303
  closed: !0,
304
- next: Et,
305
- error: _e,
306
- complete: Et
307
- }, Ae = function() {
304
+ next: Ot,
305
+ error: xe,
306
+ complete: Ot
307
+ }, Se = function() {
308
308
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
309
309
  }();
310
- function xe(s) {
310
+ function Ee(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 Pe(s) {
314
+ return s.length === 0 ? Ee : 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 Tt = function() {
321
321
  function s(t) {
322
322
  t && (this._subscribe = t);
323
323
  }
@@ -325,8 +325,8 @@ 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);
329
- return V(function() {
328
+ var r = this, n = Te(t) ? t : new bt(t, e, i);
329
+ return K(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));
332
332
  }), n;
@@ -338,8 +338,8 @@ 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) {
342
- var o = new yt({
341
+ return e = It(e), new e(function(r, n) {
342
+ var o = new bt({
343
343
  next: function(a) {
344
344
  try {
345
345
  t(a);
@@ -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[Se] = 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 Pe(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 = It(t), new t(function(i, r) {
367
367
  var n;
368
368
  e.subscribe(function(o) {
369
369
  return n = o;
@@ -377,40 +377,40 @@ var Pt = function() {
377
377
  return new s(t);
378
378
  }, s;
379
379
  }();
380
- function Ot(s) {
380
+ function It(s) {
381
381
  var t;
382
- return (t = s ?? Qt.Promise) !== null && t !== void 0 ? t : Promise;
382
+ return (t = s ?? ie.Promise) !== null && t !== void 0 ? t : Promise;
383
383
  }
384
- function Se(s) {
385
- return s && b(s.next) && b(s.error) && b(s.complete);
384
+ function Oe(s) {
385
+ return s && $(s.next) && $(s.error) && $(s.complete);
386
386
  }
387
- function Ee(s) {
388
- return s && s instanceof te || Se(s) && Xt(s);
387
+ function Te(s) {
388
+ return s && s instanceof se || Oe(s) && ee(s);
389
389
  }
390
- var Pe = Zt(function(s) {
390
+ var Ie = Qt(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
+ }), $t = function(s) {
395
+ z(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 Ie();
406
406
  }, t.prototype.next = function(e) {
407
407
  var i = this;
408
- V(function() {
408
+ K(function() {
409
409
  var r, n;
410
410
  if (i._throwIfClosed(), !i.isStopped) {
411
411
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
412
412
  try {
413
- for (var o = gt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
413
+ for (var o = mt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
414
414
  var c = a.value;
415
415
  c.next(e);
416
416
  }
@@ -428,7 +428,7 @@ var Pe = Zt(function(s) {
428
428
  });
429
429
  }, t.prototype.error = function(e) {
430
430
  var i = this;
431
- V(function() {
431
+ K(function() {
432
432
  if (i._throwIfClosed(), !i.isStopped) {
433
433
  i.hasError = i.isStopped = !0, i.thrownError = e;
434
434
  for (var r = i.observers; r.length; )
@@ -437,7 +437,7 @@ var Pe = Zt(function(s) {
437
437
  });
438
438
  }, t.prototype.complete = function() {
439
439
  var e = this;
440
- V(function() {
440
+ K(function() {
441
441
  if (e._throwIfClosed(), !e.isStopped) {
442
442
  e.isStopped = !0;
443
443
  for (var i = e.observers; i.length; )
@@ -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() {
463
- i.currentObservers = null, mt(a, e);
462
+ return n || o ? te : (this.currentObservers = null, a.push(e), new it(function() {
463
+ i.currentObservers = null, vt(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 Tt();
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
+ }(Tt), Rt = function(s) {
475
+ z(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 : te;
492
492
  }, t;
493
- }(ee), Oe = function(s) {
494
- B(t, s);
493
+ }($t), re = function(s) {
494
+ z(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
+ }($t), ne = /* @__PURE__ */ ((s) => (s.Loading = "loading", s.Ready = "ready", s))(ne || {});
517
+ class Ut {
518
518
  constructor(t, e) {
519
- this.state = new Oe(
519
+ this.state = new re(
520
520
  "loading"
521
521
  /* Loading */
522
522
  ), this.resolvers = /* @__PURE__ */ new Map(), this.name = t, this.environment = e, this.state.next(
@@ -539,19 +539,19 @@ 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 G = globalThis, wt = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Mt = /* @__PURE__ */ new WeakMap();
543
+ let oe = 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 (wt && t === void 0) {
553
553
  const i = e !== void 0 && e.length === 1;
554
- i && (t = Ut.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Ut.set(e, t));
554
+ i && (t = Mt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Mt.set(e, t));
555
555
  }
556
556
  return t;
557
557
  }
@@ -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 Re = (s) => new oe(typeof s == "string" ? s : s + "", void 0, _t), U = (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,30 +567,30 @@ 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);
571
- }, Re = (s, t) => {
572
- if (bt)
570
+ return new oe(e, s, _t);
571
+ }, Ue = (s, t) => {
572
+ if (wt)
573
573
  s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
574
574
  else
575
575
  for (const e of t) {
576
- const i = document.createElement("style"), r = q.litNonce;
576
+ const i = document.createElement("style"), r = G.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 = wt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
580
580
  let e = "";
581
581
  for (const i of t.cssRules)
582
582
  e += i.cssText;
583
- return Te(e);
583
+ return Re(e);
584
584
  })(s) : s;
585
585
  /**
586
586
  * @license
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: Me, defineProperty: ke, getOwnPropertyDescriptor: Ne, getOwnPropertyNames: je, getOwnPropertySymbols: He, getPrototypeOf: Le } = Object, x = globalThis, Nt = x.trustedTypes, Be = Nt ? Nt.emptyScript : "", ct = x.reactiveElementPolyfillSupport, N = (s, t) => s, X = { toAttribute(s, t) {
591
591
  switch (t) {
592
592
  case Boolean:
593
- s = s ? Le : null;
593
+ s = s ? Be : null;
594
594
  break;
595
595
  case Object:
596
596
  case Array:
@@ -615,23 +615,23 @@ 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 };
619
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
620
- let O = class extends HTMLElement {
618
+ } }, At = (s, t) => !Me(s, t), jt = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: At };
619
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), x.litPropertyMetadata ?? (x.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
620
+ let T = class extends HTMLElement {
621
621
  static addInitializer(t) {
622
622
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
623
623
  }
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 && ke(this.prototype, t, r);
631
631
  }
632
632
  }
633
633
  static getPropertyDescriptor(t, e, i) {
634
- const { get: r, set: n } = ke(this.prototype, t) ?? { get() {
634
+ const { get: r, set: n } = Ne(this.prototype, t) ?? { get() {
635
635
  return this[e];
636
636
  }, set(o) {
637
637
  this[e] = o;
@@ -644,19 +644,19 @@ 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
- if (this.hasOwnProperty(k("elementProperties")))
650
+ if (this.hasOwnProperty(N("elementProperties")))
651
651
  return;
652
- const t = Me(this);
652
+ const t = Le(this);
653
653
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
654
654
  }
655
655
  static finalize() {
656
- if (this.hasOwnProperty(k("finalized")))
656
+ if (this.hasOwnProperty(N("finalized")))
657
657
  return;
658
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(k("properties"))) {
659
- const e = this.properties, i = [...Ne(e), ...je(e)];
658
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(N("properties"))) {
659
+ const e = this.properties, i = [...je(e), ...He(e)];
660
660
  for (const r of i)
661
661
  this.createProperty(r, e[r]);
662
662
  }
@@ -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) {
@@ -711,7 +711,7 @@ let O = class extends HTMLElement {
711
711
  }
712
712
  createRenderRoot() {
713
713
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
714
- return Re(t, this.constructor.elementStyles), t;
714
+ return Ue(t, this.constructor.elementStyles), t;
715
715
  }
716
716
  connectedCallback() {
717
717
  var t;
@@ -736,7 +736,7 @@ let O = class extends HTMLElement {
736
736
  var n;
737
737
  const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
738
738
  if (r !== void 0 && i.reflect === !0) {
739
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : Z).toAttribute(e, i.type);
739
+ const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : X).toAttribute(e, i.type);
740
740
  this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
741
741
  }
742
742
  }
@@ -744,13 +744,13 @@ let O = class extends HTMLElement {
744
744
  var n;
745
745
  const i = this.constructor, r = i._$Eh.get(t);
746
746
  if (r !== void 0 && this._$Em !== r) {
747
- const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : Z;
747
+ const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : X;
748
748
  this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
749
749
  }
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 ?? At)(this[t], e))
754
754
  return;
755
755
  this.P(t, e, i);
756
756
  }
@@ -828,86 +828,86 @@ let O = class extends HTMLElement {
828
828
  firstUpdated(t) {
829
829
  }
830
830
  };
831
- O.elementStyles = [], O.shadowRootOptions = { mode: "open" }, O[k("elementProperties")] = /* @__PURE__ */ new Map(), O[k("finalized")] = /* @__PURE__ */ new Map(), at == null || at({ ReactiveElement: O }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
831
+ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[N("elementProperties")] = /* @__PURE__ */ new Map(), T[N("finalized")] = /* @__PURE__ */ new Map(), ct == null || ct({ ReactiveElement: T }), (x.reactiveElementVersions ?? (x.reactiveElementVersions = [])).push("2.0.4");
832
832
  /**
833
833
  * @license
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 j = globalThis, Q = j.trustedTypes, Ht = Q ? Q.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ae = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, ce = "?" + A, De = `<${ce}>`, P = document, L = () => P.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", he = Array.isArray, ze = (s) => he(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", ht = `[
838
+ \f\r]`, k = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Lt = /-->/g, Bt = />/g, C = RegExp(`>|${ht}(?:([^\\s"'>=/]+)(${ht}*=${ht}*(?:[^
839
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, zt = /"/g, le = /^(?:script|style|textarea|title)$/i, We = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), I = We(1), O = Symbol.for("lit-noChange"), d = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), E = P.createTreeWalker(P, 129);
840
+ function pe(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 Ht !== void 0 ? Ht.createHTML(t) : t;
844
844
  }
845
- const ze = (s, t) => {
845
+ const Fe = (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 = k;
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 === k ? l[1] === "!--" ? o = Lt : l[1] !== void 0 ? o = Bt : l[2] !== void 0 ? (le.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = C) : l[3] !== void 0 && (o = C) : o === C ? l[0] === ">" ? (o = r ?? k, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? C : l[3] === '"' ? zt : Dt) : o === zt || o === Dt ? o = C : o === Lt || o === Bt ? o = k : (o = C, r = void 0);
853
+ const u = o === C && s[a + 1].startsWith("/>") ? " " : "";
854
+ n += o === k ? c + De : p >= 0 ? (i.push(h), c.slice(0, p) + ae + c.slice(p) + A + u) : c + A + (p === -2 ? a : u);
855
855
  }
856
- return [ce(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
856
+ return [pe(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
857
857
  };
858
- class H {
858
+ class D {
859
859
  constructor({ strings: t, _$litType$: e }, i) {
860
860
  let r;
861
861
  this.parts = [];
862
862
  let n = 0, o = 0;
863
- const a = t.length - 1, c = this.parts, [h, l] = ze(t, e);
864
- if (this.el = H.createElement(h, i), S.currentNode = this.el.content, e === 2) {
863
+ const a = t.length - 1, c = this.parts, [h, l] = Fe(t, e);
864
+ if (this.el = D.createElement(h, i), E.currentNode = this.el.content, e === 2) {
865
865
  const p = this.el.content.firstChild;
866
866
  p.replaceWith(...p.childNodes);
867
867
  }
868
- for (; (r = S.nextNode()) !== null && c.length < a; ) {
868
+ for (; (r = E.nextNode()) !== null && c.length < a; ) {
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(ae)) {
873
+ const f = l[o++], u = r.getAttribute(p).split(A), g = /([.?@])?(.*)/.exec(f);
874
+ c.push({ type: 1, index: n, name: g[2], strings: u, ctor: g[1] === "." ? Ye : g[1] === "?" ? qe : g[1] === "@" ? Ke : st }), r.removeAttribute(p);
875
875
  } else
876
- p.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
877
- if (ae.test(r.tagName)) {
878
- const p = r.textContent.split(_), f = p.length - 1;
876
+ p.startsWith(A) && (c.push({ type: 6, index: n }), r.removeAttribute(p));
877
+ if (le.test(r.tagName)) {
878
+ const p = r.textContent.split(A), f = p.length - 1;
879
879
  if (f > 0) {
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 });
883
- r.append(p[f], M());
880
+ r.textContent = Q ? Q.emptyScript : "";
881
+ for (let u = 0; u < f; u++)
882
+ r.append(p[u], L()), E.nextNode(), c.push({ type: 2, index: ++n });
883
+ r.append(p[f], L());
884
884
  }
885
885
  }
886
886
  } else if (r.nodeType === 8)
887
- if (r.data === ne)
887
+ if (r.data === ce)
888
888
  c.push({ type: 2, index: n });
889
889
  else {
890
890
  let p = -1;
891
- for (; (p = r.data.indexOf(_, p + 1)) !== -1; )
892
- c.push({ type: 7, index: n }), p += _.length - 1;
891
+ for (; (p = r.data.indexOf(A, p + 1)) !== -1; )
892
+ c.push({ type: 7, index: n }), p += A.length - 1;
893
893
  }
894
894
  n++;
895
895
  }
896
896
  }
897
897
  static createElement(t, e) {
898
- const i = E.createElement("template");
898
+ const i = P.createElement("template");
899
899
  return i.innerHTML = t, i;
900
900
  }
901
901
  }
902
902
  function R(s, t, e = s, i) {
903
903
  var o, a;
904
- if (t === P)
904
+ if (t === O)
905
905
  return t;
906
906
  let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
907
- const n = L(t) ? void 0 : t._$litDirective$;
907
+ const n = B(t) ? void 0 : t._$litDirective$;
908
908
  return (r == null ? void 0 : r.constructor) !== n && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = R(s, r._$AS(s, t.values), r, i)), t;
909
909
  }
910
- class We {
910
+ class Ve {
911
911
  constructor(t, e) {
912
912
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
913
913
  }
@@ -918,17 +918,17 @@ class We {
918
918
  return this._$AM._$AU;
919
919
  }
920
920
  u(t) {
921
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? E).importNode(e, !0);
922
- S.currentNode = r;
923
- let n = S.nextNode(), o = 0, a = 0, c = i[0];
921
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? P).importNode(e, !0);
922
+ E.currentNode = r;
923
+ let n = E.nextNode(), o = 0, a = 0, c = i[0];
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 W(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new Ge(n, this, t)), this._$AV.push(h), c = i[++a];
928
928
  }
929
- o !== (c == null ? void 0 : c.index) && (n = S.nextNode(), o++);
929
+ o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
930
930
  }
931
- return S.currentNode = E, r;
931
+ return E.currentNode = P, r;
932
932
  }
933
933
  p(t) {
934
934
  let e = 0;
@@ -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 W {
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), B(t) ? t === d || t == null || t === "" ? (this._$AH !== d && this._$AR(), this._$AH = d) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ze(t) ? this.k(t) : this._(t);
960
960
  }
961
961
  S(t) {
962
962
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -965,28 +965,28 @@ 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 && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(P.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 = D.createElement(pe(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 {
976
- const o = new We(r, this), a = o.u(this.options);
976
+ const o = new Ve(r, this), a = o.u(this.options);
977
977
  o.p(e), this.T(a), this._$AH = o;
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 = Wt.get(t.strings);
982
+ return e === void 0 && Wt.set(t.strings, e = new D(t)), e;
983
983
  }
984
984
  k(t) {
985
- oe(this._$AH) || (this._$AH = [], this._$AR());
985
+ he(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 W(this.S(L()), this.S(L()), 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) {
@@ -1001,7 +1001,7 @@ class D {
1001
1001
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
1002
1002
  }
1003
1003
  }
1004
- class et {
1004
+ class st {
1005
1005
  get tagName() {
1006
1006
  return this.element.tagName;
1007
1007
  }
@@ -1009,49 +1009,49 @@ 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;
1016
1016
  let o = !1;
1017
1017
  if (n === void 0)
1018
- t = R(this, t, e, 0), o = !L(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
1018
+ t = R(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== O, o && (this._$AH = t);
1019
1019
  else {
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 === O && (h = this._$AH[c]), o || (o = !B(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
- class Fe extends et {
1031
+ class Ye extends st {
1032
1032
  constructor() {
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
- class Ye extends et {
1039
+ class qe extends st {
1040
1040
  constructor() {
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
- class Ve extends et {
1047
+ class Ke extends st {
1048
1048
  constructor(t, e, i, r, n) {
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) === O)
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) {
@@ -1059,7 +1059,7 @@ class Ve extends et {
1059
1059
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
1060
1060
  }
1061
1061
  }
1062
- class qe {
1062
+ class Ge {
1063
1063
  constructor(t, e, i) {
1064
1064
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
1065
1065
  }
@@ -1070,14 +1070,14 @@ class qe {
1070
1070
  R(this, t);
1071
1071
  }
1072
1072
  }
1073
- const ht = N.litHtmlPolyfillSupport;
1074
- ht == null || ht(H, D), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.1.2");
1075
- const Ke = (s, t, e) => {
1073
+ const lt = j.litHtmlPolyfillSupport;
1074
+ lt == null || lt(D, W), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.1.2");
1075
+ const Ze = (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 W(t.insertBefore(L(), n), n, void 0, e ?? {});
1081
1081
  }
1082
1082
  return r._$AI(s), r;
1083
1083
  };
@@ -1086,7 +1086,7 @@ const Ke = (s, t, e) => {
1086
1086
  * Copyright 2017 Google LLC
1087
1087
  * SPDX-License-Identifier: BSD-3-Clause
1088
1088
  */
1089
- let $ = class extends O {
1089
+ let w = class extends T {
1090
1090
  constructor() {
1091
1091
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1092
1092
  }
@@ -1097,7 +1097,7 @@ let $ = class extends O {
1097
1097
  }
1098
1098
  update(t) {
1099
1099
  const e = this.render();
1100
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ke(e, this.renderRoot, this.renderOptions);
1100
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Ze(e, this.renderRoot, this.renderOptions);
1101
1101
  }
1102
1102
  connectedCallback() {
1103
1103
  var t;
@@ -1108,20 +1108,20 @@ let $ = class extends O {
1108
1108
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
1109
1109
  }
1110
1110
  render() {
1111
- return P;
1111
+ return O;
1112
1112
  }
1113
1113
  };
1114
- var Gt;
1115
- $._$litElement$ = !0, $.finalized = !0, (Gt = globalThis.litElementHydrateSupport) == null || Gt.call(globalThis, { LitElement: $ });
1116
- const lt = globalThis.litElementPolyfillSupport;
1117
- lt == null || lt({ LitElement: $ });
1114
+ var Xt;
1115
+ w._$litElement$ = !0, w.finalized = !0, (Xt = globalThis.litElementHydrateSupport) == null || Xt.call(globalThis, { LitElement: w });
1116
+ const pt = globalThis.litElementPolyfillSupport;
1117
+ pt == null || pt({ LitElement: w });
1118
1118
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
1119
1119
  /**
1120
1120
  * @license
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 Je = { attribute: !0, type: String, converter: X, reflect: !1, hasChanged: At }, Xe = (s = Je, 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") {
@@ -1143,7 +1143,7 @@ const Ge = { attribute: !0, type: String, converter: Z, reflect: !1, hasChanged:
1143
1143
  throw Error("Unsupported decorator location: " + i);
1144
1144
  };
1145
1145
  function m(s) {
1146
- return (t, e) => typeof e == "object" ? Ze(s, t, e) : ((i, r, n) => {
1146
+ return (t, e) => typeof e == "object" ? Xe(s, t, e) : ((i, r, n) => {
1147
1147
  const o = r.hasOwnProperty(n);
1148
1148
  return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1149
1149
  })(s, t, e);
@@ -1153,15 +1153,15 @@ function m(s) {
1153
1153
  * Copyright 2017 Google LLC
1154
1154
  * SPDX-License-Identifier: BSD-3-Clause
1155
1155
  */
1156
- function z(s) {
1156
+ function M(s) {
1157
1157
  return m({ ...s, state: !0, attribute: !1 });
1158
1158
  }
1159
- var Je = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, Qe = (s, t, e, i) => {
1160
- for (var r = i > 1 ? void 0 : i ? Xe(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1159
+ var Qe = Object.defineProperty, ti = Object.getOwnPropertyDescriptor, ei = (s, t, e, i) => {
1160
+ for (var r = i > 1 ? void 0 : i ? ti(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1161
1161
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1162
- return i && r && Je(t, e, r), r;
1162
+ return i && r && Qe(t, e, r), r;
1163
1163
  };
1164
- class it extends $ {
1164
+ class rt extends w {
1165
1165
  constructor() {
1166
1166
  super(...arguments), this.anchor = "BottomRight";
1167
1167
  }
@@ -1170,10 +1170,10 @@ 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
- it.styles = [
1176
+ rt.styles = [
1177
1177
  U`
1178
1178
  :host {
1179
1179
  position: fixed;
@@ -1192,16 +1192,16 @@ it.styles = [
1192
1192
  }
1193
1193
  `
1194
1194
  ];
1195
- Qe([
1195
+ ei([
1196
1196
  m({ attribute: !0 })
1197
- ], it.prototype, "anchor", 2);
1197
+ ], rt.prototype, "anchor", 2);
1198
1198
  /**
1199
1199
  * @license
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 xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1204
+ let de = class {
1205
1205
  constructor(t) {
1206
1206
  }
1207
1207
  get _$AU() {
@@ -1222,68 +1222,68 @@ let he = class {
1222
1222
  * Copyright 2020 Google LLC
1223
1223
  * SPDX-License-Identifier: BSD-3-Clause
1224
1224
  */
1225
- const ti = (s) => s.strings === void 0;
1225
+ const ii = (s) => s.strings === void 0;
1226
1226
  /**
1227
1227
  * @license
1228
1228
  * Copyright 2017 Google LLC
1229
1229
  * SPDX-License-Identifier: BSD-3-Clause
1230
1230
  */
1231
- const j = (s, t) => {
1231
+ const H = (s, t) => {
1232
1232
  var i;
1233
1233
  const e = s._$AN;
1234
1234
  if (e === void 0)
1235
1235
  return !1;
1236
1236
  for (const r of e)
1237
- (i = r._$AO) == null || i.call(r, t, !1), j(r, t);
1237
+ (i = r._$AO) == null || i.call(r, t, !1), H(r, t);
1238
1238
  return !0;
1239
- }, X = (s) => {
1239
+ }, tt = (s) => {
1240
1240
  let t, e;
1241
1241
  do {
1242
1242
  if ((t = s._$AM) === void 0)
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
+ }, ue = (s) => {
1247
1247
  for (let t; t = s._$AM; s = t) {
1248
1248
  let e = t._$AN;
1249
1249
  if (e === void 0)
1250
1250
  t._$AN = e = /* @__PURE__ */ new Set();
1251
1251
  else if (e.has(s))
1252
1252
  break;
1253
- e.add(s), si(t);
1253
+ e.add(s), ni(t);
1254
1254
  }
1255
1255
  };
1256
- function ei(s) {
1257
- this._$AN !== void 0 ? (X(this), this._$AM = s, le(this)) : this._$AM = s;
1256
+ function si(s) {
1257
+ this._$AN !== void 0 ? (tt(this), this._$AM = s, ue(this)) : this._$AM = s;
1258
1258
  }
1259
- function ii(s, t = !1, e = 0) {
1259
+ function ri(s, t = !1, e = 0) {
1260
1260
  const i = this._$AH, r = this._$AN;
1261
1261
  if (r !== void 0 && r.size !== 0)
1262
1262
  if (t)
1263
1263
  if (Array.isArray(i))
1264
1264
  for (let n = e; n < i.length; n++)
1265
- j(i[n], !1), X(i[n]);
1265
+ H(i[n], !1), tt(i[n]);
1266
1266
  else
1267
- i != null && (j(i, !1), X(i));
1267
+ i != null && (H(i, !1), tt(i));
1268
1268
  else
1269
- j(this, s);
1269
+ H(this, s);
1270
1270
  }
1271
- const si = (s) => {
1272
- s.type == wt.CHILD && (s._$AP ?? (s._$AP = ii), s._$AQ ?? (s._$AQ = ei));
1271
+ const ni = (s) => {
1272
+ s.type == xt.CHILD && (s._$AP ?? (s._$AP = ri), s._$AQ ?? (s._$AQ = si));
1273
1273
  };
1274
- class pe extends he {
1274
+ class fe extends de {
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), ue(this), this.isConnected = t._$AU;
1280
1280
  }
1281
1281
  _$AO(t, e = !0) {
1282
1282
  var i, r;
1283
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (j(this, t), X(this));
1283
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (H(this, t), tt(this));
1284
1284
  }
1285
1285
  setValue(t) {
1286
- if (ti(this._$Ct))
1286
+ if (ii(this._$Ct))
1287
1287
  this._$Ct._$AI(t, this);
1288
1288
  else {
1289
1289
  const e = [...this._$Ct._$AH];
@@ -1295,34 +1295,34 @@ class pe extends he {
1295
1295
  reconnected() {
1296
1296
  }
1297
1297
  }
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) => {
1298
+ const oi = /* @__PURE__ */ new WeakMap();
1299
+ let Ft = 0;
1300
+ const dt = /* @__PURE__ */ new Map(), Vt = /* @__PURE__ */ new WeakSet(), Yt = () => new Promise((s) => requestAnimationFrame(s)), ai = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], qt = (s, t) => {
1301
1301
  const e = s - t;
1302
1302
  return e === 0 ? void 0 : e;
1303
- }, Vt = (s, t) => {
1303
+ }, Kt = (s, t) => {
1304
1304
  const e = s / t;
1305
1305
  return e === 1 ? void 0 : e;
1306
1306
  }, ut = { left: (s, t) => {
1307
- const e = Yt(s, t);
1307
+ const e = qt(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 = qt(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 = Kt(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 = Kt(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
+ } }, ci = { duration: 333, easing: "ease-in-out" }, hi = ["left", "top", "width", "height", "opacity", "color", "background"], Gt = /* @__PURE__ */ new WeakMap();
1323
+ class li extends fe {
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 === xt.CHILD)
1326
1326
  throw Error("The `animate` directive must be used in attribute position.");
1327
1327
  this.createFinished();
1328
1328
  }
@@ -1337,10 +1337,10 @@ 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
- return ri.get(this.u);
1343
+ return oi.get(this.u);
1344
1344
  }
1345
1345
  isDisabled() {
1346
1346
  var t;
@@ -1349,12 +1349,12 @@ 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, Gt.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 ?? {};
1356
1356
  const e = this.getController();
1357
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ai), this.options = t;
1357
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = hi), this.options = t;
1358
1358
  }
1359
1359
  m() {
1360
1360
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
@@ -1381,17 +1381,17 @@ 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);
1388
1388
  this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1389
1389
  } else {
1390
- const n = pt.get(this.options.inId);
1390
+ const n = dt.get(this.options.inId);
1391
1391
  if (n) {
1392
- pt.delete(this.options.inId);
1392
+ dt.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, Ft++, t.forEach((c) => c.zIndex = Ft);
1395
1395
  } else
1396
1396
  this.options.in && (t = [...this.options.in, {}]);
1397
1397
  }
@@ -1408,9 +1408,9 @@ class ci extends pe {
1408
1408
  }
1409
1409
  async disconnected() {
1410
1410
  var e;
1411
- if (!this.h || (this.options.id !== void 0 && pt.set(this.options.id, this.A), this.options.out === void 0))
1411
+ if (!this.h || (this.options.id !== void 0 && dt.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,19 +1436,19 @@ 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 = Gt.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 = Vt.has(this.u);
1446
1446
  return t || this.u.updateComplete.then(() => {
1447
- Wt.add(this.u);
1447
+ Vt.add(this.u);
1448
1448
  }), t;
1449
1449
  }
1450
1450
  j(t, e = this.O()) {
1451
- const i = { ...oi };
1451
+ const i = { ...ci };
1452
1452
  return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1453
1453
  }
1454
1454
  N(t, e, i) {
@@ -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 pi = Ct(li), di = { 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 Zt = Ct(class extends de {
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 !== xt.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) {
@@ -1529,21 +1529,21 @@ const pi = At(class extends he {
1529
1529
  const o = !!t[n];
1530
1530
  o === this.st.has(n) || (r = this.nt) != null && r.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
1531
1531
  }
1532
- return P;
1532
+ return O;
1533
1533
  }
1534
- }), Y = (s, t, e) => {
1534
+ }), q = (s, t, e) => {
1535
1535
  s && e.style.setProperty(t, s);
1536
- }, ue = (s, t) => {
1536
+ }, ge = (s, t) => {
1537
1537
  var e, i, r, n;
1538
- Y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), Y(
1538
+ q((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), q(
1539
1539
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1540
1540
  "--text-on-primary-background",
1541
1541
  t
1542
- ), Y(
1542
+ ), q(
1543
1543
  (r = s.colors) == null ? void 0 : r.secondaryBackground,
1544
1544
  "--secondary-background",
1545
1545
  t
1546
- ), Y(
1546
+ ), q(
1547
1547
  (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
1548
1548
  "--text-on-secondary-background",
1549
1549
  t
@@ -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();
1557
+ const me = () => new ui();
1558
1558
  class ui {
1559
1559
  }
1560
- const dt = /* @__PURE__ */ new WeakMap(), fe = At(class extends pe {
1560
+ const ft = /* @__PURE__ */ new WeakMap(), ve = Ct(class extends fe {
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 = ft.get(t);
1573
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ft.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 = ft.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) => {
1589
- for (var r = i > 1 ? void 0 : i ? fi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1588
+ var fi = Object.defineProperty, gi = Object.getOwnPropertyDescriptor, F = (s, t, e, i) => {
1589
+ for (var r = i > 1 ? void 0 : i ? gi(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 && fi(t, e, r), r;
1592
1592
  };
1593
- class A extends $ {
1593
+ class _ extends w {
1594
1594
  constructor() {
1595
- super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = de();
1595
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = me(), this.widgetActive$ = new re(!1), this.componentIsDestroyed$ = new $t();
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,56 +1608,68 @@ 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;
1612
- (t = this.application) != null && t.settings && ue(this.application.settings.branding, this);
1615
+ (t = this.application) != null && t.settings && ge(this.application.settings.branding, this);
1613
1616
  }
1614
1617
  async _renderSymbol() {
1615
1618
  var a, c, h;
1616
1619
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1617
1620
  if (e)
1618
- return T` <img src=${e} class="trigger-icon" alt="" /> `;
1621
+ return I` <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;
1622
- const r = async (l) => li, { type: n, content: o } = i;
1624
+ return d;
1625
+ const r = async (l) => di, { type: n, content: o } = i;
1623
1626
  switch (n) {
1624
1627
  case "Telia": {
1625
1628
  const l = await r();
1626
- return l ? T`<telia-icon
1629
+ return l ? I`<telia-icon
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
  }
1639
+ hideTrigger() {
1640
+ this.triggerVisible = !1;
1641
+ }
1642
+ showTrigger() {
1643
+ this.triggerVisible = !0;
1644
+ }
1636
1645
  render() {
1637
1646
  var t, e, i, r;
1638
- return T`<div class="trigger-container" ${fe(this.containerRef)}>
1639
- ${!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`
1647
+ return I`<div
1648
+ class=${Zt({
1649
+ "trigger-container": !0,
1650
+ hidden: !this.triggerVisible
1651
+ })}
1652
+ ${ve(this.containerRef)}
1653
+ >
1654
+ ${!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) ? I`
1640
1655
  <button
1641
1656
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1642
1657
  class="trigger-label"
1643
1658
  @click=${this.toggleActive}
1644
- ${hi({
1659
+ ${pi({
1645
1660
  keyframeOptions: {},
1646
- in: ni,
1661
+ in: ai,
1647
1662
  stabilizeOut: !0,
1648
1663
  skipInitial: !1
1649
1664
  })}
1650
1665
  >
1651
1666
  ${this.application.settings.branding.other.buttonLabelText}
1652
1667
  </button>
1653
- ` : u}
1668
+ ` : d}
1654
1669
 
1655
1670
  <button
1656
1671
  label="Widget trigger"
1657
- class=${pi({
1672
+ class=${Zt({
1658
1673
  trigger: !0,
1659
1674
  active: this.active,
1660
1675
  rendered: this.loaded
@@ -1693,7 +1708,7 @@ class A extends $ {
1693
1708
  </div>`;
1694
1709
  }
1695
1710
  }
1696
- A.styles = [
1711
+ _.styles = [
1697
1712
  U`
1698
1713
  :host {
1699
1714
  --voca-rem-multiplier: 0.625;
@@ -1710,6 +1725,9 @@ A.styles = [
1710
1725
  align-items: center;
1711
1726
  gap: 1rem;
1712
1727
  }
1728
+ .trigger-container.hidden {
1729
+ display: none;
1730
+ }
1713
1731
 
1714
1732
  .trigger {
1715
1733
  transform: scale(0);
@@ -1802,24 +1820,27 @@ A.styles = [
1802
1820
  }
1803
1821
  `
1804
1822
  ];
1805
- st([
1823
+ F([
1806
1824
  m({ attribute: !1 })
1807
- ], A.prototype, "application", 2);
1808
- st([
1809
- z()
1810
- ], A.prototype, "active", 2);
1811
- st([
1812
- z()
1813
- ], A.prototype, "loaded", 2);
1814
- st([
1815
- z()
1816
- ], A.prototype, "icon", 2);
1817
- var gi = Object.defineProperty, mi = Object.getOwnPropertyDescriptor, C = (s, t, e, i) => {
1818
- for (var r = i > 1 ? void 0 : i ? mi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1825
+ ], _.prototype, "application", 2);
1826
+ F([
1827
+ M()
1828
+ ], _.prototype, "active", 2);
1829
+ F([
1830
+ M()
1831
+ ], _.prototype, "triggerVisible", 2);
1832
+ F([
1833
+ M()
1834
+ ], _.prototype, "loaded", 2);
1835
+ F([
1836
+ M()
1837
+ ], _.prototype, "icon", 2);
1838
+ var mi = Object.defineProperty, vi = Object.getOwnPropertyDescriptor, S = (s, t, e, i) => {
1839
+ for (var r = i > 1 ? void 0 : i ? vi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
1819
1840
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
1820
- return i && r && gi(t, e, r), r;
1841
+ return i && r && mi(t, e, r), r;
1821
1842
  };
1822
- const vi = (s) => {
1843
+ const yi = (s) => {
1823
1844
  class t extends s {
1824
1845
  constructor() {
1825
1846
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1858,28 +1879,28 @@ const vi = (s) => {
1858
1879
  box-sizing: border-box;
1859
1880
  }
1860
1881
  `
1861
- ], C([
1882
+ ], S([
1862
1883
  m()
1863
- ], t.prototype, "properties", 2), C([
1884
+ ], t.prototype, "properties", 2), S([
1864
1885
  m()
1865
- ], t.prototype, "context", 2), C([
1886
+ ], t.prototype, "context", 2), S([
1866
1887
  m()
1867
- ], t.prototype, "layout", 2), C([
1888
+ ], t.prototype, "layout", 2), S([
1868
1889
  m()
1869
- ], t.prototype, "name", 2), C([
1890
+ ], t.prototype, "name", 2), S([
1870
1891
  m()
1871
- ], t.prototype, "type", 2), C([
1892
+ ], t.prototype, "type", 2), S([
1872
1893
  m({ attribute: !1 })
1873
- ], t.prototype, "application", 2), C([
1894
+ ], t.prototype, "application", 2), S([
1874
1895
  m({ attribute: !1 })
1875
1896
  ], t.prototype, "parent", 2), t;
1876
1897
  };
1877
- class xt extends vi($) {
1898
+ class St extends yi(w) {
1878
1899
  render() {
1879
- return T`Non resolved component`;
1900
+ return I`Non resolved component`;
1880
1901
  }
1881
1902
  }
1882
- xt.styles = [
1903
+ St.styles = [
1883
1904
  U`
1884
1905
  :host {
1885
1906
  display: block;
@@ -1891,20 +1912,20 @@ xt.styles = [
1891
1912
  * Copyright 2021 Google LLC
1892
1913
  * SPDX-License-Identifier: BSD-3-Clause
1893
1914
  */
1894
- function* yi(s, t) {
1915
+ function* bi(s, t) {
1895
1916
  if (s !== void 0) {
1896
1917
  let e = 0;
1897
1918
  for (const i of s)
1898
1919
  yield t(i, e++);
1899
1920
  }
1900
1921
  }
1901
- var y = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(y || {});
1922
+ var b = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(b || {});
1902
1923
  /**
1903
1924
  * @license
1904
1925
  * Copyright 2021 Google LLC
1905
1926
  * SPDX-License-Identifier: BSD-3-Clause
1906
1927
  */
1907
- let bi = class extends Event {
1928
+ let $i = class extends Event {
1908
1929
  constructor(t, e, i) {
1909
1930
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1910
1931
  }
@@ -1919,7 +1940,7 @@ let bi = class extends Event {
1919
1940
  * Copyright 2021 Google LLC
1920
1941
  * SPDX-License-Identifier: BSD-3-Clause
1921
1942
  */
1922
- class $i {
1943
+ class wi {
1923
1944
  get value() {
1924
1945
  return this.o;
1925
1946
  }
@@ -1959,7 +1980,7 @@ let _i = class extends Event {
1959
1980
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1960
1981
  }
1961
1982
  };
1962
- class Kt extends $i {
1983
+ class Jt extends wi {
1963
1984
  constructor(t, e, i) {
1964
1985
  var r, n;
1965
1986
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
@@ -1971,7 +1992,7 @@ class Kt extends $i {
1971
1992
  return;
1972
1993
  const c = /* @__PURE__ */ new Set();
1973
1994
  for (const [h, { consumerHost: l }] of this.subscriptions)
1974
- c.has(h) || (c.add(h), l.dispatchEvent(new bi(this.context, h, !0)));
1995
+ c.has(h) || (c.add(h), l.dispatchEvent(new $i(this.context, h, !0)));
1975
1996
  o.stopPropagation();
1976
1997
  }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (r = this.host).addController) == null || n.call(r, this);
1977
1998
  }
@@ -1987,12 +2008,12 @@ class Kt extends $i {
1987
2008
  * Copyright 2017 Google LLC
1988
2009
  * SPDX-License-Identifier: BSD-3-Clause
1989
2010
  */
1990
- function wi({ context: s }) {
2011
+ function Ai({ context: s }) {
1991
2012
  return (t, e) => {
1992
2013
  const i = /* @__PURE__ */ new WeakMap();
1993
2014
  if (typeof e == "object")
1994
2015
  return e.addInitializer(function() {
1995
- i.set(this, new Kt(this, { context: s }));
2016
+ i.set(this, new Jt(this, { context: s }));
1996
2017
  }), { get() {
1997
2018
  return t.get.call(this);
1998
2019
  }, set(r) {
@@ -2004,7 +2025,7 @@ function wi({ context: s }) {
2004
2025
  } };
2005
2026
  {
2006
2027
  t.constructor.addInitializer((o) => {
2007
- i.set(o, new Kt(o, { context: s }));
2028
+ i.set(o, new Jt(o, { context: s }));
2008
2029
  });
2009
2030
  const r = Object.getOwnPropertyDescriptor(t, e);
2010
2031
  let n;
@@ -2025,15 +2046,15 @@ function wi({ context: s }) {
2025
2046
  }
2026
2047
  };
2027
2048
  }
2028
- var Ai = Object.defineProperty, xi = Object.getOwnPropertyDescriptor, Ci = (s, t, e, i) => {
2029
- for (var r = i > 1 ? void 0 : i ? xi(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2049
+ var xi = Object.defineProperty, Ci = Object.getOwnPropertyDescriptor, Si = (s, t, e, i) => {
2050
+ for (var r = i > 1 ? void 0 : i ? Ci(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2030
2051
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2031
- return i && r && Ai(t, e, r), r;
2052
+ return i && r && xi(t, e, r), r;
2032
2053
  };
2033
- const Si = "application";
2034
- class rt extends $ {
2054
+ const Ei = "application";
2055
+ class nt extends w {
2035
2056
  constructor() {
2036
- super(...arguments), this.nodes = [], this.wrapperRef = de();
2057
+ super(...arguments), this.nodes = [], this.wrapperRef = me();
2037
2058
  }
2038
2059
  addChild(t) {
2039
2060
  t.parent = this, this.nodes.push(t);
@@ -2042,7 +2063,7 @@ class rt extends $ {
2042
2063
  if (!this.wrapperRef.value)
2043
2064
  return;
2044
2065
  const t = this.application.settings;
2045
- t != null && t.branding && ue(t.branding, this.wrapperRef.value);
2066
+ t != null && t.branding && ge(t.branding, this.wrapperRef.value);
2046
2067
  }
2047
2068
  applyStyles() {
2048
2069
  if (!this.wrapperRef.value)
@@ -2056,12 +2077,12 @@ class rt extends $ {
2056
2077
  this.applyBranding(), this.applyStyles();
2057
2078
  }
2058
2079
  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)}>
2060
- ${yi(this.nodes, (t) => t)}
2080
+ return this.application.renderStrategy === b.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")), I`<div class="widget-container" ${ve(this.wrapperRef)}>
2081
+ ${bi(this.nodes, (t) => t)}
2061
2082
  </div>`;
2062
2083
  }
2063
2084
  }
2064
- rt.styles = U`
2085
+ nt.styles = U`
2065
2086
  :host {
2066
2087
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2067
2088
  --spacing-xs: 0.2rem;
@@ -2106,6 +2127,7 @@ rt.styles = U`
2106
2127
  @media screen and (max-width: 800px) {
2107
2128
  :host(.floating) {
2108
2129
  inset: 0 0 95px 0;
2130
+ height: 100%;
2109
2131
  }
2110
2132
  }
2111
2133
  @media screen and (min-width: 801px) {
@@ -2126,6 +2148,10 @@ rt.styles = U`
2126
2148
  :host(.floating) .widget-container {
2127
2149
  box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
2128
2150
  border-radius: 0.7rem;
2151
+
2152
+ @media screen and (max-width: 800px) {
2153
+ border-radius: 0;
2154
+ }
2129
2155
  }
2130
2156
 
2131
2157
  * {
@@ -2164,13 +2190,14 @@ rt.styles = U`
2164
2190
  :host(.hidden) {
2165
2191
  opacity: 0;
2166
2192
  animation: slideDown 0.3s linear;
2193
+ pointer-events: none;
2167
2194
  }
2168
2195
  `;
2169
- Ci([
2196
+ Si([
2170
2197
  m({ attribute: !1 }),
2171
- wi({ context: Si })
2172
- ], rt.prototype, "application", 2);
2173
- class Ei {
2198
+ Ai({ context: Ei })
2199
+ ], nt.prototype, "application", 2);
2200
+ class Pi {
2174
2201
  constructor() {
2175
2202
  this.root = this.createRoot();
2176
2203
  }
@@ -2190,18 +2217,18 @@ class Ei {
2190
2217
  };
2191
2218
  }, r = (a, c, h, l) => {
2192
2219
  h.forEach((p) => {
2193
- const f = i(p), d = l[f.definitionId];
2194
- if (!d) {
2220
+ const f = i(p), u = l[f.definitionId];
2221
+ if (!u) {
2195
2222
  console.error(
2196
2223
  `No definition found for component type '${f.definitionId}'.`
2197
2224
  );
2198
2225
  return;
2199
2226
  }
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(
2227
+ const g = a.createNode(u.type, u.type);
2228
+ 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
2229
  a,
2203
2230
  g,
2204
- d.children,
2231
+ u.children,
2205
2232
  l
2206
2233
  // views
2207
2234
  ));
@@ -2210,12 +2237,12 @@ class Ei {
2210
2237
  return r(this, this.root, [n], o), this.root;
2211
2238
  }
2212
2239
  createRoot() {
2213
- return new rt();
2240
+ return new nt();
2214
2241
  }
2215
2242
  createNode(t, e) {
2216
2243
  const i = this.resolveComponent(e);
2217
2244
  if (!i)
2218
- return console.warn(`Unable to resolve component: ${e}`), new xt();
2245
+ return console.warn(`Unable to resolve component: ${e}`), new St();
2219
2246
  const r = new i();
2220
2247
  return r.type = e, r.name = t, r;
2221
2248
  }
@@ -2226,7 +2253,7 @@ class Ei {
2226
2253
  return this.root;
2227
2254
  }
2228
2255
  }
2229
- const ge = class {
2256
+ const ye = class {
2230
2257
  constructor() {
2231
2258
  this.components = /* @__PURE__ */ new Map();
2232
2259
  }
@@ -2246,34 +2273,50 @@ const ge = class {
2246
2273
  await Promise.all(s);
2247
2274
  }
2248
2275
  defineAsWebComponent(s, t) {
2249
- const e = ge.ResolveWebComponentName(s);
2276
+ const e = ye.ResolveWebComponentName(s);
2250
2277
  customElements.get(e) || customElements.define(e, t);
2251
2278
  }
2252
2279
  };
2253
- let me = ge;
2254
- me.ResolveWebComponentName = (s) => `ace-${s}`;
2255
- class Pi {
2256
- constructor(t) {
2257
- this.widgetId = t;
2258
- }
2259
- _prefixKey(t) {
2260
- return `ace_${this.widgetId.substring(0, 7)}-${t}`;
2280
+ let be = ye;
2281
+ be.ResolveWebComponentName = (s) => `ace-${s}`;
2282
+ var y = /* @__PURE__ */ ((s) => (s.Mandatory = "mandatory", s.Preferences = "preferences", s.Analytics = "analytics", s))(y || {});
2283
+ class Oi {
2284
+ constructor(t, e, i) {
2285
+ this.widgetId = t, this.storage = e === "localStorage" ? window.localStorage : window.sessionStorage, this.policy = i;
2261
2286
  }
2262
- set(t, e) {
2263
- sessionStorage.setItem(this._prefixKey(t), e);
2287
+ set(t, e, i) {
2288
+ if (this.policy[i]) {
2289
+ const r = { value: e, category: i };
2290
+ this.storage.setItem(this._prefixKey(t), JSON.stringify(r));
2291
+ } else
2292
+ console.warn(
2293
+ `Storage policy does not allow storing items in category: ${i}`
2294
+ );
2264
2295
  }
2265
2296
  get(t) {
2266
- const e = sessionStorage.getItem(this._prefixKey(t));
2297
+ const e = this.storage.getItem(this._prefixKey(t));
2267
2298
  if (!e)
2268
2299
  return null;
2269
2300
  try {
2270
- return JSON.parse(e);
2301
+ const i = JSON.parse(e);
2302
+ return this.policy[i.category] ? i.value : (console.warn(
2303
+ `Storage policy does not allow retrieving items from category: ${i.category}`
2304
+ ), null);
2271
2305
  } catch {
2272
- return e;
2306
+ return null;
2273
2307
  }
2274
2308
  }
2309
+ removeItem(t) {
2310
+ this.storage.removeItem(this._prefixKey(t));
2311
+ }
2312
+ updatePolicy(t) {
2313
+ this.policy = t;
2314
+ }
2315
+ _prefixKey(t) {
2316
+ return `ace_${this.widgetId.substring(0, 7)}-${t}`;
2317
+ }
2275
2318
  }
2276
- class Oi {
2319
+ class Ti {
2277
2320
  constructor() {
2278
2321
  this.texts = /* @__PURE__ */ new Map();
2279
2322
  }
@@ -2288,12 +2331,37 @@ class Oi {
2288
2331
  return this.texts.get(t) || e;
2289
2332
  }
2290
2333
  }
2291
- class Ti {
2334
+ class Ii {
2335
+ constructor(t) {
2336
+ this.widget = t, this.name = t.name;
2337
+ }
2338
+ open() {
2339
+ this.widget.appendToDOM();
2340
+ }
2341
+ close() {
2342
+ this.widget.hide();
2343
+ }
2344
+ hideTriggerButton() {
2345
+ var t;
2346
+ (t = this.widget.trigger) == null || t.hideTrigger();
2347
+ }
2348
+ showTriggerButton() {
2349
+ var t;
2350
+ (t = this.widget.trigger) == null || t.showTrigger();
2351
+ }
2352
+ }
2353
+ class Ri {
2292
2354
  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 || {});
2355
+ this.id = t, this.name = e, this.container = i, this.settings = r, this.options = n, this.platform = new Pi(), this.texts = new Ti(), this.renderStrategy = b.Inline, this.anchor = "BottomRight", this.autoActivate = !1, this.plugins = [], this.componentResolver = new be(), this.components = [], this.trigger = null, this.api = new Ii(this), this.renderStrategy = this.options.renderStrategy || b.Inline, this.triggerIcon = this.options.triggerIcon;
2356
+ const o = {
2357
+ [y.Mandatory]: !0,
2358
+ [y.Preferences]: !0,
2359
+ [y.Analytics]: !0
2360
+ };
2361
+ this.storage = new Oi(this.id, "sessionStorage", o), 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
2362
  }
2295
2363
  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) {
2364
+ if (await this.loadPlugins(), await this.componentResolver.loadComponents(), this.root = this.platform.createComponentModel(this.settings, this), this.container.setState(ne.Ready), this.autoActivate) {
2297
2365
  const t = this.render();
2298
2366
  t && this._getTargetElement().appendChild(t);
2299
2367
  }
@@ -2312,16 +2380,24 @@ class Ti {
2312
2380
  return this.plugins.push(t), this;
2313
2381
  }
2314
2382
  appendToDOM() {
2315
- this.root && (this.root.classList.add("expanded"), this.root.classList.remove("hidden"), document.body.appendChild(this.root)), this.storage.set("open", "true");
2383
+ this.root && (this.root.classList.add("expanded"), this.root.classList.remove("hidden"), document.body.appendChild(this.root)), this.storage.set("open", "true", y.Mandatory);
2316
2384
  }
2317
2385
  hide() {
2318
- this.root && (this.root.classList.add("hidden"), this.root.classList.remove("expanded")), this.storage.set("open", "false");
2386
+ this.root && (this.root.classList.add("hidden"), this.root.classList.remove("expanded")), this.storage.set("open", "false", y.Mandatory);
2319
2387
  }
2320
2388
  mute() {
2321
- this.storage.set("muteAudioNotifications", "true");
2389
+ this.storage.set(
2390
+ "muteAudioNotifications",
2391
+ "true",
2392
+ y.Mandatory
2393
+ );
2322
2394
  }
2323
2395
  unmute() {
2324
- this.storage.set("muteAudioNotifications", "false");
2396
+ this.storage.set(
2397
+ "muteAudioNotifications",
2398
+ "false",
2399
+ y.Mandatory
2400
+ );
2325
2401
  }
2326
2402
  registerComponent(t, e) {
2327
2403
  this.componentResolver.registerComponent(t, e);
@@ -2338,26 +2414,26 @@ class Ti {
2338
2414
  }
2339
2415
  _getTargetElement() {
2340
2416
  let t = "bottom-right";
2341
- if (this.anchor === "BottomRight" ? t = "bottom-right" : this.anchor === "BottomLeft" && (t = "bottom-left"), this.renderStrategy === y.Trigger) {
2417
+ if (this.anchor === "BottomRight" ? t = "bottom-right" : this.anchor === "BottomLeft" && (t = "bottom-left"), this.renderStrategy === b.Trigger) {
2342
2418
  let e = document.querySelector(
2343
2419
  `ace-trigger-slot.${t}`
2344
2420
  );
2345
- return e || (e = new it(), e.anchor = this.anchor, document.body.appendChild(e)), e;
2421
+ return e || (e = new rt(), e.anchor = this.anchor, document.body.appendChild(e)), e;
2346
2422
  }
2347
2423
  return document.body;
2348
2424
  }
2349
2425
  render() {
2350
- if (this.renderStrategy === y.Trigger) {
2351
- const t = new A();
2426
+ if (this.renderStrategy === b.Trigger) {
2427
+ const t = new _();
2352
2428
  return t.application = this, this.trigger = t, this.storage.get("open") && this.trigger.toggleActive(), t;
2353
2429
  }
2354
2430
  return this.root;
2355
2431
  }
2356
2432
  }
2357
- const Di = (s) => new Q(s), ve = class {
2433
+ const Fi = (s) => new et(s), $e = class {
2358
2434
  // TODO:
2359
2435
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
2360
- constructor(s = ve.endpoint) {
2436
+ constructor(s = $e.endpoint) {
2361
2437
  this._endpoint = s;
2362
2438
  }
2363
2439
  async getSite(s) {
@@ -2365,8 +2441,8 @@ const Di = (s) => new Q(s), ve = class {
2365
2441
  return e ? {
2366
2442
  id: e.id,
2367
2443
  apps: e.widgets.map((i) => {
2368
- let r = y.Inline;
2369
- return i.renderStrategy === "Trigger" && (r = y.Trigger), {
2444
+ let r = b.Inline;
2445
+ return i.renderStrategy === "Trigger" && (r = b.Trigger), {
2370
2446
  id: i.id,
2371
2447
  widgetId: i.widgetId,
2372
2448
  renderStrategy: r,
@@ -2388,16 +2464,41 @@ const Di = (s) => new Q(s), ve = class {
2388
2464
  } : null;
2389
2465
  }
2390
2466
  };
2391
- let Q = ve;
2392
- Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2393
- class Ri {
2467
+ let et = $e;
2468
+ et.endpoint = "https://widgets.ace.teliacompany.net/api";
2469
+ class Ui {
2470
+ constructor(t) {
2471
+ this.site = t;
2472
+ }
2473
+ storagePolicy(t) {
2474
+ var i;
2475
+ (((i = this.site.environment) == null ? void 0 : i.applications) || []).forEach((r) => {
2476
+ if (r.storage) {
2477
+ const n = {
2478
+ [y.Analytics]: t.includes("analytics"),
2479
+ [y.Mandatory]: t.includes("mandatory"),
2480
+ [y.Preferences]: t.includes("preferences")
2481
+ };
2482
+ r.storage.updatePolicy(n);
2483
+ }
2484
+ });
2485
+ }
2486
+ }
2487
+ class Mi {
2394
2488
  constructor() {
2395
- this.applications = [], this.container = new Rt("environment", this), setTimeout(() => {
2489
+ this.applications = [], this.container = new Ut("environment", this), this.bootstrapped = !1, this.site = null, this.widgetAPIHandlers = /* @__PURE__ */ new Map(), this.siteConfigurationHandlers = [], setTimeout(() => {
2396
2490
  this.notifyWidgetsOfCreation();
2397
2491
  }, 1e3);
2398
2492
  }
2399
2493
  async bootstrap() {
2400
- await this.activate();
2494
+ await this.activate(), this.siteConfigurationHandlers.forEach((t) => {
2495
+ this.site && t(this.site.api);
2496
+ });
2497
+ for (const [t, e] of this.widgetAPIHandlers)
2498
+ e.forEach((i) => {
2499
+ i();
2500
+ });
2501
+ this.bootstrapped = !0;
2401
2502
  }
2402
2503
  async activate() {
2403
2504
  const t = this.applications.filter(
@@ -2416,19 +2517,41 @@ class Ri {
2416
2517
  );
2417
2518
  });
2418
2519
  }
2520
+ configure(t) {
2521
+ if (!this.site || !this.bootstrapped) {
2522
+ this.siteConfigurationHandlers.push(t);
2523
+ return;
2524
+ }
2525
+ t(this.site.api);
2526
+ }
2527
+ widget(t, e) {
2528
+ const i = this.applications.find((r) => r.name === t);
2529
+ if (!i) {
2530
+ const r = this.widgetAPIHandlers.get(t) || [];
2531
+ r.push(() => {
2532
+ const n = this.applications.find((o) => o.name === t);
2533
+ e(n == null ? void 0 : n.api);
2534
+ }), this.widgetAPIHandlers.set(t, r);
2535
+ return;
2536
+ }
2537
+ e(i == null ? void 0 : i.api);
2538
+ }
2419
2539
  registerApp(t, e, i, r) {
2420
- const n = new Rt(e, this), o = new Ti(t, e, n, i, r);
2540
+ const n = new Ut(e, this), o = new Ri(t, e, n, i, r);
2421
2541
  this.applications.push(o);
2422
2542
  }
2543
+ registerSite(t) {
2544
+ this.site = t;
2545
+ }
2423
2546
  plugin(t) {
2424
2547
  return this.applications.forEach((e) => {
2425
2548
  e.plugin(t);
2426
2549
  }), this;
2427
2550
  }
2428
2551
  }
2429
- class Ui {
2552
+ class ki {
2430
2553
  constructor(t) {
2431
- 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));
2554
+ this.configurations = [], this.httpClient = new et(), this.api = new Ui(this), this.httpClient = new et(), typeof t == "string" ? this.url = t : (t.httpClient && (this.httpClient = t.httpClient), this.loadFromConfig(t));
2432
2555
  }
2433
2556
  async load(t) {
2434
2557
  const e = await this.httpClient.getSite(t);
@@ -2453,7 +2576,7 @@ class Ui {
2453
2576
  }
2454
2577
  async bootstrap(t) {
2455
2578
  var e;
2456
- this.url && await this.load(this.url), this.environment = new Ri(), this.addGlobal(this.environment);
2579
+ this.url && await this.load(this.url), this.environment = new Mi(), this.addGlobal(this.environment);
2457
2580
  for await (const i of this.configurations) {
2458
2581
  const r = await this.httpClient.getWidget(i.widgetId);
2459
2582
  r && ((e = this.environment) == null || e.registerApp(
@@ -2468,18 +2591,23 @@ class Ui {
2468
2591
  }
2469
2592
  ));
2470
2593
  }
2471
- t(this.environment), await this.environment.bootstrap();
2594
+ t(this.environment), this.environment.registerSite(this), await this.environment.bootstrap();
2472
2595
  }
2473
2596
  addGlobal(t) {
2474
- globalThis.widgets = t;
2597
+ const e = globalThis.widgets;
2598
+ ((e == null ? void 0 : e._w) || []).forEach(([i, r]) => {
2599
+ t.widget(i, r);
2600
+ }), ((e == null ? void 0 : e._c) || []).forEach((i) => {
2601
+ t.configure(i);
2602
+ }), globalThis.widgets = t;
2475
2603
  }
2476
2604
  }
2477
- var Ii = Object.defineProperty, ki = Object.getOwnPropertyDescriptor, Ct = (s, t, e, i) => {
2478
- for (var r = i > 1 ? void 0 : i ? ki(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2605
+ var Ni = Object.defineProperty, ji = Object.getOwnPropertyDescriptor, Et = (s, t, e, i) => {
2606
+ for (var r = i > 1 ? void 0 : i ? ji(t, e) : t, n = s.length - 1, o; n >= 0; n--)
2479
2607
  (o = s[n]) && (r = (i ? o(t, e, r) : o(r)) || r);
2480
- return i && r && Ii(t, e, r), r;
2608
+ return i && r && Ni(t, e, r), r;
2481
2609
  };
2482
- class W extends $ {
2610
+ class V extends w {
2483
2611
  constructor() {
2484
2612
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2485
2613
  }
@@ -2503,49 +2631,50 @@ class W extends $ {
2503
2631
  }
2504
2632
  render() {
2505
2633
  if (!this.widget || this.status !== "activated")
2506
- return u;
2507
- if (this.widget.renderStrategy === y.Trigger) {
2508
- const t = new A();
2634
+ return d;
2635
+ if (this.widget.renderStrategy === b.Trigger) {
2636
+ const t = new _();
2509
2637
  return t.application = this.widget, t;
2510
2638
  }
2511
2639
  return this.widget.render();
2512
2640
  }
2513
2641
  }
2514
- W.styles = [
2642
+ V.styles = [
2515
2643
  U`
2516
2644
  :host {
2517
2645
  display: block;
2518
2646
  }
2519
2647
  `
2520
2648
  ];
2521
- Ct([
2649
+ Et([
2522
2650
  m({ attribute: !0 })
2523
- ], W.prototype, "name", 2);
2524
- Ct([
2525
- z()
2526
- ], W.prototype, "widget", 2);
2527
- Ct([
2528
- z()
2529
- ], W.prototype, "status", 2);
2530
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", it);
2531
- customElements.get("ace-trigger") || customElements.define("ace-trigger", A);
2532
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", xt);
2533
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", rt);
2534
- customElements.get("ace-widget") || customElements.define("ace-widget", W);
2535
- const zi = async (s, t) => {
2536
- await new Ui(s).bootstrap(t);
2651
+ ], V.prototype, "name", 2);
2652
+ Et([
2653
+ M()
2654
+ ], V.prototype, "widget", 2);
2655
+ Et([
2656
+ M()
2657
+ ], V.prototype, "status", 2);
2658
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", rt);
2659
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", _);
2660
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", St);
2661
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", nt);
2662
+ customElements.get("ace-widget") || customElements.define("ace-widget", V);
2663
+ const Vi = async (s, t) => {
2664
+ await new ki(s).bootstrap(t);
2537
2665
  };
2538
2666
  export {
2539
- W as AceWidget,
2540
- Ti as Application,
2541
- Rt as Container,
2542
- Ri as Environment,
2543
- Q as HttpClient,
2544
- Ui as Site,
2545
- Pi as StorageService,
2546
- A as Trigger,
2547
- vi as WidgetComponent,
2548
- Si as applicationContext,
2549
- zi as bootstrap,
2550
- Di as createHttpClient
2667
+ V as AceWidget,
2668
+ Ri as Application,
2669
+ Ut as Container,
2670
+ Mi as Environment,
2671
+ et as HttpClient,
2672
+ ki as Site,
2673
+ y as StorageCategory,
2674
+ Oi as StorageService,
2675
+ _ as Trigger,
2676
+ yi as WidgetComponent,
2677
+ Ei as applicationContext,
2678
+ Vi as bootstrap,
2679
+ Fi as createHttpClient
2551
2680
  };