@everymatrix/player-account-timeout 1.85.21 → 1.85.23

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,11 +1,11 @@
1
- import { c as pr, g as fr, a as mr, $ as _r, b as gr, S as yr, i as vr, s as br, f as ce, d as wr, n as Gt, e as oe, h as se, j as M, k as xr, l as Cr, o as Ar, m as Tr, p as Yi, q as x, r as Y, t as A, u as Wi, v as N, w as qi, x as Er, y as Dr, z as ge, A as Ki, B as _t, C as pe, D as kr, E as Sr, F as Oe, G as Gi, H as Pr, I as Or, J as Mr, K as Ir } from "./PlayerAccountGeneralConfirmationModal-BclGH0SY.js";
1
+ import { c as pr, g as fr, a as mr, $ as _r, b as gr, S as yr, i as vr, s as br, f as ae, d as wr, n as Gt, e as re, h as ne, j as O, k as xr, l as Cr, o as Ar, m as Tr, p as Yi, q as w, r as q, t as T, u as Wi, v as z, w as qi, x as Er, y as Dr, z as Le, A as Ki, B as _t, C as Te, D as kr, E as Sr, F as Pe, G as Gi, H as Pr, I as Or, J as Mr, K as Ir } from "./PlayerAccountGeneralConfirmationModal-BclGH0SY.js";
2
2
  import "../stencil/ui-skeleton-W50o8tfg.js";
3
3
  /**
4
4
  * @license
5
5
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
6
6
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7
7
  */
8
- function le(o, t = "24.5.10") {
8
+ function de(o, t = "24.5.10") {
9
9
  Object.defineProperty(o, "version", {
10
10
  get() {
11
11
  return t;
@@ -31,7 +31,7 @@ class Nr extends HTMLElement {
31
31
  return "vaadin-lumo-styles";
32
32
  }
33
33
  }
34
- le(Nr);
34
+ de(Nr);
35
35
  /**
36
36
  * @license
37
37
  * Copyright 2019 Google LLC
@@ -57,7 +57,7 @@ let wi = class {
57
57
  return this.cssText;
58
58
  }
59
59
  };
60
- const Fr = (o) => new wi(typeof o == "string" ? o : o + "", void 0, bi), P = (o, ...t) => {
60
+ const Fr = (o) => new wi(typeof o == "string" ? o : o + "", void 0, bi), k = (o, ...t) => {
61
61
  const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
62
62
  if (n._$cssResult$ === !0)
63
63
  return n.cssText;
@@ -115,7 +115,7 @@ const { is: zr, defineProperty: Lr, getOwnPropertyDescriptor: $r, getOwnProperty
115
115
  return e;
116
116
  } }, jo = (o, t) => !zr(o, t), Qi = { attribute: !0, type: String, converter: Jt, reflect: !1, useDefault: !1, hasChanged: jo };
117
117
  Symbol.metadata ??= Symbol("metadata"), Dt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
118
- class Ie extends HTMLElement {
118
+ class Me extends HTMLElement {
119
119
  static addInitializer(t) {
120
120
  this._$Ei(), (this.l ??= []).push(t);
121
121
  }
@@ -308,15 +308,15 @@ class Ie extends HTMLElement {
308
308
  firstUpdated(t) {
309
309
  }
310
310
  }
311
- Ie.elementStyles = [], Ie.shadowRootOptions = { mode: "open" }, Ie[Ze("elementProperties")] = /* @__PURE__ */ new Map(), Ie[Ze("finalized")] = /* @__PURE__ */ new Map(), Ur?.({ ReactiveElement: Ie }), (Dt.reactiveElementVersions ??= []).push("2.1.1");
311
+ Me.elementStyles = [], Me.shadowRootOptions = { mode: "open" }, Me[Ze("elementProperties")] = /* @__PURE__ */ new Map(), Me[Ze("finalized")] = /* @__PURE__ */ new Map(), Ur?.({ ReactiveElement: Me }), (Dt.reactiveElementVersions ??= []).push("2.1.1");
312
312
  /**
313
313
  * @license
314
314
  * Copyright 2017 Google LLC
315
315
  * SPDX-License-Identifier: BSD-3-Clause
316
316
  */
317
- const xi = globalThis, vt = xi.trustedTypes, eo = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Yo = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, Wo = "?" + _e, jr = `<${Wo}>`, De = document, et = () => De.createComment(""), tt = (o) => o === null || typeof o != "object" && typeof o != "function", Ci = Array.isArray, Yr = (o) => Ci(o) || typeof o?.[Symbol.iterator] == "function", Nt = `[
318
- \f\r]`, Ye = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, to = /-->/g, io = />/g, xe = RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
319
- \f\r"'\`<>=]|("|')|))|$)`, "g"), oo = /'/g, so = /"/g, qo = /^(?:script|style|textarea|title)$/i, $e = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), ro = /* @__PURE__ */ new WeakMap(), Ce = De.createTreeWalker(De, 129);
317
+ const xi = globalThis, vt = xi.trustedTypes, eo = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Yo = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, Wo = "?" + _e, jr = `<${Wo}>`, Ee = document, et = () => Ee.createComment(""), tt = (o) => o === null || typeof o != "object" && typeof o != "function", Ci = Array.isArray, Yr = (o) => Ci(o) || typeof o?.[Symbol.iterator] == "function", Nt = `[
318
+ \f\r]`, Ye = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, to = /-->/g, io = />/g, be = RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
319
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), oo = /'/g, so = /"/g, qo = /^(?:script|style|textarea|title)$/i, $e = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), ro = /* @__PURE__ */ new WeakMap(), we = Ee.createTreeWalker(Ee, 129);
320
320
  function Ko(o, t) {
321
321
  if (!Ci(o) || !o.hasOwnProperty("raw"))
322
322
  throw Error("invalid template strings array");
@@ -327,11 +327,11 @@ const Wr = (o, t) => {
327
327
  let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Ye;
328
328
  for (let a = 0; a < e; a++) {
329
329
  const l = o[a];
330
- let d, c, u = -1, h = 0;
331
- for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
332
- h = n.lastIndex, n === Ye ? c[1] === "!--" ? n = to : c[1] !== void 0 ? n = io : c[2] !== void 0 ? (qo.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = xe) : c[3] !== void 0 && (n = xe) : n === xe ? c[0] === ">" ? (n = s ?? Ye, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? xe : c[3] === '"' ? so : oo) : n === so || n === oo ? n = xe : n === to || n === io ? n = Ye : (n = xe, s = void 0);
333
- const p = n === xe && o[a + 1].startsWith("/>") ? " " : "";
334
- r += n === Ye ? l + jr : u >= 0 ? (i.push(d), l.slice(0, u) + Yo + l.slice(u) + _e + p) : l + _e + (u === -2 ? a : p);
330
+ let d, u, c = -1, p = 0;
331
+ for (; p < l.length && (n.lastIndex = p, u = n.exec(l), u !== null); )
332
+ p = n.lastIndex, n === Ye ? u[1] === "!--" ? n = to : u[1] !== void 0 ? n = io : u[2] !== void 0 ? (qo.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = be) : u[3] !== void 0 && (n = be) : n === be ? u[0] === ">" ? (n = s ?? Ye, c = -1) : u[1] === void 0 ? c = -2 : (c = n.lastIndex - u[2].length, d = u[1], n = u[3] === void 0 ? be : u[3] === '"' ? so : oo) : n === so || n === oo ? n = be : n === to || n === io ? n = Ye : (n = be, s = void 0);
333
+ const m = n === be && o[a + 1].startsWith("/>") ? " " : "";
334
+ r += n === Ye ? l + jr : c >= 0 ? (i.push(d), l.slice(0, c) + Yo + l.slice(c) + _e + m) : l + _e + (c === -2 ? a : m);
335
335
  }
336
336
  return [Ko(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
337
337
  };
@@ -340,42 +340,42 @@ class it {
340
340
  let s;
341
341
  this.parts = [];
342
342
  let r = 0, n = 0;
343
- const a = t.length - 1, l = this.parts, [d, c] = Wr(t, e);
344
- if (this.el = it.createElement(d, i), Ce.currentNode = this.el.content, e === 2 || e === 3) {
345
- const u = this.el.content.firstChild;
346
- u.replaceWith(...u.childNodes);
343
+ const a = t.length - 1, l = this.parts, [d, u] = Wr(t, e);
344
+ if (this.el = it.createElement(d, i), we.currentNode = this.el.content, e === 2 || e === 3) {
345
+ const c = this.el.content.firstChild;
346
+ c.replaceWith(...c.childNodes);
347
347
  }
348
- for (; (s = Ce.nextNode()) !== null && l.length < a; ) {
348
+ for (; (s = we.nextNode()) !== null && l.length < a; ) {
349
349
  if (s.nodeType === 1) {
350
350
  if (s.hasAttributes())
351
- for (const u of s.getAttributeNames())
352
- if (u.endsWith(Yo)) {
353
- const h = c[n++], p = s.getAttribute(u).split(_e), y = /([.?@])?(.*)/.exec(h);
354
- l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? Kr : y[1] === "?" ? Gr : y[1] === "@" ? Jr : kt }), s.removeAttribute(u);
351
+ for (const c of s.getAttributeNames())
352
+ if (c.endsWith(Yo)) {
353
+ const p = u[n++], m = s.getAttribute(c).split(_e), _ = /([.?@])?(.*)/.exec(p);
354
+ l.push({ type: 1, index: r, name: _[2], strings: m, ctor: _[1] === "." ? Kr : _[1] === "?" ? Gr : _[1] === "@" ? Jr : kt }), s.removeAttribute(c);
355
355
  } else
356
- u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
356
+ c.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(c));
357
357
  if (qo.test(s.tagName)) {
358
- const u = s.textContent.split(_e), h = u.length - 1;
359
- if (h > 0) {
358
+ const c = s.textContent.split(_e), p = c.length - 1;
359
+ if (p > 0) {
360
360
  s.textContent = vt ? vt.emptyScript : "";
361
- for (let p = 0; p < h; p++)
362
- s.append(u[p], et()), Ce.nextNode(), l.push({ type: 2, index: ++r });
363
- s.append(u[h], et());
361
+ for (let m = 0; m < p; m++)
362
+ s.append(c[m], et()), we.nextNode(), l.push({ type: 2, index: ++r });
363
+ s.append(c[p], et());
364
364
  }
365
365
  }
366
366
  } else if (s.nodeType === 8)
367
367
  if (s.data === Wo)
368
368
  l.push({ type: 2, index: r });
369
369
  else {
370
- let u = -1;
371
- for (; (u = s.data.indexOf(_e, u + 1)) !== -1; )
372
- l.push({ type: 7, index: r }), u += _e.length - 1;
370
+ let c = -1;
371
+ for (; (c = s.data.indexOf(_e, c + 1)) !== -1; )
372
+ l.push({ type: 7, index: r }), c += _e.length - 1;
373
373
  }
374
374
  r++;
375
375
  }
376
376
  }
377
377
  static createElement(t, e) {
378
- const i = De.createElement("template");
378
+ const i = Ee.createElement("template");
379
379
  return i.innerHTML = t, i;
380
380
  }
381
381
  }
@@ -397,17 +397,17 @@ class qr {
397
397
  return this._$AM._$AU;
398
398
  }
399
399
  u(t) {
400
- const { el: { content: e }, parts: i } = this._$AD, s = (t?.creationScope ?? De).importNode(e, !0);
401
- Ce.currentNode = s;
402
- let r = Ce.nextNode(), n = 0, a = 0, l = i[0];
400
+ const { el: { content: e }, parts: i } = this._$AD, s = (t?.creationScope ?? Ee).importNode(e, !0);
401
+ we.currentNode = s;
402
+ let r = we.nextNode(), n = 0, a = 0, l = i[0];
403
403
  for (; l !== void 0; ) {
404
404
  if (n === l.index) {
405
405
  let d;
406
406
  l.type === 2 ? d = new dt(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new Xr(r, this, t)), this._$AV.push(d), l = i[++a];
407
407
  }
408
- n !== l?.index && (r = Ce.nextNode(), n++);
408
+ n !== l?.index && (r = we.nextNode(), n++);
409
409
  }
410
- return Ce.currentNode = De, s;
410
+ return we.currentNode = Ee, s;
411
411
  }
412
412
  p(t) {
413
413
  let e = 0;
@@ -420,7 +420,7 @@ class dt {
420
420
  return this._$AM?._$AU ?? this._$Cv;
421
421
  }
422
422
  constructor(t, e, i, s) {
423
- this.type = 2, this._$AH = j, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = s?.isConnected ?? !0;
423
+ this.type = 2, this._$AH = W, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = s?.isConnected ?? !0;
424
424
  }
425
425
  get parentNode() {
426
426
  let t = this._$AA.parentNode;
@@ -434,7 +434,7 @@ class dt {
434
434
  return this._$AB;
435
435
  }
436
436
  _$AI(t, e = this) {
437
- t = Re(this, t, e), tt(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== $e && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Yr(t) ? this.k(t) : this._(t);
437
+ t = Re(this, t, e), tt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== $e && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Yr(t) ? this.k(t) : this._(t);
438
438
  }
439
439
  O(t) {
440
440
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -443,7 +443,7 @@ class dt {
443
443
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
444
444
  }
445
445
  _(t) {
446
- this._$AH !== j && tt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(De.createTextNode(t)), this._$AH = t;
446
+ this._$AH !== W && tt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ee.createTextNode(t)), this._$AH = t;
447
447
  }
448
448
  $(t) {
449
449
  const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = it.createElement(Ko(i.h, i.h[0]), this.options)), i);
@@ -484,7 +484,7 @@ class kt {
484
484
  return this._$AM._$AU;
485
485
  }
486
486
  constructor(t, e, i, s, r) {
487
- this.type = 1, this._$AH = j, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = j;
487
+ this.type = 1, this._$AH = W, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = W;
488
488
  }
489
489
  _$AI(t, e = this, i, s) {
490
490
  const r = this.strings;
@@ -495,12 +495,12 @@ class kt {
495
495
  const a = t;
496
496
  let l, d;
497
497
  for (t = r[0], l = 0; l < r.length - 1; l++)
498
- d = Re(this, a[i + l], e, l), d === $e && (d = this._$AH[l]), n ||= !tt(d) || d !== this._$AH[l], d === j ? t = j : t !== j && (t += (d ?? "") + r[l + 1]), this._$AH[l] = d;
498
+ d = Re(this, a[i + l], e, l), d === $e && (d = this._$AH[l]), n ||= !tt(d) || d !== this._$AH[l], d === W ? t = W : t !== W && (t += (d ?? "") + r[l + 1]), this._$AH[l] = d;
499
499
  }
500
500
  n && !s && this.j(t);
501
501
  }
502
502
  j(t) {
503
- t === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
503
+ t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
504
504
  }
505
505
  }
506
506
  class Kr extends kt {
@@ -508,7 +508,7 @@ class Kr extends kt {
508
508
  super(...arguments), this.type = 3;
509
509
  }
510
510
  j(t) {
511
- this.element[this.name] = t === j ? void 0 : t;
511
+ this.element[this.name] = t === W ? void 0 : t;
512
512
  }
513
513
  }
514
514
  class Gr extends kt {
@@ -516,7 +516,7 @@ class Gr extends kt {
516
516
  super(...arguments), this.type = 4;
517
517
  }
518
518
  j(t) {
519
- this.element.toggleAttribute(this.name, !!t && t !== j);
519
+ this.element.toggleAttribute(this.name, !!t && t !== W);
520
520
  }
521
521
  }
522
522
  class Jr extends kt {
@@ -524,9 +524,9 @@ class Jr extends kt {
524
524
  super(t, e, i, s, r), this.type = 5;
525
525
  }
526
526
  _$AI(t, e = this) {
527
- if ((t = Re(this, t, e, 0) ?? j) === $e)
527
+ if ((t = Re(this, t, e, 0) ?? W) === $e)
528
528
  return;
529
- const i = this._$AH, s = t === j && i !== j || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== j && (i === j || s);
529
+ const i = this._$AH, s = t === W && i !== W || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== W && (i === W || s);
530
530
  s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
531
531
  }
532
532
  handleEvent(t) {
@@ -561,7 +561,7 @@ const Qr = (o, t, e) => {
561
561
  * SPDX-License-Identifier: BSD-3-Clause
562
562
  */
563
563
  const Ai = globalThis;
564
- class Ne extends Ie {
564
+ class Ie extends Me {
565
565
  constructor() {
566
566
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
567
567
  }
@@ -583,9 +583,9 @@ class Ne extends Ie {
583
583
  return $e;
584
584
  }
585
585
  }
586
- Ne._$litElement$ = !0, Ne.finalized = !0, Ai.litElementHydrateSupport?.({ LitElement: Ne });
586
+ Ie._$litElement$ = !0, Ie.finalized = !0, Ai.litElementHydrateSupport?.({ LitElement: Ie });
587
587
  const en = Ai.litElementPolyfillSupport;
588
- en?.({ LitElement: Ne });
588
+ en?.({ LitElement: Ie });
589
589
  (Ai.litElementVersions ??= []).push("4.2.1");
590
590
  /**
591
591
  * @license
@@ -657,7 +657,7 @@ function nn(o) {
657
657
  if (!o.shadowRoot)
658
658
  return;
659
659
  const t = o.constructor;
660
- if (o instanceof Ne)
660
+ if (o instanceof Ie)
661
661
  [...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Uo(o.shadowRoot, t.elementStyles);
662
662
  else {
663
663
  const e = o.shadowRoot.getElementById(bt), i = t.prototype._template;
@@ -671,7 +671,7 @@ function an(o) {
671
671
  });
672
672
  }
673
673
  function Qo(o) {
674
- if (o.prototype instanceof Ne)
674
+ if (o.prototype instanceof Ie)
675
675
  o.elementStyles = o.finalizeStyles(o.styles);
676
676
  else {
677
677
  const t = o.prototype._template;
@@ -688,7 +688,7 @@ function ln(o, t) {
688
688
  (i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
689
689
  );
690
690
  }
691
- function H(o, t, e = {}) {
691
+ function B(o, t, e = {}) {
692
692
  t = sn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : Go.push({
693
693
  themeFor: o,
694
694
  styles: t,
@@ -717,7 +717,7 @@ function es(o) {
717
717
  i ? t.push(...es(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
718
718
  }, o.styles), t;
719
719
  }
720
- function cn(o) {
720
+ function un(o) {
721
721
  const t = `${o}-default-theme`, e = Zt().filter((i) => i.moduleId !== t && Xo(i.themeFor, o)).map((i) => ({
722
722
  ...i,
723
723
  // Prepend styles from included themes
@@ -727,7 +727,7 @@ function cn(o) {
727
727
  })).sort((i, s) => s.includePriority - i.includePriority);
728
728
  return e.length > 0 ? e : Zt().filter((i) => i.moduleId === t);
729
729
  }
730
- const ke = (o) => class extends tn(o) {
730
+ const De = (o) => class extends tn(o) {
731
731
  constructor() {
732
732
  super(), Xt.add(new WeakRef(this));
733
733
  }
@@ -757,7 +757,7 @@ const ke = (o) => class extends tn(o) {
757
757
  */
758
758
  static getStylesForThis() {
759
759
  const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
760
- this.__themes = [...e, ...s, ...cn(this.is)];
760
+ this.__themes = [...e, ...s, ...un(this.is)];
761
761
  const r = this.__themes.flatMap((n) => n.styles);
762
762
  return r.filter((n, a) => a === r.lastIndexOf(n));
763
763
  }
@@ -767,19 +767,19 @@ const ke = (o) => class extends tn(o) {
767
767
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
768
768
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
769
769
  */
770
- const un = (o, ...t) => {
770
+ const cn = (o, ...t) => {
771
771
  const e = document.createElement("style");
772
772
  e.id = o, e.textContent = t.map((i) => i.toString()).join(`
773
773
  `).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
774
774
  }, Ve = (o, ...t) => {
775
- un(`lumo-${o}`, t);
775
+ cn(`lumo-${o}`, t);
776
776
  };
777
777
  /**
778
778
  * @license
779
779
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
780
780
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
781
781
  */
782
- const hn = P`
782
+ const hn = k`
783
783
  :host {
784
784
  --lumo-size-xs: 1.625rem;
785
785
  --lumo-size-s: 1.875rem;
@@ -801,7 +801,7 @@ Ve("sizing-props", hn);
801
801
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
802
802
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
803
803
  */
804
- const pn = P`
804
+ const pn = k`
805
805
  :host {
806
806
  /* Square */
807
807
  --lumo-space-xs: 0.25rem;
@@ -831,7 +831,7 @@ Ve("spacing-props", pn);
831
831
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
832
832
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
833
833
  */
834
- const fn = P`
834
+ const fn = k`
835
835
  :host {
836
836
  /* Border radius */
837
837
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -849,7 +849,7 @@ const fn = P`
849
849
  --lumo-clickable-cursor: default;
850
850
  }
851
851
  `;
852
- P`
852
+ k`
853
853
  html {
854
854
  /* Button */
855
855
  --vaadin-button-background: var(--lumo-contrast-5pct);
@@ -939,7 +939,7 @@ Ve("style-props", fn);
939
939
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
940
940
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
941
941
  */
942
- const mn = P`
942
+ const mn = k`
943
943
  :host {
944
944
  /* Base (background) */
945
945
  --lumo-base-color: #fff;
@@ -1026,7 +1026,7 @@ const mn = P`
1026
1026
  }
1027
1027
  `;
1028
1028
  Ve("color-props", mn);
1029
- const _n = P`
1029
+ const _n = k`
1030
1030
  [theme~='dark'] {
1031
1031
  /* Base (background) */
1032
1032
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -1145,13 +1145,13 @@ const _n = P`
1145
1145
  background: transparent;
1146
1146
  }
1147
1147
  `;
1148
- H("", _n, { moduleId: "lumo-color" });
1148
+ B("", _n, { moduleId: "lumo-color" });
1149
1149
  /**
1150
1150
  * @license
1151
1151
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1152
1152
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1153
1153
  */
1154
- const gn = P`
1154
+ const gn = k`
1155
1155
  :host {
1156
1156
  /* prettier-ignore */
1157
1157
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -1171,7 +1171,7 @@ const gn = P`
1171
1171
  --lumo-line-height-s: 1.375;
1172
1172
  --lumo-line-height-m: 1.625;
1173
1173
  }
1174
- `, yn = P`
1174
+ `, yn = k`
1175
1175
  body,
1176
1176
  :host {
1177
1177
  font-family: var(--lumo-font-family);
@@ -1264,14 +1264,14 @@ const gn = P`
1264
1264
  border-right: 2px solid var(--lumo-contrast-30pct);
1265
1265
  }
1266
1266
  `;
1267
- H("", yn, { moduleId: "lumo-typography" });
1267
+ B("", yn, { moduleId: "lumo-typography" });
1268
1268
  Ve("typography-props", gn);
1269
1269
  /**
1270
1270
  * @license
1271
1271
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1272
1272
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1273
1273
  */
1274
- const ts = P`
1274
+ const ts = k`
1275
1275
  :host {
1276
1276
  top: var(--lumo-space-m);
1277
1277
  right: var(--lumo-space-m);
@@ -1337,13 +1337,13 @@ const ts = P`
1337
1337
  }
1338
1338
  }
1339
1339
  `;
1340
- H("", ts, { moduleId: "lumo-overlay" });
1340
+ B("", ts, { moduleId: "lumo-overlay" });
1341
1341
  /**
1342
1342
  * @license
1343
1343
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1344
1344
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1345
1345
  */
1346
- const is = P`
1346
+ const is = k`
1347
1347
  :host([opening]),
1348
1348
  :host([closing]) {
1349
1349
  animation: 0.14s lumo-overlay-dummy-animation;
@@ -1374,8 +1374,8 @@ const is = P`
1374
1374
  }
1375
1375
  }
1376
1376
  `;
1377
- H("", is, { moduleId: "lumo-menu-overlay-core" });
1378
- const vn = P`
1377
+ B("", is, { moduleId: "lumo-menu-overlay-core" });
1378
+ const vn = k`
1379
1379
  /* Small viewport (bottom sheet) styles */
1380
1380
  /* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
1381
1381
  @media (max-width: 450px), (max-height: 450px) {
@@ -1438,8 +1438,8 @@ const vn = P`
1438
1438
  }
1439
1439
  }
1440
1440
  `, os = [ts, is, vn];
1441
- H("", os, { moduleId: "lumo-menu-overlay" });
1442
- const bn = P`
1441
+ B("", os, { moduleId: "lumo-menu-overlay" });
1442
+ const bn = k`
1443
1443
  [part='overlay'] {
1444
1444
  /*
1445
1445
  Width:
@@ -1485,10 +1485,10 @@ const bn = P`
1485
1485
  }
1486
1486
  }
1487
1487
  `;
1488
- H("vaadin-date-picker-overlay", [os, bn], {
1488
+ B("vaadin-date-picker-overlay", [os, bn], {
1489
1489
  moduleId: "lumo-date-picker-overlay"
1490
1490
  });
1491
- const wn = P`
1491
+ const wn = k`
1492
1492
  :host {
1493
1493
  /* Sizing */
1494
1494
  --lumo-button-size: var(--lumo-size-m);
@@ -1765,10 +1765,10 @@ const wn = P`
1765
1765
  margin-right: 0;
1766
1766
  }
1767
1767
  `;
1768
- H("vaadin-button", wn, { moduleId: "lumo-button" });
1769
- H(
1768
+ B("vaadin-button", wn, { moduleId: "lumo-button" });
1769
+ B(
1770
1770
  "vaadin-date-picker-year",
1771
- P`
1771
+ k`
1772
1772
  :host([current]) [part='year-number'] {
1773
1773
  color: var(--lumo-primary-text-color);
1774
1774
  }
@@ -1795,9 +1795,9 @@ H(
1795
1795
  `,
1796
1796
  { moduleId: "lumo-date-picker-year" }
1797
1797
  );
1798
- H(
1798
+ B(
1799
1799
  "vaadin-date-picker-overlay-content",
1800
- P`
1800
+ k`
1801
1801
  :host {
1802
1802
  position: relative;
1803
1803
  /* Background for the year scroller, placed here as we are using a mask image on the actual years part */
@@ -1950,9 +1950,9 @@ H(
1950
1950
  `,
1951
1951
  { moduleId: "lumo-date-picker-overlay-content" }
1952
1952
  );
1953
- H(
1953
+ B(
1954
1954
  "vaadin-month-calendar",
1955
- P`
1955
+ k`
1956
1956
  :host {
1957
1957
  -moz-user-select: none;
1958
1958
  -webkit-user-select: none;
@@ -2102,9 +2102,9 @@ H(
2102
2102
  `,
2103
2103
  { moduleId: "lumo-month-calendar" }
2104
2104
  );
2105
- H(
2105
+ B(
2106
2106
  "vaadin-input-container",
2107
- P`
2107
+ k`
2108
2108
  :host {
2109
2109
  background: var(--_background);
2110
2110
  padding: 0 calc(0.375em + var(--_input-container-radius) / 4 - 1px);
@@ -2290,7 +2290,7 @@ H(
2290
2290
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2291
2291
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2292
2292
  */
2293
- const xn = P`
2293
+ const xn = k`
2294
2294
  @font-face {
2295
2295
  font-family: 'lumo-icons';
2296
2296
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
@@ -2350,7 +2350,7 @@ Ve("font-icons", xn);
2350
2350
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2351
2351
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2352
2352
  */
2353
- const ss = P`
2353
+ const ss = k`
2354
2354
  [part$='button'] {
2355
2355
  flex: none;
2356
2356
  width: 1em;
@@ -2378,13 +2378,13 @@ const ss = P`
2378
2378
  display: block;
2379
2379
  }
2380
2380
  `;
2381
- H("", ss, { moduleId: "lumo-field-button" });
2381
+ B("", ss, { moduleId: "lumo-field-button" });
2382
2382
  /**
2383
2383
  * @license
2384
2384
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2385
2385
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2386
2386
  */
2387
- const Cn = P`
2387
+ const Cn = k`
2388
2388
  :host {
2389
2389
  --_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
2390
2390
  }
@@ -2446,7 +2446,7 @@ const Cn = P`
2446
2446
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2447
2447
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2448
2448
  */
2449
- const rs = P`
2449
+ const rs = k`
2450
2450
  [part='label'] {
2451
2451
  align-self: flex-start;
2452
2452
  color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
@@ -2559,13 +2559,13 @@ const rs = P`
2559
2559
  margin-right: calc(var(--lumo-border-radius-m) / 4);
2560
2560
  }
2561
2561
  `;
2562
- H("", rs, { moduleId: "lumo-required-field" });
2562
+ B("", rs, { moduleId: "lumo-required-field" });
2563
2563
  /**
2564
2564
  * @license
2565
2565
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2566
2566
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2567
2567
  */
2568
- const An = P`
2568
+ const An = k`
2569
2569
  :host {
2570
2570
  --lumo-text-field-size: var(--lumo-size-m);
2571
2571
  color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
@@ -2697,10 +2697,10 @@ const An = P`
2697
2697
  content: var(--lumo-icons-cross);
2698
2698
  }
2699
2699
  `, ns = [rs, ss, Cn, An];
2700
- H("", ns, {
2700
+ B("", ns, {
2701
2701
  moduleId: "lumo-input-field-shared-styles"
2702
2702
  });
2703
- const Tn = P`
2703
+ const Tn = k`
2704
2704
  [part='toggle-button']::before {
2705
2705
  content: var(--lumo-icons-calendar);
2706
2706
  }
@@ -2723,7 +2723,7 @@ const Tn = P`
2723
2723
  --_lumo-text-field-overflow-mask-image: none;
2724
2724
  }
2725
2725
  `;
2726
- H("vaadin-date-picker", [ns, Tn], { moduleId: "lumo-date-picker" });
2726
+ B("vaadin-date-picker", [ns, Tn], { moduleId: "lumo-date-picker" });
2727
2727
  /**
2728
2728
  @license
2729
2729
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2745,25 +2745,25 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2745
2745
  Code distributed by Google as part of the polymer project is also
2746
2746
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2747
2747
  */
2748
- let En = /(url\()([^)]*)(\))/g, Dn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ut, Q;
2748
+ let En = /(url\()([^)]*)(\))/g, Dn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ct, te;
2749
2749
  function Qe(o, t) {
2750
2750
  if (o && Dn.test(o) || o === "//")
2751
2751
  return o;
2752
- if (ut === void 0) {
2753
- ut = !1;
2752
+ if (ct === void 0) {
2753
+ ct = !1;
2754
2754
  try {
2755
2755
  const e = new URL("b", "http://a");
2756
- e.pathname = "c%20d", ut = e.href === "http://a/c%20d";
2756
+ e.pathname = "c%20d", ct = e.href === "http://a/c%20d";
2757
2757
  } catch {
2758
2758
  }
2759
2759
  }
2760
- if (t || (t = document.baseURI || window.location.href), ut)
2760
+ if (t || (t = document.baseURI || window.location.href), ct)
2761
2761
  try {
2762
2762
  return new URL(o, t).href;
2763
2763
  } catch {
2764
2764
  return o;
2765
2765
  }
2766
- return Q || (Q = document.implementation.createHTMLDocument("temp"), Q.base = Q.createElement("base"), Q.head.appendChild(Q.base), Q.anchor = Q.createElement("a"), Q.body.appendChild(Q.anchor)), Q.base.href = t, Q.anchor.href = o, Q.anchor.href || o;
2766
+ return te || (te = document.implementation.createHTMLDocument("temp"), te.base = te.createElement("base"), te.head.appendChild(te.base), te.anchor = te.createElement("a"), te.body.appendChild(te.anchor)), te.base.href = t, te.anchor.href = o, te.anchor.href || o;
2767
2767
  }
2768
2768
  function Ei(o, t) {
2769
2769
  return o.replace(En, function(e, i, s, r) {
@@ -2810,7 +2810,7 @@ Code distributed by Google as part of the polymer project is also
2810
2810
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2811
2811
  */
2812
2812
  let Fn = 0;
2813
- const U = function(o) {
2813
+ const j = function(o) {
2814
2814
  let t = (
2815
2815
  /** @type {!MixinFunction} */
2816
2816
  o.__mixinApplications
@@ -2847,12 +2847,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2847
2847
  Code distributed by Google as part of the polymer project is also
2848
2848
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2849
2849
  */
2850
- let ki = {}, cs = {};
2850
+ let ki = {}, us = {};
2851
2851
  function lo(o, t) {
2852
- ki[o] = cs[o.toLowerCase()] = t;
2852
+ ki[o] = us[o.toLowerCase()] = t;
2853
2853
  }
2854
- function co(o) {
2855
- return ki[o] || cs[o.toLowerCase()];
2854
+ function uo(o) {
2855
+ return ki[o] || us[o.toLowerCase()];
2856
2856
  }
2857
2857
  function zn(o) {
2858
2858
  o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
@@ -2875,7 +2875,7 @@ class ot extends HTMLElement {
2875
2875
  */
2876
2876
  static import(t, e) {
2877
2877
  if (t) {
2878
- let i = co(t);
2878
+ let i = uo(t);
2879
2879
  return i && e ? i.querySelector(e) : i;
2880
2880
  }
2881
2881
  return null;
@@ -2923,7 +2923,7 @@ class ot extends HTMLElement {
2923
2923
  */
2924
2924
  register(t) {
2925
2925
  if (t = t || this.id, t) {
2926
- if (xt && co(t) !== void 0)
2926
+ if (xt && uo(t) !== void 0)
2927
2927
  throw lo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
2928
2928
  this.id = t, lo(t, this), zn(this);
2929
2929
  }
@@ -2940,8 +2940,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2940
2940
  Code distributed by Google as part of the polymer project is also
2941
2941
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2942
2942
  */
2943
- const Ln = "link[rel=import][type~=css]", $n = "include", uo = "shady-unscoped";
2944
- function us(o) {
2943
+ const Ln = "link[rel=import][type~=css]", $n = "include", co = "shady-unscoped";
2944
+ function cs(o) {
2945
2945
  return (
2946
2946
  /** @type {?DomModule} */
2947
2947
  ot.import(o)
@@ -2962,7 +2962,7 @@ function Rn(o) {
2962
2962
  return e;
2963
2963
  }
2964
2964
  function Hn(o) {
2965
- const t = us(o);
2965
+ const t = cs(o);
2966
2966
  if (!t)
2967
2967
  return console.warn("Could not find style data in module named", o), [];
2968
2968
  if (t._styles === void 0) {
@@ -2998,7 +2998,7 @@ function hs(o, t) {
2998
2998
  return o._styles;
2999
2999
  }
3000
3000
  function Bn(o) {
3001
- let t = us(o);
3001
+ let t = cs(o);
3002
3002
  return t ? ps(t) : [];
3003
3003
  }
3004
3004
  function ps(o) {
@@ -3006,10 +3006,10 @@ function ps(o) {
3006
3006
  for (let i = 0; i < e.length; i++) {
3007
3007
  let s = e[i];
3008
3008
  if (s.import) {
3009
- const r = s.import, n = s.hasAttribute(uo);
3009
+ const r = s.import, n = s.hasAttribute(co);
3010
3010
  if (n && !r._unscopedStyle) {
3011
3011
  const a = ho(r);
3012
- a.setAttribute(uo, ""), r._unscopedStyle = a;
3012
+ a.setAttribute(co, ""), r._unscopedStyle = a;
3013
3013
  } else
3014
3014
  r._style || (r._style = ho(r));
3015
3015
  t.push(n ? r._unscopedStyle : r._style);
@@ -3026,7 +3026,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
3026
3026
  Code distributed by Google as part of the polymer project is also
3027
3027
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3028
3028
  */
3029
- const W = window.ShadyDOM && window.ShadyDOM.noPatch && window.ShadyDOM.wrap ? window.ShadyDOM.wrap : window.ShadyDOM ? (o) => ShadyDOM.patch(o) : (o) => o;
3029
+ const K = window.ShadyDOM && window.ShadyDOM.noPatch && window.ShadyDOM.wrap ? window.ShadyDOM.wrap : window.ShadyDOM ? (o) => ShadyDOM.patch(o) : (o) => o;
3030
3030
  /**
3031
3031
  @license
3032
3032
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -3039,7 +3039,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3039
3039
  function ei(o) {
3040
3040
  return o.indexOf(".") >= 0;
3041
3041
  }
3042
- function Se(o) {
3042
+ function ke(o) {
3043
3043
  let t = o.indexOf(".");
3044
3044
  return t === -1 ? o : o.slice(0, t);
3045
3045
  }
@@ -3070,7 +3070,7 @@ function Je(o) {
3070
3070
  function ms(o) {
3071
3071
  return Array.isArray(o) ? Je(o).split(".") : o.toString().split(".");
3072
3072
  }
3073
- function J(o, t, e) {
3073
+ function Z(o, t, e) {
3074
3074
  let i = o, s = ms(t);
3075
3075
  for (let r = 0; r < s.length; r++) {
3076
3076
  if (!i)
@@ -3121,13 +3121,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
3121
3121
  Code distributed by Google as part of the polymer project is also
3122
3122
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3123
3123
  */
3124
- let Yn = 0, gs = 0, Fe = [], Wn = 0, ti = !1, ys = document.createTextNode("");
3124
+ let Yn = 0, gs = 0, Ne = [], Wn = 0, ti = !1, ys = document.createTextNode("");
3125
3125
  new window.MutationObserver(qn).observe(ys, { characterData: !0 });
3126
3126
  function qn() {
3127
3127
  ti = !1;
3128
- const o = Fe.length;
3128
+ const o = Ne.length;
3129
3129
  for (let t = 0; t < o; t++) {
3130
- let e = Fe[t];
3130
+ let e = Ne[t];
3131
3131
  if (e)
3132
3132
  try {
3133
3133
  e();
@@ -3137,7 +3137,7 @@ function qn() {
3137
3137
  });
3138
3138
  }
3139
3139
  }
3140
- Fe.splice(0, o), gs += o;
3140
+ Ne.splice(0, o), gs += o;
3141
3141
  }
3142
3142
  const Kn = {
3143
3143
  /**
@@ -3188,7 +3188,7 @@ const Kn = {
3188
3188
  * @return {number} Handle used for canceling task
3189
3189
  */
3190
3190
  run(o) {
3191
- return ti || (ti = !0, ys.textContent = Wn++), Fe.push(o), Yn++;
3191
+ return ti || (ti = !0, ys.textContent = Wn++), Ne.push(o), Yn++;
3192
3192
  },
3193
3193
  /**
3194
3194
  * Cancels a previously enqueued `microTask` callback.
@@ -3200,9 +3200,9 @@ const Kn = {
3200
3200
  cancel(o) {
3201
3201
  const t = o - gs;
3202
3202
  if (t >= 0) {
3203
- if (!Fe[t])
3203
+ if (!Ne[t])
3204
3204
  throw new Error("invalid async handle: " + o);
3205
- Fe[t] = null;
3205
+ Ne[t] = null;
3206
3206
  }
3207
3207
  }
3208
3208
  };
@@ -3215,7 +3215,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
3215
3215
  Code distributed by Google as part of the polymer project is also
3216
3216
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3217
3217
  */
3218
- const Gn = vs, bs = U(
3218
+ const Gn = vs, bs = j(
3219
3219
  /**
3220
3220
  * @template T
3221
3221
  * @param {function(new:T)} superClass Class to apply mixin to.
@@ -3585,7 +3585,7 @@ const Gn = vs, bs = U(
3585
3585
  _valueToNodeAttribute(i, s, r) {
3586
3586
  const n = this._serializeValue(s);
3587
3587
  (r === "class" || r === "name" || r === "slot") && (i = /** @type {?Element} */
3588
- W(i)), n === void 0 ? i.removeAttribute(r) : i.setAttribute(
3588
+ K(i)), n === void 0 ? i.removeAttribute(r) : i.setAttribute(
3589
3589
  r,
3590
3590
  // Closure's type for `setAttribute`'s second parameter incorrectly
3591
3591
  // excludes `TrustedScript`.
@@ -3666,7 +3666,7 @@ function Xn(o, t) {
3666
3666
  e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
3667
3667
  }
3668
3668
  }
3669
- const Zn = U((o) => {
3669
+ const Zn = j((o) => {
3670
3670
  const t = bs(o);
3671
3671
  class e extends t {
3672
3672
  /**
@@ -3949,7 +3949,7 @@ function aa(o, t, e) {
3949
3949
  o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
3950
3950
  };
3951
3951
  }
3952
- const la = U(
3952
+ const la = j(
3953
3953
  /**
3954
3954
  * @template T
3955
3955
  * @param {function(new:T)} superClass Class to apply mixin to.
@@ -4095,9 +4095,9 @@ const la = U(
4095
4095
  if (!(i.localName === "script" || i.localName === "style"))
4096
4096
  for (let n = i.firstChild, a = 0, l; n; n = l) {
4097
4097
  if (n.localName == "template" && (n = oa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
4098
- let c = l;
4099
- for (; c && c.nodeType === Node.TEXT_NODE; )
4100
- n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
4098
+ let u = l;
4099
+ for (; u && u.nodeType === Node.TEXT_NODE; )
4100
+ n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
4101
4101
  if (s.stripWhiteSpace && !n.textContent.trim()) {
4102
4102
  i.removeChild(n);
4103
4103
  continue;
@@ -4228,9 +4228,9 @@ const la = U(
4228
4228
  a.__noInsertionPoint = !s.hasInsertionPoint;
4229
4229
  let l = a.nodeList = new Array(r.length);
4230
4230
  a.$ = {};
4231
- for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
4232
- let h = l[d] = xs(a, u);
4233
- sa(this, a.$, h, u), na(this, h, u, s), ra(this, h, u);
4231
+ for (let d = 0, u = r.length, c; d < u && (c = r[d]); d++) {
4232
+ let p = l[d] = xs(a, c);
4233
+ sa(this, a.$, p, c), na(this, p, c, s), ra(this, p, c);
4234
4234
  }
4235
4235
  return a = /** @type {!StampedTemplate} */
4236
4236
  a, a;
@@ -4294,7 +4294,7 @@ const la = U(
4294
4294
  * rights grant found at http://polymer.github.io/PATENTS.txt
4295
4295
  */
4296
4296
  let nt = 0;
4297
- const at = [], O = {
4297
+ const at = [], P = {
4298
4298
  COMPUTE: "__computeEffects",
4299
4299
  REFLECT: "__reflectEffects",
4300
4300
  NOTIFY: "__notifyEffects",
@@ -4319,20 +4319,20 @@ function Xe(o, t, e, i, s, r) {
4319
4319
  let n = !1;
4320
4320
  const a = nt++;
4321
4321
  for (let l in e) {
4322
- let d = s ? Se(l) : l, c = t[d];
4323
- if (c)
4324
- for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
4325
- (!p.info || p.info.lastRun !== a) && (!s || Si(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, s, r), n = !0);
4322
+ let d = s ? ke(l) : l, u = t[d];
4323
+ if (u)
4324
+ for (let c = 0, p = u.length, m; c < p && (m = u[c]); c++)
4325
+ (!m.info || m.info.lastRun !== a) && (!s || Si(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
4326
4326
  }
4327
4327
  return n;
4328
4328
  }
4329
4329
  return !1;
4330
4330
  }
4331
- function ca(o, t, e, i, s, r, n, a) {
4332
- let l = !1, d = n ? Se(i) : i, c = t[d];
4333
- if (c)
4334
- for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
4335
- (!p.info || p.info.lastRun !== e) && (!n || Si(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, s, r, p.info, n, a), l = !0);
4331
+ function ua(o, t, e, i, s, r, n, a) {
4332
+ let l = !1, d = n ? ke(i) : i, u = t[d];
4333
+ if (u)
4334
+ for (let c = 0, p = u.length, m; c < p && (m = u[c]); c++)
4335
+ (!m.info || m.info.lastRun !== e) && (!n || Si(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
4336
4336
  return l;
4337
4337
  }
4338
4338
  function Si(o, t) {
@@ -4349,15 +4349,15 @@ function _o(o, t, e, i, s) {
4349
4349
  let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
4350
4350
  r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
4351
4351
  }
4352
- function ua(o, t, e, i, s) {
4353
- let r = o[O.NOTIFY], n, a = nt++;
4352
+ function ca(o, t, e, i, s) {
4353
+ let r = o[P.NOTIFY], n, a = nt++;
4354
4354
  for (let d in t)
4355
- t[d] && (r && ca(o, r, a, d, e, i, s) || s && ha(o, d, e)) && (n = !0);
4355
+ t[d] && (r && ua(o, r, a, d, e, i, s) || s && ha(o, d, e)) && (n = !0);
4356
4356
  let l;
4357
4357
  n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
4358
4358
  }
4359
4359
  function ha(o, t, e) {
4360
- let i = Se(t);
4360
+ let i = ke(t);
4361
4361
  if (i !== t) {
4362
4362
  let s = St(i) + "-changed";
4363
4363
  return As(o, s, e[t], t), !0;
@@ -4369,13 +4369,13 @@ function As(o, t, e, i) {
4369
4369
  value: e,
4370
4370
  queueProperty: !0
4371
4371
  };
4372
- i && (s.path = i), W(
4372
+ i && (s.path = i), K(
4373
4373
  /** @type {!HTMLElement} */
4374
4374
  o
4375
4375
  ).dispatchEvent(new CustomEvent(t, { detail: s }));
4376
4376
  }
4377
4377
  function pa(o, t, e, i, s, r) {
4378
- let a = (r ? Se(t) : t) != t ? t : null, l = a ? J(o, a) : o.__data[t];
4378
+ let a = (r ? ke(t) : t) != t ? t : null, l = a ? Z(o, a) : o.__data[t];
4379
4379
  a && l === void 0 && (l = e[t]), As(o, s.eventName, l, a);
4380
4380
  }
4381
4381
  function fa(o, t, e, i, s) {
@@ -4383,7 +4383,7 @@ function fa(o, t, e, i, s) {
4383
4383
  /** @type {Object} */
4384
4384
  o.detail
4385
4385
  ), a = n && n.path;
4386
- a ? (i = rt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[O.READ_ONLY] || !t[O.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
4386
+ a ? (i = rt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[P.READ_ONLY] || !t[P.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
4387
4387
  }
4388
4388
  function ma(o, t, e, i, s) {
4389
4389
  let r = o.__data[t];
@@ -4396,7 +4396,7 @@ function ma(o, t, e, i, s) {
4396
4396
  )), o._propertyToAttribute(t, s.attrName, r);
4397
4397
  }
4398
4398
  function _a(o, t, e, i) {
4399
- let s = o[O.COMPUTE];
4399
+ let s = o[P.COMPUTE];
4400
4400
  if (s)
4401
4401
  if (Mn) {
4402
4402
  nt++;
@@ -4444,7 +4444,7 @@ const ga = (o, t, e) => {
4444
4444
  }
4445
4445
  r < 0 && (r = s + 1), t.splice(r, 0, o);
4446
4446
  }, go = (o, t, e, i, s) => {
4447
- const r = s ? Se(o) : o, n = t[r];
4447
+ const r = s ? ke(o) : o, n = t[r];
4448
4448
  if (n)
4449
4449
  for (let a = 0; a < n.length; a++) {
4450
4450
  const l = n[a];
@@ -4455,7 +4455,7 @@ function ya(o) {
4455
4455
  let t = o.constructor.__orderedComputedDeps;
4456
4456
  if (!t) {
4457
4457
  t = /* @__PURE__ */ new Map();
4458
- const e = o[O.COMPUTE];
4458
+ const e = o[P.COMPUTE];
4459
4459
  let { counts: i, ready: s, total: r } = va(o), n;
4460
4460
  for (; n = s.shift(); ) {
4461
4461
  t.set(n, t.size);
@@ -4471,7 +4471,7 @@ function ya(o) {
4471
4471
  return t;
4472
4472
  }
4473
4473
  function va(o) {
4474
- const t = o[Cs], e = {}, i = o[O.COMPUTE], s = [];
4474
+ const t = o[Cs], e = {}, i = o[P.COMPUTE], s = [];
4475
4475
  let r = 0;
4476
4476
  for (let n in t) {
4477
4477
  const a = t[n];
@@ -4502,13 +4502,13 @@ function zt(o, t, e, i, s, r, n) {
4502
4502
  e.bindings = e.bindings || [];
4503
4503
  let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
4504
4504
  if (e.bindings.push(a), Ta(a)) {
4505
- let { event: d, negate: c } = a.parts[0];
4506
- a.listenerEvent = d || St(s) + "-changed", a.listenerNegate = c;
4505
+ let { event: d, negate: u } = a.parts[0];
4506
+ a.listenerEvent = d || St(s) + "-changed", a.listenerNegate = u;
4507
4507
  }
4508
4508
  let l = t.nodeInfoList.length;
4509
4509
  for (let d = 0; d < a.parts.length; d++) {
4510
- let c = a.parts[d];
4511
- c.compoundIndex = d, wa(o, t, a, c, l);
4510
+ let u = a.parts[d];
4511
+ u.compoundIndex = d, wa(o, t, a, u, l);
4512
4512
  }
4513
4513
  }
4514
4514
  function wa(o, t, e, i, s) {
@@ -4530,11 +4530,11 @@ function wa(o, t, e, i, s) {
4530
4530
  function xa(o, t, e, i, s, r, n) {
4531
4531
  let a = n[s.index], l = s.binding, d = s.part;
4532
4532
  if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
4533
- let c = e[t];
4534
- t = rt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
4533
+ let u = e[t];
4534
+ t = rt(d.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
4535
4535
  } else {
4536
- let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
4537
- c !== at && Ca(o, a, l, d, c);
4536
+ let u = s.evaluator._evaluateBinding(o, d, t, e, i, r);
4537
+ u !== at && Ca(o, a, l, d, u);
4538
4538
  }
4539
4539
  }
4540
4540
  function Ca(o, t, e, i, s) {
@@ -4547,7 +4547,7 @@ function Ca(o, t, e, i, s) {
4547
4547
  );
4548
4548
  else {
4549
4549
  let r = e.target;
4550
- t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[O.READ_ONLY] || !t[O.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
4550
+ t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[P.READ_ONLY] || !t[P.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
4551
4551
  }
4552
4552
  }
4553
4553
  function Aa(o, t, e, i) {
@@ -4579,7 +4579,7 @@ function Da(o, t) {
4579
4579
  for (let n = 0; n < i.length; n++)
4580
4580
  s[n] = i[n].literal;
4581
4581
  let r = t.target;
4582
- e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = W(o)), o[r] = t.literal);
4582
+ e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = K(o)), o[r] = t.literal);
4583
4583
  }
4584
4584
  }
4585
4585
  function ka(o, t, e) {
@@ -4659,10 +4659,10 @@ function Ds(o) {
4659
4659
  e.value = Number(t), e.literal = !0;
4660
4660
  break;
4661
4661
  }
4662
- return e.literal || (e.rootProperty = Se(t), e.structured = ei(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
4662
+ return e.literal || (e.rootProperty = ke(t), e.structured = ei(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
4663
4663
  }
4664
4664
  function xo(o, t, e) {
4665
- let i = J(o, e);
4665
+ let i = Z(o, e);
4666
4666
  return i === void 0 && (i = t[e]), i;
4667
4667
  }
4668
4668
  function ks(o, t, e, i) {
@@ -4681,14 +4681,14 @@ function We(o, t, e, i, s, r) {
4681
4681
  function Va(o) {
4682
4682
  return o[0].toUpperCase() + o.substring(1);
4683
4683
  }
4684
- const Pi = U((o) => {
4684
+ const Pi = j((o) => {
4685
4685
  const t = la(Zn(o));
4686
4686
  class e extends t {
4687
4687
  constructor() {
4688
4688
  super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
4689
4689
  }
4690
4690
  get PROPERTY_EFFECT_TYPES() {
4691
- return O;
4691
+ return P;
4692
4692
  }
4693
4693
  /**
4694
4694
  * @override
@@ -4724,7 +4724,7 @@ const Pi = U((o) => {
4724
4724
  * @return {void}
4725
4725
  */
4726
4726
  _initializeInstanceProperties(s) {
4727
- let r = this[O.READ_ONLY];
4727
+ let r = this[P.READ_ONLY];
4728
4728
  for (let n in s)
4729
4729
  (!r || !r[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = s[n]);
4730
4730
  }
@@ -4742,7 +4742,7 @@ const Pi = U((o) => {
4742
4742
  * @protected
4743
4743
  */
4744
4744
  _addPropertyEffect(s, r, n) {
4745
- this._createPropertyAccessor(s, r == O.READ_ONLY);
4745
+ this._createPropertyAccessor(s, r == P.READ_ONLY);
4746
4746
  let a = Ft(this, r, !0)[s];
4747
4747
  a || (a = this[r][s] = []), a.push(n);
4748
4748
  }
@@ -4785,7 +4785,7 @@ const Pi = U((o) => {
4785
4785
  * @protected
4786
4786
  */
4787
4787
  _hasReadOnlyEffect(s) {
4788
- return this._hasPropertyEffect(s, O.READ_ONLY);
4788
+ return this._hasPropertyEffect(s, P.READ_ONLY);
4789
4789
  }
4790
4790
  /**
4791
4791
  * Returns whether the current prototype/instance has a "notify"
@@ -4798,7 +4798,7 @@ const Pi = U((o) => {
4798
4798
  * @protected
4799
4799
  */
4800
4800
  _hasNotifyEffect(s) {
4801
- return this._hasPropertyEffect(s, O.NOTIFY);
4801
+ return this._hasPropertyEffect(s, P.NOTIFY);
4802
4802
  }
4803
4803
  /**
4804
4804
  * Returns whether the current prototype/instance has a "reflect to
@@ -4811,7 +4811,7 @@ const Pi = U((o) => {
4811
4811
  * @protected
4812
4812
  */
4813
4813
  _hasReflectEffect(s) {
4814
- return this._hasPropertyEffect(s, O.REFLECT);
4814
+ return this._hasPropertyEffect(s, P.REFLECT);
4815
4815
  }
4816
4816
  /**
4817
4817
  * Returns whether the current prototype/instance has a "computed"
@@ -4824,7 +4824,7 @@ const Pi = U((o) => {
4824
4824
  * @protected
4825
4825
  */
4826
4826
  _hasComputedEffect(s) {
4827
- return this._hasPropertyEffect(s, O.COMPUTE);
4827
+ return this._hasPropertyEffect(s, P.COMPUTE);
4828
4828
  }
4829
4829
  // Runtime ----------------------------------------
4830
4830
  /**
@@ -4857,9 +4857,9 @@ const Pi = U((o) => {
4857
4857
  * @protected
4858
4858
  */
4859
4859
  _setPendingPropertyOrPath(s, r, n, a) {
4860
- if (a || Se(Array.isArray(s) ? s[0] : s) !== s) {
4860
+ if (a || ke(Array.isArray(s) ? s[0] : s) !== s) {
4861
4861
  if (!a) {
4862
- let l = J(this, s);
4862
+ let l = Z(this, s);
4863
4863
  if (s = /** @type {string} */
4864
4864
  po(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
4865
4865
  return !1;
@@ -4912,7 +4912,7 @@ const Pi = U((o) => {
4912
4912
  */
4913
4913
  _setUnmanagedPropertyToNode(s, r, n) {
4914
4914
  (n !== s[r] || typeof n == "object") && (r === "className" && (s = /** @type {!Node} */
4915
- W(s)), s[r] = n);
4915
+ K(s)), s[r] = n);
4916
4916
  }
4917
4917
  /**
4918
4918
  * Overrides the `PropertiesChanged` implementation to introduce special
@@ -4951,7 +4951,7 @@ const Pi = U((o) => {
4951
4951
  */
4952
4952
  _setPendingProperty(s, r, n) {
4953
4953
  let a = this.__dataHasPaths && ei(s), l = a ? this.__dataTemp : this.__data;
4954
- return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[O.NOTIFY] && this[O.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
4954
+ return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[P.NOTIFY] && this[P.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
4955
4955
  }
4956
4956
  /**
4957
4957
  * Overrides base implementation to ensure all accessors set `shouldNotify`
@@ -5053,7 +5053,7 @@ const Pi = U((o) => {
5053
5053
  */
5054
5054
  setProperties(s, r) {
5055
5055
  for (let n in s)
5056
- (r || !this[O.READ_ONLY] || !this[O.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, s[n], !0);
5056
+ (r || !this[P.READ_ONLY] || !this[P.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, s[n], !0);
5057
5057
  this._invalidateProperties();
5058
5058
  }
5059
5059
  /**
@@ -5086,7 +5086,7 @@ const Pi = U((o) => {
5086
5086
  let a = this.__dataHasPaths;
5087
5087
  this.__dataHasPaths = !1;
5088
5088
  let l;
5089
- _a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Xe(this, this[O.REFLECT], r, n, a), Xe(this, this[O.OBSERVE], r, n, a), l && ua(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
5089
+ _a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Xe(this, this[P.REFLECT], r, n, a), Xe(this, this[P.OBSERVE], r, n, a), l && ca(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
5090
5090
  }
5091
5091
  /**
5092
5092
  * Called to propagate any property changes to stamped template nodes
@@ -5100,20 +5100,20 @@ const Pi = U((o) => {
5100
5100
  * @protected
5101
5101
  */
5102
5102
  _propagatePropertyChanges(s, r, n) {
5103
- this[O.PROPAGATE] && Xe(this, this[O.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
5103
+ this[P.PROPAGATE] && Xe(this, this[P.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
5104
5104
  }
5105
5105
  _runEffectsForTemplate(s, r, n, a) {
5106
- const l = (d, c) => {
5106
+ const l = (d, u) => {
5107
5107
  Xe(
5108
5108
  this,
5109
5109
  s.propertyEffects,
5110
5110
  d,
5111
5111
  n,
5112
- c,
5112
+ u,
5113
5113
  s.nodeList
5114
5114
  );
5115
- for (let u = s.firstChild; u; u = u.nextSibling)
5116
- this._runEffectsForTemplate(u, d, n, c);
5115
+ for (let c = s.firstChild; c; c = c.nextSibling)
5116
+ this._runEffectsForTemplate(c, d, n, u);
5117
5117
  };
5118
5118
  s.runEffects ? s.runEffects(l, r, a) : l(r, a);
5119
5119
  }
@@ -5181,7 +5181,7 @@ const Pi = U((o) => {
5181
5181
  notifySplices(s, r) {
5182
5182
  let n = { path: "" }, a = (
5183
5183
  /** @type {Array} */
5184
- J(this, s, n)
5184
+ Z(this, s, n)
5185
5185
  );
5186
5186
  ks(this, a, n.path, r);
5187
5187
  }
@@ -5206,7 +5206,7 @@ const Pi = U((o) => {
5206
5206
  * @public
5207
5207
  */
5208
5208
  get(s, r) {
5209
- return J(r || this, s);
5209
+ return Z(r || this, s);
5210
5210
  }
5211
5211
  /**
5212
5212
  * Convenience method for setting a value to a path and notifying any
@@ -5231,7 +5231,7 @@ const Pi = U((o) => {
5231
5231
  * @public
5232
5232
  */
5233
5233
  set(s, r, n) {
5234
- n ? po(n, s, r) : (!this[O.READ_ONLY] || !this[O.READ_ONLY][
5234
+ n ? po(n, s, r) : (!this[P.READ_ONLY] || !this[P.READ_ONLY][
5235
5235
  /** @type {string} */
5236
5236
  s
5237
5237
  ]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
@@ -5254,7 +5254,7 @@ const Pi = U((o) => {
5254
5254
  push(s, ...r) {
5255
5255
  let n = { path: "" }, a = (
5256
5256
  /** @type {Array}*/
5257
- J(this, s, n)
5257
+ Z(this, s, n)
5258
5258
  ), l = a.length, d = a.push(...r);
5259
5259
  return r.length && We(this, a, n.path, l, r.length, []), d;
5260
5260
  }
@@ -5275,7 +5275,7 @@ const Pi = U((o) => {
5275
5275
  pop(s) {
5276
5276
  let r = { path: "" }, n = (
5277
5277
  /** @type {Array} */
5278
- J(this, s, r)
5278
+ Z(this, s, r)
5279
5279
  ), a = !!n.length, l = n.pop();
5280
5280
  return a && We(this, n, r.path, n.length, 0, [l]), l;
5281
5281
  }
@@ -5300,11 +5300,11 @@ const Pi = U((o) => {
5300
5300
  splice(s, r, n, ...a) {
5301
5301
  let l = { path: "" }, d = (
5302
5302
  /** @type {Array} */
5303
- J(this, s, l)
5303
+ Z(this, s, l)
5304
5304
  );
5305
5305
  r < 0 ? r = d.length - Math.floor(-r) : r && (r = Math.floor(r));
5306
- let c;
5307
- return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) && We(this, d, l.path, r, a.length, c), c;
5306
+ let u;
5307
+ return arguments.length === 2 ? u = d.splice(r) : u = d.splice(r, n, ...a), (a.length || u.length) && We(this, d, l.path, r, a.length, u), u;
5308
5308
  }
5309
5309
  /**
5310
5310
  * Removes an item from the beginning of array at the path specified.
@@ -5323,7 +5323,7 @@ const Pi = U((o) => {
5323
5323
  shift(s) {
5324
5324
  let r = { path: "" }, n = (
5325
5325
  /** @type {Array} */
5326
- J(this, s, r)
5326
+ Z(this, s, r)
5327
5327
  ), a = !!n.length, l = n.shift();
5328
5328
  return a && We(this, n, r.path, 0, 0, [l]), l;
5329
5329
  }
@@ -5345,7 +5345,7 @@ const Pi = U((o) => {
5345
5345
  unshift(s, ...r) {
5346
5346
  let n = { path: "" }, a = (
5347
5347
  /** @type {Array} */
5348
- J(this, s, n)
5348
+ Z(this, s, n)
5349
5349
  ), l = a.unshift(...r);
5350
5350
  return r.length && We(this, a, n.path, 0, r.length, []), l;
5351
5351
  }
@@ -5367,7 +5367,7 @@ const Pi = U((o) => {
5367
5367
  let n;
5368
5368
  if (arguments.length == 1) {
5369
5369
  let a = { path: "" };
5370
- r = J(this, s, a), n = a.path;
5370
+ r = Z(this, s, a), n = a.path;
5371
5371
  } else
5372
5372
  Array.isArray(s) ? n = Je(s) : n = /** @type{string} */
5373
5373
  s;
@@ -5386,7 +5386,7 @@ const Pi = U((o) => {
5386
5386
  * @protected
5387
5387
  */
5388
5388
  _createReadOnlyProperty(s, r) {
5389
- this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" + Va(s)] = /** @this {PropertyEffects} */
5389
+ this._addPropertyEffect(s, P.READ_ONLY), r && (this["_set" + Va(s)] = /** @this {PropertyEffects} */
5390
5390
  function(n) {
5391
5391
  this._setProperty(s, n);
5392
5392
  });
@@ -5407,14 +5407,14 @@ const Pi = U((o) => {
5407
5407
  */
5408
5408
  _createPropertyObserver(s, r, n) {
5409
5409
  let a = { property: s, method: r, dynamicFn: !!n };
5410
- this._addPropertyEffect(s, O.OBSERVE, {
5410
+ this._addPropertyEffect(s, P.OBSERVE, {
5411
5411
  fn: _o,
5412
5412
  info: a,
5413
5413
  trigger: { name: s }
5414
5414
  }), n && this._addPropertyEffect(
5415
5415
  /** @type {string} */
5416
5416
  r,
5417
- O.OBSERVE,
5417
+ P.OBSERVE,
5418
5418
  {
5419
5419
  fn: _o,
5420
5420
  info: a,
@@ -5438,7 +5438,7 @@ const Pi = U((o) => {
5438
5438
  let n = Lt(s);
5439
5439
  if (!n)
5440
5440
  throw new Error("Malformed observer expression '" + s + "'");
5441
- yo(this, n, O.OBSERVE, ii, null, r);
5441
+ yo(this, n, P.OBSERVE, ii, null, r);
5442
5442
  }
5443
5443
  /**
5444
5444
  * Equivalent to static `createNotifyingProperty` API but can be called on
@@ -5451,7 +5451,7 @@ const Pi = U((o) => {
5451
5451
  * @protected
5452
5452
  */
5453
5453
  _createNotifyingProperty(s) {
5454
- this._addPropertyEffect(s, O.NOTIFY, {
5454
+ this._addPropertyEffect(s, P.NOTIFY, {
5455
5455
  fn: pa,
5456
5456
  info: {
5457
5457
  eventName: St(s) + "-changed",
@@ -5472,7 +5472,7 @@ const Pi = U((o) => {
5472
5472
  */
5473
5473
  _createReflectedProperty(s) {
5474
5474
  let r = this.constructor.attributeNameForProperty(s);
5475
- r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, O.REFLECT, {
5475
+ r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, P.REFLECT, {
5476
5476
  fn: ma,
5477
5477
  info: {
5478
5478
  attrName: r
@@ -5496,7 +5496,7 @@ const Pi = U((o) => {
5496
5496
  let a = Lt(r);
5497
5497
  if (!a)
5498
5498
  throw new Error("Malformed computed expression '" + r + "'");
5499
- const l = yo(this, a, O.COMPUTE, Ts, s, n);
5499
+ const l = yo(this, a, P.COMPUTE, Ts, s, n);
5500
5500
  Ft(this, Cs)[s] = l;
5501
5501
  }
5502
5502
  /**
@@ -5514,21 +5514,21 @@ const Pi = U((o) => {
5514
5514
  */
5515
5515
  _marshalArgs(s, r, n) {
5516
5516
  const a = this.__data, l = [];
5517
- for (let d = 0, c = s.length; d < c; d++) {
5518
- let { name: u, structured: h, wildcard: p, value: y, literal: E } = s[d];
5519
- if (!E)
5520
- if (p) {
5521
- const D = st(u, r), T = xo(a, n, D ? r : u);
5522
- y = {
5523
- path: D ? r : u,
5524
- value: T,
5525
- base: D ? J(a, u) : T
5517
+ for (let d = 0, u = s.length; d < u; d++) {
5518
+ let { name: c, structured: p, wildcard: m, value: _, literal: x } = s[d];
5519
+ if (!x)
5520
+ if (m) {
5521
+ const S = st(c, r), I = xo(a, n, S ? r : c);
5522
+ _ = {
5523
+ path: S ? r : c,
5524
+ value: I,
5525
+ base: S ? Z(a, c) : I
5526
5526
  };
5527
5527
  } else
5528
- y = h ? xo(a, n, u) : a[u];
5529
- if (Qt && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
5528
+ _ = p ? xo(a, n, c) : a[c];
5529
+ if (Qt && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
5530
5530
  return at;
5531
- l[d] = y;
5531
+ l[d] = _;
5532
5532
  }
5533
5533
  return l;
5534
5534
  }
@@ -5824,9 +5824,9 @@ const Pi = U((o) => {
5824
5824
  const r = s.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
5825
5825
  n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
5826
5826
  let d = r.childNodes;
5827
- for (let c = 0; c < d.length; c++) {
5828
- let u = d[c];
5829
- W(W(u).parentNode).removeChild(u);
5827
+ for (let u = 0; u < d.length; u++) {
5828
+ let c = d[u];
5829
+ K(K(c).parentNode).removeChild(c);
5830
5830
  }
5831
5831
  }
5832
5832
  /**
@@ -5881,10 +5881,10 @@ const Pi = U((o) => {
5881
5881
  static _parseTemplateNodeAttribute(s, r, n, a, l) {
5882
5882
  let d = this._parseBindings(l, r);
5883
5883
  if (d) {
5884
- let c = a, u = "property";
5885
- da.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
5886
- let h = wo(d);
5887
- return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = _s(a)), zt(this, r, n, u, a, d, h), !0;
5884
+ let u = a, c = "property";
5885
+ da.test(a) ? c = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), c = "attribute");
5886
+ let p = wo(d);
5887
+ return p && c == "attribute" && (a == "class" && s.hasAttribute("class") && (p += " " + s.getAttribute(a)), s.setAttribute(a, p)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a = _s(a)), zt(this, r, n, c, a, d, p), !0;
5888
5888
  } else
5889
5889
  return t._parseTemplateNodeAttribute.call(
5890
5890
  this,
@@ -5916,16 +5916,16 @@ const Pi = U((o) => {
5916
5916
  r,
5917
5917
  n
5918
5918
  );
5919
- const l = s.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
5920
- no && (c || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
5921
- let h = d.hostProps;
5922
- if (In && c)
5923
- h && (r.hostProps = Object.assign(r.hostProps || {}, h), no || (n.parentInfo.noted = !0));
5919
+ const l = s.parentNode, d = n.templateInfo, u = l.localName === "dom-if", c = l.localName === "dom-repeat";
5920
+ no && (u || c) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
5921
+ let p = d.hostProps;
5922
+ if (In && u)
5923
+ p && (r.hostProps = Object.assign(r.hostProps || {}, p), no || (n.parentInfo.noted = !0));
5924
5924
  else {
5925
- let p = "{";
5926
- for (let y in h) {
5927
- let E = [{ mode: p, source: y, dependencies: [y], hostProp: !0 }];
5928
- zt(this, r, n, "property", "_host_" + y, E);
5925
+ let m = "{";
5926
+ for (let _ in p) {
5927
+ let x = [{ mode: m, source: _, dependencies: [_], hostProp: !0 }];
5928
+ zt(this, r, n, "property", "_host_" + _, x);
5929
5929
  }
5930
5930
  }
5931
5931
  return a;
@@ -5979,27 +5979,27 @@ const Pi = U((o) => {
5979
5979
  let n = [], a = 0, l;
5980
5980
  for (; (l = bo.exec(s)) !== null; ) {
5981
5981
  l.index > a && n.push({ literal: s.slice(a, l.index) });
5982
- let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", y = -1;
5983
- d == "{" && (y = u.indexOf("::")) > 0 && (p = u.substring(y + 2), u = u.substring(0, y), h = !0);
5984
- let E = Lt(u), D = [];
5985
- if (E) {
5986
- let { args: T, methodName: k } = E;
5987
- for (let L = 0; L < T.length; L++) {
5988
- let F = T[L];
5989
- F.literal || D.push(F);
5982
+ let d = l[1][0], u = !!l[2], c = l[3].trim(), p = !1, m = "", _ = -1;
5983
+ d == "{" && (_ = c.indexOf("::")) > 0 && (m = c.substring(_ + 2), c = c.substring(0, _), p = !0);
5984
+ let x = Lt(c), S = [];
5985
+ if (x) {
5986
+ let { args: I, methodName: D } = x;
5987
+ for (let $ = 0; $ < I.length; $++) {
5988
+ let L = I[$];
5989
+ L.literal || S.push(L);
5990
5990
  }
5991
- let z = r.dynamicFns;
5992
- (z && z[k] || E.static) && (D.push(k), E.dynamicFn = !0);
5991
+ let M = r.dynamicFns;
5992
+ (M && M[D] || x.static) && (S.push(D), x.dynamicFn = !0);
5993
5993
  } else
5994
- D.push(u);
5994
+ S.push(c);
5995
5995
  n.push({
5996
- source: u,
5996
+ source: c,
5997
5997
  mode: d,
5998
- negate: c,
5999
- customEvent: h,
6000
- signature: E,
6001
- dependencies: D,
6002
- event: p
5998
+ negate: u,
5999
+ customEvent: p,
6000
+ signature: x,
6001
+ dependencies: S,
6002
+ event: m
6003
6003
  }), a = bo.lastIndex;
6004
6004
  }
6005
6005
  if (a && a < s.length) {
@@ -6026,8 +6026,8 @@ const Pi = U((o) => {
6026
6026
  * @nocollapse
6027
6027
  */
6028
6028
  static _evaluateBinding(s, r, n, a, l, d) {
6029
- let c;
6030
- return r.signature ? c = ii(s, n, a, l, r.signature) : n != r.source ? c = J(s, r.source) : d && ei(n) ? c = J(s, n) : c = s.__data[n], r.negate && (c = !c), c;
6029
+ let u;
6030
+ return r.signature ? u = ii(s, n, a, l, r.signature) : n != r.source ? u = Z(s, r.source) : d && ei(n) ? u = Z(s, n) : u = s.__data[n], r.negate && (u = !u), u;
6031
6031
  }
6032
6032
  }
6033
6033
  return e;
@@ -6058,7 +6058,7 @@ function Ua(o) {
6058
6058
  }
6059
6059
  return t;
6060
6060
  }
6061
- const ja = U((o) => {
6061
+ const ja = j((o) => {
6062
6062
  const t = bs(o);
6063
6063
  function e(r) {
6064
6064
  const n = Object.getPrototypeOf(r);
@@ -6209,7 +6209,7 @@ const ja = U((o) => {
6209
6209
  * Google as part of the polymer project is also subject to an additional IP
6210
6210
  * rights grant found at http://polymer.github.io/PATENTS.txt
6211
6211
  */
6212
- const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o) => {
6212
+ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o) => {
6213
6213
  const t = ja(Pi(o));
6214
6214
  function e(l) {
6215
6215
  if (!l.hasOwnProperty(
@@ -6217,9 +6217,9 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6217
6217
  )) {
6218
6218
  l.__propertyDefaults = null;
6219
6219
  let d = l._properties;
6220
- for (let c in d) {
6221
- let u = d[c];
6222
- "value" in u && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[c] = u);
6220
+ for (let u in d) {
6221
+ let c = d[u];
6222
+ "value" in c && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[u] = c);
6223
6223
  }
6224
6224
  }
6225
6225
  return l.__propertyDefaults;
@@ -6234,29 +6234,29 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6234
6234
  l.observers
6235
6235
  ) : null), l.__ownObservers;
6236
6236
  }
6237
- function s(l, d, c, u) {
6238
- 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);
6237
+ function s(l, d, u, c) {
6238
+ u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, u.computed, c)), u.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : u.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), u.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : u.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), u.observer && l._createPropertyObserver(d, u.observer, c[u.observer]), l._addPropertyToAttributeMap(d);
6239
6239
  }
6240
- function r(l, d, c, u) {
6240
+ function r(l, d, u, c) {
6241
6241
  if (!Co) {
6242
- const h = d.content.querySelectorAll("style"), p = hs(d), y = Bn(c), E = d.content.firstElementChild;
6243
- for (let T = 0; T < y.length; T++) {
6244
- let k = y[T];
6245
- k.textContent = l._processStyleText(k.textContent, u), d.content.insertBefore(k, E);
6242
+ const p = d.content.querySelectorAll("style"), m = hs(d), _ = Bn(u), x = d.content.firstElementChild;
6243
+ for (let I = 0; I < _.length; I++) {
6244
+ let D = _[I];
6245
+ D.textContent = l._processStyleText(D.textContent, c), d.content.insertBefore(D, x);
6246
6246
  }
6247
- let D = 0;
6248
- for (let T = 0; T < p.length; T++) {
6249
- let k = p[T], z = h[D];
6250
- z !== k ? (k = k.cloneNode(!0), z.parentNode.insertBefore(k, z)) : D++, k.textContent = l._processStyleText(k.textContent, u);
6247
+ let S = 0;
6248
+ for (let I = 0; I < m.length; I++) {
6249
+ let D = m[I], M = p[S];
6250
+ M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : S++, D.textContent = l._processStyleText(D.textContent, c);
6251
6251
  }
6252
6252
  }
6253
- if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), Nn && Co && kn) {
6254
- const h = d.content.querySelectorAll("style");
6255
- if (h) {
6256
- let p = "";
6257
- Array.from(h).forEach((y) => {
6258
- p += y.textContent, y.parentNode.removeChild(y);
6259
- }), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(p);
6253
+ if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u), Nn && Co && kn) {
6254
+ const p = d.content.querySelectorAll("style");
6255
+ if (p) {
6256
+ let m = "";
6257
+ Array.from(p).forEach((_) => {
6258
+ m += _.textContent, _.parentNode.removeChild(_);
6259
+ }), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(m);
6260
6260
  }
6261
6261
  }
6262
6262
  }
@@ -6306,12 +6306,12 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6306
6306
  * @nocollapse
6307
6307
  */
6308
6308
  static createProperties(d) {
6309
- for (let c in d)
6309
+ for (let u in d)
6310
6310
  s(
6311
6311
  /** @type {?} */
6312
6312
  this.prototype,
6313
- c,
6314
- d[c],
6313
+ u,
6314
+ d[u],
6315
6315
  d
6316
6316
  );
6317
6317
  }
@@ -6327,10 +6327,10 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6327
6327
  * @protected
6328
6328
  * @nocollapse
6329
6329
  */
6330
- static createObservers(d, c) {
6331
- const u = this.prototype;
6332
- for (let h = 0; h < d.length; h++)
6333
- u._createMethodObserver(d[h], c);
6330
+ static createObservers(d, u) {
6331
+ const c = this.prototype;
6332
+ for (let p = 0; p < d.length; p++)
6333
+ c._createMethodObserver(d[p], u);
6334
6334
  }
6335
6335
  /**
6336
6336
  * Returns the template that will be stamped into this element's shadow root.
@@ -6434,11 +6434,11 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6434
6434
  if (d)
6435
6435
  this._importPath = Di(d.url);
6436
6436
  else {
6437
- const c = ot.import(
6437
+ const u = ot.import(
6438
6438
  /** @type {PolymerElementConstructor} */
6439
6439
  this.is
6440
6440
  );
6441
- this._importPath = c && c.assetpath || Object.getPrototypeOf(
6441
+ this._importPath = u && u.assetpath || Object.getPrototypeOf(
6442
6442
  /** @type {PolymerElementConstructor}*/
6443
6443
  this.prototype
6444
6444
  ).constructor.importPath;
@@ -6468,11 +6468,11 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6468
6468
  ), super._initializeProperties(), this.rootPath = Sn, this.importPath = this.constructor.importPath;
6469
6469
  let d = e(this.constructor);
6470
6470
  if (d)
6471
- for (let c in d) {
6472
- let u = d[c];
6473
- if (this._canApplyPropertyDefault(c)) {
6474
- let h = typeof u.value == "function" ? u.value.call(this) : u.value;
6475
- this._hasAccessor(c) ? this._setPendingProperty(c, h, !0) : this[c] = h;
6471
+ for (let u in d) {
6472
+ let c = d[u];
6473
+ if (this._canApplyPropertyDefault(u)) {
6474
+ let p = typeof c.value == "function" ? c.value.call(this) : c.value;
6475
+ this._hasAccessor(u) ? this._setPendingProperty(u, p, !0) : this[u] = p;
6476
6476
  }
6477
6477
  }
6478
6478
  }
@@ -6496,8 +6496,8 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6496
6496
  * @protected
6497
6497
  * @nocollapse
6498
6498
  */
6499
- static _processStyleText(d, c) {
6500
- return Ei(d, c);
6499
+ static _processStyleText(d, u) {
6500
+ return Ei(d, u);
6501
6501
  }
6502
6502
  /**
6503
6503
  * Configures an element `proto` to function with a given `template`.
@@ -6510,11 +6510,11 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6510
6510
  * @nocollapse
6511
6511
  */
6512
6512
  static _finalizeTemplate(d) {
6513
- const c = this.prototype._template;
6514
- if (c && !c.__polymerFinalized) {
6515
- c.__polymerFinalized = !0;
6516
- const u = this.importPath, h = u ? Qe(u) : "";
6517
- r(this, c, d, h), this.prototype._bindTemplate(c);
6513
+ const u = this.prototype._template;
6514
+ if (u && !u.__polymerFinalized) {
6515
+ u.__polymerFinalized = !0;
6516
+ const c = this.importPath, p = c ? Qe(c) : "";
6517
+ r(this, u, d, p), this.prototype._bindTemplate(u);
6518
6518
  }
6519
6519
  }
6520
6520
  /**
@@ -6574,9 +6574,9 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6574
6574
  * @return {ShadowRoot} node to which the dom has been attached.
6575
6575
  */
6576
6576
  _attachDom(d) {
6577
- const c = W(this);
6578
- if (c.attachShadow)
6579
- return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), On && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
6577
+ const u = K(this);
6578
+ if (u.attachShadow)
6579
+ return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), On && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
6580
6580
  throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
6581
6581
  }
6582
6582
  /**
@@ -6624,8 +6624,8 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6624
6624
  * to the element's `importPath`
6625
6625
  * @return {string} Rewritten URL relative to base
6626
6626
  */
6627
- resolveUrl(d, c) {
6628
- return !c && this.importPath && (c = Qe(this.importPath)), Qe(d, c);
6627
+ resolveUrl(d, u) {
6628
+ return !u && this.importPath && (u = Qe(this.importPath)), Qe(d, u);
6629
6629
  }
6630
6630
  /**
6631
6631
  * Overrides `PropertyEffects` to add map of dynamic functions on
@@ -6640,12 +6640,12 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6640
6640
  * @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
6641
6641
  * @nocollapse
6642
6642
  */
6643
- static _parseTemplateContent(d, c, u) {
6644
- return c.dynamicFns = c.dynamicFns || this._properties, t._parseTemplateContent.call(
6643
+ static _parseTemplateContent(d, u, c) {
6644
+ return u.dynamicFns = u.dynamicFns || this._properties, t._parseTemplateContent.call(
6645
6645
  this,
6646
6646
  d,
6647
- c,
6648
- u
6647
+ u,
6648
+ c
6649
6649
  );
6650
6650
  }
6651
6651
  /**
@@ -6660,18 +6660,18 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
6660
6660
  * @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
6661
6661
  * @nocollapse
6662
6662
  */
6663
- static _addTemplatePropertyEffect(d, c, u) {
6664
- return ds && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
6663
+ static _addTemplatePropertyEffect(d, u, c) {
6664
+ return ds && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
6665
6665
  // dependencies) become accessors with template effects; ignore these
6666
- !(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
6666
+ !(c.info.part.signature && c.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
6667
6667
  // templatizer so ignore both the host-to-template bindings
6668
6668
  // (`hostProp`) and TemplateInstance-to-child bindings
6669
6669
  // (`nestedTemplate`)
6670
- !u.info.part.hostProp && !d.nestedTemplate && console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`), t._addTemplatePropertyEffect.call(
6670
+ !c.info.part.hostProp && !d.nestedTemplate && console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`), t._addTemplatePropertyEffect.call(
6671
6671
  this,
6672
6672
  d,
6673
- c,
6674
- u
6673
+ u,
6674
+ c
6675
6675
  );
6676
6676
  }
6677
6677
  }
@@ -6730,7 +6730,7 @@ function qa(o) {
6730
6730
  `non-template value passed to Polymer's html function: ${o}`
6731
6731
  );
6732
6732
  }
6733
- const Pe = function(t, ...e) {
6733
+ const Se = function(t, ...e) {
6734
6734
  Os(t, e);
6735
6735
  const i = (
6736
6736
  /** @type {!HTMLTemplateElement} */
@@ -6754,13 +6754,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
6754
6754
  Code distributed by Google as part of the polymer project is also
6755
6755
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
6756
6756
  */
6757
- const ve = Wa(HTMLElement);
6757
+ const ye = Wa(HTMLElement);
6758
6758
  /**
6759
6759
  * @license
6760
6760
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
6761
6761
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6762
6762
  */
6763
- const ue = [];
6763
+ const ce = [];
6764
6764
  function oi(o, t, e = o.getAttribute("dir")) {
6765
6765
  t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
6766
6766
  }
@@ -6769,7 +6769,7 @@ function si() {
6769
6769
  }
6770
6770
  function Ka() {
6771
6771
  const o = si();
6772
- ue.forEach((t) => {
6772
+ ce.forEach((t) => {
6773
6773
  oi(t, o);
6774
6774
  });
6775
6775
  }
@@ -6807,12 +6807,12 @@ const Pt = (o) => class extends o {
6807
6807
  attributeChangedCallback(e, i, s) {
6808
6808
  if (super.attributeChangedCallback(e, i, s), e !== "dir")
6809
6809
  return;
6810
- const r = si(), n = s === r && ue.indexOf(this) === -1, a = !s && i && ue.indexOf(this) === -1;
6810
+ const r = si(), n = s === r && ce.indexOf(this) === -1, a = !s && i && ce.indexOf(this) === -1;
6811
6811
  n || a ? (this.__subscribe(), oi(this, r, s)) : s !== r && i === r && this.__unsubscribe();
6812
6812
  }
6813
6813
  /** @protected */
6814
6814
  disconnectedCallback() {
6815
- super.disconnectedCallback(), this.__restoreSubscription = ue.includes(this), this.__unsubscribe();
6815
+ super.disconnectedCallback(), this.__restoreSubscription = ce.includes(this), this.__unsubscribe();
6816
6816
  }
6817
6817
  /** @protected */
6818
6818
  _valueToNodeAttribute(e, i, s) {
@@ -6824,11 +6824,11 @@ const Pt = (o) => class extends o {
6824
6824
  }
6825
6825
  /** @private */
6826
6826
  __subscribe() {
6827
- ue.includes(this) || ue.push(this);
6827
+ ce.includes(this) || ce.push(this);
6828
6828
  }
6829
6829
  /** @private */
6830
6830
  __unsubscribe() {
6831
- ue.includes(this) && ue.splice(ue.indexOf(this), 1);
6831
+ ce.includes(this) && ce.splice(ce.indexOf(this), 1);
6832
6832
  }
6833
6833
  };
6834
6834
  /**
@@ -6876,7 +6876,7 @@ const Ja = (o) => class extends o {
6876
6876
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
6877
6877
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6878
6878
  */
6879
- const Xa = P`
6879
+ const Xa = k`
6880
6880
  :host {
6881
6881
  display: flex;
6882
6882
  align-items: center;
@@ -6947,26 +6947,26 @@ const Xa = P`
6947
6947
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
6948
6948
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6949
6949
  */
6950
- H("vaadin-input-container", Xa, { moduleId: "vaadin-input-container-styles" });
6951
- class Za extends Ja(ke(Pt(ve))) {
6950
+ B("vaadin-input-container", Xa, { moduleId: "vaadin-input-container-styles" });
6951
+ class Za extends Ja(De(Pt(ye))) {
6952
6952
  static get is() {
6953
6953
  return "vaadin-input-container";
6954
6954
  }
6955
6955
  static get template() {
6956
- return Pe`
6956
+ return Se`
6957
6957
  <slot name="prefix"></slot>
6958
6958
  <slot></slot>
6959
6959
  <slot name="suffix"></slot>
6960
6960
  `;
6961
6961
  }
6962
6962
  }
6963
- le(Za);
6963
+ de(Za);
6964
6964
  /**
6965
6965
  * @license
6966
6966
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
6967
6967
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6968
6968
  */
6969
- const Qa = P`
6969
+ const Qa = k`
6970
6970
  :host {
6971
6971
  z-index: 200;
6972
6972
  position: fixed;
@@ -7152,11 +7152,11 @@ function zs(o, t, e) {
7152
7152
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
7153
7153
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7154
7154
  */
7155
- const Ot = (o) => o.test(navigator.userAgent), li = (o) => o.test(navigator.platform), cl = (o) => o.test(navigator.vendor);
7155
+ const Ot = (o) => o.test(navigator.userAgent), li = (o) => o.test(navigator.platform), ul = (o) => o.test(navigator.vendor);
7156
7156
  Ot(/Android/u);
7157
- Ot(/Chrome/u) && cl(/Google Inc/u);
7157
+ Ot(/Chrome/u) && ul(/Google Inc/u);
7158
7158
  Ot(/Firefox/u);
7159
- const ul = li(/^iPad/u) || li(/^Mac/u) && navigator.maxTouchPoints > 1, hl = li(/^iPhone/u), Ls = hl || ul;
7159
+ const cl = li(/^iPad/u) || li(/^Mac/u) && navigator.maxTouchPoints > 1, hl = li(/^iPhone/u), Ls = hl || cl;
7160
7160
  Ot(/^((?!chrome|android).)*safari/iu);
7161
7161
  const pl = (() => {
7162
7162
  try {
@@ -7170,7 +7170,7 @@ const pl = (() => {
7170
7170
  * Copyright (c) 2017 Anton Korzunov
7171
7171
  * SPDX-License-Identifier: MIT
7172
7172
  */
7173
- let Me = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {}, $t = 0;
7173
+ let Oe = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {}, $t = 0;
7174
7174
  const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Rt = (...o) => {
7175
7175
  console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
7176
7176
  }, fl = (o, t) => To(o) ? t.map((e) => {
@@ -7186,33 +7186,33 @@ const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Rt = (...o) => {
7186
7186
  }).filter((e) => !!e) : (Rt(o, "is not a valid element"), []), ml = (o, t, e, i) => {
7187
7187
  const s = fl(t, Array.isArray(o) ? o : [o]);
7188
7188
  ft[e] || (ft[e] = /* @__PURE__ */ new WeakMap());
7189
- const r = ft[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
7190
- if (!u || a.has(u))
7189
+ const r = ft[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (c) => {
7190
+ if (!c || a.has(c))
7191
7191
  return;
7192
- a.add(u);
7193
- const h = u.assignedSlot;
7194
- h && d(h), d(u.parentNode || u.host);
7192
+ a.add(c);
7193
+ const p = c.assignedSlot;
7194
+ p && d(p), d(c.parentNode || c.host);
7195
7195
  };
7196
7196
  s.forEach(d);
7197
- const c = (u) => {
7198
- if (!u || l.has(u))
7197
+ const u = (c) => {
7198
+ if (!c || l.has(c))
7199
7199
  return;
7200
- const h = u.shadowRoot;
7201
- (h ? [...u.children, ...h.children] : [...u.children]).forEach((y) => {
7202
- if (!["template", "script", "style"].includes(y.localName))
7203
- if (a.has(y))
7204
- c(y);
7200
+ const p = c.shadowRoot;
7201
+ (p ? [...c.children, ...p.children] : [...c.children]).forEach((_) => {
7202
+ if (!["template", "script", "style"].includes(_.localName))
7203
+ if (a.has(_))
7204
+ u(_);
7205
7205
  else {
7206
- const E = y.getAttribute(i), D = E !== null && E !== "false", T = (Me.get(y) || 0) + 1, k = (r.get(y) || 0) + 1;
7207
- Me.set(y, T), r.set(y, k), n.push(y), T === 1 && D && pt.set(y, !0), k === 1 && y.setAttribute(e, "true"), D || y.setAttribute(i, "true");
7206
+ const x = _.getAttribute(i), S = x !== null && x !== "false", I = (Oe.get(_) || 0) + 1, D = (r.get(_) || 0) + 1;
7207
+ Oe.set(_, I), r.set(_, D), n.push(_), I === 1 && S && pt.set(_, !0), D === 1 && _.setAttribute(e, "true"), S || _.setAttribute(i, "true");
7208
7208
  }
7209
7209
  });
7210
7210
  };
7211
- return c(t), a.clear(), $t += 1, () => {
7212
- n.forEach((u) => {
7213
- const h = Me.get(u) - 1, p = r.get(u) - 1;
7214
- Me.set(u, h), r.set(u, p), h || (pt.has(u) ? pt.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
7215
- }), $t -= 1, $t || (Me = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {});
7211
+ return u(t), a.clear(), $t += 1, () => {
7212
+ n.forEach((c) => {
7213
+ const p = Oe.get(c) - 1, m = r.get(c) - 1;
7214
+ Oe.set(c, p), r.set(c, m), p || (pt.has(c) ? pt.delete(c) : c.removeAttribute(i)), m || c.removeAttribute(e);
7215
+ }), $t -= 1, $t || (Oe = /* @__PURE__ */ new WeakMap(), Oe = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {});
7216
7216
  };
7217
7217
  }, $s = (o, t = document.body, e = "data-aria-hidden") => {
7218
7218
  const i = Array.from(Array.isArray(o) ? o : [o]);
@@ -7379,7 +7379,7 @@ class yl {
7379
7379
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
7380
7380
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7381
7381
  */
7382
- const Ue = U((o) => typeof o.prototype.addController == "function" ? o : class extends o {
7382
+ const Ue = j((o) => typeof o.prototype.addController == "function" ? o : class extends o {
7383
7383
  constructor() {
7384
7384
  super(), this.__controllers = /* @__PURE__ */ new Set();
7385
7385
  }
@@ -7881,24 +7881,24 @@ function El(o, t) {
7881
7881
  }
7882
7882
  function r(n = !1, a = 1) {
7883
7883
  s();
7884
- const { left: l, top: d, width: c, height: u } = o.getBoundingClientRect();
7885
- if (n || t(), !c || !u)
7884
+ const { left: l, top: d, width: u, height: c } = o.getBoundingClientRect();
7885
+ if (n || t(), !u || !c)
7886
7886
  return;
7887
- const h = Math.floor(d), p = Math.floor(i.clientWidth - (l + c)), y = Math.floor(i.clientHeight - (d + u)), E = Math.floor(l), T = {
7888
- rootMargin: `${-h}px ${-p}px ${-y}px ${-E}px`,
7887
+ const p = Math.floor(d), m = Math.floor(i.clientWidth - (l + u)), _ = Math.floor(i.clientHeight - (d + c)), x = Math.floor(l), I = {
7888
+ rootMargin: `${-p}px ${-m}px ${-_}px ${-x}px`,
7889
7889
  threshold: Math.max(0, Math.min(1, a)) || 1
7890
7890
  };
7891
- let k = !0;
7892
- function z(L) {
7893
- let F = L[0].intersectionRatio;
7894
- if (F !== a) {
7895
- if (!k)
7891
+ let D = !0;
7892
+ function M($) {
7893
+ let L = $[0].intersectionRatio;
7894
+ if (L !== a) {
7895
+ if (!D)
7896
7896
  return r();
7897
- F === 0 && (F = 1e-7), r(!1, F);
7897
+ L === 0 && (L = 1e-7), r(!1, L);
7898
7898
  }
7899
- k = !1;
7899
+ D = !1;
7900
7900
  }
7901
- e = new IntersectionObserver(z, T), e.observe(o);
7901
+ e = new IntersectionObserver(M, I), e.observe(o);
7902
7902
  }
7903
7903
  return r(!0), s;
7904
7904
  }
@@ -8105,8 +8105,8 @@ const Bt = {
8105
8105
  }
8106
8106
  // eslint-disable-next-line @typescript-eslint/max-params
8107
8107
  __shouldAlignStart(e, i, s, r, n, a, l) {
8108
- const d = s - 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;
8109
- return n === p;
8108
+ const d = s - e[a ? l.end : l.start] - r[l.end], u = e[a ? l.start : l.end] - r[l.start], c = n ? d : u, m = c > (n ? u : d) || c > i;
8109
+ return n === m;
8110
8110
  }
8111
8111
  /**
8112
8112
  * Returns an adjusted value after resizing the browser window,
@@ -8142,9 +8142,9 @@ const Bt = {
8142
8142
  */
8143
8143
  // eslint-disable-next-line @typescript-eslint/max-params
8144
8144
  __calculatePositionInOneDimension(e, i, s, r, n, a) {
8145
- 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[s === a ? r.end : r.start], p = u ? `${u}px` : `${c + h * (a ? -1 : 1)}px`;
8145
+ const l = a ? r.start : r.end, d = a ? r.end : r.start, u = parseFloat(n.style[l] || getComputedStyle(n)[l]), c = this.__adjustBottomProperty(l, r, u), p = i[a ? r.start : r.end] - e[s === a ? r.end : r.start], m = c ? `${c}px` : `${u + p * (a ? -1 : 1)}px`;
8146
8146
  return {
8147
- [l]: p,
8147
+ [l]: m,
8148
8148
  [d]: ""
8149
8149
  };
8150
8150
  }
@@ -8179,7 +8179,7 @@ const kl = (o) => class extends Dl(xl(o)) {
8179
8179
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
8180
8180
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8181
8181
  */
8182
- const Sl = P`
8182
+ const Sl = k`
8183
8183
  [part='overlay'] {
8184
8184
  display: flex;
8185
8185
  flex: auto;
@@ -8200,15 +8200,15 @@ const Sl = P`
8200
8200
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
8201
8201
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8202
8202
  */
8203
- H("vaadin-date-picker-overlay", [Qa, Sl], {
8203
+ B("vaadin-date-picker-overlay", [Qa, Sl], {
8204
8204
  moduleId: "vaadin-date-picker-overlay-styles"
8205
8205
  });
8206
- class Pl extends kl(Pt(ke(ve))) {
8206
+ class Pl extends kl(Pt(De(ye))) {
8207
8207
  static get is() {
8208
8208
  return "vaadin-date-picker-overlay";
8209
8209
  }
8210
8210
  static get template() {
8211
- return Pe`
8211
+ return Se`
8212
8212
  <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
8213
8213
  <div part="overlay" id="overlay">
8214
8214
  <div part="content" id="content">
@@ -8218,7 +8218,7 @@ class Pl extends kl(Pt(ke(ve))) {
8218
8218
  `;
8219
8219
  }
8220
8220
  }
8221
- le(Pl);
8221
+ de(Pl);
8222
8222
  const Ol = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, yt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
8223
8223
  function Ml() {
8224
8224
  function o() {
@@ -8755,13 +8755,13 @@ const $l = function() {
8755
8755
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8756
8756
  */
8757
8757
  let ko = 0, Vs = 0;
8758
- const ze = [];
8759
- let ci = !1;
8758
+ const Fe = [];
8759
+ let ui = !1;
8760
8760
  function Rl() {
8761
- ci = !1;
8762
- const o = ze.length;
8761
+ ui = !1;
8762
+ const o = Fe.length;
8763
8763
  for (let t = 0; t < o; t++) {
8764
- const e = ze[t];
8764
+ const e = Fe[t];
8765
8765
  if (e)
8766
8766
  try {
8767
8767
  e();
@@ -8771,7 +8771,7 @@ function Rl() {
8771
8771
  });
8772
8772
  }
8773
8773
  }
8774
- ze.splice(0, o), Vs += o;
8774
+ Fe.splice(0, o), Vs += o;
8775
8775
  }
8776
8776
  const At = {
8777
8777
  /**
@@ -8864,7 +8864,7 @@ const At = {
8864
8864
  * @return {number} Handle used for canceling task
8865
8865
  */
8866
8866
  run(o) {
8867
- ci || (ci = !0, queueMicrotask(() => Rl())), ze.push(o);
8867
+ ui || (ui = !0, queueMicrotask(() => Rl())), Fe.push(o);
8868
8868
  const t = ko;
8869
8869
  return ko += 1, t;
8870
8870
  },
@@ -8878,9 +8878,9 @@ const At = {
8878
8878
  cancel(o) {
8879
8879
  const t = o - Vs;
8880
8880
  if (t >= 0) {
8881
- if (!ze[t])
8881
+ if (!Fe[t])
8882
8882
  throw new Error(`invalid async handle: ${o}`);
8883
- ze[t] = null;
8883
+ Fe[t] = null;
8884
8884
  }
8885
8885
  }
8886
8886
  };
@@ -8893,7 +8893,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
8893
8893
  Code distributed by Google as part of the polymer project is also
8894
8894
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8895
8895
  */
8896
- const ui = /* @__PURE__ */ new Set();
8896
+ const ci = /* @__PURE__ */ new Set();
8897
8897
  let He = class hi {
8898
8898
  /**
8899
8899
  * Creates a debouncer if no debouncer is passed as a parameter
@@ -8946,7 +8946,7 @@ let He = class hi {
8946
8946
  */
8947
8947
  setConfig(t, e) {
8948
8948
  this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
8949
- this._timer = null, ui.delete(this), this._callback();
8949
+ this._timer = null, ci.delete(this), this._callback();
8950
8950
  });
8951
8951
  }
8952
8952
  /**
@@ -8955,7 +8955,7 @@ let He = class hi {
8955
8955
  * @return {void}
8956
8956
  */
8957
8957
  cancel() {
8958
- this.isActive() && (this._cancelAsync(), ui.delete(this));
8958
+ this.isActive() && (this._cancelAsync(), ci.delete(this));
8959
8959
  }
8960
8960
  /**
8961
8961
  * Cancels a debouncer's async callback.
@@ -8986,7 +8986,7 @@ let He = class hi {
8986
8986
  }
8987
8987
  };
8988
8988
  function Ul(o) {
8989
- ui.add(o);
8989
+ ci.add(o);
8990
8990
  }
8991
8991
  /**
8992
8992
  * @license
@@ -9079,7 +9079,7 @@ function js() {
9079
9079
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9080
9080
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9081
9081
  */
9082
- class Ae extends EventTarget {
9082
+ class xe extends EventTarget {
9083
9083
  /**
9084
9084
  * Ensure that every instance has unique ID.
9085
9085
  *
@@ -9196,7 +9196,7 @@ class Ae extends EventTarget {
9196
9196
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
9197
9197
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9198
9198
  */
9199
- class Ys extends Ae {
9199
+ class Ys extends xe {
9200
9200
  constructor(t) {
9201
9201
  super(t, "tooltip"), this.setTarget(t);
9202
9202
  }
@@ -9297,7 +9297,7 @@ class Ys extends Ae {
9297
9297
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
9298
9298
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9299
9299
  */
9300
- const Wl = P`
9300
+ const Wl = k`
9301
9301
  :host {
9302
9302
  display: inline-block;
9303
9303
  position: relative;
@@ -9417,7 +9417,7 @@ const td = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), id = {
9417
9417
  select: !0,
9418
9418
  textarea: !0
9419
9419
  };
9420
- function Ee(o) {
9420
+ function Ae(o) {
9421
9421
  const t = o.type;
9422
9422
  if (!Ni(t))
9423
9423
  return !1;
@@ -9431,7 +9431,7 @@ function od(o) {
9431
9431
  if (o.type === "click") {
9432
9432
  if (o.detail === 0)
9433
9433
  return !0;
9434
- const t = ye(o);
9434
+ const t = ge(o);
9435
9435
  if (!t.nodeType || /** @type {Element} */
9436
9436
  t.nodeType !== Node.ELEMENT_NODE)
9437
9437
  return !0;
@@ -9464,10 +9464,10 @@ function sd(o) {
9464
9464
  function qs(o, t, e) {
9465
9465
  o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
9466
9466
  }
9467
- function Le(o) {
9467
+ function ze(o) {
9468
9468
  document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
9469
9469
  }
9470
- const Ks = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Fi = {}, Te = [];
9470
+ const Ks = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Fi = {}, Ce = [];
9471
9471
  function rd(o, t) {
9472
9472
  let e = document.elementFromPoint(o, t), i = e;
9473
9473
  for (; i && i.shadowRoot && !window.ShadyDOM; ) {
@@ -9478,7 +9478,7 @@ function rd(o, t) {
9478
9478
  }
9479
9479
  return e;
9480
9480
  }
9481
- function ye(o) {
9481
+ function ge(o) {
9482
9482
  const t = Ks(
9483
9483
  /** @type {?Event} */
9484
9484
  o
@@ -9500,10 +9500,10 @@ function nd(o) {
9500
9500
  }
9501
9501
  const r = o[jt];
9502
9502
  if (!r.skip) {
9503
- for (let n = 0, a; n < Te.length; n++)
9504
- a = Te[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
9505
- for (let n = 0, a; n < Te.length; n++)
9506
- a = Te[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
9503
+ for (let n = 0, a; n < Ce.length; n++)
9504
+ a = Ce[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
9505
+ for (let n = 0, a; n < Ce.length; n++)
9506
+ a = Ce[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
9507
9507
  }
9508
9508
  }
9509
9509
  function ad(o) {
@@ -9520,7 +9520,7 @@ function ad(o) {
9520
9520
  o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Tt("track");
9521
9521
  }
9522
9522
  }
9523
- function ae(o, t, e) {
9523
+ function le(o, t, e) {
9524
9524
  return Fi[t] ? (ld(o, t, e), !0) : !1;
9525
9525
  }
9526
9526
  function ld(o, t, e) {
@@ -9532,13 +9532,13 @@ function ld(o, t, e) {
9532
9532
  o.addEventListener(t, e), i.touchAction && Gs(o, i.touchAction);
9533
9533
  }
9534
9534
  function zi(o) {
9535
- Te.push(o), o.emits.forEach((t) => {
9535
+ Ce.push(o), o.emits.forEach((t) => {
9536
9536
  Fi[t] = o;
9537
9537
  });
9538
9538
  }
9539
9539
  function dd(o) {
9540
- for (let t = 0, e; t < Te.length; t++) {
9541
- e = Te[t];
9540
+ for (let t = 0, e; t < Ce.length; t++) {
9541
+ e = Ce[t];
9542
9542
  for (let i = 0, s; i < e.emits.length; i++)
9543
9543
  if (s = e.emits[i], s === o)
9544
9544
  return e;
@@ -9581,7 +9581,7 @@ zi({
9581
9581
  * @return {void}
9582
9582
  */
9583
9583
  reset() {
9584
- Le(this.info);
9584
+ ze(this.info);
9585
9585
  },
9586
9586
  /**
9587
9587
  * @this {GestureRecognizer}
@@ -9589,12 +9589,12 @@ zi({
9589
9589
  * @return {void}
9590
9590
  */
9591
9591
  mousedown(o) {
9592
- if (!Ee(o))
9592
+ if (!Ae(o))
9593
9593
  return;
9594
- const t = ye(o), e = this, i = (r) => {
9595
- Ee(r) || (Ke("up", t, r), Le(e.info));
9594
+ const t = ge(o), e = this, i = (r) => {
9595
+ Ae(r) || (Ke("up", t, r), ze(e.info));
9596
9596
  }, s = (r) => {
9597
- Ee(r) && Ke("up", t, r), Le(e.info);
9597
+ Ae(r) && Ke("up", t, r), ze(e.info);
9598
9598
  };
9599
9599
  qs(this.info, i, s), Ke("down", t, o);
9600
9600
  },
@@ -9604,7 +9604,7 @@ zi({
9604
9604
  * @return {void}
9605
9605
  */
9606
9606
  touchstart(o) {
9607
- Ke("down", ye(o), o.changedTouches[0], o);
9607
+ Ke("down", ge(o), o.changedTouches[0], o);
9608
9608
  },
9609
9609
  /**
9610
9610
  * @this {GestureRecognizer}
@@ -9612,7 +9612,7 @@ zi({
9612
9612
  * @return {void}
9613
9613
  */
9614
9614
  touchend(o) {
9615
- Ke("up", ye(o), o.changedTouches[0], o);
9615
+ Ke("up", ge(o), o.changedTouches[0], o);
9616
9616
  }
9617
9617
  });
9618
9618
  function Ke(o, t, e, i) {
@@ -9654,7 +9654,7 @@ zi({
9654
9654
  * @return {void}
9655
9655
  */
9656
9656
  reset() {
9657
- this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Le(this.info);
9657
+ this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, ze(this.info);
9658
9658
  },
9659
9659
  /**
9660
9660
  * @this {GestureRecognizer}
@@ -9662,13 +9662,13 @@ zi({
9662
9662
  * @return {void}
9663
9663
  */
9664
9664
  mousedown(o) {
9665
- if (!Ee(o))
9665
+ if (!Ae(o))
9666
9666
  return;
9667
- const t = ye(o), e = this, i = (r) => {
9667
+ const t = ge(o), e = this, i = (r) => {
9668
9668
  const n = r.clientX, a = r.clientY;
9669
- Mo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Tt("tap"), e.info.addMove({ x: n, y: a }), Ee(r) || (e.info.state = "end", Le(e.info)), t && Yt(e.info, t, r), e.info.started = !0);
9669
+ Mo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Tt("tap"), e.info.addMove({ x: n, y: a }), Ae(r) || (e.info.state = "end", ze(e.info)), t && Yt(e.info, t, r), e.info.started = !0);
9670
9670
  }, s = (r) => {
9671
- e.info.started && i(r), Le(e.info);
9671
+ e.info.started && i(r), ze(e.info);
9672
9672
  };
9673
9673
  qs(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
9674
9674
  },
@@ -9687,7 +9687,7 @@ zi({
9687
9687
  * @return {void}
9688
9688
  */
9689
9689
  touchmove(o) {
9690
- const t = ye(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
9690
+ const t = ge(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
9691
9691
  Mo(this.info, i, s) && (this.info.state === "start" && Tt("tap"), this.info.addMove({ x: i, y: s }), Yt(this.info, t, e), this.info.state = "track", this.info.started = !0);
9692
9692
  },
9693
9693
  /**
@@ -9696,7 +9696,7 @@ zi({
9696
9696
  * @return {void}
9697
9697
  */
9698
9698
  touchend(o) {
9699
- const t = ye(o), e = o.changedTouches[0];
9699
+ const t = ge(o), e = o.changedTouches[0];
9700
9700
  this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Yt(this.info, t, e));
9701
9701
  }
9702
9702
  });
@@ -9753,7 +9753,7 @@ zi({
9753
9753
  * @return {void}
9754
9754
  */
9755
9755
  mousedown(o) {
9756
- Ee(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
9756
+ Ae(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
9757
9757
  },
9758
9758
  /**
9759
9759
  * @this {GestureRecognizer}
@@ -9761,7 +9761,7 @@ zi({
9761
9761
  * @return {void}
9762
9762
  */
9763
9763
  click(o) {
9764
- Ee(o) && Io(this.info, o);
9764
+ Ae(o) && Io(this.info, o);
9765
9765
  },
9766
9766
  /**
9767
9767
  * @this {GestureRecognizer}
@@ -9782,7 +9782,7 @@ zi({
9782
9782
  }
9783
9783
  });
9784
9784
  function Io(o, t, e) {
9785
- const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = ye(e || t);
9785
+ const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = ge(e || t);
9786
9786
  !r || id[
9787
9787
  /** @type {!HTMLElement} */
9788
9788
  r.localName
@@ -9798,7 +9798,7 @@ function Io(o, t, e) {
9798
9798
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9799
9799
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9800
9800
  */
9801
- const Js = U(
9801
+ const Js = j(
9802
9802
  (o) => class extends o {
9803
9803
  static get properties() {
9804
9804
  return {
@@ -9843,7 +9843,7 @@ const Js = U(
9843
9843
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9844
9844
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9845
9845
  */
9846
- const It = U(
9846
+ const It = j(
9847
9847
  (o) => class extends o {
9848
9848
  /** @protected */
9849
9849
  ready() {
@@ -9905,7 +9905,7 @@ const It = U(
9905
9905
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9906
9906
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9907
9907
  */
9908
- const cd = (o) => class extends Js(It(o)) {
9908
+ const ud = (o) => class extends Js(It(o)) {
9909
9909
  /**
9910
9910
  * An array of activation keys.
9911
9911
  *
@@ -9920,9 +9920,9 @@ const cd = (o) => class extends Js(It(o)) {
9920
9920
  }
9921
9921
  /** @protected */
9922
9922
  ready() {
9923
- super.ready(), ae(this, "down", (e) => {
9923
+ super.ready(), le(this, "down", (e) => {
9924
9924
  this._shouldSetActive(e) && this._setActive(!0);
9925
- }), ae(this, "up", () => {
9925
+ }), le(this, "up", () => {
9926
9926
  this._setActive(!1);
9927
9927
  });
9928
9928
  }
@@ -9968,7 +9968,7 @@ const cd = (o) => class extends Js(It(o)) {
9968
9968
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
9969
9969
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9970
9970
  */
9971
- const $i = U(
9971
+ const $i = j(
9972
9972
  (o) => class extends o {
9973
9973
  /**
9974
9974
  * @protected
@@ -10076,7 +10076,7 @@ const Xs = (o) => class extends Js(o) {
10076
10076
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
10077
10077
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10078
10078
  */
10079
- const ud = (o) => class extends cd(Xs($i(o))) {
10079
+ const cd = (o) => class extends ud(Xs($i(o))) {
10080
10080
  static get properties() {
10081
10081
  return {
10082
10082
  /**
@@ -10131,20 +10131,20 @@ const ud = (o) => class extends cd(Xs($i(o))) {
10131
10131
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
10132
10132
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10133
10133
  */
10134
- H("vaadin-button", Wl, { moduleId: "vaadin-button-styles" });
10135
- class hd extends ud(Us(ke(Ue(ve)))) {
10134
+ B("vaadin-button", Wl, { moduleId: "vaadin-button-styles" });
10135
+ class hd extends cd(Us(De(Ue(ye)))) {
10136
10136
  static get is() {
10137
10137
  return "vaadin-button";
10138
10138
  }
10139
10139
  static get template() {
10140
- return ql(Pe);
10140
+ return ql(Se);
10141
10141
  }
10142
10142
  /** @protected */
10143
10143
  ready() {
10144
10144
  super.ready(), this._tooltipController = new Ys(this), this.addController(this._tooltipController);
10145
10145
  }
10146
10146
  }
10147
- le(hd);
10147
+ de(hd);
10148
10148
  /**
10149
10149
  * @license
10150
10150
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -10162,7 +10162,7 @@ function mi(o) {
10162
10162
  const t = new Date(o);
10163
10163
  return t.setHours(0, 0, 0, 0), t;
10164
10164
  }
10165
- function fe(o, t, e = mi) {
10165
+ function pe(o, t, e = mi) {
10166
10166
  return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
10167
10167
  }
10168
10168
  function Ri(o) {
@@ -10607,7 +10607,7 @@ class vd extends tr {
10607
10607
  t.month = Qs(e);
10608
10608
  }
10609
10609
  }
10610
- le(vd);
10610
+ de(vd);
10611
10611
  /**
10612
10612
  * @license
10613
10613
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -10678,7 +10678,7 @@ class bd extends tr {
10678
10678
  return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
10679
10679
  }
10680
10680
  }
10681
- le(bd);
10681
+ de(bd);
10682
10682
  /**
10683
10683
  * @license
10684
10684
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -10710,12 +10710,12 @@ const wd = (o) => class extends o {
10710
10710
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
10711
10711
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
10712
10712
  */
10713
- class xd extends ke(wd(ve)) {
10713
+ class xd extends De(wd(ye)) {
10714
10714
  static get is() {
10715
10715
  return "vaadin-date-picker-year";
10716
10716
  }
10717
10717
  static get template() {
10718
- return Pe`
10718
+ return Se`
10719
10719
  <style>
10720
10720
  :host {
10721
10721
  display: block;
@@ -10727,7 +10727,7 @@ class xd extends ke(wd(ve)) {
10727
10727
  `;
10728
10728
  }
10729
10729
  }
10730
- le(xd);
10730
+ de(xd);
10731
10731
  /**
10732
10732
  @license
10733
10733
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -10743,7 +10743,7 @@ function Bi(o, t, e, i, s) {
10743
10743
  let n = i !== e && (i === i || e === e);
10744
10744
  return r && n && (o.__dataTemp[t] = e), n;
10745
10745
  }
10746
- const Vi = U((o) => {
10746
+ const Vi = j((o) => {
10747
10747
  class t extends o {
10748
10748
  /**
10749
10749
  * Overrides `PropertyEffects` to provide option for skipping
@@ -10767,7 +10767,7 @@ const Vi = U((o) => {
10767
10767
  }
10768
10768
  }
10769
10769
  return t;
10770
- }), Cd = U((o) => {
10770
+ }), Cd = j((o) => {
10771
10771
  class t extends o {
10772
10772
  /** @nocollapse */
10773
10773
  static get properties() {
@@ -10838,17 +10838,17 @@ function Dd(o, t) {
10838
10838
  o ? (i.__polymerTextContent__ = i.textContent, i.textContent = "") : i.textContent = i.__polymerTextContent__;
10839
10839
  else if (i.localName === "slot")
10840
10840
  if (o)
10841
- i.__polymerReplaced__ = document.createComment("hidden-slot"), W(W(i).parentNode).replaceChild(i.__polymerReplaced__, i);
10841
+ i.__polymerReplaced__ = document.createComment("hidden-slot"), K(K(i).parentNode).replaceChild(i.__polymerReplaced__, i);
10842
10842
  else {
10843
10843
  const s = i.__polymerReplaced__;
10844
- s && W(W(s).parentNode).replaceChild(i, s);
10844
+ s && K(K(s).parentNode).replaceChild(i, s);
10845
10845
  }
10846
10846
  else
10847
10847
  i.style && (o ? (i.__polymerDisplay__ = i.style.display, i.style.display = "none") : i.style.display = i.__polymerDisplay__);
10848
10848
  i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
10849
10849
  }
10850
10850
  }
10851
- class be extends Ed {
10851
+ class ve extends Ed {
10852
10852
  constructor(t) {
10853
10853
  super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
10854
10854
  let e = [];
@@ -10965,23 +10965,23 @@ class be extends Ed {
10965
10965
  return !0;
10966
10966
  }
10967
10967
  }
10968
- be.prototype.__dataHost;
10969
- be.prototype.__templatizeOptions;
10970
- be.prototype._methodHost;
10971
- be.prototype.__templatizeOwner;
10972
- be.prototype.__hostProps;
10968
+ ve.prototype.__dataHost;
10969
+ ve.prototype.__templatizeOptions;
10970
+ ve.prototype._methodHost;
10971
+ ve.prototype.__templatizeOwner;
10972
+ ve.prototype.__hostProps;
10973
10973
  const kd = Vi(
10974
10974
  // This cast shouldn't be neccessary, but Closure doesn't understand that
10975
10975
  // TemplateInstanceBase is a constructor function.
10976
10976
  /** @type {function(new:TemplateInstanceBase)} */
10977
- be
10977
+ ve
10978
10978
  );
10979
10979
  function No(o) {
10980
10980
  let t = o.__dataHost;
10981
10981
  return t && t._methodHost || t;
10982
10982
  }
10983
10983
  function Sd(o, t, e) {
10984
- let i = e.mutableData ? kd : be;
10984
+ let i = e.mutableData ? kd : ve;
10985
10985
  yi.mixin && (i = yi.mixin(i));
10986
10986
  let s = class extends i {
10987
10987
  };
@@ -11076,7 +11076,7 @@ function yi(o, t, e) {
11076
11076
  e || {}, o.__templatizeOwner)
11077
11077
  throw new Error("A <template> can only be templatized once");
11078
11078
  o.__templatizeOwner = t;
11079
- let s = (t ? t.constructor : be)._parseTemplate(o), r = s.templatizeInstanceClass;
11079
+ let s = (t ? t.constructor : ve)._parseTemplate(o), r = s.templatizeInstanceClass;
11080
11080
  r || (r = Sd(o, s, e), s.templatizeInstanceClass = r);
11081
11081
  const n = No(o);
11082
11082
  Pd(o, s, e, n);
@@ -11110,7 +11110,7 @@ function zd(o, t) {
11110
11110
  else
11111
11111
  return e;
11112
11112
  else
11113
- t = W(t).parentNode;
11113
+ t = K(t).parentNode;
11114
11114
  return null;
11115
11115
  }
11116
11116
  /**
@@ -11143,7 +11143,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
11143
11143
  Code distributed by Google as part of the polymer project is also
11144
11144
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
11145
11145
  */
11146
- const $d = Cd(ve);
11146
+ const $d = Cd(ye);
11147
11147
  class zo extends $d {
11148
11148
  // Not needed to find template; can be removed once the analyzer
11149
11149
  // can find the tag name from customElements.define call
@@ -11324,7 +11324,7 @@ class zo extends $d {
11324
11324
  connectedCallback() {
11325
11325
  if (super.connectedCallback(), Ld() || (this.style.display = "none"), this.__isDetached) {
11326
11326
  this.__isDetached = !1;
11327
- let t = W(W(this).parentNode);
11327
+ let t = K(K(this).parentNode);
11328
11328
  for (let e = 0; e < this.__instances.length; e++)
11329
11329
  this.__attachInstance(e, t);
11330
11330
  this.__chunkingId && this.__render();
@@ -11492,7 +11492,7 @@ class zo extends $d {
11492
11492
  }
11493
11493
  __detachInstance(t) {
11494
11494
  let e = this.__instances[t];
11495
- const i = W(e.root);
11495
+ const i = K(e.root);
11496
11496
  for (let s = 0; s < e.children.length; s++) {
11497
11497
  let r = e.children[s];
11498
11498
  i.appendChild(r);
@@ -11513,7 +11513,7 @@ class zo extends $d {
11513
11513
  __insertInstance(t, e, i) {
11514
11514
  const s = this.__stampInstance(t, e, i);
11515
11515
  let r = this.__instances[e + 1], n = r ? r.children[0] : this;
11516
- return W(W(this).parentNode).insertBefore(s.root, n), this.__instances[e] = s, s;
11516
+ return K(K(this).parentNode).insertBefore(s.root, n), this.__instances[e] = s, s;
11517
11517
  }
11518
11518
  // Implements extension point from Templatize mixin
11519
11519
  /**
@@ -11691,11 +11691,11 @@ const Rd = (o) => class extends $i(o) {
11691
11691
  return ["__focusedDateChanged(focusedDate, _days)"];
11692
11692
  }
11693
11693
  get focusableDateElement() {
11694
- return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => fe(e.date, this.focusedDate));
11694
+ return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => pe(e.date, this.focusedDate));
11695
11695
  }
11696
11696
  /** @protected */
11697
11697
  ready() {
11698
- super.ready(), ae(this.$.monthGrid, "tap", this._handleTap.bind(this));
11698
+ super.ready(), le(this.$.monthGrid, "tap", this._handleTap.bind(this));
11699
11699
  }
11700
11700
  /**
11701
11701
  * Returns true if all the dates in the month are out of the allowed range
@@ -11732,14 +11732,14 @@ const Rd = (o) => class extends $i(o) {
11732
11732
  if (e === void 0 || i === void 0)
11733
11733
  return [];
11734
11734
  const { weekdays: s, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
11735
- return this._applyFirstDayOfWeek(s, n).map((d, c) => ({
11735
+ return this._applyFirstDayOfWeek(s, n).map((d, u) => ({
11736
11736
  weekDay: d,
11737
- weekDayShort: a[c]
11737
+ weekDayShort: a[u]
11738
11738
  })).slice(0, 7);
11739
11739
  }
11740
11740
  /** @private */
11741
11741
  __focusedDateChanged(e, i) {
11742
- Array.isArray(i) && i.some((s) => fe(s, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
11742
+ Array.isArray(i) && i.some((s) => pe(s, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
11743
11743
  }
11744
11744
  /** @protected */
11745
11745
  _getDate(e) {
@@ -11751,7 +11751,7 @@ const Rd = (o) => class extends $i(o) {
11751
11751
  }
11752
11752
  /** @protected */
11753
11753
  _isToday(e) {
11754
- return fe(/* @__PURE__ */ new Date(), e);
11754
+ return pe(/* @__PURE__ */ new Date(), e);
11755
11755
  }
11756
11756
  /** @protected */
11757
11757
  _getDays(e, i) {
@@ -11797,7 +11797,7 @@ const Rd = (o) => class extends $i(o) {
11797
11797
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
11798
11798
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11799
11799
  */
11800
- const Hd = P`
11800
+ const Hd = k`
11801
11801
  :host {
11802
11802
  display: block;
11803
11803
  }
@@ -11859,12 +11859,12 @@ const Hd = P`
11859
11859
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
11860
11860
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
11861
11861
  */
11862
- H("vaadin-month-calendar", Hd, {
11862
+ B("vaadin-month-calendar", Hd, {
11863
11863
  moduleId: "vaadin-month-calendar-styles"
11864
11864
  });
11865
- class Bd extends Rd(ke(ve)) {
11865
+ class Bd extends Rd(De(ye)) {
11866
11866
  static get template() {
11867
- return Pe`
11867
+ return Se`
11868
11868
  <div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
11869
11869
  <table
11870
11870
  id="monthGrid"
@@ -11945,11 +11945,11 @@ class Bd extends Rd(ke(ve)) {
11945
11945
  }
11946
11946
  /** @private */
11947
11947
  __isDayFocused(t, e) {
11948
- return fe(t, e);
11948
+ return pe(t, e);
11949
11949
  }
11950
11950
  /** @private */
11951
11951
  __isDaySelected(t, e) {
11952
- return fe(t, e);
11952
+ return pe(t, e);
11953
11953
  }
11954
11954
  /** @private */
11955
11955
  __getDayAriaSelected(t, e) {
@@ -11970,7 +11970,7 @@ class Bd extends Rd(ke(ve)) {
11970
11970
  return this.__isDayFocused(t, e) ? "0" : "-1";
11971
11971
  }
11972
11972
  }
11973
- le(Bd);
11973
+ de(Bd);
11974
11974
  /**
11975
11975
  * @license
11976
11976
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -12132,7 +12132,7 @@ const Vd = (o) => class extends o {
12132
12132
  }
12133
12133
  /** @protected */
12134
12134
  _addListeners() {
12135
- Gs(this.$.scrollers, "pan-y"), ae(this.$.scrollers, "track", this._track.bind(this)), ae(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ae(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ae(
12135
+ Gs(this.$.scrollers, "pan-y"), le(this.$.scrollers, "track", this._track.bind(this)), le(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), le(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), le(
12136
12136
  this.shadowRoot.querySelector('[part="years-toggle-button"]'),
12137
12137
  "tap",
12138
12138
  this._toggleYearScroller.bind(this)
@@ -12145,17 +12145,17 @@ const Vd = (o) => class extends o {
12145
12145
  this._desktopMode = e;
12146
12146
  })
12147
12147
  ), this.addController(
12148
- new Ae(this, "today-button", "vaadin-button", {
12148
+ new xe(this, "today-button", "vaadin-button", {
12149
12149
  observe: !1,
12150
12150
  initializer: (e) => {
12151
- e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onTodayButtonKeyDown(i)), ae(e, "tap", this._onTodayTap.bind(this)), this._todayButton = e;
12151
+ e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onTodayButtonKeyDown(i)), le(e, "tap", this._onTodayTap.bind(this)), this._todayButton = e;
12152
12152
  }
12153
12153
  })
12154
12154
  ), this.addController(
12155
- new Ae(this, "cancel-button", "vaadin-button", {
12155
+ new xe(this, "cancel-button", "vaadin-button", {
12156
12156
  observe: !1,
12157
12157
  initializer: (e) => {
12158
- e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onCancelButtonKeyDown(i)), ae(e, "tap", this._cancel.bind(this)), this._cancelButton = e;
12158
+ e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onCancelButtonKeyDown(i)), le(e, "tap", this._cancel.bind(this)), this._cancelButton = e;
12159
12159
  }
12160
12160
  })
12161
12161
  ), this.__initMonthScroller(), this.__initYearScroller();
@@ -12179,7 +12179,7 @@ const Vd = (o) => class extends o {
12179
12179
  /** @private */
12180
12180
  __initMonthScroller() {
12181
12181
  this.addController(
12182
- new Ae(this, "months", "vaadin-date-picker-month-scroller", {
12182
+ new xe(this, "months", "vaadin-date-picker-month-scroller", {
12183
12183
  observe: !1,
12184
12184
  initializer: (e) => {
12185
12185
  e.addEventListener("custom-scroll", () => {
@@ -12203,10 +12203,10 @@ const Vd = (o) => class extends o {
12203
12203
  /** @private */
12204
12204
  __initYearScroller() {
12205
12205
  this.addController(
12206
- new Ae(this, "years", "vaadin-date-picker-year-scroller", {
12206
+ new xe(this, "years", "vaadin-date-picker-year-scroller", {
12207
12207
  observe: !1,
12208
12208
  initializer: (e) => {
12209
- e.setAttribute("aria-hidden", "true"), ae(e, "tap", (i) => {
12209
+ e.setAttribute("aria-hidden", "true"), le(e, "tap", (i) => {
12210
12210
  this._onYearTap(i);
12211
12211
  }), e.addEventListener("custom-scroll", () => {
12212
12212
  this._onYearScroll();
@@ -12228,9 +12228,9 @@ const Vd = (o) => class extends o {
12228
12228
  e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(s, r, n));
12229
12229
  }
12230
12230
  // eslint-disable-next-line @typescript-eslint/max-params
12231
- __updateCalendars(e, i, s, r, n, a, l, d, c, u) {
12232
- e && e.length && e.forEach((h) => {
12233
- h.i18n = i, h.minDate = s, h.maxDate = r, h.isDateDisabled = u, h.focusedDate = a, h.selectedDate = n, h.showWeekNumbers = l, h.ignoreTaps = d, c ? h.setAttribute("theme", c) : h.removeAttribute("theme");
12231
+ __updateCalendars(e, i, s, r, n, a, l, d, u, c) {
12232
+ e && e.length && e.forEach((p) => {
12233
+ p.i18n = i, p.minDate = s, p.maxDate = r, p.isDateDisabled = c, p.focusedDate = a, p.selectedDate = n, p.showWeekNumbers = l, p.ignoreTaps = d, u ? p.setAttribute("theme", u) : p.removeAttribute("theme");
12234
12234
  });
12235
12235
  }
12236
12236
  /** @private */
@@ -12366,19 +12366,19 @@ const Vd = (o) => class extends o {
12366
12366
  this._revealPromise = new Promise((d) => {
12367
12367
  s = d;
12368
12368
  });
12369
- 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));
12369
+ const r = (d, u, c, p) => (d /= p / 2, d < 1 ? c / 2 * d * d + u : (d -= 1, -c / 2 * (d * (d - 2) - 1) + u));
12370
12370
  let n = 0;
12371
12371
  const a = this._monthScroller.position, l = (d) => {
12372
12372
  n || (n = d);
12373
- const c = d - n;
12374
- if (c < this.scrollDuration) {
12375
- const u = r(
12376
- c,
12373
+ const u = d - n;
12374
+ if (u < this.scrollDuration) {
12375
+ const c = r(
12376
+ u,
12377
12377
  a,
12378
12378
  this._targetPosition - a,
12379
12379
  this.scrollDuration
12380
12380
  );
12381
- this._monthScroller.position = u, window.requestAnimationFrame(l);
12381
+ this._monthScroller.position = c, window.requestAnimationFrame(l);
12382
12382
  } else
12383
12383
  this.dispatchEvent(
12384
12384
  new CustomEvent("scroll-animation-finished", {
@@ -12474,7 +12474,7 @@ const Vd = (o) => class extends o {
12474
12474
  }
12475
12475
  /** @private */
12476
12476
  __toggleDate(e) {
12477
- fe(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
12477
+ pe(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
12478
12478
  }
12479
12479
  /** @private */
12480
12480
  __onMonthCalendarKeyDown(e) {
@@ -12546,7 +12546,7 @@ const Vd = (o) => class extends o {
12546
12546
  __tryFocusDate() {
12547
12547
  if (this.__pendingDateFocus) {
12548
12548
  const i = this.focusableDateElement;
12549
- i && fe(i.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, i.focus());
12549
+ i && pe(i.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, i.focus());
12550
12550
  }
12551
12551
  }
12552
12552
  async focusDate(e, i) {
@@ -12613,7 +12613,7 @@ const Vd = (o) => class extends o {
12613
12613
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
12614
12614
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12615
12615
  */
12616
- const Ud = P`
12616
+ const Ud = k`
12617
12617
  :host {
12618
12618
  display: flex;
12619
12619
  flex-direction: column;
@@ -12679,14 +12679,14 @@ const Ud = P`
12679
12679
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
12680
12680
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12681
12681
  */
12682
- H("vaadin-date-picker-overlay-content", Ud, {
12682
+ B("vaadin-date-picker-overlay-content", Ud, {
12683
12683
  moduleId: "vaadin-date-picker-overlay-content-styles"
12684
12684
  });
12685
12685
  class jd extends Vd(
12686
- Ue(ke(Pt(ve)))
12686
+ Ue(De(Pt(ye)))
12687
12687
  ) {
12688
12688
  static get template() {
12689
- return Pe`
12689
+ return Se`
12690
12690
  <div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
12691
12691
  <div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
12692
12692
  <div part="clear-button" hidden$="[[!selectedDate]]"></div>
@@ -12716,13 +12716,13 @@ class jd extends Vd(
12716
12716
  super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
12717
12717
  }
12718
12718
  }
12719
- le(jd);
12719
+ de(jd);
12720
12720
  /**
12721
12721
  * @license
12722
12722
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
12723
12723
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12724
12724
  */
12725
- const nr = U(
12725
+ const nr = j(
12726
12726
  (o) => class extends $i(Xs(o)) {
12727
12727
  static get properties() {
12728
12728
  return {
@@ -12887,7 +12887,7 @@ function Wd(o, t) {
12887
12887
  const e = document.createElement("style");
12888
12888
  e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
12889
12889
  }
12890
- const qd = U(
12890
+ const qd = j(
12891
12891
  (o) => class extends o {
12892
12892
  /**
12893
12893
  * List of styles to insert into root.
@@ -12914,7 +12914,7 @@ const qd = U(
12914
12914
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
12915
12915
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
12916
12916
  */
12917
- const ar = U(
12917
+ const ar = j(
12918
12918
  (o) => class extends o {
12919
12919
  static get properties() {
12920
12920
  return {
@@ -13348,18 +13348,18 @@ class Xd {
13348
13348
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
13349
13349
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13350
13350
  */
13351
- const ie = document.createElement("div");
13352
- ie.style.position = "fixed";
13353
- ie.style.clip = "rect(0px, 0px, 0px, 0px)";
13354
- ie.setAttribute("aria-live", "polite");
13355
- document.body.appendChild(ie);
13351
+ const se = document.createElement("div");
13352
+ se.style.position = "fixed";
13353
+ se.style.clip = "rect(0px, 0px, 0px, 0px)";
13354
+ se.setAttribute("aria-live", "polite");
13355
+ document.body.appendChild(se);
13356
13356
  let mt;
13357
13357
  function Zd(o, t = {}) {
13358
13358
  const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
13359
- e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), mt = He.debounce(mt, Hl, () => {
13360
- ie.setAttribute("role", "alert");
13361
- })) : (mt && mt.cancel(), ie.removeAttribute("role"), ie.setAttribute("aria-live", e)), ie.textContent = "", setTimeout(() => {
13362
- ie.textContent = o;
13359
+ e === "alert" ? (se.removeAttribute("aria-live"), se.removeAttribute("role"), mt = He.debounce(mt, Hl, () => {
13360
+ se.setAttribute("role", "alert");
13361
+ })) : (mt && mt.cancel(), se.removeAttribute("role"), se.setAttribute("aria-live", e)), se.textContent = "", setTimeout(() => {
13362
+ se.textContent = o;
13363
13363
  }, i);
13364
13364
  }
13365
13365
  /**
@@ -13367,7 +13367,7 @@ function Zd(o, t = {}) {
13367
13367
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
13368
13368
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13369
13369
  */
13370
- class ji extends Ae {
13370
+ class ji extends xe {
13371
13371
  constructor(t, e, i, s = {}) {
13372
13372
  super(t, e, i, { ...s, useUniqueId: !0 });
13373
13373
  }
@@ -13564,7 +13564,7 @@ class Qd extends ji {
13564
13564
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13565
13565
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13566
13566
  */
13567
- class ec extends ji {
13567
+ class eu extends ji {
13568
13568
  constructor(t) {
13569
13569
  super(t, "helper", null);
13570
13570
  }
@@ -13619,7 +13619,7 @@ class ec extends ji {
13619
13619
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13620
13620
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13621
13621
  */
13622
- class tc extends ji {
13622
+ class tu extends ji {
13623
13623
  constructor(t) {
13624
13624
  super(t, "label", "label");
13625
13625
  }
@@ -13672,7 +13672,7 @@ class tc extends ji {
13672
13672
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13673
13673
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13674
13674
  */
13675
- const ic = U(
13675
+ const iu = j(
13676
13676
  (o) => class extends Ue(o) {
13677
13677
  static get properties() {
13678
13678
  return {
@@ -13687,7 +13687,7 @@ const ic = U(
13687
13687
  };
13688
13688
  }
13689
13689
  constructor() {
13690
- super(), this._labelController = new tc(this), this._labelController.addEventListener("slot-content-changed", (e) => {
13690
+ super(), this._labelController = new tu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
13691
13691
  this.toggleAttribute("has-label", e.detail.hasContent);
13692
13692
  });
13693
13693
  }
@@ -13715,7 +13715,7 @@ const ic = U(
13715
13715
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13716
13716
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13717
13717
  */
13718
- const cr = U(
13718
+ const ur = j(
13719
13719
  (o) => class extends o {
13720
13720
  static get properties() {
13721
13721
  return {
@@ -13787,7 +13787,7 @@ const cr = U(
13787
13787
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13788
13788
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13789
13789
  */
13790
- const oc = (o) => class extends cr(ic(Ue(o))) {
13790
+ const ou = (o) => class extends ur(iu(Ue(o))) {
13791
13791
  static get properties() {
13792
13792
  return {
13793
13793
  /**
@@ -13837,7 +13837,7 @@ const oc = (o) => class extends cr(ic(Ue(o))) {
13837
13837
  return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
13838
13838
  }
13839
13839
  constructor() {
13840
- super(), this._fieldAriaController = new Xd(this), this._helperController = new ec(this), this._errorController = new Qd(this), this._errorController.addEventListener("slot-content-changed", (e) => {
13840
+ super(), this._fieldAriaController = new Xd(this), this._helperController = new eu(this), this._errorController = new Qd(this), this._errorController.addEventListener("slot-content-changed", (e) => {
13841
13841
  this.toggleAttribute("has-error-message", e.detail.hasContent);
13842
13842
  }), this._labelController.addEventListener("slot-content-changed", (e) => {
13843
13843
  const { hasContent: i, node: s } = e.detail;
@@ -13928,7 +13928,7 @@ const oc = (o) => class extends cr(ic(Ue(o))) {
13928
13928
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
13929
13929
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
13930
13930
  */
13931
- const sc = U(
13931
+ const su = j(
13932
13932
  (o) => class extends o {
13933
13933
  static get properties() {
13934
13934
  return {
@@ -14009,8 +14009,8 @@ const sc = U(
14009
14009
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
14010
14010
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14011
14011
  */
14012
- const ur = U(
14013
- (o) => class extends sc(cr(ar(o))) {
14012
+ const cr = j(
14013
+ (o) => class extends su(ur(ar(o))) {
14014
14014
  /**
14015
14015
  * An array of attributes which participate in the input validation.
14016
14016
  * Changing these attributes will cause the input to re-validate.
@@ -14094,8 +14094,8 @@ const ur = U(
14094
14094
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
14095
14095
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14096
14096
  */
14097
- const rc = (o) => class extends qd(
14098
- nr(ur(oc(Kd(It(o)))))
14097
+ const ru = (o) => class extends qd(
14098
+ nr(cr(ou(Kd(It(o)))))
14099
14099
  ) {
14100
14100
  static get properties() {
14101
14101
  return {
@@ -14281,7 +14281,7 @@ const rc = (o) => class extends qd(
14281
14281
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
14282
14282
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14283
14283
  */
14284
- class nc extends Ae {
14284
+ class nu extends xe {
14285
14285
  constructor(t, e, i = {}) {
14286
14286
  const { uniqueIdPrefix: s } = i;
14287
14287
  super(t, "input", "input", {
@@ -14298,7 +14298,7 @@ class nc extends Ae {
14298
14298
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
14299
14299
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14300
14300
  */
14301
- class ac {
14301
+ class au {
14302
14302
  constructor(t, e) {
14303
14303
  this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
14304
14304
  this.__initLabel(i.detail.node);
@@ -14331,7 +14331,7 @@ class ac {
14331
14331
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
14332
14332
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14333
14333
  */
14334
- const lc = P`
14334
+ const lu = k`
14335
14335
  [part='clear-button'] {
14336
14336
  display: none;
14337
14337
  cursor: default;
@@ -14350,7 +14350,7 @@ const lc = P`
14350
14350
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
14351
14351
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14352
14352
  */
14353
- const dc = P`
14353
+ const du = k`
14354
14354
  :host {
14355
14355
  display: inline-flex;
14356
14356
  outline: none;
@@ -14390,7 +14390,7 @@ const dc = P`
14390
14390
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
14391
14391
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14392
14392
  */
14393
- const cc = P`
14393
+ const uu = k`
14394
14394
  [class$='container'] {
14395
14395
  display: flex;
14396
14396
  flex-direction: column;
@@ -14404,13 +14404,13 @@ const cc = P`
14404
14404
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
14405
14405
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14406
14406
  */
14407
- const uc = [dc, cc, lc];
14407
+ const cu = [du, uu, lu];
14408
14408
  /**
14409
14409
  * @license
14410
14410
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
14411
14411
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14412
14412
  */
14413
- const hc = (o) => class extends o {
14413
+ const hu = (o) => class extends o {
14414
14414
  static get properties() {
14415
14415
  return {
14416
14416
  /**
@@ -14457,7 +14457,7 @@ const hc = (o) => class extends o {
14457
14457
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
14458
14458
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14459
14459
  */
14460
- class pc {
14460
+ class pu {
14461
14461
  /**
14462
14462
  * @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
14463
14463
  */
@@ -14476,8 +14476,8 @@ class pc {
14476
14476
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
14477
14477
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
14478
14478
  */
14479
- const fc = (o) => class extends hc(
14480
- Ue(nr(ur(It(o))))
14479
+ const fu = (o) => class extends hu(
14480
+ Ue(nr(cr(It(o))))
14481
14481
  ) {
14482
14482
  static get properties() {
14483
14483
  return {
@@ -14859,7 +14859,7 @@ const fc = (o) => class extends hc(
14859
14859
  new rr(this._fullscreenMediaQuery, (i) => {
14860
14860
  this._fullscreen = i;
14861
14861
  })
14862
- ), this.addController(new pc(this));
14862
+ ), this.addController(new pu(this));
14863
14863
  const e = this.$.overlay;
14864
14864
  this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
14865
14865
  }
@@ -15053,12 +15053,12 @@ const fc = (o) => class extends hc(
15053
15053
  this.value = i;
15054
15054
  return;
15055
15055
  }
15056
- e ? fe(this._selectedDate, s) || (this._selectedDate = s, i !== void 0 && this.validate()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
15056
+ e ? pe(this._selectedDate, s) || (this._selectedDate = s, i !== void 0 && this.validate()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
15057
15057
  }
15058
15058
  /** @private */
15059
15059
  // eslint-disable-next-line @typescript-eslint/max-params
15060
- __updateOverlayContent(e, i, s, r, n, a, l, d, c) {
15061
- e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = c);
15060
+ __updateOverlayContent(e, i, s, r, n, a, l, d, u) {
15061
+ e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = u);
15062
15062
  }
15063
15063
  /** @private */
15064
15064
  __updateOverlayContentTheme(e, i) {
@@ -15221,7 +15221,7 @@ const fc = (o) => class extends hc(
15221
15221
  _onInput() {
15222
15222
  if (!this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open(), this._inputElementValue) {
15223
15223
  const e = this.__parseDate(this._inputElementValue);
15224
- e && (this._ignoreFocusedDateChange = !0, fe(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1);
15224
+ e && (this._ignoreFocusedDateChange = !0, pe(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1);
15225
15225
  }
15226
15226
  }
15227
15227
  /** @private */
@@ -15249,7 +15249,7 @@ const fc = (o) => class extends hc(
15249
15249
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
15250
15250
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15251
15251
  */
15252
- const mc = P`
15252
+ const mu = k`
15253
15253
  :host([opened]) {
15254
15254
  pointer-events: auto;
15255
15255
  }
@@ -15268,13 +15268,13 @@ const mc = P`
15268
15268
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
15269
15269
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
15270
15270
  */
15271
- H("vaadin-date-picker", [uc, mc], { moduleId: "vaadin-date-picker-styles" });
15272
- class _c extends fc(rc(ke(Us(ve)))) {
15271
+ B("vaadin-date-picker", [cu, mu], { moduleId: "vaadin-date-picker-styles" });
15272
+ class _u extends fu(ru(De(Us(ye)))) {
15273
15273
  static get is() {
15274
15274
  return "vaadin-date-picker";
15275
15275
  }
15276
15276
  static get template() {
15277
- return Pe`
15277
+ return Se`
15278
15278
  <div class="vaadin-date-picker-container">
15279
15279
  <div part="label">
15280
15280
  <slot name="label"></slot>
@@ -15329,7 +15329,7 @@ class _c extends fc(rc(ke(Us(ve)))) {
15329
15329
  /** @protected */
15330
15330
  ready() {
15331
15331
  super.ready(), this.addController(
15332
- new nc(
15332
+ new nu(
15333
15333
  this,
15334
15334
  (e) => {
15335
15335
  this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
@@ -15341,7 +15341,7 @@ class _c extends fc(rc(ke(Us(ve)))) {
15341
15341
  uniqueIdPrefix: "search-input"
15342
15342
  }
15343
15343
  )
15344
- ), this.addController(new ac(this.inputElement, this._labelController)), this._tooltipController = new Ys(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));
15344
+ ), this.addController(new au(this.inputElement, this._labelController)), this._tooltipController = new Ys(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
15345
15345
  }
15346
15346
  /** @private */
15347
15347
  _onVaadinOverlayClose(t) {
@@ -15357,7 +15357,7 @@ class _c extends fc(rc(ke(Us(ve)))) {
15357
15357
  super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
15358
15358
  }
15359
15359
  }
15360
- le(_c);
15360
+ de(_u);
15361
15361
  if (typeof window < "u") {
15362
15362
  let o = function(t) {
15363
15363
  return function(...e) {
@@ -15384,297 +15384,297 @@ var hr = { exports: {} };
15384
15384
  (function(e, i) {
15385
15385
  o.exports = i();
15386
15386
  })(pr, function() {
15387
- var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", c = "week", u = "month", h = "quarter", p = "year", y = "date", E = "Invalid Date", D = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
15388
- var _ = ["th", "st", "nd", "rd"], g = v % 100;
15389
- return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
15390
- } }, z = function(v, _, g) {
15391
- var f = String(v);
15392
- return !f || f.length >= _ ? v : "" + Array(_ + 1 - f.length).join(g) + v;
15393
- }, L = { s: z, z: function(v) {
15394
- var _ = -v.utcOffset(), g = Math.abs(_), f = Math.floor(g / 60), m = g % 60;
15395
- return (_ <= 0 ? "+" : "-") + z(f, 2, "0") + ":" + z(m, 2, "0");
15396
- }, m: function v(_, g) {
15397
- if (_.date() < g.date())
15398
- return -v(g, _);
15399
- var f = 12 * (g.year() - _.year()) + (g.month() - _.month()), m = _.clone().add(f, u), w = g - m < 0, C = _.clone().add(f + (w ? -1 : 1), u);
15400
- return +(-(f + (g - m) / (w ? m - C : C - m)) || 0);
15401
- }, a: function(v) {
15402
- return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
15403
- }, p: function(v) {
15404
- return { M: u, y: p, w: c, d, D: y, h: l, m: a, s: n, ms: r, Q: h }[v] || String(v || "").toLowerCase().replace(/s$/, "");
15405
- }, u: function(v) {
15406
- return v === void 0;
15407
- } }, F = "en", q = {};
15408
- q[F] = k;
15409
- var re = "$isDayjsObject", X = function(v) {
15410
- return v instanceof K || !(!v || !v[re]);
15411
- }, te = function v(_, g, f) {
15412
- var m;
15413
- if (!_)
15414
- return F;
15415
- if (typeof _ == "string") {
15416
- var w = _.toLowerCase();
15417
- q[w] && (m = w), g && (q[w] = g, m = w);
15418
- var C = _.split("-");
15419
- if (!m && C.length > 1)
15420
- return v(C[0]);
15387
+ var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", u = "week", c = "month", p = "quarter", m = "year", _ = "date", x = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(b) {
15388
+ var h = ["th", "st", "nd", "rd"], f = b % 100;
15389
+ return "[" + b + (h[(f - 20) % 10] || h[f] || h[0]) + "]";
15390
+ } }, M = function(b, h, f) {
15391
+ var g = String(b);
15392
+ return !g || g.length >= h ? b : "" + Array(h + 1 - g.length).join(f) + b;
15393
+ }, $ = { s: M, z: function(b) {
15394
+ var h = -b.utcOffset(), f = Math.abs(h), g = Math.floor(f / 60), y = f % 60;
15395
+ return (h <= 0 ? "+" : "-") + M(g, 2, "0") + ":" + M(y, 2, "0");
15396
+ }, m: function b(h, f) {
15397
+ if (h.date() < f.date())
15398
+ return -b(f, h);
15399
+ var g = 12 * (f.year() - h.year()) + (f.month() - h.month()), y = h.clone().add(g, c), C = f - y < 0, A = h.clone().add(g + (C ? -1 : 1), c);
15400
+ return +(-(g + (f - y) / (C ? y - A : A - y)) || 0);
15401
+ }, a: function(b) {
15402
+ return b < 0 ? Math.ceil(b) || 0 : Math.floor(b);
15403
+ }, p: function(b) {
15404
+ return { M: c, y: m, w: u, d, D: _, h: l, m: a, s: n, ms: r, Q: p }[b] || String(b || "").toLowerCase().replace(/s$/, "");
15405
+ }, u: function(b) {
15406
+ return b === void 0;
15407
+ } }, L = "en", G = {};
15408
+ G[L] = D;
15409
+ var ue = "$isDayjsObject", ie = function(b) {
15410
+ return b instanceof H || !(!b || !b[ue]);
15411
+ }, Q = function b(h, f, g) {
15412
+ var y;
15413
+ if (!h)
15414
+ return L;
15415
+ if (typeof h == "string") {
15416
+ var C = h.toLowerCase();
15417
+ G[C] && (y = C), f && (G[C] = f, y = C);
15418
+ var A = h.split("-");
15419
+ if (!y && A.length > 1)
15420
+ return b(A[0]);
15421
15421
  } else {
15422
- var I = _.name;
15423
- q[I] = _, m = I;
15422
+ var F = h.name;
15423
+ G[F] = h, y = F;
15424
15424
  }
15425
- return !f && m && (F = m), m || !f && F;
15426
- }, $ = function(v, _) {
15427
- if (X(v))
15428
- return v.clone();
15429
- var g = typeof _ == "object" ? _ : {};
15430
- return g.date = v, g.args = arguments, new K(g);
15431
- }, S = L;
15432
- S.l = te, S.i = X, S.w = function(v, _) {
15433
- return $(v, { locale: _.$L, utc: _.$u, x: _.$x, $offset: _.$offset });
15425
+ return !g && y && (L = y), y || !g && L;
15426
+ }, N = function(b, h) {
15427
+ if (ie(b))
15428
+ return b.clone();
15429
+ var f = typeof h == "object" ? h : {};
15430
+ return f.date = b, f.args = arguments, new H(f);
15431
+ }, E = $;
15432
+ E.l = Q, E.i = ie, E.w = function(b, h) {
15433
+ return N(b, { locale: h.$L, utc: h.$u, x: h.$x, $offset: h.$offset });
15434
15434
  };
15435
- var K = function() {
15436
- function v(g) {
15437
- this.$L = te(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[re] = !0;
15435
+ var H = function() {
15436
+ function b(f) {
15437
+ this.$L = Q(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[ue] = !0;
15438
15438
  }
15439
- var _ = v.prototype;
15440
- return _.parse = function(g) {
15441
- this.$d = function(f) {
15442
- var m = f.date, w = f.utc;
15443
- if (m === null)
15439
+ var h = b.prototype;
15440
+ return h.parse = function(f) {
15441
+ this.$d = function(g) {
15442
+ var y = g.date, C = g.utc;
15443
+ if (y === null)
15444
15444
  return /* @__PURE__ */ new Date(NaN);
15445
- if (S.u(m))
15445
+ if (E.u(y))
15446
15446
  return /* @__PURE__ */ new Date();
15447
- if (m instanceof Date)
15448
- return new Date(m);
15449
- if (typeof m == "string" && !/Z$/i.test(m)) {
15450
- var C = m.match(D);
15451
- if (C) {
15452
- var I = C[2] - 1 || 0, R = (C[7] || "0").substring(0, 3);
15453
- return w ? new Date(Date.UTC(C[1], I, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, R)) : new Date(C[1], I, C[3] || 1, C[4] || 0, C[5] || 0, C[6] || 0, R);
15447
+ if (y instanceof Date)
15448
+ return new Date(y);
15449
+ if (typeof y == "string" && !/Z$/i.test(y)) {
15450
+ var A = y.match(S);
15451
+ if (A) {
15452
+ var F = A[2] - 1 || 0, R = (A[7] || "0").substring(0, 3);
15453
+ return C ? new Date(Date.UTC(A[1], F, A[3] || 1, A[4] || 0, A[5] || 0, A[6] || 0, R)) : new Date(A[1], F, A[3] || 1, A[4] || 0, A[5] || 0, A[6] || 0, R);
15454
15454
  }
15455
15455
  }
15456
- return new Date(m);
15457
- }(g), this.init();
15458
- }, _.init = function() {
15459
- var g = this.$d;
15460
- this.$y = g.getFullYear(), this.$M = g.getMonth(), this.$D = g.getDate(), this.$W = g.getDay(), this.$H = g.getHours(), this.$m = g.getMinutes(), this.$s = g.getSeconds(), this.$ms = g.getMilliseconds();
15461
- }, _.$utils = function() {
15462
- return S;
15463
- }, _.isValid = function() {
15464
- return this.$d.toString() !== E;
15465
- }, _.isSame = function(g, f) {
15466
- var m = $(g);
15467
- return this.startOf(f) <= m && m <= this.endOf(f);
15468
- }, _.isAfter = function(g, f) {
15469
- return $(g) < this.startOf(f);
15470
- }, _.isBefore = function(g, f) {
15471
- return this.endOf(f) < $(g);
15472
- }, _.$g = function(g, f, m) {
15473
- return S.u(g) ? this[f] : this.set(m, g);
15474
- }, _.unix = function() {
15456
+ return new Date(y);
15457
+ }(f), this.init();
15458
+ }, h.init = function() {
15459
+ var f = this.$d;
15460
+ this.$y = f.getFullYear(), this.$M = f.getMonth(), this.$D = f.getDate(), this.$W = f.getDay(), this.$H = f.getHours(), this.$m = f.getMinutes(), this.$s = f.getSeconds(), this.$ms = f.getMilliseconds();
15461
+ }, h.$utils = function() {
15462
+ return E;
15463
+ }, h.isValid = function() {
15464
+ return this.$d.toString() !== x;
15465
+ }, h.isSame = function(f, g) {
15466
+ var y = N(f);
15467
+ return this.startOf(g) <= y && y <= this.endOf(g);
15468
+ }, h.isAfter = function(f, g) {
15469
+ return N(f) < this.startOf(g);
15470
+ }, h.isBefore = function(f, g) {
15471
+ return this.endOf(g) < N(f);
15472
+ }, h.$g = function(f, g, y) {
15473
+ return E.u(f) ? this[g] : this.set(y, f);
15474
+ }, h.unix = function() {
15475
15475
  return Math.floor(this.valueOf() / 1e3);
15476
- }, _.valueOf = function() {
15476
+ }, h.valueOf = function() {
15477
15477
  return this.$d.getTime();
15478
- }, _.startOf = function(g, f) {
15479
- var m = this, w = !!S.u(f) || f, C = S.p(g), I = function(we, G) {
15480
- var me = S.w(m.$u ? Date.UTC(m.$y, G, we) : new Date(m.$y, G, we), m);
15481
- return w ? me : me.endOf(d);
15482
- }, R = function(we, G) {
15483
- return S.w(m.toDate()[we].apply(m.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
15484
- }, B = this.$W, b = this.$M, V = this.$D, Z = "set" + (this.$u ? "UTC" : "");
15485
- switch (C) {
15486
- case p:
15487
- return w ? I(1, 0) : I(31, 11);
15488
- case u:
15489
- return w ? I(1, b) : I(0, b + 1);
15478
+ }, h.startOf = function(f, g) {
15479
+ var y = this, C = !!E.u(g) || g, A = E.p(f), F = function(oe, X) {
15480
+ var me = E.w(y.$u ? Date.UTC(y.$y, X, oe) : new Date(y.$y, X, oe), y);
15481
+ return C ? me : me.endOf(d);
15482
+ }, R = function(oe, X) {
15483
+ return E.w(y.toDate()[oe].apply(y.toDate("s"), (C ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), y);
15484
+ }, U = this.$W, Y = this.$M, v = this.$D, ee = "set" + (this.$u ? "UTC" : "");
15485
+ switch (A) {
15486
+ case m:
15487
+ return C ? F(1, 0) : F(31, 11);
15490
15488
  case c:
15491
- var ne = this.$locale().weekStart || 0, de = (B < ne ? B + 7 : B) - ne;
15492
- return I(w ? V - de : V + (6 - de), b);
15489
+ return C ? F(1, Y) : F(0, Y + 1);
15490
+ case u:
15491
+ var J = this.$locale().weekStart || 0, fe = (U < J ? U + 7 : U) - J;
15492
+ return F(C ? v - fe : v + (6 - fe), Y);
15493
15493
  case d:
15494
- case y:
15495
- return R(Z + "Hours", 0);
15494
+ case _:
15495
+ return R(ee + "Hours", 0);
15496
15496
  case l:
15497
- return R(Z + "Minutes", 1);
15497
+ return R(ee + "Minutes", 1);
15498
15498
  case a:
15499
- return R(Z + "Seconds", 2);
15499
+ return R(ee + "Seconds", 2);
15500
15500
  case n:
15501
- return R(Z + "Milliseconds", 3);
15501
+ return R(ee + "Milliseconds", 3);
15502
15502
  default:
15503
15503
  return this.clone();
15504
15504
  }
15505
- }, _.endOf = function(g) {
15506
- return this.startOf(g, !1);
15507
- }, _.$set = function(g, f) {
15508
- var m, w = S.p(g), C = "set" + (this.$u ? "UTC" : ""), I = (m = {}, m[d] = C + "Date", m[y] = C + "Date", m[u] = C + "Month", m[p] = C + "FullYear", m[l] = C + "Hours", m[a] = C + "Minutes", m[n] = C + "Seconds", m[r] = C + "Milliseconds", m)[w], R = w === d ? this.$D + (f - this.$W) : f;
15509
- if (w === u || w === p) {
15510
- var B = this.clone().set(y, 1);
15511
- B.$d[I](R), B.init(), this.$d = B.set(y, Math.min(this.$D, B.daysInMonth())).$d;
15505
+ }, h.endOf = function(f) {
15506
+ return this.startOf(f, !1);
15507
+ }, h.$set = function(f, g) {
15508
+ var y, C = E.p(f), A = "set" + (this.$u ? "UTC" : ""), F = (y = {}, y[d] = A + "Date", y[_] = A + "Date", y[c] = A + "Month", y[m] = A + "FullYear", y[l] = A + "Hours", y[a] = A + "Minutes", y[n] = A + "Seconds", y[r] = A + "Milliseconds", y)[C], R = C === d ? this.$D + (g - this.$W) : g;
15509
+ if (C === c || C === m) {
15510
+ var U = this.clone().set(_, 1);
15511
+ U.$d[F](R), U.init(), this.$d = U.set(_, Math.min(this.$D, U.daysInMonth())).$d;
15512
15512
  } else
15513
- I && this.$d[I](R);
15513
+ F && this.$d[F](R);
15514
15514
  return this.init(), this;
15515
- }, _.set = function(g, f) {
15516
- return this.clone().$set(g, f);
15517
- }, _.get = function(g) {
15518
- return this[S.p(g)]();
15519
- }, _.add = function(g, f) {
15520
- var m, w = this;
15521
- g = Number(g);
15522
- var C = S.p(f), I = function(b) {
15523
- var V = $(w);
15524
- return S.w(V.date(V.date() + Math.round(b * g)), w);
15515
+ }, h.set = function(f, g) {
15516
+ return this.clone().$set(f, g);
15517
+ }, h.get = function(f) {
15518
+ return this[E.p(f)]();
15519
+ }, h.add = function(f, g) {
15520
+ var y, C = this;
15521
+ f = Number(f);
15522
+ var A = E.p(g), F = function(Y) {
15523
+ var v = N(C);
15524
+ return E.w(v.date(v.date() + Math.round(Y * f)), C);
15525
15525
  };
15526
- if (C === u)
15527
- return this.set(u, this.$M + g);
15528
- if (C === p)
15529
- return this.set(p, this.$y + g);
15530
- if (C === d)
15531
- return I(1);
15532
- if (C === c)
15533
- return I(7);
15534
- var R = (m = {}, m[a] = i, m[l] = s, m[n] = e, m)[C] || 1, B = this.$d.getTime() + g * R;
15535
- return S.w(B, this);
15536
- }, _.subtract = function(g, f) {
15537
- return this.add(-1 * g, f);
15538
- }, _.format = function(g) {
15539
- var f = this, m = this.$locale();
15526
+ if (A === c)
15527
+ return this.set(c, this.$M + f);
15528
+ if (A === m)
15529
+ return this.set(m, this.$y + f);
15530
+ if (A === d)
15531
+ return F(1);
15532
+ if (A === u)
15533
+ return F(7);
15534
+ var R = (y = {}, y[a] = i, y[l] = s, y[n] = e, y)[A] || 1, U = this.$d.getTime() + f * R;
15535
+ return E.w(U, this);
15536
+ }, h.subtract = function(f, g) {
15537
+ return this.add(-1 * f, g);
15538
+ }, h.format = function(f) {
15539
+ var g = this, y = this.$locale();
15540
15540
  if (!this.isValid())
15541
- return m.invalidDate || E;
15542
- var w = g || "YYYY-MM-DDTHH:mm:ssZ", C = S.z(this), I = this.$H, R = this.$m, B = this.$M, b = m.weekdays, V = m.months, Z = m.meridiem, ne = function(G, me, je, ct) {
15543
- return G && (G[me] || G(f, w)) || je[me].slice(0, ct);
15544
- }, de = function(G) {
15545
- return S.s(I % 12 || 12, G, "0");
15546
- }, we = Z || function(G, me, je) {
15547
- var ct = G < 12 ? "AM" : "PM";
15548
- return je ? ct.toLowerCase() : ct;
15541
+ return y.invalidDate || x;
15542
+ var C = f || "YYYY-MM-DDTHH:mm:ssZ", A = E.z(this), F = this.$H, R = this.$m, U = this.$M, Y = y.weekdays, v = y.months, ee = y.meridiem, J = function(X, me, je, ut) {
15543
+ return X && (X[me] || X(g, C)) || je[me].slice(0, ut);
15544
+ }, fe = function(X) {
15545
+ return E.s(F % 12 || 12, X, "0");
15546
+ }, oe = ee || function(X, me, je) {
15547
+ var ut = X < 12 ? "AM" : "PM";
15548
+ return je ? ut.toLowerCase() : ut;
15549
15549
  };
15550
- return w.replace(T, function(G, me) {
15550
+ return C.replace(I, function(X, me) {
15551
15551
  return me || function(je) {
15552
15552
  switch (je) {
15553
15553
  case "YY":
15554
- return String(f.$y).slice(-2);
15554
+ return String(g.$y).slice(-2);
15555
15555
  case "YYYY":
15556
- return S.s(f.$y, 4, "0");
15556
+ return E.s(g.$y, 4, "0");
15557
15557
  case "M":
15558
- return B + 1;
15558
+ return U + 1;
15559
15559
  case "MM":
15560
- return S.s(B + 1, 2, "0");
15560
+ return E.s(U + 1, 2, "0");
15561
15561
  case "MMM":
15562
- return ne(m.monthsShort, B, V, 3);
15562
+ return J(y.monthsShort, U, v, 3);
15563
15563
  case "MMMM":
15564
- return ne(V, B);
15564
+ return J(v, U);
15565
15565
  case "D":
15566
- return f.$D;
15566
+ return g.$D;
15567
15567
  case "DD":
15568
- return S.s(f.$D, 2, "0");
15568
+ return E.s(g.$D, 2, "0");
15569
15569
  case "d":
15570
- return String(f.$W);
15570
+ return String(g.$W);
15571
15571
  case "dd":
15572
- return ne(m.weekdaysMin, f.$W, b, 2);
15572
+ return J(y.weekdaysMin, g.$W, Y, 2);
15573
15573
  case "ddd":
15574
- return ne(m.weekdaysShort, f.$W, b, 3);
15574
+ return J(y.weekdaysShort, g.$W, Y, 3);
15575
15575
  case "dddd":
15576
- return b[f.$W];
15576
+ return Y[g.$W];
15577
15577
  case "H":
15578
- return String(I);
15578
+ return String(F);
15579
15579
  case "HH":
15580
- return S.s(I, 2, "0");
15580
+ return E.s(F, 2, "0");
15581
15581
  case "h":
15582
- return de(1);
15582
+ return fe(1);
15583
15583
  case "hh":
15584
- return de(2);
15584
+ return fe(2);
15585
15585
  case "a":
15586
- return we(I, R, !0);
15586
+ return oe(F, R, !0);
15587
15587
  case "A":
15588
- return we(I, R, !1);
15588
+ return oe(F, R, !1);
15589
15589
  case "m":
15590
15590
  return String(R);
15591
15591
  case "mm":
15592
- return S.s(R, 2, "0");
15592
+ return E.s(R, 2, "0");
15593
15593
  case "s":
15594
- return String(f.$s);
15594
+ return String(g.$s);
15595
15595
  case "ss":
15596
- return S.s(f.$s, 2, "0");
15596
+ return E.s(g.$s, 2, "0");
15597
15597
  case "SSS":
15598
- return S.s(f.$ms, 3, "0");
15598
+ return E.s(g.$ms, 3, "0");
15599
15599
  case "Z":
15600
- return C;
15600
+ return A;
15601
15601
  }
15602
15602
  return null;
15603
- }(G) || C.replace(":", "");
15603
+ }(X) || A.replace(":", "");
15604
15604
  });
15605
- }, _.utcOffset = function() {
15605
+ }, h.utcOffset = function() {
15606
15606
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
15607
- }, _.diff = function(g, f, m) {
15608
- var w, C = this, I = S.p(f), R = $(g), B = (R.utcOffset() - this.utcOffset()) * i, b = this - R, V = function() {
15609
- return S.m(C, R);
15607
+ }, h.diff = function(f, g, y) {
15608
+ var C, A = this, F = E.p(g), R = N(f), U = (R.utcOffset() - this.utcOffset()) * i, Y = this - R, v = function() {
15609
+ return E.m(A, R);
15610
15610
  };
15611
- switch (I) {
15612
- case p:
15613
- w = V() / 12;
15611
+ switch (F) {
15612
+ case m:
15613
+ C = v() / 12;
15614
15614
  break;
15615
- case u:
15616
- w = V();
15615
+ case c:
15616
+ C = v();
15617
15617
  break;
15618
- case h:
15619
- w = V() / 3;
15618
+ case p:
15619
+ C = v() / 3;
15620
15620
  break;
15621
- case c:
15622
- w = (b - B) / 6048e5;
15621
+ case u:
15622
+ C = (Y - U) / 6048e5;
15623
15623
  break;
15624
15624
  case d:
15625
- w = (b - B) / 864e5;
15625
+ C = (Y - U) / 864e5;
15626
15626
  break;
15627
15627
  case l:
15628
- w = b / s;
15628
+ C = Y / s;
15629
15629
  break;
15630
15630
  case a:
15631
- w = b / i;
15631
+ C = Y / i;
15632
15632
  break;
15633
15633
  case n:
15634
- w = b / e;
15634
+ C = Y / e;
15635
15635
  break;
15636
15636
  default:
15637
- w = b;
15637
+ C = Y;
15638
15638
  }
15639
- return m ? w : S.a(w);
15640
- }, _.daysInMonth = function() {
15641
- return this.endOf(u).$D;
15642
- }, _.$locale = function() {
15643
- return q[this.$L];
15644
- }, _.locale = function(g, f) {
15645
- if (!g)
15639
+ return y ? C : E.a(C);
15640
+ }, h.daysInMonth = function() {
15641
+ return this.endOf(c).$D;
15642
+ }, h.$locale = function() {
15643
+ return G[this.$L];
15644
+ }, h.locale = function(f, g) {
15645
+ if (!f)
15646
15646
  return this.$L;
15647
- var m = this.clone(), w = te(g, f, !0);
15648
- return w && (m.$L = w), m;
15649
- }, _.clone = function() {
15650
- return S.w(this.$d, this);
15651
- }, _.toDate = function() {
15647
+ var y = this.clone(), C = Q(f, g, !0);
15648
+ return C && (y.$L = C), y;
15649
+ }, h.clone = function() {
15650
+ return E.w(this.$d, this);
15651
+ }, h.toDate = function() {
15652
15652
  return new Date(this.valueOf());
15653
- }, _.toJSON = function() {
15653
+ }, h.toJSON = function() {
15654
15654
  return this.isValid() ? this.toISOString() : null;
15655
- }, _.toISOString = function() {
15655
+ }, h.toISOString = function() {
15656
15656
  return this.$d.toISOString();
15657
- }, _.toString = function() {
15657
+ }, h.toString = function() {
15658
15658
  return this.$d.toUTCString();
15659
- }, v;
15660
- }(), ee = K.prototype;
15661
- return $.prototype = ee, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M", u], ["$y", p], ["$D", y]].forEach(function(v) {
15662
- ee[v[1]] = function(_) {
15663
- return this.$g(_, v[0], v[1]);
15659
+ }, b;
15660
+ }(), V = H.prototype;
15661
+ return N.prototype = V, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M", c], ["$y", m], ["$D", _]].forEach(function(b) {
15662
+ V[b[1]] = function(h) {
15663
+ return this.$g(h, b[0], b[1]);
15664
15664
  };
15665
- }), $.extend = function(v, _) {
15666
- return v.$i || (v(_, K, $), v.$i = !0), $;
15667
- }, $.locale = te, $.isDayjs = X, $.unix = function(v) {
15668
- return $(1e3 * v);
15669
- }, $.en = q[F], $.Ls = q, $.p = {}, $;
15665
+ }), N.extend = function(b, h) {
15666
+ return b.$i || (b(h, H, N), b.$i = !0), N;
15667
+ }, N.locale = Q, N.isDayjs = ie, N.unix = function(b) {
15668
+ return N(1e3 * b);
15669
+ }, N.en = G[L], N.Ls = G, N.p = {}, N;
15670
15670
  });
15671
15671
  })(hr);
15672
- var gc = hr.exports;
15673
- const Lo = /* @__PURE__ */ fr(gc);
15672
+ var gu = hr.exports;
15673
+ const Lo = /* @__PURE__ */ fr(gu);
15674
15674
  function $o(o, t) {
15675
15675
  mr(o, t);
15676
15676
  }
15677
- function yc(o) {
15677
+ function yu(o) {
15678
15678
  _r.set(o);
15679
15679
  }
15680
15680
  const Ro = {
@@ -15888,423 +15888,463 @@ const Ro = {
15888
15888
  confirmationModalTextUntilTimeout: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
15889
15889
  }
15890
15890
  };
15891
- function vc(o) {
15891
+ function vu(o) {
15892
15892
  wr(o, "svelte-u6jylo", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
15893
15893
  }
15894
15894
  function Ho(o, t, e) {
15895
15895
  const i = o.slice();
15896
- return i[38] = t[e].value, i;
15896
+ return i[39] = t[e].value, i;
15897
15897
  }
15898
- function bc(o) {
15898
+ function bu(o) {
15899
15899
  let t, e, i, s = (
15900
15900
  /*$_*/
15901
- o[16]("titleTimeout") + ""
15901
+ o[17]("titleTimeout") + ""
15902
15902
  ), r, n, a, l, d = (
15903
15903
  /*$_*/
15904
- o[16]("timeoutTextFirst", {
15905
- values: { operatorname: (
15906
- /*operator*/
15907
- o[0]
15908
- ) }
15904
+ o[17]("timeoutTextFirst", {
15905
+ values: {
15906
+ operatorname: (
15907
+ /*operator*/
15908
+ o[0]
15909
+ ),
15910
+ baseurl: (
15911
+ /*baseurl*/
15912
+ o[6]
15913
+ ),
15914
+ lang: (
15915
+ /*lang*/
15916
+ o[1]
15917
+ )
15918
+ }
15909
15919
  }) + ""
15910
- ), c, u, h, p = (
15920
+ ), u, c, p = (
15911
15921
  /*$_*/
15912
- o[16]("timeoutTextSecondary", {
15913
- values: { supportemail: (
15914
- /*supportemail*/
15915
- o[5]
15916
- ) }
15922
+ o[17]("timeoutTextSecondary", {
15923
+ values: {
15924
+ supportemail: (
15925
+ /*supportemail*/
15926
+ o[5]
15927
+ ),
15928
+ baseurl: (
15929
+ /*baseurl*/
15930
+ o[6]
15931
+ ),
15932
+ lang: (
15933
+ /*lang*/
15934
+ o[1]
15935
+ )
15936
+ }
15917
15937
  }) + ""
15918
- ), y, E, D, T, k, z, L, F, q = (
15938
+ ), m, _, x, S, I, D, M, $ = (
15919
15939
  /*$_*/
15920
- o[16]("save") + ""
15921
- ), re, X, te, $, S, K = (
15940
+ o[17]("save") + ""
15941
+ ), L, G, ue, ie, Q, N = (
15922
15942
  /*isMobile*/
15923
- o[17] && xc(o)
15924
- ), ee = qi(
15943
+ o[18] && xu(o)
15944
+ ), E = qi(
15925
15945
  /*timeoutOptions*/
15926
- o[8]
15927
- ), v = [];
15928
- for (let f = 0; f < ee.length; f += 1)
15929
- v[f] = Bo(Ho(o, ee, f));
15930
- let _ = (
15946
+ o[9]
15947
+ ), H = [];
15948
+ for (let h = 0; h < E.length; h += 1)
15949
+ H[h] = Bo(Ho(o, E, h));
15950
+ let V = (
15931
15951
  /*isUntilDate*/
15932
- o[10] && Vo(o)
15933
- ), g = (
15952
+ o[11] && Vo(o)
15953
+ ), b = (
15934
15954
  /*showConfirmationModal*/
15935
- o[18] && Cc(o)
15955
+ o[19] && Cu(o)
15936
15956
  );
15937
15957
  return {
15938
15958
  c() {
15939
- t = M("form"), K && K.c(), e = Y(), i = M("h2"), r = pe(s), n = Y(), a = M("div"), l = M("p"), c = pe(d), u = Y(), h = M("p"), y = pe(p), E = Y(), D = M("div"), T = M("select");
15940
- for (let f = 0; f < v.length; f += 1)
15941
- v[f].c();
15942
- k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te = kr(), N(i, "class", "TimeoutTitle " + /*isMobile*/
15943
- (o[17] ? "TimeoutTitleNone" : "")), N(a, "class", "TimeoutDescription " + /*isMobile*/
15944
- (o[17] ? "TimeoutDescriptionMobile" : "")), N(T, "class", "TimeoutSelect " + /*isMobile*/
15945
- (o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
15946
- o[9] === void 0 && Sr(() => (
15959
+ t = O("form"), N && N.c(), e = q(), i = O("h2"), r = Te(s), n = q(), a = O("div"), l = O("p"), u = q(), c = O("p"), m = q(), _ = O("div"), x = O("select");
15960
+ for (let h = 0; h < H.length; h += 1)
15961
+ H[h].c();
15962
+ S = q(), V && V.c(), I = q(), D = O("div"), M = O("button"), L = Te($), G = q(), b && b.c(), ue = kr(), z(i, "class", "TimeoutTitle " + /*isMobile*/
15963
+ (o[18] ? "TimeoutTitleNone" : "")), z(a, "class", "TimeoutDescription " + /*isMobile*/
15964
+ (o[18] ? "TimeoutDescriptionMobile" : "")), z(x, "class", "TimeoutSelect " + /*isMobile*/
15965
+ (o[18] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
15966
+ o[10] === void 0 && Sr(() => (
15947
15967
  /*select_change_handler*/
15948
- o[26].call(T)
15949
- )), N(D, "class", "TimeoutSelectWrapper"), N(F, "class", "TimeoutSave"), N(L, "class", "TimeoutActionButtons " + /*isMobile*/
15950
- (o[17] ? "TimeoutActionButtonsMobile" : "")), N(t, "class", "TimeoutWrapper " + /*isMobile*/
15951
- (o[17] ? "TimeoutWrapperMobile" : ""));
15968
+ o[27].call(x)
15969
+ )), z(_, "class", "TimeoutSelectWrapper"), z(M, "class", "TimeoutSave"), z(D, "class", "TimeoutActionButtons " + /*isMobile*/
15970
+ (o[18] ? "TimeoutActionButtonsMobile" : "")), z(t, "class", "TimeoutWrapper " + /*isMobile*/
15971
+ (o[18] ? "TimeoutWrapperMobile" : ""));
15952
15972
  },
15953
- m(f, m) {
15954
- se(f, t, m), K && K.m(t, null), x(t, e), x(t, i), x(i, r), x(t, n), x(t, a), x(a, l), x(l, c), x(a, u), x(a, h), x(h, y), x(t, E), x(t, D), x(D, T);
15955
- for (let w = 0; w < v.length; w += 1)
15956
- v[w] && v[w].m(T, null);
15973
+ m(h, f) {
15974
+ ne(h, t, f), N && N.m(t, null), w(t, e), w(t, i), w(i, r), w(t, n), w(t, a), w(a, l), l.innerHTML = d, w(a, u), w(a, c), c.innerHTML = p, w(t, m), w(t, _), w(_, x);
15975
+ for (let g = 0; g < H.length; g += 1)
15976
+ H[g] && H[g].m(x, null);
15957
15977
  Ki(
15958
- T,
15978
+ x,
15959
15979
  /*timeoutSelected*/
15960
- o[9],
15980
+ o[10],
15961
15981
  !0
15962
- ), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re), se(f, X, m), g && g.m(f, m), se(f, te, m), $ || (S = [
15982
+ ), w(t, S), V && V.m(t, null), w(t, I), w(t, D), w(D, M), w(M, L), ne(h, G, f), b && b.m(h, f), ne(h, ue, f), ie || (Q = [
15963
15983
  _t(
15964
- T,
15984
+ x,
15965
15985
  "change",
15966
15986
  /*select_change_handler*/
15967
- o[26]
15987
+ o[27]
15968
15988
  ),
15969
15989
  _t(
15970
- T,
15990
+ x,
15971
15991
  "change",
15972
15992
  /*selectPeriod*/
15973
- o[21]
15993
+ o[22]
15974
15994
  ),
15975
15995
  _t(
15976
- F,
15996
+ M,
15977
15997
  "click",
15978
15998
  /*click_handler_1*/
15979
- o[28]
15999
+ o[29]
15980
16000
  )
15981
- ], $ = !0);
16001
+ ], ie = !0);
15982
16002
  },
15983
- p(f, m) {
16003
+ p(h, f) {
15984
16004
  if (
15985
16005
  /*isMobile*/
15986
- f[17] && K.p(f, m), m[0] & /*$_*/
15987
- 65536 && s !== (s = /*$_*/
15988
- f[16]("titleTimeout") + "") && ge(r, s), m[0] & /*$_, operator*/
15989
- 65537 && d !== (d = /*$_*/
15990
- f[16]("timeoutTextFirst", {
15991
- values: { operatorname: (
15992
- /*operator*/
15993
- f[0]
15994
- ) }
15995
- }) + "") && ge(c, d), m[0] & /*$_, supportemail*/
15996
- 65568 && p !== (p = /*$_*/
15997
- f[16]("timeoutTextSecondary", {
15998
- values: { supportemail: (
15999
- /*supportemail*/
16000
- f[5]
16001
- ) }
16002
- }) + "") && ge(y, p), m[0] & /*timeoutOptions, $_*/
16003
- 65792
16006
+ h[18] && N.p(h, f), f[0] & /*$_*/
16007
+ 131072 && s !== (s = /*$_*/
16008
+ h[17]("titleTimeout") + "") && Le(r, s), f[0] & /*$_, operator, baseurl, lang*/
16009
+ 131139 && d !== (d = /*$_*/
16010
+ h[17]("timeoutTextFirst", {
16011
+ values: {
16012
+ operatorname: (
16013
+ /*operator*/
16014
+ h[0]
16015
+ ),
16016
+ baseurl: (
16017
+ /*baseurl*/
16018
+ h[6]
16019
+ ),
16020
+ lang: (
16021
+ /*lang*/
16022
+ h[1]
16023
+ )
16024
+ }
16025
+ }) + "") && (l.innerHTML = d), f[0] & /*$_, supportemail, baseurl, lang*/
16026
+ 131170 && p !== (p = /*$_*/
16027
+ h[17]("timeoutTextSecondary", {
16028
+ values: {
16029
+ supportemail: (
16030
+ /*supportemail*/
16031
+ h[5]
16032
+ ),
16033
+ baseurl: (
16034
+ /*baseurl*/
16035
+ h[6]
16036
+ ),
16037
+ lang: (
16038
+ /*lang*/
16039
+ h[1]
16040
+ )
16041
+ }
16042
+ }) + "") && (c.innerHTML = p), f[0] & /*timeoutOptions, $_*/
16043
+ 131584
16004
16044
  ) {
16005
- ee = qi(
16045
+ E = qi(
16006
16046
  /*timeoutOptions*/
16007
- f[8]
16047
+ h[9]
16008
16048
  );
16009
- let w;
16010
- for (w = 0; w < ee.length; w += 1) {
16011
- const C = Ho(f, ee, w);
16012
- v[w] ? v[w].p(C, m) : (v[w] = Bo(C), v[w].c(), v[w].m(T, null));
16049
+ let g;
16050
+ for (g = 0; g < E.length; g += 1) {
16051
+ const y = Ho(h, E, g);
16052
+ H[g] ? H[g].p(y, f) : (H[g] = Bo(y), H[g].c(), H[g].m(x, null));
16013
16053
  }
16014
- for (; w < v.length; w += 1)
16015
- v[w].d(1);
16016
- v.length = ee.length;
16054
+ for (; g < H.length; g += 1)
16055
+ H[g].d(1);
16056
+ H.length = E.length;
16017
16057
  }
16018
- m[0] & /*timeoutSelected, timeoutOptions*/
16019
- 768 && Ki(
16020
- T,
16058
+ f[0] & /*timeoutSelected, timeoutOptions*/
16059
+ 1536 && Ki(
16060
+ x,
16021
16061
  /*timeoutSelected*/
16022
- f[9]
16062
+ h[10]
16023
16063
  ), /*isUntilDate*/
16024
- f[10] ? _ ? _.p(f, m) : (_ = Vo(f), _.c(), _.m(t, z)) : _ && (_.d(1), _ = null), m[0] & /*$_*/
16025
- 65536 && q !== (q = /*$_*/
16026
- f[16]("save") + "") && ge(re, q), /*showConfirmationModal*/
16027
- f[18] && g.p(f, m);
16064
+ h[11] ? V ? V.p(h, f) : (V = Vo(h), V.c(), V.m(t, I)) : V && (V.d(1), V = null), f[0] & /*$_*/
16065
+ 131072 && $ !== ($ = /*$_*/
16066
+ h[17]("save") + "") && Le(L, $), /*showConfirmationModal*/
16067
+ h[19] && b.p(h, f);
16028
16068
  },
16029
- d(f) {
16030
- f && (oe(t), oe(X), oe(te)), K && K.d(), Er(v, f), _ && _.d(), g && g.d(f), $ = !1, Dr(S);
16069
+ d(h) {
16070
+ h && (re(t), re(G), re(ue)), N && N.d(), Er(H, h), V && V.d(), b && b.d(h), ie = !1, Dr(Q);
16031
16071
  }
16032
16072
  };
16033
16073
  }
16034
- function wc(o) {
16035
- let t, e, i, s, r, n, a, l, d, c, u, h, p, y, E, D;
16036
- function T(L, F) {
16074
+ function wu(o) {
16075
+ let t, e, i, s, r, n, a, l, d, u, c, p, m, _, x, S;
16076
+ function I($, L) {
16037
16077
  return (
16038
16078
  /*isMobile*/
16039
- L[17] ? Tc : Ac
16079
+ $[18] ? Tu : Au
16040
16080
  );
16041
16081
  }
16042
- let z = T(o)(o);
16082
+ let M = I(o)(o);
16043
16083
  return {
16044
16084
  c() {
16045
- t = M("div"), z.c(), e = Y(), i = M("div"), s = M("ui-skeleton"), r = Y(), n = M("div"), a = Y(), l = M("ui-skeleton"), d = Y(), c = M("div"), u = Y(), h = M("div"), p = M("ui-skeleton"), y = Y(), E = M("div"), D = M("ui-skeleton"), A(s, "structure", "text"), A(
16085
+ t = O("div"), M.c(), e = q(), i = O("div"), s = O("ui-skeleton"), r = q(), n = O("div"), a = q(), l = O("ui-skeleton"), d = q(), u = O("div"), c = q(), p = O("div"), m = O("ui-skeleton"), _ = q(), x = O("div"), S = O("ui-skeleton"), T(s, "structure", "text"), T(
16046
16086
  s,
16047
16087
  "height",
16048
16088
  /*isMobile*/
16049
- o[17] ? "15px" : "20px"
16050
- ), A(s, "rows", "3"), A(s, "width", "100%"), Wi(
16089
+ o[18] ? "15px" : "20px"
16090
+ ), T(s, "rows", "3"), T(s, "width", "100%"), Wi(
16051
16091
  n,
16052
16092
  "height",
16053
16093
  /*isMobile*/
16054
- o[17] ? "10px" : "30px"
16055
- ), A(l, "structure", "text"), A(
16094
+ o[18] ? "10px" : "30px"
16095
+ ), T(l, "structure", "text"), T(
16056
16096
  l,
16057
16097
  "height",
16058
16098
  /*isMobile*/
16059
- o[17] ? "15px" : "20px"
16060
- ), A(l, "rows", "3"), A(l, "width", "100%"), Wi(
16061
- c,
16099
+ o[18] ? "15px" : "20px"
16100
+ ), T(l, "rows", "3"), T(l, "width", "100%"), Wi(
16101
+ u,
16062
16102
  "height",
16063
16103
  /*isMobile*/
16064
- o[17] ? "10px" : "30px"
16065
- ), N(i, "class", "TimeoutDescription"), A(p, "structure", "rectangle"), A(
16066
- p,
16104
+ o[18] ? "10px" : "30px"
16105
+ ), z(i, "class", "TimeoutDescription"), T(m, "structure", "rectangle"), T(
16106
+ m,
16067
16107
  "width",
16068
16108
  /*isMobile*/
16069
- o[17] ? "100%" : "50%"
16070
- ), A(
16071
- p,
16109
+ o[18] ? "100%" : "50%"
16110
+ ), T(
16111
+ m,
16072
16112
  "height",
16073
16113
  /*isMobile*/
16074
- o[17] ? "30px" : "44px"
16075
- ), A(p, "margin-bottom", "16px"), N(h, "class", "TimeoutSelectWrapper"), A(D, "structure", "rectangle"), A(D, "width", "100%"), A(
16076
- D,
16114
+ o[18] ? "30px" : "44px"
16115
+ ), T(m, "margin-bottom", "16px"), z(p, "class", "TimeoutSelectWrapper"), T(S, "structure", "rectangle"), T(S, "width", "100%"), T(
16116
+ S,
16077
16117
  "height",
16078
16118
  /*isMobile*/
16079
- o[17] ? "35px" : "50px"
16080
- ), N(E, "class", "TimeoutActionButtons " + /*isMobile*/
16081
- (o[17] ? "TimeoutActionButtonsMobile" : "")), N(t, "class", "TimeoutWrapper " + /*isMobile*/
16082
- (o[17] ? "TimeoutWrapperMobile" : ""));
16119
+ o[18] ? "35px" : "50px"
16120
+ ), z(x, "class", "TimeoutActionButtons " + /*isMobile*/
16121
+ (o[18] ? "TimeoutActionButtonsMobile" : "")), z(t, "class", "TimeoutWrapper " + /*isMobile*/
16122
+ (o[18] ? "TimeoutWrapperMobile" : ""));
16083
16123
  },
16084
- m(L, F) {
16085
- se(L, t, F), z.m(t, null), x(t, e), x(t, i), x(i, s), x(i, r), x(i, n), x(i, a), x(i, l), x(i, d), x(i, c), x(t, u), x(t, h), x(h, p), x(t, y), x(t, E), x(E, D);
16124
+ m($, L) {
16125
+ ne($, t, L), M.m(t, null), w(t, e), w(t, i), w(i, s), w(i, r), w(i, n), w(i, a), w(i, l), w(i, d), w(i, u), w(t, c), w(t, p), w(p, m), w(t, _), w(t, x), w(x, S);
16086
16126
  },
16087
16127
  p: Gt,
16088
- d(L) {
16089
- L && oe(t), z.d();
16128
+ d($) {
16129
+ $ && re(t), M.d();
16090
16130
  }
16091
16131
  };
16092
16132
  }
16093
- function xc(o) {
16094
- let t, e, i, s, r, n, a, l, d, c, u = (
16133
+ function xu(o) {
16134
+ let t, e, i, s, r, n, a, l, d, u, c = (
16095
16135
  /*$_*/
16096
- o[16]("titleTimeout") + ""
16097
- ), h, p, y;
16136
+ o[17]("titleTimeout") + ""
16137
+ ), p, m, _;
16098
16138
  return {
16099
16139
  c() {
16100
- t = M("div"), e = Oe("svg"), i = Oe("defs"), s = Oe("style"), r = pe(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Oe("g"), a = Oe("g"), l = Oe("path"), d = Y(), c = M("h2"), h = pe(u), N(l, "class", "aaa"), N(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), N(l, "transform", "translate(15 15) rotate(180)"), N(a, "transform", "translate(20 158)"), N(n, "transform", "translate(-20 -158)"), N(e, "xmlns", "http://www.w3.org/2000/svg"), N(e, "width", "15"), N(e, "height", "15"), N(e, "viewBox", "0 0 15 15"), N(c, "class", "TimeoutTitleMobile"), N(c, "part", "TimeoutTitleMobile"), N(t, "class", "MenuReturnButton"), N(t, "part", "MenuReturnButton");
16140
+ t = O("div"), e = Pe("svg"), i = Pe("defs"), s = Pe("style"), r = Te(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Pe("g"), a = Pe("g"), l = Pe("path"), d = q(), u = O("h2"), p = Te(c), z(l, "class", "aaa"), z(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), z(l, "transform", "translate(15 15) rotate(180)"), z(a, "transform", "translate(20 158)"), z(n, "transform", "translate(-20 -158)"), z(e, "xmlns", "http://www.w3.org/2000/svg"), z(e, "width", "15"), z(e, "height", "15"), z(e, "viewBox", "0 0 15 15"), z(u, "class", "TimeoutTitleMobile"), z(u, "part", "TimeoutTitleMobile"), z(t, "class", "MenuReturnButton"), z(t, "part", "MenuReturnButton");
16101
16141
  },
16102
- m(E, D) {
16103
- se(E, t, D), x(t, e), x(e, i), x(i, s), x(s, r), x(e, n), x(n, a), x(a, l), x(t, d), x(t, c), x(c, h), p || (y = _t(
16142
+ m(x, S) {
16143
+ ne(x, t, S), w(t, e), w(e, i), w(i, s), w(s, r), w(e, n), w(n, a), w(a, l), w(t, d), w(t, u), w(u, p), m || (_ = _t(
16104
16144
  t,
16105
16145
  "click",
16106
16146
  /*click_handler*/
16107
- o[25]
16108
- ), p = !0);
16147
+ o[26]
16148
+ ), m = !0);
16109
16149
  },
16110
- p(E, D) {
16111
- D[0] & /*$_*/
16112
- 65536 && u !== (u = /*$_*/
16113
- E[16]("titleTimeout") + "") && ge(h, u);
16150
+ p(x, S) {
16151
+ S[0] & /*$_*/
16152
+ 131072 && c !== (c = /*$_*/
16153
+ x[17]("titleTimeout") + "") && Le(p, c);
16114
16154
  },
16115
- d(E) {
16116
- E && oe(t), p = !1, y();
16155
+ d(x) {
16156
+ x && re(t), m = !1, _();
16117
16157
  }
16118
16158
  };
16119
16159
  }
16120
16160
  function Bo(o) {
16121
16161
  let t, e = (
16122
16162
  /*$_*/
16123
- o[16](
16163
+ o[17](
16124
16164
  /*value*/
16125
- o[38]
16165
+ o[39]
16126
16166
  ) + ""
16127
16167
  ), i, s;
16128
16168
  return {
16129
16169
  c() {
16130
- t = M("option"), i = pe(e), t.__value = s = /*value*/
16131
- o[38], Gi(t, t.__value);
16170
+ t = O("option"), i = Te(e), t.__value = s = /*value*/
16171
+ o[39], Gi(t, t.__value);
16132
16172
  },
16133
16173
  m(r, n) {
16134
- se(r, t, n), x(t, i);
16174
+ ne(r, t, n), w(t, i);
16135
16175
  },
16136
16176
  p(r, n) {
16137
16177
  n[0] & /*$_, timeoutOptions*/
16138
- 65792 && e !== (e = /*$_*/
16139
- r[16](
16178
+ 131584 && e !== (e = /*$_*/
16179
+ r[17](
16140
16180
  /*value*/
16141
- r[38]
16142
- ) + "") && ge(i, e), n[0] & /*timeoutOptions*/
16143
- 256 && s !== (s = /*value*/
16144
- r[38]) && (t.__value = s, Gi(t, t.__value));
16181
+ r[39]
16182
+ ) + "") && Le(i, e), n[0] & /*timeoutOptions*/
16183
+ 512 && s !== (s = /*value*/
16184
+ r[39]) && (t.__value = s, Gi(t, t.__value));
16145
16185
  },
16146
16186
  d(r) {
16147
- r && oe(t);
16187
+ r && re(t);
16148
16188
  }
16149
16189
  };
16150
16190
  }
16151
16191
  function Vo(o) {
16152
16192
  let t, e, i = (
16153
16193
  /*$_*/
16154
- o[16]("duration") + ""
16194
+ o[17]("duration") + ""
16155
16195
  ), s, r, n, a = (
16156
16196
  /*$_*/
16157
- o[16]("dateInstructions") + ""
16158
- ), l, d, c, u, h;
16197
+ o[17]("dateInstructions") + ""
16198
+ ), l, d, u, c, p;
16159
16199
  return {
16160
16200
  c() {
16161
- t = M("div"), e = M("label"), s = pe(i), r = Y(), n = M("span"), l = pe(a), d = Y(), c = M("strong"), c.innerHTML = "MM/DD/YYYY<strong></strong>", u = Y(), h = M("vaadin-date-picker"), N(e, "for", "TimeoutDate"), N(n, "class", "TimeoutDateInstructions"), A(
16162
- h,
16201
+ t = O("div"), e = O("label"), s = Te(i), r = q(), n = O("span"), l = Te(a), d = q(), u = O("strong"), u.innerHTML = "MM/DD/YYYY<strong></strong>", c = q(), p = O("vaadin-date-picker"), z(e, "for", "TimeoutDate"), z(n, "class", "TimeoutDateInstructions"), T(
16202
+ p,
16163
16203
  "min",
16164
16204
  /*minDate*/
16165
- o[12]
16166
- ), A(
16167
- h,
16205
+ o[13]
16206
+ ), T(
16207
+ p,
16168
16208
  "max",
16169
16209
  /*maxDate*/
16170
- o[13]
16171
- ), A(
16172
- h,
16210
+ o[14]
16211
+ ), T(
16212
+ p,
16173
16213
  "value",
16174
16214
  /*minDate*/
16175
- o[12]
16176
- ), N(t, "class", "TimeoutDateWrapper " + /*isMobile*/
16177
- (o[17] ? "TimeoutDateWrapperMobile" : ""));
16215
+ o[13]
16216
+ ), z(t, "class", "TimeoutDateWrapper " + /*isMobile*/
16217
+ (o[18] ? "TimeoutDateWrapperMobile" : ""));
16178
16218
  },
16179
- m(p, y) {
16180
- se(p, t, y), x(t, e), x(e, s), x(t, r), x(t, n), x(n, l), x(n, d), x(n, c), x(t, u), x(t, h), o[27](h);
16219
+ m(m, _) {
16220
+ ne(m, t, _), w(t, e), w(e, s), w(t, r), w(t, n), w(n, l), w(n, d), w(n, u), w(t, c), w(t, p), o[28](p);
16181
16221
  },
16182
- p(p, y) {
16183
- y[0] & /*$_*/
16184
- 65536 && i !== (i = /*$_*/
16185
- p[16]("duration") + "") && ge(s, i), y[0] & /*$_*/
16186
- 65536 && a !== (a = /*$_*/
16187
- p[16]("dateInstructions") + "") && ge(l, a), y[0] & /*minDate*/
16188
- 4096 && A(
16189
- h,
16222
+ p(m, _) {
16223
+ _[0] & /*$_*/
16224
+ 131072 && i !== (i = /*$_*/
16225
+ m[17]("duration") + "") && Le(s, i), _[0] & /*$_*/
16226
+ 131072 && a !== (a = /*$_*/
16227
+ m[17]("dateInstructions") + "") && Le(l, a), _[0] & /*minDate*/
16228
+ 8192 && T(
16229
+ p,
16190
16230
  "min",
16191
16231
  /*minDate*/
16192
- p[12]
16193
- ), y[0] & /*maxDate*/
16194
- 8192 && A(
16195
- h,
16232
+ m[13]
16233
+ ), _[0] & /*maxDate*/
16234
+ 16384 && T(
16235
+ p,
16196
16236
  "max",
16197
16237
  /*maxDate*/
16198
- p[13]
16199
- ), y[0] & /*minDate*/
16200
- 4096 && A(
16201
- h,
16238
+ m[14]
16239
+ ), _[0] & /*minDate*/
16240
+ 8192 && T(
16241
+ p,
16202
16242
  "value",
16203
16243
  /*minDate*/
16204
- p[12]
16244
+ m[13]
16205
16245
  );
16206
16246
  },
16207
- d(p) {
16208
- p && oe(t), o[27](null);
16247
+ d(m) {
16248
+ m && re(t), o[28](null);
16209
16249
  }
16210
16250
  };
16211
16251
  }
16212
- function Cc(o) {
16252
+ function Cu(o) {
16213
16253
  let t, e, i, s;
16214
16254
  return {
16215
16255
  c() {
16216
- t = M("player-account-modal"), e = M("player-account-general-confirmation-modal"), A(e, "modalTitle", i = /*$_*/
16217
- o[16]("confirmationModalTitle")), A(
16256
+ t = O("player-account-modal"), e = O("player-account-general-confirmation-modal"), T(e, "modalTitle", i = /*$_*/
16257
+ o[17]("confirmationModalTitle")), T(
16218
16258
  e,
16219
16259
  "modalText",
16220
16260
  /*confirmationModalText*/
16221
- o[14]
16222
- ), A(e, "hascancelbutton", !1), A(e, "modalconfirmevent", s = {
16261
+ o[15]
16262
+ ), T(e, "hascancelbutton", !1), T(e, "modalconfirmevent", s = {
16223
16263
  type: "SetPlayerAccountTimeout",
16224
16264
  timeoutSelected: (
16225
16265
  /*timeoutSelected*/
16226
- o[9]
16266
+ o[10]
16227
16267
  ),
16228
16268
  timeoutExpiryDate: (
16229
16269
  /*timeoutExpiryDate*/
16230
- o[11]
16270
+ o[12]
16231
16271
  )
16232
- }), A(
16272
+ }), T(
16233
16273
  e,
16234
16274
  "mbsource",
16235
16275
  /*mbsource*/
16236
16276
  o[4]
16237
- ), A(
16277
+ ), T(
16238
16278
  e,
16239
16279
  "lang",
16240
16280
  /*lang*/
16241
16281
  o[1]
16242
- ), A(
16282
+ ), T(
16243
16283
  t,
16244
16284
  "clientstyling",
16245
16285
  /*clientstyling*/
16246
16286
  o[2]
16247
- ), A(
16287
+ ), T(
16248
16288
  t,
16249
16289
  "clientstylingurl",
16250
16290
  /*clientstylingurl*/
16251
16291
  o[3]
16252
- ), A(
16292
+ ), T(
16253
16293
  t,
16254
16294
  "mbsource",
16255
16295
  /*mbsource*/
16256
16296
  o[4]
16257
- ), A(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
16297
+ ), T(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
16258
16298
  },
16259
16299
  m(r, n) {
16260
- se(r, t, n), x(t, e);
16300
+ ne(r, t, n), w(t, e);
16261
16301
  },
16262
16302
  p(r, n) {
16263
16303
  n[0] & /*$_*/
16264
- 65536 && i !== (i = /*$_*/
16265
- r[16]("confirmationModalTitle")) && A(e, "modalTitle", i), n[0] & /*confirmationModalText*/
16266
- 16384 && A(
16304
+ 131072 && i !== (i = /*$_*/
16305
+ r[17]("confirmationModalTitle")) && T(e, "modalTitle", i), n[0] & /*confirmationModalText*/
16306
+ 32768 && T(
16267
16307
  e,
16268
16308
  "modalText",
16269
16309
  /*confirmationModalText*/
16270
- r[14]
16310
+ r[15]
16271
16311
  ), n[0] & /*timeoutSelected, timeoutExpiryDate, timeoutOptions*/
16272
- 2816 && s !== (s = {
16312
+ 5632 && s !== (s = {
16273
16313
  type: "SetPlayerAccountTimeout",
16274
16314
  timeoutSelected: (
16275
16315
  /*timeoutSelected*/
16276
- r[9]
16316
+ r[10]
16277
16317
  ),
16278
16318
  timeoutExpiryDate: (
16279
16319
  /*timeoutExpiryDate*/
16280
- r[11]
16320
+ r[12]
16281
16321
  )
16282
- }) && A(e, "modalconfirmevent", s), n[0] & /*mbsource*/
16283
- 16 && A(
16322
+ }) && T(e, "modalconfirmevent", s), n[0] & /*mbsource*/
16323
+ 16 && T(
16284
16324
  e,
16285
16325
  "mbsource",
16286
16326
  /*mbsource*/
16287
16327
  r[4]
16288
16328
  ), n[0] & /*lang*/
16289
- 2 && A(
16329
+ 2 && T(
16290
16330
  e,
16291
16331
  "lang",
16292
16332
  /*lang*/
16293
16333
  r[1]
16294
16334
  ), n[0] & /*clientstyling*/
16295
- 4 && A(
16335
+ 4 && T(
16296
16336
  t,
16297
16337
  "clientstyling",
16298
16338
  /*clientstyling*/
16299
16339
  r[2]
16300
16340
  ), n[0] & /*clientstylingurl*/
16301
- 8 && A(
16341
+ 8 && T(
16302
16342
  t,
16303
16343
  "clientstylingurl",
16304
16344
  /*clientstylingurl*/
16305
16345
  r[3]
16306
16346
  ), n[0] & /*mbsource*/
16307
- 16 && A(
16347
+ 16 && T(
16308
16348
  t,
16309
16349
  "mbsource",
16310
16350
  /*mbsource*/
@@ -16312,53 +16352,53 @@ function Cc(o) {
16312
16352
  );
16313
16353
  },
16314
16354
  d(r) {
16315
- r && oe(t);
16355
+ r && re(t);
16316
16356
  }
16317
16357
  };
16318
16358
  }
16319
- function Ac(o) {
16359
+ function Au(o) {
16320
16360
  let t;
16321
16361
  return {
16322
16362
  c() {
16323
- t = M("ui-skeleton"), A(t, "structure", "title"), A(t, "width", "100px"), A(t, "margin-top", "20px"), A(t, "margin-bottom", "20px");
16363
+ t = O("ui-skeleton"), T(t, "structure", "title"), T(t, "width", "100px"), T(t, "margin-top", "20px"), T(t, "margin-bottom", "20px");
16324
16364
  },
16325
16365
  m(e, i) {
16326
- se(e, t, i);
16366
+ ne(e, t, i);
16327
16367
  },
16328
16368
  d(e) {
16329
- e && oe(t);
16369
+ e && re(t);
16330
16370
  }
16331
16371
  };
16332
16372
  }
16333
- function Tc(o) {
16373
+ function Tu(o) {
16334
16374
  let t;
16335
16375
  return {
16336
16376
  c() {
16337
- t = M("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', N(t, "class", "MenuReturnButton");
16377
+ t = O("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', z(t, "class", "MenuReturnButton");
16338
16378
  },
16339
16379
  m(e, i) {
16340
- se(e, t, i);
16380
+ ne(e, t, i);
16341
16381
  },
16342
16382
  d(e) {
16343
- e && oe(t);
16383
+ e && re(t);
16344
16384
  }
16345
16385
  };
16346
16386
  }
16347
- function Ec(o) {
16387
+ function Eu(o) {
16348
16388
  let t;
16349
16389
  function e(r, n) {
16350
16390
  return (
16351
16391
  /*skeletonLoading*/
16352
- r[15] ? wc : bc
16392
+ r[16] ? wu : bu
16353
16393
  );
16354
16394
  }
16355
16395
  let i = e(o), s = i(o);
16356
16396
  return {
16357
16397
  c() {
16358
- t = M("div"), s.c();
16398
+ t = O("div"), s.c();
16359
16399
  },
16360
16400
  m(r, n) {
16361
- se(r, t, n), s.m(t, null), o[29](t);
16401
+ ne(r, t, n), s.m(t, null), o[30](t);
16362
16402
  },
16363
16403
  p(r, n) {
16364
16404
  i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
@@ -16366,14 +16406,14 @@ function Ec(o) {
16366
16406
  i: Gt,
16367
16407
  o: Gt,
16368
16408
  d(r) {
16369
- r && oe(t), s.d(), o[29](null);
16409
+ r && re(t), s.d(), o[30](null);
16370
16410
  }
16371
16411
  };
16372
16412
  }
16373
- function Dc(o, t, e) {
16413
+ function Du(o, t, e) {
16374
16414
  let i;
16375
- xr(o, Pr, (b) => e(16, i = b));
16376
- let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, E = window.navigator.userAgent, D = Cr(E) !== "PC", T = [
16415
+ xr(o, Pr, (v) => e(17, i = v));
16416
+ let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: u = "" } = t, { endpoint: c = "" } = t, { baseurl: p = "" } = t, { hasconfirmationmodal: m = "false" } = t, _, x, S = window.navigator.userAgent, I = Cr(S) !== "PC", D = [
16377
16417
  {
16378
16418
  value: "CoolOffFor24Hours",
16379
16419
  dateSelector: !1
@@ -16390,138 +16430,139 @@ function Dc(o, t, e) {
16390
16430
  value: "CoolOffFor3Months",
16391
16431
  dateSelector: !1
16392
16432
  }
16393
- ], k = T[0].value, z = !1, L = "", F, q, re = "", X = h === "true", te = !0;
16394
- const $ = () => {
16395
- fetch(d).then((b) => b.json()).then((b) => {
16396
- Object.keys(b).forEach((V) => {
16397
- $o(V, b[V]);
16433
+ ], M = D[0].value, $ = !1, L = "", G, ue, ie = "", Q = m === "true", N = !0;
16434
+ const E = () => {
16435
+ fetch(d).then((v) => v.json()).then((v) => {
16436
+ Object.keys(v).forEach((ee) => {
16437
+ $o(ee, v[ee]);
16398
16438
  });
16399
- }).catch((b) => {
16400
- console.log(b);
16439
+ }).catch((v) => {
16440
+ console.log(v);
16401
16441
  });
16402
16442
  };
16403
- Object.keys(Ro).forEach((b) => {
16404
- $o(b, Ro[b]);
16443
+ Object.keys(Ro).forEach((v) => {
16444
+ $o(v, Ro[v]);
16405
16445
  });
16406
- const S = () => {
16407
- const b = new URL("/v1/player/coolOffSettings", u), V = { method: "GET" };
16408
- fetch(b.href, V).then((Z) => {
16409
- if (!Z.ok)
16446
+ const H = () => {
16447
+ const v = new URL("/v1/player/coolOffSettings", c), ee = { method: "GET" };
16448
+ fetch(v.href, ee).then((J) => {
16449
+ if (!J.ok)
16410
16450
  throw new Error("There was an error while fetching the configuration");
16411
- return Z.json();
16412
- }).then((Z) => {
16413
- const { periods: ne } = Z;
16414
- ne && e(8, T = ne.map((de) => ({
16415
- value: de.key,
16416
- text: de.text,
16417
- dateSelector: de.dateSelector
16451
+ return J.json();
16452
+ }).then((J) => {
16453
+ const { periods: fe } = J;
16454
+ fe && e(9, D = fe.map((oe) => ({
16455
+ value: oe.key,
16456
+ text: oe.text,
16457
+ dateSelector: oe.dateSelector
16418
16458
  })));
16419
- }).catch((Z) => {
16420
- console.log(Z);
16459
+ }).catch((J) => {
16460
+ console.log(J);
16421
16461
  }).finally(() => {
16422
- e(15, te = !1), e(9, k = T[0].value);
16462
+ e(16, N = !1), e(10, M = D[0].value);
16423
16463
  });
16424
- }, K = () => {
16425
- if (!X) {
16426
- e(14, re = "");
16464
+ }, V = () => {
16465
+ if (!Q) {
16466
+ e(15, ie = "");
16427
16467
  return;
16428
16468
  }
16429
- e(14, re = z ? i("confirmationModalTextUntilTimeout", { values: { date: L } }) : i("confirmationModalTextPeriodTimeout", { values: { period: i(k) } }));
16430
- }, ee = (b) => {
16431
- b.preventDefault(), X ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
16469
+ e(15, ie = $ ? i("confirmationModalTextUntilTimeout", { values: { date: L } }) : i("confirmationModalTextPeriodTimeout", { values: { period: i(M) } }));
16470
+ }, b = (v) => {
16471
+ v.preventDefault(), Q ? window.postMessage({ type: "ShowTimeoutConfirmationModal" }, window.location.href) : window.postMessage(
16432
16472
  {
16433
16473
  type: "SetPlayerAccountTimeout",
16434
- timeoutSelected: k,
16474
+ timeoutSelected: M,
16435
16475
  timeoutExpiryDate: L
16436
16476
  },
16437
16477
  window.location.href
16438
16478
  );
16439
- }, v = () => {
16479
+ }, h = () => {
16440
16480
  window.postMessage(
16441
16481
  {
16442
16482
  type: "PlayerAccountMenuActive",
16443
- isMobile: D
16483
+ isMobile: I
16444
16484
  },
16445
16485
  window.location.href
16446
16486
  );
16447
- }, _ = () => {
16448
- yc(r), S();
16487
+ }, f = () => {
16488
+ yu(r), H();
16449
16489
  }, g = () => {
16450
- const b = T.find((V) => V.value === k);
16451
- e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F = Lo().format("YYYY-MM-DD")), e(13, q = Lo().add(6, "months").format("YYYY-MM-DD")), e(11, L = F)), X && K();
16452
- }, f = (b) => {
16453
- e(11, L = b.target.value);
16454
- }, m = () => {
16455
- y.addEventListener("change", f, !1);
16490
+ const v = D.find((ee) => ee.value === M);
16491
+ e(11, $ = !1), v.dateSelector && (e(11, $ = !0), e(13, G = Lo().format("YYYY-MM-DD")), e(14, ue = Lo().add(6, "months").format("YYYY-MM-DD")), e(12, L = G)), Q && V();
16492
+ }, y = (v) => {
16493
+ e(12, L = v.target.value);
16494
+ }, C = () => {
16495
+ x.addEventListener("change", y, !1);
16456
16496
  };
16457
16497
  Ar(() => () => {
16458
- y.removeEventListener("change", f);
16498
+ x.removeEventListener("change", y);
16459
16499
  });
16460
- const w = () => v();
16461
- function C() {
16462
- k = Tr(this), e(9, k), e(8, T);
16500
+ const A = () => h();
16501
+ function F() {
16502
+ M = Tr(this), e(10, M), e(9, D);
16463
16503
  }
16464
- function I(b) {
16465
- Yi[b ? "unshift" : "push"](() => {
16466
- y = b, e(7, y);
16504
+ function R(v) {
16505
+ Yi[v ? "unshift" : "push"](() => {
16506
+ x = v, e(8, x);
16467
16507
  });
16468
16508
  }
16469
- const R = (b) => ee(b);
16470
- function B(b) {
16471
- Yi[b ? "unshift" : "push"](() => {
16472
- p = b, e(6, p);
16509
+ const U = (v) => b(v);
16510
+ function Y(v) {
16511
+ Yi[v ? "unshift" : "push"](() => {
16512
+ _ = v, e(7, _);
16473
16513
  });
16474
16514
  }
16475
- return o.$$set = (b) => {
16476
- "operator" in b && e(0, s = b.operator), "lang" in b && e(1, r = b.lang), "clientstyling" in b && e(2, n = b.clientstyling), "clientstylingurl" in b && e(3, a = b.clientstylingurl), "mbsource" in b && e(4, l = b.mbsource), "translationurl" in b && e(22, d = b.translationurl), "supportemail" in b && e(5, c = b.supportemail), "endpoint" in b && e(23, u = b.endpoint), "hasconfirmationmodal" in b && e(24, h = b.hasconfirmationmodal);
16515
+ return o.$$set = (v) => {
16516
+ "operator" in v && e(0, s = v.operator), "lang" in v && e(1, r = v.lang), "clientstyling" in v && e(2, n = v.clientstyling), "clientstylingurl" in v && e(3, a = v.clientstylingurl), "mbsource" in v && e(4, l = v.mbsource), "translationurl" in v && e(23, d = v.translationurl), "supportemail" in v && e(5, u = v.supportemail), "endpoint" in v && e(24, c = v.endpoint), "baseurl" in v && e(6, p = v.baseurl), "hasconfirmationmodal" in v && e(25, m = v.hasconfirmationmodal);
16477
16517
  }, o.$$.update = () => {
16478
16518
  o.$$.dirty[0] & /*calendar*/
16479
- 128 && y && m(), o.$$.dirty[0] & /*lang*/
16480
- 2 && r && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
16481
- 68 && n && p && Or(p, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
16482
- 72 && a && p && Mr(p, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
16483
- 80 && l && p && Ir(p, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
16484
- 4194304 && d && $();
16485
- }, X && K(), [
16519
+ 256 && x && C(), o.$$.dirty[0] & /*lang*/
16520
+ 2 && r && f(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
16521
+ 132 && n && _ && Or(_, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
16522
+ 136 && a && _ && Mr(_, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
16523
+ 144 && l && _ && Ir(_, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
16524
+ 8388608 && d && E();
16525
+ }, Q && V(), [
16486
16526
  s,
16487
16527
  r,
16488
16528
  n,
16489
16529
  a,
16490
16530
  l,
16491
- c,
16531
+ u,
16492
16532
  p,
16493
- y,
16494
- T,
16495
- k,
16496
- z,
16533
+ _,
16534
+ x,
16535
+ D,
16536
+ M,
16537
+ $,
16497
16538
  L,
16498
- F,
16499
- q,
16500
- re,
16501
- te,
16539
+ G,
16540
+ ue,
16541
+ ie,
16542
+ N,
16502
16543
  i,
16503
- D,
16504
- X,
16505
- ee,
16506
- v,
16544
+ I,
16545
+ Q,
16546
+ b,
16547
+ h,
16507
16548
  g,
16508
16549
  d,
16509
- u,
16510
- h,
16511
- w,
16512
- C,
16513
- I,
16550
+ c,
16551
+ m,
16552
+ A,
16553
+ F,
16514
16554
  R,
16515
- B
16555
+ U,
16556
+ Y
16516
16557
  ];
16517
16558
  }
16518
- class kc extends yr {
16559
+ class ku extends yr {
16519
16560
  constructor(t) {
16520
16561
  super(), vr(
16521
16562
  this,
16522
16563
  t,
16523
- Dc,
16524
- Ec,
16564
+ Du,
16565
+ Eu,
16525
16566
  br,
16526
16567
  {
16527
16568
  operator: 0,
@@ -16529,12 +16570,13 @@ class kc extends yr {
16529
16570
  clientstyling: 2,
16530
16571
  clientstylingurl: 3,
16531
16572
  mbsource: 4,
16532
- translationurl: 22,
16573
+ translationurl: 23,
16533
16574
  supportemail: 5,
16534
- endpoint: 23,
16535
- hasconfirmationmodal: 24
16575
+ endpoint: 24,
16576
+ baseurl: 6,
16577
+ hasconfirmationmodal: 25
16536
16578
  },
16537
- vc,
16579
+ vu,
16538
16580
  [-1, -1]
16539
16581
  );
16540
16582
  }
@@ -16542,58 +16584,64 @@ class kc extends yr {
16542
16584
  return this.$$.ctx[0];
16543
16585
  }
16544
16586
  set operator(t) {
16545
- this.$$set({ operator: t }), ce();
16587
+ this.$$set({ operator: t }), ae();
16546
16588
  }
16547
16589
  get lang() {
16548
16590
  return this.$$.ctx[1];
16549
16591
  }
16550
16592
  set lang(t) {
16551
- this.$$set({ lang: t }), ce();
16593
+ this.$$set({ lang: t }), ae();
16552
16594
  }
16553
16595
  get clientstyling() {
16554
16596
  return this.$$.ctx[2];
16555
16597
  }
16556
16598
  set clientstyling(t) {
16557
- this.$$set({ clientstyling: t }), ce();
16599
+ this.$$set({ clientstyling: t }), ae();
16558
16600
  }
16559
16601
  get clientstylingurl() {
16560
16602
  return this.$$.ctx[3];
16561
16603
  }
16562
16604
  set clientstylingurl(t) {
16563
- this.$$set({ clientstylingurl: t }), ce();
16605
+ this.$$set({ clientstylingurl: t }), ae();
16564
16606
  }
16565
16607
  get mbsource() {
16566
16608
  return this.$$.ctx[4];
16567
16609
  }
16568
16610
  set mbsource(t) {
16569
- this.$$set({ mbsource: t }), ce();
16611
+ this.$$set({ mbsource: t }), ae();
16570
16612
  }
16571
16613
  get translationurl() {
16572
- return this.$$.ctx[22];
16614
+ return this.$$.ctx[23];
16573
16615
  }
16574
16616
  set translationurl(t) {
16575
- this.$$set({ translationurl: t }), ce();
16617
+ this.$$set({ translationurl: t }), ae();
16576
16618
  }
16577
16619
  get supportemail() {
16578
16620
  return this.$$.ctx[5];
16579
16621
  }
16580
16622
  set supportemail(t) {
16581
- this.$$set({ supportemail: t }), ce();
16623
+ this.$$set({ supportemail: t }), ae();
16582
16624
  }
16583
16625
  get endpoint() {
16584
- return this.$$.ctx[23];
16626
+ return this.$$.ctx[24];
16585
16627
  }
16586
16628
  set endpoint(t) {
16587
- this.$$set({ endpoint: t }), ce();
16629
+ this.$$set({ endpoint: t }), ae();
16630
+ }
16631
+ get baseurl() {
16632
+ return this.$$.ctx[6];
16633
+ }
16634
+ set baseurl(t) {
16635
+ this.$$set({ baseurl: t }), ae();
16588
16636
  }
16589
16637
  get hasconfirmationmodal() {
16590
- return this.$$.ctx[24];
16638
+ return this.$$.ctx[25];
16591
16639
  }
16592
16640
  set hasconfirmationmodal(t) {
16593
- this.$$set({ hasconfirmationmodal: t }), ce();
16641
+ this.$$set({ hasconfirmationmodal: t }), ae();
16594
16642
  }
16595
16643
  }
16596
- gr(kc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
16644
+ gr(ku, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
16597
16645
  export {
16598
- kc as P
16646
+ ku as P
16599
16647
  };