@everymatrix/player-bonus-history 1.64.0 → 1.64.2
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/{PlayerBonusCard-BVc-qiH4.js → PlayerBonusCard-COFpkLu_.js} +15 -16
- package/components/{PlayerBonusCard-XkHNSXx3.js → PlayerBonusCard-CjuE911l.js} +15 -16
- package/components/{PlayerBonusCard-elLL7jms.cjs → PlayerBonusCard-QKHPyHgw.cjs} +1 -1
- package/components/{PlayerBonusHistory-BzKQFch9.js → PlayerBonusHistory-4Bvb1EGp.js} +729 -729
- package/components/{PlayerBonusHistory-D0rIcYaH.cjs → PlayerBonusHistory-5_8EbVSt.cjs} +2 -2
- package/components/{PlayerBonusHistory-DwebkUKz.js → PlayerBonusHistory-CmxOhPJQ.js} +717 -717
- package/es2015/player-bonus-history.cjs +1 -1
- package/es2015/player-bonus-history.js +1 -1
- package/esnext/player-bonus-history.js +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var $r = Object.defineProperty, Vr = Object.defineProperties;
|
|
2
|
+
var Ur = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Zi = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var es = (s, t, e) => t in s ?
|
|
4
|
+
var Yr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var es = (s, t, e) => t in s ? $r(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, Ft = (s, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Yr.call(t, e) && es(s, e, t[e]);
|
|
8
8
|
if (Zi)
|
|
9
9
|
for (var e of Zi(t))
|
|
10
|
-
|
|
10
|
+
Wr.call(t, e) && es(s, e, t[e]);
|
|
11
11
|
return s;
|
|
12
|
-
}, Bt = (s, t) =>
|
|
12
|
+
}, Bt = (s, t) => Vr(s, Ur(t));
|
|
13
13
|
var ct = (s, t, e) => new Promise((i, o) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,14 +26,14 @@ var ct = (s, t, e) => new Promise((i, o) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(s, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as
|
|
30
|
-
function
|
|
31
|
-
|
|
29
|
+
import { a as jr, $ as qr, S as Kr, i as Gr, f as K, s as Xr, c as Jr, b as Qr, n as ts, d as X, e as J, g as T, h as Zr, j as en, k as ut, l as tn, o as sn, m as on, p as rn, q as Lt, r as De, t as p, u as g, v as fe, w as U, x as Y, y as x, z as Ee, A as bt, B as to, C as nn, D as io, E as an, F as ln, G as dn, H as cn } from "./PlayerBonusCard-CjuE911l.js";
|
|
30
|
+
function is(s, t) {
|
|
31
|
+
jr(s, t);
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
|
|
33
|
+
function un(s) {
|
|
34
|
+
qr.set(s);
|
|
35
35
|
}
|
|
36
|
-
const
|
|
36
|
+
const ss = {
|
|
37
37
|
en: {
|
|
38
38
|
titleBonusesHistory: "Bonus History",
|
|
39
39
|
dateFrom: "From:",
|
|
@@ -124,7 +124,7 @@ if (typeof window != "undefined") {
|
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
customElements.define = s(customElements.define), import("./PlayerBonusCard-
|
|
127
|
+
customElements.define = s(customElements.define), import("./PlayerBonusCard-CjuE911l.js").then((t) => t.P).then(({ default: t }) => {
|
|
128
128
|
!customElements.get("player-bonus-card") && customElements.define("player-bonus-card", t.element);
|
|
129
129
|
});
|
|
130
130
|
}
|
|
@@ -154,18 +154,18 @@ function Q(s, t = "24.5.12") {
|
|
|
154
154
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
155
155
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
156
156
|
*/
|
|
157
|
-
class
|
|
157
|
+
class hn extends HTMLElement {
|
|
158
158
|
static get is() {
|
|
159
159
|
return "vaadin-lumo-styles";
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
Q(
|
|
162
|
+
Q(hn);
|
|
163
163
|
/**
|
|
164
164
|
* @license
|
|
165
165
|
* Copyright 2019 Google LLC
|
|
166
166
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
167
167
|
*/
|
|
168
|
-
const gt = globalThis, Ei = gt.ShadowRoot && (gt.ShadyCSS === void 0 || gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Pi = Symbol(),
|
|
168
|
+
const gt = globalThis, Ei = gt.ShadowRoot && (gt.ShadyCSS === void 0 || gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Pi = Symbol(), os = /* @__PURE__ */ new WeakMap();
|
|
169
169
|
let ki = class {
|
|
170
170
|
constructor(t, e, i) {
|
|
171
171
|
if (this._$cssResult$ = !0, i !== Pi)
|
|
@@ -177,7 +177,7 @@ let ki = class {
|
|
|
177
177
|
const e = this.t;
|
|
178
178
|
if (Ei && t === void 0) {
|
|
179
179
|
const i = e !== void 0 && e.length === 1;
|
|
180
|
-
i && (t =
|
|
180
|
+
i && (t = os.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && os.set(e, t));
|
|
181
181
|
}
|
|
182
182
|
return t;
|
|
183
183
|
}
|
|
@@ -185,7 +185,7 @@ let ki = class {
|
|
|
185
185
|
return this.cssText;
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
|
-
const
|
|
188
|
+
const pn = (s) => new ki(typeof s == "string" ? s : s + "", void 0, Pi), C = (s, ...t) => {
|
|
189
189
|
const e = s.length === 1 ? s[0] : t.reduce((i, o, r) => i + ((n) => {
|
|
190
190
|
if (n._$cssResult$ === !0)
|
|
191
191
|
return n.cssText;
|
|
@@ -194,7 +194,7 @@ const fn = (s) => new ki(typeof s == "string" ? s : s + "", void 0, Pi), C = (s,
|
|
|
194
194
|
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.");
|
|
195
195
|
})(o) + s[r + 1], s[0]);
|
|
196
196
|
return new ki(e, s, Pi);
|
|
197
|
-
},
|
|
197
|
+
}, so = (s, t) => {
|
|
198
198
|
if (Ei)
|
|
199
199
|
s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
200
200
|
else
|
|
@@ -202,21 +202,21 @@ const fn = (s) => new ki(typeof s == "string" ? s : s + "", void 0, Pi), C = (s,
|
|
|
202
202
|
const i = document.createElement("style"), o = gt.litNonce;
|
|
203
203
|
o !== void 0 && i.setAttribute("nonce", o), i.textContent = e.cssText, s.appendChild(i);
|
|
204
204
|
}
|
|
205
|
-
},
|
|
205
|
+
}, rs = Ei ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
|
|
206
206
|
let e = "";
|
|
207
207
|
for (const i of t.cssRules)
|
|
208
208
|
e += i.cssText;
|
|
209
|
-
return
|
|
209
|
+
return pn(e);
|
|
210
210
|
})(s) : s;
|
|
211
211
|
/**
|
|
212
212
|
* @license
|
|
213
213
|
* Copyright 2017 Google LLC
|
|
214
214
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
215
215
|
*/
|
|
216
|
-
const { is:
|
|
216
|
+
const { is: fn, defineProperty: _n, getOwnPropertyDescriptor: mn, getOwnPropertyNames: gn, getOwnPropertySymbols: yn, getPrototypeOf: bn } = Object, ae = globalThis, ns = ae.trustedTypes, vn = ns ? ns.emptyScript : "", zt = ae.reactiveElementPolyfillSupport, Xe = (s, t) => s, ii = { toAttribute(s, t) {
|
|
217
217
|
switch (t) {
|
|
218
218
|
case Boolean:
|
|
219
|
-
s = s ?
|
|
219
|
+
s = s ? vn : null;
|
|
220
220
|
break;
|
|
221
221
|
case Object:
|
|
222
222
|
case Array:
|
|
@@ -241,9 +241,9 @@ const { is: _n, defineProperty: mn, getOwnPropertyDescriptor: gn, getOwnProperty
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
return e;
|
|
244
|
-
} },
|
|
245
|
-
var
|
|
246
|
-
(
|
|
244
|
+
} }, oo = (s, t) => !fn(s, t), as = { attribute: !0, type: String, converter: ii, reflect: !1, hasChanged: oo };
|
|
245
|
+
var Gs, Xs;
|
|
246
|
+
(Gs = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Xs = ae.litPropertyMetadata) != null || (ae.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
247
247
|
class ke extends HTMLElement {
|
|
248
248
|
static addInitializer(t) {
|
|
249
249
|
var e;
|
|
@@ -252,15 +252,15 @@ class ke extends HTMLElement {
|
|
|
252
252
|
static get observedAttributes() {
|
|
253
253
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
254
254
|
}
|
|
255
|
-
static createProperty(t, e =
|
|
255
|
+
static createProperty(t, e = as) {
|
|
256
256
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
257
257
|
const i = Symbol(), o = this.getPropertyDescriptor(t, i, e);
|
|
258
|
-
o !== void 0 &&
|
|
258
|
+
o !== void 0 && _n(this.prototype, t, o);
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
261
|
static getPropertyDescriptor(t, e, i) {
|
|
262
262
|
var n;
|
|
263
|
-
const { get: o, set: r } = (n =
|
|
263
|
+
const { get: o, set: r } = (n = mn(this.prototype, t)) != null ? n : { get() {
|
|
264
264
|
return this[e];
|
|
265
265
|
}, set(a) {
|
|
266
266
|
this[e] = a;
|
|
@@ -274,19 +274,19 @@ class ke extends HTMLElement {
|
|
|
274
274
|
}
|
|
275
275
|
static getPropertyOptions(t) {
|
|
276
276
|
var e;
|
|
277
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
277
|
+
return (e = this.elementProperties.get(t)) != null ? e : as;
|
|
278
278
|
}
|
|
279
279
|
static _$Ei() {
|
|
280
280
|
if (this.hasOwnProperty(Xe("elementProperties")))
|
|
281
281
|
return;
|
|
282
|
-
const t =
|
|
282
|
+
const t = bn(this);
|
|
283
283
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
284
284
|
}
|
|
285
285
|
static finalize() {
|
|
286
286
|
if (this.hasOwnProperty(Xe("finalized")))
|
|
287
287
|
return;
|
|
288
288
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Xe("properties"))) {
|
|
289
|
-
const e = this.properties, i = [...
|
|
289
|
+
const e = this.properties, i = [...gn(e), ...yn(e)];
|
|
290
290
|
for (const o of i)
|
|
291
291
|
this.createProperty(o, e[o]);
|
|
292
292
|
}
|
|
@@ -309,9 +309,9 @@ class ke extends HTMLElement {
|
|
|
309
309
|
if (Array.isArray(t)) {
|
|
310
310
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
311
311
|
for (const o of i)
|
|
312
|
-
e.unshift(
|
|
312
|
+
e.unshift(rs(o));
|
|
313
313
|
} else
|
|
314
|
-
t !== void 0 && e.push(
|
|
314
|
+
t !== void 0 && e.push(rs(t));
|
|
315
315
|
return e;
|
|
316
316
|
}
|
|
317
317
|
static _$Eu(t, e) {
|
|
@@ -342,7 +342,7 @@ class ke extends HTMLElement {
|
|
|
342
342
|
createRenderRoot() {
|
|
343
343
|
var e;
|
|
344
344
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
345
|
-
return
|
|
345
|
+
return so(t, this.constructor.elementStyles), t;
|
|
346
346
|
}
|
|
347
347
|
connectedCallback() {
|
|
348
348
|
var t, e;
|
|
@@ -382,7 +382,7 @@ class ke extends HTMLElement {
|
|
|
382
382
|
requestUpdate(t, e, i) {
|
|
383
383
|
var o;
|
|
384
384
|
if (t !== void 0) {
|
|
385
|
-
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((o = i.hasChanged) != null ? o :
|
|
385
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((o = i.hasChanged) != null ? o : oo)(this[t], e))
|
|
386
386
|
return;
|
|
387
387
|
this.P(t, e, i);
|
|
388
388
|
}
|
|
@@ -463,40 +463,40 @@ class ke extends HTMLElement {
|
|
|
463
463
|
firstUpdated(t) {
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
var
|
|
467
|
-
ke.elementStyles = [], ke.shadowRootOptions = { mode: "open" }, ke[Xe("elementProperties")] = /* @__PURE__ */ new Map(), ke[Xe("finalized")] = /* @__PURE__ */ new Map(), zt == null || zt({ ReactiveElement: ke }), ((
|
|
466
|
+
var Js;
|
|
467
|
+
ke.elementStyles = [], ke.shadowRootOptions = { mode: "open" }, ke[Xe("elementProperties")] = /* @__PURE__ */ new Map(), ke[Xe("finalized")] = /* @__PURE__ */ new Map(), zt == null || zt({ ReactiveElement: ke }), ((Js = ae.reactiveElementVersions) != null ? Js : ae.reactiveElementVersions = []).push("2.0.4");
|
|
468
468
|
/**
|
|
469
469
|
* @license
|
|
470
470
|
* Copyright 2017 Google LLC
|
|
471
471
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
472
472
|
*/
|
|
473
|
-
const Je = globalThis, vt = Je.trustedTypes,
|
|
474
|
-
\f\r]`, Ue = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
475
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
476
|
-
function
|
|
473
|
+
const Je = globalThis, vt = Je.trustedTypes, ls = vt ? vt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ro = "$lit$", ne = `lit$${Math.random().toFixed(9).slice(2)}$`, no = "?" + ne, wn = `<${no}>`, be = document, Ze = () => be.createComment(""), et = (s) => s === null || typeof s != "object" && typeof s != "function", Di = Array.isArray, xn = (s) => Di(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Rt = `[
|
|
474
|
+
\f\r]`, Ue = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ds = /-->/g, cs = />/g, pe = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
|
|
475
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), us = /'/g, hs = /"/g, ao = /^(?:script|style|textarea|title)$/i, Ie = Symbol.for("lit-noChange"), B = Symbol.for("lit-nothing"), ps = /* @__PURE__ */ new WeakMap(), _e = be.createTreeWalker(be, 129);
|
|
476
|
+
function lo(s, t) {
|
|
477
477
|
if (!Di(s) || !s.hasOwnProperty("raw"))
|
|
478
478
|
throw Error("invalid template strings array");
|
|
479
|
-
return
|
|
479
|
+
return ls !== void 0 ? ls.createHTML(t) : t;
|
|
480
480
|
}
|
|
481
|
-
const
|
|
481
|
+
const Cn = (s, t) => {
|
|
482
482
|
const e = s.length - 1, i = [];
|
|
483
483
|
let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Ue;
|
|
484
484
|
for (let a = 0; a < e; a++) {
|
|
485
485
|
const l = s[a];
|
|
486
486
|
let d, c, u = -1, h = 0;
|
|
487
487
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
488
|
-
h = n.lastIndex, n === Ue ? c[1] === "!--" ? n =
|
|
488
|
+
h = n.lastIndex, n === Ue ? c[1] === "!--" ? n = ds : c[1] !== void 0 ? n = cs : c[2] !== void 0 ? (ao.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = pe) : c[3] !== void 0 && (n = pe) : n === pe ? c[0] === ">" ? (n = o != null ? o : Ue, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? pe : c[3] === '"' ? hs : us) : n === hs || n === us ? n = pe : n === ds || n === cs ? n = Ue : (n = pe, o = void 0);
|
|
489
489
|
const f = n === pe && s[a + 1].startsWith("/>") ? " " : "";
|
|
490
|
-
r += n === Ue ? l +
|
|
490
|
+
r += n === Ue ? l + wn : u >= 0 ? (i.push(d), l.slice(0, u) + ro + l.slice(u) + ne + f) : l + ne + (u === -2 ? a : f);
|
|
491
491
|
}
|
|
492
|
-
return [
|
|
492
|
+
return [lo(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
493
493
|
};
|
|
494
494
|
class tt {
|
|
495
495
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
496
496
|
let o;
|
|
497
497
|
this.parts = [];
|
|
498
498
|
let r = 0, n = 0;
|
|
499
|
-
const a = t.length - 1, l = this.parts, [d, c] =
|
|
499
|
+
const a = t.length - 1, l = this.parts, [d, c] = Cn(t, e);
|
|
500
500
|
if (this.el = tt.createElement(d, i), _e.currentNode = this.el.content, e === 2 || e === 3) {
|
|
501
501
|
const u = this.el.content.firstChild;
|
|
502
502
|
u.replaceWith(...u.childNodes);
|
|
@@ -505,12 +505,12 @@ class tt {
|
|
|
505
505
|
if (o.nodeType === 1) {
|
|
506
506
|
if (o.hasAttributes())
|
|
507
507
|
for (const u of o.getAttributeNames())
|
|
508
|
-
if (u.endsWith(
|
|
508
|
+
if (u.endsWith(ro)) {
|
|
509
509
|
const h = c[n++], f = o.getAttribute(u).split(ne), _ = /([.?@])?(.*)/.exec(h);
|
|
510
|
-
l.push({ type: 1, index: r, name: _[2], strings: f, ctor: _[1] === "." ?
|
|
510
|
+
l.push({ type: 1, index: r, name: _[2], strings: f, ctor: _[1] === "." ? En : _[1] === "?" ? Pn : _[1] === "@" ? kn : Dt }), o.removeAttribute(u);
|
|
511
511
|
} else
|
|
512
512
|
u.startsWith(ne) && (l.push({ type: 6, index: r }), o.removeAttribute(u));
|
|
513
|
-
if (
|
|
513
|
+
if (ao.test(o.tagName)) {
|
|
514
514
|
const u = o.textContent.split(ne), h = u.length - 1;
|
|
515
515
|
if (h > 0) {
|
|
516
516
|
o.textContent = vt ? vt.emptyScript : "";
|
|
@@ -520,7 +520,7 @@ class tt {
|
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
} else if (o.nodeType === 8)
|
|
523
|
-
if (o.data ===
|
|
523
|
+
if (o.data === no)
|
|
524
524
|
l.push({ type: 2, index: r });
|
|
525
525
|
else {
|
|
526
526
|
let u = -1;
|
|
@@ -543,7 +543,7 @@ function Ne(s, t, e = s, i) {
|
|
|
543
543
|
const r = et(t) ? void 0 : t._$litDirective$;
|
|
544
544
|
return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(s), o._$AT(s, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = o : e._$Cl = o), o !== void 0 && (t = Ne(s, o._$AS(s, t.values), o, i)), t;
|
|
545
545
|
}
|
|
546
|
-
class
|
|
546
|
+
class An {
|
|
547
547
|
constructor(t, e) {
|
|
548
548
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
549
549
|
}
|
|
@@ -561,7 +561,7 @@ class En {
|
|
|
561
561
|
for (; l !== void 0; ) {
|
|
562
562
|
if (n === l.index) {
|
|
563
563
|
let c;
|
|
564
|
-
l.type === 2 ? c = new lt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
564
|
+
l.type === 2 ? c = new lt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new Dn(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
565
565
|
}
|
|
566
566
|
n !== (l == null ? void 0 : l.index) && (r = _e.nextNode(), n++);
|
|
567
567
|
}
|
|
@@ -594,7 +594,7 @@ class lt {
|
|
|
594
594
|
return this._$AB;
|
|
595
595
|
}
|
|
596
596
|
_$AI(t, e = this) {
|
|
597
|
-
t = Ne(this, t, e), et(t) ? t === B || t == null || t === "" ? (this._$AH !== B && this._$AR(), this._$AH = B) : t !== this._$AH && t !== Ie && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
597
|
+
t = Ne(this, t, e), et(t) ? t === B || t == null || t === "" ? (this._$AH !== B && this._$AR(), this._$AH = B) : t !== this._$AH && t !== Ie && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : xn(t) ? this.k(t) : this._(t);
|
|
598
598
|
}
|
|
599
599
|
O(t) {
|
|
600
600
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -607,17 +607,17 @@ class lt {
|
|
|
607
607
|
}
|
|
608
608
|
$(t) {
|
|
609
609
|
var r;
|
|
610
|
-
const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = tt.createElement(
|
|
610
|
+
const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = tt.createElement(lo(i.h, i.h[0]), this.options)), i);
|
|
611
611
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === o)
|
|
612
612
|
this._$AH.p(e);
|
|
613
613
|
else {
|
|
614
|
-
const n = new
|
|
614
|
+
const n = new An(o, this), a = n.u(this.options);
|
|
615
615
|
n.p(e), this.T(a), this._$AH = n;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
_$AC(t) {
|
|
619
|
-
let e =
|
|
620
|
-
return e === void 0 &&
|
|
619
|
+
let e = ps.get(t.strings);
|
|
620
|
+
return e === void 0 && ps.set(t.strings, e = new tt(t)), e;
|
|
621
621
|
}
|
|
622
622
|
k(t) {
|
|
623
623
|
Di(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -666,7 +666,7 @@ class Dt {
|
|
|
666
666
|
t === B ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
class
|
|
669
|
+
class En extends Dt {
|
|
670
670
|
constructor() {
|
|
671
671
|
super(...arguments), this.type = 3;
|
|
672
672
|
}
|
|
@@ -674,7 +674,7 @@ class Pn extends Dt {
|
|
|
674
674
|
this.element[this.name] = t === B ? void 0 : t;
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
|
-
class
|
|
677
|
+
class Pn extends Dt {
|
|
678
678
|
constructor() {
|
|
679
679
|
super(...arguments), this.type = 4;
|
|
680
680
|
}
|
|
@@ -682,7 +682,7 @@ class kn extends Dt {
|
|
|
682
682
|
this.element.toggleAttribute(this.name, !!t && t !== B);
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
|
-
class
|
|
685
|
+
class kn extends Dt {
|
|
686
686
|
constructor(t, e, i, o, r) {
|
|
687
687
|
super(t, e, i, o, r), this.type = 5;
|
|
688
688
|
}
|
|
@@ -698,7 +698,7 @@ class Dn extends Dt {
|
|
|
698
698
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
|
-
class
|
|
701
|
+
class Dn {
|
|
702
702
|
constructor(t, e, i) {
|
|
703
703
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
704
704
|
}
|
|
@@ -710,9 +710,9 @@ class Tn {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
const Ht = Je.litHtmlPolyfillSupport;
|
|
713
|
-
var
|
|
714
|
-
Ht == null || Ht(tt, lt), ((
|
|
715
|
-
const
|
|
713
|
+
var Qs;
|
|
714
|
+
Ht == null || Ht(tt, lt), ((Qs = Je.litHtmlVersions) != null ? Qs : Je.litHtmlVersions = []).push("3.2.1");
|
|
715
|
+
const Tn = (s, t, e) => {
|
|
716
716
|
var r, n;
|
|
717
717
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
718
718
|
let o = i._$litPart$;
|
|
@@ -738,7 +738,7 @@ class Te extends ke {
|
|
|
738
738
|
}
|
|
739
739
|
update(t) {
|
|
740
740
|
const e = this.render();
|
|
741
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
741
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Tn(e, this.renderRoot, this.renderOptions);
|
|
742
742
|
}
|
|
743
743
|
connectedCallback() {
|
|
744
744
|
var t;
|
|
@@ -752,18 +752,18 @@ class Te extends ke {
|
|
|
752
752
|
return Ie;
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
var
|
|
756
|
-
Te._$litElement$ = !0, Te.finalized = !0, (
|
|
755
|
+
var Zs;
|
|
756
|
+
Te._$litElement$ = !0, Te.finalized = !0, (Zs = globalThis.litElementHydrateSupport) == null || Zs.call(globalThis, { LitElement: Te });
|
|
757
757
|
const $t = globalThis.litElementPolyfillSupport;
|
|
758
758
|
$t == null || $t({ LitElement: Te });
|
|
759
|
-
var
|
|
760
|
-
((
|
|
759
|
+
var eo;
|
|
760
|
+
((eo = globalThis.litElementVersions) != null ? eo : globalThis.litElementVersions = []).push("4.1.1");
|
|
761
761
|
/**
|
|
762
762
|
* @license
|
|
763
763
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
764
764
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
765
765
|
*/
|
|
766
|
-
const
|
|
766
|
+
const Sn = (s) => class extends s {
|
|
767
767
|
static get properties() {
|
|
768
768
|
return {
|
|
769
769
|
/**
|
|
@@ -802,102 +802,102 @@ const On = (s) => class extends s {
|
|
|
802
802
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
803
803
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
804
804
|
*/
|
|
805
|
-
const
|
|
806
|
-
function
|
|
805
|
+
const co = [], si = /* @__PURE__ */ new Set(), Ti = /* @__PURE__ */ new Set();
|
|
806
|
+
function uo(s) {
|
|
807
807
|
return s && Object.prototype.hasOwnProperty.call(s, "__themes");
|
|
808
808
|
}
|
|
809
|
-
function
|
|
810
|
-
return
|
|
809
|
+
function On(s) {
|
|
810
|
+
return uo(customElements.get(s));
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function Mn(s = []) {
|
|
813
813
|
return [s].flat(1 / 0).filter((t) => t instanceof ki ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
814
814
|
}
|
|
815
|
-
function
|
|
815
|
+
function ho(s, t) {
|
|
816
816
|
return (s || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
817
817
|
}
|
|
818
|
-
function
|
|
818
|
+
function po(s) {
|
|
819
819
|
return s.map((t) => t.cssText).join(`
|
|
820
820
|
`);
|
|
821
821
|
}
|
|
822
822
|
const wt = "vaadin-themable-mixin-style";
|
|
823
|
-
function
|
|
823
|
+
function In(s, t) {
|
|
824
824
|
const e = document.createElement("style");
|
|
825
|
-
e.id = wt, e.textContent =
|
|
825
|
+
e.id = wt, e.textContent = po(s), t.content.appendChild(e);
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function Nn(s) {
|
|
828
828
|
if (!s.shadowRoot)
|
|
829
829
|
return;
|
|
830
830
|
const t = s.constructor;
|
|
831
831
|
if (s instanceof Te)
|
|
832
|
-
[...s.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
832
|
+
[...s.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), so(s.shadowRoot, t.elementStyles);
|
|
833
833
|
else {
|
|
834
834
|
const e = s.shadowRoot.getElementById(wt), i = t.prototype._template;
|
|
835
835
|
e.textContent = i.content.getElementById(wt).textContent;
|
|
836
836
|
}
|
|
837
837
|
}
|
|
838
|
-
function
|
|
838
|
+
function Fn(s) {
|
|
839
839
|
si.forEach((t) => {
|
|
840
840
|
const e = t.deref();
|
|
841
|
-
e instanceof s ?
|
|
841
|
+
e instanceof s ? Nn(e) : e || si.delete(t);
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function fo(s) {
|
|
845
845
|
if (s.prototype instanceof Te)
|
|
846
846
|
s.elementStyles = s.finalizeStyles(s.styles);
|
|
847
847
|
else {
|
|
848
848
|
const t = s.prototype._template;
|
|
849
|
-
t.content.getElementById(wt).textContent =
|
|
849
|
+
t.content.getElementById(wt).textContent = po(s.getStylesForThis());
|
|
850
850
|
}
|
|
851
851
|
Ti.forEach((t) => {
|
|
852
852
|
const e = customElements.get(t);
|
|
853
|
-
e !== s && e.prototype instanceof s &&
|
|
853
|
+
e !== s && e.prototype instanceof s && fo(e);
|
|
854
854
|
});
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function Bn(s, t) {
|
|
857
857
|
const e = s.__themes;
|
|
858
858
|
return !e || !t ? !1 : e.some(
|
|
859
859
|
(i) => i.styles.some((o) => t.some((r) => r.cssText === o.cssText))
|
|
860
860
|
);
|
|
861
861
|
}
|
|
862
862
|
function S(s, t, e = {}) {
|
|
863
|
-
t =
|
|
863
|
+
t = Mn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(s, t, e) : co.push({
|
|
864
864
|
themeFor: s,
|
|
865
865
|
styles: t,
|
|
866
866
|
include: e.include,
|
|
867
867
|
moduleId: e.moduleId
|
|
868
868
|
}), s && Ti.forEach((i) => {
|
|
869
|
-
if (
|
|
869
|
+
if (ho(s, i) && On(i)) {
|
|
870
870
|
const o = customElements.get(i);
|
|
871
|
-
|
|
871
|
+
Bn(o, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
872
872
|
`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".`
|
|
873
|
-
),
|
|
873
|
+
), fo(o), Fn(o);
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
876
|
}
|
|
877
877
|
function oi() {
|
|
878
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
878
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : co;
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function Ln(s = "") {
|
|
881
881
|
let t = 0;
|
|
882
882
|
return s.startsWith("lumo-") || s.startsWith("material-") ? t = 1 : s.startsWith("vaadin-") && (t = 2), t;
|
|
883
883
|
}
|
|
884
|
-
function
|
|
884
|
+
function _o(s) {
|
|
885
885
|
const t = [];
|
|
886
886
|
return s.include && [].concat(s.include).forEach((e) => {
|
|
887
887
|
const i = oi().find((o) => o.moduleId === e);
|
|
888
|
-
i ? t.push(...
|
|
888
|
+
i ? t.push(..._o(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
889
889
|
}, s.styles), t;
|
|
890
890
|
}
|
|
891
|
-
function
|
|
892
|
-
const t = `${s}-default-theme`, e = oi().filter((i) => i.moduleId !== t &&
|
|
891
|
+
function zn(s) {
|
|
892
|
+
const t = `${s}-default-theme`, e = oi().filter((i) => i.moduleId !== t && ho(i.themeFor, s)).map((i) => Bt(Ft({}, i), {
|
|
893
893
|
// Prepend styles from included themes
|
|
894
|
-
styles: [...
|
|
894
|
+
styles: [..._o(i), ...i.styles],
|
|
895
895
|
// Map moduleId to includePriority
|
|
896
|
-
includePriority:
|
|
896
|
+
includePriority: Ln(i.moduleId)
|
|
897
897
|
})).sort((i, o) => o.includePriority - i.includePriority);
|
|
898
898
|
return e.length > 0 ? e : oi().filter((i) => i.moduleId === t);
|
|
899
899
|
}
|
|
900
|
-
const ve = (s) => class extends
|
|
900
|
+
const ve = (s) => class extends Sn(s) {
|
|
901
901
|
constructor() {
|
|
902
902
|
super(), si.add(new WeakRef(this));
|
|
903
903
|
}
|
|
@@ -909,7 +909,7 @@ const ve = (s) => class extends On(s) {
|
|
|
909
909
|
if (super.finalize(), this.is && Ti.add(this.is), this.elementStyles)
|
|
910
910
|
return;
|
|
911
911
|
const e = this.prototype._template;
|
|
912
|
-
!e ||
|
|
912
|
+
!e || uo(this) || In(this.getStylesForThis(), e);
|
|
913
913
|
}
|
|
914
914
|
/**
|
|
915
915
|
* Covers LitElement based component styling
|
|
@@ -927,7 +927,7 @@ const ve = (s) => class extends On(s) {
|
|
|
927
927
|
*/
|
|
928
928
|
static getStylesForThis() {
|
|
929
929
|
const e = s.__themes || [], i = Object.getPrototypeOf(this.prototype), o = (i ? i.constructor.__themes : []) || [];
|
|
930
|
-
this.__themes = [...e, ...o, ...
|
|
930
|
+
this.__themes = [...e, ...o, ...zn(this.is)];
|
|
931
931
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
932
932
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
933
933
|
}
|
|
@@ -937,19 +937,19 @@ const ve = (s) => class extends On(s) {
|
|
|
937
937
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
938
938
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
939
939
|
*/
|
|
940
|
-
const
|
|
940
|
+
const Rn = (s, ...t) => {
|
|
941
941
|
const e = document.createElement("style");
|
|
942
942
|
e.id = s, e.textContent = t.map((i) => i.toString()).join(`
|
|
943
943
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
944
944
|
}, Le = (s, ...t) => {
|
|
945
|
-
|
|
945
|
+
Rn(`lumo-${s}`, t);
|
|
946
946
|
};
|
|
947
947
|
/**
|
|
948
948
|
* @license
|
|
949
949
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
950
950
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
951
951
|
*/
|
|
952
|
-
const
|
|
952
|
+
const Hn = C`
|
|
953
953
|
:host {
|
|
954
954
|
--lumo-size-xs: 1.625rem;
|
|
955
955
|
--lumo-size-s: 1.875rem;
|
|
@@ -965,13 +965,13 @@ const $n = C`
|
|
|
965
965
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
966
966
|
}
|
|
967
967
|
`;
|
|
968
|
-
Le("sizing-props",
|
|
968
|
+
Le("sizing-props", Hn);
|
|
969
969
|
/**
|
|
970
970
|
* @license
|
|
971
971
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
972
972
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
973
973
|
*/
|
|
974
|
-
const
|
|
974
|
+
const $n = C`
|
|
975
975
|
:host {
|
|
976
976
|
/* Square */
|
|
977
977
|
--lumo-space-xs: 0.25rem;
|
|
@@ -995,13 +995,13 @@ const Vn = C`
|
|
|
995
995
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
996
996
|
}
|
|
997
997
|
`;
|
|
998
|
-
Le("spacing-props",
|
|
998
|
+
Le("spacing-props", $n);
|
|
999
999
|
/**
|
|
1000
1000
|
* @license
|
|
1001
1001
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1002
1002
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1003
1003
|
*/
|
|
1004
|
-
const
|
|
1004
|
+
const Vn = C`
|
|
1005
1005
|
:host {
|
|
1006
1006
|
/* Border radius */
|
|
1007
1007
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1103,13 +1103,13 @@ C`
|
|
|
1103
1103
|
--vaadin-input-field-value-font-weight: 500;
|
|
1104
1104
|
}
|
|
1105
1105
|
`;
|
|
1106
|
-
Le("style-props",
|
|
1106
|
+
Le("style-props", Vn);
|
|
1107
1107
|
/**
|
|
1108
1108
|
* @license
|
|
1109
1109
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1110
1110
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1111
1111
|
*/
|
|
1112
|
-
const
|
|
1112
|
+
const Un = C`
|
|
1113
1113
|
:host {
|
|
1114
1114
|
/* Base (background) */
|
|
1115
1115
|
--lumo-base-color: #fff;
|
|
@@ -1195,8 +1195,8 @@ const Yn = C`
|
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
`;
|
|
1198
|
-
Le("color-props",
|
|
1199
|
-
const
|
|
1198
|
+
Le("color-props", Un);
|
|
1199
|
+
const Yn = C`
|
|
1200
1200
|
[theme~='dark'] {
|
|
1201
1201
|
/* Base (background) */
|
|
1202
1202
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1315,13 +1315,13 @@ const Wn = C`
|
|
|
1315
1315
|
background: transparent;
|
|
1316
1316
|
}
|
|
1317
1317
|
`;
|
|
1318
|
-
S("",
|
|
1318
|
+
S("", Yn, { moduleId: "lumo-color" });
|
|
1319
1319
|
/**
|
|
1320
1320
|
* @license
|
|
1321
1321
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1322
1322
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1323
1323
|
*/
|
|
1324
|
-
const
|
|
1324
|
+
const Wn = C`
|
|
1325
1325
|
:host {
|
|
1326
1326
|
/* prettier-ignore */
|
|
1327
1327
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1341,7 +1341,7 @@ const jn = C`
|
|
|
1341
1341
|
--lumo-line-height-s: 1.375;
|
|
1342
1342
|
--lumo-line-height-m: 1.625;
|
|
1343
1343
|
}
|
|
1344
|
-
`,
|
|
1344
|
+
`, jn = C`
|
|
1345
1345
|
body,
|
|
1346
1346
|
:host {
|
|
1347
1347
|
font-family: var(--lumo-font-family);
|
|
@@ -1434,14 +1434,14 @@ const jn = C`
|
|
|
1434
1434
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1435
1435
|
}
|
|
1436
1436
|
`;
|
|
1437
|
-
S("",
|
|
1438
|
-
Le("typography-props",
|
|
1437
|
+
S("", jn, { moduleId: "lumo-typography" });
|
|
1438
|
+
Le("typography-props", Wn);
|
|
1439
1439
|
/**
|
|
1440
1440
|
* @license
|
|
1441
1441
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1442
1442
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1443
1443
|
*/
|
|
1444
|
-
const
|
|
1444
|
+
const mo = C`
|
|
1445
1445
|
:host {
|
|
1446
1446
|
top: var(--lumo-space-m);
|
|
1447
1447
|
right: var(--lumo-space-m);
|
|
@@ -1507,13 +1507,13 @@ const go = C`
|
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
1509
|
`;
|
|
1510
|
-
S("",
|
|
1510
|
+
S("", mo, { moduleId: "lumo-overlay" });
|
|
1511
1511
|
/**
|
|
1512
1512
|
* @license
|
|
1513
1513
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1514
1514
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1515
1515
|
*/
|
|
1516
|
-
const
|
|
1516
|
+
const go = C`
|
|
1517
1517
|
:host([opening]),
|
|
1518
1518
|
:host([closing]) {
|
|
1519
1519
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1544,8 +1544,8 @@ const yo = C`
|
|
|
1544
1544
|
}
|
|
1545
1545
|
}
|
|
1546
1546
|
`;
|
|
1547
|
-
S("",
|
|
1548
|
-
const
|
|
1547
|
+
S("", go, { moduleId: "lumo-menu-overlay-core" });
|
|
1548
|
+
const qn = C`
|
|
1549
1549
|
/* Small viewport (bottom sheet) styles */
|
|
1550
1550
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1551
1551
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1607,9 +1607,9 @@ const Kn = C`
|
|
|
1607
1607
|
transform: translateY(150%);
|
|
1608
1608
|
}
|
|
1609
1609
|
}
|
|
1610
|
-
`,
|
|
1611
|
-
S("",
|
|
1612
|
-
const
|
|
1610
|
+
`, yo = [mo, go, qn];
|
|
1611
|
+
S("", yo, { moduleId: "lumo-menu-overlay" });
|
|
1612
|
+
const Kn = C`
|
|
1613
1613
|
[part='overlay'] {
|
|
1614
1614
|
/*
|
|
1615
1615
|
Width:
|
|
@@ -1655,10 +1655,10 @@ const Gn = C`
|
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
1657
|
`;
|
|
1658
|
-
S("vaadin-date-picker-overlay", [
|
|
1658
|
+
S("vaadin-date-picker-overlay", [yo, Kn], {
|
|
1659
1659
|
moduleId: "lumo-date-picker-overlay"
|
|
1660
1660
|
});
|
|
1661
|
-
const
|
|
1661
|
+
const Gn = C`
|
|
1662
1662
|
:host {
|
|
1663
1663
|
/* Sizing */
|
|
1664
1664
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1935,7 +1935,7 @@ const Xn = C`
|
|
|
1935
1935
|
margin-right: 0;
|
|
1936
1936
|
}
|
|
1937
1937
|
`;
|
|
1938
|
-
S("vaadin-button",
|
|
1938
|
+
S("vaadin-button", Gn, { moduleId: "lumo-button" });
|
|
1939
1939
|
S(
|
|
1940
1940
|
"vaadin-date-picker-year",
|
|
1941
1941
|
C`
|
|
@@ -2460,7 +2460,7 @@ S(
|
|
|
2460
2460
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2461
2461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2462
2462
|
*/
|
|
2463
|
-
const
|
|
2463
|
+
const Xn = C`
|
|
2464
2464
|
@font-face {
|
|
2465
2465
|
font-family: 'lumo-icons';
|
|
2466
2466
|
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==)
|
|
@@ -2514,13 +2514,13 @@ const Jn = C`
|
|
|
2514
2514
|
--lumo-icons-user: '\\ea2a';
|
|
2515
2515
|
}
|
|
2516
2516
|
`;
|
|
2517
|
-
Le("font-icons",
|
|
2517
|
+
Le("font-icons", Xn);
|
|
2518
2518
|
/**
|
|
2519
2519
|
* @license
|
|
2520
2520
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2521
2521
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2522
2522
|
*/
|
|
2523
|
-
const
|
|
2523
|
+
const bo = C`
|
|
2524
2524
|
[part$='button'] {
|
|
2525
2525
|
flex: none;
|
|
2526
2526
|
width: 1em;
|
|
@@ -2548,13 +2548,13 @@ const vo = C`
|
|
|
2548
2548
|
display: block;
|
|
2549
2549
|
}
|
|
2550
2550
|
`;
|
|
2551
|
-
S("",
|
|
2551
|
+
S("", bo, { moduleId: "lumo-field-button" });
|
|
2552
2552
|
/**
|
|
2553
2553
|
* @license
|
|
2554
2554
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2555
2555
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2556
2556
|
*/
|
|
2557
|
-
const
|
|
2557
|
+
const Jn = C`
|
|
2558
2558
|
:host {
|
|
2559
2559
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2560
2560
|
}
|
|
@@ -2616,7 +2616,7 @@ const Qn = C`
|
|
|
2616
2616
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2617
2617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2618
2618
|
*/
|
|
2619
|
-
const
|
|
2619
|
+
const vo = C`
|
|
2620
2620
|
[part='label'] {
|
|
2621
2621
|
align-self: flex-start;
|
|
2622
2622
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2729,13 +2729,13 @@ const wo = C`
|
|
|
2729
2729
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2730
2730
|
}
|
|
2731
2731
|
`;
|
|
2732
|
-
S("",
|
|
2732
|
+
S("", vo, { moduleId: "lumo-required-field" });
|
|
2733
2733
|
/**
|
|
2734
2734
|
* @license
|
|
2735
2735
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2736
2736
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2737
2737
|
*/
|
|
2738
|
-
const
|
|
2738
|
+
const Qn = C`
|
|
2739
2739
|
:host {
|
|
2740
2740
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2741
2741
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2866,11 +2866,11 @@ const Zn = C`
|
|
|
2866
2866
|
[part='clear-button']::before {
|
|
2867
2867
|
content: var(--lumo-icons-cross);
|
|
2868
2868
|
}
|
|
2869
|
-
`,
|
|
2870
|
-
S("",
|
|
2869
|
+
`, wo = [vo, bo, Jn, Qn];
|
|
2870
|
+
S("", wo, {
|
|
2871
2871
|
moduleId: "lumo-input-field-shared-styles"
|
|
2872
2872
|
});
|
|
2873
|
-
const
|
|
2873
|
+
const Zn = C`
|
|
2874
2874
|
[part='toggle-button']::before {
|
|
2875
2875
|
content: var(--lumo-icons-calendar);
|
|
2876
2876
|
}
|
|
@@ -2893,7 +2893,7 @@ const ea = C`
|
|
|
2893
2893
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2894
2894
|
}
|
|
2895
2895
|
`;
|
|
2896
|
-
S("vaadin-date-picker", [
|
|
2896
|
+
S("vaadin-date-picker", [wo, Zn], { moduleId: "lumo-date-picker" });
|
|
2897
2897
|
/**
|
|
2898
2898
|
@license
|
|
2899
2899
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2915,9 +2915,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2915
2915
|
Code distributed by Google as part of the polymer project is also
|
|
2916
2916
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2917
2917
|
*/
|
|
2918
|
-
let
|
|
2918
|
+
let ea = /(url\()([^)]*)(\))/g, ta = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ht, V;
|
|
2919
2919
|
function Qe(s, t) {
|
|
2920
|
-
if (s &&
|
|
2920
|
+
if (s && ta.test(s) || s === "//")
|
|
2921
2921
|
return s;
|
|
2922
2922
|
if (ht === void 0) {
|
|
2923
2923
|
ht = !1;
|
|
@@ -2936,7 +2936,7 @@ function Qe(s, t) {
|
|
|
2936
2936
|
return V || (V = document.implementation.createHTMLDocument("temp"), V.base = V.createElement("base"), V.head.appendChild(V.base), V.anchor = V.createElement("a"), V.body.appendChild(V.anchor)), V.base.href = t, V.anchor.href = s, V.anchor.href || s;
|
|
2937
2937
|
}
|
|
2938
2938
|
function Si(s, t) {
|
|
2939
|
-
return s.replace(
|
|
2939
|
+
return s.replace(ea, function(e, i, o, r) {
|
|
2940
2940
|
return i + "'" + Qe(o.replace(/["']/g, ""), t) + "'" + r;
|
|
2941
2941
|
});
|
|
2942
2942
|
}
|
|
@@ -2952,9 +2952,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2952
2952
|
Code distributed by Google as part of the polymer project is also
|
|
2953
2953
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2954
2954
|
*/
|
|
2955
|
-
const
|
|
2955
|
+
const xo = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2956
2956
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2957
|
-
const
|
|
2957
|
+
const ia = xo && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2958
2958
|
(() => {
|
|
2959
2959
|
try {
|
|
2960
2960
|
const s = new CSSStyleSheet();
|
|
@@ -2965,11 +2965,11 @@ const sa = Co && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2965
2965
|
return !1;
|
|
2966
2966
|
}
|
|
2967
2967
|
})();
|
|
2968
|
-
let
|
|
2968
|
+
let sa = window.Polymer && window.Polymer.rootPath || Oi(document.baseURI || window.location.href), xt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2969
2969
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2970
|
-
let Ct = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2970
|
+
let Ct = window.Polymer && window.Polymer.strictTemplatePolicy || !1, oa = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Co = window.Polymer && window.Polymer.legacyOptimizations || !1, Ao = window.Polymer && window.Polymer.legacyWarnings || !1, ra = window.Polymer && window.Polymer.syncInitialRender || !1, ri = window.Polymer && window.Polymer.legacyUndefined || !1, na = window.Polymer && window.Polymer.orderedComputed || !1, fs = window.Polymer && window.Polymer.removeNestedTemplates || !1, aa = window.Polymer && window.Polymer.fastDomIf || !1, _s = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2971
2971
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2972
|
-
let
|
|
2972
|
+
let la = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2973
2973
|
/**
|
|
2974
2974
|
@license
|
|
2975
2975
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2979,14 +2979,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2979
2979
|
Code distributed by Google as part of the polymer project is also
|
|
2980
2980
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2981
2981
|
*/
|
|
2982
|
-
let
|
|
2982
|
+
let da = 0;
|
|
2983
2983
|
const N = function(s) {
|
|
2984
2984
|
let t = (
|
|
2985
2985
|
/** @type {!MixinFunction} */
|
|
2986
2986
|
s.__mixinApplications
|
|
2987
2987
|
);
|
|
2988
2988
|
t || (t = /* @__PURE__ */ new WeakMap(), s.__mixinApplications = t);
|
|
2989
|
-
let e =
|
|
2989
|
+
let e = da++;
|
|
2990
2990
|
function i(o) {
|
|
2991
2991
|
let r = (
|
|
2992
2992
|
/** @type {!MixinFunction} */
|
|
@@ -3017,14 +3017,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3017
3017
|
Code distributed by Google as part of the polymer project is also
|
|
3018
3018
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3019
3019
|
*/
|
|
3020
|
-
let Mi = {},
|
|
3021
|
-
function
|
|
3022
|
-
Mi[s] =
|
|
3020
|
+
let Mi = {}, Eo = {};
|
|
3021
|
+
function ms(s, t) {
|
|
3022
|
+
Mi[s] = Eo[s.toLowerCase()] = t;
|
|
3023
3023
|
}
|
|
3024
|
-
function
|
|
3025
|
-
return Mi[s] ||
|
|
3024
|
+
function gs(s) {
|
|
3025
|
+
return Mi[s] || Eo[s.toLowerCase()];
|
|
3026
3026
|
}
|
|
3027
|
-
function
|
|
3027
|
+
function ca(s) {
|
|
3028
3028
|
s.querySelector("style") && console.warn("dom-module %s has style outside template", s.id);
|
|
3029
3029
|
}
|
|
3030
3030
|
class it extends HTMLElement {
|
|
@@ -3045,7 +3045,7 @@ class it extends HTMLElement {
|
|
|
3045
3045
|
*/
|
|
3046
3046
|
static import(t, e) {
|
|
3047
3047
|
if (t) {
|
|
3048
|
-
let i =
|
|
3048
|
+
let i = gs(t);
|
|
3049
3049
|
return i && e ? i.querySelector(e) : i;
|
|
3050
3050
|
}
|
|
3051
3051
|
return null;
|
|
@@ -3093,9 +3093,9 @@ class it extends HTMLElement {
|
|
|
3093
3093
|
*/
|
|
3094
3094
|
register(t) {
|
|
3095
3095
|
if (t = t || this.id, t) {
|
|
3096
|
-
if (Ct &&
|
|
3097
|
-
throw
|
|
3098
|
-
this.id = t,
|
|
3096
|
+
if (Ct && gs(t) !== void 0)
|
|
3097
|
+
throw ms(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3098
|
+
this.id = t, ms(t, this), ca(this);
|
|
3099
3099
|
}
|
|
3100
3100
|
}
|
|
3101
3101
|
}
|
|
@@ -3110,14 +3110,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3110
3110
|
Code distributed by Google as part of the polymer project is also
|
|
3111
3111
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3112
3112
|
*/
|
|
3113
|
-
const
|
|
3114
|
-
function
|
|
3113
|
+
const ua = "link[rel=import][type~=css]", ha = "include", ys = "shady-unscoped";
|
|
3114
|
+
function Po(s) {
|
|
3115
3115
|
return (
|
|
3116
3116
|
/** @type {?DomModule} */
|
|
3117
3117
|
it.import(s)
|
|
3118
3118
|
);
|
|
3119
3119
|
}
|
|
3120
|
-
function
|
|
3120
|
+
function bs(s) {
|
|
3121
3121
|
let t = s.body ? s.body : s;
|
|
3122
3122
|
const e = Si(
|
|
3123
3123
|
t.textContent,
|
|
@@ -3125,24 +3125,24 @@ function vs(s) {
|
|
|
3125
3125
|
), i = document.createElement("style");
|
|
3126
3126
|
return i.textContent = e, i;
|
|
3127
3127
|
}
|
|
3128
|
-
function
|
|
3128
|
+
function pa(s) {
|
|
3129
3129
|
const t = s.trim().split(/\s+/), e = [];
|
|
3130
3130
|
for (let i = 0; i < t.length; i++)
|
|
3131
|
-
e.push(...
|
|
3131
|
+
e.push(...fa(t[i]));
|
|
3132
3132
|
return e;
|
|
3133
3133
|
}
|
|
3134
|
-
function
|
|
3135
|
-
const t =
|
|
3134
|
+
function fa(s) {
|
|
3135
|
+
const t = Po(s);
|
|
3136
3136
|
if (!t)
|
|
3137
3137
|
return console.warn("Could not find style data in module named", s), [];
|
|
3138
3138
|
if (t._styles === void 0) {
|
|
3139
3139
|
const e = [];
|
|
3140
|
-
e.push(...
|
|
3140
|
+
e.push(...Do(t));
|
|
3141
3141
|
const i = (
|
|
3142
3142
|
/** @type {?HTMLTemplateElement} */
|
|
3143
3143
|
t.querySelector("template")
|
|
3144
3144
|
);
|
|
3145
|
-
i && e.push(...
|
|
3145
|
+
i && e.push(...ko(
|
|
3146
3146
|
i,
|
|
3147
3147
|
/** @type {templateWithAssetPath} */
|
|
3148
3148
|
t.assetpath
|
|
@@ -3150,12 +3150,12 @@ function _a(s) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
return t._styles;
|
|
3152
3152
|
}
|
|
3153
|
-
function
|
|
3153
|
+
function ko(s, t) {
|
|
3154
3154
|
if (!s._styles) {
|
|
3155
3155
|
const e = [], i = s.content.querySelectorAll("style");
|
|
3156
3156
|
for (let o = 0; o < i.length; o++) {
|
|
3157
|
-
let r = i[o], n = r.getAttribute(
|
|
3158
|
-
n && e.push(...
|
|
3157
|
+
let r = i[o], n = r.getAttribute(ha);
|
|
3158
|
+
n && e.push(...pa(n).filter(function(a, l, d) {
|
|
3159
3159
|
return d.indexOf(a) === l;
|
|
3160
3160
|
})), t && (r.textContent = Si(
|
|
3161
3161
|
r.textContent,
|
|
@@ -3167,21 +3167,21 @@ function Do(s, t) {
|
|
|
3167
3167
|
}
|
|
3168
3168
|
return s._styles;
|
|
3169
3169
|
}
|
|
3170
|
-
function
|
|
3171
|
-
let t =
|
|
3172
|
-
return t ?
|
|
3170
|
+
function _a(s) {
|
|
3171
|
+
let t = Po(s);
|
|
3172
|
+
return t ? Do(t) : [];
|
|
3173
3173
|
}
|
|
3174
|
-
function
|
|
3175
|
-
const t = [], e = s.querySelectorAll(
|
|
3174
|
+
function Do(s) {
|
|
3175
|
+
const t = [], e = s.querySelectorAll(ua);
|
|
3176
3176
|
for (let i = 0; i < e.length; i++) {
|
|
3177
3177
|
let o = e[i];
|
|
3178
3178
|
if (o.import) {
|
|
3179
|
-
const r = o.import, n = o.hasAttribute(
|
|
3179
|
+
const r = o.import, n = o.hasAttribute(ys);
|
|
3180
3180
|
if (n && !r._unscopedStyle) {
|
|
3181
|
-
const a =
|
|
3182
|
-
a.setAttribute(
|
|
3181
|
+
const a = bs(r);
|
|
3182
|
+
a.setAttribute(ys, ""), r._unscopedStyle = a;
|
|
3183
3183
|
} else
|
|
3184
|
-
r._style || (r._style =
|
|
3184
|
+
r._style || (r._style = bs(r));
|
|
3185
3185
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3186
3186
|
}
|
|
3187
3187
|
}
|
|
@@ -3213,7 +3213,7 @@ function we(s) {
|
|
|
3213
3213
|
let t = s.indexOf(".");
|
|
3214
3214
|
return t === -1 ? s : s.slice(0, t);
|
|
3215
3215
|
}
|
|
3216
|
-
function
|
|
3216
|
+
function To(s, t) {
|
|
3217
3217
|
return s.indexOf(t + ".") === 0;
|
|
3218
3218
|
}
|
|
3219
3219
|
function st(s, t) {
|
|
@@ -3222,8 +3222,8 @@ function st(s, t) {
|
|
|
3222
3222
|
function ot(s, t, e) {
|
|
3223
3223
|
return t + e.slice(s.length);
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3226
|
-
return s === t ||
|
|
3225
|
+
function ma(s, t) {
|
|
3226
|
+
return s === t || To(s, t) || st(s, t);
|
|
3227
3227
|
}
|
|
3228
3228
|
function Ke(s) {
|
|
3229
3229
|
if (Array.isArray(s)) {
|
|
@@ -3237,11 +3237,11 @@ function Ke(s) {
|
|
|
3237
3237
|
} else
|
|
3238
3238
|
return s;
|
|
3239
3239
|
}
|
|
3240
|
-
function
|
|
3240
|
+
function So(s) {
|
|
3241
3241
|
return Array.isArray(s) ? Ke(s).split(".") : s.toString().split(".");
|
|
3242
3242
|
}
|
|
3243
3243
|
function H(s, t, e) {
|
|
3244
|
-
let i = s, o =
|
|
3244
|
+
let i = s, o = So(t);
|
|
3245
3245
|
for (let r = 0; r < o.length; r++) {
|
|
3246
3246
|
if (!i)
|
|
3247
3247
|
return;
|
|
@@ -3250,8 +3250,8 @@ function H(s, t, e) {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
return e && (e.path = o.join(".")), i;
|
|
3252
3252
|
}
|
|
3253
|
-
function
|
|
3254
|
-
let i = s, o =
|
|
3253
|
+
function vs(s, t, e) {
|
|
3254
|
+
let i = s, o = So(t), r = o[o.length - 1];
|
|
3255
3255
|
if (o.length > 1) {
|
|
3256
3256
|
for (let n = 0; n < o.length - 1; n++) {
|
|
3257
3257
|
let a = o[n];
|
|
@@ -3272,15 +3272,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3272
3272
|
Code distributed by Google as part of the polymer project is also
|
|
3273
3273
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3274
3274
|
*/
|
|
3275
|
-
const At = {},
|
|
3276
|
-
function
|
|
3275
|
+
const At = {}, ga = /-[a-z]/g, ya = /([A-Z])/g;
|
|
3276
|
+
function Oo(s) {
|
|
3277
3277
|
return At[s] || (At[s] = s.indexOf("-") < 0 ? s : s.replace(
|
|
3278
|
-
|
|
3278
|
+
ga,
|
|
3279
3279
|
(t) => t[1].toUpperCase()
|
|
3280
3280
|
));
|
|
3281
3281
|
}
|
|
3282
3282
|
function Tt(s) {
|
|
3283
|
-
return At[s] || (At[s] = s.replace(
|
|
3283
|
+
return At[s] || (At[s] = s.replace(ya, "-$1").toLowerCase());
|
|
3284
3284
|
}
|
|
3285
3285
|
/**
|
|
3286
3286
|
@license
|
|
@@ -3291,9 +3291,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3291
3291
|
Code distributed by Google as part of the polymer project is also
|
|
3292
3292
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3293
3293
|
*/
|
|
3294
|
-
let
|
|
3295
|
-
new window.MutationObserver(
|
|
3296
|
-
function
|
|
3294
|
+
let ba = 0, Mo = 0, Se = [], va = 0, ai = !1, Io = document.createTextNode("");
|
|
3295
|
+
new window.MutationObserver(wa).observe(Io, { characterData: !0 });
|
|
3296
|
+
function wa() {
|
|
3297
3297
|
ai = !1;
|
|
3298
3298
|
const s = Se.length;
|
|
3299
3299
|
for (let t = 0; t < s; t++) {
|
|
@@ -3307,9 +3307,9 @@ function xa() {
|
|
|
3307
3307
|
});
|
|
3308
3308
|
}
|
|
3309
3309
|
}
|
|
3310
|
-
Se.splice(0, s),
|
|
3310
|
+
Se.splice(0, s), Mo += s;
|
|
3311
3311
|
}
|
|
3312
|
-
const
|
|
3312
|
+
const xa = {
|
|
3313
3313
|
/**
|
|
3314
3314
|
* Returns a sub-module with the async interface providing the provided
|
|
3315
3315
|
* delay.
|
|
@@ -3349,7 +3349,7 @@ const Ca = {
|
|
|
3349
3349
|
cancel(s) {
|
|
3350
3350
|
window.clearTimeout(s);
|
|
3351
3351
|
}
|
|
3352
|
-
},
|
|
3352
|
+
}, No = {
|
|
3353
3353
|
/**
|
|
3354
3354
|
* Enqueues a function called at microtask timing.
|
|
3355
3355
|
*
|
|
@@ -3358,7 +3358,7 @@ const Ca = {
|
|
|
3358
3358
|
* @return {number} Handle used for canceling task
|
|
3359
3359
|
*/
|
|
3360
3360
|
run(s) {
|
|
3361
|
-
return ai || (ai = !0,
|
|
3361
|
+
return ai || (ai = !0, Io.textContent = va++), Se.push(s), ba++;
|
|
3362
3362
|
},
|
|
3363
3363
|
/**
|
|
3364
3364
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3368,7 +3368,7 @@ const Ca = {
|
|
|
3368
3368
|
* @return {void}
|
|
3369
3369
|
*/
|
|
3370
3370
|
cancel(s) {
|
|
3371
|
-
const t = s -
|
|
3371
|
+
const t = s - Mo;
|
|
3372
3372
|
if (t >= 0) {
|
|
3373
3373
|
if (!Se[t])
|
|
3374
3374
|
throw new Error("invalid async handle: " + s);
|
|
@@ -3385,7 +3385,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3385
3385
|
Code distributed by Google as part of the polymer project is also
|
|
3386
3386
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3387
3387
|
*/
|
|
3388
|
-
const
|
|
3388
|
+
const Ca = No, Fo = N(
|
|
3389
3389
|
/**
|
|
3390
3390
|
* @template T
|
|
3391
3391
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3594,7 +3594,7 @@ const Aa = Fo, Bo = N(
|
|
|
3594
3594
|
* @override
|
|
3595
3595
|
*/
|
|
3596
3596
|
_invalidateProperties() {
|
|
3597
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3597
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Ca.run(() => {
|
|
3598
3598
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3599
3599
|
}));
|
|
3600
3600
|
}
|
|
@@ -3821,23 +3821,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3821
3821
|
Code distributed by Google as part of the polymer project is also
|
|
3822
3822
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3823
3823
|
*/
|
|
3824
|
-
const
|
|
3824
|
+
const Bo = {};
|
|
3825
3825
|
let pt = HTMLElement.prototype;
|
|
3826
3826
|
for (; pt; ) {
|
|
3827
3827
|
let s = Object.getOwnPropertyNames(pt);
|
|
3828
3828
|
for (let t = 0; t < s.length; t++)
|
|
3829
|
-
|
|
3829
|
+
Bo[s[t]] = !0;
|
|
3830
3830
|
pt = Object.getPrototypeOf(pt);
|
|
3831
3831
|
}
|
|
3832
|
-
const
|
|
3833
|
-
function
|
|
3834
|
-
if (!
|
|
3832
|
+
const Aa = window.trustedTypes ? (s) => trustedTypes.isHTML(s) || trustedTypes.isScript(s) || trustedTypes.isScriptURL(s) : () => !1;
|
|
3833
|
+
function Ea(s, t) {
|
|
3834
|
+
if (!Bo[t]) {
|
|
3835
3835
|
let e = s[t];
|
|
3836
3836
|
e !== void 0 && (s.__data ? s._setPendingProperty(t, e) : (s.__dataProto ? s.hasOwnProperty(JSCompiler_renameProperty("__dataProto", s)) || (s.__dataProto = Object.create(s.__dataProto)) : s.__dataProto = {}, s.__dataProto[t] = e));
|
|
3837
3837
|
}
|
|
3838
3838
|
}
|
|
3839
|
-
const
|
|
3840
|
-
const t =
|
|
3839
|
+
const Pa = N((s) => {
|
|
3840
|
+
const t = Fo(s);
|
|
3841
3841
|
class e extends t {
|
|
3842
3842
|
/**
|
|
3843
3843
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3855,7 +3855,7 @@ const ka = N((s) => {
|
|
|
3855
3855
|
this.observedAttributes
|
|
3856
3856
|
);
|
|
3857
3857
|
for (let r = 0; r < o.length; r++)
|
|
3858
|
-
this.prototype._createPropertyAccessor(
|
|
3858
|
+
this.prototype._createPropertyAccessor(Oo(o[r]));
|
|
3859
3859
|
}
|
|
3860
3860
|
/**
|
|
3861
3861
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3932,7 +3932,7 @@ const ka = N((s) => {
|
|
|
3932
3932
|
if (o instanceof Date)
|
|
3933
3933
|
return o.toString();
|
|
3934
3934
|
if (o) {
|
|
3935
|
-
if (
|
|
3935
|
+
if (Aa(o))
|
|
3936
3936
|
return (
|
|
3937
3937
|
/** @type {?} */
|
|
3938
3938
|
o
|
|
@@ -4013,7 +4013,7 @@ const ka = N((s) => {
|
|
|
4013
4013
|
* @override
|
|
4014
4014
|
*/
|
|
4015
4015
|
_definePropertyAccessor(o, r) {
|
|
4016
|
-
|
|
4016
|
+
Ea(this, o), super._definePropertyAccessor(o, r);
|
|
4017
4017
|
}
|
|
4018
4018
|
/**
|
|
4019
4019
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -4048,23 +4048,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4048
4048
|
Code distributed by Google as part of the polymer project is also
|
|
4049
4049
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4050
4050
|
*/
|
|
4051
|
-
const
|
|
4051
|
+
const ka = {
|
|
4052
4052
|
"dom-if": !0,
|
|
4053
4053
|
"dom-repeat": !0
|
|
4054
4054
|
};
|
|
4055
|
-
let
|
|
4056
|
-
function
|
|
4057
|
-
if (!
|
|
4058
|
-
|
|
4055
|
+
let ws = !1, xs = !1;
|
|
4056
|
+
function Da() {
|
|
4057
|
+
if (!ws) {
|
|
4058
|
+
ws = !0;
|
|
4059
4059
|
const s = document.createElement("textarea");
|
|
4060
|
-
s.placeholder = "a",
|
|
4060
|
+
s.placeholder = "a", xs = s.placeholder === s.textContent;
|
|
4061
4061
|
}
|
|
4062
|
-
return
|
|
4062
|
+
return xs;
|
|
4063
4063
|
}
|
|
4064
|
-
function
|
|
4065
|
-
|
|
4064
|
+
function Ta(s) {
|
|
4065
|
+
Da() && s.localName === "textarea" && s.placeholder && s.placeholder === s.textContent && (s.textContent = null);
|
|
4066
4066
|
}
|
|
4067
|
-
const
|
|
4067
|
+
const Sa = (() => {
|
|
4068
4068
|
const s = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
4069
4069
|
"polymer-template-event-attribute-policy",
|
|
4070
4070
|
{
|
|
@@ -4083,19 +4083,19 @@ const Oa = (() => {
|
|
|
4083
4083
|
t.setAttribute(i, o);
|
|
4084
4084
|
};
|
|
4085
4085
|
})();
|
|
4086
|
-
function
|
|
4086
|
+
function Oa(s) {
|
|
4087
4087
|
let t = s.getAttribute("is");
|
|
4088
|
-
if (t &&
|
|
4088
|
+
if (t && ka[t]) {
|
|
4089
4089
|
let e = s;
|
|
4090
4090
|
for (e.removeAttribute("is"), s = e.ownerDocument.createElement(t), e.parentNode.replaceChild(s, e), s.appendChild(e); e.attributes.length; ) {
|
|
4091
4091
|
const { name: i } = e.attributes[0];
|
|
4092
|
-
|
|
4092
|
+
Sa(s, e, i), e.removeAttribute(i);
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
4095
|
return s;
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4098
|
-
let e = t.parentInfo &&
|
|
4097
|
+
function Lo(s, t) {
|
|
4098
|
+
let e = t.parentInfo && Lo(s, t.parentInfo);
|
|
4099
4099
|
if (e) {
|
|
4100
4100
|
for (let i = e.firstChild, o = 0; i; i = i.nextSibling)
|
|
4101
4101
|
if (t.parentIndex === o++)
|
|
@@ -4103,23 +4103,23 @@ function zo(s, t) {
|
|
|
4103
4103
|
} else
|
|
4104
4104
|
return s;
|
|
4105
4105
|
}
|
|
4106
|
-
function
|
|
4106
|
+
function Ma(s, t, e, i) {
|
|
4107
4107
|
i.id && (t[i.id] = e);
|
|
4108
4108
|
}
|
|
4109
|
-
function
|
|
4109
|
+
function Ia(s, t, e) {
|
|
4110
4110
|
if (e.events && e.events.length)
|
|
4111
4111
|
for (let i = 0, o = e.events, r; i < o.length && (r = o[i]); i++)
|
|
4112
4112
|
s._addMethodEventListenerToNode(t, r.name, r.value, s);
|
|
4113
4113
|
}
|
|
4114
|
-
function
|
|
4114
|
+
function Na(s, t, e, i) {
|
|
4115
4115
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4116
4116
|
}
|
|
4117
|
-
function
|
|
4117
|
+
function Fa(s, t, e) {
|
|
4118
4118
|
return s = s._methodHost || s, function(o) {
|
|
4119
4119
|
s[e] ? s[e](o, o.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4120
4120
|
};
|
|
4121
4121
|
}
|
|
4122
|
-
const
|
|
4122
|
+
const Ba = N(
|
|
4123
4123
|
/**
|
|
4124
4124
|
* @template T
|
|
4125
4125
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4246,7 +4246,7 @@ const La = N(
|
|
|
4246
4246
|
/** @type {!HTMLTemplateElement} */
|
|
4247
4247
|
i
|
|
4248
4248
|
);
|
|
4249
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, o, r) || n : a.localName === "slot" && (o.hasInsertionPoint = !0),
|
|
4249
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, o, r) || n : a.localName === "slot" && (o.hasInsertionPoint = !0), Ta(a), a.firstChild && this._parseTemplateChildNodes(a, o, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, o, r) || n), n || r.noted;
|
|
4250
4250
|
}
|
|
4251
4251
|
/**
|
|
4252
4252
|
* Parses template child nodes for the given root node.
|
|
@@ -4264,7 +4264,7 @@ const La = N(
|
|
|
4264
4264
|
static _parseTemplateChildNodes(i, o, r) {
|
|
4265
4265
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4266
4266
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4267
|
-
if (n.localName == "template" && (n =
|
|
4267
|
+
if (n.localName == "template" && (n = Oa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4268
4268
|
let c = l;
|
|
4269
4269
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
4270
4270
|
n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
@@ -4399,8 +4399,8 @@ const La = N(
|
|
|
4399
4399
|
let l = a.nodeList = new Array(r.length);
|
|
4400
4400
|
a.$ = {};
|
|
4401
4401
|
for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
|
|
4402
|
-
let h = l[d] =
|
|
4403
|
-
|
|
4402
|
+
let h = l[d] = Lo(a, u);
|
|
4403
|
+
Ma(this, a.$, h, u), Na(this, h, u, o), Ia(this, h, u);
|
|
4404
4404
|
}
|
|
4405
4405
|
return a = /** @type {!StampedTemplate} */
|
|
4406
4406
|
a, a;
|
|
@@ -4421,7 +4421,7 @@ const La = N(
|
|
|
4421
4421
|
*/
|
|
4422
4422
|
_addMethodEventListenerToNode(i, o, r, n) {
|
|
4423
4423
|
n = n || i;
|
|
4424
|
-
let a =
|
|
4424
|
+
let a = Fa(n, o, r);
|
|
4425
4425
|
return this._addEventListenerToNode(i, o, a), a;
|
|
4426
4426
|
}
|
|
4427
4427
|
/**
|
|
@@ -4471,7 +4471,7 @@ const nt = [], E = {
|
|
|
4471
4471
|
PROPAGATE: "__propagateEffects",
|
|
4472
4472
|
OBSERVE: "__observeEffects",
|
|
4473
4473
|
READ_ONLY: "__readOnly"
|
|
4474
|
-
},
|
|
4474
|
+
}, zo = "__computeInfo", La = /[A-Z]/;
|
|
4475
4475
|
function Vt(s, t, e) {
|
|
4476
4476
|
let i = s[t];
|
|
4477
4477
|
if (!i)
|
|
@@ -4498,7 +4498,7 @@ function Ge(s, t, e, i, o, r) {
|
|
|
4498
4498
|
}
|
|
4499
4499
|
return !1;
|
|
4500
4500
|
}
|
|
4501
|
-
function
|
|
4501
|
+
function za(s, t, e, i, o, r, n, a) {
|
|
4502
4502
|
let l = !1, d = n ? we(i) : i, c = t[d];
|
|
4503
4503
|
if (c)
|
|
4504
4504
|
for (let u = 0, h = c.length, f; u < h && (f = c[u]); u++)
|
|
@@ -4511,30 +4511,30 @@ function Ii(s, t) {
|
|
|
4511
4511
|
/** @type {string} */
|
|
4512
4512
|
t.name
|
|
4513
4513
|
);
|
|
4514
|
-
return e == s || !!(t.structured &&
|
|
4514
|
+
return e == s || !!(t.structured && To(e, s)) || !!(t.wildcard && st(e, s));
|
|
4515
4515
|
} else
|
|
4516
4516
|
return !0;
|
|
4517
4517
|
}
|
|
4518
|
-
function
|
|
4518
|
+
function Cs(s, t, e, i, o) {
|
|
4519
4519
|
let r = typeof o.method == "string" ? s[o.method] : o.method, n = o.property;
|
|
4520
4520
|
r ? r.call(s, s.__data[n], i[n]) : o.dynamicFn || console.warn("observer method `" + o.method + "` not defined");
|
|
4521
4521
|
}
|
|
4522
|
-
function
|
|
4522
|
+
function Ra(s, t, e, i, o) {
|
|
4523
4523
|
let r = s[E.NOTIFY], n, a = rt++;
|
|
4524
4524
|
for (let d in t)
|
|
4525
|
-
t[d] && (r &&
|
|
4525
|
+
t[d] && (r && za(s, r, a, d, e, i, o) || o && Ha(s, d, e)) && (n = !0);
|
|
4526
4526
|
let l;
|
|
4527
4527
|
n && (l = s.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4528
4528
|
}
|
|
4529
|
-
function
|
|
4529
|
+
function Ha(s, t, e) {
|
|
4530
4530
|
let i = we(t);
|
|
4531
4531
|
if (i !== t) {
|
|
4532
4532
|
let o = Tt(i) + "-changed";
|
|
4533
|
-
return
|
|
4533
|
+
return Ro(s, o, e[t], t), !0;
|
|
4534
4534
|
}
|
|
4535
4535
|
return !1;
|
|
4536
4536
|
}
|
|
4537
|
-
function
|
|
4537
|
+
function Ro(s, t, e, i) {
|
|
4538
4538
|
let o = {
|
|
4539
4539
|
value: e,
|
|
4540
4540
|
queueProperty: !0
|
|
@@ -4544,18 +4544,18 @@ function Ho(s, t, e, i) {
|
|
|
4544
4544
|
s
|
|
4545
4545
|
).dispatchEvent(new CustomEvent(t, { detail: o }));
|
|
4546
4546
|
}
|
|
4547
|
-
function
|
|
4547
|
+
function $a(s, t, e, i, o, r) {
|
|
4548
4548
|
let a = (r ? we(t) : t) != t ? t : null, l = a ? H(s, a) : s.__data[t];
|
|
4549
|
-
a && l === void 0 && (l = e[t]),
|
|
4549
|
+
a && l === void 0 && (l = e[t]), Ro(s, o.eventName, l, a);
|
|
4550
4550
|
}
|
|
4551
|
-
function
|
|
4551
|
+
function Va(s, t, e, i, o) {
|
|
4552
4552
|
let r, n = (
|
|
4553
4553
|
/** @type {Object} */
|
|
4554
4554
|
s.detail
|
|
4555
4555
|
), a = n && n.path;
|
|
4556
4556
|
a ? (i = ot(e, i, a), r = n && n.value) : r = s.currentTarget[e], r = o ? !r : r, (!t[E.READ_ONLY] || !t[E.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4557
4557
|
}
|
|
4558
|
-
function
|
|
4558
|
+
function Ua(s, t, e, i, o) {
|
|
4559
4559
|
let r = s.__data[t];
|
|
4560
4560
|
xt && (r = xt(
|
|
4561
4561
|
r,
|
|
@@ -4565,17 +4565,17 @@ function Ya(s, t, e, i, o) {
|
|
|
4565
4565
|
s
|
|
4566
4566
|
)), s._propertyToAttribute(t, o.attrName, r);
|
|
4567
4567
|
}
|
|
4568
|
-
function
|
|
4568
|
+
function Ya(s, t, e, i) {
|
|
4569
4569
|
let o = s[E.COMPUTE];
|
|
4570
4570
|
if (o)
|
|
4571
|
-
if (
|
|
4571
|
+
if (na) {
|
|
4572
4572
|
rt++;
|
|
4573
|
-
const r =
|
|
4573
|
+
const r = ja(s), n = [];
|
|
4574
4574
|
for (let l in t)
|
|
4575
|
-
|
|
4575
|
+
As(l, o, n, r, i);
|
|
4576
4576
|
let a;
|
|
4577
4577
|
for (; a = n.shift(); )
|
|
4578
|
-
|
|
4578
|
+
Ho(s, "", t, e, a) && As(a.methodInfo, o, n, r, i);
|
|
4579
4579
|
Object.assign(
|
|
4580
4580
|
/** @type {!Object} */
|
|
4581
4581
|
e,
|
|
@@ -4599,7 +4599,7 @@ function Wa(s, t, e, i) {
|
|
|
4599
4599
|
), r = s.__dataPending, s.__dataPending = null;
|
|
4600
4600
|
}
|
|
4601
4601
|
}
|
|
4602
|
-
const
|
|
4602
|
+
const Wa = (s, t, e) => {
|
|
4603
4603
|
let i = 0, o = t.length - 1, r = -1;
|
|
4604
4604
|
for (; i <= o; ) {
|
|
4605
4605
|
const n = i + o >> 1, a = e.get(t[n].methodInfo) - e.get(s.methodInfo);
|
|
@@ -4613,20 +4613,20 @@ const ja = (s, t, e) => {
|
|
|
4613
4613
|
}
|
|
4614
4614
|
}
|
|
4615
4615
|
r < 0 && (r = o + 1), t.splice(r, 0, s);
|
|
4616
|
-
},
|
|
4616
|
+
}, As = (s, t, e, i, o) => {
|
|
4617
4617
|
const r = o ? we(s) : s, n = t[r];
|
|
4618
4618
|
if (n)
|
|
4619
4619
|
for (let a = 0; a < n.length; a++) {
|
|
4620
4620
|
const l = n[a];
|
|
4621
|
-
l.info.lastRun !== rt && (!o || Ii(s, l.trigger)) && (l.info.lastRun = rt,
|
|
4621
|
+
l.info.lastRun !== rt && (!o || Ii(s, l.trigger)) && (l.info.lastRun = rt, Wa(l.info, e, i));
|
|
4622
4622
|
}
|
|
4623
4623
|
};
|
|
4624
|
-
function
|
|
4624
|
+
function ja(s) {
|
|
4625
4625
|
let t = s.constructor.__orderedComputedDeps;
|
|
4626
4626
|
if (!t) {
|
|
4627
4627
|
t = /* @__PURE__ */ new Map();
|
|
4628
4628
|
const e = s[E.COMPUTE];
|
|
4629
|
-
let { counts: i, ready: o, total: r } =
|
|
4629
|
+
let { counts: i, ready: o, total: r } = qa(s), n;
|
|
4630
4630
|
for (; n = o.shift(); ) {
|
|
4631
4631
|
t.set(n, t.size);
|
|
4632
4632
|
const a = e[n];
|
|
@@ -4640,8 +4640,8 @@ function qa(s) {
|
|
|
4640
4640
|
}
|
|
4641
4641
|
return t;
|
|
4642
4642
|
}
|
|
4643
|
-
function
|
|
4644
|
-
const t = s[
|
|
4643
|
+
function qa(s) {
|
|
4644
|
+
const t = s[zo], e = {}, i = s[E.COMPUTE], o = [];
|
|
4645
4645
|
let r = 0;
|
|
4646
4646
|
for (let n in t) {
|
|
4647
4647
|
const a = t[n];
|
|
@@ -4651,14 +4651,14 @@ function Ka(s) {
|
|
|
4651
4651
|
t[n] || o.push(n);
|
|
4652
4652
|
return { counts: e, ready: o, total: r };
|
|
4653
4653
|
}
|
|
4654
|
-
function
|
|
4654
|
+
function Ho(s, t, e, i, o) {
|
|
4655
4655
|
let r = li(s, t, e, i, o);
|
|
4656
4656
|
if (r === nt)
|
|
4657
4657
|
return !1;
|
|
4658
4658
|
let n = o.methodInfo;
|
|
4659
4659
|
return s.__dataHasAccessor && s.__dataHasAccessor[n] ? s._setPendingProperty(n, r, !0) : (s[n] = r, !1);
|
|
4660
4660
|
}
|
|
4661
|
-
function
|
|
4661
|
+
function Ka(s, t, e) {
|
|
4662
4662
|
let i = s.__dataLinkedPaths;
|
|
4663
4663
|
if (i) {
|
|
4664
4664
|
let o;
|
|
@@ -4671,17 +4671,17 @@ function Ga(s, t, e) {
|
|
|
4671
4671
|
function Ut(s, t, e, i, o, r, n) {
|
|
4672
4672
|
e.bindings = e.bindings || [];
|
|
4673
4673
|
let a = { kind: i, target: o, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4674
|
-
if (e.bindings.push(a),
|
|
4674
|
+
if (e.bindings.push(a), Za(a)) {
|
|
4675
4675
|
let { event: d, negate: c } = a.parts[0];
|
|
4676
4676
|
a.listenerEvent = d || Tt(o) + "-changed", a.listenerNegate = c;
|
|
4677
4677
|
}
|
|
4678
4678
|
let l = t.nodeInfoList.length;
|
|
4679
4679
|
for (let d = 0; d < a.parts.length; d++) {
|
|
4680
4680
|
let c = a.parts[d];
|
|
4681
|
-
c.compoundIndex = d,
|
|
4681
|
+
c.compoundIndex = d, Ga(s, t, a, c, l);
|
|
4682
4682
|
}
|
|
4683
4683
|
}
|
|
4684
|
-
function
|
|
4684
|
+
function Ga(s, t, e, i, o) {
|
|
4685
4685
|
if (!i.literal)
|
|
4686
4686
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4687
4687
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4689,26 +4689,26 @@ function Xa(s, t, e, i, o) {
|
|
|
4689
4689
|
let r = i.dependencies, n = { index: o, binding: e, part: i, evaluator: s };
|
|
4690
4690
|
for (let a = 0; a < r.length; a++) {
|
|
4691
4691
|
let l = r[a];
|
|
4692
|
-
typeof l == "string" && (l =
|
|
4693
|
-
fn:
|
|
4692
|
+
typeof l == "string" && (l = Vo(l), l.wildcard = !0), s._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4693
|
+
fn: Xa,
|
|
4694
4694
|
info: n,
|
|
4695
4695
|
trigger: l
|
|
4696
4696
|
});
|
|
4697
4697
|
}
|
|
4698
4698
|
}
|
|
4699
4699
|
}
|
|
4700
|
-
function
|
|
4700
|
+
function Xa(s, t, e, i, o, r, n) {
|
|
4701
4701
|
let a = n[o.index], l = o.binding, d = o.part;
|
|
4702
4702
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4703
4703
|
let c = e[t];
|
|
4704
4704
|
t = ot(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && s._enqueueClient(a);
|
|
4705
4705
|
} else {
|
|
4706
4706
|
let c = o.evaluator._evaluateBinding(s, d, t, e, i, r);
|
|
4707
|
-
c !== nt &&
|
|
4707
|
+
c !== nt && Ja(s, a, l, d, c);
|
|
4708
4708
|
}
|
|
4709
4709
|
}
|
|
4710
|
-
function
|
|
4711
|
-
if (o =
|
|
4710
|
+
function Ja(s, t, e, i, o) {
|
|
4711
|
+
if (o = Qa(t, o, e, i), xt && (o = xt(o, e.target, e.kind, t)), e.kind == "attribute")
|
|
4712
4712
|
s._valueToNodeAttribute(
|
|
4713
4713
|
/** @type {Element} */
|
|
4714
4714
|
t,
|
|
@@ -4720,17 +4720,17 @@ function Qa(s, t, e, i, o) {
|
|
|
4720
4720
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[E.READ_ONLY] || !t[E.READ_ONLY][r]) && t._setPendingProperty(r, o) && s._enqueueClient(t) : s._setUnmanagedPropertyToNode(t, r, o);
|
|
4721
4721
|
}
|
|
4722
4722
|
}
|
|
4723
|
-
function
|
|
4723
|
+
function Qa(s, t, e, i) {
|
|
4724
4724
|
if (e.isCompound) {
|
|
4725
4725
|
let o = s.__dataCompoundStorage[e.target];
|
|
4726
4726
|
o[i.compoundIndex] = t, t = o.join("");
|
|
4727
4727
|
}
|
|
4728
4728
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (s.localName === "input" || s.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4729
4729
|
}
|
|
4730
|
-
function
|
|
4730
|
+
function Za(s) {
|
|
4731
4731
|
return !!s.target && s.kind != "attribute" && s.kind != "text" && !s.isCompound && s.parts[0].mode === "{";
|
|
4732
4732
|
}
|
|
4733
|
-
function
|
|
4733
|
+
function el(s, t) {
|
|
4734
4734
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4735
4735
|
if (i.length)
|
|
4736
4736
|
for (let o = 0; o < i.length; o++) {
|
|
@@ -4738,12 +4738,12 @@ function tl(s, t) {
|
|
|
4738
4738
|
if (a)
|
|
4739
4739
|
for (let l = 0; l < a.length; l++) {
|
|
4740
4740
|
let d = a[l];
|
|
4741
|
-
|
|
4741
|
+
tl(n, d), il(n, s, d);
|
|
4742
4742
|
}
|
|
4743
4743
|
n.__dataHost = s;
|
|
4744
4744
|
}
|
|
4745
4745
|
}
|
|
4746
|
-
function
|
|
4746
|
+
function tl(s, t) {
|
|
4747
4747
|
if (t.isCompound) {
|
|
4748
4748
|
let e = s.__dataCompoundStorage || (s.__dataCompoundStorage = {}), i = t.parts, o = new Array(i.length);
|
|
4749
4749
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4752,15 +4752,15 @@ function il(s, t) {
|
|
|
4752
4752
|
e[r] = o, t.literal && t.kind == "property" && (r === "className" && (s = z(s)), s[r] = t.literal);
|
|
4753
4753
|
}
|
|
4754
4754
|
}
|
|
4755
|
-
function
|
|
4755
|
+
function il(s, t, e) {
|
|
4756
4756
|
if (e.listenerEvent) {
|
|
4757
4757
|
let i = e.parts[0];
|
|
4758
4758
|
s.addEventListener(e.listenerEvent, function(o) {
|
|
4759
|
-
|
|
4759
|
+
Va(o, t, e.target, i.source, i.negate);
|
|
4760
4760
|
});
|
|
4761
4761
|
}
|
|
4762
4762
|
}
|
|
4763
|
-
function
|
|
4763
|
+
function Es(s, t, e, i, o, r) {
|
|
4764
4764
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4765
4765
|
let n = {
|
|
4766
4766
|
methodName: t.methodName,
|
|
@@ -4787,8 +4787,8 @@ function li(s, t, e, i, o) {
|
|
|
4787
4787
|
} else
|
|
4788
4788
|
o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
|
|
4789
4789
|
}
|
|
4790
|
-
const
|
|
4791
|
-
function
|
|
4790
|
+
const sl = [], $o = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", ol = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", rl = "(?:'(?:[^'\\\\]|\\\\.)*')", nl = '(?:"(?:[^"\\\\]|\\\\.)*")', al = "(?:" + rl + "|" + nl + ")", Ps = "(?:(" + $o + "|" + ol + "|" + al + ")\\s*)", ll = "(?:" + Ps + "(?:,\\s*" + Ps + ")*)", dl = "(?:\\(\\s*(?:" + ll + "?)\\)\\s*)", cl = "(" + $o + "\\s*" + dl + "?)", ul = "(\\[\\[|{{)\\s*", hl = "(?:]]|}})", pl = "(?:(!)\\s*)?", fl = ul + pl + cl + hl, ks = new RegExp(fl, "g");
|
|
4791
|
+
function Ds(s) {
|
|
4792
4792
|
let t = "";
|
|
4793
4793
|
for (let e = 0; e < s.length; e++) {
|
|
4794
4794
|
let i = s[e].literal;
|
|
@@ -4799,22 +4799,22 @@ function Ts(s) {
|
|
|
4799
4799
|
function Yt(s) {
|
|
4800
4800
|
let t = s.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4801
4801
|
if (t) {
|
|
4802
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4802
|
+
let i = { methodName: t[1], static: !0, args: sl };
|
|
4803
4803
|
if (t[2].trim()) {
|
|
4804
4804
|
let o = t[2].replace(/\\,/g, ",").split(",");
|
|
4805
|
-
return
|
|
4805
|
+
return _l(o, i);
|
|
4806
4806
|
} else
|
|
4807
4807
|
return i;
|
|
4808
4808
|
}
|
|
4809
4809
|
return null;
|
|
4810
4810
|
}
|
|
4811
|
-
function
|
|
4811
|
+
function _l(s, t) {
|
|
4812
4812
|
return t.args = s.map(function(e) {
|
|
4813
|
-
let i =
|
|
4813
|
+
let i = Vo(e);
|
|
4814
4814
|
return i.literal || (t.static = !1), i;
|
|
4815
4815
|
}, this), t;
|
|
4816
4816
|
}
|
|
4817
|
-
function
|
|
4817
|
+
function Vo(s) {
|
|
4818
4818
|
let t = s.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4819
4819
|
name: t,
|
|
4820
4820
|
value: "",
|
|
@@ -4831,16 +4831,16 @@ function Uo(s) {
|
|
|
4831
4831
|
}
|
|
4832
4832
|
return e.literal || (e.rootProperty = we(t), e.structured = ni(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4833
4833
|
}
|
|
4834
|
-
function
|
|
4834
|
+
function Ts(s, t, e) {
|
|
4835
4835
|
let i = H(s, e);
|
|
4836
4836
|
return i === void 0 && (i = t[e]), i;
|
|
4837
4837
|
}
|
|
4838
|
-
function
|
|
4838
|
+
function Uo(s, t, e, i) {
|
|
4839
4839
|
const o = { indexSplices: i };
|
|
4840
4840
|
ri && !s._overrideLegacyUndefined && (t.splices = o), s.notifyPath(e + ".splices", o), s.notifyPath(e + ".length", t.length), ri && !s._overrideLegacyUndefined && (o.indexSplices = []);
|
|
4841
4841
|
}
|
|
4842
4842
|
function Ye(s, t, e, i, o, r) {
|
|
4843
|
-
|
|
4843
|
+
Uo(s, t, e, [{
|
|
4844
4844
|
index: i,
|
|
4845
4845
|
addedCount: o,
|
|
4846
4846
|
removed: r,
|
|
@@ -4848,11 +4848,11 @@ function Ye(s, t, e, i, o, r) {
|
|
|
4848
4848
|
type: "splice"
|
|
4849
4849
|
}]);
|
|
4850
4850
|
}
|
|
4851
|
-
function
|
|
4851
|
+
function ml(s) {
|
|
4852
4852
|
return s[0].toUpperCase() + s.substring(1);
|
|
4853
4853
|
}
|
|
4854
4854
|
const Ni = N((s) => {
|
|
4855
|
-
const t =
|
|
4855
|
+
const t = Ba(Pa(s));
|
|
4856
4856
|
class e extends t {
|
|
4857
4857
|
constructor() {
|
|
4858
4858
|
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;
|
|
@@ -5031,7 +5031,7 @@ const Ni = N((s) => {
|
|
|
5031
5031
|
if (!a) {
|
|
5032
5032
|
let l = H(this, o);
|
|
5033
5033
|
if (o = /** @type {string} */
|
|
5034
|
-
|
|
5034
|
+
vs(this, o, r), !o || !super._shouldPropertyChange(o, r, l))
|
|
5035
5035
|
return !1;
|
|
5036
5036
|
}
|
|
5037
5037
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -5040,7 +5040,7 @@ const Ni = N((s) => {
|
|
|
5040
5040
|
r,
|
|
5041
5041
|
n
|
|
5042
5042
|
))
|
|
5043
|
-
return
|
|
5043
|
+
return Ka(
|
|
5044
5044
|
this,
|
|
5045
5045
|
/**@type{string}*/
|
|
5046
5046
|
o,
|
|
@@ -5256,7 +5256,7 @@ const Ni = N((s) => {
|
|
|
5256
5256
|
let a = this.__dataHasPaths;
|
|
5257
5257
|
this.__dataHasPaths = !1;
|
|
5258
5258
|
let l;
|
|
5259
|
-
|
|
5259
|
+
Ya(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Ge(this, this[E.REFLECT], r, n, a), Ge(this, this[E.OBSERVE], r, n, a), l && Ra(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5260
5260
|
}
|
|
5261
5261
|
/**
|
|
5262
5262
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5353,7 +5353,7 @@ const Ni = N((s) => {
|
|
|
5353
5353
|
/** @type {Array} */
|
|
5354
5354
|
H(this, o, n)
|
|
5355
5355
|
);
|
|
5356
|
-
|
|
5356
|
+
Uo(this, a, n.path, r);
|
|
5357
5357
|
}
|
|
5358
5358
|
/**
|
|
5359
5359
|
* Convenience method for reading a value from a path.
|
|
@@ -5401,7 +5401,7 @@ const Ni = N((s) => {
|
|
|
5401
5401
|
* @public
|
|
5402
5402
|
*/
|
|
5403
5403
|
set(o, r, n) {
|
|
5404
|
-
n ?
|
|
5404
|
+
n ? vs(n, o, r) : (!this[E.READ_ONLY] || !this[E.READ_ONLY][
|
|
5405
5405
|
/** @type {string} */
|
|
5406
5406
|
o
|
|
5407
5407
|
]) && this._setPendingPropertyOrPath(o, r, !0) && this._invalidateProperties();
|
|
@@ -5556,7 +5556,7 @@ const Ni = N((s) => {
|
|
|
5556
5556
|
* @protected
|
|
5557
5557
|
*/
|
|
5558
5558
|
_createReadOnlyProperty(o, r) {
|
|
5559
|
-
this._addPropertyEffect(o, E.READ_ONLY), r && (this["_set" +
|
|
5559
|
+
this._addPropertyEffect(o, E.READ_ONLY), r && (this["_set" + ml(o)] = /** @this {PropertyEffects} */
|
|
5560
5560
|
function(n) {
|
|
5561
5561
|
this._setProperty(o, n);
|
|
5562
5562
|
});
|
|
@@ -5578,7 +5578,7 @@ const Ni = N((s) => {
|
|
|
5578
5578
|
_createPropertyObserver(o, r, n) {
|
|
5579
5579
|
let a = { property: o, method: r, dynamicFn: !!n };
|
|
5580
5580
|
this._addPropertyEffect(o, E.OBSERVE, {
|
|
5581
|
-
fn:
|
|
5581
|
+
fn: Cs,
|
|
5582
5582
|
info: a,
|
|
5583
5583
|
trigger: { name: o }
|
|
5584
5584
|
}), n && this._addPropertyEffect(
|
|
@@ -5586,7 +5586,7 @@ const Ni = N((s) => {
|
|
|
5586
5586
|
r,
|
|
5587
5587
|
E.OBSERVE,
|
|
5588
5588
|
{
|
|
5589
|
-
fn:
|
|
5589
|
+
fn: Cs,
|
|
5590
5590
|
info: a,
|
|
5591
5591
|
trigger: { name: r }
|
|
5592
5592
|
}
|
|
@@ -5608,7 +5608,7 @@ const Ni = N((s) => {
|
|
|
5608
5608
|
let n = Yt(o);
|
|
5609
5609
|
if (!n)
|
|
5610
5610
|
throw new Error("Malformed observer expression '" + o + "'");
|
|
5611
|
-
|
|
5611
|
+
Es(this, n, E.OBSERVE, li, null, r);
|
|
5612
5612
|
}
|
|
5613
5613
|
/**
|
|
5614
5614
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5622,7 +5622,7 @@ const Ni = N((s) => {
|
|
|
5622
5622
|
*/
|
|
5623
5623
|
_createNotifyingProperty(o) {
|
|
5624
5624
|
this._addPropertyEffect(o, E.NOTIFY, {
|
|
5625
|
-
fn:
|
|
5625
|
+
fn: $a,
|
|
5626
5626
|
info: {
|
|
5627
5627
|
eventName: Tt(o) + "-changed",
|
|
5628
5628
|
property: o
|
|
@@ -5643,7 +5643,7 @@ const Ni = N((s) => {
|
|
|
5643
5643
|
_createReflectedProperty(o) {
|
|
5644
5644
|
let r = this.constructor.attributeNameForProperty(o);
|
|
5645
5645
|
r[0] === "-" ? console.warn("Property " + o + " 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(o, E.REFLECT, {
|
|
5646
|
-
fn:
|
|
5646
|
+
fn: Ua,
|
|
5647
5647
|
info: {
|
|
5648
5648
|
attrName: r
|
|
5649
5649
|
}
|
|
@@ -5666,8 +5666,8 @@ const Ni = N((s) => {
|
|
|
5666
5666
|
let a = Yt(r);
|
|
5667
5667
|
if (!a)
|
|
5668
5668
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5669
|
-
const l =
|
|
5670
|
-
Vt(this,
|
|
5669
|
+
const l = Es(this, a, E.COMPUTE, Ho, o, n);
|
|
5670
|
+
Vt(this, zo)[o] = l;
|
|
5671
5671
|
}
|
|
5672
5672
|
/**
|
|
5673
5673
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5688,14 +5688,14 @@ const Ni = N((s) => {
|
|
|
5688
5688
|
let { name: u, structured: h, wildcard: f, value: _, literal: w } = o[d];
|
|
5689
5689
|
if (!w)
|
|
5690
5690
|
if (f) {
|
|
5691
|
-
const A = st(u, r), b =
|
|
5691
|
+
const A = st(u, r), b = Ts(a, n, A ? r : u);
|
|
5692
5692
|
_ = {
|
|
5693
5693
|
path: A ? r : u,
|
|
5694
5694
|
value: b,
|
|
5695
5695
|
base: A ? H(a, u) : b
|
|
5696
5696
|
};
|
|
5697
5697
|
} else
|
|
5698
|
-
_ = h ?
|
|
5698
|
+
_ = h ? Ts(a, n, u) : a[u];
|
|
5699
5699
|
if (ri && !this._overrideLegacyUndefined && _ === void 0 && o.length > 1)
|
|
5700
5700
|
return nt;
|
|
5701
5701
|
l[d] = _;
|
|
@@ -5978,7 +5978,7 @@ const Ni = N((s) => {
|
|
|
5978
5978
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5979
5979
|
a.push(l);
|
|
5980
5980
|
}
|
|
5981
|
-
return n.templateInfo = r,
|
|
5981
|
+
return n.templateInfo = r, el(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5982
5982
|
}
|
|
5983
5983
|
/**
|
|
5984
5984
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -6025,7 +6025,7 @@ const Ni = N((s) => {
|
|
|
6025
6025
|
);
|
|
6026
6026
|
if (o.nodeType === Node.TEXT_NODE) {
|
|
6027
6027
|
let l = this._parseBindings(o.textContent, r);
|
|
6028
|
-
l && (o.textContent =
|
|
6028
|
+
l && (o.textContent = Ds(l) || " ", Ut(this, r, n, "text", "textContent", l), a = !0);
|
|
6029
6029
|
}
|
|
6030
6030
|
return a;
|
|
6031
6031
|
}
|
|
@@ -6052,9 +6052,9 @@ const Ni = N((s) => {
|
|
|
6052
6052
|
let d = this._parseBindings(l, r);
|
|
6053
6053
|
if (d) {
|
|
6054
6054
|
let c = a, u = "property";
|
|
6055
|
-
|
|
6056
|
-
let h =
|
|
6057
|
-
return h && u == "attribute" && (a == "class" && o.hasAttribute("class") && (h += " " + o.getAttribute(a)), o.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && o.setAttribute(a, ""), o.localName === "input" && c === "value" && o.setAttribute(c, ""), o.removeAttribute(c), u === "property" && (a =
|
|
6055
|
+
La.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
6056
|
+
let h = Ds(d);
|
|
6057
|
+
return h && u == "attribute" && (a == "class" && o.hasAttribute("class") && (h += " " + o.getAttribute(a)), o.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && o.setAttribute(a, ""), o.localName === "input" && c === "value" && o.setAttribute(c, ""), o.removeAttribute(c), u === "property" && (a = Oo(a)), Ut(this, r, n, u, a, d, h), !0;
|
|
6058
6058
|
} else
|
|
6059
6059
|
return t._parseTemplateNodeAttribute.call(
|
|
6060
6060
|
this,
|
|
@@ -6087,10 +6087,10 @@ const Ni = N((s) => {
|
|
|
6087
6087
|
n
|
|
6088
6088
|
);
|
|
6089
6089
|
const l = o.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
6090
|
-
|
|
6090
|
+
fs && (c || u) && (l.removeChild(o), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
6091
6091
|
let h = d.hostProps;
|
|
6092
|
-
if (
|
|
6093
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
6092
|
+
if (aa && c)
|
|
6093
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), fs || (n.parentInfo.noted = !0));
|
|
6094
6094
|
else {
|
|
6095
6095
|
let f = "{";
|
|
6096
6096
|
for (let _ in h) {
|
|
@@ -6147,7 +6147,7 @@ const Ni = N((s) => {
|
|
|
6147
6147
|
*/
|
|
6148
6148
|
static _parseBindings(o, r) {
|
|
6149
6149
|
let n = [], a = 0, l;
|
|
6150
|
-
for (; (l =
|
|
6150
|
+
for (; (l = ks.exec(o)) !== null; ) {
|
|
6151
6151
|
l.index > a && n.push({ literal: o.slice(a, l.index) });
|
|
6152
6152
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, f = "", _ = -1;
|
|
6153
6153
|
d == "{" && (_ = u.indexOf("::")) > 0 && (f = u.substring(_ + 2), u = u.substring(0, _), h = !0);
|
|
@@ -6170,7 +6170,7 @@ const Ni = N((s) => {
|
|
|
6170
6170
|
signature: w,
|
|
6171
6171
|
dependencies: A,
|
|
6172
6172
|
event: f
|
|
6173
|
-
}), a =
|
|
6173
|
+
}), a = ks.lastIndex;
|
|
6174
6174
|
}
|
|
6175
6175
|
if (a && a < o.length) {
|
|
6176
6176
|
let d = o.substring(a);
|
|
@@ -6220,7 +6220,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6220
6220
|
Code distributed by Google as part of the polymer project is also
|
|
6221
6221
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6222
6222
|
*/
|
|
6223
|
-
function
|
|
6223
|
+
function gl(s) {
|
|
6224
6224
|
const t = {};
|
|
6225
6225
|
for (let e in s) {
|
|
6226
6226
|
const i = s[e];
|
|
@@ -6228,8 +6228,8 @@ function yl(s) {
|
|
|
6228
6228
|
}
|
|
6229
6229
|
return t;
|
|
6230
6230
|
}
|
|
6231
|
-
const
|
|
6232
|
-
const t =
|
|
6231
|
+
const yl = N((s) => {
|
|
6232
|
+
const t = Fo(s);
|
|
6233
6233
|
function e(r) {
|
|
6234
6234
|
const n = Object.getPrototypeOf(r);
|
|
6235
6235
|
return n.prototype instanceof o ? (
|
|
@@ -6242,7 +6242,7 @@ const bl = N((s) => {
|
|
|
6242
6242
|
let n = null;
|
|
6243
6243
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6244
6244
|
const a = r.properties;
|
|
6245
|
-
a && (n =
|
|
6245
|
+
a && (n = gl(a));
|
|
6246
6246
|
}
|
|
6247
6247
|
r.__ownProperties = n;
|
|
6248
6248
|
}
|
|
@@ -6379,8 +6379,8 @@ const bl = N((s) => {
|
|
|
6379
6379
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6380
6380
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6381
6381
|
*/
|
|
6382
|
-
const
|
|
6383
|
-
const t =
|
|
6382
|
+
const bl = "3.5.2", Ss = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = N((s) => {
|
|
6383
|
+
const t = yl(Ni(s));
|
|
6384
6384
|
function e(l) {
|
|
6385
6385
|
if (!l.hasOwnProperty(
|
|
6386
6386
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6408,8 +6408,8 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6408
6408
|
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, c.computed, u)), c.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !c.computed) : c.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), c.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : c.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), c.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : c.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), c.observer && l._createPropertyObserver(d, c.observer, u[c.observer]), l._addPropertyToAttributeMap(d);
|
|
6409
6409
|
}
|
|
6410
6410
|
function r(l, d, c, u) {
|
|
6411
|
-
if (!
|
|
6412
|
-
const h = d.content.querySelectorAll("style"), f =
|
|
6411
|
+
if (!Ss) {
|
|
6412
|
+
const h = d.content.querySelectorAll("style"), f = ko(d), _ = _a(c), w = d.content.firstElementChild;
|
|
6413
6413
|
for (let b = 0; b < _.length; b++) {
|
|
6414
6414
|
let v = _[b];
|
|
6415
6415
|
v.textContent = l._processStyleText(v.textContent, u), d.content.insertBefore(v, w);
|
|
@@ -6420,7 +6420,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6420
6420
|
O !== v ? (v = v.cloneNode(!0), O.parentNode.insertBefore(v, O)) : A++, v.textContent = l._processStyleText(v.textContent, u);
|
|
6421
6421
|
}
|
|
6422
6422
|
}
|
|
6423
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c),
|
|
6423
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), la && Ss && ia) {
|
|
6424
6424
|
const h = d.content.querySelectorAll("style");
|
|
6425
6425
|
if (h) {
|
|
6426
6426
|
let f = "";
|
|
@@ -6432,7 +6432,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6432
6432
|
}
|
|
6433
6433
|
function n(l) {
|
|
6434
6434
|
let d = null;
|
|
6435
|
-
if (l && (!Ct ||
|
|
6435
|
+
if (l && (!Ct || oa) && (d = /** @type {?HTMLTemplateElement} */
|
|
6436
6436
|
it.import(l, "template"), Ct && !d))
|
|
6437
6437
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6438
6438
|
return d;
|
|
@@ -6444,7 +6444,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6444
6444
|
* @nocollapse
|
|
6445
6445
|
*/
|
|
6446
6446
|
static get polymerElementVersion() {
|
|
6447
|
-
return
|
|
6447
|
+
return bl;
|
|
6448
6448
|
}
|
|
6449
6449
|
/**
|
|
6450
6450
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6465,7 +6465,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6465
6465
|
/** @type {PolymerElementConstructor} */
|
|
6466
6466
|
this.template
|
|
6467
6467
|
);
|
|
6468
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
6468
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : Co || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6469
6469
|
}
|
|
6470
6470
|
/**
|
|
6471
6471
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6635,7 +6635,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6635
6635
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6636
6636
|
/** @type {!HTMLElement} */
|
|
6637
6637
|
this.localName
|
|
6638
|
-
), super._initializeProperties(), this.rootPath =
|
|
6638
|
+
), super._initializeProperties(), this.rootPath = sa, this.importPath = this.constructor.importPath;
|
|
6639
6639
|
let d = e(this.constructor);
|
|
6640
6640
|
if (d)
|
|
6641
6641
|
for (let c in d) {
|
|
@@ -6746,7 +6746,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6746
6746
|
_attachDom(d) {
|
|
6747
6747
|
const c = z(this);
|
|
6748
6748
|
if (c.attachShadow)
|
|
6749
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6749
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ra && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6750
6750
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6751
6751
|
}
|
|
6752
6752
|
/**
|
|
@@ -6831,7 +6831,7 @@ const vl = "3.5.2", Os = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = N((s)
|
|
|
6831
6831
|
* @nocollapse
|
|
6832
6832
|
*/
|
|
6833
6833
|
static _addTemplatePropertyEffect(d, c, u) {
|
|
6834
|
-
return
|
|
6834
|
+
return Ao && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6835
6835
|
// dependencies) become accessors with template effects; ignore these
|
|
6836
6836
|
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6837
6837
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6856,16 +6856,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6856
6856
|
Code distributed by Google as part of the polymer project is also
|
|
6857
6857
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6858
6858
|
*/
|
|
6859
|
-
const
|
|
6860
|
-
class
|
|
6859
|
+
const Os = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (s) => s });
|
|
6860
|
+
class Yo {
|
|
6861
6861
|
/**
|
|
6862
6862
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6863
6863
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6864
6864
|
*/
|
|
6865
6865
|
constructor(t, e) {
|
|
6866
|
-
|
|
6866
|
+
jo(t, e);
|
|
6867
6867
|
const i = e.reduce(
|
|
6868
|
-
(o, r, n) => o +
|
|
6868
|
+
(o, r, n) => o + Wo(r) + t[n + 1],
|
|
6869
6869
|
t[0]
|
|
6870
6870
|
);
|
|
6871
6871
|
this.value = i.toString();
|
|
@@ -6878,8 +6878,8 @@ class Wo {
|
|
|
6878
6878
|
return this.value;
|
|
6879
6879
|
}
|
|
6880
6880
|
}
|
|
6881
|
-
function
|
|
6882
|
-
if (s instanceof
|
|
6881
|
+
function Wo(s) {
|
|
6882
|
+
if (s instanceof Yo)
|
|
6883
6883
|
return (
|
|
6884
6884
|
/** @type {!LiteralString} */
|
|
6885
6885
|
s.value
|
|
@@ -6888,30 +6888,30 @@ function jo(s) {
|
|
|
6888
6888
|
`non-literal value passed to Polymer's htmlLiteral function: ${s}`
|
|
6889
6889
|
);
|
|
6890
6890
|
}
|
|
6891
|
-
function
|
|
6891
|
+
function wl(s) {
|
|
6892
6892
|
if (s instanceof HTMLTemplateElement)
|
|
6893
6893
|
return (
|
|
6894
6894
|
/** @type {!HTMLTemplateElement } */
|
|
6895
6895
|
s.innerHTML
|
|
6896
6896
|
);
|
|
6897
|
-
if (s instanceof
|
|
6898
|
-
return
|
|
6897
|
+
if (s instanceof Yo)
|
|
6898
|
+
return Wo(s);
|
|
6899
6899
|
throw new Error(
|
|
6900
6900
|
`non-template value passed to Polymer's html function: ${s}`
|
|
6901
6901
|
);
|
|
6902
6902
|
}
|
|
6903
6903
|
const xe = function(t, ...e) {
|
|
6904
|
-
|
|
6904
|
+
jo(t, e);
|
|
6905
6905
|
const i = (
|
|
6906
6906
|
/** @type {!HTMLTemplateElement} */
|
|
6907
6907
|
document.createElement("template")
|
|
6908
6908
|
);
|
|
6909
6909
|
let o = e.reduce(
|
|
6910
|
-
(r, n, a) => r +
|
|
6910
|
+
(r, n, a) => r + wl(n) + t[a + 1],
|
|
6911
6911
|
t[0]
|
|
6912
6912
|
);
|
|
6913
|
-
return
|
|
6914
|
-
},
|
|
6913
|
+
return Os && (o = Os.createHTML(o)), i.innerHTML = o, i;
|
|
6914
|
+
}, jo = (s, t) => {
|
|
6915
6915
|
if (!Array.isArray(s) || !Array.isArray(s.raw) || t.length !== s.length - 1)
|
|
6916
6916
|
throw new TypeError("Invalid call to the html template tag");
|
|
6917
6917
|
};
|
|
@@ -6924,7 +6924,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6924
6924
|
Code distributed by Google as part of the polymer project is also
|
|
6925
6925
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6926
6926
|
*/
|
|
6927
|
-
const de =
|
|
6927
|
+
const de = vl(HTMLElement);
|
|
6928
6928
|
/**
|
|
6929
6929
|
* @license
|
|
6930
6930
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6937,14 +6937,14 @@ function di(s, t, e = s.getAttribute("dir")) {
|
|
|
6937
6937
|
function ci() {
|
|
6938
6938
|
return document.documentElement.getAttribute("dir");
|
|
6939
6939
|
}
|
|
6940
|
-
function
|
|
6940
|
+
function xl() {
|
|
6941
6941
|
const s = ci();
|
|
6942
6942
|
te.forEach((t) => {
|
|
6943
6943
|
di(t, s);
|
|
6944
6944
|
});
|
|
6945
6945
|
}
|
|
6946
|
-
const
|
|
6947
|
-
|
|
6946
|
+
const Cl = new MutationObserver(xl);
|
|
6947
|
+
Cl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6948
6948
|
const St = (s) => class extends s {
|
|
6949
6949
|
static get properties() {
|
|
6950
6950
|
return {
|
|
@@ -7006,7 +7006,7 @@ const St = (s) => class extends s {
|
|
|
7006
7006
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7007
7007
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7008
7008
|
*/
|
|
7009
|
-
const
|
|
7009
|
+
const Al = (s) => class extends s {
|
|
7010
7010
|
static get properties() {
|
|
7011
7011
|
return {
|
|
7012
7012
|
/**
|
|
@@ -7046,7 +7046,7 @@ const El = (s) => class extends s {
|
|
|
7046
7046
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7047
7047
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7048
7048
|
*/
|
|
7049
|
-
const
|
|
7049
|
+
const El = C`
|
|
7050
7050
|
:host {
|
|
7051
7051
|
display: flex;
|
|
7052
7052
|
align-items: center;
|
|
@@ -7117,8 +7117,8 @@ const Pl = C`
|
|
|
7117
7117
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7118
7118
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7119
7119
|
*/
|
|
7120
|
-
S("vaadin-input-container",
|
|
7121
|
-
class
|
|
7120
|
+
S("vaadin-input-container", El, { moduleId: "vaadin-input-container-styles" });
|
|
7121
|
+
class Pl extends Al(ve(St(de))) {
|
|
7122
7122
|
static get is() {
|
|
7123
7123
|
return "vaadin-input-container";
|
|
7124
7124
|
}
|
|
@@ -7130,13 +7130,13 @@ class kl extends El(ve(St(de))) {
|
|
|
7130
7130
|
`;
|
|
7131
7131
|
}
|
|
7132
7132
|
}
|
|
7133
|
-
Q(
|
|
7133
|
+
Q(Pl);
|
|
7134
7134
|
/**
|
|
7135
7135
|
* @license
|
|
7136
7136
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7137
7137
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7138
7138
|
*/
|
|
7139
|
-
const
|
|
7139
|
+
const kl = C`
|
|
7140
7140
|
:host {
|
|
7141
7141
|
z-index: 200;
|
|
7142
7142
|
position: fixed;
|
|
@@ -7225,21 +7225,21 @@ function ui() {
|
|
|
7225
7225
|
function Bi() {
|
|
7226
7226
|
return Fi;
|
|
7227
7227
|
}
|
|
7228
|
-
function
|
|
7228
|
+
function Dl(s) {
|
|
7229
7229
|
const t = s.style;
|
|
7230
7230
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7231
7231
|
return !0;
|
|
7232
7232
|
const e = window.getComputedStyle(s);
|
|
7233
7233
|
return e.visibility === "hidden" || e.display === "none";
|
|
7234
7234
|
}
|
|
7235
|
-
function
|
|
7235
|
+
function Tl(s, t) {
|
|
7236
7236
|
const e = Math.max(s.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7237
7237
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7238
7238
|
}
|
|
7239
|
-
function
|
|
7239
|
+
function Sl(s, t) {
|
|
7240
7240
|
const e = [];
|
|
7241
7241
|
for (; s.length > 0 && t.length > 0; )
|
|
7242
|
-
|
|
7242
|
+
Tl(s[0], t[0]) ? e.push(t.shift()) : e.push(s.shift());
|
|
7243
7243
|
return e.concat(s, t);
|
|
7244
7244
|
}
|
|
7245
7245
|
function hi(s) {
|
|
@@ -7247,37 +7247,37 @@ function hi(s) {
|
|
|
7247
7247
|
if (t < 2)
|
|
7248
7248
|
return s;
|
|
7249
7249
|
const e = Math.ceil(t / 2), i = hi(s.slice(0, e)), o = hi(s.slice(e));
|
|
7250
|
-
return
|
|
7250
|
+
return Sl(i, o);
|
|
7251
7251
|
}
|
|
7252
|
-
function
|
|
7252
|
+
function qo(s) {
|
|
7253
7253
|
return s.matches('[tabindex="-1"]') ? !1 : s.matches("input, select, textarea, button, object") ? s.matches(":not([disabled])") : s.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7254
7254
|
}
|
|
7255
|
-
function
|
|
7255
|
+
function Ol(s) {
|
|
7256
7256
|
return s.getRootNode().activeElement === s;
|
|
7257
7257
|
}
|
|
7258
|
-
function
|
|
7259
|
-
if (!
|
|
7258
|
+
function Ml(s) {
|
|
7259
|
+
if (!qo(s))
|
|
7260
7260
|
return -1;
|
|
7261
7261
|
const t = s.getAttribute("tabindex") || 0;
|
|
7262
7262
|
return Number(t);
|
|
7263
7263
|
}
|
|
7264
|
-
function
|
|
7265
|
-
if (s.nodeType !== Node.ELEMENT_NODE ||
|
|
7264
|
+
function Ko(s, t) {
|
|
7265
|
+
if (s.nodeType !== Node.ELEMENT_NODE || Dl(s))
|
|
7266
7266
|
return !1;
|
|
7267
7267
|
const e = (
|
|
7268
7268
|
/** @type {HTMLElement} */
|
|
7269
7269
|
s
|
|
7270
|
-
), i =
|
|
7270
|
+
), i = Ml(e);
|
|
7271
7271
|
let o = i > 0;
|
|
7272
7272
|
i >= 0 && t.push(e);
|
|
7273
7273
|
let r = [];
|
|
7274
7274
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7275
|
-
o =
|
|
7275
|
+
o = Ko(n, t) || o;
|
|
7276
7276
|
}), o;
|
|
7277
7277
|
}
|
|
7278
|
-
function
|
|
7278
|
+
function Il(s) {
|
|
7279
7279
|
const t = [];
|
|
7280
|
-
return
|
|
7280
|
+
return Ko(s, t) ? hi(t) : t;
|
|
7281
7281
|
}
|
|
7282
7282
|
/**
|
|
7283
7283
|
@license
|
|
@@ -7288,23 +7288,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7288
7288
|
Code distributed by Google as part of the polymer project is also
|
|
7289
7289
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7290
7290
|
*/
|
|
7291
|
-
let pi = !1,
|
|
7292
|
-
function
|
|
7291
|
+
let pi = !1, Nl = [], Go = [];
|
|
7292
|
+
function Fl() {
|
|
7293
7293
|
pi = !0, requestAnimationFrame(function() {
|
|
7294
|
-
pi = !1,
|
|
7295
|
-
|
|
7294
|
+
pi = !1, Bl(Nl), setTimeout(function() {
|
|
7295
|
+
Ll(Go);
|
|
7296
7296
|
});
|
|
7297
7297
|
});
|
|
7298
7298
|
}
|
|
7299
|
-
function
|
|
7299
|
+
function Bl(s) {
|
|
7300
7300
|
for (; s.length; )
|
|
7301
|
-
|
|
7301
|
+
Xo(s.shift());
|
|
7302
7302
|
}
|
|
7303
|
-
function
|
|
7303
|
+
function Ll(s) {
|
|
7304
7304
|
for (let t = 0, e = s.length; t < e; t++)
|
|
7305
|
-
|
|
7305
|
+
Xo(s.shift());
|
|
7306
7306
|
}
|
|
7307
|
-
function
|
|
7307
|
+
function Xo(s) {
|
|
7308
7308
|
const t = s[0], e = s[1], i = s[2];
|
|
7309
7309
|
try {
|
|
7310
7310
|
e.apply(t, i);
|
|
@@ -7314,21 +7314,21 @@ function Jo(s) {
|
|
|
7314
7314
|
});
|
|
7315
7315
|
}
|
|
7316
7316
|
}
|
|
7317
|
-
function
|
|
7318
|
-
pi ||
|
|
7317
|
+
function Jo(s, t, e) {
|
|
7318
|
+
pi || Fl(), Go.push([s, t, e]);
|
|
7319
7319
|
}
|
|
7320
7320
|
/**
|
|
7321
7321
|
* @license
|
|
7322
7322
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7323
7323
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7324
7324
|
*/
|
|
7325
|
-
const Ot = (s) => s.test(navigator.userAgent), fi = (s) => s.test(navigator.platform),
|
|
7325
|
+
const Ot = (s) => s.test(navigator.userAgent), fi = (s) => s.test(navigator.platform), zl = (s) => s.test(navigator.vendor);
|
|
7326
7326
|
Ot(/Android/u);
|
|
7327
|
-
Ot(/Chrome/u) &&
|
|
7327
|
+
Ot(/Chrome/u) && zl(/Google Inc/u);
|
|
7328
7328
|
Ot(/Firefox/u);
|
|
7329
|
-
const
|
|
7329
|
+
const Rl = fi(/^iPad/u) || fi(/^Mac/u) && navigator.maxTouchPoints > 1, Hl = fi(/^iPhone/u), Qo = Hl || Rl;
|
|
7330
7330
|
Ot(/^((?!chrome|android).)*safari/iu);
|
|
7331
|
-
const
|
|
7331
|
+
const $l = (() => {
|
|
7332
7332
|
try {
|
|
7333
7333
|
return document.createEvent("TouchEvent"), !0;
|
|
7334
7334
|
} catch (s) {
|
|
@@ -7341,10 +7341,10 @@ const Vl = (() => {
|
|
|
7341
7341
|
* SPDX-License-Identifier: MIT
|
|
7342
7342
|
*/
|
|
7343
7343
|
let Pe = /* @__PURE__ */ new WeakMap(), ft = /* @__PURE__ */ new WeakMap(), _t = {}, Wt = 0;
|
|
7344
|
-
const
|
|
7344
|
+
const Ms = (s) => s && s.nodeType === Node.ELEMENT_NODE, jt = (...s) => {
|
|
7345
7345
|
console.error(`Error: ${s.join(" ")}. Skip setting aria-hidden.`);
|
|
7346
|
-
},
|
|
7347
|
-
if (!
|
|
7346
|
+
}, Vl = (s, t) => Ms(s) ? t.map((e) => {
|
|
7347
|
+
if (!Ms(e))
|
|
7348
7348
|
return jt(e, "is not a valid element"), null;
|
|
7349
7349
|
let i = e;
|
|
7350
7350
|
for (; i && i !== s; ) {
|
|
@@ -7353,8 +7353,8 @@ const Is = (s) => s && s.nodeType === Node.ELEMENT_NODE, jt = (...s) => {
|
|
|
7353
7353
|
i = i.getRootNode().host;
|
|
7354
7354
|
}
|
|
7355
7355
|
return jt(e, "is not contained inside", s), null;
|
|
7356
|
-
}).filter((e) => !!e) : (jt(s, "is not a valid element"), []),
|
|
7357
|
-
const o =
|
|
7356
|
+
}).filter((e) => !!e) : (jt(s, "is not a valid element"), []), Ul = (s, t, e, i) => {
|
|
7357
|
+
const o = Vl(t, Array.isArray(s) ? s : [s]);
|
|
7358
7358
|
_t[e] || (_t[e] = /* @__PURE__ */ new WeakMap());
|
|
7359
7359
|
const r = _t[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(o), d = (u) => {
|
|
7360
7360
|
if (!u || a.has(u))
|
|
@@ -7384,16 +7384,16 @@ const Is = (s) => s && s.nodeType === Node.ELEMENT_NODE, jt = (...s) => {
|
|
|
7384
7384
|
Pe.set(u, h), r.set(u, f), h || (ft.has(u) ? ft.delete(u) : u.removeAttribute(i)), f || u.removeAttribute(e);
|
|
7385
7385
|
}), Wt -= 1, Wt || (Pe = /* @__PURE__ */ new WeakMap(), Pe = /* @__PURE__ */ new WeakMap(), ft = /* @__PURE__ */ new WeakMap(), _t = {});
|
|
7386
7386
|
};
|
|
7387
|
-
},
|
|
7387
|
+
}, Zo = (s, t = document.body, e = "data-aria-hidden") => {
|
|
7388
7388
|
const i = Array.from(Array.isArray(s) ? s : [s]);
|
|
7389
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7389
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Ul(i, t, e, "aria-hidden");
|
|
7390
7390
|
};
|
|
7391
7391
|
/**
|
|
7392
7392
|
* @license
|
|
7393
7393
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7394
7394
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7395
7395
|
*/
|
|
7396
|
-
class
|
|
7396
|
+
class Yl {
|
|
7397
7397
|
/**
|
|
7398
7398
|
* @param {HTMLElement} host
|
|
7399
7399
|
*/
|
|
@@ -7409,7 +7409,7 @@ class Wl {
|
|
|
7409
7409
|
*/
|
|
7410
7410
|
showModal() {
|
|
7411
7411
|
const t = this.callback();
|
|
7412
|
-
this.__showOthers =
|
|
7412
|
+
this.__showOthers = Zo(t);
|
|
7413
7413
|
}
|
|
7414
7414
|
/**
|
|
7415
7415
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7424,7 +7424,7 @@ class Wl {
|
|
|
7424
7424
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7425
7425
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7426
7426
|
*/
|
|
7427
|
-
class
|
|
7427
|
+
class Wl {
|
|
7428
7428
|
/**
|
|
7429
7429
|
* Saves the given node as a target for restoring focus to
|
|
7430
7430
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7452,7 +7452,7 @@ class jl {
|
|
|
7452
7452
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7453
7453
|
*/
|
|
7454
7454
|
const qt = [];
|
|
7455
|
-
class
|
|
7455
|
+
class jl {
|
|
7456
7456
|
/**
|
|
7457
7457
|
* @param {HTMLElement} host
|
|
7458
7458
|
*/
|
|
@@ -7466,7 +7466,7 @@ class ql {
|
|
|
7466
7466
|
* @private
|
|
7467
7467
|
*/
|
|
7468
7468
|
get __focusableElements() {
|
|
7469
|
-
return
|
|
7469
|
+
return Il(this.__trapNode);
|
|
7470
7470
|
}
|
|
7471
7471
|
/**
|
|
7472
7472
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7476,7 +7476,7 @@ class ql {
|
|
|
7476
7476
|
*/
|
|
7477
7477
|
get __focusedElementIndex() {
|
|
7478
7478
|
const t = this.__focusableElements;
|
|
7479
|
-
return t.indexOf(t.filter(
|
|
7479
|
+
return t.indexOf(t.filter(Ol).pop());
|
|
7480
7480
|
}
|
|
7481
7481
|
hostConnected() {
|
|
7482
7482
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7589,7 +7589,7 @@ const ze = N((s) => typeof s.prototype.addController == "function" ? s : class e
|
|
|
7589
7589
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7590
7590
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7591
7591
|
*/
|
|
7592
|
-
const
|
|
7592
|
+
const ql = (s) => class extends ze(s) {
|
|
7593
7593
|
static get properties() {
|
|
7594
7594
|
return {
|
|
7595
7595
|
/**
|
|
@@ -7620,7 +7620,7 @@ const Kl = (s) => class extends ze(s) {
|
|
|
7620
7620
|
};
|
|
7621
7621
|
}
|
|
7622
7622
|
constructor() {
|
|
7623
|
-
super(), this.__ariaModalController = new
|
|
7623
|
+
super(), this.__ariaModalController = new Yl(this), this.__focusTrapController = new jl(this), this.__focusRestorationController = new Wl();
|
|
7624
7624
|
}
|
|
7625
7625
|
/** @protected */
|
|
7626
7626
|
ready() {
|
|
@@ -7691,7 +7691,7 @@ const Kl = (s) => class extends ze(s) {
|
|
|
7691
7691
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7692
7692
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7693
7693
|
*/
|
|
7694
|
-
const
|
|
7694
|
+
const er = () => Array.from(document.body.children).filter((s) => s instanceof HTMLElement && s._hasOverlayStackMixin && !s.hasAttribute("closing")).sort((s, t) => s.__zIndex - t.__zIndex || 0), _i = () => er().filter((s) => s.$.overlay), Kl = (s) => s === _i().pop(), Gl = (s) => class extends s {
|
|
7695
7695
|
constructor() {
|
|
7696
7696
|
super(), this._hasOverlayStackMixin = !0;
|
|
7697
7697
|
}
|
|
@@ -7702,14 +7702,14 @@ const tr = () => Array.from(document.body.children).filter((s) => s instanceof H
|
|
|
7702
7702
|
* @protected
|
|
7703
7703
|
*/
|
|
7704
7704
|
get _last() {
|
|
7705
|
-
return
|
|
7705
|
+
return Kl(this);
|
|
7706
7706
|
}
|
|
7707
7707
|
/**
|
|
7708
7708
|
* Brings the overlay as visually the frontmost one.
|
|
7709
7709
|
*/
|
|
7710
7710
|
bringToFront() {
|
|
7711
7711
|
let e = "";
|
|
7712
|
-
const i =
|
|
7712
|
+
const i = er().filter((o) => o !== this).pop();
|
|
7713
7713
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7714
7714
|
}
|
|
7715
7715
|
/** @protected */
|
|
@@ -7732,7 +7732,7 @@ const tr = () => Array.from(document.body.children).filter((s) => s instanceof H
|
|
|
7732
7732
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7733
7733
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7734
7734
|
*/
|
|
7735
|
-
const
|
|
7735
|
+
const Xl = (s) => class extends ql(Gl(s)) {
|
|
7736
7736
|
static get properties() {
|
|
7737
7737
|
return {
|
|
7738
7738
|
/**
|
|
@@ -7805,7 +7805,7 @@ const Jl = (s) => class extends Kl(Xl(s)) {
|
|
|
7805
7805
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7806
7806
|
}
|
|
7807
7807
|
constructor() {
|
|
7808
|
-
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),
|
|
7808
|
+
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), Qo && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7809
7809
|
}
|
|
7810
7810
|
/** @protected */
|
|
7811
7811
|
ready() {
|
|
@@ -7873,7 +7873,7 @@ const Jl = (s) => class extends Kl(Xl(s)) {
|
|
|
7873
7873
|
}
|
|
7874
7874
|
/** @private */
|
|
7875
7875
|
_openedChanged(e, i) {
|
|
7876
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7876
|
+
e ? (this._saveFocus(), this._animatedOpening(), Jo(this, () => {
|
|
7877
7877
|
this._trapFocus();
|
|
7878
7878
|
const o = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7879
7879
|
this.dispatchEvent(o);
|
|
@@ -7998,7 +7998,7 @@ const Jl = (s) => class extends Kl(Xl(s)) {
|
|
|
7998
7998
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7999
7999
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8000
8000
|
*/
|
|
8001
|
-
function
|
|
8001
|
+
function Jl(s) {
|
|
8002
8002
|
const t = [];
|
|
8003
8003
|
for (; s; ) {
|
|
8004
8004
|
if (s.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -8023,11 +8023,11 @@ function Li(s) {
|
|
|
8023
8023
|
function Mt(s) {
|
|
8024
8024
|
return s ? [...s].join(" ") : "";
|
|
8025
8025
|
}
|
|
8026
|
-
function
|
|
8026
|
+
function tr(s, t, e) {
|
|
8027
8027
|
const i = Li(s.getAttribute(t));
|
|
8028
8028
|
i.add(e), s.setAttribute(t, Mt(i));
|
|
8029
8029
|
}
|
|
8030
|
-
function
|
|
8030
|
+
function Ql(s, t, e) {
|
|
8031
8031
|
const i = Li(s.getAttribute(t));
|
|
8032
8032
|
if (i.delete(e), i.size === 0) {
|
|
8033
8033
|
s.removeAttribute(t);
|
|
@@ -8035,7 +8035,7 @@ function Zl(s, t, e) {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
s.setAttribute(t, Mt(i));
|
|
8037
8037
|
}
|
|
8038
|
-
function
|
|
8038
|
+
function Zl(s) {
|
|
8039
8039
|
return s.nodeType === Node.TEXT_NODE && s.textContent.trim() === "";
|
|
8040
8040
|
}
|
|
8041
8041
|
/**
|
|
@@ -8043,7 +8043,7 @@ function ed(s) {
|
|
|
8043
8043
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
8044
8044
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8045
8045
|
*/
|
|
8046
|
-
function
|
|
8046
|
+
function ed(s, t) {
|
|
8047
8047
|
let e = null;
|
|
8048
8048
|
const i = document.documentElement;
|
|
8049
8049
|
function o() {
|
|
@@ -8083,13 +8083,13 @@ const Kt = {
|
|
|
8083
8083
|
}, Gt = {
|
|
8084
8084
|
start: "left",
|
|
8085
8085
|
end: "right"
|
|
8086
|
-
},
|
|
8086
|
+
}, Is = new ResizeObserver((s) => {
|
|
8087
8087
|
setTimeout(() => {
|
|
8088
8088
|
s.forEach((t) => {
|
|
8089
8089
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
8090
8090
|
});
|
|
8091
8091
|
});
|
|
8092
|
-
}),
|
|
8092
|
+
}), td = (s) => class extends s {
|
|
8093
8093
|
static get properties() {
|
|
8094
8094
|
return {
|
|
8095
8095
|
/**
|
|
@@ -8188,9 +8188,9 @@ const Kt = {
|
|
|
8188
8188
|
}
|
|
8189
8189
|
/** @private */
|
|
8190
8190
|
__addUpdatePositionEventListeners() {
|
|
8191
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8191
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Jl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8192
8192
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8193
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8193
|
+
}), this.positionTarget && (this.__observePositionTargetMove = ed(this.positionTarget, () => {
|
|
8194
8194
|
this._updatePosition();
|
|
8195
8195
|
}));
|
|
8196
8196
|
}
|
|
@@ -8202,7 +8202,7 @@ const Kt = {
|
|
|
8202
8202
|
}
|
|
8203
8203
|
/** @private */
|
|
8204
8204
|
__overlayOpenedChanged(e, i) {
|
|
8205
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8205
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Is.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Is.observe(i))), e) {
|
|
8206
8206
|
const o = getComputedStyle(this);
|
|
8207
8207
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8208
8208
|
this.__margins[r] = parseInt(o[r], 10);
|
|
@@ -8324,7 +8324,7 @@ const Kt = {
|
|
|
8324
8324
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8325
8325
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8326
8326
|
*/
|
|
8327
|
-
const
|
|
8327
|
+
const id = (s) => class extends td(Xl(s)) {
|
|
8328
8328
|
/**
|
|
8329
8329
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8330
8330
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8341,7 +8341,7 @@ const sd = (s) => class extends id(Jl(s)) {
|
|
|
8341
8341
|
* @override
|
|
8342
8342
|
*/
|
|
8343
8343
|
_mouseDownListener(e) {
|
|
8344
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8344
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !qo(e.composedPath()[0]) && e.preventDefault();
|
|
8345
8345
|
}
|
|
8346
8346
|
};
|
|
8347
8347
|
/**
|
|
@@ -8349,7 +8349,7 @@ const sd = (s) => class extends id(Jl(s)) {
|
|
|
8349
8349
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8350
8350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8351
8351
|
*/
|
|
8352
|
-
const
|
|
8352
|
+
const sd = C`
|
|
8353
8353
|
[part='overlay'] {
|
|
8354
8354
|
display: flex;
|
|
8355
8355
|
flex: auto;
|
|
@@ -8370,10 +8370,10 @@ const od = C`
|
|
|
8370
8370
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8371
8371
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8372
8372
|
*/
|
|
8373
|
-
S("vaadin-date-picker-overlay", [
|
|
8373
|
+
S("vaadin-date-picker-overlay", [kl, sd], {
|
|
8374
8374
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8375
8375
|
});
|
|
8376
|
-
class
|
|
8376
|
+
class od extends id(St(ve(de))) {
|
|
8377
8377
|
static get is() {
|
|
8378
8378
|
return "vaadin-date-picker-overlay";
|
|
8379
8379
|
}
|
|
@@ -8388,34 +8388,34 @@ class rd extends sd(St(ve(de))) {
|
|
|
8388
8388
|
`;
|
|
8389
8389
|
}
|
|
8390
8390
|
}
|
|
8391
|
-
Q(
|
|
8392
|
-
const
|
|
8393
|
-
function
|
|
8391
|
+
Q(od);
|
|
8392
|
+
const rd = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, yt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8393
|
+
function nd() {
|
|
8394
8394
|
function s() {
|
|
8395
8395
|
return !0;
|
|
8396
8396
|
}
|
|
8397
|
-
return
|
|
8397
|
+
return ir(s);
|
|
8398
8398
|
}
|
|
8399
|
-
function
|
|
8399
|
+
function ad() {
|
|
8400
8400
|
try {
|
|
8401
|
-
return
|
|
8401
|
+
return ld() ? !0 : dd() ? yt ? !cd() : !nd() : !1;
|
|
8402
8402
|
} catch (s) {
|
|
8403
8403
|
return !1;
|
|
8404
8404
|
}
|
|
8405
8405
|
}
|
|
8406
|
-
function
|
|
8406
|
+
function ld() {
|
|
8407
8407
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8408
8408
|
}
|
|
8409
|
-
function
|
|
8409
|
+
function dd() {
|
|
8410
8410
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8411
8411
|
}
|
|
8412
|
-
function
|
|
8412
|
+
function cd() {
|
|
8413
8413
|
return !!(yt && Object.keys(yt).map((t) => yt[t]).filter((t) => t.productionMode).length > 0);
|
|
8414
8414
|
}
|
|
8415
|
-
function
|
|
8415
|
+
function ir(s, t) {
|
|
8416
8416
|
if (typeof s != "function")
|
|
8417
8417
|
return;
|
|
8418
|
-
const e =
|
|
8418
|
+
const e = rd.exec(s.toString());
|
|
8419
8419
|
if (e)
|
|
8420
8420
|
try {
|
|
8421
8421
|
s = new Function(e[1]);
|
|
@@ -8425,12 +8425,12 @@ function sr(s, t) {
|
|
|
8425
8425
|
return s(t);
|
|
8426
8426
|
}
|
|
8427
8427
|
window.Vaadin = window.Vaadin || {};
|
|
8428
|
-
const
|
|
8428
|
+
const Ns = function(s, t) {
|
|
8429
8429
|
if (window.Vaadin.developmentMode)
|
|
8430
|
-
return
|
|
8430
|
+
return ir(s, t);
|
|
8431
8431
|
};
|
|
8432
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8433
|
-
function
|
|
8432
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = ad());
|
|
8433
|
+
function ud() {
|
|
8434
8434
|
/*! vaadin-dev-mode:start
|
|
8435
8435
|
(function () {
|
|
8436
8436
|
'use strict';
|
|
@@ -8911,9 +8911,9 @@ function hd() {
|
|
|
8911
8911
|
|
|
8912
8912
|
vaadin-dev-mode:end **/
|
|
8913
8913
|
}
|
|
8914
|
-
const
|
|
8915
|
-
if (typeof
|
|
8916
|
-
return
|
|
8914
|
+
const hd = function() {
|
|
8915
|
+
if (typeof Ns == "function")
|
|
8916
|
+
return Ns(ud);
|
|
8917
8917
|
};
|
|
8918
8918
|
/**
|
|
8919
8919
|
* @license
|
|
@@ -8924,10 +8924,10 @@ const pd = function() {
|
|
|
8924
8924
|
* Code distributed by Google as part of the polymer project is also
|
|
8925
8925
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8926
8926
|
*/
|
|
8927
|
-
let
|
|
8927
|
+
let Fs = 0, sr = 0;
|
|
8928
8928
|
const Oe = [];
|
|
8929
8929
|
let mi = !1;
|
|
8930
|
-
function
|
|
8930
|
+
function pd() {
|
|
8931
8931
|
mi = !1;
|
|
8932
8932
|
const s = Oe.length;
|
|
8933
8933
|
for (let t = 0; t < s; t++) {
|
|
@@ -8941,7 +8941,7 @@ function fd() {
|
|
|
8941
8941
|
});
|
|
8942
8942
|
}
|
|
8943
8943
|
}
|
|
8944
|
-
Oe.splice(0, s),
|
|
8944
|
+
Oe.splice(0, s), sr += s;
|
|
8945
8945
|
}
|
|
8946
8946
|
const Et = {
|
|
8947
8947
|
/**
|
|
@@ -8983,7 +8983,7 @@ const Et = {
|
|
|
8983
8983
|
cancel(s) {
|
|
8984
8984
|
window.clearTimeout(s);
|
|
8985
8985
|
}
|
|
8986
|
-
},
|
|
8986
|
+
}, fd = {
|
|
8987
8987
|
/**
|
|
8988
8988
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8989
8989
|
*
|
|
@@ -9004,7 +9004,7 @@ const Et = {
|
|
|
9004
9004
|
cancel(s) {
|
|
9005
9005
|
window.cancelAnimationFrame(s);
|
|
9006
9006
|
}
|
|
9007
|
-
},
|
|
9007
|
+
}, _d = {
|
|
9008
9008
|
/**
|
|
9009
9009
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
9010
9010
|
*
|
|
@@ -9025,7 +9025,7 @@ const Et = {
|
|
|
9025
9025
|
cancel(s) {
|
|
9026
9026
|
window.cancelIdleCallback ? window.cancelIdleCallback(s) : window.clearTimeout(s);
|
|
9027
9027
|
}
|
|
9028
|
-
},
|
|
9028
|
+
}, md = {
|
|
9029
9029
|
/**
|
|
9030
9030
|
* Enqueues a function called at microtask timing.
|
|
9031
9031
|
*
|
|
@@ -9034,9 +9034,9 @@ const Et = {
|
|
|
9034
9034
|
* @return {number} Handle used for canceling task
|
|
9035
9035
|
*/
|
|
9036
9036
|
run(s) {
|
|
9037
|
-
mi || (mi = !0, queueMicrotask(() =>
|
|
9038
|
-
const t =
|
|
9039
|
-
return
|
|
9037
|
+
mi || (mi = !0, queueMicrotask(() => pd())), Oe.push(s);
|
|
9038
|
+
const t = Fs;
|
|
9039
|
+
return Fs += 1, t;
|
|
9040
9040
|
},
|
|
9041
9041
|
/**
|
|
9042
9042
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -9046,7 +9046,7 @@ const Et = {
|
|
|
9046
9046
|
* @return {void}
|
|
9047
9047
|
*/
|
|
9048
9048
|
cancel(s) {
|
|
9049
|
-
const t = s -
|
|
9049
|
+
const t = s - sr;
|
|
9050
9050
|
if (t >= 0) {
|
|
9051
9051
|
if (!Oe[t])
|
|
9052
9052
|
throw new Error(`invalid async handle: ${s}`);
|
|
@@ -9155,7 +9155,7 @@ let Fe = class yi {
|
|
|
9155
9155
|
return this._timer != null;
|
|
9156
9156
|
}
|
|
9157
9157
|
};
|
|
9158
|
-
function
|
|
9158
|
+
function gd(s) {
|
|
9159
9159
|
gi.add(s);
|
|
9160
9160
|
}
|
|
9161
9161
|
/**
|
|
@@ -9167,17 +9167,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9167
9167
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9168
9168
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9169
9169
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9170
|
-
|
|
9170
|
+
hd();
|
|
9171
9171
|
};
|
|
9172
9172
|
let Xt;
|
|
9173
|
-
const
|
|
9173
|
+
const Bs = /* @__PURE__ */ new Set(), or = (s) => class extends St(s) {
|
|
9174
9174
|
/** @protected */
|
|
9175
9175
|
static finalize() {
|
|
9176
9176
|
super.finalize();
|
|
9177
9177
|
const { is: e } = this;
|
|
9178
|
-
e && !
|
|
9178
|
+
e && !Bs.has(e) && (window.Vaadin.registrations.push(this), Bs.add(e), window.Vaadin.developmentModeCallback && (Xt = Fe.debounce(Xt, _d, () => {
|
|
9179
9179
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9180
|
-
}),
|
|
9180
|
+
}), gd(Xt)));
|
|
9181
9181
|
}
|
|
9182
9182
|
constructor() {
|
|
9183
9183
|
super(), document.doctype === null && console.warn(
|
|
@@ -9190,7 +9190,7 @@ const Ls = /* @__PURE__ */ new Set(), rr = (s) => class extends St(s) {
|
|
|
9190
9190
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9191
9191
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9192
9192
|
*/
|
|
9193
|
-
class
|
|
9193
|
+
class yd {
|
|
9194
9194
|
constructor(t, e) {
|
|
9195
9195
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9196
9196
|
this._schedule();
|
|
@@ -9240,9 +9240,9 @@ class bd {
|
|
|
9240
9240
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9241
9241
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9242
9242
|
*/
|
|
9243
|
-
let
|
|
9244
|
-
function
|
|
9245
|
-
return
|
|
9243
|
+
let bd = 0;
|
|
9244
|
+
function rr() {
|
|
9245
|
+
return bd++;
|
|
9246
9246
|
}
|
|
9247
9247
|
/**
|
|
9248
9248
|
* @license
|
|
@@ -9259,7 +9259,7 @@ class me extends EventTarget {
|
|
|
9259
9259
|
* @protected
|
|
9260
9260
|
*/
|
|
9261
9261
|
static generateId(t, e = "default") {
|
|
9262
|
-
return `${e}-${t.localName}-${
|
|
9262
|
+
return `${e}-${t.localName}-${rr()}`;
|
|
9263
9263
|
}
|
|
9264
9264
|
constructor(t, e, i, o = {}) {
|
|
9265
9265
|
super();
|
|
@@ -9351,8 +9351,8 @@ class me extends EventTarget {
|
|
|
9351
9351
|
*/
|
|
9352
9352
|
observeSlot() {
|
|
9353
9353
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9354
|
-
this.__slotObserver = new
|
|
9355
|
-
const n = this.multiple ? this.nodes : [this.node], a = o.filter((l) => !
|
|
9354
|
+
this.__slotObserver = new yd(i, ({ addedNodes: o, removedNodes: r }) => {
|
|
9355
|
+
const n = this.multiple ? this.nodes : [this.node], a = o.filter((l) => !Zl(l) && !n.includes(l));
|
|
9356
9356
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9357
9357
|
this.teardownNode(l);
|
|
9358
9358
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9366,7 +9366,7 @@ class me extends EventTarget {
|
|
|
9366
9366
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9367
9367
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9368
9368
|
*/
|
|
9369
|
-
class
|
|
9369
|
+
class nr extends me {
|
|
9370
9370
|
constructor(t) {
|
|
9371
9371
|
super(t, "tooltip"), this.setTarget(t);
|
|
9372
9372
|
}
|
|
@@ -9467,7 +9467,7 @@ class ar extends me {
|
|
|
9467
9467
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9468
9468
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9469
9469
|
*/
|
|
9470
|
-
const
|
|
9470
|
+
const vd = C`
|
|
9471
9471
|
:host {
|
|
9472
9472
|
display: inline-block;
|
|
9473
9473
|
position: relative;
|
|
@@ -9527,7 +9527,7 @@ const wd = C`
|
|
|
9527
9527
|
outline-color: GrayText;
|
|
9528
9528
|
}
|
|
9529
9529
|
}
|
|
9530
|
-
`,
|
|
9530
|
+
`, wd = (s) => s`
|
|
9531
9531
|
<div class="vaadin-button-container">
|
|
9532
9532
|
<span part="prefix" aria-hidden="true">
|
|
9533
9533
|
<slot name="prefix"></slot>
|
|
@@ -9550,7 +9550,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9550
9550
|
Code distributed by Google as part of the polymer project is also
|
|
9551
9551
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9552
9552
|
*/
|
|
9553
|
-
const
|
|
9553
|
+
const xd = (s) => s, ar = typeof document.head.style.touchAction == "string", bi = "__polymerGestures", Jt = "__polymerGesturesHandled", vi = "__polymerGesturesTouchAction", Ls = 25, zs = 5, Cd = 2, Ad = ["mousedown", "mousemove", "mouseup", "click"], Ed = [0, 1, 4, 2], Pd = function() {
|
|
9554
9554
|
try {
|
|
9555
9555
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9556
9556
|
} catch (s) {
|
|
@@ -9558,25 +9558,25 @@ const Cd = (s) => s, lr = typeof document.head.style.touchAction == "string", bi
|
|
|
9558
9558
|
}
|
|
9559
9559
|
}();
|
|
9560
9560
|
function zi(s) {
|
|
9561
|
-
return
|
|
9561
|
+
return Ad.indexOf(s) > -1;
|
|
9562
9562
|
}
|
|
9563
|
-
let
|
|
9563
|
+
let kd = !1;
|
|
9564
9564
|
(function() {
|
|
9565
9565
|
try {
|
|
9566
9566
|
const s = Object.defineProperty({}, "passive", {
|
|
9567
9567
|
// eslint-disable-next-line getter-return
|
|
9568
9568
|
get() {
|
|
9569
|
-
|
|
9569
|
+
kd = !0;
|
|
9570
9570
|
}
|
|
9571
9571
|
});
|
|
9572
9572
|
window.addEventListener("test", null, s), window.removeEventListener("test", null, s);
|
|
9573
9573
|
} catch (s) {
|
|
9574
9574
|
}
|
|
9575
9575
|
})();
|
|
9576
|
-
function
|
|
9576
|
+
function Dd(s) {
|
|
9577
9577
|
zi(s);
|
|
9578
9578
|
}
|
|
9579
|
-
const
|
|
9579
|
+
const Td = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Sd = {
|
|
9580
9580
|
button: !0,
|
|
9581
9581
|
command: !0,
|
|
9582
9582
|
fieldset: !0,
|
|
@@ -9593,11 +9593,11 @@ function ye(s) {
|
|
|
9593
9593
|
return !1;
|
|
9594
9594
|
if (t === "mousemove") {
|
|
9595
9595
|
let i = s.buttons === void 0 ? 1 : s.buttons;
|
|
9596
|
-
return s instanceof window.MouseEvent && !
|
|
9596
|
+
return s instanceof window.MouseEvent && !Pd && (i = Ed[s.which] || 0), !!(i & 1);
|
|
9597
9597
|
}
|
|
9598
9598
|
return (s.button === void 0 ? 0 : s.button) === 0;
|
|
9599
9599
|
}
|
|
9600
|
-
function
|
|
9600
|
+
function Od(s) {
|
|
9601
9601
|
if (s.type === "click") {
|
|
9602
9602
|
if (s.detail === 0)
|
|
9603
9603
|
return !0;
|
|
@@ -9621,9 +9621,9 @@ const ie = {
|
|
|
9621
9621
|
scrollDecided: !1
|
|
9622
9622
|
}
|
|
9623
9623
|
};
|
|
9624
|
-
function
|
|
9624
|
+
function Md(s) {
|
|
9625
9625
|
let t = "auto";
|
|
9626
|
-
const e =
|
|
9626
|
+
const e = dr(s);
|
|
9627
9627
|
for (let i = 0, o; i < e.length; i++)
|
|
9628
9628
|
if (o = e[i], o[vi]) {
|
|
9629
9629
|
t = o[vi];
|
|
@@ -9631,14 +9631,14 @@ function Id(s) {
|
|
|
9631
9631
|
}
|
|
9632
9632
|
return t;
|
|
9633
9633
|
}
|
|
9634
|
-
function
|
|
9634
|
+
function lr(s, t, e) {
|
|
9635
9635
|
s.movefn = t, s.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9636
9636
|
}
|
|
9637
9637
|
function Me(s) {
|
|
9638
9638
|
document.removeEventListener("mousemove", s.movefn), document.removeEventListener("mouseup", s.upfn), s.movefn = null, s.upfn = null;
|
|
9639
9639
|
}
|
|
9640
|
-
const
|
|
9641
|
-
function
|
|
9640
|
+
const dr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (s) => s.composedPath && s.composedPath() || [], Ri = {}, ge = [];
|
|
9641
|
+
function Id(s, t) {
|
|
9642
9642
|
let e = document.elementFromPoint(s, t), i = e;
|
|
9643
9643
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9644
9644
|
const o = i;
|
|
@@ -9649,13 +9649,13 @@ function Nd(s, t) {
|
|
|
9649
9649
|
return e;
|
|
9650
9650
|
}
|
|
9651
9651
|
function le(s) {
|
|
9652
|
-
const t =
|
|
9652
|
+
const t = dr(
|
|
9653
9653
|
/** @type {?Event} */
|
|
9654
9654
|
s
|
|
9655
9655
|
);
|
|
9656
9656
|
return t.length > 0 ? t[0] : s.target;
|
|
9657
9657
|
}
|
|
9658
|
-
function
|
|
9658
|
+
function Nd(s) {
|
|
9659
9659
|
const t = s.type, i = s.currentTarget[bi];
|
|
9660
9660
|
if (!i)
|
|
9661
9661
|
return;
|
|
@@ -9666,7 +9666,7 @@ function Fd(s) {
|
|
|
9666
9666
|
const n = s.changedTouches[0];
|
|
9667
9667
|
if (t === "touchstart" && s.touches.length === 1 && (ie.touch.id = n.identifier), ie.touch.id !== n.identifier)
|
|
9668
9668
|
return;
|
|
9669
|
-
|
|
9669
|
+
ar || (t === "touchstart" || t === "touchmove") && Fd(s);
|
|
9670
9670
|
}
|
|
9671
9671
|
const r = s[Jt];
|
|
9672
9672
|
if (!r.skip) {
|
|
@@ -9676,7 +9676,7 @@ function Fd(s) {
|
|
|
9676
9676
|
a = ge[n], o[a.name] && !r[a.name] && (r[a.name] = !0, a[t](s));
|
|
9677
9677
|
}
|
|
9678
9678
|
}
|
|
9679
|
-
function
|
|
9679
|
+
function Fd(s) {
|
|
9680
9680
|
const t = s.changedTouches[0], e = s.type;
|
|
9681
9681
|
if (e === "touchstart")
|
|
9682
9682
|
ie.touch.x = t.clientX, ie.touch.y = t.clientY, ie.touch.scrollDecided = !1;
|
|
@@ -9684,29 +9684,29 @@ function Bd(s) {
|
|
|
9684
9684
|
if (ie.touch.scrollDecided)
|
|
9685
9685
|
return;
|
|
9686
9686
|
ie.touch.scrollDecided = !0;
|
|
9687
|
-
const i =
|
|
9687
|
+
const i = Md(s);
|
|
9688
9688
|
let o = !1;
|
|
9689
9689
|
const r = Math.abs(ie.touch.x - t.clientX), n = Math.abs(ie.touch.y - t.clientY);
|
|
9690
9690
|
s.cancelable && (i === "none" ? o = !0 : i === "pan-x" ? o = n > r : i === "pan-y" && (o = r > n)), o ? s.preventDefault() : Pt("track");
|
|
9691
9691
|
}
|
|
9692
9692
|
}
|
|
9693
9693
|
function G(s, t, e) {
|
|
9694
|
-
return Ri[t] ? (
|
|
9694
|
+
return Ri[t] ? (Bd(s, t, e), !0) : !1;
|
|
9695
9695
|
}
|
|
9696
|
-
function
|
|
9696
|
+
function Bd(s, t, e) {
|
|
9697
9697
|
const i = Ri[t], o = i.deps, r = i.name;
|
|
9698
9698
|
let n = s[bi];
|
|
9699
9699
|
n || (s[bi] = n = {});
|
|
9700
9700
|
for (let a = 0, l, d; a < o.length; a++)
|
|
9701
|
-
l = o[a], !(
|
|
9702
|
-
s.addEventListener(t, e), i.touchAction &&
|
|
9701
|
+
l = o[a], !(Td && zi(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && s.addEventListener(l, Nd, Dd(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9702
|
+
s.addEventListener(t, e), i.touchAction && cr(s, i.touchAction);
|
|
9703
9703
|
}
|
|
9704
9704
|
function Hi(s) {
|
|
9705
9705
|
ge.push(s), s.emits.forEach((t) => {
|
|
9706
9706
|
Ri[t] = s;
|
|
9707
9707
|
});
|
|
9708
9708
|
}
|
|
9709
|
-
function
|
|
9709
|
+
function Ld(s) {
|
|
9710
9710
|
for (let t = 0, e; t < ge.length; t++) {
|
|
9711
9711
|
e = ge[t];
|
|
9712
9712
|
for (let i = 0, o; i < e.emits.length; i++)
|
|
@@ -9715,14 +9715,14 @@ function zd(s) {
|
|
|
9715
9715
|
}
|
|
9716
9716
|
return null;
|
|
9717
9717
|
}
|
|
9718
|
-
function
|
|
9719
|
-
|
|
9718
|
+
function cr(s, t) {
|
|
9719
|
+
ar && s instanceof HTMLElement && md.run(() => {
|
|
9720
9720
|
s.style.touchAction = t;
|
|
9721
9721
|
}), s[vi] = t;
|
|
9722
9722
|
}
|
|
9723
9723
|
function $i(s, t, e) {
|
|
9724
9724
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9725
|
-
if (i.detail = e,
|
|
9725
|
+
if (i.detail = e, xd(
|
|
9726
9726
|
/** @type {!Node} */
|
|
9727
9727
|
s
|
|
9728
9728
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9731,7 +9731,7 @@ function $i(s, t, e) {
|
|
|
9731
9731
|
}
|
|
9732
9732
|
}
|
|
9733
9733
|
function Pt(s) {
|
|
9734
|
-
const t =
|
|
9734
|
+
const t = Ld(s);
|
|
9735
9735
|
t.info && (t.info.prevent = !0);
|
|
9736
9736
|
}
|
|
9737
9737
|
Hi({
|
|
@@ -9766,7 +9766,7 @@ Hi({
|
|
|
9766
9766
|
}, o = (r) => {
|
|
9767
9767
|
ye(r) && je("up", t, r), Me(e.info);
|
|
9768
9768
|
};
|
|
9769
|
-
|
|
9769
|
+
lr(this.info, i, o), je("down", t, s);
|
|
9770
9770
|
},
|
|
9771
9771
|
/**
|
|
9772
9772
|
* @this {GestureRecognizer}
|
|
@@ -9813,7 +9813,7 @@ Hi({
|
|
|
9813
9813
|
moves: [],
|
|
9814
9814
|
/** @this {GestureInfo} */
|
|
9815
9815
|
addMove(s) {
|
|
9816
|
-
this.moves.length >
|
|
9816
|
+
this.moves.length > Cd && this.moves.shift(), this.moves.push(s);
|
|
9817
9817
|
},
|
|
9818
9818
|
movefn: null,
|
|
9819
9819
|
upfn: null,
|
|
@@ -9836,11 +9836,11 @@ Hi({
|
|
|
9836
9836
|
return;
|
|
9837
9837
|
const t = le(s), e = this, i = (r) => {
|
|
9838
9838
|
const n = r.clientX, a = r.clientY;
|
|
9839
|
-
|
|
9839
|
+
Rs(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Pt("tap"), e.info.addMove({ x: n, y: a }), ye(r) || (e.info.state = "end", Me(e.info)), t && Qt(e.info, t, r), e.info.started = !0);
|
|
9840
9840
|
}, o = (r) => {
|
|
9841
9841
|
e.info.started && i(r), Me(e.info);
|
|
9842
9842
|
};
|
|
9843
|
-
|
|
9843
|
+
lr(this.info, i, o), this.info.x = s.clientX, this.info.y = s.clientY;
|
|
9844
9844
|
},
|
|
9845
9845
|
/**
|
|
9846
9846
|
* @this {GestureRecognizer}
|
|
@@ -9858,7 +9858,7 @@ Hi({
|
|
|
9858
9858
|
*/
|
|
9859
9859
|
touchmove(s) {
|
|
9860
9860
|
const t = le(s), e = s.changedTouches[0], i = e.clientX, o = e.clientY;
|
|
9861
|
-
|
|
9861
|
+
Rs(this.info, i, o) && (this.info.state === "start" && Pt("tap"), this.info.addMove({ x: i, y: o }), Qt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9862
9862
|
},
|
|
9863
9863
|
/**
|
|
9864
9864
|
* @this {GestureRecognizer}
|
|
@@ -9870,13 +9870,13 @@ Hi({
|
|
|
9870
9870
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Qt(this.info, t, e));
|
|
9871
9871
|
}
|
|
9872
9872
|
});
|
|
9873
|
-
function
|
|
9873
|
+
function Rs(s, t, e) {
|
|
9874
9874
|
if (s.prevent)
|
|
9875
9875
|
return !1;
|
|
9876
9876
|
if (s.started)
|
|
9877
9877
|
return !0;
|
|
9878
9878
|
const i = Math.abs(s.x - t), o = Math.abs(s.y - e);
|
|
9879
|
-
return i >=
|
|
9879
|
+
return i >= zs || o >= zs;
|
|
9880
9880
|
}
|
|
9881
9881
|
function Qt(s, t, e) {
|
|
9882
9882
|
if (!t)
|
|
@@ -9893,7 +9893,7 @@ function Qt(s, t, e) {
|
|
|
9893
9893
|
ddy: l,
|
|
9894
9894
|
sourceEvent: e,
|
|
9895
9895
|
hover() {
|
|
9896
|
-
return
|
|
9896
|
+
return Id(e.clientX, e.clientY);
|
|
9897
9897
|
}
|
|
9898
9898
|
});
|
|
9899
9899
|
}
|
|
@@ -9931,7 +9931,7 @@ Hi({
|
|
|
9931
9931
|
* @return {void}
|
|
9932
9932
|
*/
|
|
9933
9933
|
click(s) {
|
|
9934
|
-
ye(s) &&
|
|
9934
|
+
ye(s) && Hs(this.info, s);
|
|
9935
9935
|
},
|
|
9936
9936
|
/**
|
|
9937
9937
|
* @this {GestureRecognizer}
|
|
@@ -9948,15 +9948,15 @@ Hi({
|
|
|
9948
9948
|
* @return {void}
|
|
9949
9949
|
*/
|
|
9950
9950
|
touchend(s) {
|
|
9951
|
-
|
|
9951
|
+
Hs(this.info, s.changedTouches[0], s);
|
|
9952
9952
|
}
|
|
9953
9953
|
});
|
|
9954
|
-
function
|
|
9954
|
+
function Hs(s, t, e) {
|
|
9955
9955
|
const i = Math.abs(t.clientX - s.x), o = Math.abs(t.clientY - s.y), r = le(e || t);
|
|
9956
|
-
!r ||
|
|
9956
|
+
!r || Sd[
|
|
9957
9957
|
/** @type {!HTMLElement} */
|
|
9958
9958
|
r.localName
|
|
9959
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(o) || i <=
|
|
9959
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(o) || i <= Ls && o <= Ls || Od(t)) && (s.prevent || $i(r, "tap", {
|
|
9960
9960
|
x: t.clientX,
|
|
9961
9961
|
y: t.clientY,
|
|
9962
9962
|
sourceEvent: t,
|
|
@@ -9968,7 +9968,7 @@ function $s(s, t, e) {
|
|
|
9968
9968
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9969
9969
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9970
9970
|
*/
|
|
9971
|
-
const
|
|
9971
|
+
const ur = N(
|
|
9972
9972
|
(s) => class extends s {
|
|
9973
9973
|
static get properties() {
|
|
9974
9974
|
return {
|
|
@@ -10075,7 +10075,7 @@ const It = N(
|
|
|
10075
10075
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10076
10076
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10077
10077
|
*/
|
|
10078
|
-
const
|
|
10078
|
+
const zd = (s) => class extends ur(It(s)) {
|
|
10079
10079
|
/**
|
|
10080
10080
|
* An array of activation keys.
|
|
10081
10081
|
*
|
|
@@ -10195,7 +10195,7 @@ const Vi = N(
|
|
|
10195
10195
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10196
10196
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10197
10197
|
*/
|
|
10198
|
-
const
|
|
10198
|
+
const hr = (s) => class extends ur(s) {
|
|
10199
10199
|
static get properties() {
|
|
10200
10200
|
return {
|
|
10201
10201
|
/**
|
|
@@ -10246,7 +10246,7 @@ const pr = (s) => class extends hr(s) {
|
|
|
10246
10246
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10247
10247
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10248
10248
|
*/
|
|
10249
|
-
const
|
|
10249
|
+
const Rd = (s) => class extends zd(hr(Vi(s))) {
|
|
10250
10250
|
static get properties() {
|
|
10251
10251
|
return {
|
|
10252
10252
|
/**
|
|
@@ -10301,26 +10301,26 @@ const Hd = (s) => class extends Rd(pr(Vi(s))) {
|
|
|
10301
10301
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10302
10302
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10303
10303
|
*/
|
|
10304
|
-
S("vaadin-button",
|
|
10305
|
-
class
|
|
10304
|
+
S("vaadin-button", vd, { moduleId: "vaadin-button-styles" });
|
|
10305
|
+
class Hd extends Rd(or(ve(ze(de)))) {
|
|
10306
10306
|
static get is() {
|
|
10307
10307
|
return "vaadin-button";
|
|
10308
10308
|
}
|
|
10309
10309
|
static get template() {
|
|
10310
|
-
return
|
|
10310
|
+
return wd(xe);
|
|
10311
10311
|
}
|
|
10312
10312
|
/** @protected */
|
|
10313
10313
|
ready() {
|
|
10314
|
-
super.ready(), this._tooltipController = new
|
|
10314
|
+
super.ready(), this._tooltipController = new nr(this), this.addController(this._tooltipController);
|
|
10315
10315
|
}
|
|
10316
10316
|
}
|
|
10317
|
-
Q(
|
|
10317
|
+
Q(Hd);
|
|
10318
10318
|
/**
|
|
10319
10319
|
* @license
|
|
10320
10320
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10321
10321
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10322
10322
|
*/
|
|
10323
|
-
function
|
|
10323
|
+
function $d(s) {
|
|
10324
10324
|
let t = s.getDay();
|
|
10325
10325
|
t === 0 && (t = 7);
|
|
10326
10326
|
const e = 4 - t, i = new Date(s.getTime() + e * 24 * 3600 * 1e3), o = new Date(0, 0);
|
|
@@ -10350,7 +10350,7 @@ function Be(s, t, e, i) {
|
|
|
10350
10350
|
}
|
|
10351
10351
|
return (!t || s >= t) && (!e || s <= e) && !o;
|
|
10352
10352
|
}
|
|
10353
|
-
function
|
|
10353
|
+
function pr(s, t) {
|
|
10354
10354
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10355
10355
|
if (!i)
|
|
10356
10356
|
return e;
|
|
@@ -10360,11 +10360,11 @@ function fr(s, t) {
|
|
|
10360
10360
|
return o < r ? i : e;
|
|
10361
10361
|
});
|
|
10362
10362
|
}
|
|
10363
|
-
function
|
|
10363
|
+
function fr(s) {
|
|
10364
10364
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10365
10365
|
return e.setDate(1), e.setMonth(parseInt(s) + t.getMonth()), e;
|
|
10366
10366
|
}
|
|
10367
|
-
function
|
|
10367
|
+
function Vd(s, t, e = 0, i = 1) {
|
|
10368
10368
|
if (t > 99)
|
|
10369
10369
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10370
10370
|
if (t < 0)
|
|
@@ -10379,15 +10379,15 @@ function qe(s) {
|
|
|
10379
10379
|
const e = new Date(0, 0);
|
|
10380
10380
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10381
10381
|
}
|
|
10382
|
-
function
|
|
10382
|
+
function Ud(s) {
|
|
10383
10383
|
const t = (l, d = "00") => (d + l).substr((d + l).length - d.length);
|
|
10384
10384
|
let e = "", i = "0000", o = s.year;
|
|
10385
10385
|
o < 0 ? (o = -o, e = "-", i = "000000") : s.year >= 1e4 && (e = "+", i = "000000");
|
|
10386
10386
|
const r = e + t(o, i), n = t(s.month + 1), a = t(s.day);
|
|
10387
10387
|
return [r, n, a].join("-");
|
|
10388
10388
|
}
|
|
10389
|
-
function
|
|
10390
|
-
return s instanceof Date ?
|
|
10389
|
+
function Yd(s) {
|
|
10390
|
+
return s instanceof Date ? Ud({
|
|
10391
10391
|
year: s.getFullYear(),
|
|
10392
10392
|
month: s.getMonth(),
|
|
10393
10393
|
day: s.getDate()
|
|
@@ -10494,9 +10494,9 @@ class kt {
|
|
|
10494
10494
|
}
|
|
10495
10495
|
}
|
|
10496
10496
|
let at = /* @__PURE__ */ new Set();
|
|
10497
|
-
const
|
|
10497
|
+
const Wd = function(s) {
|
|
10498
10498
|
at.add(s);
|
|
10499
|
-
},
|
|
10499
|
+
}, jd = function() {
|
|
10500
10500
|
const s = !!at.size;
|
|
10501
10501
|
return at.forEach((t) => {
|
|
10502
10502
|
try {
|
|
@@ -10520,7 +10520,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10520
10520
|
const Yi = function() {
|
|
10521
10521
|
let s, t;
|
|
10522
10522
|
do
|
|
10523
|
-
s = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10523
|
+
s = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = jd();
|
|
10524
10524
|
while (s || t);
|
|
10525
10525
|
};
|
|
10526
10526
|
/**
|
|
@@ -10528,8 +10528,8 @@ const Yi = function() {
|
|
|
10528
10528
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10529
10529
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10530
10530
|
*/
|
|
10531
|
-
const
|
|
10532
|
-
|
|
10531
|
+
const _r = document.createElement("template");
|
|
10532
|
+
_r.innerHTML = `
|
|
10533
10533
|
<style>
|
|
10534
10534
|
:host {
|
|
10535
10535
|
display: block;
|
|
@@ -10580,9 +10580,9 @@ mr.innerHTML = `
|
|
|
10580
10580
|
<div id="fullHeight"></div>
|
|
10581
10581
|
</div>
|
|
10582
10582
|
`;
|
|
10583
|
-
class
|
|
10583
|
+
class mr extends HTMLElement {
|
|
10584
10584
|
constructor() {
|
|
10585
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10585
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(_r.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10586
10586
|
}
|
|
10587
10587
|
/**
|
|
10588
10588
|
* @return {boolean}
|
|
@@ -10698,7 +10698,7 @@ class gr extends HTMLElement {
|
|
|
10698
10698
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10699
10699
|
const o = document.createElement("div");
|
|
10700
10700
|
o.style.height = `${this.itemHeight}px`, o.instance = {};
|
|
10701
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10701
|
+
const r = `vaadin-infinite-scroller-item-content-${rr()}`, n = document.createElement("slot");
|
|
10702
10702
|
n.setAttribute("name", r), n._itemWrapper = o, e.appendChild(n), o.setAttribute("slot", r), this.appendChild(o), this._isVisible(o, t) && this._ensureStampedInstance(o);
|
|
10703
10703
|
}
|
|
10704
10704
|
}), requestAnimationFrame(() => {
|
|
@@ -10739,8 +10739,8 @@ class gr extends HTMLElement {
|
|
|
10739
10739
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10740
10740
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10741
10741
|
*/
|
|
10742
|
-
const
|
|
10743
|
-
|
|
10742
|
+
const gr = document.createElement("template");
|
|
10743
|
+
gr.innerHTML = `
|
|
10744
10744
|
<style>
|
|
10745
10745
|
:host {
|
|
10746
10746
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10753,12 +10753,12 @@ yr.innerHTML = `
|
|
|
10753
10753
|
}
|
|
10754
10754
|
</style>
|
|
10755
10755
|
`;
|
|
10756
|
-
class
|
|
10756
|
+
class qd extends mr {
|
|
10757
10757
|
static get is() {
|
|
10758
10758
|
return "vaadin-date-picker-month-scroller";
|
|
10759
10759
|
}
|
|
10760
10760
|
constructor() {
|
|
10761
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10761
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(gr.content.cloneNode(!0));
|
|
10762
10762
|
}
|
|
10763
10763
|
/**
|
|
10764
10764
|
* @protected
|
|
@@ -10774,17 +10774,17 @@ class Kd extends gr {
|
|
|
10774
10774
|
* @override
|
|
10775
10775
|
*/
|
|
10776
10776
|
_updateElement(t, e) {
|
|
10777
|
-
t.month =
|
|
10777
|
+
t.month = fr(e);
|
|
10778
10778
|
}
|
|
10779
10779
|
}
|
|
10780
|
-
Q(
|
|
10780
|
+
Q(qd);
|
|
10781
10781
|
/**
|
|
10782
10782
|
* @license
|
|
10783
10783
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10784
10784
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10785
10785
|
*/
|
|
10786
|
-
const
|
|
10787
|
-
|
|
10786
|
+
const yr = document.createElement("template");
|
|
10787
|
+
yr.innerHTML = `
|
|
10788
10788
|
<style>
|
|
10789
10789
|
:host {
|
|
10790
10790
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10819,12 +10819,12 @@ br.innerHTML = `
|
|
|
10819
10819
|
}
|
|
10820
10820
|
</style>
|
|
10821
10821
|
`;
|
|
10822
|
-
class
|
|
10822
|
+
class Kd extends mr {
|
|
10823
10823
|
static get is() {
|
|
10824
10824
|
return "vaadin-date-picker-year-scroller";
|
|
10825
10825
|
}
|
|
10826
10826
|
constructor() {
|
|
10827
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10827
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(yr.content.cloneNode(!0));
|
|
10828
10828
|
}
|
|
10829
10829
|
/**
|
|
10830
10830
|
* @protected
|
|
@@ -10848,13 +10848,13 @@ class Gd extends gr {
|
|
|
10848
10848
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10849
10849
|
}
|
|
10850
10850
|
}
|
|
10851
|
-
Q(
|
|
10851
|
+
Q(Kd);
|
|
10852
10852
|
/**
|
|
10853
10853
|
* @license
|
|
10854
10854
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10855
10855
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10856
10856
|
*/
|
|
10857
|
-
const
|
|
10857
|
+
const Gd = (s) => class extends s {
|
|
10858
10858
|
static get properties() {
|
|
10859
10859
|
return {
|
|
10860
10860
|
year: {
|
|
@@ -10880,7 +10880,7 @@ const Xd = (s) => class extends s {
|
|
|
10880
10880
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10881
10881
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10882
10882
|
*/
|
|
10883
|
-
class
|
|
10883
|
+
class Xd extends ve(Gd(de)) {
|
|
10884
10884
|
static get is() {
|
|
10885
10885
|
return "vaadin-date-picker-year";
|
|
10886
10886
|
}
|
|
@@ -10897,7 +10897,7 @@ class Jd extends ve(Xd(de)) {
|
|
|
10897
10897
|
`;
|
|
10898
10898
|
}
|
|
10899
10899
|
}
|
|
10900
|
-
Q(
|
|
10900
|
+
Q(Xd);
|
|
10901
10901
|
/**
|
|
10902
10902
|
@license
|
|
10903
10903
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10937,7 +10937,7 @@ const ji = N((s) => {
|
|
|
10937
10937
|
}
|
|
10938
10938
|
}
|
|
10939
10939
|
return t;
|
|
10940
|
-
}),
|
|
10940
|
+
}), Jd = N((s) => {
|
|
10941
10941
|
class t extends s {
|
|
10942
10942
|
/** @nocollapse */
|
|
10943
10943
|
static get properties() {
|
|
@@ -10994,13 +10994,13 @@ Ci.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10994
10994
|
writable: !0
|
|
10995
10995
|
}
|
|
10996
10996
|
});
|
|
10997
|
-
const
|
|
10998
|
-
function
|
|
10997
|
+
const br = Ni(Ci), Qd = ji(br);
|
|
10998
|
+
function Zd(s, t) {
|
|
10999
10999
|
xi = s, Object.setPrototypeOf(s, t.prototype), new t(), xi = null;
|
|
11000
11000
|
}
|
|
11001
|
-
const
|
|
11001
|
+
const ec = Ni(class {
|
|
11002
11002
|
});
|
|
11003
|
-
function
|
|
11003
|
+
function tc(s, t) {
|
|
11004
11004
|
for (let e = 0; e < t.length; e++) {
|
|
11005
11005
|
let i = t[e];
|
|
11006
11006
|
if (!!s != !!i.__hideTemplateChildren__)
|
|
@@ -11018,7 +11018,7 @@ function ic(s, t) {
|
|
|
11018
11018
|
i.__hideTemplateChildren__ = s, i._showHideChildren && i._showHideChildren(s);
|
|
11019
11019
|
}
|
|
11020
11020
|
}
|
|
11021
|
-
class ce extends
|
|
11021
|
+
class ce extends ec {
|
|
11022
11022
|
constructor(t) {
|
|
11023
11023
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
11024
11024
|
let e = [];
|
|
@@ -11087,7 +11087,7 @@ class ce extends tc {
|
|
|
11087
11087
|
* @protected
|
|
11088
11088
|
*/
|
|
11089
11089
|
_showHideChildren(t) {
|
|
11090
|
-
|
|
11090
|
+
tc(t, this.children);
|
|
11091
11091
|
}
|
|
11092
11092
|
/**
|
|
11093
11093
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11140,31 +11140,31 @@ ce.prototype.__templatizeOptions;
|
|
|
11140
11140
|
ce.prototype._methodHost;
|
|
11141
11141
|
ce.prototype.__templatizeOwner;
|
|
11142
11142
|
ce.prototype.__hostProps;
|
|
11143
|
-
const
|
|
11143
|
+
const ic = ji(
|
|
11144
11144
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11145
11145
|
// TemplateInstanceBase is a constructor function.
|
|
11146
11146
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11147
11147
|
ce
|
|
11148
11148
|
);
|
|
11149
|
-
function
|
|
11149
|
+
function $s(s) {
|
|
11150
11150
|
let t = s.__dataHost;
|
|
11151
11151
|
return t && t._methodHost || t;
|
|
11152
11152
|
}
|
|
11153
|
-
function
|
|
11154
|
-
let i = e.mutableData ?
|
|
11153
|
+
function sc(s, t, e) {
|
|
11154
|
+
let i = e.mutableData ? ic : ce;
|
|
11155
11155
|
Ai.mixin && (i = Ai.mixin(i));
|
|
11156
11156
|
let o = class extends i {
|
|
11157
11157
|
};
|
|
11158
|
-
return o.prototype.__templatizeOptions = e, o.prototype._bindTemplate(s),
|
|
11158
|
+
return o.prototype.__templatizeOptions = e, o.prototype._bindTemplate(s), nc(o, s, t, e), o;
|
|
11159
11159
|
}
|
|
11160
|
-
function
|
|
11160
|
+
function oc(s, t, e, i) {
|
|
11161
11161
|
let o = e.forwardHostProp;
|
|
11162
11162
|
if (o && t.hasHostProps) {
|
|
11163
11163
|
const r = s.localName == "template";
|
|
11164
11164
|
let n = t.templatizeTemplateClass;
|
|
11165
11165
|
if (!n) {
|
|
11166
11166
|
if (r) {
|
|
11167
|
-
let l = e.mutableData ?
|
|
11167
|
+
let l = e.mutableData ? Qd : br;
|
|
11168
11168
|
class d extends l {
|
|
11169
11169
|
}
|
|
11170
11170
|
n = t.templatizeTemplateClass = d;
|
|
@@ -11179,12 +11179,12 @@ function rc(s, t, e, i) {
|
|
|
11179
11179
|
n.prototype._addPropertyEffect(
|
|
11180
11180
|
"_host_" + l,
|
|
11181
11181
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11182
|
-
{ fn:
|
|
11182
|
+
{ fn: rc(l, o) }
|
|
11183
11183
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11184
|
-
|
|
11184
|
+
Ao && i && dc(t, e, i);
|
|
11185
11185
|
}
|
|
11186
11186
|
if (s.__dataProto && Object.assign(s.__data, s.__dataProto), r)
|
|
11187
|
-
|
|
11187
|
+
Zd(s, n), s.__dataTemp = {}, s.__dataPending = null, s.__dataOld = null, s._enableProperties();
|
|
11188
11188
|
else {
|
|
11189
11189
|
Object.setPrototypeOf(s, n.prototype);
|
|
11190
11190
|
const a = t.hostProps;
|
|
@@ -11196,7 +11196,7 @@ function rc(s, t, e, i) {
|
|
|
11196
11196
|
}
|
|
11197
11197
|
}
|
|
11198
11198
|
}
|
|
11199
|
-
function
|
|
11199
|
+
function rc(s, t) {
|
|
11200
11200
|
return function(i, o, r) {
|
|
11201
11201
|
t.call(
|
|
11202
11202
|
i.__templatizeOwner,
|
|
@@ -11205,7 +11205,7 @@ function nc(s, t) {
|
|
|
11205
11205
|
);
|
|
11206
11206
|
};
|
|
11207
11207
|
}
|
|
11208
|
-
function
|
|
11208
|
+
function nc(s, t, e, i) {
|
|
11209
11209
|
let o = e.hostProps || {};
|
|
11210
11210
|
for (let r in i.instanceProps) {
|
|
11211
11211
|
delete o[r];
|
|
@@ -11213,7 +11213,7 @@ function ac(s, t, e, i) {
|
|
|
11213
11213
|
n && s.prototype._addPropertyEffect(
|
|
11214
11214
|
r,
|
|
11215
11215
|
s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11216
|
-
{ fn:
|
|
11216
|
+
{ fn: ac(r, n) }
|
|
11217
11217
|
);
|
|
11218
11218
|
}
|
|
11219
11219
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11221,10 +11221,10 @@ function ac(s, t, e, i) {
|
|
|
11221
11221
|
e.hasHostProps || (e.hasHostProps = !0), s.prototype._addPropertyEffect(
|
|
11222
11222
|
r,
|
|
11223
11223
|
s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11224
|
-
{ fn:
|
|
11224
|
+
{ fn: lc() }
|
|
11225
11225
|
);
|
|
11226
11226
|
}
|
|
11227
|
-
function
|
|
11227
|
+
function ac(s, t) {
|
|
11228
11228
|
return function(i, o, r) {
|
|
11229
11229
|
t.call(
|
|
11230
11230
|
i.__templatizeOwner,
|
|
@@ -11234,22 +11234,22 @@ function lc(s, t) {
|
|
|
11234
11234
|
);
|
|
11235
11235
|
};
|
|
11236
11236
|
}
|
|
11237
|
-
function
|
|
11237
|
+
function lc() {
|
|
11238
11238
|
return function(t, e, i) {
|
|
11239
11239
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11240
11240
|
};
|
|
11241
11241
|
}
|
|
11242
11242
|
function Ai(s, t, e) {
|
|
11243
|
-
if (Ct &&
|
|
11243
|
+
if (Ct && !$s(s))
|
|
11244
11244
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11245
11245
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11246
11246
|
e || {}, s.__templatizeOwner)
|
|
11247
11247
|
throw new Error("A <template> can only be templatized once");
|
|
11248
11248
|
s.__templatizeOwner = t;
|
|
11249
11249
|
let o = (t ? t.constructor : ce)._parseTemplate(s), r = o.templatizeInstanceClass;
|
|
11250
|
-
r || (r =
|
|
11251
|
-
const n =
|
|
11252
|
-
|
|
11250
|
+
r || (r = sc(s, o, e), o.templatizeInstanceClass = r);
|
|
11251
|
+
const n = $s(s);
|
|
11252
|
+
oc(s, o, e, n);
|
|
11253
11253
|
let a = class extends r {
|
|
11254
11254
|
};
|
|
11255
11255
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11257,7 +11257,7 @@ function Ai(s, t, e) {
|
|
|
11257
11257
|
t, a.prototype.__hostProps = o.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11258
11258
|
a, a;
|
|
11259
11259
|
}
|
|
11260
|
-
function
|
|
11260
|
+
function dc(s, t, e) {
|
|
11261
11261
|
const i = e.constructor._properties, { propertyEffects: o } = s, { instanceProps: r } = t;
|
|
11262
11262
|
for (let n in o)
|
|
11263
11263
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11271,7 +11271,7 @@ function cc(s, t, e) {
|
|
|
11271
11271
|
}
|
|
11272
11272
|
}
|
|
11273
11273
|
}
|
|
11274
|
-
function
|
|
11274
|
+
function cc(s, t) {
|
|
11275
11275
|
let e;
|
|
11276
11276
|
for (; t; )
|
|
11277
11277
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11292,11 +11292,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11292
11292
|
Code distributed by Google as part of the polymer project is also
|
|
11293
11293
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11294
11294
|
*/
|
|
11295
|
-
let
|
|
11296
|
-
function
|
|
11297
|
-
if (
|
|
11298
|
-
if (!
|
|
11299
|
-
|
|
11295
|
+
let Vs = !1;
|
|
11296
|
+
function uc() {
|
|
11297
|
+
if (Co && !xo) {
|
|
11298
|
+
if (!Vs) {
|
|
11299
|
+
Vs = !0;
|
|
11300
11300
|
const s = document.createElement("style");
|
|
11301
11301
|
s.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(s);
|
|
11302
11302
|
}
|
|
@@ -11313,8 +11313,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11313
11313
|
Code distributed by Google as part of the polymer project is also
|
|
11314
11314
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11315
11315
|
*/
|
|
11316
|
-
const
|
|
11317
|
-
class
|
|
11316
|
+
const hc = Jd(de);
|
|
11317
|
+
class Us extends hc {
|
|
11318
11318
|
// Not needed to find template; can be removed once the analyzer
|
|
11319
11319
|
// can find the tag name from customElements.define call
|
|
11320
11320
|
static get is() {
|
|
@@ -11409,7 +11409,7 @@ class Ys extends pc {
|
|
|
11409
11409
|
*/
|
|
11410
11410
|
renderedItemCount: {
|
|
11411
11411
|
type: Number,
|
|
11412
|
-
notify: !
|
|
11412
|
+
notify: !_s,
|
|
11413
11413
|
readOnly: !0
|
|
11414
11414
|
},
|
|
11415
11415
|
/**
|
|
@@ -11492,7 +11492,7 @@ class Ys extends pc {
|
|
|
11492
11492
|
* @return {void}
|
|
11493
11493
|
*/
|
|
11494
11494
|
connectedCallback() {
|
|
11495
|
-
if (super.connectedCallback(),
|
|
11495
|
+
if (super.connectedCallback(), uc() || (this.style.display = "none"), this.__isDetached) {
|
|
11496
11496
|
this.__isDetached = !1;
|
|
11497
11497
|
let t = z(z(this).parentNode);
|
|
11498
11498
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11542,7 +11542,7 @@ class Ys extends pc {
|
|
|
11542
11542
|
* @param {*} value Value to notify
|
|
11543
11543
|
*/
|
|
11544
11544
|
notifyInstanceProp: function(o, r, n) {
|
|
11545
|
-
if (
|
|
11545
|
+
if (ma(this.as, r)) {
|
|
11546
11546
|
let a = o[this.itemsIndexAs];
|
|
11547
11547
|
r == this.as && (this.items[a] = n);
|
|
11548
11548
|
let l = ot(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11598,9 +11598,9 @@ class Ys extends pc {
|
|
|
11598
11598
|
__debounceRender(t, e = 0) {
|
|
11599
11599
|
this.__renderDebouncer = kt.debounce(
|
|
11600
11600
|
this.__renderDebouncer,
|
|
11601
|
-
e > 0 ?
|
|
11601
|
+
e > 0 ? xa.after(e) : No,
|
|
11602
11602
|
t.bind(this)
|
|
11603
|
-
),
|
|
11603
|
+
), Wd(this.__renderDebouncer);
|
|
11604
11604
|
}
|
|
11605
11605
|
/**
|
|
11606
11606
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11620,7 +11620,7 @@ class Ys extends pc {
|
|
|
11620
11620
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11621
11621
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11622
11622
|
this.__chunkingId = null, this.__continueChunking();
|
|
11623
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11623
|
+
})), this._setRenderedItemCount(this.__instances.length), (!_s || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11624
11624
|
bubbles: !0,
|
|
11625
11625
|
composed: !0
|
|
11626
11626
|
}));
|
|
@@ -11760,16 +11760,16 @@ class Ys extends pc {
|
|
|
11760
11760
|
* the element.
|
|
11761
11761
|
*/
|
|
11762
11762
|
modelForElement(t) {
|
|
11763
|
-
return
|
|
11763
|
+
return cc(this.template, t);
|
|
11764
11764
|
}
|
|
11765
11765
|
}
|
|
11766
|
-
customElements.define(
|
|
11766
|
+
customElements.define(Us.is, Us);
|
|
11767
11767
|
/**
|
|
11768
11768
|
* @license
|
|
11769
11769
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11770
11770
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11771
11771
|
*/
|
|
11772
|
-
const
|
|
11772
|
+
const pc = (s) => class extends Vi(s) {
|
|
11773
11773
|
static get properties() {
|
|
11774
11774
|
return {
|
|
11775
11775
|
/**
|
|
@@ -11952,7 +11952,7 @@ const fc = (s) => class extends Vi(s) {
|
|
|
11952
11952
|
/** @protected */
|
|
11953
11953
|
__getWeekNumber(e) {
|
|
11954
11954
|
const i = e.reduce((o, r) => !o && r ? r : o);
|
|
11955
|
-
return
|
|
11955
|
+
return $d(i);
|
|
11956
11956
|
}
|
|
11957
11957
|
/** @protected */
|
|
11958
11958
|
__getDayAriaLabel(e) {
|
|
@@ -11967,7 +11967,7 @@ const fc = (s) => class extends Vi(s) {
|
|
|
11967
11967
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11968
11968
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11969
11969
|
*/
|
|
11970
|
-
const
|
|
11970
|
+
const fc = C`
|
|
11971
11971
|
:host {
|
|
11972
11972
|
display: block;
|
|
11973
11973
|
}
|
|
@@ -12029,10 +12029,10 @@ const _c = C`
|
|
|
12029
12029
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12030
12030
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12031
12031
|
*/
|
|
12032
|
-
S("vaadin-month-calendar",
|
|
12032
|
+
S("vaadin-month-calendar", fc, {
|
|
12033
12033
|
moduleId: "vaadin-month-calendar-styles"
|
|
12034
12034
|
});
|
|
12035
|
-
class
|
|
12035
|
+
class _c extends pc(ve(de)) {
|
|
12036
12036
|
static get template() {
|
|
12037
12037
|
return xe`
|
|
12038
12038
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12140,13 +12140,13 @@ class mc extends fc(ve(de)) {
|
|
|
12140
12140
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12141
12141
|
}
|
|
12142
12142
|
}
|
|
12143
|
-
Q(
|
|
12143
|
+
Q(_c);
|
|
12144
12144
|
/**
|
|
12145
12145
|
* @license
|
|
12146
12146
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12147
12147
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12148
12148
|
*/
|
|
12149
|
-
class
|
|
12149
|
+
class vr {
|
|
12150
12150
|
constructor(t, e) {
|
|
12151
12151
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12152
12152
|
}
|
|
@@ -12174,7 +12174,7 @@ class wr {
|
|
|
12174
12174
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12175
12175
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12176
12176
|
*/
|
|
12177
|
-
const
|
|
12177
|
+
const mc = (s) => class extends s {
|
|
12178
12178
|
static get properties() {
|
|
12179
12179
|
return {
|
|
12180
12180
|
scrollDuration: {
|
|
@@ -12302,7 +12302,7 @@ const gc = (s) => class extends s {
|
|
|
12302
12302
|
}
|
|
12303
12303
|
/** @protected */
|
|
12304
12304
|
_addListeners() {
|
|
12305
|
-
|
|
12305
|
+
cr(this.$.scrollers, "pan-y"), G(this.$.scrollers, "track", this._track.bind(this)), G(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), G(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), G(
|
|
12306
12306
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12307
12307
|
"tap",
|
|
12308
12308
|
this._toggleYearScroller.bind(this)
|
|
@@ -12311,7 +12311,7 @@ const gc = (s) => class extends s {
|
|
|
12311
12311
|
/** @protected */
|
|
12312
12312
|
_initControllers() {
|
|
12313
12313
|
this.addController(
|
|
12314
|
-
new
|
|
12314
|
+
new vr(this._desktopMediaQuery, (e) => {
|
|
12315
12315
|
this._desktopMode = e;
|
|
12316
12316
|
})
|
|
12317
12317
|
), this.addController(
|
|
@@ -12620,7 +12620,7 @@ const gc = (s) => class extends s {
|
|
|
12620
12620
|
}
|
|
12621
12621
|
/** @private */
|
|
12622
12622
|
_yearAfterXMonths(e) {
|
|
12623
|
-
return
|
|
12623
|
+
return fr(e).getFullYear();
|
|
12624
12624
|
}
|
|
12625
12625
|
/** @private */
|
|
12626
12626
|
_differenceInMonths(e, i) {
|
|
@@ -12728,7 +12728,7 @@ const gc = (s) => class extends s {
|
|
|
12728
12728
|
focusDateElement(e = !0) {
|
|
12729
12729
|
return ct(this, null, function* () {
|
|
12730
12730
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12731
|
-
|
|
12731
|
+
Jo(this, () => {
|
|
12732
12732
|
Yi(), i();
|
|
12733
12733
|
});
|
|
12734
12734
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
@@ -12736,7 +12736,7 @@ const gc = (s) => class extends s {
|
|
|
12736
12736
|
}
|
|
12737
12737
|
/** @private */
|
|
12738
12738
|
_focusClosestDate(e) {
|
|
12739
|
-
this.focusDate(
|
|
12739
|
+
this.focusDate(pr(e, [this.minDate, this.maxDate]));
|
|
12740
12740
|
}
|
|
12741
12741
|
/** @private */
|
|
12742
12742
|
_focusAllowedDate(e, i, o) {
|
|
@@ -12787,7 +12787,7 @@ const gc = (s) => class extends s {
|
|
|
12787
12787
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12788
12788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12789
12789
|
*/
|
|
12790
|
-
const
|
|
12790
|
+
const gc = C`
|
|
12791
12791
|
:host {
|
|
12792
12792
|
display: flex;
|
|
12793
12793
|
flex-direction: column;
|
|
@@ -12853,10 +12853,10 @@ const yc = C`
|
|
|
12853
12853
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12854
12854
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12855
12855
|
*/
|
|
12856
|
-
S("vaadin-date-picker-overlay-content",
|
|
12856
|
+
S("vaadin-date-picker-overlay-content", gc, {
|
|
12857
12857
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12858
12858
|
});
|
|
12859
|
-
class
|
|
12859
|
+
class yc extends mc(
|
|
12860
12860
|
ze(ve(St(de)))
|
|
12861
12861
|
) {
|
|
12862
12862
|
static get template() {
|
|
@@ -12890,14 +12890,14 @@ class bc extends gc(
|
|
|
12890
12890
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12891
12891
|
}
|
|
12892
12892
|
}
|
|
12893
|
-
Q(
|
|
12893
|
+
Q(yc);
|
|
12894
12894
|
/**
|
|
12895
12895
|
* @license
|
|
12896
12896
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12897
12897
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12898
12898
|
*/
|
|
12899
|
-
const
|
|
12900
|
-
(s) => class extends Vi(
|
|
12899
|
+
const wr = N(
|
|
12900
|
+
(s) => class extends Vi(hr(s)) {
|
|
12901
12901
|
static get properties() {
|
|
12902
12902
|
return {
|
|
12903
12903
|
/**
|
|
@@ -13054,14 +13054,14 @@ const xr = N(
|
|
|
13054
13054
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13055
13055
|
*/
|
|
13056
13056
|
const Zt = /* @__PURE__ */ new WeakMap();
|
|
13057
|
-
function
|
|
13057
|
+
function bc(s) {
|
|
13058
13058
|
return Zt.has(s) || Zt.set(s, /* @__PURE__ */ new Set()), Zt.get(s);
|
|
13059
13059
|
}
|
|
13060
|
-
function
|
|
13060
|
+
function vc(s, t) {
|
|
13061
13061
|
const e = document.createElement("style");
|
|
13062
13062
|
e.textContent = s, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
13063
13063
|
}
|
|
13064
|
-
const
|
|
13064
|
+
const wc = N(
|
|
13065
13065
|
(s) => class extends s {
|
|
13066
13066
|
/**
|
|
13067
13067
|
* List of styles to insert into root.
|
|
@@ -13076,9 +13076,9 @@ const xc = N(
|
|
|
13076
13076
|
}
|
|
13077
13077
|
/** @private */
|
|
13078
13078
|
__applySlotStyles() {
|
|
13079
|
-
const e = this.getRootNode(), i =
|
|
13079
|
+
const e = this.getRootNode(), i = bc(e);
|
|
13080
13080
|
this.slotStyles.forEach((o) => {
|
|
13081
|
-
i.has(o) || (
|
|
13081
|
+
i.has(o) || (vc(o, e), i.add(o));
|
|
13082
13082
|
});
|
|
13083
13083
|
}
|
|
13084
13084
|
}
|
|
@@ -13088,7 +13088,7 @@ const xc = N(
|
|
|
13088
13088
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13089
13089
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13090
13090
|
*/
|
|
13091
|
-
const
|
|
13091
|
+
const xr = N(
|
|
13092
13092
|
(s) => class extends s {
|
|
13093
13093
|
static get properties() {
|
|
13094
13094
|
return {
|
|
@@ -13292,7 +13292,7 @@ const Cr = N(
|
|
|
13292
13292
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13293
13293
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13294
13294
|
*/
|
|
13295
|
-
const
|
|
13295
|
+
const xc = (s) => class extends xr(It(s)) {
|
|
13296
13296
|
static get properties() {
|
|
13297
13297
|
return {
|
|
13298
13298
|
/**
|
|
@@ -13337,7 +13337,7 @@ const Cc = (s) => class extends Cr(It(s)) {
|
|
|
13337
13337
|
* @protected
|
|
13338
13338
|
*/
|
|
13339
13339
|
_onClearButtonMouseDown(e) {
|
|
13340
|
-
e.preventDefault(),
|
|
13340
|
+
e.preventDefault(), $l || this.inputElement.focus();
|
|
13341
13341
|
}
|
|
13342
13342
|
/**
|
|
13343
13343
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13371,10 +13371,10 @@ const ei = /* @__PURE__ */ new Map();
|
|
|
13371
13371
|
function qi(s) {
|
|
13372
13372
|
return ei.has(s) || ei.set(s, /* @__PURE__ */ new WeakMap()), ei.get(s);
|
|
13373
13373
|
}
|
|
13374
|
-
function
|
|
13374
|
+
function Cr(s, t) {
|
|
13375
13375
|
s && s.removeAttribute(t);
|
|
13376
13376
|
}
|
|
13377
|
-
function
|
|
13377
|
+
function Ar(s, t) {
|
|
13378
13378
|
if (!s || !t)
|
|
13379
13379
|
return;
|
|
13380
13380
|
const e = qi(t);
|
|
@@ -13383,11 +13383,11 @@ function Er(s, t) {
|
|
|
13383
13383
|
const i = Li(s.getAttribute(t));
|
|
13384
13384
|
e.set(s, new Set(i));
|
|
13385
13385
|
}
|
|
13386
|
-
function
|
|
13386
|
+
function Cc(s, t) {
|
|
13387
13387
|
if (!s)
|
|
13388
13388
|
return;
|
|
13389
13389
|
const e = qi(t), i = e.get(s);
|
|
13390
|
-
!i || i.size === 0 ? s.removeAttribute(t) :
|
|
13390
|
+
!i || i.size === 0 ? s.removeAttribute(t) : tr(s, t, Mt(i)), e.delete(s);
|
|
13391
13391
|
}
|
|
13392
13392
|
function ti(s, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13393
13393
|
if (!s || !t)
|
|
@@ -13397,19 +13397,19 @@ function ti(s, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13397
13397
|
o && a.delete(o), i && a.add(i);
|
|
13398
13398
|
return;
|
|
13399
13399
|
}
|
|
13400
|
-
r && (a ? i || n.delete(s) :
|
|
13400
|
+
r && (a ? i || n.delete(s) : Ar(s, t), Cr(s, t)), Ql(s, t, o);
|
|
13401
13401
|
const l = i || Mt(a);
|
|
13402
|
-
l &&
|
|
13402
|
+
l && tr(s, t, l);
|
|
13403
13403
|
}
|
|
13404
|
-
function
|
|
13405
|
-
|
|
13404
|
+
function Ac(s, t) {
|
|
13405
|
+
Ar(s, t), Cr(s, t);
|
|
13406
13406
|
}
|
|
13407
13407
|
/**
|
|
13408
13408
|
* @license
|
|
13409
13409
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13410
13410
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13411
13411
|
*/
|
|
13412
|
-
class
|
|
13412
|
+
class Ec {
|
|
13413
13413
|
constructor(t) {
|
|
13414
13414
|
this.host = t, this.__required = !1;
|
|
13415
13415
|
}
|
|
@@ -13482,7 +13482,7 @@ class Pc {
|
|
|
13482
13482
|
* @private
|
|
13483
13483
|
* */
|
|
13484
13484
|
__setAriaLabelToAttribute(t) {
|
|
13485
|
-
this.__target && (t ? (
|
|
13485
|
+
this.__target && (t ? (Ac(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (Cc(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13486
13486
|
}
|
|
13487
13487
|
/**
|
|
13488
13488
|
* @param {string | null | undefined} labelId
|
|
@@ -13528,9 +13528,9 @@ W.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13528
13528
|
W.setAttribute("aria-live", "polite");
|
|
13529
13529
|
document.body.appendChild(W);
|
|
13530
13530
|
let mt;
|
|
13531
|
-
function
|
|
13531
|
+
function Pc(s, t = {}) {
|
|
13532
13532
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13533
|
-
e === "alert" ? (W.removeAttribute("aria-live"), W.removeAttribute("role"), mt = Fe.debounce(mt,
|
|
13533
|
+
e === "alert" ? (W.removeAttribute("aria-live"), W.removeAttribute("role"), mt = Fe.debounce(mt, fd, () => {
|
|
13534
13534
|
W.setAttribute("role", "alert");
|
|
13535
13535
|
})) : (mt && mt.cancel(), W.removeAttribute("role"), W.setAttribute("aria-live", e)), W.textContent = "", setTimeout(() => {
|
|
13536
13536
|
W.textContent = s;
|
|
@@ -13656,7 +13656,7 @@ class Ki extends me {
|
|
|
13656
13656
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13657
13657
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13658
13658
|
*/
|
|
13659
|
-
class
|
|
13659
|
+
class kc extends Ki {
|
|
13660
13660
|
constructor(t) {
|
|
13661
13661
|
super(t, "error-message", "div");
|
|
13662
13662
|
}
|
|
@@ -13730,7 +13730,7 @@ class Dc extends Ki {
|
|
|
13730
13730
|
*/
|
|
13731
13731
|
updateDefaultNode(t) {
|
|
13732
13732
|
const { errorMessage: e, invalid: i } = this, o = !!(i && e && e.trim() !== "");
|
|
13733
|
-
t && (t.textContent = o ? e : "", t.hidden = !o, o &&
|
|
13733
|
+
t && (t.textContent = o ? e : "", t.hidden = !o, o && Pc(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13734
13734
|
}
|
|
13735
13735
|
}
|
|
13736
13736
|
/**
|
|
@@ -13738,7 +13738,7 @@ class Dc extends Ki {
|
|
|
13738
13738
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13739
13739
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13740
13740
|
*/
|
|
13741
|
-
class
|
|
13741
|
+
class Dc extends Ki {
|
|
13742
13742
|
constructor(t) {
|
|
13743
13743
|
super(t, "helper", null);
|
|
13744
13744
|
}
|
|
@@ -13793,7 +13793,7 @@ class Tc extends Ki {
|
|
|
13793
13793
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13794
13794
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13795
13795
|
*/
|
|
13796
|
-
class
|
|
13796
|
+
class Tc extends Ki {
|
|
13797
13797
|
constructor(t) {
|
|
13798
13798
|
super(t, "label", "label");
|
|
13799
13799
|
}
|
|
@@ -13846,7 +13846,7 @@ class Sc extends Ki {
|
|
|
13846
13846
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13847
13847
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13848
13848
|
*/
|
|
13849
|
-
const
|
|
13849
|
+
const Sc = N(
|
|
13850
13850
|
(s) => class extends ze(s) {
|
|
13851
13851
|
static get properties() {
|
|
13852
13852
|
return {
|
|
@@ -13861,7 +13861,7 @@ const Oc = N(
|
|
|
13861
13861
|
};
|
|
13862
13862
|
}
|
|
13863
13863
|
constructor() {
|
|
13864
|
-
super(), this._labelController = new
|
|
13864
|
+
super(), this._labelController = new Tc(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13865
13865
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13866
13866
|
});
|
|
13867
13867
|
}
|
|
@@ -13889,7 +13889,7 @@ const Oc = N(
|
|
|
13889
13889
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13890
13890
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13891
13891
|
*/
|
|
13892
|
-
const
|
|
13892
|
+
const Er = N(
|
|
13893
13893
|
(s) => class extends s {
|
|
13894
13894
|
static get properties() {
|
|
13895
13895
|
return {
|
|
@@ -13961,7 +13961,7 @@ const Pr = N(
|
|
|
13961
13961
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13962
13962
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13963
13963
|
*/
|
|
13964
|
-
const
|
|
13964
|
+
const Oc = (s) => class extends Er(Sc(ze(s))) {
|
|
13965
13965
|
static get properties() {
|
|
13966
13966
|
return {
|
|
13967
13967
|
/**
|
|
@@ -14011,7 +14011,7 @@ const Mc = (s) => class extends Pr(Oc(ze(s))) {
|
|
|
14011
14011
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
14012
14012
|
}
|
|
14013
14013
|
constructor() {
|
|
14014
|
-
super(), this._fieldAriaController = new
|
|
14014
|
+
super(), this._fieldAriaController = new Ec(this), this._helperController = new Dc(this), this._errorController = new kc(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
14015
14015
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
14016
14016
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
14017
14017
|
const { hasContent: i, node: o } = e.detail;
|
|
@@ -14102,7 +14102,7 @@ const Mc = (s) => class extends Pr(Oc(ze(s))) {
|
|
|
14102
14102
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14103
14103
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14104
14104
|
*/
|
|
14105
|
-
const
|
|
14105
|
+
const Mc = N(
|
|
14106
14106
|
(s) => class extends s {
|
|
14107
14107
|
static get properties() {
|
|
14108
14108
|
return {
|
|
@@ -14183,8 +14183,8 @@ const Ic = N(
|
|
|
14183
14183
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14184
14184
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14185
14185
|
*/
|
|
14186
|
-
const
|
|
14187
|
-
(s) => class extends
|
|
14186
|
+
const Pr = N(
|
|
14187
|
+
(s) => class extends Mc(Er(xr(s))) {
|
|
14188
14188
|
/**
|
|
14189
14189
|
* An array of attributes which participate in the input validation.
|
|
14190
14190
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14268,8 +14268,8 @@ const kr = N(
|
|
|
14268
14268
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14269
14269
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14270
14270
|
*/
|
|
14271
|
-
const
|
|
14272
|
-
|
|
14271
|
+
const Ic = (s) => class extends wc(
|
|
14272
|
+
wr(Pr(Oc(xc(It(s)))))
|
|
14273
14273
|
) {
|
|
14274
14274
|
static get properties() {
|
|
14275
14275
|
return {
|
|
@@ -14455,7 +14455,7 @@ const Nc = (s) => class extends xc(
|
|
|
14455
14455
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14456
14456
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14457
14457
|
*/
|
|
14458
|
-
class
|
|
14458
|
+
class Nc extends me {
|
|
14459
14459
|
constructor(t, e, i = {}) {
|
|
14460
14460
|
const { uniqueIdPrefix: o } = i;
|
|
14461
14461
|
super(t, "input", "input", {
|
|
@@ -14472,7 +14472,7 @@ class Fc extends me {
|
|
|
14472
14472
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14473
14473
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14474
14474
|
*/
|
|
14475
|
-
class
|
|
14475
|
+
class Fc {
|
|
14476
14476
|
constructor(t, e) {
|
|
14477
14477
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14478
14478
|
this.__initLabel(i.detail.node);
|
|
@@ -14505,7 +14505,7 @@ class Bc {
|
|
|
14505
14505
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14506
14506
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14507
14507
|
*/
|
|
14508
|
-
const
|
|
14508
|
+
const Bc = C`
|
|
14509
14509
|
[part='clear-button'] {
|
|
14510
14510
|
display: none;
|
|
14511
14511
|
cursor: default;
|
|
@@ -14524,7 +14524,7 @@ const Lc = C`
|
|
|
14524
14524
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14525
14525
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14526
14526
|
*/
|
|
14527
|
-
const
|
|
14527
|
+
const Lc = C`
|
|
14528
14528
|
:host {
|
|
14529
14529
|
display: inline-flex;
|
|
14530
14530
|
outline: none;
|
|
@@ -14564,7 +14564,7 @@ const zc = C`
|
|
|
14564
14564
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14565
14565
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14566
14566
|
*/
|
|
14567
|
-
const
|
|
14567
|
+
const zc = C`
|
|
14568
14568
|
[class$='container'] {
|
|
14569
14569
|
display: flex;
|
|
14570
14570
|
flex-direction: column;
|
|
@@ -14578,13 +14578,13 @@ const Rc = C`
|
|
|
14578
14578
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14579
14579
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14580
14580
|
*/
|
|
14581
|
-
const
|
|
14581
|
+
const Rc = [Lc, zc, Bc];
|
|
14582
14582
|
/**
|
|
14583
14583
|
* @license
|
|
14584
14584
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14585
14585
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14586
14586
|
*/
|
|
14587
|
-
const
|
|
14587
|
+
const Hc = (s) => class extends s {
|
|
14588
14588
|
static get properties() {
|
|
14589
14589
|
return {
|
|
14590
14590
|
/**
|
|
@@ -14631,7 +14631,7 @@ const $c = (s) => class extends s {
|
|
|
14631
14631
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14632
14632
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14633
14633
|
*/
|
|
14634
|
-
class
|
|
14634
|
+
class $c {
|
|
14635
14635
|
/**
|
|
14636
14636
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14637
14637
|
*/
|
|
@@ -14650,8 +14650,8 @@ class Vc {
|
|
|
14650
14650
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14651
14651
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14652
14652
|
*/
|
|
14653
|
-
const
|
|
14654
|
-
ze(
|
|
14653
|
+
const Vc = (s) => class extends Hc(
|
|
14654
|
+
ze(wr(Pr(It(s))))
|
|
14655
14655
|
) {
|
|
14656
14656
|
static get properties() {
|
|
14657
14657
|
return {
|
|
@@ -14856,7 +14856,7 @@ const Uc = (s) => class extends $c(
|
|
|
14856
14856
|
if (i.length === 3) {
|
|
14857
14857
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14858
14858
|
const l = this.referenceDate ? qe(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14859
|
-
a =
|
|
14859
|
+
a = Vd(l, a, n, r);
|
|
14860
14860
|
}
|
|
14861
14861
|
} else
|
|
14862
14862
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14930,7 +14930,7 @@ const Uc = (s) => class extends $c(
|
|
|
14930
14930
|
/** @private */
|
|
14931
14931
|
_ios: {
|
|
14932
14932
|
type: Boolean,
|
|
14933
|
-
value:
|
|
14933
|
+
value: Qo
|
|
14934
14934
|
},
|
|
14935
14935
|
/** @private */
|
|
14936
14936
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -15030,10 +15030,10 @@ const Uc = (s) => class extends $c(
|
|
|
15030
15030
|
/** @protected */
|
|
15031
15031
|
ready() {
|
|
15032
15032
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
15033
|
-
new
|
|
15033
|
+
new vr(this._fullscreenMediaQuery, (i) => {
|
|
15034
15034
|
this._fullscreen = i;
|
|
15035
15035
|
})
|
|
15036
|
-
), this.addController(new
|
|
15036
|
+
), this.addController(new $c(this));
|
|
15037
15037
|
const e = this.$.overlay;
|
|
15038
15038
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
15039
15039
|
}
|
|
@@ -15191,7 +15191,7 @@ const Uc = (s) => class extends $c(
|
|
|
15191
15191
|
}
|
|
15192
15192
|
/** @private */
|
|
15193
15193
|
_formatISO(e) {
|
|
15194
|
-
return
|
|
15194
|
+
return Yd(e);
|
|
15195
15195
|
}
|
|
15196
15196
|
/** @protected */
|
|
15197
15197
|
_inputElementChanged(e) {
|
|
@@ -15257,12 +15257,12 @@ const Uc = (s) => class extends $c(
|
|
|
15257
15257
|
const r = this._nativeInput;
|
|
15258
15258
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15259
15259
|
const n = this._noInput ? e : [r, e];
|
|
15260
|
-
this.__showOthers =
|
|
15260
|
+
this.__showOthers = Zo(n);
|
|
15261
15261
|
}
|
|
15262
15262
|
/** @private */
|
|
15263
15263
|
_getInitialPosition() {
|
|
15264
15264
|
const e = qe(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15265
|
-
return e || Be(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15265
|
+
return e || Be(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? pr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15266
15266
|
}
|
|
15267
15267
|
/**
|
|
15268
15268
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15423,7 +15423,7 @@ const Uc = (s) => class extends $c(
|
|
|
15423
15423
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15424
15424
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15425
15425
|
*/
|
|
15426
|
-
const
|
|
15426
|
+
const Uc = C`
|
|
15427
15427
|
:host([opened]) {
|
|
15428
15428
|
pointer-events: auto;
|
|
15429
15429
|
}
|
|
@@ -15442,8 +15442,8 @@ const Yc = C`
|
|
|
15442
15442
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15443
15443
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15444
15444
|
*/
|
|
15445
|
-
S("vaadin-date-picker", [
|
|
15446
|
-
class
|
|
15445
|
+
S("vaadin-date-picker", [Rc, Uc], { moduleId: "vaadin-date-picker-styles" });
|
|
15446
|
+
class Yc extends Vc(Ic(ve(or(de)))) {
|
|
15447
15447
|
static get is() {
|
|
15448
15448
|
return "vaadin-date-picker";
|
|
15449
15449
|
}
|
|
@@ -15503,7 +15503,7 @@ class Wc extends Uc(Nc(ve(rr(de)))) {
|
|
|
15503
15503
|
/** @protected */
|
|
15504
15504
|
ready() {
|
|
15505
15505
|
super.ready(), this.addController(
|
|
15506
|
-
new
|
|
15506
|
+
new Nc(
|
|
15507
15507
|
this,
|
|
15508
15508
|
(e) => {
|
|
15509
15509
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15515,7 +15515,7 @@ class Wc extends Uc(Nc(ve(rr(de)))) {
|
|
|
15515
15515
|
uniqueIdPrefix: "search-input"
|
|
15516
15516
|
}
|
|
15517
15517
|
)
|
|
15518
|
-
), this.addController(new
|
|
15518
|
+
), this.addController(new Fc(this.inputElement, this._labelController)), this._tooltipController = new nr(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));
|
|
15519
15519
|
}
|
|
15520
15520
|
/** @private */
|
|
15521
15521
|
_onVaadinOverlayClose(t) {
|
|
@@ -15531,19 +15531,19 @@ class Wc extends Uc(Nc(ve(rr(de)))) {
|
|
|
15531
15531
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15532
15532
|
}
|
|
15533
15533
|
}
|
|
15534
|
-
Q(
|
|
15535
|
-
function
|
|
15536
|
-
|
|
15534
|
+
Q(Yc);
|
|
15535
|
+
function Wc(s) {
|
|
15536
|
+
Qr(s, "svelte-197dbao", ".BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--color-typography-cotrast, #444444);padding:50px;max-width:850px}.BonusesWrapper.BonusesWrapperMobile{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:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.BonusesTitleMobile{font-size:var(--emw--size-standard, 16px)}.BonusesTitleNone{display:none}.BonusCalendarWrapper{display:flex;gap:15px;padding-bottom:30px;align-items:center}.BonusCalendarWrapper.BonusCalendarWrapperMobile{flex-direction:column;gap:10px;padding-bottom:15px}.BonusesCalendarContainer{display:flex;gap:20px}.BonusesCalendarContainer.BonusesCalendarContainerMobile{flex-direction:row;gap:0;justify-content:space-between;padding-bottom:0;width:100%}.BonusesCalendarStartDate,.BonusesCalendarEndDate{color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;align-items:center;gap:10px}.BonusesCalendarStartDate.BonusesCalendarMobile,.BonusesCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.BonusesCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.BonusesCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-large, 10px)}.BonusesCalendarStartDate label,.BonusesCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.BonusesCalendarStartDate input,.BonusesCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;outline:none}.BonusesCalendarFilter.BonusesCalendarFilterMobile{width:100%;height:44px}.BonusesCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px;border-radius:var(--emw--border-radius-large, 10px)}.BonusesGrid.BonusesGridMobile{grid-template-columns:1fr;gap:20px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;font-weight:var(--emw--font-weight-bold, 700)}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-typography-cotrast, #444444);font-size:var(--emw--size-standard, 16px);cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:var(--emw--font-weight-bold, 700)}");
|
|
15537
15537
|
}
|
|
15538
|
-
function
|
|
15538
|
+
function Ys(s, t, e) {
|
|
15539
15539
|
const i = s.slice();
|
|
15540
15540
|
return i[47] = t[e], i[49] = e, i;
|
|
15541
15541
|
}
|
|
15542
|
-
function
|
|
15542
|
+
function Ws(s, t, e) {
|
|
15543
15543
|
const i = s.slice();
|
|
15544
15544
|
return i[50] = t[e], i;
|
|
15545
15545
|
}
|
|
15546
|
-
function
|
|
15546
|
+
function jc(s) {
|
|
15547
15547
|
let t, e, i, o = (
|
|
15548
15548
|
/*$_*/
|
|
15549
15549
|
s[21]("titleBonusesHistory") + ""
|
|
@@ -15558,17 +15558,17 @@ function qc(s) {
|
|
|
15558
15558
|
s[21]("dateFilter") + ""
|
|
15559
15559
|
), j, Ce, oe, Re, Ae, He, q = (
|
|
15560
15560
|
/*isMobile*/
|
|
15561
|
-
s[22] &&
|
|
15561
|
+
s[22] && qc(s)
|
|
15562
15562
|
);
|
|
15563
15563
|
function dt(D, R) {
|
|
15564
15564
|
return (
|
|
15565
15565
|
/*bonusesList*/
|
|
15566
|
-
D[17].length === 0 ?
|
|
15566
|
+
D[17].length === 0 ? Gc : Kc
|
|
15567
15567
|
);
|
|
15568
15568
|
}
|
|
15569
15569
|
let ue = dt(s), I = ue(s), L = (
|
|
15570
15570
|
/*bonusesList*/
|
|
15571
|
-
s[17].length !== 0 &&
|
|
15571
|
+
s[17].length !== 0 && qs(s)
|
|
15572
15572
|
);
|
|
15573
15573
|
return {
|
|
15574
15574
|
c() {
|
|
@@ -15646,14 +15646,14 @@ function qc(s) {
|
|
|
15646
15646
|
), R[0] & /*$_*/
|
|
15647
15647
|
2097152 && k !== (k = /*$_*/
|
|
15648
15648
|
D[21]("dateFilter") + "") && De(j, k), ue === (ue = dt(D)) && I ? I.p(D, R) : (I.d(1), I = ue(D), I && (I.c(), I.m(oe, null))), /*bonusesList*/
|
|
15649
|
-
D[17].length !== 0 ? L ? L.p(D, R) : (L =
|
|
15649
|
+
D[17].length !== 0 ? L ? L.p(D, R) : (L = qs(D), L.c(), L.m(t, null)) : L && (L.d(1), L = null);
|
|
15650
15650
|
},
|
|
15651
15651
|
d(D) {
|
|
15652
15652
|
D && X(t), q && q.d(), s[29](null), s[30](null), I.d(), L && L.d(), Ae = !1, He();
|
|
15653
15653
|
}
|
|
15654
15654
|
};
|
|
15655
15655
|
}
|
|
15656
|
-
function
|
|
15656
|
+
function qc(s) {
|
|
15657
15657
|
let t, e, i, o, r, n, a, l, d, c, u = (
|
|
15658
15658
|
/*$_*/
|
|
15659
15659
|
s[21]("titleBonusesHistory") + ""
|
|
@@ -15680,18 +15680,18 @@ function Kc(s) {
|
|
|
15680
15680
|
}
|
|
15681
15681
|
};
|
|
15682
15682
|
}
|
|
15683
|
-
function
|
|
15683
|
+
function Kc(s) {
|
|
15684
15684
|
let t, e = bt(
|
|
15685
15685
|
/*bonusesList*/
|
|
15686
15686
|
s[17]
|
|
15687
15687
|
), i = [];
|
|
15688
15688
|
for (let o = 0; o < e.length; o += 1)
|
|
15689
|
-
i[o] =
|
|
15689
|
+
i[o] = js(Ws(s, e, o));
|
|
15690
15690
|
return {
|
|
15691
15691
|
c() {
|
|
15692
15692
|
for (let o = 0; o < i.length; o += 1)
|
|
15693
15693
|
i[o].c();
|
|
15694
|
-
t =
|
|
15694
|
+
t = io();
|
|
15695
15695
|
},
|
|
15696
15696
|
m(o, r) {
|
|
15697
15697
|
for (let n = 0; n < i.length; n += 1)
|
|
@@ -15707,8 +15707,8 @@ function Gc(s) {
|
|
|
15707
15707
|
);
|
|
15708
15708
|
let n;
|
|
15709
15709
|
for (n = 0; n < e.length; n += 1) {
|
|
15710
|
-
const a =
|
|
15711
|
-
i[n] ? i[n].p(a, r) : (i[n] =
|
|
15710
|
+
const a = Ws(o, e, n);
|
|
15711
|
+
i[n] ? i[n].p(a, r) : (i[n] = js(a), i[n].c(), i[n].m(t.parentNode, t));
|
|
15712
15712
|
}
|
|
15713
15713
|
for (; n < i.length; n += 1)
|
|
15714
15714
|
i[n].d(1);
|
|
@@ -15716,11 +15716,11 @@ function Gc(s) {
|
|
|
15716
15716
|
}
|
|
15717
15717
|
},
|
|
15718
15718
|
d(o) {
|
|
15719
|
-
o && X(t),
|
|
15719
|
+
o && X(t), to(i, o);
|
|
15720
15720
|
}
|
|
15721
15721
|
};
|
|
15722
15722
|
}
|
|
15723
|
-
function
|
|
15723
|
+
function Gc(s) {
|
|
15724
15724
|
let t, e = (
|
|
15725
15725
|
/*$_*/
|
|
15726
15726
|
s[21]("noBonusHistory") + ""
|
|
@@ -15742,7 +15742,7 @@ function Xc(s) {
|
|
|
15742
15742
|
}
|
|
15743
15743
|
};
|
|
15744
15744
|
}
|
|
15745
|
-
function
|
|
15745
|
+
function Xc(s) {
|
|
15746
15746
|
let t, e, i, o, r, n, a, l, d, c;
|
|
15747
15747
|
return {
|
|
15748
15748
|
c() {
|
|
@@ -15876,7 +15876,7 @@ function Jc(s) {
|
|
|
15876
15876
|
}
|
|
15877
15877
|
};
|
|
15878
15878
|
}
|
|
15879
|
-
function
|
|
15879
|
+
function Jc(s) {
|
|
15880
15880
|
let t, e, i, o, r, n, a;
|
|
15881
15881
|
return {
|
|
15882
15882
|
c() {
|
|
@@ -15999,18 +15999,18 @@ function Qc(s) {
|
|
|
15999
15999
|
}
|
|
16000
16000
|
};
|
|
16001
16001
|
}
|
|
16002
|
-
function
|
|
16002
|
+
function js(s) {
|
|
16003
16003
|
let t;
|
|
16004
16004
|
function e(r, n) {
|
|
16005
16005
|
return (
|
|
16006
16006
|
/*bonus*/
|
|
16007
|
-
r[50].type === "freeRound" ?
|
|
16007
|
+
r[50].type === "freeRound" ? Jc : Xc
|
|
16008
16008
|
);
|
|
16009
16009
|
}
|
|
16010
16010
|
let i = e(s), o = i(s);
|
|
16011
16011
|
return {
|
|
16012
16012
|
c() {
|
|
16013
|
-
o.c(), t =
|
|
16013
|
+
o.c(), t = io();
|
|
16014
16014
|
},
|
|
16015
16015
|
m(r, n) {
|
|
16016
16016
|
o.m(r, n), J(r, t, n);
|
|
@@ -16023,13 +16023,13 @@ function qs(s) {
|
|
|
16023
16023
|
}
|
|
16024
16024
|
};
|
|
16025
16025
|
}
|
|
16026
|
-
function
|
|
16026
|
+
function qs(s) {
|
|
16027
16027
|
let t, e, i, o, r, n, a, l, d, c, u, h, f, _, w, A, b, v, O, M = bt(Array(
|
|
16028
16028
|
/*numberOfPages*/
|
|
16029
16029
|
s[15]
|
|
16030
16030
|
)), y = [];
|
|
16031
16031
|
for (let P = 0; P < M.length; P += 1)
|
|
16032
|
-
y[P] =
|
|
16032
|
+
y[P] = Ks(Ys(s, M, P));
|
|
16033
16033
|
return {
|
|
16034
16034
|
c() {
|
|
16035
16035
|
t = T("div"), e = T("span"), i = Y("|<"), r = U(), n = T("span"), a = Y("<"), d = U();
|
|
@@ -16088,8 +16088,8 @@ function Ks(s) {
|
|
|
16088
16088
|
));
|
|
16089
16089
|
let k;
|
|
16090
16090
|
for (k = 0; k < M.length; k += 1) {
|
|
16091
|
-
const j =
|
|
16092
|
-
y[k] ? y[k].p(j, F) : (y[k] =
|
|
16091
|
+
const j = Ys(P, M, k);
|
|
16092
|
+
y[k] ? y[k].p(j, F) : (y[k] = Ks(j), y[k].c(), y[k].m(t, c));
|
|
16093
16093
|
}
|
|
16094
16094
|
for (; k < y.length; k += 1)
|
|
16095
16095
|
y[k].d(1);
|
|
@@ -16104,11 +16104,11 @@ function Ks(s) {
|
|
|
16104
16104
|
P[15] - 1 ? "Inactive" : "")) && x(w, "class", b);
|
|
16105
16105
|
},
|
|
16106
16106
|
d(P) {
|
|
16107
|
-
P && X(t),
|
|
16107
|
+
P && X(t), to(y, P), v = !1, nn(O);
|
|
16108
16108
|
}
|
|
16109
16109
|
};
|
|
16110
16110
|
}
|
|
16111
|
-
function
|
|
16111
|
+
function Ks(s) {
|
|
16112
16112
|
let t, e = (
|
|
16113
16113
|
/*i*/
|
|
16114
16114
|
s[49] + 1 + ""
|
|
@@ -16142,10 +16142,10 @@ function Gs(s) {
|
|
|
16142
16142
|
}
|
|
16143
16143
|
};
|
|
16144
16144
|
}
|
|
16145
|
-
function
|
|
16145
|
+
function Qc(s) {
|
|
16146
16146
|
let t;
|
|
16147
16147
|
function e(r, n) {
|
|
16148
|
-
return
|
|
16148
|
+
return jc;
|
|
16149
16149
|
}
|
|
16150
16150
|
let o = e()(s);
|
|
16151
16151
|
return {
|
|
@@ -16166,23 +16166,23 @@ function Zc(s) {
|
|
|
16166
16166
|
};
|
|
16167
16167
|
}
|
|
16168
16168
|
let ee = 6;
|
|
16169
|
-
function
|
|
16169
|
+
function Zc(s, t, e) {
|
|
16170
16170
|
let i;
|
|
16171
|
-
|
|
16172
|
-
let { endpoint: o = "" } = t, { session: r = "" } = t, { playerid: n = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c } = t, { translationurl: u = "" } = t, { bonushistorystatus: h = "" } = t, { bonushistorytype: f = "" } = t, _, w = window.navigator.userAgent, A =
|
|
16173
|
-
O = ut(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), M = ut(
|
|
16171
|
+
Zr(s, an, (m) => e(21, i = m));
|
|
16172
|
+
let { endpoint: o = "" } = t, { session: r = "" } = t, { playerid: n = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: d = "" } = t, { mbsource: c } = t, { translationurl: u = "" } = t, { bonushistorystatus: h = "" } = t, { bonushistorytype: f = "" } = t, _, w = window.navigator.userAgent, A = en(w) !== "PC", b, v, O, M;
|
|
16173
|
+
O = ut(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), M = ut(tn(/* @__PURE__ */ new Date(), 3), "yyyy-MM-dd");
|
|
16174
16174
|
let y = M, P = O, F = 0, k = 0, j = 0, Ce = 0, oe = 0, Re = [], Ae = "", He = "", q = "";
|
|
16175
16175
|
const dt = () => {
|
|
16176
16176
|
fetch(u).then((Z) => Z.json()).then((Z) => {
|
|
16177
16177
|
Object.keys(Z).forEach(($e) => {
|
|
16178
|
-
|
|
16178
|
+
is($e, Z[$e]);
|
|
16179
16179
|
});
|
|
16180
16180
|
}).catch((Z) => {
|
|
16181
16181
|
console.log(Z);
|
|
16182
16182
|
});
|
|
16183
16183
|
};
|
|
16184
|
-
Object.keys(
|
|
16185
|
-
|
|
16184
|
+
Object.keys(ss).forEach((m) => {
|
|
16185
|
+
is(m, ss[m]);
|
|
16186
16186
|
});
|
|
16187
16187
|
const ue = () => {
|
|
16188
16188
|
window.postMessage(
|
|
@@ -16193,13 +16193,13 @@ function eu(s, t, e) {
|
|
|
16193
16193
|
window.location.href
|
|
16194
16194
|
);
|
|
16195
16195
|
}, I = (m, Z, $e) => {
|
|
16196
|
-
let Nt = new URL(`${o}/v1/player/${n}/bonusWallet`),
|
|
16197
|
-
Z && (Gi = Z.split(",").map((re) => `status=${re}`).join(","), he = he + Gi + ","), $e && (Xi = $e.split(",").map((re) => `type=${re}`).join(","), he = he + Xi + ","), he = he + `granted=[${
|
|
16198
|
-
let
|
|
16196
|
+
let Nt = new URL(`${o}/v1/player/${n}/bonusWallet`), zr = ut(on(new Date(y)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), Rr = ut(rn(new Date(P)), "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"), he = "", Gi = "", Xi = "";
|
|
16197
|
+
Z && (Gi = Z.split(",").map((re) => `status=${re}`).join(","), he = he + Gi + ","), $e && (Xi = $e.split(",").map((re) => `type=${re}`).join(","), he = he + Xi + ","), he = he + `granted=[${zr}~${Rr}]`, Nt.searchParams.append("filter", he), Nt.searchParams.append("pagination", `offset=${m},limit=${ee}`);
|
|
16198
|
+
let Hr = {
|
|
16199
16199
|
method: "GET",
|
|
16200
16200
|
headers: { "X-SessionId": r }
|
|
16201
16201
|
};
|
|
16202
|
-
fetch(Nt.href,
|
|
16202
|
+
fetch(Nt.href, Hr).then(($) => $.json()).then(
|
|
16203
16203
|
($) => {
|
|
16204
16204
|
Array.isArray($.items) && $.items.forEach((Ve) => {
|
|
16205
16205
|
var Ji, Qi;
|
|
@@ -16218,24 +16218,24 @@ function eu(s, t, e) {
|
|
|
16218
16218
|
}, R = () => {
|
|
16219
16219
|
b.addEventListener("change", L, !1), v.addEventListener("change", D, !1);
|
|
16220
16220
|
};
|
|
16221
|
-
|
|
16221
|
+
sn(() => () => {
|
|
16222
16222
|
b.removeEventListener("change", L), v.removeEventListener("change", D);
|
|
16223
16223
|
});
|
|
16224
|
-
const
|
|
16225
|
-
|
|
16226
|
-
},
|
|
16227
|
-
function
|
|
16224
|
+
const kr = () => {
|
|
16225
|
+
un(a);
|
|
16226
|
+
}, Dr = () => ue();
|
|
16227
|
+
function Tr(m) {
|
|
16228
16228
|
Lt[m ? "unshift" : "push"](() => {
|
|
16229
16229
|
b = m, e(8, b);
|
|
16230
16230
|
});
|
|
16231
16231
|
}
|
|
16232
|
-
function
|
|
16232
|
+
function Sr(m) {
|
|
16233
16233
|
Lt[m ? "unshift" : "push"](() => {
|
|
16234
16234
|
v = m, e(9, v);
|
|
16235
16235
|
});
|
|
16236
16236
|
}
|
|
16237
|
-
const
|
|
16238
|
-
function
|
|
16237
|
+
const Or = () => I(0, h, f), Mr = () => I(0, h, f), Ir = () => I(F, h, f), Nr = (m) => I(m * ee, h, f), Fr = () => I(k, h, f), Br = () => I(j, h, f);
|
|
16238
|
+
function Lr(m) {
|
|
16239
16239
|
Lt[m ? "unshift" : "push"](() => {
|
|
16240
16240
|
_ = m, e(7, _);
|
|
16241
16241
|
});
|
|
@@ -16244,12 +16244,12 @@ function eu(s, t, e) {
|
|
|
16244
16244
|
"endpoint" in m && e(25, o = m.endpoint), "session" in m && e(26, r = m.session), "playerid" in m && e(27, n = m.playerid), "lang" in m && e(0, a = m.lang), "clientstyling" in m && e(1, l = m.clientstyling), "clientstylingurl" in m && e(2, d = m.clientstylingurl), "mbsource" in m && e(3, c = m.mbsource), "translationurl" in m && e(4, u = m.translationurl), "bonushistorystatus" in m && e(5, h = m.bonushistorystatus), "bonushistorytype" in m && e(6, f = m.bonushistorytype);
|
|
16245
16245
|
}, s.$$.update = () => {
|
|
16246
16246
|
s.$$.dirty[0] & /*lang*/
|
|
16247
|
-
1 && a &&
|
|
16247
|
+
1 && a && kr(), s.$$.dirty[0] & /*startCalendar, endCalendar*/
|
|
16248
16248
|
768 && b && v && R(), s.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
|
|
16249
16249
|
234881120 && r && n && o && I(0, h, f), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16250
|
-
130 && l && _ &&
|
|
16251
|
-
132 && d && _ &&
|
|
16252
|
-
136 && c && _ &&
|
|
16250
|
+
130 && l && _ && ln(_, l), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16251
|
+
132 && d && _ && dn(_, d), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16252
|
+
136 && c && _ && cn(_, `${c}.Style`), s.$$.dirty[0] & /*translationurl*/
|
|
16253
16253
|
16 && u && dt();
|
|
16254
16254
|
}, [
|
|
16255
16255
|
a,
|
|
@@ -16280,6 +16280,7 @@ function eu(s, t, e) {
|
|
|
16280
16280
|
o,
|
|
16281
16281
|
r,
|
|
16282
16282
|
n,
|
|
16283
|
+
Dr,
|
|
16283
16284
|
Tr,
|
|
16284
16285
|
Sr,
|
|
16285
16286
|
Or,
|
|
@@ -16288,18 +16289,17 @@ function eu(s, t, e) {
|
|
|
16288
16289
|
Nr,
|
|
16289
16290
|
Fr,
|
|
16290
16291
|
Br,
|
|
16291
|
-
Lr
|
|
16292
|
-
zr
|
|
16292
|
+
Lr
|
|
16293
16293
|
];
|
|
16294
16294
|
}
|
|
16295
|
-
class
|
|
16295
|
+
class eu extends Kr {
|
|
16296
16296
|
constructor(t) {
|
|
16297
|
-
super(),
|
|
16297
|
+
super(), Gr(
|
|
16298
16298
|
this,
|
|
16299
16299
|
t,
|
|
16300
|
-
eu,
|
|
16301
16300
|
Zc,
|
|
16302
|
-
|
|
16301
|
+
Qc,
|
|
16302
|
+
Xr,
|
|
16303
16303
|
{
|
|
16304
16304
|
endpoint: 25,
|
|
16305
16305
|
session: 26,
|
|
@@ -16312,7 +16312,7 @@ class tu extends Gr {
|
|
|
16312
16312
|
bonushistorystatus: 5,
|
|
16313
16313
|
bonushistorytype: 6
|
|
16314
16314
|
},
|
|
16315
|
-
|
|
16315
|
+
Wc,
|
|
16316
16316
|
[-1, -1]
|
|
16317
16317
|
);
|
|
16318
16318
|
}
|
|
@@ -16377,7 +16377,7 @@ class tu extends Gr {
|
|
|
16377
16377
|
this.$$set({ bonushistorytype: t }), K();
|
|
16378
16378
|
}
|
|
16379
16379
|
}
|
|
16380
|
-
|
|
16380
|
+
Jr(eu, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
|
|
16381
16381
|
export {
|
|
16382
|
-
|
|
16382
|
+
eu as default
|
|
16383
16383
|
};
|