@everymatrix/player-account-self-exclusion-nd 1.76.13 → 1.76.14
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/{PlayerAccountSelfExclusionNd-_oUe60S2.cjs → PlayerAccountSelfExclusionNd-BDWzo3ic.cjs} +77 -77
- package/components/{PlayerAccountSelfExclusionNd-BxmnRxYL.js → PlayerAccountSelfExclusionNd-CvJTo9Xq.js} +708 -707
- package/components/{PlayerAccountSelfExclusionNd-By_-FjjY.js → PlayerAccountSelfExclusionNd-yog-b1L9.js} +371 -370
- package/es2015/player-account-self-exclusion-nd.cjs +1 -1
- package/es2015/player-account-self-exclusion-nd.js +1 -1
- package/esnext/player-account-self-exclusion-nd.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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Br = Object.defineProperty, Yr = Object.defineProperties;
|
|
2
2
|
var jr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ho = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var Ur = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var po = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Dt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Ur.call(t, e) && po(o, e, t[e]);
|
|
8
8
|
if (ho)
|
|
9
9
|
for (var e of ho(t))
|
|
10
|
-
|
|
10
|
+
Vr.call(t, e) && po(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, kt = (o, t) => Yr(o, jr(t));
|
|
13
|
+
var rt = (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 nt = (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
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { B as ps, C as fs, D as Wr, $ as qr, S as Kr, a as Gr, f as pe, c as Jr, s as Xr, b as Zr, n as T, d as ge, E as _i, j as ve, F as Qr, G as en, o as tn, k as on, l as sn, z as fo, A as rn, H as mo, I as Z, J as _e, K as Pe, e as nn, p as M, L as We, q as g, M as zt, N as be, O as an, P as ln, Q as I, R as Xt, T as cn } from "./PlayerAccountGeneralConfirmationModal-DeKth9rU.js";
|
|
30
|
+
import "../stencil/ui-skeleton-CWuMYFGQ.js";
|
|
31
31
|
var ms = { exports: {} };
|
|
32
32
|
(function(o, t) {
|
|
33
33
|
(function(e, i) {
|
|
34
34
|
o.exports = i();
|
|
35
|
-
})(
|
|
36
|
-
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter",
|
|
35
|
+
})(ps, 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", y = "date", f = "Invalid Date", b = /^(\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,7 +50,7 @@ var ms = { 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:
|
|
53
|
+
return { M: d, y: p, w: u, d: c, D: y, 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
|
} }, L = "en", G = {};
|
|
@@ -110,7 +110,7 @@ var ms = { exports: {} };
|
|
|
110
110
|
}, v.$utils = function() {
|
|
111
111
|
return k;
|
|
112
112
|
}, v.isValid = function() {
|
|
113
|
-
return this.$d.toString() !==
|
|
113
|
+
return this.$d.toString() !== f;
|
|
114
114
|
}, v.isSame = function(m, w) {
|
|
115
115
|
var _ = O(m);
|
|
116
116
|
return this.startOf(w) <= _ && _ <= this.endOf(w);
|
|
@@ -130,14 +130,14 @@ var ms = { exports: {} };
|
|
|
130
130
|
return A ? H : H.endOf(c);
|
|
131
131
|
}, R = function(X, Y) {
|
|
132
132
|
return k.w(_.toDate()[X].apply(_.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), _);
|
|
133
|
-
},
|
|
133
|
+
}, U = this.$W, K = this.$M, ee = this.$D, de = "set" + (this.$u ? "UTC" : "");
|
|
134
134
|
switch (S) {
|
|
135
|
-
case
|
|
135
|
+
case p:
|
|
136
136
|
return A ? F(1, 0) : F(31, 11);
|
|
137
137
|
case d:
|
|
138
138
|
return A ? F(1, K) : F(0, K + 1);
|
|
139
139
|
case u:
|
|
140
|
-
var ne = this.$locale().weekStart || 0, he = (
|
|
140
|
+
var ne = this.$locale().weekStart || 0, he = (U < ne ? U + 7 : U) - ne;
|
|
141
141
|
return F(A ? ee - he : ee + (6 - he), K);
|
|
142
142
|
case c:
|
|
143
143
|
case y:
|
|
@@ -154,10 +154,10 @@ var ms = { exports: {} };
|
|
|
154
154
|
}, v.endOf = function(m) {
|
|
155
155
|
return this.startOf(m, !1);
|
|
156
156
|
}, v.$set = function(m, w) {
|
|
157
|
-
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[
|
|
158
|
-
if (A === d || A ===
|
|
159
|
-
var
|
|
160
|
-
|
|
157
|
+
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[p] = S + "FullYear", _[l] = S + "Hours", _[a] = S + "Minutes", _[n] = S + "Seconds", _[r] = S + "Milliseconds", _)[A], R = A === c ? this.$D + (w - this.$W) : w;
|
|
158
|
+
if (A === d || A === p) {
|
|
159
|
+
var U = this.clone().set(y, 1);
|
|
160
|
+
U.$d[F](R), U.init(), this.$d = U.set(y, Math.min(this.$D, U.daysInMonth())).$d;
|
|
161
161
|
} else
|
|
162
162
|
F && this.$d[F](R);
|
|
163
163
|
return this.init(), this;
|
|
@@ -174,43 +174,43 @@ var ms = { exports: {} };
|
|
|
174
174
|
};
|
|
175
175
|
if (S === d)
|
|
176
176
|
return this.set(d, this.$M + m);
|
|
177
|
-
if (S ===
|
|
178
|
-
return this.set(
|
|
177
|
+
if (S === p)
|
|
178
|
+
return this.set(p, this.$y + m);
|
|
179
179
|
if (S === c)
|
|
180
180
|
return F(1);
|
|
181
181
|
if (S === u)
|
|
182
182
|
return F(7);
|
|
183
|
-
var R = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1,
|
|
184
|
-
return k.w(
|
|
183
|
+
var R = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1, U = this.$d.getTime() + m * R;
|
|
184
|
+
return k.w(U, this);
|
|
185
185
|
}, v.subtract = function(m, w) {
|
|
186
186
|
return this.add(-1 * m, w);
|
|
187
187
|
}, v.format = function(m) {
|
|
188
188
|
var w = this, _ = this.$locale();
|
|
189
189
|
if (!this.isValid())
|
|
190
|
-
return _.invalidDate ||
|
|
191
|
-
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, R = this.$m,
|
|
192
|
-
return Y && (Y[H] || Y(w, A)) ||
|
|
190
|
+
return _.invalidDate || f;
|
|
191
|
+
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, R = this.$m, U = this.$M, K = _.weekdays, ee = _.months, de = _.meridiem, ne = function(Y, H, V, fe) {
|
|
192
|
+
return Y && (Y[H] || Y(w, A)) || V[H].slice(0, fe);
|
|
193
193
|
}, he = function(Y) {
|
|
194
194
|
return k.s(F % 12 || 12, Y, "0");
|
|
195
|
-
}, X = de || function(Y, H,
|
|
196
|
-
var
|
|
197
|
-
return
|
|
195
|
+
}, X = de || function(Y, H, V) {
|
|
196
|
+
var fe = Y < 12 ? "AM" : "PM";
|
|
197
|
+
return V ? fe.toLowerCase() : fe;
|
|
198
198
|
};
|
|
199
199
|
return A.replace(D, function(Y, H) {
|
|
200
|
-
return H || function(
|
|
201
|
-
switch (
|
|
200
|
+
return H || function(V) {
|
|
201
|
+
switch (V) {
|
|
202
202
|
case "YY":
|
|
203
203
|
return String(w.$y).slice(-2);
|
|
204
204
|
case "YYYY":
|
|
205
205
|
return k.s(w.$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 ne(_.monthsShort,
|
|
211
|
+
return ne(_.monthsShort, U, ee, 3);
|
|
212
212
|
case "MMMM":
|
|
213
|
-
return ne(ee,
|
|
213
|
+
return ne(ee, U);
|
|
214
214
|
case "D":
|
|
215
215
|
return w.$D;
|
|
216
216
|
case "DD":
|
|
@@ -254,11 +254,11 @@ var ms = { exports: {} };
|
|
|
254
254
|
}, v.utcOffset = function() {
|
|
255
255
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
256
256
|
}, v.diff = function(m, w, _) {
|
|
257
|
-
var A, S = this, F = k.p(w), R = O(m),
|
|
257
|
+
var A, S = this, F = k.p(w), R = O(m), U = (R.utcOffset() - this.utcOffset()) * i, K = this - R, ee = function() {
|
|
258
258
|
return k.m(S, R);
|
|
259
259
|
};
|
|
260
260
|
switch (F) {
|
|
261
|
-
case
|
|
261
|
+
case p:
|
|
262
262
|
A = ee() / 12;
|
|
263
263
|
break;
|
|
264
264
|
case d:
|
|
@@ -268,10 +268,10 @@ var ms = { exports: {} };
|
|
|
268
268
|
A = ee() / 3;
|
|
269
269
|
break;
|
|
270
270
|
case u:
|
|
271
|
-
A = (K -
|
|
271
|
+
A = (K - U) / 6048e5;
|
|
272
272
|
break;
|
|
273
273
|
case c:
|
|
274
|
-
A = (K -
|
|
274
|
+
A = (K - U) / 864e5;
|
|
275
275
|
break;
|
|
276
276
|
case l:
|
|
277
277
|
A = K / s;
|
|
@@ -307,7 +307,7 @@ var ms = { exports: {} };
|
|
|
307
307
|
return this.$d.toUTCString();
|
|
308
308
|
}, E;
|
|
309
309
|
}(), ie = j.prototype;
|
|
310
|
-
return O.prototype = ie, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y",
|
|
310
|
+
return O.prototype = ie, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", c], ["$M", d], ["$y", p], ["$D", y]].forEach(function(E) {
|
|
311
311
|
ie[E[1]] = function(v) {
|
|
312
312
|
return this.$g(v, E[0], E[1]);
|
|
313
313
|
};
|
|
@@ -319,79 +319,79 @@ var ms = { exports: {} };
|
|
|
319
319
|
});
|
|
320
320
|
})(ms);
|
|
321
321
|
var un = ms.exports;
|
|
322
|
-
const De = /* @__PURE__ */
|
|
322
|
+
const De = /* @__PURE__ */ fs(un);
|
|
323
323
|
var _s = { exports: {} };
|
|
324
324
|
(function(o, t) {
|
|
325
325
|
(function(e, i) {
|
|
326
326
|
o.exports = i();
|
|
327
|
-
})(
|
|
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(
|
|
329
|
-
return (
|
|
330
|
-
}, c = function(
|
|
327
|
+
})(ps, function() {
|
|
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
|
+
return (f = +f) + (f > 68 ? 1900 : 2e3);
|
|
330
|
+
}, c = function(f) {
|
|
331
331
|
return function(b) {
|
|
332
|
-
this[
|
|
332
|
+
this[f] = +b;
|
|
333
333
|
};
|
|
334
|
-
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(
|
|
334
|
+
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
|
|
335
335
|
(this.zone || (this.zone = {})).offset = function(b) {
|
|
336
336
|
if (!b || b === "Z")
|
|
337
337
|
return 0;
|
|
338
338
|
var D = b.match(/([+-]|\d\d)/g), C = 60 * D[1] + (+D[2] || 0);
|
|
339
339
|
return C === 0 ? 0 : D[0] === "+" ? -C : C;
|
|
340
|
-
}(
|
|
341
|
-
}], d = function(
|
|
342
|
-
var b = a[
|
|
340
|
+
}(f);
|
|
341
|
+
}], d = function(f) {
|
|
342
|
+
var b = a[f];
|
|
343
343
|
return b && (b.indexOf ? b : b.s.concat(b.f));
|
|
344
|
-
}, h = function(
|
|
344
|
+
}, h = function(f, b) {
|
|
345
345
|
var D, C = a.meridiem;
|
|
346
346
|
if (C) {
|
|
347
347
|
for (var z = 1; z <= 24; z += 1)
|
|
348
|
-
if (
|
|
348
|
+
if (f.indexOf(C(z, 0, b)) > -1) {
|
|
349
349
|
D = z > 12;
|
|
350
350
|
break;
|
|
351
351
|
}
|
|
352
352
|
} else
|
|
353
|
-
D =
|
|
353
|
+
D = f === (b ? "pm" : "PM");
|
|
354
354
|
return D;
|
|
355
|
-
},
|
|
356
|
-
this.afternoon = h(
|
|
357
|
-
}], a: [n, function(
|
|
358
|
-
this.afternoon = h(
|
|
359
|
-
}], S: [/\d/, function(
|
|
360
|
-
this.milliseconds = 100 * +
|
|
361
|
-
}], SS: [s, function(
|
|
362
|
-
this.milliseconds = 10 * +
|
|
363
|
-
}], SSS: [/\d{3}/, function(
|
|
364
|
-
this.milliseconds = +
|
|
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(
|
|
366
|
-
var b = a.ordinal, D =
|
|
355
|
+
}, p = { A: [n, function(f) {
|
|
356
|
+
this.afternoon = h(f, !1);
|
|
357
|
+
}], a: [n, function(f) {
|
|
358
|
+
this.afternoon = h(f, !0);
|
|
359
|
+
}], S: [/\d/, function(f) {
|
|
360
|
+
this.milliseconds = 100 * +f;
|
|
361
|
+
}], SS: [s, function(f) {
|
|
362
|
+
this.milliseconds = 10 * +f;
|
|
363
|
+
}], SSS: [/\d{3}/, function(f) {
|
|
364
|
+
this.milliseconds = +f;
|
|
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 b = a.ordinal, D = f.match(/\d+/);
|
|
367
367
|
if (this.day = D[0], b)
|
|
368
368
|
for (var C = 1; C <= 31; C += 1)
|
|
369
|
-
b(C).replace(/\[|\]/g, "") ===
|
|
370
|
-
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(
|
|
369
|
+
b(C).replace(/\[|\]/g, "") === f && (this.day = C);
|
|
370
|
+
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(f) {
|
|
371
371
|
var b = d("months"), D = (d("monthsShort") || b.map(function(C) {
|
|
372
372
|
return C.slice(0, 3);
|
|
373
|
-
})).indexOf(
|
|
373
|
+
})).indexOf(f) + 1;
|
|
374
374
|
if (D < 1)
|
|
375
375
|
throw new Error();
|
|
376
376
|
this.month = D % 12 || D;
|
|
377
|
-
}], MMMM: [n, function(
|
|
378
|
-
var b = d("months").indexOf(
|
|
377
|
+
}], MMMM: [n, function(f) {
|
|
378
|
+
var b = d("months").indexOf(f) + 1;
|
|
379
379
|
if (b < 1)
|
|
380
380
|
throw new Error();
|
|
381
381
|
this.month = b % 12 || b;
|
|
382
|
-
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(
|
|
383
|
-
this.year = l(
|
|
382
|
+
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(f) {
|
|
383
|
+
this.year = l(f);
|
|
384
384
|
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
385
|
-
function y(
|
|
385
|
+
function y(f) {
|
|
386
386
|
var b, D;
|
|
387
|
-
b =
|
|
388
|
-
for (var C = (
|
|
387
|
+
b = f, D = a && a.formats;
|
|
388
|
+
for (var C = (f = b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(q, 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(ie, E, v) {
|
|
391
391
|
return E || v.slice(1);
|
|
392
392
|
});
|
|
393
393
|
})).match(i), z = C.length, N = 0; N < z; N += 1) {
|
|
394
|
-
var L = C[N], G =
|
|
394
|
+
var L = C[N], G = p[L], Q = G && G[0], J = G && G[1];
|
|
395
395
|
C[N] = J ? { regex: Q, parser: J } : L.replace(/^\[|\]$/g, "");
|
|
396
396
|
}
|
|
397
397
|
return function(q) {
|
|
@@ -413,8 +413,8 @@ var _s = { exports: {} };
|
|
|
413
413
|
}(O), O;
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
|
-
return function(
|
|
417
|
-
D.p.customParseFormat = !0,
|
|
416
|
+
return function(f, b, D) {
|
|
417
|
+
D.p.customParseFormat = !0, f && f.parseTwoDigitYear && (l = f.parseTwoDigitYear);
|
|
418
418
|
var C = b.prototype, z = C.parse;
|
|
419
419
|
C.parse = function(N) {
|
|
420
420
|
var L = N.date, G = N.utc, Q = N.args;
|
|
@@ -426,10 +426,10 @@ var _s = { exports: {} };
|
|
|
426
426
|
try {
|
|
427
427
|
if (["x", "X"].indexOf(w) > -1)
|
|
428
428
|
return new Date((w === "X" ? 1e3 : 1) * m);
|
|
429
|
-
var A = y(w)(m), S = A.year, F = A.month, R = A.day,
|
|
429
|
+
var A = y(w)(m), S = A.year, F = A.month, R = A.day, U = A.hours, K = A.minutes, ee = A.seconds, de = A.milliseconds, ne = A.zone, he = /* @__PURE__ */ new Date(), X = R || (S || F ? 1 : he.getDate()), Y = S || he.getFullYear(), H = 0;
|
|
430
430
|
S && !F || (H = F > 0 ? F - 1 : he.getMonth());
|
|
431
|
-
var
|
|
432
|
-
return ne ? new Date(Date.UTC(Y, H, X,
|
|
431
|
+
var V = U || 0, fe = K || 0, we = ee || 0, ue = de || 0;
|
|
432
|
+
return ne ? new Date(Date.UTC(Y, H, X, V, fe, we, ue + 60 * ne.offset * 1e3)) : _ ? new Date(Date.UTC(Y, H, X, V, fe, we, ue)) : new Date(Y, H, X, V, fe, we, ue);
|
|
433
433
|
} catch (Ee) {
|
|
434
434
|
return /* @__PURE__ */ new Date("");
|
|
435
435
|
}
|
|
@@ -451,11 +451,11 @@ var _s = { exports: {} };
|
|
|
451
451
|
});
|
|
452
452
|
})(_s);
|
|
453
453
|
var dn = _s.exports;
|
|
454
|
-
const hn = /* @__PURE__ */
|
|
454
|
+
const hn = /* @__PURE__ */ fs(dn);
|
|
455
455
|
function _o(o, t) {
|
|
456
456
|
Wr(o, t);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
458
|
+
function pn(o) {
|
|
459
459
|
qr.set(o);
|
|
460
460
|
}
|
|
461
461
|
const go = {
|
|
@@ -860,28 +860,28 @@ function Ae(o, t = "24.5.10") {
|
|
|
860
860
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
861
861
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
862
862
|
*/
|
|
863
|
-
class
|
|
863
|
+
class fn extends HTMLElement {
|
|
864
864
|
static get is() {
|
|
865
865
|
return "vaadin-lumo-styles";
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
Ae(
|
|
868
|
+
Ae(fn);
|
|
869
869
|
/**
|
|
870
870
|
* @license
|
|
871
871
|
* Copyright 2019 Google LLC
|
|
872
872
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
875
|
-
let
|
|
874
|
+
const Ft = globalThis, Hi = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bi = Symbol(), vo = /* @__PURE__ */ new WeakMap();
|
|
875
|
+
let Yi = class {
|
|
876
876
|
constructor(t, e, i) {
|
|
877
|
-
if (this._$cssResult$ = !0, i !==
|
|
877
|
+
if (this._$cssResult$ = !0, i !== Bi)
|
|
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 (Hi && t === void 0) {
|
|
885
885
|
const i = e !== void 0 && e.length === 1;
|
|
886
886
|
i && (t = vo.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && vo.set(e, t));
|
|
887
887
|
}
|
|
@@ -891,7 +891,7 @@ let ji = class {
|
|
|
891
891
|
return this.cssText;
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
|
-
const mn = (o) => new
|
|
894
|
+
const mn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, Bi), $ = (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 mn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), $ = (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 Yi(e, o, Bi);
|
|
903
903
|
}, gs = (o, t) => {
|
|
904
|
-
if (
|
|
904
|
+
if (Hi)
|
|
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 = Ft.litNonce;
|
|
909
909
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
910
910
|
}
|
|
911
|
-
}, yo =
|
|
911
|
+
}, yo = Hi ? (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 mn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), $ = (o,
|
|
|
919
919
|
* Copyright 2017 Google LLC
|
|
920
920
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
921
921
|
*/
|
|
922
|
-
const { is: _n, defineProperty: gn, getOwnPropertyDescriptor: vn, getOwnPropertyNames: yn, getOwnPropertySymbols: bn, getPrototypeOf: xn } = Object, Oe = globalThis, bo = Oe.trustedTypes, wn = bo ? bo.emptyScript : "",
|
|
922
|
+
const { is: _n, defineProperty: gn, getOwnPropertyDescriptor: vn, getOwnPropertyNames: yn, getOwnPropertySymbols: bn, getPrototypeOf: xn } = Object, Oe = globalThis, bo = Oe.trustedTypes, wn = bo ? bo.emptyScript : "", Zt = Oe.reactiveElementPolyfillSupport, pt = (o, t) => o, gi = { toAttribute(o, t) {
|
|
923
923
|
switch (t) {
|
|
924
924
|
case Boolean:
|
|
925
925
|
o = o ? wn : null;
|
|
@@ -947,10 +947,10 @@ const { is: _n, defineProperty: gn, getOwnPropertyDescriptor: vn, getOwnProperty
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
return e;
|
|
950
|
-
} }, vs = (o, t) => !_n(o, t), xo = { attribute: !0, type: String, converter:
|
|
950
|
+
} }, vs = (o, t) => !_n(o, t), xo = { attribute: !0, type: String, converter: gi, reflect: !1, hasChanged: vs };
|
|
951
951
|
var as, ls;
|
|
952
952
|
(as = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (ls = Oe.litPropertyMetadata) != null || (Oe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
953
|
-
class
|
|
953
|
+
class Ke extends HTMLElement {
|
|
954
954
|
static addInitializer(t) {
|
|
955
955
|
var e;
|
|
956
956
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -959,7 +959,7 @@ class Ge extends HTMLElement {
|
|
|
959
959
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
960
960
|
}
|
|
961
961
|
static createProperty(t, e = xo) {
|
|
962
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
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 && gn(this.prototype, t, s);
|
|
965
965
|
}
|
|
@@ -971,9 +971,11 @@ class Ge 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) {
|
|
@@ -1067,40 +1069,37 @@ class Ge 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 : gi).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;
|
|
1084
|
-
const u = c.fromAttribute(e, l.type);
|
|
1085
|
-
this[s] = (a = u != null ? u : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : u, this._$Em = null;
|
|
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 : gi;
|
|
1085
|
+
this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
requestUpdate(t, e, i) {
|
|
1089
|
-
var s
|
|
1089
|
+
var s;
|
|
1090
1090
|
if (t !== void 0) {
|
|
1091
|
-
|
|
1092
|
-
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : vs)(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 : vs)(this[t], e))
|
|
1093
1092
|
return;
|
|
1094
|
-
this.
|
|
1093
|
+
this.P(t, e, i);
|
|
1095
1094
|
}
|
|
1096
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
1095
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
1097
1096
|
}
|
|
1098
|
-
|
|
1099
|
-
var
|
|
1100
|
-
|
|
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);
|
|
1101
1100
|
}
|
|
1102
|
-
_$
|
|
1103
|
-
return
|
|
1101
|
+
_$ET() {
|
|
1102
|
+
return rt(this, null, function* () {
|
|
1104
1103
|
this.isUpdatePending = !0;
|
|
1105
1104
|
try {
|
|
1106
1105
|
yield this._$ES;
|
|
@@ -1126,10 +1125,8 @@ class Ge extends HTMLElement {
|
|
|
1126
1125
|
}
|
|
1127
1126
|
const r = this.constructor.elementProperties;
|
|
1128
1127
|
if (r.size > 0)
|
|
1129
|
-
for (const [n, a] of r)
|
|
1130
|
-
|
|
1131
|
-
l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, a, c);
|
|
1132
|
-
}
|
|
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);
|
|
1133
1130
|
}
|
|
1134
1131
|
let t = !1;
|
|
1135
1132
|
const e = this._$AL;
|
|
@@ -1137,9 +1134,9 @@ class Ge extends HTMLElement {
|
|
|
1137
1134
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
1138
1135
|
var n;
|
|
1139
1136
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
1140
|
-
}), this.update(e)) : this._$
|
|
1137
|
+
}), this.update(e)) : this._$EU();
|
|
1141
1138
|
} catch (r) {
|
|
1142
|
-
throw t = !1, this._$
|
|
1139
|
+
throw t = !1, this._$EU(), r;
|
|
1143
1140
|
}
|
|
1144
1141
|
t && this._$AE(e);
|
|
1145
1142
|
}
|
|
@@ -1152,7 +1149,7 @@ class Ge extends HTMLElement {
|
|
|
1152
1149
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
1153
1150
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
1154
1151
|
}
|
|
1155
|
-
_$
|
|
1152
|
+
_$EU() {
|
|
1156
1153
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
1157
1154
|
}
|
|
1158
1155
|
get updateComplete() {
|
|
@@ -1165,7 +1162,7 @@ class Ge extends HTMLElement {
|
|
|
1165
1162
|
return !0;
|
|
1166
1163
|
}
|
|
1167
1164
|
update(t) {
|
|
1168
|
-
this._$
|
|
1165
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
1169
1166
|
}
|
|
1170
1167
|
updated(t) {
|
|
1171
1168
|
}
|
|
@@ -1173,40 +1170,40 @@ class Ge extends HTMLElement {
|
|
|
1173
1170
|
}
|
|
1174
1171
|
}
|
|
1175
1172
|
var cs;
|
|
1176
|
-
|
|
1173
|
+
Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[pt("elementProperties")] = /* @__PURE__ */ new Map(), Ke[pt("finalized")] = /* @__PURE__ */ new Map(), Zt == null || Zt({ ReactiveElement: Ke }), ((cs = Oe.reactiveElementVersions) != null ? cs : Oe.reactiveElementVersions = []).push("2.0.4");
|
|
1177
1174
|
/**
|
|
1178
1175
|
* @license
|
|
1179
1176
|
* Copyright 2017 Google LLC
|
|
1180
1177
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1181
1178
|
*/
|
|
1182
|
-
const
|
|
1183
|
-
\f\r]`,
|
|
1184
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ao = /'/g, Co = /"/g, xs = /^(?:script|style|textarea|title)$/i,
|
|
1179
|
+
const ft = globalThis, Lt = ft.trustedTypes, wo = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ys = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, bs = "?" + Me, En = `<${bs}>`, Ye = document, _t = () => Ye.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", ji = Array.isArray, Sn = (o) => ji(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Qt = `[
|
|
1180
|
+
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Eo = /-->/g, So = />/g, Le = RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^
|
|
1181
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ao = /'/g, Co = /"/g, xs = /^(?:script|style|textarea|title)$/i, Qe = Symbol.for("lit-noChange"), re = Symbol.for("lit-nothing"), Do = /* @__PURE__ */ new WeakMap(), $e = Ye.createTreeWalker(Ye, 129);
|
|
1185
1182
|
function ws(o, t) {
|
|
1186
|
-
if (!
|
|
1183
|
+
if (!ji(o) || !o.hasOwnProperty("raw"))
|
|
1187
1184
|
throw Error("invalid template strings array");
|
|
1188
1185
|
return wo !== void 0 ? wo.createHTML(t) : t;
|
|
1189
1186
|
}
|
|
1190
1187
|
const An = (o, t) => {
|
|
1191
1188
|
const e = o.length - 1, i = [];
|
|
1192
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
1189
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = nt;
|
|
1193
1190
|
for (let a = 0; a < e; a++) {
|
|
1194
1191
|
const l = o[a];
|
|
1195
1192
|
let c, u, d = -1, h = 0;
|
|
1196
1193
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
1197
|
-
h = n.lastIndex, n ===
|
|
1198
|
-
const
|
|
1199
|
-
r += n ===
|
|
1194
|
+
h = n.lastIndex, n === nt ? u[1] === "!--" ? n = Eo : u[1] !== void 0 ? n = So : u[2] !== void 0 ? (xs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Le) : u[3] !== void 0 && (n = Le) : n === Le ? u[0] === ">" ? (n = s != null ? s : nt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Le : u[3] === '"' ? Co : Ao) : n === Co || n === Ao ? n = Le : n === Eo || n === So ? n = nt : (n = Le, s = void 0);
|
|
1195
|
+
const p = n === Le && o[a + 1].startsWith("/>") ? " " : "";
|
|
1196
|
+
r += n === nt ? l + En : d >= 0 ? (i.push(c), l.slice(0, d) + ys + l.slice(d) + Me + p) : l + Me + (d === -2 ? a : p);
|
|
1200
1197
|
}
|
|
1201
1198
|
return [ws(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
1202
1199
|
};
|
|
1203
|
-
class
|
|
1200
|
+
class vt {
|
|
1204
1201
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
1205
1202
|
let s;
|
|
1206
1203
|
this.parts = [];
|
|
1207
1204
|
let r = 0, n = 0;
|
|
1208
1205
|
const a = t.length - 1, l = this.parts, [c, u] = An(t, e);
|
|
1209
|
-
if (this.el =
|
|
1206
|
+
if (this.el = vt.createElement(c, i), $e.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1210
1207
|
const d = this.el.content.firstChild;
|
|
1211
1208
|
d.replaceWith(...d.childNodes);
|
|
1212
1209
|
}
|
|
@@ -1215,17 +1212,17 @@ class yt {
|
|
|
1215
1212
|
if (s.hasAttributes())
|
|
1216
1213
|
for (const d of s.getAttributeNames())
|
|
1217
1214
|
if (d.endsWith(ys)) {
|
|
1218
|
-
const h = u[n++],
|
|
1219
|
-
l.push({ type: 1, index: r, name: y[2], strings:
|
|
1215
|
+
const h = u[n++], p = s.getAttribute(d).split(Me), y = /([.?@])?(.*)/.exec(h);
|
|
1216
|
+
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? Dn : y[1] === "?" ? kn : y[1] === "@" ? Pn : Vt }), s.removeAttribute(d);
|
|
1220
1217
|
} else
|
|
1221
1218
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
1222
1219
|
if (xs.test(s.tagName)) {
|
|
1223
1220
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
1224
1221
|
if (h > 0) {
|
|
1225
|
-
s.textContent =
|
|
1226
|
-
for (let
|
|
1227
|
-
s.append(d[
|
|
1228
|
-
s.append(d[h],
|
|
1222
|
+
s.textContent = Lt ? Lt.emptyScript : "";
|
|
1223
|
+
for (let p = 0; p < h; p++)
|
|
1224
|
+
s.append(d[p], _t()), $e.nextNode(), l.push({ type: 2, index: ++r });
|
|
1225
|
+
s.append(d[h], _t());
|
|
1229
1226
|
}
|
|
1230
1227
|
}
|
|
1231
1228
|
} else if (s.nodeType === 8)
|
|
@@ -1240,17 +1237,17 @@ class yt {
|
|
|
1240
1237
|
}
|
|
1241
1238
|
}
|
|
1242
1239
|
static createElement(t, e) {
|
|
1243
|
-
const i =
|
|
1240
|
+
const i = Ye.createElement("template");
|
|
1244
1241
|
return i.innerHTML = t, i;
|
|
1245
1242
|
}
|
|
1246
1243
|
}
|
|
1247
|
-
function
|
|
1244
|
+
function et(o, t, e = o, i) {
|
|
1248
1245
|
var n, a, l;
|
|
1249
|
-
if (t ===
|
|
1246
|
+
if (t === Qe)
|
|
1250
1247
|
return t;
|
|
1251
1248
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
1252
|
-
const r =
|
|
1253
|
-
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 = gt(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 = et(o, s._$AS(o, t.values), s, i)), t;
|
|
1254
1251
|
}
|
|
1255
1252
|
class Cn {
|
|
1256
1253
|
constructor(t, e) {
|
|
@@ -1264,17 +1261,17 @@ class Cn {
|
|
|
1264
1261
|
}
|
|
1265
1262
|
u(t) {
|
|
1266
1263
|
var c;
|
|
1267
|
-
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 : Ye).importNode(e, !0);
|
|
1268
1265
|
$e.currentNode = s;
|
|
1269
1266
|
let r = $e.nextNode(), n = 0, a = 0, l = i[0];
|
|
1270
1267
|
for (; l !== void 0; ) {
|
|
1271
1268
|
if (n === l.index) {
|
|
1272
1269
|
let u;
|
|
1273
|
-
l.type === 2 ? u = new
|
|
1270
|
+
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Tn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
1274
1271
|
}
|
|
1275
1272
|
n !== (l == null ? void 0 : l.index) && (r = $e.nextNode(), n++);
|
|
1276
1273
|
}
|
|
1277
|
-
return $e.currentNode =
|
|
1274
|
+
return $e.currentNode = Ye, s;
|
|
1278
1275
|
}
|
|
1279
1276
|
p(t) {
|
|
1280
1277
|
let e = 0;
|
|
@@ -1282,7 +1279,7 @@ class Cn {
|
|
|
1282
1279
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
1283
1280
|
}
|
|
1284
1281
|
}
|
|
1285
|
-
class
|
|
1282
|
+
class At {
|
|
1286
1283
|
get _$AU() {
|
|
1287
1284
|
var t, e;
|
|
1288
1285
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -1303,7 +1300,7 @@ class Ct {
|
|
|
1303
1300
|
return this._$AB;
|
|
1304
1301
|
}
|
|
1305
1302
|
_$AI(t, e = this) {
|
|
1306
|
-
t =
|
|
1303
|
+
t = et(this, t, e), gt(t) ? t === re || t == null || t === "" ? (this._$AH !== re && this._$AR(), this._$AH = re) : t !== this._$AH && t !== Qe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Sn(t) ? this.k(t) : this._(t);
|
|
1307
1304
|
}
|
|
1308
1305
|
O(t) {
|
|
1309
1306
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1312,11 +1309,11 @@ class Ct {
|
|
|
1312
1309
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1313
1310
|
}
|
|
1314
1311
|
_(t) {
|
|
1315
|
-
this._$AH !== re &&
|
|
1312
|
+
this._$AH !== re && gt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ye.createTextNode(t)), this._$AH = t;
|
|
1316
1313
|
}
|
|
1317
1314
|
$(t) {
|
|
1318
1315
|
var r;
|
|
1319
|
-
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 = vt.createElement(ws(i.h, i.h[0]), this.options)), i);
|
|
1320
1317
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
1321
1318
|
this._$AH.p(e);
|
|
1322
1319
|
else {
|
|
@@ -1326,19 +1323,19 @@ class Ct {
|
|
|
1326
1323
|
}
|
|
1327
1324
|
_$AC(t) {
|
|
1328
1325
|
let e = Do.get(t.strings);
|
|
1329
|
-
return e === void 0 && Do.set(t.strings, e = new
|
|
1326
|
+
return e === void 0 && Do.set(t.strings, e = new vt(t)), e;
|
|
1330
1327
|
}
|
|
1331
1328
|
k(t) {
|
|
1332
|
-
|
|
1329
|
+
ji(this._$AH) || (this._$AH = [], this._$AR());
|
|
1333
1330
|
const e = this._$AH;
|
|
1334
1331
|
let i, s = 0;
|
|
1335
1332
|
for (const r of t)
|
|
1336
|
-
s === e.length ? e.push(i = new
|
|
1333
|
+
s === e.length ? e.push(i = new At(this.O(_t()), this.O(_t()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
1337
1334
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
1338
1335
|
}
|
|
1339
1336
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
1340
1337
|
var i;
|
|
1341
|
-
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
1338
|
+
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
1342
1339
|
const s = t.nextSibling;
|
|
1343
1340
|
t.remove(), t = s;
|
|
1344
1341
|
}
|
|
@@ -1348,7 +1345,7 @@ class Ct {
|
|
|
1348
1345
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
1349
1346
|
}
|
|
1350
1347
|
}
|
|
1351
|
-
class
|
|
1348
|
+
class Vt {
|
|
1352
1349
|
get tagName() {
|
|
1353
1350
|
return this.element.tagName;
|
|
1354
1351
|
}
|
|
@@ -1362,12 +1359,12 @@ class Wt {
|
|
|
1362
1359
|
const r = this.strings;
|
|
1363
1360
|
let n = !1;
|
|
1364
1361
|
if (r === void 0)
|
|
1365
|
-
t =
|
|
1362
|
+
t = et(this, t, e, 0), n = !gt(t) || t !== this._$AH && t !== Qe, n && (this._$AH = t);
|
|
1366
1363
|
else {
|
|
1367
1364
|
const a = t;
|
|
1368
1365
|
let l, c;
|
|
1369
1366
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
1370
|
-
c =
|
|
1367
|
+
c = et(this, a[i + l], e, l), c === Qe && (c = this._$AH[l]), n || (n = !gt(c) || c !== this._$AH[l]), c === re ? t = re : t !== re && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
|
|
1371
1368
|
}
|
|
1372
1369
|
n && !s && this.j(t);
|
|
1373
1370
|
}
|
|
@@ -1375,7 +1372,7 @@ class Wt {
|
|
|
1375
1372
|
t === re ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
1376
1373
|
}
|
|
1377
1374
|
}
|
|
1378
|
-
class Dn extends
|
|
1375
|
+
class Dn extends Vt {
|
|
1379
1376
|
constructor() {
|
|
1380
1377
|
super(...arguments), this.type = 3;
|
|
1381
1378
|
}
|
|
@@ -1383,7 +1380,7 @@ class Dn extends Wt {
|
|
|
1383
1380
|
this.element[this.name] = t === re ? void 0 : t;
|
|
1384
1381
|
}
|
|
1385
1382
|
}
|
|
1386
|
-
class kn extends
|
|
1383
|
+
class kn extends Vt {
|
|
1387
1384
|
constructor() {
|
|
1388
1385
|
super(...arguments), this.type = 4;
|
|
1389
1386
|
}
|
|
@@ -1391,13 +1388,13 @@ class kn extends Wt {
|
|
|
1391
1388
|
this.element.toggleAttribute(this.name, !!t && t !== re);
|
|
1392
1389
|
}
|
|
1393
1390
|
}
|
|
1394
|
-
class Pn extends
|
|
1391
|
+
class Pn extends Vt {
|
|
1395
1392
|
constructor(t, e, i, s, r) {
|
|
1396
1393
|
super(t, e, i, s, r), this.type = 5;
|
|
1397
1394
|
}
|
|
1398
1395
|
_$AI(t, e = this) {
|
|
1399
1396
|
var n;
|
|
1400
|
-
if ((t = (n =
|
|
1397
|
+
if ((t = (n = et(this, t, e, 0)) != null ? n : re) === Qe)
|
|
1401
1398
|
return;
|
|
1402
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);
|
|
1403
1400
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -1415,19 +1412,19 @@ class Tn {
|
|
|
1415
1412
|
return this._$AM._$AU;
|
|
1416
1413
|
}
|
|
1417
1414
|
_$AI(t) {
|
|
1418
|
-
|
|
1415
|
+
et(this, t);
|
|
1419
1416
|
}
|
|
1420
1417
|
}
|
|
1421
|
-
const
|
|
1418
|
+
const ei = ft.litHtmlPolyfillSupport;
|
|
1422
1419
|
var us;
|
|
1423
|
-
|
|
1420
|
+
ei == null || ei(vt, At), ((us = ft.litHtmlVersions) != null ? us : ft.litHtmlVersions = []).push("3.2.1");
|
|
1424
1421
|
const Mn = (o, t, e) => {
|
|
1425
1422
|
var r, n;
|
|
1426
1423
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
1427
1424
|
let s = i._$litPart$;
|
|
1428
1425
|
if (s === void 0) {
|
|
1429
1426
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
1430
|
-
i._$litPart$ = s = new
|
|
1427
|
+
i._$litPart$ = s = new At(t.insertBefore(_t(), a), a, void 0, e != null ? e : {});
|
|
1431
1428
|
}
|
|
1432
1429
|
return s._$AI(o), s;
|
|
1433
1430
|
};
|
|
@@ -1436,8 +1433,7 @@ const Mn = (o, t, e) => {
|
|
|
1436
1433
|
* Copyright 2017 Google LLC
|
|
1437
1434
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1438
1435
|
*/
|
|
1439
|
-
|
|
1440
|
-
class Je extends Ge {
|
|
1436
|
+
class Ge extends Ke {
|
|
1441
1437
|
constructor() {
|
|
1442
1438
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1443
1439
|
}
|
|
@@ -1459,15 +1455,15 @@ class Je extends Ge {
|
|
|
1459
1455
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1460
1456
|
}
|
|
1461
1457
|
render() {
|
|
1462
|
-
return
|
|
1458
|
+
return Qe;
|
|
1463
1459
|
}
|
|
1464
1460
|
}
|
|
1465
1461
|
var ds;
|
|
1466
|
-
|
|
1467
|
-
const
|
|
1468
|
-
|
|
1462
|
+
Ge._$litElement$ = !0, Ge.finalized = !0, (ds = globalThis.litElementHydrateSupport) == null || ds.call(globalThis, { LitElement: Ge });
|
|
1463
|
+
const ti = globalThis.litElementPolyfillSupport;
|
|
1464
|
+
ti == null || ti({ LitElement: Ge });
|
|
1469
1465
|
var hs;
|
|
1470
|
-
((hs =
|
|
1466
|
+
((hs = globalThis.litElementVersions) != null ? hs : globalThis.litElementVersions = []).push("4.1.1");
|
|
1471
1467
|
/**
|
|
1472
1468
|
* @license
|
|
1473
1469
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1512,7 +1508,7 @@ const On = (o) => class extends o {
|
|
|
1512
1508
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1513
1509
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1514
1510
|
*/
|
|
1515
|
-
const Es = [],
|
|
1511
|
+
const Es = [], vi = /* @__PURE__ */ new Set(), Ui = /* @__PURE__ */ new Set();
|
|
1516
1512
|
function Ss(o) {
|
|
1517
1513
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
1518
1514
|
}
|
|
@@ -1520,7 +1516,7 @@ function In(o) {
|
|
|
1520
1516
|
return Ss(customElements.get(o));
|
|
1521
1517
|
}
|
|
1522
1518
|
function Fn(o = []) {
|
|
1523
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
1519
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Yi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
1524
1520
|
}
|
|
1525
1521
|
function As(o, t) {
|
|
1526
1522
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -1529,34 +1525,34 @@ function Cs(o) {
|
|
|
1529
1525
|
return o.map((t) => t.cssText).join(`
|
|
1530
1526
|
`);
|
|
1531
1527
|
}
|
|
1532
|
-
const
|
|
1528
|
+
const $t = "vaadin-themable-mixin-style";
|
|
1533
1529
|
function Nn(o, t) {
|
|
1534
1530
|
const e = document.createElement("style");
|
|
1535
|
-
e.id =
|
|
1531
|
+
e.id = $t, e.textContent = Cs(o), t.content.appendChild(e);
|
|
1536
1532
|
}
|
|
1537
1533
|
function zn(o) {
|
|
1538
1534
|
if (!o.shadowRoot)
|
|
1539
1535
|
return;
|
|
1540
1536
|
const t = o.constructor;
|
|
1541
|
-
if (o instanceof
|
|
1537
|
+
if (o instanceof Ge)
|
|
1542
1538
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), gs(o.shadowRoot, t.elementStyles);
|
|
1543
1539
|
else {
|
|
1544
|
-
const e = o.shadowRoot.getElementById(
|
|
1545
|
-
e.textContent = i.content.getElementById(
|
|
1540
|
+
const e = o.shadowRoot.getElementById($t), i = t.prototype._template;
|
|
1541
|
+
e.textContent = i.content.getElementById($t).textContent;
|
|
1546
1542
|
}
|
|
1547
1543
|
}
|
|
1548
1544
|
function Ln(o) {
|
|
1549
|
-
|
|
1545
|
+
vi.forEach((t) => {
|
|
1550
1546
|
const e = t.deref();
|
|
1551
|
-
e instanceof o ? zn(e) : e ||
|
|
1547
|
+
e instanceof o ? zn(e) : e || vi.delete(t);
|
|
1552
1548
|
});
|
|
1553
1549
|
}
|
|
1554
1550
|
function Ds(o) {
|
|
1555
|
-
if (o.prototype instanceof
|
|
1551
|
+
if (o.prototype instanceof Ge)
|
|
1556
1552
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
1557
1553
|
else {
|
|
1558
1554
|
const t = o.prototype._template;
|
|
1559
|
-
t.content.getElementById(
|
|
1555
|
+
t.content.getElementById($t).textContent = Cs(o.getStylesForThis());
|
|
1560
1556
|
}
|
|
1561
1557
|
Ui.forEach((t) => {
|
|
1562
1558
|
const e = customElements.get(t);
|
|
@@ -1584,7 +1580,7 @@ function te(o, t, e = {}) {
|
|
|
1584
1580
|
}
|
|
1585
1581
|
});
|
|
1586
1582
|
}
|
|
1587
|
-
function
|
|
1583
|
+
function yi() {
|
|
1588
1584
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Es;
|
|
1589
1585
|
}
|
|
1590
1586
|
function Rn(o = "") {
|
|
@@ -1594,22 +1590,22 @@ function Rn(o = "") {
|
|
|
1594
1590
|
function ks(o) {
|
|
1595
1591
|
const t = [];
|
|
1596
1592
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
1597
|
-
const i =
|
|
1593
|
+
const i = yi().find((s) => s.moduleId === e);
|
|
1598
1594
|
i ? t.push(...ks(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
1599
1595
|
}, o.styles), t;
|
|
1600
1596
|
}
|
|
1601
1597
|
function Hn(o) {
|
|
1602
|
-
const t = `${o}-default-theme`, e =
|
|
1598
|
+
const t = `${o}-default-theme`, e = yi().filter((i) => i.moduleId !== t && As(i.themeFor, o)).map((i) => kt(Dt({}, i), {
|
|
1603
1599
|
// Prepend styles from included themes
|
|
1604
1600
|
styles: [...ks(i), ...i.styles],
|
|
1605
1601
|
// Map moduleId to includePriority
|
|
1606
1602
|
includePriority: Rn(i.moduleId)
|
|
1607
1603
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
1608
|
-
return e.length > 0 ? e :
|
|
1604
|
+
return e.length > 0 ? e : yi().filter((i) => i.moduleId === t);
|
|
1609
1605
|
}
|
|
1610
|
-
const
|
|
1606
|
+
const je = (o) => class extends On(o) {
|
|
1611
1607
|
constructor() {
|
|
1612
|
-
super(),
|
|
1608
|
+
super(), vi.add(new WeakRef(this));
|
|
1613
1609
|
}
|
|
1614
1610
|
/**
|
|
1615
1611
|
* Covers PolymerElement based component styling
|
|
@@ -1651,7 +1647,7 @@ const Bn = (o, ...t) => {
|
|
|
1651
1647
|
const e = document.createElement("style");
|
|
1652
1648
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
1653
1649
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
1654
|
-
},
|
|
1650
|
+
}, ot = (o, ...t) => {
|
|
1655
1651
|
Bn(`lumo-${o}`, t);
|
|
1656
1652
|
};
|
|
1657
1653
|
/**
|
|
@@ -1675,7 +1671,7 @@ const Yn = $`
|
|
|
1675
1671
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
1676
1672
|
}
|
|
1677
1673
|
`;
|
|
1678
|
-
|
|
1674
|
+
ot("sizing-props", Yn);
|
|
1679
1675
|
/**
|
|
1680
1676
|
* @license
|
|
1681
1677
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1705,13 +1701,13 @@ const jn = $`
|
|
|
1705
1701
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
1706
1702
|
}
|
|
1707
1703
|
`;
|
|
1708
|
-
|
|
1704
|
+
ot("spacing-props", jn);
|
|
1709
1705
|
/**
|
|
1710
1706
|
* @license
|
|
1711
1707
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1712
1708
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1713
1709
|
*/
|
|
1714
|
-
const
|
|
1710
|
+
const Un = $`
|
|
1715
1711
|
:host {
|
|
1716
1712
|
/* Border radius */
|
|
1717
1713
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1813,13 +1809,13 @@ $`
|
|
|
1813
1809
|
--vaadin-input-field-value-font-weight: 500;
|
|
1814
1810
|
}
|
|
1815
1811
|
`;
|
|
1816
|
-
|
|
1812
|
+
ot("style-props", Un);
|
|
1817
1813
|
/**
|
|
1818
1814
|
* @license
|
|
1819
1815
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1820
1816
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1821
1817
|
*/
|
|
1822
|
-
const
|
|
1818
|
+
const Vn = $`
|
|
1823
1819
|
:host {
|
|
1824
1820
|
/* Base (background) */
|
|
1825
1821
|
--lumo-base-color: #fff;
|
|
@@ -1905,7 +1901,7 @@ const Un = $`
|
|
|
1905
1901
|
}
|
|
1906
1902
|
}
|
|
1907
1903
|
`;
|
|
1908
|
-
|
|
1904
|
+
ot("color-props", Vn);
|
|
1909
1905
|
const Wn = $`
|
|
1910
1906
|
[theme~='dark'] {
|
|
1911
1907
|
/* Base (background) */
|
|
@@ -2145,7 +2141,7 @@ const qn = $`
|
|
|
2145
2141
|
}
|
|
2146
2142
|
`;
|
|
2147
2143
|
te("", Kn, { moduleId: "lumo-typography" });
|
|
2148
|
-
|
|
2144
|
+
ot("typography-props", qn);
|
|
2149
2145
|
/**
|
|
2150
2146
|
* @license
|
|
2151
2147
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -3224,7 +3220,7 @@ const Zn = $`
|
|
|
3224
3220
|
--lumo-icons-user: '\\ea2a';
|
|
3225
3221
|
}
|
|
3226
3222
|
`;
|
|
3227
|
-
|
|
3223
|
+
ot("font-icons", Zn);
|
|
3228
3224
|
/**
|
|
3229
3225
|
* @license
|
|
3230
3226
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -3625,19 +3621,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3625
3621
|
Code distributed by Google as part of the polymer project is also
|
|
3626
3622
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3627
3623
|
*/
|
|
3628
|
-
let ia = /(url\()([^)]*)(\))/g, oa = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
3629
|
-
function
|
|
3624
|
+
let ia = /(url\()([^)]*)(\))/g, oa = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Pt, ye;
|
|
3625
|
+
function mt(o, t) {
|
|
3630
3626
|
if (o && oa.test(o) || o === "//")
|
|
3631
3627
|
return o;
|
|
3632
|
-
if (
|
|
3633
|
-
|
|
3628
|
+
if (Pt === void 0) {
|
|
3629
|
+
Pt = !1;
|
|
3634
3630
|
try {
|
|
3635
3631
|
const e = new URL("b", "http://a");
|
|
3636
|
-
e.pathname = "c%20d",
|
|
3632
|
+
e.pathname = "c%20d", Pt = e.href === "http://a/c%20d";
|
|
3637
3633
|
} catch (e) {
|
|
3638
3634
|
}
|
|
3639
3635
|
}
|
|
3640
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
3636
|
+
if (t || (t = document.baseURI || window.location.href), Pt)
|
|
3641
3637
|
try {
|
|
3642
3638
|
return new URL(o, t).href;
|
|
3643
3639
|
} catch (e) {
|
|
@@ -3645,12 +3641,12 @@ function _t(o, t) {
|
|
|
3645
3641
|
}
|
|
3646
3642
|
return ye || (ye = document.implementation.createHTMLDocument("temp"), ye.base = ye.createElement("base"), ye.head.appendChild(ye.base), ye.anchor = ye.createElement("a"), ye.body.appendChild(ye.anchor)), ye.base.href = t, ye.anchor.href = o, ye.anchor.href || o;
|
|
3647
3643
|
}
|
|
3648
|
-
function
|
|
3644
|
+
function Vi(o, t) {
|
|
3649
3645
|
return o.replace(ia, function(e, i, s, r) {
|
|
3650
|
-
return i + "'" +
|
|
3646
|
+
return i + "'" + mt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
3651
3647
|
});
|
|
3652
3648
|
}
|
|
3653
|
-
function
|
|
3649
|
+
function Wi(o) {
|
|
3654
3650
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
3655
3651
|
}
|
|
3656
3652
|
/**
|
|
@@ -3675,9 +3671,9 @@ const sa = Ns && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
3675
3671
|
return !1;
|
|
3676
3672
|
}
|
|
3677
3673
|
})();
|
|
3678
|
-
let ra = window.Polymer && window.Polymer.rootPath ||
|
|
3674
|
+
let ra = window.Polymer && window.Polymer.rootPath || Wi(document.baseURI || window.location.href), Rt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
3679
3675
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
3680
|
-
let
|
|
3676
|
+
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1, na = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, zs = window.Polymer && window.Polymer.legacyOptimizations || !1, Ls = window.Polymer && window.Polymer.legacyWarnings || !1, aa = window.Polymer && window.Polymer.syncInitialRender || !1, bi = window.Polymer && window.Polymer.legacyUndefined || !1, la = window.Polymer && window.Polymer.orderedComputed || !1, ko = window.Polymer && window.Polymer.removeNestedTemplates || !1, ca = window.Polymer && window.Polymer.fastDomIf || !1, Po = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
3681
3677
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
3682
3678
|
let ua = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
3683
3679
|
/**
|
|
@@ -3727,17 +3723,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3727
3723
|
Code distributed by Google as part of the polymer project is also
|
|
3728
3724
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3729
3725
|
*/
|
|
3730
|
-
let
|
|
3726
|
+
let qi = {}, $s = {};
|
|
3731
3727
|
function To(o, t) {
|
|
3732
|
-
|
|
3728
|
+
qi[o] = $s[o.toLowerCase()] = t;
|
|
3733
3729
|
}
|
|
3734
3730
|
function Mo(o) {
|
|
3735
|
-
return
|
|
3731
|
+
return qi[o] || $s[o.toLowerCase()];
|
|
3736
3732
|
}
|
|
3737
3733
|
function ha(o) {
|
|
3738
3734
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
3739
3735
|
}
|
|
3740
|
-
class
|
|
3736
|
+
class yt extends HTMLElement {
|
|
3741
3737
|
/** @override */
|
|
3742
3738
|
static get observedAttributes() {
|
|
3743
3739
|
return ["id"];
|
|
@@ -3786,11 +3782,11 @@ class bt extends HTMLElement {
|
|
|
3786
3782
|
*/
|
|
3787
3783
|
get assetpath() {
|
|
3788
3784
|
if (!this.__assetpath) {
|
|
3789
|
-
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 = mt(
|
|
3790
3786
|
this.getAttribute("assetpath") || "",
|
|
3791
3787
|
t.baseURI
|
|
3792
3788
|
);
|
|
3793
|
-
this.__assetpath =
|
|
3789
|
+
this.__assetpath = Wi(e);
|
|
3794
3790
|
}
|
|
3795
3791
|
return this.__assetpath;
|
|
3796
3792
|
}
|
|
@@ -3803,14 +3799,14 @@ class bt extends HTMLElement {
|
|
|
3803
3799
|
*/
|
|
3804
3800
|
register(t) {
|
|
3805
3801
|
if (t = t || this.id, t) {
|
|
3806
|
-
if (
|
|
3802
|
+
if (Ht && Mo(t) !== void 0)
|
|
3807
3803
|
throw To(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3808
3804
|
this.id = t, To(t, this), ha(this);
|
|
3809
3805
|
}
|
|
3810
3806
|
}
|
|
3811
3807
|
}
|
|
3812
|
-
|
|
3813
|
-
customElements.define("dom-module",
|
|
3808
|
+
yt.prototype.modules = qi;
|
|
3809
|
+
customElements.define("dom-module", yt);
|
|
3814
3810
|
/**
|
|
3815
3811
|
@license
|
|
3816
3812
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3820,16 +3816,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3820
3816
|
Code distributed by Google as part of the polymer project is also
|
|
3821
3817
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3822
3818
|
*/
|
|
3823
|
-
const
|
|
3819
|
+
const pa = "link[rel=import][type~=css]", fa = "include", Oo = "shady-unscoped";
|
|
3824
3820
|
function Rs(o) {
|
|
3825
3821
|
return (
|
|
3826
3822
|
/** @type {?DomModule} */
|
|
3827
|
-
|
|
3823
|
+
yt.import(o)
|
|
3828
3824
|
);
|
|
3829
3825
|
}
|
|
3830
3826
|
function Io(o) {
|
|
3831
3827
|
let t = o.body ? o.body : o;
|
|
3832
|
-
const e =
|
|
3828
|
+
const e = Vi(
|
|
3833
3829
|
t.textContent,
|
|
3834
3830
|
o.baseURI
|
|
3835
3831
|
), i = document.createElement("style");
|
|
@@ -3864,10 +3860,10 @@ function Hs(o, t) {
|
|
|
3864
3860
|
if (!o._styles) {
|
|
3865
3861
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3866
3862
|
for (let s = 0; s < i.length; s++) {
|
|
3867
|
-
let r = i[s], n = r.getAttribute(
|
|
3863
|
+
let r = i[s], n = r.getAttribute(fa);
|
|
3868
3864
|
n && e.push(...ma(n).filter(function(a, l, c) {
|
|
3869
3865
|
return c.indexOf(a) === l;
|
|
3870
|
-
})), t && (r.textContent =
|
|
3866
|
+
})), t && (r.textContent = Vi(
|
|
3871
3867
|
r.textContent,
|
|
3872
3868
|
/** @type {string} */
|
|
3873
3869
|
t
|
|
@@ -3882,7 +3878,7 @@ function ga(o) {
|
|
|
3882
3878
|
return t ? Bs(t) : [];
|
|
3883
3879
|
}
|
|
3884
3880
|
function Bs(o) {
|
|
3885
|
-
const t = [], e = o.querySelectorAll(
|
|
3881
|
+
const t = [], e = o.querySelectorAll(pa);
|
|
3886
3882
|
for (let i = 0; i < e.length; i++) {
|
|
3887
3883
|
let s = e[i];
|
|
3888
3884
|
if (s.import) {
|
|
@@ -3916,7 +3912,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3916
3912
|
Code distributed by Google as part of the polymer project is also
|
|
3917
3913
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3918
3914
|
*/
|
|
3919
|
-
function
|
|
3915
|
+
function xi(o) {
|
|
3920
3916
|
return o.indexOf(".") >= 0;
|
|
3921
3917
|
}
|
|
3922
3918
|
function Ue(o) {
|
|
@@ -3926,16 +3922,16 @@ function Ue(o) {
|
|
|
3926
3922
|
function Ys(o, t) {
|
|
3927
3923
|
return o.indexOf(t + ".") === 0;
|
|
3928
3924
|
}
|
|
3929
|
-
function
|
|
3925
|
+
function bt(o, t) {
|
|
3930
3926
|
return t.indexOf(o + ".") === 0;
|
|
3931
3927
|
}
|
|
3932
|
-
function
|
|
3928
|
+
function xt(o, t, e) {
|
|
3933
3929
|
return t + e.slice(o.length);
|
|
3934
3930
|
}
|
|
3935
3931
|
function va(o, t) {
|
|
3936
|
-
return o === t || Ys(o, t) ||
|
|
3932
|
+
return o === t || Ys(o, t) || bt(o, t);
|
|
3937
3933
|
}
|
|
3938
|
-
function
|
|
3934
|
+
function dt(o) {
|
|
3939
3935
|
if (Array.isArray(o)) {
|
|
3940
3936
|
let t = [];
|
|
3941
3937
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3948,7 +3944,7 @@ function ht(o) {
|
|
|
3948
3944
|
return o;
|
|
3949
3945
|
}
|
|
3950
3946
|
function js(o) {
|
|
3951
|
-
return Array.isArray(o) ?
|
|
3947
|
+
return Array.isArray(o) ? dt(o).split(".") : o.toString().split(".");
|
|
3952
3948
|
}
|
|
3953
3949
|
function me(o, t, e) {
|
|
3954
3950
|
let i = o, s = js(t);
|
|
@@ -3982,15 +3978,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3982
3978
|
Code distributed by Google as part of the polymer project is also
|
|
3983
3979
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3984
3980
|
*/
|
|
3985
|
-
const
|
|
3986
|
-
function
|
|
3987
|
-
return
|
|
3981
|
+
const Bt = {}, ya = /-[a-z]/g, ba = /([A-Z])/g;
|
|
3982
|
+
function Us(o) {
|
|
3983
|
+
return Bt[o] || (Bt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3988
3984
|
ya,
|
|
3989
3985
|
(t) => t[1].toUpperCase()
|
|
3990
3986
|
));
|
|
3991
3987
|
}
|
|
3992
|
-
function
|
|
3993
|
-
return
|
|
3988
|
+
function Wt(o) {
|
|
3989
|
+
return Bt[o] || (Bt[o] = o.replace(ba, "-$1").toLowerCase());
|
|
3994
3990
|
}
|
|
3995
3991
|
/**
|
|
3996
3992
|
@license
|
|
@@ -4001,13 +3997,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4001
3997
|
Code distributed by Google as part of the polymer project is also
|
|
4002
3998
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4003
3999
|
*/
|
|
4004
|
-
let xa = 0,
|
|
4000
|
+
let xa = 0, Vs = 0, Je = [], wa = 0, wi = !1, Ws = document.createTextNode("");
|
|
4005
4001
|
new window.MutationObserver(Ea).observe(Ws, { characterData: !0 });
|
|
4006
4002
|
function Ea() {
|
|
4007
|
-
|
|
4008
|
-
const o =
|
|
4003
|
+
wi = !1;
|
|
4004
|
+
const o = Je.length;
|
|
4009
4005
|
for (let t = 0; t < o; t++) {
|
|
4010
|
-
let e =
|
|
4006
|
+
let e = Je[t];
|
|
4011
4007
|
if (e)
|
|
4012
4008
|
try {
|
|
4013
4009
|
e();
|
|
@@ -4017,7 +4013,7 @@ function Ea() {
|
|
|
4017
4013
|
});
|
|
4018
4014
|
}
|
|
4019
4015
|
}
|
|
4020
|
-
|
|
4016
|
+
Je.splice(0, o), Vs += o;
|
|
4021
4017
|
}
|
|
4022
4018
|
const Sa = {
|
|
4023
4019
|
/**
|
|
@@ -4068,7 +4064,7 @@ const Sa = {
|
|
|
4068
4064
|
* @return {number} Handle used for canceling task
|
|
4069
4065
|
*/
|
|
4070
4066
|
run(o) {
|
|
4071
|
-
return
|
|
4067
|
+
return wi || (wi = !0, Ws.textContent = wa++), Je.push(o), xa++;
|
|
4072
4068
|
},
|
|
4073
4069
|
/**
|
|
4074
4070
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -4078,11 +4074,11 @@ const Sa = {
|
|
|
4078
4074
|
* @return {void}
|
|
4079
4075
|
*/
|
|
4080
4076
|
cancel(o) {
|
|
4081
|
-
const t = o -
|
|
4077
|
+
const t = o - Vs;
|
|
4082
4078
|
if (t >= 0) {
|
|
4083
|
-
if (!
|
|
4079
|
+
if (!Je[t])
|
|
4084
4080
|
throw new Error("invalid async handle: " + o);
|
|
4085
|
-
|
|
4081
|
+
Je[t] = null;
|
|
4086
4082
|
}
|
|
4087
4083
|
}
|
|
4088
4084
|
};
|
|
@@ -4532,12 +4528,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
4532
4528
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4533
4529
|
*/
|
|
4534
4530
|
const Gs = {};
|
|
4535
|
-
let
|
|
4536
|
-
for (;
|
|
4537
|
-
let o = Object.getOwnPropertyNames(
|
|
4531
|
+
let Tt = HTMLElement.prototype;
|
|
4532
|
+
for (; Tt; ) {
|
|
4533
|
+
let o = Object.getOwnPropertyNames(Tt);
|
|
4538
4534
|
for (let t = 0; t < o.length; t++)
|
|
4539
4535
|
Gs[o[t]] = !0;
|
|
4540
|
-
|
|
4536
|
+
Tt = Object.getPrototypeOf(Tt);
|
|
4541
4537
|
}
|
|
4542
4538
|
const Ca = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
4543
4539
|
function Da(o, t) {
|
|
@@ -4565,7 +4561,7 @@ const ka = se((o) => {
|
|
|
4565
4561
|
this.observedAttributes
|
|
4566
4562
|
);
|
|
4567
4563
|
for (let r = 0; r < s.length; r++)
|
|
4568
|
-
this.prototype._createPropertyAccessor(
|
|
4564
|
+
this.prototype._createPropertyAccessor(Us(s[r]));
|
|
4569
4565
|
}
|
|
4570
4566
|
/**
|
|
4571
4567
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -4577,7 +4573,7 @@ const ka = se((o) => {
|
|
|
4577
4573
|
* @nocollapse
|
|
4578
4574
|
*/
|
|
4579
4575
|
static attributeNameForProperty(s) {
|
|
4580
|
-
return
|
|
4576
|
+
return Wt(s);
|
|
4581
4577
|
}
|
|
4582
4578
|
/**
|
|
4583
4579
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -5173,8 +5169,8 @@ const $a = se(
|
|
|
5173
5169
|
* Google as part of the polymer project is also subject to an additional IP
|
|
5174
5170
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5175
5171
|
*/
|
|
5176
|
-
let
|
|
5177
|
-
const
|
|
5172
|
+
let wt = 0;
|
|
5173
|
+
const Et = [], B = {
|
|
5178
5174
|
COMPUTE: "__computeEffects",
|
|
5179
5175
|
REFLECT: "__reflectEffects",
|
|
5180
5176
|
NOTIFY: "__notifyEffects",
|
|
@@ -5182,7 +5178,7 @@ const St = [], B = {
|
|
|
5182
5178
|
OBSERVE: "__observeEffects",
|
|
5183
5179
|
READ_ONLY: "__readOnly"
|
|
5184
5180
|
}, Xs = "__computeInfo", Ra = /[A-Z]/;
|
|
5185
|
-
function
|
|
5181
|
+
function ii(o, t, e) {
|
|
5186
5182
|
let i = o[t];
|
|
5187
5183
|
if (!i)
|
|
5188
5184
|
i = o[t] = {};
|
|
@@ -5194,15 +5190,15 @@ function oi(o, t, e) {
|
|
|
5194
5190
|
}
|
|
5195
5191
|
return i;
|
|
5196
5192
|
}
|
|
5197
|
-
function
|
|
5193
|
+
function ht(o, t, e, i, s, r) {
|
|
5198
5194
|
if (t) {
|
|
5199
5195
|
let n = !1;
|
|
5200
|
-
const a =
|
|
5196
|
+
const a = wt++;
|
|
5201
5197
|
for (let l in e) {
|
|
5202
5198
|
let c = s ? Ue(l) : l, u = t[c];
|
|
5203
5199
|
if (u)
|
|
5204
|
-
for (let d = 0, h = u.length,
|
|
5205
|
-
(!
|
|
5200
|
+
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
5201
|
+
(!p.info || p.info.lastRun !== a) && (!s || Ki(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, s, r), n = !0);
|
|
5206
5202
|
}
|
|
5207
5203
|
return n;
|
|
5208
5204
|
}
|
|
@@ -5211,17 +5207,17 @@ function ft(o, t, e, i, s, r) {
|
|
|
5211
5207
|
function Ha(o, t, e, i, s, r, n, a) {
|
|
5212
5208
|
let l = !1, c = n ? Ue(i) : i, u = t[c];
|
|
5213
5209
|
if (u)
|
|
5214
|
-
for (let d = 0, h = u.length,
|
|
5215
|
-
(!
|
|
5210
|
+
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
5211
|
+
(!p.info || p.info.lastRun !== e) && (!n || Ki(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, s, r, p.info, n, a), l = !0);
|
|
5216
5212
|
return l;
|
|
5217
5213
|
}
|
|
5218
|
-
function
|
|
5214
|
+
function Ki(o, t) {
|
|
5219
5215
|
if (t) {
|
|
5220
5216
|
let e = (
|
|
5221
5217
|
/** @type {string} */
|
|
5222
5218
|
t.name
|
|
5223
5219
|
);
|
|
5224
|
-
return e == o || !!(t.structured && Ys(e, o)) || !!(t.wildcard &&
|
|
5220
|
+
return e == o || !!(t.structured && Ys(e, o)) || !!(t.wildcard && bt(e, o));
|
|
5225
5221
|
} else
|
|
5226
5222
|
return !0;
|
|
5227
5223
|
}
|
|
@@ -5230,7 +5226,7 @@ function Lo(o, t, e, i, s) {
|
|
|
5230
5226
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
5231
5227
|
}
|
|
5232
5228
|
function Ba(o, t, e, i, s) {
|
|
5233
|
-
let r = o[B.NOTIFY], n, a =
|
|
5229
|
+
let r = o[B.NOTIFY], n, a = wt++;
|
|
5234
5230
|
for (let c in t)
|
|
5235
5231
|
t[c] && (r && Ha(o, r, a, c, e, i, s) || s && Ya(o, c, e)) && (n = !0);
|
|
5236
5232
|
let l;
|
|
@@ -5239,7 +5235,7 @@ function Ba(o, t, e, i, s) {
|
|
|
5239
5235
|
function Ya(o, t, e) {
|
|
5240
5236
|
let i = Ue(t);
|
|
5241
5237
|
if (i !== t) {
|
|
5242
|
-
let s =
|
|
5238
|
+
let s = Wt(i) + "-changed";
|
|
5243
5239
|
return Zs(o, s, e[t], t), !0;
|
|
5244
5240
|
}
|
|
5245
5241
|
return !1;
|
|
@@ -5258,16 +5254,16 @@ function ja(o, t, e, i, s, r) {
|
|
|
5258
5254
|
let a = (r ? Ue(t) : t) != t ? t : null, l = a ? me(o, a) : o.__data[t];
|
|
5259
5255
|
a && l === void 0 && (l = e[t]), Zs(o, s.eventName, l, a);
|
|
5260
5256
|
}
|
|
5261
|
-
function
|
|
5257
|
+
function Ua(o, t, e, i, s) {
|
|
5262
5258
|
let r, n = (
|
|
5263
5259
|
/** @type {Object} */
|
|
5264
5260
|
o.detail
|
|
5265
5261
|
), a = n && n.path;
|
|
5266
|
-
a ? (i =
|
|
5262
|
+
a ? (i = xt(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();
|
|
5267
5263
|
}
|
|
5268
|
-
function
|
|
5264
|
+
function Va(o, t, e, i, s) {
|
|
5269
5265
|
let r = o.__data[t];
|
|
5270
|
-
|
|
5266
|
+
Rt && (r = Rt(
|
|
5271
5267
|
r,
|
|
5272
5268
|
s.attrName,
|
|
5273
5269
|
"attribute",
|
|
@@ -5279,7 +5275,7 @@ function Wa(o, t, e, i) {
|
|
|
5279
5275
|
let s = o[B.COMPUTE];
|
|
5280
5276
|
if (s)
|
|
5281
5277
|
if (la) {
|
|
5282
|
-
|
|
5278
|
+
wt++;
|
|
5283
5279
|
const r = Ka(o), n = [];
|
|
5284
5280
|
for (let l in t)
|
|
5285
5281
|
$o(l, s, n, r, i);
|
|
@@ -5297,7 +5293,7 @@ function Wa(o, t, e, i) {
|
|
|
5297
5293
|
), o.__dataPending = null;
|
|
5298
5294
|
} else {
|
|
5299
5295
|
let r = t;
|
|
5300
|
-
for (;
|
|
5296
|
+
for (; ht(o, s, r, e, i); )
|
|
5301
5297
|
Object.assign(
|
|
5302
5298
|
/** @type {!Object} */
|
|
5303
5299
|
e,
|
|
@@ -5328,7 +5324,7 @@ const qa = (o, t, e) => {
|
|
|
5328
5324
|
if (n)
|
|
5329
5325
|
for (let a = 0; a < n.length; a++) {
|
|
5330
5326
|
const l = n[a];
|
|
5331
|
-
l.info.lastRun !==
|
|
5327
|
+
l.info.lastRun !== wt && (!s || Ki(o, l.trigger)) && (l.info.lastRun = wt, qa(l.info, e, i));
|
|
5332
5328
|
}
|
|
5333
5329
|
};
|
|
5334
5330
|
function Ka(o) {
|
|
@@ -5362,8 +5358,8 @@ function Ga(o) {
|
|
|
5362
5358
|
return { counts: e, ready: s, total: r };
|
|
5363
5359
|
}
|
|
5364
5360
|
function Qs(o, t, e, i, s) {
|
|
5365
|
-
let r =
|
|
5366
|
-
if (r ===
|
|
5361
|
+
let r = Ei(o, t, e, i, s);
|
|
5362
|
+
if (r === Et)
|
|
5367
5363
|
return !1;
|
|
5368
5364
|
let n = s.methodInfo;
|
|
5369
5365
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -5374,16 +5370,16 @@ function Ja(o, t, e) {
|
|
|
5374
5370
|
let s;
|
|
5375
5371
|
for (let r in i) {
|
|
5376
5372
|
let n = i[r];
|
|
5377
|
-
|
|
5373
|
+
bt(r, t) ? (s = xt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : bt(n, t) && (s = xt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
5378
5374
|
}
|
|
5379
5375
|
}
|
|
5380
5376
|
}
|
|
5381
|
-
function
|
|
5377
|
+
function oi(o, t, e, i, s, r, n) {
|
|
5382
5378
|
e.bindings = e.bindings || [];
|
|
5383
5379
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
5384
5380
|
if (e.bindings.push(a), tl(a)) {
|
|
5385
5381
|
let { event: c, negate: u } = a.parts[0];
|
|
5386
|
-
a.listenerEvent = c ||
|
|
5382
|
+
a.listenerEvent = c || Wt(s) + "-changed", a.listenerNegate = u;
|
|
5387
5383
|
}
|
|
5388
5384
|
let l = t.nodeInfoList.length;
|
|
5389
5385
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -5411,14 +5407,14 @@ function Za(o, t, e, i, s, r, n) {
|
|
|
5411
5407
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
5412
5408
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
5413
5409
|
let u = e[t];
|
|
5414
|
-
t =
|
|
5410
|
+
t = xt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
5415
5411
|
} else {
|
|
5416
5412
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
5417
|
-
u !==
|
|
5413
|
+
u !== Et && Qa(o, a, l, c, u);
|
|
5418
5414
|
}
|
|
5419
5415
|
}
|
|
5420
5416
|
function Qa(o, t, e, i, s) {
|
|
5421
|
-
if (s = el(t, s, e, i),
|
|
5417
|
+
if (s = el(t, s, e, i), Rt && (s = Rt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
5422
5418
|
o._valueToNodeAttribute(
|
|
5423
5419
|
/** @type {Element} */
|
|
5424
5420
|
t,
|
|
@@ -5466,7 +5462,7 @@ function sl(o, t, e) {
|
|
|
5466
5462
|
if (e.listenerEvent) {
|
|
5467
5463
|
let i = e.parts[0];
|
|
5468
5464
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
5469
|
-
|
|
5465
|
+
Ua(s, t, e.target, i.source, i.negate);
|
|
5470
5466
|
});
|
|
5471
5467
|
}
|
|
5472
5468
|
}
|
|
@@ -5489,15 +5485,15 @@ function Ro(o, t, e, i, s, r) {
|
|
|
5489
5485
|
info: n
|
|
5490
5486
|
}), n;
|
|
5491
5487
|
}
|
|
5492
|
-
function
|
|
5488
|
+
function Ei(o, t, e, i, s) {
|
|
5493
5489
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
5494
5490
|
if (n) {
|
|
5495
5491
|
let a = o._marshalArgs(s.args, t, e);
|
|
5496
|
-
return a ===
|
|
5492
|
+
return a === Et ? Et : n.apply(r, a);
|
|
5497
5493
|
} else
|
|
5498
5494
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
5499
5495
|
}
|
|
5500
|
-
const rl = [], er = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", nl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", al = "(?:'(?:[^'\\\\]|\\\\.)*')", ll = '(?:"(?:[^"\\\\]|\\\\.)*")', cl = "(?:" + al + "|" + ll + ")", Ho = "(?:(" + er + "|" + nl + "|" + cl + ")\\s*)", ul = "(?:" + Ho + "(?:,\\s*" + Ho + ")*)", dl = "(?:\\(\\s*(?:" + ul + "?)\\)\\s*)", hl = "(" + er + "\\s*" + dl + "?)",
|
|
5496
|
+
const rl = [], er = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", nl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", al = "(?:'(?:[^'\\\\]|\\\\.)*')", ll = '(?:"(?:[^"\\\\]|\\\\.)*")', cl = "(?:" + al + "|" + ll + ")", Ho = "(?:(" + er + "|" + nl + "|" + cl + ")\\s*)", ul = "(?:" + Ho + "(?:,\\s*" + Ho + ")*)", dl = "(?:\\(\\s*(?:" + ul + "?)\\)\\s*)", hl = "(" + er + "\\s*" + dl + "?)", pl = "(\\[\\[|{{)\\s*", fl = "(?:]]|}})", ml = "(?:(!)\\s*)?", _l = pl + ml + hl + fl, Bo = new RegExp(_l, "g");
|
|
5501
5497
|
function Yo(o) {
|
|
5502
5498
|
let t = "";
|
|
5503
5499
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -5506,7 +5502,7 @@ function Yo(o) {
|
|
|
5506
5502
|
}
|
|
5507
5503
|
return t;
|
|
5508
5504
|
}
|
|
5509
|
-
function
|
|
5505
|
+
function si(o) {
|
|
5510
5506
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
5511
5507
|
if (t) {
|
|
5512
5508
|
let i = { methodName: t[1], static: !0, args: rl };
|
|
@@ -5539,7 +5535,7 @@ function tr(o) {
|
|
|
5539
5535
|
e.value = Number(t), e.literal = !0;
|
|
5540
5536
|
break;
|
|
5541
5537
|
}
|
|
5542
|
-
return e.literal || (e.rootProperty = Ue(t), e.structured =
|
|
5538
|
+
return e.literal || (e.rootProperty = Ue(t), e.structured = xi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
5543
5539
|
}
|
|
5544
5540
|
function jo(o, t, e) {
|
|
5545
5541
|
let i = me(o, e);
|
|
@@ -5547,9 +5543,9 @@ function jo(o, t, e) {
|
|
|
5547
5543
|
}
|
|
5548
5544
|
function ir(o, t, e, i) {
|
|
5549
5545
|
const s = { indexSplices: i };
|
|
5550
|
-
|
|
5546
|
+
bi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), bi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
5551
5547
|
}
|
|
5552
|
-
function
|
|
5548
|
+
function at(o, t, e, i, s, r) {
|
|
5553
5549
|
ir(o, t, e, [{
|
|
5554
5550
|
index: i,
|
|
5555
5551
|
addedCount: s,
|
|
@@ -5561,7 +5557,7 @@ function lt(o, t, e, i, s, r) {
|
|
|
5561
5557
|
function vl(o) {
|
|
5562
5558
|
return o[0].toUpperCase() + o.substring(1);
|
|
5563
5559
|
}
|
|
5564
|
-
const
|
|
5560
|
+
const Gi = se((o) => {
|
|
5565
5561
|
const t = $a(ka(o));
|
|
5566
5562
|
class e extends t {
|
|
5567
5563
|
constructor() {
|
|
@@ -5578,8 +5574,8 @@ const Ji = se((o) => {
|
|
|
5578
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;
|
|
5579
5575
|
}
|
|
5580
5576
|
_registerHost() {
|
|
5581
|
-
if (
|
|
5582
|
-
let s =
|
|
5577
|
+
if (lt.length) {
|
|
5578
|
+
let s = lt[lt.length - 1];
|
|
5583
5579
|
s._enqueueClient(this), this.__dataHost = s;
|
|
5584
5580
|
}
|
|
5585
5581
|
}
|
|
@@ -5623,7 +5619,7 @@ const Ji = se((o) => {
|
|
|
5623
5619
|
*/
|
|
5624
5620
|
_addPropertyEffect(s, r, n) {
|
|
5625
5621
|
this._createPropertyAccessor(s, r == B.READ_ONLY);
|
|
5626
|
-
let a =
|
|
5622
|
+
let a = ii(this, r, !0)[s];
|
|
5627
5623
|
a || (a = this[r][s] = []), a.push(n);
|
|
5628
5624
|
}
|
|
5629
5625
|
/**
|
|
@@ -5636,7 +5632,7 @@ const Ji = se((o) => {
|
|
|
5636
5632
|
* @return {void}
|
|
5637
5633
|
*/
|
|
5638
5634
|
_removePropertyEffect(s, r, n) {
|
|
5639
|
-
let a =
|
|
5635
|
+
let a = ii(this, r, !0)[s], l = a.indexOf(n);
|
|
5640
5636
|
l >= 0 && a.splice(l, 1);
|
|
5641
5637
|
}
|
|
5642
5638
|
/**
|
|
@@ -5830,7 +5826,7 @@ const Ji = se((o) => {
|
|
|
5830
5826
|
* @return {boolean} Returns true if the property changed
|
|
5831
5827
|
*/
|
|
5832
5828
|
_setPendingProperty(s, r, n) {
|
|
5833
|
-
let a = this.__dataHasPaths &&
|
|
5829
|
+
let a = this.__dataHasPaths && xi(s), l = a ? this.__dataTemp : this.__data;
|
|
5834
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;
|
|
5835
5831
|
}
|
|
5836
5832
|
/**
|
|
@@ -5966,7 +5962,7 @@ const Ji = se((o) => {
|
|
|
5966
5962
|
let a = this.__dataHasPaths;
|
|
5967
5963
|
this.__dataHasPaths = !1;
|
|
5968
5964
|
let l;
|
|
5969
|
-
Wa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(),
|
|
5965
|
+
Wa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[B.REFLECT], r, n, a), ht(this, this[B.OBSERVE], r, n, a), l && Ba(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5970
5966
|
}
|
|
5971
5967
|
/**
|
|
5972
5968
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5980,11 +5976,11 @@ const Ji = se((o) => {
|
|
|
5980
5976
|
* @protected
|
|
5981
5977
|
*/
|
|
5982
5978
|
_propagatePropertyChanges(s, r, n) {
|
|
5983
|
-
this[B.PROPAGATE] &&
|
|
5979
|
+
this[B.PROPAGATE] && ht(this, this[B.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5984
5980
|
}
|
|
5985
5981
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5986
5982
|
const l = (c, u) => {
|
|
5987
|
-
|
|
5983
|
+
ht(
|
|
5988
5984
|
this,
|
|
5989
5985
|
s.propertyEffects,
|
|
5990
5986
|
c,
|
|
@@ -6008,7 +6004,7 @@ const Ji = se((o) => {
|
|
|
6008
6004
|
* @public
|
|
6009
6005
|
*/
|
|
6010
6006
|
linkPaths(s, r) {
|
|
6011
|
-
s =
|
|
6007
|
+
s = dt(s), r = dt(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
6012
6008
|
}
|
|
6013
6009
|
/**
|
|
6014
6010
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -6022,7 +6018,7 @@ const Ji = se((o) => {
|
|
|
6022
6018
|
* @public
|
|
6023
6019
|
*/
|
|
6024
6020
|
unlinkPaths(s) {
|
|
6025
|
-
s =
|
|
6021
|
+
s = dt(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
6026
6022
|
}
|
|
6027
6023
|
/**
|
|
6028
6024
|
* Notify that an array has changed.
|
|
@@ -6136,7 +6132,7 @@ const Ji = se((o) => {
|
|
|
6136
6132
|
/** @type {Array}*/
|
|
6137
6133
|
me(this, s, n)
|
|
6138
6134
|
), l = a.length, c = a.push(...r);
|
|
6139
|
-
return r.length &&
|
|
6135
|
+
return r.length && at(this, a, n.path, l, r.length, []), c;
|
|
6140
6136
|
}
|
|
6141
6137
|
/**
|
|
6142
6138
|
* Removes an item from the end of array at the path specified.
|
|
@@ -6157,7 +6153,7 @@ const Ji = se((o) => {
|
|
|
6157
6153
|
/** @type {Array} */
|
|
6158
6154
|
me(this, s, r)
|
|
6159
6155
|
), a = !!n.length, l = n.pop();
|
|
6160
|
-
return a &&
|
|
6156
|
+
return a && at(this, n, r.path, n.length, 0, [l]), l;
|
|
6161
6157
|
}
|
|
6162
6158
|
/**
|
|
6163
6159
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -6184,7 +6180,7 @@ const Ji = se((o) => {
|
|
|
6184
6180
|
);
|
|
6185
6181
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
6186
6182
|
let u;
|
|
6187
|
-
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) && at(this, c, l.path, r, a.length, u), u;
|
|
6188
6184
|
}
|
|
6189
6185
|
/**
|
|
6190
6186
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -6205,7 +6201,7 @@ const Ji = se((o) => {
|
|
|
6205
6201
|
/** @type {Array} */
|
|
6206
6202
|
me(this, s, r)
|
|
6207
6203
|
), a = !!n.length, l = n.shift();
|
|
6208
|
-
return a &&
|
|
6204
|
+
return a && at(this, n, r.path, 0, 0, [l]), l;
|
|
6209
6205
|
}
|
|
6210
6206
|
/**
|
|
6211
6207
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -6227,7 +6223,7 @@ const Ji = se((o) => {
|
|
|
6227
6223
|
/** @type {Array} */
|
|
6228
6224
|
me(this, s, n)
|
|
6229
6225
|
), l = a.unshift(...r);
|
|
6230
|
-
return r.length &&
|
|
6226
|
+
return r.length && at(this, a, n.path, 0, r.length, []), l;
|
|
6231
6227
|
}
|
|
6232
6228
|
/**
|
|
6233
6229
|
* Notify that a path has changed.
|
|
@@ -6249,7 +6245,7 @@ const Ji = se((o) => {
|
|
|
6249
6245
|
let a = { path: "" };
|
|
6250
6246
|
r = me(this, s, a), n = a.path;
|
|
6251
6247
|
} else
|
|
6252
|
-
Array.isArray(s) ? n =
|
|
6248
|
+
Array.isArray(s) ? n = dt(s) : n = /** @type{string} */
|
|
6253
6249
|
s;
|
|
6254
6250
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
6255
6251
|
}
|
|
@@ -6315,10 +6311,10 @@ const Ji = se((o) => {
|
|
|
6315
6311
|
* @protected
|
|
6316
6312
|
*/
|
|
6317
6313
|
_createMethodObserver(s, r) {
|
|
6318
|
-
let n =
|
|
6314
|
+
let n = si(s);
|
|
6319
6315
|
if (!n)
|
|
6320
6316
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
6321
|
-
Ro(this, n, B.OBSERVE,
|
|
6317
|
+
Ro(this, n, B.OBSERVE, Ei, null, r);
|
|
6322
6318
|
}
|
|
6323
6319
|
/**
|
|
6324
6320
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -6334,7 +6330,7 @@ const Ji = se((o) => {
|
|
|
6334
6330
|
this._addPropertyEffect(s, B.NOTIFY, {
|
|
6335
6331
|
fn: ja,
|
|
6336
6332
|
info: {
|
|
6337
|
-
eventName:
|
|
6333
|
+
eventName: Wt(s) + "-changed",
|
|
6338
6334
|
property: s
|
|
6339
6335
|
}
|
|
6340
6336
|
});
|
|
@@ -6353,7 +6349,7 @@ const Ji = se((o) => {
|
|
|
6353
6349
|
_createReflectedProperty(s) {
|
|
6354
6350
|
let r = this.constructor.attributeNameForProperty(s);
|
|
6355
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, {
|
|
6356
|
-
fn:
|
|
6352
|
+
fn: Va,
|
|
6357
6353
|
info: {
|
|
6358
6354
|
attrName: r
|
|
6359
6355
|
}
|
|
@@ -6373,11 +6369,11 @@ const Ji = se((o) => {
|
|
|
6373
6369
|
* @protected
|
|
6374
6370
|
*/
|
|
6375
6371
|
_createComputedProperty(s, r, n) {
|
|
6376
|
-
let a =
|
|
6372
|
+
let a = si(r);
|
|
6377
6373
|
if (!a)
|
|
6378
6374
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
6379
6375
|
const l = Ro(this, a, B.COMPUTE, Qs, s, n);
|
|
6380
|
-
|
|
6376
|
+
ii(this, Xs)[s] = l;
|
|
6381
6377
|
}
|
|
6382
6378
|
/**
|
|
6383
6379
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -6395,10 +6391,10 @@ const Ji = se((o) => {
|
|
|
6395
6391
|
_marshalArgs(s, r, n) {
|
|
6396
6392
|
const a = this.__data, l = [];
|
|
6397
6393
|
for (let c = 0, u = s.length; c < u; c++) {
|
|
6398
|
-
let { name: d, structured: h, wildcard:
|
|
6399
|
-
if (!
|
|
6400
|
-
if (
|
|
6401
|
-
const b =
|
|
6394
|
+
let { name: d, structured: h, wildcard: p, value: y, literal: f } = s[c];
|
|
6395
|
+
if (!f)
|
|
6396
|
+
if (p) {
|
|
6397
|
+
const b = bt(d, r), D = jo(a, n, b ? r : d);
|
|
6402
6398
|
y = {
|
|
6403
6399
|
path: b ? r : d,
|
|
6404
6400
|
value: D,
|
|
@@ -6406,8 +6402,8 @@ const Ji = se((o) => {
|
|
|
6406
6402
|
};
|
|
6407
6403
|
} else
|
|
6408
6404
|
y = h ? jo(a, n, d) : a[d];
|
|
6409
|
-
if (
|
|
6410
|
-
return
|
|
6405
|
+
if (bi && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
6406
|
+
return Et;
|
|
6411
6407
|
l[c] = y;
|
|
6412
6408
|
}
|
|
6413
6409
|
return l;
|
|
@@ -6681,9 +6677,9 @@ const Ji = se((o) => {
|
|
|
6681
6677
|
*/
|
|
6682
6678
|
_stampTemplate(s, r) {
|
|
6683
6679
|
r = r || /** @type {!TemplateInfo} */
|
|
6684
|
-
this._bindTemplate(s, !0),
|
|
6680
|
+
this._bindTemplate(s, !0), lt.push(this);
|
|
6685
6681
|
let n = super._stampTemplate(s, r);
|
|
6686
|
-
if (
|
|
6682
|
+
if (lt.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
6687
6683
|
let a = r.childNodes = [];
|
|
6688
6684
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6689
6685
|
a.push(l);
|
|
@@ -6735,7 +6731,7 @@ const Ji = se((o) => {
|
|
|
6735
6731
|
);
|
|
6736
6732
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
6737
6733
|
let l = this._parseBindings(s.textContent, r);
|
|
6738
|
-
l && (s.textContent = Yo(l) || " ",
|
|
6734
|
+
l && (s.textContent = Yo(l) || " ", oi(this, r, n, "text", "textContent", l), a = !0);
|
|
6739
6735
|
}
|
|
6740
6736
|
return a;
|
|
6741
6737
|
}
|
|
@@ -6764,7 +6760,7 @@ const Ji = se((o) => {
|
|
|
6764
6760
|
let u = a, d = "property";
|
|
6765
6761
|
Ra.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
6766
6762
|
let h = Yo(c);
|
|
6767
|
-
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 =
|
|
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 = Us(a)), oi(this, r, n, d, a, c, h), !0;
|
|
6768
6764
|
} else
|
|
6769
6765
|
return t._parseTemplateNodeAttribute.call(
|
|
6770
6766
|
this,
|
|
@@ -6802,10 +6798,10 @@ const Ji = se((o) => {
|
|
|
6802
6798
|
if (ca && u)
|
|
6803
6799
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), ko || (n.parentInfo.noted = !0));
|
|
6804
6800
|
else {
|
|
6805
|
-
let
|
|
6801
|
+
let p = "{";
|
|
6806
6802
|
for (let y in h) {
|
|
6807
|
-
let
|
|
6808
|
-
|
|
6803
|
+
let f = [{ mode: p, source: y, dependencies: [y], hostProp: !0 }];
|
|
6804
|
+
oi(this, r, n, "property", "_host_" + y, f);
|
|
6809
6805
|
}
|
|
6810
6806
|
}
|
|
6811
6807
|
return a;
|
|
@@ -6859,17 +6855,17 @@ const Ji = se((o) => {
|
|
|
6859
6855
|
let n = [], a = 0, l;
|
|
6860
6856
|
for (; (l = Bo.exec(s)) !== null; ) {
|
|
6861
6857
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6862
|
-
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1,
|
|
6863
|
-
c == "{" && (y = d.indexOf("::")) > 0 && (
|
|
6864
|
-
let
|
|
6865
|
-
if (
|
|
6866
|
-
let { args: D, methodName: C } =
|
|
6858
|
+
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "", y = -1;
|
|
6859
|
+
c == "{" && (y = d.indexOf("::")) > 0 && (p = d.substring(y + 2), d = d.substring(0, y), h = !0);
|
|
6860
|
+
let f = si(d), b = [];
|
|
6861
|
+
if (f) {
|
|
6862
|
+
let { args: D, methodName: C } = f;
|
|
6867
6863
|
for (let N = 0; N < D.length; N++) {
|
|
6868
6864
|
let L = D[N];
|
|
6869
6865
|
L.literal || b.push(L);
|
|
6870
6866
|
}
|
|
6871
6867
|
let z = r.dynamicFns;
|
|
6872
|
-
(z && z[C] ||
|
|
6868
|
+
(z && z[C] || f.static) && (b.push(C), f.dynamicFn = !0);
|
|
6873
6869
|
} else
|
|
6874
6870
|
b.push(d);
|
|
6875
6871
|
n.push({
|
|
@@ -6877,9 +6873,9 @@ const Ji = se((o) => {
|
|
|
6877
6873
|
mode: c,
|
|
6878
6874
|
negate: u,
|
|
6879
6875
|
customEvent: h,
|
|
6880
|
-
signature:
|
|
6876
|
+
signature: f,
|
|
6881
6877
|
dependencies: b,
|
|
6882
|
-
event:
|
|
6878
|
+
event: p
|
|
6883
6879
|
}), a = Bo.lastIndex;
|
|
6884
6880
|
}
|
|
6885
6881
|
if (a && a < s.length) {
|
|
@@ -6907,11 +6903,11 @@ const Ji = se((o) => {
|
|
|
6907
6903
|
*/
|
|
6908
6904
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6909
6905
|
let u;
|
|
6910
|
-
return r.signature ? u =
|
|
6906
|
+
return r.signature ? u = Ei(s, n, a, l, r.signature) : n != r.source ? u = me(s, r.source) : c && xi(n) ? u = me(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6911
6907
|
}
|
|
6912
6908
|
}
|
|
6913
6909
|
return e;
|
|
6914
|
-
}),
|
|
6910
|
+
}), lt = [];
|
|
6915
6911
|
/**
|
|
6916
6912
|
@license
|
|
6917
6913
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -7089,8 +7085,8 @@ const bl = se((o) => {
|
|
|
7089
7085
|
* Google as part of the polymer project is also subject to an additional IP
|
|
7090
7086
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7091
7087
|
*/
|
|
7092
|
-
const xl = "3.5.2",
|
|
7093
|
-
const t = bl(
|
|
7088
|
+
const xl = "3.5.2", Uo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = se((o) => {
|
|
7089
|
+
const t = bl(Gi(o));
|
|
7094
7090
|
function e(l) {
|
|
7095
7091
|
if (!l.hasOwnProperty(
|
|
7096
7092
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -7118,32 +7114,32 @@ const xl = "3.5.2", Vo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = se((o
|
|
|
7118
7114
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
7119
7115
|
}
|
|
7120
7116
|
function r(l, c, u, d) {
|
|
7121
|
-
if (!
|
|
7122
|
-
const h = c.content.querySelectorAll("style"),
|
|
7117
|
+
if (!Uo) {
|
|
7118
|
+
const h = c.content.querySelectorAll("style"), p = Hs(c), y = ga(u), f = c.content.firstElementChild;
|
|
7123
7119
|
for (let D = 0; D < y.length; D++) {
|
|
7124
7120
|
let C = y[D];
|
|
7125
|
-
C.textContent = l._processStyleText(C.textContent, d), c.content.insertBefore(C,
|
|
7121
|
+
C.textContent = l._processStyleText(C.textContent, d), c.content.insertBefore(C, f);
|
|
7126
7122
|
}
|
|
7127
7123
|
let b = 0;
|
|
7128
|
-
for (let D = 0; D <
|
|
7129
|
-
let C =
|
|
7124
|
+
for (let D = 0; D < p.length; D++) {
|
|
7125
|
+
let C = p[D], z = h[b];
|
|
7130
7126
|
z !== C ? (C = C.cloneNode(!0), z.parentNode.insertBefore(C, z)) : b++, C.textContent = l._processStyleText(C.textContent, d);
|
|
7131
7127
|
}
|
|
7132
7128
|
}
|
|
7133
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ua &&
|
|
7129
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ua && Uo && sa) {
|
|
7134
7130
|
const h = c.content.querySelectorAll("style");
|
|
7135
7131
|
if (h) {
|
|
7136
|
-
let
|
|
7132
|
+
let p = "";
|
|
7137
7133
|
Array.from(h).forEach((y) => {
|
|
7138
|
-
|
|
7139
|
-
}), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(
|
|
7134
|
+
p += y.textContent, y.parentNode.removeChild(y);
|
|
7135
|
+
}), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(p);
|
|
7140
7136
|
}
|
|
7141
7137
|
}
|
|
7142
7138
|
}
|
|
7143
7139
|
function n(l) {
|
|
7144
7140
|
let c = null;
|
|
7145
|
-
if (l && (!
|
|
7146
|
-
|
|
7141
|
+
if (l && (!Ht || na) && (c = /** @type {?HTMLTemplateElement} */
|
|
7142
|
+
yt.import(l, "template"), Ht && !c))
|
|
7147
7143
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7148
7144
|
return c;
|
|
7149
7145
|
}
|
|
@@ -7312,9 +7308,9 @@ const xl = "3.5.2", Vo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = se((o
|
|
|
7312
7308
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
7313
7309
|
const c = this.importMeta;
|
|
7314
7310
|
if (c)
|
|
7315
|
-
this._importPath =
|
|
7311
|
+
this._importPath = Wi(c.url);
|
|
7316
7312
|
else {
|
|
7317
|
-
const u =
|
|
7313
|
+
const u = yt.import(
|
|
7318
7314
|
/** @type {PolymerElementConstructor} */
|
|
7319
7315
|
this.is
|
|
7320
7316
|
);
|
|
@@ -7377,7 +7373,7 @@ const xl = "3.5.2", Vo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = se((o
|
|
|
7377
7373
|
* @nocollapse
|
|
7378
7374
|
*/
|
|
7379
7375
|
static _processStyleText(c, u) {
|
|
7380
|
-
return
|
|
7376
|
+
return Vi(c, u);
|
|
7381
7377
|
}
|
|
7382
7378
|
/**
|
|
7383
7379
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -7393,7 +7389,7 @@ const xl = "3.5.2", Vo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = se((o
|
|
|
7393
7389
|
const u = this.prototype._template;
|
|
7394
7390
|
if (u && !u.__polymerFinalized) {
|
|
7395
7391
|
u.__polymerFinalized = !0;
|
|
7396
|
-
const d = this.importPath, h = d ?
|
|
7392
|
+
const d = this.importPath, h = d ? mt(d) : "";
|
|
7397
7393
|
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
7398
7394
|
}
|
|
7399
7395
|
}
|
|
@@ -7505,7 +7501,7 @@ const xl = "3.5.2", Vo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = se((o
|
|
|
7505
7501
|
* @return {string} Rewritten URL relative to base
|
|
7506
7502
|
*/
|
|
7507
7503
|
resolveUrl(c, u) {
|
|
7508
|
-
return !u && this.importPath && (u =
|
|
7504
|
+
return !u && this.importPath && (u = mt(this.importPath)), mt(c, u);
|
|
7509
7505
|
}
|
|
7510
7506
|
/**
|
|
7511
7507
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -7566,7 +7562,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7566
7562
|
Code distributed by Google as part of the polymer project is also
|
|
7567
7563
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7568
7564
|
*/
|
|
7569
|
-
const
|
|
7565
|
+
const Vo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
7570
7566
|
class or {
|
|
7571
7567
|
/**
|
|
7572
7568
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -7610,7 +7606,7 @@ function El(o) {
|
|
|
7610
7606
|
`non-template value passed to Polymer's html function: ${o}`
|
|
7611
7607
|
);
|
|
7612
7608
|
}
|
|
7613
|
-
const
|
|
7609
|
+
const Ve = function(t, ...e) {
|
|
7614
7610
|
rr(t, e);
|
|
7615
7611
|
const i = (
|
|
7616
7612
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -7620,7 +7616,7 @@ const We = function(t, ...e) {
|
|
|
7620
7616
|
(r, n, a) => r + El(n) + t[a + 1],
|
|
7621
7617
|
t[0]
|
|
7622
7618
|
);
|
|
7623
|
-
return
|
|
7619
|
+
return Vo && (s = Vo.createHTML(s)), i.innerHTML = s, i;
|
|
7624
7620
|
}, rr = (o, t) => {
|
|
7625
7621
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
7626
7622
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -7641,21 +7637,21 @@ const Fe = wl(HTMLElement);
|
|
|
7641
7637
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7642
7638
|
*/
|
|
7643
7639
|
const Ce = [];
|
|
7644
|
-
function
|
|
7640
|
+
function Si(o, t, e = o.getAttribute("dir")) {
|
|
7645
7641
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
7646
7642
|
}
|
|
7647
|
-
function
|
|
7643
|
+
function Ai() {
|
|
7648
7644
|
return document.documentElement.getAttribute("dir");
|
|
7649
7645
|
}
|
|
7650
7646
|
function Sl() {
|
|
7651
|
-
const o =
|
|
7647
|
+
const o = Ai();
|
|
7652
7648
|
Ce.forEach((t) => {
|
|
7653
|
-
|
|
7649
|
+
Si(t, o);
|
|
7654
7650
|
});
|
|
7655
7651
|
}
|
|
7656
7652
|
const Al = new MutationObserver(Sl);
|
|
7657
7653
|
Al.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
7658
|
-
const
|
|
7654
|
+
const qt = (o) => class extends o {
|
|
7659
7655
|
static get properties() {
|
|
7660
7656
|
return {
|
|
7661
7657
|
/**
|
|
@@ -7681,14 +7677,14 @@ const Kt = (o) => class extends o {
|
|
|
7681
7677
|
}
|
|
7682
7678
|
/** @protected */
|
|
7683
7679
|
connectedCallback() {
|
|
7684
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
7680
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Si(this, Ai(), null));
|
|
7685
7681
|
}
|
|
7686
7682
|
/** @protected */
|
|
7687
7683
|
attributeChangedCallback(e, i, s) {
|
|
7688
7684
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
7689
7685
|
return;
|
|
7690
|
-
const r =
|
|
7691
|
-
n || a ? (this.__subscribe(),
|
|
7686
|
+
const r = Ai(), n = s === r && Ce.indexOf(this) === -1, a = !s && i && Ce.indexOf(this) === -1;
|
|
7687
|
+
n || a ? (this.__subscribe(), Si(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
7692
7688
|
}
|
|
7693
7689
|
/** @protected */
|
|
7694
7690
|
disconnectedCallback() {
|
|
@@ -7828,12 +7824,12 @@ const Dl = $`
|
|
|
7828
7824
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7829
7825
|
*/
|
|
7830
7826
|
te("vaadin-input-container", Dl, { moduleId: "vaadin-input-container-styles" });
|
|
7831
|
-
class kl extends Cl(
|
|
7827
|
+
class kl extends Cl(je(qt(Fe))) {
|
|
7832
7828
|
static get is() {
|
|
7833
7829
|
return "vaadin-input-container";
|
|
7834
7830
|
}
|
|
7835
7831
|
static get template() {
|
|
7836
|
-
return
|
|
7832
|
+
return Ve`
|
|
7837
7833
|
<slot name="prefix"></slot>
|
|
7838
7834
|
<slot></slot>
|
|
7839
7835
|
<slot name="suffix"></slot>
|
|
@@ -7911,29 +7907,29 @@ const Pl = $`
|
|
|
7911
7907
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7912
7908
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7913
7909
|
*/
|
|
7914
|
-
let
|
|
7910
|
+
let Ji = !1;
|
|
7915
7911
|
window.addEventListener(
|
|
7916
7912
|
"keydown",
|
|
7917
7913
|
() => {
|
|
7918
|
-
|
|
7914
|
+
Ji = !0;
|
|
7919
7915
|
},
|
|
7920
7916
|
{ capture: !0 }
|
|
7921
7917
|
);
|
|
7922
7918
|
window.addEventListener(
|
|
7923
7919
|
"mousedown",
|
|
7924
7920
|
() => {
|
|
7925
|
-
|
|
7921
|
+
Ji = !1;
|
|
7926
7922
|
},
|
|
7927
7923
|
{ capture: !0 }
|
|
7928
7924
|
);
|
|
7929
|
-
function
|
|
7925
|
+
function Ci() {
|
|
7930
7926
|
let o = document.activeElement || document.body;
|
|
7931
7927
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7932
7928
|
o = o.shadowRoot.activeElement;
|
|
7933
7929
|
return o;
|
|
7934
7930
|
}
|
|
7935
|
-
function
|
|
7936
|
-
return
|
|
7931
|
+
function Xi() {
|
|
7932
|
+
return Ji;
|
|
7937
7933
|
}
|
|
7938
7934
|
function Tl(o) {
|
|
7939
7935
|
const t = o.style;
|
|
@@ -7952,11 +7948,11 @@ function Ol(o, t) {
|
|
|
7952
7948
|
Ml(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7953
7949
|
return e.concat(o, t);
|
|
7954
7950
|
}
|
|
7955
|
-
function
|
|
7951
|
+
function Di(o) {
|
|
7956
7952
|
const t = o.length;
|
|
7957
7953
|
if (t < 2)
|
|
7958
7954
|
return o;
|
|
7959
|
-
const e = Math.ceil(t / 2), i =
|
|
7955
|
+
const e = Math.ceil(t / 2), i = Di(o.slice(0, e)), s = Di(o.slice(e));
|
|
7960
7956
|
return Ol(i, s);
|
|
7961
7957
|
}
|
|
7962
7958
|
function nr(o) {
|
|
@@ -7987,7 +7983,7 @@ function ar(o, t) {
|
|
|
7987
7983
|
}
|
|
7988
7984
|
function Nl(o) {
|
|
7989
7985
|
const t = [];
|
|
7990
|
-
return ar(o, t) ?
|
|
7986
|
+
return ar(o, t) ? Di(t) : t;
|
|
7991
7987
|
}
|
|
7992
7988
|
/**
|
|
7993
7989
|
@license
|
|
@@ -7998,10 +7994,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7998
7994
|
Code distributed by Google as part of the polymer project is also
|
|
7999
7995
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8000
7996
|
*/
|
|
8001
|
-
let
|
|
7997
|
+
let ki = !1, zl = [], lr = [];
|
|
8002
7998
|
function Ll() {
|
|
8003
|
-
|
|
8004
|
-
|
|
7999
|
+
ki = !0, requestAnimationFrame(function() {
|
|
8000
|
+
ki = !1, $l(zl), setTimeout(function() {
|
|
8005
8001
|
Rl(lr);
|
|
8006
8002
|
});
|
|
8007
8003
|
});
|
|
@@ -8025,19 +8021,19 @@ function cr(o) {
|
|
|
8025
8021
|
}
|
|
8026
8022
|
}
|
|
8027
8023
|
function ur(o, t, e) {
|
|
8028
|
-
|
|
8024
|
+
ki || Ll(), lr.push([o, t, e]);
|
|
8029
8025
|
}
|
|
8030
8026
|
/**
|
|
8031
8027
|
* @license
|
|
8032
8028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8033
8029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8034
8030
|
*/
|
|
8035
|
-
const
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
const Bl =
|
|
8040
|
-
|
|
8031
|
+
const Kt = (o) => o.test(navigator.userAgent), Pi = (o) => o.test(navigator.platform), Hl = (o) => o.test(navigator.vendor);
|
|
8032
|
+
Kt(/Android/u);
|
|
8033
|
+
Kt(/Chrome/u) && Hl(/Google Inc/u);
|
|
8034
|
+
Kt(/Firefox/u);
|
|
8035
|
+
const Bl = Pi(/^iPad/u) || Pi(/^Mac/u) && navigator.maxTouchPoints > 1, Yl = Pi(/^iPhone/u), dr = Yl || Bl;
|
|
8036
|
+
Kt(/^((?!chrome|android).)*safari/iu);
|
|
8041
8037
|
const jl = (() => {
|
|
8042
8038
|
try {
|
|
8043
8039
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -8050,23 +8046,23 @@ const jl = (() => {
|
|
|
8050
8046
|
* Copyright (c) 2017 Anton Korzunov
|
|
8051
8047
|
* SPDX-License-Identifier: MIT
|
|
8052
8048
|
*/
|
|
8053
|
-
let
|
|
8054
|
-
const Wo = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
8049
|
+
let qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {}, ri = 0;
|
|
8050
|
+
const Wo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
8055
8051
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
8056
|
-
},
|
|
8052
|
+
}, Ul = (o, t) => Wo(o) ? t.map((e) => {
|
|
8057
8053
|
if (!Wo(e))
|
|
8058
|
-
return
|
|
8054
|
+
return ni(e, "is not a valid element"), null;
|
|
8059
8055
|
let i = e;
|
|
8060
8056
|
for (; i && i !== o; ) {
|
|
8061
8057
|
if (o.contains(i))
|
|
8062
8058
|
return e;
|
|
8063
8059
|
i = i.getRootNode().host;
|
|
8064
8060
|
}
|
|
8065
|
-
return
|
|
8066
|
-
}).filter((e) => !!e) : (
|
|
8067
|
-
const s =
|
|
8068
|
-
|
|
8069
|
-
const r =
|
|
8061
|
+
return ni(e, "is not contained inside", o), null;
|
|
8062
|
+
}).filter((e) => !!e) : (ni(o, "is not a valid element"), []), Vl = (o, t, e, i) => {
|
|
8063
|
+
const s = Ul(t, Array.isArray(o) ? o : [o]);
|
|
8064
|
+
Ot[e] || (Ot[e] = /* @__PURE__ */ new WeakMap());
|
|
8065
|
+
const r = Ot[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
8070
8066
|
if (!d || a.has(d))
|
|
8071
8067
|
return;
|
|
8072
8068
|
a.add(d);
|
|
@@ -8083,20 +8079,20 @@ const Wo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
|
8083
8079
|
if (a.has(y))
|
|
8084
8080
|
u(y);
|
|
8085
8081
|
else {
|
|
8086
|
-
const
|
|
8087
|
-
|
|
8082
|
+
const f = y.getAttribute(i), b = f !== null && f !== "false", D = (qe.get(y) || 0) + 1, C = (r.get(y) || 0) + 1;
|
|
8083
|
+
qe.set(y, D), r.set(y, C), n.push(y), D === 1 && b && Mt.set(y, !0), C === 1 && y.setAttribute(e, "true"), b || y.setAttribute(i, "true");
|
|
8088
8084
|
}
|
|
8089
8085
|
});
|
|
8090
8086
|
};
|
|
8091
|
-
return u(t), a.clear(),
|
|
8087
|
+
return u(t), a.clear(), ri += 1, () => {
|
|
8092
8088
|
n.forEach((d) => {
|
|
8093
|
-
const h =
|
|
8094
|
-
|
|
8095
|
-
}),
|
|
8089
|
+
const h = qe.get(d) - 1, p = r.get(d) - 1;
|
|
8090
|
+
qe.set(d, h), r.set(d, p), h || (Mt.has(d) ? Mt.delete(d) : d.removeAttribute(i)), p || d.removeAttribute(e);
|
|
8091
|
+
}), ri -= 1, ri || (qe = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {});
|
|
8096
8092
|
};
|
|
8097
8093
|
}, hr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
8098
8094
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
8099
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
8095
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Vl(i, t, e, "aria-hidden");
|
|
8100
8096
|
};
|
|
8101
8097
|
/**
|
|
8102
8098
|
* @license
|
|
@@ -8143,7 +8139,7 @@ class ql {
|
|
|
8143
8139
|
* @param {Node | null | undefined} focusNode
|
|
8144
8140
|
*/
|
|
8145
8141
|
saveFocus(t) {
|
|
8146
|
-
this.focusNode = t ||
|
|
8142
|
+
this.focusNode = t || Ci();
|
|
8147
8143
|
}
|
|
8148
8144
|
/**
|
|
8149
8145
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -8153,7 +8149,7 @@ class ql {
|
|
|
8153
8149
|
if (!e)
|
|
8154
8150
|
return;
|
|
8155
8151
|
const i = t ? t.preventScroll : !1;
|
|
8156
|
-
|
|
8152
|
+
Ci() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
8157
8153
|
}
|
|
8158
8154
|
}
|
|
8159
8155
|
/**
|
|
@@ -8161,7 +8157,7 @@ class ql {
|
|
|
8161
8157
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8162
8158
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8163
8159
|
*/
|
|
8164
|
-
const
|
|
8160
|
+
const ai = [];
|
|
8165
8161
|
class Kl {
|
|
8166
8162
|
/**
|
|
8167
8163
|
* @param {HTMLElement} host
|
|
@@ -8211,14 +8207,14 @@ class Kl {
|
|
|
8211
8207
|
trapFocus(t) {
|
|
8212
8208
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
8213
8209
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
8214
|
-
|
|
8210
|
+
ai.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
8215
8211
|
}
|
|
8216
8212
|
/**
|
|
8217
8213
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
8218
8214
|
* so that it becomes possible to tab outside the trap node.
|
|
8219
8215
|
*/
|
|
8220
8216
|
releaseFocus() {
|
|
8221
|
-
this.__trapNode = null,
|
|
8217
|
+
this.__trapNode = null, ai.pop();
|
|
8222
8218
|
}
|
|
8223
8219
|
/**
|
|
8224
8220
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -8232,7 +8228,7 @@ class Kl {
|
|
|
8232
8228
|
* @private
|
|
8233
8229
|
*/
|
|
8234
8230
|
__onKeyDown(t) {
|
|
8235
|
-
if (this.__trapNode && this === Array.from(
|
|
8231
|
+
if (this.__trapNode && this === Array.from(ai).pop() && t.key === "Tab") {
|
|
8236
8232
|
t.preventDefault();
|
|
8237
8233
|
const e = t.shiftKey;
|
|
8238
8234
|
this.__focusNextElement(e);
|
|
@@ -8259,7 +8255,7 @@ class Kl {
|
|
|
8259
8255
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8260
8256
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8261
8257
|
*/
|
|
8262
|
-
const
|
|
8258
|
+
const st = se((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
8263
8259
|
constructor() {
|
|
8264
8260
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
8265
8261
|
}
|
|
@@ -8299,7 +8295,7 @@ const rt = se((o) => typeof o.prototype.addController == "function" ? o : class
|
|
|
8299
8295
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8300
8296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8301
8297
|
*/
|
|
8302
|
-
const Gl = (o) => class extends
|
|
8298
|
+
const Gl = (o) => class extends st(o) {
|
|
8303
8299
|
static get properties() {
|
|
8304
8300
|
return {
|
|
8305
8301
|
/**
|
|
@@ -8343,7 +8339,7 @@ const Gl = (o) => class extends rt(o) {
|
|
|
8343
8339
|
*/
|
|
8344
8340
|
_resetFocus() {
|
|
8345
8341
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
8346
|
-
const e = !
|
|
8342
|
+
const e = !Xi();
|
|
8347
8343
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
8348
8344
|
}
|
|
8349
8345
|
}
|
|
@@ -8375,7 +8371,7 @@ const Gl = (o) => class extends rt(o) {
|
|
|
8375
8371
|
* @return {boolean}
|
|
8376
8372
|
*/
|
|
8377
8373
|
_shouldRestoreFocus() {
|
|
8378
|
-
const e =
|
|
8374
|
+
const e = Ci();
|
|
8379
8375
|
return e === document.body || this._deepContains(e);
|
|
8380
8376
|
}
|
|
8381
8377
|
/**
|
|
@@ -8401,7 +8397,7 @@ const Gl = (o) => class extends rt(o) {
|
|
|
8401
8397
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8402
8398
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8403
8399
|
*/
|
|
8404
|
-
const
|
|
8400
|
+
const pr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Ti = () => pr().filter((o) => o.$.overlay), Jl = (o) => o === Ti().pop(), Xl = (o) => class extends o {
|
|
8405
8401
|
constructor() {
|
|
8406
8402
|
super(), this._hasOverlayStackMixin = !0;
|
|
8407
8403
|
}
|
|
@@ -8419,19 +8415,19 @@ const fr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
8419
8415
|
*/
|
|
8420
8416
|
bringToFront() {
|
|
8421
8417
|
let e = "";
|
|
8422
|
-
const i =
|
|
8418
|
+
const i = pr().filter((s) => s !== this).pop();
|
|
8423
8419
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
8424
8420
|
}
|
|
8425
8421
|
/** @protected */
|
|
8426
8422
|
_enterModalState() {
|
|
8427
|
-
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"), Ti().forEach((e) => {
|
|
8428
8424
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
8429
8425
|
});
|
|
8430
8426
|
}
|
|
8431
8427
|
/** @protected */
|
|
8432
8428
|
_exitModalState() {
|
|
8433
8429
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
8434
|
-
const e =
|
|
8430
|
+
const e = Ti();
|
|
8435
8431
|
let i;
|
|
8436
8432
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
8437
8433
|
;
|
|
@@ -8727,23 +8723,23 @@ function Ql(o) {
|
|
|
8727
8723
|
}
|
|
8728
8724
|
return t;
|
|
8729
8725
|
}
|
|
8730
|
-
function
|
|
8726
|
+
function Zi(o) {
|
|
8731
8727
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
8732
8728
|
}
|
|
8733
|
-
function
|
|
8729
|
+
function Gt(o) {
|
|
8734
8730
|
return o ? [...o].join(" ") : "";
|
|
8735
8731
|
}
|
|
8736
|
-
function
|
|
8737
|
-
const i =
|
|
8738
|
-
i.add(e), o.setAttribute(t,
|
|
8732
|
+
function fr(o, t, e) {
|
|
8733
|
+
const i = Zi(o.getAttribute(t));
|
|
8734
|
+
i.add(e), o.setAttribute(t, Gt(i));
|
|
8739
8735
|
}
|
|
8740
8736
|
function ec(o, t, e) {
|
|
8741
|
-
const i =
|
|
8737
|
+
const i = Zi(o.getAttribute(t));
|
|
8742
8738
|
if (i.delete(e), i.size === 0) {
|
|
8743
8739
|
o.removeAttribute(t);
|
|
8744
8740
|
return;
|
|
8745
8741
|
}
|
|
8746
|
-
o.setAttribute(t,
|
|
8742
|
+
o.setAttribute(t, Gt(i));
|
|
8747
8743
|
}
|
|
8748
8744
|
function tc(o) {
|
|
8749
8745
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -8764,8 +8760,8 @@ function ic(o, t) {
|
|
|
8764
8760
|
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
8765
8761
|
if (n || t(), !u || !d)
|
|
8766
8762
|
return;
|
|
8767
|
-
const h = Math.floor(c),
|
|
8768
|
-
rootMargin: `${-h}px ${-
|
|
8763
|
+
const h = Math.floor(c), p = Math.floor(i.clientWidth - (l + u)), y = Math.floor(i.clientHeight - (c + d)), f = Math.floor(l), D = {
|
|
8764
|
+
rootMargin: `${-h}px ${-p}px ${-y}px ${-f}px`,
|
|
8769
8765
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
8770
8766
|
};
|
|
8771
8767
|
let C = !0;
|
|
@@ -8787,10 +8783,10 @@ function ic(o, t) {
|
|
|
8787
8783
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8788
8784
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8789
8785
|
*/
|
|
8790
|
-
const
|
|
8786
|
+
const li = {
|
|
8791
8787
|
start: "top",
|
|
8792
8788
|
end: "bottom"
|
|
8793
|
-
},
|
|
8789
|
+
}, ci = {
|
|
8794
8790
|
start: "left",
|
|
8795
8791
|
end: "right"
|
|
8796
8792
|
}, qo = new ResizeObserver((o) => {
|
|
@@ -8942,14 +8938,14 @@ const ci = {
|
|
|
8942
8938
|
e,
|
|
8943
8939
|
a,
|
|
8944
8940
|
this.noVerticalOverlap,
|
|
8945
|
-
|
|
8941
|
+
li,
|
|
8946
8942
|
this,
|
|
8947
8943
|
i
|
|
8948
8944
|
), c = this.__calculatePositionInOneDimension(
|
|
8949
8945
|
e,
|
|
8950
8946
|
a,
|
|
8951
8947
|
this.noHorizontalOverlap,
|
|
8952
|
-
|
|
8948
|
+
ci,
|
|
8953
8949
|
this,
|
|
8954
8950
|
r
|
|
8955
8951
|
);
|
|
@@ -8966,7 +8962,7 @@ const ci = {
|
|
|
8966
8962
|
this.__margins,
|
|
8967
8963
|
n,
|
|
8968
8964
|
this.noHorizontalOverlap,
|
|
8969
|
-
|
|
8965
|
+
ci
|
|
8970
8966
|
);
|
|
8971
8967
|
}
|
|
8972
8968
|
__shouldAlignStartVertically(e) {
|
|
@@ -8980,13 +8976,13 @@ const ci = {
|
|
|
8980
8976
|
this.__margins,
|
|
8981
8977
|
r,
|
|
8982
8978
|
this.noVerticalOverlap,
|
|
8983
|
-
|
|
8979
|
+
li
|
|
8984
8980
|
);
|
|
8985
8981
|
}
|
|
8986
8982
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8987
8983
|
__shouldAlignStart(e, i, s, r, n, a, l) {
|
|
8988
|
-
const c = s - e[a ? l.end : l.start] - r[l.end], u = e[a ? l.start : l.end] - r[l.start], d = n ? c : u,
|
|
8989
|
-
return n ===
|
|
8984
|
+
const c = s - e[a ? l.end : l.start] - r[l.end], u = e[a ? l.start : l.end] - r[l.start], d = n ? c : u, p = d > (n ? u : c) || d > i;
|
|
8985
|
+
return n === p;
|
|
8990
8986
|
}
|
|
8991
8987
|
/**
|
|
8992
8988
|
* Returns an adjusted value after resizing the browser window,
|
|
@@ -8997,7 +8993,7 @@ const ci = {
|
|
|
8997
8993
|
__adjustBottomProperty(e, i, s) {
|
|
8998
8994
|
let r;
|
|
8999
8995
|
if (e === i.end) {
|
|
9000
|
-
if (i.end ===
|
|
8996
|
+
if (i.end === li.end) {
|
|
9001
8997
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
9002
8998
|
if (s > n && this.__oldViewportHeight) {
|
|
9003
8999
|
const a = this.__oldViewportHeight - n;
|
|
@@ -9005,7 +9001,7 @@ const ci = {
|
|
|
9005
9001
|
}
|
|
9006
9002
|
this.__oldViewportHeight = n;
|
|
9007
9003
|
}
|
|
9008
|
-
if (i.end ===
|
|
9004
|
+
if (i.end === ci.end) {
|
|
9009
9005
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
9010
9006
|
if (s > n && this.__oldViewportWidth) {
|
|
9011
9007
|
const a = this.__oldViewportWidth - n;
|
|
@@ -9022,9 +9018,9 @@ const ci = {
|
|
|
9022
9018
|
*/
|
|
9023
9019
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
9024
9020
|
__calculatePositionInOneDimension(e, i, s, r, n, a) {
|
|
9025
|
-
const l = a ? r.start : r.end, c = a ? r.end : r.start, u = parseFloat(n.style[l] || getComputedStyle(n)[l]), d = this.__adjustBottomProperty(l, r, u), h = i[a ? r.start : r.end] - e[s === a ? r.end : r.start],
|
|
9021
|
+
const l = a ? r.start : r.end, c = a ? r.end : r.start, u = parseFloat(n.style[l] || getComputedStyle(n)[l]), d = this.__adjustBottomProperty(l, r, u), h = i[a ? r.start : r.end] - e[s === a ? r.end : r.start], p = d ? `${d}px` : `${u + h * (a ? -1 : 1)}px`;
|
|
9026
9022
|
return {
|
|
9027
|
-
[l]:
|
|
9023
|
+
[l]: p,
|
|
9028
9024
|
[c]: ""
|
|
9029
9025
|
};
|
|
9030
9026
|
}
|
|
@@ -9083,12 +9079,12 @@ const rc = $`
|
|
|
9083
9079
|
te("vaadin-date-picker-overlay", [Pl, rc], {
|
|
9084
9080
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
9085
9081
|
});
|
|
9086
|
-
class nc extends sc(
|
|
9082
|
+
class nc extends sc(qt(je(Fe))) {
|
|
9087
9083
|
static get is() {
|
|
9088
9084
|
return "vaadin-date-picker-overlay";
|
|
9089
9085
|
}
|
|
9090
9086
|
static get template() {
|
|
9091
|
-
return
|
|
9087
|
+
return Ve`
|
|
9092
9088
|
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
|
9093
9089
|
<div part="overlay" id="overlay">
|
|
9094
9090
|
<div part="content" id="content">
|
|
@@ -9099,7 +9095,7 @@ class nc extends sc(Kt(Ve(Fe))) {
|
|
|
9099
9095
|
}
|
|
9100
9096
|
}
|
|
9101
9097
|
Ae(nc);
|
|
9102
|
-
const ac = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
9098
|
+
const ac = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Nt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
9103
9099
|
function lc() {
|
|
9104
9100
|
function o() {
|
|
9105
9101
|
return !0;
|
|
@@ -9108,7 +9104,7 @@ function lc() {
|
|
|
9108
9104
|
}
|
|
9109
9105
|
function cc() {
|
|
9110
9106
|
try {
|
|
9111
|
-
return uc() ? !0 : dc() ?
|
|
9107
|
+
return uc() ? !0 : dc() ? Nt ? !hc() : !lc() : !1;
|
|
9112
9108
|
} catch (o) {
|
|
9113
9109
|
return !1;
|
|
9114
9110
|
}
|
|
@@ -9120,7 +9116,7 @@ function dc() {
|
|
|
9120
9116
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
9121
9117
|
}
|
|
9122
9118
|
function hc() {
|
|
9123
|
-
return !!(
|
|
9119
|
+
return !!(Nt && Object.keys(Nt).map((t) => Nt[t]).filter((t) => t.productionMode).length > 0);
|
|
9124
9120
|
}
|
|
9125
9121
|
function mr(o, t) {
|
|
9126
9122
|
if (typeof o != "function")
|
|
@@ -9140,7 +9136,7 @@ const Ko = function(o, t) {
|
|
|
9140
9136
|
return mr(o, t);
|
|
9141
9137
|
};
|
|
9142
9138
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = cc());
|
|
9143
|
-
function
|
|
9139
|
+
function pc() {
|
|
9144
9140
|
/*! vaadin-dev-mode:start
|
|
9145
9141
|
(function () {
|
|
9146
9142
|
'use strict';
|
|
@@ -9621,9 +9617,9 @@ function fc() {
|
|
|
9621
9617
|
|
|
9622
9618
|
vaadin-dev-mode:end **/
|
|
9623
9619
|
}
|
|
9624
|
-
const
|
|
9620
|
+
const fc = function() {
|
|
9625
9621
|
if (typeof Ko == "function")
|
|
9626
|
-
return Ko(
|
|
9622
|
+
return Ko(pc);
|
|
9627
9623
|
};
|
|
9628
9624
|
/**
|
|
9629
9625
|
* @license
|
|
@@ -9635,13 +9631,13 @@ const pc = function() {
|
|
|
9635
9631
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9636
9632
|
*/
|
|
9637
9633
|
let Go = 0, _r = 0;
|
|
9638
|
-
const
|
|
9639
|
-
let
|
|
9634
|
+
const Xe = [];
|
|
9635
|
+
let Mi = !1;
|
|
9640
9636
|
function mc() {
|
|
9641
|
-
|
|
9642
|
-
const o =
|
|
9637
|
+
Mi = !1;
|
|
9638
|
+
const o = Xe.length;
|
|
9643
9639
|
for (let t = 0; t < o; t++) {
|
|
9644
|
-
const e =
|
|
9640
|
+
const e = Xe[t];
|
|
9645
9641
|
if (e)
|
|
9646
9642
|
try {
|
|
9647
9643
|
e();
|
|
@@ -9651,9 +9647,9 @@ function mc() {
|
|
|
9651
9647
|
});
|
|
9652
9648
|
}
|
|
9653
9649
|
}
|
|
9654
|
-
|
|
9650
|
+
Xe.splice(0, o), _r += o;
|
|
9655
9651
|
}
|
|
9656
|
-
const
|
|
9652
|
+
const Yt = {
|
|
9657
9653
|
/**
|
|
9658
9654
|
* Returns a sub-module with the async interface providing the provided
|
|
9659
9655
|
* delay.
|
|
@@ -9744,7 +9740,7 @@ const jt = {
|
|
|
9744
9740
|
* @return {number} Handle used for canceling task
|
|
9745
9741
|
*/
|
|
9746
9742
|
run(o) {
|
|
9747
|
-
|
|
9743
|
+
Mi || (Mi = !0, queueMicrotask(() => mc())), Xe.push(o);
|
|
9748
9744
|
const t = Go;
|
|
9749
9745
|
return Go += 1, t;
|
|
9750
9746
|
},
|
|
@@ -9758,9 +9754,9 @@ const jt = {
|
|
|
9758
9754
|
cancel(o) {
|
|
9759
9755
|
const t = o - _r;
|
|
9760
9756
|
if (t >= 0) {
|
|
9761
|
-
if (!
|
|
9757
|
+
if (!Xe[t])
|
|
9762
9758
|
throw new Error(`invalid async handle: ${o}`);
|
|
9763
|
-
|
|
9759
|
+
Xe[t] = null;
|
|
9764
9760
|
}
|
|
9765
9761
|
}
|
|
9766
9762
|
};
|
|
@@ -9773,8 +9769,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9773
9769
|
Code distributed by Google as part of the polymer project is also
|
|
9774
9770
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9775
9771
|
*/
|
|
9776
|
-
const
|
|
9777
|
-
let
|
|
9772
|
+
const Oi = /* @__PURE__ */ new Set();
|
|
9773
|
+
let tt = class Ii {
|
|
9778
9774
|
/**
|
|
9779
9775
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
9780
9776
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9810,7 +9806,7 @@ let it = class Fi {
|
|
|
9810
9806
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9811
9807
|
*/
|
|
9812
9808
|
static debounce(t, e, i) {
|
|
9813
|
-
return t instanceof
|
|
9809
|
+
return t instanceof Ii ? t._cancelAsync() : t = new Ii(), t.setConfig(e, i), t;
|
|
9814
9810
|
}
|
|
9815
9811
|
constructor() {
|
|
9816
9812
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9826,7 +9822,7 @@ let it = class Fi {
|
|
|
9826
9822
|
*/
|
|
9827
9823
|
setConfig(t, e) {
|
|
9828
9824
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9829
|
-
this._timer = null,
|
|
9825
|
+
this._timer = null, Oi.delete(this), this._callback();
|
|
9830
9826
|
});
|
|
9831
9827
|
}
|
|
9832
9828
|
/**
|
|
@@ -9835,7 +9831,7 @@ let it = class Fi {
|
|
|
9835
9831
|
* @return {void}
|
|
9836
9832
|
*/
|
|
9837
9833
|
cancel() {
|
|
9838
|
-
this.isActive() && (this._cancelAsync(),
|
|
9834
|
+
this.isActive() && (this._cancelAsync(), Oi.delete(this));
|
|
9839
9835
|
}
|
|
9840
9836
|
/**
|
|
9841
9837
|
* Cancels a debouncer's async callback.
|
|
@@ -9866,7 +9862,7 @@ let it = class Fi {
|
|
|
9866
9862
|
}
|
|
9867
9863
|
};
|
|
9868
9864
|
function yc(o) {
|
|
9869
|
-
|
|
9865
|
+
Oi.add(o);
|
|
9870
9866
|
}
|
|
9871
9867
|
/**
|
|
9872
9868
|
* @license
|
|
@@ -9877,17 +9873,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9877
9873
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9878
9874
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9879
9875
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9880
|
-
|
|
9876
|
+
fc();
|
|
9881
9877
|
};
|
|
9882
|
-
let
|
|
9883
|
-
const Jo = /* @__PURE__ */ new Set(), gr = (o) => class extends
|
|
9878
|
+
let ui;
|
|
9879
|
+
const Jo = /* @__PURE__ */ new Set(), gr = (o) => class extends qt(o) {
|
|
9884
9880
|
/** @protected */
|
|
9885
9881
|
static finalize() {
|
|
9886
9882
|
super.finalize();
|
|
9887
9883
|
const { is: e } = this;
|
|
9888
|
-
e && !Jo.has(e) && (window.Vaadin.registrations.push(this), Jo.add(e), window.Vaadin.developmentModeCallback && (
|
|
9884
|
+
e && !Jo.has(e) && (window.Vaadin.registrations.push(this), Jo.add(e), window.Vaadin.developmentModeCallback && (ui = tt.debounce(ui, gc, () => {
|
|
9889
9885
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9890
|
-
}), yc(
|
|
9886
|
+
}), yc(ui)));
|
|
9891
9887
|
}
|
|
9892
9888
|
constructor() {
|
|
9893
9889
|
super(), document.doctype === null && console.warn(
|
|
@@ -10260,7 +10256,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10260
10256
|
Code distributed by Google as part of the polymer project is also
|
|
10261
10257
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10262
10258
|
*/
|
|
10263
|
-
const Sc = (o) => o,
|
|
10259
|
+
const Sc = !1, Ac = (o) => o, Qi = typeof document.head.style.touchAction == "string", Fi = "__polymerGestures", di = "__polymerGesturesHandled", Ni = "__polymerGesturesTouchAction", Xo = 25, Zo = 5, Cc = 2, Dc = ["mousedown", "mousemove", "mouseup", "click"], kc = [0, 1, 4, 2], Pc = function() {
|
|
10264
10260
|
try {
|
|
10265
10261
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
10266
10262
|
} catch (o) {
|
|
@@ -10268,15 +10264,15 @@ const Sc = (o) => o, br = typeof document.head.style.touchAction == "string", Ni
|
|
|
10268
10264
|
}
|
|
10269
10265
|
}();
|
|
10270
10266
|
function eo(o) {
|
|
10271
|
-
return
|
|
10267
|
+
return Dc.indexOf(o) > -1;
|
|
10272
10268
|
}
|
|
10273
|
-
let
|
|
10269
|
+
let br = !1;
|
|
10274
10270
|
(function() {
|
|
10275
10271
|
try {
|
|
10276
10272
|
const o = Object.defineProperty({}, "passive", {
|
|
10277
10273
|
// eslint-disable-next-line getter-return
|
|
10278
10274
|
get() {
|
|
10279
|
-
|
|
10275
|
+
br = !0;
|
|
10280
10276
|
}
|
|
10281
10277
|
});
|
|
10282
10278
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -10284,7 +10280,8 @@ let Pc = !1;
|
|
|
10284
10280
|
}
|
|
10285
10281
|
})();
|
|
10286
10282
|
function Tc(o) {
|
|
10287
|
-
eo(o)
|
|
10283
|
+
if (!(eo(o) || o === "touchend") && Qi && br && Sc)
|
|
10284
|
+
return { passive: !0 };
|
|
10288
10285
|
}
|
|
10289
10286
|
const Mc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Oc = {
|
|
10290
10287
|
button: !0,
|
|
@@ -10297,13 +10294,13 @@ const Mc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Oc = {
|
|
|
10297
10294
|
select: !0,
|
|
10298
10295
|
textarea: !0
|
|
10299
10296
|
};
|
|
10300
|
-
function
|
|
10297
|
+
function Be(o) {
|
|
10301
10298
|
const t = o.type;
|
|
10302
10299
|
if (!eo(t))
|
|
10303
10300
|
return !1;
|
|
10304
10301
|
if (t === "mousemove") {
|
|
10305
10302
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
10306
|
-
return o instanceof window.MouseEvent && !
|
|
10303
|
+
return o instanceof window.MouseEvent && !Pc && (i = kc[o.which] || 0), !!(i & 1);
|
|
10307
10304
|
}
|
|
10308
10305
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
10309
10306
|
}
|
|
@@ -10324,6 +10321,10 @@ function Ic(o) {
|
|
|
10324
10321
|
return !1;
|
|
10325
10322
|
}
|
|
10326
10323
|
const ke = {
|
|
10324
|
+
mouse: {
|
|
10325
|
+
target: null,
|
|
10326
|
+
mouseIgnoreJob: null
|
|
10327
|
+
},
|
|
10327
10328
|
touch: {
|
|
10328
10329
|
x: 0,
|
|
10329
10330
|
y: 0,
|
|
@@ -10335,8 +10336,8 @@ function Fc(o) {
|
|
|
10335
10336
|
let t = "auto";
|
|
10336
10337
|
const e = wr(o);
|
|
10337
10338
|
for (let i = 0, s; i < e.length; i++)
|
|
10338
|
-
if (s = e[i], s[
|
|
10339
|
-
t = s[
|
|
10339
|
+
if (s = e[i], s[Ni]) {
|
|
10340
|
+
t = s[Ni];
|
|
10340
10341
|
break;
|
|
10341
10342
|
}
|
|
10342
10343
|
return t;
|
|
@@ -10344,7 +10345,7 @@ function Fc(o) {
|
|
|
10344
10345
|
function xr(o, t, e) {
|
|
10345
10346
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
10346
10347
|
}
|
|
10347
|
-
function
|
|
10348
|
+
function Ze(o) {
|
|
10348
10349
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
10349
10350
|
}
|
|
10350
10351
|
const wr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], to = {}, He = [];
|
|
@@ -10366,19 +10367,19 @@ function Ie(o) {
|
|
|
10366
10367
|
return t.length > 0 ? t[0] : o.target;
|
|
10367
10368
|
}
|
|
10368
10369
|
function zc(o) {
|
|
10369
|
-
const t = o.type, i = o.currentTarget[
|
|
10370
|
+
const t = o.type, i = o.currentTarget[Fi];
|
|
10370
10371
|
if (!i)
|
|
10371
10372
|
return;
|
|
10372
10373
|
const s = i[t];
|
|
10373
10374
|
if (!s)
|
|
10374
10375
|
return;
|
|
10375
|
-
if (!o[
|
|
10376
|
+
if (!o[di] && (o[di] = {}, t.startsWith("touch"))) {
|
|
10376
10377
|
const n = o.changedTouches[0];
|
|
10377
10378
|
if (t === "touchstart" && o.touches.length === 1 && (ke.touch.id = n.identifier), ke.touch.id !== n.identifier)
|
|
10378
10379
|
return;
|
|
10379
|
-
|
|
10380
|
+
Qi || (t === "touchstart" || t === "touchmove") && Lc(o);
|
|
10380
10381
|
}
|
|
10381
|
-
const r = o[
|
|
10382
|
+
const r = o[di];
|
|
10382
10383
|
if (!r.skip) {
|
|
10383
10384
|
for (let n = 0, a; n < He.length; n++)
|
|
10384
10385
|
a = He[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -10397,7 +10398,7 @@ function Lc(o) {
|
|
|
10397
10398
|
const i = Fc(o);
|
|
10398
10399
|
let s = !1;
|
|
10399
10400
|
const r = Math.abs(ke.touch.x - t.clientX), n = Math.abs(ke.touch.y - t.clientY);
|
|
10400
|
-
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() : jt("track");
|
|
10401
10402
|
}
|
|
10402
10403
|
}
|
|
10403
10404
|
function Se(o, t, e) {
|
|
@@ -10405,8 +10406,8 @@ function Se(o, t, e) {
|
|
|
10405
10406
|
}
|
|
10406
10407
|
function $c(o, t, e) {
|
|
10407
10408
|
const i = to[t], s = i.deps, r = i.name;
|
|
10408
|
-
let n = o[
|
|
10409
|
-
n || (o[
|
|
10409
|
+
let n = o[Fi];
|
|
10410
|
+
n || (o[Fi] = n = {});
|
|
10410
10411
|
for (let a = 0, l, c; a < s.length; a++)
|
|
10411
10412
|
l = s[a], !(Mc && eo(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, zc, Tc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
10412
10413
|
o.addEventListener(t, e), i.touchAction && Er(o, i.touchAction);
|
|
@@ -10426,13 +10427,13 @@ function Rc(o) {
|
|
|
10426
10427
|
return null;
|
|
10427
10428
|
}
|
|
10428
10429
|
function Er(o, t) {
|
|
10429
|
-
|
|
10430
|
+
Qi && o instanceof HTMLElement && vc.run(() => {
|
|
10430
10431
|
o.style.touchAction = t;
|
|
10431
|
-
}), o[
|
|
10432
|
+
}), o[Ni] = t;
|
|
10432
10433
|
}
|
|
10433
10434
|
function oo(o, t, e) {
|
|
10434
10435
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
10435
|
-
if (i.detail = e,
|
|
10436
|
+
if (i.detail = e, Ac(
|
|
10436
10437
|
/** @type {!Node} */
|
|
10437
10438
|
o
|
|
10438
10439
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -10440,7 +10441,7 @@ function oo(o, t, e) {
|
|
|
10440
10441
|
s && s.preventDefault && s.preventDefault();
|
|
10441
10442
|
}
|
|
10442
10443
|
}
|
|
10443
|
-
function
|
|
10444
|
+
function jt(o) {
|
|
10444
10445
|
const t = Rc(o);
|
|
10445
10446
|
t.info && (t.info.prevent = !0);
|
|
10446
10447
|
}
|
|
@@ -10461,7 +10462,7 @@ io({
|
|
|
10461
10462
|
* @return {void}
|
|
10462
10463
|
*/
|
|
10463
10464
|
reset() {
|
|
10464
|
-
|
|
10465
|
+
Ze(this.info);
|
|
10465
10466
|
},
|
|
10466
10467
|
/**
|
|
10467
10468
|
* @this {GestureRecognizer}
|
|
@@ -10469,14 +10470,14 @@ io({
|
|
|
10469
10470
|
* @return {void}
|
|
10470
10471
|
*/
|
|
10471
10472
|
mousedown(o) {
|
|
10472
|
-
if (!
|
|
10473
|
+
if (!Be(o))
|
|
10473
10474
|
return;
|
|
10474
10475
|
const t = Ie(o), e = this, i = (r) => {
|
|
10475
|
-
|
|
10476
|
+
Be(r) || (ct("up", t, r), Ze(e.info));
|
|
10476
10477
|
}, s = (r) => {
|
|
10477
|
-
|
|
10478
|
+
Be(r) && ct("up", t, r), Ze(e.info);
|
|
10478
10479
|
};
|
|
10479
|
-
xr(this.info, i, s),
|
|
10480
|
+
xr(this.info, i, s), ct("down", t, o);
|
|
10480
10481
|
},
|
|
10481
10482
|
/**
|
|
10482
10483
|
* @this {GestureRecognizer}
|
|
@@ -10484,7 +10485,7 @@ io({
|
|
|
10484
10485
|
* @return {void}
|
|
10485
10486
|
*/
|
|
10486
10487
|
touchstart(o) {
|
|
10487
|
-
|
|
10488
|
+
ct("down", Ie(o), o.changedTouches[0], o);
|
|
10488
10489
|
},
|
|
10489
10490
|
/**
|
|
10490
10491
|
* @this {GestureRecognizer}
|
|
@@ -10492,17 +10493,17 @@ io({
|
|
|
10492
10493
|
* @return {void}
|
|
10493
10494
|
*/
|
|
10494
10495
|
touchend(o) {
|
|
10495
|
-
|
|
10496
|
+
ct("up", Ie(o), o.changedTouches[0], o);
|
|
10496
10497
|
}
|
|
10497
10498
|
});
|
|
10498
|
-
function
|
|
10499
|
+
function ct(o, t, e, i) {
|
|
10499
10500
|
t && oo(t, o, {
|
|
10500
10501
|
x: e.clientX,
|
|
10501
10502
|
y: e.clientY,
|
|
10502
10503
|
sourceEvent: e,
|
|
10503
10504
|
preventer: i,
|
|
10504
10505
|
prevent(s) {
|
|
10505
|
-
return
|
|
10506
|
+
return jt(s);
|
|
10506
10507
|
}
|
|
10507
10508
|
});
|
|
10508
10509
|
}
|
|
@@ -10523,7 +10524,7 @@ io({
|
|
|
10523
10524
|
moves: [],
|
|
10524
10525
|
/** @this {GestureInfo} */
|
|
10525
10526
|
addMove(o) {
|
|
10526
|
-
this.moves.length >
|
|
10527
|
+
this.moves.length > Cc && this.moves.shift(), this.moves.push(o);
|
|
10527
10528
|
},
|
|
10528
10529
|
movefn: null,
|
|
10529
10530
|
upfn: null,
|
|
@@ -10534,7 +10535,7 @@ io({
|
|
|
10534
10535
|
* @return {void}
|
|
10535
10536
|
*/
|
|
10536
10537
|
reset() {
|
|
10537
|
-
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, Ze(this.info);
|
|
10538
10539
|
},
|
|
10539
10540
|
/**
|
|
10540
10541
|
* @this {GestureRecognizer}
|
|
@@ -10542,13 +10543,13 @@ io({
|
|
|
10542
10543
|
* @return {void}
|
|
10543
10544
|
*/
|
|
10544
10545
|
mousedown(o) {
|
|
10545
|
-
if (!
|
|
10546
|
+
if (!Be(o))
|
|
10546
10547
|
return;
|
|
10547
10548
|
const t = Ie(o), e = this, i = (r) => {
|
|
10548
10549
|
const n = r.clientX, a = r.clientY;
|
|
10549
|
-
Qo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
10550
|
+
Qo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && jt("tap"), e.info.addMove({ x: n, y: a }), Be(r) || (e.info.state = "end", Ze(e.info)), t && hi(e.info, t, r), e.info.started = !0);
|
|
10550
10551
|
}, s = (r) => {
|
|
10551
|
-
e.info.started && i(r),
|
|
10552
|
+
e.info.started && i(r), Ze(e.info);
|
|
10552
10553
|
};
|
|
10553
10554
|
xr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
10554
10555
|
},
|
|
@@ -10568,7 +10569,7 @@ io({
|
|
|
10568
10569
|
*/
|
|
10569
10570
|
touchmove(o) {
|
|
10570
10571
|
const t = Ie(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
10571
|
-
Qo(this.info, i, s) && (this.info.state === "start" &&
|
|
10572
|
+
Qo(this.info, i, s) && (this.info.state === "start" && jt("tap"), this.info.addMove({ x: i, y: s }), hi(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
10572
10573
|
},
|
|
10573
10574
|
/**
|
|
10574
10575
|
* @this {GestureRecognizer}
|
|
@@ -10577,7 +10578,7 @@ io({
|
|
|
10577
10578
|
*/
|
|
10578
10579
|
touchend(o) {
|
|
10579
10580
|
const t = Ie(o), e = o.changedTouches[0];
|
|
10580
|
-
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 }), hi(this.info, t, e));
|
|
10581
10582
|
}
|
|
10582
10583
|
});
|
|
10583
10584
|
function Qo(o, t, e) {
|
|
@@ -10588,7 +10589,7 @@ function Qo(o, t, e) {
|
|
|
10588
10589
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
10589
10590
|
return i >= Zo || s >= Zo;
|
|
10590
10591
|
}
|
|
10591
|
-
function
|
|
10592
|
+
function hi(o, t, e) {
|
|
10592
10593
|
if (!t)
|
|
10593
10594
|
return;
|
|
10594
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;
|
|
@@ -10633,7 +10634,7 @@ io({
|
|
|
10633
10634
|
* @return {void}
|
|
10634
10635
|
*/
|
|
10635
10636
|
mousedown(o) {
|
|
10636
|
-
|
|
10637
|
+
Be(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
10637
10638
|
},
|
|
10638
10639
|
/**
|
|
10639
10640
|
* @this {GestureRecognizer}
|
|
@@ -10641,7 +10642,7 @@ io({
|
|
|
10641
10642
|
* @return {void}
|
|
10642
10643
|
*/
|
|
10643
10644
|
click(o) {
|
|
10644
|
-
|
|
10645
|
+
Be(o) && es(this.info, o);
|
|
10645
10646
|
},
|
|
10646
10647
|
/**
|
|
10647
10648
|
* @this {GestureRecognizer}
|
|
@@ -10723,7 +10724,7 @@ const Sr = se(
|
|
|
10723
10724
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10724
10725
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10725
10726
|
*/
|
|
10726
|
-
const
|
|
10727
|
+
const Jt = se(
|
|
10727
10728
|
(o) => class extends o {
|
|
10728
10729
|
/** @protected */
|
|
10729
10730
|
ready() {
|
|
@@ -10785,7 +10786,7 @@ const Xt = se(
|
|
|
10785
10786
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10786
10787
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10787
10788
|
*/
|
|
10788
|
-
const Hc = (o) => class extends Sr(
|
|
10789
|
+
const Hc = (o) => class extends Sr(Jt(o)) {
|
|
10789
10790
|
/**
|
|
10790
10791
|
* An array of activation keys.
|
|
10791
10792
|
*
|
|
@@ -10855,7 +10856,7 @@ const so = se(
|
|
|
10855
10856
|
* @return {boolean}
|
|
10856
10857
|
*/
|
|
10857
10858
|
get _keyboardActive() {
|
|
10858
|
-
return
|
|
10859
|
+
return Xi();
|
|
10859
10860
|
}
|
|
10860
10861
|
/** @protected */
|
|
10861
10862
|
ready() {
|
|
@@ -11012,12 +11013,12 @@ const Bc = (o) => class extends Hc(Ar(so(o))) {
|
|
|
11012
11013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11013
11014
|
*/
|
|
11014
11015
|
te("vaadin-button", wc, { moduleId: "vaadin-button-styles" });
|
|
11015
|
-
class Yc extends Bc(gr(
|
|
11016
|
+
class Yc extends Bc(gr(je(st(Fe)))) {
|
|
11016
11017
|
static get is() {
|
|
11017
11018
|
return "vaadin-button";
|
|
11018
11019
|
}
|
|
11019
11020
|
static get template() {
|
|
11020
|
-
return Ec(
|
|
11021
|
+
return Ec(Ve);
|
|
11021
11022
|
}
|
|
11022
11023
|
/** @protected */
|
|
11023
11024
|
ready() {
|
|
@@ -11038,11 +11039,11 @@ function jc(o) {
|
|
|
11038
11039
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
11039
11040
|
return Math.floor(n / 7 + 1);
|
|
11040
11041
|
}
|
|
11041
|
-
function
|
|
11042
|
+
function zi(o) {
|
|
11042
11043
|
const t = new Date(o);
|
|
11043
11044
|
return t.setHours(0, 0, 0, 0), t;
|
|
11044
11045
|
}
|
|
11045
|
-
function Te(o, t, e =
|
|
11046
|
+
function Te(o, t, e = zi) {
|
|
11046
11047
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
11047
11048
|
}
|
|
11048
11049
|
function ro(o) {
|
|
@@ -11052,7 +11053,7 @@ function ro(o) {
|
|
|
11052
11053
|
year: o.getFullYear()
|
|
11053
11054
|
};
|
|
11054
11055
|
}
|
|
11055
|
-
function
|
|
11056
|
+
function it(o, t, e, i) {
|
|
11056
11057
|
let s = !1;
|
|
11057
11058
|
if (typeof i == "function" && o) {
|
|
11058
11059
|
const r = ro(o);
|
|
@@ -11074,7 +11075,7 @@ function Dr(o) {
|
|
|
11074
11075
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
11075
11076
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
11076
11077
|
}
|
|
11077
|
-
function
|
|
11078
|
+
function Uc(o, t, e = 0, i = 1) {
|
|
11078
11079
|
if (t > 99)
|
|
11079
11080
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
11080
11081
|
if (t < 0)
|
|
@@ -11082,14 +11083,14 @@ function Vc(o, t, e = 0, i = 1) {
|
|
|
11082
11083
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
11083
11084
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
11084
11085
|
}
|
|
11085
|
-
function
|
|
11086
|
+
function ut(o) {
|
|
11086
11087
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
11087
11088
|
if (!t)
|
|
11088
11089
|
return;
|
|
11089
11090
|
const e = new Date(0, 0);
|
|
11090
11091
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
11091
11092
|
}
|
|
11092
|
-
function
|
|
11093
|
+
function Vc(o) {
|
|
11093
11094
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
11094
11095
|
let e = "", i = "0000", s = o.year;
|
|
11095
11096
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
@@ -11097,7 +11098,7 @@ function Uc(o) {
|
|
|
11097
11098
|
return [r, n, a].join("-");
|
|
11098
11099
|
}
|
|
11099
11100
|
function Wc(o) {
|
|
11100
|
-
return o instanceof Date ?
|
|
11101
|
+
return o instanceof Date ? Vc({
|
|
11101
11102
|
year: o.getFullYear(),
|
|
11102
11103
|
month: o.getMonth(),
|
|
11103
11104
|
day: o.getDate()
|
|
@@ -11127,7 +11128,7 @@ class Ut {
|
|
|
11127
11128
|
*/
|
|
11128
11129
|
setConfig(t, e) {
|
|
11129
11130
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
11130
|
-
this._timer = null,
|
|
11131
|
+
this._timer = null, St.delete(this), this._callback();
|
|
11131
11132
|
});
|
|
11132
11133
|
}
|
|
11133
11134
|
/**
|
|
@@ -11136,7 +11137,7 @@ class Ut {
|
|
|
11136
11137
|
* @return {void}
|
|
11137
11138
|
*/
|
|
11138
11139
|
cancel() {
|
|
11139
|
-
this.isActive() && (this._cancelAsync(),
|
|
11140
|
+
this.isActive() && (this._cancelAsync(), St.delete(this));
|
|
11140
11141
|
}
|
|
11141
11142
|
/**
|
|
11142
11143
|
* Cancels a debouncer's async callback.
|
|
@@ -11203,12 +11204,12 @@ class Ut {
|
|
|
11203
11204
|
return t instanceof Ut ? t._cancelAsync() : t = new Ut(), t.setConfig(e, i), t;
|
|
11204
11205
|
}
|
|
11205
11206
|
}
|
|
11206
|
-
let
|
|
11207
|
+
let St = /* @__PURE__ */ new Set();
|
|
11207
11208
|
const qc = function(o) {
|
|
11208
|
-
|
|
11209
|
+
St.add(o);
|
|
11209
11210
|
}, Kc = function() {
|
|
11210
|
-
const o = !!
|
|
11211
|
-
return
|
|
11211
|
+
const o = !!St.size;
|
|
11212
|
+
return St.forEach((t) => {
|
|
11212
11213
|
try {
|
|
11213
11214
|
t.flush();
|
|
11214
11215
|
} catch (e) {
|
|
@@ -11388,7 +11389,7 @@ class Pr extends HTMLElement {
|
|
|
11388
11389
|
const t = this.$.scroller.scrollTop;
|
|
11389
11390
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
11390
11391
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
11391
|
-
(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 = tt.debounce(this._debouncerScrollFinish, Yt.after(200), () => {
|
|
11392
11393
|
const r = this.$.scroller.getBoundingClientRect();
|
|
11393
11394
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
11394
11395
|
});
|
|
@@ -11397,7 +11398,7 @@ class Pr extends HTMLElement {
|
|
|
11397
11398
|
_reset() {
|
|
11398
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) => {
|
|
11399
11400
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
11400
|
-
}), 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 = tt.debounce(this._debouncerUpdateClones, Yt.after(200), () => {
|
|
11401
11402
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
11402
11403
|
}), this._scrollDisabled = !1;
|
|
11403
11404
|
}
|
|
@@ -11590,12 +11591,12 @@ const Xc = (o) => class extends o {
|
|
|
11590
11591
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11591
11592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11592
11593
|
*/
|
|
11593
|
-
class Zc extends
|
|
11594
|
+
class Zc extends je(Xc(Fe)) {
|
|
11594
11595
|
static get is() {
|
|
11595
11596
|
return "vaadin-date-picker-year";
|
|
11596
11597
|
}
|
|
11597
11598
|
static get template() {
|
|
11598
|
-
return
|
|
11599
|
+
return Ve`
|
|
11599
11600
|
<style>
|
|
11600
11601
|
:host {
|
|
11601
11602
|
display: block;
|
|
@@ -11694,21 +11695,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11694
11695
|
Code distributed by Google as part of the polymer project is also
|
|
11695
11696
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11696
11697
|
*/
|
|
11697
|
-
let
|
|
11698
|
-
function
|
|
11699
|
-
return
|
|
11698
|
+
let Li = null;
|
|
11699
|
+
function $i() {
|
|
11700
|
+
return Li;
|
|
11700
11701
|
}
|
|
11701
|
-
|
|
11702
|
+
$i.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
11702
11703
|
constructor: {
|
|
11703
|
-
value:
|
|
11704
|
+
value: $i,
|
|
11704
11705
|
writable: !0
|
|
11705
11706
|
}
|
|
11706
11707
|
});
|
|
11707
|
-
const Or =
|
|
11708
|
+
const Or = Gi($i), eu = lo(Or);
|
|
11708
11709
|
function tu(o, t) {
|
|
11709
|
-
|
|
11710
|
+
Li = o, Object.setPrototypeOf(o, t.prototype), new t(), Li = null;
|
|
11710
11711
|
}
|
|
11711
|
-
const iu =
|
|
11712
|
+
const iu = Gi(class {
|
|
11712
11713
|
});
|
|
11713
11714
|
function ou(o, t) {
|
|
11714
11715
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11862,7 +11863,7 @@ function ts(o) {
|
|
|
11862
11863
|
}
|
|
11863
11864
|
function ru(o, t, e) {
|
|
11864
11865
|
let i = e.mutableData ? su : Ne;
|
|
11865
|
-
|
|
11866
|
+
Ri.mixin && (i = Ri.mixin(i));
|
|
11866
11867
|
let s = class extends i {
|
|
11867
11868
|
};
|
|
11868
11869
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), lu(s, o, t, e), s;
|
|
@@ -11949,8 +11950,8 @@ function uu() {
|
|
|
11949
11950
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11950
11951
|
};
|
|
11951
11952
|
}
|
|
11952
|
-
function
|
|
11953
|
-
if (
|
|
11953
|
+
function Ri(o, t, e) {
|
|
11954
|
+
if (Ht && !ts(o))
|
|
11954
11955
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11955
11956
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11956
11957
|
e || {}, o.__templatizeOwner)
|
|
@@ -12003,7 +12004,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
12003
12004
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
12004
12005
|
*/
|
|
12005
12006
|
let is = !1;
|
|
12006
|
-
function
|
|
12007
|
+
function pu() {
|
|
12007
12008
|
if (zs && !Ns) {
|
|
12008
12009
|
if (!is) {
|
|
12009
12010
|
is = !0;
|
|
@@ -12023,8 +12024,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
12023
12024
|
Code distributed by Google as part of the polymer project is also
|
|
12024
12025
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
12025
12026
|
*/
|
|
12026
|
-
const
|
|
12027
|
-
class os extends
|
|
12027
|
+
const fu = Qc(Fe);
|
|
12028
|
+
class os extends fu {
|
|
12028
12029
|
// Not needed to find template; can be removed once the analyzer
|
|
12029
12030
|
// can find the tag name from customElements.define call
|
|
12030
12031
|
static get is() {
|
|
@@ -12202,7 +12203,7 @@ class os extends pu {
|
|
|
12202
12203
|
* @return {void}
|
|
12203
12204
|
*/
|
|
12204
12205
|
connectedCallback() {
|
|
12205
|
-
if (super.connectedCallback(),
|
|
12206
|
+
if (super.connectedCallback(), pu() || (this.style.display = "none"), this.__isDetached) {
|
|
12206
12207
|
this.__isDetached = !1;
|
|
12207
12208
|
let t = ce(ce(this).parentNode);
|
|
12208
12209
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -12231,7 +12232,7 @@ class os extends pu {
|
|
|
12231
12232
|
return s.observe(this, { childList: !0 }), !1;
|
|
12232
12233
|
}
|
|
12233
12234
|
let i = {};
|
|
12234
|
-
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 = Ri(e, this, {
|
|
12235
12236
|
mutableData: this.mutableData,
|
|
12236
12237
|
parentModel: !0,
|
|
12237
12238
|
instanceProps: i,
|
|
@@ -12255,7 +12256,7 @@ class os extends pu {
|
|
|
12255
12256
|
if (va(this.as, r)) {
|
|
12256
12257
|
let a = s[this.itemsIndexAs];
|
|
12257
12258
|
r == this.as && (this.items[a] = n);
|
|
12258
|
-
let l =
|
|
12259
|
+
let l = xt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
12259
12260
|
this.notifyPath(l, n);
|
|
12260
12261
|
}
|
|
12261
12262
|
}
|
|
@@ -12585,7 +12586,7 @@ const mu = (o) => class extends so(o) {
|
|
|
12585
12586
|
const r = new Date(0, 0);
|
|
12586
12587
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
12587
12588
|
const n = new Date(0, 0);
|
|
12588
|
-
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 : !it(r, i, s) && !it(n, i, s);
|
|
12589
12590
|
}
|
|
12590
12591
|
/** @protected */
|
|
12591
12592
|
_getTitle(e, i) {
|
|
@@ -12742,9 +12743,9 @@ const _u = $`
|
|
|
12742
12743
|
te("vaadin-month-calendar", _u, {
|
|
12743
12744
|
moduleId: "vaadin-month-calendar-styles"
|
|
12744
12745
|
});
|
|
12745
|
-
class gu extends mu(
|
|
12746
|
+
class gu extends mu(je(Fe)) {
|
|
12746
12747
|
static get template() {
|
|
12747
|
-
return
|
|
12748
|
+
return Ve`
|
|
12748
12749
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
12749
12750
|
<table
|
|
12750
12751
|
id="monthGrid"
|
|
@@ -12820,7 +12821,7 @@ class gu extends mu(Ve(Fe)) {
|
|
|
12820
12821
|
/** @private */
|
|
12821
12822
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12822
12823
|
__getDatePart(t, e, i, s, r, n) {
|
|
12823
|
-
const a = ["date"], l = t >
|
|
12824
|
+
const a = ["date"], l = t > zi(/* @__PURE__ */ new Date()), c = t < zi(/* @__PURE__ */ new Date());
|
|
12824
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(" ");
|
|
12825
12826
|
}
|
|
12826
12827
|
/** @private */
|
|
@@ -12838,7 +12839,7 @@ class gu extends mu(Ve(Fe)) {
|
|
|
12838
12839
|
}
|
|
12839
12840
|
/** @private */
|
|
12840
12841
|
__isDayDisabled(t, e, i, s) {
|
|
12841
|
-
return !
|
|
12842
|
+
return !it(t, e, i, s);
|
|
12842
12843
|
}
|
|
12843
12844
|
/** @private */
|
|
12844
12845
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -13207,7 +13208,7 @@ const vu = (o) => class extends o {
|
|
|
13207
13208
|
}
|
|
13208
13209
|
/** @private */
|
|
13209
13210
|
_doIgnoreTaps() {
|
|
13210
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
13211
|
+
this._ignoreTaps = !0, this._debouncer = tt.debounce(this._debouncer, Yt.after(300), () => {
|
|
13211
13212
|
this._ignoreTaps = !1;
|
|
13212
13213
|
});
|
|
13213
13214
|
}
|
|
@@ -13430,13 +13431,13 @@ const vu = (o) => class extends o {
|
|
|
13430
13431
|
}
|
|
13431
13432
|
}
|
|
13432
13433
|
focusDate(e, i) {
|
|
13433
|
-
return
|
|
13434
|
+
return rt(this, null, function* () {
|
|
13434
13435
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
13435
13436
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
13436
13437
|
});
|
|
13437
13438
|
}
|
|
13438
13439
|
focusDateElement(e = !0) {
|
|
13439
|
-
return
|
|
13440
|
+
return rt(this, null, function* () {
|
|
13440
13441
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
13441
13442
|
ur(this, () => {
|
|
13442
13443
|
no(), i();
|
|
@@ -13474,7 +13475,7 @@ const vu = (o) => class extends o {
|
|
|
13474
13475
|
}
|
|
13475
13476
|
/** @private */
|
|
13476
13477
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
13477
|
-
return
|
|
13478
|
+
return it(e, i, s, r);
|
|
13478
13479
|
}
|
|
13479
13480
|
/** @private */
|
|
13480
13481
|
_isTodayAllowed(e, i, s) {
|
|
@@ -13567,10 +13568,10 @@ te("vaadin-date-picker-overlay-content", yu, {
|
|
|
13567
13568
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
13568
13569
|
});
|
|
13569
13570
|
class bu extends vu(
|
|
13570
|
-
|
|
13571
|
+
st(je(qt(Fe)))
|
|
13571
13572
|
) {
|
|
13572
13573
|
static get template() {
|
|
13573
|
-
return
|
|
13574
|
+
return Ve`
|
|
13574
13575
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
13575
13576
|
<div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
|
|
13576
13577
|
<div part="clear-button" hidden$="[[!selectedDate]]"></div>
|
|
@@ -14002,7 +14003,7 @@ const Nr = se(
|
|
|
14002
14003
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14003
14004
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14004
14005
|
*/
|
|
14005
|
-
const Su = (o) => class extends Nr(
|
|
14006
|
+
const Su = (o) => class extends Nr(Jt(o)) {
|
|
14006
14007
|
static get properties() {
|
|
14007
14008
|
return {
|
|
14008
14009
|
/**
|
|
@@ -14077,9 +14078,9 @@ const Su = (o) => class extends Nr(Xt(o)) {
|
|
|
14077
14078
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14078
14079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14079
14080
|
*/
|
|
14080
|
-
const
|
|
14081
|
+
const fi = /* @__PURE__ */ new Map();
|
|
14081
14082
|
function co(o) {
|
|
14082
|
-
return
|
|
14083
|
+
return fi.has(o) || fi.set(o, /* @__PURE__ */ new WeakMap()), fi.get(o);
|
|
14083
14084
|
}
|
|
14084
14085
|
function zr(o, t) {
|
|
14085
14086
|
o && o.removeAttribute(t);
|
|
@@ -14090,16 +14091,16 @@ function Lr(o, t) {
|
|
|
14090
14091
|
const e = co(t);
|
|
14091
14092
|
if (e.has(o))
|
|
14092
14093
|
return;
|
|
14093
|
-
const i =
|
|
14094
|
+
const i = Zi(o.getAttribute(t));
|
|
14094
14095
|
e.set(o, new Set(i));
|
|
14095
14096
|
}
|
|
14096
14097
|
function Au(o, t) {
|
|
14097
14098
|
if (!o || !t)
|
|
14098
14099
|
return;
|
|
14099
14100
|
const e = co(t), i = e.get(o);
|
|
14100
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
14101
|
+
!i || i.size === 0 ? o.removeAttribute(t) : fr(o, t, Gt(i)), e.delete(o);
|
|
14101
14102
|
}
|
|
14102
|
-
function
|
|
14103
|
+
function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
14103
14104
|
if (!o || !t)
|
|
14104
14105
|
return;
|
|
14105
14106
|
const { newId: i, oldId: s, fromUser: r } = e, n = co(t), a = n.get(o);
|
|
@@ -14108,8 +14109,8 @@ function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
14108
14109
|
return;
|
|
14109
14110
|
}
|
|
14110
14111
|
r && (a ? i || n.delete(o) : Lr(o, t), zr(o, t)), ec(o, t, s);
|
|
14111
|
-
const l = i ||
|
|
14112
|
-
l &&
|
|
14112
|
+
const l = i || Gt(a);
|
|
14113
|
+
l && fr(o, t, l);
|
|
14113
14114
|
}
|
|
14114
14115
|
function Cu(o, t) {
|
|
14115
14116
|
Lr(o, t), zr(o, t);
|
|
@@ -14201,7 +14202,7 @@ class Du {
|
|
|
14201
14202
|
* @private
|
|
14202
14203
|
*/
|
|
14203
14204
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
14204
|
-
|
|
14205
|
+
mi(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
14205
14206
|
}
|
|
14206
14207
|
/**
|
|
14207
14208
|
* @param {string | null | undefined} errorId
|
|
@@ -14209,7 +14210,7 @@ class Du {
|
|
|
14209
14210
|
* @private
|
|
14210
14211
|
*/
|
|
14211
14212
|
__setErrorIdToAriaAttribute(t, e) {
|
|
14212
|
-
|
|
14213
|
+
mi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
14213
14214
|
}
|
|
14214
14215
|
/**
|
|
14215
14216
|
* @param {string | null | undefined} helperId
|
|
@@ -14217,7 +14218,7 @@ class Du {
|
|
|
14217
14218
|
* @private
|
|
14218
14219
|
*/
|
|
14219
14220
|
__setHelperIdToAriaAttribute(t, e) {
|
|
14220
|
-
|
|
14221
|
+
mi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
14221
14222
|
}
|
|
14222
14223
|
/**
|
|
14223
14224
|
* @param {boolean} required
|
|
@@ -14237,12 +14238,12 @@ xe.style.position = "fixed";
|
|
|
14237
14238
|
xe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
14238
14239
|
xe.setAttribute("aria-live", "polite");
|
|
14239
14240
|
document.body.appendChild(xe);
|
|
14240
|
-
let
|
|
14241
|
+
let It;
|
|
14241
14242
|
function ku(o, t = {}) {
|
|
14242
14243
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
14243
|
-
e === "alert" ? (xe.removeAttribute("aria-live"), xe.removeAttribute("role"),
|
|
14244
|
+
e === "alert" ? (xe.removeAttribute("aria-live"), xe.removeAttribute("role"), It = tt.debounce(It, _c, () => {
|
|
14244
14245
|
xe.setAttribute("role", "alert");
|
|
14245
|
-
})) : (
|
|
14246
|
+
})) : (It && It.cancel(), xe.removeAttribute("role"), xe.setAttribute("aria-live", e)), xe.textContent = "", setTimeout(() => {
|
|
14246
14247
|
xe.textContent = o;
|
|
14247
14248
|
}, i);
|
|
14248
14249
|
}
|
|
@@ -14253,7 +14254,7 @@ function ku(o, t = {}) {
|
|
|
14253
14254
|
*/
|
|
14254
14255
|
class uo extends Re {
|
|
14255
14256
|
constructor(t, e, i, s = {}) {
|
|
14256
|
-
super(t, e, i,
|
|
14257
|
+
super(t, e, i, kt(Dt({}, s), { useUniqueId: !0 }));
|
|
14257
14258
|
}
|
|
14258
14259
|
/**
|
|
14259
14260
|
* Override to initialize the newly added custom node.
|
|
@@ -14557,7 +14558,7 @@ class Mu extends uo {
|
|
|
14557
14558
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14558
14559
|
*/
|
|
14559
14560
|
const Ou = se(
|
|
14560
|
-
(o) => class extends
|
|
14561
|
+
(o) => class extends st(o) {
|
|
14561
14562
|
static get properties() {
|
|
14562
14563
|
return {
|
|
14563
14564
|
/**
|
|
@@ -14671,7 +14672,7 @@ const $r = se(
|
|
|
14671
14672
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14672
14673
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14673
14674
|
*/
|
|
14674
|
-
const Iu = (o) => class extends $r(Ou(
|
|
14675
|
+
const Iu = (o) => class extends $r(Ou(st(o))) {
|
|
14675
14676
|
static get properties() {
|
|
14676
14677
|
return {
|
|
14677
14678
|
/**
|
|
@@ -14979,7 +14980,7 @@ const Rr = se(
|
|
|
14979
14980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14980
14981
|
*/
|
|
14981
14982
|
const Nu = (o) => class extends Eu(
|
|
14982
|
-
Fr(Rr(Iu(Su(
|
|
14983
|
+
Fr(Rr(Iu(Su(Jt(o)))))
|
|
14983
14984
|
) {
|
|
14984
14985
|
static get properties() {
|
|
14985
14986
|
return {
|
|
@@ -15111,7 +15112,7 @@ const Nu = (o) => class extends Eu(
|
|
|
15111
15112
|
}
|
|
15112
15113
|
/** @protected */
|
|
15113
15114
|
_markInputPrevented() {
|
|
15114
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
15115
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = tt.debounce(this._preventInputDebouncer, Yt.after(200), () => {
|
|
15115
15116
|
this.removeAttribute("input-prevented");
|
|
15116
15117
|
});
|
|
15117
15118
|
}
|
|
@@ -15360,8 +15361,8 @@ class ju {
|
|
|
15360
15361
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15361
15362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15362
15363
|
*/
|
|
15363
|
-
const
|
|
15364
|
-
|
|
15364
|
+
const Uu = (o) => class extends Yu(
|
|
15365
|
+
st(Fr(Rr(Jt(o))))
|
|
15365
15366
|
) {
|
|
15366
15367
|
static get properties() {
|
|
15367
15368
|
return {
|
|
@@ -15565,8 +15566,8 @@ const Vu = (o) => class extends Yu(
|
|
|
15565
15566
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
15566
15567
|
if (i.length === 3) {
|
|
15567
15568
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
15568
|
-
const l = this.referenceDate ?
|
|
15569
|
-
a =
|
|
15569
|
+
const l = this.referenceDate ? ut(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
15570
|
+
a = Uc(l, a, n, r);
|
|
15570
15571
|
}
|
|
15571
15572
|
} else
|
|
15572
15573
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -15728,7 +15729,7 @@ const Vu = (o) => class extends Yu(
|
|
|
15728
15729
|
* @protected
|
|
15729
15730
|
*/
|
|
15730
15731
|
_onFocus(e) {
|
|
15731
|
-
super._onFocus(e), this._noInput && !
|
|
15732
|
+
super._onFocus(e), this._noInput && !Xi() && e.target.blur();
|
|
15732
15733
|
}
|
|
15733
15734
|
/**
|
|
15734
15735
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -15790,7 +15791,7 @@ const Vu = (o) => class extends Yu(
|
|
|
15790
15791
|
if (!this.i18n.parseDate)
|
|
15791
15792
|
return;
|
|
15792
15793
|
let i = this.i18n.parseDate(e);
|
|
15793
|
-
if (i && (i =
|
|
15794
|
+
if (i && (i = ut(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
15794
15795
|
return i;
|
|
15795
15796
|
}
|
|
15796
15797
|
/**
|
|
@@ -15809,7 +15810,7 @@ const Vu = (o) => class extends Yu(
|
|
|
15809
15810
|
* @return {boolean} True if the value is valid
|
|
15810
15811
|
*/
|
|
15811
15812
|
checkValidity() {
|
|
15812
|
-
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 || it(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15813
15814
|
let r = !0;
|
|
15814
15815
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15815
15816
|
}
|
|
@@ -15932,7 +15933,7 @@ const Vu = (o) => class extends Yu(
|
|
|
15932
15933
|
* @override
|
|
15933
15934
|
*/
|
|
15934
15935
|
_valueChanged(e, i) {
|
|
15935
|
-
const s =
|
|
15936
|
+
const s = ut(e);
|
|
15936
15937
|
if (e && !s) {
|
|
15937
15938
|
this.value = i;
|
|
15938
15939
|
return;
|
|
@@ -15971,8 +15972,8 @@ const Vu = (o) => class extends Yu(
|
|
|
15971
15972
|
}
|
|
15972
15973
|
/** @private */
|
|
15973
15974
|
_getInitialPosition() {
|
|
15974
|
-
const e =
|
|
15975
|
-
return e ||
|
|
15975
|
+
const e = ut(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15976
|
+
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Cr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15976
15977
|
}
|
|
15977
15978
|
/**
|
|
15978
15979
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -16110,7 +16111,7 @@ const Vu = (o) => class extends Yu(
|
|
|
16110
16111
|
}
|
|
16111
16112
|
/** @private */
|
|
16112
16113
|
__computeMinOrMaxDate(e) {
|
|
16113
|
-
return
|
|
16114
|
+
return ut(e);
|
|
16114
16115
|
}
|
|
16115
16116
|
/**
|
|
16116
16117
|
* Fired when the user commits a value change.
|
|
@@ -16133,7 +16134,7 @@ const Vu = (o) => class extends Yu(
|
|
|
16133
16134
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16134
16135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16135
16136
|
*/
|
|
16136
|
-
const
|
|
16137
|
+
const Vu = $`
|
|
16137
16138
|
:host([opened]) {
|
|
16138
16139
|
pointer-events: auto;
|
|
16139
16140
|
}
|
|
@@ -16152,13 +16153,13 @@ const Uu = $`
|
|
|
16152
16153
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16153
16154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16154
16155
|
*/
|
|
16155
|
-
te("vaadin-date-picker", [Bu,
|
|
16156
|
-
class Wu extends
|
|
16156
|
+
te("vaadin-date-picker", [Bu, Vu], { moduleId: "vaadin-date-picker-styles" });
|
|
16157
|
+
class Wu extends Uu(Nu(je(gr(Fe)))) {
|
|
16157
16158
|
static get is() {
|
|
16158
16159
|
return "vaadin-date-picker";
|
|
16159
16160
|
}
|
|
16160
16161
|
static get template() {
|
|
16161
|
-
return
|
|
16162
|
+
return Ve`
|
|
16162
16163
|
<div class="vaadin-date-picker-container">
|
|
16163
16164
|
<div part="label">
|
|
16164
16165
|
<slot name="label"></slot>
|
|
@@ -16254,7 +16255,7 @@ if (typeof window != "undefined") {
|
|
|
16254
16255
|
}
|
|
16255
16256
|
};
|
|
16256
16257
|
};
|
|
16257
|
-
customElements.define = o(customElements.define), import("./PlayerAccountModal-
|
|
16258
|
+
customElements.define = o(customElements.define), import("./PlayerAccountModal-1yio55uP.js").then(({ default: t }) => {
|
|
16258
16259
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", t.element);
|
|
16259
16260
|
});
|
|
16260
16261
|
}
|
|
@@ -16270,7 +16271,7 @@ if (typeof window != "undefined") {
|
|
|
16270
16271
|
}
|
|
16271
16272
|
};
|
|
16272
16273
|
};
|
|
16273
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
16274
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DeKth9rU.js").then((t) => t.U).then(
|
|
16274
16275
|
({ default: t }) => {
|
|
16275
16276
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
16276
16277
|
"player-account-general-confirmation-modal",
|
|
@@ -16308,17 +16309,17 @@ function Ku(o) {
|
|
|
16308
16309
|
)
|
|
16309
16310
|
}
|
|
16310
16311
|
}) + ""
|
|
16311
|
-
), d, h,
|
|
16312
|
+
), d, h, p = (
|
|
16312
16313
|
/*$_*/
|
|
16313
16314
|
o[22]("selfExclusionEmailText") + ""
|
|
16314
|
-
), y,
|
|
16315
|
+
), y, f, b, D, C, z, N, L, G, Q = (
|
|
16315
16316
|
/*$_*/
|
|
16316
16317
|
o[22](`${/*selectedPeriodKey*/
|
|
16317
16318
|
o[15]}`) + ""
|
|
16318
16319
|
), J, q, O, k, j, ie, E, v, m, w, _, A, S, F = (
|
|
16319
16320
|
/*$_*/
|
|
16320
16321
|
o[22]("save") + ""
|
|
16321
|
-
), R,
|
|
16322
|
+
), R, U, K, ee, de, ne, he, X = (
|
|
16322
16323
|
/*isMobile*/
|
|
16323
16324
|
o[24] && Ju(o)
|
|
16324
16325
|
), Y = mo(
|
|
@@ -16327,11 +16328,11 @@ function Ku(o) {
|
|
|
16327
16328
|
), H = [];
|
|
16328
16329
|
for (let P = 0; P < Y.length; P += 1)
|
|
16329
16330
|
H[P] = rs(ss(o, Y, P));
|
|
16330
|
-
let
|
|
16331
|
+
let V = (
|
|
16331
16332
|
/*isUntilDate*/
|
|
16332
16333
|
o[18] && ns(o)
|
|
16333
16334
|
);
|
|
16334
|
-
function
|
|
16335
|
+
function fe(P, W) {
|
|
16335
16336
|
return (
|
|
16336
16337
|
/*isPermanentSelfExclusion*/
|
|
16337
16338
|
P[17] ? Qu : (
|
|
@@ -16340,56 +16341,56 @@ function Ku(o) {
|
|
|
16340
16341
|
)
|
|
16341
16342
|
);
|
|
16342
16343
|
}
|
|
16343
|
-
let we =
|
|
16344
|
+
let we = fe(o), ue = we(o), Ee = (
|
|
16344
16345
|
/*showConfirmationModal*/
|
|
16345
16346
|
o[25] && ed(o)
|
|
16346
16347
|
);
|
|
16347
16348
|
return {
|
|
16348
16349
|
c() {
|
|
16349
|
-
t = T("div"), e = T("form"), X && X.c(), i = Z(), s = T("h2"), n = _e(r), a = Z(), l = T("div"), c = T("p"), d = Z(), h = T("p"), y = _e(
|
|
16350
|
+
t = T("div"), e = T("form"), X && X.c(), i = Z(), s = T("h2"), n = _e(r), a = Z(), l = T("div"), c = T("p"), d = Z(), h = T("p"), y = _e(p), f = Z(), b = T("a"), D = _e(
|
|
16350
16351
|
/*supportemail*/
|
|
16351
16352
|
o[4]
|
|
16352
16353
|
), z = Z(), N = T("div"), L = T("div"), G = T("p"), J = _e(Q), q = Z(), O = Pe("svg"), k = Pe("g"), j = Pe("path"), ie = Z(), E = T("div");
|
|
16353
16354
|
for (let P = 0; P < H.length; P += 1)
|
|
16354
16355
|
H[P].c();
|
|
16355
|
-
v = Z(),
|
|
16356
|
+
v = Z(), V && V.c(), m = Z(), w = T("div"), ue.c(), _ = Z(), A = T("div"), S = T("button"), R = _e(F), ee = Z(), Ee && Ee.c(), de = nn(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16356
16357
|
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(b, "href", C = "mailto:" + /*supportemail*/
|
|
16357
16358
|
o[4]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16358
|
-
(o[24] ? "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[24] ? "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"), We(
|
|
16359
16360
|
O,
|
|
16360
16361
|
"active",
|
|
16361
16362
|
/*isPeriodDropDownToggled*/
|
|
16362
16363
|
o[20]
|
|
16363
|
-
), M(L, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"),
|
|
16364
|
+
), M(L, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"), We(
|
|
16364
16365
|
E,
|
|
16365
16366
|
"active",
|
|
16366
16367
|
/*isPeriodDropDownToggled*/
|
|
16367
16368
|
o[20]
|
|
16368
16369
|
), M(N, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16369
|
-
(o[24] ? "SelfExclusionConfigWrapperMobile" : "")),
|
|
16370
|
+
(o[24] ? "SelfExclusionConfigWrapperMobile" : "")), We(
|
|
16370
16371
|
N,
|
|
16371
16372
|
"active",
|
|
16372
16373
|
/*isPeriodDropDownToggled*/
|
|
16373
16374
|
o[20]
|
|
16374
16375
|
), M(w, "class", "SelfExclusionNotification " + /*isMobile*/
|
|
16375
|
-
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class",
|
|
16376
|
+
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class", U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16376
16377
|
(o[19] ? "active" : "")), S.disabled = K = !/*isDateSelected*/
|
|
16377
16378
|
o[19], M(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16378
16379
|
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16379
16380
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16380
16381
|
},
|
|
16381
16382
|
m(P, W) {
|
|
16382
|
-
|
|
16383
|
+
ge(P, t, W), g(t, e), X && X.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, y), g(h, f), g(h, b), g(b, D), g(e, z), g(e, N), g(N, L), g(L, G), g(G, J), g(L, q), g(L, O), g(O, k), g(k, j), g(N, ie), g(N, E);
|
|
16383
16384
|
for (let oe = 0; oe < H.length; oe += 1)
|
|
16384
16385
|
H[oe] && H[oe].m(E, null);
|
|
16385
|
-
g(e, v),
|
|
16386
|
-
|
|
16386
|
+
g(e, v), V && V.m(e, null), g(e, m), g(e, w), ue.m(w, null), g(e, _), g(e, A), g(A, S), g(S, R), ge(P, ee, W), Ee && Ee.m(P, W), ge(P, de, W), ne || (he = [
|
|
16387
|
+
zt(
|
|
16387
16388
|
L,
|
|
16388
16389
|
"click",
|
|
16389
16390
|
/*click_handler_1*/
|
|
16390
16391
|
o[37]
|
|
16391
16392
|
),
|
|
16392
|
-
|
|
16393
|
+
zt(
|
|
16393
16394
|
S,
|
|
16394
16395
|
"click",
|
|
16395
16396
|
/*click_handler_3*/
|
|
@@ -16420,8 +16421,8 @@ function Ku(o) {
|
|
|
16420
16421
|
)
|
|
16421
16422
|
}
|
|
16422
16423
|
}) + "") && (c.innerHTML = u), W[0] & /*$_*/
|
|
16423
|
-
4194304 &&
|
|
16424
|
-
P[22]("selfExclusionEmailText") + "") && be(y,
|
|
16424
|
+
4194304 && p !== (p = /*$_*/
|
|
16425
|
+
P[22]("selfExclusionEmailText") + "") && be(y, p), W[0] & /*supportemail*/
|
|
16425
16426
|
16 && be(
|
|
16426
16427
|
D,
|
|
16427
16428
|
/*supportemail*/
|
|
@@ -16432,7 +16433,7 @@ function Ku(o) {
|
|
|
16432
16433
|
4227072 && Q !== (Q = /*$_*/
|
|
16433
16434
|
P[22](`${/*selectedPeriodKey*/
|
|
16434
16435
|
P[15]}`) + "") && be(J, Q), W[0] & /*isPeriodDropDownToggled*/
|
|
16435
|
-
1048576 &&
|
|
16436
|
+
1048576 && We(
|
|
16436
16437
|
O,
|
|
16437
16438
|
"active",
|
|
16438
16439
|
/*isPeriodDropDownToggled*/
|
|
@@ -16446,42 +16447,42 @@ function Ku(o) {
|
|
|
16446
16447
|
);
|
|
16447
16448
|
let oe;
|
|
16448
16449
|
for (oe = 0; oe < Y.length; oe += 1) {
|
|
16449
|
-
const
|
|
16450
|
-
H[oe] ? H[oe].p(
|
|
16450
|
+
const Ct = ss(P, Y, oe);
|
|
16451
|
+
H[oe] ? H[oe].p(Ct, W) : (H[oe] = rs(Ct), H[oe].c(), H[oe].m(E, null));
|
|
16451
16452
|
}
|
|
16452
16453
|
for (; oe < H.length; oe += 1)
|
|
16453
16454
|
H[oe].d(1);
|
|
16454
16455
|
H.length = Y.length;
|
|
16455
16456
|
}
|
|
16456
16457
|
W[0] & /*isPeriodDropDownToggled*/
|
|
16457
|
-
1048576 &&
|
|
16458
|
+
1048576 && We(
|
|
16458
16459
|
E,
|
|
16459
16460
|
"active",
|
|
16460
16461
|
/*isPeriodDropDownToggled*/
|
|
16461
16462
|
P[20]
|
|
16462
16463
|
), W[0] & /*isPeriodDropDownToggled*/
|
|
16463
|
-
1048576 &&
|
|
16464
|
+
1048576 && We(
|
|
16464
16465
|
N,
|
|
16465
16466
|
"active",
|
|
16466
16467
|
/*isPeriodDropDownToggled*/
|
|
16467
16468
|
P[20]
|
|
16468
16469
|
), /*isUntilDate*/
|
|
16469
|
-
P[18] ?
|
|
16470
|
+
P[18] ? V ? V.p(P, W) : (V = ns(P), V.c(), V.m(e, m)) : V && (V.d(1), V = null), we === (we = fe(P)) && ue ? ue.p(P, W) : (ue.d(1), ue = we(P), ue && (ue.c(), ue.m(w, null))), W[0] & /*$_*/
|
|
16470
16471
|
4194304 && F !== (F = /*$_*/
|
|
16471
16472
|
P[22]("save") + "") && be(R, F), W[0] & /*isDateSelected*/
|
|
16472
|
-
524288 &&
|
|
16473
|
-
(P[19] ? "active" : "")) && M(S, "class",
|
|
16473
|
+
524288 && U !== (U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16474
|
+
(P[19] ? "active" : "")) && M(S, "class", U), W[0] & /*isDateSelected*/
|
|
16474
16475
|
524288 && K !== (K = !/*isDateSelected*/
|
|
16475
16476
|
P[19]) && (S.disabled = K), /*showConfirmationModal*/
|
|
16476
16477
|
P[25] && Ee.p(P, W);
|
|
16477
16478
|
},
|
|
16478
16479
|
d(P) {
|
|
16479
|
-
P && (
|
|
16480
|
+
P && (ve(t), ve(ee), ve(de)), X && X.d(), an(H, P), V && V.d(), ue.d(), Ee && Ee.d(P), ne = !1, ln(he);
|
|
16480
16481
|
}
|
|
16481
16482
|
};
|
|
16482
16483
|
}
|
|
16483
16484
|
function Gu(o) {
|
|
16484
|
-
let t, e, i, s, r, n, a, l, c, u, d, h,
|
|
16485
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, p, y, f, b, D, C, z, N, L;
|
|
16485
16486
|
function G(q, O) {
|
|
16486
16487
|
return (
|
|
16487
16488
|
/*isMobile*/
|
|
@@ -16491,7 +16492,7 @@ function Gu(o) {
|
|
|
16491
16492
|
let J = G(o)(o);
|
|
16492
16493
|
return {
|
|
16493
16494
|
c() {
|
|
16494
|
-
t = T("div"), e = T("div"), J.c(), i = Z(), s = T("div"), r = T("ui-skeleton"), n = Z(), a = T("div"), l = Z(), c = T("ui-skeleton"), u = Z(), d = T("div"), h = Z(),
|
|
16495
|
+
t = T("div"), e = T("div"), J.c(), i = Z(), s = T("div"), r = T("ui-skeleton"), n = Z(), a = T("div"), l = Z(), c = T("ui-skeleton"), u = Z(), d = T("div"), h = Z(), p = T("div"), y = T("ui-skeleton"), f = Z(), b = T("div"), D = Z(), C = T("ui-skeleton"), z = Z(), N = T("div"), L = T("ui-skeleton"), I(r, "structure", "text"), I(
|
|
16495
16496
|
r,
|
|
16496
16497
|
"height",
|
|
16497
16498
|
/*isMobile*/
|
|
@@ -16506,7 +16507,7 @@ function Gu(o) {
|
|
|
16506
16507
|
"width",
|
|
16507
16508
|
/*isMobile*/
|
|
16508
16509
|
o[24] ? "100%" : "60%"
|
|
16509
|
-
),
|
|
16510
|
+
), Xt(
|
|
16510
16511
|
a,
|
|
16511
16512
|
"height",
|
|
16512
16513
|
/*isMobile*/
|
|
@@ -16516,7 +16517,7 @@ function Gu(o) {
|
|
|
16516
16517
|
"height",
|
|
16517
16518
|
/*isMobile*/
|
|
16518
16519
|
o[24] ? "15px" : "20px"
|
|
16519
|
-
), I(c, "width", "30%"),
|
|
16520
|
+
), I(c, "width", "30%"), Xt(d, "height", "10px"), M(s, "class", "SelfExclusionDescription"), I(y, "structure", "rectangle"), I(
|
|
16520
16521
|
y,
|
|
16521
16522
|
"width",
|
|
16522
16523
|
/*isMobile*/
|
|
@@ -16526,7 +16527,7 @@ function Gu(o) {
|
|
|
16526
16527
|
"height",
|
|
16527
16528
|
/*isMobile*/
|
|
16528
16529
|
o[24] ? "30px" : "44px"
|
|
16529
|
-
),
|
|
16530
|
+
), Xt(
|
|
16530
16531
|
b,
|
|
16531
16532
|
"height",
|
|
16532
16533
|
/*isMobile*/
|
|
@@ -16536,7 +16537,7 @@ function Gu(o) {
|
|
|
16536
16537
|
"height",
|
|
16537
16538
|
/*isMobile*/
|
|
16538
16539
|
o[24] ? "15px" : "20px"
|
|
16539
|
-
), I(C, "width", "30%"), M(
|
|
16540
|
+
), I(C, "width", "30%"), M(p, "class", "SelfExclusionConfig"), I(L, "structure", "rectangle"), I(L, "width", "100%"), I(
|
|
16540
16541
|
L,
|
|
16541
16542
|
"height",
|
|
16542
16543
|
/*isMobile*/
|
|
@@ -16546,11 +16547,11 @@ function Gu(o) {
|
|
|
16546
16547
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16547
16548
|
},
|
|
16548
16549
|
m(q, O) {
|
|
16549
|
-
|
|
16550
|
+
ge(q, t, O), g(t, e), J.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, y), g(p, f), g(p, b), g(p, D), g(p, C), g(e, z), g(e, N), g(N, L);
|
|
16550
16551
|
},
|
|
16551
|
-
p:
|
|
16552
|
+
p: _i,
|
|
16552
16553
|
d(q) {
|
|
16553
|
-
q &&
|
|
16554
|
+
q && ve(t), J.d();
|
|
16554
16555
|
}
|
|
16555
16556
|
};
|
|
16556
16557
|
}
|
|
@@ -16558,26 +16559,26 @@ function Ju(o) {
|
|
|
16558
16559
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16559
16560
|
/*$_*/
|
|
16560
16561
|
o[22]("titleSelfExclusion") + ""
|
|
16561
|
-
), h,
|
|
16562
|
+
), h, p, y;
|
|
16562
16563
|
return {
|
|
16563
16564
|
c() {
|
|
16564
16565
|
t = T("div"), e = Pe("svg"), i = Pe("defs"), s = Pe("style"), r = _e(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Pe("g"), a = Pe("g"), l = Pe("path"), c = Z(), 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");
|
|
16565
16566
|
},
|
|
16566
|
-
m(
|
|
16567
|
-
|
|
16567
|
+
m(f, b) {
|
|
16568
|
+
ge(f, t, b), 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 || (y = zt(
|
|
16568
16569
|
t,
|
|
16569
16570
|
"click",
|
|
16570
16571
|
/*click_handler*/
|
|
16571
16572
|
o[36]
|
|
16572
|
-
),
|
|
16573
|
+
), p = !0);
|
|
16573
16574
|
},
|
|
16574
|
-
p(
|
|
16575
|
+
p(f, b) {
|
|
16575
16576
|
b[0] & /*$_*/
|
|
16576
16577
|
4194304 && d !== (d = /*$_*/
|
|
16577
|
-
|
|
16578
|
+
f[22]("titleSelfExclusion") + "") && be(h, d);
|
|
16578
16579
|
},
|
|
16579
|
-
d(
|
|
16580
|
-
|
|
16580
|
+
d(f) {
|
|
16581
|
+
f && ve(t), p = !1, y();
|
|
16581
16582
|
}
|
|
16582
16583
|
};
|
|
16583
16584
|
}
|
|
@@ -16601,7 +16602,7 @@ function rs(o) {
|
|
|
16601
16602
|
t = T("div"), i = _e(e);
|
|
16602
16603
|
},
|
|
16603
16604
|
m(a, l) {
|
|
16604
|
-
|
|
16605
|
+
ge(a, t, l), g(t, i), s || (r = zt(t, "click", n), s = !0);
|
|
16605
16606
|
},
|
|
16606
16607
|
p(a, l) {
|
|
16607
16608
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16610,7 +16611,7 @@ function rs(o) {
|
|
|
16610
16611
|
o[56].key}`) + "") && be(i, e);
|
|
16611
16612
|
},
|
|
16612
16613
|
d(a) {
|
|
16613
|
-
a &&
|
|
16614
|
+
a && ve(t), s = !1, r();
|
|
16614
16615
|
}
|
|
16615
16616
|
};
|
|
16616
16617
|
}
|
|
@@ -16621,13 +16622,13 @@ function ns(o) {
|
|
|
16621
16622
|
), s, r, n, a = (
|
|
16622
16623
|
/*$_*/
|
|
16623
16624
|
o[22]("dateInstructions") + ""
|
|
16624
|
-
), l, c, u, d, h,
|
|
16625
|
+
), l, c, u, d, h, p, y;
|
|
16625
16626
|
return {
|
|
16626
16627
|
c() {
|
|
16627
16628
|
t = T("div"), e = T("label"), s = _e(i), r = Z(), n = T("span"), l = _e(a), c = Z(), u = T("strong"), d = _e(
|
|
16628
16629
|
/*validDateformat*/
|
|
16629
16630
|
o[23]
|
|
16630
|
-
), h = T("strong"),
|
|
16631
|
+
), h = T("strong"), p = Z(), y = T("vaadin-date-picker"), M(e, "for", "SelfExclusionDate"), M(n, "class", "SelfExclusionDateInstructions"), I(
|
|
16631
16632
|
y,
|
|
16632
16633
|
"min",
|
|
16633
16634
|
/*minDate*/
|
|
@@ -16645,36 +16646,36 @@ function ns(o) {
|
|
|
16645
16646
|
), M(t, "class", "SelfExclusionDateWrapper " + /*isMobile*/
|
|
16646
16647
|
(o[24] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16647
16648
|
},
|
|
16648
|
-
m(
|
|
16649
|
-
|
|
16649
|
+
m(f, b) {
|
|
16650
|
+
ge(f, t, b), 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, y), o[39](y);
|
|
16650
16651
|
},
|
|
16651
|
-
p(
|
|
16652
|
+
p(f, b) {
|
|
16652
16653
|
b[0] & /*$_*/
|
|
16653
16654
|
4194304 && i !== (i = /*$_*/
|
|
16654
|
-
|
|
16655
|
+
f[22]("duration") + "") && be(s, i), b[0] & /*$_*/
|
|
16655
16656
|
4194304 && a !== (a = /*$_*/
|
|
16656
|
-
|
|
16657
|
+
f[22]("dateInstructions") + "") && be(l, a), b[0] & /*minDate*/
|
|
16657
16658
|
4096 && I(
|
|
16658
16659
|
y,
|
|
16659
16660
|
"min",
|
|
16660
16661
|
/*minDate*/
|
|
16661
|
-
|
|
16662
|
+
f[12]
|
|
16662
16663
|
), b[0] & /*maxDate*/
|
|
16663
16664
|
8192 && I(
|
|
16664
16665
|
y,
|
|
16665
16666
|
"max",
|
|
16666
16667
|
/*maxDate*/
|
|
16667
|
-
|
|
16668
|
+
f[13]
|
|
16668
16669
|
), b[0] & /*selfExclusionExpiryDate*/
|
|
16669
16670
|
16384 && I(
|
|
16670
16671
|
y,
|
|
16671
16672
|
"value",
|
|
16672
16673
|
/*selfExclusionExpiryDate*/
|
|
16673
|
-
|
|
16674
|
+
f[14]
|
|
16674
16675
|
);
|
|
16675
16676
|
},
|
|
16676
|
-
d(
|
|
16677
|
-
|
|
16677
|
+
d(f) {
|
|
16678
|
+
f && ve(t), o[39](null);
|
|
16678
16679
|
}
|
|
16679
16680
|
};
|
|
16680
16681
|
}
|
|
@@ -16698,7 +16699,7 @@ function Xu(o) {
|
|
|
16698
16699
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16699
16700
|
},
|
|
16700
16701
|
m(r, n) {
|
|
16701
|
-
|
|
16702
|
+
ge(r, t, n), g(t, e), g(e, s);
|
|
16702
16703
|
},
|
|
16703
16704
|
p(r, n) {
|
|
16704
16705
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16716,7 +16717,7 @@ function Xu(o) {
|
|
|
16716
16717
|
}) + "") && be(s, i);
|
|
16717
16718
|
},
|
|
16718
16719
|
d(r) {
|
|
16719
|
-
r &&
|
|
16720
|
+
r && ve(t);
|
|
16720
16721
|
}
|
|
16721
16722
|
};
|
|
16722
16723
|
}
|
|
@@ -16730,7 +16731,7 @@ function Zu(o) {
|
|
|
16730
16731
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16731
16732
|
},
|
|
16732
16733
|
m(r, n) {
|
|
16733
|
-
|
|
16734
|
+
ge(r, t, n), g(t, e), g(e, s);
|
|
16734
16735
|
},
|
|
16735
16736
|
p(r, n) {
|
|
16736
16737
|
n[0] & /*$_*/
|
|
@@ -16738,7 +16739,7 @@ function Zu(o) {
|
|
|
16738
16739
|
r[22]("noPeriodSelected") + "") && be(s, i);
|
|
16739
16740
|
},
|
|
16740
16741
|
d(r) {
|
|
16741
|
-
r &&
|
|
16742
|
+
r && ve(t);
|
|
16742
16743
|
}
|
|
16743
16744
|
};
|
|
16744
16745
|
}
|
|
@@ -16752,7 +16753,7 @@ function Qu(o) {
|
|
|
16752
16753
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16753
16754
|
},
|
|
16754
16755
|
m(r, n) {
|
|
16755
|
-
|
|
16756
|
+
ge(r, t, n), g(t, e), g(e, s);
|
|
16756
16757
|
},
|
|
16757
16758
|
p(r, n) {
|
|
16758
16759
|
n[0] & /*$_*/
|
|
@@ -16760,7 +16761,7 @@ function Qu(o) {
|
|
|
16760
16761
|
r[22]("permanentSelfExclusion") + "") && be(s, i);
|
|
16761
16762
|
},
|
|
16762
16763
|
d(r) {
|
|
16763
|
-
r &&
|
|
16764
|
+
r && ve(t);
|
|
16764
16765
|
}
|
|
16765
16766
|
};
|
|
16766
16767
|
}
|
|
@@ -16816,7 +16817,7 @@ function ed(o) {
|
|
|
16816
16817
|
), I(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16817
16818
|
},
|
|
16818
16819
|
m(r, n) {
|
|
16819
|
-
|
|
16820
|
+
ge(r, t, n), g(t, e);
|
|
16820
16821
|
},
|
|
16821
16822
|
p(r, n) {
|
|
16822
16823
|
n[0] & /*$_*/
|
|
@@ -16875,7 +16876,7 @@ function ed(o) {
|
|
|
16875
16876
|
);
|
|
16876
16877
|
},
|
|
16877
16878
|
d(r) {
|
|
16878
|
-
r &&
|
|
16879
|
+
r && ve(t);
|
|
16879
16880
|
}
|
|
16880
16881
|
};
|
|
16881
16882
|
}
|
|
@@ -16886,10 +16887,10 @@ function td(o) {
|
|
|
16886
16887
|
t = T("ui-skeleton"), I(t, "structure", "title"), I(t, "width", "100px"), I(t, "margin-top", "20px"), I(t, "margin-bottom", "20px");
|
|
16887
16888
|
},
|
|
16888
16889
|
m(e, i) {
|
|
16889
|
-
|
|
16890
|
+
ge(e, t, i);
|
|
16890
16891
|
},
|
|
16891
16892
|
d(e) {
|
|
16892
|
-
e &&
|
|
16893
|
+
e && ve(t);
|
|
16893
16894
|
}
|
|
16894
16895
|
};
|
|
16895
16896
|
}
|
|
@@ -16900,10 +16901,10 @@ function id(o) {
|
|
|
16900
16901
|
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");
|
|
16901
16902
|
},
|
|
16902
16903
|
m(e, i) {
|
|
16903
|
-
|
|
16904
|
+
ge(e, t, i);
|
|
16904
16905
|
},
|
|
16905
16906
|
d(e) {
|
|
16906
|
-
e &&
|
|
16907
|
+
e && ve(t);
|
|
16907
16908
|
}
|
|
16908
16909
|
};
|
|
16909
16910
|
}
|
|
@@ -16921,24 +16922,24 @@ function od(o) {
|
|
|
16921
16922
|
t = T("div"), s.c();
|
|
16922
16923
|
},
|
|
16923
16924
|
m(r, n) {
|
|
16924
|
-
|
|
16925
|
+
ge(r, t, n), s.m(t, null), o[41](t);
|
|
16925
16926
|
},
|
|
16926
16927
|
p(r, n) {
|
|
16927
16928
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16928
16929
|
},
|
|
16929
|
-
i:
|
|
16930
|
-
o:
|
|
16930
|
+
i: _i,
|
|
16931
|
+
o: _i,
|
|
16931
16932
|
d(r) {
|
|
16932
|
-
r &&
|
|
16933
|
+
r && ve(t), s.d(), o[41](null);
|
|
16933
16934
|
}
|
|
16934
16935
|
};
|
|
16935
16936
|
}
|
|
16936
16937
|
function sd(o, t, e) {
|
|
16937
16938
|
let i;
|
|
16938
|
-
Qr(o,
|
|
16939
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl:
|
|
16940
|
-
const
|
|
16941
|
-
fetch(
|
|
16939
|
+
Qr(o, cn, (x) => e(22, i = x)), De.extend(hn);
|
|
16940
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: y, translationurl: f = "", hasconfirmationmodal: b = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, L = D.toUpperCase(), G = [], Q = {}, J = window.navigator.userAgent, q, O, k = "", j = "", ie = "selectAPeriod", E = "", v = "", m = en(J) !== "PC", w = !1, _ = !1, A = !1, S = !1, F = b === "true", R = !0;
|
|
16941
|
+
const U = () => {
|
|
16942
|
+
fetch(f).then((ae) => ae.json()).then((ae) => {
|
|
16942
16943
|
Object.keys(ae).forEach((le) => {
|
|
16943
16944
|
_o(le, ae[le]);
|
|
16944
16945
|
});
|
|
@@ -16972,7 +16973,7 @@ function sd(o, t, e) {
|
|
|
16972
16973
|
});
|
|
16973
16974
|
}, ee = (x) => {
|
|
16974
16975
|
x.data.type === "setSelfExclusion" && (e(1, n = x.data.userid), e(15, ie = x.data.selectedPeriodKey), e(0, r = x.data.session), H());
|
|
16975
|
-
}, de = (x) =>
|
|
16976
|
+
}, de = (x) => rt(this, null, function* () {
|
|
16976
16977
|
var ae;
|
|
16977
16978
|
if (!x.ok) {
|
|
16978
16979
|
Q = yield x.json(), v = (ae = Q.thirdPartyResponse) == null ? void 0 : ae.errorCode;
|
|
@@ -17058,7 +17059,7 @@ function sd(o, t, e) {
|
|
|
17058
17059
|
}).finally(() => {
|
|
17059
17060
|
e(21, R = !1);
|
|
17060
17061
|
});
|
|
17061
|
-
},
|
|
17062
|
+
}, V = () => {
|
|
17062
17063
|
window.postMessage(
|
|
17063
17064
|
{
|
|
17064
17065
|
type: "PlayerAccountMenuActive",
|
|
@@ -17066,12 +17067,12 @@ function sd(o, t, e) {
|
|
|
17066
17067
|
},
|
|
17067
17068
|
window.location.href
|
|
17068
17069
|
);
|
|
17069
|
-
},
|
|
17070
|
+
}, fe = (x) => {
|
|
17070
17071
|
e(14, k = x.target.value);
|
|
17071
17072
|
}, we = () => {
|
|
17072
|
-
N.addEventListener("change",
|
|
17073
|
+
N.addEventListener("change", fe, !1), e(
|
|
17073
17074
|
10,
|
|
17074
|
-
N.i18n =
|
|
17075
|
+
N.i18n = kt(Dt({}, N.i18n), {
|
|
17075
17076
|
formatDate: (x) => De(new Date(x.year, x.month, x.day)).format(L),
|
|
17076
17077
|
parseDate: (x) => {
|
|
17077
17078
|
const ae = De(x, L);
|
|
@@ -17086,34 +17087,34 @@ function sd(o, t, e) {
|
|
|
17086
17087
|
);
|
|
17087
17088
|
};
|
|
17088
17089
|
tn(() => (window.addEventListener("message", ee, !1), () => {
|
|
17089
|
-
N.removeEventListener("change",
|
|
17090
|
+
N.removeEventListener("change", fe), window.removeEventListener("message", ee);
|
|
17090
17091
|
}));
|
|
17091
17092
|
const ue = () => {
|
|
17092
|
-
|
|
17093
|
-
}, Ee = () =>
|
|
17093
|
+
pn(a);
|
|
17094
|
+
}, Ee = () => V(), P = () => ne(), W = (x) => he(x);
|
|
17094
17095
|
function oe(x) {
|
|
17095
|
-
|
|
17096
|
+
fo[x ? "unshift" : "push"](() => {
|
|
17096
17097
|
N = x, e(10, N);
|
|
17097
17098
|
});
|
|
17098
17099
|
}
|
|
17099
|
-
const
|
|
17100
|
+
const Ct = (x) => Y(x);
|
|
17100
17101
|
function Hr(x) {
|
|
17101
|
-
|
|
17102
|
+
fo[x ? "unshift" : "push"](() => {
|
|
17102
17103
|
z = x, e(9, z);
|
|
17103
17104
|
});
|
|
17104
17105
|
}
|
|
17105
17106
|
return o.$$set = (x) => {
|
|
17106
|
-
"endpoint" in x && e(30, s = x.endpoint), "session" in x && e(0, r = x.session), "userid" in x && e(1, n = x.userid), "lang" in x && e(2, a = x.lang), "gmversion" in x && e(31, l = x.gmversion), "operator" in x && e(3, c = x.operator), "supportemail" in x && e(4, u = x.supportemail), "baseurl" in x && e(5, d = x.baseurl), "clientstyling" in x && e(6, h = x.clientstyling), "clientstylingurl" in x && e(7,
|
|
17107
|
+
"endpoint" in x && e(30, s = x.endpoint), "session" in x && e(0, r = x.session), "userid" in x && e(1, n = x.userid), "lang" in x && e(2, a = x.lang), "gmversion" in x && e(31, l = x.gmversion), "operator" in x && e(3, c = x.operator), "supportemail" in x && e(4, u = x.supportemail), "baseurl" in x && e(5, d = x.baseurl), "clientstyling" in x && e(6, h = x.clientstyling), "clientstylingurl" in x && e(7, p = x.clientstylingurl), "mbsource" in x && e(8, y = x.mbsource), "translationurl" in x && e(32, f = x.translationurl), "hasconfirmationmodal" in x && e(33, b = x.hasconfirmationmodal), "dateformat" in x && e(34, D = x.dateformat), "sendnotificationemail" in x && e(35, C = x.sendnotificationemail);
|
|
17107
17108
|
}, o.$$.update = () => {
|
|
17108
17109
|
o.$$.dirty[0] & /*lang*/
|
|
17109
17110
|
4 && a && ue(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
17110
17111
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
17111
17112
|
1 && s && r && n && l && K(), o.$$.dirty[0] & /*calendar*/
|
|
17112
17113
|
1024 && N && we(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17113
|
-
576 && h && z &&
|
|
17114
|
-
640 &&
|
|
17115
|
-
768 && y && z &&
|
|
17116
|
-
2 &&
|
|
17114
|
+
576 && h && z && rn(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17115
|
+
640 && p && z && on(z, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17116
|
+
768 && y && z && sn(z, `${y}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
17117
|
+
2 && f && U();
|
|
17117
17118
|
}, F && X(), [
|
|
17118
17119
|
r,
|
|
17119
17120
|
n,
|
|
@@ -17122,7 +17123,7 @@ function sd(o, t, e) {
|
|
|
17122
17123
|
u,
|
|
17123
17124
|
d,
|
|
17124
17125
|
h,
|
|
17125
|
-
|
|
17126
|
+
p,
|
|
17126
17127
|
y,
|
|
17127
17128
|
z,
|
|
17128
17129
|
N,
|
|
@@ -17144,10 +17145,10 @@ function sd(o, t, e) {
|
|
|
17144
17145
|
ne,
|
|
17145
17146
|
he,
|
|
17146
17147
|
Y,
|
|
17147
|
-
|
|
17148
|
+
V,
|
|
17148
17149
|
s,
|
|
17149
17150
|
l,
|
|
17150
|
-
|
|
17151
|
+
f,
|
|
17151
17152
|
b,
|
|
17152
17153
|
D,
|
|
17153
17154
|
C,
|
|
@@ -17155,7 +17156,7 @@ function sd(o, t, e) {
|
|
|
17155
17156
|
P,
|
|
17156
17157
|
W,
|
|
17157
17158
|
oe,
|
|
17158
|
-
|
|
17159
|
+
Ct,
|
|
17159
17160
|
Hr
|
|
17160
17161
|
];
|
|
17161
17162
|
}
|
|
@@ -17166,7 +17167,7 @@ class rd extends Kr {
|
|
|
17166
17167
|
t,
|
|
17167
17168
|
sd,
|
|
17168
17169
|
od,
|
|
17169
|
-
|
|
17170
|
+
Xr,
|
|
17170
17171
|
{
|
|
17171
17172
|
endpoint: 30,
|
|
17172
17173
|
session: 0,
|
|
@@ -17192,94 +17193,94 @@ class rd extends Kr {
|
|
|
17192
17193
|
return this.$$.ctx[30];
|
|
17193
17194
|
}
|
|
17194
17195
|
set endpoint(t) {
|
|
17195
|
-
this.$$set({ endpoint: t }),
|
|
17196
|
+
this.$$set({ endpoint: t }), pe();
|
|
17196
17197
|
}
|
|
17197
17198
|
get session() {
|
|
17198
17199
|
return this.$$.ctx[0];
|
|
17199
17200
|
}
|
|
17200
17201
|
set session(t) {
|
|
17201
|
-
this.$$set({ session: t }),
|
|
17202
|
+
this.$$set({ session: t }), pe();
|
|
17202
17203
|
}
|
|
17203
17204
|
get userid() {
|
|
17204
17205
|
return this.$$.ctx[1];
|
|
17205
17206
|
}
|
|
17206
17207
|
set userid(t) {
|
|
17207
|
-
this.$$set({ userid: t }),
|
|
17208
|
+
this.$$set({ userid: t }), pe();
|
|
17208
17209
|
}
|
|
17209
17210
|
get lang() {
|
|
17210
17211
|
return this.$$.ctx[2];
|
|
17211
17212
|
}
|
|
17212
17213
|
set lang(t) {
|
|
17213
|
-
this.$$set({ lang: t }),
|
|
17214
|
+
this.$$set({ lang: t }), pe();
|
|
17214
17215
|
}
|
|
17215
17216
|
get gmversion() {
|
|
17216
17217
|
return this.$$.ctx[31];
|
|
17217
17218
|
}
|
|
17218
17219
|
set gmversion(t) {
|
|
17219
|
-
this.$$set({ gmversion: t }),
|
|
17220
|
+
this.$$set({ gmversion: t }), pe();
|
|
17220
17221
|
}
|
|
17221
17222
|
get operator() {
|
|
17222
17223
|
return this.$$.ctx[3];
|
|
17223
17224
|
}
|
|
17224
17225
|
set operator(t) {
|
|
17225
|
-
this.$$set({ operator: t }),
|
|
17226
|
+
this.$$set({ operator: t }), pe();
|
|
17226
17227
|
}
|
|
17227
17228
|
get supportemail() {
|
|
17228
17229
|
return this.$$.ctx[4];
|
|
17229
17230
|
}
|
|
17230
17231
|
set supportemail(t) {
|
|
17231
|
-
this.$$set({ supportemail: t }),
|
|
17232
|
+
this.$$set({ supportemail: t }), pe();
|
|
17232
17233
|
}
|
|
17233
17234
|
get baseurl() {
|
|
17234
17235
|
return this.$$.ctx[5];
|
|
17235
17236
|
}
|
|
17236
17237
|
set baseurl(t) {
|
|
17237
|
-
this.$$set({ baseurl: t }),
|
|
17238
|
+
this.$$set({ baseurl: t }), pe();
|
|
17238
17239
|
}
|
|
17239
17240
|
get clientstyling() {
|
|
17240
17241
|
return this.$$.ctx[6];
|
|
17241
17242
|
}
|
|
17242
17243
|
set clientstyling(t) {
|
|
17243
|
-
this.$$set({ clientstyling: t }),
|
|
17244
|
+
this.$$set({ clientstyling: t }), pe();
|
|
17244
17245
|
}
|
|
17245
17246
|
get clientstylingurl() {
|
|
17246
17247
|
return this.$$.ctx[7];
|
|
17247
17248
|
}
|
|
17248
17249
|
set clientstylingurl(t) {
|
|
17249
|
-
this.$$set({ clientstylingurl: t }),
|
|
17250
|
+
this.$$set({ clientstylingurl: t }), pe();
|
|
17250
17251
|
}
|
|
17251
17252
|
get mbsource() {
|
|
17252
17253
|
return this.$$.ctx[8];
|
|
17253
17254
|
}
|
|
17254
17255
|
set mbsource(t) {
|
|
17255
|
-
this.$$set({ mbsource: t }),
|
|
17256
|
+
this.$$set({ mbsource: t }), pe();
|
|
17256
17257
|
}
|
|
17257
17258
|
get translationurl() {
|
|
17258
17259
|
return this.$$.ctx[32];
|
|
17259
17260
|
}
|
|
17260
17261
|
set translationurl(t) {
|
|
17261
|
-
this.$$set({ translationurl: t }),
|
|
17262
|
+
this.$$set({ translationurl: t }), pe();
|
|
17262
17263
|
}
|
|
17263
17264
|
get hasconfirmationmodal() {
|
|
17264
17265
|
return this.$$.ctx[33];
|
|
17265
17266
|
}
|
|
17266
17267
|
set hasconfirmationmodal(t) {
|
|
17267
|
-
this.$$set({ hasconfirmationmodal: t }),
|
|
17268
|
+
this.$$set({ hasconfirmationmodal: t }), pe();
|
|
17268
17269
|
}
|
|
17269
17270
|
get dateformat() {
|
|
17270
17271
|
return this.$$.ctx[34];
|
|
17271
17272
|
}
|
|
17272
17273
|
set dateformat(t) {
|
|
17273
|
-
this.$$set({ dateformat: t }),
|
|
17274
|
+
this.$$set({ dateformat: t }), pe();
|
|
17274
17275
|
}
|
|
17275
17276
|
get sendnotificationemail() {
|
|
17276
17277
|
return this.$$.ctx[35];
|
|
17277
17278
|
}
|
|
17278
17279
|
set sendnotificationemail(t) {
|
|
17279
|
-
this.$$set({ sendnotificationemail: t }),
|
|
17280
|
+
this.$$set({ sendnotificationemail: t }), pe();
|
|
17280
17281
|
}
|
|
17281
17282
|
}
|
|
17282
|
-
|
|
17283
|
+
Jr(rd, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
17283
17284
|
export {
|
|
17284
17285
|
rd as default
|
|
17285
17286
|
};
|