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