@everymatrix/player-account-self-exclusion 1.74.0 → 1.74.2
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/components/{PlayerAccountGeneralConfirmationModal-CF0gIxAh.js → PlayerAccountGeneralConfirmationModal-COn8IPHo.js} +815 -836
- package/components/PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DTX1CBzd.js → PlayerAccountGeneralConfirmationModal-DeKth9rU.js} +816 -837
- package/components/{PlayerAccountModal-CJKwahNB.js → PlayerAccountModal-1yio55uP.js} +17 -17
- package/components/{PlayerAccountModal-Db-SglWF.js → PlayerAccountModal-bhlvepWR.js} +21 -21
- package/components/{PlayerAccountModal-D5N72NeZ.cjs → PlayerAccountModal-hE4QiaWT.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-BKTRCHvf.cjs → PlayerAccountSelfExclusion-B7GQlsdC.cjs} +77 -77
- package/components/{PlayerAccountSelfExclusion-C7fMViub.js → PlayerAccountSelfExclusion-BJKwkxji.js} +347 -344
- package/components/{PlayerAccountSelfExclusion-CnnL0A6g.js → PlayerAccountSelfExclusion-SepQ-ELN.js} +677 -674
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +0 -21
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-CnnL0A6g.js → PlayerAccountSelfExclusion-SepQ-ELN.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Br = Object.defineProperty, Yr = Object.defineProperties;
|
|
2
2
|
var jr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var uo = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
4
|
+
var Ur = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Ct = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Ur.call(t, e) && ho(o, e, t[e]);
|
|
8
8
|
if (uo)
|
|
9
9
|
for (var e of uo(t))
|
|
10
|
-
|
|
10
|
+
Vr.call(t, e) && ho(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, Dt = (o, t) => Yr(o, jr(t));
|
|
13
|
+
var st = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(l));
|
|
@@ -26,14 +26,14 @@ var rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { B as hs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as fe,
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { B as hs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as fe, c as Jr, s as Xr, b as Zr, n as T, d as ye, E as mi, j as xe, F as Qr, G as en, o as tn, k as on, l as sn, z as po, A as rn, H as fo, I as X, J as _e, K as ke, p as M, L as Ve, q as g, M as Nt, N as be, O as nn, P as an, Q as I, R as Jt, T as ln } from "./PlayerAccountGeneralConfirmationModal-DeKth9rU.js";
|
|
30
|
+
import "../stencil/ui-skeleton-CWuMYFGQ.js";
|
|
31
31
|
var fs = { exports: {} };
|
|
32
32
|
(function(o, t) {
|
|
33
33
|
(function(e, i) {
|
|
34
34
|
o.exports = i();
|
|
35
35
|
})(hs, function() {
|
|
36
|
-
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", p = "year",
|
|
36
|
+
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", p = "year", b = "date", f = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, D = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
|
|
37
37
|
var v = ["th", "st", "nd", "rd"], m = E % 100;
|
|
38
38
|
return "[" + E + (v[(m - 20) % 10] || v[m] || v[0]) + "]";
|
|
39
39
|
} }, z = function(E, v, m) {
|
|
@@ -50,14 +50,14 @@ var fs = { exports: {} };
|
|
|
50
50
|
}, a: function(E) {
|
|
51
51
|
return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
|
|
52
52
|
}, p: function(E) {
|
|
53
|
-
return { M: d, y: p, w: u, d: c, D:
|
|
53
|
+
return { M: d, y: p, w: u, d: c, D: b, h: l, m: a, s: n, ms: r, Q: h }[E] || String(E || "").toLowerCase().replace(/s$/, "");
|
|
54
54
|
}, u: function(E) {
|
|
55
55
|
return E === void 0;
|
|
56
56
|
} }, $ = "en", q = {};
|
|
57
57
|
q[$] = C;
|
|
58
58
|
var K = "$isDayjsObject", G = function(E) {
|
|
59
59
|
return E instanceof j || !(!E || !E[K]);
|
|
60
|
-
},
|
|
60
|
+
}, V = function E(v, m, x) {
|
|
61
61
|
var _;
|
|
62
62
|
if (!v)
|
|
63
63
|
return $;
|
|
@@ -78,12 +78,12 @@ var fs = { exports: {} };
|
|
|
78
78
|
var m = typeof v == "object" ? v : {};
|
|
79
79
|
return m.date = E, m.args = arguments, new j(m);
|
|
80
80
|
}, k = N;
|
|
81
|
-
k.l =
|
|
81
|
+
k.l = V, k.i = G, k.w = function(E, v) {
|
|
82
82
|
return O(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
83
83
|
};
|
|
84
84
|
var j = function() {
|
|
85
85
|
function E(m) {
|
|
86
|
-
this.$L =
|
|
86
|
+
this.$L = V(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[K] = !0;
|
|
87
87
|
}
|
|
88
88
|
var v = E.prototype;
|
|
89
89
|
return v.parse = function(m) {
|
|
@@ -96,7 +96,7 @@ var fs = { exports: {} };
|
|
|
96
96
|
if (_ instanceof Date)
|
|
97
97
|
return new Date(_);
|
|
98
98
|
if (typeof _ == "string" && !/Z$/i.test(_)) {
|
|
99
|
-
var S = _.match(
|
|
99
|
+
var S = _.match(y);
|
|
100
100
|
if (S) {
|
|
101
101
|
var F = S[2] - 1 || 0, H = (S[7] || "0").substring(0, 3);
|
|
102
102
|
return A ? new Date(Date.UTC(S[1], F, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, H)) : new Date(S[1], F, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, H);
|
|
@@ -130,17 +130,17 @@ var fs = { exports: {} };
|
|
|
130
130
|
return A ? Y : Y.endOf(c);
|
|
131
131
|
}, H = function(Z, L) {
|
|
132
132
|
return k.w(_.toDate()[Z].apply(_.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(L)), _);
|
|
133
|
-
},
|
|
133
|
+
}, U = this.$W, W = this.$M, ee = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
|
134
134
|
switch (S) {
|
|
135
135
|
case p:
|
|
136
136
|
return A ? F(1, 0) : F(31, 11);
|
|
137
137
|
case d:
|
|
138
138
|
return A ? F(1, W) : F(0, W + 1);
|
|
139
139
|
case u:
|
|
140
|
-
var ce = this.$locale().weekStart || 0, te = (
|
|
140
|
+
var ce = this.$locale().weekStart || 0, te = (U < ce ? U + 7 : U) - ce;
|
|
141
141
|
return F(A ? ee - te : ee + (6 - te), W);
|
|
142
142
|
case c:
|
|
143
|
-
case
|
|
143
|
+
case b:
|
|
144
144
|
return H(he + "Hours", 0);
|
|
145
145
|
case l:
|
|
146
146
|
return H(he + "Minutes", 1);
|
|
@@ -154,10 +154,10 @@ var fs = { exports: {} };
|
|
|
154
154
|
}, v.endOf = function(m) {
|
|
155
155
|
return this.startOf(m, !1);
|
|
156
156
|
}, v.$set = function(m, x) {
|
|
157
|
-
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[
|
|
157
|
+
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[b] = S + "Date", _[d] = S + "Month", _[p] = S + "FullYear", _[l] = S + "Hours", _[a] = S + "Minutes", _[n] = S + "Seconds", _[r] = S + "Milliseconds", _)[A], H = A === c ? this.$D + (x - this.$W) : x;
|
|
158
158
|
if (A === d || A === p) {
|
|
159
|
-
var
|
|
160
|
-
|
|
159
|
+
var U = this.clone().set(b, 1);
|
|
160
|
+
U.$d[F](H), U.init(), this.$d = U.set(b, Math.min(this.$D, U.daysInMonth())).$d;
|
|
161
161
|
} else
|
|
162
162
|
F && this.$d[F](H);
|
|
163
163
|
return this.init(), this;
|
|
@@ -180,15 +180,15 @@ var fs = { exports: {} };
|
|
|
180
180
|
return F(1);
|
|
181
181
|
if (S === u)
|
|
182
182
|
return F(7);
|
|
183
|
-
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1,
|
|
184
|
-
return k.w(
|
|
183
|
+
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1, U = this.$d.getTime() + m * H;
|
|
184
|
+
return k.w(U, this);
|
|
185
185
|
}, v.subtract = function(m, x) {
|
|
186
186
|
return this.add(-1 * m, x);
|
|
187
187
|
}, v.format = function(m) {
|
|
188
188
|
var x = this, _ = this.$locale();
|
|
189
189
|
if (!this.isValid())
|
|
190
190
|
return _.invalidDate || f;
|
|
191
|
-
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m,
|
|
191
|
+
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m, U = this.$M, W = _.weekdays, ee = _.months, he = _.meridiem, ce = function(L, Y, pe, ue) {
|
|
192
192
|
return L && (L[Y] || L(x, A)) || pe[Y].slice(0, ue);
|
|
193
193
|
}, te = function(L) {
|
|
194
194
|
return k.s(F % 12 || 12, L, "0");
|
|
@@ -204,13 +204,13 @@ var fs = { exports: {} };
|
|
|
204
204
|
case "YYYY":
|
|
205
205
|
return k.s(x.$y, 4, "0");
|
|
206
206
|
case "M":
|
|
207
|
-
return
|
|
207
|
+
return U + 1;
|
|
208
208
|
case "MM":
|
|
209
|
-
return k.s(
|
|
209
|
+
return k.s(U + 1, 2, "0");
|
|
210
210
|
case "MMM":
|
|
211
|
-
return ce(_.monthsShort,
|
|
211
|
+
return ce(_.monthsShort, U, ee, 3);
|
|
212
212
|
case "MMMM":
|
|
213
|
-
return ce(ee,
|
|
213
|
+
return ce(ee, U);
|
|
214
214
|
case "D":
|
|
215
215
|
return x.$D;
|
|
216
216
|
case "DD":
|
|
@@ -254,7 +254,7 @@ var fs = { exports: {} };
|
|
|
254
254
|
}, v.utcOffset = function() {
|
|
255
255
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
256
256
|
}, v.diff = function(m, x, _) {
|
|
257
|
-
var A, S = this, F = k.p(x), H = O(m),
|
|
257
|
+
var A, S = this, F = k.p(x), H = O(m), U = (H.utcOffset() - this.utcOffset()) * i, W = this - H, ee = function() {
|
|
258
258
|
return k.m(S, H);
|
|
259
259
|
};
|
|
260
260
|
switch (F) {
|
|
@@ -268,10 +268,10 @@ var fs = { exports: {} };
|
|
|
268
268
|
A = ee() / 3;
|
|
269
269
|
break;
|
|
270
270
|
case u:
|
|
271
|
-
A = (W -
|
|
271
|
+
A = (W - U) / 6048e5;
|
|
272
272
|
break;
|
|
273
273
|
case c:
|
|
274
|
-
A = (W -
|
|
274
|
+
A = (W - U) / 864e5;
|
|
275
275
|
break;
|
|
276
276
|
case l:
|
|
277
277
|
A = W / s;
|
|
@@ -293,7 +293,7 @@ var fs = { exports: {} };
|
|
|
293
293
|
}, v.locale = function(m, x) {
|
|
294
294
|
if (!m)
|
|
295
295
|
return this.$L;
|
|
296
|
-
var _ = this.clone(), A =
|
|
296
|
+
var _ = this.clone(), A = V(m, x, !0);
|
|
297
297
|
return A && (_.$L = A), _;
|
|
298
298
|
}, v.clone = function() {
|
|
299
299
|
return k.w(this.$d, this);
|
|
@@ -307,13 +307,13 @@ var fs = { exports: {} };
|
|
|
307
307
|
return this.$d.toUTCString();
|
|
308
308
|
}, E;
|
|
309
309
|
}(), se = j.prototype;
|
|
310
|
-
return O.prototype = se, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", p], ["$D",
|
|
310
|
+
return O.prototype = se, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", p], ["$D", b]].forEach(function(E) {
|
|
311
311
|
se[E[1]] = function(v) {
|
|
312
312
|
return this.$g(v, E[0], E[1]);
|
|
313
313
|
};
|
|
314
314
|
}), O.extend = function(E, v) {
|
|
315
315
|
return E.$i || (E(v, j, O), E.$i = !0), O;
|
|
316
|
-
}, O.locale =
|
|
316
|
+
}, O.locale = V, O.isDayjs = G, O.unix = function(E) {
|
|
317
317
|
return O(1e3 * E);
|
|
318
318
|
}, O.en = q[$], O.Ls = q, O.p = {}, O;
|
|
319
319
|
});
|
|
@@ -328,29 +328,29 @@ var ms = { exports: {} };
|
|
|
328
328
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(f) {
|
|
329
329
|
return (f = +f) + (f > 68 ? 1900 : 2e3);
|
|
330
330
|
}, c = function(f) {
|
|
331
|
-
return function(
|
|
332
|
-
this[f] = +
|
|
331
|
+
return function(y) {
|
|
332
|
+
this[f] = +y;
|
|
333
333
|
};
|
|
334
334
|
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
|
|
335
|
-
(this.zone || (this.zone = {})).offset = function(
|
|
336
|
-
if (!
|
|
335
|
+
(this.zone || (this.zone = {})).offset = function(y) {
|
|
336
|
+
if (!y || y === "Z")
|
|
337
337
|
return 0;
|
|
338
|
-
var D =
|
|
338
|
+
var D = y.match(/([+-]|\d\d)/g), C = 60 * D[1] + (+D[2] || 0);
|
|
339
339
|
return C === 0 ? 0 : D[0] === "+" ? -C : C;
|
|
340
340
|
}(f);
|
|
341
341
|
}], d = function(f) {
|
|
342
|
-
var
|
|
343
|
-
return
|
|
344
|
-
}, h = function(f,
|
|
342
|
+
var y = a[f];
|
|
343
|
+
return y && (y.indexOf ? y : y.s.concat(y.f));
|
|
344
|
+
}, h = function(f, y) {
|
|
345
345
|
var D, C = a.meridiem;
|
|
346
346
|
if (C) {
|
|
347
347
|
for (var z = 1; z <= 24; z += 1)
|
|
348
|
-
if (f.indexOf(C(z, 0,
|
|
348
|
+
if (f.indexOf(C(z, 0, y)) > -1) {
|
|
349
349
|
D = z > 12;
|
|
350
350
|
break;
|
|
351
351
|
}
|
|
352
352
|
} else
|
|
353
|
-
D = f === (
|
|
353
|
+
D = f === (y ? "pm" : "PM");
|
|
354
354
|
return D;
|
|
355
355
|
}, p = { A: [n, function(f) {
|
|
356
356
|
this.afternoon = h(f, !1);
|
|
@@ -363,29 +363,29 @@ var ms = { exports: {} };
|
|
|
363
363
|
}], SSS: [/\d{3}/, function(f) {
|
|
364
364
|
this.milliseconds = +f;
|
|
365
365
|
}], s: [r, c("seconds")], ss: [r, c("seconds")], m: [r, c("minutes")], mm: [r, c("minutes")], H: [r, c("hours")], h: [r, c("hours")], HH: [r, c("hours")], hh: [r, c("hours")], D: [r, c("day")], DD: [s, c("day")], Do: [n, function(f) {
|
|
366
|
-
var
|
|
367
|
-
if (this.day = D[0],
|
|
366
|
+
var y = a.ordinal, D = f.match(/\d+/);
|
|
367
|
+
if (this.day = D[0], y)
|
|
368
368
|
for (var C = 1; C <= 31; C += 1)
|
|
369
|
-
|
|
369
|
+
y(C).replace(/\[|\]/g, "") === f && (this.day = C);
|
|
370
370
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(f) {
|
|
371
|
-
var
|
|
371
|
+
var y = d("months"), D = (d("monthsShort") || y.map(function(C) {
|
|
372
372
|
return C.slice(0, 3);
|
|
373
373
|
})).indexOf(f) + 1;
|
|
374
374
|
if (D < 1)
|
|
375
375
|
throw new Error();
|
|
376
376
|
this.month = D % 12 || D;
|
|
377
377
|
}], MMMM: [n, function(f) {
|
|
378
|
-
var
|
|
379
|
-
if (
|
|
378
|
+
var y = d("months").indexOf(f) + 1;
|
|
379
|
+
if (y < 1)
|
|
380
380
|
throw new Error();
|
|
381
|
-
this.month =
|
|
381
|
+
this.month = y % 12 || y;
|
|
382
382
|
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(f) {
|
|
383
383
|
this.year = l(f);
|
|
384
384
|
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
385
|
-
function
|
|
386
|
-
var
|
|
387
|
-
|
|
388
|
-
for (var C = (f =
|
|
385
|
+
function b(f) {
|
|
386
|
+
var y, D;
|
|
387
|
+
y = f, D = a && a.formats;
|
|
388
|
+
for (var C = (f = y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(V, O, k) {
|
|
389
389
|
var j = k && k.toUpperCase();
|
|
390
390
|
return O || D[k] || e[k] || D[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(se, E, v) {
|
|
391
391
|
return E || v.slice(1);
|
|
@@ -394,14 +394,14 @@ var ms = { exports: {} };
|
|
|
394
394
|
var $ = C[N], q = p[$], K = q && q[0], G = q && q[1];
|
|
395
395
|
C[N] = G ? { regex: K, parser: G } : $.replace(/^\[|\]$/g, "");
|
|
396
396
|
}
|
|
397
|
-
return function(
|
|
397
|
+
return function(V) {
|
|
398
398
|
for (var O = {}, k = 0, j = 0; k < z; k += 1) {
|
|
399
399
|
var se = C[k];
|
|
400
400
|
if (typeof se == "string")
|
|
401
401
|
j += se.length;
|
|
402
402
|
else {
|
|
403
|
-
var E = se.regex, v = se.parser, m =
|
|
404
|
-
v.call(O, x),
|
|
403
|
+
var E = se.regex, v = se.parser, m = V.slice(j), x = E.exec(m)[0];
|
|
404
|
+
v.call(O, x), V = V.replace(x, "");
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
return function(_) {
|
|
@@ -413,22 +413,22 @@ var ms = { exports: {} };
|
|
|
413
413
|
}(O), O;
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
|
-
return function(f,
|
|
416
|
+
return function(f, y, D) {
|
|
417
417
|
D.p.customParseFormat = !0, f && f.parseTwoDigitYear && (l = f.parseTwoDigitYear);
|
|
418
|
-
var C =
|
|
418
|
+
var C = y.prototype, z = C.parse;
|
|
419
419
|
C.parse = function(N) {
|
|
420
420
|
var $ = N.date, q = N.utc, K = N.args;
|
|
421
421
|
this.$u = q;
|
|
422
422
|
var G = K[1];
|
|
423
423
|
if (typeof G == "string") {
|
|
424
|
-
var
|
|
425
|
-
O && (j = K[2]), a = this.$locale(), !
|
|
424
|
+
var V = K[2] === !0, O = K[3] === !0, k = V || O, j = K[2];
|
|
425
|
+
O && (j = K[2]), a = this.$locale(), !V && j && (a = D.Ls[j]), this.$d = function(m, x, _) {
|
|
426
426
|
try {
|
|
427
427
|
if (["x", "X"].indexOf(x) > -1)
|
|
428
428
|
return new Date((x === "X" ? 1e3 : 1) * m);
|
|
429
|
-
var A =
|
|
429
|
+
var A = b(x)(m), S = A.year, F = A.month, H = A.day, U = A.hours, W = A.minutes, ee = A.seconds, he = A.milliseconds, ce = A.zone, te = /* @__PURE__ */ new Date(), Z = H || (S || F ? 1 : te.getDate()), L = S || te.getFullYear(), Y = 0;
|
|
430
430
|
S && !F || (Y = F > 0 ? F - 1 : te.getMonth());
|
|
431
|
-
var pe =
|
|
431
|
+
var pe = U || 0, ue = W || 0, de = ee || 0, ge = he || 0;
|
|
432
432
|
return ce ? new Date(Date.UTC(L, Y, Z, pe, ue, de, ge + 60 * ce.offset * 1e3)) : _ ? new Date(Date.UTC(L, Y, Z, pe, ue, de, ge)) : new Date(L, Y, Z, pe, ue, de, ge);
|
|
433
433
|
} catch (P) {
|
|
434
434
|
return /* @__PURE__ */ new Date("");
|
|
@@ -839,7 +839,7 @@ const _o = {
|
|
|
839
839
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
840
840
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
841
841
|
*/
|
|
842
|
-
function Se(o, t = "24.5.
|
|
842
|
+
function Se(o, t = "24.5.10") {
|
|
843
843
|
Object.defineProperty(o, "version", {
|
|
844
844
|
get() {
|
|
845
845
|
return t;
|
|
@@ -871,17 +871,17 @@ Se(pn);
|
|
|
871
871
|
* Copyright 2019 Google LLC
|
|
872
872
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
875
|
-
let
|
|
874
|
+
const It = globalThis, Ri = It.ShadowRoot && (It.ShadyCSS === void 0 || It.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Hi = Symbol(), go = /* @__PURE__ */ new WeakMap();
|
|
875
|
+
let Bi = class {
|
|
876
876
|
constructor(t, e, i) {
|
|
877
|
-
if (this._$cssResult$ = !0, i !==
|
|
877
|
+
if (this._$cssResult$ = !0, i !== Hi)
|
|
878
878
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
879
879
|
this.cssText = t, this.t = e;
|
|
880
880
|
}
|
|
881
881
|
get styleSheet() {
|
|
882
882
|
let t = this.o;
|
|
883
883
|
const e = this.t;
|
|
884
|
-
if (
|
|
884
|
+
if (Ri && t === void 0) {
|
|
885
885
|
const i = e !== void 0 && e.length === 1;
|
|
886
886
|
i && (t = go.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && go.set(e, t));
|
|
887
887
|
}
|
|
@@ -891,7 +891,7 @@ let Yi = class {
|
|
|
891
891
|
return this.cssText;
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
|
-
const fn = (o) => new
|
|
894
|
+
const fn = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Hi), R = (o, ...t) => {
|
|
895
895
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
896
896
|
if (n._$cssResult$ === !0)
|
|
897
897
|
return n.cssText;
|
|
@@ -899,16 +899,16 @@ const fn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, Bi), R = (o,
|
|
|
899
899
|
return n;
|
|
900
900
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
901
901
|
})(s) + o[r + 1], o[0]);
|
|
902
|
-
return new
|
|
902
|
+
return new Bi(e, o, Hi);
|
|
903
903
|
}, _s = (o, t) => {
|
|
904
|
-
if (
|
|
904
|
+
if (Ri)
|
|
905
905
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
906
906
|
else
|
|
907
907
|
for (const e of t) {
|
|
908
|
-
const i = document.createElement("style"), s =
|
|
908
|
+
const i = document.createElement("style"), s = It.litNonce;
|
|
909
909
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
910
910
|
}
|
|
911
|
-
}, vo =
|
|
911
|
+
}, vo = Ri ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
912
912
|
let e = "";
|
|
913
913
|
for (const i of t.cssRules)
|
|
914
914
|
e += i.cssText;
|
|
@@ -919,7 +919,7 @@ const fn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, Bi), R = (o,
|
|
|
919
919
|
* Copyright 2017 Google LLC
|
|
920
920
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
921
921
|
*/
|
|
922
|
-
const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnPropertyNames: vn, getOwnPropertySymbols:
|
|
922
|
+
const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnPropertyNames: vn, getOwnPropertySymbols: bn, getPrototypeOf: yn } = Object, Me = globalThis, bo = Me.trustedTypes, xn = bo ? bo.emptyScript : "", Xt = Me.reactiveElementPolyfillSupport, ht = (o, t) => o, _i = { toAttribute(o, t) {
|
|
923
923
|
switch (t) {
|
|
924
924
|
case Boolean:
|
|
925
925
|
o = o ? xn : null;
|
|
@@ -947,10 +947,10 @@ const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnProperty
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
return e;
|
|
950
|
-
} }, gs = (o, t) => !mn(o, t),
|
|
950
|
+
} }, gs = (o, t) => !mn(o, t), yo = { attribute: !0, type: String, converter: _i, reflect: !1, hasChanged: gs };
|
|
951
951
|
var ns, as;
|
|
952
952
|
(ns = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (as = Me.litPropertyMetadata) != null || (Me.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
953
|
-
class
|
|
953
|
+
class qe extends HTMLElement {
|
|
954
954
|
static addInitializer(t) {
|
|
955
955
|
var e;
|
|
956
956
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -958,8 +958,8 @@ class Ke extends HTMLElement {
|
|
|
958
958
|
static get observedAttributes() {
|
|
959
959
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
960
960
|
}
|
|
961
|
-
static createProperty(t, e =
|
|
962
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
961
|
+
static createProperty(t, e = yo) {
|
|
962
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
963
963
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
964
964
|
s !== void 0 && _n(this.prototype, t, s);
|
|
965
965
|
}
|
|
@@ -971,26 +971,28 @@ class Ke extends HTMLElement {
|
|
|
971
971
|
}, set(a) {
|
|
972
972
|
this[e] = a;
|
|
973
973
|
} };
|
|
974
|
-
return { get
|
|
974
|
+
return { get() {
|
|
975
|
+
return s == null ? void 0 : s.call(this);
|
|
976
|
+
}, set(a) {
|
|
975
977
|
const l = s == null ? void 0 : s.call(this);
|
|
976
|
-
r
|
|
978
|
+
r.call(this, a), this.requestUpdate(t, l, i);
|
|
977
979
|
}, configurable: !0, enumerable: !0 };
|
|
978
980
|
}
|
|
979
981
|
static getPropertyOptions(t) {
|
|
980
982
|
var e;
|
|
981
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
983
|
+
return (e = this.elementProperties.get(t)) != null ? e : yo;
|
|
982
984
|
}
|
|
983
985
|
static _$Ei() {
|
|
984
|
-
if (this.hasOwnProperty(
|
|
986
|
+
if (this.hasOwnProperty(ht("elementProperties")))
|
|
985
987
|
return;
|
|
986
|
-
const t =
|
|
988
|
+
const t = yn(this);
|
|
987
989
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
988
990
|
}
|
|
989
991
|
static finalize() {
|
|
990
|
-
if (this.hasOwnProperty(
|
|
992
|
+
if (this.hasOwnProperty(ht("finalized")))
|
|
991
993
|
return;
|
|
992
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
993
|
-
const e = this.properties, i = [...vn(e), ...
|
|
994
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ht("properties"))) {
|
|
995
|
+
const e = this.properties, i = [...vn(e), ...bn(e)];
|
|
994
996
|
for (const s of i)
|
|
995
997
|
this.createProperty(s, e[s]);
|
|
996
998
|
}
|
|
@@ -1067,38 +1069,37 @@ class Ke extends HTMLElement {
|
|
|
1067
1069
|
attributeChangedCallback(t, e, i) {
|
|
1068
1070
|
this._$AK(t, i);
|
|
1069
1071
|
}
|
|
1070
|
-
_$
|
|
1072
|
+
_$EC(t, e) {
|
|
1071
1073
|
var r;
|
|
1072
1074
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
1073
1075
|
if (s !== void 0 && i.reflect === !0) {
|
|
1074
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
1076
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : _i).toAttribute(e, i.type);
|
|
1075
1077
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
1076
1078
|
}
|
|
1077
1079
|
}
|
|
1078
1080
|
_$AK(t, e) {
|
|
1079
|
-
var r
|
|
1081
|
+
var r;
|
|
1080
1082
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
1081
1083
|
if (s !== void 0 && this._$Em !== s) {
|
|
1082
|
-
const
|
|
1083
|
-
this._$Em = s, this[s] =
|
|
1084
|
+
const n = i.getPropertyOptions(s), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : _i;
|
|
1085
|
+
this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
|
|
1084
1086
|
}
|
|
1085
1087
|
}
|
|
1086
1088
|
requestUpdate(t, e, i) {
|
|
1087
|
-
var s
|
|
1089
|
+
var s;
|
|
1088
1090
|
if (t !== void 0) {
|
|
1089
|
-
|
|
1090
|
-
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : gs)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
1091
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : gs)(this[t], e))
|
|
1091
1092
|
return;
|
|
1092
|
-
this.
|
|
1093
|
+
this.P(t, e, i);
|
|
1093
1094
|
}
|
|
1094
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
1095
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
1095
1096
|
}
|
|
1096
|
-
|
|
1097
|
-
var
|
|
1098
|
-
|
|
1097
|
+
P(t, e, i) {
|
|
1098
|
+
var s;
|
|
1099
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && ((s = this._$Ej) != null ? s : this._$Ej = /* @__PURE__ */ new Set()).add(t);
|
|
1099
1100
|
}
|
|
1100
|
-
_$
|
|
1101
|
-
return
|
|
1101
|
+
_$ET() {
|
|
1102
|
+
return st(this, null, function* () {
|
|
1102
1103
|
this.isUpdatePending = !0;
|
|
1103
1104
|
try {
|
|
1104
1105
|
yield this._$ES;
|
|
@@ -1124,10 +1125,8 @@ class Ke extends HTMLElement {
|
|
|
1124
1125
|
}
|
|
1125
1126
|
const r = this.constructor.elementProperties;
|
|
1126
1127
|
if (r.size > 0)
|
|
1127
|
-
for (const [n, a] of r)
|
|
1128
|
-
|
|
1129
|
-
l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, a, c);
|
|
1130
|
-
}
|
|
1128
|
+
for (const [n, a] of r)
|
|
1129
|
+
a.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], a);
|
|
1131
1130
|
}
|
|
1132
1131
|
let t = !1;
|
|
1133
1132
|
const e = this._$AL;
|
|
@@ -1135,9 +1134,9 @@ class Ke extends HTMLElement {
|
|
|
1135
1134
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
1136
1135
|
var n;
|
|
1137
1136
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
1138
|
-
}), this.update(e)) : this._$
|
|
1137
|
+
}), this.update(e)) : this._$EU();
|
|
1139
1138
|
} catch (r) {
|
|
1140
|
-
throw t = !1, this._$
|
|
1139
|
+
throw t = !1, this._$EU(), r;
|
|
1141
1140
|
}
|
|
1142
1141
|
t && this._$AE(e);
|
|
1143
1142
|
}
|
|
@@ -1150,7 +1149,7 @@ class Ke extends HTMLElement {
|
|
|
1150
1149
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
1151
1150
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
1152
1151
|
}
|
|
1153
|
-
_$
|
|
1152
|
+
_$EU() {
|
|
1154
1153
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
1155
1154
|
}
|
|
1156
1155
|
get updateComplete() {
|
|
@@ -1163,7 +1162,7 @@ class Ke extends HTMLElement {
|
|
|
1163
1162
|
return !0;
|
|
1164
1163
|
}
|
|
1165
1164
|
update(t) {
|
|
1166
|
-
this._$
|
|
1165
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
1167
1166
|
}
|
|
1168
1167
|
updated(t) {
|
|
1169
1168
|
}
|
|
@@ -1171,40 +1170,40 @@ class Ke extends HTMLElement {
|
|
|
1171
1170
|
}
|
|
1172
1171
|
}
|
|
1173
1172
|
var ls;
|
|
1174
|
-
|
|
1173
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[ht("elementProperties")] = /* @__PURE__ */ new Map(), qe[ht("finalized")] = /* @__PURE__ */ new Map(), Xt == null || Xt({ ReactiveElement: qe }), ((ls = Me.reactiveElementVersions) != null ? ls : Me.reactiveElementVersions = []).push("2.0.4");
|
|
1175
1174
|
/**
|
|
1176
1175
|
* @license
|
|
1177
1176
|
* Copyright 2017 Google LLC
|
|
1178
1177
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1179
1178
|
*/
|
|
1180
|
-
const
|
|
1181
|
-
\f\r]`,
|
|
1182
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), So = /'/g, Ao = /"/g,
|
|
1179
|
+
const pt = globalThis, zt = pt.trustedTypes, xo = zt ? zt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, vs = "$lit$", Te = `lit$${Math.random().toFixed(9).slice(2)}$`, bs = "?" + Te, wn = `<${bs}>`, Be = document, mt = () => Be.createComment(""), _t = (o) => o === null || typeof o != "object" && typeof o != "function", Yi = Array.isArray, En = (o) => Yi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Zt = `[
|
|
1180
|
+
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wo = /-->/g, Eo = />/g, ze = RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^
|
|
1181
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), So = /'/g, Ao = /"/g, ys = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), re = Symbol.for("lit-nothing"), Co = /* @__PURE__ */ new WeakMap(), Le = Be.createTreeWalker(Be, 129);
|
|
1183
1182
|
function xs(o, t) {
|
|
1184
|
-
if (!
|
|
1183
|
+
if (!Yi(o) || !o.hasOwnProperty("raw"))
|
|
1185
1184
|
throw Error("invalid template strings array");
|
|
1186
1185
|
return xo !== void 0 ? xo.createHTML(t) : t;
|
|
1187
1186
|
}
|
|
1188
1187
|
const Sn = (o, t) => {
|
|
1189
1188
|
const e = o.length - 1, i = [];
|
|
1190
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
1189
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = rt;
|
|
1191
1190
|
for (let a = 0; a < e; a++) {
|
|
1192
1191
|
const l = o[a];
|
|
1193
1192
|
let c, u, d = -1, h = 0;
|
|
1194
1193
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
1195
|
-
h = n.lastIndex, n ===
|
|
1194
|
+
h = n.lastIndex, n === rt ? u[1] === "!--" ? n = wo : u[1] !== void 0 ? n = Eo : u[2] !== void 0 ? (ys.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s != null ? s : rt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? Ao : So) : n === Ao || n === So ? n = ze : n === wo || n === Eo ? n = rt : (n = ze, s = void 0);
|
|
1196
1195
|
const p = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
1197
|
-
r += n ===
|
|
1196
|
+
r += n === rt ? l + wn : d >= 0 ? (i.push(c), l.slice(0, d) + vs + l.slice(d) + Te + p) : l + Te + (d === -2 ? a : p);
|
|
1198
1197
|
}
|
|
1199
1198
|
return [xs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
1200
1199
|
};
|
|
1201
|
-
class
|
|
1200
|
+
class gt {
|
|
1202
1201
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
1203
1202
|
let s;
|
|
1204
1203
|
this.parts = [];
|
|
1205
1204
|
let r = 0, n = 0;
|
|
1206
1205
|
const a = t.length - 1, l = this.parts, [c, u] = Sn(t, e);
|
|
1207
|
-
if (this.el =
|
|
1206
|
+
if (this.el = gt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1208
1207
|
const d = this.el.content.firstChild;
|
|
1209
1208
|
d.replaceWith(...d.childNodes);
|
|
1210
1209
|
}
|
|
@@ -1213,21 +1212,21 @@ class vt {
|
|
|
1213
1212
|
if (s.hasAttributes())
|
|
1214
1213
|
for (const d of s.getAttributeNames())
|
|
1215
1214
|
if (d.endsWith(vs)) {
|
|
1216
|
-
const h = u[n++], p = s.getAttribute(d).split(Te),
|
|
1217
|
-
l.push({ type: 1, index: r, name:
|
|
1215
|
+
const h = u[n++], p = s.getAttribute(d).split(Te), b = /([.?@])?(.*)/.exec(h);
|
|
1216
|
+
l.push({ type: 1, index: r, name: b[2], strings: p, ctor: b[1] === "." ? Cn : b[1] === "?" ? Dn : b[1] === "@" ? kn : Ut }), s.removeAttribute(d);
|
|
1218
1217
|
} else
|
|
1219
1218
|
d.startsWith(Te) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
1220
|
-
if (
|
|
1219
|
+
if (ys.test(s.tagName)) {
|
|
1221
1220
|
const d = s.textContent.split(Te), h = d.length - 1;
|
|
1222
1221
|
if (h > 0) {
|
|
1223
|
-
s.textContent =
|
|
1222
|
+
s.textContent = zt ? zt.emptyScript : "";
|
|
1224
1223
|
for (let p = 0; p < h; p++)
|
|
1225
|
-
s.append(d[p],
|
|
1226
|
-
s.append(d[h],
|
|
1224
|
+
s.append(d[p], mt()), Le.nextNode(), l.push({ type: 2, index: ++r });
|
|
1225
|
+
s.append(d[h], mt());
|
|
1227
1226
|
}
|
|
1228
1227
|
}
|
|
1229
1228
|
} else if (s.nodeType === 8)
|
|
1230
|
-
if (s.data ===
|
|
1229
|
+
if (s.data === bs)
|
|
1231
1230
|
l.push({ type: 2, index: r });
|
|
1232
1231
|
else {
|
|
1233
1232
|
let d = -1;
|
|
@@ -1238,17 +1237,17 @@ class vt {
|
|
|
1238
1237
|
}
|
|
1239
1238
|
}
|
|
1240
1239
|
static createElement(t, e) {
|
|
1241
|
-
const i =
|
|
1240
|
+
const i = Be.createElement("template");
|
|
1242
1241
|
return i.innerHTML = t, i;
|
|
1243
1242
|
}
|
|
1244
1243
|
}
|
|
1245
|
-
function
|
|
1244
|
+
function Qe(o, t, e = o, i) {
|
|
1246
1245
|
var n, a, l;
|
|
1247
|
-
if (t ===
|
|
1246
|
+
if (t === Ze)
|
|
1248
1247
|
return t;
|
|
1249
1248
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
1250
|
-
const r =
|
|
1251
|
-
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t =
|
|
1249
|
+
const r = _t(t) ? void 0 : t._$litDirective$;
|
|
1250
|
+
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
1252
1251
|
}
|
|
1253
1252
|
class An {
|
|
1254
1253
|
constructor(t, e) {
|
|
@@ -1262,17 +1261,17 @@ class An {
|
|
|
1262
1261
|
}
|
|
1263
1262
|
u(t) {
|
|
1264
1263
|
var c;
|
|
1265
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c :
|
|
1264
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c : Be).importNode(e, !0);
|
|
1266
1265
|
Le.currentNode = s;
|
|
1267
1266
|
let r = Le.nextNode(), n = 0, a = 0, l = i[0];
|
|
1268
1267
|
for (; l !== void 0; ) {
|
|
1269
1268
|
if (n === l.index) {
|
|
1270
1269
|
let u;
|
|
1271
|
-
l.type === 2 ? u = new
|
|
1270
|
+
l.type === 2 ? u = new St(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Pn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
1272
1271
|
}
|
|
1273
1272
|
n !== (l == null ? void 0 : l.index) && (r = Le.nextNode(), n++);
|
|
1274
1273
|
}
|
|
1275
|
-
return Le.currentNode =
|
|
1274
|
+
return Le.currentNode = Be, s;
|
|
1276
1275
|
}
|
|
1277
1276
|
p(t) {
|
|
1278
1277
|
let e = 0;
|
|
@@ -1280,7 +1279,7 @@ class An {
|
|
|
1280
1279
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
1281
1280
|
}
|
|
1282
1281
|
}
|
|
1283
|
-
class
|
|
1282
|
+
class St {
|
|
1284
1283
|
get _$AU() {
|
|
1285
1284
|
var t, e;
|
|
1286
1285
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -1301,7 +1300,7 @@ class At {
|
|
|
1301
1300
|
return this._$AB;
|
|
1302
1301
|
}
|
|
1303
1302
|
_$AI(t, e = this) {
|
|
1304
|
-
t =
|
|
1303
|
+
t = Qe(this, t, e), _t(t) ? t === re || t == null || t === "" ? (this._$AH !== re && this._$AR(), this._$AH = re) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : En(t) ? this.k(t) : this._(t);
|
|
1305
1304
|
}
|
|
1306
1305
|
O(t) {
|
|
1307
1306
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1310,11 +1309,11 @@ class At {
|
|
|
1310
1309
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1311
1310
|
}
|
|
1312
1311
|
_(t) {
|
|
1313
|
-
this._$AH !== re &&
|
|
1312
|
+
this._$AH !== re && _t(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Be.createTextNode(t)), this._$AH = t;
|
|
1314
1313
|
}
|
|
1315
1314
|
$(t) {
|
|
1316
1315
|
var r;
|
|
1317
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
1316
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = gt.createElement(xs(i.h, i.h[0]), this.options)), i);
|
|
1318
1317
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
1319
1318
|
this._$AH.p(e);
|
|
1320
1319
|
else {
|
|
@@ -1324,14 +1323,14 @@ class At {
|
|
|
1324
1323
|
}
|
|
1325
1324
|
_$AC(t) {
|
|
1326
1325
|
let e = Co.get(t.strings);
|
|
1327
|
-
return e === void 0 && Co.set(t.strings, e = new
|
|
1326
|
+
return e === void 0 && Co.set(t.strings, e = new gt(t)), e;
|
|
1328
1327
|
}
|
|
1329
1328
|
k(t) {
|
|
1330
|
-
|
|
1329
|
+
Yi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1331
1330
|
const e = this._$AH;
|
|
1332
1331
|
let i, s = 0;
|
|
1333
1332
|
for (const r of t)
|
|
1334
|
-
s === e.length ? e.push(i = new
|
|
1333
|
+
s === e.length ? e.push(i = new St(this.O(mt()), this.O(mt()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
1335
1334
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
1336
1335
|
}
|
|
1337
1336
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -1360,12 +1359,12 @@ class Ut {
|
|
|
1360
1359
|
const r = this.strings;
|
|
1361
1360
|
let n = !1;
|
|
1362
1361
|
if (r === void 0)
|
|
1363
|
-
t =
|
|
1362
|
+
t = Qe(this, t, e, 0), n = !_t(t) || t !== this._$AH && t !== Ze, n && (this._$AH = t);
|
|
1364
1363
|
else {
|
|
1365
1364
|
const a = t;
|
|
1366
1365
|
let l, c;
|
|
1367
1366
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
1368
|
-
c =
|
|
1367
|
+
c = Qe(this, a[i + l], e, l), c === Ze && (c = this._$AH[l]), n || (n = !_t(c) || c !== this._$AH[l]), c === re ? t = re : t !== re && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
|
|
1369
1368
|
}
|
|
1370
1369
|
n && !s && this.j(t);
|
|
1371
1370
|
}
|
|
@@ -1395,7 +1394,7 @@ class kn extends Ut {
|
|
|
1395
1394
|
}
|
|
1396
1395
|
_$AI(t, e = this) {
|
|
1397
1396
|
var n;
|
|
1398
|
-
if ((t = (n =
|
|
1397
|
+
if ((t = (n = Qe(this, t, e, 0)) != null ? n : re) === Ze)
|
|
1399
1398
|
return;
|
|
1400
1399
|
const i = this._$AH, s = t === re && i !== re || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== re && (i === re || s);
|
|
1401
1400
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -1413,19 +1412,19 @@ class Pn {
|
|
|
1413
1412
|
return this._$AM._$AU;
|
|
1414
1413
|
}
|
|
1415
1414
|
_$AI(t) {
|
|
1416
|
-
|
|
1415
|
+
Qe(this, t);
|
|
1417
1416
|
}
|
|
1418
1417
|
}
|
|
1419
|
-
const
|
|
1418
|
+
const Qt = pt.litHtmlPolyfillSupport;
|
|
1420
1419
|
var cs;
|
|
1421
|
-
|
|
1420
|
+
Qt == null || Qt(gt, St), ((cs = pt.litHtmlVersions) != null ? cs : pt.litHtmlVersions = []).push("3.2.1");
|
|
1422
1421
|
const Tn = (o, t, e) => {
|
|
1423
1422
|
var r, n;
|
|
1424
1423
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
1425
1424
|
let s = i._$litPart$;
|
|
1426
1425
|
if (s === void 0) {
|
|
1427
1426
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
1428
|
-
i._$litPart$ = s = new
|
|
1427
|
+
i._$litPart$ = s = new St(t.insertBefore(mt(), a), a, void 0, e != null ? e : {});
|
|
1429
1428
|
}
|
|
1430
1429
|
return s._$AI(o), s;
|
|
1431
1430
|
};
|
|
@@ -1434,8 +1433,7 @@ const Tn = (o, t, e) => {
|
|
|
1434
1433
|
* Copyright 2017 Google LLC
|
|
1435
1434
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1436
1435
|
*/
|
|
1437
|
-
|
|
1438
|
-
class Ge extends Ke {
|
|
1436
|
+
class Ke extends qe {
|
|
1439
1437
|
constructor() {
|
|
1440
1438
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1441
1439
|
}
|
|
@@ -1457,15 +1455,15 @@ class Ge extends Ke {
|
|
|
1457
1455
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1458
1456
|
}
|
|
1459
1457
|
render() {
|
|
1460
|
-
return
|
|
1458
|
+
return Ze;
|
|
1461
1459
|
}
|
|
1462
1460
|
}
|
|
1463
1461
|
var us;
|
|
1464
|
-
|
|
1465
|
-
const
|
|
1466
|
-
|
|
1462
|
+
Ke._$litElement$ = !0, Ke.finalized = !0, (us = globalThis.litElementHydrateSupport) == null || us.call(globalThis, { LitElement: Ke });
|
|
1463
|
+
const ei = globalThis.litElementPolyfillSupport;
|
|
1464
|
+
ei == null || ei({ LitElement: Ke });
|
|
1467
1465
|
var ds;
|
|
1468
|
-
((ds =
|
|
1466
|
+
((ds = globalThis.litElementVersions) != null ? ds : globalThis.litElementVersions = []).push("4.1.1");
|
|
1469
1467
|
/**
|
|
1470
1468
|
* @license
|
|
1471
1469
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1510,7 +1508,7 @@ const Mn = (o) => class extends o {
|
|
|
1510
1508
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1511
1509
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1512
1510
|
*/
|
|
1513
|
-
const ws = [],
|
|
1511
|
+
const ws = [], gi = /* @__PURE__ */ new Set(), ji = /* @__PURE__ */ new Set();
|
|
1514
1512
|
function Es(o) {
|
|
1515
1513
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
1516
1514
|
}
|
|
@@ -1518,7 +1516,7 @@ function On(o) {
|
|
|
1518
1516
|
return Es(customElements.get(o));
|
|
1519
1517
|
}
|
|
1520
1518
|
function In(o = []) {
|
|
1521
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
1519
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Bi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
1522
1520
|
}
|
|
1523
1521
|
function Ss(o, t) {
|
|
1524
1522
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -1527,36 +1525,36 @@ function As(o) {
|
|
|
1527
1525
|
return o.map((t) => t.cssText).join(`
|
|
1528
1526
|
`);
|
|
1529
1527
|
}
|
|
1530
|
-
const
|
|
1528
|
+
const Lt = "vaadin-themable-mixin-style";
|
|
1531
1529
|
function Fn(o, t) {
|
|
1532
1530
|
const e = document.createElement("style");
|
|
1533
|
-
e.id =
|
|
1531
|
+
e.id = Lt, e.textContent = As(o), t.content.appendChild(e);
|
|
1534
1532
|
}
|
|
1535
1533
|
function Nn(o) {
|
|
1536
1534
|
if (!o.shadowRoot)
|
|
1537
1535
|
return;
|
|
1538
1536
|
const t = o.constructor;
|
|
1539
|
-
if (o instanceof
|
|
1537
|
+
if (o instanceof Ke)
|
|
1540
1538
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), _s(o.shadowRoot, t.elementStyles);
|
|
1541
1539
|
else {
|
|
1542
|
-
const e = o.shadowRoot.getElementById(
|
|
1543
|
-
e.textContent = i.content.getElementById(
|
|
1540
|
+
const e = o.shadowRoot.getElementById(Lt), i = t.prototype._template;
|
|
1541
|
+
e.textContent = i.content.getElementById(Lt).textContent;
|
|
1544
1542
|
}
|
|
1545
1543
|
}
|
|
1546
1544
|
function zn(o) {
|
|
1547
|
-
|
|
1545
|
+
gi.forEach((t) => {
|
|
1548
1546
|
const e = t.deref();
|
|
1549
|
-
e instanceof o ? Nn(e) : e ||
|
|
1547
|
+
e instanceof o ? Nn(e) : e || gi.delete(t);
|
|
1550
1548
|
});
|
|
1551
1549
|
}
|
|
1552
1550
|
function Cs(o) {
|
|
1553
|
-
if (o.prototype instanceof
|
|
1551
|
+
if (o.prototype instanceof Ke)
|
|
1554
1552
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
1555
1553
|
else {
|
|
1556
1554
|
const t = o.prototype._template;
|
|
1557
|
-
t.content.getElementById(
|
|
1555
|
+
t.content.getElementById(Lt).textContent = As(o.getStylesForThis());
|
|
1558
1556
|
}
|
|
1559
|
-
|
|
1557
|
+
ji.forEach((t) => {
|
|
1560
1558
|
const e = customElements.get(t);
|
|
1561
1559
|
e !== o && e.prototype instanceof o && Cs(e);
|
|
1562
1560
|
});
|
|
@@ -1573,7 +1571,7 @@ function Q(o, t, e = {}) {
|
|
|
1573
1571
|
styles: t,
|
|
1574
1572
|
include: e.include,
|
|
1575
1573
|
moduleId: e.moduleId
|
|
1576
|
-
}), o &&
|
|
1574
|
+
}), o && ji.forEach((i) => {
|
|
1577
1575
|
if (Ss(o, i) && On(i)) {
|
|
1578
1576
|
const s = customElements.get(i);
|
|
1579
1577
|
Ln(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -1582,7 +1580,7 @@ function Q(o, t, e = {}) {
|
|
|
1582
1580
|
}
|
|
1583
1581
|
});
|
|
1584
1582
|
}
|
|
1585
|
-
function
|
|
1583
|
+
function vi() {
|
|
1586
1584
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ws;
|
|
1587
1585
|
}
|
|
1588
1586
|
function $n(o = "") {
|
|
@@ -1592,29 +1590,29 @@ function $n(o = "") {
|
|
|
1592
1590
|
function Ds(o) {
|
|
1593
1591
|
const t = [];
|
|
1594
1592
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
1595
|
-
const i =
|
|
1593
|
+
const i = vi().find((s) => s.moduleId === e);
|
|
1596
1594
|
i ? t.push(...Ds(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
1597
1595
|
}, o.styles), t;
|
|
1598
1596
|
}
|
|
1599
1597
|
function Rn(o) {
|
|
1600
|
-
const t = `${o}-default-theme`, e =
|
|
1598
|
+
const t = `${o}-default-theme`, e = vi().filter((i) => i.moduleId !== t && Ss(i.themeFor, o)).map((i) => Dt(Ct({}, i), {
|
|
1601
1599
|
// Prepend styles from included themes
|
|
1602
1600
|
styles: [...Ds(i), ...i.styles],
|
|
1603
1601
|
// Map moduleId to includePriority
|
|
1604
1602
|
includePriority: $n(i.moduleId)
|
|
1605
1603
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
1606
|
-
return e.length > 0 ? e :
|
|
1604
|
+
return e.length > 0 ? e : vi().filter((i) => i.moduleId === t);
|
|
1607
1605
|
}
|
|
1608
|
-
const
|
|
1606
|
+
const Ye = (o) => class extends Mn(o) {
|
|
1609
1607
|
constructor() {
|
|
1610
|
-
super(),
|
|
1608
|
+
super(), gi.add(new WeakRef(this));
|
|
1611
1609
|
}
|
|
1612
1610
|
/**
|
|
1613
1611
|
* Covers PolymerElement based component styling
|
|
1614
1612
|
* @protected
|
|
1615
1613
|
*/
|
|
1616
1614
|
static finalize() {
|
|
1617
|
-
if (super.finalize(), this.is &&
|
|
1615
|
+
if (super.finalize(), this.is && ji.add(this.is), this.elementStyles)
|
|
1618
1616
|
return;
|
|
1619
1617
|
const e = this.prototype._template;
|
|
1620
1618
|
!e || Es(this) || Fn(this.getStylesForThis(), e);
|
|
@@ -1649,7 +1647,7 @@ const Hn = (o, ...t) => {
|
|
|
1649
1647
|
const e = document.createElement("style");
|
|
1650
1648
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
1651
1649
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
1652
|
-
},
|
|
1650
|
+
}, it = (o, ...t) => {
|
|
1653
1651
|
Hn(`lumo-${o}`, t);
|
|
1654
1652
|
};
|
|
1655
1653
|
/**
|
|
@@ -1673,7 +1671,7 @@ const Bn = R`
|
|
|
1673
1671
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
1674
1672
|
}
|
|
1675
1673
|
`;
|
|
1676
|
-
|
|
1674
|
+
it("sizing-props", Bn);
|
|
1677
1675
|
/**
|
|
1678
1676
|
* @license
|
|
1679
1677
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1703,7 +1701,7 @@ const Yn = R`
|
|
|
1703
1701
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
1704
1702
|
}
|
|
1705
1703
|
`;
|
|
1706
|
-
|
|
1704
|
+
it("spacing-props", Yn);
|
|
1707
1705
|
/**
|
|
1708
1706
|
* @license
|
|
1709
1707
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1811,13 +1809,13 @@ R`
|
|
|
1811
1809
|
--vaadin-input-field-value-font-weight: 500;
|
|
1812
1810
|
}
|
|
1813
1811
|
`;
|
|
1814
|
-
|
|
1812
|
+
it("style-props", jn);
|
|
1815
1813
|
/**
|
|
1816
1814
|
* @license
|
|
1817
1815
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1818
1816
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1819
1817
|
*/
|
|
1820
|
-
const
|
|
1818
|
+
const Un = R`
|
|
1821
1819
|
:host {
|
|
1822
1820
|
/* Base (background) */
|
|
1823
1821
|
--lumo-base-color: #fff;
|
|
@@ -1903,8 +1901,8 @@ const Vn = R`
|
|
|
1903
1901
|
}
|
|
1904
1902
|
}
|
|
1905
1903
|
`;
|
|
1906
|
-
|
|
1907
|
-
const
|
|
1904
|
+
it("color-props", Un);
|
|
1905
|
+
const Vn = R`
|
|
1908
1906
|
[theme~='dark'] {
|
|
1909
1907
|
/* Base (background) */
|
|
1910
1908
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -2023,7 +2021,7 @@ const Un = R`
|
|
|
2023
2021
|
background: transparent;
|
|
2024
2022
|
}
|
|
2025
2023
|
`;
|
|
2026
|
-
Q("",
|
|
2024
|
+
Q("", Vn, { moduleId: "lumo-color" });
|
|
2027
2025
|
/**
|
|
2028
2026
|
* @license
|
|
2029
2027
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2143,7 +2141,7 @@ const Wn = R`
|
|
|
2143
2141
|
}
|
|
2144
2142
|
`;
|
|
2145
2143
|
Q("", qn, { moduleId: "lumo-typography" });
|
|
2146
|
-
|
|
2144
|
+
it("typography-props", Wn);
|
|
2147
2145
|
/**
|
|
2148
2146
|
* @license
|
|
2149
2147
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -3222,7 +3220,7 @@ const Xn = R`
|
|
|
3222
3220
|
--lumo-icons-user: '\\ea2a';
|
|
3223
3221
|
}
|
|
3224
3222
|
`;
|
|
3225
|
-
|
|
3223
|
+
it("font-icons", Xn);
|
|
3226
3224
|
/**
|
|
3227
3225
|
* @license
|
|
3228
3226
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -3623,19 +3621,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3623
3621
|
Code distributed by Google as part of the polymer project is also
|
|
3624
3622
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3625
3623
|
*/
|
|
3626
|
-
let ta = /(url\()([^)]*)(\))/g, ia = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
3627
|
-
function
|
|
3624
|
+
let ta = /(url\()([^)]*)(\))/g, ia = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, kt, ve;
|
|
3625
|
+
function ft(o, t) {
|
|
3628
3626
|
if (o && ia.test(o) || o === "//")
|
|
3629
3627
|
return o;
|
|
3630
|
-
if (
|
|
3631
|
-
|
|
3628
|
+
if (kt === void 0) {
|
|
3629
|
+
kt = !1;
|
|
3632
3630
|
try {
|
|
3633
3631
|
const e = new URL("b", "http://a");
|
|
3634
|
-
e.pathname = "c%20d",
|
|
3632
|
+
e.pathname = "c%20d", kt = e.href === "http://a/c%20d";
|
|
3635
3633
|
} catch (e) {
|
|
3636
3634
|
}
|
|
3637
3635
|
}
|
|
3638
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
3636
|
+
if (t || (t = document.baseURI || window.location.href), kt)
|
|
3639
3637
|
try {
|
|
3640
3638
|
return new URL(o, t).href;
|
|
3641
3639
|
} catch (e) {
|
|
@@ -3645,10 +3643,10 @@ function mt(o, t) {
|
|
|
3645
3643
|
}
|
|
3646
3644
|
function Ui(o, t) {
|
|
3647
3645
|
return o.replace(ta, function(e, i, s, r) {
|
|
3648
|
-
return i + "'" +
|
|
3646
|
+
return i + "'" + ft(s.replace(/["']/g, ""), t) + "'" + r;
|
|
3649
3647
|
});
|
|
3650
3648
|
}
|
|
3651
|
-
function
|
|
3649
|
+
function Vi(o) {
|
|
3652
3650
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
3653
3651
|
}
|
|
3654
3652
|
/**
|
|
@@ -3673,9 +3671,9 @@ const oa = Fs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
3673
3671
|
return !1;
|
|
3674
3672
|
}
|
|
3675
3673
|
})();
|
|
3676
|
-
let sa = window.Polymer && window.Polymer.rootPath ||
|
|
3674
|
+
let sa = window.Polymer && window.Polymer.rootPath || Vi(document.baseURI || window.location.href), $t = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
3677
3675
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
3678
|
-
let
|
|
3676
|
+
let Rt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ra = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Ns = window.Polymer && window.Polymer.legacyOptimizations || !1, zs = window.Polymer && window.Polymer.legacyWarnings || !1, na = window.Polymer && window.Polymer.syncInitialRender || !1, bi = window.Polymer && window.Polymer.legacyUndefined || !1, aa = window.Polymer && window.Polymer.orderedComputed || !1, Do = window.Polymer && window.Polymer.removeNestedTemplates || !1, la = window.Polymer && window.Polymer.fastDomIf || !1, ko = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
3679
3677
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
3680
3678
|
let ca = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
3681
3679
|
/**
|
|
@@ -3725,17 +3723,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3725
3723
|
Code distributed by Google as part of the polymer project is also
|
|
3726
3724
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3727
3725
|
*/
|
|
3728
|
-
let
|
|
3726
|
+
let Wi = {}, Ls = {};
|
|
3729
3727
|
function Po(o, t) {
|
|
3730
|
-
|
|
3728
|
+
Wi[o] = Ls[o.toLowerCase()] = t;
|
|
3731
3729
|
}
|
|
3732
3730
|
function To(o) {
|
|
3733
|
-
return
|
|
3731
|
+
return Wi[o] || Ls[o.toLowerCase()];
|
|
3734
3732
|
}
|
|
3735
3733
|
function da(o) {
|
|
3736
3734
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
3737
3735
|
}
|
|
3738
|
-
class
|
|
3736
|
+
class vt extends HTMLElement {
|
|
3739
3737
|
/** @override */
|
|
3740
3738
|
static get observedAttributes() {
|
|
3741
3739
|
return ["id"];
|
|
@@ -3784,11 +3782,11 @@ class yt extends HTMLElement {
|
|
|
3784
3782
|
*/
|
|
3785
3783
|
get assetpath() {
|
|
3786
3784
|
if (!this.__assetpath) {
|
|
3787
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
3785
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = ft(
|
|
3788
3786
|
this.getAttribute("assetpath") || "",
|
|
3789
3787
|
t.baseURI
|
|
3790
3788
|
);
|
|
3791
|
-
this.__assetpath =
|
|
3789
|
+
this.__assetpath = Vi(e);
|
|
3792
3790
|
}
|
|
3793
3791
|
return this.__assetpath;
|
|
3794
3792
|
}
|
|
@@ -3801,14 +3799,14 @@ class yt extends HTMLElement {
|
|
|
3801
3799
|
*/
|
|
3802
3800
|
register(t) {
|
|
3803
3801
|
if (t = t || this.id, t) {
|
|
3804
|
-
if (
|
|
3802
|
+
if (Rt && To(t) !== void 0)
|
|
3805
3803
|
throw Po(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3806
3804
|
this.id = t, Po(t, this), da(this);
|
|
3807
3805
|
}
|
|
3808
3806
|
}
|
|
3809
3807
|
}
|
|
3810
|
-
|
|
3811
|
-
customElements.define("dom-module",
|
|
3808
|
+
vt.prototype.modules = Wi;
|
|
3809
|
+
customElements.define("dom-module", vt);
|
|
3812
3810
|
/**
|
|
3813
3811
|
@license
|
|
3814
3812
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3822,7 +3820,7 @@ const ha = "link[rel=import][type~=css]", pa = "include", Mo = "shady-unscoped";
|
|
|
3822
3820
|
function $s(o) {
|
|
3823
3821
|
return (
|
|
3824
3822
|
/** @type {?DomModule} */
|
|
3825
|
-
|
|
3823
|
+
vt.import(o)
|
|
3826
3824
|
);
|
|
3827
3825
|
}
|
|
3828
3826
|
function Oo(o) {
|
|
@@ -3914,10 +3912,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3914
3912
|
Code distributed by Google as part of the polymer project is also
|
|
3915
3913
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3916
3914
|
*/
|
|
3917
|
-
function
|
|
3915
|
+
function yi(o) {
|
|
3918
3916
|
return o.indexOf(".") >= 0;
|
|
3919
3917
|
}
|
|
3920
|
-
function
|
|
3918
|
+
function je(o) {
|
|
3921
3919
|
let t = o.indexOf(".");
|
|
3922
3920
|
return t === -1 ? o : o.slice(0, t);
|
|
3923
3921
|
}
|
|
@@ -3927,13 +3925,13 @@ function Bs(o, t) {
|
|
|
3927
3925
|
function bt(o, t) {
|
|
3928
3926
|
return t.indexOf(o + ".") === 0;
|
|
3929
3927
|
}
|
|
3930
|
-
function
|
|
3928
|
+
function yt(o, t, e) {
|
|
3931
3929
|
return t + e.slice(o.length);
|
|
3932
3930
|
}
|
|
3933
3931
|
function ga(o, t) {
|
|
3934
3932
|
return o === t || Bs(o, t) || bt(o, t);
|
|
3935
3933
|
}
|
|
3936
|
-
function
|
|
3934
|
+
function ut(o) {
|
|
3937
3935
|
if (Array.isArray(o)) {
|
|
3938
3936
|
let t = [];
|
|
3939
3937
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3946,7 +3944,7 @@ function dt(o) {
|
|
|
3946
3944
|
return o;
|
|
3947
3945
|
}
|
|
3948
3946
|
function Ys(o) {
|
|
3949
|
-
return Array.isArray(o) ?
|
|
3947
|
+
return Array.isArray(o) ? ut(o).split(".") : o.toString().split(".");
|
|
3950
3948
|
}
|
|
3951
3949
|
function me(o, t, e) {
|
|
3952
3950
|
let i = o, s = Ys(t);
|
|
@@ -3980,15 +3978,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3980
3978
|
Code distributed by Google as part of the polymer project is also
|
|
3981
3979
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3982
3980
|
*/
|
|
3983
|
-
const
|
|
3981
|
+
const Ht = {}, va = /-[a-z]/g, ba = /([A-Z])/g;
|
|
3984
3982
|
function js(o) {
|
|
3985
|
-
return
|
|
3983
|
+
return Ht[o] || (Ht[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3986
3984
|
va,
|
|
3987
3985
|
(t) => t[1].toUpperCase()
|
|
3988
3986
|
));
|
|
3989
3987
|
}
|
|
3990
|
-
function
|
|
3991
|
-
return
|
|
3988
|
+
function Vt(o) {
|
|
3989
|
+
return Ht[o] || (Ht[o] = o.replace(ba, "-$1").toLowerCase());
|
|
3992
3990
|
}
|
|
3993
3991
|
/**
|
|
3994
3992
|
@license
|
|
@@ -3999,13 +3997,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3999
3997
|
Code distributed by Google as part of the polymer project is also
|
|
4000
3998
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4001
3999
|
*/
|
|
4002
|
-
let
|
|
4003
|
-
new window.MutationObserver(wa).observe(
|
|
4000
|
+
let ya = 0, Us = 0, Ge = [], xa = 0, xi = !1, Vs = document.createTextNode("");
|
|
4001
|
+
new window.MutationObserver(wa).observe(Vs, { characterData: !0 });
|
|
4004
4002
|
function wa() {
|
|
4005
|
-
|
|
4006
|
-
const o =
|
|
4003
|
+
xi = !1;
|
|
4004
|
+
const o = Ge.length;
|
|
4007
4005
|
for (let t = 0; t < o; t++) {
|
|
4008
|
-
let e =
|
|
4006
|
+
let e = Ge[t];
|
|
4009
4007
|
if (e)
|
|
4010
4008
|
try {
|
|
4011
4009
|
e();
|
|
@@ -4015,7 +4013,7 @@ function wa() {
|
|
|
4015
4013
|
});
|
|
4016
4014
|
}
|
|
4017
4015
|
}
|
|
4018
|
-
|
|
4016
|
+
Ge.splice(0, o), Us += o;
|
|
4019
4017
|
}
|
|
4020
4018
|
const Ea = {
|
|
4021
4019
|
/**
|
|
@@ -4066,7 +4064,7 @@ const Ea = {
|
|
|
4066
4064
|
* @return {number} Handle used for canceling task
|
|
4067
4065
|
*/
|
|
4068
4066
|
run(o) {
|
|
4069
|
-
return
|
|
4067
|
+
return xi || (xi = !0, Vs.textContent = xa++), Ge.push(o), ya++;
|
|
4070
4068
|
},
|
|
4071
4069
|
/**
|
|
4072
4070
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -4076,11 +4074,11 @@ const Ea = {
|
|
|
4076
4074
|
* @return {void}
|
|
4077
4075
|
*/
|
|
4078
4076
|
cancel(o) {
|
|
4079
|
-
const t = o -
|
|
4077
|
+
const t = o - Us;
|
|
4080
4078
|
if (t >= 0) {
|
|
4081
|
-
if (!
|
|
4079
|
+
if (!Ge[t])
|
|
4082
4080
|
throw new Error("invalid async handle: " + o);
|
|
4083
|
-
|
|
4081
|
+
Ge[t] = null;
|
|
4084
4082
|
}
|
|
4085
4083
|
}
|
|
4086
4084
|
};
|
|
@@ -4530,12 +4528,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
4530
4528
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4531
4529
|
*/
|
|
4532
4530
|
const Ks = {};
|
|
4533
|
-
let
|
|
4534
|
-
for (;
|
|
4535
|
-
let o = Object.getOwnPropertyNames(
|
|
4531
|
+
let Pt = HTMLElement.prototype;
|
|
4532
|
+
for (; Pt; ) {
|
|
4533
|
+
let o = Object.getOwnPropertyNames(Pt);
|
|
4536
4534
|
for (let t = 0; t < o.length; t++)
|
|
4537
4535
|
Ks[o[t]] = !0;
|
|
4538
|
-
|
|
4536
|
+
Pt = Object.getPrototypeOf(Pt);
|
|
4539
4537
|
}
|
|
4540
4538
|
const Aa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
4541
4539
|
function Ca(o, t) {
|
|
@@ -4575,7 +4573,7 @@ const Da = oe((o) => {
|
|
|
4575
4573
|
* @nocollapse
|
|
4576
4574
|
*/
|
|
4577
4575
|
static attributeNameForProperty(s) {
|
|
4578
|
-
return
|
|
4576
|
+
return Vt(s);
|
|
4579
4577
|
}
|
|
4580
4578
|
/**
|
|
4581
4579
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -5171,8 +5169,8 @@ const La = oe(
|
|
|
5171
5169
|
* Google as part of the polymer project is also subject to an additional IP
|
|
5172
5170
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5173
5171
|
*/
|
|
5174
|
-
let
|
|
5175
|
-
const
|
|
5172
|
+
let xt = 0;
|
|
5173
|
+
const wt = [], B = {
|
|
5176
5174
|
COMPUTE: "__computeEffects",
|
|
5177
5175
|
REFLECT: "__reflectEffects",
|
|
5178
5176
|
NOTIFY: "__notifyEffects",
|
|
@@ -5180,7 +5178,7 @@ const Et = [], B = {
|
|
|
5180
5178
|
OBSERVE: "__observeEffects",
|
|
5181
5179
|
READ_ONLY: "__readOnly"
|
|
5182
5180
|
}, Js = "__computeInfo", $a = /[A-Z]/;
|
|
5183
|
-
function
|
|
5181
|
+
function ti(o, t, e) {
|
|
5184
5182
|
let i = o[t];
|
|
5185
5183
|
if (!i)
|
|
5186
5184
|
i = o[t] = {};
|
|
@@ -5192,28 +5190,28 @@ function ii(o, t, e) {
|
|
|
5192
5190
|
}
|
|
5193
5191
|
return i;
|
|
5194
5192
|
}
|
|
5195
|
-
function
|
|
5193
|
+
function dt(o, t, e, i, s, r) {
|
|
5196
5194
|
if (t) {
|
|
5197
5195
|
let n = !1;
|
|
5198
|
-
const a =
|
|
5196
|
+
const a = xt++;
|
|
5199
5197
|
for (let l in e) {
|
|
5200
|
-
let c = s ?
|
|
5198
|
+
let c = s ? je(l) : l, u = t[c];
|
|
5201
5199
|
if (u)
|
|
5202
5200
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
5203
|
-
(!p.info || p.info.lastRun !== a) && (!s ||
|
|
5201
|
+
(!p.info || p.info.lastRun !== a) && (!s || qi(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, s, r), n = !0);
|
|
5204
5202
|
}
|
|
5205
5203
|
return n;
|
|
5206
5204
|
}
|
|
5207
5205
|
return !1;
|
|
5208
5206
|
}
|
|
5209
5207
|
function Ra(o, t, e, i, s, r, n, a) {
|
|
5210
|
-
let l = !1, c = n ?
|
|
5208
|
+
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
5211
5209
|
if (u)
|
|
5212
5210
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
5213
|
-
(!p.info || p.info.lastRun !== e) && (!n ||
|
|
5211
|
+
(!p.info || p.info.lastRun !== e) && (!n || qi(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, s, r, p.info, n, a), l = !0);
|
|
5214
5212
|
return l;
|
|
5215
5213
|
}
|
|
5216
|
-
function
|
|
5214
|
+
function qi(o, t) {
|
|
5217
5215
|
if (t) {
|
|
5218
5216
|
let e = (
|
|
5219
5217
|
/** @type {string} */
|
|
@@ -5228,16 +5226,16 @@ function zo(o, t, e, i, s) {
|
|
|
5228
5226
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
5229
5227
|
}
|
|
5230
5228
|
function Ha(o, t, e, i, s) {
|
|
5231
|
-
let r = o[B.NOTIFY], n, a =
|
|
5229
|
+
let r = o[B.NOTIFY], n, a = xt++;
|
|
5232
5230
|
for (let c in t)
|
|
5233
5231
|
t[c] && (r && Ra(o, r, a, c, e, i, s) || s && Ba(o, c, e)) && (n = !0);
|
|
5234
5232
|
let l;
|
|
5235
5233
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
5236
5234
|
}
|
|
5237
5235
|
function Ba(o, t, e) {
|
|
5238
|
-
let i =
|
|
5236
|
+
let i = je(t);
|
|
5239
5237
|
if (i !== t) {
|
|
5240
|
-
let s =
|
|
5238
|
+
let s = Vt(i) + "-changed";
|
|
5241
5239
|
return Xs(o, s, e[t], t), !0;
|
|
5242
5240
|
}
|
|
5243
5241
|
return !1;
|
|
@@ -5253,7 +5251,7 @@ function Xs(o, t, e, i) {
|
|
|
5253
5251
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
5254
5252
|
}
|
|
5255
5253
|
function Ya(o, t, e, i, s, r) {
|
|
5256
|
-
let a = (r ?
|
|
5254
|
+
let a = (r ? je(t) : t) != t ? t : null, l = a ? me(o, a) : o.__data[t];
|
|
5257
5255
|
a && l === void 0 && (l = e[t]), Xs(o, s.eventName, l, a);
|
|
5258
5256
|
}
|
|
5259
5257
|
function ja(o, t, e, i, s) {
|
|
@@ -5261,11 +5259,11 @@ function ja(o, t, e, i, s) {
|
|
|
5261
5259
|
/** @type {Object} */
|
|
5262
5260
|
o.detail
|
|
5263
5261
|
), a = n && n.path;
|
|
5264
|
-
a ? (i =
|
|
5262
|
+
a ? (i = yt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[B.READ_ONLY] || !t[B.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
5265
5263
|
}
|
|
5266
|
-
function
|
|
5264
|
+
function Ua(o, t, e, i, s) {
|
|
5267
5265
|
let r = o.__data[t];
|
|
5268
|
-
|
|
5266
|
+
$t && (r = $t(
|
|
5269
5267
|
r,
|
|
5270
5268
|
s.attrName,
|
|
5271
5269
|
"attribute",
|
|
@@ -5273,11 +5271,11 @@ function Va(o, t, e, i, s) {
|
|
|
5273
5271
|
o
|
|
5274
5272
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
5275
5273
|
}
|
|
5276
|
-
function
|
|
5274
|
+
function Va(o, t, e, i) {
|
|
5277
5275
|
let s = o[B.COMPUTE];
|
|
5278
5276
|
if (s)
|
|
5279
5277
|
if (aa) {
|
|
5280
|
-
|
|
5278
|
+
xt++;
|
|
5281
5279
|
const r = qa(o), n = [];
|
|
5282
5280
|
for (let l in t)
|
|
5283
5281
|
Lo(l, s, n, r, i);
|
|
@@ -5295,7 +5293,7 @@ function Ua(o, t, e, i) {
|
|
|
5295
5293
|
), o.__dataPending = null;
|
|
5296
5294
|
} else {
|
|
5297
5295
|
let r = t;
|
|
5298
|
-
for (;
|
|
5296
|
+
for (; dt(o, s, r, e, i); )
|
|
5299
5297
|
Object.assign(
|
|
5300
5298
|
/** @type {!Object} */
|
|
5301
5299
|
e,
|
|
@@ -5322,11 +5320,11 @@ const Wa = (o, t, e) => {
|
|
|
5322
5320
|
}
|
|
5323
5321
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
5324
5322
|
}, Lo = (o, t, e, i, s) => {
|
|
5325
|
-
const r = s ?
|
|
5323
|
+
const r = s ? je(o) : o, n = t[r];
|
|
5326
5324
|
if (n)
|
|
5327
5325
|
for (let a = 0; a < n.length; a++) {
|
|
5328
5326
|
const l = n[a];
|
|
5329
|
-
l.info.lastRun !==
|
|
5327
|
+
l.info.lastRun !== xt && (!s || qi(o, l.trigger)) && (l.info.lastRun = xt, Wa(l.info, e, i));
|
|
5330
5328
|
}
|
|
5331
5329
|
};
|
|
5332
5330
|
function qa(o) {
|
|
@@ -5360,8 +5358,8 @@ function Ka(o) {
|
|
|
5360
5358
|
return { counts: e, ready: s, total: r };
|
|
5361
5359
|
}
|
|
5362
5360
|
function Zs(o, t, e, i, s) {
|
|
5363
|
-
let r =
|
|
5364
|
-
if (r ===
|
|
5361
|
+
let r = wi(o, t, e, i, s);
|
|
5362
|
+
if (r === wt)
|
|
5365
5363
|
return !1;
|
|
5366
5364
|
let n = s.methodInfo;
|
|
5367
5365
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -5372,16 +5370,16 @@ function Ga(o, t, e) {
|
|
|
5372
5370
|
let s;
|
|
5373
5371
|
for (let r in i) {
|
|
5374
5372
|
let n = i[r];
|
|
5375
|
-
bt(r, t) ? (s =
|
|
5373
|
+
bt(r, t) ? (s = yt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : bt(n, t) && (s = yt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
5376
5374
|
}
|
|
5377
5375
|
}
|
|
5378
5376
|
}
|
|
5379
|
-
function
|
|
5377
|
+
function ii(o, t, e, i, s, r, n) {
|
|
5380
5378
|
e.bindings = e.bindings || [];
|
|
5381
5379
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
5382
5380
|
if (e.bindings.push(a), el(a)) {
|
|
5383
5381
|
let { event: c, negate: u } = a.parts[0];
|
|
5384
|
-
a.listenerEvent = c ||
|
|
5382
|
+
a.listenerEvent = c || Vt(s) + "-changed", a.listenerNegate = u;
|
|
5385
5383
|
}
|
|
5386
5384
|
let l = t.nodeInfoList.length;
|
|
5387
5385
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -5409,14 +5407,14 @@ function Xa(o, t, e, i, s, r, n) {
|
|
|
5409
5407
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
5410
5408
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
5411
5409
|
let u = e[t];
|
|
5412
|
-
t =
|
|
5410
|
+
t = yt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
5413
5411
|
} else {
|
|
5414
5412
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
5415
|
-
u !==
|
|
5413
|
+
u !== wt && Za(o, a, l, c, u);
|
|
5416
5414
|
}
|
|
5417
5415
|
}
|
|
5418
5416
|
function Za(o, t, e, i, s) {
|
|
5419
|
-
if (s = Qa(t, s, e, i),
|
|
5417
|
+
if (s = Qa(t, s, e, i), $t && (s = $t(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
5420
5418
|
o._valueToNodeAttribute(
|
|
5421
5419
|
/** @type {Element} */
|
|
5422
5420
|
t,
|
|
@@ -5487,11 +5485,11 @@ function $o(o, t, e, i, s, r) {
|
|
|
5487
5485
|
info: n
|
|
5488
5486
|
}), n;
|
|
5489
5487
|
}
|
|
5490
|
-
function
|
|
5488
|
+
function wi(o, t, e, i, s) {
|
|
5491
5489
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
5492
5490
|
if (n) {
|
|
5493
5491
|
let a = o._marshalArgs(s.args, t, e);
|
|
5494
|
-
return a ===
|
|
5492
|
+
return a === wt ? wt : n.apply(r, a);
|
|
5495
5493
|
} else
|
|
5496
5494
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
5497
5495
|
}
|
|
@@ -5504,7 +5502,7 @@ function Bo(o) {
|
|
|
5504
5502
|
}
|
|
5505
5503
|
return t;
|
|
5506
5504
|
}
|
|
5507
|
-
function
|
|
5505
|
+
function oi(o) {
|
|
5508
5506
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
5509
5507
|
if (t) {
|
|
5510
5508
|
let i = { methodName: t[1], static: !0, args: sl };
|
|
@@ -5537,7 +5535,7 @@ function er(o) {
|
|
|
5537
5535
|
e.value = Number(t), e.literal = !0;
|
|
5538
5536
|
break;
|
|
5539
5537
|
}
|
|
5540
|
-
return e.literal || (e.rootProperty =
|
|
5538
|
+
return e.literal || (e.rootProperty = je(t), e.structured = yi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
5541
5539
|
}
|
|
5542
5540
|
function Yo(o, t, e) {
|
|
5543
5541
|
let i = me(o, e);
|
|
@@ -5547,7 +5545,7 @@ function tr(o, t, e, i) {
|
|
|
5547
5545
|
const s = { indexSplices: i };
|
|
5548
5546
|
bi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), bi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
5549
5547
|
}
|
|
5550
|
-
function
|
|
5548
|
+
function nt(o, t, e, i, s, r) {
|
|
5551
5549
|
tr(o, t, e, [{
|
|
5552
5550
|
index: i,
|
|
5553
5551
|
addedCount: s,
|
|
@@ -5559,7 +5557,7 @@ function at(o, t, e, i, s, r) {
|
|
|
5559
5557
|
function gl(o) {
|
|
5560
5558
|
return o[0].toUpperCase() + o.substring(1);
|
|
5561
5559
|
}
|
|
5562
|
-
const
|
|
5560
|
+
const Ki = oe((o) => {
|
|
5563
5561
|
const t = La(Da(o));
|
|
5564
5562
|
class e extends t {
|
|
5565
5563
|
constructor() {
|
|
@@ -5576,8 +5574,8 @@ const Gi = oe((o) => {
|
|
|
5576
5574
|
super._initializeProperties(), this._registerHost(), this.__dataClientsReady = !1, this.__dataPendingClients = null, this.__dataToNotify = null, this.__dataLinkedPaths = null, this.__dataHasPaths = !1, this.__dataCompoundStorage = this.__dataCompoundStorage || null, this.__dataHost = this.__dataHost || null, this.__dataTemp = {}, this.__dataClientsInitialized = !1;
|
|
5577
5575
|
}
|
|
5578
5576
|
_registerHost() {
|
|
5579
|
-
if (
|
|
5580
|
-
let s =
|
|
5577
|
+
if (at.length) {
|
|
5578
|
+
let s = at[at.length - 1];
|
|
5581
5579
|
s._enqueueClient(this), this.__dataHost = s;
|
|
5582
5580
|
}
|
|
5583
5581
|
}
|
|
@@ -5621,7 +5619,7 @@ const Gi = oe((o) => {
|
|
|
5621
5619
|
*/
|
|
5622
5620
|
_addPropertyEffect(s, r, n) {
|
|
5623
5621
|
this._createPropertyAccessor(s, r == B.READ_ONLY);
|
|
5624
|
-
let a =
|
|
5622
|
+
let a = ti(this, r, !0)[s];
|
|
5625
5623
|
a || (a = this[r][s] = []), a.push(n);
|
|
5626
5624
|
}
|
|
5627
5625
|
/**
|
|
@@ -5634,7 +5632,7 @@ const Gi = oe((o) => {
|
|
|
5634
5632
|
* @return {void}
|
|
5635
5633
|
*/
|
|
5636
5634
|
_removePropertyEffect(s, r, n) {
|
|
5637
|
-
let a =
|
|
5635
|
+
let a = ti(this, r, !0)[s], l = a.indexOf(n);
|
|
5638
5636
|
l >= 0 && a.splice(l, 1);
|
|
5639
5637
|
}
|
|
5640
5638
|
/**
|
|
@@ -5735,7 +5733,7 @@ const Gi = oe((o) => {
|
|
|
5735
5733
|
* @protected
|
|
5736
5734
|
*/
|
|
5737
5735
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
5738
|
-
if (a ||
|
|
5736
|
+
if (a || je(Array.isArray(s) ? s[0] : s) !== s) {
|
|
5739
5737
|
if (!a) {
|
|
5740
5738
|
let l = me(this, s);
|
|
5741
5739
|
if (s = /** @type {string} */
|
|
@@ -5828,7 +5826,7 @@ const Gi = oe((o) => {
|
|
|
5828
5826
|
* @return {boolean} Returns true if the property changed
|
|
5829
5827
|
*/
|
|
5830
5828
|
_setPendingProperty(s, r, n) {
|
|
5831
|
-
let a = this.__dataHasPaths &&
|
|
5829
|
+
let a = this.__dataHasPaths && yi(s), l = a ? this.__dataTemp : this.__data;
|
|
5832
5830
|
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[B.NOTIFY] && this[B.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5833
5831
|
}
|
|
5834
5832
|
/**
|
|
@@ -5964,7 +5962,7 @@ const Gi = oe((o) => {
|
|
|
5964
5962
|
let a = this.__dataHasPaths;
|
|
5965
5963
|
this.__dataHasPaths = !1;
|
|
5966
5964
|
let l;
|
|
5967
|
-
|
|
5965
|
+
Va(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), dt(this, this[B.REFLECT], r, n, a), dt(this, this[B.OBSERVE], r, n, a), l && Ha(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5968
5966
|
}
|
|
5969
5967
|
/**
|
|
5970
5968
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5978,11 +5976,11 @@ const Gi = oe((o) => {
|
|
|
5978
5976
|
* @protected
|
|
5979
5977
|
*/
|
|
5980
5978
|
_propagatePropertyChanges(s, r, n) {
|
|
5981
|
-
this[B.PROPAGATE] &&
|
|
5979
|
+
this[B.PROPAGATE] && dt(this, this[B.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5982
5980
|
}
|
|
5983
5981
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5984
5982
|
const l = (c, u) => {
|
|
5985
|
-
|
|
5983
|
+
dt(
|
|
5986
5984
|
this,
|
|
5987
5985
|
s.propertyEffects,
|
|
5988
5986
|
c,
|
|
@@ -6006,7 +6004,7 @@ const Gi = oe((o) => {
|
|
|
6006
6004
|
* @public
|
|
6007
6005
|
*/
|
|
6008
6006
|
linkPaths(s, r) {
|
|
6009
|
-
s =
|
|
6007
|
+
s = ut(s), r = ut(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
6010
6008
|
}
|
|
6011
6009
|
/**
|
|
6012
6010
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -6020,7 +6018,7 @@ const Gi = oe((o) => {
|
|
|
6020
6018
|
* @public
|
|
6021
6019
|
*/
|
|
6022
6020
|
unlinkPaths(s) {
|
|
6023
|
-
s =
|
|
6021
|
+
s = ut(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
6024
6022
|
}
|
|
6025
6023
|
/**
|
|
6026
6024
|
* Notify that an array has changed.
|
|
@@ -6134,7 +6132,7 @@ const Gi = oe((o) => {
|
|
|
6134
6132
|
/** @type {Array}*/
|
|
6135
6133
|
me(this, s, n)
|
|
6136
6134
|
), l = a.length, c = a.push(...r);
|
|
6137
|
-
return r.length &&
|
|
6135
|
+
return r.length && nt(this, a, n.path, l, r.length, []), c;
|
|
6138
6136
|
}
|
|
6139
6137
|
/**
|
|
6140
6138
|
* Removes an item from the end of array at the path specified.
|
|
@@ -6155,7 +6153,7 @@ const Gi = oe((o) => {
|
|
|
6155
6153
|
/** @type {Array} */
|
|
6156
6154
|
me(this, s, r)
|
|
6157
6155
|
), a = !!n.length, l = n.pop();
|
|
6158
|
-
return a &&
|
|
6156
|
+
return a && nt(this, n, r.path, n.length, 0, [l]), l;
|
|
6159
6157
|
}
|
|
6160
6158
|
/**
|
|
6161
6159
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -6182,7 +6180,7 @@ const Gi = oe((o) => {
|
|
|
6182
6180
|
);
|
|
6183
6181
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
6184
6182
|
let u;
|
|
6185
|
-
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) &&
|
|
6183
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && nt(this, c, l.path, r, a.length, u), u;
|
|
6186
6184
|
}
|
|
6187
6185
|
/**
|
|
6188
6186
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -6203,7 +6201,7 @@ const Gi = oe((o) => {
|
|
|
6203
6201
|
/** @type {Array} */
|
|
6204
6202
|
me(this, s, r)
|
|
6205
6203
|
), a = !!n.length, l = n.shift();
|
|
6206
|
-
return a &&
|
|
6204
|
+
return a && nt(this, n, r.path, 0, 0, [l]), l;
|
|
6207
6205
|
}
|
|
6208
6206
|
/**
|
|
6209
6207
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -6225,7 +6223,7 @@ const Gi = oe((o) => {
|
|
|
6225
6223
|
/** @type {Array} */
|
|
6226
6224
|
me(this, s, n)
|
|
6227
6225
|
), l = a.unshift(...r);
|
|
6228
|
-
return r.length &&
|
|
6226
|
+
return r.length && nt(this, a, n.path, 0, r.length, []), l;
|
|
6229
6227
|
}
|
|
6230
6228
|
/**
|
|
6231
6229
|
* Notify that a path has changed.
|
|
@@ -6247,7 +6245,7 @@ const Gi = oe((o) => {
|
|
|
6247
6245
|
let a = { path: "" };
|
|
6248
6246
|
r = me(this, s, a), n = a.path;
|
|
6249
6247
|
} else
|
|
6250
|
-
Array.isArray(s) ? n =
|
|
6248
|
+
Array.isArray(s) ? n = ut(s) : n = /** @type{string} */
|
|
6251
6249
|
s;
|
|
6252
6250
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
6253
6251
|
}
|
|
@@ -6313,10 +6311,10 @@ const Gi = oe((o) => {
|
|
|
6313
6311
|
* @protected
|
|
6314
6312
|
*/
|
|
6315
6313
|
_createMethodObserver(s, r) {
|
|
6316
|
-
let n =
|
|
6314
|
+
let n = oi(s);
|
|
6317
6315
|
if (!n)
|
|
6318
6316
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
6319
|
-
$o(this, n, B.OBSERVE,
|
|
6317
|
+
$o(this, n, B.OBSERVE, wi, null, r);
|
|
6320
6318
|
}
|
|
6321
6319
|
/**
|
|
6322
6320
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -6332,7 +6330,7 @@ const Gi = oe((o) => {
|
|
|
6332
6330
|
this._addPropertyEffect(s, B.NOTIFY, {
|
|
6333
6331
|
fn: Ya,
|
|
6334
6332
|
info: {
|
|
6335
|
-
eventName:
|
|
6333
|
+
eventName: Vt(s) + "-changed",
|
|
6336
6334
|
property: s
|
|
6337
6335
|
}
|
|
6338
6336
|
});
|
|
@@ -6351,7 +6349,7 @@ const Gi = oe((o) => {
|
|
|
6351
6349
|
_createReflectedProperty(s) {
|
|
6352
6350
|
let r = this.constructor.attributeNameForProperty(s);
|
|
6353
6351
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, B.REFLECT, {
|
|
6354
|
-
fn:
|
|
6352
|
+
fn: Ua,
|
|
6355
6353
|
info: {
|
|
6356
6354
|
attrName: r
|
|
6357
6355
|
}
|
|
@@ -6371,11 +6369,11 @@ const Gi = oe((o) => {
|
|
|
6371
6369
|
* @protected
|
|
6372
6370
|
*/
|
|
6373
6371
|
_createComputedProperty(s, r, n) {
|
|
6374
|
-
let a =
|
|
6372
|
+
let a = oi(r);
|
|
6375
6373
|
if (!a)
|
|
6376
6374
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
6377
6375
|
const l = $o(this, a, B.COMPUTE, Zs, s, n);
|
|
6378
|
-
|
|
6376
|
+
ti(this, Js)[s] = l;
|
|
6379
6377
|
}
|
|
6380
6378
|
/**
|
|
6381
6379
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -6393,20 +6391,20 @@ const Gi = oe((o) => {
|
|
|
6393
6391
|
_marshalArgs(s, r, n) {
|
|
6394
6392
|
const a = this.__data, l = [];
|
|
6395
6393
|
for (let c = 0, u = s.length; c < u; c++) {
|
|
6396
|
-
let { name: d, structured: h, wildcard: p, value:
|
|
6394
|
+
let { name: d, structured: h, wildcard: p, value: b, literal: f } = s[c];
|
|
6397
6395
|
if (!f)
|
|
6398
6396
|
if (p) {
|
|
6399
|
-
const
|
|
6400
|
-
|
|
6401
|
-
path:
|
|
6397
|
+
const y = bt(d, r), D = Yo(a, n, y ? r : d);
|
|
6398
|
+
b = {
|
|
6399
|
+
path: y ? r : d,
|
|
6402
6400
|
value: D,
|
|
6403
|
-
base:
|
|
6401
|
+
base: y ? me(a, d) : D
|
|
6404
6402
|
};
|
|
6405
6403
|
} else
|
|
6406
|
-
|
|
6407
|
-
if (bi && !this._overrideLegacyUndefined &&
|
|
6408
|
-
return
|
|
6409
|
-
l[c] =
|
|
6404
|
+
b = h ? Yo(a, n, d) : a[d];
|
|
6405
|
+
if (bi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
6406
|
+
return wt;
|
|
6407
|
+
l[c] = b;
|
|
6410
6408
|
}
|
|
6411
6409
|
return l;
|
|
6412
6410
|
}
|
|
@@ -6679,9 +6677,9 @@ const Gi = oe((o) => {
|
|
|
6679
6677
|
*/
|
|
6680
6678
|
_stampTemplate(s, r) {
|
|
6681
6679
|
r = r || /** @type {!TemplateInfo} */
|
|
6682
|
-
this._bindTemplate(s, !0),
|
|
6680
|
+
this._bindTemplate(s, !0), at.push(this);
|
|
6683
6681
|
let n = super._stampTemplate(s, r);
|
|
6684
|
-
if (
|
|
6682
|
+
if (at.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
6685
6683
|
let a = r.childNodes = [];
|
|
6686
6684
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6687
6685
|
a.push(l);
|
|
@@ -6733,7 +6731,7 @@ const Gi = oe((o) => {
|
|
|
6733
6731
|
);
|
|
6734
6732
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
6735
6733
|
let l = this._parseBindings(s.textContent, r);
|
|
6736
|
-
l && (s.textContent = Bo(l) || " ",
|
|
6734
|
+
l && (s.textContent = Bo(l) || " ", ii(this, r, n, "text", "textContent", l), a = !0);
|
|
6737
6735
|
}
|
|
6738
6736
|
return a;
|
|
6739
6737
|
}
|
|
@@ -6762,7 +6760,7 @@ const Gi = oe((o) => {
|
|
|
6762
6760
|
let u = a, d = "property";
|
|
6763
6761
|
$a.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
6764
6762
|
let h = Bo(c);
|
|
6765
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = js(a)),
|
|
6763
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = js(a)), ii(this, r, n, d, a, c, h), !0;
|
|
6766
6764
|
} else
|
|
6767
6765
|
return t._parseTemplateNodeAttribute.call(
|
|
6768
6766
|
this,
|
|
@@ -6801,9 +6799,9 @@ const Gi = oe((o) => {
|
|
|
6801
6799
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), Do || (n.parentInfo.noted = !0));
|
|
6802
6800
|
else {
|
|
6803
6801
|
let p = "{";
|
|
6804
|
-
for (let
|
|
6805
|
-
let f = [{ mode: p, source:
|
|
6806
|
-
|
|
6802
|
+
for (let b in h) {
|
|
6803
|
+
let f = [{ mode: p, source: b, dependencies: [b], hostProp: !0 }];
|
|
6804
|
+
ii(this, r, n, "property", "_host_" + b, f);
|
|
6807
6805
|
}
|
|
6808
6806
|
}
|
|
6809
6807
|
return a;
|
|
@@ -6857,26 +6855,26 @@ const Gi = oe((o) => {
|
|
|
6857
6855
|
let n = [], a = 0, l;
|
|
6858
6856
|
for (; (l = Ho.exec(s)) !== null; ) {
|
|
6859
6857
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6860
|
-
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "",
|
|
6861
|
-
c == "{" && (
|
|
6862
|
-
let f =
|
|
6858
|
+
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "", b = -1;
|
|
6859
|
+
c == "{" && (b = d.indexOf("::")) > 0 && (p = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
6860
|
+
let f = oi(d), y = [];
|
|
6863
6861
|
if (f) {
|
|
6864
6862
|
let { args: D, methodName: C } = f;
|
|
6865
6863
|
for (let N = 0; N < D.length; N++) {
|
|
6866
6864
|
let $ = D[N];
|
|
6867
|
-
$.literal ||
|
|
6865
|
+
$.literal || y.push($);
|
|
6868
6866
|
}
|
|
6869
6867
|
let z = r.dynamicFns;
|
|
6870
|
-
(z && z[C] || f.static) && (
|
|
6868
|
+
(z && z[C] || f.static) && (y.push(C), f.dynamicFn = !0);
|
|
6871
6869
|
} else
|
|
6872
|
-
|
|
6870
|
+
y.push(d);
|
|
6873
6871
|
n.push({
|
|
6874
6872
|
source: d,
|
|
6875
6873
|
mode: c,
|
|
6876
6874
|
negate: u,
|
|
6877
6875
|
customEvent: h,
|
|
6878
6876
|
signature: f,
|
|
6879
|
-
dependencies:
|
|
6877
|
+
dependencies: y,
|
|
6880
6878
|
event: p
|
|
6881
6879
|
}), a = Ho.lastIndex;
|
|
6882
6880
|
}
|
|
@@ -6905,11 +6903,11 @@ const Gi = oe((o) => {
|
|
|
6905
6903
|
*/
|
|
6906
6904
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6907
6905
|
let u;
|
|
6908
|
-
return r.signature ? u =
|
|
6906
|
+
return r.signature ? u = wi(s, n, a, l, r.signature) : n != r.source ? u = me(s, r.source) : c && yi(n) ? u = me(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6909
6907
|
}
|
|
6910
6908
|
}
|
|
6911
6909
|
return e;
|
|
6912
|
-
}),
|
|
6910
|
+
}), at = [];
|
|
6913
6911
|
/**
|
|
6914
6912
|
@license
|
|
6915
6913
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -6936,7 +6934,7 @@ function vl(o) {
|
|
|
6936
6934
|
}
|
|
6937
6935
|
return t;
|
|
6938
6936
|
}
|
|
6939
|
-
const
|
|
6937
|
+
const bl = oe((o) => {
|
|
6940
6938
|
const t = qs(o);
|
|
6941
6939
|
function e(r) {
|
|
6942
6940
|
const n = Object.getPrototypeOf(r);
|
|
@@ -7087,8 +7085,8 @@ const yl = oe((o) => {
|
|
|
7087
7085
|
* Google as part of the polymer project is also subject to an additional IP
|
|
7088
7086
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7089
7087
|
*/
|
|
7090
|
-
const
|
|
7091
|
-
const t =
|
|
7088
|
+
const yl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o) => {
|
|
7089
|
+
const t = bl(Ki(o));
|
|
7092
7090
|
function e(l) {
|
|
7093
7091
|
if (!l.hasOwnProperty(
|
|
7094
7092
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -7117,31 +7115,31 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o
|
|
|
7117
7115
|
}
|
|
7118
7116
|
function r(l, c, u, d) {
|
|
7119
7117
|
if (!jo) {
|
|
7120
|
-
const h = c.content.querySelectorAll("style"), p = Rs(c),
|
|
7121
|
-
for (let D = 0; D <
|
|
7122
|
-
let C =
|
|
7118
|
+
const h = c.content.querySelectorAll("style"), p = Rs(c), b = _a(u), f = c.content.firstElementChild;
|
|
7119
|
+
for (let D = 0; D < b.length; D++) {
|
|
7120
|
+
let C = b[D];
|
|
7123
7121
|
C.textContent = l._processStyleText(C.textContent, d), c.content.insertBefore(C, f);
|
|
7124
7122
|
}
|
|
7125
|
-
let
|
|
7123
|
+
let y = 0;
|
|
7126
7124
|
for (let D = 0; D < p.length; D++) {
|
|
7127
|
-
let C = p[D], z = h[
|
|
7128
|
-
z !== C ? (C = C.cloneNode(!0), z.parentNode.insertBefore(C, z)) :
|
|
7125
|
+
let C = p[D], z = h[y];
|
|
7126
|
+
z !== C ? (C = C.cloneNode(!0), z.parentNode.insertBefore(C, z)) : y++, C.textContent = l._processStyleText(C.textContent, d);
|
|
7129
7127
|
}
|
|
7130
7128
|
}
|
|
7131
7129
|
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ca && jo && oa) {
|
|
7132
7130
|
const h = c.content.querySelectorAll("style");
|
|
7133
7131
|
if (h) {
|
|
7134
7132
|
let p = "";
|
|
7135
|
-
Array.from(h).forEach((
|
|
7136
|
-
p +=
|
|
7133
|
+
Array.from(h).forEach((b) => {
|
|
7134
|
+
p += b.textContent, b.parentNode.removeChild(b);
|
|
7137
7135
|
}), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(p);
|
|
7138
7136
|
}
|
|
7139
7137
|
}
|
|
7140
7138
|
}
|
|
7141
7139
|
function n(l) {
|
|
7142
7140
|
let c = null;
|
|
7143
|
-
if (l && (!
|
|
7144
|
-
|
|
7141
|
+
if (l && (!Rt || ra) && (c = /** @type {?HTMLTemplateElement} */
|
|
7142
|
+
vt.import(l, "template"), Rt && !c))
|
|
7145
7143
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7146
7144
|
return c;
|
|
7147
7145
|
}
|
|
@@ -7152,7 +7150,7 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o
|
|
|
7152
7150
|
* @nocollapse
|
|
7153
7151
|
*/
|
|
7154
7152
|
static get polymerElementVersion() {
|
|
7155
|
-
return
|
|
7153
|
+
return yl;
|
|
7156
7154
|
}
|
|
7157
7155
|
/**
|
|
7158
7156
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -7310,9 +7308,9 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o
|
|
|
7310
7308
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
7311
7309
|
const c = this.importMeta;
|
|
7312
7310
|
if (c)
|
|
7313
|
-
this._importPath =
|
|
7311
|
+
this._importPath = Vi(c.url);
|
|
7314
7312
|
else {
|
|
7315
|
-
const u =
|
|
7313
|
+
const u = vt.import(
|
|
7316
7314
|
/** @type {PolymerElementConstructor} */
|
|
7317
7315
|
this.is
|
|
7318
7316
|
);
|
|
@@ -7391,7 +7389,7 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o
|
|
|
7391
7389
|
const u = this.prototype._template;
|
|
7392
7390
|
if (u && !u.__polymerFinalized) {
|
|
7393
7391
|
u.__polymerFinalized = !0;
|
|
7394
|
-
const d = this.importPath, h = d ?
|
|
7392
|
+
const d = this.importPath, h = d ? ft(d) : "";
|
|
7395
7393
|
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
7396
7394
|
}
|
|
7397
7395
|
}
|
|
@@ -7503,7 +7501,7 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o
|
|
|
7503
7501
|
* @return {string} Rewritten URL relative to base
|
|
7504
7502
|
*/
|
|
7505
7503
|
resolveUrl(c, u) {
|
|
7506
|
-
return !u && this.importPath && (u =
|
|
7504
|
+
return !u && this.importPath && (u = ft(this.importPath)), ft(c, u);
|
|
7507
7505
|
}
|
|
7508
7506
|
/**
|
|
7509
7507
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -7564,7 +7562,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7564
7562
|
Code distributed by Google as part of the polymer project is also
|
|
7565
7563
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7566
7564
|
*/
|
|
7567
|
-
const
|
|
7565
|
+
const Uo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
7568
7566
|
class ir {
|
|
7569
7567
|
/**
|
|
7570
7568
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -7618,7 +7616,7 @@ const Ue = function(t, ...e) {
|
|
|
7618
7616
|
(r, n, a) => r + wl(n) + t[a + 1],
|
|
7619
7617
|
t[0]
|
|
7620
7618
|
);
|
|
7621
|
-
return
|
|
7619
|
+
return Uo && (s = Uo.createHTML(s)), i.innerHTML = s, i;
|
|
7622
7620
|
}, sr = (o, t) => {
|
|
7623
7621
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
7624
7622
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -7639,21 +7637,21 @@ const Ie = xl(HTMLElement);
|
|
|
7639
7637
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7640
7638
|
*/
|
|
7641
7639
|
const Ae = [];
|
|
7642
|
-
function
|
|
7640
|
+
function Ei(o, t, e = o.getAttribute("dir")) {
|
|
7643
7641
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
7644
7642
|
}
|
|
7645
|
-
function
|
|
7643
|
+
function Si() {
|
|
7646
7644
|
return document.documentElement.getAttribute("dir");
|
|
7647
7645
|
}
|
|
7648
7646
|
function El() {
|
|
7649
|
-
const o =
|
|
7647
|
+
const o = Si();
|
|
7650
7648
|
Ae.forEach((t) => {
|
|
7651
|
-
|
|
7649
|
+
Ei(t, o);
|
|
7652
7650
|
});
|
|
7653
7651
|
}
|
|
7654
7652
|
const Sl = new MutationObserver(El);
|
|
7655
7653
|
Sl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
7656
|
-
const
|
|
7654
|
+
const Wt = (o) => class extends o {
|
|
7657
7655
|
static get properties() {
|
|
7658
7656
|
return {
|
|
7659
7657
|
/**
|
|
@@ -7679,14 +7677,14 @@ const qt = (o) => class extends o {
|
|
|
7679
7677
|
}
|
|
7680
7678
|
/** @protected */
|
|
7681
7679
|
connectedCallback() {
|
|
7682
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
7680
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Ei(this, Si(), null));
|
|
7683
7681
|
}
|
|
7684
7682
|
/** @protected */
|
|
7685
7683
|
attributeChangedCallback(e, i, s) {
|
|
7686
7684
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
7687
7685
|
return;
|
|
7688
|
-
const r =
|
|
7689
|
-
n || a ? (this.__subscribe(),
|
|
7686
|
+
const r = Si(), n = s === r && Ae.indexOf(this) === -1, a = !s && i && Ae.indexOf(this) === -1;
|
|
7687
|
+
n || a ? (this.__subscribe(), Ei(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
7690
7688
|
}
|
|
7691
7689
|
/** @protected */
|
|
7692
7690
|
disconnectedCallback() {
|
|
@@ -7826,7 +7824,7 @@ const Cl = R`
|
|
|
7826
7824
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7827
7825
|
*/
|
|
7828
7826
|
Q("vaadin-input-container", Cl, { moduleId: "vaadin-input-container-styles" });
|
|
7829
|
-
class Dl extends Al(
|
|
7827
|
+
class Dl extends Al(Ye(Wt(Ie))) {
|
|
7830
7828
|
static get is() {
|
|
7831
7829
|
return "vaadin-input-container";
|
|
7832
7830
|
}
|
|
@@ -7909,29 +7907,29 @@ const kl = R`
|
|
|
7909
7907
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7910
7908
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7911
7909
|
*/
|
|
7912
|
-
let
|
|
7910
|
+
let Gi = !1;
|
|
7913
7911
|
window.addEventListener(
|
|
7914
7912
|
"keydown",
|
|
7915
7913
|
() => {
|
|
7916
|
-
|
|
7914
|
+
Gi = !0;
|
|
7917
7915
|
},
|
|
7918
7916
|
{ capture: !0 }
|
|
7919
7917
|
);
|
|
7920
7918
|
window.addEventListener(
|
|
7921
7919
|
"mousedown",
|
|
7922
7920
|
() => {
|
|
7923
|
-
|
|
7921
|
+
Gi = !1;
|
|
7924
7922
|
},
|
|
7925
7923
|
{ capture: !0 }
|
|
7926
7924
|
);
|
|
7927
|
-
function
|
|
7925
|
+
function Ai() {
|
|
7928
7926
|
let o = document.activeElement || document.body;
|
|
7929
7927
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7930
7928
|
o = o.shadowRoot.activeElement;
|
|
7931
7929
|
return o;
|
|
7932
7930
|
}
|
|
7933
|
-
function
|
|
7934
|
-
return
|
|
7931
|
+
function Ji() {
|
|
7932
|
+
return Gi;
|
|
7935
7933
|
}
|
|
7936
7934
|
function Pl(o) {
|
|
7937
7935
|
const t = o.style;
|
|
@@ -7950,11 +7948,11 @@ function Ml(o, t) {
|
|
|
7950
7948
|
Tl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7951
7949
|
return e.concat(o, t);
|
|
7952
7950
|
}
|
|
7953
|
-
function
|
|
7951
|
+
function Ci(o) {
|
|
7954
7952
|
const t = o.length;
|
|
7955
7953
|
if (t < 2)
|
|
7956
7954
|
return o;
|
|
7957
|
-
const e = Math.ceil(t / 2), i =
|
|
7955
|
+
const e = Math.ceil(t / 2), i = Ci(o.slice(0, e)), s = Ci(o.slice(e));
|
|
7958
7956
|
return Ml(i, s);
|
|
7959
7957
|
}
|
|
7960
7958
|
function rr(o) {
|
|
@@ -7985,7 +7983,7 @@ function nr(o, t) {
|
|
|
7985
7983
|
}
|
|
7986
7984
|
function Fl(o) {
|
|
7987
7985
|
const t = [];
|
|
7988
|
-
return nr(o, t) ?
|
|
7986
|
+
return nr(o, t) ? Ci(t) : t;
|
|
7989
7987
|
}
|
|
7990
7988
|
/**
|
|
7991
7989
|
@license
|
|
@@ -7996,10 +7994,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7996
7994
|
Code distributed by Google as part of the polymer project is also
|
|
7997
7995
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7998
7996
|
*/
|
|
7999
|
-
let
|
|
7997
|
+
let Di = !1, Nl = [], ar = [];
|
|
8000
7998
|
function zl() {
|
|
8001
|
-
|
|
8002
|
-
|
|
7999
|
+
Di = !0, requestAnimationFrame(function() {
|
|
8000
|
+
Di = !1, Ll(Nl), setTimeout(function() {
|
|
8003
8001
|
$l(ar);
|
|
8004
8002
|
});
|
|
8005
8003
|
});
|
|
@@ -8023,19 +8021,19 @@ function lr(o) {
|
|
|
8023
8021
|
}
|
|
8024
8022
|
}
|
|
8025
8023
|
function cr(o, t, e) {
|
|
8026
|
-
|
|
8024
|
+
Di || zl(), ar.push([o, t, e]);
|
|
8027
8025
|
}
|
|
8028
8026
|
/**
|
|
8029
8027
|
* @license
|
|
8030
8028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8031
8029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8032
8030
|
*/
|
|
8033
|
-
const
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
const Hl =
|
|
8038
|
-
|
|
8031
|
+
const qt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform), Rl = (o) => o.test(navigator.vendor);
|
|
8032
|
+
qt(/Android/u);
|
|
8033
|
+
qt(/Chrome/u) && Rl(/Google Inc/u);
|
|
8034
|
+
qt(/Firefox/u);
|
|
8035
|
+
const Hl = ki(/^iPad/u) || ki(/^Mac/u) && navigator.maxTouchPoints > 1, Bl = ki(/^iPhone/u), ur = Bl || Hl;
|
|
8036
|
+
qt(/^((?!chrome|android).)*safari/iu);
|
|
8039
8037
|
const Yl = (() => {
|
|
8040
8038
|
try {
|
|
8041
8039
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -8048,23 +8046,23 @@ const Yl = (() => {
|
|
|
8048
8046
|
* Copyright (c) 2017 Anton Korzunov
|
|
8049
8047
|
* SPDX-License-Identifier: MIT
|
|
8050
8048
|
*/
|
|
8051
|
-
let
|
|
8052
|
-
const
|
|
8049
|
+
let We = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Mt = {}, si = 0;
|
|
8050
|
+
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ri = (...o) => {
|
|
8053
8051
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
8054
|
-
}, jl = (o, t) =>
|
|
8055
|
-
if (!
|
|
8056
|
-
return
|
|
8052
|
+
}, jl = (o, t) => Vo(o) ? t.map((e) => {
|
|
8053
|
+
if (!Vo(e))
|
|
8054
|
+
return ri(e, "is not a valid element"), null;
|
|
8057
8055
|
let i = e;
|
|
8058
8056
|
for (; i && i !== o; ) {
|
|
8059
8057
|
if (o.contains(i))
|
|
8060
8058
|
return e;
|
|
8061
8059
|
i = i.getRootNode().host;
|
|
8062
8060
|
}
|
|
8063
|
-
return
|
|
8064
|
-
}).filter((e) => !!e) : (
|
|
8061
|
+
return ri(e, "is not contained inside", o), null;
|
|
8062
|
+
}).filter((e) => !!e) : (ri(o, "is not a valid element"), []), Ul = (o, t, e, i) => {
|
|
8065
8063
|
const s = jl(t, Array.isArray(o) ? o : [o]);
|
|
8066
|
-
|
|
8067
|
-
const r =
|
|
8064
|
+
Mt[e] || (Mt[e] = /* @__PURE__ */ new WeakMap());
|
|
8065
|
+
const r = Mt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
8068
8066
|
if (!d || a.has(d))
|
|
8069
8067
|
return;
|
|
8070
8068
|
a.add(d);
|
|
@@ -8076,32 +8074,32 @@ const Uo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
|
8076
8074
|
if (!d || l.has(d))
|
|
8077
8075
|
return;
|
|
8078
8076
|
const h = d.shadowRoot;
|
|
8079
|
-
(h ? [...d.children, ...h.children] : [...d.children]).forEach((
|
|
8080
|
-
if (!["template", "script", "style"].includes(
|
|
8081
|
-
if (a.has(
|
|
8082
|
-
u(
|
|
8077
|
+
(h ? [...d.children, ...h.children] : [...d.children]).forEach((b) => {
|
|
8078
|
+
if (!["template", "script", "style"].includes(b.localName))
|
|
8079
|
+
if (a.has(b))
|
|
8080
|
+
u(b);
|
|
8083
8081
|
else {
|
|
8084
|
-
const f =
|
|
8085
|
-
|
|
8082
|
+
const f = b.getAttribute(i), y = f !== null && f !== "false", D = (We.get(b) || 0) + 1, C = (r.get(b) || 0) + 1;
|
|
8083
|
+
We.set(b, D), r.set(b, C), n.push(b), D === 1 && y && Tt.set(b, !0), C === 1 && b.setAttribute(e, "true"), y || b.setAttribute(i, "true");
|
|
8086
8084
|
}
|
|
8087
8085
|
});
|
|
8088
8086
|
};
|
|
8089
|
-
return u(t), a.clear(),
|
|
8087
|
+
return u(t), a.clear(), si += 1, () => {
|
|
8090
8088
|
n.forEach((d) => {
|
|
8091
|
-
const h =
|
|
8092
|
-
|
|
8093
|
-
}),
|
|
8089
|
+
const h = We.get(d) - 1, p = r.get(d) - 1;
|
|
8090
|
+
We.set(d, h), r.set(d, p), h || (Tt.has(d) ? Tt.delete(d) : d.removeAttribute(i)), p || d.removeAttribute(e);
|
|
8091
|
+
}), si -= 1, si || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Mt = {});
|
|
8094
8092
|
};
|
|
8095
8093
|
}, dr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
8096
8094
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
8097
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
8095
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Ul(i, t, e, "aria-hidden");
|
|
8098
8096
|
};
|
|
8099
8097
|
/**
|
|
8100
8098
|
* @license
|
|
8101
8099
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8102
8100
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8103
8101
|
*/
|
|
8104
|
-
class
|
|
8102
|
+
class Vl {
|
|
8105
8103
|
/**
|
|
8106
8104
|
* @param {HTMLElement} host
|
|
8107
8105
|
*/
|
|
@@ -8141,7 +8139,7 @@ class Wl {
|
|
|
8141
8139
|
* @param {Node | null | undefined} focusNode
|
|
8142
8140
|
*/
|
|
8143
8141
|
saveFocus(t) {
|
|
8144
|
-
this.focusNode = t ||
|
|
8142
|
+
this.focusNode = t || Ai();
|
|
8145
8143
|
}
|
|
8146
8144
|
/**
|
|
8147
8145
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -8151,7 +8149,7 @@ class Wl {
|
|
|
8151
8149
|
if (!e)
|
|
8152
8150
|
return;
|
|
8153
8151
|
const i = t ? t.preventScroll : !1;
|
|
8154
|
-
|
|
8152
|
+
Ai() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
8155
8153
|
}
|
|
8156
8154
|
}
|
|
8157
8155
|
/**
|
|
@@ -8159,7 +8157,7 @@ class Wl {
|
|
|
8159
8157
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8160
8158
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8161
8159
|
*/
|
|
8162
|
-
const
|
|
8160
|
+
const ni = [];
|
|
8163
8161
|
class ql {
|
|
8164
8162
|
/**
|
|
8165
8163
|
* @param {HTMLElement} host
|
|
@@ -8209,14 +8207,14 @@ class ql {
|
|
|
8209
8207
|
trapFocus(t) {
|
|
8210
8208
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
8211
8209
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
8212
|
-
|
|
8210
|
+
ni.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
8213
8211
|
}
|
|
8214
8212
|
/**
|
|
8215
8213
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
8216
8214
|
* so that it becomes possible to tab outside the trap node.
|
|
8217
8215
|
*/
|
|
8218
8216
|
releaseFocus() {
|
|
8219
|
-
this.__trapNode = null,
|
|
8217
|
+
this.__trapNode = null, ni.pop();
|
|
8220
8218
|
}
|
|
8221
8219
|
/**
|
|
8222
8220
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -8230,7 +8228,7 @@ class ql {
|
|
|
8230
8228
|
* @private
|
|
8231
8229
|
*/
|
|
8232
8230
|
__onKeyDown(t) {
|
|
8233
|
-
if (this.__trapNode && this === Array.from(
|
|
8231
|
+
if (this.__trapNode && this === Array.from(ni).pop() && t.key === "Tab") {
|
|
8234
8232
|
t.preventDefault();
|
|
8235
8233
|
const e = t.shiftKey;
|
|
8236
8234
|
this.__focusNextElement(e);
|
|
@@ -8257,7 +8255,7 @@ class ql {
|
|
|
8257
8255
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8258
8256
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8259
8257
|
*/
|
|
8260
|
-
const
|
|
8258
|
+
const ot = oe((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
8261
8259
|
constructor() {
|
|
8262
8260
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
8263
8261
|
}
|
|
@@ -8297,7 +8295,7 @@ const st = oe((o) => typeof o.prototype.addController == "function" ? o : class
|
|
|
8297
8295
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8298
8296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8299
8297
|
*/
|
|
8300
|
-
const Kl = (o) => class extends
|
|
8298
|
+
const Kl = (o) => class extends ot(o) {
|
|
8301
8299
|
static get properties() {
|
|
8302
8300
|
return {
|
|
8303
8301
|
/**
|
|
@@ -8328,7 +8326,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8328
8326
|
};
|
|
8329
8327
|
}
|
|
8330
8328
|
constructor() {
|
|
8331
|
-
super(), this.__ariaModalController = new
|
|
8329
|
+
super(), this.__ariaModalController = new Vl(this), this.__focusTrapController = new ql(this), this.__focusRestorationController = new Wl();
|
|
8332
8330
|
}
|
|
8333
8331
|
/** @protected */
|
|
8334
8332
|
ready() {
|
|
@@ -8341,7 +8339,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8341
8339
|
*/
|
|
8342
8340
|
_resetFocus() {
|
|
8343
8341
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
8344
|
-
const e = !
|
|
8342
|
+
const e = !Ji();
|
|
8345
8343
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
8346
8344
|
}
|
|
8347
8345
|
}
|
|
@@ -8373,7 +8371,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8373
8371
|
* @return {boolean}
|
|
8374
8372
|
*/
|
|
8375
8373
|
_shouldRestoreFocus() {
|
|
8376
|
-
const e =
|
|
8374
|
+
const e = Ai();
|
|
8377
8375
|
return e === document.body || this._deepContains(e);
|
|
8378
8376
|
}
|
|
8379
8377
|
/**
|
|
@@ -8399,7 +8397,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8399
8397
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8400
8398
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8401
8399
|
*/
|
|
8402
|
-
const hr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
8400
|
+
const hr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Pi = () => hr().filter((o) => o.$.overlay), Gl = (o) => o === Pi().pop(), Jl = (o) => class extends o {
|
|
8403
8401
|
constructor() {
|
|
8404
8402
|
super(), this._hasOverlayStackMixin = !0;
|
|
8405
8403
|
}
|
|
@@ -8422,14 +8420,14 @@ const hr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
8422
8420
|
}
|
|
8423
8421
|
/** @protected */
|
|
8424
8422
|
_enterModalState() {
|
|
8425
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
8423
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), Pi().forEach((e) => {
|
|
8426
8424
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
8427
8425
|
});
|
|
8428
8426
|
}
|
|
8429
8427
|
/** @protected */
|
|
8430
8428
|
_exitModalState() {
|
|
8431
8429
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
8432
|
-
const e =
|
|
8430
|
+
const e = Pi();
|
|
8433
8431
|
let i;
|
|
8434
8432
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
8435
8433
|
;
|
|
@@ -8725,23 +8723,23 @@ function Zl(o) {
|
|
|
8725
8723
|
}
|
|
8726
8724
|
return t;
|
|
8727
8725
|
}
|
|
8728
|
-
function
|
|
8726
|
+
function Xi(o) {
|
|
8729
8727
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
8730
8728
|
}
|
|
8731
|
-
function
|
|
8729
|
+
function Kt(o) {
|
|
8732
8730
|
return o ? [...o].join(" ") : "";
|
|
8733
8731
|
}
|
|
8734
8732
|
function pr(o, t, e) {
|
|
8735
|
-
const i =
|
|
8736
|
-
i.add(e), o.setAttribute(t,
|
|
8733
|
+
const i = Xi(o.getAttribute(t));
|
|
8734
|
+
i.add(e), o.setAttribute(t, Kt(i));
|
|
8737
8735
|
}
|
|
8738
8736
|
function Ql(o, t, e) {
|
|
8739
|
-
const i =
|
|
8737
|
+
const i = Xi(o.getAttribute(t));
|
|
8740
8738
|
if (i.delete(e), i.size === 0) {
|
|
8741
8739
|
o.removeAttribute(t);
|
|
8742
8740
|
return;
|
|
8743
8741
|
}
|
|
8744
|
-
o.setAttribute(t,
|
|
8742
|
+
o.setAttribute(t, Kt(i));
|
|
8745
8743
|
}
|
|
8746
8744
|
function ec(o) {
|
|
8747
8745
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -8762,8 +8760,8 @@ function tc(o, t) {
|
|
|
8762
8760
|
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
8763
8761
|
if (n || t(), !u || !d)
|
|
8764
8762
|
return;
|
|
8765
|
-
const h = Math.floor(c), p = Math.floor(i.clientWidth - (l + u)),
|
|
8766
|
-
rootMargin: `${-h}px ${-p}px ${-
|
|
8763
|
+
const h = Math.floor(c), p = Math.floor(i.clientWidth - (l + u)), b = Math.floor(i.clientHeight - (c + d)), f = Math.floor(l), D = {
|
|
8764
|
+
rootMargin: `${-h}px ${-p}px ${-b}px ${-f}px`,
|
|
8767
8765
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
8768
8766
|
};
|
|
8769
8767
|
let C = !0;
|
|
@@ -8785,10 +8783,10 @@ function tc(o, t) {
|
|
|
8785
8783
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8786
8784
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8787
8785
|
*/
|
|
8788
|
-
const
|
|
8786
|
+
const ai = {
|
|
8789
8787
|
start: "top",
|
|
8790
8788
|
end: "bottom"
|
|
8791
|
-
},
|
|
8789
|
+
}, li = {
|
|
8792
8790
|
start: "left",
|
|
8793
8791
|
end: "right"
|
|
8794
8792
|
}, Wo = new ResizeObserver((o) => {
|
|
@@ -8940,14 +8938,14 @@ const li = {
|
|
|
8940
8938
|
e,
|
|
8941
8939
|
a,
|
|
8942
8940
|
this.noVerticalOverlap,
|
|
8943
|
-
|
|
8941
|
+
ai,
|
|
8944
8942
|
this,
|
|
8945
8943
|
i
|
|
8946
8944
|
), c = this.__calculatePositionInOneDimension(
|
|
8947
8945
|
e,
|
|
8948
8946
|
a,
|
|
8949
8947
|
this.noHorizontalOverlap,
|
|
8950
|
-
|
|
8948
|
+
li,
|
|
8951
8949
|
this,
|
|
8952
8950
|
r
|
|
8953
8951
|
);
|
|
@@ -8964,7 +8962,7 @@ const li = {
|
|
|
8964
8962
|
this.__margins,
|
|
8965
8963
|
n,
|
|
8966
8964
|
this.noHorizontalOverlap,
|
|
8967
|
-
|
|
8965
|
+
li
|
|
8968
8966
|
);
|
|
8969
8967
|
}
|
|
8970
8968
|
__shouldAlignStartVertically(e) {
|
|
@@ -8978,7 +8976,7 @@ const li = {
|
|
|
8978
8976
|
this.__margins,
|
|
8979
8977
|
r,
|
|
8980
8978
|
this.noVerticalOverlap,
|
|
8981
|
-
|
|
8979
|
+
ai
|
|
8982
8980
|
);
|
|
8983
8981
|
}
|
|
8984
8982
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8995,7 +8993,7 @@ const li = {
|
|
|
8995
8993
|
__adjustBottomProperty(e, i, s) {
|
|
8996
8994
|
let r;
|
|
8997
8995
|
if (e === i.end) {
|
|
8998
|
-
if (i.end ===
|
|
8996
|
+
if (i.end === ai.end) {
|
|
8999
8997
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
9000
8998
|
if (s > n && this.__oldViewportHeight) {
|
|
9001
8999
|
const a = this.__oldViewportHeight - n;
|
|
@@ -9003,7 +9001,7 @@ const li = {
|
|
|
9003
9001
|
}
|
|
9004
9002
|
this.__oldViewportHeight = n;
|
|
9005
9003
|
}
|
|
9006
|
-
if (i.end ===
|
|
9004
|
+
if (i.end === li.end) {
|
|
9007
9005
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
9008
9006
|
if (s > n && this.__oldViewportWidth) {
|
|
9009
9007
|
const a = this.__oldViewportWidth - n;
|
|
@@ -9081,7 +9079,7 @@ const sc = R`
|
|
|
9081
9079
|
Q("vaadin-date-picker-overlay", [kl, sc], {
|
|
9082
9080
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
9083
9081
|
});
|
|
9084
|
-
class rc extends oc(
|
|
9082
|
+
class rc extends oc(Wt(Ye(Ie))) {
|
|
9085
9083
|
static get is() {
|
|
9086
9084
|
return "vaadin-date-picker-overlay";
|
|
9087
9085
|
}
|
|
@@ -9097,7 +9095,7 @@ class rc extends oc(qt(je(Ie))) {
|
|
|
9097
9095
|
}
|
|
9098
9096
|
}
|
|
9099
9097
|
Se(rc);
|
|
9100
|
-
const nc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
9098
|
+
const nc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Ft = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
9101
9099
|
function ac() {
|
|
9102
9100
|
function o() {
|
|
9103
9101
|
return !0;
|
|
@@ -9106,7 +9104,7 @@ function ac() {
|
|
|
9106
9104
|
}
|
|
9107
9105
|
function lc() {
|
|
9108
9106
|
try {
|
|
9109
|
-
return cc() ? !0 : uc() ?
|
|
9107
|
+
return cc() ? !0 : uc() ? Ft ? !dc() : !ac() : !1;
|
|
9110
9108
|
} catch (o) {
|
|
9111
9109
|
return !1;
|
|
9112
9110
|
}
|
|
@@ -9118,7 +9116,7 @@ function uc() {
|
|
|
9118
9116
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
9119
9117
|
}
|
|
9120
9118
|
function dc() {
|
|
9121
|
-
return !!(
|
|
9119
|
+
return !!(Ft && Object.keys(Ft).map((t) => Ft[t]).filter((t) => t.productionMode).length > 0);
|
|
9122
9120
|
}
|
|
9123
9121
|
function fr(o, t) {
|
|
9124
9122
|
if (typeof o != "function")
|
|
@@ -9633,13 +9631,13 @@ const pc = function() {
|
|
|
9633
9631
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9634
9632
|
*/
|
|
9635
9633
|
let Ko = 0, mr = 0;
|
|
9636
|
-
const
|
|
9637
|
-
let
|
|
9634
|
+
const Je = [];
|
|
9635
|
+
let Ti = !1;
|
|
9638
9636
|
function fc() {
|
|
9639
|
-
|
|
9640
|
-
const o =
|
|
9637
|
+
Ti = !1;
|
|
9638
|
+
const o = Je.length;
|
|
9641
9639
|
for (let t = 0; t < o; t++) {
|
|
9642
|
-
const e =
|
|
9640
|
+
const e = Je[t];
|
|
9643
9641
|
if (e)
|
|
9644
9642
|
try {
|
|
9645
9643
|
e();
|
|
@@ -9649,9 +9647,9 @@ function fc() {
|
|
|
9649
9647
|
});
|
|
9650
9648
|
}
|
|
9651
9649
|
}
|
|
9652
|
-
|
|
9650
|
+
Je.splice(0, o), mr += o;
|
|
9653
9651
|
}
|
|
9654
|
-
const
|
|
9652
|
+
const Bt = {
|
|
9655
9653
|
/**
|
|
9656
9654
|
* Returns a sub-module with the async interface providing the provided
|
|
9657
9655
|
* delay.
|
|
@@ -9742,7 +9740,7 @@ const Yt = {
|
|
|
9742
9740
|
* @return {number} Handle used for canceling task
|
|
9743
9741
|
*/
|
|
9744
9742
|
run(o) {
|
|
9745
|
-
|
|
9743
|
+
Ti || (Ti = !0, queueMicrotask(() => fc())), Je.push(o);
|
|
9746
9744
|
const t = Ko;
|
|
9747
9745
|
return Ko += 1, t;
|
|
9748
9746
|
},
|
|
@@ -9756,9 +9754,9 @@ const Yt = {
|
|
|
9756
9754
|
cancel(o) {
|
|
9757
9755
|
const t = o - mr;
|
|
9758
9756
|
if (t >= 0) {
|
|
9759
|
-
if (!
|
|
9757
|
+
if (!Je[t])
|
|
9760
9758
|
throw new Error(`invalid async handle: ${o}`);
|
|
9761
|
-
|
|
9759
|
+
Je[t] = null;
|
|
9762
9760
|
}
|
|
9763
9761
|
}
|
|
9764
9762
|
};
|
|
@@ -9771,8 +9769,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9771
9769
|
Code distributed by Google as part of the polymer project is also
|
|
9772
9770
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9773
9771
|
*/
|
|
9774
|
-
const
|
|
9775
|
-
let
|
|
9772
|
+
const Mi = /* @__PURE__ */ new Set();
|
|
9773
|
+
let et = class Oi {
|
|
9776
9774
|
/**
|
|
9777
9775
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
9778
9776
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9808,7 +9806,7 @@ let tt = class Ii {
|
|
|
9808
9806
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9809
9807
|
*/
|
|
9810
9808
|
static debounce(t, e, i) {
|
|
9811
|
-
return t instanceof
|
|
9809
|
+
return t instanceof Oi ? t._cancelAsync() : t = new Oi(), t.setConfig(e, i), t;
|
|
9812
9810
|
}
|
|
9813
9811
|
constructor() {
|
|
9814
9812
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9824,7 +9822,7 @@ let tt = class Ii {
|
|
|
9824
9822
|
*/
|
|
9825
9823
|
setConfig(t, e) {
|
|
9826
9824
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9827
|
-
this._timer = null,
|
|
9825
|
+
this._timer = null, Mi.delete(this), this._callback();
|
|
9828
9826
|
});
|
|
9829
9827
|
}
|
|
9830
9828
|
/**
|
|
@@ -9833,7 +9831,7 @@ let tt = class Ii {
|
|
|
9833
9831
|
* @return {void}
|
|
9834
9832
|
*/
|
|
9835
9833
|
cancel() {
|
|
9836
|
-
this.isActive() && (this._cancelAsync(),
|
|
9834
|
+
this.isActive() && (this._cancelAsync(), Mi.delete(this));
|
|
9837
9835
|
}
|
|
9838
9836
|
/**
|
|
9839
9837
|
* Cancels a debouncer's async callback.
|
|
@@ -9864,7 +9862,7 @@ let tt = class Ii {
|
|
|
9864
9862
|
}
|
|
9865
9863
|
};
|
|
9866
9864
|
function vc(o) {
|
|
9867
|
-
|
|
9865
|
+
Mi.add(o);
|
|
9868
9866
|
}
|
|
9869
9867
|
/**
|
|
9870
9868
|
* @license
|
|
@@ -9877,15 +9875,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9877
9875
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9878
9876
|
pc();
|
|
9879
9877
|
};
|
|
9880
|
-
let
|
|
9881
|
-
const Go = /* @__PURE__ */ new Set(), _r = (o) => class extends
|
|
9878
|
+
let ci;
|
|
9879
|
+
const Go = /* @__PURE__ */ new Set(), _r = (o) => class extends Wt(o) {
|
|
9882
9880
|
/** @protected */
|
|
9883
9881
|
static finalize() {
|
|
9884
9882
|
super.finalize();
|
|
9885
9883
|
const { is: e } = this;
|
|
9886
|
-
e && !Go.has(e) && (window.Vaadin.registrations.push(this), Go.add(e), window.Vaadin.developmentModeCallback && (
|
|
9884
|
+
e && !Go.has(e) && (window.Vaadin.registrations.push(this), Go.add(e), window.Vaadin.developmentModeCallback && (ci = et.debounce(ci, _c, () => {
|
|
9887
9885
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9888
|
-
}), vc(
|
|
9886
|
+
}), vc(ci)));
|
|
9889
9887
|
}
|
|
9890
9888
|
constructor() {
|
|
9891
9889
|
super(), document.doctype === null && console.warn(
|
|
@@ -9898,7 +9896,7 @@ const Go = /* @__PURE__ */ new Set(), _r = (o) => class extends qt(o) {
|
|
|
9898
9896
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9899
9897
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9900
9898
|
*/
|
|
9901
|
-
class
|
|
9899
|
+
class bc {
|
|
9902
9900
|
constructor(t, e) {
|
|
9903
9901
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9904
9902
|
this._schedule();
|
|
@@ -9948,9 +9946,9 @@ class yc {
|
|
|
9948
9946
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9949
9947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9950
9948
|
*/
|
|
9951
|
-
let
|
|
9949
|
+
let yc = 0;
|
|
9952
9950
|
function gr() {
|
|
9953
|
-
return
|
|
9951
|
+
return yc++;
|
|
9954
9952
|
}
|
|
9955
9953
|
/**
|
|
9956
9954
|
* @license
|
|
@@ -10059,7 +10057,7 @@ class $e extends EventTarget {
|
|
|
10059
10057
|
*/
|
|
10060
10058
|
observeSlot() {
|
|
10061
10059
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
10062
|
-
this.__slotObserver = new
|
|
10060
|
+
this.__slotObserver = new bc(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
10063
10061
|
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !ec(l) && !n.includes(l));
|
|
10064
10062
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
10065
10063
|
this.teardownNode(l);
|
|
@@ -10258,7 +10256,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10258
10256
|
Code distributed by Google as part of the polymer project is also
|
|
10259
10257
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10260
10258
|
*/
|
|
10261
|
-
const Ec = (o) => o,
|
|
10259
|
+
const Ec = !1, Sc = (o) => o, Zi = typeof document.head.style.touchAction == "string", Ii = "__polymerGestures", ui = "__polymerGesturesHandled", Fi = "__polymerGesturesTouchAction", Jo = 25, Xo = 5, Ac = 2, Cc = ["mousedown", "mousemove", "mouseup", "click"], Dc = [0, 1, 4, 2], kc = function() {
|
|
10262
10260
|
try {
|
|
10263
10261
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
10264
10262
|
} catch (o) {
|
|
@@ -10266,15 +10264,15 @@ const Ec = (o) => o, yr = typeof document.head.style.touchAction == "string", Fi
|
|
|
10266
10264
|
}
|
|
10267
10265
|
}();
|
|
10268
10266
|
function Qi(o) {
|
|
10269
|
-
return
|
|
10267
|
+
return Cc.indexOf(o) > -1;
|
|
10270
10268
|
}
|
|
10271
|
-
let
|
|
10269
|
+
let br = !1;
|
|
10272
10270
|
(function() {
|
|
10273
10271
|
try {
|
|
10274
10272
|
const o = Object.defineProperty({}, "passive", {
|
|
10275
10273
|
// eslint-disable-next-line getter-return
|
|
10276
10274
|
get() {
|
|
10277
|
-
|
|
10275
|
+
br = !0;
|
|
10278
10276
|
}
|
|
10279
10277
|
});
|
|
10280
10278
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -10282,7 +10280,8 @@ let kc = !1;
|
|
|
10282
10280
|
}
|
|
10283
10281
|
})();
|
|
10284
10282
|
function Pc(o) {
|
|
10285
|
-
Qi(o)
|
|
10283
|
+
if (!(Qi(o) || o === "touchend") && Zi && br && Ec)
|
|
10284
|
+
return { passive: !0 };
|
|
10286
10285
|
}
|
|
10287
10286
|
const Tc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Mc = {
|
|
10288
10287
|
button: !0,
|
|
@@ -10295,13 +10294,13 @@ const Tc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Mc = {
|
|
|
10295
10294
|
select: !0,
|
|
10296
10295
|
textarea: !0
|
|
10297
10296
|
};
|
|
10298
|
-
function
|
|
10297
|
+
function He(o) {
|
|
10299
10298
|
const t = o.type;
|
|
10300
10299
|
if (!Qi(t))
|
|
10301
10300
|
return !1;
|
|
10302
10301
|
if (t === "mousemove") {
|
|
10303
10302
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
10304
|
-
return o instanceof window.MouseEvent && !
|
|
10303
|
+
return o instanceof window.MouseEvent && !kc && (i = Dc[o.which] || 0), !!(i & 1);
|
|
10305
10304
|
}
|
|
10306
10305
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
10307
10306
|
}
|
|
@@ -10322,6 +10321,10 @@ function Oc(o) {
|
|
|
10322
10321
|
return !1;
|
|
10323
10322
|
}
|
|
10324
10323
|
const De = {
|
|
10324
|
+
mouse: {
|
|
10325
|
+
target: null,
|
|
10326
|
+
mouseIgnoreJob: null
|
|
10327
|
+
},
|
|
10325
10328
|
touch: {
|
|
10326
10329
|
x: 0,
|
|
10327
10330
|
y: 0,
|
|
@@ -10333,16 +10336,16 @@ function Ic(o) {
|
|
|
10333
10336
|
let t = "auto";
|
|
10334
10337
|
const e = xr(o);
|
|
10335
10338
|
for (let i = 0, s; i < e.length; i++)
|
|
10336
|
-
if (s = e[i], s[
|
|
10337
|
-
t = s[
|
|
10339
|
+
if (s = e[i], s[Fi]) {
|
|
10340
|
+
t = s[Fi];
|
|
10338
10341
|
break;
|
|
10339
10342
|
}
|
|
10340
10343
|
return t;
|
|
10341
10344
|
}
|
|
10342
|
-
function
|
|
10345
|
+
function yr(o, t, e) {
|
|
10343
10346
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
10344
10347
|
}
|
|
10345
|
-
function
|
|
10348
|
+
function Xe(o) {
|
|
10346
10349
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
10347
10350
|
}
|
|
10348
10351
|
const xr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], eo = {}, Re = [];
|
|
@@ -10364,19 +10367,19 @@ function Oe(o) {
|
|
|
10364
10367
|
return t.length > 0 ? t[0] : o.target;
|
|
10365
10368
|
}
|
|
10366
10369
|
function Nc(o) {
|
|
10367
|
-
const t = o.type, i = o.currentTarget[
|
|
10370
|
+
const t = o.type, i = o.currentTarget[Ii];
|
|
10368
10371
|
if (!i)
|
|
10369
10372
|
return;
|
|
10370
10373
|
const s = i[t];
|
|
10371
10374
|
if (!s)
|
|
10372
10375
|
return;
|
|
10373
|
-
if (!o[
|
|
10376
|
+
if (!o[ui] && (o[ui] = {}, t.startsWith("touch"))) {
|
|
10374
10377
|
const n = o.changedTouches[0];
|
|
10375
10378
|
if (t === "touchstart" && o.touches.length === 1 && (De.touch.id = n.identifier), De.touch.id !== n.identifier)
|
|
10376
10379
|
return;
|
|
10377
|
-
|
|
10380
|
+
Zi || (t === "touchstart" || t === "touchmove") && zc(o);
|
|
10378
10381
|
}
|
|
10379
|
-
const r = o[
|
|
10382
|
+
const r = o[ui];
|
|
10380
10383
|
if (!r.skip) {
|
|
10381
10384
|
for (let n = 0, a; n < Re.length; n++)
|
|
10382
10385
|
a = Re[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -10395,7 +10398,7 @@ function zc(o) {
|
|
|
10395
10398
|
const i = Ic(o);
|
|
10396
10399
|
let s = !1;
|
|
10397
10400
|
const r = Math.abs(De.touch.x - t.clientX), n = Math.abs(De.touch.y - t.clientY);
|
|
10398
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
10401
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Yt("track");
|
|
10399
10402
|
}
|
|
10400
10403
|
}
|
|
10401
10404
|
function Ee(o, t, e) {
|
|
@@ -10403,8 +10406,8 @@ function Ee(o, t, e) {
|
|
|
10403
10406
|
}
|
|
10404
10407
|
function Lc(o, t, e) {
|
|
10405
10408
|
const i = eo[t], s = i.deps, r = i.name;
|
|
10406
|
-
let n = o[
|
|
10407
|
-
n || (o[
|
|
10409
|
+
let n = o[Ii];
|
|
10410
|
+
n || (o[Ii] = n = {});
|
|
10408
10411
|
for (let a = 0, l, c; a < s.length; a++)
|
|
10409
10412
|
l = s[a], !(Tc && Qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Nc, Pc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
10410
10413
|
o.addEventListener(t, e), i.touchAction && wr(o, i.touchAction);
|
|
@@ -10424,13 +10427,13 @@ function $c(o) {
|
|
|
10424
10427
|
return null;
|
|
10425
10428
|
}
|
|
10426
10429
|
function wr(o, t) {
|
|
10427
|
-
|
|
10430
|
+
Zi && o instanceof HTMLElement && gc.run(() => {
|
|
10428
10431
|
o.style.touchAction = t;
|
|
10429
|
-
}), o[
|
|
10432
|
+
}), o[Fi] = t;
|
|
10430
10433
|
}
|
|
10431
10434
|
function io(o, t, e) {
|
|
10432
10435
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
10433
|
-
if (i.detail = e,
|
|
10436
|
+
if (i.detail = e, Sc(
|
|
10434
10437
|
/** @type {!Node} */
|
|
10435
10438
|
o
|
|
10436
10439
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -10438,7 +10441,7 @@ function io(o, t, e) {
|
|
|
10438
10441
|
s && s.preventDefault && s.preventDefault();
|
|
10439
10442
|
}
|
|
10440
10443
|
}
|
|
10441
|
-
function
|
|
10444
|
+
function Yt(o) {
|
|
10442
10445
|
const t = $c(o);
|
|
10443
10446
|
t.info && (t.info.prevent = !0);
|
|
10444
10447
|
}
|
|
@@ -10459,7 +10462,7 @@ to({
|
|
|
10459
10462
|
* @return {void}
|
|
10460
10463
|
*/
|
|
10461
10464
|
reset() {
|
|
10462
|
-
|
|
10465
|
+
Xe(this.info);
|
|
10463
10466
|
},
|
|
10464
10467
|
/**
|
|
10465
10468
|
* @this {GestureRecognizer}
|
|
@@ -10467,14 +10470,14 @@ to({
|
|
|
10467
10470
|
* @return {void}
|
|
10468
10471
|
*/
|
|
10469
10472
|
mousedown(o) {
|
|
10470
|
-
if (!
|
|
10473
|
+
if (!He(o))
|
|
10471
10474
|
return;
|
|
10472
10475
|
const t = Oe(o), e = this, i = (r) => {
|
|
10473
|
-
|
|
10476
|
+
He(r) || (lt("up", t, r), Xe(e.info));
|
|
10474
10477
|
}, s = (r) => {
|
|
10475
|
-
|
|
10478
|
+
He(r) && lt("up", t, r), Xe(e.info);
|
|
10476
10479
|
};
|
|
10477
|
-
|
|
10480
|
+
yr(this.info, i, s), lt("down", t, o);
|
|
10478
10481
|
},
|
|
10479
10482
|
/**
|
|
10480
10483
|
* @this {GestureRecognizer}
|
|
@@ -10482,7 +10485,7 @@ to({
|
|
|
10482
10485
|
* @return {void}
|
|
10483
10486
|
*/
|
|
10484
10487
|
touchstart(o) {
|
|
10485
|
-
|
|
10488
|
+
lt("down", Oe(o), o.changedTouches[0], o);
|
|
10486
10489
|
},
|
|
10487
10490
|
/**
|
|
10488
10491
|
* @this {GestureRecognizer}
|
|
@@ -10490,17 +10493,17 @@ to({
|
|
|
10490
10493
|
* @return {void}
|
|
10491
10494
|
*/
|
|
10492
10495
|
touchend(o) {
|
|
10493
|
-
|
|
10496
|
+
lt("up", Oe(o), o.changedTouches[0], o);
|
|
10494
10497
|
}
|
|
10495
10498
|
});
|
|
10496
|
-
function
|
|
10499
|
+
function lt(o, t, e, i) {
|
|
10497
10500
|
t && io(t, o, {
|
|
10498
10501
|
x: e.clientX,
|
|
10499
10502
|
y: e.clientY,
|
|
10500
10503
|
sourceEvent: e,
|
|
10501
10504
|
preventer: i,
|
|
10502
10505
|
prevent(s) {
|
|
10503
|
-
return
|
|
10506
|
+
return Yt(s);
|
|
10504
10507
|
}
|
|
10505
10508
|
});
|
|
10506
10509
|
}
|
|
@@ -10521,7 +10524,7 @@ to({
|
|
|
10521
10524
|
moves: [],
|
|
10522
10525
|
/** @this {GestureInfo} */
|
|
10523
10526
|
addMove(o) {
|
|
10524
|
-
this.moves.length >
|
|
10527
|
+
this.moves.length > Ac && this.moves.shift(), this.moves.push(o);
|
|
10525
10528
|
},
|
|
10526
10529
|
movefn: null,
|
|
10527
10530
|
upfn: null,
|
|
@@ -10532,7 +10535,7 @@ to({
|
|
|
10532
10535
|
* @return {void}
|
|
10533
10536
|
*/
|
|
10534
10537
|
reset() {
|
|
10535
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
10538
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Xe(this.info);
|
|
10536
10539
|
},
|
|
10537
10540
|
/**
|
|
10538
10541
|
* @this {GestureRecognizer}
|
|
@@ -10540,15 +10543,15 @@ to({
|
|
|
10540
10543
|
* @return {void}
|
|
10541
10544
|
*/
|
|
10542
10545
|
mousedown(o) {
|
|
10543
|
-
if (!
|
|
10546
|
+
if (!He(o))
|
|
10544
10547
|
return;
|
|
10545
10548
|
const t = Oe(o), e = this, i = (r) => {
|
|
10546
10549
|
const n = r.clientX, a = r.clientY;
|
|
10547
|
-
Zo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
10550
|
+
Zo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Yt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && di(e.info, t, r), e.info.started = !0);
|
|
10548
10551
|
}, s = (r) => {
|
|
10549
|
-
e.info.started && i(r),
|
|
10552
|
+
e.info.started && i(r), Xe(e.info);
|
|
10550
10553
|
};
|
|
10551
|
-
|
|
10554
|
+
yr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
10552
10555
|
},
|
|
10553
10556
|
/**
|
|
10554
10557
|
* @this {GestureRecognizer}
|
|
@@ -10566,7 +10569,7 @@ to({
|
|
|
10566
10569
|
*/
|
|
10567
10570
|
touchmove(o) {
|
|
10568
10571
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
10569
|
-
Zo(this.info, i, s) && (this.info.state === "start" &&
|
|
10572
|
+
Zo(this.info, i, s) && (this.info.state === "start" && Yt("tap"), this.info.addMove({ x: i, y: s }), di(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
10570
10573
|
},
|
|
10571
10574
|
/**
|
|
10572
10575
|
* @this {GestureRecognizer}
|
|
@@ -10575,7 +10578,7 @@ to({
|
|
|
10575
10578
|
*/
|
|
10576
10579
|
touchend(o) {
|
|
10577
10580
|
const t = Oe(o), e = o.changedTouches[0];
|
|
10578
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
10581
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), di(this.info, t, e));
|
|
10579
10582
|
}
|
|
10580
10583
|
});
|
|
10581
10584
|
function Zo(o, t, e) {
|
|
@@ -10586,7 +10589,7 @@ function Zo(o, t, e) {
|
|
|
10586
10589
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
10587
10590
|
return i >= Xo || s >= Xo;
|
|
10588
10591
|
}
|
|
10589
|
-
function
|
|
10592
|
+
function di(o, t, e) {
|
|
10590
10593
|
if (!t)
|
|
10591
10594
|
return;
|
|
10592
10595
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
@@ -10631,7 +10634,7 @@ to({
|
|
|
10631
10634
|
* @return {void}
|
|
10632
10635
|
*/
|
|
10633
10636
|
mousedown(o) {
|
|
10634
|
-
|
|
10637
|
+
He(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
10635
10638
|
},
|
|
10636
10639
|
/**
|
|
10637
10640
|
* @this {GestureRecognizer}
|
|
@@ -10639,7 +10642,7 @@ to({
|
|
|
10639
10642
|
* @return {void}
|
|
10640
10643
|
*/
|
|
10641
10644
|
click(o) {
|
|
10642
|
-
|
|
10645
|
+
He(o) && Qo(this.info, o);
|
|
10643
10646
|
},
|
|
10644
10647
|
/**
|
|
10645
10648
|
* @this {GestureRecognizer}
|
|
@@ -10721,7 +10724,7 @@ const Er = oe(
|
|
|
10721
10724
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10722
10725
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10723
10726
|
*/
|
|
10724
|
-
const
|
|
10727
|
+
const Gt = oe(
|
|
10725
10728
|
(o) => class extends o {
|
|
10726
10729
|
/** @protected */
|
|
10727
10730
|
ready() {
|
|
@@ -10783,7 +10786,7 @@ const Jt = oe(
|
|
|
10783
10786
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10784
10787
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10785
10788
|
*/
|
|
10786
|
-
const Rc = (o) => class extends Er(
|
|
10789
|
+
const Rc = (o) => class extends Er(Gt(o)) {
|
|
10787
10790
|
/**
|
|
10788
10791
|
* An array of activation keys.
|
|
10789
10792
|
*
|
|
@@ -10853,7 +10856,7 @@ const oo = oe(
|
|
|
10853
10856
|
* @return {boolean}
|
|
10854
10857
|
*/
|
|
10855
10858
|
get _keyboardActive() {
|
|
10856
|
-
return
|
|
10859
|
+
return Ji();
|
|
10857
10860
|
}
|
|
10858
10861
|
/** @protected */
|
|
10859
10862
|
ready() {
|
|
@@ -11010,7 +11013,7 @@ const Hc = (o) => class extends Rc(Sr(oo(o))) {
|
|
|
11010
11013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11011
11014
|
*/
|
|
11012
11015
|
Q("vaadin-button", xc, { moduleId: "vaadin-button-styles" });
|
|
11013
|
-
class Bc extends Hc(_r(
|
|
11016
|
+
class Bc extends Hc(_r(Ye(ot(Ie)))) {
|
|
11014
11017
|
static get is() {
|
|
11015
11018
|
return "vaadin-button";
|
|
11016
11019
|
}
|
|
@@ -11036,11 +11039,11 @@ function Yc(o) {
|
|
|
11036
11039
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
11037
11040
|
return Math.floor(n / 7 + 1);
|
|
11038
11041
|
}
|
|
11039
|
-
function
|
|
11042
|
+
function Ni(o) {
|
|
11040
11043
|
const t = new Date(o);
|
|
11041
11044
|
return t.setHours(0, 0, 0, 0), t;
|
|
11042
11045
|
}
|
|
11043
|
-
function Pe(o, t, e =
|
|
11046
|
+
function Pe(o, t, e = Ni) {
|
|
11044
11047
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
11045
11048
|
}
|
|
11046
11049
|
function so(o) {
|
|
@@ -11050,7 +11053,7 @@ function so(o) {
|
|
|
11050
11053
|
year: o.getFullYear()
|
|
11051
11054
|
};
|
|
11052
11055
|
}
|
|
11053
|
-
function
|
|
11056
|
+
function tt(o, t, e, i) {
|
|
11054
11057
|
let s = !1;
|
|
11055
11058
|
if (typeof i == "function" && o) {
|
|
11056
11059
|
const r = so(o);
|
|
@@ -11080,22 +11083,22 @@ function jc(o, t, e = 0, i = 1) {
|
|
|
11080
11083
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
11081
11084
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
11082
11085
|
}
|
|
11083
|
-
function
|
|
11086
|
+
function ct(o) {
|
|
11084
11087
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
11085
11088
|
if (!t)
|
|
11086
11089
|
return;
|
|
11087
11090
|
const e = new Date(0, 0);
|
|
11088
11091
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
11089
11092
|
}
|
|
11090
|
-
function
|
|
11093
|
+
function Uc(o) {
|
|
11091
11094
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
11092
11095
|
let e = "", i = "0000", s = o.year;
|
|
11093
11096
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
11094
11097
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
11095
11098
|
return [r, n, a].join("-");
|
|
11096
11099
|
}
|
|
11097
|
-
function
|
|
11098
|
-
return o instanceof Date ?
|
|
11100
|
+
function Vc(o) {
|
|
11101
|
+
return o instanceof Date ? Uc({
|
|
11099
11102
|
year: o.getFullYear(),
|
|
11100
11103
|
month: o.getMonth(),
|
|
11101
11104
|
day: o.getDate()
|
|
@@ -11110,7 +11113,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11110
11113
|
Code distributed by Google as part of the polymer project is also
|
|
11111
11114
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11112
11115
|
*/
|
|
11113
|
-
class
|
|
11116
|
+
class jt {
|
|
11114
11117
|
constructor() {
|
|
11115
11118
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
11116
11119
|
}
|
|
@@ -11125,7 +11128,7 @@ class Vt {
|
|
|
11125
11128
|
*/
|
|
11126
11129
|
setConfig(t, e) {
|
|
11127
11130
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
11128
|
-
this._timer = null,
|
|
11131
|
+
this._timer = null, Et.delete(this), this._callback();
|
|
11129
11132
|
});
|
|
11130
11133
|
}
|
|
11131
11134
|
/**
|
|
@@ -11134,7 +11137,7 @@ class Vt {
|
|
|
11134
11137
|
* @return {void}
|
|
11135
11138
|
*/
|
|
11136
11139
|
cancel() {
|
|
11137
|
-
this.isActive() && (this._cancelAsync(),
|
|
11140
|
+
this.isActive() && (this._cancelAsync(), Et.delete(this));
|
|
11138
11141
|
}
|
|
11139
11142
|
/**
|
|
11140
11143
|
* Cancels a debouncer's async callback.
|
|
@@ -11198,15 +11201,15 @@ class Vt {
|
|
|
11198
11201
|
* @return {!Debouncer} Returns a debouncer object.
|
|
11199
11202
|
*/
|
|
11200
11203
|
static debounce(t, e, i) {
|
|
11201
|
-
return t instanceof
|
|
11204
|
+
return t instanceof jt ? t._cancelAsync() : t = new jt(), t.setConfig(e, i), t;
|
|
11202
11205
|
}
|
|
11203
11206
|
}
|
|
11204
|
-
let
|
|
11207
|
+
let Et = /* @__PURE__ */ new Set();
|
|
11205
11208
|
const Wc = function(o) {
|
|
11206
|
-
|
|
11209
|
+
Et.add(o);
|
|
11207
11210
|
}, qc = function() {
|
|
11208
|
-
const o = !!
|
|
11209
|
-
return
|
|
11211
|
+
const o = !!Et.size;
|
|
11212
|
+
return Et.forEach((t) => {
|
|
11210
11213
|
try {
|
|
11211
11214
|
t.flush();
|
|
11212
11215
|
} catch (e) {
|
|
@@ -11386,7 +11389,7 @@ class kr extends HTMLElement {
|
|
|
11386
11389
|
const t = this.$.scroller.scrollTop;
|
|
11387
11390
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
11388
11391
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
11389
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish =
|
|
11392
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = et.debounce(this._debouncerScrollFinish, Bt.after(200), () => {
|
|
11390
11393
|
const r = this.$.scroller.getBoundingClientRect();
|
|
11391
11394
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
11392
11395
|
});
|
|
@@ -11395,7 +11398,7 @@ class kr extends HTMLElement {
|
|
|
11395
11398
|
_reset() {
|
|
11396
11399
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
11397
11400
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
11398
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
11401
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones, Bt.after(200), () => {
|
|
11399
11402
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
11400
11403
|
}), this._scrollDisabled = !1;
|
|
11401
11404
|
}
|
|
@@ -11588,7 +11591,7 @@ const Jc = (o) => class extends o {
|
|
|
11588
11591
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11589
11592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11590
11593
|
*/
|
|
11591
|
-
class Xc extends
|
|
11594
|
+
class Xc extends Ye(Jc(Ie)) {
|
|
11592
11595
|
static get is() {
|
|
11593
11596
|
return "vaadin-date-picker-year";
|
|
11594
11597
|
}
|
|
@@ -11692,21 +11695,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11692
11695
|
Code distributed by Google as part of the polymer project is also
|
|
11693
11696
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11694
11697
|
*/
|
|
11695
|
-
let
|
|
11696
|
-
function
|
|
11697
|
-
return
|
|
11698
|
+
let zi = null;
|
|
11699
|
+
function Li() {
|
|
11700
|
+
return zi;
|
|
11698
11701
|
}
|
|
11699
|
-
|
|
11702
|
+
Li.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
11700
11703
|
constructor: {
|
|
11701
|
-
value:
|
|
11704
|
+
value: Li,
|
|
11702
11705
|
writable: !0
|
|
11703
11706
|
}
|
|
11704
11707
|
});
|
|
11705
|
-
const Mr =
|
|
11708
|
+
const Mr = Ki(Li), Qc = ao(Mr);
|
|
11706
11709
|
function eu(o, t) {
|
|
11707
|
-
|
|
11710
|
+
zi = o, Object.setPrototypeOf(o, t.prototype), new t(), zi = null;
|
|
11708
11711
|
}
|
|
11709
|
-
const tu =
|
|
11712
|
+
const tu = Ki(class {
|
|
11710
11713
|
});
|
|
11711
11714
|
function iu(o, t) {
|
|
11712
11715
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11860,7 +11863,7 @@ function es(o) {
|
|
|
11860
11863
|
}
|
|
11861
11864
|
function su(o, t, e) {
|
|
11862
11865
|
let i = e.mutableData ? ou : Fe;
|
|
11863
|
-
|
|
11866
|
+
$i.mixin && (i = $i.mixin(i));
|
|
11864
11867
|
let s = class extends i {
|
|
11865
11868
|
};
|
|
11866
11869
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), au(s, o, t, e), s;
|
|
@@ -11947,8 +11950,8 @@ function cu() {
|
|
|
11947
11950
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11948
11951
|
};
|
|
11949
11952
|
}
|
|
11950
|
-
function
|
|
11951
|
-
if (
|
|
11953
|
+
function $i(o, t, e) {
|
|
11954
|
+
if (Rt && !es(o))
|
|
11952
11955
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11953
11956
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11954
11957
|
e || {}, o.__templatizeOwner)
|
|
@@ -12229,7 +12232,7 @@ class is extends pu {
|
|
|
12229
12232
|
return s.observe(this, { childList: !0 }), !1;
|
|
12230
12233
|
}
|
|
12231
12234
|
let i = {};
|
|
12232
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
12235
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = $i(e, this, {
|
|
12233
12236
|
mutableData: this.mutableData,
|
|
12234
12237
|
parentModel: !0,
|
|
12235
12238
|
instanceProps: i,
|
|
@@ -12253,7 +12256,7 @@ class is extends pu {
|
|
|
12253
12256
|
if (ga(this.as, r)) {
|
|
12254
12257
|
let a = s[this.itemsIndexAs];
|
|
12255
12258
|
r == this.as && (this.items[a] = n);
|
|
12256
|
-
let l =
|
|
12259
|
+
let l = yt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
12257
12260
|
this.notifyPath(l, n);
|
|
12258
12261
|
}
|
|
12259
12262
|
}
|
|
@@ -12304,7 +12307,7 @@ class is extends pu {
|
|
|
12304
12307
|
* @param {number=} delay Delay in ms to debounce by.
|
|
12305
12308
|
*/
|
|
12306
12309
|
__debounceRender(t, e = 0) {
|
|
12307
|
-
this.__renderDebouncer =
|
|
12310
|
+
this.__renderDebouncer = jt.debounce(
|
|
12308
12311
|
this.__renderDebouncer,
|
|
12309
12312
|
e > 0 ? Ea.after(e) : Ws,
|
|
12310
12313
|
t.bind(this)
|
|
@@ -12583,7 +12586,7 @@ const fu = (o) => class extends oo(o) {
|
|
|
12583
12586
|
const r = new Date(0, 0);
|
|
12584
12587
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
12585
12588
|
const n = new Date(0, 0);
|
|
12586
|
-
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !
|
|
12589
|
+
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !tt(r, i, s) && !tt(n, i, s);
|
|
12587
12590
|
}
|
|
12588
12591
|
/** @protected */
|
|
12589
12592
|
_getTitle(e, i) {
|
|
@@ -12740,7 +12743,7 @@ const mu = R`
|
|
|
12740
12743
|
Q("vaadin-month-calendar", mu, {
|
|
12741
12744
|
moduleId: "vaadin-month-calendar-styles"
|
|
12742
12745
|
});
|
|
12743
|
-
class _u extends fu(
|
|
12746
|
+
class _u extends fu(Ye(Ie)) {
|
|
12744
12747
|
static get template() {
|
|
12745
12748
|
return Ue`
|
|
12746
12749
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12818,7 +12821,7 @@ class _u extends fu(je(Ie)) {
|
|
|
12818
12821
|
/** @private */
|
|
12819
12822
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12820
12823
|
__getDatePart(t, e, i, s, r, n) {
|
|
12821
|
-
const a = ["date"], l = t >
|
|
12824
|
+
const a = ["date"], l = t > Ni(/* @__PURE__ */ new Date()), c = t < Ni(/* @__PURE__ */ new Date());
|
|
12822
12825
|
return this.__isDayDisabled(t, s, r, n) && a.push("disabled"), this.__isDayFocused(t, e) && a.push("focused"), this.__isDaySelected(t, i) && a.push("selected"), this._isToday(t) && a.push("today"), c && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12823
12826
|
}
|
|
12824
12827
|
/** @private */
|
|
@@ -12836,7 +12839,7 @@ class _u extends fu(je(Ie)) {
|
|
|
12836
12839
|
}
|
|
12837
12840
|
/** @private */
|
|
12838
12841
|
__isDayDisabled(t, e, i, s) {
|
|
12839
|
-
return !
|
|
12842
|
+
return !tt(t, e, i, s);
|
|
12840
12843
|
}
|
|
12841
12844
|
/** @private */
|
|
12842
12845
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -13205,7 +13208,7 @@ const gu = (o) => class extends o {
|
|
|
13205
13208
|
}
|
|
13206
13209
|
/** @private */
|
|
13207
13210
|
_doIgnoreTaps() {
|
|
13208
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
13211
|
+
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer, Bt.after(300), () => {
|
|
13209
13212
|
this._ignoreTaps = !1;
|
|
13210
13213
|
});
|
|
13211
13214
|
}
|
|
@@ -13428,13 +13431,13 @@ const gu = (o) => class extends o {
|
|
|
13428
13431
|
}
|
|
13429
13432
|
}
|
|
13430
13433
|
focusDate(e, i) {
|
|
13431
|
-
return
|
|
13434
|
+
return st(this, null, function* () {
|
|
13432
13435
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
13433
13436
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
13434
13437
|
});
|
|
13435
13438
|
}
|
|
13436
13439
|
focusDateElement(e = !0) {
|
|
13437
|
-
return
|
|
13440
|
+
return st(this, null, function* () {
|
|
13438
13441
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
13439
13442
|
cr(this, () => {
|
|
13440
13443
|
ro(), i();
|
|
@@ -13472,7 +13475,7 @@ const gu = (o) => class extends o {
|
|
|
13472
13475
|
}
|
|
13473
13476
|
/** @private */
|
|
13474
13477
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
13475
|
-
return
|
|
13478
|
+
return tt(e, i, s, r);
|
|
13476
13479
|
}
|
|
13477
13480
|
/** @private */
|
|
13478
13481
|
_isTodayAllowed(e, i, s) {
|
|
@@ -13564,8 +13567,8 @@ const vu = R`
|
|
|
13564
13567
|
Q("vaadin-date-picker-overlay-content", vu, {
|
|
13565
13568
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
13566
13569
|
});
|
|
13567
|
-
class
|
|
13568
|
-
|
|
13570
|
+
class bu extends gu(
|
|
13571
|
+
ot(Ye(Wt(Ie)))
|
|
13569
13572
|
) {
|
|
13570
13573
|
static get template() {
|
|
13571
13574
|
return Ue`
|
|
@@ -13598,7 +13601,7 @@ class yu extends gu(
|
|
|
13598
13601
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
13599
13602
|
}
|
|
13600
13603
|
}
|
|
13601
|
-
Se(
|
|
13604
|
+
Se(bu);
|
|
13602
13605
|
/**
|
|
13603
13606
|
* @license
|
|
13604
13607
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -13761,9 +13764,9 @@ const Ir = oe(
|
|
|
13761
13764
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13762
13765
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13763
13766
|
*/
|
|
13764
|
-
const
|
|
13765
|
-
function
|
|
13766
|
-
return
|
|
13767
|
+
const hi = /* @__PURE__ */ new WeakMap();
|
|
13768
|
+
function yu(o) {
|
|
13769
|
+
return hi.has(o) || hi.set(o, /* @__PURE__ */ new Set()), hi.get(o);
|
|
13767
13770
|
}
|
|
13768
13771
|
function xu(o, t) {
|
|
13769
13772
|
const e = document.createElement("style");
|
|
@@ -13784,7 +13787,7 @@ const wu = oe(
|
|
|
13784
13787
|
}
|
|
13785
13788
|
/** @private */
|
|
13786
13789
|
__applySlotStyles() {
|
|
13787
|
-
const e = this.getRootNode(), i =
|
|
13790
|
+
const e = this.getRootNode(), i = yu(e);
|
|
13788
13791
|
this.slotStyles.forEach((s) => {
|
|
13789
13792
|
i.has(s) || (xu(s, e), i.add(s));
|
|
13790
13793
|
});
|
|
@@ -14000,7 +14003,7 @@ const Fr = oe(
|
|
|
14000
14003
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14001
14004
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14002
14005
|
*/
|
|
14003
|
-
const Eu = (o) => class extends Fr(
|
|
14006
|
+
const Eu = (o) => class extends Fr(Gt(o)) {
|
|
14004
14007
|
static get properties() {
|
|
14005
14008
|
return {
|
|
14006
14009
|
/**
|
|
@@ -14075,9 +14078,9 @@ const Eu = (o) => class extends Fr(Jt(o)) {
|
|
|
14075
14078
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14076
14079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14077
14080
|
*/
|
|
14078
|
-
const
|
|
14081
|
+
const pi = /* @__PURE__ */ new Map();
|
|
14079
14082
|
function lo(o) {
|
|
14080
|
-
return
|
|
14083
|
+
return pi.has(o) || pi.set(o, /* @__PURE__ */ new WeakMap()), pi.get(o);
|
|
14081
14084
|
}
|
|
14082
14085
|
function Nr(o, t) {
|
|
14083
14086
|
o && o.removeAttribute(t);
|
|
@@ -14088,16 +14091,16 @@ function zr(o, t) {
|
|
|
14088
14091
|
const e = lo(t);
|
|
14089
14092
|
if (e.has(o))
|
|
14090
14093
|
return;
|
|
14091
|
-
const i =
|
|
14094
|
+
const i = Xi(o.getAttribute(t));
|
|
14092
14095
|
e.set(o, new Set(i));
|
|
14093
14096
|
}
|
|
14094
14097
|
function Su(o, t) {
|
|
14095
14098
|
if (!o || !t)
|
|
14096
14099
|
return;
|
|
14097
14100
|
const e = lo(t), i = e.get(o);
|
|
14098
|
-
!i || i.size === 0 ? o.removeAttribute(t) : pr(o, t,
|
|
14101
|
+
!i || i.size === 0 ? o.removeAttribute(t) : pr(o, t, Kt(i)), e.delete(o);
|
|
14099
14102
|
}
|
|
14100
|
-
function
|
|
14103
|
+
function fi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
14101
14104
|
if (!o || !t)
|
|
14102
14105
|
return;
|
|
14103
14106
|
const { newId: i, oldId: s, fromUser: r } = e, n = lo(t), a = n.get(o);
|
|
@@ -14106,7 +14109,7 @@ function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
14106
14109
|
return;
|
|
14107
14110
|
}
|
|
14108
14111
|
r && (a ? i || n.delete(o) : zr(o, t), Nr(o, t)), Ql(o, t, s);
|
|
14109
|
-
const l = i ||
|
|
14112
|
+
const l = i || Kt(a);
|
|
14110
14113
|
l && pr(o, t, l);
|
|
14111
14114
|
}
|
|
14112
14115
|
function Au(o, t) {
|
|
@@ -14199,7 +14202,7 @@ class Cu {
|
|
|
14199
14202
|
* @private
|
|
14200
14203
|
*/
|
|
14201
14204
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
14202
|
-
|
|
14205
|
+
fi(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
14203
14206
|
}
|
|
14204
14207
|
/**
|
|
14205
14208
|
* @param {string | null | undefined} errorId
|
|
@@ -14207,7 +14210,7 @@ class Cu {
|
|
|
14207
14210
|
* @private
|
|
14208
14211
|
*/
|
|
14209
14212
|
__setErrorIdToAriaAttribute(t, e) {
|
|
14210
|
-
|
|
14213
|
+
fi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
14211
14214
|
}
|
|
14212
14215
|
/**
|
|
14213
14216
|
* @param {string | null | undefined} helperId
|
|
@@ -14215,7 +14218,7 @@ class Cu {
|
|
|
14215
14218
|
* @private
|
|
14216
14219
|
*/
|
|
14217
14220
|
__setHelperIdToAriaAttribute(t, e) {
|
|
14218
|
-
|
|
14221
|
+
fi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
14219
14222
|
}
|
|
14220
14223
|
/**
|
|
14221
14224
|
* @param {boolean} required
|
|
@@ -14235,12 +14238,12 @@ we.style.position = "fixed";
|
|
|
14235
14238
|
we.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
14236
14239
|
we.setAttribute("aria-live", "polite");
|
|
14237
14240
|
document.body.appendChild(we);
|
|
14238
|
-
let
|
|
14241
|
+
let Ot;
|
|
14239
14242
|
function Du(o, t = {}) {
|
|
14240
14243
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
14241
|
-
e === "alert" ? (we.removeAttribute("aria-live"), we.removeAttribute("role"),
|
|
14244
|
+
e === "alert" ? (we.removeAttribute("aria-live"), we.removeAttribute("role"), Ot = et.debounce(Ot, mc, () => {
|
|
14242
14245
|
we.setAttribute("role", "alert");
|
|
14243
|
-
})) : (
|
|
14246
|
+
})) : (Ot && Ot.cancel(), we.removeAttribute("role"), we.setAttribute("aria-live", e)), we.textContent = "", setTimeout(() => {
|
|
14244
14247
|
we.textContent = o;
|
|
14245
14248
|
}, i);
|
|
14246
14249
|
}
|
|
@@ -14251,7 +14254,7 @@ function Du(o, t = {}) {
|
|
|
14251
14254
|
*/
|
|
14252
14255
|
class co extends $e {
|
|
14253
14256
|
constructor(t, e, i, s = {}) {
|
|
14254
|
-
super(t, e, i,
|
|
14257
|
+
super(t, e, i, Dt(Ct({}, s), { useUniqueId: !0 }));
|
|
14255
14258
|
}
|
|
14256
14259
|
/**
|
|
14257
14260
|
* Override to initialize the newly added custom node.
|
|
@@ -14555,7 +14558,7 @@ class Tu extends co {
|
|
|
14555
14558
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14556
14559
|
*/
|
|
14557
14560
|
const Mu = oe(
|
|
14558
|
-
(o) => class extends
|
|
14561
|
+
(o) => class extends ot(o) {
|
|
14559
14562
|
static get properties() {
|
|
14560
14563
|
return {
|
|
14561
14564
|
/**
|
|
@@ -14669,7 +14672,7 @@ const Lr = oe(
|
|
|
14669
14672
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14670
14673
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14671
14674
|
*/
|
|
14672
|
-
const Ou = (o) => class extends Lr(Mu(
|
|
14675
|
+
const Ou = (o) => class extends Lr(Mu(ot(o))) {
|
|
14673
14676
|
static get properties() {
|
|
14674
14677
|
return {
|
|
14675
14678
|
/**
|
|
@@ -14977,7 +14980,7 @@ const $r = oe(
|
|
|
14977
14980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14978
14981
|
*/
|
|
14979
14982
|
const Fu = (o) => class extends wu(
|
|
14980
|
-
Ir($r(Ou(Eu(
|
|
14983
|
+
Ir($r(Ou(Eu(Gt(o)))))
|
|
14981
14984
|
) {
|
|
14982
14985
|
static get properties() {
|
|
14983
14986
|
return {
|
|
@@ -15109,7 +15112,7 @@ const Fu = (o) => class extends wu(
|
|
|
15109
15112
|
}
|
|
15110
15113
|
/** @protected */
|
|
15111
15114
|
_markInputPrevented() {
|
|
15112
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
15115
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer, Bt.after(200), () => {
|
|
15113
15116
|
this.removeAttribute("input-prevented");
|
|
15114
15117
|
});
|
|
15115
15118
|
}
|
|
@@ -15359,7 +15362,7 @@ class Yu {
|
|
|
15359
15362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15360
15363
|
*/
|
|
15361
15364
|
const ju = (o) => class extends Bu(
|
|
15362
|
-
|
|
15365
|
+
ot(Ir($r(Gt(o))))
|
|
15363
15366
|
) {
|
|
15364
15367
|
static get properties() {
|
|
15365
15368
|
return {
|
|
@@ -15563,7 +15566,7 @@ const ju = (o) => class extends Bu(
|
|
|
15563
15566
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
15564
15567
|
if (i.length === 3) {
|
|
15565
15568
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
15566
|
-
const l = this.referenceDate ?
|
|
15569
|
+
const l = this.referenceDate ? ct(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
15567
15570
|
a = jc(l, a, n, r);
|
|
15568
15571
|
}
|
|
15569
15572
|
} else
|
|
@@ -15726,7 +15729,7 @@ const ju = (o) => class extends Bu(
|
|
|
15726
15729
|
* @protected
|
|
15727
15730
|
*/
|
|
15728
15731
|
_onFocus(e) {
|
|
15729
|
-
super._onFocus(e), this._noInput && !
|
|
15732
|
+
super._onFocus(e), this._noInput && !Ji() && e.target.blur();
|
|
15730
15733
|
}
|
|
15731
15734
|
/**
|
|
15732
15735
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -15788,7 +15791,7 @@ const ju = (o) => class extends Bu(
|
|
|
15788
15791
|
if (!this.i18n.parseDate)
|
|
15789
15792
|
return;
|
|
15790
15793
|
let i = this.i18n.parseDate(e);
|
|
15791
|
-
if (i && (i =
|
|
15794
|
+
if (i && (i = ct(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
15792
15795
|
return i;
|
|
15793
15796
|
}
|
|
15794
15797
|
/**
|
|
@@ -15807,7 +15810,7 @@ const ju = (o) => class extends Bu(
|
|
|
15807
15810
|
* @return {boolean} True if the value is valid
|
|
15808
15811
|
*/
|
|
15809
15812
|
checkValidity() {
|
|
15810
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15813
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || tt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15811
15814
|
let r = !0;
|
|
15812
15815
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15813
15816
|
}
|
|
@@ -15899,7 +15902,7 @@ const ju = (o) => class extends Bu(
|
|
|
15899
15902
|
}
|
|
15900
15903
|
/** @private */
|
|
15901
15904
|
_formatISO(e) {
|
|
15902
|
-
return
|
|
15905
|
+
return Vc(e);
|
|
15903
15906
|
}
|
|
15904
15907
|
/** @protected */
|
|
15905
15908
|
_inputElementChanged(e) {
|
|
@@ -15930,7 +15933,7 @@ const ju = (o) => class extends Bu(
|
|
|
15930
15933
|
* @override
|
|
15931
15934
|
*/
|
|
15932
15935
|
_valueChanged(e, i) {
|
|
15933
|
-
const s =
|
|
15936
|
+
const s = ct(e);
|
|
15934
15937
|
if (e && !s) {
|
|
15935
15938
|
this.value = i;
|
|
15936
15939
|
return;
|
|
@@ -15969,8 +15972,8 @@ const ju = (o) => class extends Bu(
|
|
|
15969
15972
|
}
|
|
15970
15973
|
/** @private */
|
|
15971
15974
|
_getInitialPosition() {
|
|
15972
|
-
const e =
|
|
15973
|
-
return e ||
|
|
15975
|
+
const e = ct(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15976
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Ar(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15974
15977
|
}
|
|
15975
15978
|
/**
|
|
15976
15979
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -16108,7 +16111,7 @@ const ju = (o) => class extends Bu(
|
|
|
16108
16111
|
}
|
|
16109
16112
|
/** @private */
|
|
16110
16113
|
__computeMinOrMaxDate(e) {
|
|
16111
|
-
return
|
|
16114
|
+
return ct(e);
|
|
16112
16115
|
}
|
|
16113
16116
|
/**
|
|
16114
16117
|
* Fired when the user commits a value change.
|
|
@@ -16131,7 +16134,7 @@ const ju = (o) => class extends Bu(
|
|
|
16131
16134
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16132
16135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16133
16136
|
*/
|
|
16134
|
-
const
|
|
16137
|
+
const Uu = R`
|
|
16135
16138
|
:host([opened]) {
|
|
16136
16139
|
pointer-events: auto;
|
|
16137
16140
|
}
|
|
@@ -16150,8 +16153,8 @@ const Vu = R`
|
|
|
16150
16153
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16151
16154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16152
16155
|
*/
|
|
16153
|
-
Q("vaadin-date-picker", [Hu,
|
|
16154
|
-
class
|
|
16156
|
+
Q("vaadin-date-picker", [Hu, Uu], { moduleId: "vaadin-date-picker-styles" });
|
|
16157
|
+
class Vu extends ju(Fu(Ye(_r(Ie)))) {
|
|
16155
16158
|
static get is() {
|
|
16156
16159
|
return "vaadin-date-picker";
|
|
16157
16160
|
}
|
|
@@ -16239,7 +16242,7 @@ class Uu extends ju(Fu(je(_r(Ie)))) {
|
|
|
16239
16242
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
16240
16243
|
}
|
|
16241
16244
|
}
|
|
16242
|
-
Se(
|
|
16245
|
+
Se(Vu);
|
|
16243
16246
|
if (typeof window != "undefined") {
|
|
16244
16247
|
let o = function(t) {
|
|
16245
16248
|
return function(...e) {
|
|
@@ -16252,7 +16255,7 @@ if (typeof window != "undefined") {
|
|
|
16252
16255
|
}
|
|
16253
16256
|
};
|
|
16254
16257
|
};
|
|
16255
|
-
customElements.define = o(customElements.define), import("./PlayerAccountModal-
|
|
16258
|
+
customElements.define = o(customElements.define), import("./PlayerAccountModal-1yio55uP.js").then(({ default: t }) => {
|
|
16256
16259
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", t.element);
|
|
16257
16260
|
});
|
|
16258
16261
|
}
|
|
@@ -16268,7 +16271,7 @@ if (typeof window != "undefined") {
|
|
|
16268
16271
|
}
|
|
16269
16272
|
};
|
|
16270
16273
|
};
|
|
16271
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
16274
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DeKth9rU.js").then((t) => t.U).then(
|
|
16272
16275
|
({ default: t }) => {
|
|
16273
16276
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
16274
16277
|
"player-account-general-confirmation-modal",
|
|
@@ -16309,14 +16312,14 @@ function qu(o) {
|
|
|
16309
16312
|
), d, h, p = (
|
|
16310
16313
|
/*$_*/
|
|
16311
16314
|
o[20]("selfExclusionEmailText") + ""
|
|
16312
|
-
),
|
|
16315
|
+
), b, f, y, D, C, z, N, $, q, K = (
|
|
16313
16316
|
/*$_*/
|
|
16314
16317
|
o[20](`${/*selectedPeriodKey*/
|
|
16315
16318
|
o[13]}`) + ""
|
|
16316
|
-
), G,
|
|
16319
|
+
), G, V, O, k, j, se, E, v, m, x, _, A, S, F = (
|
|
16317
16320
|
/*$_*/
|
|
16318
16321
|
o[20]("save") + ""
|
|
16319
|
-
), H,
|
|
16322
|
+
), H, U, W, ee, he, ce, te = (
|
|
16320
16323
|
/*isMobile*/
|
|
16321
16324
|
o[22] && Gu(o)
|
|
16322
16325
|
), Z = fo(
|
|
@@ -16344,50 +16347,50 @@ function qu(o) {
|
|
|
16344
16347
|
);
|
|
16345
16348
|
return {
|
|
16346
16349
|
c() {
|
|
16347
|
-
t = T("div"), e = T("form"), te && te.c(), i = X(), s = T("h2"), n = _e(r), a = X(), l = T("div"), c = T("p"), d = X(), h = T("p"),
|
|
16350
|
+
t = T("div"), e = T("form"), te && te.c(), i = X(), s = T("h2"), n = _e(r), a = X(), l = T("div"), c = T("p"), d = X(), h = T("p"), b = _e(p), f = X(), y = T("a"), D = _e(
|
|
16348
16351
|
/*supportemail*/
|
|
16349
16352
|
o[2]
|
|
16350
|
-
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K),
|
|
16353
|
+
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K), V = X(), O = ke("svg"), k = ke("g"), j = ke("path"), se = X(), E = T("div");
|
|
16351
16354
|
for (let P = 0; P < L.length; P += 1)
|
|
16352
16355
|
L[P].c();
|
|
16353
16356
|
v = X(), Y && Y.c(), m = X(), x = T("div"), de.c(), _ = X(), A = T("div"), S = T("button"), H = _e(F), ee = X(), ge && ge.c(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16354
|
-
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(
|
|
16357
|
+
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(y, "href", C = "mailto:" + /*supportemail*/
|
|
16355
16358
|
o[2]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16356
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), M(j, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), M(j, "stroke-linecap", "round"), M(O, "xmlns", "http://www.w3.org/2000/svg"), M(O, "xmlns:xlink", "http://www.w3.org/1999/xlink"), M(O, "version", "1.1"), M(O, "viewBox", "0 0 100 100"), M(O, "xml:space", "preserve"), M(O, "class", "SelfExclusionConfigIcon"),
|
|
16359
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), M(j, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), M(j, "stroke-linecap", "round"), M(O, "xmlns", "http://www.w3.org/2000/svg"), M(O, "xmlns:xlink", "http://www.w3.org/1999/xlink"), M(O, "version", "1.1"), M(O, "viewBox", "0 0 100 100"), M(O, "xml:space", "preserve"), M(O, "class", "SelfExclusionConfigIcon"), Ve(
|
|
16357
16360
|
O,
|
|
16358
16361
|
"active",
|
|
16359
16362
|
/*isPeriodDropDownToggled*/
|
|
16360
16363
|
o[18]
|
|
16361
|
-
), M($, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"),
|
|
16364
|
+
), M($, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"), Ve(
|
|
16362
16365
|
E,
|
|
16363
16366
|
"active",
|
|
16364
16367
|
/*isPeriodDropDownToggled*/
|
|
16365
16368
|
o[18]
|
|
16366
16369
|
), M(N, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16367
|
-
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")),
|
|
16370
|
+
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
16368
16371
|
N,
|
|
16369
16372
|
"active",
|
|
16370
16373
|
/*isPeriodDropDownToggled*/
|
|
16371
16374
|
o[18]
|
|
16372
16375
|
), M(x, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16373
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class",
|
|
16376
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class", U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16374
16377
|
(o[17] ? "active" : "")), S.disabled = W = !/*isDateSelected*/
|
|
16375
16378
|
o[17], M(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16376
16379
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16377
16380
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16378
16381
|
},
|
|
16379
16382
|
m(P, J) {
|
|
16380
|
-
|
|
16383
|
+
ye(P, t, J), g(t, e), te && te.m(e, null), g(e, i), g(e, s), g(s, n), g(e, a), g(e, l), g(l, c), c.innerHTML = u, g(l, d), g(l, h), g(h, b), g(h, f), g(h, y), g(y, D), g(e, z), g(e, N), g(N, $), g($, q), g(q, G), g($, V), g($, O), g(O, k), g(k, j), g(N, se), g(N, E);
|
|
16381
16384
|
for (let ie = 0; ie < L.length; ie += 1)
|
|
16382
16385
|
L[ie] && L[ie].m(E, null);
|
|
16383
16386
|
g(e, v), Y && Y.m(e, null), g(e, m), g(e, x), de.m(x, null), g(e, _), g(e, A), g(A, S), g(S, H), g(t, ee), ge && ge.m(t, null), he || (ce = [
|
|
16384
|
-
|
|
16387
|
+
Nt(
|
|
16385
16388
|
$,
|
|
16386
16389
|
"click",
|
|
16387
16390
|
/*click_handler_1*/
|
|
16388
16391
|
o[37]
|
|
16389
16392
|
),
|
|
16390
|
-
|
|
16393
|
+
Nt(
|
|
16391
16394
|
S,
|
|
16392
16395
|
"click",
|
|
16393
16396
|
/*click_handler_3*/
|
|
@@ -16400,7 +16403,7 @@ function qu(o) {
|
|
|
16400
16403
|
/*isMobile*/
|
|
16401
16404
|
P[22] && te.p(P, J), J[0] & /*$_*/
|
|
16402
16405
|
1048576 && r !== (r = /*$_*/
|
|
16403
|
-
P[20]("titleSelfExclusion") + "") &&
|
|
16406
|
+
P[20]("titleSelfExclusion") + "") && be(n, r), J[0] & /*$_, operator, baseurl, lang*/
|
|
16404
16407
|
1048587 && u !== (u = /*$_*/
|
|
16405
16408
|
P[20]("selfExclusionText", {
|
|
16406
16409
|
values: {
|
|
@@ -16419,18 +16422,18 @@ function qu(o) {
|
|
|
16419
16422
|
}
|
|
16420
16423
|
}) + "") && (c.innerHTML = u), J[0] & /*$_*/
|
|
16421
16424
|
1048576 && p !== (p = /*$_*/
|
|
16422
|
-
P[20]("selfExclusionEmailText") + "") &&
|
|
16423
|
-
4 &&
|
|
16425
|
+
P[20]("selfExclusionEmailText") + "") && be(b, p), J[0] & /*supportemail*/
|
|
16426
|
+
4 && be(
|
|
16424
16427
|
D,
|
|
16425
16428
|
/*supportemail*/
|
|
16426
16429
|
P[2]
|
|
16427
16430
|
), J[0] & /*supportemail*/
|
|
16428
16431
|
4 && C !== (C = "mailto:" + /*supportemail*/
|
|
16429
|
-
P[2]) && M(
|
|
16432
|
+
P[2]) && M(y, "href", C), J[0] & /*$_, selectedPeriodKey*/
|
|
16430
16433
|
1056768 && K !== (K = /*$_*/
|
|
16431
16434
|
P[20](`${/*selectedPeriodKey*/
|
|
16432
|
-
P[13]}`) + "") &&
|
|
16433
|
-
262144 &&
|
|
16435
|
+
P[13]}`) + "") && be(G, K), J[0] & /*isPeriodDropDownToggled*/
|
|
16436
|
+
262144 && Ve(
|
|
16434
16437
|
O,
|
|
16435
16438
|
"active",
|
|
16436
16439
|
/*isPeriodDropDownToggled*/
|
|
@@ -16444,21 +16447,21 @@ function qu(o) {
|
|
|
16444
16447
|
);
|
|
16445
16448
|
let ie;
|
|
16446
16449
|
for (ie = 0; ie < Z.length; ie += 1) {
|
|
16447
|
-
const
|
|
16448
|
-
L[ie] ? L[ie].p(
|
|
16450
|
+
const At = os(P, Z, ie);
|
|
16451
|
+
L[ie] ? L[ie].p(At, J) : (L[ie] = ss(At), L[ie].c(), L[ie].m(E, null));
|
|
16449
16452
|
}
|
|
16450
16453
|
for (; ie < L.length; ie += 1)
|
|
16451
16454
|
L[ie].d(1);
|
|
16452
16455
|
L.length = Z.length;
|
|
16453
16456
|
}
|
|
16454
16457
|
J[0] & /*isPeriodDropDownToggled*/
|
|
16455
|
-
262144 &&
|
|
16458
|
+
262144 && Ve(
|
|
16456
16459
|
E,
|
|
16457
16460
|
"active",
|
|
16458
16461
|
/*isPeriodDropDownToggled*/
|
|
16459
16462
|
P[18]
|
|
16460
16463
|
), J[0] & /*isPeriodDropDownToggled*/
|
|
16461
|
-
262144 &&
|
|
16464
|
+
262144 && Ve(
|
|
16462
16465
|
N,
|
|
16463
16466
|
"active",
|
|
16464
16467
|
/*isPeriodDropDownToggled*/
|
|
@@ -16466,35 +16469,35 @@ function qu(o) {
|
|
|
16466
16469
|
), /*isUntilDate*/
|
|
16467
16470
|
P[16] ? Y ? Y.p(P, J) : (Y = rs(P), Y.c(), Y.m(e, m)) : Y && (Y.d(1), Y = null), ue === (ue = pe(P)) && de ? de.p(P, J) : (de.d(1), de = ue(P), de && (de.c(), de.m(x, null))), J[0] & /*$_*/
|
|
16468
16471
|
1048576 && F !== (F = /*$_*/
|
|
16469
|
-
P[20]("save") + "") &&
|
|
16470
|
-
131072 &&
|
|
16471
|
-
(P[17] ? "active" : "")) && M(S, "class",
|
|
16472
|
+
P[20]("save") + "") && be(H, F), J[0] & /*isDateSelected*/
|
|
16473
|
+
131072 && U !== (U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16474
|
+
(P[17] ? "active" : "")) && M(S, "class", U), J[0] & /*isDateSelected*/
|
|
16472
16475
|
131072 && W !== (W = !/*isDateSelected*/
|
|
16473
16476
|
P[17]) && (S.disabled = W), /*showConfirmationModal*/
|
|
16474
16477
|
P[23] && ge.p(P, J);
|
|
16475
16478
|
},
|
|
16476
16479
|
d(P) {
|
|
16477
|
-
P &&
|
|
16480
|
+
P && xe(t), te && te.d(), nn(L, P), Y && Y.d(), de.d(), ge && ge.d(), he = !1, an(ce);
|
|
16478
16481
|
}
|
|
16479
16482
|
};
|
|
16480
16483
|
}
|
|
16481
16484
|
function Ku(o) {
|
|
16482
|
-
let t, e, i, s, r, n, a, l, c, u, d, h, p,
|
|
16483
|
-
function q(
|
|
16485
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, p, b, f, y, D, C, z, N, $;
|
|
16486
|
+
function q(V, O) {
|
|
16484
16487
|
return (
|
|
16485
16488
|
/*isMobile*/
|
|
16486
|
-
|
|
16489
|
+
V[22] ? td : ed
|
|
16487
16490
|
);
|
|
16488
16491
|
}
|
|
16489
16492
|
let G = q(o)(o);
|
|
16490
16493
|
return {
|
|
16491
16494
|
c() {
|
|
16492
|
-
t = T("div"), e = T("div"), G.c(), i = X(), s = T("div"), r = T("ui-skeleton"), n = X(), a = T("div"), l = X(), c = T("ui-skeleton"), u = X(), d = T("div"), h = X(), p = T("div"),
|
|
16495
|
+
t = T("div"), e = T("div"), G.c(), i = X(), s = T("div"), r = T("ui-skeleton"), n = X(), a = T("div"), l = X(), c = T("ui-skeleton"), u = X(), d = T("div"), h = X(), p = T("div"), b = T("ui-skeleton"), f = X(), y = T("div"), D = X(), C = T("ui-skeleton"), z = X(), N = T("div"), $ = T("ui-skeleton"), I(r, "structure", "text"), I(
|
|
16493
16496
|
r,
|
|
16494
16497
|
"height",
|
|
16495
16498
|
/*isMobile*/
|
|
16496
16499
|
o[22] ? "15px" : "20px"
|
|
16497
|
-
), I(r, "rows", "6"), I(r, "width", "100%"),
|
|
16500
|
+
), I(r, "rows", "6"), I(r, "width", "100%"), Jt(
|
|
16498
16501
|
a,
|
|
16499
16502
|
"height",
|
|
16500
16503
|
/*isMobile*/
|
|
@@ -16504,18 +16507,18 @@ function Ku(o) {
|
|
|
16504
16507
|
"height",
|
|
16505
16508
|
/*isMobile*/
|
|
16506
16509
|
o[22] ? "15px" : "20px"
|
|
16507
|
-
), I(c, "width", "30%"),
|
|
16508
|
-
|
|
16510
|
+
), I(c, "width", "30%"), Jt(d, "height", "10px"), M(s, "class", "SelfExclusionDescription"), I(b, "structure", "rectangle"), I(
|
|
16511
|
+
b,
|
|
16509
16512
|
"width",
|
|
16510
16513
|
/*isMobile*/
|
|
16511
16514
|
o[22] ? "100%" : "50%"
|
|
16512
16515
|
), I(
|
|
16513
|
-
|
|
16516
|
+
b,
|
|
16514
16517
|
"height",
|
|
16515
16518
|
/*isMobile*/
|
|
16516
16519
|
o[22] ? "30px" : "44px"
|
|
16517
|
-
),
|
|
16518
|
-
|
|
16520
|
+
), Jt(
|
|
16521
|
+
y,
|
|
16519
16522
|
"height",
|
|
16520
16523
|
/*isMobile*/
|
|
16521
16524
|
o[22] ? "15px" : "20px"
|
|
@@ -16533,12 +16536,12 @@ function Ku(o) {
|
|
|
16533
16536
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16534
16537
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16535
16538
|
},
|
|
16536
|
-
m(
|
|
16537
|
-
|
|
16539
|
+
m(V, O) {
|
|
16540
|
+
ye(V, t, O), g(t, e), G.m(e, null), g(e, i), g(e, s), g(s, r), g(s, n), g(s, a), g(s, l), g(s, c), g(s, u), g(s, d), g(e, h), g(e, p), g(p, b), g(p, f), g(p, y), g(p, D), g(p, C), g(e, z), g(e, N), g(N, $);
|
|
16538
16541
|
},
|
|
16539
|
-
p:
|
|
16540
|
-
d(
|
|
16541
|
-
|
|
16542
|
+
p: mi,
|
|
16543
|
+
d(V) {
|
|
16544
|
+
V && xe(t), G.d();
|
|
16542
16545
|
}
|
|
16543
16546
|
};
|
|
16544
16547
|
}
|
|
@@ -16546,26 +16549,26 @@ function Gu(o) {
|
|
|
16546
16549
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16547
16550
|
/*$_*/
|
|
16548
16551
|
o[20]("titleSelfExclusion") + ""
|
|
16549
|
-
), h, p,
|
|
16552
|
+
), h, p, b;
|
|
16550
16553
|
return {
|
|
16551
16554
|
c() {
|
|
16552
16555
|
t = T("div"), e = ke("svg"), i = ke("defs"), s = ke("style"), r = _e(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = ke("g"), a = ke("g"), l = ke("path"), c = X(), u = T("h2"), h = _e(d), M(l, "class", "aaa"), M(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), M(l, "transform", "translate(15 15) rotate(180)"), M(a, "transform", "translate(20 158)"), M(n, "transform", "translate(-20 -158)"), M(e, "xmlns", "http://www.w3.org/2000/svg"), M(e, "width", "15"), M(e, "height", "15"), M(e, "viewBox", "0 0 15 15"), M(u, "class", "PlayerSelfExclusionTitleMobile"), M(t, "class", "MenuReturnButton");
|
|
16553
16556
|
},
|
|
16554
|
-
m(f,
|
|
16555
|
-
|
|
16557
|
+
m(f, y) {
|
|
16558
|
+
ye(f, t, y), g(t, e), g(e, i), g(i, s), g(s, r), g(e, n), g(n, a), g(a, l), g(t, c), g(t, u), g(u, h), p || (b = Nt(
|
|
16556
16559
|
t,
|
|
16557
16560
|
"click",
|
|
16558
16561
|
/*click_handler*/
|
|
16559
16562
|
o[36]
|
|
16560
16563
|
), p = !0);
|
|
16561
16564
|
},
|
|
16562
|
-
p(f,
|
|
16563
|
-
|
|
16565
|
+
p(f, y) {
|
|
16566
|
+
y[0] & /*$_*/
|
|
16564
16567
|
1048576 && d !== (d = /*$_*/
|
|
16565
|
-
f[20]("titleSelfExclusion") + "") &&
|
|
16568
|
+
f[20]("titleSelfExclusion") + "") && be(h, d);
|
|
16566
16569
|
},
|
|
16567
16570
|
d(f) {
|
|
16568
|
-
f &&
|
|
16571
|
+
f && xe(t), p = !1, b();
|
|
16569
16572
|
}
|
|
16570
16573
|
};
|
|
16571
16574
|
}
|
|
@@ -16589,16 +16592,16 @@ function ss(o) {
|
|
|
16589
16592
|
t = T("div"), i = _e(e);
|
|
16590
16593
|
},
|
|
16591
16594
|
m(a, l) {
|
|
16592
|
-
|
|
16595
|
+
ye(a, t, l), g(t, i), s || (r = Nt(t, "click", n), s = !0);
|
|
16593
16596
|
},
|
|
16594
16597
|
p(a, l) {
|
|
16595
16598
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16596
16599
|
1049088 && e !== (e = /*$_*/
|
|
16597
16600
|
o[20](`${/*period*/
|
|
16598
|
-
o[56].key}`) + "") &&
|
|
16601
|
+
o[56].key}`) + "") && be(i, e);
|
|
16599
16602
|
},
|
|
16600
16603
|
d(a) {
|
|
16601
|
-
a &&
|
|
16604
|
+
a && xe(t), s = !1, r();
|
|
16602
16605
|
}
|
|
16603
16606
|
};
|
|
16604
16607
|
}
|
|
@@ -16609,60 +16612,60 @@ function rs(o) {
|
|
|
16609
16612
|
), s, r, n, a = (
|
|
16610
16613
|
/*$_*/
|
|
16611
16614
|
o[20]("dateInstructions") + ""
|
|
16612
|
-
), l, c, u, d, h, p,
|
|
16615
|
+
), l, c, u, d, h, p, b;
|
|
16613
16616
|
return {
|
|
16614
16617
|
c() {
|
|
16615
16618
|
t = T("div"), e = T("label"), s = _e(i), r = X(), n = T("span"), l = _e(a), c = X(), u = T("strong"), d = _e(
|
|
16616
16619
|
/*validDateformat*/
|
|
16617
16620
|
o[21]
|
|
16618
|
-
), h = T("strong"), p = X(),
|
|
16619
|
-
|
|
16621
|
+
), h = T("strong"), p = X(), b = T("vaadin-date-picker"), M(e, "for", "SelfExclusionDate"), M(n, "class", "SelfExclusionDateInstructions"), I(
|
|
16622
|
+
b,
|
|
16620
16623
|
"min",
|
|
16621
16624
|
/*minDate*/
|
|
16622
16625
|
o[10]
|
|
16623
16626
|
), I(
|
|
16624
|
-
|
|
16627
|
+
b,
|
|
16625
16628
|
"max",
|
|
16626
16629
|
/*maxDate*/
|
|
16627
16630
|
o[11]
|
|
16628
16631
|
), I(
|
|
16629
|
-
|
|
16632
|
+
b,
|
|
16630
16633
|
"value",
|
|
16631
16634
|
/*selfExclusionExpiryDate*/
|
|
16632
16635
|
o[12]
|
|
16633
16636
|
), M(t, "class", "SelfExclusionDateWrapper " + /*isMobile*/
|
|
16634
16637
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16635
16638
|
},
|
|
16636
|
-
m(f,
|
|
16637
|
-
|
|
16639
|
+
m(f, y) {
|
|
16640
|
+
ye(f, t, y), g(t, e), g(e, s), g(t, r), g(t, n), g(n, l), g(n, c), g(n, u), g(u, d), g(u, h), g(t, p), g(t, b), o[39](b);
|
|
16638
16641
|
},
|
|
16639
|
-
p(f,
|
|
16640
|
-
|
|
16642
|
+
p(f, y) {
|
|
16643
|
+
y[0] & /*$_*/
|
|
16641
16644
|
1048576 && i !== (i = /*$_*/
|
|
16642
|
-
f[20]("duration") + "") &&
|
|
16645
|
+
f[20]("duration") + "") && be(s, i), y[0] & /*$_*/
|
|
16643
16646
|
1048576 && a !== (a = /*$_*/
|
|
16644
|
-
f[20]("dateInstructions") + "") &&
|
|
16647
|
+
f[20]("dateInstructions") + "") && be(l, a), y[0] & /*minDate*/
|
|
16645
16648
|
1024 && I(
|
|
16646
|
-
|
|
16649
|
+
b,
|
|
16647
16650
|
"min",
|
|
16648
16651
|
/*minDate*/
|
|
16649
16652
|
f[10]
|
|
16650
|
-
),
|
|
16653
|
+
), y[0] & /*maxDate*/
|
|
16651
16654
|
2048 && I(
|
|
16652
|
-
|
|
16655
|
+
b,
|
|
16653
16656
|
"max",
|
|
16654
16657
|
/*maxDate*/
|
|
16655
16658
|
f[11]
|
|
16656
|
-
),
|
|
16659
|
+
), y[0] & /*selfExclusionExpiryDate*/
|
|
16657
16660
|
4096 && I(
|
|
16658
|
-
|
|
16661
|
+
b,
|
|
16659
16662
|
"value",
|
|
16660
16663
|
/*selfExclusionExpiryDate*/
|
|
16661
16664
|
f[12]
|
|
16662
16665
|
);
|
|
16663
16666
|
},
|
|
16664
16667
|
d(f) {
|
|
16665
|
-
f &&
|
|
16668
|
+
f && xe(t), o[39](null);
|
|
16666
16669
|
}
|
|
16667
16670
|
};
|
|
16668
16671
|
}
|
|
@@ -16686,7 +16689,7 @@ function Ju(o) {
|
|
|
16686
16689
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16687
16690
|
},
|
|
16688
16691
|
m(r, n) {
|
|
16689
|
-
|
|
16692
|
+
ye(r, t, n), g(t, e), g(e, s);
|
|
16690
16693
|
},
|
|
16691
16694
|
p(r, n) {
|
|
16692
16695
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16701,10 +16704,10 @@ function Ju(o) {
|
|
|
16701
16704
|
r[21]
|
|
16702
16705
|
)
|
|
16703
16706
|
}
|
|
16704
|
-
}) + "") &&
|
|
16707
|
+
}) + "") && be(s, i);
|
|
16705
16708
|
},
|
|
16706
16709
|
d(r) {
|
|
16707
|
-
r &&
|
|
16710
|
+
r && xe(t);
|
|
16708
16711
|
}
|
|
16709
16712
|
};
|
|
16710
16713
|
}
|
|
@@ -16718,15 +16721,15 @@ function Xu(o) {
|
|
|
16718
16721
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16719
16722
|
},
|
|
16720
16723
|
m(r, n) {
|
|
16721
|
-
|
|
16724
|
+
ye(r, t, n), g(t, e), g(e, s);
|
|
16722
16725
|
},
|
|
16723
16726
|
p(r, n) {
|
|
16724
16727
|
n[0] & /*$_*/
|
|
16725
16728
|
1048576 && i !== (i = /*$_*/
|
|
16726
|
-
r[20]("noPeriodSelected") + "") &&
|
|
16729
|
+
r[20]("noPeriodSelected") + "") && be(s, i);
|
|
16727
16730
|
},
|
|
16728
16731
|
d(r) {
|
|
16729
|
-
r &&
|
|
16732
|
+
r && xe(t);
|
|
16730
16733
|
}
|
|
16731
16734
|
};
|
|
16732
16735
|
}
|
|
@@ -16740,15 +16743,15 @@ function Zu(o) {
|
|
|
16740
16743
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16741
16744
|
},
|
|
16742
16745
|
m(r, n) {
|
|
16743
|
-
|
|
16746
|
+
ye(r, t, n), g(t, e), g(e, s);
|
|
16744
16747
|
},
|
|
16745
16748
|
p(r, n) {
|
|
16746
16749
|
n[0] & /*$_*/
|
|
16747
16750
|
1048576 && i !== (i = /*$_*/
|
|
16748
|
-
r[20]("permanentSelfExclusion") + "") &&
|
|
16751
|
+
r[20]("permanentSelfExclusion") + "") && be(s, i);
|
|
16749
16752
|
},
|
|
16750
16753
|
d(r) {
|
|
16751
|
-
r &&
|
|
16754
|
+
r && xe(t);
|
|
16752
16755
|
}
|
|
16753
16756
|
};
|
|
16754
16757
|
}
|
|
@@ -16790,7 +16793,7 @@ function Qu(o) {
|
|
|
16790
16793
|
), I(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16791
16794
|
},
|
|
16792
16795
|
m(s, r) {
|
|
16793
|
-
|
|
16796
|
+
ye(s, t, r), g(t, e);
|
|
16794
16797
|
},
|
|
16795
16798
|
p(s, r) {
|
|
16796
16799
|
r[0] & /*$_*/
|
|
@@ -16834,7 +16837,7 @@ function Qu(o) {
|
|
|
16834
16837
|
);
|
|
16835
16838
|
},
|
|
16836
16839
|
d(s) {
|
|
16837
|
-
s &&
|
|
16840
|
+
s && xe(t);
|
|
16838
16841
|
}
|
|
16839
16842
|
};
|
|
16840
16843
|
}
|
|
@@ -16845,10 +16848,10 @@ function ed(o) {
|
|
|
16845
16848
|
t = T("ui-skeleton"), I(t, "structure", "title"), I(t, "width", "100px"), I(t, "margin-top", "20px"), I(t, "margin-bottom", "20px");
|
|
16846
16849
|
},
|
|
16847
16850
|
m(e, i) {
|
|
16848
|
-
|
|
16851
|
+
ye(e, t, i);
|
|
16849
16852
|
},
|
|
16850
16853
|
d(e) {
|
|
16851
|
-
e &&
|
|
16854
|
+
e && xe(t);
|
|
16852
16855
|
}
|
|
16853
16856
|
};
|
|
16854
16857
|
}
|
|
@@ -16859,10 +16862,10 @@ function td(o) {
|
|
|
16859
16862
|
t = T("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', M(t, "class", "MenuReturnButton");
|
|
16860
16863
|
},
|
|
16861
16864
|
m(e, i) {
|
|
16862
|
-
|
|
16865
|
+
ye(e, t, i);
|
|
16863
16866
|
},
|
|
16864
16867
|
d(e) {
|
|
16865
|
-
e &&
|
|
16868
|
+
e && xe(t);
|
|
16866
16869
|
}
|
|
16867
16870
|
};
|
|
16868
16871
|
}
|
|
@@ -16880,23 +16883,23 @@ function id(o) {
|
|
|
16880
16883
|
t = T("div"), s.c();
|
|
16881
16884
|
},
|
|
16882
16885
|
m(r, n) {
|
|
16883
|
-
|
|
16886
|
+
ye(r, t, n), s.m(t, null), o[41](t);
|
|
16884
16887
|
},
|
|
16885
16888
|
p(r, n) {
|
|
16886
16889
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16887
16890
|
},
|
|
16888
|
-
i:
|
|
16889
|
-
o:
|
|
16891
|
+
i: mi,
|
|
16892
|
+
o: mi,
|
|
16890
16893
|
d(r) {
|
|
16891
|
-
r &&
|
|
16894
|
+
r && xe(t), s.d(), o[41](null);
|
|
16892
16895
|
}
|
|
16893
16896
|
};
|
|
16894
16897
|
}
|
|
16895
16898
|
function od(o, t, e) {
|
|
16896
16899
|
let i;
|
|
16897
|
-
Qr(o,
|
|
16898
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource:
|
|
16899
|
-
const
|
|
16900
|
+
Qr(o, ln, (w) => e(20, i = w)), Ce.extend(dn);
|
|
16901
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: b, translationurl: f = "", hasconfirmationmodal: y = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, $ = [], q = {}, K = D.toUpperCase(), G = window.navigator.userAgent, V, O, k = "", j = "", se = "selectAPeriod", E = "", v = "", m = en(G) !== "PC", x = !1, _ = !1, A = !1, S = !1, F = y === "true", H = !0;
|
|
16902
|
+
const U = () => {
|
|
16900
16903
|
fetch(f).then((ne) => ne.json()).then((ne) => {
|
|
16901
16904
|
Object.keys(ne).forEach((ae) => {
|
|
16902
16905
|
mo(ae, ne[ae]);
|
|
@@ -16931,7 +16934,7 @@ function od(o, t, e) {
|
|
|
16931
16934
|
});
|
|
16932
16935
|
}, ee = (w) => {
|
|
16933
16936
|
w.data.type === "setSelfExclusion" && Y();
|
|
16934
|
-
}, he = (w) =>
|
|
16937
|
+
}, he = (w) => st(this, null, function* () {
|
|
16935
16938
|
var ne;
|
|
16936
16939
|
if (!w.ok) {
|
|
16937
16940
|
q = yield w.json(), v = (ne = q.thirdPartyResponse) == null ? void 0 : ne.errorCode;
|
|
@@ -16944,7 +16947,7 @@ function od(o, t, e) {
|
|
|
16944
16947
|
}, te = (w) => {
|
|
16945
16948
|
switch (j = w.text, e(13, se = w.key), e(17, A = !0), e(18, S = !1), e(15, x = !1), e(16, _ = !1), j) {
|
|
16946
16949
|
case "Until":
|
|
16947
|
-
e(16, _ = !0), e(10,
|
|
16950
|
+
e(16, _ = !0), e(10, V = Ce().add(6, "months").format("YYYY-MM-DD")), e(11, O = Ce().add(5, "years").format("YYYY-MM-DD")), e(12, k = V);
|
|
16948
16951
|
break;
|
|
16949
16952
|
case "Permanent":
|
|
16950
16953
|
e(15, x = !x);
|
|
@@ -16976,7 +16979,7 @@ function od(o, t, e) {
|
|
|
16976
16979
|
)) : Y();
|
|
16977
16980
|
}, Y = () => {
|
|
16978
16981
|
e(19, H = !0);
|
|
16979
|
-
const w = new URL(
|
|
16982
|
+
const w = new URL(`${s}/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`), ae = {
|
|
16980
16983
|
method: "PUT",
|
|
16981
16984
|
headers: {
|
|
16982
16985
|
"X-SessionID": r,
|
|
@@ -17030,7 +17033,7 @@ function od(o, t, e) {
|
|
|
17030
17033
|
}, de = () => {
|
|
17031
17034
|
N.addEventListener("change", ue, !1), e(
|
|
17032
17035
|
8,
|
|
17033
|
-
N.i18n =
|
|
17036
|
+
N.i18n = Dt(Ct({}, N.i18n), {
|
|
17034
17037
|
formatDate: (w) => Ce(new Date(w.year, w.month, w.day)).format(K),
|
|
17035
17038
|
parseDate: (w) => {
|
|
17036
17039
|
const ne = Ce(w, K);
|
|
@@ -17050,7 +17053,7 @@ function od(o, t, e) {
|
|
|
17050
17053
|
const ge = () => {
|
|
17051
17054
|
hn(a);
|
|
17052
17055
|
}, P = () => pe(), J = () => ce(), ie = (w) => te(w);
|
|
17053
|
-
function
|
|
17056
|
+
function At(w) {
|
|
17054
17057
|
po[w ? "unshift" : "push"](() => {
|
|
17055
17058
|
N = w, e(8, N);
|
|
17056
17059
|
});
|
|
@@ -17062,17 +17065,17 @@ function od(o, t, e) {
|
|
|
17062
17065
|
});
|
|
17063
17066
|
}
|
|
17064
17067
|
return o.$$set = (w) => {
|
|
17065
|
-
"endpoint" in w && e(28, s = w.endpoint), "session" in w && e(29, r = w.session), "userid" in w && e(30, n = w.userid), "lang" in w && e(0, a = w.lang), "gmversion" in w && e(31, l = w.gmversion), "operator" in w && e(1, c = w.operator), "supportemail" in w && e(2, u = w.supportemail), "baseurl" in w && e(3, d = w.baseurl), "clientstyling" in w && e(4, h = w.clientstyling), "clientstylingurl" in w && e(5, p = w.clientstylingurl), "mbsource" in w && e(6,
|
|
17068
|
+
"endpoint" in w && e(28, s = w.endpoint), "session" in w && e(29, r = w.session), "userid" in w && e(30, n = w.userid), "lang" in w && e(0, a = w.lang), "gmversion" in w && e(31, l = w.gmversion), "operator" in w && e(1, c = w.operator), "supportemail" in w && e(2, u = w.supportemail), "baseurl" in w && e(3, d = w.baseurl), "clientstyling" in w && e(4, h = w.clientstyling), "clientstylingurl" in w && e(5, p = w.clientstylingurl), "mbsource" in w && e(6, b = w.mbsource), "translationurl" in w && e(32, f = w.translationurl), "hasconfirmationmodal" in w && e(33, y = w.hasconfirmationmodal), "dateformat" in w && e(34, D = w.dateformat), "sendnotificationemail" in w && e(35, C = w.sendnotificationemail);
|
|
17066
17069
|
}, o.$$.update = () => {
|
|
17067
17070
|
o.$$.dirty[0] & /*lang*/
|
|
17068
17071
|
1 && a && ge(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
17069
17072
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
17070
17073
|
1 && s && r && n && l && W(), o.$$.dirty[0] & /*calendar*/
|
|
17071
17074
|
256 && N && de(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17072
|
-
144 && h && z &&
|
|
17073
|
-
160 && p && z &&
|
|
17074
|
-
192 &&
|
|
17075
|
-
2 && f &&
|
|
17075
|
+
144 && h && z && rn(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17076
|
+
160 && p && z && on(z, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17077
|
+
192 && b && z && sn(z, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
17078
|
+
2 && f && U();
|
|
17076
17079
|
}, F && Z(), [
|
|
17077
17080
|
a,
|
|
17078
17081
|
c,
|
|
@@ -17080,11 +17083,11 @@ function od(o, t, e) {
|
|
|
17080
17083
|
d,
|
|
17081
17084
|
h,
|
|
17082
17085
|
p,
|
|
17083
|
-
|
|
17086
|
+
b,
|
|
17084
17087
|
z,
|
|
17085
17088
|
N,
|
|
17086
17089
|
$,
|
|
17087
|
-
|
|
17090
|
+
V,
|
|
17088
17091
|
O,
|
|
17089
17092
|
k,
|
|
17090
17093
|
se,
|
|
@@ -17107,13 +17110,13 @@ function od(o, t, e) {
|
|
|
17107
17110
|
n,
|
|
17108
17111
|
l,
|
|
17109
17112
|
f,
|
|
17110
|
-
|
|
17113
|
+
y,
|
|
17111
17114
|
D,
|
|
17112
17115
|
C,
|
|
17113
17116
|
P,
|
|
17114
17117
|
J,
|
|
17115
17118
|
ie,
|
|
17116
|
-
|
|
17119
|
+
At,
|
|
17117
17120
|
Rr,
|
|
17118
17121
|
Hr
|
|
17119
17122
|
];
|
|
@@ -17125,7 +17128,7 @@ class sd extends Kr {
|
|
|
17125
17128
|
t,
|
|
17126
17129
|
od,
|
|
17127
17130
|
id,
|
|
17128
|
-
|
|
17131
|
+
Xr,
|
|
17129
17132
|
{
|
|
17130
17133
|
endpoint: 28,
|
|
17131
17134
|
session: 29,
|
|
@@ -17238,7 +17241,7 @@ class sd extends Kr {
|
|
|
17238
17241
|
this.$$set({ sendnotificationemail: t }), fe();
|
|
17239
17242
|
}
|
|
17240
17243
|
}
|
|
17241
|
-
|
|
17244
|
+
Jr(sd, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
17242
17245
|
export {
|
|
17243
17246
|
sd as default
|
|
17244
17247
|
};
|