@everymatrix/player-account-controller-nd 1.99.58 → 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-hzxcca4g.js → GeneralLogout-8wMTGRDy.js} +1 -1
- package/components/{GeneralLogout-DE1G5qne.cjs → GeneralLogout-B_Tr6McQ.cjs} +1 -1
- package/components/{GeneralLogout-DAcREKuX.js → GeneralLogout-Df2tEV_j.js} +1 -1
- package/components/{PlayerAccountBettingHistory-XkhknU8q.js → PlayerAccountBettingHistory-C1DpLVso.js} +1 -1
- package/components/{PlayerAccountBettingHistory-D1dYetLd.cjs → PlayerAccountBettingHistory-CEHzLPmX.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-CAy1vCGg.js → PlayerAccountBettingHistory-CWBfZhuO.js} +1 -1
- package/components/{PlayerAccountBiometrics-DJBary0q.js → PlayerAccountBiometrics-BrF2QlJ9.js} +2 -2
- package/components/{PlayerAccountBiometrics-CO93zEnR.js → PlayerAccountBiometrics-CatuEsZS.js} +2 -2
- package/components/{PlayerAccountBiometrics-BoEpHqqy.cjs → PlayerAccountBiometrics-Qkot14Nw.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-C_jU-jZP.cjs → PlayerAccountBiometricsAction-CpV0a4zN.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-BCVjGoBT.js → PlayerAccountBiometricsAction-PXIbQUKQ.js} +3 -5
- package/components/{PlayerAccountBiometricsAction-DZjOSonC.js → PlayerAccountBiometricsAction-yS5_Epi1.js} +3 -5
- package/components/{PlayerAccountClosureNd-CX4GufC3.cjs → PlayerAccountClosureNd--GHgFzVF.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-BRIAFwYy.js → PlayerAccountClosureNd-BXRvTzVO.js} +2 -2
- package/components/{PlayerAccountClosureNd-Cf6kp8Na.js → PlayerAccountClosureNd-CBS8QECX.js} +2 -2
- package/components/{PlayerAccountControllerNd-DDqzFGRm.js → PlayerAccountControllerNd-BpyLuXtA.js} +113 -193
- package/components/{PlayerAccountControllerNd-D6zZL73A.js → PlayerAccountControllerNd-CoEaKJEO.js} +112 -192
- package/components/{PlayerAccountControllerNd-BSIEz5Rm.cjs → PlayerAccountControllerNd-DV54Hl05.cjs} +2 -2
- package/components/{PlayerAccountGamingLimits-CCr3u4pe.js → PlayerAccountGamingLimits-B6CJyCXE.js} +2 -2
- package/components/{PlayerAccountGamingLimits-e7fD3Bxq.js → PlayerAccountGamingLimits-BVyoTWZr.js} +2 -2
- package/components/{PlayerAccountGamingLimits-CCX33x-o.cjs → PlayerAccountGamingLimits-CHNQrQ6Z.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-D1SNvaxD.cjs → PlayerAccountGamingLimitsConfirmationModal-B-Pbd0f9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BH6Tba2q.js → PlayerAccountGamingLimitsConfirmationModal-CwK5s6-X.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DIiS6l5I.js → PlayerAccountGamingLimitsConfirmationModal-Dqp0L0N-.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-qKWvI2q6.js → PlayerAccountGamingLimitsGroupEdit-8vRP46ti.js} +8 -9
- package/components/{PlayerAccountGamingLimitsGroupEdit-C5fMFwVN.js → PlayerAccountGamingLimitsGroupEdit-CFaQW5Xw.js} +8 -9
- package/components/{PlayerAccountGamingLimitsGroupEdit-ywqXTXzi.cjs → PlayerAccountGamingLimitsGroupEdit-P7eVJD4o.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DMjRNmzP.js → PlayerAccountGamingLimitsHistory2Nd-AwepMJyS.js} +2 -3
- package/components/{PlayerAccountGamingLimitsHistory2Nd-ChJ3Ab0E.cjs → PlayerAccountGamingLimitsHistory2Nd-BZZbRy1H.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-dwuJSphW.js → PlayerAccountGamingLimitsHistory2Nd-BfDvaj4E.js} +2 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-3NfO092R.js → PlayerAccountGamingLimitsInfoCard-Cq1G2koe.js} +8 -12
- package/components/{PlayerAccountGamingLimitsInfoCard-9--NlOvC.cjs → PlayerAccountGamingLimitsInfoCard-ES6K2FOK.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-lHAWQT7p.js → PlayerAccountGamingLimitsInfoCard-IVhOyKZj.js} +8 -12
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DdWk1fdR.js → PlayerAccountGamingLimitsPage2Gm16Nd-CYxIxOg9.js} +32 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dlb-5Vcj.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuDWXcpD.js} +32 -62
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-oV37_3_p.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-u5EAdak4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-cgXDnT2G.js → PlayerAccountGamingLimitsPopup-Bx181x-m.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-COjds8OD.cjs → PlayerAccountGamingLimitsPopup-DiHAugt4.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BjEyH__S.js → PlayerAccountGamingLimitsPopup-h3EBnoNt.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DGd21odS.js → PlayerAccountGamingLimitsWrapper2Nd-ByYbfRQi.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-z1Wmbuq4.cjs → PlayerAccountGamingLimitsWrapper2Nd-ChustIby.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DCdd3vYk.js → PlayerAccountGamingLimitsWrapper2Nd-DWMV7anS.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-BBYjzyYd.cjs → PlayerAccountGeneralConfirmationModal-Ccfy5jx9.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BgB3TB3Z.js → PlayerAccountGeneralConfirmationModal-CjzyuNjK.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-C_hu4Oo-.js → PlayerAccountGeneralConfirmationModal-Dm3aP6fQ.js} +1 -1
- package/components/{PlayerAccountMenuNd-BkjFBJ94.cjs → PlayerAccountMenuNd-BFf_Ixaf.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-DOWSOBNS.js → PlayerAccountMenuNd-DL1FWOfl.js} +3 -3
- package/components/{PlayerAccountMenuNd-BpFSNP_K.js → PlayerAccountMenuNd-KNvWHKmn.js} +3 -3
- package/components/{PlayerAccountModal-B0JRSvRH.cjs → PlayerAccountModal--QiSnBtU.cjs} +1 -1
- package/components/{PlayerAccountModal-DIk_55DN.js → PlayerAccountModal-D3qATKj_.js} +1 -1
- package/components/{PlayerAccountModal-Cbpt2l2m.js → PlayerAccountModal-he9-3Ol-.js} +1 -1
- package/components/{PlayerAccountNotifications-COi9jF2W.js → PlayerAccountNotifications-BcQ8FD-W.js} +4 -6
- package/components/{PlayerAccountNotifications-DeHuoBfU.cjs → PlayerAccountNotifications-DgJedpa5.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BSWIN_g6.js → PlayerAccountNotifications-DukGyUEV.js} +4 -6
- package/components/{PlayerAccountProductRestriction-DXYWhNHH.js → PlayerAccountProductRestriction-B6O6nkZO.js} +7 -8
- package/components/{PlayerAccountProductRestriction-vMbM9MNm.js → PlayerAccountProductRestriction-DJ63eG4V.js} +7 -8
- package/components/{PlayerAccountProductRestriction-Cksx5toT.cjs → PlayerAccountProductRestriction-DLCUKXpq.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-B_JEbZ4y.js → PlayerAccountReviewFrequency-B18AfnLo.js} +2 -2
- package/components/{PlayerAccountReviewFrequency-Cv2NA5bq.js → PlayerAccountReviewFrequency-CrVq3J9v.js} +2 -2
- package/components/{PlayerAccountReviewFrequency-Mhnjx9vQ.cjs → PlayerAccountReviewFrequency-pumQi-YF.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-rVVmjj7C.cjs → PlayerAccountSelfExclusionNd-B2nwt48V.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-C2ouNxtj.js → PlayerAccountSelfExclusionNd-CNgCn8AR.js} +25 -36
- package/components/{PlayerAccountSelfExclusionNd-B_RPUgf_.js → PlayerAccountSelfExclusionNd-Dm4TeIxj.js} +25 -36
- package/components/{PlayerAccountTimeout-CsGl9foN.cjs → PlayerAccountTimeout-BPaAKgDV.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CdF679jb.js → PlayerAccountTimeout-BfQ_DNvm.js} +67 -121
- package/components/{PlayerAccountTimeout-BBul9svU.js → PlayerAccountTimeout-CehfycL4.js} +67 -121
- package/components/{PlayerAccountTransactionsHistory-BW-CSSlN.js → PlayerAccountTransactionsHistory-BOPm3c-l.js} +15 -25
- package/components/{PlayerAccountTransactionsHistory-U181A9Te.js → PlayerAccountTransactionsHistory-CjIjNZDr.js} +15 -25
- package/components/{PlayerAccountTransactionsHistory-CgtRAbkK.cjs → PlayerAccountTransactionsHistory-Vz1GbV6a.cjs} +1 -1
- package/components/{PlayerActiveBonuses-BPo4OyXA.cjs → PlayerActiveBonuses-BmLW2U7z.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DWO_c6oE.js → PlayerActiveBonuses-DQEG7VVC.js} +2 -2
- package/components/{PlayerActiveBonuses-DeaT3RZQ.js → PlayerActiveBonuses-DjZI3Tsj.js} +2 -2
- package/components/{PlayerBonusCard-BTra1xmi.cjs → PlayerBonusCard-B_y306PB.cjs} +1 -1
- package/components/{PlayerBonusCard-CDcf8f1V.js → PlayerBonusCard-BkeNJuRG.js} +2 -2
- package/components/{PlayerBonusCard-B45NLNI4.js → PlayerBonusCard-q_atpoy1.js} +2 -2
- package/components/{PlayerBonusHistory-C3VrbKCo.js → PlayerBonusHistory-B8UyMG2i.js} +470 -822
- package/components/{PlayerBonusHistory-BcHojOjX.js → PlayerBonusHistory-Dfiz7Ufs.js} +470 -822
- package/components/{PlayerBonusHistory-mbc4-NJM.cjs → PlayerBonusHistory-Dy8GRg7K.cjs} +2 -2
- package/components/{PlayerChangePasswordNd-ZGaQjOxh.js → PlayerChangePasswordNd-B-ckQb5j.js} +5 -9
- package/components/{PlayerChangePasswordNd-StJSiXQi.js → PlayerChangePasswordNd-Q0-0LzFd.js} +5 -9
- package/components/{PlayerChangePasswordNd-DAKYArPi.cjs → PlayerChangePasswordNd-kfBqQcFU.cjs} +1 -1
- package/components/{PlayerDeposit-CULrlbaj.cjs → PlayerDeposit-CUNykiS2.cjs} +1 -1
- package/components/{PlayerDeposit-DcrT6NM5.js → PlayerDeposit-D9pnDQ72.js} +1 -1
- package/components/{PlayerDeposit-THdXz9PJ.js → PlayerDeposit-IWUtmkdA.js} +1 -1
- package/components/{PlayerGamingHistory-tOWY4wQc.js → PlayerGamingHistory-BwA7bue0.js} +3 -3
- package/components/{PlayerGamingHistory-Bi3vSyAP.cjs → PlayerGamingHistory-CAWcXMDM.cjs} +1 -1
- package/components/{PlayerGamingHistory-OjfxwzM3.js → PlayerGamingHistory-D2ygyFQj.js} +3 -3
- package/components/{PlayerPendingWithdrawals-HaGN7vcO.js → PlayerPendingWithdrawals-B1DtNkWj.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BrRw6On8.cjs → PlayerPendingWithdrawals-CmaTv3Xo.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DdJBITfy.js → PlayerPendingWithdrawals-NruoAjs2.js} +1 -1
- package/components/{PlayerProfileInfo-B2jofHHZ.cjs → PlayerProfileInfo-BN_nmL2_.cjs} +1 -1
- package/components/{PlayerProfileInfo-oXqyvS0n.js → PlayerProfileInfo-BlAtv9JQ.js} +13 -15
- package/components/{PlayerProfileInfo-Fks_j7dG.js → PlayerProfileInfo-C6mpr0NI.js} +13 -15
- package/components/{PlayerRealityCheck-CnmsSUD-.js → PlayerRealityCheck-BMEE0YuO.js} +2 -2
- package/components/{PlayerRealityCheck-Pof9wQKF.cjs → PlayerRealityCheck-C07ALoZc.cjs} +1 -1
- package/components/{PlayerRealityCheck-BYhGlTIr.js → PlayerRealityCheck-e4OXfVRc.js} +2 -2
- package/components/{PlayerTransactionHistory-D4PMj0yu.cjs → PlayerTransactionHistory-BGMhKZ1A.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BdgwvkWD.js → PlayerTransactionHistory-CpG8GGZl.js} +1 -1
- package/components/{PlayerTransactionHistory-Bl2ynx42.js → PlayerTransactionHistory-Du0SUmkH.js} +1 -1
- package/components/{PlayerWithdrawal-pTo28WG0.js → PlayerWithdrawal-C5VtcCek.js} +1 -1
- package/components/{PlayerWithdrawal-D4j7gnQO.cjs → PlayerWithdrawal-DC7xcl_E.cjs} +1 -1
- package/components/{PlayerWithdrawal-DHfd9JO-.js → PlayerWithdrawal-DZrMEmpo.js} +1 -1
- package/components/{QrSessionGenerator-CMi9EJ3z.js → QrSessionGenerator-BWEmjjNF.js} +13 -25
- package/components/{QrSessionGenerator-zb4CoxMc.cjs → QrSessionGenerator-GLH14lh4.cjs} +1 -1
- package/components/{QrSessionGenerator-ByWQd2Ww.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-CGZ9g6z0.js → general-logout-BRa7oFTH.js} +1 -1
- package/lazy/{general-logout-D5Mm_VU_.js → general-logout-CLYmbIxd.js} +1 -1
- package/lazy/{general-logout-Dl65wE-i.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-YegSobZE.cjs → player-account-betting-history-BU7En8At.cjs} +1 -1
- package/lazy/{player-account-betting-history-BtRNsGdH.js → player-account-betting-history-DarYTbFb.js} +1 -1
- package/lazy/{player-account-betting-history-D0D53Fp2.js → player-account-betting-history-kZZmwxEQ.js} +1 -1
- package/lazy/{player-account-biometrics-lVJOgS5W.js → player-account-biometrics-9Jp_DBRA.js} +1 -1
- package/lazy/{player-account-biometrics-Z_Uled3B.js → player-account-biometrics-BHuyyrb4.js} +1 -1
- package/lazy/{player-account-biometrics-ksd6XNnu.cjs → player-account-biometrics-C6UudRfc.cjs} +1 -1
- package/lazy/{player-account-biometrics-action-3j7grMAO.js → player-account-biometrics-action-9_34yNMa.js} +1 -1
- package/lazy/{player-account-biometrics-action-vKXS62Ob.js → player-account-biometrics-action-CHMqzmo6.js} +1 -1
- package/lazy/{player-account-biometrics-action-DZ89dBTy.cjs → player-account-biometrics-action-D5uhErfh.cjs} +1 -1
- package/lazy/{player-account-closure-nd-BL-w5-Zh.js → player-account-closure-nd-Bk3IGPQs.js} +1 -1
- package/lazy/{player-account-closure-nd-DqaPSBqI.cjs → player-account-closure-nd-C4ZcOm71.cjs} +1 -1
- package/lazy/{player-account-closure-nd-BrEfra5h.js → player-account-closure-nd-RKYEJxSX.js} +1 -1
- package/lazy/{player-account-gaming-limits-BUs2Xm1Y.cjs → player-account-gaming-limits-CvvZ8lBz.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-CDK98q-T.js → player-account-gaming-limits-LSQdj5rC.js} +1 -1
- package/lazy/{player-account-gaming-limits-BqrEl_dr.js → player-account-gaming-limits-X-DXA1to.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BpQLh714.js → player-account-gaming-limits-confirmation-modal-C81iaJi7.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BRRIGM4D.js → player-account-gaming-limits-confirmation-modal-CQboPROf.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-BvCuS-YC.cjs → player-account-gaming-limits-confirmation-modal-D-MdzvHG.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-CfUcK0T-.cjs → player-account-gaming-limits-group-edit-C2KG_WD3.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-Cxls2CRm.js → player-account-gaming-limits-group-edit-QPhaZZ4g.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-CTqHhP5e.js → player-account-gaming-limits-group-edit-XTdrALvy.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-BSe1kTbG.js → player-account-gaming-limits-history-2-nd-BwwKHGUP.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-BT5VG3PA.cjs → player-account-gaming-limits-history-2-nd-C8VqM5qX.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-8wq8ZksT.js → player-account-gaming-limits-history-2-nd-D55d3WUh.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-BTY6_XTu.js → player-account-gaming-limits-info-card-BYvB6TfO.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DlELJghe.js → player-account-gaming-limits-info-card-DvizEm9E.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-BFlK_Kyp.cjs → player-account-gaming-limits-info-card-EIbtUiFM.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CS6n0CD7.cjs → player-account-gaming-limits-page-2-gm16-nd-Bdc9AF2V.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-C3vC8f91.js → player-account-gaming-limits-page-2-gm16-nd-DCs5ekLS.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DL8mJnBd.js → player-account-gaming-limits-page-2-gm16-nd-jL3g5EM3.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-ChQMBIi4.js → player-account-gaming-limits-popup-C-FxPjHK.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-BZ0pgEQj.js → player-account-gaming-limits-popup-NmLrg23B.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-C9LHubZ5.cjs → player-account-gaming-limits-popup-q2ChaCJV.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-DuDWa-EF.js → player-account-gaming-limits-wrapper-2-nd-B1CLqxg8.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BRqOnXTj.cjs → player-account-gaming-limits-wrapper-2-nd-Ct4Ot1zY.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-BLRsq-6k.js → player-account-gaming-limits-wrapper-2-nd-N9xKrQL4.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal--HCilWzL.js → player-account-general-confirmation-modal-C_falRjk.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-BVezEO85.cjs → player-account-general-confirmation-modal-PTOjbtqO.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-BVOLODHo.js → player-account-general-confirmation-modal-tWM1iF7D.js} +1 -1
- package/lazy/{player-account-menu-nd-DmQnVgLs.js → player-account-menu-nd-BUXebTFM.js} +1 -1
- package/lazy/{player-account-menu-nd-DEaKsJwE.js → player-account-menu-nd-ByiaAuBh.js} +1 -1
- package/lazy/{player-account-menu-nd-C84EOh2Z.cjs → player-account-menu-nd-D57UZIdB.cjs} +1 -1
- package/lazy/{player-account-modal-sq0boxfH.js → player-account-modal-C_OUrtid.js} +1 -1
- package/lazy/{player-account-modal-CyDkof9V.cjs → player-account-modal-Dhnkrozt.cjs} +1 -1
- package/lazy/{player-account-modal-_R3DlDyk.js → player-account-modal-DmNBMFMU.js} +1 -1
- package/lazy/{player-account-notifications-BxqcVI6r.js → player-account-notifications-BUT2JjWt.js} +1 -1
- package/lazy/{player-account-notifications-BJdZRhbt.cjs → player-account-notifications-PdMNdxWj.cjs} +1 -1
- package/lazy/{player-account-notifications-KO8aidPQ.js → player-account-notifications-fxN7fdL1.js} +1 -1
- package/lazy/{player-account-product-restriction-XzfoTiUL.js → player-account-product-restriction-DJQ6_-Qa.js} +1 -1
- package/lazy/{player-account-product-restriction-CdV4A_Q1.js → player-account-product-restriction-Dl4xRpdd.js} +1 -1
- package/lazy/{player-account-product-restriction-C2KIx4ug.cjs → player-account-product-restriction-RKQRrg0d.cjs} +1 -1
- package/lazy/{player-account-review-frequency-CAWm9ruH.js → player-account-review-frequency-C8e3Ofe6.js} +1 -1
- package/lazy/{player-account-review-frequency-CGZwajWN.cjs → player-account-review-frequency-CaFEVUiS.cjs} +1 -1
- package/lazy/{player-account-review-frequency-DCItKt4Y.js → player-account-review-frequency-Dbt7jaw2.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BvqFyx7e.cjs → player-account-self-exclusion-nd-C3m55rUx.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-tTIK6ZX2.js → player-account-self-exclusion-nd-CMzyeF2O.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-4bApEK4f.js → player-account-self-exclusion-nd-igOQinVk.js} +1 -1
- package/lazy/{player-account-timeout-B5u3PFUS.js → player-account-timeout-B036_0d9.js} +1 -1
- package/lazy/{player-account-timeout-BUWAzN7Q.js → player-account-timeout-BEUUFWEp.js} +1 -1
- package/lazy/{player-account-timeout-DKXz2_XT.cjs → player-account-timeout-BMpiKef8.cjs} +1 -1
- package/lazy/{player-account-transactions-history-CoAqwzrw.js → player-account-transactions-history-BnoNxzuA.js} +1 -1
- package/lazy/{player-account-transactions-history-BeqShBGP.js → player-account-transactions-history-CyT_-CGQ.js} +1 -1
- package/lazy/{player-account-transactions-history-CAQw-19U.cjs → player-account-transactions-history-TfnyUsxn.cjs} +1 -1
- package/lazy/{player-active-bonuses-CJseEz5v.js → player-active-bonuses-C6aV91wc.js} +1 -1
- package/lazy/{player-active-bonuses-fvbFAgX-.cjs → player-active-bonuses-CsFNdeVv.cjs} +1 -1
- package/lazy/{player-active-bonuses-DbUl-0-V.js → player-active-bonuses-DqiT3imY.js} +1 -1
- package/lazy/{player-bonus-card-CsQaALnV.js → player-bonus-card-BkThed60.js} +1 -1
- package/lazy/{player-bonus-card-DJjpxQs0.js → player-bonus-card-CmK7JuVs.js} +1 -1
- package/lazy/{player-bonus-card-D5ePfc0C.cjs → player-bonus-card-DDxqinXp.cjs} +1 -1
- package/lazy/{player-bonus-history-CRDhOz9p.cjs → player-bonus-history-B90I1d8P.cjs} +1 -1
- package/lazy/{player-bonus-history-5YlWeuM4.js → player-bonus-history-BTmzGOZd.js} +1 -1
- package/lazy/{player-bonus-history-Xas_WVgS.js → player-bonus-history-BjewgN6o.js} +1 -1
- package/lazy/{player-change-password-nd-CSm1iznG.js → player-change-password-nd--Eu7RVPL.js} +1 -1
- package/lazy/{player-change-password-nd-lKKYchhB.js → player-change-password-nd-CYgC2SpI.js} +1 -1
- package/lazy/{player-change-password-nd-CCBotjF7.cjs → player-change-password-nd-CcOG3Nyt.cjs} +1 -1
- package/lazy/{player-deposit-B_amCwBL.js → player-deposit-CCOOcgA1.js} +1 -1
- package/lazy/{player-deposit-CZfZIxMw.cjs → player-deposit-CqMXvpaZ.cjs} +1 -1
- package/lazy/{player-deposit-BOBG0KMM.js → player-deposit-zE7TJYA1.js} +1 -1
- package/lazy/{player-gaming-history-BatyEh8b.cjs → player-gaming-history-CC0GsrpC.cjs} +1 -1
- package/lazy/{player-gaming-history-BC8w4m8I.js → player-gaming-history-CXi3vfwK.js} +1 -1
- package/lazy/{player-gaming-history-_nBx93s6.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-f2rwNVEj.js → player-pending-withdrawals-BEyih5KL.js} +1 -1
- package/lazy/{player-pending-withdrawals-DV3MBtND.js → player-pending-withdrawals-C9x40s9Q.js} +1 -1
- package/lazy/{player-pending-withdrawals-CfAFtOlc.cjs → player-pending-withdrawals-CrKrRCCj.cjs} +1 -1
- package/lazy/{player-profile-info-DeHpz5pE.cjs → player-profile-info-CQYbmwAF.cjs} +1 -1
- package/lazy/{player-profile-info-DAZ7LlzK.js → player-profile-info-Ch4sM284.js} +1 -1
- package/lazy/{player-profile-info-CaxAMHDu.js → player-profile-info-DJFe5Jxb.js} +1 -1
- package/lazy/{player-reality-check-dyAKwU9X.js → player-reality-check-BTj6SqVv.js} +1 -1
- package/lazy/{player-reality-check-b5PNqNZV.js → player-reality-check-CBG_fMO9.js} +1 -1
- package/lazy/{player-reality-check-CtgZIvUM.cjs → player-reality-check-Cwcwss6e.cjs} +1 -1
- package/lazy/{player-transaction-history-BQ3UXBCh.cjs → player-transaction-history-BIvw4k1U.cjs} +1 -1
- package/lazy/{player-transaction-history-C2ANpFes.js → player-transaction-history-D1OE0Quq.js} +1 -1
- package/lazy/{player-transaction-history-Ff12cwAz.js → player-transaction-history-h8r2RnJt.js} +1 -1
- package/lazy/{player-withdrawal-CoifhnTL.js → player-withdrawal-Bqkfqbul.js} +1 -1
- package/lazy/{player-withdrawal-CczkqHIH.cjs → player-withdrawal-CXGIJvjX.cjs} +1 -1
- package/lazy/{player-withdrawal-B2w8jt3A.js → player-withdrawal-DO_9su_q.js} +1 -1
- package/lazy/{qr-session-generator-DY9m0dQQ.js → qr-session-generator-BER1sOvn.js} +1 -1
- package/lazy/{qr-session-generator-2LDpjyU7.cjs → qr-session-generator-C3ny9pzb.cjs} +1 -1
- package/lazy/{qr-session-generator-BmChnpgC.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/stencil/{user-transaction-history_2-DXgLBYyf.js → user-transaction-history_2-C0gXLzko.js}
RENAMED
|
@@ -14,7 +14,7 @@ var Rt = (i, e, t) => new Promise((r, o) => {
|
|
|
14
14
|
}, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(a, n);
|
|
15
15
|
s((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { r as wa, g as mo, h as m, H as Ss, a as Ds, c as Os } from "../lazy/user-transaction-history-
|
|
17
|
+
import { r as wa, g as mo, h as m, H as Ss, a as Ds, c as Os } from "../lazy/user-transaction-history-CPk9X09g.js";
|
|
18
18
|
const Ms = {
|
|
19
19
|
en: {
|
|
20
20
|
deposit: "Deposit",
|
|
@@ -1214,11 +1214,9 @@ function bl(i, e) {
|
|
|
1214
1214
|
function yl(i) {
|
|
1215
1215
|
return function(e) {
|
|
1216
1216
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.match(i.matchPattern);
|
|
1217
|
-
if (!r)
|
|
1218
|
-
return null;
|
|
1217
|
+
if (!r) return null;
|
|
1219
1218
|
var o = r[0], a = e.match(i.parsePattern);
|
|
1220
|
-
if (!a)
|
|
1221
|
-
return null;
|
|
1219
|
+
if (!a) return null;
|
|
1222
1220
|
var n = i.valueCallback ? i.valueCallback(a[0]) : a[0];
|
|
1223
1221
|
n = t.valueCallback ? t.valueCallback(n) : n;
|
|
1224
1222
|
var s = e.slice(o.length);
|
|
@@ -1472,8 +1470,7 @@ function go(i, e) {
|
|
|
1472
1470
|
}
|
|
1473
1471
|
}
|
|
1474
1472
|
function bo(i, e) {
|
|
1475
|
-
if (!i || !e)
|
|
1476
|
-
return;
|
|
1473
|
+
if (!i || !e) return;
|
|
1477
1474
|
const t = new URL(e);
|
|
1478
1475
|
fetch(t.href).then((r) => r.text()).then((r) => {
|
|
1479
1476
|
const o = document.createElement("style");
|
|
@@ -1483,8 +1480,7 @@ function bo(i, e) {
|
|
|
1483
1480
|
});
|
|
1484
1481
|
}
|
|
1485
1482
|
function ql(i, e, t, r = !1) {
|
|
1486
|
-
if (!window.emMessageBus)
|
|
1487
|
-
return;
|
|
1483
|
+
if (!window.emMessageBus) return;
|
|
1488
1484
|
if (!("adoptedStyleSheets" in Document.prototype) || !r)
|
|
1489
1485
|
return t = Yl(i, e), t;
|
|
1490
1486
|
window[Ve] || (window[Ve] = {}), t = jl(i, e);
|
|
@@ -1505,8 +1501,7 @@ function Yl(i, e) {
|
|
|
1505
1501
|
}
|
|
1506
1502
|
function jl(i, e) {
|
|
1507
1503
|
return window.emMessageBus.subscribe(e, (t) => {
|
|
1508
|
-
if (!i)
|
|
1509
|
-
return;
|
|
1504
|
+
if (!i) return;
|
|
1510
1505
|
const r = i.getRootNode(), o = window[Ve];
|
|
1511
1506
|
let a = o[e] && o[e].sheet;
|
|
1512
1507
|
a ? o[e].refCount = o[e].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(t), o[e] = {
|
|
@@ -1519,14 +1514,12 @@ function jl(i, e) {
|
|
|
1519
1514
|
}
|
|
1520
1515
|
function yo(i, e) {
|
|
1521
1516
|
(e == null || e > i.length) && (e = i.length);
|
|
1522
|
-
for (var t = 0, r = Array(e); t < e; t++)
|
|
1523
|
-
r[t] = i[t];
|
|
1517
|
+
for (var t = 0, r = Array(e); t < e; t++) r[t] = i[t];
|
|
1524
1518
|
return r;
|
|
1525
1519
|
}
|
|
1526
1520
|
function Gl(i, e) {
|
|
1527
1521
|
if (i) {
|
|
1528
|
-
if (typeof i == "string")
|
|
1529
|
-
return yo(i, e);
|
|
1522
|
+
if (typeof i == "string") return yo(i, e);
|
|
1530
1523
|
var t = {}.toString.call(i).slice(8, -1);
|
|
1531
1524
|
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) ? yo(i, e) : void 0;
|
|
1532
1525
|
}
|
|
@@ -1573,8 +1566,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1573
1566
|
try {
|
|
1574
1567
|
n || t.return == null || t.return();
|
|
1575
1568
|
} finally {
|
|
1576
|
-
if (s)
|
|
1577
|
-
throw a;
|
|
1569
|
+
if (s) throw a;
|
|
1578
1570
|
}
|
|
1579
1571
|
}
|
|
1580
1572
|
};
|
|
@@ -1587,8 +1579,7 @@ function Kl(i, e) {
|
|
|
1587
1579
|
return i;
|
|
1588
1580
|
}
|
|
1589
1581
|
function v(i) {
|
|
1590
|
-
if (i === void 0)
|
|
1591
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1582
|
+
if (i === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1592
1583
|
return i;
|
|
1593
1584
|
}
|
|
1594
1585
|
function jr(i, e) {
|
|
@@ -1597,8 +1588,7 @@ function jr(i, e) {
|
|
|
1597
1588
|
}, jr(i, e);
|
|
1598
1589
|
}
|
|
1599
1590
|
function E(i, e) {
|
|
1600
|
-
if (typeof e != "function" && e !== null)
|
|
1601
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
1591
|
+
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1602
1592
|
i.prototype = Object.create(e && e.prototype, {
|
|
1603
1593
|
constructor: {
|
|
1604
1594
|
value: i,
|
|
@@ -1625,10 +1615,8 @@ function Ma() {
|
|
|
1625
1615
|
})();
|
|
1626
1616
|
}
|
|
1627
1617
|
function Xl(i, e) {
|
|
1628
|
-
if (e && (_e(e) == "object" || typeof e == "function"))
|
|
1629
|
-
|
|
1630
|
-
if (e !== void 0)
|
|
1631
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1618
|
+
if (e && (_e(e) == "object" || typeof e == "function")) return e;
|
|
1619
|
+
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1632
1620
|
return v(i);
|
|
1633
1621
|
}
|
|
1634
1622
|
function T(i) {
|
|
@@ -1638,23 +1626,19 @@ function T(i) {
|
|
|
1638
1626
|
if (e) {
|
|
1639
1627
|
var o = Zt(this).constructor;
|
|
1640
1628
|
t = Reflect.construct(r, arguments, o);
|
|
1641
|
-
} else
|
|
1642
|
-
t = r.apply(this, arguments);
|
|
1629
|
+
} else t = r.apply(this, arguments);
|
|
1643
1630
|
return Xl(this, t);
|
|
1644
1631
|
};
|
|
1645
1632
|
}
|
|
1646
1633
|
function w(i, e) {
|
|
1647
|
-
if (!(i instanceof e))
|
|
1648
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1634
|
+
if (!(i instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
1649
1635
|
}
|
|
1650
1636
|
function Ql(i, e) {
|
|
1651
|
-
if (_e(i) != "object" || !i)
|
|
1652
|
-
return i;
|
|
1637
|
+
if (_e(i) != "object" || !i) return i;
|
|
1653
1638
|
var t;
|
|
1654
1639
|
if (typeof Symbol != "undefined" && (t = i[Symbol.toPrimitive]) !== void 0) {
|
|
1655
1640
|
var r = t.call(i, e);
|
|
1656
|
-
if (_e(r) != "object")
|
|
1657
|
-
return r;
|
|
1641
|
+
if (_e(r) != "object") return r;
|
|
1658
1642
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1659
1643
|
}
|
|
1660
1644
|
return (e === "string" ? String : Number)(i);
|
|
@@ -3370,8 +3354,7 @@ function Va(i, e, t, r) {
|
|
|
3370
3354
|
};
|
|
3371
3355
|
for (ee.s(); !(ke = ee.n()).done; ) {
|
|
3372
3356
|
var no = Ps();
|
|
3373
|
-
if (_e(no) === "object")
|
|
3374
|
-
return no.v;
|
|
3357
|
+
if (_e(no) === "object") return no.v;
|
|
3375
3358
|
}
|
|
3376
3359
|
} catch (q) {
|
|
3377
3360
|
ee.e(q);
|
|
@@ -3550,13 +3533,10 @@ const Qd = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
|
|
|
3550
3533
|
};
|
|
3551
3534
|
Zd.style = Jd;
|
|
3552
3535
|
var ec = Object.defineProperty, tc = Object.defineProperties, rc = Object.getOwnPropertyDescriptors, xo = Object.getOwnPropertySymbols, ic = Object.prototype.hasOwnProperty, oc = Object.prototype.propertyIsEnumerable, Gr = (i, e, t) => e in i ? ec(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, tr = (i, e) => {
|
|
3553
|
-
for (var t in e || (e = {}))
|
|
3554
|
-
|
|
3555
|
-
if (xo)
|
|
3556
|
-
for (var t of xo(e))
|
|
3557
|
-
oc.call(e, t) && Gr(i, t, e[t]);
|
|
3536
|
+
for (var t in e || (e = {})) ic.call(e, t) && Gr(i, t, e[t]);
|
|
3537
|
+
if (xo) for (var t of xo(e)) oc.call(e, t) && Gr(i, t, e[t]);
|
|
3558
3538
|
return i;
|
|
3559
|
-
}, Ra = (i, e) => tc(i, rc(e)), X = (i, e, t) =>
|
|
3539
|
+
}, Ra = (i, e) => tc(i, rc(e)), X = (i, e, t) => Gr(i, typeof e != "symbol" ? e + "" : e, t), rr = (i, e, t) => new Promise((r, o) => {
|
|
3560
3540
|
var a = (l) => {
|
|
3561
3541
|
try {
|
|
3562
3542
|
s(t.next(l));
|
|
@@ -3582,8 +3562,7 @@ function y(i, e = "24.5.10") {
|
|
|
3582
3562
|
return e;
|
|
3583
3563
|
} });
|
|
3584
3564
|
const t = customElements.get(i.is);
|
|
3585
|
-
if (!t)
|
|
3586
|
-
customElements.define(i.is, i);
|
|
3565
|
+
if (!t) customElements.define(i.is, i);
|
|
3587
3566
|
else {
|
|
3588
3567
|
const r = t.version;
|
|
3589
3568
|
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.`);
|
|
@@ -3608,8 +3587,7 @@ y(ac);
|
|
|
3608
3587
|
const Kt = globalThis, xi = Kt.ShadowRoot && (Kt.ShadyCSS === void 0 || Kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ci = Symbol(), Co = /* @__PURE__ */ new WeakMap();
|
|
3609
3588
|
let ki = class {
|
|
3610
3589
|
constructor(i, e, t) {
|
|
3611
|
-
if (this._$cssResult$ = !0, t !== Ci)
|
|
3612
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
3590
|
+
if (this._$cssResult$ = !0, t !== Ci) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
3613
3591
|
this.cssText = i, this.t = e;
|
|
3614
3592
|
}
|
|
3615
3593
|
get styleSheet() {
|
|
@@ -3627,25 +3605,20 @@ let ki = class {
|
|
|
3627
3605
|
};
|
|
3628
3606
|
const nc = (i) => new ki(typeof i == "string" ? i : i + "", void 0, Ci), f = (i, ...e) => {
|
|
3629
3607
|
const t = i.length === 1 ? i[0] : e.reduce((r, o, a) => r + ((n) => {
|
|
3630
|
-
if (n._$cssResult$ === !0)
|
|
3631
|
-
|
|
3632
|
-
if (typeof n == "number")
|
|
3633
|
-
return n;
|
|
3608
|
+
if (n._$cssResult$ === !0) return n.cssText;
|
|
3609
|
+
if (typeof n == "number") return n;
|
|
3634
3610
|
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.");
|
|
3635
3611
|
})(o) + i[a + 1], i[0]);
|
|
3636
3612
|
return new ki(t, i, Ci);
|
|
3637
3613
|
}, $a = (i, e) => {
|
|
3638
|
-
if (xi)
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, i.appendChild(r);
|
|
3644
|
-
}
|
|
3614
|
+
if (xi) i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
3615
|
+
else for (const t of e) {
|
|
3616
|
+
const r = document.createElement("style"), o = Kt.litNonce;
|
|
3617
|
+
o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, i.appendChild(r);
|
|
3618
|
+
}
|
|
3645
3619
|
}, ko = xi ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
|
|
3646
3620
|
let t = "";
|
|
3647
|
-
for (const r of e.cssRules)
|
|
3648
|
-
t += r.cssText;
|
|
3621
|
+
for (const r of e.cssRules) t += r.cssText;
|
|
3649
3622
|
return nc(t);
|
|
3650
3623
|
})(i) : i;
|
|
3651
3624
|
/**
|
|
@@ -3714,25 +3687,20 @@ let Re = class extends HTMLElement {
|
|
|
3714
3687
|
return (e = this.elementProperties.get(i)) != null ? e : Ao;
|
|
3715
3688
|
}
|
|
3716
3689
|
static _$Ei() {
|
|
3717
|
-
if (this.hasOwnProperty(ft("elementProperties")))
|
|
3718
|
-
return;
|
|
3690
|
+
if (this.hasOwnProperty(ft("elementProperties"))) return;
|
|
3719
3691
|
const i = uc(this);
|
|
3720
3692
|
i.finalize(), i.l !== void 0 && (this.l = [...i.l]), this.elementProperties = new Map(i.elementProperties);
|
|
3721
3693
|
}
|
|
3722
3694
|
static finalize() {
|
|
3723
|
-
if (this.hasOwnProperty(ft("finalized")))
|
|
3724
|
-
return;
|
|
3695
|
+
if (this.hasOwnProperty(ft("finalized"))) return;
|
|
3725
3696
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
|
|
3726
3697
|
const e = this.properties, t = [...cc(e), ...hc(e)];
|
|
3727
|
-
for (const r of t)
|
|
3728
|
-
this.createProperty(r, e[r]);
|
|
3698
|
+
for (const r of t) this.createProperty(r, e[r]);
|
|
3729
3699
|
}
|
|
3730
3700
|
const i = this[Symbol.metadata];
|
|
3731
3701
|
if (i !== null) {
|
|
3732
3702
|
const e = litPropertyMetadata.get(i);
|
|
3733
|
-
if (e !== void 0)
|
|
3734
|
-
for (const [t, r] of e)
|
|
3735
|
-
this.elementProperties.set(t, r);
|
|
3703
|
+
if (e !== void 0) for (const [t, r] of e) this.elementProperties.set(t, r);
|
|
3736
3704
|
}
|
|
3737
3705
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
3738
3706
|
for (const [e, t] of this.elementProperties) {
|
|
@@ -3745,10 +3713,8 @@ let Re = class extends HTMLElement {
|
|
|
3745
3713
|
const e = [];
|
|
3746
3714
|
if (Array.isArray(i)) {
|
|
3747
3715
|
const t = new Set(i.flat(1 / 0).reverse());
|
|
3748
|
-
for (const r of t)
|
|
3749
|
-
|
|
3750
|
-
} else
|
|
3751
|
-
i !== void 0 && e.push(ko(i));
|
|
3716
|
+
for (const r of t) e.unshift(ko(r));
|
|
3717
|
+
} else i !== void 0 && e.push(ko(i));
|
|
3752
3718
|
return e;
|
|
3753
3719
|
}
|
|
3754
3720
|
static _$Eu(i, e) {
|
|
@@ -3772,8 +3738,7 @@ let Re = class extends HTMLElement {
|
|
|
3772
3738
|
}
|
|
3773
3739
|
_$E_() {
|
|
3774
3740
|
const i = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
3775
|
-
for (const t of e.keys())
|
|
3776
|
-
this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
|
|
3741
|
+
for (const t of e.keys()) this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
|
|
3777
3742
|
i.size > 0 && (this._$Ep = i);
|
|
3778
3743
|
}
|
|
3779
3744
|
createRenderRoot() {
|
|
@@ -3822,8 +3787,7 @@ let Re = class extends HTMLElement {
|
|
|
3822
3787
|
var a, n;
|
|
3823
3788
|
if (i !== void 0) {
|
|
3824
3789
|
const s = this.constructor;
|
|
3825
|
-
if (r === !1 && (o = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((a = t.hasChanged) != null ? a : Ha)(o, e) || t.useDefault && t.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t))))
|
|
3826
|
-
return;
|
|
3790
|
+
if (r === !1 && (o = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((a = t.hasChanged) != null ? a : Ha)(o, e) || t.useDefault && t.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t)))) return;
|
|
3827
3791
|
this.C(i, e, t);
|
|
3828
3792
|
}
|
|
3829
3793
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -3849,20 +3813,17 @@ let Re = class extends HTMLElement {
|
|
|
3849
3813
|
}
|
|
3850
3814
|
performUpdate() {
|
|
3851
3815
|
var i;
|
|
3852
|
-
if (!this.isUpdatePending)
|
|
3853
|
-
return;
|
|
3816
|
+
if (!this.isUpdatePending) return;
|
|
3854
3817
|
if (!this.hasUpdated) {
|
|
3855
3818
|
if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
3856
|
-
for (const [o, a] of this._$Ep)
|
|
3857
|
-
this[o] = a;
|
|
3819
|
+
for (const [o, a] of this._$Ep) this[o] = a;
|
|
3858
3820
|
this._$Ep = void 0;
|
|
3859
3821
|
}
|
|
3860
3822
|
const r = this.constructor.elementProperties;
|
|
3861
|
-
if (r.size > 0)
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
}
|
|
3823
|
+
if (r.size > 0) for (const [o, a] of r) {
|
|
3824
|
+
const { wrapped: n } = a, s = this[o];
|
|
3825
|
+
n !== !0 || this._$AL.has(o) || s === void 0 || this.C(o, void 0, a, s);
|
|
3826
|
+
}
|
|
3866
3827
|
}
|
|
3867
3828
|
let e = !1;
|
|
3868
3829
|
const t = this._$AL;
|
|
@@ -3916,8 +3877,7 @@ const ir = globalThis, Io = (i) => i, or = ir.trustedTypes, So = or ? or.createP
|
|
|
3916
3877
|
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Do = /-->/g, Oo = />/g, Ee = RegExp(`>|${Dr}(?:([^\\s"'>=/]+)(${Dr}*=${Dr}*(?:[^
|
|
3917
3878
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Mo = /'/g, zo = /"/g, qa = /^(?:script|style|textarea|title)$/i, Ge = Symbol.for("lit-noChange"), Y = Symbol.for("lit-nothing"), No = /* @__PURE__ */ new WeakMap(), Ae = Oe.createTreeWalker(Oe, 129);
|
|
3918
3879
|
function Ya(i, e) {
|
|
3919
|
-
if (!Ei(i) || !i.hasOwnProperty("raw"))
|
|
3920
|
-
throw Error("invalid template strings array");
|
|
3880
|
+
if (!Ei(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
3921
3881
|
return So !== void 0 ? So.createHTML(e) : e;
|
|
3922
3882
|
}
|
|
3923
3883
|
const _c = (i, e) => {
|
|
@@ -3926,8 +3886,7 @@ const _c = (i, e) => {
|
|
|
3926
3886
|
for (let s = 0; s < t; s++) {
|
|
3927
3887
|
const l = i[s];
|
|
3928
3888
|
let d, c, h = -1, u = 0;
|
|
3929
|
-
for (; u < l.length && (n.lastIndex = u, c = n.exec(l), c !== null); )
|
|
3930
|
-
u = n.lastIndex, n === st ? c[1] === "!--" ? n = Do : c[1] !== void 0 ? n = Oo : c[2] !== void 0 ? (qa.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = Ee) : c[3] !== void 0 && (n = Ee) : n === Ee ? c[0] === ">" ? (n = o != null ? o : st, h = -1) : c[1] === void 0 ? h = -2 : (h = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ee : c[3] === '"' ? zo : Mo) : n === zo || n === Mo ? n = Ee : n === Do || n === Oo ? n = st : (n = Ee, o = void 0);
|
|
3889
|
+
for (; u < l.length && (n.lastIndex = u, c = n.exec(l), c !== null); ) u = n.lastIndex, n === st ? c[1] === "!--" ? n = Do : c[1] !== void 0 ? n = Oo : c[2] !== void 0 ? (qa.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = Ee) : c[3] !== void 0 && (n = Ee) : n === Ee ? c[0] === ">" ? (n = o != null ? o : st, h = -1) : c[1] === void 0 ? h = -2 : (h = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ee : c[3] === '"' ? zo : Mo) : n === zo || n === Mo ? n = Ee : n === Do || n === Oo ? n = st : (n = Ee, o = void 0);
|
|
3931
3890
|
const p = n === Ee && i[s + 1].startsWith("/>") ? " " : "";
|
|
3932
3891
|
a += n === st ? l + mc : h >= 0 ? (r.push(d), l.slice(0, h) + Ua + l.slice(h) + ye + p) : l + ye + (h === -2 ? s : p);
|
|
3933
3892
|
}
|
|
@@ -3945,30 +3904,23 @@ class bt {
|
|
|
3945
3904
|
}
|
|
3946
3905
|
for (; (o = Ae.nextNode()) !== null && l.length < s; ) {
|
|
3947
3906
|
if (o.nodeType === 1) {
|
|
3948
|
-
if (o.hasAttributes())
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
l.push({ type: 1, index: a, name: b[2], strings: p, ctor: b[1] === "." ? gc : b[1] === "?" ? bc : b[1] === "@" ? yc : mr }), o.removeAttribute(h);
|
|
3953
|
-
} else
|
|
3954
|
-
h.startsWith(ye) && (l.push({ type: 6, index: a }), o.removeAttribute(h));
|
|
3907
|
+
if (o.hasAttributes()) for (const h of o.getAttributeNames()) if (h.endsWith(Ua)) {
|
|
3908
|
+
const u = c[n++], p = o.getAttribute(h).split(ye), b = /([.?@])?(.*)/.exec(u);
|
|
3909
|
+
l.push({ type: 1, index: a, name: b[2], strings: p, ctor: b[1] === "." ? gc : b[1] === "?" ? bc : b[1] === "@" ? yc : mr }), o.removeAttribute(h);
|
|
3910
|
+
} else h.startsWith(ye) && (l.push({ type: 6, index: a }), o.removeAttribute(h));
|
|
3955
3911
|
if (qa.test(o.tagName)) {
|
|
3956
3912
|
const h = o.textContent.split(ye), u = h.length - 1;
|
|
3957
3913
|
if (u > 0) {
|
|
3958
3914
|
o.textContent = or ? or.emptyScript : "";
|
|
3959
|
-
for (let p = 0; p < u; p++)
|
|
3960
|
-
o.append(h[p], vt()), Ae.nextNode(), l.push({ type: 2, index: ++a });
|
|
3915
|
+
for (let p = 0; p < u; p++) o.append(h[p], vt()), Ae.nextNode(), l.push({ type: 2, index: ++a });
|
|
3961
3916
|
o.append(h[u], vt());
|
|
3962
3917
|
}
|
|
3963
3918
|
}
|
|
3964
|
-
} else if (o.nodeType === 8)
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
for (; (h = o.data.indexOf(ye, h + 1)) !== -1; )
|
|
3970
|
-
l.push({ type: 7, index: a }), h += ye.length - 1;
|
|
3971
|
-
}
|
|
3919
|
+
} else if (o.nodeType === 8) if (o.data === Wa) l.push({ type: 2, index: a });
|
|
3920
|
+
else {
|
|
3921
|
+
let h = -1;
|
|
3922
|
+
for (; (h = o.data.indexOf(ye, h + 1)) !== -1; ) l.push({ type: 7, index: a }), h += ye.length - 1;
|
|
3923
|
+
}
|
|
3972
3924
|
a++;
|
|
3973
3925
|
}
|
|
3974
3926
|
}
|
|
@@ -3979,8 +3931,7 @@ class bt {
|
|
|
3979
3931
|
}
|
|
3980
3932
|
function Ke(i, e, t = i, r) {
|
|
3981
3933
|
var o, a, n;
|
|
3982
|
-
if (e === Ge)
|
|
3983
|
-
return e;
|
|
3934
|
+
if (e === Ge) return e;
|
|
3984
3935
|
let s = r !== void 0 ? (o = t._$Co) == null ? void 0 : o[r] : t._$Cl;
|
|
3985
3936
|
const l = gt(e) ? void 0 : e._$litDirective$;
|
|
3986
3937
|
return (s == null ? void 0 : s.constructor) !== l && ((a = s == null ? void 0 : s._$AO) == null || a.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 = Ke(i, s._$AS(i, e.values), s, r)), e;
|
|
@@ -4011,8 +3962,7 @@ class vc {
|
|
|
4011
3962
|
}
|
|
4012
3963
|
p(e) {
|
|
4013
3964
|
let t = 0;
|
|
4014
|
-
for (const r of this._$AV)
|
|
4015
|
-
r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
|
|
3965
|
+
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++;
|
|
4016
3966
|
}
|
|
4017
3967
|
}
|
|
4018
3968
|
class It {
|
|
@@ -4050,8 +4000,7 @@ class It {
|
|
|
4050
4000
|
$(e) {
|
|
4051
4001
|
var t;
|
|
4052
4002
|
const { values: r, _$litType$: o } = e, a = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = bt.createElement(Ya(o.h, o.h[0]), this.options)), o);
|
|
4053
|
-
if (((t = this._$AH) == null ? void 0 : t._$AD) === a)
|
|
4054
|
-
this._$AH.p(r);
|
|
4003
|
+
if (((t = this._$AH) == null ? void 0 : t._$AD) === a) this._$AH.p(r);
|
|
4055
4004
|
else {
|
|
4056
4005
|
const n = new vc(a, this), s = n.u(this.options);
|
|
4057
4006
|
n.p(r), this.T(s), this._$AH = n;
|
|
@@ -4065,8 +4014,7 @@ class It {
|
|
|
4065
4014
|
Ei(this._$AH) || (this._$AH = [], this._$AR());
|
|
4066
4015
|
const t = this._$AH;
|
|
4067
4016
|
let r, o = 0;
|
|
4068
|
-
for (const a of e)
|
|
4069
|
-
o === t.length ? t.push(r = new It(this.O(vt()), this.O(vt()), this, this.options)) : r = t[o], r._$AI(a), o++;
|
|
4017
|
+
for (const a of e) o === t.length ? t.push(r = new It(this.O(vt()), this.O(vt()), this, this.options)) : r = t[o], r._$AI(a), o++;
|
|
4070
4018
|
o < t.length && (this._$AR(r && r._$AB.nextSibling, o), t.length = o);
|
|
4071
4019
|
}
|
|
4072
4020
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -4094,13 +4042,11 @@ class mr {
|
|
|
4094
4042
|
_$AI(e, t = this, r, o) {
|
|
4095
4043
|
const a = this.strings;
|
|
4096
4044
|
let n = !1;
|
|
4097
|
-
if (a === void 0)
|
|
4098
|
-
e = Ke(this, e, t, 0), n = !gt(e) || e !== this._$AH && e !== Ge, n && (this._$AH = e);
|
|
4045
|
+
if (a === void 0) e = Ke(this, e, t, 0), n = !gt(e) || e !== this._$AH && e !== Ge, n && (this._$AH = e);
|
|
4099
4046
|
else {
|
|
4100
4047
|
const s = e;
|
|
4101
4048
|
let l, d;
|
|
4102
|
-
for (e = a[0], l = 0; l < a.length - 1; l++)
|
|
4103
|
-
d = Ke(this, s[r + l], t, l), d === Ge && (d = this._$AH[l]), n || (n = !gt(d) || d !== this._$AH[l]), d === Y ? e = Y : e !== Y && (e += (d != null ? d : "") + a[l + 1]), this._$AH[l] = d;
|
|
4049
|
+
for (e = a[0], l = 0; l < a.length - 1; l++) d = Ke(this, s[r + l], t, l), d === Ge && (d = this._$AH[l]), n || (n = !gt(d) || d !== this._$AH[l]), d === Y ? e = Y : e !== Y && (e += (d != null ? d : "") + a[l + 1]), this._$AH[l] = d;
|
|
4104
4050
|
}
|
|
4105
4051
|
n && !o && this.j(e);
|
|
4106
4052
|
}
|
|
@@ -4130,8 +4076,7 @@ class yc extends mr {
|
|
|
4130
4076
|
}
|
|
4131
4077
|
_$AI(e, t = this) {
|
|
4132
4078
|
var r;
|
|
4133
|
-
if ((e = (r = Ke(this, e, t, 0)) != null ? r : Y) === Ge)
|
|
4134
|
-
return;
|
|
4079
|
+
if ((e = (r = Ke(this, e, t, 0)) != null ? r : Y) === Ge) return;
|
|
4135
4080
|
const o = this._$AH, a = e === Y && o !== Y || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, n = e !== Y && (o === Y || a);
|
|
4136
4081
|
a && this.element.removeEventListener(this.name, this, o), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
4137
4082
|
}
|
|
@@ -4245,11 +4190,9 @@ function kc(i, e) {
|
|
|
4245
4190
|
t.id = ar, t.textContent = Qa(i), e.content.appendChild(t);
|
|
4246
4191
|
}
|
|
4247
4192
|
function Ec(i) {
|
|
4248
|
-
if (!i.shadowRoot)
|
|
4249
|
-
return;
|
|
4193
|
+
if (!i.shadowRoot) return;
|
|
4250
4194
|
const e = i.constructor;
|
|
4251
|
-
if (i instanceof $e)
|
|
4252
|
-
[...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), $a(i.shadowRoot, e.elementStyles);
|
|
4195
|
+
if (i instanceof $e) [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), $a(i.shadowRoot, e.elementStyles);
|
|
4253
4196
|
else {
|
|
4254
4197
|
const t = i.shadowRoot.getElementById(ar), r = e.prototype._template;
|
|
4255
4198
|
t.textContent = r.content.getElementById(ar).textContent;
|
|
@@ -4262,8 +4205,7 @@ function Tc(i) {
|
|
|
4262
4205
|
});
|
|
4263
4206
|
}
|
|
4264
4207
|
function Ja(i) {
|
|
4265
|
-
if (i.prototype instanceof $e)
|
|
4266
|
-
i.elementStyles = i.finalizeStyles(i.styles);
|
|
4208
|
+
if (i.prototype instanceof $e) i.elementStyles = i.finalizeStyles(i.styles);
|
|
4267
4209
|
else {
|
|
4268
4210
|
const e = i.prototype._template;
|
|
4269
4211
|
e.content.getElementById(ar).textContent = Qa(i.getStylesForThis());
|
|
@@ -4308,8 +4250,7 @@ const z = (i) => class extends fr(i) {
|
|
|
4308
4250
|
super(), Xr.add(new WeakRef(this));
|
|
4309
4251
|
}
|
|
4310
4252
|
static finalize() {
|
|
4311
|
-
if (super.finalize(), this.is && Ti.add(this.is), this.elementStyles)
|
|
4312
|
-
return;
|
|
4253
|
+
if (super.finalize(), this.is && Ti.add(this.is), this.elementStyles) return;
|
|
4313
4254
|
const e = this.prototype._template;
|
|
4314
4255
|
!e || Ka(this) || kc(this.getStylesForThis(), e);
|
|
4315
4256
|
}
|
|
@@ -5216,8 +5157,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
5216
5157
|
*/
|
|
5217
5158
|
let Vc = /(url\()([^)]*)(\))/g, Rc = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, $t, te;
|
|
5218
5159
|
function _t(i, e) {
|
|
5219
|
-
if (i && Rc.test(i) || i === "//")
|
|
5220
|
-
return i;
|
|
5160
|
+
if (i && Rc.test(i) || i === "//") return i;
|
|
5221
5161
|
if ($t === void 0) {
|
|
5222
5162
|
$t = !1;
|
|
5223
5163
|
try {
|
|
@@ -5226,12 +5166,11 @@ function _t(i, e) {
|
|
|
5226
5166
|
} catch (t) {
|
|
5227
5167
|
}
|
|
5228
5168
|
}
|
|
5229
|
-
if (e || (e = document.baseURI || window.location.href), $t)
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
}
|
|
5169
|
+
if (e || (e = document.baseURI || window.location.href), $t) try {
|
|
5170
|
+
return new URL(i, e).href;
|
|
5171
|
+
} catch (t) {
|
|
5172
|
+
return i;
|
|
5173
|
+
}
|
|
5235
5174
|
return te || (te = document.implementation.createHTMLDocument("temp"), te.base = te.createElement("base"), te.head.appendChild(te.base), te.anchor = te.createElement("a"), te.body.appendChild(te.anchor)), te.base.href = e, te.anchor.href = i, te.anchor.href || i;
|
|
5236
5175
|
}
|
|
5237
5176
|
function Ai(i, e) {
|
|
@@ -5278,8 +5217,7 @@ const H = function(i) {
|
|
|
5278
5217
|
let t = Gc++;
|
|
5279
5218
|
function r(o) {
|
|
5280
5219
|
let a = o.__mixinSet;
|
|
5281
|
-
if (a && a[t])
|
|
5282
|
-
return o;
|
|
5220
|
+
if (a && a[t]) return o;
|
|
5283
5221
|
let n = e, s = n.get(o);
|
|
5284
5222
|
if (!s) {
|
|
5285
5223
|
s = i(o), n.set(o, s);
|
|
@@ -5332,8 +5270,7 @@ class wt extends HTMLElement {
|
|
|
5332
5270
|
}
|
|
5333
5271
|
register(e) {
|
|
5334
5272
|
if (e = e || this.id, e) {
|
|
5335
|
-
if (sr && Wo(e) !== void 0)
|
|
5336
|
-
throw Uo(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5273
|
+
if (sr && Wo(e) !== void 0) throw Uo(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5337
5274
|
this.id = e, Uo(e, this), Kc(this);
|
|
5338
5275
|
}
|
|
5339
5276
|
}
|
|
@@ -5360,14 +5297,12 @@ function Yo(i) {
|
|
|
5360
5297
|
}
|
|
5361
5298
|
function Jc(i) {
|
|
5362
5299
|
const e = i.trim().split(/\s+/), t = [];
|
|
5363
|
-
for (let r = 0; r < e.length; r++)
|
|
5364
|
-
t.push(...Zc(e[r]));
|
|
5300
|
+
for (let r = 0; r < e.length; r++) t.push(...Zc(e[r]));
|
|
5365
5301
|
return t;
|
|
5366
5302
|
}
|
|
5367
5303
|
function Zc(i) {
|
|
5368
5304
|
const e = an(i);
|
|
5369
|
-
if (!e)
|
|
5370
|
-
return console.warn("Could not find style data in module named", i), [];
|
|
5305
|
+
if (!e) return console.warn("Could not find style data in module named", i), [];
|
|
5371
5306
|
if (e._styles === void 0) {
|
|
5372
5307
|
const t = [];
|
|
5373
5308
|
t.push(...sn(e));
|
|
@@ -5402,8 +5337,7 @@ function sn(i) {
|
|
|
5402
5337
|
if (n && !a._unscopedStyle) {
|
|
5403
5338
|
const s = Yo(a);
|
|
5404
5339
|
s.setAttribute(qo, ""), a._unscopedStyle = s;
|
|
5405
|
-
} else
|
|
5406
|
-
a._style || (a._style = Yo(a));
|
|
5340
|
+
} else a._style || (a._style = Yo(a));
|
|
5407
5341
|
e.push(n ? a._unscopedStyle : a._style);
|
|
5408
5342
|
}
|
|
5409
5343
|
}
|
|
@@ -5452,12 +5386,10 @@ function ut(i) {
|
|
|
5452
5386
|
let e = [];
|
|
5453
5387
|
for (let t = 0; t < i.length; t++) {
|
|
5454
5388
|
let r = i[t].toString().split(".");
|
|
5455
|
-
for (let o = 0; o < r.length; o++)
|
|
5456
|
-
e.push(r[o]);
|
|
5389
|
+
for (let o = 0; o < r.length; o++) e.push(r[o]);
|
|
5457
5390
|
}
|
|
5458
5391
|
return e.join(".");
|
|
5459
|
-
} else
|
|
5460
|
-
return i;
|
|
5392
|
+
} else return i;
|
|
5461
5393
|
}
|
|
5462
5394
|
function dn(i) {
|
|
5463
5395
|
return Array.isArray(i) ? ut(i).split(".") : i.toString().split(".");
|
|
@@ -5465,8 +5397,7 @@ function dn(i) {
|
|
|
5465
5397
|
function Z(i, e, t) {
|
|
5466
5398
|
let r = i, o = dn(e);
|
|
5467
5399
|
for (let a = 0; a < o.length; a++) {
|
|
5468
|
-
if (!r)
|
|
5469
|
-
return;
|
|
5400
|
+
if (!r) return;
|
|
5470
5401
|
let n = o[a];
|
|
5471
5402
|
r = r[n];
|
|
5472
5403
|
}
|
|
@@ -5477,12 +5408,10 @@ function jo(i, e, t) {
|
|
|
5477
5408
|
if (o.length > 1) {
|
|
5478
5409
|
for (let n = 0; n < o.length - 1; n++) {
|
|
5479
5410
|
let s = o[n];
|
|
5480
|
-
if (r = r[s], !r)
|
|
5481
|
-
return;
|
|
5411
|
+
if (r = r[s], !r) return;
|
|
5482
5412
|
}
|
|
5483
5413
|
r[a] = t;
|
|
5484
|
-
} else
|
|
5485
|
-
r[e] = t;
|
|
5414
|
+
} else r[e] = t;
|
|
5486
5415
|
return o.join(".");
|
|
5487
5416
|
}
|
|
5488
5417
|
/**
|
|
@@ -5517,14 +5446,13 @@ function nh() {
|
|
|
5517
5446
|
const i = He.length;
|
|
5518
5447
|
for (let e = 0; e < i; e++) {
|
|
5519
5448
|
let t = He[e];
|
|
5520
|
-
if (t)
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
}
|
|
5449
|
+
if (t) try {
|
|
5450
|
+
t();
|
|
5451
|
+
} catch (r) {
|
|
5452
|
+
setTimeout(() => {
|
|
5453
|
+
throw r;
|
|
5454
|
+
});
|
|
5455
|
+
}
|
|
5528
5456
|
}
|
|
5529
5457
|
He.splice(0, i), hn += i;
|
|
5530
5458
|
}
|
|
@@ -5543,8 +5471,7 @@ const sh = { after(i) {
|
|
|
5543
5471
|
}, cancel(i) {
|
|
5544
5472
|
const e = i - hn;
|
|
5545
5473
|
if (e >= 0) {
|
|
5546
|
-
if (!He[e])
|
|
5547
|
-
throw new Error("invalid async handle: " + i);
|
|
5474
|
+
if (!He[e]) throw new Error("invalid async handle: " + i);
|
|
5548
5475
|
He[e] = null;
|
|
5549
5476
|
}
|
|
5550
5477
|
} };
|
|
@@ -5561,8 +5488,7 @@ const lh = pn, mn = H((i) => {
|
|
|
5561
5488
|
class e extends i {
|
|
5562
5489
|
static createProperties(r) {
|
|
5563
5490
|
const o = this.prototype;
|
|
5564
|
-
for (let a in r)
|
|
5565
|
-
a in o || o._createPropertyAccessor(a);
|
|
5491
|
+
for (let a in r) a in o || o._createPropertyAccessor(a);
|
|
5566
5492
|
}
|
|
5567
5493
|
static attributeNameForProperty(r) {
|
|
5568
5494
|
return r.toLowerCase();
|
|
@@ -5592,8 +5518,7 @@ const lh = pn, mn = H((i) => {
|
|
|
5592
5518
|
this.__dataReady = !0, this._flushProperties();
|
|
5593
5519
|
}
|
|
5594
5520
|
_initializeProperties() {
|
|
5595
|
-
for (let r in this.__dataHasAccessor)
|
|
5596
|
-
this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
|
|
5521
|
+
for (let r in this.__dataHasAccessor) this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
|
|
5597
5522
|
}
|
|
5598
5523
|
_initializeInstanceProperties(r) {
|
|
5599
5524
|
Object.assign(this, r);
|
|
@@ -5682,8 +5607,7 @@ const fn = {};
|
|
|
5682
5607
|
let Ht = HTMLElement.prototype;
|
|
5683
5608
|
for (; Ht; ) {
|
|
5684
5609
|
let i = Object.getOwnPropertyNames(Ht);
|
|
5685
|
-
for (let e = 0; e < i.length; e++)
|
|
5686
|
-
fn[i[e]] = !0;
|
|
5610
|
+
for (let e = 0; e < i.length; e++) fn[i[e]] = !0;
|
|
5687
5611
|
Ht = Object.getPrototypeOf(Ht);
|
|
5688
5612
|
}
|
|
5689
5613
|
const dh = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
|
|
@@ -5698,8 +5622,7 @@ const hh = H((i) => {
|
|
|
5698
5622
|
class t extends e {
|
|
5699
5623
|
static createPropertiesForAttributes() {
|
|
5700
5624
|
let o = this.observedAttributes;
|
|
5701
|
-
for (let a = 0; a < o.length; a++)
|
|
5702
|
-
this.prototype._createPropertyAccessor(cn(o[a]));
|
|
5625
|
+
for (let a = 0; a < o.length; a++) this.prototype._createPropertyAccessor(cn(o[a]));
|
|
5703
5626
|
}
|
|
5704
5627
|
static attributeNameForProperty(o) {
|
|
5705
5628
|
return _r(o);
|
|
@@ -5708,8 +5631,7 @@ const hh = H((i) => {
|
|
|
5708
5631
|
this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
|
|
5709
5632
|
}
|
|
5710
5633
|
_initializeProtoProperties(o) {
|
|
5711
|
-
for (let a in o)
|
|
5712
|
-
this._setProperty(a, o[a]);
|
|
5634
|
+
for (let a in o) this._setProperty(a, o[a]);
|
|
5713
5635
|
}
|
|
5714
5636
|
_ensureAttribute(o, a) {
|
|
5715
5637
|
const n = this;
|
|
@@ -5718,11 +5640,9 @@ const hh = H((i) => {
|
|
|
5718
5640
|
_serializeValue(o) {
|
|
5719
5641
|
switch (typeof o) {
|
|
5720
5642
|
case "object":
|
|
5721
|
-
if (o instanceof Date)
|
|
5722
|
-
return o.toString();
|
|
5643
|
+
if (o instanceof Date) return o.toString();
|
|
5723
5644
|
if (o) {
|
|
5724
|
-
if (dh(o))
|
|
5725
|
-
return o;
|
|
5645
|
+
if (dh(o)) return o;
|
|
5726
5646
|
try {
|
|
5727
5647
|
return JSON.stringify(o);
|
|
5728
5648
|
} catch (a) {
|
|
@@ -5818,19 +5738,14 @@ function _h(i) {
|
|
|
5818
5738
|
function _n(i, e) {
|
|
5819
5739
|
let t = e.parentInfo && _n(i, e.parentInfo);
|
|
5820
5740
|
if (t) {
|
|
5821
|
-
for (let r = t.firstChild, o = 0; r; r = r.nextSibling)
|
|
5822
|
-
|
|
5823
|
-
return r;
|
|
5824
|
-
} else
|
|
5825
|
-
return i;
|
|
5741
|
+
for (let r = t.firstChild, o = 0; r; r = r.nextSibling) if (e.parentIndex === o++) return r;
|
|
5742
|
+
} else return i;
|
|
5826
5743
|
}
|
|
5827
5744
|
function vh(i, e, t, r) {
|
|
5828
5745
|
r.id && (e[r.id] = t);
|
|
5829
5746
|
}
|
|
5830
5747
|
function gh(i, e, t) {
|
|
5831
|
-
if (t.events && t.events.length)
|
|
5832
|
-
for (let r = 0, o = t.events, a; r < o.length && (a = o[r]); r++)
|
|
5833
|
-
i._addMethodEventListenerToNode(e, a.name, a.value, i);
|
|
5748
|
+
if (t.events && t.events.length) for (let r = 0, o = t.events, a; r < o.length && (a = o[r]); r++) i._addMethodEventListenerToNode(e, a.name, a.value, i);
|
|
5834
5749
|
}
|
|
5835
5750
|
function bh(i, e, t, r) {
|
|
5836
5751
|
t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = r);
|
|
@@ -5857,20 +5772,18 @@ const wh = H((i) => {
|
|
|
5857
5772
|
return s.localName == "template" && !s.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(s, o, a) || n : s.localName === "slot" && (o.hasInsertionPoint = !0), mh(s), s.firstChild && this._parseTemplateChildNodes(s, o, a), s.hasAttributes && s.hasAttributes() && (n = this._parseTemplateNodeAttributes(s, o, a) || n), n || a.noted;
|
|
5858
5773
|
}
|
|
5859
5774
|
static _parseTemplateChildNodes(r, o, a) {
|
|
5860
|
-
if (!(r.localName === "script" || r.localName === "style"))
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
|
|
5866
|
-
|
|
5867
|
-
r.removeChild(n);
|
|
5868
|
-
continue;
|
|
5869
|
-
}
|
|
5775
|
+
if (!(r.localName === "script" || r.localName === "style")) for (let n = r.firstChild, s = 0, l; n; n = l) {
|
|
5776
|
+
if (n.localName == "template" && (n = _h(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
5777
|
+
let c = l;
|
|
5778
|
+
for (; c && c.nodeType === Node.TEXT_NODE; ) n.textContent += c.textContent, l = c.nextSibling, r.removeChild(c), c = l;
|
|
5779
|
+
if (o.stripWhiteSpace && !n.textContent.trim()) {
|
|
5780
|
+
r.removeChild(n);
|
|
5781
|
+
continue;
|
|
5870
5782
|
}
|
|
5871
|
-
let d = { parentIndex: s, parentInfo: a };
|
|
5872
|
-
this._parseTemplateNode(n, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), n.parentNode && s++;
|
|
5873
5783
|
}
|
|
5784
|
+
let d = { parentIndex: s, parentInfo: a };
|
|
5785
|
+
this._parseTemplateNode(n, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), n.parentNode && s++;
|
|
5786
|
+
}
|
|
5874
5787
|
}
|
|
5875
5788
|
static _parseTemplateNestedTemplate(r, o, a) {
|
|
5876
5789
|
let n = r, s = this._parseTemplate(n, o);
|
|
@@ -5878,8 +5791,7 @@ const wh = H((i) => {
|
|
|
5878
5791
|
}
|
|
5879
5792
|
static _parseTemplateNodeAttributes(r, o, a) {
|
|
5880
5793
|
let n = !1, s = Array.from(r.attributes);
|
|
5881
|
-
for (let l = s.length - 1, d; d = s[l]; l--)
|
|
5882
|
-
n = this._parseTemplateNodeAttribute(r, o, a, d.name, d.value) || n;
|
|
5794
|
+
for (let l = s.length - 1, d; d = s[l]; l--) n = this._parseTemplateNodeAttribute(r, o, a, d.name, d.value) || n;
|
|
5883
5795
|
return n;
|
|
5884
5796
|
}
|
|
5885
5797
|
static _parseTemplateNodeAttribute(r, o, a, n, s) {
|
|
@@ -5930,14 +5842,11 @@ let kt = 0;
|
|
|
5930
5842
|
const Et = [], P = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, vn = "__computeInfo", xh = /[A-Z]/;
|
|
5931
5843
|
function Or(i, e, t) {
|
|
5932
5844
|
let r = i[e];
|
|
5933
|
-
if (!r)
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
for (let
|
|
5937
|
-
|
|
5938
|
-
for (let s = 0; s < a.length; s++)
|
|
5939
|
-
n[s] = a[s];
|
|
5940
|
-
}
|
|
5845
|
+
if (!r) r = i[e] = {};
|
|
5846
|
+
else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t)) for (let o in r) {
|
|
5847
|
+
let a = r[o], n = r[o] = Array(a.length);
|
|
5848
|
+
for (let s = 0; s < a.length; s++) n[s] = a[s];
|
|
5849
|
+
}
|
|
5941
5850
|
return r;
|
|
5942
5851
|
}
|
|
5943
5852
|
function pt(i, e, t, r, o, a) {
|
|
@@ -5946,9 +5855,7 @@ function pt(i, e, t, r, o, a) {
|
|
|
5946
5855
|
const s = kt++;
|
|
5947
5856
|
for (let l in t) {
|
|
5948
5857
|
let d = o ? Me(l) : l, c = e[d];
|
|
5949
|
-
if (c)
|
|
5950
|
-
for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++)
|
|
5951
|
-
(!p.info || p.info.lastRun !== s) && (!o || Si(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, o, a), n = !0);
|
|
5858
|
+
if (c) for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++) (!p.info || p.info.lastRun !== s) && (!o || Si(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, o, a), n = !0);
|
|
5952
5859
|
}
|
|
5953
5860
|
return n;
|
|
5954
5861
|
}
|
|
@@ -5956,17 +5863,14 @@ function pt(i, e, t, r, o, a) {
|
|
|
5956
5863
|
}
|
|
5957
5864
|
function Ch(i, e, t, r, o, a, n, s) {
|
|
5958
5865
|
let l = !1, d = n ? Me(r) : r, c = e[d];
|
|
5959
|
-
if (c)
|
|
5960
|
-
for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++)
|
|
5961
|
-
(!p.info || p.info.lastRun !== t) && (!n || Si(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, o, a, p.info, n, s), l = !0);
|
|
5866
|
+
if (c) for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++) (!p.info || p.info.lastRun !== t) && (!n || Si(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, o, a, p.info, n, s), l = !0);
|
|
5962
5867
|
return l;
|
|
5963
5868
|
}
|
|
5964
5869
|
function Si(i, e) {
|
|
5965
5870
|
if (e) {
|
|
5966
5871
|
let t = e.name;
|
|
5967
5872
|
return t == i || !!(e.structured && ln(t, i)) || !!(e.wildcard && xt(t, i));
|
|
5968
|
-
} else
|
|
5969
|
-
return !0;
|
|
5873
|
+
} else return !0;
|
|
5970
5874
|
}
|
|
5971
5875
|
function Xo(i, e, t, r, o) {
|
|
5972
5876
|
let a = typeof o.method == "string" ? i[o.method] : o.method, n = o.property;
|
|
@@ -5974,8 +5878,7 @@ function Xo(i, e, t, r, o) {
|
|
|
5974
5878
|
}
|
|
5975
5879
|
function kh(i, e, t, r, o) {
|
|
5976
5880
|
let a = i[P.NOTIFY], n, s = kt++;
|
|
5977
|
-
for (let d in e)
|
|
5978
|
-
e[d] && (a && Ch(i, a, s, d, t, r, o) || o && Eh(i, d, t)) && (n = !0);
|
|
5881
|
+
for (let d in e) e[d] && (a && Ch(i, a, s, d, t, r, o) || o && Eh(i, d, t)) && (n = !0);
|
|
5979
5882
|
let l;
|
|
5980
5883
|
n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
5981
5884
|
}
|
|
@@ -6005,30 +5908,24 @@ function Ph(i, e, t, r, o) {
|
|
|
6005
5908
|
}
|
|
6006
5909
|
function Ih(i, e, t, r) {
|
|
6007
5910
|
let o = i[P.COMPUTE];
|
|
6008
|
-
if (o)
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
let a = e;
|
|
6020
|
-
for (; pt(i, o, a, t, r); )
|
|
6021
|
-
Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), a = i.__dataPending, i.__dataPending = null;
|
|
6022
|
-
}
|
|
5911
|
+
if (o) if (qc) {
|
|
5912
|
+
kt++;
|
|
5913
|
+
const a = Dh(i), n = [];
|
|
5914
|
+
for (let l in e) Qo(l, o, n, a, r);
|
|
5915
|
+
let s;
|
|
5916
|
+
for (; s = n.shift(); ) bn(i, "", e, t, s) && Qo(s.methodInfo, o, n, a, r);
|
|
5917
|
+
Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
|
|
5918
|
+
} else {
|
|
5919
|
+
let a = e;
|
|
5920
|
+
for (; pt(i, o, a, t, r); ) Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), a = i.__dataPending, i.__dataPending = null;
|
|
5921
|
+
}
|
|
6023
5922
|
}
|
|
6024
5923
|
const Sh = (i, e, t) => {
|
|
6025
5924
|
let r = 0, o = e.length - 1, a = -1;
|
|
6026
5925
|
for (; r <= o; ) {
|
|
6027
5926
|
const n = r + o >> 1, s = t.get(e[n].methodInfo) - t.get(i.methodInfo);
|
|
6028
|
-
if (s < 0)
|
|
6029
|
-
|
|
6030
|
-
else if (s > 0)
|
|
6031
|
-
o = n - 1;
|
|
5927
|
+
if (s < 0) r = n + 1;
|
|
5928
|
+
else if (s > 0) o = n - 1;
|
|
6032
5929
|
else {
|
|
6033
5930
|
a = n;
|
|
6034
5931
|
break;
|
|
@@ -6037,11 +5934,10 @@ const Sh = (i, e, t) => {
|
|
|
6037
5934
|
a < 0 && (a = o + 1), e.splice(a, 0, i);
|
|
6038
5935
|
}, Qo = (i, e, t, r, o) => {
|
|
6039
5936
|
const a = o ? Me(i) : i, n = e[a];
|
|
6040
|
-
if (n)
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
}
|
|
5937
|
+
if (n) for (let s = 0; s < n.length; s++) {
|
|
5938
|
+
const l = n[s];
|
|
5939
|
+
l.info.lastRun !== kt && (!o || Si(i, l.trigger)) && (l.info.lastRun = kt, Sh(l.info, t, r));
|
|
5940
|
+
}
|
|
6045
5941
|
};
|
|
6046
5942
|
function Dh(i) {
|
|
6047
5943
|
let e = i.constructor.__orderedComputedDeps;
|
|
@@ -6068,14 +5964,12 @@ function Oh(i) {
|
|
|
6068
5964
|
const s = e[n];
|
|
6069
5965
|
a += t[n] = s.args.filter((l) => !l.literal).length + (s.dynamicFn ? 1 : 0);
|
|
6070
5966
|
}
|
|
6071
|
-
for (let n in r)
|
|
6072
|
-
e[n] || o.push(n);
|
|
5967
|
+
for (let n in r) e[n] || o.push(n);
|
|
6073
5968
|
return { counts: t, ready: o, total: a };
|
|
6074
5969
|
}
|
|
6075
5970
|
function bn(i, e, t, r, o) {
|
|
6076
5971
|
let a = ti(i, e, t, r, o);
|
|
6077
|
-
if (a === Et)
|
|
6078
|
-
return !1;
|
|
5972
|
+
if (a === Et) return !1;
|
|
6079
5973
|
let n = o.methodInfo;
|
|
6080
5974
|
return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, a, !0) : (i[n] = a, !1);
|
|
6081
5975
|
}
|
|
@@ -6103,16 +5997,14 @@ function Mr(i, e, t, r, o, a, n) {
|
|
|
6103
5997
|
}
|
|
6104
5998
|
}
|
|
6105
5999
|
function zh(i, e, t, r, o) {
|
|
6106
|
-
if (!r.literal)
|
|
6107
|
-
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
let
|
|
6111
|
-
|
|
6112
|
-
let l = a[s];
|
|
6113
|
-
typeof l == "string" && (l = wn(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: Nh, info: n, trigger: l });
|
|
6114
|
-
}
|
|
6000
|
+
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');
|
|
6001
|
+
else {
|
|
6002
|
+
let a = r.dependencies, n = { index: o, binding: t, part: r, evaluator: i };
|
|
6003
|
+
for (let s = 0; s < a.length; s++) {
|
|
6004
|
+
let l = a[s];
|
|
6005
|
+
typeof l == "string" && (l = wn(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: Nh, info: n, trigger: l });
|
|
6115
6006
|
}
|
|
6007
|
+
}
|
|
6116
6008
|
}
|
|
6117
6009
|
function Nh(i, e, t, r, o, a, n) {
|
|
6118
6010
|
let s = n[o.index], l = o.binding, d = o.part;
|
|
@@ -6125,8 +6017,7 @@ function Nh(i, e, t, r, o, a, n) {
|
|
|
6125
6017
|
}
|
|
6126
6018
|
}
|
|
6127
6019
|
function Lh(i, e, t, r, o) {
|
|
6128
|
-
if (o = Fh(e, o, t, r), nr && (o = nr(o, t.target, t.kind, e)), t.kind == "attribute")
|
|
6129
|
-
i._valueToNodeAttribute(e, o, t.target);
|
|
6020
|
+
if (o = Fh(e, o, t, r), nr && (o = nr(o, t.target, t.kind, e)), t.kind == "attribute") i._valueToNodeAttribute(e, o, t.target);
|
|
6130
6021
|
else {
|
|
6131
6022
|
let a = t.target;
|
|
6132
6023
|
e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[a] ? (!e[P.READ_ONLY] || !e[P.READ_ONLY][a]) && e._setPendingProperty(a, o) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, a, o);
|
|
@@ -6144,22 +6035,19 @@ function Bh(i) {
|
|
|
6144
6035
|
}
|
|
6145
6036
|
function Vh(i, e) {
|
|
6146
6037
|
let { nodeList: t, nodeInfoList: r } = e;
|
|
6147
|
-
if (r.length)
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
let d = s[l];
|
|
6153
|
-
Rh(n, d), $h(n, i, d);
|
|
6154
|
-
}
|
|
6155
|
-
n.__dataHost = i;
|
|
6038
|
+
if (r.length) for (let o = 0; o < r.length; o++) {
|
|
6039
|
+
let a = r[o], n = t[o], s = a.bindings;
|
|
6040
|
+
if (s) for (let l = 0; l < s.length; l++) {
|
|
6041
|
+
let d = s[l];
|
|
6042
|
+
Rh(n, d), $h(n, i, d);
|
|
6156
6043
|
}
|
|
6044
|
+
n.__dataHost = i;
|
|
6045
|
+
}
|
|
6157
6046
|
}
|
|
6158
6047
|
function Rh(i, e) {
|
|
6159
6048
|
if (e.isCompound) {
|
|
6160
6049
|
let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), r = e.parts, o = new Array(r.length);
|
|
6161
|
-
for (let n = 0; n < r.length; n++)
|
|
6162
|
-
o[n] = r[n].literal;
|
|
6050
|
+
for (let n = 0; n < r.length; n++) o[n] = r[n].literal;
|
|
6163
6051
|
let a = e.target;
|
|
6164
6052
|
t[a] = o, e.literal && e.kind == "property" && (a === "className" && (i = G(i)), i[a] = e.literal);
|
|
6165
6053
|
}
|
|
@@ -6175,8 +6063,7 @@ function $h(i, e, t) {
|
|
|
6175
6063
|
function Jo(i, e, t, r, o, a) {
|
|
6176
6064
|
a = e.static || a && (typeof a != "object" || a[e.methodName]);
|
|
6177
6065
|
let n = { methodName: e.methodName, args: e.args, methodInfo: o, dynamicFn: a };
|
|
6178
|
-
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++)
|
|
6179
|
-
l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
|
|
6066
|
+
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 });
|
|
6180
6067
|
return a && i._addPropertyEffect(e.methodName, t, { fn: r, info: n }), n;
|
|
6181
6068
|
}
|
|
6182
6069
|
function ti(i, e, t, r, o) {
|
|
@@ -6184,8 +6071,7 @@ function ti(i, e, t, r, o) {
|
|
|
6184
6071
|
if (n) {
|
|
6185
6072
|
let s = i._marshalArgs(o.args, e, t);
|
|
6186
6073
|
return s === Et ? Et : n.apply(a, s);
|
|
6187
|
-
} else
|
|
6188
|
-
o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
|
|
6074
|
+
} else o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
|
|
6189
6075
|
}
|
|
6190
6076
|
const Hh = [], yn = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Uh = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Wh = "(?:'(?:[^'\\\\]|\\\\.)*')", qh = '(?:"(?:[^"\\\\]|\\\\.)*")', Yh = "(?:" + Wh + "|" + qh + ")", Zo = "(?:(" + yn + "|" + Uh + "|" + Yh + ")\\s*)", jh = "(?:" + Zo + "(?:,\\s*" + Zo + ")*)", Gh = "(?:\\(\\s*(?:" + jh + "?)\\)\\s*)", Kh = "(" + yn + "\\s*" + Gh + "?)", Xh = "(\\[\\[|{{)\\s*", Qh = "(?:]]|}})", Jh = "(?:(!)\\s*)?", Zh = Xh + Jh + Kh + Qh, ea = new RegExp(Zh, "g");
|
|
6191
6077
|
function ta(i) {
|
|
@@ -6203,8 +6089,7 @@ function zr(i) {
|
|
|
6203
6089
|
if (e[2].trim()) {
|
|
6204
6090
|
let r = e[2].replace(/\\,/g, ",").split(",");
|
|
6205
6091
|
return eu(r, t);
|
|
6206
|
-
} else
|
|
6207
|
-
return t;
|
|
6092
|
+
} else return t;
|
|
6208
6093
|
}
|
|
6209
6094
|
return null;
|
|
6210
6095
|
}
|
|
@@ -6264,8 +6149,7 @@ const Di = H((i) => {
|
|
|
6264
6149
|
}
|
|
6265
6150
|
_initializeInstanceProperties(o) {
|
|
6266
6151
|
let a = this[P.READ_ONLY];
|
|
6267
|
-
for (let n in o)
|
|
6268
|
-
(!a || !a[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = o[n]);
|
|
6152
|
+
for (let n in o) (!a || !a[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = o[n]);
|
|
6269
6153
|
}
|
|
6270
6154
|
_addPropertyEffect(o, a, n) {
|
|
6271
6155
|
this._createPropertyAccessor(o, a == P.READ_ONLY);
|
|
@@ -6296,14 +6180,11 @@ const Di = H((i) => {
|
|
|
6296
6180
|
if (s || Me(Array.isArray(o) ? o[0] : o) !== o) {
|
|
6297
6181
|
if (!s) {
|
|
6298
6182
|
let l = Z(this, o);
|
|
6299
|
-
if (o = jo(this, o, a), !o || !super._shouldPropertyChange(o, a, l))
|
|
6300
|
-
return !1;
|
|
6183
|
+
if (o = jo(this, o, a), !o || !super._shouldPropertyChange(o, a, l)) return !1;
|
|
6301
6184
|
}
|
|
6302
|
-
if (this.__dataHasPaths = !0, this._setPendingProperty(o, a, n))
|
|
6303
|
-
return Mh(this, o, a), !0;
|
|
6185
|
+
if (this.__dataHasPaths = !0, this._setPendingProperty(o, a, n)) return Mh(this, o, a), !0;
|
|
6304
6186
|
} else {
|
|
6305
|
-
if (this.__dataHasAccessor && this.__dataHasAccessor[o])
|
|
6306
|
-
return this._setPendingProperty(o, a, n);
|
|
6187
|
+
if (this.__dataHasAccessor && this.__dataHasAccessor[o]) return this._setPendingProperty(o, a, n);
|
|
6307
6188
|
this[o] = a;
|
|
6308
6189
|
}
|
|
6309
6190
|
return !1;
|
|
@@ -6341,8 +6222,7 @@ const Di = H((i) => {
|
|
|
6341
6222
|
this.__enableOrFlushClients();
|
|
6342
6223
|
}
|
|
6343
6224
|
setProperties(o, a) {
|
|
6344
|
-
for (let n in o)
|
|
6345
|
-
(a || !this[P.READ_ONLY] || !this[P.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, o[n], !0);
|
|
6225
|
+
for (let n in o) (a || !this[P.READ_ONLY] || !this[P.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, o[n], !0);
|
|
6346
6226
|
this._invalidateProperties();
|
|
6347
6227
|
}
|
|
6348
6228
|
ready() {
|
|
@@ -6360,8 +6240,7 @@ const Di = H((i) => {
|
|
|
6360
6240
|
_runEffectsForTemplate(o, a, n, s) {
|
|
6361
6241
|
const l = (d, c) => {
|
|
6362
6242
|
pt(this, o.propertyEffects, d, n, c, o.nodeList);
|
|
6363
|
-
for (let h = o.firstChild; h; h = h.nextSibling)
|
|
6364
|
-
this._runEffectsForTemplate(h, d, n, c);
|
|
6243
|
+
for (let h = o.firstChild; h; h = h.nextSibling) this._runEffectsForTemplate(h, d, n, c);
|
|
6365
6244
|
};
|
|
6366
6245
|
o.runEffects ? o.runEffects(l, a, s) : l(a, s);
|
|
6367
6246
|
}
|
|
@@ -6408,8 +6287,7 @@ const Di = H((i) => {
|
|
|
6408
6287
|
if (arguments.length == 1) {
|
|
6409
6288
|
let s = { path: "" };
|
|
6410
6289
|
a = Z(this, o, s), n = s.path;
|
|
6411
|
-
} else
|
|
6412
|
-
Array.isArray(o) ? n = ut(o) : n = o;
|
|
6290
|
+
} else Array.isArray(o) ? n = ut(o) : n = o;
|
|
6413
6291
|
this._setPendingPropertyOrPath(n, a, !0, !0) && this._invalidateProperties();
|
|
6414
6292
|
}
|
|
6415
6293
|
_createReadOnlyProperty(o, a) {
|
|
@@ -6423,8 +6301,7 @@ const Di = H((i) => {
|
|
|
6423
6301
|
}
|
|
6424
6302
|
_createMethodObserver(o, a) {
|
|
6425
6303
|
let n = zr(o);
|
|
6426
|
-
if (!n)
|
|
6427
|
-
throw new Error("Malformed observer expression '" + o + "'");
|
|
6304
|
+
if (!n) throw new Error("Malformed observer expression '" + o + "'");
|
|
6428
6305
|
Jo(this, n, P.OBSERVE, ti, null, a);
|
|
6429
6306
|
}
|
|
6430
6307
|
_createNotifyingProperty(o) {
|
|
@@ -6436,8 +6313,7 @@ const Di = H((i) => {
|
|
|
6436
6313
|
}
|
|
6437
6314
|
_createComputedProperty(o, a, n) {
|
|
6438
6315
|
let s = zr(a);
|
|
6439
|
-
if (!s)
|
|
6440
|
-
throw new Error("Malformed computed expression '" + a + "'");
|
|
6316
|
+
if (!s) throw new Error("Malformed computed expression '" + a + "'");
|
|
6441
6317
|
const l = Jo(this, s, P.COMPUTE, bn, o, n);
|
|
6442
6318
|
Or(this, vn)[o] = l;
|
|
6443
6319
|
}
|
|
@@ -6445,14 +6321,11 @@ const Di = H((i) => {
|
|
|
6445
6321
|
const s = this.__data, l = [];
|
|
6446
6322
|
for (let d = 0, c = o.length; d < c; d++) {
|
|
6447
6323
|
let { name: h, structured: u, wildcard: p, value: b, literal: N } = o[d];
|
|
6448
|
-
if (!N)
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
b = u ? ra(s, n, h) : s[h];
|
|
6454
|
-
if (Jr && !this._overrideLegacyUndefined && b === void 0 && o.length > 1)
|
|
6455
|
-
return Et;
|
|
6324
|
+
if (!N) if (p) {
|
|
6325
|
+
const D = xt(h, a), O = ra(s, n, D ? a : h);
|
|
6326
|
+
b = { path: D ? a : h, value: O, base: D ? Z(s, h) : O };
|
|
6327
|
+
} else b = u ? ra(s, n, h) : s[h];
|
|
6328
|
+
if (Jr && !this._overrideLegacyUndefined && b === void 0 && o.length > 1) return Et;
|
|
6456
6329
|
l[d] = b;
|
|
6457
6330
|
}
|
|
6458
6331
|
return l;
|
|
@@ -6483,18 +6356,13 @@ const Di = H((i) => {
|
|
|
6483
6356
|
}
|
|
6484
6357
|
_bindTemplate(o, a) {
|
|
6485
6358
|
let n = this.constructor._parseTemplate(o), s = this.__preBoundTemplateInfo == n;
|
|
6486
|
-
if (!s)
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6494
|
-
n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
|
|
6495
|
-
}
|
|
6496
|
-
else
|
|
6497
|
-
this.__preBoundTemplateInfo = n;
|
|
6359
|
+
if (!s) for (let l in n.propertyEffects) this._createPropertyAccessor(l);
|
|
6360
|
+
if (a) if (n = Object.create(n), n.wasPreBound = s, !this.__templateInfo) this.__templateInfo = n;
|
|
6361
|
+
else {
|
|
6362
|
+
const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6363
|
+
n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
|
|
6364
|
+
}
|
|
6365
|
+
else this.__preBoundTemplateInfo = n;
|
|
6498
6366
|
return n;
|
|
6499
6367
|
}
|
|
6500
6368
|
static _addTemplatePropertyEffect(o, a, n) {
|
|
@@ -6508,8 +6376,7 @@ const Di = H((i) => {
|
|
|
6508
6376
|
let n = super._stampTemplate(o, a);
|
|
6509
6377
|
if (dt.pop(), a.nodeList = n.nodeList, !a.wasPreBound) {
|
|
6510
6378
|
let s = a.childNodes = [];
|
|
6511
|
-
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6512
|
-
s.push(l);
|
|
6379
|
+
for (let l = n.firstChild; l; l = l.nextSibling) s.push(l);
|
|
6513
6380
|
}
|
|
6514
6381
|
return n.templateInfo = a, Vh(this, a), this.__dataClientsReady && (this._runEffectsForTemplate(a, this.__data, null, !1), this._flushClients()), n;
|
|
6515
6382
|
}
|
|
@@ -6537,16 +6404,14 @@ const Di = H((i) => {
|
|
|
6537
6404
|
xh.test(s) ? h = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), h = "attribute");
|
|
6538
6405
|
let u = ta(d);
|
|
6539
6406
|
return u && h == "attribute" && (s == "class" && o.hasAttribute("class") && (u += " " + o.getAttribute(s)), o.setAttribute(s, u)), h == "attribute" && c == "disable-upgrade$" && o.setAttribute(s, ""), o.localName === "input" && c === "value" && o.setAttribute(c, ""), o.removeAttribute(c), h === "property" && (s = cn(s)), Mr(this, a, n, h, s, d, u), !0;
|
|
6540
|
-
} else
|
|
6541
|
-
return e._parseTemplateNodeAttribute.call(this, o, a, n, s, l);
|
|
6407
|
+
} else return e._parseTemplateNodeAttribute.call(this, o, a, n, s, l);
|
|
6542
6408
|
}
|
|
6543
6409
|
static _parseTemplateNestedTemplate(o, a, n) {
|
|
6544
6410
|
let s = e._parseTemplateNestedTemplate.call(this, o, a, n);
|
|
6545
6411
|
const l = o.parentNode, d = n.templateInfo, c = l.localName === "dom-if", h = l.localName === "dom-repeat";
|
|
6546
6412
|
$o && (c || h) && (l.removeChild(o), n = n.parentInfo, n.templateInfo = d, n.noted = !0, s = !1);
|
|
6547
6413
|
let u = d.hostProps;
|
|
6548
|
-
if (Yc && c)
|
|
6549
|
-
u && (a.hostProps = Object.assign(a.hostProps || {}, u), $o || (n.parentInfo.noted = !0));
|
|
6414
|
+
if (Yc && c) u && (a.hostProps = Object.assign(a.hostProps || {}, u), $o || (n.parentInfo.noted = !0));
|
|
6550
6415
|
else {
|
|
6551
6416
|
let p = "{";
|
|
6552
6417
|
for (let b in u) {
|
|
@@ -6571,8 +6436,7 @@ const Di = H((i) => {
|
|
|
6571
6436
|
}
|
|
6572
6437
|
let U = a.dynamicFns;
|
|
6573
6438
|
(U && U[A] || N.static) && (D.push(A), N.dynamicFn = !0);
|
|
6574
|
-
} else
|
|
6575
|
-
D.push(h);
|
|
6439
|
+
} else D.push(h);
|
|
6576
6440
|
n.push({ source: h, mode: d, negate: c, customEvent: u, signature: N, dependencies: D, event: p }), s = ea.lastIndex;
|
|
6577
6441
|
}
|
|
6578
6442
|
if (s && s < o.length) {
|
|
@@ -6727,8 +6591,7 @@ const ou = "3.5.2", ia = window.ShadyCSS && window.ShadyCSS.cssBuild, au = H((i)
|
|
|
6727
6591
|
}
|
|
6728
6592
|
function n(l) {
|
|
6729
6593
|
let d = null;
|
|
6730
|
-
if (l && (!sr || Uc) && (d = wt.import(l, "template"), sr && !d))
|
|
6731
|
-
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6594
|
+
if (l && (!sr || Uc) && (d = wt.import(l, "template"), sr && !d)) throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6732
6595
|
return d;
|
|
6733
6596
|
}
|
|
6734
6597
|
class s extends e {
|
|
@@ -6745,13 +6608,11 @@ const ou = "3.5.2", ia = window.ShadyCSS && window.ShadyCSS.cssBuild, au = H((i)
|
|
|
6745
6608
|
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : tn || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6746
6609
|
}
|
|
6747
6610
|
static createProperties(d) {
|
|
6748
|
-
for (let c in d)
|
|
6749
|
-
o(this.prototype, c, d[c], d);
|
|
6611
|
+
for (let c in d) o(this.prototype, c, d[c], d);
|
|
6750
6612
|
}
|
|
6751
6613
|
static createObservers(d, c) {
|
|
6752
6614
|
const h = this.prototype;
|
|
6753
|
-
for (let u = 0; u < d.length; u++)
|
|
6754
|
-
h._createMethodObserver(d[u], c);
|
|
6615
|
+
for (let u = 0; u < d.length; u++) h._createMethodObserver(d[u], c);
|
|
6755
6616
|
}
|
|
6756
6617
|
static get template() {
|
|
6757
6618
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
|
|
@@ -6766,8 +6627,7 @@ const ou = "3.5.2", ia = window.ShadyCSS && window.ShadyCSS.cssBuild, au = H((i)
|
|
|
6766
6627
|
static get importPath() {
|
|
6767
6628
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6768
6629
|
const d = this.importMeta;
|
|
6769
|
-
if (d)
|
|
6770
|
-
this._importPath = Pi(d.url);
|
|
6630
|
+
if (d) this._importPath = Pi(d.url);
|
|
6771
6631
|
else {
|
|
6772
6632
|
const c = wt.import(this.is);
|
|
6773
6633
|
this._importPath = c && c.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
|
|
@@ -6781,14 +6641,13 @@ const ou = "3.5.2", ia = window.ShadyCSS && window.ShadyCSS.cssBuild, au = H((i)
|
|
|
6781
6641
|
_initializeProperties() {
|
|
6782
6642
|
this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = Hc, this.importPath = this.constructor.importPath;
|
|
6783
6643
|
let d = t(this.constructor);
|
|
6784
|
-
if (d)
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6789
|
-
this._hasAccessor(c) ? this._setPendingProperty(c, u, !0) : this[c] = u;
|
|
6790
|
-
}
|
|
6644
|
+
if (d) for (let c in d) {
|
|
6645
|
+
let h = d[c];
|
|
6646
|
+
if (this._canApplyPropertyDefault(c)) {
|
|
6647
|
+
let u = typeof h.value == "function" ? h.value.call(this) : h.value;
|
|
6648
|
+
this._hasAccessor(c) ? this._setPendingProperty(c, u, !0) : this[c] = u;
|
|
6791
6649
|
}
|
|
6650
|
+
}
|
|
6792
6651
|
}
|
|
6793
6652
|
_canApplyPropertyDefault(d) {
|
|
6794
6653
|
return !this.hasOwnProperty(d);
|
|
@@ -6815,8 +6674,7 @@ const ou = "3.5.2", ia = window.ShadyCSS && window.ShadyCSS.cssBuild, au = H((i)
|
|
|
6815
6674
|
}
|
|
6816
6675
|
_attachDom(d) {
|
|
6817
6676
|
const c = G(this);
|
|
6818
|
-
if (c.attachShadow)
|
|
6819
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Wc && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6677
|
+
if (c.attachShadow) return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Wc && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6820
6678
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6821
6679
|
}
|
|
6822
6680
|
updateStyles(d) {
|
|
@@ -6855,15 +6713,12 @@ class Cn {
|
|
|
6855
6713
|
}
|
|
6856
6714
|
}
|
|
6857
6715
|
function kn(i) {
|
|
6858
|
-
if (i instanceof Cn)
|
|
6859
|
-
return i.value;
|
|
6716
|
+
if (i instanceof Cn) return i.value;
|
|
6860
6717
|
throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`);
|
|
6861
6718
|
}
|
|
6862
6719
|
function nu(i) {
|
|
6863
|
-
if (i instanceof HTMLTemplateElement)
|
|
6864
|
-
|
|
6865
|
-
if (i instanceof Cn)
|
|
6866
|
-
return kn(i);
|
|
6720
|
+
if (i instanceof HTMLTemplateElement) return i.innerHTML;
|
|
6721
|
+
if (i instanceof Cn) return kn(i);
|
|
6867
6722
|
throw new Error(`non-template value passed to Polymer's html function: ${i}`);
|
|
6868
6723
|
}
|
|
6869
6724
|
const C = function(i, ...e) {
|
|
@@ -6872,8 +6727,7 @@ const C = function(i, ...e) {
|
|
|
6872
6727
|
let r = e.reduce((o, a, n) => o + nu(a) + i[n + 1], i[0]);
|
|
6873
6728
|
return oa && (r = oa.createHTML(r)), t.innerHTML = r, t;
|
|
6874
6729
|
}, En = (i, e) => {
|
|
6875
|
-
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
|
|
6876
|
-
throw new TypeError("Invalid call to the html template tag");
|
|
6730
|
+
if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1) throw new TypeError("Invalid call to the html template tag");
|
|
6877
6731
|
};
|
|
6878
6732
|
/**
|
|
6879
6733
|
@license
|
|
@@ -6908,21 +6762,18 @@ function uu() {
|
|
|
6908
6762
|
return !!(Xt && Object.keys(Xt).map((i) => Xt[i]).filter((i) => i.productionMode).length > 0);
|
|
6909
6763
|
}
|
|
6910
6764
|
function Tn(i, e) {
|
|
6911
|
-
if (typeof i != "function")
|
|
6912
|
-
return;
|
|
6765
|
+
if (typeof i != "function") return;
|
|
6913
6766
|
const t = su.exec(i.toString());
|
|
6914
|
-
if (t)
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
}
|
|
6767
|
+
if (t) try {
|
|
6768
|
+
i = new Function(t[1]);
|
|
6769
|
+
} catch (r) {
|
|
6770
|
+
console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
|
|
6771
|
+
}
|
|
6920
6772
|
return i(e);
|
|
6921
6773
|
}
|
|
6922
6774
|
window.Vaadin = window.Vaadin || {};
|
|
6923
6775
|
const aa = function(i, e) {
|
|
6924
|
-
if (window.Vaadin.developmentMode)
|
|
6925
|
-
return Tn(i, e);
|
|
6776
|
+
if (window.Vaadin.developmentMode) return Tn(i, e);
|
|
6926
6777
|
};
|
|
6927
6778
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = du());
|
|
6928
6779
|
function pu() {
|
|
@@ -7407,8 +7258,7 @@ function pu() {
|
|
|
7407
7258
|
vaadin-dev-mode:end **/
|
|
7408
7259
|
}
|
|
7409
7260
|
const mu = function() {
|
|
7410
|
-
if (typeof aa == "function")
|
|
7411
|
-
return aa(pu);
|
|
7261
|
+
if (typeof aa == "function") return aa(pu);
|
|
7412
7262
|
};
|
|
7413
7263
|
/**
|
|
7414
7264
|
* @license
|
|
@@ -7427,14 +7277,13 @@ function fu() {
|
|
|
7427
7277
|
const i = Ue.length;
|
|
7428
7278
|
for (let e = 0; e < i; e++) {
|
|
7429
7279
|
const t = Ue[e];
|
|
7430
|
-
if (t)
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
}
|
|
7280
|
+
if (t) try {
|
|
7281
|
+
t();
|
|
7282
|
+
} catch (r) {
|
|
7283
|
+
setTimeout(() => {
|
|
7284
|
+
throw r;
|
|
7285
|
+
});
|
|
7286
|
+
}
|
|
7438
7287
|
}
|
|
7439
7288
|
Ue.splice(0, i), An += i;
|
|
7440
7289
|
}
|
|
@@ -7463,8 +7312,7 @@ const we = { after(i) {
|
|
|
7463
7312
|
}, cancel(i) {
|
|
7464
7313
|
const e = i - An;
|
|
7465
7314
|
if (e >= 0) {
|
|
7466
|
-
if (!Ue[e])
|
|
7467
|
-
throw new Error(`invalid async handle: ${i}`);
|
|
7315
|
+
if (!Ue[e]) throw new Error(`invalid async handle: ${i}`);
|
|
7468
7316
|
Ue[e] = null;
|
|
7469
7317
|
}
|
|
7470
7318
|
} };
|
|
@@ -7555,8 +7403,7 @@ const ie = (i) => class extends i {
|
|
|
7555
7403
|
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), oi(this, ai(), null));
|
|
7556
7404
|
}
|
|
7557
7405
|
attributeChangedCallback(e, t, r) {
|
|
7558
|
-
if (super.attributeChangedCallback(e, t, r), e !== "dir")
|
|
7559
|
-
return;
|
|
7406
|
+
if (super.attributeChangedCallback(e, t, r), e !== "dir") return;
|
|
7560
7407
|
const o = ai(), a = r === o && ue.indexOf(this) === -1, n = !r && t && ue.indexOf(this) === -1;
|
|
7561
7408
|
a || n ? (this.__subscribe(), oi(this, o, r)) : r !== o && t === o && this.__unsubscribe();
|
|
7562
7409
|
}
|
|
@@ -7720,10 +7567,9 @@ class J extends EventTarget {
|
|
|
7720
7567
|
if (e.length === 0) {
|
|
7721
7568
|
const t = this.attachDefaultNode();
|
|
7722
7569
|
t && (this.nodes = [t], this.initNode(t));
|
|
7723
|
-
} else
|
|
7724
|
-
this.
|
|
7725
|
-
|
|
7726
|
-
});
|
|
7570
|
+
} else this.nodes = e, e.forEach((t) => {
|
|
7571
|
+
this.initAddedNode(t);
|
|
7572
|
+
});
|
|
7727
7573
|
}
|
|
7728
7574
|
attachDefaultNode() {
|
|
7729
7575
|
const { host: e, slotName: t, tagName: r } = this;
|
|
@@ -7844,8 +7690,7 @@ function Mn(i) {
|
|
|
7844
7690
|
const Pu = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Iu = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
|
|
7845
7691
|
function Se(i) {
|
|
7846
7692
|
const e = i.type;
|
|
7847
|
-
if (!Mn(e))
|
|
7848
|
-
return !1;
|
|
7693
|
+
if (!Mn(e)) return !1;
|
|
7849
7694
|
if (e === "mousemove") {
|
|
7850
7695
|
let t = i.buttons === void 0 ? 1 : i.buttons;
|
|
7851
7696
|
return i instanceof window.MouseEvent && !Au && (t = Tu[i.which] || 0), !!(t & 1);
|
|
@@ -7854,11 +7699,9 @@ function Se(i) {
|
|
|
7854
7699
|
}
|
|
7855
7700
|
function Su(i) {
|
|
7856
7701
|
if (i.type === "click") {
|
|
7857
|
-
if (i.detail === 0)
|
|
7858
|
-
return !0;
|
|
7702
|
+
if (i.detail === 0) return !0;
|
|
7859
7703
|
const e = xe(i);
|
|
7860
|
-
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
|
|
7861
|
-
return !0;
|
|
7704
|
+
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE) return !0;
|
|
7862
7705
|
const t = e.getBoundingClientRect(), r = i.pageX, o = i.pageY;
|
|
7863
7706
|
return !(r >= t.left && r <= t.right && o >= t.top && o <= t.bottom);
|
|
7864
7707
|
}
|
|
@@ -7868,11 +7711,10 @@ const pe = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
|
|
|
7868
7711
|
function Du(i) {
|
|
7869
7712
|
let e = "auto";
|
|
7870
7713
|
const t = Nn(i);
|
|
7871
|
-
for (let r = 0, o; r < t.length; r++)
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
}
|
|
7714
|
+
for (let r = 0, o; r < t.length; r++) if (o = t[r], o[si]) {
|
|
7715
|
+
e = o[si];
|
|
7716
|
+
break;
|
|
7717
|
+
}
|
|
7876
7718
|
return e;
|
|
7877
7719
|
}
|
|
7878
7720
|
function zn(i, e, t) {
|
|
@@ -7886,8 +7728,7 @@ function Ou(i, e) {
|
|
|
7886
7728
|
let t = document.elementFromPoint(i, e), r = t;
|
|
7887
7729
|
for (; r && r.shadowRoot && !window.ShadyDOM; ) {
|
|
7888
7730
|
const o = r;
|
|
7889
|
-
if (r = r.shadowRoot.elementFromPoint(i, e), o === r)
|
|
7890
|
-
break;
|
|
7731
|
+
if (r = r.shadowRoot.elementFromPoint(i, e), o === r) break;
|
|
7891
7732
|
r && (t = r);
|
|
7892
7733
|
}
|
|
7893
7734
|
return t;
|
|
@@ -7898,32 +7739,25 @@ function xe(i) {
|
|
|
7898
7739
|
}
|
|
7899
7740
|
function Mu(i) {
|
|
7900
7741
|
const e = i.type, t = i.currentTarget[ni];
|
|
7901
|
-
if (!t)
|
|
7902
|
-
return;
|
|
7742
|
+
if (!t) return;
|
|
7903
7743
|
const r = t[e];
|
|
7904
|
-
if (!r)
|
|
7905
|
-
return;
|
|
7744
|
+
if (!r) return;
|
|
7906
7745
|
if (!i[Lr] && (i[Lr] = {}, e.startsWith("touch"))) {
|
|
7907
7746
|
const a = i.changedTouches[0];
|
|
7908
|
-
if (e === "touchstart" && i.touches.length === 1 && (pe.touch.id = a.identifier), pe.touch.id !== a.identifier)
|
|
7909
|
-
return;
|
|
7747
|
+
if (e === "touchstart" && i.touches.length === 1 && (pe.touch.id = a.identifier), pe.touch.id !== a.identifier) return;
|
|
7910
7748
|
On || (e === "touchstart" || e === "touchmove") && zu(i);
|
|
7911
7749
|
}
|
|
7912
7750
|
const o = i[Lr];
|
|
7913
7751
|
if (!o.skip) {
|
|
7914
|
-
for (let a = 0, n; a < Pe.length; a++)
|
|
7915
|
-
|
|
7916
|
-
for (let a = 0, n; a < Pe.length; a++)
|
|
7917
|
-
n = Pe[a], r[n.name] && !o[n.name] && (o[n.name] = !0, n[e](i));
|
|
7752
|
+
for (let a = 0, n; a < Pe.length; a++) n = Pe[a], r[n.name] && !o[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
|
|
7753
|
+
for (let a = 0, n; a < Pe.length; a++) n = Pe[a], r[n.name] && !o[n.name] && (o[n.name] = !0, n[e](i));
|
|
7918
7754
|
}
|
|
7919
7755
|
}
|
|
7920
7756
|
function zu(i) {
|
|
7921
7757
|
const e = i.changedTouches[0], t = i.type;
|
|
7922
|
-
if (t === "touchstart")
|
|
7923
|
-
pe.touch.x = e.clientX, pe.touch.y = e.clientY, pe.touch.scrollDecided = !1;
|
|
7758
|
+
if (t === "touchstart") pe.touch.x = e.clientX, pe.touch.y = e.clientY, pe.touch.scrollDecided = !1;
|
|
7924
7759
|
else if (t === "touchmove") {
|
|
7925
|
-
if (pe.touch.scrollDecided)
|
|
7926
|
-
return;
|
|
7760
|
+
if (pe.touch.scrollDecided) return;
|
|
7927
7761
|
pe.touch.scrollDecided = !0;
|
|
7928
7762
|
const r = Du(i);
|
|
7929
7763
|
let o = !1;
|
|
@@ -7938,8 +7772,7 @@ function Nu(i, e, t) {
|
|
|
7938
7772
|
const r = zi[e], o = r.deps, a = r.name;
|
|
7939
7773
|
let n = i[ni];
|
|
7940
7774
|
n || (i[ni] = n = {});
|
|
7941
|
-
for (let s = 0, l, d; s < o.length; s++)
|
|
7942
|
-
l = o[s], !(Pu && Mn(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Mu, void 0), d[a] = (d[a] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
7775
|
+
for (let s = 0, l, d; s < o.length; s++) l = o[s], !(Pu && Mn(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Mu, void 0), d[a] = (d[a] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
7943
7776
|
i.addEventListener(e, t), r.touchAction && Ln(i, r.touchAction);
|
|
7944
7777
|
}
|
|
7945
7778
|
function Ni(i) {
|
|
@@ -7950,9 +7783,7 @@ function Ni(i) {
|
|
|
7950
7783
|
function Lu(i) {
|
|
7951
7784
|
for (let e = 0, t; e < Pe.length; e++) {
|
|
7952
7785
|
t = Pe[e];
|
|
7953
|
-
for (let r = 0, o; r < t.emits.length; r++)
|
|
7954
|
-
if (o = t.emits[r], o === i)
|
|
7955
|
-
return t;
|
|
7786
|
+
for (let r = 0, o; r < t.emits.length; r++) if (o = t.emits[r], o === i) return t;
|
|
7956
7787
|
}
|
|
7957
7788
|
return null;
|
|
7958
7789
|
}
|
|
@@ -7975,8 +7806,7 @@ function cr(i) {
|
|
|
7975
7806
|
Ni({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
|
|
7976
7807
|
We(this.info);
|
|
7977
7808
|
}, mousedown(i) {
|
|
7978
|
-
if (!Se(i))
|
|
7979
|
-
return;
|
|
7809
|
+
if (!Se(i)) return;
|
|
7980
7810
|
const e = xe(i), t = this, r = (a) => {
|
|
7981
7811
|
Se(a) || (ct("up", e, a), We(t.info));
|
|
7982
7812
|
}, o = (a) => {
|
|
@@ -7998,8 +7828,7 @@ Ni({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
7998
7828
|
}, movefn: null, upfn: null, prevent: !1 }, reset() {
|
|
7999
7829
|
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, We(this.info);
|
|
8000
7830
|
}, mousedown(i) {
|
|
8001
|
-
if (!Se(i))
|
|
8002
|
-
return;
|
|
7831
|
+
if (!Se(i)) return;
|
|
8003
7832
|
const e = xe(i), t = this, r = (a) => {
|
|
8004
7833
|
const n = a.clientX, s = a.clientY;
|
|
8005
7834
|
ca(t.info, n, s) && (t.info.state = t.info.started ? a.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && cr("tap"), t.info.addMove({ x: n, y: s }), Se(a) || (t.info.state = "end", We(t.info)), e && Fr(t.info, e, a), t.info.started = !0);
|
|
@@ -8018,16 +7847,13 @@ Ni({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
8018
7847
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), Fr(this.info, e, t));
|
|
8019
7848
|
} });
|
|
8020
7849
|
function ca(i, e, t) {
|
|
8021
|
-
if (i.prevent)
|
|
8022
|
-
|
|
8023
|
-
if (i.started)
|
|
8024
|
-
return !0;
|
|
7850
|
+
if (i.prevent) return !1;
|
|
7851
|
+
if (i.started) return !0;
|
|
8025
7852
|
const r = Math.abs(i.x - e), o = Math.abs(i.y - t);
|
|
8026
7853
|
return r >= da || o >= da;
|
|
8027
7854
|
}
|
|
8028
7855
|
function Fr(i, e, t) {
|
|
8029
|
-
if (!e)
|
|
8030
|
-
return;
|
|
7856
|
+
if (!e) return;
|
|
8031
7857
|
const r = i.moves[i.moves.length - 2], o = i.moves[i.moves.length - 1], a = o.x - i.x, n = o.y - i.y;
|
|
8032
7858
|
let s, l = 0;
|
|
8033
7859
|
r && (s = o.x - r.x, l = o.y - r.y), Li(e, "track", { state: i.state, x: t.clientX, y: t.clientY, dx: a, dy: n, ddx: s, ddy: l, sourceEvent: t, hover() {
|
|
@@ -8144,8 +7970,7 @@ window.addEventListener("mousedown", () => {
|
|
|
8144
7970
|
}, { capture: !0 });
|
|
8145
7971
|
function li() {
|
|
8146
7972
|
let i = document.activeElement || document.body;
|
|
8147
|
-
for (; i.shadowRoot && i.shadowRoot.activeElement; )
|
|
8148
|
-
i = i.shadowRoot.activeElement;
|
|
7973
|
+
for (; i.shadowRoot && i.shadowRoot.activeElement; ) i = i.shadowRoot.activeElement;
|
|
8149
7974
|
return i;
|
|
8150
7975
|
}
|
|
8151
7976
|
function gr() {
|
|
@@ -8153,8 +7978,7 @@ function gr() {
|
|
|
8153
7978
|
}
|
|
8154
7979
|
function Fn(i) {
|
|
8155
7980
|
const e = i.style;
|
|
8156
|
-
if (e.visibility === "hidden" || e.display === "none")
|
|
8157
|
-
return !0;
|
|
7981
|
+
if (e.visibility === "hidden" || e.display === "none") return !0;
|
|
8158
7982
|
const t = window.getComputedStyle(i);
|
|
8159
7983
|
return t.visibility === "hidden" || t.display === "none";
|
|
8160
7984
|
}
|
|
@@ -8164,14 +7988,12 @@ function Fu(i, e) {
|
|
|
8164
7988
|
}
|
|
8165
7989
|
function Bu(i, e) {
|
|
8166
7990
|
const t = [];
|
|
8167
|
-
for (; i.length > 0 && e.length > 0; )
|
|
8168
|
-
Fu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
7991
|
+
for (; i.length > 0 && e.length > 0; ) Fu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
|
|
8169
7992
|
return t.concat(i, e);
|
|
8170
7993
|
}
|
|
8171
7994
|
function di(i) {
|
|
8172
7995
|
const e = i.length;
|
|
8173
|
-
if (e < 2)
|
|
8174
|
-
return i;
|
|
7996
|
+
if (e < 2) return i;
|
|
8175
7997
|
const t = Math.ceil(e / 2), r = di(i.slice(0, t)), o = di(i.slice(t));
|
|
8176
7998
|
return Bu(r, o);
|
|
8177
7999
|
}
|
|
@@ -8185,14 +8007,12 @@ function Ri(i) {
|
|
|
8185
8007
|
return i.getRootNode().activeElement === i;
|
|
8186
8008
|
}
|
|
8187
8009
|
function Vu(i) {
|
|
8188
|
-
if (!Vi(i))
|
|
8189
|
-
return -1;
|
|
8010
|
+
if (!Vi(i)) return -1;
|
|
8190
8011
|
const e = i.getAttribute("tabindex") || 0;
|
|
8191
8012
|
return Number(e);
|
|
8192
8013
|
}
|
|
8193
8014
|
function Bn(i, e) {
|
|
8194
|
-
if (i.nodeType !== Node.ELEMENT_NODE || Fn(i))
|
|
8195
|
-
return !1;
|
|
8015
|
+
if (i.nodeType !== Node.ELEMENT_NODE || Fn(i)) return !1;
|
|
8196
8016
|
const t = i, r = Vu(t);
|
|
8197
8017
|
let o = r > 0;
|
|
8198
8018
|
r >= 0 && e.push(t);
|
|
@@ -8456,23 +8276,19 @@ function Rn(i, e) {
|
|
|
8456
8276
|
i && i.removeAttribute(e);
|
|
8457
8277
|
}
|
|
8458
8278
|
function $n(i, e) {
|
|
8459
|
-
if (!i || !e)
|
|
8460
|
-
return;
|
|
8279
|
+
if (!i || !e) return;
|
|
8461
8280
|
const t = Hi(e);
|
|
8462
|
-
if (t.has(i))
|
|
8463
|
-
return;
|
|
8281
|
+
if (t.has(i)) return;
|
|
8464
8282
|
const r = Oi(i.getAttribute(e));
|
|
8465
8283
|
t.set(i, new Set(r));
|
|
8466
8284
|
}
|
|
8467
8285
|
function Hu(i, e) {
|
|
8468
|
-
if (!i || !e)
|
|
8469
|
-
return;
|
|
8286
|
+
if (!i || !e) return;
|
|
8470
8287
|
const t = Hi(e), r = t.get(i);
|
|
8471
8288
|
!r || r.size === 0 ? i.removeAttribute(e) : Dn(i, e, vr(r)), t.delete(i);
|
|
8472
8289
|
}
|
|
8473
8290
|
function qe(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8474
|
-
if (!i || !e)
|
|
8475
|
-
return;
|
|
8291
|
+
if (!i || !e) return;
|
|
8476
8292
|
const { newId: r, oldId: o, fromUser: a } = t, n = Hi(e), s = n.get(i);
|
|
8477
8293
|
if (!a && s) {
|
|
8478
8294
|
o && s.delete(o), r && s.add(r);
|
|
@@ -8815,8 +8631,7 @@ const yr = (i) => class extends Wi(ju(he(i))) {
|
|
|
8815
8631
|
if (e) {
|
|
8816
8632
|
const t = this._errorNode;
|
|
8817
8633
|
this._fieldAriaController.setErrorId(t && t.id);
|
|
8818
|
-
} else
|
|
8819
|
-
this._fieldAriaController.setErrorId(null);
|
|
8634
|
+
} else this._fieldAriaController.setErrorId(null);
|
|
8820
8635
|
});
|
|
8821
8636
|
}
|
|
8822
8637
|
};
|
|
@@ -9283,8 +9098,7 @@ const Ju = (i) => class extends yr(Ne(Ze(i))) {
|
|
|
9283
9098
|
if (t && t.isConnected) {
|
|
9284
9099
|
const r = this.__checkboxes.map((o) => o.inputElement);
|
|
9285
9100
|
this._tooltipController.setAriaTarget(r);
|
|
9286
|
-
} else
|
|
9287
|
-
this._tooltipController.setAriaTarget([]);
|
|
9101
|
+
} else this._tooltipController.setAriaTarget([]);
|
|
9288
9102
|
});
|
|
9289
9103
|
}
|
|
9290
9104
|
get __checkboxes() {
|
|
@@ -10808,12 +10622,10 @@ function lp() {
|
|
|
10808
10622
|
});
|
|
10809
10623
|
}
|
|
10810
10624
|
function dp(i) {
|
|
10811
|
-
for (; i.length; )
|
|
10812
|
-
jn(i.shift());
|
|
10625
|
+
for (; i.length; ) jn(i.shift());
|
|
10813
10626
|
}
|
|
10814
10627
|
function cp(i) {
|
|
10815
|
-
for (let e = 0, t = i.length; e < t; e++)
|
|
10816
|
-
jn(i.shift());
|
|
10628
|
+
for (let e = 0, t = i.length; e < t; e++) jn(i.shift());
|
|
10817
10629
|
}
|
|
10818
10630
|
function jn(i) {
|
|
10819
10631
|
const e = i[0], t = i[1], r = i[2];
|
|
@@ -10853,12 +10665,10 @@ let Be = /* @__PURE__ */ new WeakMap(), Wt = /* @__PURE__ */ new WeakMap(), qt =
|
|
|
10853
10665
|
const ua = (i) => i && i.nodeType === Node.ELEMENT_NODE, Rr = (...i) => {
|
|
10854
10666
|
console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`);
|
|
10855
10667
|
}, fp = (i, e) => ua(i) ? e.map((t) => {
|
|
10856
|
-
if (!ua(t))
|
|
10857
|
-
return Rr(t, "is not a valid element"), null;
|
|
10668
|
+
if (!ua(t)) return Rr(t, "is not a valid element"), null;
|
|
10858
10669
|
let r = t;
|
|
10859
10670
|
for (; r && r !== i; ) {
|
|
10860
|
-
if (i.contains(r))
|
|
10861
|
-
return t;
|
|
10671
|
+
if (i.contains(r)) return t;
|
|
10862
10672
|
r = r.getRootNode().host;
|
|
10863
10673
|
}
|
|
10864
10674
|
return Rr(t, "is not contained inside", i), null;
|
|
@@ -10866,25 +10676,21 @@ const ua = (i) => i && i.nodeType === Node.ELEMENT_NODE, Rr = (...i) => {
|
|
|
10866
10676
|
const o = fp(e, Array.isArray(i) ? i : [i]);
|
|
10867
10677
|
qt[t] || (qt[t] = /* @__PURE__ */ new WeakMap());
|
|
10868
10678
|
const a = qt[t], n = [], s = /* @__PURE__ */ new Set(), l = new Set(o), d = (h) => {
|
|
10869
|
-
if (!h || s.has(h))
|
|
10870
|
-
return;
|
|
10679
|
+
if (!h || s.has(h)) return;
|
|
10871
10680
|
s.add(h);
|
|
10872
10681
|
const u = h.assignedSlot;
|
|
10873
10682
|
u && d(u), d(h.parentNode || h.host);
|
|
10874
10683
|
};
|
|
10875
10684
|
o.forEach(d);
|
|
10876
10685
|
const c = (h) => {
|
|
10877
|
-
if (!h || l.has(h))
|
|
10878
|
-
return;
|
|
10686
|
+
if (!h || l.has(h)) return;
|
|
10879
10687
|
const u = h.shadowRoot;
|
|
10880
10688
|
(u ? [...h.children, ...u.children] : [...h.children]).forEach((p) => {
|
|
10881
|
-
if (!["template", "script", "style"].includes(p.localName))
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
|
|
10886
|
-
Be.set(p, D), a.set(p, O), n.push(p), D === 1 && N && Wt.set(p, !0), O === 1 && p.setAttribute(t, "true"), N || p.setAttribute(r, "true");
|
|
10887
|
-
}
|
|
10689
|
+
if (!["template", "script", "style"].includes(p.localName)) if (s.has(p)) c(p);
|
|
10690
|
+
else {
|
|
10691
|
+
const b = p.getAttribute(r), N = b !== null && b !== "false", D = (Be.get(p) || 0) + 1, O = (a.get(p) || 0) + 1;
|
|
10692
|
+
Be.set(p, D), a.set(p, O), n.push(p), D === 1 && N && Wt.set(p, !0), O === 1 && p.setAttribute(t, "true"), N || p.setAttribute(r, "true");
|
|
10693
|
+
}
|
|
10888
10694
|
});
|
|
10889
10695
|
};
|
|
10890
10696
|
return c(e), s.clear(), Vr += 1, () => {
|
|
@@ -10925,8 +10731,7 @@ class gp {
|
|
|
10925
10731
|
}
|
|
10926
10732
|
restoreFocus(e) {
|
|
10927
10733
|
const t = this.focusNode;
|
|
10928
|
-
if (!t)
|
|
10929
|
-
return;
|
|
10734
|
+
if (!t) return;
|
|
10930
10735
|
const r = e ? e.preventScroll : !1;
|
|
10931
10736
|
li() === document.body ? setTimeout(() => t.focus({ preventScroll: r })) : t.focus({ preventScroll: r }), this.focusNode = null;
|
|
10932
10737
|
}
|
|
@@ -10955,8 +10760,7 @@ class bp {
|
|
|
10955
10760
|
document.removeEventListener("keydown", this.__onKeyDown);
|
|
10956
10761
|
}
|
|
10957
10762
|
trapFocus(e) {
|
|
10958
|
-
if (this.__trapNode = e, this.__focusableElements.length === 0)
|
|
10959
|
-
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
10763
|
+
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.");
|
|
10960
10764
|
$r.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
10961
10765
|
}
|
|
10962
10766
|
releaseFocus() {
|
|
@@ -11006,12 +10810,10 @@ const yp = (i) => class extends he(i) {
|
|
|
11006
10810
|
return e === document.body || this._deepContains(e);
|
|
11007
10811
|
}
|
|
11008
10812
|
_deepContains(e) {
|
|
11009
|
-
if (this.contains(e))
|
|
11010
|
-
return !0;
|
|
10813
|
+
if (this.contains(e)) return !0;
|
|
11011
10814
|
let t = e;
|
|
11012
10815
|
const r = e.ownerDocument;
|
|
11013
|
-
for (; t && t !== r && t !== this; )
|
|
11014
|
-
t = t.parentNode || t.host;
|
|
10816
|
+
for (; t && t !== r && t !== this; ) t = t.parentNode || t.host;
|
|
11015
10817
|
return t === this;
|
|
11016
10818
|
}
|
|
11017
10819
|
};
|
|
@@ -11041,8 +10843,7 @@ const Kn = () => Array.from(document.body.children).filter((i) => i instanceof H
|
|
|
11041
10843
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
11042
10844
|
const e = mi();
|
|
11043
10845
|
let t;
|
|
11044
|
-
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
|
|
11045
|
-
;
|
|
10846
|
+
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); ) ;
|
|
11046
10847
|
}
|
|
11047
10848
|
};
|
|
11048
10849
|
/**
|
|
@@ -11081,8 +10882,7 @@ const Nt = (i) => class extends yp(Xn(i)) {
|
|
|
11081
10882
|
this.dispatchEvent(t), t.defaultPrevented || (this.opened = !1);
|
|
11082
10883
|
}
|
|
11083
10884
|
_detectIosNavbar() {
|
|
11084
|
-
if (!this.opened)
|
|
11085
|
-
return;
|
|
10885
|
+
if (!this.opened) return;
|
|
11086
10886
|
const e = window.innerHeight, t = window.innerWidth > e, r = document.documentElement.clientHeight;
|
|
11087
10887
|
t && r > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${r - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
|
|
11088
10888
|
}
|
|
@@ -11163,8 +10963,7 @@ const Nt = (i) => class extends yp(Xn(i)) {
|
|
|
11163
10963
|
this._mouseDownInside = !1, this._mouseUpInside = !1;
|
|
11164
10964
|
return;
|
|
11165
10965
|
}
|
|
11166
|
-
if (!this._shouldCloseOnOutsideClick(e))
|
|
11167
|
-
return;
|
|
10966
|
+
if (!this._shouldCloseOnOutsideClick(e)) return;
|
|
11168
10967
|
const t = new CustomEvent("vaadin-overlay-outside-click", { bubbles: !0, cancelable: !0, detail: { sourceEvent: e } });
|
|
11169
10968
|
this.dispatchEvent(t), this.opened && !t.defaultPrevented && this.close(e);
|
|
11170
10969
|
}
|
|
@@ -11189,15 +10988,13 @@ function xp(i, e) {
|
|
|
11189
10988
|
function a(n = !1, s = 1) {
|
|
11190
10989
|
o();
|
|
11191
10990
|
const { left: l, top: d, width: c, height: h } = i.getBoundingClientRect();
|
|
11192
|
-
if (n || e(), !c || !h)
|
|
11193
|
-
return;
|
|
10991
|
+
if (n || e(), !c || !h) return;
|
|
11194
10992
|
const u = Math.floor(d), p = Math.floor(r.clientWidth - (l + c)), b = Math.floor(r.clientHeight - (d + h)), N = Math.floor(l), D = { rootMargin: `${-u}px ${-p}px ${-b}px ${-N}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
|
|
11195
10993
|
let O = !0;
|
|
11196
10994
|
function A(U) {
|
|
11197
10995
|
let W = U[0].intersectionRatio;
|
|
11198
10996
|
if (W !== s) {
|
|
11199
|
-
if (!O)
|
|
11200
|
-
return a();
|
|
10997
|
+
if (!O) return a();
|
|
11201
10998
|
W === 0 && (W = 1e-7), a(!1, W);
|
|
11202
10999
|
}
|
|
11203
11000
|
O = !1;
|
|
@@ -11260,8 +11057,7 @@ const Hr = { start: "top", end: "bottom" }, Ur = { start: "left", end: "right" }
|
|
|
11260
11057
|
e.target instanceof Node && this.contains(e.target) || this._updatePosition();
|
|
11261
11058
|
}
|
|
11262
11059
|
_updatePosition() {
|
|
11263
|
-
if (!this.positionTarget || !this.opened || !this.__margins)
|
|
11264
|
-
return;
|
|
11060
|
+
if (!this.positionTarget || !this.opened || !this.__margins) return;
|
|
11265
11061
|
const e = this.positionTarget.getBoundingClientRect();
|
|
11266
11062
|
if (e.width === 0 && e.height === 0 && this.opened) {
|
|
11267
11063
|
this.opened = !1;
|
|
@@ -11522,10 +11318,8 @@ function Xe(i, e, t, r) {
|
|
|
11522
11318
|
}
|
|
11523
11319
|
function Jn(i, e) {
|
|
11524
11320
|
return e.filter((t) => t !== void 0).reduce((t, r) => {
|
|
11525
|
-
if (!r)
|
|
11526
|
-
|
|
11527
|
-
if (!t)
|
|
11528
|
-
return r;
|
|
11321
|
+
if (!r) return t;
|
|
11322
|
+
if (!t) return r;
|
|
11529
11323
|
const o = Math.abs(i.getTime() - r.getTime()), a = Math.abs(t.getTime() - i.getTime());
|
|
11530
11324
|
return o < a ? r : t;
|
|
11531
11325
|
});
|
|
@@ -11535,17 +11329,14 @@ function Zn(i) {
|
|
|
11535
11329
|
return t.setDate(1), t.setMonth(parseInt(i) + e.getMonth()), t;
|
|
11536
11330
|
}
|
|
11537
11331
|
function Ip(i, e, t = 0, r = 1) {
|
|
11538
|
-
if (e > 99)
|
|
11539
|
-
|
|
11540
|
-
if (e < 0)
|
|
11541
|
-
throw new Error("The provided year cannot be negative.");
|
|
11332
|
+
if (e > 99) throw new Error("The provided year cannot have more than 2 digits.");
|
|
11333
|
+
if (e < 0) throw new Error("The provided year cannot be negative.");
|
|
11542
11334
|
let o = e + Math.floor(i.getFullYear() / 100) * 100;
|
|
11543
11335
|
return i < new Date(o - 50, t, r) ? o -= 100 : i > new Date(o + 50, t, r) && (o += 100), o;
|
|
11544
11336
|
}
|
|
11545
11337
|
function ht(i) {
|
|
11546
11338
|
const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(i);
|
|
11547
|
-
if (!e)
|
|
11548
|
-
return;
|
|
11339
|
+
if (!e) return;
|
|
11549
11340
|
const t = new Date(0, 0);
|
|
11550
11341
|
return t.setFullYear(parseInt(e[1], 10)), t.setMonth(parseInt(e[2], 10) - 1), t.setDate(parseInt(e[3], 10)), t;
|
|
11551
11342
|
}
|
|
@@ -11737,8 +11528,7 @@ class ts extends HTMLElement {
|
|
|
11737
11528
|
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();
|
|
11738
11529
|
}
|
|
11739
11530
|
_scroll() {
|
|
11740
|
-
if (this._scrollDisabled)
|
|
11741
|
-
return;
|
|
11531
|
+
if (this._scrollDisabled) return;
|
|
11742
11532
|
const e = this.$.scroller.scrollTop;
|
|
11743
11533
|
(e < this._bufferHeight || e > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
11744
11534
|
const t = this.itemHeight + this.bufferOffset, r = e > this._buffers[1].translateY + t, o = e < this._buffers[0].translateY + t;
|
|
@@ -11768,8 +11558,7 @@ class ts extends HTMLElement {
|
|
|
11768
11558
|
});
|
|
11769
11559
|
}
|
|
11770
11560
|
_ensureStampedInstance(e) {
|
|
11771
|
-
if (e.firstElementChild)
|
|
11772
|
-
return;
|
|
11561
|
+
if (e.firstElementChild) return;
|
|
11773
11562
|
const t = e.instance;
|
|
11774
11563
|
e.instance = this._createElement(), e.appendChild(e.instance), Object.keys(t).forEach((r) => {
|
|
11775
11564
|
e.instance[r] = t[r];
|
|
@@ -11983,18 +11772,13 @@ const $p = Di(class {
|
|
|
11983
11772
|
function Hp(i, e) {
|
|
11984
11773
|
for (let t = 0; t < e.length; t++) {
|
|
11985
11774
|
let r = e[t];
|
|
11986
|
-
if (!!i != !!r.__hideTemplateChildren__)
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
const o = r.__polymerReplaced__;
|
|
11994
|
-
o && G(G(o).parentNode).replaceChild(r, o);
|
|
11995
|
-
}
|
|
11996
|
-
else
|
|
11997
|
-
r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
|
|
11775
|
+
if (!!i != !!r.__hideTemplateChildren__) if (r.nodeType === Node.TEXT_NODE) i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
|
|
11776
|
+
else if (r.localName === "slot") if (i) r.__polymerReplaced__ = document.createComment("hidden-slot"), G(G(r).parentNode).replaceChild(r.__polymerReplaced__, r);
|
|
11777
|
+
else {
|
|
11778
|
+
const o = r.__polymerReplaced__;
|
|
11779
|
+
o && G(G(o).parentNode).replaceChild(r, o);
|
|
11780
|
+
}
|
|
11781
|
+
else r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
|
|
11998
11782
|
r.__hideTemplateChildren__ = i, r._showHideChildren && r._showHideChildren(i);
|
|
11999
11783
|
}
|
|
12000
11784
|
}
|
|
@@ -12003,27 +11787,22 @@ class ro extends $p {
|
|
|
12003
11787
|
super(), this._configureProperties(e), this.root = this._stampTemplate(this.__dataHost);
|
|
12004
11788
|
let t = [];
|
|
12005
11789
|
this.children = t;
|
|
12006
|
-
for (let o = this.root.firstChild; o; o = o.nextSibling)
|
|
12007
|
-
t.push(o), o.__templatizeInstance = this;
|
|
11790
|
+
for (let o = this.root.firstChild; o; o = o.nextSibling) t.push(o), o.__templatizeInstance = this;
|
|
12008
11791
|
this.__templatizeOwner && this.__templatizeOwner.__hideTemplateChildren__ && this._showHideChildren(!0);
|
|
12009
11792
|
let r = this.__templatizeOptions;
|
|
12010
11793
|
(e && r.instanceProps || !r.instanceProps) && this._enableProperties();
|
|
12011
11794
|
}
|
|
12012
11795
|
_configureProperties(e) {
|
|
12013
|
-
if (this.__templatizeOptions.forwardHostProp)
|
|
12014
|
-
|
|
12015
|
-
this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
12016
|
-
for (let t in e)
|
|
12017
|
-
this._setPendingProperty(t, e[t]);
|
|
11796
|
+
if (this.__templatizeOptions.forwardHostProp) for (let t in this.__hostProps) this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
11797
|
+
for (let t in e) this._setPendingProperty(t, e[t]);
|
|
12018
11798
|
}
|
|
12019
11799
|
forwardHostProp(e, t) {
|
|
12020
11800
|
this._setPendingPropertyOrPath(e, t, !1, !0) && this.__dataHost._enqueueClient(this);
|
|
12021
11801
|
}
|
|
12022
11802
|
_addEventListenerToNode(e, t, r) {
|
|
12023
|
-
if (this._methodHost && this.__templatizeOptions.parentModel)
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
});
|
|
11803
|
+
if (this._methodHost && this.__templatizeOptions.parentModel) this._methodHost._addEventListenerToNode(e, t, (o) => {
|
|
11804
|
+
o.model = this, r(o);
|
|
11805
|
+
});
|
|
12027
11806
|
else {
|
|
12028
11807
|
let o = this.__dataHost.__dataHost;
|
|
12029
11808
|
o && o._addEventListenerToNode(e, t, r);
|
|
@@ -12081,20 +11860,17 @@ function qp(i, e, t, r) {
|
|
|
12081
11860
|
n = e.templatizeTemplateClass = d;
|
|
12082
11861
|
}
|
|
12083
11862
|
let s = e.hostProps;
|
|
12084
|
-
for (let l in s)
|
|
12085
|
-
n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: Yp(l, o) }), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11863
|
+
for (let l in s) n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: Yp(l, o) }), n.prototype._createNotifyingProperty("_host_" + l);
|
|
12086
11864
|
rn && r && Xp(e, t, r);
|
|
12087
11865
|
}
|
|
12088
|
-
if (i.__dataProto && Object.assign(i.__data, i.__dataProto), a)
|
|
12089
|
-
Rp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
|
|
11866
|
+
if (i.__dataProto && Object.assign(i.__data, i.__dataProto), a) Rp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
|
|
12090
11867
|
else {
|
|
12091
11868
|
Object.setPrototypeOf(i, n.prototype);
|
|
12092
11869
|
const s = e.hostProps;
|
|
12093
|
-
for (let l in s)
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
}
|
|
11870
|
+
for (let l in s) if (l = "_host_" + l, l in i) {
|
|
11871
|
+
const d = i[l];
|
|
11872
|
+
delete i[l], i.__data[l] = d;
|
|
11873
|
+
}
|
|
12098
11874
|
}
|
|
12099
11875
|
}
|
|
12100
11876
|
}
|
|
@@ -12110,9 +11886,7 @@ function jp(i, e, t, r) {
|
|
|
12110
11886
|
let n = r.notifyInstanceProp;
|
|
12111
11887
|
n && i.prototype._addPropertyEffect(a, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Gp(a, n) });
|
|
12112
11888
|
}
|
|
12113
|
-
if (r.forwardHostProp && e.__dataHost)
|
|
12114
|
-
for (let a in o)
|
|
12115
|
-
t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(a, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Kp() });
|
|
11889
|
+
if (r.forwardHostProp && e.__dataHost) for (let a in o) t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(a, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Kp() });
|
|
12116
11890
|
}
|
|
12117
11891
|
function Gp(i, e) {
|
|
12118
11892
|
return function(t, r, o) {
|
|
@@ -12125,10 +11899,8 @@ function Kp() {
|
|
|
12125
11899
|
};
|
|
12126
11900
|
}
|
|
12127
11901
|
function gi(i, e, t) {
|
|
12128
|
-
if (sr && !ma(i))
|
|
12129
|
-
|
|
12130
|
-
if (t = t || {}, i.__templatizeOwner)
|
|
12131
|
-
throw new Error("A <template> can only be templatized once");
|
|
11902
|
+
if (sr && !ma(i)) throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11903
|
+
if (t = t || {}, i.__templatizeOwner) throw new Error("A <template> can only be templatized once");
|
|
12132
11904
|
i.__templatizeOwner = e;
|
|
12133
11905
|
let r = (e ? e.constructor : ro)._parseTemplate(i), o = r.templatizeInstanceClass;
|
|
12134
11906
|
o || (o = Wp(i, r, t), r.templatizeInstanceClass = o);
|
|
@@ -12140,28 +11912,22 @@ function gi(i, e, t) {
|
|
|
12140
11912
|
}
|
|
12141
11913
|
function Xp(i, e, t) {
|
|
12142
11914
|
const r = t.constructor._properties, { propertyEffects: o } = i, { instanceProps: a } = e;
|
|
12143
|
-
for (let n in o)
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
break;
|
|
12151
|
-
}
|
|
11915
|
+
for (let n in o) if (!r[n] && !(a && a[n])) {
|
|
11916
|
+
const s = o[n];
|
|
11917
|
+
for (let l = 0; l < s.length; l++) {
|
|
11918
|
+
const { part: d } = s[l].info;
|
|
11919
|
+
if (!(d.signature && d.signature.static)) {
|
|
11920
|
+
console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);
|
|
11921
|
+
break;
|
|
12152
11922
|
}
|
|
12153
11923
|
}
|
|
11924
|
+
}
|
|
12154
11925
|
}
|
|
12155
11926
|
function Qp(i, e) {
|
|
12156
11927
|
let t;
|
|
12157
|
-
for (; e; )
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
e = t.__dataHost;
|
|
12161
|
-
else
|
|
12162
|
-
return t;
|
|
12163
|
-
else
|
|
12164
|
-
e = G(e).parentNode;
|
|
11928
|
+
for (; e; ) if (t = e.__dataHost ? e : e.__templatizeInstance) if (t.__dataHost != i) e = t.__dataHost;
|
|
11929
|
+
else return t;
|
|
11930
|
+
else e = G(e).parentNode;
|
|
12165
11931
|
return null;
|
|
12166
11932
|
}
|
|
12167
11933
|
/**
|
|
@@ -12213,16 +11979,14 @@ class _a extends Zp {
|
|
|
12213
11979
|
}
|
|
12214
11980
|
disconnectedCallback() {
|
|
12215
11981
|
super.disconnectedCallback(), this.__isDetached = !0;
|
|
12216
|
-
for (let e = 0; e < this.__instances.length; e++)
|
|
12217
|
-
this.__detachInstance(e);
|
|
11982
|
+
for (let e = 0; e < this.__instances.length; e++) this.__detachInstance(e);
|
|
12218
11983
|
this.__chunkingId && cancelAnimationFrame(this.__chunkingId);
|
|
12219
11984
|
}
|
|
12220
11985
|
connectedCallback() {
|
|
12221
11986
|
if (super.connectedCallback(), Jp() || (this.style.display = "none"), this.__isDetached) {
|
|
12222
11987
|
this.__isDetached = !1;
|
|
12223
11988
|
let e = G(G(this).parentNode);
|
|
12224
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12225
|
-
this.__attachInstance(t, e);
|
|
11989
|
+
for (let t = 0; t < this.__instances.length; t++) this.__attachInstance(t, e);
|
|
12226
11990
|
this.__chunkingId && this.__render();
|
|
12227
11991
|
}
|
|
12228
11992
|
}
|
|
@@ -12232,18 +11996,15 @@ class _a extends Zp {
|
|
|
12232
11996
|
let t = this.template = e._templateInfo ? e : this.querySelector("template");
|
|
12233
11997
|
if (!t) {
|
|
12234
11998
|
let o = new MutationObserver(() => {
|
|
12235
|
-
if (this.querySelector("template"))
|
|
12236
|
-
|
|
12237
|
-
else
|
|
12238
|
-
throw new Error("dom-repeat requires a <template> child");
|
|
11999
|
+
if (this.querySelector("template")) o.disconnect(), this.__render();
|
|
12000
|
+
else throw new Error("dom-repeat requires a <template> child");
|
|
12239
12001
|
});
|
|
12240
12002
|
return o.observe(this, { childList: !0 }), !1;
|
|
12241
12003
|
}
|
|
12242
12004
|
let r = {};
|
|
12243
12005
|
r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor = gi(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: r, forwardHostProp: function(o, a) {
|
|
12244
12006
|
let n = this.__instances;
|
|
12245
|
-
for (let s = 0, l; s < n.length && (l = n[s]); s++)
|
|
12246
|
-
l.forwardHostProp(o, a);
|
|
12007
|
+
for (let s = 0, l; s < n.length && (l = n[s]); s++) l.forwardHostProp(o, a);
|
|
12247
12008
|
}, notifyInstanceProp: function(o, a, n) {
|
|
12248
12009
|
if (th(this.as, a)) {
|
|
12249
12010
|
let s = o[this.itemsIndexAs];
|
|
@@ -12281,12 +12042,10 @@ class _a extends Zp {
|
|
|
12281
12042
|
}
|
|
12282
12043
|
__handleObservedPaths(e) {
|
|
12283
12044
|
if (this.__sortFn || this.__filterFn) {
|
|
12284
|
-
if (!e)
|
|
12285
|
-
this.__debounceRender(this.__render, this.delay);
|
|
12045
|
+
if (!e) this.__debounceRender(this.__render, this.delay);
|
|
12286
12046
|
else if (this.__observePaths) {
|
|
12287
12047
|
let t = this.__observePaths;
|
|
12288
|
-
for (let r = 0; r < t.length; r++)
|
|
12289
|
-
e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12048
|
+
for (let r = 0; r < t.length; r++) e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12290
12049
|
}
|
|
12291
12050
|
}
|
|
12292
12051
|
}
|
|
@@ -12300,8 +12059,7 @@ class _a extends Zp {
|
|
|
12300
12059
|
this.__debounceRender(this.__render), Zi();
|
|
12301
12060
|
}
|
|
12302
12061
|
__render() {
|
|
12303
|
-
if (!this.__ensureTemplatized())
|
|
12304
|
-
return;
|
|
12062
|
+
if (!this.__ensureTemplatized()) return;
|
|
12305
12063
|
let e = this.items || [];
|
|
12306
12064
|
const t = this.__sortAndFilterItems(e), r = this.__calculateLimit(t.length);
|
|
12307
12065
|
this.__updateInstances(e, r, t), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
@@ -12310,8 +12068,7 @@ class _a extends Zp {
|
|
|
12310
12068
|
}
|
|
12311
12069
|
__sortAndFilterItems(e) {
|
|
12312
12070
|
let t = new Array(e.length);
|
|
12313
|
-
for (let r = 0; r < e.length; r++)
|
|
12314
|
-
t[r] = r;
|
|
12071
|
+
for (let r = 0; r < e.length; r++) t[r] = r;
|
|
12315
12072
|
return this.__filterFn && (t = t.filter((r, o, a) => this.__filterFn(e[r], o, a))), this.__sortFn && t.sort((r, o) => this.__sortFn(e[r], e[o])), t;
|
|
12316
12073
|
}
|
|
12317
12074
|
__calculateLimit(e) {
|
|
@@ -12337,8 +12094,7 @@ class _a extends Zp {
|
|
|
12337
12094
|
let n = this.__instances[a], s = r[a], l = e[s];
|
|
12338
12095
|
o[s] = a, n ? (n._setPendingProperty(this.as, l), n._setPendingProperty(this.indexAs, a), n._setPendingProperty(this.itemsIndexAs, s), n._flushProperties()) : this.__insertInstance(l, a, s);
|
|
12339
12096
|
}
|
|
12340
|
-
for (let n = this.__instances.length - 1; n >= a; n--)
|
|
12341
|
-
this.__detachAndRemoveInstance(n);
|
|
12097
|
+
for (let n = this.__instances.length - 1; n >= a; n--) this.__detachAndRemoveInstance(n);
|
|
12342
12098
|
}
|
|
12343
12099
|
__detachInstance(e) {
|
|
12344
12100
|
let t = this.__instances[e];
|
|
@@ -12366,8 +12122,7 @@ class _a extends Zp {
|
|
|
12366
12122
|
return G(G(this).parentNode).insertBefore(o.root, n), this.__instances[t] = o, o;
|
|
12367
12123
|
}
|
|
12368
12124
|
_showHideChildren(e) {
|
|
12369
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12370
|
-
this.__instances[t]._showHideChildren(e);
|
|
12125
|
+
for (let t = 0; t < this.__instances.length; t++) this.__instances[t]._showHideChildren(e);
|
|
12371
12126
|
}
|
|
12372
12127
|
__handleItemPath(e, t) {
|
|
12373
12128
|
let r = e.slice(6), o = r.indexOf("."), a = o < 0 ? r : r.substring(0, o);
|
|
@@ -12420,8 +12175,7 @@ const em = (i) => class extends Ne(i) {
|
|
|
12420
12175
|
return a.setFullYear(e.getFullYear()), a.setMonth(e.getMonth() + 1), a.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !Xe(o, t, r) && !Xe(a, t, r);
|
|
12421
12176
|
}
|
|
12422
12177
|
_getTitle(e, t) {
|
|
12423
|
-
if (!(e === void 0 || t === void 0))
|
|
12424
|
-
return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12178
|
+
if (!(e === void 0 || t === void 0)) return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12425
12179
|
}
|
|
12426
12180
|
_onMonthGridTouchStart() {
|
|
12427
12181
|
this._notTapping = !1, setTimeout(() => {
|
|
@@ -12432,12 +12186,10 @@ const em = (i) => class extends Ne(i) {
|
|
|
12432
12186
|
e.setDate(e.getDate() + t);
|
|
12433
12187
|
}
|
|
12434
12188
|
_applyFirstDayOfWeek(e, t) {
|
|
12435
|
-
if (!(e === void 0 || t === void 0))
|
|
12436
|
-
return e.slice(t).concat(e.slice(0, t));
|
|
12189
|
+
if (!(e === void 0 || t === void 0)) return e.slice(t).concat(e.slice(0, t));
|
|
12437
12190
|
}
|
|
12438
12191
|
_getWeekDayNames(e, t) {
|
|
12439
|
-
if (e === void 0 || t === void 0)
|
|
12440
|
-
return [];
|
|
12192
|
+
if (e === void 0 || t === void 0) return [];
|
|
12441
12193
|
const { weekdays: r, weekdaysShort: o, firstDayOfWeek: a } = e, n = this._applyFirstDayOfWeek(o, a);
|
|
12442
12194
|
return this._applyFirstDayOfWeek(r, a).map((s, l) => ({ weekDay: s, weekDayShort: n[l] })).slice(0, 7);
|
|
12443
12195
|
}
|
|
@@ -12454,14 +12206,11 @@ const em = (i) => class extends Ne(i) {
|
|
|
12454
12206
|
return fe(/* @__PURE__ */ new Date(), e);
|
|
12455
12207
|
}
|
|
12456
12208
|
_getDays(e, t) {
|
|
12457
|
-
if (e === void 0 || t === void 0)
|
|
12458
|
-
return [];
|
|
12209
|
+
if (e === void 0 || t === void 0) return [];
|
|
12459
12210
|
const r = new Date(0, 0);
|
|
12460
|
-
for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; )
|
|
12461
|
-
this._dateAdd(r, -1);
|
|
12211
|
+
for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; ) this._dateAdd(r, -1);
|
|
12462
12212
|
const o = [], a = r.getMonth(), n = e.getMonth();
|
|
12463
|
-
for (; r.getMonth() === n || r.getMonth() === a; )
|
|
12464
|
-
o.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
|
|
12213
|
+
for (; r.getMonth() === n || r.getMonth() === a; ) o.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
|
|
12465
12214
|
return o;
|
|
12466
12215
|
}
|
|
12467
12216
|
_getWeeks(e) {
|
|
@@ -12478,8 +12227,7 @@ const em = (i) => class extends Ne(i) {
|
|
|
12478
12227
|
return Pp(t);
|
|
12479
12228
|
}
|
|
12480
12229
|
__getDayAriaLabel(e) {
|
|
12481
|
-
if (!e)
|
|
12482
|
-
return "";
|
|
12230
|
+
if (!e) return "";
|
|
12483
12231
|
let t = `${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;
|
|
12484
12232
|
return this._isToday(e) && (t += `, ${this.i18n.today}`), t;
|
|
12485
12233
|
}
|
|
@@ -12621,15 +12369,13 @@ class rm extends em(z(k)) {
|
|
|
12621
12369
|
return fe(e, t);
|
|
12622
12370
|
}
|
|
12623
12371
|
__getDayAriaSelected(e, t) {
|
|
12624
|
-
if (this.__isDaySelected(e, t))
|
|
12625
|
-
return "true";
|
|
12372
|
+
if (this.__isDaySelected(e, t)) return "true";
|
|
12626
12373
|
}
|
|
12627
12374
|
__isDayDisabled(e, t, r, o) {
|
|
12628
12375
|
return !Xe(e, t, r, o);
|
|
12629
12376
|
}
|
|
12630
12377
|
__getDayAriaDisabled(e, t, r, o) {
|
|
12631
|
-
if (!(e === void 0 || t === void 0 && r === void 0 && o === void 0) && this.__isDayDisabled(e, t, r, o))
|
|
12632
|
-
return "true";
|
|
12378
|
+
if (!(e === void 0 || t === void 0 && r === void 0 && o === void 0) && this.__isDayDisabled(e, t, r, o)) return "true";
|
|
12633
12379
|
}
|
|
12634
12380
|
__getDayTabindex(e, t) {
|
|
12635
12381
|
return this.__isDayFocused(e, t) ? "0" : "-1";
|
|
@@ -12758,8 +12504,7 @@ const im = (i) => class extends i {
|
|
|
12758
12504
|
this.revealDate(e);
|
|
12759
12505
|
}
|
|
12760
12506
|
revealDate(e, t = !0) {
|
|
12761
|
-
if (!e)
|
|
12762
|
-
return;
|
|
12507
|
+
if (!e) return;
|
|
12763
12508
|
const r = this._differenceInMonths(e, this._originDate);
|
|
12764
12509
|
if (this.__useSubMonthScrolling) {
|
|
12765
12510
|
const s = this._calculateWeekScrollOffset(e);
|
|
@@ -12773,8 +12518,7 @@ const im = (i) => class extends i {
|
|
|
12773
12518
|
const t = new Date(0, 0);
|
|
12774
12519
|
t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth()), t.setDate(1);
|
|
12775
12520
|
let r = 0;
|
|
12776
|
-
for (; t.getDate() < e.getDate(); )
|
|
12777
|
-
t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
|
|
12521
|
+
for (; t.getDate() < e.getDate(); ) t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
|
|
12778
12522
|
return r / 6;
|
|
12779
12523
|
}
|
|
12780
12524
|
_initialPositionChanged(e) {
|
|
@@ -12844,8 +12588,7 @@ const im = (i) => class extends i {
|
|
|
12844
12588
|
if (d < this.scrollDuration) {
|
|
12845
12589
|
const c = o(d, n, this._targetPosition - n, this.scrollDuration);
|
|
12846
12590
|
this._monthScroller.position = c, window.requestAnimationFrame(s);
|
|
12847
|
-
} else
|
|
12848
|
-
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;
|
|
12591
|
+
} 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;
|
|
12849
12592
|
setTimeout(this._repositionYearScroller.bind(this), 1);
|
|
12850
12593
|
};
|
|
12851
12594
|
window.requestAnimationFrame(s);
|
|
@@ -12854,25 +12597,23 @@ const im = (i) => class extends i {
|
|
|
12854
12597
|
return Math.min(t.max, Math.max(t.min, e));
|
|
12855
12598
|
}
|
|
12856
12599
|
_handleTrack(e) {
|
|
12857
|
-
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10)
|
|
12858
|
-
return;
|
|
12600
|
+
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10) return;
|
|
12859
12601
|
Math.abs(e.detail.ddx) > this._yearScrollerWidth / 3 && this._toggleAnimateClass(!0);
|
|
12860
12602
|
const t = this._translateX + e.detail.ddx;
|
|
12861
12603
|
this._translateX = this._limit(t, { min: 0, max: this._yearScrollerWidth });
|
|
12862
12604
|
}
|
|
12863
12605
|
_track(e) {
|
|
12864
|
-
if (!this._desktopMode)
|
|
12865
|
-
|
|
12866
|
-
|
|
12867
|
-
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
|
|
12871
|
-
|
|
12872
|
-
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
}
|
|
12606
|
+
if (!this._desktopMode) switch (e.detail.state) {
|
|
12607
|
+
case "start":
|
|
12608
|
+
this._toggleAnimateClass(!1);
|
|
12609
|
+
break;
|
|
12610
|
+
case "track":
|
|
12611
|
+
this._handleTrack(e);
|
|
12612
|
+
break;
|
|
12613
|
+
case "end":
|
|
12614
|
+
this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
|
|
12615
|
+
break;
|
|
12616
|
+
}
|
|
12876
12617
|
}
|
|
12877
12618
|
_toggleAnimateClass(e) {
|
|
12878
12619
|
e ? this.classList.add("animate") : this.classList.remove("animate");
|
|
@@ -13212,8 +12953,7 @@ const oo = H((i) => class extends $i(Wi(Dt(i))) {
|
|
|
13212
12953
|
this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`);
|
|
13213
12954
|
}
|
|
13214
12955
|
_constraintsChanged(e, ...t) {
|
|
13215
|
-
if (!e)
|
|
13216
|
-
return;
|
|
12956
|
+
if (!e) return;
|
|
13217
12957
|
const r = this._hasValidConstraints(t), o = this.__previousHasConstraints && !r;
|
|
13218
12958
|
(this._hasValue || this.invalid) && r ? this.validate() : o && this._setInvalid(!1), this.__previousHasConstraints = r;
|
|
13219
12959
|
}
|
|
@@ -13286,12 +13026,11 @@ const Cr = (i) => class extends as(br(oo(yr(lm(ze(i)))))) {
|
|
|
13286
13026
|
this.allowedCharPattern && e.data && !this.__allowedTextRegExp.test(e.data) && (e.preventDefault(), this._markInputPrevented());
|
|
13287
13027
|
}
|
|
13288
13028
|
_allowedCharPatternChanged(e) {
|
|
13289
|
-
if (e)
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
}
|
|
13029
|
+
if (e) try {
|
|
13030
|
+
this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
|
|
13031
|
+
} catch (t) {
|
|
13032
|
+
console.error(t);
|
|
13033
|
+
}
|
|
13295
13034
|
}
|
|
13296
13035
|
};
|
|
13297
13036
|
/**
|
|
@@ -13386,8 +13125,7 @@ const Lt = (i) => class extends i {
|
|
|
13386
13125
|
return ["__updateOverlayClassNames(overlayClass, _overlayElement)"];
|
|
13387
13126
|
}
|
|
13388
13127
|
__updateOverlayClassNames(e, t) {
|
|
13389
|
-
if (!t || e === void 0)
|
|
13390
|
-
return;
|
|
13128
|
+
if (!t || e === void 0) return;
|
|
13391
13129
|
const { classList: r } = t;
|
|
13392
13130
|
if (this.__initialClasses || (this.__initialClasses = new Set(r)), Array.isArray(this.__previousClasses)) {
|
|
13393
13131
|
const a = this.__previousClasses.filter((n) => !this.__initialClasses.has(n));
|
|
@@ -13430,10 +13168,8 @@ const cm = (i) => class extends Lt(he(br(oo(ze(i))))) {
|
|
|
13430
13168
|
const s = this.referenceDate ? ht(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
13431
13169
|
n = Ip(s, n, a, o);
|
|
13432
13170
|
}
|
|
13433
|
-
} else
|
|
13434
|
-
|
|
13435
|
-
if (o !== void 0)
|
|
13436
|
-
return { day: o, month: a, year: n };
|
|
13171
|
+
} else t.length === 2 ? (a = parseInt(t[0]) - 1, o = parseInt(t[1])) : t.length === 1 && (o = parseInt(t[0]));
|
|
13172
|
+
if (o !== void 0) return { day: o, month: a, year: n };
|
|
13437
13173
|
}, 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: Ki }, _focusOverlayOnOpen: Boolean, _overlayContent: { type: Object, sync: !0 }, _hasInputValue: { type: Boolean } };
|
|
13438
13174
|
}
|
|
13439
13175
|
static get observers() {
|
|
@@ -13483,8 +13219,7 @@ const cm = (i) => class extends Lt(he(br(oo(ze(i))))) {
|
|
|
13483
13219
|
this.$.overlay.close();
|
|
13484
13220
|
}
|
|
13485
13221
|
_overlayRenderer(e) {
|
|
13486
|
-
if (e.firstChild)
|
|
13487
|
-
return;
|
|
13222
|
+
if (e.firstChild) return;
|
|
13488
13223
|
const t = document.createElement("vaadin-date-picker-overlay-content");
|
|
13489
13224
|
e.appendChild(t), this._overlayContent = t, t.addEventListener("close", () => {
|
|
13490
13225
|
this._close();
|
|
@@ -13501,15 +13236,12 @@ const cm = (i) => class extends Lt(he(br(oo(ze(i))))) {
|
|
|
13501
13236
|
}), t.addEventListener("click", (r) => r.stopPropagation());
|
|
13502
13237
|
}
|
|
13503
13238
|
__parseDate(e) {
|
|
13504
|
-
if (!this.i18n.parseDate)
|
|
13505
|
-
return;
|
|
13239
|
+
if (!this.i18n.parseDate) return;
|
|
13506
13240
|
let t = this.i18n.parseDate(e);
|
|
13507
|
-
if (t && (t = ht(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
|
|
13508
|
-
return t;
|
|
13241
|
+
if (t && (t = ht(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime())) return t;
|
|
13509
13242
|
}
|
|
13510
13243
|
__formatDate(e) {
|
|
13511
|
-
if (this.i18n.formatDate)
|
|
13512
|
-
return this.i18n.formatDate(Ji(e));
|
|
13244
|
+
if (this.i18n.formatDate) return this.i18n.formatDate(Ji(e));
|
|
13513
13245
|
}
|
|
13514
13246
|
checkValidity() {
|
|
13515
13247
|
const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || Xe(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
@@ -13599,8 +13331,7 @@ const cm = (i) => class extends Lt(he(br(oo(ze(i))))) {
|
|
|
13599
13331
|
if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
|
|
13600
13332
|
const e = this._inputElementValue || "", t = this.__parseDate(e);
|
|
13601
13333
|
t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
|
|
13602
|
-
} else
|
|
13603
|
-
this._focusedDate && this.__commitDate(this._focusedDate);
|
|
13334
|
+
} else this._focusedDate && this.__commitDate(this._focusedDate);
|
|
13604
13335
|
this._ignoreFocusedDateChange = !1;
|
|
13605
13336
|
}
|
|
13606
13337
|
_onOverlayClosed() {
|
|
@@ -13977,8 +13708,7 @@ const gm = (i) => class extends as(Ze(Ne(Dt(i)))) {
|
|
|
13977
13708
|
return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
|
|
13978
13709
|
}
|
|
13979
13710
|
_setFocused(e) {
|
|
13980
|
-
if (super._setFocused(e), !e)
|
|
13981
|
-
this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
13711
|
+
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 })));
|
|
13982
13712
|
else {
|
|
13983
13713
|
const t = this.getRootNode().activeElement === this._revealNode;
|
|
13984
13714
|
this.toggleAttribute("focus-ring", this._keyboardActive && !t);
|
|
@@ -14253,8 +13983,7 @@ const ms = (i) => class extends i {
|
|
|
14253
13983
|
e && this.setAttribute("dir", e);
|
|
14254
13984
|
}
|
|
14255
13985
|
requestContentUpdate() {
|
|
14256
|
-
if (!this.renderer || this.hidden)
|
|
14257
|
-
return;
|
|
13986
|
+
if (!this.renderer || this.hidden) return;
|
|
14258
13987
|
const e = { index: this.index, item: this.item, focused: this.focused, selected: this.selected };
|
|
14259
13988
|
this.renderer(this, this._owner, e);
|
|
14260
13989
|
}
|
|
@@ -14412,8 +14141,7 @@ const va = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Em
|
|
|
14412
14141
|
if (i == null) {
|
|
14413
14142
|
let e = this._physicalTop + this._scrollOffset;
|
|
14414
14143
|
i = this._iterateItems((t, r) => {
|
|
14415
|
-
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition)
|
|
14416
|
-
return r;
|
|
14144
|
+
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition) return r;
|
|
14417
14145
|
}) || 0, this._firstVisibleIndexVal = i;
|
|
14418
14146
|
}
|
|
14419
14147
|
return i;
|
|
@@ -14445,24 +14173,20 @@ const va = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Em
|
|
|
14445
14173
|
const o = [], a = this._hiddenContentSize * this._ratio, n = this._virtualStart, s = this._virtualEnd, l = this._physicalCount;
|
|
14446
14174
|
let d = this._physicalTop + this._scrollOffset;
|
|
14447
14175
|
const c = this._physicalBottom + this._scrollOffset, h = this._scrollPosition, u = this._scrollBottom;
|
|
14448
|
-
for (i ? (e = this._physicalStart, t = h - d) : (e = this._physicalEnd, t = c - u); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= a); )
|
|
14449
|
-
if (
|
|
14450
|
-
|
|
14451
|
-
|
|
14452
|
-
|
|
14453
|
-
|
|
14454
|
-
|
|
14455
|
-
break;
|
|
14456
|
-
o.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
|
|
14457
|
-
}
|
|
14176
|
+
for (i ? (e = this._physicalStart, t = h - d) : (e = this._physicalEnd, t = c - u); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= a); ) if (i) {
|
|
14177
|
+
if (s + o.length + 1 >= this._virtualCount || d + r >= h - this._scrollOffset) break;
|
|
14178
|
+
o.push(e), d += r, e = (e + 1) % l;
|
|
14179
|
+
} else {
|
|
14180
|
+
if (n - o.length <= 0 || d + this._physicalSize - r <= u) break;
|
|
14181
|
+
o.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
|
|
14182
|
+
}
|
|
14458
14183
|
return { indexes: o, physicalTop: d - this._scrollOffset };
|
|
14459
14184
|
}, _update(i, e) {
|
|
14460
14185
|
if (!(i && i.length === 0 || this._physicalCount === 0)) {
|
|
14461
|
-
if (this._assignModels(i), this._updateMetrics(i), e)
|
|
14462
|
-
|
|
14463
|
-
|
|
14464
|
-
|
|
14465
|
-
}
|
|
14186
|
+
if (this._assignModels(i), this._updateMetrics(i), e) for (; e.length; ) {
|
|
14187
|
+
const t = e.pop();
|
|
14188
|
+
this._physicalTop -= this._getPhysicalSizeIncrement(t);
|
|
14189
|
+
}
|
|
14466
14190
|
this._positionItems(), this._updateScrollerSize();
|
|
14467
14191
|
}
|
|
14468
14192
|
}, _isClientFull() {
|
|
@@ -14474,34 +14198,25 @@ const va = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Em
|
|
|
14474
14198
|
if (e > 0) {
|
|
14475
14199
|
const r = window.performance.now();
|
|
14476
14200
|
[].push.apply(this._physicalItems, this._createPool(e));
|
|
14477
|
-
for (let o = 0; o < e; o++)
|
|
14478
|
-
this._physicalSizes.push(0);
|
|
14201
|
+
for (let o = 0; o < e; o++) this._physicalSizes.push(0);
|
|
14479
14202
|
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);
|
|
14480
14203
|
}
|
|
14481
14204
|
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)), Pn) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), dr));
|
|
14482
14205
|
}
|
|
14483
14206
|
}, _render() {
|
|
14484
|
-
if (!(!this.isAttached || !this._isVisible))
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
} else
|
|
14489
|
-
this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(ga));
|
|
14207
|
+
if (!(!this.isAttached || !this._isVisible)) if (this._physicalCount !== 0) {
|
|
14208
|
+
const i = this._getReusables(!0);
|
|
14209
|
+
this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
|
|
14210
|
+
} else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(ga));
|
|
14490
14211
|
}, _itemsChanged(i) {
|
|
14491
14212
|
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, Tt));
|
|
14492
14213
|
}, _iterateItems(i, e) {
|
|
14493
14214
|
let t, r, o, a;
|
|
14494
14215
|
if (arguments.length === 2 && e) {
|
|
14495
|
-
for (a = 0; a < e.length; a++)
|
|
14496
|
-
if (t = e[a], r = this._computeVidx(t), (o = i.call(this, t, r)) != null)
|
|
14497
|
-
return o;
|
|
14216
|
+
for (a = 0; a < e.length; a++) if (t = e[a], r = this._computeVidx(t), (o = i.call(this, t, r)) != null) return o;
|
|
14498
14217
|
} else {
|
|
14499
|
-
for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++)
|
|
14500
|
-
|
|
14501
|
-
return o;
|
|
14502
|
-
for (t = 0; t < this._physicalStart; t++, r++)
|
|
14503
|
-
if ((o = i.call(this, t, r)) != null)
|
|
14504
|
-
return o;
|
|
14218
|
+
for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++) if ((o = i.call(this, t, r)) != null) return o;
|
|
14219
|
+
for (t = 0; t < this._physicalStart; t++, r++) if ((o = i.call(this, t, r)) != null) return o;
|
|
14505
14220
|
}
|
|
14506
14221
|
}, _computeVidx(i) {
|
|
14507
14222
|
return i >= this._physicalStart ? this._virtualStart + (i - this._physicalStart) : this._virtualStart + (this._physicalCount - this._physicalStart) + i;
|
|
@@ -14526,13 +14241,11 @@ const va = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), Em
|
|
|
14526
14241
|
const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
|
|
14527
14242
|
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);
|
|
14528
14243
|
}, scrollToIndex(i) {
|
|
14529
|
-
if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (mt(), this._physicalCount === 0))
|
|
14530
|
-
return;
|
|
14244
|
+
if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (mt(), this._physicalCount === 0)) return;
|
|
14531
14245
|
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;
|
|
14532
14246
|
let e = this._physicalStart, t = this._virtualStart, r = 0;
|
|
14533
14247
|
const o = this._hiddenContentSize;
|
|
14534
|
-
for (; t < i && r <= o; )
|
|
14535
|
-
r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14248
|
+
for (; t < i && r <= o; ) r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14536
14249
|
this._updateScrollerSize(!0), this._positionItems(), this._resetScrollPosition(this._physicalTop + this._scrollOffset + r), this._increasePoolIfNeeded(0), this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null;
|
|
14537
14250
|
}, _resetAverage() {
|
|
14538
14251
|
this._physicalAverage = 0, this._physicalAverageCount = 0;
|
|
@@ -14584,8 +14297,7 @@ class _s {
|
|
|
14584
14297
|
return this.__getVisibleElements().some((e) => e.__virtualizerPlaceholder);
|
|
14585
14298
|
}
|
|
14586
14299
|
scrollToIndex(e) {
|
|
14587
|
-
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight)
|
|
14588
|
-
return;
|
|
14300
|
+
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight) return;
|
|
14589
14301
|
delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
|
|
14590
14302
|
const t = this.__getVisibleElements().length;
|
|
14591
14303
|
let r = Math.floor(e / this.size * this._virtualCount);
|
|
@@ -14610,8 +14322,7 @@ class _s {
|
|
|
14610
14322
|
}
|
|
14611
14323
|
__getBorderBoxHeight(e) {
|
|
14612
14324
|
const t = getComputedStyle(e), r = parseFloat(t.height) || 0;
|
|
14613
|
-
if (t.boxSizing === "border-box")
|
|
14614
|
-
return r;
|
|
14325
|
+
if (t.boxSizing === "border-box") return r;
|
|
14615
14326
|
const o = parseFloat(t.paddingBottom) || 0, a = parseFloat(t.paddingTop) || 0, n = parseFloat(t.borderBottomWidth) || 0, s = parseFloat(t.borderTopWidth) || 0;
|
|
14616
14327
|
return r + o + a + n + s;
|
|
14617
14328
|
}
|
|
@@ -14621,8 +14332,7 @@ class _s {
|
|
|
14621
14332
|
__afterElementsUpdated(e) {
|
|
14622
14333
|
e.forEach((t) => {
|
|
14623
14334
|
const r = t.offsetHeight;
|
|
14624
|
-
if (r === 0)
|
|
14625
|
-
t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = re.debounce(this.__placeholderClearDebouncer, Tt, () => this._resizeHandler());
|
|
14335
|
+
if (r === 0) t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = re.debounce(this.__placeholderClearDebouncer, Tt, () => this._resizeHandler());
|
|
14626
14336
|
else {
|
|
14627
14337
|
this.__elementHeightQueue.push(r), this.__elementHeightQueue.shift();
|
|
14628
14338
|
const o = this.__elementHeightQueue.filter((a) => a !== void 0);
|
|
@@ -14638,8 +14348,7 @@ class _s {
|
|
|
14638
14348
|
return this.__size;
|
|
14639
14349
|
}
|
|
14640
14350
|
set size(e) {
|
|
14641
|
-
if (e === this.size)
|
|
14642
|
-
return;
|
|
14351
|
+
if (e === this.size) return;
|
|
14643
14352
|
this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
|
|
14644
14353
|
let t, r;
|
|
14645
14354
|
if (e > 0 && (t = this.adjustedFirstVisibleIndex, r = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), mt(), e > 0) {
|
|
@@ -14703,19 +14412,16 @@ class _s {
|
|
|
14703
14412
|
return t.indexOf(e) === 0 && e.__virtualIndex > 0;
|
|
14704
14413
|
}
|
|
14705
14414
|
__onElementFocused(e) {
|
|
14706
|
-
if (!this.reorderElements)
|
|
14707
|
-
return;
|
|
14415
|
+
if (!this.reorderElements) return;
|
|
14708
14416
|
const t = e.detail.element;
|
|
14709
|
-
if (!t)
|
|
14710
|
-
return;
|
|
14417
|
+
if (!t) return;
|
|
14711
14418
|
const r = this.__getVisibleElements();
|
|
14712
14419
|
(this.__previousFocusableSiblingMissing(t, r) || this.__nextFocusableSiblingMissing(t, r)) && this.flush();
|
|
14713
14420
|
const o = this.__getVisibleElements();
|
|
14714
14421
|
this.__nextFocusableSiblingMissing(t, o) ? (this._scrollTop += Math.ceil(t.getBoundingClientRect().bottom) - Math.floor(this.scrollTarget.getBoundingClientRect().bottom - 1), this.flush()) : this.__previousFocusableSiblingMissing(t, o) && (this._scrollTop -= Math.ceil(this.scrollTarget.getBoundingClientRect().top + 1) - Math.floor(t.getBoundingClientRect().top), this.flush());
|
|
14715
14422
|
}
|
|
14716
14423
|
_scrollHandler() {
|
|
14717
|
-
if (this.scrollTarget.offsetHeight === 0)
|
|
14718
|
-
return;
|
|
14424
|
+
if (this.scrollTarget.offsetHeight === 0) return;
|
|
14719
14425
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
14720
14426
|
const e = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
14721
14427
|
if (super._scrollHandler(), this._physicalCount !== 0) {
|
|
@@ -14725,8 +14431,7 @@ class _s {
|
|
|
14725
14431
|
e && (this.__fixInvalidItemPositioningDebouncer = re.debounce(this.__fixInvalidItemPositioningDebouncer, we.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING), () => this.__fixInvalidItemPositioning())), this.reorderElements && (this.__scrollReorderDebouncer = re.debounce(this.__scrollReorderDebouncer, we.after(this.timeouts.SCROLL_REORDER), () => this.__reorderElements())), this.__previousScrollTop = this._scrollTop, this._scrollTop === 0 && this.firstVisibleIndex !== 0 && Math.abs(e) > 0 && this.scrollToIndex(0);
|
|
14726
14432
|
}
|
|
14727
14433
|
__fixInvalidItemPositioning() {
|
|
14728
|
-
if (!this.scrollTarget.isConnected)
|
|
14729
|
-
return;
|
|
14434
|
+
if (!this.scrollTarget.isConnected) return;
|
|
14730
14435
|
const e = this._physicalTop > this._scrollTop, t = this._physicalBottom < this._scrollBottom, r = this.adjustedFirstVisibleIndex === 0, o = this.adjustedLastVisibleIndex === this.size - 1;
|
|
14731
14436
|
if (e && !r || t && !o) {
|
|
14732
14437
|
const a = t, n = this._ratio;
|
|
@@ -14734,8 +14439,7 @@ class _s {
|
|
|
14734
14439
|
}
|
|
14735
14440
|
}
|
|
14736
14441
|
__onWheel(e) {
|
|
14737
|
-
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY))
|
|
14738
|
-
return;
|
|
14442
|
+
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY)) return;
|
|
14739
14443
|
let t = e.deltaY;
|
|
14740
14444
|
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) {
|
|
14741
14445
|
this._deltaYAcc += t, e.preventDefault();
|
|
@@ -14750,12 +14454,9 @@ class _s {
|
|
|
14750
14454
|
})) : this._hasResidualMomentum && r <= this._previousMomentum || this._ignoreNewWheel ? e.preventDefault() : r > this._previousMomentum && (this._hasResidualMomentum = !1), this._previousMomentum = r;
|
|
14751
14455
|
}
|
|
14752
14456
|
_hasScrolledAncestor(e, t, r) {
|
|
14753
|
-
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host)
|
|
14754
|
-
|
|
14755
|
-
if (
|
|
14756
|
-
return !0;
|
|
14757
|
-
if (e !== this && e.parentElement)
|
|
14758
|
-
return this._hasScrolledAncestor(e.parentElement, t, r);
|
|
14457
|
+
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host) return !1;
|
|
14458
|
+
if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1) return !0;
|
|
14459
|
+
if (e !== this && e.parentElement) return this._hasScrolledAncestor(e.parentElement, t, r);
|
|
14759
14460
|
}
|
|
14760
14461
|
_canScroll(e, t, r) {
|
|
14761
14462
|
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;
|
|
@@ -14764,16 +14465,14 @@ class _s {
|
|
|
14764
14465
|
if (this._physicalCount > 2 && e) {
|
|
14765
14466
|
const t = Math.ceil(this._optPhysicalSize / this._physicalAverage) - this._physicalCount;
|
|
14766
14467
|
super._increasePoolIfNeeded(Math.max(e, Math.min(100, t)));
|
|
14767
|
-
} else
|
|
14768
|
-
super._increasePoolIfNeeded(e);
|
|
14468
|
+
} else super._increasePoolIfNeeded(e);
|
|
14769
14469
|
}
|
|
14770
14470
|
get _optPhysicalSize() {
|
|
14771
14471
|
const e = super._optPhysicalSize;
|
|
14772
14472
|
return e <= 0 || this.__hasPlaceholders() ? e : e + this.__getItemHeightBuffer();
|
|
14773
14473
|
}
|
|
14774
14474
|
__getItemHeightBuffer() {
|
|
14775
|
-
if (this._physicalCount === 0)
|
|
14776
|
-
return 0;
|
|
14475
|
+
if (this._physicalCount === 0) return 0;
|
|
14777
14476
|
const e = Math.ceil(this._viewportHeight * (this._maxPages - 1) / 2), t = Math.max(...this._physicalSizes);
|
|
14778
14477
|
return t > Math.min(...this._physicalSizes) ? Math.max(0, t - e) : 0;
|
|
14779
14478
|
}
|
|
@@ -14793,15 +14492,10 @@ class _s {
|
|
|
14793
14492
|
}
|
|
14794
14493
|
this.__pendingReorder = !1;
|
|
14795
14494
|
const e = this._virtualStart + (this._vidxOffset || 0), t = this.__getVisibleElements(), r = this.__getFocusedElement(t) || t[0];
|
|
14796
|
-
if (!r)
|
|
14797
|
-
return;
|
|
14495
|
+
if (!r) return;
|
|
14798
14496
|
const o = r.__virtualIndex - e, a = t.indexOf(r) - o;
|
|
14799
|
-
if (a > 0)
|
|
14800
|
-
|
|
14801
|
-
this.elementsContainer.appendChild(t[n]);
|
|
14802
|
-
else if (a < 0)
|
|
14803
|
-
for (let n = t.length + a; n < t.length; n++)
|
|
14804
|
-
this.elementsContainer.insertBefore(t[n], t[0]);
|
|
14497
|
+
if (a > 0) for (let n = 0; n < a; n++) this.elementsContainer.appendChild(t[n]);
|
|
14498
|
+
else if (a < 0) for (let n = t.length + a; n < t.length; n++) this.elementsContainer.insertBefore(t[n], t[0]);
|
|
14805
14499
|
if (mp) {
|
|
14806
14500
|
const { transform: n } = this.scrollTarget.style;
|
|
14807
14501
|
this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
|
|
@@ -14811,10 +14505,8 @@ class _s {
|
|
|
14811
14505
|
}
|
|
14812
14506
|
_adjustVirtualIndexOffset(e) {
|
|
14813
14507
|
const t = this._maxVirtualIndexOffset;
|
|
14814
|
-
if (this._virtualCount >= this.size)
|
|
14815
|
-
|
|
14816
|
-
else if (this.__skipNextVirtualIndexAdjust)
|
|
14817
|
-
this.__skipNextVirtualIndexAdjust = !1;
|
|
14508
|
+
if (this._virtualCount >= this.size) this._vidxOffset = 0;
|
|
14509
|
+
else if (this.__skipNextVirtualIndexAdjust) this.__skipNextVirtualIndexAdjust = !1;
|
|
14818
14510
|
else if (Math.abs(e) > 1e4) {
|
|
14819
14511
|
const r = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
14820
14512
|
this._vidxOffset = Math.round(r * t);
|
|
@@ -14887,14 +14579,12 @@ const vs = (i) => class extends i {
|
|
|
14887
14579
|
this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
|
|
14888
14580
|
}
|
|
14889
14581
|
scrollIntoView(e) {
|
|
14890
|
-
if (!this.__virtualizer || !(this.opened && e >= 0))
|
|
14891
|
-
return;
|
|
14582
|
+
if (!this.__virtualizer || !(this.opened && e >= 0)) return;
|
|
14892
14583
|
const t = this._visibleItemsCount();
|
|
14893
14584
|
let r = e;
|
|
14894
14585
|
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));
|
|
14895
14586
|
const o = [...this.children].find((l) => !l.hidden && l.index === this.__virtualizer.lastVisibleIndex);
|
|
14896
|
-
if (!o || e !== o.index)
|
|
14897
|
-
return;
|
|
14587
|
+
if (!o || e !== o.index) return;
|
|
14898
14588
|
const a = o.getBoundingClientRect(), n = this.getBoundingClientRect(), s = a.bottom - n.bottom + this._viewportTotalPaddingBottom;
|
|
14899
14589
|
s > 0 && (this.scrollTop += s);
|
|
14900
14590
|
}
|
|
@@ -15019,10 +14709,8 @@ function pr(i, e, t = 0) {
|
|
|
15019
14709
|
let r = e;
|
|
15020
14710
|
for (const o of i.subCaches) {
|
|
15021
14711
|
const a = o.parentCacheIndex;
|
|
15022
|
-
if (r <= a)
|
|
15023
|
-
|
|
15024
|
-
if (r <= a + o.flatSize)
|
|
15025
|
-
return pr(o, r - a - 1, t + 1);
|
|
14712
|
+
if (r <= a) break;
|
|
14713
|
+
if (r <= a + o.flatSize) return pr(o, r - a - 1, t + 1);
|
|
15026
14714
|
r -= o.flatSize;
|
|
15027
14715
|
}
|
|
15028
14716
|
return { cache: i, item: i.items[r], index: r, page: Math.floor(r / i.pageSize), level: t };
|
|
@@ -15030,13 +14718,11 @@ function pr(i, e, t = 0) {
|
|
|
15030
14718
|
function gs({ getItemId: i }, e, t, r = 0, o = 0) {
|
|
15031
14719
|
for (let a = 0; a < e.items.length; a++) {
|
|
15032
14720
|
const n = e.items[a];
|
|
15033
|
-
if (n && i(n) === i(t))
|
|
15034
|
-
return { cache: e, level: r, item: n, index: a, page: Math.floor(a / e.pageSize), subCache: e.getSubCache(a), flatIndex: o + e.getFlatIndex(a) };
|
|
14721
|
+
if (n && i(n) === i(t)) return { cache: e, level: r, item: n, index: a, page: Math.floor(a / e.pageSize), subCache: e.getSubCache(a), flatIndex: o + e.getFlatIndex(a) };
|
|
15035
14722
|
}
|
|
15036
14723
|
for (const a of e.subCaches) {
|
|
15037
14724
|
const n = o + e.getFlatIndex(a.parentCacheIndex), s = gs({ getItemId: i }, a, t, r + 1, n + 1);
|
|
15038
|
-
if (s)
|
|
15039
|
-
return s;
|
|
14725
|
+
if (s) return s;
|
|
15040
14726
|
}
|
|
15041
14727
|
}
|
|
15042
14728
|
function bs(i, [e, ...t], r = 0) {
|
|
@@ -15076,8 +14762,7 @@ class ao {
|
|
|
15076
14762
|
if (this.__size !== e) {
|
|
15077
14763
|
if (this.__size = e, this.context.placeholder !== void 0) {
|
|
15078
14764
|
this.items.length = e || 0;
|
|
15079
|
-
for (let r = 0; r < e; r++)
|
|
15080
|
-
(t = this.items)[r] || (t[r] = this.context.placeholder);
|
|
14765
|
+
for (let r = 0; r < e; r++) (t = this.items)[r] || (t[r] = this.context.placeholder);
|
|
15081
14766
|
}
|
|
15082
14767
|
Object.keys(this.pendingRequests).forEach((r) => {
|
|
15083
14768
|
parseInt(r) * this.pageSize >= this.size && delete this.pendingRequests[r];
|
|
@@ -15197,8 +14882,7 @@ class Dm extends EventTarget {
|
|
|
15197
14882
|
return new ao(this.__cacheContext, this.pageSize, e);
|
|
15198
14883
|
}
|
|
15199
14884
|
__loadCachePage(e, t) {
|
|
15200
|
-
if (!this.dataProvider || e.pendingRequests[t])
|
|
15201
|
-
return;
|
|
14885
|
+
if (!this.dataProvider || e.pendingRequests[t]) return;
|
|
15202
14886
|
let r = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
|
|
15203
14887
|
this.dataProviderParams && (r = tr(tr({}, r), this.dataProviderParams()));
|
|
15204
14888
|
const o = (a, n) => {
|
|
@@ -15227,8 +14911,7 @@ const ys = (i) => class extends i {
|
|
|
15227
14911
|
}
|
|
15228
14912
|
ready() {
|
|
15229
14913
|
super.ready(), this._scroller.addEventListener("index-requested", (e) => {
|
|
15230
|
-
if (!this._shouldFetchData())
|
|
15231
|
-
return;
|
|
14914
|
+
if (!this._shouldFetchData()) return;
|
|
15232
14915
|
const t = e.detail.index;
|
|
15233
14916
|
t !== void 0 && this.__dataProviderController.ensureFlatIndexLoaded(t);
|
|
15234
14917
|
}), this.__dataProviderInitialized = !0, this.dataProvider && this.__synchronizeControllerState();
|
|
@@ -15273,8 +14956,7 @@ const ys = (i) => class extends i {
|
|
|
15273
14956
|
}
|
|
15274
14957
|
}
|
|
15275
14958
|
_pageSizeChanged(e, t) {
|
|
15276
|
-
if (Math.floor(e) !== e || e < 1)
|
|
15277
|
-
throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
14959
|
+
if (Math.floor(e) !== e || e < 1) throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
15278
14960
|
this.__dataProviderController.setPageSize(e), this.clearCache();
|
|
15279
14961
|
}
|
|
15280
14962
|
_dataProviderChanged(e, t) {
|
|
@@ -15283,8 +14965,7 @@ const ys = (i) => class extends i {
|
|
|
15283
14965
|
}), this.__dataProviderController.setDataProvider(e), this.clearCache();
|
|
15284
14966
|
}
|
|
15285
14967
|
_ensureItemsOrDataProvider(e) {
|
|
15286
|
-
if (this.items !== void 0 && this.dataProvider !== void 0)
|
|
15287
|
-
throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
14968
|
+
if (this.items !== void 0 && this.dataProvider !== void 0) throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
15288
14969
|
}
|
|
15289
14970
|
_warnDataProviderValue(e, t) {
|
|
15290
14971
|
if (e && t !== "" && (this.selectedItem === void 0 || this.selectedItem === null)) {
|
|
@@ -15381,11 +15062,10 @@ const ws = (i) => class extends Lt(he(Wi(Ne(ze(Dt(Ze(i))))))) {
|
|
|
15381
15062
|
}, r.requestContentUpdate(), this._scroller = t;
|
|
15382
15063
|
}
|
|
15383
15064
|
_updateScroller(e, t, r, o, a, n, s, l, d, c) {
|
|
15384
|
-
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: a, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated))
|
|
15385
|
-
|
|
15386
|
-
|
|
15387
|
-
|
|
15388
|
-
}
|
|
15065
|
+
if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: a, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated)) try {
|
|
15066
|
+
e.performUpdate();
|
|
15067
|
+
} catch (h) {
|
|
15068
|
+
}
|
|
15389
15069
|
}
|
|
15390
15070
|
_openedOrItemsChanged(e, t, r, o) {
|
|
15391
15071
|
this._overlayOpened = e && (o || r || !!(t && t.length));
|
|
@@ -15401,14 +15081,12 @@ const ws = (i) => class extends Lt(he(Wi(Ne(ze(Dt(Ze(i))))))) {
|
|
|
15401
15081
|
}
|
|
15402
15082
|
_updateActiveDescendant(e) {
|
|
15403
15083
|
const t = this._nativeInput;
|
|
15404
|
-
if (!t)
|
|
15405
|
-
return;
|
|
15084
|
+
if (!t) return;
|
|
15406
15085
|
const r = this._getItemElements().find((o) => o.index === e);
|
|
15407
15086
|
r ? t.setAttribute("aria-activedescendant", r.id) : t.removeAttribute("aria-activedescendant");
|
|
15408
15087
|
}
|
|
15409
15088
|
_openedChanged(e, t) {
|
|
15410
|
-
if (t === void 0)
|
|
15411
|
-
return;
|
|
15089
|
+
if (t === void 0) return;
|
|
15412
15090
|
e ? !this._isInputFocused() && !pi && this.inputElement && this.inputElement.focus() : this._onClosed();
|
|
15413
15091
|
const r = this._nativeInput;
|
|
15414
15092
|
r && (r.setAttribute("aria-expanded", !!e), e ? r.setAttribute("aria-controls", this._scroller.id) : r.removeAttribute("aria-controls"));
|
|
@@ -15449,20 +15127,17 @@ const ws = (i) => class extends Lt(he(Wi(Ne(ze(Dt(Ze(i))))))) {
|
|
|
15449
15127
|
if (this.opened) {
|
|
15450
15128
|
const e = this._dropdownItems;
|
|
15451
15129
|
e && (this._focusedIndex = Math.min(e.length - 1, this._focusedIndex + 1), this._prefillFocusedItemLabel());
|
|
15452
|
-
} else
|
|
15453
|
-
this.open();
|
|
15130
|
+
} else this.open();
|
|
15454
15131
|
}
|
|
15455
15132
|
_onArrowUp() {
|
|
15456
15133
|
if (this.opened) {
|
|
15457
|
-
if (this._focusedIndex > -1)
|
|
15458
|
-
this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15134
|
+
if (this._focusedIndex > -1) this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15459
15135
|
else {
|
|
15460
15136
|
const e = this._dropdownItems;
|
|
15461
15137
|
e && (this._focusedIndex = e.length - 1);
|
|
15462
15138
|
}
|
|
15463
15139
|
this._prefillFocusedItemLabel();
|
|
15464
|
-
} else
|
|
15465
|
-
this.open();
|
|
15140
|
+
} else this.open();
|
|
15466
15141
|
}
|
|
15467
15142
|
_prefillFocusedItemLabel() {
|
|
15468
15143
|
if (this._focusedIndex > -1) {
|
|
@@ -15523,8 +15198,7 @@ const ws = (i) => class extends Lt(he(Wi(Ne(ze(Dt(Ze(i))))))) {
|
|
|
15523
15198
|
if (this._focusedIndex > -1) {
|
|
15524
15199
|
const e = this._dropdownItems[this._focusedIndex];
|
|
15525
15200
|
this.selectedItem !== e && (this.selectedItem = e), this._inputElementValue = this._getItemLabel(this.selectedItem), this._focusedIndex = -1;
|
|
15526
|
-
} else if (this._inputElementValue === "" || this._inputElementValue === void 0)
|
|
15527
|
-
this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15201
|
+
} else if (this._inputElementValue === "" || this._inputElementValue === void 0) this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15528
15202
|
else {
|
|
15529
15203
|
const e = [this.selectedItem, ...this._dropdownItems || []], t = e[this.__getItemIndexByLabel(e, this._inputElementValue)];
|
|
15530
15204
|
if (this.allowCustomValue && !t) {
|
|
@@ -15532,8 +15206,7 @@ const ws = (i) => class extends Lt(he(Wi(Ne(ze(Dt(Ze(i))))))) {
|
|
|
15532
15206
|
this._lastCustomValue = r;
|
|
15533
15207
|
const o = new CustomEvent("custom-value-set", { detail: r, composed: !0, cancelable: !0, bubbles: !0 });
|
|
15534
15208
|
this.dispatchEvent(o), o.defaultPrevented || (this.value = r);
|
|
15535
|
-
} else
|
|
15536
|
-
!this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15209
|
+
} else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15537
15210
|
}
|
|
15538
15211
|
this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
|
|
15539
15212
|
}
|
|
@@ -15557,12 +15230,10 @@ const ws = (i) => class extends Lt(he(Wi(Ne(ze(Dt(Ze(i))))))) {
|
|
|
15557
15230
|
this.allowCustomValue && !this.selectedItem ? this._inputElementValue = this.value : this._inputElementValue = this._getItemLabel(this.selectedItem);
|
|
15558
15231
|
}
|
|
15559
15232
|
_selectedItemChanged(e) {
|
|
15560
|
-
if (e == null)
|
|
15561
|
-
this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15233
|
+
if (e == null) this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15562
15234
|
else {
|
|
15563
15235
|
const t = this._getItemValue(e);
|
|
15564
|
-
if (this.value !== t && (this.value = t, this.value !== t))
|
|
15565
|
-
return;
|
|
15236
|
+
if (this.value !== t && (this.value = t, this.value !== t)) return;
|
|
15566
15237
|
this._toggleHasValue(!0), this._inputElementValue = this._getItemLabel(e);
|
|
15567
15238
|
}
|
|
15568
15239
|
}
|
|
@@ -16159,8 +15830,7 @@ class Hm extends ys(ws(z(k))) {
|
|
|
16159
15830
|
}
|
|
16160
15831
|
_onEnter(e) {
|
|
16161
15832
|
if (this.opened) {
|
|
16162
|
-
if (e.preventDefault(), e.stopPropagation(), this.readonly)
|
|
16163
|
-
this.close();
|
|
15833
|
+
if (e.preventDefault(), e.stopPropagation(), this.readonly) this.close();
|
|
16164
15834
|
else if (this._hasValidInputValue()) {
|
|
16165
15835
|
const t = this._dropdownItems[this._focusedIndex];
|
|
16166
15836
|
this._commitValue(), this._focusedIndex = this._dropdownItems.indexOf(t);
|
|
@@ -16469,8 +16139,7 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16469
16139
|
if (this._toggleHasValue(this._hasValue), this._hasValue) {
|
|
16470
16140
|
const t = this._mergeItemLabels(e);
|
|
16471
16141
|
this.__tmpA11yPlaceholder === void 0 && (this.__savedPlaceholder = this.placeholder), this.__tmpA11yPlaceholder = t, this.placeholder = t;
|
|
16472
|
-
} else
|
|
16473
|
-
this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16142
|
+
} else this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16474
16143
|
this.__updateChips(), this.requestContentUpdate(), this.opened && this.$.comboBox.$.overlay._updateOverlayWidth();
|
|
16475
16144
|
}
|
|
16476
16145
|
_getItemLabel(e) {
|
|
@@ -16481,9 +16150,7 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16481
16150
|
}
|
|
16482
16151
|
_findIndex(e, t, r) {
|
|
16483
16152
|
if (r && e) {
|
|
16484
|
-
for (let o = 0; o < t.length; o++)
|
|
16485
|
-
if (t[o] && t[o][r] === e[r])
|
|
16486
|
-
return o;
|
|
16153
|
+
for (let o = 0; o < t.length; o++) if (t[o] && t[o][r] === e[r]) return o;
|
|
16487
16154
|
return -1;
|
|
16488
16155
|
}
|
|
16489
16156
|
return t.indexOf(e);
|
|
@@ -16511,8 +16178,7 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16511
16178
|
return;
|
|
16512
16179
|
}
|
|
16513
16180
|
t.splice(r, 1);
|
|
16514
|
-
} else
|
|
16515
|
-
t.push(e), a = !0;
|
|
16181
|
+
} else t.push(e), a = !0;
|
|
16516
16182
|
this.__updateSelection(t), this.__clearInternalValue(), this.__announceItem(o, a, t.length);
|
|
16517
16183
|
}
|
|
16518
16184
|
__updateSelection(e) {
|
|
@@ -16536,8 +16202,7 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16536
16202
|
return e.setAttribute("count", t), e.setAttribute("hidden", ""), e.style.visibility = "", o;
|
|
16537
16203
|
}
|
|
16538
16204
|
__updateChips() {
|
|
16539
|
-
if (!this._inputField || !this.inputElement)
|
|
16540
|
-
return;
|
|
16205
|
+
if (!this._inputField || !this.inputElement) return;
|
|
16541
16206
|
this._chips.forEach((n) => {
|
|
16542
16207
|
n.remove();
|
|
16543
16208
|
});
|
|
@@ -16556,8 +16221,7 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16556
16221
|
for (; n.length > 1; ) {
|
|
16557
16222
|
n.pop().remove(), s.unshift(e.pop());
|
|
16558
16223
|
const d = s.length > 0 ? r + this.__getOverflowWidth() : r;
|
|
16559
|
-
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d)
|
|
16560
|
-
break;
|
|
16224
|
+
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d) break;
|
|
16561
16225
|
}
|
|
16562
16226
|
n.length === 1 && (n[0].style.maxWidth = `${Math.max(a, o)}px`);
|
|
16563
16227
|
}
|
|
@@ -16566,13 +16230,11 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16566
16230
|
}
|
|
16567
16231
|
for (let n = e.length - 1, s = null; n >= 0; n--) {
|
|
16568
16232
|
const l = this.__createChip(e[n]);
|
|
16569
|
-
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o)
|
|
16570
|
-
|
|
16571
|
-
|
|
16572
|
-
|
|
16573
|
-
|
|
16574
|
-
break;
|
|
16575
|
-
}
|
|
16233
|
+
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o) if (s === null) l.style.maxWidth = `${Math.max(a, o)}px`;
|
|
16234
|
+
else {
|
|
16235
|
+
l.remove();
|
|
16236
|
+
break;
|
|
16237
|
+
}
|
|
16576
16238
|
e.pop(), s = l;
|
|
16577
16239
|
}
|
|
16578
16240
|
this._overflowItems = e;
|
|
@@ -16598,41 +16260,37 @@ class Wm extends xs(Cr(z(oe(k)))) {
|
|
|
16598
16260
|
_onKeyDown(e) {
|
|
16599
16261
|
super._onKeyDown(e);
|
|
16600
16262
|
const t = this._chips;
|
|
16601
|
-
if (!this.readonly && t.length > 0)
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16611
|
-
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
}
|
|
16263
|
+
if (!this.readonly && t.length > 0) switch (e.key) {
|
|
16264
|
+
case "Backspace":
|
|
16265
|
+
this._onBackSpace(t);
|
|
16266
|
+
break;
|
|
16267
|
+
case "ArrowLeft":
|
|
16268
|
+
this._onArrowLeft(t, e);
|
|
16269
|
+
break;
|
|
16270
|
+
case "ArrowRight":
|
|
16271
|
+
this._onArrowRight(t, e);
|
|
16272
|
+
break;
|
|
16273
|
+
default:
|
|
16274
|
+
this._focusedChipIndex = -1;
|
|
16275
|
+
break;
|
|
16276
|
+
}
|
|
16616
16277
|
}
|
|
16617
16278
|
_onArrowLeft(e, t) {
|
|
16618
|
-
if (this.inputElement.selectionStart !== 0)
|
|
16619
|
-
return;
|
|
16279
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
16620
16280
|
const r = this._focusedChipIndex;
|
|
16621
16281
|
r !== -1 && t.preventDefault();
|
|
16622
16282
|
let o;
|
|
16623
16283
|
this.__isRTL ? r === e.length - 1 ? o = -1 : r > -1 && (o = r + 1) : r === -1 ? o = e.length - 1 : r > 0 && (o = r - 1), o !== void 0 && (this._focusedChipIndex = o);
|
|
16624
16284
|
}
|
|
16625
16285
|
_onArrowRight(e, t) {
|
|
16626
|
-
if (this.inputElement.selectionStart !== 0)
|
|
16627
|
-
return;
|
|
16286
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
16628
16287
|
const r = this._focusedChipIndex;
|
|
16629
16288
|
r !== -1 && t.preventDefault();
|
|
16630
16289
|
let o;
|
|
16631
16290
|
this.__isRTL ? r === -1 ? o = e.length - 1 : r > 0 && (o = r - 1) : r === e.length - 1 ? o = -1 : r > -1 && (o = r + 1), o !== void 0 && (this._focusedChipIndex = o);
|
|
16632
16291
|
}
|
|
16633
16292
|
_onBackSpace(e) {
|
|
16634
|
-
if (this.inputElement.selectionStart !== 0)
|
|
16635
|
-
return;
|
|
16293
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
16636
16294
|
const t = this._focusedChipIndex;
|
|
16637
16295
|
t === -1 ? this._focusedChipIndex = e.length - 1 : (this.__removeItem(e[t].item), this._focusedChipIndex = -1);
|
|
16638
16296
|
}
|
|
@@ -17067,8 +16725,7 @@ class me extends Lt(fr(oe(k))) {
|
|
|
17067
16725
|
this.renderer && this.renderer(this._card, this);
|
|
17068
16726
|
}
|
|
17069
16727
|
_rendererChanged(e, t, r) {
|
|
17070
|
-
if (!r)
|
|
17071
|
-
return;
|
|
16728
|
+
if (!r) return;
|
|
17072
16729
|
const o = this._oldRenderer !== e;
|
|
17073
16730
|
this._oldRenderer = e, o && (r.innerHTML = "", delete r._$litPart$), t && (this._didAnimateNotificationAppend || this._animatedAppendNotificationCard(), this.requestContentUpdate());
|
|
17074
16731
|
}
|
|
@@ -17350,8 +17007,7 @@ const Jm = (i) => class extends ze(i) {
|
|
|
17350
17007
|
return Array.from(this.children);
|
|
17351
17008
|
}
|
|
17352
17009
|
_onKeyDown(e) {
|
|
17353
|
-
if (super._onKeyDown(e), e.metaKey || e.ctrlKey)
|
|
17354
|
-
return;
|
|
17010
|
+
if (super._onKeyDown(e), e.metaKey || e.ctrlKey) return;
|
|
17355
17011
|
const { key: t } = e, r = this._getItems() || [], o = r.indexOf(this.focused);
|
|
17356
17012
|
let a, n;
|
|
17357
17013
|
const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
|
|
@@ -17376,8 +17032,7 @@ const Jm = (i) => class extends ze(i) {
|
|
|
17376
17032
|
for (let s = 0; typeof n == "number" && s < a; s += 1, n += r || 1) {
|
|
17377
17033
|
n < 0 ? n = a - 1 : n >= a && (n = 0);
|
|
17378
17034
|
const l = e[n];
|
|
17379
|
-
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o))
|
|
17380
|
-
return n;
|
|
17035
|
+
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o)) return n;
|
|
17381
17036
|
}
|
|
17382
17037
|
return -1;
|
|
17383
17038
|
}
|
|
@@ -17436,8 +17091,7 @@ const Ts = (i) => class extends Jm(i) {
|
|
|
17436
17091
|
return e.filter((t) => t._hasVaadinItemMixin);
|
|
17437
17092
|
}
|
|
17438
17093
|
_onClick(e) {
|
|
17439
|
-
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented)
|
|
17440
|
-
return;
|
|
17094
|
+
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented) return;
|
|
17441
17095
|
const t = this._filterItems(e.composedPath())[0];
|
|
17442
17096
|
let r;
|
|
17443
17097
|
t && !t.disabled && (r = this.items.indexOf(t)) >= 0 && (this.selected = r);
|
|
@@ -17453,8 +17107,7 @@ const Ts = (i) => class extends Jm(i) {
|
|
|
17453
17107
|
return e.textContent.replace(/[^\p{L}\p{Nd}]/gu, "").toLowerCase().startsWith(this._searchBuf);
|
|
17454
17108
|
}
|
|
17455
17109
|
_onKeyDown(e) {
|
|
17456
|
-
if (e.metaKey || e.ctrlKey)
|
|
17457
|
-
return;
|
|
17110
|
+
if (e.metaKey || e.ctrlKey) return;
|
|
17458
17111
|
const t = e.key, r = this.items.indexOf(this.focused);
|
|
17459
17112
|
if (/[\p{L}\p{Nd}]/u.test(t) && t.length === 1) {
|
|
17460
17113
|
const o = this._searchKey(r, t);
|
|
@@ -17480,15 +17133,13 @@ const Ts = (i) => class extends Jm(i) {
|
|
|
17480
17133
|
}
|
|
17481
17134
|
_scrollToItem(e) {
|
|
17482
17135
|
const t = this.items[e];
|
|
17483
|
-
if (!t)
|
|
17484
|
-
return;
|
|
17136
|
+
if (!t) return;
|
|
17485
17137
|
const r = this._vertical ? ["top", "bottom"] : this._isRTL ? ["right", "left"] : ["left", "right"], o = this._scrollerElement.getBoundingClientRect(), a = (this.items[e + 1] || t).getBoundingClientRect(), n = (this.items[e - 1] || t).getBoundingClientRect();
|
|
17486
17138
|
let s = 0;
|
|
17487
17139
|
!this._isRTL && a[r[1]] >= o[r[1]] || this._isRTL && a[r[1]] <= o[r[1]] ? s = a[r[1]] - o[r[1]] : (!this._isRTL && n[r[0]] <= o[r[0]] || this._isRTL && n[r[0]] >= o[r[0]]) && (s = n[r[0]] - o[r[0]]), this._scroll(s);
|
|
17488
17140
|
}
|
|
17489
17141
|
_scroll(e) {
|
|
17490
|
-
if (this._vertical)
|
|
17491
|
-
this._scrollerElement.scrollTop += e;
|
|
17142
|
+
if (this._vertical) this._scrollerElement.scrollTop += e;
|
|
17492
17143
|
else {
|
|
17493
17144
|
const t = this.getAttribute("dir") || "ltr", r = Es(this._scrollerElement, t) + e;
|
|
17494
17145
|
Qm(this._scrollerElement, t, r);
|
|
@@ -17765,8 +17416,7 @@ const lf = (i) => class extends Lt(br($i(ze(yr(i))))) {
|
|
|
17765
17416
|
}
|
|
17766
17417
|
_onKeyDown(e) {
|
|
17767
17418
|
if (e.target === this.focusElement && !this.readonly && !this.disabled && !this.opened) {
|
|
17768
|
-
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key))
|
|
17769
|
-
e.preventDefault(), this.opened = !0;
|
|
17419
|
+
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key)) e.preventDefault(), this.opened = !0;
|
|
17770
17420
|
else if (/[\p{L}\p{Nd}]/u.test(e.key) && e.key.length === 1) {
|
|
17771
17421
|
const t = this._menuElement.selected, r = t !== void 0 ? t : -1, o = this._menuElement._searchKey(r, e.key);
|
|
17772
17422
|
o >= 0 && (this.__dispatchChangePending = !0, this._updateAriaLive(!0), this._menuElement.selected = o);
|
|
@@ -17786,8 +17436,7 @@ const lf = (i) => class extends Lt(br($i(ze(yr(i))))) {
|
|
|
17786
17436
|
this._updateAriaLive(!1), t.style.setProperty("--vaadin-select-text-field-width", `${r.offsetWidth}px`);
|
|
17787
17437
|
const o = this.hasAttribute("focus-ring");
|
|
17788
17438
|
this._openedWithFocusRing = o, o && this.removeAttribute("focus-ring");
|
|
17789
|
-
} else
|
|
17790
|
-
this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
17439
|
+
} else this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
17791
17440
|
this.__oldOpened = e;
|
|
17792
17441
|
}
|
|
17793
17442
|
}
|
|
@@ -17825,12 +17474,10 @@ const lf = (i) => class extends Lt(br($i(ze(yr(i))))) {
|
|
|
17825
17474
|
}
|
|
17826
17475
|
__updateValueButton() {
|
|
17827
17476
|
const e = this.focusElement;
|
|
17828
|
-
if (!e)
|
|
17829
|
-
return;
|
|
17477
|
+
if (!e) return;
|
|
17830
17478
|
e.innerHTML = "";
|
|
17831
17479
|
const t = this._items[this._menuElement.selected];
|
|
17832
|
-
if (e.removeAttribute("placeholder"), this._hasContent(t))
|
|
17833
|
-
this.__attachSelectedItem(t);
|
|
17480
|
+
if (e.removeAttribute("placeholder"), this._hasContent(t)) this.__attachSelectedItem(t);
|
|
17834
17481
|
else if (this.placeholder) {
|
|
17835
17482
|
const o = this.__createItemElement({ label: this.placeholder });
|
|
17836
17483
|
this.__appendValueItemElement(o, e), e.setAttribute("placeholder", "");
|
|
@@ -17840,8 +17487,7 @@ const lf = (i) => class extends Lt(br($i(ze(yr(i))))) {
|
|
|
17840
17487
|
qe(e, "aria-labelledby", r), (this.accessibleName || this.accessibleNameRef) && this._setCustomAriaLabelledBy(this.accessibleNameRef || this._srLabelController.defaultId);
|
|
17841
17488
|
}
|
|
17842
17489
|
_hasContent(e) {
|
|
17843
|
-
if (!e)
|
|
17844
|
-
return !1;
|
|
17490
|
+
if (!e) return !1;
|
|
17845
17491
|
const t = !!(e.hasAttribute("label") ? e.getAttribute("label") : e.textContent.trim()), r = e.childElementCount > 0;
|
|
17846
17492
|
return t || r;
|
|
17847
17493
|
}
|
|
@@ -19164,8 +18810,7 @@ const wf = (i) => class extends xs(Ts(i)) {
|
|
|
19164
18810
|
this.__direction * n < 1 && (n = this.__direction * (this._scrollOffset - a)), this._scroll(n);
|
|
19165
18811
|
}
|
|
19166
18812
|
_isItemVisible(e, t, r, o) {
|
|
19167
|
-
if (this._vertical)
|
|
19168
|
-
throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
18813
|
+
if (this._vertical) throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
19169
18814
|
const a = this.__isRTL ? r : t, n = this.__isRTL ? t : r, s = o.right - a, l = o.left + n, d = e.getBoundingClientRect();
|
|
19170
18815
|
return s > Math.floor(d.left) && l < Math.ceil(d.right);
|
|
19171
18816
|
}
|