@telia-ace/widget-conversation-flamingo 1.1.76-rc.40 → 1.1.76-rc.41
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +49 -49
- package/index.mjs +381 -381
- package/package.json +2 -2
- package/widget-manifest.json +14 -0
package/index.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var x = (s, e, t) => (
|
1
|
+
var Ci = Object.defineProperty;
|
2
|
+
var Ai = (s, e, t) => e in s ? Ci(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
3
|
+
var x = (s, e, t) => (Ai(s, typeof e != "symbol" ? e + "" : e, t), t), Ei = (s, e, t) => {
|
4
4
|
if (!e.has(s))
|
5
5
|
throw TypeError("Cannot " + t);
|
6
6
|
};
|
@@ -9,9 +9,9 @@ var $t = (s, e, t) => {
|
|
9
9
|
throw TypeError("Cannot add the same private member more than once");
|
10
10
|
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
11
11
|
};
|
12
|
-
var He = (s, e, t) => (
|
13
|
-
const
|
14
|
-
s.registerComponent("conversation", Promise.resolve().then(() =>
|
12
|
+
var He = (s, e, t) => (Ei(s, e, "access private method"), t);
|
13
|
+
const Ul = async (s) => {
|
14
|
+
s.registerComponent("conversation", Promise.resolve().then(() => Ml));
|
15
15
|
};
|
16
16
|
class fs {
|
17
17
|
constructor() {
|
@@ -54,7 +54,7 @@ function ye(s, e) {
|
|
54
54
|
}
|
55
55
|
s.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
56
56
|
}
|
57
|
-
function
|
57
|
+
function Ti(s, e, t, n) {
|
58
58
|
function i(r) {
|
59
59
|
return r instanceof t ? r : new t(function(o) {
|
60
60
|
o(r);
|
@@ -187,7 +187,7 @@ function se(s, e, t) {
|
|
187
187
|
function pe(s) {
|
188
188
|
return this instanceof pe ? (this.v = s, this) : new pe(s);
|
189
189
|
}
|
190
|
-
function
|
190
|
+
function Li(s, e, t) {
|
191
191
|
if (!Symbol.asyncIterator)
|
192
192
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
193
193
|
var n = t.apply(s, e || []), i, r = [];
|
@@ -221,7 +221,7 @@ function Oi(s, e, t) {
|
|
221
221
|
p(d), r.shift(), r.length && a(r[0][0], r[0][1]);
|
222
222
|
}
|
223
223
|
}
|
224
|
-
function
|
224
|
+
function Oi(s) {
|
225
225
|
if (!Symbol.asyncIterator)
|
226
226
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
227
227
|
var e = s[Symbol.asyncIterator], t;
|
@@ -395,7 +395,7 @@ var Wt = function(s) {
|
|
395
395
|
ye(e, s);
|
396
396
|
function e(t) {
|
397
397
|
var n = s.call(this) || this;
|
398
|
-
return n.isStopped = !1, t ? (n.destination = t, bs(t) && t.add(n)) : n.destination =
|
398
|
+
return n.isStopped = !1, t ? (n.destination = t, bs(t) && t.add(n)) : n.destination = Mi, n;
|
399
399
|
}
|
400
400
|
return e.create = function(t, n, i) {
|
401
401
|
return new Rt(t, n, i);
|
@@ -422,11 +422,11 @@ var Wt = function(s) {
|
|
422
422
|
this.unsubscribe();
|
423
423
|
}
|
424
424
|
}, e;
|
425
|
-
}(at),
|
425
|
+
}(at), Pi = Function.prototype.bind;
|
426
426
|
function wt(s, e) {
|
427
|
-
return
|
427
|
+
return Pi.call(s, e);
|
428
428
|
}
|
429
|
-
var
|
429
|
+
var Ri = function() {
|
430
430
|
function s(e) {
|
431
431
|
this.partialObserver = e;
|
432
432
|
}
|
@@ -477,20 +477,20 @@ var Ii = function() {
|
|
477
477
|
complete: t.complete && wt(t.complete, a)
|
478
478
|
}) : o = t;
|
479
479
|
}
|
480
|
-
return r.destination = new
|
480
|
+
return r.destination = new Ri(o), r;
|
481
481
|
}
|
482
482
|
return e;
|
483
483
|
}(Wt);
|
484
484
|
function Be(s) {
|
485
485
|
$s(s);
|
486
486
|
}
|
487
|
-
function
|
487
|
+
function Ii(s) {
|
488
488
|
throw s;
|
489
489
|
}
|
490
|
-
var
|
490
|
+
var Mi = {
|
491
491
|
closed: !0,
|
492
492
|
next: Ye,
|
493
|
-
error:
|
493
|
+
error: Ii,
|
494
494
|
complete: Ye
|
495
495
|
}, Yt = function() {
|
496
496
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
@@ -498,7 +498,7 @@ var zi = {
|
|
498
498
|
function Pe(s) {
|
499
499
|
return s;
|
500
500
|
}
|
501
|
-
function
|
501
|
+
function zi(s) {
|
502
502
|
return s.length === 0 ? Pe : s.length === 1 ? s[0] : function(t) {
|
503
503
|
return s.reduce(function(n, i) {
|
504
504
|
return i(n);
|
@@ -513,7 +513,7 @@ var A = function() {
|
|
513
513
|
var t = new s();
|
514
514
|
return t.source = this, t.operator = e, t;
|
515
515
|
}, s.prototype.subscribe = function(e, t, n) {
|
516
|
-
var i = this, r =
|
516
|
+
var i = this, r = ji(e) ? e : new Rt(e, t, n);
|
517
517
|
return Ze(function() {
|
518
518
|
var o = i, a = o.operator, l = o.source;
|
519
519
|
r.add(a ? a.call(r, l) : l ? i._subscribe(r) : i._trySubscribe(r));
|
@@ -548,7 +548,7 @@ var A = function() {
|
|
548
548
|
}, s.prototype.pipe = function() {
|
549
549
|
for (var e = [], t = 0; t < arguments.length; t++)
|
550
550
|
e[t] = arguments[t];
|
551
|
-
return
|
551
|
+
return zi(e)(this);
|
552
552
|
}, s.prototype.toPromise = function(e) {
|
553
553
|
var t = this;
|
554
554
|
return e = Sn(e), new e(function(n, i) {
|
@@ -569,18 +569,18 @@ function Sn(s) {
|
|
569
569
|
var e;
|
570
570
|
return (e = s ?? ys.Promise) !== null && e !== void 0 ? e : Promise;
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function Ui(s) {
|
573
573
|
return s && $(s.next) && $(s.error) && $(s.complete);
|
574
574
|
}
|
575
|
-
function
|
576
|
-
return s && s instanceof Wt ||
|
575
|
+
function ji(s) {
|
576
|
+
return s && s instanceof Wt || Ui(s) && bs(s);
|
577
577
|
}
|
578
|
-
function
|
578
|
+
function Di(s) {
|
579
579
|
return $(s == null ? void 0 : s.lift);
|
580
580
|
}
|
581
581
|
function K(s) {
|
582
582
|
return function(e) {
|
583
|
-
if (
|
583
|
+
if (Di(e))
|
584
584
|
return e.lift(function(t) {
|
585
585
|
try {
|
586
586
|
return s(t, this);
|
@@ -592,9 +592,9 @@ function K(s) {
|
|
592
592
|
};
|
593
593
|
}
|
594
594
|
function P(s, e, t, n, i) {
|
595
|
-
return new
|
595
|
+
return new Hi(s, e, t, n, i);
|
596
596
|
}
|
597
|
-
var
|
597
|
+
var Hi = function(s) {
|
598
598
|
ye(e, s);
|
599
599
|
function e(t, n, i, r, o, a) {
|
600
600
|
var l = s.call(this, t) || this;
|
@@ -629,7 +629,7 @@ var Bi = function(s) {
|
|
629
629
|
s.prototype.unsubscribe.call(this), !n && ((t = this.onFinalize) === null || t === void 0 || t.call(this));
|
630
630
|
}
|
631
631
|
}, e;
|
632
|
-
}(Wt),
|
632
|
+
}(Wt), Bi = ms(function(s) {
|
633
633
|
return function() {
|
634
634
|
s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
635
635
|
};
|
@@ -644,7 +644,7 @@ var Bi = function(s) {
|
|
644
644
|
return n.operator = t, n;
|
645
645
|
}, e.prototype._throwIfClosed = function() {
|
646
646
|
if (this.closed)
|
647
|
-
throw new
|
647
|
+
throw new Bi();
|
648
648
|
}, e.prototype.next = function(t) {
|
649
649
|
var n = this;
|
650
650
|
Ze(function() {
|
@@ -758,7 +758,7 @@ var Bi = function(s) {
|
|
758
758
|
}(_), Re = new A(function(s) {
|
759
759
|
return s.complete();
|
760
760
|
});
|
761
|
-
function
|
761
|
+
function Ni(s) {
|
762
762
|
return s && $(s.schedule);
|
763
763
|
}
|
764
764
|
function Qt(s) {
|
@@ -768,9 +768,9 @@ function xs(s) {
|
|
768
768
|
return $(Qt(s)) ? s.pop() : void 0;
|
769
769
|
}
|
770
770
|
function Gt(s) {
|
771
|
-
return
|
771
|
+
return Ni(Qt(s)) ? s.pop() : void 0;
|
772
772
|
}
|
773
|
-
function
|
773
|
+
function Fi(s, e) {
|
774
774
|
return typeof Qt(s) == "number" ? s.pop() : e;
|
775
775
|
}
|
776
776
|
var Kt = function(s) {
|
@@ -788,15 +788,15 @@ function _s(s) {
|
|
788
788
|
function Ss(s) {
|
789
789
|
return new TypeError("You provided " + (s !== null && typeof s == "object" ? "an invalid object" : "'" + s + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
790
790
|
}
|
791
|
-
function
|
791
|
+
function qi() {
|
792
792
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
793
793
|
}
|
794
|
-
var Cs =
|
794
|
+
var Cs = qi();
|
795
795
|
function As(s) {
|
796
796
|
return $(s == null ? void 0 : s[Cs]);
|
797
797
|
}
|
798
798
|
function Es(s) {
|
799
|
-
return
|
799
|
+
return Li(this, arguments, function() {
|
800
800
|
var t, n, i, r;
|
801
801
|
return gs(this, function(o) {
|
802
802
|
switch (o.label) {
|
@@ -834,21 +834,21 @@ function B(s) {
|
|
834
834
|
return s;
|
835
835
|
if (s != null) {
|
836
836
|
if (ks(s))
|
837
|
-
return
|
837
|
+
return Zi(s);
|
838
838
|
if (Kt(s))
|
839
|
-
return
|
839
|
+
return Wi(s);
|
840
840
|
if (ws(s))
|
841
|
-
return
|
841
|
+
return Yi(s);
|
842
842
|
if (_s(s))
|
843
843
|
return Ls(s);
|
844
844
|
if (As(s))
|
845
|
-
return
|
845
|
+
return Qi(s);
|
846
846
|
if (Ts(s))
|
847
|
-
return
|
847
|
+
return Gi(s);
|
848
848
|
}
|
849
849
|
throw Ss(s);
|
850
850
|
}
|
851
|
-
function
|
851
|
+
function Zi(s) {
|
852
852
|
return new A(function(e) {
|
853
853
|
var t = s[Yt]();
|
854
854
|
if ($(t.subscribe))
|
@@ -856,14 +856,14 @@ function Wi(s) {
|
|
856
856
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
857
857
|
});
|
858
858
|
}
|
859
|
-
function
|
859
|
+
function Wi(s) {
|
860
860
|
return new A(function(e) {
|
861
861
|
for (var t = 0; t < s.length && !e.closed; t++)
|
862
862
|
e.next(s[t]);
|
863
863
|
e.complete();
|
864
864
|
});
|
865
865
|
}
|
866
|
-
function
|
866
|
+
function Yi(s) {
|
867
867
|
return new A(function(e) {
|
868
868
|
s.then(function(t) {
|
869
869
|
e.closed || (e.next(t), e.complete());
|
@@ -872,7 +872,7 @@ function Qi(s) {
|
|
872
872
|
}).then(null, $s);
|
873
873
|
});
|
874
874
|
}
|
875
|
-
function
|
875
|
+
function Qi(s) {
|
876
876
|
return new A(function(e) {
|
877
877
|
var t, n;
|
878
878
|
try {
|
@@ -896,22 +896,22 @@ function Gi(s) {
|
|
896
896
|
}
|
897
897
|
function Ls(s) {
|
898
898
|
return new A(function(e) {
|
899
|
-
|
899
|
+
Ki(s, e).catch(function(t) {
|
900
900
|
return e.error(t);
|
901
901
|
});
|
902
902
|
});
|
903
903
|
}
|
904
|
-
function
|
904
|
+
function Gi(s) {
|
905
905
|
return Ls(Es(s));
|
906
906
|
}
|
907
|
-
function
|
907
|
+
function Ki(s, e) {
|
908
908
|
var t, n, i, r;
|
909
|
-
return
|
909
|
+
return Ti(this, void 0, void 0, function() {
|
910
910
|
var o, a;
|
911
911
|
return gs(this, function(l) {
|
912
912
|
switch (l.label) {
|
913
913
|
case 0:
|
914
|
-
l.trys.push([0, 5, 6, 11]), t =
|
914
|
+
l.trys.push([0, 5, 6, 11]), t = Oi(s), l.label = 1;
|
915
915
|
case 1:
|
916
916
|
return [4, t.next()];
|
917
917
|
case 2:
|
@@ -976,13 +976,13 @@ function Ps(s, e) {
|
|
976
976
|
}, e));
|
977
977
|
});
|
978
978
|
}
|
979
|
-
function
|
979
|
+
function Xi(s, e) {
|
980
980
|
return B(s).pipe(Ps(e), Os(e));
|
981
981
|
}
|
982
|
-
function
|
982
|
+
function Vi(s, e) {
|
983
983
|
return B(s).pipe(Ps(e), Os(e));
|
984
984
|
}
|
985
|
-
function
|
985
|
+
function Ji(s, e) {
|
986
986
|
return new A(function(t) {
|
987
987
|
var n = 0;
|
988
988
|
return e.schedule(function() {
|
@@ -990,7 +990,7 @@ function er(s, e) {
|
|
990
990
|
});
|
991
991
|
});
|
992
992
|
}
|
993
|
-
function
|
993
|
+
function er(s, e) {
|
994
994
|
return new A(function(t) {
|
995
995
|
var n;
|
996
996
|
return q(t, e, function() {
|
@@ -1023,28 +1023,28 @@ function Rs(s, e) {
|
|
1023
1023
|
});
|
1024
1024
|
});
|
1025
1025
|
}
|
1026
|
-
function
|
1026
|
+
function tr(s, e) {
|
1027
1027
|
return Rs(Es(s), e);
|
1028
1028
|
}
|
1029
|
-
function
|
1029
|
+
function nr(s, e) {
|
1030
1030
|
if (s != null) {
|
1031
1031
|
if (ks(s))
|
1032
|
-
return
|
1032
|
+
return Xi(s, e);
|
1033
1033
|
if (Kt(s))
|
1034
|
-
return er(s, e);
|
1035
|
-
if (ws(s))
|
1036
1034
|
return Ji(s, e);
|
1035
|
+
if (ws(s))
|
1036
|
+
return Vi(s, e);
|
1037
1037
|
if (_s(s))
|
1038
1038
|
return Rs(s, e);
|
1039
1039
|
if (As(s))
|
1040
|
-
return
|
1040
|
+
return er(s, e);
|
1041
1041
|
if (Ts(s))
|
1042
|
-
return
|
1042
|
+
return tr(s, e);
|
1043
1043
|
}
|
1044
1044
|
throw Ss(s);
|
1045
1045
|
}
|
1046
1046
|
function lt(s, e) {
|
1047
|
-
return e ?
|
1047
|
+
return e ? nr(s, e) : B(s);
|
1048
1048
|
}
|
1049
1049
|
function It() {
|
1050
1050
|
for (var s = [], e = 0; e < arguments.length; e++)
|
@@ -1060,23 +1060,23 @@ function Qe(s, e) {
|
|
1060
1060
|
}));
|
1061
1061
|
});
|
1062
1062
|
}
|
1063
|
-
var
|
1064
|
-
function
|
1065
|
-
return
|
1063
|
+
var sr = Array.isArray;
|
1064
|
+
function ir(s, e) {
|
1065
|
+
return sr(e) ? s.apply(void 0, se([], Q(e))) : s(e);
|
1066
1066
|
}
|
1067
1067
|
function Is(s) {
|
1068
1068
|
return Qe(function(e) {
|
1069
|
-
return
|
1069
|
+
return ir(s, e);
|
1070
1070
|
});
|
1071
1071
|
}
|
1072
|
-
var
|
1073
|
-
function
|
1072
|
+
var rr = Array.isArray, or = Object.getPrototypeOf, ar = Object.prototype, lr = Object.keys;
|
1073
|
+
function cr(s) {
|
1074
1074
|
if (s.length === 1) {
|
1075
1075
|
var e = s[0];
|
1076
|
-
if (
|
1076
|
+
if (rr(e))
|
1077
1077
|
return { args: e, keys: null };
|
1078
|
-
if (
|
1079
|
-
var t =
|
1078
|
+
if (hr(e)) {
|
1079
|
+
var t = lr(e);
|
1080
1080
|
return {
|
1081
1081
|
args: t.map(function(n) {
|
1082
1082
|
return e[n];
|
@@ -1087,26 +1087,26 @@ function hr(s) {
|
|
1087
1087
|
}
|
1088
1088
|
return { args: s, keys: null };
|
1089
1089
|
}
|
1090
|
-
function
|
1091
|
-
return s && typeof s == "object" &&
|
1090
|
+
function hr(s) {
|
1091
|
+
return s && typeof s == "object" && or(s) === ar;
|
1092
1092
|
}
|
1093
|
-
function
|
1093
|
+
function ur(s, e) {
|
1094
1094
|
return s.reduce(function(t, n, i) {
|
1095
1095
|
return t[n] = e[i], t;
|
1096
1096
|
}, {});
|
1097
1097
|
}
|
1098
|
-
function
|
1098
|
+
function pr() {
|
1099
1099
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1100
1100
|
s[e] = arguments[e];
|
1101
|
-
var t = Gt(s), n = xs(s), i =
|
1101
|
+
var t = Gt(s), n = xs(s), i = cr(s), r = i.args, o = i.keys;
|
1102
1102
|
if (r.length === 0)
|
1103
1103
|
return lt([], t);
|
1104
|
-
var a = new A(
|
1105
|
-
return
|
1104
|
+
var a = new A(dr(r, t, o ? function(l) {
|
1105
|
+
return ur(o, l);
|
1106
1106
|
} : Pe));
|
1107
1107
|
return n ? a.pipe(Is(n)) : a;
|
1108
1108
|
}
|
1109
|
-
function
|
1109
|
+
function dr(s, e, t) {
|
1110
1110
|
return t === void 0 && (t = Pe), function(n) {
|
1111
1111
|
An(e, function() {
|
1112
1112
|
for (var i = s.length, r = new Array(i), o = i, a = i, l = function(h) {
|
@@ -1126,7 +1126,7 @@ function fr(s, e, t) {
|
|
1126
1126
|
function An(s, e, t) {
|
1127
1127
|
s ? q(t, s, e) : e();
|
1128
1128
|
}
|
1129
|
-
function
|
1129
|
+
function fr(s, e, t, n, i, r, o, a) {
|
1130
1130
|
var l = [], c = 0, h = 0, u = !1, p = function() {
|
1131
1131
|
u && !l.length && !c && e.complete();
|
1132
1132
|
}, d = function(f) {
|
@@ -1167,21 +1167,21 @@ function Xt(s, e, t) {
|
|
1167
1167
|
return e(n, r, i, o);
|
1168
1168
|
})(B(s(n, i)));
|
1169
1169
|
}, t) : (typeof e == "number" && (t = e), K(function(n, i) {
|
1170
|
-
return
|
1170
|
+
return fr(n, i, s, t);
|
1171
1171
|
}));
|
1172
1172
|
}
|
1173
|
-
function
|
1173
|
+
function gr(s) {
|
1174
1174
|
return s === void 0 && (s = 1 / 0), Xt(Pe, s);
|
1175
1175
|
}
|
1176
|
-
var
|
1176
|
+
var mr = ["addListener", "removeListener"], vr = ["addEventListener", "removeEventListener"], br = ["on", "off"];
|
1177
1177
|
function Ge(s, e, t, n) {
|
1178
1178
|
if ($(t) && (n = t, t = void 0), n)
|
1179
1179
|
return Ge(s, e, t).pipe(Is(n));
|
1180
|
-
var i = Q(
|
1180
|
+
var i = Q(xr(s) ? vr.map(function(a) {
|
1181
1181
|
return function(l) {
|
1182
1182
|
return s[a](e, l, t);
|
1183
1183
|
};
|
1184
|
-
}) :
|
1184
|
+
}) : yr(s) ? mr.map(En(s, e)) : $r(s) ? br.map(En(s, e)) : [], 2), r = i[0], o = i[1];
|
1185
1185
|
if (!r && Kt(s))
|
1186
1186
|
return Xt(function(a) {
|
1187
1187
|
return Ge(a, e, t);
|
@@ -1206,20 +1206,20 @@ function En(s, e) {
|
|
1206
1206
|
};
|
1207
1207
|
};
|
1208
1208
|
}
|
1209
|
-
function
|
1209
|
+
function yr(s) {
|
1210
1210
|
return $(s.addListener) && $(s.removeListener);
|
1211
1211
|
}
|
1212
|
-
function
|
1212
|
+
function $r(s) {
|
1213
1213
|
return $(s.on) && $(s.off);
|
1214
1214
|
}
|
1215
|
-
function
|
1215
|
+
function xr(s) {
|
1216
1216
|
return $(s.addEventListener) && $(s.removeEventListener);
|
1217
1217
|
}
|
1218
|
-
function
|
1218
|
+
function wr() {
|
1219
1219
|
for (var s = [], e = 0; e < arguments.length; e++)
|
1220
1220
|
s[e] = arguments[e];
|
1221
|
-
var t = Gt(s), n =
|
1222
|
-
return i.length ? i.length === 1 ? B(i[0]) :
|
1221
|
+
var t = Gt(s), n = Fi(s, 1 / 0), i = s;
|
1222
|
+
return i.length ? i.length === 1 ? B(i[0]) : gr(n)(lt(i, t)) : Re;
|
1223
1223
|
}
|
1224
1224
|
function Mt(s) {
|
1225
1225
|
return s <= 0 ? function() {
|
@@ -1278,11 +1278,11 @@ function Ut() {
|
|
1278
1278
|
});
|
1279
1279
|
}
|
1280
1280
|
var W = /* @__PURE__ */ ((s) => (s.User = "user", s.Agent = "agent", s.System = "system", s))(W || {});
|
1281
|
-
const
|
1281
|
+
const kr = () => "10000000-1000-4000-8000-100000000000".replace(
|
1282
1282
|
/[018]/g,
|
1283
1283
|
(s) => (+s ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +s / 4).toString(16)
|
1284
|
-
), Ms = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() :
|
1285
|
-
function
|
1284
|
+
), Ms = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : kr();
|
1285
|
+
function jl(s) {
|
1286
1286
|
let e = s;
|
1287
1287
|
const t = /https?:\/\/[^\s<]+/gi, n = /<a [^>]*href="([^"]*)"[^>]*>[^<]*<\/a>/g, i = s.match(t) || [], r = [];
|
1288
1288
|
let o;
|
@@ -1302,9 +1302,9 @@ function Dl(s) {
|
|
1302
1302
|
);
|
1303
1303
|
}), e;
|
1304
1304
|
}
|
1305
|
-
function
|
1305
|
+
function _r(s) {
|
1306
1306
|
if (s.includes("aceChatGuideTitle"))
|
1307
|
-
return
|
1307
|
+
return Sr(s);
|
1308
1308
|
const e = /<a [^>]*>https?:\/\/[^<]*<\/a>/gim;
|
1309
1309
|
return s.replace(e, (t) => {
|
1310
1310
|
const n = zs(t);
|
@@ -1338,7 +1338,7 @@ function zs(s) {
|
|
1338
1338
|
function jt(s, e) {
|
1339
1339
|
return s.replace(/>[^<]*<\/a>/, `>${e}</a>`);
|
1340
1340
|
}
|
1341
|
-
function
|
1341
|
+
function Sr(s) {
|
1342
1342
|
const e = /<a [^>]*aceChatGuideTitle[^>]*>[^<]*<\/a>/gm;
|
1343
1343
|
return s.replace(e, (t) => {
|
1344
1344
|
const n = zs(t);
|
@@ -1366,7 +1366,7 @@ class ct {
|
|
1366
1366
|
this.remove$.next();
|
1367
1367
|
}
|
1368
1368
|
}
|
1369
|
-
class
|
1369
|
+
class Cr {
|
1370
1370
|
constructor(e) {
|
1371
1371
|
this.name = e, this.print$ = new _();
|
1372
1372
|
}
|
@@ -1386,7 +1386,7 @@ class Ar {
|
|
1386
1386
|
return this.print$.asObservable();
|
1387
1387
|
}
|
1388
1388
|
}
|
1389
|
-
class
|
1389
|
+
class Ar {
|
1390
1390
|
constructor(e) {
|
1391
1391
|
this.name = e, this.print$ = new _();
|
1392
1392
|
}
|
@@ -1406,7 +1406,7 @@ class Er {
|
|
1406
1406
|
return this.print$.asObservable();
|
1407
1407
|
}
|
1408
1408
|
}
|
1409
|
-
class
|
1409
|
+
class Er {
|
1410
1410
|
constructor() {
|
1411
1411
|
this.print$ = new _(), this.name = "system";
|
1412
1412
|
}
|
@@ -1426,7 +1426,7 @@ class Tr {
|
|
1426
1426
|
return this.print$.asObservable();
|
1427
1427
|
}
|
1428
1428
|
}
|
1429
|
-
class
|
1429
|
+
class Dl {
|
1430
1430
|
constructor(e, t) {
|
1431
1431
|
this.name = e, this.component = t, this.print$ = new _(), this.typingState$ = new U(!1), this.complete$ = new _(), this.system = this.createSystem(), this.rehydrate$ = new _(), this.saveToCurrentSession$ = new _(), this.showChatOverlay$ = new U(!1), this.onComplete = () => this.complete$.asObservable();
|
1432
1432
|
}
|
@@ -1460,19 +1460,19 @@ class Hl {
|
|
1460
1460
|
return this.print$.next(e), e;
|
1461
1461
|
}
|
1462
1462
|
createAgent(e) {
|
1463
|
-
const t = new
|
1463
|
+
const t = new Cr(e);
|
1464
1464
|
return t.subscribe().subscribe((n) => {
|
1465
1465
|
this.playNotification(), this.printEntry(n);
|
1466
1466
|
}), t;
|
1467
1467
|
}
|
1468
1468
|
createUser(e) {
|
1469
|
-
const t = new
|
1469
|
+
const t = new Ar(e);
|
1470
1470
|
return t.subscribe().subscribe((n) => {
|
1471
1471
|
this.printEntry(n);
|
1472
1472
|
}), t;
|
1473
1473
|
}
|
1474
1474
|
createSystem() {
|
1475
|
-
const e = new
|
1475
|
+
const e = new Er();
|
1476
1476
|
return e.subscribe().subscribe((t) => {
|
1477
1477
|
this.printEntry(t);
|
1478
1478
|
}), e;
|
@@ -1528,7 +1528,7 @@ let Us = class {
|
|
1528
1528
|
return this.cssText;
|
1529
1529
|
}
|
1530
1530
|
};
|
1531
|
-
const
|
1531
|
+
const Tr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s, ...e) => {
|
1532
1532
|
const t = s.length === 1 ? s[0] : e.reduce((n, i, r) => n + ((o) => {
|
1533
1533
|
if (o._$cssResult$ === !0)
|
1534
1534
|
return o.cssText;
|
@@ -1537,7 +1537,7 @@ const Lr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s,
|
|
1537
1537
|
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.");
|
1538
1538
|
})(i) + s[r + 1], s[0]);
|
1539
1539
|
return new Us(t, s, Jt);
|
1540
|
-
},
|
1540
|
+
}, Lr = (s, e) => {
|
1541
1541
|
if (Vt)
|
1542
1542
|
s.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
1543
1543
|
else
|
@@ -1549,17 +1549,17 @@ const Lr = (s) => new Us(typeof s == "string" ? s : s + "", void 0, Jt), E = (s,
|
|
1549
1549
|
let t = "";
|
1550
1550
|
for (const n of e.cssRules)
|
1551
1551
|
t += n.cssText;
|
1552
|
-
return
|
1552
|
+
return Tr(t);
|
1553
1553
|
})(s) : s;
|
1554
1554
|
/**
|
1555
1555
|
* @license
|
1556
1556
|
* Copyright 2017 Google LLC
|
1557
1557
|
* SPDX-License-Identifier: BSD-3-Clause
|
1558
1558
|
*/
|
1559
|
-
const { is:
|
1559
|
+
const { is: Or, defineProperty: Pr, getOwnPropertyDescriptor: Rr, getOwnPropertyNames: Ir, getOwnPropertySymbols: Mr, getPrototypeOf: zr } = Object, Y = globalThis, On = Y.trustedTypes, Ur = On ? On.emptyScript : "", kt = Y.reactiveElementPolyfillSupport, we = (s, e) => s, Ke = { toAttribute(s, e) {
|
1560
1560
|
switch (e) {
|
1561
1561
|
case Boolean:
|
1562
|
-
s = s ?
|
1562
|
+
s = s ? Ur : null;
|
1563
1563
|
break;
|
1564
1564
|
case Object:
|
1565
1565
|
case Array:
|
@@ -1584,7 +1584,7 @@ const { is: Pr, defineProperty: Rr, getOwnPropertyDescriptor: Ir, getOwnProperty
|
|
1584
1584
|
}
|
1585
1585
|
}
|
1586
1586
|
return t;
|
1587
|
-
} }, en = (s, e) => !
|
1587
|
+
} }, en = (s, e) => !Or(s, e), Pn = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: en };
|
1588
1588
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Y.litPropertyMetadata ?? (Y.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
1589
1589
|
let le = class extends HTMLElement {
|
1590
1590
|
static addInitializer(e) {
|
@@ -1596,11 +1596,11 @@ let le = class extends HTMLElement {
|
|
1596
1596
|
static createProperty(e, t = Pn) {
|
1597
1597
|
if (t.state && (t.attribute = !1), this._$Ei(), this.elementProperties.set(e, t), !t.noAccessor) {
|
1598
1598
|
const n = Symbol(), i = this.getPropertyDescriptor(e, n, t);
|
1599
|
-
i !== void 0 &&
|
1599
|
+
i !== void 0 && Pr(this.prototype, e, i);
|
1600
1600
|
}
|
1601
1601
|
}
|
1602
1602
|
static getPropertyDescriptor(e, t, n) {
|
1603
|
-
const { get: i, set: r } =
|
1603
|
+
const { get: i, set: r } = Rr(this.prototype, e) ?? { get() {
|
1604
1604
|
return this[t];
|
1605
1605
|
}, set(o) {
|
1606
1606
|
this[t] = o;
|
@@ -1618,14 +1618,14 @@ let le = class extends HTMLElement {
|
|
1618
1618
|
static _$Ei() {
|
1619
1619
|
if (this.hasOwnProperty(we("elementProperties")))
|
1620
1620
|
return;
|
1621
|
-
const e =
|
1621
|
+
const e = zr(this);
|
1622
1622
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
1623
1623
|
}
|
1624
1624
|
static finalize() {
|
1625
1625
|
if (this.hasOwnProperty(we("finalized")))
|
1626
1626
|
return;
|
1627
1627
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(we("properties"))) {
|
1628
|
-
const t = this.properties, n = [...
|
1628
|
+
const t = this.properties, n = [...Ir(t), ...Mr(t)];
|
1629
1629
|
for (const i of n)
|
1630
1630
|
this.createProperty(i, t[i]);
|
1631
1631
|
}
|
@@ -1680,7 +1680,7 @@ let le = class extends HTMLElement {
|
|
1680
1680
|
}
|
1681
1681
|
createRenderRoot() {
|
1682
1682
|
const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
1683
|
-
return
|
1683
|
+
return Lr(e, this.constructor.elementStyles), e;
|
1684
1684
|
}
|
1685
1685
|
connectedCallback() {
|
1686
1686
|
var e;
|
@@ -1803,15 +1803,15 @@ le.elementStyles = [], le.shadowRootOptions = { mode: "open" }, le[we("elementPr
|
|
1803
1803
|
* Copyright 2017 Google LLC
|
1804
1804
|
* SPDX-License-Identifier: BSD-3-Clause
|
1805
1805
|
*/
|
1806
|
-
const ke = globalThis, Xe = ke.trustedTypes, Rn = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, js = "$lit$", Z = `lit$${(Math.random() + "").slice(9)}$`, Ds = "?" + Z,
|
1806
|
+
const ke = globalThis, Xe = ke.trustedTypes, Rn = Xe ? Xe.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, js = "$lit$", Z = `lit$${(Math.random() + "").slice(9)}$`, Ds = "?" + Z, jr = `<${Ds}>`, ie = document, Ae = () => ie.createComment(""), Ee = (s) => s === null || typeof s != "object" && typeof s != "function", Hs = Array.isArray, Dr = (s) => Hs(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", _t = `[
|
1807
1807
|
\f\r]`, $e = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, In = /-->/g, Mn = />/g, ee = RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
|
1808
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), zn = /'/g, Un = /"/g, Bs = /^(?:script|style|textarea|title)$/i,
|
1808
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), zn = /'/g, Un = /"/g, Bs = /^(?:script|style|textarea|title)$/i, Hr = (s) => (e, ...t) => ({ _$litType$: s, strings: e, values: t }), m = Hr(1), G = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), jn = /* @__PURE__ */ new WeakMap(), ne = ie.createTreeWalker(ie, 129);
|
1809
1809
|
function Ns(s, e) {
|
1810
1810
|
if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
|
1811
1811
|
throw Error("invalid template strings array");
|
1812
1812
|
return Rn !== void 0 ? Rn.createHTML(e) : e;
|
1813
1813
|
}
|
1814
|
-
const
|
1814
|
+
const Br = (s, e) => {
|
1815
1815
|
const t = s.length - 1, n = [];
|
1816
1816
|
let i, r = e === 2 ? "<svg>" : "", o = $e;
|
1817
1817
|
for (let a = 0; a < t; a++) {
|
@@ -1820,7 +1820,7 @@ const Nr = (s, e) => {
|
|
1820
1820
|
for (; p < l.length && (o.lastIndex = p, h = o.exec(l), h !== null); )
|
1821
1821
|
p = o.lastIndex, o === $e ? h[1] === "!--" ? o = In : h[1] !== void 0 ? o = Mn : h[2] !== void 0 ? (Bs.test(h[2]) && (i = RegExp("</" + h[2], "g")), o = ee) : h[3] !== void 0 && (o = ee) : o === ee ? h[0] === ">" ? (o = i ?? $e, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? ee : h[3] === '"' ? Un : zn) : o === Un || o === zn ? o = ee : o === In || o === Mn ? o = $e : (o = ee, i = void 0);
|
1822
1822
|
const d = o === ee && s[a + 1].startsWith("/>") ? " " : "";
|
1823
|
-
r += o === $e ? l +
|
1823
|
+
r += o === $e ? l + jr : u >= 0 ? (n.push(c), l.slice(0, u) + js + l.slice(u) + Z + d) : l + Z + (u === -2 ? a : d);
|
1824
1824
|
}
|
1825
1825
|
return [Ns(s, r + (s[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
|
1826
1826
|
};
|
@@ -1829,7 +1829,7 @@ class Te {
|
|
1829
1829
|
let i;
|
1830
1830
|
this.parts = [];
|
1831
1831
|
let r = 0, o = 0;
|
1832
|
-
const a = e.length - 1, l = this.parts, [c, h] =
|
1832
|
+
const a = e.length - 1, l = this.parts, [c, h] = Br(e, t);
|
1833
1833
|
if (this.el = Te.createElement(c, n), ne.currentNode = this.el.content, t === 2) {
|
1834
1834
|
const u = this.el.content.firstChild;
|
1835
1835
|
u.replaceWith(...u.childNodes);
|
@@ -1840,7 +1840,7 @@ class Te {
|
|
1840
1840
|
for (const u of i.getAttributeNames())
|
1841
1841
|
if (u.endsWith(js)) {
|
1842
1842
|
const p = h[o++], d = i.getAttribute(u).split(Z), b = /([.?@])?(.*)/.exec(p);
|
1843
|
-
l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ?
|
1843
|
+
l.push({ type: 1, index: r, name: b[2], strings: d, ctor: b[1] === "." ? Fr : b[1] === "?" ? qr : b[1] === "@" ? Zr : ht }), i.removeAttribute(u);
|
1844
1844
|
} else
|
1845
1845
|
u.startsWith(Z) && (l.push({ type: 6, index: r }), i.removeAttribute(u));
|
1846
1846
|
if (Bs.test(i.tagName)) {
|
@@ -1876,7 +1876,7 @@ function ve(s, e, t = s, n) {
|
|
1876
1876
|
const r = Ee(e) ? void 0 : e._$litDirective$;
|
1877
1877
|
return (i == null ? void 0 : i.constructor) !== r && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), r === void 0 ? i = void 0 : (i = new r(s), i._$AT(s, t, n)), n !== void 0 ? (t._$Co ?? (t._$Co = []))[n] = i : t._$Cl = i), i !== void 0 && (e = ve(s, i._$AS(s, e.values), i, n)), e;
|
1878
1878
|
}
|
1879
|
-
class
|
1879
|
+
class Nr {
|
1880
1880
|
constructor(e, t) {
|
1881
1881
|
this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
|
1882
1882
|
}
|
@@ -1893,7 +1893,7 @@ class Fr {
|
|
1893
1893
|
for (; l !== void 0; ) {
|
1894
1894
|
if (o === l.index) {
|
1895
1895
|
let c;
|
1896
|
-
l.type === 2 ? c = new Ie(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new
|
1896
|
+
l.type === 2 ? c = new Ie(r, r.nextSibling, this, e) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, e) : l.type === 6 && (c = new Wr(r, this, e)), this._$AV.push(c), l = n[++a];
|
1897
1897
|
}
|
1898
1898
|
o !== (l == null ? void 0 : l.index) && (r = ne.nextNode(), o++);
|
1899
1899
|
}
|
@@ -1925,7 +1925,7 @@ class Ie {
|
|
1925
1925
|
return this._$AB;
|
1926
1926
|
}
|
1927
1927
|
_$AI(e, t = this) {
|
1928
|
-
e = ve(this, e, t), Ee(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== G && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) :
|
1928
|
+
e = ve(this, e, t), Ee(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== G && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Dr(e) ? this.k(e) : this._(e);
|
1929
1929
|
}
|
1930
1930
|
S(e) {
|
1931
1931
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
@@ -1942,7 +1942,7 @@ class Ie {
|
|
1942
1942
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === i)
|
1943
1943
|
this._$AH.p(t);
|
1944
1944
|
else {
|
1945
|
-
const o = new
|
1945
|
+
const o = new Nr(i, this), a = o.u(this.options);
|
1946
1946
|
o.p(t), this.T(a), this._$AH = o;
|
1947
1947
|
}
|
1948
1948
|
}
|
@@ -1997,7 +1997,7 @@ class ht {
|
|
1997
1997
|
e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
|
1998
1998
|
}
|
1999
1999
|
}
|
2000
|
-
class
|
2000
|
+
class Fr extends ht {
|
2001
2001
|
constructor() {
|
2002
2002
|
super(...arguments), this.type = 3;
|
2003
2003
|
}
|
@@ -2005,7 +2005,7 @@ class qr extends ht {
|
|
2005
2005
|
this.element[this.name] = e === g ? void 0 : e;
|
2006
2006
|
}
|
2007
2007
|
}
|
2008
|
-
let
|
2008
|
+
let qr = class extends ht {
|
2009
2009
|
constructor() {
|
2010
2010
|
super(...arguments), this.type = 4;
|
2011
2011
|
}
|
@@ -2013,7 +2013,7 @@ let Zr = class extends ht {
|
|
2013
2013
|
this.element.toggleAttribute(this.name, !!e && e !== g);
|
2014
2014
|
}
|
2015
2015
|
};
|
2016
|
-
class
|
2016
|
+
class Zr extends ht {
|
2017
2017
|
constructor(e, t, n, i, r) {
|
2018
2018
|
super(e, t, n, i, r), this.type = 5;
|
2019
2019
|
}
|
@@ -2028,7 +2028,7 @@ class Wr extends ht {
|
|
2028
2028
|
typeof this._$AH == "function" ? this._$AH.call(((t = this.options) == null ? void 0 : t.host) ?? this.element, e) : this._$AH.handleEvent(e);
|
2029
2029
|
}
|
2030
2030
|
}
|
2031
|
-
class
|
2031
|
+
class Wr {
|
2032
2032
|
constructor(e, t, n) {
|
2033
2033
|
this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
|
2034
2034
|
}
|
@@ -2041,7 +2041,7 @@ class Yr {
|
|
2041
2041
|
}
|
2042
2042
|
const St = ke.litHtmlPolyfillSupport;
|
2043
2043
|
St == null || St(Te, Ie), (ke.litHtmlVersions ?? (ke.litHtmlVersions = [])).push("3.1.2");
|
2044
|
-
const
|
2044
|
+
const Yr = (s, e, t) => {
|
2045
2045
|
const n = (t == null ? void 0 : t.renderBefore) ?? e;
|
2046
2046
|
let i = n._$litPart$;
|
2047
2047
|
if (i === void 0) {
|
@@ -2066,7 +2066,7 @@ let k = class extends le {
|
|
2066
2066
|
}
|
2067
2067
|
update(e) {
|
2068
2068
|
const t = this.render();
|
2069
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do =
|
2069
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Yr(t, this.renderRoot, this.renderOptions);
|
2070
2070
|
}
|
2071
2071
|
connectedCallback() {
|
2072
2072
|
var e;
|
@@ -2085,7 +2085,7 @@ k._$litElement$ = !0, k.finalized = !0, (ds = globalThis.litElementHydrateSuppor
|
|
2085
2085
|
const Ct = globalThis.litElementPolyfillSupport;
|
2086
2086
|
Ct == null || Ct({ LitElement: k });
|
2087
2087
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
|
2088
|
-
const
|
2088
|
+
const Qr = { name: "alert", 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>' }, Gr = { name: "check-circle-filled", 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>' }, Kr = { name: "check-circle", 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>' }, Xr = { name: "chevron-down", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M53.0318 24.8653L33.5318 44.3653C33.1256 44.7717 32.5745 45.0001 31.9999 45.0001C31.4253 45.0001 30.8742 44.7717 30.468 44.3653L10.968 24.8653C10.122 24.0193 10.122 22.6476 10.968 21.8015C11.8141 20.9555 13.1858 20.9555 14.0318 21.8015L31.9999 39.7696L49.968 21.8015C50.8141 20.9555 52.1858 20.9555 53.0318 21.8015C53.8779 22.6476 53.8779 24.0193 53.0318 24.8653Z"/></svg>' }, Vr = { name: "close-circle", 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>' }, Dn = { name: "mute", 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>' }, Jr = { 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>' }, eo = { name: "send", 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>' }, Hn = { name: "volume", 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>' }, ce = {
|
2089
2089
|
allRenderFn: !1,
|
2090
2090
|
cmpDidLoad: !0,
|
2091
2091
|
cmpDidUnload: !1,
|
@@ -2179,7 +2179,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2179
2179
|
ael: (s, e, t, n) => s.addEventListener(e, t, n),
|
2180
2180
|
rel: (s, e, t, n) => s.removeEventListener(e, t, n),
|
2181
2181
|
ce: (s, e) => new CustomEvent(s, e)
|
2182
|
-
},
|
2182
|
+
}, to = /* @__PURE__ */ (() => {
|
2183
2183
|
let s = !1;
|
2184
2184
|
try {
|
2185
2185
|
H.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
@@ -2190,7 +2190,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2190
2190
|
} catch {
|
2191
2191
|
}
|
2192
2192
|
return s;
|
2193
|
-
})(),
|
2193
|
+
})(), no = (s) => Promise.resolve(s), so = /* @__PURE__ */ (() => {
|
2194
2194
|
try {
|
2195
2195
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
2196
2196
|
} catch {
|
@@ -2198,23 +2198,23 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2198
2198
|
return !1;
|
2199
2199
|
})(), Ws = (s, e, t, n) => {
|
2200
2200
|
t && t.map(([i, r, o]) => {
|
2201
|
-
const a =
|
2201
|
+
const a = ro(s, i), l = io(e, o), c = oo(i);
|
2202
2202
|
S.ael(a, r, l, c), (e.$rmListeners$ = e.$rmListeners$ || []).push(() => S.rel(a, r, l, c));
|
2203
2203
|
});
|
2204
|
-
},
|
2204
|
+
}, io = (s, e) => (t) => {
|
2205
2205
|
try {
|
2206
2206
|
ce.lazyLoad || s.$hostElement$[e](t);
|
2207
2207
|
} catch (n) {
|
2208
2208
|
Me(n);
|
2209
2209
|
}
|
2210
|
-
},
|
2210
|
+
}, ro = (s, e) => e & 4 ? H : e & 8 ? pt : e & 16 ? H.body : s, oo = (s) => to ? {
|
2211
2211
|
passive: (s & 1) !== 0,
|
2212
2212
|
capture: (s & 2) !== 0
|
2213
2213
|
} : (s & 2) !== 0, Nn = "http://www.w3.org/1999/xlink", re = (s, e = "") => () => {
|
2214
|
-
}, Fn = /* @__PURE__ */ new WeakMap(),
|
2214
|
+
}, Fn = /* @__PURE__ */ new WeakMap(), ao = (s, e, t) => {
|
2215
2215
|
let n = tt.get(s);
|
2216
|
-
|
2217
|
-
},
|
2216
|
+
so && t ? (n = n || new CSSStyleSheet(), n.replace(e)) : n = e, tt.set(s, n);
|
2217
|
+
}, lo = (s, e, t, n) => {
|
2218
2218
|
let i = Ys(e, t), r = tt.get(i);
|
2219
2219
|
if (s = s.nodeType === 11 ? s : H, r)
|
2220
2220
|
if (typeof r == "string") {
|
@@ -2224,10 +2224,10 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2224
2224
|
} else
|
2225
2225
|
s.adoptedStyleSheets.includes(r) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, r]);
|
2226
2226
|
return i;
|
2227
|
-
},
|
2228
|
-
const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = re("attachStyles", e.$tagName$), r =
|
2227
|
+
}, co = (s) => {
|
2228
|
+
const e = s.$cmpMeta$, t = s.$hostElement$, n = e.$flags$, i = re("attachStyles", e.$tagName$), r = lo(t.shadowRoot ? t.shadowRoot : t.getRootNode(), e, s.$modeName$);
|
2229
2229
|
n & 10 && (t["s-sc"] = r, t.classList.add(r + "-h"), n & 2 && t.classList.add(r + "-s")), i();
|
2230
|
-
}, Ys = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$),
|
2230
|
+
}, Ys = (s, e) => "sc-" + (e && s.$flags$ & 32 ? s.$tagName$ + "-" + e : s.$tagName$), ho = (s) => Do.map((e) => e(s)).find((e) => !!e), qn = {}, uo = "http://www.w3.org/2000/svg", po = "http://www.w3.org/1999/xhtml", fo = (s) => s != null, nn = (s) => (s = typeof s, s === "object" || s === "function"), fe = (s, e, ...t) => {
|
2231
2231
|
let n = null, i = null, r = null, o = !1, a = !1, l = [];
|
2232
2232
|
const c = (u) => {
|
2233
2233
|
for (let p = 0; p < u.length; p++)
|
@@ -2241,7 +2241,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2241
2241
|
}
|
2242
2242
|
}
|
2243
2243
|
if (typeof s == "function")
|
2244
|
-
return s(e === null ? {} : e, l,
|
2244
|
+
return s(e === null ? {} : e, l, mo);
|
2245
2245
|
const h = Je(s, null);
|
2246
2246
|
return h.$attrs$ = e, l.length > 0 && (h.$children$ = l), h.$key$ = i, h.$name$ = r, h;
|
2247
2247
|
}, Je = (s, e) => {
|
@@ -2253,9 +2253,9 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2253
2253
|
$children$: null
|
2254
2254
|
};
|
2255
2255
|
return t.$attrs$ = null, t.$key$ = null, t.$name$ = null, t;
|
2256
|
-
}, sn = {},
|
2256
|
+
}, sn = {}, go = (s) => s && s.$tag$ === sn, mo = {
|
2257
2257
|
forEach: (s, e) => s.map(Zn).forEach(e),
|
2258
|
-
map: (s, e) => s.map(Zn).map(e).map(
|
2258
|
+
map: (s, e) => s.map(Zn).map(e).map(vo)
|
2259
2259
|
}, Zn = (s) => ({
|
2260
2260
|
vattrs: s.$attrs$,
|
2261
2261
|
vchildren: s.$children$,
|
@@ -2263,7 +2263,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2263
2263
|
vname: s.$name$,
|
2264
2264
|
vtag: s.$tag$,
|
2265
2265
|
vtext: s.$text$
|
2266
|
-
}),
|
2266
|
+
}), vo = (s) => {
|
2267
2267
|
if (typeof s.vtag == "function") {
|
2268
2268
|
const t = Object.assign({}, s.vattrs);
|
2269
2269
|
return s.vkey && (t.key = s.vkey), s.vname && (t.name = s.vname), fe(s.vtag, t, ...s.vchildren || []);
|
@@ -2302,7 +2302,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2302
2302
|
a !== (a = a.replace(/^xlink\:?/, "")) && (e = a, c = !0), n == null || n === !1 ? (n !== !1 || s.getAttribute(e) === "") && (c ? s.removeAttributeNS(Nn, e) : s.removeAttribute(e)) : (!o || r & 4 || i) && !l && (n = n === !0 ? "" : n, c ? s.setAttributeNS(Nn, e, n) : s.setAttribute(e, n));
|
2303
2303
|
}
|
2304
2304
|
}
|
2305
|
-
},
|
2305
|
+
}, bo = /\s/, Yn = (s) => s ? s.split(bo) : [], Qs = (s, e, t, n) => {
|
2306
2306
|
const i = e.$elm$.nodeType === 11 && e.$elm$.host ? e.$elm$.host : e.$elm$, r = s && s.$attrs$ || qn, o = e.$attrs$ || qn;
|
2307
2307
|
for (n in r)
|
2308
2308
|
n in o || Wn(i, n, r[n], void 0, t, e.$flags$);
|
@@ -2321,7 +2321,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2321
2321
|
else if (i.$flags$ & 1)
|
2322
2322
|
o = i.$elm$ = H.createTextNode("");
|
2323
2323
|
else {
|
2324
|
-
if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = H.createElementNS(T ?
|
2324
|
+
if (T || (T = i.$tag$ === "svg"), o = i.$elm$ = H.createElementNS(T ? uo : po, i.$flags$ & 2 ? "slot-fb" : i.$tag$), T && i.$tag$ === "foreignObject" && (T = !1), Qs(null, i, T), fo(he) && o["s-si"] !== he && o.classList.add(o["s-si"] = he), i.$children$)
|
2325
2325
|
for (r = 0; r < i.$children$.length; ++r)
|
2326
2326
|
a = et(s, i, r, o), a && o.appendChild(a);
|
2327
2327
|
i.$tag$ === "svg" ? T = !1 : o.tagName === "foreignObject" && (T = !0);
|
@@ -2342,7 +2342,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2342
2342
|
}, Ks = (s, e, t, n, i) => {
|
2343
2343
|
for (; e <= t; ++e)
|
2344
2344
|
(n = s[e]) && (i = n.$elm$, ei(n), Ve = !0, i["s-ol"] ? i["s-ol"].remove() : Le(i, !0), i.remove());
|
2345
|
-
},
|
2345
|
+
}, yo = (s, e, t, n) => {
|
2346
2346
|
let i = 0, r = 0, o = 0, a = 0, l = e.length - 1, c = e[0], h = e[l], u = n.length - 1, p = n[0], d = n[u], b, f;
|
2347
2347
|
for (; i <= l && r <= u; )
|
2348
2348
|
if (c == null)
|
@@ -2373,7 +2373,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2373
2373
|
}, Ne = (s, e) => s.$tag$ === e.$tag$ ? s.$tag$ === "slot" ? s.$name$ === e.$name$ : s.$key$ === e.$key$ : !1, rn = (s) => s && s["s-ol"] || s, Xs = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, ue = (s, e) => {
|
2374
2374
|
const t = e.$elm$ = s.$elm$, n = s.$children$, i = e.$children$, r = e.$tag$, o = e.$text$;
|
2375
2375
|
let a;
|
2376
|
-
o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Qs(s, e, T), n !== null && i !== null ?
|
2376
|
+
o === null ? (T = r === "svg" ? !0 : r === "foreignObject" ? !1 : T, r === "slot" || Qs(s, e, T), n !== null && i !== null ? yo(t, n, e, i) : i !== null ? (s.$text$ !== null && (t.textContent = ""), Gs(t, null, e, i, 0, i.length - 1)) : n !== null && Ks(n, 0, n.length - 1), T && r === "svg" && (T = !1)) : (a = t["s-cr"]) ? a.parentNode.textContent = o : s.$text$ !== o && (t.data = o);
|
2377
2377
|
}, Vs = (s) => {
|
2378
2378
|
let e = s.childNodes, t, n, i, r, o, a;
|
2379
2379
|
for (n = 0, i = e.length; n < i; n++)
|
@@ -2409,8 +2409,8 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2409
2409
|
}
|
2410
2410
|
}, Qn = (s, e) => s.nodeType === 1 ? s.getAttribute("slot") === null && e === "" || s.getAttribute("slot") === e : s["s-sn"] === e ? !0 : e === "", ei = (s) => {
|
2411
2411
|
s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(ei);
|
2412
|
-
},
|
2413
|
-
const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r =
|
2412
|
+
}, $o = (s, e) => {
|
2413
|
+
const t = s.$hostElement$, n = s.$cmpMeta$, i = s.$vnode$ || Je(null, null), r = go(e) ? e : fe(null, null, e);
|
2414
2414
|
ut = t.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = t[o])), r.$tag$ = null, r.$flags$ |= 4, s.$vnode$ = r, r.$elm$ = i.$elm$ = t.shadowRoot || t, he = t["s-sc"], Fs = t["s-cr"], qs = (n.$flags$ & 1) !== 0, Ve = !1, ue(i, r);
|
2415
2415
|
{
|
2416
2416
|
if (S.$flags$ |= 1, tn) {
|
@@ -2431,37 +2431,37 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2431
2431
|
}
|
2432
2432
|
Ve && Vs(r.$elm$), S.$flags$ &= -2, O.length = 0;
|
2433
2433
|
}
|
2434
|
-
},
|
2435
|
-
const n =
|
2434
|
+
}, xo = (s) => s, wo = (s, e, t) => {
|
2435
|
+
const n = xo(s);
|
2436
2436
|
return {
|
2437
|
-
emit: (i) =>
|
2437
|
+
emit: (i) => ko(n, e, {
|
2438
2438
|
bubbles: !!(t & 4),
|
2439
2439
|
composed: !!(t & 2),
|
2440
2440
|
cancelable: !!(t & 1),
|
2441
2441
|
detail: i
|
2442
2442
|
})
|
2443
2443
|
};
|
2444
|
-
},
|
2444
|
+
}, ko = (s, e, t) => {
|
2445
2445
|
const n = S.ce(e, t);
|
2446
2446
|
return s.dispatchEvent(n), n;
|
2447
|
-
},
|
2448
|
-
}, ti = (s, e) => (s.$flags$ |= 16,
|
2447
|
+
}, _o = (s, e) => {
|
2448
|
+
}, ti = (s, e) => (s.$flags$ |= 16, _o(s, s.$ancestorComponent$), No(() => So(s, e))), So = (s, e) => {
|
2449
2449
|
const t = s.$hostElement$, n = re("scheduleUpdate", s.$cmpMeta$.$tagName$), i = t;
|
2450
2450
|
let r;
|
2451
|
-
return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = Gn(r, () => ge(i, "componentWillRender")), n(), Gn(r, () =>
|
2452
|
-
},
|
2451
|
+
return e ? r = ge(i, "componentWillLoad") : r = ge(i, "componentWillUpdate"), r = Gn(r, () => ge(i, "componentWillRender")), n(), Gn(r, () => Co(s, i, e));
|
2452
|
+
}, Co = async (s, e, t) => {
|
2453
2453
|
const n = s.$hostElement$, i = re("update", s.$cmpMeta$.$tagName$);
|
2454
|
-
n["s-rc"], t &&
|
2454
|
+
n["s-rc"], t && co(s);
|
2455
2455
|
const r = re("render", s.$cmpMeta$.$tagName$);
|
2456
|
-
|
2457
|
-
},
|
2456
|
+
Ao(s, e, n), r(), i(), Eo(s);
|
2457
|
+
}, Ao = (s, e, t) => {
|
2458
2458
|
try {
|
2459
|
-
Bn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide ||
|
2459
|
+
Bn = e, e = e.render && e.render(), s.$flags$ &= -17, s.$flags$ |= 2, (ce.hasRenderFn || ce.reflect) && (ce.vdomRender || ce.reflect) && (ce.hydrateServerSide || $o(s, e));
|
2460
2460
|
} catch (a) {
|
2461
2461
|
Me(a, s.$hostElement$);
|
2462
2462
|
}
|
2463
2463
|
return Bn = null, null;
|
2464
|
-
},
|
2464
|
+
}, Eo = (s) => {
|
2465
2465
|
const e = s.$cmpMeta$.$tagName$, t = s.$hostElement$, n = re("postUpdate", e), i = t;
|
2466
2466
|
s.$ancestorComponent$, ge(i, "componentDidRender"), s.$flags$ & 64 ? (ge(i, "componentDidUpdate"), n()) : (s.$flags$ |= 64, ge(i, "componentDidLoad"), n());
|
2467
2467
|
}, ge = (s, e, t) => {
|
@@ -2471,9 +2471,9 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2471
2471
|
} catch (n) {
|
2472
2472
|
Me(n);
|
2473
2473
|
}
|
2474
|
-
}, Gn = (s, e) => s && s.then ? s.then(e) : e(),
|
2474
|
+
}, Gn = (s, e) => s && s.then ? s.then(e) : e(), To = (s, e) => s != null && !nn(s) ? e & 4 ? s === "false" ? !1 : s === "" || !!s : e & 2 ? parseFloat(s) : e & 1 ? String(s) : s : s, Lo = (s, e) => dt(s).$instanceValues$.get(e), Oo = (s, e, t, n) => {
|
2475
2475
|
const i = dt(s), r = s, o = i.$instanceValues$.get(e), a = i.$flags$, l = r;
|
2476
|
-
t =
|
2476
|
+
t = To(t, n.$members$[e][0]);
|
2477
2477
|
const c = Number.isNaN(o) && Number.isNaN(t);
|
2478
2478
|
if (t !== o && !c) {
|
2479
2479
|
i.$instanceValues$.set(e, t);
|
@@ -2495,17 +2495,17 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2495
2495
|
}
|
2496
2496
|
}
|
2497
2497
|
}
|
2498
|
-
},
|
2498
|
+
}, Po = (s, e, t) => {
|
2499
2499
|
if (e.$members$) {
|
2500
2500
|
s.watchers && (e.$watchers$ = s.watchers);
|
2501
2501
|
const n = Object.entries(e.$members$), i = s.prototype;
|
2502
2502
|
n.map(([r, [o]]) => {
|
2503
2503
|
(o & 31 || o & 32) && Object.defineProperty(i, r, {
|
2504
2504
|
get() {
|
2505
|
-
return
|
2505
|
+
return Lo(this, r);
|
2506
2506
|
},
|
2507
2507
|
set(a) {
|
2508
|
-
|
2508
|
+
Oo(this, r, a, e);
|
2509
2509
|
},
|
2510
2510
|
configurable: !0,
|
2511
2511
|
enumerable: !0
|
@@ -2532,32 +2532,32 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2532
2532
|
}
|
2533
2533
|
}
|
2534
2534
|
return s;
|
2535
|
-
},
|
2535
|
+
}, Ro = async (s, e, t, n, i) => {
|
2536
2536
|
if (!(e.$flags$ & 32) && (i = s.constructor, e.$flags$ |= 32, customElements.whenDefined(t.$tagName$).then(() => e.$flags$ |= 128), i.style)) {
|
2537
2537
|
let o = i.style;
|
2538
|
-
typeof o != "string" && (o = o[e.$modeName$ =
|
2538
|
+
typeof o != "string" && (o = o[e.$modeName$ = ho(s)]);
|
2539
2539
|
const a = Ys(t, e.$modeName$);
|
2540
2540
|
if (!tt.has(a)) {
|
2541
2541
|
const l = re("registerStyles", t.$tagName$);
|
2542
|
-
|
2542
|
+
ao(a, o, !!(t.$flags$ & 1)), l();
|
2543
2543
|
}
|
2544
2544
|
}
|
2545
2545
|
e.$ancestorComponent$, (() => ti(e, !0))();
|
2546
|
+
}, Io = (s) => {
|
2546
2547
|
}, Mo = (s) => {
|
2547
|
-
}, zo = (s) => {
|
2548
2548
|
if (!(S.$flags$ & 1)) {
|
2549
2549
|
const e = dt(s), t = e.$cmpMeta$, n = re("connectedCallback", t.$tagName$);
|
2550
|
-
e.$flags$ & 1 ? (Ws(s, e, t.$listeners$),
|
2550
|
+
e.$flags$ & 1 ? (Ws(s, e, t.$listeners$), Io(e.$lazyInstance$)) : (e.$flags$ |= 1, t.$flags$ & 12 && zo(s), t.$members$ && Object.entries(t.$members$).map(([i, [r]]) => {
|
2551
2551
|
if (r & 31 && s.hasOwnProperty(i)) {
|
2552
2552
|
const o = s[i];
|
2553
2553
|
delete s[i], s[i] = o;
|
2554
2554
|
}
|
2555
|
-
}),
|
2555
|
+
}), Ro(s, e, t)), n();
|
2556
2556
|
}
|
2557
|
-
},
|
2557
|
+
}, zo = (s) => {
|
2558
2558
|
const e = s["s-cr"] = H.createComment("");
|
2559
2559
|
e["s-cn"] = !0, s.insertBefore(e, s.firstChild);
|
2560
|
-
},
|
2560
|
+
}, Uo = (s) => {
|
2561
2561
|
if (!(S.$flags$ & 1)) {
|
2562
2562
|
const e = dt(s);
|
2563
2563
|
e.$rmListeners$ && (e.$rmListeners$.map((t) => t()), e.$rmListeners$ = void 0);
|
@@ -2571,13 +2571,13 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2571
2571
|
const n = s.prototype.connectedCallback, i = s.prototype.disconnectedCallback;
|
2572
2572
|
return Object.assign(s.prototype, {
|
2573
2573
|
__registerHost() {
|
2574
|
-
|
2574
|
+
jo(this, t);
|
2575
2575
|
},
|
2576
2576
|
connectedCallback() {
|
2577
|
-
|
2577
|
+
Mo(this), n && n.call(this);
|
2578
2578
|
},
|
2579
2579
|
disconnectedCallback() {
|
2580
|
-
|
2580
|
+
Uo(this), i && i.call(this);
|
2581
2581
|
},
|
2582
2582
|
__attachShadow() {
|
2583
2583
|
this.attachShadow({
|
@@ -2585,8 +2585,8 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2585
2585
|
delegatesFocus: !!(t.$flags$ & 16)
|
2586
2586
|
});
|
2587
2587
|
}
|
2588
|
-
}), s.is = t.$tagName$,
|
2589
|
-
}, si = /* @__PURE__ */ new WeakMap(), dt = (s) => si.get(s),
|
2588
|
+
}), s.is = t.$tagName$, Po(s, t);
|
2589
|
+
}, si = /* @__PURE__ */ new WeakMap(), dt = (s) => si.get(s), jo = (s, e) => {
|
2590
2590
|
const t = {
|
2591
2591
|
$flags$: 0,
|
2592
2592
|
$hostElement$: s,
|
@@ -2594,8 +2594,8 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2594
2594
|
$instanceValues$: /* @__PURE__ */ new Map()
|
2595
2595
|
};
|
2596
2596
|
return Ws(s, t, e.$listeners$), si.set(s, t);
|
2597
|
-
}, Kn = (s, e) => e in s, Me = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(),
|
2598
|
-
s.push(t), Dt || (Dt = !0, e && S.$flags$ & 4 ?
|
2597
|
+
}, Kn = (s, e) => e in s, Me = (s, e) => (0, console.error)(s, e), tt = /* @__PURE__ */ new Map(), Do = [], Xn = [], ii = [], Ho = (s, e) => (t) => {
|
2598
|
+
s.push(t), Dt || (Dt = !0, e && S.$flags$ & 4 ? Bo(Ht) : S.raf(Ht));
|
2599
2599
|
}, Vn = (s) => {
|
2600
2600
|
for (let e = 0; e < s.length; e++)
|
2601
2601
|
try {
|
@@ -2606,7 +2606,7 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2606
2606
|
s.length = 0;
|
2607
2607
|
}, Ht = () => {
|
2608
2608
|
Vn(Xn), Vn(ii), (Dt = Xn.length > 0) && S.raf(Ht);
|
2609
|
-
},
|
2609
|
+
}, Bo = (s) => no().then(s), No = /* @__PURE__ */ Ho(ii, !0), Fo = (s = {}) => {
|
2610
2610
|
const { content: e = "", title: t, attributes: n = [] } = s;
|
2611
2611
|
let i = "", r = [
|
2612
2612
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
@@ -2614,27 +2614,27 @@ const pt = typeof window < "u" ? window : {}, H = pt.document || { head: {} }, Z
|
|
2614
2614
|
...n
|
2615
2615
|
];
|
2616
2616
|
return t && (i = `<title>${t}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${i}${e}</svg>`;
|
2617
|
-
},
|
2618
|
-
function
|
2617
|
+
}, qo = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
2618
|
+
function Zo(s) {
|
2619
2619
|
return `${s.getFullYear()}.${s.getMonth() + 1}`;
|
2620
2620
|
}
|
2621
|
-
class
|
2621
|
+
class Wo {
|
2622
2622
|
constructor(e) {
|
2623
|
-
this.voca_component = e, this.voca_added =
|
2623
|
+
this.voca_component = e, this.voca_added = Zo(/* @__PURE__ */ new Date());
|
2624
2624
|
}
|
2625
2625
|
}
|
2626
|
-
const
|
2626
|
+
const Yo = "telia-vst{display:none}", Qo = /* @__PURE__ */ ni(class extends Zs {
|
2627
2627
|
constructor() {
|
2628
|
-
super(), this.__registerHost(), this.vocaInternalUStats =
|
2628
|
+
super(), this.__registerHost(), this.vocaInternalUStats = wo(this, "vocaInternalUStats", 7);
|
2629
2629
|
}
|
2630
2630
|
connectedCallback() {
|
2631
|
-
this.vocaInternalUStats.emit(new
|
2631
|
+
this.vocaInternalUStats.emit(new Wo(this.dataTrackingId));
|
2632
2632
|
}
|
2633
2633
|
render() {
|
2634
2634
|
return fe(sn, null);
|
2635
2635
|
}
|
2636
2636
|
static get style() {
|
2637
|
-
return
|
2637
|
+
return Yo;
|
2638
2638
|
}
|
2639
2639
|
}, [0, "telia-vst", {
|
2640
2640
|
dataTrackingId: [1, "data-tracking-id"]
|
@@ -2645,7 +2645,7 @@ function ri() {
|
|
2645
2645
|
["telia-vst"].forEach((e) => {
|
2646
2646
|
switch (e) {
|
2647
2647
|
case "telia-vst":
|
2648
|
-
customElements.get(e) || customElements.define(e,
|
2648
|
+
customElements.get(e) || customElements.define(e, Qo);
|
2649
2649
|
break;
|
2650
2650
|
}
|
2651
2651
|
});
|
@@ -2654,14 +2654,14 @@ ri();
|
|
2654
2654
|
function Bt() {
|
2655
2655
|
return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
|
2656
2656
|
}
|
2657
|
-
function
|
2657
|
+
function Go() {
|
2658
2658
|
if (typeof Bt().vocadsIcons !== void 0)
|
2659
2659
|
return Bt().vocadsIcons;
|
2660
2660
|
}
|
2661
|
-
function
|
2661
|
+
function Ko() {
|
2662
2662
|
return Bt().vocadsIconsRegistered;
|
2663
2663
|
}
|
2664
|
-
const
|
2664
|
+
const Xo = ".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))}", Vo = /* @__PURE__ */ ni(class extends Zs {
|
2665
2665
|
constructor() {
|
2666
2666
|
super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
|
2667
2667
|
}
|
@@ -2673,8 +2673,8 @@ const Vo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2673
2673
|
getSvgString() {
|
2674
2674
|
if (this.svg)
|
2675
2675
|
return this.svg;
|
2676
|
-
if (
|
2677
|
-
const s =
|
2676
|
+
if (Ko() && this.name) {
|
2677
|
+
const s = Go();
|
2678
2678
|
return s[this.name] ? s[this.name].svg : "";
|
2679
2679
|
}
|
2680
2680
|
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"), "";
|
@@ -2685,15 +2685,15 @@ const Vo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2685
2685
|
...e,
|
2686
2686
|
{ name: "aria-hidden", value: "true" }
|
2687
2687
|
];
|
2688
|
-
const t =
|
2689
|
-
content:
|
2688
|
+
const t = Fo({
|
2689
|
+
content: qo(s),
|
2690
2690
|
attributes: e,
|
2691
2691
|
title: this.allyTitle
|
2692
2692
|
});
|
2693
2693
|
return fe(sn, { class: `telia-icon telia-icon--${this.size}` }, fe("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: t }), fe("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
2694
2694
|
}
|
2695
2695
|
static get style() {
|
2696
|
-
return
|
2696
|
+
return Xo;
|
2697
2697
|
}
|
2698
2698
|
}, [0, "telia-icon", {
|
2699
2699
|
name: [1],
|
@@ -2702,13 +2702,13 @@ const Vo = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
2702
2702
|
allyTitle: [1, "ally-title"],
|
2703
2703
|
dataTestid: [1, "data-testid"]
|
2704
2704
|
}]);
|
2705
|
-
function
|
2705
|
+
function Jo() {
|
2706
2706
|
if (typeof customElements > "u")
|
2707
2707
|
return;
|
2708
2708
|
["telia-icon", "telia-vst"].forEach((e) => {
|
2709
2709
|
switch (e) {
|
2710
2710
|
case "telia-icon":
|
2711
|
-
customElements.get(e) || customElements.define(e,
|
2711
|
+
customElements.get(e) || customElements.define(e, Vo);
|
2712
2712
|
break;
|
2713
2713
|
case "telia-vst":
|
2714
2714
|
customElements.get(e) || ri();
|
@@ -2716,13 +2716,13 @@ function ea() {
|
|
2716
2716
|
}
|
2717
2717
|
});
|
2718
2718
|
}
|
2719
|
-
|
2719
|
+
Jo();
|
2720
2720
|
/**
|
2721
2721
|
* @license
|
2722
2722
|
* Copyright 2017 Google LLC
|
2723
2723
|
* SPDX-License-Identifier: BSD-3-Clause
|
2724
2724
|
*/
|
2725
|
-
const
|
2725
|
+
const ea = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged: en }, ta = (s = ea, e, t) => {
|
2726
2726
|
const { kind: n, metadata: i } = t;
|
2727
2727
|
let r = globalThis.litPropertyMetadata.get(i);
|
2728
2728
|
if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(t.name, s), n === "accessor") {
|
@@ -2744,7 +2744,7 @@ const ta = { attribute: !0, type: String, converter: Ke, reflect: !1, hasChanged
|
|
2744
2744
|
throw Error("Unsupported decorator location: " + n);
|
2745
2745
|
};
|
2746
2746
|
function w(s) {
|
2747
|
-
return (e, t) => typeof t == "object" ?
|
2747
|
+
return (e, t) => typeof t == "object" ? ta(s, e, t) : ((n, i, r) => {
|
2748
2748
|
const o = i.hasOwnProperty(r);
|
2749
2749
|
return i.constructor.createProperty(r, o ? { ...n, wrapped: !0 } : n), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
|
2750
2750
|
})(s, e, t);
|
@@ -2762,7 +2762,7 @@ function C(s) {
|
|
2762
2762
|
* Copyright 2020 Google LLC
|
2763
2763
|
* SPDX-License-Identifier: BSD-3-Clause
|
2764
2764
|
*/
|
2765
|
-
const
|
2765
|
+
const na = (s) => s.strings === void 0;
|
2766
2766
|
/**
|
2767
2767
|
* @license
|
2768
2768
|
* Copyright 2017 Google LLC
|
@@ -2812,13 +2812,13 @@ const _e = (s, e) => {
|
|
2812
2812
|
e._$AN = t = /* @__PURE__ */ new Set();
|
2813
2813
|
else if (t.has(s))
|
2814
2814
|
break;
|
2815
|
-
t.add(s),
|
2815
|
+
t.add(s), ra(e);
|
2816
2816
|
}
|
2817
2817
|
};
|
2818
|
-
function
|
2818
|
+
function sa(s) {
|
2819
2819
|
this._$AN !== void 0 ? (nt(this), this._$AM = s, oi(this)) : this._$AM = s;
|
2820
2820
|
}
|
2821
|
-
function
|
2821
|
+
function ia(s, e = !1, t = 0) {
|
2822
2822
|
const n = this._$AH, i = this._$AN;
|
2823
2823
|
if (i !== void 0 && i.size !== 0)
|
2824
2824
|
if (e)
|
@@ -2830,8 +2830,8 @@ function ra(s, e = !1, t = 0) {
|
|
2830
2830
|
else
|
2831
2831
|
_e(this, s);
|
2832
2832
|
}
|
2833
|
-
const
|
2834
|
-
s.type == ft.CHILD && (s._$AP ?? (s._$AP =
|
2833
|
+
const ra = (s) => {
|
2834
|
+
s.type == ft.CHILD && (s._$AP ?? (s._$AP = ia), s._$AQ ?? (s._$AQ = sa));
|
2835
2835
|
};
|
2836
2836
|
let ai = class extends on {
|
2837
2837
|
constructor() {
|
@@ -2845,7 +2845,7 @@ let ai = class extends on {
|
|
2845
2845
|
e !== this.isConnected && (this.isConnected = e, e ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), t && (_e(this, e), nt(this));
|
2846
2846
|
}
|
2847
2847
|
setValue(e) {
|
2848
|
-
if (
|
2848
|
+
if (na(this._$Ct))
|
2849
2849
|
this._$Ct._$AI(e, this);
|
2850
2850
|
else {
|
2851
2851
|
const t = [...this._$Ct._$AH];
|
@@ -2862,8 +2862,8 @@ let ai = class extends on {
|
|
2862
2862
|
* Copyright 2020 Google LLC
|
2863
2863
|
* SPDX-License-Identifier: BSD-3-Clause
|
2864
2864
|
*/
|
2865
|
-
const M = () => new
|
2866
|
-
class
|
2865
|
+
const M = () => new oa();
|
2866
|
+
class oa {
|
2867
2867
|
}
|
2868
2868
|
const At = /* @__PURE__ */ new WeakMap(), z = gt(class extends ai {
|
2869
2869
|
render(s) {
|
@@ -2925,10 +2925,10 @@ const be = gt(class extends on {
|
|
2925
2925
|
return G;
|
2926
2926
|
}
|
2927
2927
|
});
|
2928
|
-
var
|
2929
|
-
for (var i = n > 1 ? void 0 : n ?
|
2928
|
+
var aa = Object.defineProperty, la = Object.getOwnPropertyDescriptor, ca = (s, e, t, n) => {
|
2929
|
+
for (var i = n > 1 ? void 0 : n ? la(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
2930
2930
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
2931
|
-
return n && i &&
|
2931
|
+
return n && i && aa(e, t, i), i;
|
2932
2932
|
};
|
2933
2933
|
class an extends k {
|
2934
2934
|
constructor() {
|
@@ -2961,12 +2961,12 @@ an.styles = [
|
|
2961
2961
|
}
|
2962
2962
|
`
|
2963
2963
|
];
|
2964
|
-
|
2964
|
+
ca([
|
2965
2965
|
w({ attribute: !0 })
|
2966
2966
|
], an.prototype, "anchor", 2);
|
2967
|
-
const
|
2967
|
+
const ha = /* @__PURE__ */ new WeakMap();
|
2968
2968
|
let Jn = 0;
|
2969
|
-
const Et = /* @__PURE__ */ new Map(), es = /* @__PURE__ */ new WeakSet(), ts = () => new Promise((s) => requestAnimationFrame(s)),
|
2969
|
+
const Et = /* @__PURE__ */ new Map(), es = /* @__PURE__ */ new WeakSet(), ts = () => new Promise((s) => requestAnimationFrame(s)), ua = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], pa = [{ opacity: 0 }], ns = [{ opacity: 0 }, { opacity: 1 }], ss = (s, e) => {
|
2970
2970
|
const t = s - e;
|
2971
2971
|
return t === 0 ? void 0 : t;
|
2972
2972
|
}, is = (s, e) => {
|
@@ -2988,8 +2988,8 @@ const Et = /* @__PURE__ */ new Map(), es = /* @__PURE__ */ new WeakSet(), ts = (
|
|
2988
2988
|
e === 0 && (e = 1, t = { height: "1px" });
|
2989
2989
|
const n = is(s, e);
|
2990
2990
|
return { value: n, overrideFrom: t, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
|
2991
|
-
} },
|
2992
|
-
class
|
2991
|
+
} }, da = { duration: 333, easing: "ease-in-out" }, fa = ["left", "top", "width", "height", "opacity", "color", "background"], rs = /* @__PURE__ */ new WeakMap();
|
2992
|
+
class ga extends ai {
|
2993
2993
|
constructor(e) {
|
2994
2994
|
if (super(e), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, e.type === ft.CHILD)
|
2995
2995
|
throw Error("The `animate` directive must be used in attribute position.");
|
@@ -3009,7 +3009,7 @@ class ma extends ai {
|
|
3009
3009
|
return g;
|
3010
3010
|
}
|
3011
3011
|
getController() {
|
3012
|
-
return
|
3012
|
+
return ha.get(this.u);
|
3013
3013
|
}
|
3014
3014
|
isDisabled() {
|
3015
3015
|
var e;
|
@@ -3023,7 +3023,7 @@ class ma extends ai {
|
|
3023
3023
|
p(e) {
|
3024
3024
|
e = e ?? {};
|
3025
3025
|
const t = this.getController();
|
3026
|
-
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties =
|
3026
|
+
t !== void 0 && ((e = { ...t.defaultOptions, ...e }).keyframeOptions = { ...t.defaultOptions.keyframeOptions, ...e.keyframeOptions }), e.properties ?? (e.properties = fa), this.options = e;
|
3027
3027
|
}
|
3028
3028
|
m() {
|
3029
3029
|
const e = {}, t = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
|
@@ -3117,7 +3117,7 @@ class ma extends ai {
|
|
3117
3117
|
}), e;
|
3118
3118
|
}
|
3119
3119
|
j(e, t = this.O()) {
|
3120
|
-
const n = { ...
|
3120
|
+
const n = { ...da };
|
3121
3121
|
return t.forEach((i) => Object.assign(n, i.options.keyframeOptions)), Object.assign(n, e), n;
|
3122
3122
|
}
|
3123
3123
|
N(e, t, n) {
|
@@ -3168,7 +3168,7 @@ class ma extends ai {
|
|
3168
3168
|
this.shouldLog && !this.isDisabled() && console.log(e, this.options.id, t);
|
3169
3169
|
}
|
3170
3170
|
}
|
3171
|
-
const Nt = gt(
|
3171
|
+
const Nt = gt(ga), F = (s, e, t) => {
|
3172
3172
|
s && t.style.setProperty(e, s);
|
3173
3173
|
}, li = (s, e) => {
|
3174
3174
|
var t, n, i, r, o, a, l, c, h;
|
@@ -3202,10 +3202,10 @@ const Nt = gt(ma), F = (s, e, t) => {
|
|
3202
3202
|
e
|
3203
3203
|
), F((h = s.colors) == null ? void 0 : h.focusColor, "--focus-color", e);
|
3204
3204
|
};
|
3205
|
-
var
|
3206
|
-
for (var i = n > 1 ? void 0 : n ?
|
3205
|
+
var ma = Object.defineProperty, va = Object.getOwnPropertyDescriptor, ze = (s, e, t, n) => {
|
3206
|
+
for (var i = n > 1 ? void 0 : n ? va(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3207
3207
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3208
|
-
return n && i &&
|
3208
|
+
return n && i && ma(e, t, i), i;
|
3209
3209
|
};
|
3210
3210
|
class X extends k {
|
3211
3211
|
constructor() {
|
@@ -3254,7 +3254,7 @@ class X extends k {
|
|
3254
3254
|
const n = (c = this.application) == null ? void 0 : c.triggerIcon;
|
3255
3255
|
if (!n)
|
3256
3256
|
return g;
|
3257
|
-
const i = async (h) =>
|
3257
|
+
const i = async (h) => Jr, { type: r, content: o } = n;
|
3258
3258
|
switch (r) {
|
3259
3259
|
case "Telia": {
|
3260
3260
|
const h = await i();
|
@@ -3290,7 +3290,7 @@ class X extends k {
|
|
3290
3290
|
@click=${this.toggleActive}
|
3291
3291
|
${Nt({
|
3292
3292
|
keyframeOptions: {},
|
3293
|
-
in:
|
3293
|
+
in: ua,
|
3294
3294
|
stabilizeOut: !0,
|
3295
3295
|
skipInitial: !1
|
3296
3296
|
})}
|
@@ -3487,10 +3487,10 @@ ze([
|
|
3487
3487
|
ze([
|
3488
3488
|
C()
|
3489
3489
|
], X.prototype, "icon", 2);
|
3490
|
-
var
|
3491
|
-
for (var i = n > 1 ? void 0 : n ?
|
3490
|
+
var ba = Object.defineProperty, ya = Object.getOwnPropertyDescriptor, te = (s, e, t, n) => {
|
3491
|
+
for (var i = n > 1 ? void 0 : n ? ya(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3492
3492
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3493
|
-
return n && i &&
|
3493
|
+
return n && i && ba(e, t, i), i;
|
3494
3494
|
};
|
3495
3495
|
const ci = (s) => {
|
3496
3496
|
class e extends s {
|
@@ -3564,7 +3564,7 @@ hi.styles = [
|
|
3564
3564
|
* Copyright 2021 Google LLC
|
3565
3565
|
* SPDX-License-Identifier: BSD-3-Clause
|
3566
3566
|
*/
|
3567
|
-
function*
|
3567
|
+
function* $a(s, e) {
|
3568
3568
|
if (s !== void 0) {
|
3569
3569
|
let t = 0;
|
3570
3570
|
for (const n of s)
|
@@ -3577,7 +3577,7 @@ var ln = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s)
|
|
3577
3577
|
* Copyright 2021 Google LLC
|
3578
3578
|
* SPDX-License-Identifier: BSD-3-Clause
|
3579
3579
|
*/
|
3580
|
-
let
|
3580
|
+
let xa = class extends Event {
|
3581
3581
|
constructor(e, t, n) {
|
3582
3582
|
super("context-request", { bubbles: !0, composed: !0 }), this.context = e, this.callback = t, this.subscribe = n ?? !1;
|
3583
3583
|
}
|
@@ -3592,7 +3592,7 @@ let wa = class extends Event {
|
|
3592
3592
|
* Copyright 2021 Google LLC
|
3593
3593
|
* SPDX-License-Identifier: BSD-3-Clause
|
3594
3594
|
*/
|
3595
|
-
class
|
3595
|
+
class wa {
|
3596
3596
|
get value() {
|
3597
3597
|
return this.o;
|
3598
3598
|
}
|
@@ -3627,12 +3627,12 @@ class ka {
|
|
3627
3627
|
* Copyright 2021 Google LLC
|
3628
3628
|
* SPDX-License-Identifier: BSD-3-Clause
|
3629
3629
|
*/
|
3630
|
-
let
|
3630
|
+
let ka = class extends Event {
|
3631
3631
|
constructor(e) {
|
3632
3632
|
super("context-provider", { bubbles: !0, composed: !0 }), this.context = e;
|
3633
3633
|
}
|
3634
3634
|
};
|
3635
|
-
class os extends
|
3635
|
+
class os extends wa {
|
3636
3636
|
constructor(e, t, n) {
|
3637
3637
|
var i, r;
|
3638
3638
|
super(t.context !== void 0 ? t.initialValue : n), this.onContextRequest = (o) => {
|
@@ -3644,7 +3644,7 @@ class os extends ka {
|
|
3644
3644
|
return;
|
3645
3645
|
const l = /* @__PURE__ */ new Set();
|
3646
3646
|
for (const [c, { consumerHost: h }] of this.subscriptions)
|
3647
|
-
l.has(c) || (l.add(c), h.dispatchEvent(new
|
3647
|
+
l.has(c) || (l.add(c), h.dispatchEvent(new xa(this.context, c, !0)));
|
3648
3648
|
o.stopPropagation();
|
3649
3649
|
}, this.host = e, t.context !== void 0 ? this.context = t.context : this.context = t, this.attachListeners(), (r = (i = this.host).addController) == null || r.call(i, this);
|
3650
3650
|
}
|
@@ -3652,7 +3652,7 @@ class os extends ka {
|
|
3652
3652
|
this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
|
3653
3653
|
}
|
3654
3654
|
hostConnected() {
|
3655
|
-
this.host.dispatchEvent(new
|
3655
|
+
this.host.dispatchEvent(new ka(this.context));
|
3656
3656
|
}
|
3657
3657
|
}
|
3658
3658
|
/**
|
@@ -3660,7 +3660,7 @@ class os extends ka {
|
|
3660
3660
|
* Copyright 2017 Google LLC
|
3661
3661
|
* SPDX-License-Identifier: BSD-3-Clause
|
3662
3662
|
*/
|
3663
|
-
function
|
3663
|
+
function _a({ context: s }) {
|
3664
3664
|
return (e, t) => {
|
3665
3665
|
const n = /* @__PURE__ */ new WeakMap();
|
3666
3666
|
if (typeof t == "object")
|
@@ -3698,12 +3698,12 @@ function Sa({ context: s }) {
|
|
3698
3698
|
}
|
3699
3699
|
};
|
3700
3700
|
}
|
3701
|
-
var
|
3702
|
-
for (var i = n > 1 ? void 0 : n ?
|
3701
|
+
var Sa = Object.defineProperty, Ca = Object.getOwnPropertyDescriptor, Aa = (s, e, t, n) => {
|
3702
|
+
for (var i = n > 1 ? void 0 : n ? Ca(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3703
3703
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3704
|
-
return n && i &&
|
3704
|
+
return n && i && Sa(e, t, i), i;
|
3705
3705
|
};
|
3706
|
-
const
|
3706
|
+
const Ea = "application";
|
3707
3707
|
class cn extends k {
|
3708
3708
|
constructor() {
|
3709
3709
|
super(...arguments), this.nodes = [], this.wrapperRef = M();
|
@@ -3732,7 +3732,7 @@ class cn extends k {
|
|
3732
3732
|
var n, i;
|
3733
3733
|
const e = this.application.settings.components.conversation;
|
3734
3734
|
return ((i = (n = e == null ? void 0 : e.properties) == null ? void 0 : n.chat) == null ? void 0 : i.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === ln.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")), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), m`<div class="widget-container" ${z(this.wrapperRef)}>
|
3735
|
-
${
|
3735
|
+
${$a(this.nodes, (r) => r)}
|
3736
3736
|
</div>`;
|
3737
3737
|
}
|
3738
3738
|
}
|
@@ -3872,14 +3872,14 @@ cn.styles = E`
|
|
3872
3872
|
pointer-events: none;
|
3873
3873
|
}
|
3874
3874
|
`;
|
3875
|
-
|
3875
|
+
Aa([
|
3876
3876
|
w({ attribute: !1 }),
|
3877
|
-
|
3877
|
+
_a({ context: Ea })
|
3878
3878
|
], cn.prototype, "application", 2);
|
3879
|
-
var
|
3880
|
-
for (var i = n > 1 ? void 0 : n ?
|
3879
|
+
var Ta = Object.defineProperty, La = Object.getOwnPropertyDescriptor, hn = (s, e, t, n) => {
|
3880
|
+
for (var i = n > 1 ? void 0 : n ? La(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
3881
3881
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
3882
|
-
return n && i &&
|
3882
|
+
return n && i && Ta(e, t, i), i;
|
3883
3883
|
};
|
3884
3884
|
class Ue extends k {
|
3885
3885
|
constructor() {
|
@@ -3934,7 +3934,7 @@ customElements.get("ace-trigger") || customElements.define("ace-trigger", X);
|
|
3934
3934
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", hi);
|
3935
3935
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", cn);
|
3936
3936
|
customElements.get("ace-widget") || customElements.define("ace-widget", Ue);
|
3937
|
-
class
|
3937
|
+
class Oa {
|
3938
3938
|
constructor(e) {
|
3939
3939
|
this._message = null, this._host = e, e.addController(this);
|
3940
3940
|
}
|
@@ -4006,7 +4006,7 @@ class as {
|
|
4006
4006
|
return this.component.platform.registeredProviders.get(e);
|
4007
4007
|
}
|
4008
4008
|
}
|
4009
|
-
class
|
4009
|
+
class Pa {
|
4010
4010
|
constructor(e) {
|
4011
4011
|
this.component = e, this.currentSession$ = new U(null), this.sessions = [], this.storage = null, Ge(e, "handover").subscribe((t) => {
|
4012
4012
|
const n = this._createNewSession(
|
@@ -4085,7 +4085,7 @@ class Ra {
|
|
4085
4085
|
const t = {
|
4086
4086
|
sessions: e.sessions.map((n) => n.toStore())
|
4087
4087
|
};
|
4088
|
-
this.storage.set("conversation", t
|
4088
|
+
this.storage.set("conversation", t);
|
4089
4089
|
}
|
4090
4090
|
_createNewSession(e, t = {}) {
|
4091
4091
|
const n = this._getStoredSessions(), i = new as(
|
@@ -4104,9 +4104,9 @@ class Ra {
|
|
4104
4104
|
return this.component.properties.providers[0];
|
4105
4105
|
}
|
4106
4106
|
}
|
4107
|
-
class
|
4107
|
+
class Ra {
|
4108
4108
|
constructor(e, t) {
|
4109
|
-
this.state$ = e, this.component = t, this.entries$ = new U([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new
|
4109
|
+
this.state$ = e, this.component = t, this.entries$ = new U([]), this.session = () => this.session$, this.isTyping = () => this.isTyping$, this.entries = () => this.entries$.asObservable(), this.sessionService = new Pa(this.component), this.session$ = this.sessionService.currentSession(), this.isTyping$ = this.session$.pipe(
|
4110
4110
|
de((n) => n ? n.provider$.pipe(
|
4111
4111
|
de((i) => i ? i.isTyping() : It(!1))
|
4112
4112
|
) : It(!1))
|
@@ -4144,7 +4144,7 @@ class Ia {
|
|
4144
4144
|
return [...r, ...o];
|
4145
4145
|
})
|
4146
4146
|
);
|
4147
|
-
return
|
4147
|
+
return wr(t, n);
|
4148
4148
|
})
|
4149
4149
|
).subscribe((e) => {
|
4150
4150
|
this.entries$.next(e);
|
@@ -4155,10 +4155,10 @@ class Ia {
|
|
4155
4155
|
(e = this.sessionService) == null || e.startSession();
|
4156
4156
|
}
|
4157
4157
|
}
|
4158
|
-
var
|
4159
|
-
for (var i = n > 1 ? void 0 : n ?
|
4158
|
+
var Ia = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, za = (s, e, t, n) => {
|
4159
|
+
for (var i = n > 1 ? void 0 : n ? Ma(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4160
4160
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4161
|
-
return n && i &&
|
4161
|
+
return n && i && Ia(e, t, i), i;
|
4162
4162
|
};
|
4163
4163
|
class un extends k {
|
4164
4164
|
connectedCallback() {
|
@@ -4182,13 +4182,13 @@ class un extends k {
|
|
4182
4182
|
}
|
4183
4183
|
_renderDeliveryStatus(e) {
|
4184
4184
|
return e === "delivered" ? m`<telia-icon
|
4185
|
-
svg=${
|
4185
|
+
svg=${Gr.svg}
|
4186
4186
|
size="sm"
|
4187
4187
|
></telia-icon>` : e === "failed" ? m`<telia-icon
|
4188
|
-
svg=${
|
4188
|
+
svg=${Qr.svg}
|
4189
4189
|
size="sm"
|
4190
4190
|
title="Message could not be delivered"
|
4191
|
-
></telia-icon>` : m`<telia-icon svg=${
|
4191
|
+
></telia-icon>` : m`<telia-icon svg=${Kr.svg} size="sm"></telia-icon>`;
|
4192
4192
|
}
|
4193
4193
|
_dispatchEntryAction(e) {
|
4194
4194
|
this.entry.actions$.next(e.detail);
|
@@ -4397,13 +4397,13 @@ un.styles = [
|
|
4397
4397
|
}
|
4398
4398
|
`
|
4399
4399
|
];
|
4400
|
-
|
4400
|
+
za([
|
4401
4401
|
w({ attribute: !1 })
|
4402
4402
|
], un.prototype, "entry", 2);
|
4403
|
-
var
|
4404
|
-
for (var i = n > 1 ? void 0 : n ?
|
4403
|
+
var Ua = Object.defineProperty, ja = Object.getOwnPropertyDescriptor, ui = (s, e, t, n) => {
|
4404
|
+
for (var i = n > 1 ? void 0 : n ? ja(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4405
4405
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4406
|
-
return n && i &&
|
4406
|
+
return n && i && Ua(e, t, i), i;
|
4407
4407
|
};
|
4408
4408
|
class mt extends k {
|
4409
4409
|
constructor() {
|
@@ -4433,7 +4433,7 @@ class mt extends k {
|
|
4433
4433
|
${Nt({
|
4434
4434
|
keyframeOptions: {},
|
4435
4435
|
in: ns,
|
4436
|
-
out:
|
4436
|
+
out: pa,
|
4437
4437
|
stabilizeOut: !0,
|
4438
4438
|
skipInitial: !1
|
4439
4439
|
})}
|
@@ -4460,10 +4460,10 @@ mt.styles = [
|
|
4460
4460
|
}
|
4461
4461
|
`
|
4462
4462
|
];
|
4463
|
-
|
4463
|
+
ui([
|
4464
4464
|
w({ attribute: !1 })
|
4465
4465
|
], mt.prototype, "entries", 2);
|
4466
|
-
|
4466
|
+
ui([
|
4467
4467
|
w({ type: Boolean })
|
4468
4468
|
], mt.prototype, "loading", 2);
|
4469
4469
|
/**
|
@@ -4471,16 +4471,16 @@ pi([
|
|
4471
4471
|
* Copyright 2021 Google LLC
|
4472
4472
|
* SPDX-License-Identifier: BSD-3-Clause
|
4473
4473
|
*/
|
4474
|
-
const
|
4474
|
+
const Da = (s, e, t) => {
|
4475
4475
|
for (const n of e)
|
4476
4476
|
if (n[0] === s)
|
4477
4477
|
return (0, n[1])();
|
4478
4478
|
return t == null ? void 0 : t();
|
4479
4479
|
};
|
4480
|
-
var
|
4481
|
-
for (var i = n > 1 ? void 0 : n ?
|
4480
|
+
var Ha = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, Na = (s, e, t, n) => {
|
4481
|
+
for (var i = n > 1 ? void 0 : n ? Ba(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4482
4482
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4483
|
-
return n && i &&
|
4483
|
+
return n && i && Ha(e, t, i), i;
|
4484
4484
|
};
|
4485
4485
|
class pn extends k {
|
4486
4486
|
render() {
|
@@ -4488,7 +4488,7 @@ class pn extends k {
|
|
4488
4488
|
<div class="message-group">
|
4489
4489
|
${this.group.items.map(
|
4490
4490
|
([e, t, n]) => m`
|
4491
|
-
${
|
4491
|
+
${Da(
|
4492
4492
|
e,
|
4493
4493
|
[
|
4494
4494
|
["html", () => m`<message-type-html .message=${t} />`],
|
@@ -4527,10 +4527,10 @@ pn.styles = [
|
|
4527
4527
|
}
|
4528
4528
|
`
|
4529
4529
|
];
|
4530
|
-
|
4530
|
+
Na([
|
4531
4531
|
w({ attribute: !1 })
|
4532
4532
|
], pn.prototype, "group", 2);
|
4533
|
-
class
|
4533
|
+
class pi extends k {
|
4534
4534
|
render() {
|
4535
4535
|
return m`<div class="container">
|
4536
4536
|
<div class="dot"></div>
|
@@ -4539,7 +4539,7 @@ class di extends k {
|
|
4539
4539
|
</div>`;
|
4540
4540
|
}
|
4541
4541
|
}
|
4542
|
-
|
4542
|
+
pi.styles = [
|
4543
4543
|
E`
|
4544
4544
|
:host {
|
4545
4545
|
display: block;
|
@@ -4601,16 +4601,16 @@ class Ft extends on {
|
|
4601
4601
|
}
|
4602
4602
|
}
|
4603
4603
|
Ft.directiveName = "unsafeHTML", Ft.resultType = 1;
|
4604
|
-
const
|
4605
|
-
var
|
4606
|
-
for (var i = n > 1 ? void 0 : n ?
|
4604
|
+
const Fa = gt(Ft);
|
4605
|
+
var qa = Object.defineProperty, Za = Object.getOwnPropertyDescriptor, Wa = (s, e, t, n) => {
|
4606
|
+
for (var i = n > 1 ? void 0 : n ? Za(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
4607
4607
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
4608
|
-
return n && i &&
|
4608
|
+
return n && i && qa(e, t, i), i;
|
4609
4609
|
};
|
4610
4610
|
class dn extends k {
|
4611
4611
|
render() {
|
4612
4612
|
return m`<div class="message-type-html">
|
4613
|
-
${
|
4613
|
+
${Fa(this.message.content)}
|
4614
4614
|
</div>`;
|
4615
4615
|
}
|
4616
4616
|
}
|
@@ -4651,7 +4651,7 @@ dn.styles = [
|
|
4651
4651
|
}
|
4652
4652
|
`
|
4653
4653
|
];
|
4654
|
-
|
4654
|
+
Wa([
|
4655
4655
|
w({ attribute: !1 })
|
4656
4656
|
], dn.prototype, "message", 2);
|
4657
4657
|
function fn() {
|
@@ -4669,36 +4669,36 @@ function fn() {
|
|
4669
4669
|
};
|
4670
4670
|
}
|
4671
4671
|
let ae = fn();
|
4672
|
-
function
|
4672
|
+
function di(s) {
|
4673
4673
|
ae = s;
|
4674
4674
|
}
|
4675
|
-
const
|
4675
|
+
const fi = /[&<>"']/, Ya = new RegExp(fi.source, "g"), gi = /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, Qa = new RegExp(gi.source, "g"), Ga = {
|
4676
4676
|
"&": "&",
|
4677
4677
|
"<": "<",
|
4678
4678
|
">": ">",
|
4679
4679
|
'"': """,
|
4680
4680
|
"'": "'"
|
4681
|
-
}, ls = (s) =>
|
4681
|
+
}, ls = (s) => Ga[s];
|
4682
4682
|
function L(s, e) {
|
4683
4683
|
if (e) {
|
4684
|
-
if (
|
4685
|
-
return s.replace(
|
4686
|
-
} else if (
|
4687
|
-
return s.replace(
|
4684
|
+
if (fi.test(s))
|
4685
|
+
return s.replace(Ya, ls);
|
4686
|
+
} else if (gi.test(s))
|
4687
|
+
return s.replace(Qa, ls);
|
4688
4688
|
return s;
|
4689
4689
|
}
|
4690
|
-
const
|
4691
|
-
function
|
4692
|
-
return s.replace(
|
4690
|
+
const Ka = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
|
4691
|
+
function Xa(s) {
|
4692
|
+
return s.replace(Ka, (e, t) => (t = t.toLowerCase(), t === "colon" ? ":" : t.charAt(0) === "#" ? t.charAt(1) === "x" ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""));
|
4693
4693
|
}
|
4694
|
-
const
|
4694
|
+
const Va = /(^|[^\[])\^/g;
|
4695
4695
|
function y(s, e) {
|
4696
4696
|
let t = typeof s == "string" ? s : s.source;
|
4697
4697
|
e = e || "";
|
4698
4698
|
const n = {
|
4699
4699
|
replace: (i, r) => {
|
4700
4700
|
let o = typeof r == "string" ? r : r.source;
|
4701
|
-
return o = o.replace(
|
4701
|
+
return o = o.replace(Va, "$1"), t = t.replace(i, o), n;
|
4702
4702
|
},
|
4703
4703
|
getRegex: () => new RegExp(t, e)
|
4704
4704
|
};
|
@@ -4747,7 +4747,7 @@ function Fe(s, e, t) {
|
|
4747
4747
|
}
|
4748
4748
|
return s.slice(0, n - i);
|
4749
4749
|
}
|
4750
|
-
function
|
4750
|
+
function Ja(s, e) {
|
4751
4751
|
if (s.indexOf(e[1]) === -1)
|
4752
4752
|
return -1;
|
4753
4753
|
let t = 0;
|
@@ -4782,7 +4782,7 @@ function us(s, e, t, n) {
|
|
4782
4782
|
text: L(o)
|
4783
4783
|
};
|
4784
4784
|
}
|
4785
|
-
function
|
4785
|
+
function el(s, e) {
|
4786
4786
|
const t = s.match(/^(\s+)(?:```)/);
|
4787
4787
|
if (t === null)
|
4788
4788
|
return e;
|
@@ -4830,7 +4830,7 @@ class st {
|
|
4830
4830
|
fences(e) {
|
4831
4831
|
const t = this.rules.block.fences.exec(e);
|
4832
4832
|
if (t) {
|
4833
|
-
const n = t[0], i =
|
4833
|
+
const n = t[0], i = el(n, t[3] || "");
|
4834
4834
|
return {
|
4835
4835
|
type: "code",
|
4836
4836
|
raw: n,
|
@@ -5070,7 +5070,7 @@ class st {
|
|
5070
5070
|
if ((n.length - o.length) % 2 === 0)
|
5071
5071
|
return;
|
5072
5072
|
} else {
|
5073
|
-
const o =
|
5073
|
+
const o = Ja(t[2], "()");
|
5074
5074
|
if (o > -1) {
|
5075
5075
|
const l = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + o;
|
5076
5076
|
t[2] = t[2].substring(0, o), t[0] = t[0].substring(0, l).trim(), t[3] = "";
|
@@ -5234,25 +5234,25 @@ class st {
|
|
5234
5234
|
}
|
5235
5235
|
}
|
5236
5236
|
}
|
5237
|
-
const
|
5238
|
-
blockquote:
|
5239
|
-
code:
|
5240
|
-
def:
|
5241
|
-
fences:
|
5242
|
-
heading:
|
5237
|
+
const tl = /^(?: *(?:\n|$))+/, nl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, sl = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, je = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, il = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, mi = /(?:[*+-]|\d{1,9}[.)])/, vi = y(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, mi).replace(/blockCode/g, / {4}/).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/).getRegex(), gn = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, rl = /^[^\n]+/, mn = /(?!\s*\])(?:\\.|[^\[\]\\])+/, ol = y(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", mn).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), al = y(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, mi).getRegex(), vt = "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", vn = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, ll = y("^ {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|$))", "i").replace("comment", vn).replace("tag", vt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), bi = y(gn).replace("hr", je).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", vt).getRegex(), cl = y(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", bi).getRegex(), bn = {
|
5238
|
+
blockquote: cl,
|
5239
|
+
code: nl,
|
5240
|
+
def: ol,
|
5241
|
+
fences: sl,
|
5242
|
+
heading: il,
|
5243
5243
|
hr: je,
|
5244
|
-
html:
|
5245
|
-
lheading:
|
5246
|
-
list:
|
5247
|
-
newline:
|
5248
|
-
paragraph:
|
5244
|
+
html: ll,
|
5245
|
+
lheading: vi,
|
5246
|
+
list: al,
|
5247
|
+
newline: tl,
|
5248
|
+
paragraph: bi,
|
5249
5249
|
table: Se,
|
5250
|
-
text:
|
5251
|
-
}, ps = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\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", vt).getRegex(),
|
5250
|
+
text: rl
|
5251
|
+
}, ps = y("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\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", vt).getRegex(), hl = {
|
5252
5252
|
...bn,
|
5253
5253
|
table: ps,
|
5254
5254
|
paragraph: y(gn).replace("hr", je).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", ps).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", vt).getRegex()
|
5255
|
-
},
|
5255
|
+
}, ul = {
|
5256
5256
|
...bn,
|
5257
5257
|
html: y(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", vn).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
|
5258
5258
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
@@ -5261,52 +5261,52 @@ const nl = /^(?: *(?:\n|$))+/, sl = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, il =
|
|
5261
5261
|
// fences not supported
|
5262
5262
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
5263
5263
|
paragraph: y(gn).replace("hr", je).replace("heading", ` *#{1,6} *[^
|
5264
|
-
]`).replace("lheading",
|
5265
|
-
},
|
5264
|
+
]`).replace("lheading", vi).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
5265
|
+
}, yi = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, pl = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, $i = /^( {2,}|\\)\n(?!\s*$)/, dl = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, De = "\\p{P}\\p{S}", fl = y(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, De).getRegex(), gl = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, ml = y(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, De).getRegex(), vl = y("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, De).getRegex(), bl = y("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, De).getRegex(), yl = y(/\\([punct])/, "gu").replace(/punct/g, De).getRegex(), $l = y(/^<(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(), xl = y(vn).replace("(?:-->|$)", "-->").getRegex(), wl = y("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", xl).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), it = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, kl = y(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", it).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), xi = y(/^!?\[(label)\]\[(ref)\]/).replace("label", it).replace("ref", mn).getRegex(), wi = y(/^!?\[(ref)\](?:\[\])?/).replace("ref", mn).getRegex(), _l = y("reflink|nolink(?!\\()", "g").replace("reflink", xi).replace("nolink", wi).getRegex(), yn = {
|
5266
5266
|
_backpedal: Se,
|
5267
5267
|
// only used for GFM url
|
5268
|
-
anyPunctuation:
|
5269
|
-
autolink:
|
5270
|
-
blockSkip:
|
5271
|
-
br:
|
5272
|
-
code:
|
5268
|
+
anyPunctuation: yl,
|
5269
|
+
autolink: $l,
|
5270
|
+
blockSkip: gl,
|
5271
|
+
br: $i,
|
5272
|
+
code: pl,
|
5273
5273
|
del: Se,
|
5274
|
-
emStrongLDelim:
|
5275
|
-
emStrongRDelimAst:
|
5276
|
-
emStrongRDelimUnd:
|
5277
|
-
escape:
|
5278
|
-
link:
|
5279
|
-
nolink:
|
5280
|
-
punctuation:
|
5281
|
-
reflink:
|
5282
|
-
reflinkSearch:
|
5283
|
-
tag:
|
5284
|
-
text:
|
5274
|
+
emStrongLDelim: ml,
|
5275
|
+
emStrongRDelimAst: vl,
|
5276
|
+
emStrongRDelimUnd: bl,
|
5277
|
+
escape: yi,
|
5278
|
+
link: kl,
|
5279
|
+
nolink: wi,
|
5280
|
+
punctuation: fl,
|
5281
|
+
reflink: xi,
|
5282
|
+
reflinkSearch: _l,
|
5283
|
+
tag: wl,
|
5284
|
+
text: dl,
|
5285
5285
|
url: Se
|
5286
|
-
},
|
5286
|
+
}, Sl = {
|
5287
5287
|
...yn,
|
5288
5288
|
link: y(/^!?\[(label)\]\((.*?)\)/).replace("label", it).getRegex(),
|
5289
5289
|
reflink: y(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", it).getRegex()
|
5290
5290
|
}, qt = {
|
5291
5291
|
...yn,
|
5292
|
-
escape: y(
|
5292
|
+
escape: y(yi).replace("])", "~|])").getRegex(),
|
5293
5293
|
url: y(/^((?: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(),
|
5294
5294
|
_backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
|
5295
5295
|
del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
|
5296
5296
|
text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
|
5297
|
-
},
|
5297
|
+
}, Cl = {
|
5298
5298
|
...qt,
|
5299
|
-
br: y(
|
5299
|
+
br: y($i).replace("{2,}", "*").getRegex(),
|
5300
5300
|
text: y(qt.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
|
5301
5301
|
}, qe = {
|
5302
5302
|
normal: bn,
|
5303
|
-
gfm:
|
5304
|
-
pedantic:
|
5303
|
+
gfm: hl,
|
5304
|
+
pedantic: ul
|
5305
5305
|
}, xe = {
|
5306
5306
|
normal: yn,
|
5307
5307
|
gfm: qt,
|
5308
|
-
breaks:
|
5309
|
-
pedantic:
|
5308
|
+
breaks: Cl,
|
5309
|
+
pedantic: Sl
|
5310
5310
|
};
|
5311
5311
|
class j {
|
5312
5312
|
constructor(e) {
|
@@ -5704,7 +5704,7 @@ class D {
|
|
5704
5704
|
}
|
5705
5705
|
case "heading": {
|
5706
5706
|
const o = r;
|
5707
|
-
n += this.renderer.heading(this.parseInline(o.tokens), o.depth,
|
5707
|
+
n += this.renderer.heading(this.parseInline(o.tokens), o.depth, Xa(this.parseInline(o.tokens, this.textRenderer)));
|
5708
5708
|
continue;
|
5709
5709
|
}
|
5710
5710
|
case "code": {
|
@@ -5885,8 +5885,8 @@ x(Ce, "passThroughHooks", /* @__PURE__ */ new Set([
|
|
5885
5885
|
"postprocess",
|
5886
5886
|
"processAllTokens"
|
5887
5887
|
]));
|
5888
|
-
var Oe, Zt, ot,
|
5889
|
-
class
|
5888
|
+
var Oe, Zt, ot, ki;
|
5889
|
+
class Al {
|
5890
5890
|
constructor(...e) {
|
5891
5891
|
$t(this, Oe);
|
5892
5892
|
$t(this, ot);
|
@@ -6029,7 +6029,7 @@ Oe = new WeakSet(), Zt = function(e, t) {
|
|
6029
6029
|
return (n, i) => {
|
6030
6030
|
const r = { ...i }, o = { ...this.defaults, ...r };
|
6031
6031
|
this.defaults.async === !0 && r.async === !1 && (o.silent || console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."), o.async = !0);
|
6032
|
-
const a = He(this, ot,
|
6032
|
+
const a = He(this, ot, ki).call(this, !!o.silent, !!o.async);
|
6033
6033
|
if (typeof n > "u" || n === null)
|
6034
6034
|
return a(new Error("marked(): input parameter is undefined or null"));
|
6035
6035
|
if (typeof n != "string")
|
@@ -6046,7 +6046,7 @@ Oe = new WeakSet(), Zt = function(e, t) {
|
|
6046
6046
|
return a(l);
|
6047
6047
|
}
|
6048
6048
|
};
|
6049
|
-
}, ot = new WeakSet(),
|
6049
|
+
}, ot = new WeakSet(), ki = function(e, t) {
|
6050
6050
|
return (n) => {
|
6051
6051
|
if (n.message += `
|
6052
6052
|
Please report this to https://github.com/markedjs/marked.`, e) {
|
@@ -6058,17 +6058,17 @@ Please report this to https://github.com/markedjs/marked.`, e) {
|
|
6058
6058
|
throw n;
|
6059
6059
|
};
|
6060
6060
|
};
|
6061
|
-
const oe = new
|
6061
|
+
const oe = new Al();
|
6062
6062
|
function v(s, e) {
|
6063
6063
|
return oe.parse(s, e);
|
6064
6064
|
}
|
6065
6065
|
v.options = v.setOptions = function(s) {
|
6066
|
-
return oe.setOptions(s), v.defaults = oe.defaults,
|
6066
|
+
return oe.setOptions(s), v.defaults = oe.defaults, di(v.defaults), v;
|
6067
6067
|
};
|
6068
6068
|
v.getDefaults = fn;
|
6069
6069
|
v.defaults = ae;
|
6070
6070
|
v.use = function(...s) {
|
6071
|
-
return oe.use(...s), v.defaults = oe.defaults,
|
6071
|
+
return oe.use(...s), v.defaults = oe.defaults, di(v.defaults), v;
|
6072
6072
|
};
|
6073
6073
|
v.walkTokens = function(s, e) {
|
6074
6074
|
return oe.walkTokens(s, e);
|
@@ -6090,10 +6090,10 @@ v.walkTokens;
|
|
6090
6090
|
v.parseInline;
|
6091
6091
|
D.parse;
|
6092
6092
|
j.lex;
|
6093
|
-
var
|
6094
|
-
for (var i = n > 1 ? void 0 : n ?
|
6093
|
+
var El = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, _i = (s, e, t, n) => {
|
6094
|
+
for (var i = n > 1 ? void 0 : n ? Tl(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
6095
6095
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
6096
|
-
return n && i &&
|
6096
|
+
return n && i && El(e, t, i), i;
|
6097
6097
|
};
|
6098
6098
|
v.use({
|
6099
6099
|
renderer: {
|
@@ -6153,7 +6153,7 @@ class bt extends k {
|
|
6153
6153
|
(r = this.contentRef.value) == null || r.appendChild(document.createElement("div")), this.buffer = "";
|
6154
6154
|
else if (this.buffer.includes("!["))
|
6155
6155
|
return;
|
6156
|
-
n.innerHTML =
|
6156
|
+
n.innerHTML = _r(t), this.applyCodeStyles(n), this.autoScroll && this.scrollRef.value.scrollIntoView();
|
6157
6157
|
}
|
6158
6158
|
// Apply white-space: pre-wrap to <code> elements
|
6159
6159
|
applyCodeStyles(e) {
|
@@ -6217,16 +6217,16 @@ bt.styles = [
|
|
6217
6217
|
}
|
6218
6218
|
`
|
6219
6219
|
];
|
6220
|
-
|
6220
|
+
_i([
|
6221
6221
|
w({ attribute: !1 })
|
6222
6222
|
], bt.prototype, "message", 2);
|
6223
|
-
|
6223
|
+
_i([
|
6224
6224
|
C()
|
6225
6225
|
], bt.prototype, "showLightbox", 2);
|
6226
|
-
var
|
6227
|
-
for (var i = n > 1 ? void 0 : n ?
|
6226
|
+
var Ll = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, Pl = (s, e, t, n) => {
|
6227
|
+
for (var i = n > 1 ? void 0 : n ? Ol(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
6228
6228
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
6229
|
-
return n && i &&
|
6229
|
+
return n && i && Ll(e, t, i), i;
|
6230
6230
|
};
|
6231
6231
|
class xn extends k {
|
6232
6232
|
constructor() {
|
@@ -6265,7 +6265,7 @@ class xn extends k {
|
|
6265
6265
|
@keydown=${this.handleKeyDown}
|
6266
6266
|
>
|
6267
6267
|
<button class="close" @click=${this.closeLightbox}>
|
6268
|
-
<telia-icon svg=${
|
6268
|
+
<telia-icon svg=${Vr.svg} size="lg"></telia-icon>
|
6269
6269
|
</button>
|
6270
6270
|
<img src="${this.imageUrl}" alt="${this.altText ?? ""}" />
|
6271
6271
|
</div> `;
|
@@ -6312,25 +6312,25 @@ xn.styles = [
|
|
6312
6312
|
}
|
6313
6313
|
`
|
6314
6314
|
];
|
6315
|
-
|
6315
|
+
Pl([
|
6316
6316
|
w({ attribute: !0 })
|
6317
6317
|
], xn.prototype, "imageUrl", 2);
|
6318
|
-
var
|
6319
|
-
for (var i = n > 1 ? void 0 : n ?
|
6318
|
+
var Rl = Object.defineProperty, Il = Object.getOwnPropertyDescriptor, V = (s, e, t, n) => {
|
6319
|
+
for (var i = n > 1 ? void 0 : n ? Il(e, t) : e, r = s.length - 1, o; r >= 0; r--)
|
6320
6320
|
(o = s[r]) && (i = (n ? o(e, t, i) : o(i)) || i);
|
6321
|
-
return n && i &&
|
6321
|
+
return n && i && Rl(e, t, i), i;
|
6322
6322
|
};
|
6323
6323
|
customElements.get("conversation-entry") || customElements.define("conversation-entry", un);
|
6324
6324
|
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", mt);
|
6325
6325
|
customElements.get("conversation-group") || customElements.define("conversation-group", pn);
|
6326
|
-
customElements.get("ace-typing-state") || customElements.define("ace-typing-state",
|
6326
|
+
customElements.get("ace-typing-state") || customElements.define("ace-typing-state", pi);
|
6327
6327
|
customElements.get("message-type-html") || customElements.define("message-type-html", dn);
|
6328
6328
|
customElements.get("message-type-markdown") || customElements.define("message-type-markdown", bt);
|
6329
6329
|
customElements.get("ace-lightbox") || customElements.define("ace-lightbox", xn);
|
6330
|
-
const
|
6331
|
-
class R extends
|
6330
|
+
const Si = ci(k);
|
6331
|
+
class R extends Si {
|
6332
6332
|
constructor() {
|
6333
|
-
super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = M(), this.conversationFeedRef = M(), this.formRef = M(), this.inputRef = M(), this.scrollRef = M(), this.counterRef = M(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new
|
6333
|
+
super(...arguments), this.message = "", this.disabledInput = !1, this.disabledSubmit = !1, this.chatOverlayActive = !1, this.textAreaLength = 0, this.conversationContentRef = M(), this.conversationFeedRef = M(), this.formRef = M(), this.inputRef = M(), this.scrollRef = M(), this.counterRef = M(), this.chatScrollHeight = 0, this.chatCurrentScrollPosition = 0, this.toast = new Oa(this), this.messageMaxLength = 1e3, this.messageMaxLengthLabel = "Maximum character limit reached", this.skipToLatestMessageLabel = "Skip to latest message", this.platform = null, this.entries = [], this.typing = !1, this.conversationState$ = new U("waiting"), this.stateMachine = new Ra(this.conversationState$, this), this.provider$ = this.stateMachine.session().pipe(
|
6334
6334
|
de((e) => e ? e == null ? void 0 : e.provider$ : It(null))
|
6335
6335
|
), this.userTyping$ = new _();
|
6336
6336
|
}
|
@@ -6344,7 +6344,7 @@ class R extends Ci {
|
|
6344
6344
|
t && t.widgetActive$.pipe(zt(t.componentIsDestroyed$)).subscribe((n) => {
|
6345
6345
|
const i = this.conversationContentRef.value;
|
6346
6346
|
i && (n ? i.scrollTop = this.chatCurrentScrollPosition : this.chatCurrentScrollPosition = i.scrollTop);
|
6347
|
-
}), this.stateSubscription =
|
6347
|
+
}), this.stateSubscription = pr([
|
6348
6348
|
this.stateMachine.entries(),
|
6349
6349
|
this.stateMachine.isTyping()
|
6350
6350
|
]).subscribe(([n, i]) => {
|
@@ -6495,7 +6495,7 @@ class R extends Ci {
|
|
6495
6495
|
class="overlay-button"
|
6496
6496
|
@click=${() => this.chatOverlayActive = !1}
|
6497
6497
|
>
|
6498
|
-
<telia-icon svg=${
|
6498
|
+
<telia-icon svg=${Xr.svg}></telia-icon>
|
6499
6499
|
</button>
|
6500
6500
|
</div>` : g}
|
6501
6501
|
<div
|
@@ -6551,7 +6551,7 @@ class R extends Ci {
|
|
6551
6551
|
title=${e.getOrFallback("conversation.send-alt", "Send")}
|
6552
6552
|
?disabled=${this.disabledSubmit}
|
6553
6553
|
>
|
6554
|
-
<telia-icon svg=${
|
6554
|
+
<telia-icon svg=${eo.svg}></telia-icon>
|
6555
6555
|
</button>
|
6556
6556
|
<span class="counter" ${z(this.counterRef)}>
|
6557
6557
|
${this.textAreaLength} / ${this.messageMaxLength}</span
|
@@ -6571,7 +6571,7 @@ class R extends Ci {
|
|
6571
6571
|
}
|
6572
6572
|
}
|
6573
6573
|
R.styles = [
|
6574
|
-
|
6574
|
+
Si.styles || [],
|
6575
6575
|
E`
|
6576
6576
|
:host {
|
6577
6577
|
font-family: var(--font-family);
|
@@ -6880,20 +6880,20 @@ V([
|
|
6880
6880
|
V([
|
6881
6881
|
C()
|
6882
6882
|
], R.prototype, "typing", 2);
|
6883
|
-
const
|
6883
|
+
const Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
6884
6884
|
__proto__: null,
|
6885
6885
|
Conversation: R,
|
6886
6886
|
default: R
|
6887
6887
|
}, Symbol.toStringTag, { value: "Module" }));
|
6888
6888
|
export {
|
6889
|
-
|
6889
|
+
Cr as Agent,
|
6890
6890
|
R as Conversation,
|
6891
|
-
|
6891
|
+
Ul as ConversationComponent,
|
6892
6892
|
ct as ConversationEntry,
|
6893
6893
|
W as ConversationMessageType,
|
6894
6894
|
fs as ConversationPlatform,
|
6895
|
-
|
6896
|
-
|
6897
|
-
|
6898
|
-
|
6895
|
+
Dl as ConversationProvider,
|
6896
|
+
Ar as User,
|
6897
|
+
jl as findPlainTextLinks,
|
6898
|
+
_r as truncateLongLinks
|
6899
6899
|
};
|