@telia-ace/widget-components-copyright-flamingo 1.1.111-rc.5 → 1.1.111-rc.6

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 dt = function(s, t) {
2
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var lt = function(s, t) {
2
+ return lt = 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
- }, dt(s, t);
6
+ }, lt(s, t);
7
7
  };
8
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
- dt(s, t);
11
+ lt(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 pt(s) {
17
+ function dt(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 {
@@ -41,7 +41,7 @@ function ut(s, t) {
41
41
  }
42
42
  return n;
43
43
  }
44
- function ft(s, t, e) {
44
+ function pt(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 ft(s, t, e) {
49
49
  function b(s) {
50
50
  return typeof s == "function";
51
51
  }
52
- function oe(s) {
52
+ function ne(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 = oe(function(s) {
58
+ var it = ne(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,7 +64,7 @@ var it = oe(function(s) {
64
64
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
65
65
  };
66
66
  });
67
- function gt(s, t) {
67
+ function ft(s, t) {
68
68
  if (s) {
69
69
  var e = s.indexOf(t);
70
70
  0 <= e && s.splice(e, 1);
@@ -82,7 +82,7 @@ var tt = function() {
82
82
  if (o)
83
83
  if (this._parentage = null, Array.isArray(o))
84
84
  try {
85
- for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
85
+ for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
86
86
  var h = c.value;
87
87
  h.remove(this);
88
88
  }
@@ -108,19 +108,19 @@ var tt = function() {
108
108
  if (d) {
109
109
  this._finalizers = null;
110
110
  try {
111
- for (var u = pt(d), f = u.next(); !f.done; f = u.next()) {
112
- var O = f.value;
111
+ for (var p = dt(d), f = p.next(); !f.done; f = p.next()) {
112
+ var k = f.value;
113
113
  try {
114
- Ht(O);
114
+ Mt(k);
115
115
  } catch (v) {
116
- n = n ?? [], v instanceof it ? n = ft(ft([], ut(n)), ut(v.errors)) : n.push(v);
116
+ n = n ?? [], v instanceof it ? n = pt(pt([], ut(n)), ut(v.errors)) : n.push(v);
117
117
  }
118
118
  }
119
119
  } catch (v) {
120
120
  i = { error: v };
121
121
  } finally {
122
122
  try {
123
- f && !f.done && (r = u.return) && r.call(u);
123
+ f && !f.done && (r = p.return) && r.call(p);
124
124
  } finally {
125
125
  if (i) throw i.error;
126
126
  }
@@ -133,7 +133,7 @@ var tt = function() {
133
133
  var e;
134
134
  if (t && t !== this)
135
135
  if (this.closed)
136
- Ht(t);
136
+ Mt(t);
137
137
  else {
138
138
  if (t instanceof s) {
139
139
  if (t.closed || t._hasParent(this))
@@ -150,56 +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) && gt(e, t);
153
+ e === t ? this._parentage = null : Array.isArray(e) && ft(e, t);
154
154
  }, s.prototype.remove = function(t) {
155
155
  var e = this._finalizers;
156
- e && gt(e, t), t instanceof s && t._removeParent(this);
156
+ e && ft(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
- }(), ae = tt.EMPTY;
162
- function ce(s) {
161
+ }(), oe = tt.EMPTY;
162
+ function ae(s) {
163
163
  return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
164
164
  }
165
- function Ht(s) {
165
+ function Mt(s) {
166
166
  b(s) ? s() : s.unsubscribe();
167
167
  }
168
- var he = {
169
- onUnhandledError: null,
170
- onStoppedNotification: null,
171
- Promise: void 0,
172
- useDeprecatedSynchronousErrorHandling: !1,
173
- useDeprecatedNextContext: !1
174
- }, Se = {
168
+ var Ce = {
169
+ Promise: void 0
170
+ }, Ee = {
175
171
  setTimeout: function(s, t) {
176
172
  for (var e = [], i = 2; i < arguments.length; i++)
177
173
  e[i - 2] = arguments[i];
178
- return setTimeout.apply(void 0, ft([s, t], ut(e)));
174
+ return setTimeout.apply(void 0, pt([s, t], ut(e)));
179
175
  },
180
176
  clearTimeout: function(s) {
181
177
  return clearTimeout(s);
182
178
  },
183
179
  delegate: void 0
184
180
  };
185
- function Pe(s) {
186
- Se.setTimeout(function() {
181
+ function Se(s) {
182
+ Ee.setTimeout(function() {
187
183
  throw s;
188
184
  });
189
185
  }
190
- function Lt() {
186
+ function Ht() {
191
187
  }
192
188
  function W(s) {
193
189
  s();
194
190
  }
195
- var le = function(s) {
191
+ var ce = function(s) {
196
192
  D(t, s);
197
193
  function t(e) {
198
194
  var i = s.call(this) || this;
199
- return i.isStopped = !1, e ? (i.destination = e, ce(e) && e.add(i)) : i.destination = Me, i;
195
+ return i.isStopped = !1, e ? (i.destination = e, ae(e) && e.add(i)) : i.destination = ke, i;
200
196
  }
201
197
  return t.create = function(e, i, r) {
202
- return new vt(e, i, r);
198
+ return new gt(e, i, r);
203
199
  }, t.prototype.next = function(e) {
204
200
  this.isStopped || this._next(e);
205
201
  }, t.prototype.error = function(e) {
@@ -223,11 +219,7 @@ var le = function(s) {
223
219
  this.unsubscribe();
224
220
  }
225
221
  }, t;
226
- }(tt), ke = Function.prototype.bind;
227
- function st(s, t) {
228
- return ke.call(s, t);
229
- }
230
- var Oe = function() {
222
+ }(tt), Pe = function() {
231
223
  function s(t) {
232
224
  this.partialObserver = t;
233
225
  }
@@ -258,55 +250,43 @@ var Oe = function() {
258
250
  Z(e);
259
251
  }
260
252
  }, s;
261
- }(), vt = function(s) {
253
+ }(), gt = function(s) {
262
254
  D(t, s);
263
255
  function t(e, i, r) {
264
256
  var n = s.call(this) || this, o;
265
- if (b(e) || !e)
266
- o = {
267
- next: e ?? void 0,
268
- error: i ?? void 0,
269
- complete: r ?? void 0
270
- };
271
- else {
272
- var a;
273
- n && he.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
274
- return n.unsubscribe();
275
- }, o = {
276
- next: e.next && st(e.next, a),
277
- error: e.error && st(e.error, a),
278
- complete: e.complete && st(e.complete, a)
279
- }) : o = e;
280
- }
281
- return n.destination = new Oe(o), n;
257
+ return b(e) || !e ? o = {
258
+ next: e ?? void 0,
259
+ error: i ?? void 0,
260
+ complete: r ?? void 0
261
+ } : o = e, n.destination = new Pe(o), n;
282
262
  }
283
263
  return t;
284
- }(le);
264
+ }(ce);
285
265
  function Z(s) {
286
- Pe(s);
266
+ Se(s);
287
267
  }
288
- function Te(s) {
268
+ function Oe(s) {
289
269
  throw s;
290
270
  }
291
- var Me = {
271
+ var ke = {
292
272
  closed: !0,
293
- next: Lt,
294
- error: Te,
295
- complete: Lt
296
- }, He = function() {
273
+ next: Ht,
274
+ error: Oe,
275
+ complete: Ht
276
+ }, Te = function() {
297
277
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
298
278
  }();
299
- function Le(s) {
279
+ function Me(s) {
300
280
  return s;
301
281
  }
302
- function Re(s) {
303
- return s.length === 0 ? Le : s.length === 1 ? s[0] : function(e) {
282
+ function He(s) {
283
+ return s.length === 0 ? Me : s.length === 1 ? s[0] : function(e) {
304
284
  return s.reduce(function(i, r) {
305
285
  return r(i);
306
286
  }, e);
307
287
  };
308
288
  }
309
- var Rt = function() {
289
+ var Lt = function() {
310
290
  function s(t) {
311
291
  t && (this._subscribe = t);
312
292
  }
@@ -314,7 +294,7 @@ var Rt = function() {
314
294
  var e = new s();
315
295
  return e.source = this, e.operator = t, e;
316
296
  }, s.prototype.subscribe = function(t, e, i) {
317
- var r = this, n = je(t) ? t : new vt(t, e, i);
297
+ var r = this, n = Ue(t) ? t : new gt(t, e, i);
318
298
  return W(function() {
319
299
  var o = r, a = o.operator, c = o.source;
320
300
  n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
@@ -328,7 +308,7 @@ var Rt = function() {
328
308
  }, s.prototype.forEach = function(t, e) {
329
309
  var i = this;
330
310
  return e = Ut(e), new e(function(r, n) {
331
- var o = new vt({
311
+ var o = new gt({
332
312
  next: function(a) {
333
313
  try {
334
314
  t(a);
@@ -344,12 +324,12 @@ var Rt = function() {
344
324
  }, s.prototype._subscribe = function(t) {
345
325
  var e;
346
326
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
347
- }, s.prototype[He] = function() {
327
+ }, s.prototype[Te] = function() {
348
328
  return this;
349
329
  }, s.prototype.pipe = function() {
350
330
  for (var t = [], e = 0; e < arguments.length; e++)
351
331
  t[e] = arguments[e];
352
- return Re(t)(this);
332
+ return He(t)(this);
353
333
  }, s.prototype.toPromise = function(t) {
354
334
  var e = this;
355
335
  return t = Ut(t), new t(function(i, r) {
@@ -368,30 +348,30 @@ var Rt = function() {
368
348
  }();
369
349
  function Ut(s) {
370
350
  var t;
371
- return (t = s ?? he.Promise) !== null && t !== void 0 ? t : Promise;
351
+ return (t = s ?? Ce.Promise) !== null && t !== void 0 ? t : Promise;
372
352
  }
373
- function Ue(s) {
353
+ function Le(s) {
374
354
  return s && b(s.next) && b(s.error) && b(s.complete);
375
355
  }
376
- function je(s) {
377
- return s && s instanceof le || Ue(s) && ce(s);
356
+ function Ue(s) {
357
+ return s && s instanceof ce || Le(s) && ae(s);
378
358
  }
379
- var Ne = oe(function(s) {
359
+ var Re = ne(function(s) {
380
360
  return function() {
381
361
  s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
382
362
  };
383
- }), bt = function(s) {
363
+ }), yt = function(s) {
384
364
  D(t, s);
385
365
  function t() {
386
366
  var e = s.call(this) || this;
387
367
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
388
368
  }
389
369
  return t.prototype.lift = function(e) {
390
- var i = new jt(this, this);
370
+ var i = new Rt(this, this);
391
371
  return i.operator = e, i;
392
372
  }, t.prototype._throwIfClosed = function() {
393
373
  if (this.closed)
394
- throw new Ne();
374
+ throw new Re();
395
375
  }, t.prototype.next = function(e) {
396
376
  var i = this;
397
377
  W(function() {
@@ -399,7 +379,7 @@ var Ne = oe(function(s) {
399
379
  if (i._throwIfClosed(), !i.isStopped) {
400
380
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
401
381
  try {
402
- for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
382
+ for (var o = dt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
403
383
  var c = a.value;
404
384
  c.next(e);
405
385
  }
@@ -447,19 +427,19 @@ var Ne = oe(function(s) {
447
427
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
448
428
  }, t.prototype._innerSubscribe = function(e) {
449
429
  var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
450
- return n || o ? ae : (this.currentObservers = null, a.push(e), new tt(function() {
451
- i.currentObservers = null, gt(a, e);
430
+ return n || o ? oe : (this.currentObservers = null, a.push(e), new tt(function() {
431
+ i.currentObservers = null, ft(a, e);
452
432
  }));
453
433
  }, t.prototype._checkFinalizedStatuses = function(e) {
454
434
  var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
455
435
  r ? e.error(n) : o && e.complete();
456
436
  }, t.prototype.asObservable = function() {
457
- var e = new Rt();
437
+ var e = new Lt();
458
438
  return e.source = this, e;
459
439
  }, t.create = function(e, i) {
460
- return new jt(e, i);
440
+ return new Rt(e, i);
461
441
  }, t;
462
- }(Rt), jt = function(s) {
442
+ }(Lt), Rt = function(s) {
463
443
  D(t, s);
464
444
  function t(e, i) {
465
445
  var r = s.call(this) || this;
@@ -476,9 +456,9 @@ var Ne = oe(function(s) {
476
456
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
477
457
  }, t.prototype._subscribe = function(e) {
478
458
  var i, r;
479
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : ae;
459
+ return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : oe;
480
460
  }, t;
481
- }(bt), de = function(s) {
461
+ }(yt), he = function(s) {
482
462
  D(t, s);
483
463
  function t(e) {
484
464
  var i = s.call(this) || this;
@@ -501,22 +481,22 @@ var Ne = oe(function(s) {
501
481
  }, t.prototype.next = function(e) {
502
482
  s.prototype.next.call(this, this._value = e);
503
483
  }, t;
504
- }(bt);
484
+ }(yt);
505
485
  /**
506
486
  * @license
507
487
  * Copyright 2019 Google LLC
508
488
  * SPDX-License-Identifier: BSD-3-Clause
509
489
  */
510
- const q = globalThis, $t = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
511
- let pe = class {
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 le = class {
512
492
  constructor(t, e, i) {
513
- 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.");
514
494
  this.cssText = t, this.t = e;
515
495
  }
516
496
  get styleSheet() {
517
497
  let t = this.o;
518
498
  const e = this.t;
519
- if ($t && t === void 0) {
499
+ if (bt && t === void 0) {
520
500
  const i = e !== void 0 && e.length === 1;
521
501
  i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
522
502
  }
@@ -526,33 +506,33 @@ let pe = class {
526
506
  return this.cssText;
527
507
  }
528
508
  };
529
- const Ie = (s) => new pe(typeof s == "string" ? s : s + "", void 0, _t), k = (s, ...t) => {
509
+ const Ne = (s) => new le(typeof s == "string" ? s : s + "", void 0, $t), O = (s, ...t) => {
530
510
  const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
531
511
  if (o._$cssResult$ === !0) return o.cssText;
532
512
  if (typeof o == "number") return o;
533
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.");
534
514
  })(r) + s[n + 1], s[0]);
535
- return new pe(e, s, _t);
536
- }, Be = (s, t) => {
537
- if ($t) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
515
+ return new le(e, s, $t);
516
+ }, je = (s, t) => {
517
+ if (bt) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
538
518
  else for (const e of t) {
539
519
  const i = document.createElement("style"), r = q.litNonce;
540
520
  r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
541
521
  }
542
- }, It = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
522
+ }, jt = bt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
543
523
  let e = "";
544
524
  for (const i of t.cssRules) e += i.cssText;
545
- return Ie(e);
525
+ return Ne(e);
546
526
  })(s) : s;
547
527
  /**
548
528
  * @license
549
529
  * Copyright 2017 Google LLC
550
530
  * SPDX-License-Identifier: BSD-3-Clause
551
531
  */
552
- const { is: Ve, defineProperty: ze, getOwnPropertyDescriptor: De, getOwnPropertyNames: Fe, getOwnPropertySymbols: Ye, getPrototypeOf: Ze } = Object, w = globalThis, Bt = w.trustedTypes, We = Bt ? Bt.emptyScript : "", rt = w.reactiveElementPolyfillSupport, U = (s, t) => s, K = { toAttribute(s, t) {
532
+ const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnPropertyNames: ze, getOwnPropertySymbols: De, getPrototypeOf: Fe } = Object, w = globalThis, It = w.trustedTypes, Ye = It ? It.emptyScript : "", st = w.reactiveElementPolyfillSupport, R = (s, t) => s, K = { toAttribute(s, t) {
553
533
  switch (t) {
554
534
  case Boolean:
555
- s = s ? We : null;
535
+ s = s ? Ye : null;
556
536
  break;
557
537
  case Object:
558
538
  case Array:
@@ -577,7 +557,7 @@ const { is: Ve, defineProperty: ze, getOwnPropertyDescriptor: De, getOwnProperty
577
557
  }
578
558
  }
579
559
  return e;
580
- } }, wt = (s, t) => !Ve(s, t), Vt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt };
560
+ } }, _t = (s, t) => !Ie(s, t), Bt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t };
581
561
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
582
562
  let T = class extends HTMLElement {
583
563
  static addInitializer(t) {
@@ -586,14 +566,14 @@ let T = class extends HTMLElement {
586
566
  static get observedAttributes() {
587
567
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
588
568
  }
589
- static createProperty(t, e = Vt) {
569
+ static createProperty(t, e = Bt) {
590
570
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
591
571
  const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
592
- r !== void 0 && ze(this.prototype, t, r);
572
+ r !== void 0 && Be(this.prototype, t, r);
593
573
  }
594
574
  }
595
575
  static getPropertyDescriptor(t, e, i) {
596
- const { get: r, set: n } = De(this.prototype, t) ?? { get() {
576
+ const { get: r, set: n } = Ve(this.prototype, t) ?? { get() {
597
577
  return this[e];
598
578
  }, set(o) {
599
579
  this[e] = o;
@@ -606,17 +586,17 @@ let T = class extends HTMLElement {
606
586
  }, configurable: !0, enumerable: !0 };
607
587
  }
608
588
  static getPropertyOptions(t) {
609
- return this.elementProperties.get(t) ?? Vt;
589
+ return this.elementProperties.get(t) ?? Bt;
610
590
  }
611
591
  static _$Ei() {
612
- if (this.hasOwnProperty(U("elementProperties"))) return;
613
- const t = Ze(this);
592
+ if (this.hasOwnProperty(R("elementProperties"))) return;
593
+ const t = Fe(this);
614
594
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
615
595
  }
616
596
  static finalize() {
617
- if (this.hasOwnProperty(U("finalized"))) return;
618
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(U("properties"))) {
619
- const e = this.properties, i = [...Fe(e), ...Ye(e)];
597
+ if (this.hasOwnProperty(R("finalized"))) return;
598
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
599
+ const e = this.properties, i = [...ze(e), ...De(e)];
620
600
  for (const r of i) this.createProperty(r, e[r]);
621
601
  }
622
602
  const t = this[Symbol.metadata];
@@ -635,8 +615,8 @@ let T = class extends HTMLElement {
635
615
  const e = [];
636
616
  if (Array.isArray(t)) {
637
617
  const i = new Set(t.flat(1 / 0).reverse());
638
- for (const r of i) e.unshift(It(r));
639
- } else t !== void 0 && e.push(It(t));
618
+ for (const r of i) e.unshift(jt(r));
619
+ } else t !== void 0 && e.push(jt(t));
640
620
  return e;
641
621
  }
642
622
  static _$Eu(t, e) {
@@ -665,7 +645,7 @@ let T = class extends HTMLElement {
665
645
  }
666
646
  createRenderRoot() {
667
647
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
668
- return Be(t, this.constructor.elementStyles), t;
648
+ return je(t, this.constructor.elementStyles), t;
669
649
  }
670
650
  connectedCallback() {
671
651
  var t;
@@ -704,7 +684,7 @@ let T = class extends HTMLElement {
704
684
  }
705
685
  requestUpdate(t, e, i) {
706
686
  if (t !== void 0) {
707
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? wt)(this[t], e)) return;
687
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _t)(this[t], e)) return;
708
688
  this.P(t, e, i);
709
689
  }
710
690
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -777,56 +757,56 @@ let T = class extends HTMLElement {
777
757
  firstUpdated(t) {
778
758
  }
779
759
  };
780
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[U("elementProperties")] = /* @__PURE__ */ new Map(), T[U("finalized")] = /* @__PURE__ */ new Map(), rt == null || rt({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
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");
781
761
  /**
782
762
  * @license
783
763
  * Copyright 2017 Google LLC
784
764
  * SPDX-License-Identifier: BSD-3-Clause
785
765
  */
786
- const j = globalThis, G = j.trustedTypes, zt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ue = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, fe = "?" + _, qe = `<${fe}>`, S = document, I = () => S.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", At = Array.isArray, Ke = (s) => At(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", nt = `[
787
- \f\r]`, R = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Ft = />/g, A = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
788
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Yt = /'/g, Zt = /"/g, ge = /^(?:script|style|textarea|title)$/i, ve = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = ve(1), Ge = ve(2), P = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
789
- function me(s, t) {
790
- if (!At(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
791
- return zt !== void 0 ? zt.createHTML(t) : t;
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, zt = /-->/g, Dt = />/g, A = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
768
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ft = /'/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;
792
772
  }
793
- const Xe = (s, t) => {
773
+ const Ke = (s, t) => {
794
774
  const e = s.length - 1, i = [];
795
- let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = R;
775
+ let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
796
776
  for (let a = 0; a < e; a++) {
797
777
  const c = s[a];
798
- let h, l, d = -1, u = 0;
799
- for (; u < c.length && (o.lastIndex = u, l = o.exec(c), l !== null); ) u = o.lastIndex, o === R ? l[1] === "!--" ? o = Dt : l[1] !== void 0 ? o = Ft : l[2] !== void 0 ? (ge.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? l[0] === ">" ? (o = r ?? R, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? A : l[3] === '"' ? Zt : Yt) : o === Zt || o === Yt ? o = A : o === Dt || o === Ft ? o = R : (o = A, r = void 0);
778
+ let h, l, d = -1, p = 0;
779
+ 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 ? (pe.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? 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 ? A : l[3] === '"' ? Yt : Ft) : o === Yt || o === Ft ? o = A : o === zt || o === Dt ? o = U : (o = A, r = void 0);
800
780
  const f = o === A && s[a + 1].startsWith("/>") ? " " : "";
801
- n += o === R ? c + qe : d >= 0 ? (i.push(h), c.slice(0, d) + ue + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
781
+ n += o === U ? c + Ze : d >= 0 ? (i.push(h), c.slice(0, d) + de + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
802
782
  }
803
- return [me(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
783
+ return [ge(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
804
784
  };
805
- let mt = class ye {
785
+ let vt = class ve {
806
786
  constructor({ strings: t, _$litType$: e }, i) {
807
787
  let r;
808
788
  this.parts = [];
809
789
  let n = 0, o = 0;
810
- const a = t.length - 1, c = this.parts, [h, l] = Xe(t, e);
811
- if (this.el = ye.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
790
+ const a = t.length - 1, c = this.parts, [h, l] = Ke(t, e);
791
+ if (this.el = ve.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
812
792
  const d = this.el.content.firstChild;
813
793
  d.replaceWith(...d.childNodes);
814
794
  }
815
795
  for (; (r = E.nextNode()) !== null && c.length < a; ) {
816
796
  if (r.nodeType === 1) {
817
- if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(ue)) {
818
- const u = l[o++], f = r.getAttribute(d).split(_), O = /([.?@])?(.*)/.exec(u);
819
- c.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Qe : O[1] === "?" ? ti : O[1] === "@" ? ei : et }), r.removeAttribute(d);
797
+ if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(de)) {
798
+ const p = l[o++], f = r.getAttribute(d).split(_), k = /([.?@])?(.*)/.exec(p);
799
+ c.push({ type: 1, index: n, name: k[2], strings: f, ctor: k[1] === "." ? Xe : k[1] === "?" ? Je : k[1] === "@" ? Qe : et }), r.removeAttribute(d);
820
800
  } else d.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
821
- if (ge.test(r.tagName)) {
822
- const d = r.textContent.split(_), u = d.length - 1;
823
- if (u > 0) {
801
+ if (pe.test(r.tagName)) {
802
+ const d = r.textContent.split(_), p = d.length - 1;
803
+ if (p > 0) {
824
804
  r.textContent = G ? G.emptyScript : "";
825
- for (let f = 0; f < u; f++) r.append(d[f], I()), E.nextNode(), c.push({ type: 2, index: ++n });
826
- r.append(d[u], I());
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());
827
807
  }
828
808
  }
829
- } else if (r.nodeType === 8) if (r.data === fe) c.push({ type: 2, index: n });
809
+ } else if (r.nodeType === 8) if (r.data === ue) c.push({ type: 2, index: n });
830
810
  else {
831
811
  let d = -1;
832
812
  for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += _.length - 1;
@@ -846,7 +826,7 @@ function M(s, t, e = s, i) {
846
826
  const n = B(t) ? void 0 : t._$litDirective$;
847
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;
848
828
  }
849
- class Je {
829
+ class Ge {
850
830
  constructor(t, e) {
851
831
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
852
832
  }
@@ -863,7 +843,7 @@ class Je {
863
843
  for (; c !== void 0; ) {
864
844
  if (o === c.index) {
865
845
  let h;
866
- c.type === 2 ? h = new F(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ii(n, this, t)), this._$AV.push(h), c = i[++a];
846
+ c.type === 2 ? h = new F(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ti(n, this, t)), this._$AV.push(h), c = i[++a];
867
847
  }
868
848
  o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
869
849
  }
@@ -880,7 +860,7 @@ class F {
880
860
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
881
861
  }
882
862
  constructor(t, e, i, r) {
883
- this.type = 2, this._$AH = p, 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;
863
+ 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;
884
864
  }
885
865
  get parentNode() {
886
866
  let t = this._$AA.parentNode;
@@ -894,7 +874,7 @@ class F {
894
874
  return this._$AB;
895
875
  }
896
876
  _$AI(t, e = this) {
897
- t = M(this, t, e), B(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ke(t) ? this.k(t) : this._(t);
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);
898
878
  }
899
879
  O(t) {
900
880
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -903,23 +883,23 @@ class F {
903
883
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
904
884
  }
905
885
  _(t) {
906
- this._$AH !== p && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
886
+ this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
907
887
  }
908
888
  $(t) {
909
889
  var n;
910
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(me(i.h, i.h[0]), this.options)), i);
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);
911
891
  if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
912
892
  else {
913
- const o = new Je(r, this), a = o.u(this.options);
893
+ const o = new Ge(r, this), a = o.u(this.options);
914
894
  o.p(e), this.T(a), this._$AH = o;
915
895
  }
916
896
  }
917
897
  _$AC(t) {
918
- let e = Wt.get(t.strings);
919
- return e === void 0 && Wt.set(t.strings, e = new mt(t)), e;
898
+ let e = Zt.get(t.strings);
899
+ return e === void 0 && Zt.set(t.strings, e = new vt(t)), e;
920
900
  }
921
901
  k(t) {
922
- At(this._$AH) || (this._$AH = [], this._$AR());
902
+ wt(this._$AH) || (this._$AH = [], this._$AR());
923
903
  const e = this._$AH;
924
904
  let i, r = 0;
925
905
  for (const n of t) r === e.length ? e.push(i = new F(this.O(I()), this.O(I()), this, this.options)) : i = e[r], i._$AI(n), r++;
@@ -945,7 +925,7 @@ class et {
945
925
  return this._$AM._$AU;
946
926
  }
947
927
  constructor(t, e, i, r, n) {
948
- this.type = 1, this._$AH = p, 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 = p;
928
+ 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;
949
929
  }
950
930
  _$AI(t, e = this, i, r) {
951
931
  const n = this.strings;
@@ -954,37 +934,37 @@ class et {
954
934
  else {
955
935
  const a = t;
956
936
  let c, h;
957
- for (t = n[0], c = 0; c < n.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
937
+ for (t = n[0], c = 0; c < n.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
958
938
  }
959
939
  o && !r && this.j(t);
960
940
  }
961
941
  j(t) {
962
- t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
942
+ t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
963
943
  }
964
944
  }
965
- class Qe extends et {
945
+ class Xe extends et {
966
946
  constructor() {
967
947
  super(...arguments), this.type = 3;
968
948
  }
969
949
  j(t) {
970
- this.element[this.name] = t === p ? void 0 : t;
950
+ this.element[this.name] = t === u ? void 0 : t;
971
951
  }
972
952
  }
973
- class ti extends et {
953
+ class Je extends et {
974
954
  constructor() {
975
955
  super(...arguments), this.type = 4;
976
956
  }
977
957
  j(t) {
978
- this.element.toggleAttribute(this.name, !!t && t !== p);
958
+ this.element.toggleAttribute(this.name, !!t && t !== u);
979
959
  }
980
960
  }
981
- class ei extends et {
961
+ class Qe extends et {
982
962
  constructor(t, e, i, r, n) {
983
963
  super(t, e, i, r, n), this.type = 5;
984
964
  }
985
965
  _$AI(t, e = this) {
986
- if ((t = M(this, t, e, 0) ?? p) === P) return;
987
- const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== p && (i === p || r);
966
+ if ((t = M(this, t, e, 0) ?? u) === P) return;
967
+ 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);
988
968
  r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
989
969
  }
990
970
  handleEvent(t) {
@@ -992,7 +972,7 @@ class ei extends et {
992
972
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
993
973
  }
994
974
  }
995
- class ii {
975
+ class ti {
996
976
  constructor(t, e, i) {
997
977
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
998
978
  }
@@ -1003,9 +983,9 @@ class ii {
1003
983
  M(this, t);
1004
984
  }
1005
985
  }
1006
- const ot = j.litHtmlPolyfillSupport;
1007
- ot == null || ot(mt, F), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.2.1");
1008
- const si = (s, t, e) => {
986
+ const nt = N.litHtmlPolyfillSupport;
987
+ nt == null || nt(vt, F), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
988
+ const ei = (s, t, e) => {
1009
989
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1010
990
  let r = i._$litPart$;
1011
991
  if (r === void 0) {
@@ -1030,7 +1010,7 @@ let m = class extends T {
1030
1010
  }
1031
1011
  update(t) {
1032
1012
  const e = this.render();
1033
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = si(e, this.renderRoot, this.renderOptions);
1013
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ei(e, this.renderRoot, this.renderOptions);
1034
1014
  }
1035
1015
  connectedCallback() {
1036
1016
  var t;
@@ -1044,17 +1024,17 @@ let m = class extends T {
1044
1024
  return P;
1045
1025
  }
1046
1026
  };
1047
- var ne;
1048
- m._$litElement$ = !0, m.finalized = !0, (ne = globalThis.litElementHydrateSupport) == null || ne.call(globalThis, { LitElement: m });
1049
- const at = globalThis.litElementPolyfillSupport;
1050
- at == null || at({ LitElement: m });
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 });
1051
1031
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1052
1032
  /**
1053
1033
  * @license
1054
1034
  * Copyright 2017 Google LLC
1055
1035
  * SPDX-License-Identifier: BSD-3-Clause
1056
1036
  */
1057
- const ri = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt }, ni = (s = ri, t, e) => {
1037
+ const ii = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t }, si = (s = ii, t, e) => {
1058
1038
  const { kind: i, metadata: r } = e;
1059
1039
  let n = globalThis.litPropertyMetadata.get(r);
1060
1040
  if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
@@ -1076,7 +1056,7 @@ const ri = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged:
1076
1056
  throw Error("Unsupported decorator location: " + i);
1077
1057
  };
1078
1058
  function g(s) {
1079
- return (t, e) => typeof e == "object" ? ni(s, t, e) : ((i, r, n) => {
1059
+ return (t, e) => typeof e == "object" ? si(s, t, e) : ((i, r, n) => {
1080
1060
  const o = r.hasOwnProperty(n);
1081
1061
  return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1082
1062
  })(s, t, e);
@@ -1089,12 +1069,12 @@ function g(s) {
1089
1069
  function L(s) {
1090
1070
  return g({ ...s, state: !0, attribute: !1 });
1091
1071
  }
1092
- var oi = Object.defineProperty, ai = (s, t, e, i) => {
1072
+ var ri = Object.defineProperty, ni = (s, t, e, i) => {
1093
1073
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1094
1074
  (o = s[n]) && (r = o(t, e, r) || r);
1095
- return r && oi(t, e, r), r;
1075
+ return r && ri(t, e, r), r;
1096
1076
  };
1097
- const St = class St extends m {
1077
+ const Et = class Et extends m {
1098
1078
  constructor() {
1099
1079
  super(...arguments), this.anchor = "BottomRight";
1100
1080
  }
@@ -1103,11 +1083,11 @@ const St = class St extends m {
1103
1083
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1104
1084
  }
1105
1085
  render() {
1106
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
1086
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1107
1087
  }
1108
1088
  };
1109
- St.styles = [
1110
- k`
1089
+ Et.styles = [
1090
+ O`
1111
1091
  :host {
1112
1092
  position: fixed;
1113
1093
  display: flex;
@@ -1125,8 +1105,8 @@ St.styles = [
1125
1105
  }
1126
1106
  `
1127
1107
  ];
1128
- let X = St;
1129
- ai([
1108
+ let X = Et;
1109
+ ni([
1130
1110
  g({ attribute: !0 })
1131
1111
  ], X.prototype, "anchor");
1132
1112
  /**
@@ -1134,8 +1114,8 @@ ai([
1134
1114
  * Copyright 2017 Google LLC
1135
1115
  * SPDX-License-Identifier: BSD-3-Clause
1136
1116
  */
1137
- const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1138
- let be = class {
1117
+ const At = { ATTRIBUTE: 1, CHILD: 2 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
1118
+ let me = class {
1139
1119
  constructor(t) {
1140
1120
  }
1141
1121
  get _$AU() {
@@ -1156,17 +1136,17 @@ let be = class {
1156
1136
  * Copyright 2020 Google LLC
1157
1137
  * SPDX-License-Identifier: BSD-3-Clause
1158
1138
  */
1159
- const ci = (s) => s.strings === void 0;
1139
+ const oi = (s) => s.strings === void 0;
1160
1140
  /**
1161
1141
  * @license
1162
1142
  * Copyright 2017 Google LLC
1163
1143
  * SPDX-License-Identifier: BSD-3-Clause
1164
1144
  */
1165
- const N = (s, t) => {
1145
+ const j = (s, t) => {
1166
1146
  var i;
1167
1147
  const e = s._$AN;
1168
1148
  if (e === void 0) return !1;
1169
- for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), N(r, t);
1149
+ for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), j(r, t);
1170
1150
  return !0;
1171
1151
  }, J = (s) => {
1172
1152
  let t, e;
@@ -1174,39 +1154,39 @@ const N = (s, t) => {
1174
1154
  if ((t = s._$AM) === void 0) break;
1175
1155
  e = t._$AN, e.delete(s), s = t;
1176
1156
  } while ((e == null ? void 0 : e.size) === 0);
1177
- }, $e = (s) => {
1157
+ }, ye = (s) => {
1178
1158
  for (let t; t = s._$AM; s = t) {
1179
1159
  let e = t._$AN;
1180
1160
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1181
1161
  else if (e.has(s)) break;
1182
- e.add(s), di(t);
1162
+ e.add(s), hi(t);
1183
1163
  }
1184
1164
  };
1185
- function hi(s) {
1186
- this._$AN !== void 0 ? (J(this), this._$AM = s, $e(this)) : this._$AM = s;
1165
+ function ai(s) {
1166
+ this._$AN !== void 0 ? (J(this), this._$AM = s, ye(this)) : this._$AM = s;
1187
1167
  }
1188
- function li(s, t = !1, e = 0) {
1168
+ function ci(s, t = !1, e = 0) {
1189
1169
  const i = this._$AH, r = this._$AN;
1190
- if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) N(i[n], !1), J(i[n]);
1191
- else i != null && (N(i, !1), J(i));
1192
- else N(this, s);
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);
1193
1173
  }
1194
- const di = (s) => {
1195
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = li), s._$AQ ?? (s._$AQ = hi));
1174
+ const hi = (s) => {
1175
+ s.type == At.CHILD && (s._$AP ?? (s._$AP = ci), s._$AQ ?? (s._$AQ = ai));
1196
1176
  };
1197
- class _e extends be {
1177
+ class be extends me {
1198
1178
  constructor() {
1199
1179
  super(...arguments), this._$AN = void 0;
1200
1180
  }
1201
1181
  _$AT(t, e, i) {
1202
- super._$AT(t, e, i), $e(this), this.isConnected = t._$AU;
1182
+ super._$AT(t, e, i), ye(this), this.isConnected = t._$AU;
1203
1183
  }
1204
1184
  _$AO(t, e = !0) {
1205
1185
  var i, r;
1206
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), J(this));
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));
1207
1187
  }
1208
1188
  setValue(t) {
1209
- if (ci(this._$Ct)) this._$Ct._$AI(t, this);
1189
+ if (oi(this._$Ct)) this._$Ct._$AI(t, this);
1210
1190
  else {
1211
1191
  const e = [...this._$Ct._$AH];
1212
1192
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1217,34 +1197,34 @@ class _e extends be {
1217
1197
  reconnected() {
1218
1198
  }
1219
1199
  }
1220
- const pi = /* @__PURE__ */ new WeakMap();
1221
- let qt = 0;
1222
- const ct = /* @__PURE__ */ new Map(), Kt = /* @__PURE__ */ new WeakSet(), Gt = () => new Promise((s) => requestAnimationFrame(s)), ui = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Xt = (s, t) => {
1200
+ const li = /* @__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) => {
1223
1203
  const e = s - t;
1224
1204
  return e === 0 ? void 0 : e;
1225
- }, Jt = (s, t) => {
1205
+ }, Xt = (s, t) => {
1226
1206
  const e = s / t;
1227
1207
  return e === 1 ? void 0 : e;
1228
- }, ht = { left: (s, t) => {
1229
- const e = Xt(s, t);
1208
+ }, ct = { left: (s, t) => {
1209
+ const e = Gt(s, t);
1230
1210
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1231
1211
  }, top: (s, t) => {
1232
- const e = Xt(s, t);
1212
+ const e = Gt(s, t);
1233
1213
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1234
1214
  }, width: (s, t) => {
1235
1215
  let e;
1236
1216
  t === 0 && (t = 1, e = { width: "1px" });
1237
- const i = Jt(s, t);
1217
+ const i = Xt(s, t);
1238
1218
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1239
1219
  }, height: (s, t) => {
1240
1220
  let e;
1241
1221
  t === 0 && (t = 1, e = { height: "1px" });
1242
- const i = Jt(s, t);
1222
+ const i = Xt(s, t);
1243
1223
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1244
- } }, fi = { duration: 333, easing: "ease-in-out" }, gi = ["left", "top", "width", "height", "opacity", "color", "background"], Qt = /* @__PURE__ */ new WeakMap();
1245
- class vi extends _e {
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 {
1246
1226
  constructor(t) {
1247
- 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.");
1227
+ 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.");
1248
1228
  this.createFinished();
1249
1229
  }
1250
1230
  createFinished() {
@@ -1258,10 +1238,10 @@ class vi extends _e {
1258
1238
  (t = this.l) == null || t.call(this), this.l = void 0;
1259
1239
  }
1260
1240
  render(t) {
1261
- return p;
1241
+ return u;
1262
1242
  }
1263
1243
  getController() {
1264
- return pi.get(this.u);
1244
+ return li.get(this.u);
1265
1245
  }
1266
1246
  isDisabled() {
1267
1247
  var t;
@@ -1270,17 +1250,17 @@ class vi extends _e {
1270
1250
  update(t, [e]) {
1271
1251
  var r;
1272
1252
  const i = this.u === void 0;
1273
- 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);
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);
1274
1254
  }
1275
1255
  p(t) {
1276
1256
  t = t ?? {};
1277
1257
  const e = this.getController();
1278
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = gi), this.options = t;
1258
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = pi), this.options = t;
1279
1259
  }
1280
1260
  m() {
1281
1261
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1282
1262
  return this.options.properties.forEach((r) => {
1283
- const n = e[r] ?? (ht[r] ? void 0 : i[r]), o = Number(n);
1263
+ const n = e[r] ?? (ct[r] ? void 0 : i[r]), o = Number(n);
1284
1264
  t[r] = isNaN(o) ? n + "" : o;
1285
1265
  }), t;
1286
1266
  }
@@ -1299,17 +1279,17 @@ class vi extends _e {
1299
1279
  async hostUpdated() {
1300
1280
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1301
1281
  let t;
1302
- this.prepare(), await Gt;
1282
+ this.prepare(), await Kt;
1303
1283
  const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1304
1284
  if (this.A !== void 0) {
1305
1285
  const { from: n, to: o } = this.N(this.A, r, e);
1306
1286
  this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1307
1287
  } else {
1308
- const n = ct.get(this.options.inId);
1288
+ const n = at.get(this.options.inId);
1309
1289
  if (n) {
1310
- ct.delete(this.options.inId);
1290
+ at.delete(this.options.inId);
1311
1291
  const { from: o, to: a } = this.N(n, r, e);
1312
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, qt++, t.forEach((c) => c.zIndex = qt);
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);
1313
1293
  } else this.options.in && (t = [...this.options.in, {}]);
1314
1294
  }
1315
1295
  this.animate(t, i);
@@ -1325,8 +1305,8 @@ class vi extends _e {
1325
1305
  }
1326
1306
  async disconnected() {
1327
1307
  var e;
1328
- if (!this.h || (this.options.id !== void 0 && ct.set(this.options.id, this.A), this.options.out === void 0)) return;
1329
- if (this.prepare(), await Gt(), (e = this.i) == null ? void 0 : e.isConnected) {
1308
+ if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0)) return;
1309
+ if (this.prepare(), await Kt(), (e = this.i) == null ? void 0 : e.isConnected) {
1330
1310
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1331
1311
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1332
1312
  const r = this.m();
@@ -1352,19 +1332,19 @@ class vi extends _e {
1352
1332
  O() {
1353
1333
  const t = [];
1354
1334
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1355
- const i = Qt.get(e);
1335
+ const i = Jt.get(e);
1356
1336
  i && !i.isDisabled() && i && t.push(i);
1357
1337
  }
1358
1338
  return t;
1359
1339
  }
1360
1340
  get isHostRendered() {
1361
- const t = Kt.has(this.u);
1341
+ const t = qt.has(this.u);
1362
1342
  return t || this.u.updateComplete.then(() => {
1363
- Kt.add(this.u);
1343
+ qt.add(this.u);
1364
1344
  }), t;
1365
1345
  }
1366
1346
  j(t, e = this.O()) {
1367
- const i = { ...fi };
1347
+ const i = { ...ui };
1368
1348
  return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1369
1349
  }
1370
1350
  N(t, e, i) {
@@ -1381,11 +1361,11 @@ class vi extends _e {
1381
1361
  const a = {};
1382
1362
  for (const c in e) {
1383
1363
  const h = t[c], l = e[c];
1384
- if (c in ht) {
1385
- const d = ht[c];
1364
+ if (c in ct) {
1365
+ const d = ct[c];
1386
1366
  if (h === void 0 || l === void 0) continue;
1387
- const u = d(h, l);
1388
- u.transform !== void 0 && (a[c] = u.value, o = !0, r.transform = `${r.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(r, u.overrideFrom));
1367
+ const p = d(h, l);
1368
+ 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));
1389
1369
  } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1390
1370
  }
1391
1371
  return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
@@ -1413,16 +1393,16 @@ class vi extends _e {
1413
1393
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1414
1394
  }
1415
1395
  }
1416
- const mi = Ct(vi), yi = { 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>' };
1396
+ const gi = xt(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>' };
1417
1397
  /**
1418
1398
  * @license
1419
1399
  * Copyright 2018 Google LLC
1420
1400
  * SPDX-License-Identifier: BSD-3-Clause
1421
1401
  */
1422
- const te = Ct(class extends be {
1402
+ const Qt = xt(class extends me {
1423
1403
  constructor(s) {
1424
1404
  var t;
1425
- 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.");
1405
+ 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.");
1426
1406
  }
1427
1407
  render(s) {
1428
1408
  return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
@@ -1444,7 +1424,7 @@ const te = Ct(class extends be {
1444
1424
  }
1445
1425
  }), y = (s, t, e) => {
1446
1426
  s && e.style.setProperty(t, s);
1447
- }, we = (s, t) => {
1427
+ }, $e = (s, t) => {
1448
1428
  var e, i, r, n, o, a, c, h, l;
1449
1429
  y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1450
1430
  (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
@@ -1481,28 +1461,28 @@ const te = Ct(class extends be {
1481
1461
  * Copyright 2020 Google LLC
1482
1462
  * SPDX-License-Identifier: BSD-3-Clause
1483
1463
  */
1484
- const Ae = () => new bi();
1485
- class bi {
1464
+ const _e = () => new mi();
1465
+ class mi {
1486
1466
  }
1487
- const lt = /* @__PURE__ */ new WeakMap(), xe = Ct(class extends _e {
1467
+ const ht = /* @__PURE__ */ new WeakMap(), we = xt(class extends be {
1488
1468
  render(s) {
1489
- return p;
1469
+ return u;
1490
1470
  }
1491
1471
  update(s, [t]) {
1492
1472
  var i;
1493
1473
  const e = t !== this.Y;
1494
- 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)), p;
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;
1495
1475
  }
1496
1476
  rt(s) {
1497
1477
  if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1498
1478
  const t = this.ht ?? globalThis;
1499
- let e = lt.get(t);
1500
- 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);
1479
+ let e = ht.get(t);
1480
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.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);
1501
1481
  } else this.Y.value = s;
1502
1482
  }
1503
1483
  get lt() {
1504
1484
  var s, t;
1505
- 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;
1485
+ return typeof this.Y == "function" ? (s = ht.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1506
1486
  }
1507
1487
  disconnected() {
1508
1488
  this.lt === this.ct && this.rt(void 0);
@@ -1511,14 +1491,14 @@ const lt = /* @__PURE__ */ new WeakMap(), xe = Ct(class extends _e {
1511
1491
  this.rt(this.ct);
1512
1492
  }
1513
1493
  });
1514
- var $i = Object.defineProperty, Y = (s, t, e, i) => {
1494
+ var yi = Object.defineProperty, Y = (s, t, e, i) => {
1515
1495
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1516
1496
  (o = s[n]) && (r = o(t, e, r) || r);
1517
- return r && $i(t, e, r), r;
1497
+ return r && yi(t, e, r), r;
1518
1498
  };
1519
- const Pt = class Pt extends m {
1499
+ const St = class St extends m {
1520
1500
  constructor() {
1521
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = Ae(), this.widgetActive$ = new de(!1), this.componentIsDestroyed$ = new bt();
1501
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = _e(), this.widgetActive$ = new he(!1), this.componentIsDestroyed$ = new yt();
1522
1502
  }
1523
1503
  async connectedCallback() {
1524
1504
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1553,7 +1533,7 @@ const Pt = class Pt extends m {
1553
1533
  }
1554
1534
  _applyBranding() {
1555
1535
  var t;
1556
- (t = this.application) != null && t.settings && we(this.application.settings.branding, this);
1536
+ (t = this.application) != null && t.settings && $e(this.application.settings.branding, this);
1557
1537
  }
1558
1538
  async _renderSymbol() {
1559
1539
  var a, c, h;
@@ -1562,8 +1542,8 @@ const Pt = class Pt extends m {
1562
1542
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1563
1543
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1564
1544
  if (!i)
1565
- return p;
1566
- const r = async (l) => yi, { type: n, content: o } = i;
1545
+ return u;
1546
+ const r = async (l) => vi, { type: n, content: o } = i;
1567
1547
  switch (n) {
1568
1548
  case "Telia": {
1569
1549
  const l = await r();
@@ -1571,10 +1551,10 @@ const Pt = class Pt extends m {
1571
1551
  class="trigger-icon"
1572
1552
  svg=${l.svg}
1573
1553
  size="lg"
1574
- ></telia-icon>` : p;
1554
+ ></telia-icon>` : u;
1575
1555
  }
1576
1556
  default:
1577
- return p;
1557
+ return u;
1578
1558
  }
1579
1559
  }
1580
1560
  hideTrigger() {
@@ -1586,31 +1566,31 @@ const Pt = class Pt extends m {
1586
1566
  render() {
1587
1567
  var t, e, i, r;
1588
1568
  return C`<div
1589
- class=${te({
1569
+ class=${Qt({
1590
1570
  "trigger-container": !0,
1591
1571
  hidden: !this.triggerVisible
1592
1572
  })}
1593
- ${xe(this.containerRef)}
1573
+ ${we(this.containerRef)}
1594
1574
  >
1595
1575
  ${!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`
1596
1576
  <button
1597
1577
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1598
1578
  class="trigger-label"
1599
1579
  @click=${this.toggleActive}
1600
- ${mi({
1580
+ ${gi({
1601
1581
  keyframeOptions: {},
1602
- in: ui,
1582
+ in: di,
1603
1583
  stabilizeOut: !0,
1604
1584
  skipInitial: !1
1605
1585
  })}
1606
1586
  >
1607
1587
  ${this.application.settings.branding.other.buttonLabelText}
1608
1588
  </button>
1609
- ` : p}
1589
+ ` : u}
1610
1590
 
1611
1591
  <button
1612
1592
  label="Widget trigger"
1613
- class=${te({
1593
+ class=${Qt({
1614
1594
  trigger: !0,
1615
1595
  active: this.active,
1616
1596
  rendered: this.loaded
@@ -1649,8 +1629,8 @@ const Pt = class Pt extends m {
1649
1629
  </div>`;
1650
1630
  }
1651
1631
  };
1652
- Pt.styles = [
1653
- k`
1632
+ St.styles = [
1633
+ O`
1654
1634
  :host {
1655
1635
  --voca-rem-multiplier: 0.625;
1656
1636
  --trigger-label-bg: #f5e0ff;
@@ -1781,7 +1761,7 @@ Pt.styles = [
1781
1761
  }
1782
1762
  `
1783
1763
  ];
1784
- let $ = Pt;
1764
+ let $ = St;
1785
1765
  Y([
1786
1766
  g({ attribute: !1 })
1787
1767
  ], $.prototype, "application");
@@ -1797,12 +1777,12 @@ Y([
1797
1777
  Y([
1798
1778
  L()
1799
1779
  ], $.prototype, "icon");
1800
- var _i = Object.defineProperty, x = (s, t, e, i) => {
1780
+ var bi = Object.defineProperty, x = (s, t, e, i) => {
1801
1781
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1802
1782
  (o = s[n]) && (r = o(t, e, r) || r);
1803
- return r && _i(t, e, r), r;
1783
+ return r && bi(t, e, r), r;
1804
1784
  };
1805
- const Ce = (s) => {
1785
+ const Ae = (s) => {
1806
1786
  const e = class e extends s {
1807
1787
  constructor() {
1808
1788
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
@@ -1828,7 +1808,7 @@ const Ce = (s) => {
1828
1808
  };
1829
1809
  e.styles = [
1830
1810
  // (superClass as unknown as typeof LitElement).styles ?? [],
1831
- k`
1811
+ O`
1832
1812
  :host {
1833
1813
  font-family: var(--font-family);
1834
1814
  grid-column: span var(--width);
@@ -1858,25 +1838,25 @@ const Ce = (s) => {
1858
1838
  ], t.prototype, "application"), x([
1859
1839
  g({ attribute: !1 })
1860
1840
  ], t.prototype, "parent"), t;
1861
- }, kt = class kt extends Ce(m) {
1841
+ }, Pt = class Pt extends Ae(m) {
1862
1842
  render() {
1863
1843
  return C`Non resolved component`;
1864
1844
  }
1865
1845
  };
1866
- kt.styles = [
1867
- k`
1846
+ Pt.styles = [
1847
+ O`
1868
1848
  :host {
1869
1849
  display: block;
1870
1850
  }
1871
1851
  `
1872
1852
  ];
1873
- let yt = kt;
1853
+ let mt = Pt;
1874
1854
  /**
1875
1855
  * @license
1876
1856
  * Copyright 2021 Google LLC
1877
1857
  * SPDX-License-Identifier: BSD-3-Clause
1878
1858
  */
1879
- function* wi(s, t) {
1859
+ function* $i(s, t) {
1880
1860
  if (s !== void 0) {
1881
1861
  let e = 0;
1882
1862
  for (const i of s) yield t(i, e++);
@@ -1888,7 +1868,7 @@ var V = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))
1888
1868
  * Copyright 2021 Google LLC
1889
1869
  * SPDX-License-Identifier: BSD-3-Clause
1890
1870
  */
1891
- let Ai = class extends Event {
1871
+ let _i = class extends Event {
1892
1872
  constructor(t, e, i) {
1893
1873
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1894
1874
  }
@@ -1903,7 +1883,7 @@ let Ai = class extends Event {
1903
1883
  * Copyright 2021 Google LLC
1904
1884
  * SPDX-License-Identifier: BSD-3-Clause
1905
1885
  */
1906
- class xi {
1886
+ class wi {
1907
1887
  get value() {
1908
1888
  return this.o;
1909
1889
  }
@@ -1936,12 +1916,12 @@ class xi {
1936
1916
  * Copyright 2021 Google LLC
1937
1917
  * SPDX-License-Identifier: BSD-3-Clause
1938
1918
  */
1939
- let Ci = class extends Event {
1919
+ let Ai = class extends Event {
1940
1920
  constructor(t) {
1941
1921
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1942
1922
  }
1943
1923
  };
1944
- class ee extends xi {
1924
+ class te extends wi {
1945
1925
  constructor(t, e, i) {
1946
1926
  var r, n;
1947
1927
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
@@ -1951,7 +1931,7 @@ class ee extends xi {
1951
1931
  const a = o.composedPath()[0];
1952
1932
  if (o.context !== this.context || a === this.host) return;
1953
1933
  const c = /* @__PURE__ */ new Set();
1954
- for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new Ai(this.context, h, !0)));
1934
+ for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new _i(this.context, h, !0)));
1955
1935
  o.stopPropagation();
1956
1936
  }, 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);
1957
1937
  }
@@ -1959,7 +1939,7 @@ class ee extends xi {
1959
1939
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1960
1940
  }
1961
1941
  hostConnected() {
1962
- this.host.dispatchEvent(new Ci(this.context));
1942
+ this.host.dispatchEvent(new Ai(this.context));
1963
1943
  }
1964
1944
  }
1965
1945
  /**
@@ -1967,11 +1947,11 @@ class ee extends xi {
1967
1947
  * Copyright 2017 Google LLC
1968
1948
  * SPDX-License-Identifier: BSD-3-Clause
1969
1949
  */
1970
- function Ei({ context: s }) {
1950
+ function xi({ context: s }) {
1971
1951
  return (t, e) => {
1972
1952
  const i = /* @__PURE__ */ new WeakMap();
1973
1953
  if (typeof e == "object") return e.addInitializer(function() {
1974
- i.set(this, new ee(this, { context: s }));
1954
+ i.set(this, new te(this, { context: s }));
1975
1955
  }), { get() {
1976
1956
  return t.get.call(this);
1977
1957
  }, set(r) {
@@ -1983,7 +1963,7 @@ function Ei({ context: s }) {
1983
1963
  } };
1984
1964
  {
1985
1965
  t.constructor.addInitializer((o) => {
1986
- i.set(o, new ee(o, { context: s }));
1966
+ i.set(o, new te(o, { context: s }));
1987
1967
  });
1988
1968
  const r = Object.getOwnPropertyDescriptor(t, e);
1989
1969
  let n;
@@ -2004,14 +1984,14 @@ function Ei({ context: s }) {
2004
1984
  }
2005
1985
  };
2006
1986
  }
2007
- var Si = Object.defineProperty, Ee = (s, t, e, i) => {
1987
+ var Ci = Object.defineProperty, xe = (s, t, e, i) => {
2008
1988
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2009
1989
  (o = s[n]) && (r = o(t, e, r) || r);
2010
- return r && Si(t, e, r), r;
1990
+ return r && Ci(t, e, r), r;
2011
1991
  };
2012
- const Pi = "application", Ot = class Ot extends m {
1992
+ const Ei = "application", Ot = class Ot extends m {
2013
1993
  constructor() {
2014
- super(...arguments), this.nodes = [], this.wrapperRef = Ae(), this.fullscreen = !1, this.isReady = new de(!1);
1994
+ super(...arguments), this.nodes = [], this.wrapperRef = _e(), this.fullscreen = !1, this.isReady = new he(!1);
2015
1995
  }
2016
1996
  addChild(t) {
2017
1997
  t.parent = this, this.nodes.push(t);
@@ -2020,7 +2000,7 @@ const Pi = "application", Ot = class Ot extends m {
2020
2000
  if (!this.wrapperRef.value)
2021
2001
  return;
2022
2002
  const t = this.application.settings;
2023
- t != null && t.branding && we(t.branding, this.wrapperRef.value);
2003
+ t != null && t.branding && $e(t.branding, this.wrapperRef.value);
2024
2004
  }
2025
2005
  applyStyles() {
2026
2006
  if (!this.wrapperRef.value)
@@ -2036,12 +2016,12 @@ const Pi = "application", Ot = class Ot extends m {
2036
2016
  render() {
2037
2017
  var i, r;
2038
2018
  const t = this.application.settings.components.conversation;
2039
- 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" ${xe(this.wrapperRef)}>
2040
- ${wi(this.nodes, (n) => n)}
2019
+ 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)}>
2020
+ ${$i(this.nodes, (n) => n)}
2041
2021
  </div>`;
2042
2022
  }
2043
2023
  };
2044
- Ot.styles = k`
2024
+ Ot.styles = O`
2045
2025
  :host {
2046
2026
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2047
2027
  --spacing-xs: 0.2rem;
@@ -2195,12 +2175,12 @@ Ot.styles = k`
2195
2175
  }
2196
2176
  `;
2197
2177
  let z = Ot;
2198
- Ee([
2178
+ xe([
2199
2179
  g({ attribute: !0 })
2200
2180
  ], z.prototype, "fullscreen");
2201
- Ee([
2181
+ xe([
2202
2182
  g({ attribute: !1 }),
2203
- Ei({ context: Pi })
2183
+ xi({ context: Ei })
2204
2184
  ], z.prototype, "application");
2205
2185
  const Q = class Q {
2206
2186
  // TODO:
@@ -2240,13 +2220,13 @@ const Q = class Q {
2240
2220
  }
2241
2221
  };
2242
2222
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2243
- let ie = Q;
2244
- var ki = Object.defineProperty, Et = (s, t, e, i) => {
2223
+ let ee = Q;
2224
+ var Si = Object.defineProperty, Ct = (s, t, e, i) => {
2245
2225
  for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2246
2226
  (o = s[n]) && (r = o(t, e, r) || r);
2247
- return r && ki(t, e, r), r;
2227
+ return r && Si(t, e, r), r;
2248
2228
  };
2249
- const Tt = class Tt extends m {
2229
+ const kt = class kt extends m {
2250
2230
  constructor() {
2251
2231
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2252
2232
  }
@@ -2270,7 +2250,7 @@ const Tt = class Tt extends m {
2270
2250
  }
2271
2251
  render() {
2272
2252
  if (!this.widget || this.status !== "activated")
2273
- return p;
2253
+ return u;
2274
2254
  if (this.widget.renderStrategy === V.Trigger) {
2275
2255
  const t = new $();
2276
2256
  return t.application = this.widget, t;
@@ -2278,29 +2258,29 @@ const Tt = class Tt extends m {
2278
2258
  return this.widget.render();
2279
2259
  }
2280
2260
  };
2281
- Tt.styles = [
2282
- k`
2261
+ kt.styles = [
2262
+ O`
2283
2263
  :host {
2284
2264
  display: block;
2285
2265
  }
2286
2266
  `
2287
2267
  ];
2288
- let H = Tt;
2289
- Et([
2268
+ let H = kt;
2269
+ Ct([
2290
2270
  g({ attribute: !0 })
2291
2271
  ], H.prototype, "name");
2292
- Et([
2272
+ Ct([
2293
2273
  L()
2294
2274
  ], H.prototype, "widget");
2295
- Et([
2275
+ Ct([
2296
2276
  L()
2297
2277
  ], H.prototype, "status");
2298
2278
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
2299
2279
  customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2300
- customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", yt);
2280
+ customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", mt);
2301
2281
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2302
2282
  customElements.get("ace-widget") || customElements.define("ace-widget", H);
2303
- const Oi = Ge`
2283
+ const Pi = qe`
2304
2284
  <g clip-path="url(#clip0_119_1665)">
2305
2285
  <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
2286
  <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,10 +2298,10 @@ const Oi = Ge`
2318
2298
  <clipPath id="clip0_119_1665">
2319
2299
  <rect width="30.5068" height="32.0011" fill="white"/>
2320
2300
  </clipPath>
2321
- </defs>`, se = Ce(m), Mt = class Mt extends se {
2301
+ </defs>`, ie = Ae(m), Tt = class Tt extends ie {
2322
2302
  render() {
2323
2303
  var e;
2324
- return (e = this.application.branding().other) != null && e.whiteLabel ? p : C` <div class="copyright">
2304
+ return (e = this.application.branding().other) != null && e.whiteLabel ? u : C` <div class="copyright">
2325
2305
  <a
2326
2306
  aria-label="Powered by Telia ACE"
2327
2307
  href="https://ace-showcase.com"
@@ -2336,15 +2316,15 @@ const Oi = Ge`
2336
2316
  fill="none"
2337
2317
  xmlns="http://www.w3.org/2000/svg"
2338
2318
  >
2339
- ${Oi}
2319
+ ${Pi}
2340
2320
  </svg>
2341
2321
  </a>
2342
2322
  </div>`;
2343
2323
  }
2344
2324
  };
2345
- Mt.styles = [
2346
- se.styles || [],
2347
- k`
2325
+ Tt.styles = [
2326
+ ie.styles || [],
2327
+ O`
2348
2328
  :host {
2349
2329
  --copyright-text-color: var(--text-on-primary-background);
2350
2330
  }
@@ -2379,8 +2359,8 @@ Mt.styles = [
2379
2359
  }
2380
2360
  `
2381
2361
  ];
2382
- let re = Mt;
2362
+ let se = Tt;
2383
2363
  export {
2384
- re as Copyright,
2385
- re as default
2364
+ se as Copyright,
2365
+ se as default
2386
2366
  };