@everymatrix/player-account-controller-nd 1.99.57 → 1.99.59
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-8wMTGRDy.js +341 -0
- package/components/GeneralLogout-B_Tr6McQ.cjs +1 -0
- package/components/GeneralLogout-Df2tEV_j.js +324 -0
- package/components/{PlayerAccountBettingHistory-D3D7fRrn.js → PlayerAccountBettingHistory-C1DpLVso.js} +1 -1
- package/components/{PlayerAccountBettingHistory-D01FrOcJ.cjs → PlayerAccountBettingHistory-CEHzLPmX.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-Cp8RCvhE.js → PlayerAccountBettingHistory-CWBfZhuO.js} +1 -1
- package/components/{PlayerAccountBiometrics-_4h8POSD.js → PlayerAccountBiometrics-BrF2QlJ9.js} +2 -2
- package/components/{PlayerAccountBiometrics-DQsR8Ilb.js → PlayerAccountBiometrics-CatuEsZS.js} +2 -2
- package/components/{PlayerAccountBiometrics-CoPy8ESX.cjs → PlayerAccountBiometrics-Qkot14Nw.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-DmeRoIbt.cjs → PlayerAccountBiometricsAction-CpV0a4zN.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BAO_z3qD.js → PlayerAccountBiometricsAction-PXIbQUKQ.js} +3 -5
- package/components/{PlayerAccountBiometricsAction-esgdbYyz.js → PlayerAccountBiometricsAction-yS5_Epi1.js} +3 -5
- package/components/{PlayerAccountClosureNd-Bz3t9ttg.cjs → PlayerAccountClosureNd--GHgFzVF.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CXR_W2eZ.js → PlayerAccountClosureNd-BXRvTzVO.js} +2 -2
- package/components/{PlayerAccountClosureNd-CVYwiK-z.js → PlayerAccountClosureNd-CBS8QECX.js} +2 -2
- package/components/{PlayerAccountControllerNd-DZq-N_en.js → PlayerAccountControllerNd-BpyLuXtA.js} +980 -1036
- package/components/{PlayerAccountControllerNd-B9Hz03zk.js → PlayerAccountControllerNd-CoEaKJEO.js} +959 -1015
- package/components/PlayerAccountControllerNd-DV54Hl05.cjs +21 -0
- package/components/{PlayerAccountGamingLimits-C6gxLQ3E.js → PlayerAccountGamingLimits-B6CJyCXE.js} +2 -2
- package/components/{PlayerAccountGamingLimits-Be-qry93.js → PlayerAccountGamingLimits-BVyoTWZr.js} +2 -2
- package/components/{PlayerAccountGamingLimits-t2VfU11n.cjs → PlayerAccountGamingLimits-CHNQrQ6Z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BDI-v41T.cjs → PlayerAccountGamingLimitsConfirmationModal-B-Pbd0f9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BD0hFl45.js → PlayerAccountGamingLimitsConfirmationModal-CwK5s6-X.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BklblELe.js → PlayerAccountGamingLimitsConfirmationModal-Dqp0L0N-.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-jVGSXPAY.js → PlayerAccountGamingLimitsGroupEdit-8vRP46ti.js} +8 -9
- package/components/{PlayerAccountGamingLimitsGroupEdit-CkumFGQ6.js → PlayerAccountGamingLimitsGroupEdit-CFaQW5Xw.js} +8 -9
- package/components/{PlayerAccountGamingLimitsGroupEdit-B2i5QkAE.cjs → PlayerAccountGamingLimitsGroupEdit-P7eVJD4o.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BcrLSPv-.js → PlayerAccountGamingLimitsHistory2Nd-AwepMJyS.js} +2 -3
- package/components/{PlayerAccountGamingLimitsHistory2Nd-3-waWQA7.cjs → PlayerAccountGamingLimitsHistory2Nd-BZZbRy1H.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-CikWVS9w.js → PlayerAccountGamingLimitsHistory2Nd-BfDvaj4E.js} +2 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-BvLqgBkK.js → PlayerAccountGamingLimitsInfoCard-Cq1G2koe.js} +8 -12
- package/components/{PlayerAccountGamingLimitsInfoCard-CFcynB3C.cjs → PlayerAccountGamingLimitsInfoCard-ES6K2FOK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BOiShaeL.js → PlayerAccountGamingLimitsInfoCard-IVhOyKZj.js} +8 -12
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DU2xNjzp.js → PlayerAccountGamingLimitsPage2Gm16Nd-CYxIxOg9.js} +32 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-BnQjv_3s.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuDWXcpD.js} +32 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-81YpvKld.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-u5EAdak4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B9tmApcW.js → PlayerAccountGamingLimitsPopup-Bx181x-m.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-uLhHFnIt.cjs → PlayerAccountGamingLimitsPopup-DiHAugt4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BdEYmjKr.js → PlayerAccountGamingLimitsPopup-h3EBnoNt.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DbTZZ8Dg.js → PlayerAccountGamingLimitsWrapper2Nd-ByYbfRQi.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-bLU5_Kd7.cjs → PlayerAccountGamingLimitsWrapper2Nd-ChustIby.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-B1cdrNPL.js → PlayerAccountGamingLimitsWrapper2Nd-DWMV7anS.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-BGqoTnUD.cjs → PlayerAccountGeneralConfirmationModal-Ccfy5jx9.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BcAvCDQY.js → PlayerAccountGeneralConfirmationModal-CjzyuNjK.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-CpV4Ex1d.js → PlayerAccountGeneralConfirmationModal-Dm3aP6fQ.js} +1 -1
- package/components/PlayerAccountMenuNd-BFf_Ixaf.cjs +1 -0
- package/components/{PlayerAccountMenuNd-4kBmPNMz.js → PlayerAccountMenuNd-DL1FWOfl.js} +336 -306
- package/components/{PlayerAccountMenuNd-BTgbj0cc.js → PlayerAccountMenuNd-KNvWHKmn.js} +326 -296
- package/components/{PlayerAccountModal--JPuPLdW.cjs → PlayerAccountModal--QiSnBtU.cjs} +1 -1
- package/components/{PlayerAccountModal-B5Jq46h-.js → PlayerAccountModal-D3qATKj_.js} +1 -1
- package/components/{PlayerAccountModal-clTGQZoK.js → PlayerAccountModal-he9-3Ol-.js} +1 -1
- package/components/{PlayerAccountNotifications-SRvR6RTr.js → PlayerAccountNotifications-BcQ8FD-W.js} +4 -6
- package/components/{PlayerAccountNotifications-DzglTOmF.cjs → PlayerAccountNotifications-DgJedpa5.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CyMVU8WN.js → PlayerAccountNotifications-DukGyUEV.js} +4 -6
- package/components/{PlayerAccountProductRestriction-CAd5GwAv.js → PlayerAccountProductRestriction-B6O6nkZO.js} +7 -8
- package/components/{PlayerAccountProductRestriction-BSRQjFUY.js → PlayerAccountProductRestriction-DJ63eG4V.js} +7 -8
- package/components/{PlayerAccountProductRestriction-Bs_lioi7.cjs → PlayerAccountProductRestriction-DLCUKXpq.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-Cd6fgOLE.js → PlayerAccountReviewFrequency-B18AfnLo.js} +2 -2
- package/components/{PlayerAccountReviewFrequency-LHfElWYo.js → PlayerAccountReviewFrequency-CrVq3J9v.js} +2 -2
- package/components/{PlayerAccountReviewFrequency-Bbm_F21W.cjs → PlayerAccountReviewFrequency-pumQi-YF.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-D_j8dm93.cjs → PlayerAccountSelfExclusionNd-B2nwt48V.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-DOJC9Bi5.js → PlayerAccountSelfExclusionNd-CNgCn8AR.js} +25 -36
- package/components/{PlayerAccountSelfExclusionNd-D2tx7gYr.js → PlayerAccountSelfExclusionNd-Dm4TeIxj.js} +25 -36
- package/components/{PlayerAccountTimeout-smgfv3yM.cjs → PlayerAccountTimeout-BPaAKgDV.cjs} +1 -1
- package/components/{PlayerAccountTimeout-Ch_dooxi.js → PlayerAccountTimeout-BfQ_DNvm.js} +67 -121
- package/components/{PlayerAccountTimeout-bCoOhnR7.js → PlayerAccountTimeout-CehfycL4.js} +67 -121
- package/components/{PlayerAccountTransactionsHistory-C2mxHD-U.js → PlayerAccountTransactionsHistory-BOPm3c-l.js} +15 -25
- package/components/{PlayerAccountTransactionsHistory-IB-vVqYY.js → PlayerAccountTransactionsHistory-CjIjNZDr.js} +15 -25
- package/components/{PlayerAccountTransactionsHistory-FND7W59V.cjs → PlayerAccountTransactionsHistory-Vz1GbV6a.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BgTPpn9y.cjs → PlayerActiveBonuses-BmLW2U7z.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DRTLKKnI.js → PlayerActiveBonuses-DQEG7VVC.js} +2 -2
- package/components/{PlayerActiveBonuses-57KNz3cI.js → PlayerActiveBonuses-DjZI3Tsj.js} +2 -2
- package/components/{PlayerBonusCard-CaX8E9OY.cjs → PlayerBonusCard-B_y306PB.cjs} +1 -1
- package/components/{PlayerBonusCard-jnoTrJae.js → PlayerBonusCard-BkeNJuRG.js} +2 -2
- package/components/{PlayerBonusCard-CpXSivFs.js → PlayerBonusCard-q_atpoy1.js} +2 -2
- package/components/{PlayerBonusHistory-B0ex6wqe.js → PlayerBonusHistory-B8UyMG2i.js} +470 -822
- package/components/{PlayerBonusHistory-BuF-VL1k.js → PlayerBonusHistory-Dfiz7Ufs.js} +470 -822
- package/components/{PlayerBonusHistory-BVnV8MqL.cjs → PlayerBonusHistory-Dy8GRg7K.cjs} +2 -2
- package/components/{PlayerChangePasswordNd-BCHBajaF.js → PlayerChangePasswordNd-B-ckQb5j.js} +5 -9
- package/components/{PlayerChangePasswordNd-QZLMqjWU.js → PlayerChangePasswordNd-Q0-0LzFd.js} +5 -9
- package/components/{PlayerChangePasswordNd-CC3pwQWJ.cjs → PlayerChangePasswordNd-kfBqQcFU.cjs} +1 -1
- package/components/{PlayerDeposit-BJAR6_3H.cjs → PlayerDeposit-CUNykiS2.cjs} +1 -1
- package/components/{PlayerDeposit-D1IpmMXz.js → PlayerDeposit-D9pnDQ72.js} +1 -1
- package/components/{PlayerDeposit-DikKTEx4.js → PlayerDeposit-IWUtmkdA.js} +1 -1
- package/components/{PlayerGamingHistory-CUoADsMs.js → PlayerGamingHistory-BwA7bue0.js} +3 -3
- package/components/{PlayerGamingHistory-CdD2Lxtv.cjs → PlayerGamingHistory-CAWcXMDM.cjs} +1 -1
- package/components/{PlayerGamingHistory-IPBZPnpj.js → PlayerGamingHistory-D2ygyFQj.js} +3 -3
- package/components/{PlayerPendingWithdrawals-D4Y9jthC.js → PlayerPendingWithdrawals-B1DtNkWj.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DvWVyPCS.cjs → PlayerPendingWithdrawals-CmaTv3Xo.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B7H-JUv7.js → PlayerPendingWithdrawals-NruoAjs2.js} +1 -1
- package/components/{PlayerProfileInfo-Cf961l29.cjs → PlayerProfileInfo-BN_nmL2_.cjs} +1 -1
- package/components/{PlayerProfileInfo-CLQ2Y4GH.js → PlayerProfileInfo-BlAtv9JQ.js} +13 -15
- package/components/{PlayerProfileInfo-Dch5K0G-.js → PlayerProfileInfo-C6mpr0NI.js} +13 -15
- package/components/{PlayerRealityCheck-2w2h0rdY.js → PlayerRealityCheck-BMEE0YuO.js} +2 -2
- package/components/{PlayerRealityCheck-Cjed2DM0.cjs → PlayerRealityCheck-C07ALoZc.cjs} +1 -1
- package/components/{PlayerRealityCheck-C1MlmN26.js → PlayerRealityCheck-e4OXfVRc.js} +2 -2
- package/components/{PlayerTransactionHistory-DSTNZpVy.cjs → PlayerTransactionHistory-BGMhKZ1A.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BDvQ3fi3.js → PlayerTransactionHistory-CpG8GGZl.js} +1 -1
- package/components/{PlayerTransactionHistory-D98di8hi.js → PlayerTransactionHistory-Du0SUmkH.js} +1 -1
- package/components/{PlayerWithdrawal-DnE5PUJb.js → PlayerWithdrawal-C5VtcCek.js} +1 -1
- package/components/{PlayerWithdrawal-D79Y-_2R.cjs → PlayerWithdrawal-DC7xcl_E.cjs} +1 -1
- package/components/{PlayerWithdrawal-rw1uLJhT.js → PlayerWithdrawal-DZrMEmpo.js} +1 -1
- package/components/{QrSessionGenerator-CB42oUGc.js → QrSessionGenerator-BWEmjjNF.js} +13 -25
- package/components/{QrSessionGenerator-ZOQdf5F5.cjs → QrSessionGenerator-GLH14lh4.cjs} +1 -1
- package/components/{QrSessionGenerator-BphBsAvU.js → QrSessionGenerator-Vv6Go1KV.js} +13 -25
- 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/lazy/{general-logout-DsJ6hkNf.js → general-logout-BRa7oFTH.js} +1 -1
- package/lazy/{general-logout-CFrS_9dU.js → general-logout-CLYmbIxd.js} +1 -1
- package/lazy/{general-logout-D5Ung-lY.cjs → general-logout-YWvdiNnI.cjs} +1 -1
- package/lazy/{pam-change-password-YH41lYLQ.js → pam-change-password-CQt7gN7c.js} +22 -24
- package/lazy/{pam-change-password-Rbve9bg2.js → pam-change-password-DhlCSZKU.js} +22 -24
- package/lazy/{pam-change-password-BlRpneHq.cjs → pam-change-password-gS1FNvTB.cjs} +1 -1
- package/lazy/{player-account-betting-history-BtH4ftFX.cjs → player-account-betting-history-BU7En8At.cjs} +1 -1
- package/lazy/{player-account-betting-history-RDPl4Obe.js → player-account-betting-history-DarYTbFb.js} +1 -1
- package/lazy/{player-account-betting-history-BEN_dGnE.js → player-account-betting-history-kZZmwxEQ.js} +1 -1
- package/lazy/{player-account-biometrics-cykL54tX.js → player-account-biometrics-9Jp_DBRA.js} +1 -1
- package/lazy/{player-account-biometrics-n8Xmi2WW.js → player-account-biometrics-BHuyyrb4.js} +1 -1
- package/lazy/{player-account-biometrics-C3GtsDxz.cjs → player-account-biometrics-C6UudRfc.cjs} +1 -1
- package/lazy/{player-account-biometrics-action-DBItDD7x.js → player-account-biometrics-action-9_34yNMa.js} +1 -1
- package/lazy/{player-account-biometrics-action-D6ipP-LU.js → player-account-biometrics-action-CHMqzmo6.js} +1 -1
- package/lazy/{player-account-biometrics-action-dvkC2fWQ.cjs → player-account-biometrics-action-D5uhErfh.cjs} +1 -1
- package/lazy/{player-account-closure-nd-CFZI7t3B.js → player-account-closure-nd-Bk3IGPQs.js} +1 -1
- package/lazy/{player-account-closure-nd-RiodQhcq.cjs → player-account-closure-nd-C4ZcOm71.cjs} +1 -1
- package/lazy/{player-account-closure-nd-DZnemB7S.js → player-account-closure-nd-RKYEJxSX.js} +1 -1
- package/lazy/{player-account-gaming-limits-Bqm0vBAQ.cjs → player-account-gaming-limits-CvvZ8lBz.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-DnNEyRcR.js → player-account-gaming-limits-LSQdj5rC.js} +1 -1
- package/lazy/{player-account-gaming-limits-C7F9ucYx.js → player-account-gaming-limits-X-DXA1to.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-DTG6yZdl.js → player-account-gaming-limits-confirmation-modal-C81iaJi7.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-C3FoJV89.js → player-account-gaming-limits-confirmation-modal-CQboPROf.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-B4gaW750.cjs → player-account-gaming-limits-confirmation-modal-D-MdzvHG.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-CnqGt4cd.cjs → player-account-gaming-limits-group-edit-C2KG_WD3.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-D16l--pM.js → player-account-gaming-limits-group-edit-QPhaZZ4g.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-Dto4z4EL.js → player-account-gaming-limits-group-edit-XTdrALvy.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-p9W3RPU-.js → player-account-gaming-limits-history-2-nd-BwwKHGUP.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-CecbwM2O.cjs → player-account-gaming-limits-history-2-nd-C8VqM5qX.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-LDQWboJ1.js → player-account-gaming-limits-history-2-nd-D55d3WUh.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CLqTFS2T.js → player-account-gaming-limits-info-card-BYvB6TfO.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-UyrysudJ.js → player-account-gaming-limits-info-card-DvizEm9E.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-QD3lUxcL.cjs → player-account-gaming-limits-info-card-EIbtUiFM.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Cibo08Bn.cjs → player-account-gaming-limits-page-2-gm16-nd-Bdc9AF2V.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-BUfBB52j.js → player-account-gaming-limits-page-2-gm16-nd-DCs5ekLS.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CQXdZ8f4.js → player-account-gaming-limits-page-2-gm16-nd-jL3g5EM3.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BBsuNmoR.js → player-account-gaming-limits-popup-C-FxPjHK.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-DEO7lTSD.js → player-account-gaming-limits-popup-NmLrg23B.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BzM5_dTF.cjs → player-account-gaming-limits-popup-q2ChaCJV.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-4ozoGun3.js → player-account-gaming-limits-wrapper-2-nd-B1CLqxg8.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-miug8Ajh.cjs → player-account-gaming-limits-wrapper-2-nd-Ct4Ot1zY.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-_Z_wXEpe.js → player-account-gaming-limits-wrapper-2-nd-N9xKrQL4.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-x52iq0YJ.js → player-account-general-confirmation-modal-C_falRjk.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-DdE0jwHh.cjs → player-account-general-confirmation-modal-PTOjbtqO.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-x8QuV9Cd.js → player-account-general-confirmation-modal-tWM1iF7D.js} +1 -1
- package/lazy/{player-account-menu-nd-CL82HZd_.js → player-account-menu-nd-BUXebTFM.js} +1 -1
- package/lazy/{player-account-menu-nd-Czpr7no8.js → player-account-menu-nd-ByiaAuBh.js} +1 -1
- package/lazy/{player-account-menu-nd-Bpzvx_LO.cjs → player-account-menu-nd-D57UZIdB.cjs} +1 -1
- package/lazy/{player-account-modal-CIoIScmM.js → player-account-modal-C_OUrtid.js} +1 -1
- package/lazy/{player-account-modal-DBLRe1Ex.cjs → player-account-modal-Dhnkrozt.cjs} +1 -1
- package/lazy/{player-account-modal-BL5t02yq.js → player-account-modal-DmNBMFMU.js} +1 -1
- package/lazy/{player-account-notifications-C4bh2YR5.js → player-account-notifications-BUT2JjWt.js} +1 -1
- package/lazy/{player-account-notifications-BWRxLwXW.cjs → player-account-notifications-PdMNdxWj.cjs} +1 -1
- package/lazy/{player-account-notifications-CMILNc9l.js → player-account-notifications-fxN7fdL1.js} +1 -1
- package/lazy/{player-account-product-restriction-DnQksvCD.js → player-account-product-restriction-DJQ6_-Qa.js} +1 -1
- package/lazy/{player-account-product-restriction-DsA5hhnI.js → player-account-product-restriction-Dl4xRpdd.js} +1 -1
- package/lazy/{player-account-product-restriction-Ji8vQJo8.cjs → player-account-product-restriction-RKQRrg0d.cjs} +1 -1
- package/lazy/{player-account-review-frequency-vePlrMAE.js → player-account-review-frequency-C8e3Ofe6.js} +1 -1
- package/lazy/{player-account-review-frequency-aAg_2V4X.cjs → player-account-review-frequency-CaFEVUiS.cjs} +1 -1
- package/lazy/{player-account-review-frequency-4VFneOty.js → player-account-review-frequency-Dbt7jaw2.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BSIQn2TM.cjs → player-account-self-exclusion-nd-C3m55rUx.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-CEaC31x8.js → player-account-self-exclusion-nd-CMzyeF2O.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-Bx062VTE.js → player-account-self-exclusion-nd-igOQinVk.js} +1 -1
- package/lazy/{player-account-timeout-DbNdLVYa.js → player-account-timeout-B036_0d9.js} +1 -1
- package/lazy/{player-account-timeout-DoHH77Rp.js → player-account-timeout-BEUUFWEp.js} +1 -1
- package/lazy/{player-account-timeout-BxtlDR7r.cjs → player-account-timeout-BMpiKef8.cjs} +1 -1
- package/lazy/{player-account-transactions-history-DXhhuvHq.js → player-account-transactions-history-BnoNxzuA.js} +1 -1
- package/lazy/{player-account-transactions-history-CIY8swrv.js → player-account-transactions-history-CyT_-CGQ.js} +1 -1
- package/lazy/{player-account-transactions-history-Dj7UF5dc.cjs → player-account-transactions-history-TfnyUsxn.cjs} +1 -1
- package/lazy/{player-active-bonuses-Khr8VT6p.js → player-active-bonuses-C6aV91wc.js} +1 -1
- package/lazy/{player-active-bonuses-BaDYXmq2.cjs → player-active-bonuses-CsFNdeVv.cjs} +1 -1
- package/lazy/{player-active-bonuses-DByUKN7e.js → player-active-bonuses-DqiT3imY.js} +1 -1
- package/lazy/{player-bonus-card-D9HNTP66.js → player-bonus-card-BkThed60.js} +1 -1
- package/lazy/{player-bonus-card-D6lljebJ.js → player-bonus-card-CmK7JuVs.js} +1 -1
- package/lazy/{player-bonus-card-DnjPmaCI.cjs → player-bonus-card-DDxqinXp.cjs} +1 -1
- package/lazy/{player-bonus-history-Bsx-OEjJ.cjs → player-bonus-history-B90I1d8P.cjs} +1 -1
- package/lazy/{player-bonus-history-CD3XVV-z.js → player-bonus-history-BTmzGOZd.js} +1 -1
- package/lazy/{player-bonus-history-CxwzP2u2.js → player-bonus-history-BjewgN6o.js} +1 -1
- package/lazy/{player-change-password-nd-C0KM4Gk8.js → player-change-password-nd--Eu7RVPL.js} +1 -1
- package/lazy/{player-change-password-nd-CRfRqZP8.js → player-change-password-nd-CYgC2SpI.js} +1 -1
- package/lazy/{player-change-password-nd-D3wLNqpo.cjs → player-change-password-nd-CcOG3Nyt.cjs} +1 -1
- package/lazy/{player-deposit-Dx-r2oaE.js → player-deposit-CCOOcgA1.js} +1 -1
- package/lazy/{player-deposit-BcJI6bUC.cjs → player-deposit-CqMXvpaZ.cjs} +1 -1
- package/lazy/{player-deposit-AmkNyXVI.js → player-deposit-zE7TJYA1.js} +1 -1
- package/lazy/{player-gaming-history-DHASAZeW.cjs → player-gaming-history-CC0GsrpC.cjs} +1 -1
- package/lazy/{player-gaming-history-DW8EeH6b.js → player-gaming-history-CXi3vfwK.js} +1 -1
- package/lazy/{player-gaming-history-_TJLCkKO.js → player-gaming-history-W5sKfQCt.js} +1 -1
- package/lazy/{player-kyc-verification-CzP6GbxM.js → player-kyc-verification-BCZaFaTM.js} +2 -3
- package/lazy/{player-kyc-verification-qxyiuQFV.js → player-kyc-verification-CCSlizSF.js} +2 -3
- package/lazy/{player-pending-withdrawals-BoZRt0Zx.js → player-pending-withdrawals-BEyih5KL.js} +1 -1
- package/lazy/{player-pending-withdrawals-r2KpAFvQ.js → player-pending-withdrawals-C9x40s9Q.js} +1 -1
- package/lazy/{player-pending-withdrawals-CC_1Dn8R.cjs → player-pending-withdrawals-CrKrRCCj.cjs} +1 -1
- package/lazy/{player-profile-info-BBLnjY90.cjs → player-profile-info-CQYbmwAF.cjs} +1 -1
- package/lazy/{player-profile-info-Df0cbh-E.js → player-profile-info-Ch4sM284.js} +1 -1
- package/lazy/{player-profile-info-D_gHtcXG.js → player-profile-info-DJFe5Jxb.js} +1 -1
- package/lazy/{player-reality-check-ENdrYgmc.js → player-reality-check-BTj6SqVv.js} +1 -1
- package/lazy/{player-reality-check-Cc2gytwr.js → player-reality-check-CBG_fMO9.js} +1 -1
- package/lazy/{player-reality-check-ce2pcAaK.cjs → player-reality-check-Cwcwss6e.cjs} +1 -1
- package/lazy/{player-transaction-history-I_pu9eO-.cjs → player-transaction-history-BIvw4k1U.cjs} +1 -1
- package/lazy/{player-transaction-history-BGR9tKcW.js → player-transaction-history-D1OE0Quq.js} +1 -1
- package/lazy/{player-transaction-history-DuPUuF40.js → player-transaction-history-h8r2RnJt.js} +1 -1
- package/lazy/{player-withdrawal-DHvHyNrV.js → player-withdrawal-Bqkfqbul.js} +1 -1
- package/lazy/{player-withdrawal-Drv1YDwt.cjs → player-withdrawal-CXGIJvjX.cjs} +1 -1
- package/lazy/{player-withdrawal-CRb2DJ-C.js → player-withdrawal-DO_9su_q.js} +1 -1
- package/lazy/{qr-session-generator-B2klSHg4.js → qr-session-generator-BER1sOvn.js} +1 -1
- package/lazy/{qr-session-generator-B-FCQITY.cjs → qr-session-generator-C3ny9pzb.cjs} +1 -1
- package/lazy/{qr-session-generator-B-Qbaq1s.js → qr-session-generator-WfzXLYdK.js} +1 -1
- package/lazy/{ui-skeleton-D_9rhDxL.js → ui-skeleton-BY0RPGFe.js} +2 -3
- package/lazy/{ui-skeleton-BBQWByBl.js → ui-skeleton-X4nG3YRg.js} +2 -3
- package/lazy/{user-deposit-withdrawal-d9iF0j_x.js → user-deposit-withdrawal-CW2M1VxT.js} +22 -24
- package/lazy/{user-deposit-withdrawal-CoRVJsis.js → user-deposit-withdrawal-DSpPqpYe.js} +22 -24
- package/lazy/{user-transaction-history-Djawy1ZV.cjs → user-transaction-history-BotBOUvU.cjs} +1 -1
- package/lazy/{user-transaction-history-aIst3Kg0.js → user-transaction-history-CPk9X09g.js} +23 -25
- package/lazy/{user-transaction-history-BmB73QI_.js → user-transaction-history-CrRzN-Te.js} +23 -25
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-Ct_58vrG.js → checkbox-group-input_16-41494D-0.js} +471 -823
- package/stencil/{checkbox-group-input_16-BNFLgAEe.js → checkbox-group-input_16-D6LWZJu6.js} +471 -823
- package/stencil/{checkbox-group-input_16-D2G5IVGH.cjs → checkbox-group-input_16-mmCvpN9q.cjs} +2 -2
- package/stencil/{pam-change-password-173e4b25-Cfp_QE3-.js → pam-change-password-173e4b25-BBLKAOOj.js} +4 -7
- package/stencil/{pam-change-password-173e4b25-D4_5ZrVs.js → pam-change-password-173e4b25-Cmr-X1N4.js} +4 -7
- package/stencil/{pam-change-password-173e4b25-CZfB3WXD.cjs → pam-change-password-173e4b25-D9eRF4Nt.cjs} +1 -1
- package/stencil/{pam-change-password-Cy5rTiCb.js → pam-change-password-CDrVbMgt.js} +2 -2
- package/stencil/{pam-change-password-CSlnUJXh.cjs → pam-change-password-D8zIOztx.cjs} +1 -1
- package/stencil/{pam-change-password-C2WYWYwE.js → pam-change-password-jQlm4Ntx.js} +2 -2
- package/stencil/{player-kyc-verification-D_rF_mQm.js → player-kyc-verification-B29q2vLG.js} +4 -7
- package/stencil/{player-kyc-verification-DxrMs1Nv.js → player-kyc-verification-k-PCXQJX.js} +4 -7
- package/stencil/{player-step-up-auth_2-D4i7tfhP.js → player-step-up-auth_2-C-cJSHQZ.js} +26 -51
- package/stencil/{player-step-up-auth_2-BdP6VjsY.js → player-step-up-auth_2-DfgrMpFE.js} +26 -51
- package/stencil/{ui-skeleton-fEyshHrf.js → ui-skeleton-CSmLZsc_.js} +2 -2
- package/stencil/{ui-skeleton-Dd7tqzYw.js → ui-skeleton-D0qfL-IU.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-DMVI4VdD.js → ui-skeleton-ed169f8f-BYlKntRA.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-W8BHwBHY.js → ui-skeleton-ed169f8f-Bpwbv5t6.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CC2LR4wK.js → user-deposit-withdrawal-3gchXK1B.js} +2 -2
- package/stencil/{user-deposit-withdrawal-BrzuBosZ.js → user-deposit-withdrawal-AIGWdUm_.js} +2 -2
- package/stencil/{user-transaction-history-BOBJWKcb.cjs → user-transaction-history-C6AKFwdI.cjs} +1 -1
- package/stencil/{user-transaction-history-C20PiMa8.js → user-transaction-history-CYiC9O9-.js} +2 -2
- package/stencil/{user-transaction-history-C9LS9_nf.js → user-transaction-history-DU1vLXrT.js} +2 -2
- package/stencil/{user-transaction-history_2-DQiK7wWw.js → user-transaction-history_2-B4cqW1zN.js} +472 -827
- package/stencil/{user-transaction-history_2-TdcvgBHP.cjs → user-transaction-history_2-B_I6pgbz.cjs} +2 -2
- package/stencil/{user-transaction-history_2-DXgLBYyf.js → user-transaction-history_2-C0gXLzko.js} +472 -827
- package/components/GeneralLogout-C5n5m71X.cjs +0 -1
- package/components/GeneralLogout-C8E8aXMD.js +0 -300
- package/components/GeneralLogout-DMFKYWMf.js +0 -300
- package/components/PlayerAccountControllerNd-e1VySKxR.cjs +0 -21
- package/components/PlayerAccountMenuNd-D3FRbsrU.cjs +0 -1
|
@@ -14,9 +14,9 @@ var xa = (i, e, t) => new Promise((r, a) => {
|
|
|
14
14
|
}, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, n);
|
|
15
15
|
s((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as ie, c as O, h as u, g as zt, H as Vo, f as Ca } from "../lazy/pam-change-password-
|
|
18
|
-
import { s as L, a as oe, b as oi } from "./pam-change-password-173e4b25-
|
|
19
|
-
import { P as gv } from "./pam-change-password-173e4b25-
|
|
17
|
+
import { r as ie, c as O, h as u, g as zt, H as Vo, f as Ca } from "../lazy/pam-change-password-DhlCSZKU.js";
|
|
18
|
+
import { s as L, a as oe, b as oi } from "./pam-change-password-173e4b25-Cmr-X1N4.js";
|
|
19
|
+
import { P as gv } from "./pam-change-password-173e4b25-Cmr-X1N4.js";
|
|
20
20
|
const Bs = "en", Ye = {
|
|
21
21
|
en: {
|
|
22
22
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -1618,11 +1618,9 @@ function Vl(i, e) {
|
|
|
1618
1618
|
function Ml(i) {
|
|
1619
1619
|
return function(e) {
|
|
1620
1620
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.match(i.matchPattern);
|
|
1621
|
-
if (!r)
|
|
1622
|
-
return null;
|
|
1621
|
+
if (!r) return null;
|
|
1623
1622
|
var a = r[0], o = e.match(i.parsePattern);
|
|
1624
|
-
if (!o)
|
|
1625
|
-
return null;
|
|
1623
|
+
if (!o) return null;
|
|
1626
1624
|
var n = i.valueCallback ? i.valueCallback(o[0]) : o[0];
|
|
1627
1625
|
n = t.valueCallback ? t.valueCallback(n) : n;
|
|
1628
1626
|
var s = e.slice(a.length);
|
|
@@ -1779,14 +1777,12 @@ function td(i) {
|
|
|
1779
1777
|
}
|
|
1780
1778
|
function Ta(i, e) {
|
|
1781
1779
|
(e == null || e > i.length) && (e = i.length);
|
|
1782
|
-
for (var t = 0, r = Array(e); t < e; t++)
|
|
1783
|
-
r[t] = i[t];
|
|
1780
|
+
for (var t = 0, r = Array(e); t < e; t++) r[t] = i[t];
|
|
1784
1781
|
return r;
|
|
1785
1782
|
}
|
|
1786
1783
|
function id(i, e) {
|
|
1787
1784
|
if (i) {
|
|
1788
|
-
if (typeof i == "string")
|
|
1789
|
-
return Ta(i, e);
|
|
1785
|
+
if (typeof i == "string") return Ta(i, e);
|
|
1790
1786
|
var t = {}.toString.call(i).slice(8, -1);
|
|
1791
1787
|
return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? Ta(i, e) : void 0;
|
|
1792
1788
|
}
|
|
@@ -1833,8 +1829,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1833
1829
|
try {
|
|
1834
1830
|
n || t.return == null || t.return();
|
|
1835
1831
|
} finally {
|
|
1836
|
-
if (s)
|
|
1837
|
-
throw o;
|
|
1832
|
+
if (s) throw o;
|
|
1838
1833
|
}
|
|
1839
1834
|
}
|
|
1840
1835
|
};
|
|
@@ -1847,8 +1842,7 @@ function rd(i, e) {
|
|
|
1847
1842
|
return i;
|
|
1848
1843
|
}
|
|
1849
1844
|
function _(i) {
|
|
1850
|
-
if (i === void 0)
|
|
1851
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1845
|
+
if (i === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1852
1846
|
return i;
|
|
1853
1847
|
}
|
|
1854
1848
|
function ir(i, e) {
|
|
@@ -1857,8 +1851,7 @@ function ir(i, e) {
|
|
|
1857
1851
|
}, ir(i, e);
|
|
1858
1852
|
}
|
|
1859
1853
|
function T(i, e) {
|
|
1860
|
-
if (typeof e != "function" && e !== null)
|
|
1861
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
1854
|
+
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1862
1855
|
i.prototype = Object.create(e && e.prototype, {
|
|
1863
1856
|
constructor: {
|
|
1864
1857
|
value: i,
|
|
@@ -1885,10 +1878,8 @@ function jo() {
|
|
|
1885
1878
|
})();
|
|
1886
1879
|
}
|
|
1887
1880
|
function ad(i, e) {
|
|
1888
|
-
if (e && (ke(e) == "object" || typeof e == "function"))
|
|
1889
|
-
|
|
1890
|
-
if (e !== void 0)
|
|
1891
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1881
|
+
if (e && (ke(e) == "object" || typeof e == "function")) return e;
|
|
1882
|
+
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1892
1883
|
return _(i);
|
|
1893
1884
|
}
|
|
1894
1885
|
function P(i) {
|
|
@@ -1898,23 +1889,19 @@ function P(i) {
|
|
|
1898
1889
|
if (e) {
|
|
1899
1890
|
var a = si(this).constructor;
|
|
1900
1891
|
t = Reflect.construct(r, arguments, a);
|
|
1901
|
-
} else
|
|
1902
|
-
t = r.apply(this, arguments);
|
|
1892
|
+
} else t = r.apply(this, arguments);
|
|
1903
1893
|
return ad(this, t);
|
|
1904
1894
|
};
|
|
1905
1895
|
}
|
|
1906
1896
|
function C(i, e) {
|
|
1907
|
-
if (!(i instanceof e))
|
|
1908
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1897
|
+
if (!(i instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
1909
1898
|
}
|
|
1910
1899
|
function od(i, e) {
|
|
1911
|
-
if (ke(i) != "object" || !i)
|
|
1912
|
-
return i;
|
|
1900
|
+
if (ke(i) != "object" || !i) return i;
|
|
1913
1901
|
var t;
|
|
1914
1902
|
if (typeof Symbol != "undefined" && (t = i[Symbol.toPrimitive]) !== void 0) {
|
|
1915
1903
|
var r = t.call(i, e);
|
|
1916
|
-
if (ke(r) != "object")
|
|
1917
|
-
return r;
|
|
1904
|
+
if (ke(r) != "object") return r;
|
|
1918
1905
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1919
1906
|
}
|
|
1920
1907
|
return (e === "string" ? String : Number)(i);
|
|
@@ -3630,8 +3617,7 @@ function Ie(i, e, t, r) {
|
|
|
3630
3617
|
};
|
|
3631
3618
|
for (ne.s(); !(Oe = ne.n()).done; ) {
|
|
3632
3619
|
var fa = Fs();
|
|
3633
|
-
if (ke(fa) === "object")
|
|
3634
|
-
return fa.v;
|
|
3620
|
+
if (ke(fa) === "object") return fa.v;
|
|
3635
3621
|
}
|
|
3636
3622
|
} catch (K) {
|
|
3637
3623
|
ne.e(K);
|
|
@@ -3968,13 +3954,10 @@ function dh(i, e, t, r = !1) {
|
|
|
3968
3954
|
return e;
|
|
3969
3955
|
}
|
|
3970
3956
|
var hh = Object.defineProperty, ch = Object.defineProperties, uh = Object.getOwnPropertyDescriptors, Va = Object.getOwnPropertySymbols, ph = Object.prototype.hasOwnProperty, mh = Object.prototype.propertyIsEnumerable, rr = (i, e, t) => e in i ? hh(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, di = (i, e) => {
|
|
3971
|
-
for (var t in e || (e = {}))
|
|
3972
|
-
|
|
3973
|
-
if (Va)
|
|
3974
|
-
for (var t of Va(e))
|
|
3975
|
-
mh.call(e, t) && rr(i, t, e[t]);
|
|
3957
|
+
for (var t in e || (e = {})) ph.call(e, t) && rr(i, t, e[t]);
|
|
3958
|
+
if (Va) for (var t of Va(e)) mh.call(e, t) && rr(i, t, e[t]);
|
|
3976
3959
|
return i;
|
|
3977
|
-
}, Qo = (i, e) => ch(i, uh(e)), ee = (i, e, t) =>
|
|
3960
|
+
}, Qo = (i, e) => ch(i, uh(e)), ee = (i, e, t) => rr(i, typeof e != "symbol" ? e + "" : e, t), hi = (i, e, t) => new Promise((r, a) => {
|
|
3978
3961
|
var o = (l) => {
|
|
3979
3962
|
try {
|
|
3980
3963
|
s(t.next(l));
|
|
@@ -4000,8 +3983,7 @@ function w(i, e = "24.5.10") {
|
|
|
4000
3983
|
return e;
|
|
4001
3984
|
} });
|
|
4002
3985
|
const t = customElements.get(i.is);
|
|
4003
|
-
if (!t)
|
|
4004
|
-
customElements.define(i.is, i);
|
|
3986
|
+
if (!t) customElements.define(i.is, i);
|
|
4005
3987
|
else {
|
|
4006
3988
|
const r = t.version;
|
|
4007
3989
|
r && i.version && r === i.version ? console.warn(`The component ${i.is} has been loaded twice`) : console.error(`Tried to define ${i.is} version ${i.version} when version ${t.version} is already in use. Something will probably break.`);
|
|
@@ -4026,8 +4008,7 @@ w(fh);
|
|
|
4026
4008
|
const ii = globalThis, Dr = ii.ShadowRoot && (ii.ShadyCSS === void 0 || ii.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Or = Symbol(), Ma = /* @__PURE__ */ new WeakMap();
|
|
4027
4009
|
let Vr = class {
|
|
4028
4010
|
constructor(i, e, t) {
|
|
4029
|
-
if (this._$cssResult$ = !0, t !== Or)
|
|
4030
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
4011
|
+
if (this._$cssResult$ = !0, t !== Or) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
4031
4012
|
this.cssText = i, this.t = e;
|
|
4032
4013
|
}
|
|
4033
4014
|
get styleSheet() {
|
|
@@ -4045,25 +4026,20 @@ let Vr = class {
|
|
|
4045
4026
|
};
|
|
4046
4027
|
const vh = (i) => new Vr(typeof i == "string" ? i : i + "", void 0, Or), f = (i, ...e) => {
|
|
4047
4028
|
const t = i.length === 1 ? i[0] : e.reduce((r, a, o) => r + ((n) => {
|
|
4048
|
-
if (n._$cssResult$ === !0)
|
|
4049
|
-
|
|
4050
|
-
if (typeof n == "number")
|
|
4051
|
-
return n;
|
|
4029
|
+
if (n._$cssResult$ === !0) return n.cssText;
|
|
4030
|
+
if (typeof n == "number") return n;
|
|
4052
4031
|
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.");
|
|
4053
4032
|
})(a) + i[o + 1], i[0]);
|
|
4054
4033
|
return new Vr(t, i, Or);
|
|
4055
4034
|
}, Jo = (i, e) => {
|
|
4056
|
-
if (Dr)
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
a !== void 0 && r.setAttribute("nonce", a), r.textContent = t.cssText, i.appendChild(r);
|
|
4062
|
-
}
|
|
4035
|
+
if (Dr) i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
4036
|
+
else for (const t of e) {
|
|
4037
|
+
const r = document.createElement("style"), a = ii.litNonce;
|
|
4038
|
+
a !== void 0 && r.setAttribute("nonce", a), r.textContent = t.cssText, i.appendChild(r);
|
|
4039
|
+
}
|
|
4063
4040
|
}, Na = Dr ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
|
4064
4041
|
let t = "";
|
|
4065
|
-
for (const r of e.cssRules)
|
|
4066
|
-
t += r.cssText;
|
|
4042
|
+
for (const r of e.cssRules) t += r.cssText;
|
|
4067
4043
|
return vh(t);
|
|
4068
4044
|
})(i) : i;
|
|
4069
4045
|
/**
|
|
@@ -4132,25 +4108,20 @@ let We = class extends HTMLElement {
|
|
|
4132
4108
|
return (e = this.elementProperties.get(i)) != null ? e : Ra;
|
|
4133
4109
|
}
|
|
4134
4110
|
static _$Ei() {
|
|
4135
|
-
if (this.hasOwnProperty(xt("elementProperties")))
|
|
4136
|
-
return;
|
|
4111
|
+
if (this.hasOwnProperty(xt("elementProperties"))) return;
|
|
4137
4112
|
const i = xh(this);
|
|
4138
4113
|
i.finalize(), i.l !== void 0 && (this.l = [...i.l]), this.elementProperties = new Map(i.elementProperties);
|
|
4139
4114
|
}
|
|
4140
4115
|
static finalize() {
|
|
4141
|
-
if (this.hasOwnProperty(xt("finalized")))
|
|
4142
|
-
return;
|
|
4116
|
+
if (this.hasOwnProperty(xt("finalized"))) return;
|
|
4143
4117
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(xt("properties"))) {
|
|
4144
4118
|
const e = this.properties, t = [...yh(e), ...wh(e)];
|
|
4145
|
-
for (const r of t)
|
|
4146
|
-
this.createProperty(r, e[r]);
|
|
4119
|
+
for (const r of t) this.createProperty(r, e[r]);
|
|
4147
4120
|
}
|
|
4148
4121
|
const i = this[Symbol.metadata];
|
|
4149
4122
|
if (i !== null) {
|
|
4150
4123
|
const e = litPropertyMetadata.get(i);
|
|
4151
|
-
if (e !== void 0)
|
|
4152
|
-
for (const [t, r] of e)
|
|
4153
|
-
this.elementProperties.set(t, r);
|
|
4124
|
+
if (e !== void 0) for (const [t, r] of e) this.elementProperties.set(t, r);
|
|
4154
4125
|
}
|
|
4155
4126
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
4156
4127
|
for (const [e, t] of this.elementProperties) {
|
|
@@ -4163,10 +4134,8 @@ let We = class extends HTMLElement {
|
|
|
4163
4134
|
const e = [];
|
|
4164
4135
|
if (Array.isArray(i)) {
|
|
4165
4136
|
const t = new Set(i.flat(1 / 0).reverse());
|
|
4166
|
-
for (const r of t)
|
|
4167
|
-
|
|
4168
|
-
} else
|
|
4169
|
-
i !== void 0 && e.push(Na(i));
|
|
4137
|
+
for (const r of t) e.unshift(Na(r));
|
|
4138
|
+
} else i !== void 0 && e.push(Na(i));
|
|
4170
4139
|
return e;
|
|
4171
4140
|
}
|
|
4172
4141
|
static _$Eu(i, e) {
|
|
@@ -4190,8 +4159,7 @@ let We = class extends HTMLElement {
|
|
|
4190
4159
|
}
|
|
4191
4160
|
_$E_() {
|
|
4192
4161
|
const i = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
4193
|
-
for (const t of e.keys())
|
|
4194
|
-
this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
|
|
4162
|
+
for (const t of e.keys()) this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
|
|
4195
4163
|
i.size > 0 && (this._$Ep = i);
|
|
4196
4164
|
}
|
|
4197
4165
|
createRenderRoot() {
|
|
@@ -4240,8 +4208,7 @@ let We = class extends HTMLElement {
|
|
|
4240
4208
|
var o, n;
|
|
4241
4209
|
if (i !== void 0) {
|
|
4242
4210
|
const s = this.constructor;
|
|
4243
|
-
if (r === !1 && (a = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((o = t.hasChanged) != null ? o : Zo)(a, e) || t.useDefault && t.reflect && a === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t))))
|
|
4244
|
-
return;
|
|
4211
|
+
if (r === !1 && (a = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((o = t.hasChanged) != null ? o : Zo)(a, e) || t.useDefault && t.reflect && a === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t)))) return;
|
|
4245
4212
|
this.C(i, e, t);
|
|
4246
4213
|
}
|
|
4247
4214
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -4267,20 +4234,17 @@ let We = class extends HTMLElement {
|
|
|
4267
4234
|
}
|
|
4268
4235
|
performUpdate() {
|
|
4269
4236
|
var i;
|
|
4270
|
-
if (!this.isUpdatePending)
|
|
4271
|
-
return;
|
|
4237
|
+
if (!this.isUpdatePending) return;
|
|
4272
4238
|
if (!this.hasUpdated) {
|
|
4273
4239
|
if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
4274
|
-
for (const [a, o] of this._$Ep)
|
|
4275
|
-
this[a] = o;
|
|
4240
|
+
for (const [a, o] of this._$Ep) this[a] = o;
|
|
4276
4241
|
this._$Ep = void 0;
|
|
4277
4242
|
}
|
|
4278
4243
|
const r = this.constructor.elementProperties;
|
|
4279
|
-
if (r.size > 0)
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
}
|
|
4244
|
+
if (r.size > 0) for (const [a, o] of r) {
|
|
4245
|
+
const { wrapped: n } = o, s = this[a];
|
|
4246
|
+
n !== !0 || this._$AL.has(a) || s === void 0 || this.C(a, void 0, o, s);
|
|
4247
|
+
}
|
|
4284
4248
|
}
|
|
4285
4249
|
let e = !1;
|
|
4286
4250
|
const t = this._$AL;
|
|
@@ -4334,8 +4298,7 @@ const ci = globalThis, $a = (i) => i, ui = ci.trustedTypes, Ba = ui ? ui.createP
|
|
|
4334
4298
|
\f\r]`, mt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ha = /-->/g, Ua = />/g, Ve = RegExp(`>|${$i}(?:([^\\s"'>=/]+)(${$i}*=${$i}*(?:[^
|
|
4335
4299
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), qa = /'/g, ja = /"/g, rn = /^(?:script|style|textarea|title)$/i, tt = Symbol.for("lit-noChange"), X = Symbol.for("lit-nothing"), Wa = /* @__PURE__ */ new WeakMap(), Ne = Fe.createTreeWalker(Fe, 129);
|
|
4336
4300
|
function an(i, e) {
|
|
4337
|
-
if (!Mr(i) || !i.hasOwnProperty("raw"))
|
|
4338
|
-
throw Error("invalid template strings array");
|
|
4301
|
+
if (!Mr(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
4339
4302
|
return Ba !== void 0 ? Ba.createHTML(e) : e;
|
|
4340
4303
|
}
|
|
4341
4304
|
const Sh = (i, e) => {
|
|
@@ -4344,8 +4307,7 @@ const Sh = (i, e) => {
|
|
|
4344
4307
|
for (let s = 0; s < t; s++) {
|
|
4345
4308
|
const l = i[s];
|
|
4346
4309
|
let d, h, c = -1, m = 0;
|
|
4347
|
-
for (; m < l.length && (n.lastIndex = m, h = n.exec(l), h !== null); )
|
|
4348
|
-
m = n.lastIndex, n === mt ? h[1] === "!--" ? n = Ha : h[1] !== void 0 ? n = Ua : h[2] !== void 0 ? (rn.test(h[2]) && (a = RegExp("</" + h[2], "g")), n = Ve) : h[3] !== void 0 && (n = Ve) : n === Ve ? h[0] === ">" ? (n = a != null ? a : mt, c = -1) : h[1] === void 0 ? c = -2 : (c = n.lastIndex - h[2].length, d = h[1], n = h[3] === void 0 ? Ve : h[3] === '"' ? ja : qa) : n === ja || n === qa ? n = Ve : n === Ha || n === Ua ? n = mt : (n = Ve, a = void 0);
|
|
4310
|
+
for (; m < l.length && (n.lastIndex = m, h = n.exec(l), h !== null); ) m = n.lastIndex, n === mt ? h[1] === "!--" ? n = Ha : h[1] !== void 0 ? n = Ua : h[2] !== void 0 ? (rn.test(h[2]) && (a = RegExp("</" + h[2], "g")), n = Ve) : h[3] !== void 0 && (n = Ve) : n === Ve ? h[0] === ">" ? (n = a != null ? a : mt, c = -1) : h[1] === void 0 ? c = -2 : (c = n.lastIndex - h[2].length, d = h[1], n = h[3] === void 0 ? Ve : h[3] === '"' ? ja : qa) : n === ja || n === qa ? n = Ve : n === Ha || n === Ua ? n = mt : (n = Ve, a = void 0);
|
|
4349
4311
|
const p = n === Ve && i[s + 1].startsWith("/>") ? " " : "";
|
|
4350
4312
|
o += n === mt ? l + kh : c >= 0 ? (r.push(d), l.slice(0, c) + en + l.slice(c) + Te + p) : l + Te + (c === -2 ? s : p);
|
|
4351
4313
|
}
|
|
@@ -4363,30 +4325,23 @@ class St {
|
|
|
4363
4325
|
}
|
|
4364
4326
|
for (; (a = Ne.nextNode()) !== null && l.length < s; ) {
|
|
4365
4327
|
if (a.nodeType === 1) {
|
|
4366
|
-
if (a.hasAttributes())
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
l.push({ type: 1, index: o, name: y[2], strings: p, ctor: y[1] === "." ? Th : y[1] === "?" ? Ph : y[1] === "@" ? Ah : xi }), a.removeAttribute(c);
|
|
4371
|
-
} else
|
|
4372
|
-
c.startsWith(Te) && (l.push({ type: 6, index: o }), a.removeAttribute(c));
|
|
4328
|
+
if (a.hasAttributes()) for (const c of a.getAttributeNames()) if (c.endsWith(en)) {
|
|
4329
|
+
const m = h[n++], p = a.getAttribute(c).split(Te), y = /([.?@])?(.*)/.exec(m);
|
|
4330
|
+
l.push({ type: 1, index: o, name: y[2], strings: p, ctor: y[1] === "." ? Th : y[1] === "?" ? Ph : y[1] === "@" ? Ah : xi }), a.removeAttribute(c);
|
|
4331
|
+
} else c.startsWith(Te) && (l.push({ type: 6, index: o }), a.removeAttribute(c));
|
|
4373
4332
|
if (rn.test(a.tagName)) {
|
|
4374
4333
|
const c = a.textContent.split(Te), m = c.length - 1;
|
|
4375
4334
|
if (m > 0) {
|
|
4376
4335
|
a.textContent = ui ? ui.emptyScript : "";
|
|
4377
|
-
for (let p = 0; p < m; p++)
|
|
4378
|
-
a.append(c[p], kt()), Ne.nextNode(), l.push({ type: 2, index: ++o });
|
|
4336
|
+
for (let p = 0; p < m; p++) a.append(c[p], kt()), Ne.nextNode(), l.push({ type: 2, index: ++o });
|
|
4379
4337
|
a.append(c[m], kt());
|
|
4380
4338
|
}
|
|
4381
4339
|
}
|
|
4382
|
-
} else if (a.nodeType === 8)
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
for (; (c = a.data.indexOf(Te, c + 1)) !== -1; )
|
|
4388
|
-
l.push({ type: 7, index: o }), c += Te.length - 1;
|
|
4389
|
-
}
|
|
4340
|
+
} else if (a.nodeType === 8) if (a.data === tn) l.push({ type: 2, index: o });
|
|
4341
|
+
else {
|
|
4342
|
+
let c = -1;
|
|
4343
|
+
for (; (c = a.data.indexOf(Te, c + 1)) !== -1; ) l.push({ type: 7, index: o }), c += Te.length - 1;
|
|
4344
|
+
}
|
|
4390
4345
|
o++;
|
|
4391
4346
|
}
|
|
4392
4347
|
}
|
|
@@ -4397,8 +4352,7 @@ class St {
|
|
|
4397
4352
|
}
|
|
4398
4353
|
function it(i, e, t = i, r) {
|
|
4399
4354
|
var a, o, n;
|
|
4400
|
-
if (e === tt)
|
|
4401
|
-
return e;
|
|
4355
|
+
if (e === tt) return e;
|
|
4402
4356
|
let s = r !== void 0 ? (a = t._$Co) == null ? void 0 : a[r] : t._$Cl;
|
|
4403
4357
|
const l = Et(e) ? void 0 : e._$litDirective$;
|
|
4404
4358
|
return (s == null ? void 0 : s.constructor) !== l && ((o = s == null ? void 0 : s._$AO) == null || o.call(s, !1), l === void 0 ? s = void 0 : (s = new l(i), s._$AT(i, t, r)), r !== void 0 ? ((n = t._$Co) != null ? n : t._$Co = [])[r] = s : t._$Cl = s), s !== void 0 && (e = it(i, s._$AS(i, e.values), s, r)), e;
|
|
@@ -4429,8 +4383,7 @@ class Ih {
|
|
|
4429
4383
|
}
|
|
4430
4384
|
p(e) {
|
|
4431
4385
|
let t = 0;
|
|
4432
|
-
for (const r of this._$AV)
|
|
4433
|
-
r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
|
|
4386
|
+
for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
|
|
4434
4387
|
}
|
|
4435
4388
|
}
|
|
4436
4389
|
class Lt {
|
|
@@ -4468,8 +4421,7 @@ class Lt {
|
|
|
4468
4421
|
$(e) {
|
|
4469
4422
|
var t;
|
|
4470
4423
|
const { values: r, _$litType$: a } = e, o = typeof a == "number" ? this._$AC(e) : (a.el === void 0 && (a.el = St.createElement(an(a.h, a.h[0]), this.options)), a);
|
|
4471
|
-
if (((t = this._$AH) == null ? void 0 : t._$AD) === o)
|
|
4472
|
-
this._$AH.p(r);
|
|
4424
|
+
if (((t = this._$AH) == null ? void 0 : t._$AD) === o) this._$AH.p(r);
|
|
4473
4425
|
else {
|
|
4474
4426
|
const n = new Ih(o, this), s = n.u(this.options);
|
|
4475
4427
|
n.p(r), this.T(s), this._$AH = n;
|
|
@@ -4483,8 +4435,7 @@ class Lt {
|
|
|
4483
4435
|
Mr(this._$AH) || (this._$AH = [], this._$AR());
|
|
4484
4436
|
const t = this._$AH;
|
|
4485
4437
|
let r, a = 0;
|
|
4486
|
-
for (const o of e)
|
|
4487
|
-
a === t.length ? t.push(r = new Lt(this.O(kt()), this.O(kt()), this, this.options)) : r = t[a], r._$AI(o), a++;
|
|
4438
|
+
for (const o of e) a === t.length ? t.push(r = new Lt(this.O(kt()), this.O(kt()), this, this.options)) : r = t[a], r._$AI(o), a++;
|
|
4488
4439
|
a < t.length && (this._$AR(r && r._$AB.nextSibling, a), t.length = a);
|
|
4489
4440
|
}
|
|
4490
4441
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -4512,13 +4463,11 @@ class xi {
|
|
|
4512
4463
|
_$AI(e, t = this, r, a) {
|
|
4513
4464
|
const o = this.strings;
|
|
4514
4465
|
let n = !1;
|
|
4515
|
-
if (o === void 0)
|
|
4516
|
-
e = it(this, e, t, 0), n = !Et(e) || e !== this._$AH && e !== tt, n && (this._$AH = e);
|
|
4466
|
+
if (o === void 0) e = it(this, e, t, 0), n = !Et(e) || e !== this._$AH && e !== tt, n && (this._$AH = e);
|
|
4517
4467
|
else {
|
|
4518
4468
|
const s = e;
|
|
4519
4469
|
let l, d;
|
|
4520
|
-
for (e = o[0], l = 0; l < o.length - 1; l++)
|
|
4521
|
-
d = it(this, s[r + l], t, l), d === tt && (d = this._$AH[l]), n || (n = !Et(d) || d !== this._$AH[l]), d === X ? e = X : e !== X && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
|
|
4470
|
+
for (e = o[0], l = 0; l < o.length - 1; l++) d = it(this, s[r + l], t, l), d === tt && (d = this._$AH[l]), n || (n = !Et(d) || d !== this._$AH[l]), d === X ? e = X : e !== X && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
|
|
4522
4471
|
}
|
|
4523
4472
|
n && !a && this.j(e);
|
|
4524
4473
|
}
|
|
@@ -4548,8 +4497,7 @@ class Ah extends xi {
|
|
|
4548
4497
|
}
|
|
4549
4498
|
_$AI(e, t = this) {
|
|
4550
4499
|
var r;
|
|
4551
|
-
if ((e = (r = it(this, e, t, 0)) != null ? r : X) === tt)
|
|
4552
|
-
return;
|
|
4500
|
+
if ((e = (r = it(this, e, t, 0)) != null ? r : X) === tt) return;
|
|
4553
4501
|
const a = this._$AH, o = e === X && a !== X || e.capture !== a.capture || e.once !== a.once || e.passive !== a.passive, n = e !== X && (a === X || o);
|
|
4554
4502
|
o && this.element.removeEventListener(this.name, this, a), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
4555
4503
|
}
|
|
@@ -4663,11 +4611,9 @@ function Mh(i, e) {
|
|
|
4663
4611
|
t.id = pi, t.textContent = dn(i), e.content.appendChild(t);
|
|
4664
4612
|
}
|
|
4665
4613
|
function Nh(i) {
|
|
4666
|
-
if (!i.shadowRoot)
|
|
4667
|
-
return;
|
|
4614
|
+
if (!i.shadowRoot) return;
|
|
4668
4615
|
const e = i.constructor;
|
|
4669
|
-
if (i instanceof Ge)
|
|
4670
|
-
[...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Jo(i.shadowRoot, e.elementStyles);
|
|
4616
|
+
if (i instanceof Ge) [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Jo(i.shadowRoot, e.elementStyles);
|
|
4671
4617
|
else {
|
|
4672
4618
|
const t = i.shadowRoot.getElementById(pi), r = e.prototype._template;
|
|
4673
4619
|
t.textContent = r.content.getElementById(pi).textContent;
|
|
@@ -4680,8 +4626,7 @@ function zh(i) {
|
|
|
4680
4626
|
});
|
|
4681
4627
|
}
|
|
4682
4628
|
function hn(i) {
|
|
4683
|
-
if (i.prototype instanceof Ge)
|
|
4684
|
-
i.elementStyles = i.finalizeStyles(i.styles);
|
|
4629
|
+
if (i.prototype instanceof Ge) i.elementStyles = i.finalizeStyles(i.styles);
|
|
4685
4630
|
else {
|
|
4686
4631
|
const e = i.prototype._template;
|
|
4687
4632
|
e.content.getElementById(pi).textContent = dn(i.getStylesForThis());
|
|
@@ -4726,8 +4671,7 @@ const z = (i) => class extends Ci(i) {
|
|
|
4726
4671
|
super(), or.add(new WeakRef(this));
|
|
4727
4672
|
}
|
|
4728
4673
|
static finalize() {
|
|
4729
|
-
if (super.finalize(), this.is && Nr.add(this.is), this.elementStyles)
|
|
4730
|
-
return;
|
|
4674
|
+
if (super.finalize(), this.is && Nr.add(this.is), this.elementStyles) return;
|
|
4731
4675
|
const e = this.prototype._template;
|
|
4732
4676
|
!e || sn(this) || Mh(this.getStylesForThis(), e);
|
|
4733
4677
|
}
|
|
@@ -5634,8 +5578,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
5634
5578
|
*/
|
|
5635
5579
|
let Kh = /(url\()([^)]*)(\))/g, Xh = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Gt, se;
|
|
5636
5580
|
function Ct(i, e) {
|
|
5637
|
-
if (i && Xh.test(i) || i === "//")
|
|
5638
|
-
return i;
|
|
5581
|
+
if (i && Xh.test(i) || i === "//") return i;
|
|
5639
5582
|
if (Gt === void 0) {
|
|
5640
5583
|
Gt = !1;
|
|
5641
5584
|
try {
|
|
@@ -5644,12 +5587,11 @@ function Ct(i, e) {
|
|
|
5644
5587
|
} catch (t) {
|
|
5645
5588
|
}
|
|
5646
5589
|
}
|
|
5647
|
-
if (e || (e = document.baseURI || window.location.href), Gt)
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
}
|
|
5590
|
+
if (e || (e = document.baseURI || window.location.href), Gt) try {
|
|
5591
|
+
return new URL(i, e).href;
|
|
5592
|
+
} catch (t) {
|
|
5593
|
+
return i;
|
|
5594
|
+
}
|
|
5653
5595
|
return se || (se = document.implementation.createHTMLDocument("temp"), se.base = se.createElement("base"), se.head.appendChild(se.base), se.anchor = se.createElement("a"), se.body.appendChild(se.anchor)), se.base.href = e, se.anchor.href = i, se.anchor.href || i;
|
|
5654
5596
|
}
|
|
5655
5597
|
function zr(i, e) {
|
|
@@ -5696,8 +5638,7 @@ const W = function(i) {
|
|
|
5696
5638
|
let t = ac++;
|
|
5697
5639
|
function r(a) {
|
|
5698
5640
|
let o = a.__mixinSet;
|
|
5699
|
-
if (o && o[t])
|
|
5700
|
-
return a;
|
|
5641
|
+
if (o && o[t]) return a;
|
|
5701
5642
|
let n = e, s = n.get(a);
|
|
5702
5643
|
if (!s) {
|
|
5703
5644
|
s = i(a), n.set(a, s);
|
|
@@ -5750,8 +5691,7 @@ class Tt extends HTMLElement {
|
|
|
5750
5691
|
}
|
|
5751
5692
|
register(e) {
|
|
5752
5693
|
if (e = e || this.id, e) {
|
|
5753
|
-
if (fi && to(e) !== void 0)
|
|
5754
|
-
throw eo(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5694
|
+
if (fi && to(e) !== void 0) throw eo(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5755
5695
|
this.id = e, eo(e, this), oc(this);
|
|
5756
5696
|
}
|
|
5757
5697
|
}
|
|
@@ -5778,14 +5718,12 @@ function ro(i) {
|
|
|
5778
5718
|
}
|
|
5779
5719
|
function lc(i) {
|
|
5780
5720
|
const e = i.trim().split(/\s+/), t = [];
|
|
5781
|
-
for (let r = 0; r < e.length; r++)
|
|
5782
|
-
t.push(...dc(e[r]));
|
|
5721
|
+
for (let r = 0; r < e.length; r++) t.push(...dc(e[r]));
|
|
5783
5722
|
return t;
|
|
5784
5723
|
}
|
|
5785
5724
|
function dc(i) {
|
|
5786
5725
|
const e = vn(i);
|
|
5787
|
-
if (!e)
|
|
5788
|
-
return console.warn("Could not find style data in module named", i), [];
|
|
5726
|
+
if (!e) return console.warn("Could not find style data in module named", i), [];
|
|
5789
5727
|
if (e._styles === void 0) {
|
|
5790
5728
|
const t = [];
|
|
5791
5729
|
t.push(...gn(e));
|
|
@@ -5820,8 +5758,7 @@ function gn(i) {
|
|
|
5820
5758
|
if (n && !o._unscopedStyle) {
|
|
5821
5759
|
const s = ro(o);
|
|
5822
5760
|
s.setAttribute(io, ""), o._unscopedStyle = s;
|
|
5823
|
-
} else
|
|
5824
|
-
o._style || (o._style = ro(o));
|
|
5761
|
+
} else o._style || (o._style = ro(o));
|
|
5825
5762
|
e.push(n ? o._unscopedStyle : o._style);
|
|
5826
5763
|
}
|
|
5827
5764
|
}
|
|
@@ -5870,12 +5807,10 @@ function bt(i) {
|
|
|
5870
5807
|
let e = [];
|
|
5871
5808
|
for (let t = 0; t < i.length; t++) {
|
|
5872
5809
|
let r = i[t].toString().split(".");
|
|
5873
|
-
for (let a = 0; a < r.length; a++)
|
|
5874
|
-
e.push(r[a]);
|
|
5810
|
+
for (let a = 0; a < r.length; a++) e.push(r[a]);
|
|
5875
5811
|
}
|
|
5876
5812
|
return e.join(".");
|
|
5877
|
-
} else
|
|
5878
|
-
return i;
|
|
5813
|
+
} else return i;
|
|
5879
5814
|
}
|
|
5880
5815
|
function yn(i) {
|
|
5881
5816
|
return Array.isArray(i) ? bt(i).split(".") : i.toString().split(".");
|
|
@@ -5883,8 +5818,7 @@ function yn(i) {
|
|
|
5883
5818
|
function re(i, e, t) {
|
|
5884
5819
|
let r = i, a = yn(e);
|
|
5885
5820
|
for (let o = 0; o < a.length; o++) {
|
|
5886
|
-
if (!r)
|
|
5887
|
-
return;
|
|
5821
|
+
if (!r) return;
|
|
5888
5822
|
let n = a[o];
|
|
5889
5823
|
r = r[n];
|
|
5890
5824
|
}
|
|
@@ -5895,12 +5829,10 @@ function ao(i, e, t) {
|
|
|
5895
5829
|
if (a.length > 1) {
|
|
5896
5830
|
for (let n = 0; n < a.length - 1; n++) {
|
|
5897
5831
|
let s = a[n];
|
|
5898
|
-
if (r = r[s], !r)
|
|
5899
|
-
return;
|
|
5832
|
+
if (r = r[s], !r) return;
|
|
5900
5833
|
}
|
|
5901
5834
|
r[o] = t;
|
|
5902
|
-
} else
|
|
5903
|
-
r[e] = t;
|
|
5835
|
+
} else r[e] = t;
|
|
5904
5836
|
return a.join(".");
|
|
5905
5837
|
}
|
|
5906
5838
|
/**
|
|
@@ -5935,14 +5867,13 @@ function vc() {
|
|
|
5935
5867
|
const i = Ke.length;
|
|
5936
5868
|
for (let e = 0; e < i; e++) {
|
|
5937
5869
|
let t = Ke[e];
|
|
5938
|
-
if (t)
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
}
|
|
5870
|
+
if (t) try {
|
|
5871
|
+
t();
|
|
5872
|
+
} catch (r) {
|
|
5873
|
+
setTimeout(() => {
|
|
5874
|
+
throw r;
|
|
5875
|
+
});
|
|
5876
|
+
}
|
|
5946
5877
|
}
|
|
5947
5878
|
Ke.splice(0, i), xn += i;
|
|
5948
5879
|
}
|
|
@@ -5961,8 +5892,7 @@ const _c = { after(i) {
|
|
|
5961
5892
|
}, cancel(i) {
|
|
5962
5893
|
const e = i - xn;
|
|
5963
5894
|
if (e >= 0) {
|
|
5964
|
-
if (!Ke[e])
|
|
5965
|
-
throw new Error("invalid async handle: " + i);
|
|
5895
|
+
if (!Ke[e]) throw new Error("invalid async handle: " + i);
|
|
5966
5896
|
Ke[e] = null;
|
|
5967
5897
|
}
|
|
5968
5898
|
} };
|
|
@@ -5979,8 +5909,7 @@ const gc = kn, En = W((i) => {
|
|
|
5979
5909
|
class e extends i {
|
|
5980
5910
|
static createProperties(r) {
|
|
5981
5911
|
const a = this.prototype;
|
|
5982
|
-
for (let o in r)
|
|
5983
|
-
o in a || a._createPropertyAccessor(o);
|
|
5912
|
+
for (let o in r) o in a || a._createPropertyAccessor(o);
|
|
5984
5913
|
}
|
|
5985
5914
|
static attributeNameForProperty(r) {
|
|
5986
5915
|
return r.toLowerCase();
|
|
@@ -6010,8 +5939,7 @@ const gc = kn, En = W((i) => {
|
|
|
6010
5939
|
this.__dataReady = !0, this._flushProperties();
|
|
6011
5940
|
}
|
|
6012
5941
|
_initializeProperties() {
|
|
6013
|
-
for (let r in this.__dataHasAccessor)
|
|
6014
|
-
this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
|
|
5942
|
+
for (let r in this.__dataHasAccessor) this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
|
|
6015
5943
|
}
|
|
6016
5944
|
_initializeInstanceProperties(r) {
|
|
6017
5945
|
Object.assign(this, r);
|
|
@@ -6100,8 +6028,7 @@ const Sn = {};
|
|
|
6100
6028
|
let Kt = HTMLElement.prototype;
|
|
6101
6029
|
for (; Kt; ) {
|
|
6102
6030
|
let i = Object.getOwnPropertyNames(Kt);
|
|
6103
|
-
for (let e = 0; e < i.length; e++)
|
|
6104
|
-
Sn[i[e]] = !0;
|
|
6031
|
+
for (let e = 0; e < i.length; e++) Sn[i[e]] = !0;
|
|
6105
6032
|
Kt = Object.getPrototypeOf(Kt);
|
|
6106
6033
|
}
|
|
6107
6034
|
const bc = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
@@ -6116,8 +6043,7 @@ const wc = W((i) => {
|
|
|
6116
6043
|
class t extends e {
|
|
6117
6044
|
static createPropertiesForAttributes() {
|
|
6118
6045
|
let a = this.observedAttributes;
|
|
6119
|
-
for (let o = 0; o < a.length; o++)
|
|
6120
|
-
this.prototype._createPropertyAccessor(wn(a[o]));
|
|
6046
|
+
for (let o = 0; o < a.length; o++) this.prototype._createPropertyAccessor(wn(a[o]));
|
|
6121
6047
|
}
|
|
6122
6048
|
static attributeNameForProperty(a) {
|
|
6123
6049
|
return ki(a);
|
|
@@ -6126,8 +6052,7 @@ const wc = W((i) => {
|
|
|
6126
6052
|
this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
|
|
6127
6053
|
}
|
|
6128
6054
|
_initializeProtoProperties(a) {
|
|
6129
|
-
for (let o in a)
|
|
6130
|
-
this._setProperty(o, a[o]);
|
|
6055
|
+
for (let o in a) this._setProperty(o, a[o]);
|
|
6131
6056
|
}
|
|
6132
6057
|
_ensureAttribute(a, o) {
|
|
6133
6058
|
const n = this;
|
|
@@ -6136,11 +6061,9 @@ const wc = W((i) => {
|
|
|
6136
6061
|
_serializeValue(a) {
|
|
6137
6062
|
switch (typeof a) {
|
|
6138
6063
|
case "object":
|
|
6139
|
-
if (a instanceof Date)
|
|
6140
|
-
return a.toString();
|
|
6064
|
+
if (a instanceof Date) return a.toString();
|
|
6141
6065
|
if (a) {
|
|
6142
|
-
if (bc(a))
|
|
6143
|
-
return a;
|
|
6066
|
+
if (bc(a)) return a;
|
|
6144
6067
|
try {
|
|
6145
6068
|
return JSON.stringify(a);
|
|
6146
6069
|
} catch (o) {
|
|
@@ -6236,19 +6159,14 @@ function Sc(i) {
|
|
|
6236
6159
|
function In(i, e) {
|
|
6237
6160
|
let t = e.parentInfo && In(i, e.parentInfo);
|
|
6238
6161
|
if (t) {
|
|
6239
|
-
for (let r = t.firstChild, a = 0; r; r = r.nextSibling)
|
|
6240
|
-
|
|
6241
|
-
return r;
|
|
6242
|
-
} else
|
|
6243
|
-
return i;
|
|
6162
|
+
for (let r = t.firstChild, a = 0; r; r = r.nextSibling) if (e.parentIndex === a++) return r;
|
|
6163
|
+
} else return i;
|
|
6244
6164
|
}
|
|
6245
6165
|
function Ic(i, e, t, r) {
|
|
6246
6166
|
r.id && (e[r.id] = t);
|
|
6247
6167
|
}
|
|
6248
6168
|
function Tc(i, e, t) {
|
|
6249
|
-
if (t.events && t.events.length)
|
|
6250
|
-
for (let r = 0, a = t.events, o; r < a.length && (o = a[r]); r++)
|
|
6251
|
-
i._addMethodEventListenerToNode(e, o.name, o.value, i);
|
|
6169
|
+
if (t.events && t.events.length) for (let r = 0, a = t.events, o; r < a.length && (o = a[r]); r++) i._addMethodEventListenerToNode(e, o.name, o.value, i);
|
|
6252
6170
|
}
|
|
6253
6171
|
function Pc(i, e, t, r) {
|
|
6254
6172
|
t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = r);
|
|
@@ -6275,20 +6193,18 @@ const Dc = W((i) => {
|
|
|
6275
6193
|
return s.localName == "template" && !s.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(s, a, o) || n : s.localName === "slot" && (a.hasInsertionPoint = !0), kc(s), s.firstChild && this._parseTemplateChildNodes(s, a, o), s.hasAttributes && s.hasAttributes() && (n = this._parseTemplateNodeAttributes(s, a, o) || n), n || o.noted;
|
|
6276
6194
|
}
|
|
6277
6195
|
static _parseTemplateChildNodes(r, a, o) {
|
|
6278
|
-
if (!(r.localName === "script" || r.localName === "style"))
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
r.removeChild(n);
|
|
6286
|
-
continue;
|
|
6287
|
-
}
|
|
6196
|
+
if (!(r.localName === "script" || r.localName === "style")) for (let n = r.firstChild, s = 0, l; n; n = l) {
|
|
6197
|
+
if (n.localName == "template" && (n = Sc(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
6198
|
+
let h = l;
|
|
6199
|
+
for (; h && h.nodeType === Node.TEXT_NODE; ) n.textContent += h.textContent, l = h.nextSibling, r.removeChild(h), h = l;
|
|
6200
|
+
if (a.stripWhiteSpace && !n.textContent.trim()) {
|
|
6201
|
+
r.removeChild(n);
|
|
6202
|
+
continue;
|
|
6288
6203
|
}
|
|
6289
|
-
let d = { parentIndex: s, parentInfo: o };
|
|
6290
|
-
this._parseTemplateNode(n, a, d) && (d.infoIndex = a.nodeInfoList.push(d) - 1), n.parentNode && s++;
|
|
6291
6204
|
}
|
|
6205
|
+
let d = { parentIndex: s, parentInfo: o };
|
|
6206
|
+
this._parseTemplateNode(n, a, d) && (d.infoIndex = a.nodeInfoList.push(d) - 1), n.parentNode && s++;
|
|
6207
|
+
}
|
|
6292
6208
|
}
|
|
6293
6209
|
static _parseTemplateNestedTemplate(r, a, o) {
|
|
6294
6210
|
let n = r, s = this._parseTemplate(n, a);
|
|
@@ -6296,8 +6212,7 @@ const Dc = W((i) => {
|
|
|
6296
6212
|
}
|
|
6297
6213
|
static _parseTemplateNodeAttributes(r, a, o) {
|
|
6298
6214
|
let n = !1, s = Array.from(r.attributes);
|
|
6299
|
-
for (let l = s.length - 1, d; d = s[l]; l--)
|
|
6300
|
-
n = this._parseTemplateNodeAttribute(r, a, o, d.name, d.value) || n;
|
|
6215
|
+
for (let l = s.length - 1, d; d = s[l]; l--) n = this._parseTemplateNodeAttribute(r, a, o, d.name, d.value) || n;
|
|
6301
6216
|
return n;
|
|
6302
6217
|
}
|
|
6303
6218
|
static _parseTemplateNodeAttribute(r, a, o, n, s) {
|
|
@@ -6348,14 +6263,11 @@ let Dt = 0;
|
|
|
6348
6263
|
const Ot = [], D = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, Tn = "__computeInfo", Oc = /[A-Z]/;
|
|
6349
6264
|
function Bi(i, e, t) {
|
|
6350
6265
|
let r = i[e];
|
|
6351
|
-
if (!r)
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
for (let
|
|
6355
|
-
|
|
6356
|
-
for (let s = 0; s < o.length; s++)
|
|
6357
|
-
n[s] = o[s];
|
|
6358
|
-
}
|
|
6266
|
+
if (!r) r = i[e] = {};
|
|
6267
|
+
else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t)) for (let a in r) {
|
|
6268
|
+
let o = r[a], n = r[a] = Array(o.length);
|
|
6269
|
+
for (let s = 0; s < o.length; s++) n[s] = o[s];
|
|
6270
|
+
}
|
|
6359
6271
|
return r;
|
|
6360
6272
|
}
|
|
6361
6273
|
function yt(i, e, t, r, a, o) {
|
|
@@ -6364,9 +6276,7 @@ function yt(i, e, t, r, a, o) {
|
|
|
6364
6276
|
const s = Dt++;
|
|
6365
6277
|
for (let l in t) {
|
|
6366
6278
|
let d = a ? $e(l) : l, h = e[d];
|
|
6367
|
-
if (h)
|
|
6368
|
-
for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++)
|
|
6369
|
-
(!p.info || p.info.lastRun !== s) && (!a || Fr(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, a, o), n = !0);
|
|
6279
|
+
if (h) for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++) (!p.info || p.info.lastRun !== s) && (!a || Fr(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, a, o), n = !0);
|
|
6370
6280
|
}
|
|
6371
6281
|
return n;
|
|
6372
6282
|
}
|
|
@@ -6374,17 +6284,14 @@ function yt(i, e, t, r, a, o) {
|
|
|
6374
6284
|
}
|
|
6375
6285
|
function Vc(i, e, t, r, a, o, n, s) {
|
|
6376
6286
|
let l = !1, d = n ? $e(r) : r, h = e[d];
|
|
6377
|
-
if (h)
|
|
6378
|
-
for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++)
|
|
6379
|
-
(!p.info || p.info.lastRun !== t) && (!n || Fr(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, a, o, p.info, n, s), l = !0);
|
|
6287
|
+
if (h) for (let c = 0, m = h.length, p; c < m && (p = h[c]); c++) (!p.info || p.info.lastRun !== t) && (!n || Fr(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, a, o, p.info, n, s), l = !0);
|
|
6380
6288
|
return l;
|
|
6381
6289
|
}
|
|
6382
6290
|
function Fr(i, e) {
|
|
6383
6291
|
if (e) {
|
|
6384
6292
|
let t = e.name;
|
|
6385
6293
|
return t == i || !!(e.structured && bn(t, i)) || !!(e.wildcard && Pt(t, i));
|
|
6386
|
-
} else
|
|
6387
|
-
return !0;
|
|
6294
|
+
} else return !0;
|
|
6388
6295
|
}
|
|
6389
6296
|
function so(i, e, t, r, a) {
|
|
6390
6297
|
let o = typeof a.method == "string" ? i[a.method] : a.method, n = a.property;
|
|
@@ -6392,8 +6299,7 @@ function so(i, e, t, r, a) {
|
|
|
6392
6299
|
}
|
|
6393
6300
|
function Mc(i, e, t, r, a) {
|
|
6394
6301
|
let o = i[D.NOTIFY], n, s = Dt++;
|
|
6395
|
-
for (let d in e)
|
|
6396
|
-
e[d] && (o && Vc(i, o, s, d, t, r, a) || a && Nc(i, d, t)) && (n = !0);
|
|
6302
|
+
for (let d in e) e[d] && (o && Vc(i, o, s, d, t, r, a) || a && Nc(i, d, t)) && (n = !0);
|
|
6397
6303
|
let l;
|
|
6398
6304
|
n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
6399
6305
|
}
|
|
@@ -6423,30 +6329,24 @@ function Rc(i, e, t, r, a) {
|
|
|
6423
6329
|
}
|
|
6424
6330
|
function Fc(i, e, t, r) {
|
|
6425
6331
|
let a = i[D.COMPUTE];
|
|
6426
|
-
if (a)
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
let o = e;
|
|
6438
|
-
for (; yt(i, a, o, t, r); )
|
|
6439
|
-
Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), o = i.__dataPending, i.__dataPending = null;
|
|
6440
|
-
}
|
|
6332
|
+
if (a) if (tc) {
|
|
6333
|
+
Dt++;
|
|
6334
|
+
const o = Bc(i), n = [];
|
|
6335
|
+
for (let l in e) lo(l, a, n, o, r);
|
|
6336
|
+
let s;
|
|
6337
|
+
for (; s = n.shift(); ) An(i, "", e, t, s) && lo(s.methodInfo, a, n, o, r);
|
|
6338
|
+
Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
|
|
6339
|
+
} else {
|
|
6340
|
+
let o = e;
|
|
6341
|
+
for (; yt(i, a, o, t, r); ) Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), o = i.__dataPending, i.__dataPending = null;
|
|
6342
|
+
}
|
|
6441
6343
|
}
|
|
6442
6344
|
const $c = (i, e, t) => {
|
|
6443
6345
|
let r = 0, a = e.length - 1, o = -1;
|
|
6444
6346
|
for (; r <= a; ) {
|
|
6445
6347
|
const n = r + a >> 1, s = t.get(e[n].methodInfo) - t.get(i.methodInfo);
|
|
6446
|
-
if (s < 0)
|
|
6447
|
-
|
|
6448
|
-
else if (s > 0)
|
|
6449
|
-
a = n - 1;
|
|
6348
|
+
if (s < 0) r = n + 1;
|
|
6349
|
+
else if (s > 0) a = n - 1;
|
|
6450
6350
|
else {
|
|
6451
6351
|
o = n;
|
|
6452
6352
|
break;
|
|
@@ -6455,11 +6355,10 @@ const $c = (i, e, t) => {
|
|
|
6455
6355
|
o < 0 && (o = a + 1), e.splice(o, 0, i);
|
|
6456
6356
|
}, lo = (i, e, t, r, a) => {
|
|
6457
6357
|
const o = a ? $e(i) : i, n = e[o];
|
|
6458
|
-
if (n)
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
}
|
|
6358
|
+
if (n) for (let s = 0; s < n.length; s++) {
|
|
6359
|
+
const l = n[s];
|
|
6360
|
+
l.info.lastRun !== Dt && (!a || Fr(i, l.trigger)) && (l.info.lastRun = Dt, $c(l.info, t, r));
|
|
6361
|
+
}
|
|
6463
6362
|
};
|
|
6464
6363
|
function Bc(i) {
|
|
6465
6364
|
let e = i.constructor.__orderedComputedDeps;
|
|
@@ -6486,14 +6385,12 @@ function Hc(i) {
|
|
|
6486
6385
|
const s = e[n];
|
|
6487
6386
|
o += t[n] = s.args.filter((l) => !l.literal).length + (s.dynamicFn ? 1 : 0);
|
|
6488
6387
|
}
|
|
6489
|
-
for (let n in r)
|
|
6490
|
-
e[n] || a.push(n);
|
|
6388
|
+
for (let n in r) e[n] || a.push(n);
|
|
6491
6389
|
return { counts: t, ready: a, total: o };
|
|
6492
6390
|
}
|
|
6493
6391
|
function An(i, e, t, r, a) {
|
|
6494
6392
|
let o = hr(i, e, t, r, a);
|
|
6495
|
-
if (o === Ot)
|
|
6496
|
-
return !1;
|
|
6393
|
+
if (o === Ot) return !1;
|
|
6497
6394
|
let n = a.methodInfo;
|
|
6498
6395
|
return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, o, !0) : (i[n] = o, !1);
|
|
6499
6396
|
}
|
|
@@ -6521,16 +6418,14 @@ function Hi(i, e, t, r, a, o, n) {
|
|
|
6521
6418
|
}
|
|
6522
6419
|
}
|
|
6523
6420
|
function qc(i, e, t, r, a) {
|
|
6524
|
-
if (!r.literal)
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
|
|
6528
|
-
let
|
|
6529
|
-
|
|
6530
|
-
let l = o[s];
|
|
6531
|
-
typeof l == "string" && (l = On(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: jc, info: n, trigger: l });
|
|
6532
|
-
}
|
|
6421
|
+
if (!r.literal) if (t.kind === "attribute" && t.target[0] === "-") console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
|
|
6422
|
+
else {
|
|
6423
|
+
let o = r.dependencies, n = { index: a, binding: t, part: r, evaluator: i };
|
|
6424
|
+
for (let s = 0; s < o.length; s++) {
|
|
6425
|
+
let l = o[s];
|
|
6426
|
+
typeof l == "string" && (l = On(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: jc, info: n, trigger: l });
|
|
6533
6427
|
}
|
|
6428
|
+
}
|
|
6534
6429
|
}
|
|
6535
6430
|
function jc(i, e, t, r, a, o, n) {
|
|
6536
6431
|
let s = n[a.index], l = a.binding, d = a.part;
|
|
@@ -6543,8 +6438,7 @@ function jc(i, e, t, r, a, o, n) {
|
|
|
6543
6438
|
}
|
|
6544
6439
|
}
|
|
6545
6440
|
function Wc(i, e, t, r, a) {
|
|
6546
|
-
if (a = Yc(e, a, t, r), mi && (a = mi(a, t.target, t.kind, e)), t.kind == "attribute")
|
|
6547
|
-
i._valueToNodeAttribute(e, a, t.target);
|
|
6441
|
+
if (a = Yc(e, a, t, r), mi && (a = mi(a, t.target, t.kind, e)), t.kind == "attribute") i._valueToNodeAttribute(e, a, t.target);
|
|
6548
6442
|
else {
|
|
6549
6443
|
let o = t.target;
|
|
6550
6444
|
e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[o] ? (!e[D.READ_ONLY] || !e[D.READ_ONLY][o]) && e._setPendingProperty(o, a) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, o, a);
|
|
@@ -6562,22 +6456,19 @@ function Gc(i) {
|
|
|
6562
6456
|
}
|
|
6563
6457
|
function Kc(i, e) {
|
|
6564
6458
|
let { nodeList: t, nodeInfoList: r } = e;
|
|
6565
|
-
if (r.length)
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
|
|
6569
|
-
|
|
6570
|
-
let d = s[l];
|
|
6571
|
-
Xc(n, d), Qc(n, i, d);
|
|
6572
|
-
}
|
|
6573
|
-
n.__dataHost = i;
|
|
6459
|
+
if (r.length) for (let a = 0; a < r.length; a++) {
|
|
6460
|
+
let o = r[a], n = t[a], s = o.bindings;
|
|
6461
|
+
if (s) for (let l = 0; l < s.length; l++) {
|
|
6462
|
+
let d = s[l];
|
|
6463
|
+
Xc(n, d), Qc(n, i, d);
|
|
6574
6464
|
}
|
|
6465
|
+
n.__dataHost = i;
|
|
6466
|
+
}
|
|
6575
6467
|
}
|
|
6576
6468
|
function Xc(i, e) {
|
|
6577
6469
|
if (e.isCompound) {
|
|
6578
6470
|
let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), r = e.parts, a = new Array(r.length);
|
|
6579
|
-
for (let n = 0; n < r.length; n++)
|
|
6580
|
-
a[n] = r[n].literal;
|
|
6471
|
+
for (let n = 0; n < r.length; n++) a[n] = r[n].literal;
|
|
6581
6472
|
let o = e.target;
|
|
6582
6473
|
t[o] = a, e.literal && e.kind == "property" && (o === "className" && (i = J(i)), i[o] = e.literal);
|
|
6583
6474
|
}
|
|
@@ -6593,8 +6484,7 @@ function Qc(i, e, t) {
|
|
|
6593
6484
|
function ho(i, e, t, r, a, o) {
|
|
6594
6485
|
o = e.static || o && (typeof o != "object" || o[e.methodName]);
|
|
6595
6486
|
let n = { methodName: e.methodName, args: e.args, methodInfo: a, dynamicFn: o };
|
|
6596
|
-
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++)
|
|
6597
|
-
l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
|
|
6487
|
+
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++) l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
|
|
6598
6488
|
return o && i._addPropertyEffect(e.methodName, t, { fn: r, info: n }), n;
|
|
6599
6489
|
}
|
|
6600
6490
|
function hr(i, e, t, r, a) {
|
|
@@ -6602,8 +6492,7 @@ function hr(i, e, t, r, a) {
|
|
|
6602
6492
|
if (n) {
|
|
6603
6493
|
let s = i._marshalArgs(a.args, e, t);
|
|
6604
6494
|
return s === Ot ? Ot : n.apply(o, s);
|
|
6605
|
-
} else
|
|
6606
|
-
a.dynamicFn || console.warn("method `" + a.methodName + "` not defined");
|
|
6495
|
+
} else a.dynamicFn || console.warn("method `" + a.methodName + "` not defined");
|
|
6607
6496
|
}
|
|
6608
6497
|
const Jc = [], Dn = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Zc = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", eu = "(?:'(?:[^'\\\\]|\\\\.)*')", tu = '(?:"(?:[^"\\\\]|\\\\.)*")', iu = "(?:" + eu + "|" + tu + ")", co = "(?:(" + Dn + "|" + Zc + "|" + iu + ")\\s*)", ru = "(?:" + co + "(?:,\\s*" + co + ")*)", au = "(?:\\(\\s*(?:" + ru + "?)\\)\\s*)", ou = "(" + Dn + "\\s*" + au + "?)", nu = "(\\[\\[|{{)\\s*", su = "(?:]]|}})", lu = "(?:(!)\\s*)?", du = nu + lu + ou + su, uo = new RegExp(du, "g");
|
|
6609
6498
|
function po(i) {
|
|
@@ -6621,8 +6510,7 @@ function Ui(i) {
|
|
|
6621
6510
|
if (e[2].trim()) {
|
|
6622
6511
|
let r = e[2].replace(/\\,/g, ",").split(",");
|
|
6623
6512
|
return hu(r, t);
|
|
6624
|
-
} else
|
|
6625
|
-
return t;
|
|
6513
|
+
} else return t;
|
|
6626
6514
|
}
|
|
6627
6515
|
return null;
|
|
6628
6516
|
}
|
|
@@ -6682,8 +6570,7 @@ const $r = W((i) => {
|
|
|
6682
6570
|
}
|
|
6683
6571
|
_initializeInstanceProperties(a) {
|
|
6684
6572
|
let o = this[D.READ_ONLY];
|
|
6685
|
-
for (let n in a)
|
|
6686
|
-
(!o || !o[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = a[n]);
|
|
6573
|
+
for (let n in a) (!o || !o[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = a[n]);
|
|
6687
6574
|
}
|
|
6688
6575
|
_addPropertyEffect(a, o, n) {
|
|
6689
6576
|
this._createPropertyAccessor(a, o == D.READ_ONLY);
|
|
@@ -6714,14 +6601,11 @@ const $r = W((i) => {
|
|
|
6714
6601
|
if (s || $e(Array.isArray(a) ? a[0] : a) !== a) {
|
|
6715
6602
|
if (!s) {
|
|
6716
6603
|
let l = re(this, a);
|
|
6717
|
-
if (a = ao(this, a, o), !a || !super._shouldPropertyChange(a, o, l))
|
|
6718
|
-
return !1;
|
|
6604
|
+
if (a = ao(this, a, o), !a || !super._shouldPropertyChange(a, o, l)) return !1;
|
|
6719
6605
|
}
|
|
6720
|
-
if (this.__dataHasPaths = !0, this._setPendingProperty(a, o, n))
|
|
6721
|
-
return Uc(this, a, o), !0;
|
|
6606
|
+
if (this.__dataHasPaths = !0, this._setPendingProperty(a, o, n)) return Uc(this, a, o), !0;
|
|
6722
6607
|
} else {
|
|
6723
|
-
if (this.__dataHasAccessor && this.__dataHasAccessor[a])
|
|
6724
|
-
return this._setPendingProperty(a, o, n);
|
|
6608
|
+
if (this.__dataHasAccessor && this.__dataHasAccessor[a]) return this._setPendingProperty(a, o, n);
|
|
6725
6609
|
this[a] = o;
|
|
6726
6610
|
}
|
|
6727
6611
|
return !1;
|
|
@@ -6759,8 +6643,7 @@ const $r = W((i) => {
|
|
|
6759
6643
|
this.__enableOrFlushClients();
|
|
6760
6644
|
}
|
|
6761
6645
|
setProperties(a, o) {
|
|
6762
|
-
for (let n in a)
|
|
6763
|
-
(o || !this[D.READ_ONLY] || !this[D.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, a[n], !0);
|
|
6646
|
+
for (let n in a) (o || !this[D.READ_ONLY] || !this[D.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, a[n], !0);
|
|
6764
6647
|
this._invalidateProperties();
|
|
6765
6648
|
}
|
|
6766
6649
|
ready() {
|
|
@@ -6778,8 +6661,7 @@ const $r = W((i) => {
|
|
|
6778
6661
|
_runEffectsForTemplate(a, o, n, s) {
|
|
6779
6662
|
const l = (d, h) => {
|
|
6780
6663
|
yt(this, a.propertyEffects, d, n, h, a.nodeList);
|
|
6781
|
-
for (let c = a.firstChild; c; c = c.nextSibling)
|
|
6782
|
-
this._runEffectsForTemplate(c, d, n, h);
|
|
6664
|
+
for (let c = a.firstChild; c; c = c.nextSibling) this._runEffectsForTemplate(c, d, n, h);
|
|
6783
6665
|
};
|
|
6784
6666
|
a.runEffects ? a.runEffects(l, o, s) : l(o, s);
|
|
6785
6667
|
}
|
|
@@ -6826,8 +6708,7 @@ const $r = W((i) => {
|
|
|
6826
6708
|
if (arguments.length == 1) {
|
|
6827
6709
|
let s = { path: "" };
|
|
6828
6710
|
o = re(this, a, s), n = s.path;
|
|
6829
|
-
} else
|
|
6830
|
-
Array.isArray(a) ? n = bt(a) : n = a;
|
|
6711
|
+
} else Array.isArray(a) ? n = bt(a) : n = a;
|
|
6831
6712
|
this._setPendingPropertyOrPath(n, o, !0, !0) && this._invalidateProperties();
|
|
6832
6713
|
}
|
|
6833
6714
|
_createReadOnlyProperty(a, o) {
|
|
@@ -6841,8 +6722,7 @@ const $r = W((i) => {
|
|
|
6841
6722
|
}
|
|
6842
6723
|
_createMethodObserver(a, o) {
|
|
6843
6724
|
let n = Ui(a);
|
|
6844
|
-
if (!n)
|
|
6845
|
-
throw new Error("Malformed observer expression '" + a + "'");
|
|
6725
|
+
if (!n) throw new Error("Malformed observer expression '" + a + "'");
|
|
6846
6726
|
ho(this, n, D.OBSERVE, hr, null, o);
|
|
6847
6727
|
}
|
|
6848
6728
|
_createNotifyingProperty(a) {
|
|
@@ -6854,8 +6734,7 @@ const $r = W((i) => {
|
|
|
6854
6734
|
}
|
|
6855
6735
|
_createComputedProperty(a, o, n) {
|
|
6856
6736
|
let s = Ui(o);
|
|
6857
|
-
if (!s)
|
|
6858
|
-
throw new Error("Malformed computed expression '" + o + "'");
|
|
6737
|
+
if (!s) throw new Error("Malformed computed expression '" + o + "'");
|
|
6859
6738
|
const l = ho(this, s, D.COMPUTE, An, a, n);
|
|
6860
6739
|
Bi(this, Tn)[a] = l;
|
|
6861
6740
|
}
|
|
@@ -6863,14 +6742,11 @@ const $r = W((i) => {
|
|
|
6863
6742
|
const s = this.__data, l = [];
|
|
6864
6743
|
for (let d = 0, h = a.length; d < h; d++) {
|
|
6865
6744
|
let { name: c, structured: m, wildcard: p, value: y, literal: M } = a[d];
|
|
6866
|
-
if (!M)
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
y = m ? mo(s, n, c) : s[c];
|
|
6872
|
-
if (sr && !this._overrideLegacyUndefined && y === void 0 && a.length > 1)
|
|
6873
|
-
return Ot;
|
|
6745
|
+
if (!M) if (p) {
|
|
6746
|
+
const A = Pt(c, o), x = mo(s, n, A ? o : c);
|
|
6747
|
+
y = { path: A ? o : c, value: x, base: A ? re(s, c) : x };
|
|
6748
|
+
} else y = m ? mo(s, n, c) : s[c];
|
|
6749
|
+
if (sr && !this._overrideLegacyUndefined && y === void 0 && a.length > 1) return Ot;
|
|
6874
6750
|
l[d] = y;
|
|
6875
6751
|
}
|
|
6876
6752
|
return l;
|
|
@@ -6901,18 +6777,13 @@ const $r = W((i) => {
|
|
|
6901
6777
|
}
|
|
6902
6778
|
_bindTemplate(a, o) {
|
|
6903
6779
|
let n = this.constructor._parseTemplate(a), s = this.__preBoundTemplateInfo == n;
|
|
6904
|
-
if (!s)
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
const l = a._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6912
|
-
n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
|
|
6913
|
-
}
|
|
6914
|
-
else
|
|
6915
|
-
this.__preBoundTemplateInfo = n;
|
|
6780
|
+
if (!s) for (let l in n.propertyEffects) this._createPropertyAccessor(l);
|
|
6781
|
+
if (o) if (n = Object.create(n), n.wasPreBound = s, !this.__templateInfo) this.__templateInfo = n;
|
|
6782
|
+
else {
|
|
6783
|
+
const l = a._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6784
|
+
n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
|
|
6785
|
+
}
|
|
6786
|
+
else this.__preBoundTemplateInfo = n;
|
|
6916
6787
|
return n;
|
|
6917
6788
|
}
|
|
6918
6789
|
static _addTemplatePropertyEffect(a, o, n) {
|
|
@@ -6926,8 +6797,7 @@ const $r = W((i) => {
|
|
|
6926
6797
|
let n = super._stampTemplate(a, o);
|
|
6927
6798
|
if (vt.pop(), o.nodeList = n.nodeList, !o.wasPreBound) {
|
|
6928
6799
|
let s = o.childNodes = [];
|
|
6929
|
-
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6930
|
-
s.push(l);
|
|
6800
|
+
for (let l = n.firstChild; l; l = l.nextSibling) s.push(l);
|
|
6931
6801
|
}
|
|
6932
6802
|
return n.templateInfo = o, Kc(this, o), this.__dataClientsReady && (this._runEffectsForTemplate(o, this.__data, null, !1), this._flushClients()), n;
|
|
6933
6803
|
}
|
|
@@ -6955,16 +6825,14 @@ const $r = W((i) => {
|
|
|
6955
6825
|
Oc.test(s) ? c = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), c = "attribute");
|
|
6956
6826
|
let m = po(d);
|
|
6957
6827
|
return m && c == "attribute" && (s == "class" && a.hasAttribute("class") && (m += " " + a.getAttribute(s)), a.setAttribute(s, m)), c == "attribute" && h == "disable-upgrade$" && a.setAttribute(s, ""), a.localName === "input" && h === "value" && a.setAttribute(h, ""), a.removeAttribute(h), c === "property" && (s = wn(s)), Hi(this, o, n, c, s, d, m), !0;
|
|
6958
|
-
} else
|
|
6959
|
-
return e._parseTemplateNodeAttribute.call(this, a, o, n, s, l);
|
|
6828
|
+
} else return e._parseTemplateNodeAttribute.call(this, a, o, n, s, l);
|
|
6960
6829
|
}
|
|
6961
6830
|
static _parseTemplateNestedTemplate(a, o, n) {
|
|
6962
6831
|
let s = e._parseTemplateNestedTemplate.call(this, a, o, n);
|
|
6963
6832
|
const l = a.parentNode, d = n.templateInfo, h = l.localName === "dom-if", c = l.localName === "dom-repeat";
|
|
6964
6833
|
Ja && (h || c) && (l.removeChild(a), n = n.parentInfo, n.templateInfo = d, n.noted = !0, s = !1);
|
|
6965
6834
|
let m = d.hostProps;
|
|
6966
|
-
if (ic && h)
|
|
6967
|
-
m && (o.hostProps = Object.assign(o.hostProps || {}, m), Ja || (n.parentInfo.noted = !0));
|
|
6835
|
+
if (ic && h) m && (o.hostProps = Object.assign(o.hostProps || {}, m), Ja || (n.parentInfo.noted = !0));
|
|
6968
6836
|
else {
|
|
6969
6837
|
let p = "{";
|
|
6970
6838
|
for (let y in m) {
|
|
@@ -6989,8 +6857,7 @@ const $r = W((i) => {
|
|
|
6989
6857
|
}
|
|
6990
6858
|
let U = o.dynamicFns;
|
|
6991
6859
|
(U && U[I] || M.static) && (A.push(I), M.dynamicFn = !0);
|
|
6992
|
-
} else
|
|
6993
|
-
A.push(c);
|
|
6860
|
+
} else A.push(c);
|
|
6994
6861
|
n.push({ source: c, mode: d, negate: h, customEvent: m, signature: M, dependencies: A, event: p }), s = uo.lastIndex;
|
|
6995
6862
|
}
|
|
6996
6863
|
if (s && s < a.length) {
|
|
@@ -7145,8 +7012,7 @@ const mu = "3.5.2", fo = window.ShadyCSS && window.ShadyCSS.cssBuild, fu = W((i)
|
|
|
7145
7012
|
}
|
|
7146
7013
|
function n(l) {
|
|
7147
7014
|
let d = null;
|
|
7148
|
-
if (l && (!fi || Zh) && (d = Tt.import(l, "template"), fi && !d))
|
|
7149
|
-
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7015
|
+
if (l && (!fi || Zh) && (d = Tt.import(l, "template"), fi && !d)) throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7150
7016
|
return d;
|
|
7151
7017
|
}
|
|
7152
7018
|
class s extends e {
|
|
@@ -7163,13 +7029,11 @@ const mu = "3.5.2", fo = window.ShadyCSS && window.ShadyCSS.cssBuild, fu = W((i)
|
|
|
7163
7029
|
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : pn || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
7164
7030
|
}
|
|
7165
7031
|
static createProperties(d) {
|
|
7166
|
-
for (let h in d)
|
|
7167
|
-
a(this.prototype, h, d[h], d);
|
|
7032
|
+
for (let h in d) a(this.prototype, h, d[h], d);
|
|
7168
7033
|
}
|
|
7169
7034
|
static createObservers(d, h) {
|
|
7170
7035
|
const c = this.prototype;
|
|
7171
|
-
for (let m = 0; m < d.length; m++)
|
|
7172
|
-
c._createMethodObserver(d[m], h);
|
|
7036
|
+
for (let m = 0; m < d.length; m++) c._createMethodObserver(d[m], h);
|
|
7173
7037
|
}
|
|
7174
7038
|
static get template() {
|
|
7175
7039
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
|
|
@@ -7184,8 +7048,7 @@ const mu = "3.5.2", fo = window.ShadyCSS && window.ShadyCSS.cssBuild, fu = W((i)
|
|
|
7184
7048
|
static get importPath() {
|
|
7185
7049
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
7186
7050
|
const d = this.importMeta;
|
|
7187
|
-
if (d)
|
|
7188
|
-
this._importPath = Lr(d.url);
|
|
7051
|
+
if (d) this._importPath = Lr(d.url);
|
|
7189
7052
|
else {
|
|
7190
7053
|
const h = Tt.import(this.is);
|
|
7191
7054
|
this._importPath = h && h.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
|
|
@@ -7199,14 +7062,13 @@ const mu = "3.5.2", fo = window.ShadyCSS && window.ShadyCSS.cssBuild, fu = W((i)
|
|
|
7199
7062
|
_initializeProperties() {
|
|
7200
7063
|
this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = Jh, this.importPath = this.constructor.importPath;
|
|
7201
7064
|
let d = t(this.constructor);
|
|
7202
|
-
if (d)
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
this._hasAccessor(h) ? this._setPendingProperty(h, m, !0) : this[h] = m;
|
|
7208
|
-
}
|
|
7065
|
+
if (d) for (let h in d) {
|
|
7066
|
+
let c = d[h];
|
|
7067
|
+
if (this._canApplyPropertyDefault(h)) {
|
|
7068
|
+
let m = typeof c.value == "function" ? c.value.call(this) : c.value;
|
|
7069
|
+
this._hasAccessor(h) ? this._setPendingProperty(h, m, !0) : this[h] = m;
|
|
7209
7070
|
}
|
|
7071
|
+
}
|
|
7210
7072
|
}
|
|
7211
7073
|
_canApplyPropertyDefault(d) {
|
|
7212
7074
|
return !this.hasOwnProperty(d);
|
|
@@ -7233,8 +7095,7 @@ const mu = "3.5.2", fo = window.ShadyCSS && window.ShadyCSS.cssBuild, fu = W((i)
|
|
|
7233
7095
|
}
|
|
7234
7096
|
_attachDom(d) {
|
|
7235
7097
|
const h = J(this);
|
|
7236
|
-
if (h.attachShadow)
|
|
7237
|
-
return d ? (h.shadowRoot || (h.attachShadow({ mode: "open", shadyUpgradeFragment: d }), h.shadowRoot.appendChild(d), this.constructor._styleSheet && (h.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ec && window.ShadyDOM && window.ShadyDOM.flushInitial(h.shadowRoot), h.shadowRoot) : null;
|
|
7098
|
+
if (h.attachShadow) return d ? (h.shadowRoot || (h.attachShadow({ mode: "open", shadyUpgradeFragment: d }), h.shadowRoot.appendChild(d), this.constructor._styleSheet && (h.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ec && window.ShadyDOM && window.ShadyDOM.flushInitial(h.shadowRoot), h.shadowRoot) : null;
|
|
7238
7099
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
7239
7100
|
}
|
|
7240
7101
|
updateStyles(d) {
|
|
@@ -7273,15 +7134,12 @@ class Mn {
|
|
|
7273
7134
|
}
|
|
7274
7135
|
}
|
|
7275
7136
|
function Nn(i) {
|
|
7276
|
-
if (i instanceof Mn)
|
|
7277
|
-
return i.value;
|
|
7137
|
+
if (i instanceof Mn) return i.value;
|
|
7278
7138
|
throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`);
|
|
7279
7139
|
}
|
|
7280
7140
|
function vu(i) {
|
|
7281
|
-
if (i instanceof HTMLTemplateElement)
|
|
7282
|
-
|
|
7283
|
-
if (i instanceof Mn)
|
|
7284
|
-
return Nn(i);
|
|
7141
|
+
if (i instanceof HTMLTemplateElement) return i.innerHTML;
|
|
7142
|
+
if (i instanceof Mn) return Nn(i);
|
|
7285
7143
|
throw new Error(`non-template value passed to Polymer's html function: ${i}`);
|
|
7286
7144
|
}
|
|
7287
7145
|
const E = function(i, ...e) {
|
|
@@ -7290,8 +7148,7 @@ const E = function(i, ...e) {
|
|
|
7290
7148
|
let r = e.reduce((a, o, n) => a + vu(o) + i[n + 1], i[0]);
|
|
7291
7149
|
return vo && (r = vo.createHTML(r)), t.innerHTML = r, t;
|
|
7292
7150
|
}, zn = (i, e) => {
|
|
7293
|
-
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
|
|
7294
|
-
throw new TypeError("Invalid call to the html template tag");
|
|
7151
|
+
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1) throw new TypeError("Invalid call to the html template tag");
|
|
7295
7152
|
};
|
|
7296
7153
|
/**
|
|
7297
7154
|
@license
|
|
@@ -7326,21 +7183,18 @@ function xu() {
|
|
|
7326
7183
|
return !!(ri && Object.keys(ri).map((i) => ri[i]).filter((i) => i.productionMode).length > 0);
|
|
7327
7184
|
}
|
|
7328
7185
|
function Ln(i, e) {
|
|
7329
|
-
if (typeof i != "function")
|
|
7330
|
-
return;
|
|
7186
|
+
if (typeof i != "function") return;
|
|
7331
7187
|
const t = _u.exec(i.toString());
|
|
7332
|
-
if (t)
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
}
|
|
7188
|
+
if (t) try {
|
|
7189
|
+
i = new Function(t[1]);
|
|
7190
|
+
} catch (r) {
|
|
7191
|
+
console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
|
|
7192
|
+
}
|
|
7338
7193
|
return i(e);
|
|
7339
7194
|
}
|
|
7340
7195
|
window.Vaadin = window.Vaadin || {};
|
|
7341
7196
|
const _o = function(i, e) {
|
|
7342
|
-
if (window.Vaadin.developmentMode)
|
|
7343
|
-
return Ln(i, e);
|
|
7197
|
+
if (window.Vaadin.developmentMode) return Ln(i, e);
|
|
7344
7198
|
};
|
|
7345
7199
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = bu());
|
|
7346
7200
|
function Cu() {
|
|
@@ -7825,8 +7679,7 @@ function Cu() {
|
|
|
7825
7679
|
vaadin-dev-mode:end **/
|
|
7826
7680
|
}
|
|
7827
7681
|
const ku = function() {
|
|
7828
|
-
if (typeof _o == "function")
|
|
7829
|
-
return _o(Cu);
|
|
7682
|
+
if (typeof _o == "function") return _o(Cu);
|
|
7830
7683
|
};
|
|
7831
7684
|
/**
|
|
7832
7685
|
* @license
|
|
@@ -7845,14 +7698,13 @@ function Eu() {
|
|
|
7845
7698
|
const i = Xe.length;
|
|
7846
7699
|
for (let e = 0; e < i; e++) {
|
|
7847
7700
|
const t = Xe[e];
|
|
7848
|
-
if (t)
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
}
|
|
7701
|
+
if (t) try {
|
|
7702
|
+
t();
|
|
7703
|
+
} catch (r) {
|
|
7704
|
+
setTimeout(() => {
|
|
7705
|
+
throw r;
|
|
7706
|
+
});
|
|
7707
|
+
}
|
|
7856
7708
|
}
|
|
7857
7709
|
Xe.splice(0, i), Rn += i;
|
|
7858
7710
|
}
|
|
@@ -7881,8 +7733,7 @@ const Pe = { after(i) {
|
|
|
7881
7733
|
}, cancel(i) {
|
|
7882
7734
|
const e = i - Rn;
|
|
7883
7735
|
if (e >= 0) {
|
|
7884
|
-
if (!Xe[e])
|
|
7885
|
-
throw new Error(`invalid async handle: ${i}`);
|
|
7736
|
+
if (!Xe[e]) throw new Error(`invalid async handle: ${i}`);
|
|
7886
7737
|
Xe[e] = null;
|
|
7887
7738
|
}
|
|
7888
7739
|
} };
|
|
@@ -7973,8 +7824,7 @@ const de = (i) => class extends i {
|
|
|
7973
7824
|
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), pr(this, mr(), null));
|
|
7974
7825
|
}
|
|
7975
7826
|
attributeChangedCallback(e, t, r) {
|
|
7976
|
-
if (super.attributeChangedCallback(e, t, r), e !== "dir")
|
|
7977
|
-
return;
|
|
7827
|
+
if (super.attributeChangedCallback(e, t, r), e !== "dir") return;
|
|
7978
7828
|
const a = mr(), o = r === a && ye.indexOf(this) === -1, n = !r && t && ye.indexOf(this) === -1;
|
|
7979
7829
|
o || n ? (this.__subscribe(), pr(this, a, r)) : r !== a && t === a && this.__unsubscribe();
|
|
7980
7830
|
}
|
|
@@ -8138,10 +7988,9 @@ class te extends EventTarget {
|
|
|
8138
7988
|
if (e.length === 0) {
|
|
8139
7989
|
const t = this.attachDefaultNode();
|
|
8140
7990
|
t && (this.nodes = [t], this.initNode(t));
|
|
8141
|
-
} else
|
|
8142
|
-
this.
|
|
8143
|
-
|
|
8144
|
-
});
|
|
7991
|
+
} else this.nodes = e, e.forEach((t) => {
|
|
7992
|
+
this.initAddedNode(t);
|
|
7993
|
+
});
|
|
8145
7994
|
}
|
|
8146
7995
|
attachDefaultNode() {
|
|
8147
7996
|
const { host: e, slotName: t, tagName: r } = this;
|
|
@@ -8262,8 +8111,7 @@ function qn(i) {
|
|
|
8262
8111
|
const Ru = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Fu = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
|
|
8263
8112
|
function Le(i) {
|
|
8264
8113
|
const e = i.type;
|
|
8265
|
-
if (!qn(e))
|
|
8266
|
-
return !1;
|
|
8114
|
+
if (!qn(e)) return !1;
|
|
8267
8115
|
if (e === "mousemove") {
|
|
8268
8116
|
let t = i.buttons === void 0 ? 1 : i.buttons;
|
|
8269
8117
|
return i instanceof window.MouseEvent && !Lu && (t = zu[i.which] || 0), !!(t & 1);
|
|
@@ -8272,11 +8120,9 @@ function Le(i) {
|
|
|
8272
8120
|
}
|
|
8273
8121
|
function $u(i) {
|
|
8274
8122
|
if (i.type === "click") {
|
|
8275
|
-
if (i.detail === 0)
|
|
8276
|
-
return !0;
|
|
8123
|
+
if (i.detail === 0) return !0;
|
|
8277
8124
|
const e = Ae(i);
|
|
8278
|
-
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
|
|
8279
|
-
return !0;
|
|
8125
|
+
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE) return !0;
|
|
8280
8126
|
const t = e.getBoundingClientRect(), r = i.pageX, a = i.pageY;
|
|
8281
8127
|
return !(r >= t.left && r <= t.right && a >= t.top && a <= t.bottom);
|
|
8282
8128
|
}
|
|
@@ -8286,11 +8132,10 @@ const we = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
|
|
|
8286
8132
|
function Bu(i) {
|
|
8287
8133
|
let e = "auto";
|
|
8288
8134
|
const t = Wn(i);
|
|
8289
|
-
for (let r = 0, a; r < t.length; r++)
|
|
8290
|
-
|
|
8291
|
-
|
|
8292
|
-
|
|
8293
|
-
}
|
|
8135
|
+
for (let r = 0, a; r < t.length; r++) if (a = t[r], a[vr]) {
|
|
8136
|
+
e = a[vr];
|
|
8137
|
+
break;
|
|
8138
|
+
}
|
|
8294
8139
|
return e;
|
|
8295
8140
|
}
|
|
8296
8141
|
function jn(i, e, t) {
|
|
@@ -8304,8 +8149,7 @@ function Hu(i, e) {
|
|
|
8304
8149
|
let t = document.elementFromPoint(i, e), r = t;
|
|
8305
8150
|
for (; r && r.shadowRoot && !window.ShadyDOM; ) {
|
|
8306
8151
|
const a = r;
|
|
8307
|
-
if (r = r.shadowRoot.elementFromPoint(i, e), a === r)
|
|
8308
|
-
break;
|
|
8152
|
+
if (r = r.shadowRoot.elementFromPoint(i, e), a === r) break;
|
|
8309
8153
|
r && (t = r);
|
|
8310
8154
|
}
|
|
8311
8155
|
return t;
|
|
@@ -8316,32 +8160,25 @@ function Ae(i) {
|
|
|
8316
8160
|
}
|
|
8317
8161
|
function Uu(i) {
|
|
8318
8162
|
const e = i.type, t = i.currentTarget[fr];
|
|
8319
|
-
if (!t)
|
|
8320
|
-
return;
|
|
8163
|
+
if (!t) return;
|
|
8321
8164
|
const r = t[e];
|
|
8322
|
-
if (!r)
|
|
8323
|
-
return;
|
|
8165
|
+
if (!r) return;
|
|
8324
8166
|
if (!i[ji] && (i[ji] = {}, e.startsWith("touch"))) {
|
|
8325
8167
|
const o = i.changedTouches[0];
|
|
8326
|
-
if (e === "touchstart" && i.touches.length === 1 && (we.touch.id = o.identifier), we.touch.id !== o.identifier)
|
|
8327
|
-
return;
|
|
8168
|
+
if (e === "touchstart" && i.touches.length === 1 && (we.touch.id = o.identifier), we.touch.id !== o.identifier) return;
|
|
8328
8169
|
Un || (e === "touchstart" || e === "touchmove") && qu(i);
|
|
8329
8170
|
}
|
|
8330
8171
|
const a = i[ji];
|
|
8331
8172
|
if (!a.skip) {
|
|
8332
|
-
for (let o = 0, n; o < ze.length; o++)
|
|
8333
|
-
|
|
8334
|
-
for (let o = 0, n; o < ze.length; o++)
|
|
8335
|
-
n = ze[o], r[n.name] && !a[n.name] && (a[n.name] = !0, n[e](i));
|
|
8173
|
+
for (let o = 0, n; o < ze.length; o++) n = ze[o], r[n.name] && !a[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
|
|
8174
|
+
for (let o = 0, n; o < ze.length; o++) n = ze[o], r[n.name] && !a[n.name] && (a[n.name] = !0, n[e](i));
|
|
8336
8175
|
}
|
|
8337
8176
|
}
|
|
8338
8177
|
function qu(i) {
|
|
8339
8178
|
const e = i.changedTouches[0], t = i.type;
|
|
8340
|
-
if (t === "touchstart")
|
|
8341
|
-
we.touch.x = e.clientX, we.touch.y = e.clientY, we.touch.scrollDecided = !1;
|
|
8179
|
+
if (t === "touchstart") we.touch.x = e.clientX, we.touch.y = e.clientY, we.touch.scrollDecided = !1;
|
|
8342
8180
|
else if (t === "touchmove") {
|
|
8343
|
-
if (we.touch.scrollDecided)
|
|
8344
|
-
return;
|
|
8181
|
+
if (we.touch.scrollDecided) return;
|
|
8345
8182
|
we.touch.scrollDecided = !0;
|
|
8346
8183
|
const r = Bu(i);
|
|
8347
8184
|
let a = !1;
|
|
@@ -8356,8 +8193,7 @@ function ju(i, e, t) {
|
|
|
8356
8193
|
const r = Ur[e], a = r.deps, o = r.name;
|
|
8357
8194
|
let n = i[fr];
|
|
8358
8195
|
n || (i[fr] = n = {});
|
|
8359
|
-
for (let s = 0, l, d; s < a.length; s++)
|
|
8360
|
-
l = a[s], !(Ru && qn(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Uu, void 0), d[o] = (d[o] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
8196
|
+
for (let s = 0, l, d; s < a.length; s++) l = a[s], !(Ru && qn(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Uu, void 0), d[o] = (d[o] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
8361
8197
|
i.addEventListener(e, t), r.touchAction && Yn(i, r.touchAction);
|
|
8362
8198
|
}
|
|
8363
8199
|
function qr(i) {
|
|
@@ -8368,9 +8204,7 @@ function qr(i) {
|
|
|
8368
8204
|
function Wu(i) {
|
|
8369
8205
|
for (let e = 0, t; e < ze.length; e++) {
|
|
8370
8206
|
t = ze[e];
|
|
8371
|
-
for (let r = 0, a; r < t.emits.length; r++)
|
|
8372
|
-
if (a = t.emits[r], a === i)
|
|
8373
|
-
return t;
|
|
8207
|
+
for (let r = 0, a; r < t.emits.length; r++) if (a = t.emits[r], a === i) return t;
|
|
8374
8208
|
}
|
|
8375
8209
|
return null;
|
|
8376
8210
|
}
|
|
@@ -8393,8 +8227,7 @@ function gi(i) {
|
|
|
8393
8227
|
qr({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
|
|
8394
8228
|
Qe(this.info);
|
|
8395
8229
|
}, mousedown(i) {
|
|
8396
|
-
if (!Le(i))
|
|
8397
|
-
return;
|
|
8230
|
+
if (!Le(i)) return;
|
|
8398
8231
|
const e = Ae(i), t = this, r = (o) => {
|
|
8399
8232
|
Le(o) || (_t("up", e, o), Qe(t.info));
|
|
8400
8233
|
}, a = (o) => {
|
|
@@ -8416,8 +8249,7 @@ qr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8416
8249
|
}, movefn: null, upfn: null, prevent: !1 }, reset() {
|
|
8417
8250
|
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Qe(this.info);
|
|
8418
8251
|
}, mousedown(i) {
|
|
8419
|
-
if (!Le(i))
|
|
8420
|
-
return;
|
|
8252
|
+
if (!Le(i)) return;
|
|
8421
8253
|
const e = Ae(i), t = this, r = (o) => {
|
|
8422
8254
|
const n = o.clientX, s = o.clientY;
|
|
8423
8255
|
xo(t.info, n, s) && (t.info.state = t.info.started ? o.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && gi("tap"), t.info.addMove({ x: n, y: s }), Le(o) || (t.info.state = "end", Qe(t.info)), e && Wi(t.info, e, o), t.info.started = !0);
|
|
@@ -8436,16 +8268,13 @@ qr({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8436
8268
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), Wi(this.info, e, t));
|
|
8437
8269
|
} });
|
|
8438
8270
|
function xo(i, e, t) {
|
|
8439
|
-
if (i.prevent)
|
|
8440
|
-
|
|
8441
|
-
if (i.started)
|
|
8442
|
-
return !0;
|
|
8271
|
+
if (i.prevent) return !1;
|
|
8272
|
+
if (i.started) return !0;
|
|
8443
8273
|
const r = Math.abs(i.x - e), a = Math.abs(i.y - t);
|
|
8444
8274
|
return r >= wo || a >= wo;
|
|
8445
8275
|
}
|
|
8446
8276
|
function Wi(i, e, t) {
|
|
8447
|
-
if (!e)
|
|
8448
|
-
return;
|
|
8277
|
+
if (!e) return;
|
|
8449
8278
|
const r = i.moves[i.moves.length - 2], a = i.moves[i.moves.length - 1], o = a.x - i.x, n = a.y - i.y;
|
|
8450
8279
|
let s, l = 0;
|
|
8451
8280
|
r && (s = a.x - r.x, l = a.y - r.y), jr(e, "track", { state: i.state, x: t.clientX, y: t.clientY, dx: o, dy: n, ddx: s, ddy: l, sourceEvent: t, hover() {
|
|
@@ -8562,8 +8391,7 @@ window.addEventListener("mousedown", () => {
|
|
|
8562
8391
|
}, { capture: !0 });
|
|
8563
8392
|
function _r() {
|
|
8564
8393
|
let i = document.activeElement || document.body;
|
|
8565
|
-
for (; i.shadowRoot && i.shadowRoot.activeElement; )
|
|
8566
|
-
i = i.shadowRoot.activeElement;
|
|
8394
|
+
for (; i.shadowRoot && i.shadowRoot.activeElement; ) i = i.shadowRoot.activeElement;
|
|
8567
8395
|
return i;
|
|
8568
8396
|
}
|
|
8569
8397
|
function Si() {
|
|
@@ -8571,8 +8399,7 @@ function Si() {
|
|
|
8571
8399
|
}
|
|
8572
8400
|
function Gn(i) {
|
|
8573
8401
|
const e = i.style;
|
|
8574
|
-
if (e.visibility === "hidden" || e.display === "none")
|
|
8575
|
-
return !0;
|
|
8402
|
+
if (e.visibility === "hidden" || e.display === "none") return !0;
|
|
8576
8403
|
const t = window.getComputedStyle(i);
|
|
8577
8404
|
return t.visibility === "hidden" || t.display === "none";
|
|
8578
8405
|
}
|
|
@@ -8582,14 +8409,12 @@ function Yu(i, e) {
|
|
|
8582
8409
|
}
|
|
8583
8410
|
function Gu(i, e) {
|
|
8584
8411
|
const t = [];
|
|
8585
|
-
for (; i.length > 0 && e.length > 0; )
|
|
8586
|
-
Yu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
8412
|
+
for (; i.length > 0 && e.length > 0; ) Yu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
8587
8413
|
return t.concat(i, e);
|
|
8588
8414
|
}
|
|
8589
8415
|
function gr(i) {
|
|
8590
8416
|
const e = i.length;
|
|
8591
|
-
if (e < 2)
|
|
8592
|
-
return i;
|
|
8417
|
+
if (e < 2) return i;
|
|
8593
8418
|
const t = Math.ceil(e / 2), r = gr(i.slice(0, t)), a = gr(i.slice(t));
|
|
8594
8419
|
return Gu(r, a);
|
|
8595
8420
|
}
|
|
@@ -8603,14 +8428,12 @@ function Kr(i) {
|
|
|
8603
8428
|
return i.getRootNode().activeElement === i;
|
|
8604
8429
|
}
|
|
8605
8430
|
function Ku(i) {
|
|
8606
|
-
if (!Gr(i))
|
|
8607
|
-
return -1;
|
|
8431
|
+
if (!Gr(i)) return -1;
|
|
8608
8432
|
const e = i.getAttribute("tabindex") || 0;
|
|
8609
8433
|
return Number(e);
|
|
8610
8434
|
}
|
|
8611
8435
|
function Kn(i, e) {
|
|
8612
|
-
if (i.nodeType !== Node.ELEMENT_NODE || Gn(i))
|
|
8613
|
-
return !1;
|
|
8436
|
+
if (i.nodeType !== Node.ELEMENT_NODE || Gn(i)) return !1;
|
|
8614
8437
|
const t = i, r = Ku(t);
|
|
8615
8438
|
let a = r > 0;
|
|
8616
8439
|
r >= 0 && e.push(t);
|
|
@@ -8874,23 +8697,19 @@ function Qn(i, e) {
|
|
|
8874
8697
|
i && i.removeAttribute(e);
|
|
8875
8698
|
}
|
|
8876
8699
|
function Jn(i, e) {
|
|
8877
|
-
if (!i || !e)
|
|
8878
|
-
return;
|
|
8700
|
+
if (!i || !e) return;
|
|
8879
8701
|
const t = Qr(e);
|
|
8880
|
-
if (t.has(i))
|
|
8881
|
-
return;
|
|
8702
|
+
if (t.has(i)) return;
|
|
8882
8703
|
const r = Br(i.getAttribute(e));
|
|
8883
8704
|
t.set(i, new Set(r));
|
|
8884
8705
|
}
|
|
8885
8706
|
function Ju(i, e) {
|
|
8886
|
-
if (!i || !e)
|
|
8887
|
-
return;
|
|
8707
|
+
if (!i || !e) return;
|
|
8888
8708
|
const t = Qr(e), r = t.get(i);
|
|
8889
8709
|
!r || r.size === 0 ? i.removeAttribute(e) : Hn(i, e, Ei(r)), t.delete(i);
|
|
8890
8710
|
}
|
|
8891
8711
|
function Je(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8892
|
-
if (!i || !e)
|
|
8893
|
-
return;
|
|
8712
|
+
if (!i || !e) return;
|
|
8894
8713
|
const { newId: r, oldId: a, fromUser: o } = t, n = Qr(e), s = n.get(i);
|
|
8895
8714
|
if (!o && s) {
|
|
8896
8715
|
a && s.delete(a), r && s.add(r);
|
|
@@ -9233,8 +9052,7 @@ const Ti = (i) => class extends Zr(rp(be(i))) {
|
|
|
9233
9052
|
if (e) {
|
|
9234
9053
|
const t = this._errorNode;
|
|
9235
9054
|
this._fieldAriaController.setErrorId(t && t.id);
|
|
9236
|
-
} else
|
|
9237
|
-
this._fieldAriaController.setErrorId(null);
|
|
9055
|
+
} else this._fieldAriaController.setErrorId(null);
|
|
9238
9056
|
});
|
|
9239
9057
|
}
|
|
9240
9058
|
};
|
|
@@ -9701,8 +9519,7 @@ const lp = (i) => class extends Ti(He(nt(i))) {
|
|
|
9701
9519
|
if (t && t.isConnected) {
|
|
9702
9520
|
const r = this.__checkboxes.map((a) => a.inputElement);
|
|
9703
9521
|
this._tooltipController.setAriaTarget(r);
|
|
9704
|
-
} else
|
|
9705
|
-
this._tooltipController.setAriaTarget([]);
|
|
9522
|
+
} else this._tooltipController.setAriaTarget([]);
|
|
9706
9523
|
});
|
|
9707
9524
|
}
|
|
9708
9525
|
get __checkboxes() {
|
|
@@ -11226,12 +11043,10 @@ function gp() {
|
|
|
11226
11043
|
});
|
|
11227
11044
|
}
|
|
11228
11045
|
function bp(i) {
|
|
11229
|
-
for (; i.length; )
|
|
11230
|
-
as(i.shift());
|
|
11046
|
+
for (; i.length; ) as(i.shift());
|
|
11231
11047
|
}
|
|
11232
11048
|
function yp(i) {
|
|
11233
|
-
for (let e = 0, t = i.length; e < t; e++)
|
|
11234
|
-
as(i.shift());
|
|
11049
|
+
for (let e = 0, t = i.length; e < t; e++) as(i.shift());
|
|
11235
11050
|
}
|
|
11236
11051
|
function as(i) {
|
|
11237
11052
|
const e = i[0], t = i[1], r = i[2];
|
|
@@ -11271,12 +11086,10 @@ let je = /* @__PURE__ */ new WeakMap(), Qt = /* @__PURE__ */ new WeakMap(), Jt =
|
|
|
11271
11086
|
const ko = (i) => i && i.nodeType === Node.ELEMENT_NODE, Ki = (...i) => {
|
|
11272
11087
|
console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`);
|
|
11273
11088
|
}, Ep = (i, e) => ko(i) ? e.map((t) => {
|
|
11274
|
-
if (!ko(t))
|
|
11275
|
-
return Ki(t, "is not a valid element"), null;
|
|
11089
|
+
if (!ko(t)) return Ki(t, "is not a valid element"), null;
|
|
11276
11090
|
let r = t;
|
|
11277
11091
|
for (; r && r !== i; ) {
|
|
11278
|
-
if (i.contains(r))
|
|
11279
|
-
return t;
|
|
11092
|
+
if (i.contains(r)) return t;
|
|
11280
11093
|
r = r.getRootNode().host;
|
|
11281
11094
|
}
|
|
11282
11095
|
return Ki(t, "is not contained inside", i), null;
|
|
@@ -11284,25 +11097,21 @@ const ko = (i) => i && i.nodeType === Node.ELEMENT_NODE, Ki = (...i) => {
|
|
|
11284
11097
|
const a = Ep(e, Array.isArray(i) ? i : [i]);
|
|
11285
11098
|
Jt[t] || (Jt[t] = /* @__PURE__ */ new WeakMap());
|
|
11286
11099
|
const o = Jt[t], n = [], s = /* @__PURE__ */ new Set(), l = new Set(a), d = (c) => {
|
|
11287
|
-
if (!c || s.has(c))
|
|
11288
|
-
return;
|
|
11100
|
+
if (!c || s.has(c)) return;
|
|
11289
11101
|
s.add(c);
|
|
11290
11102
|
const m = c.assignedSlot;
|
|
11291
11103
|
m && d(m), d(c.parentNode || c.host);
|
|
11292
11104
|
};
|
|
11293
11105
|
a.forEach(d);
|
|
11294
11106
|
const h = (c) => {
|
|
11295
|
-
if (!c || l.has(c))
|
|
11296
|
-
return;
|
|
11107
|
+
if (!c || l.has(c)) return;
|
|
11297
11108
|
const m = c.shadowRoot;
|
|
11298
11109
|
(m ? [...c.children, ...m.children] : [...c.children]).forEach((p) => {
|
|
11299
|
-
if (!["template", "script", "style"].includes(p.localName))
|
|
11300
|
-
|
|
11301
|
-
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
je.set(p, A), o.set(p, x), n.push(p), A === 1 && M && Qt.set(p, !0), x === 1 && p.setAttribute(t, "true"), M || p.setAttribute(r, "true");
|
|
11305
|
-
}
|
|
11110
|
+
if (!["template", "script", "style"].includes(p.localName)) if (s.has(p)) h(p);
|
|
11111
|
+
else {
|
|
11112
|
+
const y = p.getAttribute(r), M = y !== null && y !== "false", A = (je.get(p) || 0) + 1, x = (o.get(p) || 0) + 1;
|
|
11113
|
+
je.set(p, A), o.set(p, x), n.push(p), A === 1 && M && Qt.set(p, !0), x === 1 && p.setAttribute(t, "true"), M || p.setAttribute(r, "true");
|
|
11114
|
+
}
|
|
11306
11115
|
});
|
|
11307
11116
|
};
|
|
11308
11117
|
return h(e), s.clear(), Gi += 1, () => {
|
|
@@ -11343,8 +11152,7 @@ class Tp {
|
|
|
11343
11152
|
}
|
|
11344
11153
|
restoreFocus(e) {
|
|
11345
11154
|
const t = this.focusNode;
|
|
11346
|
-
if (!t)
|
|
11347
|
-
return;
|
|
11155
|
+
if (!t) return;
|
|
11348
11156
|
const r = e ? e.preventScroll : !1;
|
|
11349
11157
|
_r() === document.body ? setTimeout(() => t.focus({ preventScroll: r })) : t.focus({ preventScroll: r }), this.focusNode = null;
|
|
11350
11158
|
}
|
|
@@ -11373,8 +11181,7 @@ class Pp {
|
|
|
11373
11181
|
document.removeEventListener("keydown", this.__onKeyDown);
|
|
11374
11182
|
}
|
|
11375
11183
|
trapFocus(e) {
|
|
11376
|
-
if (this.__trapNode = e, this.__focusableElements.length === 0)
|
|
11377
|
-
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
11184
|
+
if (this.__trapNode = e, this.__focusableElements.length === 0) throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
11378
11185
|
Xi.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
11379
11186
|
}
|
|
11380
11187
|
releaseFocus() {
|
|
@@ -11424,12 +11231,10 @@ const Ap = (i) => class extends be(i) {
|
|
|
11424
11231
|
return e === document.body || this._deepContains(e);
|
|
11425
11232
|
}
|
|
11426
11233
|
_deepContains(e) {
|
|
11427
|
-
if (this.contains(e))
|
|
11428
|
-
return !0;
|
|
11234
|
+
if (this.contains(e)) return !0;
|
|
11429
11235
|
let t = e;
|
|
11430
11236
|
const r = e.ownerDocument;
|
|
11431
|
-
for (; t && t !== r && t !== this; )
|
|
11432
|
-
t = t.parentNode || t.host;
|
|
11237
|
+
for (; t && t !== r && t !== this; ) t = t.parentNode || t.host;
|
|
11433
11238
|
return t === this;
|
|
11434
11239
|
}
|
|
11435
11240
|
};
|
|
@@ -11459,8 +11264,7 @@ const ns = () => Array.from(document.body.children).filter((i) => i instanceof H
|
|
|
11459
11264
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
11460
11265
|
const e = Cr();
|
|
11461
11266
|
let t;
|
|
11462
|
-
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
|
|
11463
|
-
;
|
|
11267
|
+
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); ) ;
|
|
11464
11268
|
}
|
|
11465
11269
|
};
|
|
11466
11270
|
/**
|
|
@@ -11499,8 +11303,7 @@ const Ut = (i) => class extends Ap(ss(i)) {
|
|
|
11499
11303
|
this.dispatchEvent(t), t.defaultPrevented || (this.opened = !1);
|
|
11500
11304
|
}
|
|
11501
11305
|
_detectIosNavbar() {
|
|
11502
|
-
if (!this.opened)
|
|
11503
|
-
return;
|
|
11306
|
+
if (!this.opened) return;
|
|
11504
11307
|
const e = window.innerHeight, t = window.innerWidth > e, r = document.documentElement.clientHeight;
|
|
11505
11308
|
t && r > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${r - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
|
|
11506
11309
|
}
|
|
@@ -11581,8 +11384,7 @@ const Ut = (i) => class extends Ap(ss(i)) {
|
|
|
11581
11384
|
this._mouseDownInside = !1, this._mouseUpInside = !1;
|
|
11582
11385
|
return;
|
|
11583
11386
|
}
|
|
11584
|
-
if (!this._shouldCloseOnOutsideClick(e))
|
|
11585
|
-
return;
|
|
11387
|
+
if (!this._shouldCloseOnOutsideClick(e)) return;
|
|
11586
11388
|
const t = new CustomEvent("vaadin-overlay-outside-click", { bubbles: !0, cancelable: !0, detail: { sourceEvent: e } });
|
|
11587
11389
|
this.dispatchEvent(t), this.opened && !t.defaultPrevented && this.close(e);
|
|
11588
11390
|
}
|
|
@@ -11607,15 +11409,13 @@ function Op(i, e) {
|
|
|
11607
11409
|
function o(n = !1, s = 1) {
|
|
11608
11410
|
a();
|
|
11609
11411
|
const { left: l, top: d, width: h, height: c } = i.getBoundingClientRect();
|
|
11610
|
-
if (n || e(), !h || !c)
|
|
11611
|
-
return;
|
|
11412
|
+
if (n || e(), !h || !c) return;
|
|
11612
11413
|
const m = Math.floor(d), p = Math.floor(r.clientWidth - (l + h)), y = Math.floor(r.clientHeight - (d + c)), M = Math.floor(l), A = { rootMargin: `${-m}px ${-p}px ${-y}px ${-M}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
|
|
11613
11414
|
let x = !0;
|
|
11614
11415
|
function I(U) {
|
|
11615
11416
|
let F = U[0].intersectionRatio;
|
|
11616
11417
|
if (F !== s) {
|
|
11617
|
-
if (!x)
|
|
11618
|
-
return o();
|
|
11418
|
+
if (!x) return o();
|
|
11619
11419
|
F === 0 && (F = 1e-7), o(!1, F);
|
|
11620
11420
|
}
|
|
11621
11421
|
x = !1;
|
|
@@ -11678,8 +11478,7 @@ const Qi = { start: "top", end: "bottom" }, Ji = { start: "left", end: "right" }
|
|
|
11678
11478
|
e.target instanceof Node && this.contains(e.target) || this._updatePosition();
|
|
11679
11479
|
}
|
|
11680
11480
|
_updatePosition() {
|
|
11681
|
-
if (!this.positionTarget || !this.opened || !this.__margins)
|
|
11682
|
-
return;
|
|
11481
|
+
if (!this.positionTarget || !this.opened || !this.__margins) return;
|
|
11683
11482
|
const e = this.positionTarget.getBoundingClientRect();
|
|
11684
11483
|
if (e.width === 0 && e.height === 0 && this.opened) {
|
|
11685
11484
|
this.opened = !1;
|
|
@@ -11940,10 +11739,8 @@ function rt(i, e, t, r) {
|
|
|
11940
11739
|
}
|
|
11941
11740
|
function ds(i, e) {
|
|
11942
11741
|
return e.filter((t) => t !== void 0).reduce((t, r) => {
|
|
11943
|
-
if (!r)
|
|
11944
|
-
|
|
11945
|
-
if (!t)
|
|
11946
|
-
return r;
|
|
11742
|
+
if (!r) return t;
|
|
11743
|
+
if (!t) return r;
|
|
11947
11744
|
const a = Math.abs(i.getTime() - r.getTime()), o = Math.abs(t.getTime() - i.getTime());
|
|
11948
11745
|
return a < o ? r : t;
|
|
11949
11746
|
});
|
|
@@ -11953,17 +11750,14 @@ function hs(i) {
|
|
|
11953
11750
|
return t.setDate(1), t.setMonth(parseInt(i) + e.getMonth()), t;
|
|
11954
11751
|
}
|
|
11955
11752
|
function Fp(i, e, t = 0, r = 1) {
|
|
11956
|
-
if (e > 99)
|
|
11957
|
-
|
|
11958
|
-
if (e < 0)
|
|
11959
|
-
throw new Error("The provided year cannot be negative.");
|
|
11753
|
+
if (e > 99) throw new Error("The provided year cannot have more than 2 digits.");
|
|
11754
|
+
if (e < 0) throw new Error("The provided year cannot be negative.");
|
|
11960
11755
|
let a = e + Math.floor(i.getFullYear() / 100) * 100;
|
|
11961
11756
|
return i < new Date(a - 50, t, r) ? a -= 100 : i > new Date(a + 50, t, r) && (a += 100), a;
|
|
11962
11757
|
}
|
|
11963
11758
|
function gt(i) {
|
|
11964
11759
|
const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(i);
|
|
11965
|
-
if (!e)
|
|
11966
|
-
return;
|
|
11760
|
+
if (!e) return;
|
|
11967
11761
|
const t = new Date(0, 0);
|
|
11968
11762
|
return t.setFullYear(parseInt(e[1], 10)), t.setMonth(parseInt(e[2], 10) - 1), t.setDate(parseInt(e[3], 10)), t;
|
|
11969
11763
|
}
|
|
@@ -12155,8 +11949,7 @@ class us extends HTMLElement {
|
|
|
12155
11949
|
this._buffers[t].translateY = this._buffers[t ? 0 : 1].translateY + this._bufferHeight * (t ? -1 : 1), this._buffers[t].style.transform = `translate3d(0, ${this._buffers[t].translateY}px, 0)`, this._buffers[t].updated = !1, this._buffers.reverse();
|
|
12156
11950
|
}
|
|
12157
11951
|
_scroll() {
|
|
12158
|
-
if (this._scrollDisabled)
|
|
12159
|
-
return;
|
|
11952
|
+
if (this._scrollDisabled) return;
|
|
12160
11953
|
const e = this.$.scroller.scrollTop;
|
|
12161
11954
|
(e < this._bufferHeight || e > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
12162
11955
|
const t = this.itemHeight + this.bufferOffset, r = e > this._buffers[1].translateY + t, a = e < this._buffers[0].translateY + t;
|
|
@@ -12186,8 +11979,7 @@ class us extends HTMLElement {
|
|
|
12186
11979
|
});
|
|
12187
11980
|
}
|
|
12188
11981
|
_ensureStampedInstance(e) {
|
|
12189
|
-
if (e.firstElementChild)
|
|
12190
|
-
return;
|
|
11982
|
+
if (e.firstElementChild) return;
|
|
12191
11983
|
const t = e.instance;
|
|
12192
11984
|
e.instance = this._createElement(), e.appendChild(e.instance), Object.keys(t).forEach((r) => {
|
|
12193
11985
|
e.instance[r] = t[r];
|
|
@@ -12401,18 +12193,13 @@ const Qp = $r(class {
|
|
|
12401
12193
|
function Jp(i, e) {
|
|
12402
12194
|
for (let t = 0; t < e.length; t++) {
|
|
12403
12195
|
let r = e[t];
|
|
12404
|
-
if (!!i != !!r.__hideTemplateChildren__)
|
|
12405
|
-
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
const a = r.__polymerReplaced__;
|
|
12412
|
-
a && J(J(a).parentNode).replaceChild(r, a);
|
|
12413
|
-
}
|
|
12414
|
-
else
|
|
12415
|
-
r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
|
|
12196
|
+
if (!!i != !!r.__hideTemplateChildren__) if (r.nodeType === Node.TEXT_NODE) i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
|
|
12197
|
+
else if (r.localName === "slot") if (i) r.__polymerReplaced__ = document.createComment("hidden-slot"), J(J(r).parentNode).replaceChild(r.__polymerReplaced__, r);
|
|
12198
|
+
else {
|
|
12199
|
+
const a = r.__polymerReplaced__;
|
|
12200
|
+
a && J(J(a).parentNode).replaceChild(r, a);
|
|
12201
|
+
}
|
|
12202
|
+
else r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
|
|
12416
12203
|
r.__hideTemplateChildren__ = i, r._showHideChildren && r._showHideChildren(i);
|
|
12417
12204
|
}
|
|
12418
12205
|
}
|
|
@@ -12421,27 +12208,22 @@ class ca extends Qp {
|
|
|
12421
12208
|
super(), this._configureProperties(e), this.root = this._stampTemplate(this.__dataHost);
|
|
12422
12209
|
let t = [];
|
|
12423
12210
|
this.children = t;
|
|
12424
|
-
for (let a = this.root.firstChild; a; a = a.nextSibling)
|
|
12425
|
-
t.push(a), a.__templatizeInstance = this;
|
|
12211
|
+
for (let a = this.root.firstChild; a; a = a.nextSibling) t.push(a), a.__templatizeInstance = this;
|
|
12426
12212
|
this.__templatizeOwner && this.__templatizeOwner.__hideTemplateChildren__ && this._showHideChildren(!0);
|
|
12427
12213
|
let r = this.__templatizeOptions;
|
|
12428
12214
|
(e && r.instanceProps || !r.instanceProps) && this._enableProperties();
|
|
12429
12215
|
}
|
|
12430
12216
|
_configureProperties(e) {
|
|
12431
|
-
if (this.__templatizeOptions.forwardHostProp)
|
|
12432
|
-
|
|
12433
|
-
this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
12434
|
-
for (let t in e)
|
|
12435
|
-
this._setPendingProperty(t, e[t]);
|
|
12217
|
+
if (this.__templatizeOptions.forwardHostProp) for (let t in this.__hostProps) this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
12218
|
+
for (let t in e) this._setPendingProperty(t, e[t]);
|
|
12436
12219
|
}
|
|
12437
12220
|
forwardHostProp(e, t) {
|
|
12438
12221
|
this._setPendingPropertyOrPath(e, t, !1, !0) && this.__dataHost._enqueueClient(this);
|
|
12439
12222
|
}
|
|
12440
12223
|
_addEventListenerToNode(e, t, r) {
|
|
12441
|
-
if (this._methodHost && this.__templatizeOptions.parentModel)
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
});
|
|
12224
|
+
if (this._methodHost && this.__templatizeOptions.parentModel) this._methodHost._addEventListenerToNode(e, t, (a) => {
|
|
12225
|
+
a.model = this, r(a);
|
|
12226
|
+
});
|
|
12445
12227
|
else {
|
|
12446
12228
|
let a = this.__dataHost.__dataHost;
|
|
12447
12229
|
a && a._addEventListenerToNode(e, t, r);
|
|
@@ -12499,20 +12281,17 @@ function tm(i, e, t, r) {
|
|
|
12499
12281
|
n = e.templatizeTemplateClass = d;
|
|
12500
12282
|
}
|
|
12501
12283
|
let s = e.hostProps;
|
|
12502
|
-
for (let l in s)
|
|
12503
|
-
n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: im(l, a) }), n.prototype._createNotifyingProperty("_host_" + l);
|
|
12284
|
+
for (let l in s) n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: im(l, a) }), n.prototype._createNotifyingProperty("_host_" + l);
|
|
12504
12285
|
mn && r && nm(e, t, r);
|
|
12505
12286
|
}
|
|
12506
|
-
if (i.__dataProto && Object.assign(i.__data, i.__dataProto), o)
|
|
12507
|
-
Xp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
|
|
12287
|
+
if (i.__dataProto && Object.assign(i.__data, i.__dataProto), o) Xp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
|
|
12508
12288
|
else {
|
|
12509
12289
|
Object.setPrototypeOf(i, n.prototype);
|
|
12510
12290
|
const s = e.hostProps;
|
|
12511
|
-
for (let l in s)
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
12515
|
-
}
|
|
12291
|
+
for (let l in s) if (l = "_host_" + l, l in i) {
|
|
12292
|
+
const d = i[l];
|
|
12293
|
+
delete i[l], i.__data[l] = d;
|
|
12294
|
+
}
|
|
12516
12295
|
}
|
|
12517
12296
|
}
|
|
12518
12297
|
}
|
|
@@ -12528,9 +12307,7 @@ function rm(i, e, t, r) {
|
|
|
12528
12307
|
let n = r.notifyInstanceProp;
|
|
12529
12308
|
n && i.prototype._addPropertyEffect(o, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: am(o, n) });
|
|
12530
12309
|
}
|
|
12531
|
-
if (r.forwardHostProp && e.__dataHost)
|
|
12532
|
-
for (let o in a)
|
|
12533
|
-
t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(o, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: om() });
|
|
12310
|
+
if (r.forwardHostProp && e.__dataHost) for (let o in a) t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(o, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: om() });
|
|
12534
12311
|
}
|
|
12535
12312
|
function am(i, e) {
|
|
12536
12313
|
return function(t, r, a) {
|
|
@@ -12543,10 +12320,8 @@ function om() {
|
|
|
12543
12320
|
};
|
|
12544
12321
|
}
|
|
12545
12322
|
function Ir(i, e, t) {
|
|
12546
|
-
if (fi && !So(i))
|
|
12547
|
-
|
|
12548
|
-
if (t = t || {}, i.__templatizeOwner)
|
|
12549
|
-
throw new Error("A <template> can only be templatized once");
|
|
12323
|
+
if (fi && !So(i)) throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
12324
|
+
if (t = t || {}, i.__templatizeOwner) throw new Error("A <template> can only be templatized once");
|
|
12550
12325
|
i.__templatizeOwner = e;
|
|
12551
12326
|
let r = (e ? e.constructor : ca)._parseTemplate(i), a = r.templatizeInstanceClass;
|
|
12552
12327
|
a || (a = em(i, r, t), r.templatizeInstanceClass = a);
|
|
@@ -12558,28 +12333,22 @@ function Ir(i, e, t) {
|
|
|
12558
12333
|
}
|
|
12559
12334
|
function nm(i, e, t) {
|
|
12560
12335
|
const r = t.constructor._properties, { propertyEffects: a } = i, { instanceProps: o } = e;
|
|
12561
|
-
for (let n in a)
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
break;
|
|
12569
|
-
}
|
|
12336
|
+
for (let n in a) if (!r[n] && !(o && o[n])) {
|
|
12337
|
+
const s = a[n];
|
|
12338
|
+
for (let l = 0; l < s.length; l++) {
|
|
12339
|
+
const { part: d } = s[l].info;
|
|
12340
|
+
if (!(d.signature && d.signature.static)) {
|
|
12341
|
+
console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);
|
|
12342
|
+
break;
|
|
12570
12343
|
}
|
|
12571
12344
|
}
|
|
12345
|
+
}
|
|
12572
12346
|
}
|
|
12573
12347
|
function sm(i, e) {
|
|
12574
12348
|
let t;
|
|
12575
|
-
for (; e; )
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
e = t.__dataHost;
|
|
12579
|
-
else
|
|
12580
|
-
return t;
|
|
12581
|
-
else
|
|
12582
|
-
e = J(e).parentNode;
|
|
12349
|
+
for (; e; ) if (t = e.__dataHost ? e : e.__templatizeInstance) if (t.__dataHost != i) e = t.__dataHost;
|
|
12350
|
+
else return t;
|
|
12351
|
+
else e = J(e).parentNode;
|
|
12583
12352
|
return null;
|
|
12584
12353
|
}
|
|
12585
12354
|
/**
|
|
@@ -12631,16 +12400,14 @@ class To extends dm {
|
|
|
12631
12400
|
}
|
|
12632
12401
|
disconnectedCallback() {
|
|
12633
12402
|
super.disconnectedCallback(), this.__isDetached = !0;
|
|
12634
|
-
for (let e = 0; e < this.__instances.length; e++)
|
|
12635
|
-
this.__detachInstance(e);
|
|
12403
|
+
for (let e = 0; e < this.__instances.length; e++) this.__detachInstance(e);
|
|
12636
12404
|
this.__chunkingId && cancelAnimationFrame(this.__chunkingId);
|
|
12637
12405
|
}
|
|
12638
12406
|
connectedCallback() {
|
|
12639
12407
|
if (super.connectedCallback(), lm() || (this.style.display = "none"), this.__isDetached) {
|
|
12640
12408
|
this.__isDetached = !1;
|
|
12641
12409
|
let e = J(J(this).parentNode);
|
|
12642
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12643
|
-
this.__attachInstance(t, e);
|
|
12410
|
+
for (let t = 0; t < this.__instances.length; t++) this.__attachInstance(t, e);
|
|
12644
12411
|
this.__chunkingId && this.__render();
|
|
12645
12412
|
}
|
|
12646
12413
|
}
|
|
@@ -12650,18 +12417,15 @@ class To extends dm {
|
|
|
12650
12417
|
let t = this.template = e._templateInfo ? e : this.querySelector("template");
|
|
12651
12418
|
if (!t) {
|
|
12652
12419
|
let a = new MutationObserver(() => {
|
|
12653
|
-
if (this.querySelector("template"))
|
|
12654
|
-
|
|
12655
|
-
else
|
|
12656
|
-
throw new Error("dom-repeat requires a <template> child");
|
|
12420
|
+
if (this.querySelector("template")) a.disconnect(), this.__render();
|
|
12421
|
+
else throw new Error("dom-repeat requires a <template> child");
|
|
12657
12422
|
});
|
|
12658
12423
|
return a.observe(this, { childList: !0 }), !1;
|
|
12659
12424
|
}
|
|
12660
12425
|
let r = {};
|
|
12661
12426
|
r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor = Ir(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: r, forwardHostProp: function(a, o) {
|
|
12662
12427
|
let n = this.__instances;
|
|
12663
|
-
for (let s = 0, l; s < n.length && (l = n[s]); s++)
|
|
12664
|
-
l.forwardHostProp(a, o);
|
|
12428
|
+
for (let s = 0, l; s < n.length && (l = n[s]); s++) l.forwardHostProp(a, o);
|
|
12665
12429
|
}, notifyInstanceProp: function(a, o, n) {
|
|
12666
12430
|
if (cc(this.as, o)) {
|
|
12667
12431
|
let s = a[this.itemsIndexAs];
|
|
@@ -12699,12 +12463,10 @@ class To extends dm {
|
|
|
12699
12463
|
}
|
|
12700
12464
|
__handleObservedPaths(e) {
|
|
12701
12465
|
if (this.__sortFn || this.__filterFn) {
|
|
12702
|
-
if (!e)
|
|
12703
|
-
this.__debounceRender(this.__render, this.delay);
|
|
12466
|
+
if (!e) this.__debounceRender(this.__render, this.delay);
|
|
12704
12467
|
else if (this.__observePaths) {
|
|
12705
12468
|
let t = this.__observePaths;
|
|
12706
|
-
for (let r = 0; r < t.length; r++)
|
|
12707
|
-
e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12469
|
+
for (let r = 0; r < t.length; r++) e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12708
12470
|
}
|
|
12709
12471
|
}
|
|
12710
12472
|
}
|
|
@@ -12718,8 +12480,7 @@ class To extends dm {
|
|
|
12718
12480
|
this.__debounceRender(this.__render), la();
|
|
12719
12481
|
}
|
|
12720
12482
|
__render() {
|
|
12721
|
-
if (!this.__ensureTemplatized())
|
|
12722
|
-
return;
|
|
12483
|
+
if (!this.__ensureTemplatized()) return;
|
|
12723
12484
|
let e = this.items || [];
|
|
12724
12485
|
const t = this.__sortAndFilterItems(e), r = this.__calculateLimit(t.length);
|
|
12725
12486
|
this.__updateInstances(e, r, t), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
@@ -12728,8 +12489,7 @@ class To extends dm {
|
|
|
12728
12489
|
}
|
|
12729
12490
|
__sortAndFilterItems(e) {
|
|
12730
12491
|
let t = new Array(e.length);
|
|
12731
|
-
for (let r = 0; r < e.length; r++)
|
|
12732
|
-
t[r] = r;
|
|
12492
|
+
for (let r = 0; r < e.length; r++) t[r] = r;
|
|
12733
12493
|
return this.__filterFn && (t = t.filter((r, a, o) => this.__filterFn(e[r], a, o))), this.__sortFn && t.sort((r, a) => this.__sortFn(e[r], e[a])), t;
|
|
12734
12494
|
}
|
|
12735
12495
|
__calculateLimit(e) {
|
|
@@ -12755,8 +12515,7 @@ class To extends dm {
|
|
|
12755
12515
|
let n = this.__instances[o], s = r[o], l = e[s];
|
|
12756
12516
|
a[s] = o, n ? (n._setPendingProperty(this.as, l), n._setPendingProperty(this.indexAs, o), n._setPendingProperty(this.itemsIndexAs, s), n._flushProperties()) : this.__insertInstance(l, o, s);
|
|
12757
12517
|
}
|
|
12758
|
-
for (let n = this.__instances.length - 1; n >= o; n--)
|
|
12759
|
-
this.__detachAndRemoveInstance(n);
|
|
12518
|
+
for (let n = this.__instances.length - 1; n >= o; n--) this.__detachAndRemoveInstance(n);
|
|
12760
12519
|
}
|
|
12761
12520
|
__detachInstance(e) {
|
|
12762
12521
|
let t = this.__instances[e];
|
|
@@ -12784,8 +12543,7 @@ class To extends dm {
|
|
|
12784
12543
|
return J(J(this).parentNode).insertBefore(a.root, n), this.__instances[t] = a, a;
|
|
12785
12544
|
}
|
|
12786
12545
|
_showHideChildren(e) {
|
|
12787
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12788
|
-
this.__instances[t]._showHideChildren(e);
|
|
12546
|
+
for (let t = 0; t < this.__instances.length; t++) this.__instances[t]._showHideChildren(e);
|
|
12789
12547
|
}
|
|
12790
12548
|
__handleItemPath(e, t) {
|
|
12791
12549
|
let r = e.slice(6), a = r.indexOf("."), o = a < 0 ? r : r.substring(0, a);
|
|
@@ -12838,8 +12596,7 @@ const hm = (i) => class extends He(i) {
|
|
|
12838
12596
|
return o.setFullYear(e.getFullYear()), o.setMonth(e.getMonth() + 1), o.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !rt(a, t, r) && !rt(o, t, r);
|
|
12839
12597
|
}
|
|
12840
12598
|
_getTitle(e, t) {
|
|
12841
|
-
if (!(e === void 0 || t === void 0))
|
|
12842
|
-
return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12599
|
+
if (!(e === void 0 || t === void 0)) return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12843
12600
|
}
|
|
12844
12601
|
_onMonthGridTouchStart() {
|
|
12845
12602
|
this._notTapping = !1, setTimeout(() => {
|
|
@@ -12850,12 +12607,10 @@ const hm = (i) => class extends He(i) {
|
|
|
12850
12607
|
e.setDate(e.getDate() + t);
|
|
12851
12608
|
}
|
|
12852
12609
|
_applyFirstDayOfWeek(e, t) {
|
|
12853
|
-
if (!(e === void 0 || t === void 0))
|
|
12854
|
-
return e.slice(t).concat(e.slice(0, t));
|
|
12610
|
+
if (!(e === void 0 || t === void 0)) return e.slice(t).concat(e.slice(0, t));
|
|
12855
12611
|
}
|
|
12856
12612
|
_getWeekDayNames(e, t) {
|
|
12857
|
-
if (e === void 0 || t === void 0)
|
|
12858
|
-
return [];
|
|
12613
|
+
if (e === void 0 || t === void 0) return [];
|
|
12859
12614
|
const { weekdays: r, weekdaysShort: a, firstDayOfWeek: o } = e, n = this._applyFirstDayOfWeek(a, o);
|
|
12860
12615
|
return this._applyFirstDayOfWeek(r, o).map((s, l) => ({ weekDay: s, weekDayShort: n[l] })).slice(0, 7);
|
|
12861
12616
|
}
|
|
@@ -12872,14 +12627,11 @@ const hm = (i) => class extends He(i) {
|
|
|
12872
12627
|
return Ce(/* @__PURE__ */ new Date(), e);
|
|
12873
12628
|
}
|
|
12874
12629
|
_getDays(e, t) {
|
|
12875
|
-
if (e === void 0 || t === void 0)
|
|
12876
|
-
return [];
|
|
12630
|
+
if (e === void 0 || t === void 0) return [];
|
|
12877
12631
|
const r = new Date(0, 0);
|
|
12878
|
-
for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; )
|
|
12879
|
-
this._dateAdd(r, -1);
|
|
12632
|
+
for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; ) this._dateAdd(r, -1);
|
|
12880
12633
|
const a = [], o = r.getMonth(), n = e.getMonth();
|
|
12881
|
-
for (; r.getMonth() === n || r.getMonth() === o; )
|
|
12882
|
-
a.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
|
|
12634
|
+
for (; r.getMonth() === n || r.getMonth() === o; ) a.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
|
|
12883
12635
|
return a;
|
|
12884
12636
|
}
|
|
12885
12637
|
_getWeeks(e) {
|
|
@@ -12896,8 +12648,7 @@ const hm = (i) => class extends He(i) {
|
|
|
12896
12648
|
return Rp(t);
|
|
12897
12649
|
}
|
|
12898
12650
|
__getDayAriaLabel(e) {
|
|
12899
|
-
if (!e)
|
|
12900
|
-
return "";
|
|
12651
|
+
if (!e) return "";
|
|
12901
12652
|
let t = `${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;
|
|
12902
12653
|
return this._isToday(e) && (t += `, ${this.i18n.today}`), t;
|
|
12903
12654
|
}
|
|
@@ -13039,15 +12790,13 @@ class um extends hm(z(S)) {
|
|
|
13039
12790
|
return Ce(e, t);
|
|
13040
12791
|
}
|
|
13041
12792
|
__getDayAriaSelected(e, t) {
|
|
13042
|
-
if (this.__isDaySelected(e, t))
|
|
13043
|
-
return "true";
|
|
12793
|
+
if (this.__isDaySelected(e, t)) return "true";
|
|
13044
12794
|
}
|
|
13045
12795
|
__isDayDisabled(e, t, r, a) {
|
|
13046
12796
|
return !rt(e, t, r, a);
|
|
13047
12797
|
}
|
|
13048
12798
|
__getDayAriaDisabled(e, t, r, a) {
|
|
13049
|
-
if (!(e === void 0 || t === void 0 && r === void 0 && a === void 0) && this.__isDayDisabled(e, t, r, a))
|
|
13050
|
-
return "true";
|
|
12799
|
+
if (!(e === void 0 || t === void 0 && r === void 0 && a === void 0) && this.__isDayDisabled(e, t, r, a)) return "true";
|
|
13051
12800
|
}
|
|
13052
12801
|
__getDayTabindex(e, t) {
|
|
13053
12802
|
return this.__isDayFocused(e, t) ? "0" : "-1";
|
|
@@ -13176,8 +12925,7 @@ const pm = (i) => class extends i {
|
|
|
13176
12925
|
this.revealDate(e);
|
|
13177
12926
|
}
|
|
13178
12927
|
revealDate(e, t = !0) {
|
|
13179
|
-
if (!e)
|
|
13180
|
-
return;
|
|
12928
|
+
if (!e) return;
|
|
13181
12929
|
const r = this._differenceInMonths(e, this._originDate);
|
|
13182
12930
|
if (this.__useSubMonthScrolling) {
|
|
13183
12931
|
const s = this._calculateWeekScrollOffset(e);
|
|
@@ -13191,8 +12939,7 @@ const pm = (i) => class extends i {
|
|
|
13191
12939
|
const t = new Date(0, 0);
|
|
13192
12940
|
t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth()), t.setDate(1);
|
|
13193
12941
|
let r = 0;
|
|
13194
|
-
for (; t.getDate() < e.getDate(); )
|
|
13195
|
-
t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
|
|
12942
|
+
for (; t.getDate() < e.getDate(); ) t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
|
|
13196
12943
|
return r / 6;
|
|
13197
12944
|
}
|
|
13198
12945
|
_initialPositionChanged(e) {
|
|
@@ -13262,8 +13009,7 @@ const pm = (i) => class extends i {
|
|
|
13262
13009
|
if (d < this.scrollDuration) {
|
|
13263
13010
|
const h = a(d, n, this._targetPosition - n, this.scrollDuration);
|
|
13264
13011
|
this._monthScroller.position = h, window.requestAnimationFrame(s);
|
|
13265
|
-
} else
|
|
13266
|
-
this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: n } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
|
|
13012
|
+
} else this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: n } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
|
|
13267
13013
|
setTimeout(this._repositionYearScroller.bind(this), 1);
|
|
13268
13014
|
};
|
|
13269
13015
|
window.requestAnimationFrame(s);
|
|
@@ -13272,25 +13018,23 @@ const pm = (i) => class extends i {
|
|
|
13272
13018
|
return Math.min(t.max, Math.max(t.min, e));
|
|
13273
13019
|
}
|
|
13274
13020
|
_handleTrack(e) {
|
|
13275
|
-
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10)
|
|
13276
|
-
return;
|
|
13021
|
+
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10) return;
|
|
13277
13022
|
Math.abs(e.detail.ddx) > this._yearScrollerWidth / 3 && this._toggleAnimateClass(!0);
|
|
13278
13023
|
const t = this._translateX + e.detail.ddx;
|
|
13279
13024
|
this._translateX = this._limit(t, { min: 0, max: this._yearScrollerWidth });
|
|
13280
13025
|
}
|
|
13281
13026
|
_track(e) {
|
|
13282
|
-
if (!this._desktopMode)
|
|
13283
|
-
|
|
13284
|
-
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
}
|
|
13027
|
+
if (!this._desktopMode) switch (e.detail.state) {
|
|
13028
|
+
case "start":
|
|
13029
|
+
this._toggleAnimateClass(!1);
|
|
13030
|
+
break;
|
|
13031
|
+
case "track":
|
|
13032
|
+
this._handleTrack(e);
|
|
13033
|
+
break;
|
|
13034
|
+
case "end":
|
|
13035
|
+
this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
|
|
13036
|
+
break;
|
|
13037
|
+
}
|
|
13294
13038
|
}
|
|
13295
13039
|
_toggleAnimateClass(e) {
|
|
13296
13040
|
e ? this.classList.add("animate") : this.classList.remove("animate");
|
|
@@ -13630,8 +13374,7 @@ const pa = W((i) => class extends Xr(Zr(Ft(i))) {
|
|
|
13630
13374
|
this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`);
|
|
13631
13375
|
}
|
|
13632
13376
|
_constraintsChanged(e, ...t) {
|
|
13633
|
-
if (!e)
|
|
13634
|
-
return;
|
|
13377
|
+
if (!e) return;
|
|
13635
13378
|
const r = this._hasValidConstraints(t), a = this.__previousHasConstraints && !r;
|
|
13636
13379
|
(this._hasValue || this.invalid) && r ? this.validate() : a && this._setInvalid(!1), this.__previousHasConstraints = r;
|
|
13637
13380
|
}
|
|
@@ -13704,12 +13447,11 @@ const Di = (i) => class extends vs(Ii(pa(Ti(gm(Be(i)))))) {
|
|
|
13704
13447
|
this.allowedCharPattern && e.data && !this.__allowedTextRegExp.test(e.data) && (e.preventDefault(), this._markInputPrevented());
|
|
13705
13448
|
}
|
|
13706
13449
|
_allowedCharPatternChanged(e) {
|
|
13707
|
-
if (e)
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
}
|
|
13450
|
+
if (e) try {
|
|
13451
|
+
this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
|
|
13452
|
+
} catch (t) {
|
|
13453
|
+
console.error(t);
|
|
13454
|
+
}
|
|
13713
13455
|
}
|
|
13714
13456
|
};
|
|
13715
13457
|
/**
|
|
@@ -13804,8 +13546,7 @@ const qt = (i) => class extends i {
|
|
|
13804
13546
|
return ["__updateOverlayClassNames(overlayClass, _overlayElement)"];
|
|
13805
13547
|
}
|
|
13806
13548
|
__updateOverlayClassNames(e, t) {
|
|
13807
|
-
if (!t || e === void 0)
|
|
13808
|
-
return;
|
|
13549
|
+
if (!t || e === void 0) return;
|
|
13809
13550
|
const { classList: r } = t;
|
|
13810
13551
|
if (this.__initialClasses || (this.__initialClasses = new Set(r)), Array.isArray(this.__previousClasses)) {
|
|
13811
13552
|
const o = this.__previousClasses.filter((n) => !this.__initialClasses.has(n));
|
|
@@ -13848,10 +13589,8 @@ const ym = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
13848
13589
|
const s = this.referenceDate ? gt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
13849
13590
|
n = Fp(s, n, o, a);
|
|
13850
13591
|
}
|
|
13851
|
-
} else
|
|
13852
|
-
|
|
13853
|
-
if (a !== void 0)
|
|
13854
|
-
return { day: a, month: o, year: n };
|
|
13592
|
+
} else t.length === 2 ? (o = parseInt(t[0]) - 1, a = parseInt(t[1])) : t.length === 1 && (a = parseInt(t[0]));
|
|
13593
|
+
if (a !== void 0) return { day: a, month: o, year: n };
|
|
13855
13594
|
}, formatTitle: (e, t) => `${e} ${t}` }) }, min: { type: String, sync: !0 }, max: { type: String, sync: !0 }, isDateDisabled: { type: Function }, _minDate: { type: Date, computed: "__computeMinOrMaxDate(min)", sync: !0 }, _maxDate: { type: Date, computed: "__computeMinOrMaxDate(max)", sync: !0 }, _noInput: { type: Boolean, computed: "_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)" }, _ios: { type: Boolean, value: aa }, _focusOverlayOnOpen: Boolean, _overlayContent: { type: Object, sync: !0 }, _hasInputValue: { type: Boolean } };
|
|
13856
13595
|
}
|
|
13857
13596
|
static get observers() {
|
|
@@ -13901,8 +13640,7 @@ const ym = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
13901
13640
|
this.$.overlay.close();
|
|
13902
13641
|
}
|
|
13903
13642
|
_overlayRenderer(e) {
|
|
13904
|
-
if (e.firstChild)
|
|
13905
|
-
return;
|
|
13643
|
+
if (e.firstChild) return;
|
|
13906
13644
|
const t = document.createElement("vaadin-date-picker-overlay-content");
|
|
13907
13645
|
e.appendChild(t), this._overlayContent = t, t.addEventListener("close", () => {
|
|
13908
13646
|
this._close();
|
|
@@ -13919,15 +13657,12 @@ const ym = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
13919
13657
|
}), t.addEventListener("click", (r) => r.stopPropagation());
|
|
13920
13658
|
}
|
|
13921
13659
|
__parseDate(e) {
|
|
13922
|
-
if (!this.i18n.parseDate)
|
|
13923
|
-
return;
|
|
13660
|
+
if (!this.i18n.parseDate) return;
|
|
13924
13661
|
let t = this.i18n.parseDate(e);
|
|
13925
|
-
if (t && (t = gt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
|
|
13926
|
-
return t;
|
|
13662
|
+
if (t && (t = gt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime())) return t;
|
|
13927
13663
|
}
|
|
13928
13664
|
__formatDate(e) {
|
|
13929
|
-
if (this.i18n.formatDate)
|
|
13930
|
-
return this.i18n.formatDate(sa(e));
|
|
13665
|
+
if (this.i18n.formatDate) return this.i18n.formatDate(sa(e));
|
|
13931
13666
|
}
|
|
13932
13667
|
checkValidity() {
|
|
13933
13668
|
const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || rt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
@@ -14017,8 +13752,7 @@ const ym = (i) => class extends qt(be(Ii(pa(Be(i))))) {
|
|
|
14017
13752
|
if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
|
|
14018
13753
|
const e = this._inputElementValue || "", t = this.__parseDate(e);
|
|
14019
13754
|
t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
|
|
14020
|
-
} else
|
|
14021
|
-
this._focusedDate && this.__commitDate(this._focusedDate);
|
|
13755
|
+
} else this._focusedDate && this.__commitDate(this._focusedDate);
|
|
14022
13756
|
this._ignoreFocusedDateChange = !1;
|
|
14023
13757
|
}
|
|
14024
13758
|
_onOverlayClosed() {
|
|
@@ -14395,8 +14129,7 @@ const Tm = (i) => class extends vs(nt(He(Ft(i)))) {
|
|
|
14395
14129
|
return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
|
|
14396
14130
|
}
|
|
14397
14131
|
_setFocused(e) {
|
|
14398
|
-
if (super._setFocused(e), !e)
|
|
14399
|
-
this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
14132
|
+
if (super._setFocused(e), !e) this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
14400
14133
|
else {
|
|
14401
14134
|
const t = this.getRootNode().activeElement === this._revealNode;
|
|
14402
14135
|
this.toggleAttribute("focus-ring", this._keyboardActive && !t);
|
|
@@ -14671,8 +14404,7 @@ const Es = (i) => class extends i {
|
|
|
14671
14404
|
e && this.setAttribute("dir", e);
|
|
14672
14405
|
}
|
|
14673
14406
|
requestContentUpdate() {
|
|
14674
|
-
if (!this.renderer || this.hidden)
|
|
14675
|
-
return;
|
|
14407
|
+
if (!this.renderer || this.hidden) return;
|
|
14676
14408
|
const e = { index: this.index, item: this.item, focused: this.focused, selected: this.selected };
|
|
14677
14409
|
this.renderer(this, this._owner, e);
|
|
14678
14410
|
}
|
|
@@ -14830,8 +14562,7 @@ const Po = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Nm
|
|
|
14830
14562
|
if (i == null) {
|
|
14831
14563
|
let e = this._physicalTop + this._scrollOffset;
|
|
14832
14564
|
i = this._iterateItems((t, r) => {
|
|
14833
|
-
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition)
|
|
14834
|
-
return r;
|
|
14565
|
+
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition) return r;
|
|
14835
14566
|
}) || 0, this._firstVisibleIndexVal = i;
|
|
14836
14567
|
}
|
|
14837
14568
|
return i;
|
|
@@ -14863,24 +14594,20 @@ const Po = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Nm
|
|
|
14863
14594
|
const a = [], o = this._hiddenContentSize * this._ratio, n = this._virtualStart, s = this._virtualEnd, l = this._physicalCount;
|
|
14864
14595
|
let d = this._physicalTop + this._scrollOffset;
|
|
14865
14596
|
const h = this._physicalBottom + this._scrollOffset, c = this._scrollPosition, m = this._scrollBottom;
|
|
14866
|
-
for (i ? (e = this._physicalStart, t = c - d) : (e = this._physicalEnd, t = h - m); r = this._getPhysicalSizeIncrement(e), t -= r, !(a.length >= l || t <= o); )
|
|
14867
|
-
if (
|
|
14868
|
-
|
|
14869
|
-
|
|
14870
|
-
|
|
14871
|
-
|
|
14872
|
-
|
|
14873
|
-
break;
|
|
14874
|
-
a.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
|
|
14875
|
-
}
|
|
14597
|
+
for (i ? (e = this._physicalStart, t = c - d) : (e = this._physicalEnd, t = h - m); r = this._getPhysicalSizeIncrement(e), t -= r, !(a.length >= l || t <= o); ) if (i) {
|
|
14598
|
+
if (s + a.length + 1 >= this._virtualCount || d + r >= c - this._scrollOffset) break;
|
|
14599
|
+
a.push(e), d += r, e = (e + 1) % l;
|
|
14600
|
+
} else {
|
|
14601
|
+
if (n - a.length <= 0 || d + this._physicalSize - r <= m) break;
|
|
14602
|
+
a.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
|
|
14603
|
+
}
|
|
14876
14604
|
return { indexes: a, physicalTop: d - this._scrollOffset };
|
|
14877
14605
|
}, _update(i, e) {
|
|
14878
14606
|
if (!(i && i.length === 0 || this._physicalCount === 0)) {
|
|
14879
|
-
if (this._assignModels(i), this._updateMetrics(i), e)
|
|
14880
|
-
|
|
14881
|
-
|
|
14882
|
-
|
|
14883
|
-
}
|
|
14607
|
+
if (this._assignModels(i), this._updateMetrics(i), e) for (; e.length; ) {
|
|
14608
|
+
const t = e.pop();
|
|
14609
|
+
this._physicalTop -= this._getPhysicalSizeIncrement(t);
|
|
14610
|
+
}
|
|
14884
14611
|
this._positionItems(), this._updateScrollerSize();
|
|
14885
14612
|
}
|
|
14886
14613
|
}, _isClientFull() {
|
|
@@ -14892,34 +14619,25 @@ const Po = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Nm
|
|
|
14892
14619
|
if (e > 0) {
|
|
14893
14620
|
const r = window.performance.now();
|
|
14894
14621
|
[].push.apply(this._physicalItems, this._createPool(e));
|
|
14895
|
-
for (let a = 0; a < e; a++)
|
|
14896
|
-
this._physicalSizes.push(0);
|
|
14622
|
+
for (let a = 0; a < e; a++) this._physicalSizes.push(0);
|
|
14897
14623
|
this._physicalCount += e, this._physicalStart > this._physicalEnd && this._isIndexRendered(this._focusedVirtualIndex) && this._getPhysicalIndex(this._focusedVirtualIndex) < this._physicalEnd && (this._physicalStart += e), this._update(), this._templateCost = (window.performance.now() - r) / e, t = Math.round(this._physicalCount * 0.5);
|
|
14898
14624
|
}
|
|
14899
14625
|
this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)), Fn) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), _i));
|
|
14900
14626
|
}
|
|
14901
14627
|
}, _render() {
|
|
14902
|
-
if (!(!this.isAttached || !this._isVisible))
|
|
14903
|
-
|
|
14904
|
-
|
|
14905
|
-
|
|
14906
|
-
} else
|
|
14907
|
-
this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(Ao));
|
|
14628
|
+
if (!(!this.isAttached || !this._isVisible)) if (this._physicalCount !== 0) {
|
|
14629
|
+
const i = this._getReusables(!0);
|
|
14630
|
+
this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
|
|
14631
|
+
} else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(Ao));
|
|
14908
14632
|
}, _itemsChanged(i) {
|
|
14909
14633
|
i.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, Vt));
|
|
14910
14634
|
}, _iterateItems(i, e) {
|
|
14911
14635
|
let t, r, a, o;
|
|
14912
14636
|
if (arguments.length === 2 && e) {
|
|
14913
|
-
for (o = 0; o < e.length; o++)
|
|
14914
|
-
if (t = e[o], r = this._computeVidx(t), (a = i.call(this, t, r)) != null)
|
|
14915
|
-
return a;
|
|
14637
|
+
for (o = 0; o < e.length; o++) if (t = e[o], r = this._computeVidx(t), (a = i.call(this, t, r)) != null) return a;
|
|
14916
14638
|
} else {
|
|
14917
|
-
for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++)
|
|
14918
|
-
|
|
14919
|
-
return a;
|
|
14920
|
-
for (t = 0; t < this._physicalStart; t++, r++)
|
|
14921
|
-
if ((a = i.call(this, t, r)) != null)
|
|
14922
|
-
return a;
|
|
14639
|
+
for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++) if ((a = i.call(this, t, r)) != null) return a;
|
|
14640
|
+
for (t = 0; t < this._physicalStart; t++, r++) if ((a = i.call(this, t, r)) != null) return a;
|
|
14923
14641
|
}
|
|
14924
14642
|
}, _computeVidx(i) {
|
|
14925
14643
|
return i >= this._physicalStart ? this._virtualStart + (i - this._physicalStart) : this._virtualStart + (this._physicalCount - this._physicalStart) + i;
|
|
@@ -14944,13 +14662,11 @@ const Po = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Nm
|
|
|
14944
14662
|
const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
|
|
14945
14663
|
this._estScrollHeight = e, (i || this._scrollHeight === 0 || this._scrollPosition >= e - this._physicalSize || Math.abs(e - this._scrollHeight) >= this._viewportHeight) && (this.$.items.style.height = `${e}px`, this._scrollHeight = e);
|
|
14946
14664
|
}, scrollToIndex(i) {
|
|
14947
|
-
if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (wt(), this._physicalCount === 0))
|
|
14948
|
-
return;
|
|
14665
|
+
if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (wt(), this._physicalCount === 0)) return;
|
|
14949
14666
|
i = this._clamp(i, 0, this._virtualCount - 1), (!this._isIndexRendered(i) || i >= this._maxVirtualStart) && (this._virtualStart = i - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
|
|
14950
14667
|
let e = this._physicalStart, t = this._virtualStart, r = 0;
|
|
14951
14668
|
const a = this._hiddenContentSize;
|
|
14952
|
-
for (; t < i && r <= a; )
|
|
14953
|
-
r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14669
|
+
for (; t < i && r <= a; ) r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14954
14670
|
this._updateScrollerSize(!0), this._positionItems(), this._resetScrollPosition(this._physicalTop + this._scrollOffset + r), this._increasePoolIfNeeded(0), this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null;
|
|
14955
14671
|
}, _resetAverage() {
|
|
14956
14672
|
this._physicalAverage = 0, this._physicalAverageCount = 0;
|
|
@@ -15002,8 +14718,7 @@ class Is {
|
|
|
15002
14718
|
return this.__getVisibleElements().some((e) => e.__virtualizerPlaceholder);
|
|
15003
14719
|
}
|
|
15004
14720
|
scrollToIndex(e) {
|
|
15005
|
-
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight)
|
|
15006
|
-
return;
|
|
14721
|
+
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight) return;
|
|
15007
14722
|
delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
|
|
15008
14723
|
const t = this.__getVisibleElements().length;
|
|
15009
14724
|
let r = Math.floor(e / this.size * this._virtualCount);
|
|
@@ -15028,8 +14743,7 @@ class Is {
|
|
|
15028
14743
|
}
|
|
15029
14744
|
__getBorderBoxHeight(e) {
|
|
15030
14745
|
const t = getComputedStyle(e), r = parseFloat(t.height) || 0;
|
|
15031
|
-
if (t.boxSizing === "border-box")
|
|
15032
|
-
return r;
|
|
14746
|
+
if (t.boxSizing === "border-box") return r;
|
|
15033
14747
|
const a = parseFloat(t.paddingBottom) || 0, o = parseFloat(t.paddingTop) || 0, n = parseFloat(t.borderBottomWidth) || 0, s = parseFloat(t.borderTopWidth) || 0;
|
|
15034
14748
|
return r + a + o + n + s;
|
|
15035
14749
|
}
|
|
@@ -15039,8 +14753,7 @@ class Is {
|
|
|
15039
14753
|
__afterElementsUpdated(e) {
|
|
15040
14754
|
e.forEach((t) => {
|
|
15041
14755
|
const r = t.offsetHeight;
|
|
15042
|
-
if (r === 0)
|
|
15043
|
-
t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = le.debounce(this.__placeholderClearDebouncer, Vt, () => this._resizeHandler());
|
|
14756
|
+
if (r === 0) t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = le.debounce(this.__placeholderClearDebouncer, Vt, () => this._resizeHandler());
|
|
15044
14757
|
else {
|
|
15045
14758
|
this.__elementHeightQueue.push(r), this.__elementHeightQueue.shift();
|
|
15046
14759
|
const a = this.__elementHeightQueue.filter((o) => o !== void 0);
|
|
@@ -15056,8 +14769,7 @@ class Is {
|
|
|
15056
14769
|
return this.__size;
|
|
15057
14770
|
}
|
|
15058
14771
|
set size(e) {
|
|
15059
|
-
if (e === this.size)
|
|
15060
|
-
return;
|
|
14772
|
+
if (e === this.size) return;
|
|
15061
14773
|
this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
|
|
15062
14774
|
let t, r;
|
|
15063
14775
|
if (e > 0 && (t = this.adjustedFirstVisibleIndex, r = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), wt(), e > 0) {
|
|
@@ -15121,19 +14833,16 @@ class Is {
|
|
|
15121
14833
|
return t.indexOf(e) === 0 && e.__virtualIndex > 0;
|
|
15122
14834
|
}
|
|
15123
14835
|
__onElementFocused(e) {
|
|
15124
|
-
if (!this.reorderElements)
|
|
15125
|
-
return;
|
|
14836
|
+
if (!this.reorderElements) return;
|
|
15126
14837
|
const t = e.detail.element;
|
|
15127
|
-
if (!t)
|
|
15128
|
-
return;
|
|
14838
|
+
if (!t) return;
|
|
15129
14839
|
const r = this.__getVisibleElements();
|
|
15130
14840
|
(this.__previousFocusableSiblingMissing(t, r) || this.__nextFocusableSiblingMissing(t, r)) && this.flush();
|
|
15131
14841
|
const a = this.__getVisibleElements();
|
|
15132
14842
|
this.__nextFocusableSiblingMissing(t, a) ? (this._scrollTop += Math.ceil(t.getBoundingClientRect().bottom) - Math.floor(this.scrollTarget.getBoundingClientRect().bottom - 1), this.flush()) : this.__previousFocusableSiblingMissing(t, a) && (this._scrollTop -= Math.ceil(this.scrollTarget.getBoundingClientRect().top + 1) - Math.floor(t.getBoundingClientRect().top), this.flush());
|
|
15133
14843
|
}
|
|
15134
14844
|
_scrollHandler() {
|
|
15135
|
-
if (this.scrollTarget.offsetHeight === 0)
|
|
15136
|
-
return;
|
|
14845
|
+
if (this.scrollTarget.offsetHeight === 0) return;
|
|
15137
14846
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
15138
14847
|
const e = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
15139
14848
|
if (super._scrollHandler(), this._physicalCount !== 0) {
|
|
@@ -15143,8 +14852,7 @@ class Is {
|
|
|
15143
14852
|
e && (this.__fixInvalidItemPositioningDebouncer = le.debounce(this.__fixInvalidItemPositioningDebouncer, Pe.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING), () => this.__fixInvalidItemPositioning())), this.reorderElements && (this.__scrollReorderDebouncer = le.debounce(this.__scrollReorderDebouncer, Pe.after(this.timeouts.SCROLL_REORDER), () => this.__reorderElements())), this.__previousScrollTop = this._scrollTop, this._scrollTop === 0 && this.firstVisibleIndex !== 0 && Math.abs(e) > 0 && this.scrollToIndex(0);
|
|
15144
14853
|
}
|
|
15145
14854
|
__fixInvalidItemPositioning() {
|
|
15146
|
-
if (!this.scrollTarget.isConnected)
|
|
15147
|
-
return;
|
|
14855
|
+
if (!this.scrollTarget.isConnected) return;
|
|
15148
14856
|
const e = this._physicalTop > this._scrollTop, t = this._physicalBottom < this._scrollBottom, r = this.adjustedFirstVisibleIndex === 0, a = this.adjustedLastVisibleIndex === this.size - 1;
|
|
15149
14857
|
if (e && !r || t && !a) {
|
|
15150
14858
|
const o = t, n = this._ratio;
|
|
@@ -15152,8 +14860,7 @@ class Is {
|
|
|
15152
14860
|
}
|
|
15153
14861
|
}
|
|
15154
14862
|
__onWheel(e) {
|
|
15155
|
-
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY))
|
|
15156
|
-
return;
|
|
14863
|
+
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY)) return;
|
|
15157
14864
|
let t = e.deltaY;
|
|
15158
14865
|
if (e.deltaMode === WheelEvent.DOM_DELTA_LINE ? t *= this._scrollLineHeight : e.deltaMode === WheelEvent.DOM_DELTA_PAGE && (t *= this._scrollPageHeight), this._deltaYAcc || (this._deltaYAcc = 0), this._wheelAnimationFrame) {
|
|
15159
14866
|
this._deltaYAcc += t, e.preventDefault();
|
|
@@ -15168,12 +14875,9 @@ class Is {
|
|
|
15168
14875
|
})) : this._hasResidualMomentum && r <= this._previousMomentum || this._ignoreNewWheel ? e.preventDefault() : r > this._previousMomentum && (this._hasResidualMomentum = !1), this._previousMomentum = r;
|
|
15169
14876
|
}
|
|
15170
14877
|
_hasScrolledAncestor(e, t, r) {
|
|
15171
|
-
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host)
|
|
15172
|
-
|
|
15173
|
-
if (
|
|
15174
|
-
return !0;
|
|
15175
|
-
if (e !== this && e.parentElement)
|
|
15176
|
-
return this._hasScrolledAncestor(e.parentElement, t, r);
|
|
14878
|
+
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host) return !1;
|
|
14879
|
+
if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1) return !0;
|
|
14880
|
+
if (e !== this && e.parentElement) return this._hasScrolledAncestor(e.parentElement, t, r);
|
|
15177
14881
|
}
|
|
15178
14882
|
_canScroll(e, t, r) {
|
|
15179
14883
|
return r > 0 && e.scrollTop < e.scrollHeight - e.offsetHeight || r < 0 && e.scrollTop > 0 || t > 0 && e.scrollLeft < e.scrollWidth - e.offsetWidth || t < 0 && e.scrollLeft > 0;
|
|
@@ -15182,16 +14886,14 @@ class Is {
|
|
|
15182
14886
|
if (this._physicalCount > 2 && e) {
|
|
15183
14887
|
const t = Math.ceil(this._optPhysicalSize / this._physicalAverage) - this._physicalCount;
|
|
15184
14888
|
super._increasePoolIfNeeded(Math.max(e, Math.min(100, t)));
|
|
15185
|
-
} else
|
|
15186
|
-
super._increasePoolIfNeeded(e);
|
|
14889
|
+
} else super._increasePoolIfNeeded(e);
|
|
15187
14890
|
}
|
|
15188
14891
|
get _optPhysicalSize() {
|
|
15189
14892
|
const e = super._optPhysicalSize;
|
|
15190
14893
|
return e <= 0 || this.__hasPlaceholders() ? e : e + this.__getItemHeightBuffer();
|
|
15191
14894
|
}
|
|
15192
14895
|
__getItemHeightBuffer() {
|
|
15193
|
-
if (this._physicalCount === 0)
|
|
15194
|
-
return 0;
|
|
14896
|
+
if (this._physicalCount === 0) return 0;
|
|
15195
14897
|
const e = Math.ceil(this._viewportHeight * (this._maxPages - 1) / 2), t = Math.max(...this._physicalSizes);
|
|
15196
14898
|
return t > Math.min(...this._physicalSizes) ? Math.max(0, t - e) : 0;
|
|
15197
14899
|
}
|
|
@@ -15211,15 +14913,10 @@ class Is {
|
|
|
15211
14913
|
}
|
|
15212
14914
|
this.__pendingReorder = !1;
|
|
15213
14915
|
const e = this._virtualStart + (this._vidxOffset || 0), t = this.__getVisibleElements(), r = this.__getFocusedElement(t) || t[0];
|
|
15214
|
-
if (!r)
|
|
15215
|
-
return;
|
|
14916
|
+
if (!r) return;
|
|
15216
14917
|
const a = r.__virtualIndex - e, o = t.indexOf(r) - a;
|
|
15217
|
-
if (o > 0)
|
|
15218
|
-
|
|
15219
|
-
this.elementsContainer.appendChild(t[n]);
|
|
15220
|
-
else if (o < 0)
|
|
15221
|
-
for (let n = t.length + o; n < t.length; n++)
|
|
15222
|
-
this.elementsContainer.insertBefore(t[n], t[0]);
|
|
14918
|
+
if (o > 0) for (let n = 0; n < o; n++) this.elementsContainer.appendChild(t[n]);
|
|
14919
|
+
else if (o < 0) for (let n = t.length + o; n < t.length; n++) this.elementsContainer.insertBefore(t[n], t[0]);
|
|
15223
14920
|
if (kp) {
|
|
15224
14921
|
const { transform: n } = this.scrollTarget.style;
|
|
15225
14922
|
this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
|
|
@@ -15229,10 +14926,8 @@ class Is {
|
|
|
15229
14926
|
}
|
|
15230
14927
|
_adjustVirtualIndexOffset(e) {
|
|
15231
14928
|
const t = this._maxVirtualIndexOffset;
|
|
15232
|
-
if (this._virtualCount >= this.size)
|
|
15233
|
-
|
|
15234
|
-
else if (this.__skipNextVirtualIndexAdjust)
|
|
15235
|
-
this.__skipNextVirtualIndexAdjust = !1;
|
|
14929
|
+
if (this._virtualCount >= this.size) this._vidxOffset = 0;
|
|
14930
|
+
else if (this.__skipNextVirtualIndexAdjust) this.__skipNextVirtualIndexAdjust = !1;
|
|
15236
14931
|
else if (Math.abs(e) > 1e4) {
|
|
15237
14932
|
const r = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
15238
14933
|
this._vidxOffset = Math.round(r * t);
|
|
@@ -15305,14 +15000,12 @@ const Ts = (i) => class extends i {
|
|
|
15305
15000
|
this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
|
|
15306
15001
|
}
|
|
15307
15002
|
scrollIntoView(e) {
|
|
15308
|
-
if (!this.__virtualizer || !(this.opened && e >= 0))
|
|
15309
|
-
return;
|
|
15003
|
+
if (!this.__virtualizer || !(this.opened && e >= 0)) return;
|
|
15310
15004
|
const t = this._visibleItemsCount();
|
|
15311
15005
|
let r = e;
|
|
15312
15006
|
e > this.__virtualizer.lastVisibleIndex - 1 ? (this.__virtualizer.scrollToIndex(e), r = e - t + 1) : e > this.__virtualizer.firstVisibleIndex && (r = this.__virtualizer.firstVisibleIndex), this.__virtualizer.scrollToIndex(Math.max(0, r));
|
|
15313
15007
|
const a = [...this.children].find((l) => !l.hidden && l.index === this.__virtualizer.lastVisibleIndex);
|
|
15314
|
-
if (!a || e !== a.index)
|
|
15315
|
-
return;
|
|
15008
|
+
if (!a || e !== a.index) return;
|
|
15316
15009
|
const o = a.getBoundingClientRect(), n = this.getBoundingClientRect(), s = o.bottom - n.bottom + this._viewportTotalPaddingBottom;
|
|
15317
15010
|
s > 0 && (this.scrollTop += s);
|
|
15318
15011
|
}
|
|
@@ -15437,10 +15130,8 @@ function wi(i, e, t = 0) {
|
|
|
15437
15130
|
let r = e;
|
|
15438
15131
|
for (const a of i.subCaches) {
|
|
15439
15132
|
const o = a.parentCacheIndex;
|
|
15440
|
-
if (r <= o)
|
|
15441
|
-
|
|
15442
|
-
if (r <= o + a.flatSize)
|
|
15443
|
-
return wi(a, r - o - 1, t + 1);
|
|
15133
|
+
if (r <= o) break;
|
|
15134
|
+
if (r <= o + a.flatSize) return wi(a, r - o - 1, t + 1);
|
|
15444
15135
|
r -= a.flatSize;
|
|
15445
15136
|
}
|
|
15446
15137
|
return { cache: i, item: i.items[r], index: r, page: Math.floor(r / i.pageSize), level: t };
|
|
@@ -15448,13 +15139,11 @@ function wi(i, e, t = 0) {
|
|
|
15448
15139
|
function Ps({ getItemId: i }, e, t, r = 0, a = 0) {
|
|
15449
15140
|
for (let o = 0; o < e.items.length; o++) {
|
|
15450
15141
|
const n = e.items[o];
|
|
15451
|
-
if (n && i(n) === i(t))
|
|
15452
|
-
return { cache: e, level: r, item: n, index: o, page: Math.floor(o / e.pageSize), subCache: e.getSubCache(o), flatIndex: a + e.getFlatIndex(o) };
|
|
15142
|
+
if (n && i(n) === i(t)) return { cache: e, level: r, item: n, index: o, page: Math.floor(o / e.pageSize), subCache: e.getSubCache(o), flatIndex: a + e.getFlatIndex(o) };
|
|
15453
15143
|
}
|
|
15454
15144
|
for (const o of e.subCaches) {
|
|
15455
15145
|
const n = a + e.getFlatIndex(o.parentCacheIndex), s = Ps({ getItemId: i }, o, t, r + 1, n + 1);
|
|
15456
|
-
if (s)
|
|
15457
|
-
return s;
|
|
15146
|
+
if (s) return s;
|
|
15458
15147
|
}
|
|
15459
15148
|
}
|
|
15460
15149
|
function As(i, [e, ...t], r = 0) {
|
|
@@ -15494,8 +15183,7 @@ class ma {
|
|
|
15494
15183
|
if (this.__size !== e) {
|
|
15495
15184
|
if (this.__size = e, this.context.placeholder !== void 0) {
|
|
15496
15185
|
this.items.length = e || 0;
|
|
15497
|
-
for (let r = 0; r < e; r++)
|
|
15498
|
-
(t = this.items)[r] || (t[r] = this.context.placeholder);
|
|
15186
|
+
for (let r = 0; r < e; r++) (t = this.items)[r] || (t[r] = this.context.placeholder);
|
|
15499
15187
|
}
|
|
15500
15188
|
Object.keys(this.pendingRequests).forEach((r) => {
|
|
15501
15189
|
parseInt(r) * this.pageSize >= this.size && delete this.pendingRequests[r];
|
|
@@ -15615,8 +15303,7 @@ class Bm extends EventTarget {
|
|
|
15615
15303
|
return new ma(this.__cacheContext, this.pageSize, e);
|
|
15616
15304
|
}
|
|
15617
15305
|
__loadCachePage(e, t) {
|
|
15618
|
-
if (!this.dataProvider || e.pendingRequests[t])
|
|
15619
|
-
return;
|
|
15306
|
+
if (!this.dataProvider || e.pendingRequests[t]) return;
|
|
15620
15307
|
let r = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
|
|
15621
15308
|
this.dataProviderParams && (r = di(di({}, r), this.dataProviderParams()));
|
|
15622
15309
|
const a = (o, n) => {
|
|
@@ -15645,8 +15332,7 @@ const Ds = (i) => class extends i {
|
|
|
15645
15332
|
}
|
|
15646
15333
|
ready() {
|
|
15647
15334
|
super.ready(), this._scroller.addEventListener("index-requested", (e) => {
|
|
15648
|
-
if (!this._shouldFetchData())
|
|
15649
|
-
return;
|
|
15335
|
+
if (!this._shouldFetchData()) return;
|
|
15650
15336
|
const t = e.detail.index;
|
|
15651
15337
|
t !== void 0 && this.__dataProviderController.ensureFlatIndexLoaded(t);
|
|
15652
15338
|
}), this.__dataProviderInitialized = !0, this.dataProvider && this.__synchronizeControllerState();
|
|
@@ -15691,8 +15377,7 @@ const Ds = (i) => class extends i {
|
|
|
15691
15377
|
}
|
|
15692
15378
|
}
|
|
15693
15379
|
_pageSizeChanged(e, t) {
|
|
15694
|
-
if (Math.floor(e) !== e || e < 1)
|
|
15695
|
-
throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
15380
|
+
if (Math.floor(e) !== e || e < 1) throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
15696
15381
|
this.__dataProviderController.setPageSize(e), this.clearCache();
|
|
15697
15382
|
}
|
|
15698
15383
|
_dataProviderChanged(e, t) {
|
|
@@ -15701,8 +15386,7 @@ const Ds = (i) => class extends i {
|
|
|
15701
15386
|
}), this.__dataProviderController.setDataProvider(e), this.clearCache();
|
|
15702
15387
|
}
|
|
15703
15388
|
_ensureItemsOrDataProvider(e) {
|
|
15704
|
-
if (this.items !== void 0 && this.dataProvider !== void 0)
|
|
15705
|
-
throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
15389
|
+
if (this.items !== void 0 && this.dataProvider !== void 0) throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
15706
15390
|
}
|
|
15707
15391
|
_warnDataProviderValue(e, t) {
|
|
15708
15392
|
if (e && t !== "" && (this.selectedItem === void 0 || this.selectedItem === null)) {
|
|
@@ -15799,11 +15483,10 @@ const Os = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15799
15483
|
}, r.requestContentUpdate(), this._scroller = t;
|
|
15800
15484
|
}
|
|
15801
15485
|
_updateScroller(e, t, r, a, o, n, s, l, d, h) {
|
|
15802
|
-
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: a, selectedItem: o, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: h }), e.performUpdate && !e.hasUpdated))
|
|
15803
|
-
|
|
15804
|
-
|
|
15805
|
-
|
|
15806
|
-
}
|
|
15486
|
+
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: a, selectedItem: o, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: h }), e.performUpdate && !e.hasUpdated)) try {
|
|
15487
|
+
e.performUpdate();
|
|
15488
|
+
} catch (c) {
|
|
15489
|
+
}
|
|
15807
15490
|
}
|
|
15808
15491
|
_openedOrItemsChanged(e, t, r, a) {
|
|
15809
15492
|
this._overlayOpened = e && (a || r || !!(t && t.length));
|
|
@@ -15819,14 +15502,12 @@ const Os = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15819
15502
|
}
|
|
15820
15503
|
_updateActiveDescendant(e) {
|
|
15821
15504
|
const t = this._nativeInput;
|
|
15822
|
-
if (!t)
|
|
15823
|
-
return;
|
|
15505
|
+
if (!t) return;
|
|
15824
15506
|
const r = this._getItemElements().find((a) => a.index === e);
|
|
15825
15507
|
r ? t.setAttribute("aria-activedescendant", r.id) : t.removeAttribute("aria-activedescendant");
|
|
15826
15508
|
}
|
|
15827
15509
|
_openedChanged(e, t) {
|
|
15828
|
-
if (t === void 0)
|
|
15829
|
-
return;
|
|
15510
|
+
if (t === void 0) return;
|
|
15830
15511
|
e ? !this._isInputFocused() && !xr && this.inputElement && this.inputElement.focus() : this._onClosed();
|
|
15831
15512
|
const r = this._nativeInput;
|
|
15832
15513
|
r && (r.setAttribute("aria-expanded", !!e), e ? r.setAttribute("aria-controls", this._scroller.id) : r.removeAttribute("aria-controls"));
|
|
@@ -15867,20 +15548,17 @@ const Os = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15867
15548
|
if (this.opened) {
|
|
15868
15549
|
const e = this._dropdownItems;
|
|
15869
15550
|
e && (this._focusedIndex = Math.min(e.length - 1, this._focusedIndex + 1), this._prefillFocusedItemLabel());
|
|
15870
|
-
} else
|
|
15871
|
-
this.open();
|
|
15551
|
+
} else this.open();
|
|
15872
15552
|
}
|
|
15873
15553
|
_onArrowUp() {
|
|
15874
15554
|
if (this.opened) {
|
|
15875
|
-
if (this._focusedIndex > -1)
|
|
15876
|
-
this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15555
|
+
if (this._focusedIndex > -1) this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15877
15556
|
else {
|
|
15878
15557
|
const e = this._dropdownItems;
|
|
15879
15558
|
e && (this._focusedIndex = e.length - 1);
|
|
15880
15559
|
}
|
|
15881
15560
|
this._prefillFocusedItemLabel();
|
|
15882
|
-
} else
|
|
15883
|
-
this.open();
|
|
15561
|
+
} else this.open();
|
|
15884
15562
|
}
|
|
15885
15563
|
_prefillFocusedItemLabel() {
|
|
15886
15564
|
if (this._focusedIndex > -1) {
|
|
@@ -15941,8 +15619,7 @@ const Os = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15941
15619
|
if (this._focusedIndex > -1) {
|
|
15942
15620
|
const e = this._dropdownItems[this._focusedIndex];
|
|
15943
15621
|
this.selectedItem !== e && (this.selectedItem = e), this._inputElementValue = this._getItemLabel(this.selectedItem), this._focusedIndex = -1;
|
|
15944
|
-
} else if (this._inputElementValue === "" || this._inputElementValue === void 0)
|
|
15945
|
-
this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15622
|
+
} else if (this._inputElementValue === "" || this._inputElementValue === void 0) this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15946
15623
|
else {
|
|
15947
15624
|
const e = [this.selectedItem, ...this._dropdownItems || []], t = e[this.__getItemIndexByLabel(e, this._inputElementValue)];
|
|
15948
15625
|
if (this.allowCustomValue && !t) {
|
|
@@ -15950,8 +15627,7 @@ const Os = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15950
15627
|
this._lastCustomValue = r;
|
|
15951
15628
|
const a = new CustomEvent("custom-value-set", { detail: r, composed: !0, cancelable: !0, bubbles: !0 });
|
|
15952
15629
|
this.dispatchEvent(a), a.defaultPrevented || (this.value = r);
|
|
15953
|
-
} else
|
|
15954
|
-
!this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15630
|
+
} else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15955
15631
|
}
|
|
15956
15632
|
this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
|
|
15957
15633
|
}
|
|
@@ -15975,12 +15651,10 @@ const Os = (i) => class extends qt(be(Zr(He(Be(Ft(nt(i))))))) {
|
|
|
15975
15651
|
this.allowCustomValue && !this.selectedItem ? this._inputElementValue = this.value : this._inputElementValue = this._getItemLabel(this.selectedItem);
|
|
15976
15652
|
}
|
|
15977
15653
|
_selectedItemChanged(e) {
|
|
15978
|
-
if (e == null)
|
|
15979
|
-
this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15654
|
+
if (e == null) this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15980
15655
|
else {
|
|
15981
15656
|
const t = this._getItemValue(e);
|
|
15982
|
-
if (this.value !== t && (this.value = t, this.value !== t))
|
|
15983
|
-
return;
|
|
15657
|
+
if (this.value !== t && (this.value = t, this.value !== t)) return;
|
|
15984
15658
|
this._toggleHasValue(!0), this._inputElementValue = this._getItemLabel(e);
|
|
15985
15659
|
}
|
|
15986
15660
|
}
|
|
@@ -16577,8 +16251,7 @@ class Jm extends Ds(Os(z(S))) {
|
|
|
16577
16251
|
}
|
|
16578
16252
|
_onEnter(e) {
|
|
16579
16253
|
if (this.opened) {
|
|
16580
|
-
if (e.preventDefault(), e.stopPropagation(), this.readonly)
|
|
16581
|
-
this.close();
|
|
16254
|
+
if (e.preventDefault(), e.stopPropagation(), this.readonly) this.close();
|
|
16582
16255
|
else if (this._hasValidInputValue()) {
|
|
16583
16256
|
const t = this._dropdownItems[this._focusedIndex];
|
|
16584
16257
|
this._commitValue(), this._focusedIndex = this._dropdownItems.indexOf(t);
|
|
@@ -16887,8 +16560,7 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
16887
16560
|
if (this._toggleHasValue(this._hasValue), this._hasValue) {
|
|
16888
16561
|
const t = this._mergeItemLabels(e);
|
|
16889
16562
|
this.__tmpA11yPlaceholder === void 0 && (this.__savedPlaceholder = this.placeholder), this.__tmpA11yPlaceholder = t, this.placeholder = t;
|
|
16890
|
-
} else
|
|
16891
|
-
this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16563
|
+
} else this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16892
16564
|
this.__updateChips(), this.requestContentUpdate(), this.opened && this.$.comboBox.$.overlay._updateOverlayWidth();
|
|
16893
16565
|
}
|
|
16894
16566
|
_getItemLabel(e) {
|
|
@@ -16899,9 +16571,7 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
16899
16571
|
}
|
|
16900
16572
|
_findIndex(e, t, r) {
|
|
16901
16573
|
if (r && e) {
|
|
16902
|
-
for (let a = 0; a < t.length; a++)
|
|
16903
|
-
if (t[a] && t[a][r] === e[r])
|
|
16904
|
-
return a;
|
|
16574
|
+
for (let a = 0; a < t.length; a++) if (t[a] && t[a][r] === e[r]) return a;
|
|
16905
16575
|
return -1;
|
|
16906
16576
|
}
|
|
16907
16577
|
return t.indexOf(e);
|
|
@@ -16929,8 +16599,7 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
16929
16599
|
return;
|
|
16930
16600
|
}
|
|
16931
16601
|
t.splice(r, 1);
|
|
16932
|
-
} else
|
|
16933
|
-
t.push(e), o = !0;
|
|
16602
|
+
} else t.push(e), o = !0;
|
|
16934
16603
|
this.__updateSelection(t), this.__clearInternalValue(), this.__announceItem(a, o, t.length);
|
|
16935
16604
|
}
|
|
16936
16605
|
__updateSelection(e) {
|
|
@@ -16954,8 +16623,7 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
16954
16623
|
return e.setAttribute("count", t), e.setAttribute("hidden", ""), e.style.visibility = "", a;
|
|
16955
16624
|
}
|
|
16956
16625
|
__updateChips() {
|
|
16957
|
-
if (!this._inputField || !this.inputElement)
|
|
16958
|
-
return;
|
|
16626
|
+
if (!this._inputField || !this.inputElement) return;
|
|
16959
16627
|
this._chips.forEach((n) => {
|
|
16960
16628
|
n.remove();
|
|
16961
16629
|
});
|
|
@@ -16974,8 +16642,7 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
16974
16642
|
for (; n.length > 1; ) {
|
|
16975
16643
|
n.pop().remove(), s.unshift(e.pop());
|
|
16976
16644
|
const d = s.length > 0 ? r + this.__getOverflowWidth() : r;
|
|
16977
|
-
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d)
|
|
16978
|
-
break;
|
|
16645
|
+
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d) break;
|
|
16979
16646
|
}
|
|
16980
16647
|
n.length === 1 && (n[0].style.maxWidth = `${Math.max(o, a)}px`);
|
|
16981
16648
|
}
|
|
@@ -16984,13 +16651,11 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
16984
16651
|
}
|
|
16985
16652
|
for (let n = e.length - 1, s = null; n >= 0; n--) {
|
|
16986
16653
|
const l = this.__createChip(e[n]);
|
|
16987
|
-
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > a)
|
|
16988
|
-
|
|
16989
|
-
|
|
16990
|
-
|
|
16991
|
-
|
|
16992
|
-
break;
|
|
16993
|
-
}
|
|
16654
|
+
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > a) if (s === null) l.style.maxWidth = `${Math.max(o, a)}px`;
|
|
16655
|
+
else {
|
|
16656
|
+
l.remove();
|
|
16657
|
+
break;
|
|
16658
|
+
}
|
|
16994
16659
|
e.pop(), s = l;
|
|
16995
16660
|
}
|
|
16996
16661
|
this._overflowItems = e;
|
|
@@ -17016,41 +16681,37 @@ class ef extends Vs(Di(z(he(S)))) {
|
|
|
17016
16681
|
_onKeyDown(e) {
|
|
17017
16682
|
super._onKeyDown(e);
|
|
17018
16683
|
const t = this._chips;
|
|
17019
|
-
if (!this.readonly && t.length > 0)
|
|
17020
|
-
|
|
17021
|
-
|
|
17022
|
-
|
|
17023
|
-
|
|
17024
|
-
|
|
17025
|
-
|
|
17026
|
-
|
|
17027
|
-
|
|
17028
|
-
|
|
17029
|
-
|
|
17030
|
-
|
|
17031
|
-
|
|
17032
|
-
|
|
17033
|
-
}
|
|
16684
|
+
if (!this.readonly && t.length > 0) switch (e.key) {
|
|
16685
|
+
case "Backspace":
|
|
16686
|
+
this._onBackSpace(t);
|
|
16687
|
+
break;
|
|
16688
|
+
case "ArrowLeft":
|
|
16689
|
+
this._onArrowLeft(t, e);
|
|
16690
|
+
break;
|
|
16691
|
+
case "ArrowRight":
|
|
16692
|
+
this._onArrowRight(t, e);
|
|
16693
|
+
break;
|
|
16694
|
+
default:
|
|
16695
|
+
this._focusedChipIndex = -1;
|
|
16696
|
+
break;
|
|
16697
|
+
}
|
|
17034
16698
|
}
|
|
17035
16699
|
_onArrowLeft(e, t) {
|
|
17036
|
-
if (this.inputElement.selectionStart !== 0)
|
|
17037
|
-
return;
|
|
16700
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
17038
16701
|
const r = this._focusedChipIndex;
|
|
17039
16702
|
r !== -1 && t.preventDefault();
|
|
17040
16703
|
let a;
|
|
17041
16704
|
this.__isRTL ? r === e.length - 1 ? a = -1 : r > -1 && (a = r + 1) : r === -1 ? a = e.length - 1 : r > 0 && (a = r - 1), a !== void 0 && (this._focusedChipIndex = a);
|
|
17042
16705
|
}
|
|
17043
16706
|
_onArrowRight(e, t) {
|
|
17044
|
-
if (this.inputElement.selectionStart !== 0)
|
|
17045
|
-
return;
|
|
16707
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
17046
16708
|
const r = this._focusedChipIndex;
|
|
17047
16709
|
r !== -1 && t.preventDefault();
|
|
17048
16710
|
let a;
|
|
17049
16711
|
this.__isRTL ? r === -1 ? a = e.length - 1 : r > 0 && (a = r - 1) : r === e.length - 1 ? a = -1 : r > -1 && (a = r + 1), a !== void 0 && (this._focusedChipIndex = a);
|
|
17050
16712
|
}
|
|
17051
16713
|
_onBackSpace(e) {
|
|
17052
|
-
if (this.inputElement.selectionStart !== 0)
|
|
17053
|
-
return;
|
|
16714
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
17054
16715
|
const t = this._focusedChipIndex;
|
|
17055
16716
|
t === -1 ? this._focusedChipIndex = e.length - 1 : (this.__removeItem(e[t].item), this._focusedChipIndex = -1);
|
|
17056
16717
|
}
|
|
@@ -17485,8 +17146,7 @@ class xe extends qt(Ci(he(S))) {
|
|
|
17485
17146
|
this.renderer && this.renderer(this._card, this);
|
|
17486
17147
|
}
|
|
17487
17148
|
_rendererChanged(e, t, r) {
|
|
17488
|
-
if (!r)
|
|
17489
|
-
return;
|
|
17149
|
+
if (!r) return;
|
|
17490
17150
|
const a = this._oldRenderer !== e;
|
|
17491
17151
|
this._oldRenderer = e, a && (r.innerHTML = "", delete r._$litPart$), t && (this._didAnimateNotificationAppend || this._animatedAppendNotificationCard(), this.requestContentUpdate());
|
|
17492
17152
|
}
|
|
@@ -17768,8 +17428,7 @@ const df = (i) => class extends Be(i) {
|
|
|
17768
17428
|
return Array.from(this.children);
|
|
17769
17429
|
}
|
|
17770
17430
|
_onKeyDown(e) {
|
|
17771
|
-
if (super._onKeyDown(e), e.metaKey || e.ctrlKey)
|
|
17772
|
-
return;
|
|
17431
|
+
if (super._onKeyDown(e), e.metaKey || e.ctrlKey) return;
|
|
17773
17432
|
const { key: t } = e, r = this._getItems() || [], a = r.indexOf(this.focused);
|
|
17774
17433
|
let o, n;
|
|
17775
17434
|
const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
|
|
@@ -17794,8 +17453,7 @@ const df = (i) => class extends Be(i) {
|
|
|
17794
17453
|
for (let s = 0; typeof n == "number" && s < o; s += 1, n += r || 1) {
|
|
17795
17454
|
n < 0 ? n = o - 1 : n >= o && (n = 0);
|
|
17796
17455
|
const l = e[n];
|
|
17797
|
-
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, a))
|
|
17798
|
-
return n;
|
|
17456
|
+
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, a)) return n;
|
|
17799
17457
|
}
|
|
17800
17458
|
return -1;
|
|
17801
17459
|
}
|
|
@@ -17854,8 +17512,7 @@ const Ls = (i) => class extends df(i) {
|
|
|
17854
17512
|
return e.filter((t) => t._hasVaadinItemMixin);
|
|
17855
17513
|
}
|
|
17856
17514
|
_onClick(e) {
|
|
17857
|
-
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented)
|
|
17858
|
-
return;
|
|
17515
|
+
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented) return;
|
|
17859
17516
|
const t = this._filterItems(e.composedPath())[0];
|
|
17860
17517
|
let r;
|
|
17861
17518
|
t && !t.disabled && (r = this.items.indexOf(t)) >= 0 && (this.selected = r);
|
|
@@ -17871,8 +17528,7 @@ const Ls = (i) => class extends df(i) {
|
|
|
17871
17528
|
return e.textContent.replace(/[^\p{L}\p{Nd}]/gu, "").toLowerCase().startsWith(this._searchBuf);
|
|
17872
17529
|
}
|
|
17873
17530
|
_onKeyDown(e) {
|
|
17874
|
-
if (e.metaKey || e.ctrlKey)
|
|
17875
|
-
return;
|
|
17531
|
+
if (e.metaKey || e.ctrlKey) return;
|
|
17876
17532
|
const t = e.key, r = this.items.indexOf(this.focused);
|
|
17877
17533
|
if (/[\p{L}\p{Nd}]/u.test(t) && t.length === 1) {
|
|
17878
17534
|
const a = this._searchKey(r, t);
|
|
@@ -17898,15 +17554,13 @@ const Ls = (i) => class extends df(i) {
|
|
|
17898
17554
|
}
|
|
17899
17555
|
_scrollToItem(e) {
|
|
17900
17556
|
const t = this.items[e];
|
|
17901
|
-
if (!t)
|
|
17902
|
-
return;
|
|
17557
|
+
if (!t) return;
|
|
17903
17558
|
const r = this._vertical ? ["top", "bottom"] : this._isRTL ? ["right", "left"] : ["left", "right"], a = this._scrollerElement.getBoundingClientRect(), o = (this.items[e + 1] || t).getBoundingClientRect(), n = (this.items[e - 1] || t).getBoundingClientRect();
|
|
17904
17559
|
let s = 0;
|
|
17905
17560
|
!this._isRTL && o[r[1]] >= a[r[1]] || this._isRTL && o[r[1]] <= a[r[1]] ? s = o[r[1]] - a[r[1]] : (!this._isRTL && n[r[0]] <= a[r[0]] || this._isRTL && n[r[0]] >= a[r[0]]) && (s = n[r[0]] - a[r[0]]), this._scroll(s);
|
|
17906
17561
|
}
|
|
17907
17562
|
_scroll(e) {
|
|
17908
|
-
if (this._vertical)
|
|
17909
|
-
this._scrollerElement.scrollTop += e;
|
|
17563
|
+
if (this._vertical) this._scrollerElement.scrollTop += e;
|
|
17910
17564
|
else {
|
|
17911
17565
|
const t = this.getAttribute("dir") || "ltr", r = zs(this._scrollerElement, t) + e;
|
|
17912
17566
|
lf(this._scrollerElement, t, r);
|
|
@@ -18183,8 +17837,7 @@ const gf = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18183
17837
|
}
|
|
18184
17838
|
_onKeyDown(e) {
|
|
18185
17839
|
if (e.target === this.focusElement && !this.readonly && !this.disabled && !this.opened) {
|
|
18186
|
-
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key))
|
|
18187
|
-
e.preventDefault(), this.opened = !0;
|
|
17840
|
+
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key)) e.preventDefault(), this.opened = !0;
|
|
18188
17841
|
else if (/[\p{L}\p{Nd}]/u.test(e.key) && e.key.length === 1) {
|
|
18189
17842
|
const t = this._menuElement.selected, r = t !== void 0 ? t : -1, a = this._menuElement._searchKey(r, e.key);
|
|
18190
17843
|
a >= 0 && (this.__dispatchChangePending = !0, this._updateAriaLive(!0), this._menuElement.selected = a);
|
|
@@ -18204,8 +17857,7 @@ const gf = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18204
17857
|
this._updateAriaLive(!1), t.style.setProperty("--vaadin-select-text-field-width", `${r.offsetWidth}px`);
|
|
18205
17858
|
const a = this.hasAttribute("focus-ring");
|
|
18206
17859
|
this._openedWithFocusRing = a, a && this.removeAttribute("focus-ring");
|
|
18207
|
-
} else
|
|
18208
|
-
this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
17860
|
+
} else this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
18209
17861
|
this.__oldOpened = e;
|
|
18210
17862
|
}
|
|
18211
17863
|
}
|
|
@@ -18243,12 +17895,10 @@ const gf = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18243
17895
|
}
|
|
18244
17896
|
__updateValueButton() {
|
|
18245
17897
|
const e = this.focusElement;
|
|
18246
|
-
if (!e)
|
|
18247
|
-
return;
|
|
17898
|
+
if (!e) return;
|
|
18248
17899
|
e.innerHTML = "";
|
|
18249
17900
|
const t = this._items[this._menuElement.selected];
|
|
18250
|
-
if (e.removeAttribute("placeholder"), this._hasContent(t))
|
|
18251
|
-
this.__attachSelectedItem(t);
|
|
17901
|
+
if (e.removeAttribute("placeholder"), this._hasContent(t)) this.__attachSelectedItem(t);
|
|
18252
17902
|
else if (this.placeholder) {
|
|
18253
17903
|
const a = this.__createItemElement({ label: this.placeholder });
|
|
18254
17904
|
this.__appendValueItemElement(a, e), e.setAttribute("placeholder", "");
|
|
@@ -18258,8 +17908,7 @@ const gf = (i) => class extends qt(Ii(Xr(Be(Ti(i))))) {
|
|
|
18258
17908
|
Je(e, "aria-labelledby", r), (this.accessibleName || this.accessibleNameRef) && this._setCustomAriaLabelledBy(this.accessibleNameRef || this._srLabelController.defaultId);
|
|
18259
17909
|
}
|
|
18260
17910
|
_hasContent(e) {
|
|
18261
|
-
if (!e)
|
|
18262
|
-
return !1;
|
|
17911
|
+
if (!e) return !1;
|
|
18263
17912
|
const t = !!(e.hasAttribute("label") ? e.getAttribute("label") : e.textContent.trim()), r = e.childElementCount > 0;
|
|
18264
17913
|
return t || r;
|
|
18265
17914
|
}
|
|
@@ -19582,8 +19231,7 @@ const Df = (i) => class extends Vs(Ls(i)) {
|
|
|
19582
19231
|
this.__direction * n < 1 && (n = this.__direction * (this._scrollOffset - o)), this._scroll(n);
|
|
19583
19232
|
}
|
|
19584
19233
|
_isItemVisible(e, t, r, a) {
|
|
19585
|
-
if (this._vertical)
|
|
19586
|
-
throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
19234
|
+
if (this._vertical) throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
19587
19235
|
const o = this.__isRTL ? r : t, n = this.__isRTL ? t : r, s = a.right - o, l = a.left + n, d = e.getBoundingClientRect();
|
|
19588
19236
|
return s > Math.floor(d.left) && l < Math.ceil(d.right);
|
|
19589
19237
|
}
|