@everymatrix/player-account-timeout 1.86.27 → 1.86.28
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/{PlayerAccountTimeout-C4EZysQV.js → PlayerAccountTimeout-C5VfC2o2.js} +701 -701
- package/components/{PlayerAccountTimeout-BRZ922Nb.cjs → PlayerAccountTimeout-Dlt0FHK9.cjs} +150 -150
- package/components/{PlayerAccountTimeout-CnvLO2Ln.js → PlayerAccountTimeout-DwDJpsT7.js} +713 -713
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as fr, g as mr, a as _r, $ as gr, b as yr, S as vr, i as br, s as wr, f as se, d as xr, n as Jt, e as ne, h as ae, j as O, k as Cr, l as Ar, o as Tr, m as Er, p as Nt, q as x, r as G, t as T, u as Wi, v as F, w as qi, x as Dr, y as kr, z as Re, A as Ki, B as _t, C as De, D as Sr, E as Me, F as Gi, G as Pr, H as Or, I as Mr, J as Ir } from "./PlayerAccountGeneralConfirmationModal-C_vRkkvt.js";
|
|
2
2
|
import "../stencil/ui-skeleton-W50o8tfg.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
@@ -26,12 +26,12 @@ function le(o, t = "24.5.10") {
|
|
|
26
26
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
27
27
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
28
28
|
*/
|
|
29
|
-
class
|
|
29
|
+
class Nr extends HTMLElement {
|
|
30
30
|
static get is() {
|
|
31
31
|
return "vaadin-lumo-styles";
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
le(
|
|
34
|
+
le(Nr);
|
|
35
35
|
/**
|
|
36
36
|
* @license
|
|
37
37
|
* Copyright 2019 Google LLC
|
|
@@ -57,7 +57,7 @@ let xi = class {
|
|
|
57
57
|
return this.cssText;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
const
|
|
60
|
+
const Fr = (o) => new xi(typeof o == "string" ? o : o + "", void 0, wi), k = (o, ...t) => {
|
|
61
61
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
62
62
|
if (n._$cssResult$ === !0)
|
|
63
63
|
return n.cssText;
|
|
@@ -66,7 +66,7 @@ const Nr = (o) => new xi(typeof o == "string" ? o : o + "", void 0, wi), k = (o,
|
|
|
66
66
|
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.");
|
|
67
67
|
})(s) + o[r + 1], o[0]);
|
|
68
68
|
return new xi(e, o, wi);
|
|
69
|
-
},
|
|
69
|
+
}, jo = (o, t) => {
|
|
70
70
|
if (bi)
|
|
71
71
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
72
72
|
else
|
|
@@ -78,17 +78,17 @@ const Nr = (o) => new xi(typeof o == "string" ? o : o + "", void 0, wi), k = (o,
|
|
|
78
78
|
let e = "";
|
|
79
79
|
for (const i of t.cssRules)
|
|
80
80
|
e += i.cssText;
|
|
81
|
-
return
|
|
81
|
+
return Fr(e);
|
|
82
82
|
})(o) : o;
|
|
83
83
|
/**
|
|
84
84
|
* @license
|
|
85
85
|
* Copyright 2017 Google LLC
|
|
86
86
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
87
87
|
*/
|
|
88
|
-
const { is:
|
|
88
|
+
const { is: zr, defineProperty: Lr, getOwnPropertyDescriptor: $r, getOwnPropertyNames: Rr, getOwnPropertySymbols: Hr, getPrototypeOf: Br } = Object, Dt = globalThis, Zi = Dt.trustedTypes, Vr = Zi ? Zi.emptyScript : "", Ur = Dt.reactiveElementPolyfillSupport, Qe = (o, t) => o, Xt = { toAttribute(o, t) {
|
|
89
89
|
switch (t) {
|
|
90
90
|
case Boolean:
|
|
91
|
-
o = o ?
|
|
91
|
+
o = o ? Vr : null;
|
|
92
92
|
break;
|
|
93
93
|
case Object:
|
|
94
94
|
case Array:
|
|
@@ -113,9 +113,9 @@ const { is: Fr, defineProperty: zr, getOwnPropertyDescriptor: Lr, getOwnProperty
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
return e;
|
|
116
|
-
} },
|
|
116
|
+
} }, Yo = (o, t) => !zr(o, t), Qi = { attribute: !0, type: String, converter: Xt, reflect: !1, useDefault: !1, hasChanged: Yo };
|
|
117
117
|
Symbol.metadata ??= Symbol("metadata"), Dt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
118
|
-
|
|
118
|
+
let Ne = class extends HTMLElement {
|
|
119
119
|
static addInitializer(t) {
|
|
120
120
|
this._$Ei(), (this.l ??= []).push(t);
|
|
121
121
|
}
|
|
@@ -125,11 +125,11 @@ class Ne extends HTMLElement {
|
|
|
125
125
|
static createProperty(t, e = Qi) {
|
|
126
126
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
127
127
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
128
|
-
s !== void 0 &&
|
|
128
|
+
s !== void 0 && Lr(this.prototype, t, s);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
static getPropertyDescriptor(t, e, i) {
|
|
132
|
-
const { get: s, set: r } =
|
|
132
|
+
const { get: s, set: r } = $r(this.prototype, t) ?? { get() {
|
|
133
133
|
return this[e];
|
|
134
134
|
}, set(n) {
|
|
135
135
|
this[e] = n;
|
|
@@ -145,14 +145,14 @@ class Ne extends HTMLElement {
|
|
|
145
145
|
static _$Ei() {
|
|
146
146
|
if (this.hasOwnProperty(Qe("elementProperties")))
|
|
147
147
|
return;
|
|
148
|
-
const t =
|
|
148
|
+
const t = Br(this);
|
|
149
149
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
150
150
|
}
|
|
151
151
|
static finalize() {
|
|
152
152
|
if (this.hasOwnProperty(Qe("finalized")))
|
|
153
153
|
return;
|
|
154
154
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Qe("properties"))) {
|
|
155
|
-
const e = this.properties, i = [
|
|
155
|
+
const e = this.properties, i = [...Rr(e), ...Hr(e)];
|
|
156
156
|
for (const s of i)
|
|
157
157
|
this.createProperty(s, e[s]);
|
|
158
158
|
}
|
|
@@ -204,7 +204,7 @@ class Ne extends HTMLElement {
|
|
|
204
204
|
}
|
|
205
205
|
createRenderRoot() {
|
|
206
206
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
207
|
-
return
|
|
207
|
+
return jo(t, this.constructor.elementStyles), t;
|
|
208
208
|
}
|
|
209
209
|
connectedCallback() {
|
|
210
210
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -233,10 +233,10 @@ class Ne extends HTMLElement {
|
|
|
233
233
|
this[s] = a ?? this._$Ej?.get(s) ?? a, this._$Em = null;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
requestUpdate(t, e, i) {
|
|
236
|
+
requestUpdate(t, e, i, s = !1, r) {
|
|
237
237
|
if (t !== void 0) {
|
|
238
|
-
const
|
|
239
|
-
if (i ??=
|
|
238
|
+
const n = this.constructor;
|
|
239
|
+
if (s === !1 && (r = this[t]), i ??= n.getPropertyOptions(t), !((i.hasChanged ?? Yo)(r, e) || i.useDefault && i.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(n._$Eu(t, i))))
|
|
240
240
|
return;
|
|
241
241
|
this.C(t, e, i);
|
|
242
242
|
}
|
|
@@ -307,40 +307,40 @@ class Ne extends HTMLElement {
|
|
|
307
307
|
}
|
|
308
308
|
firstUpdated(t) {
|
|
309
309
|
}
|
|
310
|
-
}
|
|
311
|
-
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(),
|
|
310
|
+
};
|
|
311
|
+
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(), Ur?.({ ReactiveElement: Ne }), (Dt.reactiveElementVersions ??= []).push("2.1.2");
|
|
312
312
|
/**
|
|
313
313
|
* @license
|
|
314
314
|
* Copyright 2017 Google LLC
|
|
315
315
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
316
316
|
*/
|
|
317
|
-
const Ci = globalThis, vt = Ci.trustedTypes,
|
|
318
|
-
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
319
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
320
|
-
function
|
|
317
|
+
const Ci = globalThis, eo = (o) => o, vt = Ci.trustedTypes, to = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Wo = "$lit$", ge = `lit$${Math.random().toFixed(9).slice(2)}$`, qo = "?" + ge, jr = `<${qo}>`, ke = document, tt = () => ke.createComment(""), it = (o) => o === null || typeof o != "object" && typeof o != "function", Ai = Array.isArray, Yr = (o) => Ai(o) || typeof o?.[Symbol.iterator] == "function", Ft = `[
|
|
318
|
+
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, io = /-->/g, oo = />/g, xe = RegExp(`>|${Ft}(?:([^\\s"'>=/]+)(${Ft}*=${Ft}*(?:[^
|
|
319
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), so = /'/g, ro = /"/g, Ko = /^(?:script|style|textarea|title)$/i, He = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), no = /* @__PURE__ */ new WeakMap(), Ce = ke.createTreeWalker(ke, 129);
|
|
320
|
+
function Go(o, t) {
|
|
321
321
|
if (!Ai(o) || !o.hasOwnProperty("raw"))
|
|
322
322
|
throw Error("invalid template strings array");
|
|
323
|
-
return
|
|
323
|
+
return to !== void 0 ? to.createHTML(t) : t;
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const Wr = (o, t) => {
|
|
326
326
|
const e = o.length - 1, i = [];
|
|
327
327
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = We;
|
|
328
328
|
for (let a = 0; a < e; a++) {
|
|
329
329
|
const l = o[a];
|
|
330
330
|
let d, u, c = -1, h = 0;
|
|
331
331
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
332
|
-
h = n.lastIndex, n === We ? u[1] === "!--" ? n =
|
|
332
|
+
h = n.lastIndex, n === We ? u[1] === "!--" ? n = io : u[1] !== void 0 ? n = oo : u[2] !== void 0 ? (Ko.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = xe) : u[3] !== void 0 && (n = xe) : n === xe ? u[0] === ">" ? (n = s ?? We, c = -1) : u[1] === void 0 ? c = -2 : (c = n.lastIndex - u[2].length, d = u[1], n = u[3] === void 0 ? xe : u[3] === '"' ? ro : so) : n === ro || n === so ? n = xe : n === io || n === oo ? n = We : (n = xe, s = void 0);
|
|
333
333
|
const _ = n === xe && o[a + 1].startsWith("/>") ? " " : "";
|
|
334
|
-
r += n === We ? l +
|
|
334
|
+
r += n === We ? l + jr : c >= 0 ? (i.push(d), l.slice(0, c) + Wo + l.slice(c) + ge + _) : l + ge + (c === -2 ? a : _);
|
|
335
335
|
}
|
|
336
|
-
return [
|
|
336
|
+
return [Go(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
337
|
};
|
|
338
338
|
class ot {
|
|
339
339
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
340
340
|
let s;
|
|
341
341
|
this.parts = [];
|
|
342
342
|
let r = 0, n = 0;
|
|
343
|
-
const a = t.length - 1, l = this.parts, [d, u] =
|
|
343
|
+
const a = t.length - 1, l = this.parts, [d, u] = Wr(t, e);
|
|
344
344
|
if (this.el = ot.createElement(d, i), Ce.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
345
|
const c = this.el.content.firstChild;
|
|
346
346
|
c.replaceWith(...c.childNodes);
|
|
@@ -349,12 +349,12 @@ class ot {
|
|
|
349
349
|
if (s.nodeType === 1) {
|
|
350
350
|
if (s.hasAttributes())
|
|
351
351
|
for (const c of s.getAttributeNames())
|
|
352
|
-
if (c.endsWith(
|
|
352
|
+
if (c.endsWith(Wo)) {
|
|
353
353
|
const h = u[n++], _ = s.getAttribute(c).split(ge), y = /([.?@])?(.*)/.exec(h);
|
|
354
|
-
l.push({ type: 1, index: r, name: y[2], strings: _, ctor: y[1] === "." ?
|
|
354
|
+
l.push({ type: 1, index: r, name: y[2], strings: _, ctor: y[1] === "." ? Kr : y[1] === "?" ? Gr : y[1] === "@" ? Jr : kt }), s.removeAttribute(c);
|
|
355
355
|
} else
|
|
356
356
|
c.startsWith(ge) && (l.push({ type: 6, index: r }), s.removeAttribute(c));
|
|
357
|
-
if (
|
|
357
|
+
if (Ko.test(s.tagName)) {
|
|
358
358
|
const c = s.textContent.split(ge), h = c.length - 1;
|
|
359
359
|
if (h > 0) {
|
|
360
360
|
s.textContent = vt ? vt.emptyScript : "";
|
|
@@ -364,7 +364,7 @@ class ot {
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
} else if (s.nodeType === 8)
|
|
367
|
-
if (s.data ===
|
|
367
|
+
if (s.data === qo)
|
|
368
368
|
l.push({ type: 2, index: r });
|
|
369
369
|
else {
|
|
370
370
|
let c = -1;
|
|
@@ -386,7 +386,7 @@ function Be(o, t, e = o, i) {
|
|
|
386
386
|
const r = it(t) ? void 0 : t._$litDirective$;
|
|
387
387
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Be(o, s._$AS(o, t.values), s, i)), t;
|
|
388
388
|
}
|
|
389
|
-
class
|
|
389
|
+
class qr {
|
|
390
390
|
constructor(t, e) {
|
|
391
391
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
392
392
|
}
|
|
@@ -403,7 +403,7 @@ class Wr {
|
|
|
403
403
|
for (; l !== void 0; ) {
|
|
404
404
|
if (n === l.index) {
|
|
405
405
|
let d;
|
|
406
|
-
l.type === 2 ? d = new ut(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new
|
|
406
|
+
l.type === 2 ? d = new ut(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new Xr(r, this, t)), this._$AV.push(d), l = i[++a];
|
|
407
407
|
}
|
|
408
408
|
n !== l?.index && (r = Ce.nextNode(), n++);
|
|
409
409
|
}
|
|
@@ -434,7 +434,7 @@ class ut {
|
|
|
434
434
|
return this._$AB;
|
|
435
435
|
}
|
|
436
436
|
_$AI(t, e = this) {
|
|
437
|
-
t = Be(this, t, e), it(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== He && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
437
|
+
t = Be(this, t, e), it(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== He && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Yr(t) ? this.k(t) : this._(t);
|
|
438
438
|
}
|
|
439
439
|
O(t) {
|
|
440
440
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -446,17 +446,17 @@ class ut {
|
|
|
446
446
|
this._$AH !== W && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(ke.createTextNode(t)), this._$AH = t;
|
|
447
447
|
}
|
|
448
448
|
$(t) {
|
|
449
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ot.createElement(
|
|
449
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ot.createElement(Go(i.h, i.h[0]), this.options)), i);
|
|
450
450
|
if (this._$AH?._$AD === s)
|
|
451
451
|
this._$AH.p(e);
|
|
452
452
|
else {
|
|
453
|
-
const r = new
|
|
453
|
+
const r = new qr(s, this), n = r.u(this.options);
|
|
454
454
|
r.p(e), this.T(n), this._$AH = r;
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
_$AC(t) {
|
|
458
|
-
let e =
|
|
459
|
-
return e === void 0 &&
|
|
458
|
+
let e = no.get(t.strings);
|
|
459
|
+
return e === void 0 && no.set(t.strings, e = new ot(t)), e;
|
|
460
460
|
}
|
|
461
461
|
k(t) {
|
|
462
462
|
Ai(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -468,8 +468,8 @@ class ut {
|
|
|
468
468
|
}
|
|
469
469
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
470
470
|
for (this._$AP?.(!1, !0, e); t !== this._$AB; ) {
|
|
471
|
-
const i = t.nextSibling;
|
|
472
|
-
t.remove(), t = i;
|
|
471
|
+
const i = eo(t).nextSibling;
|
|
472
|
+
eo(t).remove(), t = i;
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
setConnected(t) {
|
|
@@ -503,7 +503,7 @@ class kt {
|
|
|
503
503
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
class
|
|
506
|
+
class Kr extends kt {
|
|
507
507
|
constructor() {
|
|
508
508
|
super(...arguments), this.type = 3;
|
|
509
509
|
}
|
|
@@ -511,7 +511,7 @@ class qr extends kt {
|
|
|
511
511
|
this.element[this.name] = t === W ? void 0 : t;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
class
|
|
514
|
+
class Gr extends kt {
|
|
515
515
|
constructor() {
|
|
516
516
|
super(...arguments), this.type = 4;
|
|
517
517
|
}
|
|
@@ -519,7 +519,7 @@ class Kr extends kt {
|
|
|
519
519
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
class
|
|
522
|
+
class Jr extends kt {
|
|
523
523
|
constructor(t, e, i, s, r) {
|
|
524
524
|
super(t, e, i, s, r), this.type = 5;
|
|
525
525
|
}
|
|
@@ -533,7 +533,7 @@ class Gr extends kt {
|
|
|
533
533
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
class
|
|
536
|
+
class Xr {
|
|
537
537
|
constructor(t, e, i) {
|
|
538
538
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
539
539
|
}
|
|
@@ -544,9 +544,9 @@ class Jr {
|
|
|
544
544
|
Be(this, t);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
const
|
|
547
|
+
const Zr = Ci.litHtmlPolyfillSupport;
|
|
548
|
+
Zr?.(ot, ut), (Ci.litHtmlVersions ??= []).push("3.3.2");
|
|
549
|
+
const Qr = (o, t, e) => {
|
|
550
550
|
const i = e?.renderBefore ?? t;
|
|
551
551
|
let s = i._$litPart$;
|
|
552
552
|
if (s === void 0) {
|
|
@@ -571,7 +571,7 @@ class Fe extends Ne {
|
|
|
571
571
|
}
|
|
572
572
|
update(t) {
|
|
573
573
|
const e = this.render();
|
|
574
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
574
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Qr(e, this.renderRoot, this.renderOptions);
|
|
575
575
|
}
|
|
576
576
|
connectedCallback() {
|
|
577
577
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -584,15 +584,15 @@ class Fe extends Ne {
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
Fe._$litElement$ = !0, Fe.finalized = !0, Ti.litElementHydrateSupport?.({ LitElement: Fe });
|
|
587
|
-
const
|
|
588
|
-
|
|
589
|
-
(Ti.litElementVersions ??= []).push("4.2.
|
|
587
|
+
const en = Ti.litElementPolyfillSupport;
|
|
588
|
+
en?.({ LitElement: Fe });
|
|
589
|
+
(Ti.litElementVersions ??= []).push("4.2.2");
|
|
590
590
|
/**
|
|
591
591
|
* @license
|
|
592
592
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
593
593
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
594
594
|
*/
|
|
595
|
-
const
|
|
595
|
+
const tn = (o) => class extends o {
|
|
596
596
|
static get properties() {
|
|
597
597
|
return {
|
|
598
598
|
/**
|
|
@@ -631,103 +631,103 @@ const en = (o) => class extends o {
|
|
|
631
631
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
632
632
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
633
633
|
*/
|
|
634
|
-
const
|
|
635
|
-
function
|
|
634
|
+
const Jo = [], Zt = /* @__PURE__ */ new Set(), Ei = /* @__PURE__ */ new Set();
|
|
635
|
+
function Xo(o) {
|
|
636
636
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
return
|
|
638
|
+
function on(o) {
|
|
639
|
+
return Xo(customElements.get(o));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function sn(o = []) {
|
|
642
642
|
return [o].flat(1 / 0).filter((t) => t instanceof xi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function Zo(o, t) {
|
|
645
645
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function Qo(o) {
|
|
648
648
|
return o.map((t) => t.cssText).join(`
|
|
649
649
|
`);
|
|
650
650
|
}
|
|
651
651
|
const bt = "vaadin-themable-mixin-style";
|
|
652
|
-
function
|
|
652
|
+
function rn(o, t) {
|
|
653
653
|
const e = document.createElement("style");
|
|
654
|
-
e.id = bt, e.textContent =
|
|
654
|
+
e.id = bt, e.textContent = Qo(o), t.content.appendChild(e);
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function nn(o) {
|
|
657
657
|
if (!o.shadowRoot)
|
|
658
658
|
return;
|
|
659
659
|
const t = o.constructor;
|
|
660
660
|
if (o instanceof Fe)
|
|
661
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
661
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), jo(o.shadowRoot, t.elementStyles);
|
|
662
662
|
else {
|
|
663
663
|
const e = o.shadowRoot.getElementById(bt), i = t.prototype._template;
|
|
664
664
|
e.textContent = i.content.getElementById(bt).textContent;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function an(o) {
|
|
668
668
|
Zt.forEach((t) => {
|
|
669
669
|
const e = t.deref();
|
|
670
|
-
e instanceof o ?
|
|
670
|
+
e instanceof o ? nn(e) : e || Zt.delete(t);
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function es(o) {
|
|
674
674
|
if (o.prototype instanceof Fe)
|
|
675
675
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
676
676
|
else {
|
|
677
677
|
const t = o.prototype._template;
|
|
678
|
-
t.content.getElementById(bt).textContent =
|
|
678
|
+
t.content.getElementById(bt).textContent = Qo(o.getStylesForThis());
|
|
679
679
|
}
|
|
680
680
|
Ei.forEach((t) => {
|
|
681
681
|
const e = customElements.get(t);
|
|
682
|
-
e !== o && e.prototype instanceof o &&
|
|
682
|
+
e !== o && e.prototype instanceof o && es(e);
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function ln(o, t) {
|
|
686
686
|
const e = o.__themes;
|
|
687
687
|
return !e || !t ? !1 : e.some(
|
|
688
688
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
689
689
|
);
|
|
690
690
|
}
|
|
691
691
|
function V(o, t, e = {}) {
|
|
692
|
-
t =
|
|
692
|
+
t = sn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : Jo.push({
|
|
693
693
|
themeFor: o,
|
|
694
694
|
styles: t,
|
|
695
695
|
include: e.include,
|
|
696
696
|
moduleId: e.moduleId
|
|
697
697
|
}), o && Ei.forEach((i) => {
|
|
698
|
-
if (
|
|
698
|
+
if (Zo(o, i) && on(i)) {
|
|
699
699
|
const s = customElements.get(i);
|
|
700
|
-
|
|
700
|
+
ln(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
701
701
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
702
|
-
),
|
|
702
|
+
), es(s), an(s);
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
706
|
function Qt() {
|
|
707
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
707
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Jo;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function dn(o = "") {
|
|
710
710
|
let t = 0;
|
|
711
711
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function ts(o) {
|
|
714
714
|
const t = [];
|
|
715
715
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
716
716
|
const i = Qt().find((s) => s.moduleId === e);
|
|
717
|
-
i ? t.push(...
|
|
717
|
+
i ? t.push(...ts(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
718
718
|
}, o.styles), t;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
721
|
-
const t = `${o}-default-theme`, e = Qt().filter((i) => i.moduleId !== t &&
|
|
720
|
+
function un(o) {
|
|
721
|
+
const t = `${o}-default-theme`, e = Qt().filter((i) => i.moduleId !== t && Zo(i.themeFor, o)).map((i) => ({
|
|
722
722
|
...i,
|
|
723
723
|
// Prepend styles from included themes
|
|
724
|
-
styles: [...
|
|
724
|
+
styles: [...ts(i), ...i.styles],
|
|
725
725
|
// Map moduleId to includePriority
|
|
726
|
-
includePriority:
|
|
726
|
+
includePriority: dn(i.moduleId)
|
|
727
727
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
728
728
|
return e.length > 0 ? e : Qt().filter((i) => i.moduleId === t);
|
|
729
729
|
}
|
|
730
|
-
const Se = (o) => class extends
|
|
730
|
+
const Se = (o) => class extends tn(o) {
|
|
731
731
|
constructor() {
|
|
732
732
|
super(), Zt.add(new WeakRef(this));
|
|
733
733
|
}
|
|
@@ -739,7 +739,7 @@ const Se = (o) => class extends en(o) {
|
|
|
739
739
|
if (super.finalize(), this.is && Ei.add(this.is), this.elementStyles)
|
|
740
740
|
return;
|
|
741
741
|
const e = this.prototype._template;
|
|
742
|
-
!e ||
|
|
742
|
+
!e || Xo(this) || rn(this.getStylesForThis(), e);
|
|
743
743
|
}
|
|
744
744
|
/**
|
|
745
745
|
* Covers LitElement based component styling
|
|
@@ -757,7 +757,7 @@ const Se = (o) => class extends en(o) {
|
|
|
757
757
|
*/
|
|
758
758
|
static getStylesForThis() {
|
|
759
759
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
760
|
-
this.__themes = [...e, ...s, ...
|
|
760
|
+
this.__themes = [...e, ...s, ...un(this.is)];
|
|
761
761
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
762
762
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
763
763
|
}
|
|
@@ -767,19 +767,19 @@ const Se = (o) => class extends en(o) {
|
|
|
767
767
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
768
768
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
769
769
|
*/
|
|
770
|
-
const
|
|
770
|
+
const cn = (o, ...t) => {
|
|
771
771
|
const e = document.createElement("style");
|
|
772
772
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
773
773
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
774
774
|
}, je = (o, ...t) => {
|
|
775
|
-
|
|
775
|
+
cn(`lumo-${o}`, t);
|
|
776
776
|
};
|
|
777
777
|
/**
|
|
778
778
|
* @license
|
|
779
779
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
780
780
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
781
781
|
*/
|
|
782
|
-
const
|
|
782
|
+
const hn = k`
|
|
783
783
|
:host {
|
|
784
784
|
--lumo-size-xs: 1.625rem;
|
|
785
785
|
--lumo-size-s: 1.875rem;
|
|
@@ -795,13 +795,13 @@ const cn = k`
|
|
|
795
795
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
796
796
|
}
|
|
797
797
|
`;
|
|
798
|
-
je("sizing-props",
|
|
798
|
+
je("sizing-props", hn);
|
|
799
799
|
/**
|
|
800
800
|
* @license
|
|
801
801
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
802
802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
803
803
|
*/
|
|
804
|
-
const
|
|
804
|
+
const pn = k`
|
|
805
805
|
:host {
|
|
806
806
|
/* Square */
|
|
807
807
|
--lumo-space-xs: 0.25rem;
|
|
@@ -825,13 +825,13 @@ const hn = k`
|
|
|
825
825
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
826
826
|
}
|
|
827
827
|
`;
|
|
828
|
-
je("spacing-props",
|
|
828
|
+
je("spacing-props", pn);
|
|
829
829
|
/**
|
|
830
830
|
* @license
|
|
831
831
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
832
832
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
833
833
|
*/
|
|
834
|
-
const
|
|
834
|
+
const fn = k`
|
|
835
835
|
:host {
|
|
836
836
|
/* Border radius */
|
|
837
837
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -933,13 +933,13 @@ k`
|
|
|
933
933
|
--vaadin-input-field-value-font-weight: 500;
|
|
934
934
|
}
|
|
935
935
|
`;
|
|
936
|
-
je("style-props",
|
|
936
|
+
je("style-props", fn);
|
|
937
937
|
/**
|
|
938
938
|
* @license
|
|
939
939
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
940
940
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
941
941
|
*/
|
|
942
|
-
const
|
|
942
|
+
const mn = k`
|
|
943
943
|
:host {
|
|
944
944
|
/* Base (background) */
|
|
945
945
|
--lumo-base-color: #fff;
|
|
@@ -1025,8 +1025,8 @@ const fn = k`
|
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
`;
|
|
1028
|
-
je("color-props",
|
|
1029
|
-
const
|
|
1028
|
+
je("color-props", mn);
|
|
1029
|
+
const _n = k`
|
|
1030
1030
|
[theme~='dark'] {
|
|
1031
1031
|
/* Base (background) */
|
|
1032
1032
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1145,13 +1145,13 @@ const mn = k`
|
|
|
1145
1145
|
background: transparent;
|
|
1146
1146
|
}
|
|
1147
1147
|
`;
|
|
1148
|
-
V("",
|
|
1148
|
+
V("", _n, { moduleId: "lumo-color" });
|
|
1149
1149
|
/**
|
|
1150
1150
|
* @license
|
|
1151
1151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1152
1152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1153
1153
|
*/
|
|
1154
|
-
const
|
|
1154
|
+
const gn = k`
|
|
1155
1155
|
:host {
|
|
1156
1156
|
/* prettier-ignore */
|
|
1157
1157
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1171,7 +1171,7 @@ const _n = k`
|
|
|
1171
1171
|
--lumo-line-height-s: 1.375;
|
|
1172
1172
|
--lumo-line-height-m: 1.625;
|
|
1173
1173
|
}
|
|
1174
|
-
`,
|
|
1174
|
+
`, yn = k`
|
|
1175
1175
|
body,
|
|
1176
1176
|
:host {
|
|
1177
1177
|
font-family: var(--lumo-font-family);
|
|
@@ -1264,14 +1264,14 @@ const _n = k`
|
|
|
1264
1264
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1265
1265
|
}
|
|
1266
1266
|
`;
|
|
1267
|
-
V("",
|
|
1268
|
-
je("typography-props",
|
|
1267
|
+
V("", yn, { moduleId: "lumo-typography" });
|
|
1268
|
+
je("typography-props", gn);
|
|
1269
1269
|
/**
|
|
1270
1270
|
* @license
|
|
1271
1271
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1272
1272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1273
1273
|
*/
|
|
1274
|
-
const
|
|
1274
|
+
const is = k`
|
|
1275
1275
|
:host {
|
|
1276
1276
|
top: var(--lumo-space-m);
|
|
1277
1277
|
right: var(--lumo-space-m);
|
|
@@ -1337,13 +1337,13 @@ const ts = k`
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
`;
|
|
1340
|
-
V("",
|
|
1340
|
+
V("", is, { moduleId: "lumo-overlay" });
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @license
|
|
1343
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1344
1344
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1345
1345
|
*/
|
|
1346
|
-
const
|
|
1346
|
+
const os = k`
|
|
1347
1347
|
:host([opening]),
|
|
1348
1348
|
:host([closing]) {
|
|
1349
1349
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1374,8 +1374,8 @@ const is = k`
|
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
`;
|
|
1377
|
-
V("",
|
|
1378
|
-
const
|
|
1377
|
+
V("", os, { moduleId: "lumo-menu-overlay-core" });
|
|
1378
|
+
const vn = k`
|
|
1379
1379
|
/* Small viewport (bottom sheet) styles */
|
|
1380
1380
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1381
1381
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1437,9 +1437,9 @@ const yn = k`
|
|
|
1437
1437
|
transform: translateY(150%);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
`,
|
|
1441
|
-
V("",
|
|
1442
|
-
const
|
|
1440
|
+
`, ss = [is, os, vn];
|
|
1441
|
+
V("", ss, { moduleId: "lumo-menu-overlay" });
|
|
1442
|
+
const bn = k`
|
|
1443
1443
|
[part='overlay'] {
|
|
1444
1444
|
/*
|
|
1445
1445
|
Width:
|
|
@@ -1485,10 +1485,10 @@ const vn = k`
|
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
`;
|
|
1488
|
-
V("vaadin-date-picker-overlay", [
|
|
1488
|
+
V("vaadin-date-picker-overlay", [ss, bn], {
|
|
1489
1489
|
moduleId: "lumo-date-picker-overlay"
|
|
1490
1490
|
});
|
|
1491
|
-
const
|
|
1491
|
+
const wn = k`
|
|
1492
1492
|
:host {
|
|
1493
1493
|
/* Sizing */
|
|
1494
1494
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1765,7 +1765,7 @@ const bn = k`
|
|
|
1765
1765
|
margin-right: 0;
|
|
1766
1766
|
}
|
|
1767
1767
|
`;
|
|
1768
|
-
V("vaadin-button",
|
|
1768
|
+
V("vaadin-button", wn, { moduleId: "lumo-button" });
|
|
1769
1769
|
V(
|
|
1770
1770
|
"vaadin-date-picker-year",
|
|
1771
1771
|
k`
|
|
@@ -2290,7 +2290,7 @@ V(
|
|
|
2290
2290
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2291
2291
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2292
2292
|
*/
|
|
2293
|
-
const
|
|
2293
|
+
const xn = k`
|
|
2294
2294
|
@font-face {
|
|
2295
2295
|
font-family: 'lumo-icons';
|
|
2296
2296
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2344,13 +2344,13 @@ const wn = k`
|
|
|
2344
2344
|
--lumo-icons-user: '\\ea2a';
|
|
2345
2345
|
}
|
|
2346
2346
|
`;
|
|
2347
|
-
je("font-icons",
|
|
2347
|
+
je("font-icons", xn);
|
|
2348
2348
|
/**
|
|
2349
2349
|
* @license
|
|
2350
2350
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2351
2351
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2352
2352
|
*/
|
|
2353
|
-
const
|
|
2353
|
+
const rs = k`
|
|
2354
2354
|
[part$='button'] {
|
|
2355
2355
|
flex: none;
|
|
2356
2356
|
width: 1em;
|
|
@@ -2378,13 +2378,13 @@ const ss = k`
|
|
|
2378
2378
|
display: block;
|
|
2379
2379
|
}
|
|
2380
2380
|
`;
|
|
2381
|
-
V("",
|
|
2381
|
+
V("", rs, { moduleId: "lumo-field-button" });
|
|
2382
2382
|
/**
|
|
2383
2383
|
* @license
|
|
2384
2384
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2385
2385
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2386
2386
|
*/
|
|
2387
|
-
const
|
|
2387
|
+
const Cn = k`
|
|
2388
2388
|
:host {
|
|
2389
2389
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2390
2390
|
}
|
|
@@ -2446,7 +2446,7 @@ const xn = k`
|
|
|
2446
2446
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2447
2447
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2448
2448
|
*/
|
|
2449
|
-
const
|
|
2449
|
+
const ns = k`
|
|
2450
2450
|
[part='label'] {
|
|
2451
2451
|
align-self: flex-start;
|
|
2452
2452
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2559,13 +2559,13 @@ const rs = k`
|
|
|
2559
2559
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2560
2560
|
}
|
|
2561
2561
|
`;
|
|
2562
|
-
V("",
|
|
2562
|
+
V("", ns, { moduleId: "lumo-required-field" });
|
|
2563
2563
|
/**
|
|
2564
2564
|
* @license
|
|
2565
2565
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2566
2566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2567
2567
|
*/
|
|
2568
|
-
const
|
|
2568
|
+
const An = k`
|
|
2569
2569
|
:host {
|
|
2570
2570
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2571
2571
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2696,11 +2696,11 @@ const Cn = k`
|
|
|
2696
2696
|
[part='clear-button']::before {
|
|
2697
2697
|
content: var(--lumo-icons-cross);
|
|
2698
2698
|
}
|
|
2699
|
-
`,
|
|
2700
|
-
V("",
|
|
2699
|
+
`, as = [ns, rs, Cn, An];
|
|
2700
|
+
V("", as, {
|
|
2701
2701
|
moduleId: "lumo-input-field-shared-styles"
|
|
2702
2702
|
});
|
|
2703
|
-
const
|
|
2703
|
+
const Tn = k`
|
|
2704
2704
|
[part='toggle-button']::before {
|
|
2705
2705
|
content: var(--lumo-icons-calendar);
|
|
2706
2706
|
}
|
|
@@ -2723,7 +2723,7 @@ const An = k`
|
|
|
2723
2723
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2724
2724
|
}
|
|
2725
2725
|
`;
|
|
2726
|
-
V("vaadin-date-picker", [
|
|
2726
|
+
V("vaadin-date-picker", [as, Tn], { moduleId: "lumo-date-picker" });
|
|
2727
2727
|
/**
|
|
2728
2728
|
@license
|
|
2729
2729
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2745,9 +2745,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2745
2745
|
Code distributed by Google as part of the polymer project is also
|
|
2746
2746
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2747
2747
|
*/
|
|
2748
|
-
let
|
|
2748
|
+
let En = /(url\()([^)]*)(\))/g, Dn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ct, te;
|
|
2749
2749
|
function et(o, t) {
|
|
2750
|
-
if (o &&
|
|
2750
|
+
if (o && Dn.test(o) || o === "//")
|
|
2751
2751
|
return o;
|
|
2752
2752
|
if (ct === void 0) {
|
|
2753
2753
|
ct = !1;
|
|
@@ -2766,7 +2766,7 @@ function et(o, t) {
|
|
|
2766
2766
|
return te || (te = document.implementation.createHTMLDocument("temp"), te.base = te.createElement("base"), te.head.appendChild(te.base), te.anchor = te.createElement("a"), te.body.appendChild(te.anchor)), te.base.href = t, te.anchor.href = o, te.anchor.href || o;
|
|
2767
2767
|
}
|
|
2768
2768
|
function Di(o, t) {
|
|
2769
|
-
return o.replace(
|
|
2769
|
+
return o.replace(En, function(e, i, s, r) {
|
|
2770
2770
|
return i + "'" + et(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2771
|
});
|
|
2772
2772
|
}
|
|
@@ -2782,9 +2782,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2782
2782
|
Code distributed by Google as part of the polymer project is also
|
|
2783
2783
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2784
2784
|
*/
|
|
2785
|
-
const
|
|
2785
|
+
const ls = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2786
2786
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2787
|
-
const
|
|
2787
|
+
const kn = ls && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2788
2788
|
(() => {
|
|
2789
2789
|
try {
|
|
2790
2790
|
const o = new CSSStyleSheet();
|
|
@@ -2795,11 +2795,11 @@ const Dn = as && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2795
2795
|
return !1;
|
|
2796
2796
|
}
|
|
2797
2797
|
})();
|
|
2798
|
-
let
|
|
2798
|
+
let Sn = window.Polymer && window.Polymer.rootPath || ki(document.baseURI || window.location.href), wt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2799
2799
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2800
|
-
let xt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2800
|
+
let xt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Pn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, ds = window.Polymer && window.Polymer.legacyOptimizations || !1, us = window.Polymer && window.Polymer.legacyWarnings || !1, On = window.Polymer && window.Polymer.syncInitialRender || !1, ei = window.Polymer && window.Polymer.legacyUndefined || !1, Mn = window.Polymer && window.Polymer.orderedComputed || !1, ao = window.Polymer && window.Polymer.removeNestedTemplates || !1, In = window.Polymer && window.Polymer.fastDomIf || !1, lo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2801
2801
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2802
|
-
let
|
|
2802
|
+
let Nn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2803
2803
|
/**
|
|
2804
2804
|
@license
|
|
2805
2805
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2809,14 +2809,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2809
2809
|
Code distributed by Google as part of the polymer project is also
|
|
2810
2810
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2811
2811
|
*/
|
|
2812
|
-
let
|
|
2812
|
+
let Fn = 0;
|
|
2813
2813
|
const j = function(o) {
|
|
2814
2814
|
let t = (
|
|
2815
2815
|
/** @type {!MixinFunction} */
|
|
2816
2816
|
o.__mixinApplications
|
|
2817
2817
|
);
|
|
2818
2818
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2819
|
-
let e =
|
|
2819
|
+
let e = Fn++;
|
|
2820
2820
|
function i(s) {
|
|
2821
2821
|
let r = (
|
|
2822
2822
|
/** @type {!MixinFunction} */
|
|
@@ -2847,14 +2847,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2847
2847
|
Code distributed by Google as part of the polymer project is also
|
|
2848
2848
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2849
2849
|
*/
|
|
2850
|
-
let Si = {},
|
|
2851
|
-
function
|
|
2852
|
-
Si[o] =
|
|
2850
|
+
let Si = {}, cs = {};
|
|
2851
|
+
function uo(o, t) {
|
|
2852
|
+
Si[o] = cs[o.toLowerCase()] = t;
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2855
|
-
return Si[o] ||
|
|
2854
|
+
function co(o) {
|
|
2855
|
+
return Si[o] || cs[o.toLowerCase()];
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2857
|
+
function zn(o) {
|
|
2858
2858
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2859
2859
|
}
|
|
2860
2860
|
class st extends HTMLElement {
|
|
@@ -2875,7 +2875,7 @@ class st extends HTMLElement {
|
|
|
2875
2875
|
*/
|
|
2876
2876
|
static import(t, e) {
|
|
2877
2877
|
if (t) {
|
|
2878
|
-
let i =
|
|
2878
|
+
let i = co(t);
|
|
2879
2879
|
return i && e ? i.querySelector(e) : i;
|
|
2880
2880
|
}
|
|
2881
2881
|
return null;
|
|
@@ -2923,9 +2923,9 @@ class st extends HTMLElement {
|
|
|
2923
2923
|
*/
|
|
2924
2924
|
register(t) {
|
|
2925
2925
|
if (t = t || this.id, t) {
|
|
2926
|
-
if (xt &&
|
|
2927
|
-
throw
|
|
2928
|
-
this.id = t,
|
|
2926
|
+
if (xt && co(t) !== void 0)
|
|
2927
|
+
throw uo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
|
+
this.id = t, uo(t, this), zn(this);
|
|
2929
2929
|
}
|
|
2930
2930
|
}
|
|
2931
2931
|
}
|
|
@@ -2940,14 +2940,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2940
2940
|
Code distributed by Google as part of the polymer project is also
|
|
2941
2941
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2942
2942
|
*/
|
|
2943
|
-
const
|
|
2944
|
-
function
|
|
2943
|
+
const Ln = "link[rel=import][type~=css]", $n = "include", ho = "shady-unscoped";
|
|
2944
|
+
function hs(o) {
|
|
2945
2945
|
return (
|
|
2946
2946
|
/** @type {?DomModule} */
|
|
2947
2947
|
st.import(o)
|
|
2948
2948
|
);
|
|
2949
2949
|
}
|
|
2950
|
-
function
|
|
2950
|
+
function po(o) {
|
|
2951
2951
|
let t = o.body ? o.body : o;
|
|
2952
2952
|
const e = Di(
|
|
2953
2953
|
t.textContent,
|
|
@@ -2955,24 +2955,24 @@ function ho(o) {
|
|
|
2955
2955
|
), i = document.createElement("style");
|
|
2956
2956
|
return i.textContent = e, i;
|
|
2957
2957
|
}
|
|
2958
|
-
function
|
|
2958
|
+
function Rn(o) {
|
|
2959
2959
|
const t = o.trim().split(/\s+/), e = [];
|
|
2960
2960
|
for (let i = 0; i < t.length; i++)
|
|
2961
|
-
e.push(...
|
|
2961
|
+
e.push(...Hn(t[i]));
|
|
2962
2962
|
return e;
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2965
|
-
const t =
|
|
2964
|
+
function Hn(o) {
|
|
2965
|
+
const t = hs(o);
|
|
2966
2966
|
if (!t)
|
|
2967
2967
|
return console.warn("Could not find style data in module named", o), [];
|
|
2968
2968
|
if (t._styles === void 0) {
|
|
2969
2969
|
const e = [];
|
|
2970
|
-
e.push(...
|
|
2970
|
+
e.push(...fs(t));
|
|
2971
2971
|
const i = (
|
|
2972
2972
|
/** @type {?HTMLTemplateElement} */
|
|
2973
2973
|
t.querySelector("template")
|
|
2974
2974
|
);
|
|
2975
|
-
i && e.push(...
|
|
2975
|
+
i && e.push(...ps(
|
|
2976
2976
|
i,
|
|
2977
2977
|
/** @type {templateWithAssetPath} */
|
|
2978
2978
|
t.assetpath
|
|
@@ -2980,12 +2980,12 @@ function Rn(o) {
|
|
|
2980
2980
|
}
|
|
2981
2981
|
return t._styles;
|
|
2982
2982
|
}
|
|
2983
|
-
function
|
|
2983
|
+
function ps(o, t) {
|
|
2984
2984
|
if (!o._styles) {
|
|
2985
2985
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2986
2986
|
for (let s = 0; s < i.length; s++) {
|
|
2987
|
-
let r = i[s], n = r.getAttribute(
|
|
2988
|
-
n && e.push(
|
|
2987
|
+
let r = i[s], n = r.getAttribute($n);
|
|
2988
|
+
n && e.push(...Rn(n).filter(function(a, l, d) {
|
|
2989
2989
|
return d.indexOf(a) === l;
|
|
2990
2990
|
})), t && (r.textContent = Di(
|
|
2991
2991
|
r.textContent,
|
|
@@ -2997,21 +2997,21 @@ function hs(o, t) {
|
|
|
2997
2997
|
}
|
|
2998
2998
|
return o._styles;
|
|
2999
2999
|
}
|
|
3000
|
-
function
|
|
3001
|
-
let t =
|
|
3002
|
-
return t ?
|
|
3000
|
+
function Bn(o) {
|
|
3001
|
+
let t = hs(o);
|
|
3002
|
+
return t ? fs(t) : [];
|
|
3003
3003
|
}
|
|
3004
|
-
function
|
|
3005
|
-
const t = [], e = o.querySelectorAll(
|
|
3004
|
+
function fs(o) {
|
|
3005
|
+
const t = [], e = o.querySelectorAll(Ln);
|
|
3006
3006
|
for (let i = 0; i < e.length; i++) {
|
|
3007
3007
|
let s = e[i];
|
|
3008
3008
|
if (s.import) {
|
|
3009
|
-
const r = s.import, n = s.hasAttribute(
|
|
3009
|
+
const r = s.import, n = s.hasAttribute(ho);
|
|
3010
3010
|
if (n && !r._unscopedStyle) {
|
|
3011
|
-
const a =
|
|
3012
|
-
a.setAttribute(
|
|
3011
|
+
const a = po(r);
|
|
3012
|
+
a.setAttribute(ho, ""), r._unscopedStyle = a;
|
|
3013
3013
|
} else
|
|
3014
|
-
r._style || (r._style =
|
|
3014
|
+
r._style || (r._style = po(r));
|
|
3015
3015
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3016
3016
|
}
|
|
3017
3017
|
}
|
|
@@ -3043,7 +3043,7 @@ function Pe(o) {
|
|
|
3043
3043
|
let t = o.indexOf(".");
|
|
3044
3044
|
return t === -1 ? o : o.slice(0, t);
|
|
3045
3045
|
}
|
|
3046
|
-
function
|
|
3046
|
+
function ms(o, t) {
|
|
3047
3047
|
return o.indexOf(t + ".") === 0;
|
|
3048
3048
|
}
|
|
3049
3049
|
function rt(o, t) {
|
|
@@ -3052,8 +3052,8 @@ function rt(o, t) {
|
|
|
3052
3052
|
function nt(o, t, e) {
|
|
3053
3053
|
return t + e.slice(o.length);
|
|
3054
3054
|
}
|
|
3055
|
-
function
|
|
3056
|
-
return o === t ||
|
|
3055
|
+
function Vn(o, t) {
|
|
3056
|
+
return o === t || ms(o, t) || rt(o, t);
|
|
3057
3057
|
}
|
|
3058
3058
|
function Xe(o) {
|
|
3059
3059
|
if (Array.isArray(o)) {
|
|
@@ -3067,11 +3067,11 @@ function Xe(o) {
|
|
|
3067
3067
|
} else
|
|
3068
3068
|
return o;
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3070
|
+
function _s(o) {
|
|
3071
3071
|
return Array.isArray(o) ? Xe(o).split(".") : o.toString().split(".");
|
|
3072
3072
|
}
|
|
3073
3073
|
function ee(o, t, e) {
|
|
3074
|
-
let i = o, s =
|
|
3074
|
+
let i = o, s = _s(t);
|
|
3075
3075
|
for (let r = 0; r < s.length; r++) {
|
|
3076
3076
|
if (!i)
|
|
3077
3077
|
return;
|
|
@@ -3080,8 +3080,8 @@ function ee(o, t, e) {
|
|
|
3080
3080
|
}
|
|
3081
3081
|
return e && (e.path = s.join(".")), i;
|
|
3082
3082
|
}
|
|
3083
|
-
function
|
|
3084
|
-
let i = o, s =
|
|
3083
|
+
function fo(o, t, e) {
|
|
3084
|
+
let i = o, s = _s(t), r = s[s.length - 1];
|
|
3085
3085
|
if (s.length > 1) {
|
|
3086
3086
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3087
3087
|
let a = s[n];
|
|
@@ -3102,15 +3102,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3102
3102
|
Code distributed by Google as part of the polymer project is also
|
|
3103
3103
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3104
3104
|
*/
|
|
3105
|
-
const Ct = {},
|
|
3106
|
-
function
|
|
3105
|
+
const Ct = {}, Un = /-[a-z]/g, jn = /([A-Z])/g;
|
|
3106
|
+
function gs(o) {
|
|
3107
3107
|
return Ct[o] || (Ct[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3108
|
-
|
|
3108
|
+
Un,
|
|
3109
3109
|
(t) => t[1].toUpperCase()
|
|
3110
3110
|
));
|
|
3111
3111
|
}
|
|
3112
3112
|
function St(o) {
|
|
3113
|
-
return Ct[o] || (Ct[o] = o.replace(
|
|
3113
|
+
return Ct[o] || (Ct[o] = o.replace(jn, "-$1").toLowerCase());
|
|
3114
3114
|
}
|
|
3115
3115
|
/**
|
|
3116
3116
|
@license
|
|
@@ -3121,9 +3121,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3121
3121
|
Code distributed by Google as part of the polymer project is also
|
|
3122
3122
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3123
3123
|
*/
|
|
3124
|
-
let
|
|
3125
|
-
new window.MutationObserver(
|
|
3126
|
-
function
|
|
3124
|
+
let Yn = 0, ys = 0, ze = [], Wn = 0, ii = !1, vs = document.createTextNode("");
|
|
3125
|
+
new window.MutationObserver(qn).observe(vs, { characterData: !0 });
|
|
3126
|
+
function qn() {
|
|
3127
3127
|
ii = !1;
|
|
3128
3128
|
const o = ze.length;
|
|
3129
3129
|
for (let t = 0; t < o; t++) {
|
|
@@ -3137,9 +3137,9 @@ function Wn() {
|
|
|
3137
3137
|
});
|
|
3138
3138
|
}
|
|
3139
3139
|
}
|
|
3140
|
-
ze.splice(0, o),
|
|
3140
|
+
ze.splice(0, o), ys += o;
|
|
3141
3141
|
}
|
|
3142
|
-
const
|
|
3142
|
+
const Kn = {
|
|
3143
3143
|
/**
|
|
3144
3144
|
* Returns a sub-module with the async interface providing the provided
|
|
3145
3145
|
* delay.
|
|
@@ -3179,7 +3179,7 @@ const qn = {
|
|
|
3179
3179
|
cancel(o) {
|
|
3180
3180
|
window.clearTimeout(o);
|
|
3181
3181
|
}
|
|
3182
|
-
},
|
|
3182
|
+
}, bs = {
|
|
3183
3183
|
/**
|
|
3184
3184
|
* Enqueues a function called at microtask timing.
|
|
3185
3185
|
*
|
|
@@ -3188,7 +3188,7 @@ const qn = {
|
|
|
3188
3188
|
* @return {number} Handle used for canceling task
|
|
3189
3189
|
*/
|
|
3190
3190
|
run(o) {
|
|
3191
|
-
return ii || (ii = !0,
|
|
3191
|
+
return ii || (ii = !0, vs.textContent = Wn++), ze.push(o), Yn++;
|
|
3192
3192
|
},
|
|
3193
3193
|
/**
|
|
3194
3194
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3198,7 +3198,7 @@ const qn = {
|
|
|
3198
3198
|
* @return {void}
|
|
3199
3199
|
*/
|
|
3200
3200
|
cancel(o) {
|
|
3201
|
-
const t = o -
|
|
3201
|
+
const t = o - ys;
|
|
3202
3202
|
if (t >= 0) {
|
|
3203
3203
|
if (!ze[t])
|
|
3204
3204
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3215,7 +3215,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3215
3215
|
Code distributed by Google as part of the polymer project is also
|
|
3216
3216
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3217
3217
|
*/
|
|
3218
|
-
const
|
|
3218
|
+
const Gn = bs, ws = j(
|
|
3219
3219
|
/**
|
|
3220
3220
|
* @template T
|
|
3221
3221
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3424,7 +3424,7 @@ const Kn = vs, bs = j(
|
|
|
3424
3424
|
* @override
|
|
3425
3425
|
*/
|
|
3426
3426
|
_invalidateProperties() {
|
|
3427
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3427
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Gn.run(() => {
|
|
3428
3428
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3429
3429
|
}));
|
|
3430
3430
|
}
|
|
@@ -3651,23 +3651,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3651
3651
|
Code distributed by Google as part of the polymer project is also
|
|
3652
3652
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3653
3653
|
*/
|
|
3654
|
-
const
|
|
3654
|
+
const xs = {};
|
|
3655
3655
|
let ht = HTMLElement.prototype;
|
|
3656
3656
|
for (; ht; ) {
|
|
3657
3657
|
let o = Object.getOwnPropertyNames(ht);
|
|
3658
3658
|
for (let t = 0; t < o.length; t++)
|
|
3659
|
-
|
|
3659
|
+
xs[o[t]] = !0;
|
|
3660
3660
|
ht = Object.getPrototypeOf(ht);
|
|
3661
3661
|
}
|
|
3662
|
-
const
|
|
3663
|
-
function
|
|
3664
|
-
if (!
|
|
3662
|
+
const Jn = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3663
|
+
function Xn(o, t) {
|
|
3664
|
+
if (!xs[t]) {
|
|
3665
3665
|
let e = o[t];
|
|
3666
3666
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3667
3667
|
}
|
|
3668
3668
|
}
|
|
3669
|
-
const
|
|
3670
|
-
const t =
|
|
3669
|
+
const Zn = j((o) => {
|
|
3670
|
+
const t = ws(o);
|
|
3671
3671
|
class e extends t {
|
|
3672
3672
|
/**
|
|
3673
3673
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3685,7 +3685,7 @@ const Xn = j((o) => {
|
|
|
3685
3685
|
this.observedAttributes
|
|
3686
3686
|
);
|
|
3687
3687
|
for (let r = 0; r < s.length; r++)
|
|
3688
|
-
this.prototype._createPropertyAccessor(
|
|
3688
|
+
this.prototype._createPropertyAccessor(gs(s[r]));
|
|
3689
3689
|
}
|
|
3690
3690
|
/**
|
|
3691
3691
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3762,7 +3762,7 @@ const Xn = j((o) => {
|
|
|
3762
3762
|
if (s instanceof Date)
|
|
3763
3763
|
return s.toString();
|
|
3764
3764
|
if (s) {
|
|
3765
|
-
if (
|
|
3765
|
+
if (Jn(s))
|
|
3766
3766
|
return (
|
|
3767
3767
|
/** @type {?} */
|
|
3768
3768
|
s
|
|
@@ -3843,7 +3843,7 @@ const Xn = j((o) => {
|
|
|
3843
3843
|
* @override
|
|
3844
3844
|
*/
|
|
3845
3845
|
_definePropertyAccessor(s, r) {
|
|
3846
|
-
|
|
3846
|
+
Xn(this, s), super._definePropertyAccessor(s, r);
|
|
3847
3847
|
}
|
|
3848
3848
|
/**
|
|
3849
3849
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3878,23 +3878,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3878
3878
|
Code distributed by Google as part of the polymer project is also
|
|
3879
3879
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3880
3880
|
*/
|
|
3881
|
-
const
|
|
3881
|
+
const Qn = {
|
|
3882
3882
|
"dom-if": !0,
|
|
3883
3883
|
"dom-repeat": !0
|
|
3884
3884
|
};
|
|
3885
|
-
let
|
|
3886
|
-
function
|
|
3887
|
-
if (!
|
|
3888
|
-
|
|
3885
|
+
let mo = !1, _o = !1;
|
|
3886
|
+
function ea() {
|
|
3887
|
+
if (!mo) {
|
|
3888
|
+
mo = !0;
|
|
3889
3889
|
const o = document.createElement("textarea");
|
|
3890
|
-
o.placeholder = "a",
|
|
3890
|
+
o.placeholder = "a", _o = o.placeholder === o.textContent;
|
|
3891
3891
|
}
|
|
3892
|
-
return
|
|
3892
|
+
return _o;
|
|
3893
3893
|
}
|
|
3894
|
-
function
|
|
3895
|
-
|
|
3894
|
+
function ta(o) {
|
|
3895
|
+
ea() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3896
3896
|
}
|
|
3897
|
-
const
|
|
3897
|
+
const ia = (() => {
|
|
3898
3898
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3899
3899
|
"polymer-template-event-attribute-policy",
|
|
3900
3900
|
{
|
|
@@ -3913,19 +3913,19 @@ const ta = (() => {
|
|
|
3913
3913
|
t.setAttribute(i, s);
|
|
3914
3914
|
};
|
|
3915
3915
|
})();
|
|
3916
|
-
function
|
|
3916
|
+
function oa(o) {
|
|
3917
3917
|
let t = o.getAttribute("is");
|
|
3918
|
-
if (t &&
|
|
3918
|
+
if (t && Qn[t]) {
|
|
3919
3919
|
let e = o;
|
|
3920
3920
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3921
3921
|
const { name: i } = e.attributes[0];
|
|
3922
|
-
|
|
3922
|
+
ia(o, e, i), e.removeAttribute(i);
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
return o;
|
|
3926
3926
|
}
|
|
3927
|
-
function
|
|
3928
|
-
let e = t.parentInfo &&
|
|
3927
|
+
function Cs(o, t) {
|
|
3928
|
+
let e = t.parentInfo && Cs(o, t.parentInfo);
|
|
3929
3929
|
if (e) {
|
|
3930
3930
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3931
3931
|
if (t.parentIndex === s++)
|
|
@@ -3933,23 +3933,23 @@ function xs(o, t) {
|
|
|
3933
3933
|
} else
|
|
3934
3934
|
return o;
|
|
3935
3935
|
}
|
|
3936
|
-
function
|
|
3936
|
+
function sa(o, t, e, i) {
|
|
3937
3937
|
i.id && (t[i.id] = e);
|
|
3938
3938
|
}
|
|
3939
|
-
function
|
|
3939
|
+
function ra(o, t, e) {
|
|
3940
3940
|
if (e.events && e.events.length)
|
|
3941
3941
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3942
3942
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function na(o, t, e, i) {
|
|
3945
3945
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3946
3946
|
}
|
|
3947
|
-
function
|
|
3947
|
+
function aa(o, t, e) {
|
|
3948
3948
|
return o = o._methodHost || o, function(s) {
|
|
3949
3949
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3950
3950
|
};
|
|
3951
3951
|
}
|
|
3952
|
-
const
|
|
3952
|
+
const la = j(
|
|
3953
3953
|
/**
|
|
3954
3954
|
* @template T
|
|
3955
3955
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4076,7 +4076,7 @@ const aa = j(
|
|
|
4076
4076
|
/** @type {!HTMLTemplateElement} */
|
|
4077
4077
|
i
|
|
4078
4078
|
);
|
|
4079
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4079
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), ta(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4080
4080
|
}
|
|
4081
4081
|
/**
|
|
4082
4082
|
* Parses template child nodes for the given root node.
|
|
@@ -4094,7 +4094,7 @@ const aa = j(
|
|
|
4094
4094
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4095
4095
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4096
4096
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4097
|
-
if (n.localName == "template" && (n =
|
|
4097
|
+
if (n.localName == "template" && (n = oa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4098
4098
|
let u = l;
|
|
4099
4099
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4100
4100
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4229,8 +4229,8 @@ const aa = j(
|
|
|
4229
4229
|
let l = a.nodeList = new Array(r.length);
|
|
4230
4230
|
a.$ = {};
|
|
4231
4231
|
for (let d = 0, u = r.length, c; d < u && (c = r[d]); d++) {
|
|
4232
|
-
let h = l[d] =
|
|
4233
|
-
|
|
4232
|
+
let h = l[d] = Cs(a, c);
|
|
4233
|
+
sa(this, a.$, h, c), na(this, h, c, s), ra(this, h, c);
|
|
4234
4234
|
}
|
|
4235
4235
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4236
|
a, a;
|
|
@@ -4251,7 +4251,7 @@ const aa = j(
|
|
|
4251
4251
|
*/
|
|
4252
4252
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4253
4253
|
n = n || i;
|
|
4254
|
-
let a =
|
|
4254
|
+
let a = aa(n, s, r);
|
|
4255
4255
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4256
4256
|
}
|
|
4257
4257
|
/**
|
|
@@ -4301,7 +4301,7 @@ const lt = [], P = {
|
|
|
4301
4301
|
PROPAGATE: "__propagateEffects",
|
|
4302
4302
|
OBSERVE: "__observeEffects",
|
|
4303
4303
|
READ_ONLY: "__readOnly"
|
|
4304
|
-
},
|
|
4304
|
+
}, As = "__computeInfo", da = /[A-Z]/;
|
|
4305
4305
|
function zt(o, t, e) {
|
|
4306
4306
|
let i = o[t];
|
|
4307
4307
|
if (!i)
|
|
@@ -4328,7 +4328,7 @@ function Ze(o, t, e, i, s, r) {
|
|
|
4328
4328
|
}
|
|
4329
4329
|
return !1;
|
|
4330
4330
|
}
|
|
4331
|
-
function
|
|
4331
|
+
function ua(o, t, e, i, s, r, n, a) {
|
|
4332
4332
|
let l = !1, d = n ? Pe(i) : i, u = t[d];
|
|
4333
4333
|
if (u)
|
|
4334
4334
|
for (let c = 0, h = u.length, _; c < h && (_ = u[c]); c++)
|
|
@@ -4341,30 +4341,30 @@ function Pi(o, t) {
|
|
|
4341
4341
|
/** @type {string} */
|
|
4342
4342
|
t.name
|
|
4343
4343
|
);
|
|
4344
|
-
return e == o || !!(t.structured &&
|
|
4344
|
+
return e == o || !!(t.structured && ms(e, o)) || !!(t.wildcard && rt(e, o));
|
|
4345
4345
|
} else
|
|
4346
4346
|
return !0;
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4348
|
+
function go(o, t, e, i, s) {
|
|
4349
4349
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4350
4350
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4351
4351
|
}
|
|
4352
|
-
function
|
|
4352
|
+
function ca(o, t, e, i, s) {
|
|
4353
4353
|
let r = o[P.NOTIFY], n, a = at++;
|
|
4354
4354
|
for (let d in t)
|
|
4355
|
-
t[d] && (r &&
|
|
4355
|
+
t[d] && (r && ua(o, r, a, d, e, i, s) || s && ha(o, d, e)) && (n = !0);
|
|
4356
4356
|
let l;
|
|
4357
4357
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4358
4358
|
}
|
|
4359
|
-
function
|
|
4359
|
+
function ha(o, t, e) {
|
|
4360
4360
|
let i = Pe(t);
|
|
4361
4361
|
if (i !== t) {
|
|
4362
4362
|
let s = St(i) + "-changed";
|
|
4363
|
-
return
|
|
4363
|
+
return Ts(o, s, e[t], t), !0;
|
|
4364
4364
|
}
|
|
4365
4365
|
return !1;
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4367
|
+
function Ts(o, t, e, i) {
|
|
4368
4368
|
let s = {
|
|
4369
4369
|
value: e,
|
|
4370
4370
|
queueProperty: !0
|
|
@@ -4374,18 +4374,18 @@ function As(o, t, e, i) {
|
|
|
4374
4374
|
o
|
|
4375
4375
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4376
4376
|
}
|
|
4377
|
-
function
|
|
4377
|
+
function pa(o, t, e, i, s, r) {
|
|
4378
4378
|
let a = (r ? Pe(t) : t) != t ? t : null, l = a ? ee(o, a) : o.__data[t];
|
|
4379
|
-
a && l === void 0 && (l = e[t]),
|
|
4379
|
+
a && l === void 0 && (l = e[t]), Ts(o, s.eventName, l, a);
|
|
4380
4380
|
}
|
|
4381
|
-
function
|
|
4381
|
+
function fa(o, t, e, i, s) {
|
|
4382
4382
|
let r, n = (
|
|
4383
4383
|
/** @type {Object} */
|
|
4384
4384
|
o.detail
|
|
4385
4385
|
), a = n && n.path;
|
|
4386
4386
|
a ? (i = nt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[P.READ_ONLY] || !t[P.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function ma(o, t, e, i, s) {
|
|
4389
4389
|
let r = o.__data[t];
|
|
4390
4390
|
wt && (r = wt(
|
|
4391
4391
|
r,
|
|
@@ -4395,17 +4395,17 @@ function fa(o, t, e, i, s) {
|
|
|
4395
4395
|
o
|
|
4396
4396
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function _a(o, t, e, i) {
|
|
4399
4399
|
let s = o[P.COMPUTE];
|
|
4400
4400
|
if (s)
|
|
4401
|
-
if (
|
|
4401
|
+
if (Mn) {
|
|
4402
4402
|
at++;
|
|
4403
|
-
const r =
|
|
4403
|
+
const r = ya(o), n = [];
|
|
4404
4404
|
for (let l in t)
|
|
4405
|
-
|
|
4405
|
+
yo(l, s, n, r, i);
|
|
4406
4406
|
let a;
|
|
4407
4407
|
for (; a = n.shift(); )
|
|
4408
|
-
|
|
4408
|
+
Es(o, "", t, e, a) && yo(a.methodInfo, s, n, r, i);
|
|
4409
4409
|
Object.assign(
|
|
4410
4410
|
/** @type {!Object} */
|
|
4411
4411
|
e,
|
|
@@ -4429,7 +4429,7 @@ function ma(o, t, e, i) {
|
|
|
4429
4429
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4430
4430
|
}
|
|
4431
4431
|
}
|
|
4432
|
-
const
|
|
4432
|
+
const ga = (o, t, e) => {
|
|
4433
4433
|
let i = 0, s = t.length - 1, r = -1;
|
|
4434
4434
|
for (; i <= s; ) {
|
|
4435
4435
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4443,20 +4443,20 @@ const _a = (o, t, e) => {
|
|
|
4443
4443
|
}
|
|
4444
4444
|
}
|
|
4445
4445
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4446
|
-
},
|
|
4446
|
+
}, yo = (o, t, e, i, s) => {
|
|
4447
4447
|
const r = s ? Pe(o) : o, n = t[r];
|
|
4448
4448
|
if (n)
|
|
4449
4449
|
for (let a = 0; a < n.length; a++) {
|
|
4450
4450
|
const l = n[a];
|
|
4451
|
-
l.info.lastRun !== at && (!s || Pi(o, l.trigger)) && (l.info.lastRun = at,
|
|
4451
|
+
l.info.lastRun !== at && (!s || Pi(o, l.trigger)) && (l.info.lastRun = at, ga(l.info, e, i));
|
|
4452
4452
|
}
|
|
4453
4453
|
};
|
|
4454
|
-
function
|
|
4454
|
+
function ya(o) {
|
|
4455
4455
|
let t = o.constructor.__orderedComputedDeps;
|
|
4456
4456
|
if (!t) {
|
|
4457
4457
|
t = /* @__PURE__ */ new Map();
|
|
4458
4458
|
const e = o[P.COMPUTE];
|
|
4459
|
-
let { counts: i, ready: s, total: r } =
|
|
4459
|
+
let { counts: i, ready: s, total: r } = va(o), n;
|
|
4460
4460
|
for (; n = s.shift(); ) {
|
|
4461
4461
|
t.set(n, t.size);
|
|
4462
4462
|
const a = e[n];
|
|
@@ -4470,8 +4470,8 @@ function ga(o) {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
return t;
|
|
4472
4472
|
}
|
|
4473
|
-
function
|
|
4474
|
-
const t = o[
|
|
4473
|
+
function va(o) {
|
|
4474
|
+
const t = o[As], e = {}, i = o[P.COMPUTE], s = [];
|
|
4475
4475
|
let r = 0;
|
|
4476
4476
|
for (let n in t) {
|
|
4477
4477
|
const a = t[n];
|
|
@@ -4481,14 +4481,14 @@ function ya(o) {
|
|
|
4481
4481
|
t[n] || s.push(n);
|
|
4482
4482
|
return { counts: e, ready: s, total: r };
|
|
4483
4483
|
}
|
|
4484
|
-
function
|
|
4484
|
+
function Es(o, t, e, i, s) {
|
|
4485
4485
|
let r = oi(o, t, e, i, s);
|
|
4486
4486
|
if (r === lt)
|
|
4487
4487
|
return !1;
|
|
4488
4488
|
let n = s.methodInfo;
|
|
4489
4489
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4490
4490
|
}
|
|
4491
|
-
function
|
|
4491
|
+
function ba(o, t, e) {
|
|
4492
4492
|
let i = o.__dataLinkedPaths;
|
|
4493
4493
|
if (i) {
|
|
4494
4494
|
let s;
|
|
@@ -4501,17 +4501,17 @@ function va(o, t, e) {
|
|
|
4501
4501
|
function Lt(o, t, e, i, s, r, n) {
|
|
4502
4502
|
e.bindings = e.bindings || [];
|
|
4503
4503
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4504
|
-
if (e.bindings.push(a),
|
|
4504
|
+
if (e.bindings.push(a), Ta(a)) {
|
|
4505
4505
|
let { event: d, negate: u } = a.parts[0];
|
|
4506
4506
|
a.listenerEvent = d || St(s) + "-changed", a.listenerNegate = u;
|
|
4507
4507
|
}
|
|
4508
4508
|
let l = t.nodeInfoList.length;
|
|
4509
4509
|
for (let d = 0; d < a.parts.length; d++) {
|
|
4510
4510
|
let u = a.parts[d];
|
|
4511
|
-
u.compoundIndex = d,
|
|
4511
|
+
u.compoundIndex = d, wa(o, t, a, u, l);
|
|
4512
4512
|
}
|
|
4513
4513
|
}
|
|
4514
|
-
function
|
|
4514
|
+
function wa(o, t, e, i, s) {
|
|
4515
4515
|
if (!i.literal)
|
|
4516
4516
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4517
4517
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4519,26 +4519,26 @@ function ba(o, t, e, i, s) {
|
|
|
4519
4519
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4520
4520
|
for (let a = 0; a < r.length; a++) {
|
|
4521
4521
|
let l = r[a];
|
|
4522
|
-
typeof l == "string" && (l =
|
|
4523
|
-
fn:
|
|
4522
|
+
typeof l == "string" && (l = ks(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4523
|
+
fn: xa,
|
|
4524
4524
|
info: n,
|
|
4525
4525
|
trigger: l
|
|
4526
4526
|
});
|
|
4527
4527
|
}
|
|
4528
4528
|
}
|
|
4529
4529
|
}
|
|
4530
|
-
function
|
|
4530
|
+
function xa(o, t, e, i, s, r, n) {
|
|
4531
4531
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4532
4532
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4533
4533
|
let u = e[t];
|
|
4534
4534
|
t = nt(d.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4535
4535
|
} else {
|
|
4536
4536
|
let u = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4537
|
-
u !== lt &&
|
|
4537
|
+
u !== lt && Ca(o, a, l, d, u);
|
|
4538
4538
|
}
|
|
4539
4539
|
}
|
|
4540
|
-
function
|
|
4541
|
-
if (s =
|
|
4540
|
+
function Ca(o, t, e, i, s) {
|
|
4541
|
+
if (s = Aa(t, s, e, i), wt && (s = wt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4542
4542
|
o._valueToNodeAttribute(
|
|
4543
4543
|
/** @type {Element} */
|
|
4544
4544
|
t,
|
|
@@ -4550,17 +4550,17 @@ function xa(o, t, e, i, s) {
|
|
|
4550
4550
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[P.READ_ONLY] || !t[P.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4551
4551
|
}
|
|
4552
4552
|
}
|
|
4553
|
-
function
|
|
4553
|
+
function Aa(o, t, e, i) {
|
|
4554
4554
|
if (e.isCompound) {
|
|
4555
4555
|
let s = o.__dataCompoundStorage[e.target];
|
|
4556
4556
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4557
4557
|
}
|
|
4558
4558
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Ta(o) {
|
|
4561
4561
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4562
4562
|
}
|
|
4563
|
-
function
|
|
4563
|
+
function Ea(o, t) {
|
|
4564
4564
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4565
4565
|
if (i.length)
|
|
4566
4566
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4568,12 +4568,12 @@ function Ta(o, t) {
|
|
|
4568
4568
|
if (a)
|
|
4569
4569
|
for (let l = 0; l < a.length; l++) {
|
|
4570
4570
|
let d = a[l];
|
|
4571
|
-
|
|
4571
|
+
Da(n, d), ka(n, o, d);
|
|
4572
4572
|
}
|
|
4573
4573
|
n.__dataHost = o;
|
|
4574
4574
|
}
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function Da(o, t) {
|
|
4577
4577
|
if (t.isCompound) {
|
|
4578
4578
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4579
4579
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4582,15 +4582,15 @@ function Ea(o, t) {
|
|
|
4582
4582
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = J(o)), o[r] = t.literal);
|
|
4583
4583
|
}
|
|
4584
4584
|
}
|
|
4585
|
-
function
|
|
4585
|
+
function ka(o, t, e) {
|
|
4586
4586
|
if (e.listenerEvent) {
|
|
4587
4587
|
let i = e.parts[0];
|
|
4588
4588
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4589
|
-
|
|
4589
|
+
fa(s, t, e.target, i.source, i.negate);
|
|
4590
4590
|
});
|
|
4591
4591
|
}
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4593
|
+
function vo(o, t, e, i, s, r) {
|
|
4594
4594
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4595
4595
|
let n = {
|
|
4596
4596
|
methodName: t.methodName,
|
|
@@ -4617,8 +4617,8 @@ function oi(o, t, e, i, s) {
|
|
|
4617
4617
|
} else
|
|
4618
4618
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4619
4619
|
}
|
|
4620
|
-
const
|
|
4621
|
-
function
|
|
4620
|
+
const Sa = [], Ds = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Pa = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Oa = "(?:'(?:[^'\\\\]|\\\\.)*')", Ma = '(?:"(?:[^"\\\\]|\\\\.)*")', Ia = "(?:" + Oa + "|" + Ma + ")", bo = "(?:(" + Ds + "|" + Pa + "|" + Ia + ")\\s*)", Na = "(?:" + bo + "(?:,\\s*" + bo + ")*)", Fa = "(?:\\(\\s*(?:" + Na + "?)\\)\\s*)", za = "(" + Ds + "\\s*" + Fa + "?)", La = "(\\[\\[|{{)\\s*", $a = "(?:]]|}})", Ra = "(?:(!)\\s*)?", Ha = La + Ra + za + $a, wo = new RegExp(Ha, "g");
|
|
4621
|
+
function xo(o) {
|
|
4622
4622
|
let t = "";
|
|
4623
4623
|
for (let e = 0; e < o.length; e++) {
|
|
4624
4624
|
let i = o[e].literal;
|
|
@@ -4629,22 +4629,22 @@ function wo(o) {
|
|
|
4629
4629
|
function $t(o) {
|
|
4630
4630
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4631
4631
|
if (t) {
|
|
4632
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4632
|
+
let i = { methodName: t[1], static: !0, args: Sa };
|
|
4633
4633
|
if (t[2].trim()) {
|
|
4634
4634
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4635
|
-
return
|
|
4635
|
+
return Ba(s, i);
|
|
4636
4636
|
} else
|
|
4637
4637
|
return i;
|
|
4638
4638
|
}
|
|
4639
4639
|
return null;
|
|
4640
4640
|
}
|
|
4641
|
-
function
|
|
4641
|
+
function Ba(o, t) {
|
|
4642
4642
|
return t.args = o.map(function(e) {
|
|
4643
|
-
let i =
|
|
4643
|
+
let i = ks(e);
|
|
4644
4644
|
return i.literal || (t.static = !1), i;
|
|
4645
4645
|
}, this), t;
|
|
4646
4646
|
}
|
|
4647
|
-
function
|
|
4647
|
+
function ks(o) {
|
|
4648
4648
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4649
4649
|
name: t,
|
|
4650
4650
|
value: "",
|
|
@@ -4661,16 +4661,16 @@ function Ds(o) {
|
|
|
4661
4661
|
}
|
|
4662
4662
|
return e.literal || (e.rootProperty = Pe(t), e.structured = ti(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4663
4663
|
}
|
|
4664
|
-
function
|
|
4664
|
+
function Co(o, t, e) {
|
|
4665
4665
|
let i = ee(o, e);
|
|
4666
4666
|
return i === void 0 && (i = t[e]), i;
|
|
4667
4667
|
}
|
|
4668
|
-
function
|
|
4668
|
+
function Ss(o, t, e, i) {
|
|
4669
4669
|
const s = { indexSplices: i };
|
|
4670
4670
|
ei && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), ei && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4671
4671
|
}
|
|
4672
4672
|
function qe(o, t, e, i, s, r) {
|
|
4673
|
-
|
|
4673
|
+
Ss(o, t, e, [{
|
|
4674
4674
|
index: i,
|
|
4675
4675
|
addedCount: s,
|
|
4676
4676
|
removed: r,
|
|
@@ -4678,11 +4678,11 @@ function qe(o, t, e, i, s, r) {
|
|
|
4678
4678
|
type: "splice"
|
|
4679
4679
|
}]);
|
|
4680
4680
|
}
|
|
4681
|
-
function
|
|
4681
|
+
function Va(o) {
|
|
4682
4682
|
return o[0].toUpperCase() + o.substring(1);
|
|
4683
4683
|
}
|
|
4684
4684
|
const Oi = j((o) => {
|
|
4685
|
-
const t =
|
|
4685
|
+
const t = la(Zn(o));
|
|
4686
4686
|
class e extends t {
|
|
4687
4687
|
constructor() {
|
|
4688
4688
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4861,7 +4861,7 @@ const Oi = j((o) => {
|
|
|
4861
4861
|
if (!a) {
|
|
4862
4862
|
let l = ee(this, s);
|
|
4863
4863
|
if (s = /** @type {string} */
|
|
4864
|
-
|
|
4864
|
+
fo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4865
4865
|
return !1;
|
|
4866
4866
|
}
|
|
4867
4867
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4870,7 +4870,7 @@ const Oi = j((o) => {
|
|
|
4870
4870
|
r,
|
|
4871
4871
|
n
|
|
4872
4872
|
))
|
|
4873
|
-
return
|
|
4873
|
+
return ba(
|
|
4874
4874
|
this,
|
|
4875
4875
|
/**@type{string}*/
|
|
4876
4876
|
s,
|
|
@@ -5086,7 +5086,7 @@ const Oi = j((o) => {
|
|
|
5086
5086
|
let a = this.__dataHasPaths;
|
|
5087
5087
|
this.__dataHasPaths = !1;
|
|
5088
5088
|
let l;
|
|
5089
|
-
|
|
5089
|
+
_a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Ze(this, this[P.REFLECT], r, n, a), Ze(this, this[P.OBSERVE], r, n, a), l && ca(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5090
5090
|
}
|
|
5091
5091
|
/**
|
|
5092
5092
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5183,7 +5183,7 @@ const Oi = j((o) => {
|
|
|
5183
5183
|
/** @type {Array} */
|
|
5184
5184
|
ee(this, s, n)
|
|
5185
5185
|
);
|
|
5186
|
-
|
|
5186
|
+
Ss(this, a, n.path, r);
|
|
5187
5187
|
}
|
|
5188
5188
|
/**
|
|
5189
5189
|
* Convenience method for reading a value from a path.
|
|
@@ -5231,7 +5231,7 @@ const Oi = j((o) => {
|
|
|
5231
5231
|
* @public
|
|
5232
5232
|
*/
|
|
5233
5233
|
set(s, r, n) {
|
|
5234
|
-
n ?
|
|
5234
|
+
n ? fo(n, s, r) : (!this[P.READ_ONLY] || !this[P.READ_ONLY][
|
|
5235
5235
|
/** @type {string} */
|
|
5236
5236
|
s
|
|
5237
5237
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5386,7 +5386,7 @@ const Oi = j((o) => {
|
|
|
5386
5386
|
* @protected
|
|
5387
5387
|
*/
|
|
5388
5388
|
_createReadOnlyProperty(s, r) {
|
|
5389
|
-
this._addPropertyEffect(s, P.READ_ONLY), r && (this["_set" +
|
|
5389
|
+
this._addPropertyEffect(s, P.READ_ONLY), r && (this["_set" + Va(s)] = /** @this {PropertyEffects} */
|
|
5390
5390
|
function(n) {
|
|
5391
5391
|
this._setProperty(s, n);
|
|
5392
5392
|
});
|
|
@@ -5408,7 +5408,7 @@ const Oi = j((o) => {
|
|
|
5408
5408
|
_createPropertyObserver(s, r, n) {
|
|
5409
5409
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5410
5410
|
this._addPropertyEffect(s, P.OBSERVE, {
|
|
5411
|
-
fn:
|
|
5411
|
+
fn: go,
|
|
5412
5412
|
info: a,
|
|
5413
5413
|
trigger: { name: s }
|
|
5414
5414
|
}), n && this._addPropertyEffect(
|
|
@@ -5416,7 +5416,7 @@ const Oi = j((o) => {
|
|
|
5416
5416
|
r,
|
|
5417
5417
|
P.OBSERVE,
|
|
5418
5418
|
{
|
|
5419
|
-
fn:
|
|
5419
|
+
fn: go,
|
|
5420
5420
|
info: a,
|
|
5421
5421
|
trigger: { name: r }
|
|
5422
5422
|
}
|
|
@@ -5438,7 +5438,7 @@ const Oi = j((o) => {
|
|
|
5438
5438
|
let n = $t(s);
|
|
5439
5439
|
if (!n)
|
|
5440
5440
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5441
|
-
|
|
5441
|
+
vo(this, n, P.OBSERVE, oi, null, r);
|
|
5442
5442
|
}
|
|
5443
5443
|
/**
|
|
5444
5444
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5452,7 +5452,7 @@ const Oi = j((o) => {
|
|
|
5452
5452
|
*/
|
|
5453
5453
|
_createNotifyingProperty(s) {
|
|
5454
5454
|
this._addPropertyEffect(s, P.NOTIFY, {
|
|
5455
|
-
fn:
|
|
5455
|
+
fn: pa,
|
|
5456
5456
|
info: {
|
|
5457
5457
|
eventName: St(s) + "-changed",
|
|
5458
5458
|
property: s
|
|
@@ -5473,7 +5473,7 @@ const Oi = j((o) => {
|
|
|
5473
5473
|
_createReflectedProperty(s) {
|
|
5474
5474
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5475
5475
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, P.REFLECT, {
|
|
5476
|
-
fn:
|
|
5476
|
+
fn: ma,
|
|
5477
5477
|
info: {
|
|
5478
5478
|
attrName: r
|
|
5479
5479
|
}
|
|
@@ -5496,8 +5496,8 @@ const Oi = j((o) => {
|
|
|
5496
5496
|
let a = $t(r);
|
|
5497
5497
|
if (!a)
|
|
5498
5498
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5499
|
-
const l =
|
|
5500
|
-
zt(this,
|
|
5499
|
+
const l = vo(this, a, P.COMPUTE, Es, s, n);
|
|
5500
|
+
zt(this, As)[s] = l;
|
|
5501
5501
|
}
|
|
5502
5502
|
/**
|
|
5503
5503
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5518,14 +5518,14 @@ const Oi = j((o) => {
|
|
|
5518
5518
|
let { name: c, structured: h, wildcard: _, value: y, literal: C } = s[d];
|
|
5519
5519
|
if (!C)
|
|
5520
5520
|
if (_) {
|
|
5521
|
-
const S = rt(c, r), I =
|
|
5521
|
+
const S = rt(c, r), I = Co(a, n, S ? r : c);
|
|
5522
5522
|
y = {
|
|
5523
5523
|
path: S ? r : c,
|
|
5524
5524
|
value: I,
|
|
5525
5525
|
base: S ? ee(a, c) : I
|
|
5526
5526
|
};
|
|
5527
5527
|
} else
|
|
5528
|
-
y = h ?
|
|
5528
|
+
y = h ? Co(a, n, c) : a[c];
|
|
5529
5529
|
if (ei && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
5530
5530
|
return lt;
|
|
5531
5531
|
l[d] = y;
|
|
@@ -5808,7 +5808,7 @@ const Oi = j((o) => {
|
|
|
5808
5808
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5809
5809
|
a.push(l);
|
|
5810
5810
|
}
|
|
5811
|
-
return n.templateInfo = r,
|
|
5811
|
+
return n.templateInfo = r, Ea(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5812
5812
|
}
|
|
5813
5813
|
/**
|
|
5814
5814
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5855,7 +5855,7 @@ const Oi = j((o) => {
|
|
|
5855
5855
|
);
|
|
5856
5856
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5857
5857
|
let l = this._parseBindings(s.textContent, r);
|
|
5858
|
-
l && (s.textContent =
|
|
5858
|
+
l && (s.textContent = xo(l) || " ", Lt(this, r, n, "text", "textContent", l), a = !0);
|
|
5859
5859
|
}
|
|
5860
5860
|
return a;
|
|
5861
5861
|
}
|
|
@@ -5882,9 +5882,9 @@ const Oi = j((o) => {
|
|
|
5882
5882
|
let d = this._parseBindings(l, r);
|
|
5883
5883
|
if (d) {
|
|
5884
5884
|
let u = a, c = "property";
|
|
5885
|
-
|
|
5886
|
-
let h =
|
|
5887
|
-
return h && c == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a =
|
|
5885
|
+
da.test(a) ? c = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), c = "attribute");
|
|
5886
|
+
let h = xo(d);
|
|
5887
|
+
return h && c == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a = gs(a)), Lt(this, r, n, c, a, d, h), !0;
|
|
5888
5888
|
} else
|
|
5889
5889
|
return t._parseTemplateNodeAttribute.call(
|
|
5890
5890
|
this,
|
|
@@ -5917,10 +5917,10 @@ const Oi = j((o) => {
|
|
|
5917
5917
|
n
|
|
5918
5918
|
);
|
|
5919
5919
|
const l = s.parentNode, d = n.templateInfo, u = l.localName === "dom-if", c = l.localName === "dom-repeat";
|
|
5920
|
-
|
|
5920
|
+
ao && (u || c) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5921
5921
|
let h = d.hostProps;
|
|
5922
|
-
if (
|
|
5923
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5922
|
+
if (In && u)
|
|
5923
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), ao || (n.parentInfo.noted = !0));
|
|
5924
5924
|
else {
|
|
5925
5925
|
let _ = "{";
|
|
5926
5926
|
for (let y in h) {
|
|
@@ -5977,7 +5977,7 @@ const Oi = j((o) => {
|
|
|
5977
5977
|
*/
|
|
5978
5978
|
static _parseBindings(s, r) {
|
|
5979
5979
|
let n = [], a = 0, l;
|
|
5980
|
-
for (; (l =
|
|
5980
|
+
for (; (l = wo.exec(s)) !== null; ) {
|
|
5981
5981
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5982
5982
|
let d = l[1][0], u = !!l[2], c = l[3].trim(), h = !1, _ = "", y = -1;
|
|
5983
5983
|
d == "{" && (y = c.indexOf("::")) > 0 && (_ = c.substring(y + 2), c = c.substring(0, y), h = !0);
|
|
@@ -6000,7 +6000,7 @@ const Oi = j((o) => {
|
|
|
6000
6000
|
signature: C,
|
|
6001
6001
|
dependencies: S,
|
|
6002
6002
|
event: _
|
|
6003
|
-
}), a =
|
|
6003
|
+
}), a = wo.lastIndex;
|
|
6004
6004
|
}
|
|
6005
6005
|
if (a && a < s.length) {
|
|
6006
6006
|
let d = s.substring(a);
|
|
@@ -6050,7 +6050,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6050
6050
|
Code distributed by Google as part of the polymer project is also
|
|
6051
6051
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6052
6052
|
*/
|
|
6053
|
-
function
|
|
6053
|
+
function Ua(o) {
|
|
6054
6054
|
const t = {};
|
|
6055
6055
|
for (let e in o) {
|
|
6056
6056
|
const i = o[e];
|
|
@@ -6058,8 +6058,8 @@ function Va(o) {
|
|
|
6058
6058
|
}
|
|
6059
6059
|
return t;
|
|
6060
6060
|
}
|
|
6061
|
-
const
|
|
6062
|
-
const t =
|
|
6061
|
+
const ja = j((o) => {
|
|
6062
|
+
const t = ws(o);
|
|
6063
6063
|
function e(r) {
|
|
6064
6064
|
const n = Object.getPrototypeOf(r);
|
|
6065
6065
|
return n.prototype instanceof s ? (
|
|
@@ -6072,7 +6072,7 @@ const Ua = j((o) => {
|
|
|
6072
6072
|
let n = null;
|
|
6073
6073
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6074
6074
|
const a = r.properties;
|
|
6075
|
-
a && (n =
|
|
6075
|
+
a && (n = Ua(a));
|
|
6076
6076
|
}
|
|
6077
6077
|
r.__ownProperties = n;
|
|
6078
6078
|
}
|
|
@@ -6209,8 +6209,8 @@ const Ua = j((o) => {
|
|
|
6209
6209
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6210
6210
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6211
6211
|
*/
|
|
6212
|
-
const
|
|
6213
|
-
const t =
|
|
6212
|
+
const Ya = "3.5.2", Ao = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o) => {
|
|
6213
|
+
const t = ja(Oi(o));
|
|
6214
6214
|
function e(l) {
|
|
6215
6215
|
if (!l.hasOwnProperty(
|
|
6216
6216
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6238,8 +6238,8 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6238
6238
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, u.computed, c)), u.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : u.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), u.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : u.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), u.observer && l._createPropertyObserver(d, u.observer, c[u.observer]), l._addPropertyToAttributeMap(d);
|
|
6239
6239
|
}
|
|
6240
6240
|
function r(l, d, u, c) {
|
|
6241
|
-
if (!
|
|
6242
|
-
const h = d.content.querySelectorAll("style"), _ =
|
|
6241
|
+
if (!Ao) {
|
|
6242
|
+
const h = d.content.querySelectorAll("style"), _ = ps(d), y = Bn(u), C = d.content.firstElementChild;
|
|
6243
6243
|
for (let I = 0; I < y.length; I++) {
|
|
6244
6244
|
let D = y[I];
|
|
6245
6245
|
D.textContent = l._processStyleText(D.textContent, c), d.content.insertBefore(D, C);
|
|
@@ -6250,7 +6250,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6250
6250
|
M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : S++, D.textContent = l._processStyleText(D.textContent, c);
|
|
6251
6251
|
}
|
|
6252
6252
|
}
|
|
6253
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u),
|
|
6253
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u), Nn && Ao && kn) {
|
|
6254
6254
|
const h = d.content.querySelectorAll("style");
|
|
6255
6255
|
if (h) {
|
|
6256
6256
|
let _ = "";
|
|
@@ -6262,7 +6262,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6262
6262
|
}
|
|
6263
6263
|
function n(l) {
|
|
6264
6264
|
let d = null;
|
|
6265
|
-
if (l && (!xt ||
|
|
6265
|
+
if (l && (!xt || Pn) && (d = /** @type {?HTMLTemplateElement} */
|
|
6266
6266
|
st.import(l, "template"), xt && !d))
|
|
6267
6267
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6268
6268
|
return d;
|
|
@@ -6274,7 +6274,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6274
6274
|
* @nocollapse
|
|
6275
6275
|
*/
|
|
6276
6276
|
static get polymerElementVersion() {
|
|
6277
|
-
return
|
|
6277
|
+
return Ya;
|
|
6278
6278
|
}
|
|
6279
6279
|
/**
|
|
6280
6280
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6295,7 +6295,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6295
6295
|
/** @type {PolymerElementConstructor} */
|
|
6296
6296
|
this.template
|
|
6297
6297
|
);
|
|
6298
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
6298
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : ds || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6299
6299
|
}
|
|
6300
6300
|
/**
|
|
6301
6301
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6465,7 +6465,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6465
6465
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6466
6466
|
/** @type {!HTMLElement} */
|
|
6467
6467
|
this.localName
|
|
6468
|
-
), super._initializeProperties(), this.rootPath =
|
|
6468
|
+
), super._initializeProperties(), this.rootPath = Sn, this.importPath = this.constructor.importPath;
|
|
6469
6469
|
let d = e(this.constructor);
|
|
6470
6470
|
if (d)
|
|
6471
6471
|
for (let u in d) {
|
|
@@ -6576,7 +6576,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6576
6576
|
_attachDom(d) {
|
|
6577
6577
|
const u = J(this);
|
|
6578
6578
|
if (u.attachShadow)
|
|
6579
|
-
return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6579
|
+
return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), On && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6580
6580
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6581
6581
|
}
|
|
6582
6582
|
/**
|
|
@@ -6661,7 +6661,7 @@ const ja = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = j((o)
|
|
|
6661
6661
|
* @nocollapse
|
|
6662
6662
|
*/
|
|
6663
6663
|
static _addTemplatePropertyEffect(d, u, c) {
|
|
6664
|
-
return
|
|
6664
|
+
return us && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6665
6665
|
// dependencies) become accessors with template effects; ignore these
|
|
6666
6666
|
!(c.info.part.signature && c.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6667
6667
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6686,16 +6686,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6686
6686
|
Code distributed by Google as part of the polymer project is also
|
|
6687
6687
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6688
6688
|
*/
|
|
6689
|
-
const
|
|
6690
|
-
class
|
|
6689
|
+
const To = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6690
|
+
class Ps {
|
|
6691
6691
|
/**
|
|
6692
6692
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6693
6693
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6694
6694
|
*/
|
|
6695
6695
|
constructor(t, e) {
|
|
6696
|
-
|
|
6696
|
+
Ms(t, e);
|
|
6697
6697
|
const i = e.reduce(
|
|
6698
|
-
(s, r, n) => s +
|
|
6698
|
+
(s, r, n) => s + Os(r) + t[n + 1],
|
|
6699
6699
|
t[0]
|
|
6700
6700
|
);
|
|
6701
6701
|
this.value = i.toString();
|
|
@@ -6708,8 +6708,8 @@ class Ss {
|
|
|
6708
6708
|
return this.value;
|
|
6709
6709
|
}
|
|
6710
6710
|
}
|
|
6711
|
-
function
|
|
6712
|
-
if (o instanceof
|
|
6711
|
+
function Os(o) {
|
|
6712
|
+
if (o instanceof Ps)
|
|
6713
6713
|
return (
|
|
6714
6714
|
/** @type {!LiteralString} */
|
|
6715
6715
|
o.value
|
|
@@ -6718,30 +6718,30 @@ function Ps(o) {
|
|
|
6718
6718
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6719
6719
|
);
|
|
6720
6720
|
}
|
|
6721
|
-
function
|
|
6721
|
+
function qa(o) {
|
|
6722
6722
|
if (o instanceof HTMLTemplateElement)
|
|
6723
6723
|
return (
|
|
6724
6724
|
/** @type {!HTMLTemplateElement } */
|
|
6725
6725
|
o.innerHTML
|
|
6726
6726
|
);
|
|
6727
|
-
if (o instanceof
|
|
6728
|
-
return
|
|
6727
|
+
if (o instanceof Ps)
|
|
6728
|
+
return Os(o);
|
|
6729
6729
|
throw new Error(
|
|
6730
6730
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6731
6731
|
);
|
|
6732
6732
|
}
|
|
6733
6733
|
const Oe = function(t, ...e) {
|
|
6734
|
-
|
|
6734
|
+
Ms(t, e);
|
|
6735
6735
|
const i = (
|
|
6736
6736
|
/** @type {!HTMLTemplateElement} */
|
|
6737
6737
|
document.createElement("template")
|
|
6738
6738
|
);
|
|
6739
6739
|
let s = e.reduce(
|
|
6740
|
-
(r, n, a) => r +
|
|
6740
|
+
(r, n, a) => r + qa(n) + t[a + 1],
|
|
6741
6741
|
t[0]
|
|
6742
6742
|
);
|
|
6743
|
-
return
|
|
6744
|
-
},
|
|
6743
|
+
return To && (s = To.createHTML(s)), i.innerHTML = s, i;
|
|
6744
|
+
}, Ms = (o, t) => {
|
|
6745
6745
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6746
6746
|
throw new TypeError("Invalid call to the html template tag");
|
|
6747
6747
|
};
|
|
@@ -6754,7 +6754,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6754
6754
|
Code distributed by Google as part of the polymer project is also
|
|
6755
6755
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6756
6756
|
*/
|
|
6757
|
-
const ve =
|
|
6757
|
+
const ve = Wa(HTMLElement);
|
|
6758
6758
|
/**
|
|
6759
6759
|
* @license
|
|
6760
6760
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6767,14 +6767,14 @@ function si(o, t, e = o.getAttribute("dir")) {
|
|
|
6767
6767
|
function ri() {
|
|
6768
6768
|
return document.documentElement.getAttribute("dir");
|
|
6769
6769
|
}
|
|
6770
|
-
function
|
|
6770
|
+
function Ka() {
|
|
6771
6771
|
const o = ri();
|
|
6772
6772
|
ce.forEach((t) => {
|
|
6773
6773
|
si(t, o);
|
|
6774
6774
|
});
|
|
6775
6775
|
}
|
|
6776
|
-
const
|
|
6777
|
-
|
|
6776
|
+
const Ga = new MutationObserver(Ka);
|
|
6777
|
+
Ga.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6778
6778
|
const Pt = (o) => class extends o {
|
|
6779
6779
|
static get properties() {
|
|
6780
6780
|
return {
|
|
@@ -6836,7 +6836,7 @@ const Pt = (o) => class extends o {
|
|
|
6836
6836
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6837
6837
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6838
6838
|
*/
|
|
6839
|
-
const
|
|
6839
|
+
const Ja = (o) => class extends o {
|
|
6840
6840
|
static get properties() {
|
|
6841
6841
|
return {
|
|
6842
6842
|
/**
|
|
@@ -6876,7 +6876,7 @@ const Ga = (o) => class extends o {
|
|
|
6876
6876
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6877
6877
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6878
6878
|
*/
|
|
6879
|
-
const
|
|
6879
|
+
const Xa = k`
|
|
6880
6880
|
:host {
|
|
6881
6881
|
display: flex;
|
|
6882
6882
|
align-items: center;
|
|
@@ -6947,8 +6947,8 @@ const Ja = k`
|
|
|
6947
6947
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6948
6948
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6949
6949
|
*/
|
|
6950
|
-
V("vaadin-input-container",
|
|
6951
|
-
class
|
|
6950
|
+
V("vaadin-input-container", Xa, { moduleId: "vaadin-input-container-styles" });
|
|
6951
|
+
class Za extends Ja(Se(Pt(ve))) {
|
|
6952
6952
|
static get is() {
|
|
6953
6953
|
return "vaadin-input-container";
|
|
6954
6954
|
}
|
|
@@ -6960,13 +6960,13 @@ class Xa extends Ga(Se(Pt(ve))) {
|
|
|
6960
6960
|
`;
|
|
6961
6961
|
}
|
|
6962
6962
|
}
|
|
6963
|
-
le(
|
|
6963
|
+
le(Za);
|
|
6964
6964
|
/**
|
|
6965
6965
|
* @license
|
|
6966
6966
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6967
6967
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6968
6968
|
*/
|
|
6969
|
-
const
|
|
6969
|
+
const Qa = k`
|
|
6970
6970
|
:host {
|
|
6971
6971
|
z-index: 200;
|
|
6972
6972
|
position: fixed;
|
|
@@ -7055,21 +7055,21 @@ function ni() {
|
|
|
7055
7055
|
function Ii() {
|
|
7056
7056
|
return Mi;
|
|
7057
7057
|
}
|
|
7058
|
-
function
|
|
7058
|
+
function el(o) {
|
|
7059
7059
|
const t = o.style;
|
|
7060
7060
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7061
7061
|
return !0;
|
|
7062
7062
|
const e = window.getComputedStyle(o);
|
|
7063
7063
|
return e.visibility === "hidden" || e.display === "none";
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function tl(o, t) {
|
|
7066
7066
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7067
7067
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7068
7068
|
}
|
|
7069
|
-
function
|
|
7069
|
+
function il(o, t) {
|
|
7070
7070
|
const e = [];
|
|
7071
7071
|
for (; o.length > 0 && t.length > 0; )
|
|
7072
|
-
|
|
7072
|
+
tl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7073
7073
|
return e.concat(o, t);
|
|
7074
7074
|
}
|
|
7075
7075
|
function ai(o) {
|
|
@@ -7077,37 +7077,37 @@ function ai(o) {
|
|
|
7077
7077
|
if (t < 2)
|
|
7078
7078
|
return o;
|
|
7079
7079
|
const e = Math.ceil(t / 2), i = ai(o.slice(0, e)), s = ai(o.slice(e));
|
|
7080
|
-
return
|
|
7080
|
+
return il(i, s);
|
|
7081
7081
|
}
|
|
7082
|
-
function
|
|
7082
|
+
function Is(o) {
|
|
7083
7083
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7084
7084
|
}
|
|
7085
|
-
function
|
|
7085
|
+
function ol(o) {
|
|
7086
7086
|
return o.getRootNode().activeElement === o;
|
|
7087
7087
|
}
|
|
7088
|
-
function
|
|
7089
|
-
if (!
|
|
7088
|
+
function sl(o) {
|
|
7089
|
+
if (!Is(o))
|
|
7090
7090
|
return -1;
|
|
7091
7091
|
const t = o.getAttribute("tabindex") || 0;
|
|
7092
7092
|
return Number(t);
|
|
7093
7093
|
}
|
|
7094
|
-
function
|
|
7095
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7094
|
+
function Ns(o, t) {
|
|
7095
|
+
if (o.nodeType !== Node.ELEMENT_NODE || el(o))
|
|
7096
7096
|
return !1;
|
|
7097
7097
|
const e = (
|
|
7098
7098
|
/** @type {HTMLElement} */
|
|
7099
7099
|
o
|
|
7100
|
-
), i =
|
|
7100
|
+
), i = sl(e);
|
|
7101
7101
|
let s = i > 0;
|
|
7102
7102
|
i >= 0 && t.push(e);
|
|
7103
7103
|
let r = [];
|
|
7104
7104
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7105
|
-
s =
|
|
7105
|
+
s = Ns(n, t) || s;
|
|
7106
7106
|
}), s;
|
|
7107
7107
|
}
|
|
7108
|
-
function
|
|
7108
|
+
function rl(o) {
|
|
7109
7109
|
const t = [];
|
|
7110
|
-
return
|
|
7110
|
+
return Ns(o, t) ? ai(t) : t;
|
|
7111
7111
|
}
|
|
7112
7112
|
/**
|
|
7113
7113
|
@license
|
|
@@ -7118,23 +7118,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7118
7118
|
Code distributed by Google as part of the polymer project is also
|
|
7119
7119
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7120
7120
|
*/
|
|
7121
|
-
let li = !1,
|
|
7122
|
-
function
|
|
7121
|
+
let li = !1, nl = [], Fs = [];
|
|
7122
|
+
function al() {
|
|
7123
7123
|
li = !0, requestAnimationFrame(function() {
|
|
7124
|
-
li = !1,
|
|
7125
|
-
|
|
7124
|
+
li = !1, ll(nl), setTimeout(function() {
|
|
7125
|
+
dl(Fs);
|
|
7126
7126
|
});
|
|
7127
7127
|
});
|
|
7128
7128
|
}
|
|
7129
|
-
function
|
|
7129
|
+
function ll(o) {
|
|
7130
7130
|
for (; o.length; )
|
|
7131
|
-
|
|
7131
|
+
zs(o.shift());
|
|
7132
7132
|
}
|
|
7133
|
-
function
|
|
7133
|
+
function dl(o) {
|
|
7134
7134
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7135
|
-
|
|
7135
|
+
zs(o.shift());
|
|
7136
7136
|
}
|
|
7137
|
-
function
|
|
7137
|
+
function zs(o) {
|
|
7138
7138
|
const t = o[0], e = o[1], i = o[2];
|
|
7139
7139
|
try {
|
|
7140
7140
|
e.apply(t, i);
|
|
@@ -7144,21 +7144,21 @@ function Fs(o) {
|
|
|
7144
7144
|
});
|
|
7145
7145
|
}
|
|
7146
7146
|
}
|
|
7147
|
-
function
|
|
7148
|
-
li ||
|
|
7147
|
+
function Ls(o, t, e) {
|
|
7148
|
+
li || al(), Fs.push([o, t, e]);
|
|
7149
7149
|
}
|
|
7150
7150
|
/**
|
|
7151
7151
|
* @license
|
|
7152
7152
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7153
7153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7154
7154
|
*/
|
|
7155
|
-
const Ot = (o) => o.test(navigator.userAgent), di = (o) => o.test(navigator.platform),
|
|
7155
|
+
const Ot = (o) => o.test(navigator.userAgent), di = (o) => o.test(navigator.platform), ul = (o) => o.test(navigator.vendor);
|
|
7156
7156
|
Ot(/Android/u);
|
|
7157
|
-
Ot(/Chrome/u) &&
|
|
7157
|
+
Ot(/Chrome/u) && ul(/Google Inc/u);
|
|
7158
7158
|
Ot(/Firefox/u);
|
|
7159
|
-
const
|
|
7159
|
+
const cl = di(/^iPad/u) || di(/^Mac/u) && navigator.maxTouchPoints > 1, hl = di(/^iPhone/u), $s = hl || cl;
|
|
7160
7160
|
Ot(/^((?!chrome|android).)*safari/iu);
|
|
7161
|
-
const
|
|
7161
|
+
const pl = (() => {
|
|
7162
7162
|
try {
|
|
7163
7163
|
return document.createEvent("TouchEvent"), !0;
|
|
7164
7164
|
} catch {
|
|
@@ -7171,10 +7171,10 @@ const hl = (() => {
|
|
|
7171
7171
|
* SPDX-License-Identifier: MIT
|
|
7172
7172
|
*/
|
|
7173
7173
|
let Ie = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {}, Rt = 0;
|
|
7174
|
-
const
|
|
7174
|
+
const Eo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Ht = (...o) => {
|
|
7175
7175
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7176
|
-
},
|
|
7177
|
-
if (!
|
|
7176
|
+
}, fl = (o, t) => Eo(o) ? t.map((e) => {
|
|
7177
|
+
if (!Eo(e))
|
|
7178
7178
|
return Ht(e, "is not a valid element"), null;
|
|
7179
7179
|
let i = e;
|
|
7180
7180
|
for (; i && i !== o; ) {
|
|
@@ -7183,8 +7183,8 @@ const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Ht = (...o) => {
|
|
|
7183
7183
|
i = i.getRootNode().host;
|
|
7184
7184
|
}
|
|
7185
7185
|
return Ht(e, "is not contained inside", o), null;
|
|
7186
|
-
}).filter((e) => !!e) : (Ht(o, "is not a valid element"), []),
|
|
7187
|
-
const s =
|
|
7186
|
+
}).filter((e) => !!e) : (Ht(o, "is not a valid element"), []), ml = (o, t, e, i) => {
|
|
7187
|
+
const s = fl(t, Array.isArray(o) ? o : [o]);
|
|
7188
7188
|
ft[e] || (ft[e] = /* @__PURE__ */ new WeakMap());
|
|
7189
7189
|
const r = ft[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (c) => {
|
|
7190
7190
|
if (!c || a.has(c))
|
|
@@ -7214,16 +7214,16 @@ const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Ht = (...o) => {
|
|
|
7214
7214
|
Ie.set(c, h), r.set(c, _), h || (pt.has(c) ? pt.delete(c) : c.removeAttribute(i)), _ || c.removeAttribute(e);
|
|
7215
7215
|
}), Rt -= 1, Rt || (Ie = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {});
|
|
7216
7216
|
};
|
|
7217
|
-
},
|
|
7217
|
+
}, Rs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7218
7218
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7219
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7219
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), ml(i, t, e, "aria-hidden");
|
|
7220
7220
|
};
|
|
7221
7221
|
/**
|
|
7222
7222
|
* @license
|
|
7223
7223
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7224
7224
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7225
7225
|
*/
|
|
7226
|
-
class
|
|
7226
|
+
class _l {
|
|
7227
7227
|
/**
|
|
7228
7228
|
* @param {HTMLElement} host
|
|
7229
7229
|
*/
|
|
@@ -7239,7 +7239,7 @@ class ml {
|
|
|
7239
7239
|
*/
|
|
7240
7240
|
showModal() {
|
|
7241
7241
|
const t = this.callback();
|
|
7242
|
-
this.__showOthers =
|
|
7242
|
+
this.__showOthers = Rs(t);
|
|
7243
7243
|
}
|
|
7244
7244
|
/**
|
|
7245
7245
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7254,7 +7254,7 @@ class ml {
|
|
|
7254
7254
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7255
7255
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7256
7256
|
*/
|
|
7257
|
-
class
|
|
7257
|
+
class gl {
|
|
7258
7258
|
/**
|
|
7259
7259
|
* Saves the given node as a target for restoring focus to
|
|
7260
7260
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7282,7 +7282,7 @@ class _l {
|
|
|
7282
7282
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7283
7283
|
*/
|
|
7284
7284
|
const Bt = [];
|
|
7285
|
-
class
|
|
7285
|
+
class yl {
|
|
7286
7286
|
/**
|
|
7287
7287
|
* @param {HTMLElement} host
|
|
7288
7288
|
*/
|
|
@@ -7296,7 +7296,7 @@ class gl {
|
|
|
7296
7296
|
* @private
|
|
7297
7297
|
*/
|
|
7298
7298
|
get __focusableElements() {
|
|
7299
|
-
return
|
|
7299
|
+
return rl(this.__trapNode);
|
|
7300
7300
|
}
|
|
7301
7301
|
/**
|
|
7302
7302
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7306,7 +7306,7 @@ class gl {
|
|
|
7306
7306
|
*/
|
|
7307
7307
|
get __focusedElementIndex() {
|
|
7308
7308
|
const t = this.__focusableElements;
|
|
7309
|
-
return t.indexOf(t.filter(
|
|
7309
|
+
return t.indexOf(t.filter(ol).pop());
|
|
7310
7310
|
}
|
|
7311
7311
|
hostConnected() {
|
|
7312
7312
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7419,7 +7419,7 @@ const Ye = j((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7419
7419
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7420
7420
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7421
7421
|
*/
|
|
7422
|
-
const
|
|
7422
|
+
const vl = (o) => class extends Ye(o) {
|
|
7423
7423
|
static get properties() {
|
|
7424
7424
|
return {
|
|
7425
7425
|
/**
|
|
@@ -7450,7 +7450,7 @@ const yl = (o) => class extends Ye(o) {
|
|
|
7450
7450
|
};
|
|
7451
7451
|
}
|
|
7452
7452
|
constructor() {
|
|
7453
|
-
super(), this.__ariaModalController = new
|
|
7453
|
+
super(), this.__ariaModalController = new _l(this), this.__focusTrapController = new yl(this), this.__focusRestorationController = new gl();
|
|
7454
7454
|
}
|
|
7455
7455
|
/** @protected */
|
|
7456
7456
|
ready() {
|
|
@@ -7521,7 +7521,7 @@ const yl = (o) => class extends Ye(o) {
|
|
|
7521
7521
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7522
7522
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7523
7523
|
*/
|
|
7524
|
-
const
|
|
7524
|
+
const Hs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), ui = () => Hs().filter((o) => o.$.overlay), bl = (o) => o === ui().pop(), wl = (o) => class extends o {
|
|
7525
7525
|
constructor() {
|
|
7526
7526
|
super(), this._hasOverlayStackMixin = !0;
|
|
7527
7527
|
}
|
|
@@ -7532,14 +7532,14 @@ const Rs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7532
7532
|
* @protected
|
|
7533
7533
|
*/
|
|
7534
7534
|
get _last() {
|
|
7535
|
-
return
|
|
7535
|
+
return bl(this);
|
|
7536
7536
|
}
|
|
7537
7537
|
/**
|
|
7538
7538
|
* Brings the overlay as visually the frontmost one.
|
|
7539
7539
|
*/
|
|
7540
7540
|
bringToFront() {
|
|
7541
7541
|
let e = "";
|
|
7542
|
-
const i =
|
|
7542
|
+
const i = Hs().filter((s) => s !== this).pop();
|
|
7543
7543
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7544
7544
|
}
|
|
7545
7545
|
/** @protected */
|
|
@@ -7562,7 +7562,7 @@ const Rs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7562
7562
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7563
7563
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7564
7564
|
*/
|
|
7565
|
-
const
|
|
7565
|
+
const xl = (o) => class extends vl(wl(o)) {
|
|
7566
7566
|
static get properties() {
|
|
7567
7567
|
return {
|
|
7568
7568
|
/**
|
|
@@ -7635,7 +7635,7 @@ const wl = (o) => class extends yl(bl(o)) {
|
|
|
7635
7635
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7636
7636
|
}
|
|
7637
7637
|
constructor() {
|
|
7638
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7638
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), $s && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7639
7639
|
}
|
|
7640
7640
|
/** @protected */
|
|
7641
7641
|
ready() {
|
|
@@ -7703,7 +7703,7 @@ const wl = (o) => class extends yl(bl(o)) {
|
|
|
7703
7703
|
}
|
|
7704
7704
|
/** @private */
|
|
7705
7705
|
_openedChanged(e, i) {
|
|
7706
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7706
|
+
e ? (this._saveFocus(), this._animatedOpening(), Ls(this, () => {
|
|
7707
7707
|
this._trapFocus();
|
|
7708
7708
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7709
7709
|
this.dispatchEvent(s);
|
|
@@ -7828,7 +7828,7 @@ const wl = (o) => class extends yl(bl(o)) {
|
|
|
7828
7828
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7829
7829
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7830
7830
|
*/
|
|
7831
|
-
function
|
|
7831
|
+
function Cl(o) {
|
|
7832
7832
|
const t = [];
|
|
7833
7833
|
for (; o; ) {
|
|
7834
7834
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7853,11 +7853,11 @@ function Ni(o) {
|
|
|
7853
7853
|
function Mt(o) {
|
|
7854
7854
|
return o ? [...o].join(" ") : "";
|
|
7855
7855
|
}
|
|
7856
|
-
function
|
|
7856
|
+
function Bs(o, t, e) {
|
|
7857
7857
|
const i = Ni(o.getAttribute(t));
|
|
7858
7858
|
i.add(e), o.setAttribute(t, Mt(i));
|
|
7859
7859
|
}
|
|
7860
|
-
function
|
|
7860
|
+
function Al(o, t, e) {
|
|
7861
7861
|
const i = Ni(o.getAttribute(t));
|
|
7862
7862
|
if (i.delete(e), i.size === 0) {
|
|
7863
7863
|
o.removeAttribute(t);
|
|
@@ -7865,7 +7865,7 @@ function Cl(o, t, e) {
|
|
|
7865
7865
|
}
|
|
7866
7866
|
o.setAttribute(t, Mt(i));
|
|
7867
7867
|
}
|
|
7868
|
-
function
|
|
7868
|
+
function Tl(o) {
|
|
7869
7869
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7870
7870
|
}
|
|
7871
7871
|
/**
|
|
@@ -7873,7 +7873,7 @@ function Al(o) {
|
|
|
7873
7873
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7874
7874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7875
7875
|
*/
|
|
7876
|
-
function
|
|
7876
|
+
function El(o, t) {
|
|
7877
7877
|
let e = null;
|
|
7878
7878
|
const i = document.documentElement;
|
|
7879
7879
|
function s() {
|
|
@@ -7913,13 +7913,13 @@ const Vt = {
|
|
|
7913
7913
|
}, Ut = {
|
|
7914
7914
|
start: "left",
|
|
7915
7915
|
end: "right"
|
|
7916
|
-
},
|
|
7916
|
+
}, Do = new ResizeObserver((o) => {
|
|
7917
7917
|
setTimeout(() => {
|
|
7918
7918
|
o.forEach((t) => {
|
|
7919
7919
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7920
7920
|
});
|
|
7921
7921
|
});
|
|
7922
|
-
}),
|
|
7922
|
+
}), Dl = (o) => class extends o {
|
|
7923
7923
|
static get properties() {
|
|
7924
7924
|
return {
|
|
7925
7925
|
/**
|
|
@@ -8018,9 +8018,9 @@ const Vt = {
|
|
|
8018
8018
|
}
|
|
8019
8019
|
/** @private */
|
|
8020
8020
|
__addUpdatePositionEventListeners() {
|
|
8021
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8021
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Cl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8022
8022
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8023
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8023
|
+
}), this.positionTarget && (this.__observePositionTargetMove = El(this.positionTarget, () => {
|
|
8024
8024
|
this._updatePosition();
|
|
8025
8025
|
}));
|
|
8026
8026
|
}
|
|
@@ -8032,7 +8032,7 @@ const Vt = {
|
|
|
8032
8032
|
}
|
|
8033
8033
|
/** @private */
|
|
8034
8034
|
__overlayOpenedChanged(e, i) {
|
|
8035
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8035
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Do.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Do.observe(i))), e) {
|
|
8036
8036
|
const s = getComputedStyle(this);
|
|
8037
8037
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8038
8038
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8154,7 +8154,7 @@ const Vt = {
|
|
|
8154
8154
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8155
8155
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8156
8156
|
*/
|
|
8157
|
-
const
|
|
8157
|
+
const kl = (o) => class extends Dl(xl(o)) {
|
|
8158
8158
|
/**
|
|
8159
8159
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8160
8160
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8171,7 +8171,7 @@ const Dl = (o) => class extends El(wl(o)) {
|
|
|
8171
8171
|
* @override
|
|
8172
8172
|
*/
|
|
8173
8173
|
_mouseDownListener(e) {
|
|
8174
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8174
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Is(e.composedPath()[0]) && e.preventDefault();
|
|
8175
8175
|
}
|
|
8176
8176
|
};
|
|
8177
8177
|
/**
|
|
@@ -8179,7 +8179,7 @@ const Dl = (o) => class extends El(wl(o)) {
|
|
|
8179
8179
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8180
8180
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8181
8181
|
*/
|
|
8182
|
-
const
|
|
8182
|
+
const Sl = k`
|
|
8183
8183
|
[part='overlay'] {
|
|
8184
8184
|
display: flex;
|
|
8185
8185
|
flex: auto;
|
|
@@ -8200,10 +8200,10 @@ const kl = k`
|
|
|
8200
8200
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8201
8201
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8202
8202
|
*/
|
|
8203
|
-
V("vaadin-date-picker-overlay", [
|
|
8203
|
+
V("vaadin-date-picker-overlay", [Qa, Sl], {
|
|
8204
8204
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8205
8205
|
});
|
|
8206
|
-
class
|
|
8206
|
+
class Pl extends kl(Pt(Se(ve))) {
|
|
8207
8207
|
static get is() {
|
|
8208
8208
|
return "vaadin-date-picker-overlay";
|
|
8209
8209
|
}
|
|
@@ -8218,34 +8218,34 @@ class Sl extends Dl(Pt(Se(ve))) {
|
|
|
8218
8218
|
`;
|
|
8219
8219
|
}
|
|
8220
8220
|
}
|
|
8221
|
-
le(
|
|
8222
|
-
const
|
|
8223
|
-
function
|
|
8221
|
+
le(Pl);
|
|
8222
|
+
const Ol = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, yt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8223
|
+
function Ml() {
|
|
8224
8224
|
function o() {
|
|
8225
8225
|
return !0;
|
|
8226
8226
|
}
|
|
8227
|
-
return
|
|
8227
|
+
return Vs(o);
|
|
8228
8228
|
}
|
|
8229
|
-
function
|
|
8229
|
+
function Il() {
|
|
8230
8230
|
try {
|
|
8231
|
-
return
|
|
8231
|
+
return Nl() ? !0 : Fl() ? yt ? !zl() : !Ml() : !1;
|
|
8232
8232
|
} catch {
|
|
8233
8233
|
return !1;
|
|
8234
8234
|
}
|
|
8235
8235
|
}
|
|
8236
|
-
function
|
|
8236
|
+
function Nl() {
|
|
8237
8237
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8238
8238
|
}
|
|
8239
|
-
function
|
|
8239
|
+
function Fl() {
|
|
8240
8240
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8241
8241
|
}
|
|
8242
|
-
function
|
|
8242
|
+
function zl() {
|
|
8243
8243
|
return !!(yt && Object.keys(yt).map((t) => yt[t]).filter((t) => t.productionMode).length > 0);
|
|
8244
8244
|
}
|
|
8245
|
-
function
|
|
8245
|
+
function Vs(o, t) {
|
|
8246
8246
|
if (typeof o != "function")
|
|
8247
8247
|
return;
|
|
8248
|
-
const e =
|
|
8248
|
+
const e = Ol.exec(o.toString());
|
|
8249
8249
|
if (e)
|
|
8250
8250
|
try {
|
|
8251
8251
|
o = new Function(e[1]);
|
|
@@ -8255,12 +8255,12 @@ function Bs(o, t) {
|
|
|
8255
8255
|
return o(t);
|
|
8256
8256
|
}
|
|
8257
8257
|
window.Vaadin = window.Vaadin || {};
|
|
8258
|
-
const
|
|
8258
|
+
const ko = function(o, t) {
|
|
8259
8259
|
if (window.Vaadin.developmentMode)
|
|
8260
|
-
return
|
|
8260
|
+
return Vs(o, t);
|
|
8261
8261
|
};
|
|
8262
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8263
|
-
function
|
|
8262
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Il());
|
|
8263
|
+
function Ll() {
|
|
8264
8264
|
/*! vaadin-dev-mode:start
|
|
8265
8265
|
(function () {
|
|
8266
8266
|
'use strict';
|
|
@@ -8741,9 +8741,9 @@ function zl() {
|
|
|
8741
8741
|
|
|
8742
8742
|
vaadin-dev-mode:end **/
|
|
8743
8743
|
}
|
|
8744
|
-
const
|
|
8745
|
-
if (typeof
|
|
8746
|
-
return
|
|
8744
|
+
const $l = function() {
|
|
8745
|
+
if (typeof ko == "function")
|
|
8746
|
+
return ko(Ll);
|
|
8747
8747
|
};
|
|
8748
8748
|
/**
|
|
8749
8749
|
* @license
|
|
@@ -8754,10 +8754,10 @@ const Ll = function() {
|
|
|
8754
8754
|
* Code distributed by Google as part of the polymer project is also
|
|
8755
8755
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8756
8756
|
*/
|
|
8757
|
-
let
|
|
8757
|
+
let So = 0, Us = 0;
|
|
8758
8758
|
const Le = [];
|
|
8759
8759
|
let ci = !1;
|
|
8760
|
-
function
|
|
8760
|
+
function Rl() {
|
|
8761
8761
|
ci = !1;
|
|
8762
8762
|
const o = Le.length;
|
|
8763
8763
|
for (let t = 0; t < o; t++) {
|
|
@@ -8771,7 +8771,7 @@ function $l() {
|
|
|
8771
8771
|
});
|
|
8772
8772
|
}
|
|
8773
8773
|
}
|
|
8774
|
-
Le.splice(0, o),
|
|
8774
|
+
Le.splice(0, o), Us += o;
|
|
8775
8775
|
}
|
|
8776
8776
|
const At = {
|
|
8777
8777
|
/**
|
|
@@ -8813,7 +8813,7 @@ const At = {
|
|
|
8813
8813
|
cancel(o) {
|
|
8814
8814
|
window.clearTimeout(o);
|
|
8815
8815
|
}
|
|
8816
|
-
},
|
|
8816
|
+
}, Hl = {
|
|
8817
8817
|
/**
|
|
8818
8818
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8819
8819
|
*
|
|
@@ -8834,7 +8834,7 @@ const At = {
|
|
|
8834
8834
|
cancel(o) {
|
|
8835
8835
|
window.cancelAnimationFrame(o);
|
|
8836
8836
|
}
|
|
8837
|
-
},
|
|
8837
|
+
}, Bl = {
|
|
8838
8838
|
/**
|
|
8839
8839
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8840
8840
|
*
|
|
@@ -8855,7 +8855,7 @@ const At = {
|
|
|
8855
8855
|
cancel(o) {
|
|
8856
8856
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8857
8857
|
}
|
|
8858
|
-
},
|
|
8858
|
+
}, Vl = {
|
|
8859
8859
|
/**
|
|
8860
8860
|
* Enqueues a function called at microtask timing.
|
|
8861
8861
|
*
|
|
@@ -8864,9 +8864,9 @@ const At = {
|
|
|
8864
8864
|
* @return {number} Handle used for canceling task
|
|
8865
8865
|
*/
|
|
8866
8866
|
run(o) {
|
|
8867
|
-
ci || (ci = !0, queueMicrotask(() =>
|
|
8868
|
-
const t =
|
|
8869
|
-
return
|
|
8867
|
+
ci || (ci = !0, queueMicrotask(() => Rl())), Le.push(o);
|
|
8868
|
+
const t = So;
|
|
8869
|
+
return So += 1, t;
|
|
8870
8870
|
},
|
|
8871
8871
|
/**
|
|
8872
8872
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8876,7 +8876,7 @@ const At = {
|
|
|
8876
8876
|
* @return {void}
|
|
8877
8877
|
*/
|
|
8878
8878
|
cancel(o) {
|
|
8879
|
-
const t = o -
|
|
8879
|
+
const t = o - Us;
|
|
8880
8880
|
if (t >= 0) {
|
|
8881
8881
|
if (!Le[t])
|
|
8882
8882
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8985,7 +8985,7 @@ let Ve = class pi {
|
|
|
8985
8985
|
return this._timer != null;
|
|
8986
8986
|
}
|
|
8987
8987
|
};
|
|
8988
|
-
function
|
|
8988
|
+
function Ul(o) {
|
|
8989
8989
|
hi.add(o);
|
|
8990
8990
|
}
|
|
8991
8991
|
/**
|
|
@@ -8997,17 +8997,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8997
8997
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
8998
8998
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
8999
8999
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9000
|
-
|
|
9000
|
+
$l();
|
|
9001
9001
|
};
|
|
9002
9002
|
let jt;
|
|
9003
|
-
const
|
|
9003
|
+
const Po = /* @__PURE__ */ new Set(), js = (o) => class extends Pt(o) {
|
|
9004
9004
|
/** @protected */
|
|
9005
9005
|
static finalize() {
|
|
9006
9006
|
super.finalize();
|
|
9007
9007
|
const { is: e } = this;
|
|
9008
|
-
e && !
|
|
9008
|
+
e && !Po.has(e) && (window.Vaadin.registrations.push(this), Po.add(e), window.Vaadin.developmentModeCallback && (jt = Ve.debounce(jt, Bl, () => {
|
|
9009
9009
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9010
|
-
}),
|
|
9010
|
+
}), Ul(jt)));
|
|
9011
9011
|
}
|
|
9012
9012
|
constructor() {
|
|
9013
9013
|
super(), document.doctype === null && console.warn(
|
|
@@ -9020,7 +9020,7 @@ const So = /* @__PURE__ */ new Set(), Us = (o) => class extends Pt(o) {
|
|
|
9020
9020
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9021
9021
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9022
9022
|
*/
|
|
9023
|
-
class
|
|
9023
|
+
class jl {
|
|
9024
9024
|
constructor(t, e) {
|
|
9025
9025
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9026
9026
|
this._schedule();
|
|
@@ -9070,9 +9070,9 @@ class Ul {
|
|
|
9070
9070
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9071
9071
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9072
9072
|
*/
|
|
9073
|
-
let
|
|
9074
|
-
function
|
|
9075
|
-
return
|
|
9073
|
+
let Yl = 0;
|
|
9074
|
+
function Ys() {
|
|
9075
|
+
return Yl++;
|
|
9076
9076
|
}
|
|
9077
9077
|
/**
|
|
9078
9078
|
* @license
|
|
@@ -9089,7 +9089,7 @@ class Ae extends EventTarget {
|
|
|
9089
9089
|
* @protected
|
|
9090
9090
|
*/
|
|
9091
9091
|
static generateId(t, e = "default") {
|
|
9092
|
-
return `${e}-${t.localName}-${
|
|
9092
|
+
return `${e}-${t.localName}-${Ys()}`;
|
|
9093
9093
|
}
|
|
9094
9094
|
constructor(t, e, i, s = {}) {
|
|
9095
9095
|
super();
|
|
@@ -9181,8 +9181,8 @@ class Ae extends EventTarget {
|
|
|
9181
9181
|
*/
|
|
9182
9182
|
observeSlot() {
|
|
9183
9183
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9184
|
-
this.__slotObserver = new
|
|
9185
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9184
|
+
this.__slotObserver = new jl(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9185
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Tl(l) && !n.includes(l));
|
|
9186
9186
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9187
9187
|
this.teardownNode(l);
|
|
9188
9188
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9196,7 +9196,7 @@ class Ae extends EventTarget {
|
|
|
9196
9196
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9197
9197
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9198
9198
|
*/
|
|
9199
|
-
class
|
|
9199
|
+
class Ws extends Ae {
|
|
9200
9200
|
constructor(t) {
|
|
9201
9201
|
super(t, "tooltip"), this.setTarget(t);
|
|
9202
9202
|
}
|
|
@@ -9297,7 +9297,7 @@ class Ys extends Ae {
|
|
|
9297
9297
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9298
9298
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9299
9299
|
*/
|
|
9300
|
-
const
|
|
9300
|
+
const Wl = k`
|
|
9301
9301
|
:host {
|
|
9302
9302
|
display: inline-block;
|
|
9303
9303
|
position: relative;
|
|
@@ -9357,7 +9357,7 @@ const Yl = k`
|
|
|
9357
9357
|
outline-color: GrayText;
|
|
9358
9358
|
}
|
|
9359
9359
|
}
|
|
9360
|
-
`,
|
|
9360
|
+
`, ql = (o) => o`
|
|
9361
9361
|
<div class="vaadin-button-container">
|
|
9362
9362
|
<span part="prefix" aria-hidden="true">
|
|
9363
9363
|
<slot name="prefix"></slot>
|
|
@@ -9380,7 +9380,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9380
9380
|
Code distributed by Google as part of the polymer project is also
|
|
9381
9381
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9382
9382
|
*/
|
|
9383
|
-
const
|
|
9383
|
+
const Kl = (o) => o, qs = typeof document.head.style.touchAction == "string", fi = "__polymerGestures", Yt = "__polymerGesturesHandled", mi = "__polymerGesturesTouchAction", Oo = 25, Mo = 5, Gl = 2, Jl = ["mousedown", "mousemove", "mouseup", "click"], Xl = [0, 1, 4, 2], Zl = function() {
|
|
9384
9384
|
try {
|
|
9385
9385
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9386
9386
|
} catch {
|
|
@@ -9388,25 +9388,25 @@ const ql = (o) => o, Ws = typeof document.head.style.touchAction == "string", fi
|
|
|
9388
9388
|
}
|
|
9389
9389
|
}();
|
|
9390
9390
|
function Fi(o) {
|
|
9391
|
-
return
|
|
9391
|
+
return Jl.indexOf(o) > -1;
|
|
9392
9392
|
}
|
|
9393
|
-
let
|
|
9393
|
+
let Ql = !1;
|
|
9394
9394
|
(function() {
|
|
9395
9395
|
try {
|
|
9396
9396
|
const o = Object.defineProperty({}, "passive", {
|
|
9397
9397
|
// eslint-disable-next-line getter-return
|
|
9398
9398
|
get() {
|
|
9399
|
-
|
|
9399
|
+
Ql = !0;
|
|
9400
9400
|
}
|
|
9401
9401
|
});
|
|
9402
9402
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9403
9403
|
} catch {
|
|
9404
9404
|
}
|
|
9405
9405
|
})();
|
|
9406
|
-
function
|
|
9406
|
+
function ed(o) {
|
|
9407
9407
|
Fi(o);
|
|
9408
9408
|
}
|
|
9409
|
-
const
|
|
9409
|
+
const td = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), id = {
|
|
9410
9410
|
button: !0,
|
|
9411
9411
|
command: !0,
|
|
9412
9412
|
fieldset: !0,
|
|
@@ -9423,11 +9423,11 @@ function Ee(o) {
|
|
|
9423
9423
|
return !1;
|
|
9424
9424
|
if (t === "mousemove") {
|
|
9425
9425
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9426
|
-
return o instanceof window.MouseEvent && !
|
|
9426
|
+
return o instanceof window.MouseEvent && !Zl && (i = Xl[o.which] || 0), !!(i & 1);
|
|
9427
9427
|
}
|
|
9428
9428
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9429
9429
|
}
|
|
9430
|
-
function
|
|
9430
|
+
function od(o) {
|
|
9431
9431
|
if (o.type === "click") {
|
|
9432
9432
|
if (o.detail === 0)
|
|
9433
9433
|
return !0;
|
|
@@ -9451,9 +9451,9 @@ const he = {
|
|
|
9451
9451
|
scrollDecided: !1
|
|
9452
9452
|
}
|
|
9453
9453
|
};
|
|
9454
|
-
function
|
|
9454
|
+
function sd(o) {
|
|
9455
9455
|
let t = "auto";
|
|
9456
|
-
const e =
|
|
9456
|
+
const e = Gs(o);
|
|
9457
9457
|
for (let i = 0, s; i < e.length; i++)
|
|
9458
9458
|
if (s = e[i], s[mi]) {
|
|
9459
9459
|
t = s[mi];
|
|
@@ -9461,14 +9461,14 @@ function od(o) {
|
|
|
9461
9461
|
}
|
|
9462
9462
|
return t;
|
|
9463
9463
|
}
|
|
9464
|
-
function
|
|
9464
|
+
function Ks(o, t, e) {
|
|
9465
9465
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9466
9466
|
}
|
|
9467
9467
|
function $e(o) {
|
|
9468
9468
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9469
9469
|
}
|
|
9470
|
-
const
|
|
9471
|
-
function
|
|
9470
|
+
const Gs = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], zi = {}, Te = [];
|
|
9471
|
+
function rd(o, t) {
|
|
9472
9472
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9473
9473
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9474
9474
|
const s = i;
|
|
@@ -9479,13 +9479,13 @@ function sd(o, t) {
|
|
|
9479
9479
|
return e;
|
|
9480
9480
|
}
|
|
9481
9481
|
function ye(o) {
|
|
9482
|
-
const t =
|
|
9482
|
+
const t = Gs(
|
|
9483
9483
|
/** @type {?Event} */
|
|
9484
9484
|
o
|
|
9485
9485
|
);
|
|
9486
9486
|
return t.length > 0 ? t[0] : o.target;
|
|
9487
9487
|
}
|
|
9488
|
-
function
|
|
9488
|
+
function nd(o) {
|
|
9489
9489
|
const t = o.type, i = o.currentTarget[fi];
|
|
9490
9490
|
if (!i)
|
|
9491
9491
|
return;
|
|
@@ -9496,7 +9496,7 @@ function rd(o) {
|
|
|
9496
9496
|
const n = o.changedTouches[0];
|
|
9497
9497
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9498
9498
|
return;
|
|
9499
|
-
|
|
9499
|
+
qs || (t === "touchstart" || t === "touchmove") && ad(o);
|
|
9500
9500
|
}
|
|
9501
9501
|
const r = o[Yt];
|
|
9502
9502
|
if (!r.skip) {
|
|
@@ -9506,7 +9506,7 @@ function rd(o) {
|
|
|
9506
9506
|
a = Te[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9507
9507
|
}
|
|
9508
9508
|
}
|
|
9509
|
-
function
|
|
9509
|
+
function ad(o) {
|
|
9510
9510
|
const t = o.changedTouches[0], e = o.type;
|
|
9511
9511
|
if (e === "touchstart")
|
|
9512
9512
|
he.touch.x = t.clientX, he.touch.y = t.clientY, he.touch.scrollDecided = !1;
|
|
@@ -9514,29 +9514,29 @@ function nd(o) {
|
|
|
9514
9514
|
if (he.touch.scrollDecided)
|
|
9515
9515
|
return;
|
|
9516
9516
|
he.touch.scrollDecided = !0;
|
|
9517
|
-
const i =
|
|
9517
|
+
const i = sd(o);
|
|
9518
9518
|
let s = !1;
|
|
9519
9519
|
const r = Math.abs(he.touch.x - t.clientX), n = Math.abs(he.touch.y - t.clientY);
|
|
9520
9520
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Tt("track");
|
|
9521
9521
|
}
|
|
9522
9522
|
}
|
|
9523
9523
|
function re(o, t, e) {
|
|
9524
|
-
return zi[t] ? (
|
|
9524
|
+
return zi[t] ? (ld(o, t, e), !0) : !1;
|
|
9525
9525
|
}
|
|
9526
|
-
function
|
|
9526
|
+
function ld(o, t, e) {
|
|
9527
9527
|
const i = zi[t], s = i.deps, r = i.name;
|
|
9528
9528
|
let n = o[fi];
|
|
9529
9529
|
n || (o[fi] = n = {});
|
|
9530
9530
|
for (let a = 0, l, d; a < s.length; a++)
|
|
9531
|
-
l = s[a], !(
|
|
9532
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9531
|
+
l = s[a], !(td && Fi(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && o.addEventListener(l, nd, ed(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9532
|
+
o.addEventListener(t, e), i.touchAction && Js(o, i.touchAction);
|
|
9533
9533
|
}
|
|
9534
9534
|
function Li(o) {
|
|
9535
9535
|
Te.push(o), o.emits.forEach((t) => {
|
|
9536
9536
|
zi[t] = o;
|
|
9537
9537
|
});
|
|
9538
9538
|
}
|
|
9539
|
-
function
|
|
9539
|
+
function dd(o) {
|
|
9540
9540
|
for (let t = 0, e; t < Te.length; t++) {
|
|
9541
9541
|
e = Te[t];
|
|
9542
9542
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9545,14 +9545,14 @@ function ld(o) {
|
|
|
9545
9545
|
}
|
|
9546
9546
|
return null;
|
|
9547
9547
|
}
|
|
9548
|
-
function
|
|
9549
|
-
|
|
9548
|
+
function Js(o, t) {
|
|
9549
|
+
qs && o instanceof HTMLElement && Vl.run(() => {
|
|
9550
9550
|
o.style.touchAction = t;
|
|
9551
9551
|
}), o[mi] = t;
|
|
9552
9552
|
}
|
|
9553
9553
|
function $i(o, t, e) {
|
|
9554
9554
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9555
|
-
if (i.detail = e,
|
|
9555
|
+
if (i.detail = e, Kl(
|
|
9556
9556
|
/** @type {!Node} */
|
|
9557
9557
|
o
|
|
9558
9558
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9561,7 +9561,7 @@ function $i(o, t, e) {
|
|
|
9561
9561
|
}
|
|
9562
9562
|
}
|
|
9563
9563
|
function Tt(o) {
|
|
9564
|
-
const t =
|
|
9564
|
+
const t = dd(o);
|
|
9565
9565
|
t.info && (t.info.prevent = !0);
|
|
9566
9566
|
}
|
|
9567
9567
|
Li({
|
|
@@ -9596,7 +9596,7 @@ Li({
|
|
|
9596
9596
|
}, s = (r) => {
|
|
9597
9597
|
Ee(r) && Ge("up", t, r), $e(e.info);
|
|
9598
9598
|
};
|
|
9599
|
-
|
|
9599
|
+
Ks(this.info, i, s), Ge("down", t, o);
|
|
9600
9600
|
},
|
|
9601
9601
|
/**
|
|
9602
9602
|
* @this {GestureRecognizer}
|
|
@@ -9643,7 +9643,7 @@ Li({
|
|
|
9643
9643
|
moves: [],
|
|
9644
9644
|
/** @this {GestureInfo} */
|
|
9645
9645
|
addMove(o) {
|
|
9646
|
-
this.moves.length >
|
|
9646
|
+
this.moves.length > Gl && this.moves.shift(), this.moves.push(o);
|
|
9647
9647
|
},
|
|
9648
9648
|
movefn: null,
|
|
9649
9649
|
upfn: null,
|
|
@@ -9666,11 +9666,11 @@ Li({
|
|
|
9666
9666
|
return;
|
|
9667
9667
|
const t = ye(o), e = this, i = (r) => {
|
|
9668
9668
|
const n = r.clientX, a = r.clientY;
|
|
9669
|
-
|
|
9669
|
+
Io(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Tt("tap"), e.info.addMove({ x: n, y: a }), Ee(r) || (e.info.state = "end", $e(e.info)), t && Wt(e.info, t, r), e.info.started = !0);
|
|
9670
9670
|
}, s = (r) => {
|
|
9671
9671
|
e.info.started && i(r), $e(e.info);
|
|
9672
9672
|
};
|
|
9673
|
-
|
|
9673
|
+
Ks(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9674
9674
|
},
|
|
9675
9675
|
/**
|
|
9676
9676
|
* @this {GestureRecognizer}
|
|
@@ -9688,7 +9688,7 @@ Li({
|
|
|
9688
9688
|
*/
|
|
9689
9689
|
touchmove(o) {
|
|
9690
9690
|
const t = ye(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9691
|
-
|
|
9691
|
+
Io(this.info, i, s) && (this.info.state === "start" && Tt("tap"), this.info.addMove({ x: i, y: s }), Wt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9692
9692
|
},
|
|
9693
9693
|
/**
|
|
9694
9694
|
* @this {GestureRecognizer}
|
|
@@ -9700,13 +9700,13 @@ Li({
|
|
|
9700
9700
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Wt(this.info, t, e));
|
|
9701
9701
|
}
|
|
9702
9702
|
});
|
|
9703
|
-
function
|
|
9703
|
+
function Io(o, t, e) {
|
|
9704
9704
|
if (o.prevent)
|
|
9705
9705
|
return !1;
|
|
9706
9706
|
if (o.started)
|
|
9707
9707
|
return !0;
|
|
9708
9708
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9709
|
-
return i >=
|
|
9709
|
+
return i >= Mo || s >= Mo;
|
|
9710
9710
|
}
|
|
9711
9711
|
function Wt(o, t, e) {
|
|
9712
9712
|
if (!t)
|
|
@@ -9723,7 +9723,7 @@ function Wt(o, t, e) {
|
|
|
9723
9723
|
ddy: l,
|
|
9724
9724
|
sourceEvent: e,
|
|
9725
9725
|
hover() {
|
|
9726
|
-
return
|
|
9726
|
+
return rd(e.clientX, e.clientY);
|
|
9727
9727
|
}
|
|
9728
9728
|
});
|
|
9729
9729
|
}
|
|
@@ -9761,7 +9761,7 @@ Li({
|
|
|
9761
9761
|
* @return {void}
|
|
9762
9762
|
*/
|
|
9763
9763
|
click(o) {
|
|
9764
|
-
Ee(o) &&
|
|
9764
|
+
Ee(o) && No(this.info, o);
|
|
9765
9765
|
},
|
|
9766
9766
|
/**
|
|
9767
9767
|
* @this {GestureRecognizer}
|
|
@@ -9778,15 +9778,15 @@ Li({
|
|
|
9778
9778
|
* @return {void}
|
|
9779
9779
|
*/
|
|
9780
9780
|
touchend(o) {
|
|
9781
|
-
|
|
9781
|
+
No(this.info, o.changedTouches[0], o);
|
|
9782
9782
|
}
|
|
9783
9783
|
});
|
|
9784
|
-
function
|
|
9784
|
+
function No(o, t, e) {
|
|
9785
9785
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = ye(e || t);
|
|
9786
|
-
!r ||
|
|
9786
|
+
!r || id[
|
|
9787
9787
|
/** @type {!HTMLElement} */
|
|
9788
9788
|
r.localName
|
|
9789
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9789
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Oo && s <= Oo || od(t)) && (o.prevent || $i(r, "tap", {
|
|
9790
9790
|
x: t.clientX,
|
|
9791
9791
|
y: t.clientY,
|
|
9792
9792
|
sourceEvent: t,
|
|
@@ -9798,7 +9798,7 @@ function Io(o, t, e) {
|
|
|
9798
9798
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9799
9799
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9800
9800
|
*/
|
|
9801
|
-
const
|
|
9801
|
+
const Xs = j(
|
|
9802
9802
|
(o) => class extends o {
|
|
9803
9803
|
static get properties() {
|
|
9804
9804
|
return {
|
|
@@ -9905,7 +9905,7 @@ const It = j(
|
|
|
9905
9905
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9906
9906
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9907
9907
|
*/
|
|
9908
|
-
const
|
|
9908
|
+
const ud = (o) => class extends Xs(It(o)) {
|
|
9909
9909
|
/**
|
|
9910
9910
|
* An array of activation keys.
|
|
9911
9911
|
*
|
|
@@ -10025,7 +10025,7 @@ const Ri = j(
|
|
|
10025
10025
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10026
10026
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10027
10027
|
*/
|
|
10028
|
-
const
|
|
10028
|
+
const Zs = (o) => class extends Xs(o) {
|
|
10029
10029
|
static get properties() {
|
|
10030
10030
|
return {
|
|
10031
10031
|
/**
|
|
@@ -10076,7 +10076,7 @@ const Xs = (o) => class extends Js(o) {
|
|
|
10076
10076
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10077
10077
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10078
10078
|
*/
|
|
10079
|
-
const
|
|
10079
|
+
const cd = (o) => class extends ud(Zs(Ri(o))) {
|
|
10080
10080
|
static get properties() {
|
|
10081
10081
|
return {
|
|
10082
10082
|
/**
|
|
@@ -10131,26 +10131,26 @@ const ud = (o) => class extends dd(Xs(Ri(o))) {
|
|
|
10131
10131
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10132
10132
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10133
10133
|
*/
|
|
10134
|
-
V("vaadin-button",
|
|
10135
|
-
class
|
|
10134
|
+
V("vaadin-button", Wl, { moduleId: "vaadin-button-styles" });
|
|
10135
|
+
class hd extends cd(js(Se(Ye(ve)))) {
|
|
10136
10136
|
static get is() {
|
|
10137
10137
|
return "vaadin-button";
|
|
10138
10138
|
}
|
|
10139
10139
|
static get template() {
|
|
10140
|
-
return
|
|
10140
|
+
return ql(Oe);
|
|
10141
10141
|
}
|
|
10142
10142
|
/** @protected */
|
|
10143
10143
|
ready() {
|
|
10144
|
-
super.ready(), this._tooltipController = new
|
|
10144
|
+
super.ready(), this._tooltipController = new Ws(this), this.addController(this._tooltipController);
|
|
10145
10145
|
}
|
|
10146
10146
|
}
|
|
10147
|
-
le(
|
|
10147
|
+
le(hd);
|
|
10148
10148
|
/**
|
|
10149
10149
|
* @license
|
|
10150
10150
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10151
10151
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10152
10152
|
*/
|
|
10153
|
-
function
|
|
10153
|
+
function pd(o) {
|
|
10154
10154
|
let t = o.getDay();
|
|
10155
10155
|
t === 0 && (t = 7);
|
|
10156
10156
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10180,7 +10180,7 @@ function Ue(o, t, e, i) {
|
|
|
10180
10180
|
}
|
|
10181
10181
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10182
10182
|
}
|
|
10183
|
-
function
|
|
10183
|
+
function Qs(o, t) {
|
|
10184
10184
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10185
10185
|
if (!i)
|
|
10186
10186
|
return e;
|
|
@@ -10190,11 +10190,11 @@ function Zs(o, t) {
|
|
|
10190
10190
|
return s < r ? i : e;
|
|
10191
10191
|
});
|
|
10192
10192
|
}
|
|
10193
|
-
function
|
|
10193
|
+
function er(o) {
|
|
10194
10194
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10195
10195
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10196
10196
|
}
|
|
10197
|
-
function
|
|
10197
|
+
function fd(o, t, e = 0, i = 1) {
|
|
10198
10198
|
if (t > 99)
|
|
10199
10199
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10200
10200
|
if (t < 0)
|
|
@@ -10209,15 +10209,15 @@ function Je(o) {
|
|
|
10209
10209
|
const e = new Date(0, 0);
|
|
10210
10210
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10211
10211
|
}
|
|
10212
|
-
function
|
|
10212
|
+
function md(o) {
|
|
10213
10213
|
const t = (l, d = "00") => (d + l).substr((d + l).length - d.length);
|
|
10214
10214
|
let e = "", i = "0000", s = o.year;
|
|
10215
10215
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10216
10216
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10217
10217
|
return [r, n, a].join("-");
|
|
10218
10218
|
}
|
|
10219
|
-
function
|
|
10220
|
-
return o instanceof Date ?
|
|
10219
|
+
function _d(o) {
|
|
10220
|
+
return o instanceof Date ? md({
|
|
10221
10221
|
year: o.getFullYear(),
|
|
10222
10222
|
month: o.getMonth(),
|
|
10223
10223
|
day: o.getDate()
|
|
@@ -10324,9 +10324,9 @@ class Et {
|
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
10326
|
let dt = /* @__PURE__ */ new Set();
|
|
10327
|
-
const
|
|
10327
|
+
const gd = function(o) {
|
|
10328
10328
|
dt.add(o);
|
|
10329
|
-
},
|
|
10329
|
+
}, yd = function() {
|
|
10330
10330
|
const o = !!dt.size;
|
|
10331
10331
|
return dt.forEach((t) => {
|
|
10332
10332
|
try {
|
|
@@ -10350,7 +10350,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10350
10350
|
const Bi = function() {
|
|
10351
10351
|
let o, t;
|
|
10352
10352
|
do
|
|
10353
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10353
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = yd();
|
|
10354
10354
|
while (o || t);
|
|
10355
10355
|
};
|
|
10356
10356
|
/**
|
|
@@ -10358,8 +10358,8 @@ const Bi = function() {
|
|
|
10358
10358
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10359
10359
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10360
10360
|
*/
|
|
10361
|
-
const
|
|
10362
|
-
|
|
10361
|
+
const tr = document.createElement("template");
|
|
10362
|
+
tr.innerHTML = `
|
|
10363
10363
|
<style>
|
|
10364
10364
|
:host {
|
|
10365
10365
|
display: block;
|
|
@@ -10410,9 +10410,9 @@ er.innerHTML = `
|
|
|
10410
10410
|
<div id="fullHeight"></div>
|
|
10411
10411
|
</div>
|
|
10412
10412
|
`;
|
|
10413
|
-
class
|
|
10413
|
+
class ir extends HTMLElement {
|
|
10414
10414
|
constructor() {
|
|
10415
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10415
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(tr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10416
10416
|
}
|
|
10417
10417
|
/**
|
|
10418
10418
|
* @return {boolean}
|
|
@@ -10528,7 +10528,7 @@ class tr extends HTMLElement {
|
|
|
10528
10528
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10529
10529
|
const s = document.createElement("div");
|
|
10530
10530
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10531
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10531
|
+
const r = `vaadin-infinite-scroller-item-content-${Ys()}`, n = document.createElement("slot");
|
|
10532
10532
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10533
10533
|
}
|
|
10534
10534
|
}), requestAnimationFrame(() => {
|
|
@@ -10569,8 +10569,8 @@ class tr extends HTMLElement {
|
|
|
10569
10569
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10570
10570
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10571
10571
|
*/
|
|
10572
|
-
const
|
|
10573
|
-
|
|
10572
|
+
const or = document.createElement("template");
|
|
10573
|
+
or.innerHTML = `
|
|
10574
10574
|
<style>
|
|
10575
10575
|
:host {
|
|
10576
10576
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10583,12 +10583,12 @@ ir.innerHTML = `
|
|
|
10583
10583
|
}
|
|
10584
10584
|
</style>
|
|
10585
10585
|
`;
|
|
10586
|
-
class
|
|
10586
|
+
class vd extends ir {
|
|
10587
10587
|
static get is() {
|
|
10588
10588
|
return "vaadin-date-picker-month-scroller";
|
|
10589
10589
|
}
|
|
10590
10590
|
constructor() {
|
|
10591
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10591
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(or.content.cloneNode(!0));
|
|
10592
10592
|
}
|
|
10593
10593
|
/**
|
|
10594
10594
|
* @protected
|
|
@@ -10604,17 +10604,17 @@ class yd extends tr {
|
|
|
10604
10604
|
* @override
|
|
10605
10605
|
*/
|
|
10606
10606
|
_updateElement(t, e) {
|
|
10607
|
-
t.month =
|
|
10607
|
+
t.month = er(e);
|
|
10608
10608
|
}
|
|
10609
10609
|
}
|
|
10610
|
-
le(
|
|
10610
|
+
le(vd);
|
|
10611
10611
|
/**
|
|
10612
10612
|
* @license
|
|
10613
10613
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10614
10614
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10615
10615
|
*/
|
|
10616
|
-
const
|
|
10617
|
-
|
|
10616
|
+
const sr = document.createElement("template");
|
|
10617
|
+
sr.innerHTML = `
|
|
10618
10618
|
<style>
|
|
10619
10619
|
:host {
|
|
10620
10620
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10649,12 +10649,12 @@ or.innerHTML = `
|
|
|
10649
10649
|
}
|
|
10650
10650
|
</style>
|
|
10651
10651
|
`;
|
|
10652
|
-
class
|
|
10652
|
+
class bd extends ir {
|
|
10653
10653
|
static get is() {
|
|
10654
10654
|
return "vaadin-date-picker-year-scroller";
|
|
10655
10655
|
}
|
|
10656
10656
|
constructor() {
|
|
10657
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10657
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(sr.content.cloneNode(!0));
|
|
10658
10658
|
}
|
|
10659
10659
|
/**
|
|
10660
10660
|
* @protected
|
|
@@ -10678,13 +10678,13 @@ class vd extends tr {
|
|
|
10678
10678
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10679
10679
|
}
|
|
10680
10680
|
}
|
|
10681
|
-
le(
|
|
10681
|
+
le(bd);
|
|
10682
10682
|
/**
|
|
10683
10683
|
* @license
|
|
10684
10684
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10685
10685
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10686
10686
|
*/
|
|
10687
|
-
const
|
|
10687
|
+
const wd = (o) => class extends o {
|
|
10688
10688
|
static get properties() {
|
|
10689
10689
|
return {
|
|
10690
10690
|
year: {
|
|
@@ -10710,7 +10710,7 @@ const bd = (o) => class extends o {
|
|
|
10710
10710
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10711
10711
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10712
10712
|
*/
|
|
10713
|
-
class
|
|
10713
|
+
class xd extends Se(wd(ve)) {
|
|
10714
10714
|
static get is() {
|
|
10715
10715
|
return "vaadin-date-picker-year";
|
|
10716
10716
|
}
|
|
@@ -10727,7 +10727,7 @@ class wd extends Se(bd(ve)) {
|
|
|
10727
10727
|
`;
|
|
10728
10728
|
}
|
|
10729
10729
|
}
|
|
10730
|
-
le(
|
|
10730
|
+
le(xd);
|
|
10731
10731
|
/**
|
|
10732
10732
|
@license
|
|
10733
10733
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10767,7 +10767,7 @@ const Ui = j((o) => {
|
|
|
10767
10767
|
}
|
|
10768
10768
|
}
|
|
10769
10769
|
return t;
|
|
10770
|
-
}),
|
|
10770
|
+
}), Cd = j((o) => {
|
|
10771
10771
|
class t extends o {
|
|
10772
10772
|
/** @nocollapse */
|
|
10773
10773
|
static get properties() {
|
|
@@ -10824,13 +10824,13 @@ yi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10824
10824
|
writable: !0
|
|
10825
10825
|
}
|
|
10826
10826
|
});
|
|
10827
|
-
const
|
|
10828
|
-
function
|
|
10827
|
+
const rr = Oi(yi), Ad = Ui(rr);
|
|
10828
|
+
function Td(o, t) {
|
|
10829
10829
|
gi = o, Object.setPrototypeOf(o, t.prototype), new t(), gi = null;
|
|
10830
10830
|
}
|
|
10831
|
-
const
|
|
10831
|
+
const Ed = Oi(class {
|
|
10832
10832
|
});
|
|
10833
|
-
function
|
|
10833
|
+
function Dd(o, t) {
|
|
10834
10834
|
for (let e = 0; e < t.length; e++) {
|
|
10835
10835
|
let i = t[e];
|
|
10836
10836
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10848,7 +10848,7 @@ function Ed(o, t) {
|
|
|
10848
10848
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10849
10849
|
}
|
|
10850
10850
|
}
|
|
10851
|
-
class be extends
|
|
10851
|
+
class be extends Ed {
|
|
10852
10852
|
constructor(t) {
|
|
10853
10853
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10854
10854
|
let e = [];
|
|
@@ -10917,7 +10917,7 @@ class be extends Td {
|
|
|
10917
10917
|
* @protected
|
|
10918
10918
|
*/
|
|
10919
10919
|
_showHideChildren(t) {
|
|
10920
|
-
|
|
10920
|
+
Dd(t, this.children);
|
|
10921
10921
|
}
|
|
10922
10922
|
/**
|
|
10923
10923
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10970,31 +10970,31 @@ be.prototype.__templatizeOptions;
|
|
|
10970
10970
|
be.prototype._methodHost;
|
|
10971
10971
|
be.prototype.__templatizeOwner;
|
|
10972
10972
|
be.prototype.__hostProps;
|
|
10973
|
-
const
|
|
10973
|
+
const kd = Ui(
|
|
10974
10974
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10975
10975
|
// TemplateInstanceBase is a constructor function.
|
|
10976
10976
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10977
10977
|
be
|
|
10978
10978
|
);
|
|
10979
|
-
function
|
|
10979
|
+
function Fo(o) {
|
|
10980
10980
|
let t = o.__dataHost;
|
|
10981
10981
|
return t && t._methodHost || t;
|
|
10982
10982
|
}
|
|
10983
|
-
function
|
|
10984
|
-
let i = e.mutableData ?
|
|
10983
|
+
function Sd(o, t, e) {
|
|
10984
|
+
let i = e.mutableData ? kd : be;
|
|
10985
10985
|
vi.mixin && (i = vi.mixin(i));
|
|
10986
10986
|
let s = class extends i {
|
|
10987
10987
|
};
|
|
10988
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10988
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Md(s, o, t, e), s;
|
|
10989
10989
|
}
|
|
10990
|
-
function
|
|
10990
|
+
function Pd(o, t, e, i) {
|
|
10991
10991
|
let s = e.forwardHostProp;
|
|
10992
10992
|
if (s && t.hasHostProps) {
|
|
10993
10993
|
const r = o.localName == "template";
|
|
10994
10994
|
let n = t.templatizeTemplateClass;
|
|
10995
10995
|
if (!n) {
|
|
10996
10996
|
if (r) {
|
|
10997
|
-
let l = e.mutableData ?
|
|
10997
|
+
let l = e.mutableData ? Ad : rr;
|
|
10998
10998
|
class d extends l {
|
|
10999
10999
|
}
|
|
11000
11000
|
n = t.templatizeTemplateClass = d;
|
|
@@ -11009,12 +11009,12 @@ function Sd(o, t, e, i) {
|
|
|
11009
11009
|
n.prototype._addPropertyEffect(
|
|
11010
11010
|
"_host_" + l,
|
|
11011
11011
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11012
|
-
{ fn:
|
|
11012
|
+
{ fn: Od(l, s) }
|
|
11013
11013
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11014
|
-
|
|
11014
|
+
us && i && Fd(t, e, i);
|
|
11015
11015
|
}
|
|
11016
11016
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11017
|
-
|
|
11017
|
+
Td(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11018
11018
|
else {
|
|
11019
11019
|
Object.setPrototypeOf(o, n.prototype);
|
|
11020
11020
|
const a = t.hostProps;
|
|
@@ -11026,7 +11026,7 @@ function Sd(o, t, e, i) {
|
|
|
11026
11026
|
}
|
|
11027
11027
|
}
|
|
11028
11028
|
}
|
|
11029
|
-
function
|
|
11029
|
+
function Od(o, t) {
|
|
11030
11030
|
return function(i, s, r) {
|
|
11031
11031
|
t.call(
|
|
11032
11032
|
i.__templatizeOwner,
|
|
@@ -11035,7 +11035,7 @@ function Pd(o, t) {
|
|
|
11035
11035
|
);
|
|
11036
11036
|
};
|
|
11037
11037
|
}
|
|
11038
|
-
function
|
|
11038
|
+
function Md(o, t, e, i) {
|
|
11039
11039
|
let s = e.hostProps || {};
|
|
11040
11040
|
for (let r in i.instanceProps) {
|
|
11041
11041
|
delete s[r];
|
|
@@ -11043,7 +11043,7 @@ function Od(o, t, e, i) {
|
|
|
11043
11043
|
n && o.prototype._addPropertyEffect(
|
|
11044
11044
|
r,
|
|
11045
11045
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11046
|
-
{ fn:
|
|
11046
|
+
{ fn: Id(r, n) }
|
|
11047
11047
|
);
|
|
11048
11048
|
}
|
|
11049
11049
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11051,10 +11051,10 @@ function Od(o, t, e, i) {
|
|
|
11051
11051
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11052
11052
|
r,
|
|
11053
11053
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11054
|
-
{ fn:
|
|
11054
|
+
{ fn: Nd() }
|
|
11055
11055
|
);
|
|
11056
11056
|
}
|
|
11057
|
-
function
|
|
11057
|
+
function Id(o, t) {
|
|
11058
11058
|
return function(i, s, r) {
|
|
11059
11059
|
t.call(
|
|
11060
11060
|
i.__templatizeOwner,
|
|
@@ -11064,22 +11064,22 @@ function Md(o, t) {
|
|
|
11064
11064
|
);
|
|
11065
11065
|
};
|
|
11066
11066
|
}
|
|
11067
|
-
function
|
|
11067
|
+
function Nd() {
|
|
11068
11068
|
return function(t, e, i) {
|
|
11069
11069
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11070
11070
|
};
|
|
11071
11071
|
}
|
|
11072
11072
|
function vi(o, t, e) {
|
|
11073
|
-
if (xt && !
|
|
11073
|
+
if (xt && !Fo(o))
|
|
11074
11074
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11075
11075
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11076
11076
|
e || {}, o.__templatizeOwner)
|
|
11077
11077
|
throw new Error("A <template> can only be templatized once");
|
|
11078
11078
|
o.__templatizeOwner = t;
|
|
11079
11079
|
let s = (t ? t.constructor : be)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11080
|
-
r || (r =
|
|
11081
|
-
const n =
|
|
11082
|
-
|
|
11080
|
+
r || (r = Sd(o, s, e), s.templatizeInstanceClass = r);
|
|
11081
|
+
const n = Fo(o);
|
|
11082
|
+
Pd(o, s, e, n);
|
|
11083
11083
|
let a = class extends r {
|
|
11084
11084
|
};
|
|
11085
11085
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11087,7 +11087,7 @@ function vi(o, t, e) {
|
|
|
11087
11087
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11088
11088
|
a, a;
|
|
11089
11089
|
}
|
|
11090
|
-
function
|
|
11090
|
+
function Fd(o, t, e) {
|
|
11091
11091
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11092
11092
|
for (let n in s)
|
|
11093
11093
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11101,7 +11101,7 @@ function Nd(o, t, e) {
|
|
|
11101
11101
|
}
|
|
11102
11102
|
}
|
|
11103
11103
|
}
|
|
11104
|
-
function
|
|
11104
|
+
function zd(o, t) {
|
|
11105
11105
|
let e;
|
|
11106
11106
|
for (; t; )
|
|
11107
11107
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11122,11 +11122,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11122
11122
|
Code distributed by Google as part of the polymer project is also
|
|
11123
11123
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11124
11124
|
*/
|
|
11125
|
-
let
|
|
11126
|
-
function
|
|
11127
|
-
if (
|
|
11128
|
-
if (!
|
|
11129
|
-
|
|
11125
|
+
let zo = !1;
|
|
11126
|
+
function Ld() {
|
|
11127
|
+
if (ds && !ls) {
|
|
11128
|
+
if (!zo) {
|
|
11129
|
+
zo = !0;
|
|
11130
11130
|
const o = document.createElement("style");
|
|
11131
11131
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11132
11132
|
}
|
|
@@ -11143,8 +11143,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11143
11143
|
Code distributed by Google as part of the polymer project is also
|
|
11144
11144
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11145
11145
|
*/
|
|
11146
|
-
const
|
|
11147
|
-
class
|
|
11146
|
+
const $d = Cd(ve);
|
|
11147
|
+
class Lo extends $d {
|
|
11148
11148
|
// Not needed to find template; can be removed once the analyzer
|
|
11149
11149
|
// can find the tag name from customElements.define call
|
|
11150
11150
|
static get is() {
|
|
@@ -11239,7 +11239,7 @@ class zo extends Ld {
|
|
|
11239
11239
|
*/
|
|
11240
11240
|
renderedItemCount: {
|
|
11241
11241
|
type: Number,
|
|
11242
|
-
notify: !
|
|
11242
|
+
notify: !lo,
|
|
11243
11243
|
readOnly: !0
|
|
11244
11244
|
},
|
|
11245
11245
|
/**
|
|
@@ -11322,7 +11322,7 @@ class zo extends Ld {
|
|
|
11322
11322
|
* @return {void}
|
|
11323
11323
|
*/
|
|
11324
11324
|
connectedCallback() {
|
|
11325
|
-
if (super.connectedCallback(),
|
|
11325
|
+
if (super.connectedCallback(), Ld() || (this.style.display = "none"), this.__isDetached) {
|
|
11326
11326
|
this.__isDetached = !1;
|
|
11327
11327
|
let t = J(J(this).parentNode);
|
|
11328
11328
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11372,7 +11372,7 @@ class zo extends Ld {
|
|
|
11372
11372
|
* @param {*} value Value to notify
|
|
11373
11373
|
*/
|
|
11374
11374
|
notifyInstanceProp: function(s, r, n) {
|
|
11375
|
-
if (
|
|
11375
|
+
if (Vn(this.as, r)) {
|
|
11376
11376
|
let a = s[this.itemsIndexAs];
|
|
11377
11377
|
r == this.as && (this.items[a] = n);
|
|
11378
11378
|
let l = nt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11428,9 +11428,9 @@ class zo extends Ld {
|
|
|
11428
11428
|
__debounceRender(t, e = 0) {
|
|
11429
11429
|
this.__renderDebouncer = Et.debounce(
|
|
11430
11430
|
this.__renderDebouncer,
|
|
11431
|
-
e > 0 ?
|
|
11431
|
+
e > 0 ? Kn.after(e) : bs,
|
|
11432
11432
|
t.bind(this)
|
|
11433
|
-
),
|
|
11433
|
+
), gd(this.__renderDebouncer);
|
|
11434
11434
|
}
|
|
11435
11435
|
/**
|
|
11436
11436
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11450,7 +11450,7 @@ class zo extends Ld {
|
|
|
11450
11450
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11451
11451
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11452
11452
|
this.__chunkingId = null, this.__continueChunking();
|
|
11453
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11453
|
+
})), this._setRenderedItemCount(this.__instances.length), (!lo || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11454
11454
|
bubbles: !0,
|
|
11455
11455
|
composed: !0
|
|
11456
11456
|
}));
|
|
@@ -11590,16 +11590,16 @@ class zo extends Ld {
|
|
|
11590
11590
|
* the element.
|
|
11591
11591
|
*/
|
|
11592
11592
|
modelForElement(t) {
|
|
11593
|
-
return
|
|
11593
|
+
return zd(this.template, t);
|
|
11594
11594
|
}
|
|
11595
11595
|
}
|
|
11596
|
-
customElements.define(
|
|
11596
|
+
customElements.define(Lo.is, Lo);
|
|
11597
11597
|
/**
|
|
11598
11598
|
* @license
|
|
11599
11599
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11600
11600
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11601
11601
|
*/
|
|
11602
|
-
const
|
|
11602
|
+
const Rd = (o) => class extends Ri(o) {
|
|
11603
11603
|
static get properties() {
|
|
11604
11604
|
return {
|
|
11605
11605
|
/**
|
|
@@ -11782,7 +11782,7 @@ const $d = (o) => class extends Ri(o) {
|
|
|
11782
11782
|
/** @protected */
|
|
11783
11783
|
__getWeekNumber(e) {
|
|
11784
11784
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11785
|
-
return
|
|
11785
|
+
return pd(i);
|
|
11786
11786
|
}
|
|
11787
11787
|
/** @protected */
|
|
11788
11788
|
__getDayAriaLabel(e) {
|
|
@@ -11797,7 +11797,7 @@ const $d = (o) => class extends Ri(o) {
|
|
|
11797
11797
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11798
11798
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11799
11799
|
*/
|
|
11800
|
-
const
|
|
11800
|
+
const Hd = k`
|
|
11801
11801
|
:host {
|
|
11802
11802
|
display: block;
|
|
11803
11803
|
}
|
|
@@ -11859,10 +11859,10 @@ const Rd = k`
|
|
|
11859
11859
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11860
11860
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11861
11861
|
*/
|
|
11862
|
-
V("vaadin-month-calendar",
|
|
11862
|
+
V("vaadin-month-calendar", Hd, {
|
|
11863
11863
|
moduleId: "vaadin-month-calendar-styles"
|
|
11864
11864
|
});
|
|
11865
|
-
class
|
|
11865
|
+
class Bd extends Rd(Se(ve)) {
|
|
11866
11866
|
static get template() {
|
|
11867
11867
|
return Oe`
|
|
11868
11868
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11970,13 +11970,13 @@ class Hd extends $d(Se(ve)) {
|
|
|
11970
11970
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11971
11971
|
}
|
|
11972
11972
|
}
|
|
11973
|
-
le(
|
|
11973
|
+
le(Bd);
|
|
11974
11974
|
/**
|
|
11975
11975
|
* @license
|
|
11976
11976
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11977
11977
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11978
11978
|
*/
|
|
11979
|
-
class
|
|
11979
|
+
class nr {
|
|
11980
11980
|
constructor(t, e) {
|
|
11981
11981
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11982
11982
|
}
|
|
@@ -12004,7 +12004,7 @@ class rr {
|
|
|
12004
12004
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12005
12005
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12006
12006
|
*/
|
|
12007
|
-
const
|
|
12007
|
+
const Vd = (o) => class extends o {
|
|
12008
12008
|
static get properties() {
|
|
12009
12009
|
return {
|
|
12010
12010
|
scrollDuration: {
|
|
@@ -12132,7 +12132,7 @@ const Bd = (o) => class extends o {
|
|
|
12132
12132
|
}
|
|
12133
12133
|
/** @protected */
|
|
12134
12134
|
_addListeners() {
|
|
12135
|
-
|
|
12135
|
+
Js(this.$.scrollers, "pan-y"), re(this.$.scrollers, "track", this._track.bind(this)), re(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), re(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), re(
|
|
12136
12136
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12137
12137
|
"tap",
|
|
12138
12138
|
this._toggleYearScroller.bind(this)
|
|
@@ -12141,7 +12141,7 @@ const Bd = (o) => class extends o {
|
|
|
12141
12141
|
/** @protected */
|
|
12142
12142
|
_initControllers() {
|
|
12143
12143
|
this.addController(
|
|
12144
|
-
new
|
|
12144
|
+
new nr(this._desktopMediaQuery, (e) => {
|
|
12145
12145
|
this._desktopMode = e;
|
|
12146
12146
|
})
|
|
12147
12147
|
), this.addController(
|
|
@@ -12450,7 +12450,7 @@ const Bd = (o) => class extends o {
|
|
|
12450
12450
|
}
|
|
12451
12451
|
/** @private */
|
|
12452
12452
|
_yearAfterXMonths(e) {
|
|
12453
|
-
return
|
|
12453
|
+
return er(e).getFullYear();
|
|
12454
12454
|
}
|
|
12455
12455
|
/** @private */
|
|
12456
12456
|
_differenceInMonths(e, i) {
|
|
@@ -12555,14 +12555,14 @@ const Bd = (o) => class extends o {
|
|
|
12555
12555
|
}
|
|
12556
12556
|
async focusDateElement(e = !0) {
|
|
12557
12557
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12558
|
-
|
|
12558
|
+
Ls(this, () => {
|
|
12559
12559
|
Bi(), i();
|
|
12560
12560
|
});
|
|
12561
12561
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12562
12562
|
}
|
|
12563
12563
|
/** @private */
|
|
12564
12564
|
_focusClosestDate(e) {
|
|
12565
|
-
this.focusDate(
|
|
12565
|
+
this.focusDate(Qs(e, [this.minDate, this.maxDate]));
|
|
12566
12566
|
}
|
|
12567
12567
|
/** @private */
|
|
12568
12568
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12613,7 +12613,7 @@ const Bd = (o) => class extends o {
|
|
|
12613
12613
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12614
12614
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12615
12615
|
*/
|
|
12616
|
-
const
|
|
12616
|
+
const Ud = k`
|
|
12617
12617
|
:host {
|
|
12618
12618
|
display: flex;
|
|
12619
12619
|
flex-direction: column;
|
|
@@ -12679,10 +12679,10 @@ const Vd = k`
|
|
|
12679
12679
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12680
12680
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12681
12681
|
*/
|
|
12682
|
-
V("vaadin-date-picker-overlay-content",
|
|
12682
|
+
V("vaadin-date-picker-overlay-content", Ud, {
|
|
12683
12683
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12684
12684
|
});
|
|
12685
|
-
class
|
|
12685
|
+
class jd extends Vd(
|
|
12686
12686
|
Ye(Se(Pt(ve)))
|
|
12687
12687
|
) {
|
|
12688
12688
|
static get template() {
|
|
@@ -12716,14 +12716,14 @@ class Ud extends Bd(
|
|
|
12716
12716
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12717
12717
|
}
|
|
12718
12718
|
}
|
|
12719
|
-
le(
|
|
12719
|
+
le(jd);
|
|
12720
12720
|
/**
|
|
12721
12721
|
* @license
|
|
12722
12722
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12723
12723
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12724
12724
|
*/
|
|
12725
|
-
const
|
|
12726
|
-
(o) => class extends Ri(
|
|
12725
|
+
const ar = j(
|
|
12726
|
+
(o) => class extends Ri(Zs(o)) {
|
|
12727
12727
|
static get properties() {
|
|
12728
12728
|
return {
|
|
12729
12729
|
/**
|
|
@@ -12880,14 +12880,14 @@ const nr = j(
|
|
|
12880
12880
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12881
12881
|
*/
|
|
12882
12882
|
const qt = /* @__PURE__ */ new WeakMap();
|
|
12883
|
-
function
|
|
12883
|
+
function Yd(o) {
|
|
12884
12884
|
return qt.has(o) || qt.set(o, /* @__PURE__ */ new Set()), qt.get(o);
|
|
12885
12885
|
}
|
|
12886
|
-
function
|
|
12886
|
+
function Wd(o, t) {
|
|
12887
12887
|
const e = document.createElement("style");
|
|
12888
12888
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12889
12889
|
}
|
|
12890
|
-
const
|
|
12890
|
+
const qd = j(
|
|
12891
12891
|
(o) => class extends o {
|
|
12892
12892
|
/**
|
|
12893
12893
|
* List of styles to insert into root.
|
|
@@ -12902,9 +12902,9 @@ const Wd = j(
|
|
|
12902
12902
|
}
|
|
12903
12903
|
/** @private */
|
|
12904
12904
|
__applySlotStyles() {
|
|
12905
|
-
const e = this.getRootNode(), i =
|
|
12905
|
+
const e = this.getRootNode(), i = Yd(e);
|
|
12906
12906
|
this.slotStyles.forEach((s) => {
|
|
12907
|
-
i.has(s) || (
|
|
12907
|
+
i.has(s) || (Wd(s, e), i.add(s));
|
|
12908
12908
|
});
|
|
12909
12909
|
}
|
|
12910
12910
|
}
|
|
@@ -12914,7 +12914,7 @@ const Wd = j(
|
|
|
12914
12914
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12915
12915
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12916
12916
|
*/
|
|
12917
|
-
const
|
|
12917
|
+
const lr = j(
|
|
12918
12918
|
(o) => class extends o {
|
|
12919
12919
|
static get properties() {
|
|
12920
12920
|
return {
|
|
@@ -13118,7 +13118,7 @@ const ar = j(
|
|
|
13118
13118
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13119
13119
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13120
13120
|
*/
|
|
13121
|
-
const
|
|
13121
|
+
const Kd = (o) => class extends lr(It(o)) {
|
|
13122
13122
|
static get properties() {
|
|
13123
13123
|
return {
|
|
13124
13124
|
/**
|
|
@@ -13163,7 +13163,7 @@ const qd = (o) => class extends ar(It(o)) {
|
|
|
13163
13163
|
* @protected
|
|
13164
13164
|
*/
|
|
13165
13165
|
_onClearButtonMouseDown(e) {
|
|
13166
|
-
e.preventDefault(),
|
|
13166
|
+
e.preventDefault(), pl || this.inputElement.focus();
|
|
13167
13167
|
}
|
|
13168
13168
|
/**
|
|
13169
13169
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13197,10 +13197,10 @@ const Kt = /* @__PURE__ */ new Map();
|
|
|
13197
13197
|
function ji(o) {
|
|
13198
13198
|
return Kt.has(o) || Kt.set(o, /* @__PURE__ */ new WeakMap()), Kt.get(o);
|
|
13199
13199
|
}
|
|
13200
|
-
function
|
|
13200
|
+
function dr(o, t) {
|
|
13201
13201
|
o && o.removeAttribute(t);
|
|
13202
13202
|
}
|
|
13203
|
-
function
|
|
13203
|
+
function ur(o, t) {
|
|
13204
13204
|
if (!o || !t)
|
|
13205
13205
|
return;
|
|
13206
13206
|
const e = ji(t);
|
|
@@ -13209,11 +13209,11 @@ function dr(o, t) {
|
|
|
13209
13209
|
const i = Ni(o.getAttribute(t));
|
|
13210
13210
|
e.set(o, new Set(i));
|
|
13211
13211
|
}
|
|
13212
|
-
function
|
|
13212
|
+
function Gd(o, t) {
|
|
13213
13213
|
if (!o || !t)
|
|
13214
13214
|
return;
|
|
13215
13215
|
const e = ji(t), i = e.get(o);
|
|
13216
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13216
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Bs(o, t, Mt(i)), e.delete(o);
|
|
13217
13217
|
}
|
|
13218
13218
|
function Gt(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13219
13219
|
if (!o || !t)
|
|
@@ -13223,19 +13223,19 @@ function Gt(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13223
13223
|
s && a.delete(s), i && a.add(i);
|
|
13224
13224
|
return;
|
|
13225
13225
|
}
|
|
13226
|
-
r && (a ? i || n.delete(o) :
|
|
13226
|
+
r && (a ? i || n.delete(o) : ur(o, t), dr(o, t)), Al(o, t, s);
|
|
13227
13227
|
const l = i || Mt(a);
|
|
13228
|
-
l &&
|
|
13228
|
+
l && Bs(o, t, l);
|
|
13229
13229
|
}
|
|
13230
|
-
function
|
|
13231
|
-
|
|
13230
|
+
function Jd(o, t) {
|
|
13231
|
+
ur(o, t), dr(o, t);
|
|
13232
13232
|
}
|
|
13233
13233
|
/**
|
|
13234
13234
|
* @license
|
|
13235
13235
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13236
13236
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13237
13237
|
*/
|
|
13238
|
-
class
|
|
13238
|
+
class Xd {
|
|
13239
13239
|
constructor(t) {
|
|
13240
13240
|
this.host = t, this.__required = !1;
|
|
13241
13241
|
}
|
|
@@ -13308,7 +13308,7 @@ class Jd {
|
|
|
13308
13308
|
* @private
|
|
13309
13309
|
* */
|
|
13310
13310
|
__setAriaLabelToAttribute(t) {
|
|
13311
|
-
this.__target && (t ? (
|
|
13311
|
+
this.__target && (t ? (Jd(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (Gd(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13312
13312
|
}
|
|
13313
13313
|
/**
|
|
13314
13314
|
* @param {string | null | undefined} labelId
|
|
@@ -13354,9 +13354,9 @@ oe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13354
13354
|
oe.setAttribute("aria-live", "polite");
|
|
13355
13355
|
document.body.appendChild(oe);
|
|
13356
13356
|
let mt;
|
|
13357
|
-
function
|
|
13357
|
+
function Zd(o, t = {}) {
|
|
13358
13358
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13359
|
-
e === "alert" ? (oe.removeAttribute("aria-live"), oe.removeAttribute("role"), mt = Ve.debounce(mt,
|
|
13359
|
+
e === "alert" ? (oe.removeAttribute("aria-live"), oe.removeAttribute("role"), mt = Ve.debounce(mt, Hl, () => {
|
|
13360
13360
|
oe.setAttribute("role", "alert");
|
|
13361
13361
|
})) : (mt && mt.cancel(), oe.removeAttribute("role"), oe.setAttribute("aria-live", e)), oe.textContent = "", setTimeout(() => {
|
|
13362
13362
|
oe.textContent = o;
|
|
@@ -13482,7 +13482,7 @@ class Yi extends Ae {
|
|
|
13482
13482
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13483
13483
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13484
13484
|
*/
|
|
13485
|
-
class
|
|
13485
|
+
class Qd extends Yi {
|
|
13486
13486
|
constructor(t) {
|
|
13487
13487
|
super(t, "error-message", "div");
|
|
13488
13488
|
}
|
|
@@ -13556,7 +13556,7 @@ class Zd extends Yi {
|
|
|
13556
13556
|
*/
|
|
13557
13557
|
updateDefaultNode(t) {
|
|
13558
13558
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13559
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13559
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && Zd(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13560
13560
|
}
|
|
13561
13561
|
}
|
|
13562
13562
|
/**
|
|
@@ -13564,7 +13564,7 @@ class Zd extends Yi {
|
|
|
13564
13564
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13565
13565
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13566
13566
|
*/
|
|
13567
|
-
class
|
|
13567
|
+
class eu extends Yi {
|
|
13568
13568
|
constructor(t) {
|
|
13569
13569
|
super(t, "helper", null);
|
|
13570
13570
|
}
|
|
@@ -13619,7 +13619,7 @@ class Qd extends Yi {
|
|
|
13619
13619
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13620
13620
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13621
13621
|
*/
|
|
13622
|
-
class
|
|
13622
|
+
class tu extends Yi {
|
|
13623
13623
|
constructor(t) {
|
|
13624
13624
|
super(t, "label", "label");
|
|
13625
13625
|
}
|
|
@@ -13672,7 +13672,7 @@ class eu extends Yi {
|
|
|
13672
13672
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13673
13673
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13674
13674
|
*/
|
|
13675
|
-
const
|
|
13675
|
+
const iu = j(
|
|
13676
13676
|
(o) => class extends Ye(o) {
|
|
13677
13677
|
static get properties() {
|
|
13678
13678
|
return {
|
|
@@ -13687,7 +13687,7 @@ const tu = j(
|
|
|
13687
13687
|
};
|
|
13688
13688
|
}
|
|
13689
13689
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13690
|
+
super(), this._labelController = new tu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13691
13691
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13692
13692
|
});
|
|
13693
13693
|
}
|
|
@@ -13715,7 +13715,7 @@ const tu = j(
|
|
|
13715
13715
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13716
13716
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13717
13717
|
*/
|
|
13718
|
-
const
|
|
13718
|
+
const cr = j(
|
|
13719
13719
|
(o) => class extends o {
|
|
13720
13720
|
static get properties() {
|
|
13721
13721
|
return {
|
|
@@ -13787,7 +13787,7 @@ const ur = j(
|
|
|
13787
13787
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13788
13788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13789
13789
|
*/
|
|
13790
|
-
const
|
|
13790
|
+
const ou = (o) => class extends cr(iu(Ye(o))) {
|
|
13791
13791
|
static get properties() {
|
|
13792
13792
|
return {
|
|
13793
13793
|
/**
|
|
@@ -13837,7 +13837,7 @@ const iu = (o) => class extends ur(tu(Ye(o))) {
|
|
|
13837
13837
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13838
|
}
|
|
13839
13839
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new
|
|
13840
|
+
super(), this._fieldAriaController = new Xd(this), this._helperController = new eu(this), this._errorController = new Qd(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13841
13841
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13842
13842
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13843
13843
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13928,7 +13928,7 @@ const iu = (o) => class extends ur(tu(Ye(o))) {
|
|
|
13928
13928
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13929
13929
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13930
13930
|
*/
|
|
13931
|
-
const
|
|
13931
|
+
const su = j(
|
|
13932
13932
|
(o) => class extends o {
|
|
13933
13933
|
static get properties() {
|
|
13934
13934
|
return {
|
|
@@ -14009,8 +14009,8 @@ const ou = j(
|
|
|
14009
14009
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14010
14010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14011
|
*/
|
|
14012
|
-
const
|
|
14013
|
-
(o) => class extends
|
|
14012
|
+
const hr = j(
|
|
14013
|
+
(o) => class extends su(cr(lr(o))) {
|
|
14014
14014
|
/**
|
|
14015
14015
|
* An array of attributes which participate in the input validation.
|
|
14016
14016
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14094,8 +14094,8 @@ const cr = j(
|
|
|
14094
14094
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14095
14095
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14096
14096
|
*/
|
|
14097
|
-
const
|
|
14098
|
-
|
|
14097
|
+
const ru = (o) => class extends qd(
|
|
14098
|
+
ar(hr(ou(Kd(It(o)))))
|
|
14099
14099
|
) {
|
|
14100
14100
|
static get properties() {
|
|
14101
14101
|
return {
|
|
@@ -14281,7 +14281,7 @@ const su = (o) => class extends Wd(
|
|
|
14281
14281
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14282
14282
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14283
14283
|
*/
|
|
14284
|
-
class
|
|
14284
|
+
class nu extends Ae {
|
|
14285
14285
|
constructor(t, e, i = {}) {
|
|
14286
14286
|
const { uniqueIdPrefix: s } = i;
|
|
14287
14287
|
super(t, "input", "input", {
|
|
@@ -14298,7 +14298,7 @@ class ru extends Ae {
|
|
|
14298
14298
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14299
14299
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14300
14300
|
*/
|
|
14301
|
-
class
|
|
14301
|
+
class au {
|
|
14302
14302
|
constructor(t, e) {
|
|
14303
14303
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14304
14304
|
this.__initLabel(i.detail.node);
|
|
@@ -14331,7 +14331,7 @@ class nu {
|
|
|
14331
14331
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14332
14332
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14333
14333
|
*/
|
|
14334
|
-
const
|
|
14334
|
+
const lu = k`
|
|
14335
14335
|
[part='clear-button'] {
|
|
14336
14336
|
display: none;
|
|
14337
14337
|
cursor: default;
|
|
@@ -14350,7 +14350,7 @@ const au = k`
|
|
|
14350
14350
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14351
14351
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14352
14352
|
*/
|
|
14353
|
-
const
|
|
14353
|
+
const du = k`
|
|
14354
14354
|
:host {
|
|
14355
14355
|
display: inline-flex;
|
|
14356
14356
|
outline: none;
|
|
@@ -14390,7 +14390,7 @@ const lu = k`
|
|
|
14390
14390
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14391
14391
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14392
14392
|
*/
|
|
14393
|
-
const
|
|
14393
|
+
const uu = k`
|
|
14394
14394
|
[class$='container'] {
|
|
14395
14395
|
display: flex;
|
|
14396
14396
|
flex-direction: column;
|
|
@@ -14404,13 +14404,13 @@ const du = k`
|
|
|
14404
14404
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14405
14405
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14406
14406
|
*/
|
|
14407
|
-
const
|
|
14407
|
+
const cu = [du, uu, lu];
|
|
14408
14408
|
/**
|
|
14409
14409
|
* @license
|
|
14410
14410
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14411
14411
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14412
14412
|
*/
|
|
14413
|
-
const
|
|
14413
|
+
const hu = (o) => class extends o {
|
|
14414
14414
|
static get properties() {
|
|
14415
14415
|
return {
|
|
14416
14416
|
/**
|
|
@@ -14457,7 +14457,7 @@ const cu = (o) => class extends o {
|
|
|
14457
14457
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14458
14458
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14459
14459
|
*/
|
|
14460
|
-
class
|
|
14460
|
+
class pu {
|
|
14461
14461
|
/**
|
|
14462
14462
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14463
|
*/
|
|
@@ -14476,8 +14476,8 @@ class hu {
|
|
|
14476
14476
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14477
14477
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14478
14478
|
*/
|
|
14479
|
-
const
|
|
14480
|
-
Ye(
|
|
14479
|
+
const fu = (o) => class extends hu(
|
|
14480
|
+
Ye(ar(hr(It(o))))
|
|
14481
14481
|
) {
|
|
14482
14482
|
static get properties() {
|
|
14483
14483
|
return {
|
|
@@ -14682,7 +14682,7 @@ const pu = (o) => class extends cu(
|
|
|
14682
14682
|
if (i.length === 3) {
|
|
14683
14683
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14684
14684
|
const l = this.referenceDate ? Je(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14685
|
-
a =
|
|
14685
|
+
a = fd(l, a, n, r);
|
|
14686
14686
|
}
|
|
14687
14687
|
} else
|
|
14688
14688
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14756,7 +14756,7 @@ const pu = (o) => class extends cu(
|
|
|
14756
14756
|
/** @private */
|
|
14757
14757
|
_ios: {
|
|
14758
14758
|
type: Boolean,
|
|
14759
|
-
value:
|
|
14759
|
+
value: $s
|
|
14760
14760
|
},
|
|
14761
14761
|
/** @private */
|
|
14762
14762
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14856,10 +14856,10 @@ const pu = (o) => class extends cu(
|
|
|
14856
14856
|
/** @protected */
|
|
14857
14857
|
ready() {
|
|
14858
14858
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14859
|
-
new
|
|
14859
|
+
new nr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14860
|
this._fullscreen = i;
|
|
14861
14861
|
})
|
|
14862
|
-
), this.addController(new
|
|
14862
|
+
), this.addController(new pu(this));
|
|
14863
14863
|
const e = this.$.overlay;
|
|
14864
14864
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14865
14865
|
}
|
|
@@ -15017,7 +15017,7 @@ const pu = (o) => class extends cu(
|
|
|
15017
15017
|
}
|
|
15018
15018
|
/** @private */
|
|
15019
15019
|
_formatISO(e) {
|
|
15020
|
-
return
|
|
15020
|
+
return _d(e);
|
|
15021
15021
|
}
|
|
15022
15022
|
/** @protected */
|
|
15023
15023
|
_inputElementChanged(e) {
|
|
@@ -15083,12 +15083,12 @@ const pu = (o) => class extends cu(
|
|
|
15083
15083
|
const r = this._nativeInput;
|
|
15084
15084
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15085
15085
|
const n = this._noInput ? e : [r, e];
|
|
15086
|
-
this.__showOthers =
|
|
15086
|
+
this.__showOthers = Rs(n);
|
|
15087
15087
|
}
|
|
15088
15088
|
/** @private */
|
|
15089
15089
|
_getInitialPosition() {
|
|
15090
15090
|
const e = Je(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15091
|
-
return e || Ue(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15091
|
+
return e || Ue(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Qs(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15092
15092
|
}
|
|
15093
15093
|
/**
|
|
15094
15094
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15249,7 +15249,7 @@ const pu = (o) => class extends cu(
|
|
|
15249
15249
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15250
15250
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15251
15251
|
*/
|
|
15252
|
-
const
|
|
15252
|
+
const mu = k`
|
|
15253
15253
|
:host([opened]) {
|
|
15254
15254
|
pointer-events: auto;
|
|
15255
15255
|
}
|
|
@@ -15268,8 +15268,8 @@ const fu = k`
|
|
|
15268
15268
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15269
15269
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15270
15270
|
*/
|
|
15271
|
-
V("vaadin-date-picker", [
|
|
15272
|
-
class
|
|
15271
|
+
V("vaadin-date-picker", [cu, mu], { moduleId: "vaadin-date-picker-styles" });
|
|
15272
|
+
class _u extends fu(ru(Se(js(ve)))) {
|
|
15273
15273
|
static get is() {
|
|
15274
15274
|
return "vaadin-date-picker";
|
|
15275
15275
|
}
|
|
@@ -15329,7 +15329,7 @@ class mu extends pu(su(Se(Us(ve)))) {
|
|
|
15329
15329
|
/** @protected */
|
|
15330
15330
|
ready() {
|
|
15331
15331
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15332
|
+
new nu(
|
|
15333
15333
|
this,
|
|
15334
15334
|
(e) => {
|
|
15335
15335
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15341,7 +15341,7 @@ class mu extends pu(su(Se(Us(ve)))) {
|
|
|
15341
15341
|
uniqueIdPrefix: "search-input"
|
|
15342
15342
|
}
|
|
15343
15343
|
)
|
|
15344
|
-
), this.addController(new
|
|
15344
|
+
), this.addController(new au(this.inputElement, this._labelController)), this._tooltipController = new Ws(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15345
15345
|
}
|
|
15346
15346
|
/** @private */
|
|
15347
15347
|
_onVaadinOverlayClose(t) {
|
|
@@ -15357,7 +15357,7 @@ class mu extends pu(su(Se(Us(ve)))) {
|
|
|
15357
15357
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15358
15358
|
}
|
|
15359
15359
|
}
|
|
15360
|
-
le(
|
|
15360
|
+
le(_u);
|
|
15361
15361
|
if (typeof window < "u") {
|
|
15362
15362
|
let o = function(t) {
|
|
15363
15363
|
return function(...e) {
|
|
@@ -15379,11 +15379,11 @@ if (typeof window < "u") {
|
|
|
15379
15379
|
}
|
|
15380
15380
|
);
|
|
15381
15381
|
}
|
|
15382
|
-
var
|
|
15382
|
+
var pr = { exports: {} };
|
|
15383
15383
|
(function(o, t) {
|
|
15384
15384
|
(function(e, i) {
|
|
15385
15385
|
o.exports = i();
|
|
15386
|
-
})(
|
|
15386
|
+
})(fr, function() {
|
|
15387
15387
|
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", u = "week", c = "month", h = "quarter", _ = "year", y = "date", C = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
|
|
15388
15388
|
var g = ["th", "st", "nd", "rd"], m = w % 100;
|
|
15389
15389
|
return "[" + w + (g[(m - 20) % 10] || g[m] || g[0]) + "]";
|
|
@@ -15668,16 +15668,16 @@ var hr = { exports: {} };
|
|
|
15668
15668
|
return L(1e3 * w);
|
|
15669
15669
|
}, L.en = X[z], L.Ls = X, L.p = {}, L;
|
|
15670
15670
|
});
|
|
15671
|
-
})(
|
|
15672
|
-
var
|
|
15673
|
-
const
|
|
15674
|
-
function
|
|
15675
|
-
|
|
15671
|
+
})(pr);
|
|
15672
|
+
var gu = pr.exports;
|
|
15673
|
+
const $o = /* @__PURE__ */ mr(gu);
|
|
15674
|
+
function Ro(o, t) {
|
|
15675
|
+
_r(o, t);
|
|
15676
15676
|
}
|
|
15677
|
-
function
|
|
15678
|
-
|
|
15677
|
+
function yu(o) {
|
|
15678
|
+
gr.set(o);
|
|
15679
15679
|
}
|
|
15680
|
-
const
|
|
15680
|
+
const Ho = {
|
|
15681
15681
|
en: {
|
|
15682
15682
|
titleTimeout: "Timeout",
|
|
15683
15683
|
timeoutTextFirst: "{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",
|
|
@@ -15888,14 +15888,14 @@ const Ro = {
|
|
|
15888
15888
|
confirmationModalTextUntilTimeout: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
15889
15889
|
}
|
|
15890
15890
|
};
|
|
15891
|
-
function
|
|
15892
|
-
|
|
15891
|
+
function vu(o) {
|
|
15892
|
+
xr(o, "svelte-u6jylo", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
15893
15893
|
}
|
|
15894
|
-
function
|
|
15894
|
+
function Bo(o, t, e) {
|
|
15895
15895
|
const i = o.slice();
|
|
15896
15896
|
return i[43] = t[e].value, i;
|
|
15897
15897
|
}
|
|
15898
|
-
function
|
|
15898
|
+
function bu(o) {
|
|
15899
15899
|
let t, e, i, s = (
|
|
15900
15900
|
/*$_*/
|
|
15901
15901
|
o[18]("titleTimeout") + ""
|
|
@@ -15940,16 +15940,16 @@ function vu(o) {
|
|
|
15940
15940
|
o[18]("save") + ""
|
|
15941
15941
|
), z, X, q, R, Z, L, E, de, ie = (
|
|
15942
15942
|
/*isMobile*/
|
|
15943
|
-
o[19] &&
|
|
15943
|
+
o[19] && xu(o)
|
|
15944
15944
|
), w = qi(
|
|
15945
15945
|
/*timeoutOptions*/
|
|
15946
15946
|
o[10]
|
|
15947
15947
|
), g = [];
|
|
15948
15948
|
for (let p = 0; p < w.length; p += 1)
|
|
15949
|
-
g[p] = Bo(
|
|
15949
|
+
g[p] = Vo(Bo(o, w, p));
|
|
15950
15950
|
let m = (
|
|
15951
15951
|
/*isUntilDate*/
|
|
15952
|
-
o[12] &&
|
|
15952
|
+
o[12] && Uo(o)
|
|
15953
15953
|
);
|
|
15954
15954
|
return {
|
|
15955
15955
|
c() {
|
|
@@ -15960,7 +15960,7 @@ function vu(o) {
|
|
|
15960
15960
|
(o[19] ? "TimeoutTitleNone" : "")), F(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
15961
15961
|
(o[19] ? "TimeoutDescriptionMobile" : "")), F(C, "class", "TimeoutSelect " + /*isMobile*/
|
|
15962
15962
|
(o[19] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
15963
|
-
o[11] === void 0 &&
|
|
15963
|
+
o[11] === void 0 && Sr(() => (
|
|
15964
15964
|
/*select_change_handler*/
|
|
15965
15965
|
o[27].call(C)
|
|
15966
15966
|
)), F(y, "class", "TimeoutSelectWrapper"), F(M, "class", "TimeoutSave"), F(D, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -16085,8 +16085,8 @@ function vu(o) {
|
|
|
16085
16085
|
);
|
|
16086
16086
|
let v;
|
|
16087
16087
|
for (v = 0; v < w.length; v += 1) {
|
|
16088
|
-
const A =
|
|
16089
|
-
g[v] ? g[v].p(A, f) : (g[v] =
|
|
16088
|
+
const A = Bo(p, w, v);
|
|
16089
|
+
g[v] ? g[v].p(A, f) : (g[v] = Vo(A), g[v].c(), g[v].m(C, null));
|
|
16090
16090
|
}
|
|
16091
16091
|
for (; v < g.length; v += 1)
|
|
16092
16092
|
g[v].d(1);
|
|
@@ -16098,7 +16098,7 @@ function vu(o) {
|
|
|
16098
16098
|
/*timeoutSelected*/
|
|
16099
16099
|
p[11]
|
|
16100
16100
|
), /*isUntilDate*/
|
|
16101
|
-
p[12] ? m ? m.p(p, f) : (m =
|
|
16101
|
+
p[12] ? m ? m.p(p, f) : (m = Uo(p), m.c(), m.m(t, I)) : m && (m.d(1), m = null), f[0] & /*$_*/
|
|
16102
16102
|
262144 && $ !== ($ = /*$_*/
|
|
16103
16103
|
p[18]("save") + "") && Re(z, $), f[0] & /*$_*/
|
|
16104
16104
|
262144 && Z !== (Z = /*$_*/
|
|
@@ -16151,16 +16151,16 @@ function vu(o) {
|
|
|
16151
16151
|
);
|
|
16152
16152
|
},
|
|
16153
16153
|
d(p) {
|
|
16154
|
-
p && (ne(t), ne(X), ne(q)), ie && ie.d(),
|
|
16154
|
+
p && (ne(t), ne(X), ne(q)), ie && ie.d(), Dr(g, p), m && m.d(), o[30](null), E = !1, kr(de);
|
|
16155
16155
|
}
|
|
16156
16156
|
};
|
|
16157
16157
|
}
|
|
16158
|
-
function
|
|
16158
|
+
function wu(o) {
|
|
16159
16159
|
let t, e, i, s, r, n, a, l, d, u, c, h, _, y, C, S;
|
|
16160
16160
|
function I($, z) {
|
|
16161
16161
|
return (
|
|
16162
16162
|
/*isMobile*/
|
|
16163
|
-
$[19] ?
|
|
16163
|
+
$[19] ? Au : Cu
|
|
16164
16164
|
);
|
|
16165
16165
|
}
|
|
16166
16166
|
let M = I(o)(o);
|
|
@@ -16214,7 +16214,7 @@ function bu(o) {
|
|
|
16214
16214
|
}
|
|
16215
16215
|
};
|
|
16216
16216
|
}
|
|
16217
|
-
function
|
|
16217
|
+
function xu(o) {
|
|
16218
16218
|
let t, e, i, s, r, n, a, l, d, u, c = (
|
|
16219
16219
|
/*$_*/
|
|
16220
16220
|
o[18]("titleTimeout") + ""
|
|
@@ -16241,7 +16241,7 @@ function wu(o) {
|
|
|
16241
16241
|
}
|
|
16242
16242
|
};
|
|
16243
16243
|
}
|
|
16244
|
-
function
|
|
16244
|
+
function Vo(o) {
|
|
16245
16245
|
let t, e = (
|
|
16246
16246
|
/*$_*/
|
|
16247
16247
|
o[18](
|
|
@@ -16272,7 +16272,7 @@ function Bo(o) {
|
|
|
16272
16272
|
}
|
|
16273
16273
|
};
|
|
16274
16274
|
}
|
|
16275
|
-
function
|
|
16275
|
+
function Uo(o) {
|
|
16276
16276
|
let t, e, i = (
|
|
16277
16277
|
/*$_*/
|
|
16278
16278
|
o[18]("duration") + ""
|
|
@@ -16333,7 +16333,7 @@ function Vo(o) {
|
|
|
16333
16333
|
}
|
|
16334
16334
|
};
|
|
16335
16335
|
}
|
|
16336
|
-
function
|
|
16336
|
+
function Cu(o) {
|
|
16337
16337
|
let t;
|
|
16338
16338
|
return {
|
|
16339
16339
|
c() {
|
|
@@ -16347,7 +16347,7 @@ function xu(o) {
|
|
|
16347
16347
|
}
|
|
16348
16348
|
};
|
|
16349
16349
|
}
|
|
16350
|
-
function
|
|
16350
|
+
function Au(o) {
|
|
16351
16351
|
let t;
|
|
16352
16352
|
return {
|
|
16353
16353
|
c() {
|
|
@@ -16361,12 +16361,12 @@ function Cu(o) {
|
|
|
16361
16361
|
}
|
|
16362
16362
|
};
|
|
16363
16363
|
}
|
|
16364
|
-
function
|
|
16364
|
+
function Tu(o) {
|
|
16365
16365
|
let t;
|
|
16366
16366
|
function e(r, n) {
|
|
16367
16367
|
return (
|
|
16368
16368
|
/*skeletonLoading*/
|
|
16369
|
-
r[17] ?
|
|
16369
|
+
r[17] ? wu : bu
|
|
16370
16370
|
);
|
|
16371
16371
|
}
|
|
16372
16372
|
let i = e(o), s = i(o);
|
|
@@ -16387,10 +16387,10 @@ function Au(o) {
|
|
|
16387
16387
|
}
|
|
16388
16388
|
};
|
|
16389
16389
|
}
|
|
16390
|
-
function
|
|
16390
|
+
function Eu(o, t, e) {
|
|
16391
16391
|
let i;
|
|
16392
|
-
|
|
16393
|
-
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: u = "" } = t, { endpoint: c = "" } = t, { baseurl: h = "" } = t, { hasconfirmationmodal: _ = "false" } = t, y, C, S = window.navigator.userAgent, I =
|
|
16392
|
+
Cr(o, Pr, (b) => e(18, i = b));
|
|
16393
|
+
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: u = "" } = t, { endpoint: c = "" } = t, { baseurl: h = "" } = t, { hasconfirmationmodal: _ = "false" } = t, y, C, S = window.navigator.userAgent, I = Ar(S) !== "PC", D = [
|
|
16394
16394
|
{
|
|
16395
16395
|
value: "CoolOffFor24Hours",
|
|
16396
16396
|
dateSelector: !1
|
|
@@ -16411,14 +16411,14 @@ function Tu(o, t, e) {
|
|
|
16411
16411
|
const de = () => {
|
|
16412
16412
|
fetch(d).then((b) => b.json()).then((b) => {
|
|
16413
16413
|
Object.keys(b).forEach((B) => {
|
|
16414
|
-
|
|
16414
|
+
Ro(B, b[B]);
|
|
16415
16415
|
});
|
|
16416
16416
|
}).catch((b) => {
|
|
16417
16417
|
console.log(b);
|
|
16418
16418
|
});
|
|
16419
16419
|
};
|
|
16420
|
-
Object.keys(
|
|
16421
|
-
|
|
16420
|
+
Object.keys(Ho).forEach((b) => {
|
|
16421
|
+
Ro(b, Ho[b]);
|
|
16422
16422
|
});
|
|
16423
16423
|
const ie = () => {
|
|
16424
16424
|
const b = new URL("/v1/player/coolOffSettings", c), B = { method: "GET" };
|
|
@@ -16445,7 +16445,7 @@ function Tu(o, t, e) {
|
|
|
16445
16445
|
}
|
|
16446
16446
|
e(16, R = $ ? i("confirmationModalTextUntilTimeout", { values: { date: z } }) : i("confirmationModalTextPeriodTimeout", { values: { period: i(M) } }));
|
|
16447
16447
|
}, g = (b) => {
|
|
16448
|
-
b.preventDefault(), Z
|
|
16448
|
+
b.preventDefault(), Z ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : p();
|
|
16449
16449
|
}, m = (b) => {
|
|
16450
16450
|
const { timeoutSelected: B, timeoutExpiryDate: K } = b.detail;
|
|
16451
16451
|
e(11, M = B), e(13, z = K), p();
|
|
@@ -16467,21 +16467,21 @@ function Tu(o, t, e) {
|
|
|
16467
16467
|
window.location.href
|
|
16468
16468
|
);
|
|
16469
16469
|
}, v = () => {
|
|
16470
|
-
|
|
16470
|
+
yu(r), ie();
|
|
16471
16471
|
}, A = () => {
|
|
16472
16472
|
const b = D.find((B) => B.value === M);
|
|
16473
|
-
e(12, $ = !1), b.dateSelector && (e(12, $ = !0), e(14, X =
|
|
16473
|
+
e(12, $ = !1), b.dateSelector && (e(12, $ = !0), e(14, X = $o().format("YYYY-MM-DD")), e(15, q = $o().add(6, "months").format("YYYY-MM-DD")), e(13, z = X)), Z && w();
|
|
16474
16474
|
}, N = (b) => {
|
|
16475
16475
|
e(13, z = b.target.value);
|
|
16476
16476
|
}, H = () => {
|
|
16477
16477
|
C.addEventListener("change", N, !1);
|
|
16478
16478
|
};
|
|
16479
|
-
|
|
16479
|
+
Tr(() => {
|
|
16480
16480
|
E && E.removeEventListener("SetPlayerAccountTimeout", m), C && C.removeEventListener("change", N);
|
|
16481
16481
|
});
|
|
16482
16482
|
const U = () => f();
|
|
16483
16483
|
function Y() {
|
|
16484
|
-
M =
|
|
16484
|
+
M = Er(this), e(11, M), e(10, D);
|
|
16485
16485
|
}
|
|
16486
16486
|
function Q(b) {
|
|
16487
16487
|
Nt[b ? "unshift" : "push"](() => {
|
|
@@ -16505,9 +16505,9 @@ function Tu(o, t, e) {
|
|
|
16505
16505
|
o.$$.dirty[0] & /*calendar*/
|
|
16506
16506
|
256 && C && H(), o.$$.dirty[0] & /*lang*/
|
|
16507
16507
|
2 && r && v(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16508
|
-
132 && n && y &&
|
|
16509
|
-
136 && a && y &&
|
|
16510
|
-
144 && l && y &&
|
|
16508
|
+
132 && n && y && Or(y, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16509
|
+
136 && a && y && Mr(y, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16510
|
+
144 && l && y && Ir(y, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16511
16511
|
8388608 && d && de(), o.$$.dirty[0] & /*modalEl*/
|
|
16512
16512
|
512 && E && E.addEventListener("SetPlayerAccountTimeout", m);
|
|
16513
16513
|
}, Z && w(), [
|
|
@@ -16545,14 +16545,14 @@ function Tu(o, t, e) {
|
|
|
16545
16545
|
we
|
|
16546
16546
|
];
|
|
16547
16547
|
}
|
|
16548
|
-
class
|
|
16548
|
+
class Du extends vr {
|
|
16549
16549
|
constructor(t) {
|
|
16550
|
-
super(),
|
|
16550
|
+
super(), br(
|
|
16551
16551
|
this,
|
|
16552
16552
|
t,
|
|
16553
|
+
Eu,
|
|
16553
16554
|
Tu,
|
|
16554
|
-
|
|
16555
|
-
br,
|
|
16555
|
+
wr,
|
|
16556
16556
|
{
|
|
16557
16557
|
operator: 0,
|
|
16558
16558
|
lang: 1,
|
|
@@ -16565,7 +16565,7 @@ class Eu extends yr {
|
|
|
16565
16565
|
baseurl: 6,
|
|
16566
16566
|
hasconfirmationmodal: 25
|
|
16567
16567
|
},
|
|
16568
|
-
|
|
16568
|
+
vu,
|
|
16569
16569
|
[-1, -1]
|
|
16570
16570
|
);
|
|
16571
16571
|
}
|
|
@@ -16630,7 +16630,7 @@ class Eu extends yr {
|
|
|
16630
16630
|
this.$$set({ hasconfirmationmodal: t }), se();
|
|
16631
16631
|
}
|
|
16632
16632
|
}
|
|
16633
|
-
|
|
16633
|
+
yr(Du, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16634
16634
|
export {
|
|
16635
|
-
|
|
16635
|
+
Du as P
|
|
16636
16636
|
};
|