@telia-ace/widget-components-widget-header-flamingo 1.1.75 → 1.1.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,7 +6,7 @@ var zt = function(i, t) {
|
|
|
6
6
|
Object.prototype.hasOwnProperty.call(s, n) && (e[n] = s[n]);
|
|
7
7
|
}, zt(i, t);
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function Z(i, t) {
|
|
10
10
|
if (typeof t != "function" && t !== null)
|
|
11
11
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
12
12
|
zt(i, t);
|
|
@@ -107,7 +107,7 @@ function Ge(i, t) {
|
|
|
107
107
|
return { value: c[0] ? c[1] : void 0, done: !0 };
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function q(i) {
|
|
111
111
|
var t = typeof Symbol == "function" && Symbol.iterator, e = t && i[t], s = 0;
|
|
112
112
|
if (e)
|
|
113
113
|
return e.call(i);
|
|
@@ -145,8 +145,8 @@ function gt(i, t, e) {
|
|
|
145
145
|
(r || !(s in t)) && (r || (r = Array.prototype.slice.call(t, 0, s)), r[s] = t[s]);
|
|
146
146
|
return i.concat(r || Array.prototype.slice.call(t));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
return this instanceof
|
|
148
|
+
function F(i) {
|
|
149
|
+
return this instanceof F ? (this.v = i, this) : new F(i);
|
|
150
150
|
}
|
|
151
151
|
function Zi(i, t, e) {
|
|
152
152
|
if (!Symbol.asyncIterator)
|
|
@@ -170,7 +170,7 @@ function Zi(i, t, e) {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
function l(d) {
|
|
173
|
-
d.value instanceof
|
|
173
|
+
d.value instanceof F ? Promise.resolve(d.value.v).then(c, h) : u(r[0][2], d);
|
|
174
174
|
}
|
|
175
175
|
function c(d) {
|
|
176
176
|
a("next", d);
|
|
@@ -186,7 +186,7 @@ function Ki(i) {
|
|
|
186
186
|
if (!Symbol.asyncIterator)
|
|
187
187
|
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
188
188
|
var t = i[Symbol.asyncIterator], e;
|
|
189
|
-
return t ? t.call(i) : (i = typeof
|
|
189
|
+
return t ? t.call(i) : (i = typeof q == "function" ? q(i) : i[Symbol.iterator](), e = {}, s("next"), s("throw"), s("return"), e[Symbol.asyncIterator] = function() {
|
|
190
190
|
return this;
|
|
191
191
|
}, e);
|
|
192
192
|
function s(r) {
|
|
@@ -238,7 +238,7 @@ var Ct = function() {
|
|
|
238
238
|
if (o)
|
|
239
239
|
if (this._parentage = null, Array.isArray(o))
|
|
240
240
|
try {
|
|
241
|
-
for (var a =
|
|
241
|
+
for (var a = q(o), l = a.next(); !l.done; l = a.next()) {
|
|
242
242
|
var c = l.value;
|
|
243
243
|
c.remove(this);
|
|
244
244
|
}
|
|
@@ -265,7 +265,7 @@ var Ct = function() {
|
|
|
265
265
|
if (u) {
|
|
266
266
|
this._finalizers = null;
|
|
267
267
|
try {
|
|
268
|
-
for (var d =
|
|
268
|
+
for (var d = q(u), f = d.next(); !f.done; f = d.next()) {
|
|
269
269
|
var $ = f.value;
|
|
270
270
|
try {
|
|
271
271
|
ue($);
|
|
@@ -353,7 +353,7 @@ function dt(i) {
|
|
|
353
353
|
i();
|
|
354
354
|
}
|
|
355
355
|
var Kt = function(i) {
|
|
356
|
-
|
|
356
|
+
Z(t, i);
|
|
357
357
|
function t(e) {
|
|
358
358
|
var s = i.call(this) || this;
|
|
359
359
|
return s.isStopped = !1, e ? (s.destination = e, Xe(e) && e.add(s)) : s.destination = Vi, s;
|
|
@@ -397,7 +397,7 @@ var Qi = function() {
|
|
|
397
397
|
try {
|
|
398
398
|
e.next(t);
|
|
399
399
|
} catch (s) {
|
|
400
|
-
|
|
400
|
+
ht(s);
|
|
401
401
|
}
|
|
402
402
|
}, i.prototype.error = function(t) {
|
|
403
403
|
var e = this.partialObserver;
|
|
@@ -405,21 +405,21 @@ var Qi = function() {
|
|
|
405
405
|
try {
|
|
406
406
|
e.error(t);
|
|
407
407
|
} catch (s) {
|
|
408
|
-
|
|
408
|
+
ht(s);
|
|
409
409
|
}
|
|
410
410
|
else
|
|
411
|
-
|
|
411
|
+
ht(t);
|
|
412
412
|
}, i.prototype.complete = function() {
|
|
413
413
|
var t = this.partialObserver;
|
|
414
414
|
if (t.complete)
|
|
415
415
|
try {
|
|
416
416
|
t.complete();
|
|
417
417
|
} catch (e) {
|
|
418
|
-
|
|
418
|
+
ht(e);
|
|
419
419
|
}
|
|
420
420
|
}, i;
|
|
421
421
|
}(), Yt = function(i) {
|
|
422
|
-
|
|
422
|
+
Z(t, i);
|
|
423
423
|
function t(e, s, n) {
|
|
424
424
|
var r = i.call(this) || this, o;
|
|
425
425
|
if (v(e) || !e)
|
|
@@ -442,7 +442,7 @@ var Qi = function() {
|
|
|
442
442
|
}
|
|
443
443
|
return t;
|
|
444
444
|
}(Kt);
|
|
445
|
-
function
|
|
445
|
+
function ht(i) {
|
|
446
446
|
Je(i);
|
|
447
447
|
}
|
|
448
448
|
function Ji(i) {
|
|
@@ -556,7 +556,7 @@ function $t(i, t, e, s, n) {
|
|
|
556
556
|
return new ns(i, t, e, s, n);
|
|
557
557
|
}
|
|
558
558
|
var ns = function(i) {
|
|
559
|
-
|
|
559
|
+
Z(t, i);
|
|
560
560
|
function t(e, s, n, r, o, a) {
|
|
561
561
|
var l = i.call(this, e) || this;
|
|
562
562
|
return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = s ? function(c) {
|
|
@@ -595,7 +595,7 @@ var ns = function(i) {
|
|
|
595
595
|
i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
596
596
|
};
|
|
597
597
|
}), kt = function(i) {
|
|
598
|
-
|
|
598
|
+
Z(t, i);
|
|
599
599
|
function t() {
|
|
600
600
|
var e = i.call(this) || this;
|
|
601
601
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
@@ -613,7 +613,7 @@ var ns = function(i) {
|
|
|
613
613
|
if (s._throwIfClosed(), !s.isStopped) {
|
|
614
614
|
s.currentObservers || (s.currentObservers = Array.from(s.observers));
|
|
615
615
|
try {
|
|
616
|
-
for (var o =
|
|
616
|
+
for (var o = q(s.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
617
617
|
var l = a.value;
|
|
618
618
|
l.next(e);
|
|
619
619
|
}
|
|
@@ -675,7 +675,7 @@ var ns = function(i) {
|
|
|
675
675
|
return new pe(e, s);
|
|
676
676
|
}, t;
|
|
677
677
|
}(w), pe = function(i) {
|
|
678
|
-
|
|
678
|
+
Z(t, i);
|
|
679
679
|
function t(e, s) {
|
|
680
680
|
var n = i.call(this) || this;
|
|
681
681
|
return n.destination = e, n.source = s, n;
|
|
@@ -694,7 +694,7 @@ var ns = function(i) {
|
|
|
694
694
|
return (n = (s = this.source) === null || s === void 0 ? void 0 : s.subscribe(e)) !== null && n !== void 0 ? n : Ke;
|
|
695
695
|
}, t;
|
|
696
696
|
}(kt), os = function(i) {
|
|
697
|
-
|
|
697
|
+
Z(t, i);
|
|
698
698
|
function t(e) {
|
|
699
699
|
var s = i.call(this) || this;
|
|
700
700
|
return s._value = e, s;
|
|
@@ -763,13 +763,13 @@ function li(i) {
|
|
|
763
763
|
case 1:
|
|
764
764
|
o.trys.push([1, , 9, 10]), o.label = 2;
|
|
765
765
|
case 2:
|
|
766
|
-
return [4,
|
|
766
|
+
return [4, F(e.read())];
|
|
767
767
|
case 3:
|
|
768
|
-
return s = o.sent(), n = s.value, r = s.done, r ? [4,
|
|
768
|
+
return s = o.sent(), n = s.value, r = s.done, r ? [4, F(void 0)] : [3, 5];
|
|
769
769
|
case 4:
|
|
770
770
|
return [2, o.sent()];
|
|
771
771
|
case 5:
|
|
772
|
-
return [4,
|
|
772
|
+
return [4, F(n)];
|
|
773
773
|
case 6:
|
|
774
774
|
return [4, o.sent()];
|
|
775
775
|
case 7:
|
|
@@ -787,7 +787,7 @@ function li(i) {
|
|
|
787
787
|
function ci(i) {
|
|
788
788
|
return v(i == null ? void 0 : i.getReader);
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function K(i) {
|
|
791
791
|
if (i instanceof w)
|
|
792
792
|
return i;
|
|
793
793
|
if (i != null) {
|
|
@@ -834,7 +834,7 @@ function gs(i) {
|
|
|
834
834
|
return new w(function(t) {
|
|
835
835
|
var e, s;
|
|
836
836
|
try {
|
|
837
|
-
for (var n =
|
|
837
|
+
for (var n = q(i), r = n.next(); !r.done; r = n.next()) {
|
|
838
838
|
var o = r.value;
|
|
839
839
|
if (t.next(o), t.closed)
|
|
840
840
|
return;
|
|
@@ -902,7 +902,7 @@ function vs(i, t) {
|
|
|
902
902
|
});
|
|
903
903
|
});
|
|
904
904
|
}
|
|
905
|
-
function
|
|
905
|
+
function k(i, t, e, s, n) {
|
|
906
906
|
s === void 0 && (s = 0), n === void 0 && (n = !1);
|
|
907
907
|
var r = t.schedule(function() {
|
|
908
908
|
e(), n ? i.add(this.schedule(null, s)) : this.unsubscribe();
|
|
@@ -913,15 +913,15 @@ function E(i, t, e, s, n) {
|
|
|
913
913
|
function ui(i, t) {
|
|
914
914
|
return t === void 0 && (t = 0), Et(function(e, s) {
|
|
915
915
|
e.subscribe($t(s, function(n) {
|
|
916
|
-
return
|
|
916
|
+
return k(s, i, function() {
|
|
917
917
|
return s.next(n);
|
|
918
918
|
}, t);
|
|
919
919
|
}, function() {
|
|
920
|
-
return
|
|
920
|
+
return k(s, i, function() {
|
|
921
921
|
return s.complete();
|
|
922
922
|
}, t);
|
|
923
923
|
}, function(n) {
|
|
924
|
-
return
|
|
924
|
+
return k(s, i, function() {
|
|
925
925
|
return s.error(n);
|
|
926
926
|
}, t);
|
|
927
927
|
}));
|
|
@@ -935,10 +935,10 @@ function di(i, t) {
|
|
|
935
935
|
});
|
|
936
936
|
}
|
|
937
937
|
function ms(i, t) {
|
|
938
|
-
return
|
|
938
|
+
return K(i).pipe(di(t), ui(t));
|
|
939
939
|
}
|
|
940
940
|
function ys(i, t) {
|
|
941
|
-
return
|
|
941
|
+
return K(i).pipe(di(t), ui(t));
|
|
942
942
|
}
|
|
943
943
|
function bs(i, t) {
|
|
944
944
|
return new w(function(e) {
|
|
@@ -951,8 +951,8 @@ function bs(i, t) {
|
|
|
951
951
|
function _s(i, t) {
|
|
952
952
|
return new w(function(e) {
|
|
953
953
|
var s;
|
|
954
|
-
return
|
|
955
|
-
s = i[oi](),
|
|
954
|
+
return k(e, t, function() {
|
|
955
|
+
s = i[oi](), k(e, t, function() {
|
|
956
956
|
var n, r, o;
|
|
957
957
|
try {
|
|
958
958
|
n = s.next(), r = n.value, o = n.done;
|
|
@@ -971,9 +971,9 @@ function fi(i, t) {
|
|
|
971
971
|
if (!i)
|
|
972
972
|
throw new Error("Iterable cannot be null");
|
|
973
973
|
return new w(function(e) {
|
|
974
|
-
|
|
974
|
+
k(e, t, function() {
|
|
975
975
|
var s = i[Symbol.asyncIterator]();
|
|
976
|
-
|
|
976
|
+
k(e, t, function() {
|
|
977
977
|
s.next().then(function(n) {
|
|
978
978
|
n.done ? e.complete() : e.next(n.value);
|
|
979
979
|
});
|
|
@@ -1002,7 +1002,7 @@ function xs(i, t) {
|
|
|
1002
1002
|
throw ri(i);
|
|
1003
1003
|
}
|
|
1004
1004
|
function Ss(i, t) {
|
|
1005
|
-
return t ? xs(i, t) :
|
|
1005
|
+
return t ? xs(i, t) : K(i);
|
|
1006
1006
|
}
|
|
1007
1007
|
function As(i, t) {
|
|
1008
1008
|
return Et(function(e, s) {
|
|
@@ -1020,24 +1020,24 @@ function Cs(i, t, e, s, n, r, o, a) {
|
|
|
1020
1020
|
}, $ = function(g) {
|
|
1021
1021
|
r && t.next(g), c++;
|
|
1022
1022
|
var he = !1;
|
|
1023
|
-
|
|
1024
|
-
n == null || n(
|
|
1023
|
+
K(e(g, h++)).subscribe($t(t, function(X) {
|
|
1024
|
+
n == null || n(X), r ? f(X) : t.next(X);
|
|
1025
1025
|
}, function() {
|
|
1026
1026
|
he = !0;
|
|
1027
1027
|
}, void 0, function() {
|
|
1028
1028
|
if (he)
|
|
1029
1029
|
try {
|
|
1030
1030
|
c--;
|
|
1031
|
-
for (var
|
|
1032
|
-
var
|
|
1033
|
-
o ?
|
|
1034
|
-
return $(
|
|
1035
|
-
}) : $(
|
|
1031
|
+
for (var X = function() {
|
|
1032
|
+
var ct = l.shift();
|
|
1033
|
+
o ? k(t, o, function() {
|
|
1034
|
+
return $(ct);
|
|
1035
|
+
}) : $(ct);
|
|
1036
1036
|
}; l.length && c < s; )
|
|
1037
|
-
|
|
1037
|
+
X();
|
|
1038
1038
|
d();
|
|
1039
|
-
} catch (
|
|
1040
|
-
t.error(
|
|
1039
|
+
} catch (ct) {
|
|
1040
|
+
t.error(ct);
|
|
1041
1041
|
}
|
|
1042
1042
|
}));
|
|
1043
1043
|
};
|
|
@@ -1051,7 +1051,7 @@ function pi(i, t, e) {
|
|
|
1051
1051
|
return e === void 0 && (e = 1 / 0), v(t) ? pi(function(s, n) {
|
|
1052
1052
|
return As(function(r, o) {
|
|
1053
1053
|
return t(s, r, n, o);
|
|
1054
|
-
})(
|
|
1054
|
+
})(K(i(s, n)));
|
|
1055
1055
|
}, e) : (typeof t == "number" && (e = t), Et(function(s, n) {
|
|
1056
1056
|
return Cs(s, n, i, e);
|
|
1057
1057
|
}));
|
|
@@ -1063,7 +1063,7 @@ function ks() {
|
|
|
1063
1063
|
for (var i = [], t = 0; t < arguments.length; t++)
|
|
1064
1064
|
i[t] = arguments[t];
|
|
1065
1065
|
var e = cs(i), s = hs(i, 1 / 0), n = i;
|
|
1066
|
-
return n.length ? n.length === 1 ?
|
|
1066
|
+
return n.length ? n.length === 1 ? K(n[0]) : Es(s)(Ss(n, e)) : as;
|
|
1067
1067
|
}
|
|
1068
1068
|
/**
|
|
1069
1069
|
* @license
|
|
@@ -1090,7 +1090,7 @@ let gi = class {
|
|
|
1090
1090
|
return this.cssText;
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
|
-
const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Jt),
|
|
1093
|
+
const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Jt), j = (i, ...t) => {
|
|
1094
1094
|
const e = i.length === 1 ? i[0] : t.reduce((s, n, r) => s + ((o) => {
|
|
1095
1095
|
if (o._$cssResult$ === !0)
|
|
1096
1096
|
return o.cssText;
|
|
@@ -1118,7 +1118,7 @@ const Os = (i) => new gi(typeof i == "string" ? i : i + "", void 0, Jt), M = (i,
|
|
|
1118
1118
|
* Copyright 2017 Google LLC
|
|
1119
1119
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1120
1120
|
*/
|
|
1121
|
-
const { is: Ps, defineProperty: Ls, getOwnPropertyDescriptor: Is, getOwnPropertyNames: Rs, getOwnPropertySymbols: Us, getPrototypeOf: Ms } = Object,
|
|
1121
|
+
const { is: Ps, defineProperty: Ls, getOwnPropertyDescriptor: Is, getOwnPropertyNames: Rs, getOwnPropertySymbols: Us, getPrototypeOf: Ms } = Object, O = globalThis, ve = O.trustedTypes, js = ve ? ve.emptyScript : "", Ut = O.reactiveElementPolyfillSupport, J = (i, t) => i, vt = { toAttribute(i, t) {
|
|
1122
1122
|
switch (t) {
|
|
1123
1123
|
case Boolean:
|
|
1124
1124
|
i = i ? js : null;
|
|
@@ -1147,8 +1147,8 @@ const { is: Ps, defineProperty: Ls, getOwnPropertyDescriptor: Is, getOwnProperty
|
|
|
1147
1147
|
}
|
|
1148
1148
|
return e;
|
|
1149
1149
|
} }, Vt = (i, t) => !Ps(i, t), me = { attribute: !0, type: String, converter: vt, reflect: !1, hasChanged: Vt };
|
|
1150
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")),
|
|
1151
|
-
let
|
|
1150
|
+
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1151
|
+
let N = class extends HTMLElement {
|
|
1152
1152
|
static addInitializer(t) {
|
|
1153
1153
|
this._$Ei(), (this.l ?? (this.l = [])).push(t);
|
|
1154
1154
|
}
|
|
@@ -1178,15 +1178,15 @@ let H = class extends HTMLElement {
|
|
|
1178
1178
|
return this.elementProperties.get(t) ?? me;
|
|
1179
1179
|
}
|
|
1180
1180
|
static _$Ei() {
|
|
1181
|
-
if (this.hasOwnProperty(
|
|
1181
|
+
if (this.hasOwnProperty(J("elementProperties")))
|
|
1182
1182
|
return;
|
|
1183
1183
|
const t = Ms(this);
|
|
1184
1184
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1185
1185
|
}
|
|
1186
1186
|
static finalize() {
|
|
1187
|
-
if (this.hasOwnProperty(
|
|
1187
|
+
if (this.hasOwnProperty(J("finalized")))
|
|
1188
1188
|
return;
|
|
1189
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
1189
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(J("properties"))) {
|
|
1190
1190
|
const e = this.properties, s = [...Rs(e), ...Us(e)];
|
|
1191
1191
|
for (const n of s)
|
|
1192
1192
|
this.createProperty(n, e[n]);
|
|
@@ -1359,15 +1359,15 @@ let H = class extends HTMLElement {
|
|
|
1359
1359
|
firstUpdated(t) {
|
|
1360
1360
|
}
|
|
1361
1361
|
};
|
|
1362
|
-
|
|
1362
|
+
N.elementStyles = [], N.shadowRootOptions = { mode: "open" }, N[J("elementProperties")] = /* @__PURE__ */ new Map(), N[J("finalized")] = /* @__PURE__ */ new Map(), Ut == null || Ut({ ReactiveElement: N }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.4");
|
|
1363
1363
|
/**
|
|
1364
1364
|
* @license
|
|
1365
1365
|
* Copyright 2017 Google LLC
|
|
1366
1366
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1367
1367
|
*/
|
|
1368
|
-
const
|
|
1369
|
-
\f\r]`,
|
|
1370
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, xe = /"/g, yi = /^(?:script|style|textarea|title)$/i, Ds = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), b = Ds(1),
|
|
1368
|
+
const V = globalThis, mt = V.trustedTypes, ye = mt ? mt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, $i = "$lit$", E = `lit$${(Math.random() + "").slice(9)}$`, vi = "?" + E, Hs = `<${vi}>`, R = document, et = () => R.createComment(""), it = (i) => i === null || typeof i != "object" && typeof i != "function", mi = Array.isArray, Ns = (i) => mi(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Mt = `[
|
|
1369
|
+
\f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, be = /-->/g, _e = />/g, P = RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
|
|
1370
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), we = /'/g, xe = /"/g, yi = /^(?:script|style|textarea|title)$/i, Ds = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), b = Ds(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Se = /* @__PURE__ */ new WeakMap(), I = R.createTreeWalker(R, 129);
|
|
1371
1371
|
function bi(i, t) {
|
|
1372
1372
|
if (!Array.isArray(i) || !i.hasOwnProperty("raw"))
|
|
1373
1373
|
throw Error("invalid template strings array");
|
|
@@ -1375,43 +1375,43 @@ function bi(i, t) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
const Bs = (i, t) => {
|
|
1377
1377
|
const e = i.length - 1, s = [];
|
|
1378
|
-
let n, r = t === 2 ? "<svg>" : "", o =
|
|
1378
|
+
let n, r = t === 2 ? "<svg>" : "", o = Q;
|
|
1379
1379
|
for (let a = 0; a < e; a++) {
|
|
1380
1380
|
const l = i[a];
|
|
1381
1381
|
let c, h, u = -1, d = 0;
|
|
1382
1382
|
for (; d < l.length && (o.lastIndex = d, h = o.exec(l), h !== null); )
|
|
1383
|
-
d = o.lastIndex, o ===
|
|
1384
|
-
const f = o ===
|
|
1385
|
-
r += o ===
|
|
1383
|
+
d = o.lastIndex, o === Q ? h[1] === "!--" ? o = be : h[1] !== void 0 ? o = _e : h[2] !== void 0 ? (yi.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = P) : h[3] !== void 0 && (o = P) : o === P ? h[0] === ">" ? (o = n ?? Q, u = -1) : h[1] === void 0 ? u = -2 : (u = o.lastIndex - h[2].length, c = h[1], o = h[3] === void 0 ? P : h[3] === '"' ? xe : we) : o === xe || o === we ? o = P : o === be || o === _e ? o = Q : (o = P, n = void 0);
|
|
1384
|
+
const f = o === P && i[a + 1].startsWith("/>") ? " " : "";
|
|
1385
|
+
r += o === Q ? l + Hs : u >= 0 ? (s.push(c), l.slice(0, u) + $i + l.slice(u) + E + f) : l + E + (u === -2 ? a : f);
|
|
1386
1386
|
}
|
|
1387
1387
|
return [bi(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
|
|
1388
1388
|
};
|
|
1389
|
-
class
|
|
1389
|
+
class st {
|
|
1390
1390
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
1391
1391
|
let n;
|
|
1392
1392
|
this.parts = [];
|
|
1393
1393
|
let r = 0, o = 0;
|
|
1394
1394
|
const a = t.length - 1, l = this.parts, [c, h] = Bs(t, e);
|
|
1395
|
-
if (this.el =
|
|
1395
|
+
if (this.el = st.createElement(c, s), I.currentNode = this.el.content, e === 2) {
|
|
1396
1396
|
const u = this.el.content.firstChild;
|
|
1397
1397
|
u.replaceWith(...u.childNodes);
|
|
1398
1398
|
}
|
|
1399
|
-
for (; (n =
|
|
1399
|
+
for (; (n = I.nextNode()) !== null && l.length < a; ) {
|
|
1400
1400
|
if (n.nodeType === 1) {
|
|
1401
1401
|
if (n.hasAttributes())
|
|
1402
1402
|
for (const u of n.getAttributeNames())
|
|
1403
1403
|
if (u.endsWith($i)) {
|
|
1404
|
-
const d = h[o++], f = n.getAttribute(u).split(
|
|
1404
|
+
const d = h[o++], f = n.getAttribute(u).split(E), $ = /([.?@])?(.*)/.exec(d);
|
|
1405
1405
|
l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Fs : $[1] === "?" ? Ws : $[1] === "@" ? Ys : Ot }), n.removeAttribute(u);
|
|
1406
1406
|
} else
|
|
1407
|
-
u.startsWith(
|
|
1407
|
+
u.startsWith(E) && (l.push({ type: 6, index: r }), n.removeAttribute(u));
|
|
1408
1408
|
if (yi.test(n.tagName)) {
|
|
1409
|
-
const u = n.textContent.split(
|
|
1409
|
+
const u = n.textContent.split(E), d = u.length - 1;
|
|
1410
1410
|
if (d > 0) {
|
|
1411
1411
|
n.textContent = mt ? mt.emptyScript : "";
|
|
1412
1412
|
for (let f = 0; f < d; f++)
|
|
1413
|
-
n.append(u[f],
|
|
1414
|
-
n.append(u[d],
|
|
1413
|
+
n.append(u[f], et()), I.nextNode(), l.push({ type: 2, index: ++r });
|
|
1414
|
+
n.append(u[d], et());
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
1417
|
} else if (n.nodeType === 8)
|
|
@@ -1419,24 +1419,24 @@ class it {
|
|
|
1419
1419
|
l.push({ type: 2, index: r });
|
|
1420
1420
|
else {
|
|
1421
1421
|
let u = -1;
|
|
1422
|
-
for (; (u = n.data.indexOf(
|
|
1423
|
-
l.push({ type: 7, index: r }), u +=
|
|
1422
|
+
for (; (u = n.data.indexOf(E, u + 1)) !== -1; )
|
|
1423
|
+
l.push({ type: 7, index: r }), u += E.length - 1;
|
|
1424
1424
|
}
|
|
1425
1425
|
r++;
|
|
1426
1426
|
}
|
|
1427
1427
|
}
|
|
1428
1428
|
static createElement(t, e) {
|
|
1429
|
-
const s =
|
|
1429
|
+
const s = R.createElement("template");
|
|
1430
1430
|
return s.innerHTML = t, s;
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function G(i, t, e = i, s) {
|
|
1434
1434
|
var o, a;
|
|
1435
|
-
if (t ===
|
|
1435
|
+
if (t === U)
|
|
1436
1436
|
return t;
|
|
1437
1437
|
let n = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
|
|
1438
|
-
const r =
|
|
1439
|
-
return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t =
|
|
1438
|
+
const r = it(t) ? void 0 : t._$litDirective$;
|
|
1439
|
+
return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(i), n._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = G(i, n._$AS(i, t.values), n, s)), t;
|
|
1440
1440
|
}
|
|
1441
1441
|
class zs {
|
|
1442
1442
|
constructor(t, e) {
|
|
@@ -1449,17 +1449,17 @@ class zs {
|
|
|
1449
1449
|
return this._$AM._$AU;
|
|
1450
1450
|
}
|
|
1451
1451
|
u(t) {
|
|
1452
|
-
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ??
|
|
1453
|
-
|
|
1454
|
-
let r =
|
|
1452
|
+
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
|
|
1453
|
+
I.currentNode = n;
|
|
1454
|
+
let r = I.nextNode(), o = 0, a = 0, l = s[0];
|
|
1455
1455
|
for (; l !== void 0; ) {
|
|
1456
1456
|
if (o === l.index) {
|
|
1457
1457
|
let c;
|
|
1458
|
-
l.type === 2 ? c = new
|
|
1458
|
+
l.type === 2 ? c = new rt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new qs(r, this, t)), this._$AV.push(c), l = s[++a];
|
|
1459
1459
|
}
|
|
1460
|
-
o !== (l == null ? void 0 : l.index) && (r =
|
|
1460
|
+
o !== (l == null ? void 0 : l.index) && (r = I.nextNode(), o++);
|
|
1461
1461
|
}
|
|
1462
|
-
return
|
|
1462
|
+
return I.currentNode = R, n;
|
|
1463
1463
|
}
|
|
1464
1464
|
p(t) {
|
|
1465
1465
|
let e = 0;
|
|
@@ -1467,7 +1467,7 @@ class zs {
|
|
|
1467
1467
|
s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
1470
|
-
class
|
|
1470
|
+
class rt {
|
|
1471
1471
|
get _$AU() {
|
|
1472
1472
|
var t;
|
|
1473
1473
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
@@ -1487,7 +1487,7 @@ class nt {
|
|
|
1487
1487
|
return this._$AB;
|
|
1488
1488
|
}
|
|
1489
1489
|
_$AI(t, e = this) {
|
|
1490
|
-
t =
|
|
1490
|
+
t = G(this, t, e), it(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ns(t) ? this.k(t) : this._(t);
|
|
1491
1491
|
}
|
|
1492
1492
|
S(t) {
|
|
1493
1493
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1496,11 +1496,11 @@ class nt {
|
|
|
1496
1496
|
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
1497
1497
|
}
|
|
1498
1498
|
_(t) {
|
|
1499
|
-
this._$AH !== p &&
|
|
1499
|
+
this._$AH !== p && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
|
|
1500
1500
|
}
|
|
1501
1501
|
$(t) {
|
|
1502
1502
|
var r;
|
|
1503
|
-
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el =
|
|
1503
|
+
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = st.createElement(bi(s.h, s.h[0]), this.options)), s);
|
|
1504
1504
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === n)
|
|
1505
1505
|
this._$AH.p(e);
|
|
1506
1506
|
else {
|
|
@@ -1510,14 +1510,14 @@ class nt {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
_$AC(t) {
|
|
1512
1512
|
let e = Se.get(t.strings);
|
|
1513
|
-
return e === void 0 && Se.set(t.strings, e = new
|
|
1513
|
+
return e === void 0 && Se.set(t.strings, e = new st(t)), e;
|
|
1514
1514
|
}
|
|
1515
1515
|
k(t) {
|
|
1516
1516
|
mi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1517
1517
|
const e = this._$AH;
|
|
1518
1518
|
let s, n = 0;
|
|
1519
1519
|
for (const r of t)
|
|
1520
|
-
n === e.length ? e.push(s = new
|
|
1520
|
+
n === e.length ? e.push(s = new rt(this.S(et()), this.S(et()), this, this.options)) : s = e[n], s._$AI(r), n++;
|
|
1521
1521
|
n < e.length && (this._$AR(s && s._$AB.nextSibling, n), e.length = n);
|
|
1522
1522
|
}
|
|
1523
1523
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -1546,12 +1546,12 @@ class Ot {
|
|
|
1546
1546
|
const r = this.strings;
|
|
1547
1547
|
let o = !1;
|
|
1548
1548
|
if (r === void 0)
|
|
1549
|
-
t =
|
|
1549
|
+
t = G(this, t, e, 0), o = !it(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
|
|
1550
1550
|
else {
|
|
1551
1551
|
const a = t;
|
|
1552
1552
|
let l, c;
|
|
1553
1553
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
1554
|
-
c =
|
|
1554
|
+
c = G(this, a[s + l], e, l), c === U && (c = this._$AH[l]), o || (o = !it(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
|
|
1555
1555
|
}
|
|
1556
1556
|
o && !n && this.j(t);
|
|
1557
1557
|
}
|
|
@@ -1580,7 +1580,7 @@ class Ys extends Ot {
|
|
|
1580
1580
|
super(t, e, s, n, r), this.type = 5;
|
|
1581
1581
|
}
|
|
1582
1582
|
_$AI(t, e = this) {
|
|
1583
|
-
if ((t =
|
|
1583
|
+
if ((t = G(this, t, e, 0) ?? p) === U)
|
|
1584
1584
|
return;
|
|
1585
1585
|
const s = this._$AH, n = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== p && (s === p || n);
|
|
1586
1586
|
n && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -1598,17 +1598,17 @@ class qs {
|
|
|
1598
1598
|
return this._$AM._$AU;
|
|
1599
1599
|
}
|
|
1600
1600
|
_$AI(t) {
|
|
1601
|
-
|
|
1601
|
+
G(this, t);
|
|
1602
1602
|
}
|
|
1603
1603
|
}
|
|
1604
|
-
const jt =
|
|
1605
|
-
jt == null || jt(
|
|
1604
|
+
const jt = V.litHtmlPolyfillSupport;
|
|
1605
|
+
jt == null || jt(st, rt), (V.litHtmlVersions ?? (V.litHtmlVersions = [])).push("3.1.2");
|
|
1606
1606
|
const Gs = (i, t, e) => {
|
|
1607
1607
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1608
1608
|
let n = s._$litPart$;
|
|
1609
1609
|
if (n === void 0) {
|
|
1610
1610
|
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1611
|
-
s._$litPart$ = n = new
|
|
1611
|
+
s._$litPart$ = n = new rt(t.insertBefore(et(), r), r, void 0, e ?? {});
|
|
1612
1612
|
}
|
|
1613
1613
|
return n._$AI(i), n;
|
|
1614
1614
|
};
|
|
@@ -1617,7 +1617,7 @@ const Gs = (i, t, e) => {
|
|
|
1617
1617
|
* Copyright 2017 Google LLC
|
|
1618
1618
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1619
1619
|
*/
|
|
1620
|
-
let S = class extends
|
|
1620
|
+
let S = class extends N {
|
|
1621
1621
|
constructor() {
|
|
1622
1622
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1623
1623
|
}
|
|
@@ -1639,7 +1639,7 @@ let S = class extends H {
|
|
|
1639
1639
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1640
1640
|
}
|
|
1641
1641
|
render() {
|
|
1642
|
-
return
|
|
1642
|
+
return U;
|
|
1643
1643
|
}
|
|
1644
1644
|
};
|
|
1645
1645
|
var qe;
|
|
@@ -1684,7 +1684,7 @@ function _(i) {
|
|
|
1684
1684
|
* Copyright 2017 Google LLC
|
|
1685
1685
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1686
1686
|
*/
|
|
1687
|
-
function
|
|
1687
|
+
function H(i) {
|
|
1688
1688
|
return _({ ...i, state: !0, attribute: !1 });
|
|
1689
1689
|
}
|
|
1690
1690
|
var Xs = Object.defineProperty, Qs = Object.getOwnPropertyDescriptor, Js = (i, t, e, s) => {
|
|
@@ -1705,7 +1705,7 @@ class te extends S {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
1707
1707
|
te.styles = [
|
|
1708
|
-
|
|
1708
|
+
j`
|
|
1709
1709
|
:host {
|
|
1710
1710
|
position: fixed;
|
|
1711
1711
|
display: flex;
|
|
@@ -1759,13 +1759,13 @@ const Vs = (i) => i.strings === void 0;
|
|
|
1759
1759
|
* Copyright 2017 Google LLC
|
|
1760
1760
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1761
1761
|
*/
|
|
1762
|
-
const
|
|
1762
|
+
const tt = (i, t) => {
|
|
1763
1763
|
var s;
|
|
1764
1764
|
const e = i._$AN;
|
|
1765
1765
|
if (e === void 0)
|
|
1766
1766
|
return !1;
|
|
1767
1767
|
for (const n of e)
|
|
1768
|
-
(s = n._$AO) == null || s.call(n, t, !1),
|
|
1768
|
+
(s = n._$AO) == null || s.call(n, t, !1), tt(n, t);
|
|
1769
1769
|
return !0;
|
|
1770
1770
|
}, yt = (i) => {
|
|
1771
1771
|
let t, e;
|
|
@@ -1793,11 +1793,11 @@ function en(i, t = !1, e = 0) {
|
|
|
1793
1793
|
if (t)
|
|
1794
1794
|
if (Array.isArray(s))
|
|
1795
1795
|
for (let r = e; r < s.length; r++)
|
|
1796
|
-
|
|
1796
|
+
tt(s[r], !1), yt(s[r]);
|
|
1797
1797
|
else
|
|
1798
|
-
s != null && (
|
|
1798
|
+
s != null && (tt(s, !1), yt(s));
|
|
1799
1799
|
else
|
|
1800
|
-
|
|
1800
|
+
tt(this, i);
|
|
1801
1801
|
}
|
|
1802
1802
|
const sn = (i) => {
|
|
1803
1803
|
i.type == ee.CHILD && (i._$AP ?? (i._$AP = en), i._$AQ ?? (i._$AQ = tn));
|
|
@@ -1811,7 +1811,7 @@ class xi extends _i {
|
|
|
1811
1811
|
}
|
|
1812
1812
|
_$AO(t, e = !0) {
|
|
1813
1813
|
var s, n;
|
|
1814
|
-
t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), e && (
|
|
1814
|
+
t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (n = this.disconnected) == null || n.call(this)), e && (tt(this, t), yt(this));
|
|
1815
1815
|
}
|
|
1816
1816
|
setValue(t) {
|
|
1817
1817
|
if (Vs(this._$Ct))
|
|
@@ -2060,25 +2060,41 @@ const Le = ie(class extends _i {
|
|
|
2060
2060
|
const o = !!t[r];
|
|
2061
2061
|
o === this.st.has(r) || (n = this.nt) != null && n.has(r) || (o ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
|
|
2062
2062
|
}
|
|
2063
|
-
return
|
|
2063
|
+
return U;
|
|
2064
2064
|
}
|
|
2065
|
-
}),
|
|
2065
|
+
}), C = (i, t, e) => {
|
|
2066
2066
|
i && e.style.setProperty(t, i);
|
|
2067
2067
|
}, Ai = (i, t) => {
|
|
2068
|
-
var e, s, n, r;
|
|
2069
|
-
|
|
2068
|
+
var e, s, n, r, o, a, l, c, h;
|
|
2069
|
+
C((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), C(
|
|
2070
2070
|
(s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
|
|
2071
2071
|
"--text-on-primary-background",
|
|
2072
2072
|
t
|
|
2073
|
-
),
|
|
2073
|
+
), C(
|
|
2074
2074
|
(n = i.colors) == null ? void 0 : n.secondaryBackground,
|
|
2075
2075
|
"--secondary-background",
|
|
2076
2076
|
t
|
|
2077
|
-
),
|
|
2077
|
+
), C(
|
|
2078
2078
|
(r = i.colors) == null ? void 0 : r.textOnSecondaryBackground,
|
|
2079
2079
|
"--text-on-secondary-background",
|
|
2080
2080
|
t
|
|
2081
|
-
)
|
|
2081
|
+
), C(
|
|
2082
|
+
(o = i.colors) == null ? void 0 : o.interactiveDestructiveBackground,
|
|
2083
|
+
"--destructive-color",
|
|
2084
|
+
t
|
|
2085
|
+
), C(
|
|
2086
|
+
(a = i.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
|
|
2087
|
+
"--text-on-destructive-color",
|
|
2088
|
+
t
|
|
2089
|
+
), C(
|
|
2090
|
+
(l = i.colors) == null ? void 0 : l.interactivePrimaryBackground,
|
|
2091
|
+
"--interactive-primary-background",
|
|
2092
|
+
t
|
|
2093
|
+
), C(
|
|
2094
|
+
(c = i.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
|
|
2095
|
+
"--interactive-text-on-primary-background",
|
|
2096
|
+
t
|
|
2097
|
+
), C((h = i.colors) == null ? void 0 : h.focusColor, "--focus-color", t);
|
|
2082
2098
|
};
|
|
2083
2099
|
/**
|
|
2084
2100
|
* @license
|
|
@@ -2116,12 +2132,12 @@ const Bt = /* @__PURE__ */ new WeakMap(), _t = ie(class extends xi {
|
|
|
2116
2132
|
this.rt(this.ct);
|
|
2117
2133
|
}
|
|
2118
2134
|
});
|
|
2119
|
-
var fn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor,
|
|
2135
|
+
var fn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, ot = (i, t, e, s) => {
|
|
2120
2136
|
for (var n = s > 1 ? void 0 : s ? pn(t, e) : t, r = i.length - 1, o; r >= 0; r--)
|
|
2121
2137
|
(o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
|
|
2122
2138
|
return s && n && fn(t, e, n), n;
|
|
2123
2139
|
};
|
|
2124
|
-
class
|
|
2140
|
+
class T extends S {
|
|
2125
2141
|
constructor() {
|
|
2126
2142
|
super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = bt(), this.widgetActive$ = new os(!1), this.componentIsDestroyed$ = new kt();
|
|
2127
2143
|
}
|
|
@@ -2139,7 +2155,7 @@ class O extends S {
|
|
|
2139
2155
|
);
|
|
2140
2156
|
return;
|
|
2141
2157
|
}
|
|
2142
|
-
this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0)) : (this.application.hide(), this.widgetActive$.next(!1));
|
|
2158
|
+
this.active = !this.active, this.active ? (this.application.appendToDOM(), this.widgetActive$.next(!0), this.hideTrigger()) : (this.application.hide(), this.widgetActive$.next(!1), this.showTrigger());
|
|
2143
2159
|
}
|
|
2144
2160
|
_applyBranding() {
|
|
2145
2161
|
var t;
|
|
@@ -2239,23 +2255,27 @@ class O extends S {
|
|
|
2239
2255
|
</div>`;
|
|
2240
2256
|
}
|
|
2241
2257
|
}
|
|
2242
|
-
|
|
2243
|
-
|
|
2258
|
+
T.styles = [
|
|
2259
|
+
j`
|
|
2244
2260
|
:host {
|
|
2245
2261
|
--voca-rem-multiplier: 0.625;
|
|
2246
2262
|
--trigger-label-bg: #f5e0ff;
|
|
2247
2263
|
--trigger-label-text-color: rgba(0, 0, 0, 0.8);
|
|
2248
2264
|
display: block;
|
|
2249
2265
|
box-sizing: border-box;
|
|
2250
|
-
/* font-family: var(--font-family); */
|
|
2251
2266
|
font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2252
2267
|
}
|
|
2253
2268
|
|
|
2269
|
+
:focus {
|
|
2270
|
+
outline-color: var(--focus-color);
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2254
2273
|
.trigger-container {
|
|
2255
2274
|
display: flex;
|
|
2256
2275
|
align-items: center;
|
|
2257
2276
|
gap: 1rem;
|
|
2258
2277
|
}
|
|
2278
|
+
|
|
2259
2279
|
.trigger-container.hidden {
|
|
2260
2280
|
display: none;
|
|
2261
2281
|
}
|
|
@@ -2273,26 +2293,34 @@ O.styles = [
|
|
|
2273
2293
|
width: 55px;
|
|
2274
2294
|
border-radius: 55px;
|
|
2275
2295
|
cursor: pointer;
|
|
2276
|
-
background-color: var(
|
|
2296
|
+
background-color: var(
|
|
2297
|
+
--interactive-primary-background,
|
|
2298
|
+
var(--primary-background)
|
|
2299
|
+
);
|
|
2277
2300
|
font-family: Lato;
|
|
2278
2301
|
text-decoration: none;
|
|
2279
2302
|
border: 3px dashed transparent;
|
|
2280
2303
|
box-sizing: border-box;
|
|
2281
2304
|
transition: transform 200ms ease-out;
|
|
2282
2305
|
}
|
|
2306
|
+
|
|
2283
2307
|
.trigger:active {
|
|
2284
2308
|
transform: scale(0.8) !important;
|
|
2285
2309
|
}
|
|
2310
|
+
|
|
2286
2311
|
.trigger:hover:not(:active) {
|
|
2287
2312
|
transform: scale(1.1) !important;
|
|
2288
2313
|
}
|
|
2314
|
+
|
|
2289
2315
|
.trigger.rendered {
|
|
2290
2316
|
transform: scale(1);
|
|
2291
2317
|
}
|
|
2318
|
+
|
|
2292
2319
|
.trigger.active .trigger-icon {
|
|
2293
2320
|
opacity: 0;
|
|
2294
2321
|
transform: rotate(-180deg) scale(0);
|
|
2295
2322
|
}
|
|
2323
|
+
|
|
2296
2324
|
.trigger.active .trigger-close {
|
|
2297
2325
|
opacity: 1;
|
|
2298
2326
|
transform: rotate(0deg) scale(1);
|
|
@@ -2305,8 +2333,12 @@ O.styles = [
|
|
|
2305
2333
|
opacity: 1;
|
|
2306
2334
|
transform: rotate(0deg) scale(1);
|
|
2307
2335
|
transition: opacity 200ms ease-out, transform 200ms ease-out;
|
|
2308
|
-
color: var(
|
|
2336
|
+
color: var(
|
|
2337
|
+
--interactive-text-on-primary-background,
|
|
2338
|
+
var(--text-on-primary-background)
|
|
2339
|
+
);
|
|
2309
2340
|
}
|
|
2341
|
+
|
|
2310
2342
|
.trigger-close {
|
|
2311
2343
|
opacity: 0;
|
|
2312
2344
|
transition: transform 200ms ease-out;
|
|
@@ -2320,8 +2352,12 @@ O.styles = [
|
|
|
2320
2352
|
justify-content: center;
|
|
2321
2353
|
align-items: center;
|
|
2322
2354
|
}
|
|
2355
|
+
|
|
2323
2356
|
.trigger-close svg path {
|
|
2324
|
-
fill: var(
|
|
2357
|
+
fill: var(
|
|
2358
|
+
--interactive-text-on-primary-background,
|
|
2359
|
+
var(--text-on-primary-background)
|
|
2360
|
+
);
|
|
2325
2361
|
}
|
|
2326
2362
|
|
|
2327
2363
|
img {
|
|
@@ -2330,8 +2366,8 @@ O.styles = [
|
|
|
2330
2366
|
|
|
2331
2367
|
.trigger-label {
|
|
2332
2368
|
box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.1);
|
|
2333
|
-
background-color: var(--
|
|
2334
|
-
color: var(--
|
|
2369
|
+
background-color: var(--secondary-background);
|
|
2370
|
+
color: var(--text-on-secondary-background);
|
|
2335
2371
|
white-space: nowrap;
|
|
2336
2372
|
padding: 0.7rem 1rem;
|
|
2337
2373
|
border-radius: 0.3rem;
|
|
@@ -2351,22 +2387,22 @@ O.styles = [
|
|
|
2351
2387
|
}
|
|
2352
2388
|
`
|
|
2353
2389
|
];
|
|
2354
|
-
|
|
2390
|
+
ot([
|
|
2355
2391
|
_({ attribute: !1 })
|
|
2356
|
-
],
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
],
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
],
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
],
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
],
|
|
2369
|
-
var gn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor,
|
|
2392
|
+
], T.prototype, "application", 2);
|
|
2393
|
+
ot([
|
|
2394
|
+
H()
|
|
2395
|
+
], T.prototype, "active", 2);
|
|
2396
|
+
ot([
|
|
2397
|
+
H()
|
|
2398
|
+
], T.prototype, "triggerVisible", 2);
|
|
2399
|
+
ot([
|
|
2400
|
+
H()
|
|
2401
|
+
], T.prototype, "loaded", 2);
|
|
2402
|
+
ot([
|
|
2403
|
+
H()
|
|
2404
|
+
], T.prototype, "icon", 2);
|
|
2405
|
+
var gn = Object.defineProperty, $n = Object.getOwnPropertyDescriptor, L = (i, t, e, s) => {
|
|
2370
2406
|
for (var n = s > 1 ? void 0 : s ? $n(t, e) : t, r = i.length - 1, o; r >= 0; r--)
|
|
2371
2407
|
(o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
|
|
2372
2408
|
return s && n && gn(t, e, n), n;
|
|
@@ -2397,7 +2433,7 @@ const Ci = (i) => {
|
|
|
2397
2433
|
}
|
|
2398
2434
|
return t.styles = [
|
|
2399
2435
|
// (superClass as unknown as typeof LitElement).styles ?? [],
|
|
2400
|
-
|
|
2436
|
+
j`
|
|
2401
2437
|
:host {
|
|
2402
2438
|
font-family: var(--font-family);
|
|
2403
2439
|
grid-column: span var(--width);
|
|
@@ -2410,19 +2446,19 @@ const Ci = (i) => {
|
|
|
2410
2446
|
box-sizing: border-box;
|
|
2411
2447
|
}
|
|
2412
2448
|
`
|
|
2413
|
-
],
|
|
2449
|
+
], L([
|
|
2414
2450
|
_()
|
|
2415
|
-
], t.prototype, "properties", 2),
|
|
2451
|
+
], t.prototype, "properties", 2), L([
|
|
2416
2452
|
_()
|
|
2417
|
-
], t.prototype, "context", 2),
|
|
2453
|
+
], t.prototype, "context", 2), L([
|
|
2418
2454
|
_()
|
|
2419
|
-
], t.prototype, "layout", 2),
|
|
2455
|
+
], t.prototype, "layout", 2), L([
|
|
2420
2456
|
_()
|
|
2421
|
-
], t.prototype, "name", 2),
|
|
2457
|
+
], t.prototype, "name", 2), L([
|
|
2422
2458
|
_()
|
|
2423
|
-
], t.prototype, "type", 2),
|
|
2459
|
+
], t.prototype, "type", 2), L([
|
|
2424
2460
|
_({ attribute: !1 })
|
|
2425
|
-
], t.prototype, "application", 2),
|
|
2461
|
+
], t.prototype, "application", 2), L([
|
|
2426
2462
|
_({ attribute: !1 })
|
|
2427
2463
|
], t.prototype, "parent", 2), t;
|
|
2428
2464
|
};
|
|
@@ -2432,7 +2468,7 @@ class Ei extends Ci(S) {
|
|
|
2432
2468
|
}
|
|
2433
2469
|
}
|
|
2434
2470
|
Ei.styles = [
|
|
2435
|
-
|
|
2471
|
+
j`
|
|
2436
2472
|
:host {
|
|
2437
2473
|
display: block;
|
|
2438
2474
|
}
|
|
@@ -2615,7 +2651,7 @@ class ne extends S {
|
|
|
2615
2651
|
</div>`;
|
|
2616
2652
|
}
|
|
2617
2653
|
}
|
|
2618
|
-
ne.styles =
|
|
2654
|
+
ne.styles = j`
|
|
2619
2655
|
:host {
|
|
2620
2656
|
--font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
|
|
2621
2657
|
--spacing-xs: 0.2rem;
|
|
@@ -2631,6 +2667,7 @@ ne.styles = M`
|
|
|
2631
2667
|
--gray-color: #f3f3f8;
|
|
2632
2668
|
--white-color: #fff;
|
|
2633
2669
|
--gray-dark-color: #a6a6a6;
|
|
2670
|
+
--black-border-color: #00000054;
|
|
2634
2671
|
|
|
2635
2672
|
--box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
|
|
2636
2673
|
--border-radius: var(--spacing-sm);
|
|
@@ -2641,6 +2678,7 @@ ne.styles = M`
|
|
|
2641
2678
|
|
|
2642
2679
|
--header-height: 69px;
|
|
2643
2680
|
}
|
|
2681
|
+
|
|
2644
2682
|
:host {
|
|
2645
2683
|
--voca-rem-multiplier: 0.625;
|
|
2646
2684
|
box-sizing: border-box;
|
|
@@ -2657,23 +2695,27 @@ ne.styles = M`
|
|
|
2657
2695
|
z-index: 6;
|
|
2658
2696
|
position: fixed;
|
|
2659
2697
|
}
|
|
2698
|
+
|
|
2660
2699
|
@media screen and (max-width: 800px) {
|
|
2661
2700
|
:host(.floating) {
|
|
2662
|
-
inset: 0
|
|
2701
|
+
inset: 0;
|
|
2663
2702
|
height: 100%;
|
|
2664
2703
|
}
|
|
2704
|
+
|
|
2665
2705
|
:host(.third-party) {
|
|
2666
|
-
inset: 0
|
|
2706
|
+
inset: 0;
|
|
2667
2707
|
height: 100vh;
|
|
2668
2708
|
}
|
|
2669
2709
|
}
|
|
2710
|
+
|
|
2670
2711
|
@media screen and (min-width: 801px) {
|
|
2671
2712
|
:host(.floating) {
|
|
2672
|
-
inset: auto 20px
|
|
2713
|
+
inset: auto 20px 20px auto;
|
|
2673
2714
|
max-height: calc(100vh - 120px);
|
|
2674
2715
|
width: 400px;
|
|
2675
|
-
height:
|
|
2716
|
+
height: 775px;
|
|
2676
2717
|
}
|
|
2718
|
+
|
|
2677
2719
|
:host(.third-party) {
|
|
2678
2720
|
max-width: 1000px;
|
|
2679
2721
|
height: 100vh;
|
|
@@ -2682,11 +2724,13 @@ ne.styles = M`
|
|
|
2682
2724
|
transform: translateX(-50%);
|
|
2683
2725
|
margin: -10px 0;
|
|
2684
2726
|
}
|
|
2727
|
+
|
|
2685
2728
|
:host(.floating.bottom-right) {
|
|
2686
|
-
inset: auto 20px
|
|
2729
|
+
inset: auto 20px 20px auto;
|
|
2687
2730
|
}
|
|
2731
|
+
|
|
2688
2732
|
:host(.floating.bottom-left) {
|
|
2689
|
-
inset: auto auto
|
|
2733
|
+
inset: auto auto 20px 20px;
|
|
2690
2734
|
}
|
|
2691
2735
|
}
|
|
2692
2736
|
|
|
@@ -2702,14 +2746,14 @@ ne.styles = M`
|
|
|
2702
2746
|
* {
|
|
2703
2747
|
box-sizing: border-box;
|
|
2704
2748
|
}
|
|
2749
|
+
|
|
2705
2750
|
.widget-container {
|
|
2706
2751
|
height: 100%;
|
|
2707
2752
|
background-color: var(--primary-background);
|
|
2708
2753
|
padding: var(--spacing-sm);
|
|
2709
2754
|
border: var(--widget-border, none);
|
|
2710
|
-
border-left: 1px solid #00000054;
|
|
2711
|
-
border-right: 1px solid #00000054;
|
|
2712
2755
|
}
|
|
2756
|
+
|
|
2713
2757
|
@keyframes slideDown {
|
|
2714
2758
|
from {
|
|
2715
2759
|
transform: translateY(0);
|
|
@@ -2720,6 +2764,7 @@ ne.styles = M`
|
|
|
2720
2764
|
opacity: 0;
|
|
2721
2765
|
}
|
|
2722
2766
|
}
|
|
2767
|
+
|
|
2723
2768
|
@keyframes slideUp {
|
|
2724
2769
|
from {
|
|
2725
2770
|
transform: translateY(100%);
|
|
@@ -2730,10 +2775,12 @@ ne.styles = M`
|
|
|
2730
2775
|
opacity: 1;
|
|
2731
2776
|
}
|
|
2732
2777
|
}
|
|
2778
|
+
|
|
2733
2779
|
:host(.expanded) {
|
|
2734
2780
|
opacity: 1;
|
|
2735
2781
|
animation: slideUp 0.3s linear;
|
|
2736
2782
|
}
|
|
2783
|
+
|
|
2737
2784
|
:host(.hidden) {
|
|
2738
2785
|
opacity: 0;
|
|
2739
2786
|
animation: slideDown 0.3s linear;
|
|
@@ -2749,7 +2796,7 @@ var Cn = Object.defineProperty, En = Object.getOwnPropertyDescriptor, re = (i, t
|
|
|
2749
2796
|
(o = i[r]) && (n = (s ? o(t, e, n) : o(n)) || n);
|
|
2750
2797
|
return s && n && Cn(t, e, n), n;
|
|
2751
2798
|
};
|
|
2752
|
-
class
|
|
2799
|
+
class at extends S {
|
|
2753
2800
|
constructor() {
|
|
2754
2801
|
super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
|
|
2755
2802
|
}
|
|
@@ -2775,14 +2822,14 @@ class ot extends S {
|
|
|
2775
2822
|
if (!this.widget || this.status !== "activated")
|
|
2776
2823
|
return p;
|
|
2777
2824
|
if (this.widget.renderStrategy === se.Trigger) {
|
|
2778
|
-
const t = new
|
|
2825
|
+
const t = new T();
|
|
2779
2826
|
return t.application = this.widget, t;
|
|
2780
2827
|
}
|
|
2781
2828
|
return this.widget.render();
|
|
2782
2829
|
}
|
|
2783
2830
|
}
|
|
2784
|
-
|
|
2785
|
-
|
|
2831
|
+
at.styles = [
|
|
2832
|
+
j`
|
|
2786
2833
|
:host {
|
|
2787
2834
|
display: block;
|
|
2788
2835
|
}
|
|
@@ -2790,18 +2837,18 @@ ot.styles = [
|
|
|
2790
2837
|
];
|
|
2791
2838
|
re([
|
|
2792
2839
|
_({ attribute: !0 })
|
|
2793
|
-
],
|
|
2840
|
+
], at.prototype, "name", 2);
|
|
2794
2841
|
re([
|
|
2795
|
-
|
|
2796
|
-
],
|
|
2842
|
+
H()
|
|
2843
|
+
], at.prototype, "widget", 2);
|
|
2797
2844
|
re([
|
|
2798
|
-
|
|
2799
|
-
],
|
|
2845
|
+
H()
|
|
2846
|
+
], at.prototype, "status", 2);
|
|
2800
2847
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", te);
|
|
2801
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
|
2848
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", T);
|
|
2802
2849
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Ei);
|
|
2803
2850
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", ne);
|
|
2804
|
-
customElements.get("ace-widget") || customElements.define("ace-widget",
|
|
2851
|
+
customElements.get("ace-widget") || customElements.define("ace-widget", at);
|
|
2805
2852
|
const kn = () => crypto.randomUUID();
|
|
2806
2853
|
class On {
|
|
2807
2854
|
constructor(t, e, s, n, r, o, a = !0) {
|
|
@@ -2860,7 +2907,7 @@ class Tn {
|
|
|
2860
2907
|
return this._options.length > 0;
|
|
2861
2908
|
}
|
|
2862
2909
|
}
|
|
2863
|
-
const
|
|
2910
|
+
const D = {
|
|
2864
2911
|
allRenderFn: !1,
|
|
2865
2912
|
cmpDidLoad: !0,
|
|
2866
2913
|
cmpDidUnload: !1,
|
|
@@ -2944,7 +2991,7 @@ const N = {
|
|
|
2944
2991
|
transformTagName: !1,
|
|
2945
2992
|
attachStyles: !0
|
|
2946
2993
|
};
|
|
2947
|
-
let
|
|
2994
|
+
let B, ki, Tt, Oi = !1, wt = !1, oe = !1, y = !1, Re = null, qt = !1;
|
|
2948
2995
|
const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, Ti = Pt.HTMLElement || class {
|
|
2949
2996
|
}, m = {
|
|
2950
2997
|
$flags$: 0,
|
|
@@ -2978,14 +3025,14 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
2978
3025
|
});
|
|
2979
3026
|
}, Rn = (i, t) => (e) => {
|
|
2980
3027
|
try {
|
|
2981
|
-
|
|
3028
|
+
D.lazyLoad || i.$hostElement$[t](e);
|
|
2982
3029
|
} catch (s) {
|
|
2983
|
-
|
|
3030
|
+
lt(s);
|
|
2984
3031
|
}
|
|
2985
3032
|
}, Un = (i, t) => t & 4 ? A : t & 8 ? Pt : t & 16 ? A.body : i, Mn = (i) => Pn ? {
|
|
2986
3033
|
passive: (i & 1) !== 0,
|
|
2987
3034
|
capture: (i & 2) !== 0
|
|
2988
|
-
} : (i & 2) !== 0, Ue = "http://www.w3.org/1999/xlink",
|
|
3035
|
+
} : (i & 2) !== 0, Ue = "http://www.w3.org/1999/xlink", M = (i, t = "") => () => {
|
|
2989
3036
|
}, Me = /* @__PURE__ */ new WeakMap(), jn = (i, t, e) => {
|
|
2990
3037
|
let s = At.get(i);
|
|
2991
3038
|
In && e ? (s = s || new CSSStyleSheet(), s.replace(t)) : s = t, At.set(i, s);
|
|
@@ -3000,9 +3047,9 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3000
3047
|
i.adoptedStyleSheets.includes(r) || (i.adoptedStyleSheets = [...i.adoptedStyleSheets, r]);
|
|
3001
3048
|
return n;
|
|
3002
3049
|
}, Nn = (i) => {
|
|
3003
|
-
const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, n =
|
|
3050
|
+
const t = i.$cmpMeta$, e = i.$hostElement$, s = t.$flags$, n = M("attachStyles", t.$tagName$), r = Hn(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, i.$modeName$);
|
|
3004
3051
|
s & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), s & 2 && e.classList.add(r + "-s")), n();
|
|
3005
|
-
}, Li = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Dn = (i) => pr.map((t) => t(i)).find((t) => !!t), je = {}, Bn = "http://www.w3.org/2000/svg", zn = "http://www.w3.org/1999/xhtml", Fn = (i) => i != null, ae = (i) => (i = typeof i, i === "object" || i === "function"),
|
|
3052
|
+
}, Li = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Dn = (i) => pr.map((t) => t(i)).find((t) => !!t), je = {}, Bn = "http://www.w3.org/2000/svg", zn = "http://www.w3.org/1999/xhtml", Fn = (i) => i != null, ae = (i) => (i = typeof i, i === "object" || i === "function"), W = (i, t, ...e) => {
|
|
3006
3053
|
let s = null, n = null, r = null, o = !1, a = !1, l = [];
|
|
3007
3054
|
const c = (u) => {
|
|
3008
3055
|
for (let d = 0; d < u.length; d++)
|
|
@@ -3041,7 +3088,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3041
3088
|
}), qn = (i) => {
|
|
3042
3089
|
if (typeof i.vtag == "function") {
|
|
3043
3090
|
const e = Object.assign({}, i.vattrs);
|
|
3044
|
-
return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname),
|
|
3091
|
+
return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname), W(i.vtag, e, ...i.vchildren || []);
|
|
3045
3092
|
}
|
|
3046
3093
|
const t = xt(i.vtag, i.vtext);
|
|
3047
3094
|
return t.$attrs$ = i.vattrs, t.$children$ = i.vchildren, t.$key$ = i.vkey, t.$name$ = i.vname, t;
|
|
@@ -3085,7 +3132,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3085
3132
|
Ne(n, s, r[s], o[s], e, t.$flags$);
|
|
3086
3133
|
}, St = (i, t, e, s) => {
|
|
3087
3134
|
let n = t.$children$[e], r = 0, o, a, l;
|
|
3088
|
-
if (Oi || (oe = !0, n.$tag$ === "slot" && (
|
|
3135
|
+
if (Oi || (oe = !0, n.$tag$ === "slot" && (B && s.classList.add(B + "-s"), n.$flags$ |= n.$children$ ? (
|
|
3089
3136
|
// slot element has fallback content
|
|
3090
3137
|
2
|
|
3091
3138
|
) : (
|
|
@@ -3096,18 +3143,18 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3096
3143
|
else if (n.$flags$ & 1)
|
|
3097
3144
|
o = n.$elm$ = A.createTextNode("");
|
|
3098
3145
|
else {
|
|
3099
|
-
if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = A.createElementNS(y ? Bn : zn, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Ii(null, n, y), Fn(
|
|
3146
|
+
if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = A.createElementNS(y ? Bn : zn, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), Ii(null, n, y), Fn(B) && o["s-si"] !== B && o.classList.add(o["s-si"] = B), n.$children$)
|
|
3100
3147
|
for (r = 0; r < n.$children$.length; ++r)
|
|
3101
3148
|
a = St(i, n, r, o), a && o.appendChild(a);
|
|
3102
3149
|
n.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
|
|
3103
3150
|
}
|
|
3104
|
-
return o["s-hn"] = Tt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ki, o["s-sn"] = n.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === n.$tag$ && i.$elm$ &&
|
|
3105
|
-
},
|
|
3151
|
+
return o["s-hn"] = Tt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = ki, o["s-sn"] = n.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === n.$tag$ && i.$elm$ && nt(i.$elm$, !1)), o;
|
|
3152
|
+
}, nt = (i, t) => {
|
|
3106
3153
|
m.$flags$ |= 1;
|
|
3107
3154
|
const e = i.childNodes;
|
|
3108
3155
|
for (let s = e.length - 1; s >= 0; s--) {
|
|
3109
3156
|
const n = e[s];
|
|
3110
|
-
n["s-hn"] !== Tt && n["s-ol"] && (Mi(n).insertBefore(n, ce(n)), n["s-ol"].remove(), n["s-ol"] = void 0, oe = !0), t &&
|
|
3157
|
+
n["s-hn"] !== Tt && n["s-ol"] && (Mi(n).insertBefore(n, ce(n)), n["s-ol"].remove(), n["s-ol"] = void 0, oe = !0), t && nt(n, t);
|
|
3111
3158
|
}
|
|
3112
3159
|
m.$flags$ &= -2;
|
|
3113
3160
|
}, Ri = (i, t, e, s, n, r) => {
|
|
@@ -3116,7 +3163,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3116
3163
|
s[n] && (a = St(null, e, n, i), a && (s[n].$elm$ = a, o.insertBefore(a, ce(t))));
|
|
3117
3164
|
}, Ui = (i, t, e, s, n) => {
|
|
3118
3165
|
for (; t <= e; ++t)
|
|
3119
|
-
(s = i[t]) && (n = s.$elm$, Ni(s), wt = !0, n["s-ol"] ? n["s-ol"].remove() :
|
|
3166
|
+
(s = i[t]) && (n = s.$elm$, Ni(s), wt = !0, n["s-ol"] ? n["s-ol"].remove() : nt(n, !0), n.remove());
|
|
3120
3167
|
}, Zn = (i, t, e, s) => {
|
|
3121
3168
|
let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], h = t[l], u = s.length - 1, d = s[0], f = s[u], $, g;
|
|
3122
3169
|
for (; n <= l && r <= u; )
|
|
@@ -3129,23 +3176,23 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3129
3176
|
else if (f == null)
|
|
3130
3177
|
f = s[--u];
|
|
3131
3178
|
else if (ut(c, d))
|
|
3132
|
-
|
|
3179
|
+
z(c, d), c = t[++n], d = s[++r];
|
|
3133
3180
|
else if (ut(h, f))
|
|
3134
|
-
|
|
3181
|
+
z(h, f), h = t[--l], f = s[--u];
|
|
3135
3182
|
else if (ut(c, f))
|
|
3136
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
3183
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && nt(c.$elm$.parentNode, !1), z(c, f), i.insertBefore(c.$elm$, h.$elm$.nextSibling), c = t[++n], f = s[--u];
|
|
3137
3184
|
else if (ut(h, d))
|
|
3138
|
-
(c.$tag$ === "slot" || f.$tag$ === "slot") &&
|
|
3185
|
+
(c.$tag$ === "slot" || f.$tag$ === "slot") && nt(h.$elm$.parentNode, !1), z(h, d), i.insertBefore(h.$elm$, c.$elm$), h = t[--l], d = s[++r];
|
|
3139
3186
|
else {
|
|
3140
3187
|
for (o = -1, a = n; a <= l; ++a)
|
|
3141
3188
|
if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
|
|
3142
3189
|
o = a;
|
|
3143
3190
|
break;
|
|
3144
3191
|
}
|
|
3145
|
-
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = St(t && t[r], e, o, i) : (
|
|
3192
|
+
o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = St(t && t[r], e, o, i) : (z(g, d), t[o] = void 0, $ = g.$elm$), d = s[++r]) : ($ = St(t && t[r], e, r, i), d = s[++r]), $ && Mi(c.$elm$).insertBefore($, ce(c.$elm$));
|
|
3146
3193
|
}
|
|
3147
3194
|
n > l ? Ri(i, s[u + 1] == null ? null : s[u + 1].$elm$, e, s, r, u) : r > u && Ui(t, n, l);
|
|
3148
|
-
}, ut = (i, t) => i.$tag$ === t.$tag$ ? i.$tag$ === "slot" ? i.$name$ === t.$name$ : i.$key$ === t.$key$ : !1, ce = (i) => i && i["s-ol"] || i, Mi = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode,
|
|
3195
|
+
}, ut = (i, t) => i.$tag$ === t.$tag$ ? i.$tag$ === "slot" ? i.$name$ === t.$name$ : i.$key$ === t.$key$ : !1, ce = (i) => i && i["s-ol"] || i, Mi = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode, z = (i, t) => {
|
|
3149
3196
|
const e = t.$elm$ = i.$elm$, s = i.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
|
|
3150
3197
|
let a;
|
|
3151
3198
|
o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || Ii(i, t, y), s !== null && n !== null ? Zn(e, s, t, n) : n !== null ? (i.$text$ !== null && (e.textContent = ""), Ri(e, null, t, n, 0, n.length - 1)) : s !== null && Ui(s, 0, s.length - 1), y && r === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : i.$text$ !== o && (e.data = o);
|
|
@@ -3185,8 +3232,8 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3185
3232
|
}, Be = (i, t) => i.nodeType === 1 ? i.getAttribute("slot") === null && t === "" || i.getAttribute("slot") === t : i["s-sn"] === t ? !0 : t === "", Ni = (i) => {
|
|
3186
3233
|
i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(Ni);
|
|
3187
3234
|
}, Kn = (i, t) => {
|
|
3188
|
-
const e = i.$hostElement$, s = i.$cmpMeta$, n = i.$vnode$ || xt(null, null), r = Wn(t) ? t :
|
|
3189
|
-
Tt = e.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e,
|
|
3235
|
+
const e = i.$hostElement$, s = i.$cmpMeta$, n = i.$vnode$ || xt(null, null), r = Wn(t) ? t : W(null, null, t);
|
|
3236
|
+
Tt = e.tagName, s.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = n.$elm$ = e.shadowRoot || e, B = e["s-sc"], ki = e["s-cr"], Oi = (s.$flags$ & 1) !== 0, wt = !1, z(n, r);
|
|
3190
3237
|
{
|
|
3191
3238
|
if (m.$flags$ |= 1, oe) {
|
|
3192
3239
|
Hi(r.$elm$);
|
|
@@ -3221,30 +3268,30 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3221
3268
|
return i.dispatchEvent(s), s;
|
|
3222
3269
|
}, Vn = (i, t) => {
|
|
3223
3270
|
}, Di = (i, t) => (i.$flags$ |= 16, Vn(i, i.$ancestorComponent$), vr(() => tr(i, t))), tr = (i, t) => {
|
|
3224
|
-
const e = i.$hostElement$, s =
|
|
3271
|
+
const e = i.$hostElement$, s = M("scheduleUpdate", i.$cmpMeta$.$tagName$), n = e;
|
|
3225
3272
|
let r;
|
|
3226
|
-
return t ? r =
|
|
3273
|
+
return t ? r = Y(n, "componentWillLoad") : r = Y(n, "componentWillUpdate"), r = ze(r, () => Y(n, "componentWillRender")), s(), ze(r, () => er(i, n, t));
|
|
3227
3274
|
}, er = async (i, t, e) => {
|
|
3228
|
-
const s = i.$hostElement$, n =
|
|
3275
|
+
const s = i.$hostElement$, n = M("update", i.$cmpMeta$.$tagName$);
|
|
3229
3276
|
s["s-rc"], e && Nn(i);
|
|
3230
|
-
const r =
|
|
3277
|
+
const r = M("render", i.$cmpMeta$.$tagName$);
|
|
3231
3278
|
ir(i, t, s), r(), n(), sr(i);
|
|
3232
3279
|
}, ir = (i, t, e) => {
|
|
3233
3280
|
try {
|
|
3234
|
-
Re = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (
|
|
3281
|
+
Re = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (D.hasRenderFn || D.reflect) && (D.vdomRender || D.reflect) && (D.hydrateServerSide || Kn(i, t));
|
|
3235
3282
|
} catch (a) {
|
|
3236
|
-
|
|
3283
|
+
lt(a, i.$hostElement$);
|
|
3237
3284
|
}
|
|
3238
3285
|
return Re = null, null;
|
|
3239
3286
|
}, sr = (i) => {
|
|
3240
|
-
const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s =
|
|
3241
|
-
i.$ancestorComponent$,
|
|
3242
|
-
},
|
|
3287
|
+
const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, s = M("postUpdate", t), n = e;
|
|
3288
|
+
i.$ancestorComponent$, Y(n, "componentDidRender"), i.$flags$ & 64 ? (Y(n, "componentDidUpdate"), s()) : (i.$flags$ |= 64, Y(n, "componentDidLoad"), s());
|
|
3289
|
+
}, Y = (i, t, e) => {
|
|
3243
3290
|
if (i && i[t])
|
|
3244
3291
|
try {
|
|
3245
3292
|
return i[t](e);
|
|
3246
3293
|
} catch (s) {
|
|
3247
|
-
|
|
3294
|
+
lt(s);
|
|
3248
3295
|
}
|
|
3249
3296
|
}, ze = (i, t) => i && i.then ? i.then(t) : t(), nr = (i, t) => i != null && !ae(i) ? t & 4 ? i === "false" ? !1 : i === "" || !!i : t & 2 ? parseFloat(i) : t & 1 ? String(i) : i : i, rr = (i, t) => Lt(i).$instanceValues$.get(t), or = (i, t, e, s) => {
|
|
3250
3297
|
const n = Lt(i), r = i, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
|
|
@@ -3259,7 +3306,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3259
3306
|
try {
|
|
3260
3307
|
l[d](e, o, t);
|
|
3261
3308
|
} catch (f) {
|
|
3262
|
-
|
|
3309
|
+
lt(f, r);
|
|
3263
3310
|
}
|
|
3264
3311
|
});
|
|
3265
3312
|
}
|
|
@@ -3313,7 +3360,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3313
3360
|
typeof o != "string" && (o = o[t.$modeName$ = Dn(i)]);
|
|
3314
3361
|
const a = Li(e, t.$modeName$);
|
|
3315
3362
|
if (!At.has(a)) {
|
|
3316
|
-
const l =
|
|
3363
|
+
const l = M("registerStyles", e.$tagName$);
|
|
3317
3364
|
jn(a, o, !!(e.$flags$ & 1)), l();
|
|
3318
3365
|
}
|
|
3319
3366
|
}
|
|
@@ -3321,7 +3368,7 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3321
3368
|
}, cr = (i) => {
|
|
3322
3369
|
}, hr = (i) => {
|
|
3323
3370
|
if (!(m.$flags$ & 1)) {
|
|
3324
|
-
const t = Lt(i), e = t.$cmpMeta$, s =
|
|
3371
|
+
const t = Lt(i), e = t.$cmpMeta$, s = M("connectedCallback", e.$tagName$);
|
|
3325
3372
|
t.$flags$ & 1 ? (Pi(i, t, e.$listeners$), cr(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && ur(i), e.$members$ && Object.entries(e.$members$).map(([n, [r]]) => {
|
|
3326
3373
|
if (r & 31 && i.hasOwnProperty(n)) {
|
|
3327
3374
|
const o = i[n];
|
|
@@ -3369,14 +3416,14 @@ const Pt = typeof window < "u" ? window : {}, A = Pt.document || { head: {} }, T
|
|
|
3369
3416
|
$instanceValues$: /* @__PURE__ */ new Map()
|
|
3370
3417
|
};
|
|
3371
3418
|
return Pi(i, e, t.$listeners$), zi.set(i, e);
|
|
3372
|
-
}, Fe = (i, t) => t in i,
|
|
3419
|
+
}, Fe = (i, t) => t in i, lt = (i, t) => (0, console.error)(i, t), At = /* @__PURE__ */ new Map(), pr = [], We = [], Fi = [], gr = (i, t) => (e) => {
|
|
3373
3420
|
i.push(e), qt || (qt = !0, t && m.$flags$ & 4 ? $r(Gt) : m.raf(Gt));
|
|
3374
3421
|
}, Ye = (i) => {
|
|
3375
3422
|
for (let t = 0; t < i.length; t++)
|
|
3376
3423
|
try {
|
|
3377
3424
|
i[t](performance.now());
|
|
3378
3425
|
} catch (e) {
|
|
3379
|
-
|
|
3426
|
+
lt(e);
|
|
3380
3427
|
}
|
|
3381
3428
|
i.length = 0;
|
|
3382
3429
|
}, Gt = () => {
|
|
@@ -3406,7 +3453,7 @@ const wr = "telia-vst{display:none}", xr = /* @__PURE__ */ Bi(class extends Ti {
|
|
|
3406
3453
|
this.vocaInternalUStats.emit(new _r(this.dataTrackingId));
|
|
3407
3454
|
}
|
|
3408
3455
|
render() {
|
|
3409
|
-
return
|
|
3456
|
+
return W(le, null);
|
|
3410
3457
|
}
|
|
3411
3458
|
static get style() {
|
|
3412
3459
|
return wr;
|
|
@@ -3465,7 +3512,7 @@ const Cr = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
|
|
|
3465
3512
|
attributes: t,
|
|
3466
3513
|
title: this.allyTitle
|
|
3467
3514
|
});
|
|
3468
|
-
return
|
|
3515
|
+
return W(le, { class: `telia-icon telia-icon--${this.size}` }, W("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), W("telia-vst", { dataTrackingId: this.dataTrackingId }));
|
|
3469
3516
|
}
|
|
3470
3517
|
static get style() {
|
|
3471
3518
|
return Cr;
|
|
@@ -3589,11 +3636,15 @@ class qi extends Yi {
|
|
|
3589
3636
|
}
|
|
3590
3637
|
qi.styles = [
|
|
3591
3638
|
Yi.styles || [],
|
|
3592
|
-
|
|
3639
|
+
j`
|
|
3593
3640
|
:host {
|
|
3594
3641
|
--header-text-color: var(--text-on-primary-background);
|
|
3595
3642
|
}
|
|
3596
3643
|
|
|
3644
|
+
:focus {
|
|
3645
|
+
outline-color: var(--focus-color);
|
|
3646
|
+
}
|
|
3647
|
+
|
|
3597
3648
|
img {
|
|
3598
3649
|
max-width: 140px;
|
|
3599
3650
|
max-height: 80%;
|
|
@@ -3677,10 +3728,12 @@ qi.styles = [
|
|
|
3677
3728
|
gap: var(--spacing-sm);
|
|
3678
3729
|
align-items: center;
|
|
3679
3730
|
}
|
|
3731
|
+
|
|
3680
3732
|
.options-menu__item:hover {
|
|
3681
3733
|
background-color: var(--secondary-background);
|
|
3682
3734
|
color: var(--text-on-secondary-background);
|
|
3683
3735
|
}
|
|
3736
|
+
|
|
3684
3737
|
.options-menu__item:disabled,
|
|
3685
3738
|
.options-menu__item[disabled] {
|
|
3686
3739
|
cursor: default;
|
|
@@ -3689,7 +3742,7 @@ qi.styles = [
|
|
|
3689
3742
|
`
|
|
3690
3743
|
];
|
|
3691
3744
|
Pr([
|
|
3692
|
-
|
|
3745
|
+
H()
|
|
3693
3746
|
], qi.prototype, "optionsIsVisible", 2);
|
|
3694
3747
|
export {
|
|
3695
3748
|
qi as WidgetHeader,
|