@everymatrix/player-account-controller-nd 1.86.4 → 1.86.7
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-BP5hPAT6.cjs +21 -0
- package/components/{GeneralLogout-D-460bCc.js → GeneralLogout-CUS9XDb_.js} +867 -846
- package/components/{GeneralLogout-CyjaJCyK.js → GeneralLogout-CxwIjVYg.js} +895 -874
- package/components/PlayerAccountBettingHistory-B2nAfK0Y.js +311 -0
- package/components/PlayerAccountBettingHistory-C2XbjoY8.js +310 -0
- package/components/PlayerAccountBettingHistory-C65k_w7Q.cjs +1 -0
- package/components/{PlayerAccountBiometrics-BUaH6CCN.js → PlayerAccountBiometrics-Bu-kAXJR.js} +18 -18
- package/components/{PlayerAccountBiometrics-DtZRD-x7.js → PlayerAccountBiometrics-C5FfCL63.js} +21 -21
- package/components/{PlayerAccountBiometrics-BWf57OVN.cjs → PlayerAccountBiometrics-Dtbqt-iX.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-CeeV2-m9.cjs → PlayerAccountClosureNd-B72aQGEp.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-D1yRezb5.js → PlayerAccountClosureNd-C2K1iphm.js} +30 -30
- package/components/{PlayerAccountClosureNd-xuyqp_KO.js → PlayerAccountClosureNd-DMtaug1M.js} +30 -30
- package/components/{PlayerAccountControllerNd-B5RDsXa3.cjs → PlayerAccountControllerNd-BsUkuxZw.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DCMMDOQl.js → PlayerAccountControllerNd-BsdG3S2z.js} +338 -338
- package/components/{PlayerAccountControllerNd-BBHdaUN2.js → PlayerAccountControllerNd-DEQBFfCK.js} +325 -325
- package/components/{PlayerAccountGamingLimits-CmRq9u44.cjs → PlayerAccountGamingLimits-B9ZXnxYx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CkXGP01f.js → PlayerAccountGamingLimits-DFh_EHFi.js} +113 -113
- package/components/{PlayerAccountGamingLimits-BeMzp6tp.js → PlayerAccountGamingLimits-DJ5QEc_Z.js} +111 -111
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cj2jRE0A.cjs → PlayerAccountGamingLimitsConfirmationModal-BJsgUy6x.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CiHUSyME.js → PlayerAccountGamingLimitsConfirmationModal-DVFHoHN0.js} +29 -29
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DGEkJBKE.js → PlayerAccountGamingLimitsConfirmationModal-DdWzMIzq.js} +32 -32
- package/components/{PlayerAccountGamingLimitsGroupEdit-xLUbycFZ.js → PlayerAccountGamingLimitsGroupEdit-B_Qn4NHV.js} +124 -126
- package/components/{PlayerAccountGamingLimitsGroupEdit--Dw4vmyo.js → PlayerAccountGamingLimitsGroupEdit-BkzMzF4_.js} +124 -126
- package/components/PlayerAccountGamingLimitsGroupEdit-DEIR-hxX.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsHistory2Nd-iVYbJ1bu.cjs → PlayerAccountGamingLimitsHistory2Nd-C9C4ZzaD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2Nd-C9tG2g_B.js → PlayerAccountGamingLimitsHistory2Nd-CGuL5nCB.js} +70 -70
- package/components/{PlayerAccountGamingLimitsHistory2Nd-BbzGDp6P.js → PlayerAccountGamingLimitsHistory2Nd-CKxG_86-.js} +42 -42
- package/components/{PlayerAccountGamingLimitsInfoCard-7NpyeIYQ.js → PlayerAccountGamingLimitsInfoCard-BQmLWUmD.js} +96 -96
- package/components/{PlayerAccountGamingLimitsInfoCard-Byg39kAW.js → PlayerAccountGamingLimitsInfoCard-BUn4vqax.js} +99 -99
- package/components/{PlayerAccountGamingLimitsInfoCard-C9X_7mnq.cjs → PlayerAccountGamingLimitsInfoCard-CVZP5eUD.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Cmhh_gZC.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-84fi4QDA.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-D-EkHRYi.js → PlayerAccountGamingLimitsPage2Gm16Nd-Ckgam1Rw.js} +172 -172
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-ELP4ge82.js → PlayerAccountGamingLimitsPage2Gm16Nd-DkpQ-O9_.js} +188 -188
- package/components/{PlayerAccountGamingLimitsPopup-DyUjbtg6.cjs → PlayerAccountGamingLimitsPopup-BMLTI-NH.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Dcs0KQe4.js → PlayerAccountGamingLimitsPopup-CSUPvKE8.js} +28 -28
- package/components/{PlayerAccountGamingLimitsPopup-BuA-BYO2.js → PlayerAccountGamingLimitsPopup-t9xn3mpZ.js} +27 -27
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CwTJRA82.cjs → PlayerAccountGamingLimitsWrapper2Nd-B5Jh8P1g.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DlRfXwBn.js → PlayerAccountGamingLimitsWrapper2Nd-CzNQFuT1.js} +49 -49
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-DbM-hzRL.js → PlayerAccountGamingLimitsWrapper2Nd-DHuWlyNo.js} +52 -52
- package/components/{PlayerAccountGeneralConfirmationModal-Di8Sqopo.js → PlayerAccountGeneralConfirmationModal-Ck2-eEAP.js} +31 -31
- package/components/{PlayerAccountGeneralConfirmationModal-DGCC2DbP.cjs → PlayerAccountGeneralConfirmationModal-DaaGKltj.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-DPqIDZ34.js → PlayerAccountGeneralConfirmationModal-SII29Bah.js} +28 -28
- package/components/{PlayerAccountMenuNd-Hpd_taCe.js → PlayerAccountMenuNd-BBVfDPrh.js} +33 -33
- package/components/{PlayerAccountMenuNd-BGlZt37t.js → PlayerAccountMenuNd-CG6ygodu.js} +36 -36
- package/components/{PlayerAccountMenuNd-B4I54pmw.cjs → PlayerAccountMenuNd-DnYp94kK.cjs} +1 -1
- package/components/{PlayerAccountModal-DW-HfIJw.js → PlayerAccountModal-B0pFGARD.js} +27 -27
- package/components/{PlayerAccountModal-CicfFYTa.cjs → PlayerAccountModal-BxX50c5G.cjs} +1 -1
- package/components/{PlayerAccountModal-BmoBvqGA.js → PlayerAccountModal-CG3IPRuD.js} +25 -25
- package/components/{PlayerAccountNotifications-BIX9__wc.js → PlayerAccountNotifications-ByqmZWal.js} +29 -29
- package/components/{PlayerAccountNotifications-CzgKLzGS.js → PlayerAccountNotifications-D4C9msYl.js} +34 -34
- package/components/{PlayerAccountNotifications-CKXGoWhC.cjs → PlayerAccountNotifications-W3-AZaWS.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-ChDK3lVA.js → PlayerAccountProductRestriction-4b-yKjFV.js} +1721 -1721
- package/components/{PlayerAccountProductRestriction-B7WS_VpN.js → PlayerAccountProductRestriction-ChaxQNbf.js} +1736 -1736
- package/components/{PlayerAccountProductRestriction-BIzu31mf.cjs → PlayerAccountProductRestriction-DvbkGejX.cjs} +269 -269
- package/components/{PlayerAccountReviewFrequency-DVp6ckLv.js → PlayerAccountReviewFrequency-BqEm_AJM.js} +28 -28
- package/components/{PlayerAccountReviewFrequency-DPWKi8xr.js → PlayerAccountReviewFrequency-BwnBH_hE.js} +28 -28
- package/components/{PlayerAccountReviewFrequency-BzwPKjzr.cjs → PlayerAccountReviewFrequency-CpSbEDTd.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusionNd-BgTP2Exl.cjs → PlayerAccountSelfExclusionNd-BPVBWDTy.cjs} +76 -76
- package/components/{PlayerAccountSelfExclusionNd-CzF59an0.js → PlayerAccountSelfExclusionNd-BfcUqMtn.js} +555 -556
- package/components/{PlayerAccountSelfExclusionNd-DhDLAOBn.js → PlayerAccountSelfExclusionNd-BpVVNb9m.js} +117 -118
- package/components/{PlayerAccountTimeout-23pfiCcD.js → PlayerAccountTimeout-BfW_wShd.js} +41 -41
- package/components/{PlayerAccountTimeout-Mc9Az_j5.js → PlayerAccountTimeout-COJ1gcOJ.js} +41 -41
- package/components/{PlayerAccountTimeout-BIoL922A.cjs → PlayerAccountTimeout-CyBncduQ.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-4vLz89SQ.js → PlayerAccountTransactionsHistory-C9kk3jok.js} +73 -73
- package/components/{PlayerAccountTransactionsHistory-Cdg1GtQr.cjs → PlayerAccountTransactionsHistory-D6hznhne.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D4hDFxOK.js → PlayerAccountTransactionsHistory-DGtRA6Qw.js} +70 -70
- package/components/{PlayerActiveBonuses-V_MvBwLJ.js → PlayerActiveBonuses-BfFO_mw3.js} +65 -65
- package/components/{PlayerActiveBonuses-DncvwsE_.js → PlayerActiveBonuses-BhvnT2HK.js} +71 -71
- package/components/{PlayerActiveBonuses-MTeTutAs.cjs → PlayerActiveBonuses-CzC3-mjB.cjs} +1 -1
- package/components/{PlayerBonusCard-CqwfA40e.js → PlayerBonusCard-B9PEzXGo.js} +60 -60
- package/components/{PlayerBonusCard-Doen7R7B.js → PlayerBonusCard-BNwQycFf.js} +63 -63
- package/components/{PlayerBonusCard-DtXoyRQT.cjs → PlayerBonusCard-CWJZYMpn.cjs} +1 -1
- package/components/{PlayerBonusHistory-DSqR4Mlu.js → PlayerBonusHistory-C8KOtU5O.js} +44 -44
- package/components/{PlayerBonusHistory-Cry1tQpI.js → PlayerBonusHistory-DuMrsO39.js} +40 -40
- package/components/{PlayerBonusHistory-DtPw35Zp.cjs → PlayerBonusHistory-DyfhMZ4I.cjs} +1 -1
- package/components/{PlayerChangePasswordNd-D7i867SK.js → PlayerChangePasswordNd-9yvybIre.js} +92 -92
- package/components/{PlayerChangePasswordNd-CtNPsfE3.js → PlayerChangePasswordNd-Chee4J8k.js} +95 -95
- package/components/{PlayerChangePasswordNd-CMlCNu9f.cjs → PlayerChangePasswordNd-D0EUsLYh.cjs} +1 -1
- package/components/{PlayerDeposit-DlJyokPK.js → PlayerDeposit-C7IJgwby.js} +80 -80
- package/components/PlayerDeposit-CpmRDJGS.cjs +1 -0
- package/components/{PlayerDeposit-C39Mv_Ys.js → PlayerDeposit-CwoUllMs.js} +77 -77
- package/components/{PlayerGamingHistory-IVDxvOyG.js → PlayerGamingHistory-Cr78Yg0P.js} +35 -35
- package/components/{PlayerGamingHistory-kRFfYUZK.js → PlayerGamingHistory-Cx0cPKAN.js} +35 -35
- package/components/{PlayerGamingHistory-27uKNtZq.cjs → PlayerGamingHistory-D4g-pRu-.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-CzzFtfws.js → PlayerPendingWithdrawals-5anqDeGy.js} +22 -22
- package/components/{PlayerPendingWithdrawals-DgcYn5VO.cjs → PlayerPendingWithdrawals-BQx068nU.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-C_35YCkt.js → PlayerPendingWithdrawals-DBqKX5cM.js} +25 -25
- package/components/{PlayerProfileInfo-rsLHqAOO.js → PlayerProfileInfo-C_RgieOJ.js} +286 -286
- package/components/{PlayerProfileInfo-IUND-h1B.cjs → PlayerProfileInfo-CiY2o3W7.cjs} +2 -2
- package/components/{PlayerProfileInfo-O22oCNgU.js → PlayerProfileInfo-DfHi-TRf.js} +322 -322
- package/components/{PlayerRealityCheck-B559D_qS.js → PlayerRealityCheck-BJGv0kil.js} +33 -33
- package/components/{PlayerRealityCheck-twdYLe7I.js → PlayerRealityCheck-BtzmuqLM.js} +33 -33
- package/components/{PlayerRealityCheck-BynoufZS.cjs → PlayerRealityCheck-CeIc2L5G.cjs} +1 -1
- package/components/{PlayerTransactionHistory-iNVlFbjF.js → PlayerTransactionHistory-B7GuBckx.js} +18 -18
- package/components/{PlayerTransactionHistory-U5KFjsQY.js → PlayerTransactionHistory-Djux11Bf.js} +15 -15
- package/components/{PlayerTransactionHistory-C_fBsawf.cjs → PlayerTransactionHistory-NtPab0Hw.cjs} +1 -1
- package/components/{PlayerWithdrawal-C9lFWlYB.js → PlayerWithdrawal-CrctPhxY.js} +15 -15
- package/components/{PlayerWithdrawal-D1HQxb4g.js → PlayerWithdrawal-DZzK1nty.js} +18 -18
- package/components/{PlayerWithdrawal-rmqufGf5.cjs → PlayerWithdrawal-YXqeKdHw.cjs} +1 -1
- 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-BbJ8ztM0.js → general-logout-BJPwdAVl.js} +1 -1
- package/lazy/{general-logout-DsURBkxK.cjs → general-logout-CWZwCQae.cjs} +1 -1
- package/lazy/{general-logout-BXlDTwPE.js → general-logout-CfpvABTt.js} +1 -1
- package/lazy/pam-change-password-CBn7g2Km.js +612 -0
- package/lazy/pam-change-password-tj_ZsU9F.cjs +1 -0
- package/lazy/pam-change-password-vzuF1cjY.js +596 -0
- package/lazy/{player-account-betting-history-DKUA6IWw.cjs → player-account-betting-history-CuQHJqRN.cjs} +1 -1
- package/lazy/{player-account-betting-history-jczDI2VK.js → player-account-betting-history-DReUmXdv.js} +1 -1
- package/lazy/{player-account-betting-history-DDtm6pRZ.js → player-account-betting-history-sQnF-Ypt.js} +1 -1
- package/lazy/{player-account-biometrics-DSFU2UfD.js → player-account-biometrics-721cebUg.js} +1 -1
- package/lazy/{player-account-biometrics-CLKbA38b.js → player-account-biometrics-BeE7KH6i.js} +1 -1
- package/lazy/{player-account-biometrics-Bw125Uf9.cjs → player-account-biometrics-BnISB1-i.cjs} +1 -1
- package/lazy/{player-account-closure-nd-B7vKS_wc.js → player-account-closure-nd-BnC_Yu5d.js} +1 -1
- package/lazy/{player-account-closure-nd-Ds-pz9ty.cjs → player-account-closure-nd-D5efQ1z_.cjs} +1 -1
- package/lazy/{player-account-closure-nd-BNnIXh-R.js → player-account-closure-nd-wabXS_E0.js} +1 -1
- package/lazy/{player-account-gaming-limits-BbyTpRxi.cjs → player-account-gaming-limits-BeZF1hRE.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-yc01t23E.js → player-account-gaming-limits-C0WcMqN0.js} +1 -1
- package/lazy/{player-account-gaming-limits-BsYJ2hPN.js → player-account-gaming-limits-Du_klcoX.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-Cg86YsvH.js → player-account-gaming-limits-confirmation-modal-CYptcZYa.js} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-USj_Z5T6.cjs → player-account-gaming-limits-confirmation-modal-DHXcQ95A.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-confirmation-modal-Bz9nGNqC.js → player-account-gaming-limits-confirmation-modal-DjKG6oIr.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-2wBX2GXR.js → player-account-gaming-limits-group-edit-CGiY4RjA.js} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-B7mm9vED.cjs → player-account-gaming-limits-group-edit-DUE2MKhN.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-group-edit-Dz4BOIFg.js → player-account-gaming-limits-group-edit-Vjq70XQp.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DbsOzrk1.js → player-account-gaming-limits-history-2-nd-1JO_ELTu.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-DBQ3kCNR.js → player-account-gaming-limits-history-2-nd-Bj37TpGS.js} +1 -1
- package/lazy/{player-account-gaming-limits-history-2-nd-Bs6bVb3A.cjs → player-account-gaming-limits-history-2-nd-D8li-uMt.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-DtkaeIiO.js → player-account-gaming-limits-info-card-BwZpFttA.js} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-D0PHHNxM.cjs → player-account-gaming-limits-info-card-ByVqlAbm.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-info-card-CPkATNCd.js → player-account-gaming-limits-info-card-WY_A3d0B.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Dgqgote9.cjs → player-account-gaming-limits-page-2-gm16-nd-Bn3HyRuF.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CyQjChzo.js → player-account-gaming-limits-page-2-gm16-nd-BsWTqjQw.js} +1 -1
- package/lazy/{player-account-gaming-limits-page-2-gm16-nd-Cq0e8gGf.js → player-account-gaming-limits-page-2-gm16-nd-cYsHruBh.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-r333OzcL.js → player-account-gaming-limits-popup-Bey6wDbf.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-Gp46twk0.js → player-account-gaming-limits-popup-DduHY9jJ.js} +1 -1
- package/lazy/{player-account-gaming-limits-popup-lPN-lLNj.cjs → player-account-gaming-limits-popup-DszLLCCO.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-I9zsipLD.cjs → player-account-gaming-limits-wrapper-2-nd-BdmstXOJ.cjs} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-CkUu-GVL.js → player-account-gaming-limits-wrapper-2-nd-Dj_teY1R.js} +1 -1
- package/lazy/{player-account-gaming-limits-wrapper-2-nd-Fq3lHv5j.js → player-account-gaming-limits-wrapper-2-nd-eAjeeYgg.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-zBFvN83A.cjs → player-account-general-confirmation-modal-CAhffuwK.cjs} +1 -1
- package/lazy/{player-account-general-confirmation-modal-CyulLH4v.js → player-account-general-confirmation-modal-CCg9OrM8.js} +1 -1
- package/lazy/{player-account-general-confirmation-modal-CdyaL94g.js → player-account-general-confirmation-modal-FSUN_SQI.js} +1 -1
- package/lazy/{player-account-menu-nd-CLwI_Bhn.js → player-account-menu-nd-C2pXd078.js} +1 -1
- package/lazy/{player-account-menu-nd-kpFugbWz.cjs → player-account-menu-nd-DpBeGpgZ.cjs} +1 -1
- package/lazy/{player-account-menu-nd-DwinAyAu.js → player-account-menu-nd-FOqPTfaD.js} +1 -1
- package/lazy/{player-account-modal-DqN9AToO.js → player-account-modal-B6GGwYUW.js} +1 -1
- package/lazy/{player-account-modal-eVVksYuw.js → player-account-modal-BkXhugGM.js} +1 -1
- package/lazy/{player-account-modal-CT20xpzT.cjs → player-account-modal-CyVW9EJH.cjs} +1 -1
- package/lazy/{player-account-notifications-BDmxrNlQ.js → player-account-notifications-CzVXQ__P.js} +1 -1
- package/lazy/{player-account-notifications-C_4fUFcX.js → player-account-notifications-D5CvWWr-.js} +1 -1
- package/lazy/{player-account-notifications-BnzXJ3t7.cjs → player-account-notifications-EuxQBxdo.cjs} +1 -1
- package/lazy/{player-account-product-restriction-CNAeC18c.js → player-account-product-restriction-C_vETQcl.js} +1 -1
- package/lazy/{player-account-product-restriction-D1dZQR9M.cjs → player-account-product-restriction-Cgamy-Yd.cjs} +1 -1
- package/lazy/{player-account-product-restriction-AUqWxh6M.js → player-account-product-restriction-U394FlIh.js} +1 -1
- package/lazy/{player-account-review-frequency-CS3j5LRa.js → player-account-review-frequency-8srfpprX.js} +1 -1
- package/lazy/{player-account-review-frequency-CO1xOEZI.cjs → player-account-review-frequency-B4Oq2_D2.cjs} +1 -1
- package/lazy/{player-account-review-frequency-CdhiVY-6.js → player-account-review-frequency-DzR6HQEE.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-DndejYem.js → player-account-self-exclusion-nd-Cq7Bdydn.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-T5mvZaLe.js → player-account-self-exclusion-nd-Ct9QwTaq.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-B5dVAoTv.cjs → player-account-self-exclusion-nd-D-6pwTi4.cjs} +1 -1
- package/lazy/{player-account-timeout-CQFxlsOj.cjs → player-account-timeout-DF5EDpcf.cjs} +1 -1
- package/lazy/{player-account-timeout-B4Q7cyWp.js → player-account-timeout-PbYOnnzb.js} +1 -1
- package/lazy/{player-account-timeout-CBcGjkRE.js → player-account-timeout-rIRyEFlc.js} +1 -1
- package/lazy/{player-account-transactions-history-Bbm4HUwz.js → player-account-transactions-history-3pZ_PgZn.js} +1 -1
- package/lazy/{player-account-transactions-history-Bemxa01v.js → player-account-transactions-history-Bay_KzYk.js} +1 -1
- package/lazy/{player-account-transactions-history-DkjG034n.cjs → player-account-transactions-history-lLj1XyDj.cjs} +1 -1
- package/lazy/{player-active-bonuses-BJSk7ic4.js → player-active-bonuses-BAIvN5bg.js} +1 -1
- package/lazy/{player-active-bonuses-CZq_vTCy.cjs → player-active-bonuses-CbI7xQr3.cjs} +1 -1
- package/lazy/{player-active-bonuses-CSZlSXtw.js → player-active-bonuses-CgzZ85uO.js} +1 -1
- package/lazy/{player-bonus-card-D-un0Rx4.js → player-bonus-card-8oLrRK1x.js} +1 -1
- package/lazy/{player-bonus-card-DuFR6m3Y.js → player-bonus-card-CBQvLGNp.js} +1 -1
- package/lazy/{player-bonus-card-DYhF32Df.cjs → player-bonus-card-jF_ftijk.cjs} +1 -1
- package/lazy/{player-bonus-history-9AnPBl2u.js → player-bonus-history-C5ZNeBsU.js} +1 -1
- package/lazy/{player-bonus-history-oH50WR_l.cjs → player-bonus-history-htLopwqf.cjs} +1 -1
- package/lazy/{player-bonus-history-D_7dtsmf.js → player-bonus-history-pxi4DVqF.js} +1 -1
- package/lazy/{player-change-password-nd-DKmSLzEn.cjs → player-change-password-nd-Cy8hKsmO.cjs} +1 -1
- package/lazy/{player-change-password-nd-BHnwoJoB.js → player-change-password-nd-D-zCmsiv.js} +1 -1
- package/lazy/{player-change-password-nd-BekhFZzk.js → player-change-password-nd-DP6de2qG.js} +1 -1
- package/lazy/{player-deposit-K-xOysrx.cjs → player-deposit-5QruKiXs.cjs} +1 -1
- package/lazy/{player-deposit-BHCO1-AK.js → player-deposit-Bq_QxvFT.js} +1 -1
- package/lazy/{player-deposit-B9StD8zc.js → player-deposit-Dx0rgGDv.js} +1 -1
- package/lazy/{player-gaming-history-CRIcwZ1u.js → player-gaming-history-CNMJ6XKJ.js} +1 -1
- package/lazy/{player-gaming-history-C85xODVa.cjs → player-gaming-history-CuDujcYz.cjs} +1 -1
- package/lazy/{player-gaming-history-FVO1JLS_.js → player-gaming-history-W0d5H7Fb.js} +1 -1
- package/lazy/player-kyc-verification-B5pCUSnk.js +577 -0
- package/lazy/player-kyc-verification-BF4tf48l.cjs +1 -0
- package/lazy/player-kyc-verification-DlZifvve.js +550 -0
- package/lazy/{player-pending-withdrawals-xo0ZoOv3.cjs → player-pending-withdrawals-B3xn6bv0.cjs} +1 -1
- package/lazy/{player-pending-withdrawals-CZP5LwyE.js → player-pending-withdrawals-CuvNjPD3.js} +1 -1
- package/lazy/{player-pending-withdrawals-CnUZ3Gl-.js → player-pending-withdrawals-gxs3Q5Z5.js} +1 -1
- package/lazy/{player-profile-info-EjS44f7X.cjs → player-profile-info-C9dUlHhe.cjs} +1 -1
- package/lazy/{player-profile-info-fTX9p2Xk.js → player-profile-info-C_oe_VEG.js} +1 -1
- package/lazy/{player-profile-info-DHKbZe4z.js → player-profile-info-t6R7cG-r.js} +1 -1
- package/lazy/{player-reality-check-B7uUQAu1.js → player-reality-check-CFPktONw.js} +1 -1
- package/lazy/{player-reality-check-B3xYMbTb.cjs → player-reality-check-DOMQ0jX8.cjs} +1 -1
- package/lazy/{player-reality-check-HEZ8Ad42.js → player-reality-check-d3Wz8qtH.js} +1 -1
- package/lazy/{player-transaction-history-C7p269_x.cjs → player-transaction-history-DV01YPAY.cjs} +1 -1
- package/lazy/{player-transaction-history-45lDRrJT.js → player-transaction-history-aUV53uTV.js} +1 -1
- package/lazy/{player-transaction-history-CsYn0uS4.js → player-transaction-history-hRM5mak8.js} +1 -1
- package/lazy/{player-withdrawal-B0RG0bYW.cjs → player-withdrawal-CsKQidl-.cjs} +1 -1
- package/lazy/{player-withdrawal-BqJ8HljS.js → player-withdrawal-aF3uLX3P.js} +1 -1
- package/lazy/{player-withdrawal-DBZfmgzw.js → player-withdrawal-hgVUF5Qa.js} +1 -1
- package/lazy/ui-skeleton-BUCYetAg.js +519 -0
- package/lazy/ui-skeleton-BgUTfAtW.cjs +1 -0
- package/lazy/ui-skeleton-C-dgOp3G.js +503 -0
- package/lazy/user-deposit-withdrawal-BPgWs5L8.js +557 -0
- package/lazy/user-deposit-withdrawal-DBFYKdyJ.js +573 -0
- package/lazy/user-deposit-withdrawal-DPuxBhFZ.cjs +1 -0
- package/lazy/user-transaction-history-CHGEtZBx.js +655 -0
- package/lazy/user-transaction-history-CVa9xgYI.cjs +1 -0
- package/lazy/{user-transaction-history--3FgPyrg.js → user-transaction-history-CuRWzQ72.js} +217 -217
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-CxD5VKgI.js → checkbox-group-input_16-CVuk-NWX.js} +2900 -2842
- package/stencil/{checkbox-group-input_16-BfiuPCFZ.js → checkbox-group-input_16-DWTo-wQ2.js} +2899 -2841
- package/stencil/{checkbox-group-input_16-uzoP2kiS.cjs → checkbox-group-input_16-FxHiIgL_.cjs} +241 -241
- package/stencil/{pam-change-password-6b535bd5-BpXXLKO-.js → pam-change-password-6b535bd5-Cd9HHB3s.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-Cx2-GsJe.js → pam-change-password-6b535bd5-DrvAnMDD.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-wHVpEAiJ.cjs → pam-change-password-6b535bd5-LRcb-okk.cjs} +1 -1
- package/stencil/pam-change-password-BoT-9KxL.js +29 -0
- package/stencil/pam-change-password-BxkMkuAa.js +11 -0
- package/stencil/pam-change-password-CHrfle9b.cjs +1 -0
- package/stencil/{player-kyc-verification-C3W-2rvv.js → player-kyc-verification-38ukgicS.js} +1 -1
- package/stencil/{player-kyc-verification-BOkrCxQ5.js → player-kyc-verification-B-Gwyevd.js} +1 -1
- package/stencil/{player-kyc-verification-DpVLBcj0.cjs → player-kyc-verification-Czftixd5.cjs} +1 -1
- package/stencil/{ui-skeleton-C6kAZPuO.js → ui-skeleton--3Oejuq9.js} +2 -2
- package/stencil/{ui-skeleton-8rSrWtxK.cjs → ui-skeleton-Bp-l1XOX.cjs} +1 -1
- package/stencil/{ui-skeleton-D4wXUXBa.js → ui-skeleton-Ur_BR5_B.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-DX90igQx.cjs → ui-skeleton-ed169f8f-BC-qcUzg.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CHl8NPVj.js → ui-skeleton-ed169f8f-CScXzcMr.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D2Is2vKF.js → ui-skeleton-ed169f8f-Dlrug2eB.js} +1 -1
- package/stencil/{user-deposit-withdrawal-CQ-FkzDp.cjs → user-deposit-withdrawal-BXny5CR4.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-DeVY-ktj.js → user-deposit-withdrawal-CF2Gsvjt.js} +1 -1
- package/stencil/{user-deposit-withdrawal-nHW0dxyt.js → user-deposit-withdrawal-Ca_vjCHW.js} +1 -1
- package/stencil/{user-transaction-history-_Zbb_Q9Z.js → user-transaction-history-BSJUCsOP.js} +2 -2
- package/stencil/{user-transaction-history-BGE7HFNA.cjs → user-transaction-history-D31djAl9.cjs} +1 -1
- package/stencil/{user-transaction-history-GxAExPoq.js → user-transaction-history-yD0ZdhXz.js} +2 -2
- package/stencil/{user-transaction-history_2-CS-xp7h6.cjs → user-transaction-history_2-BPg0ZwEP.cjs} +279 -279
- package/stencil/{user-transaction-history_2-BQqO4qoA.js → user-transaction-history_2-CqtCMdoU.js} +4067 -4071
- package/stencil/{user-transaction-history_2-DjDbOR2n.js → user-transaction-history_2-DWit6pcG.js} +4053 -4057
- package/components/GeneralLogout-D55pWkH7.cjs +0 -21
- package/components/PlayerAccountBettingHistory-CgcFk4Ks.js +0 -311
- package/components/PlayerAccountBettingHistory-D_QFN9dp.js +0 -310
- package/components/PlayerAccountBettingHistory-OO1CReR6.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-jGqeKZ4O.cjs +0 -2
- package/components/PlayerDeposit-DsQdeECp.cjs +0 -1
- package/lazy/pam-change-password-Bo01w37G.js +0 -612
- package/lazy/pam-change-password-CQXj1hW0.cjs +0 -1
- package/lazy/pam-change-password-SZZc6Fc1.js +0 -596
- package/lazy/player-kyc-verification-BlueEiAg.js +0 -577
- package/lazy/player-kyc-verification-BpgcWufc.js +0 -550
- package/lazy/player-kyc-verification-DDsYEKH2.cjs +0 -1
- package/lazy/ui-skeleton-B01gfMYY.cjs +0 -1
- package/lazy/ui-skeleton-Bjtjlxwi.js +0 -519
- package/lazy/ui-skeleton-Dul34XtH.js +0 -503
- package/lazy/user-deposit-withdrawal-CDWurnml.js +0 -557
- package/lazy/user-deposit-withdrawal-DcCXmV9o.cjs +0 -1
- package/lazy/user-deposit-withdrawal-n7wh8Xdl.js +0 -573
- package/lazy/user-transaction-history-BMjjMnbc.cjs +0 -1
- package/lazy/user-transaction-history-CRqyVIVM.js +0 -655
- package/stencil/pam-change-password-5ZIyJT_y.cjs +0 -1
- package/stencil/pam-change-password-sE20GYP2.js +0 -29
- package/stencil/pam-change-password-usJiGEmk.js +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function H() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Br = (e) => e;
|
|
4
|
+
function Ar(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function Br(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function $t(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ht() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
|
-
function
|
|
19
|
-
e.forEach(
|
|
18
|
+
function G(e) {
|
|
19
|
+
e.forEach($t);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ae(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Rt(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
27
|
let pe;
|
|
28
|
-
function
|
|
28
|
+
function go(e, t) {
|
|
29
29
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function Pr(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function Ut(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
@@ -40,19 +40,19 @@ function $t(e, ...t) {
|
|
|
40
40
|
const r = e.subscribe(...t);
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
e.$$.on_destroy.push(
|
|
43
|
+
function Or(e, t, r) {
|
|
44
|
+
e.$$.on_destroy.push(Ut(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function vo(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Gt(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && n ?
|
|
52
|
+
function Gt(e, t, r, n) {
|
|
53
|
+
return e[1] && n ? Ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function _o(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
57
57
|
const i = e[2](n(r));
|
|
58
58
|
if (t.dirty === void 0)
|
|
@@ -67,13 +67,13 @@ function yo(e, t, r, n) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Eo(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const a =
|
|
72
|
+
const a = Gt(t, r, n, o);
|
|
73
73
|
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function xo(e) {
|
|
77
77
|
if (e.ctx.length > 32) {
|
|
78
78
|
const t = [], r = e.ctx.length / 32;
|
|
79
79
|
for (let n = 0; n < r; n++)
|
|
@@ -82,29 +82,29 @@ function _o(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function So(e) {
|
|
86
86
|
const t = {};
|
|
87
87
|
for (const r in e)
|
|
88
88
|
t[r] = !0;
|
|
89
89
|
return t;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function wo(e) {
|
|
92
92
|
return e ?? "";
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
return e &&
|
|
94
|
+
function To(e) {
|
|
95
|
+
return e && ae(e.destroy) ? e.destroy : H;
|
|
96
96
|
}
|
|
97
|
-
const
|
|
98
|
-
let
|
|
97
|
+
const Dt = typeof window < "u";
|
|
98
|
+
let Ir = Dt ? () => window.performance.now() : () => Date.now(), st = Dt ? (e) => requestAnimationFrame(e) : H;
|
|
99
99
|
const X = /* @__PURE__ */ new Set();
|
|
100
|
-
function
|
|
100
|
+
function Ft(e) {
|
|
101
101
|
X.forEach((t) => {
|
|
102
102
|
t.c(e) || (X.delete(t), t.f());
|
|
103
|
-
}), X.size !== 0 &&
|
|
103
|
+
}), X.size !== 0 && st(Ft);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function Lr(e) {
|
|
106
106
|
let t;
|
|
107
|
-
return X.size === 0 &&
|
|
107
|
+
return X.size === 0 && st(Ft), {
|
|
108
108
|
promise: new Promise((r) => {
|
|
109
109
|
X.add(t = { c: e, f: r });
|
|
110
110
|
}),
|
|
@@ -116,14 +116,14 @@ function Ir(e) {
|
|
|
116
116
|
function A(e, t) {
|
|
117
117
|
e.appendChild(t);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
const n =
|
|
119
|
+
function Nr(e, t, r) {
|
|
120
|
+
const n = at(e);
|
|
121
121
|
if (!n.getElementById(t)) {
|
|
122
|
-
const i =
|
|
123
|
-
i.id = t, i.textContent = r,
|
|
122
|
+
const i = N("style");
|
|
123
|
+
i.id = t, i.textContent = r, jt(n, i);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function at(e) {
|
|
127
127
|
if (!e)
|
|
128
128
|
return document;
|
|
129
129
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -133,46 +133,46 @@ function nt(e) {
|
|
|
133
133
|
t
|
|
134
134
|
) : e.ownerDocument;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
const t =
|
|
138
|
-
return t.textContent = "/* empty */",
|
|
136
|
+
function Mr(e) {
|
|
137
|
+
const t = N("style");
|
|
138
|
+
return t.textContent = "/* empty */", jt(at(e), t), t.sheet;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function jt(e, t) {
|
|
141
141
|
return A(
|
|
142
142
|
/** @type {Document} */
|
|
143
143
|
e.head || e,
|
|
144
144
|
t
|
|
145
145
|
), t.sheet;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function ue(e, t, r) {
|
|
148
148
|
e.insertBefore(t, r || null);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function D(e) {
|
|
151
151
|
e.parentNode && e.parentNode.removeChild(e);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Ho(e, t) {
|
|
154
154
|
for (let r = 0; r < e.length; r += 1)
|
|
155
155
|
e[r] && e[r].d(t);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function N(e) {
|
|
158
158
|
return document.createElement(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ee(e) {
|
|
161
161
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function le(e) {
|
|
164
164
|
return document.createTextNode(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
166
|
+
function Cr() {
|
|
167
|
+
return le(" ");
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
return
|
|
169
|
+
function Bo() {
|
|
170
|
+
return le("");
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function kt(e, t, r, n) {
|
|
173
173
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Ao(e) {
|
|
176
176
|
return function(t) {
|
|
177
177
|
return t.preventDefault(), e.call(this, t);
|
|
178
178
|
};
|
|
@@ -180,11 +180,11 @@ function Ho(e) {
|
|
|
180
180
|
function B(e, t, r) {
|
|
181
181
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Po(e, t, r) {
|
|
184
184
|
const n = t.toLowerCase();
|
|
185
185
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : B(e, t, r);
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function Oo(e) {
|
|
188
188
|
let t;
|
|
189
189
|
return {
|
|
190
190
|
/* push */
|
|
@@ -197,23 +197,23 @@ function Ao(e) {
|
|
|
197
197
|
}
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function Io(e) {
|
|
201
201
|
return e === "" ? null : +e;
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function $r(e) {
|
|
204
204
|
return Array.from(e.childNodes);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Vt(e, t) {
|
|
207
207
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
208
208
|
t);
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Lo(e, t) {
|
|
211
211
|
e.value = t ?? "";
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Rr(e, t, r, n) {
|
|
214
214
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function No(e, t, r) {
|
|
217
217
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
218
218
|
const i = e.options[n];
|
|
219
219
|
if (i.__value === t) {
|
|
@@ -223,17 +223,17 @@ function Io(e, t, r) {
|
|
|
223
223
|
}
|
|
224
224
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function Mo(e) {
|
|
227
227
|
const t = e.querySelector(":checked");
|
|
228
228
|
return t && t.__value;
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Co(e, t, r) {
|
|
231
231
|
e.classList.toggle(t, !!r);
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function Ur(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
234
234
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Gr(e) {
|
|
237
237
|
const t = {};
|
|
238
238
|
return e.childNodes.forEach(
|
|
239
239
|
/** @param {Element} node */
|
|
@@ -242,161 +242,161 @@ function Ur(e) {
|
|
|
242
242
|
}
|
|
243
243
|
), t;
|
|
244
244
|
}
|
|
245
|
-
const
|
|
246
|
-
let
|
|
245
|
+
const Ee = /* @__PURE__ */ new Map();
|
|
246
|
+
let xe = 0;
|
|
247
247
|
function Dr(e) {
|
|
248
248
|
let t = 5381, r = e.length;
|
|
249
249
|
for (; r--; )
|
|
250
250
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
251
251
|
return t >>> 0;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
254
|
-
const r = { stylesheet:
|
|
255
|
-
return
|
|
253
|
+
function Fr(e, t) {
|
|
254
|
+
const r = { stylesheet: Mr(t), rules: {} };
|
|
255
|
+
return Ee.set(e, r), r;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function ct(e, t, r, n, i, o, a, s = 0) {
|
|
258
258
|
const l = 16.666 / n;
|
|
259
259
|
let u = `{
|
|
260
260
|
`;
|
|
261
|
-
for (let
|
|
262
|
-
const
|
|
263
|
-
u +=
|
|
261
|
+
for (let _ = 0; _ <= 1; _ += l) {
|
|
262
|
+
const w = t + (r - t) * o(_);
|
|
263
|
+
u += _ * 100 + `%{${a(w, 1 - w)}}
|
|
264
264
|
`;
|
|
265
265
|
}
|
|
266
266
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
267
|
-
}`, f = `__svelte_${Dr(h)}_${s}`, c =
|
|
267
|
+
}`, f = `__svelte_${Dr(h)}_${s}`, c = at(e), { stylesheet: d, rules: p } = Ee.get(c) || Fr(c, e);
|
|
268
268
|
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
|
|
269
269
|
const m = e.style.animation || "";
|
|
270
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`,
|
|
270
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, xe += 1, f;
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function jr(e, t) {
|
|
273
273
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
274
274
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
275
275
|
// remove all Svelte animations
|
|
276
276
|
), i = r.length - n.length;
|
|
277
|
-
i && (e.style.animation = n.join(", "),
|
|
277
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || kr());
|
|
278
278
|
}
|
|
279
|
-
function
|
|
280
|
-
|
|
281
|
-
|
|
279
|
+
function kr() {
|
|
280
|
+
st(() => {
|
|
281
|
+
xe || (Ee.forEach((e) => {
|
|
282
282
|
const { ownerNode: t } = e.stylesheet;
|
|
283
|
-
t &&
|
|
284
|
-
}),
|
|
283
|
+
t && D(t);
|
|
284
|
+
}), Ee.clear());
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
|
-
let
|
|
288
|
-
function
|
|
289
|
-
|
|
287
|
+
let ie;
|
|
288
|
+
function ne(e) {
|
|
289
|
+
ie = e;
|
|
290
290
|
}
|
|
291
|
-
function
|
|
292
|
-
if (!
|
|
291
|
+
function Vr() {
|
|
292
|
+
if (!ie)
|
|
293
293
|
throw new Error("Function called outside component initialization");
|
|
294
|
-
return
|
|
294
|
+
return ie;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
|
|
296
|
+
function Xr(e) {
|
|
297
|
+
Vr().$$.on_mount.push(e);
|
|
298
298
|
}
|
|
299
|
-
const V = [],
|
|
299
|
+
const V = [], ke = [];
|
|
300
300
|
let W = [];
|
|
301
|
-
const
|
|
302
|
-
let
|
|
303
|
-
function
|
|
304
|
-
|
|
301
|
+
const ft = [], Xt = /* @__PURE__ */ Promise.resolve();
|
|
302
|
+
let Ve = !1;
|
|
303
|
+
function Wt() {
|
|
304
|
+
Ve || (Ve = !0, Xt.then(I));
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
return
|
|
306
|
+
function $o() {
|
|
307
|
+
return Wt(), Xt;
|
|
308
308
|
}
|
|
309
309
|
function Se(e) {
|
|
310
310
|
W.push(e);
|
|
311
311
|
}
|
|
312
|
-
const
|
|
312
|
+
const Me = /* @__PURE__ */ new Set();
|
|
313
313
|
let j = 0;
|
|
314
314
|
function I() {
|
|
315
315
|
if (j !== 0)
|
|
316
316
|
return;
|
|
317
|
-
const e =
|
|
317
|
+
const e = ie;
|
|
318
318
|
do {
|
|
319
319
|
try {
|
|
320
320
|
for (; j < V.length; ) {
|
|
321
321
|
const t = V[j];
|
|
322
|
-
j++,
|
|
322
|
+
j++, ne(t), Wr(t.$$);
|
|
323
323
|
}
|
|
324
324
|
} catch (t) {
|
|
325
325
|
throw V.length = 0, j = 0, t;
|
|
326
326
|
}
|
|
327
|
-
for (
|
|
328
|
-
|
|
327
|
+
for (ne(null), V.length = 0, j = 0; ke.length; )
|
|
328
|
+
ke.pop()();
|
|
329
329
|
for (let t = 0; t < W.length; t += 1) {
|
|
330
330
|
const r = W[t];
|
|
331
|
-
|
|
331
|
+
Me.has(r) || (Me.add(r), r());
|
|
332
332
|
}
|
|
333
333
|
W.length = 0;
|
|
334
334
|
} while (V.length);
|
|
335
|
-
for (;
|
|
336
|
-
|
|
337
|
-
|
|
335
|
+
for (; ft.length; )
|
|
336
|
+
ft.pop()();
|
|
337
|
+
Ve = !1, Me.clear(), ne(e);
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function Wr(e) {
|
|
340
340
|
if (e.fragment !== null) {
|
|
341
|
-
e.update(),
|
|
341
|
+
e.update(), G(e.before_update);
|
|
342
342
|
const t = e.dirty;
|
|
343
343
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function zr(e) {
|
|
347
347
|
const t = [], r = [];
|
|
348
348
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
349
349
|
}
|
|
350
|
-
let
|
|
351
|
-
function
|
|
352
|
-
return
|
|
353
|
-
|
|
354
|
-
})),
|
|
350
|
+
let te;
|
|
351
|
+
function Zr() {
|
|
352
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
353
|
+
te = null;
|
|
354
|
+
})), te;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
e.dispatchEvent(
|
|
356
|
+
function Ce(e, t, r) {
|
|
357
|
+
e.dispatchEvent(Ur(`${t ? "intro" : "outro"}${r}`));
|
|
358
358
|
}
|
|
359
359
|
const be = /* @__PURE__ */ new Set();
|
|
360
|
-
let
|
|
361
|
-
function
|
|
362
|
-
|
|
360
|
+
let M;
|
|
361
|
+
function Ro() {
|
|
362
|
+
M = {
|
|
363
363
|
r: 0,
|
|
364
364
|
c: [],
|
|
365
|
-
p:
|
|
365
|
+
p: M
|
|
366
366
|
// parent group
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
|
|
369
|
+
function Uo() {
|
|
370
|
+
M.r || G(M.c), M = M.p;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function qr(e, t) {
|
|
373
373
|
e && e.i && (be.delete(e), e.i(t));
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Go(e, t, r, n) {
|
|
376
376
|
if (e && e.o) {
|
|
377
377
|
if (be.has(e))
|
|
378
378
|
return;
|
|
379
|
-
be.add(e),
|
|
379
|
+
be.add(e), M.c.push(() => {
|
|
380
380
|
be.delete(e), n && (r && e.d(1), n());
|
|
381
381
|
}), e.o(t);
|
|
382
382
|
} else
|
|
383
383
|
n && n();
|
|
384
384
|
}
|
|
385
|
-
const
|
|
386
|
-
function
|
|
385
|
+
const Qr = { duration: 0 };
|
|
386
|
+
function Do(e, t, r, n) {
|
|
387
387
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
388
388
|
function f() {
|
|
389
|
-
u &&
|
|
389
|
+
u && jr(e, u);
|
|
390
390
|
}
|
|
391
391
|
function c(p, m) {
|
|
392
|
-
const
|
|
392
|
+
const _ = (
|
|
393
393
|
/** @type {Program['d']} */
|
|
394
394
|
p.b - a
|
|
395
395
|
);
|
|
396
|
-
return m *= Math.abs(
|
|
396
|
+
return m *= Math.abs(_), {
|
|
397
397
|
a,
|
|
398
398
|
b: p.b,
|
|
399
|
-
d:
|
|
399
|
+
d: _,
|
|
400
400
|
duration: m,
|
|
401
401
|
start: p.start,
|
|
402
402
|
end: p.start + m,
|
|
@@ -406,30 +406,30 @@ function Uo(e, t, r, n) {
|
|
|
406
406
|
function d(p) {
|
|
407
407
|
const {
|
|
408
408
|
delay: m = 0,
|
|
409
|
-
duration:
|
|
410
|
-
easing:
|
|
409
|
+
duration: _ = 300,
|
|
410
|
+
easing: w = Br,
|
|
411
411
|
tick: P = H,
|
|
412
|
-
css:
|
|
413
|
-
} = o ||
|
|
414
|
-
start:
|
|
412
|
+
css: x
|
|
413
|
+
} = o || Qr, O = {
|
|
414
|
+
start: Ir() + m,
|
|
415
415
|
b: p
|
|
416
416
|
};
|
|
417
|
-
p || (O.group =
|
|
418
|
-
e.inert, e.inert = !0)), s || l ? l = O : (
|
|
419
|
-
if (l &&
|
|
417
|
+
p || (O.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
418
|
+
e.inert, e.inert = !0)), s || l ? l = O : (x && (f(), u = ct(e, a, p, _, m, w, x)), p && P(0, 1), s = c(O, _), Se(() => Ce(e, p, "start")), Lr((T) => {
|
|
419
|
+
if (l && T > l.start && (s = c(l, _), l = null, Ce(e, s.b, "start"), x && (f(), u = ct(
|
|
420
420
|
e,
|
|
421
421
|
a,
|
|
422
422
|
s.b,
|
|
423
423
|
s.duration,
|
|
424
424
|
0,
|
|
425
|
-
|
|
425
|
+
w,
|
|
426
426
|
o.css
|
|
427
427
|
))), s) {
|
|
428
|
-
if (
|
|
429
|
-
P(a = s.b, 1 - a),
|
|
430
|
-
else if (
|
|
431
|
-
const $ =
|
|
432
|
-
a = s.a + s.d *
|
|
428
|
+
if (T >= s.end)
|
|
429
|
+
P(a = s.b, 1 - a), Ce(e, s.b, "end"), l || (s.b ? f() : --s.group.r || G(s.group.c)), s = null;
|
|
430
|
+
else if (T >= s.start) {
|
|
431
|
+
const $ = T - s.start;
|
|
432
|
+
a = s.a + s.d * w($ / s.duration), P(a, 1 - a);
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
return !!(s || l);
|
|
@@ -437,7 +437,7 @@ function Uo(e, t, r, n) {
|
|
|
437
437
|
}
|
|
438
438
|
return {
|
|
439
439
|
run(p) {
|
|
440
|
-
|
|
440
|
+
ae(o) ? Zr().then(() => {
|
|
441
441
|
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
442
442
|
}) : d(p);
|
|
443
443
|
},
|
|
@@ -446,26 +446,26 @@ function Uo(e, t, r, n) {
|
|
|
446
446
|
}
|
|
447
447
|
};
|
|
448
448
|
}
|
|
449
|
-
function
|
|
449
|
+
function Fo(e) {
|
|
450
450
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Jr(e, t, r) {
|
|
453
453
|
const { fragment: n, after_update: i } = e.$$;
|
|
454
454
|
n && n.m(t, r), Se(() => {
|
|
455
|
-
const o = e.$$.on_mount.map(
|
|
456
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
455
|
+
const o = e.$$.on_mount.map($t).filter(ae);
|
|
456
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : G(o), e.$$.on_mount = [];
|
|
457
457
|
}), i.forEach(Se);
|
|
458
458
|
}
|
|
459
|
-
function
|
|
459
|
+
function Yr(e, t) {
|
|
460
460
|
const r = e.$$;
|
|
461
|
-
r.fragment !== null && (
|
|
461
|
+
r.fragment !== null && (zr(r.after_update), G(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
463
|
+
function Kr(e, t) {
|
|
464
|
+
e.$$.dirty[0] === -1 && (V.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
465
465
|
}
|
|
466
|
-
function
|
|
467
|
-
const l =
|
|
468
|
-
|
|
466
|
+
function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
467
|
+
const l = ie;
|
|
468
|
+
ne(e);
|
|
469
469
|
const u = e.$$ = {
|
|
470
470
|
fragment: null,
|
|
471
471
|
ctx: [],
|
|
@@ -473,7 +473,7 @@ function Kr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
473
473
|
props: o,
|
|
474
474
|
update: H,
|
|
475
475
|
not_equal: i,
|
|
476
|
-
bound:
|
|
476
|
+
bound: ht(),
|
|
477
477
|
// lifecycle
|
|
478
478
|
on_mount: [],
|
|
479
479
|
on_destroy: [],
|
|
@@ -482,7 +482,7 @@ function Kr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
482
482
|
after_update: [],
|
|
483
483
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
484
484
|
// everything else
|
|
485
|
-
callbacks:
|
|
485
|
+
callbacks: ht(),
|
|
486
486
|
dirty: s,
|
|
487
487
|
skip_bound: !1,
|
|
488
488
|
root: t.target || l.$$.root
|
|
@@ -491,19 +491,19 @@ function Kr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
491
491
|
let h = !1;
|
|
492
492
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
493
493
|
const p = d.length ? d[0] : c;
|
|
494
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h &&
|
|
495
|
-
}) : [], u.update(), h = !0,
|
|
494
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Kr(e, f)), c;
|
|
495
|
+
}) : [], u.update(), h = !0, G(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
496
496
|
if (t.hydrate) {
|
|
497
|
-
const f =
|
|
498
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
497
|
+
const f = $r(t.target);
|
|
498
|
+
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
499
499
|
} else
|
|
500
500
|
u.fragment && u.fragment.c();
|
|
501
|
-
t.intro &&
|
|
501
|
+
t.intro && qr(e.$$.fragment), Jr(e, t.target, t.anchor), I();
|
|
502
502
|
}
|
|
503
|
-
|
|
503
|
+
ne(l);
|
|
504
504
|
}
|
|
505
|
-
let
|
|
506
|
-
typeof HTMLElement == "function" && (
|
|
505
|
+
let zt;
|
|
506
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
507
507
|
/** The Svelte component constructor */
|
|
508
508
|
$$ctor;
|
|
509
509
|
/** Slots */
|
|
@@ -545,29 +545,29 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
545
545
|
let o;
|
|
546
546
|
return {
|
|
547
547
|
c: function() {
|
|
548
|
-
o =
|
|
548
|
+
o = N("slot"), i !== "default" && B(o, "name", i);
|
|
549
549
|
},
|
|
550
550
|
/**
|
|
551
551
|
* @param {HTMLElement} target
|
|
552
552
|
* @param {HTMLElement} [anchor]
|
|
553
553
|
*/
|
|
554
554
|
m: function(l, u) {
|
|
555
|
-
|
|
555
|
+
ue(l, o, u);
|
|
556
556
|
},
|
|
557
557
|
d: function(l) {
|
|
558
|
-
l &&
|
|
558
|
+
l && D(o);
|
|
559
559
|
}
|
|
560
560
|
};
|
|
561
561
|
};
|
|
562
562
|
};
|
|
563
563
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
564
564
|
return;
|
|
565
|
-
const t = {}, r =
|
|
565
|
+
const t = {}, r = Gr(this);
|
|
566
566
|
for (const i of this.$$s)
|
|
567
567
|
i in r && (t[i] = [e(i)]);
|
|
568
568
|
for (const i of this.attributes) {
|
|
569
569
|
const o = this.$$g_p(i.name);
|
|
570
|
-
o in this.$$d || (this.$$d[o] =
|
|
570
|
+
o in this.$$d || (this.$$d[o] = ye(o, i.value, this.$$p_d, "toProp"));
|
|
571
571
|
}
|
|
572
572
|
for (const i in this.$$p_d)
|
|
573
573
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -585,7 +585,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
585
585
|
this.$$r = !0;
|
|
586
586
|
for (const i in this.$$p_d)
|
|
587
587
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
588
|
-
const o =
|
|
588
|
+
const o = ye(
|
|
589
589
|
i,
|
|
590
590
|
this.$$d[i],
|
|
591
591
|
this.$$p_d,
|
|
@@ -607,7 +607,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
607
607
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
608
608
|
// and setting attributes through setAttribute etc, this is helpful
|
|
609
609
|
attributeChangedCallback(e, t, r) {
|
|
610
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
610
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
611
611
|
}
|
|
612
612
|
disconnectedCallback() {
|
|
613
613
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -620,7 +620,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
620
620
|
) || e;
|
|
621
621
|
}
|
|
622
622
|
});
|
|
623
|
-
function
|
|
623
|
+
function ye(e, t, r, n) {
|
|
624
624
|
const i = r[e]?.type;
|
|
625
625
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
626
626
|
return t;
|
|
@@ -649,8 +649,8 @@ function ge(e, t, r, n) {
|
|
|
649
649
|
return t;
|
|
650
650
|
}
|
|
651
651
|
}
|
|
652
|
-
function
|
|
653
|
-
let a = class extends
|
|
652
|
+
function tn(e, t, r, n, i, o) {
|
|
653
|
+
let a = class extends zt {
|
|
654
654
|
constructor() {
|
|
655
655
|
super(e, r, i), this.$$p_d = t;
|
|
656
656
|
}
|
|
@@ -666,7 +666,7 @@ function en(e, t, r, n, i, o) {
|
|
|
666
666
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
667
667
|
},
|
|
668
668
|
set(l) {
|
|
669
|
-
l =
|
|
669
|
+
l = ye(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
670
670
|
}
|
|
671
671
|
});
|
|
672
672
|
}), n.forEach((s) => {
|
|
@@ -678,7 +678,7 @@ function en(e, t, r, n, i, o) {
|
|
|
678
678
|
}), e.element = /** @type {any} */
|
|
679
679
|
a, a;
|
|
680
680
|
}
|
|
681
|
-
class
|
|
681
|
+
class rn {
|
|
682
682
|
/**
|
|
683
683
|
* ### PRIVATE API
|
|
684
684
|
*
|
|
@@ -697,7 +697,7 @@ class tn {
|
|
|
697
697
|
$$set = void 0;
|
|
698
698
|
/** @returns {void} */
|
|
699
699
|
$destroy() {
|
|
700
|
-
|
|
700
|
+
Yr(this, 1), this.$destroy = H;
|
|
701
701
|
}
|
|
702
702
|
/**
|
|
703
703
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -706,7 +706,7 @@ class tn {
|
|
|
706
706
|
* @returns {() => void}
|
|
707
707
|
*/
|
|
708
708
|
$on(t, r) {
|
|
709
|
-
if (!
|
|
709
|
+
if (!ae(r))
|
|
710
710
|
return H;
|
|
711
711
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
712
712
|
return n.push(r), () => {
|
|
@@ -719,11 +719,11 @@ class tn {
|
|
|
719
719
|
* @returns {void}
|
|
720
720
|
*/
|
|
721
721
|
$set(t) {
|
|
722
|
-
this.$$set && !
|
|
722
|
+
this.$$set && !Pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
|
-
const
|
|
726
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
725
|
+
const nn = "4";
|
|
726
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(nn);
|
|
727
727
|
/*! *****************************************************************************
|
|
728
728
|
Copyright (c) Microsoft Corporation.
|
|
729
729
|
|
|
@@ -738,43 +738,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
738
738
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
739
739
|
PERFORMANCE OF THIS SOFTWARE.
|
|
740
740
|
***************************************************************************** */
|
|
741
|
-
var
|
|
742
|
-
return
|
|
741
|
+
var Xe = function(e, t) {
|
|
742
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
743
743
|
r.__proto__ = n;
|
|
744
744
|
} || function(r, n) {
|
|
745
745
|
for (var i in n)
|
|
746
746
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
747
|
-
},
|
|
747
|
+
}, Xe(e, t);
|
|
748
748
|
};
|
|
749
|
-
function
|
|
749
|
+
function he(e, t) {
|
|
750
750
|
if (typeof t != "function" && t !== null)
|
|
751
751
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
752
|
-
|
|
752
|
+
Xe(e, t);
|
|
753
753
|
function r() {
|
|
754
754
|
this.constructor = e;
|
|
755
755
|
}
|
|
756
756
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
757
757
|
}
|
|
758
|
-
|
|
759
|
-
return y = Object.assign || function(t) {
|
|
760
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
761
|
-
r = arguments[n];
|
|
762
|
-
for (var o in r)
|
|
763
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
764
|
-
}
|
|
765
|
-
return t;
|
|
766
|
-
}, y.apply(this, arguments);
|
|
767
|
-
};
|
|
768
|
-
function nn(e, t) {
|
|
769
|
-
var r = {};
|
|
770
|
-
for (var n in e)
|
|
771
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
772
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
773
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
774
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
775
|
-
return r;
|
|
776
|
-
}
|
|
777
|
-
function Ve(e) {
|
|
758
|
+
function We(e) {
|
|
778
759
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
779
760
|
if (r)
|
|
780
761
|
return r.call(e);
|
|
@@ -786,7 +767,7 @@ function Ve(e) {
|
|
|
786
767
|
};
|
|
787
768
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
788
769
|
}
|
|
789
|
-
function
|
|
770
|
+
function ze(e, t) {
|
|
790
771
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
791
772
|
if (!r)
|
|
792
773
|
return e;
|
|
@@ -806,22 +787,22 @@ function Xe(e, t) {
|
|
|
806
787
|
}
|
|
807
788
|
return o;
|
|
808
789
|
}
|
|
809
|
-
function
|
|
810
|
-
if (
|
|
790
|
+
function Ze(e, t, r) {
|
|
791
|
+
if (arguments.length === 2)
|
|
811
792
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
812
793
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
813
794
|
return e.concat(o || t);
|
|
814
795
|
}
|
|
815
|
-
function
|
|
796
|
+
function C(e) {
|
|
816
797
|
return typeof e == "function";
|
|
817
798
|
}
|
|
818
|
-
function
|
|
799
|
+
function Zt(e) {
|
|
819
800
|
var t = function(n) {
|
|
820
801
|
Error.call(n), n.stack = new Error().stack;
|
|
821
802
|
}, r = e(t);
|
|
822
803
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
823
804
|
}
|
|
824
|
-
var
|
|
805
|
+
var $e = Zt(function(e) {
|
|
825
806
|
return function(r) {
|
|
826
807
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
827
808
|
` + r.map(function(n, i) {
|
|
@@ -830,13 +811,13 @@ var Me = Wt(function(e) {
|
|
|
830
811
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
831
812
|
};
|
|
832
813
|
});
|
|
833
|
-
function
|
|
814
|
+
function qe(e, t) {
|
|
834
815
|
if (e) {
|
|
835
816
|
var r = e.indexOf(t);
|
|
836
817
|
0 <= r && e.splice(r, 1);
|
|
837
818
|
}
|
|
838
819
|
}
|
|
839
|
-
var
|
|
820
|
+
var Be = function() {
|
|
840
821
|
function e(t) {
|
|
841
822
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
842
823
|
}
|
|
@@ -848,7 +829,7 @@ var He = function() {
|
|
|
848
829
|
if (a)
|
|
849
830
|
if (this._parentage = null, Array.isArray(a))
|
|
850
831
|
try {
|
|
851
|
-
for (var s =
|
|
832
|
+
for (var s = We(a), l = s.next(); !l.done; l = s.next()) {
|
|
852
833
|
var u = l.value;
|
|
853
834
|
u.remove(this);
|
|
854
835
|
}
|
|
@@ -865,22 +846,22 @@ var He = function() {
|
|
|
865
846
|
else
|
|
866
847
|
a.remove(this);
|
|
867
848
|
var h = this.initialTeardown;
|
|
868
|
-
if (
|
|
849
|
+
if (C(h))
|
|
869
850
|
try {
|
|
870
851
|
h();
|
|
871
852
|
} catch (m) {
|
|
872
|
-
o = m instanceof
|
|
853
|
+
o = m instanceof $e ? m.errors : [m];
|
|
873
854
|
}
|
|
874
855
|
var f = this._finalizers;
|
|
875
856
|
if (f) {
|
|
876
857
|
this._finalizers = null;
|
|
877
858
|
try {
|
|
878
|
-
for (var c =
|
|
859
|
+
for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
|
|
879
860
|
var p = d.value;
|
|
880
861
|
try {
|
|
881
|
-
|
|
862
|
+
pt(p);
|
|
882
863
|
} catch (m) {
|
|
883
|
-
o = o ?? [], m instanceof
|
|
864
|
+
o = o ?? [], m instanceof $e ? o = Ze(Ze([], ze(o)), ze(m.errors)) : o.push(m);
|
|
884
865
|
}
|
|
885
866
|
}
|
|
886
867
|
} catch (m) {
|
|
@@ -895,13 +876,13 @@ var He = function() {
|
|
|
895
876
|
}
|
|
896
877
|
}
|
|
897
878
|
if (o)
|
|
898
|
-
throw new
|
|
879
|
+
throw new $e(o);
|
|
899
880
|
}
|
|
900
881
|
}, e.prototype.add = function(t) {
|
|
901
882
|
var r;
|
|
902
883
|
if (t && t !== this)
|
|
903
884
|
if (this.closed)
|
|
904
|
-
|
|
885
|
+
pt(t);
|
|
905
886
|
else {
|
|
906
887
|
if (t instanceof e) {
|
|
907
888
|
if (t.closed || t._hasParent(this))
|
|
@@ -918,56 +899,52 @@ var He = function() {
|
|
|
918
899
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
919
900
|
}, e.prototype._removeParent = function(t) {
|
|
920
901
|
var r = this._parentage;
|
|
921
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
902
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
922
903
|
}, e.prototype.remove = function(t) {
|
|
923
904
|
var r = this._finalizers;
|
|
924
|
-
r &&
|
|
905
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
925
906
|
}, e.EMPTY = function() {
|
|
926
907
|
var t = new e();
|
|
927
908
|
return t.closed = !0, t;
|
|
928
909
|
}(), e;
|
|
929
|
-
}(),
|
|
930
|
-
function
|
|
931
|
-
return e instanceof
|
|
932
|
-
}
|
|
933
|
-
function
|
|
934
|
-
|
|
935
|
-
}
|
|
936
|
-
var
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
Promise: void 0,
|
|
940
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
941
|
-
useDeprecatedNextContext: !1
|
|
942
|
-
}, on = {
|
|
910
|
+
}(), qt = Be.EMPTY;
|
|
911
|
+
function Qt(e) {
|
|
912
|
+
return e instanceof Be || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
913
|
+
}
|
|
914
|
+
function pt(e) {
|
|
915
|
+
C(e) ? e() : e.unsubscribe();
|
|
916
|
+
}
|
|
917
|
+
var on = {
|
|
918
|
+
Promise: void 0
|
|
919
|
+
}, sn = {
|
|
943
920
|
setTimeout: function(e, t) {
|
|
944
921
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
945
922
|
r[n - 2] = arguments[n];
|
|
946
|
-
return setTimeout.apply(void 0,
|
|
923
|
+
return setTimeout.apply(void 0, Ze([e, t], ze(r)));
|
|
947
924
|
},
|
|
948
925
|
clearTimeout: function(e) {
|
|
949
926
|
return clearTimeout(e);
|
|
950
927
|
},
|
|
951
928
|
delegate: void 0
|
|
952
929
|
};
|
|
953
|
-
function
|
|
954
|
-
|
|
930
|
+
function an(e) {
|
|
931
|
+
sn.setTimeout(function() {
|
|
955
932
|
throw e;
|
|
956
933
|
});
|
|
957
934
|
}
|
|
958
|
-
function
|
|
935
|
+
function dt() {
|
|
959
936
|
}
|
|
960
|
-
function
|
|
937
|
+
function ge(e) {
|
|
961
938
|
e();
|
|
962
939
|
}
|
|
963
|
-
var
|
|
964
|
-
|
|
940
|
+
var Jt = function(e) {
|
|
941
|
+
he(t, e);
|
|
965
942
|
function t(r) {
|
|
966
943
|
var n = e.call(this) || this;
|
|
967
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
944
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = hn, n;
|
|
968
945
|
}
|
|
969
946
|
return t.create = function(r, n, i) {
|
|
970
|
-
return new
|
|
947
|
+
return new Qe(r, n, i);
|
|
971
948
|
}, t.prototype.next = function(r) {
|
|
972
949
|
this.isStopped || this._next(r);
|
|
973
950
|
}, t.prototype.error = function(r) {
|
|
@@ -991,11 +968,7 @@ var Qt = function(e) {
|
|
|
991
968
|
this.unsubscribe();
|
|
992
969
|
}
|
|
993
970
|
}, t;
|
|
994
|
-
}(
|
|
995
|
-
function Ce(e, t) {
|
|
996
|
-
return an.call(e, t);
|
|
997
|
-
}
|
|
998
|
-
var un = function() {
|
|
971
|
+
}(Be), un = function() {
|
|
999
972
|
function e(t) {
|
|
1000
973
|
this.partialObserver = t;
|
|
1001
974
|
}
|
|
@@ -1026,41 +999,29 @@ var un = function() {
|
|
|
1026
999
|
de(r);
|
|
1027
1000
|
}
|
|
1028
1001
|
}, e;
|
|
1029
|
-
}(),
|
|
1030
|
-
|
|
1002
|
+
}(), Qe = function(e) {
|
|
1003
|
+
he(t, e);
|
|
1031
1004
|
function t(r, n, i) {
|
|
1032
1005
|
var o = e.call(this) || this, a;
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
};
|
|
1039
|
-
else {
|
|
1040
|
-
var s;
|
|
1041
|
-
o && qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1042
|
-
return o.unsubscribe();
|
|
1043
|
-
}, a = {
|
|
1044
|
-
next: r.next && Ce(r.next, s),
|
|
1045
|
-
error: r.error && Ce(r.error, s),
|
|
1046
|
-
complete: r.complete && Ce(r.complete, s)
|
|
1047
|
-
}) : a = r;
|
|
1048
|
-
}
|
|
1049
|
-
return o.destination = new un(a), o;
|
|
1006
|
+
return C(r) || !r ? a = {
|
|
1007
|
+
next: r ?? void 0,
|
|
1008
|
+
error: n ?? void 0,
|
|
1009
|
+
complete: i ?? void 0
|
|
1010
|
+
} : a = r, o.destination = new un(a), o;
|
|
1050
1011
|
}
|
|
1051
1012
|
return t;
|
|
1052
|
-
}(
|
|
1013
|
+
}(Jt);
|
|
1053
1014
|
function de(e) {
|
|
1054
|
-
|
|
1015
|
+
an(e);
|
|
1055
1016
|
}
|
|
1056
1017
|
function ln(e) {
|
|
1057
1018
|
throw e;
|
|
1058
1019
|
}
|
|
1059
1020
|
var hn = {
|
|
1060
1021
|
closed: !0,
|
|
1061
|
-
next:
|
|
1022
|
+
next: dt,
|
|
1062
1023
|
error: ln,
|
|
1063
|
-
complete:
|
|
1024
|
+
complete: dt
|
|
1064
1025
|
}, cn = function() {
|
|
1065
1026
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1066
1027
|
}();
|
|
@@ -1074,7 +1035,7 @@ function pn(e) {
|
|
|
1074
1035
|
}, r);
|
|
1075
1036
|
};
|
|
1076
1037
|
}
|
|
1077
|
-
var
|
|
1038
|
+
var mt = function() {
|
|
1078
1039
|
function e(t) {
|
|
1079
1040
|
t && (this._subscribe = t);
|
|
1080
1041
|
}
|
|
@@ -1082,8 +1043,8 @@ var pt = function() {
|
|
|
1082
1043
|
var r = new e();
|
|
1083
1044
|
return r.source = this, r.operator = t, r;
|
|
1084
1045
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1085
|
-
var i = this, o = mn(t) ? t : new
|
|
1086
|
-
return
|
|
1046
|
+
var i = this, o = mn(t) ? t : new Qe(t, r, n);
|
|
1047
|
+
return ge(function() {
|
|
1087
1048
|
var a = i, s = a.operator, l = a.source;
|
|
1088
1049
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
1089
1050
|
}), o;
|
|
@@ -1095,8 +1056,8 @@ var pt = function() {
|
|
|
1095
1056
|
}
|
|
1096
1057
|
}, e.prototype.forEach = function(t, r) {
|
|
1097
1058
|
var n = this;
|
|
1098
|
-
return r =
|
|
1099
|
-
var a = new
|
|
1059
|
+
return r = bt(r), new r(function(i, o) {
|
|
1060
|
+
var a = new Qe({
|
|
1100
1061
|
next: function(s) {
|
|
1101
1062
|
try {
|
|
1102
1063
|
t(s);
|
|
@@ -1120,7 +1081,7 @@ var pt = function() {
|
|
|
1120
1081
|
return pn(t)(this);
|
|
1121
1082
|
}, e.prototype.toPromise = function(t) {
|
|
1122
1083
|
var r = this;
|
|
1123
|
-
return t =
|
|
1084
|
+
return t = bt(t), new t(function(n, i) {
|
|
1124
1085
|
var o;
|
|
1125
1086
|
r.subscribe(function(a) {
|
|
1126
1087
|
return o = a;
|
|
@@ -1134,40 +1095,40 @@ var pt = function() {
|
|
|
1134
1095
|
return new e(t);
|
|
1135
1096
|
}, e;
|
|
1136
1097
|
}();
|
|
1137
|
-
function
|
|
1098
|
+
function bt(e) {
|
|
1138
1099
|
var t;
|
|
1139
|
-
return (t = e ??
|
|
1100
|
+
return (t = e ?? on.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1140
1101
|
}
|
|
1141
1102
|
function dn(e) {
|
|
1142
|
-
return e &&
|
|
1103
|
+
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
1143
1104
|
}
|
|
1144
1105
|
function mn(e) {
|
|
1145
|
-
return e && e instanceof
|
|
1106
|
+
return e && e instanceof Jt || dn(e) && Qt(e);
|
|
1146
1107
|
}
|
|
1147
|
-
var bn =
|
|
1108
|
+
var bn = Zt(function(e) {
|
|
1148
1109
|
return function() {
|
|
1149
1110
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1150
1111
|
};
|
|
1151
|
-
}),
|
|
1152
|
-
|
|
1112
|
+
}), Yt = function(e) {
|
|
1113
|
+
he(t, e);
|
|
1153
1114
|
function t() {
|
|
1154
1115
|
var r = e.call(this) || this;
|
|
1155
1116
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1156
1117
|
}
|
|
1157
1118
|
return t.prototype.lift = function(r) {
|
|
1158
|
-
var n = new
|
|
1119
|
+
var n = new yt(this, this);
|
|
1159
1120
|
return n.operator = r, n;
|
|
1160
1121
|
}, t.prototype._throwIfClosed = function() {
|
|
1161
1122
|
if (this.closed)
|
|
1162
1123
|
throw new bn();
|
|
1163
1124
|
}, t.prototype.next = function(r) {
|
|
1164
1125
|
var n = this;
|
|
1165
|
-
|
|
1126
|
+
ge(function() {
|
|
1166
1127
|
var i, o;
|
|
1167
1128
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1168
1129
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1169
1130
|
try {
|
|
1170
|
-
for (var a =
|
|
1131
|
+
for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1171
1132
|
var l = s.value;
|
|
1172
1133
|
l.next(r);
|
|
1173
1134
|
}
|
|
@@ -1185,7 +1146,7 @@ var bn = Wt(function(e) {
|
|
|
1185
1146
|
});
|
|
1186
1147
|
}, t.prototype.error = function(r) {
|
|
1187
1148
|
var n = this;
|
|
1188
|
-
|
|
1149
|
+
ge(function() {
|
|
1189
1150
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1190
1151
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1191
1152
|
for (var i = n.observers; i.length; )
|
|
@@ -1194,7 +1155,7 @@ var bn = Wt(function(e) {
|
|
|
1194
1155
|
});
|
|
1195
1156
|
}, t.prototype.complete = function() {
|
|
1196
1157
|
var r = this;
|
|
1197
|
-
|
|
1158
|
+
ge(function() {
|
|
1198
1159
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1199
1160
|
r.isStopped = !0;
|
|
1200
1161
|
for (var n = r.observers; n.length; )
|
|
@@ -1216,20 +1177,20 @@ var bn = Wt(function(e) {
|
|
|
1216
1177
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1217
1178
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1218
1179
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1219
|
-
return o || a ?
|
|
1220
|
-
n.currentObservers = null,
|
|
1180
|
+
return o || a ? qt : (this.currentObservers = null, s.push(r), new Be(function() {
|
|
1181
|
+
n.currentObservers = null, qe(s, r);
|
|
1221
1182
|
}));
|
|
1222
1183
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1223
1184
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1224
1185
|
i ? r.error(o) : a && r.complete();
|
|
1225
1186
|
}, t.prototype.asObservable = function() {
|
|
1226
|
-
var r = new
|
|
1187
|
+
var r = new mt();
|
|
1227
1188
|
return r.source = this, r;
|
|
1228
1189
|
}, t.create = function(r, n) {
|
|
1229
|
-
return new
|
|
1190
|
+
return new yt(r, n);
|
|
1230
1191
|
}, t;
|
|
1231
|
-
}(
|
|
1232
|
-
|
|
1192
|
+
}(mt), yt = function(e) {
|
|
1193
|
+
he(t, e);
|
|
1233
1194
|
function t(r, n) {
|
|
1234
1195
|
var i = e.call(this) || this;
|
|
1235
1196
|
return i.destination = r, i.source = n, i;
|
|
@@ -1245,17 +1206,17 @@ var bn = Wt(function(e) {
|
|
|
1245
1206
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1246
1207
|
}, t.prototype._subscribe = function(r) {
|
|
1247
1208
|
var n, i;
|
|
1248
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1209
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
|
|
1249
1210
|
}, t;
|
|
1250
|
-
}(
|
|
1211
|
+
}(Yt), Kt = {
|
|
1251
1212
|
now: function() {
|
|
1252
|
-
return (
|
|
1213
|
+
return (Kt.delegate || Date).now();
|
|
1253
1214
|
},
|
|
1254
1215
|
delegate: void 0
|
|
1255
|
-
},
|
|
1256
|
-
|
|
1216
|
+
}, yn = function(e) {
|
|
1217
|
+
he(t, e);
|
|
1257
1218
|
function t(r, n, i) {
|
|
1258
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1219
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
|
1259
1220
|
var o = e.call(this) || this;
|
|
1260
1221
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1261
1222
|
}
|
|
@@ -1275,24 +1236,24 @@ var bn = Wt(function(e) {
|
|
|
1275
1236
|
u && o.splice(0, u + 1);
|
|
1276
1237
|
}
|
|
1277
1238
|
}, t;
|
|
1278
|
-
}(
|
|
1279
|
-
const
|
|
1280
|
-
if (
|
|
1281
|
-
const r = new
|
|
1282
|
-
|
|
1239
|
+
}(Yt);
|
|
1240
|
+
const gt = [], vt = {}, gn = (e, t = 0) => {
|
|
1241
|
+
if (gt.indexOf(e) == -1) {
|
|
1242
|
+
const r = new yn(t);
|
|
1243
|
+
vt[e] = r, gt.push(e);
|
|
1283
1244
|
}
|
|
1284
|
-
return
|
|
1245
|
+
return vt[e];
|
|
1285
1246
|
}, k = [];
|
|
1286
1247
|
function vn(e, t) {
|
|
1287
1248
|
return {
|
|
1288
|
-
subscribe:
|
|
1249
|
+
subscribe: Ae(e, t).subscribe
|
|
1289
1250
|
};
|
|
1290
1251
|
}
|
|
1291
|
-
function
|
|
1252
|
+
function Ae(e, t = H) {
|
|
1292
1253
|
let r;
|
|
1293
1254
|
const n = /* @__PURE__ */ new Set();
|
|
1294
1255
|
function i(s) {
|
|
1295
|
-
if (
|
|
1256
|
+
if (Rt(e, s) && (e = s, r)) {
|
|
1296
1257
|
const l = !k.length;
|
|
1297
1258
|
for (const u of n)
|
|
1298
1259
|
u[1](), k.push(u, e);
|
|
@@ -1314,7 +1275,7 @@ function Be(e, t = H) {
|
|
|
1314
1275
|
}
|
|
1315
1276
|
return { set: i, update: o, subscribe: a };
|
|
1316
1277
|
}
|
|
1317
|
-
function
|
|
1278
|
+
function J(e, t, r) {
|
|
1318
1279
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1319
1280
|
if (!i.every(Boolean))
|
|
1320
1281
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1328,12 +1289,12 @@ function Y(e, t, r) {
|
|
|
1328
1289
|
return;
|
|
1329
1290
|
f();
|
|
1330
1291
|
const p = t(n ? u[0] : u, a, s);
|
|
1331
|
-
o ? a(p) : f =
|
|
1292
|
+
o ? a(p) : f = ae(p) ? p : H;
|
|
1332
1293
|
}, d = i.map(
|
|
1333
|
-
(p, m) =>
|
|
1294
|
+
(p, m) => Ut(
|
|
1334
1295
|
p,
|
|
1335
|
-
(
|
|
1336
|
-
u[m] =
|
|
1296
|
+
(_) => {
|
|
1297
|
+
u[m] = _, h &= ~(1 << m), l && c();
|
|
1337
1298
|
},
|
|
1338
1299
|
() => {
|
|
1339
1300
|
h |= 1 << m;
|
|
@@ -1341,54 +1302,54 @@ function Y(e, t, r) {
|
|
|
1341
1302
|
)
|
|
1342
1303
|
);
|
|
1343
1304
|
return l = !0, c(), function() {
|
|
1344
|
-
|
|
1305
|
+
G(d), f(), l = !1;
|
|
1345
1306
|
};
|
|
1346
1307
|
});
|
|
1347
1308
|
}
|
|
1348
|
-
var
|
|
1309
|
+
var jo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1349
1310
|
function _n(e) {
|
|
1350
1311
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1351
1312
|
}
|
|
1352
|
-
var
|
|
1353
|
-
return
|
|
1313
|
+
var En = function(t) {
|
|
1314
|
+
return xn(t) && !Sn(t);
|
|
1354
1315
|
};
|
|
1355
|
-
function
|
|
1316
|
+
function xn(e) {
|
|
1356
1317
|
return !!e && typeof e == "object";
|
|
1357
1318
|
}
|
|
1358
1319
|
function Sn(e) {
|
|
1359
1320
|
var t = Object.prototype.toString.call(e);
|
|
1360
1321
|
return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
|
|
1361
1322
|
}
|
|
1362
|
-
var
|
|
1323
|
+
var wn = typeof Symbol == "function" && Symbol.for, Tn = wn ? Symbol.for("react.element") : 60103;
|
|
1363
1324
|
function Hn(e) {
|
|
1364
|
-
return e.$$typeof ===
|
|
1325
|
+
return e.$$typeof === Tn;
|
|
1365
1326
|
}
|
|
1366
1327
|
function Bn(e) {
|
|
1367
1328
|
return Array.isArray(e) ? [] : {};
|
|
1368
1329
|
}
|
|
1369
|
-
function
|
|
1370
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1330
|
+
function oe(e, t) {
|
|
1331
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? z(Bn(e), e, t) : e;
|
|
1371
1332
|
}
|
|
1372
1333
|
function An(e, t, r) {
|
|
1373
1334
|
return e.concat(t).map(function(n) {
|
|
1374
|
-
return
|
|
1335
|
+
return oe(n, r);
|
|
1375
1336
|
});
|
|
1376
1337
|
}
|
|
1377
1338
|
function Pn(e, t) {
|
|
1378
1339
|
if (!t.customMerge)
|
|
1379
|
-
return
|
|
1340
|
+
return z;
|
|
1380
1341
|
var r = t.customMerge(e);
|
|
1381
|
-
return typeof r == "function" ? r :
|
|
1342
|
+
return typeof r == "function" ? r : z;
|
|
1382
1343
|
}
|
|
1383
1344
|
function On(e) {
|
|
1384
1345
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1385
1346
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1386
1347
|
}) : [];
|
|
1387
1348
|
}
|
|
1388
|
-
function
|
|
1349
|
+
function _t(e) {
|
|
1389
1350
|
return Object.keys(e).concat(On(e));
|
|
1390
1351
|
}
|
|
1391
|
-
function
|
|
1352
|
+
function er(e, t) {
|
|
1392
1353
|
try {
|
|
1393
1354
|
return t in e;
|
|
1394
1355
|
} catch {
|
|
@@ -1396,129 +1357,179 @@ function Kt(e, t) {
|
|
|
1396
1357
|
}
|
|
1397
1358
|
}
|
|
1398
1359
|
function In(e, t) {
|
|
1399
|
-
return
|
|
1360
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1400
1361
|
}
|
|
1401
1362
|
function Ln(e, t, r) {
|
|
1402
1363
|
var n = {};
|
|
1403
|
-
return r.isMergeableObject(e) &&
|
|
1404
|
-
n[i] =
|
|
1405
|
-
}),
|
|
1406
|
-
In(e, i) || (
|
|
1364
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1365
|
+
n[i] = oe(e[i], r);
|
|
1366
|
+
}), _t(t).forEach(function(i) {
|
|
1367
|
+
In(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1407
1368
|
}), n;
|
|
1408
1369
|
}
|
|
1409
|
-
function
|
|
1410
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject ||
|
|
1370
|
+
function z(e, t, r) {
|
|
1371
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || En, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1411
1372
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1412
|
-
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) :
|
|
1373
|
+
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : oe(t, r);
|
|
1413
1374
|
}
|
|
1414
|
-
|
|
1375
|
+
z.all = function(t, r) {
|
|
1415
1376
|
if (!Array.isArray(t))
|
|
1416
1377
|
throw new Error("first argument should be an array");
|
|
1417
1378
|
return t.reduce(function(n, i) {
|
|
1418
|
-
return
|
|
1379
|
+
return z(n, i, r);
|
|
1419
1380
|
}, {});
|
|
1420
1381
|
};
|
|
1421
|
-
var Nn =
|
|
1382
|
+
var Nn = z, Mn = Nn;
|
|
1422
1383
|
const Cn = /* @__PURE__ */ _n(Mn);
|
|
1423
|
-
function
|
|
1424
|
-
|
|
1384
|
+
var Je = function(e, t) {
|
|
1385
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1386
|
+
r.__proto__ = n;
|
|
1387
|
+
} || function(r, n) {
|
|
1388
|
+
for (var i in n)
|
|
1389
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1390
|
+
}, Je(e, t);
|
|
1391
|
+
};
|
|
1392
|
+
function Pe(e, t) {
|
|
1393
|
+
if (typeof t != "function" && t !== null)
|
|
1394
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1395
|
+
Je(e, t);
|
|
1396
|
+
function r() {
|
|
1397
|
+
this.constructor = e;
|
|
1398
|
+
}
|
|
1399
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1400
|
+
}
|
|
1401
|
+
var L = function() {
|
|
1402
|
+
return L = Object.assign || function(t) {
|
|
1403
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1404
|
+
r = arguments[n];
|
|
1405
|
+
for (var o in r)
|
|
1406
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1407
|
+
}
|
|
1408
|
+
return t;
|
|
1409
|
+
}, L.apply(this, arguments);
|
|
1410
|
+
};
|
|
1411
|
+
function $n(e, t) {
|
|
1412
|
+
var r = {};
|
|
1413
|
+
for (var n in e)
|
|
1414
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1415
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1416
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1417
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1418
|
+
return r;
|
|
1419
|
+
}
|
|
1420
|
+
function Re(e, t, r) {
|
|
1421
|
+
if (r || arguments.length === 2)
|
|
1422
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1423
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1424
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1425
|
+
}
|
|
1426
|
+
function Ue(e, t) {
|
|
1427
|
+
var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : Gn;
|
|
1425
1428
|
return i(e, {
|
|
1426
1429
|
cache: r,
|
|
1427
1430
|
serializer: n
|
|
1428
1431
|
});
|
|
1429
1432
|
}
|
|
1430
|
-
function
|
|
1433
|
+
function Rn(e) {
|
|
1431
1434
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1432
1435
|
}
|
|
1433
|
-
function
|
|
1434
|
-
var i =
|
|
1436
|
+
function Un(e, t, r, n) {
|
|
1437
|
+
var i = Rn(n) ? n : r(n), o = t.get(i);
|
|
1435
1438
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1436
1439
|
}
|
|
1437
1440
|
function tr(e, t, r) {
|
|
1438
1441
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1439
1442
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1440
1443
|
}
|
|
1441
|
-
function
|
|
1444
|
+
function rr(e, t, r, n, i) {
|
|
1442
1445
|
return r.bind(t, e, n, i);
|
|
1443
1446
|
}
|
|
1444
|
-
function
|
|
1445
|
-
var r = e.length === 1 ?
|
|
1446
|
-
return
|
|
1447
|
-
}
|
|
1448
|
-
function Un(e, t) {
|
|
1449
|
-
return it(e, this, tr, t.cache.create(), t.serializer);
|
|
1447
|
+
function Gn(e, t) {
|
|
1448
|
+
var r = e.length === 1 ? Un : tr;
|
|
1449
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
|
1450
1450
|
}
|
|
1451
1451
|
function Dn(e, t) {
|
|
1452
|
-
return
|
|
1452
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
|
1453
1453
|
}
|
|
1454
|
-
var
|
|
1454
|
+
var Fn = function() {
|
|
1455
1455
|
return JSON.stringify(arguments);
|
|
1456
|
-
}
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1456
|
+
}, jn = (
|
|
1457
|
+
/** @class */
|
|
1458
|
+
function() {
|
|
1459
|
+
function e() {
|
|
1460
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1461
|
+
}
|
|
1462
|
+
return e.prototype.get = function(t) {
|
|
1463
|
+
return this.cache[t];
|
|
1464
|
+
}, e.prototype.set = function(t, r) {
|
|
1465
|
+
this.cache[t] = r;
|
|
1466
|
+
}, e;
|
|
1467
|
+
}()
|
|
1468
|
+
), kn = {
|
|
1467
1469
|
create: function() {
|
|
1468
|
-
return new
|
|
1470
|
+
return new jn();
|
|
1469
1471
|
}
|
|
1470
|
-
},
|
|
1471
|
-
variadic:
|
|
1472
|
-
|
|
1473
|
-
|
|
1472
|
+
}, Ge = {
|
|
1473
|
+
variadic: Dn
|
|
1474
|
+
}, we = function() {
|
|
1475
|
+
return we = Object.assign || function(t) {
|
|
1476
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1477
|
+
r = arguments[n];
|
|
1478
|
+
for (var o in r)
|
|
1479
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1480
|
+
}
|
|
1481
|
+
return t;
|
|
1482
|
+
}, we.apply(this, arguments);
|
|
1483
|
+
};
|
|
1484
|
+
var b;
|
|
1474
1485
|
(function(e) {
|
|
1475
1486
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1476
1487
|
})(b || (b = {}));
|
|
1477
|
-
var
|
|
1488
|
+
var v;
|
|
1478
1489
|
(function(e) {
|
|
1479
1490
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1480
|
-
})(
|
|
1481
|
-
var
|
|
1491
|
+
})(v || (v = {}));
|
|
1492
|
+
var Z;
|
|
1482
1493
|
(function(e) {
|
|
1483
1494
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1484
|
-
})(
|
|
1485
|
-
function
|
|
1486
|
-
return e.type ===
|
|
1487
|
-
}
|
|
1488
|
-
function jn(e) {
|
|
1489
|
-
return e.type === _.argument;
|
|
1495
|
+
})(Z || (Z = {}));
|
|
1496
|
+
function Et(e) {
|
|
1497
|
+
return e.type === v.literal;
|
|
1490
1498
|
}
|
|
1491
|
-
function
|
|
1492
|
-
return e.type ===
|
|
1499
|
+
function Vn(e) {
|
|
1500
|
+
return e.type === v.argument;
|
|
1493
1501
|
}
|
|
1494
1502
|
function nr(e) {
|
|
1495
|
-
return e.type ===
|
|
1503
|
+
return e.type === v.number;
|
|
1496
1504
|
}
|
|
1497
1505
|
function ir(e) {
|
|
1498
|
-
return e.type ===
|
|
1506
|
+
return e.type === v.date;
|
|
1499
1507
|
}
|
|
1500
1508
|
function or(e) {
|
|
1501
|
-
return e.type ===
|
|
1509
|
+
return e.type === v.time;
|
|
1502
1510
|
}
|
|
1503
1511
|
function sr(e) {
|
|
1504
|
-
return e.type ===
|
|
1505
|
-
}
|
|
1506
|
-
function kn(e) {
|
|
1507
|
-
return e.type === _.pound;
|
|
1512
|
+
return e.type === v.select;
|
|
1508
1513
|
}
|
|
1509
1514
|
function ar(e) {
|
|
1510
|
-
return e.type ===
|
|
1515
|
+
return e.type === v.plural;
|
|
1516
|
+
}
|
|
1517
|
+
function Xn(e) {
|
|
1518
|
+
return e.type === v.pound;
|
|
1511
1519
|
}
|
|
1512
1520
|
function ur(e) {
|
|
1513
|
-
return
|
|
1521
|
+
return e.type === v.tag;
|
|
1514
1522
|
}
|
|
1515
|
-
function
|
|
1516
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1523
|
+
function lr(e) {
|
|
1524
|
+
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1517
1525
|
}
|
|
1518
|
-
|
|
1519
|
-
|
|
1526
|
+
function Ye(e) {
|
|
1527
|
+
return !!(e && typeof e == "object" && e.type === Z.dateTime);
|
|
1528
|
+
}
|
|
1529
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1530
|
+
function zn(e) {
|
|
1520
1531
|
var t = {};
|
|
1521
|
-
return e.replace(
|
|
1532
|
+
return e.replace(Wn, function(r) {
|
|
1522
1533
|
var n = r.length;
|
|
1523
1534
|
switch (r[0]) {
|
|
1524
1535
|
case "G":
|
|
@@ -1607,11 +1618,21 @@ function Xn(e) {
|
|
|
1607
1618
|
return "";
|
|
1608
1619
|
}), t;
|
|
1609
1620
|
}
|
|
1610
|
-
var
|
|
1611
|
-
function
|
|
1621
|
+
var E = function() {
|
|
1622
|
+
return E = Object.assign || function(t) {
|
|
1623
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1624
|
+
r = arguments[n];
|
|
1625
|
+
for (var o in r)
|
|
1626
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1627
|
+
}
|
|
1628
|
+
return t;
|
|
1629
|
+
}, E.apply(this, arguments);
|
|
1630
|
+
};
|
|
1631
|
+
var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1632
|
+
function qn(e) {
|
|
1612
1633
|
if (e.length === 0)
|
|
1613
1634
|
throw new Error("Number skeleton cannot be empty");
|
|
1614
|
-
for (var t = e.split(
|
|
1635
|
+
for (var t = e.split(Zn).filter(function(c) {
|
|
1615
1636
|
return c.length > 0;
|
|
1616
1637
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1617
1638
|
var o = i[n], a = o.split("/");
|
|
@@ -1626,17 +1647,17 @@ function zn(e) {
|
|
|
1626
1647
|
}
|
|
1627
1648
|
return r;
|
|
1628
1649
|
}
|
|
1629
|
-
function
|
|
1650
|
+
function Qn(e) {
|
|
1630
1651
|
return e.replace(/^(.*?)-/, "");
|
|
1631
1652
|
}
|
|
1632
|
-
var
|
|
1633
|
-
function
|
|
1653
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Jn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
1654
|
+
function St(e) {
|
|
1634
1655
|
var t = {};
|
|
1635
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1656
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
|
1636
1657
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1637
1658
|
}), t;
|
|
1638
1659
|
}
|
|
1639
|
-
function
|
|
1660
|
+
function pr(e) {
|
|
1640
1661
|
switch (e) {
|
|
1641
1662
|
case "sign-auto":
|
|
1642
1663
|
return {
|
|
@@ -1676,7 +1697,7 @@ function fr(e) {
|
|
|
1676
1697
|
};
|
|
1677
1698
|
}
|
|
1678
1699
|
}
|
|
1679
|
-
function
|
|
1700
|
+
function Yn(e) {
|
|
1680
1701
|
var t;
|
|
1681
1702
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1682
1703
|
notation: "engineering"
|
|
@@ -1684,17 +1705,17 @@ function Qn(e) {
|
|
|
1684
1705
|
notation: "scientific"
|
|
1685
1706
|
}, e = e.slice(1)), t) {
|
|
1686
1707
|
var r = e.slice(0, 2);
|
|
1687
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1708
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
1688
1709
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1689
1710
|
t.minimumIntegerDigits = e.length;
|
|
1690
1711
|
}
|
|
1691
1712
|
return t;
|
|
1692
1713
|
}
|
|
1693
|
-
function
|
|
1694
|
-
var t = {}, r =
|
|
1714
|
+
function wt(e) {
|
|
1715
|
+
var t = {}, r = pr(e);
|
|
1695
1716
|
return r || t;
|
|
1696
1717
|
}
|
|
1697
|
-
function
|
|
1718
|
+
function Kn(e) {
|
|
1698
1719
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1699
1720
|
var i = n[r];
|
|
1700
1721
|
switch (i.stem) {
|
|
@@ -1718,7 +1739,7 @@ function Jn(e) {
|
|
|
1718
1739
|
continue;
|
|
1719
1740
|
case "measure-unit":
|
|
1720
1741
|
case "unit":
|
|
1721
|
-
t.style = "unit", t.unit =
|
|
1742
|
+
t.style = "unit", t.unit = Qn(i.options[0]);
|
|
1722
1743
|
continue;
|
|
1723
1744
|
case "compact-short":
|
|
1724
1745
|
case "K":
|
|
@@ -1729,13 +1750,13 @@ function Jn(e) {
|
|
|
1729
1750
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1730
1751
|
continue;
|
|
1731
1752
|
case "scientific":
|
|
1732
|
-
t =
|
|
1733
|
-
return
|
|
1753
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1754
|
+
return E(E({}, l), wt(u));
|
|
1734
1755
|
}, {}));
|
|
1735
1756
|
continue;
|
|
1736
1757
|
case "engineering":
|
|
1737
|
-
t =
|
|
1738
|
-
return
|
|
1758
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1759
|
+
return E(E({}, l), wt(u));
|
|
1739
1760
|
}, {}));
|
|
1740
1761
|
continue;
|
|
1741
1762
|
case "notation-simple":
|
|
@@ -1780,7 +1801,7 @@ function Jn(e) {
|
|
|
1780
1801
|
case "integer-width":
|
|
1781
1802
|
if (i.options.length > 1)
|
|
1782
1803
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1783
|
-
i.options[0].replace(
|
|
1804
|
+
i.options[0].replace(Jn, function(l, u, h, f, c, d) {
|
|
1784
1805
|
if (u)
|
|
1785
1806
|
t.minimumIntegerDigits = h.length;
|
|
1786
1807
|
else {
|
|
@@ -1793,28 +1814,28 @@ function Jn(e) {
|
|
|
1793
1814
|
});
|
|
1794
1815
|
continue;
|
|
1795
1816
|
}
|
|
1796
|
-
if (
|
|
1817
|
+
if (fr.test(i.stem)) {
|
|
1797
1818
|
t.minimumIntegerDigits = i.stem.length;
|
|
1798
1819
|
continue;
|
|
1799
1820
|
}
|
|
1800
|
-
if (
|
|
1821
|
+
if (xt.test(i.stem)) {
|
|
1801
1822
|
if (i.options.length > 1)
|
|
1802
1823
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1803
|
-
i.stem.replace(
|
|
1824
|
+
i.stem.replace(xt, function(l, u, h, f, c, d) {
|
|
1804
1825
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1805
1826
|
});
|
|
1806
1827
|
var o = i.options[0];
|
|
1807
|
-
o === "w" ? t =
|
|
1828
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
|
|
1808
1829
|
continue;
|
|
1809
1830
|
}
|
|
1810
|
-
if (
|
|
1811
|
-
t =
|
|
1831
|
+
if (cr.test(i.stem)) {
|
|
1832
|
+
t = E(E({}, t), St(i.stem));
|
|
1812
1833
|
continue;
|
|
1813
1834
|
}
|
|
1814
|
-
var a =
|
|
1815
|
-
a && (t =
|
|
1816
|
-
var s =
|
|
1817
|
-
s && (t =
|
|
1835
|
+
var a = pr(i.stem);
|
|
1836
|
+
a && (t = E(E({}, t), a));
|
|
1837
|
+
var s = Yn(i.stem);
|
|
1838
|
+
s && (t = E(E({}, t), s));
|
|
1818
1839
|
}
|
|
1819
1840
|
return t;
|
|
1820
1841
|
}
|
|
@@ -3233,13 +3254,13 @@ var me = {
|
|
|
3233
3254
|
"h"
|
|
3234
3255
|
]
|
|
3235
3256
|
};
|
|
3236
|
-
function
|
|
3257
|
+
function ei(e, t) {
|
|
3237
3258
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3238
3259
|
var i = e.charAt(n);
|
|
3239
3260
|
if (i === "j") {
|
|
3240
3261
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3241
3262
|
o++, n++;
|
|
3242
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3263
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ti(t);
|
|
3243
3264
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3244
3265
|
r += l;
|
|
3245
3266
|
for (; a-- > 0; )
|
|
@@ -3249,7 +3270,7 @@ function Yn(e, t) {
|
|
|
3249
3270
|
}
|
|
3250
3271
|
return r;
|
|
3251
3272
|
}
|
|
3252
|
-
function
|
|
3273
|
+
function ti(e) {
|
|
3253
3274
|
var t = e.hourCycle;
|
|
3254
3275
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3255
3276
|
e.hourCycles && // @ts-ignore
|
|
@@ -3271,20 +3292,20 @@ function Kn(e) {
|
|
|
3271
3292
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3272
3293
|
return i[0];
|
|
3273
3294
|
}
|
|
3274
|
-
var
|
|
3275
|
-
function
|
|
3295
|
+
var De, ri = new RegExp("^".concat(hr.source, "*")), ni = new RegExp("".concat(hr.source, "*$"));
|
|
3296
|
+
function y(e, t) {
|
|
3276
3297
|
return { start: e, end: t };
|
|
3277
3298
|
}
|
|
3278
|
-
var
|
|
3299
|
+
var ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), oi = !!String.fromCodePoint, si = !!Object.fromEntries, ai = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, li = !!String.prototype.trimEnd, hi = !!Number.isSafeInteger, ci = hi ? Number.isSafeInteger : function(e) {
|
|
3279
3300
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3280
|
-
},
|
|
3301
|
+
}, Ke = !0;
|
|
3281
3302
|
try {
|
|
3282
|
-
var
|
|
3283
|
-
|
|
3303
|
+
var fi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3304
|
+
Ke = ((De = fi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3284
3305
|
} catch {
|
|
3285
|
-
|
|
3306
|
+
Ke = !1;
|
|
3286
3307
|
}
|
|
3287
|
-
var
|
|
3308
|
+
var Tt = ii ? (
|
|
3288
3309
|
// Native
|
|
3289
3310
|
function(t, r, n) {
|
|
3290
3311
|
return t.startsWith(r, n);
|
|
@@ -3294,7 +3315,7 @@ var St = ri ? (
|
|
|
3294
3315
|
function(t, r, n) {
|
|
3295
3316
|
return t.slice(n, n + r.length) === r;
|
|
3296
3317
|
}
|
|
3297
|
-
),
|
|
3318
|
+
), et = oi ? String.fromCodePoint : (
|
|
3298
3319
|
// IE11
|
|
3299
3320
|
function() {
|
|
3300
3321
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3306,9 +3327,9 @@ var St = ri ? (
|
|
|
3306
3327
|
}
|
|
3307
3328
|
return n;
|
|
3308
3329
|
}
|
|
3309
|
-
),
|
|
3330
|
+
), Ht = (
|
|
3310
3331
|
// native
|
|
3311
|
-
|
|
3332
|
+
si ? Object.fromEntries : (
|
|
3312
3333
|
// Ponyfill
|
|
3313
3334
|
function(t) {
|
|
3314
3335
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3318,7 +3339,7 @@ var St = ri ? (
|
|
|
3318
3339
|
return r;
|
|
3319
3340
|
}
|
|
3320
3341
|
)
|
|
3321
|
-
),
|
|
3342
|
+
), dr = ai ? (
|
|
3322
3343
|
// Native
|
|
3323
3344
|
function(t, r) {
|
|
3324
3345
|
return t.codePointAt(r);
|
|
@@ -3332,7 +3353,7 @@ var St = ri ? (
|
|
|
3332
3353
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3333
3354
|
}
|
|
3334
3355
|
}
|
|
3335
|
-
),
|
|
3356
|
+
), pi = ui ? (
|
|
3336
3357
|
// Native
|
|
3337
3358
|
function(t) {
|
|
3338
3359
|
return t.trimStart();
|
|
@@ -3340,9 +3361,9 @@ var St = ri ? (
|
|
|
3340
3361
|
) : (
|
|
3341
3362
|
// Ponyfill
|
|
3342
3363
|
function(t) {
|
|
3343
|
-
return t.replace(
|
|
3364
|
+
return t.replace(ri, "");
|
|
3344
3365
|
}
|
|
3345
|
-
),
|
|
3366
|
+
), di = li ? (
|
|
3346
3367
|
// Native
|
|
3347
3368
|
function(t) {
|
|
3348
3369
|
return t.trimEnd();
|
|
@@ -3350,32 +3371,32 @@ var St = ri ? (
|
|
|
3350
3371
|
) : (
|
|
3351
3372
|
// Ponyfill
|
|
3352
3373
|
function(t) {
|
|
3353
|
-
return t.replace(
|
|
3374
|
+
return t.replace(ni, "");
|
|
3354
3375
|
}
|
|
3355
3376
|
);
|
|
3356
|
-
function
|
|
3377
|
+
function mr(e, t) {
|
|
3357
3378
|
return new RegExp(e, t);
|
|
3358
3379
|
}
|
|
3359
|
-
var
|
|
3360
|
-
if (
|
|
3361
|
-
var
|
|
3362
|
-
|
|
3380
|
+
var tt;
|
|
3381
|
+
if (Ke) {
|
|
3382
|
+
var Bt = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3383
|
+
tt = function(t, r) {
|
|
3363
3384
|
var n;
|
|
3364
|
-
|
|
3365
|
-
var i =
|
|
3385
|
+
Bt.lastIndex = r;
|
|
3386
|
+
var i = Bt.exec(t);
|
|
3366
3387
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3367
3388
|
};
|
|
3368
3389
|
} else
|
|
3369
|
-
|
|
3390
|
+
tt = function(t, r) {
|
|
3370
3391
|
for (var n = []; ; ) {
|
|
3371
|
-
var i =
|
|
3372
|
-
if (i === void 0 ||
|
|
3392
|
+
var i = dr(t, r);
|
|
3393
|
+
if (i === void 0 || br(i) || gi(i))
|
|
3373
3394
|
break;
|
|
3374
3395
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3375
3396
|
}
|
|
3376
|
-
return
|
|
3397
|
+
return et.apply(void 0, n);
|
|
3377
3398
|
};
|
|
3378
|
-
var
|
|
3399
|
+
var mi = (
|
|
3379
3400
|
/** @class */
|
|
3380
3401
|
function() {
|
|
3381
3402
|
function e(t, r) {
|
|
@@ -3399,14 +3420,14 @@ var pi = (
|
|
|
3399
3420
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3400
3421
|
var s = this.clonePosition();
|
|
3401
3422
|
this.bump(), i.push({
|
|
3402
|
-
type:
|
|
3403
|
-
location:
|
|
3423
|
+
type: v.pound,
|
|
3424
|
+
location: y(s, this.clonePosition())
|
|
3404
3425
|
});
|
|
3405
3426
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3406
3427
|
if (n)
|
|
3407
3428
|
break;
|
|
3408
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3409
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3429
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3430
|
+
} else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
|
|
3410
3431
|
var a = this.parseTag(t, r);
|
|
3411
3432
|
if (a.err)
|
|
3412
3433
|
return a;
|
|
@@ -3427,9 +3448,9 @@ var pi = (
|
|
|
3427
3448
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3428
3449
|
return {
|
|
3429
3450
|
val: {
|
|
3430
|
-
type:
|
|
3451
|
+
type: v.literal,
|
|
3431
3452
|
value: "<".concat(i, "/>"),
|
|
3432
|
-
location:
|
|
3453
|
+
location: y(n, this.clonePosition())
|
|
3433
3454
|
},
|
|
3434
3455
|
err: null
|
|
3435
3456
|
};
|
|
@@ -3439,25 +3460,25 @@ var pi = (
|
|
|
3439
3460
|
return o;
|
|
3440
3461
|
var a = o.val, s = this.clonePosition();
|
|
3441
3462
|
if (this.bumpIf("</")) {
|
|
3442
|
-
if (this.isEOF() || !
|
|
3443
|
-
return this.error(b.INVALID_TAG,
|
|
3463
|
+
if (this.isEOF() || !rt(this.char()))
|
|
3464
|
+
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3444
3465
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3445
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3466
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3446
3467
|
val: {
|
|
3447
|
-
type:
|
|
3468
|
+
type: v.tag,
|
|
3448
3469
|
value: i,
|
|
3449
3470
|
children: a,
|
|
3450
|
-
location:
|
|
3471
|
+
location: y(n, this.clonePosition())
|
|
3451
3472
|
},
|
|
3452
3473
|
err: null
|
|
3453
|
-
} : this.error(b.INVALID_TAG,
|
|
3474
|
+
} : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
|
|
3454
3475
|
} else
|
|
3455
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3476
|
+
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3456
3477
|
} else
|
|
3457
|
-
return this.error(b.INVALID_TAG,
|
|
3478
|
+
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3458
3479
|
}, e.prototype.parseTagName = function() {
|
|
3459
3480
|
var t = this.offset();
|
|
3460
|
-
for (this.bump(); !this.isEOF() &&
|
|
3481
|
+
for (this.bump(); !this.isEOF() && yi(this.char()); )
|
|
3461
3482
|
this.bump();
|
|
3462
3483
|
return this.message.slice(t, this.offset());
|
|
3463
3484
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3479,14 +3500,14 @@ var pi = (
|
|
|
3479
3500
|
}
|
|
3480
3501
|
break;
|
|
3481
3502
|
}
|
|
3482
|
-
var l =
|
|
3503
|
+
var l = y(n, this.clonePosition());
|
|
3483
3504
|
return {
|
|
3484
|
-
val: { type:
|
|
3505
|
+
val: { type: v.literal, value: i, location: l },
|
|
3485
3506
|
err: null
|
|
3486
3507
|
};
|
|
3487
3508
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3488
3509
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3489
|
-
!
|
|
3510
|
+
!bi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3490
3511
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3491
3512
|
if (this.isEOF() || this.char() !== 39)
|
|
3492
3513
|
return null;
|
|
@@ -3520,49 +3541,49 @@ var pi = (
|
|
|
3520
3541
|
r.push(n);
|
|
3521
3542
|
this.bump();
|
|
3522
3543
|
}
|
|
3523
|
-
return
|
|
3544
|
+
return et.apply(void 0, r);
|
|
3524
3545
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3525
3546
|
if (this.isEOF())
|
|
3526
3547
|
return null;
|
|
3527
3548
|
var n = this.char();
|
|
3528
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3549
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
|
|
3529
3550
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3530
3551
|
var n = this.clonePosition();
|
|
3531
3552
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3532
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3553
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3533
3554
|
if (this.char() === 125)
|
|
3534
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3555
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3535
3556
|
var i = this.parseIdentifierIfPossible().value;
|
|
3536
3557
|
if (!i)
|
|
3537
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3558
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3538
3559
|
if (this.bumpSpace(), this.isEOF())
|
|
3539
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3560
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3540
3561
|
switch (this.char()) {
|
|
3541
3562
|
case 125:
|
|
3542
3563
|
return this.bump(), {
|
|
3543
3564
|
val: {
|
|
3544
|
-
type:
|
|
3565
|
+
type: v.argument,
|
|
3545
3566
|
// value does not include the opening and closing braces.
|
|
3546
3567
|
value: i,
|
|
3547
|
-
location:
|
|
3568
|
+
location: y(n, this.clonePosition())
|
|
3548
3569
|
},
|
|
3549
3570
|
err: null
|
|
3550
3571
|
};
|
|
3551
3572
|
case 44:
|
|
3552
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3573
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3553
3574
|
default:
|
|
3554
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3575
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3555
3576
|
}
|
|
3556
3577
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3557
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3578
|
+
var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
|
|
3558
3579
|
this.bumpTo(i);
|
|
3559
|
-
var o = this.clonePosition(), a =
|
|
3580
|
+
var o = this.clonePosition(), a = y(t, o);
|
|
3560
3581
|
return { value: n, location: a };
|
|
3561
3582
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3562
3583
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3563
3584
|
switch (s) {
|
|
3564
3585
|
case "":
|
|
3565
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3586
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
|
|
3566
3587
|
case "number":
|
|
3567
3588
|
case "date":
|
|
3568
3589
|
case "time": {
|
|
@@ -3573,35 +3594,35 @@ var pi = (
|
|
|
3573
3594
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3574
3595
|
if (f.err)
|
|
3575
3596
|
return f;
|
|
3576
|
-
var c =
|
|
3597
|
+
var c = di(f.val);
|
|
3577
3598
|
if (c.length === 0)
|
|
3578
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3579
|
-
var d =
|
|
3599
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3600
|
+
var d = y(h, this.clonePosition());
|
|
3580
3601
|
u = { style: c, styleLocation: d };
|
|
3581
3602
|
}
|
|
3582
3603
|
var p = this.tryParseArgumentClose(i);
|
|
3583
3604
|
if (p.err)
|
|
3584
3605
|
return p;
|
|
3585
|
-
var m =
|
|
3586
|
-
if (u &&
|
|
3587
|
-
var
|
|
3606
|
+
var m = y(i, this.clonePosition());
|
|
3607
|
+
if (u && Tt(u?.style, "::", 0)) {
|
|
3608
|
+
var _ = pi(u.style.slice(2));
|
|
3588
3609
|
if (s === "number") {
|
|
3589
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3610
|
+
var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3590
3611
|
return f.err ? f : {
|
|
3591
|
-
val: { type:
|
|
3612
|
+
val: { type: v.number, value: n, location: m, style: f.val },
|
|
3592
3613
|
err: null
|
|
3593
3614
|
};
|
|
3594
3615
|
} else {
|
|
3595
|
-
if (
|
|
3616
|
+
if (_.length === 0)
|
|
3596
3617
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3597
|
-
var
|
|
3598
|
-
this.locale && (
|
|
3618
|
+
var w = _;
|
|
3619
|
+
this.locale && (w = ei(_, this.locale));
|
|
3599
3620
|
var c = {
|
|
3600
|
-
type:
|
|
3601
|
-
pattern:
|
|
3621
|
+
type: Z.dateTime,
|
|
3622
|
+
pattern: w,
|
|
3602
3623
|
location: u.styleLocation,
|
|
3603
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3604
|
-
}, P = s === "date" ?
|
|
3624
|
+
parsedOptions: this.shouldParseSkeletons ? zn(w) : {}
|
|
3625
|
+
}, P = s === "date" ? v.date : v.time;
|
|
3605
3626
|
return {
|
|
3606
3627
|
val: { type: P, value: n, location: m, style: c },
|
|
3607
3628
|
err: null
|
|
@@ -3610,7 +3631,7 @@ var pi = (
|
|
|
3610
3631
|
}
|
|
3611
3632
|
return {
|
|
3612
3633
|
val: {
|
|
3613
|
-
type: s === "number" ?
|
|
3634
|
+
type: s === "number" ? v.number : s === "date" ? v.date : v.time,
|
|
3614
3635
|
value: n,
|
|
3615
3636
|
location: m,
|
|
3616
3637
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3621,19 +3642,19 @@ var pi = (
|
|
|
3621
3642
|
case "plural":
|
|
3622
3643
|
case "selectordinal":
|
|
3623
3644
|
case "select": {
|
|
3624
|
-
var
|
|
3645
|
+
var x = this.clonePosition();
|
|
3625
3646
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3626
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3647
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(x, we({}, x)));
|
|
3627
3648
|
this.bumpSpace();
|
|
3628
|
-
var O = this.parseIdentifierIfPossible(),
|
|
3649
|
+
var O = this.parseIdentifierIfPossible(), T = 0;
|
|
3629
3650
|
if (s !== "select" && O.value === "offset") {
|
|
3630
3651
|
if (!this.bumpIf(":"))
|
|
3631
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3652
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3632
3653
|
this.bumpSpace();
|
|
3633
3654
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3634
3655
|
if (f.err)
|
|
3635
3656
|
return f;
|
|
3636
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
|
3657
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), T = f.val;
|
|
3637
3658
|
}
|
|
3638
3659
|
var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
|
|
3639
3660
|
if ($.err)
|
|
@@ -3641,21 +3662,21 @@ var pi = (
|
|
|
3641
3662
|
var p = this.tryParseArgumentClose(i);
|
|
3642
3663
|
if (p.err)
|
|
3643
3664
|
return p;
|
|
3644
|
-
var fe =
|
|
3665
|
+
var fe = y(i, this.clonePosition());
|
|
3645
3666
|
return s === "select" ? {
|
|
3646
3667
|
val: {
|
|
3647
|
-
type:
|
|
3668
|
+
type: v.select,
|
|
3648
3669
|
value: n,
|
|
3649
|
-
options:
|
|
3670
|
+
options: Ht($.val),
|
|
3650
3671
|
location: fe
|
|
3651
3672
|
},
|
|
3652
3673
|
err: null
|
|
3653
3674
|
} : {
|
|
3654
3675
|
val: {
|
|
3655
|
-
type:
|
|
3676
|
+
type: v.plural,
|
|
3656
3677
|
value: n,
|
|
3657
|
-
options:
|
|
3658
|
-
offset:
|
|
3678
|
+
options: Ht($.val),
|
|
3679
|
+
offset: T,
|
|
3659
3680
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3660
3681
|
location: fe
|
|
3661
3682
|
},
|
|
@@ -3663,10 +3684,10 @@ var pi = (
|
|
|
3663
3684
|
};
|
|
3664
3685
|
}
|
|
3665
3686
|
default:
|
|
3666
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3687
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
|
|
3667
3688
|
}
|
|
3668
3689
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3669
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3690
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3670
3691
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3671
3692
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3672
3693
|
var n = this.char();
|
|
@@ -3675,7 +3696,7 @@ var pi = (
|
|
|
3675
3696
|
this.bump();
|
|
3676
3697
|
var i = this.clonePosition();
|
|
3677
3698
|
if (!this.bumpUntil("'"))
|
|
3678
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3699
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3679
3700
|
this.bump();
|
|
3680
3701
|
break;
|
|
3681
3702
|
}
|
|
@@ -3705,16 +3726,16 @@ var pi = (
|
|
|
3705
3726
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3706
3727
|
var n = [];
|
|
3707
3728
|
try {
|
|
3708
|
-
n =
|
|
3729
|
+
n = qn(t);
|
|
3709
3730
|
} catch {
|
|
3710
3731
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3711
3732
|
}
|
|
3712
3733
|
return {
|
|
3713
3734
|
val: {
|
|
3714
|
-
type:
|
|
3735
|
+
type: Z.number,
|
|
3715
3736
|
tokens: n,
|
|
3716
3737
|
location: r,
|
|
3717
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3738
|
+
parsedOptions: this.shouldParseSkeletons ? Kn(n) : {}
|
|
3718
3739
|
},
|
|
3719
3740
|
err: null
|
|
3720
3741
|
};
|
|
@@ -3726,7 +3747,7 @@ var pi = (
|
|
|
3726
3747
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3727
3748
|
if (c.err)
|
|
3728
3749
|
return c;
|
|
3729
|
-
h =
|
|
3750
|
+
h = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3730
3751
|
} else
|
|
3731
3752
|
break;
|
|
3732
3753
|
}
|
|
@@ -3735,7 +3756,7 @@ var pi = (
|
|
|
3735
3756
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3736
3757
|
var d = this.clonePosition();
|
|
3737
3758
|
if (!this.bumpIf("{"))
|
|
3738
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3759
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3739
3760
|
var p = this.parseMessage(t + 1, r, n);
|
|
3740
3761
|
if (p.err)
|
|
3741
3762
|
return p;
|
|
@@ -3746,11 +3767,11 @@ var pi = (
|
|
|
3746
3767
|
u,
|
|
3747
3768
|
{
|
|
3748
3769
|
value: p.val,
|
|
3749
|
-
location:
|
|
3770
|
+
location: y(d, this.clonePosition())
|
|
3750
3771
|
}
|
|
3751
3772
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3752
3773
|
}
|
|
3753
|
-
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3774
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3754
3775
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3755
3776
|
var n = 1, i = this.clonePosition();
|
|
3756
3777
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3761,8 +3782,8 @@ var pi = (
|
|
|
3761
3782
|
else
|
|
3762
3783
|
break;
|
|
3763
3784
|
}
|
|
3764
|
-
var l =
|
|
3765
|
-
return o ? (a *= n,
|
|
3785
|
+
var l = y(i, this.clonePosition());
|
|
3786
|
+
return o ? (a *= n, ci(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3766
3787
|
}, e.prototype.offset = function() {
|
|
3767
3788
|
return this.position.offset;
|
|
3768
3789
|
}, e.prototype.isEOF = function() {
|
|
@@ -3777,7 +3798,7 @@ var pi = (
|
|
|
3777
3798
|
var t = this.position.offset;
|
|
3778
3799
|
if (t >= this.message.length)
|
|
3779
3800
|
throw Error("out of bound");
|
|
3780
|
-
var r =
|
|
3801
|
+
var r = dr(this.message, t);
|
|
3781
3802
|
if (r === void 0)
|
|
3782
3803
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3783
3804
|
return r;
|
|
@@ -3796,7 +3817,7 @@ var pi = (
|
|
|
3796
3817
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3797
3818
|
}
|
|
3798
3819
|
}, e.prototype.bumpIf = function(t) {
|
|
3799
|
-
if (
|
|
3820
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3800
3821
|
for (var r = 0; r < t.length; r++)
|
|
3801
3822
|
this.bump();
|
|
3802
3823
|
return !0;
|
|
@@ -3818,7 +3839,7 @@ var pi = (
|
|
|
3818
3839
|
break;
|
|
3819
3840
|
}
|
|
3820
3841
|
}, e.prototype.bumpSpace = function() {
|
|
3821
|
-
for (; !this.isEOF() &&
|
|
3842
|
+
for (; !this.isEOF() && br(this.char()); )
|
|
3822
3843
|
this.bump();
|
|
3823
3844
|
}, e.prototype.peek = function() {
|
|
3824
3845
|
if (this.isEOF())
|
|
@@ -3828,47 +3849,47 @@ var pi = (
|
|
|
3828
3849
|
}, e;
|
|
3829
3850
|
}()
|
|
3830
3851
|
);
|
|
3831
|
-
function
|
|
3852
|
+
function rt(e) {
|
|
3832
3853
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3833
3854
|
}
|
|
3834
|
-
function
|
|
3835
|
-
return
|
|
3855
|
+
function bi(e) {
|
|
3856
|
+
return rt(e) || e === 47;
|
|
3836
3857
|
}
|
|
3837
|
-
function
|
|
3858
|
+
function yi(e) {
|
|
3838
3859
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3839
3860
|
}
|
|
3840
|
-
function
|
|
3861
|
+
function br(e) {
|
|
3841
3862
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3842
3863
|
}
|
|
3843
|
-
function
|
|
3864
|
+
function gi(e) {
|
|
3844
3865
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3845
3866
|
}
|
|
3846
|
-
function
|
|
3867
|
+
function nt(e) {
|
|
3847
3868
|
e.forEach(function(t) {
|
|
3848
|
-
if (delete t.location,
|
|
3869
|
+
if (delete t.location, sr(t) || ar(t))
|
|
3849
3870
|
for (var r in t.options)
|
|
3850
|
-
delete t.options[r].location,
|
|
3871
|
+
delete t.options[r].location, nt(t.options[r].value);
|
|
3851
3872
|
else
|
|
3852
|
-
|
|
3873
|
+
nr(t) && lr(t.style) || (ir(t) || or(t)) && Ye(t.style) ? delete t.style.location : ur(t) && nt(t.children);
|
|
3853
3874
|
});
|
|
3854
3875
|
}
|
|
3855
|
-
function
|
|
3856
|
-
t === void 0 && (t = {}), t =
|
|
3857
|
-
var r = new
|
|
3876
|
+
function vi(e, t) {
|
|
3877
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3878
|
+
var r = new mi(e, t).parse();
|
|
3858
3879
|
if (r.err) {
|
|
3859
3880
|
var n = SyntaxError(b[r.err.kind]);
|
|
3860
3881
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3861
3882
|
}
|
|
3862
|
-
return t?.captureLocation ||
|
|
3883
|
+
return t?.captureLocation || nt(r.val), r.val;
|
|
3863
3884
|
}
|
|
3864
|
-
var
|
|
3885
|
+
var q;
|
|
3865
3886
|
(function(e) {
|
|
3866
3887
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3867
|
-
})(
|
|
3868
|
-
var
|
|
3888
|
+
})(q || (q = {}));
|
|
3889
|
+
var Oe = (
|
|
3869
3890
|
/** @class */
|
|
3870
3891
|
function(e) {
|
|
3871
|
-
|
|
3892
|
+
Pe(t, e);
|
|
3872
3893
|
function t(r, n, i) {
|
|
3873
3894
|
var o = e.call(this, r) || this;
|
|
3874
3895
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3877,48 +3898,48 @@ var Ae = (
|
|
|
3877
3898
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3878
3899
|
}, t;
|
|
3879
3900
|
}(Error)
|
|
3880
|
-
),
|
|
3901
|
+
), At = (
|
|
3881
3902
|
/** @class */
|
|
3882
3903
|
function(e) {
|
|
3883
|
-
|
|
3904
|
+
Pe(t, e);
|
|
3884
3905
|
function t(r, n, i, o) {
|
|
3885
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3906
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, o) || this;
|
|
3886
3907
|
}
|
|
3887
3908
|
return t;
|
|
3888
|
-
}(
|
|
3889
|
-
),
|
|
3909
|
+
}(Oe)
|
|
3910
|
+
), _i = (
|
|
3890
3911
|
/** @class */
|
|
3891
3912
|
function(e) {
|
|
3892
|
-
|
|
3913
|
+
Pe(t, e);
|
|
3893
3914
|
function t(r, n, i) {
|
|
3894
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3915
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3895
3916
|
}
|
|
3896
3917
|
return t;
|
|
3897
|
-
}(
|
|
3898
|
-
),
|
|
3918
|
+
}(Oe)
|
|
3919
|
+
), Ei = (
|
|
3899
3920
|
/** @class */
|
|
3900
3921
|
function(e) {
|
|
3901
|
-
|
|
3922
|
+
Pe(t, e);
|
|
3902
3923
|
function t(r, n) {
|
|
3903
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3924
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3904
3925
|
}
|
|
3905
3926
|
return t;
|
|
3906
|
-
}(
|
|
3927
|
+
}(Oe)
|
|
3907
3928
|
), S;
|
|
3908
3929
|
(function(e) {
|
|
3909
3930
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3910
3931
|
})(S || (S = {}));
|
|
3911
|
-
function
|
|
3932
|
+
function xi(e) {
|
|
3912
3933
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3913
3934
|
var n = t[t.length - 1];
|
|
3914
3935
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3915
3936
|
}, []);
|
|
3916
3937
|
}
|
|
3917
|
-
function
|
|
3938
|
+
function Si(e) {
|
|
3918
3939
|
return typeof e == "function";
|
|
3919
3940
|
}
|
|
3920
3941
|
function ve(e, t, r, n, i, o, a) {
|
|
3921
|
-
if (e.length === 1 &&
|
|
3942
|
+
if (e.length === 1 && Et(e[0]))
|
|
3922
3943
|
return [
|
|
3923
3944
|
{
|
|
3924
3945
|
type: S.literal,
|
|
@@ -3927,14 +3948,14 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3927
3948
|
];
|
|
3928
3949
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3929
3950
|
var h = u[l];
|
|
3930
|
-
if (
|
|
3951
|
+
if (Et(h)) {
|
|
3931
3952
|
s.push({
|
|
3932
3953
|
type: S.literal,
|
|
3933
3954
|
value: h.value
|
|
3934
3955
|
});
|
|
3935
3956
|
continue;
|
|
3936
3957
|
}
|
|
3937
|
-
if (
|
|
3958
|
+
if (Xn(h)) {
|
|
3938
3959
|
typeof o == "number" && s.push({
|
|
3939
3960
|
type: S.literal,
|
|
3940
3961
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3943,89 +3964,89 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3943
3964
|
}
|
|
3944
3965
|
var f = h.value;
|
|
3945
3966
|
if (!(i && f in i))
|
|
3946
|
-
throw new
|
|
3967
|
+
throw new Ei(f, a);
|
|
3947
3968
|
var c = i[f];
|
|
3948
|
-
if (
|
|
3969
|
+
if (Vn(h)) {
|
|
3949
3970
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3950
3971
|
type: typeof c == "string" ? S.literal : S.object,
|
|
3951
3972
|
value: c
|
|
3952
3973
|
});
|
|
3953
3974
|
continue;
|
|
3954
3975
|
}
|
|
3955
|
-
if (
|
|
3956
|
-
var d = typeof h.style == "string" ? n.date[h.style] :
|
|
3976
|
+
if (ir(h)) {
|
|
3977
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
|
|
3957
3978
|
s.push({
|
|
3958
3979
|
type: S.literal,
|
|
3959
3980
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3960
3981
|
});
|
|
3961
3982
|
continue;
|
|
3962
3983
|
}
|
|
3963
|
-
if (
|
|
3964
|
-
var d = typeof h.style == "string" ? n.time[h.style] :
|
|
3984
|
+
if (or(h)) {
|
|
3985
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3965
3986
|
s.push({
|
|
3966
3987
|
type: S.literal,
|
|
3967
3988
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3968
3989
|
});
|
|
3969
3990
|
continue;
|
|
3970
3991
|
}
|
|
3971
|
-
if (
|
|
3972
|
-
var d = typeof h.style == "string" ? n.number[h.style] :
|
|
3992
|
+
if (nr(h)) {
|
|
3993
|
+
var d = typeof h.style == "string" ? n.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
|
|
3973
3994
|
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
3974
3995
|
type: S.literal,
|
|
3975
3996
|
value: r.getNumberFormat(t, d).format(c)
|
|
3976
3997
|
});
|
|
3977
3998
|
continue;
|
|
3978
3999
|
}
|
|
3979
|
-
if (
|
|
3980
|
-
var p = h.children, m = h.value,
|
|
3981
|
-
if (!
|
|
3982
|
-
throw new
|
|
3983
|
-
var
|
|
3984
|
-
return
|
|
4000
|
+
if (ur(h)) {
|
|
4001
|
+
var p = h.children, m = h.value, _ = i[m];
|
|
4002
|
+
if (!Si(_))
|
|
4003
|
+
throw new _i(m, "function", a);
|
|
4004
|
+
var w = ve(p, t, r, n, i, o), P = _(w.map(function(T) {
|
|
4005
|
+
return T.value;
|
|
3985
4006
|
}));
|
|
3986
|
-
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(
|
|
4007
|
+
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(T) {
|
|
3987
4008
|
return {
|
|
3988
|
-
type: typeof
|
|
3989
|
-
value:
|
|
4009
|
+
type: typeof T == "string" ? S.literal : S.object,
|
|
4010
|
+
value: T
|
|
3990
4011
|
};
|
|
3991
4012
|
}));
|
|
3992
4013
|
}
|
|
3993
|
-
if (
|
|
3994
|
-
var
|
|
3995
|
-
if (!
|
|
3996
|
-
throw new
|
|
3997
|
-
s.push.apply(s, ve(
|
|
4014
|
+
if (sr(h)) {
|
|
4015
|
+
var x = h.options[c] || h.options.other;
|
|
4016
|
+
if (!x)
|
|
4017
|
+
throw new At(h.value, c, Object.keys(h.options), a);
|
|
4018
|
+
s.push.apply(s, ve(x.value, t, r, n, i));
|
|
3998
4019
|
continue;
|
|
3999
4020
|
}
|
|
4000
|
-
if (
|
|
4001
|
-
var
|
|
4002
|
-
if (!
|
|
4021
|
+
if (ar(h)) {
|
|
4022
|
+
var x = h.options["=".concat(c)];
|
|
4023
|
+
if (!x) {
|
|
4003
4024
|
if (!Intl.PluralRules)
|
|
4004
|
-
throw new
|
|
4025
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
4005
4026
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4006
|
-
`,
|
|
4027
|
+
`, q.MISSING_INTL_API, a);
|
|
4007
4028
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
4008
|
-
|
|
4029
|
+
x = h.options[O] || h.options.other;
|
|
4009
4030
|
}
|
|
4010
|
-
if (!
|
|
4011
|
-
throw new
|
|
4012
|
-
s.push.apply(s, ve(
|
|
4031
|
+
if (!x)
|
|
4032
|
+
throw new At(h.value, c, Object.keys(h.options), a);
|
|
4033
|
+
s.push.apply(s, ve(x.value, t, r, n, i, c - (h.offset || 0)));
|
|
4013
4034
|
continue;
|
|
4014
4035
|
}
|
|
4015
4036
|
}
|
|
4016
|
-
return
|
|
4037
|
+
return xi(s);
|
|
4017
4038
|
}
|
|
4018
|
-
function
|
|
4019
|
-
return t ?
|
|
4020
|
-
return r[n] =
|
|
4039
|
+
function wi(e, t) {
|
|
4040
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4041
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
4021
4042
|
}, {})) : e;
|
|
4022
4043
|
}
|
|
4023
|
-
function
|
|
4044
|
+
function Ti(e, t) {
|
|
4024
4045
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4025
|
-
return r[n] =
|
|
4026
|
-
},
|
|
4046
|
+
return r[n] = wi(e[n], t[n]), r;
|
|
4047
|
+
}, L({}, e)) : e;
|
|
4027
4048
|
}
|
|
4028
|
-
function
|
|
4049
|
+
function Fe(e) {
|
|
4029
4050
|
return {
|
|
4030
4051
|
create: function() {
|
|
4031
4052
|
return {
|
|
@@ -4039,39 +4060,39 @@ function De(e) {
|
|
|
4039
4060
|
}
|
|
4040
4061
|
};
|
|
4041
4062
|
}
|
|
4042
|
-
function
|
|
4063
|
+
function Hi(e) {
|
|
4043
4064
|
return e === void 0 && (e = {
|
|
4044
4065
|
number: {},
|
|
4045
4066
|
dateTime: {},
|
|
4046
4067
|
pluralRules: {}
|
|
4047
4068
|
}), {
|
|
4048
|
-
getNumberFormat:
|
|
4069
|
+
getNumberFormat: Ue(function() {
|
|
4049
4070
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4050
4071
|
r[n] = arguments[n];
|
|
4051
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4072
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4052
4073
|
}, {
|
|
4053
|
-
cache:
|
|
4054
|
-
strategy:
|
|
4074
|
+
cache: Fe(e.number),
|
|
4075
|
+
strategy: Ge.variadic
|
|
4055
4076
|
}),
|
|
4056
|
-
getDateTimeFormat:
|
|
4077
|
+
getDateTimeFormat: Ue(function() {
|
|
4057
4078
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4058
4079
|
r[n] = arguments[n];
|
|
4059
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4080
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4060
4081
|
}, {
|
|
4061
|
-
cache:
|
|
4062
|
-
strategy:
|
|
4082
|
+
cache: Fe(e.dateTime),
|
|
4083
|
+
strategy: Ge.variadic
|
|
4063
4084
|
}),
|
|
4064
|
-
getPluralRules:
|
|
4085
|
+
getPluralRules: Ue(function() {
|
|
4065
4086
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4066
4087
|
r[n] = arguments[n];
|
|
4067
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4088
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
4068
4089
|
}, {
|
|
4069
|
-
cache:
|
|
4070
|
-
strategy:
|
|
4090
|
+
cache: Fe(e.pluralRules),
|
|
4091
|
+
strategy: Ge.variadic
|
|
4071
4092
|
})
|
|
4072
4093
|
};
|
|
4073
4094
|
}
|
|
4074
|
-
var
|
|
4095
|
+
var Bi = (
|
|
4075
4096
|
/** @class */
|
|
4076
4097
|
function() {
|
|
4077
4098
|
function e(t, r, n, i) {
|
|
@@ -4103,13 +4124,13 @@ var wi = (
|
|
|
4103
4124
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4104
4125
|
var a = i || {};
|
|
4105
4126
|
a.formatters;
|
|
4106
|
-
var s =
|
|
4107
|
-
this.ast = e.__parse(t,
|
|
4127
|
+
var s = $n(a, ["formatters"]);
|
|
4128
|
+
this.ast = e.__parse(t, L(L({}, s), { locale: this.resolvedLocale }));
|
|
4108
4129
|
} else
|
|
4109
4130
|
this.ast = t;
|
|
4110
4131
|
if (!Array.isArray(this.ast))
|
|
4111
4132
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4112
|
-
this.formats =
|
|
4133
|
+
this.formats = Ti(e.formats, n), this.formatters = i && i.formatters || Hi(this.formatterCache);
|
|
4113
4134
|
}
|
|
4114
4135
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4115
4136
|
get: function() {
|
|
@@ -4122,7 +4143,7 @@ var wi = (
|
|
|
4122
4143
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4123
4144
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4124
4145
|
}
|
|
4125
|
-
}, e.__parse =
|
|
4146
|
+
}, e.__parse = vi, e.formats = {
|
|
4126
4147
|
number: {
|
|
4127
4148
|
integer: {
|
|
4128
4149
|
maximumFractionDigits: 0
|
|
@@ -4183,7 +4204,7 @@ var wi = (
|
|
|
4183
4204
|
}, e;
|
|
4184
4205
|
}()
|
|
4185
4206
|
);
|
|
4186
|
-
function
|
|
4207
|
+
function Ai(e, t) {
|
|
4187
4208
|
if (t == null)
|
|
4188
4209
|
return;
|
|
4189
4210
|
if (t in e)
|
|
@@ -4204,92 +4225,92 @@ function Hi(e, t) {
|
|
|
4204
4225
|
n = void 0;
|
|
4205
4226
|
return n;
|
|
4206
4227
|
}
|
|
4207
|
-
const U = {},
|
|
4228
|
+
const U = {}, Pi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), yr = (e, t) => {
|
|
4208
4229
|
if (t == null)
|
|
4209
4230
|
return;
|
|
4210
4231
|
if (t in U && e in U[t])
|
|
4211
4232
|
return U[t][e];
|
|
4212
|
-
const r =
|
|
4233
|
+
const r = Ie(t);
|
|
4213
4234
|
for (let n = 0; n < r.length; n++) {
|
|
4214
|
-
const i = r[n], o =
|
|
4235
|
+
const i = r[n], o = Ii(i, e);
|
|
4215
4236
|
if (o)
|
|
4216
|
-
return
|
|
4237
|
+
return Pi(e, t, o);
|
|
4217
4238
|
}
|
|
4218
4239
|
};
|
|
4219
|
-
let
|
|
4220
|
-
const ce =
|
|
4221
|
-
function
|
|
4222
|
-
return
|
|
4240
|
+
let ut;
|
|
4241
|
+
const ce = Ae({});
|
|
4242
|
+
function Oi(e) {
|
|
4243
|
+
return ut[e] || null;
|
|
4223
4244
|
}
|
|
4224
4245
|
function gr(e) {
|
|
4225
|
-
return e in
|
|
4246
|
+
return e in ut;
|
|
4226
4247
|
}
|
|
4227
|
-
function
|
|
4248
|
+
function Ii(e, t) {
|
|
4228
4249
|
if (!gr(e))
|
|
4229
4250
|
return null;
|
|
4230
|
-
const r =
|
|
4231
|
-
return
|
|
4251
|
+
const r = Oi(e);
|
|
4252
|
+
return Ai(r, t);
|
|
4232
4253
|
}
|
|
4233
|
-
function
|
|
4254
|
+
function Li(e) {
|
|
4234
4255
|
if (e == null)
|
|
4235
4256
|
return;
|
|
4236
|
-
const t =
|
|
4257
|
+
const t = Ie(e);
|
|
4237
4258
|
for (let r = 0; r < t.length; r++) {
|
|
4238
4259
|
const n = t[r];
|
|
4239
4260
|
if (gr(n))
|
|
4240
4261
|
return n;
|
|
4241
4262
|
}
|
|
4242
4263
|
}
|
|
4243
|
-
function
|
|
4264
|
+
function vr(e, ...t) {
|
|
4244
4265
|
delete U[e], ce.update((r) => (r[e] = Cn.all([r[e] || {}, ...t]), r));
|
|
4245
4266
|
}
|
|
4246
|
-
|
|
4267
|
+
J(
|
|
4247
4268
|
[ce],
|
|
4248
4269
|
([e]) => Object.keys(e)
|
|
4249
4270
|
);
|
|
4250
|
-
ce.subscribe((e) =>
|
|
4271
|
+
ce.subscribe((e) => ut = e);
|
|
4251
4272
|
const _e = {};
|
|
4252
|
-
function
|
|
4273
|
+
function Ni(e, t) {
|
|
4253
4274
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4254
4275
|
}
|
|
4255
|
-
function
|
|
4276
|
+
function _r(e) {
|
|
4256
4277
|
return _e[e];
|
|
4257
4278
|
}
|
|
4258
|
-
function
|
|
4259
|
-
return
|
|
4260
|
-
const r =
|
|
4279
|
+
function Mi(e) {
|
|
4280
|
+
return Ie(e).map((t) => {
|
|
4281
|
+
const r = _r(t);
|
|
4261
4282
|
return [t, r ? [...r] : []];
|
|
4262
4283
|
}).filter(([, t]) => t.length > 0);
|
|
4263
4284
|
}
|
|
4264
|
-
function
|
|
4265
|
-
return e == null ? !1 :
|
|
4285
|
+
function it(e) {
|
|
4286
|
+
return e == null ? !1 : Ie(e).some(
|
|
4266
4287
|
(t) => {
|
|
4267
4288
|
var r;
|
|
4268
|
-
return (r =
|
|
4289
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4269
4290
|
}
|
|
4270
4291
|
);
|
|
4271
4292
|
}
|
|
4272
|
-
function
|
|
4293
|
+
function Ci(e, t) {
|
|
4273
4294
|
return Promise.all(
|
|
4274
|
-
t.map((n) => (
|
|
4275
|
-
).then((n) =>
|
|
4276
|
-
}
|
|
4277
|
-
const
|
|
4278
|
-
function
|
|
4279
|
-
if (!
|
|
4280
|
-
return e in
|
|
4281
|
-
const t =
|
|
4282
|
-
return
|
|
4295
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
|
4296
|
+
).then((n) => vr(e, ...n));
|
|
4297
|
+
}
|
|
4298
|
+
const re = {};
|
|
4299
|
+
function Er(e) {
|
|
4300
|
+
if (!it(e))
|
|
4301
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4302
|
+
const t = Mi(e);
|
|
4303
|
+
return re[e] = Promise.all(
|
|
4283
4304
|
t.map(
|
|
4284
|
-
([r, n]) =>
|
|
4305
|
+
([r, n]) => Ci(r, n)
|
|
4285
4306
|
)
|
|
4286
4307
|
).then(() => {
|
|
4287
|
-
if (
|
|
4288
|
-
return
|
|
4289
|
-
delete
|
|
4290
|
-
}),
|
|
4308
|
+
if (it(e))
|
|
4309
|
+
return Er(e);
|
|
4310
|
+
delete re[e];
|
|
4311
|
+
}), re[e];
|
|
4291
4312
|
}
|
|
4292
|
-
const
|
|
4313
|
+
const $i = {
|
|
4293
4314
|
number: {
|
|
4294
4315
|
scientific: { notation: "scientific" },
|
|
4295
4316
|
engineering: { notation: "engineering" },
|
|
@@ -4318,135 +4339,135 @@ const Mi = {
|
|
|
4318
4339
|
timeZoneName: "short"
|
|
4319
4340
|
}
|
|
4320
4341
|
}
|
|
4321
|
-
},
|
|
4342
|
+
}, Ri = {
|
|
4322
4343
|
fallbackLocale: null,
|
|
4323
4344
|
loadingDelay: 200,
|
|
4324
|
-
formats:
|
|
4345
|
+
formats: $i,
|
|
4325
4346
|
warnOnMissingMessages: !0,
|
|
4326
4347
|
handleMissingMessage: void 0,
|
|
4327
4348
|
ignoreTag: !0
|
|
4328
|
-
},
|
|
4329
|
-
function
|
|
4330
|
-
return
|
|
4349
|
+
}, Ui = Ri;
|
|
4350
|
+
function Q() {
|
|
4351
|
+
return Ui;
|
|
4331
4352
|
}
|
|
4332
|
-
const
|
|
4333
|
-
var
|
|
4353
|
+
const je = Ae(!1);
|
|
4354
|
+
var Gi = Object.defineProperty, Di = Object.defineProperties, Fi = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, ji = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vi = (e, t) => {
|
|
4334
4355
|
for (var r in t || (t = {}))
|
|
4335
|
-
|
|
4336
|
-
if (
|
|
4337
|
-
for (var r of
|
|
4338
|
-
|
|
4356
|
+
ji.call(t, r) && Ot(e, r, t[r]);
|
|
4357
|
+
if (Pt)
|
|
4358
|
+
for (var r of Pt(t))
|
|
4359
|
+
ki.call(t, r) && Ot(e, r, t[r]);
|
|
4339
4360
|
return e;
|
|
4340
|
-
},
|
|
4341
|
-
let
|
|
4342
|
-
const Te =
|
|
4343
|
-
function
|
|
4361
|
+
}, Xi = (e, t) => Di(e, Fi(t));
|
|
4362
|
+
let ot;
|
|
4363
|
+
const Te = Ae(null);
|
|
4364
|
+
function It(e) {
|
|
4344
4365
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4345
4366
|
}
|
|
4346
|
-
function
|
|
4347
|
-
const r =
|
|
4348
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4367
|
+
function Ie(e, t = Q().fallbackLocale) {
|
|
4368
|
+
const r = It(e);
|
|
4369
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
|
4349
4370
|
}
|
|
4350
4371
|
function F() {
|
|
4351
|
-
return
|
|
4372
|
+
return ot ?? void 0;
|
|
4352
4373
|
}
|
|
4353
4374
|
Te.subscribe((e) => {
|
|
4354
|
-
|
|
4375
|
+
ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4355
4376
|
});
|
|
4356
|
-
const
|
|
4357
|
-
if (e &&
|
|
4358
|
-
const { loadingDelay: t } =
|
|
4377
|
+
const Wi = (e) => {
|
|
4378
|
+
if (e && Li(e) && it(e)) {
|
|
4379
|
+
const { loadingDelay: t } = Q();
|
|
4359
4380
|
let r;
|
|
4360
4381
|
return typeof window < "u" && F() != null && t ? r = window.setTimeout(
|
|
4361
|
-
() =>
|
|
4382
|
+
() => je.set(!0),
|
|
4362
4383
|
t
|
|
4363
|
-
) :
|
|
4384
|
+
) : je.set(!0), Er(e).then(() => {
|
|
4364
4385
|
Te.set(e);
|
|
4365
4386
|
}).finally(() => {
|
|
4366
|
-
clearTimeout(r),
|
|
4387
|
+
clearTimeout(r), je.set(!1);
|
|
4367
4388
|
});
|
|
4368
4389
|
}
|
|
4369
4390
|
return Te.set(e);
|
|
4370
|
-
},
|
|
4371
|
-
set:
|
|
4372
|
-
}),
|
|
4391
|
+
}, Y = Xi(Vi({}, Te), {
|
|
4392
|
+
set: Wi
|
|
4393
|
+
}), Le = (e) => {
|
|
4373
4394
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4374
4395
|
return (n) => {
|
|
4375
4396
|
const i = JSON.stringify(n);
|
|
4376
4397
|
return i in t ? t[i] : t[i] = e(n);
|
|
4377
4398
|
};
|
|
4378
4399
|
};
|
|
4379
|
-
var
|
|
4400
|
+
var zi = Object.defineProperty, He = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Lt = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4380
4401
|
for (var r in t || (t = {}))
|
|
4381
|
-
xr.call(t, r) &&
|
|
4382
|
-
if (
|
|
4383
|
-
for (var r of
|
|
4384
|
-
|
|
4402
|
+
xr.call(t, r) && Lt(e, r, t[r]);
|
|
4403
|
+
if (He)
|
|
4404
|
+
for (var r of He(t))
|
|
4405
|
+
Sr.call(t, r) && Lt(e, r, t[r]);
|
|
4385
4406
|
return e;
|
|
4386
|
-
},
|
|
4407
|
+
}, K = (e, t) => {
|
|
4387
4408
|
var r = {};
|
|
4388
4409
|
for (var n in e)
|
|
4389
4410
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4390
|
-
if (e != null &&
|
|
4391
|
-
for (var n of
|
|
4392
|
-
t.indexOf(n) < 0 &&
|
|
4411
|
+
if (e != null && He)
|
|
4412
|
+
for (var n of He(e))
|
|
4413
|
+
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
|
4393
4414
|
return r;
|
|
4394
4415
|
};
|
|
4395
|
-
const
|
|
4396
|
-
const { formats: r } =
|
|
4416
|
+
const se = (e, t) => {
|
|
4417
|
+
const { formats: r } = Q();
|
|
4397
4418
|
if (e in r && t in r[e])
|
|
4398
4419
|
return r[e][t];
|
|
4399
4420
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4400
|
-
},
|
|
4421
|
+
}, Zi = Le(
|
|
4401
4422
|
(e) => {
|
|
4402
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4423
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4403
4424
|
if (r == null)
|
|
4404
4425
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4405
|
-
return n && (i =
|
|
4426
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4406
4427
|
}
|
|
4407
|
-
),
|
|
4428
|
+
), qi = Le(
|
|
4408
4429
|
(e) => {
|
|
4409
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4430
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4410
4431
|
if (r == null)
|
|
4411
4432
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4412
|
-
return n ? i =
|
|
4433
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4413
4434
|
}
|
|
4414
|
-
),
|
|
4435
|
+
), Qi = Le(
|
|
4415
4436
|
(e) => {
|
|
4416
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4437
|
+
var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
|
|
4417
4438
|
if (r == null)
|
|
4418
4439
|
throw new Error(
|
|
4419
4440
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4420
4441
|
);
|
|
4421
|
-
return n ? i =
|
|
4442
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4422
4443
|
}
|
|
4423
|
-
),
|
|
4444
|
+
), Ji = (e = {}) => {
|
|
4424
4445
|
var t = e, {
|
|
4425
4446
|
locale: r = F()
|
|
4426
|
-
} = t, n =
|
|
4447
|
+
} = t, n = K(t, [
|
|
4427
4448
|
"locale"
|
|
4428
4449
|
]);
|
|
4429
|
-
return
|
|
4430
|
-
},
|
|
4450
|
+
return Zi(lt({ locale: r }, n));
|
|
4451
|
+
}, Yi = (e = {}) => {
|
|
4431
4452
|
var t = e, {
|
|
4432
4453
|
locale: r = F()
|
|
4433
|
-
} = t, n =
|
|
4454
|
+
} = t, n = K(t, [
|
|
4434
4455
|
"locale"
|
|
4435
4456
|
]);
|
|
4436
|
-
return
|
|
4437
|
-
},
|
|
4457
|
+
return qi(lt({ locale: r }, n));
|
|
4458
|
+
}, Ki = (e = {}) => {
|
|
4438
4459
|
var t = e, {
|
|
4439
4460
|
locale: r = F()
|
|
4440
|
-
} = t, n =
|
|
4461
|
+
} = t, n = K(t, [
|
|
4441
4462
|
"locale"
|
|
4442
4463
|
]);
|
|
4443
|
-
return
|
|
4444
|
-
},
|
|
4464
|
+
return Qi(lt({ locale: r }, n));
|
|
4465
|
+
}, eo = Le(
|
|
4445
4466
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4446
|
-
(e, t = F()) => new
|
|
4447
|
-
ignoreTag:
|
|
4467
|
+
(e, t = F()) => new Bi(e, t, Q().formats, {
|
|
4468
|
+
ignoreTag: Q().ignoreTag
|
|
4448
4469
|
})
|
|
4449
|
-
),
|
|
4470
|
+
), to = (e, t = {}) => {
|
|
4450
4471
|
var r, n, i, o;
|
|
4451
4472
|
let a = t;
|
|
4452
4473
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4459,9 +4480,9 @@ const ae = (e, t) => {
|
|
|
4459
4480
|
throw new Error(
|
|
4460
4481
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4461
4482
|
);
|
|
4462
|
-
let h =
|
|
4483
|
+
let h = yr(e, l);
|
|
4463
4484
|
if (!h)
|
|
4464
|
-
h = (o = (i = (n = (r =
|
|
4485
|
+
h = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4465
4486
|
else if (typeof h != "string")
|
|
4466
4487
|
return console.warn(
|
|
4467
4488
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4470,7 +4491,7 @@ const ae = (e, t) => {
|
|
|
4470
4491
|
return h;
|
|
4471
4492
|
let f = h;
|
|
4472
4493
|
try {
|
|
4473
|
-
f =
|
|
4494
|
+
f = eo(h, l).format(s);
|
|
4474
4495
|
} catch (c) {
|
|
4475
4496
|
c instanceof Error && console.warn(
|
|
4476
4497
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4478,14 +4499,14 @@ const ae = (e, t) => {
|
|
|
4478
4499
|
);
|
|
4479
4500
|
}
|
|
4480
4501
|
return f;
|
|
4481
|
-
},
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
window.emWidgets = { topic:
|
|
4487
|
-
const
|
|
4488
|
-
function
|
|
4502
|
+
}, ro = (e, t) => Ki(t).format(e), no = (e, t) => Yi(t).format(e), io = (e, t) => Ji(t).format(e), oo = (e, t = F()) => yr(e, t), so = J([Y, ce], () => to);
|
|
4503
|
+
J([Y], () => ro);
|
|
4504
|
+
J([Y], () => no);
|
|
4505
|
+
J([Y], () => io);
|
|
4506
|
+
J([Y, ce], () => oo);
|
|
4507
|
+
window.emWidgets = { topic: gn };
|
|
4508
|
+
const ko = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), wr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Vo = (e) => e.match(/CustomNative/i) ? "NativeApp" : wr(e) === "PC" ? "Desktop" : "Mobile";
|
|
4509
|
+
function Xo(e, t) {
|
|
4489
4510
|
const r = () => !0;
|
|
4490
4511
|
switch (typeof e) {
|
|
4491
4512
|
case "string": {
|
|
@@ -4499,13 +4520,13 @@ function ko(e, t) {
|
|
|
4499
4520
|
}
|
|
4500
4521
|
}
|
|
4501
4522
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4502
|
-
function
|
|
4523
|
+
function Nt(e, t) {
|
|
4503
4524
|
if (e) {
|
|
4504
4525
|
const r = document.createElement("style");
|
|
4505
4526
|
r.innerHTML = t, e.appendChild(r);
|
|
4506
4527
|
}
|
|
4507
4528
|
}
|
|
4508
|
-
function
|
|
4529
|
+
function ao(e, t) {
|
|
4509
4530
|
if (!e || !t)
|
|
4510
4531
|
return;
|
|
4511
4532
|
const r = new URL(t);
|
|
@@ -4516,7 +4537,7 @@ function oo(e, t) {
|
|
|
4516
4537
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4517
4538
|
});
|
|
4518
4539
|
}
|
|
4519
|
-
function
|
|
4540
|
+
function uo(e, t, r) {
|
|
4520
4541
|
if (window.emMessageBus) {
|
|
4521
4542
|
const n = document.createElement("style");
|
|
4522
4543
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4524,7 +4545,7 @@ function so(e, t, r) {
|
|
|
4524
4545
|
});
|
|
4525
4546
|
}
|
|
4526
4547
|
}
|
|
4527
|
-
const
|
|
4548
|
+
const lo = (e, t = {}) => {
|
|
4528
4549
|
const r = new CustomEvent("track-custom-event", {
|
|
4529
4550
|
detail: {
|
|
4530
4551
|
type: e,
|
|
@@ -4535,13 +4556,13 @@ const ao = (e, t = {}) => {
|
|
|
4535
4556
|
});
|
|
4536
4557
|
document.dispatchEvent(r);
|
|
4537
4558
|
};
|
|
4538
|
-
function
|
|
4539
|
-
|
|
4559
|
+
function Mt(e, t) {
|
|
4560
|
+
vr(e, t);
|
|
4540
4561
|
}
|
|
4541
|
-
function
|
|
4542
|
-
|
|
4562
|
+
function ho(e) {
|
|
4563
|
+
Y.set(e);
|
|
4543
4564
|
}
|
|
4544
|
-
const
|
|
4565
|
+
const Ct = {
|
|
4545
4566
|
en: {
|
|
4546
4567
|
logoutButton: "Logout"
|
|
4547
4568
|
},
|
|
@@ -4576,20 +4597,20 @@ const Nt = {
|
|
|
4576
4597
|
logoutButton: "Logout"
|
|
4577
4598
|
}
|
|
4578
4599
|
};
|
|
4579
|
-
function
|
|
4580
|
-
|
|
4600
|
+
function co(e) {
|
|
4601
|
+
Nr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
|
|
4581
4602
|
}
|
|
4582
|
-
function
|
|
4603
|
+
function fo(e) {
|
|
4583
4604
|
let t, r, n, i = (
|
|
4584
4605
|
/*$_*/
|
|
4585
4606
|
e[2]("logoutButton") + ""
|
|
4586
4607
|
), o, a, s;
|
|
4587
4608
|
return {
|
|
4588
4609
|
c() {
|
|
4589
|
-
t =
|
|
4610
|
+
t = N("div"), r = N("button"), n = N("span"), o = le(i), B(t, "class", "GeneralLogout");
|
|
4590
4611
|
},
|
|
4591
4612
|
m(l, u) {
|
|
4592
|
-
|
|
4613
|
+
ue(l, t, u), A(t, r), A(r, n), A(n, o), a || (s = kt(
|
|
4593
4614
|
r,
|
|
4594
4615
|
"click",
|
|
4595
4616
|
/*click_handler_1*/
|
|
@@ -4599,19 +4620,19 @@ function ho(e) {
|
|
|
4599
4620
|
p(l, u) {
|
|
4600
4621
|
u & /*$_*/
|
|
4601
4622
|
4 && i !== (i = /*$_*/
|
|
4602
|
-
l[2]("logoutButton") + "") &&
|
|
4623
|
+
l[2]("logoutButton") + "") && Vt(o, i);
|
|
4603
4624
|
},
|
|
4604
4625
|
d(l) {
|
|
4605
|
-
l &&
|
|
4626
|
+
l && D(t), a = !1, s();
|
|
4606
4627
|
}
|
|
4607
4628
|
};
|
|
4608
4629
|
}
|
|
4609
|
-
function
|
|
4630
|
+
function po(e) {
|
|
4610
4631
|
let t, r, n, i, o, a, s, l, u, h, f, c = !/*isMobile*/
|
|
4611
|
-
e[3] &&
|
|
4632
|
+
e[3] && mo(e);
|
|
4612
4633
|
return {
|
|
4613
4634
|
c() {
|
|
4614
|
-
t =
|
|
4635
|
+
t = N("p"), r = N("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), a = le(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = ee("path"), l = ee("path"), u = Cr(), c && c.c(), B(s, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(s, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), B(l, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), B(l, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), B(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), B(n, "data-name", "Layer 1"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "viewBox", "0 0 150 150"), Rr(r, "width", /*isMobile*/
|
|
4615
4636
|
e[3] ? (
|
|
4616
4637
|
/*mediaQuery*/
|
|
4617
4638
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4621,7 +4642,7 @@ function co(e) {
|
|
|
4621
4642
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4622
4643
|
},
|
|
4623
4644
|
m(d, p) {
|
|
4624
|
-
|
|
4645
|
+
ue(d, t, p), A(t, r), A(r, n), A(n, i), A(i, o), A(o, a), A(n, s), A(n, l), A(t, u), c && c.m(t, null), h || (f = kt(
|
|
4625
4646
|
t,
|
|
4626
4647
|
"click",
|
|
4627
4648
|
/*click_handler*/
|
|
@@ -4633,47 +4654,47 @@ function co(e) {
|
|
|
4633
4654
|
d[3] || c.p(d, p);
|
|
4634
4655
|
},
|
|
4635
4656
|
d(d) {
|
|
4636
|
-
d &&
|
|
4657
|
+
d && D(t), c && c.d(), h = !1, f();
|
|
4637
4658
|
}
|
|
4638
4659
|
};
|
|
4639
4660
|
}
|
|
4640
|
-
function
|
|
4661
|
+
function mo(e) {
|
|
4641
4662
|
let t, r = (
|
|
4642
4663
|
/*$_*/
|
|
4643
4664
|
e[2]("logoutButton") + ""
|
|
4644
4665
|
), n;
|
|
4645
4666
|
return {
|
|
4646
4667
|
c() {
|
|
4647
|
-
t =
|
|
4668
|
+
t = N("span"), n = le(r), B(t, "class", "PlayerLogoutText");
|
|
4648
4669
|
},
|
|
4649
4670
|
m(i, o) {
|
|
4650
|
-
|
|
4671
|
+
ue(i, t, o), A(t, n);
|
|
4651
4672
|
},
|
|
4652
4673
|
p(i, o) {
|
|
4653
4674
|
o & /*$_*/
|
|
4654
4675
|
4 && r !== (r = /*$_*/
|
|
4655
|
-
i[2]("logoutButton") + "") &&
|
|
4676
|
+
i[2]("logoutButton") + "") && Vt(n, r);
|
|
4656
4677
|
},
|
|
4657
4678
|
d(i) {
|
|
4658
|
-
i &&
|
|
4679
|
+
i && D(t);
|
|
4659
4680
|
}
|
|
4660
4681
|
};
|
|
4661
4682
|
}
|
|
4662
|
-
function
|
|
4683
|
+
function bo(e) {
|
|
4663
4684
|
let t;
|
|
4664
4685
|
function r(o, a) {
|
|
4665
4686
|
return (
|
|
4666
4687
|
/*buttonlocation*/
|
|
4667
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4688
|
+
o[0] === "PlayerAccountMenu" ? po : fo
|
|
4668
4689
|
);
|
|
4669
4690
|
}
|
|
4670
4691
|
let n = r(e), i = n(e);
|
|
4671
4692
|
return {
|
|
4672
4693
|
c() {
|
|
4673
|
-
t =
|
|
4694
|
+
t = N("div"), i.c();
|
|
4674
4695
|
},
|
|
4675
4696
|
m(o, a) {
|
|
4676
|
-
|
|
4697
|
+
ue(o, t, a), i.m(t, null), e[15](t);
|
|
4677
4698
|
},
|
|
4678
4699
|
p(o, [a]) {
|
|
4679
4700
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4681,62 +4702,62 @@ function po(e) {
|
|
|
4681
4702
|
i: H,
|
|
4682
4703
|
o: H,
|
|
4683
4704
|
d(o) {
|
|
4684
|
-
o &&
|
|
4705
|
+
o && D(t), i.d(), e[15](null);
|
|
4685
4706
|
}
|
|
4686
4707
|
};
|
|
4687
4708
|
}
|
|
4688
|
-
function
|
|
4709
|
+
function yo(e, t, r) {
|
|
4689
4710
|
let n;
|
|
4690
|
-
|
|
4691
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent,
|
|
4692
|
-
const
|
|
4711
|
+
Or(e, so, (g) => r(2, n = g));
|
|
4712
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: a = "" } = t, { lang: s = "" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, c = "", d = !1, p, m = window.navigator.userAgent, _ = wr(m) !== "PC";
|
|
4713
|
+
const w = window.matchMedia("(min-width: 768px)"), P = () => {
|
|
4693
4714
|
fetch(f).then((R) => R.json()).then((R) => {
|
|
4694
|
-
Object.keys(R).forEach((
|
|
4695
|
-
|
|
4715
|
+
Object.keys(R).forEach((Ne) => {
|
|
4716
|
+
Mt(Ne, R[Ne]);
|
|
4696
4717
|
});
|
|
4697
4718
|
}).catch((R) => {
|
|
4698
4719
|
console.log(R);
|
|
4699
4720
|
});
|
|
4700
4721
|
};
|
|
4701
|
-
Object.keys(
|
|
4702
|
-
|
|
4722
|
+
Object.keys(Ct).forEach((g) => {
|
|
4723
|
+
Mt(g, Ct[g]);
|
|
4703
4724
|
});
|
|
4704
|
-
const
|
|
4705
|
-
let
|
|
4706
|
-
|
|
4707
|
-
let R = { method: "DELETE", headers:
|
|
4708
|
-
fetch(`${i}/v1/player/session/player`, R).then((
|
|
4709
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4725
|
+
const x = () => {
|
|
4726
|
+
let g = new Headers();
|
|
4727
|
+
g.append("Content-type", "application/json"), g.append("X-SessionID", o);
|
|
4728
|
+
let R = { method: "DELETE", headers: g };
|
|
4729
|
+
fetch(`${i}/v1/player/session/player`, R).then((Ne) => {
|
|
4730
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), lo("logged_out", {});
|
|
4710
4731
|
});
|
|
4711
|
-
}, O = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d),
|
|
4712
|
-
|
|
4732
|
+
}, O = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", d = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", d = !0, console.error(c)), d), T = () => {
|
|
4733
|
+
ho(s);
|
|
4713
4734
|
};
|
|
4714
|
-
|
|
4735
|
+
Xr(() => () => {
|
|
4715
4736
|
});
|
|
4716
|
-
const $ = () =>
|
|
4717
|
-
function
|
|
4718
|
-
|
|
4719
|
-
p =
|
|
4737
|
+
const $ = () => x(), fe = () => x();
|
|
4738
|
+
function Hr(g) {
|
|
4739
|
+
ke[g ? "unshift" : "push"](() => {
|
|
4740
|
+
p = g, r(1, p);
|
|
4720
4741
|
});
|
|
4721
4742
|
}
|
|
4722
|
-
return e.$$set = (
|
|
4723
|
-
"endpoint" in
|
|
4743
|
+
return e.$$set = (g) => {
|
|
4744
|
+
"endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, a = g.buttonlocation), "lang" in g && r(8, s = g.lang), "mbsource" in g && r(9, l = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, h = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
|
|
4724
4745
|
}, e.$$.update = () => {
|
|
4725
4746
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4726
4747
|
193 && i && o && a && O(), e.$$.dirty & /*lang*/
|
|
4727
|
-
256 && s &&
|
|
4728
|
-
1026 && u && p &&
|
|
4729
|
-
1026 && u && p &&
|
|
4730
|
-
2050 && h && p &&
|
|
4731
|
-
514 && l && p &&
|
|
4748
|
+
256 && s && T(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4749
|
+
1026 && u && p && Nt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4750
|
+
1026 && u && p && Nt(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4751
|
+
2050 && h && p && ao(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4752
|
+
514 && l && p && uo(p, `${l}.Style`), e.$$.dirty & /*translationurl*/
|
|
4732
4753
|
4096 && f && P();
|
|
4733
4754
|
}, [
|
|
4734
4755
|
a,
|
|
4735
4756
|
p,
|
|
4736
4757
|
n,
|
|
4758
|
+
_,
|
|
4759
|
+
w,
|
|
4737
4760
|
x,
|
|
4738
|
-
T,
|
|
4739
|
-
E,
|
|
4740
4761
|
i,
|
|
4741
4762
|
o,
|
|
4742
4763
|
s,
|
|
@@ -4746,17 +4767,17 @@ function mo(e, t, r) {
|
|
|
4746
4767
|
f,
|
|
4747
4768
|
$,
|
|
4748
4769
|
fe,
|
|
4749
|
-
|
|
4770
|
+
Hr
|
|
4750
4771
|
];
|
|
4751
4772
|
}
|
|
4752
|
-
class Tr extends
|
|
4773
|
+
class Tr extends rn {
|
|
4753
4774
|
constructor(t) {
|
|
4754
|
-
super(),
|
|
4775
|
+
super(), en(
|
|
4755
4776
|
this,
|
|
4756
4777
|
t,
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4778
|
+
yo,
|
|
4779
|
+
bo,
|
|
4780
|
+
Rt,
|
|
4760
4781
|
{
|
|
4761
4782
|
endpoint: 6,
|
|
4762
4783
|
session: 7,
|
|
@@ -4767,7 +4788,7 @@ class Tr extends tn {
|
|
|
4767
4788
|
clientstylingurl: 11,
|
|
4768
4789
|
translationurl: 12
|
|
4769
4790
|
},
|
|
4770
|
-
|
|
4791
|
+
co
|
|
4771
4792
|
);
|
|
4772
4793
|
}
|
|
4773
4794
|
get endpoint() {
|
|
@@ -4819,74 +4840,74 @@ class Tr extends tn {
|
|
|
4819
4840
|
this.$$set({ translationurl: t }), I();
|
|
4820
4841
|
}
|
|
4821
4842
|
}
|
|
4822
|
-
|
|
4823
|
-
const
|
|
4843
|
+
tn(Tr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4844
|
+
const Wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4824
4845
|
__proto__: null,
|
|
4825
4846
|
default: Tr
|
|
4826
4847
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4827
4848
|
export {
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4849
|
+
Y as $,
|
|
4850
|
+
uo as A,
|
|
4851
|
+
tn as B,
|
|
4852
|
+
Fo as C,
|
|
4853
|
+
Ho as D,
|
|
4833
4854
|
ce as E,
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4855
|
+
Vo as F,
|
|
4856
|
+
$o as G,
|
|
4857
|
+
Bo as H,
|
|
4858
|
+
To as I,
|
|
4859
|
+
ae as J,
|
|
4860
|
+
vo as K,
|
|
4861
|
+
Go as L,
|
|
4862
|
+
qr as M,
|
|
4863
|
+
Eo as N,
|
|
4864
|
+
xo as O,
|
|
4865
|
+
_o as P,
|
|
4866
|
+
Ao as Q,
|
|
4867
|
+
Mo as R,
|
|
4868
|
+
rn as S,
|
|
4869
|
+
Io as T,
|
|
4870
|
+
No as U,
|
|
4871
|
+
Lo as V,
|
|
4872
|
+
Se as W,
|
|
4873
|
+
ko as X,
|
|
4874
|
+
Rr as Y,
|
|
4875
|
+
wo as Z,
|
|
4876
|
+
Ro as _,
|
|
4877
|
+
vr as a,
|
|
4878
|
+
Uo as a0,
|
|
4879
|
+
So as a1,
|
|
4880
|
+
go as a2,
|
|
4881
|
+
Br as a3,
|
|
4882
|
+
Do as a4,
|
|
4883
|
+
_n as a5,
|
|
4884
|
+
jo as a6,
|
|
4885
|
+
Oo as a7,
|
|
4886
|
+
Xo as a8,
|
|
4887
|
+
Wo as a9,
|
|
4888
|
+
Nr as b,
|
|
4889
|
+
Vt as c,
|
|
4890
|
+
D as d,
|
|
4891
|
+
B as e,
|
|
4871
4892
|
I as f,
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4893
|
+
Po as g,
|
|
4894
|
+
ue as h,
|
|
4895
|
+
en as i,
|
|
4896
|
+
A as j,
|
|
4897
|
+
N as k,
|
|
4898
|
+
kt as l,
|
|
4899
|
+
Cr as m,
|
|
4900
|
+
H as n,
|
|
4901
|
+
Co as o,
|
|
4902
|
+
Or as p,
|
|
4903
|
+
so as q,
|
|
4904
|
+
G as r,
|
|
4905
|
+
Rt as s,
|
|
4906
|
+
le as t,
|
|
4907
|
+
wr as u,
|
|
4908
|
+
Xr as v,
|
|
4909
|
+
ee as w,
|
|
4910
|
+
ke as x,
|
|
4911
|
+
Nt as y,
|
|
4912
|
+
ao as z
|
|
4892
4913
|
};
|