@everymatrix/player-bonus-history 1.54.8 → 1.54.9

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.
@@ -1,32 +1,32 @@
1
- var Wn = Object.defineProperty, jn = Object.defineProperties;
2
- var qn = Object.getOwnPropertyDescriptors;
1
+ var Ur = Object.defineProperty, Wr = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
3
  var es = Object.getOwnPropertySymbols;
4
- var Gn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable;
5
- var ts = (s, t, e) => t in s ? Wn(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, ut = (s, t) => {
4
+ var qr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var ts = (s, t, e) => t in s ? Ur(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, ut = (s, t) => {
6
6
  for (var e in t || (t = {}))
7
- Gn.call(t, e) && ts(s, e, t[e]);
7
+ qr.call(t, e) && ts(s, e, t[e]);
8
8
  if (es)
9
9
  for (var e of es(t))
10
- Kn.call(t, e) && ts(s, e, t[e]);
10
+ Gr.call(t, e) && ts(s, e, t[e]);
11
11
  return s;
12
- }, Lt = (s, t) => jn(s, qn(t));
12
+ }, Lt = (s, t) => Wr(s, jr(t));
13
13
  var ht = (s, t, e) => new Promise((i, o) => {
14
- var n = (l) => {
14
+ var r = (l) => {
15
15
  try {
16
16
  a(e.next(l));
17
17
  } catch (d) {
18
18
  o(d);
19
19
  }
20
- }, r = (l) => {
20
+ }, n = (l) => {
21
21
  try {
22
22
  a(e.throw(l));
23
23
  } catch (d) {
24
24
  o(d);
25
25
  }
26
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(n, r);
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 Xn, $ as Jn, S as Qn, i as Zn, f as ie, s as er, c as tr, b as ir, n as is, d as J, e as Q, g as T, h as sr, j as or, k as pt, o as nr, l as zt, m as Te, p as f, q as g, r as me, t as U, u as j, v as x, w as Pe, x as wt, y as so, z as rr, A as oo, B as ar } from "./PlayerBonusCard-BMxgInyW.js";
29
+ import { a as Kr, $ as Xr, S as Jr, i as Qr, f as ie, s as Zr, c as en, b as tn, n as is, d as J, e as Q, g as T, h as sn, j as on, k as pt, o as rn, l as zt, m as Te, p as f, q as g, r as me, t as U, u as j, v as x, w as Pe, x as wt, y as so, z as nn, A as oo, B as an } from "./PlayerBonusCard-BMxgInyW.js";
30
30
  if (typeof window != "undefined") {
31
31
  let s = function(t) {
32
32
  return function(...e) {
@@ -51,25 +51,25 @@ if (typeof window != "undefined") {
51
51
  window.Vaadin || (window.Vaadin = {});
52
52
  var Xs;
53
53
  (Xs = window.Vaadin).featureFlags || (Xs.featureFlags = {});
54
- function lr(s) {
54
+ function ln(s) {
55
55
  return s.replace(/-[a-z]/gu, (t) => t[1].toUpperCase());
56
56
  }
57
57
  const se = {};
58
- function Z(s, t = "24.6.3") {
58
+ function Z(s, t = "24.6.4") {
59
59
  if (Object.defineProperty(s, "version", {
60
60
  get() {
61
61
  return t;
62
62
  }
63
63
  }), s.experimental) {
64
- const i = typeof s.experimental == "string" ? s.experimental : `${lr(s.is.split("-").slice(1).join("-"))}Component`;
64
+ const i = typeof s.experimental == "string" ? s.experimental : `${ln(s.is.split("-").slice(1).join("-"))}Component`;
65
65
  if (!window.Vaadin.featureFlags[i] && !se[i]) {
66
66
  se[i] = /* @__PURE__ */ new Set(), se[i].add(s), Object.defineProperty(window.Vaadin.featureFlags, i, {
67
67
  get() {
68
68
  return se[i].size === 0;
69
69
  },
70
70
  set(o) {
71
- o && se[i].size > 0 && (se[i].forEach((n) => {
72
- customElements.define(n.is, n);
71
+ o && se[i].size > 0 && (se[i].forEach((r) => {
72
+ customElements.define(r.is, r);
73
73
  }), se[i].clear());
74
74
  }
75
75
  });
@@ -94,12 +94,12 @@ function Z(s, t = "24.6.3") {
94
94
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
95
95
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
96
96
  */
97
- class dr extends HTMLElement {
97
+ class dn extends HTMLElement {
98
98
  static get is() {
99
99
  return "vaadin-lumo-styles";
100
100
  }
101
101
  }
102
- Z(dr);
102
+ Z(dn);
103
103
  /**
104
104
  * @license
105
105
  * Copyright 2019 Google LLC
@@ -124,14 +124,14 @@ let ki = class {
124
124
  return this.cssText;
125
125
  }
126
126
  };
127
- const cr = (s) => new ki(typeof s == "string" ? s : s + "", void 0, Di), C = (s, ...t) => {
128
- const e = s.length === 1 ? s[0] : t.reduce((i, o, n) => i + ((r) => {
129
- if (r._$cssResult$ === !0) return r.cssText;
130
- if (typeof r == "number") return r;
131
- throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
132
- })(o) + s[n + 1], s[0]);
127
+ const cn = (s) => new ki(typeof s == "string" ? s : s + "", void 0, Di), C = (s, ...t) => {
128
+ const e = s.length === 1 ? s[0] : t.reduce((i, o, r) => i + ((n) => {
129
+ if (n._$cssResult$ === !0) return n.cssText;
130
+ if (typeof n == "number") return n;
131
+ 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.");
132
+ })(o) + s[r + 1], s[0]);
133
133
  return new ki(e, s, Di);
134
- }, no = (s, t) => {
134
+ }, ro = (s, t) => {
135
135
  if (Pi) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
136
136
  else for (const e of t) {
137
137
  const i = document.createElement("style"), o = bt.litNonce;
@@ -140,17 +140,17 @@ const cr = (s) => new ki(typeof s == "string" ? s : s + "", void 0, Di), C = (s,
140
140
  }, os = Pi ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
141
141
  let e = "";
142
142
  for (const i of t.cssRules) e += i.cssText;
143
- return cr(e);
143
+ return cn(e);
144
144
  })(s) : s;
145
145
  /**
146
146
  * @license
147
147
  * Copyright 2017 Google LLC
148
148
  * SPDX-License-Identifier: BSD-3-Clause
149
149
  */
150
- const { is: ur, defineProperty: hr, getOwnPropertyDescriptor: pr, getOwnPropertyNames: fr, getOwnPropertySymbols: _r, getPrototypeOf: mr } = Object, ce = globalThis, ns = ce.trustedTypes, gr = ns ? ns.emptyScript : "", Ht = ce.reactiveElementPolyfillSupport, Qe = (s, t) => s, si = { toAttribute(s, t) {
150
+ const { is: un, defineProperty: hn, getOwnPropertyDescriptor: pn, getOwnPropertyNames: fn, getOwnPropertySymbols: _n, getPrototypeOf: mn } = Object, ce = globalThis, rs = ce.trustedTypes, gn = rs ? rs.emptyScript : "", Ht = ce.reactiveElementPolyfillSupport, Qe = (s, t) => s, si = { toAttribute(s, t) {
151
151
  switch (t) {
152
152
  case Boolean:
153
- s = s ? gr : null;
153
+ s = s ? gn : null;
154
154
  break;
155
155
  case Object:
156
156
  case Array:
@@ -175,7 +175,7 @@ const { is: ur, defineProperty: hr, getOwnPropertyDescriptor: pr, getOwnProperty
175
175
  }
176
176
  }
177
177
  return e;
178
- } }, ro = (s, t) => !ur(s, t), rs = { attribute: !0, type: String, converter: si, reflect: !1, hasChanged: ro };
178
+ } }, no = (s, t) => !un(s, t), ns = { attribute: !0, type: String, converter: si, reflect: !1, hasChanged: no };
179
179
  var Js, Qs;
180
180
  (Js = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Qs = ce.litPropertyMetadata) != null || (ce.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
181
181
  class ke extends HTMLElement {
@@ -186,15 +186,15 @@ class ke extends HTMLElement {
186
186
  static get observedAttributes() {
187
187
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
188
188
  }
189
- static createProperty(t, e = rs) {
189
+ static createProperty(t, e = ns) {
190
190
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
191
191
  const i = Symbol(), o = this.getPropertyDescriptor(t, i, e);
192
- o !== void 0 && hr(this.prototype, t, o);
192
+ o !== void 0 && hn(this.prototype, t, o);
193
193
  }
194
194
  }
195
195
  static getPropertyDescriptor(t, e, i) {
196
- var r;
197
- const { get: o, set: n } = (r = pr(this.prototype, t)) != null ? r : { get() {
196
+ var n;
197
+ const { get: o, set: r } = (n = pn(this.prototype, t)) != null ? n : { get() {
198
198
  return this[e];
199
199
  }, set(a) {
200
200
  this[e] = a;
@@ -203,22 +203,22 @@ class ke extends HTMLElement {
203
203
  return o == null ? void 0 : o.call(this);
204
204
  }, set(a) {
205
205
  const l = o == null ? void 0 : o.call(this);
206
- n.call(this, a), this.requestUpdate(t, l, i);
206
+ r.call(this, a), this.requestUpdate(t, l, i);
207
207
  }, configurable: !0, enumerable: !0 };
208
208
  }
209
209
  static getPropertyOptions(t) {
210
210
  var e;
211
- return (e = this.elementProperties.get(t)) != null ? e : rs;
211
+ return (e = this.elementProperties.get(t)) != null ? e : ns;
212
212
  }
213
213
  static _$Ei() {
214
214
  if (this.hasOwnProperty(Qe("elementProperties"))) return;
215
- const t = mr(this);
215
+ const t = mn(this);
216
216
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
217
217
  }
218
218
  static finalize() {
219
219
  if (this.hasOwnProperty(Qe("finalized"))) return;
220
220
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Qe("properties"))) {
221
- const e = this.properties, i = [...fr(e), ..._r(e)];
221
+ const e = this.properties, i = [...fn(e), ..._n(e)];
222
222
  for (const o of i) this.createProperty(o, e[o]);
223
223
  }
224
224
  const t = this[Symbol.metadata];
@@ -268,7 +268,7 @@ class ke extends HTMLElement {
268
268
  createRenderRoot() {
269
269
  var e;
270
270
  const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
271
- return no(t, this.constructor.elementStyles), t;
271
+ return ro(t, this.constructor.elementStyles), t;
272
272
  }
273
273
  connectedCallback() {
274
274
  var t, e;
@@ -290,25 +290,25 @@ class ke extends HTMLElement {
290
290
  this._$AK(t, i);
291
291
  }
292
292
  _$EC(t, e) {
293
- var n;
293
+ var r;
294
294
  const i = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, i);
295
295
  if (o !== void 0 && i.reflect === !0) {
296
- const r = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : si).toAttribute(e, i.type);
297
- this._$Em = t, r == null ? this.removeAttribute(o) : this.setAttribute(o, r), this._$Em = null;
296
+ const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : si).toAttribute(e, i.type);
297
+ this._$Em = t, n == null ? this.removeAttribute(o) : this.setAttribute(o, n), this._$Em = null;
298
298
  }
299
299
  }
300
300
  _$AK(t, e) {
301
- var n;
301
+ var r;
302
302
  const i = this.constructor, o = i._$Eh.get(t);
303
303
  if (o !== void 0 && this._$Em !== o) {
304
- const r = i.getPropertyOptions(o), a = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((n = r.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? r.converter : si;
305
- this._$Em = o, this[o] = a.fromAttribute(e, r.type), this._$Em = null;
304
+ const n = i.getPropertyOptions(o), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : si;
305
+ this._$Em = o, this[o] = a.fromAttribute(e, n.type), this._$Em = null;
306
306
  }
307
307
  }
308
308
  requestUpdate(t, e, i) {
309
309
  var o;
310
310
  if (t !== void 0) {
311
- if (i != null || (i = this.constructor.getPropertyOptions(t)), !((o = i.hasChanged) != null ? o : ro)(this[t], e)) return;
311
+ if (i != null || (i = this.constructor.getPropertyOptions(t)), !((o = i.hasChanged) != null ? o : no)(this[t], e)) return;
312
312
  this.P(t, e, i);
313
313
  }
314
314
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -337,21 +337,21 @@ class ke extends HTMLElement {
337
337
  if (!this.isUpdatePending) return;
338
338
  if (!this.hasUpdated) {
339
339
  if ((i = this.renderRoot) != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
340
- for (const [r, a] of this._$Ep) this[r] = a;
340
+ for (const [n, a] of this._$Ep) this[n] = a;
341
341
  this._$Ep = void 0;
342
342
  }
343
- const n = this.constructor.elementProperties;
344
- if (n.size > 0) for (const [r, a] of n) a.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], a);
343
+ const r = this.constructor.elementProperties;
344
+ if (r.size > 0) for (const [n, a] of r) a.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], a);
345
345
  }
346
346
  let t = !1;
347
347
  const e = this._$AL;
348
348
  try {
349
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (o = this._$EO) == null || o.forEach((n) => {
350
- var r;
351
- return (r = n.hostUpdate) == null ? void 0 : r.call(n);
349
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (o = this._$EO) == null || o.forEach((r) => {
350
+ var n;
351
+ return (n = r.hostUpdate) == null ? void 0 : n.call(r);
352
352
  }), this.update(e)) : this._$EU();
353
- } catch (n) {
354
- throw t = !1, this._$EU(), n;
353
+ } catch (r) {
354
+ throw t = !1, this._$EU(), r;
355
355
  }
356
356
  t && this._$AE(e);
357
357
  }
@@ -391,31 +391,31 @@ ke.elementStyles = [], ke.shadowRootOptions = { mode: "open" }, ke[Qe("elementPr
391
391
  * Copyright 2017 Google LLC
392
392
  * SPDX-License-Identifier: BSD-3-Clause
393
393
  */
394
- const Ze = globalThis, xt = Ze.trustedTypes, as = xt ? xt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ao = "$lit$", de = `lit$${Math.random().toFixed(9).slice(2)}$`, lo = "?" + de, yr = `<${lo}>`, we = document, tt = () => we.createComment(""), it = (s) => s === null || typeof s != "object" && typeof s != "function", Ti = Array.isArray, br = (s) => Ti(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Rt = `[
394
+ const Ze = globalThis, xt = Ze.trustedTypes, as = xt ? xt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, ao = "$lit$", de = `lit$${Math.random().toFixed(9).slice(2)}$`, lo = "?" + de, yn = `<${lo}>`, we = document, tt = () => we.createComment(""), it = (s) => s === null || typeof s != "object" && typeof s != "function", Ti = Array.isArray, bn = (s) => Ti(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Rt = `[
395
395
  \f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ls = /-->/g, ds = />/g, _e = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
396
396
  \f\r"'\`<>=]|("|')|))|$)`, "g"), cs = /'/g, us = /"/g, co = /^(?:script|style|textarea|title)$/i, Ne = Symbol.for("lit-noChange"), F = Symbol.for("lit-nothing"), hs = /* @__PURE__ */ new WeakMap(), ge = we.createTreeWalker(we, 129);
397
397
  function uo(s, t) {
398
398
  if (!Ti(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
399
399
  return as !== void 0 ? as.createHTML(t) : t;
400
400
  }
401
- const vr = (s, t) => {
401
+ const vn = (s, t) => {
402
402
  const e = s.length - 1, i = [];
403
- let o, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = We;
403
+ let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = We;
404
404
  for (let a = 0; a < e; a++) {
405
405
  const l = s[a];
406
406
  let d, c, u = -1, h = 0;
407
- for (; h < l.length && (r.lastIndex = h, c = r.exec(l), c !== null); ) h = r.lastIndex, r === We ? c[1] === "!--" ? r = ls : c[1] !== void 0 ? r = ds : c[2] !== void 0 ? (co.test(c[2]) && (o = RegExp("</" + c[2], "g")), r = _e) : c[3] !== void 0 && (r = _e) : r === _e ? c[0] === ">" ? (r = o != null ? o : We, u = -1) : c[1] === void 0 ? u = -2 : (u = r.lastIndex - c[2].length, d = c[1], r = c[3] === void 0 ? _e : c[3] === '"' ? us : cs) : r === us || r === cs ? r = _e : r === ls || r === ds ? r = We : (r = _e, o = void 0);
408
- const p = r === _e && s[a + 1].startsWith("/>") ? " " : "";
409
- n += r === We ? l + yr : u >= 0 ? (i.push(d), l.slice(0, u) + ao + l.slice(u) + de + p) : l + de + (u === -2 ? a : p);
407
+ for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); ) h = n.lastIndex, n === We ? c[1] === "!--" ? n = ls : c[1] !== void 0 ? n = ds : c[2] !== void 0 ? (co.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = _e) : c[3] !== void 0 && (n = _e) : n === _e ? c[0] === ">" ? (n = o != null ? o : We, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? _e : c[3] === '"' ? us : cs) : n === us || n === cs ? n = _e : n === ls || n === ds ? n = We : (n = _e, o = void 0);
408
+ const p = n === _e && s[a + 1].startsWith("/>") ? " " : "";
409
+ r += n === We ? l + yn : u >= 0 ? (i.push(d), l.slice(0, u) + ao + l.slice(u) + de + p) : l + de + (u === -2 ? a : p);
410
410
  }
411
- return [uo(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
411
+ return [uo(s, r + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
412
412
  };
413
413
  class st {
414
414
  constructor({ strings: t, _$litType$: e }, i) {
415
415
  let o;
416
416
  this.parts = [];
417
- let n = 0, r = 0;
418
- const a = t.length - 1, l = this.parts, [d, c] = vr(t, e);
417
+ let r = 0, n = 0;
418
+ const a = t.length - 1, l = this.parts, [d, c] = vn(t, e);
419
419
  if (this.el = st.createElement(d, i), ge.currentNode = this.el.content, e === 2 || e === 3) {
420
420
  const u = this.el.content.firstChild;
421
421
  u.replaceWith(...u.childNodes);
@@ -423,23 +423,23 @@ class st {
423
423
  for (; (o = ge.nextNode()) !== null && l.length < a; ) {
424
424
  if (o.nodeType === 1) {
425
425
  if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(ao)) {
426
- const h = c[r++], p = o.getAttribute(u).split(de), _ = /([.?@])?(.*)/.exec(h);
427
- l.push({ type: 1, index: n, name: _[2], strings: p, ctor: _[1] === "." ? xr : _[1] === "?" ? Cr : _[1] === "@" ? Ar : St }), o.removeAttribute(u);
428
- } else u.startsWith(de) && (l.push({ type: 6, index: n }), o.removeAttribute(u));
426
+ const h = c[n++], p = o.getAttribute(u).split(de), _ = /([.?@])?(.*)/.exec(h);
427
+ l.push({ type: 1, index: r, name: _[2], strings: p, ctor: _[1] === "." ? xn : _[1] === "?" ? Cn : _[1] === "@" ? An : St }), o.removeAttribute(u);
428
+ } else u.startsWith(de) && (l.push({ type: 6, index: r }), o.removeAttribute(u));
429
429
  if (co.test(o.tagName)) {
430
430
  const u = o.textContent.split(de), h = u.length - 1;
431
431
  if (h > 0) {
432
432
  o.textContent = xt ? xt.emptyScript : "";
433
- for (let p = 0; p < h; p++) o.append(u[p], tt()), ge.nextNode(), l.push({ type: 2, index: ++n });
433
+ for (let p = 0; p < h; p++) o.append(u[p], tt()), ge.nextNode(), l.push({ type: 2, index: ++r });
434
434
  o.append(u[h], tt());
435
435
  }
436
436
  }
437
- } else if (o.nodeType === 8) if (o.data === lo) l.push({ type: 2, index: n });
437
+ } else if (o.nodeType === 8) if (o.data === lo) l.push({ type: 2, index: r });
438
438
  else {
439
439
  let u = -1;
440
- for (; (u = o.data.indexOf(de, u + 1)) !== -1; ) l.push({ type: 7, index: n }), u += de.length - 1;
440
+ for (; (u = o.data.indexOf(de, u + 1)) !== -1; ) l.push({ type: 7, index: r }), u += de.length - 1;
441
441
  }
442
- n++;
442
+ r++;
443
443
  }
444
444
  }
445
445
  static createElement(t, e) {
@@ -448,13 +448,13 @@ class st {
448
448
  }
449
449
  }
450
450
  function Fe(s, t, e = s, i) {
451
- var r, a, l;
451
+ var n, a, l;
452
452
  if (t === Ne) return t;
453
- let o = i !== void 0 ? (r = e._$Co) == null ? void 0 : r[i] : e._$Cl;
454
- const n = it(t) ? void 0 : t._$litDirective$;
455
- return (o == null ? void 0 : o.constructor) !== n && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), n === void 0 ? o = void 0 : (o = new n(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 = Fe(s, o._$AS(s, t.values), o, i)), t;
453
+ let o = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
454
+ const r = it(t) ? void 0 : t._$litDirective$;
455
+ 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 = Fe(s, o._$AS(s, t.values), o, i)), t;
456
456
  }
457
- class wr {
457
+ class wn {
458
458
  constructor(t, e) {
459
459
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
460
460
  }
@@ -468,13 +468,13 @@ class wr {
468
468
  var d;
469
469
  const { el: { content: e }, parts: i } = this._$AD, o = ((d = t == null ? void 0 : t.creationScope) != null ? d : we).importNode(e, !0);
470
470
  ge.currentNode = o;
471
- let n = ge.nextNode(), r = 0, a = 0, l = i[0];
471
+ let r = ge.nextNode(), n = 0, a = 0, l = i[0];
472
472
  for (; l !== void 0; ) {
473
- if (r === l.index) {
473
+ if (n === l.index) {
474
474
  let c;
475
- l.type === 2 ? c = new ct(n, n.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(n, l.name, l.strings, this, t) : l.type === 6 && (c = new Er(n, this, t)), this._$AV.push(c), l = i[++a];
475
+ l.type === 2 ? c = new ct(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new En(r, this, t)), this._$AV.push(c), l = i[++a];
476
476
  }
477
- r !== (l == null ? void 0 : l.index) && (n = ge.nextNode(), r++);
477
+ n !== (l == null ? void 0 : l.index) && (r = ge.nextNode(), n++);
478
478
  }
479
479
  return ge.currentNode = we, o;
480
480
  }
@@ -489,8 +489,8 @@ class ct {
489
489
  return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
490
490
  }
491
491
  constructor(t, e, i, o) {
492
- var n;
493
- this.type = 2, this._$AH = F, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = o, this._$Cv = (n = o == null ? void 0 : o.isConnected) != null ? n : !0;
492
+ var r;
493
+ this.type = 2, this._$AH = F, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = o, this._$Cv = (r = o == null ? void 0 : o.isConnected) != null ? r : !0;
494
494
  }
495
495
  get parentNode() {
496
496
  let t = this._$AA.parentNode;
@@ -504,7 +504,7 @@ class ct {
504
504
  return this._$AB;
505
505
  }
506
506
  _$AI(t, e = this) {
507
- t = Fe(this, t, e), it(t) ? t === F || t == null || t === "" ? (this._$AH !== F && this._$AR(), this._$AH = F) : t !== this._$AH && t !== Ne && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : br(t) ? this.k(t) : this._(t);
507
+ t = Fe(this, t, e), it(t) ? t === F || t == null || t === "" ? (this._$AH !== F && this._$AR(), this._$AH = F) : t !== this._$AH && t !== Ne && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : bn(t) ? this.k(t) : this._(t);
508
508
  }
509
509
  O(t) {
510
510
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -516,12 +516,12 @@ class ct {
516
516
  this._$AH !== F && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(we.createTextNode(t)), this._$AH = t;
517
517
  }
518
518
  $(t) {
519
- var n;
519
+ var r;
520
520
  const { values: e, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = st.createElement(uo(i.h, i.h[0]), this.options)), i);
521
- if (((n = this._$AH) == null ? void 0 : n._$AD) === o) this._$AH.p(e);
521
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(e);
522
522
  else {
523
- const r = new wr(o, this), a = r.u(this.options);
524
- r.p(e), this.T(a), this._$AH = r;
523
+ const n = new wn(o, this), a = n.u(this.options);
524
+ n.p(e), this.T(a), this._$AH = n;
525
525
  }
526
526
  }
527
527
  _$AC(t) {
@@ -532,7 +532,7 @@ class ct {
532
532
  Ti(this._$AH) || (this._$AH = [], this._$AR());
533
533
  const e = this._$AH;
534
534
  let i, o = 0;
535
- for (const n of t) o === e.length ? e.push(i = new ct(this.O(tt()), this.O(tt()), this, this.options)) : i = e[o], i._$AI(n), o++;
535
+ for (const r of t) o === e.length ? e.push(i = new ct(this.O(tt()), this.O(tt()), this, this.options)) : i = e[o], i._$AI(r), o++;
536
536
  o < e.length && (this._$AR(i && i._$AB.nextSibling, o), e.length = o);
537
537
  }
538
538
  _$AR(t = this._$AA.nextSibling, e) {
@@ -554,25 +554,25 @@ class St {
554
554
  get _$AU() {
555
555
  return this._$AM._$AU;
556
556
  }
557
- constructor(t, e, i, o, n) {
558
- this.type = 1, this._$AH = F, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = F;
557
+ constructor(t, e, i, o, r) {
558
+ this.type = 1, this._$AH = F, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = F;
559
559
  }
560
560
  _$AI(t, e = this, i, o) {
561
- const n = this.strings;
562
- let r = !1;
563
- if (n === void 0) t = Fe(this, t, e, 0), r = !it(t) || t !== this._$AH && t !== Ne, r && (this._$AH = t);
561
+ const r = this.strings;
562
+ let n = !1;
563
+ if (r === void 0) t = Fe(this, t, e, 0), n = !it(t) || t !== this._$AH && t !== Ne, n && (this._$AH = t);
564
564
  else {
565
565
  const a = t;
566
566
  let l, d;
567
- for (t = n[0], l = 0; l < n.length - 1; l++) d = Fe(this, a[i + l], e, l), d === Ne && (d = this._$AH[l]), r || (r = !it(d) || d !== this._$AH[l]), d === F ? t = F : t !== F && (t += (d != null ? d : "") + n[l + 1]), this._$AH[l] = d;
567
+ for (t = r[0], l = 0; l < r.length - 1; l++) d = Fe(this, a[i + l], e, l), d === Ne && (d = this._$AH[l]), n || (n = !it(d) || d !== this._$AH[l]), d === F ? t = F : t !== F && (t += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
568
568
  }
569
- r && !o && this.j(t);
569
+ n && !o && this.j(t);
570
570
  }
571
571
  j(t) {
572
572
  t === F ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
573
573
  }
574
574
  }
575
- class xr extends St {
575
+ class xn extends St {
576
576
  constructor() {
577
577
  super(...arguments), this.type = 3;
578
578
  }
@@ -580,7 +580,7 @@ class xr extends St {
580
580
  this.element[this.name] = t === F ? void 0 : t;
581
581
  }
582
582
  }
583
- class Cr extends St {
583
+ class Cn extends St {
584
584
  constructor() {
585
585
  super(...arguments), this.type = 4;
586
586
  }
@@ -588,22 +588,22 @@ class Cr extends St {
588
588
  this.element.toggleAttribute(this.name, !!t && t !== F);
589
589
  }
590
590
  }
591
- class Ar extends St {
592
- constructor(t, e, i, o, n) {
593
- super(t, e, i, o, n), this.type = 5;
591
+ class An extends St {
592
+ constructor(t, e, i, o, r) {
593
+ super(t, e, i, o, r), this.type = 5;
594
594
  }
595
595
  _$AI(t, e = this) {
596
- var r;
597
- if ((t = (r = Fe(this, t, e, 0)) != null ? r : F) === Ne) return;
598
- const i = this._$AH, o = t === F && i !== F || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== F && (i === F || o);
599
- o && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
596
+ var n;
597
+ if ((t = (n = Fe(this, t, e, 0)) != null ? n : F) === Ne) return;
598
+ const i = this._$AH, o = t === F && i !== F || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== F && (i === F || o);
599
+ o && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
600
600
  }
601
601
  handleEvent(t) {
602
602
  var e, i;
603
603
  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);
604
604
  }
605
605
  }
606
- class Er {
606
+ class En {
607
607
  constructor(t, e, i) {
608
608
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
609
609
  }
@@ -617,12 +617,12 @@ class Er {
617
617
  const $t = Ze.litHtmlPolyfillSupport;
618
618
  var eo;
619
619
  $t == null || $t(st, ct), ((eo = Ze.litHtmlVersions) != null ? eo : Ze.litHtmlVersions = []).push("3.2.1");
620
- const Pr = (s, t, e) => {
621
- var n, r;
622
- const i = (n = e == null ? void 0 : e.renderBefore) != null ? n : t;
620
+ const Pn = (s, t, e) => {
621
+ var r, n;
622
+ const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
623
623
  let o = i._$litPart$;
624
624
  if (o === void 0) {
625
- const a = (r = e == null ? void 0 : e.renderBefore) != null ? r : null;
625
+ const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
626
626
  i._$litPart$ = o = new ct(t.insertBefore(tt(), a), a, void 0, e != null ? e : {});
627
627
  }
628
628
  return o._$AI(s), o;
@@ -643,7 +643,7 @@ class Se extends ke {
643
643
  }
644
644
  update(t) {
645
645
  const e = this.render();
646
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Pr(e, this.renderRoot, this.renderOptions);
646
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Pn(e, this.renderRoot, this.renderOptions);
647
647
  }
648
648
  connectedCallback() {
649
649
  var t;
@@ -668,7 +668,7 @@ var io;
668
668
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
669
669
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
670
670
  */
671
- const Dr = (s) => class extends s {
671
+ const Dn = (s) => class extends s {
672
672
  static get properties() {
673
673
  return {
674
674
  /**
@@ -711,10 +711,10 @@ const ho = [], oi = /* @__PURE__ */ new Set(), Si = /* @__PURE__ */ new Set();
711
711
  function po(s) {
712
712
  return s && Object.prototype.hasOwnProperty.call(s, "__themes");
713
713
  }
714
- function kr(s) {
714
+ function kn(s) {
715
715
  return po(customElements.get(s));
716
716
  }
717
- function Tr(s = []) {
717
+ function Tn(s = []) {
718
718
  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));
719
719
  }
720
720
  function fo(s, t) {
@@ -725,25 +725,25 @@ function _o(s) {
725
725
  `);
726
726
  }
727
727
  const Ct = "vaadin-themable-mixin-style";
728
- function Sr(s, t) {
728
+ function Sn(s, t) {
729
729
  const e = document.createElement("style");
730
730
  e.id = Ct, e.textContent = _o(s), t.content.appendChild(e);
731
731
  }
732
- function Or(s) {
732
+ function On(s) {
733
733
  if (!s.shadowRoot)
734
734
  return;
735
735
  const t = s.constructor;
736
736
  if (s instanceof Se)
737
- [...s.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), no(s.shadowRoot, t.elementStyles);
737
+ [...s.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), ro(s.shadowRoot, t.elementStyles);
738
738
  else {
739
739
  const e = s.shadowRoot.getElementById(Ct), i = t.prototype._template;
740
740
  e.textContent = i.content.getElementById(Ct).textContent;
741
741
  }
742
742
  }
743
- function Mr(s) {
743
+ function Mn(s) {
744
744
  oi.forEach((t) => {
745
745
  const e = t.deref();
746
- e instanceof s ? Or(e) : e || oi.delete(t);
746
+ e instanceof s ? On(e) : e || oi.delete(t);
747
747
  });
748
748
  }
749
749
  function mo(s) {
@@ -758,51 +758,51 @@ function mo(s) {
758
758
  e !== s && e.prototype instanceof s && mo(e);
759
759
  });
760
760
  }
761
- function Ir(s, t) {
761
+ function In(s, t) {
762
762
  const e = s.__themes;
763
763
  return !e || !t ? !1 : e.some(
764
- (i) => i.styles.some((o) => t.some((n) => n.cssText === o.cssText))
764
+ (i) => i.styles.some((o) => t.some((r) => r.cssText === o.cssText))
765
765
  );
766
766
  }
767
767
  function S(s, t, e = {}) {
768
- t = Tr(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(s, t, e) : ho.push({
768
+ t = Tn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(s, t, e) : ho.push({
769
769
  themeFor: s,
770
770
  styles: t,
771
771
  include: e.include,
772
772
  moduleId: e.moduleId
773
773
  }), s && Si.forEach((i) => {
774
- if (fo(s, i) && kr(i)) {
774
+ if (fo(s, i) && kn(i)) {
775
775
  const o = customElements.get(i);
776
- Ir(o, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
776
+ In(o, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
777
777
  `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".`
778
- ), mo(o), Mr(o);
778
+ ), mo(o), Mn(o);
779
779
  }
780
780
  });
781
781
  }
782
- function ni() {
782
+ function ri() {
783
783
  return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ho;
784
784
  }
785
- function Nr(s = "") {
785
+ function Nn(s = "") {
786
786
  let t = 0;
787
787
  return s.startsWith("lumo-") || s.startsWith("material-") ? t = 1 : s.startsWith("vaadin-") && (t = 2), t;
788
788
  }
789
789
  function go(s) {
790
790
  const t = [];
791
791
  return s.include && [].concat(s.include).forEach((e) => {
792
- const i = ni().find((o) => o.moduleId === e);
792
+ const i = ri().find((o) => o.moduleId === e);
793
793
  i ? t.push(...go(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
794
794
  }, s.styles), t;
795
795
  }
796
- function Fr(s) {
797
- const t = `${s}-default-theme`, e = ni().filter((i) => i.moduleId !== t && fo(i.themeFor, s)).map((i) => Lt(ut({}, i), {
796
+ function Fn(s) {
797
+ const t = `${s}-default-theme`, e = ri().filter((i) => i.moduleId !== t && fo(i.themeFor, s)).map((i) => Lt(ut({}, i), {
798
798
  // Prepend styles from included themes
799
799
  styles: [...go(i), ...i.styles],
800
800
  // Map moduleId to includePriority
801
- includePriority: Nr(i.moduleId)
801
+ includePriority: Nn(i.moduleId)
802
802
  })).sort((i, o) => o.includePriority - i.includePriority);
803
- return e.length > 0 ? e : ni().filter((i) => i.moduleId === t);
803
+ return e.length > 0 ? e : ri().filter((i) => i.moduleId === t);
804
804
  }
805
- const xe = (s) => class extends Dr(s) {
805
+ const xe = (s) => class extends Dn(s) {
806
806
  constructor() {
807
807
  super(), oi.add(new WeakRef(this));
808
808
  }
@@ -814,7 +814,7 @@ const xe = (s) => class extends Dr(s) {
814
814
  if (super.finalize(), this.is && Si.add(this.is), this.elementStyles)
815
815
  return;
816
816
  const e = this.prototype._template;
817
- !e || po(this) || Sr(this.getStylesForThis(), e);
817
+ !e || po(this) || Sn(this.getStylesForThis(), e);
818
818
  }
819
819
  /**
820
820
  * Covers LitElement based component styling
@@ -832,9 +832,9 @@ const xe = (s) => class extends Dr(s) {
832
832
  */
833
833
  static getStylesForThis() {
834
834
  const e = s.__themes || [], i = Object.getPrototypeOf(this.prototype), o = (i ? i.constructor.__themes : []) || [];
835
- this.__themes = [...e, ...o, ...Fr(this.is)];
836
- const n = this.__themes.flatMap((r) => r.styles);
837
- return n.filter((r, a) => a === n.lastIndexOf(r));
835
+ this.__themes = [...e, ...o, ...Fn(this.is)];
836
+ const r = this.__themes.flatMap((n) => n.styles);
837
+ return r.filter((n, a) => a === r.lastIndexOf(n));
838
838
  }
839
839
  };
840
840
  /**
@@ -842,19 +842,19 @@ const xe = (s) => class extends Dr(s) {
842
842
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
843
843
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
844
844
  */
845
- const Br = (s, ...t) => {
845
+ const Bn = (s, ...t) => {
846
846
  const e = document.createElement("style");
847
847
  e.id = s, e.textContent = t.map((i) => i.toString()).join(`
848
848
  `).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
849
849
  }, ze = (s, ...t) => {
850
- Br(`lumo-${s}`, t);
850
+ Bn(`lumo-${s}`, t);
851
851
  };
852
852
  /**
853
853
  * @license
854
854
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
855
855
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
856
856
  */
857
- const Lr = C`
857
+ const Ln = C`
858
858
  :host {
859
859
  --lumo-size-xs: 1.625rem;
860
860
  --lumo-size-s: 1.875rem;
@@ -870,13 +870,13 @@ const Lr = C`
870
870
  --lumo-icon-size: var(--lumo-icon-size-m);
871
871
  }
872
872
  `;
873
- ze("sizing-props", Lr);
873
+ ze("sizing-props", Ln);
874
874
  /**
875
875
  * @license
876
876
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
877
877
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
878
878
  */
879
- const zr = C`
879
+ const zn = C`
880
880
  :host {
881
881
  /* Square */
882
882
  --lumo-space-xs: 0.25rem;
@@ -900,13 +900,13 @@ const zr = C`
900
900
  --lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
901
901
  }
902
902
  `;
903
- ze("spacing-props", zr);
903
+ ze("spacing-props", zn);
904
904
  /**
905
905
  * @license
906
906
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
907
907
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
908
908
  */
909
- const Hr = C`
909
+ const Hn = C`
910
910
  :host {
911
911
  /* Border radius */
912
912
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -1008,13 +1008,13 @@ C`
1008
1008
  --vaadin-input-field-value-font-weight: 500;
1009
1009
  }
1010
1010
  `;
1011
- ze("style-props", Hr);
1011
+ ze("style-props", Hn);
1012
1012
  /**
1013
1013
  * @license
1014
1014
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1015
1015
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1016
1016
  */
1017
- const Rr = C`
1017
+ const Rn = C`
1018
1018
  :host {
1019
1019
  /* Base (background) */
1020
1020
  --lumo-base-color: #fff;
@@ -1100,8 +1100,8 @@ const Rr = C`
1100
1100
  }
1101
1101
  }
1102
1102
  `;
1103
- ze("color-props", Rr);
1104
- const $r = C`
1103
+ ze("color-props", Rn);
1104
+ const $n = C`
1105
1105
  [theme~='dark'] {
1106
1106
  /* Base (background) */
1107
1107
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -1220,13 +1220,13 @@ const $r = C`
1220
1220
  background: transparent;
1221
1221
  }
1222
1222
  `;
1223
- S("", $r, { moduleId: "lumo-color" });
1223
+ S("", $n, { moduleId: "lumo-color" });
1224
1224
  /**
1225
1225
  * @license
1226
1226
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1227
1227
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1228
1228
  */
1229
- const Vr = C`
1229
+ const Vn = C`
1230
1230
  :host {
1231
1231
  /* prettier-ignore */
1232
1232
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -1246,7 +1246,7 @@ const Vr = C`
1246
1246
  --lumo-line-height-s: 1.375;
1247
1247
  --lumo-line-height-m: 1.625;
1248
1248
  }
1249
- `, Yr = C`
1249
+ `, Yn = C`
1250
1250
  body,
1251
1251
  :host {
1252
1252
  font-family: var(--lumo-font-family);
@@ -1339,8 +1339,8 @@ const Vr = C`
1339
1339
  border-right: 2px solid var(--lumo-contrast-30pct);
1340
1340
  }
1341
1341
  `;
1342
- S("", Yr, { moduleId: "lumo-typography" });
1343
- ze("typography-props", Vr);
1342
+ S("", Yn, { moduleId: "lumo-typography" });
1343
+ ze("typography-props", Vn);
1344
1344
  /**
1345
1345
  * @license
1346
1346
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -1450,7 +1450,7 @@ const bo = C`
1450
1450
  }
1451
1451
  `;
1452
1452
  S("", bo, { moduleId: "lumo-menu-overlay-core" });
1453
- const Ur = C`
1453
+ const Un = C`
1454
1454
  /* Small viewport (bottom sheet) styles */
1455
1455
  /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
1456
1456
  @media (max-width: 450px), (max-height: 450px) {
@@ -1512,9 +1512,9 @@ const Ur = C`
1512
1512
  transform: translateY(150%);
1513
1513
  }
1514
1514
  }
1515
- `, vo = [yo, bo, Ur];
1515
+ `, vo = [yo, bo, Un];
1516
1516
  S("", vo, { moduleId: "lumo-menu-overlay" });
1517
- const Wr = C`
1517
+ const Wn = C`
1518
1518
  [part='overlay'] {
1519
1519
  /*
1520
1520
  Width:
@@ -1560,10 +1560,10 @@ const Wr = C`
1560
1560
  }
1561
1561
  }
1562
1562
  `;
1563
- S("vaadin-date-picker-overlay", [vo, Wr], {
1563
+ S("vaadin-date-picker-overlay", [vo, Wn], {
1564
1564
  moduleId: "lumo-date-picker-overlay"
1565
1565
  });
1566
- const jr = C`
1566
+ const jn = C`
1567
1567
  :host {
1568
1568
  /* Sizing */
1569
1569
  --lumo-button-size: var(--lumo-size-m);
@@ -1840,7 +1840,7 @@ const jr = C`
1840
1840
  margin-right: 0;
1841
1841
  }
1842
1842
  `;
1843
- S("vaadin-button", jr, { moduleId: "lumo-button" });
1843
+ S("vaadin-button", jn, { moduleId: "lumo-button" });
1844
1844
  S(
1845
1845
  "vaadin-date-picker-year",
1846
1846
  C`
@@ -2365,7 +2365,7 @@ S(
2365
2365
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2366
2366
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2367
2367
  */
2368
- const qr = C`
2368
+ const qn = C`
2369
2369
  @font-face {
2370
2370
  font-family: 'lumo-icons';
2371
2371
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ecHn0GDBkxZsKUGXMWLFmxZsOWHXsOFBw5cebClRt3Hjx58dZ7RRn/I9cUF39Xpb691acRG2piOtUqNZ1P1TCdeJUZatNQW4baNtSO6U+ouoaam96u6hlq31AHhjo01JGhjg11YqhTQ50Z6txQF4a6NNSVoa4NdWOoW0PdGereUA+GWhjq0VBPhno21IuhXg31Zqh3Q30Y6tNQX4b6NtTSKH8BOIRpQQAAeJy1WH1sW9UVv+fG9vPz+7Bf/N6zHcd2/J04jbP6s0lap4kDpB9JWzUUCqxNgaHxpTI6hNhUNLVr17HSISb2D2iAJrWb6FTWahNQdQxRvmHamAR0qibE1E18CG3QaVNFvJ17n+3YIf1AiMQ679x77j3v3HPPPed3H7ER/OsYpw8TmQRIiuQJ8RZK+WjO1B3xaCzla21orY10a+OQ6aHTHtP0zB31mBs1GZ6RNU2uXc7oPL+xdRS9R9X1oK4fVfijdsBqvqF6vd1eLzPrYrYZ57WteF7bPDIc5+ZcJnta+S9i2Vfhs4MaMwZNQmO0Vv7gF/MZcNsCcJp4sJFSwYyAmRuFCmTBDRBUkwGqnlViyjmVBpLqaXhNpt0J5V1JOqMkuqn8WkMHvZX+iOlImiqkBiFVYDrCqINulmkwKb8ry2fkZBBn7FcTlk4ZdfpRZ9MOesLSAakKt0N3g4p2jAL8eIEOOqom/U0lgQRXUl8LtXM7HFkojUIpF0ErVBhcZC1vtyjtpsqr83a8RVcSH+ool8LgcIMjNohmVCACuDs506BdO6WIQeXjUsh1XKZGRNpp9piv3+Givoh00OU6KEV81HUHTLtN093Q+YGlE3wLHWRtMNy9XWqdLm2HKbaNsGzhu+41eswFOjE6WKSk2/1Wpt+qHeM6phbohmVmj3GvpdcVkiy9zbXfzHVqKuDB0IR2P6ZpF+D7dy6YC/9svGmBE5hKB9+X2+hh4iYRMkhGyTqyFc9APmeGQHf043tWQKHkizmwaY5AroTNVJzJDc2SFzUu92kOLsdmKu77vByb8/IjtxmhkMFISRBFISO4XMLJlj4XgGuRXtaHw2FLyHifdSOpisIhJjgkiPBAyJh7lfXTkhEadwk1mUngrOC6MazX7mASeEAPV1FyjEumBOaEDu4DP/ogRDKkiLEV1woVyMeLLKJCEM+FwdCwL4XLcRgdbfkhbzS8BNvXDKzNQiAWgOzagTXF1Eyq+Ci6/TPm/JrNY/59p1epKN4jQFGe0fx+LTMwNVCrAU2VSqnaKYzIiGmWe2Rvp9KDJhncrjLaFce8VCUbyQ1kB9lNfkJ+To6R58mfyd/Ip9ABXohDHqqwEW7A2Mij1ehntLu+h8xMtocjUJcYwoLdtYafv/1Vjy8vjLaLtBfOt3/B931Rexa24e5zstgnyqvZHs69zuhq3vFgRpQVJyN7FuE++RLSeW4xMi+t6Zeo5sIK6S5dlGVRD2hWnGoB3j7OV3lesvNLic8tOnLRSRfRdOna63VJp/1WbYs5dFZjy1AqpGICQEWKmNI+CZNoVTJ7pNop+IZkRrBHgnEmqr3TrEsfw1Gi8LqE+S1aV0SNNwXVVVvuUoU3ld6TLwmditIpvKTU50zSzWwO1h0rL8awnulwTXMYrGDT4aQ1fb4GPkyv5vMEh5Vec6yw0AMXnfcx1l/rfVZaKLDi0W4j/HfeyGZuHOf1IUGW1udizU2leXY0OmLpVDpVKJfKpZzPRKHgEBzpXAUKWYipoIeBdl3JfLZVBizEqWun1i4ZGFiyduq3DebayXsmJ+95gBG4+Urm1a2SdpKV57lP2wZyZqI+FAlfUtO+NCmgdWhMOS1gDY+jHWnBhwjBQLMEXxmLbx6t9JXTWDLtsSxgisfErqvQMbbBoywZmeyLeWe8OWNydFDxzMx4lMGRtX0xN3YFJkeW+O0bascGNwwObtjCCOzrzAVWjSwN2K9cpyn9o5cZOXMmkAuM85EbNHnJyHhfLLCnPhxJYw9eoIMkyC3l+4ZuY5ig7lW2oYUynDgg+Xrk+++Xe3zSgRYetnyuy+KbfjiB+GAAtZ8HHXmtijZfFFgrujhmOs2qkXvuSV6WqA1WLYqhPHOfsa26rklKFqbAGL2dOIlGurB6LWFVFd/KoBBaYTFYVBs93hZRFlrG5Ex4NVFIJguJVvqnBW2kNNvFGx90YUcSEvyZSMDeZjc0xYlEYy8+hHcWx9YrZOaPPyCGepP5Q34aXnGBr8d1QhSf4yjtiebZqNJfEYl4SY6dDRb8WSguLZW9ZQtBpoW4hX0QMyB2KmsYcOh8HMQxBn288oZ6BXV0GOq/ClKsC6T8g9X3OFKZNkJrYkOx2lEk+KNDy953+wGHXuGGzhGZ+uLK8FVrQkbtKBv+9EztU2sgTCNpvXMdJjqJ4tkdw+x00dPKkZ1QR254x7GQoFmvfakSnL3gCc5nREly2mN2pyTLMacMipNT7YInGU7JzlN2p9N+yinXTirOKEvPUafSWMNDmCf9pIQYaG19DSxKGqvAQ+xg60iabEm5MheUU2n+HxO4TDDbjnw6xxK8QzfhbHXq8pWVqanKysun9s6ztdt7sivGqruqYyuyPS6Hw9XehGt6q+l0dT0jvaFMZjiTuTHo7+vdtHJTb58/2ML+IxHt9/n9vv5owiWKrrbWD+sakKxhKoYzxF5f7y9INxki42QNuYrVFDPfvqxyY83xWNMV+ZxPSMWb62W+wPSCJwkDDl1WZOGW84nAEo4A7HjB/uWmOdayRFnKjazi668u/ajJlUd87aPk048Crlu4j1Oh9gxdL3Z1inNPIt2xvKNlsU4hn54Z5Y6YbTDu9hHOvkcFAb35fU6hNovKOrtQmcvbNV9/Ntfv5xf4atDWOOTX6CSHZ08xujhPs51+f9zvf1YLIGoPPKvxVh0TSLAXzzUBFiXs7GJVB7vH5/PAXznd4+vx4a95h3qI/oYIpIdMkA1kC7kVLS3GhWI5bwj1fIaVKG/Ei5gXWOjhtcJbzFthaMQrwIcIRj0ppvO6yV95icu9j/YPDNySWp7w+kOr95R1RfGpfVlDVhS/2geJ5Umv2mn0rkxBvzvgdisndJXaVF1X5z5jdHGe2n/QnYo8+b2uaMivhowgjYcLnVqnrEpQezsieyVZ6ooETbdJO6ip+cORLpes6BL82/qg8VHbo45B/vch/YQeJX28QvEANR3sQhxh+TcMCEd4l8BKF7uID7KM05tRYlIHHXY63YIi2fXQyj5XSBbcMeewKLpttkJ2Syz33YJfDdJdSYkqHbYb3VHRJgTV8c0TAy67YHeK7htwOKWax5co7Do8Pfh1tKdx1g5j9o6TZeQyMo27FuW3vbYsbY/Op3AG06DMKionRlpgHzCEeMmLU5opRrCyS670RzppZeW5p/iT3jL3lB4O63QS6dzzh8SAtOqwGJK3bv+lGJTWbr++471wsVKMRJCEK5H+cLg/Qp+IDsdqs7HhKD7hMXyyrD/Li8RjRqimHhI7HP2vSDZn9brplySb0L9dgpURSwmSiBFhilrwB8OA9gZ29NkRO/669parW9e7XZDxwvgRu+SE7zgl+xG5p/HtRqJ3cdwSZwsbwTA1WT3jEdyPN0sWxvDGy+xovIzHosnwc9LePf9tywun0fMkWaFYZbB4oovRq8VyKYUBkMVXqVhBHSylQ0wanvla3+rQ1XbR8ZzstYOo2Mf7vjk8ftcGDWxdSdXx0cAVveHg1TZFtEOn8ntBBFs11V++vuLUQ5qz+U6d/oUjpGIdNjOQhJXNqn5YCS1Yy5PofLGEs6Js2yOKe2yyOLxtaGjbt7cNIURCEDdWfaQ6lurtRYbePCuItv1iUNxvE4Vdw2zQ0LZhdv2fxjHp5uAmdlBpopHXoJGU8e6BRc0yi+PztkaHTRRrW1m2hcfFLlEUzzD+DGczjEVCg9jEQZhFcdAL2DjD+DPiSWQzjM2I89g5RXdxfECS+CIWy1hTGmFs6EIbkv/pbtkfU3aPrZ+4c2Lizn07qufym/L5TTdtyuU2/We3HPeDsjtb3bGPSSfW31aX3LQpX/d9sL7fWYpRJPBbCJavYjrFjj0rT2GWCZjf6Ytffr8beXl/HYeyGwJiIK8FLDHbfo65xGz7YCSRqCQSkbbHI5eUU5X4sjj+zrU9aHnRlEnrd7YGptd0x2Jf/RbH9PAiovadckSnEsJ661OgPFuH9B4O6e202vIN0h9xHXSJh1wRP5Vqv1uI6Wn9Gxmrwzqrii1gqhEscJanuAlGas+s2/uzvetgS72NpHZ6aHbZstmh/wPq1seEeJxjYGRgYADi31ySEvH8Nl8ZuJlfAEUYalQ3NCLo/6+ZpzLdAnI5GJhAogAiBgraeJxjYGRgYA76nwUkXzAAAfNUBkYGVKALAFb4A3EAAAB4nGNgYGBgfjG0MAAMzihlAAAAAABOAJoA6AEKASwBTgFwAZoBxAHuAhoCnALoBJoEvATWBPIFDgUqBXoF0AX+BkQGlga4BwgHagfiCGoIpAi8CVAJmAoQCiwKVgqQCtYLGAtOC4gL6AwuDFR4nGNgZGBg0GVMYRBlAAEmIOYCQgaG/2A+AwAYygG+AHicbZE9TsMwGIbf9A/RSggEYmHxAgtq+jN2ZGj3Dt3T1GlTOXHkuBW9AyfgEByCgTNwCA7BW/NJlVBtyd/jx+8XKwmAa3whwnFE6Ib1OBq44O6Pm6Qb4Rb5QbiNHh6FO/RD4S6eMRHu4RaaT4halzR3eBVu4Apvwk36d+EW+UO4jXt8Cnfov4W7WOBHuIen6MXsCtvPU1vWc73emcSdxIkW2tW5LdUoHp7kTJfaJV6v1PKg6v167H2mMmcLNbWl18ZYVTm71amPN95Xk8EgEx+ntoDBDgUs+siRspaoMef7rukNEriziXNuwS7Hmoe9wggxv+e55IzJMqQTeNYV00scuNbY8+YxrUfGfcaMZb/CNPQe04bT0lThbEuT0sfYhK6K/23Amf3Lx+H24hcj4GScAAAAeJxtjuduwzAMhH2NnTqOk+6993TfSZFY24giGZTVon36eiRFf5SAiO/A05HBWtBXEvxfGdYwQIgIQ6wjxggJxkgxwRQb2MQWtrGDXexhHwc4xBGOcYJTnOEcF7jEFa5xg1vc4R4PeMQTnvGCV2R4C1Khy9xkkkxNnPRC03s97pHLvKgTYXJNmbKfZom9o8POEffsq0Qw28+ltcPe2uHS2rGvRjPBmSwE1+GMtI6l0GSU4JEsSM4XgudpQx9sTRf3K9rAyUr0962UryKprZwPpM0jyda5uP2qrVBjxSLPCmGUplixrdpBSKqsI2oO4gF9Udq8TJVOzDSpcEHGR4vSeJdaVsSkMl26OqoKa6jttQ0rLb6a5l3YjO2QqV01YXLlNy2XDR0JlkXojbJTb/5GDX3V+kPviIPgB9AUks0AAAA=)
@@ -2421,7 +2421,7 @@ const qr = C`
2421
2421
  --lumo-icons-user: '\\ea2c';
2422
2422
  }
2423
2423
  `;
2424
- ze("font-icons", qr);
2424
+ ze("font-icons", qn);
2425
2425
  /**
2426
2426
  * @license
2427
2427
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -2461,7 +2461,7 @@ S("", wo, { moduleId: "lumo-field-button" });
2461
2461
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2462
2462
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2463
2463
  */
2464
- const Gr = C`
2464
+ const Gn = C`
2465
2465
  :host {
2466
2466
  --_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
2467
2467
  }
@@ -2642,7 +2642,7 @@ S("", xo, { moduleId: "lumo-required-field" });
2642
2642
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2643
2643
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2644
2644
  */
2645
- const Kr = C`
2645
+ const Kn = C`
2646
2646
  :host {
2647
2647
  --lumo-text-field-size: var(--lumo-size-m);
2648
2648
  color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
@@ -2773,11 +2773,11 @@ const Kr = C`
2773
2773
  [part='clear-button']::before {
2774
2774
  content: var(--lumo-icons-cross);
2775
2775
  }
2776
- `, Co = [xo, wo, Gr, Kr];
2776
+ `, Co = [xo, wo, Gn, Kn];
2777
2777
  S("", Co, {
2778
2778
  moduleId: "lumo-input-field-shared-styles"
2779
2779
  });
2780
- const Xr = C`
2780
+ const Xn = C`
2781
2781
  [part='toggle-button']::before {
2782
2782
  content: var(--lumo-icons-calendar);
2783
2783
  }
@@ -2800,7 +2800,7 @@ const Xr = C`
2800
2800
  --_lumo-text-field-overflow-mask-image: none;
2801
2801
  }
2802
2802
  `;
2803
- S("vaadin-date-picker", [Co, Xr], { moduleId: "lumo-date-picker" });
2803
+ S("vaadin-date-picker", [Co, Xn], { moduleId: "lumo-date-picker" });
2804
2804
  /**
2805
2805
  @license
2806
2806
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2822,9 +2822,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2822
2822
  Code distributed by Google as part of the polymer project is also
2823
2823
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2824
2824
  */
2825
- let Jr = /(url\()([^)]*)(\))/g, Qr = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ft, Y;
2825
+ let Jn = /(url\()([^)]*)(\))/g, Qn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ft, Y;
2826
2826
  function et(s, t) {
2827
- if (s && Qr.test(s) || s === "//")
2827
+ if (s && Qn.test(s) || s === "//")
2828
2828
  return s;
2829
2829
  if (ft === void 0) {
2830
2830
  ft = !1;
@@ -2843,8 +2843,8 @@ function et(s, t) {
2843
2843
  return Y || (Y = document.implementation.createHTMLDocument("temp"), Y.base = Y.createElement("base"), Y.head.appendChild(Y.base), Y.anchor = Y.createElement("a"), Y.body.appendChild(Y.anchor)), Y.base.href = t, Y.anchor.href = s, Y.anchor.href || s;
2844
2844
  }
2845
2845
  function Oi(s, t) {
2846
- return s.replace(Jr, function(e, i, o, n) {
2847
- return i + "'" + et(o.replace(/["']/g, ""), t) + "'" + n;
2846
+ return s.replace(Jn, function(e, i, o, r) {
2847
+ return i + "'" + et(o.replace(/["']/g, ""), t) + "'" + r;
2848
2848
  });
2849
2849
  }
2850
2850
  function Mi(s) {
@@ -2861,7 +2861,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2861
2861
  */
2862
2862
  const Ao = !window.ShadyDOM || !window.ShadyDOM.inUse;
2863
2863
  !window.ShadyCSS || window.ShadyCSS.nativeCss;
2864
- const Zr = Ao && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
2864
+ const Zn = Ao && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
2865
2865
  (() => {
2866
2866
  try {
2867
2867
  const s = new CSSStyleSheet();
@@ -2874,9 +2874,9 @@ const Zr = Ao && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
2874
2874
  })();
2875
2875
  let ea = window.Polymer && window.Polymer.rootPath || Mi(document.baseURI || window.location.href), At = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
2876
2876
  window.Polymer && window.Polymer.setPassiveTouchGestures;
2877
- let Et = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ta = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Eo = window.Polymer && window.Polymer.legacyOptimizations || !1, Po = window.Polymer && window.Polymer.legacyWarnings || !1, ia = window.Polymer && window.Polymer.syncInitialRender || !1, ri = window.Polymer && window.Polymer.legacyUndefined || !1, sa = window.Polymer && window.Polymer.orderedComputed || !1, ps = window.Polymer && window.Polymer.removeNestedTemplates || !1, oa = window.Polymer && window.Polymer.fastDomIf || !1, fs = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
2877
+ let Et = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ta = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Eo = window.Polymer && window.Polymer.legacyOptimizations || !1, Po = window.Polymer && window.Polymer.legacyWarnings || !1, ia = window.Polymer && window.Polymer.syncInitialRender || !1, ni = window.Polymer && window.Polymer.legacyUndefined || !1, sa = window.Polymer && window.Polymer.orderedComputed || !1, ps = window.Polymer && window.Polymer.removeNestedTemplates || !1, oa = window.Polymer && window.Polymer.fastDomIf || !1, fs = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
2878
2878
  window.Polymer && window.Polymer.legacyNoObservedAttributes;
2879
- let na = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
2879
+ let ra = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
2880
2880
  /**
2881
2881
  @license
2882
2882
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2886,28 +2886,28 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2886
2886
  Code distributed by Google as part of the polymer project is also
2887
2887
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2888
2888
  */
2889
- let ra = 0;
2889
+ let na = 0;
2890
2890
  const M = function(s) {
2891
2891
  let t = (
2892
2892
  /** @type {!MixinFunction} */
2893
2893
  s.__mixinApplications
2894
2894
  );
2895
2895
  t || (t = /* @__PURE__ */ new WeakMap(), s.__mixinApplications = t);
2896
- let e = ra++;
2896
+ let e = na++;
2897
2897
  function i(o) {
2898
- let n = (
2898
+ let r = (
2899
2899
  /** @type {!MixinFunction} */
2900
2900
  o.__mixinSet
2901
2901
  );
2902
- if (n && n[e])
2902
+ if (r && r[e])
2903
2903
  return o;
2904
- let r = t, a = r.get(o);
2904
+ let n = t, a = n.get(o);
2905
2905
  if (!a) {
2906
2906
  a = /** @type {!Function} */
2907
- s(o), r.set(o, a);
2907
+ s(o), n.set(o, a);
2908
2908
  let l = Object.create(
2909
2909
  /** @type {!MixinFunction} */
2910
- a.__mixinSet || n || null
2910
+ a.__mixinSet || r || null
2911
2911
  );
2912
2912
  l[e] = !0, a.__mixinSet = l;
2913
2913
  }
@@ -3061,14 +3061,14 @@ function To(s, t) {
3061
3061
  if (!s._styles) {
3062
3062
  const e = [], i = s.content.querySelectorAll("style");
3063
3063
  for (let o = 0; o < i.length; o++) {
3064
- let n = i[o], r = n.getAttribute(da);
3065
- r && e.push(...ca(r).filter(function(a, l, d) {
3064
+ let r = i[o], n = r.getAttribute(da);
3065
+ n && e.push(...ca(n).filter(function(a, l, d) {
3066
3066
  return d.indexOf(a) === l;
3067
- })), t && (n.textContent = Oi(
3068
- n.textContent,
3067
+ })), t && (r.textContent = Oi(
3068
+ r.textContent,
3069
3069
  /** @type {string} */
3070
3070
  t
3071
- )), e.push(n);
3071
+ )), e.push(r);
3072
3072
  }
3073
3073
  s._styles = e;
3074
3074
  }
@@ -3083,12 +3083,12 @@ function So(s) {
3083
3083
  for (let i = 0; i < e.length; i++) {
3084
3084
  let o = e[i];
3085
3085
  if (o.import) {
3086
- const n = o.import, r = o.hasAttribute(gs);
3087
- if (r && !n._unscopedStyle) {
3088
- const a = ys(n);
3089
- a.setAttribute(gs, ""), n._unscopedStyle = a;
3090
- } else n._style || (n._style = ys(n));
3091
- t.push(r ? n._unscopedStyle : n._style);
3086
+ const r = o.import, n = o.hasAttribute(gs);
3087
+ if (n && !r._unscopedStyle) {
3088
+ const a = ys(r);
3089
+ a.setAttribute(gs, ""), r._unscopedStyle = a;
3090
+ } else r._style || (r._style = ys(r));
3091
+ t.push(n ? r._unscopedStyle : r._style);
3092
3092
  }
3093
3093
  }
3094
3094
  return t;
@@ -3122,14 +3122,14 @@ function Ce(s) {
3122
3122
  function Oo(s, t) {
3123
3123
  return s.indexOf(t + ".") === 0;
3124
3124
  }
3125
- function nt(s, t) {
3125
+ function rt(s, t) {
3126
3126
  return t.indexOf(s + ".") === 0;
3127
3127
  }
3128
- function rt(s, t, e) {
3128
+ function nt(s, t, e) {
3129
3129
  return t + e.slice(s.length);
3130
3130
  }
3131
3131
  function pa(s, t) {
3132
- return s === t || Oo(s, t) || nt(s, t);
3132
+ return s === t || Oo(s, t) || rt(s, t);
3133
3133
  }
3134
3134
  function Ke(s) {
3135
3135
  if (Array.isArray(s)) {
@@ -3148,23 +3148,23 @@ function Mo(s) {
3148
3148
  }
3149
3149
  function H(s, t, e) {
3150
3150
  let i = s, o = Mo(t);
3151
- for (let n = 0; n < o.length; n++) {
3151
+ for (let r = 0; r < o.length; r++) {
3152
3152
  if (!i)
3153
3153
  return;
3154
- let r = o[n];
3155
- i = i[r];
3154
+ let n = o[r];
3155
+ i = i[n];
3156
3156
  }
3157
3157
  return e && (e.path = o.join(".")), i;
3158
3158
  }
3159
3159
  function bs(s, t, e) {
3160
- let i = s, o = Mo(t), n = o[o.length - 1];
3160
+ let i = s, o = Mo(t), r = o[o.length - 1];
3161
3161
  if (o.length > 1) {
3162
- for (let r = 0; r < o.length - 1; r++) {
3163
- let a = o[r];
3162
+ for (let n = 0; n < o.length - 1; n++) {
3163
+ let a = o[n];
3164
3164
  if (i = i[a], !i)
3165
3165
  return;
3166
3166
  }
3167
- i[n] = e;
3167
+ i[r] = e;
3168
3168
  } else
3169
3169
  i[t] = e;
3170
3170
  return o.join(".");
@@ -3308,8 +3308,8 @@ const va = Bo, Lo = M(
3308
3308
  */
3309
3309
  static createProperties(i) {
3310
3310
  const o = this.prototype;
3311
- for (let n in i)
3312
- n in o || o._createPropertyAccessor(n);
3311
+ for (let r in i)
3312
+ r in o || o._createPropertyAccessor(r);
3313
3313
  }
3314
3314
  /**
3315
3315
  * Returns an attribute name that corresponds to the given property.
@@ -3384,8 +3384,8 @@ const va = Bo, Lo = M(
3384
3384
  },
3385
3385
  /** @this {PropertiesChanged} */
3386
3386
  set: o ? function() {
3387
- } : function(n) {
3388
- this._setPendingProperty(i, n, !0) && this._invalidateProperties();
3387
+ } : function(r) {
3388
+ this._setPendingProperty(i, r, !0) && this._invalidateProperties();
3389
3389
  }
3390
3390
  /* eslint-enable */
3391
3391
  });
@@ -3479,9 +3479,9 @@ const va = Bo, Lo = M(
3479
3479
  * @protected
3480
3480
  * @override
3481
3481
  */
3482
- _setPendingProperty(i, o, n) {
3483
- let r = this.__data[i], a = this._shouldPropertyChange(i, o, r);
3484
- return a && (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), this.__dataOld && !(i in this.__dataOld) && (this.__dataOld[i] = r), this.__data[i] = o, this.__dataPending[i] = o), a;
3482
+ _setPendingProperty(i, o, r) {
3483
+ let n = this.__data[i], a = this._shouldPropertyChange(i, o, n);
3484
+ return a && (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), this.__dataOld && !(i in this.__dataOld) && (this.__dataOld[i] = n), this.__data[i] = o, this.__dataPending[i] = o), a;
3485
3485
  }
3486
3486
  /* eslint-enable */
3487
3487
  /**
@@ -3531,8 +3531,8 @@ const va = Bo, Lo = M(
3531
3531
  */
3532
3532
  _flushProperties() {
3533
3533
  this.__dataCounter++;
3534
- const i = this.__data, o = this.__dataPending, n = this.__dataOld;
3535
- this._shouldPropertiesChange(i, o, n) && (this.__dataPending = null, this.__dataOld = null, this._propertiesChanged(i, o, n)), this.__dataCounter--;
3534
+ const i = this.__data, o = this.__dataPending, r = this.__dataOld;
3535
+ this._shouldPropertiesChange(i, o, r) && (this.__dataPending = null, this.__dataOld = null, this._propertiesChanged(i, o, r)), this.__dataCounter--;
3536
3536
  }
3537
3537
  /**
3538
3538
  * Called in `_flushProperties` to determine if `_propertiesChanged`
@@ -3547,7 +3547,7 @@ const va = Bo, Lo = M(
3547
3547
  * @return {boolean} true if changedProps is truthy
3548
3548
  * @override
3549
3549
  */
3550
- _shouldPropertiesChange(i, o, n) {
3550
+ _shouldPropertiesChange(i, o, r) {
3551
3551
  return !!o;
3552
3552
  }
3553
3553
  /**
@@ -3563,7 +3563,7 @@ const va = Bo, Lo = M(
3563
3563
  * @protected
3564
3564
  * @override
3565
3565
  */
3566
- _propertiesChanged(i, o, n) {
3566
+ _propertiesChanged(i, o, r) {
3567
3567
  }
3568
3568
  /**
3569
3569
  * Method called to determine whether a property value should be
@@ -3584,11 +3584,11 @@ const va = Bo, Lo = M(
3584
3584
  * @protected
3585
3585
  * @override
3586
3586
  */
3587
- _shouldPropertyChange(i, o, n) {
3587
+ _shouldPropertyChange(i, o, r) {
3588
3588
  return (
3589
3589
  // Strict equality check
3590
- n !== o && // This ensures (old==NaN, value==NaN) always returns false
3591
- (n === n || o === o)
3590
+ r !== o && // This ensures (old==NaN, value==NaN) always returns false
3591
+ (r === r || o === o)
3592
3592
  );
3593
3593
  }
3594
3594
  /**
@@ -3603,8 +3603,8 @@ const va = Bo, Lo = M(
3603
3603
  * @suppress {missingProperties} Super may or may not implement the callback
3604
3604
  * @override
3605
3605
  */
3606
- attributeChangedCallback(i, o, n, r) {
3607
- o !== n && this._attributeToProperty(i, n), super.attributeChangedCallback && super.attributeChangedCallback(i, o, n, r);
3606
+ attributeChangedCallback(i, o, r, n) {
3607
+ o !== r && this._attributeToProperty(i, r), super.attributeChangedCallback && super.attributeChangedCallback(i, o, r, n);
3608
3608
  }
3609
3609
  /**
3610
3610
  * Deserializes an attribute to its associated property.
@@ -3619,10 +3619,10 @@ const va = Bo, Lo = M(
3619
3619
  * @return {void}
3620
3620
  * @override
3621
3621
  */
3622
- _attributeToProperty(i, o, n) {
3622
+ _attributeToProperty(i, o, r) {
3623
3623
  if (!this.__serializing) {
3624
- const r = this.__dataAttributes, a = r && r[i] || i;
3625
- this[a] = this._deserializeValue(o, n || this.constructor.typeForProperty(a));
3624
+ const n = this.__dataAttributes, a = n && n[i] || i;
3625
+ this[a] = this._deserializeValue(o, r || this.constructor.typeForProperty(a));
3626
3626
  }
3627
3627
  }
3628
3628
  /**
@@ -3636,11 +3636,11 @@ const va = Bo, Lo = M(
3636
3636
  * @return {void}
3637
3637
  * @override
3638
3638
  */
3639
- _propertyToAttribute(i, o, n) {
3640
- this.__serializing = !0, n = arguments.length < 3 ? this[i] : n, this._valueToNodeAttribute(
3639
+ _propertyToAttribute(i, o, r) {
3640
+ this.__serializing = !0, r = arguments.length < 3 ? this[i] : r, this._valueToNodeAttribute(
3641
3641
  /** @type {!HTMLElement} */
3642
3642
  this,
3643
- n,
3643
+ r,
3644
3644
  o || this.constructor.attributeNameForProperty(i)
3645
3645
  ), this.__serializing = !1;
3646
3646
  }
@@ -3658,17 +3658,17 @@ const va = Bo, Lo = M(
3658
3658
  * @return {void}
3659
3659
  * @override
3660
3660
  */
3661
- _valueToNodeAttribute(i, o, n) {
3662
- const r = this._serializeValue(o);
3663
- (n === "class" || n === "name" || n === "slot") && (i = /** @type {?Element} */
3664
- L(i)), r === void 0 ? i.removeAttribute(n) : i.setAttribute(
3665
- n,
3661
+ _valueToNodeAttribute(i, o, r) {
3662
+ const n = this._serializeValue(o);
3663
+ (r === "class" || r === "name" || r === "slot") && (i = /** @type {?Element} */
3664
+ L(i)), n === void 0 ? i.removeAttribute(r) : i.setAttribute(
3665
+ r,
3666
3666
  // Closure's type for `setAttribute`'s second parameter incorrectly
3667
3667
  // excludes `TrustedScript`.
3668
- r === "" && window.trustedTypes ? (
3668
+ n === "" && window.trustedTypes ? (
3669
3669
  /** @type {?} */
3670
3670
  window.trustedTypes.emptyScript
3671
- ) : r
3671
+ ) : n
3672
3672
  );
3673
3673
  }
3674
3674
  /**
@@ -3760,8 +3760,8 @@ const Ca = M((s) => {
3760
3760
  /** @type {?} */
3761
3761
  this.observedAttributes
3762
3762
  );
3763
- for (let n = 0; n < o.length; n++)
3764
- this.prototype._createPropertyAccessor(Io(o[n]));
3763
+ for (let r = 0; r < o.length; r++)
3764
+ this.prototype._createPropertyAccessor(Io(o[r]));
3765
3765
  }
3766
3766
  /**
3767
3767
  * Returns an attribute name that corresponds to the given property.
@@ -3802,8 +3802,8 @@ const Ca = M((s) => {
3802
3802
  * @override
3803
3803
  */
3804
3804
  _initializeProtoProperties(o) {
3805
- for (let n in o)
3806
- this._setProperty(n, o[n]);
3805
+ for (let r in o)
3806
+ this._setProperty(r, o[r]);
3807
3807
  }
3808
3808
  /**
3809
3809
  * Ensures the element has the given attribute. If it does not,
@@ -3817,12 +3817,12 @@ const Ca = M((s) => {
3817
3817
  * @return {void}
3818
3818
  * @override
3819
3819
  */
3820
- _ensureAttribute(o, n) {
3821
- const r = (
3820
+ _ensureAttribute(o, r) {
3821
+ const n = (
3822
3822
  /** @type {!HTMLElement} */
3823
3823
  this
3824
3824
  );
3825
- r.hasAttribute(o) || this._valueToNodeAttribute(r, n, o);
3825
+ n.hasAttribute(o) || this._valueToNodeAttribute(n, r, o);
3826
3826
  }
3827
3827
  /**
3828
3828
  * Overrides PropertiesChanged implemention to serialize objects as JSON.
@@ -3845,7 +3845,7 @@ const Ca = M((s) => {
3845
3845
  );
3846
3846
  try {
3847
3847
  return JSON.stringify(o);
3848
- } catch (n) {
3848
+ } catch (r) {
3849
3849
  return "";
3850
3850
  }
3851
3851
  }
@@ -3869,37 +3869,37 @@ const Ca = M((s) => {
3869
3869
  * @return {*} Typed value deserialized from the provided string.
3870
3870
  * @override
3871
3871
  */
3872
- _deserializeValue(o, n) {
3873
- let r;
3874
- switch (n) {
3872
+ _deserializeValue(o, r) {
3873
+ let n;
3874
+ switch (r) {
3875
3875
  case Object:
3876
3876
  try {
3877
- r = JSON.parse(
3877
+ n = JSON.parse(
3878
3878
  /** @type {string} */
3879
3879
  o
3880
3880
  );
3881
3881
  } catch (a) {
3882
- r = o;
3882
+ n = o;
3883
3883
  }
3884
3884
  break;
3885
3885
  case Array:
3886
3886
  try {
3887
- r = JSON.parse(
3887
+ n = JSON.parse(
3888
3888
  /** @type {string} */
3889
3889
  o
3890
3890
  );
3891
3891
  } catch (a) {
3892
- r = null, console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${o}`);
3892
+ n = null, console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${o}`);
3893
3893
  }
3894
3894
  break;
3895
3895
  case Date:
3896
- r = isNaN(o) ? String(o) : Number(o), r = new Date(r);
3896
+ n = isNaN(o) ? String(o) : Number(o), n = new Date(n);
3897
3897
  break;
3898
3898
  default:
3899
- r = super._deserializeValue(o, n);
3899
+ n = super._deserializeValue(o, r);
3900
3900
  break;
3901
3901
  }
3902
- return r;
3902
+ return n;
3903
3903
  }
3904
3904
  /* eslint-enable no-fallthrough */
3905
3905
  /**
@@ -3918,8 +3918,8 @@ const Ca = M((s) => {
3918
3918
  * @return {void}
3919
3919
  * @override
3920
3920
  */
3921
- _definePropertyAccessor(o, n) {
3922
- xa(this, o), super._definePropertyAccessor(o, n);
3921
+ _definePropertyAccessor(o, r) {
3922
+ xa(this, o), super._definePropertyAccessor(o, r);
3923
3923
  }
3924
3924
  /**
3925
3925
  * Returns true if this library created an accessor for the given property.
@@ -4014,8 +4014,8 @@ function Ta(s, t, e, i) {
4014
4014
  }
4015
4015
  function Sa(s, t, e) {
4016
4016
  if (e.events && e.events.length)
4017
- for (let i = 0, o = e.events, n; i < o.length && (n = o[i]); i++)
4018
- s._addMethodEventListenerToNode(t, n.name, n.value, s);
4017
+ for (let i = 0, o = e.events, r; i < o.length && (r = o[i]); i++)
4018
+ s._addMethodEventListenerToNode(t, r.name, r.value, s);
4019
4019
  }
4020
4020
  function Oa(s, t, e, i) {
4021
4021
  e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
@@ -4111,10 +4111,10 @@ const Ia = M(
4111
4111
  */
4112
4112
  static _parseTemplate(i, o) {
4113
4113
  if (!i._templateInfo) {
4114
- let n = i._templateInfo = {};
4115
- n.nodeInfoList = [], n.nestedTemplate = !!o, n.stripWhiteSpace = o && o.stripWhiteSpace || i.hasAttribute && i.hasAttribute("strip-whitespace"), this._parseTemplateContent(
4114
+ let r = i._templateInfo = {};
4115
+ r.nodeInfoList = [], r.nestedTemplate = !!o, r.stripWhiteSpace = o && o.stripWhiteSpace || i.hasAttribute && i.hasAttribute("strip-whitespace"), this._parseTemplateContent(
4116
4116
  i,
4117
- n,
4117
+ r,
4118
4118
  /** @type {?} */
4119
4119
  { parent: null }
4120
4120
  );
@@ -4130,8 +4130,8 @@ const Ia = M(
4130
4130
  * @return {boolean} .
4131
4131
  * @nocollapse
4132
4132
  */
4133
- static _parseTemplateContent(i, o, n) {
4134
- return this._parseTemplateNode(i.content, o, n);
4133
+ static _parseTemplateContent(i, o, r) {
4134
+ return this._parseTemplateNode(i.content, o, r);
4135
4135
  }
4136
4136
  /**
4137
4137
  * Parses template node and adds template and node metadata based on
@@ -4147,12 +4147,12 @@ const Ia = M(
4147
4147
  * metadata to `nodeInfo`
4148
4148
  * @nocollapse
4149
4149
  */
4150
- static _parseTemplateNode(i, o, n) {
4151
- let r = !1, a = (
4150
+ static _parseTemplateNode(i, o, r) {
4151
+ let n = !1, a = (
4152
4152
  /** @type {!HTMLTemplateElement} */
4153
4153
  i
4154
4154
  );
4155
- return a.localName == "template" && !a.hasAttribute("preserve-content") ? r = this._parseTemplateNestedTemplate(a, o, n) || r : a.localName === "slot" && (o.hasInsertionPoint = !0), Pa(a), a.firstChild && this._parseTemplateChildNodes(a, o, n), a.hasAttributes && a.hasAttributes() && (r = this._parseTemplateNodeAttributes(a, o, n) || r), r || n.noted;
4155
+ return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, o, r) || n : a.localName === "slot" && (o.hasInsertionPoint = !0), Pa(a), a.firstChild && this._parseTemplateChildNodes(a, o, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, o, r) || n), n || r.noted;
4156
4156
  }
4157
4157
  /**
4158
4158
  * Parses template child nodes for the given root node.
@@ -4167,23 +4167,23 @@ const Ia = M(
4167
4167
  * @param {!NodeInfo} nodeInfo Node metadata for current template.
4168
4168
  * @return {void}
4169
4169
  */
4170
- static _parseTemplateChildNodes(i, o, n) {
4170
+ static _parseTemplateChildNodes(i, o, r) {
4171
4171
  if (!(i.localName === "script" || i.localName === "style"))
4172
- for (let r = i.firstChild, a = 0, l; r; r = l) {
4173
- if (r.localName == "template" && (r = ka(r)), l = r.nextSibling, r.nodeType === Node.TEXT_NODE) {
4172
+ for (let n = i.firstChild, a = 0, l; n; n = l) {
4173
+ if (n.localName == "template" && (n = ka(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
4174
4174
  let c = l;
4175
4175
  for (; c && c.nodeType === Node.TEXT_NODE; )
4176
- r.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
4177
- if (o.stripWhiteSpace && !r.textContent.trim()) {
4178
- i.removeChild(r);
4176
+ n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
4177
+ if (o.stripWhiteSpace && !n.textContent.trim()) {
4178
+ i.removeChild(n);
4179
4179
  continue;
4180
4180
  }
4181
4181
  }
4182
4182
  let d = (
4183
4183
  /** @type {!NodeInfo} */
4184
- { parentIndex: a, parentInfo: n }
4184
+ { parentIndex: a, parentInfo: r }
4185
4185
  );
4186
- this._parseTemplateNode(r, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), r.parentNode && a++;
4186
+ this._parseTemplateNode(n, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), n.parentNode && a++;
4187
4187
  }
4188
4188
  }
4189
4189
  /**
@@ -4204,12 +4204,12 @@ const Ia = M(
4204
4204
  * metadata to `nodeInfo`
4205
4205
  * @nocollapse
4206
4206
  */
4207
- static _parseTemplateNestedTemplate(i, o, n) {
4208
- let r = (
4207
+ static _parseTemplateNestedTemplate(i, o, r) {
4208
+ let n = (
4209
4209
  /** @type {!HTMLTemplateElement} */
4210
4210
  i
4211
- ), a = this._parseTemplate(r, o);
4212
- return (a.content = r.content.ownerDocument.createDocumentFragment()).appendChild(r.content), n.templateInfo = a, !0;
4211
+ ), a = this._parseTemplate(n, o);
4212
+ return (a.content = n.content.ownerDocument.createDocumentFragment()).appendChild(n.content), r.templateInfo = a, !0;
4213
4213
  }
4214
4214
  /**
4215
4215
  * Parses template node attributes and adds node metadata to `nodeInfo`
@@ -4223,11 +4223,11 @@ const Ia = M(
4223
4223
  * metadata to `nodeInfo`
4224
4224
  * @nocollapse
4225
4225
  */
4226
- static _parseTemplateNodeAttributes(i, o, n) {
4227
- let r = !1, a = Array.from(i.attributes);
4226
+ static _parseTemplateNodeAttributes(i, o, r) {
4227
+ let n = !1, a = Array.from(i.attributes);
4228
4228
  for (let l = a.length - 1, d; d = a[l]; l--)
4229
- r = this._parseTemplateNodeAttribute(i, o, n, d.name, d.value) || r;
4230
- return r;
4229
+ n = this._parseTemplateNodeAttribute(i, o, r, d.name, d.value) || n;
4230
+ return n;
4231
4231
  }
4232
4232
  /**
4233
4233
  * Parses a single template node attribute and adds node metadata to
@@ -4245,11 +4245,11 @@ const Ia = M(
4245
4245
  * metadata to `nodeInfo`
4246
4246
  * @nocollapse
4247
4247
  */
4248
- static _parseTemplateNodeAttribute(i, o, n, r, a) {
4249
- return r.slice(0, 3) === "on-" ? (i.removeAttribute(r), n.events = n.events || [], n.events.push({
4250
- name: r.slice(3),
4248
+ static _parseTemplateNodeAttribute(i, o, r, n, a) {
4249
+ return n.slice(0, 3) === "on-" ? (i.removeAttribute(n), r.events = r.events || [], r.events.push({
4250
+ name: n.slice(3),
4251
4251
  value: a
4252
- }), !0) : r === "id" ? (n.id = a, !0) : !1;
4252
+ }), !0) : n === "id" ? (r.id = a, !0) : !1;
4253
4253
  }
4254
4254
  /**
4255
4255
  * Returns the `content` document fragment for a given template.
@@ -4297,14 +4297,14 @@ const Ia = M(
4297
4297
  */
4298
4298
  _stampTemplate(i, o) {
4299
4299
  i && !i.content && window.HTMLTemplateElement && HTMLTemplateElement.decorate && HTMLTemplateElement.decorate(i), o = o || this.constructor._parseTemplate(i);
4300
- let n = o.nodeInfoList, r = o.content || i.content, a = (
4300
+ let r = o.nodeInfoList, n = o.content || i.content, a = (
4301
4301
  /** @type {DocumentFragment} */
4302
- document.importNode(r, !0)
4302
+ document.importNode(n, !0)
4303
4303
  );
4304
4304
  a.__noInsertionPoint = !o.hasInsertionPoint;
4305
- let l = a.nodeList = new Array(n.length);
4305
+ let l = a.nodeList = new Array(r.length);
4306
4306
  a.$ = {};
4307
- for (let d = 0, c = n.length, u; d < c && (u = n[d]); d++) {
4307
+ for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
4308
4308
  let h = l[d] = Ho(a, u);
4309
4309
  Ta(this, a.$, h, u), Oa(this, h, u, o), Sa(this, h, u);
4310
4310
  }
@@ -4325,9 +4325,9 @@ const Ia = M(
4325
4325
  * @return {Function} Generated handler function
4326
4326
  * @override
4327
4327
  */
4328
- _addMethodEventListenerToNode(i, o, n, r) {
4329
- r = r || i;
4330
- let a = Ma(r, o, n);
4328
+ _addMethodEventListenerToNode(i, o, r, n) {
4329
+ n = n || i;
4330
+ let a = Ma(n, o, r);
4331
4331
  return this._addEventListenerToNode(i, o, a), a;
4332
4332
  }
4333
4333
  /**
@@ -4339,8 +4339,8 @@ const Ia = M(
4339
4339
  * @return {void}
4340
4340
  * @override
4341
4341
  */
4342
- _addEventListenerToNode(i, o, n) {
4343
- i.addEventListener(o, n);
4342
+ _addEventListenerToNode(i, o, r) {
4343
+ i.addEventListener(o, r);
4344
4344
  }
4345
4345
  /**
4346
4346
  * Override point for adding custom or simulated event handling.
@@ -4351,8 +4351,8 @@ const Ia = M(
4351
4351
  * @return {void}
4352
4352
  * @override
4353
4353
  */
4354
- _removeEventListenerFromNode(i, o, n) {
4355
- i.removeEventListener(o, n);
4354
+ _removeEventListenerFromNode(i, o, r) {
4355
+ i.removeEventListener(o, r);
4356
4356
  }
4357
4357
  }
4358
4358
  return t;
@@ -4384,31 +4384,31 @@ function Yt(s, t, e) {
4384
4384
  i = s[t] = {};
4385
4385
  else if (!s.hasOwnProperty(t) && (i = s[t] = Object.create(s[t]), e))
4386
4386
  for (let o in i) {
4387
- let n = i[o], r = i[o] = Array(n.length);
4388
- for (let a = 0; a < n.length; a++)
4389
- r[a] = n[a];
4387
+ let r = i[o], n = i[o] = Array(r.length);
4388
+ for (let a = 0; a < r.length; a++)
4389
+ n[a] = r[a];
4390
4390
  }
4391
4391
  return i;
4392
4392
  }
4393
- function Xe(s, t, e, i, o, n) {
4393
+ function Xe(s, t, e, i, o, r) {
4394
4394
  if (t) {
4395
- let r = !1;
4395
+ let n = !1;
4396
4396
  const a = at++;
4397
4397
  for (let l in e) {
4398
4398
  let d = o ? Ce(l) : l, c = t[d];
4399
4399
  if (c)
4400
4400
  for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
4401
- (!p.info || p.info.lastRun !== a) && (!o || Ni(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(s, l, e, i, p.info, o, n), r = !0);
4401
+ (!p.info || p.info.lastRun !== a) && (!o || Ni(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(s, l, e, i, p.info, o, r), n = !0);
4402
4402
  }
4403
- return r;
4403
+ return n;
4404
4404
  }
4405
4405
  return !1;
4406
4406
  }
4407
- function Fa(s, t, e, i, o, n, r, a) {
4408
- let l = !1, d = r ? Ce(i) : i, c = t[d];
4407
+ function Fa(s, t, e, i, o, r, n, a) {
4408
+ let l = !1, d = n ? Ce(i) : i, c = t[d];
4409
4409
  if (c)
4410
4410
  for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
4411
- (!p.info || p.info.lastRun !== e) && (!r || Ni(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(s, i, o, n, p.info, r, a), l = !0);
4411
+ (!p.info || p.info.lastRun !== e) && (!n || Ni(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(s, i, o, r, p.info, n, a), l = !0);
4412
4412
  return l;
4413
4413
  }
4414
4414
  function Ni(s, t) {
@@ -4417,20 +4417,20 @@ function Ni(s, t) {
4417
4417
  /** @type {string} */
4418
4418
  t.name
4419
4419
  );
4420
- return e == s || !!(t.structured && Oo(e, s)) || !!(t.wildcard && nt(e, s));
4420
+ return e == s || !!(t.structured && Oo(e, s)) || !!(t.wildcard && rt(e, s));
4421
4421
  } else
4422
4422
  return !0;
4423
4423
  }
4424
4424
  function xs(s, t, e, i, o) {
4425
- let n = typeof o.method == "string" ? s[o.method] : o.method, r = o.property;
4426
- n ? n.call(s, s.__data[r], i[r]) : o.dynamicFn || console.warn("observer method `" + o.method + "` not defined");
4425
+ let r = typeof o.method == "string" ? s[o.method] : o.method, n = o.property;
4426
+ r ? r.call(s, s.__data[n], i[n]) : o.dynamicFn || console.warn("observer method `" + o.method + "` not defined");
4427
4427
  }
4428
4428
  function Ba(s, t, e, i, o) {
4429
- let n = s[E.NOTIFY], r, a = at++;
4429
+ let r = s[E.NOTIFY], n, a = at++;
4430
4430
  for (let d in t)
4431
- t[d] && (n && Fa(s, n, a, d, e, i, o) || o && La(s, d, e)) && (r = !0);
4431
+ t[d] && (r && Fa(s, r, a, d, e, i, o) || o && La(s, d, e)) && (n = !0);
4432
4432
  let l;
4433
- r && (l = s.__dataHost) && l._invalidateProperties && l._invalidateProperties();
4433
+ n && (l = s.__dataHost) && l._invalidateProperties && l._invalidateProperties();
4434
4434
  }
4435
4435
  function La(s, t, e) {
4436
4436
  let i = Ce(t);
@@ -4450,38 +4450,38 @@ function $o(s, t, e, i) {
4450
4450
  s
4451
4451
  ).dispatchEvent(new CustomEvent(t, { detail: o }));
4452
4452
  }
4453
- function za(s, t, e, i, o, n) {
4454
- let a = (n ? Ce(t) : t) != t ? t : null, l = a ? H(s, a) : s.__data[t];
4453
+ function za(s, t, e, i, o, r) {
4454
+ let a = (r ? Ce(t) : t) != t ? t : null, l = a ? H(s, a) : s.__data[t];
4455
4455
  a && l === void 0 && (l = e[t]), $o(s, o.eventName, l, a);
4456
4456
  }
4457
4457
  function Ha(s, t, e, i, o) {
4458
- let n, r = (
4458
+ let r, n = (
4459
4459
  /** @type {Object} */
4460
4460
  s.detail
4461
- ), a = r && r.path;
4462
- a ? (i = rt(e, i, a), n = r && r.value) : n = s.currentTarget[e], n = o ? !n : n, (!t[E.READ_ONLY] || !t[E.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, n, !0, !!a) && (!r || !r.queueProperty) && t._invalidateProperties();
4461
+ ), a = n && n.path;
4462
+ a ? (i = nt(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();
4463
4463
  }
4464
4464
  function Ra(s, t, e, i, o) {
4465
- let n = s.__data[t];
4466
- At && (n = At(
4467
- n,
4465
+ let r = s.__data[t];
4466
+ At && (r = At(
4467
+ r,
4468
4468
  o.attrName,
4469
4469
  "attribute",
4470
4470
  /** @type {Node} */
4471
4471
  s
4472
- )), s._propertyToAttribute(t, o.attrName, n);
4472
+ )), s._propertyToAttribute(t, o.attrName, r);
4473
4473
  }
4474
4474
  function $a(s, t, e, i) {
4475
4475
  let o = s[E.COMPUTE];
4476
4476
  if (o)
4477
4477
  if (sa) {
4478
4478
  at++;
4479
- const n = Ya(s), r = [];
4479
+ const r = Ya(s), n = [];
4480
4480
  for (let l in t)
4481
- Cs(l, o, r, n, i);
4481
+ Cs(l, o, n, r, i);
4482
4482
  let a;
4483
- for (; a = r.shift(); )
4484
- Vo(s, "", t, e, a) && Cs(a.methodInfo, o, r, n, i);
4483
+ for (; a = n.shift(); )
4484
+ Vo(s, "", t, e, a) && Cs(a.methodInfo, o, n, r, i);
4485
4485
  Object.assign(
4486
4486
  /** @type {!Object} */
4487
4487
  e,
@@ -4492,8 +4492,8 @@ function $a(s, t, e, i) {
4492
4492
  s.__dataPending
4493
4493
  ), s.__dataPending = null;
4494
4494
  } else {
4495
- let n = t;
4496
- for (; Xe(s, o, n, e, i); )
4495
+ let r = t;
4496
+ for (; Xe(s, o, r, e, i); )
4497
4497
  Object.assign(
4498
4498
  /** @type {!Object} */
4499
4499
  e,
@@ -4502,28 +4502,28 @@ function $a(s, t, e, i) {
4502
4502
  /** @type {!Object} */
4503
4503
  t,
4504
4504
  s.__dataPending
4505
- ), n = s.__dataPending, s.__dataPending = null;
4505
+ ), r = s.__dataPending, s.__dataPending = null;
4506
4506
  }
4507
4507
  }
4508
4508
  const Va = (s, t, e) => {
4509
- let i = 0, o = t.length - 1, n = -1;
4509
+ let i = 0, o = t.length - 1, r = -1;
4510
4510
  for (; i <= o; ) {
4511
- const r = i + o >> 1, a = e.get(t[r].methodInfo) - e.get(s.methodInfo);
4511
+ const n = i + o >> 1, a = e.get(t[n].methodInfo) - e.get(s.methodInfo);
4512
4512
  if (a < 0)
4513
- i = r + 1;
4513
+ i = n + 1;
4514
4514
  else if (a > 0)
4515
- o = r - 1;
4515
+ o = n - 1;
4516
4516
  else {
4517
- n = r;
4517
+ r = n;
4518
4518
  break;
4519
4519
  }
4520
4520
  }
4521
- n < 0 && (n = o + 1), t.splice(n, 0, s);
4521
+ r < 0 && (r = o + 1), t.splice(r, 0, s);
4522
4522
  }, Cs = (s, t, e, i, o) => {
4523
- const n = o ? Ce(s) : s, r = t[n];
4524
- if (r)
4525
- for (let a = 0; a < r.length; a++) {
4526
- const l = r[a];
4523
+ const r = o ? Ce(s) : s, n = t[r];
4524
+ if (n)
4525
+ for (let a = 0; a < n.length; a++) {
4526
+ const l = n[a];
4527
4527
  l.info.lastRun !== at && (!o || Ni(s, l.trigger)) && (l.info.lastRun = at, Va(l.info, e, i));
4528
4528
  }
4529
4529
  };
@@ -4532,51 +4532,51 @@ function Ya(s) {
4532
4532
  if (!t) {
4533
4533
  t = /* @__PURE__ */ new Map();
4534
4534
  const e = s[E.COMPUTE];
4535
- let { counts: i, ready: o, total: n } = Ua(s), r;
4536
- for (; r = o.shift(); ) {
4537
- t.set(r, t.size);
4538
- const a = e[r];
4535
+ let { counts: i, ready: o, total: r } = Ua(s), n;
4536
+ for (; n = o.shift(); ) {
4537
+ t.set(n, t.size);
4538
+ const a = e[n];
4539
4539
  a && a.forEach((l) => {
4540
4540
  const d = l.info.methodInfo;
4541
- --n, --i[d] === 0 && o.push(d);
4541
+ --r, --i[d] === 0 && o.push(d);
4542
4542
  });
4543
4543
  }
4544
- n !== 0 && console.warn(`Computed graph for ${/** @type {HTMLElement} */
4544
+ r !== 0 && console.warn(`Computed graph for ${/** @type {HTMLElement} */
4545
4545
  s.localName} incomplete; circular?`), s.constructor.__orderedComputedDeps = t;
4546
4546
  }
4547
4547
  return t;
4548
4548
  }
4549
4549
  function Ua(s) {
4550
4550
  const t = s[Ro], e = {}, i = s[E.COMPUTE], o = [];
4551
- let n = 0;
4552
- for (let r in t) {
4553
- const a = t[r];
4554
- n += e[r] = a.args.filter((l) => !l.literal).length + (a.dynamicFn ? 1 : 0);
4551
+ let r = 0;
4552
+ for (let n in t) {
4553
+ const a = t[n];
4554
+ r += e[n] = a.args.filter((l) => !l.literal).length + (a.dynamicFn ? 1 : 0);
4555
4555
  }
4556
- for (let r in i)
4557
- t[r] || o.push(r);
4558
- return { counts: e, ready: o, total: n };
4556
+ for (let n in i)
4557
+ t[n] || o.push(n);
4558
+ return { counts: e, ready: o, total: r };
4559
4559
  }
4560
4560
  function Vo(s, t, e, i, o) {
4561
- let n = di(s, t, e, i, o);
4562
- if (n === lt)
4561
+ let r = di(s, t, e, i, o);
4562
+ if (r === lt)
4563
4563
  return !1;
4564
- let r = o.methodInfo;
4565
- return s.__dataHasAccessor && s.__dataHasAccessor[r] ? s._setPendingProperty(r, n, !0) : (s[r] = n, !1);
4564
+ let n = o.methodInfo;
4565
+ return s.__dataHasAccessor && s.__dataHasAccessor[n] ? s._setPendingProperty(n, r, !0) : (s[n] = r, !1);
4566
4566
  }
4567
4567
  function Wa(s, t, e) {
4568
4568
  let i = s.__dataLinkedPaths;
4569
4569
  if (i) {
4570
4570
  let o;
4571
- for (let n in i) {
4572
- let r = i[n];
4573
- nt(n, t) ? (o = rt(n, r, t), s._setPendingPropertyOrPath(o, e, !0, !0)) : nt(r, t) && (o = rt(r, n, t), s._setPendingPropertyOrPath(o, e, !0, !0));
4571
+ for (let r in i) {
4572
+ let n = i[r];
4573
+ rt(r, t) ? (o = nt(r, n, t), s._setPendingPropertyOrPath(o, e, !0, !0)) : rt(n, t) && (o = nt(n, r, t), s._setPendingPropertyOrPath(o, e, !0, !0));
4574
4574
  }
4575
4575
  }
4576
4576
  }
4577
- function Ut(s, t, e, i, o, n, r) {
4577
+ function Ut(s, t, e, i, o, r, n) {
4578
4578
  e.bindings = e.bindings || [];
4579
- let a = { kind: i, target: o, parts: n, literal: r, isCompound: n.length !== 1 };
4579
+ let a = { kind: i, target: o, parts: r, literal: n, isCompound: r.length !== 1 };
4580
4580
  if (e.bindings.push(a), Xa(a)) {
4581
4581
  let { event: d, negate: c } = a.parts[0];
4582
4582
  a.listenerEvent = d || Ot(o) + "-changed", a.listenerNegate = c;
@@ -4592,24 +4592,24 @@ function ja(s, t, e, i, o) {
4592
4592
  if (e.kind === "attribute" && e.target[0] === "-")
4593
4593
  console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
4594
4594
  else {
4595
- let n = i.dependencies, r = { index: o, binding: e, part: i, evaluator: s };
4596
- for (let a = 0; a < n.length; a++) {
4597
- let l = n[a];
4595
+ let r = i.dependencies, n = { index: o, binding: e, part: i, evaluator: s };
4596
+ for (let a = 0; a < r.length; a++) {
4597
+ let l = r[a];
4598
4598
  typeof l == "string" && (l = Uo(l), l.wildcard = !0), s._addTemplatePropertyEffect(t, l.rootProperty, {
4599
4599
  fn: qa,
4600
- info: r,
4600
+ info: n,
4601
4601
  trigger: l
4602
4602
  });
4603
4603
  }
4604
4604
  }
4605
4605
  }
4606
- function qa(s, t, e, i, o, n, r) {
4607
- let a = r[o.index], l = o.binding, d = o.part;
4608
- if (n && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
4606
+ function qa(s, t, e, i, o, r, n) {
4607
+ let a = n[o.index], l = o.binding, d = o.part;
4608
+ if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
4609
4609
  let c = e[t];
4610
- t = rt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && s._enqueueClient(a);
4610
+ t = nt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && s._enqueueClient(a);
4611
4611
  } else {
4612
- let c = o.evaluator._evaluateBinding(s, d, t, e, i, n);
4612
+ let c = o.evaluator._evaluateBinding(s, d, t, e, i, r);
4613
4613
  c !== lt && Ga(s, a, l, d, c);
4614
4614
  }
4615
4615
  }
@@ -4622,8 +4622,8 @@ function Ga(s, t, e, i, o) {
4622
4622
  e.target
4623
4623
  );
4624
4624
  else {
4625
- let n = e.target;
4626
- t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[n] ? (!t[E.READ_ONLY] || !t[E.READ_ONLY][n]) && t._setPendingProperty(n, o) && s._enqueueClient(t) : s._setUnmanagedPropertyToNode(t, n, o);
4625
+ let r = e.target;
4626
+ 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);
4627
4627
  }
4628
4628
  }
4629
4629
  function Ka(s, t, e, i) {
@@ -4640,22 +4640,22 @@ function Ja(s, t) {
4640
4640
  let { nodeList: e, nodeInfoList: i } = t;
4641
4641
  if (i.length)
4642
4642
  for (let o = 0; o < i.length; o++) {
4643
- let n = i[o], r = e[o], a = n.bindings;
4643
+ let r = i[o], n = e[o], a = r.bindings;
4644
4644
  if (a)
4645
4645
  for (let l = 0; l < a.length; l++) {
4646
4646
  let d = a[l];
4647
- Qa(r, d), Za(r, s, d);
4647
+ Qa(n, d), Za(n, s, d);
4648
4648
  }
4649
- r.__dataHost = s;
4649
+ n.__dataHost = s;
4650
4650
  }
4651
4651
  }
4652
4652
  function Qa(s, t) {
4653
4653
  if (t.isCompound) {
4654
4654
  let e = s.__dataCompoundStorage || (s.__dataCompoundStorage = {}), i = t.parts, o = new Array(i.length);
4655
- for (let r = 0; r < i.length; r++)
4656
- o[r] = i[r].literal;
4657
- let n = t.target;
4658
- e[n] = o, t.literal && t.kind == "property" && (n === "className" && (s = L(s)), s[n] = t.literal);
4655
+ for (let n = 0; n < i.length; n++)
4656
+ o[n] = i[n].literal;
4657
+ let r = t.target;
4658
+ e[r] = o, t.literal && t.kind == "property" && (r === "className" && (s = L(s)), s[r] = t.literal);
4659
4659
  }
4660
4660
  }
4661
4661
  function Za(s, t, e) {
@@ -4666,33 +4666,33 @@ function Za(s, t, e) {
4666
4666
  });
4667
4667
  }
4668
4668
  }
4669
- function As(s, t, e, i, o, n) {
4670
- n = t.static || n && (typeof n != "object" || n[t.methodName]);
4671
- let r = {
4669
+ function As(s, t, e, i, o, r) {
4670
+ r = t.static || r && (typeof r != "object" || r[t.methodName]);
4671
+ let n = {
4672
4672
  methodName: t.methodName,
4673
4673
  args: t.args,
4674
4674
  methodInfo: o,
4675
- dynamicFn: n
4675
+ dynamicFn: r
4676
4676
  };
4677
4677
  for (let a = 0, l; a < t.args.length && (l = t.args[a]); a++)
4678
4678
  l.literal || s._addPropertyEffect(l.rootProperty, e, {
4679
4679
  fn: i,
4680
- info: r,
4680
+ info: n,
4681
4681
  trigger: l
4682
4682
  });
4683
- return n && s._addPropertyEffect(t.methodName, e, {
4683
+ return r && s._addPropertyEffect(t.methodName, e, {
4684
4684
  fn: i,
4685
- info: r
4686
- }), r;
4685
+ info: n
4686
+ }), n;
4687
4687
  }
4688
4688
  function di(s, t, e, i, o) {
4689
- let n = s._methodHost || s, r = n[o.methodName];
4690
- if (r) {
4689
+ let r = s._methodHost || s, n = r[o.methodName];
4690
+ if (n) {
4691
4691
  let a = s._marshalArgs(o.args, t, e);
4692
- return a === lt ? lt : r.apply(n, a);
4692
+ return a === lt ? lt : n.apply(r, a);
4693
4693
  } else o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
4694
4694
  }
4695
- const el = [], Yo = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", tl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", il = "(?:'(?:[^'\\\\]|\\\\.)*')", sl = '(?:"(?:[^"\\\\]|\\\\.)*")', ol = "(?:" + il + "|" + sl + ")", Es = "(?:(" + Yo + "|" + tl + "|" + ol + ")\\s*)", nl = "(?:" + Es + "(?:,\\s*" + Es + ")*)", rl = "(?:\\(\\s*(?:" + nl + "?)\\)\\s*)", al = "(" + Yo + "\\s*" + rl + "?)", ll = "(\\[\\[|{{)\\s*", dl = "(?:]]|}})", cl = "(?:(!)\\s*)?", ul = ll + cl + al + dl, Ps = new RegExp(ul, "g");
4695
+ const el = [], Yo = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", tl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", il = "(?:'(?:[^'\\\\]|\\\\.)*')", sl = '(?:"(?:[^"\\\\]|\\\\.)*")', ol = "(?:" + il + "|" + sl + ")", Es = "(?:(" + Yo + "|" + tl + "|" + ol + ")\\s*)", rl = "(?:" + Es + "(?:,\\s*" + Es + ")*)", nl = "(?:\\(\\s*(?:" + rl + "?)\\)\\s*)", al = "(" + Yo + "\\s*" + nl + "?)", ll = "(\\[\\[|{{)\\s*", dl = "(?:]]|}})", cl = "(?:(!)\\s*)?", ul = ll + cl + al + dl, Ps = new RegExp(ul, "g");
4696
4696
  function Ds(s) {
4697
4697
  let t = "";
4698
4698
  for (let e = 0; e < s.length; e++) {
@@ -4742,13 +4742,13 @@ function ks(s, t, e) {
4742
4742
  }
4743
4743
  function Wo(s, t, e, i) {
4744
4744
  const o = { indexSplices: i };
4745
- ri && !s._overrideLegacyUndefined && (t.splices = o), s.notifyPath(e + ".splices", o), s.notifyPath(e + ".length", t.length), ri && !s._overrideLegacyUndefined && (o.indexSplices = []);
4745
+ ni && !s._overrideLegacyUndefined && (t.splices = o), s.notifyPath(e + ".splices", o), s.notifyPath(e + ".length", t.length), ni && !s._overrideLegacyUndefined && (o.indexSplices = []);
4746
4746
  }
4747
- function je(s, t, e, i, o, n) {
4747
+ function je(s, t, e, i, o, r) {
4748
4748
  Wo(s, t, e, [{
4749
4749
  index: i,
4750
4750
  addedCount: o,
4751
- removed: n,
4751
+ removed: r,
4752
4752
  object: t,
4753
4753
  type: "splice"
4754
4754
  }]);
@@ -4799,9 +4799,9 @@ const Fi = M((s) => {
4799
4799
  * @return {void}
4800
4800
  */
4801
4801
  _initializeInstanceProperties(o) {
4802
- let n = this[E.READ_ONLY];
4803
- for (let r in o)
4804
- (!n || !n[r]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[r] = this.__dataPending[r] = o[r]);
4802
+ let r = this[E.READ_ONLY];
4803
+ for (let n in o)
4804
+ (!r || !r[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = o[n]);
4805
4805
  }
4806
4806
  // Prototype setup ----------------------------------------
4807
4807
  /**
@@ -4816,10 +4816,10 @@ const Fi = M((s) => {
4816
4816
  * @return {void}
4817
4817
  * @protected
4818
4818
  */
4819
- _addPropertyEffect(o, n, r) {
4820
- this._createPropertyAccessor(o, n == E.READ_ONLY);
4821
- let a = Yt(this, n, !0)[o];
4822
- a || (a = this[n][o] = []), a.push(r);
4819
+ _addPropertyEffect(o, r, n) {
4820
+ this._createPropertyAccessor(o, r == E.READ_ONLY);
4821
+ let a = Yt(this, r, !0)[o];
4822
+ a || (a = this[r][o] = []), a.push(n);
4823
4823
  }
4824
4824
  /**
4825
4825
  * Removes the given property effect.
@@ -4830,8 +4830,8 @@ const Fi = M((s) => {
4830
4830
  * @param {Object=} effect Effect metadata object to remove
4831
4831
  * @return {void}
4832
4832
  */
4833
- _removePropertyEffect(o, n, r) {
4834
- let a = Yt(this, n, !0)[o], l = a.indexOf(r);
4833
+ _removePropertyEffect(o, r, n) {
4834
+ let a = Yt(this, r, !0)[o], l = a.indexOf(n);
4835
4835
  l >= 0 && a.splice(l, 1);
4836
4836
  }
4837
4837
  /**
@@ -4845,9 +4845,9 @@ const Fi = M((s) => {
4845
4845
  * type
4846
4846
  * @protected
4847
4847
  */
4848
- _hasPropertyEffect(o, n) {
4849
- let r = this[n];
4850
- return !!(r && r[o]);
4848
+ _hasPropertyEffect(o, r) {
4849
+ let n = this[r];
4850
+ return !!(n && n[o]);
4851
4851
  }
4852
4852
  /**
4853
4853
  * Returns whether the current prototype/instance has a "read only"
@@ -4931,35 +4931,35 @@ const Fi = M((s) => {
4931
4931
  * the pending changes bag.
4932
4932
  * @protected
4933
4933
  */
4934
- _setPendingPropertyOrPath(o, n, r, a) {
4934
+ _setPendingPropertyOrPath(o, r, n, a) {
4935
4935
  if (a || Ce(Array.isArray(o) ? o[0] : o) !== o) {
4936
4936
  if (!a) {
4937
4937
  let l = H(this, o);
4938
4938
  if (o = /** @type {string} */
4939
- bs(this, o, n), !o || !super._shouldPropertyChange(o, n, l))
4939
+ bs(this, o, r), !o || !super._shouldPropertyChange(o, r, l))
4940
4940
  return !1;
4941
4941
  }
4942
4942
  if (this.__dataHasPaths = !0, this._setPendingProperty(
4943
4943
  /**@type{string}*/
4944
4944
  o,
4945
- n,
4946
- r
4945
+ r,
4946
+ n
4947
4947
  ))
4948
4948
  return Wa(
4949
4949
  this,
4950
4950
  /**@type{string}*/
4951
4951
  o,
4952
- n
4952
+ r
4953
4953
  ), !0;
4954
4954
  } else {
4955
4955
  if (this.__dataHasAccessor && this.__dataHasAccessor[o])
4956
4956
  return this._setPendingProperty(
4957
4957
  /**@type{string}*/
4958
4958
  o,
4959
- n,
4960
- r
4959
+ r,
4960
+ n
4961
4961
  );
4962
- this[o] = n;
4962
+ this[o] = r;
4963
4963
  }
4964
4964
  return !1;
4965
4965
  }
@@ -4985,9 +4985,9 @@ const Fi = M((s) => {
4985
4985
  * @return {void}
4986
4986
  * @protected
4987
4987
  */
4988
- _setUnmanagedPropertyToNode(o, n, r) {
4989
- (r !== o[n] || typeof r == "object") && (n === "className" && (o = /** @type {!Node} */
4990
- L(o)), o[n] = r);
4988
+ _setUnmanagedPropertyToNode(o, r, n) {
4989
+ (n !== o[r] || typeof n == "object") && (r === "className" && (o = /** @type {!Node} */
4990
+ L(o)), o[r] = n);
4991
4991
  }
4992
4992
  /**
4993
4993
  * Overrides the `PropertiesChanged` implementation to introduce special
@@ -5024,9 +5024,9 @@ const Fi = M((s) => {
5024
5024
  * event (applies only for `notify: true` properties)
5025
5025
  * @return {boolean} Returns true if the property changed
5026
5026
  */
5027
- _setPendingProperty(o, n, r) {
5027
+ _setPendingProperty(o, r, n) {
5028
5028
  let a = this.__dataHasPaths && ai(o), l = a ? this.__dataTemp : this.__data;
5029
- return this._shouldPropertyChange(o, n, l[o]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), o in this.__dataOld || (this.__dataOld[o] = this.__data[o]), a ? this.__dataTemp[o] = n : this.__data[o] = n, this.__dataPending[o] = n, (a || this[E.NOTIFY] && this[E.NOTIFY][o]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[o] = r), !0) : !1;
5029
+ return this._shouldPropertyChange(o, r, l[o]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), o in this.__dataOld || (this.__dataOld[o] = this.__data[o]), a ? this.__dataTemp[o] = r : this.__data[o] = r, this.__dataPending[o] = r, (a || this[E.NOTIFY] && this[E.NOTIFY][o]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[o] = n), !0) : !1;
5030
5030
  }
5031
5031
  /**
5032
5032
  * Overrides base implementation to ensure all accessors set `shouldNotify`
@@ -5037,8 +5037,8 @@ const Fi = M((s) => {
5037
5037
  * @param {*} value Value to set
5038
5038
  * @return {void}
5039
5039
  */
5040
- _setProperty(o, n) {
5041
- this._setPendingProperty(o, n, !0) && this._invalidateProperties();
5040
+ _setProperty(o, r) {
5041
+ this._setPendingProperty(o, r, !0) && this._invalidateProperties();
5042
5042
  }
5043
5043
  /**
5044
5044
  * Overrides `PropertyAccessor`'s default async queuing of
@@ -5092,9 +5092,9 @@ const Fi = M((s) => {
5092
5092
  let o = this.__dataPendingClients;
5093
5093
  if (o) {
5094
5094
  this.__dataPendingClients = null;
5095
- for (let n = 0; n < o.length; n++) {
5096
- let r = o[n];
5097
- r.__dataEnabled ? r.__dataPending && r._flushProperties() : r._enableProperties();
5095
+ for (let r = 0; r < o.length; r++) {
5096
+ let n = o[r];
5097
+ n.__dataEnabled ? n.__dataPending && n._flushProperties() : n._enableProperties();
5098
5098
  }
5099
5099
  }
5100
5100
  }
@@ -5126,9 +5126,9 @@ const Fi = M((s) => {
5126
5126
  * @return {void}
5127
5127
  * @public
5128
5128
  */
5129
- setProperties(o, n) {
5130
- for (let r in o)
5131
- (n || !this[E.READ_ONLY] || !this[E.READ_ONLY][r]) && this._setPendingPropertyOrPath(r, o[r], !0);
5129
+ setProperties(o, r) {
5130
+ for (let n in o)
5131
+ (r || !this[E.READ_ONLY] || !this[E.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, o[n], !0);
5132
5132
  this._invalidateProperties();
5133
5133
  }
5134
5134
  /**
@@ -5157,11 +5157,11 @@ const Fi = M((s) => {
5157
5157
  * in `changedProps`
5158
5158
  * @return {void}
5159
5159
  */
5160
- _propertiesChanged(o, n, r) {
5160
+ _propertiesChanged(o, r, n) {
5161
5161
  let a = this.__dataHasPaths;
5162
5162
  this.__dataHasPaths = !1;
5163
5163
  let l;
5164
- $a(this, n, r, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(n, r, a), this._flushClients(), Xe(this, this[E.REFLECT], n, r, a), Xe(this, this[E.OBSERVE], n, r, a), l && Ba(this, l, n, r, a), this.__dataCounter == 1 && (this.__dataTemp = {});
5164
+ $a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Xe(this, this[E.REFLECT], r, n, a), Xe(this, this[E.OBSERVE], r, n, a), l && Ba(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
5165
5165
  }
5166
5166
  /**
5167
5167
  * Called to propagate any property changes to stamped template nodes
@@ -5174,23 +5174,23 @@ const Fi = M((s) => {
5174
5174
  * @return {void}
5175
5175
  * @protected
5176
5176
  */
5177
- _propagatePropertyChanges(o, n, r) {
5178
- this[E.PROPAGATE] && Xe(this, this[E.PROPAGATE], o, n, r), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, o, n, r);
5177
+ _propagatePropertyChanges(o, r, n) {
5178
+ this[E.PROPAGATE] && Xe(this, this[E.PROPAGATE], o, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, o, r, n);
5179
5179
  }
5180
- _runEffectsForTemplate(o, n, r, a) {
5180
+ _runEffectsForTemplate(o, r, n, a) {
5181
5181
  const l = (d, c) => {
5182
5182
  Xe(
5183
5183
  this,
5184
5184
  o.propertyEffects,
5185
5185
  d,
5186
- r,
5186
+ n,
5187
5187
  c,
5188
5188
  o.nodeList
5189
5189
  );
5190
5190
  for (let u = o.firstChild; u; u = u.nextSibling)
5191
- this._runEffectsForTemplate(u, d, r, c);
5191
+ this._runEffectsForTemplate(u, d, n, c);
5192
5192
  };
5193
- o.runEffects ? o.runEffects(l, n, a) : l(n, a);
5193
+ o.runEffects ? o.runEffects(l, r, a) : l(r, a);
5194
5194
  }
5195
5195
  /**
5196
5196
  * Aliases one data path as another, such that path notifications from one
@@ -5202,8 +5202,8 @@ const Fi = M((s) => {
5202
5202
  * @return {void}
5203
5203
  * @public
5204
5204
  */
5205
- linkPaths(o, n) {
5206
- o = Ke(o), n = Ke(n), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[o] = n;
5205
+ linkPaths(o, r) {
5206
+ o = Ke(o), r = Ke(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[o] = r;
5207
5207
  }
5208
5208
  /**
5209
5209
  * Removes a data path alias previously established with `_linkPaths`.
@@ -5253,12 +5253,12 @@ const Fi = M((s) => {
5253
5253
  * @return {void}
5254
5254
  * @public
5255
5255
  */
5256
- notifySplices(o, n) {
5257
- let r = { path: "" }, a = (
5256
+ notifySplices(o, r) {
5257
+ let n = { path: "" }, a = (
5258
5258
  /** @type {Array} */
5259
- H(this, o, r)
5259
+ H(this, o, n)
5260
5260
  );
5261
- Wo(this, a, r.path, n);
5261
+ Wo(this, a, n.path, r);
5262
5262
  }
5263
5263
  /**
5264
5264
  * Convenience method for reading a value from a path.
@@ -5280,8 +5280,8 @@ const Fi = M((s) => {
5280
5280
  * is undefined.
5281
5281
  * @public
5282
5282
  */
5283
- get(o, n) {
5284
- return H(n || this, o);
5283
+ get(o, r) {
5284
+ return H(r || this, o);
5285
5285
  }
5286
5286
  /**
5287
5287
  * Convenience method for setting a value to a path and notifying any
@@ -5305,11 +5305,11 @@ const Fi = M((s) => {
5305
5305
  * @return {void}
5306
5306
  * @public
5307
5307
  */
5308
- set(o, n, r) {
5309
- r ? bs(r, o, n) : (!this[E.READ_ONLY] || !this[E.READ_ONLY][
5308
+ set(o, r, n) {
5309
+ n ? bs(n, o, r) : (!this[E.READ_ONLY] || !this[E.READ_ONLY][
5310
5310
  /** @type {string} */
5311
5311
  o
5312
- ]) && this._setPendingPropertyOrPath(o, n, !0) && this._invalidateProperties();
5312
+ ]) && this._setPendingPropertyOrPath(o, r, !0) && this._invalidateProperties();
5313
5313
  }
5314
5314
  /**
5315
5315
  * Adds items onto the end of the array at the path specified.
@@ -5326,12 +5326,12 @@ const Fi = M((s) => {
5326
5326
  * @return {number} New length of the array.
5327
5327
  * @public
5328
5328
  */
5329
- push(o, ...n) {
5330
- let r = { path: "" }, a = (
5329
+ push(o, ...r) {
5330
+ let n = { path: "" }, a = (
5331
5331
  /** @type {Array}*/
5332
- H(this, o, r)
5333
- ), l = a.length, d = a.push(...n);
5334
- return n.length && je(this, a, r.path, l, n.length, []), d;
5332
+ H(this, o, n)
5333
+ ), l = a.length, d = a.push(...r);
5334
+ return r.length && je(this, a, n.path, l, r.length, []), d;
5335
5335
  }
5336
5336
  /**
5337
5337
  * Removes an item from the end of array at the path specified.
@@ -5348,11 +5348,11 @@ const Fi = M((s) => {
5348
5348
  * @public
5349
5349
  */
5350
5350
  pop(o) {
5351
- let n = { path: "" }, r = (
5351
+ let r = { path: "" }, n = (
5352
5352
  /** @type {Array} */
5353
- H(this, o, n)
5354
- ), a = !!r.length, l = r.pop();
5355
- return a && je(this, r, n.path, r.length, 0, [l]), l;
5353
+ H(this, o, r)
5354
+ ), a = !!n.length, l = n.pop();
5355
+ return a && je(this, n, r.path, n.length, 0, [l]), l;
5356
5356
  }
5357
5357
  /**
5358
5358
  * Starting from the start index specified, removes 0 or more items
@@ -5372,14 +5372,14 @@ const Fi = M((s) => {
5372
5372
  * @return {!Array} Array of removed items.
5373
5373
  * @public
5374
5374
  */
5375
- splice(o, n, r, ...a) {
5375
+ splice(o, r, n, ...a) {
5376
5376
  let l = { path: "" }, d = (
5377
5377
  /** @type {Array} */
5378
5378
  H(this, o, l)
5379
5379
  );
5380
- n < 0 ? n = d.length - Math.floor(-n) : n && (n = Math.floor(n));
5380
+ r < 0 ? r = d.length - Math.floor(-r) : r && (r = Math.floor(r));
5381
5381
  let c;
5382
- return arguments.length === 2 ? c = d.splice(n) : c = d.splice(n, r, ...a), (a.length || c.length) && je(this, d, l.path, n, a.length, c), c;
5382
+ return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) && je(this, d, l.path, r, a.length, c), c;
5383
5383
  }
5384
5384
  /**
5385
5385
  * Removes an item from the beginning of array at the path specified.
@@ -5396,11 +5396,11 @@ const Fi = M((s) => {
5396
5396
  * @public
5397
5397
  */
5398
5398
  shift(o) {
5399
- let n = { path: "" }, r = (
5399
+ let r = { path: "" }, n = (
5400
5400
  /** @type {Array} */
5401
- H(this, o, n)
5402
- ), a = !!r.length, l = r.shift();
5403
- return a && je(this, r, n.path, 0, 0, [l]), l;
5401
+ H(this, o, r)
5402
+ ), a = !!n.length, l = n.shift();
5403
+ return a && je(this, n, r.path, 0, 0, [l]), l;
5404
5404
  }
5405
5405
  /**
5406
5406
  * Adds items onto the beginning of the array at the path specified.
@@ -5417,12 +5417,12 @@ const Fi = M((s) => {
5417
5417
  * @return {number} New length of the array.
5418
5418
  * @public
5419
5419
  */
5420
- unshift(o, ...n) {
5421
- let r = { path: "" }, a = (
5420
+ unshift(o, ...r) {
5421
+ let n = { path: "" }, a = (
5422
5422
  /** @type {Array} */
5423
- H(this, o, r)
5424
- ), l = a.unshift(...n);
5425
- return n.length && je(this, a, r.path, 0, n.length, []), l;
5423
+ H(this, o, n)
5424
+ ), l = a.unshift(...r);
5425
+ return r.length && je(this, a, n.path, 0, r.length, []), l;
5426
5426
  }
5427
5427
  /**
5428
5428
  * Notify that a path has changed.
@@ -5438,14 +5438,14 @@ const Fi = M((s) => {
5438
5438
  * @return {void}
5439
5439
  * @public
5440
5440
  */
5441
- notifyPath(o, n) {
5442
- let r;
5441
+ notifyPath(o, r) {
5442
+ let n;
5443
5443
  if (arguments.length == 1) {
5444
5444
  let a = { path: "" };
5445
- n = H(this, o, a), r = a.path;
5446
- } else Array.isArray(o) ? r = Ke(o) : r = /** @type{string} */
5445
+ r = H(this, o, a), n = a.path;
5446
+ } else Array.isArray(o) ? n = Ke(o) : n = /** @type{string} */
5447
5447
  o;
5448
- this._setPendingPropertyOrPath(r, n, !0, !0) && this._invalidateProperties();
5448
+ this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
5449
5449
  }
5450
5450
  /**
5451
5451
  * Equivalent to static `createReadOnlyProperty` API but can be called on
@@ -5459,10 +5459,10 @@ const Fi = M((s) => {
5459
5459
  * @return {void}
5460
5460
  * @protected
5461
5461
  */
5462
- _createReadOnlyProperty(o, n) {
5463
- this._addPropertyEffect(o, E.READ_ONLY), n && (this["_set" + pl(o)] = /** @this {PropertyEffects} */
5464
- function(r) {
5465
- this._setProperty(o, r);
5462
+ _createReadOnlyProperty(o, r) {
5463
+ this._addPropertyEffect(o, E.READ_ONLY), r && (this["_set" + pl(o)] = /** @this {PropertyEffects} */
5464
+ function(n) {
5465
+ this._setProperty(o, n);
5466
5466
  });
5467
5467
  }
5468
5468
  /**
@@ -5479,20 +5479,20 @@ const Fi = M((s) => {
5479
5479
  * @return {void}
5480
5480
  * @protected
5481
5481
  */
5482
- _createPropertyObserver(o, n, r) {
5483
- let a = { property: o, method: n, dynamicFn: !!r };
5482
+ _createPropertyObserver(o, r, n) {
5483
+ let a = { property: o, method: r, dynamicFn: !!n };
5484
5484
  this._addPropertyEffect(o, E.OBSERVE, {
5485
5485
  fn: xs,
5486
5486
  info: a,
5487
5487
  trigger: { name: o }
5488
- }), r && this._addPropertyEffect(
5488
+ }), n && this._addPropertyEffect(
5489
5489
  /** @type {string} */
5490
- n,
5490
+ r,
5491
5491
  E.OBSERVE,
5492
5492
  {
5493
5493
  fn: xs,
5494
5494
  info: a,
5495
- trigger: { name: n }
5495
+ trigger: { name: r }
5496
5496
  }
5497
5497
  );
5498
5498
  }
@@ -5508,11 +5508,11 @@ const Fi = M((s) => {
5508
5508
  * @return {void}
5509
5509
  * @protected
5510
5510
  */
5511
- _createMethodObserver(o, n) {
5512
- let r = Wt(o);
5513
- if (!r)
5511
+ _createMethodObserver(o, r) {
5512
+ let n = Wt(o);
5513
+ if (!n)
5514
5514
  throw new Error("Malformed observer expression '" + o + "'");
5515
- As(this, r, E.OBSERVE, di, null, n);
5515
+ As(this, n, E.OBSERVE, di, null, r);
5516
5516
  }
5517
5517
  /**
5518
5518
  * Equivalent to static `createNotifyingProperty` API but can be called on
@@ -5545,11 +5545,11 @@ const Fi = M((s) => {
5545
5545
  * @suppress {missingProperties} go/missingfnprops
5546
5546
  */
5547
5547
  _createReflectedProperty(o) {
5548
- let n = this.constructor.attributeNameForProperty(o);
5549
- n[0] === "-" ? console.warn("Property " + o + " cannot be reflected to attribute " + n + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(o, E.REFLECT, {
5548
+ let r = this.constructor.attributeNameForProperty(o);
5549
+ 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, {
5550
5550
  fn: Ra,
5551
5551
  info: {
5552
- attrName: n
5552
+ attrName: r
5553
5553
  }
5554
5554
  });
5555
5555
  }
@@ -5566,11 +5566,11 @@ const Fi = M((s) => {
5566
5566
  * @return {void}
5567
5567
  * @protected
5568
5568
  */
5569
- _createComputedProperty(o, n, r) {
5570
- let a = Wt(n);
5569
+ _createComputedProperty(o, r, n) {
5570
+ let a = Wt(r);
5571
5571
  if (!a)
5572
- throw new Error("Malformed computed expression '" + n + "'");
5573
- const l = As(this, a, E.COMPUTE, Vo, o, r);
5572
+ throw new Error("Malformed computed expression '" + r + "'");
5573
+ const l = As(this, a, E.COMPUTE, Vo, o, n);
5574
5574
  Yt(this, Ro)[o] = l;
5575
5575
  }
5576
5576
  /**
@@ -5586,21 +5586,21 @@ const Fi = M((s) => {
5586
5586
  * @return {!Array<*>} Array of argument values
5587
5587
  * @private
5588
5588
  */
5589
- _marshalArgs(o, n, r) {
5589
+ _marshalArgs(o, r, n) {
5590
5590
  const a = this.__data, l = [];
5591
5591
  for (let d = 0, c = o.length; d < c; d++) {
5592
5592
  let { name: u, structured: h, wildcard: p, value: _, literal: v } = o[d];
5593
5593
  if (!v)
5594
5594
  if (p) {
5595
- const y = nt(u, n), w = ks(a, r, y ? n : u);
5595
+ const y = rt(u, r), w = ks(a, n, y ? r : u);
5596
5596
  _ = {
5597
- path: y ? n : u,
5597
+ path: y ? r : u,
5598
5598
  value: w,
5599
5599
  base: y ? H(a, u) : w
5600
5600
  };
5601
5601
  } else
5602
- _ = h ? ks(a, r, u) : a[u];
5603
- if (ri && !this._overrideLegacyUndefined && _ === void 0 && o.length > 1)
5602
+ _ = h ? ks(a, n, u) : a[u];
5603
+ if (ni && !this._overrideLegacyUndefined && _ === void 0 && o.length > 1)
5604
5604
  return lt;
5605
5605
  l[d] = _;
5606
5606
  }
@@ -5644,8 +5644,8 @@ const Fi = M((s) => {
5644
5644
  * @protected
5645
5645
  * @nocollapse
5646
5646
  */
5647
- static addPropertyEffect(o, n, r) {
5648
- this.prototype._addPropertyEffect(o, n, r);
5647
+ static addPropertyEffect(o, r, n) {
5648
+ this.prototype._addPropertyEffect(o, r, n);
5649
5649
  }
5650
5650
  /**
5651
5651
  * Creates a single-property observer for the given property.
@@ -5658,8 +5658,8 @@ const Fi = M((s) => {
5658
5658
  * @protected
5659
5659
  * @nocollapse
5660
5660
  */
5661
- static createPropertyObserver(o, n, r) {
5662
- this.prototype._createPropertyObserver(o, n, r);
5661
+ static createPropertyObserver(o, r, n) {
5662
+ this.prototype._createPropertyObserver(o, r, n);
5663
5663
  }
5664
5664
  /**
5665
5665
  * Creates a multi-property "method observer" based on the provided
@@ -5675,8 +5675,8 @@ const Fi = M((s) => {
5675
5675
  * @protected
5676
5676
  * @nocollapse
5677
5677
  */
5678
- static createMethodObserver(o, n) {
5679
- this.prototype._createMethodObserver(o, n);
5678
+ static createMethodObserver(o, r) {
5679
+ this.prototype._createMethodObserver(o, r);
5680
5680
  }
5681
5681
  /**
5682
5682
  * Causes the setter for the given property to dispatch `<property>-changed`
@@ -5707,8 +5707,8 @@ const Fi = M((s) => {
5707
5707
  * @protected
5708
5708
  * @nocollapse
5709
5709
  */
5710
- static createReadOnlyProperty(o, n) {
5711
- this.prototype._createReadOnlyProperty(o, n);
5710
+ static createReadOnlyProperty(o, r) {
5711
+ this.prototype._createReadOnlyProperty(o, r);
5712
5712
  }
5713
5713
  /**
5714
5714
  * Causes the setter for the given property to reflect the property value
@@ -5737,8 +5737,8 @@ const Fi = M((s) => {
5737
5737
  * @protected
5738
5738
  * @nocollapse
5739
5739
  */
5740
- static createComputedProperty(o, n, r) {
5741
- this.prototype._createComputedProperty(o, n, r);
5740
+ static createComputedProperty(o, r, n) {
5741
+ this.prototype._createComputedProperty(o, r, n);
5742
5742
  }
5743
5743
  /**
5744
5744
  * Parses the provided template to ensure binding effects are created
@@ -5813,22 +5813,22 @@ const Fi = M((s) => {
5813
5813
  * @protected
5814
5814
  * @suppress {missingProperties} go/missingfnprops
5815
5815
  */
5816
- _bindTemplate(o, n) {
5817
- let r = this.constructor._parseTemplate(o), a = this.__preBoundTemplateInfo == r;
5816
+ _bindTemplate(o, r) {
5817
+ let n = this.constructor._parseTemplate(o), a = this.__preBoundTemplateInfo == n;
5818
5818
  if (!a)
5819
- for (let l in r.propertyEffects)
5819
+ for (let l in n.propertyEffects)
5820
5820
  this._createPropertyAccessor(l);
5821
- if (n)
5822
- if (r = /** @type {!TemplateInfo} */
5823
- Object.create(r), r.wasPreBound = a, !this.__templateInfo)
5824
- this.__templateInfo = r;
5821
+ if (r)
5822
+ if (n = /** @type {!TemplateInfo} */
5823
+ Object.create(n), n.wasPreBound = a, !this.__templateInfo)
5824
+ this.__templateInfo = n;
5825
5825
  else {
5826
5826
  const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
5827
- r.parent = l, l.lastChild = r, r.previousSibling = d, d ? d.nextSibling = r : l.firstChild = r;
5827
+ n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
5828
5828
  }
5829
5829
  else
5830
- this.__preBoundTemplateInfo = r;
5831
- return r;
5830
+ this.__preBoundTemplateInfo = n;
5831
+ return n;
5832
5832
  }
5833
5833
  /**
5834
5834
  * Adds a property effect to the given template metadata, which is run
@@ -5844,11 +5844,11 @@ const Fi = M((s) => {
5844
5844
  * @protected
5845
5845
  * @nocollapse
5846
5846
  */
5847
- static _addTemplatePropertyEffect(o, n, r) {
5847
+ static _addTemplatePropertyEffect(o, r, n) {
5848
5848
  let a = o.hostProps = o.hostProps || {};
5849
- a[n] = !0;
5849
+ a[r] = !0;
5850
5850
  let l = o.propertyEffects = o.propertyEffects || {};
5851
- (l[n] = l[n] || []).push(r);
5851
+ (l[r] = l[r] || []).push(n);
5852
5852
  }
5853
5853
  /**
5854
5854
  * Stamps the provided template and performs instance-time setup for
@@ -5873,16 +5873,16 @@ const Fi = M((s) => {
5873
5873
  * @override
5874
5874
  * @protected
5875
5875
  */
5876
- _stampTemplate(o, n) {
5877
- n = n || /** @type {!TemplateInfo} */
5876
+ _stampTemplate(o, r) {
5877
+ r = r || /** @type {!TemplateInfo} */
5878
5878
  this._bindTemplate(o, !0), qe.push(this);
5879
- let r = super._stampTemplate(o, n);
5880
- if (qe.pop(), n.nodeList = r.nodeList, !n.wasPreBound) {
5881
- let a = n.childNodes = [];
5882
- for (let l = r.firstChild; l; l = l.nextSibling)
5879
+ let n = super._stampTemplate(o, r);
5880
+ if (qe.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
5881
+ let a = r.childNodes = [];
5882
+ for (let l = n.firstChild; l; l = l.nextSibling)
5883
5883
  a.push(l);
5884
5884
  }
5885
- return r.templateInfo = n, Ja(this, n), this.__dataClientsReady && (this._runEffectsForTemplate(n, this.__data, null, !1), this._flushClients()), r;
5885
+ return n.templateInfo = r, Ja(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
5886
5886
  }
5887
5887
  /**
5888
5888
  * Removes and unbinds the nodes previously contained in the provided
@@ -5895,9 +5895,9 @@ const Fi = M((s) => {
5895
5895
  * @protected
5896
5896
  */
5897
5897
  _removeBoundDom(o) {
5898
- const n = o.templateInfo, { previousSibling: r, nextSibling: a, parent: l } = n;
5899
- r ? r.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = r : l && (l.lastChild = r), n.nextSibling = n.previousSibling = null;
5900
- let d = n.childNodes;
5898
+ const r = o.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
5899
+ n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
5900
+ let d = r.childNodes;
5901
5901
  for (let c = 0; c < d.length; c++) {
5902
5902
  let u = d[c];
5903
5903
  L(L(u).parentNode).removeChild(u);
@@ -5920,16 +5920,16 @@ const Fi = M((s) => {
5920
5920
  * @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
5921
5921
  * @nocollapse
5922
5922
  */
5923
- static _parseTemplateNode(o, n, r) {
5923
+ static _parseTemplateNode(o, r, n) {
5924
5924
  let a = t._parseTemplateNode.call(
5925
5925
  this,
5926
5926
  o,
5927
- n,
5928
- r
5927
+ r,
5928
+ n
5929
5929
  );
5930
5930
  if (o.nodeType === Node.TEXT_NODE) {
5931
- let l = this._parseBindings(o.textContent, n);
5932
- l && (o.textContent = Ds(l) || " ", Ut(this, n, r, "text", "textContent", l), a = !0);
5931
+ let l = this._parseBindings(o.textContent, r);
5932
+ l && (o.textContent = Ds(l) || " ", Ut(this, r, n, "text", "textContent", l), a = !0);
5933
5933
  }
5934
5934
  return a;
5935
5935
  }
@@ -5952,19 +5952,19 @@ const Fi = M((s) => {
5952
5952
  * @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
5953
5953
  * @nocollapse
5954
5954
  */
5955
- static _parseTemplateNodeAttribute(o, n, r, a, l) {
5956
- let d = this._parseBindings(l, n);
5955
+ static _parseTemplateNodeAttribute(o, r, n, a, l) {
5956
+ let d = this._parseBindings(l, r);
5957
5957
  if (d) {
5958
5958
  let c = a, u = "property";
5959
5959
  Na.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
5960
5960
  let h = Ds(d);
5961
- 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 = Io(a)), Ut(this, n, r, u, a, d, h), !0;
5961
+ 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 = Io(a)), Ut(this, r, n, u, a, d, h), !0;
5962
5962
  } else
5963
5963
  return t._parseTemplateNodeAttribute.call(
5964
5964
  this,
5965
5965
  o,
5966
- n,
5967
5966
  r,
5967
+ n,
5968
5968
  a,
5969
5969
  l
5970
5970
  );
@@ -5983,23 +5983,23 @@ const Fi = M((s) => {
5983
5983
  * @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
5984
5984
  * @nocollapse
5985
5985
  */
5986
- static _parseTemplateNestedTemplate(o, n, r) {
5986
+ static _parseTemplateNestedTemplate(o, r, n) {
5987
5987
  let a = t._parseTemplateNestedTemplate.call(
5988
5988
  this,
5989
5989
  o,
5990
- n,
5991
- r
5990
+ r,
5991
+ n
5992
5992
  );
5993
- const l = o.parentNode, d = r.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
5994
- ps && (c || u) && (l.removeChild(o), r = r.parentInfo, r.templateInfo = d, r.noted = !0, a = !1);
5993
+ const l = o.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
5994
+ ps && (c || u) && (l.removeChild(o), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
5995
5995
  let h = d.hostProps;
5996
5996
  if (oa && c)
5997
- h && (n.hostProps = Object.assign(n.hostProps || {}, h), ps || (r.parentInfo.noted = !0));
5997
+ h && (r.hostProps = Object.assign(r.hostProps || {}, h), ps || (n.parentInfo.noted = !0));
5998
5998
  else {
5999
5999
  let p = "{";
6000
6000
  for (let _ in h) {
6001
6001
  let v = [{ mode: p, source: _, dependencies: [_], hostProp: !0 }];
6002
- Ut(this, n, r, "property", "_host_" + _, v);
6002
+ Ut(this, r, n, "property", "_host_" + _, v);
6003
6003
  }
6004
6004
  }
6005
6005
  return a;
@@ -6049,10 +6049,10 @@ const Fi = M((s) => {
6049
6049
  * @protected
6050
6050
  * @nocollapse
6051
6051
  */
6052
- static _parseBindings(o, n) {
6053
- let r = [], a = 0, l;
6052
+ static _parseBindings(o, r) {
6053
+ let n = [], a = 0, l;
6054
6054
  for (; (l = Ps.exec(o)) !== null; ) {
6055
- l.index > a && r.push({ literal: o.slice(a, l.index) });
6055
+ l.index > a && n.push({ literal: o.slice(a, l.index) });
6056
6056
  let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", _ = -1;
6057
6057
  d == "{" && (_ = u.indexOf("::")) > 0 && (p = u.substring(_ + 2), u = u.substring(0, _), h = !0);
6058
6058
  let v = Wt(u), y = [];
@@ -6062,11 +6062,11 @@ const Fi = M((s) => {
6062
6062
  let b = w[I];
6063
6063
  b.literal || y.push(b);
6064
6064
  }
6065
- let O = n.dynamicFns;
6065
+ let O = r.dynamicFns;
6066
6066
  (O && O[A] || v.static) && (y.push(A), v.dynamicFn = !0);
6067
6067
  } else
6068
6068
  y.push(u);
6069
- r.push({
6069
+ n.push({
6070
6070
  source: u,
6071
6071
  mode: d,
6072
6072
  negate: c,
@@ -6078,11 +6078,11 @@ const Fi = M((s) => {
6078
6078
  }
6079
6079
  if (a && a < o.length) {
6080
6080
  let d = o.substring(a);
6081
- d && r.push({
6081
+ d && n.push({
6082
6082
  literal: d
6083
6083
  });
6084
6084
  }
6085
- return r.length ? r : null;
6085
+ return n.length ? n : null;
6086
6086
  }
6087
6087
  /**
6088
6088
  * Called to evaluate a previously parsed binding part based on a set of
@@ -6099,9 +6099,9 @@ const Fi = M((s) => {
6099
6099
  * @protected
6100
6100
  * @nocollapse
6101
6101
  */
6102
- static _evaluateBinding(o, n, r, a, l, d) {
6102
+ static _evaluateBinding(o, r, n, a, l, d) {
6103
6103
  let c;
6104
- return n.signature ? c = di(o, r, a, l, n.signature) : r != n.source ? c = H(o, n.source) : d && ai(r) ? c = H(o, r) : c = o.__data[r], n.negate && (c = !c), c;
6104
+ return r.signature ? c = di(o, n, a, l, r.signature) : n != r.source ? c = H(o, r.source) : d && ai(n) ? c = H(o, n) : c = o.__data[n], r.negate && (c = !c), c;
6105
6105
  }
6106
6106
  }
6107
6107
  return e;
@@ -6134,23 +6134,23 @@ function fl(s) {
6134
6134
  }
6135
6135
  const _l = M((s) => {
6136
6136
  const t = Lo(s);
6137
- function e(n) {
6138
- const r = Object.getPrototypeOf(n);
6139
- return r.prototype instanceof o ? (
6137
+ function e(r) {
6138
+ const n = Object.getPrototypeOf(r);
6139
+ return n.prototype instanceof o ? (
6140
6140
  /** @type {!PropertiesMixinConstructor} */
6141
- r
6141
+ n
6142
6142
  ) : null;
6143
6143
  }
6144
- function i(n) {
6145
- if (!n.hasOwnProperty(JSCompiler_renameProperty("__ownProperties", n))) {
6146
- let r = null;
6147
- if (n.hasOwnProperty(JSCompiler_renameProperty("properties", n))) {
6148
- const a = n.properties;
6149
- a && (r = fl(a));
6144
+ function i(r) {
6145
+ if (!r.hasOwnProperty(JSCompiler_renameProperty("__ownProperties", r))) {
6146
+ let n = null;
6147
+ if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
6148
+ const a = r.properties;
6149
+ a && (n = fl(a));
6150
6150
  }
6151
- n.__ownProperties = r;
6151
+ r.__ownProperties = n;
6152
6152
  }
6153
- return n.__ownProperties;
6153
+ return r.__ownProperties;
6154
6154
  }
6155
6155
  class o extends t {
6156
6156
  /**
@@ -6162,8 +6162,8 @@ const _l = M((s) => {
6162
6162
  static get observedAttributes() {
6163
6163
  if (!this.hasOwnProperty(JSCompiler_renameProperty("__observedAttributes", this))) {
6164
6164
  this.prototype;
6165
- const r = this._properties;
6166
- this.__observedAttributes = r ? Object.keys(r).map((a) => this.prototype._addPropertyToAttributeMap(a)) : [];
6165
+ const n = this._properties;
6166
+ this.__observedAttributes = n ? Object.keys(n).map((a) => this.prototype._addPropertyToAttributeMap(a)) : [];
6167
6167
  }
6168
6168
  return this.__observedAttributes;
6169
6169
  }
@@ -6177,11 +6177,11 @@ const _l = M((s) => {
6177
6177
  */
6178
6178
  static finalize() {
6179
6179
  if (!this.hasOwnProperty(JSCompiler_renameProperty("__finalized", this))) {
6180
- const r = e(
6180
+ const n = e(
6181
6181
  /** @type {!PropertiesMixinConstructor} */
6182
6182
  this
6183
6183
  );
6184
- r && r.finalize(), this.__finalized = !0, this._finalizeClass();
6184
+ n && n.finalize(), this.__finalized = !0, this._finalizeClass();
6185
6185
  }
6186
6186
  }
6187
6187
  /**
@@ -6193,11 +6193,11 @@ const _l = M((s) => {
6193
6193
  * @nocollapse
6194
6194
  */
6195
6195
  static _finalizeClass() {
6196
- const r = i(
6196
+ const n = i(
6197
6197
  /** @type {!PropertiesMixinConstructor} */
6198
6198
  this
6199
6199
  );
6200
- r && this.createProperties(r);
6200
+ n && this.createProperties(n);
6201
6201
  }
6202
6202
  /**
6203
6203
  * Returns a memoized version of all properties, including those inherited
@@ -6212,13 +6212,13 @@ const _l = M((s) => {
6212
6212
  if (!this.hasOwnProperty(
6213
6213
  JSCompiler_renameProperty("__properties", this)
6214
6214
  )) {
6215
- const r = e(
6215
+ const n = e(
6216
6216
  /** @type {!PropertiesMixinConstructor} */
6217
6217
  this
6218
6218
  );
6219
6219
  this.__properties = Object.assign(
6220
6220
  {},
6221
- r && r._properties,
6221
+ n && n._properties,
6222
6222
  i(
6223
6223
  /** @type {PropertiesMixinConstructor} */
6224
6224
  this
@@ -6236,8 +6236,8 @@ const _l = M((s) => {
6236
6236
  * @protected
6237
6237
  * @nocollapse
6238
6238
  */
6239
- static typeForProperty(r) {
6240
- const a = this._properties[r];
6239
+ static typeForProperty(n) {
6240
+ const a = this._properties[n];
6241
6241
  return a && a.type;
6242
6242
  }
6243
6243
  /**
@@ -6311,7 +6311,7 @@ const ml = "3.5.2", Ts = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = M((s)
6311
6311
  function o(l, d, c, u) {
6312
6312
  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);
6313
6313
  }
6314
- function n(l, d, c, u) {
6314
+ function r(l, d, c, u) {
6315
6315
  if (!Ts) {
6316
6316
  const h = d.content.querySelectorAll("style"), p = To(d), _ = ha(c), v = d.content.firstElementChild;
6317
6317
  for (let w = 0; w < _.length; w++) {
@@ -6324,7 +6324,7 @@ const ml = "3.5.2", Ts = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = M((s)
6324
6324
  O !== A ? (A = A.cloneNode(!0), O.parentNode.insertBefore(A, O)) : y++, A.textContent = l._processStyleText(A.textContent, u);
6325
6325
  }
6326
6326
  }
6327
- if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), na && Ts && Zr) {
6327
+ if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), ra && Ts && Zn) {
6328
6328
  const h = d.content.querySelectorAll("style");
6329
6329
  if (h) {
6330
6330
  let p = "";
@@ -6334,7 +6334,7 @@ const ml = "3.5.2", Ts = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = M((s)
6334
6334
  }
6335
6335
  }
6336
6336
  }
6337
- function r(l) {
6337
+ function n(l) {
6338
6338
  let d = null;
6339
6339
  if (l && (!Et || ta) && (d = /** @type {?HTMLTemplateElement} */
6340
6340
  ot.import(l, "template"), Et && !d))
@@ -6460,7 +6460,7 @@ const ml = "3.5.2", Ts = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = M((s)
6460
6460
  // dom-module and/or super.template.
6461
6461
  d !== void 0 ? d : (
6462
6462
  // Look in dom-module associated with this element's is
6463
- this.hasOwnProperty(JSCompiler_renameProperty("is", this)) && r(
6463
+ this.hasOwnProperty(JSCompiler_renameProperty("is", this)) && n(
6464
6464
  /** @type {PolymerElementConstructor}*/
6465
6465
  this.is
6466
6466
  ) || // Next look for superclass template (call the super impl this
@@ -6588,7 +6588,7 @@ const ml = "3.5.2", Ts = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = M((s)
6588
6588
  if (c && !c.__polymerFinalized) {
6589
6589
  c.__polymerFinalized = !0;
6590
6590
  const u = this.importPath, h = u ? et(u) : "";
6591
- n(this, c, d, h), this.prototype._bindTemplate(c);
6591
+ r(this, c, d, h), this.prototype._bindTemplate(c);
6592
6592
  }
6593
6593
  }
6594
6594
  /**
@@ -6769,7 +6769,7 @@ class jo {
6769
6769
  constructor(t, e) {
6770
6770
  Go(t, e);
6771
6771
  const i = e.reduce(
6772
- (o, n, r) => o + qo(n) + t[r + 1],
6772
+ (o, r, n) => o + qo(r) + t[n + 1],
6773
6773
  t[0]
6774
6774
  );
6775
6775
  this.value = i.toString();
@@ -6811,7 +6811,7 @@ const Ae = function(t, ...e) {
6811
6811
  document.createElement("template")
6812
6812
  );
6813
6813
  let o = e.reduce(
6814
- (n, r, a) => n + yl(r) + t[a + 1],
6814
+ (r, n, a) => r + yl(n) + t[a + 1],
6815
6815
  t[0]
6816
6816
  );
6817
6817
  return Ss && (o = Ss.createHTML(o)), i.innerHTML = o, i;
@@ -6834,7 +6834,7 @@ const he = gl(HTMLElement);
6834
6834
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
6835
6835
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6836
6836
  */
6837
- const ne = [];
6837
+ const re = [];
6838
6838
  function ci(s, t, e = s.getAttribute("dir")) {
6839
6839
  t ? s.setAttribute("dir", t) : e != null && s.removeAttribute("dir");
6840
6840
  }
@@ -6843,7 +6843,7 @@ function ui() {
6843
6843
  }
6844
6844
  function bl() {
6845
6845
  const s = ui();
6846
- ne.forEach((t) => {
6846
+ re.forEach((t) => {
6847
6847
  ci(t, s);
6848
6848
  });
6849
6849
  }
@@ -6881,12 +6881,12 @@ const Mt = (s) => class extends s {
6881
6881
  attributeChangedCallback(e, i, o) {
6882
6882
  if (super.attributeChangedCallback(e, i, o), e !== "dir")
6883
6883
  return;
6884
- const n = ui(), r = o === n && ne.indexOf(this) === -1, a = !o && i && ne.indexOf(this) === -1;
6885
- r || a ? (this.__subscribe(), ci(this, n, o)) : o !== n && i === n && this.__unsubscribe();
6884
+ const r = ui(), n = o === r && re.indexOf(this) === -1, a = !o && i && re.indexOf(this) === -1;
6885
+ n || a ? (this.__subscribe(), ci(this, r, o)) : o !== r && i === r && this.__unsubscribe();
6886
6886
  }
6887
6887
  /** @protected */
6888
6888
  disconnectedCallback() {
6889
- super.disconnectedCallback(), this.__restoreSubscription = ne.includes(this), this.__unsubscribe();
6889
+ super.disconnectedCallback(), this.__restoreSubscription = re.includes(this), this.__unsubscribe();
6890
6890
  }
6891
6891
  /** @protected */
6892
6892
  _valueToNodeAttribute(e, i, o) {
@@ -6898,11 +6898,11 @@ const Mt = (s) => class extends s {
6898
6898
  }
6899
6899
  /** @private */
6900
6900
  __subscribe() {
6901
- ne.includes(this) || ne.push(this);
6901
+ re.includes(this) || re.push(this);
6902
6902
  }
6903
6903
  /** @private */
6904
6904
  __unsubscribe() {
6905
- ne.includes(this) && ne.splice(ne.indexOf(this), 1);
6905
+ re.includes(this) && re.splice(re.indexOf(this), 1);
6906
6906
  }
6907
6907
  };
6908
6908
  /**
@@ -7174,9 +7174,9 @@ function Xo(s, t) {
7174
7174
  ), i = Tl(e);
7175
7175
  let o = i > 0;
7176
7176
  i >= 0 && t.push(e);
7177
- let n = [];
7178
- return e.localName === "slot" ? n = e.assignedNodes({ flatten: !0 }) : n = (e.shadowRoot || e).children, [...n].forEach((r) => {
7179
- o = Xo(r, t) || o;
7177
+ let r = [];
7178
+ return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
7179
+ o = Xo(n, t) || o;
7180
7180
  }), o;
7181
7181
  }
7182
7182
  function Sl(s) {
@@ -7230,7 +7230,7 @@ const It = (s) => s.test(navigator.userAgent), _i = (s) => s.test(navigator.plat
7230
7230
  It(/Android/u);
7231
7231
  It(/Chrome/u) && Fl(/Google Inc/u);
7232
7232
  It(/Firefox/u);
7233
- const Bl = _i(/^iPad/u) || _i(/^Mac/u) && navigator.maxTouchPoints > 1, Ll = _i(/^iPhone/u), en = Ll || Bl;
7233
+ const Bl = _i(/^iPad/u) || _i(/^Mac/u) && navigator.maxTouchPoints > 1, Ll = _i(/^iPhone/u), er = Ll || Bl;
7234
7234
  It(/^((?!chrome|android).)*safari/iu);
7235
7235
  const zl = (() => {
7236
7236
  try {
@@ -7260,7 +7260,7 @@ const Os = (s) => s && s.nodeType === Node.ELEMENT_NODE, qt = (...s) => {
7260
7260
  }).filter((e) => !!e) : (qt(s, "is not a valid element"), []), Rl = (s, t, e, i) => {
7261
7261
  const o = Hl(t, Array.isArray(s) ? s : [s]);
7262
7262
  gt[e] || (gt[e] = /* @__PURE__ */ new WeakMap());
7263
- const n = gt[e], r = [], a = /* @__PURE__ */ new Set(), l = new Set(o), d = (u) => {
7263
+ const r = gt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(o), d = (u) => {
7264
7264
  if (!u || a.has(u))
7265
7265
  return;
7266
7266
  a.add(u);
@@ -7277,18 +7277,18 @@ const Os = (s) => s && s.nodeType === Node.ELEMENT_NODE, qt = (...s) => {
7277
7277
  if (a.has(_))
7278
7278
  c(_);
7279
7279
  else {
7280
- const v = _.getAttribute(i), y = v !== null && v !== "false", w = (De.get(_) || 0) + 1, A = (n.get(_) || 0) + 1;
7281
- De.set(_, w), n.set(_, A), r.push(_), w === 1 && y && mt.set(_, !0), A === 1 && _.setAttribute(e, "true"), y || _.setAttribute(i, "true");
7280
+ const v = _.getAttribute(i), y = v !== null && v !== "false", w = (De.get(_) || 0) + 1, A = (r.get(_) || 0) + 1;
7281
+ De.set(_, w), r.set(_, A), n.push(_), w === 1 && y && mt.set(_, !0), A === 1 && _.setAttribute(e, "true"), y || _.setAttribute(i, "true");
7282
7282
  }
7283
7283
  });
7284
7284
  };
7285
7285
  return c(t), a.clear(), jt += 1, () => {
7286
- r.forEach((u) => {
7287
- const h = De.get(u) - 1, p = n.get(u) - 1;
7288
- De.set(u, h), n.set(u, p), h || (mt.has(u) ? mt.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
7286
+ n.forEach((u) => {
7287
+ const h = De.get(u) - 1, p = r.get(u) - 1;
7288
+ De.set(u, h), r.set(u, p), h || (mt.has(u) ? mt.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
7289
7289
  }), jt -= 1, jt || (De = /* @__PURE__ */ new WeakMap(), De = /* @__PURE__ */ new WeakMap(), mt = /* @__PURE__ */ new WeakMap(), gt = {});
7290
7290
  };
7291
- }, tn = (s, t = document.body, e = "data-aria-hidden") => {
7291
+ }, tr = (s, t = document.body, e = "data-aria-hidden") => {
7292
7292
  const i = Array.from(Array.isArray(s) ? s : [s]);
7293
7293
  return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Rl(i, t, e, "aria-hidden");
7294
7294
  };
@@ -7313,7 +7313,7 @@ class $l {
7313
7313
  */
7314
7314
  showModal() {
7315
7315
  const t = this.callback();
7316
- this.__showOthers = tn(t);
7316
+ this.__showOthers = tr(t);
7317
7317
  }
7318
7318
  /**
7319
7319
  * Remove `aria-hidden` from other elements unless there are any other
@@ -7444,8 +7444,8 @@ class Yl {
7444
7444
  * @private
7445
7445
  */
7446
7446
  __focusNextElement(t = !1) {
7447
- const e = this.__focusableElements, i = t ? -1 : 1, o = this.__focusedElementIndex, n = (e.length + o + i) % e.length, r = e[n];
7448
- r.focus(), r.localName === "input" && r.select();
7447
+ const e = this.__focusableElements, i = t ? -1 : 1, o = this.__focusedElementIndex, r = (e.length + o + i) % e.length, n = e[r];
7448
+ n.focus(), n.localName === "input" && n.select();
7449
7449
  }
7450
7450
  }
7451
7451
  /**
@@ -7595,7 +7595,7 @@ const Ul = (s) => class extends He(s) {
7595
7595
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
7596
7596
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7597
7597
  */
7598
- const sn = () => Array.from(document.body.children).filter((s) => s instanceof HTMLElement && s._hasOverlayStackMixin && !s.hasAttribute("closing")).sort((s, t) => s.__zIndex - t.__zIndex || 0), mi = () => sn().filter((s) => s.$.overlay), Wl = (s) => s === mi().pop(), jl = (s) => class extends s {
7598
+ const ir = () => Array.from(document.body.children).filter((s) => s instanceof HTMLElement && s._hasOverlayStackMixin && !s.hasAttribute("closing")).sort((s, t) => s.__zIndex - t.__zIndex || 0), mi = () => ir().filter((s) => s.$.overlay), Wl = (s) => s === mi().pop(), jl = (s) => class extends s {
7599
7599
  constructor() {
7600
7600
  super(), this._hasOverlayStackMixin = !0;
7601
7601
  }
@@ -7613,7 +7613,7 @@ const sn = () => Array.from(document.body.children).filter((s) => s instanceof H
7613
7613
  */
7614
7614
  bringToFront() {
7615
7615
  let e = "";
7616
- const i = sn().filter((o) => o !== this).pop();
7616
+ const i = ir().filter((o) => o !== this).pop();
7617
7617
  i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
7618
7618
  }
7619
7619
  /** @protected */
@@ -7716,7 +7716,7 @@ const ql = (s) => class extends Ul(jl(s)) {
7716
7716
  return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
7717
7717
  }
7718
7718
  constructor() {
7719
- 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), en && (this._boundIosResizeListener = () => this._detectIosNavbar());
7719
+ 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), er && (this._boundIosResizeListener = () => this._detectIosNavbar());
7720
7720
  }
7721
7721
  /** @protected */
7722
7722
  ready() {
@@ -7758,8 +7758,8 @@ const ql = (s) => class extends Ul(jl(s)) {
7758
7758
  _detectIosNavbar() {
7759
7759
  if (!this.opened)
7760
7760
  return;
7761
- const e = window.innerHeight, o = window.innerWidth > e, n = document.documentElement.clientHeight;
7762
- o && n > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${n - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
7761
+ const e = window.innerHeight, o = window.innerWidth > e, r = document.documentElement.clientHeight;
7762
+ o && r > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${r - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
7763
7763
  }
7764
7764
  /** @private */
7765
7765
  _addGlobalListeners() {
@@ -7770,13 +7770,13 @@ const ql = (s) => class extends Ul(jl(s)) {
7770
7770
  document.removeEventListener("mousedown", this._boundMouseDownListener), document.removeEventListener("mouseup", this._boundMouseUpListener), document.documentElement.removeEventListener("click", this._boundOutsideClickListener, !0);
7771
7771
  }
7772
7772
  /** @private */
7773
- _rendererOrDataChanged(e, i, o, n) {
7774
- const r = this._oldOwner !== i || this._oldModel !== o;
7773
+ _rendererOrDataChanged(e, i, o, r) {
7774
+ const n = this._oldOwner !== i || this._oldModel !== o;
7775
7775
  this._oldModel = o, this._oldOwner = i;
7776
7776
  const a = this._oldRenderer !== e, l = this._oldRenderer !== void 0;
7777
7777
  this._oldRenderer = e;
7778
- const d = this._oldOpened !== n;
7779
- this._oldOpened = n, a && l && (this.innerHTML = "", delete this._$litPart$), n && e && (a || d || r) && this.requestContentUpdate();
7778
+ const d = this._oldOpened !== r;
7779
+ this._oldOpened = r, a && l && (this.innerHTML = "", delete this._$litPart$), r && e && (a || d || n) && this.requestContentUpdate();
7780
7780
  }
7781
7781
  /** @private */
7782
7782
  _modelessChanged(e) {
@@ -7808,10 +7808,10 @@ const ql = (s) => class extends Ul(jl(s)) {
7808
7808
  * @private
7809
7809
  */
7810
7810
  _enqueueAnimation(e, i) {
7811
- const o = `__${e}Handler`, n = (r) => {
7812
- r && r.target !== this || (i(), this.removeEventListener("animationend", n), delete this[o]);
7811
+ const o = `__${e}Handler`, r = (n) => {
7812
+ n && n.target !== this || (i(), this.removeEventListener("animationend", r), delete this[o]);
7813
7813
  };
7814
- this[o] = n, this.addEventListener("animationend", n);
7814
+ this[o] = r, this.addEventListener("animationend", r);
7815
7815
  }
7816
7816
  /**
7817
7817
  * @param {string} type
@@ -7934,7 +7934,7 @@ function zi(s) {
7934
7934
  function Nt(s) {
7935
7935
  return s ? [...s].join(" ") : "";
7936
7936
  }
7937
- function on(s, t, e) {
7937
+ function sr(s, t, e) {
7938
7938
  const i = zi(s.getAttribute(t));
7939
7939
  i.add(e), s.setAttribute(t, Nt(i));
7940
7940
  }
@@ -7960,10 +7960,10 @@ function Jl(s, t) {
7960
7960
  function o() {
7961
7961
  e && e.disconnect(), e = null;
7962
7962
  }
7963
- function n(r = !1, a = 1) {
7963
+ function r(n = !1, a = 1) {
7964
7964
  o();
7965
7965
  const { left: l, top: d, width: c, height: u } = s.getBoundingClientRect();
7966
- if (r || t(), !c || !u)
7966
+ if (n || t(), !c || !u)
7967
7967
  return;
7968
7968
  const h = Math.floor(d), p = Math.floor(i.clientWidth - (l + c)), _ = Math.floor(i.clientHeight - (d + u)), v = Math.floor(l), w = {
7969
7969
  rootMargin: `${-h}px ${-p}px ${-_}px ${-v}px`,
@@ -7974,14 +7974,14 @@ function Jl(s, t) {
7974
7974
  let b = I[0].intersectionRatio;
7975
7975
  if (b !== a) {
7976
7976
  if (!A)
7977
- return n();
7978
- b === 0 && (b = 1e-7), n(!1, b);
7977
+ return r();
7978
+ b === 0 && (b = 1e-7), r(!1, b);
7979
7979
  }
7980
7980
  A = !1;
7981
7981
  }
7982
7982
  e = new IntersectionObserver(O, w), e.observe(s);
7983
7983
  }
7984
- return n(!0), o;
7984
+ return r(!0), o;
7985
7985
  }
7986
7986
  /**
7987
7987
  * @license
@@ -8115,8 +8115,8 @@ const Kt = {
8115
8115
  __overlayOpenedChanged(e, i) {
8116
8116
  if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Ms.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Ms.observe(i))), e) {
8117
8117
  const o = getComputedStyle(this);
8118
- this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((n) => {
8119
- this.__margins[n] = parseInt(o[n], 10);
8118
+ this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
8119
+ this.__margins[r] = parseInt(o[r], 10);
8120
8120
  })), this._updatePosition(), requestAnimationFrame(() => this._updatePosition());
8121
8121
  }
8122
8122
  }
@@ -8137,8 +8137,8 @@ const Kt = {
8137
8137
  }
8138
8138
  const i = this.__shouldAlignStartVertically(e);
8139
8139
  this.style.justifyContent = i ? "flex-start" : "flex-end";
8140
- const o = this.__isRTL, n = this.__shouldAlignStartHorizontally(e, o), r = !o && n || o && !n;
8141
- this.style.alignItems = r ? "flex-start" : "flex-end";
8140
+ const o = this.__isRTL, r = this.__shouldAlignStartHorizontally(e, o), n = !o && r || o && !r;
8141
+ this.style.alignItems = n ? "flex-start" : "flex-end";
8142
8142
  const a = this.getBoundingClientRect(), l = this.__calculatePositionInOneDimension(
8143
8143
  e,
8144
8144
  a,
@@ -8152,20 +8152,20 @@ const Kt = {
8152
8152
  this.noHorizontalOverlap,
8153
8153
  Xt,
8154
8154
  this,
8155
- n
8155
+ r
8156
8156
  );
8157
- Object.assign(this.style, l, d), this.toggleAttribute("bottom-aligned", !i), this.toggleAttribute("top-aligned", i), this.toggleAttribute("end-aligned", !r), this.toggleAttribute("start-aligned", r);
8157
+ Object.assign(this.style, l, d), this.toggleAttribute("bottom-aligned", !i), this.toggleAttribute("top-aligned", i), this.toggleAttribute("end-aligned", !n), this.toggleAttribute("start-aligned", n);
8158
8158
  }
8159
8159
  __shouldAlignStartHorizontally(e, i) {
8160
8160
  const o = Math.max(this.__oldContentWidth || 0, this.$.overlay.offsetWidth);
8161
8161
  this.__oldContentWidth = this.$.overlay.offsetWidth;
8162
- const n = Math.min(window.innerWidth, document.documentElement.clientWidth), r = !i && this.horizontalAlign === "start" || i && this.horizontalAlign === "end";
8162
+ const r = Math.min(window.innerWidth, document.documentElement.clientWidth), n = !i && this.horizontalAlign === "start" || i && this.horizontalAlign === "end";
8163
8163
  return this.__shouldAlignStart(
8164
8164
  e,
8165
8165
  o,
8166
- n,
8167
- this.__margins,
8168
8166
  r,
8167
+ this.__margins,
8168
+ n,
8169
8169
  this.noHorizontalOverlap,
8170
8170
  Xt
8171
8171
  );
@@ -8173,21 +8173,21 @@ const Kt = {
8173
8173
  __shouldAlignStartVertically(e) {
8174
8174
  const i = this.requiredVerticalSpace || Math.max(this.__oldContentHeight || 0, this.$.overlay.offsetHeight);
8175
8175
  this.__oldContentHeight = this.$.overlay.offsetHeight;
8176
- const o = Math.min(window.innerHeight, document.documentElement.clientHeight), n = this.verticalAlign === "top";
8176
+ const o = Math.min(window.innerHeight, document.documentElement.clientHeight), r = this.verticalAlign === "top";
8177
8177
  return this.__shouldAlignStart(
8178
8178
  e,
8179
8179
  i,
8180
8180
  o,
8181
8181
  this.__margins,
8182
- n,
8182
+ r,
8183
8183
  this.noVerticalOverlap,
8184
8184
  Kt
8185
8185
  );
8186
8186
  }
8187
8187
  // eslint-disable-next-line @typescript-eslint/max-params
8188
- __shouldAlignStart(e, i, o, n, r, a, l) {
8189
- const d = o - e[a ? l.end : l.start] - n[l.end], c = e[a ? l.start : l.end] - n[l.start], u = r ? d : c, p = u > (r ? c : d) || u > i;
8190
- return r === p;
8188
+ __shouldAlignStart(e, i, o, r, n, a, l) {
8189
+ const d = o - e[a ? l.end : l.start] - r[l.end], c = e[a ? l.start : l.end] - r[l.start], u = n ? d : c, p = u > (n ? c : d) || u > i;
8190
+ return n === p;
8191
8191
  }
8192
8192
  /**
8193
8193
  * Returns an adjusted value after resizing the browser window,
@@ -8196,34 +8196,34 @@ const Kt = {
8196
8196
  * See https://github.com/vaadin/web-components/issues/4604
8197
8197
  */
8198
8198
  __adjustBottomProperty(e, i, o) {
8199
- let n;
8199
+ let r;
8200
8200
  if (e === i.end) {
8201
8201
  if (i.end === Kt.end) {
8202
- const r = Math.min(window.innerHeight, document.documentElement.clientHeight);
8203
- if (o > r && this.__oldViewportHeight) {
8204
- const a = this.__oldViewportHeight - r;
8205
- n = o - a;
8202
+ const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
8203
+ if (o > n && this.__oldViewportHeight) {
8204
+ const a = this.__oldViewportHeight - n;
8205
+ r = o - a;
8206
8206
  }
8207
- this.__oldViewportHeight = r;
8207
+ this.__oldViewportHeight = n;
8208
8208
  }
8209
8209
  if (i.end === Xt.end) {
8210
- const r = Math.min(window.innerWidth, document.documentElement.clientWidth);
8211
- if (o > r && this.__oldViewportWidth) {
8212
- const a = this.__oldViewportWidth - r;
8213
- n = o - a;
8210
+ const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
8211
+ if (o > n && this.__oldViewportWidth) {
8212
+ const a = this.__oldViewportWidth - n;
8213
+ r = o - a;
8214
8214
  }
8215
- this.__oldViewportWidth = r;
8215
+ this.__oldViewportWidth = n;
8216
8216
  }
8217
8217
  }
8218
- return n;
8218
+ return r;
8219
8219
  }
8220
8220
  /**
8221
8221
  * Returns an object with CSS position properties to set,
8222
8222
  * e.g. { top: "100px" }
8223
8223
  */
8224
8224
  // eslint-disable-next-line @typescript-eslint/max-params
8225
- __calculatePositionInOneDimension(e, i, o, n, r, a) {
8226
- const l = a ? n.start : n.end, d = a ? n.end : n.start, c = parseFloat(r.style[l] || getComputedStyle(r)[l]), u = this.__adjustBottomProperty(l, n, c), h = i[a ? n.start : n.end] - e[o === a ? n.end : n.start], p = u ? `${u}px` : `${c + h * (a ? -1 : 1)}px`;
8225
+ __calculatePositionInOneDimension(e, i, o, r, n, a) {
8226
+ const l = a ? r.start : r.end, d = a ? r.end : r.start, c = parseFloat(n.style[l] || getComputedStyle(n)[l]), u = this.__adjustBottomProperty(l, r, c), h = i[a ? r.start : r.end] - e[o === a ? r.end : r.start], p = u ? `${u}px` : `${c + h * (a ? -1 : 1)}px`;
8227
8227
  return {
8228
8228
  [l]: p,
8229
8229
  [d]: ""
@@ -8305,25 +8305,25 @@ function sd() {
8305
8305
  function s() {
8306
8306
  return !0;
8307
8307
  }
8308
- return nn(s);
8308
+ return or(s);
8309
8309
  }
8310
8310
  function od() {
8311
8311
  try {
8312
- return nd() ? !0 : rd() ? vt ? !ad() : !sd() : !1;
8312
+ return rd() ? !0 : nd() ? vt ? !ad() : !sd() : !1;
8313
8313
  } catch (s) {
8314
8314
  return !1;
8315
8315
  }
8316
8316
  }
8317
- function nd() {
8317
+ function rd() {
8318
8318
  return localStorage.getItem("vaadin.developmentmode.force");
8319
8319
  }
8320
- function rd() {
8320
+ function nd() {
8321
8321
  return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
8322
8322
  }
8323
8323
  function ad() {
8324
8324
  return !!(vt && Object.keys(vt).map((t) => vt[t]).filter((t) => t.productionMode).length > 0);
8325
8325
  }
8326
- function nn(s, t) {
8326
+ function or(s, t) {
8327
8327
  if (typeof s != "function")
8328
8328
  return;
8329
8329
  const e = id.exec(s.toString());
@@ -8338,7 +8338,7 @@ function nn(s, t) {
8338
8338
  window.Vaadin = window.Vaadin || {};
8339
8339
  const Is = function(s, t) {
8340
8340
  if (window.Vaadin.developmentMode)
8341
- return nn(s, t);
8341
+ return or(s, t);
8342
8342
  };
8343
8343
  window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = od());
8344
8344
  function ld() {
@@ -8835,7 +8835,7 @@ const dd = function() {
8835
8835
  * Code distributed by Google as part of the polymer project is also
8836
8836
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8837
8837
  */
8838
- let Ns = 0, rn = 0;
8838
+ let Ns = 0, rr = 0;
8839
8839
  const Me = [];
8840
8840
  let gi = !1;
8841
8841
  function cd() {
@@ -8852,7 +8852,7 @@ function cd() {
8852
8852
  });
8853
8853
  }
8854
8854
  }
8855
- Me.splice(0, s), rn += s;
8855
+ Me.splice(0, s), rr += s;
8856
8856
  }
8857
8857
  const Dt = {
8858
8858
  /**
@@ -8957,7 +8957,7 @@ const Dt = {
8957
8957
  * @return {void}
8958
8958
  */
8959
8959
  cancel(s) {
8960
- const t = s - rn;
8960
+ const t = s - rr;
8961
8961
  if (t >= 0) {
8962
8962
  if (!Me[t])
8963
8963
  throw new Error(`invalid async handle: ${s}`);
@@ -9081,7 +9081,7 @@ window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
9081
9081
  dd();
9082
9082
  };
9083
9083
  let Jt;
9084
- const Fs = /* @__PURE__ */ new Set(), an = (s) => class extends Mt(s) {
9084
+ const Fs = /* @__PURE__ */ new Set(), nr = (s) => class extends Mt(s) {
9085
9085
  /** @protected */
9086
9086
  static finalize() {
9087
9087
  super.finalize();
@@ -9140,9 +9140,9 @@ class _d {
9140
9140
  const t = this.slot.assignedNodes({ flatten: !0 });
9141
9141
  let e = [];
9142
9142
  const i = [], o = [];
9143
- t.length && (e = t.filter((n) => !this._storedNodes.includes(n))), this._storedNodes.length && this._storedNodes.forEach((n, r) => {
9144
- const a = t.indexOf(n);
9145
- a === -1 ? i.push(n) : a !== r && o.push(n);
9143
+ t.length && (e = t.filter((r) => !this._storedNodes.includes(r))), this._storedNodes.length && this._storedNodes.forEach((r, n) => {
9144
+ const a = t.indexOf(r);
9145
+ a === -1 ? i.push(r) : a !== n && o.push(r);
9146
9146
  }), (e.length || i.length || o.length) && this.callback({ addedNodes: e, currentNodes: t, movedNodes: o, removedNodes: i }), this._storedNodes = t;
9147
9147
  }
9148
9148
  }
@@ -9152,7 +9152,7 @@ class _d {
9152
9152
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9153
9153
  */
9154
9154
  let md = 0;
9155
- function ln() {
9155
+ function ar() {
9156
9156
  return md++;
9157
9157
  }
9158
9158
  /**
@@ -9170,12 +9170,12 @@ class ye extends EventTarget {
9170
9170
  * @protected
9171
9171
  */
9172
9172
  static generateId(t, e = "default") {
9173
- return `${e}-${t.localName}-${ln()}`;
9173
+ return `${e}-${t.localName}-${ar()}`;
9174
9174
  }
9175
9175
  constructor(t, e, i, o = {}) {
9176
9176
  super();
9177
- const { initializer: n, multiple: r, observe: a, useUniqueId: l, uniqueIdPrefix: d } = o;
9178
- this.host = t, this.slotName = e, this.tagName = i, this.observe = typeof a == "boolean" ? a : !0, this.multiple = typeof r == "boolean" ? r : !1, this.slotInitializer = n, r && (this.nodes = []), l && (this.defaultId = this.constructor.generateId(t, d || e));
9177
+ const { initializer: r, multiple: n, observe: a, useUniqueId: l, uniqueIdPrefix: d } = o;
9178
+ this.host = t, this.slotName = e, this.tagName = i, this.observe = typeof a == "boolean" ? a : !0, this.multiple = typeof n == "boolean" ? n : !1, this.slotInitializer = r, n && (this.nodes = []), l && (this.defaultId = this.constructor.generateId(t, d || e));
9179
9179
  }
9180
9180
  hostConnected() {
9181
9181
  this.initialized || (this.multiple ? this.initMultiple() : this.initSingle(), this.observe && this.observeSlot(), this.initialized = !0);
@@ -9262,11 +9262,11 @@ class ye extends EventTarget {
9262
9262
  */
9263
9263
  observeSlot() {
9264
9264
  const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
9265
- this.__slotObserver = new _d(i, ({ addedNodes: o, removedNodes: n }) => {
9266
- const r = this.multiple ? this.nodes : [this.node], a = o.filter((l) => !Xl(l) && !r.includes(l));
9267
- n.length && (this.nodes = r.filter((l) => !n.includes(l)), n.forEach((l) => {
9265
+ this.__slotObserver = new _d(i, ({ addedNodes: o, removedNodes: r }) => {
9266
+ const n = this.multiple ? this.nodes : [this.node], a = o.filter((l) => !Xl(l) && !n.includes(l));
9267
+ r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
9268
9268
  this.teardownNode(l);
9269
- })), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...r, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
9269
+ })), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
9270
9270
  this.initAddedNode(l);
9271
9271
  })) : (this.node && this.node.remove(), this.node = a[0], this.initAddedNode(this.node)));
9272
9272
  });
@@ -9277,7 +9277,7 @@ class ye extends EventTarget {
9277
9277
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
9278
9278
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9279
9279
  */
9280
- class dn extends ye {
9280
+ class lr extends ye {
9281
9281
  constructor(t) {
9282
9282
  super(t, "tooltip"), this.setTarget(t);
9283
9283
  }
@@ -9461,7 +9461,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
9461
9461
  Code distributed by Google as part of the polymer project is also
9462
9462
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9463
9463
  */
9464
- const bd = (s) => s, cn = typeof document.head.style.touchAction == "string", vi = "__polymerGestures", Qt = "__polymerGesturesHandled", wi = "__polymerGesturesTouchAction", Bs = 25, Ls = 5, vd = 2, wd = ["mousedown", "mousemove", "mouseup", "click"], xd = [0, 1, 4, 2], Cd = function() {
9464
+ const bd = (s) => s, dr = typeof document.head.style.touchAction == "string", vi = "__polymerGestures", Qt = "__polymerGesturesHandled", wi = "__polymerGesturesTouchAction", Bs = 25, Ls = 5, vd = 2, wd = ["mousedown", "mousemove", "mouseup", "click"], xd = [0, 1, 4, 2], Cd = function() {
9465
9465
  try {
9466
9466
  return new MouseEvent("test", { buttons: 1 }).buttons === 1;
9467
9467
  } catch (s) {
@@ -9524,7 +9524,7 @@ function kd(s) {
9524
9524
  }
9525
9525
  return !1;
9526
9526
  }
9527
- const re = {
9527
+ const ne = {
9528
9528
  touch: {
9529
9529
  x: 0,
9530
9530
  y: 0,
@@ -9534,7 +9534,7 @@ const re = {
9534
9534
  };
9535
9535
  function Td(s) {
9536
9536
  let t = "auto";
9537
- const e = hn(s);
9537
+ const e = ur(s);
9538
9538
  for (let i = 0, o; i < e.length; i++)
9539
9539
  if (o = e[i], o[wi]) {
9540
9540
  t = o[wi];
@@ -9542,13 +9542,13 @@ function Td(s) {
9542
9542
  }
9543
9543
  return t;
9544
9544
  }
9545
- function un(s, t, e) {
9545
+ function cr(s, t, e) {
9546
9546
  s.movefn = t, s.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
9547
9547
  }
9548
9548
  function Ie(s) {
9549
9549
  document.removeEventListener("mousemove", s.movefn), document.removeEventListener("mouseup", s.upfn), s.movefn = null, s.upfn = null;
9550
9550
  }
9551
- const hn = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (s) => s.composedPath && s.composedPath() || [], Ri = {}, be = [];
9551
+ const ur = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (s) => s.composedPath && s.composedPath() || [], Ri = {}, be = [];
9552
9552
  function Sd(s, t) {
9553
9553
  let e = document.elementFromPoint(s, t), i = e;
9554
9554
  for (; i && i.shadowRoot && !window.ShadyDOM; ) {
@@ -9560,7 +9560,7 @@ function Sd(s, t) {
9560
9560
  return e;
9561
9561
  }
9562
9562
  function ue(s) {
9563
- const t = hn(
9563
+ const t = ur(
9564
9564
  /** @type {?Event} */
9565
9565
  s
9566
9566
  );
@@ -9574,43 +9574,43 @@ function Od(s) {
9574
9574
  if (!o)
9575
9575
  return;
9576
9576
  if (!s[Qt] && (s[Qt] = {}, t.startsWith("touch"))) {
9577
- const r = s.changedTouches[0];
9578
- if (t === "touchstart" && s.touches.length === 1 && (re.touch.id = r.identifier), re.touch.id !== r.identifier)
9577
+ const n = s.changedTouches[0];
9578
+ if (t === "touchstart" && s.touches.length === 1 && (ne.touch.id = n.identifier), ne.touch.id !== n.identifier)
9579
9579
  return;
9580
- cn || (t === "touchstart" || t === "touchmove") && Md(s);
9580
+ dr || (t === "touchstart" || t === "touchmove") && Md(s);
9581
9581
  }
9582
- const n = s[Qt];
9583
- if (!n.skip) {
9584
- for (let r = 0, a; r < be.length; r++)
9585
- a = be[r], o[a.name] && !n[a.name] && a.flow && a.flow.start.indexOf(s.type) > -1 && a.reset && a.reset();
9586
- for (let r = 0, a; r < be.length; r++)
9587
- a = be[r], o[a.name] && !n[a.name] && (n[a.name] = !0, a[t](s));
9582
+ const r = s[Qt];
9583
+ if (!r.skip) {
9584
+ for (let n = 0, a; n < be.length; n++)
9585
+ a = be[n], o[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(s.type) > -1 && a.reset && a.reset();
9586
+ for (let n = 0, a; n < be.length; n++)
9587
+ a = be[n], o[a.name] && !r[a.name] && (r[a.name] = !0, a[t](s));
9588
9588
  }
9589
9589
  }
9590
9590
  function Md(s) {
9591
9591
  const t = s.changedTouches[0], e = s.type;
9592
9592
  if (e === "touchstart")
9593
- re.touch.x = t.clientX, re.touch.y = t.clientY, re.touch.scrollDecided = !1;
9593
+ ne.touch.x = t.clientX, ne.touch.y = t.clientY, ne.touch.scrollDecided = !1;
9594
9594
  else if (e === "touchmove") {
9595
- if (re.touch.scrollDecided)
9595
+ if (ne.touch.scrollDecided)
9596
9596
  return;
9597
- re.touch.scrollDecided = !0;
9597
+ ne.touch.scrollDecided = !0;
9598
9598
  const i = Td(s);
9599
9599
  let o = !1;
9600
- const n = Math.abs(re.touch.x - t.clientX), r = Math.abs(re.touch.y - t.clientY);
9601
- s.cancelable && (i === "none" ? o = !0 : i === "pan-x" ? o = r > n : i === "pan-y" && (o = n > r)), o ? s.preventDefault() : kt("track");
9600
+ const r = Math.abs(ne.touch.x - t.clientX), n = Math.abs(ne.touch.y - t.clientY);
9601
+ s.cancelable && (i === "none" ? o = !0 : i === "pan-x" ? o = n > r : i === "pan-y" && (o = r > n)), o ? s.preventDefault() : kt("track");
9602
9602
  }
9603
9603
  }
9604
9604
  function X(s, t, e) {
9605
9605
  return Ri[t] ? (Id(s, t, e), !0) : !1;
9606
9606
  }
9607
9607
  function Id(s, t, e) {
9608
- const i = Ri[t], o = i.deps, n = i.name;
9609
- let r = s[vi];
9610
- r || (s[vi] = r = {});
9608
+ const i = Ri[t], o = i.deps, r = i.name;
9609
+ let n = s[vi];
9610
+ n || (s[vi] = n = {});
9611
9611
  for (let a = 0, l, d; a < o.length; a++)
9612
- l = o[a], !(Pd && Hi(l) && l !== "click") && (d = r[l], d || (r[l] = d = { _count: 0 }), d._count === 0 && s.addEventListener(l, Od, Ed(l)), d[n] = (d[n] || 0) + 1, d._count = (d._count || 0) + 1);
9613
- s.addEventListener(t, e), i.touchAction && pn(s, i.touchAction);
9612
+ l = o[a], !(Pd && Hi(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && s.addEventListener(l, Od, Ed(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
9613
+ s.addEventListener(t, e), i.touchAction && hr(s, i.touchAction);
9614
9614
  }
9615
9615
  function $i(s) {
9616
9616
  be.push(s), s.emits.forEach((t) => {
@@ -9626,8 +9626,8 @@ function Nd(s) {
9626
9626
  }
9627
9627
  return null;
9628
9628
  }
9629
- function pn(s, t) {
9630
- cn && s instanceof HTMLElement && pd.run(() => {
9629
+ function hr(s, t) {
9630
+ dr && s instanceof HTMLElement && pd.run(() => {
9631
9631
  s.style.touchAction = t;
9632
9632
  }), s[wi] = t;
9633
9633
  }
@@ -9672,12 +9672,12 @@ $i({
9672
9672
  mousedown(s) {
9673
9673
  if (!ve(s))
9674
9674
  return;
9675
- const t = ue(s), e = this, i = (n) => {
9676
- ve(n) || (Ge("up", t, n), Ie(e.info));
9677
- }, o = (n) => {
9678
- ve(n) && Ge("up", t, n), Ie(e.info);
9675
+ const t = ue(s), e = this, i = (r) => {
9676
+ ve(r) || (Ge("up", t, r), Ie(e.info));
9677
+ }, o = (r) => {
9678
+ ve(r) && Ge("up", t, r), Ie(e.info);
9679
9679
  };
9680
- un(this.info, i, o), Ge("down", t, s);
9680
+ cr(this.info, i, o), Ge("down", t, s);
9681
9681
  },
9682
9682
  /**
9683
9683
  * @this {GestureRecognizer}
@@ -9745,13 +9745,13 @@ $i({
9745
9745
  mousedown(s) {
9746
9746
  if (!ve(s))
9747
9747
  return;
9748
- const t = ue(s), e = this, i = (n) => {
9749
- const r = n.clientX, a = n.clientY;
9750
- zs(e.info, r, a) && (e.info.state = e.info.started ? n.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && kt("tap"), e.info.addMove({ x: r, y: a }), ve(n) || (e.info.state = "end", Ie(e.info)), t && Zt(e.info, t, n), e.info.started = !0);
9751
- }, o = (n) => {
9752
- e.info.started && i(n), Ie(e.info);
9748
+ const t = ue(s), e = this, i = (r) => {
9749
+ const n = r.clientX, a = r.clientY;
9750
+ zs(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && kt("tap"), e.info.addMove({ x: n, y: a }), ve(r) || (e.info.state = "end", Ie(e.info)), t && Zt(e.info, t, r), e.info.started = !0);
9751
+ }, o = (r) => {
9752
+ e.info.started && i(r), Ie(e.info);
9753
9753
  };
9754
- un(this.info, i, o), this.info.x = s.clientX, this.info.y = s.clientY;
9754
+ cr(this.info, i, o), this.info.x = s.clientX, this.info.y = s.clientY;
9755
9755
  },
9756
9756
  /**
9757
9757
  * @this {GestureRecognizer}
@@ -9792,14 +9792,14 @@ function zs(s, t, e) {
9792
9792
  function Zt(s, t, e) {
9793
9793
  if (!t)
9794
9794
  return;
9795
- const i = s.moves[s.moves.length - 2], o = s.moves[s.moves.length - 1], n = o.x - s.x, r = o.y - s.y;
9795
+ const i = s.moves[s.moves.length - 2], o = s.moves[s.moves.length - 1], r = o.x - s.x, n = o.y - s.y;
9796
9796
  let a, l = 0;
9797
9797
  i && (a = o.x - i.x, l = o.y - i.y), Vi(t, "track", {
9798
9798
  state: s.state,
9799
9799
  x: e.clientX,
9800
9800
  y: e.clientY,
9801
- dx: n,
9802
- dy: r,
9801
+ dx: r,
9802
+ dy: n,
9803
9803
  ddx: a,
9804
9804
  ddy: l,
9805
9805
  sourceEvent: e,
@@ -9863,11 +9863,11 @@ $i({
9863
9863
  }
9864
9864
  });
9865
9865
  function Hs(s, t, e) {
9866
- const i = Math.abs(t.clientX - s.x), o = Math.abs(t.clientY - s.y), n = ue(e || t);
9867
- !n || Dd[
9866
+ const i = Math.abs(t.clientX - s.x), o = Math.abs(t.clientY - s.y), r = ue(e || t);
9867
+ !r || Dd[
9868
9868
  /** @type {!HTMLElement} */
9869
- n.localName
9870
- ] && n.hasAttribute("disabled") || (isNaN(i) || isNaN(o) || i <= Bs && o <= Bs || kd(t)) && (s.prevent || Vi(n, "tap", {
9869
+ r.localName
9870
+ ] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(o) || i <= Bs && o <= Bs || kd(t)) && (s.prevent || Vi(r, "tap", {
9871
9871
  x: t.clientX,
9872
9872
  y: t.clientY,
9873
9873
  sourceEvent: t,
@@ -9879,7 +9879,7 @@ function Hs(s, t, e) {
9879
9879
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9880
9880
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9881
9881
  */
9882
- const fn = M(
9882
+ const pr = M(
9883
9883
  (s) => class extends s {
9884
9884
  static get properties() {
9885
9885
  return {
@@ -9987,7 +9987,7 @@ const Ft = M(
9987
9987
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9988
9988
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9989
9989
  */
9990
- const Fd = (s) => class extends fn(Ft(s)) {
9990
+ const Fd = (s) => class extends pr(Ft(s)) {
9991
9991
  /**
9992
9992
  * An array of activation keys.
9993
9993
  *
@@ -10107,7 +10107,7 @@ const Yi = M(
10107
10107
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
10108
10108
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10109
10109
  */
10110
- const _n = (s) => class extends fn(s) {
10110
+ const fr = (s) => class extends pr(s) {
10111
10111
  static get properties() {
10112
10112
  return {
10113
10113
  /**
@@ -10158,7 +10158,7 @@ const _n = (s) => class extends fn(s) {
10158
10158
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
10159
10159
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10160
10160
  */
10161
- const Bd = (s) => class extends Fd(_n(Yi(s))) {
10161
+ const Bd = (s) => class extends Fd(fr(Yi(s))) {
10162
10162
  static get properties() {
10163
10163
  return {
10164
10164
  /**
@@ -10214,7 +10214,7 @@ const Bd = (s) => class extends Fd(_n(Yi(s))) {
10214
10214
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10215
10215
  */
10216
10216
  S("vaadin-button", gd, { moduleId: "vaadin-button-styles" });
10217
- class Ld extends Bd(an(xe(He(he)))) {
10217
+ class Ld extends Bd(nr(xe(He(he)))) {
10218
10218
  static get is() {
10219
10219
  return "vaadin-button";
10220
10220
  }
@@ -10223,7 +10223,7 @@ class Ld extends Bd(an(xe(He(he)))) {
10223
10223
  }
10224
10224
  /** @protected */
10225
10225
  ready() {
10226
- super.ready(), this._tooltipController = new dn(this), this.addController(this._tooltipController);
10226
+ super.ready(), this._tooltipController = new lr(this), this.addController(this._tooltipController);
10227
10227
  }
10228
10228
  }
10229
10229
  Z(Ld);
@@ -10237,8 +10237,8 @@ function zd(s) {
10237
10237
  t === 0 && (t = 7);
10238
10238
  const e = 4 - t, i = new Date(s.getTime() + e * 24 * 3600 * 1e3), o = new Date(0, 0);
10239
10239
  o.setFullYear(i.getFullYear());
10240
- const n = i.getTime() - o.getTime(), r = Math.round(n / (24 * 3600 * 1e3));
10241
- return Math.floor(r / 7 + 1);
10240
+ const r = i.getTime() - o.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
10241
+ return Math.floor(n / 7 + 1);
10242
10242
  }
10243
10243
  function xi(s) {
10244
10244
  const t = new Date(s);
@@ -10257,22 +10257,22 @@ function Ui(s) {
10257
10257
  function Le(s, t, e, i) {
10258
10258
  let o = !1;
10259
10259
  if (typeof i == "function" && s) {
10260
- const n = Ui(s);
10261
- o = i(n);
10260
+ const r = Ui(s);
10261
+ o = i(r);
10262
10262
  }
10263
10263
  return (!t || s >= t) && (!e || s <= e) && !o;
10264
10264
  }
10265
- function mn(s, t) {
10265
+ function _r(s, t) {
10266
10266
  return t.filter((e) => e !== void 0).reduce((e, i) => {
10267
10267
  if (!i)
10268
10268
  return e;
10269
10269
  if (!e)
10270
10270
  return i;
10271
- const o = Math.abs(s.getTime() - i.getTime()), n = Math.abs(e.getTime() - s.getTime());
10272
- return o < n ? i : e;
10271
+ const o = Math.abs(s.getTime() - i.getTime()), r = Math.abs(e.getTime() - s.getTime());
10272
+ return o < r ? i : e;
10273
10273
  });
10274
10274
  }
10275
- function gn(s) {
10275
+ function mr(s) {
10276
10276
  const t = /* @__PURE__ */ new Date(), e = new Date(t);
10277
10277
  return e.setDate(1), e.setMonth(parseInt(s) + t.getMonth()), e;
10278
10278
  }
@@ -10295,8 +10295,8 @@ function Rd(s) {
10295
10295
  const t = (l, d = "00") => (d + l).substr((d + l).length - d.length);
10296
10296
  let e = "", i = "0000", o = s.year;
10297
10297
  o < 0 ? (o = -o, e = "-", i = "000000") : s.year >= 1e4 && (e = "+", i = "000000");
10298
- const n = e + t(o, i), r = t(s.month + 1), a = t(s.day);
10299
- return [n, r, a].join("-");
10298
+ const r = e + t(o, i), n = t(s.month + 1), a = t(s.day);
10299
+ return [r, n, a].join("-");
10300
10300
  }
10301
10301
  function $d(s) {
10302
10302
  return s instanceof Date ? Rd({
@@ -10440,8 +10440,8 @@ const Wi = function() {
10440
10440
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
10441
10441
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10442
10442
  */
10443
- const yn = document.createElement("template");
10444
- yn.innerHTML = `
10443
+ const gr = document.createElement("template");
10444
+ gr.innerHTML = `
10445
10445
  <style>
10446
10446
  :host {
10447
10447
  display: block;
@@ -10492,9 +10492,9 @@ yn.innerHTML = `
10492
10492
  <div id="fullHeight"></div>
10493
10493
  </div>
10494
10494
  `;
10495
- class bn extends HTMLElement {
10495
+ class yr extends HTMLElement {
10496
10496
  constructor() {
10497
- super(), this.attachShadow({ mode: "open" }).appendChild(yn.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
10497
+ super(), this.attachShadow({ mode: "open" }).appendChild(gr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
10498
10498
  }
10499
10499
  /**
10500
10500
  * @return {boolean}
@@ -10595,8 +10595,8 @@ class bn extends HTMLElement {
10595
10595
  (t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
10596
10596
  const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, o = t < this._buffers[0].translateY + e;
10597
10597
  (i || o) && (this._translateBuffer(o), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = Be.debounce(this._debouncerScrollFinish, Dt.after(200), () => {
10598
- const n = this.$.scroller.getBoundingClientRect();
10599
- !this._isVisible(this._buffers[0], n) && !this._isVisible(this._buffers[1], n) && (this.position = this.position);
10598
+ const r = this.$.scroller.getBoundingClientRect();
10599
+ !this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
10600
10600
  });
10601
10601
  }
10602
10602
  /** @private */
@@ -10614,8 +10614,8 @@ class bn extends HTMLElement {
10614
10614
  for (let i = 0; i < this.bufferSize; i++) {
10615
10615
  const o = document.createElement("div");
10616
10616
  o.style.height = `${this.itemHeight}px`, o.instance = {};
10617
- const n = `vaadin-infinite-scroller-item-content-${ln()}`, r = document.createElement("slot");
10618
- r.setAttribute("name", n), r._itemWrapper = o, e.appendChild(r), o.setAttribute("slot", n), this.appendChild(o), this._isVisible(o, t) && this._ensureStampedInstance(o);
10617
+ const r = `vaadin-infinite-scroller-item-content-${ar()}`, n = document.createElement("slot");
10618
+ n.setAttribute("name", r), n._itemWrapper = o, e.appendChild(n), o.setAttribute("slot", r), this.appendChild(o), this._isVisible(o, t) && this._ensureStampedInstance(o);
10619
10619
  }
10620
10620
  }), this.__pendingFinishInit = requestAnimationFrame(() => {
10621
10621
  this._finishInit(), this.__pendingFinishInit = null;
@@ -10636,10 +10636,10 @@ class bn extends HTMLElement {
10636
10636
  const e = t ? this.$.scroller.getBoundingClientRect() : void 0;
10637
10637
  this._buffers.forEach((i, o) => {
10638
10638
  if (!i.updated) {
10639
- const n = this._firstIndex + this.bufferSize * o;
10640
- [...i.children].forEach((r, a) => {
10641
- const l = r._itemWrapper;
10642
- (!t || this._isVisible(l, e)) && this._updateElement(l.instance, n + a);
10639
+ const r = this._firstIndex + this.bufferSize * o;
10640
+ [...i.children].forEach((n, a) => {
10641
+ const l = n._itemWrapper;
10642
+ (!t || this._isVisible(l, e)) && this._updateElement(l.instance, r + a);
10643
10643
  }), i.updated = !0;
10644
10644
  }
10645
10645
  });
@@ -10655,8 +10655,8 @@ class bn extends HTMLElement {
10655
10655
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
10656
10656
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10657
10657
  */
10658
- const vn = document.createElement("template");
10659
- vn.innerHTML = `
10658
+ const br = document.createElement("template");
10659
+ br.innerHTML = `
10660
10660
  <style>
10661
10661
  :host {
10662
10662
  --vaadin-infinite-scroller-item-height: 270px;
@@ -10669,12 +10669,12 @@ vn.innerHTML = `
10669
10669
  }
10670
10670
  </style>
10671
10671
  `;
10672
- class Ud extends bn {
10672
+ class Ud extends yr {
10673
10673
  static get is() {
10674
10674
  return "vaadin-date-picker-month-scroller";
10675
10675
  }
10676
10676
  constructor() {
10677
- super(), this.bufferSize = 3, this.shadowRoot.appendChild(vn.content.cloneNode(!0));
10677
+ super(), this.bufferSize = 3, this.shadowRoot.appendChild(br.content.cloneNode(!0));
10678
10678
  }
10679
10679
  /**
10680
10680
  * @protected
@@ -10690,7 +10690,7 @@ class Ud extends bn {
10690
10690
  * @override
10691
10691
  */
10692
10692
  _updateElement(t, e) {
10693
- t.month = gn(e);
10693
+ t.month = mr(e);
10694
10694
  }
10695
10695
  }
10696
10696
  Z(Ud);
@@ -10699,8 +10699,8 @@ Z(Ud);
10699
10699
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
10700
10700
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10701
10701
  */
10702
- const wn = document.createElement("template");
10703
- wn.innerHTML = `
10702
+ const vr = document.createElement("template");
10703
+ vr.innerHTML = `
10704
10704
  <style>
10705
10705
  :host {
10706
10706
  --vaadin-infinite-scroller-item-height: 80px;
@@ -10735,12 +10735,12 @@ wn.innerHTML = `
10735
10735
  }
10736
10736
  </style>
10737
10737
  `;
10738
- class Wd extends bn {
10738
+ class Wd extends yr {
10739
10739
  static get is() {
10740
10740
  return "vaadin-date-picker-year-scroller";
10741
10741
  }
10742
10742
  constructor() {
10743
- super(), this.bufferSize = 12, this.shadowRoot.appendChild(wn.content.cloneNode(!0));
10743
+ super(), this.bufferSize = 12, this.shadowRoot.appendChild(vr.content.cloneNode(!0));
10744
10744
  }
10745
10745
  /**
10746
10746
  * @protected
@@ -10824,10 +10824,10 @@ Code distributed by Google as part of the polymer project is also
10824
10824
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10825
10825
  */
10826
10826
  function ji(s, t, e, i, o) {
10827
- let n;
10828
- o && (n = typeof e == "object" && e !== null, n && (i = s.__dataTemp[t]));
10829
- let r = i !== e && (i === i || e === e);
10830
- return n && r && (s.__dataTemp[t] = e), r;
10827
+ let r;
10828
+ o && (r = typeof e == "object" && e !== null, r && (i = s.__dataTemp[t]));
10829
+ let n = i !== e && (i === i || e === e);
10830
+ return r && n && (s.__dataTemp[t] = e), n;
10831
10831
  }
10832
10832
  const qi = M((s) => {
10833
10833
  class t extends s {
@@ -10848,8 +10848,8 @@ const qi = M((s) => {
10848
10848
  * @return {boolean} Whether the property should be considered a change
10849
10849
  * @protected
10850
10850
  */
10851
- _shouldPropertyChange(i, o, n) {
10852
- return ji(this, i, o, n, !0);
10851
+ _shouldPropertyChange(i, o, r) {
10852
+ return ji(this, i, o, r, !0);
10853
10853
  }
10854
10854
  }
10855
10855
  return t;
@@ -10884,8 +10884,8 @@ const qi = M((s) => {
10884
10884
  * @return {boolean} Whether the property should be considered a change
10885
10885
  * @protected
10886
10886
  */
10887
- _shouldPropertyChange(i, o, n) {
10888
- return ji(this, i, o, n, this.mutableData);
10887
+ _shouldPropertyChange(i, o, r) {
10888
+ return ji(this, i, o, r, this.mutableData);
10889
10889
  }
10890
10890
  }
10891
10891
  return t;
@@ -10910,7 +10910,7 @@ Ai.prototype = Object.create(HTMLTemplateElement.prototype, {
10910
10910
  writable: !0
10911
10911
  }
10912
10912
  });
10913
- const xn = Fi(Ai), Kd = qi(xn);
10913
+ const wr = Fi(Ai), Kd = qi(wr);
10914
10914
  function Xd(s, t) {
10915
10915
  Ci = s, Object.setPrototypeOf(s, t.prototype), new t(), Ci = null;
10916
10916
  }
@@ -11075,33 +11075,33 @@ function ec(s, t, e) {
11075
11075
  function tc(s, t, e, i) {
11076
11076
  let o = e.forwardHostProp;
11077
11077
  if (o && t.hasHostProps) {
11078
- const n = s.localName == "template";
11079
- let r = t.templatizeTemplateClass;
11080
- if (!r) {
11081
- if (n) {
11082
- let l = e.mutableData ? Kd : xn;
11078
+ const r = s.localName == "template";
11079
+ let n = t.templatizeTemplateClass;
11080
+ if (!n) {
11081
+ if (r) {
11082
+ let l = e.mutableData ? Kd : wr;
11083
11083
  class d extends l {
11084
11084
  }
11085
- r = t.templatizeTemplateClass = d;
11085
+ n = t.templatizeTemplateClass = d;
11086
11086
  } else {
11087
11087
  const l = s.constructor;
11088
11088
  class d extends l {
11089
11089
  }
11090
- r = t.templatizeTemplateClass = d;
11090
+ n = t.templatizeTemplateClass = d;
11091
11091
  }
11092
11092
  let a = t.hostProps;
11093
11093
  for (let l in a)
11094
- r.prototype._addPropertyEffect(
11094
+ n.prototype._addPropertyEffect(
11095
11095
  "_host_" + l,
11096
- r.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
11096
+ n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
11097
11097
  { fn: ic(l, o) }
11098
- ), r.prototype._createNotifyingProperty("_host_" + l);
11099
- Po && i && rc(t, e, i);
11098
+ ), n.prototype._createNotifyingProperty("_host_" + l);
11099
+ Po && i && nc(t, e, i);
11100
11100
  }
11101
- if (s.__dataProto && Object.assign(s.__data, s.__dataProto), n)
11102
- Xd(s, r), s.__dataTemp = {}, s.__dataPending = null, s.__dataOld = null, s._enableProperties();
11101
+ if (s.__dataProto && Object.assign(s.__data, s.__dataProto), r)
11102
+ Xd(s, n), s.__dataTemp = {}, s.__dataPending = null, s.__dataOld = null, s._enableProperties();
11103
11103
  else {
11104
- Object.setPrototypeOf(s, r.prototype);
11104
+ Object.setPrototypeOf(s, n.prototype);
11105
11105
  const a = t.hostProps;
11106
11106
  for (let l in a)
11107
11107
  if (l = "_host_" + l, l in s) {
@@ -11112,44 +11112,44 @@ function tc(s, t, e, i) {
11112
11112
  }
11113
11113
  }
11114
11114
  function ic(s, t) {
11115
- return function(i, o, n) {
11115
+ return function(i, o, r) {
11116
11116
  t.call(
11117
11117
  i.__templatizeOwner,
11118
11118
  o.substring(6),
11119
- n[o]
11119
+ r[o]
11120
11120
  );
11121
11121
  };
11122
11122
  }
11123
11123
  function sc(s, t, e, i) {
11124
11124
  let o = e.hostProps || {};
11125
- for (let n in i.instanceProps) {
11126
- delete o[n];
11127
- let r = i.notifyInstanceProp;
11128
- r && s.prototype._addPropertyEffect(
11129
- n,
11125
+ for (let r in i.instanceProps) {
11126
+ delete o[r];
11127
+ let n = i.notifyInstanceProp;
11128
+ n && s.prototype._addPropertyEffect(
11129
+ r,
11130
11130
  s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
11131
- { fn: oc(n, r) }
11131
+ { fn: oc(r, n) }
11132
11132
  );
11133
11133
  }
11134
11134
  if (i.forwardHostProp && t.__dataHost)
11135
- for (let n in o)
11135
+ for (let r in o)
11136
11136
  e.hasHostProps || (e.hasHostProps = !0), s.prototype._addPropertyEffect(
11137
- n,
11137
+ r,
11138
11138
  s.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
11139
- { fn: nc() }
11139
+ { fn: rc() }
11140
11140
  );
11141
11141
  }
11142
11142
  function oc(s, t) {
11143
- return function(i, o, n) {
11143
+ return function(i, o, r) {
11144
11144
  t.call(
11145
11145
  i.__templatizeOwner,
11146
11146
  i,
11147
11147
  o,
11148
- n[o]
11148
+ r[o]
11149
11149
  );
11150
11150
  };
11151
11151
  }
11152
- function nc() {
11152
+ function rc() {
11153
11153
  return function(t, e, i) {
11154
11154
  t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
11155
11155
  };
@@ -11161,26 +11161,26 @@ function Ei(s, t, e) {
11161
11161
  e || {}, s.__templatizeOwner)
11162
11162
  throw new Error("A <template> can only be templatized once");
11163
11163
  s.__templatizeOwner = t;
11164
- let o = (t ? t.constructor : pe)._parseTemplate(s), n = o.templatizeInstanceClass;
11165
- n || (n = ec(s, o, e), o.templatizeInstanceClass = n);
11166
- const r = Rs(s);
11167
- tc(s, o, e, r);
11168
- let a = class extends n {
11164
+ let o = (t ? t.constructor : pe)._parseTemplate(s), r = o.templatizeInstanceClass;
11165
+ r || (r = ec(s, o, e), o.templatizeInstanceClass = r);
11166
+ const n = Rs(s);
11167
+ tc(s, o, e, n);
11168
+ let a = class extends r {
11169
11169
  };
11170
- return a.prototype._methodHost = r, a.prototype.__dataHost = /** @type {!DataTemplate} */
11170
+ return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
11171
11171
  s, a.prototype.__templatizeOwner = /** @type {!Object} */
11172
11172
  t, a.prototype.__hostProps = o.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
11173
11173
  a, a;
11174
11174
  }
11175
- function rc(s, t, e) {
11176
- const i = e.constructor._properties, { propertyEffects: o } = s, { instanceProps: n } = t;
11177
- for (let r in o)
11178
- if (!i[r] && !(n && n[r])) {
11179
- const a = o[r];
11175
+ function nc(s, t, e) {
11176
+ const i = e.constructor._properties, { propertyEffects: o } = s, { instanceProps: r } = t;
11177
+ for (let n in o)
11178
+ if (!i[n] && !(r && r[n])) {
11179
+ const a = o[n];
11180
11180
  for (let l = 0; l < a.length; l++) {
11181
11181
  const { part: d } = a[l].info;
11182
11182
  if (!(d.signature && d.signature.static)) {
11183
- console.warn(`Property '${r}' used in template but not declared in 'properties'; attribute will not be observed.`);
11183
+ console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);
11184
11184
  break;
11185
11185
  }
11186
11186
  }
@@ -11445,10 +11445,10 @@ class Vs extends dc {
11445
11445
  * @param {string} prop Property to set
11446
11446
  * @param {*} value Value to set property to
11447
11447
  */
11448
- forwardHostProp: function(o, n) {
11449
- let r = this.__instances;
11450
- for (let a = 0, l; a < r.length && (l = r[a]); a++)
11451
- l.forwardHostProp(o, n);
11448
+ forwardHostProp: function(o, r) {
11449
+ let n = this.__instances;
11450
+ for (let a = 0, l; a < n.length && (l = n[a]); a++)
11451
+ l.forwardHostProp(o, r);
11452
11452
  },
11453
11453
  /**
11454
11454
  * @this {DomRepeat}
@@ -11456,12 +11456,12 @@ class Vs extends dc {
11456
11456
  * @param {string} prop Property to notify
11457
11457
  * @param {*} value Value to notify
11458
11458
  */
11459
- notifyInstanceProp: function(o, n, r) {
11460
- if (pa(this.as, n)) {
11459
+ notifyInstanceProp: function(o, r, n) {
11460
+ if (pa(this.as, r)) {
11461
11461
  let a = o[this.itemsIndexAs];
11462
- n == this.as && (this.items[a] = r);
11463
- let l = rt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, n);
11464
- this.notifyPath(l, r);
11462
+ r == this.as && (this.items[a] = n);
11463
+ let l = nt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
11464
+ this.notifyPath(l, n);
11465
11465
  }
11466
11466
  }
11467
11467
  });
@@ -11544,7 +11544,7 @@ class Vs extends dc {
11544
11544
  let e = new Array(t.length);
11545
11545
  for (let i = 0; i < t.length; i++)
11546
11546
  e[i] = i;
11547
- return this.__filterFn && (e = e.filter((i, o, n) => this.__filterFn(t[i], o, n))), this.__sortFn && e.sort((i, o) => this.__sortFn(t[i], t[o])), e;
11547
+ return this.__filterFn && (e = e.filter((i, o, r) => this.__filterFn(t[i], o, r))), this.__sortFn && e.sort((i, o) => this.__sortFn(t[i], t[o])), e;
11548
11548
  }
11549
11549
  __calculateLimit(t) {
11550
11550
  let e = t;
@@ -11567,20 +11567,20 @@ class Vs extends dc {
11567
11567
  }
11568
11568
  __updateInstances(t, e, i) {
11569
11569
  const o = this.__itemsIdxToInstIdx = {};
11570
- let n;
11571
- for (n = 0; n < e; n++) {
11572
- let r = this.__instances[n], a = i[n], l = t[a];
11573
- o[a] = n, r ? (r._setPendingProperty(this.as, l), r._setPendingProperty(this.indexAs, n), r._setPendingProperty(this.itemsIndexAs, a), r._flushProperties()) : this.__insertInstance(l, n, a);
11570
+ let r;
11571
+ for (r = 0; r < e; r++) {
11572
+ let n = this.__instances[r], a = i[r], l = t[a];
11573
+ o[a] = r, n ? (n._setPendingProperty(this.as, l), n._setPendingProperty(this.indexAs, r), n._setPendingProperty(this.itemsIndexAs, a), n._flushProperties()) : this.__insertInstance(l, r, a);
11574
11574
  }
11575
- for (let r = this.__instances.length - 1; r >= n; r--)
11576
- this.__detachAndRemoveInstance(r);
11575
+ for (let n = this.__instances.length - 1; n >= r; n--)
11576
+ this.__detachAndRemoveInstance(n);
11577
11577
  }
11578
11578
  __detachInstance(t) {
11579
11579
  let e = this.__instances[t];
11580
11580
  const i = L(e.root);
11581
11581
  for (let o = 0; o < e.children.length; o++) {
11582
- let n = e.children[o];
11583
- i.appendChild(n);
11582
+ let r = e.children[o];
11583
+ i.appendChild(r);
11584
11584
  }
11585
11585
  return e;
11586
11586
  }
@@ -11597,8 +11597,8 @@ class Vs extends dc {
11597
11597
  }
11598
11598
  __insertInstance(t, e, i) {
11599
11599
  const o = this.__stampInstance(t, e, i);
11600
- let n = this.__instances[e + 1], r = n ? n.children[0] : this;
11601
- return L(L(this).parentNode).insertBefore(o.root, r), this.__instances[e] = o, o;
11600
+ let r = this.__instances[e + 1], n = r ? r.children[0] : this;
11601
+ return L(L(this).parentNode).insertBefore(o.root, n), this.__instances[e] = o, o;
11602
11602
  }
11603
11603
  // Implements extension point from Templatize mixin
11604
11604
  /**
@@ -11617,13 +11617,13 @@ class Vs extends dc {
11617
11617
  // Called as a side effect of a host items.<key>.<path> path change,
11618
11618
  // responsible for notifying item.<path> changes to inst for key
11619
11619
  __handleItemPath(t, e) {
11620
- let i = t.slice(6), o = i.indexOf("."), n = o < 0 ? i : i.substring(0, o);
11621
- if (n == parseInt(n, 10)) {
11622
- let r = o < 0 ? "" : i.substring(o + 1);
11623
- this.__handleObservedPaths(r);
11624
- let a = this.__itemsIdxToInstIdx[n], l = this.__instances[a];
11620
+ let i = t.slice(6), o = i.indexOf("."), r = o < 0 ? i : i.substring(0, o);
11621
+ if (r == parseInt(r, 10)) {
11622
+ let n = o < 0 ? "" : i.substring(o + 1);
11623
+ this.__handleObservedPaths(n);
11624
+ let a = this.__itemsIdxToInstIdx[r], l = this.__instances[a];
11625
11625
  if (l) {
11626
- let d = this.as + (r ? "." + r : "");
11626
+ let d = this.as + (n ? "." + n : "");
11627
11627
  l._setPendingPropertyOrPath(d, e, !1, !0), l._flushProperties();
11628
11628
  }
11629
11629
  return !0;
@@ -11798,10 +11798,10 @@ const cc = (s) => class extends Yi(s) {
11798
11798
  * @protected
11799
11799
  */
11800
11800
  _isDisabled(e, i, o) {
11801
- const n = new Date(0, 0);
11802
- n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth()), n.setDate(1);
11803
11801
  const r = new Date(0, 0);
11804
- return r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth() + 1), r.setDate(0), i && o && i.getMonth() === o.getMonth() && i.getMonth() === e.getMonth() && o.getDate() - i.getDate() >= 0 ? !1 : !Le(n, i, o) && !Le(r, i, o);
11802
+ r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
11803
+ const n = new Date(0, 0);
11804
+ return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && o && i.getMonth() === o.getMonth() && i.getMonth() === e.getMonth() && o.getDate() - i.getDate() >= 0 ? !1 : !Le(r, i, o) && !Le(n, i, o);
11805
11805
  }
11806
11806
  /** @protected */
11807
11807
  _getTitle(e, i) {
@@ -11827,8 +11827,8 @@ const cc = (s) => class extends Yi(s) {
11827
11827
  _getWeekDayNames(e, i) {
11828
11828
  if (e === void 0 || i === void 0)
11829
11829
  return [];
11830
- const { weekdays: o, weekdaysShort: n, firstDayOfWeek: r } = e, a = this._applyFirstDayOfWeek(n, r);
11831
- return this._applyFirstDayOfWeek(o, r).map((d, c) => ({
11830
+ const { weekdays: o, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
11831
+ return this._applyFirstDayOfWeek(o, n).map((d, c) => ({
11832
11832
  weekDay: d,
11833
11833
  weekDayShort: a[c]
11834
11834
  })).slice(0, 7);
@@ -11856,14 +11856,14 @@ const cc = (s) => class extends Yi(s) {
11856
11856
  const o = new Date(0, 0);
11857
11857
  for (o.setFullYear(e.getFullYear()), o.setMonth(e.getMonth()), o.setDate(1); o.getDay() !== i.firstDayOfWeek; )
11858
11858
  this._dateAdd(o, -1);
11859
- const n = [], r = o.getMonth(), a = e.getMonth();
11860
- for (; o.getMonth() === a || o.getMonth() === r; )
11861
- n.push(o.getMonth() === a ? new Date(o.getTime()) : null), this._dateAdd(o, 1);
11862
- return n;
11859
+ const r = [], n = o.getMonth(), a = e.getMonth();
11860
+ for (; o.getMonth() === a || o.getMonth() === n; )
11861
+ r.push(o.getMonth() === a ? new Date(o.getTime()) : null), this._dateAdd(o, 1);
11862
+ return r;
11863
11863
  }
11864
11864
  /** @protected */
11865
11865
  _getWeeks(e) {
11866
- return e.reduce((i, o, n) => (n % 7 === 0 && i.push([]), i[i.length - 1].push(o), i), []);
11866
+ return e.reduce((i, o, r) => (r % 7 === 0 && i.push([]), i[i.length - 1].push(o), i), []);
11867
11867
  }
11868
11868
  /** @protected */
11869
11869
  _handleTap(e) {
@@ -11877,7 +11877,7 @@ const cc = (s) => class extends Yi(s) {
11877
11877
  }
11878
11878
  /** @protected */
11879
11879
  __getWeekNumber(e) {
11880
- const i = e.reduce((o, n) => !o && n ? n : o);
11880
+ const i = e.reduce((o, r) => !o && r ? r : o);
11881
11881
  return zd(i);
11882
11882
  }
11883
11883
  /** @protected */
@@ -12035,9 +12035,9 @@ class hc extends cc(xe(he)) {
12035
12035
  }
12036
12036
  /** @private */
12037
12037
  // eslint-disable-next-line @typescript-eslint/max-params
12038
- __getDatePart(t, e, i, o, n, r, a, l) {
12038
+ __getDatePart(t, e, i, o, r, n, a, l) {
12039
12039
  const d = ["date"], c = t > xi(/* @__PURE__ */ new Date()), u = t < xi(/* @__PURE__ */ new Date());
12040
- return this.__isDayDisabled(t, o, n, r) && d.push("disabled"), q(t, e) && (l || q(t, a)) && d.push("focused"), this.__isDaySelected(t, i) && d.push("selected"), this._isToday(t) && d.push("today"), u && d.push("past"), c && d.push("future"), d.join(" ");
12040
+ return this.__isDayDisabled(t, o, r, n) && d.push("disabled"), q(t, e) && (l || q(t, a)) && d.push("focused"), this.__isDaySelected(t, i) && d.push("selected"), this._isToday(t) && d.push("today"), u && d.push("past"), c && d.push("future"), d.join(" ");
12041
12041
  }
12042
12042
  /** @private */
12043
12043
  __isDaySelected(t, e) {
@@ -12068,7 +12068,7 @@ Z(hc);
12068
12068
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
12069
12069
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12070
12070
  */
12071
- class Cn {
12071
+ class xr {
12072
12072
  constructor(t, e) {
12073
12073
  this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
12074
12074
  }
@@ -12229,7 +12229,7 @@ const pc = (s) => class extends s {
12229
12229
  }
12230
12230
  /** @protected */
12231
12231
  _addListeners() {
12232
- pn(this.$.scrollers, "pan-y"), X(this.$.scrollers, "track", this._track.bind(this)), X(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), X(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), X(
12232
+ hr(this.$.scrollers, "pan-y"), X(this.$.scrollers, "track", this._track.bind(this)), X(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), X(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), X(
12233
12233
  this.shadowRoot.querySelector('[part="years-toggle-button"]'),
12234
12234
  "tap",
12235
12235
  this._toggleYearScroller.bind(this)
@@ -12238,7 +12238,7 @@ const pc = (s) => class extends s {
12238
12238
  /** @protected */
12239
12239
  _initControllers() {
12240
12240
  this.addController(
12241
- new Cn(this._desktopMediaQuery, (e) => {
12241
+ new xr(this._desktopMediaQuery, (e) => {
12242
12242
  this._desktopMode = e;
12243
12243
  })
12244
12244
  ), this.addController(
@@ -12288,8 +12288,8 @@ const pc = (s) => class extends s {
12288
12288
  }), e.addEventListener("init-done", () => {
12289
12289
  const i = [...this.querySelectorAll("vaadin-month-calendar")];
12290
12290
  i.forEach((o) => {
12291
- o.addEventListener("selected-date-changed", (n) => {
12292
- this.selectedDate = n.detail.value;
12291
+ o.addEventListener("selected-date-changed", (r) => {
12292
+ this.selectedDate = r.detail.value;
12293
12293
  });
12294
12294
  }), this.calendars = i;
12295
12295
  }), this._monthScroller = e;
@@ -12321,19 +12321,19 @@ const pc = (s) => class extends s {
12321
12321
  e && (e.textContent = i && i.cancel);
12322
12322
  }
12323
12323
  /** @private */
12324
- __updateTodayButton(e, i, o, n, r) {
12325
- e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(o, n, r));
12324
+ __updateTodayButton(e, i, o, r, n) {
12325
+ e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(o, r, n));
12326
12326
  }
12327
12327
  // eslint-disable-next-line @typescript-eslint/max-params
12328
- __updateCalendars(e, i, o, n, r, a, l, d, c, u, h) {
12328
+ __updateCalendars(e, i, o, r, n, a, l, d, c, u, h) {
12329
12329
  e && e.length && e.forEach((p) => {
12330
- p.i18n = i, p.minDate = o, p.maxDate = n, p.isDateDisabled = u, p.focusedDate = a, p.selectedDate = r, p.showWeekNumbers = l, p.ignoreTaps = d, p.enteredDate = h, c ? p.setAttribute("theme", c) : p.removeAttribute("theme");
12330
+ p.i18n = i, p.minDate = o, p.maxDate = r, p.isDateDisabled = u, p.focusedDate = a, p.selectedDate = n, p.showWeekNumbers = l, p.ignoreTaps = d, p.enteredDate = h, c ? p.setAttribute("theme", c) : p.removeAttribute("theme");
12331
12331
  });
12332
12332
  }
12333
12333
  /** @private */
12334
12334
  __updateYears(e, i, o) {
12335
- e && e.length && e.forEach((n) => {
12336
- n.selectedDate = i, o ? n.setAttribute("theme", o) : n.removeAttribute("theme");
12335
+ e && e.length && e.forEach((r) => {
12336
+ r.selectedDate = i, o ? r.setAttribute("theme", o) : r.removeAttribute("theme");
12337
12337
  });
12338
12338
  }
12339
12339
  /**
@@ -12365,11 +12365,11 @@ const pc = (s) => class extends s {
12365
12365
  this._scrollToPosition(o + d, i);
12366
12366
  return;
12367
12367
  }
12368
- const n = this._monthScroller.position > o, a = Math.max(
12368
+ const r = this._monthScroller.position > o, a = Math.max(
12369
12369
  this._monthScroller.itemHeight,
12370
12370
  this._monthScroller.clientHeight - this._monthScroller.bufferOffset * 2
12371
12371
  ) / this._monthScroller.itemHeight, l = this._monthScroller.position + a - 1 < o;
12372
- n ? this._scrollToPosition(o, i) : l && this._scrollToPosition(o - a + 1, i);
12372
+ r ? this._scrollToPosition(o, i) : l && this._scrollToPosition(o - a + 1, i);
12373
12373
  }
12374
12374
  /**
12375
12375
  * Calculates an offset to be added to the month scroll position
@@ -12463,13 +12463,13 @@ const pc = (s) => class extends s {
12463
12463
  this._revealPromise = new Promise((d) => {
12464
12464
  o = d;
12465
12465
  });
12466
- const n = (d, c, u, h) => (d /= h / 2, d < 1 ? u / 2 * d * d + c : (d -= 1, -u / 2 * (d * (d - 2) - 1) + c));
12467
- let r = 0;
12466
+ const r = (d, c, u, h) => (d /= h / 2, d < 1 ? u / 2 * d * d + c : (d -= 1, -u / 2 * (d * (d - 2) - 1) + c));
12467
+ let n = 0;
12468
12468
  const a = this._monthScroller.position, l = (d) => {
12469
- r || (r = d);
12470
- const c = d - r;
12469
+ n || (n = d);
12470
+ const c = d - n;
12471
12471
  if (c < this.scrollDuration) {
12472
- const u = n(
12472
+ const u = r(
12473
12473
  c,
12474
12474
  a,
12475
12475
  this._targetPosition - a,
@@ -12547,7 +12547,7 @@ const pc = (s) => class extends s {
12547
12547
  }
12548
12548
  /** @private */
12549
12549
  _yearAfterXMonths(e) {
12550
- return gn(e).getFullYear();
12550
+ return mr(e).getFullYear();
12551
12551
  }
12552
12552
  /** @private */
12553
12553
  _differenceInMonths(e, i) {
@@ -12663,7 +12663,7 @@ const pc = (s) => class extends s {
12663
12663
  }
12664
12664
  /** @private */
12665
12665
  _focusClosestDate(e) {
12666
- this.focusDate(mn(e, [this.minDate, this.maxDate]));
12666
+ this.focusDate(_r(e, [this.minDate, this.maxDate]));
12667
12667
  }
12668
12668
  /** @private */
12669
12669
  _focusAllowedDate(e, i, o) {
@@ -12690,8 +12690,8 @@ const pc = (s) => class extends s {
12690
12690
  o.setFullYear(e.getFullYear()), i === "minDate" ? (o.setMonth(e.getMonth()), o.setDate(1)) : (o.setMonth(e.getMonth() + 1), o.setDate(0)), this._dateAllowed(o) ? this.focusDate(o) : this._dateAllowed(e) ? this.focusDate(this[i]) : this._focusClosestDate(e);
12691
12691
  }
12692
12692
  /** @private */
12693
- _dateAllowed(e, i = this.minDate, o = this.maxDate, n = this.isDateDisabled) {
12694
- return Le(e, i, o, n);
12693
+ _dateAllowed(e, i = this.minDate, o = this.maxDate, r = this.isDateDisabled) {
12694
+ return Le(e, i, o, r);
12695
12695
  }
12696
12696
  /** @private */
12697
12697
  _isTodayAllowed(e, i, o) {
@@ -12823,8 +12823,8 @@ Z(_c);
12823
12823
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
12824
12824
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12825
12825
  */
12826
- const An = M(
12827
- (s) => class extends Yi(_n(s)) {
12826
+ const Cr = M(
12827
+ (s) => class extends Yi(fr(s)) {
12828
12828
  static get properties() {
12829
12829
  return {
12830
12830
  /**
@@ -13015,7 +13015,7 @@ const yc = M(
13015
13015
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13016
13016
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13017
13017
  */
13018
- const En = M(
13018
+ const Ar = M(
13019
13019
  (s) => class extends s {
13020
13020
  static get properties() {
13021
13021
  return {
@@ -13219,7 +13219,7 @@ const En = M(
13219
13219
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13220
13220
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13221
13221
  */
13222
- const bc = (s) => class extends En(Ft(s)) {
13222
+ const bc = (s) => class extends Ar(Ft(s)) {
13223
13223
  static get properties() {
13224
13224
  return {
13225
13225
  /**
@@ -13298,10 +13298,10 @@ const ti = /* @__PURE__ */ new Map();
13298
13298
  function Gi(s) {
13299
13299
  return ti.has(s) || ti.set(s, /* @__PURE__ */ new WeakMap()), ti.get(s);
13300
13300
  }
13301
- function Pn(s, t) {
13301
+ function Er(s, t) {
13302
13302
  s && s.removeAttribute(t);
13303
13303
  }
13304
- function Dn(s, t) {
13304
+ function Pr(s, t) {
13305
13305
  if (!s || !t)
13306
13306
  return;
13307
13307
  const e = Gi(t);
@@ -13314,22 +13314,22 @@ function vc(s, t) {
13314
13314
  if (!s)
13315
13315
  return;
13316
13316
  const e = Gi(t), i = e.get(s);
13317
- !i || i.size === 0 ? s.removeAttribute(t) : on(s, t, Nt(i)), e.delete(s);
13317
+ !i || i.size === 0 ? s.removeAttribute(t) : sr(s, t, Nt(i)), e.delete(s);
13318
13318
  }
13319
13319
  function ii(s, t, e = { newId: null, oldId: null, fromUser: !1 }) {
13320
13320
  if (!s || !t)
13321
13321
  return;
13322
- const { newId: i, oldId: o, fromUser: n } = e, r = Gi(t), a = r.get(s);
13323
- if (!n && a) {
13322
+ const { newId: i, oldId: o, fromUser: r } = e, n = Gi(t), a = n.get(s);
13323
+ if (!r && a) {
13324
13324
  o && a.delete(o), i && a.add(i);
13325
13325
  return;
13326
13326
  }
13327
- n && (a ? i || r.delete(s) : Dn(s, t), Pn(s, t)), Kl(s, t, o);
13327
+ r && (a ? i || n.delete(s) : Pr(s, t), Er(s, t)), Kl(s, t, o);
13328
13328
  const l = i || Nt(a);
13329
- l && on(s, t, l);
13329
+ l && sr(s, t, l);
13330
13330
  }
13331
13331
  function wc(s, t) {
13332
- Dn(s, t), Pn(s, t);
13332
+ Pr(s, t), Er(s, t);
13333
13333
  }
13334
13334
  /**
13335
13335
  * @license
@@ -13532,8 +13532,8 @@ class Ki extends ye {
13532
13532
  observeNode(t) {
13533
13533
  this.__nodeObserver && this.__nodeObserver.disconnect(), this.__nodeObserver = new MutationObserver((e) => {
13534
13534
  e.forEach((i) => {
13535
- const o = i.target, n = o === this.node;
13536
- i.type === "attributes" ? n && this.__updateNodeId(o) : (n || o.parentElement === this.node) && this.__notifyChange(this.node);
13535
+ const o = i.target, r = o === this.node;
13536
+ i.type === "attributes" ? r && this.__updateNodeId(o) : (r || o.parentElement === this.node) && this.__notifyChange(this.node);
13537
13537
  });
13538
13538
  }), this.__nodeObserver.observe(t, {
13539
13539
  attributes: !0,
@@ -13816,7 +13816,7 @@ const Dc = M(
13816
13816
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13817
13817
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13818
13818
  */
13819
- const kn = M(
13819
+ const Dr = M(
13820
13820
  (s) => class extends s {
13821
13821
  static get properties() {
13822
13822
  return {
@@ -13907,7 +13907,7 @@ const kn = M(
13907
13907
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13908
13908
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13909
13909
  */
13910
- const kc = (s) => class extends kn(Dc(He(s))) {
13910
+ const kc = (s) => class extends Dr(Dc(He(s))) {
13911
13911
  static get properties() {
13912
13912
  return {
13913
13913
  /**
@@ -14129,8 +14129,8 @@ const Tc = M(
14129
14129
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
14130
14130
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14131
14131
  */
14132
- const Tn = M(
14133
- (s) => class extends Tc(kn(En(s))) {
14132
+ const kr = M(
14133
+ (s) => class extends Tc(Dr(Ar(s))) {
14134
14134
  /**
14135
14135
  * An array of attributes which participate in the input validation.
14136
14136
  * Changing these attributes will cause the input to re-validate.
@@ -14181,8 +14181,8 @@ const Tn = M(
14181
14181
  _constraintsChanged(e, ...i) {
14182
14182
  if (!e)
14183
14183
  return;
14184
- const o = this._hasValidConstraints(i), n = this.__previousHasConstraints && !o;
14185
- (this._hasValue || this.invalid) && o ? this._requestValidation() : n && !this.manualValidation && this._setInvalid(!1), this.__previousHasConstraints = o;
14184
+ const o = this._hasValidConstraints(i), r = this.__previousHasConstraints && !o;
14185
+ (this._hasValue || this.invalid) && o ? this._requestValidation() : r && !this.manualValidation && this._setInvalid(!1), this.__previousHasConstraints = o;
14186
14186
  }
14187
14187
  /**
14188
14188
  * Override an event listener inherited from `InputMixin`
@@ -14215,7 +14215,7 @@ const Tn = M(
14215
14215
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14216
14216
  */
14217
14217
  const Sc = (s) => class extends yc(
14218
- An(Tn(kc(bc(Ft(s)))))
14218
+ Cr(kr(kc(bc(Ft(s)))))
14219
14219
  ) {
14220
14220
  static get properties() {
14221
14221
  return {
@@ -14386,8 +14386,8 @@ class Oc extends ye {
14386
14386
  constructor(t, e, i = {}) {
14387
14387
  const { uniqueIdPrefix: o } = i;
14388
14388
  super(t, "input", "input", {
14389
- initializer: (n, r) => {
14390
- r.value && (n.value = r.value), r.type && n.setAttribute("type", r.type), n.id = this.defaultId, typeof e == "function" && e(n);
14389
+ initializer: (r, n) => {
14390
+ n.value && (r.value = n.value), n.type && r.setAttribute("type", n.type), r.id = this.defaultId, typeof e == "function" && e(r);
14391
14391
  },
14392
14392
  useUniqueId: !0,
14393
14393
  uniqueIdPrefix: o
@@ -14546,11 +14546,11 @@ const Lc = (s) => class extends s {
14546
14546
  return;
14547
14547
  const { classList: o } = i;
14548
14548
  if (this.__initialClasses || (this.__initialClasses = new Set(o)), Array.isArray(this.__previousClasses)) {
14549
- const r = this.__previousClasses.filter((a) => !this.__initialClasses.has(a));
14550
- r.length > 0 && o.remove(...r);
14549
+ const n = this.__previousClasses.filter((a) => !this.__initialClasses.has(a));
14550
+ n.length > 0 && o.remove(...n);
14551
14551
  }
14552
- const n = typeof e == "string" ? e.split(" ").filter(Boolean) : [];
14553
- n.length > 0 && o.add(...n), this.__previousClasses = n;
14552
+ const r = typeof e == "string" ? e.split(" ").filter(Boolean) : [];
14553
+ r.length > 0 && o.add(...r), this.__previousClasses = r;
14554
14554
  }
14555
14555
  };
14556
14556
  /**
@@ -14604,19 +14604,19 @@ const Hc = Object.freeze({
14604
14604
  },
14605
14605
  parseDate(s) {
14606
14606
  const t = s.split("/"), e = /* @__PURE__ */ new Date();
14607
- let i, o = e.getMonth(), n = e.getFullYear();
14607
+ let i, o = e.getMonth(), r = e.getFullYear();
14608
14608
  if (t.length === 3) {
14609
- if (o = parseInt(t[0]) - 1, i = parseInt(t[1]), n = parseInt(t[2]), t[2].length < 3 && n >= 0) {
14610
- const r = this.referenceDate ? Je(this.referenceDate) : /* @__PURE__ */ new Date();
14611
- n = Hd(r, n, o, i);
14609
+ if (o = parseInt(t[0]) - 1, i = parseInt(t[1]), r = parseInt(t[2]), t[2].length < 3 && r >= 0) {
14610
+ const n = this.referenceDate ? Je(this.referenceDate) : /* @__PURE__ */ new Date();
14611
+ r = Hd(n, r, o, i);
14612
14612
  }
14613
14613
  } else t.length === 2 ? (o = parseInt(t[0]) - 1, i = parseInt(t[1])) : t.length === 1 && (i = parseInt(t[0]));
14614
14614
  if (i !== void 0)
14615
- return { day: i, month: o, year: n };
14615
+ return { day: i, month: o, year: r };
14616
14616
  },
14617
14617
  formatTitle: (s, t) => `${s} ${t}`
14618
14618
  }), Rc = (s) => class extends Lc(
14619
- He(An(Tn(Ft(s))))
14619
+ He(Cr(kr(Ft(s))))
14620
14620
  ) {
14621
14621
  static get properties() {
14622
14622
  return {
@@ -14859,7 +14859,7 @@ const Hc = Object.freeze({
14859
14859
  /** @private */
14860
14860
  _ios: {
14861
14861
  type: Boolean,
14862
- value: en
14862
+ value: er
14863
14863
  },
14864
14864
  /** @private */
14865
14865
  _focusOverlayOnOpen: Boolean,
@@ -14940,7 +14940,7 @@ const Hc = Object.freeze({
14940
14940
  /** @protected */
14941
14941
  ready() {
14942
14942
  super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
14943
- new Cn(this._fullscreenMediaQuery, (i) => {
14943
+ new xr(this._fullscreenMediaQuery, (i) => {
14944
14944
  this._fullscreen = i;
14945
14945
  })
14946
14946
  ), this.addController(new zc(this));
@@ -15010,8 +15010,8 @@ const Hc = Object.freeze({
15010
15010
  */
15011
15011
  checkValidity() {
15012
15012
  const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), o = !this._selectedDate || Le(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
15013
- let n = !0;
15014
- return this.inputElement && this.inputElement.checkValidity && (n = this.inputElement.checkValidity()), i && o && n;
15013
+ let r = !0;
15014
+ return this.inputElement && this.inputElement.checkValidity && (r = this.inputElement.checkValidity()), i && o && r;
15015
15015
  }
15016
15016
  /**
15017
15017
  * Override method inherited from `FocusMixin`
@@ -15096,8 +15096,8 @@ const Hc = Object.freeze({
15096
15096
  }
15097
15097
  /** @private */
15098
15098
  // eslint-disable-next-line @typescript-eslint/max-params
15099
- _isNoInput(e, i, o, n, r, a) {
15100
- return !e || i && (!a || r) || o && r || !n.parseDate;
15099
+ _isNoInput(e, i, o, r, n, a) {
15100
+ return !e || i && (!a || n) || o && n || !r.parseDate;
15101
15101
  }
15102
15102
  /** @private */
15103
15103
  _formatISO(e) {
@@ -15141,8 +15141,8 @@ const Hc = Object.freeze({
15141
15141
  }
15142
15142
  /** @private */
15143
15143
  // eslint-disable-next-line @typescript-eslint/max-params
15144
- __updateOverlayContent(e, i, o, n, r, a, l, d, c, u) {
15145
- e && (e.i18n = i, e.label = o, e.minDate = n, e.maxDate = r, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = c, e.enteredDate = u);
15144
+ __updateOverlayContent(e, i, o, r, n, a, l, d, c, u) {
15145
+ e && (e.i18n = i, e.label = o, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = c, e.enteredDate = u);
15146
15146
  }
15147
15147
  /** @private */
15148
15148
  __updateOverlayContentTheme(e, i) {
@@ -15164,15 +15164,15 @@ const Hc = Object.freeze({
15164
15164
  e.initialPosition = i;
15165
15165
  const o = e.focusedDate || i;
15166
15166
  e.scrollToDate(o), this._ignoreFocusedDateChange = !0, e.focusedDate = o, this._ignoreFocusedDateChange = !1, window.addEventListener("scroll", this._boundOnScroll, !0), this._focusOverlayOnOpen ? (e.focusDateElement(), this._focusOverlayOnOpen = !1) : this._focus();
15167
- const n = this._nativeInput;
15168
- this._noInput && n && (n.blur(), this._overlayContent.focusDateElement());
15169
- const r = this._noInput ? e : [n, e];
15170
- this.__showOthers = tn(r);
15167
+ const r = this._nativeInput;
15168
+ this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
15169
+ const n = this._noInput ? e : [r, e];
15170
+ this.__showOthers = tr(n);
15171
15171
  }
15172
15172
  /** @private */
15173
15173
  _getInitialPosition() {
15174
15174
  const e = Je(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
15175
- return e || Le(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? mn(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
15175
+ return e || Le(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? _r(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
15176
15176
  }
15177
15177
  /**
15178
15178
  * Tries to parse the input element's value as a date. If the input value
@@ -15358,7 +15358,7 @@ const $c = C`
15358
15358
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15359
15359
  */
15360
15360
  S("vaadin-date-picker", [Bc, $c], { moduleId: "vaadin-date-picker-styles" });
15361
- class Vc extends Rc(Sc(xe(an(he)))) {
15361
+ class Vc extends Rc(Sc(xe(nr(he)))) {
15362
15362
  static get is() {
15363
15363
  return "vaadin-date-picker";
15364
15364
  }
@@ -15430,7 +15430,7 @@ class Vc extends Rc(Sc(xe(an(he)))) {
15430
15430
  uniqueIdPrefix: "search-input"
15431
15431
  }
15432
15432
  )
15433
- ), this.addController(new Mc(this.inputElement, this._labelController)), this._tooltipController = new dn(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));
15433
+ ), this.addController(new Mc(this.inputElement, this._labelController)), this._tooltipController = new lr(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));
15434
15434
  }
15435
15435
  /** @private */
15436
15436
  _onVaadinOverlayClose(t) {
@@ -15448,10 +15448,10 @@ class Vc extends Rc(Sc(xe(an(he)))) {
15448
15448
  }
15449
15449
  Z(Vc);
15450
15450
  function Ys(s, t) {
15451
- Xn(s, t);
15451
+ Kr(s, t);
15452
15452
  }
15453
15453
  function Yc(s) {
15454
- Jn.set(s);
15454
+ Xr.set(s);
15455
15455
  }
15456
15456
  const Us = {
15457
15457
  en: {
@@ -15533,7 +15533,7 @@ const Us = {
15533
15533
  }
15534
15534
  };
15535
15535
  function Uc(s) {
15536
- ir(s, "svelte-15nn5yf", ".BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);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, 20px)}.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, 50px);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, 20px)}.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)}");
15536
+ tn(s, "svelte-15nn5yf", ".BonusesWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);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, 20px)}.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, 50px);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, 20px)}.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
15538
  function Ws(s, t, e) {
15539
15539
  const i = s.slice();
@@ -15547,7 +15547,7 @@ function Wc(s) {
15547
15547
  let t, e, i, o = (
15548
15548
  /*$_*/
15549
15549
  s[20]("titleBonusesHistory") + ""
15550
- ), n, r, a, l, d, c, u = (
15550
+ ), r, n, a, l, d, c, u = (
15551
15551
  /*$_*/
15552
15552
  s[20]("dateFrom") + ""
15553
15553
  ), h, p, _, v, y, w, A = (
@@ -15572,7 +15572,7 @@ function Wc(s) {
15572
15572
  );
15573
15573
  return {
15574
15574
  c() {
15575
- t = T("div"), ee && ee.c(), e = U(), i = T("h2"), n = j(o), r = U(), a = T("div"), l = T("div"), d = T("div"), c = T("label"), h = j(u), p = U(), _ = T("vaadin-date-picker"), v = U(), y = T("div"), w = T("label"), O = j(A), I = U(), b = T("vaadin-date-picker"), P = U(), N = T("button"), K = j(D), Re = U(), ae = T("div"), $.c(), $e = U(), B && B.c(), x(i, "class", "BonusesTitle " + /*isMobile*/
15575
+ t = T("div"), ee && ee.c(), e = U(), i = T("h2"), r = j(o), n = U(), a = T("div"), l = T("div"), d = T("div"), c = T("label"), h = j(u), p = U(), _ = T("vaadin-date-picker"), v = U(), y = T("div"), w = T("label"), O = j(A), I = U(), b = T("vaadin-date-picker"), P = U(), N = T("button"), K = j(D), Re = U(), ae = T("div"), $.c(), $e = U(), B && B.c(), x(i, "class", "BonusesTitle " + /*isMobile*/
15576
15576
  (s[21] ? "BonusesTitleNone" : "")), x(i, "part", "BonusesTitle " + /*isMobile*/
15577
15577
  (s[21] ? "BonusesTitleNone" : "")), x(c, "for", "BonusCalendarStartDate"), f(
15578
15578
  _,
@@ -15604,7 +15604,7 @@ function Wc(s) {
15604
15604
  (s[21] ? "BonusesWrapperMobile" : ""));
15605
15605
  },
15606
15606
  m(k, z) {
15607
- Q(k, t, z), ee && ee.m(t, null), g(t, e), g(t, i), g(i, n), g(t, r), g(t, a), g(a, l), g(l, d), g(d, c), g(c, h), g(d, p), g(d, _), s[28](_), g(l, v), g(l, y), g(y, w), g(w, O), g(y, I), g(y, b), s[29](b), g(a, P), g(a, N), g(N, K), g(t, Re), g(t, ae), $.m(ae, null), g(t, $e), B && B.m(t, null), Ee || (Ve = me(
15607
+ Q(k, t, z), ee && ee.m(t, null), g(t, e), g(t, i), g(i, r), g(t, n), g(t, a), g(a, l), g(l, d), g(d, c), g(c, h), g(d, p), g(d, _), s[28](_), g(l, v), g(l, y), g(y, w), g(w, O), g(y, I), g(y, b), s[29](b), g(a, P), g(a, N), g(N, K), g(t, Re), g(t, ae), $.m(ae, null), g(t, $e), B && B.m(t, null), Ee || (Ve = me(
15608
15608
  N,
15609
15609
  "click",
15610
15610
  /*click_handler_1*/
@@ -15615,7 +15615,7 @@ function Wc(s) {
15615
15615
  /*isMobile*/
15616
15616
  k[21] && ee.p(k, z), z[0] & /*$_*/
15617
15617
  1048576 && o !== (o = /*$_*/
15618
- k[20]("titleBonusesHistory") + "") && Te(n, o), z[0] & /*$_*/
15618
+ k[20]("titleBonusesHistory") + "") && Te(r, o), z[0] & /*$_*/
15619
15619
  1048576 && u !== (u = /*$_*/
15620
15620
  k[20]("dateFrom") + "") && Te(h, u), z[0] & /*maxDate*/
15621
15621
  512 && f(
@@ -15654,16 +15654,16 @@ function Wc(s) {
15654
15654
  };
15655
15655
  }
15656
15656
  function jc(s) {
15657
- let t, e, i, o, n, r, a, l, d, c, u = (
15657
+ let t, e, i, o, r, n, a, l, d, c, u = (
15658
15658
  /*$_*/
15659
15659
  s[20]("titleBonusesHistory") + ""
15660
15660
  ), h, p, _;
15661
15661
  return {
15662
15662
  c() {
15663
- t = T("div"), e = Pe("svg"), i = Pe("defs"), o = Pe("style"), n = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), r = Pe("g"), a = Pe("g"), l = Pe("path"), d = U(), c = T("h2"), h = j(u), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(r, "transform", "translate(-20 -158)"), x(e, "xmlns", "http://www.w3.org/2000/svg"), x(e, "width", "15"), x(e, "height", "15"), x(e, "viewBox", "0 0 15 15"), x(c, "class", "BonusesTitleMobile"), x(t, "class", "MenuReturnButton");
15663
+ t = T("div"), e = Pe("svg"), i = Pe("defs"), o = Pe("style"), r = j(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Pe("g"), a = Pe("g"), l = Pe("path"), d = U(), c = T("h2"), h = j(u), x(l, "class", "aaa"), x(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(l, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(n, "transform", "translate(-20 -158)"), x(e, "xmlns", "http://www.w3.org/2000/svg"), x(e, "width", "15"), x(e, "height", "15"), x(e, "viewBox", "0 0 15 15"), x(c, "class", "BonusesTitleMobile"), x(t, "class", "MenuReturnButton");
15664
15664
  },
15665
15665
  m(v, y) {
15666
- Q(v, t, y), g(t, e), g(e, i), g(i, o), g(o, n), g(e, r), g(r, a), g(a, l), g(t, d), g(t, c), g(c, h), p || (_ = me(
15666
+ Q(v, t, y), g(t, e), g(e, i), g(i, o), g(o, r), g(e, n), g(n, a), g(a, l), g(t, d), g(t, c), g(c, h), p || (_ = me(
15667
15667
  t,
15668
15668
  "click",
15669
15669
  /*click_handler*/
@@ -15693,25 +15693,25 @@ function qc(s) {
15693
15693
  i[o].c();
15694
15694
  t = oo();
15695
15695
  },
15696
- m(o, n) {
15697
- for (let r = 0; r < i.length; r += 1)
15698
- i[r] && i[r].m(o, n);
15699
- Q(o, t, n);
15696
+ m(o, r) {
15697
+ for (let n = 0; n < i.length; n += 1)
15698
+ i[n] && i[n].m(o, r);
15699
+ Q(o, t, r);
15700
15700
  },
15701
- p(o, n) {
15702
- if (n[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
15701
+ p(o, r) {
15702
+ if (r[0] & /*termsandconditionsdescription, termsandconditionsurl, termsandconditionsasset, bonusesList, lang, clientstyling, clientstylingurl, translationurl*/
15703
15703
  983055) {
15704
15704
  e = wt(
15705
15705
  /*bonusesList*/
15706
15706
  o[16]
15707
15707
  );
15708
- let r;
15709
- for (r = 0; r < e.length; r += 1) {
15710
- const a = js(o, e, r);
15711
- i[r] ? i[r].p(a, n) : (i[r] = qs(a), i[r].c(), i[r].m(t.parentNode, t));
15708
+ let n;
15709
+ for (n = 0; n < e.length; n += 1) {
15710
+ const a = js(o, e, n);
15711
+ i[n] ? i[n].p(a, r) : (i[n] = qs(a), i[n].c(), i[n].m(t.parentNode, t));
15712
15712
  }
15713
- for (; r < i.length; r += 1)
15714
- i[r].d(1);
15713
+ for (; n < i.length; n += 1)
15714
+ i[n].d(1);
15715
15715
  i.length = e.length;
15716
15716
  }
15717
15717
  },
@@ -15729,11 +15729,11 @@ function Gc(s) {
15729
15729
  c() {
15730
15730
  t = T("p"), i = j(e);
15731
15731
  },
15732
- m(o, n) {
15733
- Q(o, t, n), g(t, i);
15732
+ m(o, r) {
15733
+ Q(o, t, r), g(t, i);
15734
15734
  },
15735
- p(o, n) {
15736
- n[0] & /*$_*/
15735
+ p(o, r) {
15736
+ r[0] & /*$_*/
15737
15737
  1048576 && e !== (e = /*$_*/
15738
15738
  o[20]("noBonusHistory") + "") && Te(i, e);
15739
15739
  },
@@ -15743,7 +15743,7 @@ function Gc(s) {
15743
15743
  };
15744
15744
  }
15745
15745
  function Kc(s) {
15746
- let t, e, i, o, n, r, a, l, d, c;
15746
+ let t, e, i, o, r, n, a, l, d, c;
15747
15747
  return {
15748
15748
  c() {
15749
15749
  t = T("player-bonus-card"), f(
@@ -15764,8 +15764,8 @@ function Kc(s) {
15764
15764
  ), f(t, "bonuswalletid", e = /*bonus*/
15765
15765
  s[50].walletId), f(t, "bonusdate", i = /*bonus*/
15766
15766
  s[50].granted), f(t, "bonusstatus", o = /*bonus*/
15767
- s[50].status), f(t, "bonusname", n = /*bonus*/
15768
- s[50].name), f(t, "bonustype", r = /*bonus*/
15767
+ s[50].status), f(t, "bonusname", r = /*bonus*/
15768
+ s[50].name), f(t, "bonustype", n = /*bonus*/
15769
15769
  s[50].type), f(t, "bonusamount", a = /*bonus*/
15770
15770
  s[50].extension.grantedPlayerCurrencyAmount), f(t, "bonuswageringamount", l = `${/*bonus*/
15771
15771
  s[50].fulfilledWR} / ${/*bonus*/
@@ -15822,10 +15822,10 @@ function Kc(s) {
15822
15822
  u[50].granted) && f(t, "bonusdate", i), h[0] & /*bonusesList*/
15823
15823
  65536 && o !== (o = /*bonus*/
15824
15824
  u[50].status) && f(t, "bonusstatus", o), h[0] & /*bonusesList*/
15825
- 65536 && n !== (n = /*bonus*/
15826
- u[50].name) && f(t, "bonusname", n), h[0] & /*bonusesList*/
15827
15825
  65536 && r !== (r = /*bonus*/
15828
- u[50].type) && f(t, "bonustype", r), h[0] & /*bonusesList*/
15826
+ u[50].name) && f(t, "bonusname", r), h[0] & /*bonusesList*/
15827
+ 65536 && n !== (n = /*bonus*/
15828
+ u[50].type) && f(t, "bonustype", n), h[0] & /*bonusesList*/
15829
15829
  65536 && a !== (a = /*bonus*/
15830
15830
  u[50].extension.grantedPlayerCurrencyAmount) && f(t, "bonusamount", a), h[0] & /*bonusesList*/
15831
15831
  65536 && l !== (l = `${/*bonus*/
@@ -15866,7 +15866,7 @@ function Kc(s) {
15866
15866
  };
15867
15867
  }
15868
15868
  function Xc(s) {
15869
- let t, e, i, o, n, r, a;
15869
+ let t, e, i, o, r, n, a;
15870
15870
  return {
15871
15871
  c() {
15872
15872
  t = T("player-bonus-card"), f(
@@ -15887,8 +15887,8 @@ function Xc(s) {
15887
15887
  ), f(t, "bonuswalletid", e = /*bonus*/
15888
15888
  s[50].walletId), f(t, "bonusdate", i = /*bonus*/
15889
15889
  s[50].granted), f(t, "bonusstatus", o = /*bonus*/
15890
- s[50].status), f(t, "bonusname", n = /*bonus*/
15891
- s[50].name), f(t, "bonustype", r = /*bonus*/
15890
+ s[50].status), f(t, "bonusname", r = /*bonus*/
15891
+ s[50].name), f(t, "bonustype", n = /*bonus*/
15892
15892
  s[50].type), f(t, "bonuscurrency", a = /*bonus*/
15893
15893
  s[50].currency), f(
15894
15894
  t,
@@ -15941,10 +15941,10 @@ function Xc(s) {
15941
15941
  l[50].granted) && f(t, "bonusdate", i), d[0] & /*bonusesList*/
15942
15942
  65536 && o !== (o = /*bonus*/
15943
15943
  l[50].status) && f(t, "bonusstatus", o), d[0] & /*bonusesList*/
15944
- 65536 && n !== (n = /*bonus*/
15945
- l[50].name) && f(t, "bonusname", n), d[0] & /*bonusesList*/
15946
15944
  65536 && r !== (r = /*bonus*/
15947
- l[50].type) && f(t, "bonustype", r), d[0] & /*bonusesList*/
15945
+ l[50].name) && f(t, "bonusname", r), d[0] & /*bonusesList*/
15946
+ 65536 && n !== (n = /*bonus*/
15947
+ l[50].type) && f(t, "bonustype", n), d[0] & /*bonusesList*/
15948
15948
  65536 && a !== (a = /*bonus*/
15949
15949
  l[50].currency) && f(t, "bonuscurrency", a), d[0] & /*lang*/
15950
15950
  1 && f(
@@ -15979,10 +15979,10 @@ function Xc(s) {
15979
15979
  }
15980
15980
  function qs(s) {
15981
15981
  let t;
15982
- function e(n, r) {
15982
+ function e(r, n) {
15983
15983
  return (
15984
15984
  /*bonus*/
15985
- n[50].type === "freeRound" ? Xc : Kc
15985
+ r[50].type === "freeRound" ? Xc : Kc
15986
15986
  );
15987
15987
  }
15988
15988
  let i = e(s), o = i(s);
@@ -15990,19 +15990,19 @@ function qs(s) {
15990
15990
  c() {
15991
15991
  o.c(), t = oo();
15992
15992
  },
15993
- m(n, r) {
15994
- o.m(n, r), Q(n, t, r);
15993
+ m(r, n) {
15994
+ o.m(r, n), Q(r, t, n);
15995
15995
  },
15996
- p(n, r) {
15997
- i === (i = e(n)) && o ? o.p(n, r) : (o.d(1), o = i(n), o && (o.c(), o.m(t.parentNode, t)));
15996
+ p(r, n) {
15997
+ i === (i = e(r)) && o ? o.p(r, n) : (o.d(1), o = i(r), o && (o.c(), o.m(t.parentNode, t)));
15998
15998
  },
15999
- d(n) {
16000
- n && J(t), o.d(n);
15999
+ d(r) {
16000
+ r && J(t), o.d(r);
16001
16001
  }
16002
16002
  };
16003
16003
  }
16004
16004
  function Gs(s) {
16005
- let t, e, i, o, n, r, a, l, d, c, u, h, p, _, v, y, w, A, O, I = wt(Array(
16005
+ let t, e, i, o, r, n, a, l, d, c, u, h, p, _, v, y, w, A, O, I = wt(Array(
16006
16006
  /*numberOfPages*/
16007
16007
  s[14]
16008
16008
  )), b = [];
@@ -16010,11 +16010,11 @@ function Gs(s) {
16010
16010
  b[P] = Ks(Ws(s, I, P));
16011
16011
  return {
16012
16012
  c() {
16013
- t = T("div"), e = T("span"), i = j("|<"), n = U(), r = T("span"), a = j("<"), d = U();
16013
+ t = T("div"), e = T("span"), i = j("|<"), r = U(), n = T("span"), a = j("<"), d = U();
16014
16014
  for (let P = 0; P < b.length; P += 1)
16015
16015
  b[P].c();
16016
16016
  c = U(), u = T("span"), h = j(">"), _ = U(), v = T("span"), y = j(">|"), x(e, "class", o = "BonusesFirst " + /*currentPage*/
16017
- (s[15] === 0 ? "Inactive" : "")), x(r, "class", l = "BonusesPrev " + /*currentPage*/
16017
+ (s[15] === 0 ? "Inactive" : "")), x(n, "class", l = "BonusesPrev " + /*currentPage*/
16018
16018
  (s[15] === 0 ? "Inactive" : "")), x(u, "class", p = "BonusesNext " + /*currentPage*/
16019
16019
  (s[15] === /*numberOfPages*/
16020
16020
  s[14] - 1 ? "Inactive" : "")), x(v, "class", w = "BonusesLast " + /*currentPage*/
@@ -16023,7 +16023,7 @@ function Gs(s) {
16023
16023
  (s[21] ? "BonusesPaginationWrapperMobile" : ""));
16024
16024
  },
16025
16025
  m(P, N) {
16026
- Q(P, t, N), g(t, e), g(e, i), g(t, n), g(t, r), g(r, a), g(t, d);
16026
+ Q(P, t, N), g(t, e), g(e, i), g(t, r), g(t, n), g(n, a), g(t, d);
16027
16027
  for (let D = 0; D < b.length; D += 1)
16028
16028
  b[D] && b[D].m(t, null);
16029
16029
  g(t, c), g(t, u), g(u, h), g(t, _), g(t, v), g(v, y), A || (O = [
@@ -16034,7 +16034,7 @@ function Gs(s) {
16034
16034
  s[31]
16035
16035
  ),
16036
16036
  me(
16037
- r,
16037
+ n,
16038
16038
  "click",
16039
16039
  /*click_handler_3*/
16040
16040
  s[32]
@@ -16058,7 +16058,7 @@ function Gs(s) {
16058
16058
  32768 && o !== (o = "BonusesFirst " + /*currentPage*/
16059
16059
  (P[15] === 0 ? "Inactive" : "")) && x(e, "class", o), N[0] & /*currentPage*/
16060
16060
  32768 && l !== (l = "BonusesPrev " + /*currentPage*/
16061
- (P[15] === 0 ? "Inactive" : "")) && x(r, "class", l), N[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
16061
+ (P[15] === 0 ? "Inactive" : "")) && x(n, "class", l), N[0] & /*currentPage, getBonuses, bonushistorystatus, bonushistorytype, numberOfPages*/
16062
16062
  8437808) {
16063
16063
  I = wt(Array(
16064
16064
  /*numberOfPages*/
@@ -16082,7 +16082,7 @@ function Gs(s) {
16082
16082
  P[14] - 1 ? "Inactive" : "")) && x(v, "class", w);
16083
16083
  },
16084
16084
  d(P) {
16085
- P && J(t), so(b, P), A = !1, rr(O);
16085
+ P && J(t), so(b, P), A = !1, nn(O);
16086
16086
  }
16087
16087
  };
16088
16088
  }
@@ -16090,7 +16090,7 @@ function Ks(s) {
16090
16090
  let t, e = (
16091
16091
  /*i*/
16092
16092
  s[49] + 1 + ""
16093
- ), i, o, n, r;
16093
+ ), i, o, r, n;
16094
16094
  function a() {
16095
16095
  return (
16096
16096
  /*click_handler_4*/
@@ -16107,7 +16107,7 @@ function Ks(s) {
16107
16107
  s[15] ? "BonusPageActive" : ""));
16108
16108
  },
16109
16109
  m(l, d) {
16110
- Q(l, t, d), g(t, i), n || (r = me(t, "click", a), n = !0);
16110
+ Q(l, t, d), g(t, i), r || (n = me(t, "click", a), r = !0);
16111
16111
  },
16112
16112
  p(l, d) {
16113
16113
  s = l, d[0] & /*currentPage*/
@@ -16116,13 +16116,13 @@ function Ks(s) {
16116
16116
  s[15] ? "BonusPageActive" : "")) && x(t, "class", o);
16117
16117
  },
16118
16118
  d(l) {
16119
- l && J(t), n = !1, r();
16119
+ l && J(t), r = !1, n();
16120
16120
  }
16121
16121
  };
16122
16122
  }
16123
16123
  function Jc(s) {
16124
16124
  let t;
16125
- function e(n, r) {
16125
+ function e(r, n) {
16126
16126
  return Wc;
16127
16127
  }
16128
16128
  let o = e()(s);
@@ -16130,24 +16130,24 @@ function Jc(s) {
16130
16130
  c() {
16131
16131
  t = T("div"), o.c();
16132
16132
  },
16133
- m(n, r) {
16134
- Q(n, t, r), o.m(t, null), s[36](t);
16133
+ m(r, n) {
16134
+ Q(r, t, n), o.m(t, null), s[36](t);
16135
16135
  },
16136
- p(n, r) {
16137
- o.p(n, r);
16136
+ p(r, n) {
16137
+ o.p(r, n);
16138
16138
  },
16139
16139
  i: is,
16140
16140
  o: is,
16141
- d(n) {
16142
- n && J(t), o.d(), s[36](null);
16141
+ d(r) {
16142
+ r && J(t), o.d(), s[36](null);
16143
16143
  }
16144
16144
  };
16145
16145
  }
16146
16146
  let oe = 6;
16147
16147
  function Qc(s, t, e) {
16148
16148
  let i;
16149
- sr(s, ar, (m) => e(20, i = m));
16150
- let { endpoint: o = "" } = t, { session: n = "" } = t, { playerid: r = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: c = "" } = t, { bonushistorystatus: u = "" } = t, { bonushistorytype: h = "" } = t, p, _ = window.navigator.userAgent, v = or(_) !== "PC", y, w, A, O;
16149
+ sn(s, an, (m) => e(20, i = m));
16150
+ let { endpoint: o = "" } = t, { session: r = "" } = t, { playerid: n = "" } = t, { lang: a = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: c = "" } = t, { bonushistorystatus: u = "" } = t, { bonushistorytype: h = "" } = t, p, _ = window.navigator.userAgent, v = on(_) !== "PC", y, w, A, O;
16151
16151
  A = pt(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), O = pt(/* @__PURE__ */ new Date()).subtract(3, "months").format("YYYY-MM-DD");
16152
16152
  let I = O, b = A, P = 0, N = 0, D = 0, K = 0, Re = 0, ae = [], $e = "", Ee = "", Ve = "";
16153
16153
  const ee = () => {
@@ -16171,13 +16171,13 @@ function Qc(s, t, e) {
16171
16171
  window.location.href
16172
16172
  );
16173
16173
  }, R = (m, W, te) => {
16174
- let Bt = new URL(`${o}/v1/player/${r}/bonusWallet`), Vn = pt(I).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Yn = pt(b).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), fe = "", Xi = "", Ji = "";
16175
- W && (Xi = W.split(",").map((le) => `status=${le}`).join(","), fe = fe + Xi + ","), te && (Ji = te.split(",").map((le) => `type=${le}`).join(","), fe = fe + Ji + ","), fe = fe + `granted=[${Vn}~${Yn}]`, Bt.searchParams.append("filter", fe), Bt.searchParams.append("pagination", `offset=${m},limit=${oe}`);
16176
- let Un = {
16174
+ let Bt = new URL(`${o}/v1/player/${n}/bonusWallet`), $r = pt(I).startOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), Vr = pt(b).endOf("day").utc().format("YYYY-MM-DDTHH:mm:ss.SSS[Z]"), fe = "", Xi = "", Ji = "";
16175
+ W && (Xi = W.split(",").map((le) => `status=${le}`).join(","), fe = fe + Xi + ","), te && (Ji = te.split(",").map((le) => `type=${le}`).join(","), fe = fe + Ji + ","), fe = fe + `granted=[${$r}~${Vr}]`, Bt.searchParams.append("filter", fe), Bt.searchParams.append("pagination", `offset=${m},limit=${oe}`);
16176
+ let Yr = {
16177
16177
  method: "GET",
16178
- headers: { "X-SessionId": n }
16178
+ headers: { "X-SessionId": r }
16179
16179
  };
16180
- fetch(Bt.href, Un).then((V) => V.json()).then(
16180
+ fetch(Bt.href, Yr).then((V) => V.json()).then(
16181
16181
  (V) => {
16182
16182
  Array.isArray(V.items) && V.items.forEach((Ue) => {
16183
16183
  var Qi, Zi;
@@ -16196,15 +16196,15 @@ function Qc(s, t, e) {
16196
16196
  }, k = () => {
16197
16197
  y.addEventListener("change", $, !1), w.addEventListener("change", B, !1);
16198
16198
  };
16199
- nr(() => () => {
16199
+ rn(() => () => {
16200
16200
  y.removeEventListener("change", $), w.removeEventListener("change", B);
16201
16201
  });
16202
16202
  const z = () => {
16203
16203
  Yc(a);
16204
- }, Sn = () => {
16204
+ }, Tr = () => {
16205
16205
  let m = document.createElement("style");
16206
16206
  m.innerHTML = l, p.appendChild(m);
16207
- }, On = () => {
16207
+ }, Sr = () => {
16208
16208
  let m = new URL(d), W = document.createElement("style");
16209
16209
  fetch(m.href).then((te) => te.text()).then((te) => {
16210
16210
  W.innerHTML = te, setTimeout(
@@ -16214,32 +16214,32 @@ function Qc(s, t, e) {
16214
16214
  1
16215
16215
  );
16216
16216
  });
16217
- }, Mn = () => Ye();
16218
- function In(m) {
16217
+ }, Or = () => Ye();
16218
+ function Mr(m) {
16219
16219
  zt[m ? "unshift" : "push"](() => {
16220
16220
  y = m, e(7, y);
16221
16221
  });
16222
16222
  }
16223
- function Nn(m) {
16223
+ function Ir(m) {
16224
16224
  zt[m ? "unshift" : "push"](() => {
16225
16225
  w = m, e(8, w);
16226
16226
  });
16227
16227
  }
16228
- const Fn = () => R(0, u, h), Bn = () => R(0, u, h), Ln = () => R(P, u, h), zn = (m) => R(m * oe, u, h), Hn = () => R(N, u, h), Rn = () => R(D, u, h);
16229
- function $n(m) {
16228
+ const Nr = () => R(0, u, h), Fr = () => R(0, u, h), Br = () => R(P, u, h), Lr = (m) => R(m * oe, u, h), zr = () => R(N, u, h), Hr = () => R(D, u, h);
16229
+ function Rr(m) {
16230
16230
  zt[m ? "unshift" : "push"](() => {
16231
16231
  p = m, e(6, p);
16232
16232
  });
16233
16233
  }
16234
16234
  return s.$$set = (m) => {
16235
- "endpoint" in m && e(24, o = m.endpoint), "session" in m && e(25, n = m.session), "playerid" in m && e(26, r = 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), "translationurl" in m && e(3, c = m.translationurl), "bonushistorystatus" in m && e(4, u = m.bonushistorystatus), "bonushistorytype" in m && e(5, h = m.bonushistorytype);
16235
+ "endpoint" in m && e(24, o = m.endpoint), "session" in m && e(25, r = m.session), "playerid" in m && e(26, 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), "translationurl" in m && e(3, c = m.translationurl), "bonushistorystatus" in m && e(4, u = m.bonushistorystatus), "bonushistorytype" in m && e(5, h = m.bonushistorytype);
16236
16236
  }, s.$$.update = () => {
16237
16237
  s.$$.dirty[0] & /*lang*/
16238
16238
  1 && a && z(), s.$$.dirty[0] & /*startCalendar, endCalendar*/
16239
16239
  384 && y && w && k(), s.$$.dirty[0] & /*session, playerid, endpoint, bonushistorystatus, bonushistorytype*/
16240
- 117440560 && n && r && o && R(0, u, h), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
16241
- 68 && d && p && On(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
16242
- 66 && l && p && Sn(), s.$$.dirty[0] & /*translationurl*/
16240
+ 117440560 && r && n && o && R(0, u, h), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
16241
+ 68 && d && p && Sr(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
16242
+ 66 && l && p && Tr(), s.$$.dirty[0] & /*translationurl*/
16243
16243
  8 && c && ee();
16244
16244
  }, [
16245
16245
  a,
@@ -16267,28 +16267,28 @@ function Qc(s, t, e) {
16267
16267
  Ye,
16268
16268
  R,
16269
16269
  o,
16270
- n,
16271
16270
  r,
16272
- Mn,
16273
- In,
16274
- Nn,
16275
- Fn,
16276
- Bn,
16277
- Ln,
16278
- zn,
16279
- Hn,
16280
- Rn,
16281
- $n
16271
+ n,
16272
+ Or,
16273
+ Mr,
16274
+ Ir,
16275
+ Nr,
16276
+ Fr,
16277
+ Br,
16278
+ Lr,
16279
+ zr,
16280
+ Hr,
16281
+ Rr
16282
16282
  ];
16283
16283
  }
16284
- class Zc extends Qn {
16284
+ class Zc extends Jr {
16285
16285
  constructor(t) {
16286
- super(), Zn(
16286
+ super(), Qr(
16287
16287
  this,
16288
16288
  t,
16289
16289
  Qc,
16290
16290
  Jc,
16291
- er,
16291
+ Zr,
16292
16292
  {
16293
16293
  endpoint: 24,
16294
16294
  session: 25,
@@ -16359,7 +16359,7 @@ class Zc extends Qn {
16359
16359
  this.$$set({ bonushistorytype: t }), ie();
16360
16360
  }
16361
16361
  }
16362
- tr(Zc, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
16362
+ en(Zc, { endpoint: {}, session: {}, playerid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, bonushistorystatus: {}, bonushistorytype: {} }, [], [], !0);
16363
16363
  export {
16364
16364
  Zc as default
16365
16365
  };