@everymatrix/player-account-timeout 1.75.0 → 1.75.1
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-BAzIqzPO.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-5qFM4_q7.js → PlayerAccountGeneralConfirmationModal-D1513x8q.js} +832 -811
- package/components/{PlayerAccountGeneralConfirmationModal-CDWu9PDO.js → PlayerAccountGeneralConfirmationModal-DdwHxQsA.js} +846 -825
- package/components/{PlayerAccountTimeout-BKeRlSSh.cjs → PlayerAccountTimeout-Cnch2LQE.cjs} +75 -75
- package/components/{PlayerAccountTimeout-DJzkcdJo.js → PlayerAccountTimeout-DChhhH6N.js} +506 -509
- package/components/{PlayerAccountTimeout-EpPro8ec.js → PlayerAccountTimeout-e4RmTTAz.js} +109 -112
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BeKKnKhR.js +519 -0
- package/stencil/index-b2193545-HC0t7mHa.js +503 -0
- package/stencil/index-b2193545-YW9b062G.cjs +1 -0
- package/stencil/{ui-skeleton-BPqjm-YB.cjs → ui-skeleton-BL4789dS.cjs} +1 -1
- package/stencil/{ui-skeleton-CWuMYFGQ.js → ui-skeleton-Ca5rz3Hv.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CW3z59Qf.js → ui-skeleton-ae35c6f2-BDBUiN3S.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DlexSQlT.js → ui-skeleton-ae35c6f2-Cn0ZM_hs.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CKJgMm_5.cjs → ui-skeleton-ae35c6f2-xLf3HyeB.cjs} +1 -1
- package/stencil/{ui-skeleton-NZtdK490.js → ui-skeleton-hI4GeaLk.js} +2 -2
- package/components/PlayerAccountGeneralConfirmationModal-Cuo9r0rD.cjs +0 -18
- package/stencil/index-b2193545-BtPvM93e.js +0 -519
- package/stencil/index-b2193545-CgelUAhE.cjs +0 -1
- package/stencil/index-b2193545-D_KBbaD-.js +0 -503
|
@@ -2,15 +2,15 @@ var Dr = Object.defineProperty, kr = Object.defineProperties;
|
|
|
2
2
|
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Xi = Object.getOwnPropertySymbols;
|
|
4
4
|
var Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Zi = (o, t, e) => t in o ? Dr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
5
|
+
var Zi = (o, t, e) => t in o ? Dr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Lt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
Pr.call(t, e) && Zi(o, e, t[e]);
|
|
8
8
|
if (Xi)
|
|
9
9
|
for (var e of Xi(t))
|
|
10
10
|
Or.call(t, e) && Zi(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, $t = (o, t) => kr(o, Sr(t));
|
|
13
|
+
var ft = (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 pt = (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 { c as Mr, g as Ir, a as Nr, $ as Fr, S as zr, i as Lr, f as ce,
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { c as Mr, g as Ir, a as Nr, $ as Fr, S as zr, i as Lr, f as ce, s as $r, b as Rr, d as Hr, n as oi, e as oe, h as se, j as M, k as Br, l as Vr, o as Ur, m as jr, p as Qi, q as x, r as Y, t as A, u as eo, v as N, w as to, x as Yr, y as Wr, z as ge, A as io, B as bt, C as pe, D as qr, E as Kr, F as Ie, G as oo, H as Gr, I as Jr, J as Xr, K as Zr } from "./PlayerAccountGeneralConfirmationModal-DdwHxQsA.js";
|
|
30
|
+
import "../stencil/ui-skeleton-Ca5rz3Hv.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
34
34
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
35
35
|
*/
|
|
36
|
-
function le(o, t = "24.5.
|
|
36
|
+
function le(o, t = "24.5.12") {
|
|
37
37
|
Object.defineProperty(o, "version", {
|
|
38
38
|
get() {
|
|
39
39
|
return t;
|
|
@@ -65,17 +65,17 @@ le(Qr);
|
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const
|
|
69
|
-
let
|
|
68
|
+
const wt = globalThis, Di = wt.ShadowRoot && (wt.ShadyCSS === void 0 || wt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ki = Symbol(), so = /* @__PURE__ */ new WeakMap();
|
|
69
|
+
let Si = class {
|
|
70
70
|
constructor(t, e, i) {
|
|
71
|
-
if (this._$cssResult$ = !0, i !==
|
|
71
|
+
if (this._$cssResult$ = !0, i !== ki)
|
|
72
72
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
73
73
|
this.cssText = t, this.t = e;
|
|
74
74
|
}
|
|
75
75
|
get styleSheet() {
|
|
76
76
|
let t = this.o;
|
|
77
77
|
const e = this.t;
|
|
78
|
-
if (
|
|
78
|
+
if (Di && t === void 0) {
|
|
79
79
|
const i = e !== void 0 && e.length === 1;
|
|
80
80
|
i && (t = so.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && so.set(e, t));
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@ let ki = class {
|
|
|
85
85
|
return this.cssText;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
const en = (o) => new
|
|
88
|
+
const en = (o) => new Si(typeof o == "string" ? o : o + "", void 0, ki), P = (o, ...t) => {
|
|
89
89
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
90
90
|
if (n._$cssResult$ === !0)
|
|
91
91
|
return n.cssText;
|
|
@@ -93,16 +93,16 @@ const en = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Di), P = (o,
|
|
|
93
93
|
return n;
|
|
94
94
|
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.");
|
|
95
95
|
})(s) + o[r + 1], o[0]);
|
|
96
|
-
return new
|
|
96
|
+
return new Si(e, o, ki);
|
|
97
97
|
}, os = (o, t) => {
|
|
98
|
-
if (
|
|
98
|
+
if (Di)
|
|
99
99
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
100
100
|
else
|
|
101
101
|
for (const e of t) {
|
|
102
|
-
const i = document.createElement("style"), s =
|
|
102
|
+
const i = document.createElement("style"), s = wt.litNonce;
|
|
103
103
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
104
104
|
}
|
|
105
|
-
}, ro =
|
|
105
|
+
}, ro = Di ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
106
106
|
let e = "";
|
|
107
107
|
for (const i of t.cssRules)
|
|
108
108
|
e += i.cssText;
|
|
@@ -113,7 +113,7 @@ const en = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Di), P = (o,
|
|
|
113
113
|
* Copyright 2017 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
115
|
*/
|
|
116
|
-
const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnPropertyNames: rn, getOwnPropertySymbols: nn, getPrototypeOf: an } = Object, ye = globalThis, no = ye.trustedTypes, ln = no ? no.emptyScript : "",
|
|
116
|
+
const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnPropertyNames: rn, getOwnPropertySymbols: nn, getPrototypeOf: an } = Object, ye = globalThis, no = ye.trustedTypes, ln = no ? no.emptyScript : "", Rt = ye.reactiveElementPolyfillSupport, et = (o, t) => o, si = { toAttribute(o, t) {
|
|
117
117
|
switch (t) {
|
|
118
118
|
case Boolean:
|
|
119
119
|
o = o ? ln : null;
|
|
@@ -141,10 +141,10 @@ const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnProperty
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
return e;
|
|
144
|
-
} }, ss = (o, t) => !tn(o, t), ao = { attribute: !0, type: String, converter:
|
|
144
|
+
} }, ss = (o, t) => !tn(o, t), ao = { attribute: !0, type: String, converter: si, reflect: !1, useDefault: !1, hasChanged: ss };
|
|
145
145
|
var Xo, Zo;
|
|
146
146
|
(Xo = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Zo = ye.litPropertyMetadata) != null || (ye.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
|
-
class
|
|
147
|
+
class Fe extends HTMLElement {
|
|
148
148
|
static addInitializer(t) {
|
|
149
149
|
var e;
|
|
150
150
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -153,7 +153,7 @@ class Ne extends HTMLElement {
|
|
|
153
153
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
154
154
|
}
|
|
155
155
|
static createProperty(t, e = ao) {
|
|
156
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
156
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
157
157
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
158
158
|
s !== void 0 && on(this.prototype, t, s);
|
|
159
159
|
}
|
|
@@ -165,11 +165,9 @@ class Ne extends HTMLElement {
|
|
|
165
165
|
}, set(a) {
|
|
166
166
|
this[e] = a;
|
|
167
167
|
} };
|
|
168
|
-
return { get() {
|
|
169
|
-
return s == null ? void 0 : s.call(this);
|
|
170
|
-
}, set(a) {
|
|
168
|
+
return { get: s, set(a) {
|
|
171
169
|
const l = s == null ? void 0 : s.call(this);
|
|
172
|
-
r.call(this, a), this.requestUpdate(t, l, i);
|
|
170
|
+
r == null || r.call(this, a), this.requestUpdate(t, l, i);
|
|
173
171
|
}, configurable: !0, enumerable: !0 };
|
|
174
172
|
}
|
|
175
173
|
static getPropertyOptions(t) {
|
|
@@ -177,15 +175,15 @@ class Ne extends HTMLElement {
|
|
|
177
175
|
return (e = this.elementProperties.get(t)) != null ? e : ao;
|
|
178
176
|
}
|
|
179
177
|
static _$Ei() {
|
|
180
|
-
if (this.hasOwnProperty(
|
|
178
|
+
if (this.hasOwnProperty(et("elementProperties")))
|
|
181
179
|
return;
|
|
182
180
|
const t = an(this);
|
|
183
181
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
182
|
}
|
|
185
183
|
static finalize() {
|
|
186
|
-
if (this.hasOwnProperty(
|
|
184
|
+
if (this.hasOwnProperty(et("finalized")))
|
|
187
185
|
return;
|
|
188
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
186
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(et("properties"))) {
|
|
189
187
|
const e = this.properties, i = [...rn(e), ...nn(e)];
|
|
190
188
|
for (const s of i)
|
|
191
189
|
this.createProperty(s, e[s]);
|
|
@@ -263,37 +261,38 @@ class Ne extends HTMLElement {
|
|
|
263
261
|
attributeChangedCallback(t, e, i) {
|
|
264
262
|
this._$AK(t, i);
|
|
265
263
|
}
|
|
266
|
-
_$
|
|
264
|
+
_$ET(t, e) {
|
|
267
265
|
var r;
|
|
268
266
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
269
267
|
if (s !== void 0 && i.reflect === !0) {
|
|
270
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
268
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : si).toAttribute(e, i.type);
|
|
271
269
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
272
270
|
}
|
|
273
271
|
}
|
|
274
272
|
_$AK(t, e) {
|
|
275
|
-
var r;
|
|
273
|
+
var r, n, a, l;
|
|
276
274
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
277
275
|
if (s !== void 0 && this._$Em !== s) {
|
|
278
|
-
const
|
|
279
|
-
this._$Em = s, this[s] = a.fromAttribute(e,
|
|
276
|
+
const d = i.getPropertyOptions(s), c = typeof d.converter == "function" ? { fromAttribute: d.converter } : ((r = d.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? d.converter : si;
|
|
277
|
+
this._$Em = s, this[s] = (l = (a = c.fromAttribute(e, d.type)) != null ? a : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? l : null, this._$Em = null;
|
|
280
278
|
}
|
|
281
279
|
}
|
|
282
280
|
requestUpdate(t, e, i) {
|
|
283
|
-
var s;
|
|
281
|
+
var s, r;
|
|
284
282
|
if (t !== void 0) {
|
|
285
|
-
|
|
283
|
+
const n = this.constructor, a = this[t];
|
|
284
|
+
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : ss)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
286
285
|
return;
|
|
287
|
-
this.
|
|
286
|
+
this.C(t, e, i);
|
|
288
287
|
}
|
|
289
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
288
|
+
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
290
289
|
}
|
|
291
|
-
|
|
292
|
-
var
|
|
293
|
-
this._$AL.has(t) || this._$AL.set(t, e),
|
|
290
|
+
C(t, e, { useDefault: i, reflect: s, wrapped: r }, n) {
|
|
291
|
+
var a, l, d;
|
|
292
|
+
i && !((a = this._$Ej) != null ? a : this._$Ej = /* @__PURE__ */ new Map()).has(t) && (this._$Ej.set(t, (l = n != null ? n : e) != null ? l : this[t]), r !== !0 || n !== void 0) || (this._$AL.has(t) || (this.hasUpdated || i || (e = void 0), this._$AL.set(t, e)), s === !0 && this._$Em !== t && ((d = this._$Eq) != null ? d : this._$Eq = /* @__PURE__ */ new Set()).add(t));
|
|
294
293
|
}
|
|
295
|
-
_$
|
|
296
|
-
return
|
|
294
|
+
_$EP() {
|
|
295
|
+
return ft(this, null, function* () {
|
|
297
296
|
this.isUpdatePending = !0;
|
|
298
297
|
try {
|
|
299
298
|
yield this._$ES;
|
|
@@ -319,8 +318,10 @@ class Ne extends HTMLElement {
|
|
|
319
318
|
}
|
|
320
319
|
const r = this.constructor.elementProperties;
|
|
321
320
|
if (r.size > 0)
|
|
322
|
-
for (const [n, a] of r)
|
|
323
|
-
|
|
321
|
+
for (const [n, a] of r) {
|
|
322
|
+
const { wrapped: l } = a, d = this[n];
|
|
323
|
+
l !== !0 || this._$AL.has(n) || d === void 0 || this.C(n, void 0, a, d);
|
|
324
|
+
}
|
|
324
325
|
}
|
|
325
326
|
let t = !1;
|
|
326
327
|
const e = this._$AL;
|
|
@@ -328,9 +329,9 @@ class Ne extends HTMLElement {
|
|
|
328
329
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
329
330
|
var n;
|
|
330
331
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
331
|
-
}), this.update(e)) : this._$
|
|
332
|
+
}), this.update(e)) : this._$EM();
|
|
332
333
|
} catch (r) {
|
|
333
|
-
throw t = !1, this._$
|
|
334
|
+
throw t = !1, this._$EM(), r;
|
|
334
335
|
}
|
|
335
336
|
t && this._$AE(e);
|
|
336
337
|
}
|
|
@@ -343,7 +344,7 @@ class Ne extends HTMLElement {
|
|
|
343
344
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
344
345
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
345
346
|
}
|
|
346
|
-
_$
|
|
347
|
+
_$EM() {
|
|
347
348
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
348
349
|
}
|
|
349
350
|
get updateComplete() {
|
|
@@ -356,7 +357,7 @@ class Ne extends HTMLElement {
|
|
|
356
357
|
return !0;
|
|
357
358
|
}
|
|
358
359
|
update(t) {
|
|
359
|
-
this._$
|
|
360
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
|
|
360
361
|
}
|
|
361
362
|
updated(t) {
|
|
362
363
|
}
|
|
@@ -364,40 +365,40 @@ class Ne extends HTMLElement {
|
|
|
364
365
|
}
|
|
365
366
|
}
|
|
366
367
|
var Qo;
|
|
367
|
-
|
|
368
|
+
Fe.elementStyles = [], Fe.shadowRootOptions = { mode: "open" }, Fe[et("elementProperties")] = /* @__PURE__ */ new Map(), Fe[et("finalized")] = /* @__PURE__ */ new Map(), Rt == null || Rt({ ReactiveElement: Fe }), ((Qo = ye.reactiveElementVersions) != null ? Qo : ye.reactiveElementVersions = []).push("2.1.0");
|
|
368
369
|
/**
|
|
369
370
|
* @license
|
|
370
371
|
* Copyright 2017 Google LLC
|
|
371
372
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
372
373
|
*/
|
|
373
|
-
const
|
|
374
|
-
\f\r]`,
|
|
375
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), ho = /'/g, po = /"/g, as = /^(?:script|style|textarea|title)$/i,
|
|
374
|
+
const tt = globalThis, Ct = tt.trustedTypes, lo = Ct ? Ct.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, rs = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, ns = "?" + _e, dn = `<${ns}>`, Se = document, ot = () => Se.createComment(""), st = (o) => o === null || typeof o != "object" && typeof o != "function", Pi = Array.isArray, cn = (o) => Pi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Ht = `[
|
|
375
|
+
\f\r]`, qe = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, co = /-->/g, uo = />/g, Ce = RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^
|
|
376
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ho = /'/g, po = /"/g, as = /^(?:script|style|textarea|title)$/i, He = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), fo = /* @__PURE__ */ new WeakMap(), Ae = Se.createTreeWalker(Se, 129);
|
|
376
377
|
function ls(o, t) {
|
|
377
|
-
if (!
|
|
378
|
+
if (!Pi(o) || !o.hasOwnProperty("raw"))
|
|
378
379
|
throw Error("invalid template strings array");
|
|
379
380
|
return lo !== void 0 ? lo.createHTML(t) : t;
|
|
380
381
|
}
|
|
381
382
|
const un = (o, t) => {
|
|
382
383
|
const e = o.length - 1, i = [];
|
|
383
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
384
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = qe;
|
|
384
385
|
for (let a = 0; a < e; a++) {
|
|
385
386
|
const l = o[a];
|
|
386
387
|
let d, c, u = -1, h = 0;
|
|
387
388
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
388
|
-
h = n.lastIndex, n ===
|
|
389
|
+
h = n.lastIndex, n === qe ? c[1] === "!--" ? n = co : c[1] !== void 0 ? n = uo : c[2] !== void 0 ? (as.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = Ce) : c[3] !== void 0 && (n = Ce) : n === Ce ? c[0] === ">" ? (n = s != null ? s : qe, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ce : c[3] === '"' ? po : ho) : n === po || n === ho ? n = Ce : n === co || n === uo ? n = qe : (n = Ce, s = void 0);
|
|
389
390
|
const p = n === Ce && o[a + 1].startsWith("/>") ? " " : "";
|
|
390
|
-
r += n ===
|
|
391
|
+
r += n === qe ? l + dn : u >= 0 ? (i.push(d), l.slice(0, u) + rs + l.slice(u) + _e + p) : l + _e + (u === -2 ? a : p);
|
|
391
392
|
}
|
|
392
393
|
return [ls(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
393
394
|
};
|
|
394
|
-
class
|
|
395
|
+
class rt {
|
|
395
396
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
396
397
|
let s;
|
|
397
398
|
this.parts = [];
|
|
398
399
|
let r = 0, n = 0;
|
|
399
400
|
const a = t.length - 1, l = this.parts, [d, c] = un(t, e);
|
|
400
|
-
if (this.el =
|
|
401
|
+
if (this.el = rt.createElement(d, i), Ae.currentNode = this.el.content, e === 2 || e === 3) {
|
|
401
402
|
const u = this.el.content.firstChild;
|
|
402
403
|
u.replaceWith(...u.childNodes);
|
|
403
404
|
}
|
|
@@ -407,16 +408,16 @@ class st {
|
|
|
407
408
|
for (const u of s.getAttributeNames())
|
|
408
409
|
if (u.endsWith(rs)) {
|
|
409
410
|
const h = c[n++], p = s.getAttribute(u).split(_e), y = /([.?@])?(.*)/.exec(h);
|
|
410
|
-
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? pn : y[1] === "?" ? fn : y[1] === "@" ? mn :
|
|
411
|
+
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? pn : y[1] === "?" ? fn : y[1] === "@" ? mn : Ot }), s.removeAttribute(u);
|
|
411
412
|
} else
|
|
412
413
|
u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
413
414
|
if (as.test(s.tagName)) {
|
|
414
415
|
const u = s.textContent.split(_e), h = u.length - 1;
|
|
415
416
|
if (h > 0) {
|
|
416
|
-
s.textContent =
|
|
417
|
+
s.textContent = Ct ? Ct.emptyScript : "";
|
|
417
418
|
for (let p = 0; p < h; p++)
|
|
418
|
-
s.append(u[p],
|
|
419
|
-
s.append(u[h],
|
|
419
|
+
s.append(u[p], ot()), Ae.nextNode(), l.push({ type: 2, index: ++r });
|
|
420
|
+
s.append(u[h], ot());
|
|
420
421
|
}
|
|
421
422
|
}
|
|
422
423
|
} else if (s.nodeType === 8)
|
|
@@ -431,17 +432,17 @@ class st {
|
|
|
431
432
|
}
|
|
432
433
|
}
|
|
433
434
|
static createElement(t, e) {
|
|
434
|
-
const i =
|
|
435
|
+
const i = Se.createElement("template");
|
|
435
436
|
return i.innerHTML = t, i;
|
|
436
437
|
}
|
|
437
438
|
}
|
|
438
|
-
function
|
|
439
|
+
function Be(o, t, e = o, i) {
|
|
439
440
|
var n, a, l;
|
|
440
|
-
if (t ===
|
|
441
|
+
if (t === He)
|
|
441
442
|
return t;
|
|
442
443
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
443
|
-
const r =
|
|
444
|
-
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 =
|
|
444
|
+
const r = st(t) ? void 0 : t._$litDirective$;
|
|
445
|
+
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 = Be(o, s._$AS(o, t.values), s, i)), t;
|
|
445
446
|
}
|
|
446
447
|
class hn {
|
|
447
448
|
constructor(t, e) {
|
|
@@ -455,17 +456,17 @@ class hn {
|
|
|
455
456
|
}
|
|
456
457
|
u(t) {
|
|
457
458
|
var d;
|
|
458
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((d = t == null ? void 0 : t.creationScope) != null ? d :
|
|
459
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((d = t == null ? void 0 : t.creationScope) != null ? d : Se).importNode(e, !0);
|
|
459
460
|
Ae.currentNode = s;
|
|
460
461
|
let r = Ae.nextNode(), n = 0, a = 0, l = i[0];
|
|
461
462
|
for (; l !== void 0; ) {
|
|
462
463
|
if (n === l.index) {
|
|
463
464
|
let c;
|
|
464
|
-
l.type === 2 ? c = new
|
|
465
|
+
l.type === 2 ? c = new ht(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new _n(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
465
466
|
}
|
|
466
467
|
n !== (l == null ? void 0 : l.index) && (r = Ae.nextNode(), n++);
|
|
467
468
|
}
|
|
468
|
-
return Ae.currentNode =
|
|
469
|
+
return Ae.currentNode = Se, s;
|
|
469
470
|
}
|
|
470
471
|
p(t) {
|
|
471
472
|
let e = 0;
|
|
@@ -473,7 +474,7 @@ class hn {
|
|
|
473
474
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
|
-
class
|
|
477
|
+
class ht {
|
|
477
478
|
get _$AU() {
|
|
478
479
|
var t, e;
|
|
479
480
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -494,7 +495,7 @@ class ut {
|
|
|
494
495
|
return this._$AB;
|
|
495
496
|
}
|
|
496
497
|
_$AI(t, e = this) {
|
|
497
|
-
t =
|
|
498
|
+
t = Be(this, t, e), st(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== He && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : cn(t) ? this.k(t) : this._(t);
|
|
498
499
|
}
|
|
499
500
|
O(t) {
|
|
500
501
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -503,11 +504,11 @@ class ut {
|
|
|
503
504
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
504
505
|
}
|
|
505
506
|
_(t) {
|
|
506
|
-
this._$AH !== j &&
|
|
507
|
+
this._$AH !== j && st(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Se.createTextNode(t)), this._$AH = t;
|
|
507
508
|
}
|
|
508
509
|
$(t) {
|
|
509
510
|
var r;
|
|
510
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
511
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = rt.createElement(ls(i.h, i.h[0]), this.options)), i);
|
|
511
512
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
512
513
|
this._$AH.p(e);
|
|
513
514
|
else {
|
|
@@ -517,14 +518,14 @@ class ut {
|
|
|
517
518
|
}
|
|
518
519
|
_$AC(t) {
|
|
519
520
|
let e = fo.get(t.strings);
|
|
520
|
-
return e === void 0 && fo.set(t.strings, e = new
|
|
521
|
+
return e === void 0 && fo.set(t.strings, e = new rt(t)), e;
|
|
521
522
|
}
|
|
522
523
|
k(t) {
|
|
523
|
-
|
|
524
|
+
Pi(this._$AH) || (this._$AH = [], this._$AR());
|
|
524
525
|
const e = this._$AH;
|
|
525
526
|
let i, s = 0;
|
|
526
527
|
for (const r of t)
|
|
527
|
-
s === e.length ? e.push(i = new
|
|
528
|
+
s === e.length ? e.push(i = new ht(this.O(ot()), this.O(ot()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
528
529
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
529
530
|
}
|
|
530
531
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -539,7 +540,7 @@ class ut {
|
|
|
539
540
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
540
541
|
}
|
|
541
542
|
}
|
|
542
|
-
class
|
|
543
|
+
class Ot {
|
|
543
544
|
get tagName() {
|
|
544
545
|
return this.element.tagName;
|
|
545
546
|
}
|
|
@@ -553,12 +554,12 @@ class Pt {
|
|
|
553
554
|
const r = this.strings;
|
|
554
555
|
let n = !1;
|
|
555
556
|
if (r === void 0)
|
|
556
|
-
t =
|
|
557
|
+
t = Be(this, t, e, 0), n = !st(t) || t !== this._$AH && t !== He, n && (this._$AH = t);
|
|
557
558
|
else {
|
|
558
559
|
const a = t;
|
|
559
560
|
let l, d;
|
|
560
561
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
561
|
-
d =
|
|
562
|
+
d = Be(this, a[i + l], e, l), d === He && (d = this._$AH[l]), n || (n = !st(d) || d !== this._$AH[l]), d === j ? t = j : t !== j && (t += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
|
|
562
563
|
}
|
|
563
564
|
n && !s && this.j(t);
|
|
564
565
|
}
|
|
@@ -566,7 +567,7 @@ class Pt {
|
|
|
566
567
|
t === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
567
568
|
}
|
|
568
569
|
}
|
|
569
|
-
class pn extends
|
|
570
|
+
class pn extends Ot {
|
|
570
571
|
constructor() {
|
|
571
572
|
super(...arguments), this.type = 3;
|
|
572
573
|
}
|
|
@@ -574,7 +575,7 @@ class pn extends Pt {
|
|
|
574
575
|
this.element[this.name] = t === j ? void 0 : t;
|
|
575
576
|
}
|
|
576
577
|
}
|
|
577
|
-
class fn extends
|
|
578
|
+
class fn extends Ot {
|
|
578
579
|
constructor() {
|
|
579
580
|
super(...arguments), this.type = 4;
|
|
580
581
|
}
|
|
@@ -582,13 +583,13 @@ class fn extends Pt {
|
|
|
582
583
|
this.element.toggleAttribute(this.name, !!t && t !== j);
|
|
583
584
|
}
|
|
584
585
|
}
|
|
585
|
-
class mn extends
|
|
586
|
+
class mn extends Ot {
|
|
586
587
|
constructor(t, e, i, s, r) {
|
|
587
588
|
super(t, e, i, s, r), this.type = 5;
|
|
588
589
|
}
|
|
589
590
|
_$AI(t, e = this) {
|
|
590
591
|
var n;
|
|
591
|
-
if ((t = (n =
|
|
592
|
+
if ((t = (n = Be(this, t, e, 0)) != null ? n : j) === He)
|
|
592
593
|
return;
|
|
593
594
|
const i = this._$AH, s = t === j && i !== j || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== j && (i === j || s);
|
|
594
595
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -606,19 +607,19 @@ class _n {
|
|
|
606
607
|
return this._$AM._$AU;
|
|
607
608
|
}
|
|
608
609
|
_$AI(t) {
|
|
609
|
-
|
|
610
|
+
Be(this, t);
|
|
610
611
|
}
|
|
611
612
|
}
|
|
612
|
-
const
|
|
613
|
+
const Bt = tt.litHtmlPolyfillSupport;
|
|
613
614
|
var es;
|
|
614
|
-
|
|
615
|
+
Bt == null || Bt(rt, ht), ((es = tt.litHtmlVersions) != null ? es : tt.litHtmlVersions = []).push("3.3.0");
|
|
615
616
|
const gn = (o, t, e) => {
|
|
616
617
|
var r, n;
|
|
617
618
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
618
619
|
let s = i._$litPart$;
|
|
619
620
|
if (s === void 0) {
|
|
620
621
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
621
|
-
i._$litPart$ = s = new
|
|
622
|
+
i._$litPart$ = s = new ht(t.insertBefore(ot(), a), a, void 0, e != null ? e : {});
|
|
622
623
|
}
|
|
623
624
|
return s._$AI(o), s;
|
|
624
625
|
};
|
|
@@ -627,7 +628,8 @@ const gn = (o, t, e) => {
|
|
|
627
628
|
* Copyright 2017 Google LLC
|
|
628
629
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
629
630
|
*/
|
|
630
|
-
|
|
631
|
+
const De = globalThis;
|
|
632
|
+
class ze extends Fe {
|
|
631
633
|
constructor() {
|
|
632
634
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
633
635
|
}
|
|
@@ -649,15 +651,15 @@ class Fe extends Ne {
|
|
|
649
651
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
650
652
|
}
|
|
651
653
|
render() {
|
|
652
|
-
return
|
|
654
|
+
return He;
|
|
653
655
|
}
|
|
654
656
|
}
|
|
655
657
|
var ts;
|
|
656
|
-
|
|
657
|
-
const
|
|
658
|
-
|
|
658
|
+
ze._$litElement$ = !0, ze.finalized = !0, (ts = De.litElementHydrateSupport) == null || ts.call(De, { LitElement: ze });
|
|
659
|
+
const Vt = De.litElementPolyfillSupport;
|
|
660
|
+
Vt == null || Vt({ LitElement: ze });
|
|
659
661
|
var is;
|
|
660
|
-
((is =
|
|
662
|
+
((is = De.litElementVersions) != null ? is : De.litElementVersions = []).push("4.2.0");
|
|
661
663
|
/**
|
|
662
664
|
* @license
|
|
663
665
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -702,7 +704,7 @@ const yn = (o) => class extends o {
|
|
|
702
704
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
703
705
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
704
706
|
*/
|
|
705
|
-
const ds = [],
|
|
707
|
+
const ds = [], ri = /* @__PURE__ */ new Set(), Oi = /* @__PURE__ */ new Set();
|
|
706
708
|
function cs(o) {
|
|
707
709
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
708
710
|
}
|
|
@@ -710,7 +712,7 @@ function vn(o) {
|
|
|
710
712
|
return cs(customElements.get(o));
|
|
711
713
|
}
|
|
712
714
|
function bn(o = []) {
|
|
713
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
715
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Si ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
714
716
|
}
|
|
715
717
|
function us(o, t) {
|
|
716
718
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -719,36 +721,36 @@ function hs(o) {
|
|
|
719
721
|
return o.map((t) => t.cssText).join(`
|
|
720
722
|
`);
|
|
721
723
|
}
|
|
722
|
-
const
|
|
724
|
+
const At = "vaadin-themable-mixin-style";
|
|
723
725
|
function wn(o, t) {
|
|
724
726
|
const e = document.createElement("style");
|
|
725
|
-
e.id =
|
|
727
|
+
e.id = At, e.textContent = hs(o), t.content.appendChild(e);
|
|
726
728
|
}
|
|
727
729
|
function xn(o) {
|
|
728
730
|
if (!o.shadowRoot)
|
|
729
731
|
return;
|
|
730
732
|
const t = o.constructor;
|
|
731
|
-
if (o instanceof
|
|
733
|
+
if (o instanceof ze)
|
|
732
734
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), os(o.shadowRoot, t.elementStyles);
|
|
733
735
|
else {
|
|
734
|
-
const e = o.shadowRoot.getElementById(
|
|
735
|
-
e.textContent = i.content.getElementById(
|
|
736
|
+
const e = o.shadowRoot.getElementById(At), i = t.prototype._template;
|
|
737
|
+
e.textContent = i.content.getElementById(At).textContent;
|
|
736
738
|
}
|
|
737
739
|
}
|
|
738
740
|
function Cn(o) {
|
|
739
|
-
|
|
741
|
+
ri.forEach((t) => {
|
|
740
742
|
const e = t.deref();
|
|
741
|
-
e instanceof o ? xn(e) : e ||
|
|
743
|
+
e instanceof o ? xn(e) : e || ri.delete(t);
|
|
742
744
|
});
|
|
743
745
|
}
|
|
744
746
|
function ps(o) {
|
|
745
|
-
if (o.prototype instanceof
|
|
747
|
+
if (o.prototype instanceof ze)
|
|
746
748
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
747
749
|
else {
|
|
748
750
|
const t = o.prototype._template;
|
|
749
|
-
t.content.getElementById(
|
|
751
|
+
t.content.getElementById(At).textContent = hs(o.getStylesForThis());
|
|
750
752
|
}
|
|
751
|
-
|
|
753
|
+
Oi.forEach((t) => {
|
|
752
754
|
const e = customElements.get(t);
|
|
753
755
|
e !== o && e.prototype instanceof o && ps(e);
|
|
754
756
|
});
|
|
@@ -765,7 +767,7 @@ function H(o, t, e = {}) {
|
|
|
765
767
|
styles: t,
|
|
766
768
|
include: e.include,
|
|
767
769
|
moduleId: e.moduleId
|
|
768
|
-
}), o &&
|
|
770
|
+
}), o && Oi.forEach((i) => {
|
|
769
771
|
if (us(o, i) && vn(i)) {
|
|
770
772
|
const s = customElements.get(i);
|
|
771
773
|
An(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -774,7 +776,7 @@ function H(o, t, e = {}) {
|
|
|
774
776
|
}
|
|
775
777
|
});
|
|
776
778
|
}
|
|
777
|
-
function
|
|
779
|
+
function ni() {
|
|
778
780
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ds;
|
|
779
781
|
}
|
|
780
782
|
function Tn(o = "") {
|
|
@@ -784,29 +786,29 @@ function Tn(o = "") {
|
|
|
784
786
|
function fs(o) {
|
|
785
787
|
const t = [];
|
|
786
788
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
787
|
-
const i =
|
|
789
|
+
const i = ni().find((s) => s.moduleId === e);
|
|
788
790
|
i ? t.push(...fs(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
789
791
|
}, o.styles), t;
|
|
790
792
|
}
|
|
791
793
|
function En(o) {
|
|
792
|
-
const t = `${o}-default-theme`, e =
|
|
794
|
+
const t = `${o}-default-theme`, e = ni().filter((i) => i.moduleId !== t && us(i.themeFor, o)).map((i) => $t(Lt({}, i), {
|
|
793
795
|
// Prepend styles from included themes
|
|
794
796
|
styles: [...fs(i), ...i.styles],
|
|
795
797
|
// Map moduleId to includePriority
|
|
796
798
|
includePriority: Tn(i.moduleId)
|
|
797
799
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
798
|
-
return e.length > 0 ? e :
|
|
800
|
+
return e.length > 0 ? e : ni().filter((i) => i.moduleId === t);
|
|
799
801
|
}
|
|
800
|
-
const
|
|
802
|
+
const Pe = (o) => class extends yn(o) {
|
|
801
803
|
constructor() {
|
|
802
|
-
super(),
|
|
804
|
+
super(), ri.add(new WeakRef(this));
|
|
803
805
|
}
|
|
804
806
|
/**
|
|
805
807
|
* Covers PolymerElement based component styling
|
|
806
808
|
* @protected
|
|
807
809
|
*/
|
|
808
810
|
static finalize() {
|
|
809
|
-
if (super.finalize(), this.is &&
|
|
811
|
+
if (super.finalize(), this.is && Oi.add(this.is), this.elementStyles)
|
|
810
812
|
return;
|
|
811
813
|
const e = this.prototype._template;
|
|
812
814
|
!e || cs(this) || wn(this.getStylesForThis(), e);
|
|
@@ -841,7 +843,7 @@ const Dn = (o, ...t) => {
|
|
|
841
843
|
const e = document.createElement("style");
|
|
842
844
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
843
845
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
844
|
-
},
|
|
846
|
+
}, je = (o, ...t) => {
|
|
845
847
|
Dn(`lumo-${o}`, t);
|
|
846
848
|
};
|
|
847
849
|
/**
|
|
@@ -865,7 +867,7 @@ const kn = P`
|
|
|
865
867
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
866
868
|
}
|
|
867
869
|
`;
|
|
868
|
-
|
|
870
|
+
je("sizing-props", kn);
|
|
869
871
|
/**
|
|
870
872
|
* @license
|
|
871
873
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -895,7 +897,7 @@ const Sn = P`
|
|
|
895
897
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
896
898
|
}
|
|
897
899
|
`;
|
|
898
|
-
|
|
900
|
+
je("spacing-props", Sn);
|
|
899
901
|
/**
|
|
900
902
|
* @license
|
|
901
903
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1003,7 +1005,7 @@ P`
|
|
|
1003
1005
|
--vaadin-input-field-value-font-weight: 500;
|
|
1004
1006
|
}
|
|
1005
1007
|
`;
|
|
1006
|
-
|
|
1008
|
+
je("style-props", Pn);
|
|
1007
1009
|
/**
|
|
1008
1010
|
* @license
|
|
1009
1011
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1095,7 +1097,7 @@ const On = P`
|
|
|
1095
1097
|
}
|
|
1096
1098
|
}
|
|
1097
1099
|
`;
|
|
1098
|
-
|
|
1100
|
+
je("color-props", On);
|
|
1099
1101
|
const Mn = P`
|
|
1100
1102
|
[theme~='dark'] {
|
|
1101
1103
|
/* Base (background) */
|
|
@@ -1335,7 +1337,7 @@ const In = P`
|
|
|
1335
1337
|
}
|
|
1336
1338
|
`;
|
|
1337
1339
|
H("", Nn, { moduleId: "lumo-typography" });
|
|
1338
|
-
|
|
1340
|
+
je("typography-props", In);
|
|
1339
1341
|
/**
|
|
1340
1342
|
* @license
|
|
1341
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2414,7 +2416,7 @@ const $n = P`
|
|
|
2414
2416
|
--lumo-icons-user: '\\ea2a';
|
|
2415
2417
|
}
|
|
2416
2418
|
`;
|
|
2417
|
-
|
|
2419
|
+
je("font-icons", $n);
|
|
2418
2420
|
/**
|
|
2419
2421
|
* @license
|
|
2420
2422
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2815,19 +2817,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2815
2817
|
Code distributed by Google as part of the polymer project is also
|
|
2816
2818
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2817
2819
|
*/
|
|
2818
|
-
let Vn = /(url\()([^)]*)(\))/g, Un = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2819
|
-
function
|
|
2820
|
+
let Vn = /(url\()([^)]*)(\))/g, Un = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, mt, Q;
|
|
2821
|
+
function it(o, t) {
|
|
2820
2822
|
if (o && Un.test(o) || o === "//")
|
|
2821
2823
|
return o;
|
|
2822
|
-
if (
|
|
2823
|
-
|
|
2824
|
+
if (mt === void 0) {
|
|
2825
|
+
mt = !1;
|
|
2824
2826
|
try {
|
|
2825
2827
|
const e = new URL("b", "http://a");
|
|
2826
|
-
e.pathname = "c%20d",
|
|
2828
|
+
e.pathname = "c%20d", mt = e.href === "http://a/c%20d";
|
|
2827
2829
|
} catch (e) {
|
|
2828
2830
|
}
|
|
2829
2831
|
}
|
|
2830
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2832
|
+
if (t || (t = document.baseURI || window.location.href), mt)
|
|
2831
2833
|
try {
|
|
2832
2834
|
return new URL(o, t).href;
|
|
2833
2835
|
} catch (e) {
|
|
@@ -2835,12 +2837,12 @@ function tt(o, t) {
|
|
|
2835
2837
|
}
|
|
2836
2838
|
return Q || (Q = document.implementation.createHTMLDocument("temp"), Q.base = Q.createElement("base"), Q.head.appendChild(Q.base), Q.anchor = Q.createElement("a"), Q.body.appendChild(Q.anchor)), Q.base.href = t, Q.anchor.href = o, Q.anchor.href || o;
|
|
2837
2839
|
}
|
|
2838
|
-
function
|
|
2840
|
+
function Mi(o, t) {
|
|
2839
2841
|
return o.replace(Vn, function(e, i, s, r) {
|
|
2840
|
-
return i + "'" +
|
|
2842
|
+
return i + "'" + it(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2841
2843
|
});
|
|
2842
2844
|
}
|
|
2843
|
-
function
|
|
2845
|
+
function Ii(o) {
|
|
2844
2846
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2845
2847
|
}
|
|
2846
2848
|
/**
|
|
@@ -2865,9 +2867,9 @@ const jn = ws && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2865
2867
|
return !1;
|
|
2866
2868
|
}
|
|
2867
2869
|
})();
|
|
2868
|
-
let Yn = window.Polymer && window.Polymer.rootPath ||
|
|
2870
|
+
let Yn = window.Polymer && window.Polymer.rootPath || Ii(document.baseURI || window.location.href), Tt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2869
2871
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2870
|
-
let
|
|
2872
|
+
let Et = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Wn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, xs = window.Polymer && window.Polymer.legacyOptimizations || !1, Cs = window.Polymer && window.Polymer.legacyWarnings || !1, qn = window.Polymer && window.Polymer.syncInitialRender || !1, ai = window.Polymer && window.Polymer.legacyUndefined || !1, Kn = window.Polymer && window.Polymer.orderedComputed || !1, mo = window.Polymer && window.Polymer.removeNestedTemplates || !1, Gn = window.Polymer && window.Polymer.fastDomIf || !1, _o = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2871
2873
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2872
2874
|
let Jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2873
2875
|
/**
|
|
@@ -2917,17 +2919,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2917
2919
|
Code distributed by Google as part of the polymer project is also
|
|
2918
2920
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2919
2921
|
*/
|
|
2920
|
-
let
|
|
2922
|
+
let Ni = {}, As = {};
|
|
2921
2923
|
function go(o, t) {
|
|
2922
|
-
|
|
2924
|
+
Ni[o] = As[o.toLowerCase()] = t;
|
|
2923
2925
|
}
|
|
2924
2926
|
function yo(o) {
|
|
2925
|
-
return
|
|
2927
|
+
return Ni[o] || As[o.toLowerCase()];
|
|
2926
2928
|
}
|
|
2927
2929
|
function Zn(o) {
|
|
2928
2930
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2929
2931
|
}
|
|
2930
|
-
class
|
|
2932
|
+
class nt extends HTMLElement {
|
|
2931
2933
|
/** @override */
|
|
2932
2934
|
static get observedAttributes() {
|
|
2933
2935
|
return ["id"];
|
|
@@ -2976,11 +2978,11 @@ class rt extends HTMLElement {
|
|
|
2976
2978
|
*/
|
|
2977
2979
|
get assetpath() {
|
|
2978
2980
|
if (!this.__assetpath) {
|
|
2979
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2981
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = it(
|
|
2980
2982
|
this.getAttribute("assetpath") || "",
|
|
2981
2983
|
t.baseURI
|
|
2982
2984
|
);
|
|
2983
|
-
this.__assetpath =
|
|
2985
|
+
this.__assetpath = Ii(e);
|
|
2984
2986
|
}
|
|
2985
2987
|
return this.__assetpath;
|
|
2986
2988
|
}
|
|
@@ -2993,14 +2995,14 @@ class rt extends HTMLElement {
|
|
|
2993
2995
|
*/
|
|
2994
2996
|
register(t) {
|
|
2995
2997
|
if (t = t || this.id, t) {
|
|
2996
|
-
if (
|
|
2998
|
+
if (Et && yo(t) !== void 0)
|
|
2997
2999
|
throw go(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2998
3000
|
this.id = t, go(t, this), Zn(this);
|
|
2999
3001
|
}
|
|
3000
3002
|
}
|
|
3001
3003
|
}
|
|
3002
|
-
|
|
3003
|
-
customElements.define("dom-module",
|
|
3004
|
+
nt.prototype.modules = Ni;
|
|
3005
|
+
customElements.define("dom-module", nt);
|
|
3004
3006
|
/**
|
|
3005
3007
|
@license
|
|
3006
3008
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3014,12 +3016,12 @@ const Qn = "link[rel=import][type~=css]", ea = "include", vo = "shady-unscoped";
|
|
|
3014
3016
|
function Ts(o) {
|
|
3015
3017
|
return (
|
|
3016
3018
|
/** @type {?DomModule} */
|
|
3017
|
-
|
|
3019
|
+
nt.import(o)
|
|
3018
3020
|
);
|
|
3019
3021
|
}
|
|
3020
3022
|
function bo(o) {
|
|
3021
3023
|
let t = o.body ? o.body : o;
|
|
3022
|
-
const e =
|
|
3024
|
+
const e = Mi(
|
|
3023
3025
|
t.textContent,
|
|
3024
3026
|
o.baseURI
|
|
3025
3027
|
), i = document.createElement("style");
|
|
@@ -3057,7 +3059,7 @@ function Es(o, t) {
|
|
|
3057
3059
|
let r = i[s], n = r.getAttribute(ea);
|
|
3058
3060
|
n && e.push(...ta(n).filter(function(a, l, d) {
|
|
3059
3061
|
return d.indexOf(a) === l;
|
|
3060
|
-
})), t && (r.textContent =
|
|
3062
|
+
})), t && (r.textContent = Mi(
|
|
3061
3063
|
r.textContent,
|
|
3062
3064
|
/** @type {string} */
|
|
3063
3065
|
t
|
|
@@ -3106,26 +3108,26 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3106
3108
|
Code distributed by Google as part of the polymer project is also
|
|
3107
3109
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3108
3110
|
*/
|
|
3109
|
-
function
|
|
3111
|
+
function li(o) {
|
|
3110
3112
|
return o.indexOf(".") >= 0;
|
|
3111
3113
|
}
|
|
3112
|
-
function
|
|
3114
|
+
function Oe(o) {
|
|
3113
3115
|
let t = o.indexOf(".");
|
|
3114
3116
|
return t === -1 ? o : o.slice(0, t);
|
|
3115
3117
|
}
|
|
3116
3118
|
function ks(o, t) {
|
|
3117
3119
|
return o.indexOf(t + ".") === 0;
|
|
3118
3120
|
}
|
|
3119
|
-
function
|
|
3121
|
+
function at(o, t) {
|
|
3120
3122
|
return t.indexOf(o + ".") === 0;
|
|
3121
3123
|
}
|
|
3122
|
-
function
|
|
3124
|
+
function lt(o, t, e) {
|
|
3123
3125
|
return t + e.slice(o.length);
|
|
3124
3126
|
}
|
|
3125
3127
|
function sa(o, t) {
|
|
3126
|
-
return o === t || ks(o, t) ||
|
|
3128
|
+
return o === t || ks(o, t) || at(o, t);
|
|
3127
3129
|
}
|
|
3128
|
-
function
|
|
3130
|
+
function Ze(o) {
|
|
3129
3131
|
if (Array.isArray(o)) {
|
|
3130
3132
|
let t = [];
|
|
3131
3133
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3138,7 +3140,7 @@ function Xe(o) {
|
|
|
3138
3140
|
return o;
|
|
3139
3141
|
}
|
|
3140
3142
|
function Ss(o) {
|
|
3141
|
-
return Array.isArray(o) ?
|
|
3143
|
+
return Array.isArray(o) ? Ze(o).split(".") : o.toString().split(".");
|
|
3142
3144
|
}
|
|
3143
3145
|
function J(o, t, e) {
|
|
3144
3146
|
let i = o, s = Ss(t);
|
|
@@ -3172,15 +3174,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3172
3174
|
Code distributed by Google as part of the polymer project is also
|
|
3173
3175
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3174
3176
|
*/
|
|
3175
|
-
const
|
|
3177
|
+
const Dt = {}, ra = /-[a-z]/g, na = /([A-Z])/g;
|
|
3176
3178
|
function Ps(o) {
|
|
3177
|
-
return
|
|
3179
|
+
return Dt[o] || (Dt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3178
3180
|
ra,
|
|
3179
3181
|
(t) => t[1].toUpperCase()
|
|
3180
3182
|
));
|
|
3181
3183
|
}
|
|
3182
|
-
function
|
|
3183
|
-
return
|
|
3184
|
+
function Mt(o) {
|
|
3185
|
+
return Dt[o] || (Dt[o] = o.replace(na, "-$1").toLowerCase());
|
|
3184
3186
|
}
|
|
3185
3187
|
/**
|
|
3186
3188
|
@license
|
|
@@ -3191,13 +3193,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3191
3193
|
Code distributed by Google as part of the polymer project is also
|
|
3192
3194
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3193
3195
|
*/
|
|
3194
|
-
let aa = 0, Os = 0,
|
|
3196
|
+
let aa = 0, Os = 0, Le = [], la = 0, di = !1, Ms = document.createTextNode("");
|
|
3195
3197
|
new window.MutationObserver(da).observe(Ms, { characterData: !0 });
|
|
3196
3198
|
function da() {
|
|
3197
|
-
|
|
3198
|
-
const o =
|
|
3199
|
+
di = !1;
|
|
3200
|
+
const o = Le.length;
|
|
3199
3201
|
for (let t = 0; t < o; t++) {
|
|
3200
|
-
let e =
|
|
3202
|
+
let e = Le[t];
|
|
3201
3203
|
if (e)
|
|
3202
3204
|
try {
|
|
3203
3205
|
e();
|
|
@@ -3207,7 +3209,7 @@ function da() {
|
|
|
3207
3209
|
});
|
|
3208
3210
|
}
|
|
3209
3211
|
}
|
|
3210
|
-
|
|
3212
|
+
Le.splice(0, o), Os += o;
|
|
3211
3213
|
}
|
|
3212
3214
|
const ca = {
|
|
3213
3215
|
/**
|
|
@@ -3258,7 +3260,7 @@ const ca = {
|
|
|
3258
3260
|
* @return {number} Handle used for canceling task
|
|
3259
3261
|
*/
|
|
3260
3262
|
run(o) {
|
|
3261
|
-
return
|
|
3263
|
+
return di || (di = !0, Ms.textContent = la++), Le.push(o), aa++;
|
|
3262
3264
|
},
|
|
3263
3265
|
/**
|
|
3264
3266
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3270,9 +3272,9 @@ const ca = {
|
|
|
3270
3272
|
cancel(o) {
|
|
3271
3273
|
const t = o - Os;
|
|
3272
3274
|
if (t >= 0) {
|
|
3273
|
-
if (!
|
|
3275
|
+
if (!Le[t])
|
|
3274
3276
|
throw new Error("invalid async handle: " + o);
|
|
3275
|
-
|
|
3277
|
+
Le[t] = null;
|
|
3276
3278
|
}
|
|
3277
3279
|
}
|
|
3278
3280
|
};
|
|
@@ -3722,12 +3724,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3722
3724
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3723
3725
|
*/
|
|
3724
3726
|
const Fs = {};
|
|
3725
|
-
let
|
|
3726
|
-
for (;
|
|
3727
|
-
let o = Object.getOwnPropertyNames(
|
|
3727
|
+
let _t = HTMLElement.prototype;
|
|
3728
|
+
for (; _t; ) {
|
|
3729
|
+
let o = Object.getOwnPropertyNames(_t);
|
|
3728
3730
|
for (let t = 0; t < o.length; t++)
|
|
3729
3731
|
Fs[o[t]] = !0;
|
|
3730
|
-
|
|
3732
|
+
_t = Object.getPrototypeOf(_t);
|
|
3731
3733
|
}
|
|
3732
3734
|
const ha = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3733
3735
|
function pa(o, t) {
|
|
@@ -3767,7 +3769,7 @@ const fa = U((o) => {
|
|
|
3767
3769
|
* @nocollapse
|
|
3768
3770
|
*/
|
|
3769
3771
|
static attributeNameForProperty(s) {
|
|
3770
|
-
return
|
|
3772
|
+
return Mt(s);
|
|
3771
3773
|
}
|
|
3772
3774
|
/**
|
|
3773
3775
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -4363,8 +4365,8 @@ const Aa = U(
|
|
|
4363
4365
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4364
4366
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4365
4367
|
*/
|
|
4366
|
-
let
|
|
4367
|
-
const
|
|
4368
|
+
let dt = 0;
|
|
4369
|
+
const ct = [], O = {
|
|
4368
4370
|
COMPUTE: "__computeEffects",
|
|
4369
4371
|
REFLECT: "__reflectEffects",
|
|
4370
4372
|
NOTIFY: "__notifyEffects",
|
|
@@ -4372,7 +4374,7 @@ const dt = [], O = {
|
|
|
4372
4374
|
OBSERVE: "__observeEffects",
|
|
4373
4375
|
READ_ONLY: "__readOnly"
|
|
4374
4376
|
}, Ls = "__computeInfo", Ta = /[A-Z]/;
|
|
4375
|
-
function
|
|
4377
|
+
function Ut(o, t, e) {
|
|
4376
4378
|
let i = o[t];
|
|
4377
4379
|
if (!i)
|
|
4378
4380
|
i = o[t] = {};
|
|
@@ -4384,34 +4386,34 @@ function Vt(o, t, e) {
|
|
|
4384
4386
|
}
|
|
4385
4387
|
return i;
|
|
4386
4388
|
}
|
|
4387
|
-
function
|
|
4389
|
+
function Qe(o, t, e, i, s, r) {
|
|
4388
4390
|
if (t) {
|
|
4389
4391
|
let n = !1;
|
|
4390
|
-
const a =
|
|
4392
|
+
const a = dt++;
|
|
4391
4393
|
for (let l in e) {
|
|
4392
|
-
let d = s ?
|
|
4394
|
+
let d = s ? Oe(l) : l, c = t[d];
|
|
4393
4395
|
if (c)
|
|
4394
4396
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
4395
|
-
(!p.info || p.info.lastRun !== a) && (!s ||
|
|
4397
|
+
(!p.info || p.info.lastRun !== a) && (!s || Fi(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, s, r), n = !0);
|
|
4396
4398
|
}
|
|
4397
4399
|
return n;
|
|
4398
4400
|
}
|
|
4399
4401
|
return !1;
|
|
4400
4402
|
}
|
|
4401
4403
|
function Ea(o, t, e, i, s, r, n, a) {
|
|
4402
|
-
let l = !1, d = n ?
|
|
4404
|
+
let l = !1, d = n ? Oe(i) : i, c = t[d];
|
|
4403
4405
|
if (c)
|
|
4404
4406
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
4405
|
-
(!p.info || p.info.lastRun !== e) && (!n ||
|
|
4407
|
+
(!p.info || p.info.lastRun !== e) && (!n || Fi(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, s, r, p.info, n, a), l = !0);
|
|
4406
4408
|
return l;
|
|
4407
4409
|
}
|
|
4408
|
-
function
|
|
4410
|
+
function Fi(o, t) {
|
|
4409
4411
|
if (t) {
|
|
4410
4412
|
let e = (
|
|
4411
4413
|
/** @type {string} */
|
|
4412
4414
|
t.name
|
|
4413
4415
|
);
|
|
4414
|
-
return e == o || !!(t.structured && ks(e, o)) || !!(t.wildcard &&
|
|
4416
|
+
return e == o || !!(t.structured && ks(e, o)) || !!(t.wildcard && at(e, o));
|
|
4415
4417
|
} else
|
|
4416
4418
|
return !0;
|
|
4417
4419
|
}
|
|
@@ -4420,16 +4422,16 @@ function Ao(o, t, e, i, s) {
|
|
|
4420
4422
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4421
4423
|
}
|
|
4422
4424
|
function Da(o, t, e, i, s) {
|
|
4423
|
-
let r = o[O.NOTIFY], n, a =
|
|
4425
|
+
let r = o[O.NOTIFY], n, a = dt++;
|
|
4424
4426
|
for (let d in t)
|
|
4425
4427
|
t[d] && (r && Ea(o, r, a, d, e, i, s) || s && ka(o, d, e)) && (n = !0);
|
|
4426
4428
|
let l;
|
|
4427
4429
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4428
4430
|
}
|
|
4429
4431
|
function ka(o, t, e) {
|
|
4430
|
-
let i =
|
|
4432
|
+
let i = Oe(t);
|
|
4431
4433
|
if (i !== t) {
|
|
4432
|
-
let s =
|
|
4434
|
+
let s = Mt(i) + "-changed";
|
|
4433
4435
|
return $s(o, s, e[t], t), !0;
|
|
4434
4436
|
}
|
|
4435
4437
|
return !1;
|
|
@@ -4445,7 +4447,7 @@ function $s(o, t, e, i) {
|
|
|
4445
4447
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4446
4448
|
}
|
|
4447
4449
|
function Sa(o, t, e, i, s, r) {
|
|
4448
|
-
let a = (r ?
|
|
4450
|
+
let a = (r ? Oe(t) : t) != t ? t : null, l = a ? J(o, a) : o.__data[t];
|
|
4449
4451
|
a && l === void 0 && (l = e[t]), $s(o, s.eventName, l, a);
|
|
4450
4452
|
}
|
|
4451
4453
|
function Pa(o, t, e, i, s) {
|
|
@@ -4453,11 +4455,11 @@ function Pa(o, t, e, i, s) {
|
|
|
4453
4455
|
/** @type {Object} */
|
|
4454
4456
|
o.detail
|
|
4455
4457
|
), a = n && n.path;
|
|
4456
|
-
a ? (i =
|
|
4458
|
+
a ? (i = lt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[O.READ_ONLY] || !t[O.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4457
4459
|
}
|
|
4458
4460
|
function Oa(o, t, e, i, s) {
|
|
4459
4461
|
let r = o.__data[t];
|
|
4460
|
-
|
|
4462
|
+
Tt && (r = Tt(
|
|
4461
4463
|
r,
|
|
4462
4464
|
s.attrName,
|
|
4463
4465
|
"attribute",
|
|
@@ -4469,7 +4471,7 @@ function Ma(o, t, e, i) {
|
|
|
4469
4471
|
let s = o[O.COMPUTE];
|
|
4470
4472
|
if (s)
|
|
4471
4473
|
if (Kn) {
|
|
4472
|
-
|
|
4474
|
+
dt++;
|
|
4473
4475
|
const r = Na(o), n = [];
|
|
4474
4476
|
for (let l in t)
|
|
4475
4477
|
To(l, s, n, r, i);
|
|
@@ -4487,7 +4489,7 @@ function Ma(o, t, e, i) {
|
|
|
4487
4489
|
), o.__dataPending = null;
|
|
4488
4490
|
} else {
|
|
4489
4491
|
let r = t;
|
|
4490
|
-
for (;
|
|
4492
|
+
for (; Qe(o, s, r, e, i); )
|
|
4491
4493
|
Object.assign(
|
|
4492
4494
|
/** @type {!Object} */
|
|
4493
4495
|
e,
|
|
@@ -4514,11 +4516,11 @@ const Ia = (o, t, e) => {
|
|
|
4514
4516
|
}
|
|
4515
4517
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4516
4518
|
}, To = (o, t, e, i, s) => {
|
|
4517
|
-
const r = s ?
|
|
4519
|
+
const r = s ? Oe(o) : o, n = t[r];
|
|
4518
4520
|
if (n)
|
|
4519
4521
|
for (let a = 0; a < n.length; a++) {
|
|
4520
4522
|
const l = n[a];
|
|
4521
|
-
l.info.lastRun !==
|
|
4523
|
+
l.info.lastRun !== dt && (!s || Fi(o, l.trigger)) && (l.info.lastRun = dt, Ia(l.info, e, i));
|
|
4522
4524
|
}
|
|
4523
4525
|
};
|
|
4524
4526
|
function Na(o) {
|
|
@@ -4552,8 +4554,8 @@ function Fa(o) {
|
|
|
4552
4554
|
return { counts: e, ready: s, total: r };
|
|
4553
4555
|
}
|
|
4554
4556
|
function Rs(o, t, e, i, s) {
|
|
4555
|
-
let r =
|
|
4556
|
-
if (r ===
|
|
4557
|
+
let r = ci(o, t, e, i, s);
|
|
4558
|
+
if (r === ct)
|
|
4557
4559
|
return !1;
|
|
4558
4560
|
let n = s.methodInfo;
|
|
4559
4561
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -4564,16 +4566,16 @@ function za(o, t, e) {
|
|
|
4564
4566
|
let s;
|
|
4565
4567
|
for (let r in i) {
|
|
4566
4568
|
let n = i[r];
|
|
4567
|
-
|
|
4569
|
+
at(r, t) ? (s = lt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : at(n, t) && (s = lt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
4568
4570
|
}
|
|
4569
4571
|
}
|
|
4570
4572
|
}
|
|
4571
|
-
function
|
|
4573
|
+
function jt(o, t, e, i, s, r, n) {
|
|
4572
4574
|
e.bindings = e.bindings || [];
|
|
4573
4575
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4574
4576
|
if (e.bindings.push(a), Ba(a)) {
|
|
4575
4577
|
let { event: d, negate: c } = a.parts[0];
|
|
4576
|
-
a.listenerEvent = d ||
|
|
4578
|
+
a.listenerEvent = d || Mt(s) + "-changed", a.listenerNegate = c;
|
|
4577
4579
|
}
|
|
4578
4580
|
let l = t.nodeInfoList.length;
|
|
4579
4581
|
for (let d = 0; d < a.parts.length; d++) {
|
|
@@ -4601,14 +4603,14 @@ function $a(o, t, e, i, s, r, n) {
|
|
|
4601
4603
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4602
4604
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4603
4605
|
let c = e[t];
|
|
4604
|
-
t =
|
|
4606
|
+
t = lt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4605
4607
|
} else {
|
|
4606
4608
|
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4607
|
-
c !==
|
|
4609
|
+
c !== ct && Ra(o, a, l, d, c);
|
|
4608
4610
|
}
|
|
4609
4611
|
}
|
|
4610
4612
|
function Ra(o, t, e, i, s) {
|
|
4611
|
-
if (s = Ha(t, s, e, i),
|
|
4613
|
+
if (s = Ha(t, s, e, i), Tt && (s = Tt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4612
4614
|
o._valueToNodeAttribute(
|
|
4613
4615
|
/** @type {Element} */
|
|
4614
4616
|
t,
|
|
@@ -4679,11 +4681,11 @@ function Eo(o, t, e, i, s, r) {
|
|
|
4679
4681
|
info: n
|
|
4680
4682
|
}), n;
|
|
4681
4683
|
}
|
|
4682
|
-
function
|
|
4684
|
+
function ci(o, t, e, i, s) {
|
|
4683
4685
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4684
4686
|
if (n) {
|
|
4685
4687
|
let a = o._marshalArgs(s.args, t, e);
|
|
4686
|
-
return a ===
|
|
4688
|
+
return a === ct ? ct : n.apply(r, a);
|
|
4687
4689
|
} else
|
|
4688
4690
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4689
4691
|
}
|
|
@@ -4696,7 +4698,7 @@ function So(o) {
|
|
|
4696
4698
|
}
|
|
4697
4699
|
return t;
|
|
4698
4700
|
}
|
|
4699
|
-
function
|
|
4701
|
+
function Yt(o) {
|
|
4700
4702
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4701
4703
|
if (t) {
|
|
4702
4704
|
let i = { methodName: t[1], static: !0, args: Ya };
|
|
@@ -4729,7 +4731,7 @@ function Bs(o) {
|
|
|
4729
4731
|
e.value = Number(t), e.literal = !0;
|
|
4730
4732
|
break;
|
|
4731
4733
|
}
|
|
4732
|
-
return e.literal || (e.rootProperty =
|
|
4734
|
+
return e.literal || (e.rootProperty = Oe(t), e.structured = li(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4733
4735
|
}
|
|
4734
4736
|
function Po(o, t, e) {
|
|
4735
4737
|
let i = J(o, e);
|
|
@@ -4737,9 +4739,9 @@ function Po(o, t, e) {
|
|
|
4737
4739
|
}
|
|
4738
4740
|
function Vs(o, t, e, i) {
|
|
4739
4741
|
const s = { indexSplices: i };
|
|
4740
|
-
|
|
4742
|
+
ai && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), ai && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4741
4743
|
}
|
|
4742
|
-
function
|
|
4744
|
+
function Ke(o, t, e, i, s, r) {
|
|
4743
4745
|
Vs(o, t, e, [{
|
|
4744
4746
|
index: i,
|
|
4745
4747
|
addedCount: s,
|
|
@@ -4751,7 +4753,7 @@ function qe(o, t, e, i, s, r) {
|
|
|
4751
4753
|
function sl(o) {
|
|
4752
4754
|
return o[0].toUpperCase() + o.substring(1);
|
|
4753
4755
|
}
|
|
4754
|
-
const
|
|
4756
|
+
const zi = U((o) => {
|
|
4755
4757
|
const t = Aa(fa(o));
|
|
4756
4758
|
class e extends t {
|
|
4757
4759
|
constructor() {
|
|
@@ -4768,8 +4770,8 @@ const Fi = U((o) => {
|
|
|
4768
4770
|
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;
|
|
4769
4771
|
}
|
|
4770
4772
|
_registerHost() {
|
|
4771
|
-
if (
|
|
4772
|
-
let s =
|
|
4773
|
+
if (Ge.length) {
|
|
4774
|
+
let s = Ge[Ge.length - 1];
|
|
4773
4775
|
s._enqueueClient(this), this.__dataHost = s;
|
|
4774
4776
|
}
|
|
4775
4777
|
}
|
|
@@ -4813,7 +4815,7 @@ const Fi = U((o) => {
|
|
|
4813
4815
|
*/
|
|
4814
4816
|
_addPropertyEffect(s, r, n) {
|
|
4815
4817
|
this._createPropertyAccessor(s, r == O.READ_ONLY);
|
|
4816
|
-
let a =
|
|
4818
|
+
let a = Ut(this, r, !0)[s];
|
|
4817
4819
|
a || (a = this[r][s] = []), a.push(n);
|
|
4818
4820
|
}
|
|
4819
4821
|
/**
|
|
@@ -4826,7 +4828,7 @@ const Fi = U((o) => {
|
|
|
4826
4828
|
* @return {void}
|
|
4827
4829
|
*/
|
|
4828
4830
|
_removePropertyEffect(s, r, n) {
|
|
4829
|
-
let a =
|
|
4831
|
+
let a = Ut(this, r, !0)[s], l = a.indexOf(n);
|
|
4830
4832
|
l >= 0 && a.splice(l, 1);
|
|
4831
4833
|
}
|
|
4832
4834
|
/**
|
|
@@ -4927,7 +4929,7 @@ const Fi = U((o) => {
|
|
|
4927
4929
|
* @protected
|
|
4928
4930
|
*/
|
|
4929
4931
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4930
|
-
if (a ||
|
|
4932
|
+
if (a || Oe(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4931
4933
|
if (!a) {
|
|
4932
4934
|
let l = J(this, s);
|
|
4933
4935
|
if (s = /** @type {string} */
|
|
@@ -5020,7 +5022,7 @@ const Fi = U((o) => {
|
|
|
5020
5022
|
* @return {boolean} Returns true if the property changed
|
|
5021
5023
|
*/
|
|
5022
5024
|
_setPendingProperty(s, r, n) {
|
|
5023
|
-
let a = this.__dataHasPaths &&
|
|
5025
|
+
let a = this.__dataHasPaths && li(s), l = a ? this.__dataTemp : this.__data;
|
|
5024
5026
|
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[O.NOTIFY] && this[O.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5025
5027
|
}
|
|
5026
5028
|
/**
|
|
@@ -5156,7 +5158,7 @@ const Fi = U((o) => {
|
|
|
5156
5158
|
let a = this.__dataHasPaths;
|
|
5157
5159
|
this.__dataHasPaths = !1;
|
|
5158
5160
|
let l;
|
|
5159
|
-
Ma(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(),
|
|
5161
|
+
Ma(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Qe(this, this[O.REFLECT], r, n, a), Qe(this, this[O.OBSERVE], r, n, a), l && Da(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5160
5162
|
}
|
|
5161
5163
|
/**
|
|
5162
5164
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5170,11 +5172,11 @@ const Fi = U((o) => {
|
|
|
5170
5172
|
* @protected
|
|
5171
5173
|
*/
|
|
5172
5174
|
_propagatePropertyChanges(s, r, n) {
|
|
5173
|
-
this[O.PROPAGATE] &&
|
|
5175
|
+
this[O.PROPAGATE] && Qe(this, this[O.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5174
5176
|
}
|
|
5175
5177
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5176
5178
|
const l = (d, c) => {
|
|
5177
|
-
|
|
5179
|
+
Qe(
|
|
5178
5180
|
this,
|
|
5179
5181
|
s.propertyEffects,
|
|
5180
5182
|
d,
|
|
@@ -5198,7 +5200,7 @@ const Fi = U((o) => {
|
|
|
5198
5200
|
* @public
|
|
5199
5201
|
*/
|
|
5200
5202
|
linkPaths(s, r) {
|
|
5201
|
-
s =
|
|
5203
|
+
s = Ze(s), r = Ze(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
5202
5204
|
}
|
|
5203
5205
|
/**
|
|
5204
5206
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -5212,7 +5214,7 @@ const Fi = U((o) => {
|
|
|
5212
5214
|
* @public
|
|
5213
5215
|
*/
|
|
5214
5216
|
unlinkPaths(s) {
|
|
5215
|
-
s =
|
|
5217
|
+
s = Ze(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
5216
5218
|
}
|
|
5217
5219
|
/**
|
|
5218
5220
|
* Notify that an array has changed.
|
|
@@ -5326,7 +5328,7 @@ const Fi = U((o) => {
|
|
|
5326
5328
|
/** @type {Array}*/
|
|
5327
5329
|
J(this, s, n)
|
|
5328
5330
|
), l = a.length, d = a.push(...r);
|
|
5329
|
-
return r.length &&
|
|
5331
|
+
return r.length && Ke(this, a, n.path, l, r.length, []), d;
|
|
5330
5332
|
}
|
|
5331
5333
|
/**
|
|
5332
5334
|
* Removes an item from the end of array at the path specified.
|
|
@@ -5347,7 +5349,7 @@ const Fi = U((o) => {
|
|
|
5347
5349
|
/** @type {Array} */
|
|
5348
5350
|
J(this, s, r)
|
|
5349
5351
|
), a = !!n.length, l = n.pop();
|
|
5350
|
-
return a &&
|
|
5352
|
+
return a && Ke(this, n, r.path, n.length, 0, [l]), l;
|
|
5351
5353
|
}
|
|
5352
5354
|
/**
|
|
5353
5355
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -5374,7 +5376,7 @@ const Fi = U((o) => {
|
|
|
5374
5376
|
);
|
|
5375
5377
|
r < 0 ? r = d.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5376
5378
|
let c;
|
|
5377
|
-
return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) &&
|
|
5379
|
+
return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) && Ke(this, d, l.path, r, a.length, c), c;
|
|
5378
5380
|
}
|
|
5379
5381
|
/**
|
|
5380
5382
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5395,7 +5397,7 @@ const Fi = U((o) => {
|
|
|
5395
5397
|
/** @type {Array} */
|
|
5396
5398
|
J(this, s, r)
|
|
5397
5399
|
), a = !!n.length, l = n.shift();
|
|
5398
|
-
return a &&
|
|
5400
|
+
return a && Ke(this, n, r.path, 0, 0, [l]), l;
|
|
5399
5401
|
}
|
|
5400
5402
|
/**
|
|
5401
5403
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -5417,7 +5419,7 @@ const Fi = U((o) => {
|
|
|
5417
5419
|
/** @type {Array} */
|
|
5418
5420
|
J(this, s, n)
|
|
5419
5421
|
), l = a.unshift(...r);
|
|
5420
|
-
return r.length &&
|
|
5422
|
+
return r.length && Ke(this, a, n.path, 0, r.length, []), l;
|
|
5421
5423
|
}
|
|
5422
5424
|
/**
|
|
5423
5425
|
* Notify that a path has changed.
|
|
@@ -5439,7 +5441,7 @@ const Fi = U((o) => {
|
|
|
5439
5441
|
let a = { path: "" };
|
|
5440
5442
|
r = J(this, s, a), n = a.path;
|
|
5441
5443
|
} else
|
|
5442
|
-
Array.isArray(s) ? n =
|
|
5444
|
+
Array.isArray(s) ? n = Ze(s) : n = /** @type{string} */
|
|
5443
5445
|
s;
|
|
5444
5446
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
5445
5447
|
}
|
|
@@ -5505,10 +5507,10 @@ const Fi = U((o) => {
|
|
|
5505
5507
|
* @protected
|
|
5506
5508
|
*/
|
|
5507
5509
|
_createMethodObserver(s, r) {
|
|
5508
|
-
let n =
|
|
5510
|
+
let n = Yt(s);
|
|
5509
5511
|
if (!n)
|
|
5510
5512
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5511
|
-
Eo(this, n, O.OBSERVE,
|
|
5513
|
+
Eo(this, n, O.OBSERVE, ci, null, r);
|
|
5512
5514
|
}
|
|
5513
5515
|
/**
|
|
5514
5516
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5524,7 +5526,7 @@ const Fi = U((o) => {
|
|
|
5524
5526
|
this._addPropertyEffect(s, O.NOTIFY, {
|
|
5525
5527
|
fn: Sa,
|
|
5526
5528
|
info: {
|
|
5527
|
-
eventName:
|
|
5529
|
+
eventName: Mt(s) + "-changed",
|
|
5528
5530
|
property: s
|
|
5529
5531
|
}
|
|
5530
5532
|
});
|
|
@@ -5563,11 +5565,11 @@ const Fi = U((o) => {
|
|
|
5563
5565
|
* @protected
|
|
5564
5566
|
*/
|
|
5565
5567
|
_createComputedProperty(s, r, n) {
|
|
5566
|
-
let a =
|
|
5568
|
+
let a = Yt(r);
|
|
5567
5569
|
if (!a)
|
|
5568
5570
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5569
5571
|
const l = Eo(this, a, O.COMPUTE, Rs, s, n);
|
|
5570
|
-
|
|
5572
|
+
Ut(this, Ls)[s] = l;
|
|
5571
5573
|
}
|
|
5572
5574
|
/**
|
|
5573
5575
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5588,7 +5590,7 @@ const Fi = U((o) => {
|
|
|
5588
5590
|
let { name: u, structured: h, wildcard: p, value: y, literal: E } = s[d];
|
|
5589
5591
|
if (!E)
|
|
5590
5592
|
if (p) {
|
|
5591
|
-
const D =
|
|
5593
|
+
const D = at(u, r), T = Po(a, n, D ? r : u);
|
|
5592
5594
|
y = {
|
|
5593
5595
|
path: D ? r : u,
|
|
5594
5596
|
value: T,
|
|
@@ -5596,8 +5598,8 @@ const Fi = U((o) => {
|
|
|
5596
5598
|
};
|
|
5597
5599
|
} else
|
|
5598
5600
|
y = h ? Po(a, n, u) : a[u];
|
|
5599
|
-
if (
|
|
5600
|
-
return
|
|
5601
|
+
if (ai && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
5602
|
+
return ct;
|
|
5601
5603
|
l[d] = y;
|
|
5602
5604
|
}
|
|
5603
5605
|
return l;
|
|
@@ -5871,9 +5873,9 @@ const Fi = U((o) => {
|
|
|
5871
5873
|
*/
|
|
5872
5874
|
_stampTemplate(s, r) {
|
|
5873
5875
|
r = r || /** @type {!TemplateInfo} */
|
|
5874
|
-
this._bindTemplate(s, !0),
|
|
5876
|
+
this._bindTemplate(s, !0), Ge.push(this);
|
|
5875
5877
|
let n = super._stampTemplate(s, r);
|
|
5876
|
-
if (
|
|
5878
|
+
if (Ge.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
5877
5879
|
let a = r.childNodes = [];
|
|
5878
5880
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5879
5881
|
a.push(l);
|
|
@@ -5925,7 +5927,7 @@ const Fi = U((o) => {
|
|
|
5925
5927
|
);
|
|
5926
5928
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5927
5929
|
let l = this._parseBindings(s.textContent, r);
|
|
5928
|
-
l && (s.textContent = So(l) || " ",
|
|
5930
|
+
l && (s.textContent = So(l) || " ", jt(this, r, n, "text", "textContent", l), a = !0);
|
|
5929
5931
|
}
|
|
5930
5932
|
return a;
|
|
5931
5933
|
}
|
|
@@ -5954,7 +5956,7 @@ const Fi = U((o) => {
|
|
|
5954
5956
|
let c = a, u = "property";
|
|
5955
5957
|
Ta.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5956
5958
|
let h = So(d);
|
|
5957
|
-
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = Ps(a)),
|
|
5959
|
+
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = Ps(a)), jt(this, r, n, u, a, d, h), !0;
|
|
5958
5960
|
} else
|
|
5959
5961
|
return t._parseTemplateNodeAttribute.call(
|
|
5960
5962
|
this,
|
|
@@ -5995,7 +5997,7 @@ const Fi = U((o) => {
|
|
|
5995
5997
|
let p = "{";
|
|
5996
5998
|
for (let y in h) {
|
|
5997
5999
|
let E = [{ mode: p, source: y, dependencies: [y], hostProp: !0 }];
|
|
5998
|
-
|
|
6000
|
+
jt(this, r, n, "property", "_host_" + y, E);
|
|
5999
6001
|
}
|
|
6000
6002
|
}
|
|
6001
6003
|
return a;
|
|
@@ -6051,7 +6053,7 @@ const Fi = U((o) => {
|
|
|
6051
6053
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6052
6054
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", y = -1;
|
|
6053
6055
|
d == "{" && (y = u.indexOf("::")) > 0 && (p = u.substring(y + 2), u = u.substring(0, y), h = !0);
|
|
6054
|
-
let E =
|
|
6056
|
+
let E = Yt(u), D = [];
|
|
6055
6057
|
if (E) {
|
|
6056
6058
|
let { args: T, methodName: k } = E;
|
|
6057
6059
|
for (let L = 0; L < T.length; L++) {
|
|
@@ -6097,11 +6099,11 @@ const Fi = U((o) => {
|
|
|
6097
6099
|
*/
|
|
6098
6100
|
static _evaluateBinding(s, r, n, a, l, d) {
|
|
6099
6101
|
let c;
|
|
6100
|
-
return r.signature ? c =
|
|
6102
|
+
return r.signature ? c = ci(s, n, a, l, r.signature) : n != r.source ? c = J(s, r.source) : d && li(n) ? c = J(s, n) : c = s.__data[n], r.negate && (c = !c), c;
|
|
6101
6103
|
}
|
|
6102
6104
|
}
|
|
6103
6105
|
return e;
|
|
6104
|
-
}),
|
|
6106
|
+
}), Ge = [];
|
|
6105
6107
|
/**
|
|
6106
6108
|
@license
|
|
6107
6109
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -6280,7 +6282,7 @@ const nl = U((o) => {
|
|
|
6280
6282
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6281
6283
|
*/
|
|
6282
6284
|
const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o) => {
|
|
6283
|
-
const t = nl(
|
|
6285
|
+
const t = nl(zi(o));
|
|
6284
6286
|
function e(l) {
|
|
6285
6287
|
if (!l.hasOwnProperty(
|
|
6286
6288
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6332,8 +6334,8 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6332
6334
|
}
|
|
6333
6335
|
function n(l) {
|
|
6334
6336
|
let d = null;
|
|
6335
|
-
if (l && (!
|
|
6336
|
-
|
|
6337
|
+
if (l && (!Et || Wn) && (d = /** @type {?HTMLTemplateElement} */
|
|
6338
|
+
nt.import(l, "template"), Et && !d))
|
|
6337
6339
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6338
6340
|
return d;
|
|
6339
6341
|
}
|
|
@@ -6502,9 +6504,9 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6502
6504
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6503
6505
|
const d = this.importMeta;
|
|
6504
6506
|
if (d)
|
|
6505
|
-
this._importPath =
|
|
6507
|
+
this._importPath = Ii(d.url);
|
|
6506
6508
|
else {
|
|
6507
|
-
const c =
|
|
6509
|
+
const c = nt.import(
|
|
6508
6510
|
/** @type {PolymerElementConstructor} */
|
|
6509
6511
|
this.is
|
|
6510
6512
|
);
|
|
@@ -6567,7 +6569,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6567
6569
|
* @nocollapse
|
|
6568
6570
|
*/
|
|
6569
6571
|
static _processStyleText(d, c) {
|
|
6570
|
-
return
|
|
6572
|
+
return Mi(d, c);
|
|
6571
6573
|
}
|
|
6572
6574
|
/**
|
|
6573
6575
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6583,7 +6585,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6583
6585
|
const c = this.prototype._template;
|
|
6584
6586
|
if (c && !c.__polymerFinalized) {
|
|
6585
6587
|
c.__polymerFinalized = !0;
|
|
6586
|
-
const u = this.importPath, h = u ?
|
|
6588
|
+
const u = this.importPath, h = u ? it(u) : "";
|
|
6587
6589
|
r(this, c, d, h), this.prototype._bindTemplate(c);
|
|
6588
6590
|
}
|
|
6589
6591
|
}
|
|
@@ -6695,7 +6697,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6695
6697
|
* @return {string} Rewritten URL relative to base
|
|
6696
6698
|
*/
|
|
6697
6699
|
resolveUrl(d, c) {
|
|
6698
|
-
return !c && this.importPath && (c =
|
|
6700
|
+
return !c && this.importPath && (c = it(this.importPath)), it(d, c);
|
|
6699
6701
|
}
|
|
6700
6702
|
/**
|
|
6701
6703
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6800,7 +6802,7 @@ function dl(o) {
|
|
|
6800
6802
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6801
6803
|
);
|
|
6802
6804
|
}
|
|
6803
|
-
const
|
|
6805
|
+
const Me = function(t, ...e) {
|
|
6804
6806
|
Ys(t, e);
|
|
6805
6807
|
const i = (
|
|
6806
6808
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -6831,21 +6833,21 @@ const be = ll(HTMLElement);
|
|
|
6831
6833
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6832
6834
|
*/
|
|
6833
6835
|
const ue = [];
|
|
6834
|
-
function
|
|
6836
|
+
function ui(o, t, e = o.getAttribute("dir")) {
|
|
6835
6837
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6836
6838
|
}
|
|
6837
|
-
function
|
|
6839
|
+
function hi() {
|
|
6838
6840
|
return document.documentElement.getAttribute("dir");
|
|
6839
6841
|
}
|
|
6840
6842
|
function cl() {
|
|
6841
|
-
const o =
|
|
6843
|
+
const o = hi();
|
|
6842
6844
|
ue.forEach((t) => {
|
|
6843
|
-
|
|
6845
|
+
ui(t, o);
|
|
6844
6846
|
});
|
|
6845
6847
|
}
|
|
6846
6848
|
const ul = new MutationObserver(cl);
|
|
6847
6849
|
ul.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6848
|
-
const
|
|
6850
|
+
const It = (o) => class extends o {
|
|
6849
6851
|
static get properties() {
|
|
6850
6852
|
return {
|
|
6851
6853
|
/**
|
|
@@ -6871,14 +6873,14 @@ const Mt = (o) => class extends o {
|
|
|
6871
6873
|
}
|
|
6872
6874
|
/** @protected */
|
|
6873
6875
|
connectedCallback() {
|
|
6874
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
6876
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), ui(this, hi(), null));
|
|
6875
6877
|
}
|
|
6876
6878
|
/** @protected */
|
|
6877
6879
|
attributeChangedCallback(e, i, s) {
|
|
6878
6880
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6879
6881
|
return;
|
|
6880
|
-
const r =
|
|
6881
|
-
n || a ? (this.__subscribe(),
|
|
6882
|
+
const r = hi(), n = s === r && ue.indexOf(this) === -1, a = !s && i && ue.indexOf(this) === -1;
|
|
6883
|
+
n || a ? (this.__subscribe(), ui(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6882
6884
|
}
|
|
6883
6885
|
/** @protected */
|
|
6884
6886
|
disconnectedCallback() {
|
|
@@ -7018,12 +7020,12 @@ const pl = P`
|
|
|
7018
7020
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7019
7021
|
*/
|
|
7020
7022
|
H("vaadin-input-container", pl, { moduleId: "vaadin-input-container-styles" });
|
|
7021
|
-
class fl extends hl(
|
|
7023
|
+
class fl extends hl(Pe(It(be))) {
|
|
7022
7024
|
static get is() {
|
|
7023
7025
|
return "vaadin-input-container";
|
|
7024
7026
|
}
|
|
7025
7027
|
static get template() {
|
|
7026
|
-
return
|
|
7028
|
+
return Me`
|
|
7027
7029
|
<slot name="prefix"></slot>
|
|
7028
7030
|
<slot></slot>
|
|
7029
7031
|
<slot name="suffix"></slot>
|
|
@@ -7101,29 +7103,29 @@ const ml = P`
|
|
|
7101
7103
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7102
7104
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7103
7105
|
*/
|
|
7104
|
-
let
|
|
7106
|
+
let Li = !1;
|
|
7105
7107
|
window.addEventListener(
|
|
7106
7108
|
"keydown",
|
|
7107
7109
|
() => {
|
|
7108
|
-
|
|
7110
|
+
Li = !0;
|
|
7109
7111
|
},
|
|
7110
7112
|
{ capture: !0 }
|
|
7111
7113
|
);
|
|
7112
7114
|
window.addEventListener(
|
|
7113
7115
|
"mousedown",
|
|
7114
7116
|
() => {
|
|
7115
|
-
|
|
7117
|
+
Li = !1;
|
|
7116
7118
|
},
|
|
7117
7119
|
{ capture: !0 }
|
|
7118
7120
|
);
|
|
7119
|
-
function
|
|
7121
|
+
function pi() {
|
|
7120
7122
|
let o = document.activeElement || document.body;
|
|
7121
7123
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7122
7124
|
o = o.shadowRoot.activeElement;
|
|
7123
7125
|
return o;
|
|
7124
7126
|
}
|
|
7125
|
-
function
|
|
7126
|
-
return
|
|
7127
|
+
function $i() {
|
|
7128
|
+
return Li;
|
|
7127
7129
|
}
|
|
7128
7130
|
function _l(o) {
|
|
7129
7131
|
const t = o.style;
|
|
@@ -7142,11 +7144,11 @@ function yl(o, t) {
|
|
|
7142
7144
|
gl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7143
7145
|
return e.concat(o, t);
|
|
7144
7146
|
}
|
|
7145
|
-
function
|
|
7147
|
+
function fi(o) {
|
|
7146
7148
|
const t = o.length;
|
|
7147
7149
|
if (t < 2)
|
|
7148
7150
|
return o;
|
|
7149
|
-
const e = Math.ceil(t / 2), i =
|
|
7151
|
+
const e = Math.ceil(t / 2), i = fi(o.slice(0, e)), s = fi(o.slice(e));
|
|
7150
7152
|
return yl(i, s);
|
|
7151
7153
|
}
|
|
7152
7154
|
function Ws(o) {
|
|
@@ -7177,7 +7179,7 @@ function qs(o, t) {
|
|
|
7177
7179
|
}
|
|
7178
7180
|
function wl(o) {
|
|
7179
7181
|
const t = [];
|
|
7180
|
-
return qs(o, t) ?
|
|
7182
|
+
return qs(o, t) ? fi(t) : t;
|
|
7181
7183
|
}
|
|
7182
7184
|
/**
|
|
7183
7185
|
@license
|
|
@@ -7188,10 +7190,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7188
7190
|
Code distributed by Google as part of the polymer project is also
|
|
7189
7191
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7190
7192
|
*/
|
|
7191
|
-
let
|
|
7193
|
+
let mi = !1, xl = [], Ks = [];
|
|
7192
7194
|
function Cl() {
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
+
mi = !0, requestAnimationFrame(function() {
|
|
7196
|
+
mi = !1, Al(xl), setTimeout(function() {
|
|
7195
7197
|
Tl(Ks);
|
|
7196
7198
|
});
|
|
7197
7199
|
});
|
|
@@ -7215,19 +7217,19 @@ function Gs(o) {
|
|
|
7215
7217
|
}
|
|
7216
7218
|
}
|
|
7217
7219
|
function Js(o, t, e) {
|
|
7218
|
-
|
|
7220
|
+
mi || Cl(), Ks.push([o, t, e]);
|
|
7219
7221
|
}
|
|
7220
7222
|
/**
|
|
7221
7223
|
* @license
|
|
7222
7224
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7223
7225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7224
7226
|
*/
|
|
7225
|
-
const
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
const Dl =
|
|
7230
|
-
|
|
7227
|
+
const Nt = (o) => o.test(navigator.userAgent), _i = (o) => o.test(navigator.platform), El = (o) => o.test(navigator.vendor);
|
|
7228
|
+
Nt(/Android/u);
|
|
7229
|
+
Nt(/Chrome/u) && El(/Google Inc/u);
|
|
7230
|
+
Nt(/Firefox/u);
|
|
7231
|
+
const Dl = _i(/^iPad/u) || _i(/^Mac/u) && navigator.maxTouchPoints > 1, kl = _i(/^iPhone/u), Xs = kl || Dl;
|
|
7232
|
+
Nt(/^((?!chrome|android).)*safari/iu);
|
|
7231
7233
|
const Sl = (() => {
|
|
7232
7234
|
try {
|
|
7233
7235
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -7240,23 +7242,23 @@ const Sl = (() => {
|
|
|
7240
7242
|
* Copyright (c) 2017 Anton Korzunov
|
|
7241
7243
|
* SPDX-License-Identifier: MIT
|
|
7242
7244
|
*/
|
|
7243
|
-
let
|
|
7244
|
-
const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
7245
|
+
let Ne = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), yt = {}, Wt = 0;
|
|
7246
|
+
const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, qt = (...o) => {
|
|
7245
7247
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7246
7248
|
}, Pl = (o, t) => Io(o) ? t.map((e) => {
|
|
7247
7249
|
if (!Io(e))
|
|
7248
|
-
return
|
|
7250
|
+
return qt(e, "is not a valid element"), null;
|
|
7249
7251
|
let i = e;
|
|
7250
7252
|
for (; i && i !== o; ) {
|
|
7251
7253
|
if (o.contains(i))
|
|
7252
7254
|
return e;
|
|
7253
7255
|
i = i.getRootNode().host;
|
|
7254
7256
|
}
|
|
7255
|
-
return
|
|
7256
|
-
}).filter((e) => !!e) : (
|
|
7257
|
+
return qt(e, "is not contained inside", o), null;
|
|
7258
|
+
}).filter((e) => !!e) : (qt(o, "is not a valid element"), []), Ol = (o, t, e, i) => {
|
|
7257
7259
|
const s = Pl(t, Array.isArray(o) ? o : [o]);
|
|
7258
|
-
|
|
7259
|
-
const r =
|
|
7260
|
+
yt[e] || (yt[e] = /* @__PURE__ */ new WeakMap());
|
|
7261
|
+
const r = yt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7260
7262
|
if (!u || a.has(u))
|
|
7261
7263
|
return;
|
|
7262
7264
|
a.add(u);
|
|
@@ -7273,16 +7275,16 @@ const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
|
7273
7275
|
if (a.has(y))
|
|
7274
7276
|
c(y);
|
|
7275
7277
|
else {
|
|
7276
|
-
const E = y.getAttribute(i), D = E !== null && E !== "false", T = (
|
|
7277
|
-
|
|
7278
|
+
const E = y.getAttribute(i), D = E !== null && E !== "false", T = (Ne.get(y) || 0) + 1, k = (r.get(y) || 0) + 1;
|
|
7279
|
+
Ne.set(y, T), r.set(y, k), n.push(y), T === 1 && D && gt.set(y, !0), k === 1 && y.setAttribute(e, "true"), D || y.setAttribute(i, "true");
|
|
7278
7280
|
}
|
|
7279
7281
|
});
|
|
7280
7282
|
};
|
|
7281
|
-
return c(t), a.clear(),
|
|
7283
|
+
return c(t), a.clear(), Wt += 1, () => {
|
|
7282
7284
|
n.forEach((u) => {
|
|
7283
|
-
const h =
|
|
7284
|
-
|
|
7285
|
-
}),
|
|
7285
|
+
const h = Ne.get(u) - 1, p = r.get(u) - 1;
|
|
7286
|
+
Ne.set(u, h), r.set(u, p), h || (gt.has(u) ? gt.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
|
|
7287
|
+
}), Wt -= 1, Wt || (Ne = /* @__PURE__ */ new WeakMap(), Ne = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), yt = {});
|
|
7286
7288
|
};
|
|
7287
7289
|
}, Zs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7288
7290
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7333,7 +7335,7 @@ class Il {
|
|
|
7333
7335
|
* @param {Node | null | undefined} focusNode
|
|
7334
7336
|
*/
|
|
7335
7337
|
saveFocus(t) {
|
|
7336
|
-
this.focusNode = t ||
|
|
7338
|
+
this.focusNode = t || pi();
|
|
7337
7339
|
}
|
|
7338
7340
|
/**
|
|
7339
7341
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7343,7 +7345,7 @@ class Il {
|
|
|
7343
7345
|
if (!e)
|
|
7344
7346
|
return;
|
|
7345
7347
|
const i = t ? t.preventScroll : !1;
|
|
7346
|
-
|
|
7348
|
+
pi() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7347
7349
|
}
|
|
7348
7350
|
}
|
|
7349
7351
|
/**
|
|
@@ -7351,7 +7353,7 @@ class Il {
|
|
|
7351
7353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7352
7354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7353
7355
|
*/
|
|
7354
|
-
const
|
|
7356
|
+
const Kt = [];
|
|
7355
7357
|
class Nl {
|
|
7356
7358
|
/**
|
|
7357
7359
|
* @param {HTMLElement} host
|
|
@@ -7401,14 +7403,14 @@ class Nl {
|
|
|
7401
7403
|
trapFocus(t) {
|
|
7402
7404
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
7403
7405
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
7404
|
-
|
|
7406
|
+
Kt.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
7405
7407
|
}
|
|
7406
7408
|
/**
|
|
7407
7409
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
7408
7410
|
* so that it becomes possible to tab outside the trap node.
|
|
7409
7411
|
*/
|
|
7410
7412
|
releaseFocus() {
|
|
7411
|
-
this.__trapNode = null,
|
|
7413
|
+
this.__trapNode = null, Kt.pop();
|
|
7412
7414
|
}
|
|
7413
7415
|
/**
|
|
7414
7416
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -7422,7 +7424,7 @@ class Nl {
|
|
|
7422
7424
|
* @private
|
|
7423
7425
|
*/
|
|
7424
7426
|
__onKeyDown(t) {
|
|
7425
|
-
if (this.__trapNode && this === Array.from(
|
|
7427
|
+
if (this.__trapNode && this === Array.from(Kt).pop() && t.key === "Tab") {
|
|
7426
7428
|
t.preventDefault();
|
|
7427
7429
|
const e = t.shiftKey;
|
|
7428
7430
|
this.__focusNextElement(e);
|
|
@@ -7449,7 +7451,7 @@ class Nl {
|
|
|
7449
7451
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7450
7452
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7451
7453
|
*/
|
|
7452
|
-
const
|
|
7454
|
+
const Ye = U((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
7453
7455
|
constructor() {
|
|
7454
7456
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
7455
7457
|
}
|
|
@@ -7489,7 +7491,7 @@ const je = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7489
7491
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7490
7492
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7491
7493
|
*/
|
|
7492
|
-
const Fl = (o) => class extends
|
|
7494
|
+
const Fl = (o) => class extends Ye(o) {
|
|
7493
7495
|
static get properties() {
|
|
7494
7496
|
return {
|
|
7495
7497
|
/**
|
|
@@ -7533,7 +7535,7 @@ const Fl = (o) => class extends je(o) {
|
|
|
7533
7535
|
*/
|
|
7534
7536
|
_resetFocus() {
|
|
7535
7537
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7536
|
-
const e =
|
|
7538
|
+
const e = !$i();
|
|
7537
7539
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7538
7540
|
}
|
|
7539
7541
|
}
|
|
@@ -7565,7 +7567,7 @@ const Fl = (o) => class extends je(o) {
|
|
|
7565
7567
|
* @return {boolean}
|
|
7566
7568
|
*/
|
|
7567
7569
|
_shouldRestoreFocus() {
|
|
7568
|
-
const e =
|
|
7570
|
+
const e = pi();
|
|
7569
7571
|
return e === document.body || this._deepContains(e);
|
|
7570
7572
|
}
|
|
7571
7573
|
/**
|
|
@@ -7591,7 +7593,7 @@ const Fl = (o) => class extends je(o) {
|
|
|
7591
7593
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7592
7594
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7593
7595
|
*/
|
|
7594
|
-
const Qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
7596
|
+
const Qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), gi = () => Qs().filter((o) => o.$.overlay), zl = (o) => o === gi().pop(), Ll = (o) => class extends o {
|
|
7595
7597
|
constructor() {
|
|
7596
7598
|
super(), this._hasOverlayStackMixin = !0;
|
|
7597
7599
|
}
|
|
@@ -7614,14 +7616,14 @@ const Qs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7614
7616
|
}
|
|
7615
7617
|
/** @protected */
|
|
7616
7618
|
_enterModalState() {
|
|
7617
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
7619
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), gi().forEach((e) => {
|
|
7618
7620
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
7619
7621
|
});
|
|
7620
7622
|
}
|
|
7621
7623
|
/** @protected */
|
|
7622
7624
|
_exitModalState() {
|
|
7623
7625
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
7624
|
-
const e =
|
|
7626
|
+
const e = gi();
|
|
7625
7627
|
let i;
|
|
7626
7628
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
7627
7629
|
;
|
|
@@ -7917,23 +7919,23 @@ function Rl(o) {
|
|
|
7917
7919
|
}
|
|
7918
7920
|
return t;
|
|
7919
7921
|
}
|
|
7920
|
-
function
|
|
7922
|
+
function Ri(o) {
|
|
7921
7923
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7922
7924
|
}
|
|
7923
|
-
function
|
|
7925
|
+
function Ft(o) {
|
|
7924
7926
|
return o ? [...o].join(" ") : "";
|
|
7925
7927
|
}
|
|
7926
7928
|
function er(o, t, e) {
|
|
7927
|
-
const i =
|
|
7928
|
-
i.add(e), o.setAttribute(t,
|
|
7929
|
+
const i = Ri(o.getAttribute(t));
|
|
7930
|
+
i.add(e), o.setAttribute(t, Ft(i));
|
|
7929
7931
|
}
|
|
7930
7932
|
function Hl(o, t, e) {
|
|
7931
|
-
const i =
|
|
7933
|
+
const i = Ri(o.getAttribute(t));
|
|
7932
7934
|
if (i.delete(e), i.size === 0) {
|
|
7933
7935
|
o.removeAttribute(t);
|
|
7934
7936
|
return;
|
|
7935
7937
|
}
|
|
7936
|
-
o.setAttribute(t,
|
|
7938
|
+
o.setAttribute(t, Ft(i));
|
|
7937
7939
|
}
|
|
7938
7940
|
function Bl(o) {
|
|
7939
7941
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -7977,10 +7979,10 @@ function Vl(o, t) {
|
|
|
7977
7979
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7978
7980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7979
7981
|
*/
|
|
7980
|
-
const
|
|
7982
|
+
const Gt = {
|
|
7981
7983
|
start: "top",
|
|
7982
7984
|
end: "bottom"
|
|
7983
|
-
},
|
|
7985
|
+
}, Jt = {
|
|
7984
7986
|
start: "left",
|
|
7985
7987
|
end: "right"
|
|
7986
7988
|
}, No = new ResizeObserver((o) => {
|
|
@@ -8132,14 +8134,14 @@ const Kt = {
|
|
|
8132
8134
|
e,
|
|
8133
8135
|
a,
|
|
8134
8136
|
this.noVerticalOverlap,
|
|
8135
|
-
|
|
8137
|
+
Gt,
|
|
8136
8138
|
this,
|
|
8137
8139
|
i
|
|
8138
8140
|
), d = this.__calculatePositionInOneDimension(
|
|
8139
8141
|
e,
|
|
8140
8142
|
a,
|
|
8141
8143
|
this.noHorizontalOverlap,
|
|
8142
|
-
|
|
8144
|
+
Jt,
|
|
8143
8145
|
this,
|
|
8144
8146
|
r
|
|
8145
8147
|
);
|
|
@@ -8156,7 +8158,7 @@ const Kt = {
|
|
|
8156
8158
|
this.__margins,
|
|
8157
8159
|
n,
|
|
8158
8160
|
this.noHorizontalOverlap,
|
|
8159
|
-
|
|
8161
|
+
Jt
|
|
8160
8162
|
);
|
|
8161
8163
|
}
|
|
8162
8164
|
__shouldAlignStartVertically(e) {
|
|
@@ -8170,7 +8172,7 @@ const Kt = {
|
|
|
8170
8172
|
this.__margins,
|
|
8171
8173
|
r,
|
|
8172
8174
|
this.noVerticalOverlap,
|
|
8173
|
-
|
|
8175
|
+
Gt
|
|
8174
8176
|
);
|
|
8175
8177
|
}
|
|
8176
8178
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8187,7 +8189,7 @@ const Kt = {
|
|
|
8187
8189
|
__adjustBottomProperty(e, i, s) {
|
|
8188
8190
|
let r;
|
|
8189
8191
|
if (e === i.end) {
|
|
8190
|
-
if (i.end ===
|
|
8192
|
+
if (i.end === Gt.end) {
|
|
8191
8193
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
8192
8194
|
if (s > n && this.__oldViewportHeight) {
|
|
8193
8195
|
const a = this.__oldViewportHeight - n;
|
|
@@ -8195,7 +8197,7 @@ const Kt = {
|
|
|
8195
8197
|
}
|
|
8196
8198
|
this.__oldViewportHeight = n;
|
|
8197
8199
|
}
|
|
8198
|
-
if (i.end ===
|
|
8200
|
+
if (i.end === Jt.end) {
|
|
8199
8201
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
8200
8202
|
if (s > n && this.__oldViewportWidth) {
|
|
8201
8203
|
const a = this.__oldViewportWidth - n;
|
|
@@ -8273,12 +8275,12 @@ const Yl = P`
|
|
|
8273
8275
|
H("vaadin-date-picker-overlay", [ml, Yl], {
|
|
8274
8276
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8275
8277
|
});
|
|
8276
|
-
class Wl extends jl(
|
|
8278
|
+
class Wl extends jl(It(Pe(be))) {
|
|
8277
8279
|
static get is() {
|
|
8278
8280
|
return "vaadin-date-picker-overlay";
|
|
8279
8281
|
}
|
|
8280
8282
|
static get template() {
|
|
8281
|
-
return
|
|
8283
|
+
return Me`
|
|
8282
8284
|
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
|
8283
8285
|
<div part="overlay" id="overlay">
|
|
8284
8286
|
<div part="content" id="content">
|
|
@@ -8289,7 +8291,7 @@ class Wl extends jl(Mt(Se(be))) {
|
|
|
8289
8291
|
}
|
|
8290
8292
|
}
|
|
8291
8293
|
le(Wl);
|
|
8292
|
-
const ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8294
|
+
const ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, xt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8293
8295
|
function Kl() {
|
|
8294
8296
|
function o() {
|
|
8295
8297
|
return !0;
|
|
@@ -8298,7 +8300,7 @@ function Kl() {
|
|
|
8298
8300
|
}
|
|
8299
8301
|
function Gl() {
|
|
8300
8302
|
try {
|
|
8301
|
-
return Jl() ? !0 : Xl() ?
|
|
8303
|
+
return Jl() ? !0 : Xl() ? xt ? !Zl() : !Kl() : !1;
|
|
8302
8304
|
} catch (o) {
|
|
8303
8305
|
return !1;
|
|
8304
8306
|
}
|
|
@@ -8310,7 +8312,7 @@ function Xl() {
|
|
|
8310
8312
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8311
8313
|
}
|
|
8312
8314
|
function Zl() {
|
|
8313
|
-
return !!(
|
|
8315
|
+
return !!(xt && Object.keys(xt).map((t) => xt[t]).filter((t) => t.productionMode).length > 0);
|
|
8314
8316
|
}
|
|
8315
8317
|
function tr(o, t) {
|
|
8316
8318
|
if (typeof o != "function")
|
|
@@ -8825,13 +8827,13 @@ const ed = function() {
|
|
|
8825
8827
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8826
8828
|
*/
|
|
8827
8829
|
let zo = 0, ir = 0;
|
|
8828
|
-
const
|
|
8829
|
-
let
|
|
8830
|
+
const $e = [];
|
|
8831
|
+
let yi = !1;
|
|
8830
8832
|
function td() {
|
|
8831
|
-
|
|
8832
|
-
const o =
|
|
8833
|
+
yi = !1;
|
|
8834
|
+
const o = $e.length;
|
|
8833
8835
|
for (let t = 0; t < o; t++) {
|
|
8834
|
-
const e =
|
|
8836
|
+
const e = $e[t];
|
|
8835
8837
|
if (e)
|
|
8836
8838
|
try {
|
|
8837
8839
|
e();
|
|
@@ -8841,9 +8843,9 @@ function td() {
|
|
|
8841
8843
|
});
|
|
8842
8844
|
}
|
|
8843
8845
|
}
|
|
8844
|
-
|
|
8846
|
+
$e.splice(0, o), ir += o;
|
|
8845
8847
|
}
|
|
8846
|
-
const
|
|
8848
|
+
const kt = {
|
|
8847
8849
|
/**
|
|
8848
8850
|
* Returns a sub-module with the async interface providing the provided
|
|
8849
8851
|
* delay.
|
|
@@ -8934,7 +8936,7 @@ const Dt = {
|
|
|
8934
8936
|
* @return {number} Handle used for canceling task
|
|
8935
8937
|
*/
|
|
8936
8938
|
run(o) {
|
|
8937
|
-
|
|
8939
|
+
yi || (yi = !0, queueMicrotask(() => td())), $e.push(o);
|
|
8938
8940
|
const t = zo;
|
|
8939
8941
|
return zo += 1, t;
|
|
8940
8942
|
},
|
|
@@ -8948,9 +8950,9 @@ const Dt = {
|
|
|
8948
8950
|
cancel(o) {
|
|
8949
8951
|
const t = o - ir;
|
|
8950
8952
|
if (t >= 0) {
|
|
8951
|
-
if (
|
|
8953
|
+
if (!$e[t])
|
|
8952
8954
|
throw new Error(`invalid async handle: ${o}`);
|
|
8953
|
-
|
|
8955
|
+
$e[t] = null;
|
|
8954
8956
|
}
|
|
8955
8957
|
}
|
|
8956
8958
|
};
|
|
@@ -8963,8 +8965,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8963
8965
|
Code distributed by Google as part of the polymer project is also
|
|
8964
8966
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8965
8967
|
*/
|
|
8966
|
-
const
|
|
8967
|
-
let
|
|
8968
|
+
const vi = /* @__PURE__ */ new Set();
|
|
8969
|
+
let Ve = class bi {
|
|
8968
8970
|
/**
|
|
8969
8971
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8970
8972
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9000,7 +9002,7 @@ let Be = class vi {
|
|
|
9000
9002
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9001
9003
|
*/
|
|
9002
9004
|
static debounce(t, e, i) {
|
|
9003
|
-
return t instanceof
|
|
9005
|
+
return t instanceof bi ? t._cancelAsync() : t = new bi(), t.setConfig(e, i), t;
|
|
9004
9006
|
}
|
|
9005
9007
|
constructor() {
|
|
9006
9008
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9016,7 +9018,7 @@ let Be = class vi {
|
|
|
9016
9018
|
*/
|
|
9017
9019
|
setConfig(t, e) {
|
|
9018
9020
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9019
|
-
this._timer = null,
|
|
9021
|
+
this._timer = null, vi.delete(this), this._callback();
|
|
9020
9022
|
});
|
|
9021
9023
|
}
|
|
9022
9024
|
/**
|
|
@@ -9025,7 +9027,7 @@ let Be = class vi {
|
|
|
9025
9027
|
* @return {void}
|
|
9026
9028
|
*/
|
|
9027
9029
|
cancel() {
|
|
9028
|
-
this.isActive() && (this._cancelAsync(),
|
|
9030
|
+
this.isActive() && (this._cancelAsync(), vi.delete(this));
|
|
9029
9031
|
}
|
|
9030
9032
|
/**
|
|
9031
9033
|
* Cancels a debouncer's async callback.
|
|
@@ -9056,7 +9058,7 @@ let Be = class vi {
|
|
|
9056
9058
|
}
|
|
9057
9059
|
};
|
|
9058
9060
|
function rd(o) {
|
|
9059
|
-
|
|
9061
|
+
vi.add(o);
|
|
9060
9062
|
}
|
|
9061
9063
|
/**
|
|
9062
9064
|
* @license
|
|
@@ -9069,15 +9071,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9069
9071
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9070
9072
|
ed();
|
|
9071
9073
|
};
|
|
9072
|
-
let
|
|
9073
|
-
const Lo = /* @__PURE__ */ new Set(), or = (o) => class extends
|
|
9074
|
+
let Xt;
|
|
9075
|
+
const Lo = /* @__PURE__ */ new Set(), or = (o) => class extends It(o) {
|
|
9074
9076
|
/** @protected */
|
|
9075
9077
|
static finalize() {
|
|
9076
9078
|
super.finalize();
|
|
9077
9079
|
const { is: e } = this;
|
|
9078
|
-
e && !Lo.has(e) && (window.Vaadin.registrations.push(this), Lo.add(e), window.Vaadin.developmentModeCallback && (
|
|
9080
|
+
e && !Lo.has(e) && (window.Vaadin.registrations.push(this), Lo.add(e), window.Vaadin.developmentModeCallback && (Xt = Ve.debounce(Xt, od, () => {
|
|
9079
9081
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9080
|
-
}), rd(
|
|
9082
|
+
}), rd(Xt)));
|
|
9081
9083
|
}
|
|
9082
9084
|
constructor() {
|
|
9083
9085
|
super(), document.doctype === null && console.warn(
|
|
@@ -9450,7 +9452,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9450
9452
|
Code distributed by Google as part of the polymer project is also
|
|
9451
9453
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9452
9454
|
*/
|
|
9453
|
-
const cd =
|
|
9455
|
+
const cd = (o) => o, nr = typeof document.head.style.touchAction == "string", wi = "__polymerGestures", Zt = "__polymerGesturesHandled", xi = "__polymerGesturesTouchAction", $o = 25, Ro = 5, ud = 2, hd = ["mousedown", "mousemove", "mouseup", "click"], pd = [0, 1, 4, 2], fd = function() {
|
|
9454
9456
|
try {
|
|
9455
9457
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9456
9458
|
} catch (o) {
|
|
@@ -9458,15 +9460,15 @@ const cd = !1, ud = (o) => o, Ri = typeof document.head.style.touchAction == "st
|
|
|
9458
9460
|
}
|
|
9459
9461
|
}();
|
|
9460
9462
|
function Hi(o) {
|
|
9461
|
-
return
|
|
9463
|
+
return hd.indexOf(o) > -1;
|
|
9462
9464
|
}
|
|
9463
|
-
let
|
|
9465
|
+
let md = !1;
|
|
9464
9466
|
(function() {
|
|
9465
9467
|
try {
|
|
9466
9468
|
const o = Object.defineProperty({}, "passive", {
|
|
9467
9469
|
// eslint-disable-next-line getter-return
|
|
9468
9470
|
get() {
|
|
9469
|
-
|
|
9471
|
+
md = !0;
|
|
9470
9472
|
}
|
|
9471
9473
|
});
|
|
9472
9474
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9474,8 +9476,7 @@ let nr = !1;
|
|
|
9474
9476
|
}
|
|
9475
9477
|
})();
|
|
9476
9478
|
function _d(o) {
|
|
9477
|
-
|
|
9478
|
-
return { passive: !0 };
|
|
9479
|
+
Hi(o);
|
|
9479
9480
|
}
|
|
9480
9481
|
const gd = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), yd = {
|
|
9481
9482
|
button: !0,
|
|
@@ -9488,13 +9489,13 @@ const gd = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), yd = {
|
|
|
9488
9489
|
select: !0,
|
|
9489
9490
|
textarea: !0
|
|
9490
9491
|
};
|
|
9491
|
-
function
|
|
9492
|
+
function ke(o) {
|
|
9492
9493
|
const t = o.type;
|
|
9493
9494
|
if (!Hi(t))
|
|
9494
9495
|
return !1;
|
|
9495
9496
|
if (t === "mousemove") {
|
|
9496
9497
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9497
|
-
return o instanceof window.MouseEvent && !
|
|
9498
|
+
return o instanceof window.MouseEvent && !fd && (i = pd[o.which] || 0), !!(i & 1);
|
|
9498
9499
|
}
|
|
9499
9500
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9500
9501
|
}
|
|
@@ -9515,10 +9516,6 @@ function vd(o) {
|
|
|
9515
9516
|
return !1;
|
|
9516
9517
|
}
|
|
9517
9518
|
const he = {
|
|
9518
|
-
mouse: {
|
|
9519
|
-
target: null,
|
|
9520
|
-
mouseIgnoreJob: null
|
|
9521
|
-
},
|
|
9522
9519
|
touch: {
|
|
9523
9520
|
x: 0,
|
|
9524
9521
|
y: 0,
|
|
@@ -9530,8 +9527,8 @@ function bd(o) {
|
|
|
9530
9527
|
let t = "auto";
|
|
9531
9528
|
const e = lr(o);
|
|
9532
9529
|
for (let i = 0, s; i < e.length; i++)
|
|
9533
|
-
if (s = e[i], s[
|
|
9534
|
-
t = s[
|
|
9530
|
+
if (s = e[i], s[xi]) {
|
|
9531
|
+
t = s[xi];
|
|
9535
9532
|
break;
|
|
9536
9533
|
}
|
|
9537
9534
|
return t;
|
|
@@ -9539,7 +9536,7 @@ function bd(o) {
|
|
|
9539
9536
|
function ar(o, t, e) {
|
|
9540
9537
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9541
9538
|
}
|
|
9542
|
-
function
|
|
9539
|
+
function Re(o) {
|
|
9543
9540
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9544
9541
|
}
|
|
9545
9542
|
const lr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Bi = {}, Ee = [];
|
|
@@ -9561,19 +9558,19 @@ function ve(o) {
|
|
|
9561
9558
|
return t.length > 0 ? t[0] : o.target;
|
|
9562
9559
|
}
|
|
9563
9560
|
function xd(o) {
|
|
9564
|
-
const t = o.type, i = o.currentTarget[
|
|
9561
|
+
const t = o.type, i = o.currentTarget[wi];
|
|
9565
9562
|
if (!i)
|
|
9566
9563
|
return;
|
|
9567
9564
|
const s = i[t];
|
|
9568
9565
|
if (!s)
|
|
9569
9566
|
return;
|
|
9570
|
-
if (!o[
|
|
9567
|
+
if (!o[Zt] && (o[Zt] = {}, t.startsWith("touch"))) {
|
|
9571
9568
|
const n = o.changedTouches[0];
|
|
9572
9569
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9573
9570
|
return;
|
|
9574
|
-
|
|
9571
|
+
nr || (t === "touchstart" || t === "touchmove") && Cd(o);
|
|
9575
9572
|
}
|
|
9576
|
-
const r = o[
|
|
9573
|
+
const r = o[Zt];
|
|
9577
9574
|
if (!r.skip) {
|
|
9578
9575
|
for (let n = 0, a; n < Ee.length; n++)
|
|
9579
9576
|
a = Ee[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9592,7 +9589,7 @@ function Cd(o) {
|
|
|
9592
9589
|
const i = bd(o);
|
|
9593
9590
|
let s = !1;
|
|
9594
9591
|
const r = Math.abs(he.touch.x - t.clientX), n = Math.abs(he.touch.y - t.clientY);
|
|
9595
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
9592
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : St("track");
|
|
9596
9593
|
}
|
|
9597
9594
|
}
|
|
9598
9595
|
function ae(o, t, e) {
|
|
@@ -9600,8 +9597,8 @@ function ae(o, t, e) {
|
|
|
9600
9597
|
}
|
|
9601
9598
|
function Ad(o, t, e) {
|
|
9602
9599
|
const i = Bi[t], s = i.deps, r = i.name;
|
|
9603
|
-
let n = o[
|
|
9604
|
-
n || (o[
|
|
9600
|
+
let n = o[wi];
|
|
9601
|
+
n || (o[wi] = n = {});
|
|
9605
9602
|
for (let a = 0, l, d; a < s.length; a++)
|
|
9606
9603
|
l = s[a], !(gd && Hi(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && o.addEventListener(l, xd, _d(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9607
9604
|
o.addEventListener(t, e), i.touchAction && dr(o, i.touchAction);
|
|
@@ -9621,13 +9618,13 @@ function Td(o) {
|
|
|
9621
9618
|
return null;
|
|
9622
9619
|
}
|
|
9623
9620
|
function dr(o, t) {
|
|
9624
|
-
|
|
9621
|
+
nr && o instanceof HTMLElement && sd.run(() => {
|
|
9625
9622
|
o.style.touchAction = t;
|
|
9626
|
-
}), o[
|
|
9623
|
+
}), o[xi] = t;
|
|
9627
9624
|
}
|
|
9628
9625
|
function Ui(o, t, e) {
|
|
9629
9626
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9630
|
-
if (i.detail = e,
|
|
9627
|
+
if (i.detail = e, cd(
|
|
9631
9628
|
/** @type {!Node} */
|
|
9632
9629
|
o
|
|
9633
9630
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9635,7 +9632,7 @@ function Ui(o, t, e) {
|
|
|
9635
9632
|
s && s.preventDefault && s.preventDefault();
|
|
9636
9633
|
}
|
|
9637
9634
|
}
|
|
9638
|
-
function
|
|
9635
|
+
function St(o) {
|
|
9639
9636
|
const t = Td(o);
|
|
9640
9637
|
t.info && (t.info.prevent = !0);
|
|
9641
9638
|
}
|
|
@@ -9656,7 +9653,7 @@ Vi({
|
|
|
9656
9653
|
* @return {void}
|
|
9657
9654
|
*/
|
|
9658
9655
|
reset() {
|
|
9659
|
-
|
|
9656
|
+
Re(this.info);
|
|
9660
9657
|
},
|
|
9661
9658
|
/**
|
|
9662
9659
|
* @this {GestureRecognizer}
|
|
@@ -9664,14 +9661,14 @@ Vi({
|
|
|
9664
9661
|
* @return {void}
|
|
9665
9662
|
*/
|
|
9666
9663
|
mousedown(o) {
|
|
9667
|
-
if (!
|
|
9664
|
+
if (!ke(o))
|
|
9668
9665
|
return;
|
|
9669
9666
|
const t = ve(o), e = this, i = (r) => {
|
|
9670
|
-
|
|
9667
|
+
ke(r) || (Je("up", t, r), Re(e.info));
|
|
9671
9668
|
}, s = (r) => {
|
|
9672
|
-
|
|
9669
|
+
ke(r) && Je("up", t, r), Re(e.info);
|
|
9673
9670
|
};
|
|
9674
|
-
ar(this.info, i, s),
|
|
9671
|
+
ar(this.info, i, s), Je("down", t, o);
|
|
9675
9672
|
},
|
|
9676
9673
|
/**
|
|
9677
9674
|
* @this {GestureRecognizer}
|
|
@@ -9679,7 +9676,7 @@ Vi({
|
|
|
9679
9676
|
* @return {void}
|
|
9680
9677
|
*/
|
|
9681
9678
|
touchstart(o) {
|
|
9682
|
-
|
|
9679
|
+
Je("down", ve(o), o.changedTouches[0], o);
|
|
9683
9680
|
},
|
|
9684
9681
|
/**
|
|
9685
9682
|
* @this {GestureRecognizer}
|
|
@@ -9687,17 +9684,17 @@ Vi({
|
|
|
9687
9684
|
* @return {void}
|
|
9688
9685
|
*/
|
|
9689
9686
|
touchend(o) {
|
|
9690
|
-
|
|
9687
|
+
Je("up", ve(o), o.changedTouches[0], o);
|
|
9691
9688
|
}
|
|
9692
9689
|
});
|
|
9693
|
-
function
|
|
9690
|
+
function Je(o, t, e, i) {
|
|
9694
9691
|
t && Ui(t, o, {
|
|
9695
9692
|
x: e.clientX,
|
|
9696
9693
|
y: e.clientY,
|
|
9697
9694
|
sourceEvent: e,
|
|
9698
9695
|
preventer: i,
|
|
9699
9696
|
prevent(s) {
|
|
9700
|
-
return
|
|
9697
|
+
return St(s);
|
|
9701
9698
|
}
|
|
9702
9699
|
});
|
|
9703
9700
|
}
|
|
@@ -9718,7 +9715,7 @@ Vi({
|
|
|
9718
9715
|
moves: [],
|
|
9719
9716
|
/** @this {GestureInfo} */
|
|
9720
9717
|
addMove(o) {
|
|
9721
|
-
this.moves.length >
|
|
9718
|
+
this.moves.length > ud && this.moves.shift(), this.moves.push(o);
|
|
9722
9719
|
},
|
|
9723
9720
|
movefn: null,
|
|
9724
9721
|
upfn: null,
|
|
@@ -9729,7 +9726,7 @@ Vi({
|
|
|
9729
9726
|
* @return {void}
|
|
9730
9727
|
*/
|
|
9731
9728
|
reset() {
|
|
9732
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
9729
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Re(this.info);
|
|
9733
9730
|
},
|
|
9734
9731
|
/**
|
|
9735
9732
|
* @this {GestureRecognizer}
|
|
@@ -9737,13 +9734,13 @@ Vi({
|
|
|
9737
9734
|
* @return {void}
|
|
9738
9735
|
*/
|
|
9739
9736
|
mousedown(o) {
|
|
9740
|
-
if (!
|
|
9737
|
+
if (!ke(o))
|
|
9741
9738
|
return;
|
|
9742
9739
|
const t = ve(o), e = this, i = (r) => {
|
|
9743
9740
|
const n = r.clientX, a = r.clientY;
|
|
9744
|
-
Ho(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9741
|
+
Ho(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && St("tap"), e.info.addMove({ x: n, y: a }), ke(r) || (e.info.state = "end", Re(e.info)), t && Qt(e.info, t, r), e.info.started = !0);
|
|
9745
9742
|
}, s = (r) => {
|
|
9746
|
-
e.info.started && i(r),
|
|
9743
|
+
e.info.started && i(r), Re(e.info);
|
|
9747
9744
|
};
|
|
9748
9745
|
ar(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9749
9746
|
},
|
|
@@ -9763,7 +9760,7 @@ Vi({
|
|
|
9763
9760
|
*/
|
|
9764
9761
|
touchmove(o) {
|
|
9765
9762
|
const t = ve(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9766
|
-
Ho(this.info, i, s) && (this.info.state === "start" &&
|
|
9763
|
+
Ho(this.info, i, s) && (this.info.state === "start" && St("tap"), this.info.addMove({ x: i, y: s }), Qt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9767
9764
|
},
|
|
9768
9765
|
/**
|
|
9769
9766
|
* @this {GestureRecognizer}
|
|
@@ -9772,7 +9769,7 @@ Vi({
|
|
|
9772
9769
|
*/
|
|
9773
9770
|
touchend(o) {
|
|
9774
9771
|
const t = ve(o), e = o.changedTouches[0];
|
|
9775
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
9772
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Qt(this.info, t, e));
|
|
9776
9773
|
}
|
|
9777
9774
|
});
|
|
9778
9775
|
function Ho(o, t, e) {
|
|
@@ -9783,7 +9780,7 @@ function Ho(o, t, e) {
|
|
|
9783
9780
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9784
9781
|
return i >= Ro || s >= Ro;
|
|
9785
9782
|
}
|
|
9786
|
-
function
|
|
9783
|
+
function Qt(o, t, e) {
|
|
9787
9784
|
if (!t)
|
|
9788
9785
|
return;
|
|
9789
9786
|
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;
|
|
@@ -9828,7 +9825,7 @@ Vi({
|
|
|
9828
9825
|
* @return {void}
|
|
9829
9826
|
*/
|
|
9830
9827
|
mousedown(o) {
|
|
9831
|
-
|
|
9828
|
+
ke(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
9832
9829
|
},
|
|
9833
9830
|
/**
|
|
9834
9831
|
* @this {GestureRecognizer}
|
|
@@ -9836,7 +9833,7 @@ Vi({
|
|
|
9836
9833
|
* @return {void}
|
|
9837
9834
|
*/
|
|
9838
9835
|
click(o) {
|
|
9839
|
-
|
|
9836
|
+
ke(o) && Bo(this.info, o);
|
|
9840
9837
|
},
|
|
9841
9838
|
/**
|
|
9842
9839
|
* @this {GestureRecognizer}
|
|
@@ -9918,7 +9915,7 @@ const cr = U(
|
|
|
9918
9915
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9919
9916
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9920
9917
|
*/
|
|
9921
|
-
const
|
|
9918
|
+
const zt = U(
|
|
9922
9919
|
(o) => class extends o {
|
|
9923
9920
|
/** @protected */
|
|
9924
9921
|
ready() {
|
|
@@ -9980,7 +9977,7 @@ const Ft = U(
|
|
|
9980
9977
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9981
9978
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9982
9979
|
*/
|
|
9983
|
-
const Ed = (o) => class extends cr(
|
|
9980
|
+
const Ed = (o) => class extends cr(zt(o)) {
|
|
9984
9981
|
/**
|
|
9985
9982
|
* An array of activation keys.
|
|
9986
9983
|
*
|
|
@@ -10050,7 +10047,7 @@ const ji = U(
|
|
|
10050
10047
|
* @return {boolean}
|
|
10051
10048
|
*/
|
|
10052
10049
|
get _keyboardActive() {
|
|
10053
|
-
return
|
|
10050
|
+
return $i();
|
|
10054
10051
|
}
|
|
10055
10052
|
/** @protected */
|
|
10056
10053
|
ready() {
|
|
@@ -10207,12 +10204,12 @@ const Dd = (o) => class extends Ed(ur(ji(o))) {
|
|
|
10207
10204
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10208
10205
|
*/
|
|
10209
10206
|
H("vaadin-button", ld, { moduleId: "vaadin-button-styles" });
|
|
10210
|
-
class kd extends Dd(or(
|
|
10207
|
+
class kd extends Dd(or(Pe(Ye(be)))) {
|
|
10211
10208
|
static get is() {
|
|
10212
10209
|
return "vaadin-button";
|
|
10213
10210
|
}
|
|
10214
10211
|
static get template() {
|
|
10215
|
-
return dd(
|
|
10212
|
+
return dd(Me);
|
|
10216
10213
|
}
|
|
10217
10214
|
/** @protected */
|
|
10218
10215
|
ready() {
|
|
@@ -10233,11 +10230,11 @@ function Sd(o) {
|
|
|
10233
10230
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
10234
10231
|
return Math.floor(n / 7 + 1);
|
|
10235
10232
|
}
|
|
10236
|
-
function
|
|
10233
|
+
function Ci(o) {
|
|
10237
10234
|
const t = new Date(o);
|
|
10238
10235
|
return t.setHours(0, 0, 0, 0), t;
|
|
10239
10236
|
}
|
|
10240
|
-
function fe(o, t, e =
|
|
10237
|
+
function fe(o, t, e = Ci) {
|
|
10241
10238
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10242
10239
|
}
|
|
10243
10240
|
function Yi(o) {
|
|
@@ -10247,7 +10244,7 @@ function Yi(o) {
|
|
|
10247
10244
|
year: o.getFullYear()
|
|
10248
10245
|
};
|
|
10249
10246
|
}
|
|
10250
|
-
function
|
|
10247
|
+
function Ue(o, t, e, i) {
|
|
10251
10248
|
let s = !1;
|
|
10252
10249
|
if (typeof i == "function" && o) {
|
|
10253
10250
|
const r = Yi(o);
|
|
@@ -10277,7 +10274,7 @@ function Pd(o, t, e = 0, i = 1) {
|
|
|
10277
10274
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
10278
10275
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
10279
10276
|
}
|
|
10280
|
-
function
|
|
10277
|
+
function Xe(o) {
|
|
10281
10278
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
10282
10279
|
if (!t)
|
|
10283
10280
|
return;
|
|
@@ -10307,7 +10304,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10307
10304
|
Code distributed by Google as part of the polymer project is also
|
|
10308
10305
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10309
10306
|
*/
|
|
10310
|
-
class
|
|
10307
|
+
class Pt {
|
|
10311
10308
|
constructor() {
|
|
10312
10309
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
10313
10310
|
}
|
|
@@ -10322,7 +10319,7 @@ class St {
|
|
|
10322
10319
|
*/
|
|
10323
10320
|
setConfig(t, e) {
|
|
10324
10321
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
10325
|
-
this._timer = null,
|
|
10322
|
+
this._timer = null, ut.delete(this), this._callback();
|
|
10326
10323
|
});
|
|
10327
10324
|
}
|
|
10328
10325
|
/**
|
|
@@ -10331,7 +10328,7 @@ class St {
|
|
|
10331
10328
|
* @return {void}
|
|
10332
10329
|
*/
|
|
10333
10330
|
cancel() {
|
|
10334
|
-
this.isActive() && (this._cancelAsync(),
|
|
10331
|
+
this.isActive() && (this._cancelAsync(), ut.delete(this));
|
|
10335
10332
|
}
|
|
10336
10333
|
/**
|
|
10337
10334
|
* Cancels a debouncer's async callback.
|
|
@@ -10395,15 +10392,15 @@ class St {
|
|
|
10395
10392
|
* @return {!Debouncer} Returns a debouncer object.
|
|
10396
10393
|
*/
|
|
10397
10394
|
static debounce(t, e, i) {
|
|
10398
|
-
return t instanceof
|
|
10395
|
+
return t instanceof Pt ? t._cancelAsync() : t = new Pt(), t.setConfig(e, i), t;
|
|
10399
10396
|
}
|
|
10400
10397
|
}
|
|
10401
|
-
let
|
|
10398
|
+
let ut = /* @__PURE__ */ new Set();
|
|
10402
10399
|
const Id = function(o) {
|
|
10403
|
-
|
|
10400
|
+
ut.add(o);
|
|
10404
10401
|
}, Nd = function() {
|
|
10405
|
-
const o = !!
|
|
10406
|
-
return
|
|
10402
|
+
const o = !!ut.size;
|
|
10403
|
+
return ut.forEach((t) => {
|
|
10407
10404
|
try {
|
|
10408
10405
|
t.flush();
|
|
10409
10406
|
} catch (e) {
|
|
@@ -10583,7 +10580,7 @@ class mr extends HTMLElement {
|
|
|
10583
10580
|
const t = this.$.scroller.scrollTop;
|
|
10584
10581
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10585
10582
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10586
|
-
(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 =
|
|
10583
|
+
(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 = Ve.debounce(this._debouncerScrollFinish, kt.after(200), () => {
|
|
10587
10584
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10588
10585
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10589
10586
|
});
|
|
@@ -10592,7 +10589,7 @@ class mr extends HTMLElement {
|
|
|
10592
10589
|
_reset() {
|
|
10593
10590
|
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) => {
|
|
10594
10591
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10595
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
10592
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = Ve.debounce(this._debouncerUpdateClones, kt.after(200), () => {
|
|
10596
10593
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10597
10594
|
}), this._scrollDisabled = !1;
|
|
10598
10595
|
}
|
|
@@ -10785,12 +10782,12 @@ const Ld = (o) => class extends o {
|
|
|
10785
10782
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10786
10783
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10787
10784
|
*/
|
|
10788
|
-
class $d extends
|
|
10785
|
+
class $d extends Pe(Ld(be)) {
|
|
10789
10786
|
static get is() {
|
|
10790
10787
|
return "vaadin-date-picker-year";
|
|
10791
10788
|
}
|
|
10792
10789
|
static get template() {
|
|
10793
|
-
return
|
|
10790
|
+
return Me`
|
|
10794
10791
|
<style>
|
|
10795
10792
|
:host {
|
|
10796
10793
|
display: block;
|
|
@@ -10889,21 +10886,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10889
10886
|
Code distributed by Google as part of the polymer project is also
|
|
10890
10887
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10891
10888
|
*/
|
|
10892
|
-
let
|
|
10893
|
-
function
|
|
10894
|
-
return
|
|
10889
|
+
let Ai = null;
|
|
10890
|
+
function Ti() {
|
|
10891
|
+
return Ai;
|
|
10895
10892
|
}
|
|
10896
|
-
|
|
10893
|
+
Ti.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
10897
10894
|
constructor: {
|
|
10898
|
-
value:
|
|
10895
|
+
value: Ti,
|
|
10899
10896
|
writable: !0
|
|
10900
10897
|
}
|
|
10901
10898
|
});
|
|
10902
|
-
const yr =
|
|
10899
|
+
const yr = zi(Ti), Hd = Ki(yr);
|
|
10903
10900
|
function Bd(o, t) {
|
|
10904
|
-
|
|
10901
|
+
Ai = o, Object.setPrototypeOf(o, t.prototype), new t(), Ai = null;
|
|
10905
10902
|
}
|
|
10906
|
-
const Vd =
|
|
10903
|
+
const Vd = zi(class {
|
|
10907
10904
|
});
|
|
10908
10905
|
function Ud(o, t) {
|
|
10909
10906
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11057,7 +11054,7 @@ function Vo(o) {
|
|
|
11057
11054
|
}
|
|
11058
11055
|
function Yd(o, t, e) {
|
|
11059
11056
|
let i = e.mutableData ? jd : we;
|
|
11060
|
-
|
|
11057
|
+
Ei.mixin && (i = Ei.mixin(i));
|
|
11061
11058
|
let s = class extends i {
|
|
11062
11059
|
};
|
|
11063
11060
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Kd(s, o, t, e), s;
|
|
@@ -11144,8 +11141,8 @@ function Jd() {
|
|
|
11144
11141
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11145
11142
|
};
|
|
11146
11143
|
}
|
|
11147
|
-
function
|
|
11148
|
-
if (
|
|
11144
|
+
function Ei(o, t, e) {
|
|
11145
|
+
if (Et && !Vo(o))
|
|
11149
11146
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11150
11147
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11151
11148
|
e || {}, o.__templatizeOwner)
|
|
@@ -11426,7 +11423,7 @@ class jo extends ec {
|
|
|
11426
11423
|
return s.observe(this, { childList: !0 }), !1;
|
|
11427
11424
|
}
|
|
11428
11425
|
let i = {};
|
|
11429
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11426
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Ei(e, this, {
|
|
11430
11427
|
mutableData: this.mutableData,
|
|
11431
11428
|
parentModel: !0,
|
|
11432
11429
|
instanceProps: i,
|
|
@@ -11450,7 +11447,7 @@ class jo extends ec {
|
|
|
11450
11447
|
if (sa(this.as, r)) {
|
|
11451
11448
|
let a = s[this.itemsIndexAs];
|
|
11452
11449
|
r == this.as && (this.items[a] = n);
|
|
11453
|
-
let l =
|
|
11450
|
+
let l = lt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
11454
11451
|
this.notifyPath(l, n);
|
|
11455
11452
|
}
|
|
11456
11453
|
}
|
|
@@ -11501,7 +11498,7 @@ class jo extends ec {
|
|
|
11501
11498
|
* @param {number=} delay Delay in ms to debounce by.
|
|
11502
11499
|
*/
|
|
11503
11500
|
__debounceRender(t, e = 0) {
|
|
11504
|
-
this.__renderDebouncer =
|
|
11501
|
+
this.__renderDebouncer = Pt.debounce(
|
|
11505
11502
|
this.__renderDebouncer,
|
|
11506
11503
|
e > 0 ? ca.after(e) : Is,
|
|
11507
11504
|
t.bind(this)
|
|
@@ -11780,7 +11777,7 @@ const tc = (o) => class extends ji(o) {
|
|
|
11780
11777
|
const r = new Date(0, 0);
|
|
11781
11778
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
11782
11779
|
const n = new Date(0, 0);
|
|
11783
|
-
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 : !
|
|
11780
|
+
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 : !Ue(r, i, s) && !Ue(n, i, s);
|
|
11784
11781
|
}
|
|
11785
11782
|
/** @protected */
|
|
11786
11783
|
_getTitle(e, i) {
|
|
@@ -11937,9 +11934,9 @@ const ic = P`
|
|
|
11937
11934
|
H("vaadin-month-calendar", ic, {
|
|
11938
11935
|
moduleId: "vaadin-month-calendar-styles"
|
|
11939
11936
|
});
|
|
11940
|
-
class oc extends tc(
|
|
11937
|
+
class oc extends tc(Pe(be)) {
|
|
11941
11938
|
static get template() {
|
|
11942
|
-
return
|
|
11939
|
+
return Me`
|
|
11943
11940
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
11944
11941
|
<table
|
|
11945
11942
|
id="monthGrid"
|
|
@@ -12015,7 +12012,7 @@ class oc extends tc(Se(be)) {
|
|
|
12015
12012
|
/** @private */
|
|
12016
12013
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12017
12014
|
__getDatePart(t, e, i, s, r, n) {
|
|
12018
|
-
const a = ["date"], l = t >
|
|
12015
|
+
const a = ["date"], l = t > Ci(/* @__PURE__ */ new Date()), d = t < Ci(/* @__PURE__ */ new Date());
|
|
12019
12016
|
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"), d && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12020
12017
|
}
|
|
12021
12018
|
/** @private */
|
|
@@ -12033,7 +12030,7 @@ class oc extends tc(Se(be)) {
|
|
|
12033
12030
|
}
|
|
12034
12031
|
/** @private */
|
|
12035
12032
|
__isDayDisabled(t, e, i, s) {
|
|
12036
|
-
return !
|
|
12033
|
+
return !Ue(t, e, i, s);
|
|
12037
12034
|
}
|
|
12038
12035
|
/** @private */
|
|
12039
12036
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -12402,7 +12399,7 @@ const sc = (o) => class extends o {
|
|
|
12402
12399
|
}
|
|
12403
12400
|
/** @private */
|
|
12404
12401
|
_doIgnoreTaps() {
|
|
12405
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
12402
|
+
this._ignoreTaps = !0, this._debouncer = Ve.debounce(this._debouncer, kt.after(300), () => {
|
|
12406
12403
|
this._ignoreTaps = !1;
|
|
12407
12404
|
});
|
|
12408
12405
|
}
|
|
@@ -12625,13 +12622,13 @@ const sc = (o) => class extends o {
|
|
|
12625
12622
|
}
|
|
12626
12623
|
}
|
|
12627
12624
|
focusDate(e, i) {
|
|
12628
|
-
return
|
|
12625
|
+
return ft(this, null, function* () {
|
|
12629
12626
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
12630
12627
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
12631
12628
|
});
|
|
12632
12629
|
}
|
|
12633
12630
|
focusDateElement(e = !0) {
|
|
12634
|
-
return
|
|
12631
|
+
return ft(this, null, function* () {
|
|
12635
12632
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12636
12633
|
Js(this, () => {
|
|
12637
12634
|
Wi(), i();
|
|
@@ -12669,7 +12666,7 @@ const sc = (o) => class extends o {
|
|
|
12669
12666
|
}
|
|
12670
12667
|
/** @private */
|
|
12671
12668
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
12672
|
-
return
|
|
12669
|
+
return Ue(e, i, s, r);
|
|
12673
12670
|
}
|
|
12674
12671
|
/** @private */
|
|
12675
12672
|
_isTodayAllowed(e, i, s) {
|
|
@@ -12762,10 +12759,10 @@ H("vaadin-date-picker-overlay-content", rc, {
|
|
|
12762
12759
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12763
12760
|
});
|
|
12764
12761
|
class nc extends sc(
|
|
12765
|
-
|
|
12762
|
+
Ye(Pe(It(be)))
|
|
12766
12763
|
) {
|
|
12767
12764
|
static get template() {
|
|
12768
|
-
return
|
|
12765
|
+
return Me`
|
|
12769
12766
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
12770
12767
|
<div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
|
|
12771
12768
|
<div part="clear-button" hidden$="[[!selectedDate]]"></div>
|
|
@@ -12958,9 +12955,9 @@ const br = U(
|
|
|
12958
12955
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12959
12956
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12960
12957
|
*/
|
|
12961
|
-
const
|
|
12958
|
+
const ei = /* @__PURE__ */ new WeakMap();
|
|
12962
12959
|
function ac(o) {
|
|
12963
|
-
return
|
|
12960
|
+
return ei.has(o) || ei.set(o, /* @__PURE__ */ new Set()), ei.get(o);
|
|
12964
12961
|
}
|
|
12965
12962
|
function lc(o, t) {
|
|
12966
12963
|
const e = document.createElement("style");
|
|
@@ -13197,7 +13194,7 @@ const wr = U(
|
|
|
13197
13194
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13198
13195
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13199
13196
|
*/
|
|
13200
|
-
const cc = (o) => class extends wr(
|
|
13197
|
+
const cc = (o) => class extends wr(zt(o)) {
|
|
13201
13198
|
static get properties() {
|
|
13202
13199
|
return {
|
|
13203
13200
|
/**
|
|
@@ -13272,9 +13269,9 @@ const cc = (o) => class extends wr(Ft(o)) {
|
|
|
13272
13269
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13273
13270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13274
13271
|
*/
|
|
13275
|
-
const
|
|
13272
|
+
const ti = /* @__PURE__ */ new Map();
|
|
13276
13273
|
function Gi(o) {
|
|
13277
|
-
return
|
|
13274
|
+
return ti.has(o) || ti.set(o, /* @__PURE__ */ new WeakMap()), ti.get(o);
|
|
13278
13275
|
}
|
|
13279
13276
|
function xr(o, t) {
|
|
13280
13277
|
o && o.removeAttribute(t);
|
|
@@ -13285,16 +13282,16 @@ function Cr(o, t) {
|
|
|
13285
13282
|
const e = Gi(t);
|
|
13286
13283
|
if (e.has(o))
|
|
13287
13284
|
return;
|
|
13288
|
-
const i =
|
|
13285
|
+
const i = Ri(o.getAttribute(t));
|
|
13289
13286
|
e.set(o, new Set(i));
|
|
13290
13287
|
}
|
|
13291
13288
|
function uc(o, t) {
|
|
13292
13289
|
if (!o || !t)
|
|
13293
13290
|
return;
|
|
13294
13291
|
const e = Gi(t), i = e.get(o);
|
|
13295
|
-
!i || i.size === 0 ? o.removeAttribute(t) : er(o, t,
|
|
13292
|
+
!i || i.size === 0 ? o.removeAttribute(t) : er(o, t, Ft(i)), e.delete(o);
|
|
13296
13293
|
}
|
|
13297
|
-
function
|
|
13294
|
+
function ii(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13298
13295
|
if (!o || !t)
|
|
13299
13296
|
return;
|
|
13300
13297
|
const { newId: i, oldId: s, fromUser: r } = e, n = Gi(t), a = n.get(o);
|
|
@@ -13303,7 +13300,7 @@ function ti(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13303
13300
|
return;
|
|
13304
13301
|
}
|
|
13305
13302
|
r && (a ? i || n.delete(o) : Cr(o, t), xr(o, t)), Hl(o, t, s);
|
|
13306
|
-
const l = i ||
|
|
13303
|
+
const l = i || Ft(a);
|
|
13307
13304
|
l && er(o, t, l);
|
|
13308
13305
|
}
|
|
13309
13306
|
function hc(o, t) {
|
|
@@ -13396,7 +13393,7 @@ class pc {
|
|
|
13396
13393
|
* @private
|
|
13397
13394
|
*/
|
|
13398
13395
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
13399
|
-
|
|
13396
|
+
ii(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
13400
13397
|
}
|
|
13401
13398
|
/**
|
|
13402
13399
|
* @param {string | null | undefined} errorId
|
|
@@ -13404,7 +13401,7 @@ class pc {
|
|
|
13404
13401
|
* @private
|
|
13405
13402
|
*/
|
|
13406
13403
|
__setErrorIdToAriaAttribute(t, e) {
|
|
13407
|
-
|
|
13404
|
+
ii(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13408
13405
|
}
|
|
13409
13406
|
/**
|
|
13410
13407
|
* @param {string | null | undefined} helperId
|
|
@@ -13412,7 +13409,7 @@ class pc {
|
|
|
13412
13409
|
* @private
|
|
13413
13410
|
*/
|
|
13414
13411
|
__setHelperIdToAriaAttribute(t, e) {
|
|
13415
|
-
|
|
13412
|
+
ii(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13416
13413
|
}
|
|
13417
13414
|
/**
|
|
13418
13415
|
* @param {boolean} required
|
|
@@ -13432,12 +13429,12 @@ ie.style.position = "fixed";
|
|
|
13432
13429
|
ie.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13433
13430
|
ie.setAttribute("aria-live", "polite");
|
|
13434
13431
|
document.body.appendChild(ie);
|
|
13435
|
-
let
|
|
13432
|
+
let vt;
|
|
13436
13433
|
function fc(o, t = {}) {
|
|
13437
13434
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13438
|
-
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"),
|
|
13435
|
+
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), vt = Ve.debounce(vt, id, () => {
|
|
13439
13436
|
ie.setAttribute("role", "alert");
|
|
13440
|
-
})) : (
|
|
13437
|
+
})) : (vt && vt.cancel(), ie.removeAttribute("role"), ie.setAttribute("aria-live", e)), ie.textContent = "", setTimeout(() => {
|
|
13441
13438
|
ie.textContent = o;
|
|
13442
13439
|
}, i);
|
|
13443
13440
|
}
|
|
@@ -13448,7 +13445,7 @@ function fc(o, t = {}) {
|
|
|
13448
13445
|
*/
|
|
13449
13446
|
class Ji extends Te {
|
|
13450
13447
|
constructor(t, e, i, s = {}) {
|
|
13451
|
-
super(t, e, i, Lt(
|
|
13448
|
+
super(t, e, i, $t(Lt({}, s), { useUniqueId: !0 }));
|
|
13452
13449
|
}
|
|
13453
13450
|
/**
|
|
13454
13451
|
* Override to initialize the newly added custom node.
|
|
@@ -13752,7 +13749,7 @@ class gc extends Ji {
|
|
|
13752
13749
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13753
13750
|
*/
|
|
13754
13751
|
const yc = U(
|
|
13755
|
-
(o) => class extends
|
|
13752
|
+
(o) => class extends Ye(o) {
|
|
13756
13753
|
static get properties() {
|
|
13757
13754
|
return {
|
|
13758
13755
|
/**
|
|
@@ -13866,7 +13863,7 @@ const Ar = U(
|
|
|
13866
13863
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13867
13864
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13868
13865
|
*/
|
|
13869
|
-
const vc = (o) => class extends Ar(yc(
|
|
13866
|
+
const vc = (o) => class extends Ar(yc(Ye(o))) {
|
|
13870
13867
|
static get properties() {
|
|
13871
13868
|
return {
|
|
13872
13869
|
/**
|
|
@@ -14174,7 +14171,7 @@ const Tr = U(
|
|
|
14174
14171
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14175
14172
|
*/
|
|
14176
14173
|
const wc = (o) => class extends dc(
|
|
14177
|
-
br(Tr(vc(cc(
|
|
14174
|
+
br(Tr(vc(cc(zt(o)))))
|
|
14178
14175
|
) {
|
|
14179
14176
|
static get properties() {
|
|
14180
14177
|
return {
|
|
@@ -14306,7 +14303,7 @@ const wc = (o) => class extends dc(
|
|
|
14306
14303
|
}
|
|
14307
14304
|
/** @protected */
|
|
14308
14305
|
_markInputPrevented() {
|
|
14309
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
14306
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Ve.debounce(this._preventInputDebouncer, kt.after(200), () => {
|
|
14310
14307
|
this.removeAttribute("input-prevented");
|
|
14311
14308
|
});
|
|
14312
14309
|
}
|
|
@@ -14556,7 +14553,7 @@ class Sc {
|
|
|
14556
14553
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14557
14554
|
*/
|
|
14558
14555
|
const Pc = (o) => class extends kc(
|
|
14559
|
-
|
|
14556
|
+
Ye(br(Tr(zt(o))))
|
|
14560
14557
|
) {
|
|
14561
14558
|
static get properties() {
|
|
14562
14559
|
return {
|
|
@@ -14760,7 +14757,7 @@ const Pc = (o) => class extends kc(
|
|
|
14760
14757
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
14761
14758
|
if (i.length === 3) {
|
|
14762
14759
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14763
|
-
const l = this.referenceDate ?
|
|
14760
|
+
const l = this.referenceDate ? Xe(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14764
14761
|
a = Pd(l, a, n, r);
|
|
14765
14762
|
}
|
|
14766
14763
|
} else
|
|
@@ -14923,7 +14920,7 @@ const Pc = (o) => class extends kc(
|
|
|
14923
14920
|
* @protected
|
|
14924
14921
|
*/
|
|
14925
14922
|
_onFocus(e) {
|
|
14926
|
-
super._onFocus(e), this._noInput &&
|
|
14923
|
+
super._onFocus(e), this._noInput && !$i() && e.target.blur();
|
|
14927
14924
|
}
|
|
14928
14925
|
/**
|
|
14929
14926
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14985,7 +14982,7 @@ const Pc = (o) => class extends kc(
|
|
|
14985
14982
|
if (!this.i18n.parseDate)
|
|
14986
14983
|
return;
|
|
14987
14984
|
let i = this.i18n.parseDate(e);
|
|
14988
|
-
if (i && (i =
|
|
14985
|
+
if (i && (i = Xe(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
14989
14986
|
return i;
|
|
14990
14987
|
}
|
|
14991
14988
|
/**
|
|
@@ -15004,7 +15001,7 @@ const Pc = (o) => class extends kc(
|
|
|
15004
15001
|
* @return {boolean} True if the value is valid
|
|
15005
15002
|
*/
|
|
15006
15003
|
checkValidity() {
|
|
15007
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15004
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || Ue(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15008
15005
|
let r = !0;
|
|
15009
15006
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15010
15007
|
}
|
|
@@ -15127,7 +15124,7 @@ const Pc = (o) => class extends kc(
|
|
|
15127
15124
|
* @override
|
|
15128
15125
|
*/
|
|
15129
15126
|
_valueChanged(e, i) {
|
|
15130
|
-
const s =
|
|
15127
|
+
const s = Xe(e);
|
|
15131
15128
|
if (e && !s) {
|
|
15132
15129
|
this.value = i;
|
|
15133
15130
|
return;
|
|
@@ -15166,8 +15163,8 @@ const Pc = (o) => class extends kc(
|
|
|
15166
15163
|
}
|
|
15167
15164
|
/** @private */
|
|
15168
15165
|
_getInitialPosition() {
|
|
15169
|
-
const e =
|
|
15170
|
-
return e ||
|
|
15166
|
+
const e = Xe(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15167
|
+
return e || Ue(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? hr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15171
15168
|
}
|
|
15172
15169
|
/**
|
|
15173
15170
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15305,7 +15302,7 @@ const Pc = (o) => class extends kc(
|
|
|
15305
15302
|
}
|
|
15306
15303
|
/** @private */
|
|
15307
15304
|
__computeMinOrMaxDate(e) {
|
|
15308
|
-
return
|
|
15305
|
+
return Xe(e);
|
|
15309
15306
|
}
|
|
15310
15307
|
/**
|
|
15311
15308
|
* Fired when the user commits a value change.
|
|
@@ -15348,12 +15345,12 @@ const Oc = P`
|
|
|
15348
15345
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15349
15346
|
*/
|
|
15350
15347
|
H("vaadin-date-picker", [Dc, Oc], { moduleId: "vaadin-date-picker-styles" });
|
|
15351
|
-
class Mc extends Pc(wc(
|
|
15348
|
+
class Mc extends Pc(wc(Pe(or(be)))) {
|
|
15352
15349
|
static get is() {
|
|
15353
15350
|
return "vaadin-date-picker";
|
|
15354
15351
|
}
|
|
15355
15352
|
static get template() {
|
|
15356
|
-
return
|
|
15353
|
+
return Me`
|
|
15357
15354
|
<div class="vaadin-date-picker-container">
|
|
15358
15355
|
<div part="label">
|
|
15359
15356
|
<slot name="label"></slot>
|
|
@@ -15449,7 +15446,7 @@ if (typeof window != "undefined") {
|
|
|
15449
15446
|
}
|
|
15450
15447
|
};
|
|
15451
15448
|
};
|
|
15452
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15449
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DdwHxQsA.js").then((t) => t.P).then(
|
|
15453
15450
|
({ default: t }) => {
|
|
15454
15451
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15455
15452
|
"player-account-general-confirmation-modal",
|
|
@@ -15618,17 +15615,17 @@ var Er = { exports: {} };
|
|
|
15618
15615
|
var f = this, m = this.$locale();
|
|
15619
15616
|
if (!this.isValid())
|
|
15620
15617
|
return m.invalidDate || E;
|
|
15621
|
-
var w = g || "YYYY-MM-DDTHH:mm:ssZ", C = S.z(this), I = this.$H, R = this.$m, B = this.$M, b = m.weekdays, V = m.months, Z = m.meridiem, ne = function(G, me,
|
|
15622
|
-
return G && (G[me] || G(f, w)) ||
|
|
15618
|
+
var w = g || "YYYY-MM-DDTHH:mm:ssZ", C = S.z(this), I = this.$H, R = this.$m, B = this.$M, b = m.weekdays, V = m.months, Z = m.meridiem, ne = function(G, me, We, pt) {
|
|
15619
|
+
return G && (G[me] || G(f, w)) || We[me].slice(0, pt);
|
|
15623
15620
|
}, de = function(G) {
|
|
15624
15621
|
return S.s(I % 12 || 12, G, "0");
|
|
15625
|
-
}, xe = Z || function(G, me,
|
|
15626
|
-
var
|
|
15627
|
-
return
|
|
15622
|
+
}, xe = Z || function(G, me, We) {
|
|
15623
|
+
var pt = G < 12 ? "AM" : "PM";
|
|
15624
|
+
return We ? pt.toLowerCase() : pt;
|
|
15628
15625
|
};
|
|
15629
15626
|
return w.replace(T, function(G, me) {
|
|
15630
|
-
return me || function(
|
|
15631
|
-
switch (
|
|
15627
|
+
return me || function(We) {
|
|
15628
|
+
switch (We) {
|
|
15632
15629
|
case "YY":
|
|
15633
15630
|
return String(f.$y).slice(-2);
|
|
15634
15631
|
case "YYYY":
|
|
@@ -16000,7 +15997,7 @@ function zc(o) {
|
|
|
16000
15997
|
), re, X, te, $, S, K = (
|
|
16001
15998
|
/*isMobile*/
|
|
16002
15999
|
o[17] && $c(o)
|
|
16003
|
-
), ee =
|
|
16000
|
+
), ee = to(
|
|
16004
16001
|
/*timeoutOptions*/
|
|
16005
16002
|
o[8]
|
|
16006
16003
|
), v = [];
|
|
@@ -16018,11 +16015,11 @@ function zc(o) {
|
|
|
16018
16015
|
t = M("form"), K && K.c(), e = Y(), i = M("h2"), r = pe(s), n = Y(), a = M("div"), l = M("p"), c = pe(d), u = Y(), h = M("p"), y = pe(p), E = Y(), D = M("div"), T = M("select");
|
|
16019
16016
|
for (let f = 0; f < v.length; f += 1)
|
|
16020
16017
|
v[f].c();
|
|
16021
|
-
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te =
|
|
16018
|
+
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te = qr(), N(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
16022
16019
|
(o[17] ? "TimeoutTitleNone" : "")), N(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
16023
16020
|
(o[17] ? "TimeoutDescriptionMobile" : "")), N(T, "class", "TimeoutSelect " + /*isMobile*/
|
|
16024
16021
|
(o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
16025
|
-
o[9] === void 0 &&
|
|
16022
|
+
o[9] === void 0 && Kr(() => (
|
|
16026
16023
|
/*select_change_handler*/
|
|
16027
16024
|
o[26].call(T)
|
|
16028
16025
|
)), N(D, "class", "TimeoutSelectWrapper"), N(F, "class", "TimeoutSave"), N(L, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -16030,28 +16027,28 @@ function zc(o) {
|
|
|
16030
16027
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16031
16028
|
},
|
|
16032
16029
|
m(f, m) {
|
|
16033
|
-
|
|
16030
|
+
se(f, t, m), K && K.m(t, null), x(t, e), x(t, i), x(i, r), x(t, n), x(t, a), x(a, l), x(l, c), x(a, u), x(a, h), x(h, y), x(t, E), x(t, D), x(D, T);
|
|
16034
16031
|
for (let w = 0; w < v.length; w += 1)
|
|
16035
16032
|
v[w] && v[w].m(T, null);
|
|
16036
|
-
|
|
16033
|
+
io(
|
|
16037
16034
|
T,
|
|
16038
16035
|
/*timeoutSelected*/
|
|
16039
16036
|
o[9],
|
|
16040
16037
|
!0
|
|
16041
|
-
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re),
|
|
16042
|
-
|
|
16038
|
+
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re), se(f, X, m), g && g.m(f, m), se(f, te, m), $ || (S = [
|
|
16039
|
+
bt(
|
|
16043
16040
|
T,
|
|
16044
16041
|
"change",
|
|
16045
16042
|
/*select_change_handler*/
|
|
16046
16043
|
o[26]
|
|
16047
16044
|
),
|
|
16048
|
-
|
|
16045
|
+
bt(
|
|
16049
16046
|
T,
|
|
16050
16047
|
"change",
|
|
16051
16048
|
/*selectPeriod*/
|
|
16052
16049
|
o[21]
|
|
16053
16050
|
),
|
|
16054
|
-
|
|
16051
|
+
bt(
|
|
16055
16052
|
F,
|
|
16056
16053
|
"click",
|
|
16057
16054
|
/*click_handler_1*/
|
|
@@ -16081,7 +16078,7 @@ function zc(o) {
|
|
|
16081
16078
|
}) + "") && ge(y, p), m[0] & /*timeoutOptions, $_*/
|
|
16082
16079
|
65792
|
|
16083
16080
|
) {
|
|
16084
|
-
ee =
|
|
16081
|
+
ee = to(
|
|
16085
16082
|
/*timeoutOptions*/
|
|
16086
16083
|
f[8]
|
|
16087
16084
|
);
|
|
@@ -16095,7 +16092,7 @@ function zc(o) {
|
|
|
16095
16092
|
v.length = ee.length;
|
|
16096
16093
|
}
|
|
16097
16094
|
m[0] & /*timeoutSelected, timeoutOptions*/
|
|
16098
|
-
768 &&
|
|
16095
|
+
768 && io(
|
|
16099
16096
|
T,
|
|
16100
16097
|
/*timeoutSelected*/
|
|
16101
16098
|
f[9]
|
|
@@ -16106,7 +16103,7 @@ function zc(o) {
|
|
|
16106
16103
|
f[18] && g.p(f, m);
|
|
16107
16104
|
},
|
|
16108
16105
|
d(f) {
|
|
16109
|
-
f && (
|
|
16106
|
+
f && (oe(t), oe(X), oe(te)), K && K.d(), Yr(v, f), _ && _.d(), g && g.d(f), $ = !1, Wr(S);
|
|
16110
16107
|
}
|
|
16111
16108
|
};
|
|
16112
16109
|
}
|
|
@@ -16126,7 +16123,7 @@ function Lc(o) {
|
|
|
16126
16123
|
"height",
|
|
16127
16124
|
/*isMobile*/
|
|
16128
16125
|
o[17] ? "15px" : "20px"
|
|
16129
|
-
), A(s, "rows", "3"), A(s, "width", "100%"),
|
|
16126
|
+
), A(s, "rows", "3"), A(s, "width", "100%"), eo(
|
|
16130
16127
|
n,
|
|
16131
16128
|
"height",
|
|
16132
16129
|
/*isMobile*/
|
|
@@ -16136,7 +16133,7 @@ function Lc(o) {
|
|
|
16136
16133
|
"height",
|
|
16137
16134
|
/*isMobile*/
|
|
16138
16135
|
o[17] ? "15px" : "20px"
|
|
16139
|
-
), A(l, "rows", "3"), A(l, "width", "100%"),
|
|
16136
|
+
), A(l, "rows", "3"), A(l, "width", "100%"), eo(
|
|
16140
16137
|
c,
|
|
16141
16138
|
"height",
|
|
16142
16139
|
/*isMobile*/
|
|
@@ -16161,11 +16158,11 @@ function Lc(o) {
|
|
|
16161
16158
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16162
16159
|
},
|
|
16163
16160
|
m(L, F) {
|
|
16164
|
-
|
|
16161
|
+
se(L, t, F), z.m(t, null), x(t, e), x(t, i), x(i, s), x(i, r), x(i, n), x(i, a), x(i, l), x(i, d), x(i, c), x(t, u), x(t, h), x(h, p), x(t, y), x(t, E), x(E, D);
|
|
16165
16162
|
},
|
|
16166
|
-
p:
|
|
16163
|
+
p: oi,
|
|
16167
16164
|
d(L) {
|
|
16168
|
-
L &&
|
|
16165
|
+
L && oe(t), z.d();
|
|
16169
16166
|
}
|
|
16170
16167
|
};
|
|
16171
16168
|
}
|
|
@@ -16176,10 +16173,10 @@ function $c(o) {
|
|
|
16176
16173
|
), h, p, y;
|
|
16177
16174
|
return {
|
|
16178
16175
|
c() {
|
|
16179
|
-
t = M("div"), e =
|
|
16176
|
+
t = M("div"), e = Ie("svg"), i = Ie("defs"), s = Ie("style"), r = pe(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Ie("g"), a = Ie("g"), l = Ie("path"), d = Y(), c = M("h2"), h = pe(u), N(l, "class", "aaa"), N(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), N(l, "transform", "translate(15 15) rotate(180)"), N(a, "transform", "translate(20 158)"), N(n, "transform", "translate(-20 -158)"), N(e, "xmlns", "http://www.w3.org/2000/svg"), N(e, "width", "15"), N(e, "height", "15"), N(e, "viewBox", "0 0 15 15"), N(c, "class", "TimeoutTitleMobile"), N(c, "part", "TimeoutTitleMobile"), N(t, "class", "MenuReturnButton"), N(t, "part", "MenuReturnButton");
|
|
16180
16177
|
},
|
|
16181
16178
|
m(E, D) {
|
|
16182
|
-
|
|
16179
|
+
se(E, t, D), x(t, e), x(e, i), x(i, s), x(s, r), x(e, n), x(n, a), x(a, l), x(t, d), x(t, c), x(c, h), p || (y = bt(
|
|
16183
16180
|
t,
|
|
16184
16181
|
"click",
|
|
16185
16182
|
/*click_handler*/
|
|
@@ -16192,7 +16189,7 @@ function $c(o) {
|
|
|
16192
16189
|
E[16]("titleTimeout") + "") && ge(h, u);
|
|
16193
16190
|
},
|
|
16194
16191
|
d(E) {
|
|
16195
|
-
E &&
|
|
16192
|
+
E && oe(t), p = !1, y();
|
|
16196
16193
|
}
|
|
16197
16194
|
};
|
|
16198
16195
|
}
|
|
@@ -16210,7 +16207,7 @@ function Go(o) {
|
|
|
16210
16207
|
o[38], oo(t, t.__value);
|
|
16211
16208
|
},
|
|
16212
16209
|
m(r, n) {
|
|
16213
|
-
|
|
16210
|
+
se(r, t, n), x(t, i);
|
|
16214
16211
|
},
|
|
16215
16212
|
p(r, n) {
|
|
16216
16213
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16223,7 +16220,7 @@ function Go(o) {
|
|
|
16223
16220
|
r[38]) && (t.__value = s, oo(t, t.__value));
|
|
16224
16221
|
},
|
|
16225
16222
|
d(r) {
|
|
16226
|
-
r &&
|
|
16223
|
+
r && oe(t);
|
|
16227
16224
|
}
|
|
16228
16225
|
};
|
|
16229
16226
|
}
|
|
@@ -16256,7 +16253,7 @@ function Jo(o) {
|
|
|
16256
16253
|
(o[17] ? "TimeoutDateWrapperMobile" : ""));
|
|
16257
16254
|
},
|
|
16258
16255
|
m(p, y) {
|
|
16259
|
-
|
|
16256
|
+
se(p, t, y), x(t, e), x(e, s), x(t, r), x(t, n), x(n, l), x(n, d), x(n, c), x(t, u), x(t, h), o[27](h);
|
|
16260
16257
|
},
|
|
16261
16258
|
p(p, y) {
|
|
16262
16259
|
y[0] & /*$_*/
|
|
@@ -16284,7 +16281,7 @@ function Jo(o) {
|
|
|
16284
16281
|
);
|
|
16285
16282
|
},
|
|
16286
16283
|
d(p) {
|
|
16287
|
-
p &&
|
|
16284
|
+
p && oe(t), o[27](null);
|
|
16288
16285
|
}
|
|
16289
16286
|
};
|
|
16290
16287
|
}
|
|
@@ -16336,7 +16333,7 @@ function Rc(o) {
|
|
|
16336
16333
|
), A(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16337
16334
|
},
|
|
16338
16335
|
m(r, n) {
|
|
16339
|
-
|
|
16336
|
+
se(r, t, n), x(t, e);
|
|
16340
16337
|
},
|
|
16341
16338
|
p(r, n) {
|
|
16342
16339
|
n[0] & /*$_*/
|
|
@@ -16391,7 +16388,7 @@ function Rc(o) {
|
|
|
16391
16388
|
);
|
|
16392
16389
|
},
|
|
16393
16390
|
d(r) {
|
|
16394
|
-
r &&
|
|
16391
|
+
r && oe(t);
|
|
16395
16392
|
}
|
|
16396
16393
|
};
|
|
16397
16394
|
}
|
|
@@ -16402,10 +16399,10 @@ function Hc(o) {
|
|
|
16402
16399
|
t = M("ui-skeleton"), A(t, "structure", "title"), A(t, "width", "100px"), A(t, "margin-top", "20px"), A(t, "margin-bottom", "20px");
|
|
16403
16400
|
},
|
|
16404
16401
|
m(e, i) {
|
|
16405
|
-
|
|
16402
|
+
se(e, t, i);
|
|
16406
16403
|
},
|
|
16407
16404
|
d(e) {
|
|
16408
|
-
e &&
|
|
16405
|
+
e && oe(t);
|
|
16409
16406
|
}
|
|
16410
16407
|
};
|
|
16411
16408
|
}
|
|
@@ -16416,10 +16413,10 @@ function Bc(o) {
|
|
|
16416
16413
|
t = M("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>', N(t, "class", "MenuReturnButton");
|
|
16417
16414
|
},
|
|
16418
16415
|
m(e, i) {
|
|
16419
|
-
|
|
16416
|
+
se(e, t, i);
|
|
16420
16417
|
},
|
|
16421
16418
|
d(e) {
|
|
16422
|
-
e &&
|
|
16419
|
+
e && oe(t);
|
|
16423
16420
|
}
|
|
16424
16421
|
};
|
|
16425
16422
|
}
|
|
@@ -16437,21 +16434,21 @@ function Vc(o) {
|
|
|
16437
16434
|
t = M("div"), s.c();
|
|
16438
16435
|
},
|
|
16439
16436
|
m(r, n) {
|
|
16440
|
-
|
|
16437
|
+
se(r, t, n), s.m(t, null), o[29](t);
|
|
16441
16438
|
},
|
|
16442
16439
|
p(r, n) {
|
|
16443
16440
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16444
16441
|
},
|
|
16445
|
-
i:
|
|
16446
|
-
o:
|
|
16442
|
+
i: oi,
|
|
16443
|
+
o: oi,
|
|
16447
16444
|
d(r) {
|
|
16448
|
-
r &&
|
|
16445
|
+
r && oe(t), s.d(), o[29](null);
|
|
16449
16446
|
}
|
|
16450
16447
|
};
|
|
16451
16448
|
}
|
|
16452
16449
|
function Uc(o, t, e) {
|
|
16453
16450
|
let i;
|
|
16454
|
-
Br(o,
|
|
16451
|
+
Br(o, Gr, (b) => e(16, i = b));
|
|
16455
16452
|
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, E = window.navigator.userAgent, D = Vr(E) !== "PC", T = [
|
|
16456
16453
|
{
|
|
16457
16454
|
value: "CoolOffFor24Hours",
|
|
@@ -16538,7 +16535,7 @@ function Uc(o, t, e) {
|
|
|
16538
16535
|
});
|
|
16539
16536
|
const w = () => v();
|
|
16540
16537
|
function C() {
|
|
16541
|
-
k =
|
|
16538
|
+
k = jr(this), e(9, k), e(8, T);
|
|
16542
16539
|
}
|
|
16543
16540
|
function I(b) {
|
|
16544
16541
|
Qi[b ? "unshift" : "push"](() => {
|
|
@@ -16557,9 +16554,9 @@ function Uc(o, t, e) {
|
|
|
16557
16554
|
o.$$.dirty[0] & /*calendar*/
|
|
16558
16555
|
128 && y && m(), o.$$.dirty[0] & /*lang*/
|
|
16559
16556
|
2 && r && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16560
|
-
68 && n && p &&
|
|
16561
|
-
72 && a && p &&
|
|
16562
|
-
80 && l && p &&
|
|
16557
|
+
68 && n && p && Jr(p, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16558
|
+
72 && a && p && Xr(p, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16559
|
+
80 && l && p && Zr(p, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16563
16560
|
4194304 && d && $();
|
|
16564
16561
|
}, X && K(), [
|
|
16565
16562
|
s,
|
|
@@ -16601,7 +16598,7 @@ class jc extends zr {
|
|
|
16601
16598
|
t,
|
|
16602
16599
|
Uc,
|
|
16603
16600
|
Vc,
|
|
16604
|
-
|
|
16601
|
+
$r,
|
|
16605
16602
|
{
|
|
16606
16603
|
operator: 0,
|
|
16607
16604
|
lang: 1,
|
|
@@ -16672,7 +16669,7 @@ class jc extends zr {
|
|
|
16672
16669
|
this.$$set({ hasconfirmationmodal: t }), ce();
|
|
16673
16670
|
}
|
|
16674
16671
|
}
|
|
16675
|
-
|
|
16672
|
+
Rr(jc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16676
16673
|
export {
|
|
16677
16674
|
jc as default
|
|
16678
16675
|
};
|