@everymatrix/player-account-controller 1.74.8 → 1.74.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GeneralLogout-COm1JcKW.cjs +21 -0
- package/components/{GeneralLogout-DIRnj10H.js → GeneralLogout-CiyGpZGU.js} +1284 -1298
- package/components/{GeneralLogout-Dd4n6Kp2.js → GeneralLogout-Vg76ri4V.js} +1308 -1322
- package/components/PlayerAccountBettingHistory-Bv1Qcp8m.js +311 -0
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +1 -0
- package/components/PlayerAccountBettingHistory-Dn9IsrIP.js +310 -0
- package/components/{PlayerAccountBiometrics-D8lv7JzY.js → PlayerAccountBiometrics-C2wumiJ3.js} +5 -5
- package/components/{PlayerAccountBiometrics-DzUvqvfR.js → PlayerAccountBiometrics-CH9MN1vT.js} +5 -5
- package/components/{PlayerAccountBiometrics-N164JTVo.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
- package/components/{PlayerAccountClosure-B7LJRfF_.js → PlayerAccountClosure-BqrCJaGp.js} +6 -6
- package/components/{PlayerAccountClosure-ByNnHtUf.cjs → PlayerAccountClosure-DG5NrDqY.cjs} +1 -1
- package/components/{PlayerAccountClosure-VNjXTTeE.js → PlayerAccountClosure-Dda9CHdX.js} +6 -6
- package/components/{PlayerAccountController-BNFenXlV.js → PlayerAccountController-BeY5S0EH.js} +209 -209
- package/components/{PlayerAccountController-4zAuIhXb.js → PlayerAccountController-Cu59Kubb.js} +209 -209
- package/components/{PlayerAccountController-B53eiCm2.cjs → PlayerAccountController-MSqVuCPp.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DLyOkU8g.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BPAFyYb5.js → PlayerAccountGamingLimits-CJksEBIA.js} +124 -124
- package/components/{PlayerAccountGamingLimits-CSFkUiYY.js → PlayerAccountGamingLimits-CqPkjNdS.js} +124 -124
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DON2ejFa.js → PlayerAccountGamingLimitsConfirmationModal-BX8_aYoz.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-De1JAgPX.js → PlayerAccountGamingLimitsConfirmationModal-CfPKMMkU.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-CrgfBvua.js → PlayerAccountGamingLimitsGroupEdit-Ageqronh.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-B4l5VAbb.js → PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs → PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsHistory2-x-v5JjhN.cjs → PlayerAccountGamingLimitsHistory2-B6QgZ3Qd.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-RFRr_X30.js → PlayerAccountGamingLimitsHistory2-BusoJL-w.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-BRgxAXo_.js → PlayerAccountGamingLimitsHistory2-kH5zBkQX.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BRDuV_cd.js → PlayerAccountGamingLimitsInfoCard-BHAREEgX.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-BiwEIF0r.js → PlayerAccountGamingLimitsInfoCard-BvQ7pktR.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CwwjENW0.js → PlayerAccountGamingLimitsPage2Gm16-CAVf4Y-G.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BWA71CAl.js → PlayerAccountGamingLimitsPage2Gm16-DJHbna0W.js} +39 -39
- package/components/{PlayerAccountGamingLimitsPage2Gm16--rQhVE1q.cjs → PlayerAccountGamingLimitsPage2Gm16-ryQx6oP1.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPopup-Biyoz4lK.js → PlayerAccountGamingLimitsPopup-Bl1xoGPY.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-cBscDgFe.js → PlayerAccountGamingLimitsPopup-D0ltWJSo.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BIcWUcMl.cjs → PlayerAccountGamingLimitsWrapper2-BSqP4Sd8.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-D0KtfHqJ.js → PlayerAccountGamingLimitsWrapper2-nO_niNOc.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2-BsvByvpk.js → PlayerAccountGamingLimitsWrapper2-vu5v2bbv.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-BNoE_P3G.js → PlayerAccountGeneralConfirmationModal-JvzRw4bx.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-q4Du5zdg.js → PlayerAccountGeneralConfirmationModal-T_JYxL62.js} +53 -53
- package/components/{PlayerAccountMenu-BicTGCSZ.js → PlayerAccountMenu-C4sG1dhf.js} +7 -7
- package/components/{PlayerAccountMenu-BbdWpRLe.js → PlayerAccountMenu-DPpd0Onj.js} +7 -7
- package/components/{PlayerAccountMenu-CVBew6Nf.cjs → PlayerAccountMenu-JDfi5y52.cjs} +1 -1
- package/components/{PlayerAccountModal-Day4vMPZ.js → PlayerAccountModal-BGCTA59j.js} +10 -10
- package/components/{PlayerAccountModal-J-6B3L2x.js → PlayerAccountModal-DkyQ5JIi.js} +10 -10
- package/components/{PlayerAccountModal-DaIBO9tP.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BbvJAh0S.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
- package/components/{PlayerAccountNotifications-wc_EBqY2.js → PlayerAccountNotifications-DTtMvV8M.js} +6 -6
- package/components/{PlayerAccountNotifications-PuDZBFQ4.js → PlayerAccountNotifications-OJnPC108.js} +6 -6
- package/components/{PlayerAccountProductRestriction-DJUublp5.cjs → PlayerAccountProductRestriction-BJ0LFpLp.cjs} +268 -268
- package/components/{PlayerAccountProductRestriction-BVD0VXs9.js → PlayerAccountProductRestriction-BtXJwF14.js} +2517 -2521
- package/components/{PlayerAccountProductRestriction-BA3Ht4v0.js → PlayerAccountProductRestriction-DSjfzN0L.js} +2494 -2498
- package/components/{PlayerAccountSelfExclusion-B9rXp_dv.js → PlayerAccountSelfExclusion-BFhhj0lU.js} +829 -830
- package/components/{PlayerAccountSelfExclusion-BwFD6ZJu.js → PlayerAccountSelfExclusion-CLHfQEii.js} +846 -847
- package/components/{PlayerAccountSelfExclusion-CwlTQfYm.cjs → PlayerAccountSelfExclusion-CdvQXAjK.cjs} +152 -152
- package/components/{PlayerAccountTimeout-DfxFUM4s.js → PlayerAccountTimeout-Dfa2jJXc.js} +43 -43
- package/components/{PlayerAccountTimeout-CPLGI8jX.cjs → PlayerAccountTimeout-Dhey1QrR.cjs} +1 -1
- package/components/{PlayerAccountTimeout-mAcIWL2w.js → PlayerAccountTimeout-lsP1D_FM.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-D_Rh7xzG.js → PlayerAccountTransactionsHistory-BumeG74E.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-B61bTygv.js → PlayerAccountTransactionsHistory-e7LnmN2n.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-J6QX4Mo6.cjs → PlayerAccountTransactionsHistory-x6Mj8Vqc.cjs} +1 -1
- package/components/{PlayerActiveBonuses-lflDqCU8.js → PlayerActiveBonuses-BWfdGowJ.js} +6 -6
- package/components/{PlayerActiveBonuses-DBGj3lj2.js → PlayerActiveBonuses-DcuRFKFP.js} +6 -6
- package/components/{PlayerActiveBonuses-VMRnoY1_.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
- package/components/{PlayerBonusCard-D68dTYiw.js → PlayerBonusCard-CkEs_ikq.js} +7 -7
- package/components/{PlayerBonusCard-B58kMR83.js → PlayerBonusCard-D8XTVs99.js} +7 -7
- package/components/{PlayerBonusCard-KehruUku.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
- package/components/{PlayerBonusHistory-WEjZxD6T.cjs → PlayerBonusHistory-BmeRyaDK.cjs} +1 -1
- package/components/{PlayerBonusHistory-BZz5QP4A.js → PlayerBonusHistory-CTKJuEJG.js} +7 -7
- package/components/{PlayerBonusHistory-BxcxPRN7.js → PlayerBonusHistory-DmYF8qYy.js} +7 -7
- package/components/{PlayerChangePassword-VQJYG-HQ.js → PlayerChangePassword-Cc15tSRv.js} +4 -4
- package/components/{PlayerChangePassword-DYpl0DV7.cjs → PlayerChangePassword-CfCN79eP.cjs} +1 -1
- package/components/{PlayerChangePassword-CQqQIyDU.js → PlayerChangePassword-Hj0mD9xL.js} +4 -4
- package/components/{PlayerDeposit-R4oRYCP7.js → PlayerDeposit-Bm1DOHlW.js} +73 -73
- package/components/{PlayerDeposit-nin4U--Y.js → PlayerDeposit-BpS3fS46.js} +73 -73
- package/components/PlayerDeposit-CmBFg6tX.cjs +1 -0
- package/components/{PlayerGamingHistory-VnHkfl2z.js → PlayerGamingHistory-B9lwGb0Z.js} +60 -60
- package/components/{PlayerGamingHistory-CN6XDOWB.js → PlayerGamingHistory-Bew4OVxF.js} +53 -53
- package/components/{PlayerGamingHistory-BxN4Cjj3.cjs → PlayerGamingHistory-F3yi70Vu.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DfQ_PvkY.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-adHFXpiC.js → PlayerPendingWithdrawals-pfC5sUpM.js} +6 -6
- package/components/{PlayerPendingWithdrawals-C1tt1OJl.js → PlayerPendingWithdrawals-scSFcYAA.js} +6 -6
- package/components/{PlayerProfileInfo-DpEH00v-.js → PlayerProfileInfo-1ELKHIQs.js} +108 -108
- package/components/{PlayerProfileInfo-CKJNYYA8.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
- package/components/{PlayerProfileInfo-CrGJ1yEi.js → PlayerProfileInfo-DYvdUkJZ.js} +95 -95
- package/components/{PlayerRealityCheck-CTGhzTwa.js → PlayerRealityCheck-DLPtMaP7.js} +6 -6
- package/components/{PlayerRealityCheck-Cq2rIALW.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
- package/components/{PlayerRealityCheck-JkP_hy_p.js → PlayerRealityCheck-pQWsLK1G.js} +6 -6
- package/components/{PlayerTransactionHistory-CQPQw37D.js → PlayerTransactionHistory-B7ts1zGr.js} +6 -6
- package/components/{PlayerTransactionHistory-DQfalEXN.js → PlayerTransactionHistory-CUa0IaZD.js} +6 -6
- package/components/{PlayerTransactionHistory-DPvvu8Wp.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
- package/components/{PlayerWithdrawal-11j92uAk.js → PlayerWithdrawal-BTfz-sCc.js} +6 -6
- package/components/{PlayerWithdrawal-yB5c-nTz.js → PlayerWithdrawal-DYVDpOnE.js} +6 -6
- package/components/{PlayerWithdrawal-BcaC1sEF.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-BBaHCJ8m.js → checkbox-group-input_15-7ljokaYC.js} +3225 -3231
- package/stencil/{checkbox-group-input_15-B47EbzkJ.js → checkbox-group-input_15-BzU_0jJ_.js} +3221 -3227
- package/stencil/{checkbox-group-input_15-BPXIBJ9O.cjs → checkbox-group-input_15-Fs7-YN7u.cjs} +271 -271
- package/stencil/{index-13661b98-D93Apl47.js → index-13661b98-BJM2hHx6.js} +124 -124
- package/stencil/{index-13661b98-BzYpZXJ-.js → index-13661b98-Cty_Ct2m.js} +245 -245
- package/stencil/index-13661b98-DuhNdmHd.cjs +1 -0
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
- package/stencil/index-1ef3a64c-DQk1yZfC.js +556 -0
- package/stencil/{index-1ef3a64c-BJwg6KZV.js → index-1ef3a64c-DuKSFSN8.js} +201 -201
- package/stencil/{index-7c5e707a-BZ26MA7_.js → index-7c5e707a-B54Yjxc3.js} +135 -135
- package/stencil/{index-7c5e707a-CVVnpkZ1.js → index-7c5e707a-BHFN5Fx4.js} +145 -145
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +1 -0
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +1 -0
- package/stencil/{index-9c0f6c58-DH5Ki39B.js → index-9c0f6c58-GCIFeGLp.js} +118 -118
- package/stencil/{index-9c0f6c58-8sXzcKbt.js → index-9c0f6c58-Ucwc3Jk1.js} +223 -223
- package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
- package/stencil/{index-b2193545-DfDFpDFs.js → index-b2193545-DPKCFIaU.js} +169 -169
- package/stencil/{index-b2193545-BekNYO1T.js → index-b2193545-LzjWxki5.js} +176 -176
- package/stencil/{pam-change-password-h1ivBSP6.js → pam-change-password-Bdu7Bk_h.js} +1 -1
- package/stencil/{pam-change-password-9bMd9dOQ.js → pam-change-password-DSAfkY23.js} +1 -1
- package/stencil/{pam-change-password-af5033a0-BdPXYjRb.js → pam-change-password-af5033a0-BfWHc1Rw.js} +59 -59
- package/stencil/{pam-change-password-af5033a0-CPFagM2l.cjs → pam-change-password-af5033a0-C18GwNdS.cjs} +2 -2
- package/stencil/{pam-change-password-af5033a0-CXI6y6VZ.js → pam-change-password-af5033a0-DYGjeRTR.js} +59 -59
- package/stencil/{pam-change-password-D9deCtek.cjs → pam-change-password-mcRyjsPo.cjs} +1 -1
- package/stencil/{player-kyc-verification-u-XUlDen.js → player-kyc-verification-B9ZaCq1K.js} +1 -1
- package/stencil/{player-kyc-verification-DW2tWbg_.cjs → player-kyc-verification-D10m225z.cjs} +1 -1
- package/stencil/{player-kyc-verification-BJuBsd7A.js → player-kyc-verification-Wsswi9br.js} +1 -1
- package/stencil/{ui-skeleton-CnxOhYAT.js → ui-skeleton-2XsWxl4S.js} +2 -2
- package/stencil/{ui-skeleton-Bez-iF-R.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
- package/stencil/{ui-skeleton-CScGJdv_.js → ui-skeleton-LneRlsD3.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-Bl0_r9TX.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-D37mmp9J.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CXRVKjq-.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
- package/stencil/{user-deposit-withdrawal-KqJCF9Hl.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-B7dnuKq0.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
- package/stencil/{user-deposit-withdrawal-ar8K3Kn7.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
- package/stencil/{user-transaction-history-o1zvVNkt.js → user-transaction-history-BrBScppC.js} +600 -600
- package/stencil/{user-transaction-history-D86WcqZY.js → user-transaction-history-D0jBcRwe.js} +588 -588
- package/stencil/user-transaction-history-HA_tfHfo.cjs +1 -0
- package/components/GeneralLogout-TofSUXEw.cjs +0 -21
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +0 -1
- package/components/PlayerAccountBettingHistory-CuMJRUaH.js +0 -310
- package/components/PlayerAccountBettingHistory-ZZH1M51O.js +0 -311
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +0 -1
- package/components/PlayerDeposit-BLDWbMBK.cjs +0 -1
- package/stencil/index-13661b98-DBuU9Lk0.cjs +0 -1
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +0 -1
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +0 -556
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +0 -1
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +0 -1
- package/stencil/index-b2193545-BteAUmdh.cjs +0 -1
- package/stencil/user-transaction-history-xgpDQYWU.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-B9rXp_dv.js → PlayerAccountSelfExclusion-BFhhj0lU.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a5 as
|
|
2
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
3
|
-
import "../stencil/ui-skeleton-
|
|
4
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a5 as Sr, a6 as Ar, a as Cr, $ as Pr, S as kr, i as Dr, f as ie, c as Tr, s as Mr, b as Or, e as w, k as de, o as li, p as he, q as Ir, u as Fr, v as Nr, x as oo, y as zr, z as Lr, A as Rr, O as so, d as O, t as ne, w as Ee, g as E, j as Ve, l as f, m as Tt, n as ue, P as Br, r as Hr, h as S, Z as Wt, B as $r } from "./GeneralLogout-CiyGpZGU.js";
|
|
2
|
+
import { d as xe } from "./PlayerAccountProductRestriction-DSjfzN0L.js";
|
|
3
|
+
import "../stencil/ui-skeleton-LneRlsD3.js";
|
|
4
|
+
import "./PlayerAccountGamingLimitsGroupEdit-BD9SWhvO.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -28,18 +28,18 @@ function be(o, t = "24.5.10") {
|
|
|
28
28
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
29
29
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30
30
|
*/
|
|
31
|
-
class
|
|
31
|
+
class Yr extends HTMLElement {
|
|
32
32
|
static get is() {
|
|
33
33
|
return "vaadin-lumo-styles";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
be(
|
|
36
|
+
be(Yr);
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const kt = globalThis, Oi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ii = Symbol(),
|
|
42
|
+
const kt = globalThis, Oi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ii = Symbol(), ro = /* @__PURE__ */ new WeakMap();
|
|
43
43
|
let Fi = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
45
|
if (this._$cssResult$ = !0, i !== Ii)
|
|
@@ -51,7 +51,7 @@ let Fi = class {
|
|
|
51
51
|
const e = this.t;
|
|
52
52
|
if (Oi && t === void 0) {
|
|
53
53
|
const i = e !== void 0 && e.length === 1;
|
|
54
|
-
i && (t =
|
|
54
|
+
i && (t = ro.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ro.set(e, t));
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ let Fi = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const jr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), P = (o, ...t) => {
|
|
63
63
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
64
64
|
if (n._$cssResult$ === !0)
|
|
65
65
|
return n.cssText;
|
|
@@ -68,7 +68,7 @@ const Vr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
68
68
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
69
69
|
})(s) + o[r + 1], o[0]);
|
|
70
70
|
return new Fi(e, o, Ii);
|
|
71
|
-
},
|
|
71
|
+
}, Xo = (o, t) => {
|
|
72
72
|
if (Oi)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
74
74
|
else
|
|
@@ -76,21 +76,21 @@ const Vr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
76
76
|
const i = document.createElement("style"), s = kt.litNonce;
|
|
77
77
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
78
78
|
}
|
|
79
|
-
},
|
|
79
|
+
}, no = Oi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
80
80
|
let e = "";
|
|
81
81
|
for (const i of t.cssRules)
|
|
82
82
|
e += i.cssText;
|
|
83
|
-
return
|
|
83
|
+
return jr(e);
|
|
84
84
|
})(o) : o;
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is:
|
|
90
|
+
const { is: Vr, defineProperty: Ur, getOwnPropertyDescriptor: Wr, getOwnPropertyNames: qr, getOwnPropertySymbols: Kr, getPrototypeOf: Gr } = Object, Bt = globalThis, ao = Bt.trustedTypes, Jr = ao ? ao.emptyScript : "", Xr = Bt.reactiveElementPolyfillSupport, ut = (o, t) => o, ci = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
|
-
o = o ?
|
|
93
|
+
o = o ? Jr : null;
|
|
94
94
|
break;
|
|
95
95
|
case Object:
|
|
96
96
|
case Array:
|
|
@@ -115,7 +115,7 @@ const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} },
|
|
118
|
+
} }, Zo = (o, t) => !Vr(o, t), lo = { attribute: !0, type: String, converter: ci, reflect: !1, hasChanged: Zo };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Bt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class We extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -124,14 +124,14 @@ class We extends HTMLElement {
|
|
|
124
124
|
static get observedAttributes() {
|
|
125
125
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
126
126
|
}
|
|
127
|
-
static createProperty(t, e =
|
|
127
|
+
static createProperty(t, e = lo) {
|
|
128
128
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
129
129
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
130
|
-
s !== void 0 &&
|
|
130
|
+
s !== void 0 && Ur(this.prototype, t, s);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
static getPropertyDescriptor(t, e, i) {
|
|
134
|
-
const { get: s, set: r } =
|
|
134
|
+
const { get: s, set: r } = Wr(this.prototype, t) ?? { get() {
|
|
135
135
|
return this[e];
|
|
136
136
|
}, set(n) {
|
|
137
137
|
this[e] = n;
|
|
@@ -144,19 +144,19 @@ class We extends HTMLElement {
|
|
|
144
144
|
}, configurable: !0, enumerable: !0 };
|
|
145
145
|
}
|
|
146
146
|
static getPropertyOptions(t) {
|
|
147
|
-
return this.elementProperties.get(t) ??
|
|
147
|
+
return this.elementProperties.get(t) ?? lo;
|
|
148
148
|
}
|
|
149
149
|
static _$Ei() {
|
|
150
150
|
if (this.hasOwnProperty(ut("elementProperties")))
|
|
151
151
|
return;
|
|
152
|
-
const t =
|
|
152
|
+
const t = Gr(this);
|
|
153
153
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
154
154
|
}
|
|
155
155
|
static finalize() {
|
|
156
156
|
if (this.hasOwnProperty(ut("finalized")))
|
|
157
157
|
return;
|
|
158
158
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ut("properties"))) {
|
|
159
|
-
const e = this.properties, i = [...
|
|
159
|
+
const e = this.properties, i = [...qr(e), ...Kr(e)];
|
|
160
160
|
for (const s of i)
|
|
161
161
|
this.createProperty(s, e[s]);
|
|
162
162
|
}
|
|
@@ -179,9 +179,9 @@ class We extends HTMLElement {
|
|
|
179
179
|
if (Array.isArray(t)) {
|
|
180
180
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
181
181
|
for (const s of i)
|
|
182
|
-
e.unshift(
|
|
182
|
+
e.unshift(no(s));
|
|
183
183
|
} else
|
|
184
|
-
t !== void 0 && e.push(
|
|
184
|
+
t !== void 0 && e.push(no(t));
|
|
185
185
|
return e;
|
|
186
186
|
}
|
|
187
187
|
static _$Eu(t, e) {
|
|
@@ -208,7 +208,7 @@ class We extends HTMLElement {
|
|
|
208
208
|
}
|
|
209
209
|
createRenderRoot() {
|
|
210
210
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
211
|
-
return
|
|
211
|
+
return Xo(t, this.constructor.elementStyles), t;
|
|
212
212
|
}
|
|
213
213
|
connectedCallback() {
|
|
214
214
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -237,7 +237,7 @@ class We extends HTMLElement {
|
|
|
237
237
|
}
|
|
238
238
|
requestUpdate(t, e, i) {
|
|
239
239
|
if (t !== void 0) {
|
|
240
|
-
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ??
|
|
240
|
+
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? Zo)(this[t], e))
|
|
241
241
|
return;
|
|
242
242
|
this.P(t, e, i);
|
|
243
243
|
}
|
|
@@ -307,39 +307,39 @@ class We extends HTMLElement {
|
|
|
307
307
|
firstUpdated(t) {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[ut("elementProperties")] = /* @__PURE__ */ new Map(), We[ut("finalized")] = /* @__PURE__ */ new Map(),
|
|
310
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[ut("elementProperties")] = /* @__PURE__ */ new Map(), We[ut("finalized")] = /* @__PURE__ */ new Map(), Xr?.({ ReactiveElement: We }), (Bt.reactiveElementVersions ??= []).push("2.0.4");
|
|
311
311
|
/**
|
|
312
312
|
* @license
|
|
313
313
|
* Copyright 2017 Google LLC
|
|
314
314
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
315
315
|
*/
|
|
316
|
-
const Ni = globalThis, Mt = Ni.trustedTypes,
|
|
317
|
-
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
318
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
319
|
-
function
|
|
316
|
+
const Ni = globalThis, Mt = Ni.trustedTypes, co = Mt ? Mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Qo = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, es = "?" + De, Zr = `<${es}>`, He = document, ht = () => He.createComment(""), pt = (o) => o === null || typeof o != "object" && typeof o != "function", zi = Array.isArray, Qr = (o) => zi(o) || typeof o?.[Symbol.iterator] == "function", qt = `[
|
|
317
|
+
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, uo = /-->/g, ho = />/g, Ne = RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^
|
|
318
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), po = /'/g, fo = /"/g, ts = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), mo = /* @__PURE__ */ new WeakMap(), ze = He.createTreeWalker(He, 129);
|
|
319
|
+
function is(o, t) {
|
|
320
320
|
if (!zi(o) || !o.hasOwnProperty("raw"))
|
|
321
321
|
throw Error("invalid template strings array");
|
|
322
|
-
return
|
|
322
|
+
return co !== void 0 ? co.createHTML(t) : t;
|
|
323
323
|
}
|
|
324
|
-
const
|
|
324
|
+
const en = (o, t) => {
|
|
325
325
|
const e = o.length - 1, i = [];
|
|
326
326
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = ot;
|
|
327
327
|
for (let a = 0; a < e; a++) {
|
|
328
328
|
const l = o[a];
|
|
329
329
|
let c, u, d = -1, h = 0;
|
|
330
330
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
331
|
-
h = n.lastIndex, n === ot ? u[1] === "!--" ? n =
|
|
331
|
+
h = n.lastIndex, n === ot ? u[1] === "!--" ? n = uo : u[1] !== void 0 ? n = ho : u[2] !== void 0 ? (ts.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Ne) : u[3] !== void 0 && (n = Ne) : n === Ne ? u[0] === ">" ? (n = s ?? ot, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Ne : u[3] === '"' ? fo : po) : n === fo || n === po ? n = Ne : n === uo || n === ho ? n = ot : (n = Ne, s = void 0);
|
|
332
332
|
const m = n === Ne && o[a + 1].startsWith("/>") ? " " : "";
|
|
333
|
-
r += n === ot ? l +
|
|
333
|
+
r += n === ot ? l + Zr : d >= 0 ? (i.push(c), l.slice(0, d) + Qo + l.slice(d) + De + m) : l + De + (d === -2 ? a : m);
|
|
334
334
|
}
|
|
335
|
-
return [
|
|
335
|
+
return [is(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
336
336
|
};
|
|
337
337
|
class ft {
|
|
338
338
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
339
339
|
let s;
|
|
340
340
|
this.parts = [];
|
|
341
341
|
let r = 0, n = 0;
|
|
342
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
342
|
+
const a = t.length - 1, l = this.parts, [c, u] = en(t, e);
|
|
343
343
|
if (this.el = ft.createElement(c, i), ze.currentNode = this.el.content, e === 2 || e === 3) {
|
|
344
344
|
const d = this.el.content.firstChild;
|
|
345
345
|
d.replaceWith(...d.childNodes);
|
|
@@ -348,12 +348,12 @@ class ft {
|
|
|
348
348
|
if (s.nodeType === 1) {
|
|
349
349
|
if (s.hasAttributes())
|
|
350
350
|
for (const d of s.getAttributeNames())
|
|
351
|
-
if (d.endsWith(
|
|
351
|
+
if (d.endsWith(Qo)) {
|
|
352
352
|
const h = u[n++], m = s.getAttribute(d).split(De), b = /([.?@])?(.*)/.exec(h);
|
|
353
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ?
|
|
353
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? on : b[1] === "?" ? sn : b[1] === "@" ? rn : Ht }), s.removeAttribute(d);
|
|
354
354
|
} else
|
|
355
355
|
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
356
|
-
if (
|
|
356
|
+
if (ts.test(s.tagName)) {
|
|
357
357
|
const d = s.textContent.split(De), h = d.length - 1;
|
|
358
358
|
if (h > 0) {
|
|
359
359
|
s.textContent = Mt ? Mt.emptyScript : "";
|
|
@@ -363,7 +363,7 @@ class ft {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
} else if (s.nodeType === 8)
|
|
366
|
-
if (s.data ===
|
|
366
|
+
if (s.data === es)
|
|
367
367
|
l.push({ type: 2, index: r });
|
|
368
368
|
else {
|
|
369
369
|
let d = -1;
|
|
@@ -385,7 +385,7 @@ function Ze(o, t, e = o, i) {
|
|
|
385
385
|
const r = pt(t) ? void 0 : t._$litDirective$;
|
|
386
386
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Ze(o, s._$AS(o, t.values), s, i)), t;
|
|
387
387
|
}
|
|
388
|
-
class
|
|
388
|
+
class tn {
|
|
389
389
|
constructor(t, e) {
|
|
390
390
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
391
391
|
}
|
|
@@ -402,7 +402,7 @@ class on {
|
|
|
402
402
|
for (; l !== void 0; ) {
|
|
403
403
|
if (n === l.index) {
|
|
404
404
|
let c;
|
|
405
|
-
l.type === 2 ? c = new xt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
405
|
+
l.type === 2 ? c = new xt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new nn(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
406
406
|
}
|
|
407
407
|
n !== l?.index && (r = ze.nextNode(), n++);
|
|
408
408
|
}
|
|
@@ -433,7 +433,7 @@ class xt {
|
|
|
433
433
|
return this._$AB;
|
|
434
434
|
}
|
|
435
435
|
_$AI(t, e = this) {
|
|
436
|
-
t = Ze(this, t, e), pt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
436
|
+
t = Ze(this, t, e), pt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Qr(t) ? this.k(t) : this._(t);
|
|
437
437
|
}
|
|
438
438
|
O(t) {
|
|
439
439
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -445,17 +445,17 @@ class xt {
|
|
|
445
445
|
this._$AH !== W && pt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(He.createTextNode(t)), this._$AH = t;
|
|
446
446
|
}
|
|
447
447
|
$(t) {
|
|
448
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ft.createElement(
|
|
448
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ft.createElement(is(i.h, i.h[0]), this.options)), i);
|
|
449
449
|
if (this._$AH?._$AD === s)
|
|
450
450
|
this._$AH.p(e);
|
|
451
451
|
else {
|
|
452
|
-
const r = new
|
|
452
|
+
const r = new tn(s, this), n = r.u(this.options);
|
|
453
453
|
r.p(e), this.T(n), this._$AH = r;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
_$AC(t) {
|
|
457
|
-
let e =
|
|
458
|
-
return e === void 0 &&
|
|
457
|
+
let e = mo.get(t.strings);
|
|
458
|
+
return e === void 0 && mo.set(t.strings, e = new ft(t)), e;
|
|
459
459
|
}
|
|
460
460
|
k(t) {
|
|
461
461
|
zi(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -502,7 +502,7 @@ class Ht {
|
|
|
502
502
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class on extends Ht {
|
|
506
506
|
constructor() {
|
|
507
507
|
super(...arguments), this.type = 3;
|
|
508
508
|
}
|
|
@@ -510,7 +510,7 @@ class sn extends Ht {
|
|
|
510
510
|
this.element[this.name] = t === W ? void 0 : t;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
class
|
|
513
|
+
class sn extends Ht {
|
|
514
514
|
constructor() {
|
|
515
515
|
super(...arguments), this.type = 4;
|
|
516
516
|
}
|
|
@@ -518,7 +518,7 @@ class rn extends Ht {
|
|
|
518
518
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
class
|
|
521
|
+
class rn extends Ht {
|
|
522
522
|
constructor(t, e, i, s, r) {
|
|
523
523
|
super(t, e, i, s, r), this.type = 5;
|
|
524
524
|
}
|
|
@@ -532,7 +532,7 @@ class nn extends Ht {
|
|
|
532
532
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
|
-
class
|
|
535
|
+
class nn {
|
|
536
536
|
constructor(t, e, i) {
|
|
537
537
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
538
538
|
}
|
|
@@ -543,9 +543,9 @@ class an {
|
|
|
543
543
|
Ze(this, t);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
const
|
|
547
|
-
|
|
548
|
-
const
|
|
546
|
+
const an = Ni.litHtmlPolyfillSupport;
|
|
547
|
+
an?.(ft, xt), (Ni.litHtmlVersions ??= []).push("3.2.1");
|
|
548
|
+
const ln = (o, t, e) => {
|
|
549
549
|
const i = e?.renderBefore ?? t;
|
|
550
550
|
let s = i._$litPart$;
|
|
551
551
|
if (s === void 0) {
|
|
@@ -569,7 +569,7 @@ class qe extends We {
|
|
|
569
569
|
}
|
|
570
570
|
update(t) {
|
|
571
571
|
const e = this.render();
|
|
572
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
572
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ln(e, this.renderRoot, this.renderOptions);
|
|
573
573
|
}
|
|
574
574
|
connectedCallback() {
|
|
575
575
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -582,15 +582,15 @@ class qe extends We {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
qe._$litElement$ = !0, qe.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: qe });
|
|
585
|
-
const
|
|
586
|
-
|
|
585
|
+
const cn = globalThis.litElementPolyfillSupport;
|
|
586
|
+
cn?.({ LitElement: qe });
|
|
587
587
|
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
588
588
|
/**
|
|
589
589
|
* @license
|
|
590
590
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
591
591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
592
592
|
*/
|
|
593
|
-
const
|
|
593
|
+
const un = (o) => class extends o {
|
|
594
594
|
static get properties() {
|
|
595
595
|
return {
|
|
596
596
|
/**
|
|
@@ -629,103 +629,103 @@ const dn = (o) => class extends o {
|
|
|
629
629
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
630
630
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
631
631
|
*/
|
|
632
|
-
const
|
|
633
|
-
function
|
|
632
|
+
const os = [], ui = /* @__PURE__ */ new Set(), Li = /* @__PURE__ */ new Set();
|
|
633
|
+
function ss(o) {
|
|
634
634
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
636
|
+
function dn(o) {
|
|
637
|
+
return ss(customElements.get(o));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function hn(o = []) {
|
|
640
640
|
return [o].flat(1 / 0).filter((t) => t instanceof Fi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function rs(o, t) {
|
|
643
643
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function ns(o) {
|
|
646
646
|
return o.map((t) => t.cssText).join(`
|
|
647
647
|
`);
|
|
648
648
|
}
|
|
649
649
|
const Ot = "vaadin-themable-mixin-style";
|
|
650
|
-
function
|
|
650
|
+
function pn(o, t) {
|
|
651
651
|
const e = document.createElement("style");
|
|
652
|
-
e.id = Ot, e.textContent =
|
|
652
|
+
e.id = Ot, e.textContent = ns(o), t.content.appendChild(e);
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function fn(o) {
|
|
655
655
|
if (!o.shadowRoot)
|
|
656
656
|
return;
|
|
657
657
|
const t = o.constructor;
|
|
658
658
|
if (o instanceof qe)
|
|
659
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
659
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Xo(o.shadowRoot, t.elementStyles);
|
|
660
660
|
else {
|
|
661
661
|
const e = o.shadowRoot.getElementById(Ot), i = t.prototype._template;
|
|
662
662
|
e.textContent = i.content.getElementById(Ot).textContent;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function mn(o) {
|
|
666
666
|
ui.forEach((t) => {
|
|
667
667
|
const e = t.deref();
|
|
668
|
-
e instanceof o ?
|
|
668
|
+
e instanceof o ? fn(e) : e || ui.delete(t);
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function as(o) {
|
|
672
672
|
if (o.prototype instanceof qe)
|
|
673
673
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
674
674
|
else {
|
|
675
675
|
const t = o.prototype._template;
|
|
676
|
-
t.content.getElementById(Ot).textContent =
|
|
676
|
+
t.content.getElementById(Ot).textContent = ns(o.getStylesForThis());
|
|
677
677
|
}
|
|
678
678
|
Li.forEach((t) => {
|
|
679
679
|
const e = customElements.get(t);
|
|
680
|
-
e !== o && e.prototype instanceof o &&
|
|
680
|
+
e !== o && e.prototype instanceof o && as(e);
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function _n(o, t) {
|
|
684
684
|
const e = o.__themes;
|
|
685
685
|
return !e || !t ? !1 : e.some(
|
|
686
686
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
687
687
|
);
|
|
688
688
|
}
|
|
689
689
|
function L(o, t, e = {}) {
|
|
690
|
-
t =
|
|
690
|
+
t = hn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : os.push({
|
|
691
691
|
themeFor: o,
|
|
692
692
|
styles: t,
|
|
693
693
|
include: e.include,
|
|
694
694
|
moduleId: e.moduleId
|
|
695
695
|
}), o && Li.forEach((i) => {
|
|
696
|
-
if (
|
|
696
|
+
if (rs(o, i) && dn(i)) {
|
|
697
697
|
const s = customElements.get(i);
|
|
698
|
-
|
|
698
|
+
_n(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
699
699
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
700
|
-
),
|
|
700
|
+
), as(s), mn(s);
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
704
|
function di() {
|
|
705
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
705
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : os;
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function gn(o = "") {
|
|
708
708
|
let t = 0;
|
|
709
709
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function ls(o) {
|
|
712
712
|
const t = [];
|
|
713
713
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
714
714
|
const i = di().find((s) => s.moduleId === e);
|
|
715
|
-
i ? t.push(...
|
|
715
|
+
i ? t.push(...ls(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
716
716
|
}, o.styles), t;
|
|
717
717
|
}
|
|
718
|
-
function
|
|
719
|
-
const t = `${o}-default-theme`, e = di().filter((i) => i.moduleId !== t &&
|
|
718
|
+
function bn(o) {
|
|
719
|
+
const t = `${o}-default-theme`, e = di().filter((i) => i.moduleId !== t && rs(i.themeFor, o)).map((i) => ({
|
|
720
720
|
...i,
|
|
721
721
|
// Prepend styles from included themes
|
|
722
|
-
styles: [...
|
|
722
|
+
styles: [...ls(i), ...i.styles],
|
|
723
723
|
// Map moduleId to includePriority
|
|
724
|
-
includePriority:
|
|
724
|
+
includePriority: gn(i.moduleId)
|
|
725
725
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
726
726
|
return e.length > 0 ? e : di().filter((i) => i.moduleId === t);
|
|
727
727
|
}
|
|
728
|
-
const $e = (o) => class extends
|
|
728
|
+
const $e = (o) => class extends un(o) {
|
|
729
729
|
constructor() {
|
|
730
730
|
super(), ui.add(new WeakRef(this));
|
|
731
731
|
}
|
|
@@ -737,7 +737,7 @@ const $e = (o) => class extends dn(o) {
|
|
|
737
737
|
if (super.finalize(), this.is && Li.add(this.is), this.elementStyles)
|
|
738
738
|
return;
|
|
739
739
|
const e = this.prototype._template;
|
|
740
|
-
!e ||
|
|
740
|
+
!e || ss(this) || pn(this.getStylesForThis(), e);
|
|
741
741
|
}
|
|
742
742
|
/**
|
|
743
743
|
* Covers LitElement based component styling
|
|
@@ -755,7 +755,7 @@ const $e = (o) => class extends dn(o) {
|
|
|
755
755
|
*/
|
|
756
756
|
static getStylesForThis() {
|
|
757
757
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
758
|
-
this.__themes = [...e, ...s, ...
|
|
758
|
+
this.__themes = [...e, ...s, ...bn(this.is)];
|
|
759
759
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
760
760
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
761
761
|
}
|
|
@@ -777,7 +777,7 @@ const yn = (o, ...t) => {
|
|
|
777
777
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
778
778
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
779
779
|
*/
|
|
780
|
-
const
|
|
780
|
+
const vn = P`
|
|
781
781
|
:host {
|
|
782
782
|
--lumo-size-xs: 1.625rem;
|
|
783
783
|
--lumo-size-s: 1.875rem;
|
|
@@ -793,13 +793,13 @@ const xn = P`
|
|
|
793
793
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
794
794
|
}
|
|
795
795
|
`;
|
|
796
|
-
tt("sizing-props",
|
|
796
|
+
tt("sizing-props", vn);
|
|
797
797
|
/**
|
|
798
798
|
* @license
|
|
799
799
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
800
800
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
801
801
|
*/
|
|
802
|
-
const
|
|
802
|
+
const xn = P`
|
|
803
803
|
:host {
|
|
804
804
|
/* Square */
|
|
805
805
|
--lumo-space-xs: 0.25rem;
|
|
@@ -823,13 +823,13 @@ const wn = P`
|
|
|
823
823
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
824
824
|
}
|
|
825
825
|
`;
|
|
826
|
-
tt("spacing-props",
|
|
826
|
+
tt("spacing-props", xn);
|
|
827
827
|
/**
|
|
828
828
|
* @license
|
|
829
829
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
830
830
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
831
831
|
*/
|
|
832
|
-
const
|
|
832
|
+
const wn = P`
|
|
833
833
|
:host {
|
|
834
834
|
/* Border radius */
|
|
835
835
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -931,13 +931,13 @@ P`
|
|
|
931
931
|
--vaadin-input-field-value-font-weight: 500;
|
|
932
932
|
}
|
|
933
933
|
`;
|
|
934
|
-
tt("style-props",
|
|
934
|
+
tt("style-props", wn);
|
|
935
935
|
/**
|
|
936
936
|
* @license
|
|
937
937
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
938
938
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
939
939
|
*/
|
|
940
|
-
const
|
|
940
|
+
const En = P`
|
|
941
941
|
:host {
|
|
942
942
|
/* Base (background) */
|
|
943
943
|
--lumo-base-color: #fff;
|
|
@@ -1023,8 +1023,8 @@ const Sn = P`
|
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
`;
|
|
1026
|
-
tt("color-props",
|
|
1027
|
-
const
|
|
1026
|
+
tt("color-props", En);
|
|
1027
|
+
const Sn = P`
|
|
1028
1028
|
[theme~='dark'] {
|
|
1029
1029
|
/* Base (background) */
|
|
1030
1030
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1143,13 +1143,13 @@ const An = P`
|
|
|
1143
1143
|
background: transparent;
|
|
1144
1144
|
}
|
|
1145
1145
|
`;
|
|
1146
|
-
L("",
|
|
1146
|
+
L("", Sn, { moduleId: "lumo-color" });
|
|
1147
1147
|
/**
|
|
1148
1148
|
* @license
|
|
1149
1149
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1150
1150
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1151
1151
|
*/
|
|
1152
|
-
const
|
|
1152
|
+
const An = P`
|
|
1153
1153
|
:host {
|
|
1154
1154
|
/* prettier-ignore */
|
|
1155
1155
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1169,7 +1169,7 @@ const Cn = P`
|
|
|
1169
1169
|
--lumo-line-height-s: 1.375;
|
|
1170
1170
|
--lumo-line-height-m: 1.625;
|
|
1171
1171
|
}
|
|
1172
|
-
`,
|
|
1172
|
+
`, Cn = P`
|
|
1173
1173
|
body,
|
|
1174
1174
|
:host {
|
|
1175
1175
|
font-family: var(--lumo-font-family);
|
|
@@ -1262,14 +1262,14 @@ const Cn = P`
|
|
|
1262
1262
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1263
1263
|
}
|
|
1264
1264
|
`;
|
|
1265
|
-
L("",
|
|
1266
|
-
tt("typography-props",
|
|
1265
|
+
L("", Cn, { moduleId: "lumo-typography" });
|
|
1266
|
+
tt("typography-props", An);
|
|
1267
1267
|
/**
|
|
1268
1268
|
* @license
|
|
1269
1269
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1270
1270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1271
1271
|
*/
|
|
1272
|
-
const
|
|
1272
|
+
const cs = P`
|
|
1273
1273
|
:host {
|
|
1274
1274
|
top: var(--lumo-space-m);
|
|
1275
1275
|
right: var(--lumo-space-m);
|
|
@@ -1335,13 +1335,13 @@ const us = P`
|
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
1337
|
`;
|
|
1338
|
-
L("",
|
|
1338
|
+
L("", cs, { moduleId: "lumo-overlay" });
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @license
|
|
1341
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1342
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1343
1343
|
*/
|
|
1344
|
-
const
|
|
1344
|
+
const us = P`
|
|
1345
1345
|
:host([opening]),
|
|
1346
1346
|
:host([closing]) {
|
|
1347
1347
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1372,8 +1372,8 @@ const ds = P`
|
|
|
1372
1372
|
}
|
|
1373
1373
|
}
|
|
1374
1374
|
`;
|
|
1375
|
-
L("",
|
|
1376
|
-
const
|
|
1375
|
+
L("", us, { moduleId: "lumo-menu-overlay-core" });
|
|
1376
|
+
const Pn = P`
|
|
1377
1377
|
/* Small viewport (bottom sheet) styles */
|
|
1378
1378
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1379
1379
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1435,9 +1435,9 @@ const kn = P`
|
|
|
1435
1435
|
transform: translateY(150%);
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
|
-
`,
|
|
1439
|
-
L("",
|
|
1440
|
-
const
|
|
1438
|
+
`, ds = [cs, us, Pn];
|
|
1439
|
+
L("", ds, { moduleId: "lumo-menu-overlay" });
|
|
1440
|
+
const kn = P`
|
|
1441
1441
|
[part='overlay'] {
|
|
1442
1442
|
/*
|
|
1443
1443
|
Width:
|
|
@@ -1483,10 +1483,10 @@ const Dn = P`
|
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
1485
|
`;
|
|
1486
|
-
L("vaadin-date-picker-overlay", [
|
|
1486
|
+
L("vaadin-date-picker-overlay", [ds, kn], {
|
|
1487
1487
|
moduleId: "lumo-date-picker-overlay"
|
|
1488
1488
|
});
|
|
1489
|
-
const
|
|
1489
|
+
const Dn = P`
|
|
1490
1490
|
:host {
|
|
1491
1491
|
/* Sizing */
|
|
1492
1492
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1763,7 +1763,7 @@ const Tn = P`
|
|
|
1763
1763
|
margin-right: 0;
|
|
1764
1764
|
}
|
|
1765
1765
|
`;
|
|
1766
|
-
L("vaadin-button",
|
|
1766
|
+
L("vaadin-button", Dn, { moduleId: "lumo-button" });
|
|
1767
1767
|
L(
|
|
1768
1768
|
"vaadin-date-picker-year",
|
|
1769
1769
|
P`
|
|
@@ -2288,7 +2288,7 @@ L(
|
|
|
2288
2288
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2289
2289
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2290
2290
|
*/
|
|
2291
|
-
const
|
|
2291
|
+
const Tn = P`
|
|
2292
2292
|
@font-face {
|
|
2293
2293
|
font-family: 'lumo-icons';
|
|
2294
2294
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2342,13 +2342,13 @@ const Mn = P`
|
|
|
2342
2342
|
--lumo-icons-user: '\\ea2a';
|
|
2343
2343
|
}
|
|
2344
2344
|
`;
|
|
2345
|
-
tt("font-icons",
|
|
2345
|
+
tt("font-icons", Tn);
|
|
2346
2346
|
/**
|
|
2347
2347
|
* @license
|
|
2348
2348
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2349
2349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2350
2350
|
*/
|
|
2351
|
-
const
|
|
2351
|
+
const hs = P`
|
|
2352
2352
|
[part$='button'] {
|
|
2353
2353
|
flex: none;
|
|
2354
2354
|
width: 1em;
|
|
@@ -2376,13 +2376,13 @@ const ps = P`
|
|
|
2376
2376
|
display: block;
|
|
2377
2377
|
}
|
|
2378
2378
|
`;
|
|
2379
|
-
L("",
|
|
2379
|
+
L("", hs, { moduleId: "lumo-field-button" });
|
|
2380
2380
|
/**
|
|
2381
2381
|
* @license
|
|
2382
2382
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2383
2383
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2384
2384
|
*/
|
|
2385
|
-
const
|
|
2385
|
+
const Mn = P`
|
|
2386
2386
|
:host {
|
|
2387
2387
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2388
2388
|
}
|
|
@@ -2444,7 +2444,7 @@ const On = P`
|
|
|
2444
2444
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2445
2445
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2446
2446
|
*/
|
|
2447
|
-
const
|
|
2447
|
+
const ps = P`
|
|
2448
2448
|
[part='label'] {
|
|
2449
2449
|
align-self: flex-start;
|
|
2450
2450
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2557,13 +2557,13 @@ const fs = P`
|
|
|
2557
2557
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2558
2558
|
}
|
|
2559
2559
|
`;
|
|
2560
|
-
L("",
|
|
2560
|
+
L("", ps, { moduleId: "lumo-required-field" });
|
|
2561
2561
|
/**
|
|
2562
2562
|
* @license
|
|
2563
2563
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2564
2564
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2565
2565
|
*/
|
|
2566
|
-
const
|
|
2566
|
+
const On = P`
|
|
2567
2567
|
:host {
|
|
2568
2568
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2569
2569
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2694,11 +2694,11 @@ const In = P`
|
|
|
2694
2694
|
[part='clear-button']::before {
|
|
2695
2695
|
content: var(--lumo-icons-cross);
|
|
2696
2696
|
}
|
|
2697
|
-
`,
|
|
2698
|
-
L("",
|
|
2697
|
+
`, fs = [ps, hs, Mn, On];
|
|
2698
|
+
L("", fs, {
|
|
2699
2699
|
moduleId: "lumo-input-field-shared-styles"
|
|
2700
2700
|
});
|
|
2701
|
-
const
|
|
2701
|
+
const In = P`
|
|
2702
2702
|
[part='toggle-button']::before {
|
|
2703
2703
|
content: var(--lumo-icons-calendar);
|
|
2704
2704
|
}
|
|
@@ -2721,7 +2721,7 @@ const Fn = P`
|
|
|
2721
2721
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2722
2722
|
}
|
|
2723
2723
|
`;
|
|
2724
|
-
L("vaadin-date-picker", [
|
|
2724
|
+
L("vaadin-date-picker", [fs, In], { moduleId: "lumo-date-picker" });
|
|
2725
2725
|
/**
|
|
2726
2726
|
@license
|
|
2727
2727
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2743,9 +2743,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2743
2743
|
Code distributed by Google as part of the polymer project is also
|
|
2744
2744
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2745
2745
|
*/
|
|
2746
|
-
let
|
|
2746
|
+
let Fn = /(url\()([^)]*)(\))/g, Nn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Et, ce;
|
|
2747
2747
|
function dt(o, t) {
|
|
2748
|
-
if (o &&
|
|
2748
|
+
if (o && Nn.test(o) || o === "//")
|
|
2749
2749
|
return o;
|
|
2750
2750
|
if (Et === void 0) {
|
|
2751
2751
|
Et = !1;
|
|
@@ -2764,7 +2764,7 @@ function dt(o, t) {
|
|
|
2764
2764
|
return ce || (ce = document.implementation.createHTMLDocument("temp"), ce.base = ce.createElement("base"), ce.head.appendChild(ce.base), ce.anchor = ce.createElement("a"), ce.body.appendChild(ce.anchor)), ce.base.href = t, ce.anchor.href = o, ce.anchor.href || o;
|
|
2765
2765
|
}
|
|
2766
2766
|
function Ri(o, t) {
|
|
2767
|
-
return o.replace(
|
|
2767
|
+
return o.replace(Fn, function(e, i, s, r) {
|
|
2768
2768
|
return i + "'" + dt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2769
2769
|
});
|
|
2770
2770
|
}
|
|
@@ -2780,9 +2780,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2780
2780
|
Code distributed by Google as part of the polymer project is also
|
|
2781
2781
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2782
2782
|
*/
|
|
2783
|
-
const
|
|
2783
|
+
const ms = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2784
2784
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2785
|
-
const
|
|
2785
|
+
const zn = ms && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2786
2786
|
(() => {
|
|
2787
2787
|
try {
|
|
2788
2788
|
const o = new CSSStyleSheet();
|
|
@@ -2793,11 +2793,11 @@ const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2793
2793
|
return !1;
|
|
2794
2794
|
}
|
|
2795
2795
|
})();
|
|
2796
|
-
let
|
|
2796
|
+
let Ln = window.Polymer && window.Polymer.rootPath || Bi(document.baseURI || window.location.href), It = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2797
2797
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2798
|
-
let Ft = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2798
|
+
let Ft = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Rn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, _s = window.Polymer && window.Polymer.legacyOptimizations || !1, gs = window.Polymer && window.Polymer.legacyWarnings || !1, Bn = window.Polymer && window.Polymer.syncInitialRender || !1, hi = window.Polymer && window.Polymer.legacyUndefined || !1, Hn = window.Polymer && window.Polymer.orderedComputed || !1, _o = window.Polymer && window.Polymer.removeNestedTemplates || !1, $n = window.Polymer && window.Polymer.fastDomIf || !1, go = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2799
2799
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2800
|
-
let
|
|
2800
|
+
let Yn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2801
2801
|
/**
|
|
2802
2802
|
@license
|
|
2803
2803
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2807,14 +2807,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2807
2807
|
Code distributed by Google as part of the polymer project is also
|
|
2808
2808
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2809
2809
|
*/
|
|
2810
|
-
let
|
|
2810
|
+
let jn = 0;
|
|
2811
2811
|
const U = function(o) {
|
|
2812
2812
|
let t = (
|
|
2813
2813
|
/** @type {!MixinFunction} */
|
|
2814
2814
|
o.__mixinApplications
|
|
2815
2815
|
);
|
|
2816
2816
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2817
|
-
let e =
|
|
2817
|
+
let e = jn++;
|
|
2818
2818
|
function i(s) {
|
|
2819
2819
|
let r = (
|
|
2820
2820
|
/** @type {!MixinFunction} */
|
|
@@ -2845,14 +2845,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2845
2845
|
Code distributed by Google as part of the polymer project is also
|
|
2846
2846
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2847
2847
|
*/
|
|
2848
|
-
let Hi = {},
|
|
2849
|
-
function
|
|
2850
|
-
Hi[o] =
|
|
2848
|
+
let Hi = {}, bs = {};
|
|
2849
|
+
function bo(o, t) {
|
|
2850
|
+
Hi[o] = bs[o.toLowerCase()] = t;
|
|
2851
2851
|
}
|
|
2852
2852
|
function yo(o) {
|
|
2853
|
-
return Hi[o] ||
|
|
2853
|
+
return Hi[o] || bs[o.toLowerCase()];
|
|
2854
2854
|
}
|
|
2855
|
-
function
|
|
2855
|
+
function Vn(o) {
|
|
2856
2856
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2857
2857
|
}
|
|
2858
2858
|
class mt extends HTMLElement {
|
|
@@ -2922,8 +2922,8 @@ class mt extends HTMLElement {
|
|
|
2922
2922
|
register(t) {
|
|
2923
2923
|
if (t = t || this.id, t) {
|
|
2924
2924
|
if (Ft && yo(t) !== void 0)
|
|
2925
|
-
throw
|
|
2926
|
-
this.id = t,
|
|
2925
|
+
throw bo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2926
|
+
this.id = t, bo(t, this), Vn(this);
|
|
2927
2927
|
}
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
@@ -2938,14 +2938,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2938
2938
|
Code distributed by Google as part of the polymer project is also
|
|
2939
2939
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2940
2940
|
*/
|
|
2941
|
-
const
|
|
2941
|
+
const Un = "link[rel=import][type~=css]", Wn = "include", vo = "shady-unscoped";
|
|
2942
2942
|
function ys(o) {
|
|
2943
2943
|
return (
|
|
2944
2944
|
/** @type {?DomModule} */
|
|
2945
2945
|
mt.import(o)
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2948
|
+
function xo(o) {
|
|
2949
2949
|
let t = o.body ? o.body : o;
|
|
2950
2950
|
const e = Ri(
|
|
2951
2951
|
t.textContent,
|
|
@@ -2953,24 +2953,24 @@ function wo(o) {
|
|
|
2953
2953
|
), i = document.createElement("style");
|
|
2954
2954
|
return i.textContent = e, i;
|
|
2955
2955
|
}
|
|
2956
|
-
function
|
|
2956
|
+
function qn(o) {
|
|
2957
2957
|
const t = o.trim().split(/\s+/), e = [];
|
|
2958
2958
|
for (let i = 0; i < t.length; i++)
|
|
2959
|
-
e.push(...
|
|
2959
|
+
e.push(...Kn(t[i]));
|
|
2960
2960
|
return e;
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2962
|
+
function Kn(o) {
|
|
2963
2963
|
const t = ys(o);
|
|
2964
2964
|
if (!t)
|
|
2965
2965
|
return console.warn("Could not find style data in module named", o), [];
|
|
2966
2966
|
if (t._styles === void 0) {
|
|
2967
2967
|
const e = [];
|
|
2968
|
-
e.push(...
|
|
2968
|
+
e.push(...xs(t));
|
|
2969
2969
|
const i = (
|
|
2970
2970
|
/** @type {?HTMLTemplateElement} */
|
|
2971
2971
|
t.querySelector("template")
|
|
2972
2972
|
);
|
|
2973
|
-
i && e.push(...
|
|
2973
|
+
i && e.push(...vs(
|
|
2974
2974
|
i,
|
|
2975
2975
|
/** @type {templateWithAssetPath} */
|
|
2976
2976
|
t.assetpath
|
|
@@ -2978,12 +2978,12 @@ function Gn(o) {
|
|
|
2978
2978
|
}
|
|
2979
2979
|
return t._styles;
|
|
2980
2980
|
}
|
|
2981
|
-
function
|
|
2981
|
+
function vs(o, t) {
|
|
2982
2982
|
if (!o._styles) {
|
|
2983
2983
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2984
2984
|
for (let s = 0; s < i.length; s++) {
|
|
2985
|
-
let r = i[s], n = r.getAttribute(
|
|
2986
|
-
n && e.push(...
|
|
2985
|
+
let r = i[s], n = r.getAttribute(Wn);
|
|
2986
|
+
n && e.push(...qn(n).filter(function(a, l, c) {
|
|
2987
2987
|
return c.indexOf(a) === l;
|
|
2988
2988
|
})), t && (r.textContent = Ri(
|
|
2989
2989
|
r.textContent,
|
|
@@ -2995,21 +2995,21 @@ function xs(o, t) {
|
|
|
2995
2995
|
}
|
|
2996
2996
|
return o._styles;
|
|
2997
2997
|
}
|
|
2998
|
-
function
|
|
2998
|
+
function Gn(o) {
|
|
2999
2999
|
let t = ys(o);
|
|
3000
|
-
return t ?
|
|
3000
|
+
return t ? xs(t) : [];
|
|
3001
3001
|
}
|
|
3002
|
-
function
|
|
3003
|
-
const t = [], e = o.querySelectorAll(
|
|
3002
|
+
function xs(o) {
|
|
3003
|
+
const t = [], e = o.querySelectorAll(Un);
|
|
3004
3004
|
for (let i = 0; i < e.length; i++) {
|
|
3005
3005
|
let s = e[i];
|
|
3006
3006
|
if (s.import) {
|
|
3007
|
-
const r = s.import, n = s.hasAttribute(
|
|
3007
|
+
const r = s.import, n = s.hasAttribute(vo);
|
|
3008
3008
|
if (n && !r._unscopedStyle) {
|
|
3009
|
-
const a =
|
|
3010
|
-
a.setAttribute(
|
|
3009
|
+
const a = xo(r);
|
|
3010
|
+
a.setAttribute(vo, ""), r._unscopedStyle = a;
|
|
3011
3011
|
} else
|
|
3012
|
-
r._style || (r._style =
|
|
3012
|
+
r._style || (r._style = xo(r));
|
|
3013
3013
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
@@ -3041,7 +3041,7 @@ function Ye(o) {
|
|
|
3041
3041
|
let t = o.indexOf(".");
|
|
3042
3042
|
return t === -1 ? o : o.slice(0, t);
|
|
3043
3043
|
}
|
|
3044
|
-
function
|
|
3044
|
+
function ws(o, t) {
|
|
3045
3045
|
return o.indexOf(t + ".") === 0;
|
|
3046
3046
|
}
|
|
3047
3047
|
function _t(o, t) {
|
|
@@ -3050,8 +3050,8 @@ function _t(o, t) {
|
|
|
3050
3050
|
function gt(o, t, e) {
|
|
3051
3051
|
return t + e.slice(o.length);
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3054
|
-
return o === t ||
|
|
3053
|
+
function Jn(o, t) {
|
|
3054
|
+
return o === t || ws(o, t) || _t(o, t);
|
|
3055
3055
|
}
|
|
3056
3056
|
function lt(o) {
|
|
3057
3057
|
if (Array.isArray(o)) {
|
|
@@ -3065,11 +3065,11 @@ function lt(o) {
|
|
|
3065
3065
|
} else
|
|
3066
3066
|
return o;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Es(o) {
|
|
3069
3069
|
return Array.isArray(o) ? lt(o).split(".") : o.toString().split(".");
|
|
3070
3070
|
}
|
|
3071
3071
|
function re(o, t, e) {
|
|
3072
|
-
let i = o, s =
|
|
3072
|
+
let i = o, s = Es(t);
|
|
3073
3073
|
for (let r = 0; r < s.length; r++) {
|
|
3074
3074
|
if (!i)
|
|
3075
3075
|
return;
|
|
@@ -3078,8 +3078,8 @@ function re(o, t, e) {
|
|
|
3078
3078
|
}
|
|
3079
3079
|
return e && (e.path = s.join(".")), i;
|
|
3080
3080
|
}
|
|
3081
|
-
function
|
|
3082
|
-
let i = o, s =
|
|
3081
|
+
function wo(o, t, e) {
|
|
3082
|
+
let i = o, s = Es(t), r = s[s.length - 1];
|
|
3083
3083
|
if (s.length > 1) {
|
|
3084
3084
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3085
3085
|
let a = s[n];
|
|
@@ -3100,15 +3100,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3100
3100
|
Code distributed by Google as part of the polymer project is also
|
|
3101
3101
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3102
3102
|
*/
|
|
3103
|
-
const Nt = {},
|
|
3104
|
-
function
|
|
3103
|
+
const Nt = {}, Xn = /-[a-z]/g, Zn = /([A-Z])/g;
|
|
3104
|
+
function Ss(o) {
|
|
3105
3105
|
return Nt[o] || (Nt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3106
|
-
|
|
3106
|
+
Xn,
|
|
3107
3107
|
(t) => t[1].toUpperCase()
|
|
3108
3108
|
));
|
|
3109
3109
|
}
|
|
3110
3110
|
function $t(o) {
|
|
3111
|
-
return Nt[o] || (Nt[o] = o.replace(
|
|
3111
|
+
return Nt[o] || (Nt[o] = o.replace(Zn, "-$1").toLowerCase());
|
|
3112
3112
|
}
|
|
3113
3113
|
/**
|
|
3114
3114
|
@license
|
|
@@ -3119,9 +3119,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3119
3119
|
Code distributed by Google as part of the polymer project is also
|
|
3120
3120
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3121
3121
|
*/
|
|
3122
|
-
let
|
|
3123
|
-
new window.MutationObserver(
|
|
3124
|
-
function
|
|
3122
|
+
let Qn = 0, As = 0, Ke = [], ea = 0, fi = !1, Cs = document.createTextNode("");
|
|
3123
|
+
new window.MutationObserver(ta).observe(Cs, { characterData: !0 });
|
|
3124
|
+
function ta() {
|
|
3125
3125
|
fi = !1;
|
|
3126
3126
|
const o = Ke.length;
|
|
3127
3127
|
for (let t = 0; t < o; t++) {
|
|
@@ -3135,9 +3135,9 @@ function ia() {
|
|
|
3135
3135
|
});
|
|
3136
3136
|
}
|
|
3137
3137
|
}
|
|
3138
|
-
Ke.splice(0, o),
|
|
3138
|
+
Ke.splice(0, o), As += o;
|
|
3139
3139
|
}
|
|
3140
|
-
const
|
|
3140
|
+
const ia = {
|
|
3141
3141
|
/**
|
|
3142
3142
|
* Returns a sub-module with the async interface providing the provided
|
|
3143
3143
|
* delay.
|
|
@@ -3177,7 +3177,7 @@ const oa = {
|
|
|
3177
3177
|
cancel(o) {
|
|
3178
3178
|
window.clearTimeout(o);
|
|
3179
3179
|
}
|
|
3180
|
-
},
|
|
3180
|
+
}, Ps = {
|
|
3181
3181
|
/**
|
|
3182
3182
|
* Enqueues a function called at microtask timing.
|
|
3183
3183
|
*
|
|
@@ -3186,7 +3186,7 @@ const oa = {
|
|
|
3186
3186
|
* @return {number} Handle used for canceling task
|
|
3187
3187
|
*/
|
|
3188
3188
|
run(o) {
|
|
3189
|
-
return fi || (fi = !0,
|
|
3189
|
+
return fi || (fi = !0, Cs.textContent = ea++), Ke.push(o), Qn++;
|
|
3190
3190
|
},
|
|
3191
3191
|
/**
|
|
3192
3192
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3196,7 +3196,7 @@ const oa = {
|
|
|
3196
3196
|
* @return {void}
|
|
3197
3197
|
*/
|
|
3198
3198
|
cancel(o) {
|
|
3199
|
-
const t = o -
|
|
3199
|
+
const t = o - As;
|
|
3200
3200
|
if (t >= 0) {
|
|
3201
3201
|
if (!Ke[t])
|
|
3202
3202
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3213,7 +3213,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3213
3213
|
Code distributed by Google as part of the polymer project is also
|
|
3214
3214
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3215
3215
|
*/
|
|
3216
|
-
const
|
|
3216
|
+
const oa = Ps, ks = U(
|
|
3217
3217
|
/**
|
|
3218
3218
|
* @template T
|
|
3219
3219
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3422,7 +3422,7 @@ const sa = ks, Ds = U(
|
|
|
3422
3422
|
* @override
|
|
3423
3423
|
*/
|
|
3424
3424
|
_invalidateProperties() {
|
|
3425
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3425
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, oa.run(() => {
|
|
3426
3426
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3427
3427
|
}));
|
|
3428
3428
|
}
|
|
@@ -3649,23 +3649,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3649
3649
|
Code distributed by Google as part of the polymer project is also
|
|
3650
3650
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3651
3651
|
*/
|
|
3652
|
-
const
|
|
3652
|
+
const Ds = {};
|
|
3653
3653
|
let St = HTMLElement.prototype;
|
|
3654
3654
|
for (; St; ) {
|
|
3655
3655
|
let o = Object.getOwnPropertyNames(St);
|
|
3656
3656
|
for (let t = 0; t < o.length; t++)
|
|
3657
|
-
|
|
3657
|
+
Ds[o[t]] = !0;
|
|
3658
3658
|
St = Object.getPrototypeOf(St);
|
|
3659
3659
|
}
|
|
3660
|
-
const
|
|
3661
|
-
function
|
|
3662
|
-
if (!
|
|
3660
|
+
const sa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3661
|
+
function ra(o, t) {
|
|
3662
|
+
if (!Ds[t]) {
|
|
3663
3663
|
let e = o[t];
|
|
3664
3664
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3665
3665
|
}
|
|
3666
3666
|
}
|
|
3667
|
-
const
|
|
3668
|
-
const t =
|
|
3667
|
+
const na = U((o) => {
|
|
3668
|
+
const t = ks(o);
|
|
3669
3669
|
class e extends t {
|
|
3670
3670
|
/**
|
|
3671
3671
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3683,7 +3683,7 @@ const aa = U((o) => {
|
|
|
3683
3683
|
this.observedAttributes
|
|
3684
3684
|
);
|
|
3685
3685
|
for (let r = 0; r < s.length; r++)
|
|
3686
|
-
this.prototype._createPropertyAccessor(
|
|
3686
|
+
this.prototype._createPropertyAccessor(Ss(s[r]));
|
|
3687
3687
|
}
|
|
3688
3688
|
/**
|
|
3689
3689
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3760,7 +3760,7 @@ const aa = U((o) => {
|
|
|
3760
3760
|
if (s instanceof Date)
|
|
3761
3761
|
return s.toString();
|
|
3762
3762
|
if (s) {
|
|
3763
|
-
if (
|
|
3763
|
+
if (sa(s))
|
|
3764
3764
|
return (
|
|
3765
3765
|
/** @type {?} */
|
|
3766
3766
|
s
|
|
@@ -3841,7 +3841,7 @@ const aa = U((o) => {
|
|
|
3841
3841
|
* @override
|
|
3842
3842
|
*/
|
|
3843
3843
|
_definePropertyAccessor(s, r) {
|
|
3844
|
-
|
|
3844
|
+
ra(this, s), super._definePropertyAccessor(s, r);
|
|
3845
3845
|
}
|
|
3846
3846
|
/**
|
|
3847
3847
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3876,23 +3876,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3876
3876
|
Code distributed by Google as part of the polymer project is also
|
|
3877
3877
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3878
3878
|
*/
|
|
3879
|
-
const
|
|
3879
|
+
const aa = {
|
|
3880
3880
|
"dom-if": !0,
|
|
3881
3881
|
"dom-repeat": !0
|
|
3882
3882
|
};
|
|
3883
|
-
let
|
|
3884
|
-
function
|
|
3885
|
-
if (!
|
|
3886
|
-
|
|
3883
|
+
let Eo = !1, So = !1;
|
|
3884
|
+
function la() {
|
|
3885
|
+
if (!Eo) {
|
|
3886
|
+
Eo = !0;
|
|
3887
3887
|
const o = document.createElement("textarea");
|
|
3888
|
-
o.placeholder = "a",
|
|
3888
|
+
o.placeholder = "a", So = o.placeholder === o.textContent;
|
|
3889
3889
|
}
|
|
3890
|
-
return
|
|
3890
|
+
return So;
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3893
|
-
|
|
3892
|
+
function ca(o) {
|
|
3893
|
+
la() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3894
3894
|
}
|
|
3895
|
-
const
|
|
3895
|
+
const ua = (() => {
|
|
3896
3896
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3897
3897
|
"polymer-template-event-attribute-policy",
|
|
3898
3898
|
{
|
|
@@ -3911,19 +3911,19 @@ const da = (() => {
|
|
|
3911
3911
|
t.setAttribute(i, s);
|
|
3912
3912
|
};
|
|
3913
3913
|
})();
|
|
3914
|
-
function
|
|
3914
|
+
function da(o) {
|
|
3915
3915
|
let t = o.getAttribute("is");
|
|
3916
|
-
if (t &&
|
|
3916
|
+
if (t && aa[t]) {
|
|
3917
3917
|
let e = o;
|
|
3918
3918
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3919
3919
|
const { name: i } = e.attributes[0];
|
|
3920
|
-
|
|
3920
|
+
ua(o, e, i), e.removeAttribute(i);
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
|
3923
3923
|
return o;
|
|
3924
3924
|
}
|
|
3925
|
-
function
|
|
3926
|
-
let e = t.parentInfo &&
|
|
3925
|
+
function Ts(o, t) {
|
|
3926
|
+
let e = t.parentInfo && Ts(o, t.parentInfo);
|
|
3927
3927
|
if (e) {
|
|
3928
3928
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3929
3929
|
if (t.parentIndex === s++)
|
|
@@ -3931,23 +3931,23 @@ function Ms(o, t) {
|
|
|
3931
3931
|
} else
|
|
3932
3932
|
return o;
|
|
3933
3933
|
}
|
|
3934
|
-
function
|
|
3934
|
+
function ha(o, t, e, i) {
|
|
3935
3935
|
i.id && (t[i.id] = e);
|
|
3936
3936
|
}
|
|
3937
|
-
function
|
|
3937
|
+
function pa(o, t, e) {
|
|
3938
3938
|
if (e.events && e.events.length)
|
|
3939
3939
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3940
3940
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3941
3941
|
}
|
|
3942
|
-
function
|
|
3942
|
+
function fa(o, t, e, i) {
|
|
3943
3943
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function ma(o, t, e) {
|
|
3946
3946
|
return o = o._methodHost || o, function(s) {
|
|
3947
3947
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3948
3948
|
};
|
|
3949
3949
|
}
|
|
3950
|
-
const
|
|
3950
|
+
const _a = U(
|
|
3951
3951
|
/**
|
|
3952
3952
|
* @template T
|
|
3953
3953
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4074,7 +4074,7 @@ const ga = U(
|
|
|
4074
4074
|
/** @type {!HTMLTemplateElement} */
|
|
4075
4075
|
i
|
|
4076
4076
|
);
|
|
4077
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4077
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), ca(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4078
4078
|
}
|
|
4079
4079
|
/**
|
|
4080
4080
|
* Parses template child nodes for the given root node.
|
|
@@ -4092,7 +4092,7 @@ const ga = U(
|
|
|
4092
4092
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4093
4093
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4094
4094
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4095
|
-
if (n.localName == "template" && (n =
|
|
4095
|
+
if (n.localName == "template" && (n = da(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4096
4096
|
let u = l;
|
|
4097
4097
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4098
4098
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4227,8 +4227,8 @@ const ga = U(
|
|
|
4227
4227
|
let l = a.nodeList = new Array(r.length);
|
|
4228
4228
|
a.$ = {};
|
|
4229
4229
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4230
|
-
let h = l[c] =
|
|
4231
|
-
|
|
4230
|
+
let h = l[c] = Ts(a, d);
|
|
4231
|
+
ha(this, a.$, h, d), fa(this, h, d, s), pa(this, h, d);
|
|
4232
4232
|
}
|
|
4233
4233
|
return a = /** @type {!StampedTemplate} */
|
|
4234
4234
|
a, a;
|
|
@@ -4249,7 +4249,7 @@ const ga = U(
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4251
4251
|
n = n || i;
|
|
4252
|
-
let a =
|
|
4252
|
+
let a = ma(n, s, r);
|
|
4253
4253
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4254
4254
|
}
|
|
4255
4255
|
/**
|
|
@@ -4292,14 +4292,14 @@ const ga = U(
|
|
|
4292
4292
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4293
4293
|
*/
|
|
4294
4294
|
let bt = 0;
|
|
4295
|
-
const
|
|
4295
|
+
const yt = [], k = {
|
|
4296
4296
|
COMPUTE: "__computeEffects",
|
|
4297
4297
|
REFLECT: "__reflectEffects",
|
|
4298
4298
|
NOTIFY: "__notifyEffects",
|
|
4299
4299
|
PROPAGATE: "__propagateEffects",
|
|
4300
4300
|
OBSERVE: "__observeEffects",
|
|
4301
4301
|
READ_ONLY: "__readOnly"
|
|
4302
|
-
},
|
|
4302
|
+
}, Ms = "__computeInfo", ga = /[A-Z]/;
|
|
4303
4303
|
function Kt(o, t, e) {
|
|
4304
4304
|
let i = o[t];
|
|
4305
4305
|
if (!i)
|
|
@@ -4326,7 +4326,7 @@ function ct(o, t, e, i, s, r) {
|
|
|
4326
4326
|
}
|
|
4327
4327
|
return !1;
|
|
4328
4328
|
}
|
|
4329
|
-
function
|
|
4329
|
+
function ba(o, t, e, i, s, r, n, a) {
|
|
4330
4330
|
let l = !1, c = n ? Ye(i) : i, u = t[c];
|
|
4331
4331
|
if (u)
|
|
4332
4332
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
@@ -4339,30 +4339,30 @@ function $i(o, t) {
|
|
|
4339
4339
|
/** @type {string} */
|
|
4340
4340
|
t.name
|
|
4341
4341
|
);
|
|
4342
|
-
return e == o || !!(t.structured &&
|
|
4342
|
+
return e == o || !!(t.structured && ws(e, o)) || !!(t.wildcard && _t(e, o));
|
|
4343
4343
|
} else
|
|
4344
4344
|
return !0;
|
|
4345
4345
|
}
|
|
4346
|
-
function
|
|
4346
|
+
function Ao(o, t, e, i, s) {
|
|
4347
4347
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4348
4348
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4349
4349
|
}
|
|
4350
4350
|
function ya(o, t, e, i, s) {
|
|
4351
4351
|
let r = o[k.NOTIFY], n, a = bt++;
|
|
4352
4352
|
for (let c in t)
|
|
4353
|
-
t[c] && (r &&
|
|
4353
|
+
t[c] && (r && ba(o, r, a, c, e, i, s) || s && va(o, c, e)) && (n = !0);
|
|
4354
4354
|
let l;
|
|
4355
4355
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4356
4356
|
}
|
|
4357
|
-
function
|
|
4357
|
+
function va(o, t, e) {
|
|
4358
4358
|
let i = Ye(t);
|
|
4359
4359
|
if (i !== t) {
|
|
4360
4360
|
let s = $t(i) + "-changed";
|
|
4361
|
-
return
|
|
4361
|
+
return Os(o, s, e[t], t), !0;
|
|
4362
4362
|
}
|
|
4363
4363
|
return !1;
|
|
4364
4364
|
}
|
|
4365
|
-
function
|
|
4365
|
+
function Os(o, t, e, i) {
|
|
4366
4366
|
let s = {
|
|
4367
4367
|
value: e,
|
|
4368
4368
|
queueProperty: !0
|
|
@@ -4372,18 +4372,18 @@ function Is(o, t, e, i) {
|
|
|
4372
4372
|
o
|
|
4373
4373
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4374
4374
|
}
|
|
4375
|
-
function
|
|
4375
|
+
function xa(o, t, e, i, s, r) {
|
|
4376
4376
|
let a = (r ? Ye(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4377
|
-
a && l === void 0 && (l = e[t]),
|
|
4377
|
+
a && l === void 0 && (l = e[t]), Os(o, s.eventName, l, a);
|
|
4378
4378
|
}
|
|
4379
|
-
function
|
|
4379
|
+
function wa(o, t, e, i, s) {
|
|
4380
4380
|
let r, n = (
|
|
4381
4381
|
/** @type {Object} */
|
|
4382
4382
|
o.detail
|
|
4383
4383
|
), a = n && n.path;
|
|
4384
4384
|
a ? (i = gt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[k.READ_ONLY] || !t[k.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4385
4385
|
}
|
|
4386
|
-
function
|
|
4386
|
+
function Ea(o, t, e, i, s) {
|
|
4387
4387
|
let r = o.__data[t];
|
|
4388
4388
|
It && (r = It(
|
|
4389
4389
|
r,
|
|
@@ -4393,17 +4393,17 @@ function Sa(o, t, e, i, s) {
|
|
|
4393
4393
|
o
|
|
4394
4394
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4395
4395
|
}
|
|
4396
|
-
function
|
|
4396
|
+
function Sa(o, t, e, i) {
|
|
4397
4397
|
let s = o[k.COMPUTE];
|
|
4398
4398
|
if (s)
|
|
4399
|
-
if (
|
|
4399
|
+
if (Hn) {
|
|
4400
4400
|
bt++;
|
|
4401
|
-
const r =
|
|
4401
|
+
const r = Ca(o), n = [];
|
|
4402
4402
|
for (let l in t)
|
|
4403
|
-
|
|
4403
|
+
Co(l, s, n, r, i);
|
|
4404
4404
|
let a;
|
|
4405
4405
|
for (; a = n.shift(); )
|
|
4406
|
-
|
|
4406
|
+
Is(o, "", t, e, a) && Co(a.methodInfo, s, n, r, i);
|
|
4407
4407
|
Object.assign(
|
|
4408
4408
|
/** @type {!Object} */
|
|
4409
4409
|
e,
|
|
@@ -4427,7 +4427,7 @@ function Aa(o, t, e, i) {
|
|
|
4427
4427
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4428
4428
|
}
|
|
4429
4429
|
}
|
|
4430
|
-
const
|
|
4430
|
+
const Aa = (o, t, e) => {
|
|
4431
4431
|
let i = 0, s = t.length - 1, r = -1;
|
|
4432
4432
|
for (; i <= s; ) {
|
|
4433
4433
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4441,20 +4441,20 @@ const Ca = (o, t, e) => {
|
|
|
4441
4441
|
}
|
|
4442
4442
|
}
|
|
4443
4443
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4444
|
-
},
|
|
4444
|
+
}, Co = (o, t, e, i, s) => {
|
|
4445
4445
|
const r = s ? Ye(o) : o, n = t[r];
|
|
4446
4446
|
if (n)
|
|
4447
4447
|
for (let a = 0; a < n.length; a++) {
|
|
4448
4448
|
const l = n[a];
|
|
4449
|
-
l.info.lastRun !== bt && (!s || $i(o, l.trigger)) && (l.info.lastRun = bt,
|
|
4449
|
+
l.info.lastRun !== bt && (!s || $i(o, l.trigger)) && (l.info.lastRun = bt, Aa(l.info, e, i));
|
|
4450
4450
|
}
|
|
4451
4451
|
};
|
|
4452
|
-
function
|
|
4452
|
+
function Ca(o) {
|
|
4453
4453
|
let t = o.constructor.__orderedComputedDeps;
|
|
4454
4454
|
if (!t) {
|
|
4455
4455
|
t = /* @__PURE__ */ new Map();
|
|
4456
4456
|
const e = o[k.COMPUTE];
|
|
4457
|
-
let { counts: i, ready: s, total: r } =
|
|
4457
|
+
let { counts: i, ready: s, total: r } = Pa(o), n;
|
|
4458
4458
|
for (; n = s.shift(); ) {
|
|
4459
4459
|
t.set(n, t.size);
|
|
4460
4460
|
const a = e[n];
|
|
@@ -4468,8 +4468,8 @@ function Pa(o) {
|
|
|
4468
4468
|
}
|
|
4469
4469
|
return t;
|
|
4470
4470
|
}
|
|
4471
|
-
function
|
|
4472
|
-
const t = o[
|
|
4471
|
+
function Pa(o) {
|
|
4472
|
+
const t = o[Ms], e = {}, i = o[k.COMPUTE], s = [];
|
|
4473
4473
|
let r = 0;
|
|
4474
4474
|
for (let n in t) {
|
|
4475
4475
|
const a = t[n];
|
|
@@ -4479,14 +4479,14 @@ function ka(o) {
|
|
|
4479
4479
|
t[n] || s.push(n);
|
|
4480
4480
|
return { counts: e, ready: s, total: r };
|
|
4481
4481
|
}
|
|
4482
|
-
function
|
|
4482
|
+
function Is(o, t, e, i, s) {
|
|
4483
4483
|
let r = mi(o, t, e, i, s);
|
|
4484
|
-
if (r ===
|
|
4484
|
+
if (r === yt)
|
|
4485
4485
|
return !1;
|
|
4486
4486
|
let n = s.methodInfo;
|
|
4487
4487
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4488
4488
|
}
|
|
4489
|
-
function
|
|
4489
|
+
function ka(o, t, e) {
|
|
4490
4490
|
let i = o.__dataLinkedPaths;
|
|
4491
4491
|
if (i) {
|
|
4492
4492
|
let s;
|
|
@@ -4499,17 +4499,17 @@ function Da(o, t, e) {
|
|
|
4499
4499
|
function Gt(o, t, e, i, s, r, n) {
|
|
4500
4500
|
e.bindings = e.bindings || [];
|
|
4501
4501
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4502
|
-
if (e.bindings.push(a),
|
|
4502
|
+
if (e.bindings.push(a), Ia(a)) {
|
|
4503
4503
|
let { event: c, negate: u } = a.parts[0];
|
|
4504
4504
|
a.listenerEvent = c || $t(s) + "-changed", a.listenerNegate = u;
|
|
4505
4505
|
}
|
|
4506
4506
|
let l = t.nodeInfoList.length;
|
|
4507
4507
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4508
4508
|
let u = a.parts[c];
|
|
4509
|
-
u.compoundIndex = c,
|
|
4509
|
+
u.compoundIndex = c, Da(o, t, a, u, l);
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4512
|
+
function Da(o, t, e, i, s) {
|
|
4513
4513
|
if (!i.literal)
|
|
4514
4514
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4515
4515
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4517,26 +4517,26 @@ function Ta(o, t, e, i, s) {
|
|
|
4517
4517
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4518
4518
|
for (let a = 0; a < r.length; a++) {
|
|
4519
4519
|
let l = r[a];
|
|
4520
|
-
typeof l == "string" && (l =
|
|
4521
|
-
fn:
|
|
4520
|
+
typeof l == "string" && (l = Ns(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4521
|
+
fn: Ta,
|
|
4522
4522
|
info: n,
|
|
4523
4523
|
trigger: l
|
|
4524
4524
|
});
|
|
4525
4525
|
}
|
|
4526
4526
|
}
|
|
4527
4527
|
}
|
|
4528
|
-
function
|
|
4528
|
+
function Ta(o, t, e, i, s, r, n) {
|
|
4529
4529
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4530
4530
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4531
4531
|
let u = e[t];
|
|
4532
4532
|
t = gt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4533
4533
|
} else {
|
|
4534
4534
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4535
|
-
u !==
|
|
4535
|
+
u !== yt && Ma(o, a, l, c, u);
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4539
|
-
if (s =
|
|
4538
|
+
function Ma(o, t, e, i, s) {
|
|
4539
|
+
if (s = Oa(t, s, e, i), It && (s = It(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4540
4540
|
o._valueToNodeAttribute(
|
|
4541
4541
|
/** @type {Element} */
|
|
4542
4542
|
t,
|
|
@@ -4548,17 +4548,17 @@ function Oa(o, t, e, i, s) {
|
|
|
4548
4548
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[k.READ_ONLY] || !t[k.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4549
4549
|
}
|
|
4550
4550
|
}
|
|
4551
|
-
function
|
|
4551
|
+
function Oa(o, t, e, i) {
|
|
4552
4552
|
if (e.isCompound) {
|
|
4553
4553
|
let s = o.__dataCompoundStorage[e.target];
|
|
4554
4554
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4555
4555
|
}
|
|
4556
4556
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4557
4557
|
}
|
|
4558
|
-
function
|
|
4558
|
+
function Ia(o) {
|
|
4559
4559
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Fa(o, t) {
|
|
4562
4562
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4563
4563
|
if (i.length)
|
|
4564
4564
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4566,12 +4566,12 @@ function Na(o, t) {
|
|
|
4566
4566
|
if (a)
|
|
4567
4567
|
for (let l = 0; l < a.length; l++) {
|
|
4568
4568
|
let c = a[l];
|
|
4569
|
-
|
|
4569
|
+
Na(n, c), za(n, o, c);
|
|
4570
4570
|
}
|
|
4571
4571
|
n.__dataHost = o;
|
|
4572
4572
|
}
|
|
4573
4573
|
}
|
|
4574
|
-
function
|
|
4574
|
+
function Na(o, t) {
|
|
4575
4575
|
if (t.isCompound) {
|
|
4576
4576
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4577
4577
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4580,15 +4580,15 @@ function za(o, t) {
|
|
|
4580
4580
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = K(o)), o[r] = t.literal);
|
|
4581
4581
|
}
|
|
4582
4582
|
}
|
|
4583
|
-
function
|
|
4583
|
+
function za(o, t, e) {
|
|
4584
4584
|
if (e.listenerEvent) {
|
|
4585
4585
|
let i = e.parts[0];
|
|
4586
4586
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4587
|
-
|
|
4587
|
+
wa(s, t, e.target, i.source, i.negate);
|
|
4588
4588
|
});
|
|
4589
4589
|
}
|
|
4590
4590
|
}
|
|
4591
|
-
function
|
|
4591
|
+
function Po(o, t, e, i, s, r) {
|
|
4592
4592
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4593
4593
|
let n = {
|
|
4594
4594
|
methodName: t.methodName,
|
|
@@ -4611,12 +4611,12 @@ function mi(o, t, e, i, s) {
|
|
|
4611
4611
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4612
4612
|
if (n) {
|
|
4613
4613
|
let a = o._marshalArgs(s.args, t, e);
|
|
4614
|
-
return a ===
|
|
4614
|
+
return a === yt ? yt : n.apply(r, a);
|
|
4615
4615
|
} else
|
|
4616
4616
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4617
4617
|
}
|
|
4618
|
-
const
|
|
4619
|
-
function
|
|
4618
|
+
const La = [], Fs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ra = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Ba = "(?:'(?:[^'\\\\]|\\\\.)*')", Ha = '(?:"(?:[^"\\\\]|\\\\.)*")', $a = "(?:" + Ba + "|" + Ha + ")", ko = "(?:(" + Fs + "|" + Ra + "|" + $a + ")\\s*)", Ya = "(?:" + ko + "(?:,\\s*" + ko + ")*)", ja = "(?:\\(\\s*(?:" + Ya + "?)\\)\\s*)", Va = "(" + Fs + "\\s*" + ja + "?)", Ua = "(\\[\\[|{{)\\s*", Wa = "(?:]]|}})", qa = "(?:(!)\\s*)?", Ka = Ua + qa + Va + Wa, Do = new RegExp(Ka, "g");
|
|
4619
|
+
function To(o) {
|
|
4620
4620
|
let t = "";
|
|
4621
4621
|
for (let e = 0; e < o.length; e++) {
|
|
4622
4622
|
let i = o[e].literal;
|
|
@@ -4627,22 +4627,22 @@ function Mo(o) {
|
|
|
4627
4627
|
function Jt(o) {
|
|
4628
4628
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4629
4629
|
if (t) {
|
|
4630
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4630
|
+
let i = { methodName: t[1], static: !0, args: La };
|
|
4631
4631
|
if (t[2].trim()) {
|
|
4632
4632
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4633
|
-
return
|
|
4633
|
+
return Ga(s, i);
|
|
4634
4634
|
} else
|
|
4635
4635
|
return i;
|
|
4636
4636
|
}
|
|
4637
4637
|
return null;
|
|
4638
4638
|
}
|
|
4639
|
-
function
|
|
4639
|
+
function Ga(o, t) {
|
|
4640
4640
|
return t.args = o.map(function(e) {
|
|
4641
|
-
let i =
|
|
4641
|
+
let i = Ns(e);
|
|
4642
4642
|
return i.literal || (t.static = !1), i;
|
|
4643
4643
|
}, this), t;
|
|
4644
4644
|
}
|
|
4645
|
-
function
|
|
4645
|
+
function Ns(o) {
|
|
4646
4646
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4647
4647
|
name: t,
|
|
4648
4648
|
value: "",
|
|
@@ -4659,16 +4659,16 @@ function zs(o) {
|
|
|
4659
4659
|
}
|
|
4660
4660
|
return e.literal || (e.rootProperty = Ye(t), e.structured = pi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4661
4661
|
}
|
|
4662
|
-
function
|
|
4662
|
+
function Mo(o, t, e) {
|
|
4663
4663
|
let i = re(o, e);
|
|
4664
4664
|
return i === void 0 && (i = t[e]), i;
|
|
4665
4665
|
}
|
|
4666
|
-
function
|
|
4666
|
+
function zs(o, t, e, i) {
|
|
4667
4667
|
const s = { indexSplices: i };
|
|
4668
4668
|
hi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), hi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4669
4669
|
}
|
|
4670
4670
|
function st(o, t, e, i, s, r) {
|
|
4671
|
-
|
|
4671
|
+
zs(o, t, e, [{
|
|
4672
4672
|
index: i,
|
|
4673
4673
|
addedCount: s,
|
|
4674
4674
|
removed: r,
|
|
@@ -4676,11 +4676,11 @@ function st(o, t, e, i, s, r) {
|
|
|
4676
4676
|
type: "splice"
|
|
4677
4677
|
}]);
|
|
4678
4678
|
}
|
|
4679
|
-
function
|
|
4679
|
+
function Ja(o) {
|
|
4680
4680
|
return o[0].toUpperCase() + o.substring(1);
|
|
4681
4681
|
}
|
|
4682
4682
|
const Yi = U((o) => {
|
|
4683
|
-
const t =
|
|
4683
|
+
const t = _a(na(o));
|
|
4684
4684
|
class e extends t {
|
|
4685
4685
|
constructor() {
|
|
4686
4686
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4859,7 +4859,7 @@ const Yi = U((o) => {
|
|
|
4859
4859
|
if (!a) {
|
|
4860
4860
|
let l = re(this, s);
|
|
4861
4861
|
if (s = /** @type {string} */
|
|
4862
|
-
|
|
4862
|
+
wo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4863
4863
|
return !1;
|
|
4864
4864
|
}
|
|
4865
4865
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4868,7 +4868,7 @@ const Yi = U((o) => {
|
|
|
4868
4868
|
r,
|
|
4869
4869
|
n
|
|
4870
4870
|
))
|
|
4871
|
-
return
|
|
4871
|
+
return ka(
|
|
4872
4872
|
this,
|
|
4873
4873
|
/**@type{string}*/
|
|
4874
4874
|
s,
|
|
@@ -5084,7 +5084,7 @@ const Yi = U((o) => {
|
|
|
5084
5084
|
let a = this.__dataHasPaths;
|
|
5085
5085
|
this.__dataHasPaths = !1;
|
|
5086
5086
|
let l;
|
|
5087
|
-
|
|
5087
|
+
Sa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ct(this, this[k.REFLECT], r, n, a), ct(this, this[k.OBSERVE], r, n, a), l && ya(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5088
5088
|
}
|
|
5089
5089
|
/**
|
|
5090
5090
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5181,7 +5181,7 @@ const Yi = U((o) => {
|
|
|
5181
5181
|
/** @type {Array} */
|
|
5182
5182
|
re(this, s, n)
|
|
5183
5183
|
);
|
|
5184
|
-
|
|
5184
|
+
zs(this, a, n.path, r);
|
|
5185
5185
|
}
|
|
5186
5186
|
/**
|
|
5187
5187
|
* Convenience method for reading a value from a path.
|
|
@@ -5229,7 +5229,7 @@ const Yi = U((o) => {
|
|
|
5229
5229
|
* @public
|
|
5230
5230
|
*/
|
|
5231
5231
|
set(s, r, n) {
|
|
5232
|
-
n ?
|
|
5232
|
+
n ? wo(n, s, r) : (!this[k.READ_ONLY] || !this[k.READ_ONLY][
|
|
5233
5233
|
/** @type {string} */
|
|
5234
5234
|
s
|
|
5235
5235
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5384,7 +5384,7 @@ const Yi = U((o) => {
|
|
|
5384
5384
|
* @protected
|
|
5385
5385
|
*/
|
|
5386
5386
|
_createReadOnlyProperty(s, r) {
|
|
5387
|
-
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" +
|
|
5387
|
+
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" + Ja(s)] = /** @this {PropertyEffects} */
|
|
5388
5388
|
function(n) {
|
|
5389
5389
|
this._setProperty(s, n);
|
|
5390
5390
|
});
|
|
@@ -5406,7 +5406,7 @@ const Yi = U((o) => {
|
|
|
5406
5406
|
_createPropertyObserver(s, r, n) {
|
|
5407
5407
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5408
5408
|
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5409
|
-
fn:
|
|
5409
|
+
fn: Ao,
|
|
5410
5410
|
info: a,
|
|
5411
5411
|
trigger: { name: s }
|
|
5412
5412
|
}), n && this._addPropertyEffect(
|
|
@@ -5414,7 +5414,7 @@ const Yi = U((o) => {
|
|
|
5414
5414
|
r,
|
|
5415
5415
|
k.OBSERVE,
|
|
5416
5416
|
{
|
|
5417
|
-
fn:
|
|
5417
|
+
fn: Ao,
|
|
5418
5418
|
info: a,
|
|
5419
5419
|
trigger: { name: r }
|
|
5420
5420
|
}
|
|
@@ -5436,7 +5436,7 @@ const Yi = U((o) => {
|
|
|
5436
5436
|
let n = Jt(s);
|
|
5437
5437
|
if (!n)
|
|
5438
5438
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5439
|
-
|
|
5439
|
+
Po(this, n, k.OBSERVE, mi, null, r);
|
|
5440
5440
|
}
|
|
5441
5441
|
/**
|
|
5442
5442
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5450,7 +5450,7 @@ const Yi = U((o) => {
|
|
|
5450
5450
|
*/
|
|
5451
5451
|
_createNotifyingProperty(s) {
|
|
5452
5452
|
this._addPropertyEffect(s, k.NOTIFY, {
|
|
5453
|
-
fn:
|
|
5453
|
+
fn: xa,
|
|
5454
5454
|
info: {
|
|
5455
5455
|
eventName: $t(s) + "-changed",
|
|
5456
5456
|
property: s
|
|
@@ -5471,7 +5471,7 @@ const Yi = U((o) => {
|
|
|
5471
5471
|
_createReflectedProperty(s) {
|
|
5472
5472
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5473
5473
|
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, k.REFLECT, {
|
|
5474
|
-
fn:
|
|
5474
|
+
fn: Ea,
|
|
5475
5475
|
info: {
|
|
5476
5476
|
attrName: r
|
|
5477
5477
|
}
|
|
@@ -5494,8 +5494,8 @@ const Yi = U((o) => {
|
|
|
5494
5494
|
let a = Jt(r);
|
|
5495
5495
|
if (!a)
|
|
5496
5496
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5497
|
-
const l =
|
|
5498
|
-
Kt(this,
|
|
5497
|
+
const l = Po(this, a, k.COMPUTE, Is, s, n);
|
|
5498
|
+
Kt(this, Ms)[s] = l;
|
|
5499
5499
|
}
|
|
5500
5500
|
/**
|
|
5501
5501
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5516,16 +5516,16 @@ const Yi = U((o) => {
|
|
|
5516
5516
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5517
5517
|
if (!p)
|
|
5518
5518
|
if (m) {
|
|
5519
|
-
const g = _t(d, r),
|
|
5519
|
+
const g = _t(d, r), v = Mo(a, n, g ? r : d);
|
|
5520
5520
|
b = {
|
|
5521
5521
|
path: g ? r : d,
|
|
5522
|
-
value:
|
|
5523
|
-
base: g ? re(a, d) :
|
|
5522
|
+
value: v,
|
|
5523
|
+
base: g ? re(a, d) : v
|
|
5524
5524
|
};
|
|
5525
5525
|
} else
|
|
5526
|
-
b = h ?
|
|
5526
|
+
b = h ? Mo(a, n, d) : a[d];
|
|
5527
5527
|
if (hi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5528
|
-
return
|
|
5528
|
+
return yt;
|
|
5529
5529
|
l[c] = b;
|
|
5530
5530
|
}
|
|
5531
5531
|
return l;
|
|
@@ -5806,7 +5806,7 @@ const Yi = U((o) => {
|
|
|
5806
5806
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5807
5807
|
a.push(l);
|
|
5808
5808
|
}
|
|
5809
|
-
return n.templateInfo = r,
|
|
5809
|
+
return n.templateInfo = r, Fa(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5810
5810
|
}
|
|
5811
5811
|
/**
|
|
5812
5812
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5853,7 +5853,7 @@ const Yi = U((o) => {
|
|
|
5853
5853
|
);
|
|
5854
5854
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5855
5855
|
let l = this._parseBindings(s.textContent, r);
|
|
5856
|
-
l && (s.textContent =
|
|
5856
|
+
l && (s.textContent = To(l) || " ", Gt(this, r, n, "text", "textContent", l), a = !0);
|
|
5857
5857
|
}
|
|
5858
5858
|
return a;
|
|
5859
5859
|
}
|
|
@@ -5880,9 +5880,9 @@ const Yi = U((o) => {
|
|
|
5880
5880
|
let c = this._parseBindings(l, r);
|
|
5881
5881
|
if (c) {
|
|
5882
5882
|
let u = a, d = "property";
|
|
5883
|
-
|
|
5884
|
-
let h =
|
|
5885
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a =
|
|
5883
|
+
ga.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5884
|
+
let h = To(c);
|
|
5885
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Ss(a)), Gt(this, r, n, d, a, c, h), !0;
|
|
5886
5886
|
} else
|
|
5887
5887
|
return t._parseTemplateNodeAttribute.call(
|
|
5888
5888
|
this,
|
|
@@ -5915,10 +5915,10 @@ const Yi = U((o) => {
|
|
|
5915
5915
|
n
|
|
5916
5916
|
);
|
|
5917
5917
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5918
|
-
|
|
5918
|
+
_o && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5919
5919
|
let h = c.hostProps;
|
|
5920
|
-
if (
|
|
5921
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5920
|
+
if ($n && u)
|
|
5921
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), _o || (n.parentInfo.noted = !0));
|
|
5922
5922
|
else {
|
|
5923
5923
|
let m = "{";
|
|
5924
5924
|
for (let b in h) {
|
|
@@ -5975,19 +5975,19 @@ const Yi = U((o) => {
|
|
|
5975
5975
|
*/
|
|
5976
5976
|
static _parseBindings(s, r) {
|
|
5977
5977
|
let n = [], a = 0, l;
|
|
5978
|
-
for (; (l =
|
|
5978
|
+
for (; (l = Do.exec(s)) !== null; ) {
|
|
5979
5979
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5980
5980
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
5981
5981
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
5982
5982
|
let p = Jt(d), g = [];
|
|
5983
5983
|
if (p) {
|
|
5984
|
-
let { args:
|
|
5985
|
-
for (let A = 0; A <
|
|
5986
|
-
let D =
|
|
5984
|
+
let { args: v, methodName: y } = p;
|
|
5985
|
+
for (let A = 0; A < v.length; A++) {
|
|
5986
|
+
let D = v[A];
|
|
5987
5987
|
D.literal || g.push(D);
|
|
5988
5988
|
}
|
|
5989
5989
|
let C = r.dynamicFns;
|
|
5990
|
-
(C && C[
|
|
5990
|
+
(C && C[y] || p.static) && (g.push(y), p.dynamicFn = !0);
|
|
5991
5991
|
} else
|
|
5992
5992
|
g.push(d);
|
|
5993
5993
|
n.push({
|
|
@@ -5998,7 +5998,7 @@ const Yi = U((o) => {
|
|
|
5998
5998
|
signature: p,
|
|
5999
5999
|
dependencies: g,
|
|
6000
6000
|
event: m
|
|
6001
|
-
}), a =
|
|
6001
|
+
}), a = Do.lastIndex;
|
|
6002
6002
|
}
|
|
6003
6003
|
if (a && a < s.length) {
|
|
6004
6004
|
let c = s.substring(a);
|
|
@@ -6048,7 +6048,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6048
6048
|
Code distributed by Google as part of the polymer project is also
|
|
6049
6049
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6050
6050
|
*/
|
|
6051
|
-
function
|
|
6051
|
+
function Xa(o) {
|
|
6052
6052
|
const t = {};
|
|
6053
6053
|
for (let e in o) {
|
|
6054
6054
|
const i = o[e];
|
|
@@ -6056,8 +6056,8 @@ function Za(o) {
|
|
|
6056
6056
|
}
|
|
6057
6057
|
return t;
|
|
6058
6058
|
}
|
|
6059
|
-
const
|
|
6060
|
-
const t =
|
|
6059
|
+
const Za = U((o) => {
|
|
6060
|
+
const t = ks(o);
|
|
6061
6061
|
function e(r) {
|
|
6062
6062
|
const n = Object.getPrototypeOf(r);
|
|
6063
6063
|
return n.prototype instanceof s ? (
|
|
@@ -6070,7 +6070,7 @@ const Qa = U((o) => {
|
|
|
6070
6070
|
let n = null;
|
|
6071
6071
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6072
6072
|
const a = r.properties;
|
|
6073
|
-
a && (n =
|
|
6073
|
+
a && (n = Xa(a));
|
|
6074
6074
|
}
|
|
6075
6075
|
r.__ownProperties = n;
|
|
6076
6076
|
}
|
|
@@ -6207,8 +6207,8 @@ const Qa = U((o) => {
|
|
|
6207
6207
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6208
6208
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6209
6209
|
*/
|
|
6210
|
-
const
|
|
6211
|
-
const t =
|
|
6210
|
+
const Qa = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, el = U((o) => {
|
|
6211
|
+
const t = Za(Yi(o));
|
|
6212
6212
|
function e(l) {
|
|
6213
6213
|
if (!l.hasOwnProperty(
|
|
6214
6214
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6236,19 +6236,19 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6236
6236
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6237
6237
|
}
|
|
6238
6238
|
function r(l, c, u, d) {
|
|
6239
|
-
if (!
|
|
6240
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6241
|
-
for (let
|
|
6242
|
-
let
|
|
6243
|
-
|
|
6239
|
+
if (!Oo) {
|
|
6240
|
+
const h = c.content.querySelectorAll("style"), m = vs(c), b = Gn(u), p = c.content.firstElementChild;
|
|
6241
|
+
for (let v = 0; v < b.length; v++) {
|
|
6242
|
+
let y = b[v];
|
|
6243
|
+
y.textContent = l._processStyleText(y.textContent, d), c.content.insertBefore(y, p);
|
|
6244
6244
|
}
|
|
6245
6245
|
let g = 0;
|
|
6246
|
-
for (let
|
|
6247
|
-
let
|
|
6248
|
-
C !==
|
|
6246
|
+
for (let v = 0; v < m.length; v++) {
|
|
6247
|
+
let y = m[v], C = h[g];
|
|
6248
|
+
C !== y ? (y = y.cloneNode(!0), C.parentNode.insertBefore(y, C)) : g++, y.textContent = l._processStyleText(y.textContent, d);
|
|
6249
6249
|
}
|
|
6250
6250
|
}
|
|
6251
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6251
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), Yn && Oo && zn) {
|
|
6252
6252
|
const h = c.content.querySelectorAll("style");
|
|
6253
6253
|
if (h) {
|
|
6254
6254
|
let m = "";
|
|
@@ -6260,7 +6260,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6260
6260
|
}
|
|
6261
6261
|
function n(l) {
|
|
6262
6262
|
let c = null;
|
|
6263
|
-
if (l && (!Ft ||
|
|
6263
|
+
if (l && (!Ft || Rn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6264
6264
|
mt.import(l, "template"), Ft && !c))
|
|
6265
6265
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6266
6266
|
return c;
|
|
@@ -6272,7 +6272,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6272
6272
|
* @nocollapse
|
|
6273
6273
|
*/
|
|
6274
6274
|
static get polymerElementVersion() {
|
|
6275
|
-
return
|
|
6275
|
+
return Qa;
|
|
6276
6276
|
}
|
|
6277
6277
|
/**
|
|
6278
6278
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6293,7 +6293,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6293
6293
|
/** @type {PolymerElementConstructor} */
|
|
6294
6294
|
this.template
|
|
6295
6295
|
);
|
|
6296
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6296
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : _s || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6297
6297
|
}
|
|
6298
6298
|
/**
|
|
6299
6299
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6463,7 +6463,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6463
6463
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6464
6464
|
/** @type {!HTMLElement} */
|
|
6465
6465
|
this.localName
|
|
6466
|
-
), super._initializeProperties(), this.rootPath =
|
|
6466
|
+
), super._initializeProperties(), this.rootPath = Ln, this.importPath = this.constructor.importPath;
|
|
6467
6467
|
let c = e(this.constructor);
|
|
6468
6468
|
if (c)
|
|
6469
6469
|
for (let u in c) {
|
|
@@ -6574,7 +6574,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6574
6574
|
_attachDom(c) {
|
|
6575
6575
|
const u = K(this);
|
|
6576
6576
|
if (u.attachShadow)
|
|
6577
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6577
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Bn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6578
6578
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6579
6579
|
}
|
|
6580
6580
|
/**
|
|
@@ -6659,7 +6659,7 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6659
6659
|
* @nocollapse
|
|
6660
6660
|
*/
|
|
6661
6661
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6662
|
-
return
|
|
6662
|
+
return gs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6663
6663
|
// dependencies) become accessors with template effects; ignore these
|
|
6664
6664
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6665
6665
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6684,16 +6684,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6684
6684
|
Code distributed by Google as part of the polymer project is also
|
|
6685
6685
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6686
6686
|
*/
|
|
6687
|
-
const
|
|
6688
|
-
class
|
|
6687
|
+
const Io = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6688
|
+
class Ls {
|
|
6689
6689
|
/**
|
|
6690
6690
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6691
6691
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6692
6692
|
*/
|
|
6693
6693
|
constructor(t, e) {
|
|
6694
|
-
|
|
6694
|
+
Bs(t, e);
|
|
6695
6695
|
const i = e.reduce(
|
|
6696
|
-
(s, r, n) => s +
|
|
6696
|
+
(s, r, n) => s + Rs(r) + t[n + 1],
|
|
6697
6697
|
t[0]
|
|
6698
6698
|
);
|
|
6699
6699
|
this.value = i.toString();
|
|
@@ -6706,8 +6706,8 @@ class Rs {
|
|
|
6706
6706
|
return this.value;
|
|
6707
6707
|
}
|
|
6708
6708
|
}
|
|
6709
|
-
function
|
|
6710
|
-
if (o instanceof
|
|
6709
|
+
function Rs(o) {
|
|
6710
|
+
if (o instanceof Ls)
|
|
6711
6711
|
return (
|
|
6712
6712
|
/** @type {!LiteralString} */
|
|
6713
6713
|
o.value
|
|
@@ -6716,30 +6716,30 @@ function Bs(o) {
|
|
|
6716
6716
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6717
6717
|
);
|
|
6718
6718
|
}
|
|
6719
|
-
function
|
|
6719
|
+
function tl(o) {
|
|
6720
6720
|
if (o instanceof HTMLTemplateElement)
|
|
6721
6721
|
return (
|
|
6722
6722
|
/** @type {!HTMLTemplateElement } */
|
|
6723
6723
|
o.innerHTML
|
|
6724
6724
|
);
|
|
6725
|
-
if (o instanceof
|
|
6726
|
-
return
|
|
6725
|
+
if (o instanceof Ls)
|
|
6726
|
+
return Rs(o);
|
|
6727
6727
|
throw new Error(
|
|
6728
6728
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6729
6729
|
);
|
|
6730
6730
|
}
|
|
6731
6731
|
const je = function(t, ...e) {
|
|
6732
|
-
|
|
6732
|
+
Bs(t, e);
|
|
6733
6733
|
const i = (
|
|
6734
6734
|
/** @type {!HTMLTemplateElement} */
|
|
6735
6735
|
document.createElement("template")
|
|
6736
6736
|
);
|
|
6737
6737
|
let s = e.reduce(
|
|
6738
|
-
(r, n, a) => r +
|
|
6738
|
+
(r, n, a) => r + tl(n) + t[a + 1],
|
|
6739
6739
|
t[0]
|
|
6740
6740
|
);
|
|
6741
|
-
return
|
|
6742
|
-
},
|
|
6741
|
+
return Io && (s = Io.createHTML(s)), i.innerHTML = s, i;
|
|
6742
|
+
}, Bs = (o, t) => {
|
|
6743
6743
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6744
6744
|
throw new TypeError("Invalid call to the html template tag");
|
|
6745
6745
|
};
|
|
@@ -6752,27 +6752,27 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6752
6752
|
Code distributed by Google as part of the polymer project is also
|
|
6753
6753
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6754
6754
|
*/
|
|
6755
|
-
const Me =
|
|
6755
|
+
const Me = el(HTMLElement);
|
|
6756
6756
|
/**
|
|
6757
6757
|
* @license
|
|
6758
6758
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6759
6759
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6760
6760
|
*/
|
|
6761
|
-
const
|
|
6761
|
+
const ve = [];
|
|
6762
6762
|
function _i(o, t, e = o.getAttribute("dir")) {
|
|
6763
6763
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6764
6764
|
}
|
|
6765
6765
|
function gi() {
|
|
6766
6766
|
return document.documentElement.getAttribute("dir");
|
|
6767
6767
|
}
|
|
6768
|
-
function
|
|
6768
|
+
function il() {
|
|
6769
6769
|
const o = gi();
|
|
6770
|
-
|
|
6770
|
+
ve.forEach((t) => {
|
|
6771
6771
|
_i(t, o);
|
|
6772
6772
|
});
|
|
6773
6773
|
}
|
|
6774
|
-
const
|
|
6775
|
-
|
|
6774
|
+
const ol = new MutationObserver(il);
|
|
6775
|
+
ol.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6776
6776
|
const Yt = (o) => class extends o {
|
|
6777
6777
|
static get properties() {
|
|
6778
6778
|
return {
|
|
@@ -6805,12 +6805,12 @@ const Yt = (o) => class extends o {
|
|
|
6805
6805
|
attributeChangedCallback(e, i, s) {
|
|
6806
6806
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6807
6807
|
return;
|
|
6808
|
-
const r = gi(), n = s === r &&
|
|
6808
|
+
const r = gi(), n = s === r && ve.indexOf(this) === -1, a = !s && i && ve.indexOf(this) === -1;
|
|
6809
6809
|
n || a ? (this.__subscribe(), _i(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6810
6810
|
}
|
|
6811
6811
|
/** @protected */
|
|
6812
6812
|
disconnectedCallback() {
|
|
6813
|
-
super.disconnectedCallback(), this.__restoreSubscription =
|
|
6813
|
+
super.disconnectedCallback(), this.__restoreSubscription = ve.includes(this), this.__unsubscribe();
|
|
6814
6814
|
}
|
|
6815
6815
|
/** @protected */
|
|
6816
6816
|
_valueToNodeAttribute(e, i, s) {
|
|
@@ -6822,11 +6822,11 @@ const Yt = (o) => class extends o {
|
|
|
6822
6822
|
}
|
|
6823
6823
|
/** @private */
|
|
6824
6824
|
__subscribe() {
|
|
6825
|
-
|
|
6825
|
+
ve.includes(this) || ve.push(this);
|
|
6826
6826
|
}
|
|
6827
6827
|
/** @private */
|
|
6828
6828
|
__unsubscribe() {
|
|
6829
|
-
|
|
6829
|
+
ve.includes(this) && ve.splice(ve.indexOf(this), 1);
|
|
6830
6830
|
}
|
|
6831
6831
|
};
|
|
6832
6832
|
/**
|
|
@@ -6834,7 +6834,7 @@ const Yt = (o) => class extends o {
|
|
|
6834
6834
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6835
6835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6836
6836
|
*/
|
|
6837
|
-
const
|
|
6837
|
+
const sl = (o) => class extends o {
|
|
6838
6838
|
static get properties() {
|
|
6839
6839
|
return {
|
|
6840
6840
|
/**
|
|
@@ -6874,7 +6874,7 @@ const rl = (o) => class extends o {
|
|
|
6874
6874
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6875
6875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6876
6876
|
*/
|
|
6877
|
-
const
|
|
6877
|
+
const rl = P`
|
|
6878
6878
|
:host {
|
|
6879
6879
|
display: flex;
|
|
6880
6880
|
align-items: center;
|
|
@@ -6945,8 +6945,8 @@ const nl = P`
|
|
|
6945
6945
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6946
6946
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6947
6947
|
*/
|
|
6948
|
-
L("vaadin-input-container",
|
|
6949
|
-
class
|
|
6948
|
+
L("vaadin-input-container", rl, { moduleId: "vaadin-input-container-styles" });
|
|
6949
|
+
class nl extends sl($e(Yt(Me))) {
|
|
6950
6950
|
static get is() {
|
|
6951
6951
|
return "vaadin-input-container";
|
|
6952
6952
|
}
|
|
@@ -6958,13 +6958,13 @@ class al extends rl($e(Yt(Me))) {
|
|
|
6958
6958
|
`;
|
|
6959
6959
|
}
|
|
6960
6960
|
}
|
|
6961
|
-
be(
|
|
6961
|
+
be(nl);
|
|
6962
6962
|
/**
|
|
6963
6963
|
* @license
|
|
6964
6964
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6965
6965
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6966
6966
|
*/
|
|
6967
|
-
const
|
|
6967
|
+
const al = P`
|
|
6968
6968
|
:host {
|
|
6969
6969
|
z-index: 200;
|
|
6970
6970
|
position: fixed;
|
|
@@ -7053,59 +7053,59 @@ function bi() {
|
|
|
7053
7053
|
function Vi() {
|
|
7054
7054
|
return ji;
|
|
7055
7055
|
}
|
|
7056
|
-
function
|
|
7056
|
+
function ll(o) {
|
|
7057
7057
|
const t = o.style;
|
|
7058
7058
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7059
7059
|
return !0;
|
|
7060
7060
|
const e = window.getComputedStyle(o);
|
|
7061
7061
|
return e.visibility === "hidden" || e.display === "none";
|
|
7062
7062
|
}
|
|
7063
|
-
function
|
|
7063
|
+
function cl(o, t) {
|
|
7064
7064
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7065
7065
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7066
7066
|
}
|
|
7067
|
-
function
|
|
7067
|
+
function ul(o, t) {
|
|
7068
7068
|
const e = [];
|
|
7069
7069
|
for (; o.length > 0 && t.length > 0; )
|
|
7070
|
-
|
|
7070
|
+
cl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7071
7071
|
return e.concat(o, t);
|
|
7072
7072
|
}
|
|
7073
|
-
function
|
|
7073
|
+
function yi(o) {
|
|
7074
7074
|
const t = o.length;
|
|
7075
7075
|
if (t < 2)
|
|
7076
7076
|
return o;
|
|
7077
|
-
const e = Math.ceil(t / 2), i =
|
|
7078
|
-
return
|
|
7077
|
+
const e = Math.ceil(t / 2), i = yi(o.slice(0, e)), s = yi(o.slice(e));
|
|
7078
|
+
return ul(i, s);
|
|
7079
7079
|
}
|
|
7080
|
-
function
|
|
7080
|
+
function Hs(o) {
|
|
7081
7081
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7082
7082
|
}
|
|
7083
|
-
function
|
|
7083
|
+
function dl(o) {
|
|
7084
7084
|
return o.getRootNode().activeElement === o;
|
|
7085
7085
|
}
|
|
7086
|
-
function
|
|
7087
|
-
if (
|
|
7086
|
+
function hl(o) {
|
|
7087
|
+
if (!Hs(o))
|
|
7088
7088
|
return -1;
|
|
7089
7089
|
const t = o.getAttribute("tabindex") || 0;
|
|
7090
7090
|
return Number(t);
|
|
7091
7091
|
}
|
|
7092
|
-
function
|
|
7093
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7092
|
+
function $s(o, t) {
|
|
7093
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ll(o))
|
|
7094
7094
|
return !1;
|
|
7095
7095
|
const e = (
|
|
7096
7096
|
/** @type {HTMLElement} */
|
|
7097
7097
|
o
|
|
7098
|
-
), i =
|
|
7098
|
+
), i = hl(e);
|
|
7099
7099
|
let s = i > 0;
|
|
7100
7100
|
i >= 0 && t.push(e);
|
|
7101
7101
|
let r = [];
|
|
7102
7102
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7103
|
-
s =
|
|
7103
|
+
s = $s(n, t) || s;
|
|
7104
7104
|
}), s;
|
|
7105
7105
|
}
|
|
7106
|
-
function
|
|
7106
|
+
function pl(o) {
|
|
7107
7107
|
const t = [];
|
|
7108
|
-
return
|
|
7108
|
+
return $s(o, t) ? yi(t) : t;
|
|
7109
7109
|
}
|
|
7110
7110
|
/**
|
|
7111
7111
|
@license
|
|
@@ -7116,23 +7116,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7116
7116
|
Code distributed by Google as part of the polymer project is also
|
|
7117
7117
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7118
7118
|
*/
|
|
7119
|
-
let
|
|
7120
|
-
function
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7119
|
+
let vi = !1, fl = [], Ys = [];
|
|
7120
|
+
function ml() {
|
|
7121
|
+
vi = !0, requestAnimationFrame(function() {
|
|
7122
|
+
vi = !1, _l(fl), setTimeout(function() {
|
|
7123
|
+
gl(Ys);
|
|
7124
7124
|
});
|
|
7125
7125
|
});
|
|
7126
7126
|
}
|
|
7127
|
-
function
|
|
7127
|
+
function _l(o) {
|
|
7128
7128
|
for (; o.length; )
|
|
7129
|
-
|
|
7129
|
+
js(o.shift());
|
|
7130
7130
|
}
|
|
7131
|
-
function
|
|
7131
|
+
function gl(o) {
|
|
7132
7132
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7133
|
-
|
|
7133
|
+
js(o.shift());
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function js(o) {
|
|
7136
7136
|
const t = o[0], e = o[1], i = o[2];
|
|
7137
7137
|
try {
|
|
7138
7138
|
e.apply(t, i);
|
|
@@ -7142,21 +7142,21 @@ function Vs(o) {
|
|
|
7142
7142
|
});
|
|
7143
7143
|
}
|
|
7144
7144
|
}
|
|
7145
|
-
function
|
|
7146
|
-
|
|
7145
|
+
function Vs(o, t, e) {
|
|
7146
|
+
vi || ml(), Ys.push([o, t, e]);
|
|
7147
7147
|
}
|
|
7148
7148
|
/**
|
|
7149
7149
|
* @license
|
|
7150
7150
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7151
7151
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7152
7152
|
*/
|
|
7153
|
-
const jt = (o) => o.test(navigator.userAgent), xi = (o) => o.test(navigator.platform),
|
|
7153
|
+
const jt = (o) => o.test(navigator.userAgent), xi = (o) => o.test(navigator.platform), bl = (o) => o.test(navigator.vendor);
|
|
7154
7154
|
jt(/Android/u);
|
|
7155
|
-
jt(/Chrome/u) &&
|
|
7155
|
+
jt(/Chrome/u) && bl(/Google Inc/u);
|
|
7156
7156
|
jt(/Firefox/u);
|
|
7157
|
-
const yl = xi(/^iPad/u) || xi(/^Mac/u) && navigator.maxTouchPoints > 1,
|
|
7157
|
+
const yl = xi(/^iPad/u) || xi(/^Mac/u) && navigator.maxTouchPoints > 1, vl = xi(/^iPhone/u), Us = vl || yl;
|
|
7158
7158
|
jt(/^((?!chrome|android).)*safari/iu);
|
|
7159
|
-
const
|
|
7159
|
+
const xl = (() => {
|
|
7160
7160
|
try {
|
|
7161
7161
|
return document.createEvent("TouchEvent"), !0;
|
|
7162
7162
|
} catch {
|
|
@@ -7169,10 +7169,10 @@ const wl = (() => {
|
|
|
7169
7169
|
* SPDX-License-Identifier: MIT
|
|
7170
7170
|
*/
|
|
7171
7171
|
let Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {}, Xt = 0;
|
|
7172
|
-
const
|
|
7172
|
+
const Fo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
7173
7173
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7174
|
-
},
|
|
7175
|
-
if (!
|
|
7174
|
+
}, wl = (o, t) => Fo(o) ? t.map((e) => {
|
|
7175
|
+
if (!Fo(e))
|
|
7176
7176
|
return Zt(e, "is not a valid element"), null;
|
|
7177
7177
|
let i = e;
|
|
7178
7178
|
for (; i && i !== o; ) {
|
|
@@ -7181,8 +7181,8 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7181
7181
|
i = i.getRootNode().host;
|
|
7182
7182
|
}
|
|
7183
7183
|
return Zt(e, "is not contained inside", o), null;
|
|
7184
|
-
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []),
|
|
7185
|
-
const s =
|
|
7184
|
+
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []), El = (o, t, e, i) => {
|
|
7185
|
+
const s = wl(t, Array.isArray(o) ? o : [o]);
|
|
7186
7186
|
Ct[e] || (Ct[e] = /* @__PURE__ */ new WeakMap());
|
|
7187
7187
|
const r = Ct[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7188
7188
|
if (!d || a.has(d))
|
|
@@ -7201,8 +7201,8 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7201
7201
|
if (a.has(b))
|
|
7202
7202
|
u(b);
|
|
7203
7203
|
else {
|
|
7204
|
-
const p = b.getAttribute(i), g = p !== null && p !== "false",
|
|
7205
|
-
Ue.set(b,
|
|
7204
|
+
const p = b.getAttribute(i), g = p !== null && p !== "false", v = (Ue.get(b) || 0) + 1, y = (r.get(b) || 0) + 1;
|
|
7205
|
+
Ue.set(b, v), r.set(b, y), n.push(b), v === 1 && g && At.set(b, !0), y === 1 && b.setAttribute(e, "true"), g || b.setAttribute(i, "true");
|
|
7206
7206
|
}
|
|
7207
7207
|
});
|
|
7208
7208
|
};
|
|
@@ -7212,16 +7212,16 @@ const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7212
7212
|
Ue.set(d, h), r.set(d, m), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7213
7213
|
}), Xt -= 1, Xt || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {});
|
|
7214
7214
|
};
|
|
7215
|
-
},
|
|
7215
|
+
}, Ws = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7216
7216
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7217
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7217
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), El(i, t, e, "aria-hidden");
|
|
7218
7218
|
};
|
|
7219
7219
|
/**
|
|
7220
7220
|
* @license
|
|
7221
7221
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7222
7222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7223
7223
|
*/
|
|
7224
|
-
class
|
|
7224
|
+
class Sl {
|
|
7225
7225
|
/**
|
|
7226
7226
|
* @param {HTMLElement} host
|
|
7227
7227
|
*/
|
|
@@ -7237,7 +7237,7 @@ class Al {
|
|
|
7237
7237
|
*/
|
|
7238
7238
|
showModal() {
|
|
7239
7239
|
const t = this.callback();
|
|
7240
|
-
this.__showOthers =
|
|
7240
|
+
this.__showOthers = Ws(t);
|
|
7241
7241
|
}
|
|
7242
7242
|
/**
|
|
7243
7243
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7252,7 +7252,7 @@ class Al {
|
|
|
7252
7252
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7253
7253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7254
7254
|
*/
|
|
7255
|
-
class
|
|
7255
|
+
class Al {
|
|
7256
7256
|
/**
|
|
7257
7257
|
* Saves the given node as a target for restoring focus to
|
|
7258
7258
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7280,7 +7280,7 @@ class Cl {
|
|
|
7280
7280
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7281
7281
|
*/
|
|
7282
7282
|
const Qt = [];
|
|
7283
|
-
class
|
|
7283
|
+
class Cl {
|
|
7284
7284
|
/**
|
|
7285
7285
|
* @param {HTMLElement} host
|
|
7286
7286
|
*/
|
|
@@ -7294,7 +7294,7 @@ class Pl {
|
|
|
7294
7294
|
* @private
|
|
7295
7295
|
*/
|
|
7296
7296
|
get __focusableElements() {
|
|
7297
|
-
return
|
|
7297
|
+
return pl(this.__trapNode);
|
|
7298
7298
|
}
|
|
7299
7299
|
/**
|
|
7300
7300
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7304,7 +7304,7 @@ class Pl {
|
|
|
7304
7304
|
*/
|
|
7305
7305
|
get __focusedElementIndex() {
|
|
7306
7306
|
const t = this.__focusableElements;
|
|
7307
|
-
return t.indexOf(t.filter(
|
|
7307
|
+
return t.indexOf(t.filter(dl).pop());
|
|
7308
7308
|
}
|
|
7309
7309
|
hostConnected() {
|
|
7310
7310
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7417,7 +7417,7 @@ const it = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7417
7417
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7418
7418
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7419
7419
|
*/
|
|
7420
|
-
const
|
|
7420
|
+
const Pl = (o) => class extends it(o) {
|
|
7421
7421
|
static get properties() {
|
|
7422
7422
|
return {
|
|
7423
7423
|
/**
|
|
@@ -7448,7 +7448,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7448
7448
|
};
|
|
7449
7449
|
}
|
|
7450
7450
|
constructor() {
|
|
7451
|
-
super(), this.__ariaModalController = new
|
|
7451
|
+
super(), this.__ariaModalController = new Sl(this), this.__focusTrapController = new Cl(this), this.__focusRestorationController = new Al();
|
|
7452
7452
|
}
|
|
7453
7453
|
/** @protected */
|
|
7454
7454
|
ready() {
|
|
@@ -7519,7 +7519,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7519
7519
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7520
7520
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7521
7521
|
*/
|
|
7522
|
-
const
|
|
7522
|
+
const qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), wi = () => qs().filter((o) => o.$.overlay), kl = (o) => o === wi().pop(), Dl = (o) => class extends o {
|
|
7523
7523
|
constructor() {
|
|
7524
7524
|
super(), this._hasOverlayStackMixin = !0;
|
|
7525
7525
|
}
|
|
@@ -7530,14 +7530,14 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7530
7530
|
* @protected
|
|
7531
7531
|
*/
|
|
7532
7532
|
get _last() {
|
|
7533
|
-
return
|
|
7533
|
+
return kl(this);
|
|
7534
7534
|
}
|
|
7535
7535
|
/**
|
|
7536
7536
|
* Brings the overlay as visually the frontmost one.
|
|
7537
7537
|
*/
|
|
7538
7538
|
bringToFront() {
|
|
7539
7539
|
let e = "";
|
|
7540
|
-
const i =
|
|
7540
|
+
const i = qs().filter((s) => s !== this).pop();
|
|
7541
7541
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7542
7542
|
}
|
|
7543
7543
|
/** @protected */
|
|
@@ -7560,7 +7560,7 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7560
7560
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7561
7561
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7562
7562
|
*/
|
|
7563
|
-
const
|
|
7563
|
+
const Tl = (o) => class extends Pl(Dl(o)) {
|
|
7564
7564
|
static get properties() {
|
|
7565
7565
|
return {
|
|
7566
7566
|
/**
|
|
@@ -7633,7 +7633,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7633
7633
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7634
7634
|
}
|
|
7635
7635
|
constructor() {
|
|
7636
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7636
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), Us && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7637
7637
|
}
|
|
7638
7638
|
/** @protected */
|
|
7639
7639
|
ready() {
|
|
@@ -7701,7 +7701,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7701
7701
|
}
|
|
7702
7702
|
/** @private */
|
|
7703
7703
|
_openedChanged(e, i) {
|
|
7704
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7704
|
+
e ? (this._saveFocus(), this._animatedOpening(), Vs(this, () => {
|
|
7705
7705
|
this._trapFocus();
|
|
7706
7706
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7707
7707
|
this.dispatchEvent(s);
|
|
@@ -7826,7 +7826,7 @@ const Ml = (o) => class extends kl(Tl(o)) {
|
|
|
7826
7826
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7827
7827
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7828
7828
|
*/
|
|
7829
|
-
function
|
|
7829
|
+
function Ml(o) {
|
|
7830
7830
|
const t = [];
|
|
7831
7831
|
for (; o; ) {
|
|
7832
7832
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7851,11 +7851,11 @@ function Ui(o) {
|
|
|
7851
7851
|
function Vt(o) {
|
|
7852
7852
|
return o ? [...o].join(" ") : "";
|
|
7853
7853
|
}
|
|
7854
|
-
function
|
|
7854
|
+
function Ks(o, t, e) {
|
|
7855
7855
|
const i = Ui(o.getAttribute(t));
|
|
7856
7856
|
i.add(e), o.setAttribute(t, Vt(i));
|
|
7857
7857
|
}
|
|
7858
|
-
function
|
|
7858
|
+
function Ol(o, t, e) {
|
|
7859
7859
|
const i = Ui(o.getAttribute(t));
|
|
7860
7860
|
if (i.delete(e), i.size === 0) {
|
|
7861
7861
|
o.removeAttribute(t);
|
|
@@ -7863,7 +7863,7 @@ function Il(o, t, e) {
|
|
|
7863
7863
|
}
|
|
7864
7864
|
o.setAttribute(t, Vt(i));
|
|
7865
7865
|
}
|
|
7866
|
-
function
|
|
7866
|
+
function Il(o) {
|
|
7867
7867
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7868
7868
|
}
|
|
7869
7869
|
/**
|
|
@@ -7871,7 +7871,7 @@ function Fl(o) {
|
|
|
7871
7871
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7872
7872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7873
7873
|
*/
|
|
7874
|
-
function
|
|
7874
|
+
function Fl(o, t) {
|
|
7875
7875
|
let e = null;
|
|
7876
7876
|
const i = document.documentElement;
|
|
7877
7877
|
function s() {
|
|
@@ -7882,21 +7882,21 @@ function Nl(o, t) {
|
|
|
7882
7882
|
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
7883
7883
|
if (n || t(), !u || !d)
|
|
7884
7884
|
return;
|
|
7885
|
-
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), b = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l),
|
|
7885
|
+
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), b = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l), v = {
|
|
7886
7886
|
rootMargin: `${-h}px ${-m}px ${-b}px ${-p}px`,
|
|
7887
7887
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7888
7888
|
};
|
|
7889
|
-
let
|
|
7889
|
+
let y = !0;
|
|
7890
7890
|
function C(A) {
|
|
7891
7891
|
let D = A[0].intersectionRatio;
|
|
7892
7892
|
if (D !== a) {
|
|
7893
|
-
if (!
|
|
7893
|
+
if (!y)
|
|
7894
7894
|
return r();
|
|
7895
7895
|
D === 0 && (D = 1e-7), r(!1, D);
|
|
7896
7896
|
}
|
|
7897
|
-
|
|
7897
|
+
y = !1;
|
|
7898
7898
|
}
|
|
7899
|
-
e = new IntersectionObserver(C,
|
|
7899
|
+
e = new IntersectionObserver(C, v), e.observe(o);
|
|
7900
7900
|
}
|
|
7901
7901
|
return r(!0), s;
|
|
7902
7902
|
}
|
|
@@ -7911,13 +7911,13 @@ const ei = {
|
|
|
7911
7911
|
}, ti = {
|
|
7912
7912
|
start: "left",
|
|
7913
7913
|
end: "right"
|
|
7914
|
-
},
|
|
7914
|
+
}, No = new ResizeObserver((o) => {
|
|
7915
7915
|
setTimeout(() => {
|
|
7916
7916
|
o.forEach((t) => {
|
|
7917
7917
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7918
7918
|
});
|
|
7919
7919
|
});
|
|
7920
|
-
}),
|
|
7920
|
+
}), Nl = (o) => class extends o {
|
|
7921
7921
|
static get properties() {
|
|
7922
7922
|
return {
|
|
7923
7923
|
/**
|
|
@@ -8016,9 +8016,9 @@ const ei = {
|
|
|
8016
8016
|
}
|
|
8017
8017
|
/** @private */
|
|
8018
8018
|
__addUpdatePositionEventListeners() {
|
|
8019
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8019
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Ml(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8020
8020
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8021
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8021
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Fl(this.positionTarget, () => {
|
|
8022
8022
|
this._updatePosition();
|
|
8023
8023
|
}));
|
|
8024
8024
|
}
|
|
@@ -8030,7 +8030,7 @@ const ei = {
|
|
|
8030
8030
|
}
|
|
8031
8031
|
/** @private */
|
|
8032
8032
|
__overlayOpenedChanged(e, i) {
|
|
8033
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8033
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, No.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, No.observe(i))), e) {
|
|
8034
8034
|
const s = getComputedStyle(this);
|
|
8035
8035
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8036
8036
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8152,7 +8152,7 @@ const ei = {
|
|
|
8152
8152
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8153
8153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8154
8154
|
*/
|
|
8155
|
-
const
|
|
8155
|
+
const zl = (o) => class extends Nl(Tl(o)) {
|
|
8156
8156
|
/**
|
|
8157
8157
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8158
8158
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8169,7 +8169,7 @@ const Ll = (o) => class extends zl(Ml(o)) {
|
|
|
8169
8169
|
* @override
|
|
8170
8170
|
*/
|
|
8171
8171
|
_mouseDownListener(e) {
|
|
8172
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) &&
|
|
8172
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Hs(e.composedPath()[0]) && e.preventDefault();
|
|
8173
8173
|
}
|
|
8174
8174
|
};
|
|
8175
8175
|
/**
|
|
@@ -8177,7 +8177,7 @@ const Ll = (o) => class extends zl(Ml(o)) {
|
|
|
8177
8177
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8178
8178
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8179
8179
|
*/
|
|
8180
|
-
const
|
|
8180
|
+
const Ll = P`
|
|
8181
8181
|
[part='overlay'] {
|
|
8182
8182
|
display: flex;
|
|
8183
8183
|
flex: auto;
|
|
@@ -8198,10 +8198,10 @@ const Rl = P`
|
|
|
8198
8198
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8199
8199
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8200
8200
|
*/
|
|
8201
|
-
L("vaadin-date-picker-overlay", [
|
|
8201
|
+
L("vaadin-date-picker-overlay", [al, Ll], {
|
|
8202
8202
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8203
8203
|
});
|
|
8204
|
-
class
|
|
8204
|
+
class Rl extends zl(Yt($e(Me))) {
|
|
8205
8205
|
static get is() {
|
|
8206
8206
|
return "vaadin-date-picker-overlay";
|
|
8207
8207
|
}
|
|
@@ -8216,34 +8216,34 @@ class Bl extends Ll(Yt($e(Me))) {
|
|
|
8216
8216
|
`;
|
|
8217
8217
|
}
|
|
8218
8218
|
}
|
|
8219
|
-
be(
|
|
8220
|
-
const
|
|
8221
|
-
function
|
|
8219
|
+
be(Rl);
|
|
8220
|
+
const Bl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Dt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8221
|
+
function Hl() {
|
|
8222
8222
|
function o() {
|
|
8223
8223
|
return !0;
|
|
8224
8224
|
}
|
|
8225
|
-
return
|
|
8225
|
+
return Gs(o);
|
|
8226
8226
|
}
|
|
8227
|
-
function
|
|
8227
|
+
function $l() {
|
|
8228
8228
|
try {
|
|
8229
|
-
return
|
|
8229
|
+
return Yl() ? !0 : jl() ? Dt ? !Vl() : !Hl() : !1;
|
|
8230
8230
|
} catch {
|
|
8231
8231
|
return !1;
|
|
8232
8232
|
}
|
|
8233
8233
|
}
|
|
8234
|
-
function
|
|
8234
|
+
function Yl() {
|
|
8235
8235
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8236
8236
|
}
|
|
8237
|
-
function
|
|
8237
|
+
function jl() {
|
|
8238
8238
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8239
8239
|
}
|
|
8240
|
-
function
|
|
8240
|
+
function Vl() {
|
|
8241
8241
|
return !!(Dt && Object.keys(Dt).map((t) => Dt[t]).filter((t) => t.productionMode).length > 0);
|
|
8242
8242
|
}
|
|
8243
|
-
function
|
|
8243
|
+
function Gs(o, t) {
|
|
8244
8244
|
if (typeof o != "function")
|
|
8245
8245
|
return;
|
|
8246
|
-
const e =
|
|
8246
|
+
const e = Bl.exec(o.toString());
|
|
8247
8247
|
if (e)
|
|
8248
8248
|
try {
|
|
8249
8249
|
o = new Function(e[1]);
|
|
@@ -8253,12 +8253,12 @@ function Js(o, t) {
|
|
|
8253
8253
|
return o(t);
|
|
8254
8254
|
}
|
|
8255
8255
|
window.Vaadin = window.Vaadin || {};
|
|
8256
|
-
const
|
|
8256
|
+
const zo = function(o, t) {
|
|
8257
8257
|
if (window.Vaadin.developmentMode)
|
|
8258
|
-
return
|
|
8258
|
+
return Gs(o, t);
|
|
8259
8259
|
};
|
|
8260
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8261
|
-
function
|
|
8260
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = $l());
|
|
8261
|
+
function Ul() {
|
|
8262
8262
|
/*! vaadin-dev-mode:start
|
|
8263
8263
|
(function () {
|
|
8264
8264
|
'use strict';
|
|
@@ -8739,9 +8739,9 @@ function Wl() {
|
|
|
8739
8739
|
|
|
8740
8740
|
vaadin-dev-mode:end **/
|
|
8741
8741
|
}
|
|
8742
|
-
const
|
|
8743
|
-
if (typeof
|
|
8744
|
-
return
|
|
8742
|
+
const Wl = function() {
|
|
8743
|
+
if (typeof zo == "function")
|
|
8744
|
+
return zo(Ul);
|
|
8745
8745
|
};
|
|
8746
8746
|
/**
|
|
8747
8747
|
* @license
|
|
@@ -8752,10 +8752,10 @@ const ql = function() {
|
|
|
8752
8752
|
* Code distributed by Google as part of the polymer project is also
|
|
8753
8753
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8754
8754
|
*/
|
|
8755
|
-
let
|
|
8755
|
+
let Lo = 0, Js = 0;
|
|
8756
8756
|
const Ge = [];
|
|
8757
8757
|
let Ei = !1;
|
|
8758
|
-
function
|
|
8758
|
+
function ql() {
|
|
8759
8759
|
Ei = !1;
|
|
8760
8760
|
const o = Ge.length;
|
|
8761
8761
|
for (let t = 0; t < o; t++) {
|
|
@@ -8769,7 +8769,7 @@ function Kl() {
|
|
|
8769
8769
|
});
|
|
8770
8770
|
}
|
|
8771
8771
|
}
|
|
8772
|
-
Ge.splice(0, o),
|
|
8772
|
+
Ge.splice(0, o), Js += o;
|
|
8773
8773
|
}
|
|
8774
8774
|
const zt = {
|
|
8775
8775
|
/**
|
|
@@ -8811,7 +8811,7 @@ const zt = {
|
|
|
8811
8811
|
cancel(o) {
|
|
8812
8812
|
window.clearTimeout(o);
|
|
8813
8813
|
}
|
|
8814
|
-
},
|
|
8814
|
+
}, Kl = {
|
|
8815
8815
|
/**
|
|
8816
8816
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8817
8817
|
*
|
|
@@ -8832,7 +8832,7 @@ const zt = {
|
|
|
8832
8832
|
cancel(o) {
|
|
8833
8833
|
window.cancelAnimationFrame(o);
|
|
8834
8834
|
}
|
|
8835
|
-
},
|
|
8835
|
+
}, Gl = {
|
|
8836
8836
|
/**
|
|
8837
8837
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8838
8838
|
*
|
|
@@ -8853,7 +8853,7 @@ const zt = {
|
|
|
8853
8853
|
cancel(o) {
|
|
8854
8854
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8855
8855
|
}
|
|
8856
|
-
},
|
|
8856
|
+
}, Jl = {
|
|
8857
8857
|
/**
|
|
8858
8858
|
* Enqueues a function called at microtask timing.
|
|
8859
8859
|
*
|
|
@@ -8862,9 +8862,9 @@ const zt = {
|
|
|
8862
8862
|
* @return {number} Handle used for canceling task
|
|
8863
8863
|
*/
|
|
8864
8864
|
run(o) {
|
|
8865
|
-
Ei || (Ei = !0, queueMicrotask(() =>
|
|
8866
|
-
const t =
|
|
8867
|
-
return
|
|
8865
|
+
Ei || (Ei = !0, queueMicrotask(() => ql())), Ge.push(o);
|
|
8866
|
+
const t = Lo;
|
|
8867
|
+
return Lo += 1, t;
|
|
8868
8868
|
},
|
|
8869
8869
|
/**
|
|
8870
8870
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8874,7 +8874,7 @@ const zt = {
|
|
|
8874
8874
|
* @return {void}
|
|
8875
8875
|
*/
|
|
8876
8876
|
cancel(o) {
|
|
8877
|
-
const t = o -
|
|
8877
|
+
const t = o - Js;
|
|
8878
8878
|
if (t >= 0) {
|
|
8879
8879
|
if (!Ge[t])
|
|
8880
8880
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8983,7 +8983,7 @@ let Qe = class Ai {
|
|
|
8983
8983
|
return this._timer != null;
|
|
8984
8984
|
}
|
|
8985
8985
|
};
|
|
8986
|
-
function
|
|
8986
|
+
function Xl(o) {
|
|
8987
8987
|
Si.add(o);
|
|
8988
8988
|
}
|
|
8989
8989
|
/**
|
|
@@ -8995,17 +8995,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8995
8995
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
8996
8996
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
8997
8997
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
8998
|
-
|
|
8998
|
+
Wl();
|
|
8999
8999
|
};
|
|
9000
9000
|
let ii;
|
|
9001
|
-
const
|
|
9001
|
+
const Ro = /* @__PURE__ */ new Set(), Xs = (o) => class extends Yt(o) {
|
|
9002
9002
|
/** @protected */
|
|
9003
9003
|
static finalize() {
|
|
9004
9004
|
super.finalize();
|
|
9005
9005
|
const { is: e } = this;
|
|
9006
|
-
e && !
|
|
9006
|
+
e && !Ro.has(e) && (window.Vaadin.registrations.push(this), Ro.add(e), window.Vaadin.developmentModeCallback && (ii = Qe.debounce(ii, Gl, () => {
|
|
9007
9007
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9008
|
-
}),
|
|
9008
|
+
}), Xl(ii)));
|
|
9009
9009
|
}
|
|
9010
9010
|
constructor() {
|
|
9011
9011
|
super(), document.doctype === null && console.warn(
|
|
@@ -9018,7 +9018,7 @@ const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends Yt(o) {
|
|
|
9018
9018
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9019
9019
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9020
9020
|
*/
|
|
9021
|
-
class
|
|
9021
|
+
class Zl {
|
|
9022
9022
|
constructor(t, e) {
|
|
9023
9023
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9024
9024
|
this._schedule();
|
|
@@ -9068,9 +9068,9 @@ class Ql {
|
|
|
9068
9068
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9069
9069
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9070
9070
|
*/
|
|
9071
|
-
let
|
|
9072
|
-
function
|
|
9073
|
-
return
|
|
9071
|
+
let Ql = 0;
|
|
9072
|
+
function Zs() {
|
|
9073
|
+
return Ql++;
|
|
9074
9074
|
}
|
|
9075
9075
|
/**
|
|
9076
9076
|
* @license
|
|
@@ -9087,7 +9087,7 @@ class Le extends EventTarget {
|
|
|
9087
9087
|
* @protected
|
|
9088
9088
|
*/
|
|
9089
9089
|
static generateId(t, e = "default") {
|
|
9090
|
-
return `${e}-${t.localName}-${
|
|
9090
|
+
return `${e}-${t.localName}-${Zs()}`;
|
|
9091
9091
|
}
|
|
9092
9092
|
constructor(t, e, i, s = {}) {
|
|
9093
9093
|
super();
|
|
@@ -9179,8 +9179,8 @@ class Le extends EventTarget {
|
|
|
9179
9179
|
*/
|
|
9180
9180
|
observeSlot() {
|
|
9181
9181
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9182
|
-
this.__slotObserver = new
|
|
9183
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9182
|
+
this.__slotObserver = new Zl(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9183
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Il(l) && !n.includes(l));
|
|
9184
9184
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9185
9185
|
this.teardownNode(l);
|
|
9186
9186
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9194,7 +9194,7 @@ class Le extends EventTarget {
|
|
|
9194
9194
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9195
9195
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9196
9196
|
*/
|
|
9197
|
-
class
|
|
9197
|
+
class Qs extends Le {
|
|
9198
9198
|
constructor(t) {
|
|
9199
9199
|
super(t, "tooltip"), this.setTarget(t);
|
|
9200
9200
|
}
|
|
@@ -9295,7 +9295,7 @@ class er extends Le {
|
|
|
9295
9295
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9296
9296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9297
9297
|
*/
|
|
9298
|
-
const
|
|
9298
|
+
const ec = P`
|
|
9299
9299
|
:host {
|
|
9300
9300
|
display: inline-block;
|
|
9301
9301
|
position: relative;
|
|
@@ -9355,7 +9355,7 @@ const tc = P`
|
|
|
9355
9355
|
outline-color: GrayText;
|
|
9356
9356
|
}
|
|
9357
9357
|
}
|
|
9358
|
-
`,
|
|
9358
|
+
`, tc = (o) => o`
|
|
9359
9359
|
<div class="vaadin-button-container">
|
|
9360
9360
|
<span part="prefix" aria-hidden="true">
|
|
9361
9361
|
<slot name="prefix"></slot>
|
|
@@ -9378,34 +9378,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9378
9378
|
Code distributed by Google as part of the polymer project is also
|
|
9379
9379
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9380
9380
|
*/
|
|
9381
|
-
const
|
|
9381
|
+
const ic = (o) => o, er = typeof document.head.style.touchAction == "string", Ci = "__polymerGestures", oi = "__polymerGesturesHandled", Pi = "__polymerGesturesTouchAction", Bo = 25, Ho = 5, oc = 2, sc = ["mousedown", "mousemove", "mouseup", "click"], rc = [0, 1, 4, 2], nc = function() {
|
|
9382
9382
|
try {
|
|
9383
9383
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9384
9384
|
} catch {
|
|
9385
9385
|
return !1;
|
|
9386
9386
|
}
|
|
9387
9387
|
}();
|
|
9388
|
-
function
|
|
9389
|
-
return
|
|
9388
|
+
function Wi(o) {
|
|
9389
|
+
return sc.indexOf(o) > -1;
|
|
9390
9390
|
}
|
|
9391
|
-
let
|
|
9391
|
+
let ac = !1;
|
|
9392
9392
|
(function() {
|
|
9393
9393
|
try {
|
|
9394
9394
|
const o = Object.defineProperty({}, "passive", {
|
|
9395
9395
|
// eslint-disable-next-line getter-return
|
|
9396
9396
|
get() {
|
|
9397
|
-
|
|
9397
|
+
ac = !0;
|
|
9398
9398
|
}
|
|
9399
9399
|
});
|
|
9400
9400
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9401
9401
|
} catch {
|
|
9402
9402
|
}
|
|
9403
9403
|
})();
|
|
9404
|
-
function
|
|
9405
|
-
|
|
9406
|
-
return { passive: !0 };
|
|
9404
|
+
function lc(o) {
|
|
9405
|
+
Wi(o);
|
|
9407
9406
|
}
|
|
9408
|
-
const
|
|
9407
|
+
const cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), uc = {
|
|
9409
9408
|
button: !0,
|
|
9410
9409
|
command: !0,
|
|
9411
9410
|
fieldset: !0,
|
|
@@ -9418,15 +9417,15 @@ const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
|
9418
9417
|
};
|
|
9419
9418
|
function Be(o) {
|
|
9420
9419
|
const t = o.type;
|
|
9421
|
-
if (!
|
|
9420
|
+
if (!Wi(t))
|
|
9422
9421
|
return !1;
|
|
9423
9422
|
if (t === "mousemove") {
|
|
9424
9423
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9425
|
-
return o instanceof window.MouseEvent && !
|
|
9424
|
+
return o instanceof window.MouseEvent && !nc && (i = rc[o.which] || 0), !!(i & 1);
|
|
9426
9425
|
}
|
|
9427
9426
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9428
9427
|
}
|
|
9429
|
-
function
|
|
9428
|
+
function dc(o) {
|
|
9430
9429
|
if (o.type === "click") {
|
|
9431
9430
|
if (o.detail === 0)
|
|
9432
9431
|
return !0;
|
|
@@ -9454,9 +9453,9 @@ const we = {
|
|
|
9454
9453
|
scrollDecided: !1
|
|
9455
9454
|
}
|
|
9456
9455
|
};
|
|
9457
|
-
function
|
|
9456
|
+
function hc(o) {
|
|
9458
9457
|
let t = "auto";
|
|
9459
|
-
const e =
|
|
9458
|
+
const e = ir(o);
|
|
9460
9459
|
for (let i = 0, s; i < e.length; i++)
|
|
9461
9460
|
if (s = e[i], s[Pi]) {
|
|
9462
9461
|
t = s[Pi];
|
|
@@ -9464,14 +9463,14 @@ function pc(o) {
|
|
|
9464
9463
|
}
|
|
9465
9464
|
return t;
|
|
9466
9465
|
}
|
|
9467
|
-
function
|
|
9466
|
+
function tr(o, t, e) {
|
|
9468
9467
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9469
9468
|
}
|
|
9470
9469
|
function Je(o) {
|
|
9471
9470
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9472
9471
|
}
|
|
9473
|
-
const
|
|
9474
|
-
function
|
|
9472
|
+
const ir = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], qi = {}, Re = [];
|
|
9473
|
+
function pc(o, t) {
|
|
9475
9474
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9476
9475
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9477
9476
|
const s = i;
|
|
@@ -9482,13 +9481,13 @@ function fc(o, t) {
|
|
|
9482
9481
|
return e;
|
|
9483
9482
|
}
|
|
9484
9483
|
function Te(o) {
|
|
9485
|
-
const t =
|
|
9484
|
+
const t = ir(
|
|
9486
9485
|
/** @type {?Event} */
|
|
9487
9486
|
o
|
|
9488
9487
|
);
|
|
9489
9488
|
return t.length > 0 ? t[0] : o.target;
|
|
9490
9489
|
}
|
|
9491
|
-
function
|
|
9490
|
+
function fc(o) {
|
|
9492
9491
|
const t = o.type, i = o.currentTarget[Ci];
|
|
9493
9492
|
if (!i)
|
|
9494
9493
|
return;
|
|
@@ -9499,7 +9498,7 @@ function mc(o) {
|
|
|
9499
9498
|
const n = o.changedTouches[0];
|
|
9500
9499
|
if (t === "touchstart" && o.touches.length === 1 && (we.touch.id = n.identifier), we.touch.id !== n.identifier)
|
|
9501
9500
|
return;
|
|
9502
|
-
|
|
9501
|
+
er || (t === "touchstart" || t === "touchmove") && mc(o);
|
|
9503
9502
|
}
|
|
9504
9503
|
const r = o[oi];
|
|
9505
9504
|
if (!r.skip) {
|
|
@@ -9509,7 +9508,7 @@ function mc(o) {
|
|
|
9509
9508
|
a = Re[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9510
9509
|
}
|
|
9511
9510
|
}
|
|
9512
|
-
function
|
|
9511
|
+
function mc(o) {
|
|
9513
9512
|
const t = o.changedTouches[0], e = o.type;
|
|
9514
9513
|
if (e === "touchstart")
|
|
9515
9514
|
we.touch.x = t.clientX, we.touch.y = t.clientY, we.touch.scrollDecided = !1;
|
|
@@ -9517,29 +9516,29 @@ function _c(o) {
|
|
|
9517
9516
|
if (we.touch.scrollDecided)
|
|
9518
9517
|
return;
|
|
9519
9518
|
we.touch.scrollDecided = !0;
|
|
9520
|
-
const i =
|
|
9519
|
+
const i = hc(o);
|
|
9521
9520
|
let s = !1;
|
|
9522
9521
|
const r = Math.abs(we.touch.x - t.clientX), n = Math.abs(we.touch.y - t.clientY);
|
|
9523
9522
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Lt("track");
|
|
9524
9523
|
}
|
|
9525
9524
|
}
|
|
9526
9525
|
function ge(o, t, e) {
|
|
9527
|
-
return
|
|
9526
|
+
return qi[t] ? (_c(o, t, e), !0) : !1;
|
|
9528
9527
|
}
|
|
9529
|
-
function
|
|
9530
|
-
const i =
|
|
9528
|
+
function _c(o, t, e) {
|
|
9529
|
+
const i = qi[t], s = i.deps, r = i.name;
|
|
9531
9530
|
let n = o[Ci];
|
|
9532
9531
|
n || (o[Ci] = n = {});
|
|
9533
9532
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9534
|
-
l = s[a], !(
|
|
9535
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9533
|
+
l = s[a], !(cc && Wi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, fc, lc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9534
|
+
o.addEventListener(t, e), i.touchAction && or(o, i.touchAction);
|
|
9536
9535
|
}
|
|
9537
|
-
function
|
|
9536
|
+
function Ki(o) {
|
|
9538
9537
|
Re.push(o), o.emits.forEach((t) => {
|
|
9539
|
-
|
|
9538
|
+
qi[t] = o;
|
|
9540
9539
|
});
|
|
9541
9540
|
}
|
|
9542
|
-
function
|
|
9541
|
+
function gc(o) {
|
|
9543
9542
|
for (let t = 0, e; t < Re.length; t++) {
|
|
9544
9543
|
e = Re[t];
|
|
9545
9544
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9548,14 +9547,14 @@ function bc(o) {
|
|
|
9548
9547
|
}
|
|
9549
9548
|
return null;
|
|
9550
9549
|
}
|
|
9551
|
-
function
|
|
9552
|
-
|
|
9550
|
+
function or(o, t) {
|
|
9551
|
+
er && o instanceof HTMLElement && Jl.run(() => {
|
|
9553
9552
|
o.style.touchAction = t;
|
|
9554
9553
|
}), o[Pi] = t;
|
|
9555
9554
|
}
|
|
9556
|
-
function
|
|
9555
|
+
function Gi(o, t, e) {
|
|
9557
9556
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9558
|
-
if (i.detail = e,
|
|
9557
|
+
if (i.detail = e, ic(
|
|
9559
9558
|
/** @type {!Node} */
|
|
9560
9559
|
o
|
|
9561
9560
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9564,10 +9563,10 @@ function Ji(o, t, e) {
|
|
|
9564
9563
|
}
|
|
9565
9564
|
}
|
|
9566
9565
|
function Lt(o) {
|
|
9567
|
-
const t =
|
|
9566
|
+
const t = gc(o);
|
|
9568
9567
|
t.info && (t.info.prevent = !0);
|
|
9569
9568
|
}
|
|
9570
|
-
|
|
9569
|
+
Ki({
|
|
9571
9570
|
name: "downup",
|
|
9572
9571
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9573
9572
|
flow: {
|
|
@@ -9599,7 +9598,7 @@ Gi({
|
|
|
9599
9598
|
}, s = (r) => {
|
|
9600
9599
|
Be(r) && nt("up", t, r), Je(e.info);
|
|
9601
9600
|
};
|
|
9602
|
-
|
|
9601
|
+
tr(this.info, i, s), nt("down", t, o);
|
|
9603
9602
|
},
|
|
9604
9603
|
/**
|
|
9605
9604
|
* @this {GestureRecognizer}
|
|
@@ -9619,7 +9618,7 @@ Gi({
|
|
|
9619
9618
|
}
|
|
9620
9619
|
});
|
|
9621
9620
|
function nt(o, t, e, i) {
|
|
9622
|
-
t &&
|
|
9621
|
+
t && Gi(t, o, {
|
|
9623
9622
|
x: e.clientX,
|
|
9624
9623
|
y: e.clientY,
|
|
9625
9624
|
sourceEvent: e,
|
|
@@ -9629,7 +9628,7 @@ function nt(o, t, e, i) {
|
|
|
9629
9628
|
}
|
|
9630
9629
|
});
|
|
9631
9630
|
}
|
|
9632
|
-
|
|
9631
|
+
Ki({
|
|
9633
9632
|
name: "track",
|
|
9634
9633
|
touchAction: "none",
|
|
9635
9634
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9646,7 +9645,7 @@ Gi({
|
|
|
9646
9645
|
moves: [],
|
|
9647
9646
|
/** @this {GestureInfo} */
|
|
9648
9647
|
addMove(o) {
|
|
9649
|
-
this.moves.length >
|
|
9648
|
+
this.moves.length > oc && this.moves.shift(), this.moves.push(o);
|
|
9650
9649
|
},
|
|
9651
9650
|
movefn: null,
|
|
9652
9651
|
upfn: null,
|
|
@@ -9669,11 +9668,11 @@ Gi({
|
|
|
9669
9668
|
return;
|
|
9670
9669
|
const t = Te(o), e = this, i = (r) => {
|
|
9671
9670
|
const n = r.clientX, a = r.clientY;
|
|
9672
|
-
|
|
9671
|
+
$o(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Lt("tap"), e.info.addMove({ x: n, y: a }), Be(r) || (e.info.state = "end", Je(e.info)), t && si(e.info, t, r), e.info.started = !0);
|
|
9673
9672
|
}, s = (r) => {
|
|
9674
9673
|
e.info.started && i(r), Je(e.info);
|
|
9675
9674
|
};
|
|
9676
|
-
|
|
9675
|
+
tr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9677
9676
|
},
|
|
9678
9677
|
/**
|
|
9679
9678
|
* @this {GestureRecognizer}
|
|
@@ -9691,7 +9690,7 @@ Gi({
|
|
|
9691
9690
|
*/
|
|
9692
9691
|
touchmove(o) {
|
|
9693
9692
|
const t = Te(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9694
|
-
|
|
9693
|
+
$o(this.info, i, s) && (this.info.state === "start" && Lt("tap"), this.info.addMove({ x: i, y: s }), si(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9695
9694
|
},
|
|
9696
9695
|
/**
|
|
9697
9696
|
* @this {GestureRecognizer}
|
|
@@ -9703,20 +9702,20 @@ Gi({
|
|
|
9703
9702
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), si(this.info, t, e));
|
|
9704
9703
|
}
|
|
9705
9704
|
});
|
|
9706
|
-
function
|
|
9705
|
+
function $o(o, t, e) {
|
|
9707
9706
|
if (o.prevent)
|
|
9708
9707
|
return !1;
|
|
9709
9708
|
if (o.started)
|
|
9710
9709
|
return !0;
|
|
9711
9710
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9712
|
-
return i >=
|
|
9711
|
+
return i >= Ho || s >= Ho;
|
|
9713
9712
|
}
|
|
9714
9713
|
function si(o, t, e) {
|
|
9715
9714
|
if (!t)
|
|
9716
9715
|
return;
|
|
9717
9716
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
9718
9717
|
let a, l = 0;
|
|
9719
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9718
|
+
i && (a = s.x - i.x, l = s.y - i.y), Gi(t, "track", {
|
|
9720
9719
|
state: o.state,
|
|
9721
9720
|
x: e.clientX,
|
|
9722
9721
|
y: e.clientY,
|
|
@@ -9726,11 +9725,11 @@ function si(o, t, e) {
|
|
|
9726
9725
|
ddy: l,
|
|
9727
9726
|
sourceEvent: e,
|
|
9728
9727
|
hover() {
|
|
9729
|
-
return
|
|
9728
|
+
return pc(e.clientX, e.clientY);
|
|
9730
9729
|
}
|
|
9731
9730
|
});
|
|
9732
9731
|
}
|
|
9733
|
-
|
|
9732
|
+
Ki({
|
|
9734
9733
|
name: "tap",
|
|
9735
9734
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9736
9735
|
flow: {
|
|
@@ -9764,7 +9763,7 @@ Gi({
|
|
|
9764
9763
|
* @return {void}
|
|
9765
9764
|
*/
|
|
9766
9765
|
click(o) {
|
|
9767
|
-
Be(o) &&
|
|
9766
|
+
Be(o) && Yo(this.info, o);
|
|
9768
9767
|
},
|
|
9769
9768
|
/**
|
|
9770
9769
|
* @this {GestureRecognizer}
|
|
@@ -9781,15 +9780,15 @@ Gi({
|
|
|
9781
9780
|
* @return {void}
|
|
9782
9781
|
*/
|
|
9783
9782
|
touchend(o) {
|
|
9784
|
-
|
|
9783
|
+
Yo(this.info, o.changedTouches[0], o);
|
|
9785
9784
|
}
|
|
9786
9785
|
});
|
|
9787
|
-
function
|
|
9786
|
+
function Yo(o, t, e) {
|
|
9788
9787
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Te(e || t);
|
|
9789
|
-
!r ||
|
|
9788
|
+
!r || uc[
|
|
9790
9789
|
/** @type {!HTMLElement} */
|
|
9791
9790
|
r.localName
|
|
9792
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9791
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Bo && s <= Bo || dc(t)) && (o.prevent || Gi(r, "tap", {
|
|
9793
9792
|
x: t.clientX,
|
|
9794
9793
|
y: t.clientY,
|
|
9795
9794
|
sourceEvent: t,
|
|
@@ -9801,7 +9800,7 @@ function jo(o, t, e) {
|
|
|
9801
9800
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9802
9801
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9803
9802
|
*/
|
|
9804
|
-
const
|
|
9803
|
+
const sr = U(
|
|
9805
9804
|
(o) => class extends o {
|
|
9806
9805
|
static get properties() {
|
|
9807
9806
|
return {
|
|
@@ -9908,7 +9907,7 @@ const Ut = U(
|
|
|
9908
9907
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9909
9908
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9910
9909
|
*/
|
|
9911
|
-
const
|
|
9910
|
+
const bc = (o) => class extends sr(Ut(o)) {
|
|
9912
9911
|
/**
|
|
9913
9912
|
* An array of activation keys.
|
|
9914
9913
|
*
|
|
@@ -9971,7 +9970,7 @@ const vc = (o) => class extends rr(Ut(o)) {
|
|
|
9971
9970
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9972
9971
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9973
9972
|
*/
|
|
9974
|
-
const
|
|
9973
|
+
const Ji = U(
|
|
9975
9974
|
(o) => class extends o {
|
|
9976
9975
|
/**
|
|
9977
9976
|
* @protected
|
|
@@ -10028,7 +10027,7 @@ const Xi = U(
|
|
|
10028
10027
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10029
10028
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10030
10029
|
*/
|
|
10031
|
-
const
|
|
10030
|
+
const rr = (o) => class extends sr(o) {
|
|
10032
10031
|
static get properties() {
|
|
10033
10032
|
return {
|
|
10034
10033
|
/**
|
|
@@ -10079,7 +10078,7 @@ const nr = (o) => class extends rr(o) {
|
|
|
10079
10078
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10080
10079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10081
10080
|
*/
|
|
10082
|
-
const yc = (o) => class extends
|
|
10081
|
+
const yc = (o) => class extends bc(rr(Ji(o))) {
|
|
10083
10082
|
static get properties() {
|
|
10084
10083
|
return {
|
|
10085
10084
|
/**
|
|
@@ -10134,26 +10133,26 @@ const yc = (o) => class extends vc(nr(Xi(o))) {
|
|
|
10134
10133
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10135
10134
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10136
10135
|
*/
|
|
10137
|
-
L("vaadin-button",
|
|
10138
|
-
class
|
|
10136
|
+
L("vaadin-button", ec, { moduleId: "vaadin-button-styles" });
|
|
10137
|
+
class vc extends yc(Xs($e(it(Me)))) {
|
|
10139
10138
|
static get is() {
|
|
10140
10139
|
return "vaadin-button";
|
|
10141
10140
|
}
|
|
10142
10141
|
static get template() {
|
|
10143
|
-
return
|
|
10142
|
+
return tc(je);
|
|
10144
10143
|
}
|
|
10145
10144
|
/** @protected */
|
|
10146
10145
|
ready() {
|
|
10147
|
-
super.ready(), this._tooltipController = new
|
|
10146
|
+
super.ready(), this._tooltipController = new Qs(this), this.addController(this._tooltipController);
|
|
10148
10147
|
}
|
|
10149
10148
|
}
|
|
10150
|
-
be(
|
|
10149
|
+
be(vc);
|
|
10151
10150
|
/**
|
|
10152
10151
|
* @license
|
|
10153
10152
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10154
10153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10155
10154
|
*/
|
|
10156
|
-
function
|
|
10155
|
+
function xc(o) {
|
|
10157
10156
|
let t = o.getDay();
|
|
10158
10157
|
t === 0 && (t = 7);
|
|
10159
10158
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10168,7 +10167,7 @@ function ki(o) {
|
|
|
10168
10167
|
function Se(o, t, e = ki) {
|
|
10169
10168
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10170
10169
|
}
|
|
10171
|
-
function
|
|
10170
|
+
function Xi(o) {
|
|
10172
10171
|
return {
|
|
10173
10172
|
day: o.getDate(),
|
|
10174
10173
|
month: o.getMonth(),
|
|
@@ -10178,12 +10177,12 @@ function Zi(o) {
|
|
|
10178
10177
|
function et(o, t, e, i) {
|
|
10179
10178
|
let s = !1;
|
|
10180
10179
|
if (typeof i == "function" && o) {
|
|
10181
|
-
const r =
|
|
10180
|
+
const r = Xi(o);
|
|
10182
10181
|
s = i(r);
|
|
10183
10182
|
}
|
|
10184
10183
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10185
10184
|
}
|
|
10186
|
-
function
|
|
10185
|
+
function nr(o, t) {
|
|
10187
10186
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10188
10187
|
if (!i)
|
|
10189
10188
|
return e;
|
|
@@ -10193,11 +10192,11 @@ function ar(o, t) {
|
|
|
10193
10192
|
return s < r ? i : e;
|
|
10194
10193
|
});
|
|
10195
10194
|
}
|
|
10196
|
-
function
|
|
10195
|
+
function ar(o) {
|
|
10197
10196
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10198
10197
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10199
10198
|
}
|
|
10200
|
-
function
|
|
10199
|
+
function wc(o, t, e = 0, i = 1) {
|
|
10201
10200
|
if (t > 99)
|
|
10202
10201
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10203
10202
|
if (t < 0)
|
|
@@ -10212,15 +10211,15 @@ function at(o) {
|
|
|
10212
10211
|
const e = new Date(0, 0);
|
|
10213
10212
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10214
10213
|
}
|
|
10215
|
-
function
|
|
10214
|
+
function Ec(o) {
|
|
10216
10215
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10217
10216
|
let e = "", i = "0000", s = o.year;
|
|
10218
10217
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10219
10218
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10220
10219
|
return [r, n, a].join("-");
|
|
10221
10220
|
}
|
|
10222
|
-
function
|
|
10223
|
-
return o instanceof Date ?
|
|
10221
|
+
function Sc(o) {
|
|
10222
|
+
return o instanceof Date ? Ec({
|
|
10224
10223
|
year: o.getFullYear(),
|
|
10225
10224
|
month: o.getMonth(),
|
|
10226
10225
|
day: o.getDate()
|
|
@@ -10250,7 +10249,7 @@ class Rt {
|
|
|
10250
10249
|
*/
|
|
10251
10250
|
setConfig(t, e) {
|
|
10252
10251
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
10253
|
-
this._timer = null,
|
|
10252
|
+
this._timer = null, vt.delete(this), this._callback();
|
|
10254
10253
|
});
|
|
10255
10254
|
}
|
|
10256
10255
|
/**
|
|
@@ -10259,7 +10258,7 @@ class Rt {
|
|
|
10259
10258
|
* @return {void}
|
|
10260
10259
|
*/
|
|
10261
10260
|
cancel() {
|
|
10262
|
-
this.isActive() && (this._cancelAsync(),
|
|
10261
|
+
this.isActive() && (this._cancelAsync(), vt.delete(this));
|
|
10263
10262
|
}
|
|
10264
10263
|
/**
|
|
10265
10264
|
* Cancels a debouncer's async callback.
|
|
@@ -10326,12 +10325,12 @@ class Rt {
|
|
|
10326
10325
|
return t instanceof Rt ? t._cancelAsync() : t = new Rt(), t.setConfig(e, i), t;
|
|
10327
10326
|
}
|
|
10328
10327
|
}
|
|
10329
|
-
let
|
|
10330
|
-
const
|
|
10331
|
-
|
|
10332
|
-
},
|
|
10333
|
-
const o = !!
|
|
10334
|
-
return
|
|
10328
|
+
let vt = /* @__PURE__ */ new Set();
|
|
10329
|
+
const Ac = function(o) {
|
|
10330
|
+
vt.add(o);
|
|
10331
|
+
}, Cc = function() {
|
|
10332
|
+
const o = !!vt.size;
|
|
10333
|
+
return vt.forEach((t) => {
|
|
10335
10334
|
try {
|
|
10336
10335
|
t.flush();
|
|
10337
10336
|
} catch (e) {
|
|
@@ -10350,10 +10349,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10350
10349
|
Code distributed by Google as part of the polymer project is also
|
|
10351
10350
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10352
10351
|
*/
|
|
10353
|
-
const
|
|
10352
|
+
const Zi = function() {
|
|
10354
10353
|
let o, t;
|
|
10355
10354
|
do
|
|
10356
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10355
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Cc();
|
|
10357
10356
|
while (o || t);
|
|
10358
10357
|
};
|
|
10359
10358
|
/**
|
|
@@ -10361,8 +10360,8 @@ const Qi = function() {
|
|
|
10361
10360
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10362
10361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10363
10362
|
*/
|
|
10364
|
-
const
|
|
10365
|
-
|
|
10363
|
+
const lr = document.createElement("template");
|
|
10364
|
+
lr.innerHTML = `
|
|
10366
10365
|
<style>
|
|
10367
10366
|
:host {
|
|
10368
10367
|
display: block;
|
|
@@ -10413,9 +10412,9 @@ cr.innerHTML = `
|
|
|
10413
10412
|
<div id="fullHeight"></div>
|
|
10414
10413
|
</div>
|
|
10415
10414
|
`;
|
|
10416
|
-
class
|
|
10415
|
+
class cr extends HTMLElement {
|
|
10417
10416
|
constructor() {
|
|
10418
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10417
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(lr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10419
10418
|
}
|
|
10420
10419
|
/**
|
|
10421
10420
|
* @return {boolean}
|
|
@@ -10475,7 +10474,7 @@ class ur extends HTMLElement {
|
|
|
10475
10474
|
* waiting for the debouncer to resolve.
|
|
10476
10475
|
*/
|
|
10477
10476
|
forceUpdate() {
|
|
10478
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10477
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), Zi();
|
|
10479
10478
|
}
|
|
10480
10479
|
/**
|
|
10481
10480
|
* @protected
|
|
@@ -10531,7 +10530,7 @@ class ur extends HTMLElement {
|
|
|
10531
10530
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10532
10531
|
const s = document.createElement("div");
|
|
10533
10532
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10534
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10533
|
+
const r = `vaadin-infinite-scroller-item-content-${Zs()}`, n = document.createElement("slot");
|
|
10535
10534
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10536
10535
|
}
|
|
10537
10536
|
}), requestAnimationFrame(() => {
|
|
@@ -10572,8 +10571,8 @@ class ur extends HTMLElement {
|
|
|
10572
10571
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10573
10572
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10574
10573
|
*/
|
|
10575
|
-
const
|
|
10576
|
-
|
|
10574
|
+
const ur = document.createElement("template");
|
|
10575
|
+
ur.innerHTML = `
|
|
10577
10576
|
<style>
|
|
10578
10577
|
:host {
|
|
10579
10578
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10586,12 +10585,12 @@ dr.innerHTML = `
|
|
|
10586
10585
|
}
|
|
10587
10586
|
</style>
|
|
10588
10587
|
`;
|
|
10589
|
-
class
|
|
10588
|
+
class Pc extends cr {
|
|
10590
10589
|
static get is() {
|
|
10591
10590
|
return "vaadin-date-picker-month-scroller";
|
|
10592
10591
|
}
|
|
10593
10592
|
constructor() {
|
|
10594
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10593
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(ur.content.cloneNode(!0));
|
|
10595
10594
|
}
|
|
10596
10595
|
/**
|
|
10597
10596
|
* @protected
|
|
@@ -10607,17 +10606,17 @@ class kc extends ur {
|
|
|
10607
10606
|
* @override
|
|
10608
10607
|
*/
|
|
10609
10608
|
_updateElement(t, e) {
|
|
10610
|
-
t.month =
|
|
10609
|
+
t.month = ar(e);
|
|
10611
10610
|
}
|
|
10612
10611
|
}
|
|
10613
|
-
be(
|
|
10612
|
+
be(Pc);
|
|
10614
10613
|
/**
|
|
10615
10614
|
* @license
|
|
10616
10615
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10617
10616
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10618
10617
|
*/
|
|
10619
|
-
const
|
|
10620
|
-
|
|
10618
|
+
const dr = document.createElement("template");
|
|
10619
|
+
dr.innerHTML = `
|
|
10621
10620
|
<style>
|
|
10622
10621
|
:host {
|
|
10623
10622
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10652,12 +10651,12 @@ hr.innerHTML = `
|
|
|
10652
10651
|
}
|
|
10653
10652
|
</style>
|
|
10654
10653
|
`;
|
|
10655
|
-
class
|
|
10654
|
+
class kc extends cr {
|
|
10656
10655
|
static get is() {
|
|
10657
10656
|
return "vaadin-date-picker-year-scroller";
|
|
10658
10657
|
}
|
|
10659
10658
|
constructor() {
|
|
10660
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10659
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(dr.content.cloneNode(!0));
|
|
10661
10660
|
}
|
|
10662
10661
|
/**
|
|
10663
10662
|
* @protected
|
|
@@ -10681,13 +10680,13 @@ class Dc extends ur {
|
|
|
10681
10680
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10682
10681
|
}
|
|
10683
10682
|
}
|
|
10684
|
-
be(
|
|
10683
|
+
be(kc);
|
|
10685
10684
|
/**
|
|
10686
10685
|
* @license
|
|
10687
10686
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10688
10687
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10689
10688
|
*/
|
|
10690
|
-
const
|
|
10689
|
+
const Dc = (o) => class extends o {
|
|
10691
10690
|
static get properties() {
|
|
10692
10691
|
return {
|
|
10693
10692
|
year: {
|
|
@@ -10713,7 +10712,7 @@ const Tc = (o) => class extends o {
|
|
|
10713
10712
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10714
10713
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10715
10714
|
*/
|
|
10716
|
-
class
|
|
10715
|
+
class Tc extends $e(Dc(Me)) {
|
|
10717
10716
|
static get is() {
|
|
10718
10717
|
return "vaadin-date-picker-year";
|
|
10719
10718
|
}
|
|
@@ -10730,7 +10729,7 @@ class Mc extends $e(Tc(Me)) {
|
|
|
10730
10729
|
`;
|
|
10731
10730
|
}
|
|
10732
10731
|
}
|
|
10733
|
-
be(
|
|
10732
|
+
be(Tc);
|
|
10734
10733
|
/**
|
|
10735
10734
|
@license
|
|
10736
10735
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10740,13 +10739,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10740
10739
|
Code distributed by Google as part of the polymer project is also
|
|
10741
10740
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10742
10741
|
*/
|
|
10743
|
-
function
|
|
10742
|
+
function Qi(o, t, e, i, s) {
|
|
10744
10743
|
let r;
|
|
10745
10744
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10746
10745
|
let n = i !== e && (i === i || e === e);
|
|
10747
10746
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10748
10747
|
}
|
|
10749
|
-
const
|
|
10748
|
+
const eo = U((o) => {
|
|
10750
10749
|
class t extends o {
|
|
10751
10750
|
/**
|
|
10752
10751
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10766,11 +10765,11 @@ const to = U((o) => {
|
|
|
10766
10765
|
* @protected
|
|
10767
10766
|
*/
|
|
10768
10767
|
_shouldPropertyChange(i, s, r) {
|
|
10769
|
-
return
|
|
10768
|
+
return Qi(this, i, s, r, !0);
|
|
10770
10769
|
}
|
|
10771
10770
|
}
|
|
10772
10771
|
return t;
|
|
10773
|
-
}),
|
|
10772
|
+
}), Mc = U((o) => {
|
|
10774
10773
|
class t extends o {
|
|
10775
10774
|
/** @nocollapse */
|
|
10776
10775
|
static get properties() {
|
|
@@ -10802,12 +10801,12 @@ const to = U((o) => {
|
|
|
10802
10801
|
* @protected
|
|
10803
10802
|
*/
|
|
10804
10803
|
_shouldPropertyChange(i, s, r) {
|
|
10805
|
-
return
|
|
10804
|
+
return Qi(this, i, s, r, this.mutableData);
|
|
10806
10805
|
}
|
|
10807
10806
|
}
|
|
10808
10807
|
return t;
|
|
10809
10808
|
});
|
|
10810
|
-
|
|
10809
|
+
eo._mutablePropertyChange = Qi;
|
|
10811
10810
|
/**
|
|
10812
10811
|
@license
|
|
10813
10812
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10827,13 +10826,13 @@ Ti.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10827
10826
|
writable: !0
|
|
10828
10827
|
}
|
|
10829
10828
|
});
|
|
10830
|
-
const
|
|
10831
|
-
function
|
|
10829
|
+
const hr = Yi(Ti), Oc = eo(hr);
|
|
10830
|
+
function Ic(o, t) {
|
|
10832
10831
|
Di = o, Object.setPrototypeOf(o, t.prototype), new t(), Di = null;
|
|
10833
10832
|
}
|
|
10834
|
-
const
|
|
10833
|
+
const Fc = Yi(class {
|
|
10835
10834
|
});
|
|
10836
|
-
function
|
|
10835
|
+
function Nc(o, t) {
|
|
10837
10836
|
for (let e = 0; e < t.length; e++) {
|
|
10838
10837
|
let i = t[e];
|
|
10839
10838
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10851,7 +10850,7 @@ function zc(o, t) {
|
|
|
10851
10850
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10852
10851
|
}
|
|
10853
10852
|
}
|
|
10854
|
-
class Oe extends
|
|
10853
|
+
class Oe extends Fc {
|
|
10855
10854
|
constructor(t) {
|
|
10856
10855
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10857
10856
|
let e = [];
|
|
@@ -10920,7 +10919,7 @@ class Oe extends Nc {
|
|
|
10920
10919
|
* @protected
|
|
10921
10920
|
*/
|
|
10922
10921
|
_showHideChildren(t) {
|
|
10923
|
-
|
|
10922
|
+
Nc(t, this.children);
|
|
10924
10923
|
}
|
|
10925
10924
|
/**
|
|
10926
10925
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10973,31 +10972,31 @@ Oe.prototype.__templatizeOptions;
|
|
|
10973
10972
|
Oe.prototype._methodHost;
|
|
10974
10973
|
Oe.prototype.__templatizeOwner;
|
|
10975
10974
|
Oe.prototype.__hostProps;
|
|
10976
|
-
const
|
|
10975
|
+
const zc = eo(
|
|
10977
10976
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10978
10977
|
// TemplateInstanceBase is a constructor function.
|
|
10979
10978
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10980
10979
|
Oe
|
|
10981
10980
|
);
|
|
10982
|
-
function
|
|
10981
|
+
function jo(o) {
|
|
10983
10982
|
let t = o.__dataHost;
|
|
10984
10983
|
return t && t._methodHost || t;
|
|
10985
10984
|
}
|
|
10986
|
-
function
|
|
10987
|
-
let i = e.mutableData ?
|
|
10985
|
+
function Lc(o, t, e) {
|
|
10986
|
+
let i = e.mutableData ? zc : Oe;
|
|
10988
10987
|
Mi.mixin && (i = Mi.mixin(i));
|
|
10989
10988
|
let s = class extends i {
|
|
10990
10989
|
};
|
|
10991
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10990
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Hc(s, o, t, e), s;
|
|
10992
10991
|
}
|
|
10993
|
-
function
|
|
10992
|
+
function Rc(o, t, e, i) {
|
|
10994
10993
|
let s = e.forwardHostProp;
|
|
10995
10994
|
if (s && t.hasHostProps) {
|
|
10996
10995
|
const r = o.localName == "template";
|
|
10997
10996
|
let n = t.templatizeTemplateClass;
|
|
10998
10997
|
if (!n) {
|
|
10999
10998
|
if (r) {
|
|
11000
|
-
let l = e.mutableData ?
|
|
10999
|
+
let l = e.mutableData ? Oc : hr;
|
|
11001
11000
|
class c extends l {
|
|
11002
11001
|
}
|
|
11003
11002
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11012,12 +11011,12 @@ function Bc(o, t, e, i) {
|
|
|
11012
11011
|
n.prototype._addPropertyEffect(
|
|
11013
11012
|
"_host_" + l,
|
|
11014
11013
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11015
|
-
{ fn:
|
|
11014
|
+
{ fn: Bc(l, s) }
|
|
11016
11015
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11017
|
-
|
|
11016
|
+
gs && i && jc(t, e, i);
|
|
11018
11017
|
}
|
|
11019
11018
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11020
|
-
|
|
11019
|
+
Ic(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11021
11020
|
else {
|
|
11022
11021
|
Object.setPrototypeOf(o, n.prototype);
|
|
11023
11022
|
const a = t.hostProps;
|
|
@@ -11029,7 +11028,7 @@ function Bc(o, t, e, i) {
|
|
|
11029
11028
|
}
|
|
11030
11029
|
}
|
|
11031
11030
|
}
|
|
11032
|
-
function
|
|
11031
|
+
function Bc(o, t) {
|
|
11033
11032
|
return function(i, s, r) {
|
|
11034
11033
|
t.call(
|
|
11035
11034
|
i.__templatizeOwner,
|
|
@@ -11038,7 +11037,7 @@ function Hc(o, t) {
|
|
|
11038
11037
|
);
|
|
11039
11038
|
};
|
|
11040
11039
|
}
|
|
11041
|
-
function
|
|
11040
|
+
function Hc(o, t, e, i) {
|
|
11042
11041
|
let s = e.hostProps || {};
|
|
11043
11042
|
for (let r in i.instanceProps) {
|
|
11044
11043
|
delete s[r];
|
|
@@ -11046,7 +11045,7 @@ function $c(o, t, e, i) {
|
|
|
11046
11045
|
n && o.prototype._addPropertyEffect(
|
|
11047
11046
|
r,
|
|
11048
11047
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11049
|
-
{ fn:
|
|
11048
|
+
{ fn: $c(r, n) }
|
|
11050
11049
|
);
|
|
11051
11050
|
}
|
|
11052
11051
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11054,10 +11053,10 @@ function $c(o, t, e, i) {
|
|
|
11054
11053
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11055
11054
|
r,
|
|
11056
11055
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11057
|
-
{ fn:
|
|
11056
|
+
{ fn: Yc() }
|
|
11058
11057
|
);
|
|
11059
11058
|
}
|
|
11060
|
-
function
|
|
11059
|
+
function $c(o, t) {
|
|
11061
11060
|
return function(i, s, r) {
|
|
11062
11061
|
t.call(
|
|
11063
11062
|
i.__templatizeOwner,
|
|
@@ -11067,22 +11066,22 @@ function Yc(o, t) {
|
|
|
11067
11066
|
);
|
|
11068
11067
|
};
|
|
11069
11068
|
}
|
|
11070
|
-
function
|
|
11069
|
+
function Yc() {
|
|
11071
11070
|
return function(t, e, i) {
|
|
11072
11071
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11073
11072
|
};
|
|
11074
11073
|
}
|
|
11075
11074
|
function Mi(o, t, e) {
|
|
11076
|
-
if (Ft && !
|
|
11075
|
+
if (Ft && !jo(o))
|
|
11077
11076
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11078
11077
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11079
11078
|
e || {}, o.__templatizeOwner)
|
|
11080
11079
|
throw new Error("A <template> can only be templatized once");
|
|
11081
11080
|
o.__templatizeOwner = t;
|
|
11082
11081
|
let s = (t ? t.constructor : Oe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11083
|
-
r || (r =
|
|
11084
|
-
const n =
|
|
11085
|
-
|
|
11082
|
+
r || (r = Lc(o, s, e), s.templatizeInstanceClass = r);
|
|
11083
|
+
const n = jo(o);
|
|
11084
|
+
Rc(o, s, e, n);
|
|
11086
11085
|
let a = class extends r {
|
|
11087
11086
|
};
|
|
11088
11087
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11090,7 +11089,7 @@ function Mi(o, t, e) {
|
|
|
11090
11089
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11091
11090
|
a, a;
|
|
11092
11091
|
}
|
|
11093
|
-
function
|
|
11092
|
+
function jc(o, t, e) {
|
|
11094
11093
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11095
11094
|
for (let n in s)
|
|
11096
11095
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11104,7 +11103,7 @@ function Vc(o, t, e) {
|
|
|
11104
11103
|
}
|
|
11105
11104
|
}
|
|
11106
11105
|
}
|
|
11107
|
-
function
|
|
11106
|
+
function Vc(o, t) {
|
|
11108
11107
|
let e;
|
|
11109
11108
|
for (; t; )
|
|
11110
11109
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11125,11 +11124,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11125
11124
|
Code distributed by Google as part of the polymer project is also
|
|
11126
11125
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11127
11126
|
*/
|
|
11128
|
-
let
|
|
11129
|
-
function
|
|
11130
|
-
if (
|
|
11131
|
-
if (!
|
|
11132
|
-
|
|
11127
|
+
let Vo = !1;
|
|
11128
|
+
function Uc() {
|
|
11129
|
+
if (_s && !ms) {
|
|
11130
|
+
if (!Vo) {
|
|
11131
|
+
Vo = !0;
|
|
11133
11132
|
const o = document.createElement("style");
|
|
11134
11133
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11135
11134
|
}
|
|
@@ -11146,8 +11145,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11146
11145
|
Code distributed by Google as part of the polymer project is also
|
|
11147
11146
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11148
11147
|
*/
|
|
11149
|
-
const
|
|
11150
|
-
class
|
|
11148
|
+
const Wc = Mc(Me);
|
|
11149
|
+
class Uo extends Wc {
|
|
11151
11150
|
// Not needed to find template; can be removed once the analyzer
|
|
11152
11151
|
// can find the tag name from customElements.define call
|
|
11153
11152
|
static get is() {
|
|
@@ -11242,7 +11241,7 @@ class Wo extends qc {
|
|
|
11242
11241
|
*/
|
|
11243
11242
|
renderedItemCount: {
|
|
11244
11243
|
type: Number,
|
|
11245
|
-
notify: !
|
|
11244
|
+
notify: !go,
|
|
11246
11245
|
readOnly: !0
|
|
11247
11246
|
},
|
|
11248
11247
|
/**
|
|
@@ -11325,7 +11324,7 @@ class Wo extends qc {
|
|
|
11325
11324
|
* @return {void}
|
|
11326
11325
|
*/
|
|
11327
11326
|
connectedCallback() {
|
|
11328
|
-
if (super.connectedCallback(),
|
|
11327
|
+
if (super.connectedCallback(), Uc() || (this.style.display = "none"), this.__isDetached) {
|
|
11329
11328
|
this.__isDetached = !1;
|
|
11330
11329
|
let t = K(K(this).parentNode);
|
|
11331
11330
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11375,7 +11374,7 @@ class Wo extends qc {
|
|
|
11375
11374
|
* @param {*} value Value to notify
|
|
11376
11375
|
*/
|
|
11377
11376
|
notifyInstanceProp: function(s, r, n) {
|
|
11378
|
-
if (
|
|
11377
|
+
if (Jn(this.as, r)) {
|
|
11379
11378
|
let a = s[this.itemsIndexAs];
|
|
11380
11379
|
r == this.as && (this.items[a] = n);
|
|
11381
11380
|
let l = gt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11431,9 +11430,9 @@ class Wo extends qc {
|
|
|
11431
11430
|
__debounceRender(t, e = 0) {
|
|
11432
11431
|
this.__renderDebouncer = Rt.debounce(
|
|
11433
11432
|
this.__renderDebouncer,
|
|
11434
|
-
e > 0 ?
|
|
11433
|
+
e > 0 ? ia.after(e) : Ps,
|
|
11435
11434
|
t.bind(this)
|
|
11436
|
-
),
|
|
11435
|
+
), Ac(this.__renderDebouncer);
|
|
11437
11436
|
}
|
|
11438
11437
|
/**
|
|
11439
11438
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11444,7 +11443,7 @@ class Wo extends qc {
|
|
|
11444
11443
|
* @return {void}
|
|
11445
11444
|
*/
|
|
11446
11445
|
render() {
|
|
11447
|
-
this.__debounceRender(this.__render),
|
|
11446
|
+
this.__debounceRender(this.__render), Zi();
|
|
11448
11447
|
}
|
|
11449
11448
|
__render() {
|
|
11450
11449
|
if (!this.__ensureTemplatized())
|
|
@@ -11453,7 +11452,7 @@ class Wo extends qc {
|
|
|
11453
11452
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11454
11453
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11455
11454
|
this.__chunkingId = null, this.__continueChunking();
|
|
11456
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11455
|
+
})), this._setRenderedItemCount(this.__instances.length), (!go || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11457
11456
|
bubbles: !0,
|
|
11458
11457
|
composed: !0
|
|
11459
11458
|
}));
|
|
@@ -11593,16 +11592,16 @@ class Wo extends qc {
|
|
|
11593
11592
|
* the element.
|
|
11594
11593
|
*/
|
|
11595
11594
|
modelForElement(t) {
|
|
11596
|
-
return
|
|
11595
|
+
return Vc(this.template, t);
|
|
11597
11596
|
}
|
|
11598
11597
|
}
|
|
11599
|
-
customElements.define(
|
|
11598
|
+
customElements.define(Uo.is, Uo);
|
|
11600
11599
|
/**
|
|
11601
11600
|
* @license
|
|
11602
11601
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11603
11602
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11604
11603
|
*/
|
|
11605
|
-
const
|
|
11604
|
+
const qc = (o) => class extends Ji(o) {
|
|
11606
11605
|
static get properties() {
|
|
11607
11606
|
return {
|
|
11608
11607
|
/**
|
|
@@ -11785,7 +11784,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11785
11784
|
/** @protected */
|
|
11786
11785
|
__getWeekNumber(e) {
|
|
11787
11786
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11788
|
-
return
|
|
11787
|
+
return xc(i);
|
|
11789
11788
|
}
|
|
11790
11789
|
/** @protected */
|
|
11791
11790
|
__getDayAriaLabel(e) {
|
|
@@ -11800,7 +11799,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11800
11799
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11801
11800
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11802
11801
|
*/
|
|
11803
|
-
const
|
|
11802
|
+
const Kc = P`
|
|
11804
11803
|
:host {
|
|
11805
11804
|
display: block;
|
|
11806
11805
|
}
|
|
@@ -11862,10 +11861,10 @@ const Gc = P`
|
|
|
11862
11861
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11863
11862
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11864
11863
|
*/
|
|
11865
|
-
L("vaadin-month-calendar",
|
|
11864
|
+
L("vaadin-month-calendar", Kc, {
|
|
11866
11865
|
moduleId: "vaadin-month-calendar-styles"
|
|
11867
11866
|
});
|
|
11868
|
-
class
|
|
11867
|
+
class Gc extends qc($e(Me)) {
|
|
11869
11868
|
static get template() {
|
|
11870
11869
|
return je`
|
|
11871
11870
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11973,13 +11972,13 @@ class Jc extends Kc($e(Me)) {
|
|
|
11973
11972
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11974
11973
|
}
|
|
11975
11974
|
}
|
|
11976
|
-
be(
|
|
11975
|
+
be(Gc);
|
|
11977
11976
|
/**
|
|
11978
11977
|
* @license
|
|
11979
11978
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11980
11979
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11981
11980
|
*/
|
|
11982
|
-
class
|
|
11981
|
+
class pr {
|
|
11983
11982
|
constructor(t, e) {
|
|
11984
11983
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11985
11984
|
}
|
|
@@ -12007,7 +12006,7 @@ class fr {
|
|
|
12007
12006
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12008
12007
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12009
12008
|
*/
|
|
12010
|
-
const
|
|
12009
|
+
const Jc = (o) => class extends o {
|
|
12011
12010
|
static get properties() {
|
|
12012
12011
|
return {
|
|
12013
12012
|
scrollDuration: {
|
|
@@ -12135,7 +12134,7 @@ const Xc = (o) => class extends o {
|
|
|
12135
12134
|
}
|
|
12136
12135
|
/** @protected */
|
|
12137
12136
|
_addListeners() {
|
|
12138
|
-
|
|
12137
|
+
or(this.$.scrollers, "pan-y"), ge(this.$.scrollers, "track", this._track.bind(this)), ge(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ge(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ge(
|
|
12139
12138
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12140
12139
|
"tap",
|
|
12141
12140
|
this._toggleYearScroller.bind(this)
|
|
@@ -12144,7 +12143,7 @@ const Xc = (o) => class extends o {
|
|
|
12144
12143
|
/** @protected */
|
|
12145
12144
|
_initControllers() {
|
|
12146
12145
|
this.addController(
|
|
12147
|
-
new
|
|
12146
|
+
new pr(this._desktopMediaQuery, (e) => {
|
|
12148
12147
|
this._desktopMode = e;
|
|
12149
12148
|
})
|
|
12150
12149
|
), this.addController(
|
|
@@ -12336,7 +12335,7 @@ const Xc = (o) => class extends o {
|
|
|
12336
12335
|
}
|
|
12337
12336
|
/** @protected */
|
|
12338
12337
|
_formatDisplayed(e, i, s) {
|
|
12339
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12338
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(Xi(e)) : s;
|
|
12340
12339
|
}
|
|
12341
12340
|
/** @private */
|
|
12342
12341
|
_onTodayTap() {
|
|
@@ -12453,7 +12452,7 @@ const Xc = (o) => class extends o {
|
|
|
12453
12452
|
}
|
|
12454
12453
|
/** @private */
|
|
12455
12454
|
_yearAfterXMonths(e) {
|
|
12456
|
-
return
|
|
12455
|
+
return ar(e).getFullYear();
|
|
12457
12456
|
}
|
|
12458
12457
|
/** @private */
|
|
12459
12458
|
_differenceInMonths(e, i) {
|
|
@@ -12558,14 +12557,14 @@ const Xc = (o) => class extends o {
|
|
|
12558
12557
|
}
|
|
12559
12558
|
async focusDateElement(e = !0) {
|
|
12560
12559
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12561
|
-
|
|
12562
|
-
|
|
12560
|
+
Vs(this, () => {
|
|
12561
|
+
Zi(), i();
|
|
12563
12562
|
});
|
|
12564
12563
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12565
12564
|
}
|
|
12566
12565
|
/** @private */
|
|
12567
12566
|
_focusClosestDate(e) {
|
|
12568
|
-
this.focusDate(
|
|
12567
|
+
this.focusDate(nr(e, [this.minDate, this.maxDate]));
|
|
12569
12568
|
}
|
|
12570
12569
|
/** @private */
|
|
12571
12570
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12616,7 +12615,7 @@ const Xc = (o) => class extends o {
|
|
|
12616
12615
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12617
12616
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12618
12617
|
*/
|
|
12619
|
-
const
|
|
12618
|
+
const Xc = P`
|
|
12620
12619
|
:host {
|
|
12621
12620
|
display: flex;
|
|
12622
12621
|
flex-direction: column;
|
|
@@ -12682,10 +12681,10 @@ const Zc = P`
|
|
|
12682
12681
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12683
12682
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12684
12683
|
*/
|
|
12685
|
-
L("vaadin-date-picker-overlay-content",
|
|
12684
|
+
L("vaadin-date-picker-overlay-content", Xc, {
|
|
12686
12685
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12687
12686
|
});
|
|
12688
|
-
class
|
|
12687
|
+
class Zc extends Jc(
|
|
12689
12688
|
it($e(Yt(Me)))
|
|
12690
12689
|
) {
|
|
12691
12690
|
static get template() {
|
|
@@ -12719,14 +12718,14 @@ class Qc extends Xc(
|
|
|
12719
12718
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12720
12719
|
}
|
|
12721
12720
|
}
|
|
12722
|
-
be(
|
|
12721
|
+
be(Zc);
|
|
12723
12722
|
/**
|
|
12724
12723
|
* @license
|
|
12725
12724
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12726
12725
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12727
12726
|
*/
|
|
12728
|
-
const
|
|
12729
|
-
(o) => class extends
|
|
12727
|
+
const fr = U(
|
|
12728
|
+
(o) => class extends Ji(rr(o)) {
|
|
12730
12729
|
static get properties() {
|
|
12731
12730
|
return {
|
|
12732
12731
|
/**
|
|
@@ -12883,14 +12882,14 @@ const mr = U(
|
|
|
12883
12882
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12884
12883
|
*/
|
|
12885
12884
|
const ri = /* @__PURE__ */ new WeakMap();
|
|
12886
|
-
function
|
|
12885
|
+
function Qc(o) {
|
|
12887
12886
|
return ri.has(o) || ri.set(o, /* @__PURE__ */ new Set()), ri.get(o);
|
|
12888
12887
|
}
|
|
12889
|
-
function
|
|
12888
|
+
function eu(o, t) {
|
|
12890
12889
|
const e = document.createElement("style");
|
|
12891
12890
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12892
12891
|
}
|
|
12893
|
-
const
|
|
12892
|
+
const tu = U(
|
|
12894
12893
|
(o) => class extends o {
|
|
12895
12894
|
/**
|
|
12896
12895
|
* List of styles to insert into root.
|
|
@@ -12905,9 +12904,9 @@ const iu = U(
|
|
|
12905
12904
|
}
|
|
12906
12905
|
/** @private */
|
|
12907
12906
|
__applySlotStyles() {
|
|
12908
|
-
const e = this.getRootNode(), i =
|
|
12907
|
+
const e = this.getRootNode(), i = Qc(e);
|
|
12909
12908
|
this.slotStyles.forEach((s) => {
|
|
12910
|
-
i.has(s) || (
|
|
12909
|
+
i.has(s) || (eu(s, e), i.add(s));
|
|
12911
12910
|
});
|
|
12912
12911
|
}
|
|
12913
12912
|
}
|
|
@@ -12917,7 +12916,7 @@ const iu = U(
|
|
|
12917
12916
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12918
12917
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12919
12918
|
*/
|
|
12920
|
-
const
|
|
12919
|
+
const mr = U(
|
|
12921
12920
|
(o) => class extends o {
|
|
12922
12921
|
static get properties() {
|
|
12923
12922
|
return {
|
|
@@ -13121,7 +13120,7 @@ const _r = U(
|
|
|
13121
13120
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13122
13121
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13123
13122
|
*/
|
|
13124
|
-
const
|
|
13123
|
+
const iu = (o) => class extends mr(Ut(o)) {
|
|
13125
13124
|
static get properties() {
|
|
13126
13125
|
return {
|
|
13127
13126
|
/**
|
|
@@ -13166,7 +13165,7 @@ const ou = (o) => class extends _r(Ut(o)) {
|
|
|
13166
13165
|
* @protected
|
|
13167
13166
|
*/
|
|
13168
13167
|
_onClearButtonMouseDown(e) {
|
|
13169
|
-
e.preventDefault(),
|
|
13168
|
+
e.preventDefault(), xl || this.inputElement.focus();
|
|
13170
13169
|
}
|
|
13171
13170
|
/**
|
|
13172
13171
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13197,48 +13196,48 @@ const ou = (o) => class extends _r(Ut(o)) {
|
|
|
13197
13196
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13198
13197
|
*/
|
|
13199
13198
|
const ni = /* @__PURE__ */ new Map();
|
|
13200
|
-
function
|
|
13199
|
+
function to(o) {
|
|
13201
13200
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new WeakMap()), ni.get(o);
|
|
13202
13201
|
}
|
|
13203
|
-
function
|
|
13202
|
+
function _r(o, t) {
|
|
13204
13203
|
o && o.removeAttribute(t);
|
|
13205
13204
|
}
|
|
13206
|
-
function
|
|
13205
|
+
function gr(o, t) {
|
|
13207
13206
|
if (!o || !t)
|
|
13208
13207
|
return;
|
|
13209
|
-
const e =
|
|
13208
|
+
const e = to(t);
|
|
13210
13209
|
if (e.has(o))
|
|
13211
13210
|
return;
|
|
13212
13211
|
const i = Ui(o.getAttribute(t));
|
|
13213
13212
|
e.set(o, new Set(i));
|
|
13214
13213
|
}
|
|
13215
|
-
function
|
|
13216
|
-
if (!o
|
|
13214
|
+
function ou(o, t) {
|
|
13215
|
+
if (!o)
|
|
13217
13216
|
return;
|
|
13218
|
-
const e =
|
|
13219
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13217
|
+
const e = to(t), i = e.get(o);
|
|
13218
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Ks(o, t, Vt(i)), e.delete(o);
|
|
13220
13219
|
}
|
|
13221
13220
|
function ai(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13222
13221
|
if (!o || !t)
|
|
13223
13222
|
return;
|
|
13224
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13223
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = to(t), a = n.get(o);
|
|
13225
13224
|
if (!r && a) {
|
|
13226
13225
|
s && a.delete(s), i && a.add(i);
|
|
13227
13226
|
return;
|
|
13228
13227
|
}
|
|
13229
|
-
r && (a ? i || n.delete(o) :
|
|
13228
|
+
r && (a ? i || n.delete(o) : gr(o, t), _r(o, t)), Ol(o, t, s);
|
|
13230
13229
|
const l = i || Vt(a);
|
|
13231
|
-
l &&
|
|
13230
|
+
l && Ks(o, t, l);
|
|
13232
13231
|
}
|
|
13233
|
-
function
|
|
13234
|
-
|
|
13232
|
+
function su(o, t) {
|
|
13233
|
+
gr(o, t), _r(o, t);
|
|
13235
13234
|
}
|
|
13236
13235
|
/**
|
|
13237
13236
|
* @license
|
|
13238
13237
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13239
13238
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13240
13239
|
*/
|
|
13241
|
-
class
|
|
13240
|
+
class ru {
|
|
13242
13241
|
constructor(t) {
|
|
13243
13242
|
this.host = t, this.__required = !1;
|
|
13244
13243
|
}
|
|
@@ -13311,7 +13310,7 @@ class nu {
|
|
|
13311
13310
|
* @private
|
|
13312
13311
|
* */
|
|
13313
13312
|
__setAriaLabelToAttribute(t) {
|
|
13314
|
-
this.__target && (t ? (
|
|
13313
|
+
this.__target && (t ? (su(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (ou(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13315
13314
|
}
|
|
13316
13315
|
/**
|
|
13317
13316
|
* @param {string | null | undefined} labelId
|
|
@@ -13357,9 +13356,9 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13357
13356
|
me.setAttribute("aria-live", "polite");
|
|
13358
13357
|
document.body.appendChild(me);
|
|
13359
13358
|
let Pt;
|
|
13360
|
-
function
|
|
13359
|
+
function nu(o, t = {}) {
|
|
13361
13360
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13362
|
-
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt,
|
|
13361
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt, Kl, () => {
|
|
13363
13362
|
me.setAttribute("role", "alert");
|
|
13364
13363
|
})) : (Pt && Pt.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13365
13364
|
me.textContent = o;
|
|
@@ -13370,7 +13369,7 @@ function au(o, t = {}) {
|
|
|
13370
13369
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13371
13370
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13372
13371
|
*/
|
|
13373
|
-
class
|
|
13372
|
+
class io extends Le {
|
|
13374
13373
|
constructor(t, e, i, s = {}) {
|
|
13375
13374
|
super(t, e, i, { ...s, useUniqueId: !0 });
|
|
13376
13375
|
}
|
|
@@ -13485,7 +13484,7 @@ class oo extends Le {
|
|
|
13485
13484
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13486
13485
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13487
13486
|
*/
|
|
13488
|
-
class
|
|
13487
|
+
class au extends io {
|
|
13489
13488
|
constructor(t) {
|
|
13490
13489
|
super(t, "error-message", "div");
|
|
13491
13490
|
}
|
|
@@ -13559,7 +13558,7 @@ class lu extends oo {
|
|
|
13559
13558
|
*/
|
|
13560
13559
|
updateDefaultNode(t) {
|
|
13561
13560
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13562
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13561
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && nu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13563
13562
|
}
|
|
13564
13563
|
}
|
|
13565
13564
|
/**
|
|
@@ -13567,7 +13566,7 @@ class lu extends oo {
|
|
|
13567
13566
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13568
13567
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13569
13568
|
*/
|
|
13570
|
-
class
|
|
13569
|
+
class lu extends io {
|
|
13571
13570
|
constructor(t) {
|
|
13572
13571
|
super(t, "helper", null);
|
|
13573
13572
|
}
|
|
@@ -13622,7 +13621,7 @@ class cu extends oo {
|
|
|
13622
13621
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13623
13622
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13624
13623
|
*/
|
|
13625
|
-
class
|
|
13624
|
+
class cu extends io {
|
|
13626
13625
|
constructor(t) {
|
|
13627
13626
|
super(t, "label", "label");
|
|
13628
13627
|
}
|
|
@@ -13675,7 +13674,7 @@ class uu extends oo {
|
|
|
13675
13674
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13676
13675
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13677
13676
|
*/
|
|
13678
|
-
const
|
|
13677
|
+
const uu = U(
|
|
13679
13678
|
(o) => class extends it(o) {
|
|
13680
13679
|
static get properties() {
|
|
13681
13680
|
return {
|
|
@@ -13690,7 +13689,7 @@ const du = U(
|
|
|
13690
13689
|
};
|
|
13691
13690
|
}
|
|
13692
13691
|
constructor() {
|
|
13693
|
-
super(), this._labelController = new
|
|
13692
|
+
super(), this._labelController = new cu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13694
13693
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13695
13694
|
});
|
|
13696
13695
|
}
|
|
@@ -13718,7 +13717,7 @@ const du = U(
|
|
|
13718
13717
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13719
13718
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13720
13719
|
*/
|
|
13721
|
-
const
|
|
13720
|
+
const br = U(
|
|
13722
13721
|
(o) => class extends o {
|
|
13723
13722
|
static get properties() {
|
|
13724
13723
|
return {
|
|
@@ -13790,7 +13789,7 @@ const vr = U(
|
|
|
13790
13789
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13791
13790
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13792
13791
|
*/
|
|
13793
|
-
const
|
|
13792
|
+
const du = (o) => class extends br(uu(it(o))) {
|
|
13794
13793
|
static get properties() {
|
|
13795
13794
|
return {
|
|
13796
13795
|
/**
|
|
@@ -13840,7 +13839,7 @@ const hu = (o) => class extends vr(du(it(o))) {
|
|
|
13840
13839
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13841
13840
|
}
|
|
13842
13841
|
constructor() {
|
|
13843
|
-
super(), this._fieldAriaController = new
|
|
13842
|
+
super(), this._fieldAriaController = new ru(this), this._helperController = new lu(this), this._errorController = new au(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13844
13843
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13845
13844
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13846
13845
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13931,7 +13930,7 @@ const hu = (o) => class extends vr(du(it(o))) {
|
|
|
13931
13930
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13932
13931
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13933
13932
|
*/
|
|
13934
|
-
const
|
|
13933
|
+
const hu = U(
|
|
13935
13934
|
(o) => class extends o {
|
|
13936
13935
|
static get properties() {
|
|
13937
13936
|
return {
|
|
@@ -14013,7 +14012,7 @@ const pu = U(
|
|
|
14013
14012
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14014
14013
|
*/
|
|
14015
14014
|
const yr = U(
|
|
14016
|
-
(o) => class extends
|
|
14015
|
+
(o) => class extends hu(br(mr(o))) {
|
|
14017
14016
|
/**
|
|
14018
14017
|
* An array of attributes which participate in the input validation.
|
|
14019
14018
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14097,8 +14096,8 @@ const yr = U(
|
|
|
14097
14096
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14098
14097
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14099
14098
|
*/
|
|
14100
|
-
const
|
|
14101
|
-
|
|
14099
|
+
const pu = (o) => class extends tu(
|
|
14100
|
+
fr(yr(du(iu(Ut(o)))))
|
|
14102
14101
|
) {
|
|
14103
14102
|
static get properties() {
|
|
14104
14103
|
return {
|
|
@@ -14284,7 +14283,7 @@ const fu = (o) => class extends iu(
|
|
|
14284
14283
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14285
14284
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14286
14285
|
*/
|
|
14287
|
-
class
|
|
14286
|
+
class fu extends Le {
|
|
14288
14287
|
constructor(t, e, i = {}) {
|
|
14289
14288
|
const { uniqueIdPrefix: s } = i;
|
|
14290
14289
|
super(t, "input", "input", {
|
|
@@ -14301,7 +14300,7 @@ class mu extends Le {
|
|
|
14301
14300
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14302
14301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14303
14302
|
*/
|
|
14304
|
-
class
|
|
14303
|
+
class mu {
|
|
14305
14304
|
constructor(t, e) {
|
|
14306
14305
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14307
14306
|
this.__initLabel(i.detail.node);
|
|
@@ -14334,7 +14333,7 @@ class _u {
|
|
|
14334
14333
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14335
14334
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14336
14335
|
*/
|
|
14337
|
-
const
|
|
14336
|
+
const _u = P`
|
|
14338
14337
|
[part='clear-button'] {
|
|
14339
14338
|
display: none;
|
|
14340
14339
|
cursor: default;
|
|
@@ -14353,7 +14352,7 @@ const gu = P`
|
|
|
14353
14352
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14354
14353
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14355
14354
|
*/
|
|
14356
|
-
const
|
|
14355
|
+
const gu = P`
|
|
14357
14356
|
:host {
|
|
14358
14357
|
display: inline-flex;
|
|
14359
14358
|
outline: none;
|
|
@@ -14393,7 +14392,7 @@ const bu = P`
|
|
|
14393
14392
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14394
14393
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14395
14394
|
*/
|
|
14396
|
-
const
|
|
14395
|
+
const bu = P`
|
|
14397
14396
|
[class$='container'] {
|
|
14398
14397
|
display: flex;
|
|
14399
14398
|
flex-direction: column;
|
|
@@ -14407,13 +14406,13 @@ const vu = P`
|
|
|
14407
14406
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14408
14407
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14409
14408
|
*/
|
|
14410
|
-
const yu = [
|
|
14409
|
+
const yu = [gu, bu, _u];
|
|
14411
14410
|
/**
|
|
14412
14411
|
* @license
|
|
14413
14412
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14414
14413
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14415
14414
|
*/
|
|
14416
|
-
const
|
|
14415
|
+
const vu = (o) => class extends o {
|
|
14417
14416
|
static get properties() {
|
|
14418
14417
|
return {
|
|
14419
14418
|
/**
|
|
@@ -14460,7 +14459,7 @@ const xu = (o) => class extends o {
|
|
|
14460
14459
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14461
14460
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14462
14461
|
*/
|
|
14463
|
-
class
|
|
14462
|
+
class xu {
|
|
14464
14463
|
/**
|
|
14465
14464
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14466
14465
|
*/
|
|
@@ -14479,8 +14478,8 @@ class wu {
|
|
|
14479
14478
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14480
14479
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14481
14480
|
*/
|
|
14482
|
-
const
|
|
14483
|
-
it(
|
|
14481
|
+
const wu = (o) => class extends vu(
|
|
14482
|
+
it(fr(yr(Ut(o))))
|
|
14484
14483
|
) {
|
|
14485
14484
|
static get properties() {
|
|
14486
14485
|
return {
|
|
@@ -14685,7 +14684,7 @@ const Eu = (o) => class extends xu(
|
|
|
14685
14684
|
if (i.length === 3) {
|
|
14686
14685
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14687
14686
|
const l = this.referenceDate ? at(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14688
|
-
a =
|
|
14687
|
+
a = wc(l, a, n, r);
|
|
14689
14688
|
}
|
|
14690
14689
|
} else
|
|
14691
14690
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14759,7 +14758,7 @@ const Eu = (o) => class extends xu(
|
|
|
14759
14758
|
/** @private */
|
|
14760
14759
|
_ios: {
|
|
14761
14760
|
type: Boolean,
|
|
14762
|
-
value:
|
|
14761
|
+
value: Us
|
|
14763
14762
|
},
|
|
14764
14763
|
/** @private */
|
|
14765
14764
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14859,10 +14858,10 @@ const Eu = (o) => class extends xu(
|
|
|
14859
14858
|
/** @protected */
|
|
14860
14859
|
ready() {
|
|
14861
14860
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14862
|
-
new
|
|
14861
|
+
new pr(this._fullscreenMediaQuery, (i) => {
|
|
14863
14862
|
this._fullscreen = i;
|
|
14864
14863
|
})
|
|
14865
|
-
), this.addController(new
|
|
14864
|
+
), this.addController(new xu(this));
|
|
14866
14865
|
const e = this.$.overlay;
|
|
14867
14866
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14868
14867
|
}
|
|
@@ -14918,7 +14917,7 @@ const Eu = (o) => class extends xu(
|
|
|
14918
14917
|
*/
|
|
14919
14918
|
__formatDate(e) {
|
|
14920
14919
|
if (this.i18n.formatDate)
|
|
14921
|
-
return this.i18n.formatDate(
|
|
14920
|
+
return this.i18n.formatDate(Xi(e));
|
|
14922
14921
|
}
|
|
14923
14922
|
/**
|
|
14924
14923
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15020,7 +15019,7 @@ const Eu = (o) => class extends xu(
|
|
|
15020
15019
|
}
|
|
15021
15020
|
/** @private */
|
|
15022
15021
|
_formatISO(e) {
|
|
15023
|
-
return
|
|
15022
|
+
return Sc(e);
|
|
15024
15023
|
}
|
|
15025
15024
|
/** @protected */
|
|
15026
15025
|
_inputElementChanged(e) {
|
|
@@ -15086,12 +15085,12 @@ const Eu = (o) => class extends xu(
|
|
|
15086
15085
|
const r = this._nativeInput;
|
|
15087
15086
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15088
15087
|
const n = this._noInput ? e : [r, e];
|
|
15089
|
-
this.__showOthers =
|
|
15088
|
+
this.__showOthers = Ws(n);
|
|
15090
15089
|
}
|
|
15091
15090
|
/** @private */
|
|
15092
15091
|
_getInitialPosition() {
|
|
15093
15092
|
const e = at(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15094
|
-
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15093
|
+
return e || et(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? nr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15095
15094
|
}
|
|
15096
15095
|
/**
|
|
15097
15096
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15252,7 +15251,7 @@ const Eu = (o) => class extends xu(
|
|
|
15252
15251
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15253
15252
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15254
15253
|
*/
|
|
15255
|
-
const
|
|
15254
|
+
const Eu = P`
|
|
15256
15255
|
:host([opened]) {
|
|
15257
15256
|
pointer-events: auto;
|
|
15258
15257
|
}
|
|
@@ -15271,8 +15270,8 @@ const Su = P`
|
|
|
15271
15270
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15272
15271
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15273
15272
|
*/
|
|
15274
|
-
L("vaadin-date-picker", [yu,
|
|
15275
|
-
class
|
|
15273
|
+
L("vaadin-date-picker", [yu, Eu], { moduleId: "vaadin-date-picker-styles" });
|
|
15274
|
+
class Su extends wu(pu($e(Xs(Me)))) {
|
|
15276
15275
|
static get is() {
|
|
15277
15276
|
return "vaadin-date-picker";
|
|
15278
15277
|
}
|
|
@@ -15332,7 +15331,7 @@ class Au extends Eu(fu($e(Zs(Me)))) {
|
|
|
15332
15331
|
/** @protected */
|
|
15333
15332
|
ready() {
|
|
15334
15333
|
super.ready(), this.addController(
|
|
15335
|
-
new
|
|
15334
|
+
new fu(
|
|
15336
15335
|
this,
|
|
15337
15336
|
(e) => {
|
|
15338
15337
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15344,7 +15343,7 @@ class Au extends Eu(fu($e(Zs(Me)))) {
|
|
|
15344
15343
|
uniqueIdPrefix: "search-input"
|
|
15345
15344
|
}
|
|
15346
15345
|
)
|
|
15347
|
-
), this.addController(new
|
|
15346
|
+
), this.addController(new mu(this.inputElement, this._labelController)), this._tooltipController = new Qs(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15348
15347
|
}
|
|
15349
15348
|
/** @private */
|
|
15350
15349
|
_onVaadinOverlayClose(t) {
|
|
@@ -15360,12 +15359,12 @@ class Au extends Eu(fu($e(Zs(Me)))) {
|
|
|
15360
15359
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15361
15360
|
}
|
|
15362
15361
|
}
|
|
15363
|
-
be(
|
|
15364
|
-
var
|
|
15362
|
+
be(Su);
|
|
15363
|
+
var vr = { exports: {} };
|
|
15365
15364
|
(function(o, t) {
|
|
15366
15365
|
(function(e, i) {
|
|
15367
15366
|
o.exports = i();
|
|
15368
|
-
})(
|
|
15367
|
+
})(Sr, function() {
|
|
15369
15368
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15370
15369
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15371
15370
|
}, c = function(p) {
|
|
@@ -15376,23 +15375,23 @@ var xr = { exports: {} };
|
|
|
15376
15375
|
(this.zone || (this.zone = {})).offset = function(g) {
|
|
15377
15376
|
if (!g || g === "Z")
|
|
15378
15377
|
return 0;
|
|
15379
|
-
var
|
|
15380
|
-
return
|
|
15378
|
+
var v = g.match(/([+-]|\d\d)/g), y = 60 * v[1] + (+v[2] || 0);
|
|
15379
|
+
return y === 0 ? 0 : v[0] === "+" ? -y : y;
|
|
15381
15380
|
}(p);
|
|
15382
15381
|
}], d = function(p) {
|
|
15383
15382
|
var g = a[p];
|
|
15384
15383
|
return g && (g.indexOf ? g : g.s.concat(g.f));
|
|
15385
15384
|
}, h = function(p, g) {
|
|
15386
|
-
var
|
|
15387
|
-
if (
|
|
15385
|
+
var v, y = a.meridiem;
|
|
15386
|
+
if (y) {
|
|
15388
15387
|
for (var C = 1; C <= 24; C += 1)
|
|
15389
|
-
if (p.indexOf(
|
|
15390
|
-
|
|
15388
|
+
if (p.indexOf(y(C, 0, g)) > -1) {
|
|
15389
|
+
v = C > 12;
|
|
15391
15390
|
break;
|
|
15392
15391
|
}
|
|
15393
15392
|
} else
|
|
15394
|
-
|
|
15395
|
-
return
|
|
15393
|
+
v = p === (g ? "pm" : "PM");
|
|
15394
|
+
return v;
|
|
15396
15395
|
}, m = { A: [n, function(p) {
|
|
15397
15396
|
this.afternoon = h(p, !1);
|
|
15398
15397
|
}], a: [n, function(p) {
|
|
@@ -15404,17 +15403,17 @@ var xr = { exports: {} };
|
|
|
15404
15403
|
}], SSS: [/\d{3}/, function(p) {
|
|
15405
15404
|
this.milliseconds = +p;
|
|
15406
15405
|
}], s: [r, c("seconds")], ss: [r, c("seconds")], m: [r, c("minutes")], mm: [r, c("minutes")], H: [r, c("hours")], h: [r, c("hours")], HH: [r, c("hours")], hh: [r, c("hours")], D: [r, c("day")], DD: [s, c("day")], Do: [n, function(p) {
|
|
15407
|
-
var g = a.ordinal,
|
|
15408
|
-
if (this.day =
|
|
15409
|
-
for (var
|
|
15410
|
-
g(
|
|
15406
|
+
var g = a.ordinal, v = p.match(/\d+/);
|
|
15407
|
+
if (this.day = v[0], g)
|
|
15408
|
+
for (var y = 1; y <= 31; y += 1)
|
|
15409
|
+
g(y).replace(/\[|\]/g, "") === p && (this.day = y);
|
|
15411
15410
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15412
|
-
var g = d("months"),
|
|
15413
|
-
return
|
|
15411
|
+
var g = d("months"), v = (d("monthsShort") || g.map(function(y) {
|
|
15412
|
+
return y.slice(0, 3);
|
|
15414
15413
|
})).indexOf(p) + 1;
|
|
15415
|
-
if (
|
|
15414
|
+
if (v < 1)
|
|
15416
15415
|
throw new Error();
|
|
15417
|
-
this.month =
|
|
15416
|
+
this.month = v % 12 || v;
|
|
15418
15417
|
}], MMMM: [n, function(p) {
|
|
15419
15418
|
var g = d("months").indexOf(p) + 1;
|
|
15420
15419
|
if (g < 1)
|
|
@@ -15424,20 +15423,20 @@ var xr = { exports: {} };
|
|
|
15424
15423
|
this.year = l(p);
|
|
15425
15424
|
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15426
15425
|
function b(p) {
|
|
15427
|
-
var g,
|
|
15428
|
-
g = p,
|
|
15429
|
-
for (var
|
|
15426
|
+
var g, v;
|
|
15427
|
+
g = p, v = a && a.formats;
|
|
15428
|
+
for (var y = (p = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15430
15429
|
var F = I && I.toUpperCase();
|
|
15431
|
-
return T ||
|
|
15430
|
+
return T || v[I] || e[I] || v[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(J, H, ae) {
|
|
15432
15431
|
return H || ae.slice(1);
|
|
15433
15432
|
});
|
|
15434
|
-
})).match(i), C =
|
|
15435
|
-
var D =
|
|
15436
|
-
|
|
15433
|
+
})).match(i), C = y.length, A = 0; A < C; A += 1) {
|
|
15434
|
+
var D = y[A], G = m[D], R = G && G[0], Y = G && G[1];
|
|
15435
|
+
y[A] = Y ? { regex: R, parser: Y } : D.replace(/^\[|\]$/g, "");
|
|
15437
15436
|
}
|
|
15438
15437
|
return function(B) {
|
|
15439
15438
|
for (var T = {}, I = 0, F = 0; I < C; I += 1) {
|
|
15440
|
-
var J =
|
|
15439
|
+
var J = y[I];
|
|
15441
15440
|
if (typeof J == "string")
|
|
15442
15441
|
F += J.length;
|
|
15443
15442
|
else {
|
|
@@ -15454,23 +15453,23 @@ var xr = { exports: {} };
|
|
|
15454
15453
|
}(T), T;
|
|
15455
15454
|
};
|
|
15456
15455
|
}
|
|
15457
|
-
return function(p, g,
|
|
15458
|
-
|
|
15459
|
-
var
|
|
15460
|
-
|
|
15456
|
+
return function(p, g, v) {
|
|
15457
|
+
v.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15458
|
+
var y = g.prototype, C = y.parse;
|
|
15459
|
+
y.parse = function(A) {
|
|
15461
15460
|
var D = A.date, G = A.utc, R = A.args;
|
|
15462
15461
|
this.$u = G;
|
|
15463
15462
|
var Y = R[1];
|
|
15464
15463
|
if (typeof Y == "string") {
|
|
15465
15464
|
var B = R[2] === !0, T = R[3] === !0, I = B || T, F = R[2];
|
|
15466
|
-
T && (F = R[2]), a = this.$locale(), !B && F && (a =
|
|
15465
|
+
T && (F = R[2]), a = this.$locale(), !B && F && (a = v.Ls[F]), this.$d = function(pe, q, Q) {
|
|
15467
15466
|
try {
|
|
15468
15467
|
if (["x", "X"].indexOf(q) > -1)
|
|
15469
15468
|
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15470
15469
|
var j = b(q)(pe), $ = j.year, ee = j.month, _e = j.day, Ae = j.hours, Ce = j.minutes, Ie = j.seconds, Pe = j.milliseconds, ke = j.zone, oe = /* @__PURE__ */ new Date(), se = _e || ($ || ee ? 1 : oe.getDate()), N = $ || oe.getFullYear(), z = 0;
|
|
15471
15470
|
$ && !ee || (z = ee > 0 ? ee - 1 : oe.getMonth());
|
|
15472
|
-
var
|
|
15473
|
-
return ke ? new Date(Date.UTC(N, z, se,
|
|
15471
|
+
var ye = Ae || 0, fe = Ce || 0, X = Ie || 0, le = Pe || 0;
|
|
15472
|
+
return ke ? new Date(Date.UTC(N, z, se, ye, fe, X, le + 60 * ke.offset * 1e3)) : Q ? new Date(Date.UTC(N, z, se, ye, fe, X, le)) : new Date(N, z, se, ye, fe, X, le);
|
|
15474
15473
|
} catch {
|
|
15475
15474
|
return /* @__PURE__ */ new Date("");
|
|
15476
15475
|
}
|
|
@@ -15478,7 +15477,7 @@ var xr = { exports: {} };
|
|
|
15478
15477
|
} else if (Y instanceof Array)
|
|
15479
15478
|
for (var J = Y.length, H = 1; H <= J; H += 1) {
|
|
15480
15479
|
R[1] = Y[H - 1];
|
|
15481
|
-
var ae =
|
|
15480
|
+
var ae = v.apply(this, R);
|
|
15482
15481
|
if (ae.isValid()) {
|
|
15483
15482
|
this.$d = ae.$d, this.$L = ae.$L, this.init();
|
|
15484
15483
|
break;
|
|
@@ -15490,16 +15489,16 @@ var xr = { exports: {} };
|
|
|
15490
15489
|
};
|
|
15491
15490
|
};
|
|
15492
15491
|
});
|
|
15493
|
-
})(
|
|
15494
|
-
var
|
|
15495
|
-
const
|
|
15496
|
-
function
|
|
15497
|
-
|
|
15492
|
+
})(vr);
|
|
15493
|
+
var Au = vr.exports;
|
|
15494
|
+
const Cu = /* @__PURE__ */ Ar(Au);
|
|
15495
|
+
function Wo(o, t) {
|
|
15496
|
+
Cr(o, t);
|
|
15498
15497
|
}
|
|
15499
|
-
function
|
|
15500
|
-
|
|
15498
|
+
function Pu(o) {
|
|
15499
|
+
Pr.set(o);
|
|
15501
15500
|
}
|
|
15502
|
-
const
|
|
15501
|
+
const qo = {
|
|
15503
15502
|
en: {
|
|
15504
15503
|
titleSelfExclusion: "Self-Exclusion",
|
|
15505
15504
|
selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
|
|
@@ -15875,14 +15874,14 @@ const Ko = {
|
|
|
15875
15874
|
InvalidSession: "Oturum süresi doldu."
|
|
15876
15875
|
}
|
|
15877
15876
|
};
|
|
15878
|
-
function
|
|
15879
|
-
|
|
15877
|
+
function ku(o) {
|
|
15878
|
+
Or(o, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15880
15879
|
}
|
|
15881
|
-
function
|
|
15880
|
+
function Ko(o, t, e) {
|
|
15882
15881
|
const i = o.slice();
|
|
15883
15882
|
return i[56] = t[e], i;
|
|
15884
15883
|
}
|
|
15885
|
-
function
|
|
15884
|
+
function Du(o) {
|
|
15886
15885
|
let t, e, i, s, r = (
|
|
15887
15886
|
/*$_*/
|
|
15888
15887
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -15907,7 +15906,7 @@ function Tu(o) {
|
|
|
15907
15906
|
), d, h, m = (
|
|
15908
15907
|
/*$_*/
|
|
15909
15908
|
o[22]("selfExclusionEmailText") + ""
|
|
15910
|
-
), b, p, g,
|
|
15909
|
+
), b, p, g, v, y, C, A, D, G, R = (
|
|
15911
15910
|
/*$_*/
|
|
15912
15911
|
o[22](`${/*selectedPeriodKey*/
|
|
15913
15912
|
o[15]}`) + ""
|
|
@@ -15916,40 +15915,40 @@ function Tu(o) {
|
|
|
15916
15915
|
o[22]("save") + ""
|
|
15917
15916
|
), _e, Ae, Ce, Ie, Pe, ke, oe = (
|
|
15918
15917
|
/*isMobile*/
|
|
15919
|
-
o[24] &&
|
|
15920
|
-
), se =
|
|
15918
|
+
o[24] && Mu(o)
|
|
15919
|
+
), se = so(
|
|
15921
15920
|
/*selfExclusionPeriods*/
|
|
15922
15921
|
o[11]
|
|
15923
15922
|
), N = [];
|
|
15924
15923
|
for (let x = 0; x < se.length; x += 1)
|
|
15925
|
-
N[x] =
|
|
15924
|
+
N[x] = Go(Ko(o, se, x));
|
|
15926
15925
|
let z = (
|
|
15927
15926
|
/*isUntilDate*/
|
|
15928
|
-
o[18] &&
|
|
15927
|
+
o[18] && Jo(o)
|
|
15929
15928
|
);
|
|
15930
|
-
function
|
|
15929
|
+
function ye(x, M) {
|
|
15931
15930
|
return (
|
|
15932
15931
|
/*isPermanentSelfExclusion*/
|
|
15933
|
-
x[17] ?
|
|
15932
|
+
x[17] ? Fu : (
|
|
15934
15933
|
/*isDateSelected*/
|
|
15935
|
-
x[19] ?
|
|
15934
|
+
x[19] ? Ou : Iu
|
|
15936
15935
|
)
|
|
15937
15936
|
);
|
|
15938
15937
|
}
|
|
15939
|
-
let fe =
|
|
15938
|
+
let fe = ye(o), X = fe(o), le = (
|
|
15940
15939
|
/*showConfirmationModal*/
|
|
15941
|
-
o[25] &&
|
|
15940
|
+
o[25] && Nu(o)
|
|
15942
15941
|
);
|
|
15943
15942
|
return {
|
|
15944
15943
|
c() {
|
|
15945
|
-
t = w("div"), e = w("form"), oe && oe.c(), i = O(), s = w("h2"), n = ne(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), b = ne(m), p = O(), g = w("a"),
|
|
15944
|
+
t = w("div"), e = w("form"), oe && oe.c(), i = O(), s = w("h2"), n = ne(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), b = ne(m), p = O(), g = w("a"), v = ne(
|
|
15946
15945
|
/*supportemail*/
|
|
15947
15946
|
o[4]
|
|
15948
15947
|
), C = O(), A = w("div"), D = w("div"), G = w("p"), Y = ne(R), B = O(), T = Ee("svg"), I = Ee("g"), F = Ee("path"), J = O(), H = w("div");
|
|
15949
15948
|
for (let x = 0; x < N.length; x += 1)
|
|
15950
15949
|
N[x].c();
|
|
15951
15950
|
ae = O(), z && z.c(), pe = O(), q = w("div"), X.c(), Q = O(), j = w("div"), $ = w("button"), _e = ne(ee), Ie = O(), le && le.c(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15952
|
-
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href",
|
|
15951
|
+
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", y = "mailto:" + /*supportemail*/
|
|
15953
15952
|
o[4]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15954
15953
|
(o[24] ? "SelfExclusionDescriptionMobile" : "")), E(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ve(
|
|
15955
15954
|
T,
|
|
@@ -15975,7 +15974,7 @@ function Tu(o) {
|
|
|
15975
15974
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15976
15975
|
},
|
|
15977
15976
|
m(x, M) {
|
|
15978
|
-
de(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, b), f(h, p), f(h, g), f(g,
|
|
15977
|
+
de(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, b), f(h, p), f(h, g), f(g, v), f(e, C), f(e, A), f(A, D), f(D, G), f(G, Y), f(D, B), f(D, T), f(T, I), f(I, F), f(A, J), f(A, H);
|
|
15979
15978
|
for (let V = 0; V < N.length; V += 1)
|
|
15980
15979
|
N[V] && N[V].m(H, null);
|
|
15981
15980
|
f(e, ae), z && z.m(e, null), f(e, pe), f(e, q), X.m(q, null), f(e, Q), f(e, j), f(j, $), f($, _e), f(t, Ie), le && le.m(t, null), Pe || (ke = [
|
|
@@ -16019,12 +16018,12 @@ function Tu(o) {
|
|
|
16019
16018
|
4194304 && m !== (m = /*$_*/
|
|
16020
16019
|
x[22]("selfExclusionEmailText") + "") && ue(b, m), M[0] & /*supportemail*/
|
|
16021
16020
|
16 && ue(
|
|
16022
|
-
|
|
16021
|
+
v,
|
|
16023
16022
|
/*supportemail*/
|
|
16024
16023
|
x[4]
|
|
16025
16024
|
), M[0] & /*supportemail*/
|
|
16026
|
-
16 &&
|
|
16027
|
-
x[4]) && E(g, "href",
|
|
16025
|
+
16 && y !== (y = "mailto:" + /*supportemail*/
|
|
16026
|
+
x[4]) && E(g, "href", y), M[0] & /*$_, selectedPeriodKey*/
|
|
16028
16027
|
4227072 && R !== (R = /*$_*/
|
|
16029
16028
|
x[22](`${/*selectedPeriodKey*/
|
|
16030
16029
|
x[15]}`) + "") && ue(Y, R), M[0] & /*isPeriodDropDownToggled*/
|
|
@@ -16036,14 +16035,14 @@ function Tu(o) {
|
|
|
16036
16035
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16037
16036
|
138414080
|
|
16038
16037
|
) {
|
|
16039
|
-
se =
|
|
16038
|
+
se = so(
|
|
16040
16039
|
/*selfExclusionPeriods*/
|
|
16041
16040
|
x[11]
|
|
16042
16041
|
);
|
|
16043
16042
|
let V;
|
|
16044
16043
|
for (V = 0; V < se.length; V += 1) {
|
|
16045
|
-
const wt =
|
|
16046
|
-
N[V] ? N[V].p(wt, M) : (N[V] =
|
|
16044
|
+
const wt = Ko(x, se, V);
|
|
16045
|
+
N[V] ? N[V].p(wt, M) : (N[V] = Go(wt), N[V].c(), N[V].m(H, null));
|
|
16047
16046
|
}
|
|
16048
16047
|
for (; V < N.length; V += 1)
|
|
16049
16048
|
N[V].d(1);
|
|
@@ -16062,7 +16061,7 @@ function Tu(o) {
|
|
|
16062
16061
|
/*isPeriodDropDownToggled*/
|
|
16063
16062
|
x[20]
|
|
16064
16063
|
), /*isUntilDate*/
|
|
16065
|
-
x[18] ? z ? z.p(x, M) : (z =
|
|
16064
|
+
x[18] ? z ? z.p(x, M) : (z = Jo(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ye(x)) && X ? X.p(x, M) : (X.d(1), X = fe(x), X && (X.c(), X.m(q, null))), M[0] & /*$_*/
|
|
16066
16065
|
4194304 && ee !== (ee = /*$_*/
|
|
16067
16066
|
x[22]("save") + "") && ue(_e, ee), M[0] & /*isDateSelected*/
|
|
16068
16067
|
524288 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16072,22 +16071,22 @@ function Tu(o) {
|
|
|
16072
16071
|
x[25] && le.p(x, M);
|
|
16073
16072
|
},
|
|
16074
16073
|
d(x) {
|
|
16075
|
-
x && he(t), oe && oe.d(),
|
|
16074
|
+
x && he(t), oe && oe.d(), Br(N, x), z && z.d(), X.d(), le && le.d(), Pe = !1, Hr(ke);
|
|
16076
16075
|
}
|
|
16077
16076
|
};
|
|
16078
16077
|
}
|
|
16079
|
-
function
|
|
16080
|
-
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g,
|
|
16078
|
+
function Tu(o) {
|
|
16079
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, v, y, C, A, D;
|
|
16081
16080
|
function G(B, T) {
|
|
16082
16081
|
return (
|
|
16083
16082
|
/*isMobile*/
|
|
16084
|
-
B[24] ?
|
|
16083
|
+
B[24] ? Lu : zu
|
|
16085
16084
|
);
|
|
16086
16085
|
}
|
|
16087
16086
|
let Y = G(o)(o);
|
|
16088
16087
|
return {
|
|
16089
16088
|
c() {
|
|
16090
|
-
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), b = w("ui-skeleton"), p = O(), g = w("div"),
|
|
16089
|
+
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), b = w("ui-skeleton"), p = O(), g = w("div"), v = O(), y = w("ui-skeleton"), C = O(), A = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16091
16090
|
r,
|
|
16092
16091
|
"height",
|
|
16093
16092
|
/*isMobile*/
|
|
@@ -16117,12 +16116,12 @@ function Mu(o) {
|
|
|
16117
16116
|
"height",
|
|
16118
16117
|
/*isMobile*/
|
|
16119
16118
|
o[24] ? "15px" : "20px"
|
|
16120
|
-
), S(
|
|
16121
|
-
|
|
16119
|
+
), S(y, "structure", "text"), S(
|
|
16120
|
+
y,
|
|
16122
16121
|
"height",
|
|
16123
16122
|
/*isMobile*/
|
|
16124
16123
|
o[24] ? "15px" : "20px"
|
|
16125
|
-
), S(
|
|
16124
|
+
), S(y, "width", "30%"), E(m, "class", "SelfExclusionConfig"), S(D, "structure", "rectangle"), S(D, "width", "100%"), S(
|
|
16126
16125
|
D,
|
|
16127
16126
|
"height",
|
|
16128
16127
|
/*isMobile*/
|
|
@@ -16132,7 +16131,7 @@ function Mu(o) {
|
|
|
16132
16131
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16133
16132
|
},
|
|
16134
16133
|
m(B, T) {
|
|
16135
|
-
de(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, b), f(m, p), f(m, g), f(m,
|
|
16134
|
+
de(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, b), f(m, p), f(m, g), f(m, v), f(m, y), f(e, C), f(e, A), f(A, D);
|
|
16136
16135
|
},
|
|
16137
16136
|
p: li,
|
|
16138
16137
|
d(B) {
|
|
@@ -16140,7 +16139,7 @@ function Mu(o) {
|
|
|
16140
16139
|
}
|
|
16141
16140
|
};
|
|
16142
16141
|
}
|
|
16143
|
-
function
|
|
16142
|
+
function Mu(o) {
|
|
16144
16143
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16145
16144
|
/*$_*/
|
|
16146
16145
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -16167,7 +16166,7 @@ function Ou(o) {
|
|
|
16167
16166
|
}
|
|
16168
16167
|
};
|
|
16169
16168
|
}
|
|
16170
|
-
function
|
|
16169
|
+
function Go(o) {
|
|
16171
16170
|
let t, e = (
|
|
16172
16171
|
/*$_*/
|
|
16173
16172
|
o[22](`${/*period*/
|
|
@@ -16200,7 +16199,7 @@ function Jo(o) {
|
|
|
16200
16199
|
}
|
|
16201
16200
|
};
|
|
16202
16201
|
}
|
|
16203
|
-
function
|
|
16202
|
+
function Jo(o) {
|
|
16204
16203
|
let t, e, i = (
|
|
16205
16204
|
/*$_*/
|
|
16206
16205
|
o[22]("duration") + ""
|
|
@@ -16264,7 +16263,7 @@ function Xo(o) {
|
|
|
16264
16263
|
}
|
|
16265
16264
|
};
|
|
16266
16265
|
}
|
|
16267
|
-
function
|
|
16266
|
+
function Ou(o) {
|
|
16268
16267
|
let t, e, i = (
|
|
16269
16268
|
/*$_*/
|
|
16270
16269
|
o[22]("temporarySelfExclusion", {
|
|
@@ -16306,7 +16305,7 @@ function Iu(o) {
|
|
|
16306
16305
|
}
|
|
16307
16306
|
};
|
|
16308
16307
|
}
|
|
16309
|
-
function
|
|
16308
|
+
function Iu(o) {
|
|
16310
16309
|
let t, e, i = (
|
|
16311
16310
|
/*$_*/
|
|
16312
16311
|
o[22]("noPeriodSelected") + ""
|
|
@@ -16328,7 +16327,7 @@ function Fu(o) {
|
|
|
16328
16327
|
}
|
|
16329
16328
|
};
|
|
16330
16329
|
}
|
|
16331
|
-
function
|
|
16330
|
+
function Fu(o) {
|
|
16332
16331
|
let t, e, i = (
|
|
16333
16332
|
/*$_*/
|
|
16334
16333
|
o[22]("permanentSelfExclusion") + ""
|
|
@@ -16350,7 +16349,7 @@ function Nu(o) {
|
|
|
16350
16349
|
}
|
|
16351
16350
|
};
|
|
16352
16351
|
}
|
|
16353
|
-
function
|
|
16352
|
+
function Nu(o) {
|
|
16354
16353
|
let t, e, i, s;
|
|
16355
16354
|
return {
|
|
16356
16355
|
c() {
|
|
@@ -16465,7 +16464,7 @@ function zu(o) {
|
|
|
16465
16464
|
}
|
|
16466
16465
|
};
|
|
16467
16466
|
}
|
|
16468
|
-
function
|
|
16467
|
+
function zu(o) {
|
|
16469
16468
|
let t;
|
|
16470
16469
|
return {
|
|
16471
16470
|
c() {
|
|
@@ -16479,7 +16478,7 @@ function Lu(o) {
|
|
|
16479
16478
|
}
|
|
16480
16479
|
};
|
|
16481
16480
|
}
|
|
16482
|
-
function
|
|
16481
|
+
function Lu(o) {
|
|
16483
16482
|
let t;
|
|
16484
16483
|
return {
|
|
16485
16484
|
c() {
|
|
@@ -16493,12 +16492,12 @@ function Ru(o) {
|
|
|
16493
16492
|
}
|
|
16494
16493
|
};
|
|
16495
16494
|
}
|
|
16496
|
-
function
|
|
16495
|
+
function Ru(o) {
|
|
16497
16496
|
let t;
|
|
16498
16497
|
function e(r, n) {
|
|
16499
16498
|
return (
|
|
16500
16499
|
/*skeletonLoading*/
|
|
16501
|
-
r[21] ?
|
|
16500
|
+
r[21] ? Tu : Du
|
|
16502
16501
|
);
|
|
16503
16502
|
}
|
|
16504
16503
|
let i = e(o), s = i(o);
|
|
@@ -16519,21 +16518,21 @@ function Bu(o) {
|
|
|
16519
16518
|
}
|
|
16520
16519
|
};
|
|
16521
16520
|
}
|
|
16522
|
-
function
|
|
16521
|
+
function Bu(o, t, e) {
|
|
16523
16522
|
let i;
|
|
16524
|
-
|
|
16525
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat:
|
|
16523
|
+
Ir(o, $r, (_) => e(22, i = _)), xe.extend(Cu);
|
|
16524
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: v = "DD/MM/YYYY", sendnotificationemail: y = "false" } = t, C, A, D = [], G = {}, R = v.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", J = "selectAPeriod", H = "", ae = "", pe = Fr(Y) !== "PC", q = !1, Q = !1, j = !1, $ = !1, ee = g === "true", _e = !0;
|
|
16526
16525
|
const Ae = () => {
|
|
16527
16526
|
fetch(p).then((Z) => Z.json()).then((Z) => {
|
|
16528
16527
|
Object.keys(Z).forEach((te) => {
|
|
16529
|
-
|
|
16528
|
+
Wo(te, Z[te]);
|
|
16530
16529
|
});
|
|
16531
16530
|
}).catch((Z) => {
|
|
16532
16531
|
console.log(Z);
|
|
16533
16532
|
});
|
|
16534
16533
|
};
|
|
16535
|
-
Object.keys(
|
|
16536
|
-
|
|
16534
|
+
Object.keys(qo).forEach((_) => {
|
|
16535
|
+
Wo(_, qo[_]);
|
|
16537
16536
|
});
|
|
16538
16537
|
const Ce = () => {
|
|
16539
16538
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16614,7 +16613,7 @@ function Hu(o, t, e) {
|
|
|
16614
16613
|
period: J,
|
|
16615
16614
|
expiryDate: I,
|
|
16616
16615
|
selfExclusionReason: "UserRequest",
|
|
16617
|
-
sendNotificationEmail:
|
|
16616
|
+
sendNotificationEmail: y === "true"
|
|
16618
16617
|
}
|
|
16619
16618
|
})
|
|
16620
16619
|
};
|
|
@@ -16643,7 +16642,7 @@ function Hu(o, t, e) {
|
|
|
16643
16642
|
}).finally(() => {
|
|
16644
16643
|
e(21, _e = !1);
|
|
16645
16644
|
});
|
|
16646
|
-
},
|
|
16645
|
+
}, ye = () => {
|
|
16647
16646
|
window.postMessage(
|
|
16648
16647
|
{
|
|
16649
16648
|
type: "PlayerAccountMenuActive",
|
|
@@ -16671,32 +16670,32 @@ function Hu(o, t, e) {
|
|
|
16671
16670
|
A
|
|
16672
16671
|
);
|
|
16673
16672
|
};
|
|
16674
|
-
|
|
16673
|
+
Nr(() => (window.addEventListener("message", Ie, !1), () => {
|
|
16675
16674
|
A.removeEventListener("change", fe), window.removeEventListener("message", Ie);
|
|
16676
16675
|
}));
|
|
16677
16676
|
const le = () => {
|
|
16678
|
-
|
|
16679
|
-
}, x = () =>
|
|
16677
|
+
Pu(a);
|
|
16678
|
+
}, x = () => ye(), M = () => ke(), V = (_) => oe(_);
|
|
16680
16679
|
function wt(_) {
|
|
16681
|
-
|
|
16680
|
+
oo[_ ? "unshift" : "push"](() => {
|
|
16682
16681
|
A = _, e(10, A);
|
|
16683
16682
|
});
|
|
16684
16683
|
}
|
|
16685
|
-
const
|
|
16686
|
-
function
|
|
16687
|
-
|
|
16684
|
+
const wr = (_) => N(_);
|
|
16685
|
+
function Er(_) {
|
|
16686
|
+
oo[_ ? "unshift" : "push"](() => {
|
|
16688
16687
|
C = _, e(9, C);
|
|
16689
16688
|
});
|
|
16690
16689
|
}
|
|
16691
16690
|
return o.$$set = (_) => {
|
|
16692
|
-
"endpoint" in _ && e(30, s = _.endpoint), "session" in _ && e(0, r = _.session), "userid" in _ && e(1, n = _.userid), "lang" in _ && e(2, a = _.lang), "gmversion" in _ && e(31, l = _.gmversion), "operator" in _ && e(3, c = _.operator), "supportemail" in _ && e(4, u = _.supportemail), "baseurl" in _ && e(5, d = _.baseurl), "clientstyling" in _ && e(6, h = _.clientstyling), "clientstylingurl" in _ && e(7, m = _.clientstylingurl), "mbsource" in _ && e(8, b = _.mbsource), "translationurl" in _ && e(32, p = _.translationurl), "hasconfirmationmodal" in _ && e(33, g = _.hasconfirmationmodal), "dateformat" in _ && e(34,
|
|
16691
|
+
"endpoint" in _ && e(30, s = _.endpoint), "session" in _ && e(0, r = _.session), "userid" in _ && e(1, n = _.userid), "lang" in _ && e(2, a = _.lang), "gmversion" in _ && e(31, l = _.gmversion), "operator" in _ && e(3, c = _.operator), "supportemail" in _ && e(4, u = _.supportemail), "baseurl" in _ && e(5, d = _.baseurl), "clientstyling" in _ && e(6, h = _.clientstyling), "clientstylingurl" in _ && e(7, m = _.clientstylingurl), "mbsource" in _ && e(8, b = _.mbsource), "translationurl" in _ && e(32, p = _.translationurl), "hasconfirmationmodal" in _ && e(33, g = _.hasconfirmationmodal), "dateformat" in _ && e(34, v = _.dateformat), "sendnotificationemail" in _ && e(35, y = _.sendnotificationemail);
|
|
16693
16692
|
}, o.$$.update = () => {
|
|
16694
16693
|
o.$$.dirty[0] & /*lang*/
|
|
16695
16694
|
4 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16696
16695
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
16697
16696
|
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16698
16697
|
1024 && A && X(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16699
|
-
576 && h && C &&
|
|
16698
|
+
576 && h && C && zr(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16700
16699
|
640 && m && C && Lr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16701
16700
|
768 && b && C && Rr(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16702
16701
|
2 && p && Ae();
|
|
@@ -16730,29 +16729,29 @@ function Hu(o, t, e) {
|
|
|
16730
16729
|
ke,
|
|
16731
16730
|
oe,
|
|
16732
16731
|
N,
|
|
16733
|
-
|
|
16732
|
+
ye,
|
|
16734
16733
|
s,
|
|
16735
16734
|
l,
|
|
16736
16735
|
p,
|
|
16737
16736
|
g,
|
|
16738
|
-
y,
|
|
16739
16737
|
v,
|
|
16738
|
+
y,
|
|
16740
16739
|
x,
|
|
16741
16740
|
M,
|
|
16742
16741
|
V,
|
|
16743
16742
|
wt,
|
|
16744
|
-
|
|
16745
|
-
|
|
16743
|
+
wr,
|
|
16744
|
+
Er
|
|
16746
16745
|
];
|
|
16747
16746
|
}
|
|
16748
|
-
class
|
|
16747
|
+
class xr extends kr {
|
|
16749
16748
|
constructor(t) {
|
|
16750
|
-
super(),
|
|
16749
|
+
super(), Dr(
|
|
16751
16750
|
this,
|
|
16752
16751
|
t,
|
|
16753
|
-
Hu,
|
|
16754
16752
|
Bu,
|
|
16755
|
-
|
|
16753
|
+
Ru,
|
|
16754
|
+
Mr,
|
|
16756
16755
|
{
|
|
16757
16756
|
endpoint: 30,
|
|
16758
16757
|
session: 0,
|
|
@@ -16770,7 +16769,7 @@ class wr extends Dr {
|
|
|
16770
16769
|
dateformat: 34,
|
|
16771
16770
|
sendnotificationemail: 35
|
|
16772
16771
|
},
|
|
16773
|
-
|
|
16772
|
+
ku,
|
|
16774
16773
|
[-1, -1]
|
|
16775
16774
|
);
|
|
16776
16775
|
}
|
|
@@ -16865,12 +16864,12 @@ class wr extends Dr {
|
|
|
16865
16864
|
this.$$set({ sendnotificationemail: t }), ie();
|
|
16866
16865
|
}
|
|
16867
16866
|
}
|
|
16868
|
-
|
|
16869
|
-
const
|
|
16867
|
+
Tr(xr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16868
|
+
const Sd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16870
16869
|
__proto__: null,
|
|
16871
|
-
default:
|
|
16870
|
+
default: xr
|
|
16872
16871
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16873
16872
|
export {
|
|
16874
|
-
|
|
16875
|
-
|
|
16873
|
+
Cu as C,
|
|
16874
|
+
Sd as P
|
|
16876
16875
|
};
|