@everymatrix/player-account-controller-nd 1.99.58 → 1.99.60
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
|
@@ -26,8 +26,8 @@ var Pr = (r, e, t) => new Promise((i, o) => {
|
|
|
26
26
|
}, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(n, a);
|
|
27
27
|
s((t = t.apply(r, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a as Ll, $ as Fl, S as Rl, i as Vl, s as Hl, f as he, b as Ul, n as Di, d as Ce, t as wt, q as _, c as ke, m as E, w as it, e as j, p as we, u as Ie, r as L, g as $l, h as Wl, o as ql, x as vt, j as mi, K as no, k as Fr, l as va, v as Yl, z as jl, A as Gl, B as Kl, C as Xl, D as Ql } from "./PlayerAccountControllerNd-
|
|
30
|
-
import "../lazy/player-bonus-card-
|
|
29
|
+
import { a as Ll, $ as Fl, S as Rl, i as Vl, s as Hl, f as he, b as Ul, n as Di, d as Ce, t as wt, q as _, c as ke, m as E, w as it, e as j, p as we, u as Ie, r as L, g as $l, h as Wl, o as ql, x as vt, j as mi, K as no, k as Fr, l as va, v as Yl, z as jl, A as Gl, B as Kl, C as Xl, D as Ql } from "./PlayerAccountControllerNd-BpyLuXtA.js";
|
|
30
|
+
import "../lazy/player-bonus-card-CmK7JuVs.js";
|
|
31
31
|
function Ue(r) {
|
|
32
32
|
"@babel/helpers - typeof";
|
|
33
33
|
return Ue = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
@@ -1153,11 +1153,9 @@ function zd(r, e) {
|
|
|
1153
1153
|
function Bd(r) {
|
|
1154
1154
|
return function(e) {
|
|
1155
1155
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = e.match(r.matchPattern);
|
|
1156
|
-
if (!i)
|
|
1157
|
-
return null;
|
|
1156
|
+
if (!i) return null;
|
|
1158
1157
|
var o = i[0], n = e.match(r.parsePattern);
|
|
1159
|
-
if (!n)
|
|
1160
|
-
return null;
|
|
1158
|
+
if (!n) return null;
|
|
1161
1159
|
var a = r.valueCallback ? r.valueCallback(n[0]) : n[0];
|
|
1162
1160
|
a = t.valueCallback ? t.valueCallback(a) : a;
|
|
1163
1161
|
var s = e.slice(o.length);
|
|
@@ -1320,14 +1318,12 @@ function Wf(r) {
|
|
|
1320
1318
|
}
|
|
1321
1319
|
function an(r, e) {
|
|
1322
1320
|
(e == null || e > r.length) && (e = r.length);
|
|
1323
|
-
for (var t = 0, i = Array(e); t < e; t++)
|
|
1324
|
-
i[t] = r[t];
|
|
1321
|
+
for (var t = 0, i = Array(e); t < e; t++) i[t] = r[t];
|
|
1325
1322
|
return i;
|
|
1326
1323
|
}
|
|
1327
1324
|
function ic(r, e) {
|
|
1328
1325
|
if (r) {
|
|
1329
|
-
if (typeof r == "string")
|
|
1330
|
-
return an(r, e);
|
|
1326
|
+
if (typeof r == "string") return an(r, e);
|
|
1331
1327
|
var t = {}.toString.call(r).slice(8, -1);
|
|
1332
1328
|
return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? an(r, e) : void 0;
|
|
1333
1329
|
}
|
|
@@ -1374,15 +1370,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1374
1370
|
try {
|
|
1375
1371
|
a || t.return == null || t.return();
|
|
1376
1372
|
} finally {
|
|
1377
|
-
if (s)
|
|
1378
|
-
throw n;
|
|
1373
|
+
if (s) throw n;
|
|
1379
1374
|
}
|
|
1380
1375
|
}
|
|
1381
1376
|
};
|
|
1382
1377
|
}
|
|
1383
1378
|
function y(r) {
|
|
1384
|
-
if (r === void 0)
|
|
1385
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1379
|
+
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1386
1380
|
return r;
|
|
1387
1381
|
}
|
|
1388
1382
|
function Mi(r, e) {
|
|
@@ -1391,8 +1385,7 @@ function Mi(r, e) {
|
|
|
1391
1385
|
}, Mi(r, e);
|
|
1392
1386
|
}
|
|
1393
1387
|
function F(r, e) {
|
|
1394
|
-
if (typeof e != "function" && e !== null)
|
|
1395
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
1388
|
+
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
|
1396
1389
|
r.prototype = Object.create(e && e.prototype, {
|
|
1397
1390
|
constructor: {
|
|
1398
1391
|
value: r,
|
|
@@ -1419,10 +1412,8 @@ function Aa() {
|
|
|
1419
1412
|
})();
|
|
1420
1413
|
}
|
|
1421
1414
|
function oc(r, e) {
|
|
1422
|
-
if (e && (Ue(e) == "object" || typeof e == "function"))
|
|
1423
|
-
|
|
1424
|
-
if (e !== void 0)
|
|
1425
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1415
|
+
if (e && (Ue(e) == "object" || typeof e == "function")) return e;
|
|
1416
|
+
if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
1426
1417
|
return y(r);
|
|
1427
1418
|
}
|
|
1428
1419
|
function R(r) {
|
|
@@ -1432,23 +1423,19 @@ function R(r) {
|
|
|
1432
1423
|
if (e) {
|
|
1433
1424
|
var o = Vr(this).constructor;
|
|
1434
1425
|
t = Reflect.construct(i, arguments, o);
|
|
1435
|
-
} else
|
|
1436
|
-
t = i.apply(this, arguments);
|
|
1426
|
+
} else t = i.apply(this, arguments);
|
|
1437
1427
|
return oc(this, t);
|
|
1438
1428
|
};
|
|
1439
1429
|
}
|
|
1440
1430
|
function M(r, e) {
|
|
1441
|
-
if (!(r instanceof e))
|
|
1442
|
-
throw new TypeError("Cannot call a class as a function");
|
|
1431
|
+
if (!(r instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
1443
1432
|
}
|
|
1444
1433
|
function nc(r, e) {
|
|
1445
|
-
if (Ue(r) != "object" || !r)
|
|
1446
|
-
return r;
|
|
1434
|
+
if (Ue(r) != "object" || !r) return r;
|
|
1447
1435
|
var t;
|
|
1448
1436
|
if (typeof Symbol != "undefined" && (t = r[Symbol.toPrimitive]) !== void 0) {
|
|
1449
1437
|
var i = t.call(r, e);
|
|
1450
|
-
if (Ue(i) != "object")
|
|
1451
|
-
return i;
|
|
1438
|
+
if (Ue(i) != "object") return i;
|
|
1452
1439
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1453
1440
|
}
|
|
1454
1441
|
return (e === "string" ? String : Number)(r);
|
|
@@ -3164,8 +3151,7 @@ function ln(r, e, t, i) {
|
|
|
3164
3151
|
};
|
|
3165
3152
|
for (S.s(); !(ne = S.n()).done; ) {
|
|
3166
3153
|
var fe = De();
|
|
3167
|
-
if (Ue(fe) === "object")
|
|
3168
|
-
return fe.v;
|
|
3154
|
+
if (Ue(fe) === "object") return fe.v;
|
|
3169
3155
|
}
|
|
3170
3156
|
} catch (Q) {
|
|
3171
3157
|
S.e(Q);
|
|
@@ -3338,13 +3324,10 @@ function ou(r, e, t) {
|
|
|
3338
3324
|
});
|
|
3339
3325
|
}
|
|
3340
3326
|
var nu = Object.defineProperty, au = Object.defineProperties, su = Object.getOwnPropertyDescriptors, hn = Object.getOwnPropertySymbols, lu = Object.prototype.hasOwnProperty, du = Object.prototype.propertyIsEnumerable, Ni = (r, e, t) => e in r ? nu(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ur = (r, e) => {
|
|
3341
|
-
for (var t in e || (e = {}))
|
|
3342
|
-
|
|
3343
|
-
if (hn)
|
|
3344
|
-
for (var t of hn(e))
|
|
3345
|
-
du.call(e, t) && Ni(r, t, e[t]);
|
|
3327
|
+
for (var t in e || (e = {})) lu.call(e, t) && Ni(r, t, e[t]);
|
|
3328
|
+
if (hn) for (var t of hn(e)) du.call(e, t) && Ni(r, t, e[t]);
|
|
3346
3329
|
return r;
|
|
3347
|
-
}, Ma = (r, e) => au(r, su(e)), pe = (r, e, t) =>
|
|
3330
|
+
}, Ma = (r, e) => au(r, su(e)), pe = (r, e, t) => Ni(r, typeof e != "symbol" ? e + "" : e, t), $r = (r, e, t) => new Promise((i, o) => {
|
|
3348
3331
|
var n = (l) => {
|
|
3349
3332
|
try {
|
|
3350
3333
|
s(t.next(l));
|
|
@@ -3370,8 +3353,7 @@ function A(r, e = "24.5.10") {
|
|
|
3370
3353
|
return e;
|
|
3371
3354
|
} });
|
|
3372
3355
|
const t = customElements.get(r.is);
|
|
3373
|
-
if (!t)
|
|
3374
|
-
customElements.define(r.is, r);
|
|
3356
|
+
if (!t) customElements.define(r.is, r);
|
|
3375
3357
|
else {
|
|
3376
3358
|
const i = t.version;
|
|
3377
3359
|
i && r.version && i === r.version ? console.warn(`The component ${r.is} has been loaded twice`) : console.error(`Tried to define ${r.is} version ${r.version} when version ${t.version} is already in use. Something will probably break.`);
|
|
@@ -3396,8 +3378,7 @@ A(cu);
|
|
|
3396
3378
|
const zr = globalThis, co = zr.ShadowRoot && (zr.ShadyCSS === void 0 || zr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, uo = Symbol(), pn = /* @__PURE__ */ new WeakMap();
|
|
3397
3379
|
let ho = class {
|
|
3398
3380
|
constructor(r, e, t) {
|
|
3399
|
-
if (this._$cssResult$ = !0, t !== uo)
|
|
3400
|
-
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
3381
|
+
if (this._$cssResult$ = !0, t !== uo) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
3401
3382
|
this.cssText = r, this.t = e;
|
|
3402
3383
|
}
|
|
3403
3384
|
get styleSheet() {
|
|
@@ -3415,25 +3396,20 @@ let ho = class {
|
|
|
3415
3396
|
};
|
|
3416
3397
|
const uu = (r) => new ho(typeof r == "string" ? r : r + "", void 0, uo), g = (r, ...e) => {
|
|
3417
3398
|
const t = r.length === 1 ? r[0] : e.reduce((i, o, n) => i + ((a) => {
|
|
3418
|
-
if (a._$cssResult$ === !0)
|
|
3419
|
-
|
|
3420
|
-
if (typeof a == "number")
|
|
3421
|
-
return a;
|
|
3399
|
+
if (a._$cssResult$ === !0) return a.cssText;
|
|
3400
|
+
if (typeof a == "number") return a;
|
|
3422
3401
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + a + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
3423
3402
|
})(o) + r[n + 1], r[0]);
|
|
3424
3403
|
return new ho(t, r, uo);
|
|
3425
3404
|
}, Na = (r, e) => {
|
|
3426
|
-
if (co)
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
o !== void 0 && i.setAttribute("nonce", o), i.textContent = t.cssText, r.appendChild(i);
|
|
3432
|
-
}
|
|
3405
|
+
if (co) r.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
3406
|
+
else for (const t of e) {
|
|
3407
|
+
const i = document.createElement("style"), o = zr.litNonce;
|
|
3408
|
+
o !== void 0 && i.setAttribute("nonce", o), i.textContent = t.cssText, r.appendChild(i);
|
|
3409
|
+
}
|
|
3433
3410
|
}, mn = co ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((e) => {
|
|
3434
3411
|
let t = "";
|
|
3435
|
-
for (const i of e.cssRules)
|
|
3436
|
-
t += i.cssText;
|
|
3412
|
+
for (const i of e.cssRules) t += i.cssText;
|
|
3437
3413
|
return uu(t);
|
|
3438
3414
|
})(r) : r;
|
|
3439
3415
|
/**
|
|
@@ -3502,25 +3478,20 @@ let yt = class extends HTMLElement {
|
|
|
3502
3478
|
return (e = this.elementProperties.get(r)) != null ? e : vn;
|
|
3503
3479
|
}
|
|
3504
3480
|
static _$Ei() {
|
|
3505
|
-
if (this.hasOwnProperty(Zt("elementProperties")))
|
|
3506
|
-
return;
|
|
3481
|
+
if (this.hasOwnProperty(Zt("elementProperties"))) return;
|
|
3507
3482
|
const r = vu(this);
|
|
3508
3483
|
r.finalize(), r.l !== void 0 && (this.l = [...r.l]), this.elementProperties = new Map(r.elementProperties);
|
|
3509
3484
|
}
|
|
3510
3485
|
static finalize() {
|
|
3511
|
-
if (this.hasOwnProperty(Zt("finalized")))
|
|
3512
|
-
return;
|
|
3486
|
+
if (this.hasOwnProperty(Zt("finalized"))) return;
|
|
3513
3487
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Zt("properties"))) {
|
|
3514
3488
|
const e = this.properties, t = [..._u(e), ...fu(e)];
|
|
3515
|
-
for (const i of t)
|
|
3516
|
-
this.createProperty(i, e[i]);
|
|
3489
|
+
for (const i of t) this.createProperty(i, e[i]);
|
|
3517
3490
|
}
|
|
3518
3491
|
const r = this[Symbol.metadata];
|
|
3519
3492
|
if (r !== null) {
|
|
3520
3493
|
const e = litPropertyMetadata.get(r);
|
|
3521
|
-
if (e !== void 0)
|
|
3522
|
-
for (const [t, i] of e)
|
|
3523
|
-
this.elementProperties.set(t, i);
|
|
3494
|
+
if (e !== void 0) for (const [t, i] of e) this.elementProperties.set(t, i);
|
|
3524
3495
|
}
|
|
3525
3496
|
this._$Eh = /* @__PURE__ */ new Map();
|
|
3526
3497
|
for (const [e, t] of this.elementProperties) {
|
|
@@ -3533,10 +3504,8 @@ let yt = class extends HTMLElement {
|
|
|
3533
3504
|
const e = [];
|
|
3534
3505
|
if (Array.isArray(r)) {
|
|
3535
3506
|
const t = new Set(r.flat(1 / 0).reverse());
|
|
3536
|
-
for (const i of t)
|
|
3537
|
-
|
|
3538
|
-
} else
|
|
3539
|
-
r !== void 0 && e.push(mn(r));
|
|
3507
|
+
for (const i of t) e.unshift(mn(i));
|
|
3508
|
+
} else r !== void 0 && e.push(mn(r));
|
|
3540
3509
|
return e;
|
|
3541
3510
|
}
|
|
3542
3511
|
static _$Eu(r, e) {
|
|
@@ -3560,8 +3529,7 @@ let yt = class extends HTMLElement {
|
|
|
3560
3529
|
}
|
|
3561
3530
|
_$E_() {
|
|
3562
3531
|
const r = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
|
3563
|
-
for (const t of e.keys())
|
|
3564
|
-
this.hasOwnProperty(t) && (r.set(t, this[t]), delete this[t]);
|
|
3532
|
+
for (const t of e.keys()) this.hasOwnProperty(t) && (r.set(t, this[t]), delete this[t]);
|
|
3565
3533
|
r.size > 0 && (this._$Ep = r);
|
|
3566
3534
|
}
|
|
3567
3535
|
createRenderRoot() {
|
|
@@ -3610,8 +3578,7 @@ let yt = class extends HTMLElement {
|
|
|
3610
3578
|
var n, a;
|
|
3611
3579
|
if (r !== void 0) {
|
|
3612
3580
|
const s = this.constructor;
|
|
3613
|
-
if (i === !1 && (o = this[r]), t != null || (t = s.getPropertyOptions(r)), !(((n = t.hasChanged) != null ? n : za)(o, e) || t.useDefault && t.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(r)) && !this.hasAttribute(s._$Eu(r, t))))
|
|
3614
|
-
return;
|
|
3581
|
+
if (i === !1 && (o = this[r]), t != null || (t = s.getPropertyOptions(r)), !(((n = t.hasChanged) != null ? n : za)(o, e) || t.useDefault && t.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(r)) && !this.hasAttribute(s._$Eu(r, t)))) return;
|
|
3615
3582
|
this.C(r, e, t);
|
|
3616
3583
|
}
|
|
3617
3584
|
this.isUpdatePending === !1 && (this._$ES = this._$EP());
|
|
@@ -3637,20 +3604,17 @@ let yt = class extends HTMLElement {
|
|
|
3637
3604
|
}
|
|
3638
3605
|
performUpdate() {
|
|
3639
3606
|
var r;
|
|
3640
|
-
if (!this.isUpdatePending)
|
|
3641
|
-
return;
|
|
3607
|
+
if (!this.isUpdatePending) return;
|
|
3642
3608
|
if (!this.hasUpdated) {
|
|
3643
3609
|
if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
|
3644
|
-
for (const [o, n] of this._$Ep)
|
|
3645
|
-
this[o] = n;
|
|
3610
|
+
for (const [o, n] of this._$Ep) this[o] = n;
|
|
3646
3611
|
this._$Ep = void 0;
|
|
3647
3612
|
}
|
|
3648
3613
|
const i = this.constructor.elementProperties;
|
|
3649
|
-
if (i.size > 0)
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
}
|
|
3614
|
+
if (i.size > 0) for (const [o, n] of i) {
|
|
3615
|
+
const { wrapped: a } = n, s = this[o];
|
|
3616
|
+
a !== !0 || this._$AL.has(o) || s === void 0 || this.C(o, void 0, n, s);
|
|
3617
|
+
}
|
|
3654
3618
|
}
|
|
3655
3619
|
let e = !1;
|
|
3656
3620
|
const t = this._$AL;
|
|
@@ -3704,8 +3668,7 @@ const Wr = globalThis, bn = (r) => r, qr = Wr.trustedTypes, yn = qr ? qr.createP
|
|
|
3704
3668
|
\f\r]`, qt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wn = /-->/g, xn = />/g, tt = RegExp(`>|${fi}(?:([^\\s"'>=/]+)(${fi}*=${fi}*(?:[^
|
|
3705
3669
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Cn = /'/g, kn = /"/g, Fa = /^(?:script|style|textarea|title)$/i, It = Symbol.for("lit-noChange"), le = Symbol.for("lit-nothing"), En = /* @__PURE__ */ new WeakMap(), ot = lt.createTreeWalker(lt, 129);
|
|
3706
3670
|
function Ra(r, e) {
|
|
3707
|
-
if (!po(r) || !r.hasOwnProperty("raw"))
|
|
3708
|
-
throw Error("invalid template strings array");
|
|
3671
|
+
if (!po(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
3709
3672
|
return yn !== void 0 ? yn.createHTML(e) : e;
|
|
3710
3673
|
}
|
|
3711
3674
|
const wu = (r, e) => {
|
|
@@ -3714,8 +3677,7 @@ const wu = (r, e) => {
|
|
|
3714
3677
|
for (let s = 0; s < t; s++) {
|
|
3715
3678
|
const l = r[s];
|
|
3716
3679
|
let d, c, u = -1, h = 0;
|
|
3717
|
-
for (; h < l.length && (a.lastIndex = h, c = a.exec(l), c !== null); )
|
|
3718
|
-
h = a.lastIndex, a === qt ? c[1] === "!--" ? a = wn : c[1] !== void 0 ? a = xn : c[2] !== void 0 ? (Fa.test(c[2]) && (o = RegExp("</" + c[2], "g")), a = tt) : c[3] !== void 0 && (a = tt) : a === tt ? c[0] === ">" ? (a = o != null ? o : qt, u = -1) : c[1] === void 0 ? u = -2 : (u = a.lastIndex - c[2].length, d = c[1], a = c[3] === void 0 ? tt : c[3] === '"' ? kn : Cn) : a === kn || a === Cn ? a = tt : a === wn || a === xn ? a = qt : (a = tt, o = void 0);
|
|
3680
|
+
for (; h < l.length && (a.lastIndex = h, c = a.exec(l), c !== null); ) h = a.lastIndex, a === qt ? c[1] === "!--" ? a = wn : c[1] !== void 0 ? a = xn : c[2] !== void 0 ? (Fa.test(c[2]) && (o = RegExp("</" + c[2], "g")), a = tt) : c[3] !== void 0 && (a = tt) : a === tt ? c[0] === ">" ? (a = o != null ? o : qt, u = -1) : c[1] === void 0 ? u = -2 : (u = a.lastIndex - c[2].length, d = c[1], a = c[3] === void 0 ? tt : c[3] === '"' ? kn : Cn) : a === kn || a === Cn ? a = tt : a === wn || a === xn ? a = qt : (a = tt, o = void 0);
|
|
3719
3681
|
const p = a === tt && r[s + 1].startsWith("/>") ? " " : "";
|
|
3720
3682
|
n += a === qt ? l + bu : u >= 0 ? (i.push(d), l.slice(0, u) + Ba + l.slice(u) + je + p) : l + je + (u === -2 ? s : p);
|
|
3721
3683
|
}
|
|
@@ -3733,30 +3695,23 @@ class ir {
|
|
|
3733
3695
|
}
|
|
3734
3696
|
for (; (o = ot.nextNode()) !== null && l.length < s; ) {
|
|
3735
3697
|
if (o.nodeType === 1) {
|
|
3736
|
-
if (o.hasAttributes())
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
l.push({ type: 1, index: n, name: m[2], strings: p, ctor: m[1] === "." ? Cu : m[1] === "?" ? ku : m[1] === "@" ? Eu : ti }), o.removeAttribute(u);
|
|
3741
|
-
} else
|
|
3742
|
-
u.startsWith(je) && (l.push({ type: 6, index: n }), o.removeAttribute(u));
|
|
3698
|
+
if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(Ba)) {
|
|
3699
|
+
const h = c[a++], p = o.getAttribute(u).split(je), m = /([.?@])?(.*)/.exec(h);
|
|
3700
|
+
l.push({ type: 1, index: n, name: m[2], strings: p, ctor: m[1] === "." ? Cu : m[1] === "?" ? ku : m[1] === "@" ? Eu : ti }), o.removeAttribute(u);
|
|
3701
|
+
} else u.startsWith(je) && (l.push({ type: 6, index: n }), o.removeAttribute(u));
|
|
3743
3702
|
if (Fa.test(o.tagName)) {
|
|
3744
3703
|
const u = o.textContent.split(je), h = u.length - 1;
|
|
3745
3704
|
if (h > 0) {
|
|
3746
3705
|
o.textContent = qr ? qr.emptyScript : "";
|
|
3747
|
-
for (let p = 0; p < h; p++)
|
|
3748
|
-
o.append(u[p], tr()), ot.nextNode(), l.push({ type: 2, index: ++n });
|
|
3706
|
+
for (let p = 0; p < h; p++) o.append(u[p], tr()), ot.nextNode(), l.push({ type: 2, index: ++n });
|
|
3749
3707
|
o.append(u[h], tr());
|
|
3750
3708
|
}
|
|
3751
3709
|
}
|
|
3752
|
-
} else if (o.nodeType === 8)
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
for (; (u = o.data.indexOf(je, u + 1)) !== -1; )
|
|
3758
|
-
l.push({ type: 7, index: n }), u += je.length - 1;
|
|
3759
|
-
}
|
|
3710
|
+
} else if (o.nodeType === 8) if (o.data === La) l.push({ type: 2, index: n });
|
|
3711
|
+
else {
|
|
3712
|
+
let u = -1;
|
|
3713
|
+
for (; (u = o.data.indexOf(je, u + 1)) !== -1; ) l.push({ type: 7, index: n }), u += je.length - 1;
|
|
3714
|
+
}
|
|
3760
3715
|
n++;
|
|
3761
3716
|
}
|
|
3762
3717
|
}
|
|
@@ -3767,8 +3722,7 @@ class ir {
|
|
|
3767
3722
|
}
|
|
3768
3723
|
function St(r, e, t = r, i) {
|
|
3769
3724
|
var o, n, a;
|
|
3770
|
-
if (e === It)
|
|
3771
|
-
return e;
|
|
3725
|
+
if (e === It) return e;
|
|
3772
3726
|
let s = i !== void 0 ? (o = t._$Co) == null ? void 0 : o[i] : t._$Cl;
|
|
3773
3727
|
const l = rr(e) ? void 0 : e._$litDirective$;
|
|
3774
3728
|
return (s == null ? void 0 : s.constructor) !== l && ((n = s == null ? void 0 : s._$AO) == null || n.call(s, !1), l === void 0 ? s = void 0 : (s = new l(r), s._$AT(r, t, i)), i !== void 0 ? ((a = t._$Co) != null ? a : t._$Co = [])[i] = s : t._$Cl = s), s !== void 0 && (e = St(r, s._$AS(r, e.values), s, i)), e;
|
|
@@ -3799,8 +3753,7 @@ class xu {
|
|
|
3799
3753
|
}
|
|
3800
3754
|
p(e) {
|
|
3801
3755
|
let t = 0;
|
|
3802
|
-
for (const i of this._$AV)
|
|
3803
|
-
i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
|
|
3756
|
+
for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
|
|
3804
3757
|
}
|
|
3805
3758
|
}
|
|
3806
3759
|
class pr {
|
|
@@ -3838,8 +3791,7 @@ class pr {
|
|
|
3838
3791
|
$(e) {
|
|
3839
3792
|
var t;
|
|
3840
3793
|
const { values: i, _$litType$: o } = e, n = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = ir.createElement(Ra(o.h, o.h[0]), this.options)), o);
|
|
3841
|
-
if (((t = this._$AH) == null ? void 0 : t._$AD) === n)
|
|
3842
|
-
this._$AH.p(i);
|
|
3794
|
+
if (((t = this._$AH) == null ? void 0 : t._$AD) === n) this._$AH.p(i);
|
|
3843
3795
|
else {
|
|
3844
3796
|
const a = new xu(n, this), s = a.u(this.options);
|
|
3845
3797
|
a.p(i), this.T(s), this._$AH = a;
|
|
@@ -3853,8 +3805,7 @@ class pr {
|
|
|
3853
3805
|
po(this._$AH) || (this._$AH = [], this._$AR());
|
|
3854
3806
|
const t = this._$AH;
|
|
3855
3807
|
let i, o = 0;
|
|
3856
|
-
for (const n of e)
|
|
3857
|
-
o === t.length ? t.push(i = new pr(this.O(tr()), this.O(tr()), this, this.options)) : i = t[o], i._$AI(n), o++;
|
|
3808
|
+
for (const n of e) o === t.length ? t.push(i = new pr(this.O(tr()), this.O(tr()), this, this.options)) : i = t[o], i._$AI(n), o++;
|
|
3858
3809
|
o < t.length && (this._$AR(i && i._$AB.nextSibling, o), t.length = o);
|
|
3859
3810
|
}
|
|
3860
3811
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -3882,13 +3833,11 @@ class ti {
|
|
|
3882
3833
|
_$AI(e, t = this, i, o) {
|
|
3883
3834
|
const n = this.strings;
|
|
3884
3835
|
let a = !1;
|
|
3885
|
-
if (n === void 0)
|
|
3886
|
-
e = St(this, e, t, 0), a = !rr(e) || e !== this._$AH && e !== It, a && (this._$AH = e);
|
|
3836
|
+
if (n === void 0) e = St(this, e, t, 0), a = !rr(e) || e !== this._$AH && e !== It, a && (this._$AH = e);
|
|
3887
3837
|
else {
|
|
3888
3838
|
const s = e;
|
|
3889
3839
|
let l, d;
|
|
3890
|
-
for (e = n[0], l = 0; l < n.length - 1; l++)
|
|
3891
|
-
d = St(this, s[i + l], t, l), d === It && (d = this._$AH[l]), a || (a = !rr(d) || d !== this._$AH[l]), d === le ? e = le : e !== le && (e += (d != null ? d : "") + n[l + 1]), this._$AH[l] = d;
|
|
3840
|
+
for (e = n[0], l = 0; l < n.length - 1; l++) d = St(this, s[i + l], t, l), d === It && (d = this._$AH[l]), a || (a = !rr(d) || d !== this._$AH[l]), d === le ? e = le : e !== le && (e += (d != null ? d : "") + n[l + 1]), this._$AH[l] = d;
|
|
3892
3841
|
}
|
|
3893
3842
|
a && !o && this.j(e);
|
|
3894
3843
|
}
|
|
@@ -3918,8 +3867,7 @@ class Eu extends ti {
|
|
|
3918
3867
|
}
|
|
3919
3868
|
_$AI(e, t = this) {
|
|
3920
3869
|
var i;
|
|
3921
|
-
if ((e = (i = St(this, e, t, 0)) != null ? i : le) === It)
|
|
3922
|
-
return;
|
|
3870
|
+
if ((e = (i = St(this, e, t, 0)) != null ? i : le) === It) return;
|
|
3923
3871
|
const o = this._$AH, n = e === le && o !== le || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, a = e !== le && (o === le || n);
|
|
3924
3872
|
n && this.element.removeEventListener(this.name, this, o), a && this.element.addEventListener(this.name, this, e), this._$AH = e;
|
|
3925
3873
|
}
|
|
@@ -4033,11 +3981,9 @@ function Iu(r, e) {
|
|
|
4033
3981
|
t.id = Yr, t.textContent = Wa(r), e.content.appendChild(t);
|
|
4034
3982
|
}
|
|
4035
3983
|
function Su(r) {
|
|
4036
|
-
if (!r.shadowRoot)
|
|
4037
|
-
return;
|
|
3984
|
+
if (!r.shadowRoot) return;
|
|
4038
3985
|
const e = r.constructor;
|
|
4039
|
-
if (r instanceof xt)
|
|
4040
|
-
[...r.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Na(r.shadowRoot, e.elementStyles);
|
|
3986
|
+
if (r instanceof xt) [...r.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Na(r.shadowRoot, e.elementStyles);
|
|
4041
3987
|
else {
|
|
4042
3988
|
const t = r.shadowRoot.getElementById(Yr), i = e.prototype._template;
|
|
4043
3989
|
t.textContent = i.content.getElementById(Yr).textContent;
|
|
@@ -4050,8 +3996,7 @@ function Du(r) {
|
|
|
4050
3996
|
});
|
|
4051
3997
|
}
|
|
4052
3998
|
function qa(r) {
|
|
4053
|
-
if (r.prototype instanceof xt)
|
|
4054
|
-
r.elementStyles = r.finalizeStyles(r.styles);
|
|
3999
|
+
if (r.prototype instanceof xt) r.elementStyles = r.finalizeStyles(r.styles);
|
|
4055
4000
|
else {
|
|
4056
4001
|
const e = r.prototype._template;
|
|
4057
4002
|
e.content.getElementById(Yr).textContent = Wa(r.getStylesForThis());
|
|
@@ -4096,8 +4041,7 @@ const q = (r) => class extends ri(r) {
|
|
|
4096
4041
|
super(), Bi.add(new WeakRef(this));
|
|
4097
4042
|
}
|
|
4098
4043
|
static finalize() {
|
|
4099
|
-
if (super.finalize(), this.is && mo.add(this.is), this.elementStyles)
|
|
4100
|
-
return;
|
|
4044
|
+
if (super.finalize(), this.is && mo.add(this.is), this.elementStyles) return;
|
|
4101
4045
|
const e = this.prototype._template;
|
|
4102
4046
|
!e || Ua(this) || Iu(this.getStylesForThis(), e);
|
|
4103
4047
|
}
|
|
@@ -5004,8 +4948,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
5004
4948
|
*/
|
|
5005
4949
|
let Wu = /(url\()([^)]*)(\))/g, qu = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Ar, ye;
|
|
5006
4950
|
function er(r, e) {
|
|
5007
|
-
if (r && qu.test(r) || r === "//")
|
|
5008
|
-
return r;
|
|
4951
|
+
if (r && qu.test(r) || r === "//") return r;
|
|
5009
4952
|
if (Ar === void 0) {
|
|
5010
4953
|
Ar = !1;
|
|
5011
4954
|
try {
|
|
@@ -5014,12 +4957,11 @@ function er(r, e) {
|
|
|
5014
4957
|
} catch (t) {
|
|
5015
4958
|
}
|
|
5016
4959
|
}
|
|
5017
|
-
if (e || (e = document.baseURI || window.location.href), Ar)
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
}
|
|
4960
|
+
if (e || (e = document.baseURI || window.location.href), Ar) try {
|
|
4961
|
+
return new URL(r, e).href;
|
|
4962
|
+
} catch (t) {
|
|
4963
|
+
return r;
|
|
4964
|
+
}
|
|
5023
4965
|
return ye || (ye = document.implementation.createHTMLDocument("temp"), ye.base = ye.createElement("base"), ye.head.appendChild(ye.base), ye.anchor = ye.createElement("a"), ye.body.appendChild(ye.anchor)), ye.base.href = e, ye.anchor.href = r, ye.anchor.href || r;
|
|
5024
4966
|
}
|
|
5025
4967
|
function _o(r, e) {
|
|
@@ -5072,8 +5014,7 @@ const oe = function(r) {
|
|
|
5072
5014
|
let t = Zu++;
|
|
5073
5015
|
function i(o) {
|
|
5074
5016
|
let n = o.__mixinSet;
|
|
5075
|
-
if (n && n[t])
|
|
5076
|
-
return o;
|
|
5017
|
+
if (n && n[t]) return o;
|
|
5077
5018
|
let a = e, s = a.get(o);
|
|
5078
5019
|
if (!s) {
|
|
5079
5020
|
s = r(o), a.set(o, s);
|
|
@@ -5126,8 +5067,7 @@ class nr extends HTMLElement {
|
|
|
5126
5067
|
}
|
|
5127
5068
|
register(e) {
|
|
5128
5069
|
if (e = e || this.id, e) {
|
|
5129
|
-
if (Gr && Nn(e) !== void 0)
|
|
5130
|
-
throw Mn(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5070
|
+
if (Gr && Nn(e) !== void 0) throw Mn(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
|
|
5131
5071
|
this.id = e, Mn(e, this), eh(this);
|
|
5132
5072
|
}
|
|
5133
5073
|
}
|
|
@@ -5154,14 +5094,12 @@ function Bn(r) {
|
|
|
5154
5094
|
}
|
|
5155
5095
|
function ih(r) {
|
|
5156
5096
|
const e = r.trim().split(/\s+/), t = [];
|
|
5157
|
-
for (let i = 0; i < e.length; i++)
|
|
5158
|
-
t.push(...oh(e[i]));
|
|
5097
|
+
for (let i = 0; i < e.length; i++) t.push(...oh(e[i]));
|
|
5159
5098
|
return t;
|
|
5160
5099
|
}
|
|
5161
5100
|
function oh(r) {
|
|
5162
5101
|
const e = Qa(r);
|
|
5163
|
-
if (!e)
|
|
5164
|
-
return console.warn("Could not find style data in module named", r), [];
|
|
5102
|
+
if (!e) return console.warn("Could not find style data in module named", r), [];
|
|
5165
5103
|
if (e._styles === void 0) {
|
|
5166
5104
|
const t = [];
|
|
5167
5105
|
t.push(...Za(e));
|
|
@@ -5196,8 +5134,7 @@ function Za(r) {
|
|
|
5196
5134
|
if (a && !n._unscopedStyle) {
|
|
5197
5135
|
const s = Bn(n);
|
|
5198
5136
|
s.setAttribute(zn, ""), n._unscopedStyle = s;
|
|
5199
|
-
} else
|
|
5200
|
-
n._style || (n._style = Bn(n));
|
|
5137
|
+
} else n._style || (n._style = Bn(n));
|
|
5201
5138
|
e.push(a ? n._unscopedStyle : n._style);
|
|
5202
5139
|
}
|
|
5203
5140
|
}
|
|
@@ -5246,12 +5183,10 @@ function Xt(r) {
|
|
|
5246
5183
|
let e = [];
|
|
5247
5184
|
for (let t = 0; t < r.length; t++) {
|
|
5248
5185
|
let i = r[t].toString().split(".");
|
|
5249
|
-
for (let o = 0; o < i.length; o++)
|
|
5250
|
-
e.push(i[o]);
|
|
5186
|
+
for (let o = 0; o < i.length; o++) e.push(i[o]);
|
|
5251
5187
|
}
|
|
5252
5188
|
return e.join(".");
|
|
5253
|
-
} else
|
|
5254
|
-
return r;
|
|
5189
|
+
} else return r;
|
|
5255
5190
|
}
|
|
5256
5191
|
function ts(r) {
|
|
5257
5192
|
return Array.isArray(r) ? Xt(r).split(".") : r.toString().split(".");
|
|
@@ -5259,8 +5194,7 @@ function ts(r) {
|
|
|
5259
5194
|
function ve(r, e, t) {
|
|
5260
5195
|
let i = r, o = ts(e);
|
|
5261
5196
|
for (let n = 0; n < o.length; n++) {
|
|
5262
|
-
if (!i)
|
|
5263
|
-
return;
|
|
5197
|
+
if (!i) return;
|
|
5264
5198
|
let a = o[n];
|
|
5265
5199
|
i = i[a];
|
|
5266
5200
|
}
|
|
@@ -5271,12 +5205,10 @@ function Ln(r, e, t) {
|
|
|
5271
5205
|
if (o.length > 1) {
|
|
5272
5206
|
for (let a = 0; a < o.length - 1; a++) {
|
|
5273
5207
|
let s = o[a];
|
|
5274
|
-
if (i = i[s], !i)
|
|
5275
|
-
return;
|
|
5208
|
+
if (i = i[s], !i) return;
|
|
5276
5209
|
}
|
|
5277
5210
|
i[n] = t;
|
|
5278
|
-
} else
|
|
5279
|
-
i[e] = t;
|
|
5211
|
+
} else i[e] = t;
|
|
5280
5212
|
return o.join(".");
|
|
5281
5213
|
}
|
|
5282
5214
|
/**
|
|
@@ -5311,14 +5243,13 @@ function uh() {
|
|
|
5311
5243
|
const r = Ct.length;
|
|
5312
5244
|
for (let e = 0; e < r; e++) {
|
|
5313
5245
|
let t = Ct[e];
|
|
5314
|
-
if (t)
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
}
|
|
5246
|
+
if (t) try {
|
|
5247
|
+
t();
|
|
5248
|
+
} catch (i) {
|
|
5249
|
+
setTimeout(() => {
|
|
5250
|
+
throw i;
|
|
5251
|
+
});
|
|
5252
|
+
}
|
|
5322
5253
|
}
|
|
5323
5254
|
Ct.splice(0, r), is += r;
|
|
5324
5255
|
}
|
|
@@ -5337,8 +5268,7 @@ const hh = { after(r) {
|
|
|
5337
5268
|
}, cancel(r) {
|
|
5338
5269
|
const e = r - is;
|
|
5339
5270
|
if (e >= 0) {
|
|
5340
|
-
if (!Ct[e])
|
|
5341
|
-
throw new Error("invalid async handle: " + r);
|
|
5271
|
+
if (!Ct[e]) throw new Error("invalid async handle: " + r);
|
|
5342
5272
|
Ct[e] = null;
|
|
5343
5273
|
}
|
|
5344
5274
|
} };
|
|
@@ -5355,8 +5285,7 @@ const ph = ns, as = oe((r) => {
|
|
|
5355
5285
|
class e extends r {
|
|
5356
5286
|
static createProperties(i) {
|
|
5357
5287
|
const o = this.prototype;
|
|
5358
|
-
for (let n in i)
|
|
5359
|
-
n in o || o._createPropertyAccessor(n);
|
|
5288
|
+
for (let n in i) n in o || o._createPropertyAccessor(n);
|
|
5360
5289
|
}
|
|
5361
5290
|
static attributeNameForProperty(i) {
|
|
5362
5291
|
return i.toLowerCase();
|
|
@@ -5386,8 +5315,7 @@ const ph = ns, as = oe((r) => {
|
|
|
5386
5315
|
this.__dataReady = !0, this._flushProperties();
|
|
5387
5316
|
}
|
|
5388
5317
|
_initializeProperties() {
|
|
5389
|
-
for (let i in this.__dataHasAccessor)
|
|
5390
|
-
this.hasOwnProperty(i) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[i] = this[i], delete this[i]);
|
|
5318
|
+
for (let i in this.__dataHasAccessor) this.hasOwnProperty(i) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[i] = this[i], delete this[i]);
|
|
5391
5319
|
}
|
|
5392
5320
|
_initializeInstanceProperties(i) {
|
|
5393
5321
|
Object.assign(this, i);
|
|
@@ -5476,8 +5404,7 @@ const ss = {};
|
|
|
5476
5404
|
let Tr = HTMLElement.prototype;
|
|
5477
5405
|
for (; Tr; ) {
|
|
5478
5406
|
let r = Object.getOwnPropertyNames(Tr);
|
|
5479
|
-
for (let e = 0; e < r.length; e++)
|
|
5480
|
-
ss[r[e]] = !0;
|
|
5407
|
+
for (let e = 0; e < r.length; e++) ss[r[e]] = !0;
|
|
5481
5408
|
Tr = Object.getPrototypeOf(Tr);
|
|
5482
5409
|
}
|
|
5483
5410
|
const mh = window.trustedTypes ? (r) => trustedTypes.isHTML(r) || trustedTypes.isScript(r) || trustedTypes.isScriptURL(r) : () => !1;
|
|
@@ -5492,8 +5419,7 @@ const fh = oe((r) => {
|
|
|
5492
5419
|
class t extends e {
|
|
5493
5420
|
static createPropertiesForAttributes() {
|
|
5494
5421
|
let o = this.observedAttributes;
|
|
5495
|
-
for (let n = 0; n < o.length; n++)
|
|
5496
|
-
this.prototype._createPropertyAccessor(rs(o[n]));
|
|
5422
|
+
for (let n = 0; n < o.length; n++) this.prototype._createPropertyAccessor(rs(o[n]));
|
|
5497
5423
|
}
|
|
5498
5424
|
static attributeNameForProperty(o) {
|
|
5499
5425
|
return ii(o);
|
|
@@ -5502,8 +5428,7 @@ const fh = oe((r) => {
|
|
|
5502
5428
|
this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
|
|
5503
5429
|
}
|
|
5504
5430
|
_initializeProtoProperties(o) {
|
|
5505
|
-
for (let n in o)
|
|
5506
|
-
this._setProperty(n, o[n]);
|
|
5431
|
+
for (let n in o) this._setProperty(n, o[n]);
|
|
5507
5432
|
}
|
|
5508
5433
|
_ensureAttribute(o, n) {
|
|
5509
5434
|
const a = this;
|
|
@@ -5512,11 +5437,9 @@ const fh = oe((r) => {
|
|
|
5512
5437
|
_serializeValue(o) {
|
|
5513
5438
|
switch (typeof o) {
|
|
5514
5439
|
case "object":
|
|
5515
|
-
if (o instanceof Date)
|
|
5516
|
-
return o.toString();
|
|
5440
|
+
if (o instanceof Date) return o.toString();
|
|
5517
5441
|
if (o) {
|
|
5518
|
-
if (mh(o))
|
|
5519
|
-
return o;
|
|
5442
|
+
if (mh(o)) return o;
|
|
5520
5443
|
try {
|
|
5521
5444
|
return JSON.stringify(o);
|
|
5522
5445
|
} catch (n) {
|
|
@@ -5612,19 +5535,14 @@ function wh(r) {
|
|
|
5612
5535
|
function ls(r, e) {
|
|
5613
5536
|
let t = e.parentInfo && ls(r, e.parentInfo);
|
|
5614
5537
|
if (t) {
|
|
5615
|
-
for (let i = t.firstChild, o = 0; i; i = i.nextSibling)
|
|
5616
|
-
|
|
5617
|
-
return i;
|
|
5618
|
-
} else
|
|
5619
|
-
return r;
|
|
5538
|
+
for (let i = t.firstChild, o = 0; i; i = i.nextSibling) if (e.parentIndex === o++) return i;
|
|
5539
|
+
} else return r;
|
|
5620
5540
|
}
|
|
5621
5541
|
function xh(r, e, t, i) {
|
|
5622
5542
|
i.id && (e[i.id] = t);
|
|
5623
5543
|
}
|
|
5624
5544
|
function Ch(r, e, t) {
|
|
5625
|
-
if (t.events && t.events.length)
|
|
5626
|
-
for (let i = 0, o = t.events, n; i < o.length && (n = o[i]); i++)
|
|
5627
|
-
r._addMethodEventListenerToNode(e, n.name, n.value, r);
|
|
5545
|
+
if (t.events && t.events.length) for (let i = 0, o = t.events, n; i < o.length && (n = o[i]); i++) r._addMethodEventListenerToNode(e, n.name, n.value, r);
|
|
5628
5546
|
}
|
|
5629
5547
|
function kh(r, e, t, i) {
|
|
5630
5548
|
t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = i);
|
|
@@ -5651,20 +5569,18 @@ const Ph = oe((r) => {
|
|
|
5651
5569
|
return s.localName == "template" && !s.hasAttribute("preserve-content") ? a = this._parseTemplateNestedTemplate(s, o, n) || a : s.localName === "slot" && (o.hasInsertionPoint = !0), bh(s), s.firstChild && this._parseTemplateChildNodes(s, o, n), s.hasAttributes && s.hasAttributes() && (a = this._parseTemplateNodeAttributes(s, o, n) || a), a || n.noted;
|
|
5652
5570
|
}
|
|
5653
5571
|
static _parseTemplateChildNodes(i, o, n) {
|
|
5654
|
-
if (!(i.localName === "script" || i.localName === "style"))
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
i.removeChild(a);
|
|
5662
|
-
continue;
|
|
5663
|
-
}
|
|
5572
|
+
if (!(i.localName === "script" || i.localName === "style")) for (let a = i.firstChild, s = 0, l; a; a = l) {
|
|
5573
|
+
if (a.localName == "template" && (a = wh(a)), l = a.nextSibling, a.nodeType === Node.TEXT_NODE) {
|
|
5574
|
+
let c = l;
|
|
5575
|
+
for (; c && c.nodeType === Node.TEXT_NODE; ) a.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
5576
|
+
if (o.stripWhiteSpace && !a.textContent.trim()) {
|
|
5577
|
+
i.removeChild(a);
|
|
5578
|
+
continue;
|
|
5664
5579
|
}
|
|
5665
|
-
let d = { parentIndex: s, parentInfo: n };
|
|
5666
|
-
this._parseTemplateNode(a, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), a.parentNode && s++;
|
|
5667
5580
|
}
|
|
5581
|
+
let d = { parentIndex: s, parentInfo: n };
|
|
5582
|
+
this._parseTemplateNode(a, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), a.parentNode && s++;
|
|
5583
|
+
}
|
|
5668
5584
|
}
|
|
5669
5585
|
static _parseTemplateNestedTemplate(i, o, n) {
|
|
5670
5586
|
let a = i, s = this._parseTemplate(a, o);
|
|
@@ -5672,8 +5588,7 @@ const Ph = oe((r) => {
|
|
|
5672
5588
|
}
|
|
5673
5589
|
static _parseTemplateNodeAttributes(i, o, n) {
|
|
5674
5590
|
let a = !1, s = Array.from(i.attributes);
|
|
5675
|
-
for (let l = s.length - 1, d; d = s[l]; l--)
|
|
5676
|
-
a = this._parseTemplateNodeAttribute(i, o, n, d.name, d.value) || a;
|
|
5591
|
+
for (let l = s.length - 1, d; d = s[l]; l--) a = this._parseTemplateNodeAttribute(i, o, n, d.name, d.value) || a;
|
|
5677
5592
|
return a;
|
|
5678
5593
|
}
|
|
5679
5594
|
static _parseTemplateNodeAttribute(i, o, n, a, s) {
|
|
@@ -5724,14 +5639,11 @@ let lr = 0;
|
|
|
5724
5639
|
const dr = [], H = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, ds = "__computeInfo", Ah = /[A-Z]/;
|
|
5725
5640
|
function vi(r, e, t) {
|
|
5726
5641
|
let i = r[e];
|
|
5727
|
-
if (!i)
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
for (let
|
|
5731
|
-
|
|
5732
|
-
for (let s = 0; s < n.length; s++)
|
|
5733
|
-
a[s] = n[s];
|
|
5734
|
-
}
|
|
5642
|
+
if (!i) i = r[e] = {};
|
|
5643
|
+
else if (!r.hasOwnProperty(e) && (i = r[e] = Object.create(r[e]), t)) for (let o in i) {
|
|
5644
|
+
let n = i[o], a = i[o] = Array(n.length);
|
|
5645
|
+
for (let s = 0; s < n.length; s++) a[s] = n[s];
|
|
5646
|
+
}
|
|
5735
5647
|
return i;
|
|
5736
5648
|
}
|
|
5737
5649
|
function Qt(r, e, t, i, o, n) {
|
|
@@ -5740,9 +5652,7 @@ function Qt(r, e, t, i, o, n) {
|
|
|
5740
5652
|
const s = lr++;
|
|
5741
5653
|
for (let l in t) {
|
|
5742
5654
|
let d = o ? dt(l) : l, c = e[d];
|
|
5743
|
-
if (c)
|
|
5744
|
-
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
5745
|
-
(!p.info || p.info.lastRun !== s) && (!o || go(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(r, l, t, i, p.info, o, n), a = !0);
|
|
5655
|
+
if (c) for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++) (!p.info || p.info.lastRun !== s) && (!o || go(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(r, l, t, i, p.info, o, n), a = !0);
|
|
5746
5656
|
}
|
|
5747
5657
|
return a;
|
|
5748
5658
|
}
|
|
@@ -5750,17 +5660,14 @@ function Qt(r, e, t, i, o, n) {
|
|
|
5750
5660
|
}
|
|
5751
5661
|
function Th(r, e, t, i, o, n, a, s) {
|
|
5752
5662
|
let l = !1, d = a ? dt(i) : i, c = e[d];
|
|
5753
|
-
if (c)
|
|
5754
|
-
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
5755
|
-
(!p.info || p.info.lastRun !== t) && (!a || go(i, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(r, i, o, n, p.info, a, s), l = !0);
|
|
5663
|
+
if (c) for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++) (!p.info || p.info.lastRun !== t) && (!a || go(i, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(r, i, o, n, p.info, a, s), l = !0);
|
|
5756
5664
|
return l;
|
|
5757
5665
|
}
|
|
5758
5666
|
function go(r, e) {
|
|
5759
5667
|
if (e) {
|
|
5760
5668
|
let t = e.name;
|
|
5761
5669
|
return t == r || !!(e.structured && es(t, r)) || !!(e.wildcard && ar(t, r));
|
|
5762
|
-
} else
|
|
5763
|
-
return !0;
|
|
5670
|
+
} else return !0;
|
|
5764
5671
|
}
|
|
5765
5672
|
function Vn(r, e, t, i, o) {
|
|
5766
5673
|
let n = typeof o.method == "string" ? r[o.method] : o.method, a = o.property;
|
|
@@ -5768,8 +5675,7 @@ function Vn(r, e, t, i, o) {
|
|
|
5768
5675
|
}
|
|
5769
5676
|
function Ih(r, e, t, i, o) {
|
|
5770
5677
|
let n = r[H.NOTIFY], a, s = lr++;
|
|
5771
|
-
for (let d in e)
|
|
5772
|
-
e[d] && (n && Th(r, n, s, d, t, i, o) || o && Sh(r, d, t)) && (a = !0);
|
|
5678
|
+
for (let d in e) e[d] && (n && Th(r, n, s, d, t, i, o) || o && Sh(r, d, t)) && (a = !0);
|
|
5773
5679
|
let l;
|
|
5774
5680
|
a && (l = r.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
5775
5681
|
}
|
|
@@ -5799,30 +5705,24 @@ function Mh(r, e, t, i, o) {
|
|
|
5799
5705
|
}
|
|
5800
5706
|
function Nh(r, e, t, i) {
|
|
5801
5707
|
let o = r[H.COMPUTE];
|
|
5802
|
-
if (o)
|
|
5803
|
-
|
|
5804
|
-
|
|
5805
|
-
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
5812
|
-
|
|
5813
|
-
let n = e;
|
|
5814
|
-
for (; Qt(r, o, n, t, i); )
|
|
5815
|
-
Object.assign(t, r.__dataOld), Object.assign(e, r.__dataPending), n = r.__dataPending, r.__dataPending = null;
|
|
5816
|
-
}
|
|
5708
|
+
if (o) if (Xu) {
|
|
5709
|
+
lr++;
|
|
5710
|
+
const n = Bh(r), a = [];
|
|
5711
|
+
for (let l in e) Hn(l, o, a, n, i);
|
|
5712
|
+
let s;
|
|
5713
|
+
for (; s = a.shift(); ) us(r, "", e, t, s) && Hn(s.methodInfo, o, a, n, i);
|
|
5714
|
+
Object.assign(t, r.__dataOld), Object.assign(e, r.__dataPending), r.__dataPending = null;
|
|
5715
|
+
} else {
|
|
5716
|
+
let n = e;
|
|
5717
|
+
for (; Qt(r, o, n, t, i); ) Object.assign(t, r.__dataOld), Object.assign(e, r.__dataPending), n = r.__dataPending, r.__dataPending = null;
|
|
5718
|
+
}
|
|
5817
5719
|
}
|
|
5818
5720
|
const zh = (r, e, t) => {
|
|
5819
5721
|
let i = 0, o = e.length - 1, n = -1;
|
|
5820
5722
|
for (; i <= o; ) {
|
|
5821
5723
|
const a = i + o >> 1, s = t.get(e[a].methodInfo) - t.get(r.methodInfo);
|
|
5822
|
-
if (s < 0)
|
|
5823
|
-
|
|
5824
|
-
else if (s > 0)
|
|
5825
|
-
o = a - 1;
|
|
5724
|
+
if (s < 0) i = a + 1;
|
|
5725
|
+
else if (s > 0) o = a - 1;
|
|
5826
5726
|
else {
|
|
5827
5727
|
n = a;
|
|
5828
5728
|
break;
|
|
@@ -5831,11 +5731,10 @@ const zh = (r, e, t) => {
|
|
|
5831
5731
|
n < 0 && (n = o + 1), e.splice(n, 0, r);
|
|
5832
5732
|
}, Hn = (r, e, t, i, o) => {
|
|
5833
5733
|
const n = o ? dt(r) : r, a = e[n];
|
|
5834
|
-
if (a)
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
}
|
|
5734
|
+
if (a) for (let s = 0; s < a.length; s++) {
|
|
5735
|
+
const l = a[s];
|
|
5736
|
+
l.info.lastRun !== lr && (!o || go(r, l.trigger)) && (l.info.lastRun = lr, zh(l.info, t, i));
|
|
5737
|
+
}
|
|
5839
5738
|
};
|
|
5840
5739
|
function Bh(r) {
|
|
5841
5740
|
let e = r.constructor.__orderedComputedDeps;
|
|
@@ -5862,14 +5761,12 @@ function Lh(r) {
|
|
|
5862
5761
|
const s = e[a];
|
|
5863
5762
|
n += t[a] = s.args.filter((l) => !l.literal).length + (s.dynamicFn ? 1 : 0);
|
|
5864
5763
|
}
|
|
5865
|
-
for (let a in i)
|
|
5866
|
-
e[a] || o.push(a);
|
|
5764
|
+
for (let a in i) e[a] || o.push(a);
|
|
5867
5765
|
return { counts: t, ready: o, total: n };
|
|
5868
5766
|
}
|
|
5869
5767
|
function us(r, e, t, i, o) {
|
|
5870
5768
|
let n = Hi(r, e, t, i, o);
|
|
5871
|
-
if (n === dr)
|
|
5872
|
-
return !1;
|
|
5769
|
+
if (n === dr) return !1;
|
|
5873
5770
|
let a = o.methodInfo;
|
|
5874
5771
|
return r.__dataHasAccessor && r.__dataHasAccessor[a] ? r._setPendingProperty(a, n, !0) : (r[a] = n, !1);
|
|
5875
5772
|
}
|
|
@@ -5897,16 +5794,14 @@ function gi(r, e, t, i, o, n, a) {
|
|
|
5897
5794
|
}
|
|
5898
5795
|
}
|
|
5899
5796
|
function Rh(r, e, t, i, o) {
|
|
5900
|
-
if (!i.literal)
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
let
|
|
5905
|
-
|
|
5906
|
-
let l = n[s];
|
|
5907
|
-
typeof l == "string" && (l = ps(l), l.wildcard = !0), r._addTemplatePropertyEffect(e, l.rootProperty, { fn: Vh, info: a, trigger: l });
|
|
5908
|
-
}
|
|
5797
|
+
if (!i.literal) if (t.kind === "attribute" && t.target[0] === "-") console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
|
|
5798
|
+
else {
|
|
5799
|
+
let n = i.dependencies, a = { index: o, binding: t, part: i, evaluator: r };
|
|
5800
|
+
for (let s = 0; s < n.length; s++) {
|
|
5801
|
+
let l = n[s];
|
|
5802
|
+
typeof l == "string" && (l = ps(l), l.wildcard = !0), r._addTemplatePropertyEffect(e, l.rootProperty, { fn: Vh, info: a, trigger: l });
|
|
5909
5803
|
}
|
|
5804
|
+
}
|
|
5910
5805
|
}
|
|
5911
5806
|
function Vh(r, e, t, i, o, n, a) {
|
|
5912
5807
|
let s = a[o.index], l = o.binding, d = o.part;
|
|
@@ -5919,8 +5814,7 @@ function Vh(r, e, t, i, o, n, a) {
|
|
|
5919
5814
|
}
|
|
5920
5815
|
}
|
|
5921
5816
|
function Hh(r, e, t, i, o) {
|
|
5922
|
-
if (o = Uh(e, o, t, i), jr && (o = jr(o, t.target, t.kind, e)), t.kind == "attribute")
|
|
5923
|
-
r._valueToNodeAttribute(e, o, t.target);
|
|
5817
|
+
if (o = Uh(e, o, t, i), jr && (o = jr(o, t.target, t.kind, e)), t.kind == "attribute") r._valueToNodeAttribute(e, o, t.target);
|
|
5924
5818
|
else {
|
|
5925
5819
|
let n = t.target;
|
|
5926
5820
|
e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[n] ? (!e[H.READ_ONLY] || !e[H.READ_ONLY][n]) && e._setPendingProperty(n, o) && r._enqueueClient(e) : r._setUnmanagedPropertyToNode(e, n, o);
|
|
@@ -5938,22 +5832,19 @@ function $h(r) {
|
|
|
5938
5832
|
}
|
|
5939
5833
|
function Wh(r, e) {
|
|
5940
5834
|
let { nodeList: t, nodeInfoList: i } = e;
|
|
5941
|
-
if (i.length)
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
let d = s[l];
|
|
5947
|
-
qh(a, d), Yh(a, r, d);
|
|
5948
|
-
}
|
|
5949
|
-
a.__dataHost = r;
|
|
5835
|
+
if (i.length) for (let o = 0; o < i.length; o++) {
|
|
5836
|
+
let n = i[o], a = t[o], s = n.bindings;
|
|
5837
|
+
if (s) for (let l = 0; l < s.length; l++) {
|
|
5838
|
+
let d = s[l];
|
|
5839
|
+
qh(a, d), Yh(a, r, d);
|
|
5950
5840
|
}
|
|
5841
|
+
a.__dataHost = r;
|
|
5842
|
+
}
|
|
5951
5843
|
}
|
|
5952
5844
|
function qh(r, e) {
|
|
5953
5845
|
if (e.isCompound) {
|
|
5954
5846
|
let t = r.__dataCompoundStorage || (r.__dataCompoundStorage = {}), i = e.parts, o = new Array(i.length);
|
|
5955
|
-
for (let a = 0; a < i.length; a++)
|
|
5956
|
-
o[a] = i[a].literal;
|
|
5847
|
+
for (let a = 0; a < i.length; a++) o[a] = i[a].literal;
|
|
5957
5848
|
let n = e.target;
|
|
5958
5849
|
t[n] = o, e.literal && e.kind == "property" && (n === "className" && (r = ce(r)), r[n] = e.literal);
|
|
5959
5850
|
}
|
|
@@ -5969,8 +5860,7 @@ function Yh(r, e, t) {
|
|
|
5969
5860
|
function Un(r, e, t, i, o, n) {
|
|
5970
5861
|
n = e.static || n && (typeof n != "object" || n[e.methodName]);
|
|
5971
5862
|
let a = { methodName: e.methodName, args: e.args, methodInfo: o, dynamicFn: n };
|
|
5972
|
-
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++)
|
|
5973
|
-
l.literal || r._addPropertyEffect(l.rootProperty, t, { fn: i, info: a, trigger: l });
|
|
5863
|
+
for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++) l.literal || r._addPropertyEffect(l.rootProperty, t, { fn: i, info: a, trigger: l });
|
|
5974
5864
|
return n && r._addPropertyEffect(e.methodName, t, { fn: i, info: a }), a;
|
|
5975
5865
|
}
|
|
5976
5866
|
function Hi(r, e, t, i, o) {
|
|
@@ -5978,8 +5868,7 @@ function Hi(r, e, t, i, o) {
|
|
|
5978
5868
|
if (a) {
|
|
5979
5869
|
let s = r._marshalArgs(o.args, e, t);
|
|
5980
5870
|
return s === dr ? dr : a.apply(n, s);
|
|
5981
|
-
} else
|
|
5982
|
-
o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
|
|
5871
|
+
} else o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
|
|
5983
5872
|
}
|
|
5984
5873
|
const jh = [], hs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Gh = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Kh = "(?:'(?:[^'\\\\]|\\\\.)*')", Xh = '(?:"(?:[^"\\\\]|\\\\.)*")', Qh = "(?:" + Kh + "|" + Xh + ")", $n = "(?:(" + hs + "|" + Gh + "|" + Qh + ")\\s*)", Jh = "(?:" + $n + "(?:,\\s*" + $n + ")*)", Zh = "(?:\\(\\s*(?:" + Jh + "?)\\)\\s*)", ep = "(" + hs + "\\s*" + Zh + "?)", tp = "(\\[\\[|{{)\\s*", rp = "(?:]]|}})", ip = "(?:(!)\\s*)?", op = tp + ip + ep + rp, Wn = new RegExp(op, "g");
|
|
5985
5874
|
function qn(r) {
|
|
@@ -5997,8 +5886,7 @@ function bi(r) {
|
|
|
5997
5886
|
if (e[2].trim()) {
|
|
5998
5887
|
let i = e[2].replace(/\\,/g, ",").split(",");
|
|
5999
5888
|
return np(i, t);
|
|
6000
|
-
} else
|
|
6001
|
-
return t;
|
|
5889
|
+
} else return t;
|
|
6002
5890
|
}
|
|
6003
5891
|
return null;
|
|
6004
5892
|
}
|
|
@@ -6058,8 +5946,7 @@ const bo = oe((r) => {
|
|
|
6058
5946
|
}
|
|
6059
5947
|
_initializeInstanceProperties(o) {
|
|
6060
5948
|
let n = this[H.READ_ONLY];
|
|
6061
|
-
for (let a in o)
|
|
6062
|
-
(!n || !n[a]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[a] = this.__dataPending[a] = o[a]);
|
|
5949
|
+
for (let a in o) (!n || !n[a]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[a] = this.__dataPending[a] = o[a]);
|
|
6063
5950
|
}
|
|
6064
5951
|
_addPropertyEffect(o, n, a) {
|
|
6065
5952
|
this._createPropertyAccessor(o, n == H.READ_ONLY);
|
|
@@ -6090,14 +5977,11 @@ const bo = oe((r) => {
|
|
|
6090
5977
|
if (s || dt(Array.isArray(o) ? o[0] : o) !== o) {
|
|
6091
5978
|
if (!s) {
|
|
6092
5979
|
let l = ve(this, o);
|
|
6093
|
-
if (o = Ln(this, o, n), !o || !super._shouldPropertyChange(o, n, l))
|
|
6094
|
-
return !1;
|
|
5980
|
+
if (o = Ln(this, o, n), !o || !super._shouldPropertyChange(o, n, l)) return !1;
|
|
6095
5981
|
}
|
|
6096
|
-
if (this.__dataHasPaths = !0, this._setPendingProperty(o, n, a))
|
|
6097
|
-
return Fh(this, o, n), !0;
|
|
5982
|
+
if (this.__dataHasPaths = !0, this._setPendingProperty(o, n, a)) return Fh(this, o, n), !0;
|
|
6098
5983
|
} else {
|
|
6099
|
-
if (this.__dataHasAccessor && this.__dataHasAccessor[o])
|
|
6100
|
-
return this._setPendingProperty(o, n, a);
|
|
5984
|
+
if (this.__dataHasAccessor && this.__dataHasAccessor[o]) return this._setPendingProperty(o, n, a);
|
|
6101
5985
|
this[o] = n;
|
|
6102
5986
|
}
|
|
6103
5987
|
return !1;
|
|
@@ -6135,8 +6019,7 @@ const bo = oe((r) => {
|
|
|
6135
6019
|
this.__enableOrFlushClients();
|
|
6136
6020
|
}
|
|
6137
6021
|
setProperties(o, n) {
|
|
6138
|
-
for (let a in o)
|
|
6139
|
-
(n || !this[H.READ_ONLY] || !this[H.READ_ONLY][a]) && this._setPendingPropertyOrPath(a, o[a], !0);
|
|
6022
|
+
for (let a in o) (n || !this[H.READ_ONLY] || !this[H.READ_ONLY][a]) && this._setPendingPropertyOrPath(a, o[a], !0);
|
|
6140
6023
|
this._invalidateProperties();
|
|
6141
6024
|
}
|
|
6142
6025
|
ready() {
|
|
@@ -6154,8 +6037,7 @@ const bo = oe((r) => {
|
|
|
6154
6037
|
_runEffectsForTemplate(o, n, a, s) {
|
|
6155
6038
|
const l = (d, c) => {
|
|
6156
6039
|
Qt(this, o.propertyEffects, d, a, c, o.nodeList);
|
|
6157
|
-
for (let u = o.firstChild; u; u = u.nextSibling)
|
|
6158
|
-
this._runEffectsForTemplate(u, d, a, c);
|
|
6040
|
+
for (let u = o.firstChild; u; u = u.nextSibling) this._runEffectsForTemplate(u, d, a, c);
|
|
6159
6041
|
};
|
|
6160
6042
|
o.runEffects ? o.runEffects(l, n, s) : l(n, s);
|
|
6161
6043
|
}
|
|
@@ -6202,8 +6084,7 @@ const bo = oe((r) => {
|
|
|
6202
6084
|
if (arguments.length == 1) {
|
|
6203
6085
|
let s = { path: "" };
|
|
6204
6086
|
n = ve(this, o, s), a = s.path;
|
|
6205
|
-
} else
|
|
6206
|
-
Array.isArray(o) ? a = Xt(o) : a = o;
|
|
6087
|
+
} else Array.isArray(o) ? a = Xt(o) : a = o;
|
|
6207
6088
|
this._setPendingPropertyOrPath(a, n, !0, !0) && this._invalidateProperties();
|
|
6208
6089
|
}
|
|
6209
6090
|
_createReadOnlyProperty(o, n) {
|
|
@@ -6217,8 +6098,7 @@ const bo = oe((r) => {
|
|
|
6217
6098
|
}
|
|
6218
6099
|
_createMethodObserver(o, n) {
|
|
6219
6100
|
let a = bi(o);
|
|
6220
|
-
if (!a)
|
|
6221
|
-
throw new Error("Malformed observer expression '" + o + "'");
|
|
6101
|
+
if (!a) throw new Error("Malformed observer expression '" + o + "'");
|
|
6222
6102
|
Un(this, a, H.OBSERVE, Hi, null, n);
|
|
6223
6103
|
}
|
|
6224
6104
|
_createNotifyingProperty(o) {
|
|
@@ -6230,8 +6110,7 @@ const bo = oe((r) => {
|
|
|
6230
6110
|
}
|
|
6231
6111
|
_createComputedProperty(o, n, a) {
|
|
6232
6112
|
let s = bi(n);
|
|
6233
|
-
if (!s)
|
|
6234
|
-
throw new Error("Malformed computed expression '" + n + "'");
|
|
6113
|
+
if (!s) throw new Error("Malformed computed expression '" + n + "'");
|
|
6235
6114
|
const l = Un(this, s, H.COMPUTE, us, o, a);
|
|
6236
6115
|
vi(this, ds)[o] = l;
|
|
6237
6116
|
}
|
|
@@ -6239,14 +6118,11 @@ const bo = oe((r) => {
|
|
|
6239
6118
|
const s = this.__data, l = [];
|
|
6240
6119
|
for (let d = 0, c = o.length; d < c; d++) {
|
|
6241
6120
|
let { name: u, structured: h, wildcard: p, value: m, literal: f } = o[d];
|
|
6242
|
-
if (!f)
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
m = h ? Yn(s, a, u) : s[u];
|
|
6248
|
-
if (Fi && !this._overrideLegacyUndefined && m === void 0 && o.length > 1)
|
|
6249
|
-
return dr;
|
|
6121
|
+
if (!f) if (p) {
|
|
6122
|
+
const x = ar(u, n), P = Yn(s, a, x ? n : u);
|
|
6123
|
+
m = { path: x ? n : u, value: P, base: x ? ve(s, u) : P };
|
|
6124
|
+
} else m = h ? Yn(s, a, u) : s[u];
|
|
6125
|
+
if (Fi && !this._overrideLegacyUndefined && m === void 0 && o.length > 1) return dr;
|
|
6250
6126
|
l[d] = m;
|
|
6251
6127
|
}
|
|
6252
6128
|
return l;
|
|
@@ -6277,18 +6153,13 @@ const bo = oe((r) => {
|
|
|
6277
6153
|
}
|
|
6278
6154
|
_bindTemplate(o, n) {
|
|
6279
6155
|
let a = this.constructor._parseTemplate(o), s = this.__preBoundTemplateInfo == a;
|
|
6280
|
-
if (!s)
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6288
|
-
a.parent = l, l.lastChild = a, a.previousSibling = d, d ? d.nextSibling = a : l.firstChild = a;
|
|
6289
|
-
}
|
|
6290
|
-
else
|
|
6291
|
-
this.__preBoundTemplateInfo = a;
|
|
6156
|
+
if (!s) for (let l in a.propertyEffects) this._createPropertyAccessor(l);
|
|
6157
|
+
if (n) if (a = Object.create(a), a.wasPreBound = s, !this.__templateInfo) this.__templateInfo = a;
|
|
6158
|
+
else {
|
|
6159
|
+
const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
|
|
6160
|
+
a.parent = l, l.lastChild = a, a.previousSibling = d, d ? d.nextSibling = a : l.firstChild = a;
|
|
6161
|
+
}
|
|
6162
|
+
else this.__preBoundTemplateInfo = a;
|
|
6292
6163
|
return a;
|
|
6293
6164
|
}
|
|
6294
6165
|
static _addTemplatePropertyEffect(o, n, a) {
|
|
@@ -6302,8 +6173,7 @@ const bo = oe((r) => {
|
|
|
6302
6173
|
let a = super._stampTemplate(o, n);
|
|
6303
6174
|
if (jt.pop(), n.nodeList = a.nodeList, !n.wasPreBound) {
|
|
6304
6175
|
let s = n.childNodes = [];
|
|
6305
|
-
for (let l = a.firstChild; l; l = l.nextSibling)
|
|
6306
|
-
s.push(l);
|
|
6176
|
+
for (let l = a.firstChild; l; l = l.nextSibling) s.push(l);
|
|
6307
6177
|
}
|
|
6308
6178
|
return a.templateInfo = n, Wh(this, n), this.__dataClientsReady && (this._runEffectsForTemplate(n, this.__data, null, !1), this._flushClients()), a;
|
|
6309
6179
|
}
|
|
@@ -6331,16 +6201,14 @@ const bo = oe((r) => {
|
|
|
6331
6201
|
Ah.test(s) ? u = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), u = "attribute");
|
|
6332
6202
|
let h = qn(d);
|
|
6333
6203
|
return h && u == "attribute" && (s == "class" && o.hasAttribute("class") && (h += " " + o.getAttribute(s)), o.setAttribute(s, h)), u == "attribute" && c == "disable-upgrade$" && o.setAttribute(s, ""), o.localName === "input" && c === "value" && o.setAttribute(c, ""), o.removeAttribute(c), u === "property" && (s = rs(s)), gi(this, n, a, u, s, d, h), !0;
|
|
6334
|
-
} else
|
|
6335
|
-
return e._parseTemplateNodeAttribute.call(this, o, n, a, s, l);
|
|
6204
|
+
} else return e._parseTemplateNodeAttribute.call(this, o, n, a, s, l);
|
|
6336
6205
|
}
|
|
6337
6206
|
static _parseTemplateNestedTemplate(o, n, a) {
|
|
6338
6207
|
let s = e._parseTemplateNestedTemplate.call(this, o, n, a);
|
|
6339
6208
|
const l = o.parentNode, d = a.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
6340
6209
|
Dn && (c || u) && (l.removeChild(o), a = a.parentInfo, a.templateInfo = d, a.noted = !0, s = !1);
|
|
6341
6210
|
let h = d.hostProps;
|
|
6342
|
-
if (Qu && c)
|
|
6343
|
-
h && (n.hostProps = Object.assign(n.hostProps || {}, h), Dn || (a.parentInfo.noted = !0));
|
|
6211
|
+
if (Qu && c) h && (n.hostProps = Object.assign(n.hostProps || {}, h), Dn || (a.parentInfo.noted = !0));
|
|
6344
6212
|
else {
|
|
6345
6213
|
let p = "{";
|
|
6346
6214
|
for (let m in h) {
|
|
@@ -6365,8 +6233,7 @@ const bo = oe((r) => {
|
|
|
6365
6233
|
}
|
|
6366
6234
|
let V = n.dynamicFns;
|
|
6367
6235
|
(V && V[C] || f.static) && (x.push(C), f.dynamicFn = !0);
|
|
6368
|
-
} else
|
|
6369
|
-
x.push(u);
|
|
6236
|
+
} else x.push(u);
|
|
6370
6237
|
a.push({ source: u, mode: d, negate: c, customEvent: h, signature: f, dependencies: x, event: p }), s = Wn.lastIndex;
|
|
6371
6238
|
}
|
|
6372
6239
|
if (s && s < o.length) {
|
|
@@ -6522,8 +6389,7 @@ const dp = "3.5.2", jn = window.ShadyCSS && window.ShadyCSS.cssBuild, cp = oe((r
|
|
|
6522
6389
|
}
|
|
6523
6390
|
function a(l) {
|
|
6524
6391
|
let d = null;
|
|
6525
|
-
if (l && (!Gr || Gu) && (d = nr.import(l, "template"), Gr && !d))
|
|
6526
|
-
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6392
|
+
if (l && (!Gr || Gu) && (d = nr.import(l, "template"), Gr && !d)) throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6527
6393
|
return d;
|
|
6528
6394
|
}
|
|
6529
6395
|
class s extends e {
|
|
@@ -6540,13 +6406,11 @@ const dp = "3.5.2", jn = window.ShadyCSS && window.ShadyCSS.cssBuild, cp = oe((r
|
|
|
6540
6406
|
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : Ga || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6541
6407
|
}
|
|
6542
6408
|
static createProperties(d) {
|
|
6543
|
-
for (let c in d)
|
|
6544
|
-
o(this.prototype, c, d[c], d);
|
|
6409
|
+
for (let c in d) o(this.prototype, c, d[c], d);
|
|
6545
6410
|
}
|
|
6546
6411
|
static createObservers(d, c) {
|
|
6547
6412
|
const u = this.prototype;
|
|
6548
|
-
for (let h = 0; h < d.length; h++)
|
|
6549
|
-
u._createMethodObserver(d[h], c);
|
|
6413
|
+
for (let h = 0; h < d.length; h++) u._createMethodObserver(d[h], c);
|
|
6550
6414
|
}
|
|
6551
6415
|
static get template() {
|
|
6552
6416
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
|
|
@@ -6561,8 +6425,7 @@ const dp = "3.5.2", jn = window.ShadyCSS && window.ShadyCSS.cssBuild, cp = oe((r
|
|
|
6561
6425
|
static get importPath() {
|
|
6562
6426
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6563
6427
|
const d = this.importMeta;
|
|
6564
|
-
if (d)
|
|
6565
|
-
this._importPath = fo(d.url);
|
|
6428
|
+
if (d) this._importPath = fo(d.url);
|
|
6566
6429
|
else {
|
|
6567
6430
|
const c = nr.import(this.is);
|
|
6568
6431
|
this._importPath = c && c.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
|
|
@@ -6576,14 +6439,13 @@ const dp = "3.5.2", jn = window.ShadyCSS && window.ShadyCSS.cssBuild, cp = oe((r
|
|
|
6576
6439
|
_initializeProperties() {
|
|
6577
6440
|
this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = ju, this.importPath = this.constructor.importPath;
|
|
6578
6441
|
let d = t(this.constructor);
|
|
6579
|
-
if (d)
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
this._hasAccessor(c) ? this._setPendingProperty(c, h, !0) : this[c] = h;
|
|
6585
|
-
}
|
|
6442
|
+
if (d) for (let c in d) {
|
|
6443
|
+
let u = d[c];
|
|
6444
|
+
if (this._canApplyPropertyDefault(c)) {
|
|
6445
|
+
let h = typeof u.value == "function" ? u.value.call(this) : u.value;
|
|
6446
|
+
this._hasAccessor(c) ? this._setPendingProperty(c, h, !0) : this[c] = h;
|
|
6586
6447
|
}
|
|
6448
|
+
}
|
|
6587
6449
|
}
|
|
6588
6450
|
_canApplyPropertyDefault(d) {
|
|
6589
6451
|
return !this.hasOwnProperty(d);
|
|
@@ -6610,8 +6472,7 @@ const dp = "3.5.2", jn = window.ShadyCSS && window.ShadyCSS.cssBuild, cp = oe((r
|
|
|
6610
6472
|
}
|
|
6611
6473
|
_attachDom(d) {
|
|
6612
6474
|
const c = ce(this);
|
|
6613
|
-
if (c.attachShadow)
|
|
6614
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Ku && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6475
|
+
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])), Ku && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6615
6476
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6616
6477
|
}
|
|
6617
6478
|
updateStyles(d) {
|
|
@@ -6650,15 +6511,12 @@ class _s {
|
|
|
6650
6511
|
}
|
|
6651
6512
|
}
|
|
6652
6513
|
function fs(r) {
|
|
6653
|
-
if (r instanceof _s)
|
|
6654
|
-
return r.value;
|
|
6514
|
+
if (r instanceof _s) return r.value;
|
|
6655
6515
|
throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${r}`);
|
|
6656
6516
|
}
|
|
6657
6517
|
function up(r) {
|
|
6658
|
-
if (r instanceof HTMLTemplateElement)
|
|
6659
|
-
|
|
6660
|
-
if (r instanceof _s)
|
|
6661
|
-
return fs(r);
|
|
6518
|
+
if (r instanceof HTMLTemplateElement) return r.innerHTML;
|
|
6519
|
+
if (r instanceof _s) return fs(r);
|
|
6662
6520
|
throw new Error(`non-template value passed to Polymer's html function: ${r}`);
|
|
6663
6521
|
}
|
|
6664
6522
|
const z = function(r, ...e) {
|
|
@@ -6667,8 +6525,7 @@ const z = function(r, ...e) {
|
|
|
6667
6525
|
let i = e.reduce((o, n, a) => o + up(n) + r[a + 1], r[0]);
|
|
6668
6526
|
return Gn && (i = Gn.createHTML(i)), t.innerHTML = i, t;
|
|
6669
6527
|
}, vs = (r, e) => {
|
|
6670
|
-
if (!Array.isArray(r) || !Array.isArray(r.raw) || e.length !== r.length - 1)
|
|
6671
|
-
throw new TypeError("Invalid call to the html template tag");
|
|
6528
|
+
if (!Array.isArray(r) || !Array.isArray(r.raw) || e.length !== r.length - 1) throw new TypeError("Invalid call to the html template tag");
|
|
6672
6529
|
};
|
|
6673
6530
|
/**
|
|
6674
6531
|
@license
|
|
@@ -6703,21 +6560,18 @@ function vp() {
|
|
|
6703
6560
|
return !!(Br && Object.keys(Br).map((r) => Br[r]).filter((r) => r.productionMode).length > 0);
|
|
6704
6561
|
}
|
|
6705
6562
|
function gs(r, e) {
|
|
6706
|
-
if (typeof r != "function")
|
|
6707
|
-
return;
|
|
6563
|
+
if (typeof r != "function") return;
|
|
6708
6564
|
const t = hp.exec(r.toString());
|
|
6709
|
-
if (t)
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
}
|
|
6565
|
+
if (t) try {
|
|
6566
|
+
r = new Function(t[1]);
|
|
6567
|
+
} catch (i) {
|
|
6568
|
+
console.log("vaadin-development-mode-detector: uncommentAndRun() failed", i);
|
|
6569
|
+
}
|
|
6715
6570
|
return r(e);
|
|
6716
6571
|
}
|
|
6717
6572
|
window.Vaadin = window.Vaadin || {};
|
|
6718
6573
|
const Kn = function(r, e) {
|
|
6719
|
-
if (window.Vaadin.developmentMode)
|
|
6720
|
-
return gs(r, e);
|
|
6574
|
+
if (window.Vaadin.developmentMode) return gs(r, e);
|
|
6721
6575
|
};
|
|
6722
6576
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = mp());
|
|
6723
6577
|
function gp() {
|
|
@@ -7202,8 +7056,7 @@ function gp() {
|
|
|
7202
7056
|
vaadin-dev-mode:end **/
|
|
7203
7057
|
}
|
|
7204
7058
|
const bp = function() {
|
|
7205
|
-
if (typeof Kn == "function")
|
|
7206
|
-
return Kn(gp);
|
|
7059
|
+
if (typeof Kn == "function") return Kn(gp);
|
|
7207
7060
|
};
|
|
7208
7061
|
/**
|
|
7209
7062
|
* @license
|
|
@@ -7222,14 +7075,13 @@ function yp() {
|
|
|
7222
7075
|
const r = kt.length;
|
|
7223
7076
|
for (let e = 0; e < r; e++) {
|
|
7224
7077
|
const t = kt[e];
|
|
7225
|
-
if (t)
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
}
|
|
7078
|
+
if (t) try {
|
|
7079
|
+
t();
|
|
7080
|
+
} catch (i) {
|
|
7081
|
+
setTimeout(() => {
|
|
7082
|
+
throw i;
|
|
7083
|
+
});
|
|
7084
|
+
}
|
|
7233
7085
|
}
|
|
7234
7086
|
kt.splice(0, r), bs += r;
|
|
7235
7087
|
}
|
|
@@ -7258,8 +7110,7 @@ const Ge = { after(r) {
|
|
|
7258
7110
|
}, cancel(r) {
|
|
7259
7111
|
const e = r - bs;
|
|
7260
7112
|
if (e >= 0) {
|
|
7261
|
-
if (!kt[e])
|
|
7262
|
-
throw new Error(`invalid async handle: ${r}`);
|
|
7113
|
+
if (!kt[e]) throw new Error(`invalid async handle: ${r}`);
|
|
7263
7114
|
kt[e] = null;
|
|
7264
7115
|
}
|
|
7265
7116
|
} };
|
|
@@ -7350,8 +7201,7 @@ const Ee = (r) => class extends r {
|
|
|
7350
7201
|
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Wi(this, qi(), null));
|
|
7351
7202
|
}
|
|
7352
7203
|
attributeChangedCallback(e, t, i) {
|
|
7353
|
-
if (super.attributeChangedCallback(e, t, i), e !== "dir")
|
|
7354
|
-
return;
|
|
7204
|
+
if (super.attributeChangedCallback(e, t, i), e !== "dir") return;
|
|
7355
7205
|
const o = qi(), n = i === o && Fe.indexOf(this) === -1, a = !i && t && Fe.indexOf(this) === -1;
|
|
7356
7206
|
n || a ? (this.__subscribe(), Wi(this, o, i)) : i !== o && t === o && this.__unsubscribe();
|
|
7357
7207
|
}
|
|
@@ -7515,10 +7365,9 @@ class _e extends EventTarget {
|
|
|
7515
7365
|
if (e.length === 0) {
|
|
7516
7366
|
const t = this.attachDefaultNode();
|
|
7517
7367
|
t && (this.nodes = [t], this.initNode(t));
|
|
7518
|
-
} else
|
|
7519
|
-
this.
|
|
7520
|
-
|
|
7521
|
-
});
|
|
7368
|
+
} else this.nodes = e, e.forEach((t) => {
|
|
7369
|
+
this.initAddedNode(t);
|
|
7370
|
+
});
|
|
7522
7371
|
}
|
|
7523
7372
|
attachDefaultNode() {
|
|
7524
7373
|
const { host: e, slotName: t, tagName: i } = this;
|
|
@@ -7641,8 +7490,7 @@ let Mp = !1;
|
|
|
7641
7490
|
const Np = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), zp = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
|
|
7642
7491
|
function at(r) {
|
|
7643
7492
|
const e = r.type;
|
|
7644
|
-
if (!Es(e))
|
|
7645
|
-
return !1;
|
|
7493
|
+
if (!Es(e)) return !1;
|
|
7646
7494
|
if (e === "mousemove") {
|
|
7647
7495
|
let t = r.buttons === void 0 ? 1 : r.buttons;
|
|
7648
7496
|
return r instanceof window.MouseEvent && !Op && (t = Dp[r.which] || 0), !!(t & 1);
|
|
@@ -7651,11 +7499,9 @@ function at(r) {
|
|
|
7651
7499
|
}
|
|
7652
7500
|
function Bp(r) {
|
|
7653
7501
|
if (r.type === "click") {
|
|
7654
|
-
if (r.detail === 0)
|
|
7655
|
-
return !0;
|
|
7502
|
+
if (r.detail === 0) return !0;
|
|
7656
7503
|
const e = Ke(r);
|
|
7657
|
-
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
|
|
7658
|
-
return !0;
|
|
7504
|
+
if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE) return !0;
|
|
7659
7505
|
const t = e.getBoundingClientRect(), i = r.pageX, o = r.pageY;
|
|
7660
7506
|
return !(i >= t.left && i <= t.right && o >= t.top && o <= t.bottom);
|
|
7661
7507
|
}
|
|
@@ -7665,11 +7511,10 @@ const Re = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
|
|
|
7665
7511
|
function Lp(r) {
|
|
7666
7512
|
let e = "auto";
|
|
7667
7513
|
const t = As(r);
|
|
7668
|
-
for (let i = 0, o; i < t.length; i++)
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
}
|
|
7514
|
+
for (let i = 0, o; i < t.length; i++) if (o = t[i], o[ji]) {
|
|
7515
|
+
e = o[ji];
|
|
7516
|
+
break;
|
|
7517
|
+
}
|
|
7673
7518
|
return e;
|
|
7674
7519
|
}
|
|
7675
7520
|
function Ps(r, e, t) {
|
|
@@ -7683,8 +7528,7 @@ function Fp(r, e) {
|
|
|
7683
7528
|
let t = document.elementFromPoint(r, e), i = t;
|
|
7684
7529
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
7685
7530
|
const o = i;
|
|
7686
|
-
if (i = i.shadowRoot.elementFromPoint(r, e), o === i)
|
|
7687
|
-
break;
|
|
7531
|
+
if (i = i.shadowRoot.elementFromPoint(r, e), o === i) break;
|
|
7688
7532
|
i && (t = i);
|
|
7689
7533
|
}
|
|
7690
7534
|
return t;
|
|
@@ -7695,32 +7539,25 @@ function Ke(r) {
|
|
|
7695
7539
|
}
|
|
7696
7540
|
function Rp(r) {
|
|
7697
7541
|
const e = r.type, t = r.currentTarget[Yi];
|
|
7698
|
-
if (!t)
|
|
7699
|
-
return;
|
|
7542
|
+
if (!t) return;
|
|
7700
7543
|
const i = t[e];
|
|
7701
|
-
if (!i)
|
|
7702
|
-
return;
|
|
7544
|
+
if (!i) return;
|
|
7703
7545
|
if (!r[wi] && (r[wi] = {}, e.startsWith("touch"))) {
|
|
7704
7546
|
const n = r.changedTouches[0];
|
|
7705
|
-
if (e === "touchstart" && r.touches.length === 1 && (Re.touch.id = n.identifier), Re.touch.id !== n.identifier)
|
|
7706
|
-
return;
|
|
7547
|
+
if (e === "touchstart" && r.touches.length === 1 && (Re.touch.id = n.identifier), Re.touch.id !== n.identifier) return;
|
|
7707
7548
|
ks || (e === "touchstart" || e === "touchmove") && Vp(r);
|
|
7708
7549
|
}
|
|
7709
7550
|
const o = r[wi];
|
|
7710
7551
|
if (!o.skip) {
|
|
7711
|
-
for (let n = 0, a; n < nt.length; n++)
|
|
7712
|
-
|
|
7713
|
-
for (let n = 0, a; n < nt.length; n++)
|
|
7714
|
-
a = nt[n], i[a.name] && !o[a.name] && (o[a.name] = !0, a[e](r));
|
|
7552
|
+
for (let n = 0, a; n < nt.length; n++) a = nt[n], i[a.name] && !o[a.name] && a.flow && a.flow.start.indexOf(r.type) > -1 && a.reset && a.reset();
|
|
7553
|
+
for (let n = 0, a; n < nt.length; n++) a = nt[n], i[a.name] && !o[a.name] && (o[a.name] = !0, a[e](r));
|
|
7715
7554
|
}
|
|
7716
7555
|
}
|
|
7717
7556
|
function Vp(r) {
|
|
7718
7557
|
const e = r.changedTouches[0], t = r.type;
|
|
7719
|
-
if (t === "touchstart")
|
|
7720
|
-
Re.touch.x = e.clientX, Re.touch.y = e.clientY, Re.touch.scrollDecided = !1;
|
|
7558
|
+
if (t === "touchstart") Re.touch.x = e.clientX, Re.touch.y = e.clientY, Re.touch.scrollDecided = !1;
|
|
7721
7559
|
else if (t === "touchmove") {
|
|
7722
|
-
if (Re.touch.scrollDecided)
|
|
7723
|
-
return;
|
|
7560
|
+
if (Re.touch.scrollDecided) return;
|
|
7724
7561
|
Re.touch.scrollDecided = !0;
|
|
7725
7562
|
const i = Lp(r);
|
|
7726
7563
|
let o = !1;
|
|
@@ -7735,8 +7572,7 @@ function Hp(r, e, t) {
|
|
|
7735
7572
|
const i = xo[e], o = i.deps, n = i.name;
|
|
7736
7573
|
let a = r[Yi];
|
|
7737
7574
|
a || (r[Yi] = a = {});
|
|
7738
|
-
for (let s = 0, l, d; s < o.length; s++)
|
|
7739
|
-
l = o[s], !(Np && Es(l) && l !== "click") && (d = a[l], d || (a[l] = d = { _count: 0 }), d._count === 0 && r.addEventListener(l, Rp, void 0), d[n] = (d[n] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
7575
|
+
for (let s = 0, l, d; s < o.length; s++) l = o[s], !(Np && Es(l) && l !== "click") && (d = a[l], d || (a[l] = d = { _count: 0 }), d._count === 0 && r.addEventListener(l, Rp, void 0), d[n] = (d[n] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
7740
7576
|
r.addEventListener(e, t), i.touchAction && Ts(r, i.touchAction);
|
|
7741
7577
|
}
|
|
7742
7578
|
function Co(r) {
|
|
@@ -7747,9 +7583,7 @@ function Co(r) {
|
|
|
7747
7583
|
function Up(r) {
|
|
7748
7584
|
for (let e = 0, t; e < nt.length; e++) {
|
|
7749
7585
|
t = nt[e];
|
|
7750
|
-
for (let i = 0, o; i < t.emits.length; i++)
|
|
7751
|
-
if (o = t.emits[i], o === r)
|
|
7752
|
-
return t;
|
|
7586
|
+
for (let i = 0, o; i < t.emits.length; i++) if (o = t.emits[i], o === r) return t;
|
|
7753
7587
|
}
|
|
7754
7588
|
return null;
|
|
7755
7589
|
}
|
|
@@ -7772,8 +7606,7 @@ function Qr(r) {
|
|
|
7772
7606
|
Co({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
|
|
7773
7607
|
Et(this.info);
|
|
7774
7608
|
}, mousedown(r) {
|
|
7775
|
-
if (!at(r))
|
|
7776
|
-
return;
|
|
7609
|
+
if (!at(r)) return;
|
|
7777
7610
|
const e = Ke(r), t = this, i = (n) => {
|
|
7778
7611
|
at(n) || (Gt("up", e, n), Et(t.info));
|
|
7779
7612
|
}, o = (n) => {
|
|
@@ -7795,8 +7628,7 @@ Co({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
7795
7628
|
}, movefn: null, upfn: null, prevent: !1 }, reset() {
|
|
7796
7629
|
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Et(this.info);
|
|
7797
7630
|
}, mousedown(r) {
|
|
7798
|
-
if (!at(r))
|
|
7799
|
-
return;
|
|
7631
|
+
if (!at(r)) return;
|
|
7800
7632
|
const e = Ke(r), t = this, i = (n) => {
|
|
7801
7633
|
const a = n.clientX, s = n.clientY;
|
|
7802
7634
|
ea(t.info, a, s) && (t.info.state = t.info.started ? n.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && Qr("tap"), t.info.addMove({ x: a, y: s }), at(n) || (t.info.state = "end", Et(t.info)), e && xi(t.info, e, n), t.info.started = !0);
|
|
@@ -7815,16 +7647,13 @@ Co({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
|
|
|
7815
7647
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), xi(this.info, e, t));
|
|
7816
7648
|
} });
|
|
7817
7649
|
function ea(r, e, t) {
|
|
7818
|
-
if (r.prevent)
|
|
7819
|
-
|
|
7820
|
-
if (r.started)
|
|
7821
|
-
return !0;
|
|
7650
|
+
if (r.prevent) return !1;
|
|
7651
|
+
if (r.started) return !0;
|
|
7822
7652
|
const i = Math.abs(r.x - e), o = Math.abs(r.y - t);
|
|
7823
7653
|
return i >= Zn || o >= Zn;
|
|
7824
7654
|
}
|
|
7825
7655
|
function xi(r, e, t) {
|
|
7826
|
-
if (!e)
|
|
7827
|
-
return;
|
|
7656
|
+
if (!e) return;
|
|
7828
7657
|
const i = r.moves[r.moves.length - 2], o = r.moves[r.moves.length - 1], n = o.x - r.x, a = o.y - r.y;
|
|
7829
7658
|
let s, l = 0;
|
|
7830
7659
|
i && (s = o.x - i.x, l = o.y - i.y), ko(e, "track", { state: r.state, x: t.clientX, y: t.clientY, dx: n, dy: a, ddx: s, ddy: l, sourceEvent: t, hover() {
|
|
@@ -7941,8 +7770,7 @@ window.addEventListener("mousedown", () => {
|
|
|
7941
7770
|
}, { capture: !0 });
|
|
7942
7771
|
function Gi() {
|
|
7943
7772
|
let r = document.activeElement || document.body;
|
|
7944
|
-
for (; r.shadowRoot && r.shadowRoot.activeElement; )
|
|
7945
|
-
r = r.shadowRoot.activeElement;
|
|
7773
|
+
for (; r.shadowRoot && r.shadowRoot.activeElement; ) r = r.shadowRoot.activeElement;
|
|
7946
7774
|
return r;
|
|
7947
7775
|
}
|
|
7948
7776
|
function ni() {
|
|
@@ -7950,8 +7778,7 @@ function ni() {
|
|
|
7950
7778
|
}
|
|
7951
7779
|
function Is(r) {
|
|
7952
7780
|
const e = r.style;
|
|
7953
|
-
if (e.visibility === "hidden" || e.display === "none")
|
|
7954
|
-
return !0;
|
|
7781
|
+
if (e.visibility === "hidden" || e.display === "none") return !0;
|
|
7955
7782
|
const t = window.getComputedStyle(r);
|
|
7956
7783
|
return t.visibility === "hidden" || t.display === "none";
|
|
7957
7784
|
}
|
|
@@ -7961,14 +7788,12 @@ function $p(r, e) {
|
|
|
7961
7788
|
}
|
|
7962
7789
|
function Wp(r, e) {
|
|
7963
7790
|
const t = [];
|
|
7964
|
-
for (; r.length > 0 && e.length > 0; )
|
|
7965
|
-
$p(r[0], e[0]) ? t.push(e.shift()) : t.push(r.shift());
|
|
7791
|
+
for (; r.length > 0 && e.length > 0; ) $p(r[0], e[0]) ? t.push(e.shift()) : t.push(r.shift());
|
|
7966
7792
|
return t.concat(r, e);
|
|
7967
7793
|
}
|
|
7968
7794
|
function Ki(r) {
|
|
7969
7795
|
const e = r.length;
|
|
7970
|
-
if (e < 2)
|
|
7971
|
-
return r;
|
|
7796
|
+
if (e < 2) return r;
|
|
7972
7797
|
const t = Math.ceil(e / 2), i = Ki(r.slice(0, t)), o = Ki(r.slice(t));
|
|
7973
7798
|
return Wp(i, o);
|
|
7974
7799
|
}
|
|
@@ -7982,14 +7807,12 @@ function To(r) {
|
|
|
7982
7807
|
return r.getRootNode().activeElement === r;
|
|
7983
7808
|
}
|
|
7984
7809
|
function qp(r) {
|
|
7985
|
-
if (!Ao(r))
|
|
7986
|
-
return -1;
|
|
7810
|
+
if (!Ao(r)) return -1;
|
|
7987
7811
|
const e = r.getAttribute("tabindex") || 0;
|
|
7988
7812
|
return Number(e);
|
|
7989
7813
|
}
|
|
7990
7814
|
function Ss(r, e) {
|
|
7991
|
-
if (r.nodeType !== Node.ELEMENT_NODE || Is(r))
|
|
7992
|
-
return !1;
|
|
7815
|
+
if (r.nodeType !== Node.ELEMENT_NODE || Is(r)) return !1;
|
|
7993
7816
|
const t = r, i = qp(t);
|
|
7994
7817
|
let o = i > 0;
|
|
7995
7818
|
i >= 0 && e.push(t);
|
|
@@ -8253,23 +8076,19 @@ function Os(r, e) {
|
|
|
8253
8076
|
r && r.removeAttribute(e);
|
|
8254
8077
|
}
|
|
8255
8078
|
function Ms(r, e) {
|
|
8256
|
-
if (!r || !e)
|
|
8257
|
-
return;
|
|
8079
|
+
if (!r || !e) return;
|
|
8258
8080
|
const t = So(e);
|
|
8259
|
-
if (t.has(r))
|
|
8260
|
-
return;
|
|
8081
|
+
if (t.has(r)) return;
|
|
8261
8082
|
const i = yo(r.getAttribute(e));
|
|
8262
8083
|
t.set(r, new Set(i));
|
|
8263
8084
|
}
|
|
8264
8085
|
function Gp(r, e) {
|
|
8265
|
-
if (!r || !e)
|
|
8266
|
-
return;
|
|
8086
|
+
if (!r || !e) return;
|
|
8267
8087
|
const t = So(e), i = t.get(r);
|
|
8268
8088
|
!i || i.size === 0 ? r.removeAttribute(e) : Cs(r, e, oi(i)), t.delete(r);
|
|
8269
8089
|
}
|
|
8270
8090
|
function Pt(r, e, t = { newId: null, oldId: null, fromUser: !1 }) {
|
|
8271
|
-
if (!r || !e)
|
|
8272
|
-
return;
|
|
8091
|
+
if (!r || !e) return;
|
|
8273
8092
|
const { newId: i, oldId: o, fromUser: n } = t, a = So(e), s = a.get(r);
|
|
8274
8093
|
if (!n && s) {
|
|
8275
8094
|
o && s.delete(o), i && s.add(i);
|
|
@@ -8612,8 +8431,7 @@ const si = (r) => class extends Oo(Zp(Be(r))) {
|
|
|
8612
8431
|
if (e) {
|
|
8613
8432
|
const t = this._errorNode;
|
|
8614
8433
|
this._fieldAriaController.setErrorId(t && t.id);
|
|
8615
|
-
} else
|
|
8616
|
-
this._fieldAriaController.setErrorId(null);
|
|
8434
|
+
} else this._fieldAriaController.setErrorId(null);
|
|
8617
8435
|
});
|
|
8618
8436
|
}
|
|
8619
8437
|
};
|
|
@@ -9080,8 +8898,7 @@ const om = (r) => class extends si(ut(Nt(r))) {
|
|
|
9080
8898
|
if (t && t.isConnected) {
|
|
9081
8899
|
const i = this.__checkboxes.map((o) => o.inputElement);
|
|
9082
8900
|
this._tooltipController.setAriaTarget(i);
|
|
9083
|
-
} else
|
|
9084
|
-
this._tooltipController.setAriaTarget([]);
|
|
8901
|
+
} else this._tooltipController.setAriaTarget([]);
|
|
9085
8902
|
});
|
|
9086
8903
|
}
|
|
9087
8904
|
get __checkboxes() {
|
|
@@ -10605,12 +10422,10 @@ function mm() {
|
|
|
10605
10422
|
});
|
|
10606
10423
|
}
|
|
10607
10424
|
function _m(r) {
|
|
10608
|
-
for (; r.length; )
|
|
10609
|
-
Rs(r.shift());
|
|
10425
|
+
for (; r.length; ) Rs(r.shift());
|
|
10610
10426
|
}
|
|
10611
10427
|
function fm(r) {
|
|
10612
|
-
for (let e = 0, t = r.length; e < t; e++)
|
|
10613
|
-
Rs(r.shift());
|
|
10428
|
+
for (let e = 0, t = r.length; e < t; e++) Rs(r.shift());
|
|
10614
10429
|
}
|
|
10615
10430
|
function Rs(r) {
|
|
10616
10431
|
const e = r[0], t = r[1], i = r[2];
|
|
@@ -10650,12 +10465,10 @@ let bt = /* @__PURE__ */ new WeakMap(), Sr = /* @__PURE__ */ new WeakMap(), Dr =
|
|
|
10650
10465
|
const ra = (r) => r && r.nodeType === Node.ELEMENT_NODE, Ei = (...r) => {
|
|
10651
10466
|
console.error(`Error: ${r.join(" ")}. Skip setting aria-hidden.`);
|
|
10652
10467
|
}, wm = (r, e) => ra(r) ? e.map((t) => {
|
|
10653
|
-
if (!ra(t))
|
|
10654
|
-
return Ei(t, "is not a valid element"), null;
|
|
10468
|
+
if (!ra(t)) return Ei(t, "is not a valid element"), null;
|
|
10655
10469
|
let i = t;
|
|
10656
10470
|
for (; i && i !== r; ) {
|
|
10657
|
-
if (r.contains(i))
|
|
10658
|
-
return t;
|
|
10471
|
+
if (r.contains(i)) return t;
|
|
10659
10472
|
i = i.getRootNode().host;
|
|
10660
10473
|
}
|
|
10661
10474
|
return Ei(t, "is not contained inside", r), null;
|
|
@@ -10663,25 +10476,21 @@ const ra = (r) => r && r.nodeType === Node.ELEMENT_NODE, Ei = (...r) => {
|
|
|
10663
10476
|
const o = wm(e, Array.isArray(r) ? r : [r]);
|
|
10664
10477
|
Dr[t] || (Dr[t] = /* @__PURE__ */ new WeakMap());
|
|
10665
10478
|
const n = Dr[t], a = [], s = /* @__PURE__ */ new Set(), l = new Set(o), d = (u) => {
|
|
10666
|
-
if (!u || s.has(u))
|
|
10667
|
-
return;
|
|
10479
|
+
if (!u || s.has(u)) return;
|
|
10668
10480
|
s.add(u);
|
|
10669
10481
|
const h = u.assignedSlot;
|
|
10670
10482
|
h && d(h), d(u.parentNode || u.host);
|
|
10671
10483
|
};
|
|
10672
10484
|
o.forEach(d);
|
|
10673
10485
|
const c = (u) => {
|
|
10674
|
-
if (!u || l.has(u))
|
|
10675
|
-
return;
|
|
10486
|
+
if (!u || l.has(u)) return;
|
|
10676
10487
|
const h = u.shadowRoot;
|
|
10677
10488
|
(h ? [...u.children, ...h.children] : [...u.children]).forEach((p) => {
|
|
10678
|
-
if (!["template", "script", "style"].includes(p.localName))
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
bt.set(p, x), n.set(p, P), a.push(p), x === 1 && f && Sr.set(p, !0), P === 1 && p.setAttribute(t, "true"), f || p.setAttribute(i, "true");
|
|
10684
|
-
}
|
|
10489
|
+
if (!["template", "script", "style"].includes(p.localName)) if (s.has(p)) c(p);
|
|
10490
|
+
else {
|
|
10491
|
+
const m = p.getAttribute(i), f = m !== null && m !== "false", x = (bt.get(p) || 0) + 1, P = (n.get(p) || 0) + 1;
|
|
10492
|
+
bt.set(p, x), n.set(p, P), a.push(p), x === 1 && f && Sr.set(p, !0), P === 1 && p.setAttribute(t, "true"), f || p.setAttribute(i, "true");
|
|
10493
|
+
}
|
|
10685
10494
|
});
|
|
10686
10495
|
};
|
|
10687
10496
|
return c(e), s.clear(), ki += 1, () => {
|
|
@@ -10722,8 +10531,7 @@ class km {
|
|
|
10722
10531
|
}
|
|
10723
10532
|
restoreFocus(e) {
|
|
10724
10533
|
const t = this.focusNode;
|
|
10725
|
-
if (!t)
|
|
10726
|
-
return;
|
|
10534
|
+
if (!t) return;
|
|
10727
10535
|
const i = e ? e.preventScroll : !1;
|
|
10728
10536
|
Gi() === document.body ? setTimeout(() => t.focus({ preventScroll: i })) : t.focus({ preventScroll: i }), this.focusNode = null;
|
|
10729
10537
|
}
|
|
@@ -10752,8 +10560,7 @@ class Em {
|
|
|
10752
10560
|
document.removeEventListener("keydown", this.__onKeyDown);
|
|
10753
10561
|
}
|
|
10754
10562
|
trapFocus(e) {
|
|
10755
|
-
if (this.__trapNode = e, this.__focusableElements.length === 0)
|
|
10756
|
-
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
10563
|
+
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.");
|
|
10757
10564
|
Pi.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
10758
10565
|
}
|
|
10759
10566
|
releaseFocus() {
|
|
@@ -10803,12 +10610,10 @@ const Pm = (r) => class extends Be(r) {
|
|
|
10803
10610
|
return e === document.body || this._deepContains(e);
|
|
10804
10611
|
}
|
|
10805
10612
|
_deepContains(e) {
|
|
10806
|
-
if (this.contains(e))
|
|
10807
|
-
return !0;
|
|
10613
|
+
if (this.contains(e)) return !0;
|
|
10808
10614
|
let t = e;
|
|
10809
10615
|
const i = e.ownerDocument;
|
|
10810
|
-
for (; t && t !== i && t !== this; )
|
|
10811
|
-
t = t.parentNode || t.host;
|
|
10616
|
+
for (; t && t !== i && t !== this; ) t = t.parentNode || t.host;
|
|
10812
10617
|
return t === this;
|
|
10813
10618
|
}
|
|
10814
10619
|
};
|
|
@@ -10838,8 +10643,7 @@ const Hs = () => Array.from(document.body.children).filter((r) => r instanceof H
|
|
|
10838
10643
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
10839
10644
|
const e = eo();
|
|
10840
10645
|
let t;
|
|
10841
|
-
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
|
|
10842
|
-
;
|
|
10646
|
+
for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); ) ;
|
|
10843
10647
|
}
|
|
10844
10648
|
};
|
|
10845
10649
|
/**
|
|
@@ -10878,8 +10682,7 @@ const br = (r) => class extends Pm(Us(r)) {
|
|
|
10878
10682
|
this.dispatchEvent(t), t.defaultPrevented || (this.opened = !1);
|
|
10879
10683
|
}
|
|
10880
10684
|
_detectIosNavbar() {
|
|
10881
|
-
if (!this.opened)
|
|
10882
|
-
return;
|
|
10685
|
+
if (!this.opened) return;
|
|
10883
10686
|
const e = window.innerHeight, t = window.innerWidth > e, i = document.documentElement.clientHeight;
|
|
10884
10687
|
t && i > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${i - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
|
|
10885
10688
|
}
|
|
@@ -10960,8 +10763,7 @@ const br = (r) => class extends Pm(Us(r)) {
|
|
|
10960
10763
|
this._mouseDownInside = !1, this._mouseUpInside = !1;
|
|
10961
10764
|
return;
|
|
10962
10765
|
}
|
|
10963
|
-
if (!this._shouldCloseOnOutsideClick(e))
|
|
10964
|
-
return;
|
|
10766
|
+
if (!this._shouldCloseOnOutsideClick(e)) return;
|
|
10965
10767
|
const t = new CustomEvent("vaadin-overlay-outside-click", { bubbles: !0, cancelable: !0, detail: { sourceEvent: e } });
|
|
10966
10768
|
this.dispatchEvent(t), this.opened && !t.defaultPrevented && this.close(e);
|
|
10967
10769
|
}
|
|
@@ -10986,15 +10788,13 @@ function Tm(r, e) {
|
|
|
10986
10788
|
function n(a = !1, s = 1) {
|
|
10987
10789
|
o();
|
|
10988
10790
|
const { left: l, top: d, width: c, height: u } = r.getBoundingClientRect();
|
|
10989
|
-
if (a || e(), !c || !u)
|
|
10990
|
-
return;
|
|
10791
|
+
if (a || e(), !c || !u) return;
|
|
10991
10792
|
const h = Math.floor(d), p = Math.floor(i.clientWidth - (l + c)), m = Math.floor(i.clientHeight - (d + u)), f = Math.floor(l), x = { rootMargin: `${-h}px ${-p}px ${-m}px ${-f}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
|
|
10992
10793
|
let P = !0;
|
|
10993
10794
|
function C(V) {
|
|
10994
10795
|
let T = V[0].intersectionRatio;
|
|
10995
10796
|
if (T !== s) {
|
|
10996
|
-
if (!P)
|
|
10997
|
-
return n();
|
|
10797
|
+
if (!P) return n();
|
|
10998
10798
|
T === 0 && (T = 1e-7), n(!1, T);
|
|
10999
10799
|
}
|
|
11000
10800
|
P = !1;
|
|
@@ -11057,8 +10857,7 @@ const Ai = { start: "top", end: "bottom" }, Ti = { start: "left", end: "right" }
|
|
|
11057
10857
|
e.target instanceof Node && this.contains(e.target) || this._updatePosition();
|
|
11058
10858
|
}
|
|
11059
10859
|
_updatePosition() {
|
|
11060
|
-
if (!this.positionTarget || !this.opened || !this.__margins)
|
|
11061
|
-
return;
|
|
10860
|
+
if (!this.positionTarget || !this.opened || !this.__margins) return;
|
|
11062
10861
|
const e = this.positionTarget.getBoundingClientRect();
|
|
11063
10862
|
if (e.width === 0 && e.height === 0 && this.opened) {
|
|
11064
10863
|
this.opened = !1;
|
|
@@ -11319,10 +11118,8 @@ function Dt(r, e, t, i) {
|
|
|
11319
11118
|
}
|
|
11320
11119
|
function Ws(r, e) {
|
|
11321
11120
|
return e.filter((t) => t !== void 0).reduce((t, i) => {
|
|
11322
|
-
if (!i)
|
|
11323
|
-
|
|
11324
|
-
if (!t)
|
|
11325
|
-
return i;
|
|
11121
|
+
if (!i) return t;
|
|
11122
|
+
if (!t) return i;
|
|
11326
11123
|
const o = Math.abs(r.getTime() - i.getTime()), n = Math.abs(t.getTime() - r.getTime());
|
|
11327
11124
|
return o < n ? i : t;
|
|
11328
11125
|
});
|
|
@@ -11332,17 +11129,14 @@ function qs(r) {
|
|
|
11332
11129
|
return t.setDate(1), t.setMonth(parseInt(r) + e.getMonth()), t;
|
|
11333
11130
|
}
|
|
11334
11131
|
function zm(r, e, t = 0, i = 1) {
|
|
11335
|
-
if (e > 99)
|
|
11336
|
-
|
|
11337
|
-
if (e < 0)
|
|
11338
|
-
throw new Error("The provided year cannot be negative.");
|
|
11132
|
+
if (e > 99) throw new Error("The provided year cannot have more than 2 digits.");
|
|
11133
|
+
if (e < 0) throw new Error("The provided year cannot be negative.");
|
|
11339
11134
|
let o = e + Math.floor(r.getFullYear() / 100) * 100;
|
|
11340
11135
|
return r < new Date(o - 50, t, i) ? o -= 100 : r > new Date(o + 50, t, i) && (o += 100), o;
|
|
11341
11136
|
}
|
|
11342
11137
|
function Kt(r) {
|
|
11343
11138
|
const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(r);
|
|
11344
|
-
if (!e)
|
|
11345
|
-
return;
|
|
11139
|
+
if (!e) return;
|
|
11346
11140
|
const t = new Date(0, 0);
|
|
11347
11141
|
return t.setFullYear(parseInt(e[1], 10)), t.setMonth(parseInt(e[2], 10) - 1), t.setDate(parseInt(e[3], 10)), t;
|
|
11348
11142
|
}
|
|
@@ -11534,8 +11328,7 @@ class js extends HTMLElement {
|
|
|
11534
11328
|
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();
|
|
11535
11329
|
}
|
|
11536
11330
|
_scroll() {
|
|
11537
|
-
if (this._scrollDisabled)
|
|
11538
|
-
return;
|
|
11331
|
+
if (this._scrollDisabled) return;
|
|
11539
11332
|
const e = this.$.scroller.scrollTop;
|
|
11540
11333
|
(e < this._bufferHeight || e > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
11541
11334
|
const t = this.itemHeight + this.bufferOffset, i = e > this._buffers[1].translateY + t, o = e < this._buffers[0].translateY + t;
|
|
@@ -11565,8 +11358,7 @@ class js extends HTMLElement {
|
|
|
11565
11358
|
});
|
|
11566
11359
|
}
|
|
11567
11360
|
_ensureStampedInstance(e) {
|
|
11568
|
-
if (e.firstElementChild)
|
|
11569
|
-
return;
|
|
11361
|
+
if (e.firstElementChild) return;
|
|
11570
11362
|
const t = e.instance;
|
|
11571
11363
|
e.instance = this._createElement(), e.appendChild(e.instance), Object.keys(t).forEach((i) => {
|
|
11572
11364
|
e.instance[i] = t[i];
|
|
@@ -11780,18 +11572,13 @@ const jm = bo(class {
|
|
|
11780
11572
|
function Gm(r, e) {
|
|
11781
11573
|
for (let t = 0; t < e.length; t++) {
|
|
11782
11574
|
let i = e[t];
|
|
11783
|
-
if (!!r != !!i.__hideTemplateChildren__)
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
const o = i.__polymerReplaced__;
|
|
11791
|
-
o && ce(ce(o).parentNode).replaceChild(i, o);
|
|
11792
|
-
}
|
|
11793
|
-
else
|
|
11794
|
-
i.style && (r ? (i.__polymerDisplay__ = i.style.display, i.style.display = "none") : i.style.display = i.__polymerDisplay__);
|
|
11575
|
+
if (!!r != !!i.__hideTemplateChildren__) if (i.nodeType === Node.TEXT_NODE) r ? (i.__polymerTextContent__ = i.textContent, i.textContent = "") : i.textContent = i.__polymerTextContent__;
|
|
11576
|
+
else if (i.localName === "slot") if (r) i.__polymerReplaced__ = document.createComment("hidden-slot"), ce(ce(i).parentNode).replaceChild(i.__polymerReplaced__, i);
|
|
11577
|
+
else {
|
|
11578
|
+
const o = i.__polymerReplaced__;
|
|
11579
|
+
o && ce(ce(o).parentNode).replaceChild(i, o);
|
|
11580
|
+
}
|
|
11581
|
+
else i.style && (r ? (i.__polymerDisplay__ = i.style.display, i.style.display = "none") : i.style.display = i.__polymerDisplay__);
|
|
11795
11582
|
i.__hideTemplateChildren__ = r, i._showHideChildren && i._showHideChildren(r);
|
|
11796
11583
|
}
|
|
11797
11584
|
}
|
|
@@ -11800,27 +11587,22 @@ class Qe extends jm {
|
|
|
11800
11587
|
super(), this._configureProperties(e), this.root = this._stampTemplate(this.__dataHost);
|
|
11801
11588
|
let t = [];
|
|
11802
11589
|
this.children = t;
|
|
11803
|
-
for (let o = this.root.firstChild; o; o = o.nextSibling)
|
|
11804
|
-
t.push(o), o.__templatizeInstance = this;
|
|
11590
|
+
for (let o = this.root.firstChild; o; o = o.nextSibling) t.push(o), o.__templatizeInstance = this;
|
|
11805
11591
|
this.__templatizeOwner && this.__templatizeOwner.__hideTemplateChildren__ && this._showHideChildren(!0);
|
|
11806
11592
|
let i = this.__templatizeOptions;
|
|
11807
11593
|
(e && i.instanceProps || !i.instanceProps) && this._enableProperties();
|
|
11808
11594
|
}
|
|
11809
11595
|
_configureProperties(e) {
|
|
11810
|
-
if (this.__templatizeOptions.forwardHostProp)
|
|
11811
|
-
|
|
11812
|
-
this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
11813
|
-
for (let t in e)
|
|
11814
|
-
this._setPendingProperty(t, e[t]);
|
|
11596
|
+
if (this.__templatizeOptions.forwardHostProp) for (let t in this.__hostProps) this._setPendingProperty(t, this.__dataHost["_host_" + t]);
|
|
11597
|
+
for (let t in e) this._setPendingProperty(t, e[t]);
|
|
11815
11598
|
}
|
|
11816
11599
|
forwardHostProp(e, t) {
|
|
11817
11600
|
this._setPendingPropertyOrPath(e, t, !1, !0) && this.__dataHost._enqueueClient(this);
|
|
11818
11601
|
}
|
|
11819
11602
|
_addEventListenerToNode(e, t, i) {
|
|
11820
|
-
if (this._methodHost && this.__templatizeOptions.parentModel)
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
});
|
|
11603
|
+
if (this._methodHost && this.__templatizeOptions.parentModel) this._methodHost._addEventListenerToNode(e, t, (o) => {
|
|
11604
|
+
o.model = this, i(o);
|
|
11605
|
+
});
|
|
11824
11606
|
else {
|
|
11825
11607
|
let o = this.__dataHost.__dataHost;
|
|
11826
11608
|
o && o._addEventListenerToNode(e, t, i);
|
|
@@ -11883,20 +11665,17 @@ function Qm(r, e, t, i) {
|
|
|
11883
11665
|
a = e.templatizeTemplateClass = d;
|
|
11884
11666
|
}
|
|
11885
11667
|
let s = e.hostProps;
|
|
11886
|
-
for (let l in s)
|
|
11887
|
-
a.prototype._addPropertyEffect("_host_" + l, a.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: Jm(l, o) }), a.prototype._createNotifyingProperty("_host_" + l);
|
|
11668
|
+
for (let l in s) a.prototype._addPropertyEffect("_host_" + l, a.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: Jm(l, o) }), a.prototype._createNotifyingProperty("_host_" + l);
|
|
11888
11669
|
Ka && i && r_(e, t, i);
|
|
11889
11670
|
}
|
|
11890
|
-
if (r.__dataProto && Object.assign(r.__data, r.__dataProto), n)
|
|
11891
|
-
Ym(r, a), r.__dataTemp = {}, r.__dataPending = null, r.__dataOld = null, r._enableProperties();
|
|
11671
|
+
if (r.__dataProto && Object.assign(r.__data, r.__dataProto), n) Ym(r, a), r.__dataTemp = {}, r.__dataPending = null, r.__dataOld = null, r._enableProperties();
|
|
11892
11672
|
else {
|
|
11893
11673
|
Object.setPrototypeOf(r, a.prototype);
|
|
11894
11674
|
const s = e.hostProps;
|
|
11895
|
-
for (let l in s)
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
}
|
|
11675
|
+
for (let l in s) if (l = "_host_" + l, l in r) {
|
|
11676
|
+
const d = r[l];
|
|
11677
|
+
delete r[l], r.__data[l] = d;
|
|
11678
|
+
}
|
|
11900
11679
|
}
|
|
11901
11680
|
}
|
|
11902
11681
|
}
|
|
@@ -11912,9 +11691,7 @@ function Zm(r, e, t, i) {
|
|
|
11912
11691
|
let a = i.notifyInstanceProp;
|
|
11913
11692
|
a && r.prototype._addPropertyEffect(n, r.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: e_(n, a) });
|
|
11914
11693
|
}
|
|
11915
|
-
if (i.forwardHostProp && e.__dataHost)
|
|
11916
|
-
for (let n in o)
|
|
11917
|
-
t.hasHostProps || (t.hasHostProps = !0), r.prototype._addPropertyEffect(n, r.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: t_() });
|
|
11694
|
+
if (i.forwardHostProp && e.__dataHost) for (let n in o) t.hasHostProps || (t.hasHostProps = !0), r.prototype._addPropertyEffect(n, r.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: t_() });
|
|
11918
11695
|
}
|
|
11919
11696
|
function e_(r, e) {
|
|
11920
11697
|
return function(t, i, o) {
|
|
@@ -11927,10 +11704,8 @@ function t_() {
|
|
|
11927
11704
|
};
|
|
11928
11705
|
}
|
|
11929
11706
|
function oo(r, e, t) {
|
|
11930
|
-
if (Gr && !oa(r))
|
|
11931
|
-
|
|
11932
|
-
if (t = t || {}, r.__templatizeOwner)
|
|
11933
|
-
throw new Error("A <template> can only be templatized once");
|
|
11707
|
+
if (Gr && !oa(r)) throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11708
|
+
if (t = t || {}, r.__templatizeOwner) throw new Error("A <template> can only be templatized once");
|
|
11934
11709
|
r.__templatizeOwner = e;
|
|
11935
11710
|
let i = (e ? e.constructor : Qe)._parseTemplate(r), o = i.templatizeInstanceClass;
|
|
11936
11711
|
o || (o = Xm(r, i, t), i.templatizeInstanceClass = o);
|
|
@@ -11942,28 +11717,22 @@ function oo(r, e, t) {
|
|
|
11942
11717
|
}
|
|
11943
11718
|
function r_(r, e, t) {
|
|
11944
11719
|
const i = t.constructor._properties, { propertyEffects: o } = r, { instanceProps: n } = e;
|
|
11945
|
-
for (let a in o)
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
break;
|
|
11953
|
-
}
|
|
11720
|
+
for (let a in o) if (!i[a] && !(n && n[a])) {
|
|
11721
|
+
const s = o[a];
|
|
11722
|
+
for (let l = 0; l < s.length; l++) {
|
|
11723
|
+
const { part: d } = s[l].info;
|
|
11724
|
+
if (!(d.signature && d.signature.static)) {
|
|
11725
|
+
console.warn(`Property '${a}' used in template but not declared in 'properties'; attribute will not be observed.`);
|
|
11726
|
+
break;
|
|
11954
11727
|
}
|
|
11955
11728
|
}
|
|
11729
|
+
}
|
|
11956
11730
|
}
|
|
11957
11731
|
function i_(r, e) {
|
|
11958
11732
|
let t;
|
|
11959
|
-
for (; e; )
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
e = t.__dataHost;
|
|
11963
|
-
else
|
|
11964
|
-
return t;
|
|
11965
|
-
else
|
|
11966
|
-
e = ce(e).parentNode;
|
|
11733
|
+
for (; e; ) if (t = e.__dataHost ? e : e.__templatizeInstance) if (t.__dataHost != r) e = t.__dataHost;
|
|
11734
|
+
else return t;
|
|
11735
|
+
else e = ce(e).parentNode;
|
|
11967
11736
|
return null;
|
|
11968
11737
|
}
|
|
11969
11738
|
/**
|
|
@@ -12015,16 +11784,14 @@ class aa extends n_ {
|
|
|
12015
11784
|
}
|
|
12016
11785
|
disconnectedCallback() {
|
|
12017
11786
|
super.disconnectedCallback(), this.__isDetached = !0;
|
|
12018
|
-
for (let e = 0; e < this.__instances.length; e++)
|
|
12019
|
-
this.__detachInstance(e);
|
|
11787
|
+
for (let e = 0; e < this.__instances.length; e++) this.__detachInstance(e);
|
|
12020
11788
|
this.__chunkingId && cancelAnimationFrame(this.__chunkingId);
|
|
12021
11789
|
}
|
|
12022
11790
|
connectedCallback() {
|
|
12023
11791
|
if (super.connectedCallback(), o_() || (this.style.display = "none"), this.__isDetached) {
|
|
12024
11792
|
this.__isDetached = !1;
|
|
12025
11793
|
let e = ce(ce(this).parentNode);
|
|
12026
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12027
|
-
this.__attachInstance(t, e);
|
|
11794
|
+
for (let t = 0; t < this.__instances.length; t++) this.__attachInstance(t, e);
|
|
12028
11795
|
this.__chunkingId && this.__render();
|
|
12029
11796
|
}
|
|
12030
11797
|
}
|
|
@@ -12034,18 +11801,15 @@ class aa extends n_ {
|
|
|
12034
11801
|
let t = this.template = e._templateInfo ? e : this.querySelector("template");
|
|
12035
11802
|
if (!t) {
|
|
12036
11803
|
let o = new MutationObserver(() => {
|
|
12037
|
-
if (this.querySelector("template"))
|
|
12038
|
-
|
|
12039
|
-
else
|
|
12040
|
-
throw new Error("dom-repeat requires a <template> child");
|
|
11804
|
+
if (this.querySelector("template")) o.disconnect(), this.__render();
|
|
11805
|
+
else throw new Error("dom-repeat requires a <template> child");
|
|
12041
11806
|
});
|
|
12042
11807
|
return o.observe(this, { childList: !0 }), !1;
|
|
12043
11808
|
}
|
|
12044
11809
|
let i = {};
|
|
12045
11810
|
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = oo(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: i, forwardHostProp: function(o, n) {
|
|
12046
11811
|
let a = this.__instances;
|
|
12047
|
-
for (let s = 0, l; s < a.length && (l = a[s]); s++)
|
|
12048
|
-
l.forwardHostProp(o, n);
|
|
11812
|
+
for (let s = 0, l; s < a.length && (l = a[s]); s++) l.forwardHostProp(o, n);
|
|
12049
11813
|
}, notifyInstanceProp: function(o, n, a) {
|
|
12050
11814
|
if (ah(this.as, n)) {
|
|
12051
11815
|
let s = o[this.itemsIndexAs];
|
|
@@ -12083,12 +11847,10 @@ class aa extends n_ {
|
|
|
12083
11847
|
}
|
|
12084
11848
|
__handleObservedPaths(e) {
|
|
12085
11849
|
if (this.__sortFn || this.__filterFn) {
|
|
12086
|
-
if (!e)
|
|
12087
|
-
this.__debounceRender(this.__render, this.delay);
|
|
11850
|
+
if (!e) this.__debounceRender(this.__render, this.delay);
|
|
12088
11851
|
else if (this.__observePaths) {
|
|
12089
11852
|
let t = this.__observePaths;
|
|
12090
|
-
for (let i = 0; i < t.length; i++)
|
|
12091
|
-
e.indexOf(t[i]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
11853
|
+
for (let i = 0; i < t.length; i++) e.indexOf(t[i]) === 0 && this.__debounceRender(this.__render, this.delay);
|
|
12092
11854
|
}
|
|
12093
11855
|
}
|
|
12094
11856
|
}
|
|
@@ -12102,8 +11864,7 @@ class aa extends n_ {
|
|
|
12102
11864
|
this.__debounceRender(this.__render), Ho();
|
|
12103
11865
|
}
|
|
12104
11866
|
__render() {
|
|
12105
|
-
if (!this.__ensureTemplatized())
|
|
12106
|
-
return;
|
|
11867
|
+
if (!this.__ensureTemplatized()) return;
|
|
12107
11868
|
let e = this.items || [];
|
|
12108
11869
|
const t = this.__sortAndFilterItems(e), i = this.__calculateLimit(t.length);
|
|
12109
11870
|
this.__updateInstances(e, i, t), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
@@ -12112,8 +11873,7 @@ class aa extends n_ {
|
|
|
12112
11873
|
}
|
|
12113
11874
|
__sortAndFilterItems(e) {
|
|
12114
11875
|
let t = new Array(e.length);
|
|
12115
|
-
for (let i = 0; i < e.length; i++)
|
|
12116
|
-
t[i] = i;
|
|
11876
|
+
for (let i = 0; i < e.length; i++) t[i] = i;
|
|
12117
11877
|
return this.__filterFn && (t = t.filter((i, o, n) => this.__filterFn(e[i], o, n))), this.__sortFn && t.sort((i, o) => this.__sortFn(e[i], e[o])), t;
|
|
12118
11878
|
}
|
|
12119
11879
|
__calculateLimit(e) {
|
|
@@ -12139,8 +11899,7 @@ class aa extends n_ {
|
|
|
12139
11899
|
let a = this.__instances[n], s = i[n], l = e[s];
|
|
12140
11900
|
o[s] = n, a ? (a._setPendingProperty(this.as, l), a._setPendingProperty(this.indexAs, n), a._setPendingProperty(this.itemsIndexAs, s), a._flushProperties()) : this.__insertInstance(l, n, s);
|
|
12141
11901
|
}
|
|
12142
|
-
for (let a = this.__instances.length - 1; a >= n; a--)
|
|
12143
|
-
this.__detachAndRemoveInstance(a);
|
|
11902
|
+
for (let a = this.__instances.length - 1; a >= n; a--) this.__detachAndRemoveInstance(a);
|
|
12144
11903
|
}
|
|
12145
11904
|
__detachInstance(e) {
|
|
12146
11905
|
let t = this.__instances[e];
|
|
@@ -12168,8 +11927,7 @@ class aa extends n_ {
|
|
|
12168
11927
|
return ce(ce(this).parentNode).insertBefore(o.root, a), this.__instances[t] = o, o;
|
|
12169
11928
|
}
|
|
12170
11929
|
_showHideChildren(e) {
|
|
12171
|
-
for (let t = 0; t < this.__instances.length; t++)
|
|
12172
|
-
this.__instances[t]._showHideChildren(e);
|
|
11930
|
+
for (let t = 0; t < this.__instances.length; t++) this.__instances[t]._showHideChildren(e);
|
|
12173
11931
|
}
|
|
12174
11932
|
__handleItemPath(e, t) {
|
|
12175
11933
|
let i = e.slice(6), o = i.indexOf("."), n = o < 0 ? i : i.substring(0, o);
|
|
@@ -12222,8 +11980,7 @@ const a_ = (r) => class extends ut(r) {
|
|
|
12222
11980
|
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), t && i && t.getMonth() === i.getMonth() && t.getMonth() === e.getMonth() && i.getDate() - t.getDate() >= 0 ? !1 : !Dt(o, t, i) && !Dt(n, t, i);
|
|
12223
11981
|
}
|
|
12224
11982
|
_getTitle(e, t) {
|
|
12225
|
-
if (!(e === void 0 || t === void 0))
|
|
12226
|
-
return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
11983
|
+
if (!(e === void 0 || t === void 0)) return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
|
|
12227
11984
|
}
|
|
12228
11985
|
_onMonthGridTouchStart() {
|
|
12229
11986
|
this._notTapping = !1, setTimeout(() => {
|
|
@@ -12234,12 +11991,10 @@ const a_ = (r) => class extends ut(r) {
|
|
|
12234
11991
|
e.setDate(e.getDate() + t);
|
|
12235
11992
|
}
|
|
12236
11993
|
_applyFirstDayOfWeek(e, t) {
|
|
12237
|
-
if (!(e === void 0 || t === void 0))
|
|
12238
|
-
return e.slice(t).concat(e.slice(0, t));
|
|
11994
|
+
if (!(e === void 0 || t === void 0)) return e.slice(t).concat(e.slice(0, t));
|
|
12239
11995
|
}
|
|
12240
11996
|
_getWeekDayNames(e, t) {
|
|
12241
|
-
if (e === void 0 || t === void 0)
|
|
12242
|
-
return [];
|
|
11997
|
+
if (e === void 0 || t === void 0) return [];
|
|
12243
11998
|
const { weekdays: i, weekdaysShort: o, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(o, n);
|
|
12244
11999
|
return this._applyFirstDayOfWeek(i, n).map((s, l) => ({ weekDay: s, weekDayShort: a[l] })).slice(0, 7);
|
|
12245
12000
|
}
|
|
@@ -12256,14 +12011,11 @@ const a_ = (r) => class extends ut(r) {
|
|
|
12256
12011
|
return He(/* @__PURE__ */ new Date(), e);
|
|
12257
12012
|
}
|
|
12258
12013
|
_getDays(e, t) {
|
|
12259
|
-
if (e === void 0 || t === void 0)
|
|
12260
|
-
return [];
|
|
12014
|
+
if (e === void 0 || t === void 0) return [];
|
|
12261
12015
|
const i = new Date(0, 0);
|
|
12262
|
-
for (i.setFullYear(e.getFullYear()), i.setMonth(e.getMonth()), i.setDate(1); i.getDay() !== t.firstDayOfWeek; )
|
|
12263
|
-
this._dateAdd(i, -1);
|
|
12016
|
+
for (i.setFullYear(e.getFullYear()), i.setMonth(e.getMonth()), i.setDate(1); i.getDay() !== t.firstDayOfWeek; ) this._dateAdd(i, -1);
|
|
12264
12017
|
const o = [], n = i.getMonth(), a = e.getMonth();
|
|
12265
|
-
for (; i.getMonth() === a || i.getMonth() === n; )
|
|
12266
|
-
o.push(i.getMonth() === a ? new Date(i.getTime()) : null), this._dateAdd(i, 1);
|
|
12018
|
+
for (; i.getMonth() === a || i.getMonth() === n; ) o.push(i.getMonth() === a ? new Date(i.getTime()) : null), this._dateAdd(i, 1);
|
|
12267
12019
|
return o;
|
|
12268
12020
|
}
|
|
12269
12021
|
_getWeeks(e) {
|
|
@@ -12280,8 +12032,7 @@ const a_ = (r) => class extends ut(r) {
|
|
|
12280
12032
|
return Nm(t);
|
|
12281
12033
|
}
|
|
12282
12034
|
__getDayAriaLabel(e) {
|
|
12283
|
-
if (!e)
|
|
12284
|
-
return "";
|
|
12035
|
+
if (!e) return "";
|
|
12285
12036
|
let t = `${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;
|
|
12286
12037
|
return this._isToday(e) && (t += `, ${this.i18n.today}`), t;
|
|
12287
12038
|
}
|
|
@@ -12423,15 +12174,13 @@ class l_ extends a_(q(B)) {
|
|
|
12423
12174
|
return He(e, t);
|
|
12424
12175
|
}
|
|
12425
12176
|
__getDayAriaSelected(e, t) {
|
|
12426
|
-
if (this.__isDaySelected(e, t))
|
|
12427
|
-
return "true";
|
|
12177
|
+
if (this.__isDaySelected(e, t)) return "true";
|
|
12428
12178
|
}
|
|
12429
12179
|
__isDayDisabled(e, t, i, o) {
|
|
12430
12180
|
return !Dt(e, t, i, o);
|
|
12431
12181
|
}
|
|
12432
12182
|
__getDayAriaDisabled(e, t, i, o) {
|
|
12433
|
-
if (!(e === void 0 || t === void 0 && i === void 0 && o === void 0) && this.__isDayDisabled(e, t, i, o))
|
|
12434
|
-
return "true";
|
|
12183
|
+
if (!(e === void 0 || t === void 0 && i === void 0 && o === void 0) && this.__isDayDisabled(e, t, i, o)) return "true";
|
|
12435
12184
|
}
|
|
12436
12185
|
__getDayTabindex(e, t) {
|
|
12437
12186
|
return this.__isDayFocused(e, t) ? "0" : "-1";
|
|
@@ -12560,8 +12309,7 @@ const d_ = (r) => class extends r {
|
|
|
12560
12309
|
this.revealDate(e);
|
|
12561
12310
|
}
|
|
12562
12311
|
revealDate(e, t = !0) {
|
|
12563
|
-
if (!e)
|
|
12564
|
-
return;
|
|
12312
|
+
if (!e) return;
|
|
12565
12313
|
const i = this._differenceInMonths(e, this._originDate);
|
|
12566
12314
|
if (this.__useSubMonthScrolling) {
|
|
12567
12315
|
const s = this._calculateWeekScrollOffset(e);
|
|
@@ -12575,8 +12323,7 @@ const d_ = (r) => class extends r {
|
|
|
12575
12323
|
const t = new Date(0, 0);
|
|
12576
12324
|
t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth()), t.setDate(1);
|
|
12577
12325
|
let i = 0;
|
|
12578
|
-
for (; t.getDate() < e.getDate(); )
|
|
12579
|
-
t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (i += 1);
|
|
12326
|
+
for (; t.getDate() < e.getDate(); ) t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (i += 1);
|
|
12580
12327
|
return i / 6;
|
|
12581
12328
|
}
|
|
12582
12329
|
_initialPositionChanged(e) {
|
|
@@ -12646,8 +12393,7 @@ const d_ = (r) => class extends r {
|
|
|
12646
12393
|
if (d < this.scrollDuration) {
|
|
12647
12394
|
const c = o(d, a, this._targetPosition - a, this.scrollDuration);
|
|
12648
12395
|
this._monthScroller.position = c, window.requestAnimationFrame(s);
|
|
12649
|
-
} else
|
|
12650
|
-
this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: a } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, i(), this._revealPromise = void 0;
|
|
12396
|
+
} else this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: a } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, i(), this._revealPromise = void 0;
|
|
12651
12397
|
setTimeout(this._repositionYearScroller.bind(this), 1);
|
|
12652
12398
|
};
|
|
12653
12399
|
window.requestAnimationFrame(s);
|
|
@@ -12656,25 +12402,23 @@ const d_ = (r) => class extends r {
|
|
|
12656
12402
|
return Math.min(t.max, Math.max(t.min, e));
|
|
12657
12403
|
}
|
|
12658
12404
|
_handleTrack(e) {
|
|
12659
|
-
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10)
|
|
12660
|
-
return;
|
|
12405
|
+
if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10) return;
|
|
12661
12406
|
Math.abs(e.detail.ddx) > this._yearScrollerWidth / 3 && this._toggleAnimateClass(!0);
|
|
12662
12407
|
const t = this._translateX + e.detail.ddx;
|
|
12663
12408
|
this._translateX = this._limit(t, { min: 0, max: this._yearScrollerWidth });
|
|
12664
12409
|
}
|
|
12665
12410
|
_track(e) {
|
|
12666
|
-
if (!this._desktopMode)
|
|
12667
|
-
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12672
|
-
|
|
12673
|
-
|
|
12674
|
-
|
|
12675
|
-
|
|
12676
|
-
|
|
12677
|
-
}
|
|
12411
|
+
if (!this._desktopMode) switch (e.detail.state) {
|
|
12412
|
+
case "start":
|
|
12413
|
+
this._toggleAnimateClass(!1);
|
|
12414
|
+
break;
|
|
12415
|
+
case "track":
|
|
12416
|
+
this._handleTrack(e);
|
|
12417
|
+
break;
|
|
12418
|
+
case "end":
|
|
12419
|
+
this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
|
|
12420
|
+
break;
|
|
12421
|
+
}
|
|
12678
12422
|
}
|
|
12679
12423
|
_toggleAnimateClass(e) {
|
|
12680
12424
|
e ? this.classList.add("animate") : this.classList.remove("animate");
|
|
@@ -13014,8 +12758,7 @@ const qo = oe((r) => class extends Io(Oo(_r(r))) {
|
|
|
13014
12758
|
this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`);
|
|
13015
12759
|
}
|
|
13016
12760
|
_constraintsChanged(e, ...t) {
|
|
13017
|
-
if (!e)
|
|
13018
|
-
return;
|
|
12761
|
+
if (!e) return;
|
|
13019
12762
|
const i = this._hasValidConstraints(t), o = this.__previousHasConstraints && !i;
|
|
13020
12763
|
(this._hasValue || this.invalid) && i ? this.validate() : o && this._setInvalid(!1), this.__previousHasConstraints = i;
|
|
13021
12764
|
}
|
|
@@ -13088,12 +12831,11 @@ const ci = (r) => class extends Qs(ai(qo(si(m_(ct(r)))))) {
|
|
|
13088
12831
|
this.allowedCharPattern && e.data && !this.__allowedTextRegExp.test(e.data) && (e.preventDefault(), this._markInputPrevented());
|
|
13089
12832
|
}
|
|
13090
12833
|
_allowedCharPatternChanged(e) {
|
|
13091
|
-
if (e)
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
|
|
13095
|
-
|
|
13096
|
-
}
|
|
12834
|
+
if (e) try {
|
|
12835
|
+
this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
|
|
12836
|
+
} catch (t) {
|
|
12837
|
+
console.error(t);
|
|
12838
|
+
}
|
|
13097
12839
|
}
|
|
13098
12840
|
};
|
|
13099
12841
|
/**
|
|
@@ -13188,8 +12930,7 @@ const yr = (r) => class extends r {
|
|
|
13188
12930
|
return ["__updateOverlayClassNames(overlayClass, _overlayElement)"];
|
|
13189
12931
|
}
|
|
13190
12932
|
__updateOverlayClassNames(e, t) {
|
|
13191
|
-
if (!t || e === void 0)
|
|
13192
|
-
return;
|
|
12933
|
+
if (!t || e === void 0) return;
|
|
13193
12934
|
const { classList: i } = t;
|
|
13194
12935
|
if (this.__initialClasses || (this.__initialClasses = new Set(i)), Array.isArray(this.__previousClasses)) {
|
|
13195
12936
|
const n = this.__previousClasses.filter((a) => !this.__initialClasses.has(a));
|
|
@@ -13232,10 +12973,8 @@ const f_ = (r) => class extends yr(Be(ai(qo(ct(r))))) {
|
|
|
13232
12973
|
const s = this.referenceDate ? Kt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
13233
12974
|
a = zm(s, a, n, o);
|
|
13234
12975
|
}
|
|
13235
|
-
} else
|
|
13236
|
-
|
|
13237
|
-
if (o !== void 0)
|
|
13238
|
-
return { day: o, month: n, year: a };
|
|
12976
|
+
} else t.length === 2 ? (n = parseInt(t[0]) - 1, o = parseInt(t[1])) : t.length === 1 && (o = parseInt(t[0]));
|
|
12977
|
+
if (o !== void 0) return { day: o, month: n, year: a };
|
|
13239
12978
|
}, 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: Lo }, _focusOverlayOnOpen: Boolean, _overlayContent: { type: Object, sync: !0 }, _hasInputValue: { type: Boolean } };
|
|
13240
12979
|
}
|
|
13241
12980
|
static get observers() {
|
|
@@ -13285,8 +13024,7 @@ const f_ = (r) => class extends yr(Be(ai(qo(ct(r))))) {
|
|
|
13285
13024
|
this.$.overlay.close();
|
|
13286
13025
|
}
|
|
13287
13026
|
_overlayRenderer(e) {
|
|
13288
|
-
if (e.firstChild)
|
|
13289
|
-
return;
|
|
13027
|
+
if (e.firstChild) return;
|
|
13290
13028
|
const t = document.createElement("vaadin-date-picker-overlay-content");
|
|
13291
13029
|
e.appendChild(t), this._overlayContent = t, t.addEventListener("close", () => {
|
|
13292
13030
|
this._close();
|
|
@@ -13303,15 +13041,12 @@ const f_ = (r) => class extends yr(Be(ai(qo(ct(r))))) {
|
|
|
13303
13041
|
}), t.addEventListener("click", (i) => i.stopPropagation());
|
|
13304
13042
|
}
|
|
13305
13043
|
__parseDate(e) {
|
|
13306
|
-
if (!this.i18n.parseDate)
|
|
13307
|
-
return;
|
|
13044
|
+
if (!this.i18n.parseDate) return;
|
|
13308
13045
|
let t = this.i18n.parseDate(e);
|
|
13309
|
-
if (t && (t = Kt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
|
|
13310
|
-
return t;
|
|
13046
|
+
if (t && (t = Kt(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime())) return t;
|
|
13311
13047
|
}
|
|
13312
13048
|
__formatDate(e) {
|
|
13313
|
-
if (this.i18n.formatDate)
|
|
13314
|
-
return this.i18n.formatDate(Vo(e));
|
|
13049
|
+
if (this.i18n.formatDate) return this.i18n.formatDate(Vo(e));
|
|
13315
13050
|
}
|
|
13316
13051
|
checkValidity() {
|
|
13317
13052
|
const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), i = !this._selectedDate || Dt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
@@ -13401,8 +13136,7 @@ const f_ = (r) => class extends yr(Be(ai(qo(ct(r))))) {
|
|
|
13401
13136
|
if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
|
|
13402
13137
|
const e = this._inputElementValue || "", t = this.__parseDate(e);
|
|
13403
13138
|
t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
|
|
13404
|
-
} else
|
|
13405
|
-
this._focusedDate && this.__commitDate(this._focusedDate);
|
|
13139
|
+
} else this._focusedDate && this.__commitDate(this._focusedDate);
|
|
13406
13140
|
this._ignoreFocusedDateChange = !1;
|
|
13407
13141
|
}
|
|
13408
13142
|
_onOverlayClosed() {
|
|
@@ -13779,8 +13513,7 @@ const k_ = (r) => class extends Qs(Nt(ut(_r(r)))) {
|
|
|
13779
13513
|
return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
|
|
13780
13514
|
}
|
|
13781
13515
|
_setFocused(e) {
|
|
13782
|
-
if (super._setFocused(e), !e)
|
|
13783
|
-
this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
|
|
13516
|
+
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 })));
|
|
13784
13517
|
else {
|
|
13785
13518
|
const t = this.getRootNode().activeElement === this._revealNode;
|
|
13786
13519
|
this.toggleAttribute("focus-ring", this._keyboardActive && !t);
|
|
@@ -14055,8 +13788,7 @@ const al = (r) => class extends r {
|
|
|
14055
13788
|
e && this.setAttribute("dir", e);
|
|
14056
13789
|
}
|
|
14057
13790
|
requestContentUpdate() {
|
|
14058
|
-
if (!this.renderer || this.hidden)
|
|
14059
|
-
return;
|
|
13791
|
+
if (!this.renderer || this.hidden) return;
|
|
14060
13792
|
const e = { index: this.index, item: this.item, focused: this.focused, selected: this.selected };
|
|
14061
13793
|
this.renderer(this, this._owner, e);
|
|
14062
13794
|
}
|
|
@@ -14214,8 +13946,7 @@ const sa = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), D_
|
|
|
14214
13946
|
if (r == null) {
|
|
14215
13947
|
let e = this._physicalTop + this._scrollOffset;
|
|
14216
13948
|
r = this._iterateItems((t, i) => {
|
|
14217
|
-
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition)
|
|
14218
|
-
return i;
|
|
13949
|
+
if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition) return i;
|
|
14219
13950
|
}) || 0, this._firstVisibleIndexVal = r;
|
|
14220
13951
|
}
|
|
14221
13952
|
return r;
|
|
@@ -14247,24 +13978,20 @@ const sa = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), D_
|
|
|
14247
13978
|
const o = [], n = this._hiddenContentSize * this._ratio, a = this._virtualStart, s = this._virtualEnd, l = this._physicalCount;
|
|
14248
13979
|
let d = this._physicalTop + this._scrollOffset;
|
|
14249
13980
|
const c = this._physicalBottom + this._scrollOffset, u = this._scrollPosition, h = this._scrollBottom;
|
|
14250
|
-
for (r ? (e = this._physicalStart, t = u - d) : (e = this._physicalEnd, t = c - h); i = this._getPhysicalSizeIncrement(e), t -= i, !(o.length >= l || t <= n); )
|
|
14251
|
-
if (
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
|
|
14257
|
-
break;
|
|
14258
|
-
o.push(e), d -= i, e = e === 0 ? l - 1 : e - 1;
|
|
14259
|
-
}
|
|
13981
|
+
for (r ? (e = this._physicalStart, t = u - d) : (e = this._physicalEnd, t = c - h); i = this._getPhysicalSizeIncrement(e), t -= i, !(o.length >= l || t <= n); ) if (r) {
|
|
13982
|
+
if (s + o.length + 1 >= this._virtualCount || d + i >= u - this._scrollOffset) break;
|
|
13983
|
+
o.push(e), d += i, e = (e + 1) % l;
|
|
13984
|
+
} else {
|
|
13985
|
+
if (a - o.length <= 0 || d + this._physicalSize - i <= h) break;
|
|
13986
|
+
o.push(e), d -= i, e = e === 0 ? l - 1 : e - 1;
|
|
13987
|
+
}
|
|
14260
13988
|
return { indexes: o, physicalTop: d - this._scrollOffset };
|
|
14261
13989
|
}, _update(r, e) {
|
|
14262
13990
|
if (!(r && r.length === 0 || this._physicalCount === 0)) {
|
|
14263
|
-
if (this._assignModels(r), this._updateMetrics(r), e)
|
|
14264
|
-
|
|
14265
|
-
|
|
14266
|
-
|
|
14267
|
-
}
|
|
13991
|
+
if (this._assignModels(r), this._updateMetrics(r), e) for (; e.length; ) {
|
|
13992
|
+
const t = e.pop();
|
|
13993
|
+
this._physicalTop -= this._getPhysicalSizeIncrement(t);
|
|
13994
|
+
}
|
|
14268
13995
|
this._positionItems(), this._updateScrollerSize();
|
|
14269
13996
|
}
|
|
14270
13997
|
}, _isClientFull() {
|
|
@@ -14276,34 +14003,25 @@ const sa = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), D_
|
|
|
14276
14003
|
if (e > 0) {
|
|
14277
14004
|
const i = window.performance.now();
|
|
14278
14005
|
[].push.apply(this._physicalItems, this._createPool(e));
|
|
14279
|
-
for (let o = 0; o < e; o++)
|
|
14280
|
-
this._physicalSizes.push(0);
|
|
14006
|
+
for (let o = 0; o < e; o++) this._physicalSizes.push(0);
|
|
14281
14007
|
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() - i) / e, t = Math.round(this._physicalCount * 0.5);
|
|
14282
14008
|
}
|
|
14283
14009
|
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)), ys) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), Xr));
|
|
14284
14010
|
}
|
|
14285
14011
|
}, _render() {
|
|
14286
|
-
if (!(!this.isAttached || !this._isVisible))
|
|
14287
|
-
|
|
14288
|
-
|
|
14289
|
-
|
|
14290
|
-
} else
|
|
14291
|
-
this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(la));
|
|
14012
|
+
if (!(!this.isAttached || !this._isVisible)) if (this._physicalCount !== 0) {
|
|
14013
|
+
const r = this._getReusables(!0);
|
|
14014
|
+
this._physicalTop = r.physicalTop, this._virtualStart += r.indexes.length, this._physicalStart += r.indexes.length, this._update(r.indexes), this._update(), this._increasePoolIfNeeded(0);
|
|
14015
|
+
} else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(la));
|
|
14292
14016
|
}, _itemsChanged(r) {
|
|
14293
14017
|
r.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, cr));
|
|
14294
14018
|
}, _iterateItems(r, e) {
|
|
14295
14019
|
let t, i, o, n;
|
|
14296
14020
|
if (arguments.length === 2 && e) {
|
|
14297
|
-
for (n = 0; n < e.length; n++)
|
|
14298
|
-
if (t = e[n], i = this._computeVidx(t), (o = r.call(this, t, i)) != null)
|
|
14299
|
-
return o;
|
|
14021
|
+
for (n = 0; n < e.length; n++) if (t = e[n], i = this._computeVidx(t), (o = r.call(this, t, i)) != null) return o;
|
|
14300
14022
|
} else {
|
|
14301
|
-
for (t = this._physicalStart, i = this._virtualStart; t < this._physicalCount; t++, i++)
|
|
14302
|
-
|
|
14303
|
-
return o;
|
|
14304
|
-
for (t = 0; t < this._physicalStart; t++, i++)
|
|
14305
|
-
if ((o = r.call(this, t, i)) != null)
|
|
14306
|
-
return o;
|
|
14023
|
+
for (t = this._physicalStart, i = this._virtualStart; t < this._physicalCount; t++, i++) if ((o = r.call(this, t, i)) != null) return o;
|
|
14024
|
+
for (t = 0; t < this._physicalStart; t++, i++) if ((o = r.call(this, t, i)) != null) return o;
|
|
14307
14025
|
}
|
|
14308
14026
|
}, _computeVidx(r) {
|
|
14309
14027
|
return r >= this._physicalStart ? this._virtualStart + (r - this._physicalStart) : this._virtualStart + (this._physicalCount - this._physicalStart) + r;
|
|
@@ -14328,13 +14046,11 @@ const sa = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), D_
|
|
|
14328
14046
|
const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
|
|
14329
14047
|
this._estScrollHeight = e, (r || this._scrollHeight === 0 || this._scrollPosition >= e - this._physicalSize || Math.abs(e - this._scrollHeight) >= this._viewportHeight) && (this.$.items.style.height = `${e}px`, this._scrollHeight = e);
|
|
14330
14048
|
}, scrollToIndex(r) {
|
|
14331
|
-
if (typeof r != "number" || r < 0 || r > this.items.length - 1 || (Jt(), this._physicalCount === 0))
|
|
14332
|
-
return;
|
|
14049
|
+
if (typeof r != "number" || r < 0 || r > this.items.length - 1 || (Jt(), this._physicalCount === 0)) return;
|
|
14333
14050
|
r = this._clamp(r, 0, this._virtualCount - 1), (!this._isIndexRendered(r) || r >= this._maxVirtualStart) && (this._virtualStart = r - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
|
|
14334
14051
|
let e = this._physicalStart, t = this._virtualStart, i = 0;
|
|
14335
14052
|
const o = this._hiddenContentSize;
|
|
14336
|
-
for (; t < r && i <= o; )
|
|
14337
|
-
i += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14053
|
+
for (; t < r && i <= o; ) i += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
|
|
14338
14054
|
this._updateScrollerSize(!0), this._positionItems(), this._resetScrollPosition(this._physicalTop + this._scrollOffset + i), this._increasePoolIfNeeded(0), this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null;
|
|
14339
14055
|
}, _resetAverage() {
|
|
14340
14056
|
this._physicalAverage = 0, this._physicalAverageCount = 0;
|
|
@@ -14386,8 +14102,7 @@ class ll {
|
|
|
14386
14102
|
return this.__getVisibleElements().some((e) => e.__virtualizerPlaceholder);
|
|
14387
14103
|
}
|
|
14388
14104
|
scrollToIndex(e) {
|
|
14389
|
-
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight)
|
|
14390
|
-
return;
|
|
14105
|
+
if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight) return;
|
|
14391
14106
|
delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
|
|
14392
14107
|
const t = this.__getVisibleElements().length;
|
|
14393
14108
|
let i = Math.floor(e / this.size * this._virtualCount);
|
|
@@ -14412,8 +14127,7 @@ class ll {
|
|
|
14412
14127
|
}
|
|
14413
14128
|
__getBorderBoxHeight(e) {
|
|
14414
14129
|
const t = getComputedStyle(e), i = parseFloat(t.height) || 0;
|
|
14415
|
-
if (t.boxSizing === "border-box")
|
|
14416
|
-
return i;
|
|
14130
|
+
if (t.boxSizing === "border-box") return i;
|
|
14417
14131
|
const o = parseFloat(t.paddingBottom) || 0, n = parseFloat(t.paddingTop) || 0, a = parseFloat(t.borderBottomWidth) || 0, s = parseFloat(t.borderTopWidth) || 0;
|
|
14418
14132
|
return i + o + n + a + s;
|
|
14419
14133
|
}
|
|
@@ -14423,8 +14137,7 @@ class ll {
|
|
|
14423
14137
|
__afterElementsUpdated(e) {
|
|
14424
14138
|
e.forEach((t) => {
|
|
14425
14139
|
const i = t.offsetHeight;
|
|
14426
|
-
if (i === 0)
|
|
14427
|
-
t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = xe.debounce(this.__placeholderClearDebouncer, cr, () => this._resizeHandler());
|
|
14140
|
+
if (i === 0) t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = xe.debounce(this.__placeholderClearDebouncer, cr, () => this._resizeHandler());
|
|
14428
14141
|
else {
|
|
14429
14142
|
this.__elementHeightQueue.push(i), this.__elementHeightQueue.shift();
|
|
14430
14143
|
const o = this.__elementHeightQueue.filter((n) => n !== void 0);
|
|
@@ -14440,8 +14153,7 @@ class ll {
|
|
|
14440
14153
|
return this.__size;
|
|
14441
14154
|
}
|
|
14442
14155
|
set size(e) {
|
|
14443
|
-
if (e === this.size)
|
|
14444
|
-
return;
|
|
14156
|
+
if (e === this.size) return;
|
|
14445
14157
|
this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
|
|
14446
14158
|
let t, i;
|
|
14447
14159
|
if (e > 0 && (t = this.adjustedFirstVisibleIndex, i = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), Jt(), e > 0) {
|
|
@@ -14505,19 +14217,16 @@ class ll {
|
|
|
14505
14217
|
return t.indexOf(e) === 0 && e.__virtualIndex > 0;
|
|
14506
14218
|
}
|
|
14507
14219
|
__onElementFocused(e) {
|
|
14508
|
-
if (!this.reorderElements)
|
|
14509
|
-
return;
|
|
14220
|
+
if (!this.reorderElements) return;
|
|
14510
14221
|
const t = e.detail.element;
|
|
14511
|
-
if (!t)
|
|
14512
|
-
return;
|
|
14222
|
+
if (!t) return;
|
|
14513
14223
|
const i = this.__getVisibleElements();
|
|
14514
14224
|
(this.__previousFocusableSiblingMissing(t, i) || this.__nextFocusableSiblingMissing(t, i)) && this.flush();
|
|
14515
14225
|
const o = this.__getVisibleElements();
|
|
14516
14226
|
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());
|
|
14517
14227
|
}
|
|
14518
14228
|
_scrollHandler() {
|
|
14519
|
-
if (this.scrollTarget.offsetHeight === 0)
|
|
14520
|
-
return;
|
|
14229
|
+
if (this.scrollTarget.offsetHeight === 0) return;
|
|
14521
14230
|
this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
|
|
14522
14231
|
const e = this.scrollTarget.scrollTop - this._scrollPosition;
|
|
14523
14232
|
if (super._scrollHandler(), this._physicalCount !== 0) {
|
|
@@ -14527,8 +14236,7 @@ class ll {
|
|
|
14527
14236
|
e && (this.__fixInvalidItemPositioningDebouncer = xe.debounce(this.__fixInvalidItemPositioningDebouncer, Ge.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING), () => this.__fixInvalidItemPositioning())), this.reorderElements && (this.__scrollReorderDebouncer = xe.debounce(this.__scrollReorderDebouncer, Ge.after(this.timeouts.SCROLL_REORDER), () => this.__reorderElements())), this.__previousScrollTop = this._scrollTop, this._scrollTop === 0 && this.firstVisibleIndex !== 0 && Math.abs(e) > 0 && this.scrollToIndex(0);
|
|
14528
14237
|
}
|
|
14529
14238
|
__fixInvalidItemPositioning() {
|
|
14530
|
-
if (!this.scrollTarget.isConnected)
|
|
14531
|
-
return;
|
|
14239
|
+
if (!this.scrollTarget.isConnected) return;
|
|
14532
14240
|
const e = this._physicalTop > this._scrollTop, t = this._physicalBottom < this._scrollBottom, i = this.adjustedFirstVisibleIndex === 0, o = this.adjustedLastVisibleIndex === this.size - 1;
|
|
14533
14241
|
if (e && !i || t && !o) {
|
|
14534
14242
|
const n = t, a = this._ratio;
|
|
@@ -14536,8 +14244,7 @@ class ll {
|
|
|
14536
14244
|
}
|
|
14537
14245
|
}
|
|
14538
14246
|
__onWheel(e) {
|
|
14539
|
-
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY))
|
|
14540
|
-
return;
|
|
14247
|
+
if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY)) return;
|
|
14541
14248
|
let t = e.deltaY;
|
|
14542
14249
|
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) {
|
|
14543
14250
|
this._deltaYAcc += t, e.preventDefault();
|
|
@@ -14552,12 +14259,9 @@ class ll {
|
|
|
14552
14259
|
})) : this._hasResidualMomentum && i <= this._previousMomentum || this._ignoreNewWheel ? e.preventDefault() : i > this._previousMomentum && (this._hasResidualMomentum = !1), this._previousMomentum = i;
|
|
14553
14260
|
}
|
|
14554
14261
|
_hasScrolledAncestor(e, t, i) {
|
|
14555
|
-
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host)
|
|
14556
|
-
|
|
14557
|
-
if (
|
|
14558
|
-
return !0;
|
|
14559
|
-
if (e !== this && e.parentElement)
|
|
14560
|
-
return this._hasScrolledAncestor(e.parentElement, t, i);
|
|
14262
|
+
if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host) return !1;
|
|
14263
|
+
if (this._canScroll(e, t, i) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1) return !0;
|
|
14264
|
+
if (e !== this && e.parentElement) return this._hasScrolledAncestor(e.parentElement, t, i);
|
|
14561
14265
|
}
|
|
14562
14266
|
_canScroll(e, t, i) {
|
|
14563
14267
|
return i > 0 && e.scrollTop < e.scrollHeight - e.offsetHeight || i < 0 && e.scrollTop > 0 || t > 0 && e.scrollLeft < e.scrollWidth - e.offsetWidth || t < 0 && e.scrollLeft > 0;
|
|
@@ -14566,16 +14270,14 @@ class ll {
|
|
|
14566
14270
|
if (this._physicalCount > 2 && e) {
|
|
14567
14271
|
const t = Math.ceil(this._optPhysicalSize / this._physicalAverage) - this._physicalCount;
|
|
14568
14272
|
super._increasePoolIfNeeded(Math.max(e, Math.min(100, t)));
|
|
14569
|
-
} else
|
|
14570
|
-
super._increasePoolIfNeeded(e);
|
|
14273
|
+
} else super._increasePoolIfNeeded(e);
|
|
14571
14274
|
}
|
|
14572
14275
|
get _optPhysicalSize() {
|
|
14573
14276
|
const e = super._optPhysicalSize;
|
|
14574
14277
|
return e <= 0 || this.__hasPlaceholders() ? e : e + this.__getItemHeightBuffer();
|
|
14575
14278
|
}
|
|
14576
14279
|
__getItemHeightBuffer() {
|
|
14577
|
-
if (this._physicalCount === 0)
|
|
14578
|
-
return 0;
|
|
14280
|
+
if (this._physicalCount === 0) return 0;
|
|
14579
14281
|
const e = Math.ceil(this._viewportHeight * (this._maxPages - 1) / 2), t = Math.max(...this._physicalSizes);
|
|
14580
14282
|
return t > Math.min(...this._physicalSizes) ? Math.max(0, t - e) : 0;
|
|
14581
14283
|
}
|
|
@@ -14595,15 +14297,10 @@ class ll {
|
|
|
14595
14297
|
}
|
|
14596
14298
|
this.__pendingReorder = !1;
|
|
14597
14299
|
const e = this._virtualStart + (this._vidxOffset || 0), t = this.__getVisibleElements(), i = this.__getFocusedElement(t) || t[0];
|
|
14598
|
-
if (!i)
|
|
14599
|
-
return;
|
|
14300
|
+
if (!i) return;
|
|
14600
14301
|
const o = i.__virtualIndex - e, n = t.indexOf(i) - o;
|
|
14601
|
-
if (n > 0)
|
|
14602
|
-
|
|
14603
|
-
this.elementsContainer.appendChild(t[a]);
|
|
14604
|
-
else if (n < 0)
|
|
14605
|
-
for (let a = t.length + n; a < t.length; a++)
|
|
14606
|
-
this.elementsContainer.insertBefore(t[a], t[0]);
|
|
14302
|
+
if (n > 0) for (let a = 0; a < n; a++) this.elementsContainer.appendChild(t[a]);
|
|
14303
|
+
else if (n < 0) for (let a = t.length + n; a < t.length; a++) this.elementsContainer.insertBefore(t[a], t[0]);
|
|
14607
14304
|
if (ym) {
|
|
14608
14305
|
const { transform: a } = this.scrollTarget.style;
|
|
14609
14306
|
this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
|
|
@@ -14613,10 +14310,8 @@ class ll {
|
|
|
14613
14310
|
}
|
|
14614
14311
|
_adjustVirtualIndexOffset(e) {
|
|
14615
14312
|
const t = this._maxVirtualIndexOffset;
|
|
14616
|
-
if (this._virtualCount >= this.size)
|
|
14617
|
-
|
|
14618
|
-
else if (this.__skipNextVirtualIndexAdjust)
|
|
14619
|
-
this.__skipNextVirtualIndexAdjust = !1;
|
|
14313
|
+
if (this._virtualCount >= this.size) this._vidxOffset = 0;
|
|
14314
|
+
else if (this.__skipNextVirtualIndexAdjust) this.__skipNextVirtualIndexAdjust = !1;
|
|
14620
14315
|
else if (Math.abs(e) > 1e4) {
|
|
14621
14316
|
const i = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
|
|
14622
14317
|
this._vidxOffset = Math.round(i * t);
|
|
@@ -14689,14 +14384,12 @@ const dl = (r) => class extends r {
|
|
|
14689
14384
|
this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
|
|
14690
14385
|
}
|
|
14691
14386
|
scrollIntoView(e) {
|
|
14692
|
-
if (!this.__virtualizer || !(this.opened && e >= 0))
|
|
14693
|
-
return;
|
|
14387
|
+
if (!this.__virtualizer || !(this.opened && e >= 0)) return;
|
|
14694
14388
|
const t = this._visibleItemsCount();
|
|
14695
14389
|
let i = e;
|
|
14696
14390
|
e > this.__virtualizer.lastVisibleIndex - 1 ? (this.__virtualizer.scrollToIndex(e), i = e - t + 1) : e > this.__virtualizer.firstVisibleIndex && (i = this.__virtualizer.firstVisibleIndex), this.__virtualizer.scrollToIndex(Math.max(0, i));
|
|
14697
14391
|
const o = [...this.children].find((l) => !l.hidden && l.index === this.__virtualizer.lastVisibleIndex);
|
|
14698
|
-
if (!o || e !== o.index)
|
|
14699
|
-
return;
|
|
14392
|
+
if (!o || e !== o.index) return;
|
|
14700
14393
|
const n = o.getBoundingClientRect(), a = this.getBoundingClientRect(), s = n.bottom - a.bottom + this._viewportTotalPaddingBottom;
|
|
14701
14394
|
s > 0 && (this.scrollTop += s);
|
|
14702
14395
|
}
|
|
@@ -14821,10 +14514,8 @@ function ei(r, e, t = 0) {
|
|
|
14821
14514
|
let i = e;
|
|
14822
14515
|
for (const o of r.subCaches) {
|
|
14823
14516
|
const n = o.parentCacheIndex;
|
|
14824
|
-
if (i <= n)
|
|
14825
|
-
|
|
14826
|
-
if (i <= n + o.flatSize)
|
|
14827
|
-
return ei(o, i - n - 1, t + 1);
|
|
14517
|
+
if (i <= n) break;
|
|
14518
|
+
if (i <= n + o.flatSize) return ei(o, i - n - 1, t + 1);
|
|
14828
14519
|
i -= o.flatSize;
|
|
14829
14520
|
}
|
|
14830
14521
|
return { cache: r, item: r.items[i], index: i, page: Math.floor(i / r.pageSize), level: t };
|
|
@@ -14832,13 +14523,11 @@ function ei(r, e, t = 0) {
|
|
|
14832
14523
|
function cl({ getItemId: r }, e, t, i = 0, o = 0) {
|
|
14833
14524
|
for (let n = 0; n < e.items.length; n++) {
|
|
14834
14525
|
const a = e.items[n];
|
|
14835
|
-
if (a && r(a) === r(t))
|
|
14836
|
-
return { cache: e, level: i, item: a, index: n, page: Math.floor(n / e.pageSize), subCache: e.getSubCache(n), flatIndex: o + e.getFlatIndex(n) };
|
|
14526
|
+
if (a && r(a) === r(t)) return { cache: e, level: i, item: a, index: n, page: Math.floor(n / e.pageSize), subCache: e.getSubCache(n), flatIndex: o + e.getFlatIndex(n) };
|
|
14837
14527
|
}
|
|
14838
14528
|
for (const n of e.subCaches) {
|
|
14839
14529
|
const a = o + e.getFlatIndex(n.parentCacheIndex), s = cl({ getItemId: r }, n, t, i + 1, a + 1);
|
|
14840
|
-
if (s)
|
|
14841
|
-
return s;
|
|
14530
|
+
if (s) return s;
|
|
14842
14531
|
}
|
|
14843
14532
|
}
|
|
14844
14533
|
function ul(r, [e, ...t], i = 0) {
|
|
@@ -14878,8 +14567,7 @@ class Yo {
|
|
|
14878
14567
|
if (this.__size !== e) {
|
|
14879
14568
|
if (this.__size = e, this.context.placeholder !== void 0) {
|
|
14880
14569
|
this.items.length = e || 0;
|
|
14881
|
-
for (let i = 0; i < e; i++)
|
|
14882
|
-
(t = this.items)[i] || (t[i] = this.context.placeholder);
|
|
14570
|
+
for (let i = 0; i < e; i++) (t = this.items)[i] || (t[i] = this.context.placeholder);
|
|
14883
14571
|
}
|
|
14884
14572
|
Object.keys(this.pendingRequests).forEach((i) => {
|
|
14885
14573
|
parseInt(i) * this.pageSize >= this.size && delete this.pendingRequests[i];
|
|
@@ -14999,8 +14687,7 @@ class L_ extends EventTarget {
|
|
|
14999
14687
|
return new Yo(this.__cacheContext, this.pageSize, e);
|
|
15000
14688
|
}
|
|
15001
14689
|
__loadCachePage(e, t) {
|
|
15002
|
-
if (!this.dataProvider || e.pendingRequests[t])
|
|
15003
|
-
return;
|
|
14690
|
+
if (!this.dataProvider || e.pendingRequests[t]) return;
|
|
15004
14691
|
let i = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
|
|
15005
14692
|
this.dataProviderParams && (i = Ur(Ur({}, i), this.dataProviderParams()));
|
|
15006
14693
|
const o = (n, a) => {
|
|
@@ -15029,8 +14716,7 @@ const hl = (r) => class extends r {
|
|
|
15029
14716
|
}
|
|
15030
14717
|
ready() {
|
|
15031
14718
|
super.ready(), this._scroller.addEventListener("index-requested", (e) => {
|
|
15032
|
-
if (!this._shouldFetchData())
|
|
15033
|
-
return;
|
|
14719
|
+
if (!this._shouldFetchData()) return;
|
|
15034
14720
|
const t = e.detail.index;
|
|
15035
14721
|
t !== void 0 && this.__dataProviderController.ensureFlatIndexLoaded(t);
|
|
15036
14722
|
}), this.__dataProviderInitialized = !0, this.dataProvider && this.__synchronizeControllerState();
|
|
@@ -15075,8 +14761,7 @@ const hl = (r) => class extends r {
|
|
|
15075
14761
|
}
|
|
15076
14762
|
}
|
|
15077
14763
|
_pageSizeChanged(e, t) {
|
|
15078
|
-
if (Math.floor(e) !== e || e < 1)
|
|
15079
|
-
throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
14764
|
+
if (Math.floor(e) !== e || e < 1) throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
|
|
15080
14765
|
this.__dataProviderController.setPageSize(e), this.clearCache();
|
|
15081
14766
|
}
|
|
15082
14767
|
_dataProviderChanged(e, t) {
|
|
@@ -15085,8 +14770,7 @@ const hl = (r) => class extends r {
|
|
|
15085
14770
|
}), this.__dataProviderController.setDataProvider(e), this.clearCache();
|
|
15086
14771
|
}
|
|
15087
14772
|
_ensureItemsOrDataProvider(e) {
|
|
15088
|
-
if (this.items !== void 0 && this.dataProvider !== void 0)
|
|
15089
|
-
throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
14773
|
+
if (this.items !== void 0 && this.dataProvider !== void 0) throw e(), new Error("Using `items` and `dataProvider` together is not supported");
|
|
15090
14774
|
}
|
|
15091
14775
|
_warnDataProviderValue(e, t) {
|
|
15092
14776
|
if (e && t !== "" && (this.selectedItem === void 0 || this.selectedItem === null)) {
|
|
@@ -15183,11 +14867,10 @@ const pl = (r) => class extends yr(Be(Oo(ut(ct(_r(Nt(r))))))) {
|
|
|
15183
14867
|
}, i.requestContentUpdate(), this._scroller = t;
|
|
15184
14868
|
}
|
|
15185
14869
|
_updateScroller(e, t, i, o, n, a, s, l, d, c) {
|
|
15186
|
-
if (e && (i && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: i ? t : [], opened: i, loading: o, selectedItem: n, itemIdPath: a, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated))
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
|
|
15190
|
-
}
|
|
14870
|
+
if (e && (i && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: i ? t : [], opened: i, loading: o, selectedItem: n, itemIdPath: a, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated)) try {
|
|
14871
|
+
e.performUpdate();
|
|
14872
|
+
} catch (u) {
|
|
14873
|
+
}
|
|
15191
14874
|
}
|
|
15192
14875
|
_openedOrItemsChanged(e, t, i, o) {
|
|
15193
14876
|
this._overlayOpened = e && (o || i || !!(t && t.length));
|
|
@@ -15203,14 +14886,12 @@ const pl = (r) => class extends yr(Be(Oo(ut(ct(_r(Nt(r))))))) {
|
|
|
15203
14886
|
}
|
|
15204
14887
|
_updateActiveDescendant(e) {
|
|
15205
14888
|
const t = this._nativeInput;
|
|
15206
|
-
if (!t)
|
|
15207
|
-
return;
|
|
14889
|
+
if (!t) return;
|
|
15208
14890
|
const i = this._getItemElements().find((o) => o.index === e);
|
|
15209
14891
|
i ? t.setAttribute("aria-activedescendant", i.id) : t.removeAttribute("aria-activedescendant");
|
|
15210
14892
|
}
|
|
15211
14893
|
_openedChanged(e, t) {
|
|
15212
|
-
if (t === void 0)
|
|
15213
|
-
return;
|
|
14894
|
+
if (t === void 0) return;
|
|
15214
14895
|
e ? !this._isInputFocused() && !Zi && this.inputElement && this.inputElement.focus() : this._onClosed();
|
|
15215
14896
|
const i = this._nativeInput;
|
|
15216
14897
|
i && (i.setAttribute("aria-expanded", !!e), e ? i.setAttribute("aria-controls", this._scroller.id) : i.removeAttribute("aria-controls"));
|
|
@@ -15251,20 +14932,17 @@ const pl = (r) => class extends yr(Be(Oo(ut(ct(_r(Nt(r))))))) {
|
|
|
15251
14932
|
if (this.opened) {
|
|
15252
14933
|
const e = this._dropdownItems;
|
|
15253
14934
|
e && (this._focusedIndex = Math.min(e.length - 1, this._focusedIndex + 1), this._prefillFocusedItemLabel());
|
|
15254
|
-
} else
|
|
15255
|
-
this.open();
|
|
14935
|
+
} else this.open();
|
|
15256
14936
|
}
|
|
15257
14937
|
_onArrowUp() {
|
|
15258
14938
|
if (this.opened) {
|
|
15259
|
-
if (this._focusedIndex > -1)
|
|
15260
|
-
this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
14939
|
+
if (this._focusedIndex > -1) this._focusedIndex = Math.max(0, this._focusedIndex - 1);
|
|
15261
14940
|
else {
|
|
15262
14941
|
const e = this._dropdownItems;
|
|
15263
14942
|
e && (this._focusedIndex = e.length - 1);
|
|
15264
14943
|
}
|
|
15265
14944
|
this._prefillFocusedItemLabel();
|
|
15266
|
-
} else
|
|
15267
|
-
this.open();
|
|
14945
|
+
} else this.open();
|
|
15268
14946
|
}
|
|
15269
14947
|
_prefillFocusedItemLabel() {
|
|
15270
14948
|
if (this._focusedIndex > -1) {
|
|
@@ -15325,8 +15003,7 @@ const pl = (r) => class extends yr(Be(Oo(ut(ct(_r(Nt(r))))))) {
|
|
|
15325
15003
|
if (this._focusedIndex > -1) {
|
|
15326
15004
|
const e = this._dropdownItems[this._focusedIndex];
|
|
15327
15005
|
this.selectedItem !== e && (this.selectedItem = e), this._inputElementValue = this._getItemLabel(this.selectedItem), this._focusedIndex = -1;
|
|
15328
|
-
} else if (this._inputElementValue === "" || this._inputElementValue === void 0)
|
|
15329
|
-
this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15006
|
+
} else if (this._inputElementValue === "" || this._inputElementValue === void 0) this.selectedItem = null, this.allowCustomValue && (this.value = "");
|
|
15330
15007
|
else {
|
|
15331
15008
|
const e = [this.selectedItem, ...this._dropdownItems || []], t = e[this.__getItemIndexByLabel(e, this._inputElementValue)];
|
|
15332
15009
|
if (this.allowCustomValue && !t) {
|
|
@@ -15334,8 +15011,7 @@ const pl = (r) => class extends yr(Be(Oo(ut(ct(_r(Nt(r))))))) {
|
|
|
15334
15011
|
this._lastCustomValue = i;
|
|
15335
15012
|
const o = new CustomEvent("custom-value-set", { detail: i, composed: !0, cancelable: !0, bubbles: !0 });
|
|
15336
15013
|
this.dispatchEvent(o), o.defaultPrevented || (this.value = i);
|
|
15337
|
-
} else
|
|
15338
|
-
!this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15014
|
+
} else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
|
|
15339
15015
|
}
|
|
15340
15016
|
this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
|
|
15341
15017
|
}
|
|
@@ -15359,12 +15035,10 @@ const pl = (r) => class extends yr(Be(Oo(ut(ct(_r(Nt(r))))))) {
|
|
|
15359
15035
|
this.allowCustomValue && !this.selectedItem ? this._inputElementValue = this.value : this._inputElementValue = this._getItemLabel(this.selectedItem);
|
|
15360
15036
|
}
|
|
15361
15037
|
_selectedItemChanged(e) {
|
|
15362
|
-
if (e == null)
|
|
15363
|
-
this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15038
|
+
if (e == null) this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
|
|
15364
15039
|
else {
|
|
15365
15040
|
const t = this._getItemValue(e);
|
|
15366
|
-
if (this.value !== t && (this.value = t, this.value !== t))
|
|
15367
|
-
return;
|
|
15041
|
+
if (this.value !== t && (this.value = t, this.value !== t)) return;
|
|
15368
15042
|
this._toggleHasValue(!0), this._inputElementValue = this._getItemLabel(e);
|
|
15369
15043
|
}
|
|
15370
15044
|
}
|
|
@@ -15961,8 +15635,7 @@ class G_ extends hl(pl(q(B))) {
|
|
|
15961
15635
|
}
|
|
15962
15636
|
_onEnter(e) {
|
|
15963
15637
|
if (this.opened) {
|
|
15964
|
-
if (e.preventDefault(), e.stopPropagation(), this.readonly)
|
|
15965
|
-
this.close();
|
|
15638
|
+
if (e.preventDefault(), e.stopPropagation(), this.readonly) this.close();
|
|
15966
15639
|
else if (this._hasValidInputValue()) {
|
|
15967
15640
|
const t = this._dropdownItems[this._focusedIndex];
|
|
15968
15641
|
this._commitValue(), this._focusedIndex = this._dropdownItems.indexOf(t);
|
|
@@ -16271,8 +15944,7 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16271
15944
|
if (this._toggleHasValue(this._hasValue), this._hasValue) {
|
|
16272
15945
|
const t = this._mergeItemLabels(e);
|
|
16273
15946
|
this.__tmpA11yPlaceholder === void 0 && (this.__savedPlaceholder = this.placeholder), this.__tmpA11yPlaceholder = t, this.placeholder = t;
|
|
16274
|
-
} else
|
|
16275
|
-
this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
15947
|
+
} else this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
|
|
16276
15948
|
this.__updateChips(), this.requestContentUpdate(), this.opened && this.$.comboBox.$.overlay._updateOverlayWidth();
|
|
16277
15949
|
}
|
|
16278
15950
|
_getItemLabel(e) {
|
|
@@ -16283,9 +15955,7 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16283
15955
|
}
|
|
16284
15956
|
_findIndex(e, t, i) {
|
|
16285
15957
|
if (i && e) {
|
|
16286
|
-
for (let o = 0; o < t.length; o++)
|
|
16287
|
-
if (t[o] && t[o][i] === e[i])
|
|
16288
|
-
return o;
|
|
15958
|
+
for (let o = 0; o < t.length; o++) if (t[o] && t[o][i] === e[i]) return o;
|
|
16289
15959
|
return -1;
|
|
16290
15960
|
}
|
|
16291
15961
|
return t.indexOf(e);
|
|
@@ -16313,8 +15983,7 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16313
15983
|
return;
|
|
16314
15984
|
}
|
|
16315
15985
|
t.splice(i, 1);
|
|
16316
|
-
} else
|
|
16317
|
-
t.push(e), n = !0;
|
|
15986
|
+
} else t.push(e), n = !0;
|
|
16318
15987
|
this.__updateSelection(t), this.__clearInternalValue(), this.__announceItem(o, n, t.length);
|
|
16319
15988
|
}
|
|
16320
15989
|
__updateSelection(e) {
|
|
@@ -16338,8 +16007,7 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16338
16007
|
return e.setAttribute("count", t), e.setAttribute("hidden", ""), e.style.visibility = "", o;
|
|
16339
16008
|
}
|
|
16340
16009
|
__updateChips() {
|
|
16341
|
-
if (!this._inputField || !this.inputElement)
|
|
16342
|
-
return;
|
|
16010
|
+
if (!this._inputField || !this.inputElement) return;
|
|
16343
16011
|
this._chips.forEach((a) => {
|
|
16344
16012
|
a.remove();
|
|
16345
16013
|
});
|
|
@@ -16358,8 +16026,7 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16358
16026
|
for (; a.length > 1; ) {
|
|
16359
16027
|
a.pop().remove(), s.unshift(e.pop());
|
|
16360
16028
|
const d = s.length > 0 ? i + this.__getOverflowWidth() : i;
|
|
16361
|
-
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d)
|
|
16362
|
-
break;
|
|
16029
|
+
if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d) break;
|
|
16363
16030
|
}
|
|
16364
16031
|
a.length === 1 && (a[0].style.maxWidth = `${Math.max(n, o)}px`);
|
|
16365
16032
|
}
|
|
@@ -16368,13 +16035,11 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16368
16035
|
}
|
|
16369
16036
|
for (let a = e.length - 1, s = null; a >= 0; a--) {
|
|
16370
16037
|
const l = this.__createChip(e[a]);
|
|
16371
|
-
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o)
|
|
16372
|
-
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16376
|
-
break;
|
|
16377
|
-
}
|
|
16038
|
+
if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o) if (s === null) l.style.maxWidth = `${Math.max(n, o)}px`;
|
|
16039
|
+
else {
|
|
16040
|
+
l.remove();
|
|
16041
|
+
break;
|
|
16042
|
+
}
|
|
16378
16043
|
e.pop(), s = l;
|
|
16379
16044
|
}
|
|
16380
16045
|
this._overflowItems = e;
|
|
@@ -16400,41 +16065,37 @@ class X_ extends ml(ci(q(Pe(B)))) {
|
|
|
16400
16065
|
_onKeyDown(e) {
|
|
16401
16066
|
super._onKeyDown(e);
|
|
16402
16067
|
const t = this._chips;
|
|
16403
|
-
if (!this.readonly && t.length > 0)
|
|
16404
|
-
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
|
|
16414
|
-
|
|
16415
|
-
|
|
16416
|
-
|
|
16417
|
-
}
|
|
16068
|
+
if (!this.readonly && t.length > 0) switch (e.key) {
|
|
16069
|
+
case "Backspace":
|
|
16070
|
+
this._onBackSpace(t);
|
|
16071
|
+
break;
|
|
16072
|
+
case "ArrowLeft":
|
|
16073
|
+
this._onArrowLeft(t, e);
|
|
16074
|
+
break;
|
|
16075
|
+
case "ArrowRight":
|
|
16076
|
+
this._onArrowRight(t, e);
|
|
16077
|
+
break;
|
|
16078
|
+
default:
|
|
16079
|
+
this._focusedChipIndex = -1;
|
|
16080
|
+
break;
|
|
16081
|
+
}
|
|
16418
16082
|
}
|
|
16419
16083
|
_onArrowLeft(e, t) {
|
|
16420
|
-
if (this.inputElement.selectionStart !== 0)
|
|
16421
|
-
return;
|
|
16084
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
16422
16085
|
const i = this._focusedChipIndex;
|
|
16423
16086
|
i !== -1 && t.preventDefault();
|
|
16424
16087
|
let o;
|
|
16425
16088
|
this.__isRTL ? i === e.length - 1 ? o = -1 : i > -1 && (o = i + 1) : i === -1 ? o = e.length - 1 : i > 0 && (o = i - 1), o !== void 0 && (this._focusedChipIndex = o);
|
|
16426
16089
|
}
|
|
16427
16090
|
_onArrowRight(e, t) {
|
|
16428
|
-
if (this.inputElement.selectionStart !== 0)
|
|
16429
|
-
return;
|
|
16091
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
16430
16092
|
const i = this._focusedChipIndex;
|
|
16431
16093
|
i !== -1 && t.preventDefault();
|
|
16432
16094
|
let o;
|
|
16433
16095
|
this.__isRTL ? i === -1 ? o = e.length - 1 : i > 0 && (o = i - 1) : i === e.length - 1 ? o = -1 : i > -1 && (o = i + 1), o !== void 0 && (this._focusedChipIndex = o);
|
|
16434
16096
|
}
|
|
16435
16097
|
_onBackSpace(e) {
|
|
16436
|
-
if (this.inputElement.selectionStart !== 0)
|
|
16437
|
-
return;
|
|
16098
|
+
if (this.inputElement.selectionStart !== 0) return;
|
|
16438
16099
|
const t = this._focusedChipIndex;
|
|
16439
16100
|
t === -1 ? this._focusedChipIndex = e.length - 1 : (this.__removeItem(e[t].item), this._focusedChipIndex = -1);
|
|
16440
16101
|
}
|
|
@@ -16869,8 +16530,7 @@ class Ve extends yr(ri(Pe(B))) {
|
|
|
16869
16530
|
this.renderer && this.renderer(this._card, this);
|
|
16870
16531
|
}
|
|
16871
16532
|
_rendererChanged(e, t, i) {
|
|
16872
|
-
if (!i)
|
|
16873
|
-
return;
|
|
16533
|
+
if (!i) return;
|
|
16874
16534
|
const o = this._oldRenderer !== e;
|
|
16875
16535
|
this._oldRenderer = e, o && (i.innerHTML = "", delete i._$litPart$), t && (this._didAnimateNotificationAppend || this._animatedAppendNotificationCard(), this.requestContentUpdate());
|
|
16876
16536
|
}
|
|
@@ -17152,8 +16812,7 @@ const nf = (r) => class extends ct(r) {
|
|
|
17152
16812
|
return Array.from(this.children);
|
|
17153
16813
|
}
|
|
17154
16814
|
_onKeyDown(e) {
|
|
17155
|
-
if (super._onKeyDown(e), e.metaKey || e.ctrlKey)
|
|
17156
|
-
return;
|
|
16815
|
+
if (super._onKeyDown(e), e.metaKey || e.ctrlKey) return;
|
|
17157
16816
|
const { key: t } = e, i = this._getItems() || [], o = i.indexOf(this.focused);
|
|
17158
16817
|
let n, a;
|
|
17159
16818
|
const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
|
|
@@ -17178,8 +16837,7 @@ const nf = (r) => class extends ct(r) {
|
|
|
17178
16837
|
for (let s = 0; typeof a == "number" && s < n; s += 1, a += i || 1) {
|
|
17179
16838
|
a < 0 ? a = n - 1 : a >= n && (a = 0);
|
|
17180
16839
|
const l = e[a];
|
|
17181
|
-
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o))
|
|
17182
|
-
return a;
|
|
16840
|
+
if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o)) return a;
|
|
17183
16841
|
}
|
|
17184
16842
|
return -1;
|
|
17185
16843
|
}
|
|
@@ -17238,8 +16896,7 @@ const gl = (r) => class extends nf(r) {
|
|
|
17238
16896
|
return e.filter((t) => t._hasVaadinItemMixin);
|
|
17239
16897
|
}
|
|
17240
16898
|
_onClick(e) {
|
|
17241
|
-
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented)
|
|
17242
|
-
return;
|
|
16899
|
+
if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented) return;
|
|
17243
16900
|
const t = this._filterItems(e.composedPath())[0];
|
|
17244
16901
|
let i;
|
|
17245
16902
|
t && !t.disabled && (i = this.items.indexOf(t)) >= 0 && (this.selected = i);
|
|
@@ -17255,8 +16912,7 @@ const gl = (r) => class extends nf(r) {
|
|
|
17255
16912
|
return e.textContent.replace(/[^\p{L}\p{Nd}]/gu, "").toLowerCase().startsWith(this._searchBuf);
|
|
17256
16913
|
}
|
|
17257
16914
|
_onKeyDown(e) {
|
|
17258
|
-
if (e.metaKey || e.ctrlKey)
|
|
17259
|
-
return;
|
|
16915
|
+
if (e.metaKey || e.ctrlKey) return;
|
|
17260
16916
|
const t = e.key, i = this.items.indexOf(this.focused);
|
|
17261
16917
|
if (/[\p{L}\p{Nd}]/u.test(t) && t.length === 1) {
|
|
17262
16918
|
const o = this._searchKey(i, t);
|
|
@@ -17282,15 +16938,13 @@ const gl = (r) => class extends nf(r) {
|
|
|
17282
16938
|
}
|
|
17283
16939
|
_scrollToItem(e) {
|
|
17284
16940
|
const t = this.items[e];
|
|
17285
|
-
if (!t)
|
|
17286
|
-
return;
|
|
16941
|
+
if (!t) return;
|
|
17287
16942
|
const i = this._vertical ? ["top", "bottom"] : this._isRTL ? ["right", "left"] : ["left", "right"], o = this._scrollerElement.getBoundingClientRect(), n = (this.items[e + 1] || t).getBoundingClientRect(), a = (this.items[e - 1] || t).getBoundingClientRect();
|
|
17288
16943
|
let s = 0;
|
|
17289
16944
|
!this._isRTL && n[i[1]] >= o[i[1]] || this._isRTL && n[i[1]] <= o[i[1]] ? s = n[i[1]] - o[i[1]] : (!this._isRTL && a[i[0]] <= o[i[0]] || this._isRTL && a[i[0]] >= o[i[0]]) && (s = a[i[0]] - o[i[0]]), this._scroll(s);
|
|
17290
16945
|
}
|
|
17291
16946
|
_scroll(e) {
|
|
17292
|
-
if (this._vertical)
|
|
17293
|
-
this._scrollerElement.scrollTop += e;
|
|
16947
|
+
if (this._vertical) this._scrollerElement.scrollTop += e;
|
|
17294
16948
|
else {
|
|
17295
16949
|
const t = this.getAttribute("dir") || "ltr", i = vl(this._scrollerElement, t) + e;
|
|
17296
16950
|
of(this._scrollerElement, t, i);
|
|
@@ -17567,8 +17221,7 @@ const mf = (r) => class extends yr(ai(Io(ct(si(r))))) {
|
|
|
17567
17221
|
}
|
|
17568
17222
|
_onKeyDown(e) {
|
|
17569
17223
|
if (e.target === this.focusElement && !this.readonly && !this.disabled && !this.opened) {
|
|
17570
|
-
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key))
|
|
17571
|
-
e.preventDefault(), this.opened = !0;
|
|
17224
|
+
if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key)) e.preventDefault(), this.opened = !0;
|
|
17572
17225
|
else if (/[\p{L}\p{Nd}]/u.test(e.key) && e.key.length === 1) {
|
|
17573
17226
|
const t = this._menuElement.selected, i = t !== void 0 ? t : -1, o = this._menuElement._searchKey(i, e.key);
|
|
17574
17227
|
o >= 0 && (this.__dispatchChangePending = !0, this._updateAriaLive(!0), this._menuElement.selected = o);
|
|
@@ -17588,8 +17241,7 @@ const mf = (r) => class extends yr(ai(Io(ct(si(r))))) {
|
|
|
17588
17241
|
this._updateAriaLive(!1), t.style.setProperty("--vaadin-select-text-field-width", `${i.offsetWidth}px`);
|
|
17589
17242
|
const o = this.hasAttribute("focus-ring");
|
|
17590
17243
|
this._openedWithFocusRing = o, o && this.removeAttribute("focus-ring");
|
|
17591
|
-
} else
|
|
17592
|
-
this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
17244
|
+
} else this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
|
|
17593
17245
|
this.__oldOpened = e;
|
|
17594
17246
|
}
|
|
17595
17247
|
}
|
|
@@ -17627,12 +17279,10 @@ const mf = (r) => class extends yr(ai(Io(ct(si(r))))) {
|
|
|
17627
17279
|
}
|
|
17628
17280
|
__updateValueButton() {
|
|
17629
17281
|
const e = this.focusElement;
|
|
17630
|
-
if (!e)
|
|
17631
|
-
return;
|
|
17282
|
+
if (!e) return;
|
|
17632
17283
|
e.innerHTML = "";
|
|
17633
17284
|
const t = this._items[this._menuElement.selected];
|
|
17634
|
-
if (e.removeAttribute("placeholder"), this._hasContent(t))
|
|
17635
|
-
this.__attachSelectedItem(t);
|
|
17285
|
+
if (e.removeAttribute("placeholder"), this._hasContent(t)) this.__attachSelectedItem(t);
|
|
17636
17286
|
else if (this.placeholder) {
|
|
17637
17287
|
const o = this.__createItemElement({ label: this.placeholder });
|
|
17638
17288
|
this.__appendValueItemElement(o, e), e.setAttribute("placeholder", "");
|
|
@@ -17642,8 +17292,7 @@ const mf = (r) => class extends yr(ai(Io(ct(si(r))))) {
|
|
|
17642
17292
|
Pt(e, "aria-labelledby", i), (this.accessibleName || this.accessibleNameRef) && this._setCustomAriaLabelledBy(this.accessibleNameRef || this._srLabelController.defaultId);
|
|
17643
17293
|
}
|
|
17644
17294
|
_hasContent(e) {
|
|
17645
|
-
if (!e)
|
|
17646
|
-
return !1;
|
|
17295
|
+
if (!e) return !1;
|
|
17647
17296
|
const t = !!(e.hasAttribute("label") ? e.getAttribute("label") : e.textContent.trim()), i = e.childElementCount > 0;
|
|
17648
17297
|
return t || i;
|
|
17649
17298
|
}
|
|
@@ -18966,8 +18615,7 @@ const Af = (r) => class extends ml(gl(r)) {
|
|
|
18966
18615
|
this.__direction * a < 1 && (a = this.__direction * (this._scrollOffset - n)), this._scroll(a);
|
|
18967
18616
|
}
|
|
18968
18617
|
_isItemVisible(e, t, i, o) {
|
|
18969
|
-
if (this._vertical)
|
|
18970
|
-
throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
18618
|
+
if (this._vertical) throw new Error("Visibility check is only supported for horizontal tabs.");
|
|
18971
18619
|
const n = this.__isRTL ? i : t, a = this.__isRTL ? t : i, s = o.right - n, l = o.left + a, d = e.getBoundingClientRect();
|
|
18972
18620
|
return s > Math.floor(d.left) && l < Math.ceil(d.right);
|
|
18973
18621
|
}
|