@telia-ace/widget-components-copyright-flamingo 1.1.115-rc.7 → 1.1.116-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +1,20 @@
1
- var ht = function(s, t) {
2
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var dt = function(s, t) {
2
+ return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
5
  for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
6
- }, ht(s, t);
6
+ }, dt(s, t);
7
7
  };
8
- function z(s, t) {
8
+ function D(s, t) {
9
9
  if (typeof t != "function" && t !== null)
10
10
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
11
- ht(s, t);
11
+ dt(s, t);
12
12
  function e() {
13
13
  this.constructor = s;
14
14
  }
15
15
  s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
16
16
  }
17
- function dt(s) {
17
+ function ut(s) {
18
18
  var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
19
19
  if (e) return e.call(s);
20
20
  if (s && typeof s.length == "number") return {
@@ -24,7 +24,7 @@ function dt(s) {
24
24
  };
25
25
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
26
26
  }
27
- function ut(s, t) {
27
+ function pt(s, t) {
28
28
  var e = typeof Symbol == "function" && s[Symbol.iterator];
29
29
  if (!e) return s;
30
30
  var i = e.call(s), r, n = [], o;
@@ -41,7 +41,7 @@ function ut(s, t) {
41
41
  }
42
42
  return n;
43
43
  }
44
- function pt(s, t, e) {
44
+ function ft(s, t, e) {
45
45
  if (e || arguments.length === 2) for (var i = 0, r = t.length, n; i < r; i++)
46
46
  (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
47
47
  return s.concat(n || Array.prototype.slice.call(t));
@@ -49,13 +49,13 @@ function pt(s, t, e) {
49
49
  function b(s) {
50
50
  return typeof s == "function";
51
51
  }
52
- function ne(s) {
52
+ function oe(s) {
53
53
  var t = function(i) {
54
54
  Error.call(i), i.stack = new Error().stack;
55
55
  }, e = s(t);
56
56
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
57
57
  }
58
- var it = ne(function(s) {
58
+ var st = oe(function(s) {
59
59
  return function(e) {
60
60
  s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
61
61
  ` + e.map(function(i, r) {
@@ -64,13 +64,13 @@ var it = ne(function(s) {
64
64
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
65
65
  };
66
66
  });
67
- function ft(s, t) {
67
+ function gt(s, t) {
68
68
  if (s) {
69
69
  var e = s.indexOf(t);
70
70
  0 <= e && s.splice(e, 1);
71
71
  }
72
72
  }
73
- var tt = function() {
73
+ var et = function() {
74
74
  function s(t) {
75
75
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
76
76
  }
@@ -82,9 +82,9 @@ var tt = function() {
82
82
  if (o)
83
83
  if (this._parentage = null, Array.isArray(o))
84
84
  try {
85
- for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
86
- var l = c.value;
87
- l.remove(this);
85
+ for (var a = ut(o), c = a.next(); !c.done; c = a.next()) {
86
+ var h = c.value;
87
+ h.remove(this);
88
88
  }
89
89
  } catch (v) {
90
90
  t = { error: v };
@@ -97,23 +97,23 @@ var tt = function() {
97
97
  }
98
98
  else
99
99
  o.remove(this);
100
- var h = this.initialTeardown;
101
- if (b(h))
100
+ var l = this.initialTeardown;
101
+ if (b(l))
102
102
  try {
103
- h();
103
+ l();
104
104
  } catch (v) {
105
- n = v instanceof it ? v.errors : [v];
105
+ n = v instanceof st ? v.errors : [v];
106
106
  }
107
107
  var d = this._finalizers;
108
108
  if (d) {
109
109
  this._finalizers = null;
110
110
  try {
111
- for (var p = dt(d), f = p.next(); !f.done; f = p.next()) {
112
- var O = f.value;
111
+ for (var p = ut(d), f = p.next(); !f.done; f = p.next()) {
112
+ var T = f.value;
113
113
  try {
114
- Mt(O);
114
+ Ht(T);
115
115
  } catch (v) {
116
- n = n ?? [], v instanceof it ? n = pt(pt([], ut(n)), ut(v.errors)) : n.push(v);
116
+ n = n ?? [], v instanceof st ? n = ft(ft([], pt(n)), pt(v.errors)) : n.push(v);
117
117
  }
118
118
  }
119
119
  } catch (v) {
@@ -127,13 +127,13 @@ var tt = function() {
127
127
  }
128
128
  }
129
129
  if (n)
130
- throw new it(n);
130
+ throw new st(n);
131
131
  }
132
132
  }, s.prototype.add = function(t) {
133
133
  var e;
134
134
  if (t && t !== this)
135
135
  if (this.closed)
136
- Mt(t);
136
+ Ht(t);
137
137
  else {
138
138
  if (t instanceof s) {
139
139
  if (t.closed || t._hasParent(this))
@@ -150,52 +150,52 @@ var tt = function() {
150
150
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
151
151
  }, s.prototype._removeParent = function(t) {
152
152
  var e = this._parentage;
153
- e === t ? this._parentage = null : Array.isArray(e) && ft(e, t);
153
+ e === t ? this._parentage = null : Array.isArray(e) && gt(e, t);
154
154
  }, s.prototype.remove = function(t) {
155
155
  var e = this._finalizers;
156
- e && ft(e, t), t instanceof s && t._removeParent(this);
156
+ e && gt(e, t), t instanceof s && t._removeParent(this);
157
157
  }, s.EMPTY = function() {
158
158
  var t = new s();
159
159
  return t.closed = !0, t;
160
160
  }(), s;
161
- }(), oe = tt.EMPTY;
162
- function ae(s) {
163
- return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
161
+ }(), ae = et.EMPTY;
162
+ function ce(s) {
163
+ return s instanceof et || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
164
164
  }
165
- function Mt(s) {
165
+ function Ht(s) {
166
166
  b(s) ? s() : s.unsubscribe();
167
167
  }
168
- var Ce = {
168
+ var Ee = {
169
169
  Promise: void 0
170
- }, Ee = {
170
+ }, Se = {
171
171
  setTimeout: function(s, t) {
172
172
  for (var e = [], i = 2; i < arguments.length; i++)
173
173
  e[i - 2] = arguments[i];
174
- return setTimeout.apply(void 0, pt([s, t], ut(e)));
174
+ return setTimeout.apply(void 0, ft([s, t], pt(e)));
175
175
  },
176
176
  clearTimeout: function(s) {
177
177
  return clearTimeout(s);
178
178
  },
179
179
  delegate: void 0
180
180
  };
181
- function Se(s) {
182
- Ee.setTimeout(function() {
181
+ function Pe(s) {
182
+ Se.setTimeout(function() {
183
183
  throw s;
184
184
  });
185
185
  }
186
- function Ht() {
186
+ function Lt() {
187
187
  }
188
- function W(s) {
188
+ function G(s) {
189
189
  s();
190
190
  }
191
- var ce = function(s) {
192
- z(t, s);
191
+ var he = function(s) {
192
+ D(t, s);
193
193
  function t(e) {
194
194
  var i = s.call(this) || this;
195
- return i.isStopped = !1, e ? (i.destination = e, ae(e) && e.add(i)) : i.destination = Oe, i;
195
+ return i.isStopped = !1, e ? (i.destination = e, ce(e) && e.add(i)) : i.destination = Te, i;
196
196
  }
197
197
  return t.create = function(e, i, r) {
198
- return new gt(e, i, r);
198
+ return new vt(e, i, r);
199
199
  }, t.prototype.next = function(e) {
200
200
  this.isStopped || this._next(e);
201
201
  }, t.prototype.error = function(e) {
@@ -219,7 +219,7 @@ var ce = function(s) {
219
219
  this.unsubscribe();
220
220
  }
221
221
  }, t;
222
- }(tt), Pe = function() {
222
+ }(et), Oe = function() {
223
223
  function s(t) {
224
224
  this.partialObserver = t;
225
225
  }
@@ -229,7 +229,7 @@ var ce = function(s) {
229
229
  try {
230
230
  e.next(t);
231
231
  } catch (i) {
232
- Z(i);
232
+ W(i);
233
233
  }
234
234
  }, s.prototype.error = function(t) {
235
235
  var e = this.partialObserver;
@@ -237,56 +237,56 @@ var ce = function(s) {
237
237
  try {
238
238
  e.error(t);
239
239
  } catch (i) {
240
- Z(i);
240
+ W(i);
241
241
  }
242
242
  else
243
- Z(t);
243
+ W(t);
244
244
  }, s.prototype.complete = function() {
245
245
  var t = this.partialObserver;
246
246
  if (t.complete)
247
247
  try {
248
248
  t.complete();
249
249
  } catch (e) {
250
- Z(e);
250
+ W(e);
251
251
  }
252
252
  }, s;
253
- }(), gt = function(s) {
254
- z(t, s);
253
+ }(), vt = function(s) {
254
+ D(t, s);
255
255
  function t(e, i, r) {
256
256
  var n = s.call(this) || this, o;
257
257
  return b(e) || !e ? o = {
258
258
  next: e ?? void 0,
259
259
  error: i ?? void 0,
260
260
  complete: r ?? void 0
261
- } : o = e, n.destination = new Pe(o), n;
261
+ } : o = e, n.destination = new Oe(o), n;
262
262
  }
263
263
  return t;
264
- }(ce);
265
- function Z(s) {
266
- Se(s);
264
+ }(he);
265
+ function W(s) {
266
+ Pe(s);
267
267
  }
268
268
  function ke(s) {
269
269
  throw s;
270
270
  }
271
- var Oe = {
271
+ var Te = {
272
272
  closed: !0,
273
- next: Ht,
273
+ next: Lt,
274
274
  error: ke,
275
- complete: Ht
276
- }, Te = function() {
275
+ complete: Lt
276
+ }, Me = function() {
277
277
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
278
278
  }();
279
- function Me(s) {
279
+ function He(s) {
280
280
  return s;
281
281
  }
282
- function He(s) {
283
- return s.length === 0 ? Me : s.length === 1 ? s[0] : function(e) {
282
+ function Le(s) {
283
+ return s.length === 0 ? He : s.length === 1 ? s[0] : function(e) {
284
284
  return s.reduce(function(i, r) {
285
285
  return r(i);
286
286
  }, e);
287
287
  };
288
288
  }
289
- var Lt = function() {
289
+ var Rt = function() {
290
290
  function s(t) {
291
291
  t && (this._subscribe = t);
292
292
  }
@@ -294,8 +294,8 @@ var Lt = function() {
294
294
  var e = new s();
295
295
  return e.source = this, e.operator = t, e;
296
296
  }, s.prototype.subscribe = function(t, e, i) {
297
- var r = this, n = Ue(t) ? t : new gt(t, e, i);
298
- return W(function() {
297
+ var r = this, n = Ue(t) ? t : new vt(t, e, i);
298
+ return G(function() {
299
299
  var o = r, a = o.operator, c = o.source;
300
300
  n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
301
301
  }), n;
@@ -308,7 +308,7 @@ var Lt = function() {
308
308
  }, s.prototype.forEach = function(t, e) {
309
309
  var i = this;
310
310
  return e = Ut(e), new e(function(r, n) {
311
- var o = new gt({
311
+ var o = new vt({
312
312
  next: function(a) {
313
313
  try {
314
314
  t(a);
@@ -324,12 +324,12 @@ var Lt = function() {
324
324
  }, s.prototype._subscribe = function(t) {
325
325
  var e;
326
326
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
327
- }, s.prototype[Te] = function() {
327
+ }, s.prototype[Me] = function() {
328
328
  return this;
329
329
  }, s.prototype.pipe = function() {
330
330
  for (var t = [], e = 0; e < arguments.length; e++)
331
331
  t[e] = arguments[e];
332
- return He(t)(this);
332
+ return Le(t)(this);
333
333
  }, s.prototype.toPromise = function(t) {
334
334
  var e = this;
335
335
  return t = Ut(t), new t(function(i, r) {
@@ -348,43 +348,43 @@ var Lt = function() {
348
348
  }();
349
349
  function Ut(s) {
350
350
  var t;
351
- return (t = s ?? Ce.Promise) !== null && t !== void 0 ? t : Promise;
351
+ return (t = s ?? Ee.Promise) !== null && t !== void 0 ? t : Promise;
352
352
  }
353
- function Le(s) {
353
+ function Re(s) {
354
354
  return s && b(s.next) && b(s.error) && b(s.complete);
355
355
  }
356
356
  function Ue(s) {
357
- return s && s instanceof ce || Le(s) && ae(s);
357
+ return s && s instanceof he || Re(s) && ce(s);
358
358
  }
359
- var Re = ne(function(s) {
359
+ var je = oe(function(s) {
360
360
  return function() {
361
361
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
362
362
  };
363
- }), yt = function(s) {
364
- z(t, s);
363
+ }), bt = function(s) {
364
+ D(t, s);
365
365
  function t() {
366
366
  var e = s.call(this) || this;
367
367
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
368
368
  }
369
369
  return t.prototype.lift = function(e) {
370
- var i = new Rt(this, this);
370
+ var i = new jt(this, this);
371
371
  return i.operator = e, i;
372
372
  }, t.prototype._throwIfClosed = function() {
373
373
  if (this.closed)
374
- throw new Re();
374
+ throw new je();
375
375
  }, t.prototype.next = function(e) {
376
376
  var i = this;
377
- W(function() {
377
+ G(function() {
378
378
  var r, n;
379
379
  if (i._throwIfClosed(), !i.isStopped) {
380
380
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
381
381
  try {
382
- for (var o = dt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
382
+ for (var o = ut(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
383
383
  var c = a.value;
384
384
  c.next(e);
385
385
  }
386
- } catch (l) {
387
- r = { error: l };
386
+ } catch (h) {
387
+ r = { error: h };
388
388
  } finally {
389
389
  try {
390
390
  a && !a.done && (n = o.return) && n.call(o);
@@ -396,7 +396,7 @@ var Re = ne(function(s) {
396
396
  });
397
397
  }, t.prototype.error = function(e) {
398
398
  var i = this;
399
- W(function() {
399
+ G(function() {
400
400
  if (i._throwIfClosed(), !i.isStopped) {
401
401
  i.hasError = i.isStopped = !0, i.thrownError = e;
402
402
  for (var r = i.observers; r.length; )
@@ -405,7 +405,7 @@ var Re = ne(function(s) {
405
405
  });
406
406
  }, t.prototype.complete = function() {
407
407
  var e = this;
408
- W(function() {
408
+ G(function() {
409
409
  if (e._throwIfClosed(), !e.isStopped) {
410
410
  e.isStopped = !0;
411
411
  for (var i = e.observers; i.length; )
@@ -427,20 +427,20 @@ var Re = ne(function(s) {
427
427
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
428
428
  }, t.prototype._innerSubscribe = function(e) {
429
429
  var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
430
- return n || o ? oe : (this.currentObservers = null, a.push(e), new tt(function() {
431
- i.currentObservers = null, ft(a, e);
430
+ return n || o ? ae : (this.currentObservers = null, a.push(e), new et(function() {
431
+ i.currentObservers = null, gt(a, e);
432
432
  }));
433
433
  }, t.prototype._checkFinalizedStatuses = function(e) {
434
434
  var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
435
435
  r ? e.error(n) : o && e.complete();
436
436
  }, t.prototype.asObservable = function() {
437
- var e = new Lt();
437
+ var e = new Rt();
438
438
  return e.source = this, e;
439
439
  }, t.create = function(e, i) {
440
- return new Rt(e, i);
440
+ return new jt(e, i);
441
441
  }, t;
442
- }(Lt), Rt = function(s) {
443
- z(t, s);
442
+ }(Rt), jt = function(s) {
443
+ D(t, s);
444
444
  function t(e, i) {
445
445
  var r = s.call(this) || this;
446
446
  return r.destination = e, r.source = i, r;
@@ -456,10 +456,10 @@ var Re = ne(function(s) {
456
456
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
457
457
  }, t.prototype._subscribe = function(e) {
458
458
  var i, r;
459
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : oe;
459
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : ae;
460
460
  }, t;
461
- }(yt), le = function(s) {
462
- z(t, s);
461
+ }(bt), le = function(s) {
462
+ D(t, s);
463
463
  function t(e) {
464
464
  var i = s.call(this) || this;
465
465
  return i._value = e, i;
@@ -481,22 +481,22 @@ var Re = ne(function(s) {
481
481
  }, t.prototype.next = function(e) {
482
482
  s.prototype.next.call(this, this._value = e);
483
483
  }, t;
484
- }(yt);
484
+ }(bt);
485
485
  /**
486
486
  * @license
487
487
  * Copyright 2019 Google LLC
488
488
  * SPDX-License-Identifier: BSD-3-Clause
489
489
  */
490
- const q = globalThis, bt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
491
- let he = class {
490
+ const Y = globalThis, $t = Y.ShadowRoot && (Y.ShadyCSS === void 0 || Y.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
491
+ let de = class {
492
492
  constructor(t, e, i) {
493
- if (this._$cssResult$ = !0, i !== $t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
493
+ if (this._$cssResult$ = !0, i !== _t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
494
494
  this.cssText = t, this.t = e;
495
495
  }
496
496
  get styleSheet() {
497
497
  let t = this.o;
498
498
  const e = this.t;
499
- if (bt && t === void 0) {
499
+ if ($t && t === void 0) {
500
500
  const i = e !== void 0 && e.length === 1;
501
501
  i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
502
502
  }
@@ -506,20 +506,20 @@ let he = class {
506
506
  return this.cssText;
507
507
  }
508
508
  };
509
- const Ne = (s) => new he(typeof s == "string" ? s : s + "", void 0, $t), k = (s, ...t) => {
509
+ const Ne = (s) => new de(typeof s == "string" ? s : s + "", void 0, _t), k = (s, ...t) => {
510
510
  const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
511
511
  if (o._$cssResult$ === !0) return o.cssText;
512
512
  if (typeof o == "number") return o;
513
513
  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.");
514
514
  })(r) + s[n + 1], s[0]);
515
- return new he(e, s, $t);
516
- }, je = (s, t) => {
517
- if (bt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
515
+ return new de(e, s, _t);
516
+ }, Ie = (s, t) => {
517
+ if ($t) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
518
518
  else for (const e of t) {
519
- const i = document.createElement("style"), r = q.litNonce;
519
+ const i = document.createElement("style"), r = Y.litNonce;
520
520
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
521
521
  }
522
- }, jt = bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
522
+ }, It = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
523
523
  let e = "";
524
524
  for (const i of t.cssRules) e += i.cssText;
525
525
  return Ne(e);
@@ -529,10 +529,10 @@ const Ne = (s) => new he(typeof s == "string" ? s : s + "", void 0, $t), k = (s,
529
529
  * Copyright 2017 Google LLC
530
530
  * SPDX-License-Identifier: BSD-3-Clause
531
531
  */
532
- const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnPropertyNames: Fe, getOwnPropertySymbols: ze, getPrototypeOf: De } = Object, w = globalThis, It = w.trustedTypes, Ye = It ? It.emptyScript : "", st = w.reactiveElementPolyfillSupport, R = (s, t) => s, K = { toAttribute(s, t) {
532
+ const { is: Be, defineProperty: Ve, getOwnPropertyDescriptor: Fe, getOwnPropertyNames: ze, getOwnPropertySymbols: De, getPrototypeOf: Ze } = Object, w = globalThis, Bt = w.trustedTypes, qe = Bt ? Bt.emptyScript : "", rt = w.reactiveElementPolyfillSupport, j = (s, t) => s, K = { toAttribute(s, t) {
533
533
  switch (t) {
534
534
  case Boolean:
535
- s = s ? Ye : null;
535
+ s = s ? qe : null;
536
536
  break;
537
537
  case Object:
538
538
  case Array:
@@ -557,46 +557,44 @@ const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnProperty
557
557
  }
558
558
  }
559
559
  return e;
560
- } }, _t = (s, t) => !Ie(s, t), Bt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t };
560
+ } }, wt = (s, t) => !Be(s, t), Vt = { attribute: !0, type: String, converter: K, reflect: !1, useDefault: !1, hasChanged: wt };
561
561
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
562
- let T = class extends HTMLElement {
562
+ let M = class extends HTMLElement {
563
563
  static addInitializer(t) {
564
564
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
565
565
  }
566
566
  static get observedAttributes() {
567
567
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
568
568
  }
569
- static createProperty(t, e = Bt) {
570
- if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
569
+ static createProperty(t, e = Vt) {
570
+ if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
571
571
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
572
- r !== void 0 && Be(this.prototype, t, r);
572
+ r !== void 0 && Ve(this.prototype, t, r);
573
573
  }
574
574
  }
575
575
  static getPropertyDescriptor(t, e, i) {
576
- const { get: r, set: n } = Ve(this.prototype, t) ?? { get() {
576
+ const { get: r, set: n } = Fe(this.prototype, t) ?? { get() {
577
577
  return this[e];
578
578
  }, set(o) {
579
579
  this[e] = o;
580
580
  } };
581
- return { get() {
582
- return r == null ? void 0 : r.call(this);
583
- }, set(o) {
581
+ return { get: r, set(o) {
584
582
  const a = r == null ? void 0 : r.call(this);
585
- n.call(this, o), this.requestUpdate(t, a, i);
583
+ n == null || n.call(this, o), this.requestUpdate(t, a, i);
586
584
  }, configurable: !0, enumerable: !0 };
587
585
  }
588
586
  static getPropertyOptions(t) {
589
- return this.elementProperties.get(t) ?? Bt;
587
+ return this.elementProperties.get(t) ?? Vt;
590
588
  }
591
589
  static _$Ei() {
592
- if (this.hasOwnProperty(R("elementProperties"))) return;
593
- const t = De(this);
590
+ if (this.hasOwnProperty(j("elementProperties"))) return;
591
+ const t = Ze(this);
594
592
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
595
593
  }
596
594
  static finalize() {
597
- if (this.hasOwnProperty(R("finalized"))) return;
598
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
599
- const e = this.properties, i = [...Fe(e), ...ze(e)];
595
+ if (this.hasOwnProperty(j("finalized"))) return;
596
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(j("properties"))) {
597
+ const e = this.properties, i = [...ze(e), ...De(e)];
600
598
  for (const r of i) this.createProperty(r, e[r]);
601
599
  }
602
600
  const t = this[Symbol.metadata];
@@ -615,8 +613,8 @@ let T = class extends HTMLElement {
615
613
  const e = [];
616
614
  if (Array.isArray(t)) {
617
615
  const i = new Set(t.flat(1 / 0).reverse());
618
- for (const r of i) e.unshift(jt(r));
619
- } else t !== void 0 && e.push(jt(t));
616
+ for (const r of i) e.unshift(It(r));
617
+ } else t !== void 0 && e.push(It(t));
620
618
  return e;
621
619
  }
622
620
  static _$Eu(t, e) {
@@ -645,7 +643,7 @@ let T = class extends HTMLElement {
645
643
  }
646
644
  createRenderRoot() {
647
645
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
648
- return je(t, this.constructor.elementStyles), t;
646
+ return Ie(t, this.constructor.elementStyles), t;
649
647
  }
650
648
  connectedCallback() {
651
649
  var t;
@@ -666,7 +664,7 @@ let T = class extends HTMLElement {
666
664
  attributeChangedCallback(t, e, i) {
667
665
  this._$AK(t, i);
668
666
  }
669
- _$EC(t, e) {
667
+ _$ET(t, e) {
670
668
  var n;
671
669
  const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
672
670
  if (r !== void 0 && i.reflect === !0) {
@@ -675,24 +673,26 @@ let T = class extends HTMLElement {
675
673
  }
676
674
  }
677
675
  _$AK(t, e) {
678
- var n;
676
+ var n, o;
679
677
  const i = this.constructor, r = i._$Eh.get(t);
680
678
  if (r !== void 0 && this._$Em !== r) {
681
- 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 : K;
682
- this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
679
+ const a = i.getPropertyOptions(r), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((n = a.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? a.converter : K;
680
+ this._$Em = r, this[r] = c.fromAttribute(e, a.type) ?? ((o = this._$Ej) == null ? void 0 : o.get(r)) ?? null, this._$Em = null;
683
681
  }
684
682
  }
685
683
  requestUpdate(t, e, i) {
684
+ var r;
686
685
  if (t !== void 0) {
687
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _t)(this[t], e)) return;
688
- this.P(t, e, i);
686
+ const n = this.constructor, o = this[t];
687
+ if (i ?? (i = n.getPropertyOptions(t)), !((i.hasChanged ?? wt)(o, e) || i.useDefault && i.reflect && o === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i)))) return;
688
+ this.C(t, e, i);
689
689
  }
690
- this.isUpdatePending === !1 && (this._$ES = this._$ET());
690
+ this.isUpdatePending === !1 && (this._$ES = this._$EP());
691
691
  }
692
- P(t, e, i) {
693
- this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
692
+ C(t, e, { useDefault: i, reflect: r, wrapped: n }, o) {
693
+ i && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), n !== !0 || o !== void 0) || (this._$AL.has(t) || (this.hasUpdated || i || (e = void 0), this._$AL.set(t, e)), r === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
694
694
  }
695
- async _$ET() {
695
+ async _$EP() {
696
696
  this.isUpdatePending = !0;
697
697
  try {
698
698
  await this._$ES;
@@ -714,7 +714,10 @@ let T = class extends HTMLElement {
714
714
  this._$Ep = void 0;
715
715
  }
716
716
  const r = this.constructor.elementProperties;
717
- if (r.size > 0) for (const [n, o] of r) o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
717
+ if (r.size > 0) for (const [n, o] of r) {
718
+ const { wrapped: a } = o, c = this[n];
719
+ a !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, o, c);
720
+ }
718
721
  }
719
722
  let t = !1;
720
723
  const e = this._$AL;
@@ -722,9 +725,9 @@ let T = class extends HTMLElement {
722
725
  t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
723
726
  var n;
724
727
  return (n = r.hostUpdate) == null ? void 0 : n.call(r);
725
- }), this.update(e)) : this._$EU();
728
+ }), this.update(e)) : this._$EM();
726
729
  } catch (r) {
727
- throw t = !1, this._$EU(), r;
730
+ throw t = !1, this._$EM(), r;
728
731
  }
729
732
  t && this._$AE(e);
730
733
  }
@@ -737,7 +740,7 @@ let T = class extends HTMLElement {
737
740
  return (r = i.hostUpdated) == null ? void 0 : r.call(i);
738
741
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
739
742
  }
740
- _$EU() {
743
+ _$EM() {
741
744
  this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
742
745
  }
743
746
  get updateComplete() {
@@ -750,63 +753,63 @@ let T = class extends HTMLElement {
750
753
  return !0;
751
754
  }
752
755
  update(t) {
753
- this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
756
+ this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
754
757
  }
755
758
  updated(t) {
756
759
  }
757
760
  firstUpdated(t) {
758
761
  }
759
762
  };
760
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), st == null || st({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
763
+ M.elementStyles = [], M.shadowRootOptions = { mode: "open" }, M[j("elementProperties")] = /* @__PURE__ */ new Map(), M[j("finalized")] = /* @__PURE__ */ new Map(), rt == null || rt({ ReactiveElement: M }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.1.0");
761
764
  /**
762
765
  * @license
763
766
  * Copyright 2017 Google LLC
764
767
  * SPDX-License-Identifier: BSD-3-Clause
765
768
  */
766
- const N = globalThis, G = N.trustedTypes, Vt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, de = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, ue = "?" + _, Ze = `<${ue}>`, S = document, I = () => S.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", wt = Array.isArray, We = (s) => wt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", rt = `[
767
- \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ft = /-->/g, zt = />/g, x = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
768
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Dt = /'/g, Yt = /"/g, pe = /^(?:script|style|textarea|title)$/i, fe = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = fe(1), qe = fe(2), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
769
- function ge(s, t) {
770
- if (!wt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
771
- return Vt !== void 0 ? Vt.createHTML(t) : t;
769
+ const N = globalThis, X = N.trustedTypes, Ft = X ? X.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ue = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, pe = "?" + _, We = `<${pe}>`, P = document, B = () => P.createComment(""), V = (s) => s === null || typeof s != "object" && typeof s != "function", xt = Array.isArray, Ge = (s) => xt(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", nt = `[
770
+ \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zt = /-->/g, Dt = />/g, x = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
771
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Zt = /'/g, qt = /"/g, fe = /^(?:script|style|textarea|title)$/i, ge = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = ge(1), Ye = ge(2), O = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), E = P.createTreeWalker(P, 129);
772
+ function ve(s, t) {
773
+ if (!xt(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
774
+ return Ft !== void 0 ? Ft.createHTML(t) : t;
772
775
  }
773
776
  const Ke = (s, t) => {
774
777
  const e = s.length - 1, i = [];
775
778
  let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
776
779
  for (let a = 0; a < e; a++) {
777
780
  const c = s[a];
778
- let l, h, d = -1, p = 0;
779
- for (; p < c.length && (o.lastIndex = p, h = o.exec(c), h !== null); ) p = o.lastIndex, o === U ? h[1] === "!--" ? o = Ft : h[1] !== void 0 ? o = zt : h[2] !== void 0 ? (pe.test(h[2]) && (r = RegExp("</" + h[2], "g")), o = x) : h[3] !== void 0 && (o = x) : o === x ? h[0] === ">" ? (o = r ?? U, d = -1) : h[1] === void 0 ? d = -2 : (d = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? x : h[3] === '"' ? Yt : Dt) : o === Yt || o === Dt ? o = x : o === Ft || o === zt ? o = U : (o = x, r = void 0);
781
+ let h, l, d = -1, p = 0;
782
+ for (; p < c.length && (o.lastIndex = p, l = o.exec(c), l !== null); ) p = o.lastIndex, o === U ? l[1] === "!--" ? o = zt : l[1] !== void 0 ? o = Dt : l[2] !== void 0 ? (fe.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = x) : l[3] !== void 0 && (o = x) : o === x ? l[0] === ">" ? (o = r ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? x : l[3] === '"' ? qt : Zt) : o === qt || o === Zt ? o = x : o === zt || o === Dt ? o = U : (o = x, r = void 0);
780
783
  const f = o === x && s[a + 1].startsWith("/>") ? " " : "";
781
- n += o === U ? c + Ze : d >= 0 ? (i.push(l), c.slice(0, d) + de + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
784
+ n += o === U ? c + We : d >= 0 ? (i.push(h), c.slice(0, d) + ue + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
782
785
  }
783
- return [ge(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
786
+ return [ve(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
784
787
  };
785
- let vt = class ve {
788
+ let mt = class me {
786
789
  constructor({ strings: t, _$litType$: e }, i) {
787
790
  let r;
788
791
  this.parts = [];
789
792
  let n = 0, o = 0;
790
- const a = t.length - 1, c = this.parts, [l, h] = Ke(t, e);
791
- if (this.el = ve.createElement(l, i), E.currentNode = this.el.content, e === 2 || e === 3) {
793
+ const a = t.length - 1, c = this.parts, [h, l] = Ke(t, e);
794
+ if (this.el = me.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
792
795
  const d = this.el.content.firstChild;
793
796
  d.replaceWith(...d.childNodes);
794
797
  }
795
798
  for (; (r = E.nextNode()) !== null && c.length < a; ) {
796
799
  if (r.nodeType === 1) {
797
- if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(de)) {
798
- const p = h[o++], f = r.getAttribute(d).split(_), O = /([.?@])?(.*)/.exec(p);
799
- c.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Xe : O[1] === "?" ? Je : O[1] === "@" ? Qe : et }), r.removeAttribute(d);
800
+ if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(ue)) {
801
+ const p = l[o++], f = r.getAttribute(d).split(_), T = /([.?@])?(.*)/.exec(p);
802
+ c.push({ type: 1, index: n, name: T[2], strings: f, ctor: T[1] === "." ? Je : T[1] === "?" ? Qe : T[1] === "@" ? ti : it }), r.removeAttribute(d);
800
803
  } else d.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
801
- if (pe.test(r.tagName)) {
804
+ if (fe.test(r.tagName)) {
802
805
  const d = r.textContent.split(_), p = d.length - 1;
803
806
  if (p > 0) {
804
- r.textContent = G ? G.emptyScript : "";
805
- for (let f = 0; f < p; f++) r.append(d[f], I()), E.nextNode(), c.push({ type: 2, index: ++n });
806
- r.append(d[p], I());
807
+ r.textContent = X ? X.emptyScript : "";
808
+ for (let f = 0; f < p; f++) r.append(d[f], B()), E.nextNode(), c.push({ type: 2, index: ++n });
809
+ r.append(d[p], B());
807
810
  }
808
811
  }
809
- } else if (r.nodeType === 8) if (r.data === ue) c.push({ type: 2, index: n });
812
+ } else if (r.nodeType === 8) if (r.data === pe) c.push({ type: 2, index: n });
810
813
  else {
811
814
  let d = -1;
812
815
  for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += _.length - 1;
@@ -815,18 +818,18 @@ let vt = class ve {
815
818
  }
816
819
  }
817
820
  static createElement(t, e) {
818
- const i = S.createElement("template");
821
+ const i = P.createElement("template");
819
822
  return i.innerHTML = t, i;
820
823
  }
821
824
  };
822
- function M(s, t, e = s, i) {
825
+ function H(s, t, e = s, i) {
823
826
  var o, a;
824
- if (t === P) return t;
827
+ if (t === O) return t;
825
828
  let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
826
- const n = B(t) ? void 0 : t._$litDirective$;
827
- 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 = M(s, r._$AS(s, t.values), r, i)), t;
829
+ const n = V(t) ? void 0 : t._$litDirective$;
830
+ 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 = H(s, r._$AS(s, t.values), r, i)), t;
828
831
  }
829
- class Ge {
832
+ class Xe {
830
833
  constructor(t, e) {
831
834
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
832
835
  }
@@ -837,24 +840,24 @@ class Ge {
837
840
  return this._$AM._$AU;
838
841
  }
839
842
  u(t) {
840
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
843
+ const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? P).importNode(e, !0);
841
844
  E.currentNode = r;
842
845
  let n = E.nextNode(), o = 0, a = 0, c = i[0];
843
846
  for (; c !== void 0; ) {
844
847
  if (o === c.index) {
845
- let l;
846
- c.type === 2 ? l = new D(n, n.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (l = new ti(n, this, t)), this._$AV.push(l), c = i[++a];
848
+ let h;
849
+ c.type === 2 ? h = new Z(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ei(n, this, t)), this._$AV.push(h), c = i[++a];
847
850
  }
848
851
  o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
849
852
  }
850
- return E.currentNode = S, r;
853
+ return E.currentNode = P, r;
851
854
  }
852
855
  p(t) {
853
856
  let e = 0;
854
857
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
855
858
  }
856
859
  }
857
- class D {
860
+ class Z {
858
861
  get _$AU() {
859
862
  var t;
860
863
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -874,7 +877,7 @@ class D {
874
877
  return this._$AB;
875
878
  }
876
879
  _$AI(t, e = this) {
877
- t = M(this, t, e), B(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) : We(t) ? this.k(t) : this._(t);
880
+ t = H(this, t, e), V(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== O && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ge(t) ? this.k(t) : this._(t);
878
881
  }
879
882
  O(t) {
880
883
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -883,26 +886,26 @@ class D {
883
886
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
884
887
  }
885
888
  _(t) {
886
- this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
889
+ this._$AH !== u && V(this._$AH) ? this._$AA.nextSibling.data = t : this.T(P.createTextNode(t)), this._$AH = t;
887
890
  }
888
891
  $(t) {
889
892
  var n;
890
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = vt.createElement(ge(i.h, i.h[0]), this.options)), i);
893
+ const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(ve(i.h, i.h[0]), this.options)), i);
891
894
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
892
895
  else {
893
- const o = new Ge(r, this), a = o.u(this.options);
896
+ const o = new Xe(r, this), a = o.u(this.options);
894
897
  o.p(e), this.T(a), this._$AH = o;
895
898
  }
896
899
  }
897
900
  _$AC(t) {
898
- let e = Zt.get(t.strings);
899
- return e === void 0 && Zt.set(t.strings, e = new vt(t)), e;
901
+ let e = Wt.get(t.strings);
902
+ return e === void 0 && Wt.set(t.strings, e = new mt(t)), e;
900
903
  }
901
904
  k(t) {
902
- wt(this._$AH) || (this._$AH = [], this._$AR());
905
+ xt(this._$AH) || (this._$AH = [], this._$AR());
903
906
  const e = this._$AH;
904
907
  let i, r = 0;
905
- for (const n of t) r === e.length ? e.push(i = new D(this.O(I()), this.O(I()), this, this.options)) : i = e[r], i._$AI(n), r++;
908
+ for (const n of t) r === e.length ? e.push(i = new Z(this.O(B()), this.O(B()), this, this.options)) : i = e[r], i._$AI(n), r++;
906
909
  r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
907
910
  }
908
911
  _$AR(t = this._$AA.nextSibling, e) {
@@ -917,7 +920,7 @@ class D {
917
920
  this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
918
921
  }
919
922
  }
920
- class et {
923
+ class it {
921
924
  get tagName() {
922
925
  return this.element.tagName;
923
926
  }
@@ -930,11 +933,11 @@ class et {
930
933
  _$AI(t, e = this, i, r) {
931
934
  const n = this.strings;
932
935
  let o = !1;
933
- if (n === void 0) t = M(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
936
+ if (n === void 0) t = H(this, t, e, 0), o = !V(t) || t !== this._$AH && t !== O, o && (this._$AH = t);
934
937
  else {
935
938
  const a = t;
936
- let c, l;
937
- for (t = n[0], c = 0; c < n.length - 1; c++) l = M(this, a[i + c], e, c), l === P && (l = this._$AH[c]), o || (o = !B(l) || l !== this._$AH[c]), l === u ? t = u : t !== u && (t += (l ?? "") + n[c + 1]), this._$AH[c] = l;
939
+ let c, h;
940
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = H(this, a[i + c], e, c), h === O && (h = this._$AH[c]), o || (o = !V(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
938
941
  }
939
942
  o && !r && this.j(t);
940
943
  }
@@ -942,7 +945,7 @@ class et {
942
945
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
943
946
  }
944
947
  }
945
- class Xe extends et {
948
+ class Je extends it {
946
949
  constructor() {
947
950
  super(...arguments), this.type = 3;
948
951
  }
@@ -950,7 +953,7 @@ class Xe extends et {
950
953
  this.element[this.name] = t === u ? void 0 : t;
951
954
  }
952
955
  }
953
- class Je extends et {
956
+ class Qe extends it {
954
957
  constructor() {
955
958
  super(...arguments), this.type = 4;
956
959
  }
@@ -958,12 +961,12 @@ class Je extends et {
958
961
  this.element.toggleAttribute(this.name, !!t && t !== u);
959
962
  }
960
963
  }
961
- class Qe extends et {
964
+ class ti extends it {
962
965
  constructor(t, e, i, r, n) {
963
966
  super(t, e, i, r, n), this.type = 5;
964
967
  }
965
968
  _$AI(t, e = this) {
966
- if ((t = M(this, t, e, 0) ?? u) === P) return;
969
+ if ((t = H(this, t, e, 0) ?? u) === O) return;
967
970
  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);
968
971
  r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
969
972
  }
@@ -972,7 +975,7 @@ class Qe extends et {
972
975
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
973
976
  }
974
977
  }
975
- class ti {
978
+ class ei {
976
979
  constructor(t, e, i) {
977
980
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
978
981
  }
@@ -980,17 +983,17 @@ class ti {
980
983
  return this._$AM._$AU;
981
984
  }
982
985
  _$AI(t) {
983
- M(this, t);
986
+ H(this, t);
984
987
  }
985
988
  }
986
- const nt = N.litHtmlPolyfillSupport;
987
- nt == null || nt(vt, D), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
988
- const ei = (s, t, e) => {
989
+ const ot = N.litHtmlPolyfillSupport;
990
+ ot == null || ot(mt, Z), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.3.0");
991
+ const ii = (s, t, e) => {
989
992
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
990
993
  let r = i._$litPart$;
991
994
  if (r === void 0) {
992
995
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
993
- i._$litPart$ = r = new D(t.insertBefore(I(), n), n, void 0, e ?? {});
996
+ i._$litPart$ = r = new Z(t.insertBefore(B(), n), n, void 0, e ?? {});
994
997
  }
995
998
  return r._$AI(s), r;
996
999
  };
@@ -999,7 +1002,8 @@ const ei = (s, t, e) => {
999
1002
  * Copyright 2017 Google LLC
1000
1003
  * SPDX-License-Identifier: BSD-3-Clause
1001
1004
  */
1002
- let m = class extends T {
1005
+ const S = globalThis;
1006
+ let m = class extends M {
1003
1007
  constructor() {
1004
1008
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1005
1009
  }
@@ -1010,7 +1014,7 @@ let m = class extends T {
1010
1014
  }
1011
1015
  update(t) {
1012
1016
  const e = this.render();
1013
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ei(e, this.renderRoot, this.renderOptions);
1017
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ii(e, this.renderRoot, this.renderOptions);
1014
1018
  }
1015
1019
  connectedCallback() {
1016
1020
  var t;
@@ -1021,29 +1025,29 @@ let m = class extends T {
1021
1025
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
1022
1026
  }
1023
1027
  render() {
1024
- return P;
1028
+ return O;
1025
1029
  }
1026
1030
  };
1027
- var re;
1028
- m._$litElement$ = !0, m.finalized = !0, (re = globalThis.litElementHydrateSupport) == null || re.call(globalThis, { LitElement: m });
1029
- const ot = globalThis.litElementPolyfillSupport;
1030
- ot == null || ot({ LitElement: m });
1031
- (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1031
+ var ne;
1032
+ m._$litElement$ = !0, m.finalized = !0, (ne = S.litElementHydrateSupport) == null || ne.call(S, { LitElement: m });
1033
+ const at = S.litElementPolyfillSupport;
1034
+ at == null || at({ LitElement: m });
1035
+ (S.litElementVersions ?? (S.litElementVersions = [])).push("4.2.0");
1032
1036
  /**
1033
1037
  * @license
1034
1038
  * Copyright 2017 Google LLC
1035
1039
  * SPDX-License-Identifier: BSD-3-Clause
1036
1040
  */
1037
- const ii = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t }, si = (s = ii, t, e) => {
1041
+ const si = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt }, ri = (s = si, t, e) => {
1038
1042
  const { kind: i, metadata: r } = e;
1039
1043
  let n = globalThis.litPropertyMetadata.get(r);
1040
- if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
1044
+ if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), i === "setter" && ((s = Object.create(s)).wrapped = !0), n.set(e.name, s), i === "accessor") {
1041
1045
  const { name: o } = e;
1042
1046
  return { set(a) {
1043
1047
  const c = t.get.call(this);
1044
1048
  t.set.call(this, a), this.requestUpdate(o, c, s);
1045
1049
  }, init(a) {
1046
- return a !== void 0 && this.P(o, void 0, s), a;
1050
+ return a !== void 0 && this.C(o, void 0, s, a), a;
1047
1051
  } };
1048
1052
  }
1049
1053
  if (i === "setter") {
@@ -1056,9 +1060,9 @@ const ii = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged:
1056
1060
  throw Error("Unsupported decorator location: " + i);
1057
1061
  };
1058
1062
  function g(s) {
1059
- return (t, e) => typeof e == "object" ? si(s, t, e) : ((i, r, n) => {
1063
+ return (t, e) => typeof e == "object" ? ri(s, t, e) : ((i, r, n) => {
1060
1064
  const o = r.hasOwnProperty(n);
1061
- return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1065
+ return r.constructor.createProperty(n, i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1062
1066
  })(s, t, e);
1063
1067
  }
1064
1068
  /**
@@ -1066,15 +1070,15 @@ function g(s) {
1066
1070
  * Copyright 2017 Google LLC
1067
1071
  * SPDX-License-Identifier: BSD-3-Clause
1068
1072
  */
1069
- function L(s) {
1073
+ function R(s) {
1070
1074
  return g({ ...s, state: !0, attribute: !1 });
1071
1075
  }
1072
- var ri = Object.defineProperty, ni = (s, t, e, i) => {
1076
+ var ni = Object.defineProperty, oi = (s, t, e, i) => {
1073
1077
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1074
1078
  (o = s[n]) && (r = o(t, e, r) || r);
1075
- return r && ri(t, e, r), r;
1079
+ return r && ni(t, e, r), r;
1076
1080
  };
1077
- const Et = class Et extends m {
1081
+ const St = class St extends m {
1078
1082
  constructor() {
1079
1083
  super(...arguments), this.anchor = "BottomRight";
1080
1084
  }
@@ -1086,7 +1090,7 @@ const Et = class Et extends m {
1086
1090
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1087
1091
  }
1088
1092
  };
1089
- Et.styles = [
1093
+ St.styles = [
1090
1094
  k`
1091
1095
  :host {
1092
1096
  position: fixed;
@@ -1105,17 +1109,17 @@ Et.styles = [
1105
1109
  }
1106
1110
  `
1107
1111
  ];
1108
- let X = Et;
1109
- ni([
1112
+ let J = St;
1113
+ oi([
1110
1114
  g({ attribute: !0 })
1111
- ], X.prototype, "anchor");
1115
+ ], J.prototype, "anchor");
1112
1116
  /**
1113
1117
  * @license
1114
1118
  * Copyright 2017 Google LLC
1115
1119
  * SPDX-License-Identifier: BSD-3-Clause
1116
1120
  */
1117
- const xt = { ATTRIBUTE: 1, CHILD: 2 }, At = (s) => (...t) => ({ _$litDirective$: s, values: t });
1118
- let me = class {
1121
+ const At = { ATTRIBUTE: 1, CHILD: 2 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1122
+ let ye = class {
1119
1123
  constructor(t) {
1120
1124
  }
1121
1125
  get _$AU() {
@@ -1136,25 +1140,25 @@ let me = class {
1136
1140
  * Copyright 2020 Google LLC
1137
1141
  * SPDX-License-Identifier: BSD-3-Clause
1138
1142
  */
1139
- const oi = (s) => s.strings === void 0;
1143
+ const ai = (s) => s.strings === void 0;
1140
1144
  /**
1141
1145
  * @license
1142
1146
  * Copyright 2017 Google LLC
1143
1147
  * SPDX-License-Identifier: BSD-3-Clause
1144
1148
  */
1145
- const j = (s, t) => {
1149
+ const I = (s, t) => {
1146
1150
  var i;
1147
1151
  const e = s._$AN;
1148
1152
  if (e === void 0) return !1;
1149
- for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), j(r, t);
1153
+ for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), I(r, t);
1150
1154
  return !0;
1151
- }, J = (s) => {
1155
+ }, Q = (s) => {
1152
1156
  let t, e;
1153
1157
  do {
1154
1158
  if ((t = s._$AM) === void 0) break;
1155
1159
  e = t._$AN, e.delete(s), s = t;
1156
1160
  } while ((e == null ? void 0 : e.size) === 0);
1157
- }, ye = (s) => {
1161
+ }, be = (s) => {
1158
1162
  for (let t; t = s._$AM; s = t) {
1159
1163
  let e = t._$AN;
1160
1164
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
@@ -1162,31 +1166,31 @@ const j = (s, t) => {
1162
1166
  e.add(s), li(t);
1163
1167
  }
1164
1168
  };
1165
- function ai(s) {
1166
- this._$AN !== void 0 ? (J(this), this._$AM = s, ye(this)) : this._$AM = s;
1169
+ function ci(s) {
1170
+ this._$AN !== void 0 ? (Q(this), this._$AM = s, be(this)) : this._$AM = s;
1167
1171
  }
1168
- function ci(s, t = !1, e = 0) {
1172
+ function hi(s, t = !1, e = 0) {
1169
1173
  const i = this._$AH, r = this._$AN;
1170
- if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) j(i[n], !1), J(i[n]);
1171
- else i != null && (j(i, !1), J(i));
1172
- else j(this, s);
1174
+ if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) I(i[n], !1), Q(i[n]);
1175
+ else i != null && (I(i, !1), Q(i));
1176
+ else I(this, s);
1173
1177
  }
1174
1178
  const li = (s) => {
1175
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = ci), s._$AQ ?? (s._$AQ = ai));
1179
+ s.type == At.CHILD && (s._$AP ?? (s._$AP = hi), s._$AQ ?? (s._$AQ = ci));
1176
1180
  };
1177
- class be extends me {
1181
+ class $e extends ye {
1178
1182
  constructor() {
1179
1183
  super(...arguments), this._$AN = void 0;
1180
1184
  }
1181
1185
  _$AT(t, e, i) {
1182
- super._$AT(t, e, i), ye(this), this.isConnected = t._$AU;
1186
+ super._$AT(t, e, i), be(this), this.isConnected = t._$AU;
1183
1187
  }
1184
1188
  _$AO(t, e = !0) {
1185
1189
  var i, r;
1186
- 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), J(this));
1190
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (I(this, t), Q(this));
1187
1191
  }
1188
1192
  setValue(t) {
1189
- if (oi(this._$Ct)) this._$Ct._$AI(t, this);
1193
+ if (ai(this._$Ct)) this._$Ct._$AI(t, this);
1190
1194
  else {
1191
1195
  const e = [...this._$Ct._$AH];
1192
1196
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1197,34 +1201,34 @@ class be extends me {
1197
1201
  reconnected() {
1198
1202
  }
1199
1203
  }
1200
- const hi = /* @__PURE__ */ new WeakMap();
1201
- let Wt = 0;
1202
- const at = /* @__PURE__ */ new Map(), qt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((s) => requestAnimationFrame(s)), di = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Gt = (s, t) => {
1204
+ const di = /* @__PURE__ */ new WeakMap();
1205
+ let Gt = 0;
1206
+ const ct = /* @__PURE__ */ new Map(), Yt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((s) => requestAnimationFrame(s)), ui = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Xt = (s, t) => {
1203
1207
  const e = s - t;
1204
1208
  return e === 0 ? void 0 : e;
1205
- }, Xt = (s, t) => {
1209
+ }, Jt = (s, t) => {
1206
1210
  const e = s / t;
1207
1211
  return e === 1 ? void 0 : e;
1208
- }, ct = { left: (s, t) => {
1209
- const e = Gt(s, t);
1212
+ }, ht = { left: (s, t) => {
1213
+ const e = Xt(s, t);
1210
1214
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1211
1215
  }, top: (s, t) => {
1212
- const e = Gt(s, t);
1216
+ const e = Xt(s, t);
1213
1217
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1214
1218
  }, width: (s, t) => {
1215
1219
  let e;
1216
1220
  t === 0 && (t = 1, e = { width: "1px" });
1217
- const i = Xt(s, t);
1221
+ const i = Jt(s, t);
1218
1222
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1219
1223
  }, height: (s, t) => {
1220
1224
  let e;
1221
1225
  t === 0 && (t = 1, e = { height: "1px" });
1222
- const i = Xt(s, t);
1226
+ const i = Jt(s, t);
1223
1227
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1224
- } }, ui = { duration: 333, easing: "ease-in-out" }, pi = ["left", "top", "width", "height", "opacity", "color", "background"], Jt = /* @__PURE__ */ new WeakMap();
1225
- class fi extends be {
1228
+ } }, pi = { duration: 333, easing: "ease-in-out" }, fi = ["left", "top", "width", "height", "opacity", "color", "background"], Qt = /* @__PURE__ */ new WeakMap();
1229
+ class gi extends $e {
1226
1230
  constructor(t) {
1227
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === xt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1231
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === At.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1228
1232
  this.createFinished();
1229
1233
  }
1230
1234
  createFinished() {
@@ -1241,7 +1245,7 @@ class fi extends be {
1241
1245
  return u;
1242
1246
  }
1243
1247
  getController() {
1244
- return hi.get(this.u);
1248
+ return di.get(this.u);
1245
1249
  }
1246
1250
  isDisabled() {
1247
1251
  var t;
@@ -1250,17 +1254,17 @@ class fi extends be {
1250
1254
  update(t, [e]) {
1251
1255
  var r;
1252
1256
  const i = this.u === void 0;
1253
- 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, Jt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1257
+ 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);
1254
1258
  }
1255
1259
  p(t) {
1256
1260
  t = t ?? {};
1257
1261
  const e = this.getController();
1258
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = pi), this.options = t;
1262
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = fi), this.options = t;
1259
1263
  }
1260
1264
  m() {
1261
1265
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1262
1266
  return this.options.properties.forEach((r) => {
1263
- const n = e[r] ?? (ct[r] ? void 0 : i[r]), o = Number(n);
1267
+ const n = e[r] ?? (ht[r] ? void 0 : i[r]), o = Number(n);
1264
1268
  t[r] = isNaN(o) ? n + "" : o;
1265
1269
  }), t;
1266
1270
  }
@@ -1285,11 +1289,11 @@ class fi extends be {
1285
1289
  const { from: n, to: o } = this.N(this.A, r, e);
1286
1290
  this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1287
1291
  } else {
1288
- const n = at.get(this.options.inId);
1292
+ const n = ct.get(this.options.inId);
1289
1293
  if (n) {
1290
- at.delete(this.options.inId);
1294
+ ct.delete(this.options.inId);
1291
1295
  const { from: o, to: a } = this.N(n, r, e);
1292
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach((c) => c.zIndex = Wt);
1296
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Gt++, t.forEach((c) => c.zIndex = Gt);
1293
1297
  } else this.options.in && (t = [...this.options.in, {}]);
1294
1298
  }
1295
1299
  this.animate(t, i);
@@ -1305,7 +1309,7 @@ class fi extends be {
1305
1309
  }
1306
1310
  async disconnected() {
1307
1311
  var e;
1308
- if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0)) return;
1312
+ if (!this.h || (this.options.id !== void 0 && ct.set(this.options.id, this.A), this.options.out === void 0)) return;
1309
1313
  if (this.prepare(), await Kt(), (e = this.i) == null ? void 0 : e.isConnected) {
1310
1314
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1311
1315
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
@@ -1332,19 +1336,19 @@ class fi extends be {
1332
1336
  O() {
1333
1337
  const t = [];
1334
1338
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1335
- const i = Jt.get(e);
1339
+ const i = Qt.get(e);
1336
1340
  i && !i.isDisabled() && i && t.push(i);
1337
1341
  }
1338
1342
  return t;
1339
1343
  }
1340
1344
  get isHostRendered() {
1341
- const t = qt.has(this.u);
1345
+ const t = Yt.has(this.u);
1342
1346
  return t || this.u.updateComplete.then(() => {
1343
- qt.add(this.u);
1347
+ Yt.add(this.u);
1344
1348
  }), t;
1345
1349
  }
1346
1350
  j(t, e = this.O()) {
1347
- const i = { ...ui };
1351
+ const i = { ...pi };
1348
1352
  return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1349
1353
  }
1350
1354
  N(t, e, i) {
@@ -1360,13 +1364,13 @@ class fi extends be {
1360
1364
  let o = !1;
1361
1365
  const a = {};
1362
1366
  for (const c in e) {
1363
- const l = t[c], h = e[c];
1364
- if (c in ct) {
1365
- const d = ct[c];
1366
- if (l === void 0 || h === void 0) continue;
1367
- const p = d(l, h);
1367
+ const h = t[c], l = e[c];
1368
+ if (c in ht) {
1369
+ const d = ht[c];
1370
+ if (h === void 0 || l === void 0) continue;
1371
+ const p = d(h, l);
1368
1372
  p.transform !== void 0 && (a[c] = p.value, o = !0, r.transform = `${r.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(r, p.overrideFrom));
1369
- } else l !== h && l !== void 0 && h !== void 0 && (o = !0, r[c] = l, n[c] = h);
1373
+ } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1370
1374
  }
1371
1375
  return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
1372
1376
  }
@@ -1393,16 +1397,16 @@ class fi extends be {
1393
1397
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1394
1398
  }
1395
1399
  }
1396
- const gi = At(fi), vi = { 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>' };
1400
+ const vi = Ct(gi), mi = { 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>' };
1397
1401
  /**
1398
1402
  * @license
1399
1403
  * Copyright 2018 Google LLC
1400
1404
  * SPDX-License-Identifier: BSD-3-Clause
1401
1405
  */
1402
- const Qt = At(class extends me {
1406
+ const te = Ct(class extends ye {
1403
1407
  constructor(s) {
1404
1408
  var t;
1405
- if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1409
+ if (super(s), s.type !== At.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1406
1410
  }
1407
1411
  render(s) {
1408
1412
  return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
@@ -1420,12 +1424,12 @@ const Qt = At(class extends me {
1420
1424
  const o = !!t[n];
1421
1425
  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)));
1422
1426
  }
1423
- return P;
1427
+ return O;
1424
1428
  }
1425
1429
  }), y = (s, t, e) => {
1426
1430
  s && e.style.setProperty(t, s);
1427
- }, $e = (s, t) => {
1428
- var e, i, r, n, o, a, c, l, h;
1431
+ }, _e = (s, t) => {
1432
+ var e, i, r, n, o, a, c, h, l;
1429
1433
  y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1430
1434
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1431
1435
  "--text-on-primary-background",
@@ -1451,38 +1455,38 @@ const Qt = At(class extends me {
1451
1455
  "--interactive-primary-background",
1452
1456
  t
1453
1457
  ), y(
1454
- (l = s.colors) == null ? void 0 : l.interactiveTextOnPrimaryBackground,
1458
+ (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1455
1459
  "--interactive-text-on-primary-background",
1456
1460
  t
1457
- ), y((h = s.colors) == null ? void 0 : h.focusColor, "--focus-color", t);
1461
+ ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1458
1462
  };
1459
1463
  /**
1460
1464
  * @license
1461
1465
  * Copyright 2020 Google LLC
1462
1466
  * SPDX-License-Identifier: BSD-3-Clause
1463
1467
  */
1464
- const _e = () => new mi();
1465
- class mi {
1468
+ const we = () => new yi();
1469
+ class yi {
1466
1470
  }
1467
- const lt = /* @__PURE__ */ new WeakMap(), we = At(class extends be {
1471
+ const lt = /* @__PURE__ */ new WeakMap(), xe = Ct(class extends $e {
1468
1472
  render(s) {
1469
1473
  return u;
1470
1474
  }
1471
1475
  update(s, [t]) {
1472
1476
  var i;
1473
- const e = t !== this.Y;
1474
- 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;
1477
+ const e = t !== this.G;
1478
+ return e && this.G !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.G = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), u;
1475
1479
  }
1476
1480
  rt(s) {
1477
- if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1481
+ if (this.isConnected || (s = void 0), typeof this.G == "function") {
1478
1482
  const t = this.ht ?? globalThis;
1479
1483
  let e = lt.get(t);
1480
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.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);
1481
- } else this.Y.value = s;
1484
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ht, s);
1485
+ } else this.G.value = s;
1482
1486
  }
1483
1487
  get lt() {
1484
1488
  var s, t;
1485
- return typeof this.Y == "function" ? (s = lt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1489
+ return typeof this.G == "function" ? (s = lt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1486
1490
  }
1487
1491
  disconnected() {
1488
1492
  this.lt === this.ct && this.rt(void 0);
@@ -1491,14 +1495,14 @@ const lt = /* @__PURE__ */ new WeakMap(), we = At(class extends be {
1491
1495
  this.rt(this.ct);
1492
1496
  }
1493
1497
  });
1494
- var yi = Object.defineProperty, Y = (s, t, e, i) => {
1498
+ var bi = Object.defineProperty, q = (s, t, e, i) => {
1495
1499
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1496
1500
  (o = s[n]) && (r = o(t, e, r) || r);
1497
- return r && yi(t, e, r), r;
1501
+ return r && bi(t, e, r), r;
1498
1502
  };
1499
- const St = class St extends m {
1503
+ const Pt = class Pt extends m {
1500
1504
  constructor() {
1501
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = _e(), this.widgetActive$ = new le(!1), this.componentIsDestroyed$ = new yt();
1505
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = we(), this.widgetActive$ = new le(!1), this.componentIsDestroyed$ = new bt();
1502
1506
  }
1503
1507
  async connectedCallback() {
1504
1508
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1533,23 +1537,23 @@ const St = class St extends m {
1533
1537
  }
1534
1538
  _applyBranding() {
1535
1539
  var t;
1536
- (t = this.application) != null && t.settings && $e(this.application.settings.branding, this);
1540
+ (t = this.application) != null && t.settings && _e(this.application.settings.branding, this);
1537
1541
  }
1538
1542
  async _renderSymbol() {
1539
- var a, c, l;
1543
+ var a, c, h;
1540
1544
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (c = t == null ? void 0 : t.graphics) == null ? void 0 : c.trigger;
1541
1545
  if (e)
1542
1546
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1543
- const i = (l = this.application) == null ? void 0 : l.triggerIcon;
1547
+ const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1544
1548
  if (!i)
1545
1549
  return u;
1546
- const r = async (h) => vi, { type: n, content: o } = i;
1550
+ const r = async (l) => mi, { type: n, content: o } = i;
1547
1551
  switch (n) {
1548
1552
  case "Telia": {
1549
- const h = await r();
1550
- return h ? C`<telia-icon
1553
+ const l = await r();
1554
+ return l ? C`<telia-icon
1551
1555
  class="trigger-icon"
1552
- svg=${h.svg}
1556
+ svg=${l.svg}
1553
1557
  size="lg"
1554
1558
  ></telia-icon>` : u;
1555
1559
  }
@@ -1573,20 +1577,20 @@ const St = class St extends m {
1573
1577
  render() {
1574
1578
  var t, e, i, r;
1575
1579
  return C`<div
1576
- class=${Qt({
1580
+ class=${te({
1577
1581
  "trigger-container": !0,
1578
1582
  hidden: !this.triggerVisible
1579
1583
  })}
1580
- ${we(this.containerRef)}
1584
+ ${xe(this.containerRef)}
1581
1585
  >
1582
1586
  ${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? C`
1583
1587
  <button
1584
1588
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1585
1589
  class="trigger-label"
1586
1590
  @click=${this.toggleActive}
1587
- ${gi({
1591
+ ${vi({
1588
1592
  keyframeOptions: {},
1589
- in: di,
1593
+ in: ui,
1590
1594
  stabilizeOut: !0,
1591
1595
  skipInitial: !1
1592
1596
  })}
@@ -1597,7 +1601,7 @@ const St = class St extends m {
1597
1601
 
1598
1602
  <button
1599
1603
  label="Widget trigger"
1600
- class=${Qt({
1604
+ class=${te({
1601
1605
  trigger: !0,
1602
1606
  active: this.active,
1603
1607
  rendered: this.loaded
@@ -1636,7 +1640,7 @@ const St = class St extends m {
1636
1640
  </div>`;
1637
1641
  }
1638
1642
  };
1639
- St.styles = [
1643
+ Pt.styles = [
1640
1644
  k`
1641
1645
  :host {
1642
1646
  --voca-rem-multiplier: 0.625;
@@ -1768,28 +1772,28 @@ St.styles = [
1768
1772
  }
1769
1773
  `
1770
1774
  ];
1771
- let $ = St;
1772
- Y([
1775
+ let $ = Pt;
1776
+ q([
1773
1777
  g({ attribute: !1 })
1774
1778
  ], $.prototype, "application");
1775
- Y([
1776
- L()
1779
+ q([
1780
+ R()
1777
1781
  ], $.prototype, "active");
1778
- Y([
1779
- L()
1782
+ q([
1783
+ R()
1780
1784
  ], $.prototype, "triggerVisible");
1781
- Y([
1782
- L()
1785
+ q([
1786
+ R()
1783
1787
  ], $.prototype, "loaded");
1784
- Y([
1785
- L()
1788
+ q([
1789
+ R()
1786
1790
  ], $.prototype, "icon");
1787
- var bi = Object.defineProperty, A = (s, t, e, i) => {
1791
+ var $i = Object.defineProperty, A = (s, t, e, i) => {
1788
1792
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1789
1793
  (o = s[n]) && (r = o(t, e, r) || r);
1790
- return r && bi(t, e, r), r;
1794
+ return r && $i(t, e, r), r;
1791
1795
  };
1792
- const xe = (s) => {
1796
+ const Ae = (s) => {
1793
1797
  const e = class e extends s {
1794
1798
  constructor() {
1795
1799
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1845,37 +1849,37 @@ const xe = (s) => {
1845
1849
  ], t.prototype, "application"), A([
1846
1850
  g({ attribute: !1 })
1847
1851
  ], t.prototype, "parent"), t;
1848
- }, Pt = class Pt extends xe(m) {
1852
+ }, Ot = class Ot extends Ae(m) {
1849
1853
  render() {
1850
1854
  return C`Non resolved component`;
1851
1855
  }
1852
1856
  };
1853
- Pt.styles = [
1857
+ Ot.styles = [
1854
1858
  k`
1855
1859
  :host {
1856
1860
  display: block;
1857
1861
  }
1858
1862
  `
1859
1863
  ];
1860
- let mt = Pt;
1864
+ let yt = Ot;
1861
1865
  /**
1862
1866
  * @license
1863
1867
  * Copyright 2021 Google LLC
1864
1868
  * SPDX-License-Identifier: BSD-3-Clause
1865
1869
  */
1866
- function* $i(s, t) {
1870
+ function* _i(s, t) {
1867
1871
  if (s !== void 0) {
1868
1872
  let e = 0;
1869
1873
  for (const i of s) yield t(i, e++);
1870
1874
  }
1871
1875
  }
1872
- var V = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(V || {});
1876
+ var F = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(F || {});
1873
1877
  /**
1874
1878
  * @license
1875
1879
  * Copyright 2021 Google LLC
1876
1880
  * SPDX-License-Identifier: BSD-3-Clause
1877
1881
  */
1878
- let _i = class extends Event {
1882
+ let wi = class extends Event {
1879
1883
  constructor(t, e, i, r) {
1880
1884
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e, this.callback = i, this.subscribe = r ?? !1;
1881
1885
  }
@@ -1890,7 +1894,7 @@ let _i = class extends Event {
1890
1894
  * Copyright 2021 Google LLC
1891
1895
  * SPDX-License-Identifier: BSD-3-Clause
1892
1896
  */
1893
- class wi {
1897
+ class xi {
1894
1898
  get value() {
1895
1899
  return this.o;
1896
1900
  }
@@ -1923,12 +1927,12 @@ class wi {
1923
1927
  * Copyright 2021 Google LLC
1924
1928
  * SPDX-License-Identifier: BSD-3-Clause
1925
1929
  */
1926
- let xi = class extends Event {
1930
+ let Ai = class extends Event {
1927
1931
  constructor(t, e) {
1928
1932
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t, this.contextTarget = e;
1929
1933
  }
1930
1934
  };
1931
- class te extends wi {
1935
+ class ee extends xi {
1932
1936
  constructor(t, e, i) {
1933
1937
  var r, n;
1934
1938
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
@@ -1938,7 +1942,7 @@ class te extends wi {
1938
1942
  }, this.onProviderRequest = (o) => {
1939
1943
  if (o.context !== this.context || (o.contextTarget ?? o.composedPath()[0]) === this.host) return;
1940
1944
  const a = /* @__PURE__ */ new Set();
1941
- for (const [c, { consumerHost: l }] of this.subscriptions) a.has(c) || (a.add(c), l.dispatchEvent(new _i(this.context, l, c, !0)));
1945
+ for (const [c, { consumerHost: h }] of this.subscriptions) a.has(c) || (a.add(c), h.dispatchEvent(new wi(this.context, h, c, !0)));
1942
1946
  o.stopPropagation();
1943
1947
  }, 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);
1944
1948
  }
@@ -1946,7 +1950,7 @@ class te extends wi {
1946
1950
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1947
1951
  }
1948
1952
  hostConnected() {
1949
- this.host.dispatchEvent(new xi(this.context, this.host));
1953
+ this.host.dispatchEvent(new Ai(this.context, this.host));
1950
1954
  }
1951
1955
  }
1952
1956
  /**
@@ -1954,23 +1958,19 @@ class te extends wi {
1954
1958
  * Copyright 2017 Google LLC
1955
1959
  * SPDX-License-Identifier: BSD-3-Clause
1956
1960
  */
1957
- function Ai({ context: s }) {
1961
+ function Ci({ context: s }) {
1958
1962
  return (t, e) => {
1959
1963
  const i = /* @__PURE__ */ new WeakMap();
1960
- if (typeof e == "object") return e.addInitializer(function() {
1961
- i.set(this, new te(this, { context: s }));
1962
- }), { get() {
1964
+ if (typeof e == "object") return { get() {
1963
1965
  return t.get.call(this);
1964
1966
  }, set(r) {
1965
- var n;
1966
- return (n = i.get(this)) == null || n.setValue(r), t.set.call(this, r);
1967
+ return i.get(this).setValue(r), t.set.call(this, r);
1967
1968
  }, init(r) {
1968
- var n;
1969
- return (n = i.get(this)) == null || n.setValue(r), r;
1969
+ return i.set(this, new ee(this, { context: s, initialValue: r })), r;
1970
1970
  } };
1971
1971
  {
1972
1972
  t.constructor.addInitializer((o) => {
1973
- i.set(o, new te(o, { context: s }));
1973
+ i.set(o, new ee(o, { context: s }));
1974
1974
  });
1975
1975
  const r = Object.getOwnPropertyDescriptor(t, e);
1976
1976
  let n;
@@ -1991,14 +1991,14 @@ function Ai({ context: s }) {
1991
1991
  }
1992
1992
  };
1993
1993
  }
1994
- var Ci = Object.defineProperty, Ae = (s, t, e, i) => {
1994
+ var Ei = Object.defineProperty, Ce = (s, t, e, i) => {
1995
1995
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1996
1996
  (o = s[n]) && (r = o(t, e, r) || r);
1997
- return r && Ci(t, e, r), r;
1997
+ return r && Ei(t, e, r), r;
1998
1998
  };
1999
- const Ei = "application", kt = class kt extends m {
1999
+ const Si = "application", kt = class kt extends m {
2000
2000
  constructor() {
2001
- super(...arguments), this.nodes = [], this.wrapperRef = _e(), this.fullscreen = !1, this.isReady = new le(!1);
2001
+ super(...arguments), this.nodes = [], this.wrapperRef = we(), this.fullscreen = !1, this.isReady = new le(!1);
2002
2002
  }
2003
2003
  addChild(t) {
2004
2004
  t.parent = this, this.nodes.push(t);
@@ -2007,7 +2007,7 @@ const Ei = "application", kt = class kt extends m {
2007
2007
  if (!this.wrapperRef.value)
2008
2008
  return;
2009
2009
  const t = this.application.settings;
2010
- t != null && t.branding && $e(t.branding, this.wrapperRef.value);
2010
+ t != null && t.branding && _e(t.branding, this.wrapperRef.value);
2011
2011
  }
2012
2012
  applyStyles() {
2013
2013
  if (!this.wrapperRef.value)
@@ -2023,8 +2023,8 @@ const Ei = "application", kt = class kt extends m {
2023
2023
  render() {
2024
2024
  var i, r;
2025
2025
  const t = this.application.settings.components.conversation;
2026
- return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === V.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${we(this.wrapperRef)}>
2027
- ${$i(this.nodes, (n) => n)}
2026
+ return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === F.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${xe(this.wrapperRef)}>
2027
+ ${_i(this.nodes, (n) => n)}
2028
2028
  </div>`;
2029
2029
  }
2030
2030
  };
@@ -2194,18 +2194,18 @@ kt.styles = k`
2194
2194
  animation: none;
2195
2195
  }
2196
2196
  `;
2197
- let F = kt;
2198
- Ae([
2197
+ let z = kt;
2198
+ Ce([
2199
2199
  g({ attribute: !0 })
2200
- ], F.prototype, "fullscreen");
2201
- Ae([
2200
+ ], z.prototype, "fullscreen");
2201
+ Ce([
2202
2202
  g({ attribute: !1 }),
2203
- Ai({ context: Ei })
2204
- ], F.prototype, "application");
2205
- const Q = class Q {
2203
+ Ci({ context: Si })
2204
+ ], z.prototype, "application");
2205
+ const tt = class tt {
2206
2206
  // TODO:
2207
2207
  // private static endpoint = 'http://localhost:5299/api'; // TODO:
2208
- constructor(t = Q.endpoint) {
2208
+ constructor(t = tt.endpoint) {
2209
2209
  this._endpoint = t;
2210
2210
  }
2211
2211
  async getSite(t) {
@@ -2214,9 +2214,9 @@ const Q = class Q {
2214
2214
  id: i.id,
2215
2215
  triggers: i.triggers || [],
2216
2216
  apps: (i.widgets || []).map((r) => {
2217
- let n = V.Trigger;
2218
- r.renderStrategy.toLowerCase() === "inline" && (n = V.Inline);
2219
- const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", l = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2217
+ let n = F.Trigger;
2218
+ r.renderStrategy.toLowerCase() === "inline" && (n = F.Inline);
2219
+ const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", h = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2220
2220
  return {
2221
2221
  id: o,
2222
2222
  widgetId: o,
@@ -2225,7 +2225,7 @@ const Q = class Q {
2225
2225
  anchor: c,
2226
2226
  triggerIcon: {
2227
2227
  type: "Telia",
2228
- content: l
2228
+ content: h
2229
2229
  }
2230
2230
  };
2231
2231
  })
@@ -2239,14 +2239,14 @@ const Q = class Q {
2239
2239
  } : null;
2240
2240
  }
2241
2241
  };
2242
- Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2243
- let ee = Q;
2244
- var Si = Object.defineProperty, Ct = (s, t, e, i) => {
2242
+ tt.endpoint = "https://widgets.ace.teliacompany.net/api";
2243
+ let ie = tt;
2244
+ var Pi = Object.defineProperty, Et = (s, t, e, i) => {
2245
2245
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2246
2246
  (o = s[n]) && (r = o(t, e, r) || r);
2247
- return r && Si(t, e, r), r;
2247
+ return r && Pi(t, e, r), r;
2248
2248
  };
2249
- const Ot = class Ot extends m {
2249
+ const Tt = class Tt extends m {
2250
2250
  constructor() {
2251
2251
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2252
2252
  }
@@ -2271,36 +2271,36 @@ const Ot = class Ot extends m {
2271
2271
  render() {
2272
2272
  if (!this.widget || this.status !== "activated")
2273
2273
  return u;
2274
- if (this.widget.renderStrategy === V.Trigger) {
2274
+ if (this.widget.renderStrategy === F.Trigger) {
2275
2275
  const t = new $();
2276
2276
  return t.application = this.widget, t;
2277
2277
  }
2278
2278
  return this.widget.render();
2279
2279
  }
2280
2280
  };
2281
- Ot.styles = [
2281
+ Tt.styles = [
2282
2282
  k`
2283
2283
  :host {
2284
2284
  display: block;
2285
2285
  }
2286
2286
  `
2287
2287
  ];
2288
- let H = Ot;
2289
- Ct([
2288
+ let L = Tt;
2289
+ Et([
2290
2290
  g({ attribute: !0 })
2291
- ], H.prototype, "name");
2292
- Ct([
2293
- L()
2294
- ], H.prototype, "widget");
2295
- Ct([
2296
- L()
2297
- ], H.prototype, "status");
2298
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
2291
+ ], L.prototype, "name");
2292
+ Et([
2293
+ R()
2294
+ ], L.prototype, "widget");
2295
+ Et([
2296
+ R()
2297
+ ], L.prototype, "status");
2298
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", J);
2299
2299
  customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2300
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", mt);
2301
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", F);
2302
- customElements.get("ace-widget") || customElements.define("ace-widget", H);
2303
- const Pi = qe`
2300
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", yt);
2301
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2302
+ customElements.get("ace-widget") || customElements.define("ace-widget", L);
2303
+ const Oi = Ye`
2304
2304
  <g clip-path="url(#clip0_119_1665)">
2305
2305
  <path d="M16.9321 27.4656C11.5983 29.6245 8.54568 28.9365 6.85856 27.5904L6.83398 27.5712C9.44534 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z" fill="#990AE3"/>
2306
2306
  <path d="M20.9805 22.4843C25.1369 20.0779 28.8809 15.9968 30.0615 13.0869C30.397 10.6784 30.4654 10.3744 30.506 7.72479C30.5113 7.35786 30.4889 7.00586 30.4547 6.66879C30.2122 10.56 25.1743 15.4528 18.5092 18.6496C10.4689 22.5056 4.43734 23.5435 1.74585 20.6027C2.68077 22.4459 3.29407 23.3408 4.34545 24.7083C7.45044 27.4539 13.9852 26.5355 20.9805 22.4843Z" fill="#990AE3"/>
@@ -2318,7 +2318,7 @@ const Pi = qe`
2318
2318
  <clipPath id="clip0_119_1665">
2319
2319
  <rect width="30.5068" height="32.0011" fill="white"/>
2320
2320
  </clipPath>
2321
- </defs>`, ie = xe(m), Tt = class Tt extends ie {
2321
+ </defs>`, se = Ae(m), Mt = class Mt extends se {
2322
2322
  render() {
2323
2323
  var e;
2324
2324
  return (e = this.application.branding().other) != null && e.whiteLabel ? u : C` <div class="copyright">
@@ -2336,14 +2336,14 @@ const Pi = qe`
2336
2336
  fill="none"
2337
2337
  xmlns="http://www.w3.org/2000/svg"
2338
2338
  >
2339
- ${Pi}
2339
+ ${Oi}
2340
2340
  </svg>
2341
2341
  </a>
2342
2342
  </div>`;
2343
2343
  }
2344
2344
  };
2345
- Tt.styles = [
2346
- ie.styles || [],
2345
+ Mt.styles = [
2346
+ se.styles || [],
2347
2347
  k`
2348
2348
  :host {
2349
2349
  --copyright-text-color: var(--text-on-primary-background);
@@ -2379,8 +2379,8 @@ Tt.styles = [
2379
2379
  }
2380
2380
  `
2381
2381
  ];
2382
- let se = Tt;
2382
+ let re = Mt;
2383
2383
  export {
2384
- se as Copyright,
2385
- se as default
2384
+ re as Copyright,
2385
+ re as default
2386
2386
  };