@telia-ace/widget-components-area-flamingo 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{area-37911729.js → area-3c634387.js} +28 -28
- package/dist/{area-37911729.js.map → area-3c634387.js.map} +1 -1
- package/dist/{index-c6979627.js → index-dccce6e5.js} +144 -144
- package/dist/index-dccce6e5.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/index-c6979627.js.map +0 -1
@@ -1,11 +1,11 @@
|
|
1
|
-
var
|
1
|
+
var Mt = Object.defineProperty, Rt = Object.defineProperties, Dt = Object.getOwnPropertyDescriptors, qe = Object.getOwnPropertySymbols, zt = Object.getPrototypeOf, Lt = Object.prototype.hasOwnProperty, Wt = Object.prototype.propertyIsEnumerable, Bt = Reflect.get, Fe = (t, e, s) => e in t ? Mt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, vt = (t, e) => {
|
2
2
|
for (var s in e || (e = {}))
|
3
|
-
Lt.call(e, s) &&
|
4
|
-
if (
|
5
|
-
for (var s of
|
6
|
-
Wt.call(e, s) &&
|
3
|
+
Lt.call(e, s) && Fe(t, s, e[s]);
|
4
|
+
if (qe)
|
5
|
+
for (var s of qe(e))
|
6
|
+
Wt.call(e, s) && Fe(t, s, e[s]);
|
7
7
|
return t;
|
8
|
-
}, yt = (t, e) =>
|
8
|
+
}, yt = (t, e) => Rt(t, Dt(e)), Vt = (t, e, s) => Bt(zt(t), s, e), X = (t, e, s) => new Promise((r, n) => {
|
9
9
|
var i = (a) => {
|
10
10
|
try {
|
11
11
|
c(s.next(a));
|
@@ -42,8 +42,8 @@ const he = (t, e, s, ...r) => {
|
|
42
42
|
error: (s, ...r) => he(e, "error", s, ...r)
|
43
43
|
};
|
44
44
|
};
|
45
|
-
var
|
46
|
-
const
|
45
|
+
var Y = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))(Y || {}), x = /* @__PURE__ */ ((t) => (t.Pre = "pre", t.Post = "post", t))(x || {});
|
46
|
+
const qt = (t, e, s, r) => {
|
47
47
|
try {
|
48
48
|
const n = new e(s, r);
|
49
49
|
return {
|
@@ -70,19 +70,19 @@ const Ft = (t, e, s, r) => {
|
|
70
70
|
function Ke(t, e) {
|
71
71
|
return typeof t == "undefined" ? e : t;
|
72
72
|
}
|
73
|
-
let
|
73
|
+
let Ft = class {
|
74
74
|
constructor(t = {}) {
|
75
75
|
this.part = t;
|
76
76
|
}
|
77
77
|
createCommand(t, e, s) {
|
78
78
|
let r;
|
79
79
|
typeof e == "function" ? r = {
|
80
|
-
scope:
|
80
|
+
scope: Y.Widget,
|
81
81
|
stage: x.Post,
|
82
82
|
defaultArgs: void 0,
|
83
83
|
handlerResolver: e
|
84
84
|
} : r = {
|
85
|
-
scope: Ke(e.scope,
|
85
|
+
scope: Ke(e.scope, Y.Widget),
|
86
86
|
stage: Ke(e.stage, x.Post),
|
87
87
|
defaultArgs: e.defaultArgs,
|
88
88
|
handlerResolver: s
|
@@ -98,13 +98,13 @@ let qt = class {
|
|
98
98
|
}
|
99
99
|
};
|
100
100
|
const Ne = (t) => {
|
101
|
-
const e = new
|
101
|
+
const e = new Ft({});
|
102
102
|
return t(e), e.get();
|
103
103
|
};
|
104
104
|
Ne((t) => {
|
105
105
|
t.createCommand(
|
106
106
|
"types.register",
|
107
|
-
{ scope:
|
107
|
+
{ scope: Y.Implementation, stage: x.Pre },
|
108
108
|
(e) => (s, r) => {
|
109
109
|
e.container.get("$types")[s] = r;
|
110
110
|
}
|
@@ -139,7 +139,7 @@ Ne((t) => {
|
|
139
139
|
c
|
140
140
|
) : r;
|
141
141
|
try {
|
142
|
-
const u =
|
142
|
+
const u = qt(
|
143
143
|
o,
|
144
144
|
c,
|
145
145
|
i,
|
@@ -202,7 +202,7 @@ const bt = (t) => {
|
|
202
202
|
s = t[r], e[r] = typeof s == "object" && s !== null ? bt(s) : s;
|
203
203
|
return e;
|
204
204
|
}, Kt = bt;
|
205
|
-
function
|
205
|
+
function Xe(t) {
|
206
206
|
let e = 0;
|
207
207
|
if (t.length === 0)
|
208
208
|
return e.toString();
|
@@ -212,7 +212,7 @@ function Ze(t) {
|
|
212
212
|
}
|
213
213
|
return e.toString();
|
214
214
|
}
|
215
|
-
let
|
215
|
+
let Xt = class {
|
216
216
|
constructor(t, e) {
|
217
217
|
this.lockWarningTime = t, this.lockErrorTime = e, this.tasks = [], this.current = Promise.resolve(), this.next = this.next.bind(this);
|
218
218
|
}
|
@@ -242,12 +242,12 @@ let Zt = class {
|
|
242
242
|
});
|
243
243
|
}
|
244
244
|
};
|
245
|
-
const
|
245
|
+
const q = /* @__PURE__ */ new WeakMap();
|
246
246
|
function ne(t, e = 5e3, s = 1e3) {
|
247
|
-
return
|
248
|
-
const o =
|
247
|
+
return q.has(t) || q.set(t, new Xt(e, s)), (r) => new Promise((n, i) => {
|
248
|
+
const o = q.get(t);
|
249
249
|
o.add(r, n, i, () => {
|
250
|
-
o.tasks.length ||
|
250
|
+
o.tasks.length || q.delete(t);
|
251
251
|
});
|
252
252
|
});
|
253
253
|
}
|
@@ -255,14 +255,14 @@ const A = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1
|
|
255
255
|
function Te() {
|
256
256
|
return A() + A() + "-" + A() + "-" + A() + "-" + A() + "-" + A() + A() + A();
|
257
257
|
}
|
258
|
-
var
|
258
|
+
var Zt = Object.defineProperty, Qt = Object.defineProperties, Yt = Object.getOwnPropertyDescriptors, Ze = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, es = Object.prototype.propertyIsEnumerable, Qe = (t, e, s) => e in t ? Zt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, ts = (t, e) => {
|
259
259
|
for (var s in e || (e = {}))
|
260
260
|
Gt.call(e, s) && Qe(t, s, e[s]);
|
261
|
-
if (
|
262
|
-
for (var s of
|
261
|
+
if (Ze)
|
262
|
+
for (var s of Ze(e))
|
263
263
|
es.call(e, s) && Qe(t, s, e[s]);
|
264
264
|
return t;
|
265
|
-
}, ss = (t, e) => Qt(t,
|
265
|
+
}, ss = (t, e) => Qt(t, Yt(e));
|
266
266
|
const rs = (t) => {
|
267
267
|
const e = [];
|
268
268
|
return [
|
@@ -294,7 +294,7 @@ let je = class {
|
|
294
294
|
}
|
295
295
|
}, $t = class {
|
296
296
|
constructor(t, e, s) {
|
297
|
-
this.platform = t, this.node = e, this.actions = new
|
297
|
+
this.platform = t, this.node = e, this.actions = new Ue(
|
298
298
|
t,
|
299
299
|
new je(t).withId(e.id),
|
300
300
|
s
|
@@ -330,7 +330,7 @@ let je = class {
|
|
330
330
|
};
|
331
331
|
class ns {
|
332
332
|
constructor(e, s, r = !0) {
|
333
|
-
this.platform = e, this.target = s, this.clearOnDispose = r, this.removes = [], this.actions = new
|
333
|
+
this.platform = e, this.target = s, this.clearOnDispose = r, this.removes = [], this.actions = new Ue(this.platform, this.target);
|
334
334
|
}
|
335
335
|
writeProperties(e, s) {
|
336
336
|
this.removes.push(
|
@@ -381,7 +381,7 @@ const is = (t, e, s) => {
|
|
381
381
|
};
|
382
382
|
return n(e, {}, s);
|
383
383
|
};
|
384
|
-
let
|
384
|
+
let Ue = class {
|
385
385
|
constructor(t, e, s) {
|
386
386
|
this.platform = t, this.target = e, this.ns = s, this.subscriptions = [], this.create = this.create.bind(this);
|
387
387
|
}
|
@@ -461,7 +461,7 @@ Ne((t) => {
|
|
461
461
|
});
|
462
462
|
});
|
463
463
|
});
|
464
|
-
let
|
464
|
+
let Ye = class {
|
465
465
|
constructor(t, e) {
|
466
466
|
this.events = t, this.tags = [], this.children = {}, this.changesets = [], this.mountCount = 0, this.id = Te(), this.type = e, this.attributes = {
|
467
467
|
context: {},
|
@@ -551,19 +551,19 @@ const wt = (t, e, s) => {
|
|
551
551
|
const i = e[t[r].id] || "default", o = t[r].getChildren(i);
|
552
552
|
wt(o, e, s);
|
553
553
|
}
|
554
|
-
},
|
554
|
+
}, Ie = (t, e, s) => {
|
555
555
|
if (s(t) !== !0) {
|
556
556
|
const r = e[t.id] || "default", n = t.children[r];
|
557
557
|
wt(n, e, s);
|
558
558
|
}
|
559
559
|
}, pe = (t, e) => {
|
560
560
|
const s = [];
|
561
|
-
return
|
561
|
+
return Ie(t, e, (r) => {
|
562
562
|
s.push(r);
|
563
563
|
}), s;
|
564
564
|
}, os = (t, e, s) => {
|
565
565
|
let r;
|
566
|
-
return
|
566
|
+
return Ie(t, e, (n) => {
|
567
567
|
if (s(n))
|
568
568
|
return r = n, !0;
|
569
569
|
}), r;
|
@@ -581,7 +581,7 @@ let as = class {
|
|
581
581
|
}
|
582
582
|
query(t = {}) {
|
583
583
|
const e = [];
|
584
|
-
return
|
584
|
+
return Ie(this.root, this.switches, (s) => {
|
585
585
|
Object.keys(t).every((r) => t[r] === s[r]) && e.push(s);
|
586
586
|
}), e;
|
587
587
|
}
|
@@ -624,15 +624,15 @@ const ls = (t) => {
|
|
624
624
|
properties: u.properties || _,
|
625
625
|
layout: u.layout || ce
|
626
626
|
}), _ && (l.attributes.properties = {}), ce && (l.attributes.layout = {}), y && (l.attributes.context = $({}, (d = l.parent) == null ? void 0 : d.attributes.context));
|
627
|
-
const
|
627
|
+
const Be = [], Ve = [], Je = [];
|
628
628
|
if (l.changesets.forEach((b) => {
|
629
629
|
const [v, le] = b;
|
630
|
-
ps(le.breakpoints, t.breakpoints) && (_ && (typeof v.properties == "function" ?
|
630
|
+
ps(le.breakpoints, t.breakpoints) && (_ && (typeof v.properties == "function" ? Be.push(
|
631
631
|
v.properties
|
632
|
-
) : $(l.attributes.properties, v.properties)), ce && (typeof v.layout == "function" ?
|
633
|
-
}), Ve.forEach((b) => {
|
634
|
-
$(l.attributes.properties, b(l.attributes.properties));
|
632
|
+
) : $(l.attributes.properties, v.properties)), ce && (typeof v.layout == "function" ? Ve.push(v.layout) : $(l.attributes.layout, v.layout)), y && (typeof v.context == "function" ? Je.push(v.context) : $(l.attributes.context, v.context)));
|
635
633
|
}), Be.forEach((b) => {
|
634
|
+
$(l.attributes.properties, b(l.attributes.properties));
|
635
|
+
}), Ve.forEach((b) => {
|
636
636
|
$(l.attributes.layout, b(l.attributes.layout));
|
637
637
|
}), Je.forEach((b) => {
|
638
638
|
$(l.attributes.context, b(l.attributes.context));
|
@@ -663,7 +663,7 @@ const ls = (t) => {
|
|
663
663
|
let us = class {
|
664
664
|
constructor(t, e = {}) {
|
665
665
|
this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new cs(), this.events = t.events.createChild(this);
|
666
|
-
const s = new
|
666
|
+
const s = new Ye(this.events, "root");
|
667
667
|
s.name = `root-${t.name}`, this.nodes = new as(s, this.switches, this.events);
|
668
668
|
const r = this.processNode = ds(this, (n) => {
|
669
669
|
const i = Array.from(n.keys());
|
@@ -770,14 +770,14 @@ ${i.map(
|
|
770
770
|
* @param type Type of node.
|
771
771
|
*/
|
772
772
|
createNode(t, e = {}) {
|
773
|
-
const s = new
|
773
|
+
const s = new Ye(this.events, t);
|
774
774
|
return e.detached && this.nodes.detached.push(s), s;
|
775
775
|
}
|
776
776
|
components() {
|
777
777
|
return new je(this);
|
778
778
|
}
|
779
779
|
actions(t, e) {
|
780
|
-
return new
|
780
|
+
return new Ue(this, t, e);
|
781
781
|
}
|
782
782
|
write(t) {
|
783
783
|
const { provider: e, target: s, attributes: r, options: n = {}, removable: i } = t, o = t.key || Te(), c = { changeset: [r, n], target: s, removes: [] };
|
@@ -856,7 +856,7 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
856
856
|
Key: ${e}
|
857
857
|
Category: ${JSON.stringify(s)}
|
858
858
|
Options: ${JSON.stringify(r)}`
|
859
|
-
), (i) => (
|
859
|
+
), (i) => (Re(t), tt(t, s).then((o) => {
|
860
860
|
if (o) {
|
861
861
|
process.env.NODE_ENV !== "production" && f.warn(
|
862
862
|
`storageWriter: Attempted to write to storage using unallowed category.
|
@@ -872,8 +872,8 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
872
872
|
medium: a = w.Session,
|
873
873
|
duration: h
|
874
874
|
} = r, l = ws();
|
875
|
-
return l[c][e] = Et(i, s, h), a === w.Cookie ?
|
876
|
-
})))), bs = (t, e, s = w.Session) => (
|
875
|
+
return l[c][e] = Et(i, s, h), a === w.Cookie ? Os(t, l) : Ss(t, a, l);
|
876
|
+
})))), bs = (t, e, s = w.Session) => (Re(t), typeof e == "undefined" ? (process.env.NODE_ENV !== "production" && f.warn("readStorage: Undefined key passed when reading storage. ", e, s), Promise.resolve(void 0)) : s === w.Cookie ? Cs(t).then((r) => xe(r, e)) : xs(t, s).then((r) => xe(r, e))), I = (t) => !!Object.entries(t).filter(([e, s]) => typeof s != "undefined").length, ue = (t) => Object.entries(t).filter(([e, s]) => typeof s != "undefined").forEach(([e, { value: s }]) => {
|
877
877
|
typeof s == "undefined" && delete t[e];
|
878
878
|
}), _t = (t, e) => {
|
879
879
|
const s = {
|
@@ -895,8 +895,8 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
895
895
|
} = t.get("$widget");
|
896
896
|
return [
|
897
897
|
`humany_${r}`,
|
898
|
-
`humany_${
|
899
|
-
`humany_${
|
898
|
+
`humany_${Xe(r + s)}`,
|
899
|
+
`humany_${Xe(r + s + e)}`
|
900
900
|
];
|
901
901
|
}, ge = (t) => {
|
902
902
|
const e = new RegExp(`(?:^|;)\\s?${t}=(.*?)(?:;|$)`, "i"), s = document.cookie.match(e);
|
@@ -904,7 +904,7 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
904
904
|
}, me = (t, e, s) => {
|
905
905
|
const r = `${t}=${JSON.stringify(e).trim()}`, n = `expires=${new Date(s).toUTCString()}`, i = "path=/", o = "SameSite=None;Secure";
|
906
906
|
return document.cookie = `${r}; ${n}; ${i}; ${o}`;
|
907
|
-
},
|
907
|
+
}, Me = (t) => {
|
908
908
|
const [e, s, r] = ie(t), n = ge(e) || {}, i = ge(s) || {}, o = ge(r) || {};
|
909
909
|
return {
|
910
910
|
tenant: n,
|
@@ -912,12 +912,12 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
912
912
|
widget: o
|
913
913
|
};
|
914
914
|
}, At = (t, e) => {
|
915
|
-
const s =
|
916
|
-
me(n, c,
|
915
|
+
const s = Me(t), r = _t(s, e), [n, i, o] = ie(t), { tenant: c, implementation: a, widget: h } = r, l = $s(e), p = De({ days: -1 });
|
916
|
+
me(n, c, I(c) ? l : p), me(
|
917
917
|
i,
|
918
918
|
a,
|
919
|
-
|
920
|
-
), me(o, h,
|
919
|
+
I(a) ? l : p
|
920
|
+
), me(o, h, I(h) ? l : p);
|
921
921
|
}, G = (t, e) => {
|
922
922
|
const [s, r, n] = ie(t), i = e.getItem(s) || "{}", o = e.getItem(r) || "{}", c = e.getItem(n) || "{}";
|
923
923
|
return {
|
@@ -925,9 +925,9 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
925
925
|
implementation: JSON.parse(o),
|
926
926
|
widget: JSON.parse(c)
|
927
927
|
};
|
928
|
-
},
|
928
|
+
}, Oe = (t, e, s) => {
|
929
929
|
const r = G(t, e), n = _t(r, s), [i, o, c] = ie(t), { tenant: a, implementation: h, widget: l } = n;
|
930
|
-
|
930
|
+
I(a) ? e.setItem(i, JSON.stringify(a)) : e.removeItem(i), I(h) ? e.setItem(o, JSON.stringify(h)) : e.removeItem(o), I(l) ? e.setItem(c, JSON.stringify(l)) : e.removeItem(c);
|
931
931
|
}, ws = () => ({ tenant: {}, implementation: {}, widget: {} }), _s = (t) => t ? !!t && /* @__PURE__ */ new Date() > new Date(t) : !1, xe = (t, e) => {
|
932
932
|
const s = t.widget[e] || t.implementation[e] || t.tenant[e];
|
933
933
|
return s == null ? void 0 : s.value;
|
@@ -948,22 +948,22 @@ const ys = (t, e, s, r = {}) => tt(t, s).then((n) => (process.env.NODE_ENV !== "
|
|
948
948
|
}), s;
|
949
949
|
}, tt = (t, e) => bs(t, "storagePolicy", w.Cookie).then(
|
950
950
|
(s = [m.Necessary]) => !!e && s.indexOf(e) === -1
|
951
|
-
), Es = (t = [m.Necessary], e) => !!e && t.indexOf(e) === -1,
|
952
|
-
const e =
|
951
|
+
), Es = (t = [m.Necessary], e) => !!e && t.indexOf(e) === -1, Re = (t) => {
|
952
|
+
const e = Me(t), s = G(t, window.localStorage), r = G(t, sessionStorage), n = xe(e, "storagePolicy"), [i, o, c] = [
|
953
953
|
e,
|
954
954
|
s,
|
955
955
|
r
|
956
956
|
].map((a) => As(a, n));
|
957
|
-
At(t, i),
|
957
|
+
At(t, i), Oe(t, window.localStorage, o), Oe(t, window.sessionStorage, c);
|
958
958
|
}, De = (t = { days: 30 }) => {
|
959
959
|
const { days: e = 0, hours: s = 0, minutes: r = 0, seconds: n = 0 } = t, i = /* @__PURE__ */ new Date();
|
960
960
|
return i.setTime(i.getTime() + s * 60 * 60 * 1e3), i.setTime(i.getTime() + e * 24 * 60 * 60 * 1e3), i.setTime(i.getTime() + r * 60 * 1e3), i.setTime(i.getTime() + n * 1e3), i.toISOString();
|
961
|
-
},
|
961
|
+
}, Cs = (t) => ne(document)(() => Me(t)), Os = (t, e) => ne(document)(() => At(t, e)), xs = (t, e) => {
|
962
962
|
const s = e === w.Local ? window.localStorage : window.sessionStorage;
|
963
963
|
return ne(s)(() => G(t, s));
|
964
964
|
}, Ss = (t, e, s) => {
|
965
965
|
const r = e === w.Local ? window.localStorage : window.sessionStorage;
|
966
|
-
return ne(r)(() =>
|
966
|
+
return ne(r)(() => Oe(t, r, s));
|
967
967
|
}, fe = (t, e, s, ...r) => {
|
968
968
|
const n = `[${t.get("$environment").name || "webprovisions"}] ${s}`;
|
969
969
|
switch (e) {
|
@@ -1040,11 +1040,11 @@ let Ns = class {
|
|
1040
1040
|
return this.part;
|
1041
1041
|
}
|
1042
1042
|
};
|
1043
|
-
const
|
1043
|
+
const Ct = (t) => {
|
1044
1044
|
const e = new Ns({});
|
1045
1045
|
return t(e), e.get();
|
1046
1046
|
};
|
1047
|
-
|
1047
|
+
Ct((t) => {
|
1048
1048
|
t.createCommand(
|
1049
1049
|
"types.register",
|
1050
1050
|
{ scope: ee.Implementation, stage: S.Pre },
|
@@ -1123,7 +1123,7 @@ Ot((t) => {
|
|
1123
1123
|
}
|
1124
1124
|
);
|
1125
1125
|
});
|
1126
|
-
|
1126
|
+
Ct((t) => {
|
1127
1127
|
t.createCommand("storage", (e) => (s = {}) => {
|
1128
1128
|
const { consent: r } = s;
|
1129
1129
|
if (typeof r != "undefined") {
|
@@ -1162,12 +1162,12 @@ Ot((t) => {
|
|
1162
1162
|
duration: { days: 365 }
|
1163
1163
|
}
|
1164
1164
|
).then((i) => i(n)).then(() => {
|
1165
|
-
|
1165
|
+
Re(e.container), e.events.dispatch("storage:policy-changed", n);
|
1166
1166
|
});
|
1167
1167
|
}
|
1168
1168
|
});
|
1169
1169
|
});
|
1170
|
-
function
|
1170
|
+
function Ot(t) {
|
1171
1171
|
if (t.__esModule)
|
1172
1172
|
return t;
|
1173
1173
|
var e = t.default;
|
@@ -1221,11 +1221,11 @@ process.env.NODE_ENV !== "production" && (xt = function(t, e, s) {
|
|
1221
1221
|
}
|
1222
1222
|
});
|
1223
1223
|
var Ts = xt, js = Ts;
|
1224
|
-
|
1225
|
-
function
|
1224
|
+
Us(js);
|
1225
|
+
function Us(t) {
|
1226
1226
|
return t && t.__esModule ? t : { default: t };
|
1227
1227
|
}
|
1228
|
-
function
|
1228
|
+
function F(t) {
|
1229
1229
|
return t.charAt(0) === "/";
|
1230
1230
|
}
|
1231
1231
|
function ve(t, e) {
|
@@ -1233,9 +1233,9 @@ function ve(t, e) {
|
|
1233
1233
|
t[s] = t[r];
|
1234
1234
|
t.pop();
|
1235
1235
|
}
|
1236
|
-
function
|
1237
|
-
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", s = t && t.split("/") || [], r = e && e.split("/") || [], n = t &&
|
1238
|
-
if (t &&
|
1236
|
+
function Is(t) {
|
1237
|
+
var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", s = t && t.split("/") || [], r = e && e.split("/") || [], n = t && F(t), i = e && F(e), o = n || i;
|
1238
|
+
if (t && F(t) ? r = s : s.length && (r.pop(), r = r.concat(s)), !r.length)
|
1239
1239
|
return "/";
|
1240
1240
|
var c = void 0;
|
1241
1241
|
if (r.length) {
|
@@ -1250,27 +1250,27 @@ function Us(t) {
|
|
1250
1250
|
if (!o)
|
1251
1251
|
for (; h--; h)
|
1252
1252
|
r.unshift("..");
|
1253
|
-
o && r[0] !== "" && (!r[0] || !
|
1253
|
+
o && r[0] !== "" && (!r[0] || !F(r[0])) && r.unshift("");
|
1254
1254
|
var d = r.join("/");
|
1255
1255
|
return c && d.substr(-1) !== "/" && (d += "/"), d;
|
1256
1256
|
}
|
1257
1257
|
const Hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1258
1258
|
__proto__: null,
|
1259
|
-
default:
|
1260
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
1259
|
+
default: Is
|
1260
|
+
}, Symbol.toStringTag, { value: "Module" })), Ms = /* @__PURE__ */ Ot(Hs);
|
1261
1261
|
var rt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
1262
1262
|
return typeof t;
|
1263
1263
|
} : function(t) {
|
1264
1264
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
1265
1265
|
};
|
1266
|
-
function
|
1266
|
+
function Z(t, e) {
|
1267
1267
|
if (t === e)
|
1268
1268
|
return !0;
|
1269
1269
|
if (t == null || e == null)
|
1270
1270
|
return !1;
|
1271
1271
|
if (Array.isArray(t))
|
1272
1272
|
return Array.isArray(e) && t.length === e.length && t.every(function(a, h) {
|
1273
|
-
return
|
1273
|
+
return Z(a, e[h]);
|
1274
1274
|
});
|
1275
1275
|
var s = typeof t == "undefined" ? "undefined" : rt(t), r = typeof e == "undefined" ? "undefined" : rt(e);
|
1276
1276
|
if (s !== r)
|
@@ -1278,19 +1278,19 @@ function Y(t, e) {
|
|
1278
1278
|
if (s === "object") {
|
1279
1279
|
var n = t.valueOf(), i = e.valueOf();
|
1280
1280
|
if (n !== t || i !== e)
|
1281
|
-
return
|
1281
|
+
return Z(n, i);
|
1282
1282
|
var o = Object.keys(t), c = Object.keys(e);
|
1283
1283
|
return o.length !== c.length ? !1 : o.every(function(a) {
|
1284
|
-
return
|
1284
|
+
return Z(t[a], e[a]);
|
1285
1285
|
});
|
1286
1286
|
}
|
1287
1287
|
return !1;
|
1288
1288
|
}
|
1289
|
-
const
|
1289
|
+
const Rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
1290
1290
|
__proto__: null,
|
1291
|
-
default:
|
1292
|
-
}, Symbol.toStringTag, { value: "Module" })), Ds = /* @__PURE__ */
|
1293
|
-
var zs =
|
1291
|
+
default: Z
|
1292
|
+
}, Symbol.toStringTag, { value: "Module" })), Ds = /* @__PURE__ */ Ot(Rs);
|
1293
|
+
var zs = Ms;
|
1294
1294
|
St(zs);
|
1295
1295
|
var Ls = Ds;
|
1296
1296
|
St(Ls);
|
@@ -1326,8 +1326,8 @@ const ye = (t, e, s, ...r) => {
|
|
1326
1326
|
error: (s, ...r) => ye(e, "error", s, ...r)
|
1327
1327
|
};
|
1328
1328
|
};
|
1329
|
-
var L = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))(L || {}),
|
1330
|
-
const
|
1329
|
+
var L = /* @__PURE__ */ ((t) => (t.Implementation = "implementation", t.Widget = "widget", t))(L || {}), C = /* @__PURE__ */ ((t) => (t.Pre = "pre", t.Post = "post", t))(C || {});
|
1330
|
+
const Bs = (t, e, s, r) => {
|
1331
1331
|
try {
|
1332
1332
|
const n = new e(s, r);
|
1333
1333
|
return {
|
@@ -1354,7 +1354,7 @@ const Vs = (t, e, s, r) => {
|
|
1354
1354
|
function nt(t, e) {
|
1355
1355
|
return typeof t == "undefined" ? e : t;
|
1356
1356
|
}
|
1357
|
-
class
|
1357
|
+
class Vs {
|
1358
1358
|
constructor(e = {}) {
|
1359
1359
|
this.part = e;
|
1360
1360
|
}
|
@@ -1362,12 +1362,12 @@ class Bs {
|
|
1362
1362
|
let n;
|
1363
1363
|
typeof s == "function" ? n = {
|
1364
1364
|
scope: L.Widget,
|
1365
|
-
stage:
|
1365
|
+
stage: C.Post,
|
1366
1366
|
defaultArgs: void 0,
|
1367
1367
|
handlerResolver: s
|
1368
1368
|
} : n = {
|
1369
1369
|
scope: nt(s.scope, L.Widget),
|
1370
|
-
stage: nt(s.stage,
|
1370
|
+
stage: nt(s.stage, C.Post),
|
1371
1371
|
defaultArgs: s.defaultArgs,
|
1372
1372
|
handlerResolver: r
|
1373
1373
|
};
|
@@ -1382,25 +1382,25 @@ class Bs {
|
|
1382
1382
|
}
|
1383
1383
|
}
|
1384
1384
|
const Pt = (t) => {
|
1385
|
-
const e = new
|
1385
|
+
const e = new Vs({});
|
1386
1386
|
return t(e), e.get();
|
1387
1387
|
};
|
1388
1388
|
Pt((t) => {
|
1389
1389
|
t.createCommand(
|
1390
1390
|
"types.register",
|
1391
|
-
{ scope: L.Implementation, stage:
|
1391
|
+
{ scope: L.Implementation, stage: C.Pre },
|
1392
1392
|
(e) => (s, r) => {
|
1393
1393
|
e.container.get("$types")[s] = r;
|
1394
1394
|
}
|
1395
1395
|
).createCommand(
|
1396
1396
|
"type",
|
1397
|
-
{ stage:
|
1397
|
+
{ stage: C.Pre },
|
1398
1398
|
(e) => (s) => {
|
1399
1399
|
e.container.register("$type", s);
|
1400
1400
|
}
|
1401
1401
|
).createCommand(
|
1402
1402
|
"settings",
|
1403
|
-
{ stage:
|
1403
|
+
{ stage: C.Pre, defaultArgs: [null] },
|
1404
1404
|
(e) => (s) => {
|
1405
1405
|
e.events.dispatch(
|
1406
1406
|
"settings:change",
|
@@ -1410,7 +1410,7 @@ Pt((t) => {
|
|
1410
1410
|
}
|
1411
1411
|
).createCommand(
|
1412
1412
|
"plugin",
|
1413
|
-
{ stage:
|
1413
|
+
{ stage: C.Pre },
|
1414
1414
|
(e) => (s, r, n) => {
|
1415
1415
|
const { container: i } = e;
|
1416
1416
|
let o = null, c = s, a = r;
|
@@ -1423,7 +1423,7 @@ Pt((t) => {
|
|
1423
1423
|
c
|
1424
1424
|
) : r;
|
1425
1425
|
try {
|
1426
|
-
const u =
|
1426
|
+
const u = Bs(
|
1427
1427
|
o,
|
1428
1428
|
c,
|
1429
1429
|
i,
|
@@ -1467,7 +1467,7 @@ Pt((t) => {
|
|
1467
1467
|
Pt((t) => {
|
1468
1468
|
t.createCommand(
|
1469
1469
|
"ready",
|
1470
|
-
{ scope: L.Implementation, stage:
|
1470
|
+
{ scope: L.Implementation, stage: C.Pre },
|
1471
1471
|
(e) => (s) => {
|
1472
1472
|
const { container: r } = e, n = r.owner;
|
1473
1473
|
r.get("bootstrapping").ready ? s(n) : n.events.subscribeOnce("bootstrap:ready", () => {
|
@@ -1501,7 +1501,7 @@ let kt = class {
|
|
1501
1501
|
return this.cssText;
|
1502
1502
|
}
|
1503
1503
|
};
|
1504
|
-
const Js = (t) => new kt(typeof t == "string" ? t : t + "", void 0, Le),
|
1504
|
+
const Js = (t) => new kt(typeof t == "string" ? t : t + "", void 0, Le), qs = (t, ...e) => {
|
1505
1505
|
const s = t.length === 1 ? t[0] : e.reduce((r, n, i) => r + ((o) => {
|
1506
1506
|
if (o._$cssResult$ === !0)
|
1507
1507
|
return o.cssText;
|
@@ -1510,7 +1510,7 @@ const Js = (t) => new kt(typeof t == "string" ? t : t + "", void 0, Le), Fs = (t
|
|
1510
1510
|
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.");
|
1511
1511
|
})(n) + t[i + 1], t[0]);
|
1512
1512
|
return new kt(s, t, Le);
|
1513
|
-
},
|
1513
|
+
}, Fs = (t, e) => {
|
1514
1514
|
ze ? t.adoptedStyleSheets = e.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet) : e.forEach((s) => {
|
1515
1515
|
const r = document.createElement("style"), n = Q.litNonce;
|
1516
1516
|
n !== void 0 && r.setAttribute("nonce", n), r.textContent = s.cssText, t.appendChild(r);
|
@@ -1556,7 +1556,7 @@ const te = window, at = te.trustedTypes, Ks = at ? at.emptyScript : "", ct = te.
|
|
1556
1556
|
}
|
1557
1557
|
return s;
|
1558
1558
|
} }, Nt = (t, e) => e !== t && (e == e || t == t), $e = { attribute: !0, type: String, converter: Se, reflect: !1, hasChanged: Nt }, Pe = "finalized";
|
1559
|
-
let
|
1559
|
+
let U = class extends HTMLElement {
|
1560
1560
|
constructor() {
|
1561
1561
|
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
|
1562
1562
|
}
|
@@ -1635,7 +1635,7 @@ let I = class extends HTMLElement {
|
|
1635
1635
|
createRenderRoot() {
|
1636
1636
|
var t;
|
1637
1637
|
const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
1638
|
-
return
|
1638
|
+
return Fs(e, this.constructor.elementStyles), e;
|
1639
1639
|
}
|
1640
1640
|
connectedCallback() {
|
1641
1641
|
var t;
|
@@ -1677,7 +1677,7 @@ let I = class extends HTMLElement {
|
|
1677
1677
|
t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || Nt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : r = !1), !this.isUpdatePending && r && (this._$E_ = this._$Ej());
|
1678
1678
|
}
|
1679
1679
|
_$Ej() {
|
1680
|
-
return
|
1680
|
+
return X(this, null, function* () {
|
1681
1681
|
this.isUpdatePending = !0;
|
1682
1682
|
try {
|
1683
1683
|
yield this._$E_;
|
@@ -1737,41 +1737,41 @@ let I = class extends HTMLElement {
|
|
1737
1737
|
firstUpdated(t) {
|
1738
1738
|
}
|
1739
1739
|
};
|
1740
|
-
|
1740
|
+
U[Pe] = !0, U.elementProperties = /* @__PURE__ */ new Map(), U.elementStyles = [], U.shadowRootOptions = { mode: "open" }, ct == null || ct({ ReactiveElement: U }), ((be = te.reactiveElementVersions) !== null && be !== void 0 ? be : te.reactiveElementVersions = []).push("1.6.3");
|
1741
1741
|
/**
|
1742
1742
|
* @license
|
1743
1743
|
* Copyright 2017 Google LLC
|
1744
1744
|
* SPDX-License-Identifier: BSD-3-Clause
|
1745
1745
|
*/
|
1746
1746
|
var we;
|
1747
|
-
const se = window, H = se.trustedTypes, lt = H ? H.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ke = "$lit$", E = `lit$${(Math.random() + "").slice(9)}$`, Tt = "?" + E,
|
1748
|
-
\f\r]`,
|
1749
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, ut = /"/g,
|
1750
|
-
function
|
1747
|
+
const se = window, H = se.trustedTypes, lt = H ? H.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, ke = "$lit$", E = `lit$${(Math.random() + "").slice(9)}$`, Tt = "?" + E, Xs = `<${Tt}>`, k = document, W = () => k.createComment(""), B = (t) => t === null || typeof t != "object" && typeof t != "function", jt = Array.isArray, Zs = (t) => jt(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", _e = `[
|
1748
|
+
\f\r]`, R = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ht = /-->/g, pt = />/g, O = RegExp(`>|${_e}(?:([^\\s"'>=/]+)(${_e}*=${_e}*(?:[^
|
1749
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), dt = /'/g, ut = /"/g, Ut = /^(?:script|style|textarea|title)$/i, Qs = (t) => (e, ...s) => ({ _$litType$: t, strings: e, values: s }), K = Qs(1), N = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), gt = /* @__PURE__ */ new WeakMap(), P = k.createTreeWalker(k, 129, null, !1);
|
1750
|
+
function It(t, e) {
|
1751
1751
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw"))
|
1752
1752
|
throw Error("invalid template strings array");
|
1753
1753
|
return lt !== void 0 ? lt.createHTML(e) : e;
|
1754
1754
|
}
|
1755
|
-
const
|
1755
|
+
const Ys = (t, e) => {
|
1756
1756
|
const s = t.length - 1, r = [];
|
1757
|
-
let n, i = e === 2 ? "<svg>" : "", o =
|
1757
|
+
let n, i = e === 2 ? "<svg>" : "", o = R;
|
1758
1758
|
for (let c = 0; c < s; c++) {
|
1759
1759
|
const a = t[c];
|
1760
1760
|
let h, l, p = -1, d = 0;
|
1761
1761
|
for (; d < a.length && (o.lastIndex = d, l = o.exec(a), l !== null); )
|
1762
|
-
d = o.lastIndex, o ===
|
1763
|
-
const u = o ===
|
1764
|
-
i += o ===
|
1762
|
+
d = o.lastIndex, o === R ? l[1] === "!--" ? o = ht : l[1] !== void 0 ? o = pt : l[2] !== void 0 ? (Ut.test(l[2]) && (n = RegExp("</" + l[2], "g")), o = O) : l[3] !== void 0 && (o = O) : o === O ? l[0] === ">" ? (o = n != null ? n : R, p = -1) : l[1] === void 0 ? p = -2 : (p = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? O : l[3] === '"' ? ut : dt) : o === ut || o === dt ? o = O : o === ht || o === pt ? o = R : (o = O, n = void 0);
|
1763
|
+
const u = o === O && t[c + 1].startsWith("/>") ? " " : "";
|
1764
|
+
i += o === R ? a + Xs : p >= 0 ? (r.push(h), a.slice(0, p) + ke + a.slice(p) + E + u) : a + E + (p === -2 ? (r.push(void 0), c) : u);
|
1765
1765
|
}
|
1766
|
-
return [
|
1766
|
+
return [It(t, i + (t[s] || "<?>") + (e === 2 ? "</svg>" : "")), r];
|
1767
1767
|
};
|
1768
|
-
class
|
1768
|
+
class V {
|
1769
1769
|
constructor({ strings: e, _$litType$: s }, r) {
|
1770
1770
|
let n;
|
1771
1771
|
this.parts = [];
|
1772
1772
|
let i = 0, o = 0;
|
1773
|
-
const c = e.length - 1, a = this.parts, [h, l] =
|
1774
|
-
if (this.el =
|
1773
|
+
const c = e.length - 1, a = this.parts, [h, l] = Ys(e, s);
|
1774
|
+
if (this.el = V.createElement(h, r), P.currentNode = this.el.content, s === 2) {
|
1775
1775
|
const p = this.el.content, d = p.firstChild;
|
1776
1776
|
d.remove(), p.append(...d.childNodes);
|
1777
1777
|
}
|
@@ -1791,7 +1791,7 @@ class B {
|
|
1791
1791
|
for (const d of p)
|
1792
1792
|
n.removeAttribute(d);
|
1793
1793
|
}
|
1794
|
-
if (
|
1794
|
+
if (Ut.test(n.tagName)) {
|
1795
1795
|
const p = n.textContent.split(E), d = p.length - 1;
|
1796
1796
|
if (d > 0) {
|
1797
1797
|
n.textContent = H ? H.emptyScript : "";
|
@@ -1816,13 +1816,13 @@ class B {
|
|
1816
1816
|
return r.innerHTML = e, r;
|
1817
1817
|
}
|
1818
1818
|
}
|
1819
|
-
function
|
1819
|
+
function M(t, e, s = t, r) {
|
1820
1820
|
var n, i, o, c;
|
1821
1821
|
if (e === N)
|
1822
1822
|
return e;
|
1823
1823
|
let a = r !== void 0 ? (n = s._$Co) === null || n === void 0 ? void 0 : n[r] : s._$Cl;
|
1824
|
-
const h =
|
1825
|
-
return (a == null ? void 0 : a.constructor) !== h && ((i = a == null ? void 0 : a._$AO) === null || i === void 0 || i.call(a, !1), h === void 0 ? a = void 0 : (a = new h(t), a._$AT(t, s, r)), r !== void 0 ? ((o = (c = s)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[r] = a : s._$Cl = a), a !== void 0 && (e =
|
1824
|
+
const h = B(e) ? void 0 : e._$litDirective$;
|
1825
|
+
return (a == null ? void 0 : a.constructor) !== h && ((i = a == null ? void 0 : a._$AO) === null || i === void 0 || i.call(a, !1), h === void 0 ? a = void 0 : (a = new h(t), a._$AT(t, s, r)), r !== void 0 ? ((o = (c = s)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[r] = a : s._$Cl = a), a !== void 0 && (e = M(t, a._$AS(t, e.values), a, r)), e;
|
1826
1826
|
}
|
1827
1827
|
class Gs {
|
1828
1828
|
constructor(e, s) {
|
@@ -1875,7 +1875,7 @@ class J {
|
|
1875
1875
|
return this._$AB;
|
1876
1876
|
}
|
1877
1877
|
_$AI(e, s = this) {
|
1878
|
-
e =
|
1878
|
+
e = M(this, e, s), B(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== N && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : Zs(e) ? this.T(e) : this._(e);
|
1879
1879
|
}
|
1880
1880
|
k(e) {
|
1881
1881
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
@@ -1884,11 +1884,11 @@ class J {
|
|
1884
1884
|
this._$AH !== e && (this._$AR(), this._$AH = this.k(e));
|
1885
1885
|
}
|
1886
1886
|
_(e) {
|
1887
|
-
this._$AH !== g &&
|
1887
|
+
this._$AH !== g && B(this._$AH) ? this._$AA.nextSibling.data = e : this.$(k.createTextNode(e)), this._$AH = e;
|
1888
1888
|
}
|
1889
1889
|
g(e) {
|
1890
1890
|
var s;
|
1891
|
-
const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el =
|
1891
|
+
const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = V.createElement(It(n.h, n.h[0]), this.options)), n);
|
1892
1892
|
if (((s = this._$AH) === null || s === void 0 ? void 0 : s._$AD) === i)
|
1893
1893
|
this._$AH.v(r);
|
1894
1894
|
else {
|
@@ -1898,7 +1898,7 @@ class J {
|
|
1898
1898
|
}
|
1899
1899
|
_$AC(e) {
|
1900
1900
|
let s = gt.get(e.strings);
|
1901
|
-
return s === void 0 && gt.set(e.strings, s = new
|
1901
|
+
return s === void 0 && gt.set(e.strings, s = new V(e)), s;
|
1902
1902
|
}
|
1903
1903
|
T(e) {
|
1904
1904
|
jt(this._$AH) || (this._$AH = [], this._$AR());
|
@@ -1934,12 +1934,12 @@ class oe {
|
|
1934
1934
|
const i = this.strings;
|
1935
1935
|
let o = !1;
|
1936
1936
|
if (i === void 0)
|
1937
|
-
e =
|
1937
|
+
e = M(this, e, s, 0), o = !B(e) || e !== this._$AH && e !== N, o && (this._$AH = e);
|
1938
1938
|
else {
|
1939
1939
|
const c = e;
|
1940
1940
|
let a, h;
|
1941
1941
|
for (e = i[0], a = 0; a < i.length - 1; a++)
|
1942
|
-
h =
|
1942
|
+
h = M(this, c[r + a], s, a), h === N && (h = this._$AH[a]), o || (o = !B(h) || h !== this._$AH[a]), h === g ? e = g : e !== g && (e += (h != null ? h : "") + i[a + 1]), this._$AH[a] = h;
|
1943
1943
|
}
|
1944
1944
|
o && !n && this.j(e);
|
1945
1945
|
}
|
@@ -1970,7 +1970,7 @@ class rr extends oe {
|
|
1970
1970
|
}
|
1971
1971
|
_$AI(e, s = this) {
|
1972
1972
|
var r;
|
1973
|
-
if ((e = (r =
|
1973
|
+
if ((e = (r = M(this, e, s, 0)) !== null && r !== void 0 ? r : g) === N)
|
1974
1974
|
return;
|
1975
1975
|
const n = this._$AH, i = e === g && n !== g || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== g && (n === g || i);
|
1976
1976
|
i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
@@ -1988,11 +1988,11 @@ class nr {
|
|
1988
1988
|
return this._$AM._$AU;
|
1989
1989
|
}
|
1990
1990
|
_$AI(e) {
|
1991
|
-
|
1991
|
+
M(this, e);
|
1992
1992
|
}
|
1993
1993
|
}
|
1994
1994
|
const mt = se.litHtmlPolyfillSupport;
|
1995
|
-
mt == null || mt(
|
1995
|
+
mt == null || mt(V, J), ((we = se.litHtmlVersions) !== null && we !== void 0 ? we : se.litHtmlVersions = []).push("2.8.0");
|
1996
1996
|
const ir = (t, e, s) => {
|
1997
1997
|
var r, n;
|
1998
1998
|
const i = (r = s == null ? void 0 : s.renderBefore) !== null && r !== void 0 ? r : e;
|
@@ -2009,7 +2009,7 @@ const ir = (t, e, s) => {
|
|
2009
2009
|
* SPDX-License-Identifier: BSD-3-Clause
|
2010
2010
|
*/
|
2011
2011
|
var Ae, Ee;
|
2012
|
-
let z = class extends
|
2012
|
+
let z = class extends U {
|
2013
2013
|
constructor() {
|
2014
2014
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
2015
2015
|
}
|
@@ -2068,30 +2068,30 @@ function We(t) {
|
|
2068
2068
|
* Copyright 2021 Google LLC
|
2069
2069
|
* SPDX-License-Identifier: BSD-3-Clause
|
2070
2070
|
*/
|
2071
|
-
var
|
2072
|
-
((
|
2071
|
+
var Ce;
|
2072
|
+
((Ce = window.HTMLSlotElement) === null || Ce === void 0 ? void 0 : Ce.prototype.assignedElements) != null;
|
2073
2073
|
/**
|
2074
2074
|
* @license
|
2075
2075
|
* Copyright 2017 Google LLC
|
2076
2076
|
* SPDX-License-Identifier: BSD-3-Clause
|
2077
2077
|
*/
|
2078
2078
|
const cr = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, lr = (t) => (...e) => ({ _$litDirective$: t, values: e });
|
2079
|
-
|
2080
|
-
constructor(
|
2079
|
+
let hr = class {
|
2080
|
+
constructor(t) {
|
2081
2081
|
}
|
2082
2082
|
get _$AU() {
|
2083
2083
|
return this._$AM._$AU;
|
2084
2084
|
}
|
2085
|
-
_$AT(e, s
|
2086
|
-
this._$Ct =
|
2085
|
+
_$AT(t, e, s) {
|
2086
|
+
this._$Ct = t, this._$AM = e, this._$Ci = s;
|
2087
2087
|
}
|
2088
|
-
_$AS(
|
2089
|
-
return this.update(
|
2088
|
+
_$AS(t, e) {
|
2089
|
+
return this.update(t, e);
|
2090
2090
|
}
|
2091
|
-
update(
|
2092
|
-
return this.render(...
|
2091
|
+
update(t, e) {
|
2092
|
+
return this.render(...e);
|
2093
2093
|
}
|
2094
|
-
}
|
2094
|
+
};
|
2095
2095
|
/**
|
2096
2096
|
* @license
|
2097
2097
|
* Copyright 2018 Google LLC
|
@@ -2135,16 +2135,16 @@ class T extends z {
|
|
2135
2135
|
super(...arguments), this.active = !1, this.loaded = !1;
|
2136
2136
|
}
|
2137
2137
|
connectedCallback() {
|
2138
|
-
return
|
2139
|
-
|
2138
|
+
return X(this, null, function* () {
|
2139
|
+
Vt(T.prototype, this, "connectedCallback").call(this), this.icon = yield this._renderSymbol(this.symbol), this.loaded = !0;
|
2140
2140
|
});
|
2141
2141
|
}
|
2142
2142
|
_toggleActive() {
|
2143
2143
|
this.active = !this.active;
|
2144
2144
|
}
|
2145
2145
|
_renderSymbol(e) {
|
2146
|
-
return
|
2147
|
-
const s = (r) =>
|
2146
|
+
return X(this, null, function* () {
|
2147
|
+
const s = (r) => X(this, null, function* () {
|
2148
2148
|
return yield import("./index-9688347a-02584d39.js").then((n) => n[r]);
|
2149
2149
|
});
|
2150
2150
|
if (e) {
|
@@ -2212,7 +2212,7 @@ class T extends z {
|
|
2212
2212
|
}
|
2213
2213
|
}
|
2214
2214
|
T.styles = [
|
2215
|
-
|
2215
|
+
qs`
|
2216
2216
|
:host {
|
2217
2217
|
--voca-rem-multiplier: 0.625;
|
2218
2218
|
display: block;
|
@@ -2300,13 +2300,13 @@ const mr = "children", fr = "properties", gr = (t, e, s, r, n) => t.getAsync("co
|
|
2300
2300
|
}), e, n))), vr = (t) => gr(
|
2301
2301
|
t,
|
2302
2302
|
"area",
|
2303
|
-
import("./area-
|
2303
|
+
import("./area-3c634387.js"),
|
2304
2304
|
(e) => {
|
2305
2305
|
}
|
2306
2306
|
);
|
2307
2307
|
export {
|
2308
2308
|
vr as A,
|
2309
|
-
mr as
|
2310
|
-
fr as
|
2309
|
+
mr as K,
|
2310
|
+
fr as X
|
2311
2311
|
};
|
2312
|
-
//# sourceMappingURL=index-
|
2312
|
+
//# sourceMappingURL=index-dccce6e5.js.map
|