@telia-ace/widget-components-widget-header-flamingo 1.1.39 → 1.1.40-rc.1
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,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
return
|
|
1
|
+
var Ft = function(e, t) {
|
|
2
|
+
return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
|
3
3
|
n.__proto__ = i;
|
|
4
4
|
} || function(n, i) {
|
|
5
5
|
for (var r in i)
|
|
6
6
|
Object.prototype.hasOwnProperty.call(i, r) && (n[r] = i[r]);
|
|
7
|
-
},
|
|
7
|
+
}, Ft(e, t);
|
|
8
8
|
};
|
|
9
9
|
function rt(e, t) {
|
|
10
10
|
if (typeof t != "function" && t !== null)
|
|
11
11
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
12
|
-
|
|
12
|
+
Ft(e, t);
|
|
13
13
|
function n() {
|
|
14
14
|
this.constructor = e;
|
|
15
15
|
}
|
|
@@ -42,7 +42,7 @@ function Kn(e, t, n, i) {
|
|
|
42
42
|
c((i = i.apply(e, t || [])).next());
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Ye(e, t) {
|
|
46
46
|
var n = { label: 0, sent: function() {
|
|
47
47
|
if (s[0] & 1)
|
|
48
48
|
throw s[1];
|
|
@@ -205,13 +205,13 @@ function Xn(e) {
|
|
|
205
205
|
function v(e) {
|
|
206
206
|
return typeof e == "function";
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Ze(e) {
|
|
209
209
|
var t = function(i) {
|
|
210
210
|
Error.call(i), i.stack = new Error().stack;
|
|
211
211
|
}, n = e(t);
|
|
212
212
|
return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
|
|
213
213
|
}
|
|
214
|
-
var
|
|
214
|
+
var Ut = Ze(function(e) {
|
|
215
215
|
return function(n) {
|
|
216
216
|
e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
|
|
217
217
|
` + n.map(function(i, r) {
|
|
@@ -220,13 +220,13 @@ var It = qe(function(e) {
|
|
|
220
220
|
`) : "", this.name = "UnsubscriptionError", this.errors = n;
|
|
221
221
|
};
|
|
222
222
|
});
|
|
223
|
-
function
|
|
223
|
+
function Wt(e, t) {
|
|
224
224
|
if (e) {
|
|
225
225
|
var n = e.indexOf(t);
|
|
226
226
|
0 <= n && e.splice(n, 1);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var Et = function() {
|
|
230
230
|
function e(t) {
|
|
231
231
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
232
232
|
}
|
|
@@ -259,7 +259,7 @@ var At = function() {
|
|
|
259
259
|
try {
|
|
260
260
|
u();
|
|
261
261
|
} catch (g) {
|
|
262
|
-
s = g instanceof
|
|
262
|
+
s = g instanceof Ut ? g.errors : [g];
|
|
263
263
|
}
|
|
264
264
|
var h = this._finalizers;
|
|
265
265
|
if (h) {
|
|
@@ -268,9 +268,9 @@ var At = function() {
|
|
|
268
268
|
for (var d = G(h), f = d.next(); !f.done; f = d.next()) {
|
|
269
269
|
var $ = f.value;
|
|
270
270
|
try {
|
|
271
|
-
|
|
271
|
+
de($);
|
|
272
272
|
} catch (g) {
|
|
273
|
-
s = s ?? [], g instanceof
|
|
273
|
+
s = s ?? [], g instanceof Ut ? s = $t($t([], gt(s)), gt(g.errors)) : s.push(g);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
} catch (g) {
|
|
@@ -285,13 +285,13 @@ var At = function() {
|
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
287
|
if (s)
|
|
288
|
-
throw new
|
|
288
|
+
throw new Ut(s);
|
|
289
289
|
}
|
|
290
290
|
}, e.prototype.add = function(t) {
|
|
291
291
|
var n;
|
|
292
292
|
if (t && t !== this)
|
|
293
293
|
if (this.closed)
|
|
294
|
-
|
|
294
|
+
de(t);
|
|
295
295
|
else {
|
|
296
296
|
if (t instanceof e) {
|
|
297
297
|
if (t.closed || t._hasParent(this))
|
|
@@ -308,58 +308,58 @@ var At = function() {
|
|
|
308
308
|
this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
|
|
309
309
|
}, e.prototype._removeParent = function(t) {
|
|
310
310
|
var n = this._parentage;
|
|
311
|
-
n === t ? this._parentage = null : Array.isArray(n) &&
|
|
311
|
+
n === t ? this._parentage = null : Array.isArray(n) && Wt(n, t);
|
|
312
312
|
}, e.prototype.remove = function(t) {
|
|
313
313
|
var n = this._finalizers;
|
|
314
|
-
n &&
|
|
314
|
+
n && Wt(n, t), t instanceof e && t._removeParent(this);
|
|
315
315
|
}, e.EMPTY = function() {
|
|
316
316
|
var t = new e();
|
|
317
317
|
return t.closed = !0, t;
|
|
318
318
|
}(), e;
|
|
319
|
-
}(),
|
|
320
|
-
function
|
|
321
|
-
return e instanceof
|
|
319
|
+
}(), Ke = Et.EMPTY;
|
|
320
|
+
function Qe(e) {
|
|
321
|
+
return e instanceof Et || e && "closed" in e && v(e.remove) && v(e.add) && v(e.unsubscribe);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function de(e) {
|
|
324
324
|
v(e) ? e() : e.unsubscribe();
|
|
325
325
|
}
|
|
326
|
-
var
|
|
326
|
+
var Xe = {
|
|
327
327
|
onUnhandledError: null,
|
|
328
328
|
onStoppedNotification: null,
|
|
329
329
|
Promise: void 0,
|
|
330
330
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
331
331
|
useDeprecatedNextContext: !1
|
|
332
|
-
},
|
|
332
|
+
}, Gt = {
|
|
333
333
|
setTimeout: function(e, t) {
|
|
334
334
|
for (var n = [], i = 2; i < arguments.length; i++)
|
|
335
335
|
n[i - 2] = arguments[i];
|
|
336
|
-
var r =
|
|
336
|
+
var r = Gt.delegate;
|
|
337
337
|
return r != null && r.setTimeout ? r.setTimeout.apply(r, $t([e, t], gt(n))) : setTimeout.apply(void 0, $t([e, t], gt(n)));
|
|
338
338
|
},
|
|
339
339
|
clearTimeout: function(e) {
|
|
340
|
-
var t =
|
|
340
|
+
var t = Gt.delegate;
|
|
341
341
|
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
342
342
|
},
|
|
343
343
|
delegate: void 0
|
|
344
344
|
};
|
|
345
|
-
function
|
|
346
|
-
|
|
345
|
+
function Je(e) {
|
|
346
|
+
Gt.setTimeout(function() {
|
|
347
347
|
throw e;
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function fe() {
|
|
351
351
|
}
|
|
352
352
|
function ft(e) {
|
|
353
353
|
e();
|
|
354
354
|
}
|
|
355
|
-
var
|
|
355
|
+
var Qt = function(e) {
|
|
356
356
|
rt(t, e);
|
|
357
357
|
function t(n) {
|
|
358
358
|
var i = e.call(this) || this;
|
|
359
|
-
return i.isStopped = !1, n ? (i.destination = n,
|
|
359
|
+
return i.isStopped = !1, n ? (i.destination = n, Qe(n) && n.add(i)) : i.destination = ei, i;
|
|
360
360
|
}
|
|
361
361
|
return t.create = function(n, i, r) {
|
|
362
|
-
return new
|
|
362
|
+
return new qt(n, i, r);
|
|
363
363
|
}, t.prototype.next = function(n) {
|
|
364
364
|
this.isStopped || this._next(n);
|
|
365
365
|
}, t.prototype.error = function(n) {
|
|
@@ -383,8 +383,8 @@ var Zt = function(e) {
|
|
|
383
383
|
this.unsubscribe();
|
|
384
384
|
}
|
|
385
385
|
}, t;
|
|
386
|
-
}(
|
|
387
|
-
function
|
|
386
|
+
}(Et), Jn = Function.prototype.bind;
|
|
387
|
+
function Rt(e, t) {
|
|
388
388
|
return Jn.call(e, t);
|
|
389
389
|
}
|
|
390
390
|
var Vn = function() {
|
|
@@ -418,7 +418,7 @@ var Vn = function() {
|
|
|
418
418
|
ct(n);
|
|
419
419
|
}
|
|
420
420
|
}, e;
|
|
421
|
-
}(),
|
|
421
|
+
}(), qt = function(e) {
|
|
422
422
|
rt(t, e);
|
|
423
423
|
function t(n, i, r) {
|
|
424
424
|
var s = e.call(this) || this, o;
|
|
@@ -430,37 +430,37 @@ var Vn = function() {
|
|
|
430
430
|
};
|
|
431
431
|
else {
|
|
432
432
|
var a;
|
|
433
|
-
s &&
|
|
433
|
+
s && Xe.useDeprecatedNextContext ? (a = Object.create(n), a.unsubscribe = function() {
|
|
434
434
|
return s.unsubscribe();
|
|
435
435
|
}, o = {
|
|
436
|
-
next: n.next &&
|
|
437
|
-
error: n.error &&
|
|
438
|
-
complete: n.complete &&
|
|
436
|
+
next: n.next && Rt(n.next, a),
|
|
437
|
+
error: n.error && Rt(n.error, a),
|
|
438
|
+
complete: n.complete && Rt(n.complete, a)
|
|
439
439
|
}) : o = n;
|
|
440
440
|
}
|
|
441
441
|
return s.destination = new Vn(o), s;
|
|
442
442
|
}
|
|
443
443
|
return t;
|
|
444
|
-
}(
|
|
444
|
+
}(Qt);
|
|
445
445
|
function ct(e) {
|
|
446
|
-
|
|
446
|
+
Je(e);
|
|
447
447
|
}
|
|
448
448
|
function ti(e) {
|
|
449
449
|
throw e;
|
|
450
450
|
}
|
|
451
451
|
var ei = {
|
|
452
452
|
closed: !0,
|
|
453
|
-
next:
|
|
453
|
+
next: fe,
|
|
454
454
|
error: ti,
|
|
455
|
-
complete:
|
|
456
|
-
},
|
|
455
|
+
complete: fe
|
|
456
|
+
}, Xt = function() {
|
|
457
457
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
458
458
|
}();
|
|
459
|
-
function
|
|
459
|
+
function Ve(e) {
|
|
460
460
|
return e;
|
|
461
461
|
}
|
|
462
462
|
function ni(e) {
|
|
463
|
-
return e.length === 0 ?
|
|
463
|
+
return e.length === 0 ? Ve : e.length === 1 ? e[0] : function(n) {
|
|
464
464
|
return e.reduce(function(i, r) {
|
|
465
465
|
return r(i);
|
|
466
466
|
}, n);
|
|
@@ -474,7 +474,7 @@ var S = function() {
|
|
|
474
474
|
var n = new e();
|
|
475
475
|
return n.source = this, n.operator = t, n;
|
|
476
476
|
}, e.prototype.subscribe = function(t, n, i) {
|
|
477
|
-
var r = this, s = ri(t) ? t : new
|
|
477
|
+
var r = this, s = ri(t) ? t : new qt(t, n, i);
|
|
478
478
|
return ft(function() {
|
|
479
479
|
var o = r, a = o.operator, l = o.source;
|
|
480
480
|
s.add(a ? a.call(s, l) : l ? r._subscribe(s) : r._trySubscribe(s));
|
|
@@ -487,8 +487,8 @@ var S = function() {
|
|
|
487
487
|
}
|
|
488
488
|
}, e.prototype.forEach = function(t, n) {
|
|
489
489
|
var i = this;
|
|
490
|
-
return n =
|
|
491
|
-
var o = new
|
|
490
|
+
return n = pe(n), new n(function(r, s) {
|
|
491
|
+
var o = new qt({
|
|
492
492
|
next: function(a) {
|
|
493
493
|
try {
|
|
494
494
|
t(a);
|
|
@@ -504,7 +504,7 @@ var S = function() {
|
|
|
504
504
|
}, e.prototype._subscribe = function(t) {
|
|
505
505
|
var n;
|
|
506
506
|
return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
|
|
507
|
-
}, e.prototype[
|
|
507
|
+
}, e.prototype[Xt] = function() {
|
|
508
508
|
return this;
|
|
509
509
|
}, e.prototype.pipe = function() {
|
|
510
510
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -512,7 +512,7 @@ var S = function() {
|
|
|
512
512
|
return ni(t)(this);
|
|
513
513
|
}, e.prototype.toPromise = function(t) {
|
|
514
514
|
var n = this;
|
|
515
|
-
return t =
|
|
515
|
+
return t = pe(t), new t(function(i, r) {
|
|
516
516
|
var s;
|
|
517
517
|
n.subscribe(function(o) {
|
|
518
518
|
return s = o;
|
|
@@ -526,20 +526,20 @@ var S = function() {
|
|
|
526
526
|
return new e(t);
|
|
527
527
|
}, e;
|
|
528
528
|
}();
|
|
529
|
-
function
|
|
529
|
+
function pe(e) {
|
|
530
530
|
var t;
|
|
531
|
-
return (t = e ??
|
|
531
|
+
return (t = e ?? Xe.Promise) !== null && t !== void 0 ? t : Promise;
|
|
532
532
|
}
|
|
533
533
|
function ii(e) {
|
|
534
534
|
return e && v(e.next) && v(e.error) && v(e.complete);
|
|
535
535
|
}
|
|
536
536
|
function ri(e) {
|
|
537
|
-
return e && e instanceof
|
|
537
|
+
return e && e instanceof Qt || ii(e) && Qe(e);
|
|
538
538
|
}
|
|
539
539
|
function si(e) {
|
|
540
540
|
return v(e == null ? void 0 : e.lift);
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function kt(e) {
|
|
543
543
|
return function(t) {
|
|
544
544
|
if (si(t))
|
|
545
545
|
return t.lift(function(n) {
|
|
@@ -590,18 +590,18 @@ var oi = function(e) {
|
|
|
590
590
|
e.prototype.unsubscribe.call(this), !i && ((n = this.onFinalize) === null || n === void 0 || n.call(this));
|
|
591
591
|
}
|
|
592
592
|
}, t;
|
|
593
|
-
}(
|
|
593
|
+
}(Qt), ai = Ze(function(e) {
|
|
594
594
|
return function() {
|
|
595
595
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
596
596
|
};
|
|
597
|
-
}),
|
|
597
|
+
}), tn = function(e) {
|
|
598
598
|
rt(t, e);
|
|
599
599
|
function t() {
|
|
600
600
|
var n = e.call(this) || this;
|
|
601
601
|
return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
|
|
602
602
|
}
|
|
603
603
|
return t.prototype.lift = function(n) {
|
|
604
|
-
var i = new
|
|
604
|
+
var i = new ge(this, this);
|
|
605
605
|
return i.operator = n, i;
|
|
606
606
|
}, t.prototype._throwIfClosed = function() {
|
|
607
607
|
if (this.closed)
|
|
@@ -662,8 +662,8 @@ var oi = function(e) {
|
|
|
662
662
|
return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
|
|
663
663
|
}, t.prototype._innerSubscribe = function(n) {
|
|
664
664
|
var i = this, r = this, s = r.hasError, o = r.isStopped, a = r.observers;
|
|
665
|
-
return s || o ?
|
|
666
|
-
i.currentObservers = null,
|
|
665
|
+
return s || o ? Ke : (this.currentObservers = null, a.push(n), new Et(function() {
|
|
666
|
+
i.currentObservers = null, Wt(a, n);
|
|
667
667
|
}));
|
|
668
668
|
}, t.prototype._checkFinalizedStatuses = function(n) {
|
|
669
669
|
var i = this, r = i.hasError, s = i.thrownError, o = i.isStopped;
|
|
@@ -672,9 +672,9 @@ var oi = function(e) {
|
|
|
672
672
|
var n = new S();
|
|
673
673
|
return n.source = this, n;
|
|
674
674
|
}, t.create = function(n, i) {
|
|
675
|
-
return new
|
|
675
|
+
return new ge(n, i);
|
|
676
676
|
}, t;
|
|
677
|
-
}(S),
|
|
677
|
+
}(S), ge = function(e) {
|
|
678
678
|
rt(t, e);
|
|
679
679
|
function t(n, i) {
|
|
680
680
|
var r = e.call(this) || this;
|
|
@@ -691,49 +691,49 @@ var oi = function(e) {
|
|
|
691
691
|
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || i === void 0 || i.call(n);
|
|
692
692
|
}, t.prototype._subscribe = function(n) {
|
|
693
693
|
var i, r;
|
|
694
|
-
return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(n)) !== null && r !== void 0 ? r :
|
|
694
|
+
return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(n)) !== null && r !== void 0 ? r : Ke;
|
|
695
695
|
}, t;
|
|
696
|
-
}(
|
|
696
|
+
}(tn), li = new S(function(e) {
|
|
697
697
|
return e.complete();
|
|
698
698
|
});
|
|
699
699
|
function ci(e) {
|
|
700
700
|
return e && v(e.schedule);
|
|
701
701
|
}
|
|
702
|
-
function
|
|
702
|
+
function en(e) {
|
|
703
703
|
return e[e.length - 1];
|
|
704
704
|
}
|
|
705
705
|
function ui(e) {
|
|
706
|
-
return ci(
|
|
706
|
+
return ci(en(e)) ? e.pop() : void 0;
|
|
707
707
|
}
|
|
708
708
|
function hi(e, t) {
|
|
709
|
-
return typeof
|
|
709
|
+
return typeof en(e) == "number" ? e.pop() : t;
|
|
710
710
|
}
|
|
711
|
-
var
|
|
711
|
+
var nn = function(e) {
|
|
712
712
|
return e && typeof e.length == "number" && typeof e != "function";
|
|
713
713
|
};
|
|
714
|
-
function
|
|
714
|
+
function rn(e) {
|
|
715
715
|
return v(e == null ? void 0 : e.then);
|
|
716
716
|
}
|
|
717
|
-
function
|
|
718
|
-
return v(e[
|
|
717
|
+
function sn(e) {
|
|
718
|
+
return v(e[Xt]);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function on(e) {
|
|
721
721
|
return Symbol.asyncIterator && v(e == null ? void 0 : e[Symbol.asyncIterator]);
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function an(e) {
|
|
724
724
|
return new TypeError("You provided " + (e !== null && typeof e == "object" ? "an invalid object" : "'" + e + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
725
725
|
}
|
|
726
726
|
function di() {
|
|
727
727
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
728
728
|
}
|
|
729
|
-
var
|
|
730
|
-
function
|
|
731
|
-
return v(e == null ? void 0 : e[
|
|
729
|
+
var ln = di();
|
|
730
|
+
function cn(e) {
|
|
731
|
+
return v(e == null ? void 0 : e[ln]);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function un(e) {
|
|
734
734
|
return Qn(this, arguments, function() {
|
|
735
735
|
var n, i, r, s;
|
|
736
|
-
return
|
|
736
|
+
return Ye(this, function(o) {
|
|
737
737
|
switch (o.label) {
|
|
738
738
|
case 0:
|
|
739
739
|
n = e.getReader(), o.label = 1;
|
|
@@ -761,31 +761,31 @@ function ln(e) {
|
|
|
761
761
|
});
|
|
762
762
|
});
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function hn(e) {
|
|
765
765
|
return v(e == null ? void 0 : e.getReader);
|
|
766
766
|
}
|
|
767
767
|
function Y(e) {
|
|
768
768
|
if (e instanceof S)
|
|
769
769
|
return e;
|
|
770
770
|
if (e != null) {
|
|
771
|
-
if (
|
|
771
|
+
if (sn(e))
|
|
772
772
|
return fi(e);
|
|
773
|
-
if (
|
|
773
|
+
if (nn(e))
|
|
774
774
|
return pi(e);
|
|
775
|
-
if (en(e))
|
|
776
|
-
return gi(e);
|
|
777
775
|
if (rn(e))
|
|
778
|
-
return
|
|
779
|
-
if (
|
|
780
|
-
return
|
|
776
|
+
return gi(e);
|
|
777
|
+
if (on(e))
|
|
778
|
+
return dn(e);
|
|
781
779
|
if (cn(e))
|
|
780
|
+
return $i(e);
|
|
781
|
+
if (hn(e))
|
|
782
782
|
return vi(e);
|
|
783
783
|
}
|
|
784
|
-
throw
|
|
784
|
+
throw an(e);
|
|
785
785
|
}
|
|
786
786
|
function fi(e) {
|
|
787
787
|
return new S(function(t) {
|
|
788
|
-
var n = e[
|
|
788
|
+
var n = e[Xt]();
|
|
789
789
|
if (v(n.subscribe))
|
|
790
790
|
return n.subscribe(t);
|
|
791
791
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
@@ -804,7 +804,7 @@ function gi(e) {
|
|
|
804
804
|
t.closed || (t.next(n), t.complete());
|
|
805
805
|
}, function(n) {
|
|
806
806
|
return t.error(n);
|
|
807
|
-
}).then(null,
|
|
807
|
+
}).then(null, Je);
|
|
808
808
|
});
|
|
809
809
|
}
|
|
810
810
|
function $i(e) {
|
|
@@ -829,7 +829,7 @@ function $i(e) {
|
|
|
829
829
|
t.complete();
|
|
830
830
|
});
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function dn(e) {
|
|
833
833
|
return new S(function(t) {
|
|
834
834
|
mi(e, t).catch(function(n) {
|
|
835
835
|
return t.error(n);
|
|
@@ -837,13 +837,13 @@ function un(e) {
|
|
|
837
837
|
});
|
|
838
838
|
}
|
|
839
839
|
function vi(e) {
|
|
840
|
-
return un(
|
|
840
|
+
return dn(un(e));
|
|
841
841
|
}
|
|
842
842
|
function mi(e, t) {
|
|
843
843
|
var n, i, r, s;
|
|
844
844
|
return Kn(this, void 0, void 0, function() {
|
|
845
845
|
var o, a;
|
|
846
|
-
return
|
|
846
|
+
return Ye(this, function(l) {
|
|
847
847
|
switch (l.label) {
|
|
848
848
|
case 0:
|
|
849
849
|
l.trys.push([0, 5, 6, 11]), n = Xn(e), l.label = 1;
|
|
@@ -887,8 +887,8 @@ function k(e, t, n, i, r) {
|
|
|
887
887
|
if (e.add(s), !r)
|
|
888
888
|
return s;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
891
|
-
return t === void 0 && (t = 0),
|
|
890
|
+
function fn(e, t) {
|
|
891
|
+
return t === void 0 && (t = 0), kt(function(n, i) {
|
|
892
892
|
n.subscribe(vt(i, function(r) {
|
|
893
893
|
return k(i, e, function() {
|
|
894
894
|
return i.next(r);
|
|
@@ -904,18 +904,18 @@ function hn(e, t) {
|
|
|
904
904
|
}));
|
|
905
905
|
});
|
|
906
906
|
}
|
|
907
|
-
function
|
|
908
|
-
return t === void 0 && (t = 0),
|
|
907
|
+
function pn(e, t) {
|
|
908
|
+
return t === void 0 && (t = 0), kt(function(n, i) {
|
|
909
909
|
i.add(e.schedule(function() {
|
|
910
910
|
return n.subscribe(i);
|
|
911
911
|
}, t));
|
|
912
912
|
});
|
|
913
913
|
}
|
|
914
914
|
function yi(e, t) {
|
|
915
|
-
return Y(e).pipe(
|
|
915
|
+
return Y(e).pipe(pn(t), fn(t));
|
|
916
916
|
}
|
|
917
917
|
function bi(e, t) {
|
|
918
|
-
return Y(e).pipe(
|
|
918
|
+
return Y(e).pipe(pn(t), fn(t));
|
|
919
919
|
}
|
|
920
920
|
function _i(e, t) {
|
|
921
921
|
return new S(function(n) {
|
|
@@ -929,7 +929,7 @@ function wi(e, t) {
|
|
|
929
929
|
return new S(function(n) {
|
|
930
930
|
var i;
|
|
931
931
|
return k(n, t, function() {
|
|
932
|
-
i = e[
|
|
932
|
+
i = e[ln](), k(n, t, function() {
|
|
933
933
|
var r, s, o;
|
|
934
934
|
try {
|
|
935
935
|
r = i.next(), s = r.value, o = r.done;
|
|
@@ -944,7 +944,7 @@ function wi(e, t) {
|
|
|
944
944
|
};
|
|
945
945
|
});
|
|
946
946
|
}
|
|
947
|
-
function
|
|
947
|
+
function gn(e, t) {
|
|
948
948
|
if (!e)
|
|
949
949
|
throw new Error("Iterable cannot be null");
|
|
950
950
|
return new S(function(n) {
|
|
@@ -959,30 +959,30 @@ function fn(e, t) {
|
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
961
|
function Si(e, t) {
|
|
962
|
-
return
|
|
962
|
+
return gn(un(e), t);
|
|
963
963
|
}
|
|
964
964
|
function xi(e, t) {
|
|
965
965
|
if (e != null) {
|
|
966
|
-
if (
|
|
966
|
+
if (sn(e))
|
|
967
967
|
return yi(e, t);
|
|
968
|
-
if (
|
|
968
|
+
if (nn(e))
|
|
969
969
|
return _i(e, t);
|
|
970
|
-
if (en(e))
|
|
971
|
-
return bi(e, t);
|
|
972
970
|
if (rn(e))
|
|
973
|
-
return
|
|
974
|
-
if (
|
|
975
|
-
return
|
|
971
|
+
return bi(e, t);
|
|
972
|
+
if (on(e))
|
|
973
|
+
return gn(e, t);
|
|
976
974
|
if (cn(e))
|
|
975
|
+
return wi(e, t);
|
|
976
|
+
if (hn(e))
|
|
977
977
|
return Si(e, t);
|
|
978
978
|
}
|
|
979
|
-
throw
|
|
979
|
+
throw an(e);
|
|
980
980
|
}
|
|
981
981
|
function Ai(e, t) {
|
|
982
982
|
return t ? xi(e, t) : Y(e);
|
|
983
983
|
}
|
|
984
984
|
function Ci(e, t) {
|
|
985
|
-
return
|
|
985
|
+
return kt(function(n, i) {
|
|
986
986
|
var r = 0;
|
|
987
987
|
n.subscribe(vt(i, function(s) {
|
|
988
988
|
i.next(e.call(t, s, r++));
|
|
@@ -996,13 +996,13 @@ function Ei(e, t, n, i, r, s, o, a) {
|
|
|
996
996
|
return c < i ? $(g) : l.push(g);
|
|
997
997
|
}, $ = function(g) {
|
|
998
998
|
s && t.next(g), c++;
|
|
999
|
-
var
|
|
999
|
+
var he = !1;
|
|
1000
1000
|
Y(n(g, u++)).subscribe(vt(t, function(K) {
|
|
1001
1001
|
r == null || r(K), s ? f(K) : t.next(K);
|
|
1002
1002
|
}, function() {
|
|
1003
|
-
|
|
1003
|
+
he = !0;
|
|
1004
1004
|
}, void 0, function() {
|
|
1005
|
-
if (
|
|
1005
|
+
if (he)
|
|
1006
1006
|
try {
|
|
1007
1007
|
c--;
|
|
1008
1008
|
for (var K = function() {
|
|
@@ -1024,17 +1024,17 @@ function Ei(e, t, n, i, r, s, o, a) {
|
|
|
1024
1024
|
a == null || a();
|
|
1025
1025
|
};
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1028
|
-
return n === void 0 && (n = 1 / 0), v(t) ?
|
|
1027
|
+
function $n(e, t, n) {
|
|
1028
|
+
return n === void 0 && (n = 1 / 0), v(t) ? $n(function(i, r) {
|
|
1029
1029
|
return Ci(function(s, o) {
|
|
1030
1030
|
return t(i, s, r, o);
|
|
1031
1031
|
})(Y(e(i, r)));
|
|
1032
|
-
}, n) : (typeof t == "number" && (n = t),
|
|
1032
|
+
}, n) : (typeof t == "number" && (n = t), kt(function(i, r) {
|
|
1033
1033
|
return Ei(i, r, e, n);
|
|
1034
1034
|
}));
|
|
1035
1035
|
}
|
|
1036
1036
|
function ki(e) {
|
|
1037
|
-
return e === void 0 && (e = 1 / 0),
|
|
1037
|
+
return e === void 0 && (e = 1 / 0), $n(Ve, e);
|
|
1038
1038
|
}
|
|
1039
1039
|
function Oi() {
|
|
1040
1040
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
@@ -1047,19 +1047,19 @@ function Oi() {
|
|
|
1047
1047
|
* Copyright 2019 Google LLC
|
|
1048
1048
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1049
1049
|
*/
|
|
1050
|
-
const pt = globalThis,
|
|
1051
|
-
let
|
|
1050
|
+
const pt = globalThis, Jt = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Vt = Symbol(), $e = /* @__PURE__ */ new WeakMap();
|
|
1051
|
+
let vn = class {
|
|
1052
1052
|
constructor(t, n, i) {
|
|
1053
|
-
if (this._$cssResult$ = !0, i !==
|
|
1053
|
+
if (this._$cssResult$ = !0, i !== Vt)
|
|
1054
1054
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1055
1055
|
this.cssText = t, this.t = n;
|
|
1056
1056
|
}
|
|
1057
1057
|
get styleSheet() {
|
|
1058
1058
|
let t = this.o;
|
|
1059
1059
|
const n = this.t;
|
|
1060
|
-
if (
|
|
1060
|
+
if (Jt && t === void 0) {
|
|
1061
1061
|
const i = n !== void 0 && n.length === 1;
|
|
1062
|
-
i && (t =
|
|
1062
|
+
i && (t = $e.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && $e.set(n, t));
|
|
1063
1063
|
}
|
|
1064
1064
|
return t;
|
|
1065
1065
|
}
|
|
@@ -1067,7 +1067,7 @@ let gn = class {
|
|
|
1067
1067
|
return this.cssText;
|
|
1068
1068
|
}
|
|
1069
1069
|
};
|
|
1070
|
-
const Ti = (e) => new
|
|
1070
|
+
const Ti = (e) => new vn(typeof e == "string" ? e : e + "", void 0, Vt), M = (e, ...t) => {
|
|
1071
1071
|
const n = e.length === 1 ? e[0] : t.reduce((i, r, s) => i + ((o) => {
|
|
1072
1072
|
if (o._$cssResult$ === !0)
|
|
1073
1073
|
return o.cssText;
|
|
@@ -1075,16 +1075,16 @@ const Ti = (e) => new gn(typeof e == "string" ? e : e + "", void 0, Xt), M = (e,
|
|
|
1075
1075
|
return o;
|
|
1076
1076
|
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.");
|
|
1077
1077
|
})(r) + e[s + 1], e[0]);
|
|
1078
|
-
return new
|
|
1078
|
+
return new vn(n, e, Vt);
|
|
1079
1079
|
}, Pi = (e, t) => {
|
|
1080
|
-
if (
|
|
1080
|
+
if (Jt)
|
|
1081
1081
|
e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
|
|
1082
1082
|
else
|
|
1083
1083
|
for (const n of t) {
|
|
1084
1084
|
const i = document.createElement("style"), r = pt.litNonce;
|
|
1085
1085
|
r !== void 0 && i.setAttribute("nonce", r), i.textContent = n.cssText, e.appendChild(i);
|
|
1086
1086
|
}
|
|
1087
|
-
},
|
|
1087
|
+
}, ve = Jt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
|
|
1088
1088
|
let n = "";
|
|
1089
1089
|
for (const i of t.cssRules)
|
|
1090
1090
|
n += i.cssText;
|
|
@@ -1095,7 +1095,7 @@ const Ti = (e) => new gn(typeof e == "string" ? e : e + "", void 0, Xt), M = (e,
|
|
|
1095
1095
|
* Copyright 2017 Google LLC
|
|
1096
1096
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1097
1097
|
*/
|
|
1098
|
-
const { is:
|
|
1098
|
+
const { is: Li, defineProperty: Ii, getOwnPropertyDescriptor: Ui, getOwnPropertyNames: Ri, getOwnPropertySymbols: Mi, getPrototypeOf: ji } = Object, O = globalThis, me = O.trustedTypes, Hi = me ? me.emptyScript : "", Mt = O.reactiveElementPolyfillSupport, X = (e, t) => e, mt = { toAttribute(e, t) {
|
|
1099
1099
|
switch (t) {
|
|
1100
1100
|
case Boolean:
|
|
1101
1101
|
e = e ? Hi : null;
|
|
@@ -1123,7 +1123,7 @@ const { is: Ii, defineProperty: Li, getOwnPropertyDescriptor: Ui, getOwnProperty
|
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
1125
|
return n;
|
|
1126
|
-
} },
|
|
1126
|
+
} }, te = (e, t) => !Li(e, t), ye = { attribute: !0, type: String, converter: mt, reflect: !1, hasChanged: te };
|
|
1127
1127
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1128
1128
|
let H = class extends HTMLElement {
|
|
1129
1129
|
static addInitializer(t) {
|
|
@@ -1132,10 +1132,10 @@ let H = class extends HTMLElement {
|
|
|
1132
1132
|
static get observedAttributes() {
|
|
1133
1133
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1134
1134
|
}
|
|
1135
|
-
static createProperty(t, n =
|
|
1135
|
+
static createProperty(t, n = ye) {
|
|
1136
1136
|
if (n.state && (n.attribute = !1), this._$Ei(), this.elementProperties.set(t, n), !n.noAccessor) {
|
|
1137
1137
|
const i = Symbol(), r = this.getPropertyDescriptor(t, i, n);
|
|
1138
|
-
r !== void 0 &&
|
|
1138
|
+
r !== void 0 && Ii(this.prototype, t, r);
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
static getPropertyDescriptor(t, n, i) {
|
|
@@ -1152,7 +1152,7 @@ let H = class extends HTMLElement {
|
|
|
1152
1152
|
}, configurable: !0, enumerable: !0 };
|
|
1153
1153
|
}
|
|
1154
1154
|
static getPropertyOptions(t) {
|
|
1155
|
-
return this.elementProperties.get(t) ??
|
|
1155
|
+
return this.elementProperties.get(t) ?? ye;
|
|
1156
1156
|
}
|
|
1157
1157
|
static _$Ei() {
|
|
1158
1158
|
if (this.hasOwnProperty(X("elementProperties")))
|
|
@@ -1187,9 +1187,9 @@ let H = class extends HTMLElement {
|
|
|
1187
1187
|
if (Array.isArray(t)) {
|
|
1188
1188
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
1189
1189
|
for (const r of i)
|
|
1190
|
-
n.unshift(
|
|
1190
|
+
n.unshift(ve(r));
|
|
1191
1191
|
} else
|
|
1192
|
-
t !== void 0 && n.push(
|
|
1192
|
+
t !== void 0 && n.push(ve(t));
|
|
1193
1193
|
return n;
|
|
1194
1194
|
}
|
|
1195
1195
|
static _$Eu(t, n) {
|
|
@@ -1258,7 +1258,7 @@ let H = class extends HTMLElement {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
requestUpdate(t, n, i, r = !1, s) {
|
|
1260
1260
|
if (t !== void 0) {
|
|
1261
|
-
if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ??
|
|
1261
|
+
if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? te)(r ? s : this[t], n))
|
|
1262
1262
|
return;
|
|
1263
1263
|
this.C(t, n, i);
|
|
1264
1264
|
}
|
|
@@ -1336,19 +1336,19 @@ let H = class extends HTMLElement {
|
|
|
1336
1336
|
firstUpdated(t) {
|
|
1337
1337
|
}
|
|
1338
1338
|
};
|
|
1339
|
-
H.elementStyles = [], H.shadowRootOptions = { mode: "open" }, H[X("elementProperties")] = /* @__PURE__ */ new Map(), H[X("finalized")] = /* @__PURE__ */ new Map(),
|
|
1339
|
+
H.elementStyles = [], H.shadowRootOptions = { mode: "open" }, H[X("elementProperties")] = /* @__PURE__ */ new Map(), H[X("finalized")] = /* @__PURE__ */ new Map(), Mt == null || Mt({ ReactiveElement: H }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.1");
|
|
1340
1340
|
/**
|
|
1341
1341
|
* @license
|
|
1342
1342
|
* Copyright 2017 Google LLC
|
|
1343
1343
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1344
1344
|
*/
|
|
1345
|
-
const J = globalThis, yt = J.trustedTypes,
|
|
1346
|
-
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
1347
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1348
|
-
function
|
|
1345
|
+
const J = globalThis, yt = J.trustedTypes, be = yt ? yt.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, mn = "$lit$", E = `lit$${(Math.random() + "").slice(9)}$`, yn = "?" + E, Ni = `<${yn}>`, I = document, tt = () => I.createComment(""), et = (e) => e === null || typeof e != "object" && typeof e != "function", bn = Array.isArray, Di = (e) => bn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", jt = `[
|
|
1346
|
+
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _e = /-->/g, we = />/g, T = RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^
|
|
1347
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Se = /'/g, xe = /"/g, _n = /^(?:script|style|textarea|title)$/i, Bi = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), w = Bi(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Ae = /* @__PURE__ */ new WeakMap(), L = I.createTreeWalker(I, 129);
|
|
1348
|
+
function wn(e, t) {
|
|
1349
1349
|
if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
|
|
1350
1350
|
throw Error("invalid template strings array");
|
|
1351
|
-
return
|
|
1351
|
+
return be !== void 0 ? be.createHTML(t) : t;
|
|
1352
1352
|
}
|
|
1353
1353
|
const zi = (e, t) => {
|
|
1354
1354
|
const n = e.length - 1, i = [];
|
|
@@ -1357,11 +1357,11 @@ const zi = (e, t) => {
|
|
|
1357
1357
|
const l = e[a];
|
|
1358
1358
|
let c, u, h = -1, d = 0;
|
|
1359
1359
|
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); )
|
|
1360
|
-
d = o.lastIndex, o === Q ? u[1] === "!--" ? o =
|
|
1360
|
+
d = o.lastIndex, o === Q ? u[1] === "!--" ? o = _e : u[1] !== void 0 ? o = we : u[2] !== void 0 ? (_n.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = r ?? Q, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? xe : Se) : o === xe || o === Se ? o = T : o === _e || o === we ? o = Q : (o = T, r = void 0);
|
|
1361
1361
|
const f = o === T && e[a + 1].startsWith("/>") ? " " : "";
|
|
1362
|
-
s += o === Q ? l + Ni : h >= 0 ? (i.push(c), l.slice(0, h) +
|
|
1362
|
+
s += o === Q ? l + Ni : h >= 0 ? (i.push(c), l.slice(0, h) + mn + l.slice(h) + E + f) : l + E + (h === -2 ? a : f);
|
|
1363
1363
|
}
|
|
1364
|
-
return [
|
|
1364
|
+
return [wn(e, s + (e[n] || "<?>") + (t === 2 ? "</svg>" : "")), i];
|
|
1365
1365
|
};
|
|
1366
1366
|
class nt {
|
|
1367
1367
|
constructor({ strings: t, _$litType$: n }, i) {
|
|
@@ -1369,30 +1369,30 @@ class nt {
|
|
|
1369
1369
|
this.parts = [];
|
|
1370
1370
|
let s = 0, o = 0;
|
|
1371
1371
|
const a = t.length - 1, l = this.parts, [c, u] = zi(t, n);
|
|
1372
|
-
if (this.el = nt.createElement(c, i),
|
|
1372
|
+
if (this.el = nt.createElement(c, i), L.currentNode = this.el.content, n === 2) {
|
|
1373
1373
|
const h = this.el.content.firstChild;
|
|
1374
1374
|
h.replaceWith(...h.childNodes);
|
|
1375
1375
|
}
|
|
1376
|
-
for (; (r =
|
|
1376
|
+
for (; (r = L.nextNode()) !== null && l.length < a; ) {
|
|
1377
1377
|
if (r.nodeType === 1) {
|
|
1378
1378
|
if (r.hasAttributes())
|
|
1379
1379
|
for (const h of r.getAttributeNames())
|
|
1380
|
-
if (h.endsWith(
|
|
1380
|
+
if (h.endsWith(mn)) {
|
|
1381
1381
|
const d = u[o++], f = r.getAttribute(h).split(E), $ = /([.?@])?(.*)/.exec(d);
|
|
1382
|
-
l.push({ type: 1, index: s, name: $[2], strings: f, ctor: $[1] === "." ? Wi : $[1] === "?" ? Gi : $[1] === "@" ? qi :
|
|
1382
|
+
l.push({ type: 1, index: s, name: $[2], strings: f, ctor: $[1] === "." ? Wi : $[1] === "?" ? Gi : $[1] === "@" ? qi : Ot }), r.removeAttribute(h);
|
|
1383
1383
|
} else
|
|
1384
1384
|
h.startsWith(E) && (l.push({ type: 6, index: s }), r.removeAttribute(h));
|
|
1385
|
-
if (
|
|
1385
|
+
if (_n.test(r.tagName)) {
|
|
1386
1386
|
const h = r.textContent.split(E), d = h.length - 1;
|
|
1387
1387
|
if (d > 0) {
|
|
1388
1388
|
r.textContent = yt ? yt.emptyScript : "";
|
|
1389
1389
|
for (let f = 0; f < d; f++)
|
|
1390
|
-
r.append(h[f], tt()),
|
|
1390
|
+
r.append(h[f], tt()), L.nextNode(), l.push({ type: 2, index: ++s });
|
|
1391
1391
|
r.append(h[d], tt());
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
} else if (r.nodeType === 8)
|
|
1395
|
-
if (r.data ===
|
|
1395
|
+
if (r.data === yn)
|
|
1396
1396
|
l.push({ type: 2, index: s });
|
|
1397
1397
|
else {
|
|
1398
1398
|
let h = -1;
|
|
@@ -1403,7 +1403,7 @@ class nt {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
static createElement(t, n) {
|
|
1406
|
-
const i =
|
|
1406
|
+
const i = I.createElement("template");
|
|
1407
1407
|
return i.innerHTML = t, i;
|
|
1408
1408
|
}
|
|
1409
1409
|
}
|
|
@@ -1426,17 +1426,17 @@ class Fi {
|
|
|
1426
1426
|
return this._$AM._$AU;
|
|
1427
1427
|
}
|
|
1428
1428
|
u(t) {
|
|
1429
|
-
const { el: { content: n }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ??
|
|
1430
|
-
|
|
1431
|
-
let s =
|
|
1429
|
+
const { el: { content: n }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? I).importNode(n, !0);
|
|
1430
|
+
L.currentNode = r;
|
|
1431
|
+
let s = L.nextNode(), o = 0, a = 0, l = i[0];
|
|
1432
1432
|
for (; l !== void 0; ) {
|
|
1433
1433
|
if (o === l.index) {
|
|
1434
1434
|
let c;
|
|
1435
1435
|
l.type === 2 ? c = new st(s, s.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(s, l.name, l.strings, this, t) : l.type === 6 && (c = new Yi(s, this, t)), this._$AV.push(c), l = i[++a];
|
|
1436
1436
|
}
|
|
1437
|
-
o !== (l == null ? void 0 : l.index) && (s =
|
|
1437
|
+
o !== (l == null ? void 0 : l.index) && (s = L.nextNode(), o++);
|
|
1438
1438
|
}
|
|
1439
|
-
return
|
|
1439
|
+
return L.currentNode = I, r;
|
|
1440
1440
|
}
|
|
1441
1441
|
p(t) {
|
|
1442
1442
|
let n = 0;
|
|
@@ -1473,11 +1473,11 @@ class st {
|
|
|
1473
1473
|
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
|
1474
1474
|
}
|
|
1475
1475
|
_(t) {
|
|
1476
|
-
this._$AH !== p && et(this._$AH) ? this._$AA.nextSibling.data = t : this.$(
|
|
1476
|
+
this._$AH !== p && et(this._$AH) ? this._$AA.nextSibling.data = t : this.$(I.createTextNode(t)), this._$AH = t;
|
|
1477
1477
|
}
|
|
1478
1478
|
g(t) {
|
|
1479
1479
|
var s;
|
|
1480
|
-
const { values: n, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(
|
|
1480
|
+
const { values: n, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = nt.createElement(wn(i.h, i.h[0]), this.options)), i);
|
|
1481
1481
|
if (((s = this._$AH) == null ? void 0 : s._$AD) === r)
|
|
1482
1482
|
this._$AH.p(n);
|
|
1483
1483
|
else {
|
|
@@ -1486,11 +1486,11 @@ class st {
|
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
_$AC(t) {
|
|
1489
|
-
let n =
|
|
1490
|
-
return n === void 0 &&
|
|
1489
|
+
let n = Ae.get(t.strings);
|
|
1490
|
+
return n === void 0 && Ae.set(t.strings, n = new nt(t)), n;
|
|
1491
1491
|
}
|
|
1492
1492
|
T(t) {
|
|
1493
|
-
|
|
1493
|
+
bn(this._$AH) || (this._$AH = [], this._$AR());
|
|
1494
1494
|
const n = this._$AH;
|
|
1495
1495
|
let i, r = 0;
|
|
1496
1496
|
for (const s of t)
|
|
@@ -1509,7 +1509,7 @@ class st {
|
|
|
1509
1509
|
this._$AM === void 0 && (this._$Cv = t, (n = this._$AP) == null || n.call(this, t));
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
|
-
class
|
|
1512
|
+
class Ot {
|
|
1513
1513
|
get tagName() {
|
|
1514
1514
|
return this.element.tagName;
|
|
1515
1515
|
}
|
|
@@ -1536,7 +1536,7 @@ class Et {
|
|
|
1536
1536
|
t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
1539
|
-
class Wi extends
|
|
1539
|
+
class Wi extends Ot {
|
|
1540
1540
|
constructor() {
|
|
1541
1541
|
super(...arguments), this.type = 3;
|
|
1542
1542
|
}
|
|
@@ -1544,7 +1544,7 @@ class Wi extends Et {
|
|
|
1544
1544
|
this.element[this.name] = t === p ? void 0 : t;
|
|
1545
1545
|
}
|
|
1546
1546
|
}
|
|
1547
|
-
let Gi = class extends
|
|
1547
|
+
let Gi = class extends Ot {
|
|
1548
1548
|
constructor() {
|
|
1549
1549
|
super(...arguments), this.type = 4;
|
|
1550
1550
|
}
|
|
@@ -1552,7 +1552,7 @@ let Gi = class extends Et {
|
|
|
1552
1552
|
this.element.toggleAttribute(this.name, !!t && t !== p);
|
|
1553
1553
|
}
|
|
1554
1554
|
};
|
|
1555
|
-
class qi extends
|
|
1555
|
+
class qi extends Ot {
|
|
1556
1556
|
constructor(t, n, i, r, s) {
|
|
1557
1557
|
super(t, n, i, r, s), this.type = 5;
|
|
1558
1558
|
}
|
|
@@ -1578,8 +1578,8 @@ class Yi {
|
|
|
1578
1578
|
q(this, t);
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
const
|
|
1582
|
-
|
|
1581
|
+
const Ht = J.litHtmlPolyfillSupport;
|
|
1582
|
+
Ht == null || Ht(nt, st), (J.litHtmlVersions ?? (J.litHtmlVersions = [])).push("3.0.2");
|
|
1583
1583
|
const Zi = (e, t, n) => {
|
|
1584
1584
|
const i = (n == null ? void 0 : n.renderBefore) ?? t;
|
|
1585
1585
|
let r = i._$litPart$;
|
|
@@ -1619,17 +1619,17 @@ let A = class extends H {
|
|
|
1619
1619
|
return U;
|
|
1620
1620
|
}
|
|
1621
1621
|
};
|
|
1622
|
-
var
|
|
1623
|
-
A._$litElement$ = !0, A.finalized = !0, (
|
|
1624
|
-
const
|
|
1625
|
-
|
|
1622
|
+
var qe;
|
|
1623
|
+
A._$litElement$ = !0, A.finalized = !0, (qe = globalThis.litElementHydrateSupport) == null || qe.call(globalThis, { LitElement: A });
|
|
1624
|
+
const Nt = globalThis.litElementPolyfillSupport;
|
|
1625
|
+
Nt == null || Nt({ LitElement: A });
|
|
1626
1626
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
|
|
1627
1627
|
/**
|
|
1628
1628
|
* @license
|
|
1629
1629
|
* Copyright 2017 Google LLC
|
|
1630
1630
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1631
1631
|
*/
|
|
1632
|
-
const Ki = { attribute: !0, type: String, converter: mt, reflect: !1, hasChanged:
|
|
1632
|
+
const Ki = { attribute: !0, type: String, converter: mt, reflect: !1, hasChanged: te }, Qi = (e = Ki, t, n) => {
|
|
1633
1633
|
const { kind: i, metadata: r } = n;
|
|
1634
1634
|
let s = globalThis.litPropertyMetadata.get(r);
|
|
1635
1635
|
if (s === void 0 && globalThis.litPropertyMetadata.set(r, s = /* @__PURE__ */ new Map()), s.set(n.name, e), i === "accessor") {
|
|
@@ -1669,7 +1669,7 @@ var Xi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, Vi = (e, t
|
|
|
1669
1669
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
1670
1670
|
return i && r && Xi(t, n, r), r;
|
|
1671
1671
|
};
|
|
1672
|
-
class
|
|
1672
|
+
class ee extends A {
|
|
1673
1673
|
constructor() {
|
|
1674
1674
|
super(...arguments), this.anchor = "BottomRight";
|
|
1675
1675
|
}
|
|
@@ -1681,7 +1681,7 @@ class Vt extends A {
|
|
|
1681
1681
|
return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
|
|
1682
1682
|
}
|
|
1683
1683
|
}
|
|
1684
|
-
|
|
1684
|
+
ee.styles = [
|
|
1685
1685
|
M`
|
|
1686
1686
|
:host {
|
|
1687
1687
|
position: fixed;
|
|
@@ -1702,14 +1702,14 @@ Vt.styles = [
|
|
|
1702
1702
|
];
|
|
1703
1703
|
Vi([
|
|
1704
1704
|
_({ attribute: !0 })
|
|
1705
|
-
],
|
|
1705
|
+
], ee.prototype, "anchor", 2);
|
|
1706
1706
|
/**
|
|
1707
1707
|
* @license
|
|
1708
1708
|
* Copyright 2017 Google LLC
|
|
1709
1709
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1710
1710
|
*/
|
|
1711
|
-
const
|
|
1712
|
-
let
|
|
1711
|
+
const ne = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ie = (e) => (...t) => ({ _$litDirective$: e, values: t });
|
|
1712
|
+
let Sn = class {
|
|
1713
1713
|
constructor(t) {
|
|
1714
1714
|
}
|
|
1715
1715
|
get _$AU() {
|
|
@@ -1751,7 +1751,7 @@ const V = (e, t) => {
|
|
|
1751
1751
|
break;
|
|
1752
1752
|
n = t._$AN, n.delete(e), e = t;
|
|
1753
1753
|
} while ((n == null ? void 0 : n.size) === 0);
|
|
1754
|
-
},
|
|
1754
|
+
}, xn = (e) => {
|
|
1755
1755
|
for (let t; t = e._$AM; e = t) {
|
|
1756
1756
|
let n = t._$AN;
|
|
1757
1757
|
if (n === void 0)
|
|
@@ -1762,7 +1762,7 @@ const V = (e, t) => {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
};
|
|
1764
1764
|
function er(e) {
|
|
1765
|
-
this._$AN !== void 0 ? (bt(this), this._$AM = e,
|
|
1765
|
+
this._$AN !== void 0 ? (bt(this), this._$AM = e, xn(this)) : this._$AM = e;
|
|
1766
1766
|
}
|
|
1767
1767
|
function nr(e, t = !1, n = 0) {
|
|
1768
1768
|
const i = this._$AH, r = this._$AN;
|
|
@@ -1777,14 +1777,14 @@ function nr(e, t = !1, n = 0) {
|
|
|
1777
1777
|
V(this, e);
|
|
1778
1778
|
}
|
|
1779
1779
|
const ir = (e) => {
|
|
1780
|
-
e.type ==
|
|
1780
|
+
e.type == ne.CHILD && (e._$AP ?? (e._$AP = nr), e._$AQ ?? (e._$AQ = er));
|
|
1781
1781
|
};
|
|
1782
|
-
class
|
|
1782
|
+
class An extends Sn {
|
|
1783
1783
|
constructor() {
|
|
1784
1784
|
super(...arguments), this._$AN = void 0;
|
|
1785
1785
|
}
|
|
1786
1786
|
_$AT(t, n, i) {
|
|
1787
|
-
super._$AT(t, n, i),
|
|
1787
|
+
super._$AT(t, n, i), xn(this), this.isConnected = t._$AU;
|
|
1788
1788
|
}
|
|
1789
1789
|
_$AO(t, n = !0) {
|
|
1790
1790
|
var i, r;
|
|
@@ -1804,33 +1804,33 @@ class Sn extends _n {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
1806
|
const rr = /* @__PURE__ */ new WeakMap();
|
|
1807
|
-
let
|
|
1808
|
-
const
|
|
1807
|
+
let Ce = 0;
|
|
1808
|
+
const Dt = /* @__PURE__ */ new Map(), Ee = /* @__PURE__ */ new WeakSet(), ke = () => new Promise((e) => requestAnimationFrame(e)), Oe = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], sr = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Te = (e, t) => {
|
|
1809
1809
|
const n = e - t;
|
|
1810
1810
|
return n === 0 ? void 0 : n;
|
|
1811
|
-
},
|
|
1811
|
+
}, Pe = (e, t) => {
|
|
1812
1812
|
const n = e / t;
|
|
1813
1813
|
return n === 1 ? void 0 : n;
|
|
1814
|
-
},
|
|
1815
|
-
const n =
|
|
1814
|
+
}, Bt = { left: (e, t) => {
|
|
1815
|
+
const n = Te(e, t);
|
|
1816
1816
|
return { value: n, transform: n == null || isNaN(n) ? void 0 : `translateX(${n}px)` };
|
|
1817
1817
|
}, top: (e, t) => {
|
|
1818
|
-
const n =
|
|
1818
|
+
const n = Te(e, t);
|
|
1819
1819
|
return { value: n, transform: n == null || isNaN(n) ? void 0 : `translateY(${n}px)` };
|
|
1820
1820
|
}, width: (e, t) => {
|
|
1821
1821
|
let n;
|
|
1822
1822
|
t === 0 && (t = 1, n = { width: "1px" });
|
|
1823
|
-
const i =
|
|
1823
|
+
const i = Pe(e, t);
|
|
1824
1824
|
return { value: i, overrideFrom: n, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
|
|
1825
1825
|
}, height: (e, t) => {
|
|
1826
1826
|
let n;
|
|
1827
1827
|
t === 0 && (t = 1, n = { height: "1px" });
|
|
1828
|
-
const i =
|
|
1828
|
+
const i = Pe(e, t);
|
|
1829
1829
|
return { value: i, overrideFrom: n, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
|
|
1830
|
-
} }, or = { duration: 333, easing: "ease-in-out" }, ar = ["left", "top", "width", "height", "opacity", "color", "background"],
|
|
1831
|
-
class lr extends
|
|
1830
|
+
} }, or = { duration: 333, easing: "ease-in-out" }, ar = ["left", "top", "width", "height", "opacity", "color", "background"], Le = /* @__PURE__ */ new WeakMap();
|
|
1831
|
+
class lr extends An {
|
|
1832
1832
|
constructor(t) {
|
|
1833
|
-
if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type ===
|
|
1833
|
+
if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === ne.CHILD)
|
|
1834
1834
|
throw Error("The `animate` directive must be used in attribute position.");
|
|
1835
1835
|
this.createFinished();
|
|
1836
1836
|
}
|
|
@@ -1857,7 +1857,7 @@ class lr extends Sn {
|
|
|
1857
1857
|
update(t, [n]) {
|
|
1858
1858
|
var r;
|
|
1859
1859
|
const i = this.l === void 0;
|
|
1860
|
-
return i && (this.l = (r = t.options) == null ? void 0 : r.host, this.l.addController(this), this.element = t.element,
|
|
1860
|
+
return i && (this.l = (r = t.options) == null ? void 0 : r.host, this.l.addController(this), this.element = t.element, Le.set(this.element, this)), this.optionsOrCallback = n, (i || typeof n != "function") && this.u(n), this.render(n);
|
|
1861
1861
|
}
|
|
1862
1862
|
u(t) {
|
|
1863
1863
|
t = t ?? {};
|
|
@@ -1867,7 +1867,7 @@ class lr extends Sn {
|
|
|
1867
1867
|
p() {
|
|
1868
1868
|
const t = {}, n = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
|
|
1869
1869
|
return this.options.properties.forEach((r) => {
|
|
1870
|
-
const s = n[r] ?? (
|
|
1870
|
+
const s = n[r] ?? (Bt[r] ? void 0 : i[r]), o = Number(s);
|
|
1871
1871
|
t[r] = isNaN(o) ? s + "" : o;
|
|
1872
1872
|
}), t;
|
|
1873
1873
|
}
|
|
@@ -1889,17 +1889,17 @@ class lr extends Sn {
|
|
|
1889
1889
|
if (!this.o || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
|
|
1890
1890
|
return;
|
|
1891
1891
|
let t;
|
|
1892
|
-
this.prepare(), await
|
|
1892
|
+
this.prepare(), await ke;
|
|
1893
1893
|
const n = this._(), i = this.A(this.options.keyframeOptions, n), r = this.p();
|
|
1894
1894
|
if (this.g !== void 0) {
|
|
1895
1895
|
const { from: s, to: o } = this.O(this.g, r, n);
|
|
1896
1896
|
this.log("measured", [this.g, r, s, o]), t = this.calculateKeyframes(s, o);
|
|
1897
1897
|
} else {
|
|
1898
|
-
const s =
|
|
1898
|
+
const s = Dt.get(this.options.inId);
|
|
1899
1899
|
if (s) {
|
|
1900
|
-
|
|
1900
|
+
Dt.delete(this.options.inId);
|
|
1901
1901
|
const { from: o, to: a } = this.O(s, r, n);
|
|
1902
|
-
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t,
|
|
1902
|
+
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Ce++, t.forEach((l) => l.zIndex = Ce);
|
|
1903
1903
|
} else
|
|
1904
1904
|
this.options.in && (t = [...this.options.in, {}]);
|
|
1905
1905
|
}
|
|
@@ -1916,9 +1916,9 @@ class lr extends Sn {
|
|
|
1916
1916
|
}
|
|
1917
1917
|
async disconnected() {
|
|
1918
1918
|
var n;
|
|
1919
|
-
if (!this.o || (this.options.id !== void 0 &&
|
|
1919
|
+
if (!this.o || (this.options.id !== void 0 && Dt.set(this.options.id, this.g), this.options.out === void 0))
|
|
1920
1920
|
return;
|
|
1921
|
-
if (this.prepare(), await
|
|
1921
|
+
if (this.prepare(), await ke(), (n = this.t) == null ? void 0 : n.isConnected) {
|
|
1922
1922
|
const i = this.i && this.i.parentNode === this.t ? this.i : null;
|
|
1923
1923
|
if (this.t.insertBefore(this.element, i), this.options.stabilizeOut) {
|
|
1924
1924
|
const r = this.p();
|
|
@@ -1944,15 +1944,15 @@ class lr extends Sn {
|
|
|
1944
1944
|
_() {
|
|
1945
1945
|
const t = [];
|
|
1946
1946
|
for (let n = this.element.parentNode; n; n = n == null ? void 0 : n.parentNode) {
|
|
1947
|
-
const i =
|
|
1947
|
+
const i = Le.get(n);
|
|
1948
1948
|
i && !i.isDisabled() && i && t.push(i);
|
|
1949
1949
|
}
|
|
1950
1950
|
return t;
|
|
1951
1951
|
}
|
|
1952
1952
|
get isHostRendered() {
|
|
1953
|
-
const t =
|
|
1953
|
+
const t = Ee.has(this.l);
|
|
1954
1954
|
return t || this.l.updateComplete.then(() => {
|
|
1955
|
-
|
|
1955
|
+
Ee.add(this.l);
|
|
1956
1956
|
}), t;
|
|
1957
1957
|
}
|
|
1958
1958
|
A(t, n = this._()) {
|
|
@@ -1973,8 +1973,8 @@ class lr extends Sn {
|
|
|
1973
1973
|
const a = {};
|
|
1974
1974
|
for (const l in n) {
|
|
1975
1975
|
const c = t[l], u = n[l];
|
|
1976
|
-
if (l in
|
|
1977
|
-
const h =
|
|
1976
|
+
if (l in Bt) {
|
|
1977
|
+
const h = Bt[l];
|
|
1978
1978
|
if (c === void 0 || u === void 0)
|
|
1979
1979
|
continue;
|
|
1980
1980
|
const d = h(c, u);
|
|
@@ -2007,16 +2007,16 @@ class lr extends Sn {
|
|
|
2007
2007
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, n);
|
|
2008
2008
|
}
|
|
2009
2009
|
}
|
|
2010
|
-
const
|
|
2010
|
+
const Cn = ie(lr), cr = { name: "chevron-down", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, ur = { name: "more-horizontal", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 36C15.7909 36 14 34.2091 14 32C14 29.7909 15.7909 28 18 28C20.2091 28 22 29.7909 22 32C22 34.2091 20.2091 36 18 36ZM28 32C28 34.2091 29.7909 36 32 36C34.2091 36 36 34.2091 36 32C36 29.7909 34.2091 28 32 28C29.7909 28 28 29.7909 28 32ZM46 36C43.7909 36 42 34.2091 42 32C42 29.7909 43.7909 28 46 28C48.2091 28 50 29.7909 50 32C50 34.2091 48.2091 36 46 36Z"/></svg>' }, hr = { 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>' };
|
|
2011
2011
|
/**
|
|
2012
2012
|
* @license
|
|
2013
2013
|
* Copyright 2018 Google LLC
|
|
2014
2014
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2015
2015
|
*/
|
|
2016
|
-
const dr =
|
|
2016
|
+
const dr = ie(class extends Sn {
|
|
2017
2017
|
constructor(e) {
|
|
2018
2018
|
var t;
|
|
2019
|
-
if (super(e), e.type !==
|
|
2019
|
+
if (super(e), e.type !== ne.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2)
|
|
2020
2020
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
2021
2021
|
}
|
|
2022
2022
|
render(e) {
|
|
@@ -2041,7 +2041,7 @@ const dr = ee(class extends _n {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
}), ut = (e, t, n) => {
|
|
2043
2043
|
e && n.style.setProperty(t, e);
|
|
2044
|
-
},
|
|
2044
|
+
}, En = (e, t) => {
|
|
2045
2045
|
var n, i, r, s;
|
|
2046
2046
|
ut((n = e.colors) == null ? void 0 : n.primaryBackground, "--primary-background", t), ut(
|
|
2047
2047
|
(i = e.colors) == null ? void 0 : i.textOnPrimaryBackground,
|
|
@@ -2062,10 +2062,10 @@ const dr = ee(class extends _n {
|
|
|
2062
2062
|
* Copyright 2020 Google LLC
|
|
2063
2063
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2064
2064
|
*/
|
|
2065
|
-
const
|
|
2065
|
+
const _t = () => new fr();
|
|
2066
2066
|
let fr = class {
|
|
2067
2067
|
};
|
|
2068
|
-
const
|
|
2068
|
+
const zt = /* @__PURE__ */ new WeakMap(), wt = ie(class extends An {
|
|
2069
2069
|
render(e) {
|
|
2070
2070
|
return p;
|
|
2071
2071
|
}
|
|
@@ -2077,14 +2077,14 @@ const Dt = /* @__PURE__ */ new WeakMap(), En = ee(class extends Sn {
|
|
|
2077
2077
|
ot(e) {
|
|
2078
2078
|
if (typeof this.G == "function") {
|
|
2079
2079
|
const t = this.ct ?? globalThis;
|
|
2080
|
-
let n =
|
|
2081
|
-
n === void 0 && (n = /* @__PURE__ */ new WeakMap(),
|
|
2080
|
+
let n = zt.get(t);
|
|
2081
|
+
n === void 0 && (n = /* @__PURE__ */ new WeakMap(), zt.set(t, n)), n.get(this.G) !== void 0 && this.G.call(this.ct, void 0), n.set(this.G, e), e !== void 0 && this.G.call(this.ct, e);
|
|
2082
2082
|
} else
|
|
2083
2083
|
this.G.value = e;
|
|
2084
2084
|
}
|
|
2085
2085
|
get rt() {
|
|
2086
2086
|
var e, t;
|
|
2087
|
-
return typeof this.G == "function" ? (e =
|
|
2087
|
+
return typeof this.G == "function" ? (e = zt.get(this.ct ?? globalThis)) == null ? void 0 : e.get(this.G) : (t = this.G) == null ? void 0 : t.value;
|
|
2088
2088
|
}
|
|
2089
2089
|
disconnected() {
|
|
2090
2090
|
this.rt === this.lt && this.ot(void 0);
|
|
@@ -2093,14 +2093,14 @@ const Dt = /* @__PURE__ */ new WeakMap(), En = ee(class extends Sn {
|
|
|
2093
2093
|
this.ot(this.lt);
|
|
2094
2094
|
}
|
|
2095
2095
|
});
|
|
2096
|
-
var pr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor,
|
|
2096
|
+
var pr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, Tt = (e, t, n, i) => {
|
|
2097
2097
|
for (var r = i > 1 ? void 0 : i ? gr(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2098
2098
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2099
2099
|
return i && r && pr(t, n, r), r;
|
|
2100
2100
|
};
|
|
2101
2101
|
class j extends A {
|
|
2102
2102
|
constructor() {
|
|
2103
|
-
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef =
|
|
2103
|
+
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = _t();
|
|
2104
2104
|
}
|
|
2105
2105
|
async connectedCallback() {
|
|
2106
2106
|
super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
|
|
@@ -2117,7 +2117,7 @@ class j extends A {
|
|
|
2117
2117
|
}
|
|
2118
2118
|
_applyBranding() {
|
|
2119
2119
|
var t;
|
|
2120
|
-
(t = this.application) != null && t.settings &&
|
|
2120
|
+
(t = this.application) != null && t.settings && En(this.application.settings.branding, this);
|
|
2121
2121
|
}
|
|
2122
2122
|
async _renderSymbol() {
|
|
2123
2123
|
var a, l, c;
|
|
@@ -2143,12 +2143,12 @@ class j extends A {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
render() {
|
|
2145
2145
|
var t, n, i, r;
|
|
2146
|
-
return w`<div class="trigger-container" ${
|
|
2146
|
+
return w`<div class="trigger-container" ${wt(this.containerRef)}>
|
|
2147
2147
|
${!this.active && ((r = (i = (n = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : n.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? w`
|
|
2148
2148
|
<button
|
|
2149
2149
|
class="trigger-label"
|
|
2150
2150
|
@click=${this.toggleActive}
|
|
2151
|
-
${
|
|
2151
|
+
${Cn({
|
|
2152
2152
|
keyframeOptions: {},
|
|
2153
2153
|
in: sr,
|
|
2154
2154
|
stabilizeOut: !0,
|
|
@@ -2306,16 +2306,16 @@ j.styles = [
|
|
|
2306
2306
|
}
|
|
2307
2307
|
`
|
|
2308
2308
|
];
|
|
2309
|
-
|
|
2309
|
+
Tt([
|
|
2310
2310
|
_({ attribute: !1 })
|
|
2311
2311
|
], j.prototype, "application", 2);
|
|
2312
|
-
|
|
2312
|
+
Tt([
|
|
2313
2313
|
Z()
|
|
2314
2314
|
], j.prototype, "active", 2);
|
|
2315
|
-
|
|
2315
|
+
Tt([
|
|
2316
2316
|
Z()
|
|
2317
2317
|
], j.prototype, "loaded", 2);
|
|
2318
|
-
|
|
2318
|
+
Tt([
|
|
2319
2319
|
Z()
|
|
2320
2320
|
], j.prototype, "icon", 2);
|
|
2321
2321
|
var $r = Object.defineProperty, vr = Object.getOwnPropertyDescriptor, P = (e, t, n, i) => {
|
|
@@ -2402,14 +2402,14 @@ function* mr(e, t) {
|
|
|
2402
2402
|
yield t(i, n++);
|
|
2403
2403
|
}
|
|
2404
2404
|
}
|
|
2405
|
-
var
|
|
2405
|
+
var re = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e))(re || {}), yr = Object.defineProperty, br = Object.getOwnPropertyDescriptor, _r = (e, t, n, i) => {
|
|
2406
2406
|
for (var r = i > 1 ? void 0 : i ? br(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2407
2407
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2408
2408
|
return i && r && yr(t, n, r), r;
|
|
2409
2409
|
};
|
|
2410
|
-
class
|
|
2410
|
+
class se extends A {
|
|
2411
2411
|
constructor() {
|
|
2412
|
-
super(...arguments), this.nodes = [], this.wrapperRef =
|
|
2412
|
+
super(...arguments), this.nodes = [], this.wrapperRef = _t();
|
|
2413
2413
|
}
|
|
2414
2414
|
addChild(t) {
|
|
2415
2415
|
t.parent = this, this.nodes.push(t);
|
|
@@ -2418,7 +2418,7 @@ class ie extends A {
|
|
|
2418
2418
|
if (!this.wrapperRef.value)
|
|
2419
2419
|
return;
|
|
2420
2420
|
const t = this.application.settings;
|
|
2421
|
-
t != null && t.branding &&
|
|
2421
|
+
t != null && t.branding && En(t.branding, this.wrapperRef.value);
|
|
2422
2422
|
}
|
|
2423
2423
|
applyStyles() {
|
|
2424
2424
|
if (!this.wrapperRef.value)
|
|
@@ -2432,12 +2432,12 @@ class ie extends A {
|
|
|
2432
2432
|
this.applyBranding(), this.applyStyles();
|
|
2433
2433
|
}
|
|
2434
2434
|
render() {
|
|
2435
|
-
return this.application.renderStrategy ===
|
|
2435
|
+
return this.application.renderStrategy === re.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")), w`<div class="widget-container" ${wt(this.wrapperRef)}>
|
|
2436
2436
|
${mr(this.nodes, (t) => t)}
|
|
2437
2437
|
</div>`;
|
|
2438
2438
|
}
|
|
2439
2439
|
}
|
|
2440
|
-
|
|
2440
|
+
se.styles = M`
|
|
2441
2441
|
:host {
|
|
2442
2442
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2443
2443
|
--spacing-xs: 0.2rem;
|
|
@@ -2537,8 +2537,8 @@ ie.styles = M`
|
|
|
2537
2537
|
`;
|
|
2538
2538
|
_r([
|
|
2539
2539
|
_({ attribute: !1 })
|
|
2540
|
-
],
|
|
2541
|
-
var wr = Object.defineProperty, Sr = Object.getOwnPropertyDescriptor,
|
|
2540
|
+
], se.prototype, "application", 2);
|
|
2541
|
+
var wr = Object.defineProperty, Sr = Object.getOwnPropertyDescriptor, oe = (e, t, n, i) => {
|
|
2542
2542
|
for (var r = i > 1 ? void 0 : i ? Sr(t, n) : t, s = e.length - 1, o; s >= 0; s--)
|
|
2543
2543
|
(o = e[s]) && (r = (i ? o(t, n, r) : o(r)) || r);
|
|
2544
2544
|
return i && r && wr(t, n, r), r;
|
|
@@ -2568,7 +2568,7 @@ class ot extends A {
|
|
|
2568
2568
|
render() {
|
|
2569
2569
|
if (!this.widget || this.status !== "activated")
|
|
2570
2570
|
return p;
|
|
2571
|
-
if (this.widget.renderStrategy ===
|
|
2571
|
+
if (this.widget.renderStrategy === re.Trigger) {
|
|
2572
2572
|
const t = new j();
|
|
2573
2573
|
return t.application = this.widget, t;
|
|
2574
2574
|
}
|
|
@@ -2582,19 +2582,19 @@ ot.styles = [
|
|
|
2582
2582
|
}
|
|
2583
2583
|
`
|
|
2584
2584
|
];
|
|
2585
|
-
|
|
2585
|
+
oe([
|
|
2586
2586
|
_({ attribute: !0 })
|
|
2587
2587
|
], ot.prototype, "name", 2);
|
|
2588
|
-
|
|
2588
|
+
oe([
|
|
2589
2589
|
Z()
|
|
2590
2590
|
], ot.prototype, "widget", 2);
|
|
2591
|
-
|
|
2591
|
+
oe([
|
|
2592
2592
|
Z()
|
|
2593
2593
|
], ot.prototype, "status", 2);
|
|
2594
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
|
2594
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", ee);
|
|
2595
2595
|
customElements.get("ace-trigger") || customElements.define("ace-trigger", j);
|
|
2596
2596
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", On);
|
|
2597
|
-
customElements.get("ace-wrapper") || customElements.define("ace-wrapper",
|
|
2597
|
+
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", se);
|
|
2598
2598
|
customElements.get("ace-widget") || customElements.define("ace-widget", ot);
|
|
2599
2599
|
let ht;
|
|
2600
2600
|
const xr = new Uint8Array(16);
|
|
@@ -2609,12 +2609,12 @@ for (let e = 0; e < 256; ++e)
|
|
|
2609
2609
|
function Cr(e, t = 0) {
|
|
2610
2610
|
return m[e[t + 0]] + m[e[t + 1]] + m[e[t + 2]] + m[e[t + 3]] + "-" + m[e[t + 4]] + m[e[t + 5]] + "-" + m[e[t + 6]] + m[e[t + 7]] + "-" + m[e[t + 8]] + m[e[t + 9]] + "-" + m[e[t + 10]] + m[e[t + 11]] + m[e[t + 12]] + m[e[t + 13]] + m[e[t + 14]] + m[e[t + 15]];
|
|
2611
2611
|
}
|
|
2612
|
-
const Er = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
|
|
2612
|
+
const Er = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ie = {
|
|
2613
2613
|
randomUUID: Er
|
|
2614
2614
|
};
|
|
2615
2615
|
function kr(e, t, n) {
|
|
2616
|
-
if (
|
|
2617
|
-
return
|
|
2616
|
+
if (Ie.randomUUID && !t && !e)
|
|
2617
|
+
return Ie.randomUUID();
|
|
2618
2618
|
e = e || {};
|
|
2619
2619
|
const i = e.random || (e.rng || Ar)();
|
|
2620
2620
|
if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, t) {
|
|
@@ -2627,7 +2627,7 @@ function kr(e, t, n) {
|
|
|
2627
2627
|
}
|
|
2628
2628
|
class Or {
|
|
2629
2629
|
constructor(t, n, i, r, s) {
|
|
2630
|
-
this.label = t, this.icon = n, this.onClick = i, this.closeOnClick = r, this.update = new
|
|
2630
|
+
this.label = t, this.icon = n, this.onClick = i, this.closeOnClick = r, this.update = new tn(), this.id = kr(), this._controller = s;
|
|
2631
2631
|
}
|
|
2632
2632
|
updateLabel(t) {
|
|
2633
2633
|
this.label = t, this.update.next();
|
|
@@ -2765,8 +2765,8 @@ const N = {
|
|
|
2765
2765
|
transformTagName: !1,
|
|
2766
2766
|
attachStyles: !0
|
|
2767
2767
|
};
|
|
2768
|
-
let D, Tn,
|
|
2769
|
-
const
|
|
2768
|
+
let D, Tn, Pt, Pn = !1, St = !1, ae = !1, b = !1, Ue = null, Yt = !1;
|
|
2769
|
+
const Lt = typeof window < "u" ? window : {}, C = Lt.document || { head: {} }, Ln = Lt.HTMLElement || class {
|
|
2770
2770
|
}, y = {
|
|
2771
2771
|
$flags$: 0,
|
|
2772
2772
|
$resourcesUrl$: "",
|
|
@@ -2786,13 +2786,13 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2786
2786
|
} catch {
|
|
2787
2787
|
}
|
|
2788
2788
|
return e;
|
|
2789
|
-
})(),
|
|
2789
|
+
})(), Lr = (e) => Promise.resolve(e), Ir = /* @__PURE__ */ (() => {
|
|
2790
2790
|
try {
|
|
2791
2791
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
|
2792
2792
|
} catch {
|
|
2793
2793
|
}
|
|
2794
2794
|
return !1;
|
|
2795
|
-
})(),
|
|
2795
|
+
})(), In = (e, t, n, i) => {
|
|
2796
2796
|
n && n.map(([r, s, o]) => {
|
|
2797
2797
|
const a = Rr(e, r), l = Ur(t, o), c = Mr(r);
|
|
2798
2798
|
y.ael(a, s, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => y.rel(a, s, l, c));
|
|
@@ -2803,31 +2803,31 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2803
2803
|
} catch (i) {
|
|
2804
2804
|
at(i);
|
|
2805
2805
|
}
|
|
2806
|
-
}, Rr = (e, t) => t & 4 ? C : t & 8 ?
|
|
2806
|
+
}, Rr = (e, t) => t & 4 ? C : t & 8 ? Lt : t & 16 ? C.body : e, Mr = (e) => Pr ? {
|
|
2807
2807
|
passive: (e & 1) !== 0,
|
|
2808
2808
|
capture: (e & 2) !== 0
|
|
2809
|
-
} : (e & 2) !== 0,
|
|
2810
|
-
},
|
|
2811
|
-
let i =
|
|
2812
|
-
|
|
2809
|
+
} : (e & 2) !== 0, Re = "http://www.w3.org/1999/xlink", R = (e, t = "") => () => {
|
|
2810
|
+
}, Me = /* @__PURE__ */ new WeakMap(), jr = (e, t, n) => {
|
|
2811
|
+
let i = Ct.get(e);
|
|
2812
|
+
Ir && n ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, Ct.set(e, i);
|
|
2813
2813
|
}, Hr = (e, t, n, i) => {
|
|
2814
|
-
let r = Un(t, n), s =
|
|
2814
|
+
let r = Un(t, n), s = Ct.get(r);
|
|
2815
2815
|
if (e = e.nodeType === 11 ? e : C, s)
|
|
2816
2816
|
if (typeof s == "string") {
|
|
2817
2817
|
e = e.head || e;
|
|
2818
|
-
let o =
|
|
2819
|
-
o ||
|
|
2818
|
+
let o = Me.get(e), a;
|
|
2819
|
+
o || Me.set(e, o = /* @__PURE__ */ new Set()), o.has(r) || (a = C.createElement("style"), a.innerHTML = s, e.insertBefore(a, e.querySelector("link")), o && o.add(r));
|
|
2820
2820
|
} else
|
|
2821
2821
|
e.adoptedStyleSheets.includes(s) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, s]);
|
|
2822
2822
|
return r;
|
|
2823
2823
|
}, Nr = (e) => {
|
|
2824
2824
|
const t = e.$cmpMeta$, n = e.$hostElement$, i = t.$flags$, r = R("attachStyles", t.$tagName$), s = Hr(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t, e.$modeName$);
|
|
2825
2825
|
i & 10 && (n["s-sc"] = s, n.classList.add(s + "-h"), i & 2 && n.classList.add(s + "-s")), r();
|
|
2826
|
-
}, Un = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Dr = (e) => ps.map((t) => t(e)).find((t) => !!t),
|
|
2826
|
+
}, Un = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Dr = (e) => ps.map((t) => t(e)).find((t) => !!t), je = {}, Br = "http://www.w3.org/2000/svg", zr = "http://www.w3.org/1999/xhtml", Fr = (e) => e != null, le = (e) => (e = typeof e, e === "object" || e === "function"), F = (e, t, ...n) => {
|
|
2827
2827
|
let i = null, r = null, s = null, o = !1, a = !1, l = [];
|
|
2828
2828
|
const c = (h) => {
|
|
2829
2829
|
for (let d = 0; d < h.length; d++)
|
|
2830
|
-
i = h[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !
|
|
2830
|
+
i = h[d], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !le(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? xt(null, i) : i), a = o);
|
|
2831
2831
|
};
|
|
2832
2832
|
if (c(n), t) {
|
|
2833
2833
|
t.key && (r = t.key), t.name && (s = t.name);
|
|
@@ -2838,9 +2838,9 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2838
2838
|
}
|
|
2839
2839
|
if (typeof e == "function")
|
|
2840
2840
|
return e(t === null ? {} : t, l, Gr);
|
|
2841
|
-
const u =
|
|
2841
|
+
const u = xt(e, null);
|
|
2842
2842
|
return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = r, u.$name$ = s, u;
|
|
2843
|
-
},
|
|
2843
|
+
}, xt = (e, t) => {
|
|
2844
2844
|
const n = {
|
|
2845
2845
|
$flags$: 0,
|
|
2846
2846
|
$tag$: e,
|
|
@@ -2849,10 +2849,10 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2849
2849
|
$children$: null
|
|
2850
2850
|
};
|
|
2851
2851
|
return n.$attrs$ = null, n.$key$ = null, n.$name$ = null, n;
|
|
2852
|
-
},
|
|
2853
|
-
forEach: (e, t) => e.map(
|
|
2854
|
-
map: (e, t) => e.map(
|
|
2855
|
-
},
|
|
2852
|
+
}, ce = {}, Wr = (e) => e && e.$tag$ === ce, Gr = {
|
|
2853
|
+
forEach: (e, t) => e.map(He).forEach(t),
|
|
2854
|
+
map: (e, t) => e.map(He).map(t).map(qr)
|
|
2855
|
+
}, He = (e) => ({
|
|
2856
2856
|
vattrs: e.$attrs$,
|
|
2857
2857
|
vchildren: e.$children$,
|
|
2858
2858
|
vkey: e.$key$,
|
|
@@ -2864,13 +2864,13 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2864
2864
|
const n = Object.assign({}, e.vattrs);
|
|
2865
2865
|
return e.vkey && (n.key = e.vkey), e.vname && (n.name = e.vname), F(e.vtag, n, ...e.vchildren || []);
|
|
2866
2866
|
}
|
|
2867
|
-
const t =
|
|
2867
|
+
const t = xt(e.vtag, e.vtext);
|
|
2868
2868
|
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
2869
|
-
},
|
|
2869
|
+
}, Ne = (e, t, n, i, r, s) => {
|
|
2870
2870
|
if (n !== i) {
|
|
2871
|
-
let o =
|
|
2871
|
+
let o = Fe(e, t), a = t.toLowerCase();
|
|
2872
2872
|
if (t === "class") {
|
|
2873
|
-
const l = e.classList, c =
|
|
2873
|
+
const l = e.classList, c = De(n), u = De(i);
|
|
2874
2874
|
l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
|
|
2875
2875
|
} else if (t === "style") {
|
|
2876
2876
|
for (const l in n)
|
|
@@ -2881,9 +2881,9 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2881
2881
|
if (t === "ref")
|
|
2882
2882
|
i && i(e);
|
|
2883
2883
|
else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
|
|
2884
|
-
t[2] === "-" ? t = t.slice(3) :
|
|
2884
|
+
t[2] === "-" ? t = t.slice(3) : Fe(Lt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n && y.rel(e, t, n, !1), i && y.ael(e, t, i, !1);
|
|
2885
2885
|
else {
|
|
2886
|
-
const l =
|
|
2886
|
+
const l = le(i);
|
|
2887
2887
|
if ((o || l && i !== null) && !r)
|
|
2888
2888
|
try {
|
|
2889
2889
|
if (e.tagName.includes("-"))
|
|
@@ -2895,18 +2895,18 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2895
2895
|
} catch {
|
|
2896
2896
|
}
|
|
2897
2897
|
let c = !1;
|
|
2898
|
-
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(
|
|
2898
|
+
a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(Re, t) : e.removeAttribute(t)) : (!o || s & 4 || r) && !l && (i = i === !0 ? "" : i, c ? e.setAttributeNS(Re, t, i) : e.setAttribute(t, i));
|
|
2899
2899
|
}
|
|
2900
2900
|
}
|
|
2901
|
-
}, Yr = /\s/,
|
|
2902
|
-
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ ||
|
|
2901
|
+
}, Yr = /\s/, De = (e) => e ? e.split(Yr) : [], Rn = (e, t, n, i) => {
|
|
2902
|
+
const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, s = e && e.$attrs$ || je, o = t.$attrs$ || je;
|
|
2903
2903
|
for (i in s)
|
|
2904
|
-
i in o ||
|
|
2904
|
+
i in o || Ne(r, i, s[i], void 0, n, t.$flags$);
|
|
2905
2905
|
for (i in o)
|
|
2906
|
-
|
|
2907
|
-
},
|
|
2906
|
+
Ne(r, i, s[i], o[i], n, t.$flags$);
|
|
2907
|
+
}, At = (e, t, n, i) => {
|
|
2908
2908
|
let r = t.$children$[n], s = 0, o, a, l;
|
|
2909
|
-
if (Pn || (
|
|
2909
|
+
if (Pn || (ae = !0, r.$tag$ === "slot" && (D && i.classList.add(D + "-s"), r.$flags$ |= r.$children$ ? (
|
|
2910
2910
|
// slot element has fallback content
|
|
2911
2911
|
2
|
|
2912
2912
|
) : (
|
|
@@ -2919,25 +2919,25 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2919
2919
|
else {
|
|
2920
2920
|
if (b || (b = r.$tag$ === "svg"), o = r.$elm$ = C.createElementNS(b ? Br : zr, r.$flags$ & 2 ? "slot-fb" : r.$tag$), b && r.$tag$ === "foreignObject" && (b = !1), Rn(null, r, b), Fr(D) && o["s-si"] !== D && o.classList.add(o["s-si"] = D), r.$children$)
|
|
2921
2921
|
for (s = 0; s < r.$children$.length; ++s)
|
|
2922
|
-
a =
|
|
2922
|
+
a = At(e, r, s, o), a && o.appendChild(a);
|
|
2923
2923
|
r.$tag$ === "svg" ? b = !1 : o.tagName === "foreignObject" && (b = !0);
|
|
2924
2924
|
}
|
|
2925
|
-
return o["s-hn"] =
|
|
2925
|
+
return o["s-hn"] = Pt, r.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Tn, o["s-sn"] = r.$name$ || "", l = e && e.$children$ && e.$children$[n], l && l.$tag$ === r.$tag$ && e.$elm$ && it(e.$elm$, !1)), o;
|
|
2926
2926
|
}, it = (e, t) => {
|
|
2927
2927
|
y.$flags$ |= 1;
|
|
2928
2928
|
const n = e.childNodes;
|
|
2929
2929
|
for (let i = n.length - 1; i >= 0; i--) {
|
|
2930
2930
|
const r = n[i];
|
|
2931
|
-
r["s-hn"] !==
|
|
2931
|
+
r["s-hn"] !== Pt && r["s-ol"] && (Hn(r).insertBefore(r, ue(r)), r["s-ol"].remove(), r["s-ol"] = void 0, ae = !0), t && it(r, t);
|
|
2932
2932
|
}
|
|
2933
2933
|
y.$flags$ &= -2;
|
|
2934
2934
|
}, Mn = (e, t, n, i, r, s) => {
|
|
2935
2935
|
let o = e["s-cr"] && e["s-cr"].parentNode || e, a;
|
|
2936
|
-
for (o.shadowRoot && o.tagName ===
|
|
2937
|
-
i[r] && (a =
|
|
2936
|
+
for (o.shadowRoot && o.tagName === Pt && (o = o.shadowRoot); r <= s; ++r)
|
|
2937
|
+
i[r] && (a = At(null, n, r, e), a && (i[r].$elm$ = a, o.insertBefore(a, ue(t))));
|
|
2938
2938
|
}, jn = (e, t, n, i, r) => {
|
|
2939
2939
|
for (; t <= n; ++t)
|
|
2940
|
-
(i = e[t]) && (r = i.$elm$, Bn(i),
|
|
2940
|
+
(i = e[t]) && (r = i.$elm$, Bn(i), St = !0, r["s-ol"] ? r["s-ol"].remove() : it(r, !0), r.remove());
|
|
2941
2941
|
}, Zr = (e, t, n, i) => {
|
|
2942
2942
|
let r = 0, s = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = i.length - 1, d = i[0], f = i[h], $, g;
|
|
2943
2943
|
for (; r <= l && s <= h; )
|
|
@@ -2963,10 +2963,10 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2963
2963
|
o = a;
|
|
2964
2964
|
break;
|
|
2965
2965
|
}
|
|
2966
|
-
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ =
|
|
2966
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = At(t && t[s], n, o, e) : (B(g, d), t[o] = void 0, $ = g.$elm$), d = i[++s]) : ($ = At(t && t[s], n, s, e), d = i[++s]), $ && Hn(c.$elm$).insertBefore($, ue(c.$elm$));
|
|
2967
2967
|
}
|
|
2968
2968
|
r > l ? Mn(e, i[h + 1] == null ? null : i[h + 1].$elm$, n, i, s, h) : s > h && jn(t, r, l);
|
|
2969
|
-
}, dt = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1,
|
|
2969
|
+
}, dt = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, ue = (e) => e && e["s-ol"] || e, Hn = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, B = (e, t) => {
|
|
2970
2970
|
const n = t.$elm$ = e.$elm$, i = e.$children$, r = t.$children$, s = t.$tag$, o = t.$text$;
|
|
2971
2971
|
let a;
|
|
2972
2972
|
o === null ? (b = s === "svg" ? !0 : s === "foreignObject" ? !1 : b, s === "slot" || Rn(e, t, b), i !== null && r !== null ? Zr(n, i, t, r) : r !== null ? (e.$text$ !== null && (n.textContent = ""), Mn(n, null, t, r, 0, r.length - 1)) : i !== null && jn(i, 0, i.length - 1), b && s === "svg" && (b = !1)) : (a = n["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (n.data = o);
|
|
@@ -2993,23 +2993,23 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
2993
2993
|
for (; a < c; a++) {
|
|
2994
2994
|
if (t = l[a], t["s-sr"] && (n = t["s-cr"]) && n.parentNode)
|
|
2995
2995
|
for (i = n.parentNode.childNodes, r = t["s-sn"], o = i.length - 1; o >= 0; o--)
|
|
2996
|
-
n = i[o], !n["s-cn"] && !n["s-nr"] && n["s-hn"] !== t["s-hn"] && (
|
|
2996
|
+
n = i[o], !n["s-cn"] && !n["s-nr"] && n["s-hn"] !== t["s-hn"] && (Be(n, r) ? (s = x.find((u) => u.$nodeToRelocate$ === n), St = !0, n["s-sn"] = n["s-sn"] || r, s ? s.$slotRefNode$ = t : x.push({
|
|
2997
2997
|
$slotRefNode$: t,
|
|
2998
2998
|
$nodeToRelocate$: n
|
|
2999
2999
|
}), n["s-sr"] && x.map((u) => {
|
|
3000
|
-
|
|
3000
|
+
Be(u.$nodeToRelocate$, n["s-sn"]) && (s = x.find((h) => h.$nodeToRelocate$ === n), s && !u.$slotRefNode$ && (u.$slotRefNode$ = s.$slotRefNode$));
|
|
3001
3001
|
})) : x.some((u) => u.$nodeToRelocate$ === n) || x.push({
|
|
3002
3002
|
$nodeToRelocate$: n
|
|
3003
3003
|
}));
|
|
3004
3004
|
t.nodeType === 1 && Dn(t);
|
|
3005
3005
|
}
|
|
3006
|
-
},
|
|
3006
|
+
}, Be = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Bn = (e) => {
|
|
3007
3007
|
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Bn);
|
|
3008
3008
|
}, Kr = (e, t) => {
|
|
3009
|
-
const n = e.$hostElement$, i = e.$cmpMeta$, r = e.$vnode$ ||
|
|
3010
|
-
|
|
3009
|
+
const n = e.$hostElement$, i = e.$cmpMeta$, r = e.$vnode$ || xt(null, null), s = Wr(t) ? t : F(null, null, t);
|
|
3010
|
+
Pt = n.tagName, i.$attrsToReflect$ && (s.$attrs$ = s.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => s.$attrs$[a] = n[o])), s.$tag$ = null, s.$flags$ |= 4, e.$vnode$ = s, s.$elm$ = r.$elm$ = n.shadowRoot || n, D = n["s-sc"], Tn = n["s-cr"], Pn = (i.$flags$ & 1) !== 0, St = !1, B(r, s);
|
|
3011
3011
|
{
|
|
3012
|
-
if (y.$flags$ |= 1,
|
|
3012
|
+
if (y.$flags$ |= 1, ae) {
|
|
3013
3013
|
Dn(s.$elm$);
|
|
3014
3014
|
let o, a, l, c, u, h, d = 0;
|
|
3015
3015
|
for (; d < x.length; d++)
|
|
@@ -3025,7 +3025,7 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3025
3025
|
} else
|
|
3026
3026
|
a.nodeType === 1 && (a.hidden = !0);
|
|
3027
3027
|
}
|
|
3028
|
-
|
|
3028
|
+
St && Nn(s.$elm$), y.$flags$ &= -2, x.length = 0;
|
|
3029
3029
|
}
|
|
3030
3030
|
}, Qr = (e) => e, Xr = (e, t, n) => {
|
|
3031
3031
|
const i = Qr(e);
|
|
@@ -3044,7 +3044,7 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3044
3044
|
}, zn = (e, t) => (e.$flags$ |= 16, Vr(e, e.$ancestorComponent$), vs(() => ts(e, t))), ts = (e, t) => {
|
|
3045
3045
|
const n = e.$hostElement$, i = R("scheduleUpdate", e.$cmpMeta$.$tagName$), r = n;
|
|
3046
3046
|
let s;
|
|
3047
|
-
return t ? s = W(r, "componentWillLoad") : s = W(r, "componentWillUpdate"), s =
|
|
3047
|
+
return t ? s = W(r, "componentWillLoad") : s = W(r, "componentWillUpdate"), s = ze(s, () => W(r, "componentWillRender")), i(), ze(s, () => es(e, r, t));
|
|
3048
3048
|
}, es = async (e, t, n) => {
|
|
3049
3049
|
const i = e.$hostElement$, r = R("update", e.$cmpMeta$.$tagName$);
|
|
3050
3050
|
i["s-rc"], n && Nr(e);
|
|
@@ -3052,11 +3052,11 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3052
3052
|
ns(e, t, i), s(), r(), is(e);
|
|
3053
3053
|
}, ns = (e, t, n) => {
|
|
3054
3054
|
try {
|
|
3055
|
-
|
|
3055
|
+
Ue = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (N.hasRenderFn || N.reflect) && (N.vdomRender || N.reflect) && (N.hydrateServerSide || Kr(e, t));
|
|
3056
3056
|
} catch (a) {
|
|
3057
3057
|
at(a, e.$hostElement$);
|
|
3058
3058
|
}
|
|
3059
|
-
return
|
|
3059
|
+
return Ue = null, null;
|
|
3060
3060
|
}, is = (e) => {
|
|
3061
3061
|
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, i = R("postUpdate", t), r = n;
|
|
3062
3062
|
e.$ancestorComponent$, W(r, "componentDidRender"), e.$flags$ & 64 ? (W(r, "componentDidUpdate"), i()) : (e.$flags$ |= 64, W(r, "componentDidLoad"), i());
|
|
@@ -3067,8 +3067,8 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3067
3067
|
} catch (i) {
|
|
3068
3068
|
at(i);
|
|
3069
3069
|
}
|
|
3070
|
-
},
|
|
3071
|
-
const r =
|
|
3070
|
+
}, ze = (e, t) => e && e.then ? e.then(t) : t(), rs = (e, t) => e != null && !le(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ss = (e, t) => It(e).$instanceValues$.get(t), os = (e, t, n, i) => {
|
|
3071
|
+
const r = It(e), s = e, o = r.$instanceValues$.get(t), a = r.$flags$, l = s;
|
|
3072
3072
|
n = rs(n, i.$members$[t][0]);
|
|
3073
3073
|
const c = Number.isNaN(o) && Number.isNaN(n);
|
|
3074
3074
|
if (n !== o && !c) {
|
|
@@ -3133,7 +3133,7 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3133
3133
|
let o = r.style;
|
|
3134
3134
|
typeof o != "string" && (o = o[t.$modeName$ = Dr(e)]);
|
|
3135
3135
|
const a = Un(n, t.$modeName$);
|
|
3136
|
-
if (!
|
|
3136
|
+
if (!Ct.has(a)) {
|
|
3137
3137
|
const l = R("registerStyles", n.$tagName$);
|
|
3138
3138
|
jr(a, o, !!(n.$flags$ & 1)), l();
|
|
3139
3139
|
}
|
|
@@ -3142,8 +3142,8 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3142
3142
|
}, cs = (e) => {
|
|
3143
3143
|
}, us = (e) => {
|
|
3144
3144
|
if (!(y.$flags$ & 1)) {
|
|
3145
|
-
const t =
|
|
3146
|
-
t.$flags$ & 1 ? (
|
|
3145
|
+
const t = It(e), n = t.$cmpMeta$, i = R("connectedCallback", n.$tagName$);
|
|
3146
|
+
t.$flags$ & 1 ? (In(e, t, n.$listeners$), cs(t.$lazyInstance$)) : (t.$flags$ |= 1, n.$flags$ & 12 && hs(e), n.$members$ && Object.entries(n.$members$).map(([r, [s]]) => {
|
|
3147
3147
|
if (s & 31 && e.hasOwnProperty(r)) {
|
|
3148
3148
|
const o = e[r];
|
|
3149
3149
|
delete e[r], e[r] = o;
|
|
@@ -3155,7 +3155,7 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3155
3155
|
t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
|
|
3156
3156
|
}, ds = (e) => {
|
|
3157
3157
|
if (!(y.$flags$ & 1)) {
|
|
3158
|
-
const t =
|
|
3158
|
+
const t = It(e);
|
|
3159
3159
|
t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0);
|
|
3160
3160
|
}
|
|
3161
3161
|
}, Fn = (e, t) => {
|
|
@@ -3182,17 +3182,17 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3182
3182
|
});
|
|
3183
3183
|
}
|
|
3184
3184
|
}), e.is = n.$tagName$, as(e, n);
|
|
3185
|
-
}, Wn = /* @__PURE__ */ new WeakMap(),
|
|
3185
|
+
}, Wn = /* @__PURE__ */ new WeakMap(), It = (e) => Wn.get(e), fs = (e, t) => {
|
|
3186
3186
|
const n = {
|
|
3187
3187
|
$flags$: 0,
|
|
3188
3188
|
$hostElement$: e,
|
|
3189
3189
|
$cmpMeta$: t,
|
|
3190
3190
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
3191
3191
|
};
|
|
3192
|
-
return
|
|
3193
|
-
},
|
|
3194
|
-
e.push(n),
|
|
3195
|
-
},
|
|
3192
|
+
return In(e, n, t.$listeners$), Wn.set(e, n);
|
|
3193
|
+
}, Fe = (e, t) => t in e, at = (e, t) => (0, console.error)(e, t), Ct = /* @__PURE__ */ new Map(), ps = [], We = [], Gn = [], gs = (e, t) => (n) => {
|
|
3194
|
+
e.push(n), Yt || (Yt = !0, t && y.$flags$ & 4 ? $s(Zt) : y.raf(Zt));
|
|
3195
|
+
}, Ge = (e) => {
|
|
3196
3196
|
for (let t = 0; t < e.length; t++)
|
|
3197
3197
|
try {
|
|
3198
3198
|
e[t](performance.now());
|
|
@@ -3200,9 +3200,9 @@ const Tt = typeof window < "u" ? window : {}, C = Tt.document || { head: {} }, I
|
|
|
3200
3200
|
at(n);
|
|
3201
3201
|
}
|
|
3202
3202
|
e.length = 0;
|
|
3203
|
-
},
|
|
3204
|
-
|
|
3205
|
-
}, $s = (e) =>
|
|
3203
|
+
}, Zt = () => {
|
|
3204
|
+
Ge(We), Ge(Gn), (Yt = We.length > 0) && y.raf(Zt);
|
|
3205
|
+
}, $s = (e) => Lr().then(e), vs = /* @__PURE__ */ gs(Gn, !0), ms = (e = {}) => {
|
|
3206
3206
|
const { content: t = "", title: n, attributes: i = [] } = e;
|
|
3207
3207
|
let r = "", s = [
|
|
3208
3208
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
@@ -3219,7 +3219,7 @@ class _s {
|
|
|
3219
3219
|
this.voca_component = t, this.voca_added = bs(/* @__PURE__ */ new Date());
|
|
3220
3220
|
}
|
|
3221
3221
|
}
|
|
3222
|
-
const ws = "telia-vst{display:none}", Ss = /* @__PURE__ */ Fn(class extends
|
|
3222
|
+
const ws = "telia-vst{display:none}", Ss = /* @__PURE__ */ Fn(class extends Ln {
|
|
3223
3223
|
constructor() {
|
|
3224
3224
|
super(), this.__registerHost(), this.vocaInternalUStats = Xr(this, "vocaInternalUStats", 7);
|
|
3225
3225
|
}
|
|
@@ -3227,7 +3227,7 @@ const ws = "telia-vst{display:none}", Ss = /* @__PURE__ */ Fn(class extends In {
|
|
|
3227
3227
|
this.vocaInternalUStats.emit(new _s(this.dataTrackingId));
|
|
3228
3228
|
}
|
|
3229
3229
|
render() {
|
|
3230
|
-
return F(
|
|
3230
|
+
return F(ce, null);
|
|
3231
3231
|
}
|
|
3232
3232
|
static get style() {
|
|
3233
3233
|
return ws;
|
|
@@ -3247,17 +3247,17 @@ function qn() {
|
|
|
3247
3247
|
});
|
|
3248
3248
|
}
|
|
3249
3249
|
qn();
|
|
3250
|
-
function
|
|
3250
|
+
function Kt() {
|
|
3251
3251
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
|
3252
3252
|
}
|
|
3253
3253
|
function xs() {
|
|
3254
|
-
if (typeof
|
|
3255
|
-
return
|
|
3254
|
+
if (typeof Kt().vocadsIcons !== void 0)
|
|
3255
|
+
return Kt().vocadsIcons;
|
|
3256
3256
|
}
|
|
3257
3257
|
function As() {
|
|
3258
|
-
return
|
|
3258
|
+
return Kt().vocadsIconsRegistered;
|
|
3259
3259
|
}
|
|
3260
|
-
const Cs = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Es = /* @__PURE__ */ Fn(class extends
|
|
3260
|
+
const Cs = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Es = /* @__PURE__ */ Fn(class extends Ln {
|
|
3261
3261
|
constructor() {
|
|
3262
3262
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
|
3263
3263
|
}
|
|
@@ -3286,7 +3286,7 @@ const Cs = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3286
3286
|
attributes: t,
|
|
3287
3287
|
title: this.allyTitle
|
|
3288
3288
|
});
|
|
3289
|
-
return F(
|
|
3289
|
+
return F(ce, { class: `telia-icon telia-icon--${this.size}` }, F("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: n }), F("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
3290
3290
|
}
|
|
3291
3291
|
static get style() {
|
|
3292
3292
|
return Cs;
|
|
@@ -3321,7 +3321,9 @@ var Os = Object.defineProperty, Ts = Object.getOwnPropertyDescriptor, Ps = (e, t
|
|
|
3321
3321
|
const Yn = kn(A);
|
|
3322
3322
|
class Zn extends Yn {
|
|
3323
3323
|
constructor() {
|
|
3324
|
-
super(...arguments), this.optionsIsVisible = !1, this.options = new Tr(this)
|
|
3324
|
+
super(...arguments), this.optionsIsVisible = !1, this.options = new Tr(this), this.optionsRef = _t(), this.optionsTriggerRef = _t(), this._onClickOutside = (t) => {
|
|
3325
|
+
!this.optionsTriggerRef.value || !this.optionsRef.value || t.composedPath().includes(this.optionsTriggerRef.value) || t.composedPath().includes(this.optionsRef.value) || (this.optionsIsVisible = !1);
|
|
3326
|
+
};
|
|
3325
3327
|
}
|
|
3326
3328
|
addOption(t) {
|
|
3327
3329
|
return this.options.addOption(t);
|
|
@@ -3332,6 +3334,12 @@ class Zn extends Yn {
|
|
|
3332
3334
|
_onMinimizeClick() {
|
|
3333
3335
|
this.application.trigger && this.application.trigger.toggleActive();
|
|
3334
3336
|
}
|
|
3337
|
+
connectedCallback() {
|
|
3338
|
+
super.connectedCallback(), document.addEventListener("click", this._onClickOutside);
|
|
3339
|
+
}
|
|
3340
|
+
disconnectedCallback() {
|
|
3341
|
+
super.disconnectedCallback(), document.removeEventListener("click", this._onClickOutside);
|
|
3342
|
+
}
|
|
3335
3343
|
render() {
|
|
3336
3344
|
var s;
|
|
3337
3345
|
const t = this.application.branding(), n = (s = t == null ? void 0 : t.graphics) == null ? void 0 : s.logotype, i = this.application.texts, r = i.get("widget-header.header", "ACE Widget");
|
|
@@ -3351,6 +3359,7 @@ class Zn extends Yn {
|
|
|
3351
3359
|
<button
|
|
3352
3360
|
@click=${this._onToggleOptionsMenuClick}
|
|
3353
3361
|
class="widget-header__action-button"
|
|
3362
|
+
${wt(this.optionsTriggerRef)}
|
|
3354
3363
|
title=${i.getOrFallback("widget-header.ellipses", "Options")}
|
|
3355
3364
|
>
|
|
3356
3365
|
<telia-icon svg=${ur.svg}></telia-icon>
|
|
@@ -3366,10 +3375,11 @@ class Zn extends Yn {
|
|
|
3366
3375
|
|
|
3367
3376
|
${this.optionsIsVisible ? w` <div
|
|
3368
3377
|
class="options-menu"
|
|
3369
|
-
${
|
|
3378
|
+
${wt(this.optionsRef)}
|
|
3379
|
+
${Cn({
|
|
3370
3380
|
keyframeOptions: {},
|
|
3371
|
-
in:
|
|
3372
|
-
out:
|
|
3381
|
+
in: Oe,
|
|
3382
|
+
out: Oe,
|
|
3373
3383
|
stabilizeOut: !0,
|
|
3374
3384
|
skipInitial: !1
|
|
3375
3385
|
})}
|