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