@telia-ace/ace-chat-flamingo 1.1.126-rc.1 → 1.1.126-rc.3
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.
- package/index.js +74 -67
- package/index.mjs +709 -684
- package/package.json +3 -3
- package/ui/chat-unavailable-card.d.ts +2 -1
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var A = (i, e, t) =>
|
|
1
|
+
var vl = Object.defineProperty;
|
|
2
|
+
var bl = (i, e, t) => e in i ? vl(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t;
|
|
3
|
+
var A = (i, e, t) => bl(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
var Dn = function(i, e) {
|
|
5
5
|
return Dn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
|
|
6
6
|
t.__proto__ = n;
|
|
@@ -17,7 +17,7 @@ function De(i, e) {
|
|
|
17
17
|
}
|
|
18
18
|
i.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function yl(i, e, t, n) {
|
|
21
21
|
function s(r) {
|
|
22
22
|
return r instanceof t ? r : new t(function(o) {
|
|
23
23
|
o(r);
|
|
@@ -139,7 +139,7 @@ function tt(i, e, t) {
|
|
|
139
139
|
function bt(i) {
|
|
140
140
|
return this instanceof bt ? (this.v = i, this) : new bt(i);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function wl(i, e, t) {
|
|
143
143
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
144
144
|
var n = t.apply(i, e || []), s, r = [];
|
|
145
145
|
return s = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), s[Symbol.asyncIterator] = function() {
|
|
@@ -177,7 +177,7 @@ function $l(i, e, t) {
|
|
|
177
177
|
g(v), r.shift(), r.length && l(r[0][0], r[0][1]);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function $l(i) {
|
|
181
181
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
182
182
|
var e = i[Symbol.asyncIterator], t;
|
|
183
183
|
return e ? e.call(i) : (i = typeof kt == "function" ? kt(i) : i[Symbol.iterator](), t = {}, n("next"), n("throw"), n("return"), t[Symbol.asyncIterator] = function() {
|
|
@@ -214,13 +214,13 @@ var yn = Mo(function(i) {
|
|
|
214
214
|
`) : "", this.name = "UnsubscriptionError", this.errors = t;
|
|
215
215
|
};
|
|
216
216
|
});
|
|
217
|
-
function
|
|
217
|
+
function _i(i, e) {
|
|
218
218
|
if (i) {
|
|
219
219
|
var t = i.indexOf(e);
|
|
220
220
|
0 <= t && i.splice(t, 1);
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
var
|
|
223
|
+
var ni = (function() {
|
|
224
224
|
function i(e) {
|
|
225
225
|
this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
226
226
|
}
|
|
@@ -300,24 +300,24 @@ var si = (function() {
|
|
|
300
300
|
this._parentage = Array.isArray(t) ? (t.push(e), t) : t ? [t, e] : e;
|
|
301
301
|
}, i.prototype._removeParent = function(e) {
|
|
302
302
|
var t = this._parentage;
|
|
303
|
-
t === e ? this._parentage = null : Array.isArray(t) &&
|
|
303
|
+
t === e ? this._parentage = null : Array.isArray(t) && _i(t, e);
|
|
304
304
|
}, i.prototype.remove = function(e) {
|
|
305
305
|
var t = this._finalizers;
|
|
306
|
-
t &&
|
|
306
|
+
t && _i(t, e), e instanceof i && e._removeParent(this);
|
|
307
307
|
}, i.EMPTY = (function() {
|
|
308
308
|
var e = new i();
|
|
309
309
|
return e.closed = !0, e;
|
|
310
310
|
})(), i;
|
|
311
|
-
})(), No =
|
|
311
|
+
})(), No = ni.EMPTY;
|
|
312
312
|
function Do(i) {
|
|
313
|
-
return i instanceof
|
|
313
|
+
return i instanceof ni || i && "closed" in i && C(i.remove) && C(i.add) && C(i.unsubscribe);
|
|
314
314
|
}
|
|
315
315
|
function Tr(i) {
|
|
316
316
|
C(i) ? i() : i.unsubscribe();
|
|
317
317
|
}
|
|
318
|
-
var
|
|
318
|
+
var xl = {
|
|
319
319
|
Promise: void 0
|
|
320
|
-
},
|
|
320
|
+
}, kl = {
|
|
321
321
|
setTimeout: function(i, e) {
|
|
322
322
|
for (var t = [], n = 2; n < arguments.length; n++)
|
|
323
323
|
t[n - 2] = arguments[n];
|
|
@@ -329,20 +329,20 @@ var kl = {
|
|
|
329
329
|
delegate: void 0
|
|
330
330
|
};
|
|
331
331
|
function Uo(i) {
|
|
332
|
-
|
|
332
|
+
kl.setTimeout(function() {
|
|
333
333
|
throw i;
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Ei() {
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function xi(i) {
|
|
339
339
|
i();
|
|
340
340
|
}
|
|
341
341
|
var rs = (function(i) {
|
|
342
342
|
De(e, i);
|
|
343
343
|
function e(t) {
|
|
344
344
|
var n = i.call(this) || this;
|
|
345
|
-
return n.isStopped = !1, t ? (n.destination = t, Do(t) && t.add(n)) : n.destination =
|
|
345
|
+
return n.isStopped = !1, t ? (n.destination = t, Do(t) && t.add(n)) : n.destination = _l, n;
|
|
346
346
|
}
|
|
347
347
|
return e.create = function(t, n, s) {
|
|
348
348
|
return new Un(t, n, s);
|
|
@@ -369,7 +369,7 @@ var rs = (function(i) {
|
|
|
369
369
|
this.unsubscribe();
|
|
370
370
|
}
|
|
371
371
|
}, e;
|
|
372
|
-
})(
|
|
372
|
+
})(ni), Sl = (function() {
|
|
373
373
|
function i(e) {
|
|
374
374
|
this.partialObserver = e;
|
|
375
375
|
}
|
|
@@ -379,7 +379,7 @@ var rs = (function(i) {
|
|
|
379
379
|
try {
|
|
380
380
|
t.next(e);
|
|
381
381
|
} catch (n) {
|
|
382
|
-
|
|
382
|
+
vi(n);
|
|
383
383
|
}
|
|
384
384
|
}, i.prototype.error = function(e) {
|
|
385
385
|
var t = this.partialObserver;
|
|
@@ -387,17 +387,17 @@ var rs = (function(i) {
|
|
|
387
387
|
try {
|
|
388
388
|
t.error(e);
|
|
389
389
|
} catch (n) {
|
|
390
|
-
|
|
390
|
+
vi(n);
|
|
391
391
|
}
|
|
392
392
|
else
|
|
393
|
-
|
|
393
|
+
vi(e);
|
|
394
394
|
}, i.prototype.complete = function() {
|
|
395
395
|
var e = this.partialObserver;
|
|
396
396
|
if (e.complete)
|
|
397
397
|
try {
|
|
398
398
|
e.complete();
|
|
399
399
|
} catch (t) {
|
|
400
|
-
|
|
400
|
+
vi(t);
|
|
401
401
|
}
|
|
402
402
|
}, i;
|
|
403
403
|
})(), Un = (function(i) {
|
|
@@ -408,28 +408,28 @@ var rs = (function(i) {
|
|
|
408
408
|
next: t ?? void 0,
|
|
409
409
|
error: n ?? void 0,
|
|
410
410
|
complete: s ?? void 0
|
|
411
|
-
} : o = t, r.destination = new
|
|
411
|
+
} : o = t, r.destination = new Sl(o), r;
|
|
412
412
|
}
|
|
413
413
|
return e;
|
|
414
414
|
})(rs);
|
|
415
|
-
function
|
|
415
|
+
function vi(i) {
|
|
416
416
|
Uo(i);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function Cl(i) {
|
|
419
419
|
throw i;
|
|
420
420
|
}
|
|
421
|
-
var
|
|
421
|
+
var _l = {
|
|
422
422
|
closed: !0,
|
|
423
|
-
next:
|
|
424
|
-
error:
|
|
425
|
-
complete:
|
|
423
|
+
next: Ei,
|
|
424
|
+
error: Cl,
|
|
425
|
+
complete: Ei
|
|
426
426
|
}, os = (function() {
|
|
427
427
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
428
428
|
})();
|
|
429
429
|
function Tt(i) {
|
|
430
430
|
return i;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function El(i) {
|
|
433
433
|
return i.length === 0 ? Tt : i.length === 1 ? i[0] : function(t) {
|
|
434
434
|
return i.reduce(function(n, s) {
|
|
435
435
|
return s(n);
|
|
@@ -444,8 +444,8 @@ var V = (function() {
|
|
|
444
444
|
var t = new i();
|
|
445
445
|
return t.source = this, t.operator = e, t;
|
|
446
446
|
}, i.prototype.subscribe = function(e, t, n) {
|
|
447
|
-
var s = this, r =
|
|
448
|
-
return
|
|
447
|
+
var s = this, r = Tl(e) ? e : new Un(e, t, n);
|
|
448
|
+
return xi(function() {
|
|
449
449
|
var o = s, a = o.operator, l = o.source;
|
|
450
450
|
r.add(a ? a.call(r, l) : l ? s._subscribe(r) : s._trySubscribe(r));
|
|
451
451
|
}), r;
|
|
@@ -479,7 +479,7 @@ var V = (function() {
|
|
|
479
479
|
}, i.prototype.pipe = function() {
|
|
480
480
|
for (var e = [], t = 0; t < arguments.length; t++)
|
|
481
481
|
e[t] = arguments[t];
|
|
482
|
-
return
|
|
482
|
+
return El(e)(this);
|
|
483
483
|
}, i.prototype.toPromise = function(e) {
|
|
484
484
|
var t = this;
|
|
485
485
|
return e = Or(e), new e(function(n, s) {
|
|
@@ -498,20 +498,20 @@ var V = (function() {
|
|
|
498
498
|
})();
|
|
499
499
|
function Or(i) {
|
|
500
500
|
var e;
|
|
501
|
-
return (e = i ??
|
|
501
|
+
return (e = i ?? xl.Promise) !== null && e !== void 0 ? e : Promise;
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Al(i) {
|
|
504
504
|
return i && C(i.next) && C(i.error) && C(i.complete);
|
|
505
505
|
}
|
|
506
|
-
function
|
|
507
|
-
return i && i instanceof rs ||
|
|
506
|
+
function Tl(i) {
|
|
507
|
+
return i && i instanceof rs || Al(i) && Do(i);
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function Ol(i) {
|
|
510
510
|
return C(i == null ? void 0 : i.lift);
|
|
511
511
|
}
|
|
512
512
|
function le(i) {
|
|
513
513
|
return function(e) {
|
|
514
|
-
if (
|
|
514
|
+
if (Ol(e))
|
|
515
515
|
return e.lift(function(t) {
|
|
516
516
|
try {
|
|
517
517
|
return i(t, this);
|
|
@@ -522,10 +522,10 @@ function le(i) {
|
|
|
522
522
|
throw new TypeError("Unable to lift unknown Observable type");
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
function
|
|
526
|
-
return new
|
|
525
|
+
function X(i, e, t, n, s) {
|
|
526
|
+
return new Rl(i, e, t, n, s);
|
|
527
527
|
}
|
|
528
|
-
var
|
|
528
|
+
var Rl = (function(i) {
|
|
529
529
|
De(e, i);
|
|
530
530
|
function e(t, n, s, r, o, a) {
|
|
531
531
|
var l = i.call(this, t) || this;
|
|
@@ -560,7 +560,7 @@ var Ll = (function(i) {
|
|
|
560
560
|
i.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
|
|
561
561
|
}
|
|
562
562
|
}, e;
|
|
563
|
-
})(rs),
|
|
563
|
+
})(rs), Ll = Mo(function(i) {
|
|
564
564
|
return function() {
|
|
565
565
|
i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
566
566
|
};
|
|
@@ -575,10 +575,10 @@ var Ll = (function(i) {
|
|
|
575
575
|
return n.operator = t, n;
|
|
576
576
|
}, e.prototype._throwIfClosed = function() {
|
|
577
577
|
if (this.closed)
|
|
578
|
-
throw new
|
|
578
|
+
throw new Ll();
|
|
579
579
|
}, e.prototype.next = function(t) {
|
|
580
580
|
var n = this;
|
|
581
|
-
|
|
581
|
+
xi(function() {
|
|
582
582
|
var s, r;
|
|
583
583
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
584
584
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
@@ -600,7 +600,7 @@ var Ll = (function(i) {
|
|
|
600
600
|
});
|
|
601
601
|
}, e.prototype.error = function(t) {
|
|
602
602
|
var n = this;
|
|
603
|
-
|
|
603
|
+
xi(function() {
|
|
604
604
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
605
605
|
n.hasError = n.isStopped = !0, n.thrownError = t;
|
|
606
606
|
for (var s = n.observers; s.length; )
|
|
@@ -609,7 +609,7 @@ var Ll = (function(i) {
|
|
|
609
609
|
});
|
|
610
610
|
}, e.prototype.complete = function() {
|
|
611
611
|
var t = this;
|
|
612
|
-
|
|
612
|
+
xi(function() {
|
|
613
613
|
if (t._throwIfClosed(), !t.isStopped) {
|
|
614
614
|
t.isStopped = !0;
|
|
615
615
|
for (var n = t.observers; n.length; )
|
|
@@ -631,8 +631,8 @@ var Ll = (function(i) {
|
|
|
631
631
|
return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
|
|
632
632
|
}, e.prototype._innerSubscribe = function(t) {
|
|
633
633
|
var n = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
|
|
634
|
-
return r || o ? No : (this.currentObservers = null, a.push(t), new
|
|
635
|
-
n.currentObservers = null,
|
|
634
|
+
return r || o ? No : (this.currentObservers = null, a.push(t), new ni(function() {
|
|
635
|
+
n.currentObservers = null, _i(a, t);
|
|
636
636
|
}));
|
|
637
637
|
}, e.prototype._checkFinalizedStatuses = function(t) {
|
|
638
638
|
var n = this, s = n.hasError, r = n.thrownError, o = n.isStopped;
|
|
@@ -685,11 +685,11 @@ var Ll = (function(i) {
|
|
|
685
685
|
}, e.prototype.next = function(t) {
|
|
686
686
|
i.prototype.next.call(this, this._value = t);
|
|
687
687
|
}, e;
|
|
688
|
-
})(M),
|
|
688
|
+
})(M), Il = {
|
|
689
689
|
now: function() {
|
|
690
690
|
return Date.now();
|
|
691
691
|
}
|
|
692
|
-
},
|
|
692
|
+
}, Pl = (function(i) {
|
|
693
693
|
De(e, i);
|
|
694
694
|
function e(t, n) {
|
|
695
695
|
return i.call(this) || this;
|
|
@@ -697,7 +697,7 @@ var Ll = (function(i) {
|
|
|
697
697
|
return e.prototype.schedule = function(t, n) {
|
|
698
698
|
return this;
|
|
699
699
|
}, e;
|
|
700
|
-
})(
|
|
700
|
+
})(ni), Lr = {
|
|
701
701
|
setInterval: function(i, e) {
|
|
702
702
|
for (var t = [], n = 2; n < arguments.length; n++)
|
|
703
703
|
t[n - 2] = arguments[n];
|
|
@@ -707,7 +707,7 @@ var Ll = (function(i) {
|
|
|
707
707
|
return clearInterval(i);
|
|
708
708
|
},
|
|
709
709
|
delegate: void 0
|
|
710
|
-
},
|
|
710
|
+
}, Ml = (function(i) {
|
|
711
711
|
De(e, i);
|
|
712
712
|
function e(t, n) {
|
|
713
713
|
var s = i.call(this, t, n) || this;
|
|
@@ -746,17 +746,17 @@ var Ll = (function(i) {
|
|
|
746
746
|
}, e.prototype.unsubscribe = function() {
|
|
747
747
|
if (!this.closed) {
|
|
748
748
|
var t = this, n = t.id, s = t.scheduler, r = s.actions;
|
|
749
|
-
this.work = this.state = this.scheduler = null, this.pending = !1,
|
|
749
|
+
this.work = this.state = this.scheduler = null, this.pending = !1, _i(r, this), n != null && (this.id = this.recycleAsyncId(s, n, null)), this.delay = null, i.prototype.unsubscribe.call(this);
|
|
750
750
|
}
|
|
751
751
|
}, e;
|
|
752
|
-
})(
|
|
752
|
+
})(Pl), Ir = (function() {
|
|
753
753
|
function i(e, t) {
|
|
754
754
|
t === void 0 && (t = i.now), this.schedulerActionCtor = e, this.now = t;
|
|
755
755
|
}
|
|
756
756
|
return i.prototype.schedule = function(e, t, n) {
|
|
757
757
|
return t === void 0 && (t = 0), new this.schedulerActionCtor(this, e).schedule(n, t);
|
|
758
|
-
}, i.now =
|
|
759
|
-
})(),
|
|
758
|
+
}, i.now = Il.now, i;
|
|
759
|
+
})(), Nl = (function(i) {
|
|
760
760
|
De(e, i);
|
|
761
761
|
function e(t, n) {
|
|
762
762
|
n === void 0 && (n = Ir.now);
|
|
@@ -781,11 +781,11 @@ var Ll = (function(i) {
|
|
|
781
781
|
throw s;
|
|
782
782
|
}
|
|
783
783
|
}, e;
|
|
784
|
-
})(Ir),
|
|
784
|
+
})(Ir), xp = new Nl(Ml);
|
|
785
785
|
var Ie = new V(function(i) {
|
|
786
786
|
return i.complete();
|
|
787
787
|
});
|
|
788
|
-
function
|
|
788
|
+
function Dl(i) {
|
|
789
789
|
return i && C(i.schedule);
|
|
790
790
|
}
|
|
791
791
|
function as(i) {
|
|
@@ -795,9 +795,9 @@ function zo(i) {
|
|
|
795
795
|
return C(as(i)) ? i.pop() : void 0;
|
|
796
796
|
}
|
|
797
797
|
function ls(i) {
|
|
798
|
-
return
|
|
798
|
+
return Dl(as(i)) ? i.pop() : void 0;
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function Ul(i, e) {
|
|
801
801
|
return typeof as(i) == "number" ? i.pop() : e;
|
|
802
802
|
}
|
|
803
803
|
var cs = (function(i) {
|
|
@@ -815,15 +815,15 @@ function jo(i) {
|
|
|
815
815
|
function Bo(i) {
|
|
816
816
|
return new TypeError("You provided " + (i !== null && typeof i == "object" ? "an invalid object" : "'" + i + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function zl() {
|
|
819
819
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
820
820
|
}
|
|
821
|
-
var qo =
|
|
821
|
+
var qo = zl();
|
|
822
822
|
function Vo(i) {
|
|
823
823
|
return C(i == null ? void 0 : i[qo]);
|
|
824
824
|
}
|
|
825
825
|
function Wo(i) {
|
|
826
|
-
return
|
|
826
|
+
return wl(this, arguments, function() {
|
|
827
827
|
var t, n, s, r;
|
|
828
828
|
return Po(this, function(o) {
|
|
829
829
|
switch (o.label) {
|
|
@@ -861,21 +861,21 @@ function ce(i) {
|
|
|
861
861
|
return i;
|
|
862
862
|
if (i != null) {
|
|
863
863
|
if (Ho(i))
|
|
864
|
-
return
|
|
864
|
+
return Fl(i);
|
|
865
865
|
if (cs(i))
|
|
866
|
-
return
|
|
866
|
+
return Hl(i);
|
|
867
867
|
if (Fo(i))
|
|
868
|
-
return
|
|
868
|
+
return jl(i);
|
|
869
869
|
if (jo(i))
|
|
870
870
|
return Zo(i);
|
|
871
871
|
if (Vo(i))
|
|
872
|
-
return
|
|
872
|
+
return Bl(i);
|
|
873
873
|
if (Go(i))
|
|
874
|
-
return
|
|
874
|
+
return ql(i);
|
|
875
875
|
}
|
|
876
876
|
throw Bo(i);
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function Fl(i) {
|
|
879
879
|
return new V(function(e) {
|
|
880
880
|
var t = i[os]();
|
|
881
881
|
if (C(t.subscribe))
|
|
@@ -883,14 +883,14 @@ function Hl(i) {
|
|
|
883
883
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
884
884
|
});
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Hl(i) {
|
|
887
887
|
return new V(function(e) {
|
|
888
888
|
for (var t = 0; t < i.length && !e.closed; t++)
|
|
889
889
|
e.next(i[t]);
|
|
890
890
|
e.complete();
|
|
891
891
|
});
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function jl(i) {
|
|
894
894
|
return new V(function(e) {
|
|
895
895
|
i.then(function(t) {
|
|
896
896
|
e.closed || (e.next(t), e.complete());
|
|
@@ -899,7 +899,7 @@ function Bl(i) {
|
|
|
899
899
|
}).then(null, Uo);
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Bl(i) {
|
|
903
903
|
return new V(function(e) {
|
|
904
904
|
var t, n;
|
|
905
905
|
try {
|
|
@@ -922,22 +922,22 @@ function ql(i) {
|
|
|
922
922
|
}
|
|
923
923
|
function Zo(i) {
|
|
924
924
|
return new V(function(e) {
|
|
925
|
-
|
|
925
|
+
Vl(i, e).catch(function(t) {
|
|
926
926
|
return e.error(t);
|
|
927
927
|
});
|
|
928
928
|
});
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function ql(i) {
|
|
931
931
|
return Zo(Wo(i));
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Vl(i, e) {
|
|
934
934
|
var t, n, s, r;
|
|
935
|
-
return
|
|
935
|
+
return yl(this, void 0, void 0, function() {
|
|
936
936
|
var o, a;
|
|
937
937
|
return Po(this, function(l) {
|
|
938
938
|
switch (l.label) {
|
|
939
939
|
case 0:
|
|
940
|
-
l.trys.push([0, 5, 6, 11]), t =
|
|
940
|
+
l.trys.push([0, 5, 6, 11]), t = $l(i), l.label = 1;
|
|
941
941
|
case 1:
|
|
942
942
|
return [4, t.next()];
|
|
943
943
|
case 2:
|
|
@@ -978,7 +978,7 @@ function He(i, e, t, n, s) {
|
|
|
978
978
|
}
|
|
979
979
|
function Yo(i, e) {
|
|
980
980
|
return e === void 0 && (e = 0), le(function(t, n) {
|
|
981
|
-
t.subscribe(
|
|
981
|
+
t.subscribe(X(n, function(s) {
|
|
982
982
|
return He(n, i, function() {
|
|
983
983
|
return n.next(s);
|
|
984
984
|
}, e);
|
|
@@ -1000,13 +1000,13 @@ function Qo(i, e) {
|
|
|
1000
1000
|
}, e));
|
|
1001
1001
|
});
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function Wl(i, e) {
|
|
1004
1004
|
return ce(i).pipe(Qo(e), Yo(e));
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1006
|
+
function Gl(i, e) {
|
|
1007
1007
|
return ce(i).pipe(Qo(e), Yo(e));
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function Zl(i, e) {
|
|
1010
1010
|
return new V(function(t) {
|
|
1011
1011
|
var n = 0;
|
|
1012
1012
|
return e.schedule(function() {
|
|
@@ -1014,7 +1014,7 @@ function Yl(i, e) {
|
|
|
1014
1014
|
});
|
|
1015
1015
|
});
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Yl(i, e) {
|
|
1018
1018
|
return new V(function(t) {
|
|
1019
1019
|
var n;
|
|
1020
1020
|
return He(t, e, function() {
|
|
@@ -1033,7 +1033,7 @@ function Ql(i, e) {
|
|
|
1033
1033
|
};
|
|
1034
1034
|
});
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function Ko(i, e) {
|
|
1037
1037
|
if (!i)
|
|
1038
1038
|
throw new Error("Iterable cannot be null");
|
|
1039
1039
|
return new V(function(t) {
|
|
@@ -1047,23 +1047,23 @@ function Xo(i, e) {
|
|
|
1047
1047
|
});
|
|
1048
1048
|
});
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1051
|
-
return
|
|
1050
|
+
function Ql(i, e) {
|
|
1051
|
+
return Ko(Wo(i), e);
|
|
1052
1052
|
}
|
|
1053
1053
|
function Kl(i, e) {
|
|
1054
1054
|
if (i != null) {
|
|
1055
1055
|
if (Ho(i))
|
|
1056
|
-
return
|
|
1056
|
+
return Wl(i, e);
|
|
1057
1057
|
if (cs(i))
|
|
1058
|
-
return Yl(i, e);
|
|
1059
|
-
if (Fo(i))
|
|
1060
1058
|
return Zl(i, e);
|
|
1059
|
+
if (Fo(i))
|
|
1060
|
+
return Gl(i, e);
|
|
1061
1061
|
if (jo(i))
|
|
1062
|
-
return
|
|
1062
|
+
return Ko(i, e);
|
|
1063
1063
|
if (Vo(i))
|
|
1064
|
-
return
|
|
1064
|
+
return Yl(i, e);
|
|
1065
1065
|
if (Go(i))
|
|
1066
|
-
return
|
|
1066
|
+
return Ql(i, e);
|
|
1067
1067
|
}
|
|
1068
1068
|
throw Bo(i);
|
|
1069
1069
|
}
|
|
@@ -1084,31 +1084,31 @@ function wn(i, e) {
|
|
|
1084
1084
|
};
|
|
1085
1085
|
return new V(n);
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1087
|
+
function Ai(i, e) {
|
|
1088
1088
|
return le(function(t, n) {
|
|
1089
1089
|
var s = 0;
|
|
1090
|
-
t.subscribe(
|
|
1090
|
+
t.subscribe(X(n, function(r) {
|
|
1091
1091
|
n.next(i.call(e, r, s++));
|
|
1092
1092
|
}));
|
|
1093
1093
|
});
|
|
1094
1094
|
}
|
|
1095
|
-
var
|
|
1096
|
-
function
|
|
1097
|
-
return
|
|
1095
|
+
var Xl = Array.isArray;
|
|
1096
|
+
function Jl(i, e) {
|
|
1097
|
+
return Xl(e) ? i.apply(void 0, tt([], Be(e))) : i(e);
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1100
|
-
return
|
|
1101
|
-
return
|
|
1099
|
+
function Xo(i) {
|
|
1100
|
+
return Ai(function(e) {
|
|
1101
|
+
return Jl(i, e);
|
|
1102
1102
|
});
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
function
|
|
1104
|
+
var ec = Array.isArray, tc = Object.getPrototypeOf, ic = Object.prototype, nc = Object.keys;
|
|
1105
|
+
function sc(i) {
|
|
1106
1106
|
if (i.length === 1) {
|
|
1107
1107
|
var e = i[0];
|
|
1108
|
-
if (
|
|
1108
|
+
if (ec(e))
|
|
1109
1109
|
return { args: e, keys: null };
|
|
1110
|
-
if (
|
|
1111
|
-
var t =
|
|
1110
|
+
if (rc(e)) {
|
|
1111
|
+
var t = nc(e);
|
|
1112
1112
|
return {
|
|
1113
1113
|
args: t.map(function(n) {
|
|
1114
1114
|
return e[n];
|
|
@@ -1119,32 +1119,32 @@ function rc(i) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
return { args: i, keys: null };
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1123
|
-
return i && typeof i == "object" &&
|
|
1122
|
+
function rc(i) {
|
|
1123
|
+
return i && typeof i == "object" && tc(i) === ic;
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function oc(i, e) {
|
|
1126
1126
|
return i.reduce(function(t, n, s) {
|
|
1127
1127
|
return t[n] = e[s], t;
|
|
1128
1128
|
}, {});
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1130
|
+
function ac() {
|
|
1131
1131
|
for (var i = [], e = 0; e < arguments.length; e++)
|
|
1132
1132
|
i[e] = arguments[e];
|
|
1133
|
-
var t = ls(i), n = zo(i), s =
|
|
1133
|
+
var t = ls(i), n = zo(i), s = sc(i), r = s.args, o = s.keys;
|
|
1134
1134
|
if (r.length === 0)
|
|
1135
1135
|
return Je([], t);
|
|
1136
|
-
var a = new V(
|
|
1137
|
-
return
|
|
1136
|
+
var a = new V(lc(r, t, o ? function(l) {
|
|
1137
|
+
return oc(o, l);
|
|
1138
1138
|
} : Tt));
|
|
1139
|
-
return n ? a.pipe(
|
|
1139
|
+
return n ? a.pipe(Xo(n)) : a;
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function lc(i, e, t) {
|
|
1142
1142
|
return t === void 0 && (t = Tt), function(n) {
|
|
1143
1143
|
Pr(e, function() {
|
|
1144
1144
|
for (var s = i.length, r = new Array(s), o = s, a = s, l = function(u) {
|
|
1145
1145
|
Pr(e, function() {
|
|
1146
1146
|
var p = Je(i[u], e), d = !1;
|
|
1147
|
-
p.subscribe(
|
|
1147
|
+
p.subscribe(X(n, function(g) {
|
|
1148
1148
|
r[u] = g, d || (d = !0, a--), a || n.next(t(r.slice()));
|
|
1149
1149
|
}, function() {
|
|
1150
1150
|
--o || n.complete();
|
|
@@ -1158,7 +1158,7 @@ function cc(i, e, t) {
|
|
|
1158
1158
|
function Pr(i, e, t) {
|
|
1159
1159
|
i ? He(t, i, e) : e();
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function cc(i, e, t, n, s, r, o, a) {
|
|
1162
1162
|
var l = [], c = 0, u = 0, p = !1, d = function() {
|
|
1163
1163
|
p && !l.length && !c && e.complete();
|
|
1164
1164
|
}, g = function(m) {
|
|
@@ -1166,7 +1166,7 @@ function uc(i, e, t, n, s, r, o, a) {
|
|
|
1166
1166
|
}, v = function(m) {
|
|
1167
1167
|
c++;
|
|
1168
1168
|
var W = !1;
|
|
1169
|
-
ce(t(m, u++)).subscribe(
|
|
1169
|
+
ce(t(m, u++)).subscribe(X(e, function(G) {
|
|
1170
1170
|
e.next(G);
|
|
1171
1171
|
}, function() {
|
|
1172
1172
|
W = !0;
|
|
@@ -1185,40 +1185,40 @@ function uc(i, e, t, n, s, r, o, a) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
}));
|
|
1187
1187
|
};
|
|
1188
|
-
return i.subscribe(
|
|
1188
|
+
return i.subscribe(X(e, g, function() {
|
|
1189
1189
|
p = !0, d();
|
|
1190
1190
|
})), function() {
|
|
1191
1191
|
};
|
|
1192
1192
|
}
|
|
1193
1193
|
function Gt(i, e, t) {
|
|
1194
1194
|
return t === void 0 && (t = 1 / 0), C(e) ? Gt(function(n, s) {
|
|
1195
|
-
return
|
|
1195
|
+
return Ai(function(r, o) {
|
|
1196
1196
|
return e(n, r, s, o);
|
|
1197
1197
|
})(ce(i(n, s)));
|
|
1198
1198
|
}, t) : (typeof e == "number" && (t = e), le(function(n, s) {
|
|
1199
|
-
return
|
|
1199
|
+
return cc(n, s, i, t);
|
|
1200
1200
|
}));
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function uc(i) {
|
|
1203
1203
|
return i === void 0 && (i = 1 / 0), Gt(Tt, i);
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function hc(i) {
|
|
1206
1206
|
return new V(function(e) {
|
|
1207
1207
|
ce(i()).subscribe(e);
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
|
-
var
|
|
1211
|
-
function
|
|
1210
|
+
var dc = ["addListener", "removeListener"], pc = ["addEventListener", "removeEventListener"], fc = ["on", "off"];
|
|
1211
|
+
function Ti(i, e, t, n) {
|
|
1212
1212
|
if (C(t) && (n = t, t = void 0), n)
|
|
1213
|
-
return
|
|
1214
|
-
var s = Be(
|
|
1213
|
+
return Ti(i, e, t).pipe(Xo(n));
|
|
1214
|
+
var s = Be(vc(i) ? pc.map(function(a) {
|
|
1215
1215
|
return function(l) {
|
|
1216
1216
|
return i[a](e, l, t);
|
|
1217
1217
|
};
|
|
1218
|
-
}) :
|
|
1218
|
+
}) : gc(i) ? dc.map(Mr(i, e)) : mc(i) ? fc.map(Mr(i, e)) : [], 2), r = s[0], o = s[1];
|
|
1219
1219
|
if (!r && cs(i))
|
|
1220
1220
|
return Gt(function(a) {
|
|
1221
|
-
return
|
|
1221
|
+
return Ti(a, e, t);
|
|
1222
1222
|
})(ce(i));
|
|
1223
1223
|
if (!r)
|
|
1224
1224
|
throw new TypeError("Invalid event target");
|
|
@@ -1240,25 +1240,25 @@ function Mr(i, e) {
|
|
|
1240
1240
|
};
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function gc(i) {
|
|
1244
1244
|
return C(i.addListener) && C(i.removeListener);
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function mc(i) {
|
|
1247
1247
|
return C(i.on) && C(i.off);
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function vc(i) {
|
|
1250
1250
|
return C(i.addEventListener) && C(i.removeEventListener);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function bc() {
|
|
1253
1253
|
for (var i = [], e = 0; e < arguments.length; e++)
|
|
1254
1254
|
i[e] = arguments[e];
|
|
1255
|
-
var t = ls(i), n =
|
|
1256
|
-
return s.length ? s.length === 1 ? ce(s[0]) :
|
|
1255
|
+
var t = ls(i), n = Ul(i, 1 / 0), s = i;
|
|
1256
|
+
return s.length ? s.length === 1 ? ce(s[0]) : uc(n)(Je(s, t)) : Ie;
|
|
1257
1257
|
}
|
|
1258
1258
|
function Q(i, e) {
|
|
1259
1259
|
return le(function(t, n) {
|
|
1260
1260
|
var s = 0;
|
|
1261
|
-
t.subscribe(
|
|
1261
|
+
t.subscribe(X(n, function(r) {
|
|
1262
1262
|
return i.call(e, r, s++) && n.next(r);
|
|
1263
1263
|
}));
|
|
1264
1264
|
});
|
|
@@ -1266,7 +1266,7 @@ function Q(i, e) {
|
|
|
1266
1266
|
function yt(i) {
|
|
1267
1267
|
return le(function(e, t) {
|
|
1268
1268
|
var n = null, s = !1, r;
|
|
1269
|
-
n = e.subscribe(
|
|
1269
|
+
n = e.subscribe(X(t, void 0, void 0, function(o) {
|
|
1270
1270
|
r = ce(i(o, yt(i)(e))), n ? (n.unsubscribe(), n = null, r.subscribe(t)) : s = !0;
|
|
1271
1271
|
})), s && (n.unsubscribe(), n = null, r.subscribe(t));
|
|
1272
1272
|
});
|
|
@@ -1279,7 +1279,7 @@ function ke(i) {
|
|
|
1279
1279
|
return Ie;
|
|
1280
1280
|
} : le(function(e, t) {
|
|
1281
1281
|
var n = 0;
|
|
1282
|
-
e.subscribe(
|
|
1282
|
+
e.subscribe(X(t, function(s) {
|
|
1283
1283
|
++n <= i && (t.next(s), i <= n && t.complete());
|
|
1284
1284
|
}));
|
|
1285
1285
|
});
|
|
@@ -1295,7 +1295,7 @@ function xn(i) {
|
|
|
1295
1295
|
t != null || l();
|
|
1296
1296
|
}, l = function() {
|
|
1297
1297
|
var c = !1;
|
|
1298
|
-
o = n.subscribe(
|
|
1298
|
+
o = n.subscribe(X(s, void 0, function() {
|
|
1299
1299
|
++r < e ? o ? a() : c = !0 : s.complete();
|
|
1300
1300
|
})), c && a();
|
|
1301
1301
|
};
|
|
@@ -1307,10 +1307,10 @@ function Pe(i, e) {
|
|
|
1307
1307
|
var s = null, r = 0, o = !1, a = function() {
|
|
1308
1308
|
return o && !s && n.complete();
|
|
1309
1309
|
};
|
|
1310
|
-
t.subscribe(
|
|
1310
|
+
t.subscribe(X(n, function(l) {
|
|
1311
1311
|
s == null || s.unsubscribe();
|
|
1312
1312
|
var c = 0, u = r++;
|
|
1313
|
-
ce(i(l, u)).subscribe(s =
|
|
1313
|
+
ce(i(l, u)).subscribe(s = X(n, function(p) {
|
|
1314
1314
|
return n.next(e ? e(l, p, u, c++) : p);
|
|
1315
1315
|
}, function() {
|
|
1316
1316
|
s = null, a();
|
|
@@ -1322,18 +1322,18 @@ function Pe(i, e) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
function F(i) {
|
|
1324
1324
|
return le(function(e, t) {
|
|
1325
|
-
ce(i).subscribe(
|
|
1325
|
+
ce(i).subscribe(X(t, function() {
|
|
1326
1326
|
return t.complete();
|
|
1327
|
-
},
|
|
1327
|
+
}, Ei)), !t.closed && e.subscribe(t);
|
|
1328
1328
|
});
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function yc(i, e, t) {
|
|
1331
1331
|
var n = C(i) || e || t ? { next: i, error: e, complete: t } : i;
|
|
1332
1332
|
return n ? le(function(s, r) {
|
|
1333
1333
|
var o;
|
|
1334
1334
|
(o = n.subscribe) === null || o === void 0 || o.call(n);
|
|
1335
1335
|
var a = !0;
|
|
1336
|
-
s.subscribe(
|
|
1336
|
+
s.subscribe(X(r, function(l) {
|
|
1337
1337
|
var c;
|
|
1338
1338
|
(c = n.next) === null || c === void 0 || c.call(n, l), r.next(l);
|
|
1339
1339
|
}, function() {
|
|
@@ -1356,12 +1356,12 @@ function Fn() {
|
|
|
1356
1356
|
for (var r = i.length, o = new Array(r), a = i.map(function() {
|
|
1357
1357
|
return !1;
|
|
1358
1358
|
}), l = !1, c = function(p) {
|
|
1359
|
-
ce(i[p]).subscribe(
|
|
1359
|
+
ce(i[p]).subscribe(X(s, function(d) {
|
|
1360
1360
|
o[p] = d, !l && !a[p] && (a[p] = !0, (l = a.every(Tt)) && (a = null));
|
|
1361
|
-
},
|
|
1361
|
+
}, Ei));
|
|
1362
1362
|
}, u = 0; u < r; u++)
|
|
1363
1363
|
c(u);
|
|
1364
|
-
n.subscribe(
|
|
1364
|
+
n.subscribe(X(s, function(p) {
|
|
1365
1365
|
if (l) {
|
|
1366
1366
|
var d = tt([p], Be(o));
|
|
1367
1367
|
s.next(t ? t.apply(void 0, tt([], Be(d))) : d);
|
|
@@ -1394,10 +1394,10 @@ class us {
|
|
|
1394
1394
|
// }
|
|
1395
1395
|
}
|
|
1396
1396
|
var B = /* @__PURE__ */ ((i) => (i.User = "user", i.Agent = "agent", i.System = "system", i))(B || {});
|
|
1397
|
-
const
|
|
1397
|
+
const wc = () => "10000000-1000-4000-8000-100000000000".replace(
|
|
1398
1398
|
/[018]/g,
|
|
1399
1399
|
(i) => (+i ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +i / 4).toString(16)
|
|
1400
|
-
), Jo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() :
|
|
1400
|
+
), Jo = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : wc();
|
|
1401
1401
|
function Nr(i) {
|
|
1402
1402
|
let e = i;
|
|
1403
1403
|
const t = /https?:\/\/[^\s<]+/gi, n = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, s = i.match(t) || [], r = [];
|
|
@@ -1414,13 +1414,13 @@ function Nr(i) {
|
|
|
1414
1414
|
);
|
|
1415
1415
|
e = e.replace(
|
|
1416
1416
|
u,
|
|
1417
|
-
`<a title='${c}' target=
|
|
1417
|
+
`<a title='${c}' target="_blank" rel="noopener noreferrer" href='${c}'>${c}</a>`
|
|
1418
1418
|
);
|
|
1419
1419
|
}), e;
|
|
1420
1420
|
}
|
|
1421
1421
|
function Hn(i) {
|
|
1422
1422
|
if (i.includes("aceChatGuideTitle"))
|
|
1423
|
-
return
|
|
1423
|
+
return $c(i);
|
|
1424
1424
|
const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
|
|
1425
1425
|
return i.replace(e, (t) => {
|
|
1426
1426
|
const n = ea(t);
|
|
@@ -1454,7 +1454,7 @@ function ea(i) {
|
|
|
1454
1454
|
function jn(i, e) {
|
|
1455
1455
|
return i.replace(/>[^<]*<\/a>/, `>${e}</a>`);
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function $c(i) {
|
|
1458
1458
|
const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
|
|
1459
1459
|
return i.replace(e, (t) => {
|
|
1460
1460
|
const n = ea(t);
|
|
@@ -1482,7 +1482,7 @@ class ne {
|
|
|
1482
1482
|
this.remove$.next();
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
class
|
|
1485
|
+
class xc {
|
|
1486
1486
|
constructor(e) {
|
|
1487
1487
|
this.name = e, this.print$ = new M();
|
|
1488
1488
|
}
|
|
@@ -1502,7 +1502,7 @@ class kc {
|
|
|
1502
1502
|
return this.print$.asObservable();
|
|
1503
1503
|
}
|
|
1504
1504
|
}
|
|
1505
|
-
class
|
|
1505
|
+
class kc {
|
|
1506
1506
|
constructor(e) {
|
|
1507
1507
|
this.name = e, this.print$ = new M();
|
|
1508
1508
|
}
|
|
@@ -1522,7 +1522,7 @@ class Sc {
|
|
|
1522
1522
|
return this.print$.asObservable();
|
|
1523
1523
|
}
|
|
1524
1524
|
}
|
|
1525
|
-
class
|
|
1525
|
+
class Sc {
|
|
1526
1526
|
constructor() {
|
|
1527
1527
|
this.print$ = new M(), this.name = "system";
|
|
1528
1528
|
}
|
|
@@ -1542,7 +1542,7 @@ class Cc {
|
|
|
1542
1542
|
return this.print$.asObservable();
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
|
-
class
|
|
1545
|
+
class Cc {
|
|
1546
1546
|
constructor(e, t) {
|
|
1547
1547
|
this.name = e, this.component = t, this.print$ = new M(), this.typingState$ = new fe(!1), this.complete$ = new M(), this.system = this.createSystem(), this.rehydrate$ = new M(), this.saveToCurrentSession$ = new M(), this.showChatOverlay$ = new fe(!1), this.onComplete = () => this.complete$.asObservable();
|
|
1548
1548
|
}
|
|
@@ -1576,19 +1576,19 @@ class _c {
|
|
|
1576
1576
|
return this.print$.next(e), e;
|
|
1577
1577
|
}
|
|
1578
1578
|
createAgent(e) {
|
|
1579
|
-
const t = new
|
|
1579
|
+
const t = new xc(e);
|
|
1580
1580
|
return t.subscribe().subscribe((n) => {
|
|
1581
1581
|
this.playNotification(), this.printEntry(n);
|
|
1582
1582
|
}), t;
|
|
1583
1583
|
}
|
|
1584
1584
|
createUser(e) {
|
|
1585
|
-
const t = new
|
|
1585
|
+
const t = new kc(e);
|
|
1586
1586
|
return t.subscribe().subscribe((n) => {
|
|
1587
1587
|
this.printEntry(n);
|
|
1588
1588
|
}), t;
|
|
1589
1589
|
}
|
|
1590
1590
|
createSystem() {
|
|
1591
|
-
const e = new
|
|
1591
|
+
const e = new Sc();
|
|
1592
1592
|
return e.subscribe().subscribe((t) => {
|
|
1593
1593
|
this.printEntry(t);
|
|
1594
1594
|
}), e;
|
|
@@ -1624,7 +1624,7 @@ class _c {
|
|
|
1624
1624
|
* Copyright 2019 Google LLC
|
|
1625
1625
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1626
1626
|
*/
|
|
1627
|
-
const
|
|
1627
|
+
const ki = globalThis, hs = ki.ShadowRoot && (ki.ShadyCSS === void 0 || ki.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ds = Symbol(), Dr = /* @__PURE__ */ new WeakMap();
|
|
1628
1628
|
let ta = class {
|
|
1629
1629
|
constructor(e, t, n) {
|
|
1630
1630
|
if (this._$cssResult$ = !0, n !== ds) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -1643,33 +1643,33 @@ let ta = class {
|
|
|
1643
1643
|
return this.cssText;
|
|
1644
1644
|
}
|
|
1645
1645
|
};
|
|
1646
|
-
const
|
|
1646
|
+
const _c = (i) => new ta(typeof i == "string" ? i : i + "", void 0, ds), O = (i, ...e) => {
|
|
1647
1647
|
const t = i.length === 1 ? i[0] : e.reduce(((n, s, r) => n + ((o) => {
|
|
1648
1648
|
if (o._$cssResult$ === !0) return o.cssText;
|
|
1649
1649
|
if (typeof o == "number") return o;
|
|
1650
1650
|
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.");
|
|
1651
1651
|
})(s) + i[r + 1]), i[0]);
|
|
1652
1652
|
return new ta(t, i, ds);
|
|
1653
|
-
},
|
|
1653
|
+
}, Ec = (i, e) => {
|
|
1654
1654
|
if (hs) i.adoptedStyleSheets = e.map(((t) => t instanceof CSSStyleSheet ? t : t.styleSheet));
|
|
1655
1655
|
else for (const t of e) {
|
|
1656
|
-
const n = document.createElement("style"), s =
|
|
1656
|
+
const n = document.createElement("style"), s = ki.litNonce;
|
|
1657
1657
|
s !== void 0 && n.setAttribute("nonce", s), n.textContent = t.cssText, i.appendChild(n);
|
|
1658
1658
|
}
|
|
1659
1659
|
}, Ur = hs ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
|
1660
1660
|
let t = "";
|
|
1661
1661
|
for (const n of e.cssRules) t += n.cssText;
|
|
1662
|
-
return
|
|
1662
|
+
return _c(t);
|
|
1663
1663
|
})(i) : i;
|
|
1664
1664
|
/**
|
|
1665
1665
|
* @license
|
|
1666
1666
|
* Copyright 2017 Google LLC
|
|
1667
1667
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1668
1668
|
*/
|
|
1669
|
-
const { is:
|
|
1669
|
+
const { is: Ac, defineProperty: Tc, getOwnPropertyDescriptor: Oc, getOwnPropertyNames: Rc, getOwnPropertySymbols: Lc, getPrototypeOf: Ic } = Object, je = globalThis, zr = je.trustedTypes, Pc = zr ? zr.emptyScript : "", kn = je.reactiveElementPolyfillSupport, jt = (i, e) => i, Oi = { toAttribute(i, e) {
|
|
1670
1670
|
switch (e) {
|
|
1671
1671
|
case Boolean:
|
|
1672
|
-
i = i ?
|
|
1672
|
+
i = i ? Pc : null;
|
|
1673
1673
|
break;
|
|
1674
1674
|
case Object:
|
|
1675
1675
|
case Array:
|
|
@@ -1694,7 +1694,7 @@ const { is: Tc, defineProperty: Oc, getOwnPropertyDescriptor: Rc, getOwnProperty
|
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
return t;
|
|
1697
|
-
} }, ps = (i, e) => !
|
|
1697
|
+
} }, ps = (i, e) => !Ac(i, e), Fr = { attribute: !0, type: String, converter: Oi, reflect: !1, useDefault: !1, hasChanged: ps };
|
|
1698
1698
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), je.litPropertyMetadata ?? (je.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1699
1699
|
let ft = class extends HTMLElement {
|
|
1700
1700
|
static addInitializer(e) {
|
|
@@ -1706,11 +1706,11 @@ let ft = class extends HTMLElement {
|
|
|
1706
1706
|
static createProperty(e, t = Fr) {
|
|
1707
1707
|
if (t.state && (t.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((t = Object.create(t)).wrapped = !0), this.elementProperties.set(e, t), !t.noAccessor) {
|
|
1708
1708
|
const n = Symbol(), s = this.getPropertyDescriptor(e, n, t);
|
|
1709
|
-
s !== void 0 &&
|
|
1709
|
+
s !== void 0 && Tc(this.prototype, e, s);
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
1712
|
static getPropertyDescriptor(e, t, n) {
|
|
1713
|
-
const { get: s, set: r } =
|
|
1713
|
+
const { get: s, set: r } = Oc(this.prototype, e) ?? { get() {
|
|
1714
1714
|
return this[t];
|
|
1715
1715
|
}, set(o) {
|
|
1716
1716
|
this[t] = o;
|
|
@@ -1725,13 +1725,13 @@ let ft = class extends HTMLElement {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
static _$Ei() {
|
|
1727
1727
|
if (this.hasOwnProperty(jt("elementProperties"))) return;
|
|
1728
|
-
const e =
|
|
1728
|
+
const e = Ic(this);
|
|
1729
1729
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
1730
1730
|
}
|
|
1731
1731
|
static finalize() {
|
|
1732
1732
|
if (this.hasOwnProperty(jt("finalized"))) return;
|
|
1733
1733
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(jt("properties"))) {
|
|
1734
|
-
const t = this.properties, n = [...
|
|
1734
|
+
const t = this.properties, n = [...Rc(t), ...Lc(t)];
|
|
1735
1735
|
for (const s of n) this.createProperty(s, t[s]);
|
|
1736
1736
|
}
|
|
1737
1737
|
const e = this[Symbol.metadata];
|
|
@@ -1780,7 +1780,7 @@ let ft = class extends HTMLElement {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
createRenderRoot() {
|
|
1782
1782
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1783
|
-
return
|
|
1783
|
+
return Ec(e, this.constructor.elementStyles), e;
|
|
1784
1784
|
}
|
|
1785
1785
|
connectedCallback() {
|
|
1786
1786
|
var e;
|
|
@@ -1805,7 +1805,7 @@ let ft = class extends HTMLElement {
|
|
|
1805
1805
|
var r;
|
|
1806
1806
|
const n = this.constructor.elementProperties.get(e), s = this.constructor._$Eu(e, n);
|
|
1807
1807
|
if (s !== void 0 && n.reflect === !0) {
|
|
1808
|
-
const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter :
|
|
1808
|
+
const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : Oi).toAttribute(t, n.type);
|
|
1809
1809
|
this._$Em = e, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
|
|
1810
1810
|
}
|
|
1811
1811
|
}
|
|
@@ -1813,7 +1813,7 @@ let ft = class extends HTMLElement {
|
|
|
1813
1813
|
var r, o;
|
|
1814
1814
|
const n = this.constructor, s = n._$Eh.get(e);
|
|
1815
1815
|
if (s !== void 0 && this._$Em !== s) {
|
|
1816
|
-
const a = n.getPropertyOptions(s), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter :
|
|
1816
|
+
const a = n.getPropertyOptions(s), l = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : Oi;
|
|
1817
1817
|
this._$Em = s;
|
|
1818
1818
|
const c = l.fromAttribute(t, a.type);
|
|
1819
1819
|
this[s] = c ?? ((o = this._$Ej) == null ? void 0 : o.get(s)) ?? c, this._$Em = null;
|
|
@@ -1905,14 +1905,14 @@ ft.elementStyles = [], ft.shadowRootOptions = { mode: "open" }, ft[jt("elementPr
|
|
|
1905
1905
|
* Copyright 2017 Google LLC
|
|
1906
1906
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1907
1907
|
*/
|
|
1908
|
-
const Bt = globalThis,
|
|
1908
|
+
const Bt = globalThis, Ri = Bt.trustedTypes, Hr = Ri ? Ri.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, ia = "$lit$", ze = `lit$${Math.random().toFixed(9).slice(2)}$`, na = "?" + ze, Mc = `<${na}>`, it = document, Zt = () => it.createComment(""), Yt = (i) => i === null || typeof i != "object" && typeof i != "function", fs = Array.isArray, Nc = (i) => fs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Sn = `[
|
|
1909
1909
|
\f\r]`, Pt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, jr = /-->/g, Br = />/g, Qe = RegExp(`>|${Sn}(?:([^\\s"'>=/]+)(${Sn}*=${Sn}*(?:[^
|
|
1910
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), qr = /'/g, Vr = /"/g, sa = /^(?:script|style|textarea|title)$/i,
|
|
1910
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), qr = /'/g, Vr = /"/g, sa = /^(?:script|style|textarea|title)$/i, Dc = (i) => (e, ...t) => ({ _$litType$: i, strings: e, values: t }), w = Dc(1), Me = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Wr = /* @__PURE__ */ new WeakMap(), Xe = it.createTreeWalker(it, 129);
|
|
1911
1911
|
function ra(i, e) {
|
|
1912
1912
|
if (!fs(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1913
1913
|
return Hr !== void 0 ? Hr.createHTML(e) : e;
|
|
1914
1914
|
}
|
|
1915
|
-
const
|
|
1915
|
+
const Uc = (i, e) => {
|
|
1916
1916
|
const t = i.length - 1, n = [];
|
|
1917
1917
|
let s, r = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", o = Pt;
|
|
1918
1918
|
for (let a = 0; a < t; a++) {
|
|
@@ -1920,7 +1920,7 @@ const zc = (i, e) => {
|
|
|
1920
1920
|
let c, u, p = -1, d = 0;
|
|
1921
1921
|
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === Pt ? u[1] === "!--" ? o = jr : u[1] !== void 0 ? o = Br : u[2] !== void 0 ? (sa.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = Qe) : u[3] !== void 0 && (o = Qe) : o === Qe ? u[0] === ">" ? (o = s ?? Pt, p = -1) : u[1] === void 0 ? p = -2 : (p = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? Qe : u[3] === '"' ? Vr : qr) : o === Vr || o === qr ? o = Qe : o === jr || o === Br ? o = Pt : (o = Qe, s = void 0);
|
|
1922
1922
|
const g = o === Qe && i[a + 1].startsWith("/>") ? " " : "";
|
|
1923
|
-
r += o === Pt ? l +
|
|
1923
|
+
r += o === Pt ? l + Mc : p >= 0 ? (n.push(c), l.slice(0, p) + ia + l.slice(p) + ze + g) : l + ze + (p === -2 ? a : g);
|
|
1924
1924
|
}
|
|
1925
1925
|
return [ra(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
|
1926
1926
|
};
|
|
@@ -1929,22 +1929,22 @@ let Bn = class oa {
|
|
|
1929
1929
|
let s;
|
|
1930
1930
|
this.parts = [];
|
|
1931
1931
|
let r = 0, o = 0;
|
|
1932
|
-
const a = e.length - 1, l = this.parts, [c, u] =
|
|
1933
|
-
if (this.el = oa.createElement(c, n),
|
|
1932
|
+
const a = e.length - 1, l = this.parts, [c, u] = Uc(e, t);
|
|
1933
|
+
if (this.el = oa.createElement(c, n), Xe.currentNode = this.el.content, t === 2 || t === 3) {
|
|
1934
1934
|
const p = this.el.content.firstChild;
|
|
1935
1935
|
p.replaceWith(...p.childNodes);
|
|
1936
1936
|
}
|
|
1937
|
-
for (; (s =
|
|
1937
|
+
for (; (s = Xe.nextNode()) !== null && l.length < a; ) {
|
|
1938
1938
|
if (s.nodeType === 1) {
|
|
1939
1939
|
if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(ia)) {
|
|
1940
1940
|
const d = u[o++], g = s.getAttribute(p).split(ze), v = /([.?@])?(.*)/.exec(d);
|
|
1941
|
-
l.push({ type: 1, index: r, name: v[2], strings: g, ctor: v[1] === "." ?
|
|
1941
|
+
l.push({ type: 1, index: r, name: v[2], strings: g, ctor: v[1] === "." ? Fc : v[1] === "?" ? Hc : v[1] === "@" ? jc : Qi }), s.removeAttribute(p);
|
|
1942
1942
|
} else p.startsWith(ze) && (l.push({ type: 6, index: r }), s.removeAttribute(p));
|
|
1943
1943
|
if (sa.test(s.tagName)) {
|
|
1944
1944
|
const p = s.textContent.split(ze), d = p.length - 1;
|
|
1945
1945
|
if (d > 0) {
|
|
1946
|
-
s.textContent =
|
|
1947
|
-
for (let g = 0; g < d; g++) s.append(p[g], Zt()),
|
|
1946
|
+
s.textContent = Ri ? Ri.emptyScript : "";
|
|
1947
|
+
for (let g = 0; g < d; g++) s.append(p[g], Zt()), Xe.nextNode(), l.push({ type: 2, index: ++r });
|
|
1948
1948
|
s.append(p[d], Zt());
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
@@ -1968,7 +1968,7 @@ function St(i, e, t = i, n) {
|
|
|
1968
1968
|
const r = Yt(e) ? void 0 : e._$litDirective$;
|
|
1969
1969
|
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(i), s._$AT(i, t, n)), n !== void 0 ? (t._$Co ?? (t._$Co = []))[n] = s : t._$Cl = s), s !== void 0 && (e = St(i, s._$AS(i, e.values), s, n)), e;
|
|
1970
1970
|
}
|
|
1971
|
-
class
|
|
1971
|
+
class zc {
|
|
1972
1972
|
constructor(e, t) {
|
|
1973
1973
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
|
1974
1974
|
}
|
|
@@ -1980,23 +1980,23 @@ class Fc {
|
|
|
1980
1980
|
}
|
|
1981
1981
|
u(e) {
|
|
1982
1982
|
const { el: { content: t }, parts: n } = this._$AD, s = ((e == null ? void 0 : e.creationScope) ?? it).importNode(t, !0);
|
|
1983
|
-
|
|
1984
|
-
let r =
|
|
1983
|
+
Xe.currentNode = s;
|
|
1984
|
+
let r = Xe.nextNode(), o = 0, a = 0, l = n[0];
|
|
1985
1985
|
for (; l !== void 0; ) {
|
|
1986
1986
|
if (o === l.index) {
|
|
1987
1987
|
let c;
|
|
1988
|
-
l.type === 2 ? c = new
|
|
1988
|
+
l.type === 2 ? c = new si(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Bc(r, this, e)), this._$AV.push(c), l = n[++a];
|
|
1989
1989
|
}
|
|
1990
|
-
o !== (l == null ? void 0 : l.index) && (r =
|
|
1990
|
+
o !== (l == null ? void 0 : l.index) && (r = Xe.nextNode(), o++);
|
|
1991
1991
|
}
|
|
1992
|
-
return
|
|
1992
|
+
return Xe.currentNode = it, s;
|
|
1993
1993
|
}
|
|
1994
1994
|
p(e) {
|
|
1995
1995
|
let t = 0;
|
|
1996
1996
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(e, n, t), t += n.strings.length - 2) : n._$AI(e[t])), t++;
|
|
1997
1997
|
}
|
|
1998
1998
|
}
|
|
1999
|
-
class
|
|
1999
|
+
class si {
|
|
2000
2000
|
get _$AU() {
|
|
2001
2001
|
var e;
|
|
2002
2002
|
return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
|
|
@@ -2016,7 +2016,7 @@ class ri {
|
|
|
2016
2016
|
return this._$AB;
|
|
2017
2017
|
}
|
|
2018
2018
|
_$AI(e, t = this) {
|
|
2019
|
-
e = St(this, e, t), Yt(e) ? e === $ || e == null || e === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : e !== this._$AH && e !== Me && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
|
2019
|
+
e = St(this, e, t), Yt(e) ? e === $ || e == null || e === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : e !== this._$AH && e !== Me && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Nc(e) ? this.k(e) : this._(e);
|
|
2020
2020
|
}
|
|
2021
2021
|
O(e) {
|
|
2022
2022
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -2032,7 +2032,7 @@ class ri {
|
|
|
2032
2032
|
const { values: t, _$litType$: n } = e, s = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Bn.createElement(ra(n.h, n.h[0]), this.options)), n);
|
|
2033
2033
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(t);
|
|
2034
2034
|
else {
|
|
2035
|
-
const o = new
|
|
2035
|
+
const o = new zc(s, this), a = o.u(this.options);
|
|
2036
2036
|
o.p(t), this.T(a), this._$AH = o;
|
|
2037
2037
|
}
|
|
2038
2038
|
}
|
|
@@ -2044,7 +2044,7 @@ class ri {
|
|
|
2044
2044
|
fs(this._$AH) || (this._$AH = [], this._$AR());
|
|
2045
2045
|
const t = this._$AH;
|
|
2046
2046
|
let n, s = 0;
|
|
2047
|
-
for (const r of e) s === t.length ? t.push(n = new
|
|
2047
|
+
for (const r of e) s === t.length ? t.push(n = new si(this.O(Zt()), this.O(Zt()), this, this.options)) : n = t[s], n._$AI(r), s++;
|
|
2048
2048
|
s < t.length && (this._$AR(n && n._$AB.nextSibling, s), t.length = s);
|
|
2049
2049
|
}
|
|
2050
2050
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -2084,7 +2084,7 @@ class Qi {
|
|
|
2084
2084
|
e === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
|
2085
2085
|
}
|
|
2086
2086
|
}
|
|
2087
|
-
let
|
|
2087
|
+
let Fc = class extends Qi {
|
|
2088
2088
|
constructor() {
|
|
2089
2089
|
super(...arguments), this.type = 3;
|
|
2090
2090
|
}
|
|
@@ -2092,7 +2092,7 @@ let Hc = class extends Qi {
|
|
|
2092
2092
|
this.element[this.name] = e === $ ? void 0 : e;
|
|
2093
2093
|
}
|
|
2094
2094
|
};
|
|
2095
|
-
class
|
|
2095
|
+
class Hc extends Qi {
|
|
2096
2096
|
constructor() {
|
|
2097
2097
|
super(...arguments), this.type = 4;
|
|
2098
2098
|
}
|
|
@@ -2100,7 +2100,7 @@ class jc extends Qi {
|
|
|
2100
2100
|
this.element.toggleAttribute(this.name, !!e && e !== $);
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
|
-
class
|
|
2103
|
+
class jc extends Qi {
|
|
2104
2104
|
constructor(e, t, n, s, r) {
|
|
2105
2105
|
super(e, t, n, s, r), this.type = 5;
|
|
2106
2106
|
}
|
|
@@ -2114,7 +2114,7 @@ class Bc extends Qi {
|
|
|
2114
2114
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
|
2115
2115
|
}
|
|
2116
2116
|
}
|
|
2117
|
-
class
|
|
2117
|
+
class Bc {
|
|
2118
2118
|
constructor(e, t, n) {
|
|
2119
2119
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
|
2120
2120
|
}
|
|
@@ -2126,13 +2126,13 @@ class qc {
|
|
|
2126
2126
|
}
|
|
2127
2127
|
}
|
|
2128
2128
|
const Cn = Bt.litHtmlPolyfillSupport;
|
|
2129
|
-
Cn == null || Cn(Bn,
|
|
2130
|
-
const
|
|
2129
|
+
Cn == null || Cn(Bn, si), (Bt.litHtmlVersions ?? (Bt.litHtmlVersions = [])).push("3.3.1");
|
|
2130
|
+
const qc = (i, e, t) => {
|
|
2131
2131
|
const n = (t == null ? void 0 : t.renderBefore) ?? e;
|
|
2132
2132
|
let s = n._$litPart$;
|
|
2133
2133
|
if (s === void 0) {
|
|
2134
2134
|
const r = (t == null ? void 0 : t.renderBefore) ?? null;
|
|
2135
|
-
n._$litPart$ = s = new
|
|
2135
|
+
n._$litPart$ = s = new si(e.insertBefore(Zt(), r), r, void 0, t ?? {});
|
|
2136
2136
|
}
|
|
2137
2137
|
return s._$AI(i), s;
|
|
2138
2138
|
};
|
|
@@ -2153,7 +2153,7 @@ let E = class extends ft {
|
|
|
2153
2153
|
}
|
|
2154
2154
|
update(e) {
|
|
2155
2155
|
const t = this.render();
|
|
2156
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
|
2156
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = qc(t, this.renderRoot, this.renderOptions);
|
|
2157
2157
|
}
|
|
2158
2158
|
connectedCallback() {
|
|
2159
2159
|
var e;
|
|
@@ -2172,7 +2172,7 @@ E._$litElement$ = !0, E.finalized = !0, (Io = et.litElementHydrateSupport) == nu
|
|
|
2172
2172
|
const _n = et.litElementPolyfillSupport;
|
|
2173
2173
|
_n == null || _n({ LitElement: E });
|
|
2174
2174
|
(et.litElementVersions ?? (et.litElementVersions = [])).push("4.2.1");
|
|
2175
|
-
const Wc = { 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 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, aa = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M52 7H24C19.5838 7.00505 16.0051 10.5838 16 15V23H12C7.58382 23.0051 4.00505 26.5838 4 31V43C4.00505 47.4162 7.58382 50.9949 12 51H19.1699L24.8789 56.7075C25.737 57.5654 27.0273 57.8219 28.1482 57.3575C29.2692 56.8931 30 55.7993 30 54.5859V51H39.999C44.4152 50.995 47.994 47.4162 47.999 43V35H52C56.4162 34.9949 59.9949 31.4162 60 27V15C59.9949 10.5838 56.4162 7.00505 52 7ZM43.999 43C43.9967 45.2082 42.2072 46.9977 39.999 47H26V52.1724L20.8262 47H12C9.79184 46.9976 8.00235 45.2082 8 43V31C8.00235 28.7918 9.79184 27.0024 12 27H16C16.0051 31.4162 19.5838 34.9949 24 35H30V38.5859C29.999 39.7998 30.7298 40.8945 31.8512 41.359C32.9726 41.8236 34.2634 41.5664 35.1211 40.7075L40.8291 35H43.999V43ZM56 27C55.9977 29.2082 54.2082 30.9976 52 31H39.1729L34 36.1719V31H24C21.7918 30.9976 20.0024 29.2082 20 27V15C20.0024 12.7918 21.7918 11.0024 24 11H52C54.2082 11.0024 55.9977 12.7918 56 15V27Z"/></svg>' }, Gc = { 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.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, la = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Zc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5438 13.4967L28.717 50.5596C27.9537 51.5407 26.8061 52.147 25.5654 52.2248C25.4755 52.2301 25.3856 52.2332 25.2967 52.2332C24.1476 52.233 23.0455 51.7763 22.233 50.9637L6.63458 35.3654C6.08729 34.8181 5.87354 34.0204 6.07387 33.2728C6.27419 32.5252 6.85815 31.9412 7.60577 31.7409C8.35339 31.5406 9.15109 31.7543 9.69838 32.3016L25.2967 47.8999L54.1225 10.837C54.5976 10.2258 55.3626 9.91453 56.1295 10.0204C56.8963 10.1263 57.5484 10.6332 57.8402 11.3502C58.1319 12.0673 58.0189 12.8855 57.5438 13.4967Z"/></svg>' }, ca = { 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>' }, Yc = { 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 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, gs = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.365 48.3012C51.9123 48.8485 52.1261 49.6462 51.9258 50.3939C51.7254 51.1415 51.1415 51.7254 50.3939 51.9258C49.6462 52.1261 48.8485 51.9123 48.3012 51.365L32.4998 35.5636L16.6984 51.365C16.1511 51.9123 15.3534 52.1261 14.6058 51.9258C13.8581 51.7254 13.2742 51.1415 13.0739 50.3939C12.8735 49.6462 13.0873 48.8485 13.6346 48.3012L29.436 32.4998L13.6346 16.6984C13.0873 16.1511 12.8735 15.3534 13.0739 14.6058C13.2742 13.8581 13.8581 13.2742 14.6058 13.0739C15.3534 12.8735 16.1511 13.0873 16.6984 13.6346L32.4998 29.436L48.3012 13.6346C49.1473 12.7885 50.519 12.7885 51.365 13.6346C52.2111 14.4806 52.2111 15.8523 51.365 16.6984L35.5636 32.4998L51.365 48.3012Z"/></svg>' }, Qc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' }, qn = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M59.9139 23.8477V7.90923C59.902 5.75094 58.1522 4.00588 55.9939 4H40.0554C38.8659 4 37.9016 4.96431 37.9016 6.15385C37.9016 7.34338 38.8659 8.30769 40.0554 8.30769H52.4616L29.8462 30.9231C29.4417 31.3271 29.2145 31.8753 29.2145 32.4469C29.2145 33.0186 29.4417 33.5668 29.8462 33.9708C30.2394 34.3609 30.7677 34.5846 31.3216 34.5954C31.8941 34.5987 32.4443 34.3739 32.8508 33.9708L55.6062 11.2046V23.8477C55.6062 25.0372 56.5705 26.0015 57.76 26.0015C58.9495 26.0015 59.9139 25.0372 59.9139 23.8477Z"/><path d="M12.217 60H47.4001C51.9189 59.9942 55.5874 56.3449 55.617 51.8262V38.4615C55.617 37.272 54.6527 36.3077 53.4631 36.3077C52.2736 36.3077 51.3093 37.272 51.3093 38.4615V51.7831C51.3034 53.9396 49.5566 55.6864 47.4001 55.6923H12.217C10.0771 55.6866 8.33714 53.9659 8.30776 51.8262V16.5569C8.29914 15.5145 8.7072 14.5119 9.44126 13.7718C10.1753 13.0316 11.1746 12.6153 12.217 12.6154H25.5385C26.7281 12.6154 27.6924 11.6511 27.6924 10.4615C27.6924 9.272 26.7281 8.30769 25.5385 8.30769H12.217C10.0321 8.30767 7.9372 9.17782 6.39529 10.7258C4.85339 12.2738 3.99147 14.3721 4.00006 16.5569V51.8262C4.02963 56.3449 7.6981 59.9942 12.217 60Z"/></svg>' }, Gr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Xc = { 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>' }, ua = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, Zr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Yr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.2561 39.1924C27.3201 40.5364 28.0241 41.1764 29.3681 41.1764C32.1201 41.1764 34.8081 39.3844 34.8721 37.5924L35.8961 12.3764C35.8961 10.6484 35.0001 9.81641 33.1441 9.81641C29.6241 9.81641 25.9761 12.1844 25.9761 14.4244L27.2561 39.1924ZM30.9041 55.3847C28.4081 55.3847 26.0401 51.2247 26.0401 49.6247C26.0401 47.3847 29.6881 45.0167 33.2081 45.0167C35.0641 45.0167 36.0241 45.8487 36.0241 47.5767C36.0241 50.2007 34.8081 52.8887 33.2721 54.2967C32.5041 55.0007 31.7361 55.3847 30.9041 55.3847Z"/></svg>' }, gt = {
|
|
2175
|
+
const Vc = { 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 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, aa = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M52 7H24C19.5838 7.00505 16.0051 10.5838 16 15V23H12C7.58382 23.0051 4.00505 26.5838 4 31V43C4.00505 47.4162 7.58382 50.9949 12 51H19.1699L24.8789 56.7075C25.737 57.5654 27.0273 57.8219 28.1482 57.3575C29.2692 56.8931 30 55.7993 30 54.5859V51H39.999C44.4152 50.995 47.994 47.4162 47.999 43V35H52C56.4162 34.9949 59.9949 31.4162 60 27V15C59.9949 10.5838 56.4162 7.00505 52 7ZM43.999 43C43.9967 45.2082 42.2072 46.9977 39.999 47H26V52.1724L20.8262 47H12C9.79184 46.9976 8.00235 45.2082 8 43V31C8.00235 28.7918 9.79184 27.0024 12 27H16C16.0051 31.4162 19.5838 34.9949 24 35H30V38.5859C29.999 39.7998 30.7298 40.8945 31.8512 41.359C32.9726 41.8236 34.2634 41.5664 35.1211 40.7075L40.8291 35H43.999V43ZM56 27C55.9977 29.2082 54.2082 30.9976 52 31H39.1729L34 36.1719V31H24C21.7918 30.9976 20.0024 29.2082 20 27V15C20.0024 12.7918 21.7918 11.0024 24 11H52C54.2082 11.0024 55.9977 12.7918 56 15V27Z"/></svg>' }, Wc = { 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.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, la = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Gc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M57.5438 13.4967L28.717 50.5596C27.9537 51.5407 26.8061 52.147 25.5654 52.2248C25.4755 52.2301 25.3856 52.2332 25.2967 52.2332C24.1476 52.233 23.0455 51.7763 22.233 50.9637L6.63458 35.3654C6.08729 34.8181 5.87354 34.0204 6.07387 33.2728C6.27419 32.5252 6.85815 31.9412 7.60577 31.7409C8.35339 31.5406 9.15109 31.7543 9.69838 32.3016L25.2967 47.8999L54.1225 10.837C54.5976 10.2258 55.3626 9.91453 56.1295 10.0204C56.8963 10.1263 57.5484 10.6332 57.8402 11.3502C58.1319 12.0673 58.0189 12.8855 57.5438 13.4967Z"/></svg>' }, ca = { 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>' }, Zc = { 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 56C45.2548 56 56 45.2548 56 32C56 18.7452 45.2548 8 32 8C18.7452 8 8 18.7452 8 32C8 45.2548 18.7452 56 32 56ZM32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60Z"/><path d="M25.2772 22.695C24.5164 21.8942 23.2505 21.8617 22.4497 22.6225C21.6488 23.3833 21.6164 24.6492 22.3772 25.45L29.2411 32.6752L22.4773 39.795C21.7166 40.5958 21.749 41.8617 22.5498 42.6225C23.3507 43.3833 24.6166 43.3508 25.3773 42.55L31.9998 35.5791L38.6222 42.55C39.3829 43.3508 40.6488 43.3833 41.4497 42.6225C42.2505 41.8617 42.2829 40.5958 41.5222 39.795L34.7584 32.6752L41.6223 25.45C42.3831 24.6492 42.3507 23.3833 41.5498 22.6225C40.749 21.8617 39.4831 21.8942 38.7224 22.695L31.9998 29.7714L25.2772 22.695Z"/></svg>' }, gs = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.365 48.3012C51.9123 48.8485 52.1261 49.6462 51.9258 50.3939C51.7254 51.1415 51.1415 51.7254 50.3939 51.9258C49.6462 52.1261 48.8485 51.9123 48.3012 51.365L32.4998 35.5636L16.6984 51.365C16.1511 51.9123 15.3534 52.1261 14.6058 51.9258C13.8581 51.7254 13.2742 51.1415 13.0739 50.3939C12.8735 49.6462 13.0873 48.8485 13.6346 48.3012L29.436 32.4998L13.6346 16.6984C13.0873 16.1511 12.8735 15.3534 13.0739 14.6058C13.2742 13.8581 13.8581 13.2742 14.6058 13.0739C15.3534 12.8735 16.1511 13.0873 16.6984 13.6346L32.4998 29.436L48.3012 13.6346C49.1473 12.7885 50.519 12.7885 51.365 13.6346C52.2111 14.4806 52.2111 15.8523 51.365 16.6984L35.5636 32.4998L51.365 48.3012Z"/></svg>' }, Yc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' }, qn = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M59.9139 23.8477V7.90923C59.902 5.75094 58.1522 4.00588 55.9939 4H40.0554C38.8659 4 37.9016 4.96431 37.9016 6.15385C37.9016 7.34338 38.8659 8.30769 40.0554 8.30769H52.4616L29.8462 30.9231C29.4417 31.3271 29.2145 31.8753 29.2145 32.4469C29.2145 33.0186 29.4417 33.5668 29.8462 33.9708C30.2394 34.3609 30.7677 34.5846 31.3216 34.5954C31.8941 34.5987 32.4443 34.3739 32.8508 33.9708L55.6062 11.2046V23.8477C55.6062 25.0372 56.5705 26.0015 57.76 26.0015C58.9495 26.0015 59.9139 25.0372 59.9139 23.8477Z"/><path d="M12.217 60H47.4001C51.9189 59.9942 55.5874 56.3449 55.617 51.8262V38.4615C55.617 37.272 54.6527 36.3077 53.4631 36.3077C52.2736 36.3077 51.3093 37.272 51.3093 38.4615V51.7831C51.3034 53.9396 49.5566 55.6864 47.4001 55.6923H12.217C10.0771 55.6866 8.33714 53.9659 8.30776 51.8262V16.5569C8.29914 15.5145 8.7072 14.5119 9.44126 13.7718C10.1753 13.0316 11.1746 12.6153 12.217 12.6154H25.5385C26.7281 12.6154 27.6924 11.6511 27.6924 10.4615C27.6924 9.272 26.7281 8.30769 25.5385 8.30769H12.217C10.0321 8.30767 7.9372 9.17782 6.39529 10.7258C4.85339 12.2738 3.99147 14.3721 4.00006 16.5569V51.8262C4.02963 56.3449 7.6981 59.9942 12.217 60Z"/></svg>' }, Gr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, Qc = { 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>' }, ua = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, Zr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, Yr = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M27.2561 39.1924C27.3201 40.5364 28.0241 41.1764 29.3681 41.1764C32.1201 41.1764 34.8081 39.3844 34.8721 37.5924L35.8961 12.3764C35.8961 10.6484 35.0001 9.81641 33.1441 9.81641C29.6241 9.81641 25.9761 12.1844 25.9761 14.4244L27.2561 39.1924ZM30.9041 55.3847C28.4081 55.3847 26.0401 51.2247 26.0401 49.6247C26.0401 47.3847 29.6881 45.0167 33.2081 45.0167C35.0641 45.0167 36.0241 45.8487 36.0241 47.5767C36.0241 50.2007 34.8081 52.8887 33.2721 54.2967C32.5041 55.0007 31.7361 55.3847 30.9041 55.3847Z"/></svg>' }, gt = {
|
|
2176
2176
|
allRenderFn: !1,
|
|
2177
2177
|
cmpDidLoad: !0,
|
|
2178
2178
|
cmpDidUnload: !1,
|
|
@@ -2256,8 +2256,8 @@ const Wc = { svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" f
|
|
|
2256
2256
|
transformTagName: !1,
|
|
2257
2257
|
attachStyles: !0
|
|
2258
2258
|
};
|
|
2259
|
-
let mt, ha,
|
|
2260
|
-
const
|
|
2259
|
+
let mt, ha, Ki, da = !1, Li = !1, ms = !1, se = !1, Qr = null, Vn = !1;
|
|
2260
|
+
const Xi = typeof window < "u" ? window : {}, Se = Xi.document || { head: {} }, pa = Xi.HTMLElement || class {
|
|
2261
2261
|
}, J = {
|
|
2262
2262
|
$flags$: 0,
|
|
2263
2263
|
$resourcesUrl$: "",
|
|
@@ -2277,7 +2277,7 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2277
2277
|
} catch {
|
|
2278
2278
|
}
|
|
2279
2279
|
return i;
|
|
2280
|
-
})(),
|
|
2280
|
+
})(), Xc = (i) => Promise.resolve(i), Jc = /* @__PURE__ */ (() => {
|
|
2281
2281
|
try {
|
|
2282
2282
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
|
2283
2283
|
} catch {
|
|
@@ -2285,39 +2285,39 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2285
2285
|
return !1;
|
|
2286
2286
|
})(), fa = (i, e, t, n) => {
|
|
2287
2287
|
t && t.map(([s, r, o]) => {
|
|
2288
|
-
const a =
|
|
2288
|
+
const a = tu(i, s), l = eu(e, o), c = iu(s);
|
|
2289
2289
|
J.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => J.rel(a, r, l, c));
|
|
2290
2290
|
});
|
|
2291
|
-
},
|
|
2291
|
+
}, eu = (i, e) => (t) => {
|
|
2292
2292
|
try {
|
|
2293
2293
|
gt.lazyLoad || i.$hostElement$[e](t);
|
|
2294
2294
|
} catch (n) {
|
|
2295
|
-
|
|
2295
|
+
ri(n);
|
|
2296
2296
|
}
|
|
2297
|
-
},
|
|
2297
|
+
}, tu = (i, e) => e & 4 ? Se : e & 8 ? Xi : e & 16 ? Se.body : i, iu = (i) => Kc ? {
|
|
2298
2298
|
passive: (i & 1) !== 0,
|
|
2299
2299
|
capture: (i & 2) !== 0
|
|
2300
|
-
} : (i & 2) !== 0,
|
|
2301
|
-
},
|
|
2302
|
-
let n =
|
|
2303
|
-
|
|
2304
|
-
},
|
|
2305
|
-
let s = ga(e, t), r =
|
|
2300
|
+
} : (i & 2) !== 0, Kr = "http://www.w3.org/1999/xlink", nt = (i, e = "") => () => {
|
|
2301
|
+
}, Xr = /* @__PURE__ */ new WeakMap(), nu = (i, e, t) => {
|
|
2302
|
+
let n = Mi.get(i);
|
|
2303
|
+
Jc && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, Mi.set(i, n);
|
|
2304
|
+
}, su = (i, e, t, n) => {
|
|
2305
|
+
let s = ga(e, t), r = Mi.get(s);
|
|
2306
2306
|
if (i = i.nodeType === 11 ? i : Se, r)
|
|
2307
2307
|
if (typeof r == "string") {
|
|
2308
2308
|
i = i.head || i;
|
|
2309
|
-
let o =
|
|
2310
|
-
o ||
|
|
2309
|
+
let o = Xr.get(i), a;
|
|
2310
|
+
o || Xr.set(i, o = /* @__PURE__ */ new Set()), o.has(s) || (a = Se.createElement("style"), a.innerHTML = r, i.insertBefore(a, i.querySelector("link")), o && o.add(s));
|
|
2311
2311
|
} else i.adoptedStyleSheets.includes(r) || (i.adoptedStyleSheets = [...i.adoptedStyleSheets, r]);
|
|
2312
2312
|
return s;
|
|
2313
|
-
},
|
|
2314
|
-
const e = i.$cmpMeta$, t = i.$hostElement$, n = e.$flags$, s = nt("attachStyles", e.$tagName$), r =
|
|
2313
|
+
}, ru = (i) => {
|
|
2314
|
+
const e = i.$cmpMeta$, t = i.$hostElement$, n = e.$flags$, s = nt("attachStyles", e.$tagName$), r = su(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, i.$modeName$);
|
|
2315
2315
|
n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), s();
|
|
2316
|
-
}, ga = (i, e) => "sc-" + (e && i.$flags$ & 32 ? i.$tagName$ + "-" + e : i.$tagName$),
|
|
2316
|
+
}, ga = (i, e) => "sc-" + (e && i.$flags$ & 32 ? i.$tagName$ + "-" + e : i.$tagName$), ou = (i) => Pu.map((e) => e(i)).find((e) => !!e), Jr = {}, au = "http://www.w3.org/2000/svg", lu = "http://www.w3.org/1999/xhtml", cu = (i) => i != null, vs = (i) => (i = typeof i, i === "object" || i === "function"), wt = (i, e, ...t) => {
|
|
2317
2317
|
let n = null, s = null, r = null, o = !1, a = !1, l = [];
|
|
2318
2318
|
const c = (p) => {
|
|
2319
2319
|
for (let d = 0; d < p.length; d++)
|
|
2320
|
-
n = p[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof i != "function" && !vs(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ?
|
|
2320
|
+
n = p[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof i != "function" && !vs(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? Ii(null, n) : n), a = o);
|
|
2321
2321
|
};
|
|
2322
2322
|
if (c(t), e) {
|
|
2323
2323
|
e.key && (s = e.key), e.name && (r = e.name);
|
|
@@ -2327,10 +2327,10 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2327
2327
|
}
|
|
2328
2328
|
}
|
|
2329
2329
|
if (typeof i == "function")
|
|
2330
|
-
return i(e === null ? {} : e, l,
|
|
2331
|
-
const u =
|
|
2330
|
+
return i(e === null ? {} : e, l, hu);
|
|
2331
|
+
const u = Ii(i, null);
|
|
2332
2332
|
return u.$attrs$ = e, l.length > 0 && (u.$children$ = l), u.$key$ = s, u.$name$ = r, u;
|
|
2333
|
-
},
|
|
2333
|
+
}, Ii = (i, e) => {
|
|
2334
2334
|
const t = {
|
|
2335
2335
|
$flags$: 0,
|
|
2336
2336
|
$tag$: i,
|
|
@@ -2339,9 +2339,9 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2339
2339
|
$children$: null
|
|
2340
2340
|
};
|
|
2341
2341
|
return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
|
|
2342
|
-
}, bs = {},
|
|
2342
|
+
}, bs = {}, uu = (i) => i && i.$tag$ === bs, hu = {
|
|
2343
2343
|
forEach: (i, e) => i.map(eo).forEach(e),
|
|
2344
|
-
map: (i, e) => i.map(eo).map(e).map(
|
|
2344
|
+
map: (i, e) => i.map(eo).map(e).map(du)
|
|
2345
2345
|
}, eo = (i) => ({
|
|
2346
2346
|
vattrs: i.$attrs$,
|
|
2347
2347
|
vchildren: i.$children$,
|
|
@@ -2349,12 +2349,12 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2349
2349
|
vname: i.$name$,
|
|
2350
2350
|
vtag: i.$tag$,
|
|
2351
2351
|
vtext: i.$text$
|
|
2352
|
-
}),
|
|
2352
|
+
}), du = (i) => {
|
|
2353
2353
|
if (typeof i.vtag == "function") {
|
|
2354
2354
|
const t = Object.assign({}, i.vattrs);
|
|
2355
2355
|
return i.vkey && (t.key = i.vkey), i.vname && (t.name = i.vname), wt(i.vtag, t, ...i.vchildren || []);
|
|
2356
2356
|
}
|
|
2357
|
-
const e =
|
|
2357
|
+
const e = Ii(i.vtag, i.vtext);
|
|
2358
2358
|
return e.$attrs$ = i.vattrs, e.$children$ = i.vchildren, e.$key$ = i.vkey, e.$name$ = i.vname, e;
|
|
2359
2359
|
}, to = (i, e, t, n, s, r) => {
|
|
2360
2360
|
if (t !== n) {
|
|
@@ -2371,7 +2371,7 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2371
2371
|
if (e === "ref")
|
|
2372
2372
|
n && n(i);
|
|
2373
2373
|
else if (!i.__lookupSetter__(e) && e[0] === "o" && e[1] === "n")
|
|
2374
|
-
e[2] === "-" ? e = e.slice(3) : ro(
|
|
2374
|
+
e[2] === "-" ? e = e.slice(3) : ro(Xi, a) ? e = a.slice(2) : e = a[2] + e.slice(3), t && J.rel(i, e, t, !1), n && J.ael(i, e, n, !1);
|
|
2375
2375
|
else {
|
|
2376
2376
|
const l = vs(n);
|
|
2377
2377
|
if ((o || l && n !== null) && !s)
|
|
@@ -2385,16 +2385,16 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2385
2385
|
} catch {
|
|
2386
2386
|
}
|
|
2387
2387
|
let c = !1;
|
|
2388
|
-
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || i.getAttribute(e) === "") && (c ? i.removeAttributeNS(
|
|
2388
|
+
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || i.getAttribute(e) === "") && (c ? i.removeAttributeNS(Kr, e) : i.removeAttribute(e)) : (!o || r & 4 || s) && !l && (n = n === !0 ? "" : n, c ? i.setAttributeNS(Kr, e, n) : i.setAttribute(e, n));
|
|
2389
2389
|
}
|
|
2390
2390
|
}
|
|
2391
|
-
},
|
|
2391
|
+
}, pu = /\s/, io = (i) => i ? i.split(pu) : [], ma = (i, e, t, n) => {
|
|
2392
2392
|
const s = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = i && i.$attrs$ || Jr, o = e.$attrs$ || Jr;
|
|
2393
2393
|
for (n in r)
|
|
2394
2394
|
n in o || to(s, n, r[n], void 0, t, e.$flags$);
|
|
2395
2395
|
for (n in o)
|
|
2396
2396
|
to(s, n, r[n], o[n], t, e.$flags$);
|
|
2397
|
-
},
|
|
2397
|
+
}, Pi = (i, e, t, n) => {
|
|
2398
2398
|
let s = e.$children$[t], r = 0, o, a, l;
|
|
2399
2399
|
if (da || (ms = !0, s.$tag$ === "slot" && (mt && n.classList.add(mt + "-s"), s.$flags$ |= s.$children$ ? (
|
|
2400
2400
|
// slot element has fallback content
|
|
@@ -2407,28 +2407,28 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2407
2407
|
else if (s.$flags$ & 1)
|
|
2408
2408
|
o = s.$elm$ = Se.createTextNode("");
|
|
2409
2409
|
else {
|
|
2410
|
-
if (se || (se = s.$tag$ === "svg"), o = s.$elm$ = Se.createElementNS(se ?
|
|
2410
|
+
if (se || (se = s.$tag$ === "svg"), o = s.$elm$ = Se.createElementNS(se ? au : lu, s.$flags$ & 2 ? "slot-fb" : s.$tag$), se && s.$tag$ === "foreignObject" && (se = !1), ma(null, s, se), cu(mt) && o["s-si"] !== mt && o.classList.add(o["s-si"] = mt), s.$children$)
|
|
2411
2411
|
for (r = 0; r < s.$children$.length; ++r)
|
|
2412
|
-
a =
|
|
2412
|
+
a = Pi(i, s, r, o), a && o.appendChild(a);
|
|
2413
2413
|
s.$tag$ === "svg" ? se = !1 : o.tagName === "foreignObject" && (se = !0);
|
|
2414
2414
|
}
|
|
2415
|
-
return o["s-hn"] =
|
|
2415
|
+
return o["s-hn"] = Ki, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ha, o["s-sn"] = s.$name$ || "", l = i && i.$children$ && i.$children$[t], l && l.$tag$ === s.$tag$ && i.$elm$ && Qt(i.$elm$, !1)), o;
|
|
2416
2416
|
}, Qt = (i, e) => {
|
|
2417
2417
|
J.$flags$ |= 1;
|
|
2418
2418
|
const t = i.childNodes;
|
|
2419
2419
|
for (let n = t.length - 1; n >= 0; n--) {
|
|
2420
2420
|
const s = t[n];
|
|
2421
|
-
s["s-hn"] !==
|
|
2421
|
+
s["s-hn"] !== Ki && s["s-ol"] && (ya(s).insertBefore(s, ys(s)), s["s-ol"].remove(), s["s-ol"] = void 0, ms = !0), e && Qt(s, e);
|
|
2422
2422
|
}
|
|
2423
2423
|
J.$flags$ &= -2;
|
|
2424
2424
|
}, va = (i, e, t, n, s, r) => {
|
|
2425
2425
|
let o = i["s-cr"] && i["s-cr"].parentNode || i, a;
|
|
2426
|
-
for (o.shadowRoot && o.tagName ===
|
|
2427
|
-
n[s] && (a =
|
|
2426
|
+
for (o.shadowRoot && o.tagName === Ki && (o = o.shadowRoot); s <= r; ++s)
|
|
2427
|
+
n[s] && (a = Pi(null, t, s, i), a && (n[s].$elm$ = a, o.insertBefore(a, ys(e))));
|
|
2428
2428
|
}, ba = (i, e, t, n, s) => {
|
|
2429
2429
|
for (; e <= t; ++e)
|
|
2430
|
-
(n = i[e]) && (s = n.$elm$, xa(n),
|
|
2431
|
-
},
|
|
2430
|
+
(n = i[e]) && (s = n.$elm$, xa(n), Li = !0, s["s-ol"] ? s["s-ol"].remove() : Qt(s, !0), s.remove());
|
|
2431
|
+
}, fu = (i, e, t, n) => {
|
|
2432
2432
|
let s = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], u = e[l], p = n.length - 1, d = n[0], g = n[p], v, m;
|
|
2433
2433
|
for (; s <= l && r <= p; )
|
|
2434
2434
|
if (c == null)
|
|
@@ -2439,13 +2439,13 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2439
2439
|
d = n[++r];
|
|
2440
2440
|
else if (g == null)
|
|
2441
2441
|
g = n[--p];
|
|
2442
|
-
else if (
|
|
2442
|
+
else if (bi(c, d))
|
|
2443
2443
|
vt(c, d), c = e[++s], d = n[++r];
|
|
2444
|
-
else if (
|
|
2444
|
+
else if (bi(u, g))
|
|
2445
2445
|
vt(u, g), u = e[--l], g = n[--p];
|
|
2446
|
-
else if (
|
|
2446
|
+
else if (bi(c, g))
|
|
2447
2447
|
(c.$tag$ === "slot" || g.$tag$ === "slot") && Qt(c.$elm$.parentNode, !1), vt(c, g), i.insertBefore(c.$elm$, u.$elm$.nextSibling), c = e[++s], g = n[--p];
|
|
2448
|
-
else if (
|
|
2448
|
+
else if (bi(u, d))
|
|
2449
2449
|
(c.$tag$ === "slot" || g.$tag$ === "slot") && Qt(u.$elm$.parentNode, !1), vt(u, d), i.insertBefore(u.$elm$, c.$elm$), u = e[--l], d = n[++r];
|
|
2450
2450
|
else {
|
|
2451
2451
|
for (o = -1, a = s; a <= l; ++a)
|
|
@@ -2453,13 +2453,13 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2453
2453
|
o = a;
|
|
2454
2454
|
break;
|
|
2455
2455
|
}
|
|
2456
|
-
o >= 0 ? (m = e[o], m.$tag$ !== d.$tag$ ? v =
|
|
2456
|
+
o >= 0 ? (m = e[o], m.$tag$ !== d.$tag$ ? v = Pi(e && e[r], t, o, i) : (vt(m, d), e[o] = void 0, v = m.$elm$), d = n[++r]) : (v = Pi(e && e[r], t, r, i), d = n[++r]), v && ya(c.$elm$).insertBefore(v, ys(c.$elm$));
|
|
2457
2457
|
}
|
|
2458
2458
|
s > l ? va(i, n[p + 1] == null ? null : n[p + 1].$elm$, t, n, r, p) : r > p && ba(e, s, l);
|
|
2459
|
-
},
|
|
2459
|
+
}, bi = (i, e) => i.$tag$ === e.$tag$ ? i.$tag$ === "slot" ? i.$name$ === e.$name$ : i.$key$ === e.$key$ : !1, ys = (i) => i && i["s-ol"] || i, ya = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode, vt = (i, e) => {
|
|
2460
2460
|
const t = e.$elm$ = i.$elm$, n = i.$children$, s = e.$children$, r = e.$tag$, o = e.$text$;
|
|
2461
2461
|
let a;
|
|
2462
|
-
o === null ? (se = r === "svg" ? !0 : r === "foreignObject" ? !1 : se, r === "slot" || ma(i, e, se), n !== null && s !== null ?
|
|
2462
|
+
o === null ? (se = r === "svg" ? !0 : r === "foreignObject" ? !1 : se, r === "slot" || ma(i, e, se), n !== null && s !== null ? fu(t, n, e, s) : s !== null ? (i.$text$ !== null && (t.textContent = ""), va(t, null, e, s, 0, s.length - 1)) : n !== null && ba(n, 0, n.length - 1), se && r === "svg" && (se = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : i.$text$ !== o && (t.data = o);
|
|
2463
2463
|
}, wa = (i) => {
|
|
2464
2464
|
let e = i.childNodes, t, n, s, r, o, a;
|
|
2465
2465
|
for (n = 0, s = e.length; n < s; n++)
|
|
@@ -2483,7 +2483,7 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2483
2483
|
for (; a < c; a++) {
|
|
2484
2484
|
if (e = l[a], e["s-sr"] && (t = e["s-cr"]) && t.parentNode)
|
|
2485
2485
|
for (n = t.parentNode.childNodes, s = e["s-sn"], o = n.length - 1; o >= 0; o--)
|
|
2486
|
-
t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (no(t, s) ? (r = de.find((u) => u.$nodeToRelocate$ === t),
|
|
2486
|
+
t = n[o], !t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && (no(t, s) ? (r = de.find((u) => u.$nodeToRelocate$ === t), Li = !0, t["s-sn"] = t["s-sn"] || s, r ? r.$slotRefNode$ = e : de.push({
|
|
2487
2487
|
$slotRefNode$: e,
|
|
2488
2488
|
$nodeToRelocate$: t
|
|
2489
2489
|
}), t["s-sr"] && de.map((u) => {
|
|
@@ -2495,9 +2495,9 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2495
2495
|
}
|
|
2496
2496
|
}, no = (i, e) => i.nodeType === 1 ? i.getAttribute("slot") === null && e === "" || i.getAttribute("slot") === e : i["s-sn"] === e ? !0 : e === "", xa = (i) => {
|
|
2497
2497
|
i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(xa);
|
|
2498
|
-
},
|
|
2499
|
-
const t = i.$hostElement$, n = i.$cmpMeta$, s = i.$vnode$ ||
|
|
2500
|
-
|
|
2498
|
+
}, gu = (i, e) => {
|
|
2499
|
+
const t = i.$hostElement$, n = i.$cmpMeta$, s = i.$vnode$ || Ii(null, null), r = uu(e) ? e : wt(null, null, e);
|
|
2500
|
+
Ki = t.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = s.$elm$ = t.shadowRoot || t, mt = t["s-sc"], ha = t["s-cr"], da = (n.$flags$ & 1) !== 0, Li = !1, vt(s, r);
|
|
2501
2501
|
{
|
|
2502
2502
|
if (J.$flags$ |= 1, ms) {
|
|
2503
2503
|
$a(r.$elm$);
|
|
@@ -2515,39 +2515,39 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2515
2515
|
} else
|
|
2516
2516
|
a.nodeType === 1 && (a.hidden = !0);
|
|
2517
2517
|
}
|
|
2518
|
-
|
|
2518
|
+
Li && wa(r.$elm$), J.$flags$ &= -2, de.length = 0;
|
|
2519
2519
|
}
|
|
2520
|
-
},
|
|
2521
|
-
const n =
|
|
2520
|
+
}, mu = (i) => i, vu = (i, e, t) => {
|
|
2521
|
+
const n = mu(i);
|
|
2522
2522
|
return {
|
|
2523
|
-
emit: (s) =>
|
|
2523
|
+
emit: (s) => bu(n, e, {
|
|
2524
2524
|
bubbles: !0,
|
|
2525
2525
|
composed: !0,
|
|
2526
2526
|
cancelable: !0,
|
|
2527
2527
|
detail: s
|
|
2528
2528
|
})
|
|
2529
2529
|
};
|
|
2530
|
-
},
|
|
2530
|
+
}, bu = (i, e, t) => {
|
|
2531
2531
|
const n = J.ce(e, t);
|
|
2532
2532
|
return i.dispatchEvent(n), n;
|
|
2533
|
-
},
|
|
2534
|
-
}, ka = (i, e) => (i.$flags$ |= 16,
|
|
2533
|
+
}, yu = (i, e) => {
|
|
2534
|
+
}, ka = (i, e) => (i.$flags$ |= 16, yu(i, i.$ancestorComponent$), Du(() => wu(i, e))), wu = (i, e) => {
|
|
2535
2535
|
const t = i.$hostElement$, n = nt("scheduleUpdate", i.$cmpMeta$.$tagName$), s = t;
|
|
2536
2536
|
let r;
|
|
2537
|
-
return e ? r = $t(s, "componentWillLoad") : r = $t(s, "componentWillUpdate"), r = so(r, () => $t(s, "componentWillRender")), n(), so(r, () =>
|
|
2538
|
-
},
|
|
2537
|
+
return e ? r = $t(s, "componentWillLoad") : r = $t(s, "componentWillUpdate"), r = so(r, () => $t(s, "componentWillRender")), n(), so(r, () => $u(i, s, e));
|
|
2538
|
+
}, $u = async (i, e, t) => {
|
|
2539
2539
|
const n = i.$hostElement$, s = nt("update", i.$cmpMeta$.$tagName$);
|
|
2540
|
-
n["s-rc"], t &&
|
|
2540
|
+
n["s-rc"], t && ru(i);
|
|
2541
2541
|
const r = nt("render", i.$cmpMeta$.$tagName$);
|
|
2542
|
-
|
|
2543
|
-
},
|
|
2542
|
+
xu(i, e, n), r(), s(), ku(i);
|
|
2543
|
+
}, xu = (i, e, t) => {
|
|
2544
2544
|
try {
|
|
2545
|
-
Qr = e, e = e.render && e.render(), i.$flags$ &= -17, i.$flags$ |= 2, (gt.hasRenderFn || gt.reflect) && (gt.vdomRender || gt.reflect) && (gt.hydrateServerSide ||
|
|
2545
|
+
Qr = e, e = e.render && e.render(), i.$flags$ &= -17, i.$flags$ |= 2, (gt.hasRenderFn || gt.reflect) && (gt.vdomRender || gt.reflect) && (gt.hydrateServerSide || gu(i, e));
|
|
2546
2546
|
} catch (a) {
|
|
2547
|
-
|
|
2547
|
+
ri(a, i.$hostElement$);
|
|
2548
2548
|
}
|
|
2549
2549
|
return Qr = null, null;
|
|
2550
|
-
},
|
|
2550
|
+
}, ku = (i) => {
|
|
2551
2551
|
const e = i.$cmpMeta$.$tagName$, t = i.$hostElement$, n = nt("postUpdate", e), s = t;
|
|
2552
2552
|
i.$ancestorComponent$, $t(s, "componentDidRender"), i.$flags$ & 64 ? ($t(s, "componentDidUpdate"), n()) : (i.$flags$ |= 64, $t(s, "componentDidLoad"), n());
|
|
2553
2553
|
}, $t = (i, e, t) => {
|
|
@@ -2555,11 +2555,11 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2555
2555
|
try {
|
|
2556
2556
|
return i[e](t);
|
|
2557
2557
|
} catch (n) {
|
|
2558
|
-
|
|
2558
|
+
ri(n);
|
|
2559
2559
|
}
|
|
2560
|
-
}, so = (i, e) => i && i.then ? i.then(e) : e(),
|
|
2560
|
+
}, so = (i, e) => i && i.then ? i.then(e) : e(), Su = (i, e) => i != null && !vs(i) ? e & 4 ? i === "false" ? !1 : i === "" || !!i : e & 2 ? parseFloat(i) : e & 1 ? String(i) : i : i, Cu = (i, e) => Ji(i).$instanceValues$.get(e), _u = (i, e, t, n) => {
|
|
2561
2561
|
const s = Ji(i), r = i, o = s.$instanceValues$.get(e), a = s.$flags$, l = r;
|
|
2562
|
-
t =
|
|
2562
|
+
t = Su(t, n.$members$[e][0]);
|
|
2563
2563
|
const c = Number.isNaN(o) && Number.isNaN(t);
|
|
2564
2564
|
if (t !== o && !c) {
|
|
2565
2565
|
s.$instanceValues$.set(e, t);
|
|
@@ -2570,7 +2570,7 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2570
2570
|
try {
|
|
2571
2571
|
l[d](t, o, e);
|
|
2572
2572
|
} catch (g) {
|
|
2573
|
-
|
|
2573
|
+
ri(g, r);
|
|
2574
2574
|
}
|
|
2575
2575
|
});
|
|
2576
2576
|
}
|
|
@@ -2581,17 +2581,17 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2581
2581
|
}
|
|
2582
2582
|
}
|
|
2583
2583
|
}
|
|
2584
|
-
},
|
|
2584
|
+
}, Eu = (i, e, t) => {
|
|
2585
2585
|
if (e.$members$) {
|
|
2586
2586
|
i.watchers && (e.$watchers$ = i.watchers);
|
|
2587
2587
|
const n = Object.entries(e.$members$), s = i.prototype;
|
|
2588
2588
|
n.map(([r, [o]]) => {
|
|
2589
2589
|
(o & 31 || o & 32) && Object.defineProperty(s, r, {
|
|
2590
2590
|
get() {
|
|
2591
|
-
return
|
|
2591
|
+
return Cu(this, r);
|
|
2592
2592
|
},
|
|
2593
2593
|
set(a) {
|
|
2594
|
-
|
|
2594
|
+
_u(this, r, a, e);
|
|
2595
2595
|
},
|
|
2596
2596
|
configurable: !0,
|
|
2597
2597
|
enumerable: !0
|
|
@@ -2618,32 +2618,32 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2618
2618
|
}
|
|
2619
2619
|
}
|
|
2620
2620
|
return i;
|
|
2621
|
-
},
|
|
2621
|
+
}, Au = async (i, e, t, n, s) => {
|
|
2622
2622
|
if ((e.$flags$ & 32) === 0 && (s = i.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), s.style)) {
|
|
2623
2623
|
let o = s.style;
|
|
2624
|
-
typeof o != "string" && (o = o[e.$modeName$ =
|
|
2624
|
+
typeof o != "string" && (o = o[e.$modeName$ = ou(i)]);
|
|
2625
2625
|
const a = ga(t, e.$modeName$);
|
|
2626
|
-
if (!
|
|
2626
|
+
if (!Mi.has(a)) {
|
|
2627
2627
|
const l = nt("registerStyles", t.$tagName$);
|
|
2628
|
-
|
|
2628
|
+
nu(a, o, !!(t.$flags$ & 1)), l();
|
|
2629
2629
|
}
|
|
2630
2630
|
}
|
|
2631
2631
|
e.$ancestorComponent$, ka(e, !0);
|
|
2632
|
+
}, Tu = (i) => {
|
|
2632
2633
|
}, Ou = (i) => {
|
|
2633
|
-
}, Ru = (i) => {
|
|
2634
2634
|
if ((J.$flags$ & 1) === 0) {
|
|
2635
2635
|
const e = Ji(i), t = e.$cmpMeta$, n = nt("connectedCallback", t.$tagName$);
|
|
2636
|
-
e.$flags$ & 1 ? (fa(i, e, t.$listeners$),
|
|
2636
|
+
e.$flags$ & 1 ? (fa(i, e, t.$listeners$), Tu(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && Ru(i), t.$members$ && Object.entries(t.$members$).map(([s, [r]]) => {
|
|
2637
2637
|
if (r & 31 && i.hasOwnProperty(s)) {
|
|
2638
2638
|
const o = i[s];
|
|
2639
2639
|
delete i[s], i[s] = o;
|
|
2640
2640
|
}
|
|
2641
|
-
}),
|
|
2641
|
+
}), Au(i, e, t)), n();
|
|
2642
2642
|
}
|
|
2643
|
-
},
|
|
2643
|
+
}, Ru = (i) => {
|
|
2644
2644
|
const e = i["s-cr"] = Se.createComment("");
|
|
2645
2645
|
e["s-cn"] = !0, i.insertBefore(e, i.firstChild);
|
|
2646
|
-
},
|
|
2646
|
+
}, Lu = (i) => {
|
|
2647
2647
|
if ((J.$flags$ & 1) === 0) {
|
|
2648
2648
|
const e = Ji(i);
|
|
2649
2649
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
|
@@ -2657,13 +2657,13 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2657
2657
|
const n = i.prototype.connectedCallback, s = i.prototype.disconnectedCallback;
|
|
2658
2658
|
return Object.assign(i.prototype, {
|
|
2659
2659
|
__registerHost() {
|
|
2660
|
-
|
|
2660
|
+
Iu(this, t);
|
|
2661
2661
|
},
|
|
2662
2662
|
connectedCallback() {
|
|
2663
|
-
|
|
2663
|
+
Ou(this), n && n.call(this);
|
|
2664
2664
|
},
|
|
2665
2665
|
disconnectedCallback() {
|
|
2666
|
-
|
|
2666
|
+
Lu(this), s && s.call(this);
|
|
2667
2667
|
},
|
|
2668
2668
|
__attachShadow() {
|
|
2669
2669
|
this.attachShadow({
|
|
@@ -2671,8 +2671,8 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2671
2671
|
delegatesFocus: !!(t.$flags$ & 16)
|
|
2672
2672
|
});
|
|
2673
2673
|
}
|
|
2674
|
-
}), i.is = t.$tagName$,
|
|
2675
|
-
}, Ca = /* @__PURE__ */ new WeakMap(), Ji = (i) => Ca.get(i),
|
|
2674
|
+
}), i.is = t.$tagName$, Eu(i, t);
|
|
2675
|
+
}, Ca = /* @__PURE__ */ new WeakMap(), Ji = (i) => Ca.get(i), Iu = (i, e) => {
|
|
2676
2676
|
const t = {
|
|
2677
2677
|
$flags$: 0,
|
|
2678
2678
|
$hostElement$: i,
|
|
@@ -2680,19 +2680,19 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2680
2680
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
2681
2681
|
};
|
|
2682
2682
|
return fa(i, t, e.$listeners$), Ca.set(i, t);
|
|
2683
|
-
}, ro = (i, e) => e in i,
|
|
2684
|
-
i.push(t), Vn || (Vn = !0, e && J.$flags$ & 4 ?
|
|
2683
|
+
}, ro = (i, e) => e in i, ri = (i, e) => (0, console.error)(i, e), Mi = /* @__PURE__ */ new Map(), Pu = [], oo = [], _a = [], Mu = (i, e) => (t) => {
|
|
2684
|
+
i.push(t), Vn || (Vn = !0, e && J.$flags$ & 4 ? Nu(Wn) : J.raf(Wn));
|
|
2685
2685
|
}, ao = (i) => {
|
|
2686
2686
|
for (let e = 0; e < i.length; e++)
|
|
2687
2687
|
try {
|
|
2688
2688
|
i[e](performance.now());
|
|
2689
2689
|
} catch (t) {
|
|
2690
|
-
|
|
2690
|
+
ri(t);
|
|
2691
2691
|
}
|
|
2692
2692
|
i.length = 0;
|
|
2693
2693
|
}, Wn = () => {
|
|
2694
2694
|
ao(oo), ao(_a), (Vn = oo.length > 0) && J.raf(Wn);
|
|
2695
|
-
},
|
|
2695
|
+
}, Nu = (i) => Xc().then(i), Du = /* @__PURE__ */ Mu(_a, !0), Uu = (i = {}) => {
|
|
2696
2696
|
const { content: e = "", title: t, attributes: n = [] } = i;
|
|
2697
2697
|
let s = "", r = [
|
|
2698
2698
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
@@ -2700,27 +2700,27 @@ const Ki = typeof window < "u" ? window : {}, Se = Ki.document || { head: {} },
|
|
|
2700
2700
|
...n
|
|
2701
2701
|
];
|
|
2702
2702
|
return t && (s = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${s}${e}</svg>`;
|
|
2703
|
-
},
|
|
2704
|
-
function
|
|
2703
|
+
}, zu = (i) => i.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
|
2704
|
+
function Fu(i) {
|
|
2705
2705
|
return `${i.getFullYear()}.${i.getMonth() + 1}`;
|
|
2706
2706
|
}
|
|
2707
|
-
class
|
|
2707
|
+
class Hu {
|
|
2708
2708
|
constructor(e) {
|
|
2709
|
-
this.voca_component = e, this.voca_added =
|
|
2709
|
+
this.voca_component = e, this.voca_added = Fu(/* @__PURE__ */ new Date());
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
|
-
const
|
|
2712
|
+
const ju = "telia-vst{display:none}", Bu = /* @__PURE__ */ Sa(class extends pa {
|
|
2713
2713
|
constructor() {
|
|
2714
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
|
2714
|
+
super(), this.__registerHost(), this.vocaInternalUStats = vu(this, "vocaInternalUStats");
|
|
2715
2715
|
}
|
|
2716
2716
|
connectedCallback() {
|
|
2717
|
-
this.vocaInternalUStats.emit(new
|
|
2717
|
+
this.vocaInternalUStats.emit(new Hu(this.dataTrackingId));
|
|
2718
2718
|
}
|
|
2719
2719
|
render() {
|
|
2720
2720
|
return wt(bs, null);
|
|
2721
2721
|
}
|
|
2722
2722
|
static get style() {
|
|
2723
|
-
return
|
|
2723
|
+
return ju;
|
|
2724
2724
|
}
|
|
2725
2725
|
}, [0, "telia-vst", {
|
|
2726
2726
|
dataTrackingId: [1, "data-tracking-id"]
|
|
@@ -2731,7 +2731,7 @@ function Ea() {
|
|
|
2731
2731
|
["telia-vst"].forEach((e) => {
|
|
2732
2732
|
switch (e) {
|
|
2733
2733
|
case "telia-vst":
|
|
2734
|
-
customElements.get(e) || customElements.define(e,
|
|
2734
|
+
customElements.get(e) || customElements.define(e, Bu);
|
|
2735
2735
|
break;
|
|
2736
2736
|
}
|
|
2737
2737
|
});
|
|
@@ -2740,14 +2740,14 @@ Ea();
|
|
|
2740
2740
|
function Gn() {
|
|
2741
2741
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
|
2742
2742
|
}
|
|
2743
|
-
function
|
|
2743
|
+
function qu() {
|
|
2744
2744
|
if (typeof Gn().vocadsIcons !== void 0)
|
|
2745
2745
|
return Gn().vocadsIcons;
|
|
2746
2746
|
}
|
|
2747
|
-
function
|
|
2747
|
+
function Vu() {
|
|
2748
2748
|
return Gn().vocadsIconsRegistered;
|
|
2749
2749
|
}
|
|
2750
|
-
const
|
|
2750
|
+
const Wu = ".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))}", Gu = /* @__PURE__ */ Sa(class extends pa {
|
|
2751
2751
|
constructor() {
|
|
2752
2752
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
|
2753
2753
|
}
|
|
@@ -2759,8 +2759,8 @@ const Gu = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
2759
2759
|
getSvgString() {
|
|
2760
2760
|
if (this.svg)
|
|
2761
2761
|
return this.svg;
|
|
2762
|
-
if (
|
|
2763
|
-
const i =
|
|
2762
|
+
if (Vu() && this.name) {
|
|
2763
|
+
const i = qu();
|
|
2764
2764
|
return i[this.name] ? i[this.name].svg : "";
|
|
2765
2765
|
}
|
|
2766
2766
|
return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
|
|
@@ -2771,15 +2771,15 @@ const Gu = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
2771
2771
|
...e,
|
|
2772
2772
|
{ name: "aria-hidden", value: "true" }
|
|
2773
2773
|
];
|
|
2774
|
-
const t =
|
|
2775
|
-
content:
|
|
2774
|
+
const t = Uu({
|
|
2775
|
+
content: zu(i),
|
|
2776
2776
|
attributes: e,
|
|
2777
2777
|
title: this.allyTitle
|
|
2778
2778
|
});
|
|
2779
2779
|
return wt(bs, { class: `telia-icon telia-icon--${this.size}` }, wt("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), wt("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
2780
2780
|
}
|
|
2781
2781
|
static get style() {
|
|
2782
|
-
return
|
|
2782
|
+
return Wu;
|
|
2783
2783
|
}
|
|
2784
2784
|
}, [0, "telia-icon", {
|
|
2785
2785
|
name: [1],
|
|
@@ -2788,13 +2788,13 @@ const Gu = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
2788
2788
|
allyTitle: [1, "ally-title"],
|
|
2789
2789
|
dataTestid: [1, "data-testid"]
|
|
2790
2790
|
}]);
|
|
2791
|
-
function
|
|
2791
|
+
function Zu() {
|
|
2792
2792
|
if (typeof customElements > "u")
|
|
2793
2793
|
return;
|
|
2794
2794
|
["telia-icon", "telia-vst"].forEach((e) => {
|
|
2795
2795
|
switch (e) {
|
|
2796
2796
|
case "telia-icon":
|
|
2797
|
-
customElements.get(e) || customElements.define(e,
|
|
2797
|
+
customElements.get(e) || customElements.define(e, Gu);
|
|
2798
2798
|
break;
|
|
2799
2799
|
case "telia-vst":
|
|
2800
2800
|
customElements.get(e) || Ea();
|
|
@@ -2802,13 +2802,13 @@ function Yu() {
|
|
|
2802
2802
|
}
|
|
2803
2803
|
});
|
|
2804
2804
|
}
|
|
2805
|
-
|
|
2805
|
+
Zu();
|
|
2806
2806
|
/**
|
|
2807
2807
|
* @license
|
|
2808
2808
|
* Copyright 2017 Google LLC
|
|
2809
2809
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2810
2810
|
*/
|
|
2811
|
-
const
|
|
2811
|
+
const Yu = { attribute: !0, type: String, converter: Oi, reflect: !1, hasChanged: ps }, Qu = (i = Yu, e, t) => {
|
|
2812
2812
|
const { kind: n, metadata: s } = t;
|
|
2813
2813
|
let r = globalThis.litPropertyMetadata.get(s);
|
|
2814
2814
|
if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), n === "setter" && ((i = Object.create(i)).wrapped = !0), r.set(t.name, i), n === "accessor") {
|
|
@@ -2830,7 +2830,7 @@ const Qu = { attribute: !0, type: String, converter: Ri, reflect: !1, hasChanged
|
|
|
2830
2830
|
throw Error("Unsupported decorator location: " + n);
|
|
2831
2831
|
};
|
|
2832
2832
|
function k(i) {
|
|
2833
|
-
return (e, t) => typeof t == "object" ?
|
|
2833
|
+
return (e, t) => typeof t == "object" ? Qu(i, e, t) : ((n, s, r) => {
|
|
2834
2834
|
const o = s.hasOwnProperty(r);
|
|
2835
2835
|
return s.constructor.createProperty(r, n), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
|
|
2836
2836
|
})(i, e, t);
|
|
@@ -2854,7 +2854,7 @@ const Ku = (i) => i.strings === void 0;
|
|
|
2854
2854
|
* Copyright 2017 Google LLC
|
|
2855
2855
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2856
2856
|
*/
|
|
2857
|
-
const
|
|
2857
|
+
const oi = { ATTRIBUTE: 1, CHILD: 2 }, ai = (i) => (...e) => ({ _$litDirective$: i, values: e });
|
|
2858
2858
|
let en = class {
|
|
2859
2859
|
constructor(e) {
|
|
2860
2860
|
}
|
|
@@ -2882,7 +2882,7 @@ const qt = (i, e) => {
|
|
|
2882
2882
|
if (t === void 0) return !1;
|
|
2883
2883
|
for (const s of t) (n = s._$AO) == null || n.call(s, e, !1), qt(s, e);
|
|
2884
2884
|
return !0;
|
|
2885
|
-
},
|
|
2885
|
+
}, Ni = (i) => {
|
|
2886
2886
|
let e, t;
|
|
2887
2887
|
do {
|
|
2888
2888
|
if ((e = i._$AM) === void 0) break;
|
|
@@ -2893,20 +2893,20 @@ const qt = (i, e) => {
|
|
|
2893
2893
|
let t = e._$AN;
|
|
2894
2894
|
if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
|
|
2895
2895
|
else if (t.has(i)) break;
|
|
2896
|
-
t.add(i),
|
|
2896
|
+
t.add(i), eh(e);
|
|
2897
2897
|
}
|
|
2898
2898
|
};
|
|
2899
|
-
function
|
|
2900
|
-
this._$AN !== void 0 ? (
|
|
2899
|
+
function Xu(i) {
|
|
2900
|
+
this._$AN !== void 0 ? (Ni(this), this._$AM = i, Aa(this)) : this._$AM = i;
|
|
2901
2901
|
}
|
|
2902
|
-
function
|
|
2902
|
+
function Ju(i, e = !1, t = 0) {
|
|
2903
2903
|
const n = this._$AH, s = this._$AN;
|
|
2904
|
-
if (s !== void 0 && s.size !== 0) if (e) if (Array.isArray(n)) for (let r = t; r < n.length; r++) qt(n[r], !1),
|
|
2905
|
-
else n != null && (qt(n, !1),
|
|
2904
|
+
if (s !== void 0 && s.size !== 0) if (e) if (Array.isArray(n)) for (let r = t; r < n.length; r++) qt(n[r], !1), Ni(n[r]);
|
|
2905
|
+
else n != null && (qt(n, !1), Ni(n));
|
|
2906
2906
|
else qt(this, i);
|
|
2907
2907
|
}
|
|
2908
|
-
const
|
|
2909
|
-
i.type ==
|
|
2908
|
+
const eh = (i) => {
|
|
2909
|
+
i.type == oi.CHILD && (i._$AP ?? (i._$AP = Ju), i._$AQ ?? (i._$AQ = Xu));
|
|
2910
2910
|
};
|
|
2911
2911
|
let Ta = class extends en {
|
|
2912
2912
|
constructor() {
|
|
@@ -2917,7 +2917,7 @@ let Ta = class extends en {
|
|
|
2917
2917
|
}
|
|
2918
2918
|
_$AO(e, t = !0) {
|
|
2919
2919
|
var n, s;
|
|
2920
|
-
e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (s = this.disconnected) == null || s.call(this)), t && (qt(this, e),
|
|
2920
|
+
e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (s = this.disconnected) == null || s.call(this)), t && (qt(this, e), Ni(this));
|
|
2921
2921
|
}
|
|
2922
2922
|
setValue(e) {
|
|
2923
2923
|
if (Ku(this._$Ct)) this._$Ct._$AI(e, this);
|
|
@@ -2936,10 +2936,10 @@ let Ta = class extends en {
|
|
|
2936
2936
|
* Copyright 2020 Google LLC
|
|
2937
2937
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2938
2938
|
*/
|
|
2939
|
-
const $e = () => new
|
|
2940
|
-
class
|
|
2939
|
+
const $e = () => new th();
|
|
2940
|
+
class th {
|
|
2941
2941
|
}
|
|
2942
|
-
const En = /* @__PURE__ */ new WeakMap(), xe =
|
|
2942
|
+
const En = /* @__PURE__ */ new WeakMap(), xe = ai(class extends Ta {
|
|
2943
2943
|
render(i) {
|
|
2944
2944
|
return $;
|
|
2945
2945
|
}
|
|
@@ -2971,10 +2971,10 @@ const En = /* @__PURE__ */ new WeakMap(), xe = li(class extends Ta {
|
|
|
2971
2971
|
* Copyright 2018 Google LLC
|
|
2972
2972
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2973
2973
|
*/
|
|
2974
|
-
const Ct =
|
|
2974
|
+
const Ct = ai(class extends en {
|
|
2975
2975
|
constructor(i) {
|
|
2976
2976
|
var e;
|
|
2977
|
-
if (super(i), i.type !==
|
|
2977
|
+
if (super(i), i.type !== oi.ATTRIBUTE || i.name !== "class" || ((e = i.strings) == null ? void 0 : e.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
2978
2978
|
}
|
|
2979
2979
|
render(i) {
|
|
2980
2980
|
return " " + Object.keys(i).filter(((e) => i[e])).join(" ") + " ";
|
|
@@ -2995,10 +2995,10 @@ const Ct = li(class extends en {
|
|
|
2995
2995
|
return Me;
|
|
2996
2996
|
}
|
|
2997
2997
|
});
|
|
2998
|
-
var
|
|
2998
|
+
var ih = Object.defineProperty, nh = (i, e, t, n) => {
|
|
2999
2999
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
3000
3000
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
3001
|
-
return s &&
|
|
3001
|
+
return s && ih(e, t, s), s;
|
|
3002
3002
|
};
|
|
3003
3003
|
const Ns = class Ns extends E {
|
|
3004
3004
|
constructor() {
|
|
@@ -3031,13 +3031,13 @@ Ns.styles = [
|
|
|
3031
3031
|
}
|
|
3032
3032
|
`
|
|
3033
3033
|
];
|
|
3034
|
-
let
|
|
3035
|
-
|
|
3034
|
+
let Di = Ns;
|
|
3035
|
+
nh([
|
|
3036
3036
|
k({ attribute: !0 })
|
|
3037
|
-
],
|
|
3038
|
-
const
|
|
3037
|
+
], Di.prototype, "anchor");
|
|
3038
|
+
const sh = /* @__PURE__ */ new WeakMap();
|
|
3039
3039
|
let lo = 0;
|
|
3040
|
-
const An = /* @__PURE__ */ new Map(), co = /* @__PURE__ */ new WeakSet(), uo = () => new Promise(((i) => requestAnimationFrame(i))),
|
|
3040
|
+
const An = /* @__PURE__ */ new Map(), co = /* @__PURE__ */ new WeakSet(), uo = () => new Promise(((i) => requestAnimationFrame(i))), rh = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], oh = [{ opacity: 0 }], ho = [{ opacity: 0 }, { opacity: 1 }], po = (i, e) => {
|
|
3041
3041
|
const t = i - e;
|
|
3042
3042
|
return t === 0 ? void 0 : t;
|
|
3043
3043
|
}, fo = (i, e) => {
|
|
@@ -3059,10 +3059,10 @@ const An = /* @__PURE__ */ new Map(), co = /* @__PURE__ */ new WeakSet(), uo = (
|
|
|
3059
3059
|
e === 0 && (e = 1, t = { height: "1px" });
|
|
3060
3060
|
const n = fo(i, e);
|
|
3061
3061
|
return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
|
|
3062
|
-
} },
|
|
3063
|
-
class
|
|
3062
|
+
} }, ah = { duration: 333, easing: "ease-in-out" }, lh = ["left", "top", "width", "height", "opacity", "color", "background"], go = /* @__PURE__ */ new WeakMap();
|
|
3063
|
+
class ch extends Ta {
|
|
3064
3064
|
constructor(e) {
|
|
3065
|
-
if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type ===
|
|
3065
|
+
if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === oi.CHILD) throw Error("The `animate` directive must be used in attribute position.");
|
|
3066
3066
|
this.createFinished();
|
|
3067
3067
|
}
|
|
3068
3068
|
createFinished() {
|
|
@@ -3079,7 +3079,7 @@ class uh extends Ta {
|
|
|
3079
3079
|
return $;
|
|
3080
3080
|
}
|
|
3081
3081
|
getController() {
|
|
3082
|
-
return
|
|
3082
|
+
return sh.get(this.u);
|
|
3083
3083
|
}
|
|
3084
3084
|
isDisabled() {
|
|
3085
3085
|
var e;
|
|
@@ -3093,7 +3093,7 @@ class uh extends Ta {
|
|
|
3093
3093
|
p(e) {
|
|
3094
3094
|
e = e ?? {};
|
|
3095
3095
|
const t = this.getController();
|
|
3096
|
-
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties =
|
|
3096
|
+
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = lh), this.options = e;
|
|
3097
3097
|
}
|
|
3098
3098
|
m() {
|
|
3099
3099
|
const e = {}, t = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
|
|
@@ -3182,7 +3182,7 @@ class uh extends Ta {
|
|
|
3182
3182
|
})), e;
|
|
3183
3183
|
}
|
|
3184
3184
|
j(e, t = this.O()) {
|
|
3185
|
-
const n = { ...
|
|
3185
|
+
const n = { ...ah };
|
|
3186
3186
|
return t.forEach(((s) => Object.assign(n, s.options.keyframeOptions))), Object.assign(n, e), n;
|
|
3187
3187
|
}
|
|
3188
3188
|
N(e, t, n) {
|
|
@@ -3231,7 +3231,7 @@ class uh extends Ta {
|
|
|
3231
3231
|
this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
|
|
3232
3232
|
}
|
|
3233
3233
|
}
|
|
3234
|
-
const Zn =
|
|
3234
|
+
const Zn = ai(ch), Ae = (i, e, t) => {
|
|
3235
3235
|
i && t.style.setProperty(e, i);
|
|
3236
3236
|
}, Oa = (i, e) => {
|
|
3237
3237
|
var t, n, s, r, o, a, l, c, u;
|
|
@@ -3265,10 +3265,10 @@ const Zn = li(uh), Ae = (i, e, t) => {
|
|
|
3265
3265
|
e
|
|
3266
3266
|
), Ae((u = i.colors) == null ? void 0 : u.focusColor, "--focus-color", e);
|
|
3267
3267
|
};
|
|
3268
|
-
var
|
|
3268
|
+
var uh = Object.defineProperty, li = (i, e, t, n) => {
|
|
3269
3269
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
3270
3270
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
3271
|
-
return s &&
|
|
3271
|
+
return s && uh(e, t, s), s;
|
|
3272
3272
|
};
|
|
3273
3273
|
const Ds = class Ds extends E {
|
|
3274
3274
|
constructor() {
|
|
@@ -3317,7 +3317,7 @@ const Ds = class Ds extends E {
|
|
|
3317
3317
|
const n = (c = this.application) == null ? void 0 : c.triggerIcon;
|
|
3318
3318
|
if (!n)
|
|
3319
3319
|
return $;
|
|
3320
|
-
const s = async (u) =>
|
|
3320
|
+
const s = async (u) => Qc, { type: r, content: o } = n;
|
|
3321
3321
|
switch (r) {
|
|
3322
3322
|
case "Telia": {
|
|
3323
3323
|
const u = await s();
|
|
@@ -3361,7 +3361,7 @@ const Ds = class Ds extends E {
|
|
|
3361
3361
|
@click=${this.toggleActive}
|
|
3362
3362
|
${Zn({
|
|
3363
3363
|
keyframeOptions: {},
|
|
3364
|
-
in:
|
|
3364
|
+
in: rh,
|
|
3365
3365
|
stabilizeOut: !0,
|
|
3366
3366
|
skipInitial: !1
|
|
3367
3367
|
})}
|
|
@@ -3545,25 +3545,25 @@ Ds.styles = [
|
|
|
3545
3545
|
`
|
|
3546
3546
|
];
|
|
3547
3547
|
let Ne = Ds;
|
|
3548
|
-
|
|
3548
|
+
li([
|
|
3549
3549
|
k({ attribute: !1 })
|
|
3550
3550
|
], Ne.prototype, "application");
|
|
3551
|
-
|
|
3551
|
+
li([
|
|
3552
3552
|
T()
|
|
3553
3553
|
], Ne.prototype, "active");
|
|
3554
|
-
|
|
3554
|
+
li([
|
|
3555
3555
|
T()
|
|
3556
3556
|
], Ne.prototype, "triggerVisible");
|
|
3557
|
-
|
|
3557
|
+
li([
|
|
3558
3558
|
T()
|
|
3559
3559
|
], Ne.prototype, "loaded");
|
|
3560
|
-
|
|
3560
|
+
li([
|
|
3561
3561
|
T()
|
|
3562
3562
|
], Ne.prototype, "icon");
|
|
3563
|
-
var
|
|
3563
|
+
var hh = Object.defineProperty, Ke = (i, e, t, n) => {
|
|
3564
3564
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
3565
3565
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
3566
|
-
return s &&
|
|
3566
|
+
return s && hh(e, t, s), s;
|
|
3567
3567
|
};
|
|
3568
3568
|
const Ra = (i) => {
|
|
3569
3569
|
const t = class t extends i {
|
|
@@ -3606,19 +3606,19 @@ const Ra = (i) => {
|
|
|
3606
3606
|
`
|
|
3607
3607
|
];
|
|
3608
3608
|
let e = t;
|
|
3609
|
-
return
|
|
3609
|
+
return Ke([
|
|
3610
3610
|
k()
|
|
3611
|
-
], e.prototype, "properties"),
|
|
3611
|
+
], e.prototype, "properties"), Ke([
|
|
3612
3612
|
k()
|
|
3613
|
-
], e.prototype, "context"),
|
|
3613
|
+
], e.prototype, "context"), Ke([
|
|
3614
3614
|
k()
|
|
3615
|
-
], e.prototype, "layout"),
|
|
3615
|
+
], e.prototype, "layout"), Ke([
|
|
3616
3616
|
k()
|
|
3617
|
-
], e.prototype, "name"),
|
|
3617
|
+
], e.prototype, "name"), Ke([
|
|
3618
3618
|
k()
|
|
3619
|
-
], e.prototype, "type"),
|
|
3619
|
+
], e.prototype, "type"), Ke([
|
|
3620
3620
|
k({ attribute: !1 })
|
|
3621
|
-
], e.prototype, "application"),
|
|
3621
|
+
], e.prototype, "application"), Ke([
|
|
3622
3622
|
k({ attribute: !1 })
|
|
3623
3623
|
], e.prototype, "parent"), e;
|
|
3624
3624
|
}, Us = class Us extends Ra(E) {
|
|
@@ -3639,7 +3639,7 @@ let Yn = Us;
|
|
|
3639
3639
|
* Copyright 2021 Google LLC
|
|
3640
3640
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3641
3641
|
*/
|
|
3642
|
-
function*
|
|
3642
|
+
function* dh(i, e) {
|
|
3643
3643
|
if (i !== void 0) {
|
|
3644
3644
|
let t = 0;
|
|
3645
3645
|
for (const n of i) yield e(n, t++);
|
|
@@ -3691,7 +3691,7 @@ let mo = class {
|
|
|
3691
3691
|
* Copyright 2021 Google LLC
|
|
3692
3692
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3693
3693
|
*/
|
|
3694
|
-
class
|
|
3694
|
+
class ph {
|
|
3695
3695
|
get value() {
|
|
3696
3696
|
return this.o;
|
|
3697
3697
|
}
|
|
@@ -3724,11 +3724,11 @@ class fh {
|
|
|
3724
3724
|
* Copyright 2021 Google LLC
|
|
3725
3725
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3726
3726
|
*/
|
|
3727
|
-
let
|
|
3727
|
+
let fh = class extends Event {
|
|
3728
3728
|
constructor(e, t) {
|
|
3729
3729
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = e, this.contextTarget = t;
|
|
3730
3730
|
}
|
|
3731
|
-
}, vo = class extends
|
|
3731
|
+
}, vo = class extends ph {
|
|
3732
3732
|
constructor(e, t, n) {
|
|
3733
3733
|
var s, r;
|
|
3734
3734
|
super(t.context !== void 0 ? t.initialValue : n), this.onContextRequest = (o) => {
|
|
@@ -3746,7 +3746,7 @@ let gh = class extends Event {
|
|
|
3746
3746
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
|
3747
3747
|
}
|
|
3748
3748
|
hostConnected() {
|
|
3749
|
-
this.host.dispatchEvent(new
|
|
3749
|
+
this.host.dispatchEvent(new fh(this.context, this.host));
|
|
3750
3750
|
}
|
|
3751
3751
|
};
|
|
3752
3752
|
/**
|
|
@@ -3754,7 +3754,7 @@ let gh = class extends Event {
|
|
|
3754
3754
|
* Copyright 2017 Google LLC
|
|
3755
3755
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3756
3756
|
*/
|
|
3757
|
-
function
|
|
3757
|
+
function gh({ context: i }) {
|
|
3758
3758
|
return (e, t) => {
|
|
3759
3759
|
const n = /* @__PURE__ */ new WeakMap();
|
|
3760
3760
|
if (typeof t == "object") return { get() {
|
|
@@ -3805,10 +3805,10 @@ function ue({ context: i, subscribe: e }) {
|
|
|
3805
3805
|
}));
|
|
3806
3806
|
};
|
|
3807
3807
|
}
|
|
3808
|
-
var
|
|
3808
|
+
var mh = Object.defineProperty, Ia = (i, e, t, n) => {
|
|
3809
3809
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
3810
3810
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
3811
|
-
return s &&
|
|
3811
|
+
return s && mh(e, t, s), s;
|
|
3812
3812
|
};
|
|
3813
3813
|
const oe = "application", zs = class zs extends E {
|
|
3814
3814
|
constructor() {
|
|
@@ -3837,7 +3837,7 @@ const oe = "application", zs = class zs extends E {
|
|
|
3837
3837
|
render() {
|
|
3838
3838
|
var t, n, s;
|
|
3839
3839
|
return ((s = (n = (t = this.application.settings) == null ? void 0 : t.agentConfig) == null ? void 0 : n.live) == null ? void 0 : s.isThirdPartyWidget) ?? !1 ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === ws.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"), w`<div class="widget-container" ${xe(this.wrapperRef)}>
|
|
3840
|
-
${
|
|
3840
|
+
${dh(this.nodes, (r) => r)}
|
|
3841
3841
|
</div>`;
|
|
3842
3842
|
}
|
|
3843
3843
|
};
|
|
@@ -4007,18 +4007,18 @@ zs.styles = O`
|
|
|
4007
4007
|
animation: none;
|
|
4008
4008
|
}
|
|
4009
4009
|
`;
|
|
4010
|
-
let
|
|
4010
|
+
let Kt = zs;
|
|
4011
4011
|
Ia([
|
|
4012
4012
|
k({ attribute: !0 })
|
|
4013
|
-
],
|
|
4013
|
+
], Kt.prototype, "fullscreen");
|
|
4014
4014
|
Ia([
|
|
4015
4015
|
k({ attribute: !1 }),
|
|
4016
|
-
|
|
4017
|
-
],
|
|
4018
|
-
var
|
|
4016
|
+
gh({ context: oe })
|
|
4017
|
+
], Kt.prototype, "application");
|
|
4018
|
+
var vh = Object.defineProperty, $s = (i, e, t, n) => {
|
|
4019
4019
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
4020
4020
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
4021
|
-
return s &&
|
|
4021
|
+
return s && vh(e, t, s), s;
|
|
4022
4022
|
};
|
|
4023
4023
|
const Fs = class Fs extends E {
|
|
4024
4024
|
constructor() {
|
|
@@ -4069,12 +4069,12 @@ $s([
|
|
|
4069
4069
|
$s([
|
|
4070
4070
|
T()
|
|
4071
4071
|
], _t.prototype, "status");
|
|
4072
|
-
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot",
|
|
4072
|
+
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Di);
|
|
4073
4073
|
customElements.get("ace-trigger") || customElements.define("ace-trigger", Ne);
|
|
4074
4074
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Yn);
|
|
4075
|
-
customElements.get("ace-wrapper") || customElements.define("ace-wrapper",
|
|
4075
|
+
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Kt);
|
|
4076
4076
|
customElements.get("ace-widget") || customElements.define("ace-widget", _t);
|
|
4077
|
-
class
|
|
4077
|
+
class bh {
|
|
4078
4078
|
constructor(e) {
|
|
4079
4079
|
this._message = null, this._host = e, e.addController(this);
|
|
4080
4080
|
}
|
|
@@ -4146,9 +4146,9 @@ class bo {
|
|
|
4146
4146
|
return this.component.platform.registeredProviders.get(e);
|
|
4147
4147
|
}
|
|
4148
4148
|
}
|
|
4149
|
-
class
|
|
4149
|
+
class yh {
|
|
4150
4150
|
constructor(e) {
|
|
4151
|
-
this.component = e, this.currentSession$ = new fe(null), this.sessions = [], this.storage = null,
|
|
4151
|
+
this.component = e, this.currentSession$ = new fe(null), this.sessions = [], this.storage = null, Ti(e, "handover").subscribe((t) => {
|
|
4152
4152
|
const n = this._createNewSession(
|
|
4153
4153
|
t.detail.providerKey,
|
|
4154
4154
|
t.detail.providerOptions
|
|
@@ -4244,9 +4244,9 @@ class wh {
|
|
|
4244
4244
|
return this.component.properties.providers[0];
|
|
4245
4245
|
}
|
|
4246
4246
|
}
|
|
4247
|
-
class
|
|
4247
|
+
class wh {
|
|
4248
4248
|
constructor(e, t) {
|
|
4249
|
-
this.state$ = e, this.component = t, this.entries$ = new fe([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new
|
|
4249
|
+
this.state$ = e, this.component = t, this.entries$ = new fe([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new yh(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
|
|
4250
4250
|
Pe((n) => n ? n.provider$.pipe(
|
|
4251
4251
|
Pe((s) => s ? s.isTyping() : zn(!1))
|
|
4252
4252
|
) : zn(!1))
|
|
@@ -4277,14 +4277,14 @@ class $h {
|
|
|
4277
4277
|
if (!e)
|
|
4278
4278
|
return Ie;
|
|
4279
4279
|
const t = e.removeEntryAction$.pipe(Fn(this.entries$)).pipe(
|
|
4280
|
-
|
|
4280
|
+
Ai(([s, r]) => r.filter((o) => o.id !== s.id))
|
|
4281
4281
|
), n = e.entries().pipe(
|
|
4282
|
-
|
|
4282
|
+
Ai((s) => {
|
|
4283
4283
|
const r = this.entries$.value, o = s.filter((a) => r.findIndex((l) => l.id === a.id) === -1);
|
|
4284
4284
|
return [...r, ...o];
|
|
4285
4285
|
})
|
|
4286
4286
|
);
|
|
4287
|
-
return
|
|
4287
|
+
return bc(t, n);
|
|
4288
4288
|
})
|
|
4289
4289
|
).subscribe((e) => {
|
|
4290
4290
|
this.entries$.next(e);
|
|
@@ -4295,10 +4295,10 @@ class $h {
|
|
|
4295
4295
|
(e = this.sessionService) == null || e.startSession();
|
|
4296
4296
|
}
|
|
4297
4297
|
}
|
|
4298
|
-
var
|
|
4298
|
+
var $h = Object.defineProperty, Pa = (i, e, t, n) => {
|
|
4299
4299
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
4300
4300
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
4301
|
-
return s &&
|
|
4301
|
+
return s && $h(e, t, s), s;
|
|
4302
4302
|
};
|
|
4303
4303
|
const Hs = class Hs extends E {
|
|
4304
4304
|
connectedCallback() {
|
|
@@ -4332,10 +4332,10 @@ const Hs = class Hs extends E {
|
|
|
4332
4332
|
}
|
|
4333
4333
|
_renderDeliveryStatus(e) {
|
|
4334
4334
|
return e === "delivered" ? w`<telia-icon
|
|
4335
|
-
svg=${
|
|
4335
|
+
svg=${Wc.svg}
|
|
4336
4336
|
size="sm"
|
|
4337
4337
|
></telia-icon>` : e === "failed" ? w`<telia-icon
|
|
4338
|
-
svg=${
|
|
4338
|
+
svg=${Vc.svg}
|
|
4339
4339
|
size="sm"
|
|
4340
4340
|
title="Message could not be delivered"
|
|
4341
4341
|
></telia-icon>` : w`<telia-icon svg=${la.svg} size="sm"></telia-icon>`;
|
|
@@ -4559,18 +4559,18 @@ Hs.styles = [
|
|
|
4559
4559
|
}
|
|
4560
4560
|
`
|
|
4561
4561
|
];
|
|
4562
|
-
let
|
|
4562
|
+
let Xt = Hs;
|
|
4563
4563
|
Pa([
|
|
4564
4564
|
k({ attribute: !1 })
|
|
4565
|
-
],
|
|
4565
|
+
], Xt.prototype, "entry");
|
|
4566
4566
|
Pa([
|
|
4567
4567
|
ue({ context: oe }),
|
|
4568
4568
|
k({ attribute: !1 })
|
|
4569
|
-
],
|
|
4570
|
-
var
|
|
4569
|
+
], Xt.prototype, "application");
|
|
4570
|
+
var xh = Object.defineProperty, Ma = (i, e, t, n) => {
|
|
4571
4571
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
4572
4572
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
4573
|
-
return s &&
|
|
4573
|
+
return s && xh(e, t, s), s;
|
|
4574
4574
|
};
|
|
4575
4575
|
const js = class js extends E {
|
|
4576
4576
|
constructor() {
|
|
@@ -4600,7 +4600,7 @@ const js = class js extends E {
|
|
|
4600
4600
|
${Zn({
|
|
4601
4601
|
keyframeOptions: {},
|
|
4602
4602
|
in: ho,
|
|
4603
|
-
out:
|
|
4603
|
+
out: oh,
|
|
4604
4604
|
stabilizeOut: !0,
|
|
4605
4605
|
skipInitial: !1
|
|
4606
4606
|
})}
|
|
@@ -4639,14 +4639,14 @@ Ma([
|
|
|
4639
4639
|
* Copyright 2021 Google LLC
|
|
4640
4640
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4641
4641
|
*/
|
|
4642
|
-
const
|
|
4642
|
+
const kh = (i, e, t) => {
|
|
4643
4643
|
for (const n of e) if (n[0] === i) return (0, n[1])();
|
|
4644
4644
|
return t == null ? void 0 : t();
|
|
4645
4645
|
};
|
|
4646
|
-
var
|
|
4646
|
+
var Sh = Object.defineProperty, Ch = (i, e, t, n) => {
|
|
4647
4647
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
4648
4648
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
4649
|
-
return s &&
|
|
4649
|
+
return s && Sh(e, t, s), s;
|
|
4650
4650
|
};
|
|
4651
4651
|
const Bs = class Bs extends E {
|
|
4652
4652
|
render() {
|
|
@@ -4654,7 +4654,7 @@ const Bs = class Bs extends E {
|
|
|
4654
4654
|
<div class="message-group">
|
|
4655
4655
|
${this.group.items.map(
|
|
4656
4656
|
([e, t, n]) => w`
|
|
4657
|
-
${
|
|
4657
|
+
${kh(
|
|
4658
4658
|
e,
|
|
4659
4659
|
[
|
|
4660
4660
|
["html", () => w`<message-type-html .message=${t} />`],
|
|
@@ -4693,10 +4693,10 @@ Bs.styles = [
|
|
|
4693
4693
|
}
|
|
4694
4694
|
`
|
|
4695
4695
|
];
|
|
4696
|
-
let
|
|
4697
|
-
|
|
4696
|
+
let Ui = Bs;
|
|
4697
|
+
Ch([
|
|
4698
4698
|
k({ attribute: !1 })
|
|
4699
|
-
],
|
|
4699
|
+
], Ui.prototype, "group");
|
|
4700
4700
|
const qs = class qs extends E {
|
|
4701
4701
|
render() {
|
|
4702
4702
|
return w`<div class="container">
|
|
@@ -4749,9 +4749,9 @@ let Qn = qs;
|
|
|
4749
4749
|
* Copyright 2017 Google LLC
|
|
4750
4750
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
4751
4751
|
*/
|
|
4752
|
-
class
|
|
4752
|
+
class Kn extends en {
|
|
4753
4753
|
constructor(e) {
|
|
4754
|
-
if (super(e), this.it = $, e.type !==
|
|
4754
|
+
if (super(e), this.it = $, e.type !== oi.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
|
4755
4755
|
}
|
|
4756
4756
|
render(e) {
|
|
4757
4757
|
if (e === $ || e == null) return this._t = void 0, this.it = e;
|
|
@@ -4763,20 +4763,20 @@ class Xn extends en {
|
|
|
4763
4763
|
return t.raw = t, this._t = { _$litType$: this.constructor.resultType, strings: t, values: [] };
|
|
4764
4764
|
}
|
|
4765
4765
|
}
|
|
4766
|
-
|
|
4767
|
-
const
|
|
4766
|
+
Kn.directiveName = "unsafeHTML", Kn.resultType = 1;
|
|
4767
|
+
const _h = ai(Kn);
|
|
4768
4768
|
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
|
|
4769
4769
|
const {
|
|
4770
4770
|
entries: Na,
|
|
4771
4771
|
setPrototypeOf: yo,
|
|
4772
|
-
isFrozen:
|
|
4773
|
-
getPrototypeOf:
|
|
4774
|
-
getOwnPropertyDescriptor:
|
|
4772
|
+
isFrozen: Eh,
|
|
4773
|
+
getPrototypeOf: Ah,
|
|
4774
|
+
getOwnPropertyDescriptor: Th
|
|
4775
4775
|
} = Object;
|
|
4776
4776
|
let {
|
|
4777
4777
|
freeze: ee,
|
|
4778
4778
|
seal: ae,
|
|
4779
|
-
create:
|
|
4779
|
+
create: Xn
|
|
4780
4780
|
} = Object, {
|
|
4781
4781
|
apply: Jn,
|
|
4782
4782
|
construct: es
|
|
@@ -4797,7 +4797,7 @@ es || (es = function(e) {
|
|
|
4797
4797
|
n[s - 1] = arguments[s];
|
|
4798
4798
|
return new e(...n);
|
|
4799
4799
|
});
|
|
4800
|
-
const
|
|
4800
|
+
const yi = te(Array.prototype.forEach), Oh = te(Array.prototype.lastIndexOf), wo = te(Array.prototype.pop), Mt = te(Array.prototype.push), Rh = te(Array.prototype.splice), Si = te(String.prototype.toLowerCase), On = te(String.prototype.toString), Rn = te(String.prototype.match), Nt = te(String.prototype.replace), Lh = te(String.prototype.indexOf), Ih = te(String.prototype.trim), he = te(Object.prototype.hasOwnProperty), Y = te(RegExp.prototype.test), Dt = Ph(TypeError);
|
|
4801
4801
|
function te(i) {
|
|
4802
4802
|
return function(e) {
|
|
4803
4803
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
@@ -4806,7 +4806,7 @@ function te(i) {
|
|
|
4806
4806
|
return Jn(i, e, n);
|
|
4807
4807
|
};
|
|
4808
4808
|
}
|
|
4809
|
-
function
|
|
4809
|
+
function Ph(i) {
|
|
4810
4810
|
return function() {
|
|
4811
4811
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
4812
4812
|
t[n] = arguments[n];
|
|
@@ -4814,65 +4814,65 @@ function Mh(i) {
|
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
4816
|
function x(i, e) {
|
|
4817
|
-
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
4817
|
+
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Si;
|
|
4818
4818
|
yo && yo(i, null);
|
|
4819
4819
|
let n = e.length;
|
|
4820
4820
|
for (; n--; ) {
|
|
4821
4821
|
let s = e[n];
|
|
4822
4822
|
if (typeof s == "string") {
|
|
4823
4823
|
const r = t(s);
|
|
4824
|
-
r !== s && (
|
|
4824
|
+
r !== s && (Eh(e) || (e[n] = r), s = r);
|
|
4825
4825
|
}
|
|
4826
4826
|
i[s] = !0;
|
|
4827
4827
|
}
|
|
4828
4828
|
return i;
|
|
4829
4829
|
}
|
|
4830
|
-
function
|
|
4830
|
+
function Mh(i) {
|
|
4831
4831
|
for (let e = 0; e < i.length; e++)
|
|
4832
4832
|
he(i, e) || (i[e] = null);
|
|
4833
4833
|
return i;
|
|
4834
4834
|
}
|
|
4835
4835
|
function ye(i) {
|
|
4836
|
-
const e =
|
|
4836
|
+
const e = Xn(null);
|
|
4837
4837
|
for (const [t, n] of Na(i))
|
|
4838
|
-
he(i, t) && (Array.isArray(n) ? e[t] =
|
|
4838
|
+
he(i, t) && (Array.isArray(n) ? e[t] = Mh(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = ye(n) : e[t] = n);
|
|
4839
4839
|
return e;
|
|
4840
4840
|
}
|
|
4841
4841
|
function Ut(i, e) {
|
|
4842
4842
|
for (; i !== null; ) {
|
|
4843
|
-
const n =
|
|
4843
|
+
const n = Th(i, e);
|
|
4844
4844
|
if (n) {
|
|
4845
4845
|
if (n.get)
|
|
4846
4846
|
return te(n.get);
|
|
4847
4847
|
if (typeof n.value == "function")
|
|
4848
4848
|
return te(n.value);
|
|
4849
4849
|
}
|
|
4850
|
-
i =
|
|
4850
|
+
i = Ah(i);
|
|
4851
4851
|
}
|
|
4852
4852
|
function t() {
|
|
4853
4853
|
return null;
|
|
4854
4854
|
}
|
|
4855
4855
|
return t;
|
|
4856
4856
|
}
|
|
4857
|
-
const $o = ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ln = ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), In = ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]),
|
|
4857
|
+
const $o = ee(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), Ln = ee(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), In = ee(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Nh = ee(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Pn = ee(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Dh = ee(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), xo = ee(["#text"]), ko = ee(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Mn = ee(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), So = ee(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), wi = ee(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Uh = ae(/\{\{[\w\W]*|[\w\W]*\}\}/gm), zh = ae(/<%[\w\W]*|[\w\W]*%>/gm), Fh = ae(/\$\{[\w\W]*/gm), Hh = ae(/^data-[\-\w.\u00B7-\uFFFF]+$/), jh = ae(/^aria-[\-\w]+$/), Da = ae(
|
|
4858
4858
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
4859
4859
|
// eslint-disable-line no-useless-escape
|
|
4860
|
-
),
|
|
4860
|
+
), Bh = ae(/^(?:\w+script|data):/i), qh = ae(
|
|
4861
4861
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
4862
4862
|
// eslint-disable-line no-control-regex
|
|
4863
|
-
), Ua = ae(/^html$/i),
|
|
4863
|
+
), Ua = ae(/^html$/i), Vh = ae(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
4864
4864
|
var Co = /* @__PURE__ */ Object.freeze({
|
|
4865
4865
|
__proto__: null,
|
|
4866
|
-
ARIA_ATTR:
|
|
4867
|
-
ATTR_WHITESPACE:
|
|
4868
|
-
CUSTOM_ELEMENT:
|
|
4869
|
-
DATA_ATTR:
|
|
4866
|
+
ARIA_ATTR: jh,
|
|
4867
|
+
ATTR_WHITESPACE: qh,
|
|
4868
|
+
CUSTOM_ELEMENT: Vh,
|
|
4869
|
+
DATA_ATTR: Hh,
|
|
4870
4870
|
DOCTYPE_NAME: Ua,
|
|
4871
|
-
ERB_EXPR:
|
|
4871
|
+
ERB_EXPR: zh,
|
|
4872
4872
|
IS_ALLOWED_URI: Da,
|
|
4873
|
-
IS_SCRIPT_OR_DATA:
|
|
4874
|
-
MUSTACHE_EXPR:
|
|
4875
|
-
TMPLIT_EXPR:
|
|
4873
|
+
IS_SCRIPT_OR_DATA: Bh,
|
|
4874
|
+
MUSTACHE_EXPR: Uh,
|
|
4875
|
+
TMPLIT_EXPR: Fh
|
|
4876
4876
|
});
|
|
4877
4877
|
const zt = {
|
|
4878
4878
|
element: 1,
|
|
@@ -4881,9 +4881,9 @@ const zt = {
|
|
|
4881
4881
|
progressingInstruction: 7,
|
|
4882
4882
|
comment: 8,
|
|
4883
4883
|
document: 9
|
|
4884
|
-
},
|
|
4884
|
+
}, Wh = function() {
|
|
4885
4885
|
return typeof window > "u" ? null : window;
|
|
4886
|
-
},
|
|
4886
|
+
}, Gh = function(e, t) {
|
|
4887
4887
|
if (typeof e != "object" || typeof e.createPolicy != "function")
|
|
4888
4888
|
return null;
|
|
4889
4889
|
let n = null;
|
|
@@ -4916,7 +4916,7 @@ const zt = {
|
|
|
4916
4916
|
};
|
|
4917
4917
|
};
|
|
4918
4918
|
function za() {
|
|
4919
|
-
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
4919
|
+
let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Wh();
|
|
4920
4920
|
const e = (y) => za(y);
|
|
4921
4921
|
if (e.version = "3.3.1", e.removed = [], !i || !i.document || i.document.nodeType !== zt.document || !i.Element)
|
|
4922
4922
|
return e.isSupported = !1, e;
|
|
@@ -4942,10 +4942,10 @@ function za() {
|
|
|
4942
4942
|
const {
|
|
4943
4943
|
implementation: We,
|
|
4944
4944
|
createNodeIterator: Ge,
|
|
4945
|
-
createDocumentFragment:
|
|
4946
|
-
getElementsByTagName:
|
|
4945
|
+
createDocumentFragment: il,
|
|
4946
|
+
getElementsByTagName: nl
|
|
4947
4947
|
} = t, {
|
|
4948
|
-
importNode:
|
|
4948
|
+
importNode: sl
|
|
4949
4949
|
} = n;
|
|
4950
4950
|
let Z = _o();
|
|
4951
4951
|
e.isSupported = typeof Na == "function" && typeof qe == "function" && We && We.createHTMLDocument !== void 0;
|
|
@@ -4953,19 +4953,19 @@ function za() {
|
|
|
4953
4953
|
MUSTACHE_EXPR: sn,
|
|
4954
4954
|
ERB_EXPR: rn,
|
|
4955
4955
|
TMPLIT_EXPR: on,
|
|
4956
|
-
DATA_ATTR:
|
|
4957
|
-
ARIA_ATTR:
|
|
4958
|
-
IS_SCRIPT_OR_DATA:
|
|
4956
|
+
DATA_ATTR: rl,
|
|
4957
|
+
ARIA_ATTR: ol,
|
|
4958
|
+
IS_SCRIPT_OR_DATA: al,
|
|
4959
4959
|
ATTR_WHITESPACE: rr,
|
|
4960
|
-
CUSTOM_ELEMENT:
|
|
4960
|
+
CUSTOM_ELEMENT: ll
|
|
4961
4961
|
} = Co;
|
|
4962
4962
|
let {
|
|
4963
4963
|
IS_ALLOWED_URI: or
|
|
4964
4964
|
} = Co, D = null;
|
|
4965
4965
|
const ar = x({}, [...$o, ...Ln, ...In, ...Pn, ...xo]);
|
|
4966
4966
|
let U = null;
|
|
4967
|
-
const lr = x({}, [...ko, ...Mn, ...So,
|
|
4968
|
-
let L = Object.seal(
|
|
4967
|
+
const lr = x({}, [...ko, ...Mn, ...So, ...wi]);
|
|
4968
|
+
let L = Object.seal(Xn(null, {
|
|
4969
4969
|
tagNameCheck: {
|
|
4970
4970
|
writable: !0,
|
|
4971
4971
|
configurable: !1,
|
|
@@ -4985,7 +4985,7 @@ function za() {
|
|
|
4985
4985
|
value: !1
|
|
4986
4986
|
}
|
|
4987
4987
|
})), Rt = null, an = null;
|
|
4988
|
-
const at = Object.seal(
|
|
4988
|
+
const at = Object.seal(Xn(null, {
|
|
4989
4989
|
tagCheck: {
|
|
4990
4990
|
writable: !0,
|
|
4991
4991
|
configurable: !1,
|
|
@@ -4999,45 +4999,45 @@ function za() {
|
|
|
4999
4999
|
value: null
|
|
5000
5000
|
}
|
|
5001
5001
|
}));
|
|
5002
|
-
let cr = !0, ln = !0, ur = !1, hr = !0, lt = !1,
|
|
5003
|
-
const
|
|
5002
|
+
let cr = !0, ln = !0, ur = !1, hr = !0, lt = !1, ui = !0, Ze = !1, cn = !1, un = !1, ct = !1, hi = !1, di = !1, dr = !0, pr = !1;
|
|
5003
|
+
const cl = "user-content-";
|
|
5004
5004
|
let hn = !0, Lt = !1, ut = {}, me = null;
|
|
5005
5005
|
const dn = x({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
5006
5006
|
let fr = null;
|
|
5007
5007
|
const gr = x({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
5008
5008
|
let pn = null;
|
|
5009
|
-
const mr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]),
|
|
5009
|
+
const mr = x({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), pi = "http://www.w3.org/1998/Math/MathML", fi = "http://www.w3.org/2000/svg", Ce = "http://www.w3.org/1999/xhtml";
|
|
5010
5010
|
let ht = Ce, fn = !1, gn = null;
|
|
5011
|
-
const
|
|
5012
|
-
let
|
|
5013
|
-
const
|
|
5011
|
+
const ul = x({}, [pi, fi, Ce], On);
|
|
5012
|
+
let gi = x({}, ["mi", "mo", "mn", "ms", "mtext"]), mi = x({}, ["annotation-xml"]);
|
|
5013
|
+
const hl = x({}, ["title", "style", "font", "a", "script"]);
|
|
5014
5014
|
let It = null;
|
|
5015
|
-
const
|
|
5015
|
+
const dl = ["application/xhtml+xml", "text/html"], pl = "text/html";
|
|
5016
5016
|
let P = null, dt = null;
|
|
5017
|
-
const
|
|
5017
|
+
const fl = t.createElement("form"), vr = function(h) {
|
|
5018
5018
|
return h instanceof RegExp || h instanceof Function;
|
|
5019
5019
|
}, mn = function() {
|
|
5020
5020
|
let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5021
5021
|
if (!(dt && dt === h)) {
|
|
5022
5022
|
if ((!h || typeof h != "object") && (h = {}), h = ye(h), It = // eslint-disable-next-line unicorn/prefer-includes
|
|
5023
|
-
|
|
5023
|
+
dl.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? pl : h.PARSER_MEDIA_TYPE, P = It === "application/xhtml+xml" ? On : Si, D = he(h, "ALLOWED_TAGS") ? x({}, h.ALLOWED_TAGS, P) : ar, U = he(h, "ALLOWED_ATTR") ? x({}, h.ALLOWED_ATTR, P) : lr, gn = he(h, "ALLOWED_NAMESPACES") ? x({}, h.ALLOWED_NAMESPACES, On) : ul, pn = he(h, "ADD_URI_SAFE_ATTR") ? x(ye(mr), h.ADD_URI_SAFE_ATTR, P) : mr, fr = he(h, "ADD_DATA_URI_TAGS") ? x(ye(gr), h.ADD_DATA_URI_TAGS, P) : gr, me = he(h, "FORBID_CONTENTS") ? x({}, h.FORBID_CONTENTS, P) : dn, Rt = he(h, "FORBID_TAGS") ? x({}, h.FORBID_TAGS, P) : ye({}), an = he(h, "FORBID_ATTR") ? x({}, h.FORBID_ATTR, P) : ye({}), ut = he(h, "USE_PROFILES") ? h.USE_PROFILES : !1, cr = h.ALLOW_ARIA_ATTR !== !1, ln = h.ALLOW_DATA_ATTR !== !1, ur = h.ALLOW_UNKNOWN_PROTOCOLS || !1, hr = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, lt = h.SAFE_FOR_TEMPLATES || !1, ui = h.SAFE_FOR_XML !== !1, Ze = h.WHOLE_DOCUMENT || !1, ct = h.RETURN_DOM || !1, hi = h.RETURN_DOM_FRAGMENT || !1, di = h.RETURN_TRUSTED_TYPE || !1, un = h.FORCE_BODY || !1, dr = h.SANITIZE_DOM !== !1, pr = h.SANITIZE_NAMED_PROPS || !1, hn = h.KEEP_CONTENT !== !1, Lt = h.IN_PLACE || !1, or = h.ALLOWED_URI_REGEXP || Da, ht = h.NAMESPACE || Ce, gi = h.MATHML_TEXT_INTEGRATION_POINTS || gi, mi = h.HTML_INTEGRATION_POINTS || mi, L = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && vr(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (L.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && vr(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (L.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (L.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), lt && (ln = !1), hi && (ct = !0), ut && (D = x({}, xo), U = [], ut.html === !0 && (x(D, $o), x(U, ko)), ut.svg === !0 && (x(D, Ln), x(U, Mn), x(U, wi)), ut.svgFilters === !0 && (x(D, In), x(U, Mn), x(U, wi)), ut.mathMl === !0 && (x(D, Pn), x(U, So), x(U, wi))), h.ADD_TAGS && (typeof h.ADD_TAGS == "function" ? at.tagCheck = h.ADD_TAGS : (D === ar && (D = ye(D)), x(D, h.ADD_TAGS, P))), h.ADD_ATTR && (typeof h.ADD_ATTR == "function" ? at.attributeCheck = h.ADD_ATTR : (U === lr && (U = ye(U)), x(U, h.ADD_ATTR, P))), h.ADD_URI_SAFE_ATTR && x(pn, h.ADD_URI_SAFE_ATTR, P), h.FORBID_CONTENTS && (me === dn && (me = ye(me)), x(me, h.FORBID_CONTENTS, P)), h.ADD_FORBID_CONTENTS && (me === dn && (me = ye(me)), x(me, h.ADD_FORBID_CONTENTS, P)), hn && (D["#text"] = !0), Ze && x(D, ["html", "head", "body"]), D.table && (x(D, ["tbody"]), delete Rt.tbody), h.TRUSTED_TYPES_POLICY) {
|
|
5024
5024
|
if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
5025
5025
|
throw Dt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
5026
5026
|
if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
5027
5027
|
throw Dt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
5028
5028
|
N = h.TRUSTED_TYPES_POLICY, Ve = N.createHTML("");
|
|
5029
5029
|
} else
|
|
5030
|
-
N === void 0 && (N =
|
|
5030
|
+
N === void 0 && (N = Gh(g, s)), N !== null && typeof Ve == "string" && (Ve = N.createHTML(""));
|
|
5031
5031
|
ee && ee(h), dt = h;
|
|
5032
5032
|
}
|
|
5033
|
-
}, br = x({}, [...Ln, ...In, ...
|
|
5033
|
+
}, br = x({}, [...Ln, ...In, ...Nh]), yr = x({}, [...Pn, ...Dh]), gl = function(h) {
|
|
5034
5034
|
let f = qe(h);
|
|
5035
5035
|
(!f || !f.tagName) && (f = {
|
|
5036
5036
|
namespaceURI: ht,
|
|
5037
5037
|
tagName: "template"
|
|
5038
5038
|
});
|
|
5039
|
-
const b =
|
|
5040
|
-
return gn[h.namespaceURI] ? h.namespaceURI ===
|
|
5039
|
+
const b = Si(h.tagName), R = Si(f.tagName);
|
|
5040
|
+
return gn[h.namespaceURI] ? h.namespaceURI === fi ? f.namespaceURI === Ce ? b === "svg" : f.namespaceURI === pi ? b === "svg" && (R === "annotation-xml" || gi[R]) : !!br[b] : h.namespaceURI === pi ? f.namespaceURI === Ce ? b === "math" : f.namespaceURI === fi ? b === "math" && mi[R] : !!yr[b] : h.namespaceURI === Ce ? f.namespaceURI === fi && !mi[R] || f.namespaceURI === pi && !gi[R] ? !1 : !yr[b] && (hl[b] || !br[b]) : !!(It === "application/xhtml+xml" && gn[h.namespaceURI]) : !1;
|
|
5041
5041
|
}, ve = function(h) {
|
|
5042
5042
|
Mt(e.removed, {
|
|
5043
5043
|
element: h
|
|
@@ -5060,7 +5060,7 @@ function za() {
|
|
|
5060
5060
|
});
|
|
5061
5061
|
}
|
|
5062
5062
|
if (f.removeAttribute(h), h === "is")
|
|
5063
|
-
if (ct ||
|
|
5063
|
+
if (ct || hi)
|
|
5064
5064
|
try {
|
|
5065
5065
|
ve(f);
|
|
5066
5066
|
} catch {
|
|
@@ -5093,7 +5093,7 @@ function za() {
|
|
|
5093
5093
|
}
|
|
5094
5094
|
}
|
|
5095
5095
|
const q = f.body || f.documentElement;
|
|
5096
|
-
return h && b && q.insertBefore(t.createTextNode(b), q.childNodes[0] || null), ht === Ce ?
|
|
5096
|
+
return h && b && q.insertBefore(t.createTextNode(b), q.childNodes[0] || null), ht === Ce ? nl.call(f, Ze ? "html" : "body")[0] : Ze ? f.documentElement : q;
|
|
5097
5097
|
}, $r = function(h) {
|
|
5098
5098
|
return Ge.call(
|
|
5099
5099
|
h.ownerDocument || h,
|
|
@@ -5108,7 +5108,7 @@ function za() {
|
|
|
5108
5108
|
return typeof a == "function" && h instanceof a;
|
|
5109
5109
|
};
|
|
5110
5110
|
function _e(y, h, f) {
|
|
5111
|
-
|
|
5111
|
+
yi(y, (b) => {
|
|
5112
5112
|
b.call(e, h, f, dt);
|
|
5113
5113
|
});
|
|
5114
5114
|
}
|
|
@@ -5120,7 +5120,7 @@ function za() {
|
|
|
5120
5120
|
if (_e(Z.uponSanitizeElement, h, {
|
|
5121
5121
|
tagName: b,
|
|
5122
5122
|
allowedTags: D
|
|
5123
|
-
}),
|
|
5123
|
+
}), ui && h.hasChildNodes() && !xr(h.firstElementChild) && Y(/<[/\w!]/g, h.innerHTML) && Y(/<[/\w!]/g, h.textContent) || h.nodeType === zt.progressingInstruction || ui && h.nodeType === zt.comment && Y(/<[/\w]/g, h.data))
|
|
5124
5124
|
return ve(h), !0;
|
|
5125
5125
|
if (!(at.tagCheck instanceof Function && at.tagCheck(b)) && (!D[b] || Rt[b])) {
|
|
5126
5126
|
if (!Rt[b] && Cr(b) && (L.tagNameCheck instanceof RegExp && Y(L.tagNameCheck, b) || L.tagNameCheck instanceof Function && L.tagNameCheck(b)))
|
|
@@ -5137,16 +5137,16 @@ function za() {
|
|
|
5137
5137
|
}
|
|
5138
5138
|
return ve(h), !0;
|
|
5139
5139
|
}
|
|
5140
|
-
return h instanceof l && !
|
|
5140
|
+
return h instanceof l && !gl(h) || (b === "noscript" || b === "noembed" || b === "noframes") && Y(/<\/no(script|embed|frames)/i, h.innerHTML) ? (ve(h), !0) : (lt && h.nodeType === zt.text && (f = h.textContent, yi([sn, rn, on], (R) => {
|
|
5141
5141
|
f = Nt(f, R, " ");
|
|
5142
5142
|
}), h.textContent !== f && (Mt(e.removed, {
|
|
5143
5143
|
element: h.cloneNode()
|
|
5144
5144
|
}), h.textContent = f)), _e(Z.afterSanitizeElements, h, null), !1);
|
|
5145
5145
|
}, Sr = function(h, f, b) {
|
|
5146
|
-
if (dr && (f === "id" || f === "name") && (b in t || b in
|
|
5146
|
+
if (dr && (f === "id" || f === "name") && (b in t || b in fl))
|
|
5147
5147
|
return !1;
|
|
5148
|
-
if (!(ln && !an[f] && Y(
|
|
5149
|
-
if (!(cr && Y(
|
|
5148
|
+
if (!(ln && !an[f] && Y(rl, f))) {
|
|
5149
|
+
if (!(cr && Y(ol, f))) {
|
|
5150
5150
|
if (!(at.attributeCheck instanceof Function && at.attributeCheck(f, h))) {
|
|
5151
5151
|
if (!U[f] || an[f]) {
|
|
5152
5152
|
if (
|
|
@@ -5159,8 +5159,8 @@ function za() {
|
|
|
5159
5159
|
) return !1;
|
|
5160
5160
|
} else if (!pn[f]) {
|
|
5161
5161
|
if (!Y(or, Nt(b, rr, ""))) {
|
|
5162
|
-
if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" &&
|
|
5163
|
-
if (!(ur && !Y(
|
|
5162
|
+
if (!((f === "src" || f === "xlink:href" || f === "href") && h !== "script" && Lh(b, "data:") === 0 && fr[h])) {
|
|
5163
|
+
if (!(ur && !Y(al, Nt(b, rr, "")))) {
|
|
5164
5164
|
if (b)
|
|
5165
5165
|
return !1;
|
|
5166
5166
|
}
|
|
@@ -5172,7 +5172,7 @@ function za() {
|
|
|
5172
5172
|
}
|
|
5173
5173
|
return !0;
|
|
5174
5174
|
}, Cr = function(h) {
|
|
5175
|
-
return h !== "annotation-xml" && Rn(h,
|
|
5175
|
+
return h !== "annotation-xml" && Rn(h, ll);
|
|
5176
5176
|
}, _r = function(h) {
|
|
5177
5177
|
_e(Z.beforeSanitizeAttributes, h, null);
|
|
5178
5178
|
const {
|
|
@@ -5194,8 +5194,8 @@ function za() {
|
|
|
5194
5194
|
namespaceURI: ie,
|
|
5195
5195
|
value: Ee
|
|
5196
5196
|
} = q, pt = P(I), bn = Ee;
|
|
5197
|
-
let z = I === "value" ? bn :
|
|
5198
|
-
if (b.attrName = pt, b.attrValue = z, b.keepAttr = !0, b.forceKeepAttr = void 0, _e(Z.uponSanitizeAttribute, h, b), z = b.attrValue, pr && (pt === "id" || pt === "name") && (Ye(I, h), z =
|
|
5197
|
+
let z = I === "value" ? bn : Ih(bn);
|
|
5198
|
+
if (b.attrName = pt, b.attrValue = z, b.keepAttr = !0, b.forceKeepAttr = void 0, _e(Z.uponSanitizeAttribute, h, b), z = b.attrValue, pr && (pt === "id" || pt === "name") && (Ye(I, h), z = cl + z), ui && Y(/((--!?|])>)|<\/(style|title|textarea)/i, z)) {
|
|
5199
5199
|
Ye(I, h);
|
|
5200
5200
|
continue;
|
|
5201
5201
|
}
|
|
@@ -5213,7 +5213,7 @@ function za() {
|
|
|
5213
5213
|
Ye(I, h);
|
|
5214
5214
|
continue;
|
|
5215
5215
|
}
|
|
5216
|
-
lt &&
|
|
5216
|
+
lt && yi([sn, rn, on], (Ar) => {
|
|
5217
5217
|
z = Nt(z, Ar, " ");
|
|
5218
5218
|
});
|
|
5219
5219
|
const Er = P(h.nodeName);
|
|
@@ -5240,7 +5240,7 @@ function za() {
|
|
|
5240
5240
|
}
|
|
5241
5241
|
}
|
|
5242
5242
|
_e(Z.afterSanitizeAttributes, h, null);
|
|
5243
|
-
},
|
|
5243
|
+
}, ml = function y(h) {
|
|
5244
5244
|
let f = null;
|
|
5245
5245
|
const b = $r(h);
|
|
5246
5246
|
for (_e(Z.beforeSanitizeShadowDOM, h, null); f = b.nextNode(); )
|
|
@@ -5268,29 +5268,29 @@ function za() {
|
|
|
5268
5268
|
else {
|
|
5269
5269
|
if (!ct && !lt && !Ze && // eslint-disable-next-line unicorn/prefer-includes
|
|
5270
5270
|
y.indexOf("<") === -1)
|
|
5271
|
-
return N &&
|
|
5271
|
+
return N && di ? N.createHTML(y) : y;
|
|
5272
5272
|
if (f = wr(y), !f)
|
|
5273
|
-
return ct ? null :
|
|
5273
|
+
return ct ? null : di ? Ve : "";
|
|
5274
5274
|
}
|
|
5275
5275
|
f && un && ve(f.firstChild);
|
|
5276
5276
|
const I = $r(Lt ? y : f);
|
|
5277
5277
|
for (; R = I.nextNode(); )
|
|
5278
|
-
kr(R), _r(R), R.content instanceof r &&
|
|
5278
|
+
kr(R), _r(R), R.content instanceof r && ml(R.content);
|
|
5279
5279
|
if (Lt)
|
|
5280
5280
|
return y;
|
|
5281
5281
|
if (ct) {
|
|
5282
|
-
if (
|
|
5283
|
-
for (q =
|
|
5282
|
+
if (hi)
|
|
5283
|
+
for (q = il.call(f.ownerDocument); f.firstChild; )
|
|
5284
5284
|
q.appendChild(f.firstChild);
|
|
5285
5285
|
else
|
|
5286
5286
|
q = f;
|
|
5287
|
-
return (U.shadowroot || U.shadowrootmode) && (q =
|
|
5287
|
+
return (U.shadowroot || U.shadowrootmode) && (q = sl.call(n, q, !0)), q;
|
|
5288
5288
|
}
|
|
5289
5289
|
let ie = Ze ? f.outerHTML : f.innerHTML;
|
|
5290
5290
|
return Ze && D["!doctype"] && f.ownerDocument && f.ownerDocument.doctype && f.ownerDocument.doctype.name && Y(Ua, f.ownerDocument.doctype.name) && (ie = "<!DOCTYPE " + f.ownerDocument.doctype.name + `>
|
|
5291
|
-
` + ie), lt &&
|
|
5291
|
+
` + ie), lt && yi([sn, rn, on], (Ee) => {
|
|
5292
5292
|
ie = Nt(ie, Ee, " ");
|
|
5293
|
-
}), N &&
|
|
5293
|
+
}), N && di ? N.createHTML(ie) : ie;
|
|
5294
5294
|
}, e.setConfig = function() {
|
|
5295
5295
|
let y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5296
5296
|
mn(y), cn = !0;
|
|
@@ -5304,8 +5304,8 @@ function za() {
|
|
|
5304
5304
|
typeof h == "function" && Mt(Z[y], h);
|
|
5305
5305
|
}, e.removeHook = function(y, h) {
|
|
5306
5306
|
if (h !== void 0) {
|
|
5307
|
-
const f =
|
|
5308
|
-
return f === -1 ? void 0 :
|
|
5307
|
+
const f = Oh(Z[y], h);
|
|
5308
|
+
return f === -1 ? void 0 : Rh(Z[y], f, 1)[0];
|
|
5309
5309
|
}
|
|
5310
5310
|
return wo(Z[y]);
|
|
5311
5311
|
}, e.removeHooks = function(y) {
|
|
@@ -5314,15 +5314,19 @@ function za() {
|
|
|
5314
5314
|
Z = _o();
|
|
5315
5315
|
}, e;
|
|
5316
5316
|
}
|
|
5317
|
-
var Fa = za(),
|
|
5317
|
+
var Fa = za(), Zh = Object.defineProperty, Yh = (i, e, t, n) => {
|
|
5318
5318
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
5319
5319
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
5320
|
-
return s &&
|
|
5320
|
+
return s && Zh(e, t, s), s;
|
|
5321
5321
|
};
|
|
5322
5322
|
const Vs = class Vs extends E {
|
|
5323
5323
|
render() {
|
|
5324
5324
|
return w`<div class="message-type-html">
|
|
5325
|
-
${
|
|
5325
|
+
${_h(
|
|
5326
|
+
Fa.sanitize(this.message.content, {
|
|
5327
|
+
ADD_ATTR: ["target", "rel"]
|
|
5328
|
+
})
|
|
5329
|
+
)}
|
|
5326
5330
|
</div>`;
|
|
5327
5331
|
}
|
|
5328
5332
|
};
|
|
@@ -5363,10 +5367,10 @@ Vs.styles = [
|
|
|
5363
5367
|
}
|
|
5364
5368
|
`
|
|
5365
5369
|
];
|
|
5366
|
-
let
|
|
5367
|
-
|
|
5370
|
+
let zi = Vs;
|
|
5371
|
+
Yh([
|
|
5368
5372
|
k({ attribute: !1 })
|
|
5369
|
-
],
|
|
5373
|
+
], zi.prototype, "message");
|
|
5370
5374
|
function xs() {
|
|
5371
5375
|
return {
|
|
5372
5376
|
async: !1,
|
|
@@ -5391,13 +5395,13 @@ function _(i, e = "") {
|
|
|
5391
5395
|
const n = {
|
|
5392
5396
|
replace: (s, r) => {
|
|
5393
5397
|
let o = typeof r == "string" ? r : r.source;
|
|
5394
|
-
return o = o.replace(
|
|
5398
|
+
return o = o.replace(K.caret, "$1"), t = t.replace(s, o), n;
|
|
5395
5399
|
},
|
|
5396
5400
|
getRegex: () => new RegExp(t, e)
|
|
5397
5401
|
};
|
|
5398
5402
|
return n;
|
|
5399
5403
|
}
|
|
5400
|
-
var
|
|
5404
|
+
var K = {
|
|
5401
5405
|
codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
|
|
5402
5406
|
outputLinkReplace: /\\([\[\]])/g,
|
|
5403
5407
|
indentCodeCompensation: /^(\s+)(?:```)/,
|
|
@@ -5454,31 +5458,31 @@ var X = {
|
|
|
5454
5458
|
fencesBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}(?:\`\`\`|~~~)`),
|
|
5455
5459
|
headingBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}#`),
|
|
5456
5460
|
htmlBeginRegex: (i) => new RegExp(`^ {0,${Math.min(3, i - 1)}}<(?:[a-z].*>|!--)`, "i")
|
|
5457
|
-
},
|
|
5461
|
+
}, Qh = /^(?:[ \t]*(?:\n|$))+/, Kh = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Xh = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ci = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Jh = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, ks = /(?:[*+-]|\d{1,9}[.)])/, ja = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Ba = _(ja).replace(/bull/g, ks).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), ed = _(ja).replace(/bull/g, ks).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Ss = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, td = /^[^\n]+/, Cs = /(?!\s*\])(?:\\.|[^\[\]\\])+/, id = _(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Cs).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), nd = _(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, ks).getRegex(), tn = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", _s = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, sd = _(
|
|
5458
5462
|
"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))",
|
|
5459
5463
|
"i"
|
|
5460
|
-
).replace("comment", _s).replace("tag", tn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), qa = _(Ss).replace("hr",
|
|
5461
|
-
blockquote:
|
|
5464
|
+
).replace("comment", _s).replace("tag", tn).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), qa = _(Ss).replace("hr", ci).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", tn).getRegex(), rd = _(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", qa).getRegex(), Es = {
|
|
5465
|
+
blockquote: rd,
|
|
5462
5466
|
code: Kh,
|
|
5463
|
-
def:
|
|
5464
|
-
fences:
|
|
5465
|
-
heading:
|
|
5466
|
-
hr:
|
|
5467
|
-
html:
|
|
5467
|
+
def: id,
|
|
5468
|
+
fences: Xh,
|
|
5469
|
+
heading: Jh,
|
|
5470
|
+
hr: ci,
|
|
5471
|
+
html: sd,
|
|
5468
5472
|
lheading: Ba,
|
|
5469
|
-
list:
|
|
5470
|
-
newline:
|
|
5473
|
+
list: nd,
|
|
5474
|
+
newline: Qh,
|
|
5471
5475
|
paragraph: qa,
|
|
5472
5476
|
table: Vt,
|
|
5473
|
-
text:
|
|
5477
|
+
text: td
|
|
5474
5478
|
}, Eo = _(
|
|
5475
5479
|
"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"
|
|
5476
|
-
).replace("hr",
|
|
5480
|
+
).replace("hr", ci).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", tn).getRegex(), od = {
|
|
5477
5481
|
...Es,
|
|
5478
|
-
lheading:
|
|
5482
|
+
lheading: ed,
|
|
5479
5483
|
table: Eo,
|
|
5480
|
-
paragraph: _(Ss).replace("hr",
|
|
5481
|
-
},
|
|
5484
|
+
paragraph: _(Ss).replace("hr", ci).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Eo).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", tn).getRegex()
|
|
5485
|
+
}, ad = {
|
|
5482
5486
|
...Es,
|
|
5483
5487
|
html: _(
|
|
5484
5488
|
`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`
|
|
@@ -5488,77 +5492,77 @@ var X = {
|
|
|
5488
5492
|
fences: Vt,
|
|
5489
5493
|
// fences not supported
|
|
5490
5494
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
5491
|
-
paragraph: _(Ss).replace("hr",
|
|
5495
|
+
paragraph: _(Ss).replace("hr", ci).replace("heading", ` *#{1,6} *[^
|
|
5492
5496
|
]`).replace("lheading", Ba).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
5493
|
-
},
|
|
5497
|
+
}, ld = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, cd = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Va = /^( {2,}|\\)\n(?!\s*$)/, ud = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, nn = /[\p{P}\p{S}]/u, As = /[\s\p{P}\p{S}]/u, Wa = /[^\s\p{P}\p{S}]/u, hd = _(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, As).getRegex(), Ga = /(?!~)[\p{P}\p{S}]/u, dd = /(?!~)[\s\p{P}\p{S}]/u, pd = /(?:[^\s\p{P}\p{S}]|~)/u, fd = /\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g, Za = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, gd = _(Za, "u").replace(/punct/g, nn).getRegex(), md = _(Za, "u").replace(/punct/g, Ga).getRegex(), Ya = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", vd = _(Ya, "gu").replace(/notPunctSpace/g, Wa).replace(/punctSpace/g, As).replace(/punct/g, nn).getRegex(), bd = _(Ya, "gu").replace(/notPunctSpace/g, pd).replace(/punctSpace/g, dd).replace(/punct/g, Ga).getRegex(), yd = _(
|
|
5494
5498
|
"^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)",
|
|
5495
5499
|
"gu"
|
|
5496
|
-
).replace(/notPunctSpace/g, Wa).replace(/punctSpace/g, As).replace(/punct/g, nn).getRegex(),
|
|
5500
|
+
).replace(/notPunctSpace/g, Wa).replace(/punctSpace/g, As).replace(/punct/g, nn).getRegex(), wd = _(/\\(punct)/, "gu").replace(/punct/g, nn).getRegex(), $d = _(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), xd = _(_s).replace("(?:-->|$)", "-->").getRegex(), kd = _(
|
|
5497
5501
|
"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>"
|
|
5498
|
-
).replace("comment",
|
|
5502
|
+
).replace("comment", xd).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Fi = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, Sd = _(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", Fi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Qa = _(/^!?\[(label)\]\[(ref)\]/).replace("label", Fi).replace("ref", Cs).getRegex(), Ka = _(/^!?\[(ref)\](?:\[\])?/).replace("ref", Cs).getRegex(), Cd = _("reflink|nolink(?!\\()", "g").replace("reflink", Qa).replace("nolink", Ka).getRegex(), Ts = {
|
|
5499
5503
|
_backpedal: Vt,
|
|
5500
5504
|
// only used for GFM url
|
|
5501
|
-
anyPunctuation:
|
|
5502
|
-
autolink:
|
|
5503
|
-
blockSkip:
|
|
5505
|
+
anyPunctuation: wd,
|
|
5506
|
+
autolink: $d,
|
|
5507
|
+
blockSkip: fd,
|
|
5504
5508
|
br: Va,
|
|
5505
|
-
code:
|
|
5509
|
+
code: cd,
|
|
5506
5510
|
del: Vt,
|
|
5507
|
-
emStrongLDelim:
|
|
5508
|
-
emStrongRDelimAst:
|
|
5509
|
-
emStrongRDelimUnd:
|
|
5510
|
-
escape:
|
|
5511
|
-
link:
|
|
5512
|
-
nolink:
|
|
5513
|
-
punctuation:
|
|
5511
|
+
emStrongLDelim: gd,
|
|
5512
|
+
emStrongRDelimAst: vd,
|
|
5513
|
+
emStrongRDelimUnd: yd,
|
|
5514
|
+
escape: ld,
|
|
5515
|
+
link: Sd,
|
|
5516
|
+
nolink: Ka,
|
|
5517
|
+
punctuation: hd,
|
|
5514
5518
|
reflink: Qa,
|
|
5515
|
-
reflinkSearch:
|
|
5516
|
-
tag:
|
|
5517
|
-
text:
|
|
5519
|
+
reflinkSearch: Cd,
|
|
5520
|
+
tag: kd,
|
|
5521
|
+
text: ud,
|
|
5518
5522
|
url: Vt
|
|
5519
|
-
},
|
|
5523
|
+
}, _d = {
|
|
5520
5524
|
...Ts,
|
|
5521
|
-
link: _(/^!?\[(label)\]\((.*?)\)/).replace("label",
|
|
5522
|
-
reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",
|
|
5525
|
+
link: _(/^!?\[(label)\]\((.*?)\)/).replace("label", Fi).getRegex(),
|
|
5526
|
+
reflink: _(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", Fi).getRegex()
|
|
5523
5527
|
}, ts = {
|
|
5524
5528
|
...Ts,
|
|
5525
|
-
emStrongRDelimAst:
|
|
5526
|
-
emStrongLDelim:
|
|
5529
|
+
emStrongRDelimAst: bd,
|
|
5530
|
+
emStrongLDelim: md,
|
|
5527
5531
|
url: _(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
|
|
5528
5532
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
|
5529
5533
|
del: /^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,
|
|
5530
5534
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
|
5531
|
-
},
|
|
5535
|
+
}, Ed = {
|
|
5532
5536
|
...ts,
|
|
5533
5537
|
br: _(Va).replace("{2,}", "*").getRegex(),
|
|
5534
5538
|
text: _(ts.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
|
5535
|
-
},
|
|
5539
|
+
}, $i = {
|
|
5536
5540
|
normal: Es,
|
|
5537
|
-
gfm:
|
|
5538
|
-
pedantic:
|
|
5541
|
+
gfm: od,
|
|
5542
|
+
pedantic: ad
|
|
5539
5543
|
}, Ft = {
|
|
5540
5544
|
normal: Ts,
|
|
5541
5545
|
gfm: ts,
|
|
5542
|
-
breaks:
|
|
5543
|
-
pedantic:
|
|
5544
|
-
},
|
|
5546
|
+
breaks: Ed,
|
|
5547
|
+
pedantic: _d
|
|
5548
|
+
}, Ad = {
|
|
5545
5549
|
"&": "&",
|
|
5546
5550
|
"<": "<",
|
|
5547
5551
|
">": ">",
|
|
5548
5552
|
'"': """,
|
|
5549
5553
|
"'": "'"
|
|
5550
|
-
}, Ao = (i) =>
|
|
5554
|
+
}, Ao = (i) => Ad[i];
|
|
5551
5555
|
function we(i, e) {
|
|
5552
5556
|
if (e) {
|
|
5553
|
-
if (
|
|
5554
|
-
return i.replace(
|
|
5555
|
-
} else if (
|
|
5556
|
-
return i.replace(
|
|
5557
|
+
if (K.escapeTest.test(i))
|
|
5558
|
+
return i.replace(K.escapeReplace, Ao);
|
|
5559
|
+
} else if (K.escapeTestNoEncode.test(i))
|
|
5560
|
+
return i.replace(K.escapeReplaceNoEncode, Ao);
|
|
5557
5561
|
return i;
|
|
5558
5562
|
}
|
|
5559
5563
|
function To(i) {
|
|
5560
5564
|
try {
|
|
5561
|
-
i = encodeURI(i).replace(
|
|
5565
|
+
i = encodeURI(i).replace(K.percentDecode, "%");
|
|
5562
5566
|
} catch {
|
|
5563
5567
|
return null;
|
|
5564
5568
|
}
|
|
@@ -5566,11 +5570,11 @@ function To(i) {
|
|
|
5566
5570
|
}
|
|
5567
5571
|
function Oo(i, e) {
|
|
5568
5572
|
var r;
|
|
5569
|
-
const t = i.replace(
|
|
5573
|
+
const t = i.replace(K.findPipe, (o, a, l) => {
|
|
5570
5574
|
let c = !1, u = a;
|
|
5571
5575
|
for (; --u >= 0 && l[u] === "\\"; ) c = !c;
|
|
5572
5576
|
return c ? "|" : " |";
|
|
5573
|
-
}), n = t.split(
|
|
5577
|
+
}), n = t.split(K.splitPipe);
|
|
5574
5578
|
let s = 0;
|
|
5575
5579
|
if (n[0].trim() || n.shift(), n.length > 0 && !((r = n.at(-1)) != null && r.trim()) && n.pop(), e)
|
|
5576
5580
|
if (n.length > e)
|
|
@@ -5578,7 +5582,7 @@ function Oo(i, e) {
|
|
|
5578
5582
|
else
|
|
5579
5583
|
for (; n.length < e; ) n.push("");
|
|
5580
5584
|
for (; s < n.length; s++)
|
|
5581
|
-
n[s] = n[s].trim().replace(
|
|
5585
|
+
n[s] = n[s].trim().replace(K.slashPipe, "|");
|
|
5582
5586
|
return n;
|
|
5583
5587
|
}
|
|
5584
5588
|
function Ht(i, e, t) {
|
|
@@ -5590,7 +5594,7 @@ function Ht(i, e, t) {
|
|
|
5590
5594
|
s++;
|
|
5591
5595
|
return i.slice(0, n - s);
|
|
5592
5596
|
}
|
|
5593
|
-
function
|
|
5597
|
+
function Td(i, e) {
|
|
5594
5598
|
if (i.indexOf(e[1]) === -1)
|
|
5595
5599
|
return -1;
|
|
5596
5600
|
let t = 0;
|
|
@@ -5616,7 +5620,7 @@ function Ro(i, e, t, n, s) {
|
|
|
5616
5620
|
};
|
|
5617
5621
|
return n.state.inLink = !1, l;
|
|
5618
5622
|
}
|
|
5619
|
-
function
|
|
5623
|
+
function Od(i, e, t) {
|
|
5620
5624
|
const n = i.match(t.other.indentCodeCompensation);
|
|
5621
5625
|
if (n === null)
|
|
5622
5626
|
return e;
|
|
@@ -5631,7 +5635,7 @@ function Rd(i, e, t) {
|
|
|
5631
5635
|
}).join(`
|
|
5632
5636
|
`);
|
|
5633
5637
|
}
|
|
5634
|
-
var
|
|
5638
|
+
var Hi = class {
|
|
5635
5639
|
// set by the lexer
|
|
5636
5640
|
constructor(i) {
|
|
5637
5641
|
A(this, "options");
|
|
@@ -5664,7 +5668,7 @@ var ji = class {
|
|
|
5664
5668
|
fences(i) {
|
|
5665
5669
|
const e = this.rules.block.fences.exec(i);
|
|
5666
5670
|
if (e) {
|
|
5667
|
-
const t = e[0], n =
|
|
5671
|
+
const t = e[0], n = Od(t, e[3] || "", this.rules);
|
|
5668
5672
|
return {
|
|
5669
5673
|
type: "code",
|
|
5670
5674
|
raw: t,
|
|
@@ -5950,7 +5954,7 @@ ${u}` : u;
|
|
|
5950
5954
|
if ((t.length - r.length) % 2 === 0)
|
|
5951
5955
|
return;
|
|
5952
5956
|
} else {
|
|
5953
|
-
const r =
|
|
5957
|
+
const r = Td(e[2], "()");
|
|
5954
5958
|
if (r === -2)
|
|
5955
5959
|
return;
|
|
5956
5960
|
if (r > -1) {
|
|
@@ -6120,24 +6124,24 @@ ${u}` : u;
|
|
|
6120
6124
|
A(this, "state");
|
|
6121
6125
|
A(this, "tokenizer");
|
|
6122
6126
|
A(this, "inlineQueue");
|
|
6123
|
-
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || rt, this.options.tokenizer = this.options.tokenizer || new
|
|
6127
|
+
this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || rt, this.options.tokenizer = this.options.tokenizer || new Hi(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
6124
6128
|
inLink: !1,
|
|
6125
6129
|
inRawBlock: !1,
|
|
6126
6130
|
top: !0
|
|
6127
6131
|
};
|
|
6128
6132
|
const t = {
|
|
6129
|
-
other:
|
|
6130
|
-
block:
|
|
6133
|
+
other: K,
|
|
6134
|
+
block: $i.normal,
|
|
6131
6135
|
inline: Ft.normal
|
|
6132
6136
|
};
|
|
6133
|
-
this.options.pedantic ? (t.block =
|
|
6137
|
+
this.options.pedantic ? (t.block = $i.pedantic, t.inline = Ft.pedantic) : this.options.gfm && (t.block = $i.gfm, this.options.breaks ? t.inline = Ft.breaks : t.inline = Ft.gfm), this.tokenizer.rules = t;
|
|
6134
6138
|
}
|
|
6135
6139
|
/**
|
|
6136
6140
|
* Expose Rules
|
|
6137
6141
|
*/
|
|
6138
6142
|
static get rules() {
|
|
6139
6143
|
return {
|
|
6140
|
-
block:
|
|
6144
|
+
block: $i,
|
|
6141
6145
|
inline: Ft
|
|
6142
6146
|
};
|
|
6143
6147
|
}
|
|
@@ -6157,7 +6161,7 @@ ${u}` : u;
|
|
|
6157
6161
|
* Preprocessing
|
|
6158
6162
|
*/
|
|
6159
6163
|
lex(e) {
|
|
6160
|
-
e = e.replace(
|
|
6164
|
+
e = e.replace(K.carriageReturn, `
|
|
6161
6165
|
`), this.blockTokens(e, this.tokens);
|
|
6162
6166
|
for (let t = 0; t < this.inlineQueue.length; t++) {
|
|
6163
6167
|
const n = this.inlineQueue[t];
|
|
@@ -6167,7 +6171,7 @@ ${u}` : u;
|
|
|
6167
6171
|
}
|
|
6168
6172
|
blockTokens(e, t = [], n = !1) {
|
|
6169
6173
|
var s, r, o;
|
|
6170
|
-
for (this.options.pedantic && (e = e.replace(
|
|
6174
|
+
for (this.options.pedantic && (e = e.replace(K.tabCharGlobal, " ").replace(K.spaceLine, "")); e; ) {
|
|
6171
6175
|
let a;
|
|
6172
6176
|
if ((r = (s = this.options.extensions) == null ? void 0 : s.block) != null && r.some((c) => (a = c.call({ lexer: this }, e, t)) ? (e = e.substring(a.raw.length), t.push(a), !0) : !1))
|
|
6173
6177
|
continue;
|
|
@@ -6357,7 +6361,7 @@ ${u}` : u;
|
|
|
6357
6361
|
}
|
|
6358
6362
|
return t;
|
|
6359
6363
|
}
|
|
6360
|
-
},
|
|
6364
|
+
}, ji = class {
|
|
6361
6365
|
// set by the parser
|
|
6362
6366
|
constructor(i) {
|
|
6363
6367
|
A(this, "options");
|
|
@@ -6369,7 +6373,7 @@ ${u}` : u;
|
|
|
6369
6373
|
}
|
|
6370
6374
|
code({ text: i, lang: e, escaped: t }) {
|
|
6371
6375
|
var r;
|
|
6372
|
-
const n = (r = (e || "").match(
|
|
6376
|
+
const n = (r = (e || "").match(K.notSpaceStart)) == null ? void 0 : r[0], s = i.replace(K.endingNewline, "") + `
|
|
6373
6377
|
`;
|
|
6374
6378
|
return n ? '<pre><code class="language-' + we(n) + '">' + (t ? s : we(s, !0)) + `</code></pre>
|
|
6375
6379
|
` : "<pre><code>" + (t ? s : we(s, !0)) + `</code></pre>
|
|
@@ -6526,7 +6530,7 @@ ${i}</tr>
|
|
|
6526
6530
|
A(this, "options");
|
|
6527
6531
|
A(this, "renderer");
|
|
6528
6532
|
A(this, "textRenderer");
|
|
6529
|
-
this.options = e || rt, this.options.renderer = this.options.renderer || new
|
|
6533
|
+
this.options = e || rt, this.options.renderer = this.options.renderer || new ji(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Os();
|
|
6530
6534
|
}
|
|
6531
6535
|
/**
|
|
6532
6536
|
* Static Parse Method
|
|
@@ -6683,7 +6687,7 @@ ${i}</tr>
|
|
|
6683
6687
|
}
|
|
6684
6688
|
return n;
|
|
6685
6689
|
}
|
|
6686
|
-
}, Nn,
|
|
6690
|
+
}, Nn, Ci = (Nn = class {
|
|
6687
6691
|
constructor(i) {
|
|
6688
6692
|
A(this, "options");
|
|
6689
6693
|
A(this, "block");
|
|
@@ -6723,18 +6727,18 @@ ${i}</tr>
|
|
|
6723
6727
|
"preprocess",
|
|
6724
6728
|
"postprocess",
|
|
6725
6729
|
"processAllTokens"
|
|
6726
|
-
])), Nn),
|
|
6730
|
+
])), Nn), Rd = class {
|
|
6727
6731
|
constructor(...i) {
|
|
6728
6732
|
A(this, "defaults", xs());
|
|
6729
6733
|
A(this, "options", this.setOptions);
|
|
6730
6734
|
A(this, "parse", this.parseMarkdown(!0));
|
|
6731
6735
|
A(this, "parseInline", this.parseMarkdown(!1));
|
|
6732
6736
|
A(this, "Parser", Re);
|
|
6733
|
-
A(this, "Renderer",
|
|
6737
|
+
A(this, "Renderer", ji);
|
|
6734
6738
|
A(this, "TextRenderer", Os);
|
|
6735
6739
|
A(this, "Lexer", Oe);
|
|
6736
|
-
A(this, "Tokenizer",
|
|
6737
|
-
A(this, "Hooks",
|
|
6740
|
+
A(this, "Tokenizer", Hi);
|
|
6741
|
+
A(this, "Hooks", Ci);
|
|
6738
6742
|
this.use(...i);
|
|
6739
6743
|
}
|
|
6740
6744
|
/**
|
|
@@ -6791,7 +6795,7 @@ ${i}</tr>
|
|
|
6791
6795
|
}
|
|
6792
6796
|
"childTokens" in s && s.childTokens && (e.childTokens[s.name] = s.childTokens);
|
|
6793
6797
|
}), n.extensions = e), t.renderer) {
|
|
6794
|
-
const s = this.defaults.renderer || new
|
|
6798
|
+
const s = this.defaults.renderer || new ji(this.defaults);
|
|
6795
6799
|
for (const r in t.renderer) {
|
|
6796
6800
|
if (!(r in s))
|
|
6797
6801
|
throw new Error(`renderer '${r}' does not exist`);
|
|
@@ -6806,7 +6810,7 @@ ${i}</tr>
|
|
|
6806
6810
|
n.renderer = s;
|
|
6807
6811
|
}
|
|
6808
6812
|
if (t.tokenizer) {
|
|
6809
|
-
const s = this.defaults.tokenizer || new
|
|
6813
|
+
const s = this.defaults.tokenizer || new Hi(this.defaults);
|
|
6810
6814
|
for (const r in t.tokenizer) {
|
|
6811
6815
|
if (!(r in s))
|
|
6812
6816
|
throw new Error(`tokenizer '${r}' does not exist`);
|
|
@@ -6821,14 +6825,14 @@ ${i}</tr>
|
|
|
6821
6825
|
n.tokenizer = s;
|
|
6822
6826
|
}
|
|
6823
6827
|
if (t.hooks) {
|
|
6824
|
-
const s = this.defaults.hooks || new
|
|
6828
|
+
const s = this.defaults.hooks || new Ci();
|
|
6825
6829
|
for (const r in t.hooks) {
|
|
6826
6830
|
if (!(r in s))
|
|
6827
6831
|
throw new Error(`hook '${r}' does not exist`);
|
|
6828
6832
|
if (["options", "block"].includes(r))
|
|
6829
6833
|
continue;
|
|
6830
6834
|
const o = r, a = t.hooks[o], l = s[o];
|
|
6831
|
-
|
|
6835
|
+
Ci.passThroughHooks.has(r) ? s[o] = (c) => {
|
|
6832
6836
|
if (this.defaults.async)
|
|
6833
6837
|
return Promise.resolve(a.call(s, c)).then((p) => l.call(s, p));
|
|
6834
6838
|
const u = a.call(s, c);
|
|
@@ -6895,7 +6899,7 @@ Please report this to https://github.com/markedjs/marked.`, i) {
|
|
|
6895
6899
|
throw t;
|
|
6896
6900
|
};
|
|
6897
6901
|
}
|
|
6898
|
-
}, st = new
|
|
6902
|
+
}, st = new Rd();
|
|
6899
6903
|
function S(i, e) {
|
|
6900
6904
|
return st.parse(i, e);
|
|
6901
6905
|
}
|
|
@@ -6913,12 +6917,12 @@ S.walkTokens = function(i, e) {
|
|
|
6913
6917
|
S.parseInline = st.parseInline;
|
|
6914
6918
|
S.Parser = Re;
|
|
6915
6919
|
S.parser = Re.parse;
|
|
6916
|
-
S.Renderer =
|
|
6920
|
+
S.Renderer = ji;
|
|
6917
6921
|
S.TextRenderer = Os;
|
|
6918
6922
|
S.Lexer = Oe;
|
|
6919
6923
|
S.lexer = Oe.lex;
|
|
6920
|
-
S.Tokenizer =
|
|
6921
|
-
S.Hooks =
|
|
6924
|
+
S.Tokenizer = Hi;
|
|
6925
|
+
S.Hooks = Ci;
|
|
6922
6926
|
S.parse = S;
|
|
6923
6927
|
S.options;
|
|
6924
6928
|
S.setOptions;
|
|
@@ -6927,16 +6931,15 @@ S.walkTokens;
|
|
|
6927
6931
|
S.parseInline;
|
|
6928
6932
|
Re.parse;
|
|
6929
6933
|
Oe.lex;
|
|
6930
|
-
var
|
|
6934
|
+
var Ld = Object.defineProperty, Xa = (i, e, t, n) => {
|
|
6931
6935
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
6932
6936
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
6933
|
-
return s &&
|
|
6937
|
+
return s && Ld(e, t, s), s;
|
|
6934
6938
|
};
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
};
|
|
6939
|
-
S.use({ renderer: Ja });
|
|
6939
|
+
S.use({
|
|
6940
|
+
gfm: !0,
|
|
6941
|
+
breaks: !0
|
|
6942
|
+
});
|
|
6940
6943
|
const Ws = class Ws extends E {
|
|
6941
6944
|
constructor() {
|
|
6942
6945
|
super(...arguments), this.showLightbox = !1, this.imageUrl = "", this.altText = "", this.scrollRef = $e(), this.contentRef = $e(), this.autoScroll = !0, this.buffer = "", this.pointer = 0, this.imageRegexp = new RegExp(/!\[[^[]*\([^)]*\)/gm);
|
|
@@ -6980,18 +6983,22 @@ const Ws = class Ws extends E {
|
|
|
6980
6983
|
}
|
|
6981
6984
|
// Run on every update of an observed value
|
|
6982
6985
|
updated() {
|
|
6983
|
-
var
|
|
6986
|
+
var u, p;
|
|
6984
6987
|
const e = this.getLastChunk();
|
|
6985
6988
|
if (!e) return;
|
|
6986
6989
|
if (this.buffer += e, this.includesImage(this.buffer))
|
|
6987
|
-
(
|
|
6990
|
+
(u = this.contentRef.value) == null || u.appendChild(document.createElement("div")), this.buffer = "";
|
|
6988
6991
|
else if (this.buffer.includes("![")) return;
|
|
6989
|
-
const t = S.parse(this.buffer), n = Hn(t),
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
+
const t = S.parse(this.buffer), n = Hn(t), r = new DOMParser().parseFromString(n, "text/html");
|
|
6993
|
+
r.querySelectorAll("a").forEach((d) => {
|
|
6994
|
+
d.setAttribute("target", "_blank"), d.setAttribute("rel", "noopener noreferrer");
|
|
6995
|
+
});
|
|
6996
|
+
const a = r.body.innerHTML, l = Fa.sanitize(a, {
|
|
6997
|
+
ADD_ATTR: ["target", "rel"]
|
|
6998
|
+
}), c = (p = this.contentRef.value) == null ? void 0 : p.querySelector(
|
|
6992
6999
|
"div:last-of-type"
|
|
6993
7000
|
);
|
|
6994
|
-
|
|
7001
|
+
c && (c.innerHTML = l, this.applyCodeStyles(c)), this.autoScroll && this.scrollRef.value.scrollIntoView();
|
|
6995
7002
|
}
|
|
6996
7003
|
// Apply white-space: pre-wrap to <code> elements
|
|
6997
7004
|
applyCodeStyles(e) {
|
|
@@ -7054,17 +7061,17 @@ Ws.styles = [
|
|
|
7054
7061
|
}
|
|
7055
7062
|
`
|
|
7056
7063
|
];
|
|
7057
|
-
let
|
|
7058
|
-
|
|
7064
|
+
let ei = Ws;
|
|
7065
|
+
Xa([
|
|
7059
7066
|
k({ attribute: !1 })
|
|
7060
|
-
],
|
|
7061
|
-
|
|
7067
|
+
], ei.prototype, "message");
|
|
7068
|
+
Xa([
|
|
7062
7069
|
T()
|
|
7063
|
-
],
|
|
7064
|
-
var
|
|
7070
|
+
], ei.prototype, "showLightbox");
|
|
7071
|
+
var Id = Object.defineProperty, Pd = (i, e, t, n) => {
|
|
7065
7072
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
7066
7073
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
7067
|
-
return s &&
|
|
7074
|
+
return s && Id(e, t, s), s;
|
|
7068
7075
|
};
|
|
7069
7076
|
const Gs = class Gs extends E {
|
|
7070
7077
|
constructor() {
|
|
@@ -7103,7 +7110,7 @@ const Gs = class Gs extends E {
|
|
|
7103
7110
|
@keydown=${this.handleKeyDown}
|
|
7104
7111
|
>
|
|
7105
7112
|
<button class="close" @click=${this.closeLightbox}>
|
|
7106
|
-
<telia-icon svg=${
|
|
7113
|
+
<telia-icon svg=${Zc.svg} size="lg"></telia-icon>
|
|
7107
7114
|
</button>
|
|
7108
7115
|
<img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
|
|
7109
7116
|
</div> `;
|
|
@@ -7151,24 +7158,24 @@ Gs.styles = [
|
|
|
7151
7158
|
`
|
|
7152
7159
|
];
|
|
7153
7160
|
let Bi = Gs;
|
|
7154
|
-
|
|
7161
|
+
Pd([
|
|
7155
7162
|
k({ attribute: !0 })
|
|
7156
7163
|
], Bi.prototype, "imageUrl");
|
|
7157
|
-
var
|
|
7164
|
+
var Md = Object.defineProperty, ge = (i, e, t, n) => {
|
|
7158
7165
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
7159
7166
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
7160
|
-
return s &&
|
|
7167
|
+
return s && Md(e, t, s), s;
|
|
7161
7168
|
};
|
|
7162
|
-
customElements.get("conversation-entry") || customElements.define("conversation-entry",
|
|
7169
|
+
customElements.get("conversation-entry") || customElements.define("conversation-entry", Xt);
|
|
7163
7170
|
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Jt);
|
|
7164
|
-
customElements.get("conversation-group") || customElements.define("conversation-group",
|
|
7171
|
+
customElements.get("conversation-group") || customElements.define("conversation-group", Ui);
|
|
7165
7172
|
customElements.get("ace-typing-state") || customElements.define("ace-typing-state", Qn);
|
|
7166
|
-
customElements.get("message-type-html") || customElements.define("message-type-html",
|
|
7167
|
-
customElements.get("message-type-markdown") || customElements.define("message-type-markdown",
|
|
7173
|
+
customElements.get("message-type-html") || customElements.define("message-type-html", zi);
|
|
7174
|
+
customElements.get("message-type-markdown") || customElements.define("message-type-markdown", ei);
|
|
7168
7175
|
customElements.get("ace-lightbox") || customElements.define("ace-lightbox", Bi);
|
|
7169
7176
|
const Lo = Ra(E), Zs = class Zs extends Lo {
|
|
7170
7177
|
constructor() {
|
|
7171
|
-
super(...arguments), this.platform = null, this.entries = [], this.typing = !1, this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.showAuthBanner = !1, this.authenticated = !1, this.isMuted = !1, this.isKeyboardNavigation = !1, this.conversationContentRef = $e(), this.conversationFeedRef = $e(), this.formRef = $e(), this.inputRef = $e(), this.scrollRef = $e(), this.counterRef = $e(), this.chatCurrentScrollPosition = 0, this.toast = new
|
|
7178
|
+
super(...arguments), this.platform = null, this.entries = [], this.typing = !1, this.message = "", this.disabledInput = !1, this.disabledSkipToLatest = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.showAuthBanner = !1, this.authenticated = !1, this.isMuted = !1, this.isKeyboardNavigation = !1, this.conversationContentRef = $e(), this.conversationFeedRef = $e(), this.formRef = $e(), this.inputRef = $e(), this.scrollRef = $e(), this.counterRef = $e(), this.chatCurrentScrollPosition = 0, this.toast = new bh(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.conversationState$ = new fe("waiting"), this.stateMachine = new wh(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
|
|
7172
7179
|
Pe((e) => e ? e == null ? void 0 : e.provider$ : zn(null))
|
|
7173
7180
|
), this.userTyping$ = new M();
|
|
7174
7181
|
}
|
|
@@ -7185,12 +7192,12 @@ const Lo = Ra(E), Zs = class Zs extends Lo {
|
|
|
7185
7192
|
t && t.widgetActive$.pipe(F(t.componentIsDestroyed$)).subscribe((n) => {
|
|
7186
7193
|
const s = this.conversationContentRef.value;
|
|
7187
7194
|
s && (n ? s.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = s.scrollTop);
|
|
7188
|
-
}), this.stateSubscription =
|
|
7195
|
+
}), this.stateSubscription = ac([
|
|
7189
7196
|
this.stateMachine.entries(),
|
|
7190
7197
|
this.stateMachine.isTyping()
|
|
7191
7198
|
]).subscribe(([n, s]) => {
|
|
7192
7199
|
this.entries = n, this.typing = s;
|
|
7193
|
-
}), this.userSubmitSubscription =
|
|
7200
|
+
}), this.userSubmitSubscription = Ti(
|
|
7194
7201
|
this,
|
|
7195
7202
|
"user-submit"
|
|
7196
7203
|
).pipe(Fn(this.provider$)).subscribe(([n, s]) => {
|
|
@@ -7840,7 +7847,7 @@ ge([
|
|
|
7840
7847
|
ge([
|
|
7841
7848
|
T()
|
|
7842
7849
|
], re.prototype, "authenticated");
|
|
7843
|
-
const be = (i) => i.objectType === "info",
|
|
7850
|
+
const be = (i) => i.objectType === "info", Nd = (i) => i.objectType === "chatEntry", Dd = (i) => i.objectType === "pen", Ud = (i) => i.objectType === "chatButtonClicked", zd = (i) => i.objectType === "endVideoButtonClicked", Fd = (i) => i.type === "queue-status", Hd = (i) => i.type === "established", jd = (i) => i.type === "pen-status", Bd = (i) => i.type === "prepareVideo", qd = (i) => i.type === "videoPrepared", Vd = (i) => i.type === "chatButtonClicked", Wd = (i) => i.type === "endVideoButtonClicked", Gd = (i) => i.type === "chat-ended";
|
|
7844
7851
|
var pe = /* @__PURE__ */ ((i) => (i.Initial = "initial", i.Error = "error", i.Retry = "retry", i.InitError = "init-error", i))(pe || {});
|
|
7845
7852
|
class Te extends Error {
|
|
7846
7853
|
constructor(e, t, n) {
|
|
@@ -7996,22 +8003,22 @@ class Rs {
|
|
|
7996
8003
|
return e.replace(/\/+$/, "");
|
|
7997
8004
|
}
|
|
7998
8005
|
}
|
|
7999
|
-
const
|
|
8006
|
+
const Zd = () => "10000000-1000-4000-8000-100000000000".replace(
|
|
8000
8007
|
/[018]/g,
|
|
8001
8008
|
(i) => (+i ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +i / 4).toString(16)
|
|
8002
|
-
), Ls = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() :
|
|
8009
|
+
), Ls = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Zd();
|
|
8003
8010
|
function ss(i) {
|
|
8004
8011
|
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i);
|
|
8005
8012
|
}
|
|
8006
|
-
function
|
|
8013
|
+
function Ja(i) {
|
|
8007
8014
|
return i.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
8008
8015
|
}
|
|
8009
|
-
function
|
|
8016
|
+
function Yd(i) {
|
|
8010
8017
|
return decodeURIComponent(
|
|
8011
8018
|
atob(i).split("").map((e) => "%" + ("00" + e.charCodeAt(0).toString(16)).slice(-2)).join("")
|
|
8012
8019
|
);
|
|
8013
8020
|
}
|
|
8014
|
-
class
|
|
8021
|
+
class Qd {
|
|
8015
8022
|
constructor(e, t) {
|
|
8016
8023
|
this.config = e, this.messageSubject$ = new M(), this.actionsSubject$ = new M(), this.messages = () => this.messageSubject$.asObservable(), this.actions = () => this.actionsSubject$.asObservable(), this.sessionId = "", this.lastObjectId = 0, this.sessionId = t ?? Ls(), this.client = new Rs(this.config.engineUrl);
|
|
8017
8024
|
}
|
|
@@ -8070,7 +8077,7 @@ class Xd {
|
|
|
8070
8077
|
);
|
|
8071
8078
|
}
|
|
8072
8079
|
poll() {
|
|
8073
|
-
return
|
|
8080
|
+
return hc(
|
|
8074
8081
|
() => Je(
|
|
8075
8082
|
this.client.chatRead({
|
|
8076
8083
|
uid: this.sessionId,
|
|
@@ -8079,7 +8086,7 @@ class Xd {
|
|
|
8079
8086
|
maxObjectId: this.lastObjectId
|
|
8080
8087
|
})
|
|
8081
8088
|
).pipe(
|
|
8082
|
-
|
|
8089
|
+
yc((e) => {
|
|
8083
8090
|
const t = e == null ? void 0 : e.dataObjects.find(
|
|
8084
8091
|
(n) => be(n) && n.infoType === "error"
|
|
8085
8092
|
);
|
|
@@ -8163,12 +8170,12 @@ class Xd {
|
|
|
8163
8170
|
}
|
|
8164
8171
|
processMessages(e) {
|
|
8165
8172
|
e.dataObjects.forEach((t) => {
|
|
8166
|
-
|
|
8173
|
+
Nd(t) && t.source && t.objectId >= this.lastObjectId && this.messageSubject$.next({
|
|
8167
8174
|
text: t.message,
|
|
8168
8175
|
source: t.source,
|
|
8169
8176
|
invitationNo: t.invitationNo.toString(),
|
|
8170
8177
|
alias: t.alias || t.agentAlias
|
|
8171
|
-
}),
|
|
8178
|
+
}), Dd(t) && this.actionsSubject$.next({
|
|
8172
8179
|
penStatus: t.penStatus,
|
|
8173
8180
|
type: "pen-status"
|
|
8174
8181
|
}), be(t) && t.infoType === "queue" && this.actionsSubject$.next({
|
|
@@ -8190,10 +8197,10 @@ class Xd {
|
|
|
8190
8197
|
agent: t.agent,
|
|
8191
8198
|
type: "videoPrepared",
|
|
8192
8199
|
userUrl: t.userUrl
|
|
8193
|
-
}),
|
|
8200
|
+
}), Ud(t) && this.actionsSubject$.next({
|
|
8194
8201
|
guestId: t.guestId,
|
|
8195
8202
|
type: "chatButtonClicked"
|
|
8196
|
-
}),
|
|
8203
|
+
}), zd(t) && this.actionsSubject$.next({
|
|
8197
8204
|
guestId: t.guestId,
|
|
8198
8205
|
type: "endVideoButtonClicked"
|
|
8199
8206
|
}), be(t) && ["afterChat", "finished"].includes(t.infoType) && this.actionsSubject$.next({
|
|
@@ -8445,7 +8452,7 @@ class Kd {
|
|
|
8445
8452
|
});
|
|
8446
8453
|
return;
|
|
8447
8454
|
} else if (e.status === H.Authenticated) {
|
|
8448
|
-
const u =
|
|
8455
|
+
const u = Yd(
|
|
8449
8456
|
((o = e == null ? void 0 : e.idhubEIDToken) == null ? void 0 : o.split(".")[1]) ?? ""
|
|
8450
8457
|
), p = JSON.parse(u), d = ((l = (a = p == null ? void 0 : p.completionData) == null ? void 0 : a.user) == null ? void 0 : l.name) ?? "";
|
|
8451
8458
|
this.provider.headerComponent.userName = d, this.provider.headerComponent.authState = j.Authenticated, this.provider.storageService.set("auth", {
|
|
@@ -8477,7 +8484,7 @@ class Kd {
|
|
|
8477
8484
|
return e;
|
|
8478
8485
|
}
|
|
8479
8486
|
}
|
|
8480
|
-
class
|
|
8487
|
+
class Xd {
|
|
8481
8488
|
constructor(e) {
|
|
8482
8489
|
this.provider = e;
|
|
8483
8490
|
}
|
|
@@ -8636,7 +8643,7 @@ class Jd {
|
|
|
8636
8643
|
});
|
|
8637
8644
|
}
|
|
8638
8645
|
}
|
|
8639
|
-
class
|
|
8646
|
+
class Jd {
|
|
8640
8647
|
constructor(e) {
|
|
8641
8648
|
this.provider = e;
|
|
8642
8649
|
}
|
|
@@ -8703,10 +8710,10 @@ class ep {
|
|
|
8703
8710
|
* Copyright 2018 Google LLC
|
|
8704
8711
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
8705
8712
|
*/
|
|
8706
|
-
const
|
|
8713
|
+
const el = "important", ep = " !" + el, tp = ai(class extends en {
|
|
8707
8714
|
constructor(i) {
|
|
8708
8715
|
var e;
|
|
8709
|
-
if (super(i), i.type !==
|
|
8716
|
+
if (super(i), i.type !== oi.ATTRIBUTE || i.name !== "style" || ((e = i.strings) == null ? void 0 : e.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
|
8710
8717
|
}
|
|
8711
8718
|
render(i) {
|
|
8712
8719
|
return Object.keys(i).reduce(((e, t) => {
|
|
@@ -8722,17 +8729,17 @@ const tl = "important", tp = " !" + tl, ip = li(class extends en {
|
|
|
8722
8729
|
const s = e[n];
|
|
8723
8730
|
if (s != null) {
|
|
8724
8731
|
this.ft.add(n);
|
|
8725
|
-
const r = typeof s == "string" && s.endsWith(
|
|
8726
|
-
n.includes("-") || r ? t.setProperty(n, r ? s.slice(0, -11) : s, r ?
|
|
8732
|
+
const r = typeof s == "string" && s.endsWith(ep);
|
|
8733
|
+
n.includes("-") || r ? t.setProperty(n, r ? s.slice(0, -11) : s, r ? el : "") : t[n] = s;
|
|
8727
8734
|
}
|
|
8728
8735
|
}
|
|
8729
8736
|
return Me;
|
|
8730
8737
|
}
|
|
8731
8738
|
});
|
|
8732
|
-
var
|
|
8739
|
+
var ip = Object.defineProperty, np = (i, e, t, n) => {
|
|
8733
8740
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
8734
8741
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
8735
|
-
return s &&
|
|
8742
|
+
return s && ip(e, t, s), s;
|
|
8736
8743
|
};
|
|
8737
8744
|
const Ys = class Ys extends E {
|
|
8738
8745
|
constructor(e, t) {
|
|
@@ -8764,7 +8771,7 @@ const Ys = class Ys extends E {
|
|
|
8764
8771
|
top: this.headerHeight + e + "px",
|
|
8765
8772
|
bottom: this.copyrightHeight + e + "px"
|
|
8766
8773
|
};
|
|
8767
|
-
return w` <div class="container" style=${
|
|
8774
|
+
return w` <div class="container" style=${tp(t)}>
|
|
8768
8775
|
<iframe
|
|
8769
8776
|
class="video-iframe"
|
|
8770
8777
|
src=${this.userUrl.href}
|
|
@@ -8797,13 +8804,13 @@ Ys.styles = [
|
|
|
8797
8804
|
}
|
|
8798
8805
|
`
|
|
8799
8806
|
];
|
|
8800
|
-
let
|
|
8801
|
-
|
|
8807
|
+
let ti = Ys;
|
|
8808
|
+
np([
|
|
8802
8809
|
ue({ context: oe }),
|
|
8803
8810
|
k({ attribute: !1 })
|
|
8804
|
-
],
|
|
8805
|
-
window.customElements.get("ace-video-iframe") || window.customElements.define("ace-video-iframe",
|
|
8806
|
-
class
|
|
8811
|
+
], ti.prototype, "application");
|
|
8812
|
+
window.customElements.get("ace-video-iframe") || window.customElements.define("ace-video-iframe", ti);
|
|
8813
|
+
class sp {
|
|
8807
8814
|
constructor(e) {
|
|
8808
8815
|
this.provider = e, this._guestId = null, this._chatOverlayActive = !1, this._inVideoCall = !1;
|
|
8809
8816
|
}
|
|
@@ -8825,7 +8832,7 @@ class rp {
|
|
|
8825
8832
|
}
|
|
8826
8833
|
showVideoIFrame(e) {
|
|
8827
8834
|
var n;
|
|
8828
|
-
this._guestId = Ls(), this._videoIFrameElement = new
|
|
8835
|
+
this._guestId = Ls(), this._videoIFrameElement = new ti(e, this._guestId);
|
|
8829
8836
|
const t = this.provider.component.application.root;
|
|
8830
8837
|
(n = t == null ? void 0 : t.shadowRoot) == null || n.prepend(this._videoIFrameElement), this._inVideoCall = !0, this.provider.updateHeaderOption();
|
|
8831
8838
|
}
|
|
@@ -8837,14 +8844,25 @@ class rp {
|
|
|
8837
8844
|
(e = this._videoIFrameElement) == null || e.remove(), this._guestId = null, this._chatOverlayActive && (this._chatOverlayActive = !1, this.provider.showChatOverlay$.next(this._chatOverlayActive)), this._inVideoCall = !1, this.provider.updateHeaderOption();
|
|
8838
8845
|
}
|
|
8839
8846
|
}
|
|
8840
|
-
var
|
|
8847
|
+
var rp = Object.defineProperty, op = (i, e, t, n) => {
|
|
8841
8848
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
8842
8849
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
8843
|
-
return s &&
|
|
8850
|
+
return s && rp(e, t, s), s;
|
|
8844
8851
|
};
|
|
8845
8852
|
const Qs = class Qs extends E {
|
|
8846
8853
|
onClose() {
|
|
8847
|
-
this.application.trigger
|
|
8854
|
+
this.application.trigger ? this.application.trigger.toggleActive() : (this.notify("widget-minimize", {
|
|
8855
|
+
widgetId: this.application.id
|
|
8856
|
+
}), this.application.storage.set("open", !1));
|
|
8857
|
+
}
|
|
8858
|
+
notify(e, t = {}) {
|
|
8859
|
+
window != null && window.parent && window.parent.postMessage(
|
|
8860
|
+
{
|
|
8861
|
+
type: e,
|
|
8862
|
+
data: t
|
|
8863
|
+
},
|
|
8864
|
+
"*"
|
|
8865
|
+
);
|
|
8848
8866
|
}
|
|
8849
8867
|
render() {
|
|
8850
8868
|
const e = this.application.texts;
|
|
@@ -8932,7 +8950,7 @@ Qs.styles = [
|
|
|
8932
8950
|
`
|
|
8933
8951
|
];
|
|
8934
8952
|
let qi = Qs;
|
|
8935
|
-
|
|
8953
|
+
op([
|
|
8936
8954
|
ue({ context: oe }),
|
|
8937
8955
|
k({ attribute: !1 })
|
|
8938
8956
|
], qi.prototype, "application");
|
|
@@ -8940,12 +8958,12 @@ window.customElements.get("ace-chat-unavailable-card") || window.customElements.
|
|
|
8940
8958
|
"ace-chat-unavailable-card",
|
|
8941
8959
|
qi
|
|
8942
8960
|
);
|
|
8943
|
-
var
|
|
8961
|
+
var ap = Object.defineProperty, tl = (i, e, t, n) => {
|
|
8944
8962
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
8945
8963
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
8946
|
-
return s &&
|
|
8964
|
+
return s && ap(e, t, s), s;
|
|
8947
8965
|
};
|
|
8948
|
-
const
|
|
8966
|
+
const Ks = class Ks extends E {
|
|
8949
8967
|
connectedCallback() {
|
|
8950
8968
|
super.connectedCallback();
|
|
8951
8969
|
}
|
|
@@ -8982,7 +9000,7 @@ const Xs = class Xs extends E {
|
|
|
8982
9000
|
`;
|
|
8983
9001
|
}
|
|
8984
9002
|
render() {
|
|
8985
|
-
const e = `form-${
|
|
9003
|
+
const e = `form-${Ja(this.entry.name)}`, t = this.entry.displayName;
|
|
8986
9004
|
return this.entry.entryType === "text" ? w`<div class="container">
|
|
8987
9005
|
<label for=${e}
|
|
8988
9006
|
>${t} ${this.renderRequiredIndicator(this.entry.required)}
|
|
@@ -9031,7 +9049,7 @@ const Xs = class Xs extends E {
|
|
|
9031
9049
|
</div>` : w`<div>Unknown entry type</div>`;
|
|
9032
9050
|
}
|
|
9033
9051
|
};
|
|
9034
|
-
|
|
9052
|
+
Ks.styles = [
|
|
9035
9053
|
O`
|
|
9036
9054
|
:focus {
|
|
9037
9055
|
outline-color: var(--focus-color);
|
|
@@ -9125,15 +9143,15 @@ Xs.styles = [
|
|
|
9125
9143
|
}
|
|
9126
9144
|
`
|
|
9127
9145
|
];
|
|
9128
|
-
let
|
|
9129
|
-
|
|
9146
|
+
let ii = Ks;
|
|
9147
|
+
tl([
|
|
9130
9148
|
k({ attribute: !1 })
|
|
9131
|
-
],
|
|
9132
|
-
|
|
9149
|
+
], ii.prototype, "entry");
|
|
9150
|
+
tl([
|
|
9133
9151
|
ue({ context: oe }),
|
|
9134
9152
|
k({ attribute: !1 })
|
|
9135
|
-
],
|
|
9136
|
-
window.customElements.get("ace-contact-data-field") || window.customElements.define("ace-contact-data-field",
|
|
9153
|
+
], ii.prototype, "application");
|
|
9154
|
+
window.customElements.get("ace-contact-data-field") || window.customElements.define("ace-contact-data-field", ii);
|
|
9137
9155
|
class Fe {
|
|
9138
9156
|
constructor(e) {
|
|
9139
9157
|
this._email = "", this._host = e, e.addController(this);
|
|
@@ -9157,12 +9175,12 @@ class Fe {
|
|
|
9157
9175
|
this._email = "", this._host.requestUpdate();
|
|
9158
9176
|
}
|
|
9159
9177
|
}
|
|
9160
|
-
var
|
|
9178
|
+
var lp = Object.defineProperty, Is = (i, e, t, n) => {
|
|
9161
9179
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9162
9180
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9163
|
-
return s &&
|
|
9181
|
+
return s && lp(e, t, s), s;
|
|
9164
9182
|
};
|
|
9165
|
-
const
|
|
9183
|
+
const Xs = class Xs extends E {
|
|
9166
9184
|
constructor() {
|
|
9167
9185
|
super(...arguments), this.email = "", this.isEmailValid = !1, this.emailController = Fe.getInstance(this);
|
|
9168
9186
|
}
|
|
@@ -9231,7 +9249,7 @@ const Ks = class Ks extends E {
|
|
|
9231
9249
|
</div>`;
|
|
9232
9250
|
}
|
|
9233
9251
|
};
|
|
9234
|
-
|
|
9252
|
+
Xs.styles = [
|
|
9235
9253
|
O`
|
|
9236
9254
|
:host {
|
|
9237
9255
|
display: block;
|
|
@@ -9308,7 +9326,7 @@ Ks.styles = [
|
|
|
9308
9326
|
}
|
|
9309
9327
|
`
|
|
9310
9328
|
];
|
|
9311
|
-
let Et =
|
|
9329
|
+
let Et = Xs;
|
|
9312
9330
|
Is([
|
|
9313
9331
|
T()
|
|
9314
9332
|
], Et.prototype, "email");
|
|
@@ -9323,10 +9341,10 @@ window.customElements.get("ace-conversation-ended-form") || window.customElement
|
|
|
9323
9341
|
"ace-conversation-ended-form",
|
|
9324
9342
|
Et
|
|
9325
9343
|
);
|
|
9326
|
-
var
|
|
9344
|
+
var cp = Object.defineProperty, up = (i, e, t, n) => {
|
|
9327
9345
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9328
9346
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9329
|
-
return s &&
|
|
9347
|
+
return s && cp(e, t, s), s;
|
|
9330
9348
|
};
|
|
9331
9349
|
const Js = class Js extends E {
|
|
9332
9350
|
render() {
|
|
@@ -9402,7 +9420,7 @@ Js.styles = [
|
|
|
9402
9420
|
`
|
|
9403
9421
|
];
|
|
9404
9422
|
let Vi = Js;
|
|
9405
|
-
|
|
9423
|
+
up([
|
|
9406
9424
|
ue({ context: oe }),
|
|
9407
9425
|
k({ attribute: !1 })
|
|
9408
9426
|
], Vi.prototype, "application");
|
|
@@ -9410,10 +9428,10 @@ window.customElements.get("ace-entrance-closed-dialog") || window.customElements
|
|
|
9410
9428
|
"ace-entrance-closed-dialog",
|
|
9411
9429
|
Vi
|
|
9412
9430
|
);
|
|
9413
|
-
var
|
|
9431
|
+
var hp = Object.defineProperty, dp = (i, e, t, n) => {
|
|
9414
9432
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9415
9433
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9416
|
-
return s &&
|
|
9434
|
+
return s && hp(e, t, s), s;
|
|
9417
9435
|
};
|
|
9418
9436
|
const er = class er extends E {
|
|
9419
9437
|
firstUpdated() {
|
|
@@ -9536,15 +9554,15 @@ er.styles = [
|
|
|
9536
9554
|
`
|
|
9537
9555
|
];
|
|
9538
9556
|
let Wi = er;
|
|
9539
|
-
|
|
9557
|
+
dp([
|
|
9540
9558
|
ue({ context: oe }),
|
|
9541
9559
|
k({ attribute: !1 })
|
|
9542
9560
|
], Wi.prototype, "application");
|
|
9543
9561
|
window.customElements.get("ace-quit-confirm-dialog") || window.customElements.define("ace-quit-confirm-dialog", Wi);
|
|
9544
|
-
var
|
|
9562
|
+
var pp = Object.defineProperty, fp = (i, e, t, n) => {
|
|
9545
9563
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9546
9564
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9547
|
-
return s &&
|
|
9565
|
+
return s && pp(e, t, s), s;
|
|
9548
9566
|
};
|
|
9549
9567
|
const tr = class tr extends E {
|
|
9550
9568
|
constructor(e) {
|
|
@@ -9564,7 +9582,12 @@ const tr = class tr extends E {
|
|
|
9564
9582
|
<h3>${this.surveyTitle}</h3>
|
|
9565
9583
|
<p>${this.surveyText}</p>
|
|
9566
9584
|
<div class="link-container">
|
|
9567
|
-
<a
|
|
9585
|
+
<a
|
|
9586
|
+
class="primary"
|
|
9587
|
+
target="_blank"
|
|
9588
|
+
rel="noopener noreferrer"
|
|
9589
|
+
href="${this.surveyUrl}"
|
|
9590
|
+
>
|
|
9568
9591
|
${this.surveyLinkText}
|
|
9569
9592
|
<telia-icon svg=${qn.svg} size="sm"></telia-icon>
|
|
9570
9593
|
</a>
|
|
@@ -9622,15 +9645,15 @@ tr.styles = [
|
|
|
9622
9645
|
`
|
|
9623
9646
|
];
|
|
9624
9647
|
let Gi = tr;
|
|
9625
|
-
|
|
9648
|
+
fp([
|
|
9626
9649
|
ue({ context: oe }),
|
|
9627
9650
|
k({ attribute: !1 })
|
|
9628
9651
|
], Gi.prototype, "application");
|
|
9629
9652
|
window.customElements.get("ace-survey") || window.customElements.define("ace-survey", Gi);
|
|
9630
|
-
var
|
|
9653
|
+
var gp = Object.defineProperty, mp = (i, e, t, n) => {
|
|
9631
9654
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9632
9655
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9633
|
-
return s &&
|
|
9656
|
+
return s && gp(e, t, s), s;
|
|
9634
9657
|
};
|
|
9635
9658
|
const ir = class ir extends E {
|
|
9636
9659
|
constructor(e) {
|
|
@@ -9693,6 +9716,7 @@ const ir = class ir extends E {
|
|
|
9693
9716
|
<a
|
|
9694
9717
|
class="primary"
|
|
9695
9718
|
target="_blank"
|
|
9719
|
+
rel="noopener noreferrer"
|
|
9696
9720
|
href="${this.tunnistusURL}"
|
|
9697
9721
|
@click=${this.onStartAuth}
|
|
9698
9722
|
data-testId="auth-error-link"
|
|
@@ -9729,6 +9753,7 @@ const ir = class ir extends E {
|
|
|
9729
9753
|
<a
|
|
9730
9754
|
class="primary"
|
|
9731
9755
|
target="_blank"
|
|
9756
|
+
rel="noopener noreferrer"
|
|
9732
9757
|
href="${this.tunnistusURL}"
|
|
9733
9758
|
@click=${this.onStartAuth}
|
|
9734
9759
|
data-testId="auth-initial-link"
|
|
@@ -9821,15 +9846,15 @@ ir.styles = [
|
|
|
9821
9846
|
`
|
|
9822
9847
|
];
|
|
9823
9848
|
let Zi = ir;
|
|
9824
|
-
|
|
9849
|
+
mp([
|
|
9825
9850
|
ue({ context: oe }),
|
|
9826
9851
|
k({ attribute: !1 })
|
|
9827
9852
|
], Zi.prototype, "application");
|
|
9828
9853
|
window.customElements.get("ace-tunnistus-auth-card") || window.customElements.define("ace-tunnistus-auth-card", Zi);
|
|
9829
|
-
var
|
|
9854
|
+
var vp = Object.defineProperty, bp = (i, e, t, n) => {
|
|
9830
9855
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9831
9856
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9832
|
-
return s &&
|
|
9857
|
+
return s && vp(e, t, s), s;
|
|
9833
9858
|
};
|
|
9834
9859
|
const nr = class nr extends E {
|
|
9835
9860
|
_onStartVideo(e) {
|
|
@@ -9880,7 +9905,7 @@ const nr = class nr extends E {
|
|
|
9880
9905
|
</p>
|
|
9881
9906
|
<div class="button-container">
|
|
9882
9907
|
<button class="primary" type="submit" @click=${this._onStartVideo}>
|
|
9883
|
-
<telia-icon svg=${
|
|
9908
|
+
<telia-icon svg=${Gc.svg}></telia-icon>
|
|
9884
9909
|
${e.getOrFallback("video-confirm.accept-button", "Accept")}
|
|
9885
9910
|
</button>
|
|
9886
9911
|
<button class="secondary" type="button" @click=${this._onCancel}>
|
|
@@ -9957,15 +9982,15 @@ nr.styles = [
|
|
|
9957
9982
|
`
|
|
9958
9983
|
];
|
|
9959
9984
|
let Yi = nr;
|
|
9960
|
-
|
|
9985
|
+
bp([
|
|
9961
9986
|
ue({ context: oe }),
|
|
9962
9987
|
k({ attribute: !1 })
|
|
9963
9988
|
], Yi.prototype, "application");
|
|
9964
9989
|
window.customElements.get("ace-video-confirm-dialog") || window.customElements.define("ace-video-confirm-dialog", Yi);
|
|
9965
|
-
var
|
|
9990
|
+
var yp = Object.defineProperty, Ot = (i, e, t, n) => {
|
|
9966
9991
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
9967
9992
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
9968
|
-
return s &&
|
|
9993
|
+
return s && yp(e, t, s), s;
|
|
9969
9994
|
}, xt;
|
|
9970
9995
|
let ot = (xt = class extends E {
|
|
9971
9996
|
constructor() {
|
|
@@ -10077,12 +10102,12 @@ let ot = (xt = class extends E {
|
|
|
10077
10102
|
></ace-contact-data-field>
|
|
10078
10103
|
<div
|
|
10079
10104
|
class="warning-row"
|
|
10080
|
-
data-testid=${`form-${
|
|
10105
|
+
data-testid=${`form-${Ja(t.name)}-warning`}
|
|
10081
10106
|
style="display: ${this.showValidationWarning && this.validationErrors.includes(t.name) ? "flex" : "none"};"
|
|
10082
10107
|
>
|
|
10083
10108
|
<telia-icon
|
|
10084
10109
|
class="error-icon"
|
|
10085
|
-
svg=${
|
|
10110
|
+
svg=${Yc.svg}
|
|
10086
10111
|
></telia-icon>
|
|
10087
10112
|
<p class="error-text">${t.errorText}</p>
|
|
10088
10113
|
</div>
|
|
@@ -10199,10 +10224,10 @@ Ot([
|
|
|
10199
10224
|
k({ attribute: !1 })
|
|
10200
10225
|
], ot.prototype, "application");
|
|
10201
10226
|
window.customElements.get("ace-welcome-form") || window.customElements.define("ace-welcome-form", ot);
|
|
10202
|
-
var
|
|
10227
|
+
var wp = Object.defineProperty, Ps = (i, e, t, n) => {
|
|
10203
10228
|
for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
10204
10229
|
(o = i[r]) && (s = o(e, t, s) || s);
|
|
10205
|
-
return s &&
|
|
10230
|
+
return s && wp(e, t, s), s;
|
|
10206
10231
|
};
|
|
10207
10232
|
const sr = class sr extends E {
|
|
10208
10233
|
constructor() {
|
|
@@ -10366,7 +10391,7 @@ Ps([
|
|
|
10366
10391
|
k({ attribute: !1 })
|
|
10367
10392
|
], At.prototype, "application");
|
|
10368
10393
|
window.customElements.get("ace-welcome-form-third-party") || window.customElements.define("ace-welcome-form-third-party", At);
|
|
10369
|
-
class Ms extends
|
|
10394
|
+
class Ms extends Cc {
|
|
10370
10395
|
// ============================
|
|
10371
10396
|
// CONSTRUCTOR & INITIALIZATION
|
|
10372
10397
|
// ============================
|
|
@@ -10446,7 +10471,7 @@ class Ms extends _c {
|
|
|
10446
10471
|
return (e = this.engine) == null ? void 0 : e.getChatStatus();
|
|
10447
10472
|
}
|
|
10448
10473
|
initializeServices() {
|
|
10449
|
-
this.headerMenuService = new
|
|
10474
|
+
this.headerMenuService = new Jd(this), this.videoService = new sp(this), this.dialogService = new Xd(this), this.authService = new Kd(this);
|
|
10450
10475
|
}
|
|
10451
10476
|
// ==================================================
|
|
10452
10477
|
// LIFECYCLE METHODS (ConversationProvider overrides)
|
|
@@ -10477,7 +10502,7 @@ class Ms extends _c {
|
|
|
10477
10502
|
}
|
|
10478
10503
|
this.save({
|
|
10479
10504
|
chatSessionId: this.sessionId
|
|
10480
|
-
}), this.engine = new
|
|
10505
|
+
}), this.engine = new Qd(t, this.sessionId), (r = this.engine) == null || r.messages().subscribe((m) => {
|
|
10481
10506
|
switch (m.source) {
|
|
10482
10507
|
case "agent":
|
|
10483
10508
|
this.printAgent(m.text);
|
|
@@ -10489,10 +10514,10 @@ class Ms extends _c {
|
|
|
10489
10514
|
this.printSystem(m.text);
|
|
10490
10515
|
break;
|
|
10491
10516
|
}
|
|
10492
|
-
}), (o = this.engine) == null || o.actions().pipe(F(this.disconnected$), Q(
|
|
10517
|
+
}), (o = this.engine) == null || o.actions().pipe(F(this.disconnected$), Q(Fd)).subscribe(this.onQueueStatusReceived), (a = this.engine) == null || a.actions().pipe(F(this.disconnected$), Q(Hd)).subscribe(this.onEstablished), (l = this.engine) == null || l.actions().pipe(F(this.disconnected$), Q(Bd)).subscribe(this.onPrepareVideo), (c = this.engine) == null || c.actions().pipe(F(this.disconnected$), Q(qd)).subscribe(this.onVideoPrepared), (u = this.engine) == null || u.actions().pipe(F(this.disconnected$), Q(Vd)).subscribe(this.onChatButtonClicked), (p = this.engine) == null || p.actions().pipe(
|
|
10493
10518
|
F(this.disconnected$),
|
|
10494
|
-
Q(
|
|
10495
|
-
).subscribe(this.onEndVideoButtonClicked), (d = this.engine) == null || d.actions().pipe(F(this.disconnected$), Q(
|
|
10519
|
+
Q(Wd)
|
|
10520
|
+
).subscribe(this.onEndVideoButtonClicked), (d = this.engine) == null || d.actions().pipe(F(this.disconnected$), Q(jd)).subscribe(this.onPenStatusChange), (g = this.engine) == null || g.actions().pipe(F(this.disconnected$), Q(Gd)).subscribe(this.onChatEnded), this.headerMenuService.setHeaderOption();
|
|
10496
10521
|
const s = this.application.trigger;
|
|
10497
10522
|
s && s.widgetActive$.pipe(F(s.componentIsDestroyed$)).subscribe((m) => {
|
|
10498
10523
|
m && (this.conversationOption = null, this.headerMenuService.setHeaderOption());
|
|
@@ -10715,12 +10740,12 @@ class Ms extends _c {
|
|
|
10715
10740
|
});
|
|
10716
10741
|
}
|
|
10717
10742
|
}
|
|
10718
|
-
const
|
|
10743
|
+
const Ip = async (i) => {
|
|
10719
10744
|
(await us.getInstance(i.container)).registerProvider(
|
|
10720
10745
|
"ace-chat",
|
|
10721
10746
|
(t) => Ms.getInstance("ace-chat", t)
|
|
10722
10747
|
);
|
|
10723
10748
|
};
|
|
10724
10749
|
export {
|
|
10725
|
-
|
|
10750
|
+
Ip as ChatProviderPlugin
|
|
10726
10751
|
};
|