@everymatrix/player-account-controller-nd 1.54.0 → 1.54.4

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.
Files changed (85) hide show
  1. package/components/{GeneralLogout-BtWyed39.js → GeneralLogout-3tCkYOBy.js} +1094 -1131
  2. package/components/{PlayerAccountBettingHistory-jlr-NObV.js → PlayerAccountBettingHistory-DAOgOPGf.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-C54a7r-9.js → PlayerAccountBiometrics-sCg1trpD.js} +1 -1
  4. package/components/{PlayerAccountClosureNd-BDFuLumd.js → PlayerAccountClosureNd-De5JqWgf.js} +1 -1
  5. package/components/{PlayerAccountControllerNd-C-2tav1W.js → PlayerAccountControllerNd-COEYGY9w.js} +400 -417
  6. package/components/{PlayerAccountGamingLimits-11hMW47h.js → PlayerAccountGamingLimits-CqTz7Ici.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-D-CsaFkg.js → PlayerAccountGamingLimitsConfirmationModal-BjoIf8Bc.js} +1 -1
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-CGnoaPKg.js → PlayerAccountGamingLimitsGroupEdit-DAdNIZpE.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2Nd-BEobV_rb.js → PlayerAccountGamingLimitsHistory2Nd-DhHA1RpB.js} +122 -133
  10. package/components/{PlayerAccountGamingLimitsInfoCard-BKjqkeZR.js → PlayerAccountGamingLimitsInfoCard-Dm4s5EwR.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-S0iDe8or.js → PlayerAccountGamingLimitsPage2Gm16Nd-DKULeWa-.js} +843 -874
  12. package/components/{PlayerAccountGamingLimitsPopup-gmuszZSb.js → PlayerAccountGamingLimitsPopup-Df_x-yrG.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DLlx2k_P.js → PlayerAccountGamingLimitsWrapper2Nd-DQ3dr7To.js} +111 -117
  14. package/components/{PlayerAccountGeneralConfirmationModal-B_nnNCCl.js → PlayerAccountGeneralConfirmationModal-Nvr-pqYF.js} +1 -1
  15. package/components/{PlayerAccountMenuNd-t6hDlobb.js → PlayerAccountMenuNd-z4P33Khe.js} +68 -69
  16. package/components/{PlayerAccountModal-0zGW_PaL.js → PlayerAccountModal-BvKEdvD_.js} +1 -1
  17. package/components/{PlayerAccountNotifications-CnakmgwG.js → PlayerAccountNotifications-BFv2Nw_e.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusionNd-D1bSwsQ2.js → PlayerAccountSelfExclusionNd-D0XYPrl9.js} +1488 -1572
  19. package/components/{PlayerAccountTimeout-BrmadDVi.js → PlayerAccountTimeout-rttX6IYz.js} +4 -4
  20. package/components/{PlayerActiveBonuses-DuRJuBww.js → PlayerActiveBonuses-LfCU2WnE.js} +119 -120
  21. package/components/{PlayerBonusCard-Cs7krVbC.js → PlayerBonusCard-CbzYE1Iz.js} +2 -2
  22. package/components/{PlayerBonusHistory-Dw5CWQDm.js → PlayerBonusHistory-D61Y7LPQ.js} +53 -53
  23. package/components/{PlayerChangePassword-BkjAcj4x.js → PlayerChangePassword-CtlTmVcf.js} +1 -1
  24. package/components/{PlayerDeposit-D5fEWazq.js → PlayerDeposit-_rTfbSEr.js} +1 -1
  25. package/components/{PlayerGamingHistory-DaDCBXVi.js → PlayerGamingHistory-szc4XDy6.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals--vyYysmT.js → PlayerPendingWithdrawals-BhEz708_.js} +1 -1
  27. package/components/{PlayerProfileInfo-CjhfS-zh.js → PlayerProfileInfo-BbyV3TvC.js} +532 -549
  28. package/components/{PlayerRealityCheck-BVS-ZwGk.js → PlayerRealityCheck-DMRjX5t_.js} +175 -191
  29. package/components/{PlayerTransactionHistory-Dd5Xk8dK.js → PlayerTransactionHistory-C4ne-FLe.js} +1 -1
  30. package/components/{PlayerWithdrawal-ZUk_jlsP.js → PlayerWithdrawal-Bn5jvB2N.js} +1 -1
  31. package/esnext/player-account-controller-nd.js +14 -0
  32. package/package.json +11 -31
  33. package/stencil/{active-mixin-59dfae2a-CJN1Jc-g.js → active-mixin-59dfae2a-BphP4pp5.js} +745 -776
  34. package/stencil/{checkbox-group-input_9-DQoOMgN8.js → checkbox-group-input_9-CMFoK7_E.js} +1873 -1942
  35. package/stencil/{general-input-bzWxIJkt.js → general-input-DnFPstQP.js} +1 -1
  36. package/stencil/{index-062e829b-DPj_pEuI.js → index-062e829b-DAFsZs6D.js} +220 -236
  37. package/stencil/{password-input_2-Dx1lICIg.js → password-input_2-Bb9Q6Fe0.js} +136 -154
  38. package/stencil/{player-change-password-gm2-98dcb7bc-F9HM0T8d.js → player-change-password-gm2-98dcb7bc-gLcZhl3S.js} +1 -1
  39. package/stencil/player-change-password-gm2-sVfmFhoT.js +7 -0
  40. package/stencil/{toggle-checkbox-input-BCrxxTpc.js → toggle-checkbox-input-CCLW6-uK.js} +1 -1
  41. package/components/GeneralLogout-DfI2_eQe.cjs +0 -8
  42. package/components/PlayerAccountBettingHistory-ldAp8-yN.cjs +0 -1
  43. package/components/PlayerAccountBiometrics-Cft2jzuJ.cjs +0 -1
  44. package/components/PlayerAccountClosureNd-BOdzF3ZS.cjs +0 -1
  45. package/components/PlayerAccountControllerNd-BZinIfCX.cjs +0 -1
  46. package/components/PlayerAccountGamingLimits-EQC_UZag.cjs +0 -1
  47. package/components/PlayerAccountGamingLimitsConfirmationModal-Ciz1fSFW.cjs +0 -1
  48. package/components/PlayerAccountGamingLimitsGroupEdit-CLjUmEQv.cjs +0 -10
  49. package/components/PlayerAccountGamingLimitsHistory2Nd-ieMEHssX.cjs +0 -1
  50. package/components/PlayerAccountGamingLimitsInfoCard-Au2vobro.cjs +0 -1
  51. package/components/PlayerAccountGamingLimitsPage2Gm16Nd-C_v3NfIe.cjs +0 -21
  52. package/components/PlayerAccountGamingLimitsPopup-BtbGIQFb.cjs +0 -1
  53. package/components/PlayerAccountGamingLimitsWrapper2Nd-_Ze6bW4r.cjs +0 -1
  54. package/components/PlayerAccountGeneralConfirmationModal-xMxALug3.cjs +0 -1
  55. package/components/PlayerAccountMenuNd-B8H3so10.cjs +0 -1
  56. package/components/PlayerAccountModal-BitbPM3Z.cjs +0 -1
  57. package/components/PlayerAccountNotifications-DDu6ZWkh.cjs +0 -1
  58. package/components/PlayerAccountSelfExclusionNd-B5wR57a_.cjs +0 -3828
  59. package/components/PlayerAccountTimeout-E-jDJfAE.cjs +0 -1
  60. package/components/PlayerActiveBonuses-BVQwAh2z.cjs +0 -1
  61. package/components/PlayerBonusCard-UTTIEBwb.cjs +0 -1
  62. package/components/PlayerBonusHistory-DDWO5PPl.cjs +0 -1
  63. package/components/PlayerChangePassword-XpKJjnFu.cjs +0 -3
  64. package/components/PlayerDeposit-Do7vb_4b.cjs +0 -1
  65. package/components/PlayerGamingHistory-CJOG_M6n.cjs +0 -1
  66. package/components/PlayerPendingWithdrawals-Bu2MOezw.cjs +0 -1
  67. package/components/PlayerProfileInfo-lMeb2jBi.cjs +0 -1
  68. package/components/PlayerRealityCheck-CA0P_3BC.cjs +0 -1
  69. package/components/PlayerTransactionHistory-CvZcvyBx.cjs +0 -1
  70. package/components/PlayerWithdrawal-DxLwjX7x.cjs +0 -1
  71. package/es2015/player-account-controller-nd.cjs +0 -1
  72. package/es2015/player-account-controller-nd.js +0 -16
  73. package/stencil/active-mixin-59dfae2a-1hMz67mM.cjs +0 -1519
  74. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  75. package/stencil/checkbox-group-input_9-DiXERGqn.cjs +0 -4193
  76. package/stencil/general-input-fzGwoSoE.cjs +0 -1
  77. package/stencil/index-062e829b-CpXLBOEz.cjs +0 -1
  78. package/stencil/index-Dyvby5gX.cjs +0 -1
  79. package/stencil/locale-B5abSHU_.cjs +0 -1
  80. package/stencil/password-input_2-DvDzz75b.cjs +0 -1248
  81. package/stencil/player-change-password-gm2-98dcb7bc-CCEw2GA2.cjs +0 -1
  82. package/stencil/player-change-password-gm2-Cer2RaBb.cjs +0 -1
  83. package/stencil/player-change-password-gm2-Do4_2F3u.js +0 -25
  84. package/stencil/toggle-checkbox-input-BYoIi-jG.cjs +0 -1
  85. package/stencil/tooltipIcon-ee9760a8-Bd9l1O5C.cjs +0 -1
@@ -1,37 +1,9 @@
1
- var Ws = Object.defineProperty, Ks = Object.defineProperties;
2
- var Js = Object.getOwnPropertyDescriptors;
3
- var ei = Object.getOwnPropertySymbols;
4
- var Gs = Object.prototype.hasOwnProperty, Xs = Object.prototype.propertyIsEnumerable;
5
- var ti = (i, e, t) => e in i ? Ws(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, Ve = (i, e) => {
6
- for (var t in e || (e = {}))
7
- Gs.call(e, t) && ti(i, t, e[t]);
8
- if (ei)
9
- for (var t of ei(e))
10
- Xs.call(e, t) && ti(i, t, e[t]);
11
- return i;
12
- }, je = (i, e) => Ks(i, Js(e));
13
- var qe = (i, e, t) => new Promise((n, s) => {
14
- var r = (l) => {
15
- try {
16
- a(t.next(l));
17
- } catch (d) {
18
- s(d);
19
- }
20
- }, o = (l) => {
21
- try {
22
- a(t.throw(l));
23
- } catch (d) {
24
- s(d);
25
- }
26
- }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(r, o);
27
- a((t = t.apply(i, e)).next());
28
- });
29
1
  /**
30
2
  * @license
31
3
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
32
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
33
5
  */
34
- function Xi(i) {
6
+ function Yi(i) {
35
7
  const e = customElements.get(i.is);
36
8
  if (!e)
37
9
  customElements.define(i.is, i);
@@ -47,7 +19,7 @@ function Xi(i) {
47
19
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
48
20
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
49
21
  */
50
- class Zs extends HTMLElement {
22
+ class Bs extends HTMLElement {
51
23
  static get is() {
52
24
  return "vaadin-lumo-styles";
53
25
  }
@@ -55,24 +27,24 @@ class Zs extends HTMLElement {
55
27
  return "24.2.9";
56
28
  }
57
29
  }
58
- Xi(Zs);
30
+ Yi(Bs);
59
31
  /**
60
32
  * @license
61
33
  * Copyright 2019 Google LLC
62
34
  * SPDX-License-Identifier: BSD-3-Clause
63
35
  */
64
- const Ee = window, Mt = Ee.ShadowRoot && (Ee.ShadyCSS === void 0 || Ee.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, kt = Symbol(), ii = /* @__PURE__ */ new WeakMap();
65
- class It {
36
+ const Ee = window, Tt = Ee.ShadowRoot && (Ee.ShadyCSS === void 0 || Ee.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Nt = Symbol(), Xt = /* @__PURE__ */ new WeakMap();
37
+ class Ot {
66
38
  constructor(e, t, n) {
67
- if (this._$cssResult$ = !0, n !== kt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
39
+ if (this._$cssResult$ = !0, n !== Nt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
68
40
  this.cssText = e, this.t = t;
69
41
  }
70
42
  get styleSheet() {
71
43
  let e = this.o;
72
44
  const t = this.t;
73
- if (Mt && e === void 0) {
45
+ if (Tt && e === void 0) {
74
46
  const n = t !== void 0 && t.length === 1;
75
- n && (e = ii.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && ii.set(t, e));
47
+ n && (e = Xt.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Xt.set(t, e));
76
48
  }
77
49
  return e;
78
50
  }
@@ -80,33 +52,33 @@ class It {
80
52
  return this.cssText;
81
53
  }
82
54
  }
83
- const Qs = (i) => new It(typeof i == "string" ? i : i + "", void 0, kt), N = (i, ...e) => {
55
+ const Vs = (i) => new Ot(typeof i == "string" ? i : i + "", void 0, Nt), N = (i, ...e) => {
84
56
  const t = i.length === 1 ? i[0] : e.reduce((n, s, r) => n + ((o) => {
85
57
  if (o._$cssResult$ === !0) return o.cssText;
86
58
  if (typeof o == "number") return o;
87
59
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
88
60
  })(s) + i[r + 1], i[0]);
89
- return new It(t, i, kt);
90
- }, en = (i, e) => {
91
- Mt ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
61
+ return new Ot(t, i, Nt);
62
+ }, js = (i, e) => {
63
+ Tt ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
92
64
  const n = document.createElement("style"), s = Ee.litNonce;
93
65
  s !== void 0 && n.setAttribute("nonce", s), n.textContent = t.cssText, i.appendChild(n);
94
66
  });
95
- }, si = Mt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
67
+ }, Zt = Tt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
96
68
  let t = "";
97
69
  for (const n of e.cssRules) t += n.cssText;
98
- return Qs(t);
70
+ return Vs(t);
99
71
  })(i) : i;
100
72
  /**
101
73
  * @license
102
74
  * Copyright 2017 Google LLC
103
75
  * SPDX-License-Identifier: BSD-3-Clause
104
76
  */
105
- var Ye;
106
- const Se = window, ni = Se.trustedTypes, tn = ni ? ni.emptyScript : "", ri = Se.reactiveElementPolyfillSupport, ft = { toAttribute(i, e) {
77
+ var Ve;
78
+ const Se = window, Qt = Se.trustedTypes, qs = Qt ? Qt.emptyScript : "", ei = Se.reactiveElementPolyfillSupport, ut = { toAttribute(i, e) {
107
79
  switch (e) {
108
80
  case Boolean:
109
- i = i ? tn : null;
81
+ i = i ? qs : null;
110
82
  break;
111
83
  case Object:
112
84
  case Array:
@@ -126,12 +98,12 @@ const Se = window, ni = Se.trustedTypes, tn = ni ? ni.emptyScript : "", ri = Se.
126
98
  case Array:
127
99
  try {
128
100
  t = JSON.parse(i);
129
- } catch (n) {
101
+ } catch {
130
102
  t = null;
131
103
  }
132
104
  }
133
105
  return t;
134
- } }, Zi = (i, e) => e !== i && (e == e || i == i), We = { attribute: !0, type: String, converter: ft, reflect: !1, hasChanged: Zi }, pt = "finalized";
106
+ } }, Wi = (i, e) => e !== i && (e == e || i == i), je = { attribute: !0, type: String, converter: ut, reflect: !1, hasChanged: Wi }, ct = "finalized";
135
107
  class B extends HTMLElement {
136
108
  constructor() {
137
109
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
@@ -148,7 +120,7 @@ class B extends HTMLElement {
148
120
  s !== void 0 && (this._$Ev.set(s, n), e.push(s));
149
121
  }), e;
150
122
  }
151
- static createProperty(e, t = We) {
123
+ static createProperty(e, t = je) {
152
124
  if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
153
125
  const n = typeof e == "symbol" ? Symbol() : "__" + e, s = this.getPropertyDescriptor(e, n, t);
154
126
  s !== void 0 && Object.defineProperty(this.prototype, e, s);
@@ -163,11 +135,11 @@ class B extends HTMLElement {
163
135
  }, configurable: !0, enumerable: !0 };
164
136
  }
165
137
  static getPropertyOptions(e) {
166
- return this.elementProperties.get(e) || We;
138
+ return this.elementProperties.get(e) || je;
167
139
  }
168
140
  static finalize() {
169
- if (this.hasOwnProperty(pt)) return !1;
170
- this[pt] = !0;
141
+ if (this.hasOwnProperty(ct)) return !1;
142
+ this[ct] = !0;
171
143
  const e = Object.getPrototypeOf(this);
172
144
  if (e.finalize(), e.h !== void 0 && (this.h = [...e.h]), this.elementProperties = new Map(e.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
173
145
  const t = this.properties, n = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
@@ -179,8 +151,8 @@ class B extends HTMLElement {
179
151
  const t = [];
180
152
  if (Array.isArray(e)) {
181
153
  const n = new Set(e.flat(1 / 0).reverse());
182
- for (const s of n) t.unshift(si(s));
183
- } else e !== void 0 && t.push(si(e));
154
+ for (const s of n) t.unshift(Zt(s));
155
+ } else e !== void 0 && t.push(Zt(e));
184
156
  return t;
185
157
  }
186
158
  static _$Ep(e, t) {
@@ -207,7 +179,7 @@ class B extends HTMLElement {
207
179
  createRenderRoot() {
208
180
  var e;
209
181
  const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
210
- return en(t, this.constructor.elementStyles), t;
182
+ return js(t, this.constructor.elementStyles), t;
211
183
  }
212
184
  connectedCallback() {
213
185
  var e;
@@ -228,11 +200,11 @@ class B extends HTMLElement {
228
200
  attributeChangedCallback(e, t, n) {
229
201
  this._$AK(e, n);
230
202
  }
231
- _$EO(e, t, n = We) {
203
+ _$EO(e, t, n = je) {
232
204
  var s;
233
205
  const r = this.constructor._$Ep(e, n);
234
206
  if (r !== void 0 && n.reflect === !0) {
235
- const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : ft).toAttribute(t, n.type);
207
+ const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : ut).toAttribute(t, n.type);
236
208
  this._$El = e, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
237
209
  }
238
210
  }
@@ -240,25 +212,23 @@ class B extends HTMLElement {
240
212
  var n;
241
213
  const s = this.constructor, r = s._$Ev.get(e);
242
214
  if (r !== void 0 && this._$El !== r) {
243
- const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : ft;
215
+ const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : ut;
244
216
  this._$El = r, this[r] = a.fromAttribute(t, o.type), this._$El = null;
245
217
  }
246
218
  }
247
219
  requestUpdate(e, t, n) {
248
220
  let s = !0;
249
- e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || Zi)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
221
+ e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || Wi)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
250
222
  }
251
- _$Ej() {
252
- return qe(this, null, function* () {
253
- this.isUpdatePending = !0;
254
- try {
255
- yield this._$E_;
256
- } catch (t) {
257
- Promise.reject(t);
258
- }
259
- const e = this.scheduleUpdate();
260
- return e != null && (yield e), !this.isUpdatePending;
261
- });
223
+ async _$Ej() {
224
+ this.isUpdatePending = !0;
225
+ try {
226
+ await this._$E_;
227
+ } catch (t) {
228
+ Promise.reject(t);
229
+ }
230
+ const e = this.scheduleUpdate();
231
+ return e != null && await e, !this.isUpdatePending;
262
232
  }
263
233
  scheduleUpdate() {
264
234
  return this.performUpdate();
@@ -308,38 +278,38 @@ class B extends HTMLElement {
308
278
  firstUpdated(e) {
309
279
  }
310
280
  }
311
- B[pt] = !0, B.elementProperties = /* @__PURE__ */ new Map(), B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, ri == null || ri({ ReactiveElement: B }), ((Ye = Se.reactiveElementVersions) !== null && Ye !== void 0 ? Ye : Se.reactiveElementVersions = []).push("1.6.3");
281
+ B[ct] = !0, B.elementProperties = /* @__PURE__ */ new Map(), B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, ei?.({ ReactiveElement: B }), ((Ve = Se.reactiveElementVersions) !== null && Ve !== void 0 ? Ve : Se.reactiveElementVersions = []).push("1.6.3");
312
282
  /**
313
283
  * @license
314
284
  * Copyright 2017 Google LLC
315
285
  * SPDX-License-Identifier: BSD-3-Clause
316
286
  */
317
- var Ke;
318
- const Te = window, W = Te.trustedTypes, oi = W ? W.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, _t = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, Qi = "?" + $, sn = `<${Qi}>`, z = document, ae = () => z.createComment(""), le = (i) => i === null || typeof i != "object" && typeof i != "function", es = Array.isArray, nn = (i) => es(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Je = `[
319
- \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ai = /-->/g, li = />/g, O = RegExp(`>|${Je}(?:([^\\s"'>=/]+)(${Je}*=${Je}*(?:[^
320
- \f\r"'\`<>=]|("|')|))|$)`, "g"), di = /'/g, ui = /"/g, ts = /^(?:script|style|textarea|title)$/i, K = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), ci = /* @__PURE__ */ new WeakMap(), k = z.createTreeWalker(z, 129, null, !1);
321
- function is(i, e) {
287
+ var qe;
288
+ const Te = window, W = Te.trustedTypes, ti = W ? W.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, ht = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, Ki = "?" + $, Ys = `<${Ki}>`, z = document, ae = () => z.createComment(""), le = (i) => i === null || typeof i != "object" && typeof i != "function", Ji = Array.isArray, Ws = (i) => Ji(i) || typeof i?.[Symbol.iterator] == "function", Ye = `[
289
+ \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ii = /-->/g, si = />/g, O = RegExp(`>|${Ye}(?:([^\\s"'>=/]+)(${Ye}*=${Ye}*(?:[^
290
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ni = /'/g, ri = /"/g, Gi = /^(?:script|style|textarea|title)$/i, K = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), oi = /* @__PURE__ */ new WeakMap(), k = z.createTreeWalker(z, 129, null, !1);
291
+ function Xi(i, e) {
322
292
  if (!Array.isArray(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
323
- return oi !== void 0 ? oi.createHTML(e) : e;
293
+ return ti !== void 0 ? ti.createHTML(e) : e;
324
294
  }
325
- const rn = (i, e) => {
295
+ const Ks = (i, e) => {
326
296
  const t = i.length - 1, n = [];
327
297
  let s, r = e === 2 ? "<svg>" : "", o = Q;
328
298
  for (let a = 0; a < t; a++) {
329
299
  const l = i[a];
330
300
  let d, u, c = -1, h = 0;
331
- for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === Q ? u[1] === "!--" ? o = ai : u[1] !== void 0 ? o = li : u[2] !== void 0 ? (ts.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = O) : u[3] !== void 0 && (o = O) : o === O ? u[0] === ">" ? (o = s != null ? s : Q, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? O : u[3] === '"' ? ui : di) : o === ui || o === di ? o = O : o === ai || o === li ? o = Q : (o = O, s = void 0);
301
+ for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === Q ? u[1] === "!--" ? o = ii : u[1] !== void 0 ? o = si : u[2] !== void 0 ? (Gi.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = O) : u[3] !== void 0 && (o = O) : o === O ? u[0] === ">" ? (o = s ?? Q, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? O : u[3] === '"' ? ri : ni) : o === ri || o === ni ? o = O : o === ii || o === si ? o = Q : (o = O, s = void 0);
332
302
  const f = o === O && i[a + 1].startsWith("/>") ? " " : "";
333
- r += o === Q ? l + sn : c >= 0 ? (n.push(d), l.slice(0, c) + _t + l.slice(c) + $ + f) : l + $ + (c === -2 ? (n.push(void 0), a) : f);
303
+ r += o === Q ? l + Ys : c >= 0 ? (n.push(d), l.slice(0, c) + ht + l.slice(c) + $ + f) : l + $ + (c === -2 ? (n.push(void 0), a) : f);
334
304
  }
335
- return [is(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
305
+ return [Xi(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
336
306
  };
337
307
  class de {
338
308
  constructor({ strings: e, _$litType$: t }, n) {
339
309
  let s;
340
310
  this.parts = [];
341
311
  let r = 0, o = 0;
342
- const a = e.length - 1, l = this.parts, [d, u] = rn(e, t);
312
+ const a = e.length - 1, l = this.parts, [d, u] = Ks(e, t);
343
313
  if (this.el = de.createElement(d, n), k.currentNode = this.el.content, t === 2) {
344
314
  const c = this.el.content, h = c.firstChild;
345
315
  h.remove(), c.append(...h.childNodes);
@@ -348,16 +318,16 @@ class de {
348
318
  if (s.nodeType === 1) {
349
319
  if (s.hasAttributes()) {
350
320
  const c = [];
351
- for (const h of s.getAttributeNames()) if (h.endsWith(_t) || h.startsWith($)) {
321
+ for (const h of s.getAttributeNames()) if (h.endsWith(ht) || h.startsWith($)) {
352
322
  const f = u[o++];
353
323
  if (c.push(h), f !== void 0) {
354
- const _ = s.getAttribute(f.toLowerCase() + _t).split($), m = /([.?@])?(.*)/.exec(f);
355
- l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? an : m[1] === "?" ? dn : m[1] === "@" ? un : Le });
324
+ const _ = s.getAttribute(f.toLowerCase() + ht).split($), m = /([.?@])?(.*)/.exec(f);
325
+ l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? Gs : m[1] === "?" ? Zs : m[1] === "@" ? Qs : Le });
356
326
  } else l.push({ type: 6, index: r });
357
327
  }
358
328
  for (const h of c) s.removeAttribute(h);
359
329
  }
360
- if (ts.test(s.tagName)) {
330
+ if (Gi.test(s.tagName)) {
361
331
  const c = s.textContent.split($), h = c.length - 1;
362
332
  if (h > 0) {
363
333
  s.textContent = W ? W.emptyScript : "";
@@ -365,7 +335,7 @@ class de {
365
335
  s.append(c[h], ae());
366
336
  }
367
337
  }
368
- } else if (s.nodeType === 8) if (s.data === Qi) l.push({ type: 2, index: r });
338
+ } else if (s.nodeType === 8) if (s.data === Ki) l.push({ type: 2, index: r });
369
339
  else {
370
340
  let c = -1;
371
341
  for (; (c = s.data.indexOf($, c + 1)) !== -1; ) l.push({ type: 7, index: r }), c += $.length - 1;
@@ -383,9 +353,9 @@ function J(i, e, t = i, n) {
383
353
  if (e === K) return e;
384
354
  let l = n !== void 0 ? (s = t._$Co) === null || s === void 0 ? void 0 : s[n] : t._$Cl;
385
355
  const d = le(e) ? void 0 : e._$litDirective$;
386
- return (l == null ? void 0 : l.constructor) !== d && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = J(i, l._$AS(i, e.values), l, n)), e;
356
+ return l?.constructor !== d && ((r = l?._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = J(i, l._$AS(i, e.values), l, n)), e;
387
357
  }
388
- class on {
358
+ class Js {
389
359
  constructor(e, t) {
390
360
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
391
361
  }
@@ -397,15 +367,15 @@ class on {
397
367
  }
398
368
  u(e) {
399
369
  var t;
400
- const { el: { content: n }, parts: s } = this._$AD, r = ((t = e == null ? void 0 : e.creationScope) !== null && t !== void 0 ? t : z).importNode(n, !0);
370
+ const { el: { content: n }, parts: s } = this._$AD, r = ((t = e?.creationScope) !== null && t !== void 0 ? t : z).importNode(n, !0);
401
371
  k.currentNode = r;
402
372
  let o = k.nextNode(), a = 0, l = 0, d = s[0];
403
373
  for (; d !== void 0; ) {
404
374
  if (a === d.index) {
405
375
  let u;
406
- d.type === 2 ? u = new be(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new cn(o, this, e)), this._$AV.push(u), d = s[++l];
376
+ d.type === 2 ? u = new be(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new en(o, this, e)), this._$AV.push(u), d = s[++l];
407
377
  }
408
- a !== (d == null ? void 0 : d.index) && (o = k.nextNode(), a++);
378
+ a !== d?.index && (o = k.nextNode(), a++);
409
379
  }
410
380
  return k.currentNode = z, r;
411
381
  }
@@ -417,7 +387,7 @@ class on {
417
387
  class be {
418
388
  constructor(e, t, n, s) {
419
389
  var r;
420
- this.type = 2, this._$AH = g, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
390
+ this.type = 2, this._$AH = g, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s?.isConnected) === null || r === void 0 || r;
421
391
  }
422
392
  get _$AU() {
423
393
  var e, t;
@@ -426,7 +396,7 @@ class be {
426
396
  get parentNode() {
427
397
  let e = this._$AA.parentNode;
428
398
  const t = this._$AM;
429
- return t !== void 0 && (e == null ? void 0 : e.nodeType) === 11 && (e = t.parentNode), e;
399
+ return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
430
400
  }
431
401
  get startNode() {
432
402
  return this._$AA;
@@ -435,7 +405,7 @@ class be {
435
405
  return this._$AB;
436
406
  }
437
407
  _$AI(e, t = this) {
438
- e = J(this, e, t), le(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : nn(e) ? this.T(e) : this._(e);
408
+ e = J(this, e, t), le(e) ? e === g || e == null || e === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : e !== this._$AH && e !== K && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : Ws(e) ? this.T(e) : this._(e);
439
409
  }
440
410
  k(e) {
441
411
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -448,19 +418,19 @@ class be {
448
418
  }
449
419
  g(e) {
450
420
  var t;
451
- const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = de.createElement(is(s.h, s.h[0]), this.options)), s);
421
+ const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = de.createElement(Xi(s.h, s.h[0]), this.options)), s);
452
422
  if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === r) this._$AH.v(n);
453
423
  else {
454
- const o = new on(r, this), a = o.u(this.options);
424
+ const o = new Js(r, this), a = o.u(this.options);
455
425
  o.v(n), this.$(a), this._$AH = o;
456
426
  }
457
427
  }
458
428
  _$AC(e) {
459
- let t = ci.get(e.strings);
460
- return t === void 0 && ci.set(e.strings, t = new de(e)), t;
429
+ let t = oi.get(e.strings);
430
+ return t === void 0 && oi.set(e.strings, t = new de(e)), t;
461
431
  }
462
432
  T(e) {
463
- es(this._$AH) || (this._$AH = [], this._$AR());
433
+ Ji(this._$AH) || (this._$AH = [], this._$AR());
464
434
  const t = this._$AH;
465
435
  let n, s = 0;
466
436
  for (const r of e) s === t.length ? t.push(n = new be(this.k(ae()), this.k(ae()), this, this.options)) : n = t[s], n._$AI(r), s++;
@@ -495,15 +465,15 @@ class Le {
495
465
  else {
496
466
  const a = e;
497
467
  let l, d;
498
- for (e = r[0], l = 0; l < r.length - 1; l++) d = J(this, a[n + l], t, l), d === K && (d = this._$AH[l]), o || (o = !le(d) || d !== this._$AH[l]), d === g ? e = g : e !== g && (e += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
468
+ for (e = r[0], l = 0; l < r.length - 1; l++) d = J(this, a[n + l], t, l), d === K && (d = this._$AH[l]), o || (o = !le(d) || d !== this._$AH[l]), d === g ? e = g : e !== g && (e += (d ?? "") + r[l + 1]), this._$AH[l] = d;
499
469
  }
500
470
  o && !s && this.j(e);
501
471
  }
502
472
  j(e) {
503
- e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
473
+ e === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
504
474
  }
505
475
  }
506
- class an extends Le {
476
+ class Gs extends Le {
507
477
  constructor() {
508
478
  super(...arguments), this.type = 3;
509
479
  }
@@ -511,16 +481,16 @@ class an extends Le {
511
481
  this.element[this.name] = e === g ? void 0 : e;
512
482
  }
513
483
  }
514
- const ln = W ? W.emptyScript : "";
515
- class dn extends Le {
484
+ const Xs = W ? W.emptyScript : "";
485
+ class Zs extends Le {
516
486
  constructor() {
517
487
  super(...arguments), this.type = 4;
518
488
  }
519
489
  j(e) {
520
- e && e !== g ? this.element.setAttribute(this.name, ln) : this.element.removeAttribute(this.name);
490
+ e && e !== g ? this.element.setAttribute(this.name, Xs) : this.element.removeAttribute(this.name);
521
491
  }
522
492
  }
523
- class un extends Le {
493
+ class Qs extends Le {
524
494
  constructor(e, t, n, s, r) {
525
495
  super(e, t, n, s, r), this.type = 5;
526
496
  }
@@ -535,7 +505,7 @@ class un extends Le {
535
505
  typeof this._$AH == "function" ? this._$AH.call((n = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && n !== void 0 ? n : this.element, e) : this._$AH.handleEvent(e);
536
506
  }
537
507
  }
538
- class cn {
508
+ class en {
539
509
  constructor(e, t, n) {
540
510
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
541
511
  }
@@ -546,15 +516,15 @@ class cn {
546
516
  J(this, e);
547
517
  }
548
518
  }
549
- const hi = Te.litHtmlPolyfillSupport;
550
- hi == null || hi(de, be), ((Ke = Te.litHtmlVersions) !== null && Ke !== void 0 ? Ke : Te.litHtmlVersions = []).push("2.8.0");
551
- const hn = (i, e, t) => {
519
+ const ai = Te.litHtmlPolyfillSupport;
520
+ ai?.(de, be), ((qe = Te.litHtmlVersions) !== null && qe !== void 0 ? qe : Te.litHtmlVersions = []).push("2.8.0");
521
+ const tn = (i, e, t) => {
552
522
  var n, s;
553
- const r = (n = t == null ? void 0 : t.renderBefore) !== null && n !== void 0 ? n : e;
523
+ const r = (n = t?.renderBefore) !== null && n !== void 0 ? n : e;
554
524
  let o = r._$litPart$;
555
525
  if (o === void 0) {
556
- const a = (s = t == null ? void 0 : t.renderBefore) !== null && s !== void 0 ? s : null;
557
- r._$litPart$ = o = new be(e.insertBefore(ae(), a), a, void 0, t != null ? t : {});
526
+ const a = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
527
+ r._$litPart$ = o = new be(e.insertBefore(ae(), a), a, void 0, t ?? {});
558
528
  }
559
529
  return o._$AI(i), o;
560
530
  };
@@ -563,7 +533,7 @@ const hn = (i, e, t) => {
563
533
  * Copyright 2017 Google LLC
564
534
  * SPDX-License-Identifier: BSD-3-Clause
565
535
  */
566
- var Ge, Xe;
536
+ var We, Ke;
567
537
  class Ce extends B {
568
538
  constructor() {
569
539
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -575,7 +545,7 @@ class Ce extends B {
575
545
  }
576
546
  update(e) {
577
547
  const t = this.render();
578
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = hn(t, this.renderRoot, this.renderOptions);
548
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = tn(t, this.renderRoot, this.renderOptions);
579
549
  }
580
550
  connectedCallback() {
581
551
  var e;
@@ -589,16 +559,16 @@ class Ce extends B {
589
559
  return K;
590
560
  }
591
561
  }
592
- Ce.finalized = !0, Ce._$litElement$ = !0, (Ge = globalThis.litElementHydrateSupport) === null || Ge === void 0 || Ge.call(globalThis, { LitElement: Ce });
593
- const fi = globalThis.litElementPolyfillSupport;
594
- fi == null || fi({ LitElement: Ce });
595
- ((Xe = globalThis.litElementVersions) !== null && Xe !== void 0 ? Xe : globalThis.litElementVersions = []).push("3.3.3");
562
+ Ce.finalized = !0, Ce._$litElement$ = !0, (We = globalThis.litElementHydrateSupport) === null || We === void 0 || We.call(globalThis, { LitElement: Ce });
563
+ const li = globalThis.litElementPolyfillSupport;
564
+ li?.({ LitElement: Ce });
565
+ ((Ke = globalThis.litElementVersions) !== null && Ke !== void 0 ? Ke : globalThis.litElementVersions = []).push("3.3.3");
596
566
  /**
597
567
  * @license
598
568
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
599
569
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
600
570
  */
601
- const fn = (i) => class extends i {
571
+ const sn = (i) => class extends i {
602
572
  static get properties() {
603
573
  return {
604
574
  /**
@@ -637,59 +607,60 @@ const fn = (i) => class extends i {
637
607
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
638
608
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
639
609
  */
640
- const ss = [];
641
- function ns(i) {
610
+ const Zi = [];
611
+ function Qi(i) {
642
612
  return i && Object.prototype.hasOwnProperty.call(i, "__themes");
643
613
  }
644
- function pn(i) {
645
- return ns(customElements.get(i));
614
+ function nn(i) {
615
+ return Qi(customElements.get(i));
646
616
  }
647
- function _n(i = []) {
648
- return [i].flat(1 / 0).filter((e) => e instanceof It ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
617
+ function rn(i = []) {
618
+ return [i].flat(1 / 0).filter((e) => e instanceof Ot ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
649
619
  }
650
- function Dt(i, e, t = {}) {
651
- i && pn(i) && console.warn(`The custom element definition for "${i}"
620
+ function Mt(i, e, t = {}) {
621
+ i && nn(i) && console.warn(`The custom element definition for "${i}"
652
622
  was finalized before a style module was registered.
653
623
  Make sure to add component specific style modules before
654
- importing the corresponding custom element.`), e = _n(e), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, e, t) : ss.push({
624
+ importing the corresponding custom element.`), e = rn(e), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(i, e, t) : Zi.push({
655
625
  themeFor: i,
656
626
  styles: e,
657
627
  include: t.include,
658
628
  moduleId: t.moduleId
659
629
  });
660
630
  }
661
- function mt() {
662
- return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ss;
631
+ function ft() {
632
+ return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Zi;
663
633
  }
664
- function mn(i, e) {
634
+ function on(i, e) {
665
635
  return (i || "").split(" ").some((t) => new RegExp(`^${t.split("*").join(".*")}$`, "u").test(e));
666
636
  }
667
- function gn(i = "") {
637
+ function an(i = "") {
668
638
  let e = 0;
669
639
  return i.startsWith("lumo-") || i.startsWith("material-") ? e = 1 : i.startsWith("vaadin-") && (e = 2), e;
670
640
  }
671
- function rs(i) {
641
+ function es(i) {
672
642
  const e = [];
673
643
  return i.include && [].concat(i.include).forEach((t) => {
674
- const n = mt().find((s) => s.moduleId === t);
675
- n ? e.push(...rs(n), ...n.styles) : console.warn(`Included moduleId ${t} not found in style registry`);
644
+ const n = ft().find((s) => s.moduleId === t);
645
+ n ? e.push(...es(n), ...n.styles) : console.warn(`Included moduleId ${t} not found in style registry`);
676
646
  }, i.styles), e;
677
647
  }
678
- function yn(i, e) {
648
+ function ln(i, e) {
679
649
  const t = document.createElement("style");
680
650
  t.innerHTML = i.map((n) => n.cssText).join(`
681
651
  `), e.content.appendChild(t);
682
652
  }
683
- function bn(i) {
684
- const e = `${i}-default-theme`, t = mt().filter((n) => n.moduleId !== e && mn(n.themeFor, i)).map((n) => je(Ve({}, n), {
653
+ function dn(i) {
654
+ const e = `${i}-default-theme`, t = ft().filter((n) => n.moduleId !== e && on(n.themeFor, i)).map((n) => ({
655
+ ...n,
685
656
  // Prepend styles from included themes
686
- styles: [...rs(n), ...n.styles],
657
+ styles: [...es(n), ...n.styles],
687
658
  // Map moduleId to includePriority
688
- includePriority: gn(n.moduleId)
659
+ includePriority: an(n.moduleId)
689
660
  })).sort((n, s) => s.includePriority - n.includePriority);
690
- return t.length > 0 ? t : mt().filter((n) => n.moduleId === e);
661
+ return t.length > 0 ? t : ft().filter((n) => n.moduleId === e);
691
662
  }
692
- const vn = (i) => class extends fn(i) {
663
+ const un = (i) => class extends sn(i) {
693
664
  /**
694
665
  * Covers PolymerElement based component styling
695
666
  * @protected
@@ -698,7 +669,7 @@ const vn = (i) => class extends fn(i) {
698
669
  if (super.finalize(), this.elementStyles)
699
670
  return;
700
671
  const t = this.prototype._template;
701
- !t || ns(this) || yn(this.getStylesForThis(), t);
672
+ !t || Qi(this) || ln(this.getStylesForThis(), t);
702
673
  }
703
674
  /**
704
675
  * Covers LitElement based component styling
@@ -716,7 +687,7 @@ const vn = (i) => class extends fn(i) {
716
687
  */
717
688
  static getStylesForThis() {
718
689
  const t = Object.getPrototypeOf(this.prototype), n = (t ? t.constructor.__themes : []) || [];
719
- this.__themes = [...n, ...bn(this.is)];
690
+ this.__themes = [...n, ...dn(this.is)];
720
691
  const s = this.__themes.flatMap((r) => r.styles);
721
692
  return s.filter((r, o) => o === s.lastIndexOf(r));
722
693
  }
@@ -726,19 +697,19 @@ const vn = (i) => class extends fn(i) {
726
697
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
727
698
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
728
699
  */
729
- const wn = (i, ...e) => {
700
+ const cn = (i, ...e) => {
730
701
  const t = document.createElement("style");
731
702
  t.id = i, t.textContent = e.map((n) => n.toString()).join(`
732
703
  `).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", t);
733
704
  }, Re = (i, ...e) => {
734
- wn(`lumo-${i}`, e);
705
+ cn(`lumo-${i}`, e);
735
706
  };
736
707
  /**
737
708
  * @license
738
709
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
739
710
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
740
711
  */
741
- const An = N`
712
+ const hn = N`
742
713
  :host {
743
714
  /* Base (background) */
744
715
  --lumo-base-color: #fff;
@@ -824,8 +795,8 @@ const An = N`
824
795
  }
825
796
  }
826
797
  `;
827
- Re("color-props", An);
828
- const En = N`
798
+ Re("color-props", hn);
799
+ const fn = N`
829
800
  [theme~='dark'] {
830
801
  /* Base (background) */
831
802
  --lumo-base-color: hsl(214, 35%, 21%);
@@ -941,13 +912,13 @@ const En = N`
941
912
  border-radius: var(--lumo-border-radius-m);
942
913
  }
943
914
  `;
944
- Dt("", En, { moduleId: "lumo-color" });
915
+ Mt("", fn, { moduleId: "lumo-color" });
945
916
  /**
946
917
  * @license
947
918
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
948
919
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
949
920
  */
950
- const Cn = N`
921
+ const pn = N`
951
922
  :host {
952
923
  --lumo-size-xs: 1.625rem;
953
924
  --lumo-size-s: 1.875rem;
@@ -963,13 +934,13 @@ const Cn = N`
963
934
  --lumo-icon-size: var(--lumo-icon-size-m);
964
935
  }
965
936
  `;
966
- Re("sizing-props", Cn);
937
+ Re("sizing-props", pn);
967
938
  /**
968
939
  * @license
969
940
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
970
941
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
971
942
  */
972
- const xn = N`
943
+ const _n = N`
973
944
  :host {
974
945
  /* Border radius */
975
946
  --lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
@@ -994,13 +965,13 @@ N`
994
965
  --vaadin-input-field-border-radius: var(--lumo-border-radius-m);
995
966
  }
996
967
  `;
997
- Re("style-props", xn);
968
+ Re("style-props", _n);
998
969
  /**
999
970
  * @license
1000
971
  * Copyright (c) 2017 - 2023 Vaadin Ltd.
1001
972
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1002
973
  */
1003
- const Pn = N`
974
+ const mn = N`
1004
975
  :host {
1005
976
  /* prettier-ignore */
1006
977
  --lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
@@ -1020,7 +991,7 @@ const Pn = N`
1020
991
  --lumo-line-height-s: 1.375;
1021
992
  --lumo-line-height-m: 1.625;
1022
993
  }
1023
- `, $n = N`
994
+ `, gn = N`
1024
995
  body,
1025
996
  :host {
1026
997
  font-family: var(--lumo-font-family);
@@ -1113,9 +1084,9 @@ const Pn = N`
1113
1084
  border-right: 2px solid var(--lumo-contrast-30pct);
1114
1085
  }
1115
1086
  `;
1116
- Dt("", $n, { moduleId: "lumo-typography" });
1117
- Re("typography-props", Pn);
1118
- Dt(
1087
+ Mt("", gn, { moduleId: "lumo-typography" });
1088
+ Re("typography-props", mn);
1089
+ Mt(
1119
1090
  "vaadin-input-container",
1120
1091
  N`
1121
1092
  :host {
@@ -1308,32 +1279,32 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1308
1279
  Code distributed by Google as part of the polymer project is also
1309
1280
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1310
1281
  */
1311
- let Sn = /(url\()([^)]*)(\))/g, Tn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, we, E;
1282
+ let yn = /(url\()([^)]*)(\))/g, bn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, we, E;
1312
1283
  function oe(i, e) {
1313
- if (i && Tn.test(i) || i === "//")
1284
+ if (i && bn.test(i) || i === "//")
1314
1285
  return i;
1315
1286
  if (we === void 0) {
1316
1287
  we = !1;
1317
1288
  try {
1318
1289
  const t = new URL("b", "http://a");
1319
1290
  t.pathname = "c%20d", we = t.href === "http://a/c%20d";
1320
- } catch (t) {
1291
+ } catch {
1321
1292
  }
1322
1293
  }
1323
1294
  if (e || (e = document.baseURI || window.location.href), we)
1324
1295
  try {
1325
1296
  return new URL(i, e).href;
1326
- } catch (t) {
1297
+ } catch {
1327
1298
  return i;
1328
1299
  }
1329
1300
  return E || (E = document.implementation.createHTMLDocument("temp"), E.base = E.createElement("base"), E.head.appendChild(E.base), E.anchor = E.createElement("a"), E.body.appendChild(E.anchor)), E.base.href = e, E.anchor.href = i, E.anchor.href || i;
1330
1301
  }
1331
- function Lt(i, e) {
1332
- return i.replace(Sn, function(t, n, s, r) {
1302
+ function kt(i, e) {
1303
+ return i.replace(yn, function(t, n, s, r) {
1333
1304
  return n + "'" + oe(s.replace(/["']/g, ""), e) + "'" + r;
1334
1305
  });
1335
1306
  }
1336
- function Rt(i) {
1307
+ function It(i) {
1337
1308
  return i.substring(0, i.lastIndexOf("/") + 1);
1338
1309
  }
1339
1310
  /**
@@ -1345,18 +1316,18 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1345
1316
  Code distributed by Google as part of the polymer project is also
1346
1317
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1347
1318
  */
1348
- const Nn = !window.ShadyDOM || !window.ShadyDOM.inUse, On = Nn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
1319
+ const vn = !window.ShadyDOM || !window.ShadyDOM.inUse, wn = vn && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
1349
1320
  (() => {
1350
1321
  try {
1351
1322
  const i = new CSSStyleSheet();
1352
1323
  i.replaceSync("");
1353
1324
  const e = document.createElement("div");
1354
1325
  return e.attachShadow({ mode: "open" }), e.shadowRoot.adoptedStyleSheets = [i], e.shadowRoot.adoptedStyleSheets[0] === i;
1355
- } catch (i) {
1326
+ } catch {
1356
1327
  return !1;
1357
1328
  }
1358
1329
  })();
1359
- let Mn = window.Polymer && window.Polymer.rootPath || Rt(document.baseURI || window.location.href), Ne = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, gt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, kn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, In = window.Polymer && window.Polymer.legacyOptimizations || !1, Dn = window.Polymer && window.Polymer.legacyWarnings || !1, Ln = window.Polymer && window.Polymer.syncInitialRender || !1, yt = window.Polymer && window.Polymer.legacyUndefined || !1, Rn = window.Polymer && window.Polymer.orderedComputed || !1, pi = window.Polymer && window.Polymer.removeNestedTemplates || !1, zn = window.Polymer && window.Polymer.fastDomIf || !1, ka = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, Hn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
1330
+ let An = window.Polymer && window.Polymer.rootPath || It(document.baseURI || window.location.href), Ne = window.Polymer && window.Polymer.sanitizeDOMValue || void 0, pt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, En = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Cn = window.Polymer && window.Polymer.legacyOptimizations || !1, xn = window.Polymer && window.Polymer.legacyWarnings || !1, Pn = window.Polymer && window.Polymer.syncInitialRender || !1, _t = window.Polymer && window.Polymer.legacyUndefined || !1, $n = window.Polymer && window.Polymer.orderedComputed || !1, di = window.Polymer && window.Polymer.removeNestedTemplates || !1, Sn = window.Polymer && window.Polymer.fastDomIf || !1, Aa = window.Polymer && window.Polymer.suppressTemplateNotifications || !1, Tn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
1360
1331
  /**
1361
1332
  @license
1362
1333
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1366,14 +1337,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1366
1337
  Code distributed by Google as part of the polymer project is also
1367
1338
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1368
1339
  */
1369
- let Un = 0;
1340
+ let Nn = 0;
1370
1341
  const b = function(i) {
1371
1342
  let e = (
1372
1343
  /** @type {!MixinFunction} */
1373
1344
  i.__mixinApplications
1374
1345
  );
1375
1346
  e || (e = /* @__PURE__ */ new WeakMap(), i.__mixinApplications = e);
1376
- let t = Un++;
1347
+ let t = Nn++;
1377
1348
  function n(s) {
1378
1349
  let r = (
1379
1350
  /** @type {!MixinFunction} */
@@ -1404,14 +1375,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1404
1375
  Code distributed by Google as part of the polymer project is also
1405
1376
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1406
1377
  */
1407
- let zt = {}, os = {};
1408
- function _i(i, e) {
1409
- zt[i] = os[i.toLowerCase()] = e;
1378
+ let Dt = {}, ts = {};
1379
+ function ui(i, e) {
1380
+ Dt[i] = ts[i.toLowerCase()] = e;
1410
1381
  }
1411
- function mi(i) {
1412
- return zt[i] || os[i.toLowerCase()];
1382
+ function ci(i) {
1383
+ return Dt[i] || ts[i.toLowerCase()];
1413
1384
  }
1414
- function Fn(i) {
1385
+ function On(i) {
1415
1386
  i.querySelector("style") && console.warn("dom-module %s has style outside template", i.id);
1416
1387
  }
1417
1388
  class ue extends HTMLElement {
@@ -1432,7 +1403,7 @@ class ue extends HTMLElement {
1432
1403
  */
1433
1404
  static import(e, t) {
1434
1405
  if (e) {
1435
- let n = mi(e);
1406
+ let n = ci(e);
1436
1407
  return n && t ? n.querySelector(t) : n;
1437
1408
  }
1438
1409
  return null;
@@ -1467,7 +1438,7 @@ class ue extends HTMLElement {
1467
1438
  this.getAttribute("assetpath") || "",
1468
1439
  e.baseURI
1469
1440
  );
1470
- this.__assetpath = Rt(t);
1441
+ this.__assetpath = It(t);
1471
1442
  }
1472
1443
  return this.__assetpath;
1473
1444
  }
@@ -1480,13 +1451,13 @@ class ue extends HTMLElement {
1480
1451
  */
1481
1452
  register(e) {
1482
1453
  if (e = e || this.id, e) {
1483
- if (gt && mi(e) !== void 0)
1484
- throw _i(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
1485
- this.id = e, _i(e, this), Fn(this);
1454
+ if (pt && ci(e) !== void 0)
1455
+ throw ui(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
1456
+ this.id = e, ui(e, this), On(this);
1486
1457
  }
1487
1458
  }
1488
1459
  }
1489
- ue.prototype.modules = zt;
1460
+ ue.prototype.modules = Dt;
1490
1461
  customElements.define("dom-module", ue);
1491
1462
  /**
1492
1463
  @license
@@ -1497,39 +1468,39 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1497
1468
  Code distributed by Google as part of the polymer project is also
1498
1469
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1499
1470
  */
1500
- const Bn = "link[rel=import][type~=css]", Vn = "include", gi = "shady-unscoped";
1501
- function as(i) {
1471
+ const Mn = "link[rel=import][type~=css]", kn = "include", hi = "shady-unscoped";
1472
+ function is(i) {
1502
1473
  return (
1503
1474
  /** @type {?DomModule} */
1504
1475
  ue.import(i)
1505
1476
  );
1506
1477
  }
1507
- function yi(i) {
1478
+ function fi(i) {
1508
1479
  let e = i.body ? i.body : i;
1509
- const t = Lt(
1480
+ const t = kt(
1510
1481
  e.textContent,
1511
1482
  i.baseURI
1512
1483
  ), n = document.createElement("style");
1513
1484
  return n.textContent = t, n;
1514
1485
  }
1515
- function jn(i) {
1486
+ function In(i) {
1516
1487
  const e = i.trim().split(/\s+/), t = [];
1517
1488
  for (let n = 0; n < e.length; n++)
1518
- t.push(...qn(e[n]));
1489
+ t.push(...Dn(e[n]));
1519
1490
  return t;
1520
1491
  }
1521
- function qn(i) {
1522
- const e = as(i);
1492
+ function Dn(i) {
1493
+ const e = is(i);
1523
1494
  if (!e)
1524
1495
  return console.warn("Could not find style data in module named", i), [];
1525
1496
  if (e._styles === void 0) {
1526
1497
  const t = [];
1527
- t.push(...ds(e));
1498
+ t.push(...ns(e));
1528
1499
  const n = (
1529
1500
  /** @type {?HTMLTemplateElement} */
1530
1501
  e.querySelector("template")
1531
1502
  );
1532
- n && t.push(...ls(
1503
+ n && t.push(...ss(
1533
1504
  n,
1534
1505
  /** @type {templateWithAssetPath} */
1535
1506
  e.assetpath
@@ -1537,14 +1508,14 @@ function qn(i) {
1537
1508
  }
1538
1509
  return e._styles;
1539
1510
  }
1540
- function ls(i, e) {
1511
+ function ss(i, e) {
1541
1512
  if (!i._styles) {
1542
1513
  const t = [], n = i.content.querySelectorAll("style");
1543
1514
  for (let s = 0; s < n.length; s++) {
1544
- let r = n[s], o = r.getAttribute(Vn);
1545
- o && t.push(...jn(o).filter(function(a, l, d) {
1515
+ let r = n[s], o = r.getAttribute(kn);
1516
+ o && t.push(...In(o).filter(function(a, l, d) {
1546
1517
  return d.indexOf(a) === l;
1547
- })), e && (r.textContent = Lt(
1518
+ })), e && (r.textContent = kt(
1548
1519
  r.textContent,
1549
1520
  /** @type {string} */
1550
1521
  e
@@ -1554,20 +1525,20 @@ function ls(i, e) {
1554
1525
  }
1555
1526
  return i._styles;
1556
1527
  }
1557
- function Yn(i) {
1558
- let e = as(i);
1559
- return e ? ds(e) : [];
1528
+ function Ln(i) {
1529
+ let e = is(i);
1530
+ return e ? ns(e) : [];
1560
1531
  }
1561
- function ds(i) {
1562
- const e = [], t = i.querySelectorAll(Bn);
1532
+ function ns(i) {
1533
+ const e = [], t = i.querySelectorAll(Mn);
1563
1534
  for (let n = 0; n < t.length; n++) {
1564
1535
  let s = t[n];
1565
1536
  if (s.import) {
1566
- const r = s.import, o = s.hasAttribute(gi);
1537
+ const r = s.import, o = s.hasAttribute(hi);
1567
1538
  if (o && !r._unscopedStyle) {
1568
- const a = yi(r);
1569
- a.setAttribute(gi, ""), r._unscopedStyle = a;
1570
- } else r._style || (r._style = yi(r));
1539
+ const a = fi(r);
1540
+ a.setAttribute(hi, ""), r._unscopedStyle = a;
1541
+ } else r._style || (r._style = fi(r));
1571
1542
  e.push(o ? r._unscopedStyle : r._style);
1572
1543
  }
1573
1544
  }
@@ -1592,14 +1563,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1592
1563
  Code distributed by Google as part of the polymer project is also
1593
1564
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1594
1565
  */
1595
- function bt(i) {
1566
+ function mt(i) {
1596
1567
  return i.indexOf(".") >= 0;
1597
1568
  }
1598
1569
  function U(i) {
1599
1570
  let e = i.indexOf(".");
1600
1571
  return e === -1 ? i : i.slice(0, e);
1601
1572
  }
1602
- function us(i, e) {
1573
+ function rs(i, e) {
1603
1574
  return i.indexOf(e + ".") === 0;
1604
1575
  }
1605
1576
  function ce(i, e) {
@@ -1608,8 +1579,8 @@ function ce(i, e) {
1608
1579
  function Oe(i, e, t) {
1609
1580
  return e + t.slice(i.length);
1610
1581
  }
1611
- function Ia(i, e) {
1612
- return i === e || us(i, e) || ce(i, e);
1582
+ function Ea(i, e) {
1583
+ return i === e || rs(i, e) || ce(i, e);
1613
1584
  }
1614
1585
  function ne(i) {
1615
1586
  if (Array.isArray(i)) {
@@ -1623,11 +1594,11 @@ function ne(i) {
1623
1594
  } else
1624
1595
  return i;
1625
1596
  }
1626
- function cs(i) {
1597
+ function os(i) {
1627
1598
  return Array.isArray(i) ? ne(i).split(".") : i.toString().split(".");
1628
1599
  }
1629
1600
  function v(i, e, t) {
1630
- let n = i, s = cs(e);
1601
+ let n = i, s = os(e);
1631
1602
  for (let r = 0; r < s.length; r++) {
1632
1603
  if (!n)
1633
1604
  return;
@@ -1636,8 +1607,8 @@ function v(i, e, t) {
1636
1607
  }
1637
1608
  return t && (t.path = s.join(".")), n;
1638
1609
  }
1639
- function bi(i, e, t) {
1640
- let n = i, s = cs(e), r = s[s.length - 1];
1610
+ function pi(i, e, t) {
1611
+ let n = i, s = os(e), r = s[s.length - 1];
1641
1612
  if (s.length > 1) {
1642
1613
  for (let o = 0; o < s.length - 1; o++) {
1643
1614
  let a = s[o];
@@ -1658,15 +1629,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1658
1629
  Code distributed by Google as part of the polymer project is also
1659
1630
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1660
1631
  */
1661
- const Me = {}, Wn = /-[a-z]/g, Kn = /([A-Z])/g;
1662
- function hs(i) {
1632
+ const Me = {}, Rn = /-[a-z]/g, zn = /([A-Z])/g;
1633
+ function as(i) {
1663
1634
  return Me[i] || (Me[i] = i.indexOf("-") < 0 ? i : i.replace(
1664
- Wn,
1635
+ Rn,
1665
1636
  (e) => e[1].toUpperCase()
1666
1637
  ));
1667
1638
  }
1668
1639
  function ze(i) {
1669
- return Me[i] || (Me[i] = i.replace(Kn, "-$1").toLowerCase());
1640
+ return Me[i] || (Me[i] = i.replace(zn, "-$1").toLowerCase());
1670
1641
  }
1671
1642
  /**
1672
1643
  @license
@@ -1677,10 +1648,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1677
1648
  Code distributed by Google as part of the polymer project is also
1678
1649
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1679
1650
  */
1680
- let Jn = 0, fs = 0, j = [], Gn = 0, vt = !1, ps = document.createTextNode("");
1681
- new window.MutationObserver(Xn).observe(ps, { characterData: !0 });
1682
- function Xn() {
1683
- vt = !1;
1651
+ let Hn = 0, ls = 0, j = [], Un = 0, gt = !1, ds = document.createTextNode("");
1652
+ new window.MutationObserver(Fn).observe(ds, { characterData: !0 });
1653
+ function Fn() {
1654
+ gt = !1;
1684
1655
  const i = j.length;
1685
1656
  for (let e = 0; e < i; e++) {
1686
1657
  let t = j[e];
@@ -1693,9 +1664,9 @@ function Xn() {
1693
1664
  });
1694
1665
  }
1695
1666
  }
1696
- j.splice(0, i), fs += i;
1667
+ j.splice(0, i), ls += i;
1697
1668
  }
1698
- const Da = {
1669
+ const Ca = {
1699
1670
  /**
1700
1671
  * Returns a sub-module with the async interface providing the provided
1701
1672
  * delay.
@@ -1735,7 +1706,7 @@ const Da = {
1735
1706
  cancel(i) {
1736
1707
  window.clearTimeout(i);
1737
1708
  }
1738
- }, Zn = {
1709
+ }, Bn = {
1739
1710
  /**
1740
1711
  * Enqueues a function called at microtask timing.
1741
1712
  *
@@ -1744,7 +1715,7 @@ const Da = {
1744
1715
  * @return {number} Handle used for canceling task
1745
1716
  */
1746
1717
  run(i) {
1747
- return vt || (vt = !0, ps.textContent = Gn++), j.push(i), Jn++;
1718
+ return gt || (gt = !0, ds.textContent = Un++), j.push(i), Hn++;
1748
1719
  },
1749
1720
  /**
1750
1721
  * Cancels a previously enqueued `microTask` callback.
@@ -1754,7 +1725,7 @@ const Da = {
1754
1725
  * @return {void}
1755
1726
  */
1756
1727
  cancel(i) {
1757
- const e = i - fs;
1728
+ const e = i - ls;
1758
1729
  if (e >= 0) {
1759
1730
  if (!j[e])
1760
1731
  throw new Error("invalid async handle: " + i);
@@ -1771,7 +1742,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
1771
1742
  Code distributed by Google as part of the polymer project is also
1772
1743
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1773
1744
  */
1774
- const Qn = Zn, _s = b(
1745
+ const Vn = Bn, us = b(
1775
1746
  /**
1776
1747
  * @template T
1777
1748
  * @param {function(new:T)} superClass Class to apply mixin to.
@@ -1980,7 +1951,7 @@ const Qn = Zn, _s = b(
1980
1951
  * @override
1981
1952
  */
1982
1953
  _invalidateProperties() {
1983
- !this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Qn.run(() => {
1954
+ !this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Vn.run(() => {
1984
1955
  this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
1985
1956
  }));
1986
1957
  }
@@ -2168,7 +2139,7 @@ const Qn = Zn, _s = b(
2168
2139
  case "boolean":
2169
2140
  return n ? "" : void 0;
2170
2141
  default:
2171
- return n != null ? n.toString() : void 0;
2142
+ return n?.toString();
2172
2143
  }
2173
2144
  }
2174
2145
  /**
@@ -2207,23 +2178,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2207
2178
  Code distributed by Google as part of the polymer project is also
2208
2179
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2209
2180
  */
2210
- const ms = {};
2181
+ const cs = {};
2211
2182
  let Ae = HTMLElement.prototype;
2212
2183
  for (; Ae; ) {
2213
2184
  let i = Object.getOwnPropertyNames(Ae);
2214
2185
  for (let e = 0; e < i.length; e++)
2215
- ms[i[e]] = !0;
2186
+ cs[i[e]] = !0;
2216
2187
  Ae = Object.getPrototypeOf(Ae);
2217
2188
  }
2218
- const er = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
2219
- function tr(i, e) {
2220
- if (!ms[e]) {
2189
+ const jn = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
2190
+ function qn(i, e) {
2191
+ if (!cs[e]) {
2221
2192
  let t = i[e];
2222
2193
  t !== void 0 && (i.__data ? i._setPendingProperty(e, t) : (i.__dataProto ? i.hasOwnProperty(JSCompiler_renameProperty("__dataProto", i)) || (i.__dataProto = Object.create(i.__dataProto)) : i.__dataProto = {}, i.__dataProto[e] = t));
2223
2194
  }
2224
2195
  }
2225
- const ir = b((i) => {
2226
- const e = _s(i);
2196
+ const Yn = b((i) => {
2197
+ const e = us(i);
2227
2198
  class t extends e {
2228
2199
  /**
2229
2200
  * Generates property accessors for all attributes in the standard
@@ -2241,7 +2212,7 @@ const ir = b((i) => {
2241
2212
  this.observedAttributes
2242
2213
  );
2243
2214
  for (let r = 0; r < s.length; r++)
2244
- this.prototype._createPropertyAccessor(hs(s[r]));
2215
+ this.prototype._createPropertyAccessor(as(s[r]));
2245
2216
  }
2246
2217
  /**
2247
2218
  * Returns an attribute name that corresponds to the given property.
@@ -2318,14 +2289,14 @@ const ir = b((i) => {
2318
2289
  if (s instanceof Date)
2319
2290
  return s.toString();
2320
2291
  if (s) {
2321
- if (er(s))
2292
+ if (jn(s))
2322
2293
  return (
2323
2294
  /** @type {?} */
2324
2295
  s
2325
2296
  );
2326
2297
  try {
2327
2298
  return JSON.stringify(s);
2328
- } catch (r) {
2299
+ } catch {
2329
2300
  return "";
2330
2301
  }
2331
2302
  }
@@ -2358,7 +2329,7 @@ const ir = b((i) => {
2358
2329
  /** @type {string} */
2359
2330
  s
2360
2331
  );
2361
- } catch (a) {
2332
+ } catch {
2362
2333
  o = s;
2363
2334
  }
2364
2335
  break;
@@ -2368,7 +2339,7 @@ const ir = b((i) => {
2368
2339
  /** @type {string} */
2369
2340
  s
2370
2341
  );
2371
- } catch (a) {
2342
+ } catch {
2372
2343
  o = null, console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`);
2373
2344
  }
2374
2345
  break;
@@ -2399,7 +2370,7 @@ const ir = b((i) => {
2399
2370
  * @override
2400
2371
  */
2401
2372
  _definePropertyAccessor(s, r) {
2402
- tr(this, s), super._definePropertyAccessor(s, r);
2373
+ qn(this, s), super._definePropertyAccessor(s, r);
2403
2374
  }
2404
2375
  /**
2405
2376
  * Returns true if this library created an accessor for the given property.
@@ -2434,23 +2405,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
2434
2405
  Code distributed by Google as part of the polymer project is also
2435
2406
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2436
2407
  */
2437
- const sr = {
2408
+ const Wn = {
2438
2409
  "dom-if": !0,
2439
2410
  "dom-repeat": !0
2440
2411
  };
2441
- let vi = !1, wi = !1;
2442
- function nr() {
2443
- if (!vi) {
2444
- vi = !0;
2412
+ let _i = !1, mi = !1;
2413
+ function Kn() {
2414
+ if (!_i) {
2415
+ _i = !0;
2445
2416
  const i = document.createElement("textarea");
2446
- i.placeholder = "a", wi = i.placeholder === i.textContent;
2417
+ i.placeholder = "a", mi = i.placeholder === i.textContent;
2447
2418
  }
2448
- return wi;
2419
+ return mi;
2449
2420
  }
2450
- function rr(i) {
2451
- nr() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
2421
+ function Jn(i) {
2422
+ Kn() && i.localName === "textarea" && i.placeholder && i.placeholder === i.textContent && (i.textContent = null);
2452
2423
  }
2453
- const or = (() => {
2424
+ const Gn = (() => {
2454
2425
  const i = window.trustedTypes && window.trustedTypes.createPolicy(
2455
2426
  "polymer-template-event-attribute-policy",
2456
2427
  {
@@ -2469,19 +2440,19 @@ const or = (() => {
2469
2440
  e.setAttribute(n, s);
2470
2441
  };
2471
2442
  })();
2472
- function ar(i) {
2443
+ function Xn(i) {
2473
2444
  let e = i.getAttribute("is");
2474
- if (e && sr[e]) {
2445
+ if (e && Wn[e]) {
2475
2446
  let t = i;
2476
2447
  for (t.removeAttribute("is"), i = t.ownerDocument.createElement(e), t.parentNode.replaceChild(i, t), i.appendChild(t); t.attributes.length; ) {
2477
2448
  const { name: n } = t.attributes[0];
2478
- or(i, t, n), t.removeAttribute(n);
2449
+ Gn(i, t, n), t.removeAttribute(n);
2479
2450
  }
2480
2451
  }
2481
2452
  return i;
2482
2453
  }
2483
- function gs(i, e) {
2484
- let t = e.parentInfo && gs(i, e.parentInfo);
2454
+ function hs(i, e) {
2455
+ let t = e.parentInfo && hs(i, e.parentInfo);
2485
2456
  if (t) {
2486
2457
  for (let n = t.firstChild, s = 0; n; n = n.nextSibling)
2487
2458
  if (e.parentIndex === s++)
@@ -2489,23 +2460,23 @@ function gs(i, e) {
2489
2460
  } else
2490
2461
  return i;
2491
2462
  }
2492
- function lr(i, e, t, n) {
2463
+ function Zn(i, e, t, n) {
2493
2464
  n.id && (e[n.id] = t);
2494
2465
  }
2495
- function dr(i, e, t) {
2466
+ function Qn(i, e, t) {
2496
2467
  if (t.events && t.events.length)
2497
2468
  for (let n = 0, s = t.events, r; n < s.length && (r = s[n]); n++)
2498
2469
  i._addMethodEventListenerToNode(e, r.name, r.value, i);
2499
2470
  }
2500
- function ur(i, e, t, n) {
2471
+ function er(i, e, t, n) {
2501
2472
  t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = n);
2502
2473
  }
2503
- function cr(i, e, t) {
2474
+ function tr(i, e, t) {
2504
2475
  return i = i._methodHost || i, function(s) {
2505
2476
  i[t] ? i[t](s, s.detail) : console.warn("listener method `" + t + "` not defined");
2506
2477
  };
2507
2478
  }
2508
- const hr = b(
2479
+ const ir = b(
2509
2480
  /**
2510
2481
  * @template T
2511
2482
  * @param {function(new:T)} superClass Class to apply mixin to.
@@ -2632,7 +2603,7 @@ const hr = b(
2632
2603
  /** @type {!HTMLTemplateElement} */
2633
2604
  n
2634
2605
  );
2635
- return a.localName == "template" && !a.hasAttribute("preserve-content") ? o = this._parseTemplateNestedTemplate(a, s, r) || o : a.localName === "slot" && (s.hasInsertionPoint = !0), rr(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (o = this._parseTemplateNodeAttributes(a, s, r) || o), o || r.noted;
2606
+ return a.localName == "template" && !a.hasAttribute("preserve-content") ? o = this._parseTemplateNestedTemplate(a, s, r) || o : a.localName === "slot" && (s.hasInsertionPoint = !0), Jn(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (o = this._parseTemplateNodeAttributes(a, s, r) || o), o || r.noted;
2636
2607
  }
2637
2608
  /**
2638
2609
  * Parses template child nodes for the given root node.
@@ -2650,7 +2621,7 @@ const hr = b(
2650
2621
  static _parseTemplateChildNodes(n, s, r) {
2651
2622
  if (!(n.localName === "script" || n.localName === "style"))
2652
2623
  for (let o = n.firstChild, a = 0, l; o; o = l) {
2653
- if (o.localName == "template" && (o = ar(o)), l = o.nextSibling, o.nodeType === Node.TEXT_NODE) {
2624
+ if (o.localName == "template" && (o = Xn(o)), l = o.nextSibling, o.nodeType === Node.TEXT_NODE) {
2654
2625
  let u = l;
2655
2626
  for (; u && u.nodeType === Node.TEXT_NODE; )
2656
2627
  o.textContent += u.textContent, l = u.nextSibling, n.removeChild(u), u = l;
@@ -2785,8 +2756,8 @@ const hr = b(
2785
2756
  let l = a.nodeList = new Array(r.length);
2786
2757
  a.$ = {};
2787
2758
  for (let d = 0, u = r.length, c; d < u && (c = r[d]); d++) {
2788
- let h = l[d] = gs(a, c);
2789
- lr(this, a.$, h, c), ur(this, h, c, s), dr(this, h, c);
2759
+ let h = l[d] = hs(a, c);
2760
+ Zn(this, a.$, h, c), er(this, h, c, s), Qn(this, h, c);
2790
2761
  }
2791
2762
  return a = /** @type {!StampedTemplate} */
2792
2763
  a, a;
@@ -2807,7 +2778,7 @@ const hr = b(
2807
2778
  */
2808
2779
  _addMethodEventListenerToNode(n, s, r, o) {
2809
2780
  o = o || n;
2810
- let a = cr(o, s, r);
2781
+ let a = tr(o, s, r);
2811
2782
  return this._addEventListenerToNode(n, s, a), a;
2812
2783
  }
2813
2784
  /**
@@ -2857,8 +2828,8 @@ const fe = [], p = {
2857
2828
  PROPAGATE: "__propagateEffects",
2858
2829
  OBSERVE: "__observeEffects",
2859
2830
  READ_ONLY: "__readOnly"
2860
- }, ys = "__computeInfo", fr = /[A-Z]/;
2861
- function Ze(i, e, t) {
2831
+ }, fs = "__computeInfo", sr = /[A-Z]/;
2832
+ function Je(i, e, t) {
2862
2833
  let n = i[e];
2863
2834
  if (!n)
2864
2835
  n = i[e] = {};
@@ -2878,49 +2849,49 @@ function re(i, e, t, n, s, r) {
2878
2849
  let d = s ? U(l) : l, u = e[d];
2879
2850
  if (u)
2880
2851
  for (let c = 0, h = u.length, f; c < h && (f = u[c]); c++)
2881
- (!f.info || f.info.lastRun !== a) && (!s || Ht(l, f.trigger)) && (f.info && (f.info.lastRun = a), f.fn(i, l, t, n, f.info, s, r), o = !0);
2852
+ (!f.info || f.info.lastRun !== a) && (!s || Lt(l, f.trigger)) && (f.info && (f.info.lastRun = a), f.fn(i, l, t, n, f.info, s, r), o = !0);
2882
2853
  }
2883
2854
  return o;
2884
2855
  }
2885
2856
  return !1;
2886
2857
  }
2887
- function pr(i, e, t, n, s, r, o, a) {
2858
+ function nr(i, e, t, n, s, r, o, a) {
2888
2859
  let l = !1, d = o ? U(n) : n, u = e[d];
2889
2860
  if (u)
2890
2861
  for (let c = 0, h = u.length, f; c < h && (f = u[c]); c++)
2891
- (!f.info || f.info.lastRun !== t) && (!o || Ht(n, f.trigger)) && (f.info && (f.info.lastRun = t), f.fn(i, n, s, r, f.info, o, a), l = !0);
2862
+ (!f.info || f.info.lastRun !== t) && (!o || Lt(n, f.trigger)) && (f.info && (f.info.lastRun = t), f.fn(i, n, s, r, f.info, o, a), l = !0);
2892
2863
  return l;
2893
2864
  }
2894
- function Ht(i, e) {
2865
+ function Lt(i, e) {
2895
2866
  if (e) {
2896
2867
  let t = (
2897
2868
  /** @type {string} */
2898
2869
  e.name
2899
2870
  );
2900
- return t == i || !!(e.structured && us(t, i)) || !!(e.wildcard && ce(t, i));
2871
+ return t == i || !!(e.structured && rs(t, i)) || !!(e.wildcard && ce(t, i));
2901
2872
  } else
2902
2873
  return !0;
2903
2874
  }
2904
- function Ai(i, e, t, n, s) {
2875
+ function gi(i, e, t, n, s) {
2905
2876
  let r = typeof s.method == "string" ? i[s.method] : s.method, o = s.property;
2906
2877
  r ? r.call(i, i.__data[o], n[o]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
2907
2878
  }
2908
- function _r(i, e, t, n, s) {
2879
+ function rr(i, e, t, n, s) {
2909
2880
  let r = i[p.NOTIFY], o, a = he++;
2910
2881
  for (let d in e)
2911
- e[d] && (r && pr(i, r, a, d, t, n, s) || s && mr(i, d, t)) && (o = !0);
2882
+ e[d] && (r && nr(i, r, a, d, t, n, s) || s && or(i, d, t)) && (o = !0);
2912
2883
  let l;
2913
2884
  o && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
2914
2885
  }
2915
- function mr(i, e, t) {
2886
+ function or(i, e, t) {
2916
2887
  let n = U(e);
2917
2888
  if (n !== e) {
2918
2889
  let s = ze(n) + "-changed";
2919
- return bs(i, s, t[e], e), !0;
2890
+ return ps(i, s, t[e], e), !0;
2920
2891
  }
2921
2892
  return !1;
2922
2893
  }
2923
- function bs(i, e, t, n) {
2894
+ function ps(i, e, t, n) {
2924
2895
  let s = {
2925
2896
  value: t,
2926
2897
  queueProperty: !0
@@ -2930,18 +2901,18 @@ function bs(i, e, t, n) {
2930
2901
  i
2931
2902
  ).dispatchEvent(new CustomEvent(e, { detail: s }));
2932
2903
  }
2933
- function gr(i, e, t, n, s, r) {
2904
+ function ar(i, e, t, n, s, r) {
2934
2905
  let a = (r ? U(e) : e) != e ? e : null, l = a ? v(i, a) : i.__data[e];
2935
- a && l === void 0 && (l = t[e]), bs(i, s.eventName, l, a);
2906
+ a && l === void 0 && (l = t[e]), ps(i, s.eventName, l, a);
2936
2907
  }
2937
- function yr(i, e, t, n, s) {
2908
+ function lr(i, e, t, n, s) {
2938
2909
  let r, o = (
2939
2910
  /** @type {Object} */
2940
2911
  i.detail
2941
2912
  ), a = o && o.path;
2942
2913
  a ? (n = Oe(t, n, a), r = o && o.value) : r = i.currentTarget[t], r = s ? !r : r, (!e[p.READ_ONLY] || !e[p.READ_ONLY][n]) && e._setPendingPropertyOrPath(n, r, !0, !!a) && (!o || !o.queueProperty) && e._invalidateProperties();
2943
2914
  }
2944
- function br(i, e, t, n, s) {
2915
+ function dr(i, e, t, n, s) {
2945
2916
  let r = i.__data[e];
2946
2917
  Ne && (r = Ne(
2947
2918
  r,
@@ -2951,17 +2922,17 @@ function br(i, e, t, n, s) {
2951
2922
  i
2952
2923
  )), i._propertyToAttribute(e, s.attrName, r);
2953
2924
  }
2954
- function vr(i, e, t, n) {
2925
+ function ur(i, e, t, n) {
2955
2926
  let s = i[p.COMPUTE];
2956
2927
  if (s)
2957
- if (Rn) {
2928
+ if ($n) {
2958
2929
  he++;
2959
- const r = Ar(i), o = [];
2930
+ const r = hr(i), o = [];
2960
2931
  for (let l in e)
2961
- Ei(l, s, o, r, n);
2932
+ yi(l, s, o, r, n);
2962
2933
  let a;
2963
2934
  for (; a = o.shift(); )
2964
- vs(i, "", e, t, a) && Ei(a.methodInfo, s, o, r, n);
2935
+ _s(i, "", e, t, a) && yi(a.methodInfo, s, o, r, n);
2965
2936
  Object.assign(
2966
2937
  /** @type {!Object} */
2967
2938
  t,
@@ -2985,7 +2956,7 @@ function vr(i, e, t, n) {
2985
2956
  ), r = i.__dataPending, i.__dataPending = null;
2986
2957
  }
2987
2958
  }
2988
- const wr = (i, e, t) => {
2959
+ const cr = (i, e, t) => {
2989
2960
  let n = 0, s = e.length - 1, r = -1;
2990
2961
  for (; n <= s; ) {
2991
2962
  const o = n + s >> 1, a = t.get(e[o].methodInfo) - t.get(i.methodInfo);
@@ -2999,20 +2970,20 @@ const wr = (i, e, t) => {
2999
2970
  }
3000
2971
  }
3001
2972
  r < 0 && (r = s + 1), e.splice(r, 0, i);
3002
- }, Ei = (i, e, t, n, s) => {
2973
+ }, yi = (i, e, t, n, s) => {
3003
2974
  const r = s ? U(i) : i, o = e[r];
3004
2975
  if (o)
3005
2976
  for (let a = 0; a < o.length; a++) {
3006
2977
  const l = o[a];
3007
- l.info.lastRun !== he && (!s || Ht(i, l.trigger)) && (l.info.lastRun = he, wr(l.info, t, n));
2978
+ l.info.lastRun !== he && (!s || Lt(i, l.trigger)) && (l.info.lastRun = he, cr(l.info, t, n));
3008
2979
  }
3009
2980
  };
3010
- function Ar(i) {
2981
+ function hr(i) {
3011
2982
  let e = i.constructor.__orderedComputedDeps;
3012
2983
  if (!e) {
3013
2984
  e = /* @__PURE__ */ new Map();
3014
2985
  const t = i[p.COMPUTE];
3015
- let { counts: n, ready: s, total: r } = Er(i), o;
2986
+ let { counts: n, ready: s, total: r } = fr(i), o;
3016
2987
  for (; o = s.shift(); ) {
3017
2988
  e.set(o, e.size);
3018
2989
  const a = t[o];
@@ -3026,8 +2997,8 @@ function Ar(i) {
3026
2997
  }
3027
2998
  return e;
3028
2999
  }
3029
- function Er(i) {
3030
- const e = i[ys], t = {}, n = i[p.COMPUTE], s = [];
3000
+ function fr(i) {
3001
+ const e = i[fs], t = {}, n = i[p.COMPUTE], s = [];
3031
3002
  let r = 0;
3032
3003
  for (let o in e) {
3033
3004
  const a = e[o];
@@ -3037,14 +3008,14 @@ function Er(i) {
3037
3008
  e[o] || s.push(o);
3038
3009
  return { counts: t, ready: s, total: r };
3039
3010
  }
3040
- function vs(i, e, t, n, s) {
3041
- let r = wt(i, e, t, n, s);
3011
+ function _s(i, e, t, n, s) {
3012
+ let r = yt(i, e, t, n, s);
3042
3013
  if (r === fe)
3043
3014
  return !1;
3044
3015
  let o = s.methodInfo;
3045
3016
  return i.__dataHasAccessor && i.__dataHasAccessor[o] ? i._setPendingProperty(o, r, !0) : (i[o] = r, !1);
3046
3017
  }
3047
- function Cr(i, e, t) {
3018
+ function pr(i, e, t) {
3048
3019
  let n = i.__dataLinkedPaths;
3049
3020
  if (n) {
3050
3021
  let s;
@@ -3054,20 +3025,20 @@ function Cr(i, e, t) {
3054
3025
  }
3055
3026
  }
3056
3027
  }
3057
- function Qe(i, e, t, n, s, r, o) {
3028
+ function Ge(i, e, t, n, s, r, o) {
3058
3029
  t.bindings = t.bindings || [];
3059
3030
  let a = { kind: n, target: s, parts: r, literal: o, isCompound: r.length !== 1 };
3060
- if (t.bindings.push(a), Tr(a)) {
3031
+ if (t.bindings.push(a), br(a)) {
3061
3032
  let { event: d, negate: u } = a.parts[0];
3062
3033
  a.listenerEvent = d || ze(s) + "-changed", a.listenerNegate = u;
3063
3034
  }
3064
3035
  let l = e.nodeInfoList.length;
3065
3036
  for (let d = 0; d < a.parts.length; d++) {
3066
3037
  let u = a.parts[d];
3067
- u.compoundIndex = d, xr(i, e, a, u, l);
3038
+ u.compoundIndex = d, _r(i, e, a, u, l);
3068
3039
  }
3069
3040
  }
3070
- function xr(i, e, t, n, s) {
3041
+ function _r(i, e, t, n, s) {
3071
3042
  if (!n.literal)
3072
3043
  if (t.kind === "attribute" && t.target[0] === "-")
3073
3044
  console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
@@ -3075,26 +3046,26 @@ function xr(i, e, t, n, s) {
3075
3046
  let r = n.dependencies, o = { index: s, binding: t, part: n, evaluator: i };
3076
3047
  for (let a = 0; a < r.length; a++) {
3077
3048
  let l = r[a];
3078
- typeof l == "string" && (l = As(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, {
3079
- fn: Pr,
3049
+ typeof l == "string" && (l = gs(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, {
3050
+ fn: mr,
3080
3051
  info: o,
3081
3052
  trigger: l
3082
3053
  });
3083
3054
  }
3084
3055
  }
3085
3056
  }
3086
- function Pr(i, e, t, n, s, r, o) {
3057
+ function mr(i, e, t, n, s, r, o) {
3087
3058
  let a = o[s.index], l = s.binding, d = s.part;
3088
3059
  if (r && d.source && e.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
3089
3060
  let u = t[e];
3090
3061
  e = Oe(d.source, l.target, e), a._setPendingPropertyOrPath(e, u, !1, !0) && i._enqueueClient(a);
3091
3062
  } else {
3092
3063
  let u = s.evaluator._evaluateBinding(i, d, e, t, n, r);
3093
- u !== fe && $r(i, a, l, d, u);
3064
+ u !== fe && gr(i, a, l, d, u);
3094
3065
  }
3095
3066
  }
3096
- function $r(i, e, t, n, s) {
3097
- if (s = Sr(e, s, t, n), Ne && (s = Ne(s, t.target, t.kind, e)), t.kind == "attribute")
3067
+ function gr(i, e, t, n, s) {
3068
+ if (s = yr(e, s, t, n), Ne && (s = Ne(s, t.target, t.kind, e)), t.kind == "attribute")
3098
3069
  i._valueToNodeAttribute(
3099
3070
  /** @type {Element} */
3100
3071
  e,
@@ -3106,17 +3077,17 @@ function $r(i, e, t, n, s) {
3106
3077
  e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[r] ? (!e[p.READ_ONLY] || !e[p.READ_ONLY][r]) && e._setPendingProperty(r, s) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, r, s);
3107
3078
  }
3108
3079
  }
3109
- function Sr(i, e, t, n) {
3080
+ function yr(i, e, t, n) {
3110
3081
  if (t.isCompound) {
3111
3082
  let s = i.__dataCompoundStorage[t.target];
3112
3083
  s[n.compoundIndex] = e, e = s.join("");
3113
3084
  }
3114
- return t.kind !== "attribute" && (t.target === "textContent" || t.target === "value" && (i.localName === "input" || i.localName === "textarea")) && (e = e == null ? "" : e), e;
3085
+ return t.kind !== "attribute" && (t.target === "textContent" || t.target === "value" && (i.localName === "input" || i.localName === "textarea")) && (e = e ?? ""), e;
3115
3086
  }
3116
- function Tr(i) {
3087
+ function br(i) {
3117
3088
  return !!i.target && i.kind != "attribute" && i.kind != "text" && !i.isCompound && i.parts[0].mode === "{";
3118
3089
  }
3119
- function Nr(i, e) {
3090
+ function vr(i, e) {
3120
3091
  let { nodeList: t, nodeInfoList: n } = e;
3121
3092
  if (n.length)
3122
3093
  for (let s = 0; s < n.length; s++) {
@@ -3124,12 +3095,12 @@ function Nr(i, e) {
3124
3095
  if (a)
3125
3096
  for (let l = 0; l < a.length; l++) {
3126
3097
  let d = a[l];
3127
- Or(o, d), Mr(o, i, d);
3098
+ wr(o, d), Ar(o, i, d);
3128
3099
  }
3129
3100
  o.__dataHost = i;
3130
3101
  }
3131
3102
  }
3132
- function Or(i, e) {
3103
+ function wr(i, e) {
3133
3104
  if (e.isCompound) {
3134
3105
  let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), n = e.parts, s = new Array(n.length);
3135
3106
  for (let o = 0; o < n.length; o++)
@@ -3138,15 +3109,15 @@ function Or(i, e) {
3138
3109
  t[r] = s, e.literal && e.kind == "property" && (r === "className" && (i = L(i)), i[r] = e.literal);
3139
3110
  }
3140
3111
  }
3141
- function Mr(i, e, t) {
3112
+ function Ar(i, e, t) {
3142
3113
  if (t.listenerEvent) {
3143
3114
  let n = t.parts[0];
3144
3115
  i.addEventListener(t.listenerEvent, function(s) {
3145
- yr(s, e, t.target, n.source, n.negate);
3116
+ lr(s, e, t.target, n.source, n.negate);
3146
3117
  });
3147
3118
  }
3148
3119
  }
3149
- function Ci(i, e, t, n, s, r) {
3120
+ function bi(i, e, t, n, s, r) {
3150
3121
  r = e.static || r && (typeof r != "object" || r[e.methodName]);
3151
3122
  let o = {
3152
3123
  methodName: e.methodName,
@@ -3165,15 +3136,15 @@ function Ci(i, e, t, n, s, r) {
3165
3136
  info: o
3166
3137
  }), o;
3167
3138
  }
3168
- function wt(i, e, t, n, s) {
3139
+ function yt(i, e, t, n, s) {
3169
3140
  let r = i._methodHost || i, o = r[s.methodName];
3170
3141
  if (o) {
3171
3142
  let a = i._marshalArgs(s.args, e, t);
3172
3143
  return a === fe ? fe : o.apply(r, a);
3173
3144
  } else s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
3174
3145
  }
3175
- const kr = [], ws = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ir = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Dr = "(?:'(?:[^'\\\\]|\\\\.)*')", Lr = '(?:"(?:[^"\\\\]|\\\\.)*")', Rr = "(?:" + Dr + "|" + Lr + ")", xi = "(?:(" + ws + "|" + Ir + "|" + Rr + ")\\s*)", zr = "(?:" + xi + "(?:,\\s*" + xi + ")*)", Hr = "(?:\\(\\s*(?:" + zr + "?)\\)\\s*)", Ur = "(" + ws + "\\s*" + Hr + "?)", Fr = "(\\[\\[|{{)\\s*", Br = "(?:]]|}})", Vr = "(?:(!)\\s*)?", jr = Fr + Vr + Ur + Br, Pi = new RegExp(jr, "g");
3176
- function $i(i) {
3146
+ const Er = [], ms = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Cr = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", xr = "(?:'(?:[^'\\\\]|\\\\.)*')", Pr = '(?:"(?:[^"\\\\]|\\\\.)*")', $r = "(?:" + xr + "|" + Pr + ")", vi = "(?:(" + ms + "|" + Cr + "|" + $r + ")\\s*)", Sr = "(?:" + vi + "(?:,\\s*" + vi + ")*)", Tr = "(?:\\(\\s*(?:" + Sr + "?)\\)\\s*)", Nr = "(" + ms + "\\s*" + Tr + "?)", Or = "(\\[\\[|{{)\\s*", Mr = "(?:]]|}})", kr = "(?:(!)\\s*)?", Ir = Or + kr + Nr + Mr, wi = new RegExp(Ir, "g");
3147
+ function Ai(i) {
3177
3148
  let e = "";
3178
3149
  for (let t = 0; t < i.length; t++) {
3179
3150
  let n = i[t].literal;
@@ -3181,25 +3152,25 @@ function $i(i) {
3181
3152
  }
3182
3153
  return e;
3183
3154
  }
3184
- function et(i) {
3155
+ function Xe(i) {
3185
3156
  let e = i.match(/([^\s]+?)\(([\s\S]*)\)/);
3186
3157
  if (e) {
3187
- let n = { methodName: e[1], static: !0, args: kr };
3158
+ let n = { methodName: e[1], static: !0, args: Er };
3188
3159
  if (e[2].trim()) {
3189
3160
  let s = e[2].replace(/\\,/g, "&comma;").split(",");
3190
- return qr(s, n);
3161
+ return Dr(s, n);
3191
3162
  } else
3192
3163
  return n;
3193
3164
  }
3194
3165
  return null;
3195
3166
  }
3196
- function qr(i, e) {
3167
+ function Dr(i, e) {
3197
3168
  return e.args = i.map(function(t) {
3198
- let n = As(t);
3169
+ let n = gs(t);
3199
3170
  return n.literal || (e.static = !1), n;
3200
3171
  }, this), e;
3201
3172
  }
3202
- function As(i) {
3173
+ function gs(i) {
3203
3174
  let e = i.trim().replace(/&comma;/g, ",").replace(/\\(.)/g, "$1"), t = {
3204
3175
  name: e,
3205
3176
  value: "",
@@ -3214,18 +3185,18 @@ function As(i) {
3214
3185
  t.value = Number(e), t.literal = !0;
3215
3186
  break;
3216
3187
  }
3217
- return t.literal || (t.rootProperty = U(e), t.structured = bt(e), t.structured && (t.wildcard = e.slice(-2) == ".*", t.wildcard && (t.name = e.slice(0, -2)))), t;
3188
+ return t.literal || (t.rootProperty = U(e), t.structured = mt(e), t.structured && (t.wildcard = e.slice(-2) == ".*", t.wildcard && (t.name = e.slice(0, -2)))), t;
3218
3189
  }
3219
- function Si(i, e, t) {
3190
+ function Ei(i, e, t) {
3220
3191
  let n = v(i, t);
3221
3192
  return n === void 0 && (n = e[t]), n;
3222
3193
  }
3223
- function Es(i, e, t, n) {
3194
+ function ys(i, e, t, n) {
3224
3195
  const s = { indexSplices: n };
3225
- yt && !i._overrideLegacyUndefined && (e.splices = s), i.notifyPath(t + ".splices", s), i.notifyPath(t + ".length", e.length), yt && !i._overrideLegacyUndefined && (s.indexSplices = []);
3196
+ _t && !i._overrideLegacyUndefined && (e.splices = s), i.notifyPath(t + ".splices", s), i.notifyPath(t + ".length", e.length), _t && !i._overrideLegacyUndefined && (s.indexSplices = []);
3226
3197
  }
3227
3198
  function ee(i, e, t, n, s, r) {
3228
- Es(i, e, t, [{
3199
+ ys(i, e, t, [{
3229
3200
  index: n,
3230
3201
  addedCount: s,
3231
3202
  removed: r,
@@ -3233,11 +3204,11 @@ function ee(i, e, t, n, s, r) {
3233
3204
  type: "splice"
3234
3205
  }]);
3235
3206
  }
3236
- function Yr(i) {
3207
+ function Lr(i) {
3237
3208
  return i[0].toUpperCase() + i.substring(1);
3238
3209
  }
3239
- const Wr = b((i) => {
3240
- const e = hr(ir(i));
3210
+ const Rr = b((i) => {
3211
+ const e = ir(Yn(i));
3241
3212
  class t extends e {
3242
3213
  constructor() {
3243
3214
  super(), this.__isPropertyEffectsClient = !0;
@@ -3298,7 +3269,7 @@ const Wr = b((i) => {
3298
3269
  */
3299
3270
  _addPropertyEffect(s, r, o) {
3300
3271
  this._createPropertyAccessor(s, r == p.READ_ONLY);
3301
- let a = Ze(this, r, !0)[s];
3272
+ let a = Je(this, r, !0)[s];
3302
3273
  a || (a = this[r][s] = []), a.push(o);
3303
3274
  }
3304
3275
  /**
@@ -3311,7 +3282,7 @@ const Wr = b((i) => {
3311
3282
  * @return {void}
3312
3283
  */
3313
3284
  _removePropertyEffect(s, r, o) {
3314
- let a = Ze(this, r, !0)[s], l = a.indexOf(o);
3285
+ let a = Je(this, r, !0)[s], l = a.indexOf(o);
3315
3286
  l >= 0 && a.splice(l, 1);
3316
3287
  }
3317
3288
  /**
@@ -3416,7 +3387,7 @@ const Wr = b((i) => {
3416
3387
  if (!a) {
3417
3388
  let l = v(this, s);
3418
3389
  if (s = /** @type {string} */
3419
- bi(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
3390
+ pi(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
3420
3391
  return !1;
3421
3392
  }
3422
3393
  if (this.__dataHasPaths = !0, this._setPendingProperty(
@@ -3425,7 +3396,7 @@ const Wr = b((i) => {
3425
3396
  r,
3426
3397
  o
3427
3398
  ))
3428
- return Cr(
3399
+ return pr(
3429
3400
  this,
3430
3401
  /**@type{string}*/
3431
3402
  s,
@@ -3505,7 +3476,7 @@ const Wr = b((i) => {
3505
3476
  * @return {boolean} Returns true if the property changed
3506
3477
  */
3507
3478
  _setPendingProperty(s, r, o) {
3508
- let a = this.__dataHasPaths && bt(s), l = a ? this.__dataTemp : this.__data;
3479
+ let a = this.__dataHasPaths && mt(s), l = a ? this.__dataTemp : this.__data;
3509
3480
  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] = o), !0) : !1;
3510
3481
  }
3511
3482
  /**
@@ -3641,7 +3612,7 @@ const Wr = b((i) => {
3641
3612
  let a = this.__dataHasPaths;
3642
3613
  this.__dataHasPaths = !1;
3643
3614
  let l;
3644
- vr(this, r, o, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, o, a), this._flushClients(), re(this, this[p.REFLECT], r, o, a), re(this, this[p.OBSERVE], r, o, a), l && _r(this, l, r, o, a), this.__dataCounter == 1 && (this.__dataTemp = {});
3615
+ ur(this, r, o, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, o, a), this._flushClients(), re(this, this[p.REFLECT], r, o, a), re(this, this[p.OBSERVE], r, o, a), l && rr(this, l, r, o, a), this.__dataCounter == 1 && (this.__dataTemp = {});
3645
3616
  }
3646
3617
  /**
3647
3618
  * Called to propagate any property changes to stamped template nodes
@@ -3738,7 +3709,7 @@ const Wr = b((i) => {
3738
3709
  /** @type {Array} */
3739
3710
  v(this, s, o)
3740
3711
  );
3741
- Es(this, a, o.path, r);
3712
+ ys(this, a, o.path, r);
3742
3713
  }
3743
3714
  /**
3744
3715
  * Convenience method for reading a value from a path.
@@ -3786,7 +3757,7 @@ const Wr = b((i) => {
3786
3757
  * @public
3787
3758
  */
3788
3759
  set(s, r, o) {
3789
- o ? bi(o, s, r) : (!this[p.READ_ONLY] || !this[p.READ_ONLY][
3760
+ o ? pi(o, s, r) : (!this[p.READ_ONLY] || !this[p.READ_ONLY][
3790
3761
  /** @type {string} */
3791
3762
  s
3792
3763
  ]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
@@ -3940,7 +3911,7 @@ const Wr = b((i) => {
3940
3911
  * @protected
3941
3912
  */
3942
3913
  _createReadOnlyProperty(s, r) {
3943
- this._addPropertyEffect(s, p.READ_ONLY), r && (this["_set" + Yr(s)] = /** @this {PropertyEffects} */
3914
+ this._addPropertyEffect(s, p.READ_ONLY), r && (this["_set" + Lr(s)] = /** @this {PropertyEffects} */
3944
3915
  function(o) {
3945
3916
  this._setProperty(s, o);
3946
3917
  });
@@ -3962,7 +3933,7 @@ const Wr = b((i) => {
3962
3933
  _createPropertyObserver(s, r, o) {
3963
3934
  let a = { property: s, method: r, dynamicFn: !!o };
3964
3935
  this._addPropertyEffect(s, p.OBSERVE, {
3965
- fn: Ai,
3936
+ fn: gi,
3966
3937
  info: a,
3967
3938
  trigger: { name: s }
3968
3939
  }), o && this._addPropertyEffect(
@@ -3970,7 +3941,7 @@ const Wr = b((i) => {
3970
3941
  r,
3971
3942
  p.OBSERVE,
3972
3943
  {
3973
- fn: Ai,
3944
+ fn: gi,
3974
3945
  info: a,
3975
3946
  trigger: { name: r }
3976
3947
  }
@@ -3989,10 +3960,10 @@ const Wr = b((i) => {
3989
3960
  * @protected
3990
3961
  */
3991
3962
  _createMethodObserver(s, r) {
3992
- let o = et(s);
3963
+ let o = Xe(s);
3993
3964
  if (!o)
3994
3965
  throw new Error("Malformed observer expression '" + s + "'");
3995
- Ci(this, o, p.OBSERVE, wt, null, r);
3966
+ bi(this, o, p.OBSERVE, yt, null, r);
3996
3967
  }
3997
3968
  /**
3998
3969
  * Equivalent to static `createNotifyingProperty` API but can be called on
@@ -4006,7 +3977,7 @@ const Wr = b((i) => {
4006
3977
  */
4007
3978
  _createNotifyingProperty(s) {
4008
3979
  this._addPropertyEffect(s, p.NOTIFY, {
4009
- fn: gr,
3980
+ fn: ar,
4010
3981
  info: {
4011
3982
  eventName: ze(s) + "-changed",
4012
3983
  property: s
@@ -4027,7 +3998,7 @@ const Wr = b((i) => {
4027
3998
  _createReflectedProperty(s) {
4028
3999
  let r = this.constructor.attributeNameForProperty(s);
4029
4000
  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, {
4030
- fn: br,
4001
+ fn: dr,
4031
4002
  info: {
4032
4003
  attrName: r
4033
4004
  }
@@ -4047,11 +4018,11 @@ const Wr = b((i) => {
4047
4018
  * @protected
4048
4019
  */
4049
4020
  _createComputedProperty(s, r, o) {
4050
- let a = et(r);
4021
+ let a = Xe(r);
4051
4022
  if (!a)
4052
4023
  throw new Error("Malformed computed expression '" + r + "'");
4053
- const l = Ci(this, a, p.COMPUTE, vs, s, o);
4054
- Ze(this, ys)[s] = l;
4024
+ const l = bi(this, a, p.COMPUTE, _s, s, o);
4025
+ Je(this, fs)[s] = l;
4055
4026
  }
4056
4027
  /**
4057
4028
  * Gather the argument values for a method specified in the provided array
@@ -4072,15 +4043,15 @@ const Wr = b((i) => {
4072
4043
  let { name: c, structured: h, wildcard: f, value: _, literal: m } = s[d];
4073
4044
  if (!m)
4074
4045
  if (f) {
4075
- const C = ce(c, r), w = Si(a, o, C ? r : c);
4046
+ const C = ce(c, r), w = Ei(a, o, C ? r : c);
4076
4047
  _ = {
4077
4048
  path: C ? r : c,
4078
4049
  value: w,
4079
4050
  base: C ? v(a, c) : w
4080
4051
  };
4081
4052
  } else
4082
- _ = h ? Si(a, o, c) : a[c];
4083
- if (yt && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
4053
+ _ = h ? Ei(a, o, c) : a[c];
4054
+ if (_t && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
4084
4055
  return fe;
4085
4056
  l[d] = _;
4086
4057
  }
@@ -4362,7 +4333,7 @@ const Wr = b((i) => {
4362
4333
  for (let l = o.firstChild; l; l = l.nextSibling)
4363
4334
  a.push(l);
4364
4335
  }
4365
- return o.templateInfo = r, Nr(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), o;
4336
+ return o.templateInfo = r, vr(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), o;
4366
4337
  }
4367
4338
  /**
4368
4339
  * Removes and unbinds the nodes previously contained in the provided
@@ -4409,7 +4380,7 @@ const Wr = b((i) => {
4409
4380
  );
4410
4381
  if (s.nodeType === Node.TEXT_NODE) {
4411
4382
  let l = this._parseBindings(s.textContent, r);
4412
- l && (s.textContent = $i(l) || " ", Qe(this, r, o, "text", "textContent", l), a = !0);
4383
+ l && (s.textContent = Ai(l) || " ", Ge(this, r, o, "text", "textContent", l), a = !0);
4413
4384
  }
4414
4385
  return a;
4415
4386
  }
@@ -4436,9 +4407,9 @@ const Wr = b((i) => {
4436
4407
  let d = this._parseBindings(l, r);
4437
4408
  if (d) {
4438
4409
  let u = a, c = "property";
4439
- fr.test(a) ? c = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), c = "attribute");
4440
- let h = $i(d);
4441
- return h && c == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a = hs(a)), Qe(this, r, o, c, a, d, h), !0;
4410
+ sr.test(a) ? c = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), c = "attribute");
4411
+ let h = Ai(d);
4412
+ return h && c == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), c == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), c === "property" && (a = as(a)), Ge(this, r, o, c, a, d, h), !0;
4442
4413
  } else
4443
4414
  return e._parseTemplateNodeAttribute.call(
4444
4415
  this,
@@ -4471,15 +4442,15 @@ const Wr = b((i) => {
4471
4442
  o
4472
4443
  );
4473
4444
  const l = s.parentNode, d = o.templateInfo, u = l.localName === "dom-if", c = l.localName === "dom-repeat";
4474
- pi && (u || c) && (l.removeChild(s), o = o.parentInfo, o.templateInfo = d, o.noted = !0, a = !1);
4445
+ di && (u || c) && (l.removeChild(s), o = o.parentInfo, o.templateInfo = d, o.noted = !0, a = !1);
4475
4446
  let h = d.hostProps;
4476
- if (zn && u)
4477
- h && (r.hostProps = Object.assign(r.hostProps || {}, h), pi || (o.parentInfo.noted = !0));
4447
+ if (Sn && u)
4448
+ h && (r.hostProps = Object.assign(r.hostProps || {}, h), di || (o.parentInfo.noted = !0));
4478
4449
  else {
4479
4450
  let f = "{";
4480
4451
  for (let _ in h) {
4481
4452
  let m = [{ mode: f, source: _, dependencies: [_], hostProp: !0 }];
4482
- Qe(this, r, o, "property", "_host_" + _, m);
4453
+ Ge(this, r, o, "property", "_host_" + _, m);
4483
4454
  }
4484
4455
  }
4485
4456
  return a;
@@ -4531,16 +4502,16 @@ const Wr = b((i) => {
4531
4502
  */
4532
4503
  static _parseBindings(s, r) {
4533
4504
  let o = [], a = 0, l;
4534
- for (; (l = Pi.exec(s)) !== null; ) {
4505
+ for (; (l = wi.exec(s)) !== null; ) {
4535
4506
  l.index > a && o.push({ literal: s.slice(a, l.index) });
4536
4507
  let d = l[1][0], u = !!l[2], c = l[3].trim(), h = !1, f = "", _ = -1;
4537
4508
  d == "{" && (_ = c.indexOf("::")) > 0 && (f = c.substring(_ + 2), c = c.substring(0, _), h = !0);
4538
- let m = et(c), C = [];
4509
+ let m = Xe(c), C = [];
4539
4510
  if (m) {
4540
4511
  let { args: w, methodName: A } = m;
4541
4512
  for (let Be = 0; Be < w.length; Be++) {
4542
- let Qt = w[Be];
4543
- Qt.literal || C.push(Qt);
4513
+ let Gt = w[Be];
4514
+ Gt.literal || C.push(Gt);
4544
4515
  }
4545
4516
  let F = r.dynamicFns;
4546
4517
  (F && F[A] || m.static) && (C.push(A), m.dynamicFn = !0);
@@ -4554,7 +4525,7 @@ const Wr = b((i) => {
4554
4525
  signature: m,
4555
4526
  dependencies: C,
4556
4527
  event: f
4557
- }), a = Pi.lastIndex;
4528
+ }), a = wi.lastIndex;
4558
4529
  }
4559
4530
  if (a && a < s.length) {
4560
4531
  let d = s.substring(a);
@@ -4581,7 +4552,7 @@ const Wr = b((i) => {
4581
4552
  */
4582
4553
  static _evaluateBinding(s, r, o, a, l, d) {
4583
4554
  let u;
4584
- return r.signature ? u = wt(s, o, a, l, r.signature) : o != r.source ? u = v(s, r.source) : d && bt(o) ? u = v(s, o) : u = s.__data[o], r.negate && (u = !u), u;
4555
+ return r.signature ? u = yt(s, o, a, l, r.signature) : o != r.source ? u = v(s, r.source) : d && mt(o) ? u = v(s, o) : u = s.__data[o], r.negate && (u = !u), u;
4585
4556
  }
4586
4557
  }
4587
4558
  return t;
@@ -4595,7 +4566,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
4595
4566
  Code distributed by Google as part of the polymer project is also
4596
4567
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
4597
4568
  */
4598
- function Kr(i) {
4569
+ function zr(i) {
4599
4570
  const e = {};
4600
4571
  for (let t in i) {
4601
4572
  const n = i[t];
@@ -4603,8 +4574,8 @@ function Kr(i) {
4603
4574
  }
4604
4575
  return e;
4605
4576
  }
4606
- const Jr = b((i) => {
4607
- const e = _s(i);
4577
+ const Hr = b((i) => {
4578
+ const e = us(i);
4608
4579
  function t(r) {
4609
4580
  const o = Object.getPrototypeOf(r);
4610
4581
  return o.prototype instanceof s ? (
@@ -4617,7 +4588,7 @@ const Jr = b((i) => {
4617
4588
  let o = null;
4618
4589
  if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
4619
4590
  const a = r.properties;
4620
- a && (o = Kr(a));
4591
+ a && (o = zr(a));
4621
4592
  }
4622
4593
  r.__ownProperties = o;
4623
4594
  }
@@ -4753,8 +4724,8 @@ const Jr = b((i) => {
4753
4724
  * Google as part of the polymer project is also subject to an additional IP
4754
4725
  * rights grant found at http://polymer.github.io/PATENTS.txt
4755
4726
  */
4756
- const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i) => {
4757
- const e = Jr(Wr(i));
4727
+ const Ur = "3.5.2", Ci = window.ShadyCSS && window.ShadyCSS.cssBuild, Fr = b((i) => {
4728
+ const e = Hr(Rr(i));
4758
4729
  function t(l) {
4759
4730
  if (!l.hasOwnProperty(
4760
4731
  JSCompiler_renameProperty("__propertyDefaults", l)
@@ -4782,8 +4753,8 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
4782
4753
  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);
4783
4754
  }
4784
4755
  function r(l, d, u, c) {
4785
- if (!Ti) {
4786
- const h = d.content.querySelectorAll("style"), f = ls(d), _ = Yn(u), m = d.content.firstElementChild;
4756
+ if (!Ci) {
4757
+ const h = d.content.querySelectorAll("style"), f = ss(d), _ = Ln(u), m = d.content.firstElementChild;
4787
4758
  for (let w = 0; w < _.length; w++) {
4788
4759
  let A = _[w];
4789
4760
  A.textContent = l._processStyleText(A.textContent, c), d.content.insertBefore(A, m);
@@ -4794,7 +4765,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
4794
4765
  F !== A ? (A = A.cloneNode(!0), F.parentNode.insertBefore(A, F)) : C++, A.textContent = l._processStyleText(A.textContent, c);
4795
4766
  }
4796
4767
  }
4797
- if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u), Hn && Ti && On) {
4768
+ if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, u), Tn && Ci && wn) {
4798
4769
  const h = d.content.querySelectorAll("style");
4799
4770
  if (h) {
4800
4771
  let f = "";
@@ -4806,8 +4777,8 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
4806
4777
  }
4807
4778
  function o(l) {
4808
4779
  let d = null;
4809
- if (l && (!gt || kn) && (d = /** @type {?HTMLTemplateElement} */
4810
- ue.import(l, "template"), gt && !d))
4780
+ if (l && (!pt || En) && (d = /** @type {?HTMLTemplateElement} */
4781
+ ue.import(l, "template"), pt && !d))
4811
4782
  throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
4812
4783
  return d;
4813
4784
  }
@@ -4818,7 +4789,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
4818
4789
  * @nocollapse
4819
4790
  */
4820
4791
  static get polymerElementVersion() {
4821
- return Gr;
4792
+ return Ur;
4822
4793
  }
4823
4794
  /**
4824
4795
  * Override of PropertiesMixin _finalizeClass to create observers and
@@ -4839,7 +4810,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
4839
4810
  /** @type {PolymerElementConstructor} */
4840
4811
  this.template
4841
4812
  );
4842
- d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : In || (d = d.cloneNode(!0))), this.prototype._template = d;
4813
+ d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : Cn || (d = d.cloneNode(!0))), this.prototype._template = d;
4843
4814
  }
4844
4815
  /**
4845
4816
  * Override of PropertiesChanged createProperties to create accessors
@@ -4976,7 +4947,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
4976
4947
  if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
4977
4948
  const d = this.importMeta;
4978
4949
  if (d)
4979
- this._importPath = Rt(d.url);
4950
+ this._importPath = It(d.url);
4980
4951
  else {
4981
4952
  const u = ue.import(
4982
4953
  /** @type {PolymerElementConstructor} */
@@ -5009,7 +4980,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
5009
4980
  this.constructor.finalize(), this.constructor._finalizeTemplate(
5010
4981
  /** @type {!HTMLElement} */
5011
4982
  this.localName
5012
- ), super._initializeProperties(), this.rootPath = Mn, this.importPath = this.constructor.importPath;
4983
+ ), super._initializeProperties(), this.rootPath = An, this.importPath = this.constructor.importPath;
5013
4984
  let d = t(this.constructor);
5014
4985
  if (d)
5015
4986
  for (let u in d) {
@@ -5041,7 +5012,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
5041
5012
  * @nocollapse
5042
5013
  */
5043
5014
  static _processStyleText(d, u) {
5044
- return Lt(d, u);
5015
+ return kt(d, u);
5045
5016
  }
5046
5017
  /**
5047
5018
  * Configures an element `proto` to function with a given `template`.
@@ -5120,7 +5091,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
5120
5091
  _attachDom(d) {
5121
5092
  const u = L(this);
5122
5093
  if (u.attachShadow)
5123
- return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Ln && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
5094
+ return d ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: d }), u.shadowRoot.appendChild(d), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Pn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
5124
5095
  throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
5125
5096
  }
5126
5097
  /**
@@ -5205,7 +5176,7 @@ const Gr = "3.5.2", Ti = window.ShadyCSS && window.ShadyCSS.cssBuild, Xr = b((i)
5205
5176
  * @nocollapse
5206
5177
  */
5207
5178
  static _addTemplatePropertyEffect(d, u, c) {
5208
- return Dn && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
5179
+ return xn && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
5209
5180
  // dependencies) become accessors with template effects; ignore these
5210
5181
  !(c.info.part.signature && c.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
5211
5182
  // templatizer so ignore both the host-to-template bindings
@@ -5230,16 +5201,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
5230
5201
  Code distributed by Google as part of the polymer project is also
5231
5202
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
5232
5203
  */
5233
- const Ni = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
5234
- class Cs {
5204
+ const xi = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (i) => i });
5205
+ class bs {
5235
5206
  /**
5236
5207
  * @param {!ITemplateArray} strings Constant parts of tagged template literal
5237
5208
  * @param {!Array<*>} values Variable parts of tagged template literal
5238
5209
  */
5239
5210
  constructor(e, t) {
5240
- Ps(e, t);
5211
+ ws(e, t);
5241
5212
  const n = t.reduce(
5242
- (s, r, o) => s + xs(r) + e[o + 1],
5213
+ (s, r, o) => s + vs(r) + e[o + 1],
5243
5214
  e[0]
5244
5215
  );
5245
5216
  this.value = n.toString();
@@ -5252,8 +5223,8 @@ class Cs {
5252
5223
  return this.value;
5253
5224
  }
5254
5225
  }
5255
- function xs(i) {
5256
- if (i instanceof Cs)
5226
+ function vs(i) {
5227
+ if (i instanceof bs)
5257
5228
  return (
5258
5229
  /** @type {!LiteralString} */
5259
5230
  i.value
@@ -5262,30 +5233,30 @@ function xs(i) {
5262
5233
  `non-literal value passed to Polymer's htmlLiteral function: ${i}`
5263
5234
  );
5264
5235
  }
5265
- function Zr(i) {
5236
+ function Br(i) {
5266
5237
  if (i instanceof HTMLTemplateElement)
5267
5238
  return (
5268
5239
  /** @type {!HTMLTemplateElement } */
5269
5240
  i.innerHTML
5270
5241
  );
5271
- if (i instanceof Cs)
5272
- return xs(i);
5242
+ if (i instanceof bs)
5243
+ return vs(i);
5273
5244
  throw new Error(
5274
5245
  `non-template value passed to Polymer's html function: ${i}`
5275
5246
  );
5276
5247
  }
5277
- const Qr = function(e, ...t) {
5278
- Ps(e, t);
5248
+ const Vr = function(e, ...t) {
5249
+ ws(e, t);
5279
5250
  const n = (
5280
5251
  /** @type {!HTMLTemplateElement} */
5281
5252
  document.createElement("template")
5282
5253
  );
5283
5254
  let s = t.reduce(
5284
- (r, o, a) => r + Zr(o) + e[a + 1],
5255
+ (r, o, a) => r + Br(o) + e[a + 1],
5285
5256
  e[0]
5286
5257
  );
5287
- return Ni && (s = Ni.createHTML(s)), n.innerHTML = s, n;
5288
- }, Ps = (i, e) => {
5258
+ return xi && (s = xi.createHTML(s)), n.innerHTML = s, n;
5259
+ }, ws = (i, e) => {
5289
5260
  if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
5290
5261
  throw new TypeError("Invalid call to the html template tag");
5291
5262
  };
@@ -5298,28 +5269,28 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
5298
5269
  Code distributed by Google as part of the polymer project is also
5299
5270
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
5300
5271
  */
5301
- const eo = Xr(HTMLElement);
5272
+ const jr = Fr(HTMLElement);
5302
5273
  /**
5303
5274
  * @license
5304
5275
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
5305
5276
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5306
5277
  */
5307
5278
  const x = [];
5308
- function At(i, e, t = i.getAttribute("dir")) {
5279
+ function bt(i, e, t = i.getAttribute("dir")) {
5309
5280
  e ? i.setAttribute("dir", e) : t != null && i.removeAttribute("dir");
5310
5281
  }
5311
- function Et() {
5282
+ function vt() {
5312
5283
  return document.documentElement.getAttribute("dir");
5313
5284
  }
5314
- function to() {
5315
- const i = Et();
5285
+ function qr() {
5286
+ const i = vt();
5316
5287
  x.forEach((e) => {
5317
- At(e, i);
5288
+ bt(e, i);
5318
5289
  });
5319
5290
  }
5320
- const io = new MutationObserver(to);
5321
- io.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
5322
- const $s = (i) => class extends i {
5291
+ const Yr = new MutationObserver(qr);
5292
+ Yr.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
5293
+ const As = (i) => class extends i {
5323
5294
  static get properties() {
5324
5295
  return {
5325
5296
  /**
@@ -5345,14 +5316,14 @@ const $s = (i) => class extends i {
5345
5316
  }
5346
5317
  /** @protected */
5347
5318
  connectedCallback() {
5348
- super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), At(this, Et(), null));
5319
+ super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), bt(this, vt(), null));
5349
5320
  }
5350
5321
  /** @protected */
5351
5322
  attributeChangedCallback(t, n, s) {
5352
5323
  if (super.attributeChangedCallback(t, n, s), t !== "dir")
5353
5324
  return;
5354
- const r = Et(), o = s === r && x.indexOf(this) === -1, a = !s && n && x.indexOf(this) === -1;
5355
- o || a ? (this.__subscribe(), At(this, r, s)) : s !== r && n === r && this.__unsubscribe();
5325
+ const r = vt(), o = s === r && x.indexOf(this) === -1, a = !s && n && x.indexOf(this) === -1;
5326
+ o || a ? (this.__subscribe(), bt(this, r, s)) : s !== r && n === r && this.__unsubscribe();
5356
5327
  }
5357
5328
  /** @protected */
5358
5329
  disconnectedCallback() {
@@ -5380,12 +5351,12 @@ const $s = (i) => class extends i {
5380
5351
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
5381
5352
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5382
5353
  */
5383
- class so extends vn($s(eo)) {
5354
+ class Wr extends un(As(jr)) {
5384
5355
  static get is() {
5385
5356
  return "vaadin-input-container";
5386
5357
  }
5387
5358
  static get template() {
5388
- return Qr`
5359
+ return Vr`
5389
5360
  <style>
5390
5361
  :host {
5391
5362
  display: flex;
@@ -5491,34 +5462,34 @@ class so extends vn($s(eo)) {
5491
5462
  });
5492
5463
  }
5493
5464
  }
5494
- Xi(so);
5495
- const no = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, xe = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
5496
- function ro() {
5465
+ Yi(Wr);
5466
+ const Kr = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, xe = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
5467
+ function Jr() {
5497
5468
  function i() {
5498
5469
  return !0;
5499
5470
  }
5500
- return Ss(i);
5471
+ return Es(i);
5501
5472
  }
5502
- function oo() {
5473
+ function Gr() {
5503
5474
  try {
5504
- return ao() ? !0 : lo() ? xe ? !uo() : !ro() : !1;
5505
- } catch (i) {
5475
+ return Xr() ? !0 : Zr() ? xe ? !Qr() : !Jr() : !1;
5476
+ } catch {
5506
5477
  return !1;
5507
5478
  }
5508
5479
  }
5509
- function ao() {
5480
+ function Xr() {
5510
5481
  return localStorage.getItem("vaadin.developmentmode.force");
5511
5482
  }
5512
- function lo() {
5483
+ function Zr() {
5513
5484
  return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
5514
5485
  }
5515
- function uo() {
5486
+ function Qr() {
5516
5487
  return !!(xe && Object.keys(xe).map((e) => xe[e]).filter((e) => e.productionMode).length > 0);
5517
5488
  }
5518
- function Ss(i, e) {
5489
+ function Es(i, e) {
5519
5490
  if (typeof i != "function")
5520
5491
  return;
5521
- const t = no.exec(i.toString());
5492
+ const t = Kr.exec(i.toString());
5522
5493
  if (t)
5523
5494
  try {
5524
5495
  i = new Function(t[1]);
@@ -5528,12 +5499,12 @@ function Ss(i, e) {
5528
5499
  return i(e);
5529
5500
  }
5530
5501
  window.Vaadin = window.Vaadin || {};
5531
- const Oi = function(i, e) {
5502
+ const Pi = function(i, e) {
5532
5503
  if (window.Vaadin.developmentMode)
5533
- return Ss(i, e);
5504
+ return Es(i, e);
5534
5505
  };
5535
- window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = oo());
5536
- function co() {
5506
+ window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Gr());
5507
+ function eo() {
5537
5508
  /*! vaadin-dev-mode:start
5538
5509
  (function () {
5539
5510
  'use strict';
@@ -6014,9 +5985,9 @@ function co() {
6014
5985
 
6015
5986
  vaadin-dev-mode:end **/
6016
5987
  }
6017
- const ho = function() {
6018
- if (typeof Oi == "function")
6019
- return Oi(co);
5988
+ const to = function() {
5989
+ if (typeof Pi == "function")
5990
+ return Pi(eo);
6020
5991
  };
6021
5992
  /**
6022
5993
  * @license
@@ -6027,11 +5998,11 @@ const ho = function() {
6027
5998
  * Code distributed by Google as part of the polymer project is also
6028
5999
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
6029
6000
  */
6030
- let Mi = 0, Ts = 0;
6001
+ let $i = 0, Cs = 0;
6031
6002
  const q = [];
6032
- let Ct = !1;
6033
- function fo() {
6034
- Ct = !1;
6003
+ let wt = !1;
6004
+ function io() {
6005
+ wt = !1;
6035
6006
  const i = q.length;
6036
6007
  for (let e = 0; e < i; e++) {
6037
6008
  const t = q[e];
@@ -6044,9 +6015,9 @@ function fo() {
6044
6015
  });
6045
6016
  }
6046
6017
  }
6047
- q.splice(0, i), Ts += i;
6018
+ q.splice(0, i), Cs += i;
6048
6019
  }
6049
- const po = {
6020
+ const so = {
6050
6021
  /**
6051
6022
  * Returns a sub-module with the async interface providing the provided
6052
6023
  * delay.
@@ -6086,7 +6057,7 @@ const po = {
6086
6057
  cancel(i) {
6087
6058
  window.clearTimeout(i);
6088
6059
  }
6089
- }, Ra = {
6060
+ }, Pa = {
6090
6061
  /**
6091
6062
  * Enqueues a function called at `requestAnimationFrame` timing.
6092
6063
  *
@@ -6107,7 +6078,7 @@ const po = {
6107
6078
  cancel(i) {
6108
6079
  window.cancelAnimationFrame(i);
6109
6080
  }
6110
- }, _o = {
6081
+ }, no = {
6111
6082
  /**
6112
6083
  * Enqueues a function called at `requestIdleCallback` timing.
6113
6084
  *
@@ -6128,7 +6099,7 @@ const po = {
6128
6099
  cancel(i) {
6129
6100
  window.cancelIdleCallback ? window.cancelIdleCallback(i) : window.clearTimeout(i);
6130
6101
  }
6131
- }, mo = {
6102
+ }, ro = {
6132
6103
  /**
6133
6104
  * Enqueues a function called at microtask timing.
6134
6105
  *
@@ -6137,9 +6108,9 @@ const po = {
6137
6108
  * @return {number} Handle used for canceling task
6138
6109
  */
6139
6110
  run(i) {
6140
- Ct || (Ct = !0, queueMicrotask(() => fo())), q.push(i);
6141
- const e = Mi;
6142
- return Mi += 1, e;
6111
+ wt || (wt = !0, queueMicrotask(() => io())), q.push(i);
6112
+ const e = $i;
6113
+ return $i += 1, e;
6143
6114
  },
6144
6115
  /**
6145
6116
  * Cancels a previously enqueued `microTask` callback.
@@ -6149,7 +6120,7 @@ const po = {
6149
6120
  * @return {void}
6150
6121
  */
6151
6122
  cancel(i) {
6152
- const e = i - Ts;
6123
+ const e = i - Cs;
6153
6124
  if (e >= 0) {
6154
6125
  if (!q[e])
6155
6126
  throw new Error(`invalid async handle: ${i}`);
@@ -6258,10 +6229,10 @@ class _e {
6258
6229
  return this._timer != null;
6259
6230
  }
6260
6231
  }
6261
- function go(i) {
6232
+ function oo(i) {
6262
6233
  pe.add(i);
6263
6234
  }
6264
- function yo() {
6235
+ function ao() {
6265
6236
  const i = !!pe.size;
6266
6237
  return pe.forEach((e) => {
6267
6238
  try {
@@ -6273,10 +6244,10 @@ function yo() {
6273
6244
  }
6274
6245
  }), i;
6275
6246
  }
6276
- const za = () => {
6247
+ const $a = () => {
6277
6248
  let i;
6278
6249
  do
6279
- i = yo();
6250
+ i = ao();
6280
6251
  while (i);
6281
6252
  };
6282
6253
  /**
@@ -6288,10 +6259,10 @@ window.Vaadin || (window.Vaadin = {});
6288
6259
  window.Vaadin.registrations || (window.Vaadin.registrations = []);
6289
6260
  window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
6290
6261
  window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
6291
- ho();
6262
+ to();
6292
6263
  };
6293
- let tt;
6294
- const ki = /* @__PURE__ */ new Set(), Ha = (i) => class extends $s(i) {
6264
+ let Ze;
6265
+ const Si = /* @__PURE__ */ new Set(), Sa = (i) => class extends As(i) {
6295
6266
  static get version() {
6296
6267
  return "24.2.9";
6297
6268
  }
@@ -6299,9 +6270,9 @@ const ki = /* @__PURE__ */ new Set(), Ha = (i) => class extends $s(i) {
6299
6270
  static finalize() {
6300
6271
  super.finalize();
6301
6272
  const { is: t } = this;
6302
- t && !ki.has(t) && (window.Vaadin.registrations.push(this), ki.add(t), window.Vaadin.developmentModeCallback && (tt = _e.debounce(tt, _o, () => {
6273
+ t && !Si.has(t) && (window.Vaadin.registrations.push(this), Si.add(t), window.Vaadin.developmentModeCallback && (Ze = _e.debounce(Ze, no, () => {
6303
6274
  window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
6304
- }), go(tt)));
6275
+ }), oo(Ze)));
6305
6276
  }
6306
6277
  constructor() {
6307
6278
  super(), document.doctype === null && console.warn(
@@ -6314,7 +6285,7 @@ const ki = /* @__PURE__ */ new Set(), Ha = (i) => class extends $s(i) {
6314
6285
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
6315
6286
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6316
6287
  */
6317
- function Fa(i) {
6288
+ function Na(i) {
6318
6289
  const e = [];
6319
6290
  for (; i; ) {
6320
6291
  if (i.nodeType === Node.DOCUMENT_NODE) {
@@ -6333,25 +6304,25 @@ function Fa(i) {
6333
6304
  }
6334
6305
  return e;
6335
6306
  }
6336
- function Ut(i) {
6307
+ function Rt(i) {
6337
6308
  return i ? new Set(i.split(" ")) : /* @__PURE__ */ new Set();
6338
6309
  }
6339
6310
  function He(i) {
6340
6311
  return i ? [...i].join(" ") : "";
6341
6312
  }
6342
- function Ns(i, e, t) {
6343
- const n = Ut(i.getAttribute(e));
6313
+ function xs(i, e, t) {
6314
+ const n = Rt(i.getAttribute(e));
6344
6315
  n.add(t), i.setAttribute(e, He(n));
6345
6316
  }
6346
- function bo(i, e, t) {
6347
- const n = Ut(i.getAttribute(e));
6317
+ function lo(i, e, t) {
6318
+ const n = Rt(i.getAttribute(e));
6348
6319
  if (n.delete(t), n.size === 0) {
6349
6320
  i.removeAttribute(e);
6350
6321
  return;
6351
6322
  }
6352
6323
  i.setAttribute(e, He(n));
6353
6324
  }
6354
- function vo(i) {
6325
+ function uo(i) {
6355
6326
  return i.nodeType === Node.TEXT_NODE && i.textContent.trim() === "";
6356
6327
  }
6357
6328
  /**
@@ -6359,7 +6330,7 @@ function vo(i) {
6359
6330
  * Copyright (c) 2023 Vaadin Ltd.
6360
6331
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6361
6332
  */
6362
- class wo {
6333
+ class co {
6363
6334
  constructor(e, t) {
6364
6335
  this.slot = e, this.callback = t, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
6365
6336
  this._schedule();
@@ -6409,16 +6380,16 @@ class wo {
6409
6380
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
6410
6381
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6411
6382
  */
6412
- let Ao = 0;
6413
- function Eo() {
6414
- return Ao++;
6383
+ let ho = 0;
6384
+ function fo() {
6385
+ return ho++;
6415
6386
  }
6416
6387
  /**
6417
6388
  * @license
6418
6389
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
6419
6390
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6420
6391
  */
6421
- class Ft extends EventTarget {
6392
+ class zt extends EventTarget {
6422
6393
  /**
6423
6394
  * Ensure that every instance has unique ID.
6424
6395
  *
@@ -6428,7 +6399,7 @@ class Ft extends EventTarget {
6428
6399
  * @protected
6429
6400
  */
6430
6401
  static generateId(e, t) {
6431
- return `${t || "default"}-${e.localName}-${Eo()}`;
6402
+ return `${t || "default"}-${e.localName}-${fo()}`;
6432
6403
  }
6433
6404
  constructor(e, t, n, s = {}) {
6434
6405
  super();
@@ -6520,8 +6491,8 @@ class Ft extends EventTarget {
6520
6491
  */
6521
6492
  observeSlot() {
6522
6493
  const { slotName: e } = this, t = e === "" ? "slot:not([name])" : `slot[name=${e}]`, n = this.host.shadowRoot.querySelector(t);
6523
- this.__slotObserver = new wo(n, ({ addedNodes: s, removedNodes: r }) => {
6524
- const o = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !vo(l) && !o.includes(l));
6494
+ this.__slotObserver = new co(n, ({ addedNodes: s, removedNodes: r }) => {
6495
+ const o = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !uo(l) && !o.includes(l));
6525
6496
  r.length && (this.nodes = o.filter((l) => !r.includes(l)), r.forEach((l) => {
6526
6497
  this.teardownNode(l);
6527
6498
  })), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...o, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
@@ -6535,7 +6506,7 @@ class Ft extends EventTarget {
6535
6506
  * Copyright (c) 2022 - 2023 Vaadin Ltd.
6536
6507
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6537
6508
  */
6538
- class Ba extends Ft {
6509
+ class Oa extends zt {
6539
6510
  constructor(e) {
6540
6511
  super(e, "tooltip"), this.setTarget(e);
6541
6512
  }
@@ -6636,18 +6607,18 @@ class Ba extends Ft {
6636
6607
  * Copyright 2019 Google LLC
6637
6608
  * SPDX-License-Identifier: BSD-3-Clause
6638
6609
  */
6639
- const Pe = window, Bt = Pe.ShadowRoot && (Pe.ShadyCSS === void 0 || Pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Vt = Symbol(), Ii = /* @__PURE__ */ new WeakMap();
6640
- class Os {
6610
+ const Pe = window, Ht = Pe.ShadowRoot && (Pe.ShadyCSS === void 0 || Pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ut = Symbol(), Ti = /* @__PURE__ */ new WeakMap();
6611
+ class Ps {
6641
6612
  constructor(e, t, n) {
6642
- if (this._$cssResult$ = !0, n !== Vt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
6613
+ if (this._$cssResult$ = !0, n !== Ut) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
6643
6614
  this.cssText = e, this.t = t;
6644
6615
  }
6645
6616
  get styleSheet() {
6646
6617
  let e = this.o;
6647
6618
  const t = this.t;
6648
- if (Bt && e === void 0) {
6619
+ if (Ht && e === void 0) {
6649
6620
  const n = t !== void 0 && t.length === 1;
6650
- n && (e = Ii.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Ii.set(t, e));
6621
+ n && (e = Ti.get(t)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), n && Ti.set(t, e));
6651
6622
  }
6652
6623
  return e;
6653
6624
  }
@@ -6655,33 +6626,33 @@ class Os {
6655
6626
  return this.cssText;
6656
6627
  }
6657
6628
  }
6658
- const Co = (i) => new Os(typeof i == "string" ? i : i + "", void 0, Vt), jt = (i, ...e) => {
6629
+ const po = (i) => new Ps(typeof i == "string" ? i : i + "", void 0, Ut), Ft = (i, ...e) => {
6659
6630
  const t = i.length === 1 ? i[0] : e.reduce((n, s, r) => n + ((o) => {
6660
6631
  if (o._$cssResult$ === !0) return o.cssText;
6661
6632
  if (typeof o == "number") return o;
6662
6633
  throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
6663
6634
  })(s) + i[r + 1], i[0]);
6664
- return new Os(t, i, Vt);
6665
- }, xo = (i, e) => {
6666
- Bt ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
6635
+ return new Ps(t, i, Ut);
6636
+ }, _o = (i, e) => {
6637
+ Ht ? i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet) : e.forEach((t) => {
6667
6638
  const n = document.createElement("style"), s = Pe.litNonce;
6668
6639
  s !== void 0 && n.setAttribute("nonce", s), n.textContent = t.cssText, i.appendChild(n);
6669
6640
  });
6670
- }, Di = Bt ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
6641
+ }, Ni = Ht ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
6671
6642
  let t = "";
6672
6643
  for (const n of e.cssRules) t += n.cssText;
6673
- return Co(t);
6644
+ return po(t);
6674
6645
  })(i) : i;
6675
6646
  /**
6676
6647
  * @license
6677
6648
  * Copyright 2017 Google LLC
6678
6649
  * SPDX-License-Identifier: BSD-3-Clause
6679
6650
  */
6680
- var it;
6681
- const ke = window, Li = ke.trustedTypes, Po = Li ? Li.emptyScript : "", Ri = ke.reactiveElementPolyfillSupport, xt = { toAttribute(i, e) {
6651
+ var Qe;
6652
+ const ke = window, Oi = ke.trustedTypes, mo = Oi ? Oi.emptyScript : "", Mi = ke.reactiveElementPolyfillSupport, At = { toAttribute(i, e) {
6682
6653
  switch (e) {
6683
6654
  case Boolean:
6684
- i = i ? Po : null;
6655
+ i = i ? mo : null;
6685
6656
  break;
6686
6657
  case Object:
6687
6658
  case Array:
@@ -6701,12 +6672,12 @@ const ke = window, Li = ke.trustedTypes, Po = Li ? Li.emptyScript : "", Ri = ke.
6701
6672
  case Array:
6702
6673
  try {
6703
6674
  t = JSON.parse(i);
6704
- } catch (n) {
6675
+ } catch {
6705
6676
  t = null;
6706
6677
  }
6707
6678
  }
6708
6679
  return t;
6709
- } }, Ms = (i, e) => e !== i && (e == e || i == i), st = { attribute: !0, type: String, converter: xt, reflect: !1, hasChanged: Ms }, Pt = "finalized";
6680
+ } }, $s = (i, e) => e !== i && (e == e || i == i), et = { attribute: !0, type: String, converter: At, reflect: !1, hasChanged: $s }, Et = "finalized";
6710
6681
  class V extends HTMLElement {
6711
6682
  constructor() {
6712
6683
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
@@ -6723,7 +6694,7 @@ class V extends HTMLElement {
6723
6694
  s !== void 0 && (this._$Ev.set(s, n), e.push(s));
6724
6695
  }), e;
6725
6696
  }
6726
- static createProperty(e, t = st) {
6697
+ static createProperty(e, t = et) {
6727
6698
  if (t.state && (t.attribute = !1), this.finalize(), this.elementProperties.set(e, t), !t.noAccessor && !this.prototype.hasOwnProperty(e)) {
6728
6699
  const n = typeof e == "symbol" ? Symbol() : "__" + e, s = this.getPropertyDescriptor(e, n, t);
6729
6700
  s !== void 0 && Object.defineProperty(this.prototype, e, s);
@@ -6738,11 +6709,11 @@ class V extends HTMLElement {
6738
6709
  }, configurable: !0, enumerable: !0 };
6739
6710
  }
6740
6711
  static getPropertyOptions(e) {
6741
- return this.elementProperties.get(e) || st;
6712
+ return this.elementProperties.get(e) || et;
6742
6713
  }
6743
6714
  static finalize() {
6744
- if (this.hasOwnProperty(Pt)) return !1;
6745
- this[Pt] = !0;
6715
+ if (this.hasOwnProperty(Et)) return !1;
6716
+ this[Et] = !0;
6746
6717
  const e = Object.getPrototypeOf(this);
6747
6718
  if (e.finalize(), e.h !== void 0 && (this.h = [...e.h]), this.elementProperties = new Map(e.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
6748
6719
  const t = this.properties, n = [...Object.getOwnPropertyNames(t), ...Object.getOwnPropertySymbols(t)];
@@ -6754,8 +6725,8 @@ class V extends HTMLElement {
6754
6725
  const t = [];
6755
6726
  if (Array.isArray(e)) {
6756
6727
  const n = new Set(e.flat(1 / 0).reverse());
6757
- for (const s of n) t.unshift(Di(s));
6758
- } else e !== void 0 && t.push(Di(e));
6728
+ for (const s of n) t.unshift(Ni(s));
6729
+ } else e !== void 0 && t.push(Ni(e));
6759
6730
  return t;
6760
6731
  }
6761
6732
  static _$Ep(e, t) {
@@ -6782,7 +6753,7 @@ class V extends HTMLElement {
6782
6753
  createRenderRoot() {
6783
6754
  var e;
6784
6755
  const t = (e = this.shadowRoot) !== null && e !== void 0 ? e : this.attachShadow(this.constructor.shadowRootOptions);
6785
- return xo(t, this.constructor.elementStyles), t;
6756
+ return _o(t, this.constructor.elementStyles), t;
6786
6757
  }
6787
6758
  connectedCallback() {
6788
6759
  var e;
@@ -6803,11 +6774,11 @@ class V extends HTMLElement {
6803
6774
  attributeChangedCallback(e, t, n) {
6804
6775
  this._$AK(e, n);
6805
6776
  }
6806
- _$EO(e, t, n = st) {
6777
+ _$EO(e, t, n = et) {
6807
6778
  var s;
6808
6779
  const r = this.constructor._$Ep(e, n);
6809
6780
  if (r !== void 0 && n.reflect === !0) {
6810
- const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : xt).toAttribute(t, n.type);
6781
+ const o = (((s = n.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? n.converter : At).toAttribute(t, n.type);
6811
6782
  this._$El = e, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
6812
6783
  }
6813
6784
  }
@@ -6815,25 +6786,23 @@ class V extends HTMLElement {
6815
6786
  var n;
6816
6787
  const s = this.constructor, r = s._$Ev.get(e);
6817
6788
  if (r !== void 0 && this._$El !== r) {
6818
- const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : xt;
6789
+ const o = s.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) === null || n === void 0 ? void 0 : n.fromAttribute) !== void 0 ? o.converter : At;
6819
6790
  this._$El = r, this[r] = a.fromAttribute(t, o.type), this._$El = null;
6820
6791
  }
6821
6792
  }
6822
6793
  requestUpdate(e, t, n) {
6823
6794
  let s = !0;
6824
- e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || Ms)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
6795
+ e !== void 0 && (((n = n || this.constructor.getPropertyOptions(e)).hasChanged || $s)(this[e], t) ? (this._$AL.has(e) || this._$AL.set(e, t), n.reflect === !0 && this._$El !== e && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(e, n))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
6825
6796
  }
6826
- _$Ej() {
6827
- return qe(this, null, function* () {
6828
- this.isUpdatePending = !0;
6829
- try {
6830
- yield this._$E_;
6831
- } catch (t) {
6832
- Promise.reject(t);
6833
- }
6834
- const e = this.scheduleUpdate();
6835
- return e != null && (yield e), !this.isUpdatePending;
6836
- });
6797
+ async _$Ej() {
6798
+ this.isUpdatePending = !0;
6799
+ try {
6800
+ await this._$E_;
6801
+ } catch (t) {
6802
+ Promise.reject(t);
6803
+ }
6804
+ const e = this.scheduleUpdate();
6805
+ return e != null && await e, !this.isUpdatePending;
6837
6806
  }
6838
6807
  scheduleUpdate() {
6839
6808
  return this.performUpdate();
@@ -6883,38 +6852,38 @@ class V extends HTMLElement {
6883
6852
  firstUpdated(e) {
6884
6853
  }
6885
6854
  }
6886
- V[Pt] = !0, V.elementProperties = /* @__PURE__ */ new Map(), V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, Ri == null || Ri({ ReactiveElement: V }), ((it = ke.reactiveElementVersions) !== null && it !== void 0 ? it : ke.reactiveElementVersions = []).push("1.6.3");
6855
+ V[Et] = !0, V.elementProperties = /* @__PURE__ */ new Map(), V.elementStyles = [], V.shadowRootOptions = { mode: "open" }, Mi?.({ ReactiveElement: V }), ((Qe = ke.reactiveElementVersions) !== null && Qe !== void 0 ? Qe : ke.reactiveElementVersions = []).push("1.6.3");
6887
6856
  /**
6888
6857
  * @license
6889
6858
  * Copyright 2017 Google LLC
6890
6859
  * SPDX-License-Identifier: BSD-3-Clause
6891
6860
  */
6892
- var nt;
6893
- const Ie = window, G = Ie.trustedTypes, zi = G ? G.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, $t = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, ks = "?" + S, $o = `<${ks}>`, H = document, me = () => H.createComment(""), ge = (i) => i === null || typeof i != "object" && typeof i != "function", Is = Array.isArray, So = (i) => Is(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", rt = `[
6894
- \f\r]`, ie = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Hi = /-->/g, Ui = />/g, M = RegExp(`>|${rt}(?:([^\\s"'>=/]+)(${rt}*=${rt}*(?:[^
6895
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Fi = /'/g, Bi = /"/g, Ds = /^(?:script|style|textarea|title)$/i, X = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), Vi = /* @__PURE__ */ new WeakMap(), I = H.createTreeWalker(H, 129, null, !1);
6896
- function Ls(i, e) {
6861
+ var tt;
6862
+ const Ie = window, G = Ie.trustedTypes, ki = G ? G.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Ct = "$lit$", S = `lit$${(Math.random() + "").slice(9)}$`, Ss = "?" + S, go = `<${Ss}>`, H = document, me = () => H.createComment(""), ge = (i) => i === null || typeof i != "object" && typeof i != "function", Ts = Array.isArray, yo = (i) => Ts(i) || typeof i?.[Symbol.iterator] == "function", it = `[
6863
+ \f\r]`, ie = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ii = /-->/g, Di = />/g, M = RegExp(`>|${it}(?:([^\\s"'>=/]+)(${it}*=${it}*(?:[^
6864
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Li = /'/g, Ri = /"/g, Ns = /^(?:script|style|textarea|title)$/i, X = Symbol.for("lit-noChange"), y = Symbol.for("lit-nothing"), zi = /* @__PURE__ */ new WeakMap(), I = H.createTreeWalker(H, 129, null, !1);
6865
+ function Os(i, e) {
6897
6866
  if (!Array.isArray(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
6898
- return zi !== void 0 ? zi.createHTML(e) : e;
6867
+ return ki !== void 0 ? ki.createHTML(e) : e;
6899
6868
  }
6900
- const To = (i, e) => {
6869
+ const bo = (i, e) => {
6901
6870
  const t = i.length - 1, n = [];
6902
6871
  let s, r = e === 2 ? "<svg>" : "", o = ie;
6903
6872
  for (let a = 0; a < t; a++) {
6904
6873
  const l = i[a];
6905
6874
  let d, u, c = -1, h = 0;
6906
- for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === ie ? u[1] === "!--" ? o = Hi : u[1] !== void 0 ? o = Ui : u[2] !== void 0 ? (Ds.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = M) : u[3] !== void 0 && (o = M) : o === M ? u[0] === ">" ? (o = s != null ? s : ie, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? M : u[3] === '"' ? Bi : Fi) : o === Bi || o === Fi ? o = M : o === Hi || o === Ui ? o = ie : (o = M, s = void 0);
6875
+ for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === ie ? u[1] === "!--" ? o = Ii : u[1] !== void 0 ? o = Di : u[2] !== void 0 ? (Ns.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = M) : u[3] !== void 0 && (o = M) : o === M ? u[0] === ">" ? (o = s ?? ie, c = -1) : u[1] === void 0 ? c = -2 : (c = o.lastIndex - u[2].length, d = u[1], o = u[3] === void 0 ? M : u[3] === '"' ? Ri : Li) : o === Ri || o === Li ? o = M : o === Ii || o === Di ? o = ie : (o = M, s = void 0);
6907
6876
  const f = o === M && i[a + 1].startsWith("/>") ? " " : "";
6908
- r += o === ie ? l + $o : c >= 0 ? (n.push(d), l.slice(0, c) + $t + l.slice(c) + S + f) : l + S + (c === -2 ? (n.push(void 0), a) : f);
6877
+ r += o === ie ? l + go : c >= 0 ? (n.push(d), l.slice(0, c) + Ct + l.slice(c) + S + f) : l + S + (c === -2 ? (n.push(void 0), a) : f);
6909
6878
  }
6910
- return [Ls(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
6879
+ return [Os(i, r + (i[t] || "<?>") + (e === 2 ? "</svg>" : "")), n];
6911
6880
  };
6912
6881
  class ye {
6913
6882
  constructor({ strings: e, _$litType$: t }, n) {
6914
6883
  let s;
6915
6884
  this.parts = [];
6916
6885
  let r = 0, o = 0;
6917
- const a = e.length - 1, l = this.parts, [d, u] = To(e, t);
6886
+ const a = e.length - 1, l = this.parts, [d, u] = bo(e, t);
6918
6887
  if (this.el = ye.createElement(d, n), I.currentNode = this.el.content, t === 2) {
6919
6888
  const c = this.el.content, h = c.firstChild;
6920
6889
  h.remove(), c.append(...h.childNodes);
@@ -6923,16 +6892,16 @@ class ye {
6923
6892
  if (s.nodeType === 1) {
6924
6893
  if (s.hasAttributes()) {
6925
6894
  const c = [];
6926
- for (const h of s.getAttributeNames()) if (h.endsWith($t) || h.startsWith(S)) {
6895
+ for (const h of s.getAttributeNames()) if (h.endsWith(Ct) || h.startsWith(S)) {
6927
6896
  const f = u[o++];
6928
6897
  if (c.push(h), f !== void 0) {
6929
- const _ = s.getAttribute(f.toLowerCase() + $t).split(S), m = /([.?@])?(.*)/.exec(f);
6930
- l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? Oo : m[1] === "?" ? ko : m[1] === "@" ? Io : Ue });
6898
+ const _ = s.getAttribute(f.toLowerCase() + Ct).split(S), m = /([.?@])?(.*)/.exec(f);
6899
+ l.push({ type: 1, index: r, name: m[2], strings: _, ctor: m[1] === "." ? wo : m[1] === "?" ? Eo : m[1] === "@" ? Co : Ue });
6931
6900
  } else l.push({ type: 6, index: r });
6932
6901
  }
6933
6902
  for (const h of c) s.removeAttribute(h);
6934
6903
  }
6935
- if (Ds.test(s.tagName)) {
6904
+ if (Ns.test(s.tagName)) {
6936
6905
  const c = s.textContent.split(S), h = c.length - 1;
6937
6906
  if (h > 0) {
6938
6907
  s.textContent = G ? G.emptyScript : "";
@@ -6940,7 +6909,7 @@ class ye {
6940
6909
  s.append(c[h], me());
6941
6910
  }
6942
6911
  }
6943
- } else if (s.nodeType === 8) if (s.data === ks) l.push({ type: 2, index: r });
6912
+ } else if (s.nodeType === 8) if (s.data === Ss) l.push({ type: 2, index: r });
6944
6913
  else {
6945
6914
  let c = -1;
6946
6915
  for (; (c = s.data.indexOf(S, c + 1)) !== -1; ) l.push({ type: 7, index: r }), c += S.length - 1;
@@ -6958,9 +6927,9 @@ function Z(i, e, t = i, n) {
6958
6927
  if (e === X) return e;
6959
6928
  let l = n !== void 0 ? (s = t._$Co) === null || s === void 0 ? void 0 : s[n] : t._$Cl;
6960
6929
  const d = ge(e) ? void 0 : e._$litDirective$;
6961
- return (l == null ? void 0 : l.constructor) !== d && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = Z(i, l._$AS(i, e.values), l, n)), e;
6930
+ return l?.constructor !== d && ((r = l?._$AO) === null || r === void 0 || r.call(l, !1), d === void 0 ? l = void 0 : (l = new d(i), l._$AT(i, t, n)), n !== void 0 ? ((o = (a = t)._$Co) !== null && o !== void 0 ? o : a._$Co = [])[n] = l : t._$Cl = l), l !== void 0 && (e = Z(i, l._$AS(i, e.values), l, n)), e;
6962
6931
  }
6963
- class No {
6932
+ class vo {
6964
6933
  constructor(e, t) {
6965
6934
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = t;
6966
6935
  }
@@ -6972,15 +6941,15 @@ class No {
6972
6941
  }
6973
6942
  u(e) {
6974
6943
  var t;
6975
- const { el: { content: n }, parts: s } = this._$AD, r = ((t = e == null ? void 0 : e.creationScope) !== null && t !== void 0 ? t : H).importNode(n, !0);
6944
+ const { el: { content: n }, parts: s } = this._$AD, r = ((t = e?.creationScope) !== null && t !== void 0 ? t : H).importNode(n, !0);
6976
6945
  I.currentNode = r;
6977
6946
  let o = I.nextNode(), a = 0, l = 0, d = s[0];
6978
6947
  for (; d !== void 0; ) {
6979
6948
  if (a === d.index) {
6980
6949
  let u;
6981
- d.type === 2 ? u = new ve(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new Do(o, this, e)), this._$AV.push(u), d = s[++l];
6950
+ d.type === 2 ? u = new ve(o, o.nextSibling, this, e) : d.type === 1 ? u = new d.ctor(o, d.name, d.strings, this, e) : d.type === 6 && (u = new xo(o, this, e)), this._$AV.push(u), d = s[++l];
6982
6951
  }
6983
- a !== (d == null ? void 0 : d.index) && (o = I.nextNode(), a++);
6952
+ a !== d?.index && (o = I.nextNode(), a++);
6984
6953
  }
6985
6954
  return I.currentNode = H, r;
6986
6955
  }
@@ -6992,7 +6961,7 @@ class No {
6992
6961
  class ve {
6993
6962
  constructor(e, t, n, s) {
6994
6963
  var r;
6995
- this.type = 2, this._$AH = y, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
6964
+ this.type = 2, this._$AH = y, this._$AN = void 0, this._$AA = e, this._$AB = t, this._$AM = n, this.options = s, this._$Cp = (r = s?.isConnected) === null || r === void 0 || r;
6996
6965
  }
6997
6966
  get _$AU() {
6998
6967
  var e, t;
@@ -7001,7 +6970,7 @@ class ve {
7001
6970
  get parentNode() {
7002
6971
  let e = this._$AA.parentNode;
7003
6972
  const t = this._$AM;
7004
- return t !== void 0 && (e == null ? void 0 : e.nodeType) === 11 && (e = t.parentNode), e;
6973
+ return t !== void 0 && e?.nodeType === 11 && (e = t.parentNode), e;
7005
6974
  }
7006
6975
  get startNode() {
7007
6976
  return this._$AA;
@@ -7010,7 +6979,7 @@ class ve {
7010
6979
  return this._$AB;
7011
6980
  }
7012
6981
  _$AI(e, t = this) {
7013
- e = Z(this, e, t), ge(e) ? e === y || e == null || e === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : e !== this._$AH && e !== X && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : So(e) ? this.T(e) : this._(e);
6982
+ e = Z(this, e, t), ge(e) ? e === y || e == null || e === "" ? (this._$AH !== y && this._$AR(), this._$AH = y) : e !== this._$AH && e !== X && this._(e) : e._$litType$ !== void 0 ? this.g(e) : e.nodeType !== void 0 ? this.$(e) : yo(e) ? this.T(e) : this._(e);
7014
6983
  }
7015
6984
  k(e) {
7016
6985
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -7023,19 +6992,19 @@ class ve {
7023
6992
  }
7024
6993
  g(e) {
7025
6994
  var t;
7026
- const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ye.createElement(Ls(s.h, s.h[0]), this.options)), s);
6995
+ const { values: n, _$litType$: s } = e, r = typeof s == "number" ? this._$AC(e) : (s.el === void 0 && (s.el = ye.createElement(Os(s.h, s.h[0]), this.options)), s);
7027
6996
  if (((t = this._$AH) === null || t === void 0 ? void 0 : t._$AD) === r) this._$AH.v(n);
7028
6997
  else {
7029
- const o = new No(r, this), a = o.u(this.options);
6998
+ const o = new vo(r, this), a = o.u(this.options);
7030
6999
  o.v(n), this.$(a), this._$AH = o;
7031
7000
  }
7032
7001
  }
7033
7002
  _$AC(e) {
7034
- let t = Vi.get(e.strings);
7035
- return t === void 0 && Vi.set(e.strings, t = new ye(e)), t;
7003
+ let t = zi.get(e.strings);
7004
+ return t === void 0 && zi.set(e.strings, t = new ye(e)), t;
7036
7005
  }
7037
7006
  T(e) {
7038
- Is(this._$AH) || (this._$AH = [], this._$AR());
7007
+ Ts(this._$AH) || (this._$AH = [], this._$AR());
7039
7008
  const t = this._$AH;
7040
7009
  let n, s = 0;
7041
7010
  for (const r of e) s === t.length ? t.push(n = new ve(this.k(me()), this.k(me()), this, this.options)) : n = t[s], n._$AI(r), s++;
@@ -7070,15 +7039,15 @@ class Ue {
7070
7039
  else {
7071
7040
  const a = e;
7072
7041
  let l, d;
7073
- for (e = r[0], l = 0; l < r.length - 1; l++) d = Z(this, a[n + l], t, l), d === X && (d = this._$AH[l]), o || (o = !ge(d) || d !== this._$AH[l]), d === y ? e = y : e !== y && (e += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
7042
+ for (e = r[0], l = 0; l < r.length - 1; l++) d = Z(this, a[n + l], t, l), d === X && (d = this._$AH[l]), o || (o = !ge(d) || d !== this._$AH[l]), d === y ? e = y : e !== y && (e += (d ?? "") + r[l + 1]), this._$AH[l] = d;
7074
7043
  }
7075
7044
  o && !s && this.j(e);
7076
7045
  }
7077
7046
  j(e) {
7078
- e === y ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
7047
+ e === y ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
7079
7048
  }
7080
7049
  }
7081
- class Oo extends Ue {
7050
+ class wo extends Ue {
7082
7051
  constructor() {
7083
7052
  super(...arguments), this.type = 3;
7084
7053
  }
@@ -7086,16 +7055,16 @@ class Oo extends Ue {
7086
7055
  this.element[this.name] = e === y ? void 0 : e;
7087
7056
  }
7088
7057
  }
7089
- const Mo = G ? G.emptyScript : "";
7090
- class ko extends Ue {
7058
+ const Ao = G ? G.emptyScript : "";
7059
+ class Eo extends Ue {
7091
7060
  constructor() {
7092
7061
  super(...arguments), this.type = 4;
7093
7062
  }
7094
7063
  j(e) {
7095
- e && e !== y ? this.element.setAttribute(this.name, Mo) : this.element.removeAttribute(this.name);
7064
+ e && e !== y ? this.element.setAttribute(this.name, Ao) : this.element.removeAttribute(this.name);
7096
7065
  }
7097
7066
  }
7098
- class Io extends Ue {
7067
+ class Co extends Ue {
7099
7068
  constructor(e, t, n, s, r) {
7100
7069
  super(e, t, n, s, r), this.type = 5;
7101
7070
  }
@@ -7110,7 +7079,7 @@ class Io extends Ue {
7110
7079
  typeof this._$AH == "function" ? this._$AH.call((n = (t = this.options) === null || t === void 0 ? void 0 : t.host) !== null && n !== void 0 ? n : this.element, e) : this._$AH.handleEvent(e);
7111
7080
  }
7112
7081
  }
7113
- class Do {
7082
+ class xo {
7114
7083
  constructor(e, t, n) {
7115
7084
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = t, this.options = n;
7116
7085
  }
@@ -7121,15 +7090,15 @@ class Do {
7121
7090
  Z(this, e);
7122
7091
  }
7123
7092
  }
7124
- const ji = Ie.litHtmlPolyfillSupport;
7125
- ji == null || ji(ye, ve), ((nt = Ie.litHtmlVersions) !== null && nt !== void 0 ? nt : Ie.litHtmlVersions = []).push("2.8.0");
7126
- const Lo = (i, e, t) => {
7093
+ const Hi = Ie.litHtmlPolyfillSupport;
7094
+ Hi?.(ye, ve), ((tt = Ie.litHtmlVersions) !== null && tt !== void 0 ? tt : Ie.litHtmlVersions = []).push("2.8.0");
7095
+ const Po = (i, e, t) => {
7127
7096
  var n, s;
7128
- const r = (n = t == null ? void 0 : t.renderBefore) !== null && n !== void 0 ? n : e;
7097
+ const r = (n = t?.renderBefore) !== null && n !== void 0 ? n : e;
7129
7098
  let o = r._$litPart$;
7130
7099
  if (o === void 0) {
7131
- const a = (s = t == null ? void 0 : t.renderBefore) !== null && s !== void 0 ? s : null;
7132
- r._$litPart$ = o = new ve(e.insertBefore(me(), a), a, void 0, t != null ? t : {});
7100
+ const a = (s = t?.renderBefore) !== null && s !== void 0 ? s : null;
7101
+ r._$litPart$ = o = new ve(e.insertBefore(me(), a), a, void 0, t ?? {});
7133
7102
  }
7134
7103
  return o._$AI(i), o;
7135
7104
  };
@@ -7138,7 +7107,7 @@ const Lo = (i, e, t) => {
7138
7107
  * Copyright 2017 Google LLC
7139
7108
  * SPDX-License-Identifier: BSD-3-Clause
7140
7109
  */
7141
- var ot, at;
7110
+ var st, nt;
7142
7111
  class $e extends V {
7143
7112
  constructor() {
7144
7113
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -7150,7 +7119,7 @@ class $e extends V {
7150
7119
  }
7151
7120
  update(e) {
7152
7121
  const t = this.render();
7153
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Lo(t, this.renderRoot, this.renderOptions);
7122
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = Po(t, this.renderRoot, this.renderOptions);
7154
7123
  }
7155
7124
  connectedCallback() {
7156
7125
  var e;
@@ -7164,16 +7133,16 @@ class $e extends V {
7164
7133
  return X;
7165
7134
  }
7166
7135
  }
7167
- $e.finalized = !0, $e._$litElement$ = !0, (ot = globalThis.litElementHydrateSupport) === null || ot === void 0 || ot.call(globalThis, { LitElement: $e });
7168
- const qi = globalThis.litElementPolyfillSupport;
7169
- qi == null || qi({ LitElement: $e });
7170
- ((at = globalThis.litElementVersions) !== null && at !== void 0 ? at : globalThis.litElementVersions = []).push("3.3.3");
7136
+ $e.finalized = !0, $e._$litElement$ = !0, (st = globalThis.litElementHydrateSupport) === null || st === void 0 || st.call(globalThis, { LitElement: $e });
7137
+ const Ui = globalThis.litElementPolyfillSupport;
7138
+ Ui?.({ LitElement: $e });
7139
+ ((nt = globalThis.litElementVersions) !== null && nt !== void 0 ? nt : globalThis.litElementVersions = []).push("3.3.3");
7171
7140
  /**
7172
7141
  * @license
7173
7142
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7174
7143
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7175
7144
  */
7176
- const Ro = jt`
7145
+ const $o = Ft`
7177
7146
  [part='clear-button'] {
7178
7147
  display: none;
7179
7148
  cursor: default;
@@ -7192,7 +7161,7 @@ const Ro = jt`
7192
7161
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7193
7162
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7194
7163
  */
7195
- const zo = jt`
7164
+ const So = Ft`
7196
7165
  :host {
7197
7166
  display: inline-flex;
7198
7167
  outline: none;
@@ -7232,7 +7201,7 @@ const zo = jt`
7232
7201
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7233
7202
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7234
7203
  */
7235
- const Ho = jt`
7204
+ const To = Ft`
7236
7205
  [class$='container'] {
7237
7206
  display: flex;
7238
7207
  flex-direction: column;
@@ -7246,13 +7215,13 @@ const Ho = jt`
7246
7215
  * Copyright (c) 2021 - 2023 Vaadin Ltd..
7247
7216
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7248
7217
  */
7249
- const Va = [zo, Ho, Ro];
7218
+ const Ma = [So, To, $o];
7250
7219
  /**
7251
7220
  * @license
7252
7221
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7253
7222
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7254
7223
  */
7255
- class ja extends Ft {
7224
+ class ka extends zt {
7256
7225
  constructor(e, t) {
7257
7226
  super(e, "input", "input", {
7258
7227
  initializer: (n, s) => {
@@ -7267,97 +7236,97 @@ class ja extends Ft {
7267
7236
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7268
7237
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7269
7238
  */
7270
- let qt = !1;
7239
+ let Bt = !1;
7271
7240
  window.addEventListener(
7272
7241
  "keydown",
7273
7242
  () => {
7274
- qt = !0;
7243
+ Bt = !0;
7275
7244
  },
7276
7245
  { capture: !0 }
7277
7246
  );
7278
7247
  window.addEventListener(
7279
7248
  "mousedown",
7280
7249
  () => {
7281
- qt = !1;
7250
+ Bt = !1;
7282
7251
  },
7283
7252
  { capture: !0 }
7284
7253
  );
7285
- function qa() {
7254
+ function Ia() {
7286
7255
  let i = document.activeElement || document.body;
7287
7256
  for (; i.shadowRoot && i.shadowRoot.activeElement; )
7288
7257
  i = i.shadowRoot.activeElement;
7289
7258
  return i;
7290
7259
  }
7291
- function Uo() {
7292
- return qt;
7260
+ function No() {
7261
+ return Bt;
7293
7262
  }
7294
- function Fo(i) {
7263
+ function Oo(i) {
7295
7264
  const e = i.style;
7296
7265
  if (e.visibility === "hidden" || e.display === "none")
7297
7266
  return !0;
7298
7267
  const t = window.getComputedStyle(i);
7299
7268
  return t.visibility === "hidden" || t.display === "none";
7300
7269
  }
7301
- function Bo(i, e) {
7270
+ function Mo(i, e) {
7302
7271
  const t = Math.max(i.tabIndex, 0), n = Math.max(e.tabIndex, 0);
7303
7272
  return t === 0 || n === 0 ? n > t : t > n;
7304
7273
  }
7305
- function Vo(i, e) {
7274
+ function ko(i, e) {
7306
7275
  const t = [];
7307
7276
  for (; i.length > 0 && e.length > 0; )
7308
- Bo(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7277
+ Mo(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7309
7278
  return t.concat(i, e);
7310
7279
  }
7311
- function St(i) {
7280
+ function xt(i) {
7312
7281
  const e = i.length;
7313
7282
  if (e < 2)
7314
7283
  return i;
7315
- const t = Math.ceil(e / 2), n = St(i.slice(0, t)), s = St(i.slice(t));
7316
- return Vo(n, s);
7284
+ const t = Math.ceil(e / 2), n = xt(i.slice(0, t)), s = xt(i.slice(t));
7285
+ return ko(n, s);
7317
7286
  }
7318
- function jo(i) {
7287
+ function Io(i) {
7319
7288
  return i.matches('[tabindex="-1"]') ? !1 : i.matches("input, select, textarea, button, object") ? i.matches(":not([disabled])") : i.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
7320
7289
  }
7321
- function Ya(i) {
7290
+ function Da(i) {
7322
7291
  return i.getRootNode().activeElement === i;
7323
7292
  }
7324
- function qo(i) {
7325
- if (!jo(i))
7293
+ function Do(i) {
7294
+ if (!Io(i))
7326
7295
  return -1;
7327
7296
  const e = i.getAttribute("tabindex") || 0;
7328
7297
  return Number(e);
7329
7298
  }
7330
- function Rs(i, e) {
7331
- if (i.nodeType !== Node.ELEMENT_NODE || Fo(i))
7299
+ function Ms(i, e) {
7300
+ if (i.nodeType !== Node.ELEMENT_NODE || Oo(i))
7332
7301
  return !1;
7333
7302
  const t = (
7334
7303
  /** @type {HTMLElement} */
7335
7304
  i
7336
- ), n = qo(t);
7305
+ ), n = Do(t);
7337
7306
  let s = n > 0;
7338
7307
  n >= 0 && e.push(t);
7339
7308
  let r = [];
7340
7309
  return t.localName === "slot" ? r = t.assignedNodes({ flatten: !0 }) : r = (t.shadowRoot || t).children, [...r].forEach((o) => {
7341
- s = Rs(o, e) || s;
7310
+ s = Ms(o, e) || s;
7342
7311
  }), s;
7343
7312
  }
7344
- function Wa(i) {
7313
+ function La(i) {
7345
7314
  const e = [];
7346
- return Rs(i, e) ? St(e) : e;
7315
+ return Ms(i, e) ? xt(e) : e;
7347
7316
  }
7348
7317
  /**
7349
7318
  * @license
7350
7319
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7351
7320
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7352
7321
  */
7353
- const Yo = b(
7322
+ const Lo = b(
7354
7323
  (i) => class extends i {
7355
7324
  /**
7356
7325
  * @protected
7357
7326
  * @return {boolean}
7358
7327
  */
7359
7328
  get _keyboardActive() {
7360
- return Uo();
7329
+ return No();
7361
7330
  }
7362
7331
  /** @protected */
7363
7332
  ready() {
@@ -7407,7 +7376,7 @@ const Yo = b(
7407
7376
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7408
7377
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7409
7378
  */
7410
- const zs = b(
7379
+ const ks = b(
7411
7380
  (i) => class extends i {
7412
7381
  static get properties() {
7413
7382
  return {
@@ -7452,7 +7421,7 @@ const zs = b(
7452
7421
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7453
7422
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7454
7423
  */
7455
- const Wo = (i) => class extends zs(i) {
7424
+ const Ro = (i) => class extends ks(i) {
7456
7425
  static get properties() {
7457
7426
  return {
7458
7427
  /**
@@ -7503,8 +7472,8 @@ const Wo = (i) => class extends zs(i) {
7503
7472
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7504
7473
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7505
7474
  */
7506
- const Ko = b(
7507
- (i) => class extends Yo(Wo(i)) {
7475
+ const zo = b(
7476
+ (i) => class extends Lo(Ro(i)) {
7508
7477
  static get properties() {
7509
7478
  return {
7510
7479
  /**
@@ -7660,7 +7629,7 @@ const Ko = b(
7660
7629
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7661
7630
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7662
7631
  */
7663
- const Yt = b(
7632
+ const Vt = b(
7664
7633
  (i) => class extends i {
7665
7634
  /** @protected */
7666
7635
  ready() {
@@ -7722,15 +7691,15 @@ const Yt = b(
7722
7691
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7723
7692
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7724
7693
  */
7725
- const lt = /* @__PURE__ */ new WeakMap();
7726
- function Jo(i) {
7727
- return lt.has(i) || lt.set(i, /* @__PURE__ */ new Set()), lt.get(i);
7694
+ const rt = /* @__PURE__ */ new WeakMap();
7695
+ function Ho(i) {
7696
+ return rt.has(i) || rt.set(i, /* @__PURE__ */ new Set()), rt.get(i);
7728
7697
  }
7729
- function Go(i, e) {
7698
+ function Uo(i, e) {
7730
7699
  const t = document.createElement("style");
7731
7700
  t.textContent = i, e === document ? document.head.appendChild(t) : e.insertBefore(t, e.firstChild);
7732
7701
  }
7733
- const Xo = b(
7702
+ const Fo = b(
7734
7703
  (i) => class extends i {
7735
7704
  /**
7736
7705
  * List of styles to insert into root.
@@ -7745,9 +7714,9 @@ const Xo = b(
7745
7714
  }
7746
7715
  /** @private */
7747
7716
  __applySlotStyles() {
7748
- const t = this.getRootNode(), n = Jo(t);
7717
+ const t = this.getRootNode(), n = Ho(t);
7749
7718
  this.slotStyles.forEach((s) => {
7750
- n.has(s) || (Go(s, t), n.add(s));
7719
+ n.has(s) || (Uo(s, t), n.add(s));
7751
7720
  });
7752
7721
  }
7753
7722
  }
@@ -7757,13 +7726,13 @@ const Xo = b(
7757
7726
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7758
7727
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7759
7728
  */
7760
- const Fe = (i) => i.test(navigator.userAgent), Tt = (i) => i.test(navigator.platform), Zo = (i) => i.test(navigator.vendor);
7729
+ const Fe = (i) => i.test(navigator.userAgent), Pt = (i) => i.test(navigator.platform), Bo = (i) => i.test(navigator.vendor);
7761
7730
  Fe(/Android/u);
7762
- Fe(/Chrome/u) && Zo(/Google Inc/u);
7763
- const el = Fe(/Firefox/u), Qo = Tt(/^iPad/u) || Tt(/^Mac/u) && navigator.maxTouchPoints > 1, ea = Tt(/^iPhone/u), tl = ea || Qo, il = Fe(/^((?!chrome|android).)*safari/iu), ta = (() => {
7731
+ Fe(/Chrome/u) && Bo(/Google Inc/u);
7732
+ const Va = Fe(/Firefox/u), Vo = Pt(/^iPad/u) || Pt(/^Mac/u) && navigator.maxTouchPoints > 1, jo = Pt(/^iPhone/u), ja = jo || Vo, qa = Fe(/^((?!chrome|android).)*safari/iu), qo = (() => {
7764
7733
  try {
7765
7734
  return document.createEvent("TouchEvent"), !0;
7766
- } catch (i) {
7735
+ } catch {
7767
7736
  return !1;
7768
7737
  }
7769
7738
  })();
@@ -7772,7 +7741,7 @@ const el = Fe(/Firefox/u), Qo = Tt(/^iPad/u) || Tt(/^Mac/u) && navigator.maxTouc
7772
7741
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7773
7742
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7774
7743
  */
7775
- const Hs = b(
7744
+ const Is = b(
7776
7745
  (i) => class extends i {
7777
7746
  static get properties() {
7778
7747
  return {
@@ -7895,7 +7864,7 @@ const Hs = b(
7895
7864
  * @protected
7896
7865
  */
7897
7866
  _forwardInputValue(t) {
7898
- this.inputElement && (this._inputElementValue = t != null ? t : "");
7867
+ this.inputElement && (this._inputElementValue = t ?? "");
7899
7868
  }
7900
7869
  /**
7901
7870
  * @param {HTMLElement | undefined} input
@@ -7976,7 +7945,7 @@ const Hs = b(
7976
7945
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
7977
7946
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
7978
7947
  */
7979
- const ia = (i) => class extends Hs(Yt(i)) {
7948
+ const Yo = (i) => class extends Is(Vt(i)) {
7980
7949
  static get properties() {
7981
7950
  return {
7982
7951
  /**
@@ -8021,7 +7990,7 @@ const ia = (i) => class extends Hs(Yt(i)) {
8021
7990
  * @protected
8022
7991
  */
8023
7992
  _onClearButtonMouseDown(t) {
8024
- t.preventDefault(), ta || this.inputElement.focus();
7993
+ t.preventDefault(), qo || this.inputElement.focus();
8025
7994
  }
8026
7995
  /**
8027
7996
  * Override an event listener inherited from `KeydownMixin` to clear on Esc.
@@ -8051,49 +8020,49 @@ const ia = (i) => class extends Hs(Yt(i)) {
8051
8020
  * Copyright (c) 2023 Vaadin Ltd.
8052
8021
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8053
8022
  */
8054
- const dt = /* @__PURE__ */ new Map();
8055
- function Wt(i) {
8056
- return dt.has(i) || dt.set(i, /* @__PURE__ */ new WeakMap()), dt.get(i);
8023
+ const ot = /* @__PURE__ */ new Map();
8024
+ function jt(i) {
8025
+ return ot.has(i) || ot.set(i, /* @__PURE__ */ new WeakMap()), ot.get(i);
8057
8026
  }
8058
- function Us(i, e) {
8027
+ function Ds(i, e) {
8059
8028
  i && i.removeAttribute(e);
8060
8029
  }
8061
- function Fs(i, e) {
8030
+ function Ls(i, e) {
8062
8031
  if (!i || !e)
8063
8032
  return;
8064
- const t = Wt(e);
8033
+ const t = jt(e);
8065
8034
  if (t.has(i))
8066
8035
  return;
8067
- const n = Ut(i.getAttribute(e));
8036
+ const n = Rt(i.getAttribute(e));
8068
8037
  t.set(i, new Set(n));
8069
8038
  }
8070
- function sa(i, e) {
8039
+ function Wo(i, e) {
8071
8040
  if (!i)
8072
8041
  return;
8073
- const t = Wt(e), n = t.get(i);
8074
- !n || n.size === 0 ? i.removeAttribute(e) : Ns(i, e, He(n)), t.delete(i);
8042
+ const t = jt(e), n = t.get(i);
8043
+ !n || n.size === 0 ? i.removeAttribute(e) : xs(i, e, He(n)), t.delete(i);
8075
8044
  }
8076
- function ut(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
8045
+ function at(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
8077
8046
  if (!i || !e)
8078
8047
  return;
8079
- const { newId: n, oldId: s, fromUser: r } = t, o = Wt(e), a = o.get(i);
8048
+ const { newId: n, oldId: s, fromUser: r } = t, o = jt(e), a = o.get(i);
8080
8049
  if (!r && a) {
8081
8050
  s && a.delete(s), n && a.add(n);
8082
8051
  return;
8083
8052
  }
8084
- r && (a ? n || o.delete(i) : Fs(i, e), Us(i, e)), bo(i, e, s);
8053
+ r && (a ? n || o.delete(i) : Ls(i, e), Ds(i, e)), lo(i, e, s);
8085
8054
  const l = n || He(a);
8086
- l && Ns(i, e, l);
8055
+ l && xs(i, e, l);
8087
8056
  }
8088
- function na(i, e) {
8089
- Fs(i, e), Us(i, e);
8057
+ function Ko(i, e) {
8058
+ Ls(i, e), Ds(i, e);
8090
8059
  }
8091
8060
  /**
8092
8061
  * @license
8093
8062
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8094
8063
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8095
8064
  */
8096
- class ra {
8065
+ class Jo {
8097
8066
  constructor(e) {
8098
8067
  this.host = e, this.__required = !1;
8099
8068
  }
@@ -8166,7 +8135,7 @@ class ra {
8166
8135
  * @private
8167
8136
  * */
8168
8137
  __setAriaLabelToAttribute(e) {
8169
- this.__target && (e ? (na(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", e)) : this.__label && (sa(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
8138
+ this.__target && (e ? (Ko(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", e)) : this.__label && (Wo(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
8170
8139
  }
8171
8140
  /**
8172
8141
  * @param {string | null | undefined} labelId
@@ -8175,7 +8144,7 @@ class ra {
8175
8144
  * @private
8176
8145
  */
8177
8146
  __setLabelIdToAriaAttribute(e, t, n) {
8178
- ut(this.__target, "aria-labelledby", { newId: e, oldId: t, fromUser: n });
8147
+ at(this.__target, "aria-labelledby", { newId: e, oldId: t, fromUser: n });
8179
8148
  }
8180
8149
  /**
8181
8150
  * @param {string | null | undefined} errorId
@@ -8183,7 +8152,7 @@ class ra {
8183
8152
  * @private
8184
8153
  */
8185
8154
  __setErrorIdToAriaAttribute(e, t) {
8186
- ut(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8155
+ at(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8187
8156
  }
8188
8157
  /**
8189
8158
  * @param {string | null | undefined} helperId
@@ -8191,7 +8160,7 @@ class ra {
8191
8160
  * @private
8192
8161
  */
8193
8162
  __setHelperIdToAriaAttribute(e, t) {
8194
- ut(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8163
+ at(this.__target, "aria-describedby", { newId: e, oldId: t, fromUser: !1 });
8195
8164
  }
8196
8165
  /**
8197
8166
  * @param {boolean} required
@@ -8206,7 +8175,7 @@ class ra {
8206
8175
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8207
8176
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8208
8177
  */
8209
- const Bs = b((i) => typeof i.prototype.addController == "function" ? i : class extends i {
8178
+ const Rs = b((i) => typeof i.prototype.addController == "function" ? i : class extends i {
8210
8179
  constructor() {
8211
8180
  super(), this.__controllers = /* @__PURE__ */ new Set();
8212
8181
  }
@@ -8246,9 +8215,9 @@ const Bs = b((i) => typeof i.prototype.addController == "function" ? i : class e
8246
8215
  * Copyright (c) 2022 - 2023 Vaadin Ltd.
8247
8216
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8248
8217
  */
8249
- class Kt extends Ft {
8218
+ class qt extends zt {
8250
8219
  constructor(e, t, n, s = {}) {
8251
- super(e, t, n, je(Ve({}, s), { useUniqueId: !0 }));
8220
+ super(e, t, n, { ...s, useUniqueId: !0 });
8252
8221
  }
8253
8222
  /**
8254
8223
  * Override to initialize the newly added custom node.
@@ -8361,7 +8330,7 @@ class Kt extends Ft {
8361
8330
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8362
8331
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8363
8332
  */
8364
- class oa extends Kt {
8333
+ class Go extends qt {
8365
8334
  constructor(e) {
8366
8335
  super(e, "error-message", "div");
8367
8336
  }
@@ -8443,7 +8412,7 @@ class oa extends Kt {
8443
8412
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8444
8413
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8445
8414
  */
8446
- class aa extends Kt {
8415
+ class Xo extends qt {
8447
8416
  constructor(e) {
8448
8417
  super(e, "helper", null);
8449
8418
  }
@@ -8498,7 +8467,7 @@ class aa extends Kt {
8498
8467
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8499
8468
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8500
8469
  */
8501
- class la extends Kt {
8470
+ class Zo extends qt {
8502
8471
  constructor(e) {
8503
8472
  super(e, "label", "label");
8504
8473
  }
@@ -8551,8 +8520,8 @@ class la extends Kt {
8551
8520
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8552
8521
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8553
8522
  */
8554
- const da = b(
8555
- (i) => class extends Bs(i) {
8523
+ const Qo = b(
8524
+ (i) => class extends Rs(i) {
8556
8525
  static get properties() {
8557
8526
  return {
8558
8527
  /**
@@ -8566,7 +8535,7 @@ const da = b(
8566
8535
  };
8567
8536
  }
8568
8537
  constructor() {
8569
- super(), this._labelController = new la(this), this._labelController.addEventListener("slot-content-changed", (t) => {
8538
+ super(), this._labelController = new Zo(this), this._labelController.addEventListener("slot-content-changed", (t) => {
8570
8539
  this.toggleAttribute("has-label", t.detail.hasContent);
8571
8540
  });
8572
8541
  }
@@ -8594,7 +8563,7 @@ const da = b(
8594
8563
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8595
8564
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8596
8565
  */
8597
- const Vs = b(
8566
+ const zs = b(
8598
8567
  (i) => class extends i {
8599
8568
  static get properties() {
8600
8569
  return {
@@ -8666,7 +8635,7 @@ const Vs = b(
8666
8635
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8667
8636
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8668
8637
  */
8669
- const ua = (i) => class extends Vs(da(Bs(i))) {
8638
+ const ea = (i) => class extends zs(Qo(Rs(i))) {
8670
8639
  static get properties() {
8671
8640
  return {
8672
8641
  /**
@@ -8716,7 +8685,7 @@ const ua = (i) => class extends Vs(da(Bs(i))) {
8716
8685
  return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
8717
8686
  }
8718
8687
  constructor() {
8719
- super(), this._fieldAriaController = new ra(this), this._helperController = new aa(this), this._errorController = new oa(this), this._errorController.addEventListener("slot-content-changed", (t) => {
8688
+ super(), this._fieldAriaController = new Jo(this), this._helperController = new Xo(this), this._errorController = new Go(this), this._errorController.addEventListener("slot-content-changed", (t) => {
8720
8689
  this.toggleAttribute("has-error-message", t.detail.hasContent);
8721
8690
  }), this._labelController.addEventListener("slot-content-changed", (t) => {
8722
8691
  const { hasContent: n, node: s } = t.detail;
@@ -8807,7 +8776,7 @@ const ua = (i) => class extends Vs(da(Bs(i))) {
8807
8776
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8808
8777
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8809
8778
  */
8810
- const ca = b(
8779
+ const ta = b(
8811
8780
  (i) => class extends i {
8812
8781
  static get properties() {
8813
8782
  return {
@@ -8888,8 +8857,8 @@ const ca = b(
8888
8857
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8889
8858
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8890
8859
  */
8891
- const ha = b(
8892
- (i) => class extends ca(Vs(Hs(i))) {
8860
+ const ia = b(
8861
+ (i) => class extends ta(zs(Is(i))) {
8893
8862
  /**
8894
8863
  * An array of attributes which participate in the input validation.
8895
8864
  * Changing these attributes will cause the input to re-validate.
@@ -8973,8 +8942,8 @@ const ha = b(
8973
8942
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
8974
8943
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
8975
8944
  */
8976
- const cl = (i) => class extends Xo(
8977
- Ko(ha(ua(ia(Yt(i)))))
8945
+ const el = (i) => class extends Fo(
8946
+ zo(ia(ea(Yo(Vt(i)))))
8978
8947
  ) {
8979
8948
  static get properties() {
8980
8949
  return {
@@ -9106,7 +9075,7 @@ const cl = (i) => class extends Xo(
9106
9075
  }
9107
9076
  /** @protected */
9108
9077
  _markInputPrevented() {
9109
- this.setAttribute("input-prevented", ""), this._preventInputDebouncer = _e.debounce(this._preventInputDebouncer, po.after(200), () => {
9078
+ this.setAttribute("input-prevented", ""), this._preventInputDebouncer = _e.debounce(this._preventInputDebouncer, so.after(200), () => {
9110
9079
  this.removeAttribute("input-prevented");
9111
9080
  });
9112
9081
  }
@@ -9160,7 +9129,7 @@ const cl = (i) => class extends Xo(
9160
9129
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
9161
9130
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9162
9131
  */
9163
- class fl {
9132
+ class il {
9164
9133
  constructor(e, t) {
9165
9134
  this.input = e, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), t.addEventListener("slot-content-changed", (n) => {
9166
9135
  this.__initLabel(n.detail.node);
@@ -9188,33 +9157,33 @@ class fl {
9188
9157
  this.input.addEventListener("click", e);
9189
9158
  }
9190
9159
  }
9191
- const fa = (i) => i, js = typeof document.head.style.touchAction == "string", Nt = "__polymerGestures", ct = "__polymerGesturesHandled", Ot = "__polymerGesturesTouchAction", Yi = 25, Wi = 5, pa = 2, _a = ["mousedown", "mousemove", "mouseup", "click"], ma = [0, 1, 4, 2], ga = function() {
9160
+ const sa = (i) => i, Hs = typeof document.head.style.touchAction == "string", $t = "__polymerGestures", lt = "__polymerGesturesHandled", St = "__polymerGesturesTouchAction", Fi = 25, Bi = 5, na = 2, ra = ["mousedown", "mousemove", "mouseup", "click"], oa = [0, 1, 4, 2], aa = function() {
9192
9161
  try {
9193
9162
  return new MouseEvent("test", { buttons: 1 }).buttons === 1;
9194
- } catch (i) {
9163
+ } catch {
9195
9164
  return !1;
9196
9165
  }
9197
9166
  }();
9198
- function Jt(i) {
9199
- return _a.indexOf(i) > -1;
9167
+ function Yt(i) {
9168
+ return ra.indexOf(i) > -1;
9200
9169
  }
9201
- let ya = !1;
9170
+ let la = !1;
9202
9171
  (function() {
9203
9172
  try {
9204
9173
  const i = Object.defineProperty({}, "passive", {
9205
9174
  // eslint-disable-next-line getter-return
9206
9175
  get() {
9207
- ya = !0;
9176
+ la = !0;
9208
9177
  }
9209
9178
  });
9210
9179
  window.addEventListener("test", null, i), window.removeEventListener("test", null, i);
9211
- } catch (i) {
9180
+ } catch {
9212
9181
  }
9213
9182
  })();
9214
- function ba(i) {
9215
- Jt(i);
9183
+ function da(i) {
9184
+ Yt(i);
9216
9185
  }
9217
- const va = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), wa = {
9186
+ const ua = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), ca = {
9218
9187
  button: !0,
9219
9188
  command: !0,
9220
9189
  fieldset: !0,
@@ -9227,15 +9196,15 @@ const va = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), wa = {
9227
9196
  };
9228
9197
  function R(i) {
9229
9198
  const e = i.type;
9230
- if (!Jt(e))
9199
+ if (!Yt(e))
9231
9200
  return !1;
9232
9201
  if (e === "mousemove") {
9233
9202
  let n = i.buttons === void 0 ? 1 : i.buttons;
9234
- return i instanceof window.MouseEvent && !ga && (n = ma[i.which] || 0), !!(n & 1);
9203
+ return i instanceof window.MouseEvent && !aa && (n = oa[i.which] || 0), !!(n & 1);
9235
9204
  }
9236
9205
  return (i.button === void 0 ? 0 : i.button) === 0;
9237
9206
  }
9238
- function Aa(i) {
9207
+ function ha(i) {
9239
9208
  if (i.type === "click") {
9240
9209
  if (i.detail === 0)
9241
9210
  return !0;
@@ -9263,24 +9232,24 @@ const P = {
9263
9232
  scrollDecided: !1
9264
9233
  }
9265
9234
  };
9266
- function Ea(i) {
9235
+ function fa(i) {
9267
9236
  let e = "auto";
9268
- const t = Ys(i);
9237
+ const t = Fs(i);
9269
9238
  for (let n = 0, s; n < t.length; n++)
9270
- if (s = t[n], s[Ot]) {
9271
- e = s[Ot];
9239
+ if (s = t[n], s[St]) {
9240
+ e = s[St];
9272
9241
  break;
9273
9242
  }
9274
9243
  return e;
9275
9244
  }
9276
- function qs(i, e, t) {
9245
+ function Us(i, e, t) {
9277
9246
  i.movefn = e, i.upfn = t, document.addEventListener("mousemove", e), document.addEventListener("mouseup", t);
9278
9247
  }
9279
9248
  function Y(i) {
9280
9249
  document.removeEventListener("mousemove", i.movefn), document.removeEventListener("mouseup", i.upfn), i.movefn = null, i.upfn = null;
9281
9250
  }
9282
- const Ys = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], Gt = {}, D = [];
9283
- function Ca(i, e) {
9251
+ const Fs = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (i) => i.composedPath && i.composedPath() || [], Wt = {}, D = [];
9252
+ function pa(i, e) {
9284
9253
  let t = document.elementFromPoint(i, e), n = t;
9285
9254
  for (; n && n.shadowRoot && !window.ShadyDOM; ) {
9286
9255
  const s = n;
@@ -9291,26 +9260,26 @@ function Ca(i, e) {
9291
9260
  return t;
9292
9261
  }
9293
9262
  function T(i) {
9294
- const e = Ys(
9263
+ const e = Fs(
9295
9264
  /** @type {?Event} */
9296
9265
  i
9297
9266
  );
9298
9267
  return e.length > 0 ? e[0] : i.target;
9299
9268
  }
9300
- function xa(i) {
9301
- const e = i.type, n = i.currentTarget[Nt];
9269
+ function _a(i) {
9270
+ const e = i.type, n = i.currentTarget[$t];
9302
9271
  if (!n)
9303
9272
  return;
9304
9273
  const s = n[e];
9305
9274
  if (!s)
9306
9275
  return;
9307
- if (!i[ct] && (i[ct] = {}, e.startsWith("touch"))) {
9276
+ if (!i[lt] && (i[lt] = {}, e.startsWith("touch"))) {
9308
9277
  const o = i.changedTouches[0];
9309
9278
  if (e === "touchstart" && i.touches.length === 1 && (P.touch.id = o.identifier), P.touch.id !== o.identifier)
9310
9279
  return;
9311
- js || (e === "touchstart" || e === "touchmove") && Pa(i);
9280
+ Hs || (e === "touchstart" || e === "touchmove") && ma(i);
9312
9281
  }
9313
- const r = i[ct];
9282
+ const r = i[lt];
9314
9283
  if (!r.skip) {
9315
9284
  for (let o = 0, a; o < D.length; o++)
9316
9285
  a = D[o], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(i.type) > -1 && a.reset && a.reset();
@@ -9318,7 +9287,7 @@ function xa(i) {
9318
9287
  a = D[o], s[a.name] && !r[a.name] && (r[a.name] = !0, a[e](i));
9319
9288
  }
9320
9289
  }
9321
- function Pa(i) {
9290
+ function ma(i) {
9322
9291
  const e = i.changedTouches[0], t = i.type;
9323
9292
  if (t === "touchstart")
9324
9293
  P.touch.x = e.clientX, P.touch.y = e.clientY, P.touch.scrollDecided = !1;
@@ -9326,29 +9295,29 @@ function Pa(i) {
9326
9295
  if (P.touch.scrollDecided)
9327
9296
  return;
9328
9297
  P.touch.scrollDecided = !0;
9329
- const n = Ea(i);
9298
+ const n = fa(i);
9330
9299
  let s = !1;
9331
9300
  const r = Math.abs(P.touch.x - e.clientX), o = Math.abs(P.touch.y - e.clientY);
9332
9301
  i.cancelable && (n === "none" ? s = !0 : n === "pan-x" ? s = o > r : n === "pan-y" && (s = r > o)), s ? i.preventDefault() : De("track");
9333
9302
  }
9334
9303
  }
9335
- function Ki(i, e, t) {
9336
- return Gt[e] ? ($a(i, e, t), !0) : !1;
9304
+ function Vi(i, e, t) {
9305
+ return Wt[e] ? (ga(i, e, t), !0) : !1;
9337
9306
  }
9338
- function $a(i, e, t) {
9339
- const n = Gt[e], s = n.deps, r = n.name;
9340
- let o = i[Nt];
9341
- o || (i[Nt] = o = {});
9307
+ function ga(i, e, t) {
9308
+ const n = Wt[e], s = n.deps, r = n.name;
9309
+ let o = i[$t];
9310
+ o || (i[$t] = o = {});
9342
9311
  for (let a = 0, l, d; a < s.length; a++)
9343
- l = s[a], !(va && Jt(l) && l !== "click") && (d = o[l], d || (o[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, xa, ba(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
9344
- i.addEventListener(e, t), n.touchAction && Ta(i, n.touchAction);
9312
+ l = s[a], !(ua && Yt(l) && l !== "click") && (d = o[l], d || (o[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, _a, da(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
9313
+ i.addEventListener(e, t), n.touchAction && ba(i, n.touchAction);
9345
9314
  }
9346
- function Xt(i) {
9315
+ function Kt(i) {
9347
9316
  D.push(i), i.emits.forEach((e) => {
9348
- Gt[e] = i;
9317
+ Wt[e] = i;
9349
9318
  });
9350
9319
  }
9351
- function Sa(i) {
9320
+ function ya(i) {
9352
9321
  for (let e = 0, t; e < D.length; e++) {
9353
9322
  t = D[e];
9354
9323
  for (let n = 0, s; n < t.emits.length; n++)
@@ -9357,14 +9326,14 @@ function Sa(i) {
9357
9326
  }
9358
9327
  return null;
9359
9328
  }
9360
- function Ta(i, e) {
9361
- js && i instanceof HTMLElement && mo.run(() => {
9329
+ function ba(i, e) {
9330
+ Hs && i instanceof HTMLElement && ro.run(() => {
9362
9331
  i.style.touchAction = e;
9363
- }), i[Ot] = e;
9332
+ }), i[St] = e;
9364
9333
  }
9365
- function Zt(i, e, t) {
9334
+ function Jt(i, e, t) {
9366
9335
  const n = new Event(e, { bubbles: !0, cancelable: !0, composed: !0 });
9367
- if (n.detail = t, fa(
9336
+ if (n.detail = t, sa(
9368
9337
  /** @type {!Node} */
9369
9338
  i
9370
9339
  ).dispatchEvent(n), n.defaultPrevented) {
@@ -9373,10 +9342,10 @@ function Zt(i, e, t) {
9373
9342
  }
9374
9343
  }
9375
9344
  function De(i) {
9376
- const e = Sa(i);
9345
+ const e = ya(i);
9377
9346
  e.info && (e.info.prevent = !0);
9378
9347
  }
9379
- Xt({
9348
+ Kt({
9380
9349
  name: "downup",
9381
9350
  deps: ["mousedown", "touchstart", "touchend"],
9382
9351
  flow: {
@@ -9408,7 +9377,7 @@ Xt({
9408
9377
  }, s = (r) => {
9409
9378
  R(r) && se("up", e, r), Y(t.info);
9410
9379
  };
9411
- qs(this.info, n, s), se("down", e, i);
9380
+ Us(this.info, n, s), se("down", e, i);
9412
9381
  },
9413
9382
  /**
9414
9383
  * @this {GestureRecognizer}
@@ -9428,7 +9397,7 @@ Xt({
9428
9397
  }
9429
9398
  });
9430
9399
  function se(i, e, t, n) {
9431
- e && Zt(e, i, {
9400
+ e && Jt(e, i, {
9432
9401
  x: t.clientX,
9433
9402
  y: t.clientY,
9434
9403
  sourceEvent: t,
@@ -9438,7 +9407,7 @@ function se(i, e, t, n) {
9438
9407
  }
9439
9408
  });
9440
9409
  }
9441
- Xt({
9410
+ Kt({
9442
9411
  name: "track",
9443
9412
  touchAction: "none",
9444
9413
  deps: ["mousedown", "touchstart", "touchmove", "touchend"],
@@ -9455,7 +9424,7 @@ Xt({
9455
9424
  moves: [],
9456
9425
  /** @this {GestureInfo} */
9457
9426
  addMove(i) {
9458
- this.moves.length > pa && this.moves.shift(), this.moves.push(i);
9427
+ this.moves.length > na && this.moves.shift(), this.moves.push(i);
9459
9428
  },
9460
9429
  movefn: null,
9461
9430
  upfn: null,
@@ -9478,11 +9447,11 @@ Xt({
9478
9447
  return;
9479
9448
  const e = T(i), t = this, n = (r) => {
9480
9449
  const o = r.clientX, a = r.clientY;
9481
- Ji(t.info, o, a) && (t.info.state = t.info.started ? r.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && De("tap"), t.info.addMove({ x: o, y: a }), R(r) || (t.info.state = "end", Y(t.info)), e && ht(t.info, e, r), t.info.started = !0);
9450
+ ji(t.info, o, a) && (t.info.state = t.info.started ? r.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && De("tap"), t.info.addMove({ x: o, y: a }), R(r) || (t.info.state = "end", Y(t.info)), e && dt(t.info, e, r), t.info.started = !0);
9482
9451
  }, s = (r) => {
9483
9452
  t.info.started && n(r), Y(t.info);
9484
9453
  };
9485
- qs(this.info, n, s), this.info.x = i.clientX, this.info.y = i.clientY;
9454
+ Us(this.info, n, s), this.info.x = i.clientX, this.info.y = i.clientY;
9486
9455
  },
9487
9456
  /**
9488
9457
  * @this {GestureRecognizer}
@@ -9500,7 +9469,7 @@ Xt({
9500
9469
  */
9501
9470
  touchmove(i) {
9502
9471
  const e = T(i), t = i.changedTouches[0], n = t.clientX, s = t.clientY;
9503
- Ji(this.info, n, s) && (this.info.state === "start" && De("tap"), this.info.addMove({ x: n, y: s }), ht(this.info, e, t), this.info.state = "track", this.info.started = !0);
9472
+ ji(this.info, n, s) && (this.info.state === "start" && De("tap"), this.info.addMove({ x: n, y: s }), dt(this.info, e, t), this.info.state = "track", this.info.started = !0);
9504
9473
  },
9505
9474
  /**
9506
9475
  * @this {GestureRecognizer}
@@ -9509,23 +9478,23 @@ Xt({
9509
9478
  */
9510
9479
  touchend(i) {
9511
9480
  const e = T(i), t = i.changedTouches[0];
9512
- this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), ht(this.info, e, t));
9481
+ this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), dt(this.info, e, t));
9513
9482
  }
9514
9483
  });
9515
- function Ji(i, e, t) {
9484
+ function ji(i, e, t) {
9516
9485
  if (i.prevent)
9517
9486
  return !1;
9518
9487
  if (i.started)
9519
9488
  return !0;
9520
9489
  const n = Math.abs(i.x - e), s = Math.abs(i.y - t);
9521
- return n >= Wi || s >= Wi;
9490
+ return n >= Bi || s >= Bi;
9522
9491
  }
9523
- function ht(i, e, t) {
9492
+ function dt(i, e, t) {
9524
9493
  if (!e)
9525
9494
  return;
9526
9495
  const n = i.moves[i.moves.length - 2], s = i.moves[i.moves.length - 1], r = s.x - i.x, o = s.y - i.y;
9527
9496
  let a, l = 0;
9528
- n && (a = s.x - n.x, l = s.y - n.y), Zt(e, "track", {
9497
+ n && (a = s.x - n.x, l = s.y - n.y), Jt(e, "track", {
9529
9498
  state: i.state,
9530
9499
  x: t.clientX,
9531
9500
  y: t.clientY,
@@ -9535,11 +9504,11 @@ function ht(i, e, t) {
9535
9504
  ddy: l,
9536
9505
  sourceEvent: t,
9537
9506
  hover() {
9538
- return Ca(t.clientX, t.clientY);
9507
+ return pa(t.clientX, t.clientY);
9539
9508
  }
9540
9509
  });
9541
9510
  }
9542
- Xt({
9511
+ Kt({
9543
9512
  name: "tap",
9544
9513
  deps: ["mousedown", "click", "touchstart", "touchend"],
9545
9514
  flow: {
@@ -9573,7 +9542,7 @@ Xt({
9573
9542
  * @return {void}
9574
9543
  */
9575
9544
  click(i) {
9576
- R(i) && Gi(this.info, i);
9545
+ R(i) && qi(this.info, i);
9577
9546
  },
9578
9547
  /**
9579
9548
  * @this {GestureRecognizer}
@@ -9590,15 +9559,15 @@ Xt({
9590
9559
  * @return {void}
9591
9560
  */
9592
9561
  touchend(i) {
9593
- Gi(this.info, i.changedTouches[0], i);
9562
+ qi(this.info, i.changedTouches[0], i);
9594
9563
  }
9595
9564
  });
9596
- function Gi(i, e, t) {
9565
+ function qi(i, e, t) {
9597
9566
  const n = Math.abs(e.clientX - i.x), s = Math.abs(e.clientY - i.y), r = T(t || e);
9598
- !r || wa[
9567
+ !r || ca[
9599
9568
  /** @type {!HTMLElement} */
9600
9569
  r.localName
9601
- ] && r.hasAttribute("disabled") || (isNaN(n) || isNaN(s) || n <= Yi && s <= Yi || Aa(e)) && (i.prevent || Zt(r, "tap", {
9570
+ ] && r.hasAttribute("disabled") || (isNaN(n) || isNaN(s) || n <= Fi && s <= Fi || ha(e)) && (i.prevent || Jt(r, "tap", {
9602
9571
  x: e.clientX,
9603
9572
  y: e.clientY,
9604
9573
  sourceEvent: e,
@@ -9610,7 +9579,7 @@ function Gi(i, e, t) {
9610
9579
  * Copyright (c) 2021 - 2023 Vaadin Ltd.
9611
9580
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
9612
9581
  */
9613
- const pl = (i) => class extends zs(Yt(i)) {
9582
+ const sl = (i) => class extends ks(Vt(i)) {
9614
9583
  /**
9615
9584
  * An array of activation keys.
9616
9585
  *
@@ -9625,9 +9594,9 @@ const pl = (i) => class extends zs(Yt(i)) {
9625
9594
  }
9626
9595
  /** @protected */
9627
9596
  ready() {
9628
- super.ready(), Ki(this, "down", (t) => {
9597
+ super.ready(), Vi(this, "down", (t) => {
9629
9598
  this._shouldSetActive(t) && this._setActive(!0);
9630
- }), Ki(this, "up", () => {
9599
+ }), Vi(this, "up", () => {
9631
9600
  this._setActive(!1);
9632
9601
  });
9633
9602
  }
@@ -9669,63 +9638,63 @@ const pl = (i) => class extends zs(Yt(i)) {
9669
9638
  }
9670
9639
  };
9671
9640
  export {
9672
- Nn as $,
9673
- pl as A,
9641
+ vn as $,
9642
+ sl as A,
9674
9643
  _e as B,
9675
- Bs as C,
9676
- zs as D,
9677
- Ha as E,
9678
- ua as F,
9679
- po as G,
9680
- ha as H,
9681
- cl as I,
9682
- Va as J,
9683
- Yt as K,
9684
- fl as L,
9685
- mo as M,
9686
- _o as N,
9687
- Ra as O,
9688
- eo as P,
9689
- za as Q,
9690
- go as R,
9691
- wo as S,
9692
- Ba as T,
9693
- il as U,
9694
- Vs as V,
9695
- Ya as W,
9696
- ta as X,
9697
- qa as Y,
9698
- gt as Z,
9699
- In as _,
9644
+ Rs as C,
9645
+ ks as D,
9646
+ Sa as E,
9647
+ ea as F,
9648
+ so as G,
9649
+ ia as H,
9650
+ el as I,
9651
+ Ma as J,
9652
+ Vt as K,
9653
+ il as L,
9654
+ ro as M,
9655
+ no as N,
9656
+ Pa as O,
9657
+ jr as P,
9658
+ $a as Q,
9659
+ oo as R,
9660
+ co as S,
9661
+ Oa as T,
9662
+ qa as U,
9663
+ zs as V,
9664
+ Da as W,
9665
+ qo as X,
9666
+ Ia as Y,
9667
+ pt as Z,
9668
+ Cn as _,
9700
9669
  b as a,
9701
- $s as a0,
9702
- Wa as a1,
9703
- el as a2,
9704
- Eo as a3,
9705
- Dn as a4,
9706
- Yo as b,
9707
- vn as c,
9708
- Xi as d,
9709
- Wr as e,
9710
- ja as f,
9711
- wn as g,
9712
- Qr as h,
9670
+ As as a0,
9671
+ La as a1,
9672
+ Va as a2,
9673
+ fo as a3,
9674
+ xn as a4,
9675
+ Lo as b,
9676
+ un as c,
9677
+ Yi as d,
9678
+ Rr as e,
9679
+ ka as f,
9680
+ cn as g,
9681
+ Vr as h,
9713
9682
  N as i,
9714
- ca as j,
9715
- Hs as k,
9716
- da as l,
9717
- Ko as m,
9718
- Wo as n,
9719
- tl as o,
9720
- Fa as p,
9721
- Ia as q,
9722
- Dt as r,
9723
- ka as s,
9683
+ ta as j,
9684
+ Is as k,
9685
+ Qo as l,
9686
+ zo as m,
9687
+ Ro as n,
9688
+ ja as o,
9689
+ Na as p,
9690
+ Ea as q,
9691
+ Mt as r,
9692
+ Aa as s,
9724
9693
  Oe as t,
9725
- Da as u,
9726
- Zn as v,
9694
+ Ca as u,
9695
+ Bn as v,
9727
9696
  L as w,
9728
- Ki as x,
9729
- Ta as y,
9730
- Ft as z
9697
+ Vi as x,
9698
+ ba as y,
9699
+ zt as z
9731
9700
  };