@everymatrix/player-account-controller-nd 1.64.7 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-D_LZ6noj.js → GeneralLogout-C6SVgUtg.js} +853 -874
- package/components/GeneralLogout-CwfC_imT.cjs +21 -0
- package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DfKsCxwv.js} +913 -934
- package/components/PlayerAccountBettingHistory-BLjgCtrb.js +329 -0
- package/components/PlayerAccountBettingHistory-CbA15BLO.cjs +1 -0
- package/components/PlayerAccountBettingHistory-CnZ39Cya.js +328 -0
- package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-BYO39i9p.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-DkdsS2L0.js} +22 -22
- package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Kq_RsCQX.js} +22 -22
- package/components/{PlayerAccountClosureNd-DQAZanjf.js → PlayerAccountClosureNd-BWwH10vQ.js} +24 -24
- package/components/{PlayerAccountClosureNd-Cn1XZe_j.cjs → PlayerAccountClosureNd-CKg9Baj3.cjs} +1 -1
- package/components/{PlayerAccountClosureNd-DrVdnKee.js → PlayerAccountClosureNd-wAx9yEJc.js} +24 -24
- package/components/{PlayerAccountControllerNd-CyelNs9q.js → PlayerAccountControllerNd-DRGcMfBR.js} +310 -310
- package/components/{PlayerAccountControllerNd-BGt2cPNV.cjs → PlayerAccountControllerNd-D_A4CqYL.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-fATHp03S.js → PlayerAccountControllerNd-DxnZLTok.js} +308 -308
- package/components/{PlayerAccountGamingLimits-CIAwGTQF.js → PlayerAccountGamingLimits-DqESzYnB.js} +127 -127
- package/components/{PlayerAccountGamingLimits-CECZHZhj.cjs → PlayerAccountGamingLimits-KgH8rpfi.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-CADFb6Zk.js → PlayerAccountGamingLimits-holo1MMT.js} +127 -127
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs → PlayerAccountGamingLimitsConfirmationModal-B5DdL-Qq.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-Bhw66Tfe.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-Dvenc_fN.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-bap-6gHN.js → PlayerAccountGamingLimitsGroupEdit-C_MVqJrM.js} +71 -69
- package/components/PlayerAccountGamingLimitsGroupEdit-gGxjSq2Z.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-CYLHl_Dl.js → PlayerAccountGamingLimitsGroupEdit-ieNo2cu3.js} +71 -69
- package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BYhgU7A1.js} +199 -199
- package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-D6VhX20D.js} +192 -192
- package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-DFtdC_JJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BU4O8oYP.cjs → PlayerAccountGamingLimitsInfoCard-BTuHyEBL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-DMvgJbMq.js → PlayerAccountGamingLimitsInfoCard-BkC1pEYB.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-DOl56_Az.js → PlayerAccountGamingLimitsInfoCard-DYMLRkmw.js} +83 -83
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-HpGAoH_E.js → PlayerAccountGamingLimitsPage2Gm16Nd-BBfFDN-M.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CWcAVks7.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-DYB6LvM1.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B3S3aE0o.js → PlayerAccountGamingLimitsPage2Gm16Nd-D_-44uhs.js} +88 -88
- package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-CBf5w2kb.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-DS9FtNcO.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DySvpnhJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CErgPgvk.cjs → PlayerAccountGamingLimitsWrapper2Nd-C0BdSozJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-fpNsXAyX.js → PlayerAccountGamingLimitsWrapper2Nd-Dzm9l83P.js} +36 -36
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-4ZYALP2a.js → PlayerAccountGamingLimitsWrapper2Nd-jbKHBghb.js} +36 -36
- package/components/{PlayerAccountGeneralConfirmationModal-Byd2u6b9.js → PlayerAccountGeneralConfirmationModal-B4Fy1vtG.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-C4zwKDdb.js → PlayerAccountGeneralConfirmationModal-DMA5_Y_R.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs → PlayerAccountGeneralConfirmationModal-Q91oIY0f.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Cs9UjL2S.js → PlayerAccountMenuNd-DMULzOU_.js} +32 -32
- package/components/{PlayerAccountMenuNd-BFdU3ZXb.cjs → PlayerAccountMenuNd-DfYUoWLg.cjs} +1 -1
- package/components/{PlayerAccountMenuNd-Cx7Fxjin.js → PlayerAccountMenuNd-ktgntefw.js} +29 -29
- package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal--0zxODF3.cjs} +1 -1
- package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CGYPes0F.js} +42 -42
- package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-VzSk1pK3.js} +42 -42
- package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-B29nfxe5.cjs} +1 -1
- package/components/{PlayerAccountNotifications-bjLmyXO3.js → PlayerAccountNotifications-CyIiR2OQ.js} +35 -35
- package/components/{PlayerAccountNotifications-BjAtYQls.js → PlayerAccountNotifications-ZlHcSMKn.js} +120 -120
- package/components/{PlayerAccountSelfExclusionNd-3OSV7Drs.cjs → PlayerAccountSelfExclusionNd-BcXmkWN5.cjs} +161 -161
- package/components/{PlayerAccountSelfExclusionNd-C3uFkzhO.js → PlayerAccountSelfExclusionNd-D2RKtCoz.js} +2693 -2494
- package/components/{PlayerAccountSelfExclusionNd-B0Q-eCq2.js → PlayerAccountSelfExclusionNd-DcbJdmPf.js} +2739 -2541
- package/components/PlayerAccountTimeout-AhPa2GAR.cjs +1 -0
- package/components/{PlayerAccountTimeout-CflY0JwE.js → PlayerAccountTimeout-DYd8oHzz.js} +185 -206
- package/components/{PlayerAccountTimeout-CTI9lsq2.js → PlayerAccountTimeout-EEOciDvy.js} +185 -206
- package/components/{PlayerAccountTransactionsHistory-weX9yWak.js → PlayerAccountTransactionsHistory-DTn6153M.js} +2028 -2044
- package/components/{PlayerAccountTransactionsHistory-DV6Lliwo.cjs → PlayerAccountTransactionsHistory-bBLXLKfh.cjs} +202 -202
- package/components/{PlayerAccountTransactionsHistory-BvJ2fnPY.js → PlayerAccountTransactionsHistory-luOm9cLI.js} +2261 -2237
- package/components/PlayerActiveBonuses-CkHRSbaE.js +1110 -0
- package/components/PlayerActiveBonuses-KJx5ryn-.js +1109 -0
- package/components/PlayerActiveBonuses-ysBH5Mf0.cjs +1 -0
- package/components/{PlayerBonusCard-DlAco387.js → PlayerBonusCard-9KhufIpY.js} +256 -239
- package/components/PlayerBonusCard-B2CAV5ma.cjs +1 -0
- package/components/{PlayerBonusCard-cejKhzym.js → PlayerBonusCard-C1O1skMO.js} +256 -239
- package/components/PlayerBonusHistory-Bw07exWD.js +986 -0
- package/components/PlayerBonusHistory-Pyqm_-5W.js +985 -0
- package/components/PlayerBonusHistory-rsj0T9Fh.cjs +1 -0
- package/components/{PlayerChangePassword-LgjKzYU1.cjs → PlayerChangePassword-CG0yyj8N.cjs} +1 -1
- package/components/{PlayerChangePassword-BeIHgM2j.js → PlayerChangePassword-CdPJNADk.js} +54 -54
- package/components/{PlayerChangePassword-BcqVozRi.js → PlayerChangePassword-DrC7TYG-.js} +54 -54
- package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-BMWzlG2-.js} +80 -80
- package/components/PlayerDeposit-XDLH1XV-.cjs +1 -0
- package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-yFis4xl0.js} +80 -80
- package/components/PlayerGamingHistory-5HKDsmu3.js +988 -0
- package/components/PlayerGamingHistory-BQusIfO4.js +975 -0
- package/components/PlayerGamingHistory-wHrGUw_d.cjs +1 -0
- package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-CrNEhXdS.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DXDpNvc0.js} +26 -26
- package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-bL-txpqs.js} +26 -26
- package/components/PlayerProfileInfo-6mDS69te.cjs +4 -0
- package/components/PlayerProfileInfo-BNiKul5r.js +2419 -0
- package/components/PlayerProfileInfo-CtxoazNR.js +2383 -0
- package/components/{PlayerRealityCheck-RsT9a67Q.js → PlayerRealityCheck-BMQN-vPH.js} +44 -44
- package/components/{PlayerRealityCheck-C7EUl18t.js → PlayerRealityCheck-D1YPRqrN.js} +43 -43
- package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-Ds04nfYK.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-BwMVf693.js} +19 -19
- package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-CPYk3YFO.cjs} +1 -1
- package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-CjiTH9aE.js} +19 -19
- package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-9DnL98EG.cjs} +1 -1
- package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-BE8JBn_B.js} +19 -19
- package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-JE73Z0UZ.js} +19 -19
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/checkbox-group-input_9-C_ozrjaU.cjs +2 -0
- package/stencil/{checkbox-group-input_9-B_Jl5XYl.js → checkbox-group-input_9-DxxBgpIV.js} +13 -11
- package/stencil/{checkbox-group-input_9-BubdPaeo.js → checkbox-group-input_9-xMMv-SfR.js} +13 -11
- package/stencil/{general-input-CZRDVuGV.js → general-input-B6lDYfSh.js} +1249 -1243
- package/stencil/{general-input-BjwgkYic.cjs → general-input-BcGIo_EB.cjs} +199 -199
- package/stencil/{general-input-BRLohAp9.js → general-input-CVjXxxqF.js} +1247 -1241
- package/stencil/index-1ef3a64c-BBHIxt0N.cjs +1 -0
- package/stencil/index-1ef3a64c-CbbXBr97.js +556 -0
- package/stencil/index-1ef3a64c-CccPLrQV.js +572 -0
- package/stencil/index-7c5e707a-BILXAqHK.js +616 -0
- package/stencil/index-7c5e707a-DtZaL7Yo.cjs +1 -0
- package/stencil/index-7c5e707a-wx5FQuxQ.js +643 -0
- package/stencil/{index-9c0f6c58-pr1WGVFu.js → index-9c0f6c58-B0-civ7s.js} +197 -197
- package/stencil/index-9c0f6c58-CSS6f_hD.cjs +1 -0
- package/stencil/index-9c0f6c58-NYUdtsvS.js +576 -0
- package/stencil/index-9cd44522-BuEQFQdN.js +610 -0
- package/stencil/index-9cd44522-M89EFHLx.cjs +1 -0
- package/stencil/index-9cd44522-uVgth2NC.js +626 -0
- package/stencil/index-b2193545-COb51DfK.cjs +1 -0
- package/stencil/index-b2193545-CbIQaLIQ.js +519 -0
- package/stencil/index-b2193545-DQ1k9IU6.js +503 -0
- package/stencil/{password-input_2-DIwo3oT2.js → password-input_2-CY6VCkNu.js} +3 -3
- package/stencil/password-input_2-CcDWWiMF.cjs +193 -0
- package/stencil/{password-input_2-DhPkhv-D.js → password-input_2-CpFh-8sU.js} +3 -3
- package/stencil/{player-change-password-gm2-5cb5c6c1-BsO6atoJ.js → player-change-password-gm2-5cb5c6c1-CjE8zFhv.js} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs → player-change-password-gm2-5cb5c6c1-Ct7ATwPX.cjs} +1 -1
- package/stencil/{player-change-password-gm2-5cb5c6c1-C0AlgHfx.js → player-change-password-gm2-5cb5c6c1-DGWK_k5e.js} +1 -1
- package/stencil/{player-change-password-gm2-ZOlHswn0.cjs → player-change-password-gm2-Be8x3UTo.cjs} +1 -1
- package/stencil/{player-change-password-gm2-bVKmVTiQ.js → player-change-password-gm2-CSuxaewE.js} +1 -1
- package/stencil/{player-change-password-gm2-ALHM57bi.js → player-change-password-gm2-cmkXxbnh.js} +1 -1
- package/stencil/{player-kyc-verification-DPUx1txP.js → player-kyc-verification-COYo0JVK.js} +1 -1
- package/stencil/{player-kyc-verification-DAy-szI5.cjs → player-kyc-verification-DVxMFMcR.cjs} +1 -1
- package/stencil/{player-kyc-verification-CUhrMPde.js → player-kyc-verification-Dp9CHVsP.js} +1 -1
- package/stencil/toggle-checkbox-input-Bb8Pmo33.cjs +1 -0
- package/stencil/{toggle-checkbox-input-LjmhdQte.js → toggle-checkbox-input-CgD7_GVW.js} +2 -2
- package/stencil/{toggle-checkbox-input-hUEi-Cj3.js → toggle-checkbox-input-Dp48ZxWV.js} +2 -2
- package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-BVFyqHeR.cjs} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-r2uxMI-v.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-yf8wpqiZ.js} +1 -1
- package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BQ87Vnrb.cjs} +1 -1
- package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CB3h08KY.js} +2 -2
- package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-MSanR8Xu.js} +2 -2
- package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-3Ylq7hQR.js} +1 -1
- package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-BbYNbmTz.js} +1 -1
- package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-CIbBQQQO.cjs} +1 -1
- package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-BYaNkpQr.js} +1 -1
- package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-Bi_uuYtB.cjs} +1 -1
- package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-a8uSzFHr.js} +1 -1
- package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
- package/components/PlayerAccountBettingHistory-BtDZukYI.cjs +0 -1
- package/components/PlayerAccountBettingHistory-BzAXq1xX.js +0 -329
- package/components/PlayerAccountBettingHistory-CwTEYOIN.js +0 -328
- package/components/PlayerAccountGamingLimitsGroupEdit-DEf_qyUJ.cjs +0 -1
- package/components/PlayerAccountTimeout-Cr-iejKj.cjs +0 -1
- package/components/PlayerActiveBonuses-BMNFopKN.js +0 -1077
- package/components/PlayerActiveBonuses-CBtuWP9k.js +0 -1078
- package/components/PlayerActiveBonuses-CUk_4d3L.cjs +0 -1
- package/components/PlayerBonusCard-Dtncif7M.cjs +0 -1
- package/components/PlayerBonusHistory-B0_pPWDM.cjs +0 -1
- package/components/PlayerBonusHistory-BkBsAUpn.js +0 -937
- package/components/PlayerBonusHistory-DncAG4ke.js +0 -938
- package/components/PlayerDeposit-Dzg8Ltb1.cjs +0 -1
- package/components/PlayerGamingHistory-BJAbDjSA.js +0 -966
- package/components/PlayerGamingHistory-CouvBfWt.js +0 -979
- package/components/PlayerGamingHistory-DegmmHCF.cjs +0 -1
- package/components/PlayerProfileInfo-BNNblETP.js +0 -2058
- package/components/PlayerProfileInfo-Cc6HVNlU.cjs +0 -1
- package/components/PlayerProfileInfo-CgjgB8YL.js +0 -2086
- package/stencil/checkbox-group-input_9-BvAcuPzL.cjs +0 -2
- package/stencil/index-1ef3a64c-BNosNJnU.js +0 -572
- package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
- package/stencil/index-1ef3a64c-DsTe-fF4.js +0 -556
- package/stencil/index-7c5e707a-C9R6jYpt.js +0 -616
- package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
- package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
- package/stencil/index-9c0f6c58-BNoMpTuB.js +0 -576
- package/stencil/index-9c0f6c58-DkHHwpww.cjs +0 -1
- package/stencil/index-9cd44522-CbUzJsuK.js +0 -610
- package/stencil/index-9cd44522-NqpP4xs6.js +0 -626
- package/stencil/index-9cd44522-WdjpTA2U.cjs +0 -1
- package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
- package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
- package/stencil/index-b2193545-DePry399.js +0 -503
- package/stencil/password-input_2-8BNshhaU.cjs +0 -193
- package/stencil/toggle-checkbox-input-D3dpAI79.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function H() {
|
|
2
2
|
}
|
|
3
|
-
const
|
|
4
|
-
function
|
|
3
|
+
const Hr = (e) => e;
|
|
4
|
+
function Br(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,29 +9,29 @@ function Ar(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function Ct(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function ut() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function D(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(Ct);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ue(e) {
|
|
22
22
|
return typeof e == "function";
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Nt(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 bo(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 Ar(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function $t(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
@@ -40,19 +40,19 @@ function Ut(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 Pr(e, t, r) {
|
|
44
|
+
e.$$.on_destroy.push($t(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function go(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
|
-
const i =
|
|
48
|
+
const i = Rt(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
return e[1] && n ?
|
|
52
|
+
function Rt(e, t, r, n) {
|
|
53
|
+
return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function yo(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 _o(e, t, r, n) {
|
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function vo(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const a =
|
|
72
|
+
const a = Rt(t, r, n, o);
|
|
73
73
|
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function _o(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,23 +82,23 @@ function xo(e) {
|
|
|
82
82
|
}
|
|
83
83
|
return -1;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function xo(e) {
|
|
86
86
|
return e ?? "";
|
|
87
87
|
}
|
|
88
|
-
function
|
|
89
|
-
return e &&
|
|
88
|
+
function Eo(e) {
|
|
89
|
+
return e && ue(e.destroy) ? e.destroy : H;
|
|
90
90
|
}
|
|
91
|
-
const
|
|
92
|
-
let
|
|
91
|
+
const Ut = typeof window < "u";
|
|
92
|
+
let Or = Ut ? () => window.performance.now() : () => Date.now(), rt = Ut ? (e) => requestAnimationFrame(e) : H;
|
|
93
93
|
const X = /* @__PURE__ */ new Set();
|
|
94
|
-
function
|
|
94
|
+
function Dt(e) {
|
|
95
95
|
X.forEach((t) => {
|
|
96
96
|
t.c(e) || (X.delete(t), t.f());
|
|
97
|
-
}), X.size !== 0 &&
|
|
97
|
+
}), X.size !== 0 && rt(Dt);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ir(e) {
|
|
100
100
|
let t;
|
|
101
|
-
return X.size === 0 &&
|
|
101
|
+
return X.size === 0 && rt(Dt), {
|
|
102
102
|
promise: new Promise((r) => {
|
|
103
103
|
X.add(t = { c: e, f: r });
|
|
104
104
|
}),
|
|
@@ -110,14 +110,14 @@ function Lr(e) {
|
|
|
110
110
|
function A(e, t) {
|
|
111
111
|
e.appendChild(t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
114
|
-
const n =
|
|
113
|
+
function Lr(e, t, r) {
|
|
114
|
+
const n = nt(e);
|
|
115
115
|
if (!n.getElementById(t)) {
|
|
116
|
-
const i =
|
|
117
|
-
i.id = t, i.textContent = r,
|
|
116
|
+
const i = L("style");
|
|
117
|
+
i.id = t, i.textContent = r, Gt(n, i);
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function nt(e) {
|
|
121
121
|
if (!e)
|
|
122
122
|
return document;
|
|
123
123
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -127,46 +127,46 @@ function at(e) {
|
|
|
127
127
|
t
|
|
128
128
|
) : e.ownerDocument;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
const t =
|
|
132
|
-
return t.textContent = "/* empty */",
|
|
130
|
+
function Mr(e) {
|
|
131
|
+
const t = L("style");
|
|
132
|
+
return t.textContent = "/* empty */", Gt(nt(e), t), t.sheet;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Gt(e, t) {
|
|
135
135
|
return A(
|
|
136
136
|
/** @type {Document} */
|
|
137
137
|
e.head || e,
|
|
138
138
|
t
|
|
139
139
|
), t.sheet;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function le(e, t, r) {
|
|
142
142
|
e.insertBefore(t, r || null);
|
|
143
143
|
}
|
|
144
144
|
function G(e) {
|
|
145
145
|
e.parentNode && e.parentNode.removeChild(e);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function So(e, t) {
|
|
148
148
|
for (let r = 0; r < e.length; r += 1)
|
|
149
149
|
e[r] && e[r].d(t);
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function L(e) {
|
|
152
152
|
return document.createElement(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function te(e) {
|
|
155
155
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function he(e) {
|
|
158
158
|
return document.createTextNode(e);
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
return
|
|
160
|
+
function Cr() {
|
|
161
|
+
return he(" ");
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
return
|
|
163
|
+
function To() {
|
|
164
|
+
return he("");
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ft(e, t, r, n) {
|
|
167
167
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function wo(e) {
|
|
170
170
|
return function(t) {
|
|
171
171
|
return t.preventDefault(), e.call(this, t);
|
|
172
172
|
};
|
|
@@ -174,11 +174,11 @@ function Bo(e) {
|
|
|
174
174
|
function B(e, t, r) {
|
|
175
175
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function Ho(e, t, r) {
|
|
178
178
|
const n = t.toLowerCase();
|
|
179
179
|
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);
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Bo(e) {
|
|
182
182
|
let t;
|
|
183
183
|
return {
|
|
184
184
|
/* push */
|
|
@@ -191,23 +191,23 @@ function Po(e) {
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Ao(e) {
|
|
195
195
|
return e === "" ? null : +e;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function Nr(e) {
|
|
198
198
|
return Array.from(e.childNodes);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function jt(e, t) {
|
|
201
201
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
202
202
|
t);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Po(e, t) {
|
|
205
205
|
e.value = t ?? "";
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function $r(e, t, r, n) {
|
|
208
208
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function Oo(e, t, r) {
|
|
211
211
|
for (let n = 0; n < e.options.length; n += 1) {
|
|
212
212
|
const i = e.options[n];
|
|
213
213
|
if (i.__value === t) {
|
|
@@ -217,17 +217,17 @@ function Lo(e, t, r) {
|
|
|
217
217
|
}
|
|
218
218
|
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Io(e) {
|
|
221
221
|
const t = e.querySelector(":checked");
|
|
222
222
|
return t && t.__value;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Lo(e, t, r) {
|
|
225
225
|
e.classList.toggle(t, !!r);
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function Rr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
228
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
-
function
|
|
230
|
+
function Ur(e) {
|
|
231
231
|
const t = {};
|
|
232
232
|
return e.childNodes.forEach(
|
|
233
233
|
/** @param {Element} node */
|
|
@@ -236,161 +236,161 @@ function Dr(e) {
|
|
|
236
236
|
}
|
|
237
237
|
), t;
|
|
238
238
|
}
|
|
239
|
-
const
|
|
240
|
-
let
|
|
241
|
-
function
|
|
239
|
+
const xe = /* @__PURE__ */ new Map();
|
|
240
|
+
let Ee = 0;
|
|
241
|
+
function Dr(e) {
|
|
242
242
|
let t = 5381, r = e.length;
|
|
243
243
|
for (; r--; )
|
|
244
244
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
245
245
|
return t >>> 0;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
const r = { stylesheet:
|
|
249
|
-
return
|
|
247
|
+
function Gr(e, t) {
|
|
248
|
+
const r = { stylesheet: Mr(t), rules: {} };
|
|
249
|
+
return xe.set(e, r), r;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function lt(e, t, r, n, i, o, a, s = 0) {
|
|
252
252
|
const l = 16.666 / n;
|
|
253
253
|
let u = `{
|
|
254
254
|
`;
|
|
255
|
-
for (let
|
|
256
|
-
const
|
|
257
|
-
u +=
|
|
255
|
+
for (let x = 0; x <= 1; x += l) {
|
|
256
|
+
const T = t + (r - t) * o(x);
|
|
257
|
+
u += x * 100 + `%{${a(T, 1 - T)}}
|
|
258
258
|
`;
|
|
259
259
|
}
|
|
260
260
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
261
|
-
}`, f = `__svelte_${
|
|
261
|
+
}`, f = `__svelte_${Dr(h)}_${s}`, c = nt(e), { stylesheet: d, rules: p } = xe.get(c) || Gr(c, e);
|
|
262
262
|
p[f] || (p[f] = !0, d.insertRule(`@keyframes ${f} ${h}`, d.cssRules.length));
|
|
263
263
|
const m = e.style.animation || "";
|
|
264
|
-
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`,
|
|
264
|
+
return e.style.animation = `${m ? `${m}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Ee += 1, f;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function Fr(e, t) {
|
|
267
267
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
268
268
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
269
269
|
// remove all Svelte animations
|
|
270
270
|
), i = r.length - n.length;
|
|
271
|
-
i && (e.style.animation = n.join(", "),
|
|
271
|
+
i && (e.style.animation = n.join(", "), Ee -= i, Ee || jr());
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
|
|
275
|
-
|
|
273
|
+
function jr() {
|
|
274
|
+
rt(() => {
|
|
275
|
+
Ee || (xe.forEach((e) => {
|
|
276
276
|
const { ownerNode: t } = e.stylesheet;
|
|
277
277
|
t && G(t);
|
|
278
|
-
}),
|
|
278
|
+
}), xe.clear());
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
let
|
|
282
|
-
function
|
|
283
|
-
|
|
281
|
+
let oe;
|
|
282
|
+
function ie(e) {
|
|
283
|
+
oe = e;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
if (!
|
|
285
|
+
function kr() {
|
|
286
|
+
if (!oe)
|
|
287
287
|
throw new Error("Function called outside component initialization");
|
|
288
|
-
return
|
|
288
|
+
return oe;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
|
|
290
|
+
function Vr(e) {
|
|
291
|
+
kr().$$.on_mount.push(e);
|
|
292
292
|
}
|
|
293
|
-
const V = [],
|
|
293
|
+
const V = [], Fe = [];
|
|
294
294
|
let W = [];
|
|
295
|
-
const
|
|
296
|
-
let
|
|
297
|
-
function
|
|
298
|
-
|
|
295
|
+
const ht = [], kt = /* @__PURE__ */ Promise.resolve();
|
|
296
|
+
let je = !1;
|
|
297
|
+
function Vt() {
|
|
298
|
+
je || (je = !0, kt.then(I));
|
|
299
299
|
}
|
|
300
300
|
function Mo() {
|
|
301
|
-
return
|
|
301
|
+
return Vt(), kt;
|
|
302
302
|
}
|
|
303
303
|
function Se(e) {
|
|
304
304
|
W.push(e);
|
|
305
305
|
}
|
|
306
|
-
const
|
|
306
|
+
const Le = /* @__PURE__ */ new Set();
|
|
307
307
|
let j = 0;
|
|
308
308
|
function I() {
|
|
309
309
|
if (j !== 0)
|
|
310
310
|
return;
|
|
311
|
-
const e =
|
|
311
|
+
const e = oe;
|
|
312
312
|
do {
|
|
313
313
|
try {
|
|
314
314
|
for (; j < V.length; ) {
|
|
315
315
|
const t = V[j];
|
|
316
|
-
j++,
|
|
316
|
+
j++, ie(t), Xr(t.$$);
|
|
317
317
|
}
|
|
318
318
|
} catch (t) {
|
|
319
319
|
throw V.length = 0, j = 0, t;
|
|
320
320
|
}
|
|
321
|
-
for (
|
|
322
|
-
|
|
321
|
+
for (ie(null), V.length = 0, j = 0; Fe.length; )
|
|
322
|
+
Fe.pop()();
|
|
323
323
|
for (let t = 0; t < W.length; t += 1) {
|
|
324
324
|
const r = W[t];
|
|
325
|
-
|
|
325
|
+
Le.has(r) || (Le.add(r), r());
|
|
326
326
|
}
|
|
327
327
|
W.length = 0;
|
|
328
328
|
} while (V.length);
|
|
329
|
-
for (;
|
|
330
|
-
|
|
331
|
-
|
|
329
|
+
for (; ht.length; )
|
|
330
|
+
ht.pop()();
|
|
331
|
+
je = !1, Le.clear(), ie(e);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function Xr(e) {
|
|
334
334
|
if (e.fragment !== null) {
|
|
335
335
|
e.update(), D(e.before_update);
|
|
336
336
|
const t = e.dirty;
|
|
337
337
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Wr(e) {
|
|
341
341
|
const t = [], r = [];
|
|
342
342
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
343
343
|
}
|
|
344
|
-
let
|
|
345
|
-
function
|
|
346
|
-
return
|
|
347
|
-
|
|
348
|
-
})),
|
|
344
|
+
let re;
|
|
345
|
+
function zr() {
|
|
346
|
+
return re || (re = Promise.resolve(), re.then(() => {
|
|
347
|
+
re = null;
|
|
348
|
+
})), re;
|
|
349
349
|
}
|
|
350
350
|
function Me(e, t, r) {
|
|
351
|
-
e.dispatchEvent(
|
|
351
|
+
e.dispatchEvent(Rr(`${t ? "intro" : "outro"}${r}`));
|
|
352
352
|
}
|
|
353
353
|
const be = /* @__PURE__ */ new Set();
|
|
354
|
-
let
|
|
355
|
-
function
|
|
356
|
-
|
|
354
|
+
let M;
|
|
355
|
+
function Co() {
|
|
356
|
+
M = {
|
|
357
357
|
r: 0,
|
|
358
358
|
c: [],
|
|
359
|
-
p:
|
|
359
|
+
p: M
|
|
360
360
|
// parent group
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
363
|
+
function No() {
|
|
364
|
+
M.r || D(M.c), M = M.p;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Zr(e, t) {
|
|
367
367
|
e && e.i && (be.delete(e), e.i(t));
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function $o(e, t, r, n) {
|
|
370
370
|
if (e && e.o) {
|
|
371
371
|
if (be.has(e))
|
|
372
372
|
return;
|
|
373
|
-
be.add(e),
|
|
373
|
+
be.add(e), M.c.push(() => {
|
|
374
374
|
be.delete(e), n && (r && e.d(1), n());
|
|
375
375
|
}), e.o(t);
|
|
376
376
|
} else
|
|
377
377
|
n && n();
|
|
378
378
|
}
|
|
379
|
-
const
|
|
380
|
-
function
|
|
379
|
+
const qr = { duration: 0 };
|
|
380
|
+
function Ro(e, t, r, n) {
|
|
381
381
|
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
382
382
|
function f() {
|
|
383
|
-
u &&
|
|
383
|
+
u && Fr(e, u);
|
|
384
384
|
}
|
|
385
385
|
function c(p, m) {
|
|
386
|
-
const
|
|
386
|
+
const x = (
|
|
387
387
|
/** @type {Program['d']} */
|
|
388
388
|
p.b - a
|
|
389
389
|
);
|
|
390
|
-
return m *= Math.abs(
|
|
390
|
+
return m *= Math.abs(x), {
|
|
391
391
|
a,
|
|
392
392
|
b: p.b,
|
|
393
|
-
d:
|
|
393
|
+
d: x,
|
|
394
394
|
duration: m,
|
|
395
395
|
start: p.start,
|
|
396
396
|
end: p.start + m,
|
|
@@ -400,30 +400,30 @@ function Do(e, t, r, n) {
|
|
|
400
400
|
function d(p) {
|
|
401
401
|
const {
|
|
402
402
|
delay: m = 0,
|
|
403
|
-
duration:
|
|
404
|
-
easing:
|
|
403
|
+
duration: x = 300,
|
|
404
|
+
easing: T = Hr,
|
|
405
405
|
tick: P = H,
|
|
406
|
-
css:
|
|
407
|
-
} = o ||
|
|
408
|
-
start:
|
|
406
|
+
css: E
|
|
407
|
+
} = o || qr, O = {
|
|
408
|
+
start: Or() + m,
|
|
409
409
|
b: p
|
|
410
410
|
};
|
|
411
|
-
p || (O.group =
|
|
412
|
-
e.inert, e.inert = !0)), s || l ? l = O : (
|
|
413
|
-
if (l &&
|
|
411
|
+
p || (O.group = M, M.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
412
|
+
e.inert, e.inert = !0)), s || l ? l = O : (E && (f(), u = lt(e, a, p, x, m, T, E)), p && P(0, 1), s = c(O, x), Se(() => Me(e, p, "start")), Ir((w) => {
|
|
413
|
+
if (l && w > l.start && (s = c(l, x), l = null, Me(e, s.b, "start"), E && (f(), u = lt(
|
|
414
414
|
e,
|
|
415
415
|
a,
|
|
416
416
|
s.b,
|
|
417
417
|
s.duration,
|
|
418
418
|
0,
|
|
419
|
-
|
|
419
|
+
T,
|
|
420
420
|
o.css
|
|
421
421
|
))), s) {
|
|
422
|
-
if (
|
|
422
|
+
if (w >= s.end)
|
|
423
423
|
P(a = s.b, 1 - a), Me(e, s.b, "end"), l || (s.b ? f() : --s.group.r || D(s.group.c)), s = null;
|
|
424
|
-
else if (
|
|
425
|
-
const $ =
|
|
426
|
-
a = s.a + s.d *
|
|
424
|
+
else if (w >= s.start) {
|
|
425
|
+
const $ = w - s.start;
|
|
426
|
+
a = s.a + s.d * T($ / s.duration), P(a, 1 - a);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
return !!(s || l);
|
|
@@ -431,7 +431,7 @@ function Do(e, t, r, n) {
|
|
|
431
431
|
}
|
|
432
432
|
return {
|
|
433
433
|
run(p) {
|
|
434
|
-
|
|
434
|
+
ue(o) ? zr().then(() => {
|
|
435
435
|
o = o({ direction: p ? "in" : "out" }), d(p);
|
|
436
436
|
}) : d(p);
|
|
437
437
|
},
|
|
@@ -440,26 +440,26 @@ function Do(e, t, r, n) {
|
|
|
440
440
|
}
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function Uo(e) {
|
|
444
444
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function Qr(e, t, r) {
|
|
447
447
|
const { fragment: n, after_update: i } = e.$$;
|
|
448
448
|
n && n.m(t, r), Se(() => {
|
|
449
|
-
const o = e.$$.on_mount.map(
|
|
449
|
+
const o = e.$$.on_mount.map(Ct).filter(ue);
|
|
450
450
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
|
|
451
451
|
}), i.forEach(Se);
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function Jr(e, t) {
|
|
454
454
|
const r = e.$$;
|
|
455
|
-
r.fragment !== null && (
|
|
455
|
+
r.fragment !== null && (Wr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
456
456
|
}
|
|
457
|
-
function
|
|
458
|
-
e.$$.dirty[0] === -1 && (V.push(e),
|
|
457
|
+
function Yr(e, t) {
|
|
458
|
+
e.$$.dirty[0] === -1 && (V.push(e), Vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
459
459
|
}
|
|
460
|
-
function
|
|
461
|
-
const l =
|
|
462
|
-
|
|
460
|
+
function Kr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
461
|
+
const l = oe;
|
|
462
|
+
ie(e);
|
|
463
463
|
const u = e.$$ = {
|
|
464
464
|
fragment: null,
|
|
465
465
|
ctx: [],
|
|
@@ -467,7 +467,7 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
467
467
|
props: o,
|
|
468
468
|
update: H,
|
|
469
469
|
not_equal: i,
|
|
470
|
-
bound:
|
|
470
|
+
bound: ut(),
|
|
471
471
|
// lifecycle
|
|
472
472
|
on_mount: [],
|
|
473
473
|
on_destroy: [],
|
|
@@ -476,7 +476,7 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
476
476
|
after_update: [],
|
|
477
477
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
478
478
|
// everything else
|
|
479
|
-
callbacks:
|
|
479
|
+
callbacks: ut(),
|
|
480
480
|
dirty: s,
|
|
481
481
|
skip_bound: !1,
|
|
482
482
|
root: t.target || l.$$.root
|
|
@@ -485,19 +485,19 @@ function en(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
485
485
|
let h = !1;
|
|
486
486
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
487
487
|
const p = d.length ? d[0] : c;
|
|
488
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h &&
|
|
488
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), h && Yr(e, f)), c;
|
|
489
489
|
}) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
490
490
|
if (t.hydrate) {
|
|
491
|
-
const f =
|
|
491
|
+
const f = Nr(t.target);
|
|
492
492
|
u.fragment && u.fragment.l(f), f.forEach(G);
|
|
493
493
|
} else
|
|
494
494
|
u.fragment && u.fragment.c();
|
|
495
|
-
t.intro &&
|
|
495
|
+
t.intro && Zr(e.$$.fragment), Qr(e, t.target, t.anchor), I();
|
|
496
496
|
}
|
|
497
|
-
|
|
497
|
+
ie(l);
|
|
498
498
|
}
|
|
499
|
-
let
|
|
500
|
-
typeof HTMLElement == "function" && (
|
|
499
|
+
let Xt;
|
|
500
|
+
typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
501
501
|
/** The Svelte component constructor */
|
|
502
502
|
$$ctor;
|
|
503
503
|
/** Slots */
|
|
@@ -539,14 +539,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
539
539
|
let o;
|
|
540
540
|
return {
|
|
541
541
|
c: function() {
|
|
542
|
-
o =
|
|
542
|
+
o = L("slot"), i !== "default" && B(o, "name", i);
|
|
543
543
|
},
|
|
544
544
|
/**
|
|
545
545
|
* @param {HTMLElement} target
|
|
546
546
|
* @param {HTMLElement} [anchor]
|
|
547
547
|
*/
|
|
548
548
|
m: function(l, u) {
|
|
549
|
-
|
|
549
|
+
le(l, o, u);
|
|
550
550
|
},
|
|
551
551
|
d: function(l) {
|
|
552
552
|
l && G(o);
|
|
@@ -556,12 +556,12 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
556
556
|
};
|
|
557
557
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
558
558
|
return;
|
|
559
|
-
const t = {}, r =
|
|
559
|
+
const t = {}, r = Ur(this);
|
|
560
560
|
for (const i of this.$$s)
|
|
561
561
|
i in r && (t[i] = [e(i)]);
|
|
562
562
|
for (const i of this.attributes) {
|
|
563
563
|
const o = this.$$g_p(i.name);
|
|
564
|
-
o in this.$$d || (this.$$d[o] =
|
|
564
|
+
o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
|
|
565
565
|
}
|
|
566
566
|
for (const i in this.$$p_d)
|
|
567
567
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -579,7 +579,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
579
579
|
this.$$r = !0;
|
|
580
580
|
for (const i in this.$$p_d)
|
|
581
581
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
582
|
-
const o =
|
|
582
|
+
const o = ge(
|
|
583
583
|
i,
|
|
584
584
|
this.$$d[i],
|
|
585
585
|
this.$$p_d,
|
|
@@ -601,7 +601,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
601
601
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
602
602
|
// and setting attributes through setAttribute etc, this is helpful
|
|
603
603
|
attributeChangedCallback(e, t, r) {
|
|
604
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
604
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
605
605
|
}
|
|
606
606
|
disconnectedCallback() {
|
|
607
607
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -614,7 +614,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
614
614
|
) || e;
|
|
615
615
|
}
|
|
616
616
|
});
|
|
617
|
-
function
|
|
617
|
+
function ge(e, t, r, n) {
|
|
618
618
|
const i = r[e]?.type;
|
|
619
619
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
620
620
|
return t;
|
|
@@ -643,8 +643,8 @@ function ye(e, t, r, n) {
|
|
|
643
643
|
return t;
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
|
-
function
|
|
647
|
-
let a = class extends
|
|
646
|
+
function en(e, t, r, n, i, o) {
|
|
647
|
+
let a = class extends Xt {
|
|
648
648
|
constructor() {
|
|
649
649
|
super(e, r, i), this.$$p_d = t;
|
|
650
650
|
}
|
|
@@ -660,7 +660,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
660
660
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
661
661
|
},
|
|
662
662
|
set(l) {
|
|
663
|
-
l =
|
|
663
|
+
l = ge(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
664
664
|
}
|
|
665
665
|
});
|
|
666
666
|
}), n.forEach((s) => {
|
|
@@ -672,7 +672,7 @@ function tn(e, t, r, n, i, o) {
|
|
|
672
672
|
}), e.element = /** @type {any} */
|
|
673
673
|
a, a;
|
|
674
674
|
}
|
|
675
|
-
class
|
|
675
|
+
class tn {
|
|
676
676
|
/**
|
|
677
677
|
* ### PRIVATE API
|
|
678
678
|
*
|
|
@@ -691,7 +691,7 @@ class rn {
|
|
|
691
691
|
$$set = void 0;
|
|
692
692
|
/** @returns {void} */
|
|
693
693
|
$destroy() {
|
|
694
|
-
|
|
694
|
+
Jr(this, 1), this.$destroy = H;
|
|
695
695
|
}
|
|
696
696
|
/**
|
|
697
697
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -700,7 +700,7 @@ class rn {
|
|
|
700
700
|
* @returns {() => void}
|
|
701
701
|
*/
|
|
702
702
|
$on(t, r) {
|
|
703
|
-
if (!
|
|
703
|
+
if (!ue(r))
|
|
704
704
|
return H;
|
|
705
705
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
706
706
|
return n.push(r), () => {
|
|
@@ -713,11 +713,11 @@ class rn {
|
|
|
713
713
|
* @returns {void}
|
|
714
714
|
*/
|
|
715
715
|
$set(t) {
|
|
716
|
-
this.$$set && !
|
|
716
|
+
this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
|
-
const
|
|
720
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
719
|
+
const rn = "4";
|
|
720
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
|
|
721
721
|
/*! *****************************************************************************
|
|
722
722
|
Copyright (c) Microsoft Corporation.
|
|
723
723
|
|
|
@@ -732,24 +732,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
732
732
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
733
733
|
PERFORMANCE OF THIS SOFTWARE.
|
|
734
734
|
***************************************************************************** */
|
|
735
|
-
var
|
|
736
|
-
return
|
|
735
|
+
var ke = function(e, t) {
|
|
736
|
+
return ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
737
737
|
r.__proto__ = n;
|
|
738
738
|
} || function(r, n) {
|
|
739
739
|
for (var i in n)
|
|
740
740
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
741
|
-
},
|
|
741
|
+
}, ke(e, t);
|
|
742
742
|
};
|
|
743
|
-
function
|
|
743
|
+
function N(e, t) {
|
|
744
744
|
if (typeof t != "function" && t !== null)
|
|
745
745
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
746
|
-
|
|
746
|
+
ke(e, t);
|
|
747
747
|
function r() {
|
|
748
748
|
this.constructor = e;
|
|
749
749
|
}
|
|
750
750
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
var y = function() {
|
|
753
|
+
return y = Object.assign || function(t) {
|
|
754
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
755
|
+
r = arguments[n];
|
|
756
|
+
for (var o in r)
|
|
757
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
758
|
+
}
|
|
759
|
+
return t;
|
|
760
|
+
}, y.apply(this, arguments);
|
|
761
|
+
};
|
|
762
|
+
function nn(e, t) {
|
|
763
|
+
var r = {};
|
|
764
|
+
for (var n in e)
|
|
765
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
766
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
767
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
768
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
769
|
+
return r;
|
|
770
|
+
}
|
|
771
|
+
function Ve(e) {
|
|
753
772
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
754
773
|
if (r)
|
|
755
774
|
return r.call(e);
|
|
@@ -761,7 +780,7 @@ function We(e) {
|
|
|
761
780
|
};
|
|
762
781
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
763
782
|
}
|
|
764
|
-
function
|
|
783
|
+
function Xe(e, t) {
|
|
765
784
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
766
785
|
if (!r)
|
|
767
786
|
return e;
|
|
@@ -781,22 +800,22 @@ function ze(e, t) {
|
|
|
781
800
|
}
|
|
782
801
|
return o;
|
|
783
802
|
}
|
|
784
|
-
function
|
|
785
|
-
if (arguments.length === 2)
|
|
803
|
+
function z(e, t, r) {
|
|
804
|
+
if (r || arguments.length === 2)
|
|
786
805
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
787
806
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
788
807
|
return e.concat(o || t);
|
|
789
808
|
}
|
|
790
|
-
function
|
|
809
|
+
function C(e) {
|
|
791
810
|
return typeof e == "function";
|
|
792
811
|
}
|
|
793
|
-
function
|
|
812
|
+
function Wt(e) {
|
|
794
813
|
var t = function(n) {
|
|
795
814
|
Error.call(n), n.stack = new Error().stack;
|
|
796
815
|
}, r = e(t);
|
|
797
816
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
798
817
|
}
|
|
799
|
-
var
|
|
818
|
+
var Ce = Wt(function(e) {
|
|
800
819
|
return function(r) {
|
|
801
820
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
802
821
|
` + r.map(function(n, i) {
|
|
@@ -805,13 +824,13 @@ var $e = Zt(function(e) {
|
|
|
805
824
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
806
825
|
};
|
|
807
826
|
});
|
|
808
|
-
function
|
|
827
|
+
function We(e, t) {
|
|
809
828
|
if (e) {
|
|
810
829
|
var r = e.indexOf(t);
|
|
811
830
|
0 <= r && e.splice(r, 1);
|
|
812
831
|
}
|
|
813
832
|
}
|
|
814
|
-
var
|
|
833
|
+
var He = function() {
|
|
815
834
|
function e(t) {
|
|
816
835
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
817
836
|
}
|
|
@@ -823,7 +842,7 @@ var Be = function() {
|
|
|
823
842
|
if (a)
|
|
824
843
|
if (this._parentage = null, Array.isArray(a))
|
|
825
844
|
try {
|
|
826
|
-
for (var s =
|
|
845
|
+
for (var s = Ve(a), l = s.next(); !l.done; l = s.next()) {
|
|
827
846
|
var u = l.value;
|
|
828
847
|
u.remove(this);
|
|
829
848
|
}
|
|
@@ -840,22 +859,22 @@ var Be = function() {
|
|
|
840
859
|
else
|
|
841
860
|
a.remove(this);
|
|
842
861
|
var h = this.initialTeardown;
|
|
843
|
-
if (
|
|
862
|
+
if (C(h))
|
|
844
863
|
try {
|
|
845
864
|
h();
|
|
846
865
|
} catch (m) {
|
|
847
|
-
o = m instanceof
|
|
866
|
+
o = m instanceof Ce ? m.errors : [m];
|
|
848
867
|
}
|
|
849
868
|
var f = this._finalizers;
|
|
850
869
|
if (f) {
|
|
851
870
|
this._finalizers = null;
|
|
852
871
|
try {
|
|
853
|
-
for (var c =
|
|
872
|
+
for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
|
|
854
873
|
var p = d.value;
|
|
855
874
|
try {
|
|
856
|
-
|
|
875
|
+
ct(p);
|
|
857
876
|
} catch (m) {
|
|
858
|
-
o = o ?? [], m instanceof
|
|
877
|
+
o = o ?? [], m instanceof Ce ? o = z(z([], Xe(o)), Xe(m.errors)) : o.push(m);
|
|
859
878
|
}
|
|
860
879
|
}
|
|
861
880
|
} catch (m) {
|
|
@@ -870,13 +889,13 @@ var Be = function() {
|
|
|
870
889
|
}
|
|
871
890
|
}
|
|
872
891
|
if (o)
|
|
873
|
-
throw new
|
|
892
|
+
throw new Ce(o);
|
|
874
893
|
}
|
|
875
894
|
}, e.prototype.add = function(t) {
|
|
876
895
|
var r;
|
|
877
896
|
if (t && t !== this)
|
|
878
897
|
if (this.closed)
|
|
879
|
-
|
|
898
|
+
ct(t);
|
|
880
899
|
else {
|
|
881
900
|
if (t instanceof e) {
|
|
882
901
|
if (t.closed || t._hasParent(this))
|
|
@@ -893,52 +912,56 @@ var Be = function() {
|
|
|
893
912
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
894
913
|
}, e.prototype._removeParent = function(t) {
|
|
895
914
|
var r = this._parentage;
|
|
896
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
915
|
+
r === t ? this._parentage = null : Array.isArray(r) && We(r, t);
|
|
897
916
|
}, e.prototype.remove = function(t) {
|
|
898
917
|
var r = this._finalizers;
|
|
899
|
-
r &&
|
|
918
|
+
r && We(r, t), t instanceof e && t._removeParent(this);
|
|
900
919
|
}, e.EMPTY = function() {
|
|
901
920
|
var t = new e();
|
|
902
921
|
return t.closed = !0, t;
|
|
903
922
|
}(), e;
|
|
904
|
-
}(),
|
|
905
|
-
function
|
|
906
|
-
return e instanceof
|
|
907
|
-
}
|
|
908
|
-
function
|
|
909
|
-
|
|
910
|
-
}
|
|
911
|
-
var
|
|
912
|
-
|
|
913
|
-
|
|
923
|
+
}(), zt = He.EMPTY;
|
|
924
|
+
function Zt(e) {
|
|
925
|
+
return e instanceof He || e && "closed" in e && C(e.remove) && C(e.add) && C(e.unsubscribe);
|
|
926
|
+
}
|
|
927
|
+
function ct(e) {
|
|
928
|
+
C(e) ? e() : e.unsubscribe();
|
|
929
|
+
}
|
|
930
|
+
var qt = {
|
|
931
|
+
onUnhandledError: null,
|
|
932
|
+
onStoppedNotification: null,
|
|
933
|
+
Promise: void 0,
|
|
934
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
935
|
+
useDeprecatedNextContext: !1
|
|
936
|
+
}, on = {
|
|
914
937
|
setTimeout: function(e, t) {
|
|
915
938
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
916
939
|
r[n - 2] = arguments[n];
|
|
917
|
-
return setTimeout.apply(void 0,
|
|
940
|
+
return setTimeout.apply(void 0, z([e, t], Xe(r)));
|
|
918
941
|
},
|
|
919
942
|
clearTimeout: function(e) {
|
|
920
943
|
return clearTimeout(e);
|
|
921
944
|
},
|
|
922
945
|
delegate: void 0
|
|
923
946
|
};
|
|
924
|
-
function
|
|
925
|
-
|
|
947
|
+
function sn(e) {
|
|
948
|
+
on.setTimeout(function() {
|
|
926
949
|
throw e;
|
|
927
950
|
});
|
|
928
951
|
}
|
|
929
|
-
function
|
|
952
|
+
function ft() {
|
|
930
953
|
}
|
|
931
|
-
function
|
|
954
|
+
function ye(e) {
|
|
932
955
|
e();
|
|
933
956
|
}
|
|
934
|
-
var
|
|
935
|
-
|
|
957
|
+
var Qt = function(e) {
|
|
958
|
+
N(t, e);
|
|
936
959
|
function t(r) {
|
|
937
960
|
var n = e.call(this) || this;
|
|
938
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
961
|
+
return n.isStopped = !1, r ? (n.destination = r, Zt(r) && r.add(n)) : n.destination = hn, n;
|
|
939
962
|
}
|
|
940
963
|
return t.create = function(r, n, i) {
|
|
941
|
-
return new
|
|
964
|
+
return new ze(r, n, i);
|
|
942
965
|
}, t.prototype.next = function(r) {
|
|
943
966
|
this.isStopped || this._next(r);
|
|
944
967
|
}, t.prototype.error = function(r) {
|
|
@@ -962,7 +985,11 @@ var Jt = function(e) {
|
|
|
962
985
|
this.unsubscribe();
|
|
963
986
|
}
|
|
964
987
|
}, t;
|
|
965
|
-
}(
|
|
988
|
+
}(He), an = Function.prototype.bind;
|
|
989
|
+
function Ne(e, t) {
|
|
990
|
+
return an.call(e, t);
|
|
991
|
+
}
|
|
992
|
+
var un = function() {
|
|
966
993
|
function e(t) {
|
|
967
994
|
this.partialObserver = t;
|
|
968
995
|
}
|
|
@@ -993,29 +1020,41 @@ var Jt = function(e) {
|
|
|
993
1020
|
de(r);
|
|
994
1021
|
}
|
|
995
1022
|
}, e;
|
|
996
|
-
}(),
|
|
997
|
-
|
|
1023
|
+
}(), ze = function(e) {
|
|
1024
|
+
N(t, e);
|
|
998
1025
|
function t(r, n, i) {
|
|
999
1026
|
var o = e.call(this) || this, a;
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1027
|
+
if (C(r) || !r)
|
|
1028
|
+
a = {
|
|
1029
|
+
next: r ?? void 0,
|
|
1030
|
+
error: n ?? void 0,
|
|
1031
|
+
complete: i ?? void 0
|
|
1032
|
+
};
|
|
1033
|
+
else {
|
|
1034
|
+
var s;
|
|
1035
|
+
o && qt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
1036
|
+
return o.unsubscribe();
|
|
1037
|
+
}, a = {
|
|
1038
|
+
next: r.next && Ne(r.next, s),
|
|
1039
|
+
error: r.error && Ne(r.error, s),
|
|
1040
|
+
complete: r.complete && Ne(r.complete, s)
|
|
1041
|
+
}) : a = r;
|
|
1042
|
+
}
|
|
1043
|
+
return o.destination = new un(a), o;
|
|
1005
1044
|
}
|
|
1006
1045
|
return t;
|
|
1007
|
-
}(
|
|
1046
|
+
}(Qt);
|
|
1008
1047
|
function de(e) {
|
|
1009
|
-
|
|
1048
|
+
sn(e);
|
|
1010
1049
|
}
|
|
1011
1050
|
function ln(e) {
|
|
1012
1051
|
throw e;
|
|
1013
1052
|
}
|
|
1014
1053
|
var hn = {
|
|
1015
1054
|
closed: !0,
|
|
1016
|
-
next:
|
|
1055
|
+
next: ft,
|
|
1017
1056
|
error: ln,
|
|
1018
|
-
complete:
|
|
1057
|
+
complete: ft
|
|
1019
1058
|
}, cn = function() {
|
|
1020
1059
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1021
1060
|
}();
|
|
@@ -1029,7 +1068,7 @@ function pn(e) {
|
|
|
1029
1068
|
}, r);
|
|
1030
1069
|
};
|
|
1031
1070
|
}
|
|
1032
|
-
var
|
|
1071
|
+
var pt = function() {
|
|
1033
1072
|
function e(t) {
|
|
1034
1073
|
t && (this._subscribe = t);
|
|
1035
1074
|
}
|
|
@@ -1037,8 +1076,8 @@ var mt = function() {
|
|
|
1037
1076
|
var r = new e();
|
|
1038
1077
|
return r.source = this, r.operator = t, r;
|
|
1039
1078
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1040
|
-
var i = this, o = mn(t) ? t : new
|
|
1041
|
-
return
|
|
1079
|
+
var i = this, o = mn(t) ? t : new ze(t, r, n);
|
|
1080
|
+
return ye(function() {
|
|
1042
1081
|
var a = i, s = a.operator, l = a.source;
|
|
1043
1082
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
1044
1083
|
}), o;
|
|
@@ -1050,8 +1089,8 @@ var mt = function() {
|
|
|
1050
1089
|
}
|
|
1051
1090
|
}, e.prototype.forEach = function(t, r) {
|
|
1052
1091
|
var n = this;
|
|
1053
|
-
return r =
|
|
1054
|
-
var a = new
|
|
1092
|
+
return r = dt(r), new r(function(i, o) {
|
|
1093
|
+
var a = new ze({
|
|
1055
1094
|
next: function(s) {
|
|
1056
1095
|
try {
|
|
1057
1096
|
t(s);
|
|
@@ -1075,7 +1114,7 @@ var mt = function() {
|
|
|
1075
1114
|
return pn(t)(this);
|
|
1076
1115
|
}, e.prototype.toPromise = function(t) {
|
|
1077
1116
|
var r = this;
|
|
1078
|
-
return t =
|
|
1117
|
+
return t = dt(t), new t(function(n, i) {
|
|
1079
1118
|
var o;
|
|
1080
1119
|
r.subscribe(function(a) {
|
|
1081
1120
|
return o = a;
|
|
@@ -1089,40 +1128,40 @@ var mt = function() {
|
|
|
1089
1128
|
return new e(t);
|
|
1090
1129
|
}, e;
|
|
1091
1130
|
}();
|
|
1092
|
-
function
|
|
1131
|
+
function dt(e) {
|
|
1093
1132
|
var t;
|
|
1094
|
-
return (t = e ??
|
|
1133
|
+
return (t = e ?? qt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1095
1134
|
}
|
|
1096
1135
|
function dn(e) {
|
|
1097
|
-
return e &&
|
|
1136
|
+
return e && C(e.next) && C(e.error) && C(e.complete);
|
|
1098
1137
|
}
|
|
1099
1138
|
function mn(e) {
|
|
1100
|
-
return e && e instanceof
|
|
1139
|
+
return e && e instanceof Qt || dn(e) && Zt(e);
|
|
1101
1140
|
}
|
|
1102
|
-
var bn =
|
|
1141
|
+
var bn = Wt(function(e) {
|
|
1103
1142
|
return function() {
|
|
1104
1143
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1105
1144
|
};
|
|
1106
|
-
}),
|
|
1107
|
-
|
|
1145
|
+
}), Jt = function(e) {
|
|
1146
|
+
N(t, e);
|
|
1108
1147
|
function t() {
|
|
1109
1148
|
var r = e.call(this) || this;
|
|
1110
1149
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1111
1150
|
}
|
|
1112
1151
|
return t.prototype.lift = function(r) {
|
|
1113
|
-
var n = new
|
|
1152
|
+
var n = new mt(this, this);
|
|
1114
1153
|
return n.operator = r, n;
|
|
1115
1154
|
}, t.prototype._throwIfClosed = function() {
|
|
1116
1155
|
if (this.closed)
|
|
1117
1156
|
throw new bn();
|
|
1118
1157
|
}, t.prototype.next = function(r) {
|
|
1119
1158
|
var n = this;
|
|
1120
|
-
|
|
1159
|
+
ye(function() {
|
|
1121
1160
|
var i, o;
|
|
1122
1161
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1123
1162
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1124
1163
|
try {
|
|
1125
|
-
for (var a =
|
|
1164
|
+
for (var a = Ve(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1126
1165
|
var l = s.value;
|
|
1127
1166
|
l.next(r);
|
|
1128
1167
|
}
|
|
@@ -1140,7 +1179,7 @@ var bn = Zt(function(e) {
|
|
|
1140
1179
|
});
|
|
1141
1180
|
}, t.prototype.error = function(r) {
|
|
1142
1181
|
var n = this;
|
|
1143
|
-
|
|
1182
|
+
ye(function() {
|
|
1144
1183
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1145
1184
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1146
1185
|
for (var i = n.observers; i.length; )
|
|
@@ -1149,7 +1188,7 @@ var bn = Zt(function(e) {
|
|
|
1149
1188
|
});
|
|
1150
1189
|
}, t.prototype.complete = function() {
|
|
1151
1190
|
var r = this;
|
|
1152
|
-
|
|
1191
|
+
ye(function() {
|
|
1153
1192
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1154
1193
|
r.isStopped = !0;
|
|
1155
1194
|
for (var n = r.observers; n.length; )
|
|
@@ -1171,20 +1210,20 @@ var bn = Zt(function(e) {
|
|
|
1171
1210
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1172
1211
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1173
1212
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1174
|
-
return o || a ?
|
|
1175
|
-
n.currentObservers = null,
|
|
1213
|
+
return o || a ? zt : (this.currentObservers = null, s.push(r), new He(function() {
|
|
1214
|
+
n.currentObservers = null, We(s, r);
|
|
1176
1215
|
}));
|
|
1177
1216
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1178
1217
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1179
1218
|
i ? r.error(o) : a && r.complete();
|
|
1180
1219
|
}, t.prototype.asObservable = function() {
|
|
1181
|
-
var r = new
|
|
1220
|
+
var r = new pt();
|
|
1182
1221
|
return r.source = this, r;
|
|
1183
1222
|
}, t.create = function(r, n) {
|
|
1184
|
-
return new
|
|
1223
|
+
return new mt(r, n);
|
|
1185
1224
|
}, t;
|
|
1186
|
-
}(
|
|
1187
|
-
|
|
1225
|
+
}(pt), mt = function(e) {
|
|
1226
|
+
N(t, e);
|
|
1188
1227
|
function t(r, n) {
|
|
1189
1228
|
var i = e.call(this) || this;
|
|
1190
1229
|
return i.destination = r, i.source = n, i;
|
|
@@ -1200,17 +1239,17 @@ var bn = Zt(function(e) {
|
|
|
1200
1239
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1201
1240
|
}, t.prototype._subscribe = function(r) {
|
|
1202
1241
|
var n, i;
|
|
1203
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1242
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : zt;
|
|
1204
1243
|
}, t;
|
|
1205
|
-
}(
|
|
1244
|
+
}(Jt), Yt = {
|
|
1206
1245
|
now: function() {
|
|
1207
|
-
return (
|
|
1246
|
+
return (Yt.delegate || Date).now();
|
|
1208
1247
|
},
|
|
1209
1248
|
delegate: void 0
|
|
1210
|
-
},
|
|
1211
|
-
|
|
1249
|
+
}, gn = function(e) {
|
|
1250
|
+
N(t, e);
|
|
1212
1251
|
function t(r, n, i) {
|
|
1213
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1252
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Yt);
|
|
1214
1253
|
var o = e.call(this) || this;
|
|
1215
1254
|
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;
|
|
1216
1255
|
}
|
|
@@ -1230,24 +1269,24 @@ var bn = Zt(function(e) {
|
|
|
1230
1269
|
u && o.splice(0, u + 1);
|
|
1231
1270
|
}
|
|
1232
1271
|
}, t;
|
|
1233
|
-
}(
|
|
1234
|
-
const
|
|
1235
|
-
if (
|
|
1236
|
-
const r = new
|
|
1237
|
-
|
|
1272
|
+
}(Jt);
|
|
1273
|
+
const bt = [], gt = {}, yn = (e, t = 0) => {
|
|
1274
|
+
if (bt.indexOf(e) == -1) {
|
|
1275
|
+
const r = new gn(t);
|
|
1276
|
+
gt[e] = r, bt.push(e);
|
|
1238
1277
|
}
|
|
1239
|
-
return
|
|
1278
|
+
return gt[e];
|
|
1240
1279
|
}, k = [];
|
|
1241
1280
|
function vn(e, t) {
|
|
1242
1281
|
return {
|
|
1243
|
-
subscribe:
|
|
1282
|
+
subscribe: Be(e, t).subscribe
|
|
1244
1283
|
};
|
|
1245
1284
|
}
|
|
1246
|
-
function
|
|
1285
|
+
function Be(e, t = H) {
|
|
1247
1286
|
let r;
|
|
1248
1287
|
const n = /* @__PURE__ */ new Set();
|
|
1249
1288
|
function i(s) {
|
|
1250
|
-
if (
|
|
1289
|
+
if (Nt(e, s) && (e = s, r)) {
|
|
1251
1290
|
const l = !k.length;
|
|
1252
1291
|
for (const u of n)
|
|
1253
1292
|
u[1](), k.push(u, e);
|
|
@@ -1269,7 +1308,7 @@ function Ae(e, t = H) {
|
|
|
1269
1308
|
}
|
|
1270
1309
|
return { set: i, update: o, subscribe: a };
|
|
1271
1310
|
}
|
|
1272
|
-
function
|
|
1311
|
+
function Y(e, t, r) {
|
|
1273
1312
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1274
1313
|
if (!i.every(Boolean))
|
|
1275
1314
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1283,12 +1322,12 @@ function J(e, t, r) {
|
|
|
1283
1322
|
return;
|
|
1284
1323
|
f();
|
|
1285
1324
|
const p = t(n ? u[0] : u, a, s);
|
|
1286
|
-
o ? a(p) : f =
|
|
1325
|
+
o ? a(p) : f = ue(p) ? p : H;
|
|
1287
1326
|
}, d = i.map(
|
|
1288
|
-
(p, m) =>
|
|
1327
|
+
(p, m) => $t(
|
|
1289
1328
|
p,
|
|
1290
|
-
(
|
|
1291
|
-
u[m] =
|
|
1329
|
+
(x) => {
|
|
1330
|
+
u[m] = x, h &= ~(1 << m), l && c();
|
|
1292
1331
|
},
|
|
1293
1332
|
() => {
|
|
1294
1333
|
h |= 1 << m;
|
|
@@ -1300,50 +1339,50 @@ function J(e, t, r) {
|
|
|
1300
1339
|
};
|
|
1301
1340
|
});
|
|
1302
1341
|
}
|
|
1303
|
-
var
|
|
1342
|
+
var Do = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1304
1343
|
function _n(e) {
|
|
1305
1344
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1306
1345
|
}
|
|
1307
|
-
var
|
|
1308
|
-
return
|
|
1346
|
+
var xn = function(t) {
|
|
1347
|
+
return En(t) && !Sn(t);
|
|
1309
1348
|
};
|
|
1310
|
-
function
|
|
1349
|
+
function En(e) {
|
|
1311
1350
|
return !!e && typeof e == "object";
|
|
1312
1351
|
}
|
|
1313
1352
|
function Sn(e) {
|
|
1314
1353
|
var t = Object.prototype.toString.call(e);
|
|
1315
1354
|
return t === "[object RegExp]" || t === "[object Date]" || Hn(e);
|
|
1316
1355
|
}
|
|
1317
|
-
var
|
|
1356
|
+
var Tn = typeof Symbol == "function" && Symbol.for, wn = Tn ? Symbol.for("react.element") : 60103;
|
|
1318
1357
|
function Hn(e) {
|
|
1319
|
-
return e.$$typeof ===
|
|
1358
|
+
return e.$$typeof === wn;
|
|
1320
1359
|
}
|
|
1321
1360
|
function Bn(e) {
|
|
1322
1361
|
return Array.isArray(e) ? [] : {};
|
|
1323
1362
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1363
|
+
function se(e, t) {
|
|
1364
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Bn(e), e, t) : e;
|
|
1326
1365
|
}
|
|
1327
1366
|
function An(e, t, r) {
|
|
1328
1367
|
return e.concat(t).map(function(n) {
|
|
1329
|
-
return
|
|
1368
|
+
return se(n, r);
|
|
1330
1369
|
});
|
|
1331
1370
|
}
|
|
1332
1371
|
function Pn(e, t) {
|
|
1333
1372
|
if (!t.customMerge)
|
|
1334
|
-
return
|
|
1373
|
+
return Z;
|
|
1335
1374
|
var r = t.customMerge(e);
|
|
1336
|
-
return typeof r == "function" ? r :
|
|
1375
|
+
return typeof r == "function" ? r : Z;
|
|
1337
1376
|
}
|
|
1338
1377
|
function On(e) {
|
|
1339
1378
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1340
1379
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1341
1380
|
}) : [];
|
|
1342
1381
|
}
|
|
1343
|
-
function
|
|
1382
|
+
function yt(e) {
|
|
1344
1383
|
return Object.keys(e).concat(On(e));
|
|
1345
1384
|
}
|
|
1346
|
-
function
|
|
1385
|
+
function Kt(e, t) {
|
|
1347
1386
|
try {
|
|
1348
1387
|
return t in e;
|
|
1349
1388
|
} catch {
|
|
@@ -1351,179 +1390,129 @@ function er(e, t) {
|
|
|
1351
1390
|
}
|
|
1352
1391
|
}
|
|
1353
1392
|
function In(e, t) {
|
|
1354
|
-
return
|
|
1393
|
+
return Kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1355
1394
|
}
|
|
1356
1395
|
function Ln(e, t, r) {
|
|
1357
1396
|
var n = {};
|
|
1358
|
-
return r.isMergeableObject(e) &&
|
|
1359
|
-
n[i] =
|
|
1360
|
-
}),
|
|
1361
|
-
In(e, i) || (
|
|
1397
|
+
return r.isMergeableObject(e) && yt(e).forEach(function(i) {
|
|
1398
|
+
n[i] = se(e[i], r);
|
|
1399
|
+
}), yt(t).forEach(function(i) {
|
|
1400
|
+
In(e, i) || (Kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1362
1401
|
}), n;
|
|
1363
1402
|
}
|
|
1364
|
-
function
|
|
1365
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject ||
|
|
1403
|
+
function Z(e, t, r) {
|
|
1404
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = se;
|
|
1366
1405
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1367
|
-
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) :
|
|
1406
|
+
return o ? n ? r.arrayMerge(e, t, r) : Ln(e, t, r) : se(t, r);
|
|
1368
1407
|
}
|
|
1369
|
-
|
|
1408
|
+
Z.all = function(t, r) {
|
|
1370
1409
|
if (!Array.isArray(t))
|
|
1371
1410
|
throw new Error("first argument should be an array");
|
|
1372
1411
|
return t.reduce(function(n, i) {
|
|
1373
|
-
return
|
|
1412
|
+
return Z(n, i, r);
|
|
1374
1413
|
}, {});
|
|
1375
1414
|
};
|
|
1376
|
-
var
|
|
1377
|
-
const
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
r.__proto__ = n;
|
|
1381
|
-
} || function(r, n) {
|
|
1382
|
-
for (var i in n)
|
|
1383
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1384
|
-
}, Je(e, t);
|
|
1385
|
-
};
|
|
1386
|
-
function Pe(e, t) {
|
|
1387
|
-
if (typeof t != "function" && t !== null)
|
|
1388
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1389
|
-
Je(e, t);
|
|
1390
|
-
function r() {
|
|
1391
|
-
this.constructor = e;
|
|
1392
|
-
}
|
|
1393
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1394
|
-
}
|
|
1395
|
-
var L = function() {
|
|
1396
|
-
return L = Object.assign || function(t) {
|
|
1397
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1398
|
-
r = arguments[n];
|
|
1399
|
-
for (var o in r)
|
|
1400
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1401
|
-
}
|
|
1402
|
-
return t;
|
|
1403
|
-
}, L.apply(this, arguments);
|
|
1404
|
-
};
|
|
1405
|
-
function $n(e, t) {
|
|
1406
|
-
var r = {};
|
|
1407
|
-
for (var n in e)
|
|
1408
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1409
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1410
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1411
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1412
|
-
return r;
|
|
1413
|
-
}
|
|
1414
|
-
function Re(e, t, r) {
|
|
1415
|
-
if (r || arguments.length === 2)
|
|
1416
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1417
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1418
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1419
|
-
}
|
|
1420
|
-
function Ue(e, t) {
|
|
1421
|
-
var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Fn, i = t && t.strategy ? t.strategy : Dn;
|
|
1415
|
+
var Mn = Z, Cn = Mn;
|
|
1416
|
+
const Nn = /* @__PURE__ */ _n(Cn);
|
|
1417
|
+
function $e(e, t) {
|
|
1418
|
+
var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Rn;
|
|
1422
1419
|
return i(e, {
|
|
1423
1420
|
cache: r,
|
|
1424
1421
|
serializer: n
|
|
1425
1422
|
});
|
|
1426
1423
|
}
|
|
1427
|
-
function
|
|
1424
|
+
function $n(e) {
|
|
1428
1425
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1429
1426
|
}
|
|
1430
|
-
function
|
|
1431
|
-
var i =
|
|
1427
|
+
function er(e, t, r, n) {
|
|
1428
|
+
var i = $n(n) ? n : r(n), o = t.get(i);
|
|
1432
1429
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1433
1430
|
}
|
|
1434
1431
|
function tr(e, t, r) {
|
|
1435
1432
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1436
1433
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1437
1434
|
}
|
|
1438
|
-
function
|
|
1435
|
+
function it(e, t, r, n, i) {
|
|
1439
1436
|
return r.bind(t, e, n, i);
|
|
1440
1437
|
}
|
|
1441
|
-
function
|
|
1442
|
-
var r = e.length === 1 ?
|
|
1443
|
-
return
|
|
1438
|
+
function Rn(e, t) {
|
|
1439
|
+
var r = e.length === 1 ? er : tr;
|
|
1440
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
1444
1441
|
}
|
|
1445
|
-
function
|
|
1446
|
-
return
|
|
1442
|
+
function Un(e, t) {
|
|
1443
|
+
return it(e, this, tr, t.cache.create(), t.serializer);
|
|
1447
1444
|
}
|
|
1448
|
-
|
|
1445
|
+
function Dn(e, t) {
|
|
1446
|
+
return it(e, this, er, t.cache.create(), t.serializer);
|
|
1447
|
+
}
|
|
1448
|
+
var Gn = function() {
|
|
1449
1449
|
return JSON.stringify(arguments);
|
|
1450
|
-
}
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
}()
|
|
1462
|
-
), kn = {
|
|
1450
|
+
};
|
|
1451
|
+
function ot() {
|
|
1452
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1453
|
+
}
|
|
1454
|
+
ot.prototype.get = function(e) {
|
|
1455
|
+
return this.cache[e];
|
|
1456
|
+
};
|
|
1457
|
+
ot.prototype.set = function(e, t) {
|
|
1458
|
+
this.cache[e] = t;
|
|
1459
|
+
};
|
|
1460
|
+
var Fn = {
|
|
1463
1461
|
create: function() {
|
|
1464
|
-
return new
|
|
1462
|
+
return new ot();
|
|
1465
1463
|
}
|
|
1466
|
-
},
|
|
1467
|
-
variadic:
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1471
|
-
r = arguments[n];
|
|
1472
|
-
for (var o in r)
|
|
1473
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1474
|
-
}
|
|
1475
|
-
return t;
|
|
1476
|
-
}, we.apply(this, arguments);
|
|
1477
|
-
};
|
|
1478
|
-
var b;
|
|
1464
|
+
}, Re = {
|
|
1465
|
+
variadic: Un,
|
|
1466
|
+
monadic: Dn
|
|
1467
|
+
}, b;
|
|
1479
1468
|
(function(e) {
|
|
1480
1469
|
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";
|
|
1481
1470
|
})(b || (b = {}));
|
|
1482
|
-
var
|
|
1471
|
+
var _;
|
|
1483
1472
|
(function(e) {
|
|
1484
1473
|
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";
|
|
1485
|
-
})(
|
|
1486
|
-
var
|
|
1474
|
+
})(_ || (_ = {}));
|
|
1475
|
+
var q;
|
|
1487
1476
|
(function(e) {
|
|
1488
1477
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1489
|
-
})(
|
|
1490
|
-
function
|
|
1491
|
-
return e.type ===
|
|
1478
|
+
})(q || (q = {}));
|
|
1479
|
+
function vt(e) {
|
|
1480
|
+
return e.type === _.literal;
|
|
1492
1481
|
}
|
|
1493
|
-
function
|
|
1494
|
-
return e.type ===
|
|
1482
|
+
function jn(e) {
|
|
1483
|
+
return e.type === _.argument;
|
|
1484
|
+
}
|
|
1485
|
+
function rr(e) {
|
|
1486
|
+
return e.type === _.number;
|
|
1495
1487
|
}
|
|
1496
1488
|
function nr(e) {
|
|
1497
|
-
return e.type ===
|
|
1489
|
+
return e.type === _.date;
|
|
1498
1490
|
}
|
|
1499
1491
|
function ir(e) {
|
|
1500
|
-
return e.type ===
|
|
1492
|
+
return e.type === _.time;
|
|
1501
1493
|
}
|
|
1502
1494
|
function or(e) {
|
|
1503
|
-
return e.type ===
|
|
1495
|
+
return e.type === _.select;
|
|
1504
1496
|
}
|
|
1505
1497
|
function sr(e) {
|
|
1506
|
-
return e.type ===
|
|
1498
|
+
return e.type === _.plural;
|
|
1507
1499
|
}
|
|
1508
|
-
function
|
|
1509
|
-
return e.type ===
|
|
1500
|
+
function kn(e) {
|
|
1501
|
+
return e.type === _.pound;
|
|
1510
1502
|
}
|
|
1511
|
-
function
|
|
1512
|
-
return e.type ===
|
|
1503
|
+
function ar(e) {
|
|
1504
|
+
return e.type === _.tag;
|
|
1513
1505
|
}
|
|
1514
1506
|
function ur(e) {
|
|
1515
|
-
return e.type ===
|
|
1516
|
-
}
|
|
1517
|
-
function lr(e) {
|
|
1518
|
-
return !!(e && typeof e == "object" && e.type === Z.number);
|
|
1507
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
|
1519
1508
|
}
|
|
1520
|
-
function
|
|
1521
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1509
|
+
function Ze(e) {
|
|
1510
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
1522
1511
|
}
|
|
1523
|
-
var
|
|
1524
|
-
function
|
|
1512
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
|
|
1513
|
+
function Xn(e) {
|
|
1525
1514
|
var t = {};
|
|
1526
|
-
return e.replace(
|
|
1515
|
+
return e.replace(Vn, function(r) {
|
|
1527
1516
|
var n = r.length;
|
|
1528
1517
|
switch (r[0]) {
|
|
1529
1518
|
case "G":
|
|
@@ -1612,21 +1601,11 @@ function zn(e) {
|
|
|
1612
1601
|
return "";
|
|
1613
1602
|
}), t;
|
|
1614
1603
|
}
|
|
1615
|
-
var
|
|
1616
|
-
|
|
1617
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1618
|
-
r = arguments[n];
|
|
1619
|
-
for (var o in r)
|
|
1620
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1621
|
-
}
|
|
1622
|
-
return t;
|
|
1623
|
-
}, E.apply(this, arguments);
|
|
1624
|
-
};
|
|
1625
|
-
var Zn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1626
|
-
function qn(e) {
|
|
1604
|
+
var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1605
|
+
function zn(e) {
|
|
1627
1606
|
if (e.length === 0)
|
|
1628
1607
|
throw new Error("Number skeleton cannot be empty");
|
|
1629
|
-
for (var t = e.split(
|
|
1608
|
+
for (var t = e.split(Wn).filter(function(c) {
|
|
1630
1609
|
return c.length > 0;
|
|
1631
1610
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1632
1611
|
var o = i[n], a = o.split("/");
|
|
@@ -1641,17 +1620,17 @@ function qn(e) {
|
|
|
1641
1620
|
}
|
|
1642
1621
|
return r;
|
|
1643
1622
|
}
|
|
1644
|
-
function
|
|
1623
|
+
function Zn(e) {
|
|
1645
1624
|
return e.replace(/^(.*?)-/, "");
|
|
1646
1625
|
}
|
|
1647
|
-
var
|
|
1648
|
-
function
|
|
1626
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, hr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
|
|
1627
|
+
function xt(e) {
|
|
1649
1628
|
var t = {};
|
|
1650
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1629
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(hr, function(r, n, i) {
|
|
1651
1630
|
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)), "";
|
|
1652
1631
|
}), t;
|
|
1653
1632
|
}
|
|
1654
|
-
function
|
|
1633
|
+
function fr(e) {
|
|
1655
1634
|
switch (e) {
|
|
1656
1635
|
case "sign-auto":
|
|
1657
1636
|
return {
|
|
@@ -1691,7 +1670,7 @@ function pr(e) {
|
|
|
1691
1670
|
};
|
|
1692
1671
|
}
|
|
1693
1672
|
}
|
|
1694
|
-
function
|
|
1673
|
+
function Qn(e) {
|
|
1695
1674
|
var t;
|
|
1696
1675
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1697
1676
|
notation: "engineering"
|
|
@@ -1699,17 +1678,17 @@ function Yn(e) {
|
|
|
1699
1678
|
notation: "scientific"
|
|
1700
1679
|
}, e = e.slice(1)), t) {
|
|
1701
1680
|
var r = e.slice(0, 2);
|
|
1702
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1681
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
|
|
1703
1682
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1704
1683
|
t.minimumIntegerDigits = e.length;
|
|
1705
1684
|
}
|
|
1706
1685
|
return t;
|
|
1707
1686
|
}
|
|
1708
|
-
function
|
|
1709
|
-
var t = {}, r =
|
|
1687
|
+
function Et(e) {
|
|
1688
|
+
var t = {}, r = fr(e);
|
|
1710
1689
|
return r || t;
|
|
1711
1690
|
}
|
|
1712
|
-
function
|
|
1691
|
+
function Jn(e) {
|
|
1713
1692
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1714
1693
|
var i = n[r];
|
|
1715
1694
|
switch (i.stem) {
|
|
@@ -1733,7 +1712,7 @@ function Kn(e) {
|
|
|
1733
1712
|
continue;
|
|
1734
1713
|
case "measure-unit":
|
|
1735
1714
|
case "unit":
|
|
1736
|
-
t.style = "unit", t.unit =
|
|
1715
|
+
t.style = "unit", t.unit = Zn(i.options[0]);
|
|
1737
1716
|
continue;
|
|
1738
1717
|
case "compact-short":
|
|
1739
1718
|
case "K":
|
|
@@ -1744,13 +1723,13 @@ function Kn(e) {
|
|
|
1744
1723
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1745
1724
|
continue;
|
|
1746
1725
|
case "scientific":
|
|
1747
|
-
t =
|
|
1748
|
-
return
|
|
1726
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1727
|
+
return y(y({}, l), Et(u));
|
|
1749
1728
|
}, {}));
|
|
1750
1729
|
continue;
|
|
1751
1730
|
case "engineering":
|
|
1752
|
-
t =
|
|
1753
|
-
return
|
|
1731
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1732
|
+
return y(y({}, l), Et(u));
|
|
1754
1733
|
}, {}));
|
|
1755
1734
|
continue;
|
|
1756
1735
|
case "notation-simple":
|
|
@@ -1795,7 +1774,7 @@ function Kn(e) {
|
|
|
1795
1774
|
case "integer-width":
|
|
1796
1775
|
if (i.options.length > 1)
|
|
1797
1776
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1798
|
-
i.options[0].replace(
|
|
1777
|
+
i.options[0].replace(qn, function(l, u, h, f, c, d) {
|
|
1799
1778
|
if (u)
|
|
1800
1779
|
t.minimumIntegerDigits = h.length;
|
|
1801
1780
|
else {
|
|
@@ -1808,28 +1787,28 @@ function Kn(e) {
|
|
|
1808
1787
|
});
|
|
1809
1788
|
continue;
|
|
1810
1789
|
}
|
|
1811
|
-
if (
|
|
1790
|
+
if (cr.test(i.stem)) {
|
|
1812
1791
|
t.minimumIntegerDigits = i.stem.length;
|
|
1813
1792
|
continue;
|
|
1814
1793
|
}
|
|
1815
|
-
if (
|
|
1794
|
+
if (_t.test(i.stem)) {
|
|
1816
1795
|
if (i.options.length > 1)
|
|
1817
1796
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1818
|
-
i.stem.replace(
|
|
1797
|
+
i.stem.replace(_t, function(l, u, h, f, c, d) {
|
|
1819
1798
|
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), "";
|
|
1820
1799
|
});
|
|
1821
1800
|
var o = i.options[0];
|
|
1822
|
-
o === "w" ? t =
|
|
1801
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
|
|
1823
1802
|
continue;
|
|
1824
1803
|
}
|
|
1825
|
-
if (
|
|
1826
|
-
t =
|
|
1804
|
+
if (hr.test(i.stem)) {
|
|
1805
|
+
t = y(y({}, t), xt(i.stem));
|
|
1827
1806
|
continue;
|
|
1828
1807
|
}
|
|
1829
|
-
var a =
|
|
1830
|
-
a && (t =
|
|
1831
|
-
var s =
|
|
1832
|
-
s && (t =
|
|
1808
|
+
var a = fr(i.stem);
|
|
1809
|
+
a && (t = y(y({}, t), a));
|
|
1810
|
+
var s = Qn(i.stem);
|
|
1811
|
+
s && (t = y(y({}, t), s));
|
|
1833
1812
|
}
|
|
1834
1813
|
return t;
|
|
1835
1814
|
}
|
|
@@ -3248,13 +3227,13 @@ var me = {
|
|
|
3248
3227
|
"h"
|
|
3249
3228
|
]
|
|
3250
3229
|
};
|
|
3251
|
-
function
|
|
3230
|
+
function Yn(e, t) {
|
|
3252
3231
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3253
3232
|
var i = e.charAt(n);
|
|
3254
3233
|
if (i === "j") {
|
|
3255
3234
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3256
3235
|
o++, n++;
|
|
3257
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3236
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Kn(t);
|
|
3258
3237
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3259
3238
|
r += l;
|
|
3260
3239
|
for (; a-- > 0; )
|
|
@@ -3264,7 +3243,7 @@ function ei(e, t) {
|
|
|
3264
3243
|
}
|
|
3265
3244
|
return r;
|
|
3266
3245
|
}
|
|
3267
|
-
function
|
|
3246
|
+
function Kn(e) {
|
|
3268
3247
|
var t = e.hourCycle;
|
|
3269
3248
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3270
3249
|
e.hourCycles && // @ts-ignore
|
|
@@ -3286,20 +3265,20 @@ function ti(e) {
|
|
|
3286
3265
|
var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
|
|
3287
3266
|
return i[0];
|
|
3288
3267
|
}
|
|
3289
|
-
var
|
|
3290
|
-
function
|
|
3268
|
+
var Ue, ei = new RegExp("^".concat(lr.source, "*")), ti = new RegExp("".concat(lr.source, "*$"));
|
|
3269
|
+
function g(e, t) {
|
|
3291
3270
|
return { start: e, end: t };
|
|
3292
3271
|
}
|
|
3293
|
-
var
|
|
3272
|
+
var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, ui = !!Number.isSafeInteger, li = ui ? Number.isSafeInteger : function(e) {
|
|
3294
3273
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3295
|
-
},
|
|
3274
|
+
}, qe = !0;
|
|
3296
3275
|
try {
|
|
3297
|
-
var
|
|
3298
|
-
|
|
3276
|
+
var hi = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3277
|
+
qe = ((Ue = hi.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
3299
3278
|
} catch {
|
|
3300
|
-
|
|
3279
|
+
qe = !1;
|
|
3301
3280
|
}
|
|
3302
|
-
var
|
|
3281
|
+
var St = ri ? (
|
|
3303
3282
|
// Native
|
|
3304
3283
|
function(t, r, n) {
|
|
3305
3284
|
return t.startsWith(r, n);
|
|
@@ -3309,7 +3288,7 @@ var Tt = ii ? (
|
|
|
3309
3288
|
function(t, r, n) {
|
|
3310
3289
|
return t.slice(n, n + r.length) === r;
|
|
3311
3290
|
}
|
|
3312
|
-
),
|
|
3291
|
+
), Qe = ni ? String.fromCodePoint : (
|
|
3313
3292
|
// IE11
|
|
3314
3293
|
function() {
|
|
3315
3294
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3321,9 +3300,9 @@ var Tt = ii ? (
|
|
|
3321
3300
|
}
|
|
3322
3301
|
return n;
|
|
3323
3302
|
}
|
|
3324
|
-
),
|
|
3303
|
+
), Tt = (
|
|
3325
3304
|
// native
|
|
3326
|
-
|
|
3305
|
+
ii ? Object.fromEntries : (
|
|
3327
3306
|
// Ponyfill
|
|
3328
3307
|
function(t) {
|
|
3329
3308
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3333,7 +3312,7 @@ var Tt = ii ? (
|
|
|
3333
3312
|
return r;
|
|
3334
3313
|
}
|
|
3335
3314
|
)
|
|
3336
|
-
),
|
|
3315
|
+
), pr = oi ? (
|
|
3337
3316
|
// Native
|
|
3338
3317
|
function(t, r) {
|
|
3339
3318
|
return t.codePointAt(r);
|
|
@@ -3347,7 +3326,7 @@ var Tt = ii ? (
|
|
|
3347
3326
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3348
3327
|
}
|
|
3349
3328
|
}
|
|
3350
|
-
),
|
|
3329
|
+
), ci = si ? (
|
|
3351
3330
|
// Native
|
|
3352
3331
|
function(t) {
|
|
3353
3332
|
return t.trimStart();
|
|
@@ -3355,9 +3334,9 @@ var Tt = ii ? (
|
|
|
3355
3334
|
) : (
|
|
3356
3335
|
// Ponyfill
|
|
3357
3336
|
function(t) {
|
|
3358
|
-
return t.replace(
|
|
3337
|
+
return t.replace(ei, "");
|
|
3359
3338
|
}
|
|
3360
|
-
),
|
|
3339
|
+
), fi = ai ? (
|
|
3361
3340
|
// Native
|
|
3362
3341
|
function(t) {
|
|
3363
3342
|
return t.trimEnd();
|
|
@@ -3365,32 +3344,32 @@ var Tt = ii ? (
|
|
|
3365
3344
|
) : (
|
|
3366
3345
|
// Ponyfill
|
|
3367
3346
|
function(t) {
|
|
3368
|
-
return t.replace(
|
|
3347
|
+
return t.replace(ti, "");
|
|
3369
3348
|
}
|
|
3370
3349
|
);
|
|
3371
|
-
function
|
|
3350
|
+
function dr(e, t) {
|
|
3372
3351
|
return new RegExp(e, t);
|
|
3373
3352
|
}
|
|
3374
|
-
var
|
|
3375
|
-
if (
|
|
3376
|
-
var
|
|
3377
|
-
|
|
3353
|
+
var Je;
|
|
3354
|
+
if (qe) {
|
|
3355
|
+
var wt = dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3356
|
+
Je = function(t, r) {
|
|
3378
3357
|
var n;
|
|
3379
|
-
|
|
3380
|
-
var i =
|
|
3358
|
+
wt.lastIndex = r;
|
|
3359
|
+
var i = wt.exec(t);
|
|
3381
3360
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3382
3361
|
};
|
|
3383
3362
|
} else
|
|
3384
|
-
|
|
3363
|
+
Je = function(t, r) {
|
|
3385
3364
|
for (var n = []; ; ) {
|
|
3386
|
-
var i =
|
|
3387
|
-
if (i === void 0 ||
|
|
3365
|
+
var i = pr(t, r);
|
|
3366
|
+
if (i === void 0 || mr(i) || bi(i))
|
|
3388
3367
|
break;
|
|
3389
3368
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3390
3369
|
}
|
|
3391
|
-
return
|
|
3370
|
+
return Qe.apply(void 0, n);
|
|
3392
3371
|
};
|
|
3393
|
-
var
|
|
3372
|
+
var pi = (
|
|
3394
3373
|
/** @class */
|
|
3395
3374
|
function() {
|
|
3396
3375
|
function e(t, r) {
|
|
@@ -3414,14 +3393,14 @@ var mi = (
|
|
|
3414
3393
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3415
3394
|
var s = this.clonePosition();
|
|
3416
3395
|
this.bump(), i.push({
|
|
3417
|
-
type:
|
|
3418
|
-
location:
|
|
3396
|
+
type: _.pound,
|
|
3397
|
+
location: g(s, this.clonePosition())
|
|
3419
3398
|
});
|
|
3420
3399
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3421
3400
|
if (n)
|
|
3422
3401
|
break;
|
|
3423
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3424
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3402
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
|
3403
|
+
} else if (o === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
|
|
3425
3404
|
var a = this.parseTag(t, r);
|
|
3426
3405
|
if (a.err)
|
|
3427
3406
|
return a;
|
|
@@ -3442,9 +3421,9 @@ var mi = (
|
|
|
3442
3421
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3443
3422
|
return {
|
|
3444
3423
|
val: {
|
|
3445
|
-
type:
|
|
3424
|
+
type: _.literal,
|
|
3446
3425
|
value: "<".concat(i, "/>"),
|
|
3447
|
-
location:
|
|
3426
|
+
location: g(n, this.clonePosition())
|
|
3448
3427
|
},
|
|
3449
3428
|
err: null
|
|
3450
3429
|
};
|
|
@@ -3454,25 +3433,25 @@ var mi = (
|
|
|
3454
3433
|
return o;
|
|
3455
3434
|
var a = o.val, s = this.clonePosition();
|
|
3456
3435
|
if (this.bumpIf("</")) {
|
|
3457
|
-
if (this.isEOF() || !
|
|
3458
|
-
return this.error(b.INVALID_TAG,
|
|
3436
|
+
if (this.isEOF() || !Ye(this.char()))
|
|
3437
|
+
return this.error(b.INVALID_TAG, g(s, this.clonePosition()));
|
|
3459
3438
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3460
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3439
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3461
3440
|
val: {
|
|
3462
|
-
type:
|
|
3441
|
+
type: _.tag,
|
|
3463
3442
|
value: i,
|
|
3464
3443
|
children: a,
|
|
3465
|
-
location:
|
|
3444
|
+
location: g(n, this.clonePosition())
|
|
3466
3445
|
},
|
|
3467
3446
|
err: null
|
|
3468
|
-
} : this.error(b.INVALID_TAG,
|
|
3447
|
+
} : this.error(b.INVALID_TAG, g(s, this.clonePosition())));
|
|
3469
3448
|
} else
|
|
3470
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3449
|
+
return this.error(b.UNCLOSED_TAG, g(n, this.clonePosition()));
|
|
3471
3450
|
} else
|
|
3472
|
-
return this.error(b.INVALID_TAG,
|
|
3451
|
+
return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
|
|
3473
3452
|
}, e.prototype.parseTagName = function() {
|
|
3474
3453
|
var t = this.offset();
|
|
3475
|
-
for (this.bump(); !this.isEOF() &&
|
|
3454
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
|
3476
3455
|
this.bump();
|
|
3477
3456
|
return this.message.slice(t, this.offset());
|
|
3478
3457
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3494,14 +3473,14 @@ var mi = (
|
|
|
3494
3473
|
}
|
|
3495
3474
|
break;
|
|
3496
3475
|
}
|
|
3497
|
-
var l =
|
|
3476
|
+
var l = g(n, this.clonePosition());
|
|
3498
3477
|
return {
|
|
3499
|
-
val: { type:
|
|
3478
|
+
val: { type: _.literal, value: i, location: l },
|
|
3500
3479
|
err: null
|
|
3501
3480
|
};
|
|
3502
3481
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3503
3482
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3504
|
-
!
|
|
3483
|
+
!di(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3505
3484
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3506
3485
|
if (this.isEOF() || this.char() !== 39)
|
|
3507
3486
|
return null;
|
|
@@ -3535,49 +3514,49 @@ var mi = (
|
|
|
3535
3514
|
r.push(n);
|
|
3536
3515
|
this.bump();
|
|
3537
3516
|
}
|
|
3538
|
-
return
|
|
3517
|
+
return Qe.apply(void 0, r);
|
|
3539
3518
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3540
3519
|
if (this.isEOF())
|
|
3541
3520
|
return null;
|
|
3542
3521
|
var n = this.char();
|
|
3543
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3522
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3544
3523
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3545
3524
|
var n = this.clonePosition();
|
|
3546
3525
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3547
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3526
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3548
3527
|
if (this.char() === 125)
|
|
3549
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3528
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, g(n, this.clonePosition()));
|
|
3550
3529
|
var i = this.parseIdentifierIfPossible().value;
|
|
3551
3530
|
if (!i)
|
|
3552
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3531
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3553
3532
|
if (this.bumpSpace(), this.isEOF())
|
|
3554
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3533
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
|
|
3555
3534
|
switch (this.char()) {
|
|
3556
3535
|
case 125:
|
|
3557
3536
|
return this.bump(), {
|
|
3558
3537
|
val: {
|
|
3559
|
-
type:
|
|
3538
|
+
type: _.argument,
|
|
3560
3539
|
// value does not include the opening and closing braces.
|
|
3561
3540
|
value: i,
|
|
3562
|
-
location:
|
|
3541
|
+
location: g(n, this.clonePosition())
|
|
3563
3542
|
},
|
|
3564
3543
|
err: null
|
|
3565
3544
|
};
|
|
3566
3545
|
case 44:
|
|
3567
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3546
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3568
3547
|
default:
|
|
3569
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3548
|
+
return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
|
3570
3549
|
}
|
|
3571
3550
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3572
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3551
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3573
3552
|
this.bumpTo(i);
|
|
3574
|
-
var o = this.clonePosition(), a =
|
|
3553
|
+
var o = this.clonePosition(), a = g(t, o);
|
|
3575
3554
|
return { value: n, location: a };
|
|
3576
3555
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3577
3556
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3578
3557
|
switch (s) {
|
|
3579
3558
|
case "":
|
|
3580
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3559
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, g(a, l));
|
|
3581
3560
|
case "number":
|
|
3582
3561
|
case "date":
|
|
3583
3562
|
case "time": {
|
|
@@ -3588,35 +3567,35 @@ var mi = (
|
|
|
3588
3567
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3589
3568
|
if (f.err)
|
|
3590
3569
|
return f;
|
|
3591
|
-
var c =
|
|
3570
|
+
var c = fi(f.val);
|
|
3592
3571
|
if (c.length === 0)
|
|
3593
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3594
|
-
var d =
|
|
3572
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
|
3573
|
+
var d = g(h, this.clonePosition());
|
|
3595
3574
|
u = { style: c, styleLocation: d };
|
|
3596
3575
|
}
|
|
3597
3576
|
var p = this.tryParseArgumentClose(i);
|
|
3598
3577
|
if (p.err)
|
|
3599
3578
|
return p;
|
|
3600
|
-
var m =
|
|
3601
|
-
if (u &&
|
|
3602
|
-
var
|
|
3579
|
+
var m = g(i, this.clonePosition());
|
|
3580
|
+
if (u && St(u?.style, "::", 0)) {
|
|
3581
|
+
var x = ci(u.style.slice(2));
|
|
3603
3582
|
if (s === "number") {
|
|
3604
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3583
|
+
var f = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3605
3584
|
return f.err ? f : {
|
|
3606
|
-
val: { type:
|
|
3585
|
+
val: { type: _.number, value: n, location: m, style: f.val },
|
|
3607
3586
|
err: null
|
|
3608
3587
|
};
|
|
3609
3588
|
} else {
|
|
3610
|
-
if (
|
|
3589
|
+
if (x.length === 0)
|
|
3611
3590
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3612
|
-
var
|
|
3613
|
-
this.locale && (
|
|
3591
|
+
var T = x;
|
|
3592
|
+
this.locale && (T = Yn(x, this.locale));
|
|
3614
3593
|
var c = {
|
|
3615
|
-
type:
|
|
3616
|
-
pattern:
|
|
3594
|
+
type: q.dateTime,
|
|
3595
|
+
pattern: T,
|
|
3617
3596
|
location: u.styleLocation,
|
|
3618
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3619
|
-
}, P = s === "date" ?
|
|
3597
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(T) : {}
|
|
3598
|
+
}, P = s === "date" ? _.date : _.time;
|
|
3620
3599
|
return {
|
|
3621
3600
|
val: { type: P, value: n, location: m, style: c },
|
|
3622
3601
|
err: null
|
|
@@ -3625,7 +3604,7 @@ var mi = (
|
|
|
3625
3604
|
}
|
|
3626
3605
|
return {
|
|
3627
3606
|
val: {
|
|
3628
|
-
type: s === "number" ?
|
|
3607
|
+
type: s === "number" ? _.number : s === "date" ? _.date : _.time,
|
|
3629
3608
|
value: n,
|
|
3630
3609
|
location: m,
|
|
3631
3610
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3636,19 +3615,19 @@ var mi = (
|
|
|
3636
3615
|
case "plural":
|
|
3637
3616
|
case "selectordinal":
|
|
3638
3617
|
case "select": {
|
|
3639
|
-
var
|
|
3618
|
+
var E = this.clonePosition();
|
|
3640
3619
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3641
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3620
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(E, y({}, E)));
|
|
3642
3621
|
this.bumpSpace();
|
|
3643
|
-
var O = this.parseIdentifierIfPossible(),
|
|
3622
|
+
var O = this.parseIdentifierIfPossible(), w = 0;
|
|
3644
3623
|
if (s !== "select" && O.value === "offset") {
|
|
3645
3624
|
if (!this.bumpIf(":"))
|
|
3646
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3625
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
|
3647
3626
|
this.bumpSpace();
|
|
3648
3627
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3649
3628
|
if (f.err)
|
|
3650
3629
|
return f;
|
|
3651
|
-
this.bumpSpace(), O = this.parseIdentifierIfPossible(),
|
|
3630
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), w = f.val;
|
|
3652
3631
|
}
|
|
3653
3632
|
var $ = this.tryParsePluralOrSelectOptions(t, s, r, O);
|
|
3654
3633
|
if ($.err)
|
|
@@ -3656,21 +3635,21 @@ var mi = (
|
|
|
3656
3635
|
var p = this.tryParseArgumentClose(i);
|
|
3657
3636
|
if (p.err)
|
|
3658
3637
|
return p;
|
|
3659
|
-
var fe =
|
|
3638
|
+
var fe = g(i, this.clonePosition());
|
|
3660
3639
|
return s === "select" ? {
|
|
3661
3640
|
val: {
|
|
3662
|
-
type:
|
|
3641
|
+
type: _.select,
|
|
3663
3642
|
value: n,
|
|
3664
|
-
options:
|
|
3643
|
+
options: Tt($.val),
|
|
3665
3644
|
location: fe
|
|
3666
3645
|
},
|
|
3667
3646
|
err: null
|
|
3668
3647
|
} : {
|
|
3669
3648
|
val: {
|
|
3670
|
-
type:
|
|
3649
|
+
type: _.plural,
|
|
3671
3650
|
value: n,
|
|
3672
|
-
options:
|
|
3673
|
-
offset:
|
|
3651
|
+
options: Tt($.val),
|
|
3652
|
+
offset: w,
|
|
3674
3653
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3675
3654
|
location: fe
|
|
3676
3655
|
},
|
|
@@ -3678,10 +3657,10 @@ var mi = (
|
|
|
3678
3657
|
};
|
|
3679
3658
|
}
|
|
3680
3659
|
default:
|
|
3681
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3660
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, g(a, l));
|
|
3682
3661
|
}
|
|
3683
3662
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3684
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3663
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3685
3664
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3686
3665
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3687
3666
|
var n = this.char();
|
|
@@ -3690,7 +3669,7 @@ var mi = (
|
|
|
3690
3669
|
this.bump();
|
|
3691
3670
|
var i = this.clonePosition();
|
|
3692
3671
|
if (!this.bumpUntil("'"))
|
|
3693
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3672
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
|
|
3694
3673
|
this.bump();
|
|
3695
3674
|
break;
|
|
3696
3675
|
}
|
|
@@ -3720,16 +3699,16 @@ var mi = (
|
|
|
3720
3699
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3721
3700
|
var n = [];
|
|
3722
3701
|
try {
|
|
3723
|
-
n =
|
|
3702
|
+
n = zn(t);
|
|
3724
3703
|
} catch {
|
|
3725
3704
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3726
3705
|
}
|
|
3727
3706
|
return {
|
|
3728
3707
|
val: {
|
|
3729
|
-
type:
|
|
3708
|
+
type: q.number,
|
|
3730
3709
|
tokens: n,
|
|
3731
3710
|
location: r,
|
|
3732
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3711
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
|
|
3733
3712
|
},
|
|
3734
3713
|
err: null
|
|
3735
3714
|
};
|
|
@@ -3741,7 +3720,7 @@ var mi = (
|
|
|
3741
3720
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3742
3721
|
if (c.err)
|
|
3743
3722
|
return c;
|
|
3744
|
-
h =
|
|
3723
|
+
h = g(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3745
3724
|
} else
|
|
3746
3725
|
break;
|
|
3747
3726
|
}
|
|
@@ -3750,7 +3729,7 @@ var mi = (
|
|
|
3750
3729
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3751
3730
|
var d = this.clonePosition();
|
|
3752
3731
|
if (!this.bumpIf("{"))
|
|
3753
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3732
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
|
|
3754
3733
|
var p = this.parseMessage(t + 1, r, n);
|
|
3755
3734
|
if (p.err)
|
|
3756
3735
|
return p;
|
|
@@ -3761,11 +3740,11 @@ var mi = (
|
|
|
3761
3740
|
u,
|
|
3762
3741
|
{
|
|
3763
3742
|
value: p.val,
|
|
3764
|
-
location:
|
|
3743
|
+
location: g(d, this.clonePosition())
|
|
3765
3744
|
}
|
|
3766
3745
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3767
3746
|
}
|
|
3768
|
-
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3747
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3769
3748
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3770
3749
|
var n = 1, i = this.clonePosition();
|
|
3771
3750
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3776,8 +3755,8 @@ var mi = (
|
|
|
3776
3755
|
else
|
|
3777
3756
|
break;
|
|
3778
3757
|
}
|
|
3779
|
-
var l =
|
|
3780
|
-
return o ? (a *= n,
|
|
3758
|
+
var l = g(i, this.clonePosition());
|
|
3759
|
+
return o ? (a *= n, li(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3781
3760
|
}, e.prototype.offset = function() {
|
|
3782
3761
|
return this.position.offset;
|
|
3783
3762
|
}, e.prototype.isEOF = function() {
|
|
@@ -3792,7 +3771,7 @@ var mi = (
|
|
|
3792
3771
|
var t = this.position.offset;
|
|
3793
3772
|
if (t >= this.message.length)
|
|
3794
3773
|
throw Error("out of bound");
|
|
3795
|
-
var r =
|
|
3774
|
+
var r = pr(this.message, t);
|
|
3796
3775
|
if (r === void 0)
|
|
3797
3776
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3798
3777
|
return r;
|
|
@@ -3811,7 +3790,7 @@ var mi = (
|
|
|
3811
3790
|
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);
|
|
3812
3791
|
}
|
|
3813
3792
|
}, e.prototype.bumpIf = function(t) {
|
|
3814
|
-
if (
|
|
3793
|
+
if (St(this.message, t, this.offset())) {
|
|
3815
3794
|
for (var r = 0; r < t.length; r++)
|
|
3816
3795
|
this.bump();
|
|
3817
3796
|
return !0;
|
|
@@ -3833,7 +3812,7 @@ var mi = (
|
|
|
3833
3812
|
break;
|
|
3834
3813
|
}
|
|
3835
3814
|
}, e.prototype.bumpSpace = function() {
|
|
3836
|
-
for (; !this.isEOF() &&
|
|
3815
|
+
for (; !this.isEOF() && mr(this.char()); )
|
|
3837
3816
|
this.bump();
|
|
3838
3817
|
}, e.prototype.peek = function() {
|
|
3839
3818
|
if (this.isEOF())
|
|
@@ -3843,47 +3822,47 @@ var mi = (
|
|
|
3843
3822
|
}, e;
|
|
3844
3823
|
}()
|
|
3845
3824
|
);
|
|
3846
|
-
function
|
|
3825
|
+
function Ye(e) {
|
|
3847
3826
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3848
3827
|
}
|
|
3849
|
-
function
|
|
3850
|
-
return
|
|
3828
|
+
function di(e) {
|
|
3829
|
+
return Ye(e) || e === 47;
|
|
3851
3830
|
}
|
|
3852
|
-
function
|
|
3831
|
+
function mi(e) {
|
|
3853
3832
|
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;
|
|
3854
3833
|
}
|
|
3855
|
-
function
|
|
3834
|
+
function mr(e) {
|
|
3856
3835
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3857
3836
|
}
|
|
3858
|
-
function
|
|
3837
|
+
function bi(e) {
|
|
3859
3838
|
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;
|
|
3860
3839
|
}
|
|
3861
|
-
function
|
|
3840
|
+
function Ke(e) {
|
|
3862
3841
|
e.forEach(function(t) {
|
|
3863
|
-
if (delete t.location,
|
|
3842
|
+
if (delete t.location, or(t) || sr(t))
|
|
3864
3843
|
for (var r in t.options)
|
|
3865
|
-
delete t.options[r].location,
|
|
3844
|
+
delete t.options[r].location, Ke(t.options[r].value);
|
|
3866
3845
|
else
|
|
3867
|
-
|
|
3846
|
+
rr(t) && ur(t.style) || (nr(t) || ir(t)) && Ze(t.style) ? delete t.style.location : ar(t) && Ke(t.children);
|
|
3868
3847
|
});
|
|
3869
3848
|
}
|
|
3870
|
-
function
|
|
3871
|
-
t === void 0 && (t = {}), t =
|
|
3872
|
-
var r = new
|
|
3849
|
+
function gi(e, t) {
|
|
3850
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3851
|
+
var r = new pi(e, t).parse();
|
|
3873
3852
|
if (r.err) {
|
|
3874
3853
|
var n = SyntaxError(b[r.err.kind]);
|
|
3875
3854
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3876
3855
|
}
|
|
3877
|
-
return t?.captureLocation ||
|
|
3856
|
+
return t?.captureLocation || Ke(r.val), r.val;
|
|
3878
3857
|
}
|
|
3879
|
-
var
|
|
3858
|
+
var Q;
|
|
3880
3859
|
(function(e) {
|
|
3881
3860
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3882
|
-
})(
|
|
3883
|
-
var
|
|
3861
|
+
})(Q || (Q = {}));
|
|
3862
|
+
var Ae = (
|
|
3884
3863
|
/** @class */
|
|
3885
3864
|
function(e) {
|
|
3886
|
-
|
|
3865
|
+
N(t, e);
|
|
3887
3866
|
function t(r, n, i) {
|
|
3888
3867
|
var o = e.call(this, r) || this;
|
|
3889
3868
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3892,48 +3871,48 @@ var Oe = (
|
|
|
3892
3871
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3893
3872
|
}, t;
|
|
3894
3873
|
}(Error)
|
|
3895
|
-
),
|
|
3874
|
+
), Ht = (
|
|
3896
3875
|
/** @class */
|
|
3897
3876
|
function(e) {
|
|
3898
|
-
|
|
3877
|
+
N(t, e);
|
|
3899
3878
|
function t(r, n, i, o) {
|
|
3900
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3879
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, o) || this;
|
|
3901
3880
|
}
|
|
3902
3881
|
return t;
|
|
3903
|
-
}(
|
|
3904
|
-
),
|
|
3882
|
+
}(Ae)
|
|
3883
|
+
), yi = (
|
|
3905
3884
|
/** @class */
|
|
3906
3885
|
function(e) {
|
|
3907
|
-
|
|
3886
|
+
N(t, e);
|
|
3908
3887
|
function t(r, n, i) {
|
|
3909
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3888
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
|
|
3910
3889
|
}
|
|
3911
3890
|
return t;
|
|
3912
|
-
}(
|
|
3913
|
-
),
|
|
3891
|
+
}(Ae)
|
|
3892
|
+
), vi = (
|
|
3914
3893
|
/** @class */
|
|
3915
3894
|
function(e) {
|
|
3916
|
-
|
|
3895
|
+
N(t, e);
|
|
3917
3896
|
function t(r, n) {
|
|
3918
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3897
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
|
|
3919
3898
|
}
|
|
3920
3899
|
return t;
|
|
3921
|
-
}(
|
|
3900
|
+
}(Ae)
|
|
3922
3901
|
), S;
|
|
3923
3902
|
(function(e) {
|
|
3924
3903
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3925
3904
|
})(S || (S = {}));
|
|
3926
|
-
function
|
|
3905
|
+
function _i(e) {
|
|
3927
3906
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3928
3907
|
var n = t[t.length - 1];
|
|
3929
3908
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3930
3909
|
}, []);
|
|
3931
3910
|
}
|
|
3932
|
-
function
|
|
3911
|
+
function xi(e) {
|
|
3933
3912
|
return typeof e == "function";
|
|
3934
3913
|
}
|
|
3935
3914
|
function ve(e, t, r, n, i, o, a) {
|
|
3936
|
-
if (e.length === 1 &&
|
|
3915
|
+
if (e.length === 1 && vt(e[0]))
|
|
3937
3916
|
return [
|
|
3938
3917
|
{
|
|
3939
3918
|
type: S.literal,
|
|
@@ -3942,14 +3921,14 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3942
3921
|
];
|
|
3943
3922
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3944
3923
|
var h = u[l];
|
|
3945
|
-
if (
|
|
3924
|
+
if (vt(h)) {
|
|
3946
3925
|
s.push({
|
|
3947
3926
|
type: S.literal,
|
|
3948
3927
|
value: h.value
|
|
3949
3928
|
});
|
|
3950
3929
|
continue;
|
|
3951
3930
|
}
|
|
3952
|
-
if (
|
|
3931
|
+
if (kn(h)) {
|
|
3953
3932
|
typeof o == "number" && s.push({
|
|
3954
3933
|
type: S.literal,
|
|
3955
3934
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3958,89 +3937,89 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3958
3937
|
}
|
|
3959
3938
|
var f = h.value;
|
|
3960
3939
|
if (!(i && f in i))
|
|
3961
|
-
throw new
|
|
3940
|
+
throw new vi(f, a);
|
|
3962
3941
|
var c = i[f];
|
|
3963
|
-
if (
|
|
3942
|
+
if (jn(h)) {
|
|
3964
3943
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3965
3944
|
type: typeof c == "string" ? S.literal : S.object,
|
|
3966
3945
|
value: c
|
|
3967
3946
|
});
|
|
3968
3947
|
continue;
|
|
3969
3948
|
}
|
|
3970
|
-
if (
|
|
3971
|
-
var d = typeof h.style == "string" ? n.date[h.style] :
|
|
3949
|
+
if (nr(h)) {
|
|
3950
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3972
3951
|
s.push({
|
|
3973
3952
|
type: S.literal,
|
|
3974
3953
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3975
3954
|
});
|
|
3976
3955
|
continue;
|
|
3977
3956
|
}
|
|
3978
|
-
if (
|
|
3979
|
-
var d = typeof h.style == "string" ? n.time[h.style] :
|
|
3957
|
+
if (ir(h)) {
|
|
3958
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3980
3959
|
s.push({
|
|
3981
3960
|
type: S.literal,
|
|
3982
3961
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3983
3962
|
});
|
|
3984
3963
|
continue;
|
|
3985
3964
|
}
|
|
3986
|
-
if (
|
|
3987
|
-
var d = typeof h.style == "string" ? n.number[h.style] :
|
|
3965
|
+
if (rr(h)) {
|
|
3966
|
+
var d = typeof h.style == "string" ? n.number[h.style] : ur(h.style) ? h.style.parsedOptions : void 0;
|
|
3988
3967
|
d && d.scale && (c = c * (d.scale || 1)), s.push({
|
|
3989
3968
|
type: S.literal,
|
|
3990
3969
|
value: r.getNumberFormat(t, d).format(c)
|
|
3991
3970
|
});
|
|
3992
3971
|
continue;
|
|
3993
3972
|
}
|
|
3994
|
-
if (
|
|
3995
|
-
var p = h.children, m = h.value,
|
|
3996
|
-
if (!
|
|
3997
|
-
throw new
|
|
3998
|
-
var
|
|
3999
|
-
return
|
|
3973
|
+
if (ar(h)) {
|
|
3974
|
+
var p = h.children, m = h.value, x = i[m];
|
|
3975
|
+
if (!xi(x))
|
|
3976
|
+
throw new yi(m, "function", a);
|
|
3977
|
+
var T = ve(p, t, r, n, i, o), P = x(T.map(function(w) {
|
|
3978
|
+
return w.value;
|
|
4000
3979
|
}));
|
|
4001
|
-
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(
|
|
3980
|
+
Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(w) {
|
|
4002
3981
|
return {
|
|
4003
|
-
type: typeof
|
|
4004
|
-
value:
|
|
3982
|
+
type: typeof w == "string" ? S.literal : S.object,
|
|
3983
|
+
value: w
|
|
4005
3984
|
};
|
|
4006
3985
|
}));
|
|
4007
3986
|
}
|
|
4008
|
-
if (
|
|
4009
|
-
var
|
|
4010
|
-
if (!
|
|
4011
|
-
throw new
|
|
4012
|
-
s.push.apply(s, ve(
|
|
3987
|
+
if (or(h)) {
|
|
3988
|
+
var E = h.options[c] || h.options.other;
|
|
3989
|
+
if (!E)
|
|
3990
|
+
throw new Ht(h.value, c, Object.keys(h.options), a);
|
|
3991
|
+
s.push.apply(s, ve(E.value, t, r, n, i));
|
|
4013
3992
|
continue;
|
|
4014
3993
|
}
|
|
4015
|
-
if (
|
|
4016
|
-
var
|
|
4017
|
-
if (!
|
|
3994
|
+
if (sr(h)) {
|
|
3995
|
+
var E = h.options["=".concat(c)];
|
|
3996
|
+
if (!E) {
|
|
4018
3997
|
if (!Intl.PluralRules)
|
|
4019
|
-
throw new
|
|
3998
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
4020
3999
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4021
|
-
`,
|
|
4000
|
+
`, Q.MISSING_INTL_API, a);
|
|
4022
4001
|
var O = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
4023
|
-
|
|
4002
|
+
E = h.options[O] || h.options.other;
|
|
4024
4003
|
}
|
|
4025
|
-
if (!
|
|
4026
|
-
throw new
|
|
4027
|
-
s.push.apply(s, ve(
|
|
4004
|
+
if (!E)
|
|
4005
|
+
throw new Ht(h.value, c, Object.keys(h.options), a);
|
|
4006
|
+
s.push.apply(s, ve(E.value, t, r, n, i, c - (h.offset || 0)));
|
|
4028
4007
|
continue;
|
|
4029
4008
|
}
|
|
4030
4009
|
}
|
|
4031
|
-
return
|
|
4010
|
+
return _i(s);
|
|
4032
4011
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return t ?
|
|
4035
|
-
return r[n] =
|
|
4012
|
+
function Ei(e, t) {
|
|
4013
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4014
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
4036
4015
|
}, {})) : e;
|
|
4037
4016
|
}
|
|
4038
|
-
function
|
|
4017
|
+
function Si(e, t) {
|
|
4039
4018
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4040
|
-
return r[n] =
|
|
4041
|
-
},
|
|
4019
|
+
return r[n] = Ei(e[n], t[n]), r;
|
|
4020
|
+
}, y({}, e)) : e;
|
|
4042
4021
|
}
|
|
4043
|
-
function
|
|
4022
|
+
function De(e) {
|
|
4044
4023
|
return {
|
|
4045
4024
|
create: function() {
|
|
4046
4025
|
return {
|
|
@@ -4054,39 +4033,39 @@ function Fe(e) {
|
|
|
4054
4033
|
}
|
|
4055
4034
|
};
|
|
4056
4035
|
}
|
|
4057
|
-
function
|
|
4036
|
+
function Ti(e) {
|
|
4058
4037
|
return e === void 0 && (e = {
|
|
4059
4038
|
number: {},
|
|
4060
4039
|
dateTime: {},
|
|
4061
4040
|
pluralRules: {}
|
|
4062
4041
|
}), {
|
|
4063
|
-
getNumberFormat:
|
|
4042
|
+
getNumberFormat: $e(function() {
|
|
4064
4043
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4065
4044
|
r[n] = arguments[n];
|
|
4066
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4045
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
4067
4046
|
}, {
|
|
4068
|
-
cache:
|
|
4069
|
-
strategy:
|
|
4047
|
+
cache: De(e.number),
|
|
4048
|
+
strategy: Re.variadic
|
|
4070
4049
|
}),
|
|
4071
|
-
getDateTimeFormat:
|
|
4050
|
+
getDateTimeFormat: $e(function() {
|
|
4072
4051
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4073
4052
|
r[n] = arguments[n];
|
|
4074
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4053
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, z([void 0], r, !1)))();
|
|
4075
4054
|
}, {
|
|
4076
|
-
cache:
|
|
4077
|
-
strategy:
|
|
4055
|
+
cache: De(e.dateTime),
|
|
4056
|
+
strategy: Re.variadic
|
|
4078
4057
|
}),
|
|
4079
|
-
getPluralRules:
|
|
4058
|
+
getPluralRules: $e(function() {
|
|
4080
4059
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4081
4060
|
r[n] = arguments[n];
|
|
4082
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4061
|
+
return new ((t = Intl.PluralRules).bind.apply(t, z([void 0], r, !1)))();
|
|
4083
4062
|
}, {
|
|
4084
|
-
cache:
|
|
4085
|
-
strategy:
|
|
4063
|
+
cache: De(e.pluralRules),
|
|
4064
|
+
strategy: Re.variadic
|
|
4086
4065
|
})
|
|
4087
4066
|
};
|
|
4088
4067
|
}
|
|
4089
|
-
var
|
|
4068
|
+
var wi = (
|
|
4090
4069
|
/** @class */
|
|
4091
4070
|
function() {
|
|
4092
4071
|
function e(t, r, n, i) {
|
|
@@ -4118,13 +4097,13 @@ var Bi = (
|
|
|
4118
4097
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4119
4098
|
var a = i || {};
|
|
4120
4099
|
a.formatters;
|
|
4121
|
-
var s =
|
|
4122
|
-
this.ast = e.__parse(t,
|
|
4100
|
+
var s = nn(a, ["formatters"]);
|
|
4101
|
+
this.ast = e.__parse(t, y(y({}, s), { locale: this.resolvedLocale }));
|
|
4123
4102
|
} else
|
|
4124
4103
|
this.ast = t;
|
|
4125
4104
|
if (!Array.isArray(this.ast))
|
|
4126
4105
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4127
|
-
this.formats =
|
|
4106
|
+
this.formats = Si(e.formats, n), this.formatters = i && i.formatters || Ti(this.formatterCache);
|
|
4128
4107
|
}
|
|
4129
4108
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4130
4109
|
get: function() {
|
|
@@ -4137,7 +4116,7 @@ var Bi = (
|
|
|
4137
4116
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4138
4117
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4139
4118
|
}
|
|
4140
|
-
}, e.__parse =
|
|
4119
|
+
}, e.__parse = gi, e.formats = {
|
|
4141
4120
|
number: {
|
|
4142
4121
|
integer: {
|
|
4143
4122
|
maximumFractionDigits: 0
|
|
@@ -4198,7 +4177,7 @@ var Bi = (
|
|
|
4198
4177
|
}, e;
|
|
4199
4178
|
}()
|
|
4200
4179
|
);
|
|
4201
|
-
function
|
|
4180
|
+
function Hi(e, t) {
|
|
4202
4181
|
if (t == null)
|
|
4203
4182
|
return;
|
|
4204
4183
|
if (t in e)
|
|
@@ -4219,92 +4198,92 @@ function Ai(e, t) {
|
|
|
4219
4198
|
n = void 0;
|
|
4220
4199
|
return n;
|
|
4221
4200
|
}
|
|
4222
|
-
const U = {},
|
|
4201
|
+
const U = {}, Bi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), br = (e, t) => {
|
|
4223
4202
|
if (t == null)
|
|
4224
4203
|
return;
|
|
4225
4204
|
if (t in U && e in U[t])
|
|
4226
4205
|
return U[t][e];
|
|
4227
|
-
const r =
|
|
4206
|
+
const r = Pe(t);
|
|
4228
4207
|
for (let n = 0; n < r.length; n++) {
|
|
4229
|
-
const i = r[n], o =
|
|
4208
|
+
const i = r[n], o = Pi(i, e);
|
|
4230
4209
|
if (o)
|
|
4231
|
-
return
|
|
4210
|
+
return Bi(e, t, o);
|
|
4232
4211
|
}
|
|
4233
4212
|
};
|
|
4234
|
-
let
|
|
4235
|
-
const ce =
|
|
4236
|
-
function
|
|
4237
|
-
return
|
|
4213
|
+
let st;
|
|
4214
|
+
const ce = Be({});
|
|
4215
|
+
function Ai(e) {
|
|
4216
|
+
return st[e] || null;
|
|
4238
4217
|
}
|
|
4239
4218
|
function gr(e) {
|
|
4240
|
-
return e in
|
|
4219
|
+
return e in st;
|
|
4241
4220
|
}
|
|
4242
|
-
function
|
|
4221
|
+
function Pi(e, t) {
|
|
4243
4222
|
if (!gr(e))
|
|
4244
4223
|
return null;
|
|
4245
|
-
const r =
|
|
4246
|
-
return
|
|
4224
|
+
const r = Ai(e);
|
|
4225
|
+
return Hi(r, t);
|
|
4247
4226
|
}
|
|
4248
|
-
function
|
|
4227
|
+
function Oi(e) {
|
|
4249
4228
|
if (e == null)
|
|
4250
4229
|
return;
|
|
4251
|
-
const t =
|
|
4230
|
+
const t = Pe(e);
|
|
4252
4231
|
for (let r = 0; r < t.length; r++) {
|
|
4253
4232
|
const n = t[r];
|
|
4254
4233
|
if (gr(n))
|
|
4255
4234
|
return n;
|
|
4256
4235
|
}
|
|
4257
4236
|
}
|
|
4258
|
-
function
|
|
4259
|
-
delete U[e], ce.update((r) => (r[e] =
|
|
4237
|
+
function yr(e, ...t) {
|
|
4238
|
+
delete U[e], ce.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
|
|
4260
4239
|
}
|
|
4261
|
-
|
|
4240
|
+
Y(
|
|
4262
4241
|
[ce],
|
|
4263
4242
|
([e]) => Object.keys(e)
|
|
4264
4243
|
);
|
|
4265
|
-
ce.subscribe((e) =>
|
|
4244
|
+
ce.subscribe((e) => st = e);
|
|
4266
4245
|
const _e = {};
|
|
4267
|
-
function
|
|
4246
|
+
function Ii(e, t) {
|
|
4268
4247
|
_e[e].delete(t), _e[e].size === 0 && delete _e[e];
|
|
4269
4248
|
}
|
|
4270
|
-
function
|
|
4249
|
+
function vr(e) {
|
|
4271
4250
|
return _e[e];
|
|
4272
4251
|
}
|
|
4273
|
-
function
|
|
4274
|
-
return
|
|
4275
|
-
const r =
|
|
4252
|
+
function Li(e) {
|
|
4253
|
+
return Pe(e).map((t) => {
|
|
4254
|
+
const r = vr(t);
|
|
4276
4255
|
return [t, r ? [...r] : []];
|
|
4277
4256
|
}).filter(([, t]) => t.length > 0);
|
|
4278
4257
|
}
|
|
4279
|
-
function
|
|
4280
|
-
return e == null ? !1 :
|
|
4258
|
+
function et(e) {
|
|
4259
|
+
return e == null ? !1 : Pe(e).some(
|
|
4281
4260
|
(t) => {
|
|
4282
4261
|
var r;
|
|
4283
|
-
return (r =
|
|
4262
|
+
return (r = vr(t)) == null ? void 0 : r.size;
|
|
4284
4263
|
}
|
|
4285
4264
|
);
|
|
4286
4265
|
}
|
|
4287
4266
|
function Mi(e, t) {
|
|
4288
4267
|
return Promise.all(
|
|
4289
|
-
t.map((n) => (
|
|
4290
|
-
).then((n) =>
|
|
4291
|
-
}
|
|
4292
|
-
const
|
|
4293
|
-
function
|
|
4294
|
-
if (!
|
|
4295
|
-
return e in
|
|
4296
|
-
const t =
|
|
4297
|
-
return
|
|
4268
|
+
t.map((n) => (Ii(e, n), n().then((i) => i.default || i)))
|
|
4269
|
+
).then((n) => yr(e, ...n));
|
|
4270
|
+
}
|
|
4271
|
+
const ne = {};
|
|
4272
|
+
function _r(e) {
|
|
4273
|
+
if (!et(e))
|
|
4274
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
4275
|
+
const t = Li(e);
|
|
4276
|
+
return ne[e] = Promise.all(
|
|
4298
4277
|
t.map(
|
|
4299
4278
|
([r, n]) => Mi(r, n)
|
|
4300
4279
|
)
|
|
4301
4280
|
).then(() => {
|
|
4302
|
-
if (
|
|
4303
|
-
return
|
|
4304
|
-
delete
|
|
4305
|
-
}),
|
|
4281
|
+
if (et(e))
|
|
4282
|
+
return _r(e);
|
|
4283
|
+
delete ne[e];
|
|
4284
|
+
}), ne[e];
|
|
4306
4285
|
}
|
|
4307
|
-
const
|
|
4286
|
+
const Ci = {
|
|
4308
4287
|
number: {
|
|
4309
4288
|
scientific: { notation: "scientific" },
|
|
4310
4289
|
engineering: { notation: "engineering" },
|
|
@@ -4333,135 +4312,135 @@ const $i = {
|
|
|
4333
4312
|
timeZoneName: "short"
|
|
4334
4313
|
}
|
|
4335
4314
|
}
|
|
4336
|
-
},
|
|
4315
|
+
}, Ni = {
|
|
4337
4316
|
fallbackLocale: null,
|
|
4338
4317
|
loadingDelay: 200,
|
|
4339
|
-
formats:
|
|
4318
|
+
formats: Ci,
|
|
4340
4319
|
warnOnMissingMessages: !0,
|
|
4341
4320
|
handleMissingMessage: void 0,
|
|
4342
4321
|
ignoreTag: !0
|
|
4343
|
-
},
|
|
4344
|
-
function
|
|
4345
|
-
return
|
|
4322
|
+
}, $i = Ni;
|
|
4323
|
+
function J() {
|
|
4324
|
+
return $i;
|
|
4346
4325
|
}
|
|
4347
|
-
const
|
|
4348
|
-
var
|
|
4326
|
+
const Ge = Be(!1);
|
|
4327
|
+
var Ri = Object.defineProperty, Ui = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ji = (e, t) => {
|
|
4349
4328
|
for (var r in t || (t = {}))
|
|
4350
|
-
|
|
4351
|
-
if (
|
|
4352
|
-
for (var r of
|
|
4353
|
-
|
|
4329
|
+
Gi.call(t, r) && At(e, r, t[r]);
|
|
4330
|
+
if (Bt)
|
|
4331
|
+
for (var r of Bt(t))
|
|
4332
|
+
Fi.call(t, r) && At(e, r, t[r]);
|
|
4354
4333
|
return e;
|
|
4355
|
-
},
|
|
4356
|
-
let
|
|
4357
|
-
const Te =
|
|
4358
|
-
function
|
|
4334
|
+
}, ki = (e, t) => Ui(e, Di(t));
|
|
4335
|
+
let tt;
|
|
4336
|
+
const Te = Be(null);
|
|
4337
|
+
function Pt(e) {
|
|
4359
4338
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4360
4339
|
}
|
|
4361
|
-
function
|
|
4362
|
-
const r =
|
|
4363
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4340
|
+
function Pe(e, t = J().fallbackLocale) {
|
|
4341
|
+
const r = Pt(e);
|
|
4342
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
|
|
4364
4343
|
}
|
|
4365
4344
|
function F() {
|
|
4366
|
-
return
|
|
4345
|
+
return tt ?? void 0;
|
|
4367
4346
|
}
|
|
4368
4347
|
Te.subscribe((e) => {
|
|
4369
|
-
|
|
4348
|
+
tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4370
4349
|
});
|
|
4371
|
-
const
|
|
4372
|
-
if (e &&
|
|
4373
|
-
const { loadingDelay: t } =
|
|
4350
|
+
const Vi = (e) => {
|
|
4351
|
+
if (e && Oi(e) && et(e)) {
|
|
4352
|
+
const { loadingDelay: t } = J();
|
|
4374
4353
|
let r;
|
|
4375
4354
|
return typeof window < "u" && F() != null && t ? r = window.setTimeout(
|
|
4376
|
-
() =>
|
|
4355
|
+
() => Ge.set(!0),
|
|
4377
4356
|
t
|
|
4378
|
-
) :
|
|
4357
|
+
) : Ge.set(!0), _r(e).then(() => {
|
|
4379
4358
|
Te.set(e);
|
|
4380
4359
|
}).finally(() => {
|
|
4381
|
-
clearTimeout(r),
|
|
4360
|
+
clearTimeout(r), Ge.set(!1);
|
|
4382
4361
|
});
|
|
4383
4362
|
}
|
|
4384
4363
|
return Te.set(e);
|
|
4385
|
-
},
|
|
4386
|
-
set:
|
|
4387
|
-
}),
|
|
4364
|
+
}, K = ki(ji({}, Te), {
|
|
4365
|
+
set: Vi
|
|
4366
|
+
}), Oe = (e) => {
|
|
4388
4367
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4389
4368
|
return (n) => {
|
|
4390
4369
|
const i = JSON.stringify(n);
|
|
4391
4370
|
return i in t ? t[i] : t[i] = e(n);
|
|
4392
4371
|
};
|
|
4393
4372
|
};
|
|
4394
|
-
var
|
|
4373
|
+
var Xi = Object.defineProperty, we = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Er = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
4395
4374
|
for (var r in t || (t = {}))
|
|
4396
|
-
xr.call(t, r) &&
|
|
4397
|
-
if (
|
|
4398
|
-
for (var r of
|
|
4399
|
-
|
|
4375
|
+
xr.call(t, r) && Ot(e, r, t[r]);
|
|
4376
|
+
if (we)
|
|
4377
|
+
for (var r of we(t))
|
|
4378
|
+
Er.call(t, r) && Ot(e, r, t[r]);
|
|
4400
4379
|
return e;
|
|
4401
|
-
},
|
|
4380
|
+
}, ee = (e, t) => {
|
|
4402
4381
|
var r = {};
|
|
4403
4382
|
for (var n in e)
|
|
4404
4383
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4405
|
-
if (e != null &&
|
|
4406
|
-
for (var n of
|
|
4407
|
-
t.indexOf(n) < 0 &&
|
|
4384
|
+
if (e != null && we)
|
|
4385
|
+
for (var n of we(e))
|
|
4386
|
+
t.indexOf(n) < 0 && Er.call(e, n) && (r[n] = e[n]);
|
|
4408
4387
|
return r;
|
|
4409
4388
|
};
|
|
4410
|
-
const
|
|
4411
|
-
const { formats: r } =
|
|
4389
|
+
const ae = (e, t) => {
|
|
4390
|
+
const { formats: r } = J();
|
|
4412
4391
|
if (e in r && t in r[e])
|
|
4413
4392
|
return r[e][t];
|
|
4414
4393
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4415
|
-
},
|
|
4394
|
+
}, Wi = Oe(
|
|
4416
4395
|
(e) => {
|
|
4417
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4396
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4418
4397
|
if (r == null)
|
|
4419
4398
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4420
|
-
return n && (i =
|
|
4399
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4421
4400
|
}
|
|
4422
|
-
),
|
|
4401
|
+
), zi = Oe(
|
|
4423
4402
|
(e) => {
|
|
4424
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4403
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4425
4404
|
if (r == null)
|
|
4426
4405
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4427
|
-
return n ? i =
|
|
4406
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4428
4407
|
}
|
|
4429
|
-
),
|
|
4408
|
+
), Zi = Oe(
|
|
4430
4409
|
(e) => {
|
|
4431
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4410
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4432
4411
|
if (r == null)
|
|
4433
4412
|
throw new Error(
|
|
4434
4413
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4435
4414
|
);
|
|
4436
|
-
return n ? i =
|
|
4415
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4437
4416
|
}
|
|
4438
|
-
),
|
|
4417
|
+
), qi = (e = {}) => {
|
|
4439
4418
|
var t = e, {
|
|
4440
4419
|
locale: r = F()
|
|
4441
|
-
} = t, n =
|
|
4420
|
+
} = t, n = ee(t, [
|
|
4442
4421
|
"locale"
|
|
4443
4422
|
]);
|
|
4444
|
-
return
|
|
4445
|
-
},
|
|
4423
|
+
return Wi(at({ locale: r }, n));
|
|
4424
|
+
}, Qi = (e = {}) => {
|
|
4446
4425
|
var t = e, {
|
|
4447
4426
|
locale: r = F()
|
|
4448
|
-
} = t, n =
|
|
4427
|
+
} = t, n = ee(t, [
|
|
4449
4428
|
"locale"
|
|
4450
4429
|
]);
|
|
4451
|
-
return
|
|
4452
|
-
},
|
|
4430
|
+
return zi(at({ locale: r }, n));
|
|
4431
|
+
}, Ji = (e = {}) => {
|
|
4453
4432
|
var t = e, {
|
|
4454
4433
|
locale: r = F()
|
|
4455
|
-
} = t, n =
|
|
4434
|
+
} = t, n = ee(t, [
|
|
4456
4435
|
"locale"
|
|
4457
4436
|
]);
|
|
4458
|
-
return
|
|
4459
|
-
},
|
|
4437
|
+
return Zi(at({ locale: r }, n));
|
|
4438
|
+
}, Yi = Oe(
|
|
4460
4439
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4461
|
-
(e, t = F()) => new
|
|
4462
|
-
ignoreTag:
|
|
4440
|
+
(e, t = F()) => new wi(e, t, J().formats, {
|
|
4441
|
+
ignoreTag: J().ignoreTag
|
|
4463
4442
|
})
|
|
4464
|
-
),
|
|
4443
|
+
), Ki = (e, t = {}) => {
|
|
4465
4444
|
var r, n, i, o;
|
|
4466
4445
|
let a = t;
|
|
4467
4446
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4474,9 +4453,9 @@ const se = (e, t) => {
|
|
|
4474
4453
|
throw new Error(
|
|
4475
4454
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4476
4455
|
);
|
|
4477
|
-
let h =
|
|
4456
|
+
let h = br(e, l);
|
|
4478
4457
|
if (!h)
|
|
4479
|
-
h = (o = (i = (n = (r =
|
|
4458
|
+
h = (o = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4480
4459
|
else if (typeof h != "string")
|
|
4481
4460
|
return console.warn(
|
|
4482
4461
|
`[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.`
|
|
@@ -4485,7 +4464,7 @@ const se = (e, t) => {
|
|
|
4485
4464
|
return h;
|
|
4486
4465
|
let f = h;
|
|
4487
4466
|
try {
|
|
4488
|
-
f =
|
|
4467
|
+
f = Yi(h, l).format(s);
|
|
4489
4468
|
} catch (c) {
|
|
4490
4469
|
c instanceof Error && console.warn(
|
|
4491
4470
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4493,20 +4472,20 @@ const se = (e, t) => {
|
|
|
4493
4472
|
);
|
|
4494
4473
|
}
|
|
4495
4474
|
return f;
|
|
4496
|
-
},
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
window.emWidgets = { topic:
|
|
4502
|
-
const
|
|
4503
|
-
function
|
|
4475
|
+
}, eo = (e, t) => Ji(t).format(e), to = (e, t) => Qi(t).format(e), ro = (e, t) => qi(t).format(e), no = (e, t = F()) => br(e, t), io = Y([K, ce], () => Ki);
|
|
4476
|
+
Y([K], () => eo);
|
|
4477
|
+
Y([K], () => to);
|
|
4478
|
+
Y([K], () => ro);
|
|
4479
|
+
Y([K, ce], () => no);
|
|
4480
|
+
window.emWidgets = { topic: yn };
|
|
4481
|
+
const Go = (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)), Sr = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Fo = (e) => e.match(/CustomNative/i) ? "NativeApp" : Sr(e) === "PC" ? "Desktop" : "Mobile";
|
|
4482
|
+
function It(e, t) {
|
|
4504
4483
|
if (e) {
|
|
4505
4484
|
const r = document.createElement("style");
|
|
4506
4485
|
r.innerHTML = t, e.appendChild(r);
|
|
4507
4486
|
}
|
|
4508
4487
|
}
|
|
4509
|
-
function
|
|
4488
|
+
function oo(e, t) {
|
|
4510
4489
|
const r = new URL(t);
|
|
4511
4490
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4512
4491
|
const i = document.createElement("style");
|
|
@@ -4515,7 +4494,7 @@ function ao(e, t) {
|
|
|
4515
4494
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4516
4495
|
});
|
|
4517
4496
|
}
|
|
4518
|
-
function
|
|
4497
|
+
function so(e, t, r) {
|
|
4519
4498
|
if (window.emMessageBus) {
|
|
4520
4499
|
const n = document.createElement("style");
|
|
4521
4500
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4523,7 +4502,7 @@ function uo(e, t, r) {
|
|
|
4523
4502
|
});
|
|
4524
4503
|
}
|
|
4525
4504
|
}
|
|
4526
|
-
const
|
|
4505
|
+
const ao = (e, t = {}) => {
|
|
4527
4506
|
const r = new CustomEvent("track-custom-event", {
|
|
4528
4507
|
detail: {
|
|
4529
4508
|
type: e,
|
|
@@ -4534,11 +4513,11 @@ const lo = (e, t = {}) => {
|
|
|
4534
4513
|
});
|
|
4535
4514
|
document.dispatchEvent(r);
|
|
4536
4515
|
};
|
|
4537
|
-
function
|
|
4538
|
-
|
|
4516
|
+
function Lt(e, t) {
|
|
4517
|
+
yr(e, t);
|
|
4539
4518
|
}
|
|
4540
|
-
function
|
|
4541
|
-
|
|
4519
|
+
function uo(e) {
|
|
4520
|
+
K.set(e);
|
|
4542
4521
|
}
|
|
4543
4522
|
const Mt = {
|
|
4544
4523
|
en: {
|
|
@@ -4575,20 +4554,20 @@ const Mt = {
|
|
|
4575
4554
|
logoutButton: "Logout"
|
|
4576
4555
|
}
|
|
4577
4556
|
};
|
|
4578
|
-
function
|
|
4579
|
-
|
|
4557
|
+
function lo(e) {
|
|
4558
|
+
Lr(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))}");
|
|
4580
4559
|
}
|
|
4581
|
-
function
|
|
4560
|
+
function ho(e) {
|
|
4582
4561
|
let t, r, n, i = (
|
|
4583
4562
|
/*$_*/
|
|
4584
4563
|
e[2]("logoutButton") + ""
|
|
4585
4564
|
), o, a, s;
|
|
4586
4565
|
return {
|
|
4587
4566
|
c() {
|
|
4588
|
-
t =
|
|
4567
|
+
t = L("div"), r = L("button"), n = L("span"), o = he(i), B(t, "class", "GeneralLogout");
|
|
4589
4568
|
},
|
|
4590
4569
|
m(l, u) {
|
|
4591
|
-
|
|
4570
|
+
le(l, t, u), A(t, r), A(r, n), A(n, o), a || (s = Ft(
|
|
4592
4571
|
r,
|
|
4593
4572
|
"click",
|
|
4594
4573
|
/*click_handler_1*/
|
|
@@ -4598,19 +4577,19 @@ function fo(e) {
|
|
|
4598
4577
|
p(l, u) {
|
|
4599
4578
|
u & /*$_*/
|
|
4600
4579
|
4 && i !== (i = /*$_*/
|
|
4601
|
-
l[2]("logoutButton") + "") &&
|
|
4580
|
+
l[2]("logoutButton") + "") && jt(o, i);
|
|
4602
4581
|
},
|
|
4603
4582
|
d(l) {
|
|
4604
4583
|
l && G(t), a = !1, s();
|
|
4605
4584
|
}
|
|
4606
4585
|
};
|
|
4607
4586
|
}
|
|
4608
|
-
function
|
|
4587
|
+
function co(e) {
|
|
4609
4588
|
let t, r, n, i, o, a, s, l, u, h, f, c = !/*isMobile*/
|
|
4610
|
-
e[3] &&
|
|
4589
|
+
e[3] && fo(e);
|
|
4611
4590
|
return {
|
|
4612
4591
|
c() {
|
|
4613
|
-
t =
|
|
4592
|
+
t = L("p"), r = L("span"), n = te("svg"), i = te("defs"), o = te("style"), a = he(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), s = te("path"), l = te("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"), $r(r, "width", /*isMobile*/
|
|
4614
4593
|
e[3] ? (
|
|
4615
4594
|
/*mediaQuery*/
|
|
4616
4595
|
e[4].matches ? "20px" : "24px"
|
|
@@ -4620,7 +4599,7 @@ function po(e) {
|
|
|
4620
4599
|
e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
|
|
4621
4600
|
},
|
|
4622
4601
|
m(d, p) {
|
|
4623
|
-
|
|
4602
|
+
le(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 = Ft(
|
|
4624
4603
|
t,
|
|
4625
4604
|
"click",
|
|
4626
4605
|
/*click_handler*/
|
|
@@ -4636,43 +4615,43 @@ function po(e) {
|
|
|
4636
4615
|
}
|
|
4637
4616
|
};
|
|
4638
4617
|
}
|
|
4639
|
-
function
|
|
4618
|
+
function fo(e) {
|
|
4640
4619
|
let t, r = (
|
|
4641
4620
|
/*$_*/
|
|
4642
4621
|
e[2]("logoutButton") + ""
|
|
4643
4622
|
), n;
|
|
4644
4623
|
return {
|
|
4645
4624
|
c() {
|
|
4646
|
-
t =
|
|
4625
|
+
t = L("span"), n = he(r), B(t, "class", "PlayerLogoutText");
|
|
4647
4626
|
},
|
|
4648
4627
|
m(i, o) {
|
|
4649
|
-
|
|
4628
|
+
le(i, t, o), A(t, n);
|
|
4650
4629
|
},
|
|
4651
4630
|
p(i, o) {
|
|
4652
4631
|
o & /*$_*/
|
|
4653
4632
|
4 && r !== (r = /*$_*/
|
|
4654
|
-
i[2]("logoutButton") + "") &&
|
|
4633
|
+
i[2]("logoutButton") + "") && jt(n, r);
|
|
4655
4634
|
},
|
|
4656
4635
|
d(i) {
|
|
4657
4636
|
i && G(t);
|
|
4658
4637
|
}
|
|
4659
4638
|
};
|
|
4660
4639
|
}
|
|
4661
|
-
function
|
|
4640
|
+
function po(e) {
|
|
4662
4641
|
let t;
|
|
4663
4642
|
function r(o, a) {
|
|
4664
4643
|
return (
|
|
4665
4644
|
/*buttonlocation*/
|
|
4666
|
-
o[0] === "PlayerAccountMenu" ?
|
|
4645
|
+
o[0] === "PlayerAccountMenu" ? co : ho
|
|
4667
4646
|
);
|
|
4668
4647
|
}
|
|
4669
4648
|
let n = r(e), i = n(e);
|
|
4670
4649
|
return {
|
|
4671
4650
|
c() {
|
|
4672
|
-
t =
|
|
4651
|
+
t = L("div"), i.c();
|
|
4673
4652
|
},
|
|
4674
4653
|
m(o, a) {
|
|
4675
|
-
|
|
4654
|
+
le(o, t, a), i.m(t, null), e[15](t);
|
|
4676
4655
|
},
|
|
4677
4656
|
p(o, [a]) {
|
|
4678
4657
|
n === (n = r(o)) && i ? i.p(o, a) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4684,58 +4663,58 @@ function bo(e) {
|
|
|
4684
4663
|
}
|
|
4685
4664
|
};
|
|
4686
4665
|
}
|
|
4687
|
-
function
|
|
4666
|
+
function mo(e, t, r) {
|
|
4688
4667
|
let n;
|
|
4689
|
-
|
|
4690
|
-
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,
|
|
4691
|
-
const
|
|
4668
|
+
Pr(e, io, (v) => r(2, n = v));
|
|
4669
|
+
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, x = Sr(m) !== "PC";
|
|
4670
|
+
const T = window.matchMedia("(min-width: 768px)"), P = () => {
|
|
4692
4671
|
fetch(f).then((R) => R.json()).then((R) => {
|
|
4693
|
-
Object.keys(R).forEach((
|
|
4694
|
-
|
|
4672
|
+
Object.keys(R).forEach((Ie) => {
|
|
4673
|
+
Lt(Ie, R[Ie]);
|
|
4695
4674
|
});
|
|
4696
4675
|
}).catch((R) => {
|
|
4697
4676
|
console.log(R);
|
|
4698
4677
|
});
|
|
4699
4678
|
};
|
|
4700
|
-
Object.keys(Mt).forEach((
|
|
4701
|
-
|
|
4679
|
+
Object.keys(Mt).forEach((v) => {
|
|
4680
|
+
Lt(v, Mt[v]);
|
|
4702
4681
|
});
|
|
4703
|
-
const
|
|
4704
|
-
let
|
|
4705
|
-
|
|
4706
|
-
let R = { method: "DELETE", headers:
|
|
4707
|
-
fetch(`${i}/v1/player/session/player`, R).then((
|
|
4708
|
-
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href),
|
|
4682
|
+
const E = () => {
|
|
4683
|
+
let v = new Headers();
|
|
4684
|
+
v.append("Content-type", "application/json"), v.append("X-SessionID", o);
|
|
4685
|
+
let R = { method: "DELETE", headers: v };
|
|
4686
|
+
fetch(`${i}/v1/player/session/player`, R).then((Ie) => {
|
|
4687
|
+
window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), ao("logged_out", {});
|
|
4709
4688
|
});
|
|
4710
|
-
}, 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),
|
|
4711
|
-
|
|
4689
|
+
}, 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), w = () => {
|
|
4690
|
+
uo(s);
|
|
4712
4691
|
};
|
|
4713
|
-
|
|
4692
|
+
Vr(() => () => {
|
|
4714
4693
|
});
|
|
4715
|
-
const $ = () =>
|
|
4716
|
-
function
|
|
4717
|
-
|
|
4718
|
-
p =
|
|
4694
|
+
const $ = () => E(), fe = () => E();
|
|
4695
|
+
function wr(v) {
|
|
4696
|
+
Fe[v ? "unshift" : "push"](() => {
|
|
4697
|
+
p = v, r(1, p);
|
|
4719
4698
|
});
|
|
4720
4699
|
}
|
|
4721
|
-
return e.$$set = (
|
|
4722
|
-
"endpoint" in
|
|
4700
|
+
return e.$$set = (v) => {
|
|
4701
|
+
"endpoint" in v && r(6, i = v.endpoint), "session" in v && r(7, o = v.session), "buttonlocation" in v && r(0, a = v.buttonlocation), "lang" in v && r(8, s = v.lang), "mbsource" in v && r(9, l = v.mbsource), "clientstyling" in v && r(10, u = v.clientstyling), "clientstylingurl" in v && r(11, h = v.clientstylingurl), "translationurl" in v && r(12, f = v.translationurl);
|
|
4723
4702
|
}, e.$$.update = () => {
|
|
4724
4703
|
e.$$.dirty & /*endpoint, session, buttonlocation*/
|
|
4725
4704
|
193 && i && o && a && O(), e.$$.dirty & /*lang*/
|
|
4726
|
-
256 && s &&
|
|
4727
|
-
1026 && u && p &&
|
|
4728
|
-
1026 && u && p &&
|
|
4729
|
-
2050 && h && p &&
|
|
4730
|
-
514 && l && p &&
|
|
4705
|
+
256 && s && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4706
|
+
1026 && u && p && It(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4707
|
+
1026 && u && p && It(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4708
|
+
2050 && h && p && oo(p, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4709
|
+
514 && l && p && so(p, `${l}.Style`), e.$$.dirty & /*translationurl*/
|
|
4731
4710
|
4096 && f && P();
|
|
4732
4711
|
}, [
|
|
4733
4712
|
a,
|
|
4734
4713
|
p,
|
|
4735
4714
|
n,
|
|
4736
|
-
_,
|
|
4737
|
-
w,
|
|
4738
4715
|
x,
|
|
4716
|
+
T,
|
|
4717
|
+
E,
|
|
4739
4718
|
i,
|
|
4740
4719
|
o,
|
|
4741
4720
|
s,
|
|
@@ -4745,17 +4724,17 @@ function yo(e, t, r) {
|
|
|
4745
4724
|
f,
|
|
4746
4725
|
$,
|
|
4747
4726
|
fe,
|
|
4748
|
-
|
|
4727
|
+
wr
|
|
4749
4728
|
];
|
|
4750
4729
|
}
|
|
4751
|
-
class Tr extends
|
|
4730
|
+
class Tr extends tn {
|
|
4752
4731
|
constructor(t) {
|
|
4753
|
-
super(),
|
|
4732
|
+
super(), Kr(
|
|
4754
4733
|
this,
|
|
4755
4734
|
t,
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4735
|
+
mo,
|
|
4736
|
+
po,
|
|
4737
|
+
Nt,
|
|
4759
4738
|
{
|
|
4760
4739
|
endpoint: 6,
|
|
4761
4740
|
session: 7,
|
|
@@ -4766,7 +4745,7 @@ class Tr extends rn {
|
|
|
4766
4745
|
clientstylingurl: 11,
|
|
4767
4746
|
translationurl: 12
|
|
4768
4747
|
},
|
|
4769
|
-
|
|
4748
|
+
lo
|
|
4770
4749
|
);
|
|
4771
4750
|
}
|
|
4772
4751
|
get endpoint() {
|
|
@@ -4818,72 +4797,72 @@ class Tr extends rn {
|
|
|
4818
4797
|
this.$$set({ translationurl: t }), I();
|
|
4819
4798
|
}
|
|
4820
4799
|
}
|
|
4821
|
-
|
|
4822
|
-
const
|
|
4800
|
+
en(Tr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4801
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4823
4802
|
__proto__: null,
|
|
4824
4803
|
default: Tr
|
|
4825
4804
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4826
4805
|
export {
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4806
|
+
K as $,
|
|
4807
|
+
It as A,
|
|
4808
|
+
io as B,
|
|
4830
4809
|
ce as C,
|
|
4831
|
-
|
|
4810
|
+
Fo as D,
|
|
4832
4811
|
Mo as E,
|
|
4833
|
-
|
|
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
|
-
|
|
4812
|
+
To as F,
|
|
4813
|
+
Eo as G,
|
|
4814
|
+
go as H,
|
|
4815
|
+
vo as I,
|
|
4816
|
+
_o as J,
|
|
4817
|
+
yo as K,
|
|
4818
|
+
Zr as L,
|
|
4819
|
+
$o as M,
|
|
4820
|
+
wo as N,
|
|
4821
|
+
Uo as O,
|
|
4822
|
+
So as P,
|
|
4823
|
+
Io as Q,
|
|
4824
|
+
Ao as R,
|
|
4825
|
+
tn as S,
|
|
4826
|
+
Po as T,
|
|
4827
|
+
Se as U,
|
|
4828
|
+
Oo as V,
|
|
4829
|
+
ue as W,
|
|
4830
|
+
Go as X,
|
|
4831
|
+
$r as Y,
|
|
4832
|
+
xo as Z,
|
|
4833
|
+
No as _,
|
|
4834
|
+
yr as a,
|
|
4835
|
+
Co as a0,
|
|
4836
|
+
bo as a1,
|
|
4837
|
+
Hr as a2,
|
|
4838
|
+
Ro as a3,
|
|
4839
|
+
Do as a4,
|
|
4840
|
+
_n as a5,
|
|
4841
|
+
Bo as a6,
|
|
4842
|
+
jo as a7,
|
|
4843
|
+
Lr as b,
|
|
4844
|
+
en as c,
|
|
4845
|
+
Cr as d,
|
|
4846
|
+
L as e,
|
|
4868
4847
|
I as f,
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4848
|
+
B as g,
|
|
4849
|
+
Lo as h,
|
|
4850
|
+
Kr as i,
|
|
4851
|
+
Ho as j,
|
|
4852
|
+
le as k,
|
|
4853
|
+
A as l,
|
|
4854
|
+
Ft as m,
|
|
4855
|
+
jt as n,
|
|
4856
|
+
H as o,
|
|
4857
|
+
G as p,
|
|
4858
|
+
Pr as q,
|
|
4880
4859
|
D as r,
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4860
|
+
Nt as s,
|
|
4861
|
+
he as t,
|
|
4862
|
+
Sr as u,
|
|
4863
|
+
Vr as v,
|
|
4864
|
+
oo as w,
|
|
4865
|
+
so as x,
|
|
4866
|
+
te as y,
|
|
4867
|
+
Fe as z
|
|
4889
4868
|
};
|