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