@telia-ace/widget-components-list-flamingo 1.1.123-rc.9 → 1.1.124-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{index-mVEjgFep.mjs → index-BmrvrLi9.mjs} +595 -596
- package/index-pDVi9hIM.js +154 -0
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{list-Bi9qAdTU.mjs → list-9REMVMSc.mjs} +1 -1
- package/{list-PwyO66Gx.js → list-L0OHXWcj.js} +2 -2
- package/package.json +2 -2
- package/index-DB9rgOBa.js +0 -154
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const at = (i, t, e, ...s) => {
|
|
2
|
+
const n = `[${i.get("$environment").name || "webprovisions"}] ${e}`;
|
|
3
3
|
switch (t) {
|
|
4
4
|
case "info":
|
|
5
|
-
console.info(
|
|
5
|
+
console.info(n, ...s);
|
|
6
6
|
break;
|
|
7
7
|
case "warning":
|
|
8
|
-
console.warn(
|
|
8
|
+
console.warn(n, ...s);
|
|
9
9
|
break;
|
|
10
10
|
case "error":
|
|
11
|
-
console.error(
|
|
11
|
+
console.error(n, ...s);
|
|
12
12
|
break;
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
const t =
|
|
14
|
+
}, le = (i) => {
|
|
15
|
+
const t = i.container || i;
|
|
16
16
|
return {
|
|
17
|
-
info: (e, ...s) =>
|
|
18
|
-
warn: (e, ...s) =>
|
|
19
|
-
error: (e, ...s) =>
|
|
17
|
+
info: (e, ...s) => at(t, "info", e, ...s),
|
|
18
|
+
warn: (e, ...s) => at(t, "warning", e, ...s),
|
|
19
|
+
error: (e, ...s) => at(t, "error", e, ...s)
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
var
|
|
23
|
-
const
|
|
22
|
+
var X = /* @__PURE__ */ ((i) => (i.Implementation = "implementation", i.Widget = "widget", i))(X || {}), S = /* @__PURE__ */ ((i) => (i.Pre = "pre", i.Post = "post", i))(S || {});
|
|
23
|
+
const pe = (i, t, e, s) => {
|
|
24
24
|
try {
|
|
25
|
-
const
|
|
25
|
+
const n = new t(e, s);
|
|
26
26
|
return {
|
|
27
|
-
name:
|
|
28
|
-
invoke: (
|
|
27
|
+
name: i,
|
|
28
|
+
invoke: (r, o) => {
|
|
29
29
|
let a;
|
|
30
|
-
return
|
|
30
|
+
return n[r] && (a = n[r].call(n, o)), Promise.resolve(a);
|
|
31
31
|
},
|
|
32
|
-
getInstance: () =>
|
|
32
|
+
getInstance: () => n
|
|
33
33
|
};
|
|
34
|
-
} catch (
|
|
35
|
-
if (
|
|
34
|
+
} catch (n) {
|
|
35
|
+
if (n.message && n.message.indexOf("is not a constructor") >= 0)
|
|
36
36
|
return {
|
|
37
|
-
name:
|
|
38
|
-
invoke: (
|
|
37
|
+
name: i,
|
|
38
|
+
invoke: (r) => {
|
|
39
39
|
let o;
|
|
40
|
-
return
|
|
40
|
+
return r === "initialize" && (o = t(e, s)), Promise.resolve(o);
|
|
41
41
|
},
|
|
42
42
|
getInstance: () => t
|
|
43
43
|
};
|
|
44
|
-
throw
|
|
44
|
+
throw n;
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
function
|
|
48
|
-
return typeof
|
|
47
|
+
function Ht(i, t) {
|
|
48
|
+
return typeof i > "u" ? t : i;
|
|
49
49
|
}
|
|
50
|
-
class
|
|
50
|
+
class de {
|
|
51
51
|
constructor(t = {}) {
|
|
52
52
|
this.part = t;
|
|
53
53
|
}
|
|
54
54
|
createCommand(t, e, s) {
|
|
55
|
-
let
|
|
56
|
-
typeof e == "function" ?
|
|
57
|
-
scope:
|
|
55
|
+
let n;
|
|
56
|
+
typeof e == "function" ? n = {
|
|
57
|
+
scope: X.Widget,
|
|
58
58
|
stage: S.Post,
|
|
59
59
|
defaultArgs: void 0,
|
|
60
60
|
handlerResolver: e
|
|
61
|
-
} :
|
|
62
|
-
scope:
|
|
63
|
-
stage:
|
|
61
|
+
} : n = {
|
|
62
|
+
scope: Ht(e.scope, X.Widget),
|
|
63
|
+
stage: Ht(e.stage, S.Post),
|
|
64
64
|
defaultArgs: e.defaultArgs,
|
|
65
65
|
handlerResolver: s
|
|
66
66
|
};
|
|
67
|
-
let
|
|
67
|
+
let r = this.part;
|
|
68
68
|
const o = t.split(".");
|
|
69
69
|
return o.forEach((a, c) => {
|
|
70
|
-
c === o.length - 1 ?
|
|
70
|
+
c === o.length - 1 ? r[a] || (r[a] = () => n) : r = this.part[a] = this.part[a] || {};
|
|
71
71
|
}), this;
|
|
72
72
|
}
|
|
73
73
|
get() {
|
|
74
74
|
return this.part;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
const
|
|
78
|
-
const t = new
|
|
79
|
-
return
|
|
77
|
+
const vt = (i) => {
|
|
78
|
+
const t = new de({});
|
|
79
|
+
return i(t), t.get();
|
|
80
80
|
};
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
vt((i) => {
|
|
82
|
+
i.createCommand(
|
|
83
83
|
"types.register",
|
|
84
|
-
{ scope:
|
|
84
|
+
{ scope: X.Implementation, stage: S.Pre },
|
|
85
85
|
(t) => (e, s) => {
|
|
86
86
|
t.container.get("$types")[e] = s;
|
|
87
87
|
}
|
|
@@ -104,10 +104,10 @@ $t((r) => {
|
|
|
104
104
|
).createCommand(
|
|
105
105
|
"plugin",
|
|
106
106
|
{ stage: S.Pre },
|
|
107
|
-
(t) => (e, s,
|
|
108
|
-
const { container:
|
|
107
|
+
(t) => (e, s, n) => {
|
|
108
|
+
const { container: r } = t;
|
|
109
109
|
let o = null, a = e, c = s;
|
|
110
|
-
typeof e == "string" && (o = e, a = s, c =
|
|
110
|
+
typeof e == "string" && (o = e, a = s, c = n);
|
|
111
111
|
const l = (h) => {
|
|
112
112
|
const { transformPluginSettings: p } = t.container.get("$environmentOptions"), d = p ? p(
|
|
113
113
|
c || {},
|
|
@@ -116,15 +116,15 @@ $t((r) => {
|
|
|
116
116
|
a
|
|
117
117
|
) : s;
|
|
118
118
|
try {
|
|
119
|
-
const u =
|
|
119
|
+
const u = pe(
|
|
120
120
|
o,
|
|
121
121
|
a,
|
|
122
|
-
|
|
122
|
+
r,
|
|
123
123
|
d
|
|
124
124
|
);
|
|
125
|
-
|
|
125
|
+
r.get("$plugins").push(u), h && u.invoke("initialize", null);
|
|
126
126
|
} catch (u) {
|
|
127
|
-
|
|
127
|
+
le(t).warn("Error when initializing plugin", u);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
t.container.get("$instance") ? l(!0) : t.events.subscribeOnce("widget:instance-created", () => l(!1));
|
|
@@ -157,44 +157,44 @@ $t((r) => {
|
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
159
|
});
|
|
160
|
-
const
|
|
160
|
+
const et = (i, t, ...e) => typeof t == "string" ? i(`[humany] ${t}`, ...e) : i(t, ...e), V = class j {
|
|
161
161
|
constructor() {
|
|
162
|
-
this.keys = [], this.log = (t, ...e) => this.lookup(t, () =>
|
|
162
|
+
this.keys = [], this.log = (t, ...e) => this.lookup(t, () => j.log(...e)), this.warn = (t, ...e) => this.lookup(t, () => j.warn(...e)), this.error = (t, ...e) => this.lookup(t, () => j.error(...e)), this.info = (t, ...e) => this.lookup(t, () => j.info(...e));
|
|
163
163
|
}
|
|
164
164
|
lookup(t, e) {
|
|
165
165
|
this.keys.indexOf(t) === -1 && (this.keys.push(t), e());
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
const
|
|
168
|
+
V.log = (...i) => et(console.log, ...i);
|
|
169
|
+
V.warn = (...i) => et(console.warn, ...i);
|
|
170
|
+
V.error = (...i) => et(console.error, ...i);
|
|
171
|
+
V.info = (...i) => et(console.info, ...i);
|
|
172
|
+
let A = V;
|
|
173
|
+
const Qt = (i) => {
|
|
174
174
|
let t = {}, e, s;
|
|
175
|
-
if (typeof
|
|
176
|
-
return
|
|
177
|
-
t = Array.isArray(
|
|
178
|
-
for (s in
|
|
179
|
-
e =
|
|
175
|
+
if (typeof i != "object" || i === null)
|
|
176
|
+
return i;
|
|
177
|
+
t = Array.isArray(i) ? [] : {};
|
|
178
|
+
for (s in i)
|
|
179
|
+
e = i[s], t[s] = typeof e == "object" && e !== null ? Qt(e) : e;
|
|
180
180
|
return t;
|
|
181
181
|
};
|
|
182
|
-
function
|
|
182
|
+
function Rt(i) {
|
|
183
183
|
let t = 0;
|
|
184
|
-
if (
|
|
184
|
+
if (i.length === 0)
|
|
185
185
|
return t.toString();
|
|
186
|
-
for (let e = 0; e <
|
|
187
|
-
const s =
|
|
186
|
+
for (let e = 0; e < i.length; e++) {
|
|
187
|
+
const s = i.charCodeAt(e);
|
|
188
188
|
t = (t << 5) - t + s, t = t & t;
|
|
189
189
|
}
|
|
190
190
|
return t.toString();
|
|
191
191
|
}
|
|
192
|
-
let
|
|
192
|
+
let ue = class {
|
|
193
193
|
constructor(t, e) {
|
|
194
194
|
this.lockWarningTime = t, this.lockErrorTime = e, this.tasks = [], this.current = Promise.resolve(), this.next = this.next.bind(this);
|
|
195
195
|
}
|
|
196
|
-
add(t, e, s,
|
|
197
|
-
this.tasks.push({ task: t, resolve: e, reject: s, done:
|
|
196
|
+
add(t, e, s, n) {
|
|
197
|
+
this.tasks.push({ task: t, resolve: e, reject: s, done: n }), this.next();
|
|
198
198
|
}
|
|
199
199
|
next() {
|
|
200
200
|
this.current = this.current.then(() => {
|
|
@@ -202,41 +202,41 @@ let de = class {
|
|
|
202
202
|
if (t) {
|
|
203
203
|
let e;
|
|
204
204
|
const s = setTimeout(() => {
|
|
205
|
-
process.env.NODE_ENV !== "production" &&
|
|
205
|
+
process.env.NODE_ENV !== "production" && A.warn(
|
|
206
206
|
`A lock has exceeded ${this.lockWarningTime} ms. Waiting additional ${this.lockErrorTime} ms before rejecting the task.`,
|
|
207
207
|
t
|
|
208
208
|
), e = setTimeout(() => {
|
|
209
209
|
t.reject("lock timeout exceeded");
|
|
210
210
|
}, this.lockErrorTime);
|
|
211
|
-
}, this.lockWarningTime),
|
|
212
|
-
return Promise.resolve(
|
|
213
|
-
() =>
|
|
214
|
-
t.done(), t.resolve(
|
|
211
|
+
}, this.lockWarningTime), n = Promise.resolve(t.task()).then((r) => (clearTimeout(s), clearTimeout(e), r));
|
|
212
|
+
return Promise.resolve(n).then(this.next).then(
|
|
213
|
+
() => n.then((r) => {
|
|
214
|
+
t.done(), t.resolve(r);
|
|
215
215
|
})
|
|
216
|
-
).catch((
|
|
216
|
+
).catch((r) => (t.done(), t.reject(r), this.next()));
|
|
217
217
|
}
|
|
218
218
|
return Promise.resolve();
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
|
-
const
|
|
223
|
-
function
|
|
224
|
-
return
|
|
225
|
-
const o =
|
|
226
|
-
o.add(s,
|
|
227
|
-
o.tasks.length ||
|
|
222
|
+
const K = /* @__PURE__ */ new WeakMap();
|
|
223
|
+
function st(i, t = 5e3, e = 1e3) {
|
|
224
|
+
return K.has(i) || K.set(i, new ue(t, e)), (s) => new Promise((n, r) => {
|
|
225
|
+
const o = K.get(i);
|
|
226
|
+
o.add(s, n, r, () => {
|
|
227
|
+
o.tasks.length || K.delete(i);
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
}
|
|
231
|
-
const
|
|
232
|
-
function
|
|
233
|
-
return
|
|
231
|
+
const w = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1);
|
|
232
|
+
function bt() {
|
|
233
|
+
return w() + w() + "-" + w() + "-" + w() + "-" + w() + "-" + w() + w() + w();
|
|
234
234
|
}
|
|
235
|
-
const
|
|
235
|
+
const me = (i) => {
|
|
236
236
|
const t = [];
|
|
237
237
|
return [
|
|
238
238
|
(e, s) => {
|
|
239
|
-
t.push(
|
|
239
|
+
t.push(i.subscribe(e, s));
|
|
240
240
|
},
|
|
241
241
|
() => {
|
|
242
242
|
t.forEach((e) => {
|
|
@@ -245,7 +245,7 @@ const ue = (r) => {
|
|
|
245
245
|
}
|
|
246
246
|
];
|
|
247
247
|
};
|
|
248
|
-
let
|
|
248
|
+
let wt = class {
|
|
249
249
|
constructor(t, e = []) {
|
|
250
250
|
this.platform = t, this.rules = e;
|
|
251
251
|
}
|
|
@@ -259,19 +259,19 @@ let bt = class {
|
|
|
259
259
|
return this.rules.push({ id: t }), this;
|
|
260
260
|
}
|
|
261
261
|
select() {
|
|
262
|
-
return new
|
|
262
|
+
return new ge(this.platform, this);
|
|
263
263
|
}
|
|
264
|
-
},
|
|
264
|
+
}, te = class {
|
|
265
265
|
constructor(t, e, s) {
|
|
266
|
-
this.platform = t, this.node = e, this.actions = new
|
|
266
|
+
this.platform = t, this.node = e, this.actions = new _t(
|
|
267
267
|
t,
|
|
268
|
-
new
|
|
268
|
+
new wt(t).withId(e.id),
|
|
269
269
|
s
|
|
270
270
|
);
|
|
271
|
-
const [
|
|
271
|
+
const [n, r] = me(
|
|
272
272
|
this.platform.events
|
|
273
273
|
);
|
|
274
|
-
this.subscribe =
|
|
274
|
+
this.subscribe = n, this.unsubscribe = r;
|
|
275
275
|
}
|
|
276
276
|
properties(t) {
|
|
277
277
|
return t && this.node.touchProperties((e) => t(e)), this.node.attributes.properties;
|
|
@@ -298,10 +298,9 @@ let bt = class {
|
|
|
298
298
|
dispose() {
|
|
299
299
|
this.unsubscribe(), this.actions.dispose();
|
|
300
300
|
}
|
|
301
|
-
}
|
|
302
|
-
class me {
|
|
301
|
+
}, ge = class {
|
|
303
302
|
constructor(t, e, s = !0) {
|
|
304
|
-
this.platform = t, this.target = e, this.clearOnDispose = s, this.removes = [], this.actions = new
|
|
303
|
+
this.platform = t, this.target = e, this.clearOnDispose = s, this.removes = [], this.actions = new _t(this.platform, this.target);
|
|
305
304
|
}
|
|
306
305
|
writeProperties(t, e) {
|
|
307
306
|
this.removes.push(
|
|
@@ -338,28 +337,28 @@ class me {
|
|
|
338
337
|
t();
|
|
339
338
|
}), this.actions.dispose();
|
|
340
339
|
}
|
|
341
|
-
}
|
|
342
|
-
const
|
|
343
|
-
const s =
|
|
340
|
+
};
|
|
341
|
+
const fe = (i, t, e) => {
|
|
342
|
+
const s = i.concat(), n = (r, o, a) => {
|
|
344
343
|
let c = !0;
|
|
345
344
|
if (s.length) {
|
|
346
|
-
const l = s.shift(), h = (p, d) => (c = !1,
|
|
345
|
+
const l = s.shift(), h = (p, d) => (c = !1, n(
|
|
347
346
|
p,
|
|
348
347
|
Object.assign({}, o, d),
|
|
349
348
|
a
|
|
350
349
|
));
|
|
351
|
-
return Promise.resolve(l(
|
|
350
|
+
return Promise.resolve(l(r, h, a)).then(
|
|
352
351
|
(p) => ({
|
|
353
352
|
...p,
|
|
354
353
|
cancelled: c
|
|
355
354
|
})
|
|
356
355
|
);
|
|
357
356
|
}
|
|
358
|
-
return Promise.resolve({ data:
|
|
357
|
+
return Promise.resolve({ data: r, cancelled: !1, options: o });
|
|
359
358
|
};
|
|
360
|
-
return
|
|
359
|
+
return n(t, {}, e);
|
|
361
360
|
};
|
|
362
|
-
let
|
|
361
|
+
let _t = class {
|
|
363
362
|
constructor(t, e, s) {
|
|
364
363
|
this.platform = t, this.target = e, this.ns = s, this.subscriptions = [], this.create = this.create.bind(this);
|
|
365
364
|
}
|
|
@@ -372,20 +371,20 @@ let wt = class {
|
|
|
372
371
|
ns: this.ns
|
|
373
372
|
};
|
|
374
373
|
this.platform.actionsState.handlers.push(s);
|
|
375
|
-
const
|
|
376
|
-
const
|
|
377
|
-
|
|
374
|
+
const n = () => {
|
|
375
|
+
const r = this.platform.actionsState.handlers.indexOf(s);
|
|
376
|
+
r > -1 && this.platform.actionsState.handlers.splice(r, 1);
|
|
378
377
|
};
|
|
379
|
-
return this.subscriptions.push(
|
|
378
|
+
return this.subscriptions.push(n), n;
|
|
380
379
|
}
|
|
381
380
|
dispatch(t, e) {
|
|
382
381
|
const s = this.platform.nodes.all.concat(
|
|
383
382
|
this.platform.nodes.detached
|
|
384
|
-
),
|
|
383
|
+
), n = {}, r = this.platform.actionsState.handlers.filter(
|
|
385
384
|
(o) => o.key === t && (!o.ns || !this.ns || o.ns === this.ns)
|
|
386
385
|
);
|
|
387
386
|
return Promise.all(
|
|
388
|
-
|
|
387
|
+
r.map((o) => {
|
|
389
388
|
const a = s.filter(
|
|
390
389
|
(l) => o.target.match(l) && this.target.match(l)
|
|
391
390
|
), c = this.platform.actionsState.watchers.filter((l) => l.key === t && (!l.ns || !this.ns || l.ns === this.ns) && a.some(
|
|
@@ -393,35 +392,35 @@ let wt = class {
|
|
|
393
392
|
)).map((l) => l.fn);
|
|
394
393
|
return Promise.all(
|
|
395
394
|
a.map((l) => {
|
|
396
|
-
const h = new
|
|
395
|
+
const h = new te(
|
|
397
396
|
this.platform,
|
|
398
397
|
l,
|
|
399
398
|
this.ns
|
|
400
399
|
);
|
|
401
|
-
return
|
|
400
|
+
return fe(c, e, h).then(
|
|
402
401
|
(p) => {
|
|
403
402
|
const { data: d = {}, options: u, cancelled: g } = p;
|
|
404
403
|
return Promise.resolve(
|
|
405
404
|
g ? {} : o.fn(d, u, h)
|
|
406
|
-
).then((
|
|
407
|
-
|
|
405
|
+
).then((I) => {
|
|
406
|
+
n[l.id] = I;
|
|
408
407
|
});
|
|
409
408
|
}
|
|
410
409
|
);
|
|
411
410
|
})
|
|
412
411
|
);
|
|
413
412
|
})
|
|
414
|
-
).then(() =>
|
|
413
|
+
).then(() => n);
|
|
415
414
|
}
|
|
416
415
|
watch(t, e) {
|
|
417
|
-
let s = t,
|
|
418
|
-
const
|
|
419
|
-
|
|
416
|
+
let s = t, n = this.ns;
|
|
417
|
+
const r = t.split(".");
|
|
418
|
+
r.length > 1 && (n = r[0], s = r.splice(1).join("."));
|
|
420
419
|
const o = {
|
|
421
420
|
fn: e,
|
|
422
421
|
target: this.target,
|
|
423
422
|
key: s,
|
|
424
|
-
ns:
|
|
423
|
+
ns: n
|
|
425
424
|
};
|
|
426
425
|
this.platform.actionsState.watchers.push(o);
|
|
427
426
|
const a = () => {
|
|
@@ -434,21 +433,21 @@ let wt = class {
|
|
|
434
433
|
this.subscriptions.forEach((t) => t());
|
|
435
434
|
}
|
|
436
435
|
};
|
|
437
|
-
|
|
438
|
-
|
|
436
|
+
vt((i) => {
|
|
437
|
+
i.createCommand("components", (t) => (e) => {
|
|
439
438
|
t.events.subscribeOnce(
|
|
440
439
|
"components:platform-created",
|
|
441
|
-
(s, { platform:
|
|
442
|
-
e.handlers && e.handlers.forEach(([
|
|
443
|
-
|
|
440
|
+
(s, { platform: n }) => {
|
|
441
|
+
e.handlers && e.handlers.forEach(([r, o]) => {
|
|
442
|
+
n.addComponentHandler(r, o);
|
|
444
443
|
});
|
|
445
444
|
}
|
|
446
445
|
);
|
|
447
446
|
});
|
|
448
447
|
});
|
|
449
|
-
let
|
|
448
|
+
let Lt = class {
|
|
450
449
|
constructor(t, e) {
|
|
451
|
-
this.events = t, this.tags = [], this.children = {}, this.changesets = [], this.mountCount = 0, this.id =
|
|
450
|
+
this.events = t, this.tags = [], this.children = {}, this.changesets = [], this.mountCount = 0, this.id = bt(), this.type = e, this.attributes = {
|
|
452
451
|
context: {},
|
|
453
452
|
properties: {},
|
|
454
453
|
layout: {},
|
|
@@ -457,7 +456,7 @@ let Rt = class {
|
|
|
457
456
|
}
|
|
458
457
|
mount(t, e) {
|
|
459
458
|
let s = t.get("mounted-nodes");
|
|
460
|
-
return s || (s = /* @__PURE__ */ new Map(), t.register("mounted-nodes", s)), s.has(this) ? (process.env.NODE_ENV !== "production" &&
|
|
459
|
+
return s || (s = /* @__PURE__ */ new Map(), t.register("mounted-nodes", s)), s.has(this) ? (process.env.NODE_ENV !== "production" && A.error(
|
|
461
460
|
"Trying to mount an already mounted component node.",
|
|
462
461
|
this
|
|
463
462
|
), () => {
|
|
@@ -482,46 +481,46 @@ let Rt = class {
|
|
|
482
481
|
t.parent = this, this.children[e] || (this.children[e] = []), this.children[e].unshift(t), this.events.dispatch("components:node-appended", { node: t });
|
|
483
482
|
}
|
|
484
483
|
touchProperties(t, e = {}, s) {
|
|
485
|
-
const
|
|
486
|
-
return this.changesets.push(
|
|
484
|
+
const n = [{ properties: t }, e];
|
|
485
|
+
return this.changesets.push(n), this.events.dispatch("components:set-properties", { node: this }), () => {
|
|
487
486
|
if (s) {
|
|
488
|
-
const
|
|
489
|
-
|
|
487
|
+
const r = this.changesets.indexOf(n);
|
|
488
|
+
r > -1 && (this.changesets.splice(r, 1), this.events.dispatch("components:set-properties", { node: this }));
|
|
490
489
|
}
|
|
491
490
|
};
|
|
492
491
|
}
|
|
493
492
|
writeProperties(t, e = {}, s) {
|
|
494
|
-
const
|
|
495
|
-
return this.changesets.push(
|
|
493
|
+
const n = [{ properties: t }, e];
|
|
494
|
+
return this.changesets.push(n), this.events.dispatch("components:set-properties", { node: this }), () => {
|
|
496
495
|
if (s) {
|
|
497
|
-
const
|
|
498
|
-
|
|
496
|
+
const r = this.changesets.indexOf(n);
|
|
497
|
+
r > -1 && (this.changesets.splice(r, 1), this.events.dispatch("components:set-properties", { node: this }));
|
|
499
498
|
}
|
|
500
499
|
};
|
|
501
500
|
}
|
|
502
501
|
writeLayout(t, e = {}, s) {
|
|
503
|
-
const
|
|
504
|
-
return this.changesets.push(
|
|
502
|
+
const n = [{ layout: t }, e];
|
|
503
|
+
return this.changesets.push(n), this.events.dispatch("components:set-layout", { node: this }), () => {
|
|
505
504
|
if (!s)
|
|
506
505
|
return;
|
|
507
|
-
const
|
|
508
|
-
|
|
506
|
+
const r = this.changesets.indexOf(n);
|
|
507
|
+
r > -1 && (this.changesets.splice(r, 1), this.events.dispatch("components:set-layout", { node: this }));
|
|
509
508
|
};
|
|
510
509
|
}
|
|
511
510
|
writeContext(t, e = {}, s) {
|
|
512
|
-
const
|
|
513
|
-
return this.changesets.push(
|
|
511
|
+
const n = [{ context: t }, e];
|
|
512
|
+
return this.changesets.push(n), this.events.dispatch("components:set-context", { node: this }), () => {
|
|
514
513
|
if (!s)
|
|
515
514
|
return;
|
|
516
|
-
const
|
|
517
|
-
|
|
515
|
+
const r = this.changesets.indexOf(n);
|
|
516
|
+
r > -1 && (this.changesets.splice(r, 1), this.events.dispatch("components:set-context", { node: this }));
|
|
518
517
|
};
|
|
519
518
|
}
|
|
520
519
|
getChildren(t = "default") {
|
|
521
520
|
const e = this.children[t] || [];
|
|
522
|
-
return e.reduce((s,
|
|
523
|
-
const { order: o =
|
|
524
|
-
return s[o] ? s.splice(o, 0,
|
|
521
|
+
return e.reduce((s, n, r) => {
|
|
522
|
+
const { order: o = r } = n.attributes.layout;
|
|
523
|
+
return s[o] ? s.splice(o, 0, n) : s[o] = n, s;
|
|
525
524
|
}, Array(e.length));
|
|
526
525
|
}
|
|
527
526
|
remove() {
|
|
@@ -529,67 +528,67 @@ let Rt = class {
|
|
|
529
528
|
}
|
|
530
529
|
removeChild(t) {
|
|
531
530
|
Object.keys(this.children).forEach((e) => {
|
|
532
|
-
const s = this.children[e],
|
|
533
|
-
|
|
531
|
+
const s = this.children[e], n = s.indexOf(t);
|
|
532
|
+
n > -1 && (s.splice(n, 1), this.events.dispatch("components:node-removed", {
|
|
534
533
|
node: t,
|
|
535
534
|
parentNode: this
|
|
536
535
|
}));
|
|
537
536
|
}), delete t.parent;
|
|
538
537
|
}
|
|
539
538
|
};
|
|
540
|
-
const
|
|
541
|
-
for (let s = 0,
|
|
542
|
-
const
|
|
543
|
-
|
|
539
|
+
const ee = (i, t, e) => {
|
|
540
|
+
for (let s = 0, n = i.length; s < n && e(i[s]) !== !0; s++) {
|
|
541
|
+
const r = t[i[s].id] || "default", o = i[s].getChildren(r);
|
|
542
|
+
ee(o, t, e);
|
|
544
543
|
}
|
|
545
|
-
},
|
|
546
|
-
if (e(
|
|
547
|
-
const s = t[
|
|
548
|
-
|
|
544
|
+
}, At = (i, t, e) => {
|
|
545
|
+
if (e(i) !== !0) {
|
|
546
|
+
const s = t[i.id] || "default", n = i.children[s];
|
|
547
|
+
ee(n, t, e);
|
|
549
548
|
}
|
|
550
|
-
},
|
|
549
|
+
}, ct = (i, t) => {
|
|
551
550
|
const e = [];
|
|
552
|
-
return
|
|
551
|
+
return At(i, t, (s) => {
|
|
553
552
|
e.push(s);
|
|
554
553
|
}), e;
|
|
555
|
-
},
|
|
554
|
+
}, ye = (i, t, e) => {
|
|
556
555
|
let s;
|
|
557
|
-
return
|
|
558
|
-
if (e(
|
|
559
|
-
return s =
|
|
556
|
+
return At(i, t, (n) => {
|
|
557
|
+
if (e(n))
|
|
558
|
+
return s = n, !0;
|
|
560
559
|
}), s;
|
|
561
560
|
};
|
|
562
|
-
|
|
561
|
+
class $e {
|
|
563
562
|
constructor(t, e, s) {
|
|
564
563
|
this.root = t, this.switches = e, this.all = [], this.visible = [], this.detached = [], s.subscribe(
|
|
565
564
|
"components:node-appended",
|
|
566
|
-
(
|
|
567
|
-
this.all.push(
|
|
565
|
+
(n, r) => {
|
|
566
|
+
this.all.push(r.node), this.visible = ct(t, e);
|
|
568
567
|
}
|
|
569
568
|
), s.subscribe(
|
|
570
569
|
"components:node-removed",
|
|
571
|
-
(
|
|
572
|
-
let o = this.all.indexOf(
|
|
573
|
-
o > -1 && this.all.splice(o, 1), o = this.visible.indexOf(
|
|
570
|
+
(n, r) => {
|
|
571
|
+
let o = this.all.indexOf(r.node);
|
|
572
|
+
o > -1 && this.all.splice(o, 1), o = this.visible.indexOf(r.node), o > -1 && this.visible.splice(o, 1), this.visible = ct(t, e);
|
|
574
573
|
}
|
|
575
574
|
), s.subscribe(
|
|
576
575
|
"components:node-switched",
|
|
577
|
-
(
|
|
578
|
-
this.visible =
|
|
576
|
+
(n, r) => {
|
|
577
|
+
this.visible = ct(t, e);
|
|
579
578
|
}
|
|
580
579
|
);
|
|
581
580
|
}
|
|
582
581
|
query(t = {}) {
|
|
583
582
|
const e = [];
|
|
584
|
-
return
|
|
585
|
-
Object.keys(t).every((
|
|
583
|
+
return At(this.root, this.switches, (s) => {
|
|
584
|
+
Object.keys(t).every((n) => t[n] === s[n]) && e.push(s);
|
|
586
585
|
}), e;
|
|
587
586
|
}
|
|
588
587
|
get(t) {
|
|
589
|
-
return
|
|
588
|
+
return ye(this.root, this.switches, (e) => e.id === t) || this.detached.find((e) => e.id === t);
|
|
590
589
|
}
|
|
591
|
-
}
|
|
592
|
-
class
|
|
590
|
+
}
|
|
591
|
+
let ve = class {
|
|
593
592
|
constructor() {
|
|
594
593
|
this.handlers = /* @__PURE__ */ new Map();
|
|
595
594
|
}
|
|
@@ -599,62 +598,62 @@ class $e {
|
|
|
599
598
|
get(t) {
|
|
600
599
|
return this.handlers.get(t);
|
|
601
600
|
}
|
|
602
|
-
}
|
|
603
|
-
const
|
|
604
|
-
let t =
|
|
601
|
+
};
|
|
602
|
+
const be = (i) => {
|
|
603
|
+
let t = i, e = 0;
|
|
605
604
|
for (; t.parent; )
|
|
606
605
|
e = e + 1, t = t.parent;
|
|
607
606
|
return e;
|
|
608
|
-
},
|
|
609
|
-
([t, e]) => [
|
|
610
|
-
).sort(([t], [e]) => t - e).map(([, t, e]) => [t, e]),
|
|
607
|
+
}, we = (i) => i.map(
|
|
608
|
+
([t, e]) => [be(t), t, e]
|
|
609
|
+
).sort(([t], [e]) => t - e).map(([, t, e]) => [t, e]), ht = (i) => i instanceof Date ? !1 : i && typeof i == "object" && !Array.isArray(i), v = (i, ...t) => {
|
|
611
610
|
if (!t.length)
|
|
612
|
-
return
|
|
611
|
+
return i;
|
|
613
612
|
const e = t.shift();
|
|
614
|
-
if (
|
|
613
|
+
if (ht(i) && ht(e))
|
|
615
614
|
for (const s in e)
|
|
616
|
-
|
|
617
|
-
return
|
|
618
|
-
},
|
|
619
|
-
let e = [], s = [],
|
|
620
|
-
const
|
|
615
|
+
ht(e[s]) ? (i[s] || Object.assign(i, { [s]: {} }), v(i[s], e[s])) : Object.assign(i, { [s]: e[s] });
|
|
616
|
+
return v(i, ...t);
|
|
617
|
+
}, _e = (i, t) => !i || i === "all" ? !0 : i.some((e) => t.indexOf(e) > -1), Ae = (i, t) => {
|
|
618
|
+
let e = [], s = [], n;
|
|
619
|
+
const r = () => {
|
|
621
620
|
process.env.NODE_ENV !== "production" && console.time("state-processor.flush");
|
|
622
|
-
const a = /* @__PURE__ */ new Map(), c =
|
|
621
|
+
const a = /* @__PURE__ */ new Map(), c = we(
|
|
623
622
|
e.map((h, p) => [h, s[p]])
|
|
624
623
|
), l = (h, p) => {
|
|
625
624
|
var d;
|
|
626
|
-
const u = a.get(h) || {}, g = p.context && !u.context,
|
|
625
|
+
const u = a.get(h) || {}, g = p.context && !u.context, I = p.properties && !u.properties, rt = p.layout && !u.layout;
|
|
627
626
|
a.set(h, {
|
|
628
627
|
context: u.context || g,
|
|
629
|
-
properties: u.properties ||
|
|
630
|
-
layout: u.layout ||
|
|
631
|
-
}),
|
|
628
|
+
properties: u.properties || I,
|
|
629
|
+
layout: u.layout || rt
|
|
630
|
+
}), I && (h.attributes.properties = {}), rt && (h.attributes.layout = {}), g && (h.attributes.context = v(
|
|
632
631
|
{},
|
|
633
632
|
(d = h.parent) == null ? void 0 : d.attributes.context
|
|
634
633
|
));
|
|
635
|
-
const
|
|
636
|
-
if (h.changesets.forEach((
|
|
637
|
-
const [
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
) :
|
|
641
|
-
|
|
642
|
-
) :
|
|
643
|
-
}),
|
|
644
|
-
|
|
634
|
+
const It = [], Dt = [], jt = [];
|
|
635
|
+
if (h.changesets.forEach(($) => {
|
|
636
|
+
const [y, ot] = $;
|
|
637
|
+
_e(ot.breakpoints, i.breakpoints) && (I && (typeof y.properties == "function" ? It.push(
|
|
638
|
+
y.properties
|
|
639
|
+
) : v(h.attributes.properties, y.properties)), rt && (typeof y.layout == "function" ? Dt.push(y.layout) : v(h.attributes.layout, y.layout)), g && (typeof y.context == "function" ? jt.push(
|
|
640
|
+
y.context
|
|
641
|
+
) : v(h.attributes.context, y.context)));
|
|
642
|
+
}), It.forEach(($) => {
|
|
643
|
+
v(
|
|
645
644
|
h.attributes.properties,
|
|
646
|
-
|
|
645
|
+
$(h.attributes.properties)
|
|
647
646
|
);
|
|
648
|
-
}), Dt.forEach((
|
|
649
|
-
|
|
650
|
-
}), jt.forEach((
|
|
651
|
-
|
|
647
|
+
}), Dt.forEach(($) => {
|
|
648
|
+
v(h.attributes.layout, $(h.attributes.layout));
|
|
649
|
+
}), jt.forEach(($) => {
|
|
650
|
+
v(h.attributes.context, $(h.attributes.context));
|
|
652
651
|
}), g || p.recursive) {
|
|
653
|
-
const
|
|
652
|
+
const $ = i.getBranch(h), y = p.recursive ? p : {
|
|
654
653
|
context: !!g
|
|
655
654
|
};
|
|
656
|
-
h.getChildren(
|
|
657
|
-
l(
|
|
655
|
+
h.getChildren($).forEach((ot) => {
|
|
656
|
+
l(ot, y);
|
|
658
657
|
});
|
|
659
658
|
}
|
|
660
659
|
};
|
|
@@ -662,7 +661,7 @@ const ve = (r) => {
|
|
|
662
661
|
l(h, p);
|
|
663
662
|
}), e = [], s = [], t(a);
|
|
664
663
|
}, o = () => {
|
|
665
|
-
clearTimeout(
|
|
664
|
+
clearTimeout(n), n = setTimeout(r, 0);
|
|
666
665
|
};
|
|
667
666
|
return (a, c) => {
|
|
668
667
|
const l = e.indexOf(a);
|
|
@@ -673,21 +672,21 @@ const ve = (r) => {
|
|
|
673
672
|
return e.push(a), s.push(c), o();
|
|
674
673
|
};
|
|
675
674
|
};
|
|
676
|
-
class
|
|
675
|
+
class xe {
|
|
677
676
|
constructor(t, e = {}) {
|
|
678
|
-
this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new
|
|
679
|
-
const s = new
|
|
680
|
-
s.name = `root-${t.name}`, this.nodes = new
|
|
681
|
-
const
|
|
677
|
+
this.providers = e, this.breakpoints = [], this.actionsState = { handlers: [], watchers: [] }, this.switches = {}, this.changesets = [], this.subscriptions = [], this.customComponentHandler = new ve(), this.events = t.events.createChild(this);
|
|
678
|
+
const s = new Lt(this.events, "root");
|
|
679
|
+
s.name = `root-${t.name}`, this.nodes = new $e(s, this.switches, this.events);
|
|
680
|
+
const n = this.processNode = Ae(
|
|
682
681
|
this,
|
|
683
|
-
(
|
|
684
|
-
const o = Array.from(
|
|
682
|
+
(r) => {
|
|
683
|
+
const o = Array.from(r.keys());
|
|
685
684
|
process.env.NODE_ENV !== "production" && console.info(`STATE PROCESSOR: ${o.length} node(s) processed:
|
|
686
685
|
${o.map(
|
|
687
686
|
(a) => `${a.name || "<no name>"} (${a.id})
|
|
688
687
|
`
|
|
689
688
|
)}`), o.forEach((a) => {
|
|
690
|
-
const c =
|
|
689
|
+
const c = r.get(a);
|
|
691
690
|
a.parent && a.parent.type === "root" && this.events.dispatch("components:root-children-changed", { node: a }), c != null && c.context && this.events.dispatch("components:context-changed", { node: a }), c != null && c.properties && this.events.dispatch("components:properties-changed", { node: a }), c != null && c.layout && this.events.dispatch("components:layout-changed", { node: a });
|
|
692
691
|
}), this.events.dispatch(
|
|
693
692
|
"components:component-model-initialized",
|
|
@@ -697,11 +696,11 @@ class Ae {
|
|
|
697
696
|
}
|
|
698
697
|
);
|
|
699
698
|
Promise.all(
|
|
700
|
-
Object.keys(e).map((
|
|
699
|
+
Object.keys(e).map((r) => e[r].load(this))
|
|
701
700
|
), this.subscriptions.push(
|
|
702
701
|
this.events.subscribe(
|
|
703
702
|
"components:node-appended",
|
|
704
|
-
(
|
|
703
|
+
(r, o) => {
|
|
705
704
|
const { node: a } = o;
|
|
706
705
|
this.changesets.forEach((c) => {
|
|
707
706
|
const { changeset: l, target: h, removes: p } = c, [d, u] = l;
|
|
@@ -712,43 +711,43 @@ class Ae {
|
|
|
712
711
|
), this.subscriptions.push(
|
|
713
712
|
this.events.subscribe(
|
|
714
713
|
"components:node-appended",
|
|
715
|
-
(
|
|
716
|
-
|
|
714
|
+
(r, o) => {
|
|
715
|
+
n(o.node, { properties: !0, context: !0 });
|
|
717
716
|
}
|
|
718
717
|
)
|
|
719
718
|
), this.subscriptions.push(
|
|
720
719
|
this.events.subscribe(
|
|
721
720
|
"components:set-properties",
|
|
722
|
-
(
|
|
723
|
-
|
|
721
|
+
(r, o) => {
|
|
722
|
+
n(o.node, { properties: !0 });
|
|
724
723
|
}
|
|
725
724
|
)
|
|
726
725
|
), this.subscriptions.push(
|
|
727
726
|
this.events.subscribe(
|
|
728
727
|
"components:set-context",
|
|
729
|
-
(
|
|
730
|
-
|
|
728
|
+
(r, o) => {
|
|
729
|
+
n(o.node, { properties: !0, context: !0 });
|
|
731
730
|
}
|
|
732
731
|
)
|
|
733
732
|
), this.subscriptions.push(
|
|
734
733
|
this.events.subscribe(
|
|
735
734
|
"components:set-indent",
|
|
736
|
-
(
|
|
737
|
-
|
|
735
|
+
(r, o) => {
|
|
736
|
+
n(o.node, { layout: !0 });
|
|
738
737
|
}
|
|
739
738
|
)
|
|
740
739
|
), this.subscriptions.push(
|
|
741
740
|
this.events.subscribe(
|
|
742
741
|
"components:set-layout",
|
|
743
|
-
(
|
|
744
|
-
|
|
742
|
+
(r, o) => {
|
|
743
|
+
n(o.node, { layout: !0 });
|
|
745
744
|
}
|
|
746
745
|
)
|
|
747
746
|
), this.subscriptions.push(
|
|
748
747
|
this.events.subscribe(
|
|
749
748
|
"components:node-switched",
|
|
750
|
-
(
|
|
751
|
-
|
|
749
|
+
(r, { node: o, branch: a }) => {
|
|
750
|
+
n(o, {
|
|
752
751
|
layout: !0,
|
|
753
752
|
recursive: !0,
|
|
754
753
|
properties: !0,
|
|
@@ -759,8 +758,8 @@ class Ae {
|
|
|
759
758
|
), this.subscriptions.push(
|
|
760
759
|
this.events.subscribe(
|
|
761
760
|
"components:node-removed",
|
|
762
|
-
(
|
|
763
|
-
|
|
761
|
+
(r, { parentNode: o }) => {
|
|
762
|
+
n(o, { properties: !0 });
|
|
764
763
|
}
|
|
765
764
|
)
|
|
766
765
|
), this.events.parent && this.events.parent.dispatch("components:platform-created", {
|
|
@@ -798,26 +797,26 @@ class Ae {
|
|
|
798
797
|
* @param type Type of node.
|
|
799
798
|
*/
|
|
800
799
|
createNode(t, e = {}) {
|
|
801
|
-
const s = new
|
|
800
|
+
const s = new Lt(this.events, t);
|
|
802
801
|
return e.detached && this.nodes.detached.push(s), s;
|
|
803
802
|
}
|
|
804
803
|
components() {
|
|
805
|
-
return new
|
|
804
|
+
return new wt(this);
|
|
806
805
|
}
|
|
807
806
|
actions(t, e) {
|
|
808
|
-
return new
|
|
807
|
+
return new _t(this, t, e);
|
|
809
808
|
}
|
|
810
809
|
write(t) {
|
|
811
810
|
const {
|
|
812
811
|
provider: e,
|
|
813
812
|
target: s,
|
|
814
|
-
attributes:
|
|
815
|
-
options:
|
|
813
|
+
attributes: n,
|
|
814
|
+
options: r = {},
|
|
816
815
|
removable: o
|
|
817
|
-
} = t, a = t.key ||
|
|
816
|
+
} = t, a = t.key || bt(), c = { changeset: [n, r], target: s, removes: [] };
|
|
818
817
|
if (e) {
|
|
819
818
|
const l = this.providers[e];
|
|
820
|
-
l.write(a, s,
|
|
819
|
+
l.write(a, s, n, r), c.removes.push(() => {
|
|
821
820
|
l.remove(a);
|
|
822
821
|
});
|
|
823
822
|
}
|
|
@@ -825,11 +824,11 @@ class Ae {
|
|
|
825
824
|
if (s.match(l)) {
|
|
826
825
|
let h = () => {
|
|
827
826
|
};
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
827
|
+
n.properties && (h = l.writeProperties(
|
|
828
|
+
n.properties,
|
|
829
|
+
r,
|
|
831
830
|
o
|
|
832
|
-
)),
|
|
831
|
+
)), n.context && (h = l.writeContext(n.context, r, o)), n.layout && (h = l.writeContext(n.layout, r, o)), c.removes.push(h);
|
|
833
832
|
}
|
|
834
833
|
}), () => {
|
|
835
834
|
if (o) {
|
|
@@ -849,22 +848,22 @@ class Ae {
|
|
|
849
848
|
this.subscriptions.forEach((t) => t());
|
|
850
849
|
}
|
|
851
850
|
}
|
|
852
|
-
const
|
|
853
|
-
id:
|
|
854
|
-
type:
|
|
855
|
-
name:
|
|
851
|
+
const ws = (i, t) => ({
|
|
852
|
+
id: i.id,
|
|
853
|
+
type: i.type,
|
|
854
|
+
name: i.name,
|
|
856
855
|
branch: t || "default"
|
|
857
|
-
}),
|
|
856
|
+
}), Ee = (i, t, e, s = bt(), n = {}) => i.getAsync("components").then((r) => {
|
|
858
857
|
let o;
|
|
859
858
|
{
|
|
860
|
-
const l = new
|
|
859
|
+
const l = new wt(r);
|
|
861
860
|
l.ofType(t), o = l;
|
|
862
861
|
}
|
|
863
862
|
const a = {}, c = (l) => {
|
|
864
863
|
const h = a[l.id];
|
|
865
|
-
return h ? Promise.resolve(h.controller) :
|
|
864
|
+
return h ? Promise.resolve(h.controller) : xe.getInstance(i).then((p) => new te(p, l, s));
|
|
866
865
|
};
|
|
867
|
-
|
|
866
|
+
r.events.subscribe(
|
|
868
867
|
"components:node-enter",
|
|
869
868
|
(l, { node: h }) => {
|
|
870
869
|
o.match(h) && c(h).then((p) => {
|
|
@@ -876,201 +875,201 @@ const bs = (r, t) => ({
|
|
|
876
875
|
});
|
|
877
876
|
});
|
|
878
877
|
}
|
|
879
|
-
),
|
|
878
|
+
), r.events.subscribe(
|
|
880
879
|
"components:node-exit",
|
|
881
880
|
(l, { node: h }) => {
|
|
882
881
|
const p = a[h.id];
|
|
883
|
-
p && (p.dispose && p.dispose(),
|
|
882
|
+
p && (p.dispose && p.dispose(), n.reuseController || (p.controller.dispose(), delete a[h.id]));
|
|
884
883
|
}
|
|
885
884
|
);
|
|
886
885
|
});
|
|
887
|
-
var
|
|
888
|
-
const
|
|
886
|
+
var b = /* @__PURE__ */ ((i) => (i.Cookie = "cookie", i.Local = "local", i.Session = "session", i))(b || {}), xt = /* @__PURE__ */ ((i) => (i.Tenant = "tenant", i.Implementation = "implementation", i.Widget = "widget", i))(xt || {}), f = /* @__PURE__ */ ((i) => (i.Necessary = "necessary", i.Functional = "functional", i.Analytical = "analytical", i.Marketing = "marketing", i))(f || {});
|
|
887
|
+
const Se = (i, t, e, s = {}) => Bt(i, e).then((n) => (process.env.NODE_ENV !== "production" && n && A.warn(
|
|
889
888
|
`createStorageWriter: Attempted to create storage writer using unallowed category.
|
|
890
889
|
Key: ${t}
|
|
891
890
|
Category: ${JSON.stringify(e)}
|
|
892
891
|
Options: ${JSON.stringify(s)}`
|
|
893
|
-
), (
|
|
892
|
+
), (r) => (St(i), Bt(i, e).then((o) => {
|
|
894
893
|
if (o) {
|
|
895
|
-
process.env.NODE_ENV !== "production" &&
|
|
894
|
+
process.env.NODE_ENV !== "production" && A.warn(
|
|
896
895
|
`storageWriter: Attempted to write to storage using unallowed category.
|
|
897
896
|
Key: ${t}
|
|
898
897
|
Category: ${JSON.stringify(e)}
|
|
899
|
-
Value: ${JSON.stringify(
|
|
898
|
+
Value: ${JSON.stringify(r)}
|
|
900
899
|
Options: ${JSON.stringify(s)}`
|
|
901
900
|
);
|
|
902
901
|
return;
|
|
903
902
|
}
|
|
904
903
|
const {
|
|
905
|
-
scope: a =
|
|
906
|
-
medium: c =
|
|
904
|
+
scope: a = xt.Widget,
|
|
905
|
+
medium: c = b.Session,
|
|
907
906
|
duration: l
|
|
908
|
-
} = s, h =
|
|
909
|
-
return h[a][t] =
|
|
910
|
-
})))),
|
|
907
|
+
} = s, h = Pe();
|
|
908
|
+
return h[a][t] = ne(r, e, l), c === b.Cookie ? Me(i, h) : De(i, c, h);
|
|
909
|
+
})))), Ce = (i, t, e = b.Session) => (St(i), typeof t > "u" ? (process.env.NODE_ENV !== "production" && A.warn(
|
|
911
910
|
"readStorage: Undefined key passed when reading storage. ",
|
|
912
911
|
t,
|
|
913
912
|
e
|
|
914
|
-
), Promise.resolve(void 0)) : e ===
|
|
915
|
-
(s) =>
|
|
916
|
-
)), U = (
|
|
917
|
-
typeof e > "u" && delete
|
|
918
|
-
}),
|
|
913
|
+
), Promise.resolve(void 0)) : e === b.Cookie ? Ue(i).then((s) => $t(s, t)) : Ie(i, e).then(
|
|
914
|
+
(s) => $t(s, t)
|
|
915
|
+
)), U = (i) => !!Object.entries(i).filter(([t, e]) => typeof e < "u").length, lt = (i) => Object.entries(i).filter(([t, e]) => typeof e < "u").forEach(([t, { value: e }]) => {
|
|
916
|
+
typeof e > "u" && delete i[t];
|
|
917
|
+
}), se = (i, t) => {
|
|
919
918
|
const e = {
|
|
920
|
-
tenant: { ...
|
|
921
|
-
implementation: { ...
|
|
922
|
-
widget: { ...
|
|
919
|
+
tenant: { ...i.tenant, ...t.tenant },
|
|
920
|
+
implementation: { ...i.implementation, ...t.implementation },
|
|
921
|
+
widget: { ...i.widget, ...t.widget }
|
|
923
922
|
};
|
|
924
|
-
return
|
|
925
|
-
},
|
|
923
|
+
return lt(e.tenant), lt(e.implementation), lt(e.widget), e;
|
|
924
|
+
}, Oe = (i) => Object.entries(i).reduce(
|
|
926
925
|
(t, e) => {
|
|
927
|
-
const [s,
|
|
928
|
-
return Object.entries(
|
|
929
|
-
const [o, { expiration: a }] =
|
|
926
|
+
const [s, n] = e;
|
|
927
|
+
return Object.entries(n).forEach((r) => {
|
|
928
|
+
const [o, { expiration: a }] = r;
|
|
930
929
|
a && t.push(a);
|
|
931
930
|
}), t;
|
|
932
931
|
},
|
|
933
932
|
[]
|
|
934
|
-
).slice().sort((t, e) => new Date(e).valueOf() - new Date(t).valueOf()).shift() ||
|
|
933
|
+
).slice().sort((t, e) => new Date(e).valueOf() - new Date(t).valueOf()).shift() || Ct(), it = (i) => {
|
|
935
934
|
const {
|
|
936
935
|
name: t,
|
|
937
936
|
implementation: { name: e, tenant: s }
|
|
938
|
-
} =
|
|
937
|
+
} = i.get("$widget");
|
|
939
938
|
return [
|
|
940
939
|
`humany_${s}`,
|
|
941
|
-
`humany_${
|
|
942
|
-
`humany_${
|
|
940
|
+
`humany_${Rt(s + e)}`,
|
|
941
|
+
`humany_${Rt(s + e + t)}`
|
|
943
942
|
];
|
|
944
|
-
},
|
|
945
|
-
const t = new RegExp(`(?:^|;)\\s?${
|
|
943
|
+
}, pt = (i) => {
|
|
944
|
+
const t = new RegExp(`(?:^|;)\\s?${i}=(.*?)(?:;|$)`, "i"), e = document.cookie.match(t);
|
|
946
945
|
return e && e[1] && JSON.parse(e[1]) || void 0;
|
|
947
|
-
},
|
|
948
|
-
const s = `${
|
|
949
|
-
return document.cookie = `${s}; ${
|
|
950
|
-
},
|
|
951
|
-
const [t, e, s] =
|
|
946
|
+
}, dt = (i, t, e) => {
|
|
947
|
+
const s = `${i}=${JSON.stringify(t).trim()}`, n = `expires=${new Date(e).toUTCString()}`, r = "path=/", o = "SameSite=None;Secure";
|
|
948
|
+
return document.cookie = `${s}; ${n}; ${r}; ${o}`;
|
|
949
|
+
}, Et = (i) => {
|
|
950
|
+
const [t, e, s] = it(i), n = pt(t) || {}, r = pt(e) || {}, o = pt(s) || {};
|
|
952
951
|
return {
|
|
953
|
-
tenant:
|
|
954
|
-
implementation:
|
|
952
|
+
tenant: n,
|
|
953
|
+
implementation: r,
|
|
955
954
|
widget: o
|
|
956
955
|
};
|
|
957
|
-
},
|
|
958
|
-
const e =
|
|
959
|
-
|
|
960
|
-
|
|
956
|
+
}, ie = (i, t) => {
|
|
957
|
+
const e = Et(i), s = se(e, t), [n, r, o] = it(i), { tenant: a, implementation: c, widget: l } = s, h = Oe(t), p = Ct({ days: -1 });
|
|
958
|
+
dt(
|
|
959
|
+
n,
|
|
961
960
|
a,
|
|
962
961
|
U(a) ? h : p
|
|
963
|
-
),
|
|
964
|
-
|
|
962
|
+
), dt(
|
|
963
|
+
r,
|
|
965
964
|
c,
|
|
966
965
|
U(c) ? h : p
|
|
967
|
-
),
|
|
966
|
+
), dt(
|
|
968
967
|
o,
|
|
969
968
|
l,
|
|
970
969
|
U(l) ? h : p
|
|
971
970
|
);
|
|
972
|
-
},
|
|
973
|
-
const [e, s,
|
|
971
|
+
}, Y = (i, t) => {
|
|
972
|
+
const [e, s, n] = it(i), r = t.getItem(e) || "{}", o = t.getItem(s) || "{}", a = t.getItem(n) || "{}";
|
|
974
973
|
return {
|
|
975
|
-
tenant: JSON.parse(
|
|
974
|
+
tenant: JSON.parse(r),
|
|
976
975
|
implementation: JSON.parse(o),
|
|
977
976
|
widget: JSON.parse(a)
|
|
978
977
|
};
|
|
979
|
-
},
|
|
980
|
-
const s =
|
|
981
|
-
U(c) ? t.setItem(
|
|
978
|
+
}, yt = (i, t, e) => {
|
|
979
|
+
const s = Y(i, t), n = se(s, e), [r, o, a] = it(i), { tenant: c, implementation: l, widget: h } = n;
|
|
980
|
+
U(c) ? t.setItem(r, JSON.stringify(c)) : t.removeItem(r), U(l) ? t.setItem(
|
|
982
981
|
o,
|
|
983
982
|
JSON.stringify(l)
|
|
984
983
|
) : t.removeItem(o), U(h) ? t.setItem(a, JSON.stringify(h)) : t.removeItem(a);
|
|
985
|
-
const { events: p } =
|
|
984
|
+
const { events: p } = i.get("$widget");
|
|
986
985
|
p.dispatch("storage:changed", {});
|
|
987
|
-
},
|
|
986
|
+
}, Pe = () => ({
|
|
988
987
|
tenant: {},
|
|
989
988
|
implementation: {},
|
|
990
989
|
widget: {}
|
|
991
|
-
}),
|
|
992
|
-
const e =
|
|
990
|
+
}), ke = (i) => i ? !!i && /* @__PURE__ */ new Date() > new Date(i) : !1, $t = (i, t) => {
|
|
991
|
+
const e = i.widget[t] || i.implementation[t] || i.tenant[t];
|
|
993
992
|
return e == null ? void 0 : e.value;
|
|
994
|
-
},
|
|
995
|
-
value:
|
|
993
|
+
}, ne = (i, t, e) => e ? {
|
|
994
|
+
value: i,
|
|
996
995
|
category: t,
|
|
997
|
-
expiration: typeof e == "object" ?
|
|
996
|
+
expiration: typeof e == "object" ? Ct(e) : e
|
|
998
997
|
} : {
|
|
999
|
-
value:
|
|
998
|
+
value: i,
|
|
1000
999
|
category: t
|
|
1001
|
-
},
|
|
1002
|
-
const e =
|
|
1003
|
-
return Object.entries(e).forEach(([s,
|
|
1004
|
-
Object.entries(
|
|
1000
|
+
}, Ne = (i, t) => {
|
|
1001
|
+
const e = Qt(i);
|
|
1002
|
+
return Object.entries(e).forEach(([s, n]) => {
|
|
1003
|
+
Object.entries(n).forEach(([r, o]) => {
|
|
1005
1004
|
const { expiration: a, category: c } = o;
|
|
1006
|
-
(
|
|
1005
|
+
(ke(a) || Te(t, c)) && (n[r] = ne(void 0, c, a));
|
|
1007
1006
|
});
|
|
1008
1007
|
}), e;
|
|
1009
|
-
},
|
|
1010
|
-
|
|
1008
|
+
}, Bt = (i, t) => Ce(
|
|
1009
|
+
i,
|
|
1011
1010
|
"storagePolicy",
|
|
1012
|
-
|
|
1011
|
+
b.Cookie
|
|
1013
1012
|
).then(
|
|
1014
1013
|
(e = [f.Necessary]) => !!t && e.indexOf(t) === -1
|
|
1015
|
-
),
|
|
1016
|
-
const t =
|
|
1014
|
+
), Te = (i = [f.Necessary], t) => !!t && i.indexOf(t) === -1, St = (i) => {
|
|
1015
|
+
const t = Et(i), e = Y(i, window.localStorage), s = Y(i, sessionStorage), n = $t(t, "storagePolicy"), [r, o, a] = [
|
|
1017
1016
|
t,
|
|
1018
1017
|
e,
|
|
1019
1018
|
s
|
|
1020
|
-
].map((c) =>
|
|
1021
|
-
|
|
1022
|
-
},
|
|
1023
|
-
const { days: t = 0, hours: e = 0, minutes: s = 0, seconds:
|
|
1024
|
-
return
|
|
1025
|
-
},
|
|
1026
|
-
const e = t ===
|
|
1027
|
-
return
|
|
1028
|
-
}, De = (
|
|
1029
|
-
const s = t ===
|
|
1030
|
-
return
|
|
1019
|
+
].map((c) => Ne(c, n));
|
|
1020
|
+
ie(i, r), yt(i, window.localStorage, o), yt(i, window.sessionStorage, a);
|
|
1021
|
+
}, Ct = (i = { days: 30 }) => {
|
|
1022
|
+
const { days: t = 0, hours: e = 0, minutes: s = 0, seconds: n = 0 } = i, r = /* @__PURE__ */ new Date();
|
|
1023
|
+
return r.setTime(r.getTime() + e * 60 * 60 * 1e3), r.setTime(r.getTime() + t * 24 * 60 * 60 * 1e3), r.setTime(r.getTime() + s * 60 * 1e3), r.setTime(r.getTime() + n * 1e3), r.toISOString();
|
|
1024
|
+
}, Ue = (i) => st(document)(() => Et(i)), Me = (i, t) => st(document)(() => ie(i, t)), Ie = (i, t) => {
|
|
1025
|
+
const e = t === b.Local ? window.localStorage : window.sessionStorage;
|
|
1026
|
+
return st(e)(() => Y(i, e));
|
|
1027
|
+
}, De = (i, t, e) => {
|
|
1028
|
+
const s = t === b.Local ? window.localStorage : window.sessionStorage;
|
|
1029
|
+
return st(s)(() => yt(i, s, e));
|
|
1031
1030
|
};
|
|
1032
|
-
|
|
1033
|
-
|
|
1031
|
+
vt((i) => {
|
|
1032
|
+
i.createCommand(
|
|
1034
1033
|
"storage",
|
|
1035
1034
|
(t) => (e = {}) => {
|
|
1036
1035
|
const { consent: s } = e;
|
|
1037
1036
|
if (typeof s < "u") {
|
|
1038
1037
|
if (typeof s != "number" && typeof s != "string" && !Array.isArray(s)) {
|
|
1039
|
-
process.env.NODE_ENV !== "production" &&
|
|
1038
|
+
process.env.NODE_ENV !== "production" && A.warn(
|
|
1040
1039
|
`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
|
|
1041
1040
|
Passed consent: ${JSON.stringify(s)}`
|
|
1042
1041
|
);
|
|
1043
1042
|
return;
|
|
1044
1043
|
}
|
|
1045
1044
|
if (Array.isArray(s) && !s.every(
|
|
1046
|
-
(
|
|
1045
|
+
(r) => typeof r == "number" || typeof r == "string"
|
|
1047
1046
|
)) {
|
|
1048
|
-
process.env.NODE_ENV !== "production" &&
|
|
1047
|
+
process.env.NODE_ENV !== "production" && A.warn(
|
|
1049
1048
|
`storagePolicyConfigurationApi: passed consent is not valid. Consent either has to be a number, a string, an array of strings or an array of numbers.
|
|
1050
1049
|
Passed consent: ${JSON.stringify(s)}`
|
|
1051
1050
|
);
|
|
1052
1051
|
return;
|
|
1053
1052
|
}
|
|
1054
|
-
const
|
|
1053
|
+
const n = [
|
|
1055
1054
|
f.Necessary,
|
|
1056
1055
|
f.Functional,
|
|
1057
1056
|
f.Analytical,
|
|
1058
1057
|
f.Marketing
|
|
1059
|
-
].filter((
|
|
1060
|
-
return
|
|
1058
|
+
].filter((r, o, a) => typeof s == "number" ? s > o : typeof s == "string" ? a.indexOf(s) + 1 > o : Array.isArray(s) ? s.findIndex((c) => c === o + 1 || c === r) > -1 : !0);
|
|
1059
|
+
return n.indexOf(f.Necessary) === -1 && (process.env.NODE_ENV !== "production" && A.warn(
|
|
1061
1060
|
`storagePolicyConfigurationApi: passed consent does not include category: '${f.Necessary}'. Consent has to atleast include the '${f.Necessary}' category.
|
|
1062
1061
|
Passed consent: ${JSON.stringify(s)}`
|
|
1063
|
-
),
|
|
1062
|
+
), n.unshift(f.Necessary)), Se(
|
|
1064
1063
|
t.container,
|
|
1065
1064
|
"storagePolicy",
|
|
1066
1065
|
f.Necessary,
|
|
1067
1066
|
{
|
|
1068
|
-
medium:
|
|
1069
|
-
scope:
|
|
1067
|
+
medium: b.Cookie,
|
|
1068
|
+
scope: xt.Tenant,
|
|
1070
1069
|
duration: { days: 365 }
|
|
1071
1070
|
}
|
|
1072
|
-
).then((
|
|
1073
|
-
|
|
1071
|
+
).then((r) => r(n)).then(() => {
|
|
1072
|
+
St(t.container), t.events.dispatch("storage:policy-changed", n);
|
|
1074
1073
|
});
|
|
1075
1074
|
}
|
|
1076
1075
|
}
|
|
@@ -1081,18 +1080,18 @@ $t((r) => {
|
|
|
1081
1080
|
* Copyright 2019 Google LLC
|
|
1082
1081
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1083
1082
|
*/
|
|
1084
|
-
const
|
|
1085
|
-
let
|
|
1083
|
+
const G = globalThis, Ot = G.ShadowRoot && (G.ShadyCSS === void 0 || G.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Pt = Symbol(), zt = /* @__PURE__ */ new WeakMap();
|
|
1084
|
+
let re = class {
|
|
1086
1085
|
constructor(t, e, s) {
|
|
1087
|
-
if (this._$cssResult$ = !0, s !==
|
|
1086
|
+
if (this._$cssResult$ = !0, s !== Pt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
1088
1087
|
this.cssText = t, this.t = e;
|
|
1089
1088
|
}
|
|
1090
1089
|
get styleSheet() {
|
|
1091
1090
|
let t = this.o;
|
|
1092
1091
|
const e = this.t;
|
|
1093
|
-
if (
|
|
1092
|
+
if (Ot && t === void 0) {
|
|
1094
1093
|
const s = e !== void 0 && e.length === 1;
|
|
1095
|
-
s && (t =
|
|
1094
|
+
s && (t = zt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && zt.set(e, t));
|
|
1096
1095
|
}
|
|
1097
1096
|
return t;
|
|
1098
1097
|
}
|
|
@@ -1100,58 +1099,58 @@ let ie = class {
|
|
|
1100
1099
|
return this.cssText;
|
|
1101
1100
|
}
|
|
1102
1101
|
};
|
|
1103
|
-
const je = (
|
|
1104
|
-
const e =
|
|
1102
|
+
const je = (i) => new re(typeof i == "string" ? i : i + "", void 0, Pt), He = (i, ...t) => {
|
|
1103
|
+
const e = i.length === 1 ? i[0] : t.reduce(((s, n, r) => s + ((o) => {
|
|
1105
1104
|
if (o._$cssResult$ === !0) return o.cssText;
|
|
1106
1105
|
if (typeof o == "number") return o;
|
|
1107
1106
|
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.");
|
|
1108
|
-
})(
|
|
1109
|
-
return new
|
|
1110
|
-
},
|
|
1111
|
-
if (
|
|
1107
|
+
})(n) + i[r + 1]), i[0]);
|
|
1108
|
+
return new re(e, i, Pt);
|
|
1109
|
+
}, Re = (i, t) => {
|
|
1110
|
+
if (Ot) i.adoptedStyleSheets = t.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
|
|
1112
1111
|
else for (const e of t) {
|
|
1113
|
-
const s = document.createElement("style"),
|
|
1114
|
-
|
|
1112
|
+
const s = document.createElement("style"), n = G.litNonce;
|
|
1113
|
+
n !== void 0 && s.setAttribute("nonce", n), s.textContent = e.cssText, i.appendChild(s);
|
|
1115
1114
|
}
|
|
1116
|
-
},
|
|
1115
|
+
}, Wt = Ot ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
|
|
1117
1116
|
let e = "";
|
|
1118
1117
|
for (const s of t.cssRules) e += s.cssText;
|
|
1119
1118
|
return je(e);
|
|
1120
|
-
})(
|
|
1119
|
+
})(i) : i;
|
|
1121
1120
|
/**
|
|
1122
1121
|
* @license
|
|
1123
1122
|
* Copyright 2017 Google LLC
|
|
1124
1123
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1125
1124
|
*/
|
|
1126
|
-
const { is:
|
|
1125
|
+
const { is: Le, defineProperty: Be, getOwnPropertyDescriptor: ze, getOwnPropertyNames: We, getOwnPropertySymbols: Ve, getPrototypeOf: Je } = Object, x = globalThis, Vt = x.trustedTypes, qe = Vt ? Vt.emptyScript : "", ut = x.reactiveElementPolyfillSupport, H = (i, t) => i, Q = { toAttribute(i, t) {
|
|
1127
1126
|
switch (t) {
|
|
1128
1127
|
case Boolean:
|
|
1129
|
-
|
|
1128
|
+
i = i ? qe : null;
|
|
1130
1129
|
break;
|
|
1131
1130
|
case Object:
|
|
1132
1131
|
case Array:
|
|
1133
|
-
|
|
1132
|
+
i = i == null ? i : JSON.stringify(i);
|
|
1134
1133
|
}
|
|
1135
|
-
return
|
|
1136
|
-
}, fromAttribute(
|
|
1137
|
-
let e =
|
|
1134
|
+
return i;
|
|
1135
|
+
}, fromAttribute(i, t) {
|
|
1136
|
+
let e = i;
|
|
1138
1137
|
switch (t) {
|
|
1139
1138
|
case Boolean:
|
|
1140
|
-
e =
|
|
1139
|
+
e = i !== null;
|
|
1141
1140
|
break;
|
|
1142
1141
|
case Number:
|
|
1143
|
-
e =
|
|
1142
|
+
e = i === null ? null : Number(i);
|
|
1144
1143
|
break;
|
|
1145
1144
|
case Object:
|
|
1146
1145
|
case Array:
|
|
1147
1146
|
try {
|
|
1148
|
-
e = JSON.parse(
|
|
1147
|
+
e = JSON.parse(i);
|
|
1149
1148
|
} catch {
|
|
1150
1149
|
e = null;
|
|
1151
1150
|
}
|
|
1152
1151
|
}
|
|
1153
1152
|
return e;
|
|
1154
|
-
} },
|
|
1153
|
+
} }, kt = (i, t) => !Le(i, t), Jt = { attribute: !0, type: String, converter: Q, reflect: !1, useDefault: !1, hasChanged: kt };
|
|
1155
1154
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), x.litPropertyMetadata ?? (x.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
1156
1155
|
let T = class extends HTMLElement {
|
|
1157
1156
|
static addInitializer(t) {
|
|
@@ -1160,46 +1159,46 @@ let T = class extends HTMLElement {
|
|
|
1160
1159
|
static get observedAttributes() {
|
|
1161
1160
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
1162
1161
|
}
|
|
1163
|
-
static createProperty(t, e =
|
|
1162
|
+
static createProperty(t, e = Jt) {
|
|
1164
1163
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
1165
|
-
const s = Symbol(),
|
|
1166
|
-
|
|
1164
|
+
const s = Symbol(), n = this.getPropertyDescriptor(t, s, e);
|
|
1165
|
+
n !== void 0 && Be(this.prototype, t, n);
|
|
1167
1166
|
}
|
|
1168
1167
|
}
|
|
1169
1168
|
static getPropertyDescriptor(t, e, s) {
|
|
1170
|
-
const { get:
|
|
1169
|
+
const { get: n, set: r } = ze(this.prototype, t) ?? { get() {
|
|
1171
1170
|
return this[e];
|
|
1172
1171
|
}, set(o) {
|
|
1173
1172
|
this[e] = o;
|
|
1174
1173
|
} };
|
|
1175
|
-
return { get:
|
|
1176
|
-
const a =
|
|
1177
|
-
|
|
1174
|
+
return { get: n, set(o) {
|
|
1175
|
+
const a = n == null ? void 0 : n.call(this);
|
|
1176
|
+
r == null || r.call(this, o), this.requestUpdate(t, a, s);
|
|
1178
1177
|
}, configurable: !0, enumerable: !0 };
|
|
1179
1178
|
}
|
|
1180
1179
|
static getPropertyOptions(t) {
|
|
1181
|
-
return this.elementProperties.get(t) ??
|
|
1180
|
+
return this.elementProperties.get(t) ?? Jt;
|
|
1182
1181
|
}
|
|
1183
1182
|
static _$Ei() {
|
|
1184
1183
|
if (this.hasOwnProperty(H("elementProperties"))) return;
|
|
1185
|
-
const t =
|
|
1184
|
+
const t = Je(this);
|
|
1186
1185
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
1187
1186
|
}
|
|
1188
1187
|
static finalize() {
|
|
1189
1188
|
if (this.hasOwnProperty(H("finalized"))) return;
|
|
1190
1189
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(H("properties"))) {
|
|
1191
|
-
const e = this.properties, s = [...
|
|
1192
|
-
for (const
|
|
1190
|
+
const e = this.properties, s = [...We(e), ...Ve(e)];
|
|
1191
|
+
for (const n of s) this.createProperty(n, e[n]);
|
|
1193
1192
|
}
|
|
1194
1193
|
const t = this[Symbol.metadata];
|
|
1195
1194
|
if (t !== null) {
|
|
1196
1195
|
const e = litPropertyMetadata.get(t);
|
|
1197
|
-
if (e !== void 0) for (const [s,
|
|
1196
|
+
if (e !== void 0) for (const [s, n] of e) this.elementProperties.set(s, n);
|
|
1198
1197
|
}
|
|
1199
1198
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
1200
1199
|
for (const [e, s] of this.elementProperties) {
|
|
1201
|
-
const
|
|
1202
|
-
|
|
1200
|
+
const n = this._$Eu(e, s);
|
|
1201
|
+
n !== void 0 && this._$Eh.set(n, e);
|
|
1203
1202
|
}
|
|
1204
1203
|
this.elementStyles = this.finalizeStyles(this.styles);
|
|
1205
1204
|
}
|
|
@@ -1207,8 +1206,8 @@ let T = class extends HTMLElement {
|
|
|
1207
1206
|
const e = [];
|
|
1208
1207
|
if (Array.isArray(t)) {
|
|
1209
1208
|
const s = new Set(t.flat(1 / 0).reverse());
|
|
1210
|
-
for (const
|
|
1211
|
-
} else t !== void 0 && e.push(
|
|
1209
|
+
for (const n of s) e.unshift(Wt(n));
|
|
1210
|
+
} else t !== void 0 && e.push(Wt(t));
|
|
1212
1211
|
return e;
|
|
1213
1212
|
}
|
|
1214
1213
|
static _$Eu(t, e) {
|
|
@@ -1237,7 +1236,7 @@ let T = class extends HTMLElement {
|
|
|
1237
1236
|
}
|
|
1238
1237
|
createRenderRoot() {
|
|
1239
1238
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
1240
|
-
return
|
|
1239
|
+
return Re(t, this.constructor.elementStyles), t;
|
|
1241
1240
|
}
|
|
1242
1241
|
connectedCallback() {
|
|
1243
1242
|
var t;
|
|
@@ -1259,34 +1258,34 @@ let T = class extends HTMLElement {
|
|
|
1259
1258
|
this._$AK(t, s);
|
|
1260
1259
|
}
|
|
1261
1260
|
_$ET(t, e) {
|
|
1262
|
-
var
|
|
1263
|
-
const s = this.constructor.elementProperties.get(t),
|
|
1264
|
-
if (
|
|
1265
|
-
const o = (((
|
|
1266
|
-
this._$Em = t, o == null ? this.removeAttribute(
|
|
1261
|
+
var r;
|
|
1262
|
+
const s = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, s);
|
|
1263
|
+
if (n !== void 0 && s.reflect === !0) {
|
|
1264
|
+
const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : Q).toAttribute(e, s.type);
|
|
1265
|
+
this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
|
|
1267
1266
|
}
|
|
1268
1267
|
}
|
|
1269
1268
|
_$AK(t, e) {
|
|
1270
|
-
var
|
|
1271
|
-
const s = this.constructor,
|
|
1272
|
-
if (
|
|
1273
|
-
const a = s.getPropertyOptions(
|
|
1274
|
-
this._$Em =
|
|
1269
|
+
var r, o;
|
|
1270
|
+
const s = this.constructor, n = s._$Eh.get(t);
|
|
1271
|
+
if (n !== void 0 && this._$Em !== n) {
|
|
1272
|
+
const a = s.getPropertyOptions(n), c = typeof a.converter == "function" ? { fromAttribute: a.converter } : ((r = a.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? a.converter : Q;
|
|
1273
|
+
this._$Em = n;
|
|
1275
1274
|
const l = c.fromAttribute(e, a.type);
|
|
1276
|
-
this[
|
|
1275
|
+
this[n] = l ?? ((o = this._$Ej) == null ? void 0 : o.get(n)) ?? l, this._$Em = null;
|
|
1277
1276
|
}
|
|
1278
1277
|
}
|
|
1279
1278
|
requestUpdate(t, e, s) {
|
|
1280
|
-
var
|
|
1279
|
+
var n;
|
|
1281
1280
|
if (t !== void 0) {
|
|
1282
|
-
const
|
|
1283
|
-
if (s ?? (s =
|
|
1281
|
+
const r = this.constructor, o = this[t];
|
|
1282
|
+
if (s ?? (s = r.getPropertyOptions(t)), !((s.hasChanged ?? kt)(o, e) || s.useDefault && s.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(t)) && !this.hasAttribute(r._$Eu(t, s)))) return;
|
|
1284
1283
|
this.C(t, e, s);
|
|
1285
1284
|
}
|
|
1286
1285
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
1287
1286
|
}
|
|
1288
|
-
C(t, e, { useDefault: s, reflect:
|
|
1289
|
-
s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]),
|
|
1287
|
+
C(t, e, { useDefault: s, reflect: n, wrapped: r }, o) {
|
|
1288
|
+
s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), r !== !0 || o !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), n === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
|
|
1290
1289
|
}
|
|
1291
1290
|
async _$EP() {
|
|
1292
1291
|
this.isUpdatePending = !0;
|
|
@@ -1306,24 +1305,24 @@ let T = class extends HTMLElement {
|
|
|
1306
1305
|
if (!this.isUpdatePending) return;
|
|
1307
1306
|
if (!this.hasUpdated) {
|
|
1308
1307
|
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
1309
|
-
for (const [
|
|
1308
|
+
for (const [r, o] of this._$Ep) this[r] = o;
|
|
1310
1309
|
this._$Ep = void 0;
|
|
1311
1310
|
}
|
|
1312
|
-
const
|
|
1313
|
-
if (
|
|
1314
|
-
const { wrapped: a } = o, c = this[
|
|
1315
|
-
a !== !0 || this._$AL.has(
|
|
1311
|
+
const n = this.constructor.elementProperties;
|
|
1312
|
+
if (n.size > 0) for (const [r, o] of n) {
|
|
1313
|
+
const { wrapped: a } = o, c = this[r];
|
|
1314
|
+
a !== !0 || this._$AL.has(r) || c === void 0 || this.C(r, void 0, o, c);
|
|
1316
1315
|
}
|
|
1317
1316
|
}
|
|
1318
1317
|
let t = !1;
|
|
1319
1318
|
const e = this._$AL;
|
|
1320
1319
|
try {
|
|
1321
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach(((
|
|
1322
|
-
var
|
|
1323
|
-
return (
|
|
1320
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach(((n) => {
|
|
1321
|
+
var r;
|
|
1322
|
+
return (r = n.hostUpdate) == null ? void 0 : r.call(n);
|
|
1324
1323
|
})), this.update(e)) : this._$EM();
|
|
1325
|
-
} catch (
|
|
1326
|
-
throw t = !1, this._$EM(),
|
|
1324
|
+
} catch (n) {
|
|
1325
|
+
throw t = !1, this._$EM(), n;
|
|
1327
1326
|
}
|
|
1328
1327
|
t && this._$AE(e);
|
|
1329
1328
|
}
|
|
@@ -1332,8 +1331,8 @@ let T = class extends HTMLElement {
|
|
|
1332
1331
|
_$AE(t) {
|
|
1333
1332
|
var e;
|
|
1334
1333
|
(e = this._$EO) == null || e.forEach(((s) => {
|
|
1335
|
-
var
|
|
1336
|
-
return (
|
|
1334
|
+
var n;
|
|
1335
|
+
return (n = s.hostUpdated) == null ? void 0 : n.call(s);
|
|
1337
1336
|
})), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
1338
1337
|
}
|
|
1339
1338
|
_$EM() {
|
|
@@ -1356,61 +1355,61 @@ let T = class extends HTMLElement {
|
|
|
1356
1355
|
firstUpdated(t) {
|
|
1357
1356
|
}
|
|
1358
1357
|
};
|
|
1359
|
-
T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[H("elementProperties")] = /* @__PURE__ */ new Map(), T[H("finalized")] = /* @__PURE__ */ new Map(),
|
|
1358
|
+
T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[H("elementProperties")] = /* @__PURE__ */ new Map(), T[H("finalized")] = /* @__PURE__ */ new Map(), ut == null || ut({ ReactiveElement: T }), (x.reactiveElementVersions ?? (x.reactiveElementVersions = [])).push("2.1.1");
|
|
1360
1359
|
/**
|
|
1361
1360
|
* @license
|
|
1362
1361
|
* Copyright 2017 Google LLC
|
|
1363
1362
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1364
1363
|
*/
|
|
1365
|
-
const R = globalThis,
|
|
1366
|
-
\f\r]`,
|
|
1367
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1368
|
-
function
|
|
1369
|
-
if (!
|
|
1370
|
-
return
|
|
1364
|
+
const R = globalThis, tt = R.trustedTypes, qt = tt ? tt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, oe = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, ae = "?" + _, Ke = `<${ae}>`, P = document, B = () => P.createComment(""), z = (i) => i === null || typeof i != "object" && typeof i != "function", Nt = Array.isArray, Fe = (i) => Nt(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", mt = `[
|
|
1365
|
+
\f\r]`, D = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Kt = /-->/g, Ft = />/g, E = RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
|
|
1366
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Zt = /'/g, Gt = /"/g, ce = /^(?:script|style|textarea|title)$/i, Ze = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), F = Ze(1), k = Symbol.for("lit-noChange"), m = Symbol.for("lit-nothing"), Xt = /* @__PURE__ */ new WeakMap(), C = P.createTreeWalker(P, 129);
|
|
1367
|
+
function he(i, t) {
|
|
1368
|
+
if (!Nt(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1369
|
+
return qt !== void 0 ? qt.createHTML(t) : t;
|
|
1371
1370
|
}
|
|
1372
|
-
const
|
|
1373
|
-
const e =
|
|
1374
|
-
let
|
|
1371
|
+
const Ge = (i, t) => {
|
|
1372
|
+
const e = i.length - 1, s = [];
|
|
1373
|
+
let n, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = D;
|
|
1375
1374
|
for (let a = 0; a < e; a++) {
|
|
1376
|
-
const c =
|
|
1375
|
+
const c = i[a];
|
|
1377
1376
|
let l, h, p = -1, d = 0;
|
|
1378
|
-
for (; d < c.length && (o.lastIndex = d, h = o.exec(c), h !== null); ) d = o.lastIndex, o ===
|
|
1379
|
-
const u = o === E &&
|
|
1380
|
-
|
|
1377
|
+
for (; d < c.length && (o.lastIndex = d, h = o.exec(c), h !== null); ) d = o.lastIndex, o === D ? h[1] === "!--" ? o = Kt : h[1] !== void 0 ? o = Ft : h[2] !== void 0 ? (ce.test(h[2]) && (n = RegExp("</" + h[2], "g")), o = E) : h[3] !== void 0 && (o = E) : o === E ? h[0] === ">" ? (o = n ?? D, p = -1) : h[1] === void 0 ? p = -2 : (p = o.lastIndex - h[2].length, l = h[1], o = h[3] === void 0 ? E : h[3] === '"' ? Gt : Zt) : o === Gt || o === Zt ? o = E : o === Kt || o === Ft ? o = D : (o = E, n = void 0);
|
|
1378
|
+
const u = o === E && i[a + 1].startsWith("/>") ? " " : "";
|
|
1379
|
+
r += o === D ? c + Ke : p >= 0 ? (s.push(l), c.slice(0, p) + oe + c.slice(p) + _ + u) : c + _ + (p === -2 ? a : u);
|
|
1381
1380
|
}
|
|
1382
|
-
return [
|
|
1381
|
+
return [he(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
|
|
1383
1382
|
};
|
|
1384
1383
|
class W {
|
|
1385
1384
|
constructor({ strings: t, _$litType$: e }, s) {
|
|
1386
|
-
let
|
|
1385
|
+
let n;
|
|
1387
1386
|
this.parts = [];
|
|
1388
|
-
let
|
|
1389
|
-
const a = t.length - 1, c = this.parts, [l, h] =
|
|
1387
|
+
let r = 0, o = 0;
|
|
1388
|
+
const a = t.length - 1, c = this.parts, [l, h] = Ge(t, e);
|
|
1390
1389
|
if (this.el = W.createElement(l, s), C.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1391
1390
|
const p = this.el.content.firstChild;
|
|
1392
1391
|
p.replaceWith(...p.childNodes);
|
|
1393
1392
|
}
|
|
1394
|
-
for (; (
|
|
1395
|
-
if (
|
|
1396
|
-
if (
|
|
1397
|
-
const d = h[o++], u =
|
|
1398
|
-
c.push({ type: 1, index:
|
|
1399
|
-
} else p.startsWith(
|
|
1400
|
-
if (
|
|
1401
|
-
const p =
|
|
1393
|
+
for (; (n = C.nextNode()) !== null && c.length < a; ) {
|
|
1394
|
+
if (n.nodeType === 1) {
|
|
1395
|
+
if (n.hasAttributes()) for (const p of n.getAttributeNames()) if (p.endsWith(oe)) {
|
|
1396
|
+
const d = h[o++], u = n.getAttribute(p).split(_), g = /([.?@])?(.*)/.exec(d);
|
|
1397
|
+
c.push({ type: 1, index: r, name: g[2], strings: u, ctor: g[1] === "." ? Ye : g[1] === "?" ? Qe : g[1] === "@" ? ts : nt }), n.removeAttribute(p);
|
|
1398
|
+
} else p.startsWith(_) && (c.push({ type: 6, index: r }), n.removeAttribute(p));
|
|
1399
|
+
if (ce.test(n.tagName)) {
|
|
1400
|
+
const p = n.textContent.split(_), d = p.length - 1;
|
|
1402
1401
|
if (d > 0) {
|
|
1403
|
-
|
|
1404
|
-
for (let u = 0; u < d; u++)
|
|
1405
|
-
|
|
1402
|
+
n.textContent = tt ? tt.emptyScript : "";
|
|
1403
|
+
for (let u = 0; u < d; u++) n.append(p[u], B()), C.nextNode(), c.push({ type: 2, index: ++r });
|
|
1404
|
+
n.append(p[d], B());
|
|
1406
1405
|
}
|
|
1407
1406
|
}
|
|
1408
|
-
} else if (
|
|
1407
|
+
} else if (n.nodeType === 8) if (n.data === ae) c.push({ type: 2, index: r });
|
|
1409
1408
|
else {
|
|
1410
1409
|
let p = -1;
|
|
1411
|
-
for (; (p =
|
|
1410
|
+
for (; (p = n.data.indexOf(_, p + 1)) !== -1; ) c.push({ type: 7, index: r }), p += _.length - 1;
|
|
1412
1411
|
}
|
|
1413
|
-
|
|
1412
|
+
r++;
|
|
1414
1413
|
}
|
|
1415
1414
|
}
|
|
1416
1415
|
static createElement(t, e) {
|
|
@@ -1418,14 +1417,14 @@ class W {
|
|
|
1418
1417
|
return s.innerHTML = t, s;
|
|
1419
1418
|
}
|
|
1420
1419
|
}
|
|
1421
|
-
function M(
|
|
1420
|
+
function M(i, t, e = i, s) {
|
|
1422
1421
|
var o, a;
|
|
1423
1422
|
if (t === k) return t;
|
|
1424
|
-
let
|
|
1425
|
-
const
|
|
1426
|
-
return (
|
|
1423
|
+
let n = s !== void 0 ? (o = e._$Co) == null ? void 0 : o[s] : e._$Cl;
|
|
1424
|
+
const r = z(t) ? void 0 : t._$litDirective$;
|
|
1425
|
+
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 = M(i, n._$AS(i, t.values), n, s)), t;
|
|
1427
1426
|
}
|
|
1428
|
-
class
|
|
1427
|
+
class Xe {
|
|
1429
1428
|
constructor(t, e) {
|
|
1430
1429
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
1431
1430
|
}
|
|
@@ -1436,30 +1435,30 @@ class Ge {
|
|
|
1436
1435
|
return this._$AM._$AU;
|
|
1437
1436
|
}
|
|
1438
1437
|
u(t) {
|
|
1439
|
-
const { el: { content: e }, parts: s } = this._$AD,
|
|
1440
|
-
C.currentNode =
|
|
1441
|
-
let
|
|
1438
|
+
const { el: { content: e }, parts: s } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? P).importNode(e, !0);
|
|
1439
|
+
C.currentNode = n;
|
|
1440
|
+
let r = C.nextNode(), o = 0, a = 0, c = s[0];
|
|
1442
1441
|
for (; c !== void 0; ) {
|
|
1443
1442
|
if (o === c.index) {
|
|
1444
1443
|
let l;
|
|
1445
|
-
c.type === 2 ? l = new
|
|
1444
|
+
c.type === 2 ? l = new J(r, r.nextSibling, this, t) : c.type === 1 ? l = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (l = new es(r, this, t)), this._$AV.push(l), c = s[++a];
|
|
1446
1445
|
}
|
|
1447
|
-
o !== (c == null ? void 0 : c.index) && (
|
|
1446
|
+
o !== (c == null ? void 0 : c.index) && (r = C.nextNode(), o++);
|
|
1448
1447
|
}
|
|
1449
|
-
return C.currentNode = P,
|
|
1448
|
+
return C.currentNode = P, n;
|
|
1450
1449
|
}
|
|
1451
1450
|
p(t) {
|
|
1452
1451
|
let e = 0;
|
|
1453
1452
|
for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
|
1454
1453
|
}
|
|
1455
1454
|
}
|
|
1456
|
-
class
|
|
1455
|
+
class J {
|
|
1457
1456
|
get _$AU() {
|
|
1458
1457
|
var t;
|
|
1459
1458
|
return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
|
|
1460
1459
|
}
|
|
1461
|
-
constructor(t, e, s,
|
|
1462
|
-
this.type = 2, this._$AH = m, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options =
|
|
1460
|
+
constructor(t, e, s, n) {
|
|
1461
|
+
this.type = 2, this._$AH = m, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
|
|
1463
1462
|
}
|
|
1464
1463
|
get parentNode() {
|
|
1465
1464
|
let t = this._$AA.parentNode;
|
|
@@ -1485,30 +1484,30 @@ class V {
|
|
|
1485
1484
|
this._$AH !== m && z(this._$AH) ? this._$AA.nextSibling.data = t : this.T(P.createTextNode(t)), this._$AH = t;
|
|
1486
1485
|
}
|
|
1487
1486
|
$(t) {
|
|
1488
|
-
var
|
|
1489
|
-
const { values: e, _$litType$: s } = t,
|
|
1490
|
-
if (((
|
|
1487
|
+
var r;
|
|
1488
|
+
const { values: e, _$litType$: s } = t, n = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = W.createElement(he(s.h, s.h[0]), this.options)), s);
|
|
1489
|
+
if (((r = this._$AH) == null ? void 0 : r._$AD) === n) this._$AH.p(e);
|
|
1491
1490
|
else {
|
|
1492
|
-
const o = new
|
|
1491
|
+
const o = new Xe(n, this), a = o.u(this.options);
|
|
1493
1492
|
o.p(e), this.T(a), this._$AH = o;
|
|
1494
1493
|
}
|
|
1495
1494
|
}
|
|
1496
1495
|
_$AC(t) {
|
|
1497
|
-
let e =
|
|
1498
|
-
return e === void 0 &&
|
|
1496
|
+
let e = Xt.get(t.strings);
|
|
1497
|
+
return e === void 0 && Xt.set(t.strings, e = new W(t)), e;
|
|
1499
1498
|
}
|
|
1500
1499
|
k(t) {
|
|
1501
|
-
|
|
1500
|
+
Nt(this._$AH) || (this._$AH = [], this._$AR());
|
|
1502
1501
|
const e = this._$AH;
|
|
1503
|
-
let s,
|
|
1504
|
-
for (const
|
|
1505
|
-
|
|
1502
|
+
let s, n = 0;
|
|
1503
|
+
for (const r of t) n === e.length ? e.push(s = new J(this.O(B()), this.O(B()), this, this.options)) : s = e[n], s._$AI(r), n++;
|
|
1504
|
+
n < e.length && (this._$AR(s && s._$AB.nextSibling, n), e.length = n);
|
|
1506
1505
|
}
|
|
1507
1506
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
1508
1507
|
var s;
|
|
1509
1508
|
for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
1510
|
-
const
|
|
1511
|
-
t.remove(), t =
|
|
1509
|
+
const n = t.nextSibling;
|
|
1510
|
+
t.remove(), t = n;
|
|
1512
1511
|
}
|
|
1513
1512
|
}
|
|
1514
1513
|
setConnected(t) {
|
|
@@ -1516,32 +1515,32 @@ class V {
|
|
|
1516
1515
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
1517
1516
|
}
|
|
1518
1517
|
}
|
|
1519
|
-
class
|
|
1518
|
+
class nt {
|
|
1520
1519
|
get tagName() {
|
|
1521
1520
|
return this.element.tagName;
|
|
1522
1521
|
}
|
|
1523
1522
|
get _$AU() {
|
|
1524
1523
|
return this._$AM._$AU;
|
|
1525
1524
|
}
|
|
1526
|
-
constructor(t, e, s,
|
|
1527
|
-
this.type = 1, this._$AH = m, this._$AN = void 0, this.element = t, this.name = e, this._$AM =
|
|
1525
|
+
constructor(t, e, s, n, r) {
|
|
1526
|
+
this.type = 1, this._$AH = m, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = m;
|
|
1528
1527
|
}
|
|
1529
|
-
_$AI(t, e = this, s,
|
|
1530
|
-
const
|
|
1528
|
+
_$AI(t, e = this, s, n) {
|
|
1529
|
+
const r = this.strings;
|
|
1531
1530
|
let o = !1;
|
|
1532
|
-
if (
|
|
1531
|
+
if (r === void 0) t = M(this, t, e, 0), o = !z(t) || t !== this._$AH && t !== k, o && (this._$AH = t);
|
|
1533
1532
|
else {
|
|
1534
1533
|
const a = t;
|
|
1535
1534
|
let c, l;
|
|
1536
|
-
for (t =
|
|
1535
|
+
for (t = r[0], c = 0; c < r.length - 1; c++) l = M(this, a[s + c], e, c), l === k && (l = this._$AH[c]), o || (o = !z(l) || l !== this._$AH[c]), l === m ? t = m : t !== m && (t += (l ?? "") + r[c + 1]), this._$AH[c] = l;
|
|
1537
1536
|
}
|
|
1538
|
-
o && !
|
|
1537
|
+
o && !n && this.j(t);
|
|
1539
1538
|
}
|
|
1540
1539
|
j(t) {
|
|
1541
1540
|
t === m ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
1542
1541
|
}
|
|
1543
1542
|
}
|
|
1544
|
-
class
|
|
1543
|
+
class Ye extends nt {
|
|
1545
1544
|
constructor() {
|
|
1546
1545
|
super(...arguments), this.type = 3;
|
|
1547
1546
|
}
|
|
@@ -1549,7 +1548,7 @@ class Qe extends rt {
|
|
|
1549
1548
|
this.element[this.name] = t === m ? void 0 : t;
|
|
1550
1549
|
}
|
|
1551
1550
|
}
|
|
1552
|
-
class
|
|
1551
|
+
class Qe extends nt {
|
|
1553
1552
|
constructor() {
|
|
1554
1553
|
super(...arguments), this.type = 4;
|
|
1555
1554
|
}
|
|
@@ -1557,21 +1556,21 @@ class Xe extends rt {
|
|
|
1557
1556
|
this.element.toggleAttribute(this.name, !!t && t !== m);
|
|
1558
1557
|
}
|
|
1559
1558
|
}
|
|
1560
|
-
class
|
|
1561
|
-
constructor(t, e, s,
|
|
1562
|
-
super(t, e, s,
|
|
1559
|
+
class ts extends nt {
|
|
1560
|
+
constructor(t, e, s, n, r) {
|
|
1561
|
+
super(t, e, s, n, r), this.type = 5;
|
|
1563
1562
|
}
|
|
1564
1563
|
_$AI(t, e = this) {
|
|
1565
1564
|
if ((t = M(this, t, e, 0) ?? m) === k) return;
|
|
1566
|
-
const s = this._$AH,
|
|
1567
|
-
|
|
1565
|
+
const s = this._$AH, n = t === m && s !== m || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== m && (s === m || n);
|
|
1566
|
+
n && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1568
1567
|
}
|
|
1569
1568
|
handleEvent(t) {
|
|
1570
1569
|
var e;
|
|
1571
1570
|
typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
|
|
1572
1571
|
}
|
|
1573
1572
|
}
|
|
1574
|
-
class
|
|
1573
|
+
class es {
|
|
1575
1574
|
constructor(t, e, s) {
|
|
1576
1575
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
|
1577
1576
|
}
|
|
@@ -1582,16 +1581,16 @@ class ts {
|
|
|
1582
1581
|
M(this, t);
|
|
1583
1582
|
}
|
|
1584
1583
|
}
|
|
1585
|
-
const
|
|
1586
|
-
|
|
1587
|
-
const
|
|
1584
|
+
const gt = R.litHtmlPolyfillSupport;
|
|
1585
|
+
gt == null || gt(W, J), (R.litHtmlVersions ?? (R.litHtmlVersions = [])).push("3.3.1");
|
|
1586
|
+
const ss = (i, t, e) => {
|
|
1588
1587
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
|
1589
|
-
let
|
|
1590
|
-
if (
|
|
1591
|
-
const
|
|
1592
|
-
s._$litPart$ =
|
|
1588
|
+
let n = s._$litPart$;
|
|
1589
|
+
if (n === void 0) {
|
|
1590
|
+
const r = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
1591
|
+
s._$litPart$ = n = new J(t.insertBefore(B(), r), r, void 0, e ?? {});
|
|
1593
1592
|
}
|
|
1594
|
-
return
|
|
1593
|
+
return n._$AI(i), n;
|
|
1595
1594
|
};
|
|
1596
1595
|
/**
|
|
1597
1596
|
* @license
|
|
@@ -1610,7 +1609,7 @@ let L = class extends T {
|
|
|
1610
1609
|
}
|
|
1611
1610
|
update(t) {
|
|
1612
1611
|
const e = this.render();
|
|
1613
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
1612
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ss(e, this.renderRoot, this.renderOptions);
|
|
1614
1613
|
}
|
|
1615
1614
|
connectedCallback() {
|
|
1616
1615
|
var t;
|
|
@@ -1624,58 +1623,58 @@ let L = class extends T {
|
|
|
1624
1623
|
return k;
|
|
1625
1624
|
}
|
|
1626
1625
|
};
|
|
1627
|
-
var
|
|
1628
|
-
L._$litElement$ = !0, L.finalized = !0, (
|
|
1629
|
-
const
|
|
1630
|
-
|
|
1626
|
+
var Yt;
|
|
1627
|
+
L._$litElement$ = !0, L.finalized = !0, (Yt = O.litElementHydrateSupport) == null || Yt.call(O, { LitElement: L });
|
|
1628
|
+
const ft = O.litElementPolyfillSupport;
|
|
1629
|
+
ft == null || ft({ LitElement: L });
|
|
1631
1630
|
(O.litElementVersions ?? (O.litElementVersions = [])).push("4.2.1");
|
|
1632
1631
|
/**
|
|
1633
1632
|
* @license
|
|
1634
1633
|
* Copyright 2017 Google LLC
|
|
1635
1634
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1636
1635
|
*/
|
|
1637
|
-
const
|
|
1638
|
-
const { kind: s, metadata:
|
|
1639
|
-
let
|
|
1640
|
-
if (
|
|
1636
|
+
const is = { attribute: !0, type: String, converter: Q, reflect: !1, hasChanged: kt }, ns = (i = is, t, e) => {
|
|
1637
|
+
const { kind: s, metadata: n } = e;
|
|
1638
|
+
let r = globalThis.litPropertyMetadata.get(n);
|
|
1639
|
+
if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), r.set(e.name, i), s === "accessor") {
|
|
1641
1640
|
const { name: o } = e;
|
|
1642
1641
|
return { set(a) {
|
|
1643
1642
|
const c = t.get.call(this);
|
|
1644
|
-
t.set.call(this, a), this.requestUpdate(o, c,
|
|
1643
|
+
t.set.call(this, a), this.requestUpdate(o, c, i);
|
|
1645
1644
|
}, init(a) {
|
|
1646
|
-
return a !== void 0 && this.C(o, void 0,
|
|
1645
|
+
return a !== void 0 && this.C(o, void 0, i, a), a;
|
|
1647
1646
|
} };
|
|
1648
1647
|
}
|
|
1649
1648
|
if (s === "setter") {
|
|
1650
1649
|
const { name: o } = e;
|
|
1651
1650
|
return function(a) {
|
|
1652
1651
|
const c = this[o];
|
|
1653
|
-
t.call(this, a), this.requestUpdate(o, c,
|
|
1652
|
+
t.call(this, a), this.requestUpdate(o, c, i);
|
|
1654
1653
|
};
|
|
1655
1654
|
}
|
|
1656
1655
|
throw Error("Unsupported decorator location: " + s);
|
|
1657
1656
|
};
|
|
1658
|
-
function
|
|
1659
|
-
return (t, e) => typeof e == "object" ?
|
|
1660
|
-
const o =
|
|
1661
|
-
return
|
|
1662
|
-
})(
|
|
1657
|
+
function Tt(i) {
|
|
1658
|
+
return (t, e) => typeof e == "object" ? ns(i, t, e) : ((s, n, r) => {
|
|
1659
|
+
const o = n.hasOwnProperty(r);
|
|
1660
|
+
return n.constructor.createProperty(r, s), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
|
|
1661
|
+
})(i, t, e);
|
|
1663
1662
|
}
|
|
1664
1663
|
/**
|
|
1665
1664
|
* @license
|
|
1666
1665
|
* Copyright 2017 Google LLC
|
|
1667
1666
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1668
1667
|
*/
|
|
1669
|
-
function
|
|
1670
|
-
return
|
|
1668
|
+
function Ut(i) {
|
|
1669
|
+
return Tt({ ...i, state: !0, attribute: !1 });
|
|
1671
1670
|
}
|
|
1672
1671
|
/**
|
|
1673
1672
|
* @license
|
|
1674
1673
|
* Copyright 2017 Google LLC
|
|
1675
1674
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1676
1675
|
*/
|
|
1677
|
-
const
|
|
1678
|
-
class
|
|
1676
|
+
const rs = { ATTRIBUTE: 1 }, os = (i) => (...t) => ({ _$litDirective$: i, values: t });
|
|
1677
|
+
class as {
|
|
1679
1678
|
constructor(t) {
|
|
1680
1679
|
}
|
|
1681
1680
|
get _$AU() {
|
|
@@ -1696,49 +1695,49 @@ class os {
|
|
|
1696
1695
|
* Copyright 2018 Google LLC
|
|
1697
1696
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1698
1697
|
*/
|
|
1699
|
-
const
|
|
1700
|
-
constructor(
|
|
1698
|
+
const cs = os(class extends as {
|
|
1699
|
+
constructor(i) {
|
|
1701
1700
|
var t;
|
|
1702
|
-
if (super(
|
|
1701
|
+
if (super(i), i.type !== rs.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
1703
1702
|
}
|
|
1704
|
-
render(
|
|
1705
|
-
return " " + Object.keys(
|
|
1703
|
+
render(i) {
|
|
1704
|
+
return " " + Object.keys(i).filter(((t) => i[t])).join(" ") + " ";
|
|
1706
1705
|
}
|
|
1707
|
-
update(
|
|
1708
|
-
var s,
|
|
1706
|
+
update(i, [t]) {
|
|
1707
|
+
var s, n;
|
|
1709
1708
|
if (this.st === void 0) {
|
|
1710
|
-
this.st = /* @__PURE__ */ new Set(),
|
|
1711
|
-
for (const
|
|
1709
|
+
this.st = /* @__PURE__ */ new Set(), i.strings !== void 0 && (this.nt = new Set(i.strings.join(" ").split(/\s/).filter(((r) => r !== ""))));
|
|
1710
|
+
for (const r in t) t[r] && !((s = this.nt) != null && s.has(r)) && this.st.add(r);
|
|
1712
1711
|
return this.render(t);
|
|
1713
1712
|
}
|
|
1714
|
-
const e =
|
|
1715
|
-
for (const
|
|
1716
|
-
for (const
|
|
1717
|
-
const o = !!t[
|
|
1718
|
-
o === this.st.has(
|
|
1713
|
+
const e = i.element.classList;
|
|
1714
|
+
for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
|
|
1715
|
+
for (const r in t) {
|
|
1716
|
+
const o = !!t[r];
|
|
1717
|
+
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)));
|
|
1719
1718
|
}
|
|
1720
1719
|
return k;
|
|
1721
1720
|
}
|
|
1722
|
-
}),
|
|
1723
|
-
|
|
1724
|
-
},
|
|
1725
|
-
var e, s,
|
|
1726
|
-
|
|
1727
|
-
(s =
|
|
1721
|
+
}), Z = (i, t, e) => {
|
|
1722
|
+
i && e.style.setProperty(t, i);
|
|
1723
|
+
}, hs = (i, t) => {
|
|
1724
|
+
var e, s, n, r;
|
|
1725
|
+
Z((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), Z(
|
|
1726
|
+
(s = i.colors) == null ? void 0 : s.textOnPrimaryBackground,
|
|
1728
1727
|
"--text-on-primary-background",
|
|
1729
1728
|
t
|
|
1730
|
-
),
|
|
1731
|
-
(
|
|
1729
|
+
), Z((n = i.colors) == null ? void 0 : n.secondaryBackground, "--secondary-background", t), Z(
|
|
1730
|
+
(r = i.colors) == null ? void 0 : r.textOnSecondaryBackground,
|
|
1732
1731
|
"--text-on-secondary-background",
|
|
1733
1732
|
t
|
|
1734
1733
|
);
|
|
1735
1734
|
};
|
|
1736
|
-
var
|
|
1737
|
-
for (var
|
|
1738
|
-
(o = r
|
|
1739
|
-
return
|
|
1735
|
+
var ls = Object.defineProperty, q = (i, t, e, s) => {
|
|
1736
|
+
for (var n = void 0, r = i.length - 1, o; r >= 0; r--)
|
|
1737
|
+
(o = i[r]) && (n = o(t, e, n) || n);
|
|
1738
|
+
return n && ls(t, e, n), n;
|
|
1740
1739
|
};
|
|
1741
|
-
const
|
|
1740
|
+
const Mt = class Mt extends L {
|
|
1742
1741
|
constructor() {
|
|
1743
1742
|
super(...arguments), this.active = !1, this.loaded = !1;
|
|
1744
1743
|
}
|
|
@@ -1751,29 +1750,29 @@ const Ut = class Ut extends L {
|
|
|
1751
1750
|
_applyBranding() {
|
|
1752
1751
|
var e;
|
|
1753
1752
|
const t = ((e = this.container) == null ? void 0 : e.get("$settings")) ?? {};
|
|
1754
|
-
t != null && t.branding &&
|
|
1753
|
+
t != null && t.branding && hs(t.branding, this);
|
|
1755
1754
|
}
|
|
1756
1755
|
async _renderSymbol(t) {
|
|
1757
1756
|
const e = async (s) => await import("./index-KiHHCiS_.mjs").then(
|
|
1758
|
-
(
|
|
1757
|
+
(r) => r[s]
|
|
1759
1758
|
);
|
|
1760
1759
|
if (t) {
|
|
1761
|
-
const { type: s, content:
|
|
1760
|
+
const { type: s, content: n } = t;
|
|
1762
1761
|
switch (s) {
|
|
1763
1762
|
case "Telia": {
|
|
1764
|
-
const
|
|
1765
|
-
return
|
|
1763
|
+
const r = await e(n);
|
|
1764
|
+
return r ? F`<telia-icon
|
|
1766
1765
|
class="trigger-icon"
|
|
1767
|
-
svg=${
|
|
1766
|
+
svg=${r.svg}
|
|
1768
1767
|
size="lg"
|
|
1769
1768
|
></telia-icon>` : m;
|
|
1770
1769
|
}
|
|
1771
1770
|
case "FontAwesome":
|
|
1772
|
-
return F`<i class="trigger-fa-icon fa fa-${
|
|
1771
|
+
return F`<i class="trigger-fa-icon fa fa-${n}"></i>`;
|
|
1773
1772
|
case "Uri":
|
|
1774
1773
|
return F`<i
|
|
1775
1774
|
class="trigger-custom-icon"
|
|
1776
|
-
style="background: url(${
|
|
1775
|
+
style="background: url(${n}) no-repeat center center;background-size: contain;"
|
|
1777
1776
|
></i>`;
|
|
1778
1777
|
default:
|
|
1779
1778
|
return m;
|
|
@@ -1782,7 +1781,7 @@ const Ut = class Ut extends L {
|
|
|
1782
1781
|
}
|
|
1783
1782
|
render() {
|
|
1784
1783
|
return F`<button
|
|
1785
|
-
class=${
|
|
1784
|
+
class=${cs({
|
|
1786
1785
|
trigger: !0,
|
|
1787
1786
|
active: this.active,
|
|
1788
1787
|
rendered: this.loaded
|
|
@@ -1820,8 +1819,8 @@ const Ut = class Ut extends L {
|
|
|
1820
1819
|
</button>`;
|
|
1821
1820
|
}
|
|
1822
1821
|
};
|
|
1823
|
-
|
|
1824
|
-
|
|
1822
|
+
Mt.styles = [
|
|
1823
|
+
He`
|
|
1825
1824
|
:host {
|
|
1826
1825
|
--voca-rem-multiplier: 0.625;
|
|
1827
1826
|
display: block;
|
|
@@ -1891,65 +1890,65 @@ Ut.styles = [
|
|
|
1891
1890
|
}
|
|
1892
1891
|
`
|
|
1893
1892
|
];
|
|
1894
|
-
let N =
|
|
1895
|
-
|
|
1896
|
-
|
|
1893
|
+
let N = Mt;
|
|
1894
|
+
q([
|
|
1895
|
+
Tt({ attribute: !1 })
|
|
1897
1896
|
], N.prototype, "symbol");
|
|
1898
|
-
|
|
1899
|
-
|
|
1897
|
+
q([
|
|
1898
|
+
Tt({ attribute: !1 })
|
|
1900
1899
|
], N.prototype, "container");
|
|
1901
|
-
|
|
1902
|
-
|
|
1900
|
+
q([
|
|
1901
|
+
Ut()
|
|
1903
1902
|
], N.prototype, "active");
|
|
1904
|
-
|
|
1905
|
-
|
|
1903
|
+
q([
|
|
1904
|
+
Ut()
|
|
1906
1905
|
], N.prototype, "loaded");
|
|
1907
|
-
|
|
1908
|
-
|
|
1906
|
+
q([
|
|
1907
|
+
Ut()
|
|
1909
1908
|
], N.prototype, "icon");
|
|
1910
|
-
const
|
|
1911
|
-
const e =
|
|
1912
|
-
let s = {},
|
|
1913
|
-
Array.isArray(e) ? (
|
|
1914
|
-
const
|
|
1915
|
-
|
|
1909
|
+
const ps = async (i, t) => {
|
|
1910
|
+
const e = i.properties().provider;
|
|
1911
|
+
let s = {}, n = "";
|
|
1912
|
+
Array.isArray(e) ? (n = e[0], s = e[1]) : n = e || "";
|
|
1913
|
+
const r = await t.getAsync(
|
|
1914
|
+
n
|
|
1916
1915
|
);
|
|
1917
|
-
if (!
|
|
1916
|
+
if (!r)
|
|
1918
1917
|
throw new Error("No provider defined in ListComponent");
|
|
1919
|
-
return
|
|
1920
|
-
},
|
|
1921
|
-
const { provider: e, settings: s = {} } = await
|
|
1918
|
+
return r.applyComponentNodeSettings(i.node.id, s), { provider: r, settings: s };
|
|
1919
|
+
}, ds = async (i, t) => {
|
|
1920
|
+
const { provider: e, settings: s = {} } = await ps(i, t);
|
|
1922
1921
|
return {
|
|
1923
|
-
addResource: (
|
|
1924
|
-
getData: (
|
|
1922
|
+
addResource: (n, r) => e.addResource(n, r),
|
|
1923
|
+
getData: (n, r) => e.getData(n, r, s)
|
|
1925
1924
|
};
|
|
1926
|
-
},
|
|
1927
|
-
}), t,
|
|
1928
|
-
|
|
1925
|
+
}, us = (i, t, e, s, n) => i.getAsync("componentResolver").then((r) => (r.registerComponent(t, e), Ee(i, t, s || (() => {
|
|
1926
|
+
}), t, n))), Es = (i) => us(
|
|
1927
|
+
i,
|
|
1929
1928
|
"list",
|
|
1930
|
-
import("./list-
|
|
1929
|
+
import("./list-9REMVMSc.mjs"),
|
|
1931
1930
|
(t) => {
|
|
1932
1931
|
(async () => {
|
|
1933
1932
|
t.writeProperties({ loading: !0, items: [], totalItems: 0 });
|
|
1934
|
-
const
|
|
1933
|
+
const n = await (await ds(t, i)).getData("items", {});
|
|
1935
1934
|
t.writeProperties({
|
|
1936
1935
|
loading: !1,
|
|
1937
|
-
items: (
|
|
1938
|
-
totalItems: (
|
|
1936
|
+
items: (n == null ? void 0 : n.items) || [],
|
|
1937
|
+
totalItems: (n == null ? void 0 : n.totalItems) || 0
|
|
1939
1938
|
});
|
|
1940
1939
|
})();
|
|
1941
1940
|
}
|
|
1942
1941
|
);
|
|
1943
1942
|
export {
|
|
1944
1943
|
m as E,
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1944
|
+
Es as L,
|
|
1945
|
+
wt as N,
|
|
1946
|
+
L as a,
|
|
1947
|
+
ws as d,
|
|
1948
|
+
He as i,
|
|
1949
|
+
Tt as n,
|
|
1950
|
+
bt as o,
|
|
1951
|
+
Ut as r,
|
|
1952
|
+
xe as s,
|
|
1954
1953
|
F as x
|
|
1955
1954
|
};
|