@everymatrix/player-account-controller-nd 1.74.10 → 1.75.0
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-C52-PhwD.js → GeneralLogout-D030tuMl.js} +1298 -1284
- package/components/{GeneralLogout-C-KQBmk3.js → GeneralLogout-DqIgt_tx.js} +1322 -1308
- package/components/GeneralLogout-TofSUXEw.cjs +21 -0
- package/components/PlayerAccountBettingHistory-85apG_ux.cjs +1 -0
- package/components/PlayerAccountBettingHistory-BspqrGzf.js +310 -0
- package/components/PlayerAccountBettingHistory-Dl1_SAM4.js +311 -0
- package/components/{PlayerAccountBiometrics-C5FFOJ5V.js → PlayerAccountBiometrics-DsYJOGIk.js} +5 -5
- package/components/{PlayerAccountBiometrics-DPdT285K.cjs → PlayerAccountBiometrics-N164JTVo.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DuvDCmjx.js → PlayerAccountBiometrics-YcohloWe.js} +5 -5
- package/components/{PlayerAccountClosureNd-BEMKT7IM.js → PlayerAccountClosureNd-B9z8p3ie.js} +6 -6
- package/components/{PlayerAccountClosureNd-CYHq0859.js → PlayerAccountClosureNd-C5CrElCk.js} +6 -6
- package/components/{PlayerAccountClosureNd-CMzRAP8U.cjs → PlayerAccountClosureNd-DFWHunWk.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-BLPNyTdD.cjs → PlayerAccountControllerNd-BIYxelWf.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-CkMeFrTH.js → PlayerAccountControllerNd-CQiByOpl.js} +215 -215
- package/components/{PlayerAccountControllerNd-DVnO4_Om.js → PlayerAccountControllerNd-wYyuG8M1.js} +212 -212
- package/components/{PlayerAccountGamingLimits-B7ppWJQ6.js → PlayerAccountGamingLimits-CUtQADXZ.js} +124 -124
- package/components/{PlayerAccountGamingLimits-DMS9a3TN.js → PlayerAccountGamingLimits-CsAmDJwA.js} +124 -124
- package/components/{PlayerAccountGamingLimits-B2vzRems.cjs → PlayerAccountGamingLimits-DLyOkU8g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js → PlayerAccountGamingLimitsConfirmationModal-CKwL1tb1.js} +38 -38
- package/components/{PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js → PlayerAccountGamingLimitsConfirmationModal-DXqRhhmC.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-cxg0byfD.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs → PlayerAccountGamingLimitsGroupEdit-BEb7Fv28.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js → PlayerAccountGamingLimitsGroupEdit-Cj8Zh8WK.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js → PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.js} +1009 -1009
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js → PlayerAccountGamingLimitsHistory2Nd-BhLSHYdC.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs → PlayerAccountGamingLimitsHistory2Nd-CP6Lgi2e.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js → PlayerAccountGamingLimitsHistory2Nd-OS3hwfOI.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js → PlayerAccountGamingLimitsInfoCard-CLe77Gl9.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DjnVkaho.js → PlayerAccountGamingLimitsInfoCard-DsRCdtpt.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs → PlayerAccountGamingLimitsInfoCard-XCP1Kxff.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cd8mrrqZ.js → PlayerAccountGamingLimitsPage2Gm16Nd-BRkHDHHU.js} +423 -416
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BMYVxNF1.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BZanq3Dj.cjs} +6 -6
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-oZxq2GPD.js → PlayerAccountGamingLimitsPage2Gm16Nd-DvZCI9jR.js} +392 -385
- package/components/{PlayerAccountGamingLimitsPopup-lZ7y_RVP.js → PlayerAccountGamingLimitsPopup-B04Er6pi.js} +21 -21
- package/components/{PlayerAccountGamingLimitsPopup-D16rhs4n.cjs → PlayerAccountGamingLimitsPopup-DNjM-xS5.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-1ObhRFHn.js → PlayerAccountGamingLimitsPopup-oQNgmn2e.js} +21 -21
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DVmSDv2F.js → PlayerAccountGamingLimitsWrapper2Nd-GzdrBFqR.js} +6 -6
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-g_R5EsPn.cjs → PlayerAccountGamingLimitsWrapper2Nd-eFKelHQy.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-iMEe46CC.js → PlayerAccountGamingLimitsWrapper2Nd-u6W-W9e4.js} +6 -6
- package/components/PlayerAccountGeneralConfirmationModal-BFCCI67b.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-Bgat7eVE.js → PlayerAccountGeneralConfirmationModal-CukB9VCO.js} +53 -53
- package/components/{PlayerAccountGeneralConfirmationModal-DrgjMSLh.js → PlayerAccountGeneralConfirmationModal-ESnfg5wk.js} +53 -53
- package/components/{PlayerAccountMenuNd-V9EOIgPS.js → PlayerAccountMenuNd-BIxULyK_.js} +7 -7
- package/components/{PlayerAccountMenuNd-alDPH0d2.js → PlayerAccountMenuNd-Dz2t35yx.js} +7 -7
- package/components/{PlayerAccountMenuNd-Yk5u12tl.cjs → PlayerAccountMenuNd-y2DyyHIy.cjs} +1 -1
- package/components/{PlayerAccountModal-9FK6eAt0.js → PlayerAccountModal-BUf_-0GM.js} +10 -10
- package/components/{PlayerAccountModal-DCsw7iyn.js → PlayerAccountModal-BZ_7luqG.js} +10 -10
- package/components/{PlayerAccountModal-DvJ0OsPC.cjs → PlayerAccountModal-DaIBO9tP.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CdPeCghS.cjs → PlayerAccountNotifications-BbvJAh0S.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BVfKQdMA.js → PlayerAccountNotifications-CNm0Cac9.js} +6 -6
- package/components/{PlayerAccountNotifications-BzEDVvTZ.js → PlayerAccountNotifications-qzx6Peu-.js} +6 -6
- package/components/{PlayerAccountProductRestriction-BJ0LFpLp.cjs → PlayerAccountProductRestriction-DJUublp5.cjs} +268 -268
- package/components/{PlayerAccountProductRestriction-DmWDaeEI.js → PlayerAccountProductRestriction-Dj-GoA-Y.js} +2498 -2494
- package/components/{PlayerAccountProductRestriction-EAWMHqK4.js → PlayerAccountProductRestriction-k26MhfnT.js} +2521 -2517
- package/components/{PlayerAccountSelfExclusionNd-BLr1N-Bv.cjs → PlayerAccountSelfExclusionNd-AgJSFDnT.cjs} +152 -152
- package/components/{PlayerAccountSelfExclusionNd-CiB251y6.js → PlayerAccountSelfExclusionNd-BQtNrIGS.js} +825 -824
- package/components/{PlayerAccountSelfExclusionNd-BI74DoLY.js → PlayerAccountSelfExclusionNd-CNzMQ7eW.js} +844 -843
- package/components/{PlayerAccountTimeout-U0kgxhKU.cjs → PlayerAccountTimeout-BSSbDBi8.cjs} +1 -1
- package/components/{PlayerAccountTimeout-BlJS9laL.js → PlayerAccountTimeout-CYyxjqJQ.js} +43 -43
- package/components/{PlayerAccountTimeout-GP0WHuhG.js → PlayerAccountTimeout-DTzfXl3o.js} +43 -43
- package/components/{PlayerAccountTransactionsHistory-hyaqdne0.js → PlayerAccountTransactionsHistory-Bj0KJm_X.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-D5lotPR-.js → PlayerAccountTransactionsHistory-BqN2JEaw.js} +7 -7
- package/components/{PlayerAccountTransactionsHistory-BxNwks5H.cjs → PlayerAccountTransactionsHistory-rH9fIVPg.cjs} +1 -1
- package/components/{PlayerActiveBonuses-zLuqH4eW.js → PlayerActiveBonuses-CG3MShje.js} +6 -6
- package/components/{PlayerActiveBonuses-Me5Q3o65.cjs → PlayerActiveBonuses-VMRnoY1_.cjs} +1 -1
- package/components/{PlayerActiveBonuses-D4OBnwNa.js → PlayerActiveBonuses-_5tMeqW1.js} +6 -6
- package/components/{PlayerBonusCard-BhW_g3sH.js → PlayerBonusCard-JxCswDEv.js} +7 -7
- package/components/{PlayerBonusCard-DgyhSYBs.cjs → PlayerBonusCard-KehruUku.cjs} +1 -1
- package/components/{PlayerBonusCard-BbRQx8Gg.js → PlayerBonusCard-PjFBuYOQ.js} +7 -7
- package/components/{PlayerBonusHistory-BxbtWY0l.js → PlayerBonusHistory-BJxVpVed.js} +7 -7
- package/components/{PlayerBonusHistory-C_uP6nBB.js → PlayerBonusHistory-D4fHekky.js} +7 -7
- package/components/{PlayerBonusHistory-BmeRyaDK.cjs → PlayerBonusHistory-WEjZxD6T.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DUzbCK4p.js → PlayerChangePasswordNd-BNKqXdus.js} +4 -4
- package/components/{PlayerChangePasswordNd-DSIi_04v.cjs → PlayerChangePasswordNd-DcgU3jc2.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-DWsHRVAH.js → PlayerChangePasswordNd-DeLVgl-F.js} +4 -4
- package/components/PlayerDeposit-BLDWbMBK.cjs +1 -0
- package/components/{PlayerDeposit-BeGgsgNu.js → PlayerDeposit-CNQfct0C.js} +73 -73
- package/components/{PlayerDeposit-CI5GIyAe.js → PlayerDeposit-DGv0xh8z.js} +73 -73
- package/components/{PlayerGamingHistory-DEgVt4st.js → PlayerGamingHistory-BGfVusNu.js} +60 -60
- package/components/{PlayerGamingHistory-F3yi70Vu.cjs → PlayerGamingHistory-BxN4Cjj3.cjs} +1 -1
- package/components/{PlayerGamingHistory-BJQKapHg.js → PlayerGamingHistory-wT_xKClx.js} +53 -53
- package/components/{PlayerPendingWithdrawals-BL4JTLkC.js → PlayerPendingWithdrawals-BB2HoABl.js} +6 -6
- package/components/{PlayerPendingWithdrawals-o6_OjL5C.js → PlayerPendingWithdrawals-BizDJ0F9.js} +6 -6
- package/components/{PlayerPendingWithdrawals-D-KWiMH6.cjs → PlayerPendingWithdrawals-DfQ_PvkY.cjs} +1 -1
- package/components/{PlayerProfileInfo-xRMbiw1T.js → PlayerProfileInfo-C-g4XepU.js} +95 -95
- package/components/{PlayerProfileInfo-CwZQ79SV.cjs → PlayerProfileInfo-CKJNYYA8.cjs} +1 -1
- package/components/{PlayerProfileInfo-D0A3aRV_.js → PlayerProfileInfo-Cnl1XufF.js} +108 -108
- package/components/{PlayerRealityCheck-BEiZhn6p.js → PlayerRealityCheck-BBmsx1va.js} +6 -6
- package/components/{PlayerRealityCheck-JdOGHDG6.cjs → PlayerRealityCheck-Cq2rIALW.cjs} +1 -1
- package/components/{PlayerRealityCheck-CYU_NrFB.js → PlayerRealityCheck-P7wFyweE.js} +6 -6
- package/components/{PlayerTransactionHistory-BS1LjP09.js → PlayerTransactionHistory-CqY9DKiK.js} +6 -6
- package/components/{PlayerTransactionHistory-DdbQZ6mw.js → PlayerTransactionHistory-DN6FJ2lh.js} +6 -6
- package/components/{PlayerTransactionHistory-Hz2IWD73.cjs → PlayerTransactionHistory-DPvvu8Wp.cjs} +1 -1
- package/components/{PlayerWithdrawal-P_0MIA-u.cjs → PlayerWithdrawal-BcaC1sEF.cjs} +1 -1
- package/components/{PlayerWithdrawal-DGN4Y9QP.js → PlayerWithdrawal-lAVd0flG.js} +6 -6
- package/components/{PlayerWithdrawal-DOec04Iq.js → PlayerWithdrawal-oEAQeQgU.js} +6 -6
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_15-BzU_0jJ_.js → checkbox-group-input_15-B47EbzkJ.js} +3227 -3221
- package/stencil/{checkbox-group-input_15-7ljokaYC.js → checkbox-group-input_15-BBaHCJ8m.js} +3231 -3225
- package/stencil/{checkbox-group-input_15-Fs7-YN7u.cjs → checkbox-group-input_15-BPXIBJ9O.cjs} +271 -271
- package/stencil/{index-13661b98-Cty_Ct2m.js → index-13661b98-BzYpZXJ-.js} +245 -245
- package/stencil/{index-13661b98-BJM2hHx6.js → index-13661b98-D93Apl47.js} +124 -124
- package/stencil/index-13661b98-DBuU9Lk0.cjs +1 -0
- package/stencil/{index-1ef3a64c-DuKSFSN8.js → index-1ef3a64c-BJwg6KZV.js} +201 -201
- package/stencil/index-1ef3a64c-BkMv_VME.cjs +1 -0
- package/stencil/index-1ef3a64c-Cl4fiqPl.js +556 -0
- package/stencil/{index-7c5e707a-B54Yjxc3.js → index-7c5e707a-BZ26MA7_.js} +135 -135
- package/stencil/{index-7c5e707a-BHFN5Fx4.js → index-7c5e707a-CVVnpkZ1.js} +145 -145
- package/stencil/index-7c5e707a-d0LYIjGl.cjs +1 -0
- package/stencil/{index-9c0f6c58-Ucwc3Jk1.js → index-9c0f6c58-8sXzcKbt.js} +223 -223
- package/stencil/index-9c0f6c58-CbFwvYJ1.cjs +1 -0
- package/stencil/{index-9c0f6c58-GCIFeGLp.js → index-9c0f6c58-DH5Ki39B.js} +118 -118
- package/stencil/{index-b2193545-LzjWxki5.js → index-b2193545-BekNYO1T.js} +176 -176
- package/stencil/index-b2193545-BteAUmdh.cjs +1 -0
- package/stencil/{index-b2193545-DPKCFIaU.js → index-b2193545-DfDFpDFs.js} +169 -169
- package/stencil/{pam-change-password-DSAfkY23.js → pam-change-password-9bMd9dOQ.js} +1 -1
- package/stencil/{pam-change-password-mcRyjsPo.cjs → pam-change-password-D9deCtek.cjs} +1 -1
- package/stencil/{pam-change-password-af5033a0-BfWHc1Rw.js → pam-change-password-af5033a0-BdPXYjRb.js} +59 -59
- package/stencil/{pam-change-password-af5033a0-C18GwNdS.cjs → pam-change-password-af5033a0-CPFagM2l.cjs} +2 -2
- package/stencil/{pam-change-password-af5033a0-DYGjeRTR.js → pam-change-password-af5033a0-CXI6y6VZ.js} +59 -59
- package/stencil/{pam-change-password-Bdu7Bk_h.js → pam-change-password-h1ivBSP6.js} +1 -1
- package/stencil/{player-kyc-verification-Wsswi9br.js → player-kyc-verification-BJuBsd7A.js} +1 -1
- package/stencil/{player-kyc-verification-D10m225z.cjs → player-kyc-verification-DW2tWbg_.cjs} +1 -1
- package/stencil/{player-kyc-verification-B9ZaCq1K.js → player-kyc-verification-u-XUlDen.js} +1 -1
- package/stencil/{ui-skeleton-Cbqo0oYF.cjs → ui-skeleton-Bez-iF-R.cjs} +1 -1
- package/stencil/{ui-skeleton-LneRlsD3.js → ui-skeleton-CScGJdv_.js} +2 -2
- package/stencil/{ui-skeleton-2XsWxl4S.js → ui-skeleton-CnxOhYAT.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-OnzqIAY0.js → ui-skeleton-ae35c6f2-Bl0_r9TX.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8s3Rqu1P.js → ui-skeleton-ae35c6f2-CXRVKjq-.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-B4ncHe9g.cjs → ui-skeleton-ae35c6f2-D37mmp9J.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CSakhNt1.js → user-deposit-withdrawal-B7dnuKq0.js} +45 -45
- package/stencil/{user-deposit-withdrawal-BP58nPO1.cjs → user-deposit-withdrawal-KqJCF9Hl.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-DcVKAa80.js → user-deposit-withdrawal-ar8K3Kn7.js} +45 -45
- package/stencil/{user-transaction-history-D0jBcRwe.js → user-transaction-history-D86WcqZY.js} +588 -588
- package/stencil/{user-transaction-history-BrBScppC.js → user-transaction-history-o1zvVNkt.js} +600 -600
- package/stencil/user-transaction-history-xgpDQYWU.cjs +1 -0
- package/components/GeneralLogout-COm1JcKW.cjs +0 -21
- package/components/PlayerAccountBettingHistory-5QM3bGgT.js +0 -310
- package/components/PlayerAccountBettingHistory-B91V20F2.js +0 -311
- package/components/PlayerAccountBettingHistory-CE023VGz.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +0 -1
- package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +0 -1
- package/components/PlayerDeposit-CmBFg6tX.cjs +0 -1
- package/stencil/index-13661b98-DuhNdmHd.cjs +0 -1
- package/stencil/index-1ef3a64c-DD-PHh2g.cjs +0 -1
- package/stencil/index-1ef3a64c-DQk1yZfC.js +0 -556
- package/stencil/index-7c5e707a-CFlTnjRT.cjs +0 -1
- package/stencil/index-9c0f6c58-8Ks3y9ln.cjs +0 -1
- package/stencil/index-b2193545-BMFR9-V2.cjs +0 -1
- package/stencil/user-transaction-history-HA_tfHfo.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a5 as
|
|
2
|
-
import { d as Ee } from "./PlayerAccountProductRestriction-
|
|
3
|
-
import "../stencil/ui-skeleton-
|
|
4
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a5 as Ar, a6 as Cr, a as Pr, $ as kr, S as Dr, i as Tr, f as oe, c as Mr, s as Or, b as Ir, e as w, k as ne, o as ci, p as ae, q as Fr, u as Nr, v as zr, w as Lr, x as Rr, z as ro, A as Br, O as no, d as I, t as re, y as Ae, F as Hr, g as E, j as Ue, l as f, m as Mt, n as de, P as $r, r as Yr, h as S, Y as qt, B as jr } from "./GeneralLogout-D030tuMl.js";
|
|
2
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-Dj-GoA-Y.js";
|
|
3
|
+
import "../stencil/ui-skeleton-CScGJdv_.js";
|
|
4
|
+
import "./PlayerAccountGamingLimitsGroupEdit-DKNPRs3o.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 Vr extends HTMLElement {
|
|
32
32
|
static get is() {
|
|
33
33
|
return "vaadin-lumo-styles";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
be(
|
|
36
|
+
be(Vr);
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(),
|
|
42
|
+
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(), ao = /* @__PURE__ */ new WeakMap();
|
|
43
43
|
let Ni = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
45
|
if (this._$cssResult$ = !0, i !== Fi)
|
|
@@ -51,7 +51,7 @@ let Ni = class {
|
|
|
51
51
|
const e = this.t;
|
|
52
52
|
if (Ii && t === void 0) {
|
|
53
53
|
const i = e !== void 0 && e.length === 1;
|
|
54
|
-
i && (t =
|
|
54
|
+
i && (t = ao.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && ao.set(e, t));
|
|
55
55
|
}
|
|
56
56
|
return t;
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ let Ni = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const Ur = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), 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 Ni(typeof o == "string" ? o : o + "", void 0, Fi), 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 Ni(e, o, Fi);
|
|
71
|
-
},
|
|
71
|
+
}, Qo = (o, t) => {
|
|
72
72
|
if (Ii)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
74
74
|
else
|
|
@@ -76,21 +76,21 @@ const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o,
|
|
|
76
76
|
const i = document.createElement("style"), s = Dt.litNonce;
|
|
77
77
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
78
78
|
}
|
|
79
|
-
},
|
|
79
|
+
}, lo = Ii ? (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 Ur(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: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Jr, getPrototypeOf: Xr } = Object, Ht = globalThis, co = Ht.trustedTypes, Zr = co ? co.emptyScript : "", Qr = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, ui = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
|
-
o = o ?
|
|
93
|
+
o = o ? Zr : 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
|
+
} }, es = (o, t) => !Wr(o, t), uo = { attribute: !0, type: String, converter: ui, reflect: !1, hasChanged: es };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class qe extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -124,14 +124,14 @@ class qe 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 = uo) {
|
|
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 && qr(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 } = Kr(this.prototype, t) ?? { get() {
|
|
135
135
|
return this[e];
|
|
136
136
|
}, set(n) {
|
|
137
137
|
this[e] = n;
|
|
@@ -144,19 +144,19 @@ class qe 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) ?? uo;
|
|
148
148
|
}
|
|
149
149
|
static _$Ei() {
|
|
150
150
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
151
151
|
return;
|
|
152
|
-
const t =
|
|
152
|
+
const t = Xr(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(dt("finalized")))
|
|
157
157
|
return;
|
|
158
158
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
159
|
-
const e = this.properties, i = [...
|
|
159
|
+
const e = this.properties, i = [...Gr(e), ...Jr(e)];
|
|
160
160
|
for (const s of i)
|
|
161
161
|
this.createProperty(s, e[s]);
|
|
162
162
|
}
|
|
@@ -179,9 +179,9 @@ class qe 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(lo(s));
|
|
183
183
|
} else
|
|
184
|
-
t !== void 0 && e.push(
|
|
184
|
+
t !== void 0 && e.push(lo(t));
|
|
185
185
|
return e;
|
|
186
186
|
}
|
|
187
187
|
static _$Eu(t, e) {
|
|
@@ -208,7 +208,7 @@ class qe extends HTMLElement {
|
|
|
208
208
|
}
|
|
209
209
|
createRenderRoot() {
|
|
210
210
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
211
|
-
return
|
|
211
|
+
return Qo(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 qe 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 ?? es)(this[t], e))
|
|
241
241
|
return;
|
|
242
242
|
this.P(t, e, i);
|
|
243
243
|
}
|
|
@@ -307,39 +307,39 @@ class qe extends HTMLElement {
|
|
|
307
307
|
firstUpdated(t) {
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(),
|
|
310
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Qr?.({ ReactiveElement: qe }), (Ht.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 zi = globalThis, Ot = zi.trustedTypes,
|
|
317
|
-
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
318
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
319
|
-
function
|
|
316
|
+
const zi = globalThis, Ot = zi.trustedTypes, ho = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ts = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, is = "?" + Me, en = `<${is}>`, $e = document, pt = () => $e.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Li = Array.isArray, tn = (o) => Li(o) || typeof o?.[Symbol.iterator] == "function", Kt = `[
|
|
317
|
+
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, fo = />/g, ze = RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
|
|
318
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), mo = /'/g, _o = /"/g, os = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), go = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
319
|
+
function ss(o, t) {
|
|
320
320
|
if (!Li(o) || !o.hasOwnProperty("raw"))
|
|
321
321
|
throw Error("invalid template strings array");
|
|
322
|
-
return
|
|
322
|
+
return ho !== void 0 ? ho.createHTML(t) : t;
|
|
323
323
|
}
|
|
324
|
-
const
|
|
324
|
+
const on = (o, t) => {
|
|
325
325
|
const e = o.length - 1, i = [];
|
|
326
326
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = st;
|
|
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 === st ? u[1] === "!--" ? n =
|
|
331
|
+
h = n.lastIndex, n === st ? u[1] === "!--" ? n = po : u[1] !== void 0 ? n = fo : u[2] !== void 0 ? (os.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s ?? st, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? _o : mo) : n === _o || n === mo ? n = ze : n === po || n === fo ? n = st : (n = ze, s = void 0);
|
|
332
332
|
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
333
|
-
r += n === st ? l +
|
|
333
|
+
r += n === st ? l + en : d >= 0 ? (i.push(c), l.slice(0, d) + ts + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
334
334
|
}
|
|
335
|
-
return [
|
|
335
|
+
return [ss(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
336
336
|
};
|
|
337
337
|
class mt {
|
|
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] = on(t, e);
|
|
343
343
|
if (this.el = mt.createElement(c, i), Le.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 mt {
|
|
|
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(ts)) {
|
|
352
352
|
const h = u[n++], m = s.getAttribute(d).split(Me), 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] === "." ? rn : b[1] === "?" ? nn : b[1] === "@" ? an : $t }), s.removeAttribute(d);
|
|
354
354
|
} else
|
|
355
355
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
356
|
-
if (
|
|
356
|
+
if (os.test(s.tagName)) {
|
|
357
357
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
358
358
|
if (h > 0) {
|
|
359
359
|
s.textContent = Ot ? Ot.emptyScript : "";
|
|
@@ -363,7 +363,7 @@ class mt {
|
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
365
|
} else if (s.nodeType === 8)
|
|
366
|
-
if (s.data ===
|
|
366
|
+
if (s.data === is)
|
|
367
367
|
l.push({ type: 2, index: r });
|
|
368
368
|
else {
|
|
369
369
|
let d = -1;
|
|
@@ -385,7 +385,7 @@ function Qe(o, t, e = o, i) {
|
|
|
385
385
|
const r = ft(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 = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
387
387
|
}
|
|
388
|
-
class
|
|
388
|
+
class sn {
|
|
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 wt(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 wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new ln(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
406
406
|
}
|
|
407
407
|
n !== l?.index && (r = Le.nextNode(), n++);
|
|
408
408
|
}
|
|
@@ -433,7 +433,7 @@ class wt {
|
|
|
433
433
|
return this._$AB;
|
|
434
434
|
}
|
|
435
435
|
_$AI(t, e = this) {
|
|
436
|
-
t = Qe(this, t, e), ft(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
436
|
+
t = Qe(this, t, e), ft(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : tn(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 wt {
|
|
|
445
445
|
this._$AH !== W && ft(this._$AH) ? this._$AA.nextSibling.data = t : this.T($e.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 = mt.createElement(
|
|
448
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(ss(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 sn(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 = go.get(t.strings);
|
|
458
|
+
return e === void 0 && go.set(t.strings, e = new mt(t)), e;
|
|
459
459
|
}
|
|
460
460
|
k(t) {
|
|
461
461
|
Li(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -502,7 +502,7 @@ class $t {
|
|
|
502
502
|
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
class
|
|
505
|
+
class rn extends $t {
|
|
506
506
|
constructor() {
|
|
507
507
|
super(...arguments), this.type = 3;
|
|
508
508
|
}
|
|
@@ -510,7 +510,7 @@ class sn extends $t {
|
|
|
510
510
|
this.element[this.name] = t === W ? void 0 : t;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
|
-
class
|
|
513
|
+
class nn extends $t {
|
|
514
514
|
constructor() {
|
|
515
515
|
super(...arguments), this.type = 4;
|
|
516
516
|
}
|
|
@@ -518,7 +518,7 @@ class rn extends $t {
|
|
|
518
518
|
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
class
|
|
521
|
+
class an extends $t {
|
|
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 $t {
|
|
|
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 ln {
|
|
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
|
Qe(this, t);
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
|
-
const
|
|
547
|
-
|
|
548
|
-
const
|
|
546
|
+
const cn = zi.litHtmlPolyfillSupport;
|
|
547
|
+
cn?.(mt, wt), (zi.litHtmlVersions ??= []).push("3.2.1");
|
|
548
|
+
const un = (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 Ke extends qe {
|
|
|
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 = un(e, this.renderRoot, this.renderOptions);
|
|
573
573
|
}
|
|
574
574
|
connectedCallback() {
|
|
575
575
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -582,15 +582,15 @@ class Ke extends qe {
|
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
Ke._$litElement$ = !0, Ke.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: Ke });
|
|
585
|
-
const
|
|
586
|
-
|
|
585
|
+
const dn = globalThis.litElementPolyfillSupport;
|
|
586
|
+
dn?.({ LitElement: Ke });
|
|
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 hn = (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 rs = [], di = /* @__PURE__ */ new Set(), Ri = /* @__PURE__ */ new Set();
|
|
633
|
+
function ns(o) {
|
|
634
634
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return
|
|
636
|
+
function pn(o) {
|
|
637
|
+
return ns(customElements.get(o));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function fn(o = []) {
|
|
640
640
|
return [o].flat(1 / 0).filter((t) => t instanceof Ni ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function as(o, t) {
|
|
643
643
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function ls(o) {
|
|
646
646
|
return o.map((t) => t.cssText).join(`
|
|
647
647
|
`);
|
|
648
648
|
}
|
|
649
649
|
const It = "vaadin-themable-mixin-style";
|
|
650
|
-
function
|
|
650
|
+
function mn(o, t) {
|
|
651
651
|
const e = document.createElement("style");
|
|
652
|
-
e.id = It, e.textContent =
|
|
652
|
+
e.id = It, e.textContent = ls(o), t.content.appendChild(e);
|
|
653
653
|
}
|
|
654
|
-
function
|
|
654
|
+
function _n(o) {
|
|
655
655
|
if (!o.shadowRoot)
|
|
656
656
|
return;
|
|
657
657
|
const t = o.constructor;
|
|
658
658
|
if (o instanceof Ke)
|
|
659
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
659
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Qo(o.shadowRoot, t.elementStyles);
|
|
660
660
|
else {
|
|
661
661
|
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
662
662
|
e.textContent = i.content.getElementById(It).textContent;
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function gn(o) {
|
|
666
666
|
di.forEach((t) => {
|
|
667
667
|
const e = t.deref();
|
|
668
|
-
e instanceof o ?
|
|
668
|
+
e instanceof o ? _n(e) : e || di.delete(t);
|
|
669
669
|
});
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function cs(o) {
|
|
672
672
|
if (o.prototype instanceof Ke)
|
|
673
673
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
674
674
|
else {
|
|
675
675
|
const t = o.prototype._template;
|
|
676
|
-
t.content.getElementById(It).textContent =
|
|
676
|
+
t.content.getElementById(It).textContent = ls(o.getStylesForThis());
|
|
677
677
|
}
|
|
678
678
|
Ri.forEach((t) => {
|
|
679
679
|
const e = customElements.get(t);
|
|
680
|
-
e !== o && e.prototype instanceof o &&
|
|
680
|
+
e !== o && e.prototype instanceof o && cs(e);
|
|
681
681
|
});
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function bn(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 = fn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : rs.push({
|
|
691
691
|
themeFor: o,
|
|
692
692
|
styles: t,
|
|
693
693
|
include: e.include,
|
|
694
694
|
moduleId: e.moduleId
|
|
695
695
|
}), o && Ri.forEach((i) => {
|
|
696
|
-
if (
|
|
696
|
+
if (as(o, i) && pn(i)) {
|
|
697
697
|
const s = customElements.get(i);
|
|
698
|
-
|
|
698
|
+
bn(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
|
+
), cs(s), gn(s);
|
|
701
701
|
}
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
704
|
function hi() {
|
|
705
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
705
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : rs;
|
|
706
706
|
}
|
|
707
|
-
function
|
|
707
|
+
function vn(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 us(o) {
|
|
712
712
|
const t = [];
|
|
713
713
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
714
714
|
const i = hi().find((s) => s.moduleId === e);
|
|
715
|
-
i ? t.push(...
|
|
715
|
+
i ? t.push(...us(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
716
716
|
}, o.styles), t;
|
|
717
717
|
}
|
|
718
718
|
function yn(o) {
|
|
719
|
-
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t &&
|
|
719
|
+
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t && as(i.themeFor, o)).map((i) => ({
|
|
720
720
|
...i,
|
|
721
721
|
// Prepend styles from included themes
|
|
722
|
-
styles: [...
|
|
722
|
+
styles: [...us(i), ...i.styles],
|
|
723
723
|
// Map moduleId to includePriority
|
|
724
|
-
includePriority:
|
|
724
|
+
includePriority: vn(i.moduleId)
|
|
725
725
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
726
726
|
return e.length > 0 ? e : hi().filter((i) => i.moduleId === t);
|
|
727
727
|
}
|
|
728
|
-
const Ye = (o) => class extends
|
|
728
|
+
const Ye = (o) => class extends hn(o) {
|
|
729
729
|
constructor() {
|
|
730
730
|
super(), di.add(new WeakRef(this));
|
|
731
731
|
}
|
|
@@ -737,7 +737,7 @@ const Ye = (o) => class extends dn(o) {
|
|
|
737
737
|
if (super.finalize(), this.is && Ri.add(this.is), this.elementStyles)
|
|
738
738
|
return;
|
|
739
739
|
const e = this.prototype._template;
|
|
740
|
-
!e ||
|
|
740
|
+
!e || ns(this) || mn(this.getStylesForThis(), e);
|
|
741
741
|
}
|
|
742
742
|
/**
|
|
743
743
|
* Covers LitElement based component styling
|
|
@@ -765,19 +765,19 @@ const Ye = (o) => class extends dn(o) {
|
|
|
765
765
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
766
766
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
767
767
|
*/
|
|
768
|
-
const
|
|
768
|
+
const xn = (o, ...t) => {
|
|
769
769
|
const e = document.createElement("style");
|
|
770
770
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
771
771
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
772
772
|
}, it = (o, ...t) => {
|
|
773
|
-
|
|
773
|
+
xn(`lumo-${o}`, t);
|
|
774
774
|
};
|
|
775
775
|
/**
|
|
776
776
|
* @license
|
|
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 wn = 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
|
-
it("sizing-props",
|
|
796
|
+
it("sizing-props", wn);
|
|
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 En = 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
|
-
it("spacing-props",
|
|
826
|
+
it("spacing-props", En);
|
|
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 Sn = 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
|
-
it("style-props",
|
|
934
|
+
it("style-props", Sn);
|
|
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 An = 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
|
-
it("color-props",
|
|
1027
|
-
const
|
|
1026
|
+
it("color-props", An);
|
|
1027
|
+
const Cn = 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("", Cn, { 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 Pn = 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
|
+
`, kn = 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
|
-
it("typography-props",
|
|
1265
|
+
L("", kn, { moduleId: "lumo-typography" });
|
|
1266
|
+
it("typography-props", Pn);
|
|
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 ds = 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("", ds, { 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 hs = 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("", hs, { moduleId: "lumo-menu-overlay-core" });
|
|
1376
|
+
const Dn = 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
|
+
`, ps = [ds, hs, Dn];
|
|
1439
|
+
L("", ps, { moduleId: "lumo-menu-overlay" });
|
|
1440
|
+
const Tn = 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", [ps, Tn], {
|
|
1487
1487
|
moduleId: "lumo-date-picker-overlay"
|
|
1488
1488
|
});
|
|
1489
|
-
const
|
|
1489
|
+
const Mn = 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", Mn, { 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 On = 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
|
-
it("font-icons",
|
|
2345
|
+
it("font-icons", On);
|
|
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 fs = 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("", fs, { 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 In = 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 ms = 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("", ms, { 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 Fn = 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
|
+
`, _s = [ms, fs, In, Fn];
|
|
2698
|
+
L("", _s, {
|
|
2699
2699
|
moduleId: "lumo-input-field-shared-styles"
|
|
2700
2700
|
});
|
|
2701
|
-
const
|
|
2701
|
+
const Nn = 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", [_s, Nn], { 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 zn = /(url\()([^)]*)(\))/g, Ln = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, ue;
|
|
2747
2747
|
function ht(o, t) {
|
|
2748
|
-
if (o &&
|
|
2748
|
+
if (o && Ln.test(o) || o === "//")
|
|
2749
2749
|
return o;
|
|
2750
2750
|
if (St === void 0) {
|
|
2751
2751
|
St = !1;
|
|
@@ -2764,7 +2764,7 @@ function ht(o, t) {
|
|
|
2764
2764
|
return ue || (ue = document.implementation.createHTMLDocument("temp"), ue.base = ue.createElement("base"), ue.head.appendChild(ue.base), ue.anchor = ue.createElement("a"), ue.body.appendChild(ue.anchor)), ue.base.href = t, ue.anchor.href = o, ue.anchor.href || o;
|
|
2765
2765
|
}
|
|
2766
2766
|
function Bi(o, t) {
|
|
2767
|
-
return o.replace(
|
|
2767
|
+
return o.replace(zn, function(e, i, s, r) {
|
|
2768
2768
|
return i + "'" + ht(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 gs = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2784
2784
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2785
|
-
const
|
|
2785
|
+
const Rn = gs && "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 Bn = window.Polymer && window.Polymer.rootPath || Hi(document.baseURI || window.location.href), Ft = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2797
2797
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2798
|
-
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2798
|
+
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Hn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, bs = window.Polymer && window.Polymer.legacyOptimizations || !1, vs = window.Polymer && window.Polymer.legacyWarnings || !1, $n = window.Polymer && window.Polymer.syncInitialRender || !1, pi = window.Polymer && window.Polymer.legacyUndefined || !1, Yn = window.Polymer && window.Polymer.orderedComputed || !1, bo = window.Polymer && window.Polymer.removeNestedTemplates || !1, jn = window.Polymer && window.Polymer.fastDomIf || !1, vo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2799
2799
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2800
|
-
let
|
|
2800
|
+
let Vn = 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 Un = 0;
|
|
2811
2811
|
const V = 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 = Un++;
|
|
2818
2818
|
function i(s) {
|
|
2819
2819
|
let r = (
|
|
2820
2820
|
/** @type {!MixinFunction} */
|
|
@@ -2849,10 +2849,10 @@ let $i = {}, ys = {};
|
|
|
2849
2849
|
function yo(o, t) {
|
|
2850
2850
|
$i[o] = ys[o.toLowerCase()] = t;
|
|
2851
2851
|
}
|
|
2852
|
-
function
|
|
2852
|
+
function xo(o) {
|
|
2853
2853
|
return $i[o] || ys[o.toLowerCase()];
|
|
2854
2854
|
}
|
|
2855
|
-
function
|
|
2855
|
+
function Wn(o) {
|
|
2856
2856
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2857
2857
|
}
|
|
2858
2858
|
class _t extends HTMLElement {
|
|
@@ -2873,7 +2873,7 @@ class _t extends HTMLElement {
|
|
|
2873
2873
|
*/
|
|
2874
2874
|
static import(t, e) {
|
|
2875
2875
|
if (t) {
|
|
2876
|
-
let i =
|
|
2876
|
+
let i = xo(t);
|
|
2877
2877
|
return i && e ? i.querySelector(e) : i;
|
|
2878
2878
|
}
|
|
2879
2879
|
return null;
|
|
@@ -2921,9 +2921,9 @@ class _t extends HTMLElement {
|
|
|
2921
2921
|
*/
|
|
2922
2922
|
register(t) {
|
|
2923
2923
|
if (t = t || this.id, t) {
|
|
2924
|
-
if (Nt &&
|
|
2924
|
+
if (Nt && xo(t) !== void 0)
|
|
2925
2925
|
throw yo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2926
|
-
this.id = t, yo(t, this),
|
|
2926
|
+
this.id = t, yo(t, this), Wn(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
|
|
2942
|
-
function
|
|
2941
|
+
const qn = "link[rel=import][type~=css]", Kn = "include", wo = "shady-unscoped";
|
|
2942
|
+
function xs(o) {
|
|
2943
2943
|
return (
|
|
2944
2944
|
/** @type {?DomModule} */
|
|
2945
2945
|
_t.import(o)
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2948
|
+
function Eo(o) {
|
|
2949
2949
|
let t = o.body ? o.body : o;
|
|
2950
2950
|
const e = Bi(
|
|
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 Gn(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(...Jn(t[i]));
|
|
2960
2960
|
return e;
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2963
|
-
const t =
|
|
2962
|
+
function Jn(o) {
|
|
2963
|
+
const t = xs(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(...Es(t));
|
|
2969
2969
|
const i = (
|
|
2970
2970
|
/** @type {?HTMLTemplateElement} */
|
|
2971
2971
|
t.querySelector("template")
|
|
2972
2972
|
);
|
|
2973
|
-
i && e.push(...
|
|
2973
|
+
i && e.push(...ws(
|
|
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 ws(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(Kn);
|
|
2986
|
+
n && e.push(...Gn(n).filter(function(a, l, c) {
|
|
2987
2987
|
return c.indexOf(a) === l;
|
|
2988
2988
|
})), t && (r.textContent = Bi(
|
|
2989
2989
|
r.textContent,
|
|
@@ -2995,21 +2995,21 @@ function xs(o, t) {
|
|
|
2995
2995
|
}
|
|
2996
2996
|
return o._styles;
|
|
2997
2997
|
}
|
|
2998
|
-
function
|
|
2999
|
-
let t =
|
|
3000
|
-
return t ?
|
|
2998
|
+
function Xn(o) {
|
|
2999
|
+
let t = xs(o);
|
|
3000
|
+
return t ? Es(t) : [];
|
|
3001
3001
|
}
|
|
3002
|
-
function
|
|
3003
|
-
const t = [], e = o.querySelectorAll(
|
|
3002
|
+
function Es(o) {
|
|
3003
|
+
const t = [], e = o.querySelectorAll(qn);
|
|
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(wo);
|
|
3008
3008
|
if (n && !r._unscopedStyle) {
|
|
3009
|
-
const a =
|
|
3010
|
-
a.setAttribute(
|
|
3009
|
+
const a = Eo(r);
|
|
3010
|
+
a.setAttribute(wo, ""), r._unscopedStyle = a;
|
|
3011
3011
|
} else
|
|
3012
|
-
r._style || (r._style =
|
|
3012
|
+
r._style || (r._style = Eo(r));
|
|
3013
3013
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
@@ -3041,7 +3041,7 @@ function je(o) {
|
|
|
3041
3041
|
let t = o.indexOf(".");
|
|
3042
3042
|
return t === -1 ? o : o.slice(0, t);
|
|
3043
3043
|
}
|
|
3044
|
-
function
|
|
3044
|
+
function Ss(o, t) {
|
|
3045
3045
|
return o.indexOf(t + ".") === 0;
|
|
3046
3046
|
}
|
|
3047
3047
|
function gt(o, t) {
|
|
@@ -3050,8 +3050,8 @@ function gt(o, t) {
|
|
|
3050
3050
|
function bt(o, t, e) {
|
|
3051
3051
|
return t + e.slice(o.length);
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3054
|
-
return o === t ||
|
|
3053
|
+
function Zn(o, t) {
|
|
3054
|
+
return o === t || Ss(o, t) || gt(o, t);
|
|
3055
3055
|
}
|
|
3056
3056
|
function ct(o) {
|
|
3057
3057
|
if (Array.isArray(o)) {
|
|
@@ -3065,11 +3065,11 @@ function ct(o) {
|
|
|
3065
3065
|
} else
|
|
3066
3066
|
return o;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function As(o) {
|
|
3069
3069
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3070
3070
|
}
|
|
3071
3071
|
function se(o, t, e) {
|
|
3072
|
-
let i = o, s =
|
|
3072
|
+
let i = o, s = As(t);
|
|
3073
3073
|
for (let r = 0; r < s.length; r++) {
|
|
3074
3074
|
if (!i)
|
|
3075
3075
|
return;
|
|
@@ -3078,8 +3078,8 @@ function se(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 So(o, t, e) {
|
|
3082
|
+
let i = o, s = As(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 zt = {},
|
|
3104
|
-
function
|
|
3103
|
+
const zt = {}, Qn = /-[a-z]/g, ea = /([A-Z])/g;
|
|
3104
|
+
function Cs(o) {
|
|
3105
3105
|
return zt[o] || (zt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3106
|
-
|
|
3106
|
+
Qn,
|
|
3107
3107
|
(t) => t[1].toUpperCase()
|
|
3108
3108
|
));
|
|
3109
3109
|
}
|
|
3110
3110
|
function Yt(o) {
|
|
3111
|
-
return zt[o] || (zt[o] = o.replace(
|
|
3111
|
+
return zt[o] || (zt[o] = o.replace(ea, "-$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 ta = 0, Ps = 0, Ge = [], ia = 0, mi = !1, ks = document.createTextNode("");
|
|
3123
|
+
new window.MutationObserver(oa).observe(ks, { characterData: !0 });
|
|
3124
|
+
function oa() {
|
|
3125
3125
|
mi = !1;
|
|
3126
3126
|
const o = Ge.length;
|
|
3127
3127
|
for (let t = 0; t < o; t++) {
|
|
@@ -3135,9 +3135,9 @@ function ia() {
|
|
|
3135
3135
|
});
|
|
3136
3136
|
}
|
|
3137
3137
|
}
|
|
3138
|
-
Ge.splice(0, o),
|
|
3138
|
+
Ge.splice(0, o), Ps += o;
|
|
3139
3139
|
}
|
|
3140
|
-
const
|
|
3140
|
+
const sa = {
|
|
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
|
+
}, Ds = {
|
|
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 mi || (mi = !0,
|
|
3189
|
+
return mi || (mi = !0, ks.textContent = ia++), Ge.push(o), ta++;
|
|
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 - Ps;
|
|
3200
3200
|
if (t >= 0) {
|
|
3201
3201
|
if (!Ge[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 ra = Ds, Ts = V(
|
|
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 = V(
|
|
|
3422
3422
|
* @override
|
|
3423
3423
|
*/
|
|
3424
3424
|
_invalidateProperties() {
|
|
3425
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3425
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ra.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 Ms = {};
|
|
3653
3653
|
let At = HTMLElement.prototype;
|
|
3654
3654
|
for (; At; ) {
|
|
3655
3655
|
let o = Object.getOwnPropertyNames(At);
|
|
3656
3656
|
for (let t = 0; t < o.length; t++)
|
|
3657
|
-
|
|
3657
|
+
Ms[o[t]] = !0;
|
|
3658
3658
|
At = Object.getPrototypeOf(At);
|
|
3659
3659
|
}
|
|
3660
|
-
const
|
|
3661
|
-
function
|
|
3662
|
-
if (!
|
|
3660
|
+
const na = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3661
|
+
function aa(o, t) {
|
|
3662
|
+
if (!Ms[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 la = V((o) => {
|
|
3668
|
+
const t = Ts(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 = V((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(Cs(s[r]));
|
|
3687
3687
|
}
|
|
3688
3688
|
/**
|
|
3689
3689
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3760,7 +3760,7 @@ const aa = V((o) => {
|
|
|
3760
3760
|
if (s instanceof Date)
|
|
3761
3761
|
return s.toString();
|
|
3762
3762
|
if (s) {
|
|
3763
|
-
if (
|
|
3763
|
+
if (na(s))
|
|
3764
3764
|
return (
|
|
3765
3765
|
/** @type {?} */
|
|
3766
3766
|
s
|
|
@@ -3841,7 +3841,7 @@ const aa = V((o) => {
|
|
|
3841
3841
|
* @override
|
|
3842
3842
|
*/
|
|
3843
3843
|
_definePropertyAccessor(s, r) {
|
|
3844
|
-
|
|
3844
|
+
aa(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 ca = {
|
|
3880
3880
|
"dom-if": !0,
|
|
3881
3881
|
"dom-repeat": !0
|
|
3882
3882
|
};
|
|
3883
|
-
let
|
|
3884
|
-
function
|
|
3885
|
-
if (!
|
|
3886
|
-
|
|
3883
|
+
let Ao = !1, Co = !1;
|
|
3884
|
+
function ua() {
|
|
3885
|
+
if (!Ao) {
|
|
3886
|
+
Ao = !0;
|
|
3887
3887
|
const o = document.createElement("textarea");
|
|
3888
|
-
o.placeholder = "a",
|
|
3888
|
+
o.placeholder = "a", Co = o.placeholder === o.textContent;
|
|
3889
3889
|
}
|
|
3890
|
-
return
|
|
3890
|
+
return Co;
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3893
|
-
|
|
3892
|
+
function da(o) {
|
|
3893
|
+
ua() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3894
3894
|
}
|
|
3895
|
-
const
|
|
3895
|
+
const ha = (() => {
|
|
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 pa(o) {
|
|
3915
3915
|
let t = o.getAttribute("is");
|
|
3916
|
-
if (t &&
|
|
3916
|
+
if (t && ca[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
|
+
ha(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 Os(o, t) {
|
|
3926
|
+
let e = t.parentInfo && Os(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 fa(o, t, e, i) {
|
|
3935
3935
|
i.id && (t[i.id] = e);
|
|
3936
3936
|
}
|
|
3937
|
-
function
|
|
3937
|
+
function ma(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 _a(o, t, e, i) {
|
|
3943
3943
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function ga(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 ba = V(
|
|
3951
3951
|
/**
|
|
3952
3952
|
* @template T
|
|
3953
3953
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4074,7 +4074,7 @@ const ga = V(
|
|
|
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), da(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 = V(
|
|
|
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 = pa(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 = V(
|
|
|
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] = Os(a, d);
|
|
4231
|
+
fa(this, a.$, h, d), _a(this, h, d, s), ma(this, h, d);
|
|
4232
4232
|
}
|
|
4233
4233
|
return a = /** @type {!StampedTemplate} */
|
|
4234
4234
|
a, a;
|
|
@@ -4249,7 +4249,7 @@ const ga = V(
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4251
4251
|
n = n || i;
|
|
4252
|
-
let a =
|
|
4252
|
+
let a = ga(n, s, r);
|
|
4253
4253
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4254
4254
|
}
|
|
4255
4255
|
/**
|
|
@@ -4291,15 +4291,15 @@ const ga = V(
|
|
|
4291
4291
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4292
4292
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4293
4293
|
*/
|
|
4294
|
-
let
|
|
4295
|
-
const
|
|
4294
|
+
let vt = 0;
|
|
4295
|
+
const yt = [], D = {
|
|
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
|
+
}, Is = "__computeInfo", va = /[A-Z]/;
|
|
4303
4303
|
function Gt(o, t, e) {
|
|
4304
4304
|
let i = o[t];
|
|
4305
4305
|
if (!i)
|
|
@@ -4315,7 +4315,7 @@ function Gt(o, t, e) {
|
|
|
4315
4315
|
function ut(o, t, e, i, s, r) {
|
|
4316
4316
|
if (t) {
|
|
4317
4317
|
let n = !1;
|
|
4318
|
-
const a =
|
|
4318
|
+
const a = vt++;
|
|
4319
4319
|
for (let l in e) {
|
|
4320
4320
|
let c = s ? je(l) : l, u = t[c];
|
|
4321
4321
|
if (u)
|
|
@@ -4339,30 +4339,30 @@ function Yi(o, t) {
|
|
|
4339
4339
|
/** @type {string} */
|
|
4340
4340
|
t.name
|
|
4341
4341
|
);
|
|
4342
|
-
return e == o || !!(t.structured &&
|
|
4342
|
+
return e == o || !!(t.structured && Ss(e, o)) || !!(t.wildcard && gt(e, o));
|
|
4343
4343
|
} else
|
|
4344
4344
|
return !0;
|
|
4345
4345
|
}
|
|
4346
|
-
function
|
|
4346
|
+
function Po(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
|
-
function
|
|
4351
|
-
let r = o[D.NOTIFY], n, a =
|
|
4350
|
+
function xa(o, t, e, i, s) {
|
|
4351
|
+
let r = o[D.NOTIFY], n, a = vt++;
|
|
4352
4352
|
for (let c in t)
|
|
4353
|
-
t[c] && (r && ya(o, r, a, c, e, i, s) || s &&
|
|
4353
|
+
t[c] && (r && ya(o, r, a, c, e, i, s) || s && wa(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 wa(o, t, e) {
|
|
4358
4358
|
let i = je(t);
|
|
4359
4359
|
if (i !== t) {
|
|
4360
4360
|
let s = Yt(i) + "-changed";
|
|
4361
|
-
return
|
|
4361
|
+
return Fs(o, s, e[t], t), !0;
|
|
4362
4362
|
}
|
|
4363
4363
|
return !1;
|
|
4364
4364
|
}
|
|
4365
|
-
function
|
|
4365
|
+
function Fs(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 Ea(o, t, e, i, s, r) {
|
|
4376
4376
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? se(o, a) : o.__data[t];
|
|
4377
|
-
a && l === void 0 && (l = e[t]),
|
|
4377
|
+
a && l === void 0 && (l = e[t]), Fs(o, s.eventName, l, a);
|
|
4378
4378
|
}
|
|
4379
|
-
function
|
|
4379
|
+
function Sa(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 = bt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4385
4385
|
}
|
|
4386
|
-
function
|
|
4386
|
+
function Aa(o, t, e, i, s) {
|
|
4387
4387
|
let r = o.__data[t];
|
|
4388
4388
|
Ft && (r = Ft(
|
|
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 Ca(o, t, e, i) {
|
|
4397
4397
|
let s = o[D.COMPUTE];
|
|
4398
4398
|
if (s)
|
|
4399
|
-
if (
|
|
4400
|
-
|
|
4401
|
-
const r =
|
|
4399
|
+
if (Yn) {
|
|
4400
|
+
vt++;
|
|
4401
|
+
const r = ka(o), n = [];
|
|
4402
4402
|
for (let l in t)
|
|
4403
|
-
|
|
4403
|
+
ko(l, s, n, r, i);
|
|
4404
4404
|
let a;
|
|
4405
4405
|
for (; a = n.shift(); )
|
|
4406
|
-
|
|
4406
|
+
Ns(o, "", t, e, a) && ko(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 Pa = (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
|
+
}, ko = (o, t, e, i, s) => {
|
|
4445
4445
|
const r = s ? je(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 !==
|
|
4449
|
+
l.info.lastRun !== vt && (!s || Yi(o, l.trigger)) && (l.info.lastRun = vt, Pa(l.info, e, i));
|
|
4450
4450
|
}
|
|
4451
4451
|
};
|
|
4452
|
-
function
|
|
4452
|
+
function ka(o) {
|
|
4453
4453
|
let t = o.constructor.__orderedComputedDeps;
|
|
4454
4454
|
if (!t) {
|
|
4455
4455
|
t = /* @__PURE__ */ new Map();
|
|
4456
4456
|
const e = o[D.COMPUTE];
|
|
4457
|
-
let { counts: i, ready: s, total: r } =
|
|
4457
|
+
let { counts: i, ready: s, total: r } = Da(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 Da(o) {
|
|
4472
|
+
const t = o[Is], e = {}, i = o[D.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 Ns(o, t, e, i, s) {
|
|
4483
4483
|
let r = _i(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 Ta(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 Jt(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), Na(a)) {
|
|
4503
4503
|
let { event: c, negate: u } = a.parts[0];
|
|
4504
4504
|
a.listenerEvent = c || Yt(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, Ma(o, t, a, u, l);
|
|
4510
4510
|
}
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4512
|
+
function Ma(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 = Ls(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4521
|
+
fn: Oa,
|
|
4522
4522
|
info: n,
|
|
4523
4523
|
trigger: l
|
|
4524
4524
|
});
|
|
4525
4525
|
}
|
|
4526
4526
|
}
|
|
4527
4527
|
}
|
|
4528
|
-
function
|
|
4528
|
+
function Oa(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 = bt(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 && Ia(o, a, l, c, u);
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
|
-
function
|
|
4539
|
-
if (s =
|
|
4538
|
+
function Ia(o, t, e, i, s) {
|
|
4539
|
+
if (s = Fa(t, s, e, i), Ft && (s = Ft(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[D.READ_ONLY] || !t[D.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4549
4549
|
}
|
|
4550
4550
|
}
|
|
4551
|
-
function
|
|
4551
|
+
function Fa(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 Na(o) {
|
|
4559
4559
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function za(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
|
+
La(n, c), Ra(n, o, c);
|
|
4570
4570
|
}
|
|
4571
4571
|
n.__dataHost = o;
|
|
4572
4572
|
}
|
|
4573
4573
|
}
|
|
4574
|
-
function
|
|
4574
|
+
function La(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 Ra(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
|
+
Sa(s, t, e.target, i.source, i.negate);
|
|
4588
4588
|
});
|
|
4589
4589
|
}
|
|
4590
4590
|
}
|
|
4591
|
-
function
|
|
4591
|
+
function Do(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 _i(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 Ba = [], zs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ha = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", $a = "(?:'(?:[^'\\\\]|\\\\.)*')", Ya = '(?:"(?:[^"\\\\]|\\\\.)*")', ja = "(?:" + $a + "|" + Ya + ")", To = "(?:(" + zs + "|" + Ha + "|" + ja + ")\\s*)", Va = "(?:" + To + "(?:,\\s*" + To + ")*)", Ua = "(?:\\(\\s*(?:" + Va + "?)\\)\\s*)", Wa = "(" + zs + "\\s*" + Ua + "?)", qa = "(\\[\\[|{{)\\s*", Ka = "(?:]]|}})", Ga = "(?:(!)\\s*)?", Ja = qa + Ga + Wa + Ka, Mo = new RegExp(Ja, "g");
|
|
4619
|
+
function Oo(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 Xt(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: Ba };
|
|
4631
4631
|
if (t[2].trim()) {
|
|
4632
4632
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4633
|
-
return
|
|
4633
|
+
return Xa(s, i);
|
|
4634
4634
|
} else
|
|
4635
4635
|
return i;
|
|
4636
4636
|
}
|
|
4637
4637
|
return null;
|
|
4638
4638
|
}
|
|
4639
|
-
function
|
|
4639
|
+
function Xa(o, t) {
|
|
4640
4640
|
return t.args = o.map(function(e) {
|
|
4641
|
-
let i =
|
|
4641
|
+
let i = Ls(e);
|
|
4642
4642
|
return i.literal || (t.static = !1), i;
|
|
4643
4643
|
}, this), t;
|
|
4644
4644
|
}
|
|
4645
|
-
function
|
|
4645
|
+
function Ls(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 = je(t), e.structured = fi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4661
4661
|
}
|
|
4662
|
-
function
|
|
4662
|
+
function Io(o, t, e) {
|
|
4663
4663
|
let i = se(o, e);
|
|
4664
4664
|
return i === void 0 && (i = t[e]), i;
|
|
4665
4665
|
}
|
|
4666
|
-
function
|
|
4666
|
+
function Rs(o, t, e, i) {
|
|
4667
4667
|
const s = { indexSplices: i };
|
|
4668
4668
|
pi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), pi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4669
4669
|
}
|
|
4670
4670
|
function rt(o, t, e, i, s, r) {
|
|
4671
|
-
|
|
4671
|
+
Rs(o, t, e, [{
|
|
4672
4672
|
index: i,
|
|
4673
4673
|
addedCount: s,
|
|
4674
4674
|
removed: r,
|
|
@@ -4676,11 +4676,11 @@ function rt(o, t, e, i, s, r) {
|
|
|
4676
4676
|
type: "splice"
|
|
4677
4677
|
}]);
|
|
4678
4678
|
}
|
|
4679
|
-
function
|
|
4679
|
+
function Za(o) {
|
|
4680
4680
|
return o[0].toUpperCase() + o.substring(1);
|
|
4681
4681
|
}
|
|
4682
4682
|
const ji = V((o) => {
|
|
4683
|
-
const t =
|
|
4683
|
+
const t = ba(la(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 ji = V((o) => {
|
|
|
4859
4859
|
if (!a) {
|
|
4860
4860
|
let l = se(this, s);
|
|
4861
4861
|
if (s = /** @type {string} */
|
|
4862
|
-
|
|
4862
|
+
So(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 ji = V((o) => {
|
|
|
4868
4868
|
r,
|
|
4869
4869
|
n
|
|
4870
4870
|
))
|
|
4871
|
-
return
|
|
4871
|
+
return Ta(
|
|
4872
4872
|
this,
|
|
4873
4873
|
/**@type{string}*/
|
|
4874
4874
|
s,
|
|
@@ -5084,7 +5084,7 @@ const ji = V((o) => {
|
|
|
5084
5084
|
let a = this.__dataHasPaths;
|
|
5085
5085
|
this.__dataHasPaths = !1;
|
|
5086
5086
|
let l;
|
|
5087
|
-
|
|
5087
|
+
Ca(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ut(this, this[D.REFLECT], r, n, a), ut(this, this[D.OBSERVE], r, n, a), l && xa(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 ji = V((o) => {
|
|
|
5181
5181
|
/** @type {Array} */
|
|
5182
5182
|
se(this, s, n)
|
|
5183
5183
|
);
|
|
5184
|
-
|
|
5184
|
+
Rs(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 ji = V((o) => {
|
|
|
5229
5229
|
* @public
|
|
5230
5230
|
*/
|
|
5231
5231
|
set(s, r, n) {
|
|
5232
|
-
n ?
|
|
5232
|
+
n ? So(n, s, r) : (!this[D.READ_ONLY] || !this[D.READ_ONLY][
|
|
5233
5233
|
/** @type {string} */
|
|
5234
5234
|
s
|
|
5235
5235
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5384,7 +5384,7 @@ const ji = V((o) => {
|
|
|
5384
5384
|
* @protected
|
|
5385
5385
|
*/
|
|
5386
5386
|
_createReadOnlyProperty(s, r) {
|
|
5387
|
-
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" +
|
|
5387
|
+
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" + Za(s)] = /** @this {PropertyEffects} */
|
|
5388
5388
|
function(n) {
|
|
5389
5389
|
this._setProperty(s, n);
|
|
5390
5390
|
});
|
|
@@ -5406,7 +5406,7 @@ const ji = V((o) => {
|
|
|
5406
5406
|
_createPropertyObserver(s, r, n) {
|
|
5407
5407
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5408
5408
|
this._addPropertyEffect(s, D.OBSERVE, {
|
|
5409
|
-
fn:
|
|
5409
|
+
fn: Po,
|
|
5410
5410
|
info: a,
|
|
5411
5411
|
trigger: { name: s }
|
|
5412
5412
|
}), n && this._addPropertyEffect(
|
|
@@ -5414,7 +5414,7 @@ const ji = V((o) => {
|
|
|
5414
5414
|
r,
|
|
5415
5415
|
D.OBSERVE,
|
|
5416
5416
|
{
|
|
5417
|
-
fn:
|
|
5417
|
+
fn: Po,
|
|
5418
5418
|
info: a,
|
|
5419
5419
|
trigger: { name: r }
|
|
5420
5420
|
}
|
|
@@ -5436,7 +5436,7 @@ const ji = V((o) => {
|
|
|
5436
5436
|
let n = Xt(s);
|
|
5437
5437
|
if (!n)
|
|
5438
5438
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5439
|
-
|
|
5439
|
+
Do(this, n, D.OBSERVE, _i, null, r);
|
|
5440
5440
|
}
|
|
5441
5441
|
/**
|
|
5442
5442
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5450,7 +5450,7 @@ const ji = V((o) => {
|
|
|
5450
5450
|
*/
|
|
5451
5451
|
_createNotifyingProperty(s) {
|
|
5452
5452
|
this._addPropertyEffect(s, D.NOTIFY, {
|
|
5453
|
-
fn:
|
|
5453
|
+
fn: Ea,
|
|
5454
5454
|
info: {
|
|
5455
5455
|
eventName: Yt(s) + "-changed",
|
|
5456
5456
|
property: s
|
|
@@ -5471,7 +5471,7 @@ const ji = V((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, D.REFLECT, {
|
|
5474
|
-
fn:
|
|
5474
|
+
fn: Aa,
|
|
5475
5475
|
info: {
|
|
5476
5476
|
attrName: r
|
|
5477
5477
|
}
|
|
@@ -5494,8 +5494,8 @@ const ji = V((o) => {
|
|
|
5494
5494
|
let a = Xt(r);
|
|
5495
5495
|
if (!a)
|
|
5496
5496
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5497
|
-
const l =
|
|
5498
|
-
Gt(this,
|
|
5497
|
+
const l = Do(this, a, D.COMPUTE, Ns, s, n);
|
|
5498
|
+
Gt(this, Is)[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 ji = V((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 = gt(d, r),
|
|
5519
|
+
const g = gt(d, r), y = Io(a, n, g ? r : d);
|
|
5520
5520
|
b = {
|
|
5521
5521
|
path: g ? r : d,
|
|
5522
|
-
value:
|
|
5523
|
-
base: g ? se(a, d) :
|
|
5522
|
+
value: y,
|
|
5523
|
+
base: g ? se(a, d) : y
|
|
5524
5524
|
};
|
|
5525
5525
|
} else
|
|
5526
|
-
b = h ?
|
|
5526
|
+
b = h ? Io(a, n, d) : a[d];
|
|
5527
5527
|
if (pi && !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 ji = V((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, za(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 ji = V((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 = Oo(l) || " ", Jt(this, r, n, "text", "textContent", l), a = !0);
|
|
5857
5857
|
}
|
|
5858
5858
|
return a;
|
|
5859
5859
|
}
|
|
@@ -5880,9 +5880,9 @@ const ji = V((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
|
+
va.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5884
|
+
let h = Oo(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 = Cs(a)), Jt(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 ji = V((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
|
+
bo && (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 (jn && u)
|
|
5921
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), bo || (n.parentInfo.noted = !0));
|
|
5922
5922
|
else {
|
|
5923
5923
|
let m = "{";
|
|
5924
5924
|
for (let b in h) {
|
|
@@ -5975,19 +5975,19 @@ const ji = V((o) => {
|
|
|
5975
5975
|
*/
|
|
5976
5976
|
static _parseBindings(s, r) {
|
|
5977
5977
|
let n = [], a = 0, l;
|
|
5978
|
-
for (; (l =
|
|
5978
|
+
for (; (l = Mo.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 = Xt(d), g = [];
|
|
5983
5983
|
if (p) {
|
|
5984
|
-
let { args:
|
|
5985
|
-
for (let A = 0; A <
|
|
5986
|
-
let k =
|
|
5984
|
+
let { args: y, methodName: v } = p;
|
|
5985
|
+
for (let A = 0; A < y.length; A++) {
|
|
5986
|
+
let k = y[A];
|
|
5987
5987
|
k.literal || g.push(k);
|
|
5988
5988
|
}
|
|
5989
5989
|
let C = r.dynamicFns;
|
|
5990
|
-
(C && C[
|
|
5990
|
+
(C && C[v] || p.static) && (g.push(v), p.dynamicFn = !0);
|
|
5991
5991
|
} else
|
|
5992
5992
|
g.push(d);
|
|
5993
5993
|
n.push({
|
|
@@ -5998,7 +5998,7 @@ const ji = V((o) => {
|
|
|
5998
5998
|
signature: p,
|
|
5999
5999
|
dependencies: g,
|
|
6000
6000
|
event: m
|
|
6001
|
-
}), a =
|
|
6001
|
+
}), a = Mo.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 Qa(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 el = V((o) => {
|
|
6060
|
+
const t = Ts(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 = V((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 = Qa(a));
|
|
6074
6074
|
}
|
|
6075
6075
|
r.__ownProperties = n;
|
|
6076
6076
|
}
|
|
@@ -6207,8 +6207,8 @@ const Qa = V((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 tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o) => {
|
|
6211
|
+
const t = el(ji(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 = V((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 (!Fo) {
|
|
6240
|
+
const h = c.content.querySelectorAll("style"), m = ws(c), b = Xn(u), p = c.content.firstElementChild;
|
|
6241
|
+
for (let y = 0; y < b.length; y++) {
|
|
6242
|
+
let v = b[y];
|
|
6243
|
+
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
6244
6244
|
}
|
|
6245
6245
|
let g = 0;
|
|
6246
|
-
for (let
|
|
6247
|
-
let
|
|
6248
|
-
C !==
|
|
6246
|
+
for (let y = 0; y < m.length; y++) {
|
|
6247
|
+
let v = m[y], C = h[g];
|
|
6248
|
+
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6249
6249
|
}
|
|
6250
6250
|
}
|
|
6251
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6251
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), Vn && Fo && Rn) {
|
|
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 = V((o)
|
|
|
6260
6260
|
}
|
|
6261
6261
|
function n(l) {
|
|
6262
6262
|
let c = null;
|
|
6263
|
-
if (l && (!Nt ||
|
|
6263
|
+
if (l && (!Nt || Hn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6264
6264
|
_t.import(l, "template"), Nt && !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 = V((o)
|
|
|
6272
6272
|
* @nocollapse
|
|
6273
6273
|
*/
|
|
6274
6274
|
static get polymerElementVersion() {
|
|
6275
|
-
return
|
|
6275
|
+
return tl;
|
|
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 = V((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) : bs || (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 = V((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 = Bn, 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 = V((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])), $n && 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 = V((o)
|
|
|
6659
6659
|
* @nocollapse
|
|
6660
6660
|
*/
|
|
6661
6661
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6662
|
-
return
|
|
6662
|
+
return vs && !(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 No = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6688
|
+
class Bs {
|
|
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
|
+
$s(t, e);
|
|
6695
6695
|
const i = e.reduce(
|
|
6696
|
-
(s, r, n) => s +
|
|
6696
|
+
(s, r, n) => s + Hs(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 Hs(o) {
|
|
6710
|
+
if (o instanceof Bs)
|
|
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 ol(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 Bs)
|
|
6726
|
+
return Hs(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 Ve = function(t, ...e) {
|
|
6732
|
-
|
|
6732
|
+
$s(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 + ol(n) + t[a + 1],
|
|
6739
6739
|
t[0]
|
|
6740
6740
|
);
|
|
6741
|
-
return
|
|
6742
|
-
},
|
|
6741
|
+
return No && (s = No.createHTML(s)), i.innerHTML = s, i;
|
|
6742
|
+
}, $s = (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,7 +6752,7 @@ 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 Ie =
|
|
6755
|
+
const Ie = il(HTMLElement);
|
|
6756
6756
|
/**
|
|
6757
6757
|
* @license
|
|
6758
6758
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6765,14 +6765,14 @@ function gi(o, t, e = o.getAttribute("dir")) {
|
|
|
6765
6765
|
function bi() {
|
|
6766
6766
|
return document.documentElement.getAttribute("dir");
|
|
6767
6767
|
}
|
|
6768
|
-
function
|
|
6768
|
+
function sl() {
|
|
6769
6769
|
const o = bi();
|
|
6770
6770
|
we.forEach((t) => {
|
|
6771
6771
|
gi(t, o);
|
|
6772
6772
|
});
|
|
6773
6773
|
}
|
|
6774
|
-
const
|
|
6775
|
-
|
|
6774
|
+
const rl = new MutationObserver(sl);
|
|
6775
|
+
rl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6776
6776
|
const jt = (o) => class extends o {
|
|
6777
6777
|
static get properties() {
|
|
6778
6778
|
return {
|
|
@@ -6834,7 +6834,7 @@ const jt = (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 nl = (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 al = 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", al, { moduleId: "vaadin-input-container-styles" });
|
|
6949
|
+
class ll extends nl(Ye(jt(Ie))) {
|
|
6950
6950
|
static get is() {
|
|
6951
6951
|
return "vaadin-input-container";
|
|
6952
6952
|
}
|
|
@@ -6958,13 +6958,13 @@ class al extends rl(Ye(jt(Ie))) {
|
|
|
6958
6958
|
`;
|
|
6959
6959
|
}
|
|
6960
6960
|
}
|
|
6961
|
-
be(
|
|
6961
|
+
be(ll);
|
|
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 cl = P`
|
|
6968
6968
|
:host {
|
|
6969
6969
|
z-index: 200;
|
|
6970
6970
|
position: fixed;
|
|
@@ -7044,7 +7044,7 @@ window.addEventListener(
|
|
|
7044
7044
|
},
|
|
7045
7045
|
{ capture: !0 }
|
|
7046
7046
|
);
|
|
7047
|
-
function
|
|
7047
|
+
function vi() {
|
|
7048
7048
|
let o = document.activeElement || document.body;
|
|
7049
7049
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7050
7050
|
o = o.shadowRoot.activeElement;
|
|
@@ -7053,59 +7053,59 @@ function yi() {
|
|
|
7053
7053
|
function Ui() {
|
|
7054
7054
|
return Vi;
|
|
7055
7055
|
}
|
|
7056
|
-
function
|
|
7056
|
+
function ul(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 dl(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 hl(o, t) {
|
|
7068
7068
|
const e = [];
|
|
7069
7069
|
for (; o.length > 0 && t.length > 0; )
|
|
7070
|
-
|
|
7070
|
+
dl(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 hl(i, s);
|
|
7079
7079
|
}
|
|
7080
|
-
function
|
|
7080
|
+
function Ys(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 pl(o) {
|
|
7084
7084
|
return o.getRootNode().activeElement === o;
|
|
7085
7085
|
}
|
|
7086
|
-
function
|
|
7087
|
-
if (
|
|
7086
|
+
function fl(o) {
|
|
7087
|
+
if (!Ys(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 js(o, t) {
|
|
7093
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ul(o))
|
|
7094
7094
|
return !1;
|
|
7095
7095
|
const e = (
|
|
7096
7096
|
/** @type {HTMLElement} */
|
|
7097
7097
|
o
|
|
7098
|
-
), i =
|
|
7098
|
+
), i = fl(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 = js(n, t) || s;
|
|
7104
7104
|
}), s;
|
|
7105
7105
|
}
|
|
7106
|
-
function
|
|
7106
|
+
function ml(o) {
|
|
7107
7107
|
const t = [];
|
|
7108
|
-
return
|
|
7108
|
+
return js(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 xi = !1,
|
|
7120
|
-
function
|
|
7119
|
+
let xi = !1, _l = [], Vs = [];
|
|
7120
|
+
function gl() {
|
|
7121
7121
|
xi = !0, requestAnimationFrame(function() {
|
|
7122
|
-
xi = !1,
|
|
7123
|
-
|
|
7122
|
+
xi = !1, bl(_l), setTimeout(function() {
|
|
7123
|
+
vl(Vs);
|
|
7124
7124
|
});
|
|
7125
7125
|
});
|
|
7126
7126
|
}
|
|
7127
|
-
function
|
|
7127
|
+
function bl(o) {
|
|
7128
7128
|
for (; o.length; )
|
|
7129
|
-
|
|
7129
|
+
Us(o.shift());
|
|
7130
7130
|
}
|
|
7131
|
-
function
|
|
7131
|
+
function vl(o) {
|
|
7132
7132
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7133
|
-
|
|
7133
|
+
Us(o.shift());
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function Us(o) {
|
|
7136
7136
|
const t = o[0], e = o[1], i = o[2];
|
|
7137
7137
|
try {
|
|
7138
7138
|
e.apply(t, i);
|
|
@@ -7142,8 +7142,8 @@ function Vs(o) {
|
|
|
7142
7142
|
});
|
|
7143
7143
|
}
|
|
7144
7144
|
}
|
|
7145
|
-
function
|
|
7146
|
-
xi ||
|
|
7145
|
+
function Ws(o, t, e) {
|
|
7146
|
+
xi || gl(), Vs.push([o, t, e]);
|
|
7147
7147
|
}
|
|
7148
7148
|
/**
|
|
7149
7149
|
* @license
|
|
@@ -7154,9 +7154,9 @@ const Vt = (o) => o.test(navigator.userAgent), wi = (o) => o.test(navigator.plat
|
|
|
7154
7154
|
Vt(/Android/u);
|
|
7155
7155
|
Vt(/Chrome/u) && yl(/Google Inc/u);
|
|
7156
7156
|
Vt(/Firefox/u);
|
|
7157
|
-
const
|
|
7157
|
+
const xl = wi(/^iPad/u) || wi(/^Mac/u) && navigator.maxTouchPoints > 1, wl = wi(/^iPhone/u), qs = wl || xl;
|
|
7158
7158
|
Vt(/^((?!chrome|android).)*safari/iu);
|
|
7159
|
-
const
|
|
7159
|
+
const El = (() => {
|
|
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 We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {}, Zt = 0;
|
|
7172
|
-
const
|
|
7172
|
+
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
7173
7173
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7174
|
-
},
|
|
7175
|
-
if (!
|
|
7174
|
+
}, Sl = (o, t) => zo(o) ? t.map((e) => {
|
|
7175
|
+
if (!zo(e))
|
|
7176
7176
|
return Qt(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, Qt = (...o) => {
|
|
|
7181
7181
|
i = i.getRootNode().host;
|
|
7182
7182
|
}
|
|
7183
7183
|
return Qt(e, "is not contained inside", o), null;
|
|
7184
|
-
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []),
|
|
7185
|
-
const s =
|
|
7184
|
+
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []), Al = (o, t, e, i) => {
|
|
7185
|
+
const s = Sl(t, Array.isArray(o) ? o : [o]);
|
|
7186
7186
|
Pt[e] || (Pt[e] = /* @__PURE__ */ new WeakMap());
|
|
7187
7187
|
const r = Pt[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, Qt = (...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
|
-
We.set(b,
|
|
7204
|
+
const p = b.getAttribute(i), g = p !== null && p !== "false", y = (We.get(b) || 0) + 1, v = (r.get(b) || 0) + 1;
|
|
7205
|
+
We.set(b, y), r.set(b, v), n.push(b), y === 1 && g && Ct.set(b, !0), v === 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, Qt = (...o) => {
|
|
|
7212
7212
|
We.set(d, h), r.set(d, m), h || (Ct.has(d) ? Ct.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7213
7213
|
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {});
|
|
7214
7214
|
};
|
|
7215
|
-
},
|
|
7215
|
+
}, Ks = (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]"))), Al(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 Cl {
|
|
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 = Ks(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 Pl {
|
|
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,
|
|
@@ -7261,7 +7261,7 @@ class Cl {
|
|
|
7261
7261
|
* @param {Node | null | undefined} focusNode
|
|
7262
7262
|
*/
|
|
7263
7263
|
saveFocus(t) {
|
|
7264
|
-
this.focusNode = t ||
|
|
7264
|
+
this.focusNode = t || vi();
|
|
7265
7265
|
}
|
|
7266
7266
|
/**
|
|
7267
7267
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7271,7 +7271,7 @@ class Cl {
|
|
|
7271
7271
|
if (!e)
|
|
7272
7272
|
return;
|
|
7273
7273
|
const i = t ? t.preventScroll : !1;
|
|
7274
|
-
|
|
7274
|
+
vi() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7275
7275
|
}
|
|
7276
7276
|
}
|
|
7277
7277
|
/**
|
|
@@ -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 ei = [];
|
|
7283
|
-
class
|
|
7283
|
+
class kl {
|
|
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 ml(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(pl).pop());
|
|
7308
7308
|
}
|
|
7309
7309
|
hostConnected() {
|
|
7310
7310
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7417,7 +7417,7 @@ const ot = V((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 Dl = (o) => class extends ot(o) {
|
|
7421
7421
|
static get properties() {
|
|
7422
7422
|
return {
|
|
7423
7423
|
/**
|
|
@@ -7448,7 +7448,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7448
7448
|
};
|
|
7449
7449
|
}
|
|
7450
7450
|
constructor() {
|
|
7451
|
-
super(), this.__ariaModalController = new
|
|
7451
|
+
super(), this.__ariaModalController = new Cl(this), this.__focusTrapController = new kl(this), this.__focusRestorationController = new Pl();
|
|
7452
7452
|
}
|
|
7453
7453
|
/** @protected */
|
|
7454
7454
|
ready() {
|
|
@@ -7493,7 +7493,7 @@ const kl = (o) => class extends ot(o) {
|
|
|
7493
7493
|
* @return {boolean}
|
|
7494
7494
|
*/
|
|
7495
7495
|
_shouldRestoreFocus() {
|
|
7496
|
-
const e =
|
|
7496
|
+
const e = vi();
|
|
7497
7497
|
return e === document.body || this._deepContains(e);
|
|
7498
7498
|
}
|
|
7499
7499
|
/**
|
|
@@ -7519,7 +7519,7 @@ const kl = (o) => class extends ot(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 Gs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Ei = () => Gs().filter((o) => o.$.overlay), Tl = (o) => o === Ei().pop(), Ml = (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 Tl(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 = Gs().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 Ol = (o) => class extends Dl(Ml(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), qs && (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(), Ws(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 Il(o) {
|
|
7830
7830
|
const t = [];
|
|
7831
7831
|
for (; o; ) {
|
|
7832
7832
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7851,11 +7851,11 @@ function Wi(o) {
|
|
|
7851
7851
|
function Ut(o) {
|
|
7852
7852
|
return o ? [...o].join(" ") : "";
|
|
7853
7853
|
}
|
|
7854
|
-
function
|
|
7854
|
+
function Js(o, t, e) {
|
|
7855
7855
|
const i = Wi(o.getAttribute(t));
|
|
7856
7856
|
i.add(e), o.setAttribute(t, Ut(i));
|
|
7857
7857
|
}
|
|
7858
|
-
function
|
|
7858
|
+
function Fl(o, t, e) {
|
|
7859
7859
|
const i = Wi(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, Ut(i));
|
|
7865
7865
|
}
|
|
7866
|
-
function
|
|
7866
|
+
function Nl(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 zl(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), y = {
|
|
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 v = !0;
|
|
7890
7890
|
function C(A) {
|
|
7891
7891
|
let k = A[0].intersectionRatio;
|
|
7892
7892
|
if (k !== a) {
|
|
7893
|
-
if (!
|
|
7893
|
+
if (!v)
|
|
7894
7894
|
return r();
|
|
7895
7895
|
k === 0 && (k = 1e-7), r(!1, k);
|
|
7896
7896
|
}
|
|
7897
|
-
|
|
7897
|
+
v = !1;
|
|
7898
7898
|
}
|
|
7899
|
-
e = new IntersectionObserver(C,
|
|
7899
|
+
e = new IntersectionObserver(C, y), e.observe(o);
|
|
7900
7900
|
}
|
|
7901
7901
|
return r(!0), s;
|
|
7902
7902
|
}
|
|
@@ -7911,13 +7911,13 @@ const ti = {
|
|
|
7911
7911
|
}, ii = {
|
|
7912
7912
|
start: "left",
|
|
7913
7913
|
end: "right"
|
|
7914
|
-
},
|
|
7914
|
+
}, Lo = 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
|
+
}), Ll = (o) => class extends o {
|
|
7921
7921
|
static get properties() {
|
|
7922
7922
|
return {
|
|
7923
7923
|
/**
|
|
@@ -8016,9 +8016,9 @@ const ti = {
|
|
|
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 = Il(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8020
8020
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8021
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8021
|
+
}), this.positionTarget && (this.__observePositionTargetMove = zl(this.positionTarget, () => {
|
|
8022
8022
|
this._updatePosition();
|
|
8023
8023
|
}));
|
|
8024
8024
|
}
|
|
@@ -8030,7 +8030,7 @@ const ti = {
|
|
|
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, Lo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Lo.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 ti = {
|
|
|
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 Rl = (o) => class extends Ll(Ol(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) && !Ys(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 Bl = 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", [cl, Bl], {
|
|
8202
8202
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8203
8203
|
});
|
|
8204
|
-
class
|
|
8204
|
+
class Hl extends Rl(jt(Ye(Ie))) {
|
|
8205
8205
|
static get is() {
|
|
8206
8206
|
return "vaadin-date-picker-overlay";
|
|
8207
8207
|
}
|
|
@@ -8216,34 +8216,34 @@ class Bl extends Ll(jt(Ye(Ie))) {
|
|
|
8216
8216
|
`;
|
|
8217
8217
|
}
|
|
8218
8218
|
}
|
|
8219
|
-
be(
|
|
8220
|
-
const
|
|
8221
|
-
function
|
|
8219
|
+
be(Hl);
|
|
8220
|
+
const $l = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8221
|
+
function Yl() {
|
|
8222
8222
|
function o() {
|
|
8223
8223
|
return !0;
|
|
8224
8224
|
}
|
|
8225
|
-
return
|
|
8225
|
+
return Xs(o);
|
|
8226
8226
|
}
|
|
8227
|
-
function
|
|
8227
|
+
function jl() {
|
|
8228
8228
|
try {
|
|
8229
|
-
return
|
|
8229
|
+
return Vl() ? !0 : Ul() ? Tt ? !Wl() : !Yl() : !1;
|
|
8230
8230
|
} catch {
|
|
8231
8231
|
return !1;
|
|
8232
8232
|
}
|
|
8233
8233
|
}
|
|
8234
|
-
function
|
|
8234
|
+
function Vl() {
|
|
8235
8235
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8236
8236
|
}
|
|
8237
|
-
function
|
|
8237
|
+
function Ul() {
|
|
8238
8238
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8239
8239
|
}
|
|
8240
|
-
function
|
|
8240
|
+
function Wl() {
|
|
8241
8241
|
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8242
8242
|
}
|
|
8243
|
-
function
|
|
8243
|
+
function Xs(o, t) {
|
|
8244
8244
|
if (typeof o != "function")
|
|
8245
8245
|
return;
|
|
8246
|
-
const e =
|
|
8246
|
+
const e = $l.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 Ro = function(o, t) {
|
|
8257
8257
|
if (window.Vaadin.developmentMode)
|
|
8258
|
-
return
|
|
8258
|
+
return Xs(o, t);
|
|
8259
8259
|
};
|
|
8260
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8261
|
-
function
|
|
8260
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = jl());
|
|
8261
|
+
function ql() {
|
|
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 Kl = function() {
|
|
8743
|
+
if (typeof Ro == "function")
|
|
8744
|
+
return Ro(ql);
|
|
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 Bo = 0, Zs = 0;
|
|
8756
8756
|
const Je = [];
|
|
8757
8757
|
let Si = !1;
|
|
8758
|
-
function
|
|
8758
|
+
function Gl() {
|
|
8759
8759
|
Si = !1;
|
|
8760
8760
|
const o = Je.length;
|
|
8761
8761
|
for (let t = 0; t < o; t++) {
|
|
@@ -8769,7 +8769,7 @@ function Kl() {
|
|
|
8769
8769
|
});
|
|
8770
8770
|
}
|
|
8771
8771
|
}
|
|
8772
|
-
Je.splice(0, o),
|
|
8772
|
+
Je.splice(0, o), Zs += o;
|
|
8773
8773
|
}
|
|
8774
8774
|
const Lt = {
|
|
8775
8775
|
/**
|
|
@@ -8811,7 +8811,7 @@ const Lt = {
|
|
|
8811
8811
|
cancel(o) {
|
|
8812
8812
|
window.clearTimeout(o);
|
|
8813
8813
|
}
|
|
8814
|
-
},
|
|
8814
|
+
}, Jl = {
|
|
8815
8815
|
/**
|
|
8816
8816
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8817
8817
|
*
|
|
@@ -8832,7 +8832,7 @@ const Lt = {
|
|
|
8832
8832
|
cancel(o) {
|
|
8833
8833
|
window.cancelAnimationFrame(o);
|
|
8834
8834
|
}
|
|
8835
|
-
},
|
|
8835
|
+
}, Xl = {
|
|
8836
8836
|
/**
|
|
8837
8837
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8838
8838
|
*
|
|
@@ -8853,7 +8853,7 @@ const Lt = {
|
|
|
8853
8853
|
cancel(o) {
|
|
8854
8854
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8855
8855
|
}
|
|
8856
|
-
},
|
|
8856
|
+
}, Zl = {
|
|
8857
8857
|
/**
|
|
8858
8858
|
* Enqueues a function called at microtask timing.
|
|
8859
8859
|
*
|
|
@@ -8862,9 +8862,9 @@ const Lt = {
|
|
|
8862
8862
|
* @return {number} Handle used for canceling task
|
|
8863
8863
|
*/
|
|
8864
8864
|
run(o) {
|
|
8865
|
-
Si || (Si = !0, queueMicrotask(() =>
|
|
8866
|
-
const t =
|
|
8867
|
-
return
|
|
8865
|
+
Si || (Si = !0, queueMicrotask(() => Gl())), Je.push(o);
|
|
8866
|
+
const t = Bo;
|
|
8867
|
+
return Bo += 1, t;
|
|
8868
8868
|
},
|
|
8869
8869
|
/**
|
|
8870
8870
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8874,7 +8874,7 @@ const Lt = {
|
|
|
8874
8874
|
* @return {void}
|
|
8875
8875
|
*/
|
|
8876
8876
|
cancel(o) {
|
|
8877
|
-
const t = o -
|
|
8877
|
+
const t = o - Zs;
|
|
8878
8878
|
if (t >= 0) {
|
|
8879
8879
|
if (!Je[t])
|
|
8880
8880
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8983,7 +8983,7 @@ let et = class Ci {
|
|
|
8983
8983
|
return this._timer != null;
|
|
8984
8984
|
}
|
|
8985
8985
|
};
|
|
8986
|
-
function
|
|
8986
|
+
function Ql(o) {
|
|
8987
8987
|
Ai.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
|
+
Kl();
|
|
8999
8999
|
};
|
|
9000
9000
|
let oi;
|
|
9001
|
-
const
|
|
9001
|
+
const Ho = /* @__PURE__ */ new Set(), Qs = (o) => class extends jt(o) {
|
|
9002
9002
|
/** @protected */
|
|
9003
9003
|
static finalize() {
|
|
9004
9004
|
super.finalize();
|
|
9005
9005
|
const { is: e } = this;
|
|
9006
|
-
e && !
|
|
9006
|
+
e && !Ho.has(e) && (window.Vaadin.registrations.push(this), Ho.add(e), window.Vaadin.developmentModeCallback && (oi = et.debounce(oi, Xl, () => {
|
|
9007
9007
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9008
|
-
}),
|
|
9008
|
+
}), Ql(oi)));
|
|
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 jt(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 ec {
|
|
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 tc = 0;
|
|
9072
|
+
function er() {
|
|
9073
|
+
return tc++;
|
|
9074
9074
|
}
|
|
9075
9075
|
/**
|
|
9076
9076
|
* @license
|
|
@@ -9087,7 +9087,7 @@ class Re extends EventTarget {
|
|
|
9087
9087
|
* @protected
|
|
9088
9088
|
*/
|
|
9089
9089
|
static generateId(t, e = "default") {
|
|
9090
|
-
return `${e}-${t.localName}-${
|
|
9090
|
+
return `${e}-${t.localName}-${er()}`;
|
|
9091
9091
|
}
|
|
9092
9092
|
constructor(t, e, i, s = {}) {
|
|
9093
9093
|
super();
|
|
@@ -9179,8 +9179,8 @@ class Re 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 ec(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9183
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Nl(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 Re 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 tr extends Re {
|
|
9198
9198
|
constructor(t) {
|
|
9199
9199
|
super(t, "tooltip"), this.setTarget(t);
|
|
9200
9200
|
}
|
|
@@ -9295,7 +9295,7 @@ class er extends Re {
|
|
|
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 ic = 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
|
+
`, oc = (o) => o`
|
|
9359
9359
|
<div class="vaadin-button-container">
|
|
9360
9360
|
<span part="prefix" aria-hidden="true">
|
|
9361
9361
|
<slot name="prefix"></slot>
|
|
@@ -9378,33 +9378,34 @@ 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 sc = !1, rc = (o) => o, qi = typeof document.head.style.touchAction == "string", Pi = "__polymerGestures", si = "__polymerGesturesHandled", ki = "__polymerGesturesTouchAction", $o = 25, Yo = 5, nc = 2, ac = ["mousedown", "mousemove", "mouseup", "click"], lc = [0, 1, 4, 2], cc = 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 Ki(o) {
|
|
9389
|
+
return ac.indexOf(o) > -1;
|
|
9390
9390
|
}
|
|
9391
|
-
let
|
|
9391
|
+
let ir = !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
|
+
ir = !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
|
-
|
|
9404
|
+
function uc(o) {
|
|
9405
|
+
if (!(Ki(o) || o === "touchend") && qi && ir && sc)
|
|
9406
|
+
return { passive: !0 };
|
|
9406
9407
|
}
|
|
9407
|
-
const
|
|
9408
|
+
const dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), hc = {
|
|
9408
9409
|
button: !0,
|
|
9409
9410
|
command: !0,
|
|
9410
9411
|
fieldset: !0,
|
|
@@ -9417,15 +9418,15 @@ const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
|
9417
9418
|
};
|
|
9418
9419
|
function He(o) {
|
|
9419
9420
|
const t = o.type;
|
|
9420
|
-
if (!
|
|
9421
|
+
if (!Ki(t))
|
|
9421
9422
|
return !1;
|
|
9422
9423
|
if (t === "mousemove") {
|
|
9423
9424
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9424
|
-
return o instanceof window.MouseEvent && !
|
|
9425
|
+
return o instanceof window.MouseEvent && !cc && (i = lc[o.which] || 0), !!(i & 1);
|
|
9425
9426
|
}
|
|
9426
9427
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9427
9428
|
}
|
|
9428
|
-
function
|
|
9429
|
+
function pc(o) {
|
|
9429
9430
|
if (o.type === "click") {
|
|
9430
9431
|
if (o.detail === 0)
|
|
9431
9432
|
return !0;
|
|
@@ -9453,9 +9454,9 @@ const Se = {
|
|
|
9453
9454
|
scrollDecided: !1
|
|
9454
9455
|
}
|
|
9455
9456
|
};
|
|
9456
|
-
function
|
|
9457
|
+
function fc(o) {
|
|
9457
9458
|
let t = "auto";
|
|
9458
|
-
const e =
|
|
9459
|
+
const e = sr(o);
|
|
9459
9460
|
for (let i = 0, s; i < e.length; i++)
|
|
9460
9461
|
if (s = e[i], s[ki]) {
|
|
9461
9462
|
t = s[ki];
|
|
@@ -9463,14 +9464,14 @@ function pc(o) {
|
|
|
9463
9464
|
}
|
|
9464
9465
|
return t;
|
|
9465
9466
|
}
|
|
9466
|
-
function
|
|
9467
|
+
function or(o, t, e) {
|
|
9467
9468
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9468
9469
|
}
|
|
9469
9470
|
function Xe(o) {
|
|
9470
9471
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9471
9472
|
}
|
|
9472
|
-
const
|
|
9473
|
-
function
|
|
9473
|
+
const sr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Gi = {}, Be = [];
|
|
9474
|
+
function mc(o, t) {
|
|
9474
9475
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9475
9476
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9476
9477
|
const s = i;
|
|
@@ -9481,13 +9482,13 @@ function fc(o, t) {
|
|
|
9481
9482
|
return e;
|
|
9482
9483
|
}
|
|
9483
9484
|
function Oe(o) {
|
|
9484
|
-
const t =
|
|
9485
|
+
const t = sr(
|
|
9485
9486
|
/** @type {?Event} */
|
|
9486
9487
|
o
|
|
9487
9488
|
);
|
|
9488
9489
|
return t.length > 0 ? t[0] : o.target;
|
|
9489
9490
|
}
|
|
9490
|
-
function
|
|
9491
|
+
function _c(o) {
|
|
9491
9492
|
const t = o.type, i = o.currentTarget[Pi];
|
|
9492
9493
|
if (!i)
|
|
9493
9494
|
return;
|
|
@@ -9498,7 +9499,7 @@ function mc(o) {
|
|
|
9498
9499
|
const n = o.changedTouches[0];
|
|
9499
9500
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9500
9501
|
return;
|
|
9501
|
-
|
|
9502
|
+
qi || (t === "touchstart" || t === "touchmove") && gc(o);
|
|
9502
9503
|
}
|
|
9503
9504
|
const r = o[si];
|
|
9504
9505
|
if (!r.skip) {
|
|
@@ -9508,7 +9509,7 @@ function mc(o) {
|
|
|
9508
9509
|
a = Be[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9509
9510
|
}
|
|
9510
9511
|
}
|
|
9511
|
-
function
|
|
9512
|
+
function gc(o) {
|
|
9512
9513
|
const t = o.changedTouches[0], e = o.type;
|
|
9513
9514
|
if (e === "touchstart")
|
|
9514
9515
|
Se.touch.x = t.clientX, Se.touch.y = t.clientY, Se.touch.scrollDecided = !1;
|
|
@@ -9516,29 +9517,29 @@ function _c(o) {
|
|
|
9516
9517
|
if (Se.touch.scrollDecided)
|
|
9517
9518
|
return;
|
|
9518
9519
|
Se.touch.scrollDecided = !0;
|
|
9519
|
-
const i =
|
|
9520
|
+
const i = fc(o);
|
|
9520
9521
|
let s = !1;
|
|
9521
9522
|
const r = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9522
9523
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Rt("track");
|
|
9523
9524
|
}
|
|
9524
9525
|
}
|
|
9525
9526
|
function ge(o, t, e) {
|
|
9526
|
-
return
|
|
9527
|
+
return Gi[t] ? (bc(o, t, e), !0) : !1;
|
|
9527
9528
|
}
|
|
9528
|
-
function
|
|
9529
|
-
const i =
|
|
9529
|
+
function bc(o, t, e) {
|
|
9530
|
+
const i = Gi[t], s = i.deps, r = i.name;
|
|
9530
9531
|
let n = o[Pi];
|
|
9531
9532
|
n || (o[Pi] = n = {});
|
|
9532
9533
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9533
|
-
l = s[a], !(
|
|
9534
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9534
|
+
l = s[a], !(dc && Ki(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, _c, uc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9535
|
+
o.addEventListener(t, e), i.touchAction && rr(o, i.touchAction);
|
|
9535
9536
|
}
|
|
9536
|
-
function
|
|
9537
|
+
function Ji(o) {
|
|
9537
9538
|
Be.push(o), o.emits.forEach((t) => {
|
|
9538
|
-
|
|
9539
|
+
Gi[t] = o;
|
|
9539
9540
|
});
|
|
9540
9541
|
}
|
|
9541
|
-
function
|
|
9542
|
+
function vc(o) {
|
|
9542
9543
|
for (let t = 0, e; t < Be.length; t++) {
|
|
9543
9544
|
e = Be[t];
|
|
9544
9545
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9547,14 +9548,14 @@ function bc(o) {
|
|
|
9547
9548
|
}
|
|
9548
9549
|
return null;
|
|
9549
9550
|
}
|
|
9550
|
-
function
|
|
9551
|
-
|
|
9551
|
+
function rr(o, t) {
|
|
9552
|
+
qi && o instanceof HTMLElement && Zl.run(() => {
|
|
9552
9553
|
o.style.touchAction = t;
|
|
9553
9554
|
}), o[ki] = t;
|
|
9554
9555
|
}
|
|
9555
|
-
function
|
|
9556
|
+
function Xi(o, t, e) {
|
|
9556
9557
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9557
|
-
if (i.detail = e,
|
|
9558
|
+
if (i.detail = e, rc(
|
|
9558
9559
|
/** @type {!Node} */
|
|
9559
9560
|
o
|
|
9560
9561
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9563,10 +9564,10 @@ function Ji(o, t, e) {
|
|
|
9563
9564
|
}
|
|
9564
9565
|
}
|
|
9565
9566
|
function Rt(o) {
|
|
9566
|
-
const t =
|
|
9567
|
+
const t = vc(o);
|
|
9567
9568
|
t.info && (t.info.prevent = !0);
|
|
9568
9569
|
}
|
|
9569
|
-
|
|
9570
|
+
Ji({
|
|
9570
9571
|
name: "downup",
|
|
9571
9572
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9572
9573
|
flow: {
|
|
@@ -9598,7 +9599,7 @@ Gi({
|
|
|
9598
9599
|
}, s = (r) => {
|
|
9599
9600
|
He(r) && at("up", t, r), Xe(e.info);
|
|
9600
9601
|
};
|
|
9601
|
-
|
|
9602
|
+
or(this.info, i, s), at("down", t, o);
|
|
9602
9603
|
},
|
|
9603
9604
|
/**
|
|
9604
9605
|
* @this {GestureRecognizer}
|
|
@@ -9618,7 +9619,7 @@ Gi({
|
|
|
9618
9619
|
}
|
|
9619
9620
|
});
|
|
9620
9621
|
function at(o, t, e, i) {
|
|
9621
|
-
t &&
|
|
9622
|
+
t && Xi(t, o, {
|
|
9622
9623
|
x: e.clientX,
|
|
9623
9624
|
y: e.clientY,
|
|
9624
9625
|
sourceEvent: e,
|
|
@@ -9628,7 +9629,7 @@ function at(o, t, e, i) {
|
|
|
9628
9629
|
}
|
|
9629
9630
|
});
|
|
9630
9631
|
}
|
|
9631
|
-
|
|
9632
|
+
Ji({
|
|
9632
9633
|
name: "track",
|
|
9633
9634
|
touchAction: "none",
|
|
9634
9635
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9645,7 +9646,7 @@ Gi({
|
|
|
9645
9646
|
moves: [],
|
|
9646
9647
|
/** @this {GestureInfo} */
|
|
9647
9648
|
addMove(o) {
|
|
9648
|
-
this.moves.length >
|
|
9649
|
+
this.moves.length > nc && this.moves.shift(), this.moves.push(o);
|
|
9649
9650
|
},
|
|
9650
9651
|
movefn: null,
|
|
9651
9652
|
upfn: null,
|
|
@@ -9668,11 +9669,11 @@ Gi({
|
|
|
9668
9669
|
return;
|
|
9669
9670
|
const t = Oe(o), e = this, i = (r) => {
|
|
9670
9671
|
const n = r.clientX, a = r.clientY;
|
|
9671
|
-
|
|
9672
|
+
jo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Rt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && ri(e.info, t, r), e.info.started = !0);
|
|
9672
9673
|
}, s = (r) => {
|
|
9673
9674
|
e.info.started && i(r), Xe(e.info);
|
|
9674
9675
|
};
|
|
9675
|
-
|
|
9676
|
+
or(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9676
9677
|
},
|
|
9677
9678
|
/**
|
|
9678
9679
|
* @this {GestureRecognizer}
|
|
@@ -9690,7 +9691,7 @@ Gi({
|
|
|
9690
9691
|
*/
|
|
9691
9692
|
touchmove(o) {
|
|
9692
9693
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9693
|
-
|
|
9694
|
+
jo(this.info, i, s) && (this.info.state === "start" && Rt("tap"), this.info.addMove({ x: i, y: s }), ri(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9694
9695
|
},
|
|
9695
9696
|
/**
|
|
9696
9697
|
* @this {GestureRecognizer}
|
|
@@ -9702,20 +9703,20 @@ Gi({
|
|
|
9702
9703
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), ri(this.info, t, e));
|
|
9703
9704
|
}
|
|
9704
9705
|
});
|
|
9705
|
-
function
|
|
9706
|
+
function jo(o, t, e) {
|
|
9706
9707
|
if (o.prevent)
|
|
9707
9708
|
return !1;
|
|
9708
9709
|
if (o.started)
|
|
9709
9710
|
return !0;
|
|
9710
9711
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9711
|
-
return i >=
|
|
9712
|
+
return i >= Yo || s >= Yo;
|
|
9712
9713
|
}
|
|
9713
9714
|
function ri(o, t, e) {
|
|
9714
9715
|
if (!t)
|
|
9715
9716
|
return;
|
|
9716
9717
|
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;
|
|
9717
9718
|
let a, l = 0;
|
|
9718
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9719
|
+
i && (a = s.x - i.x, l = s.y - i.y), Xi(t, "track", {
|
|
9719
9720
|
state: o.state,
|
|
9720
9721
|
x: e.clientX,
|
|
9721
9722
|
y: e.clientY,
|
|
@@ -9725,11 +9726,11 @@ function ri(o, t, e) {
|
|
|
9725
9726
|
ddy: l,
|
|
9726
9727
|
sourceEvent: e,
|
|
9727
9728
|
hover() {
|
|
9728
|
-
return
|
|
9729
|
+
return mc(e.clientX, e.clientY);
|
|
9729
9730
|
}
|
|
9730
9731
|
});
|
|
9731
9732
|
}
|
|
9732
|
-
|
|
9733
|
+
Ji({
|
|
9733
9734
|
name: "tap",
|
|
9734
9735
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9735
9736
|
flow: {
|
|
@@ -9763,7 +9764,7 @@ Gi({
|
|
|
9763
9764
|
* @return {void}
|
|
9764
9765
|
*/
|
|
9765
9766
|
click(o) {
|
|
9766
|
-
He(o) &&
|
|
9767
|
+
He(o) && Vo(this.info, o);
|
|
9767
9768
|
},
|
|
9768
9769
|
/**
|
|
9769
9770
|
* @this {GestureRecognizer}
|
|
@@ -9780,15 +9781,15 @@ Gi({
|
|
|
9780
9781
|
* @return {void}
|
|
9781
9782
|
*/
|
|
9782
9783
|
touchend(o) {
|
|
9783
|
-
|
|
9784
|
+
Vo(this.info, o.changedTouches[0], o);
|
|
9784
9785
|
}
|
|
9785
9786
|
});
|
|
9786
|
-
function
|
|
9787
|
+
function Vo(o, t, e) {
|
|
9787
9788
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Oe(e || t);
|
|
9788
|
-
!r ||
|
|
9789
|
+
!r || hc[
|
|
9789
9790
|
/** @type {!HTMLElement} */
|
|
9790
9791
|
r.localName
|
|
9791
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9792
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= $o && s <= $o || pc(t)) && (o.prevent || Xi(r, "tap", {
|
|
9792
9793
|
x: t.clientX,
|
|
9793
9794
|
y: t.clientY,
|
|
9794
9795
|
sourceEvent: t,
|
|
@@ -9800,7 +9801,7 @@ function jo(o, t, e) {
|
|
|
9800
9801
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9801
9802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9802
9803
|
*/
|
|
9803
|
-
const
|
|
9804
|
+
const nr = V(
|
|
9804
9805
|
(o) => class extends o {
|
|
9805
9806
|
static get properties() {
|
|
9806
9807
|
return {
|
|
@@ -9907,7 +9908,7 @@ const Wt = V(
|
|
|
9907
9908
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9908
9909
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9909
9910
|
*/
|
|
9910
|
-
const yc = (o) => class extends
|
|
9911
|
+
const yc = (o) => class extends nr(Wt(o)) {
|
|
9911
9912
|
/**
|
|
9912
9913
|
* An array of activation keys.
|
|
9913
9914
|
*
|
|
@@ -9970,7 +9971,7 @@ const yc = (o) => class extends rr(Wt(o)) {
|
|
|
9970
9971
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9971
9972
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9972
9973
|
*/
|
|
9973
|
-
const
|
|
9974
|
+
const Zi = V(
|
|
9974
9975
|
(o) => class extends o {
|
|
9975
9976
|
/**
|
|
9976
9977
|
* @protected
|
|
@@ -10027,7 +10028,7 @@ const Xi = V(
|
|
|
10027
10028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10028
10029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10029
10030
|
*/
|
|
10030
|
-
const
|
|
10031
|
+
const ar = (o) => class extends nr(o) {
|
|
10031
10032
|
static get properties() {
|
|
10032
10033
|
return {
|
|
10033
10034
|
/**
|
|
@@ -10078,7 +10079,7 @@ const nr = (o) => class extends rr(o) {
|
|
|
10078
10079
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10079
10080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10080
10081
|
*/
|
|
10081
|
-
const
|
|
10082
|
+
const xc = (o) => class extends yc(ar(Zi(o))) {
|
|
10082
10083
|
static get properties() {
|
|
10083
10084
|
return {
|
|
10084
10085
|
/**
|
|
@@ -10133,26 +10134,26 @@ const vc = (o) => class extends yc(nr(Xi(o))) {
|
|
|
10133
10134
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10134
10135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10135
10136
|
*/
|
|
10136
|
-
L("vaadin-button",
|
|
10137
|
-
class
|
|
10137
|
+
L("vaadin-button", ic, { moduleId: "vaadin-button-styles" });
|
|
10138
|
+
class wc extends xc(Qs(Ye(ot(Ie)))) {
|
|
10138
10139
|
static get is() {
|
|
10139
10140
|
return "vaadin-button";
|
|
10140
10141
|
}
|
|
10141
10142
|
static get template() {
|
|
10142
|
-
return
|
|
10143
|
+
return oc(Ve);
|
|
10143
10144
|
}
|
|
10144
10145
|
/** @protected */
|
|
10145
10146
|
ready() {
|
|
10146
|
-
super.ready(), this._tooltipController = new
|
|
10147
|
+
super.ready(), this._tooltipController = new tr(this), this.addController(this._tooltipController);
|
|
10147
10148
|
}
|
|
10148
10149
|
}
|
|
10149
|
-
be(
|
|
10150
|
+
be(wc);
|
|
10150
10151
|
/**
|
|
10151
10152
|
* @license
|
|
10152
10153
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10153
10154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10154
10155
|
*/
|
|
10155
|
-
function
|
|
10156
|
+
function Ec(o) {
|
|
10156
10157
|
let t = o.getDay();
|
|
10157
10158
|
t === 0 && (t = 7);
|
|
10158
10159
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10167,7 +10168,7 @@ function Di(o) {
|
|
|
10167
10168
|
function Ce(o, t, e = Di) {
|
|
10168
10169
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10169
10170
|
}
|
|
10170
|
-
function
|
|
10171
|
+
function Qi(o) {
|
|
10171
10172
|
return {
|
|
10172
10173
|
day: o.getDate(),
|
|
10173
10174
|
month: o.getMonth(),
|
|
@@ -10177,12 +10178,12 @@ function Zi(o) {
|
|
|
10177
10178
|
function tt(o, t, e, i) {
|
|
10178
10179
|
let s = !1;
|
|
10179
10180
|
if (typeof i == "function" && o) {
|
|
10180
|
-
const r =
|
|
10181
|
+
const r = Qi(o);
|
|
10181
10182
|
s = i(r);
|
|
10182
10183
|
}
|
|
10183
10184
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10184
10185
|
}
|
|
10185
|
-
function
|
|
10186
|
+
function lr(o, t) {
|
|
10186
10187
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10187
10188
|
if (!i)
|
|
10188
10189
|
return e;
|
|
@@ -10192,11 +10193,11 @@ function ar(o, t) {
|
|
|
10192
10193
|
return s < r ? i : e;
|
|
10193
10194
|
});
|
|
10194
10195
|
}
|
|
10195
|
-
function
|
|
10196
|
+
function cr(o) {
|
|
10196
10197
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10197
10198
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10198
10199
|
}
|
|
10199
|
-
function
|
|
10200
|
+
function Sc(o, t, e = 0, i = 1) {
|
|
10200
10201
|
if (t > 99)
|
|
10201
10202
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10202
10203
|
if (t < 0)
|
|
@@ -10211,15 +10212,15 @@ function lt(o) {
|
|
|
10211
10212
|
const e = new Date(0, 0);
|
|
10212
10213
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10213
10214
|
}
|
|
10214
|
-
function
|
|
10215
|
+
function Ac(o) {
|
|
10215
10216
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10216
10217
|
let e = "", i = "0000", s = o.year;
|
|
10217
10218
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10218
10219
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10219
10220
|
return [r, n, a].join("-");
|
|
10220
10221
|
}
|
|
10221
|
-
function
|
|
10222
|
-
return o instanceof Date ?
|
|
10222
|
+
function Cc(o) {
|
|
10223
|
+
return o instanceof Date ? Ac({
|
|
10223
10224
|
year: o.getFullYear(),
|
|
10224
10225
|
month: o.getMonth(),
|
|
10225
10226
|
day: o.getDate()
|
|
@@ -10326,9 +10327,9 @@ class Bt {
|
|
|
10326
10327
|
}
|
|
10327
10328
|
}
|
|
10328
10329
|
let xt = /* @__PURE__ */ new Set();
|
|
10329
|
-
const
|
|
10330
|
+
const Pc = function(o) {
|
|
10330
10331
|
xt.add(o);
|
|
10331
|
-
},
|
|
10332
|
+
}, kc = function() {
|
|
10332
10333
|
const o = !!xt.size;
|
|
10333
10334
|
return xt.forEach((t) => {
|
|
10334
10335
|
try {
|
|
@@ -10349,10 +10350,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10349
10350
|
Code distributed by Google as part of the polymer project is also
|
|
10350
10351
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10351
10352
|
*/
|
|
10352
|
-
const
|
|
10353
|
+
const eo = function() {
|
|
10353
10354
|
let o, t;
|
|
10354
10355
|
do
|
|
10355
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10356
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = kc();
|
|
10356
10357
|
while (o || t);
|
|
10357
10358
|
};
|
|
10358
10359
|
/**
|
|
@@ -10360,8 +10361,8 @@ const Qi = function() {
|
|
|
10360
10361
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10361
10362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10362
10363
|
*/
|
|
10363
|
-
const
|
|
10364
|
-
|
|
10364
|
+
const ur = document.createElement("template");
|
|
10365
|
+
ur.innerHTML = `
|
|
10365
10366
|
<style>
|
|
10366
10367
|
:host {
|
|
10367
10368
|
display: block;
|
|
@@ -10412,9 +10413,9 @@ cr.innerHTML = `
|
|
|
10412
10413
|
<div id="fullHeight"></div>
|
|
10413
10414
|
</div>
|
|
10414
10415
|
`;
|
|
10415
|
-
class
|
|
10416
|
+
class dr extends HTMLElement {
|
|
10416
10417
|
constructor() {
|
|
10417
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10418
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(ur.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10418
10419
|
}
|
|
10419
10420
|
/**
|
|
10420
10421
|
* @return {boolean}
|
|
@@ -10474,7 +10475,7 @@ class ur extends HTMLElement {
|
|
|
10474
10475
|
* waiting for the debouncer to resolve.
|
|
10475
10476
|
*/
|
|
10476
10477
|
forceUpdate() {
|
|
10477
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10478
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), eo();
|
|
10478
10479
|
}
|
|
10479
10480
|
/**
|
|
10480
10481
|
* @protected
|
|
@@ -10530,7 +10531,7 @@ class ur extends HTMLElement {
|
|
|
10530
10531
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10531
10532
|
const s = document.createElement("div");
|
|
10532
10533
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10533
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10534
|
+
const r = `vaadin-infinite-scroller-item-content-${er()}`, n = document.createElement("slot");
|
|
10534
10535
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10535
10536
|
}
|
|
10536
10537
|
}), requestAnimationFrame(() => {
|
|
@@ -10571,8 +10572,8 @@ class ur extends HTMLElement {
|
|
|
10571
10572
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10572
10573
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10573
10574
|
*/
|
|
10574
|
-
const
|
|
10575
|
-
|
|
10575
|
+
const hr = document.createElement("template");
|
|
10576
|
+
hr.innerHTML = `
|
|
10576
10577
|
<style>
|
|
10577
10578
|
:host {
|
|
10578
10579
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10585,12 +10586,12 @@ dr.innerHTML = `
|
|
|
10585
10586
|
}
|
|
10586
10587
|
</style>
|
|
10587
10588
|
`;
|
|
10588
|
-
class
|
|
10589
|
+
class Dc extends dr {
|
|
10589
10590
|
static get is() {
|
|
10590
10591
|
return "vaadin-date-picker-month-scroller";
|
|
10591
10592
|
}
|
|
10592
10593
|
constructor() {
|
|
10593
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10594
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(hr.content.cloneNode(!0));
|
|
10594
10595
|
}
|
|
10595
10596
|
/**
|
|
10596
10597
|
* @protected
|
|
@@ -10606,17 +10607,17 @@ class kc extends ur {
|
|
|
10606
10607
|
* @override
|
|
10607
10608
|
*/
|
|
10608
10609
|
_updateElement(t, e) {
|
|
10609
|
-
t.month =
|
|
10610
|
+
t.month = cr(e);
|
|
10610
10611
|
}
|
|
10611
10612
|
}
|
|
10612
|
-
be(
|
|
10613
|
+
be(Dc);
|
|
10613
10614
|
/**
|
|
10614
10615
|
* @license
|
|
10615
10616
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10616
10617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10617
10618
|
*/
|
|
10618
|
-
const
|
|
10619
|
-
|
|
10619
|
+
const pr = document.createElement("template");
|
|
10620
|
+
pr.innerHTML = `
|
|
10620
10621
|
<style>
|
|
10621
10622
|
:host {
|
|
10622
10623
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10651,12 +10652,12 @@ hr.innerHTML = `
|
|
|
10651
10652
|
}
|
|
10652
10653
|
</style>
|
|
10653
10654
|
`;
|
|
10654
|
-
class
|
|
10655
|
+
class Tc extends dr {
|
|
10655
10656
|
static get is() {
|
|
10656
10657
|
return "vaadin-date-picker-year-scroller";
|
|
10657
10658
|
}
|
|
10658
10659
|
constructor() {
|
|
10659
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10660
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(pr.content.cloneNode(!0));
|
|
10660
10661
|
}
|
|
10661
10662
|
/**
|
|
10662
10663
|
* @protected
|
|
@@ -10680,13 +10681,13 @@ class Dc extends ur {
|
|
|
10680
10681
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10681
10682
|
}
|
|
10682
10683
|
}
|
|
10683
|
-
be(
|
|
10684
|
+
be(Tc);
|
|
10684
10685
|
/**
|
|
10685
10686
|
* @license
|
|
10686
10687
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10687
10688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10688
10689
|
*/
|
|
10689
|
-
const
|
|
10690
|
+
const Mc = (o) => class extends o {
|
|
10690
10691
|
static get properties() {
|
|
10691
10692
|
return {
|
|
10692
10693
|
year: {
|
|
@@ -10712,7 +10713,7 @@ const Tc = (o) => class extends o {
|
|
|
10712
10713
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10713
10714
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10714
10715
|
*/
|
|
10715
|
-
class
|
|
10716
|
+
class Oc extends Ye(Mc(Ie)) {
|
|
10716
10717
|
static get is() {
|
|
10717
10718
|
return "vaadin-date-picker-year";
|
|
10718
10719
|
}
|
|
@@ -10729,7 +10730,7 @@ class Mc extends Ye(Tc(Ie)) {
|
|
|
10729
10730
|
`;
|
|
10730
10731
|
}
|
|
10731
10732
|
}
|
|
10732
|
-
be(
|
|
10733
|
+
be(Oc);
|
|
10733
10734
|
/**
|
|
10734
10735
|
@license
|
|
10735
10736
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10739,13 +10740,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10739
10740
|
Code distributed by Google as part of the polymer project is also
|
|
10740
10741
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10741
10742
|
*/
|
|
10742
|
-
function
|
|
10743
|
+
function to(o, t, e, i, s) {
|
|
10743
10744
|
let r;
|
|
10744
10745
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10745
10746
|
let n = i !== e && (i === i || e === e);
|
|
10746
10747
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10747
10748
|
}
|
|
10748
|
-
const
|
|
10749
|
+
const io = V((o) => {
|
|
10749
10750
|
class t extends o {
|
|
10750
10751
|
/**
|
|
10751
10752
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10765,11 +10766,11 @@ const to = V((o) => {
|
|
|
10765
10766
|
* @protected
|
|
10766
10767
|
*/
|
|
10767
10768
|
_shouldPropertyChange(i, s, r) {
|
|
10768
|
-
return
|
|
10769
|
+
return to(this, i, s, r, !0);
|
|
10769
10770
|
}
|
|
10770
10771
|
}
|
|
10771
10772
|
return t;
|
|
10772
|
-
}),
|
|
10773
|
+
}), Ic = V((o) => {
|
|
10773
10774
|
class t extends o {
|
|
10774
10775
|
/** @nocollapse */
|
|
10775
10776
|
static get properties() {
|
|
@@ -10801,12 +10802,12 @@ const to = V((o) => {
|
|
|
10801
10802
|
* @protected
|
|
10802
10803
|
*/
|
|
10803
10804
|
_shouldPropertyChange(i, s, r) {
|
|
10804
|
-
return
|
|
10805
|
+
return to(this, i, s, r, this.mutableData);
|
|
10805
10806
|
}
|
|
10806
10807
|
}
|
|
10807
10808
|
return t;
|
|
10808
10809
|
});
|
|
10809
|
-
|
|
10810
|
+
io._mutablePropertyChange = to;
|
|
10810
10811
|
/**
|
|
10811
10812
|
@license
|
|
10812
10813
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10826,13 +10827,13 @@ Mi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10826
10827
|
writable: !0
|
|
10827
10828
|
}
|
|
10828
10829
|
});
|
|
10829
|
-
const
|
|
10830
|
-
function
|
|
10830
|
+
const fr = ji(Mi), Fc = io(fr);
|
|
10831
|
+
function Nc(o, t) {
|
|
10831
10832
|
Ti = o, Object.setPrototypeOf(o, t.prototype), new t(), Ti = null;
|
|
10832
10833
|
}
|
|
10833
|
-
const
|
|
10834
|
+
const zc = ji(class {
|
|
10834
10835
|
});
|
|
10835
|
-
function
|
|
10836
|
+
function Lc(o, t) {
|
|
10836
10837
|
for (let e = 0; e < t.length; e++) {
|
|
10837
10838
|
let i = t[e];
|
|
10838
10839
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10850,7 +10851,7 @@ function zc(o, t) {
|
|
|
10850
10851
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10851
10852
|
}
|
|
10852
10853
|
}
|
|
10853
|
-
class Fe extends
|
|
10854
|
+
class Fe extends zc {
|
|
10854
10855
|
constructor(t) {
|
|
10855
10856
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10856
10857
|
let e = [];
|
|
@@ -10919,7 +10920,7 @@ class Fe extends Nc {
|
|
|
10919
10920
|
* @protected
|
|
10920
10921
|
*/
|
|
10921
10922
|
_showHideChildren(t) {
|
|
10922
|
-
|
|
10923
|
+
Lc(t, this.children);
|
|
10923
10924
|
}
|
|
10924
10925
|
/**
|
|
10925
10926
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10972,31 +10973,31 @@ Fe.prototype.__templatizeOptions;
|
|
|
10972
10973
|
Fe.prototype._methodHost;
|
|
10973
10974
|
Fe.prototype.__templatizeOwner;
|
|
10974
10975
|
Fe.prototype.__hostProps;
|
|
10975
|
-
const
|
|
10976
|
+
const Rc = io(
|
|
10976
10977
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10977
10978
|
// TemplateInstanceBase is a constructor function.
|
|
10978
10979
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10979
10980
|
Fe
|
|
10980
10981
|
);
|
|
10981
|
-
function
|
|
10982
|
+
function Uo(o) {
|
|
10982
10983
|
let t = o.__dataHost;
|
|
10983
10984
|
return t && t._methodHost || t;
|
|
10984
10985
|
}
|
|
10985
|
-
function
|
|
10986
|
-
let i = e.mutableData ?
|
|
10986
|
+
function Bc(o, t, e) {
|
|
10987
|
+
let i = e.mutableData ? Rc : Fe;
|
|
10987
10988
|
Oi.mixin && (i = Oi.mixin(i));
|
|
10988
10989
|
let s = class extends i {
|
|
10989
10990
|
};
|
|
10990
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10991
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Yc(s, o, t, e), s;
|
|
10991
10992
|
}
|
|
10992
|
-
function
|
|
10993
|
+
function Hc(o, t, e, i) {
|
|
10993
10994
|
let s = e.forwardHostProp;
|
|
10994
10995
|
if (s && t.hasHostProps) {
|
|
10995
10996
|
const r = o.localName == "template";
|
|
10996
10997
|
let n = t.templatizeTemplateClass;
|
|
10997
10998
|
if (!n) {
|
|
10998
10999
|
if (r) {
|
|
10999
|
-
let l = e.mutableData ?
|
|
11000
|
+
let l = e.mutableData ? Fc : fr;
|
|
11000
11001
|
class c extends l {
|
|
11001
11002
|
}
|
|
11002
11003
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11011,12 +11012,12 @@ function Bc(o, t, e, i) {
|
|
|
11011
11012
|
n.prototype._addPropertyEffect(
|
|
11012
11013
|
"_host_" + l,
|
|
11013
11014
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11014
|
-
{ fn:
|
|
11015
|
+
{ fn: $c(l, s) }
|
|
11015
11016
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11016
|
-
|
|
11017
|
+
vs && i && Uc(t, e, i);
|
|
11017
11018
|
}
|
|
11018
11019
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11019
|
-
|
|
11020
|
+
Nc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11020
11021
|
else {
|
|
11021
11022
|
Object.setPrototypeOf(o, n.prototype);
|
|
11022
11023
|
const a = t.hostProps;
|
|
@@ -11028,7 +11029,7 @@ function Bc(o, t, e, i) {
|
|
|
11028
11029
|
}
|
|
11029
11030
|
}
|
|
11030
11031
|
}
|
|
11031
|
-
function
|
|
11032
|
+
function $c(o, t) {
|
|
11032
11033
|
return function(i, s, r) {
|
|
11033
11034
|
t.call(
|
|
11034
11035
|
i.__templatizeOwner,
|
|
@@ -11037,7 +11038,7 @@ function Hc(o, t) {
|
|
|
11037
11038
|
);
|
|
11038
11039
|
};
|
|
11039
11040
|
}
|
|
11040
|
-
function
|
|
11041
|
+
function Yc(o, t, e, i) {
|
|
11041
11042
|
let s = e.hostProps || {};
|
|
11042
11043
|
for (let r in i.instanceProps) {
|
|
11043
11044
|
delete s[r];
|
|
@@ -11045,7 +11046,7 @@ function $c(o, t, e, i) {
|
|
|
11045
11046
|
n && o.prototype._addPropertyEffect(
|
|
11046
11047
|
r,
|
|
11047
11048
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11048
|
-
{ fn:
|
|
11049
|
+
{ fn: jc(r, n) }
|
|
11049
11050
|
);
|
|
11050
11051
|
}
|
|
11051
11052
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11053,10 +11054,10 @@ function $c(o, t, e, i) {
|
|
|
11053
11054
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11054
11055
|
r,
|
|
11055
11056
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11056
|
-
{ fn:
|
|
11057
|
+
{ fn: Vc() }
|
|
11057
11058
|
);
|
|
11058
11059
|
}
|
|
11059
|
-
function
|
|
11060
|
+
function jc(o, t) {
|
|
11060
11061
|
return function(i, s, r) {
|
|
11061
11062
|
t.call(
|
|
11062
11063
|
i.__templatizeOwner,
|
|
@@ -11066,22 +11067,22 @@ function Yc(o, t) {
|
|
|
11066
11067
|
);
|
|
11067
11068
|
};
|
|
11068
11069
|
}
|
|
11069
|
-
function
|
|
11070
|
+
function Vc() {
|
|
11070
11071
|
return function(t, e, i) {
|
|
11071
11072
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11072
11073
|
};
|
|
11073
11074
|
}
|
|
11074
11075
|
function Oi(o, t, e) {
|
|
11075
|
-
if (Nt && !
|
|
11076
|
+
if (Nt && !Uo(o))
|
|
11076
11077
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11077
11078
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11078
11079
|
e || {}, o.__templatizeOwner)
|
|
11079
11080
|
throw new Error("A <template> can only be templatized once");
|
|
11080
11081
|
o.__templatizeOwner = t;
|
|
11081
11082
|
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11082
|
-
r || (r =
|
|
11083
|
-
const n =
|
|
11084
|
-
|
|
11083
|
+
r || (r = Bc(o, s, e), s.templatizeInstanceClass = r);
|
|
11084
|
+
const n = Uo(o);
|
|
11085
|
+
Hc(o, s, e, n);
|
|
11085
11086
|
let a = class extends r {
|
|
11086
11087
|
};
|
|
11087
11088
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11089,7 +11090,7 @@ function Oi(o, t, e) {
|
|
|
11089
11090
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11090
11091
|
a, a;
|
|
11091
11092
|
}
|
|
11092
|
-
function
|
|
11093
|
+
function Uc(o, t, e) {
|
|
11093
11094
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11094
11095
|
for (let n in s)
|
|
11095
11096
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11103,7 +11104,7 @@ function Vc(o, t, e) {
|
|
|
11103
11104
|
}
|
|
11104
11105
|
}
|
|
11105
11106
|
}
|
|
11106
|
-
function
|
|
11107
|
+
function Wc(o, t) {
|
|
11107
11108
|
let e;
|
|
11108
11109
|
for (; t; )
|
|
11109
11110
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11124,11 +11125,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11124
11125
|
Code distributed by Google as part of the polymer project is also
|
|
11125
11126
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11126
11127
|
*/
|
|
11127
|
-
let
|
|
11128
|
-
function
|
|
11129
|
-
if (
|
|
11130
|
-
if (!
|
|
11131
|
-
|
|
11128
|
+
let Wo = !1;
|
|
11129
|
+
function qc() {
|
|
11130
|
+
if (bs && !gs) {
|
|
11131
|
+
if (!Wo) {
|
|
11132
|
+
Wo = !0;
|
|
11132
11133
|
const o = document.createElement("style");
|
|
11133
11134
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11134
11135
|
}
|
|
@@ -11145,8 +11146,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11145
11146
|
Code distributed by Google as part of the polymer project is also
|
|
11146
11147
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11147
11148
|
*/
|
|
11148
|
-
const
|
|
11149
|
-
class
|
|
11149
|
+
const Kc = Ic(Ie);
|
|
11150
|
+
class qo extends Kc {
|
|
11150
11151
|
// Not needed to find template; can be removed once the analyzer
|
|
11151
11152
|
// can find the tag name from customElements.define call
|
|
11152
11153
|
static get is() {
|
|
@@ -11241,7 +11242,7 @@ class Wo extends qc {
|
|
|
11241
11242
|
*/
|
|
11242
11243
|
renderedItemCount: {
|
|
11243
11244
|
type: Number,
|
|
11244
|
-
notify: !
|
|
11245
|
+
notify: !vo,
|
|
11245
11246
|
readOnly: !0
|
|
11246
11247
|
},
|
|
11247
11248
|
/**
|
|
@@ -11324,7 +11325,7 @@ class Wo extends qc {
|
|
|
11324
11325
|
* @return {void}
|
|
11325
11326
|
*/
|
|
11326
11327
|
connectedCallback() {
|
|
11327
|
-
if (super.connectedCallback(),
|
|
11328
|
+
if (super.connectedCallback(), qc() || (this.style.display = "none"), this.__isDetached) {
|
|
11328
11329
|
this.__isDetached = !1;
|
|
11329
11330
|
let t = K(K(this).parentNode);
|
|
11330
11331
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11374,7 +11375,7 @@ class Wo extends qc {
|
|
|
11374
11375
|
* @param {*} value Value to notify
|
|
11375
11376
|
*/
|
|
11376
11377
|
notifyInstanceProp: function(s, r, n) {
|
|
11377
|
-
if (
|
|
11378
|
+
if (Zn(this.as, r)) {
|
|
11378
11379
|
let a = s[this.itemsIndexAs];
|
|
11379
11380
|
r == this.as && (this.items[a] = n);
|
|
11380
11381
|
let l = bt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11430,9 +11431,9 @@ class Wo extends qc {
|
|
|
11430
11431
|
__debounceRender(t, e = 0) {
|
|
11431
11432
|
this.__renderDebouncer = Bt.debounce(
|
|
11432
11433
|
this.__renderDebouncer,
|
|
11433
|
-
e > 0 ?
|
|
11434
|
+
e > 0 ? sa.after(e) : Ds,
|
|
11434
11435
|
t.bind(this)
|
|
11435
|
-
),
|
|
11436
|
+
), Pc(this.__renderDebouncer);
|
|
11436
11437
|
}
|
|
11437
11438
|
/**
|
|
11438
11439
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11443,7 +11444,7 @@ class Wo extends qc {
|
|
|
11443
11444
|
* @return {void}
|
|
11444
11445
|
*/
|
|
11445
11446
|
render() {
|
|
11446
|
-
this.__debounceRender(this.__render),
|
|
11447
|
+
this.__debounceRender(this.__render), eo();
|
|
11447
11448
|
}
|
|
11448
11449
|
__render() {
|
|
11449
11450
|
if (!this.__ensureTemplatized())
|
|
@@ -11452,7 +11453,7 @@ class Wo extends qc {
|
|
|
11452
11453
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11453
11454
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11454
11455
|
this.__chunkingId = null, this.__continueChunking();
|
|
11455
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11456
|
+
})), this._setRenderedItemCount(this.__instances.length), (!vo || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11456
11457
|
bubbles: !0,
|
|
11457
11458
|
composed: !0
|
|
11458
11459
|
}));
|
|
@@ -11592,16 +11593,16 @@ class Wo extends qc {
|
|
|
11592
11593
|
* the element.
|
|
11593
11594
|
*/
|
|
11594
11595
|
modelForElement(t) {
|
|
11595
|
-
return
|
|
11596
|
+
return Wc(this.template, t);
|
|
11596
11597
|
}
|
|
11597
11598
|
}
|
|
11598
|
-
customElements.define(
|
|
11599
|
+
customElements.define(qo.is, qo);
|
|
11599
11600
|
/**
|
|
11600
11601
|
* @license
|
|
11601
11602
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11602
11603
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11603
11604
|
*/
|
|
11604
|
-
const
|
|
11605
|
+
const Gc = (o) => class extends Zi(o) {
|
|
11605
11606
|
static get properties() {
|
|
11606
11607
|
return {
|
|
11607
11608
|
/**
|
|
@@ -11784,7 +11785,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11784
11785
|
/** @protected */
|
|
11785
11786
|
__getWeekNumber(e) {
|
|
11786
11787
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11787
|
-
return
|
|
11788
|
+
return Ec(i);
|
|
11788
11789
|
}
|
|
11789
11790
|
/** @protected */
|
|
11790
11791
|
__getDayAriaLabel(e) {
|
|
@@ -11799,7 +11800,7 @@ const Kc = (o) => class extends Xi(o) {
|
|
|
11799
11800
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11800
11801
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11801
11802
|
*/
|
|
11802
|
-
const
|
|
11803
|
+
const Jc = P`
|
|
11803
11804
|
:host {
|
|
11804
11805
|
display: block;
|
|
11805
11806
|
}
|
|
@@ -11861,10 +11862,10 @@ const Gc = P`
|
|
|
11861
11862
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11862
11863
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11863
11864
|
*/
|
|
11864
|
-
L("vaadin-month-calendar",
|
|
11865
|
+
L("vaadin-month-calendar", Jc, {
|
|
11865
11866
|
moduleId: "vaadin-month-calendar-styles"
|
|
11866
11867
|
});
|
|
11867
|
-
class
|
|
11868
|
+
class Xc extends Gc(Ye(Ie)) {
|
|
11868
11869
|
static get template() {
|
|
11869
11870
|
return Ve`
|
|
11870
11871
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11972,13 +11973,13 @@ class Jc extends Kc(Ye(Ie)) {
|
|
|
11972
11973
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11973
11974
|
}
|
|
11974
11975
|
}
|
|
11975
|
-
be(
|
|
11976
|
+
be(Xc);
|
|
11976
11977
|
/**
|
|
11977
11978
|
* @license
|
|
11978
11979
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11979
11980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11980
11981
|
*/
|
|
11981
|
-
class
|
|
11982
|
+
class mr {
|
|
11982
11983
|
constructor(t, e) {
|
|
11983
11984
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11984
11985
|
}
|
|
@@ -12006,7 +12007,7 @@ class fr {
|
|
|
12006
12007
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12007
12008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12008
12009
|
*/
|
|
12009
|
-
const
|
|
12010
|
+
const Zc = (o) => class extends o {
|
|
12010
12011
|
static get properties() {
|
|
12011
12012
|
return {
|
|
12012
12013
|
scrollDuration: {
|
|
@@ -12134,7 +12135,7 @@ const Xc = (o) => class extends o {
|
|
|
12134
12135
|
}
|
|
12135
12136
|
/** @protected */
|
|
12136
12137
|
_addListeners() {
|
|
12137
|
-
|
|
12138
|
+
rr(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(
|
|
12138
12139
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12139
12140
|
"tap",
|
|
12140
12141
|
this._toggleYearScroller.bind(this)
|
|
@@ -12143,7 +12144,7 @@ const Xc = (o) => class extends o {
|
|
|
12143
12144
|
/** @protected */
|
|
12144
12145
|
_initControllers() {
|
|
12145
12146
|
this.addController(
|
|
12146
|
-
new
|
|
12147
|
+
new mr(this._desktopMediaQuery, (e) => {
|
|
12147
12148
|
this._desktopMode = e;
|
|
12148
12149
|
})
|
|
12149
12150
|
), this.addController(
|
|
@@ -12335,7 +12336,7 @@ const Xc = (o) => class extends o {
|
|
|
12335
12336
|
}
|
|
12336
12337
|
/** @protected */
|
|
12337
12338
|
_formatDisplayed(e, i, s) {
|
|
12338
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12339
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(Qi(e)) : s;
|
|
12339
12340
|
}
|
|
12340
12341
|
/** @private */
|
|
12341
12342
|
_onTodayTap() {
|
|
@@ -12452,7 +12453,7 @@ const Xc = (o) => class extends o {
|
|
|
12452
12453
|
}
|
|
12453
12454
|
/** @private */
|
|
12454
12455
|
_yearAfterXMonths(e) {
|
|
12455
|
-
return
|
|
12456
|
+
return cr(e).getFullYear();
|
|
12456
12457
|
}
|
|
12457
12458
|
/** @private */
|
|
12458
12459
|
_differenceInMonths(e, i) {
|
|
@@ -12557,14 +12558,14 @@ const Xc = (o) => class extends o {
|
|
|
12557
12558
|
}
|
|
12558
12559
|
async focusDateElement(e = !0) {
|
|
12559
12560
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12560
|
-
|
|
12561
|
-
|
|
12561
|
+
Ws(this, () => {
|
|
12562
|
+
eo(), i();
|
|
12562
12563
|
});
|
|
12563
12564
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12564
12565
|
}
|
|
12565
12566
|
/** @private */
|
|
12566
12567
|
_focusClosestDate(e) {
|
|
12567
|
-
this.focusDate(
|
|
12568
|
+
this.focusDate(lr(e, [this.minDate, this.maxDate]));
|
|
12568
12569
|
}
|
|
12569
12570
|
/** @private */
|
|
12570
12571
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12615,7 +12616,7 @@ const Xc = (o) => class extends o {
|
|
|
12615
12616
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12616
12617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12617
12618
|
*/
|
|
12618
|
-
const
|
|
12619
|
+
const Qc = P`
|
|
12619
12620
|
:host {
|
|
12620
12621
|
display: flex;
|
|
12621
12622
|
flex-direction: column;
|
|
@@ -12681,10 +12682,10 @@ const Zc = P`
|
|
|
12681
12682
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12682
12683
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12683
12684
|
*/
|
|
12684
|
-
L("vaadin-date-picker-overlay-content",
|
|
12685
|
+
L("vaadin-date-picker-overlay-content", Qc, {
|
|
12685
12686
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12686
12687
|
});
|
|
12687
|
-
class
|
|
12688
|
+
class eu extends Zc(
|
|
12688
12689
|
ot(Ye(jt(Ie)))
|
|
12689
12690
|
) {
|
|
12690
12691
|
static get template() {
|
|
@@ -12718,14 +12719,14 @@ class Qc extends Xc(
|
|
|
12718
12719
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12719
12720
|
}
|
|
12720
12721
|
}
|
|
12721
|
-
be(
|
|
12722
|
+
be(eu);
|
|
12722
12723
|
/**
|
|
12723
12724
|
* @license
|
|
12724
12725
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12725
12726
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12726
12727
|
*/
|
|
12727
|
-
const
|
|
12728
|
-
(o) => class extends
|
|
12728
|
+
const _r = V(
|
|
12729
|
+
(o) => class extends Zi(ar(o)) {
|
|
12729
12730
|
static get properties() {
|
|
12730
12731
|
return {
|
|
12731
12732
|
/**
|
|
@@ -12882,14 +12883,14 @@ const mr = V(
|
|
|
12882
12883
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12883
12884
|
*/
|
|
12884
12885
|
const ni = /* @__PURE__ */ new WeakMap();
|
|
12885
|
-
function
|
|
12886
|
+
function tu(o) {
|
|
12886
12887
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new Set()), ni.get(o);
|
|
12887
12888
|
}
|
|
12888
|
-
function
|
|
12889
|
+
function iu(o, t) {
|
|
12889
12890
|
const e = document.createElement("style");
|
|
12890
12891
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12891
12892
|
}
|
|
12892
|
-
const
|
|
12893
|
+
const ou = V(
|
|
12893
12894
|
(o) => class extends o {
|
|
12894
12895
|
/**
|
|
12895
12896
|
* List of styles to insert into root.
|
|
@@ -12904,9 +12905,9 @@ const iu = V(
|
|
|
12904
12905
|
}
|
|
12905
12906
|
/** @private */
|
|
12906
12907
|
__applySlotStyles() {
|
|
12907
|
-
const e = this.getRootNode(), i =
|
|
12908
|
+
const e = this.getRootNode(), i = tu(e);
|
|
12908
12909
|
this.slotStyles.forEach((s) => {
|
|
12909
|
-
i.has(s) || (
|
|
12910
|
+
i.has(s) || (iu(s, e), i.add(s));
|
|
12910
12911
|
});
|
|
12911
12912
|
}
|
|
12912
12913
|
}
|
|
@@ -12916,7 +12917,7 @@ const iu = V(
|
|
|
12916
12917
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12917
12918
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12918
12919
|
*/
|
|
12919
|
-
const
|
|
12920
|
+
const gr = V(
|
|
12920
12921
|
(o) => class extends o {
|
|
12921
12922
|
static get properties() {
|
|
12922
12923
|
return {
|
|
@@ -13120,7 +13121,7 @@ const _r = V(
|
|
|
13120
13121
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13121
13122
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13122
13123
|
*/
|
|
13123
|
-
const
|
|
13124
|
+
const su = (o) => class extends gr(Wt(o)) {
|
|
13124
13125
|
static get properties() {
|
|
13125
13126
|
return {
|
|
13126
13127
|
/**
|
|
@@ -13165,7 +13166,7 @@ const ou = (o) => class extends _r(Wt(o)) {
|
|
|
13165
13166
|
* @protected
|
|
13166
13167
|
*/
|
|
13167
13168
|
_onClearButtonMouseDown(e) {
|
|
13168
|
-
e.preventDefault(),
|
|
13169
|
+
e.preventDefault(), El || this.inputElement.focus();
|
|
13169
13170
|
}
|
|
13170
13171
|
/**
|
|
13171
13172
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13196,48 +13197,48 @@ const ou = (o) => class extends _r(Wt(o)) {
|
|
|
13196
13197
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13197
13198
|
*/
|
|
13198
13199
|
const ai = /* @__PURE__ */ new Map();
|
|
13199
|
-
function
|
|
13200
|
+
function oo(o) {
|
|
13200
13201
|
return ai.has(o) || ai.set(o, /* @__PURE__ */ new WeakMap()), ai.get(o);
|
|
13201
13202
|
}
|
|
13202
|
-
function
|
|
13203
|
+
function br(o, t) {
|
|
13203
13204
|
o && o.removeAttribute(t);
|
|
13204
13205
|
}
|
|
13205
|
-
function
|
|
13206
|
+
function vr(o, t) {
|
|
13206
13207
|
if (!o || !t)
|
|
13207
13208
|
return;
|
|
13208
|
-
const e =
|
|
13209
|
+
const e = oo(t);
|
|
13209
13210
|
if (e.has(o))
|
|
13210
13211
|
return;
|
|
13211
13212
|
const i = Wi(o.getAttribute(t));
|
|
13212
13213
|
e.set(o, new Set(i));
|
|
13213
13214
|
}
|
|
13214
|
-
function
|
|
13215
|
-
if (!o)
|
|
13215
|
+
function ru(o, t) {
|
|
13216
|
+
if (!o || !t)
|
|
13216
13217
|
return;
|
|
13217
|
-
const e =
|
|
13218
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13218
|
+
const e = oo(t), i = e.get(o);
|
|
13219
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Js(o, t, Ut(i)), e.delete(o);
|
|
13219
13220
|
}
|
|
13220
13221
|
function li(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13221
13222
|
if (!o || !t)
|
|
13222
13223
|
return;
|
|
13223
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13224
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = oo(t), a = n.get(o);
|
|
13224
13225
|
if (!r && a) {
|
|
13225
13226
|
s && a.delete(s), i && a.add(i);
|
|
13226
13227
|
return;
|
|
13227
13228
|
}
|
|
13228
|
-
r && (a ? i || n.delete(o) :
|
|
13229
|
+
r && (a ? i || n.delete(o) : vr(o, t), br(o, t)), Fl(o, t, s);
|
|
13229
13230
|
const l = i || Ut(a);
|
|
13230
|
-
l &&
|
|
13231
|
+
l && Js(o, t, l);
|
|
13231
13232
|
}
|
|
13232
|
-
function
|
|
13233
|
-
|
|
13233
|
+
function nu(o, t) {
|
|
13234
|
+
vr(o, t), br(o, t);
|
|
13234
13235
|
}
|
|
13235
13236
|
/**
|
|
13236
13237
|
* @license
|
|
13237
13238
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13238
13239
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13239
13240
|
*/
|
|
13240
|
-
class
|
|
13241
|
+
class au {
|
|
13241
13242
|
constructor(t) {
|
|
13242
13243
|
this.host = t, this.__required = !1;
|
|
13243
13244
|
}
|
|
@@ -13310,7 +13311,7 @@ class nu {
|
|
|
13310
13311
|
* @private
|
|
13311
13312
|
* */
|
|
13312
13313
|
__setAriaLabelToAttribute(t) {
|
|
13313
|
-
this.__target && (t ? (
|
|
13314
|
+
this.__target && (t ? (nu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (ru(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13314
13315
|
}
|
|
13315
13316
|
/**
|
|
13316
13317
|
* @param {string | null | undefined} labelId
|
|
@@ -13356,9 +13357,9 @@ pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13356
13357
|
pe.setAttribute("aria-live", "polite");
|
|
13357
13358
|
document.body.appendChild(pe);
|
|
13358
13359
|
let kt;
|
|
13359
|
-
function
|
|
13360
|
+
function lu(o, t = {}) {
|
|
13360
13361
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13361
|
-
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt,
|
|
13362
|
+
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt, Jl, () => {
|
|
13362
13363
|
pe.setAttribute("role", "alert");
|
|
13363
13364
|
})) : (kt && kt.cancel(), pe.removeAttribute("role"), pe.setAttribute("aria-live", e)), pe.textContent = "", setTimeout(() => {
|
|
13364
13365
|
pe.textContent = o;
|
|
@@ -13369,7 +13370,7 @@ function au(o, t = {}) {
|
|
|
13369
13370
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13370
13371
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13371
13372
|
*/
|
|
13372
|
-
class
|
|
13373
|
+
class so extends Re {
|
|
13373
13374
|
constructor(t, e, i, s = {}) {
|
|
13374
13375
|
super(t, e, i, { ...s, useUniqueId: !0 });
|
|
13375
13376
|
}
|
|
@@ -13484,7 +13485,7 @@ class oo extends Re {
|
|
|
13484
13485
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13485
13486
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13486
13487
|
*/
|
|
13487
|
-
class
|
|
13488
|
+
class cu extends so {
|
|
13488
13489
|
constructor(t) {
|
|
13489
13490
|
super(t, "error-message", "div");
|
|
13490
13491
|
}
|
|
@@ -13558,7 +13559,7 @@ class lu extends oo {
|
|
|
13558
13559
|
*/
|
|
13559
13560
|
updateDefaultNode(t) {
|
|
13560
13561
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13561
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13562
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && lu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13562
13563
|
}
|
|
13563
13564
|
}
|
|
13564
13565
|
/**
|
|
@@ -13566,7 +13567,7 @@ class lu extends oo {
|
|
|
13566
13567
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13567
13568
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13568
13569
|
*/
|
|
13569
|
-
class
|
|
13570
|
+
class uu extends so {
|
|
13570
13571
|
constructor(t) {
|
|
13571
13572
|
super(t, "helper", null);
|
|
13572
13573
|
}
|
|
@@ -13621,7 +13622,7 @@ class cu extends oo {
|
|
|
13621
13622
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13622
13623
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13623
13624
|
*/
|
|
13624
|
-
class
|
|
13625
|
+
class du extends so {
|
|
13625
13626
|
constructor(t) {
|
|
13626
13627
|
super(t, "label", "label");
|
|
13627
13628
|
}
|
|
@@ -13674,7 +13675,7 @@ class uu extends oo {
|
|
|
13674
13675
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13675
13676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13676
13677
|
*/
|
|
13677
|
-
const
|
|
13678
|
+
const hu = V(
|
|
13678
13679
|
(o) => class extends ot(o) {
|
|
13679
13680
|
static get properties() {
|
|
13680
13681
|
return {
|
|
@@ -13689,7 +13690,7 @@ const du = V(
|
|
|
13689
13690
|
};
|
|
13690
13691
|
}
|
|
13691
13692
|
constructor() {
|
|
13692
|
-
super(), this._labelController = new
|
|
13693
|
+
super(), this._labelController = new du(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13693
13694
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13694
13695
|
});
|
|
13695
13696
|
}
|
|
@@ -13789,7 +13790,7 @@ const yr = V(
|
|
|
13789
13790
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13790
13791
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13791
13792
|
*/
|
|
13792
|
-
const
|
|
13793
|
+
const pu = (o) => class extends yr(hu(ot(o))) {
|
|
13793
13794
|
static get properties() {
|
|
13794
13795
|
return {
|
|
13795
13796
|
/**
|
|
@@ -13839,7 +13840,7 @@ const hu = (o) => class extends yr(du(ot(o))) {
|
|
|
13839
13840
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13840
13841
|
}
|
|
13841
13842
|
constructor() {
|
|
13842
|
-
super(), this._fieldAriaController = new
|
|
13843
|
+
super(), this._fieldAriaController = new au(this), this._helperController = new uu(this), this._errorController = new cu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13843
13844
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13844
13845
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13845
13846
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13930,7 +13931,7 @@ const hu = (o) => class extends yr(du(ot(o))) {
|
|
|
13930
13931
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13931
13932
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13932
13933
|
*/
|
|
13933
|
-
const
|
|
13934
|
+
const fu = V(
|
|
13934
13935
|
(o) => class extends o {
|
|
13935
13936
|
static get properties() {
|
|
13936
13937
|
return {
|
|
@@ -14011,8 +14012,8 @@ const pu = V(
|
|
|
14011
14012
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14012
14013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14013
14014
|
*/
|
|
14014
|
-
const
|
|
14015
|
-
(o) => class extends
|
|
14015
|
+
const xr = V(
|
|
14016
|
+
(o) => class extends fu(yr(gr(o))) {
|
|
14016
14017
|
/**
|
|
14017
14018
|
* An array of attributes which participate in the input validation.
|
|
14018
14019
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14096,8 +14097,8 @@ const vr = V(
|
|
|
14096
14097
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14097
14098
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14098
14099
|
*/
|
|
14099
|
-
const
|
|
14100
|
-
|
|
14100
|
+
const mu = (o) => class extends ou(
|
|
14101
|
+
_r(xr(pu(su(Wt(o)))))
|
|
14101
14102
|
) {
|
|
14102
14103
|
static get properties() {
|
|
14103
14104
|
return {
|
|
@@ -14283,7 +14284,7 @@ const fu = (o) => class extends iu(
|
|
|
14283
14284
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14284
14285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14285
14286
|
*/
|
|
14286
|
-
class
|
|
14287
|
+
class _u extends Re {
|
|
14287
14288
|
constructor(t, e, i = {}) {
|
|
14288
14289
|
const { uniqueIdPrefix: s } = i;
|
|
14289
14290
|
super(t, "input", "input", {
|
|
@@ -14300,7 +14301,7 @@ class mu extends Re {
|
|
|
14300
14301
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14301
14302
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14302
14303
|
*/
|
|
14303
|
-
class
|
|
14304
|
+
class gu {
|
|
14304
14305
|
constructor(t, e) {
|
|
14305
14306
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14306
14307
|
this.__initLabel(i.detail.node);
|
|
@@ -14333,7 +14334,7 @@ class _u {
|
|
|
14333
14334
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14334
14335
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14335
14336
|
*/
|
|
14336
|
-
const
|
|
14337
|
+
const bu = P`
|
|
14337
14338
|
[part='clear-button'] {
|
|
14338
14339
|
display: none;
|
|
14339
14340
|
cursor: default;
|
|
@@ -14352,7 +14353,7 @@ const gu = P`
|
|
|
14352
14353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14353
14354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14354
14355
|
*/
|
|
14355
|
-
const
|
|
14356
|
+
const vu = P`
|
|
14356
14357
|
:host {
|
|
14357
14358
|
display: inline-flex;
|
|
14358
14359
|
outline: none;
|
|
@@ -14406,13 +14407,13 @@ const yu = P`
|
|
|
14406
14407
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14407
14408
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14408
14409
|
*/
|
|
14409
|
-
const
|
|
14410
|
+
const xu = [vu, yu, bu];
|
|
14410
14411
|
/**
|
|
14411
14412
|
* @license
|
|
14412
14413
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14413
14414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14414
14415
|
*/
|
|
14415
|
-
const
|
|
14416
|
+
const wu = (o) => class extends o {
|
|
14416
14417
|
static get properties() {
|
|
14417
14418
|
return {
|
|
14418
14419
|
/**
|
|
@@ -14459,7 +14460,7 @@ const xu = (o) => class extends o {
|
|
|
14459
14460
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14460
14461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14461
14462
|
*/
|
|
14462
|
-
class
|
|
14463
|
+
class Eu {
|
|
14463
14464
|
/**
|
|
14464
14465
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14465
14466
|
*/
|
|
@@ -14478,8 +14479,8 @@ class wu {
|
|
|
14478
14479
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14479
14480
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14480
14481
|
*/
|
|
14481
|
-
const
|
|
14482
|
-
ot(
|
|
14482
|
+
const Su = (o) => class extends wu(
|
|
14483
|
+
ot(_r(xr(Wt(o))))
|
|
14483
14484
|
) {
|
|
14484
14485
|
static get properties() {
|
|
14485
14486
|
return {
|
|
@@ -14684,7 +14685,7 @@ const Eu = (o) => class extends xu(
|
|
|
14684
14685
|
if (i.length === 3) {
|
|
14685
14686
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14686
14687
|
const l = this.referenceDate ? lt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14687
|
-
a =
|
|
14688
|
+
a = Sc(l, a, n, r);
|
|
14688
14689
|
}
|
|
14689
14690
|
} else
|
|
14690
14691
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14758,7 +14759,7 @@ const Eu = (o) => class extends xu(
|
|
|
14758
14759
|
/** @private */
|
|
14759
14760
|
_ios: {
|
|
14760
14761
|
type: Boolean,
|
|
14761
|
-
value:
|
|
14762
|
+
value: qs
|
|
14762
14763
|
},
|
|
14763
14764
|
/** @private */
|
|
14764
14765
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14858,10 +14859,10 @@ const Eu = (o) => class extends xu(
|
|
|
14858
14859
|
/** @protected */
|
|
14859
14860
|
ready() {
|
|
14860
14861
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14861
|
-
new
|
|
14862
|
+
new mr(this._fullscreenMediaQuery, (i) => {
|
|
14862
14863
|
this._fullscreen = i;
|
|
14863
14864
|
})
|
|
14864
|
-
), this.addController(new
|
|
14865
|
+
), this.addController(new Eu(this));
|
|
14865
14866
|
const e = this.$.overlay;
|
|
14866
14867
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14867
14868
|
}
|
|
@@ -14917,7 +14918,7 @@ const Eu = (o) => class extends xu(
|
|
|
14917
14918
|
*/
|
|
14918
14919
|
__formatDate(e) {
|
|
14919
14920
|
if (this.i18n.formatDate)
|
|
14920
|
-
return this.i18n.formatDate(
|
|
14921
|
+
return this.i18n.formatDate(Qi(e));
|
|
14921
14922
|
}
|
|
14922
14923
|
/**
|
|
14923
14924
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15019,7 +15020,7 @@ const Eu = (o) => class extends xu(
|
|
|
15019
15020
|
}
|
|
15020
15021
|
/** @private */
|
|
15021
15022
|
_formatISO(e) {
|
|
15022
|
-
return
|
|
15023
|
+
return Cc(e);
|
|
15023
15024
|
}
|
|
15024
15025
|
/** @protected */
|
|
15025
15026
|
_inputElementChanged(e) {
|
|
@@ -15085,12 +15086,12 @@ const Eu = (o) => class extends xu(
|
|
|
15085
15086
|
const r = this._nativeInput;
|
|
15086
15087
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15087
15088
|
const n = this._noInput ? e : [r, e];
|
|
15088
|
-
this.__showOthers =
|
|
15089
|
+
this.__showOthers = Ks(n);
|
|
15089
15090
|
}
|
|
15090
15091
|
/** @private */
|
|
15091
15092
|
_getInitialPosition() {
|
|
15092
15093
|
const e = lt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15093
|
-
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15094
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? lr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15094
15095
|
}
|
|
15095
15096
|
/**
|
|
15096
15097
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15251,7 +15252,7 @@ const Eu = (o) => class extends xu(
|
|
|
15251
15252
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15252
15253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15253
15254
|
*/
|
|
15254
|
-
const
|
|
15255
|
+
const Au = P`
|
|
15255
15256
|
:host([opened]) {
|
|
15256
15257
|
pointer-events: auto;
|
|
15257
15258
|
}
|
|
@@ -15270,8 +15271,8 @@ const Su = P`
|
|
|
15270
15271
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15271
15272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15272
15273
|
*/
|
|
15273
|
-
L("vaadin-date-picker", [
|
|
15274
|
-
class
|
|
15274
|
+
L("vaadin-date-picker", [xu, Au], { moduleId: "vaadin-date-picker-styles" });
|
|
15275
|
+
class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
15275
15276
|
static get is() {
|
|
15276
15277
|
return "vaadin-date-picker";
|
|
15277
15278
|
}
|
|
@@ -15331,7 +15332,7 @@ class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
|
15331
15332
|
/** @protected */
|
|
15332
15333
|
ready() {
|
|
15333
15334
|
super.ready(), this.addController(
|
|
15334
|
-
new
|
|
15335
|
+
new _u(
|
|
15335
15336
|
this,
|
|
15336
15337
|
(e) => {
|
|
15337
15338
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15343,7 +15344,7 @@ class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
|
15343
15344
|
uniqueIdPrefix: "search-input"
|
|
15344
15345
|
}
|
|
15345
15346
|
)
|
|
15346
|
-
), this.addController(new
|
|
15347
|
+
), this.addController(new gu(this.inputElement, this._labelController)), this._tooltipController = new tr(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));
|
|
15347
15348
|
}
|
|
15348
15349
|
/** @private */
|
|
15349
15350
|
_onVaadinOverlayClose(t) {
|
|
@@ -15359,12 +15360,12 @@ class Au extends Eu(fu(Ye(Zs(Ie)))) {
|
|
|
15359
15360
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15360
15361
|
}
|
|
15361
15362
|
}
|
|
15362
|
-
be(
|
|
15363
|
-
var
|
|
15363
|
+
be(Cu);
|
|
15364
|
+
var wr = { exports: {} };
|
|
15364
15365
|
(function(o, t) {
|
|
15365
15366
|
(function(e, i) {
|
|
15366
15367
|
o.exports = i();
|
|
15367
|
-
})(
|
|
15368
|
+
})(Ar, function() {
|
|
15368
15369
|
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) {
|
|
15369
15370
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15370
15371
|
}, c = function(p) {
|
|
@@ -15375,23 +15376,23 @@ var xr = { exports: {} };
|
|
|
15375
15376
|
(this.zone || (this.zone = {})).offset = function(g) {
|
|
15376
15377
|
if (!g || g === "Z")
|
|
15377
15378
|
return 0;
|
|
15378
|
-
var
|
|
15379
|
-
return
|
|
15379
|
+
var y = g.match(/([+-]|\d\d)/g), v = 60 * y[1] + (+y[2] || 0);
|
|
15380
|
+
return v === 0 ? 0 : y[0] === "+" ? -v : v;
|
|
15380
15381
|
}(p);
|
|
15381
15382
|
}], d = function(p) {
|
|
15382
15383
|
var g = a[p];
|
|
15383
15384
|
return g && (g.indexOf ? g : g.s.concat(g.f));
|
|
15384
15385
|
}, h = function(p, g) {
|
|
15385
|
-
var
|
|
15386
|
-
if (
|
|
15386
|
+
var y, v = a.meridiem;
|
|
15387
|
+
if (v) {
|
|
15387
15388
|
for (var C = 1; C <= 24; C += 1)
|
|
15388
|
-
if (p.indexOf(
|
|
15389
|
-
|
|
15389
|
+
if (p.indexOf(v(C, 0, g)) > -1) {
|
|
15390
|
+
y = C > 12;
|
|
15390
15391
|
break;
|
|
15391
15392
|
}
|
|
15392
15393
|
} else
|
|
15393
|
-
|
|
15394
|
-
return
|
|
15394
|
+
y = p === (g ? "pm" : "PM");
|
|
15395
|
+
return y;
|
|
15395
15396
|
}, m = { A: [n, function(p) {
|
|
15396
15397
|
this.afternoon = h(p, !1);
|
|
15397
15398
|
}], a: [n, function(p) {
|
|
@@ -15403,17 +15404,17 @@ var xr = { exports: {} };
|
|
|
15403
15404
|
}], SSS: [/\d{3}/, function(p) {
|
|
15404
15405
|
this.milliseconds = +p;
|
|
15405
15406
|
}], 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) {
|
|
15406
|
-
var g = a.ordinal,
|
|
15407
|
-
if (this.day =
|
|
15408
|
-
for (var
|
|
15409
|
-
g(
|
|
15407
|
+
var g = a.ordinal, y = p.match(/\d+/);
|
|
15408
|
+
if (this.day = y[0], g)
|
|
15409
|
+
for (var v = 1; v <= 31; v += 1)
|
|
15410
|
+
g(v).replace(/\[|\]/g, "") === p && (this.day = v);
|
|
15410
15411
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15411
|
-
var g = d("months"),
|
|
15412
|
-
return
|
|
15412
|
+
var g = d("months"), y = (d("monthsShort") || g.map(function(v) {
|
|
15413
|
+
return v.slice(0, 3);
|
|
15413
15414
|
})).indexOf(p) + 1;
|
|
15414
|
-
if (
|
|
15415
|
+
if (y < 1)
|
|
15415
15416
|
throw new Error();
|
|
15416
|
-
this.month =
|
|
15417
|
+
this.month = y % 12 || y;
|
|
15417
15418
|
}], MMMM: [n, function(p) {
|
|
15418
15419
|
var g = d("months").indexOf(p) + 1;
|
|
15419
15420
|
if (g < 1)
|
|
@@ -15423,20 +15424,20 @@ var xr = { exports: {} };
|
|
|
15423
15424
|
this.year = l(p);
|
|
15424
15425
|
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15425
15426
|
function b(p) {
|
|
15426
|
-
var g,
|
|
15427
|
-
g = p,
|
|
15428
|
-
for (var
|
|
15427
|
+
var g, y;
|
|
15428
|
+
g = p, y = a && a.formats;
|
|
15429
|
+
for (var v = (p = g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T, F) {
|
|
15429
15430
|
var N = F && F.toUpperCase();
|
|
15430
|
-
return T ||
|
|
15431
|
+
return T || y[F] || e[F] || y[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(J, B, le) {
|
|
15431
15432
|
return B || le.slice(1);
|
|
15432
15433
|
});
|
|
15433
|
-
})).match(i), C =
|
|
15434
|
-
var k =
|
|
15435
|
-
|
|
15434
|
+
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15435
|
+
var k = v[A], G = m[k], U = G && G[0], $ = G && G[1];
|
|
15436
|
+
v[A] = $ ? { regex: U, parser: $ } : k.replace(/^\[|\]$/g, "");
|
|
15436
15437
|
}
|
|
15437
15438
|
return function(R) {
|
|
15438
15439
|
for (var T = {}, F = 0, N = 0; F < C; F += 1) {
|
|
15439
|
-
var J =
|
|
15440
|
+
var J = v[F];
|
|
15440
15441
|
if (typeof J == "string")
|
|
15441
15442
|
N += J.length;
|
|
15442
15443
|
else {
|
|
@@ -15453,23 +15454,23 @@ var xr = { exports: {} };
|
|
|
15453
15454
|
}(T), T;
|
|
15454
15455
|
};
|
|
15455
15456
|
}
|
|
15456
|
-
return function(p, g,
|
|
15457
|
-
|
|
15458
|
-
var
|
|
15459
|
-
|
|
15457
|
+
return function(p, g, y) {
|
|
15458
|
+
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15459
|
+
var v = g.prototype, C = v.parse;
|
|
15460
|
+
v.parse = function(A) {
|
|
15460
15461
|
var k = A.date, G = A.utc, U = A.args;
|
|
15461
15462
|
this.$u = G;
|
|
15462
15463
|
var $ = U[1];
|
|
15463
15464
|
if (typeof $ == "string") {
|
|
15464
15465
|
var R = U[2] === !0, T = U[3] === !0, F = R || T, N = U[2];
|
|
15465
|
-
T && (N = U[2]), a = this.$locale(), !R && N && (a =
|
|
15466
|
+
T && (N = U[2]), a = this.$locale(), !R && N && (a = y.Ls[N]), this.$d = function(he, q, Q) {
|
|
15466
15467
|
try {
|
|
15467
15468
|
if (["x", "X"].indexOf(q) > -1)
|
|
15468
15469
|
return new Date((q === "X" ? 1e3 : 1) * he);
|
|
15469
|
-
var Y = b(q)(he), H = Y.year, ee = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds,
|
|
15470
|
-
H && !ee || (O = ee > 0 ? ee - 1 :
|
|
15470
|
+
var Y = b(q)(he), H = Y.year, ee = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds, ve = Y.zone, ye = /* @__PURE__ */ new Date(), te = fe || (H || ee ? 1 : ye.getDate()), ce = H || ye.getFullYear(), O = 0;
|
|
15471
|
+
H && !ee || (O = ee > 0 ? ee - 1 : ye.getMonth());
|
|
15471
15472
|
var z = Pe || 0, xe = ke || 0, me = De || 0, X = Te || 0;
|
|
15472
|
-
return
|
|
15473
|
+
return ve ? new Date(Date.UTC(ce, O, te, z, xe, me, X + 60 * ve.offset * 1e3)) : Q ? new Date(Date.UTC(ce, O, te, z, xe, me, X)) : new Date(ce, O, te, z, xe, me, X);
|
|
15473
15474
|
} catch {
|
|
15474
15475
|
return /* @__PURE__ */ new Date("");
|
|
15475
15476
|
}
|
|
@@ -15477,7 +15478,7 @@ var xr = { exports: {} };
|
|
|
15477
15478
|
} else if ($ instanceof Array)
|
|
15478
15479
|
for (var J = $.length, B = 1; B <= J; B += 1) {
|
|
15479
15480
|
U[1] = $[B - 1];
|
|
15480
|
-
var le =
|
|
15481
|
+
var le = y.apply(this, U);
|
|
15481
15482
|
if (le.isValid()) {
|
|
15482
15483
|
this.$d = le.$d, this.$L = le.$L, this.init();
|
|
15483
15484
|
break;
|
|
@@ -15489,16 +15490,16 @@ var xr = { exports: {} };
|
|
|
15489
15490
|
};
|
|
15490
15491
|
};
|
|
15491
15492
|
});
|
|
15492
|
-
})(
|
|
15493
|
-
var
|
|
15494
|
-
const
|
|
15495
|
-
function
|
|
15496
|
-
|
|
15493
|
+
})(wr);
|
|
15494
|
+
var Pu = wr.exports;
|
|
15495
|
+
const ku = /* @__PURE__ */ Cr(Pu);
|
|
15496
|
+
function Ko(o, t) {
|
|
15497
|
+
Pr(o, t);
|
|
15497
15498
|
}
|
|
15498
|
-
function
|
|
15499
|
-
|
|
15499
|
+
function Du(o) {
|
|
15500
|
+
kr.set(o);
|
|
15500
15501
|
}
|
|
15501
|
-
const
|
|
15502
|
+
const Go = {
|
|
15502
15503
|
en: {
|
|
15503
15504
|
titleSelfExclusion: "Self-Exclusion",
|
|
15504
15505
|
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.",
|
|
@@ -15874,14 +15875,14 @@ const Ko = {
|
|
|
15874
15875
|
InvalidSession: "Oturum süresi doldu."
|
|
15875
15876
|
}
|
|
15876
15877
|
};
|
|
15877
|
-
function
|
|
15878
|
-
|
|
15878
|
+
function Tu(o) {
|
|
15879
|
+
Ir(o, "svelte-gvegix", '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{border-radius:var(--emw--border-radius-medium, 10px);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:var(--emw--border-radius-medium, 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 p{font-size:16px}.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}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;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:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.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}}');
|
|
15879
15880
|
}
|
|
15880
|
-
function
|
|
15881
|
+
function Jo(o, t, e) {
|
|
15881
15882
|
const i = o.slice();
|
|
15882
15883
|
return i[56] = t[e], i;
|
|
15883
15884
|
}
|
|
15884
|
-
function
|
|
15885
|
+
function Mu(o) {
|
|
15885
15886
|
let t, e, i, s, r = (
|
|
15886
15887
|
/*$_*/
|
|
15887
15888
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -15906,49 +15907,49 @@ function Tu(o) {
|
|
|
15906
15907
|
), d, h, m = (
|
|
15907
15908
|
/*$_*/
|
|
15908
15909
|
o[22]("selfExclusionEmailText") + ""
|
|
15909
|
-
), b, p, g,
|
|
15910
|
+
), b, p, g, y, v, C, A, k, G, U = (
|
|
15910
15911
|
/*$_*/
|
|
15911
15912
|
o[22](`${/*selectedPeriodKey*/
|
|
15912
15913
|
o[15]}`) + ""
|
|
15913
15914
|
), $, R, T, F, N, J, B, le, he, q, Q, Y, H, ee = (
|
|
15914
15915
|
/*$_*/
|
|
15915
15916
|
o[22]("save") + ""
|
|
15916
|
-
), fe, Pe, ke, De, Te,
|
|
15917
|
+
), fe, Pe, ke, De, Te, ve, ye, te = (
|
|
15917
15918
|
/*isMobile*/
|
|
15918
|
-
o[24] &&
|
|
15919
|
-
), ce =
|
|
15919
|
+
o[24] && Iu(o)
|
|
15920
|
+
), ce = no(
|
|
15920
15921
|
/*selfExclusionPeriods*/
|
|
15921
15922
|
o[11]
|
|
15922
15923
|
), O = [];
|
|
15923
15924
|
for (let x = 0; x < ce.length; x += 1)
|
|
15924
|
-
O[x] = Jo(
|
|
15925
|
+
O[x] = Xo(Jo(o, ce, x));
|
|
15925
15926
|
let z = (
|
|
15926
15927
|
/*isUntilDate*/
|
|
15927
|
-
o[18] &&
|
|
15928
|
+
o[18] && Zo(o)
|
|
15928
15929
|
);
|
|
15929
15930
|
function xe(x, M) {
|
|
15930
15931
|
return (
|
|
15931
15932
|
/*isPermanentSelfExclusion*/
|
|
15932
|
-
x[17] ?
|
|
15933
|
+
x[17] ? zu : (
|
|
15933
15934
|
/*isDateSelected*/
|
|
15934
|
-
x[19] ?
|
|
15935
|
+
x[19] ? Fu : Nu
|
|
15935
15936
|
)
|
|
15936
15937
|
);
|
|
15937
15938
|
}
|
|
15938
15939
|
let me = xe(o), X = me(o), _e = (
|
|
15939
15940
|
/*showConfirmationModal*/
|
|
15940
|
-
o[25] &&
|
|
15941
|
+
o[25] && Lu(o)
|
|
15941
15942
|
);
|
|
15942
15943
|
return {
|
|
15943
15944
|
c() {
|
|
15944
|
-
t = w("div"), e = w("form"), te && te.c(), i = I(), s = w("h2"), n = re(r), a = I(), l = w("div"), c = w("p"), d = I(), h = w("p"), b = re(m), p = I(), g = w("a"),
|
|
15945
|
+
t = w("div"), e = w("form"), te && te.c(), i = I(), s = w("h2"), n = re(r), a = I(), l = w("div"), c = w("p"), d = I(), h = w("p"), b = re(m), p = I(), g = w("a"), y = re(
|
|
15945
15946
|
/*supportemail*/
|
|
15946
15947
|
o[4]
|
|
15947
15948
|
), C = I(), A = w("div"), k = w("div"), G = w("p"), $ = re(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), J = I(), B = w("div");
|
|
15948
15949
|
for (let x = 0; x < O.length; x += 1)
|
|
15949
15950
|
O[x].c();
|
|
15950
|
-
le = I(), z && z.c(), he = I(), q = w("div"), X.c(), Q = I(), Y = w("div"), H = w("button"), fe = re(ee), De = I(), _e && _e.c(), Te =
|
|
15951
|
-
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href",
|
|
15951
|
+
le = I(), z && z.c(), he = I(), q = w("div"), X.c(), Q = I(), Y = w("div"), H = w("button"), fe = re(ee), De = I(), _e && _e.c(), Te = Hr(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15952
|
+
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", v = "mailto:" + /*supportemail*/
|
|
15952
15953
|
o[4]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15953
15954
|
(o[24] ? "SelfExclusionDescriptionMobile" : "")), E(N, "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(N, "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"), Ue(
|
|
15954
15955
|
T,
|
|
@@ -15974,10 +15975,10 @@ function Tu(o) {
|
|
|
15974
15975
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15975
15976
|
},
|
|
15976
15977
|
m(x, M) {
|
|
15977
|
-
ne(x, t, M), f(t, e), te && te.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,
|
|
15978
|
+
ne(x, t, M), f(t, e), te && te.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, y), f(e, C), f(e, A), f(A, k), f(k, G), f(G, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, J), f(A, B);
|
|
15978
15979
|
for (let j = 0; j < O.length; j += 1)
|
|
15979
15980
|
O[j] && O[j].m(B, null);
|
|
15980
|
-
f(e, le), z && z.m(e, null), f(e, he), f(e, q), X.m(q, null), f(e, Q), f(e, Y), f(Y, H), f(H, fe), ne(x, De, M), _e && _e.m(x, M), ne(x, Te, M),
|
|
15981
|
+
f(e, le), z && z.m(e, null), f(e, he), f(e, q), X.m(q, null), f(e, Q), f(e, Y), f(Y, H), f(H, fe), ne(x, De, M), _e && _e.m(x, M), ne(x, Te, M), ve || (ye = [
|
|
15981
15982
|
Mt(
|
|
15982
15983
|
k,
|
|
15983
15984
|
"click",
|
|
@@ -15990,7 +15991,7 @@ function Tu(o) {
|
|
|
15990
15991
|
/*click_handler_3*/
|
|
15991
15992
|
o[40]
|
|
15992
15993
|
)
|
|
15993
|
-
],
|
|
15994
|
+
], ve = !0);
|
|
15994
15995
|
},
|
|
15995
15996
|
p(x, M) {
|
|
15996
15997
|
if (
|
|
@@ -16018,12 +16019,12 @@ function Tu(o) {
|
|
|
16018
16019
|
4194304 && m !== (m = /*$_*/
|
|
16019
16020
|
x[22]("selfExclusionEmailText") + "") && de(b, m), M[0] & /*supportemail*/
|
|
16020
16021
|
16 && de(
|
|
16021
|
-
|
|
16022
|
+
y,
|
|
16022
16023
|
/*supportemail*/
|
|
16023
16024
|
x[4]
|
|
16024
16025
|
), M[0] & /*supportemail*/
|
|
16025
|
-
16 &&
|
|
16026
|
-
x[4]) && E(g, "href",
|
|
16026
|
+
16 && v !== (v = "mailto:" + /*supportemail*/
|
|
16027
|
+
x[4]) && E(g, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
16027
16028
|
4227072 && U !== (U = /*$_*/
|
|
16028
16029
|
x[22](`${/*selectedPeriodKey*/
|
|
16029
16030
|
x[15]}`) + "") && de($, U), M[0] & /*isPeriodDropDownToggled*/
|
|
@@ -16035,14 +16036,14 @@ function Tu(o) {
|
|
|
16035
16036
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16036
16037
|
138414080
|
|
16037
16038
|
) {
|
|
16038
|
-
ce =
|
|
16039
|
+
ce = no(
|
|
16039
16040
|
/*selfExclusionPeriods*/
|
|
16040
16041
|
x[11]
|
|
16041
16042
|
);
|
|
16042
16043
|
let j;
|
|
16043
16044
|
for (j = 0; j < ce.length; j += 1) {
|
|
16044
|
-
const Et =
|
|
16045
|
-
O[j] ? O[j].p(Et, M) : (O[j] =
|
|
16045
|
+
const Et = Jo(x, ce, j);
|
|
16046
|
+
O[j] ? O[j].p(Et, M) : (O[j] = Xo(Et), O[j].c(), O[j].m(B, null));
|
|
16046
16047
|
}
|
|
16047
16048
|
for (; j < O.length; j += 1)
|
|
16048
16049
|
O[j].d(1);
|
|
@@ -16061,7 +16062,7 @@ function Tu(o) {
|
|
|
16061
16062
|
/*isPeriodDropDownToggled*/
|
|
16062
16063
|
x[20]
|
|
16063
16064
|
), /*isUntilDate*/
|
|
16064
|
-
x[18] ? z ? z.p(x, M) : (z =
|
|
16065
|
+
x[18] ? z ? z.p(x, M) : (z = Zo(x), z.c(), z.m(e, he)) : z && (z.d(1), z = null), me === (me = xe(x)) && X ? X.p(x, M) : (X.d(1), X = me(x), X && (X.c(), X.m(q, null))), M[0] & /*$_*/
|
|
16065
16066
|
4194304 && ee !== (ee = /*$_*/
|
|
16066
16067
|
x[22]("save") + "") && de(fe, ee), M[0] & /*isDateSelected*/
|
|
16067
16068
|
524288 && Pe !== (Pe = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16071,22 +16072,22 @@ function Tu(o) {
|
|
|
16071
16072
|
x[25] && _e.p(x, M);
|
|
16072
16073
|
},
|
|
16073
16074
|
d(x) {
|
|
16074
|
-
x && (ae(t), ae(De), ae(Te)), te && te.d(),
|
|
16075
|
+
x && (ae(t), ae(De), ae(Te)), te && te.d(), $r(O, x), z && z.d(), X.d(), _e && _e.d(x), ve = !1, Yr(ye);
|
|
16075
16076
|
}
|
|
16076
16077
|
};
|
|
16077
16078
|
}
|
|
16078
|
-
function
|
|
16079
|
-
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g,
|
|
16079
|
+
function Ou(o) {
|
|
16080
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, k;
|
|
16080
16081
|
function G(R, T) {
|
|
16081
16082
|
return (
|
|
16082
16083
|
/*isMobile*/
|
|
16083
|
-
R[24] ?
|
|
16084
|
+
R[24] ? Bu : Ru
|
|
16084
16085
|
);
|
|
16085
16086
|
}
|
|
16086
16087
|
let $ = G(o)(o);
|
|
16087
16088
|
return {
|
|
16088
16089
|
c() {
|
|
16089
|
-
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"), u = I(), d = w("div"), h = I(), m = w("div"), b = w("ui-skeleton"), p = I(), g = w("div"),
|
|
16090
|
+
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"), u = I(), d = w("div"), h = I(), m = w("div"), b = w("ui-skeleton"), p = I(), g = w("div"), y = I(), v = w("ui-skeleton"), C = I(), A = w("div"), k = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16090
16091
|
r,
|
|
16091
16092
|
"height",
|
|
16092
16093
|
/*isMobile*/
|
|
@@ -16126,12 +16127,12 @@ function Mu(o) {
|
|
|
16126
16127
|
"height",
|
|
16127
16128
|
/*isMobile*/
|
|
16128
16129
|
o[24] ? "15px" : "20px"
|
|
16129
|
-
), S(
|
|
16130
|
-
|
|
16130
|
+
), S(v, "structure", "text"), S(
|
|
16131
|
+
v,
|
|
16131
16132
|
"height",
|
|
16132
16133
|
/*isMobile*/
|
|
16133
16134
|
o[24] ? "15px" : "20px"
|
|
16134
|
-
), S(
|
|
16135
|
+
), S(v, "width", "30%"), E(m, "class", "SelfExclusionConfig"), S(k, "structure", "rectangle"), S(k, "width", "100%"), S(
|
|
16135
16136
|
k,
|
|
16136
16137
|
"height",
|
|
16137
16138
|
/*isMobile*/
|
|
@@ -16141,7 +16142,7 @@ function Mu(o) {
|
|
|
16141
16142
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16142
16143
|
},
|
|
16143
16144
|
m(R, T) {
|
|
16144
|
-
ne(R, t, T), f(t, e), $.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,
|
|
16145
|
+
ne(R, t, T), f(t, e), $.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, y), f(m, v), f(e, C), f(e, A), f(A, k);
|
|
16145
16146
|
},
|
|
16146
16147
|
p: ci,
|
|
16147
16148
|
d(R) {
|
|
@@ -16149,7 +16150,7 @@ function Mu(o) {
|
|
|
16149
16150
|
}
|
|
16150
16151
|
};
|
|
16151
16152
|
}
|
|
16152
|
-
function
|
|
16153
|
+
function Iu(o) {
|
|
16153
16154
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16154
16155
|
/*$_*/
|
|
16155
16156
|
o[22]("titleSelfExclusion") + ""
|
|
@@ -16176,7 +16177,7 @@ function Ou(o) {
|
|
|
16176
16177
|
}
|
|
16177
16178
|
};
|
|
16178
16179
|
}
|
|
16179
|
-
function
|
|
16180
|
+
function Xo(o) {
|
|
16180
16181
|
let t, e = (
|
|
16181
16182
|
/*$_*/
|
|
16182
16183
|
o[22](`${/*period*/
|
|
@@ -16209,7 +16210,7 @@ function Jo(o) {
|
|
|
16209
16210
|
}
|
|
16210
16211
|
};
|
|
16211
16212
|
}
|
|
16212
|
-
function
|
|
16213
|
+
function Zo(o) {
|
|
16213
16214
|
let t, e, i = (
|
|
16214
16215
|
/*$_*/
|
|
16215
16216
|
o[22]("duration") + ""
|
|
@@ -16273,7 +16274,7 @@ function Xo(o) {
|
|
|
16273
16274
|
}
|
|
16274
16275
|
};
|
|
16275
16276
|
}
|
|
16276
|
-
function
|
|
16277
|
+
function Fu(o) {
|
|
16277
16278
|
let t, e, i = (
|
|
16278
16279
|
/*$_*/
|
|
16279
16280
|
o[22]("temporarySelfExclusion", {
|
|
@@ -16315,7 +16316,7 @@ function Iu(o) {
|
|
|
16315
16316
|
}
|
|
16316
16317
|
};
|
|
16317
16318
|
}
|
|
16318
|
-
function
|
|
16319
|
+
function Nu(o) {
|
|
16319
16320
|
let t, e, i = (
|
|
16320
16321
|
/*$_*/
|
|
16321
16322
|
o[22]("noPeriodSelected") + ""
|
|
@@ -16337,7 +16338,7 @@ function Fu(o) {
|
|
|
16337
16338
|
}
|
|
16338
16339
|
};
|
|
16339
16340
|
}
|
|
16340
|
-
function
|
|
16341
|
+
function zu(o) {
|
|
16341
16342
|
let t, e, i = (
|
|
16342
16343
|
/*$_*/
|
|
16343
16344
|
o[22]("permanentSelfExclusion") + ""
|
|
@@ -16359,7 +16360,7 @@ function Nu(o) {
|
|
|
16359
16360
|
}
|
|
16360
16361
|
};
|
|
16361
16362
|
}
|
|
16362
|
-
function
|
|
16363
|
+
function Lu(o) {
|
|
16363
16364
|
let t, e, i, s;
|
|
16364
16365
|
return {
|
|
16365
16366
|
c() {
|
|
@@ -16474,7 +16475,7 @@ function zu(o) {
|
|
|
16474
16475
|
}
|
|
16475
16476
|
};
|
|
16476
16477
|
}
|
|
16477
|
-
function
|
|
16478
|
+
function Ru(o) {
|
|
16478
16479
|
let t;
|
|
16479
16480
|
return {
|
|
16480
16481
|
c() {
|
|
@@ -16488,7 +16489,7 @@ function Lu(o) {
|
|
|
16488
16489
|
}
|
|
16489
16490
|
};
|
|
16490
16491
|
}
|
|
16491
|
-
function
|
|
16492
|
+
function Bu(o) {
|
|
16492
16493
|
let t;
|
|
16493
16494
|
return {
|
|
16494
16495
|
c() {
|
|
@@ -16502,12 +16503,12 @@ function Ru(o) {
|
|
|
16502
16503
|
}
|
|
16503
16504
|
};
|
|
16504
16505
|
}
|
|
16505
|
-
function
|
|
16506
|
+
function Hu(o) {
|
|
16506
16507
|
let t;
|
|
16507
16508
|
function e(r, n) {
|
|
16508
16509
|
return (
|
|
16509
16510
|
/*skeletonLoading*/
|
|
16510
|
-
r[21] ?
|
|
16511
|
+
r[21] ? Ou : Mu
|
|
16511
16512
|
);
|
|
16512
16513
|
}
|
|
16513
16514
|
let i = e(o), s = i(o);
|
|
@@ -16528,21 +16529,21 @@ function Bu(o) {
|
|
|
16528
16529
|
}
|
|
16529
16530
|
};
|
|
16530
16531
|
}
|
|
16531
|
-
function
|
|
16532
|
+
function $u(o, t, e) {
|
|
16532
16533
|
let i;
|
|
16533
|
-
|
|
16534
|
-
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:
|
|
16534
|
+
Fr(o, jr, (_) => e(22, i = _)), Ee.extend(ku);
|
|
16535
|
+
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: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", J = "selectAPeriod", B = "", le = "", he = Nr($) !== "PC", q = !1, Q = !1, Y = !1, H = !1, ee = g === "true", fe = !0;
|
|
16535
16536
|
const Pe = () => {
|
|
16536
16537
|
fetch(p).then((Z) => Z.json()).then((Z) => {
|
|
16537
16538
|
Object.keys(Z).forEach((ie) => {
|
|
16538
|
-
|
|
16539
|
+
Ko(ie, Z[ie]);
|
|
16539
16540
|
});
|
|
16540
16541
|
}).catch((Z) => {
|
|
16541
16542
|
console.log(Z);
|
|
16542
16543
|
});
|
|
16543
16544
|
};
|
|
16544
|
-
Object.keys(
|
|
16545
|
-
|
|
16545
|
+
Object.keys(Go).forEach((_) => {
|
|
16546
|
+
Ko(_, Go[_]);
|
|
16546
16547
|
});
|
|
16547
16548
|
const ke = () => {
|
|
16548
16549
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16574,9 +16575,9 @@ function Hu(o, t, e) {
|
|
|
16574
16575
|
throw new Error(Z);
|
|
16575
16576
|
}
|
|
16576
16577
|
return _.json();
|
|
16577
|
-
},
|
|
16578
|
+
}, ve = () => {
|
|
16578
16579
|
e(20, H = !H);
|
|
16579
|
-
},
|
|
16580
|
+
}, ye = (_) => {
|
|
16580
16581
|
switch (N = _.text, e(15, J = _.key), e(19, Y = !0), e(20, H = !1), e(17, q = !1), e(18, Q = !1), N) {
|
|
16581
16582
|
case "Until":
|
|
16582
16583
|
e(18, Q = !0), e(12, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(13, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(14, F = R);
|
|
@@ -16623,7 +16624,7 @@ function Hu(o, t, e) {
|
|
|
16623
16624
|
period: J,
|
|
16624
16625
|
expiryDate: F,
|
|
16625
16626
|
selfExclusionReason: "UserRequest",
|
|
16626
|
-
sendNotificationEmail:
|
|
16627
|
+
sendNotificationEmail: v === "true"
|
|
16627
16628
|
}
|
|
16628
16629
|
})
|
|
16629
16630
|
};
|
|
@@ -16680,32 +16681,32 @@ function Hu(o, t, e) {
|
|
|
16680
16681
|
A
|
|
16681
16682
|
);
|
|
16682
16683
|
};
|
|
16683
|
-
|
|
16684
|
+
zr(() => (window.addEventListener("message", De, !1), () => {
|
|
16684
16685
|
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16685
16686
|
}));
|
|
16686
16687
|
const X = () => {
|
|
16687
|
-
|
|
16688
|
-
}, _e = () => z(), x = () =>
|
|
16688
|
+
Du(a);
|
|
16689
|
+
}, _e = () => z(), x = () => ve(), M = (_) => ye(_);
|
|
16689
16690
|
function j(_) {
|
|
16690
|
-
|
|
16691
|
+
ro[_ ? "unshift" : "push"](() => {
|
|
16691
16692
|
A = _, e(10, A);
|
|
16692
16693
|
});
|
|
16693
16694
|
}
|
|
16694
16695
|
const Et = (_) => ce(_);
|
|
16695
|
-
function
|
|
16696
|
-
|
|
16696
|
+
function Sr(_) {
|
|
16697
|
+
ro[_ ? "unshift" : "push"](() => {
|
|
16697
16698
|
C = _, e(9, C);
|
|
16698
16699
|
});
|
|
16699
16700
|
}
|
|
16700
16701
|
return o.$$set = (_) => {
|
|
16701
|
-
"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,
|
|
16702
|
+
"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, y = _.dateformat), "sendnotificationemail" in _ && e(35, v = _.sendnotificationemail);
|
|
16702
16703
|
}, o.$$.update = () => {
|
|
16703
16704
|
o.$$.dirty[0] & /*lang*/
|
|
16704
16705
|
4 && a && X(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16705
16706
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
16706
16707
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16707
16708
|
1024 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16708
|
-
576 && h && C &&
|
|
16709
|
+
576 && h && C && Br(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16709
16710
|
640 && m && C && Lr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16710
16711
|
768 && b && C && Rr(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16711
16712
|
2 && p && Pe();
|
|
@@ -16736,32 +16737,32 @@ function Hu(o, t, e) {
|
|
|
16736
16737
|
k,
|
|
16737
16738
|
he,
|
|
16738
16739
|
ee,
|
|
16739
|
-
ye,
|
|
16740
16740
|
ve,
|
|
16741
|
+
ye,
|
|
16741
16742
|
ce,
|
|
16742
16743
|
z,
|
|
16743
16744
|
s,
|
|
16744
16745
|
l,
|
|
16745
16746
|
p,
|
|
16746
16747
|
g,
|
|
16747
|
-
v,
|
|
16748
16748
|
y,
|
|
16749
|
+
v,
|
|
16749
16750
|
_e,
|
|
16750
16751
|
x,
|
|
16751
16752
|
M,
|
|
16752
16753
|
j,
|
|
16753
16754
|
Et,
|
|
16754
|
-
|
|
16755
|
+
Sr
|
|
16755
16756
|
];
|
|
16756
16757
|
}
|
|
16757
|
-
class
|
|
16758
|
+
class Er extends Dr {
|
|
16758
16759
|
constructor(t) {
|
|
16759
|
-
super(),
|
|
16760
|
+
super(), Tr(
|
|
16760
16761
|
this,
|
|
16761
16762
|
t,
|
|
16763
|
+
$u,
|
|
16762
16764
|
Hu,
|
|
16763
|
-
|
|
16764
|
-
Mr,
|
|
16765
|
+
Or,
|
|
16765
16766
|
{
|
|
16766
16767
|
endpoint: 30,
|
|
16767
16768
|
session: 0,
|
|
@@ -16779,7 +16780,7 @@ class wr extends kr {
|
|
|
16779
16780
|
dateformat: 34,
|
|
16780
16781
|
sendnotificationemail: 35
|
|
16781
16782
|
},
|
|
16782
|
-
|
|
16783
|
+
Tu,
|
|
16783
16784
|
[-1, -1]
|
|
16784
16785
|
);
|
|
16785
16786
|
}
|
|
@@ -16874,12 +16875,12 @@ class wr extends kr {
|
|
|
16874
16875
|
this.$$set({ sendnotificationemail: t }), oe();
|
|
16875
16876
|
}
|
|
16876
16877
|
}
|
|
16877
|
-
|
|
16878
|
-
const
|
|
16878
|
+
Mr(Er, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16879
|
+
const Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16879
16880
|
__proto__: null,
|
|
16880
|
-
default:
|
|
16881
|
+
default: Er
|
|
16881
16882
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16882
16883
|
export {
|
|
16883
|
-
|
|
16884
|
-
|
|
16884
|
+
ku as C,
|
|
16885
|
+
Cd as P
|
|
16885
16886
|
};
|